diff --git a/wasm/basque.html.mem b/wasm/basque.html.mem index 2ea2930..f9d6141 100644 Binary files a/wasm/basque.html.mem and b/wasm/basque.html.mem differ diff --git a/wasm/basque.js b/wasm/basque.js index 83a4194..7c6d4d3 100644 --- a/wasm/basque.js +++ b/wasm/basque.js @@ -27,15 +27,15 @@ function Wa(a,b,c){return Va(a).then(function(d){return WebAssembly.instantiate( function Xa(a,b){var c=Ta;ua||"function"!=typeof WebAssembly.instantiateStreaming||Sa(c)||c.startsWith("file://")||ia||"function"!=typeof fetch?Wa(c,a,b):fetch(c,{credentials:"same-origin"}).then(function(d){return WebAssembly.instantiateStreaming(d,a).then(b,function(e){k("wasm streaming compile failed: "+e);k("falling back to ArrayBuffer instantiation");return Wa(c,a,b)})})}var F,G,Ya="basque.html.mem"; function Za(){Sa(Ya)||(Ya=la(Ya));if(ia||ja){var a=oa(Ya);r.set(a,1024)}else{Qa("memory initializer");var b=d=>{d.byteLength&&(d=new Uint8Array(d));r.set(d,1024);h.memoryInitializerRequest&&delete h.memoryInitializerRequest.response;Ra("memory initializer")},c=()=>{na(Ya,b,function(){throw Error("could not load memory initializer "+Ya);})};h.memoryInitializerRequest?(a=()=>{var d=h.memoryInitializerRequest,e=d.response;200!==d.status&&0!==d.status?(console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+ d.status+", retrying "+Ya),c()):b(e)},h.memoryInitializerRequest.response?setTimeout(a,0):h.memoryInitializerRequest.addEventListener("load",a)):c()}} -var fb={382624:a=>{a=l(a)+"\n\nAbort/Retry/Ignore/AlwaysIgnore? [ariA] :";a=window.prompt(a,"i");null===a&&(a="i");return $a(ab(a),"i8",bb)},382849:()=>"undefined"!==typeof AudioContext||"undefined"!==typeof webkitAudioContext?!0:!1,382996:()=>"undefined"!==typeof navigator.mediaDevices&&"undefined"!==typeof navigator.mediaDevices.getUserMedia||"undefined"!==typeof navigator.webkitGetUserMedia?!0:!1,383230:a=>{"undefined"===typeof h.SDL2&&(h.SDL2={});var b=h.SDL2;a?b.capture={}:b.audio={};b.ee||("undefined"!== -typeof AudioContext?b.ee=new AudioContext:"undefined"!==typeof webkitAudioContext&&(b.ee=new webkitAudioContext),b.ee&&cb(b.ee));return void 0===b.ee?-1:0},383723:()=>h.SDL2.ee.sampleRate,383791:(a,b,c,d)=>{function e(){}function f(m){void 0!==g.capture.Be&&(clearTimeout(g.capture.Be),g.capture.Be=void 0);g.capture.Ie=g.ee.createMediaStreamSource(m);g.capture.ge=g.ee.createScriptProcessor(b,a,1);g.capture.ge.onaudioprocess=function(n){void 0!==g&&void 0!==g.capture&&(n.outputBuffer.getChannelData(0).fill(0), +var fb={382648:a=>{a=l(a)+"\n\nAbort/Retry/Ignore/AlwaysIgnore? [ariA] :";a=window.prompt(a,"i");null===a&&(a="i");return $a(ab(a),"i8",bb)},382873:()=>"undefined"!==typeof AudioContext||"undefined"!==typeof webkitAudioContext?!0:!1,383020:()=>"undefined"!==typeof navigator.mediaDevices&&"undefined"!==typeof navigator.mediaDevices.getUserMedia||"undefined"!==typeof navigator.webkitGetUserMedia?!0:!1,383254:a=>{"undefined"===typeof h.SDL2&&(h.SDL2={});var b=h.SDL2;a?b.capture={}:b.audio={};b.ee||("undefined"!== +typeof AudioContext?b.ee=new AudioContext:"undefined"!==typeof webkitAudioContext&&(b.ee=new webkitAudioContext),b.ee&&cb(b.ee));return void 0===b.ee?-1:0},383747:()=>h.SDL2.ee.sampleRate,383815:(a,b,c,d)=>{function e(){}function f(m){void 0!==g.capture.Be&&(clearTimeout(g.capture.Be),g.capture.Be=void 0);g.capture.Ie=g.ee.createMediaStreamSource(m);g.capture.ge=g.ee.createScriptProcessor(b,a,1);g.capture.ge.onaudioprocess=function(n){void 0!==g&&void 0!==g.capture&&(n.outputBuffer.getChannelData(0).fill(0), g.capture.Ne=n.inputBuffer,db(c,[d]))};g.capture.Ie.connect(g.capture.ge);g.capture.ge.connect(g.ee.destination);g.capture.stream=m}var g=h.SDL2;g.capture.Ke=g.ee.createBuffer(a,b,g.ee.sampleRate);g.capture.Ke.getChannelData(0).fill(0);g.capture.Be=setTimeout(function(){g.capture.Ne=g.capture.Ke;db(c,[d])},b/g.ee.sampleRate*1E3);void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(f).catch(e):void 0!==navigator.webkitGetUserMedia&& -navigator.webkitGetUserMedia({audio:!0,video:!1},f,e)},385443:(a,b,c,d)=>{var e=h.SDL2;e.audio.ge=e.ee.createScriptProcessor(b,0,a);e.audio.ge.onaudioprocess=function(f){void 0!==e&&void 0!==e.audio&&(e.audio.bf=f.outputBuffer,db(c,[d]))};e.audio.ge.connect(e.ee.destination)},385853:(a,b)=>{for(var c=h.SDL2,d=c.capture.Ne.numberOfChannels,e=0;e{for(var c=h.SDL2,d=c.audio.bf.numberOfChannels,e=0;e>2]}},386938:a=>{var b=h.SDL2;if(a){void 0!==b.capture.Be&&clearTimeout(b.capture.Be);if(void 0!==b.capture.stream){a=b.capture.stream.getAudioTracks(); -for(var c=0;c{var e=h.SDL2;e.audio.ge=e.ee.createScriptProcessor(b,0,a);e.audio.ge.onaudioprocess=function(f){void 0!==e&&void 0!==e.audio&&(e.audio.bf=f.outputBuffer,db(c,[d]))};e.audio.ge.connect(e.ee.destination)},385877:(a,b)=>{for(var c=h.SDL2,d=c.capture.Ne.numberOfChannels,e=0;e{for(var c=h.SDL2,d=c.audio.bf.numberOfChannels,e=0;e>2]}},386962:a=>{var b=h.SDL2;if(a){void 0!==b.capture.Be&&clearTimeout(b.capture.Be);if(void 0!==b.capture.stream){a=b.capture.stream.getAudioTracks(); +for(var c=0;c{h.SDL2||(h.SDL2={});var d=h.SDL2;d.xf!==h.canvas&&(d.ne=h.createContext(h.canvas,!1,!0),d.xf=h.canvas);if(d.w!==a||d.Gf!==b||d.If!==d.ne)d.image=d.ne.createImageData(a,b),d.w=a,d.Gf=b,d.If=d.ne;a=d.image.data;b=c>>2;var e=0;if("undefined"!==typeof CanvasPixelArray&&a instanceof CanvasPixelArray)for(c=a.length;e>8&255;a[e+2]=f>>16&255;a[e+3]=255;b++;e+=4}else if(d.Af!==a&&(d.zf=new Int32Array(a.buffer),d.Bf=new Uint8Array(a.buffer),d.Af=a),a=d.zf,c=a.length, -a.set(y.subarray(b,b+c)),a=d.Bf,b=3,e=b+4*c,0==c%8)for(;b{var f=document.createElement("canvas");f.width=a;f.height=b;var g=f.getContext("2d");a=g.createImageData(a,b);b=a.data;e>>=2;var m=0,n;if("undefined"!==typeof CanvasPixelArray&&b instanceof CanvasPixelArray)for(n=b.length;m< -n;){var p=y[e];b[m]=p&255;b[m+1]=p>>8&255;b[m+2]=p>>16&255;b[m+3]=p>>24&255;e++;m+=4}else b=new Int32Array(b.buffer),n=b.length,b.set(y.subarray(e,e+n));g.putImageData(a,0,0);c=0===c&&0===d?"url("+f.toDataURL()+"), auto":"url("+f.toDataURL()+") "+c+" "+d+", auto";d=H(c.length+1);w(c,d,c.length+1);return d},390568:a=>{h.canvas&&(h.canvas.style.cursor=l(a))},390651:()=>{h.canvas&&(h.canvas.style.cursor="none")},390720:()=>window.innerWidth,390750:()=>window.innerHeight}; +a.set(y.subarray(b,b+c)),a=d.Bf,b=3,e=b+4*c,0==c%8)for(;b{var f=document.createElement("canvas");f.width=a;f.height=b;var g=f.getContext("2d");a=g.createImageData(a,b);b=a.data;e>>=2;var m=0,n;if("undefined"!==typeof CanvasPixelArray&&b instanceof CanvasPixelArray)for(n=b.length;m< +n;){var p=y[e];b[m]=p&255;b[m+1]=p>>8&255;b[m+2]=p>>16&255;b[m+3]=p>>24&255;e++;m+=4}else b=new Int32Array(b.buffer),n=b.length,b.set(y.subarray(e,e+n));g.putImageData(a,0,0);c=0===c&&0===d?"url("+f.toDataURL()+"), auto":"url("+f.toDataURL()+") "+c+" "+d+", auto";d=H(c.length+1);w(c,d,c.length+1);return d},390592:a=>{h.canvas&&(h.canvas.style.cursor=l(a))},390675:()=>{h.canvas&&(h.canvas.style.cursor="none")},390744:()=>window.innerWidth,390774:()=>window.innerHeight}; function sa(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}function gb(a,b,c){a.addEventListener(b,c,{once:!0})}function cb(a){var b;b||(b=[document,document.getElementById("canvas")]);["keydown","mousedown","touchstart"].forEach(function(c){b.forEach(function(d){d&&gb(d,c,()=>{"suspended"===a.state&&a.resume()})})})}function hb(a){for(;0=ib.length&&(ib.length=a+1),ib[a]=b=Ga.get(a));return b}function db(a,b){if("vi".includes("j")){var c=h.dynCall_vi;b&&b.length?c.apply(null,[a].concat(b)):c.call(null,a)}else I(a).apply(null,b)} function eb(a,b){var c="float";c.endsWith("*")&&(c="*");switch(c){case "i1":x[a>>0]=b;break;case "i8":x[a>>0]=b;break;case "i16":Ba[a>>1]=b;break;case "i32":y[a>>2]=b;break;case "i64":G=[b>>>0,(F=b,1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[a>>2]=G[0];y[a+4>>2]=G[1];break;case "float":B[a>>2]=b;break;case "double":E[a>>3]=b;break;case "*":z[a>>2]=b;break;default:Fa("invalid type for setValue: "+c)}} @@ -136,20 +136,20 @@ Object.defineProperties(Ob.prototype,{read:{get:function(){return 365===(this.mo h.setCanvasSize=function(a,b,c){nd(h.canvas,a,b);c||od()};h.pauseMainLoop=function(){Cc=null;Jc++};h.resumeMainLoop=function(){Jc++;var a=yc,b=zc,c=Ac;Ac=null;Hc(c,0,!1,Ic,!0);xc(a,b);Cc()};h.getUserMedia=function(){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia);window.getUserMedia(void 0)};h.createContext=function(a,b,c,d){return cd(a,b,c,d)};for(var bd={},M,Y=0;32>Y;++Y)Ee.push(Array(Y));var jf=new Float32Array(288); for(Y=0;288>Y;++Y)Pe[Y]=jf.subarray(0,Y+1);var kf=new Int32Array(288);for(Y=0;288>Y;++Y)Qe[Y]=kf.subarray(0,Y+1); var zf={W:function(a,b,c,d){Fa("Assertion failed: "+l(a)+", at: "+[b?l(b):"unknown filename",c,d?l(d):"unknown function"])},N:function(a,b,c){vc=c;try{var d=uc(a);switch(b){case 0:var e=wc();return 0>e?-28:Vb(d,e).fd;case 1:case 2:return 0;case 3:return d.flags;case 4:return e=wc(),d.flags|=e,0;case 5:return e=wc(),Ba[e+0>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return y[lf()>>2]=28,-1;default:return-28}}catch(f){if("undefined"==typeof sc||"ErrnoError"!==f.name)throw f;return-f.le}}, -eb:function(a,b,c){vc=c;try{var d=uc(a);switch(b){case 21509:case 21505:return d.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return d.tty?0:-59;case 21519:if(!d.tty)return-59;var e=wc();return y[e>>2]=0;case 21520:return d.tty?-28:-59;case 21531:a=e=wc();if(!d.be.Kf)throw new J(59);return d.be.Kf(d,b,a);case 21523:return d.tty?0:-59;case 21524:return d.tty?0:-59;default:return-28}}catch(f){if("undefined"==typeof sc||"ErrnoError"!==f.name)throw f;return-f.le}},fb:function(a, +eb:function(a,b,c){vc=c;try{var d=uc(a);switch(b){case 21509:case 21505:return d.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return d.tty?0:-59;case 21519:if(!d.tty)return-59;var e=wc();return y[e>>2]=0;case 21520:return d.tty?-28:-59;case 21531:a=e=wc();if(!d.be.Kf)throw new J(59);return d.be.Kf(d,b,a);case 21523:return d.tty?0:-59;case 21524:return d.tty?0:-59;default:return-28}}catch(f){if("undefined"==typeof sc||"ErrnoError"!==f.name)throw f;return-f.le}},gb:function(a, b,c,d){vc=d;try{b=l(b);b=tc(a,b);var e=d?wc():0;return cc(b,c,e).fd}catch(f){if("undefined"==typeof sc||"ErrnoError"!==f.name)throw f;return-f.le}},_a:function(a){try{return a=l(a),Zb(a),0}catch(b){if("undefined"==typeof sc||"ErrnoError"!==b.name)throw b;return-b.le}},cb:function(a,b){try{a=l(a);a:{try{var c=Jb(a,{Ee:!0}).node;if(!c)throw new J(44);if(!c.$d.oe)throw new J(63);var d=c.$d.oe(c)}catch(n){if(n&&n.node&&kb(a)!==kb(Kb(n.node))){var e=-54;break a}throw n;}y[b>>2]=d.dev;y[b+8>>2]=d.ino;y[b+ 12>>2]=d.mode;z[b+16>>2]=d.nlink;y[b+20>>2]=d.uid;y[b+24>>2]=d.gid;y[b+28>>2]=d.rdev;G=[d.size>>>0,(F=d.size,1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[b+40>>2]=G[0];y[b+44>>2]=G[1];y[b+48>>2]=4096;y[b+52>>2]=d.blocks;var f=d.atime.getTime(),g=d.mtime.getTime(),m=d.ctime.getTime();G=[Math.floor(f/1E3)>>>0,(F=Math.floor(f/1E3),1<=+Math.abs(F)?0>>0:~~+Math.ceil((F- +(~~F>>>0))/4294967296)>>>0:0)];y[b+56>>2]=G[0];y[b+60>>2]=G[1];z[b+64>>2]=f%1E3*1E3;G=[Math.floor(g/1E3)>>>0,(F=Math.floor(g/1E3),1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[b+72>>2]=G[0];y[b+76>>2]=G[1];z[b+80>>2]=g%1E3*1E3;G=[Math.floor(m/1E3)>>>0,(F=Math.floor(m/1E3),1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[b+88>>2]=G[0];y[b+92>>2]= -G[1];z[b+96>>2]=m%1E3*1E3;G=[d.ino>>>0,(F=d.ino,1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[b+104>>2]=G[0];y[b+108>>2]=G[1];e=0}return e}catch(n){if("undefined"==typeof sc||"ErrnoError"!==n.name)throw n;return-n.le}},$a:function(a,b,c){try{return b=l(b),b=tc(a,b),0===c?$b(b):512===c?Zb(b):Fa("Invalid flags passed to unlinkat"),0}catch(d){if("undefined"==typeof sc||"ErrnoError"!==d.name)throw d;return-d.le}},gb:function(){return!0}, -Wa:function(){throw Infinity;},Oc:function(){Fa("")},Oa:function(a){if(12448==a)return N=12288,1;N=12300;return 0},Sa:function(a,b,c,d,e){if(62E3!=a)N=12296,c=0;else{if(b)for(;;){a=y[b>>2];if(12321==a)O.alpha=0>2];else if(12325==a)O.depth=0>2];else if(12326==a)O.stencil=0>2];else if(12337==a)a=y[b+4>>2],O.antialias=0>2],O.antialias=1==a;else if(12544==a)O.dg=12547!=y[b+4>>2];else if(12344==a)break;b+=8}c&&d||e?(e&&(y[e>>2]=1),c&&0>2]=62002), -N=12288,c=1):(N=12300,c=0)}return c},Fa:function(a,b,c,d){if(62E3!=a)return N=12296,0;for(a=1;;){b=y[d>>2];if(12440==b)a=y[d+4>>2];else if(12344==b)break;else return N=12292,0;d+=8}if(2!=a)return N=12293,0;O.jf=a-1;O.eg=0;wd=ed(h.canvas,O);if(0!=wd)return N=12288,gd(wd),h.Uf=!0,Vc.forEach(function(e){e()}),gd(null),62004;N=12297;return 0},Ha:function(a,b){if(62E3!=a)return N=12296,0;if(62002!=b)return N=12293,0;N=12288;return 62006},Ga:function(a,b){if(62E3!=a)return N=12296,0;if(62004!=b)return N= -12294,0;a=wd;Nd===fd[a]&&(Nd=null);if("object"==typeof ee)for(var c=fd[a].re.canvas,d=0;d>2]=O.alpha?32:24, +G[1];z[b+96>>2]=m%1E3*1E3;G=[d.ino>>>0,(F=d.ino,1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[b+104>>2]=G[0];y[b+108>>2]=G[1];e=0}return e}catch(n){if("undefined"==typeof sc||"ErrnoError"!==n.name)throw n;return-n.le}},$a:function(a,b,c){try{return b=l(b),b=tc(a,b),0===c?$b(b):512===c?Zb(b):Fa("Invalid flags passed to unlinkat"),0}catch(d){if("undefined"==typeof sc||"ErrnoError"!==d.name)throw d;return-d.le}},hb:function(){return!0}, +Wa:function(){throw Infinity;},xa:function(){Fa("")},Qa:function(a){if(12448==a)return N=12288,1;N=12300;return 0},Xa:function(a,b,c,d,e){if(62E3!=a)N=12296,c=0;else{if(b)for(;;){a=y[b>>2];if(12321==a)O.alpha=0>2];else if(12325==a)O.depth=0>2];else if(12326==a)O.stencil=0>2];else if(12337==a)a=y[b+4>>2],O.antialias=0>2],O.antialias=1==a;else if(12544==a)O.dg=12547!=y[b+4>>2];else if(12344==a)break;b+=8}c&&d||e?(e&&(y[e>>2]=1),c&&0>2]=62002), +N=12288,c=1):(N=12300,c=0)}return c},Ga:function(a,b,c,d){if(62E3!=a)return N=12296,0;for(a=1;;){b=y[d>>2];if(12440==b)a=y[d+4>>2];else if(12344==b)break;else return N=12292,0;d+=8}if(2!=a)return N=12293,0;O.jf=a-1;O.eg=0;wd=ed(h.canvas,O);if(0!=wd)return N=12288,gd(wd),h.Uf=!0,Vc.forEach(function(e){e()}),gd(null),62004;N=12297;return 0},Ia:function(a,b){if(62E3!=a)return N=12296,0;if(62002!=b)return N=12293,0;N=12288;return 62006},Ha:function(a,b){if(62E3!=a)return N=12296,0;if(62004!=b)return N= +12294,0;a=wd;Nd===fd[a]&&(Nd=null);if("object"==typeof ee)for(var c=fd[a].re.canvas,d=0;d>2]=O.alpha?32:24, 1;case 12321:return y[d>>2]=O.alpha?8:0,1;case 12322:return y[d>>2]=8,1;case 12323:return y[d>>2]=8,1;case 12324:return y[d>>2]=8,1;case 12325:return y[d>>2]=O.depth?24:0,1;case 12326:return y[d>>2]=O.stencil?8:0,1;case 12327:return y[d>>2]=12344,1;case 12328:return y[d>>2]=62002,1;case 12329:return y[d>>2]=0,1;case 12330:return y[d>>2]=4096,1;case 12331:return y[d>>2]=16777216,1;case 12332:return y[d>>2]=4096,1;case 12333:return y[d>>2]=0,1;case 12334:return y[d>>2]=0,1;case 12335:return y[d>>2]= 12344,1;case 12337:return y[d>>2]=O.antialias?4:0,1;case 12338:return y[d>>2]=O.antialias?1:0,1;case 12339:return y[d>>2]=4,1;case 12340:return y[d>>2]=12344,1;case 12341:case 12342:case 12343:return y[d>>2]=-1,1;case 12345:case 12346:return y[d>>2]=0,1;case 12347:return y[d>>2]=0,1;case 12348:return y[d>>2]=1;case 12349:case 12350:return y[d>>2]=0,1;case 12351:return y[d>>2]=12430,1;case 12352:return y[d>>2]=4,1;case 12354:return y[d>>2]=0,1;default:return N=12292,0}},L:function(){N=12288;return 62E3}, -Da:function(){return N},Qa:function(a,b,c){if(62E3!=a)return N=12296,0;b&&(y[b>>2]=1);c&&(y[c>>2]=4);rd=!0;N=12288;return 1},Ja:function(a,b,c,d){if(62E3!=a)return N=12296,0;if(0!=d&&62004!=d)return N=12294,0;if(0!=c&&62006!=c||0!=b&&62006!=b)return N=12301,0;gd(d?wd:null);sd=d;ud=b;td=c;N=12288;return 1},Ca:function(a,b){if(62E3!=a)return N=12296,0;N=12288;if(vd[b])return vd[b];switch(b){case 12371:a=Od("Emscripten");break;case 12372:a=Od("1.4 Emscripten EGL");break;case 12373:a=Od("");break;case 12429:a= -Od("OpenGL_ES");break;default:return N=12300,0}return vd[b]=a},Ka:function(){if(rd)if(h.ne)if(h.ne.isContextLost())N=12302;else return N=12288,1;else N=12290;else N=12289;return 0},La:function(a,b){if(62E3!=a)return N=12296,0;0==b?xc(0,0):xc(1,b);N=12288;return 1},Ra:function(a){if(62E3!=a)return N=12296,0;ud=td=sd=0;rd=!1;N=12288;return 1},Na:function(){N=12288;return 1},Ma:function(){N=12288;return 1},T:function(a,b,c){b=Qd(b,c);return fb[a].apply(null,b)},b:function(a,b,c){b=Qd(b,c);return fb[a].apply(null, -b)},hb:function(){return Date.now()},xa:function(){if(!de())return-1;Yd(Ae);var a=se[1];if(a.exitFullscreen)a.fullscreenElement&&a.exitFullscreen();else if(a.webkitExitFullscreen)a.webkitFullscreenElement&&a.webkitExitFullscreen();else return-1;return 0},Aa:function(){Yd(Be);if(document.exitPointerLock)document.exitPointerLock();else return-1;return 0},f:function(){return"number"==typeof devicePixelRatio&&devicePixelRatio||1},d:function(a,b,c){a=V(a);if(!a)return-4;a=ze(a);E[b>>3]=a.width;E[c>>3]= -a.height;return 0},R:function(a,b){if(0>a||a>=fe.length)return-5;if(!fe[a])return-7;Ce(b,fe[a]);return 0},Za:function(){return 2147483648},n:Ec,$b:function(){return fe.length},Pa:De,Ea:function(a,b,c){a=mf(a);return(a=Eb[a])?De(a.path,b,c):0},Ba:function(a,b){y[a>>2]=screen.width;y[b>>2]=screen.height},da:function(a){M.activeTexture(a)},ca:function(a,b){M.attachShader(P[a],Q[b])},ta:function(a,b){M.ke.beginQueryEXT(a,Gd[b])},ba:function(a,b,c){M.bindAttribLocation(P[a],b,l(c))},aa:function(a,b){M.bindBuffer(a, +Fa:function(){return N},Ra:function(a,b,c){if(62E3!=a)return N=12296,0;b&&(y[b>>2]=1);c&&(y[c>>2]=4);rd=!0;N=12288;return 1},Ka:function(a,b,c,d){if(62E3!=a)return N=12296,0;if(0!=d&&62004!=d)return N=12294,0;if(0!=c&&62006!=c||0!=b&&62006!=b)return N=12301,0;gd(d?wd:null);sd=d;ud=b;td=c;N=12288;return 1},Da:function(a,b){if(62E3!=a)return N=12296,0;N=12288;if(vd[b])return vd[b];switch(b){case 12371:a=Od("Emscripten");break;case 12372:a=Od("1.4 Emscripten EGL");break;case 12373:a=Od("");break;case 12429:a= +Od("OpenGL_ES");break;default:return N=12300,0}return vd[b]=a},La:function(){if(rd)if(h.ne)if(h.ne.isContextLost())N=12302;else return N=12288,1;else N=12290;else N=12289;return 0},Ma:function(a,b){if(62E3!=a)return N=12296,0;0==b?xc(0,0):xc(1,b);N=12288;return 1},Sa:function(a){if(62E3!=a)return N=12296,0;ud=td=sd=0;rd=!1;N=12288;return 1},Oa:function(){N=12288;return 1},Na:function(){N=12288;return 1},T:function(a,b,c){b=Qd(b,c);return fb[a].apply(null,b)},b:function(a,b,c){b=Qd(b,c);return fb[a].apply(null, +b)},ib:function(){return Date.now()},ya:function(){if(!de())return-1;Yd(Ae);var a=se[1];if(a.exitFullscreen)a.fullscreenElement&&a.exitFullscreen();else if(a.webkitExitFullscreen)a.webkitFullscreenElement&&a.webkitExitFullscreen();else return-1;return 0},Ba:function(){Yd(Be);if(document.exitPointerLock)document.exitPointerLock();else return-1;return 0},f:function(){return"number"==typeof devicePixelRatio&&devicePixelRatio||1},d:function(a,b,c){a=V(a);if(!a)return-4;a=ze(a);E[b>>3]=a.width;E[c>>3]= +a.height;return 0},R:function(a,b){if(0>a||a>=fe.length)return-5;if(!fe[a])return-7;Ce(b,fe[a]);return 0},Za:function(){return 2147483648},m:Ec,kc:function(){return fe.length},Pa:De,Ea:function(a,b,c){a=mf(a);return(a=Eb[a])?De(a.path,b,c):0},Ca:function(a,b){y[a>>2]=screen.width;y[b>>2]=screen.height},da:function(a){M.activeTexture(a)},ca:function(a,b){M.attachShader(P[a],Q[b])},ta:function(a,b){M.ke.beginQueryEXT(a,Gd[b])},ba:function(a,b,c){M.bindAttribLocation(P[a],b,l(c))},aa:function(a,b){M.bindBuffer(a, Bd[b])},$:function(a,b){M.bindFramebuffer(a,Cd[b])},_:function(a,b){M.bindRenderbuffer(a,Dd[b])},Z:function(a,b){M.bindTexture(a,Ed[b])},la:function(a){M.bindVertexArray(Fd[a])},Y:function(a,b,c,d){M.blendColor(a,b,c,d)},X:function(a){M.blendEquation(a)},Md:function(a,b){M.blendEquationSeparate(a,b)},Ld:function(a,b){M.blendFunc(a,b)},Kd:function(a,b,c,d){M.blendFuncSeparate(a,b,c,d)},Jd:function(a,b,c,d){M.bufferData(a,c?r.subarray(c,c+b):b,d)},Id:function(a,b,c,d){M.bufferSubData(a,b,r.subarray(d, d+c))},Hd:function(a){return M.checkFramebufferStatus(a)},Gd:function(a){M.clear(a)},Fd:function(a,b,c,d){M.clearColor(a,b,c,d)},Ed:function(a){M.clearDepth(a)},Dd:function(a){M.clearStencil(a)},Cd:function(a,b,c,d){M.colorMask(!!a,!!b,!!c,!!d)},Bd:function(a){M.compileShader(Q[a])},Ad:function(a,b,c,d,e,f,g,m){M.compressedTexImage2D(a,b,c,d,e,f,m?r.subarray(m,m+g):null)},zd:function(a,b,c,d,e,f,g,m,n){M.compressedTexSubImage2D(a,b,c,d,e,f,g,n?r.subarray(n,n+m):null)},yd:function(a,b,c,d,e,f,g,m){M.copyTexImage2D(a, b,c,d,e,f,g,m)},xd:function(a,b,c,d,e,f,g,m){M.copyTexSubImage2D(a,b,c,d,e,f,g,m)},wd:function(){var a=Kd(P),b=M.createProgram();b.name=a;b.He=b.Fe=b.Ge=0;b.We=1;P[a]=b;return a},vd:function(a){var b=Kd(Q);Q[b]=M.createShader(a);return b},ud:function(a){M.cullFace(a)},td:function(a,b){for(var c=0;c>2],e=Bd[d];e&&(M.deleteBuffer(e),e.name=0,Bd[d]=null)}},sd:function(a,b){for(var c=0;c>2],e=Cd[d];e&&(M.deleteFramebuffer(e),e.name=0,Cd[d]=null)}},rd:function(a){if(a){var b= @@ -157,28 +157,28 @@ P[a];b?(M.deleteProgram(b),b.name=0,P[a]=null):R(1281)}},va:function(a,b){for(va y[b+4*c>>2];M.deleteVertexArray(Fd[d]);Fd[d]=null}},nd:function(a){M.depthFunc(a)},md:function(a){M.depthMask(!!a)},ld:function(a,b){M.depthRange(a,b)},kd:function(a,b){M.detachShader(P[a],Q[b])},jd:function(a){M.disable(a)},hd:function(a){M.disableVertexAttribArray(a)},gd:function(a,b,c){M.drawArrays(a,b,c)},ga:function(a,b,c,d){M.drawArraysInstanced(a,b,c,d)},ha:function(a,b){for(var c=Ee[a],d=0;d>2];M.drawBuffers(c)},fd:function(a,b,c,d){M.drawElements(a,b,c,d)},fa:function(a, b,c,d,e){M.drawElementsInstanced(a,b,c,d,e)},ed:function(a){M.enable(a)},dd:function(a){M.enableVertexAttribArray(a)},sa:function(a){M.ke.endQueryEXT(a)},cd:function(){M.finish()},bd:function(){M.flush()},ad:function(a,b,c,d){M.framebufferRenderbuffer(a,b,c,Dd[d])},$c:function(a,b,c,d,e){M.framebufferTexture2D(a,b,c,Ed[d],e)},_c:function(a){M.frontFace(a)},Yc:function(a,b){Fe(a,b,"createBuffer",Bd)},Wc:function(a,b){Fe(a,b,"createFramebuffer",Cd)},wa:function(a,b){for(var c=0;c>2]=0;break}var e=Kd(Gd);d.name=e;Gd[e]=d;y[b+4*c>>2]=e}},Vc:function(a,b){Fe(a,b,"createRenderbuffer",Dd)},Uc:function(a,b){Fe(a,b,"createTexture",Ed)},ja:function(a,b){Fe(a,b,"createVertexArray",Fd)},Xc:function(a){M.generateMipmap(a)},Tc:function(a,b,c,d,e,f,g){Ge("getActiveAttrib",a,b,c,d,e,f,g)},Sc:function(a,b,c,d,e,f,g){Ge("getActiveUniform",a,b,c,d,e,f,g)},Rc:function(a,b,c,d){a=M.getAttachedShaders(P[a]);var e=a.length;e>b&&(e=b);y[c>>2]=e;for(b=0;b>2]=Q.indexOf(a[b])},Qc:function(a,b){return M.getAttribLocation(P[a],l(b))},Pc:function(a,b){Ie(a,b,4)},Nc:function(a,b,c){c?y[c>>2]=M.getBufferParameter(a,b):R(1281)},Mc:function(){var a=M.getError()||Jd;Jd=0;return a},Lc:function(a,b){Ie(a,b,2)},Kc:function(a,b,c,d){a=M.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||a instanceof WebGLTexture)a=a.name|0;y[d>>2]=a},Jc:function(a,b){Ie(a,b,0)},Hc:function(a,b,c,d){a=M.getProgramInfoLog(P[a]);null===a&&(a="(unknown error)"); -b=0>2]=b)},Ic:function(a,b,c){if(c)if(a>=Ad)R(1281);else if(a=P[a],35716==b)a=M.getProgramInfoLog(a),null===a&&(a="(unknown error)"),y[c>>2]=a.length+1;else if(35719==b){if(!a.He)for(b=0;b>2]=a.He}else if(35722==b){if(!a.Fe)for(b=0;b>2]=a.Fe}else if(35381==b){if(!a.Ge)for(b=0;b>2]=Q.indexOf(a[b])},Qc:function(a,b){return M.getAttribLocation(P[a],l(b))},Pc:function(a,b){Ie(a,b,4)},Oc:function(a,b,c){c?y[c>>2]=M.getBufferParameter(a,b):R(1281)},Nc:function(){var a=M.getError()||Jd;Jd=0;return a},Mc:function(a,b){Ie(a,b,2)},Lc:function(a,b,c,d){a=M.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||a instanceof WebGLTexture)a=a.name|0;y[d>>2]=a},Kc:function(a,b){Ie(a,b,0)},Ic:function(a,b,c,d){a=M.getProgramInfoLog(P[a]);null===a&&(a="(unknown error)"); +b=0>2]=b)},Jc:function(a,b,c){if(c)if(a>=Ad)R(1281);else if(a=P[a],35716==b)a=M.getProgramInfoLog(a),null===a&&(a="(unknown error)"),y[c>>2]=a.length+1;else if(35719==b){if(!a.He)for(b=0;b>2]=a.He}else if(35722==b){if(!a.Fe)for(b=0;b>2]=a.Fe}else if(35381==b){if(!a.Ge)for(b=0;b>2]=a.Ge}else y[c>>2]=M.getProgramParameter(a,b);else R(1281)},na:function(a,b,c){if(c){a=M.ke.getQueryObjectEXT(Gd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;He(c,d)}else R(1281)},pa:function(a,b,c){if(c){a=M.ke.getQueryObjectEXT(Gd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;y[c>>2]=d}else R(1281)},ma:function(a,b,c){if(c){a=M.ke.getQueryObjectEXT(Gd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;He(c,d)}else R(1281)},oa:function(a, -b,c){if(c){a=M.ke.getQueryObjectEXT(Gd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;y[c>>2]=d}else R(1281)},qa:function(a,b,c){c?y[c>>2]=M.ke.getQueryEXT(a,b):R(1281)},Gc:function(a,b,c){c?y[c>>2]=M.getRenderbufferParameter(a,b):R(1281)},Ec:function(a,b,c,d){a=M.getShaderInfoLog(Q[a]);null===a&&(a="(unknown error)");b=0>2]=b)},Dc:function(a,b,c,d){a=M.getShaderPrecisionFormat(a,b);y[c>>2]=a.rangeMin;y[c+4>>2]=a.rangeMax;y[d>>2]=a.precision},Cc:function(a,b,c,d){if(a=M.getShaderSource(Q[a]))b= -0>2]=b)},Fc:function(a,b,c){c?35716==b?(a=M.getShaderInfoLog(Q[a]),null===a&&(a="(unknown error)"),y[c>>2]=a?a.length+1:0):35720==b?(a=M.getShaderSource(Q[a]),y[c>>2]=a?a.length+1:0):y[c>>2]=M.getShaderParameter(Q[a],b):R(1281)},Bc:function(a){var b=Hd[a];if(!b){switch(a){case 7939:b=M.getSupportedExtensions()||[];b=b.concat(b.map(function(d){return"GL_"+d}));b=Je(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=M.getParameter(a))||R(1280);b=b&&Je(b);break; -case 7938:b=Je("OpenGL ES 2.0 ("+M.getParameter(7938)+")");break;case 35724:b=M.getParameter(35724);var c=b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==c&&(3==c[1].length&&(c[1]+="0"),b="OpenGL ES GLSL ES "+c[1]+" ("+b+")");b=Je(b);break;default:R(1280)}Hd[a]=b}return b},Ac:function(a,b,c){c?B[c>>2]=M.getTexParameter(a,b):R(1281)},zc:function(a,b,c){c?y[c>>2]=M.getTexParameter(a,b):R(1281)},wc:function(a,b){b=l(b);if(a=P[a]){Le(a);var c=a.Ce,d=0,e=b,f=Ke(b);0>>0,e=b.slice(0,f));if((e=a.sf[e])&&d>2]=M.getVertexAttribOffset(a,b):R(1281)},vc:function(a,b,c){Ne(a,b,c,2)},uc:function(a,b,c){Ne(a,b,c,5)},sc:function(a,b){M.hint(a,b)},rc:function(a){return(a=Bd[a])?M.isBuffer(a):0},qc:function(a){return M.isEnabled(a)},pc:function(a){return(a=Cd[a])?M.isFramebuffer(a):0},oc:function(a){return(a= -P[a])?M.isProgram(a):0},ua:function(a){return(a=Gd[a])?M.ke.isQueryEXT(a):0},nc:function(a){return(a=Dd[a])?M.isRenderbuffer(a):0},mc:function(a){return(a=Q[a])?M.isShader(a):0},lc:function(a){return(a=Ed[a])?M.isTexture(a):0},ia:function(a){return(a=Fd[a])?M.isVertexArray(a):0},kc:function(a){M.lineWidth(a)},jc:function(a){a=P[a];M.linkProgram(a);a.Ce=0;a.sf={}},ic:function(a,b){3317==a&&(Id=b);M.pixelStorei(a,b)},hc:function(a,b){M.polygonOffset(a,b)},ra:function(a,b){M.ke.queryCounterEXT(Gd[a], -b)},gc:function(a,b,c,d,e,f,g){(g=Oe(f,e,c,d,g))?M.readPixels(a,b,c,d,e,f,g):R(1280)},fc:function(){},ec:function(a,b,c,d){M.renderbufferStorage(a,b,c,d)},dc:function(a,b){M.sampleCoverage(a,!!b)},cc:function(a,b,c,d){M.scissor(a,b,c,d)},bc:function(){R(1280)},ac:function(a,b,c,d){for(var e="",f=0;f>2]:-1;e+=l(y[c+4*f>>2],0>g?void 0:g)}M.shaderSource(Q[a],e)},_b:function(a,b,c){M.stencilFunc(a,b,c)},Zb:function(a,b,c,d){M.stencilFuncSeparate(a,b,c,d)},Yb:function(a){M.stencilMask(a)}, -Xb:function(a,b){M.stencilMaskSeparate(a,b)},Wb:function(a,b,c){M.stencilOp(a,b,c)},Vb:function(a,b,c,d){M.stencilOpSeparate(a,b,c,d)},Ub:function(a,b,c,d,e,f,g,m,n){M.texImage2D(a,b,c,d,e,f,g,m,n?Oe(m,g,d,e,n):null)},Tb:function(a,b,c){M.texParameterf(a,b,c)},Sb:function(a,b,c){M.texParameterf(a,b,B[c>>2])},Rb:function(a,b,c){M.texParameteri(a,b,c)},Pb:function(a,b,c){M.texParameteri(a,b,y[c>>2])},Ob:function(a,b,c,d,e,f,g,m,n){var p=null;n&&(p=Oe(m,g,e,f,n));M.texSubImage2D(a,b,c,d,e,f,g,m,p)}, -Nb:function(a,b){M.uniform1f(W(a),b)},Mb:function(a,b,c){if(288>=b)for(var d=Pe[b-1],e=0;e>2];else d=B.subarray(c>>2,c+4*b>>2);M.uniform1fv(W(a),d)},Lb:function(a,b){M.uniform1i(W(a),b)},Kb:function(a,b,c){if(288>=b)for(var d=Qe[b-1],e=0;e>2];else d=y.subarray(c>>2,c+4*b>>2);M.uniform1iv(W(a),d)},Jb:function(a,b,c){M.uniform2f(W(a),b,c)},Ib:function(a,b,c){if(144>=b)for(var d=Pe[2*b-1],e=0;e<2*b;e+=2)d[e]=B[c+4*e>>2],d[e+1]=B[c+(4*e+4)>>2];else d=B.subarray(c>> -2,c+8*b>>2);M.uniform2fv(W(a),d)},Hb:function(a,b,c){M.uniform2i(W(a),b,c)},Gb:function(a,b,c){if(144>=b)for(var d=Qe[2*b-1],e=0;e<2*b;e+=2)d[e]=y[c+4*e>>2],d[e+1]=y[c+(4*e+4)>>2];else d=y.subarray(c>>2,c+8*b>>2);M.uniform2iv(W(a),d)},Fb:function(a,b,c,d){M.uniform3f(W(a),b,c,d)},Eb:function(a,b,c){if(96>=b)for(var d=Pe[3*b-1],e=0;e<3*b;e+=3)d[e]=B[c+4*e>>2],d[e+1]=B[c+(4*e+4)>>2],d[e+2]=B[c+(4*e+8)>>2];else d=B.subarray(c>>2,c+12*b>>2);M.uniform3fv(W(a),d)},Db:function(a,b,c,d){M.uniform3i(W(a), -b,c,d)},Cb:function(a,b,c){if(96>=b)for(var d=Qe[3*b-1],e=0;e<3*b;e+=3)d[e]=y[c+4*e>>2],d[e+1]=y[c+(4*e+4)>>2],d[e+2]=y[c+(4*e+8)>>2];else d=y.subarray(c>>2,c+12*b>>2);M.uniform3iv(W(a),d)},Bb:function(a,b,c,d,e){M.uniform4f(W(a),b,c,d,e)},Ab:function(a,b,c){if(72>=b){var d=Pe[4*b-1],e=B;c>>=2;for(var f=0;f<4*b;f+=4){var g=c+f;d[f]=e[g];d[f+1]=e[g+1];d[f+2]=e[g+2];d[f+3]=e[g+3]}}else d=B.subarray(c>>2,c+16*b>>2);M.uniform4fv(W(a),d)},zb:function(a,b,c,d,e){M.uniform4i(W(a),b,c,d,e)},yb:function(a, -b,c){if(72>=b)for(var d=Qe[4*b-1],e=0;e<4*b;e+=4)d[e]=y[c+4*e>>2],d[e+1]=y[c+(4*e+4)>>2],d[e+2]=y[c+(4*e+8)>>2],d[e+3]=y[c+(4*e+12)>>2];else d=y.subarray(c>>2,c+16*b>>2);M.uniform4iv(W(a),d)},xb:function(a,b,c,d){if(72>=b)for(var e=Pe[4*b-1],f=0;f<4*b;f+=4)e[f]=B[d+4*f>>2],e[f+1]=B[d+(4*f+4)>>2],e[f+2]=B[d+(4*f+8)>>2],e[f+3]=B[d+(4*f+12)>>2];else e=B.subarray(d>>2,d+16*b>>2);M.uniformMatrix2fv(W(a),!!c,e)},wb:function(a,b,c,d){if(32>=b)for(var e=Pe[9*b-1],f=0;f<9*b;f+=9)e[f]=B[d+4*f>>2],e[f+1]=B[d+ -(4*f+4)>>2],e[f+2]=B[d+(4*f+8)>>2],e[f+3]=B[d+(4*f+12)>>2],e[f+4]=B[d+(4*f+16)>>2],e[f+5]=B[d+(4*f+20)>>2],e[f+6]=B[d+(4*f+24)>>2],e[f+7]=B[d+(4*f+28)>>2],e[f+8]=B[d+(4*f+32)>>2];else e=B.subarray(d>>2,d+36*b>>2);M.uniformMatrix3fv(W(a),!!c,e)},vb:function(a,b,c,d){if(18>=b){var e=Pe[16*b-1],f=B;d>>=2;for(var g=0;g<16*b;g+=16){var m=d+g;e[g]=f[m];e[g+1]=f[m+1];e[g+2]=f[m+2];e[g+3]=f[m+3];e[g+4]=f[m+4];e[g+5]=f[m+5];e[g+6]=f[m+6];e[g+7]=f[m+7];e[g+8]=f[m+8];e[g+9]=f[m+9];e[g+10]=f[m+10];e[g+11]=f[m+ -11];e[g+12]=f[m+12];e[g+13]=f[m+13];e[g+14]=f[m+14];e[g+15]=f[m+15]}}else e=B.subarray(d>>2,d+64*b>>2);M.uniformMatrix4fv(W(a),!!c,e)},ub:function(a){a=P[a];M.useProgram(a);M.yf=a},tb:function(a){M.validateProgram(P[a])},sb:function(a,b){M.vertexAttrib1f(a,b)},rb:function(a,b){M.vertexAttrib1f(a,B[b>>2])},qb:function(a,b,c){M.vertexAttrib2f(a,b,c)},pb:function(a,b){M.vertexAttrib2f(a,B[b>>2],B[b+4>>2])},ob:function(a,b,c,d){M.vertexAttrib3f(a,b,c,d)},nb:function(a,b){M.vertexAttrib3f(a,B[b>>2],B[b+ -4>>2],B[b+8>>2])},mb:function(a,b,c,d,e){M.vertexAttrib4f(a,b,c,d,e)},lb:function(a,b){M.vertexAttrib4f(a,B[b>>2],B[b+4>>2],B[b+8>>2],B[b+12>>2])},ea:function(a,b){M.vertexAttribDivisor(a,b)},kb:function(a,b,c,d,e,f){M.vertexAttribPointer(a,b,c,!!d,e,f)},jb:function(a,b,c,d){M.viewport(a,b,c,d)},o:function(){return 0},ib:function(a,b,c){r.copyWithin(a,b,b+c)},ya:function(a,b,c){return Re(a,{Ue:y[c>>2],Me:y[c+4>>2],Ff:y[c+8>>2],Cf:b,De:y[c+12>>2],$e:y[c+16>>2]})},K:function(a,b){a=V(a);return a?a.requestPointerLock? +b,c){if(c){a=M.ke.getQueryObjectEXT(Gd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;y[c>>2]=d}else R(1281)},qa:function(a,b,c){c?y[c>>2]=M.ke.getQueryEXT(a,b):R(1281)},Hc:function(a,b,c){c?y[c>>2]=M.getRenderbufferParameter(a,b):R(1281)},Fc:function(a,b,c,d){a=M.getShaderInfoLog(Q[a]);null===a&&(a="(unknown error)");b=0>2]=b)},Ec:function(a,b,c,d){a=M.getShaderPrecisionFormat(a,b);y[c>>2]=a.rangeMin;y[c+4>>2]=a.rangeMax;y[d>>2]=a.precision},Dc:function(a,b,c,d){if(a=M.getShaderSource(Q[a]))b= +0>2]=b)},Gc:function(a,b,c){c?35716==b?(a=M.getShaderInfoLog(Q[a]),null===a&&(a="(unknown error)"),y[c>>2]=a?a.length+1:0):35720==b?(a=M.getShaderSource(Q[a]),y[c>>2]=a?a.length+1:0):y[c>>2]=M.getShaderParameter(Q[a],b):R(1281)},Cc:function(a){var b=Hd[a];if(!b){switch(a){case 7939:b=M.getSupportedExtensions()||[];b=b.concat(b.map(function(d){return"GL_"+d}));b=Je(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=M.getParameter(a))||R(1280);b=b&&Je(b);break; +case 7938:b=Je("OpenGL ES 2.0 ("+M.getParameter(7938)+")");break;case 35724:b=M.getParameter(35724);var c=b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==c&&(3==c[1].length&&(c[1]+="0"),b="OpenGL ES GLSL ES "+c[1]+" ("+b+")");b=Je(b);break;default:R(1280)}Hd[a]=b}return b},Bc:function(a,b,c){c?B[c>>2]=M.getTexParameter(a,b):R(1281)},Ac:function(a,b,c){c?y[c>>2]=M.getTexParameter(a,b):R(1281)},xc:function(a,b){b=l(b);if(a=P[a]){Le(a);var c=a.Ce,d=0,e=b,f=Ke(b);0>>0,e=b.slice(0,f));if((e=a.sf[e])&&d>2]=M.getVertexAttribOffset(a,b):R(1281)},wc:function(a,b,c){Ne(a,b,c,2)},vc:function(a,b,c){Ne(a,b,c,5)},tc:function(a,b){M.hint(a,b)},sc:function(a){return(a=Bd[a])?M.isBuffer(a):0},rc:function(a){return M.isEnabled(a)},qc:function(a){return(a=Cd[a])?M.isFramebuffer(a):0},pc:function(a){return(a= +P[a])?M.isProgram(a):0},ua:function(a){return(a=Gd[a])?M.ke.isQueryEXT(a):0},oc:function(a){return(a=Dd[a])?M.isRenderbuffer(a):0},nc:function(a){return(a=Q[a])?M.isShader(a):0},mc:function(a){return(a=Ed[a])?M.isTexture(a):0},ia:function(a){return(a=Fd[a])?M.isVertexArray(a):0},lc:function(a){M.lineWidth(a)},jc:function(a){a=P[a];M.linkProgram(a);a.Ce=0;a.sf={}},ic:function(a,b){3317==a&&(Id=b);M.pixelStorei(a,b)},hc:function(a,b){M.polygonOffset(a,b)},ra:function(a,b){M.ke.queryCounterEXT(Gd[a], +b)},gc:function(a,b,c,d,e,f,g){(g=Oe(f,e,c,d,g))?M.readPixels(a,b,c,d,e,f,g):R(1280)},fc:function(){},ec:function(a,b,c,d){M.renderbufferStorage(a,b,c,d)},dc:function(a,b){M.sampleCoverage(a,!!b)},cc:function(a,b,c,d){M.scissor(a,b,c,d)},bc:function(){R(1280)},ac:function(a,b,c,d){for(var e="",f=0;f>2]:-1;e+=l(y[c+4*f>>2],0>g?void 0:g)}M.shaderSource(Q[a],e)},$b:function(a,b,c){M.stencilFunc(a,b,c)},_b:function(a,b,c,d){M.stencilFuncSeparate(a,b,c,d)},Zb:function(a){M.stencilMask(a)}, +Yb:function(a,b){M.stencilMaskSeparate(a,b)},Xb:function(a,b,c){M.stencilOp(a,b,c)},Wb:function(a,b,c,d){M.stencilOpSeparate(a,b,c,d)},Vb:function(a,b,c,d,e,f,g,m,n){M.texImage2D(a,b,c,d,e,f,g,m,n?Oe(m,g,d,e,n):null)},Ub:function(a,b,c){M.texParameterf(a,b,c)},Tb:function(a,b,c){M.texParameterf(a,b,B[c>>2])},Sb:function(a,b,c){M.texParameteri(a,b,c)},Qb:function(a,b,c){M.texParameteri(a,b,y[c>>2])},Pb:function(a,b,c,d,e,f,g,m,n){var p=null;n&&(p=Oe(m,g,e,f,n));M.texSubImage2D(a,b,c,d,e,f,g,m,p)}, +Ob:function(a,b){M.uniform1f(W(a),b)},Nb:function(a,b,c){if(288>=b)for(var d=Pe[b-1],e=0;e>2];else d=B.subarray(c>>2,c+4*b>>2);M.uniform1fv(W(a),d)},Mb:function(a,b){M.uniform1i(W(a),b)},Lb:function(a,b,c){if(288>=b)for(var d=Qe[b-1],e=0;e>2];else d=y.subarray(c>>2,c+4*b>>2);M.uniform1iv(W(a),d)},Kb:function(a,b,c){M.uniform2f(W(a),b,c)},Jb:function(a,b,c){if(144>=b)for(var d=Pe[2*b-1],e=0;e<2*b;e+=2)d[e]=B[c+4*e>>2],d[e+1]=B[c+(4*e+4)>>2];else d=B.subarray(c>> +2,c+8*b>>2);M.uniform2fv(W(a),d)},Ib:function(a,b,c){M.uniform2i(W(a),b,c)},Hb:function(a,b,c){if(144>=b)for(var d=Qe[2*b-1],e=0;e<2*b;e+=2)d[e]=y[c+4*e>>2],d[e+1]=y[c+(4*e+4)>>2];else d=y.subarray(c>>2,c+8*b>>2);M.uniform2iv(W(a),d)},Gb:function(a,b,c,d){M.uniform3f(W(a),b,c,d)},Fb:function(a,b,c){if(96>=b)for(var d=Pe[3*b-1],e=0;e<3*b;e+=3)d[e]=B[c+4*e>>2],d[e+1]=B[c+(4*e+4)>>2],d[e+2]=B[c+(4*e+8)>>2];else d=B.subarray(c>>2,c+12*b>>2);M.uniform3fv(W(a),d)},Eb:function(a,b,c,d){M.uniform3i(W(a), +b,c,d)},Db:function(a,b,c){if(96>=b)for(var d=Qe[3*b-1],e=0;e<3*b;e+=3)d[e]=y[c+4*e>>2],d[e+1]=y[c+(4*e+4)>>2],d[e+2]=y[c+(4*e+8)>>2];else d=y.subarray(c>>2,c+12*b>>2);M.uniform3iv(W(a),d)},Cb:function(a,b,c,d,e){M.uniform4f(W(a),b,c,d,e)},Bb:function(a,b,c){if(72>=b){var d=Pe[4*b-1],e=B;c>>=2;for(var f=0;f<4*b;f+=4){var g=c+f;d[f]=e[g];d[f+1]=e[g+1];d[f+2]=e[g+2];d[f+3]=e[g+3]}}else d=B.subarray(c>>2,c+16*b>>2);M.uniform4fv(W(a),d)},Ab:function(a,b,c,d,e){M.uniform4i(W(a),b,c,d,e)},zb:function(a, +b,c){if(72>=b)for(var d=Qe[4*b-1],e=0;e<4*b;e+=4)d[e]=y[c+4*e>>2],d[e+1]=y[c+(4*e+4)>>2],d[e+2]=y[c+(4*e+8)>>2],d[e+3]=y[c+(4*e+12)>>2];else d=y.subarray(c>>2,c+16*b>>2);M.uniform4iv(W(a),d)},yb:function(a,b,c,d){if(72>=b)for(var e=Pe[4*b-1],f=0;f<4*b;f+=4)e[f]=B[d+4*f>>2],e[f+1]=B[d+(4*f+4)>>2],e[f+2]=B[d+(4*f+8)>>2],e[f+3]=B[d+(4*f+12)>>2];else e=B.subarray(d>>2,d+16*b>>2);M.uniformMatrix2fv(W(a),!!c,e)},xb:function(a,b,c,d){if(32>=b)for(var e=Pe[9*b-1],f=0;f<9*b;f+=9)e[f]=B[d+4*f>>2],e[f+1]=B[d+ +(4*f+4)>>2],e[f+2]=B[d+(4*f+8)>>2],e[f+3]=B[d+(4*f+12)>>2],e[f+4]=B[d+(4*f+16)>>2],e[f+5]=B[d+(4*f+20)>>2],e[f+6]=B[d+(4*f+24)>>2],e[f+7]=B[d+(4*f+28)>>2],e[f+8]=B[d+(4*f+32)>>2];else e=B.subarray(d>>2,d+36*b>>2);M.uniformMatrix3fv(W(a),!!c,e)},wb:function(a,b,c,d){if(18>=b){var e=Pe[16*b-1],f=B;d>>=2;for(var g=0;g<16*b;g+=16){var m=d+g;e[g]=f[m];e[g+1]=f[m+1];e[g+2]=f[m+2];e[g+3]=f[m+3];e[g+4]=f[m+4];e[g+5]=f[m+5];e[g+6]=f[m+6];e[g+7]=f[m+7];e[g+8]=f[m+8];e[g+9]=f[m+9];e[g+10]=f[m+10];e[g+11]=f[m+ +11];e[g+12]=f[m+12];e[g+13]=f[m+13];e[g+14]=f[m+14];e[g+15]=f[m+15]}}else e=B.subarray(d>>2,d+64*b>>2);M.uniformMatrix4fv(W(a),!!c,e)},vb:function(a){a=P[a];M.useProgram(a);M.yf=a},ub:function(a){M.validateProgram(P[a])},tb:function(a,b){M.vertexAttrib1f(a,b)},sb:function(a,b){M.vertexAttrib1f(a,B[b>>2])},rb:function(a,b,c){M.vertexAttrib2f(a,b,c)},qb:function(a,b){M.vertexAttrib2f(a,B[b>>2],B[b+4>>2])},pb:function(a,b,c,d){M.vertexAttrib3f(a,b,c,d)},ob:function(a,b){M.vertexAttrib3f(a,B[b>>2],B[b+ +4>>2],B[b+8>>2])},nb:function(a,b,c,d,e){M.vertexAttrib4f(a,b,c,d,e)},mb:function(a,b){M.vertexAttrib4f(a,B[b>>2],B[b+4>>2],B[b+8>>2],B[b+12>>2])},ea:function(a,b){M.vertexAttribDivisor(a,b)},lb:function(a,b,c,d,e,f){M.vertexAttribPointer(a,b,c,!!d,e,f)},kb:function(a,b,c,d){M.viewport(a,b,c,d)},o:function(){return 0},jb:function(a,b,c){r.copyWithin(a,b,b+c)},za:function(a,b,c){return Re(a,{Ue:y[c>>2],Me:y[c+4>>2],Ff:y[c+8>>2],Cf:b,De:y[c+12>>2],$e:y[c+16>>2]})},K:function(a,b){a=V(a);return a?a.requestPointerLock? Sd&&$d.te?Be(a):b?(Xd(Be,2,[a]),1):-2:-1:-4},Ya:function(a){var b=r.length;a>>>=0;if(2147483648=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);var e=Math,f=e.min;d=Math.max(a,d);d+=(65536-d%65536)%65536;a:{var g=va.buffer;try{va.grow(f.call(e,2147483648,d)-g.byteLength+65535>>>16);Da();var m=1;break a}catch(n){}m=void 0}if(m)return!0}return!1},S:function(){return(fe=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads(): null)?0:-1},q:function(a,b,c){if("undefined"==typeof onbeforeunload)return-1;if(1!==c)return-5;Se(a,b);return 0},C:function(a,b,c,d){Te(a,b,c,d,12,"blur");return 0},e:ve,l:function(a,b,c){a=V(a);if(!a)return-4;a.style.width=b+"px";a.style.height=c+"px";return 0},D:function(a,b,c,d){Te(a,b,c,d,13,"focus");return 0},t:function(a,b,c,d){if(!de())return-1;a=V(a);if(!a)return-4;Ue(a,b,c,d,"fullscreenchange");Ue(a,b,c,d,"webkitfullscreenchange");return 0},Q:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1; -Ve(a,b,c,26,"gamepadconnected");return 0},P:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Ve(a,b,c,27,"gamepaddisconnected");return 0},w:function(a,b,c,d){We(a,b,c,d,2,"keydown");return 0},u:function(a,b,c,d){We(a,b,c,d,1,"keypress");return 0},v:function(a,b,c,d){We(a,b,c,d,3,"keyup");return 0},Qb:function(a,b,c){a=I(a);Hc(a,b,c)},I:function(a,b,c,d){Ye(a,b,c,d,5,"mousedown");return 0},G:function(a,b,c,d){Ye(a,b,c,d,33,"mouseenter");return 0},F:function(a,b,c,d){Ye(a, +Ve(a,b,c,26,"gamepadconnected");return 0},P:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Ve(a,b,c,27,"gamepaddisconnected");return 0},w:function(a,b,c,d){We(a,b,c,d,2,"keydown");return 0},u:function(a,b,c,d){We(a,b,c,d,1,"keypress");return 0},v:function(a,b,c,d){We(a,b,c,d,3,"keyup");return 0},Rb:function(a,b,c){a=I(a);Hc(a,b,c)},I:function(a,b,c,d){Ye(a,b,c,d,5,"mousedown");return 0},G:function(a,b,c,d){Ye(a,b,c,d,33,"mouseenter");return 0},F:function(a,b,c,d){Ye(a, b,c,d,34,"mouseleave");return 0},J:function(a,b,c,d){Ye(a,b,c,d,8,"mousemove");return 0},H:function(a,b,c,d){Ye(a,b,c,d,6,"mouseup");return 0},x:function(a,b,c,d){if(!document||!document.body||!(document.body.requestPointerLock||document.body.de||document.body.Le||document.body.Ae))return-1;a=V(a);if(!a)return-4;Ze(a,b,c,d,"pointerlockchange");Ze(a,b,c,d,"mozpointerlockchange");Ze(a,b,c,d,"webkitpointerlockchange");Ze(a,b,c,d,"mspointerlockchange");return 0},s:function(a,b,c,d){$e(a,b,c,d);return 0}, -y:function(a,b,c,d){af(a,b,c,d,25,"touchcancel");return 0},A:function(a,b,c,d){af(a,b,c,d,23,"touchend");return 0},z:function(a,b,c,d){af(a,b,c,d,24,"touchmove");return 0},B:function(a,b,c,d){af(a,b,c,d,22,"touchstart");return 0},r:function(a,b,c){if(!se[1])return-4;bf(a,b,c);return 0},E:function(a,b,c,d){a=V(a);return"undefined"!=typeof a.onwheel?(cf(a,b,c,d),0):-1},za:function(a){pa(l(a))},m:function(){throw"Please compile your program with async support in order to use asynchronous operations like emscripten_sleep"; +y:function(a,b,c,d){af(a,b,c,d,25,"touchcancel");return 0},A:function(a,b,c,d){af(a,b,c,d,23,"touchend");return 0},z:function(a,b,c,d){af(a,b,c,d,24,"touchmove");return 0},B:function(a,b,c,d){af(a,b,c,d,22,"touchstart");return 0},r:function(a,b,c){if(!se[1])return-4;bf(a,b,c);return 0},E:function(a,b,c,d){a=V(a);return"undefined"!=typeof a.onwheel?(cf(a,b,c,d),0):-1},Aa:function(a){pa(l(a))},n:function(){throw"Please compile your program with async support in order to use asynchronous operations like emscripten_sleep"; },ab:function(a,b){var c=0;ef().forEach(function(d,e){var f=b+c;e=z[a+4*e>>2]=f;for(f=0;f>0]=d.charCodeAt(f);x[e>>0]=0;c+=d.length+1});return 0},bb:function(a,b){var c=ef();z[a>>2]=c.length;var d=0;c.forEach(function(e){d+=e.length+1});z[b>>2]=d;return 0},p:gf,O:function(a){try{var b=uc(a);dc(b);return 0}catch(c){if("undefined"==typeof sc||"ErrnoError"!==c.name)throw c;return c.le}},db:function(a,b,c,d){try{a:{var e=uc(a);a=b;for(var f,g=b=0;g>2],n=z[a+4>>2]; a+=8;var p=e,u=m,q=n,t=f,v=x;if(0>q||0>t)throw new J(28);if(null===p.fd)throw new J(8);if(1===(p.flags&2097155))throw new J(8);if(16384===(p.node.mode&61440))throw new J(31);if(!p.be.read)throw new J(28);var A="undefined"!=typeof t;if(!A)t=p.position;else if(!p.seekable)throw new J(70);var C=p.be.read(p,v,u,q,t);A||(p.position+=C);var D=C;if(0>D){var S=-1;break a}b+=D;if(D>2]=S;return 0}catch(da){if("undefined"==typeof sc||"ErrnoError"!==da.name)throw da; return da.le}},Ta:function(a,b,c,d,e){try{b=c+2097152>>>0<4194305-!!b?(b>>>0)+4294967296*c:NaN;if(isNaN(b))return 61;var f=uc(a);ec(f,b,d);G=[f.position>>>0,(F=f.position,1<=+Math.abs(F)?0>>0:~~+Math.ceil((F-+(~~F>>>0))/4294967296)>>>0:0)];y[e>>2]=G[0];y[e+4>>2]=G[1];f.Pe&&0===b&&0===d&&(f.Pe=null);return 0}catch(g){if("undefined"==typeof sc||"ErrnoError"!==g.name)throw g;return g.le}},M:function(a,b,c,d){try{a:{var e=uc(a);a=b;for(var f,g=b=0;g< diff --git a/wasm/basque.wasm b/wasm/basque.wasm index 32782b8..8a75161 100755 Binary files a/wasm/basque.wasm and b/wasm/basque.wasm differ diff --git a/wasm/basque.wasm.js b/wasm/basque.wasm.js index 243e7f1..d1d2307 100644 --- a/wasm/basque.wasm.js +++ b/wasm/basque.wasm.js @@ -32,18 +32,18 @@ WebAssembly = { // This will be replaced by the actual wasm2js code. this.exports = ( // EMSCRIPTEN_START_ASM -function instantiate(Pe){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new ArrayBuffer(16);var g=new Int32Array(f);var h=new Float32Array(f);var i=new Float64Array(f);function j(k){return g[k]}function l(k,m){g[k]=m}function n(){return i[0]}function o(m){i[0]=m}function p(q,m,r){q=q>>>0;r=r>>>0;if(q+r>e.length)throw"trap: invalid memory.fill";e.fill(m,q,q+r)}function s(){throw new Error("abort")}function t(q,u,r){e.copyWithin(q,u,u+r)}function v(){return h[2]}function w(m){h[2]=m}function Ne(Oe){var x=Oe.a;var y=x.a;var z=y.buffer;y.grow=Le;var A=new Int8Array(z);var B=new Int16Array(z);var C=new Int32Array(z);var D=new Uint8Array(z);var E=new Uint16Array(z);var F=new Uint32Array(z);var G=new Float32Array(z);var H=new Float64Array(z);var I=Math.imul;var J=Math.fround;var K=Math.abs;var L=Math.clz32;var M=Math.min;var N=Math.max;var O=Math.floor;var P=Math.ceil;var Q=Math.trunc;var R=Math.sqrt;var S=x.b;var T=x.c;var U=x.d;var V=x.e;var W=x.f;var X=x.g;var Y=x.h;var Z=x.i;var _=x.j;var $=x.k;var aa=x.l;var ba=x.m;var ca=x.n;var da=x.o;var ea=x.p;var fa=x.q;var ga=x.r;var ha=x.s;var ia=x.t;var ja=x.u;var ka=x.v;var la=x.w;var ma=x.x;var na=x.y;var oa=x.z;var pa=x.A;var qa=x.B;var ra=x.C;var sa=x.D;var ta=x.E;var ua=x.F;var va=x.G;var wa=x.H;var xa=x.I;var ya=x.J;var za=x.K;var Aa=x.L;var Ba=x.M;var Ca=x.N;var Da=x.O;var Ea=x.P;var Fa=x.Q;var Ga=x.R;var Ha=x.S;var Ia=x.T;var Ja=x.U;var Ka=x.V;var La=x.W;var Ma=x.X;var Na=x.Y;var Oa=x.Z;var Pa=x._;var Qa=x.$;var Ra=x.aa;var Sa=x.ba;var Ta=x.ca;var Ua=x.da;var Va=x.ea;var Wa=x.fa;var Xa=x.ga;var Ya=x.ha;var Za=x.ia;var _a=x.ja;var $a=x.ka;var ab=x.la;var bb=x.ma;var cb=x.na;var db=x.oa;var eb=x.pa;var fb=x.qa;var gb=x.ra;var hb=x.sa;var ib=x.ta;var jb=x.ua;var kb=x.va;var lb=x.wa;var mb=x.xa;var nb=x.ya;var ob=x.za;var pb=x.Aa;var qb=x.Ba;var rb=x.Ca;var sb=x.Da;var tb=x.Ea;var ub=x.Fa;var vb=x.Ga;var wb=x.Ha;var xb=x.Ia;var yb=x.Ja;var zb=x.Ka;var Ab=x.La;var Bb=x.Ma;var Cb=x.Na;var Db=x.Oa;var Eb=x.Pa;var Fb=x.Qa;var Gb=x.Ra;var Hb=x.Sa;var Ib=x.Ta;var Jb=x.Ua;var Kb=x.Va;var Lb=x.Wa;var Mb=x.Xa;var Nb=x.Ya;var Ob=x.Za;var Pb=x._a;var Qb=x.$a;var Rb=x.ab;var Sb=x.bb;var Tb=x.cb;var Ub=x.db;var Vb=x.eb;var Wb=x.fb;var Xb=x.gb;var Yb=x.hb;var Zb=x.ib;var _b=x.jb;var $b=x.kb;var ac=x.lb;var bc=x.mb;var cc=x.nb;var dc=x.ob;var ec=x.pb;var fc=x.qb;var gc=x.rb;var hc=x.sb;var ic=x.tb;var jc=x.ub;var kc=x.vb;var lc=x.wb;var mc=x.xb;var nc=x.yb;var oc=x.zb;var pc=x.Ab;var qc=x.Bb;var rc=x.Cb;var sc=x.Db;var tc=x.Eb;var uc=x.Fb;var vc=x.Gb;var wc=x.Hb;var xc=x.Ib;var yc=x.Jb;var zc=x.Kb;var Ac=x.Lb;var Bc=x.Mb;var Cc=x.Nb;var Dc=x.Ob;var Ec=x.Pb;var Fc=x.Qb;var Gc=x.Rb;var Hc=x.Sb;var Ic=x.Tb;var Jc=x.Ub;var Kc=x.Vb;var Lc=x.Wb;var Mc=x.Xb;var Nc=x.Yb;var Oc=x.Zb;var Pc=x._b;var Qc=x.$b;var Rc=x.ac;var Sc=x.bc;var Tc=x.cc;var Uc=x.dc;var Vc=x.ec;var Wc=x.fc;var Xc=x.gc;var Yc=x.hc;var Zc=x.ic;var _c=x.jc;var $c=x.kc;var ad=x.lc;var bd=x.mc;var cd=x.nc;var dd=x.oc;var ed=x.pc;var fd=x.qc;var gd=x.rc;var hd=x.sc;var id=x.tc;var jd=x.uc;var kd=x.vc;var ld=x.wc;var md=x.xc;var nd=x.yc;var od=x.zc;var pd=x.Ac;var qd=x.Bc;var rd=x.Cc;var sd=x.Dc;var td=x.Ec;var ud=x.Fc;var vd=x.Gc;var wd=x.Hc;var xd=x.Ic;var yd=x.Jc;var zd=x.Kc;var Ad=x.Lc;var Bd=x.Mc;var Cd=x.Nc;var Dd=x.Oc;var Ed=x.Pc;var Fd=x.Qc;var Gd=x.Rc;var Hd=x.Sc;var Id=x.Tc;var Jd=x.Uc;var Kd=x.Vc;var Ld=x.Wc;var Md=x.Xc;var Nd=x.Yc;var Od=x.Zc;var Pd=x._c;var Qd=x.$c;var Rd=x.ad;var Sd=x.bd;var Td=x.cd;var Ud=x.dd;var Vd=x.ed;var Wd=x.fd;var Xd=x.gd;var Yd=x.hd;var Zd=x.id;var _d=x.jd;var $d=x.kd;var ae=x.ld;var be=x.md;var ce=x.nd;var de=x.od;var ee=x.pd;var fe=x.qd;var ge=x.rd;var he=x.sd;var ie=x.td;var je=x.ud;var ke=x.vd;var le=x.wd;var me=x.xd;var ne=x.yd;var oe=x.zd;var pe=x.Ad;var qe=x.Bd;var re=x.Cd;var se=x.Dd;var te=x.Ed;var ue=x.Fd;var ve=x.Gd;var we=x.Hd;var xe=x.Id;var ye=x.Jd;var ze=x.Kd;var Ae=x.Ld;var Be=x.Md;var Ce=268868400;var De=0;var Ee=0; +function instantiate(Pe){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new ArrayBuffer(16);var g=new Int32Array(f);var h=new Float32Array(f);var i=new Float64Array(f);function j(k){return g[k]}function l(k,m){g[k]=m}function n(){return i[0]}function o(m){i[0]=m}function p(q,m,r){q=q>>>0;r=r>>>0;if(q+r>e.length)throw"trap: invalid memory.fill";e.fill(m,q,q+r)}function s(){throw new Error("abort")}function t(q,u,r){e.copyWithin(q,u,u+r)}function v(){return h[2]}function w(m){h[2]=m}function Ne(Oe){var x=Oe.a;var y=x.a;var z=y.buffer;y.grow=Le;var A=new Int8Array(z);var B=new Int16Array(z);var C=new Int32Array(z);var D=new Uint8Array(z);var E=new Uint16Array(z);var F=new Uint32Array(z);var G=new Float32Array(z);var H=new Float64Array(z);var I=Math.imul;var J=Math.fround;var K=Math.abs;var L=Math.clz32;var M=Math.min;var N=Math.max;var O=Math.floor;var P=Math.ceil;var Q=Math.trunc;var R=Math.sqrt;var S=x.b;var T=x.c;var U=x.d;var V=x.e;var W=x.f;var X=x.g;var Y=x.h;var Z=x.i;var _=x.j;var $=x.k;var aa=x.l;var ba=x.m;var ca=x.n;var da=x.o;var ea=x.p;var fa=x.q;var ga=x.r;var ha=x.s;var ia=x.t;var ja=x.u;var ka=x.v;var la=x.w;var ma=x.x;var na=x.y;var oa=x.z;var pa=x.A;var qa=x.B;var ra=x.C;var sa=x.D;var ta=x.E;var ua=x.F;var va=x.G;var wa=x.H;var xa=x.I;var ya=x.J;var za=x.K;var Aa=x.L;var Ba=x.M;var Ca=x.N;var Da=x.O;var Ea=x.P;var Fa=x.Q;var Ga=x.R;var Ha=x.S;var Ia=x.T;var Ja=x.U;var Ka=x.V;var La=x.W;var Ma=x.X;var Na=x.Y;var Oa=x.Z;var Pa=x._;var Qa=x.$;var Ra=x.aa;var Sa=x.ba;var Ta=x.ca;var Ua=x.da;var Va=x.ea;var Wa=x.fa;var Xa=x.ga;var Ya=x.ha;var Za=x.ia;var _a=x.ja;var $a=x.ka;var ab=x.la;var bb=x.ma;var cb=x.na;var db=x.oa;var eb=x.pa;var fb=x.qa;var gb=x.ra;var hb=x.sa;var ib=x.ta;var jb=x.ua;var kb=x.va;var lb=x.wa;var mb=x.xa;var nb=x.ya;var ob=x.za;var pb=x.Aa;var qb=x.Ba;var rb=x.Ca;var sb=x.Da;var tb=x.Ea;var ub=x.Fa;var vb=x.Ga;var wb=x.Ha;var xb=x.Ia;var yb=x.Ja;var zb=x.Ka;var Ab=x.La;var Bb=x.Ma;var Cb=x.Na;var Db=x.Oa;var Eb=x.Pa;var Fb=x.Qa;var Gb=x.Ra;var Hb=x.Sa;var Ib=x.Ta;var Jb=x.Ua;var Kb=x.Va;var Lb=x.Wa;var Mb=x.Xa;var Nb=x.Ya;var Ob=x.Za;var Pb=x._a;var Qb=x.$a;var Rb=x.ab;var Sb=x.bb;var Tb=x.cb;var Ub=x.db;var Vb=x.eb;var Wb=x.fb;var Xb=x.gb;var Yb=x.hb;var Zb=x.ib;var _b=x.jb;var $b=x.kb;var ac=x.lb;var bc=x.mb;var cc=x.nb;var dc=x.ob;var ec=x.pb;var fc=x.qb;var gc=x.rb;var hc=x.sb;var ic=x.tb;var jc=x.ub;var kc=x.vb;var lc=x.wb;var mc=x.xb;var nc=x.yb;var oc=x.zb;var pc=x.Ab;var qc=x.Bb;var rc=x.Cb;var sc=x.Db;var tc=x.Eb;var uc=x.Fb;var vc=x.Gb;var wc=x.Hb;var xc=x.Ib;var yc=x.Jb;var zc=x.Kb;var Ac=x.Lb;var Bc=x.Mb;var Cc=x.Nb;var Dc=x.Ob;var Ec=x.Pb;var Fc=x.Qb;var Gc=x.Rb;var Hc=x.Sb;var Ic=x.Tb;var Jc=x.Ub;var Kc=x.Vb;var Lc=x.Wb;var Mc=x.Xb;var Nc=x.Yb;var Oc=x.Zb;var Pc=x._b;var Qc=x.$b;var Rc=x.ac;var Sc=x.bc;var Tc=x.cc;var Uc=x.dc;var Vc=x.ec;var Wc=x.fc;var Xc=x.gc;var Yc=x.hc;var Zc=x.ic;var _c=x.jc;var $c=x.kc;var ad=x.lc;var bd=x.mc;var cd=x.nc;var dd=x.oc;var ed=x.pc;var fd=x.qc;var gd=x.rc;var hd=x.sc;var id=x.tc;var jd=x.uc;var kd=x.vc;var ld=x.wc;var md=x.xc;var nd=x.yc;var od=x.zc;var pd=x.Ac;var qd=x.Bc;var rd=x.Cc;var sd=x.Dc;var td=x.Ec;var ud=x.Fc;var vd=x.Gc;var wd=x.Hc;var xd=x.Ic;var yd=x.Jc;var zd=x.Kc;var Ad=x.Lc;var Bd=x.Mc;var Cd=x.Nc;var Dd=x.Oc;var Ed=x.Pc;var Fd=x.Qc;var Gd=x.Rc;var Hd=x.Sc;var Id=x.Tc;var Jd=x.Uc;var Kd=x.Vc;var Ld=x.Wc;var Md=x.Xc;var Nd=x.Yc;var Od=x.Zc;var Pd=x._c;var Qd=x.$c;var Rd=x.ad;var Sd=x.bd;var Td=x.cd;var Ud=x.dd;var Vd=x.ed;var Wd=x.fd;var Xd=x.gd;var Yd=x.hd;var Zd=x.id;var _d=x.jd;var $d=x.kd;var ae=x.ld;var be=x.md;var ce=x.nd;var de=x.od;var ee=x.pd;var fe=x.qd;var ge=x.rd;var he=x.sd;var ie=x.td;var je=x.ud;var ke=x.vd;var le=x.wd;var me=x.xd;var ne=x.yd;var oe=x.zd;var pe=x.Ad;var qe=x.Bd;var re=x.Cd;var se=x.Dd;var te=x.Ed;var ue=x.Fd;var ve=x.Gd;var we=x.Hd;var xe=x.Id;var ye=x.Jd;var ze=x.Kd;var Ae=x.Ld;var Be=x.Md;var Ce=268868432;var De=0;var Ee=0; // EMSCRIPTEN_START_FUNCS -function Cz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=J(0);a:{b:{switch(a-10|0){case 0:case 19:j=C[b+24>>2]-1|0;c:{if(j>>>0>=F[b+32>>2]){j=C[51435];C[105682]=C[51434];C[105683]=j;j=C[51433];C[105680]=C[51432];C[105681]=j;j=C[51431];C[105678]=C[51430];C[105679]=j;j=C[51429];C[105676]=C[51428];C[105677]=j;j=422704;break c}j=C[b+36>>2]+(j<<5)|0}if(!C[j+20>>2]){break a}A[b+40|0]=1;return;case 6:a=0;c=b;if(!D[b+178|0]){b=C[c+152>>2];d=D[b+8|0]|D[b+9|0]<<8;f=b;e=C[c+160>>2];b=e>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:(b+(e<<2)|0)+10|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=b?(f+b|0)+2|0:205712;f=D[b+4|0]|D[b+5|0]<<8;b=(f<<8|f>>>8)&65535;C[c+156>>2]=b;d:{if(!D[c+176|0]){break d}e:{f:{e=C[c+164>>2];if((e|0)>=0){if(b>>>0<=e>>>0){break e}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=1073741822){d=mf(C[c+172>>2],e<<2);if(d){break f}}C[c+164>>2]=-1}A[c+40|0]=1;break d}C[c+164>>2]=e;C[c+172>>2]=d}d=C[c+168>>2];if(d>>>0>>0){We(C[c+172>>2]+(d<<2)|0,0,b-d<<2)}C[c+168>>2]=b;d=C[c+152>>2]+2|0;e=C[c+160>>2];i=C[c+144>>2];o=C[c+148>>2];g:{if(!f){C[105676]=C[51428];b=422704;break g}b=C[c+172>>2]}f=D[d+6|0]|D[d+7|0]<<8;e=e>>>0>=((f<<8|f>>>8)&65535)>>>0?205712:(d+(e<<2)|0)+8|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);l=e?e+d|0:205712;e=D[l+4|0]|D[l+5|0]<<8;k=(e<<8|e>>>8)&65535;f=C[c+156>>2];j=f>>>0>k>>>0?k:f;if(j){e=d;d=D[d+2|0]|D[d+3|0]<<8|(D[d+4|0]<<16|D[d+5|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=d?e+d|0:205712;e=0;while(1){m=l+(e<<1)|0;m=D[m+6|0]|D[m+7|0]<<8;y=b+(e<<2)|0,z=qq(d,(m<<8|m>>>8)&65535,i,o),G[y>>2]=z;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(f>>>0>k>>>0){We(b+(j<<2)|0,0,f-j<<2)}}A[c+178|0]=1}b=C[c+24>>2];h:{i:{if(b){b=b-1|0;C[c+24>>2]=b;if(b>>>0>=F[c+32>>2]){break i}b=C[c+36>>2]+(b<<5)|0;break h}A[c+20|0]=1}b=C[51435];C[105682]=C[51434];C[105683]=b;b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704}f=C[c+156>>2];j:{k:{l:{q=H[b>>3];m:{if(K(q)<2147483648){b=~~q;break m}b=-2147483648}if((b|0)>=0){l=C[c+24>>2];i=l+I(b,f^-1)|0;if(i>>>0<=l>>>0){if(!b){break k}j=(f|0)>0?f:0;t=f&-2;w=f&1;v=b+i|0;e=C[51428];k=C[51429];while(1){l=C[c+32>>2];a=i+h|0;if(a>>>0>=F[c+24>>2]){A[c+20|0]=1}o=C[c+36>>2];n:{if(a>>>0>=l>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;C[105676]=e;C[105677]=k;d=422704;break n}d=o+(a<<5)|0}C[d+12>>2]=h;C[d+8>>2]=b;a=C[d+16>>2];o:{if((a|0)<0){break o}if(a>>>0>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(j>>>0>=a>>>0){continue}break}p:{if(a>>>0<=536870910){m=mf(C[d+24>>2],a<<3);if(m){break p}}C[d+16>>2]=-1;break o}C[d+16>>2]=a;C[d+24>>2]=m}a=C[d+20>>2];if(a>>>0>>0){We(C[d+24>>2]+(a<<3)|0,0,j-a<<3)}C[d+20>>2]=j}q:{if(!f){break q}m=v+I(f,h)|0;a=l-m|0;a=m?a>>>0<=l>>>0?a:0:l;o=o+(m<<5)|0;m=C[d+24>>2];p=C[d+20>>2];l=0;d=0;if((f|0)!=1){while(1){s=a>>>0<=l>>>0?205712:o+(l<<5)|0;r:{if(l>>>0>=p>>>0){C[105676]=e;C[105677]=k;r=422704;break r}r=m+(l<<3)|0}x=C[s+4>>2];C[r>>2]=C[s>>2];C[r+4>>2]=x;r=l|1;s=a>>>0<=r>>>0?205712:o+(r<<5)|0;s:{if(p>>>0<=r>>>0){C[105676]=e;C[105677]=k;r=422704;break s}r=m+(r<<3)|0}x=C[s+4>>2];C[r>>2]=C[s>>2];C[r+4>>2]=x;l=l+2|0;d=d+2|0;if((t|0)!=(d|0)){continue}break}}if(!w){break q}d=a>>>0<=l>>>0?205712:o+(l<<5)|0;t:{if(l>>>0>=p>>>0){C[105676]=e;C[105677]=k;a=422704;break t}a=m+(l<<3)|0}l=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=l}h=h+1|0;if((b|0)!=(h|0)){continue}break}break l}A[c+40|0]=1;break j}A[c+20|0]=1;l=C[c+24>>2];break k}l=C[c+24>>2];a=b}a=I(a,f);if(a>>>0<=l>>>0){C[c+24>>2]=l-a;break j}A[c+20|0]=1}return;case 5:break b;default:break a}}c=C[b+32>>2];a=C[b+24>>2]-1|0;u:{if(c>>>0<=a>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break u}a=C[b+36>>2]+(a<<5)|0}if(C[a+20>>2]){A[b+40|0]=1;return}a=C[b+24>>2];v:{w:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=c>>>0){break w}a=C[b+36>>2]+(a<<5)|0;break v}A[b+20|0]=1}a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}q=H[a>>3];x:{if(K(q)<2147483648){a=~~q;break x}a=-2147483648}if((a|0)<0){A[b+20|0]=1;a=0}y:{if(D[b+177|0]|D[b+178|0]){A[b+40|0]=1;break y}C[b+160>>2]=a}C[b+24>>2]=0;A[b+177|0]=1;return}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:{switch(a-1|0){default:switch(a-255|0){case 38:break I;case 37:break J;case 36:break K;case 35:break L;case 0:break ca;default:break H};case 10:if(D[b+16|0]){A[b+40|0]=1}a=C[b+92>>2];ea:{fa:{if(a){a=a-1|0;C[b+92>>2]=a;if(a>>>0>=F[b+100>>2]){break fa}a=C[b+104>>2]+I(a,28)|0;break ea}A[b+88|0]=1}C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}c=C[a+4>>2];C[b+44>>2]=C[a>>2];C[b+48>>2]=c;C[b+68>>2]=C[a+24>>2];c=C[a+20>>2];C[b+60>>2]=C[a+16>>2];C[b+64>>2]=c;c=C[a+12>>2];C[b+52>>2]=C[a+8>>2];C[b+56>>2]=c;c=C[a+8>>2];d=C[a+12>>2];e=C[a>>2];f=C[a+4>>2];A[b+16|0]=D[a+16|0];C[b+8>>2]=c;C[b+12>>2]=d;C[b>>2]=e;C[b+4>>2]=f;break z;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break H;case 30:break M;case 29:break N;case 26:break O;case 25:break P;case 24:break Q;case 23:break R;case 7:break S;case 6:break T;case 5:break U;case 4:break V;case 3:break W;case 21:break X;case 20:break Y;case 18:case 19:break Z;case 2:case 22:break _;case 0:case 17:break $;case 28:break aa;case 9:break ba;case 13:break da}}A[b+72|0]=1;break A}if(D[b+16|0]){break z}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break z}ga:{if(a>>>0>=c>>>0){A[b+16|0]=1;a=205712;break ga}a=a+C[b>>2]|0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=c>>>8&65280|c>>>24;a=C[b+24>>2];ha:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break ha}A[b+20|0]=1;a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=+(d|(c<<24|(c&65280)<<8))*152587890625e-16;if(D[b+16|0]){a=C[b+4>>2];break C}a=C[b+4>>2];c=C[b+12>>2];if(a>>>0>>0){break C}c=c+4|0;if(c>>>0>a>>>0){break C}C[b+12>>2]=c;break z}Bz(b,b+116|0,2);break z}Bz(b,b+108|0,1);break z}a=C[b+24>>2];C[b+24>>2]=0;C[b+76>>2]=C[b+76>>2]+(a>>>1|0);break z}a=C[b+24>>2];C[b+24>>2]=0;C[b+80>>2]=C[b+80>>2]+(a>>>1|0);break z}ia:{if(D[b+74|0]){a=C[b+84>>2];break ia}A[b+74|0]=1;a=C[b+80>>2]+(C[b+24>>2]>>>1|0)|0;C[b+80>>2]=a;a=(a+C[b+76>>2]|0)+7>>>3|0;C[b+84>>2]=a}if(D[b+16|0]){break z}c=C[b+12>>2];d=c+a|0;a=C[b+4>>2];if(d>>>0>a>>>0){break z}C[b+24>>2]=0;if(a>>>0>=c>>>0){C[b+12>>2]=d;break z}A[b+16|0]=1;C[b+12>>2]=a;break z}a=C[b+24>>2];ja:{ka:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=F[b+32>>2]){break ka}a=C[b+36>>2]+(a<<5)|0;break ja}A[b+20|0]=1}a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}q=H[b+136>>3];n=H[b+128>>3];h=D[b+176|0];la:{if(!h){break la}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break la}k=d&1;j=C[a+24>>2];l=C[b+172>>2];g=H[a>>3];if((d|0)!=1){d=d&-2;while(1){i=e|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;f=f+2|0;if((d|0)!=(f|0)){continue}break}}g=k?+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break la}C[a+20>>2]=0}d=C[b+24>>2];ma:{na:{if(d){d=d-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){break na}d=C[b+36>>2]+(d<<5)|0;break ma}A[b+20|0]=1}d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704}oa:{if(!h){break oa}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break oa}h=e&1;j=C[d+24>>2];l=C[b+172>>2];g=H[d>>3];pa:{if((e|0)==1){e=0;break pa}k=e&-2;e=0;f=0;while(1){i=e|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;f=f+2|0;if((k|0)!=(f|0)){continue}break}}g=h?+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break oa}C[d+20>>2]=0}g=H[d>>3];u=H[a>>3];A[c|0]=0;H[b+136>>3]=q+u;H[b+128>>3]=n+g;break B}a=C[b+24>>2];qa:{ra:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=F[b+32>>2]){break ra}d=C[b+36>>2]+(a<<5)|0;break qa}A[b+20|0]=1}a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;d=422704}q=H[b+136>>3];n=H[b+128>>3];if(!D[b+176|0]){break D}a=C[d+20>>2];if(!a|(a|0)!=C[b+168>>2]){break D}l=a&1;e=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];if((a|0)==1){a=0;break E}h=a&-2;a=0;while(1){k=a|1;g=+G[j+(k<<2)>>2]*H[e+(k<<3)>>3]+(+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g);a=a+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}break E}a=C[b+24>>2];sa:{ta:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=F[b+32>>2]){break ta}d=C[b+36>>2]+(a<<5)|0;break sa}A[b+20|0]=1}a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;d=422704}q=H[b+136>>3];n=H[b+128>>3];if(!D[b+176|0]){break F}a=C[d+20>>2];if(!a|(a|0)!=C[b+168>>2]){break F}l=a&1;e=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];if((a|0)==1){a=0;break G}h=a&-2;a=0;while(1){k=a|1;g=+G[j+(k<<2)>>2]*H[e+(k<<3)>>3]+(+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g);a=a+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}break G}l=C[b+24>>2];if(l>>>0>=2){f=C[b+168>>2];i=f&-2;o=f&1;m=f-1|0;p=C[b+36>>2];r=C[b+32>>2];s=D[b+176|0];a=2;while(1){if(d>>>0>=l>>>0){A[b+20|0]=1}ua:{if(d>>>0>=r>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break ua}e=p+(d<<5)|0}q=H[b+136>>3];g=H[b+128>>3];va:{if(!s){break va}j=C[e+20>>2];if(!j|(f|0)!=(j|0)){break va}j=C[e+24>>2];h=C[b+172>>2];n=H[e>>3];l=0;k=0;if(m){while(1){t=l|1;n=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}n=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break va}C[e+20>>2]=0}d=d|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}wa:{if(d>>>0>=r>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break wa}d=p+(d<<5)|0}xa:{if(!s){break xa}j=C[d+20>>2];if(!j|(f|0)!=(j|0)){break xa}j=C[d+24>>2];h=C[b+172>>2];n=H[d>>3];l=0;k=0;if(m){while(1){t=l|1;n=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}n=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n:n;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=n;if(C[d+16>>2]<0){break xa}C[d+20>>2]=0}u=q+H[d>>3];n=g+H[e>>3];ya:{if(D[c|0]){break ya}A[c|0]=1;q=H[b+128>>3];if(q>3]){H[c+8>>3]=q;q=H[b+128>>3]}if(H[c+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[c+16>>3]=q;q=H[b+136>>3]}if(!(H[c+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=n;if(H[c+8>>3]>n){H[c+8>>3]=n;n=H[b+128>>3]}if(H[c+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[c+16>>3]=n;n=H[b+136>>3]}if(H[c+32>>3]>3]=n}d=a;a=d+2|0;l=C[b+24>>2];if(a>>>0<=l>>>0){continue}break}}break A}e=c;a=0;l=C[b+24>>2];if(l>>>0>=2){f=C[b+168>>2];i=f&-2;o=f&1;m=f-1|0;p=C[b+36>>2];r=C[b+32>>2];s=D[b+176|0];c=2;while(1){a=c;if(d>>>0>=l>>>0){A[b+20|0]=1}za:{if(d>>>0>=r>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break za}c=p+(d<<5)|0}n=H[b+136>>3];g=H[b+128>>3];Aa:{if(!s){break Aa}j=C[c+20>>2];if(!j|(f|0)!=(j|0)){break Aa}j=C[c+24>>2];h=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){t=l|1;q=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break Aa}C[c+20>>2]=0}g=g+H[c>>3];Ba:{if(D[e|0]){break Ba}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=n;H[b+128>>3]=g;q=g;if(H[e+8>>3]>g){H[e+8>>3]=g;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Ca:{if(c>>>0>=r>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Ca}c=p+(c<<5)|0}Da:{if(!s){break Da}d=C[c+20>>2];if(!d|(d|0)!=(f|0)){break Da}d=C[c+24>>2];j=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){h=l|1;q=+G[j+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break Da}C[c+20>>2]=0}q=n+H[c>>3];Ea:{if(D[e|0]){break Ea}A[e|0]=1;n=H[b+128>>3];if(n>3]){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(!(H[e+32>>3]>3]=n}H[b+136>>3]=q;H[b+128>>3]=g;if(H[e+8>>3]>g){H[e+8>>3]=g;g=H[b+128>>3]}if(H[e+24>>3]>3]=g}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}d=a;c=d+2|0;l=C[b+24>>2];if(c>>>0<=l>>>0){continue}break}}Fa:{if(a>>>0>=l>>>0){break Fa}Ga:{if(F[b+32>>2]<=a>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ga}a=C[b+36>>2]+(a<<5)|0}g=H[b+136>>3];n=H[b+128>>3];Ha:{if(!D[b+176|0]){break Ha}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break Ha}j=c&1;d=C[a+24>>2];f=C[b+172>>2];q=H[a>>3];Ia:{if((c|0)==1){l=0;break Ia}c=c&-2;l=0;k=0;while(1){h=l|1;q=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}q=j?+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=q;if(C[a+16>>2]<0){break Ha}C[a+20>>2]=0}q=n+H[a>>3];Ja:{if(D[e|0]){break Ja}A[e|0]=1;n=H[b+128>>3];if(n>3]){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(!(H[e+32>>3]>3]=n}H[b+136>>3]=g;H[b+128>>3]=q;if(H[e+8>>3]>q){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}break A}e=c;a=0;l=C[b+24>>2];if(l>>>0>=2){f=C[b+168>>2];i=f&-2;o=f&1;m=f-1|0;p=C[b+36>>2];r=C[b+32>>2];s=D[b+176|0];c=2;while(1){a=c;if(d>>>0>=l>>>0){A[b+20|0]=1}Ka:{if(d>>>0>=r>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Ka}c=p+(d<<5)|0}n=H[b+136>>3];g=H[b+128>>3];La:{if(!s){break La}j=C[c+20>>2];if(!j|(f|0)!=(j|0)){break La}j=C[c+24>>2];h=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){t=l|1;q=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break La}C[c+20>>2]=0}u=n+H[c>>3];Ma:{if(D[e|0]){break Ma}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=g;q=g;if(g>3]){H[e+8>>3]=g;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Na:{if(c>>>0>=r>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Na}c=p+(c<<5)|0}Oa:{if(!s){break Oa}d=C[c+20>>2];if(!d|(d|0)!=(f|0)){break Oa}d=C[c+24>>2];j=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){h=l|1;q=+G[j+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break Oa}C[c+20>>2]=0}q=g+H[c>>3];Pa:{if(D[e|0]){break Pa}A[e|0]=1;n=H[b+128>>3];if(n>3]){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(!(H[e+32>>3]>3]=n}H[b+136>>3]=u;H[b+128>>3]=q;if(H[e+8>>3]>q){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}d=a;c=d+2|0;l=C[b+24>>2];if(c>>>0<=l>>>0){continue}break}}Qa:{if(a>>>0>=l>>>0){break Qa}Ra:{if(F[b+32>>2]<=a>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ra}a=C[b+36>>2]+(a<<5)|0}g=H[b+136>>3];n=H[b+128>>3];Sa:{if(!D[b+176|0]){break Sa}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break Sa}j=c&1;d=C[a+24>>2];f=C[b+172>>2];q=H[a>>3];Ta:{if((c|0)==1){l=0;break Ta}c=c&-2;l=0;k=0;while(1){h=l|1;q=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}q=j?+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=q;if(C[a+16>>2]<0){break Sa}C[a+20>>2]=0}g=g+H[a>>3];Ua:{if(D[e|0]){break Ua}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=g;H[b+128>>3]=n;if(H[e+8>>3]>n){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}break A}a=0;j=Ce-48|0;Ce=j;l=C[b+24>>2];if(l>>>0>=6){d=6;while(1){f=a;a=d;d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;if(f>>>0>=l>>>0){A[b+20|0]=1}k=C[b+32>>2];Va:{if(k>>>0<=f>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Va}d=C[b+36>>2]+(f<<5)|0}i=D[b+176|0];Wa:{if(!i){break Wa}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Wa}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Wa}C[d+20>>2]=0}e=f|1;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Xa:{if(e>>>0>=k>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break Xa}e=C[b+36>>2]+(e<<5)|0}Ya:{if(!i){break Ya}o=C[e+20>>2];if(!o|(o|0)!=C[b+168>>2]){break Ya}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((o|0)!=1){r=o&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=o&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break Ya}C[e+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[d>>3];H[j+40>>3]=H[j+40>>3]+H[e>>3];d=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=d;d=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=d;d=f+2|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Za:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Za}d=C[b+36>>2]+(d<<5)|0}_a:{if(!i){break _a}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break _a}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break _a}C[d+20>>2]=0}e=f+3|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}$a:{if(e>>>0>=k>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break $a}e=C[b+36>>2]+(e<<5)|0}ab:{if(!i){break ab}o=C[e+20>>2];if(!o|(o|0)!=C[b+168>>2]){break ab}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((o|0)!=1){r=o&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=o&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break ab}C[e+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[d>>3];H[j+24>>3]=H[j+24>>3]+H[e>>3];d=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=d;d=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=d;d=f+4|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}bb:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break bb}d=C[b+36>>2]+(d<<5)|0}cb:{if(!i){break cb}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break cb}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break cb}C[d+20>>2]=0}e=f+5|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}db:{if(e>>>0>=k>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break db}e=C[b+36>>2]+(e<<5)|0}eb:{if(!i){break eb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break eb}k=C[e+24>>2];i=C[b+172>>2];g=H[e>>3];l=0;if((f|0)!=1){o=f&-2;h=0;while(1){m=l|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}g=f&1?+G[i+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break eb}C[e+20>>2]=0}H[j>>3]=H[j>>3]+H[d>>3];H[j+8>>3]=H[j+8>>3]+H[e>>3];Cf(b,c,j+32|0,j+16|0,j);l=C[b+24>>2];d=a+6|0;if(l>>>0>=d>>>0){continue}break}}Ce=j+48|0;break A}h=Ce-48|0;Ce=h;a=C[b+24>>2];fb:{if(a>>>0<8){break fb}r=a-2|0;d=6;a=0;while(1){j=a;a=d;d=C[b+140>>2];C[h+40>>2]=C[b+136>>2];C[h+44>>2]=d;d=C[b+132>>2];C[h+32>>2]=C[b+128>>2];C[h+36>>2]=d;if(j>>>0>=F[b+24>>2]){A[b+20|0]=1}k=C[b+32>>2];gb:{if(k>>>0<=j>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;e=422704;break gb}e=C[b+36>>2]+(j<<5)|0}i=D[b+176|0];hb:{if(!i){break hb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break hb}o=C[e+24>>2];m=C[b+172>>2];n=H[e>>3];d=0;if((f|0)!=1){p=f&-2;l=0;while(1){s=d|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=f&1?+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break hb}C[e+20>>2]=0}d=j|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}ib:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break ib}f=C[b+36>>2]+(d<<5)|0}jb:{if(!i){break jb}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break jb}m=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];d=0;if((o|0)!=1){s=o&-2;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[m+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=o&1?+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break jb}C[f+20>>2]=0}H[h+32>>3]=H[h+32>>3]+H[e>>3];H[h+40>>3]=H[h+40>>3]+H[f>>3];d=C[h+44>>2];C[h+24>>2]=C[h+40>>2];C[h+28>>2]=d;d=C[h+36>>2];C[h+16>>2]=C[h+32>>2];C[h+20>>2]=d;d=j+2|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}kb:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;e=422704;break kb}e=C[b+36>>2]+(d<<5)|0}lb:{if(!i){break lb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break lb}o=C[e+24>>2];m=C[b+172>>2];n=H[e>>3];d=0;if((f|0)!=1){p=f&-2;l=0;while(1){s=d|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=f&1?+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break lb}C[e+20>>2]=0}d=j+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}mb:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break mb}f=C[b+36>>2]+(d<<5)|0}nb:{if(!i){break nb}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break nb}m=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];d=0;if((o|0)!=1){s=o&-2;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[m+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=o&1?+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break nb}C[f+20>>2]=0}H[h+16>>3]=H[h+16>>3]+H[e>>3];H[h+24>>3]=H[h+24>>3]+H[f>>3];d=C[h+28>>2];C[h+8>>2]=C[h+24>>2];C[h+12>>2]=d;d=C[h+20>>2];C[h>>2]=C[h+16>>2];C[h+4>>2]=d;d=j+4|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}ob:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;e=422704;break ob}e=C[b+36>>2]+(d<<5)|0}pb:{if(!i){break pb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break pb}o=C[e+24>>2];m=C[b+172>>2];n=H[e>>3];d=0;if((f|0)!=1){p=f&-2;l=0;while(1){s=d|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=f&1?+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break pb}C[e+20>>2]=0}d=j+5|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}qb:{if(d>>>0>=k>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break qb}f=C[b+36>>2]+(d<<5)|0}rb:{if(!i){break rb}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break rb}k=C[f+24>>2];i=C[b+172>>2];n=H[f>>3];d=0;if((j|0)!=1){o=j&-2;l=0;while(1){m=d|1;n=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}n=j&1?+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break rb}C[f+20>>2]=0}H[h>>3]=H[h>>3]+H[e>>3];H[h+8>>3]=H[h+8>>3]+H[f>>3];Cf(b,c,h+32|0,h+16|0,h);d=a+6|0;if(r>>>0>=d>>>0){continue}break}if(F[b+24>>2]<=a>>>0){A[b+20|0]=1}k=C[b+32>>2];sb:{if(k>>>0<=a>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;e=422704;break sb}e=C[b+36>>2]+(a<<5)|0}q=H[b+136>>3];g=H[b+128>>3];i=D[b+176|0];tb:{if(!i){break tb}d=C[e+20>>2];if(!d|(d|0)!=C[b+168>>2]){break tb}o=d&1;f=C[e+24>>2];j=C[b+172>>2];n=H[e>>3];ub:{if((d|0)==1){d=0;break ub}m=d&-2;d=0;l=0;while(1){p=d|1;n=+G[j+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}n=o?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break tb}C[e+20>>2]=0}a=a|1;if(a>>>0>=F[b+24>>2]){A[b+20|0]=1}vb:{if(a>>>0>=k>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break vb}a=C[b+36>>2]+(a<<5)|0}wb:{if(!i){break wb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break wb}k=d&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];xb:{if((d|0)==1){d=0;break xb}i=d&-2;d=0;l=0;while(1){o=d|1;n=+G[j+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((i|0)!=(l|0)){continue}break}}n=k?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break wb}C[a+20>>2]=0}u=q+H[a>>3];n=g+H[e>>3];yb:{if(D[c|0]){break yb}A[c|0]=1;q=H[b+128>>3];if(q>3]){H[c+8>>3]=q;q=H[b+128>>3]}if(H[c+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[c+16>>3]=q;q=H[b+136>>3]}if(!(H[c+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=n;if(H[c+8>>3]>n){H[c+8>>3]=n;n=H[b+128>>3]}if(H[c+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[c+16>>3]=n;n=H[b+136>>3]}if(!(H[c+32>>3]>3]=n}Ce=h+48|0;break A}e=c;c=0;j=Ce-48|0;Ce=j;a=C[b+24>>2];if(a>>>0>=8){w=a-6|0;h=C[b+168>>2];o=h&-2;m=h&1;p=h-1|0;r=C[b+36>>2];s=C[b+32>>2];t=D[b+176|0];d=2;while(1){a=d;if(F[b+24>>2]<=c>>>0){A[b+20|0]=1}zb:{if(c>>>0>=s>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break zb}f=r+(c<<5)|0}q=H[b+136>>3];g=H[b+128>>3];Ab:{if(!t){break Ab}d=C[f+20>>2];if(!d|(d|0)!=(h|0)){break Ab}k=C[f+24>>2];i=C[b+172>>2];n=H[f>>3];d=0;l=0;if(p){while(1){v=d|1;n=+G[i+(v<<2)>>2]*H[k+(v<<3)>>3]+(+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}n=m?+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Ab}C[f+20>>2]=0}c=c|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Bb:{if(c>>>0>=s>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Bb}c=r+(c<<5)|0}Cb:{if(!t){break Cb}d=C[c+20>>2];if(!d|(d|0)!=(h|0)){break Cb}k=C[c+24>>2];i=C[b+172>>2];n=H[c>>3];d=0;l=0;if(p){while(1){v=d|1;n=+G[i+(v<<2)>>2]*H[k+(v<<3)>>3]+(+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}n=m?+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=n;if(C[c+16>>2]<0){break Cb}C[c+20>>2]=0}u=q+H[c>>3];n=g+H[f>>3];Db:{if(D[e|0]){break Db}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=n;if(H[e+8>>3]>n){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(H[e+32>>3]>3]=n}c=a;d=a+2|0;if(w>>>0>=d>>>0){continue}break}a=C[b+24>>2];f=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=f;f=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=f;if(a>>>0<=c>>>0){A[b+20|0]=1}h=C[b+32>>2];Eb:{if(h>>>0<=c>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Eb}a=C[b+36>>2]+(c<<5)|0}i=D[b+176|0];Fb:{if(!i){break Fb}f=C[a+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Fb}p=f&1;o=C[a+24>>2];m=C[b+172>>2];n=H[a>>3];Gb:{if((f|0)==1){k=0;break Gb}f=f&-2;k=0;l=0;while(1){r=k|1;n=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n);k=k+2|0;l=l+2|0;if((f|0)!=(l|0)){continue}break}}n=p?+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Fb}C[a+20>>2]=0}f=c|1;if(f>>>0>=F[b+24>>2]){A[b+20|0]=1}Hb:{if(f>>>0>=h>>>0){f=C[51435];C[105682]=C[51434];C[105683]=f;f=C[51433];C[105680]=C[51432];C[105681]=f;f=C[51431];C[105678]=C[51430];C[105679]=f;f=C[51429];C[105676]=C[51428];C[105677]=f;f=422704;break Hb}f=C[b+36>>2]+(f<<5)|0}Ib:{if(!i){break Ib}l=C[f+20>>2];if(!l|(l|0)!=C[b+168>>2]){break Ib}p=l&1;o=C[f+24>>2];m=C[b+172>>2];n=H[f>>3];Jb:{if((l|0)==1){k=0;break Jb}r=l&-2;k=0;l=0;while(1){s=k|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n);k=k+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Ib}C[f+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[a>>3];H[j+40>>3]=H[j+40>>3]+H[f>>3];a=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=a;a=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=a;if(F[b+24>>2]<=d>>>0){A[b+20|0]=1}Kb:{if(d>>>0>=h>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Kb}a=C[b+36>>2]+(d<<5)|0}Lb:{if(!i){break Lb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Lb}o=d&1;f=C[a+24>>2];k=C[b+172>>2];n=H[a>>3];Mb:{if((d|0)==1){d=0;break Mb}m=d&-2;d=0;l=0;while(1){p=d|1;n=+G[k+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}n=o?+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Lb}C[a+20>>2]=0}d=c+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Nb:{if(d>>>0>=h>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break Nb}f=C[b+36>>2]+(d<<5)|0}Ob:{if(!i){break Ob}d=C[f+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ob}m=d&1;k=C[f+24>>2];o=C[b+172>>2];n=H[f>>3];Pb:{if((d|0)==1){d=0;break Pb}p=d&-2;d=0;l=0;while(1){r=d|1;n=+G[o+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[o+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=m?+G[o+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Ob}C[f+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[a>>3];H[j+24>>3]=H[j+24>>3]+H[f>>3];a=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=a;a=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=a;a=c+4|0;if(a>>>0>=F[b+24>>2]){A[b+20|0]=1}Qb:{if(a>>>0>=h>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Qb}a=C[b+36>>2]+(a<<5)|0}Rb:{if(!i){break Rb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Rb}o=d&1;f=C[a+24>>2];k=C[b+172>>2];n=H[a>>3];Sb:{if((d|0)==1){d=0;break Sb}m=d&-2;d=0;l=0;while(1){p=d|1;n=+G[k+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}n=o?+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Rb}C[a+20>>2]=0}c=c+5|0;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Tb:{if(c>>>0>=h>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Tb}c=C[b+36>>2]+(c<<5)|0}Ub:{if(!i){break Ub}d=C[c+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ub}k=d&1;f=C[c+24>>2];h=C[b+172>>2];n=H[c>>3];Vb:{if((d|0)==1){d=0;break Vb}i=d&-2;d=0;l=0;while(1){o=d|1;n=+G[h+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[h+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((i|0)!=(l|0)){continue}break}}n=k?+G[h+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=n;if(C[c+16>>2]<0){break Ub}C[c+20>>2]=0}H[j>>3]=H[j>>3]+H[a>>3];H[j+8>>3]=H[j+8>>3]+H[c>>3];Cf(b,e,j+32|0,j+16|0,j)}Ce=j+48|0;break A}a=0;j=Ce-48|0;Ce=j;d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];if(l&1){Wb:{if(!C[b+32>>2]){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Wb}a=C[b+36>>2]}Xb:{if(!D[b+176|0]){break Xb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Xb}k=d&1;e=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];Yb:{if((d|0)==1){l=0;break Yb}d=d&-2;l=0;while(1){i=l|1;g=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((d|0)!=(h|0)){continue}break}}g=k?+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Xb}C[a+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[a>>3];l=C[b+24>>2];a=1}d=a|4;if(d>>>0<=l>>>0){while(1){f=a;a=d;if(f>>>0>=l>>>0){A[b+20|0]=1}i=C[b+32>>2];Zb:{if(i>>>0<=f>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Zb}d=C[b+36>>2]+(f<<5)|0}o=D[b+176|0];_b:{if(!o){break _b}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break _b}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break _b}C[d+20>>2]=0}H[j+40>>3]=H[j+40>>3]+H[d>>3];d=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=d;d=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=d;d=f+1|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}$b:{if(d>>>0>=i>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break $b}d=C[b+36>>2]+(d<<5)|0}ac:{if(!o){break ac}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break ac}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ac}C[d+20>>2]=0}e=f+2|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}bc:{if(e>>>0>=i>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break bc}e=C[b+36>>2]+(e<<5)|0}cc:{if(!o){break cc}k=C[e+20>>2];if(!k|(k|0)!=C[b+168>>2]){break cc}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((k|0)!=1){r=k&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=k&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break cc}C[e+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[d>>3];H[j+24>>3]=H[j+24>>3]+H[e>>3];d=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=d;d=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=d;d=f+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}dc:{if(d>>>0>=i>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break dc}d=C[b+36>>2]+(d<<5)|0}ec:{if(!o){break ec}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break ec}f=C[d+24>>2];k=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){i=e&-2;h=0;while(1){o=l|1;g=+G[k+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}g=e&1?+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ec}C[d+20>>2]=0}H[j+8>>3]=H[j+8>>3]+H[d>>3];Cf(b,c,j+32|0,j+16|0,j);d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];d=a+4|0;if(l>>>0>=d>>>0){continue}break}}Ce=j+48|0;break A}a=0;j=Ce-48|0;Ce=j;d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];if(l&1){fc:{if(!C[b+32>>2]){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break fc}a=C[b+36>>2]}gc:{if(!D[b+176|0]){break gc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break gc}k=d&1;e=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];hc:{if((d|0)==1){l=0;break hc}d=d&-2;l=0;while(1){i=l|1;g=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((d|0)!=(h|0)){continue}break}}g=k?+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break gc}C[a+20>>2]=0}H[j+40>>3]=H[j+40>>3]+H[a>>3];l=C[b+24>>2];a=1}d=a|4;if(d>>>0<=l>>>0){while(1){f=a;a=d;if(f>>>0>=l>>>0){A[b+20|0]=1}i=C[b+32>>2];ic:{if(i>>>0<=f>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break ic}d=C[b+36>>2]+(f<<5)|0}o=D[b+176|0];jc:{if(!o){break jc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break jc}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break jc}C[d+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[d>>3];d=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=d;d=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=d;d=f+1|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}kc:{if(d>>>0>=i>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break kc}d=C[b+36>>2]+(d<<5)|0}lc:{if(!o){break lc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break lc}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break lc}C[d+20>>2]=0}e=f+2|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}mc:{if(e>>>0>=i>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break mc}e=C[b+36>>2]+(e<<5)|0}nc:{if(!o){break nc}k=C[e+20>>2];if(!k|(k|0)!=C[b+168>>2]){break nc}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((k|0)!=1){r=k&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=k&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break nc}C[e+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[d>>3];H[j+24>>3]=H[j+24>>3]+H[e>>3];d=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=d;d=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=d;d=f+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}oc:{if(d>>>0>=i>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break oc}d=C[b+36>>2]+(d<<5)|0}pc:{if(!o){break pc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break pc}f=C[d+24>>2];k=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){i=e&-2;h=0;while(1){o=l|1;g=+G[k+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}g=e&1?+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break pc}C[d+20>>2]=0}H[j>>3]=H[j>>3]+H[d>>3];Cf(b,c,j+32|0,j+16|0,j);d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];d=a+4|0;if(l>>>0>=d>>>0){continue}break}}Ce=j+48|0;break A}l=c;c=0;i=Ce-48|0;Ce=i;e=C[b+24>>2];qc:{if(!(e&4)){if(e>>>0<8){break qc}d=8;while(1){a=c;c=d;d=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=d;d=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=d;if(a>>>0>=e>>>0){A[b+20|0]=1}h=C[b+32>>2];rc:{if(h>>>0<=a>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break rc}d=C[b+36>>2]+(a<<5)|0}o=D[b+176|0];sc:{if(!o){break sc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break sc}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break sc}C[d+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}tc:{if(d>>>0>=h>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break tc}d=C[b+36>>2]+(d<<5)|0}uc:{if(!o){break uc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break uc}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break uc}C[d+20>>2]=0}e=a|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}vc:{if(e>>>0>=h>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break vc}f=C[b+36>>2]+(e<<5)|0}wc:{if(!o){break wc}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break wc}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break wc}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|3;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}xc:{if(d>>>0>=h>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break xc}d=C[b+36>>2]+(d<<5)|0}yc:{if(!o){break yc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break yc}j=C[d+24>>2];h=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break yc}C[d+20>>2]=0}H[i>>3]=H[i>>3]+H[d>>3];Cf(b,l,i+32|0,i+16|0,i);d=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=d;d=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=d;d=a|4;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}j=C[b+32>>2];zc:{if(j>>>0<=d>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break zc}d=C[b+36>>2]+(d<<5)|0}h=D[b+176|0];Ac:{if(!h){break Ac}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Ac}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Ac}C[d+20>>2]=0}q=H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;H[i+32>>3]=q+H[i+32>>3];d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|5;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Bc:{if(d>>>0>=j>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Bc}d=C[b+36>>2]+(d<<5)|0}Cc:{if(!h){break Cc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Cc}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Cc}C[d+20>>2]=0}e=a|6;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Dc:{if(e>>>0>=j>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break Dc}f=C[b+36>>2]+(e<<5)|0}Ec:{if(!h){break Ec}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break Ec}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break Ec}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|7;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Fc:{if(d>>>0>=j>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Fc}d=C[b+36>>2]+(d<<5)|0}Gc:{if(!h){break Gc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Gc}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Gc}C[d+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[d>>3];d=C[b+24>>2];if(!(d-a>>>0>15|!(d&1))){if(c>>>0>=d>>>0){A[b+20|0]=1}Hc:{if(c>>>0>=j>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Hc}a=C[b+36>>2]+(c<<5)|0}Ic:{if(!h){break Ic}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ic}f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];e=0;if((d|0)!=1){h=d&-2;k=0;while(1){o=e|1;g=+G[j+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((h|0)!=(k|0)){continue}break}}g=d&1?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ic}C[a+20>>2]=0}H[i>>3]=H[i>>3]+H[a>>3]}Cf(b,l,i+32|0,i+16|0,i);e=C[b+24>>2];d=c+8|0;if(e>>>0>=d>>>0){continue}break}break qc}a=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=a;a=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=a;c=C[b+32>>2];Jc:{if(!c){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Jc}a=C[b+36>>2]}h=D[b+176|0];Kc:{if(!h){break Kc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Kc}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Lc:{if((d|0)==1){e=0;break Lc}d=d&-2;e=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Kc}C[a+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[a>>3];a=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=a;a=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=a;if(F[b+24>>2]<=1){A[b+20|0]=1}Mc:{if(c>>>0<=1){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Mc}a=C[b+36>>2]+32|0}Nc:{if(!h){break Nc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Nc}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Oc:{if((d|0)==1){e=0;break Oc}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Nc}C[a+20>>2]=0}if(F[b+24>>2]<=2){A[b+20|0]=1}Pc:{if(c>>>0<=2){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Pc}d=C[b+36>>2]- -64|0}Qc:{if(!h){break Qc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Qc}o=e&1;f=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];Rc:{if((e|0)==1){e=0;break Rc}m=e&-2;e=0;k=0;while(1){p=e|1;g=+G[j+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Qc}C[d+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[a>>3];H[i+24>>3]=H[i+24>>3]+H[d>>3];a=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=a;a=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=a;if(F[b+24>>2]<=3){A[b+20|0]=1}Sc:{if(c>>>0<=3){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Sc}a=C[b+36>>2]+96|0}Tc:{if(!h){break Tc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Tc}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Uc:{if((d|0)==1){e=0;break Uc}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Tc}C[a+20>>2]=0}H[i>>3]=H[i>>3]+H[a>>3];e=12;a=4;d=C[b+24>>2];if(d>>>0>=12){while(1){d=a;a=e;Cf(b,l,i+32|0,i+16|0,i);c=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=c;c=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=c;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}h=C[b+32>>2];Vc:{if(h>>>0<=d>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Vc}c=C[b+36>>2]+(d<<5)|0}o=D[b+176|0];Wc:{if(!o){break Wc}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Wc}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Wc}C[c+20>>2]=0}q=H[c>>3];c=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=c;H[i+32>>3]=q+H[i+32>>3];c=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=c;c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Xc:{if(c>>>0>=h>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Xc}c=C[b+36>>2]+(c<<5)|0}Yc:{if(!o){break Yc}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Yc}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Yc}C[c+20>>2]=0}e=d|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Zc:{if(e>>>0>=h>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break Zc}f=C[b+36>>2]+(e<<5)|0}_c:{if(!o){break _c}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break _c}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break _c}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[c>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];c=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=c;c=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=c;c=d|3;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}$c:{if(c>>>0>=h>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break $c}c=C[b+36>>2]+(c<<5)|0}ad:{if(!o){break ad}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break ad}j=C[c+24>>2];h=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break ad}C[c+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[c>>3];Cf(b,l,i+32|0,i+16|0,i);c=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=c;c=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=c;e=d+4|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}c=C[b+32>>2];bd:{if(e>>>0>=c>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break bd}f=C[b+36>>2]+(e<<5)|0}h=D[b+176|0];cd:{if(!h){break cd}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break cd}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break cd}C[f+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[f>>3];e=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=e;e=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=e;e=d+5|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}dd:{if(c>>>0<=e>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break dd}f=C[b+36>>2]+(e<<5)|0}ed:{if(!h){break ed}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break ed}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break ed}C[f+20>>2]=0}e=d+6|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}fd:{if(c>>>0<=e>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;j=422704;break fd}j=C[b+36>>2]+(e<<5)|0}gd:{if(!h){break gd}o=C[j+20>>2];if(!o|(o|0)!=C[b+168>>2]){break gd}m=C[j+24>>2];p=C[b+172>>2];g=H[j>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[j+8>>2]=0;C[j+12>>2]=0;H[j>>3]=g;if(C[j+16>>2]<0){break gd}C[j+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[f>>3];H[i+24>>3]=H[i+24>>3]+H[j>>3];e=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=e;e=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=e;d=d+7|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}hd:{if(c>>>0<=d>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break hd}d=C[b+36>>2]+(d<<5)|0}id:{if(!h){break id}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break id}j=C[d+24>>2];o=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){m=f&-2;k=0;while(1){p=e|1;g=+G[o+(p<<2)>>2]*H[j+(p<<3)>>3]+(+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=f&1?+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break id}C[d+20>>2]=0}H[i>>3]=H[i>>3]+H[d>>3];e=a+8|0;d=C[b+24>>2];if(e>>>0<=d>>>0){continue}break}}if(a>>>0>>0){jd:{if(a>>>0>=c>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break jd}a=C[b+36>>2]+(a<<5)|0}kd:{if(!h){break kd}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break kd}j=c&1;d=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];ld:{if((c|0)==1){e=0;break ld}c=c&-2;e=0;k=0;while(1){h=e|1;g=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}g=j?+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break kd}C[a+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[a>>3]}Cf(b,l,i+32|0,i+16|0,i)}Ce=i+48|0;break A}l=c;c=0;i=Ce-48|0;Ce=i;e=C[b+24>>2];md:{if(!(e&4)){if(e>>>0<8){break md}d=8;while(1){a=c;c=d;d=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=d;d=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=d;if(a>>>0>=e>>>0){A[b+20|0]=1}h=C[b+32>>2];nd:{if(h>>>0<=a>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break nd}d=C[b+36>>2]+(a<<5)|0}o=D[b+176|0];od:{if(!o){break od}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break od}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break od}C[d+20>>2]=0}q=H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;H[i+32>>3]=q+H[i+32>>3];d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}pd:{if(d>>>0>=h>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break pd}d=C[b+36>>2]+(d<<5)|0}qd:{if(!o){break qd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break qd}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break qd}C[d+20>>2]=0}e=a|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}rd:{if(e>>>0>=h>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break rd}f=C[b+36>>2]+(e<<5)|0}sd:{if(!o){break sd}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break sd}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break sd}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|3;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}td:{if(d>>>0>=h>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break td}d=C[b+36>>2]+(d<<5)|0}ud:{if(!o){break ud}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break ud}j=C[d+24>>2];h=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ud}C[d+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[d>>3];Cf(b,l,i+32|0,i+16|0,i);d=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=d;d=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=d;d=a|4;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}j=C[b+32>>2];vd:{if(j>>>0<=d>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break vd}d=C[b+36>>2]+(d<<5)|0}h=D[b+176|0];wd:{if(!h){break wd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break wd}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break wd}C[d+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|5;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}xd:{if(d>>>0>=j>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break xd}d=C[b+36>>2]+(d<<5)|0}yd:{if(!h){break yd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break yd}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break yd}C[d+20>>2]=0}e=a|6;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}zd:{if(e>>>0>=j>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break zd}f=C[b+36>>2]+(e<<5)|0}Ad:{if(!h){break Ad}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break Ad}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break Ad}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|7;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Bd:{if(d>>>0>=j>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Bd}d=C[b+36>>2]+(d<<5)|0}Cd:{if(!h){break Cd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Cd}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Cd}C[d+20>>2]=0}H[i>>3]=H[i>>3]+H[d>>3];d=C[b+24>>2];if(!(d-a>>>0>15|!(d&1))){if(c>>>0>=d>>>0){A[b+20|0]=1}Dd:{if(c>>>0>=j>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Dd}a=C[b+36>>2]+(c<<5)|0}Ed:{if(!h){break Ed}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ed}f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];e=0;if((d|0)!=1){h=d&-2;k=0;while(1){o=e|1;g=+G[j+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((h|0)!=(k|0)){continue}break}}g=d&1?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ed}C[a+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[a>>3]}Cf(b,l,i+32|0,i+16|0,i);e=C[b+24>>2];d=c+8|0;if(e>>>0>=d>>>0){continue}break}break md}a=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=a;a=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=a;h=C[b+32>>2];Fd:{if(!h){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Fd}a=C[b+36>>2]}c=D[b+176|0];Gd:{if(!c){break Gd}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Gd}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Hd:{if((d|0)==1){e=0;break Hd}d=d&-2;e=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Gd}C[a+20>>2]=0}H[i+32>>3]=H[i+32>>3]+H[a>>3];a=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=a;a=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=a;if(F[b+24>>2]<=1){A[b+20|0]=1}Id:{if(h>>>0<=1){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Id}a=C[b+36>>2]+32|0}Jd:{if(!c){break Jd}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Jd}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Kd:{if((d|0)==1){e=0;break Kd}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Jd}C[a+20>>2]=0}if(F[b+24>>2]<=2){A[b+20|0]=1}Ld:{if(h>>>0<=2){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Ld}d=C[b+36>>2]- -64|0}Md:{if(!c){break Md}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Md}o=e&1;f=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];Nd:{if((e|0)==1){e=0;break Nd}m=e&-2;e=0;k=0;while(1){p=e|1;g=+G[j+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Md}C[d+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[a>>3];H[i+24>>3]=H[i+24>>3]+H[d>>3];a=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=a;a=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=a;if(F[b+24>>2]<=3){A[b+20|0]=1}Od:{if(h>>>0<=3){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Od}a=C[b+36>>2]+96|0}Pd:{if(!c){break Pd}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Pd}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Qd:{if((d|0)==1){e=0;break Qd}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Pd}C[a+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[a>>3];e=12;a=4;d=C[b+24>>2];if(d>>>0>=12){while(1){d=a;a=e;Cf(b,l,i+32|0,i+16|0,i);c=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=c;c=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=c;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}h=C[b+32>>2];Rd:{if(h>>>0<=d>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Rd}c=C[b+36>>2]+(d<<5)|0}o=D[b+176|0];Sd:{if(!o){break Sd}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Sd}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Sd}C[c+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[c>>3];c=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=c;c=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=c;c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Td:{if(c>>>0>=h>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Td}c=C[b+36>>2]+(c<<5)|0}Ud:{if(!o){break Ud}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Ud}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Ud}C[c+20>>2]=0}e=d|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Vd:{if(e>>>0>=h>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break Vd}f=C[b+36>>2]+(e<<5)|0}Wd:{if(!o){break Wd}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break Wd}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break Wd}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[c>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];c=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=c;c=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=c;c=d|3;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Xd:{if(c>>>0>=h>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Xd}c=C[b+36>>2]+(c<<5)|0}Yd:{if(!o){break Yd}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Yd}j=C[c+24>>2];h=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Yd}C[c+20>>2]=0}H[i>>3]=H[i>>3]+H[c>>3];Cf(b,l,i+32|0,i+16|0,i);c=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=c;c=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=c;c=d+4|0;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}h=C[b+32>>2];Zd:{if(c>>>0>=h>>>0){c=C[51435];C[105682]=C[51434];C[105683]=c;c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;f=422704;break Zd}f=C[b+36>>2]+(c<<5)|0}c=D[b+176|0];_d:{if(!c){break _d}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break _d}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break _d}C[f+20>>2]=0}q=H[f>>3];e=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=e;H[i+32>>3]=q+H[i+32>>3];e=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=e;e=d+5|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}$d:{if(e>>>0>=h>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=422704;break $d}f=C[b+36>>2]+(e<<5)|0}ae:{if(!c){break ae}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break ae}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break ae}C[f+20>>2]=0}e=d+6|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}be:{if(e>>>0>=h>>>0){e=C[51435];C[105682]=C[51434];C[105683]=e;e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;j=422704;break be}j=C[b+36>>2]+(e<<5)|0}ce:{if(!c){break ce}o=C[j+20>>2];if(!o|(o|0)!=C[b+168>>2]){break ce}m=C[j+24>>2];p=C[b+172>>2];g=H[j>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[j+8>>2]=0;C[j+12>>2]=0;H[j>>3]=g;if(C[j+16>>2]<0){break ce}C[j+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[f>>3];H[i+24>>3]=H[i+24>>3]+H[j>>3];e=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=e;e=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=e;d=d+7|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}de:{if(d>>>0>=h>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break de}d=C[b+36>>2]+(d<<5)|0}ee:{if(!c){break ee}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break ee}j=C[d+24>>2];o=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){m=f&-2;k=0;while(1){p=e|1;g=+G[o+(p<<2)>>2]*H[j+(p<<3)>>3]+(+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=f&1?+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ee}C[d+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[d>>3];e=a+8|0;d=C[b+24>>2];if(e>>>0<=d>>>0){continue}break}}if(a>>>0>>0){fe:{if(a>>>0>=h>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break fe}a=C[b+36>>2]+(a<<5)|0}ge:{if(!c){break ge}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break ge}j=c&1;d=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];he:{if((c|0)==1){e=0;break he}c=c&-2;e=0;k=0;while(1){h=e|1;g=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}g=j?+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break ge}C[a+20>>2]=0}H[i>>3]=H[i>>3]+H[a>>3]}Cf(b,l,i+32|0,i+16|0,i)}Ce=i+48|0;break A}f=Ce-96|0;Ce=f;ie:{je:{ke:{if(C[b+24>>2]==7){a=C[b+140>>2];C[f+88>>2]=C[b+136>>2];C[f+92>>2]=a;a=C[b+132>>2];C[f+80>>2]=C[b+128>>2];C[f+84>>2]=a;j=C[b+32>>2];le:{if(!j){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break le}a=C[b+36>>2]}l=D[b+176|0];if(!l){break je}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break je}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];if((d|0)==1){break ke}d=d&-2;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}break ke}A[b+40|0]=1;break ie}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break je}C[a+20>>2]=0}H[f+80>>3]=H[f+80>>3]+H[a>>3];a=C[f+92>>2];C[f+72>>2]=C[f+88>>2];C[f+76>>2]=a;a=C[f+84>>2];C[f+64>>2]=C[f+80>>2];C[f+68>>2]=a;if(F[b+24>>2]<=1){A[b+20|0]=1}me:{if(j>>>0<=1){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break me}a=C[b+36>>2]+32|0}ne:{if(!l){break ne}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break ne}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];oe:{if((d|0)==1){h=0;break oe}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break ne}C[a+20>>2]=0}if(F[b+24>>2]<=2){A[b+20|0]=1}pe:{if(j>>>0<=2){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break pe}d=C[b+36>>2]- -64|0}qe:{if(!l){break qe}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break qe}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];re:{if((e|0)==1){h=0;break re}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break qe}C[d+20>>2]=0}H[f+64>>3]=H[f+64>>3]+H[a>>3];H[f+72>>3]=H[f+72>>3]+H[d>>3];a=C[f+76>>2];C[f+56>>2]=C[f+72>>2];C[f+60>>2]=a;a=C[f+68>>2];C[f+48>>2]=C[f+64>>2];C[f+52>>2]=a;if(F[b+24>>2]<=3){A[b+20|0]=1}se:{if(j>>>0<=3){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break se}a=C[b+36>>2]+96|0}te:{if(!l){break te}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break te}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];ue:{if((d|0)==1){h=0;break ue}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break te}C[a+20>>2]=0}H[f+48>>3]=H[f+48>>3]+H[a>>3];a=C[f+60>>2];C[f+40>>2]=C[f+56>>2];C[f+44>>2]=a;a=C[f+52>>2];C[f+32>>2]=C[f+48>>2];C[f+36>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}ve:{if(j>>>0<=4){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break ve}a=C[b+36>>2]+128|0}we:{if(!l){break we}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break we}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];xe:{if((d|0)==1){h=0;break xe}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break we}C[a+20>>2]=0}H[f+32>>3]=H[f+32>>3]+H[a>>3];a=C[f+44>>2];C[f+24>>2]=C[f+40>>2];C[f+28>>2]=a;a=C[f+36>>2];C[f+16>>2]=C[f+32>>2];C[f+20>>2]=a;if(F[b+24>>2]<=5){A[b+20|0]=1}ye:{if(j>>>0<=5){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break ye}a=C[b+36>>2]+160|0}ze:{if(!l){break ze}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break ze}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Ae:{if((d|0)==1){h=0;break Ae}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break ze}C[a+20>>2]=0}q=H[a>>3];d=C[f+92>>2];a=C[f+88>>2];C[f+24>>2]=a;C[f+28>>2]=d;H[f+16>>3]=q+H[f+16>>3];C[f+8>>2]=a;C[f+12>>2]=d;a=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}Be:{if(j>>>0<=6){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Be}a=C[b+36>>2]+192|0}Ce:{if(!l){break Ce}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ce}k=d&1;j=C[a+24>>2];l=C[b+172>>2];g=H[a>>3];De:{if((d|0)==1){h=0;break De}d=d&-2;h=0;e=0;while(1){i=h|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=k?+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ce}C[a+20>>2]=0}H[f>>3]=H[f>>3]+H[a>>3];Cf(b,c,f+80|0,f- -64|0,f+48|0);Cf(b,c,f+32|0,f+16|0,f)}Ce=f+96|0;break A}f=Ce-96|0;Ce=f;Ee:{Fe:{Ge:{if(C[b+24>>2]==13){a=C[b+140>>2];C[f+88>>2]=C[b+136>>2];C[f+92>>2]=a;a=C[b+132>>2];C[f+80>>2]=C[b+128>>2];C[f+84>>2]=a;j=C[b+32>>2];He:{if(!j){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break He}a=C[b+36>>2]}l=D[b+176|0];if(!l){break Fe}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Fe}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];if((d|0)==1){break Ge}d=d&-2;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}break Ge}A[b+40|0]=1;break Ee}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Fe}C[a+20>>2]=0}if(F[b+24>>2]<=1){A[b+20|0]=1}Ie:{if(j>>>0<=1){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Ie}d=C[b+36>>2]+32|0}Je:{if(!l){break Je}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Je}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Ke:{if((e|0)==1){h=0;break Ke}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Je}C[d+20>>2]=0}H[f+80>>3]=H[f+80>>3]+H[a>>3];H[f+88>>3]=H[f+88>>3]+H[d>>3];a=C[f+92>>2];C[f+72>>2]=C[f+88>>2];C[f+76>>2]=a;a=C[f+84>>2];C[f+64>>2]=C[f+80>>2];C[f+68>>2]=a;if(F[b+24>>2]<=2){A[b+20|0]=1}Le:{if(j>>>0<=2){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Le}a=C[b+36>>2]- -64|0}Me:{if(!l){break Me}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Me}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Ne:{if((d|0)==1){h=0;break Ne}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Me}C[a+20>>2]=0}if(F[b+24>>2]<=3){A[b+20|0]=1}Oe:{if(j>>>0<=3){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Oe}d=C[b+36>>2]+96|0}Pe:{if(!l){break Pe}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Pe}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Qe:{if((e|0)==1){h=0;break Qe}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Pe}C[d+20>>2]=0}H[f+64>>3]=H[f+64>>3]+H[a>>3];H[f+72>>3]=H[f+72>>3]+H[d>>3];a=C[f+76>>2];C[f+56>>2]=C[f+72>>2];C[f+60>>2]=a;a=C[f+68>>2];C[f+48>>2]=C[f+64>>2];C[f+52>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}Re:{if(j>>>0<=4){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Re}a=C[b+36>>2]+128|0}Se:{if(!l){break Se}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Se}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Te:{if((d|0)==1){h=0;break Te}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Se}C[a+20>>2]=0}if(F[b+24>>2]<=5){A[b+20|0]=1}Ue:{if(j>>>0<=5){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Ue}d=C[b+36>>2]+160|0}Ve:{if(!l){break Ve}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Ve}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];We:{if((e|0)==1){h=0;break We}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Ve}C[d+20>>2]=0}H[f+48>>3]=H[f+48>>3]+H[a>>3];H[f+56>>3]=H[f+56>>3]+H[d>>3];a=C[f+60>>2];C[f+40>>2]=C[f+56>>2];C[f+44>>2]=a;a=C[f+52>>2];C[f+32>>2]=C[f+48>>2];C[f+36>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}Xe:{if(j>>>0<=6){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Xe}a=C[b+36>>2]+192|0}Ye:{if(!l){break Ye}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ye}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Ze:{if((d|0)==1){h=0;break Ze}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ye}C[a+20>>2]=0}if(F[b+24>>2]<=7){A[b+20|0]=1}_e:{if(j>>>0<=7){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break _e}d=C[b+36>>2]+224|0}$e:{if(!l){break $e}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break $e}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];af:{if((e|0)==1){h=0;break af}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break $e}C[d+20>>2]=0}H[f+32>>3]=H[f+32>>3]+H[a>>3];H[f+40>>3]=H[f+40>>3]+H[d>>3];a=C[f+44>>2];C[f+24>>2]=C[f+40>>2];C[f+28>>2]=a;a=C[f+36>>2];C[f+16>>2]=C[f+32>>2];C[f+20>>2]=a;if(F[b+24>>2]<=8){A[b+20|0]=1}bf:{if(j>>>0<=8){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break bf}a=C[b+36>>2]+256|0}cf:{if(!l){break cf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break cf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];df:{if((d|0)==1){h=0;break df}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break cf}C[a+20>>2]=0}if(F[b+24>>2]<=9){A[b+20|0]=1}ef:{if(j>>>0<=9){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break ef}d=C[b+36>>2]+288|0}ff:{if(!l){break ff}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break ff}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];gf:{if((e|0)==1){h=0;break gf}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ff}C[d+20>>2]=0}H[f+16>>3]=H[f+16>>3]+H[a>>3];H[f+24>>3]=H[f+24>>3]+H[d>>3];a=C[f+28>>2];C[f+8>>2]=C[f+24>>2];C[f+12>>2]=a;a=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=a;if(F[b+24>>2]<=10){A[b+20|0]=1}hf:{if(j>>>0<=10){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break hf}a=C[b+36>>2]+320|0}jf:{if(!l){break jf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break jf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];kf:{if((d|0)==1){h=0;break kf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break jf}C[a+20>>2]=0}if(F[b+24>>2]<=11){A[b+20|0]=1}lf:{if(j>>>0<=11){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break lf}d=C[b+36>>2]+352|0}mf:{if(!l){break mf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break mf}k=e&1;j=C[d+24>>2];l=C[b+172>>2];g=H[d>>3];nf:{if((e|0)==1){h=0;break nf}i=e&-2;h=0;e=0;while(1){o=h|1;g=+G[l+(o<<2)>>2]*H[j+(o<<3)>>3]+(+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}}g=k?+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break mf}C[d+20>>2]=0}H[f>>3]=H[f>>3]+H[a>>3];H[f+8>>3]=H[f+8>>3]+H[d>>3];Cf(b,c,f+80|0,f- -64|0,f+48|0);Cf(b,c,f+32|0,f+16|0,f)}Ce=f+96|0;break A}f=Ce-96|0;Ce=f;of:{pf:{qf:{if(C[b+24>>2]==9){a=C[b+140>>2];C[f+88>>2]=C[b+136>>2];C[f+92>>2]=a;a=C[b+132>>2];C[f+80>>2]=C[b+128>>2];C[f+84>>2]=a;j=C[b+32>>2];rf:{if(!j){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break rf}a=C[b+36>>2]}l=D[b+176|0];if(!l){break pf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break pf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];if((d|0)==1){break qf}d=d&-2;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}break qf}A[b+40|0]=1;break of}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break pf}C[a+20>>2]=0}if(F[b+24>>2]<=1){A[b+20|0]=1}sf:{if(j>>>0<=1){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break sf}d=C[b+36>>2]+32|0}tf:{if(!l){break tf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break tf}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];uf:{if((e|0)==1){h=0;break uf}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break tf}C[d+20>>2]=0}H[f+80>>3]=H[f+80>>3]+H[a>>3];H[f+88>>3]=H[f+88>>3]+H[d>>3];a=C[f+92>>2];C[f+72>>2]=C[f+88>>2];C[f+76>>2]=a;a=C[f+84>>2];C[f+64>>2]=C[f+80>>2];C[f+68>>2]=a;if(F[b+24>>2]<=2){A[b+20|0]=1}vf:{if(j>>>0<=2){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break vf}a=C[b+36>>2]- -64|0}wf:{if(!l){break wf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break wf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];xf:{if((d|0)==1){h=0;break xf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break wf}C[a+20>>2]=0}if(F[b+24>>2]<=3){A[b+20|0]=1}yf:{if(j>>>0<=3){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break yf}d=C[b+36>>2]+96|0}zf:{if(!l){break zf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break zf}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Af:{if((e|0)==1){h=0;break Af}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break zf}C[d+20>>2]=0}H[f+64>>3]=H[f+64>>3]+H[a>>3];H[f+72>>3]=H[f+72>>3]+H[d>>3];a=C[f+76>>2];C[f+56>>2]=C[f+72>>2];C[f+60>>2]=a;a=C[f+68>>2];C[f+48>>2]=C[f+64>>2];C[f+52>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}Bf:{if(j>>>0<=4){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Bf}a=C[b+36>>2]+128|0}Cf:{if(!l){break Cf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Cf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Df:{if((d|0)==1){h=0;break Df}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Cf}C[a+20>>2]=0}H[f+48>>3]=H[f+48>>3]+H[a>>3];a=C[f+60>>2];C[f+40>>2]=C[f+56>>2];C[f+44>>2]=a;a=C[f+52>>2];C[f+32>>2]=C[f+48>>2];C[f+36>>2]=a;if(F[b+24>>2]<=5){A[b+20|0]=1}Ef:{if(j>>>0<=5){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ef}a=C[b+36>>2]+160|0}Ff:{if(!l){break Ff}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ff}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Gf:{if((d|0)==1){h=0;break Gf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ff}C[a+20>>2]=0}H[f+32>>3]=H[f+32>>3]+H[a>>3];a=C[f+44>>2];C[f+24>>2]=C[f+40>>2];C[f+28>>2]=a;a=C[f+36>>2];C[f+16>>2]=C[f+32>>2];C[f+20>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}Hf:{if(j>>>0<=6){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Hf}a=C[b+36>>2]+192|0}If:{if(!l){break If}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break If}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Jf:{if((d|0)==1){h=0;break Jf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break If}C[a+20>>2]=0}if(F[b+24>>2]<=7){A[b+20|0]=1}Kf:{if(j>>>0<=7){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break Kf}d=C[b+36>>2]+224|0}Lf:{if(!l){break Lf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Lf}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Mf:{if((e|0)==1){h=0;break Mf}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Lf}C[d+20>>2]=0}H[f+16>>3]=H[f+16>>3]+H[a>>3];H[f+24>>3]=H[f+24>>3]+H[d>>3];a=C[f+28>>2];C[f+8>>2]=C[f+24>>2];C[f+12>>2]=a;a=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=a;if(F[b+24>>2]<=8){A[b+20|0]=1}Nf:{if(j>>>0<=8){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Nf}a=C[b+36>>2]+256|0}Of:{if(!l){break Of}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Of}k=d&1;j=C[a+24>>2];l=C[b+172>>2];g=H[a>>3];Pf:{if((d|0)==1){h=0;break Pf}d=d&-2;h=0;e=0;while(1){i=h|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=k?+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Of}C[a+20>>2]=0}H[f>>3]=H[f>>3]+H[a>>3];a=C[b+140>>2];C[f+8>>2]=C[b+136>>2];C[f+12>>2]=a;Cf(b,c,f+80|0,f- -64|0,f+48|0);Cf(b,c,f+32|0,f+16|0,f)}Ce=f+96|0;break A}h=Ce-96|0;Ce=h;Qf:{Rf:{if(C[b+24>>2]==11){k=C[b+168>>2];s=k&-2;t=k&1;i=k-1|0;e=C[b+36>>2];o=C[b+32>>2];m=D[b+176|0];while(1){j=d;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Sf:{if(j>>>0>=o>>>0){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Sf}a=e+(j<<5)|0}Tf:{if(!m){break Tf}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break Tf}f=C[a+24>>2];p=C[b+172>>2];n=H[a>>3];d=0;l=0;if(i){while(1){r=d|1;n=+G[p+(r<<2)>>2]*H[f+(r<<3)>>3]+(+G[p+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=t?+G[p+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Tf}C[a+20>>2]=0}d=j|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Uf:{if(d>>>0>=o>>>0){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break Uf}f=e+(d<<5)|0}Vf:{if(!m){break Vf}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break Vf}p=C[f+24>>2];r=C[b+172>>2];n=H[f>>3];d=0;l=0;if(i){while(1){w=d|1;n=+G[r+(w<<2)>>2]*H[p+(w<<3)>>3]+(+G[r+(d<<2)>>2]*H[p+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=t?+G[r+(d<<2)>>2]*H[p+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Vf}C[f+20>>2]=0}d=j+2|0;q=q+H[f>>3];g=g+H[a>>3];if(j>>>0<8){continue}break}break Rf}A[b+40|0]=1;break Qf}a=C[b+140>>2];C[h+88>>2]=C[b+136>>2];C[h+92>>2]=a;a=C[b+132>>2];C[h+80>>2]=C[b+128>>2];C[h+84>>2]=a;if(!C[b+24>>2]){A[b+20|0]=1}a=e;if(!o){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}Wf:{if(!m){break Wf}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break Wf}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];Xf:{if(!i){d=0;break Xf}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Wf}C[a+20>>2]=0}if(F[b+24>>2]<=1){A[b+20|0]=1}Yf:{if(o>>>0<=1){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break Yf}f=e+32|0}Zf:{if(!m){break Zf}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break Zf}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];_f:{if(!i){d=0;break _f}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Zf}C[f+20>>2]=0}H[h+80>>3]=H[h+80>>3]+H[a>>3];H[h+88>>3]=H[h+88>>3]+H[f>>3];a=C[h+92>>2];C[h+72>>2]=C[h+88>>2];C[h+76>>2]=a;a=C[h+84>>2];C[h+64>>2]=C[h+80>>2];C[h+68>>2]=a;if(F[b+24>>2]<=2){A[b+20|0]=1}$f:{if(o>>>0<=2){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break $f}a=e- -64|0}ag:{if(!m){break ag}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break ag}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];bg:{if(!i){d=0;break bg}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break ag}C[a+20>>2]=0}if(F[b+24>>2]<=3){A[b+20|0]=1}cg:{if(o>>>0<=3){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break cg}f=e+96|0}dg:{if(!m){break dg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break dg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];eg:{if(!i){d=0;break eg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break dg}C[f+20>>2]=0}H[h+64>>3]=H[h+64>>3]+H[a>>3];H[h+72>>3]=H[h+72>>3]+H[f>>3];a=C[h+76>>2];C[h+56>>2]=C[h+72>>2];C[h+60>>2]=a;a=C[h+68>>2];C[h+48>>2]=C[h+64>>2];C[h+52>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}fg:{if(o>>>0<=4){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break fg}a=e+128|0}gg:{if(!m){break gg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break gg}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];hg:{if(!i){d=0;break hg}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break gg}C[a+20>>2]=0}if(F[b+24>>2]<=5){A[b+20|0]=1}ig:{if(o>>>0<=5){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break ig}f=e+160|0}jg:{if(!m){break jg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break jg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];kg:{if(!i){d=0;break kg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break jg}C[f+20>>2]=0}H[h+48>>3]=H[h+48>>3]+H[a>>3];H[h+56>>3]=H[h+56>>3]+H[f>>3];a=C[h+60>>2];C[h+40>>2]=C[h+56>>2];C[h+44>>2]=a;a=C[h+52>>2];C[h+32>>2]=C[h+48>>2];C[h+36>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}lg:{if(o>>>0<=6){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break lg}a=e+192|0}mg:{if(!m){break mg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break mg}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];ng:{if(!i){d=0;break ng}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break mg}C[a+20>>2]=0}if(F[b+24>>2]<=7){A[b+20|0]=1}og:{if(o>>>0<=7){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break og}f=e+224|0}pg:{if(!m){break pg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break pg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];qg:{if(!i){d=0;break qg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break pg}C[f+20>>2]=0}H[h+32>>3]=H[h+32>>3]+H[a>>3];H[h+40>>3]=H[h+40>>3]+H[f>>3];a=C[h+44>>2];C[h+24>>2]=C[h+40>>2];C[h+28>>2]=a;a=C[h+36>>2];C[h+16>>2]=C[h+32>>2];C[h+20>>2]=a;if(F[b+24>>2]<=8){A[b+20|0]=1}rg:{if(o>>>0<=8){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break rg}a=e+256|0}sg:{if(!m){break sg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break sg}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];tg:{if(!i){d=0;break tg}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break sg}C[a+20>>2]=0}if(F[b+24>>2]<=9){A[b+20|0]=1}ug:{if(o>>>0<=9){d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;f=422704;break ug}f=e+288|0}vg:{if(!m){break vg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break vg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];wg:{if(!i){d=0;break wg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break vg}C[f+20>>2]=0}H[h+16>>3]=H[h+16>>3]+H[a>>3];H[h+24>>3]=H[h+24>>3]+H[f>>3];a=C[h+28>>2];C[h+8>>2]=C[h+24>>2];C[h+12>>2]=a;a=C[h+20>>2];C[h>>2]=C[h+16>>2];C[h+4>>2]=a;xg:{yg:{zg:{if(K(g)>K(q)){if(F[b+24>>2]<=10){A[b+20|0]=1}Ag:{if(o>>>0<=10){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ag}a=e+320|0}if(!m){break yg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break yg}j=k&1;e=C[a+24>>2];f=C[b+172>>2];n=H[a>>3];if(!i){d=0;break zg}k=k&-2;d=0;l=0;while(1){i=d|1;n=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}break zg}a=C[b+132>>2];C[h>>2]=C[b+128>>2];C[h+4>>2]=a;if(F[b+24>>2]<=10){A[b+20|0]=1}Bg:{if(o>>>0<=10){a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Bg}a=e+320|0}Cg:{if(!m){break Cg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break Cg}j=k&1;e=C[a+24>>2];f=C[b+172>>2];n=H[a>>3];Dg:{if(!i){d=0;break Dg}k=k&-2;d=0;l=0;while(1){i=d|1;n=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}}n=j?+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Cg}C[a+20>>2]=0}H[h+8>>3]=H[h+8>>3]+H[a>>3];break xg}n=j?+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break yg}C[a+20>>2]=0}H[h>>3]=H[h>>3]+H[a>>3];a=C[b+140>>2];C[h+8>>2]=C[b+136>>2];C[h+12>>2]=a}Cf(b,c,h+80|0,h- -64|0,h+48|0);Cf(b,c,h+32|0,h+16|0,h)}Ce=h+96|0;break A}Eg:{Fg:{Gg:{Hg:{Ig:{Jg:{switch(a-247|0){default:if((a|0)!=28){break Ig}a=C[b+12>>2];d=C[b+4>>2];Kg:{if(a>>>0>=d>>>0){A[b+16|0]=1;c=205712;break Kg}c=a+C[b>>2]|0}c=D[c|0];a=a+1|0;Lg:{if(a>>>0>=d>>>0){A[b+16|0]=1;a=205712;break Lg}a=a+C[b>>2]|0}d=D[a|0];a=C[b+24>>2];Mg:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break Mg}A[b+20|0]=1;a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=(d|c<<8)<<16>>16;if(D[b+16|0]){c=C[b+4>>2];break Hg}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break Hg}a=a+2|0;if(c>>>0>>0){break Hg}break Gg;case 0:case 1:case 2:case 3:c=a<<8;a=C[b+12>>2];Ng:{if(a>>>0>=F[b+4>>2]){A[b+16|0]=1;a=205712;break Ng}a=a+C[b>>2]|0}c=(c+D[a|0]|0)+2412|0;a=C[b+24>>2];Og:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break Og}A[b+20|0]=1;a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=c&65535;if(D[b+16|0]){c=C[b+4>>2];break Fg}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break Fg}a=a+1|0;if(c>>>0>>0){break Fg}break Gg;case 4:case 5:case 6:case 7:break Jg}}c=(a<<16)-16449536>>>8|0;a=C[b+12>>2];Pg:{if(a>>>0>=F[b+4>>2]){A[b+16|0]=1;a=205712;break Pg}a=a+C[b>>2]|0}c=c|D[a|0];a=C[b+24>>2];Qg:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break Qg}A[b+20|0]=1;a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=-108-c|0;if(D[b+16|0]){c=C[b+4>>2];break Fg}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break Fg}a=a+1|0;if(c>>>0>>0){break Fg}break Gg}if(a-32>>>0<=214){c=C[b+24>>2];Rg:{if(c>>>0>2]){C[b+24>>2]=c+1;b=C[b+36>>2]+(c<<5)|0;break Rg}A[b+20|0]=1;b=C[51435];C[105682]=C[51434];C[105683]=b;b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704}C[b+8>>2]=0;C[b+12>>2]=0;if(C[b+16>>2]>=0){C[b+20>>2]=0}H[b>>3]=a-139|0;break Eg}A[b+40|0]=1;C[b+24>>2]=0;break Eg}A[b+16|0]=1;C[b+12>>2]=c;break Eg}C[b+12>>2]=a;break Eg}A[b+16|0]=1;C[b+12>>2]=c}break z}g=l?+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break F}C[d+20>>2]=0}g=H[d>>3];A[c|0]=0;H[b+136>>3]=q+g;H[b+128>>3]=n;break B}g=l?+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break D}C[d+20>>2]=0}g=H[d>>3];A[c|0]=0;H[b+136>>3]=q;H[b+128>>3]=n+g;break B}A[b+16|0]=1;C[b+12>>2]=a;break z}if(!D[b+73|0]){if(!D[b+74|0]){A[b+74|0]=1;a=C[b+80>>2]+(C[b+24>>2]>>>1|0)|0;C[b+80>>2]=a;C[b+84>>2]=(a+C[b+76>>2]|0)+7>>>3}A[b+73|0]=1}}C[b+24>>2]=0}}function hx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,H=0,L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=J(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;L=Ce-32|0;Ce=L;C[c+36>>2]=0;a:{b:{c:{m=C[c+80>>2];if(m>>>0<=67108862){f=m<<6;C[c+40>>2]=f>>>0<=16384?16384:f;if(m>>>0<4194303){break c}}ba=C[c+52>>2];break b}f=m<<10;C[c+44>>2]=f>>>0<=16384?16384:f;ba=C[c+52>>2];if(!m){break a}}g=C[a+96>>2];j=C[c+92>>2];f=0;if(m-1>>>0>=7){q=m&-8;while(1){C[(j+I(f,20)|0)+4>>2]=g;C[(j+I(f|1,20)|0)+4>>2]=g;C[(j+I(f|2,20)|0)+4>>2]=g;C[(j+I(f|3,20)|0)+4>>2]=g;C[(j+I(f|4,20)|0)+4>>2]=g;C[(j+I(f|5,20)|0)+4>>2]=g;C[(j+I(f|6,20)|0)+4>>2]=g;C[(j+I(f|7,20)|0)+4>>2]=g;f=f+8|0;k=k+8|0;if((q|0)!=(k|0)){continue}break}}k=m&7;if(k){while(1){C[(j+I(f,20)|0)+4>>2]=g;f=f+1|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}g=0;while(1){f=j+I(g,20)|0;wj(f,c);k=f+16|0;i=E[k>>1];d:{e:{if((i&31)==24&C[f>>2]-127995>>>0<=4){break e}if(!(!g|C[f>>2]-127462>>>0>25)){f=f-20|0;if(C[f>>2]-127462>>>0>25){break d}if(!(D[f+16|0]&128)){break e}break d}if((i&287)==257){B[f+16>>1]=i|128;f=g+1|0;if(f>>>0>=m>>>0){break d}q=j+I(f,20)|0;i=C[q>>2];if(i>>>0<=131069){i=D[((i&56|D[(D[(i>>>11|0)+271280|0]>>>(i>>>8&4)<<4&240|i>>>6&15)+271344|0]<<6)>>>3|0)+271504|0]>>>(i&7)&1}else{i=0}if(!i){break d}wj(q,c);k=q+16|0;i=E[q+16>>1];g=f;break e}if(C[f>>2]-917536>>>0>95){break d}}B[k>>1]=i|128}g=g+1|0;if(m>>>0>g>>>0){continue}break}}f:{if(!(1<>2]+16>>1]&7168)|(C[c+148>>2]|(C[c+16>>2]&17)!=1)){break f}C[L+8>>2]=0;f=C[b+72>>2];if(!(Fe[C[f+156>>2]](b,C[b+76>>2],9676,L+8|0,C[f+20>>2])|0)){break f}C[L+20>>2]=0;C[L+24>>2]=0;C[L+12>>2]=0;C[L+16>>2]=0;C[L+8>>2]=9676;wj(L+8|0,c);C[c+84>>2]=0;C[c+76>>2]=0;A[c+73|0]=1;A[c+74|0]=0;C[c+96>>2]=C[c+92>>2];C[c+76>>2]=0;f=C[c+92>>2];i=C[f+4>>2];j=C[f+8>>2];f=C[L+20>>2];k=C[L+24>>2];m=C[L+8>>2];if($e(c,0,1)){g=C[c+96>>2]+I(C[c+84>>2],20)|0;C[g+12>>2]=f;C[g+16>>2]=k;C[g+8>>2]=j;C[g+4>>2]=i;C[g>>2]=m;C[c+84>>2]=C[c+84>>2]+1}gh(c)}g:{if(!(A[c+36|0]&1)){break g}j=C[c+80>>2];if(!C[c+20>>2]){if(!j){break g}f=j-1|0;g=0;while(1){h:{if((f|0)==(g|0)){g=j;break h}g=g+1|0;if(D[(C[c+92>>2]+I(g,20)|0)+16|0]&128){continue}}break}i=0;k=j;while(1){if(g-i>>>0>=2){eg(c,i,g);k=C[c+80>>2]}f=g+1|0;i=f>>>0>>0?k:f;f=g;while(1){i:{f=f+1|0;if(k>>>0<=f>>>0){f=i;break i}if(D[(C[c+92>>2]+I(f,20)|0)+16|0]&128){continue}}break}m=g>>>0>>0;i=g;g=f;if(m){continue}break}break g}if(!j){break g}g=j-1|0;f=0;while(1){j:{if((f|0)==(g|0)){f=j;break j}f=f+1|0;if(D[(C[c+92>>2]+I(f,20)|0)+16|0]&128){continue}}break}i=0;k=j;while(1){g=f;if(f-i>>>0>=2){Rf(c,i,g);k=C[c+80>>2]}f=g+1|0;i=f>>>0>>0?k:f;f=g;while(1){k:{f=f+1|0;if(k>>>0<=f>>>0){f=i;break k}if(D[(C[c+92>>2]+I(f,20)|0)+16|0]&128){continue}}break}i=g;if(g>>>0>>0){continue}break}}i=C[c+52>>2];l:{m:{n:{k=_q(C[c+56>>2]);o:{if(!((k|0)!=5|(i|0)!=4)){m=C[c+80>>2];if(!m){k=5;break o}q=C[c+92>>2];k=0;j=1;f=0;while(1){p:{g=1;h=E[(q+I(k,20)|0)+16>>1]&31;if((h|0)!=13){g=f;if(1<>>0>k>>>0;f=g;if((k|0)!=(m|0)){continue}}break}k=g&1?j&1?5:4:5}f=i&-2;if((f|0)!=4){break n}}if((i|0)==(k|0)){break l}if(k){break m}break l}if((i|0)==6|(f|0)!=6){break l}}sk(c,794,C[c+20>>2]==1);C[c+52>>2]=C[c+52>>2]^1}P=a+60|0;q:{if(!C[C[a+80>>2]+16>>2]){break q}if(!Hf(c,b,3163,0)){break q}Fe[C[C[a+80>>2]+16>>2]](P,c,b);Hf(c,b,3185,0)}m=C[c+92>>2];j=C[c+80>>2];if(!(!j|(ba&-3)!=5)){q=C[a+188>>2];i=C[c+12>>2];g=0;while(1){f=m+I(g,20)|0;k=Fe[C[i+28>>2]](i,C[f>>2],C[i+60>>2])|0;r:{s:{if((k|0)==C[f>>2]){break s}C[L+8>>2]=0;h=C[b+72>>2];if(!(Fe[C[h+156>>2]](b,C[b+76>>2],k,L+8|0,C[h+20>>2])|0)){break s}C[f>>2]=k;break r}C[f+4>>2]=q|C[f+4>>2]}g=g+1|0;if((j|0)!=(g|0)){continue}break}}if(!(!j|(D[a+200|0]&8|(ba&-2)!=6))){f=0;while(1){t:{u:{v:{w:{x:{y:{z:{k=m+I(f,20)|0;i=C[k>>2];g=i>>>8|0;switch(g-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:case 13:case 14:case 15:break t;case 16:break v;case 0:break y;default:break z}}switch(g-254|0){case 1:break w;case 0:break x;default:break t}}g=65074;A:{switch(i-8211|0){case 1:g=65073;break u;case 18:g=65072;break u;case 0:break u;case 19:break A;default:break t}}g=65049;break u}g=65076;if((i|0)==65103){break u}break t}g=65045;B:{switch(i-65281|0){case 7:g=65077;break u;case 8:g=65078;break u;case 11:g=65040;break u;case 25:g=65043;break u;case 26:g=65044;break u;case 30:g=65046;break u;case 58:g=65095;break u;case 60:g=65096;break u;case 62:g=65075;break u;case 90:g=65079;break u;case 0:break u;case 92:break B;default:break t}}g=65080;break u}g=i-12289|0;if(g>>>0>=23|!(7995267>>>g&1)){break t}g=C[(g<<2)+194352>>2]}if((g|0)==(i|0)){break t}C[L+8>>2]=0;i=C[b+72>>2];if(!(Fe[C[i+156>>2]](b,C[b+76>>2],g,L+8|0,C[i+20>>2])|0)){break t}C[k>>2]=g}f=f+1|0;if((j|0)!=(f|0)){continue}break}}q=b;n=Ce-48|0;Ce=n;m=c;C:{if(!C[c+80>>2]){break C}b=C[P+20>>2];c=C[b+24>>2];C[n+28>>2]=q;C[n+24>>2]=m;C[n+20>>2]=P;C[n+32>>2]=C[m+12>>2];C[n+36>>2]=C[m+32>>2];f=C[b+28>>2];C[n+40>>2]=f?f:791;b=C[b+32>>2];C[n+44>>2]=b?b:792;C[m+84>>2]=0;C[m+76>>2]=0;A[m+73|0]=1;A[m+74|0]=0;C[m+96>>2]=C[m+92>>2];C[m+76>>2]=0;l=(c|0)==4?2:c;r=l&-3;s=C[m+80>>2];f=0;j=1;D:{E:{F:{while(1){b=f+1|0;g=b>>>0>>0?s:b;b=f;while(1){G:{c=b;b=b+1|0;if(s>>>0<=b>>>0){c=g;break G}if(!(1<>2]+I(b,20)|0)+16>>1]&7168)){continue}}break}if((r|0)!=1){b=C[m+92>>2]+I(f,20)|0;g=b;i=b+12|0;b=C[q+72>>2];b=Fe[C[b+160>>2]](q,C[q+76>>2],c-f|0,g,20,i,20,C[b+24>>2])|0;if(D[m+73|0]){H:{if(C[m+96>>2]==C[m+92>>2]){f=C[m+84>>2];if((f|0)==C[m+76>>2]){break H}}if(!$e(m,b,b)){break F}Yf(C[m+96>>2]+I(C[m+84>>2],20)|0,C[m+92>>2]+I(C[m+76>>2],20)|0,I(b,20));f=C[m+84>>2]}C[m+84>>2]=b+f}f=b+C[m+76>>2]|0;C[m+76>>2]=f}I:{if(!D[m+72|0]|c>>>0<=f>>>0){break I}while(1){ix(n+20|0,(r|0)!=1);f=C[m+76>>2];if(f>>>0>=c>>>0){break I}if(D[m+72|0]){continue}break}}if(!D[m+72|0]|(f|0)==(s|0)){break F}b=f+1|0;b=b>>>0>>0?s:b;g=b-1|0;while(1){J:{c=f;f=c+1|0;if(s>>>0<=f>>>0){c=g;f=b;break J}if(1<>2]+I(f,20)|0)+16>>1]&7168){continue}}break}h=C[n+24>>2];g=C[h+76>>2];K:{if(g>>>0>=f>>>0){break K}i=h+76|0;L:{if(!D[h+72|0]){break L}j=C[h+92>>2];b=g;while(1){k=C[j+I(b,20)>>2];if(!((k&-16)==65024|k-918e3>>>0>=4294967056)){k=(b|0)==(c|0);b=b+1|0;if(!k){continue}break L}break}o=C[n+28>>2];M:{if(c>>>0<=g>>>0){break M}k=h+84|0;while(1){if(!D[h+72|0]){break M}g=C[h+92>>2]+I(g,20)|0;C[g+12>>2]=0;j=g+12|0;u=C[g>>2];v=C[o+76>>2];b=C[o+72>>2];g=C[g+20>>2];N:{if(!((g&-16)!=65024&g-918e3>>>0<4294967056)){g=Fe[C[b+164>>2]](o,v,u,g,j,C[b+28>>2])|0;b=C[h+92>>2]+I(C[h+76>>2],20)|0;u=C[b>>2];O:{P:{if(g){if(!$e(h,2,1)){break O}b=C[h+76>>2];eg(h,b,b+2|0);b=C[h+76>>2];Q:{if(b>>>0>2]){g=C[h+84>>2];j=C[h+96>>2];b=C[h+92>>2]+I(b,20)|0;break Q}j=C[h+96>>2];g=C[h+84>>2];b=g-1|0;b=j+I(b>>>0<=g>>>0?b:0,20)|0}g=I(g,20)+j|0;j=C[b+4>>2];C[g>>2]=C[b>>2];C[g+4>>2]=j;C[g+16>>2]=C[b+16>>2];j=C[b+12>>2];C[g+8>>2]=C[b+8>>2];C[g+12>>2]=j;C[g>>2]=u;C[i>>2]=C[i>>2]+2;b=k;break P}C[b+12>>2]=0;g=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],u,g,C[b+20>>2])|0;R:{if(D[h+73|0]){S:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break S}}if(!$e(h,1,1)){b=C[i>>2];break R}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1}b=C[i>>2]+1|0;C[i>>2]=b}b=C[h+92>>2]+I(b,20)|0;C[b+12>>2]=0;g=C[b>>2];j=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],g,j,C[b+20>>2])|0;b=i;if(!D[h+73|0]){break P}T:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break T}}if(!$e(h,1,1)){break O}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1;b=i}C[b>>2]=C[b>>2]+1}g=C[i>>2];if(g>>>0>=f>>>0){break N}while(1){if(!D[h+72|0]){break N}b=C[h+92>>2]+I(g,20)|0;j=C[b>>2];if((j&-16)!=65024&j-918e3>>>0<4294967056){break N}C[b+12>>2]=0;g=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],j,g,C[b+20>>2])|0;U:{if(D[h+73|0]){V:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break V}}if(!$e(h,1,1)){g=C[i>>2];break U}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1}g=C[i>>2]+1|0;C[i>>2]=g}if(f>>>0>g>>>0){continue}break}break N}Fe[C[b+156>>2]](o,v,u,j,C[b+20>>2])|0;if(D[h+73|0]){W:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break W}}if(!$e(h,1,1)){g=C[i>>2];break N}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1}g=C[i>>2]+1|0;C[i>>2]=g}if(c>>>0>g>>>0){continue}break}}if(f>>>0<=g>>>0){break K}b=C[h+92>>2]+I(g,20)|0;C[b+12>>2]=0;c=C[b>>2];f=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],c,f,C[b+20>>2])|0;if(D[h+73|0]){X:{if(C[h+96>>2]==C[h+92>>2]){b=C[h+84>>2];if((b|0)==C[h+76>>2]){break X}}if(!$e(h,1,1)){break K}c=C[h+92>>2]+I(C[h+76>>2],20)|0;f=C[c+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=f;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;b=C[h+84>>2]}C[h+84>>2]=b+1}C[i>>2]=C[i>>2]+1;break K}while(1){if(!D[h+72|0]){break K}ix(n+20|0,!l);if(F[i>>2]>>0){continue}break}}f=C[m+76>>2];if(s>>>0>f>>>0){j=0;if(D[m+72|0]){continue}}break}gh(m);break E}gh(m);g=1;if(j){break D}}g=0;if(!Hf(m,q,10998,0)){break D}g=C[m+80>>2];if(g){c=0;while(1){i=C[m+92>>2];b=E[(i+I(c,20)|0)+16>>1];Y:{if(!(1<>>0<256){b=c;break Y}b=c+1|0;f=b>>>0>>0?g:b;b=c;while(1){Z:{b=b+1|0;if(g>>>0<=b>>>0){b=f;break Z}j=E[(i+I(b,20)|0)+16>>1];if(!(1<>>0>255){continue}}break}if(b-c>>>0>32){break Y}ar(m,c,b,793);f=C[C[P+20>>2]+44>>2];if(!f){break Y}Fe[f|0](P,m,c,b)}c=b+1|0;if(g>>>0>c>>>0){continue}break}}Hf(m,q,11012,0);g=0}_:{if(!(D[m+36|0]&32)){break _}c=C[m+80>>2];if(c>>>0<3){break _}b=1;f=2;while(1){i=b;b=f;f=I(i,20);i=C[m+92>>2];f=f+i|0;$:{if(C[f>>2]!=847){break $}i=E[(i+I(b,20)|0)+16>>1];aa:{if(!(1<>>0<256){break aa}j=E[f-4>>1];if(!(1<>>8>>>0>i>>>8>>>0){break $}}B[f+16>>1]=E[f+16>>1]&65471;c=C[m+80>>2]}f=b+1|0;if(f>>>0>>0){continue}break}}if(!D[m+72|0]|g|(l&-2)!=2){break C}C[m+84>>2]=0;C[m+76>>2]=0;A[m+73|0]=1;A[m+74|0]=0;C[m+96>>2]=C[m+92>>2];g=C[m+80>>2];ba:{if(D[m+73|0]){ca:{if(C[m+96>>2]==C[m+92>>2]){b=C[m+84>>2];if((b|0)==C[m+76>>2]){break ca}}if(!$e(m,1,1)){f=C[m+76>>2];break ba}c=C[m+92>>2]+I(C[m+76>>2],20)|0;f=C[c+4>>2];b=C[m+96>>2]+I(C[m+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=f;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;b=C[m+84>>2]}C[m+84>>2]=b+1}f=C[m+76>>2]+1|0;C[m+76>>2]=f}da:{if(f>>>0>=g>>>0){break da}k=0;while(1){ea:{fa:{i=C[m+92>>2]+I(f,20)|0;f=E[i+16>>1];if(!(1<>2];j=C[m+84>>2];c=j-1|0;if((c|0)!=(k|0)){c=E[(b+I(c>>>0<=j>>>0?c:0,20)|0)+16>>1];if(f>>>8>>>0<=(1<>>8|0:0)>>>0){break fa}}f=I(k,20);if(!(Fe[C[n+44>>2]](n+20|0,C[f+b>>2],C[i>>2],n+16|0)|0)){break fa}C[n+12>>2]=0;b=C[q+72>>2];if(!(Fe[C[b+156>>2]](q,C[q+76>>2],C[n+16>>2],n+12|0,C[b+20>>2])|0)){break fa}ga:{if(!D[m+73|0]){b=C[m+84>>2];break ga}ha:{if(C[m+96>>2]==C[m+92>>2]){b=C[m+84>>2];if((b|0)==C[m+76>>2]){break ha}}if(!$e(m,1,1)){break da}c=C[m+92>>2]+I(C[m+76>>2],20)|0;i=C[c+4>>2];b=C[m+96>>2]+I(C[m+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=i;C[b+16>>2]=C[c+16>>2];i=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=i;b=C[m+84>>2]}b=b+1|0;C[m+84>>2]=b}C[m+76>>2]=C[m+76>>2]+1;zi(m,k,b);C[m+84>>2]=C[m+84>>2]-1;b=f+C[m+96>>2]|0;C[b>>2]=C[n+16>>2];C[b+12>>2]=C[n+12>>2];wj(f+C[m+96>>2]|0,m);f=C[m+76>>2];break ea}ia:{if(!D[m+73|0]){c=C[m+84>>2];break ia}ja:{if(C[m+96>>2]==C[m+92>>2]){b=C[m+84>>2];if((b|0)==C[m+76>>2]){break ja}}if(!$e(m,1,1)){break da}c=C[m+92>>2]+I(C[m+76>>2],20)|0;f=C[c+4>>2];b=C[m+96>>2]+I(C[m+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=f;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;b=C[m+84>>2]}c=b+1|0;C[m+84>>2]=c}f=C[m+76>>2]+1|0;C[m+76>>2]=f;b=c-1|0;c=E[(C[m+96>>2]+I(b>>>0<=c>>>0?b:0,20)|0)+16>>1];k=1<>>0<256?b:k:b}if(f>>>0>>0){continue}break}}gh(m)}Ce=n+48|0;ka:{if(!(A[m+36|0]&1)|!(D[a+200|0]&4)){break ka}la:{if((C[m+52>>2]&-3)==4){k=a+184|0;f=C[a+176>>2];b=f|C[a+180>>2];break la}k=a+180|0;f=C[a+176>>2];b=f|C[a+184>>2]}c=C[m+80>>2];if(!c){break ka}o=C[k>>2]|f;n=C[m+92>>2];i=0;while(1){s=n+I(i,20)|0;if(C[s>>2]==8260){g=i+1|0;k=0;j=i;while(1){ma:{h=k;f=j;if(!f){break ma}k=h+1|0;j=f-1|0;if((E[(n+I(j,20)|0)+16>>1]&31)==13){continue}}break}j=g;na:{if(c>>>0<=g>>>0){break na}while(1){if((E[(n+I(j,20)|0)+16>>1]&31)!=13){break na}j=j+1|0;if((c|0)!=(j|0)){continue}break}j=c}if(j-f>>>0>=2){Rf(m,f,j)}oa:{if(f>>>0>=i>>>0){break oa}k=0;l=h&3;if(l){while(1){r=n+I(f,20)|0;C[r+4>>2]=b|C[r+4>>2];f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(h-1>>>0<=2){break oa}while(1){k=n+I(f,20)|0;C[k+4>>2]=b|C[k+4>>2];C[k+24>>2]=b|C[k+24>>2];C[k+44>>2]=b|C[k+44>>2];k=k- -64|0;C[k>>2]=b|C[k>>2];f=f+4|0;if((i|0)!=(f|0)){continue}break}}C[s+4>>2]=C[s+4>>2]|C[a+176>>2];pa:{if(g>>>0>=j>>>0){break pa}f=0;k=(i^-1)+j&3;if(k){while(1){h=n+I(g,20)|0;C[h+4>>2]=o|C[h+4>>2];g=g+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if((j-i|0)-2>>>0<3){break pa}while(1){f=n+I(g,20)|0;C[f+4>>2]=o|C[f+4>>2];C[f+24>>2]=o|C[f+24>>2];C[f+44>>2]=o|C[f+44>>2];f=f- -64|0;C[f>>2]=o|C[f>>2];g=g+4|0;if((j|0)!=(g|0)){continue}break}}i=j-1|0}i=i+1|0;if(c>>>0>i>>>0){continue}break}}b=C[C[a+80>>2]+36>>2];if(b){Fe[b|0](P,m,q)}if(e){i=0;while(1){b=(i<<4)+d|0;c=C[b+8>>2];if(!(!c&C[b+12>>2]==-1)){l=C[b+4>>2];qa:{ra:{f=C[a+104>>2];if((f|0)<=0){break ra}o=C[a+108>>2];g=C[b>>2];f=f-1|0;k=0;while(1){sa:{j=f+k>>>1|0;h=o+I(j,36)|0;s=C[h>>2];ta:{if(s>>>0>g>>>0){f=j-1|0;break ta}if(g>>>0<=s>>>0){break sa}k=j+1|0}if((f|0)>=(k|0)){continue}break ra}break}k=C[h+24>>2];f=C[h+20>>2];break qa}k=0;f=0}j=l<>2];g=0;ua:{if(!k){break ua}h=C[m+80>>2];if(!h){break ua}n=j&k;k=k^-1;b=C[m+92>>2];j=0;if((h|0)!=1){s=h&-2;while(1){o=b+I(j,20)|0;l=C[o+8>>2];if(!(l>>>0>>0|f>>>0<=l>>>0)){C[o+4>>2]=n|k&C[o+4>>2]}o=b+I(j|1,20)|0;l=C[o+8>>2];if(!(l>>>0>>0|f>>>0<=l>>>0)){C[o+4>>2]=n|k&C[o+4>>2]}j=j+2|0;g=g+2|0;if((s|0)!=(g|0)){continue}break}}if(!(h&1)){break ua}g=c;c=C[(b+I(j,20)|0)+8>>2];if(g>>>0>c>>>0|c>>>0>=f>>>0){break ua}b=b+I(j,20)|0;C[b+4>>2]=n|k&C[b+4>>2]}}i=i+1|0;if((i|0)!=(e|0)){continue}break}}if(D[a+200|0]&128){g=C[m+80>>2];if(g){i=C[m+92>>2];k=0;while(1){d=i+I(k,20)|0;c=E[d+16>>1];if((c&31)==12){b=c>>>8|0;va:{if(c>>>0>51199){f=b;break va}wa:{xa:{f=C[d>>2];if((f&-256)==3584){if(c>>>0<=255){e=0;ya:{switch(f-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:e=230;break wa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break xa;case 139:break ya;default:break wa}}e=220;break wa}e=222;if((f|0)==3642){break wa}}f=220;za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{e=b;switch(b-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break va;case 119:case 129:break za;case 104:break Aa;case 0:break Ba;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Ca;case 8:case 11:break Da;case 7:break Ea;case 10:break Fa;default:break wa}}f=214;break va}f=232;break va}f=228;break va}f=230;break va}f=222;break va}f=232;break va}f=230;break va}e=232}f=e}B[d+16>>1]=c&255|f<<8}k=k+1|0;if((g|0)!=(k|0)){continue}break}}}c=C[m+80>>2];Ga:{if(!c){break Ga}b=C[m+92>>2];g=0;f=0;if(c>>>0>=4){d=c&-4;i=0;while(1){e=b+I(f,20)|0;C[e>>2]=C[e+12>>2];e=b+I(f|1,20)|0;C[e>>2]=C[e+12>>2];e=b+I(f|2,20)|0;C[e>>2]=C[e+12>>2];e=b+I(f|3,20)|0;C[e>>2]=C[e+12>>2];f=f+4|0;i=i+4|0;if((d|0)!=(i|0)){continue}break}}c=c&3;if(!c){break Ga}while(1){d=b+I(f,20)|0;C[d>>2]=C[d+12>>2];f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}C[m+48>>2]=2;b=C[q+16>>2];j=C[b+132>>2];Ha:{if(j){break Ha}while(1){c=C[b+48>>2];if(!c){j=205712;break Ha}j=df(1,4);if(!j){j=205712;C[b+132>>2]=205712;break Ha}Um(j,c);if(!C[b+132>>2]){C[b+132>>2]=j;break Ha}Ue(C[j>>2]);Re(j);j=C[b+132>>2];if(!j){continue}break}}c=C[m+80>>2];if(c){b=C[j>>2];b=b?b:205712;d=F[b+16>>2]<12?205712:C[b+12>>2];j=0;while(1){b=I(j,20);e=b+C[m+92>>2]|0;ga=e,ha=eh(d,C[e>>2]),B[ga+12>>1]=ha;A[(b+C[m+92>>2]|0)+14|0]=0;A[(b+C[m+92>>2]|0)+15|0]=0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}f=E[a+200>>1];Ia:{if(!(f&64)){break Ia}c=C[m+80>>2];if(!c){break Ia}d=C[m+92>>2];f=0;while(1){b=d+I(f,20)|0;e=E[b+16>>1];Ja:{if((e&31)==12){g=8;if(!(e&32)|E[b+12>>1]&16){break Ja}}g=2}B[b+12>>1]=g;f=f+1|0;if((c|0)!=(f|0)){continue}break}f=E[a+200>>1]}Ka:{if(f&8192){f=0;i=Ce-80|0;Ce=i;d=Ce-48|0;Ce=d;e=C[q+16>>2]+148|0;c=C[e>>2];La:{if(c){break La}g=e-100|0;while(1){c=C[g>>2];if(!c){c=205712;break La}b=d;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;j=Qf(c);A[b+40|0]=1;C[b+36>>2]=j;b=$y(b,Of(c,1836020344));if(!b){b=205712}c=C[e>>2];if(!c){C[e>>2]=b;c=b;break La}if(!b){break La}if((b|0)!=205712){Ue(b)}c=C[e>>2];if(!c){continue}break}}Ce=d+48|0;d=F[c+16>>2]<8?205712:C[c+12>>2];Ma:{if(D[d|0]|D[d+1|0]<<8){b=hl(i+4|0,P,q,m,c);if(Hf(m,q,1627,0)){Na:{if(!D[C[b+16>>2]+72|0]){break Na}C[b+72>>2]=0;c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!h){break Na}e=d+8|0;while(1){c=C[b+4>>2];n=C[(F[c+104>>2]<=f>>>0?205712:C[c+108>>2]+(f<<2)|0)>>2];j=0;d=Ce-32|0;Ce=d;c=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Oa:{if(!o){break Oa}c=D[e+8|0]|D[e+9|0]<<8|(D[e+10|0]<<16|D[e+11|0]<<24);c=(I(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24),12)+e|0)+16|0;while(1){g=D[c+8|0]|D[c+9|0]<<8|(D[c+10|0]<<16|D[c+11|0]<<24);Pa:{if(!(n&(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)))){break Pa}g=D[c+4|0];if(!(g&32)&((C[C[b+16>>2]+52>>2]&-2)!=6|0)==(g<<24>>24<0|0)){break Pa}Qa:{if(g&16){k=C[b+16>>2];g=(g&64)>>>6|0;break Qa}k=C[b+16>>2];g=(g&64)>>>6^(C[k+52>>2]&-3)==5}s=C[b+8>>2];C[d+16>>2]=C[b+72>>2];if(!Hf(k,s,21330,d+16|0)){break Pa}Ra:{if(g){g=C[b+16>>2];sk(g,706,C[g+20>>2]==1);k=C[b+52>>2];g=C[k+12>>2];k=g+C[k+16>>2]|0;C[b+28>>2]=k;Sa:{if(!(c>>>0>>0&c>>>0>=g>>>0)){C[b+24>>2]=0;g=0;break Sa}C[b+24>>2]=c;k=k-c|0;g=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=(g>>>0>k>>>0?k:g)+c|0}C[b+28>>2]=g;Ry(c,b);g=C[b+52>>2];k=C[g+12>>2];C[b+24>>2]=k;C[b+28>>2]=k+C[g+16>>2];g=C[b+16>>2];sk(g,706,C[g+20>>2]==1);break Ra}k=C[b+52>>2];g=C[k+12>>2];k=g+C[k+16>>2]|0;C[b+28>>2]=k;Ta:{if(!(c>>>0>>0&c>>>0>=g>>>0)){C[b+24>>2]=0;g=0;break Ta}C[b+24>>2]=c;k=k-c|0;g=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=(g>>>0>k>>>0?k:g)+c|0}C[b+28>>2]=g;Ry(c,b);g=C[b+52>>2];k=C[g+12>>2];C[b+24>>2]=k;C[b+28>>2]=k+C[g+16>>2]}g=C[b+8>>2];k=C[b+16>>2];C[d>>2]=C[b+72>>2];Hf(k,g,21353,d);if(!D[C[b+16>>2]+72|0]){break Oa}}g=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);C[b+72>>2]=C[b+72>>2]+1;c=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+c|0;j=j+1|0;if((o|0)!=(j|0)){continue}break}}Ce=d+32|0;if(!D[C[b+16>>2]+72|0]){break Na}c=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}Hf(m,q,1644,0)}Ue(C[b+52>>2]);break Ma}d=Ce-48|0;Ce=d;e=C[q+16>>2]+152|0;c=C[e>>2];Ua:{if(c){break Ua}g=e-104|0;while(1){c=C[g>>2];if(!c){c=205712;break Ua}b=d;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;j=Qf(c);A[b+40|0]=1;C[b+36>>2]=j;b=_y(b,Of(c,1836020340));if(!b){b=205712}c=C[e>>2];if(!c){C[e>>2]=b;c=b;break Ua}if(!b){break Ua}if((b|0)!=205712){Ue(b)}c=C[e>>2];if(!c){continue}break}}Ce=d+48|0;d=F[c+16>>2]<8?205712:C[c+12>>2];if(!(D[d|0]|D[d+1|0]<<8)){break Ma}b=hl(i+4|0,P,q,m,c);if(Hf(m,q,3632,0)){Va:{if(!D[C[b+16>>2]+72|0]){break Va}C[b+72>>2]=0;c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!j){break Va}e=d+8|0;while(1){c=C[b+4>>2];n=C[(F[c+104>>2]<=f>>>0?205712:C[c+108>>2]+(f<<2)|0)>>2];k=0;g=Ce-32|0;Ce=g;c=D[e+10|0]|D[e+11|0]<<8;Wa:{if(!c){break Wa}c=(c<<8|c>>>8)&65535;o=c>>>0<=1?1:c;c=D[e+8|0]|D[e+9|0]<<8;c=(I((c<<8|c>>>8)&65535,12)+e|0)+12|0;while(1){d=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);Xa:{if(!(n&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break Xa}d=D[c+2|0];if(!(d&32)&((C[C[b+16>>2]+52>>2]&-2)!=6|0)==(d>>>0>127|0)){break Xa}Ya:{if(d&16){h=C[b+16>>2];d=(d&64)>>>6|0;break Ya}h=C[b+16>>2];d=(d&64)>>>6^(C[h+52>>2]&-3)==5}s=C[b+8>>2];C[g+16>>2]=C[b+72>>2];if(!Hf(h,s,21330,g+16|0)){break Xa}Za:{if(d){d=C[b+16>>2];sk(d,706,C[d+20>>2]==1);h=0;s=C[b+52>>2];l=C[s+12>>2];d=0;_a:{if(l>>>0>c>>>0){break _a}s=l+C[s+16>>2]|0;d=0;if(s>>>0<=c>>>0){break _a}d=s-c|0;h=D[c|0]|D[c+1|0]<<8;h=(h<<8|h>>>8)&65535;h=(d>>>0>>0?d:h)+c|0;d=c}C[b+24>>2]=d;C[b+28>>2]=h;Ny(c,b);d=C[b+52>>2];h=C[d+12>>2];C[b+24>>2]=h;C[b+28>>2]=h+C[d+16>>2];d=C[b+16>>2];sk(d,706,C[d+20>>2]==1);break Za}h=0;s=C[b+52>>2];l=C[s+12>>2];d=0;$a:{if(l>>>0>c>>>0){break $a}s=l+C[s+16>>2]|0;d=0;if(s>>>0<=c>>>0){break $a}d=s-c|0;h=D[c|0]|D[c+1|0]<<8;h=(h<<8|h>>>8)&65535;h=(d>>>0>>0?d:h)+c|0;d=c}C[b+24>>2]=d;C[b+28>>2]=h;Ny(c,b);d=C[b+52>>2];h=C[d+12>>2];C[b+24>>2]=h;C[b+28>>2]=h+C[d+16>>2]}d=C[b+8>>2];h=C[b+16>>2];C[g>>2]=C[b+72>>2];Hf(h,d,21353,g);if(!D[C[b+16>>2]+72|0]){break Wa}}d=D[c|0]|D[c+1|0]<<8;C[b+72>>2]=C[b+72>>2]+1;c=((d<<8|d>>>8)&65535)+c|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}Ce=g+32|0;if(!D[C[b+16>>2]+72|0]){break Va}c=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}Hf(m,q,3649,0)}Ue(C[b+52>>2])}Ce=i+80|0;break Ka}j=0;i=0;n=Ce-16|0;Ce=n;b=C[q+16>>2]+136|0;c=C[fh(b)>>2];c=c?c:205712;C[n+8>>2]=F[c+16>>2]<10?205712:C[c+12>>2];ga=n,ha=C[fh(b)+8>>2],C[ga+12>>2]=ha;if(Hf(m,q,28471,0)){k=Ce-176|0;Ce=k;b=Ah(k+28|0,0,q,m);C[b+104>>2]=708;e=C[a+140>>2];if(e){c=E[102856];while(1){l=e>>>0<=i>>>0?205712:C[a+144>>2]+(i<<3)|0;if(F[l>>2]>j>>>0){while(1){d=j<<3;o=E[(F[a+116>>2]<=j>>>0?205712:d+C[a+120>>2]|0)>>1];C[k+16>>2]=o;if(Hf(m,q,21172,k+16|0)){C[b+128>>2]=o;f=205712;g=F[a+116>>2]<=j>>>0?205712:d+C[a+120>>2]|0;d=C[g+4>>2];C[b+36>>2]=0;C[b+120>>2]=d;C[b+28>>2]=0;C[b+32>>2]=0;e=C[b+132>>2];C[b+12>>2]=e;h=C[b+124>>2]==1;A[b+16|0]=h;C[b+80>>2]=0;C[b+20>>2]=d;A[b+17|0]=D[b+142|0];C[b+72>>2]=0;C[b+76>>2]=0;C[b+56>>2]=e;C[b+64>>2]=-1;A[b+61|0]=1;C[b+8>>2]=b;C[b+52>>2]=b;s=h|D[b+141|0]!=0;A[b+60|0]=s;r=D[g+2|0];C[b+12>>2]=e;C[b+20>>2]=d;C[b+56>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+80>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;A[b+16|0]=h;C[b+36>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;A[b+60|0]=s;s=r>>>1&1;A[b+142|0]=s;A[b+17|0]=s;C[b+8>>2]=b;C[b+52>>2]=b;r=D[g+2|0];C[b+36>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=d;A[b+17|0]=s;A[b+16|0]=h;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;u=r&1;A[b+141|0]=u;A[b+60|0]=(h|r)&1;C[b+8>>2]=b;C[b+52>>2]=b;A[b+143|0]=D[g+2|0]>>>2&1;e=205712;g=C[n+8>>2];r=D[g+8|0]|D[g+9|0]<<8;if(r){e=g+((r<<8|r>>>8)&65535)|0}g=D[e|0]|D[e+1|0]<<8;ab:{if(o>>>0>=((g<<8|g>>>8)&65535)>>>0){break ab}g=(o<<1)+e|0;g=D[g+2|0]|D[g+3|0]<<8;if(!g){break ab}f=((g<<8|g>>>8)&65535)+e|0}g=C[b+100>>2];v=C[g+80>>2];bb:{if(!v|!d){break bb}r=C[n+12>>2];e=D[f+2|0]|D[f+3|0]<<8;$=e<<8|e>>>8;e=$&65535;if($&16){M=e;e=D[f+4|0]|D[f+5|0]<<8;e=(((e<<8|e>>>8)&65535)<<1)+f|0;e=D[e+6|0]|D[e+7|0]<<8;e=M|(e<<24|e<<8&16711680)}r=r+I(o,24)|0;C[b+36>>2]=0;C[b+132>>2]=e;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=d;A[b+17|0]=s;A[b+16|0]=h;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;A[b+60|0]=h|u;C[b+8>>2]=b;C[b+52>>2]=b;cb:{d=D[f|0]|D[f+1|0]<<8;db:{if((d|0)!=1792){if((d|0)!=2048){break db}break cb}d=D[f+4|0]|D[f+5|0]<<8?D[f+6|0]|D[f+7|0]<<8:c;eb:{if(!(d&65535)){f=205712;d=c;break eb}f=((d<<8|(d&65280)>>>8)&65535)+f|0;d=D[f|0]|D[f+1|0]<<8}if((d&65535)!=256){break db}if((D[f+2|0]|D[f+3|0]<<8)==2048){break cb}}C[g+84>>2]=0;C[g+76>>2]=0;A[g+73|0]=1;A[g+74|0]=0;C[g+96>>2]=C[g+92>>2];C[g+76>>2]=0;Vp(b,r);gh(g);break bb}C[g+76>>2]=v-1;ty(b,r)}C[k>>2]=o;Hf(m,q,21188,k)}j=j+1|0;if(j>>>0>2]){continue}break}}d=C[l+4>>2];if(d){Fe[d|0](P,q,m)}i=i+1|0;e=C[a+140>>2];if(i>>>0>>0){continue}break}}Ce=k+176|0;Hf(m,q,28488,0)}Ce=n+16|0}fr(m);c=C[m+92>>2];b=C[m+80>>2];d=C[m+100>>2];fb:{if((C[m+52>>2]&-2)==4){e=C[q+72>>2];Fe[C[e+176>>2]](q,C[q+76>>2],b,c,20,d,20,C[e+40>>2]);if(!nl(q,9)|!b){break fb}k=0;while(1){e=I(k,20);Aj(q,C[e+c>>2],L+8|0,L+28|0);e=d+e|0;C[e+8>>2]=C[e+8>>2]-C[L+8>>2];C[e+12>>2]=C[e+12>>2]-C[L+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}break fb}e=C[q+72>>2];Fe[C[e+180>>2]](q,C[q+76>>2],b,c,20,d+4|0,20,C[e+44>>2]);if(!b){break fb}k=0;while(1){e=I(k,20);Jz(q,C[e+c>>2],L+8|0,L+28|0);e=d+e|0;C[e+8>>2]=C[e+8>>2]-C[L+8>>2];C[e+12>>2]=C[e+12>>2]-C[L+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}}if(D[m+36|0]&4){c=Ce-16|0;Ce=c;k=C[m+80>>2];if(k){d=C[m+100>>2];n=C[m+92>>2];e=(C[m+52>>2]&-2)!=4;j=0;while(1){b=I(j,20);f=b+n|0;g=E[f+16>>1];gb:{if((g&31)!=29|D[f+12|0]&32){break gb}hb:{ib:{jb:{kb:{lb:{f=g>>>8|0;switch(f-1|0){case 20:break hb;case 19:break ib;case 18:break jb;case 16:break kb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break lb;default:break gb}}g=f>>>1|0;if(!e){C[b+d>>2]=(g+C[q+20>>2]|0)/(f|0);break gb}C[(b+d|0)+4>>2]=0-((g+C[q+24>>2]|0)/(f|0)|0);break gb}if(!e){f=b+d|0;b=C[q+20>>2];h=b>>31<<2|b>>>30;ga=f,ha=nT(b<<2,h,18,0),C[ga>>2]=ha;break gb}f=b+d|0;b=0-C[q+24>>2]|0;h=b>>31<<2|b>>>30;ga=f,ha=nT(b<<2,h,18,0),C[ga+4>>2]=ha;break gb}C[c+12>>2]=0;f=C[q+72>>2];mb:{if(Fe[C[f+156>>2]](q,C[q+76>>2],48,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],49,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],50,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],51,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],52,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],53,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],54,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],55,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],56,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(!(Fe[C[f+156>>2]](q,C[q+76>>2],57,c+12|0,C[f+20>>2])|0)){break gb}}g=C[q+76>>2];f=C[q+72>>2];i=C[c+12>>2];if(!e){ga=b+d|0,ha=Fe[C[f+168>>2]](q,g,i,C[f+32>>2])|0,C[ga>>2]=ha;break gb}ga=b+d|0,ha=Fe[C[f+172>>2]](q,g,i,C[f+36>>2])|0,C[ga+4>>2]=ha;break gb}C[c+12>>2]=0;f=C[q+72>>2];if(!(Fe[C[f+156>>2]](q,C[q+76>>2],46,c+12|0,C[f+20>>2])|0)){C[c+12>>2]=0;f=C[q+72>>2];if(!(Fe[C[f+156>>2]](q,C[q+76>>2],44,c+12|0,C[f+20>>2])|0)){break gb}}g=C[q+76>>2];f=C[q+72>>2];i=C[c+12>>2];if(!e){ga=b+d|0,ha=Fe[C[f+168>>2]](q,g,i,C[f+32>>2])|0,C[ga>>2]=ha;break gb}ga=b+d|0,ha=Fe[C[f+172>>2]](q,g,i,C[f+36>>2])|0,C[ga+4>>2]=ha;break gb}if(!e){b=b+d|0;C[b>>2]=C[b>>2]/2;break gb}b=b+d|0;C[b+4>>2]=C[b+4>>2]/2}j=j+1|0;if((k|0)!=(j|0)){continue}break}}Ce=c+16|0}k=0;d=0;d=A[a+201|0]&1?(C[m+52>>2]&-3)==4:d;ea=C[m+92>>2];$=C[m+80>>2];fa=C[m+100>>2];if(!(!nl(q,9)|!$)){while(1){b=I(k,20);Aj(q,C[b+ea>>2],L+8|0,L+28|0);b=b+fa|0;C[b+8>>2]=C[b+8>>2]+C[L+8>>2];C[b+12>>2]=C[b+12>>2]+C[L+28>>2];k=k+1|0;if(($|0)!=(k|0)){continue}break}}i=0;j=0;g=0;b=C[m+80>>2];nb:{if(!b){break nb}if(b>>>0>=4){c=b&-4;while(1){e=I(i,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;e=I(i|1,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;e=I(i|2,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;e=I(i|3,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;i=i+4|0;j=j+4|0;if((c|0)!=(j|0)){continue}break}}b=b&3;if(!b){break nb}while(1){c=I(i,20);A[(c+C[m+100>>2]|0)+18|0]=0;B[(c+C[m+100>>2]|0)+16>>1]=0;i=i+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}ob:{if(!(D[a+200|0]&32)|C[C[a+80>>2]+48>>2]!=1){break ob}c=C[m+80>>2];if(!c){break ob}e=C[m+92>>2];if(d){k=0;while(1){b=I(k,20);if(D[(b+e|0)+12|0]&8){b=b+C[m+100>>2]|0;f=C[b+4>>2];C[b+4>>2]=0;g=C[b>>2];C[b>>2]=0;C[b+8>>2]=C[b+8>>2]-g;C[b+12>>2]=C[b+12>>2]-f}k=k+1|0;if((c|0)!=(k|0)){continue}break}break ob}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){g=I(f,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}g=I(f|1,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break ob}b=I(f,20);if(!(D[(b+e|0)+12|0]&8)){break ob}b=b+C[m+100>>2]|0;C[b>>2]=0;C[b+4>>2]=0}f=0;k=0;b=E[P+140>>1];pb:{if(b&512){h=Ce-16|0;Ce=h;b=C[q+16>>2]+140|0;c=C[Ch(b)>>2];c=c?c:205712;C[h+8>>2]=F[c+16>>2]<10?205712:C[c+12>>2];ga=h,ha=C[Ch(b)+8>>2],C[ga+12>>2]=ha;if(Hf(m,q,24121,0)){c=Ce-176|0;Ce=c;b=Ah(c+28|0,1,q,m);C[b+104>>2]=709;e=C[P+92>>2];if(e){while(1){s=e>>>0<=k>>>0?205712:C[P+96>>2]+(k<<3)|0;if(F[s>>2]>f>>>0){while(1){e=f<<3;n=E[(F[P+68>>2]<=f>>>0?205712:e+C[P+72>>2]|0)>>1];C[c+16>>2]=n;if(Hf(m,q,21172,c+16|0)){C[b+128>>2]=n;i=205712;t=F[P+68>>2]<=f>>>0?205712:e+C[P+72>>2]|0;g=C[t+4>>2];C[b+36>>2]=0;C[b+120>>2]=g;C[b+28>>2]=0;C[b+32>>2]=0;e=C[b+132>>2];C[b+12>>2]=e;j=C[b+124>>2]==1;A[b+16|0]=j;C[b+80>>2]=0;C[b+20>>2]=g;A[b+17|0]=D[b+142|0];C[b+72>>2]=0;C[b+76>>2]=0;C[b+56>>2]=e;C[b+64>>2]=-1;A[b+61|0]=1;C[b+8>>2]=b;C[b+52>>2]=b;o=j|D[b+141|0]!=0;A[b+60|0]=o;l=D[t+2|0];C[b+12>>2]=e;C[b+20>>2]=g;C[b+56>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+80>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;A[b+16|0]=j;C[b+36>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;A[b+60|0]=o;o=l>>>1&1;A[b+142|0]=o;A[b+17|0]=o;C[b+8>>2]=b;C[b+52>>2]=b;l=D[t+2|0];C[b+36>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=g;A[b+17|0]=o;A[b+16|0]=j;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;r=l&1;A[b+141|0]=r;A[b+60|0]=(j|l)&1;C[b+8>>2]=b;C[b+52>>2]=b;A[b+143|0]=D[t+2|0]>>>2&1;e=205712;t=C[h+8>>2];l=D[t+8|0]|D[t+9|0]<<8;if(l){e=t+((l<<8|l>>>8)&65535)|0}t=D[e|0]|D[e+1|0]<<8;qb:{if(n>>>0>=((t<<8|t>>>8)&65535)>>>0){break qb}t=(n<<1)+e|0;t=D[t+2|0]|D[t+3|0]<<8;if(!t){break qb}i=((t<<8|t>>>8)&65535)+e|0}t=C[b+100>>2];if(!(!C[t+80>>2]|!g)){l=C[h+12>>2]+I(n,24)|0;e=D[i+2|0]|D[i+3|0]<<8;u=e<<8|e>>>8;e=u&65535;if(u&16){M=e;e=D[i+4|0]|D[i+5|0]<<8;e=(((e<<8|e>>>8)&65535)<<1)+i|0;e=D[e+6|0]|D[e+7|0]<<8;e=M|(e<<24|e<<8&16711680)}C[b+36>>2]=0;C[b+132>>2]=e;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=g;A[b+17|0]=o;A[b+16|0]=j;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;A[b+60|0]=j|r;C[b+8>>2]=b;C[b+52>>2]=b;C[t+76>>2]=0;Vp(b,l)}C[c>>2]=n;Hf(m,q,21188,c)}f=f+1|0;if(f>>>0>2]){continue}break}}e=C[s+4>>2];if(e){Fe[e|0](P,q,m)}k=k+1|0;e=C[P+92>>2];if(k>>>0>>0){continue}break}}Ce=c+176|0;Hf(m,q,24138,0)}Ce=h+16|0;break pb}if(!(b&4096)){break pb}h=0;Q=Ce-80|0;Ce=Q;e=Ce-48|0;Ce=e;f=C[q+16>>2]+156|0;b=C[f>>2];rb:{if(b){break rb}g=f-108|0;while(1){c=C[g>>2];if(!c){b=205712;break rb}b=e;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;i=Qf(c);A[b+40|0]=1;C[b+36>>2]=i;c=Zy(b,Of(c,1801810552));if(!c){c=205712}b=C[f>>2];if(!b){C[f>>2]=c;b=c;break rb}if(!c){break rb}if((c|0)!=205712){Ue(c)}b=C[f>>2];if(!b){continue}break}}Ce=e+48|0;j=C[b+16>>2];k=C[b+12>>2];o=hl(Q+4|0,P,q,m,b);if(Hf(m,q,1659,0)){f=Ce-48|0;Ce=f;g=C[q+16>>2]+160|0;c=C[g>>2];sb:{if(c){break sb}n=g-112|0;while(1){b=C[n>>2];if(!b){c=205712;break sb}C[f+8>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;A[f+24|0]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+28>>2]=0;C[f+32>>2]=0;c=Qf(b);A[f+40|0]=1;C[f+36>>2]=c;c=Of(b,1634626418);tb:{if(!c){break tb}b=C[c>>2];if(!b){break tb}C[c>>2]=b+1}A[f+24|0]=0;e=c;C[f+32>>2]=c;b=C[c+12>>2];C[f+4>>2]=b;i=C[c+16>>2];C[f+8>>2]=i+b;C[f+28>>2]=0;if(i>>>0>67108862){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}C[f+12>>2]=i;C[f+20>>2]=0;C[f>>2]=0;ub:{vb:{if(!b){break vb}wb:{xb:{yb:{zb:{if(_p(b,f)){break zb}Ab:{if(D[f+24|0]|!C[f+28>>2]){break Ab}b=Pf(c);C[f+4>>2]=b;C[f+8>>2]=b+C[c+16>>2];if(!b){break Ab}while(1){A[f+24|0]=1;e=C[f+32>>2];b=C[e+12>>2];C[f+4>>2]=b;i=C[e+16>>2];C[f+8>>2]=i+b;C[f+28>>2]=0;if(i>>>0<=67108862){i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}else{i=1073741823}C[f+12>>2]=i;C[f+20>>2]=0;C[f>>2]=0;if(!b){break vb}if(_p(b,f)){break zb}if(D[f+24|0]|!C[f+28>>2]){break Ab}b=Pf(c);C[f+4>>2]=b;C[f+8>>2]=b+C[c+16>>2];if(b){continue}break}}Ue(C[f+32>>2]);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;break yb}if(!C[f+28>>2]){break xb}C[f+28>>2]=0;b=_p(b,f);e=C[f+28>>2];Ue(C[f+32>>2]);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;if(e){break yb}if(b){break wb}}Ue(c);c=205712;break ub}Ue(C[f+32>>2]);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break ub}Ue(e);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0}b=c;if(!b){b=205712}c=C[g>>2];if(!c){C[g>>2]=b;c=b;break sb}if(!b){break sb}if((b|0)!=205712){Ue(b)}c=C[g>>2];if(!c){continue}break}}Ce=f+48|0;C[o+64>>2]=F[c+16>>2]<12?205712:C[c+12>>2];s=Ce-48|0;Ce=s;C[o+72>>2]=0;b=j>>>0<8?205712:k;c=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);Z=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(Z){V=Z-1|0;e=b+8|0;while(1){b=C[o+16>>2];c=C[b+52>>2];f=A[e+4|0];Bb:{if(((c&-2)!=4|0)==((f|0)>=0|0)){break Bb}g=C[o+8>>2];C[s+16>>2]=h;if(!Hf(b,g,21374,s+16|0)){break Bb}W=(f&16)>>>4^(c&-3)!=5;b=1;Cb:{if(t){break Cb}b=0;if(!(D[e+4|0]&64)){break Cb}c=C[o+16>>2];f=C[c+80>>2];b=1;if(!f){break Cb}g=C[c+100>>2];c=0;if((f|0)!=1){b=f&-2;h=0;while(1){i=g+I(c,20)|0;A[i+18|0]=2;B[i+16>>1]=(C[C[o+16>>2]+52>>2]&-3)==4?-1:1;i=g+I(c|1,20)|0;A[i+18|0]=2;B[i+16>>1]=(C[C[o+16>>2]+52>>2]&-3)==4?-1:1;c=c+2|0;h=h+2|0;if((b|0)!=(h|0)){continue}break}}b=1;if(!(f&1)){break Cb}b=g+I(c,20)|0;A[b+18|0]=2;B[b+16>>1]=(C[C[o+16>>2]+52>>2]&-3)==4?-1:1;b=1}t=b;Db:{if(W){break Db}g=C[o+16>>2];i=C[g+80>>2];if(i>>>0>=2){j=C[g+92>>2];h=i-1|0;c=0;while(1){b=j+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=j+I(c,20)|0;C[b+16>>2]=C[f+16>>2];k=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=k;k=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=k;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}if(!D[g+74|0]){break Db}b=C[g+80>>2];b=b>>>0>>0?b:i;if(b>>>0<2){break Db}g=C[g+100>>2];h=b-1|0;c=0;while(1){b=g+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=g+I(c,20)|0;C[b+16>>2]=C[f+16>>2];i=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=i;i=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=i;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}c=C[o+52>>2];b=C[c+12>>2];C[o+24>>2]=b;c=b+C[c+16>>2]|0;C[o+28>>2]=c;Eb:{if(V>>>0<=_>>>0){break Eb}f=b;b=V>>>0>_>>>0?e:0;if(!(f>>>0<=b>>>0&b>>>0>>0)){C[o+24>>2]=0;C[o+28>>2]=0;break Eb}C[o+24>>2]=b;f=c-b|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C[o+28>>2]=b+(c>>>0>f>>>0?f:c)}i=0;j=Ce+-64|0;Ce=j;Fb:{Gb:{switch(D[e+7|0]){case 0:b=C[o+4>>2];if(!(A[b+140|0]&1)){break Fb}c=D[e+4|0];if(c&16){break Fb}C[j>>2]=e;i=1;C[j+4>>2]=o;A[j+56|0]=c>>>6&1;C[j+52>>2]=j;w=C[b+132>>2];f=0;H=Ce-160|0;Ce=H;y=C[o+8>>2];r=C[o+16>>2];b=Ah(H+12|0,1,y,r);C[b+120>>2]=w;C[b+132>>2]=8;C[b+36>>2]=0;C[b+8>>2]=b;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+52>>2]=b;C[b+20>>2]=w;A[b+17|0]=D[b+142|0];C[b+12>>2]=8;C[b+72>>2]=0;C[b+76>>2]=0;C[b- -64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=8;c=C[b+124>>2]==1;A[b+16|0]=c;A[b+60|0]=c|D[b+141|0]!=0;h=C[r+80>>2];if(h){S=b+4|0;u=C[r+100>>2];N=C[r+92>>2];ca=(C[r+52>>2]&-2)!=4;while(1){Hb:{Ib:{T=I(f,20);g=T+N|0;if(!(w&C[g+4>>2])){break Ib}C[b+40>>2]=1;C[b+4>>2]=f;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];A[b+24|0]=C[c+76>>2]==(f|0)?D[(T+C[c+92>>2]|0)+15|0]:0;if(!Sg(S)){break Ib}c=C[j+52>>2];l=C[c>>2];z=C[g>>2];da=C[S>>2];x=I(da,20);X=C[x+N>>2];v=C[c+4>>2];n=0;k=205712;c=D[l+12|0]|D[l+13|0]<<8|(D[l+14|0]<<16|D[l+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Jb:{if((c|0)<=0){break Jb}aa=l+28|0;c=c-1|0;while(1){Kb:{Lb:{Mb:{g=c+n>>>1|0;R=aa+I(g,6)|0;M=D[R|0]|D[R+1|0]<<8;M=(M<<8|M>>>8)&65535;Nb:{if((M|0)==(z|0)){R=D[R+2|0]|D[R+3|0]<<8;R=(R<<8|R>>>8)&65535;if(R>>>0>X>>>0){break Nb}if((R|0)==(X|0)){break Mb}break Lb}if(z>>>0>=M>>>0){break Lb}}c=g-1|0;break Kb}k=aa+I(g,6)|0;break Jb}n=g+1|0}if((c|0)>=(n|0)){continue}break}}c=D[k+4|0]|D[k+5|0]<<8;g=(c<<8|c>>>8)<<16>>16;c=g;Ob:{if(!v){break Ob}k=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);if(!k){break Ob}c=0;Pb:{if(k>>>0>2147483646){break Pb}g=g+l|0;if(g>>>0>2]){break Pb}n=C[v+28>>2];if(n>>>0>>0){break Pb}k=k<<1;if(k>>>0>n-g>>>0){break Pb}k=C[v+32>>2]-k|0;C[v+32>>2]=k;if((k|0)<=0){break Pb}c=D[g|0]|D[g+1|0]<<8;c=(c<<8|c>>>8)<<16>>16}}Qb:{if(!c){break Qb}Rb:{if(!ca){c=c<<16>>16;c=mT(C[y+32>>2],C[y+36>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+12>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break Rb}g=u+T|0;k=c>>1;C[g>>2]=k+C[g>>2];g=u+x|0;c=c-k|0;C[g>>2]=c+C[g>>2];C[g+8>>2]=c+C[g+8>>2];break Rb}c=c<<16>>16;c=mT(C[y+40>>2],C[y+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+8>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break Rb}g=u+T|0;k=c>>1;C[g+4>>2]=k+C[g+4>>2];g=u+x|0;c=c-k|0;C[g+4>>2]=c+C[g+4>>2];C[g+12>>2]=c+C[g+12>>2]}c=da+1|0;if(c-f>>>0<2){break Qb}Rf(r,f,c)}f=C[S>>2];break Hb}f=f+1|0}if(h>>>0>f>>>0){continue}break}}Ce=H+160|0;break Fb;case 1:c=D[e+4|0];if(!(A[C[o+4>>2]+140|0]&1|c&64)){break Fb}C[j>>2]=o;C[j+4>>2]=e;b=D[e+28|0]|D[e+29|0]<<8|(D[e+30|0]<<16|D[e+31|0]<<24);C[j+44>>2]=0;A[j+48|0]=c>>>6&1;c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=e+12|0;C[j+8>>2]=c+b;c=C[C[o+8>>2]+16>>2];C[j+56>>2]=C[o+16>>2];C[j+52>>2]=b;b=C[c+32>>2];if((b|0)==-1){b=Rg(c)}C[j+60>>2]=b;b=C[j+56>>2];C[b+76>>2]=0;Sb:{if(!D[b+72|0]){break Sb}while(1){f=C[b+76>>2];c=0;Tb:{if(f>>>0>=F[b+80>>2]){break Tb}g=C[C[b+92>>2]+I(f,20)>>2];c=2;if((g|0)==65535){break Tb}b=C[j+52>>2];f=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=Wg((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+b|0,g,C[j+60>>2]);c=1;if(!b){break Tb}b=D[b|0]|D[b+1|0]<<8;c=(b<<8|b>>>8)&65535}f=C[j+56>>2];b=C[j+52>>2];g=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);n=h>>>0>c>>>0;u=I(h,i);g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);l=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=((n?c:1)+u<<1)+l|0;g=D[g|0]|D[g+1|0]<<8;k=I((g<<8|g>>>8)&65535,6);g=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);r=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=k+r|0;k=D[g|0]|D[g+1|0]<<8;Ub:{Vb:{if((D[g+4|0]|D[g+5|0]<<8)!=65535){break Vb}Wb:{if(!i){break Wb}i=D[g+2|0]|D[g+3|0]<<8;if(!(i&64?k:1)){break Wb}b=l+((n?c:1)<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=r+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)!=65535|(k|0)!=(D[b|0]|D[b+1|0]<<8)|(i^(D[b+2|0]|D[b+3|0]<<8))&64){break Vb}}b=l+(u+!h<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=r+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)==65535){break Ub}}b=C[f+76>>2];c=D[f+73|0]?C[f+84>>2]:b;if(!c|b>>>0>=F[f+80>>2]){break Ub}Xg(f,c-1|0,b+1|0)}b=D[g+2|0]|D[g+3|0]<<8;b=b<<8|b>>>8;f=b<<16>>16;c=C[j+56>>2];if(b&8192){C[j+44>>2]=0}Xb:{if((f|0)>=0){break Xb}b=C[j+44>>2];if(b>>>0<=7){f=C[c+76>>2];C[j+44>>2]=b+1;C[((b<<2)+j|0)+12>>2]=f;break Xb}C[j+44>>2]=0}f=D[g+4|0]|D[g+5|0]<<8;Yb:{if((f|0)==65535){break Yb}i=C[j+44>>2];if(!i){break Yb}Zb:{b=C[j+4>>2];b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=b>>>0<=1?1:b;_b:{if(4294967295/(h>>>0)>>>0<=i>>>0){break _b}n=I(h,i);if(n>>>0>2147483646){break _b}f=C[j+8>>2]+((f<<8|f>>>8)&65534)|0;b=C[j>>2];if(!n){break Zb}if(F[b+24>>2]>f>>>0){break _b}l=C[b+28>>2];if(l>>>0>>0){break _b}n=n<<1;if(n>>>0>l-f>>>0){break _b}n=C[b+32>>2]-n|0;C[b+32>>2]=n;if((n|0)>0){break Zb}}C[j+44>>2]=0;break Yb}n=C[C[b+4>>2]+132>>2];r=h<<1;while(1){i=i-1|0;C[j+44>>2]=i;b=C[((i<<2)+j|0)+12>>2];if(b>>>0>2]){i=D[f|0]|D[f+1|0]<<8;h=(i<<8|i>>>8)<<16>>16;i=h&-2;u=h&1;h=I(b,20);b=h+C[c+100>>2]|0;l=D[j+48|0];$b:{if((C[c+52>>2]&-2)==4){if(l){if((i|0)==-32768){B[b+16>>1]=0;A[b+18|0]=0;C[b+12>>2]=0;break $b}if(!D[b+18|0]){break $b}l=C[b+12>>2];h=C[C[j>>2]+8>>2];i=mT(C[h+40>>2],C[h+44>>2],i,i>>31);h=Ee;i=i+32768|0;C[b+12>>2]=(((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16)+l;C[c+36>>2]=C[c+36>>2]|8;break $b}if(!(n&C[(h+C[c+92>>2]|0)+4>>2])){break $b}h=C[C[j>>2]+8>>2];i=mT(C[h+32>>2],C[h+36>>2],i,i>>31);l=Ee;i=i+32768|0;i=((i>>>0<32768?l+1|0:l)&65535)<<16|i>>>16;C[b>>2]=i+C[b>>2];C[b+8>>2]=i+C[b+8>>2];break $b}if(l){if((i|0)==-32768){B[b+16>>1]=0;A[b+18|0]=0;C[b+8>>2]=0;break $b}if(!D[b+18|0]){break $b}l=C[b+8>>2];h=C[C[j>>2]+8>>2];i=mT(C[h+32>>2],C[h+36>>2],i,i>>31);h=Ee;i=i+32768|0;C[b+8>>2]=(((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16)+l;C[c+36>>2]=C[c+36>>2]|8;break $b}if(!(n&C[(h+C[c+92>>2]|0)+4>>2])){break $b}h=C[C[j>>2]+8>>2];i=mT(C[h+40>>2],C[h+44>>2],i,i>>31);l=Ee;i=i+32768|0;i=((i>>>0<32768?l+1|0:l)&65535)<<16|i>>>16;C[b+4>>2]=i+C[b+4>>2];C[b+12>>2]=i+C[b+12>>2]}if(u){break Yb}i=C[j+44>>2]}f=f+r|0;if(i){continue}break}}b=C[j+56>>2];i=C[b+76>>2];if((i|0)==C[b+80>>2]|!D[b+72|0]){break Sb}k=k<<8|k>>>8;ac:{if(D[g+2|0]&64){c=C[b+44>>2];C[b+44>>2]=c-1;if((c|0)>0){break ac}}if(D[b+73|0]){bc:{if(C[b+96>>2]==C[b+92>>2]){c=i;if(C[b+84>>2]==(c|0)){break bc}}if(!$e(b,1,1)){break ac}f=C[b+92>>2]+I(C[b+76>>2],20)|0;g=C[f+4>>2];c=C[b+96>>2]+I(C[b+84>>2],20)|0;C[c>>2]=C[f>>2];C[c+4>>2]=g;C[c+16>>2]=C[f+16>>2];g=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=g;i=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=i+1}i=k&65535;b=C[j+56>>2];if(D[b+72|0]){continue}break}}i=1;break Fb;case 2:b=C[o+4>>2];if(!(A[b+140|0]&1)){break Fb}c=D[e+4|0];if(c&16){break Fb}C[j>>2]=e;i=1;C[j+4>>2]=o;A[j+56|0]=c>>>6&1;C[j+52>>2]=j;w=C[b+132>>2];f=0;R=Ce-160|0;Ce=R;y=C[o+8>>2];r=C[o+16>>2];b=Ah(R+12|0,1,y,r);C[b+120>>2]=w;C[b+132>>2]=8;C[b+36>>2]=0;C[b+8>>2]=b;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+52>>2]=b;C[b+20>>2]=w;A[b+17|0]=D[b+142|0];C[b+12>>2]=8;C[b+72>>2]=0;C[b+76>>2]=0;C[b- -64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=8;c=C[b+124>>2]==1;A[b+16|0]=c;A[b+60|0]=c|D[b+141|0]!=0;g=C[r+80>>2];if(g){S=b+4|0;u=C[r+100>>2];H=C[r+92>>2];z=(C[r+52>>2]&-2)!=4;while(1){cc:{dc:{T=I(f,20);h=T+H|0;if(!(w&C[h+4>>2])){break dc}C[b+40>>2]=1;C[b+4>>2]=f;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];A[b+24|0]=C[c+76>>2]==(f|0)?D[(T+C[c+92>>2]|0)+15|0]:0;if(!Sg(S)){break dc}X=C[S>>2];x=I(X,20);N=C[x+H>>2];n=0;k=0;v=C[j+52>>2];l=C[v>>2];c=D[l+16|0]|D[l+17|0]<<8|(D[l+18|0]<<16|D[l+19|0]<<24);M=C[h>>2];v=C[v+4>>2];h=C[v+56>>2];c=Wg((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0,M,h);if(c){c=D[c|0]|D[c+1|0]<<8;k=(c<<8|c>>>8)&65535}c=D[l+20|0]|D[l+21|0]<<8|(D[l+22|0]<<16|D[l+23|0]<<24);c=Wg(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,N,h);if(c){c=D[c|0]|D[c+1|0]<<8;n=(c<<8|c>>>8)&65535}h=0;aa=C[v+24>>2];c=D[l+24|0]|D[l+25|0]<<8|(D[l+26|0]<<16|D[l+27|0]<<24);c=(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0)+(k+n<<1)|0;ec:{fc:{if(aa>>>0>c>>>0){break fc}k=C[v+28>>2];if(k>>>0>>0|k-c>>>0<2){break fc}N=C[v+32>>2]-2|0;C[v+32>>2]=N;if((N|0)<=0){break fc}c=D[c|0]|D[c+1|0]<<8;c=(c<<8|c>>>8)<<16>>16;n=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);n=n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24);if(!n){break ec}if(n>>>0>2147483646){break fc}c=c+l|0;if(c>>>0>>0|c>>>0>k>>>0){break fc}l=k-c|0;k=n<<1;if(l>>>0>>0){break fc}k=N-k|0;C[v+32>>2]=k;if((k|0)<=0){break fc}c=D[c|0]|D[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16}c=h}gc:{if(!c){break gc}hc:{if(!z){c=c<<16>>16;c=mT(C[y+32>>2],C[y+36>>2],c,c>>31);h=Ee;c=c+32768|0;c=((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+12>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break hc}k=u+T|0;h=c>>1;C[k>>2]=h+C[k>>2];k=u+x|0;c=c-h|0;C[k>>2]=c+C[k>>2];C[k+8>>2]=c+C[k+8>>2];break hc}c=c<<16>>16;c=mT(C[y+40>>2],C[y+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+8>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break hc}k=u+T|0;h=c>>1;C[k+4>>2]=h+C[k+4>>2];k=u+x|0;c=c-h|0;C[k+4>>2]=c+C[k+4>>2];C[k+12>>2]=c+C[k+12>>2]}c=X+1|0;if(c-f>>>0<2){break gc}Rf(r,f,c)}f=C[S>>2];break cc}f=f+1|0}if(g>>>0>f>>>0){continue}break}}Ce=R+160|0;break Fb;case 4:C[j>>2]=o;C[j+4>>2]=D[e+28|0]>>>6;b=D[e+31|0];c=D[e+30|0];f=D[e+29|0];C[j+16>>2]=0;A[j+12|0]=0;c=b|(c<<8|f<<16);b=e+12|0;C[j+8>>2]=c+b;c=C[C[o+8>>2]+16>>2];C[j+56>>2]=C[o+16>>2];C[j+52>>2]=b;b=C[c+32>>2];if((b|0)==-1){b=Rg(c)}C[j+60>>2]=b;b=C[j+56>>2];C[b+76>>2]=0;ic:{if(!D[b+72|0]){break ic}while(1){f=C[b+76>>2];c=0;jc:{if(f>>>0>=F[b+80>>2]){break jc}g=C[C[b+92>>2]+I(f,20)>>2];c=2;if((g|0)==65535){break jc}b=C[j+52>>2];f=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=Wg((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+b|0,g,C[j+60>>2]);c=1;if(!b){break jc}b=D[b|0]|D[b+1|0]<<8;c=(b<<8|b>>>8)&65535}f=C[j+56>>2];b=C[j+52>>2];g=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h=k>>>0>c>>>0;r=I(i,k);g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);l=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=((h?c:1)+r<<1)+l|0;g=D[g|0]|D[g+1|0]<<8;n=I((g<<8|g>>>8)&65535,6);g=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);g=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;n=n+g|0;u=D[n|0]|D[n+1|0]<<8;kc:{lc:{if((D[n+4|0]|D[n+5|0]<<8)!=65535){break lc}mc:{if(!i){break mc}i=D[n+2|0]|D[n+3|0]<<8;if(!(i&64?u:1)){break mc}b=l+((h?c:1)<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=g+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)!=65535|(u|0)!=(D[b|0]|D[b+1|0]<<8)|(i^(D[b+2|0]|D[b+3|0]<<8))&64){break lc}}b=l+(r+!k<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=g+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)==65535){break kc}}b=C[f+76>>2];c=D[f+73|0]?C[f+84>>2]:b;if(!c|b>>>0>=F[f+80>>2]){break kc}Xg(f,c-1|0,b+1|0)}f=Ce-32|0;Ce=f;r=C[j+56>>2];nc:{oc:{if(!D[j+12|0]){break oc}b=D[n+4|0]|D[n+5|0]<<8;if((b|0)==65535){break oc}v=C[r+76>>2];if(v>>>0>=F[r+80>>2]){break oc}b=(b<<8|b>>>8)&65535;y=C[r+100>>2];pc:{qc:{switch(C[j+4>>2]){case 0:b=C[j+8>>2]+(b<<2)|0;c=C[j>>2];if(b>>>0>2]){break nc}g=C[c+28>>2];if(g>>>0>>0|g-b>>>0<4){break nc}g=C[c+32>>2]-4|0;C[c+32>>2]=g;if((g|0)<=0){break nc}k=D[b+2|0]|D[b+3|0]<<8;g=D[b|0]|D[b+1|0]<<8;C[f+12>>2]=0;C[f+8>>2]=0;i=C[C[C[c+16>>2]+92>>2]+I(C[j+16>>2],20)>>2];b=C[c+8>>2];C[f+20>>2]=0;C[f+16>>2]=0;c=C[b+72>>2];if(!(Fe[C[c+204>>2]](b,C[b+76>>2],i,(g<<8|g>>>8)&65535,f+20|0,f+16|0,C[c+68>>2])|0)){break nc}Aj(b,i,f+28|0,f+24|0);C[f+20>>2]=C[f+20>>2]-C[f+28>>2];C[f+16>>2]=C[f+16>>2]-C[f+24>>2];b=C[j>>2];c=C[b+8>>2];b=C[b+16>>2];h=C[C[b+92>>2]+I(C[b+76>>2],20)>>2];b=Ce-16|0;Ce=b;g=f+8|0;C[g>>2]=0;i=f+12|0;C[i>>2]=0;l=(k<<8|(k&65280)>>>8)&65535;k=C[c+72>>2];k=Fe[C[k+204>>2]](c,C[c+76>>2],h,l,i,g,C[k+68>>2])|0;if(k){Aj(c,h,b+12|0,b+8|0);C[i>>2]=C[i>>2]-C[b+12>>2];C[g>>2]=C[g>>2]-C[b+8>>2]}Ce=b+16|0;if(!k){break nc}b=y+I(v,20)|0;C[b+8>>2]=C[f+20>>2]-C[f+12>>2];C[b+12>>2]=C[f+16>>2]-C[f+8>>2];break pc;case 1:b=C[j+8>>2]+(b<<2)|0;c=C[j>>2];if(b>>>0>2]){break nc}g=C[c+28>>2];if(g>>>0>>0|g-b>>>0<4){break nc}g=C[c+32>>2]-4|0;C[c+32>>2]=g;if((g|0)<=0){break nc}h=D[b+2|0]|D[b+3|0]<<8;l=D[b|0]|D[b+1|0]<<8;k=205712;i=205712;b=C[c+64>>2];g=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=Wg(g?b+g|0:206120,C[C[C[c+16>>2]+92>>2]+I(C[j+16>>2],20)>>2],C[c+56>>2]);if(g){c=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);c=b+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;b=D[g|0]|D[g+1|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);g=(l<<8|(l&65280)>>>8)&65535;i=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<=g>>>0?205712:(b+(g<<2)|0)+4|0}g=C[j>>2];b=C[g+64>>2];c=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=c?b+c|0:206120;c=C[g+16>>2];g=Wg(l,C[C[c+92>>2]+I(C[c+76>>2],20)>>2],C[g+56>>2]);if(g){c=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);c=b+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;b=D[g|0]|D[g+1|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);g=(h<<8|h>>>8)&65535;k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<=g>>>0?205712:(b+(g<<2)|0)+4|0}b=y+I(v,20)|0;g=C[C[j>>2]+8>>2];c=C[g+32>>2];x=C[g+36>>2];h=D[i|0]|D[i+1|0]<<8;h=(h<<8|h>>>8)<<16>>16;h=mT(c,x,h,h>>31);l=Ee;h=h+32768|0;l=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;M=c;h=D[k|0]|D[k+1|0]<<8;c=(h<<8|h>>>8)<<16>>16;c=mT(M,x,c,c>>31);h=Ee;c=c+32768|0;C[b+8>>2]=l-(((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16);c=C[g+40>>2];g=C[g+44>>2];i=D[i+2|0]|D[i+3|0]<<8;i=(i<<8|i>>>8)<<16>>16;i=mT(c,g,i,i>>31);l=Ee;i=i+32768|0;i=((i>>>0<32768?l+1|0:l)&65535)<<16|i>>>16;h=c;k=D[k+2|0]|D[k+3|0]<<8;c=(k<<8|k>>>8)<<16>>16;c=mT(h,g,c,c>>31);l=Ee;c=c+32768|0;C[b+12>>2]=i-(((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16);break pc;case 2:break qc;default:break pc}}g=C[j+8>>2]+(b<<3)|0;c=C[j>>2];if(g>>>0>2]){break nc}b=C[c+28>>2];if(b>>>0>>0|b-g>>>0<8){break nc}b=C[c+32>>2]-8|0;C[c+32>>2]=b;if((b|0)<=0){break nc}k=D[g+6|0]|D[g+7|0]<<8;x=D[g+2|0]|D[g+3|0]<<8;i=C[c+8>>2];c=C[i+32>>2];l=C[i+36>>2];h=D[g|0]|D[g+1|0]<<8;h=(h<<8|h>>>8)<<16>>16;w=mT(c,l,h,h>>31);h=Ee;b=c;g=D[g+4|0]|D[g+5|0]<<8;c=(g<<8|g>>>8)<<16>>16;c=mT(b,l,c,c>>31);l=Ee;b=y+I(v,20)|0;w=w+32768|0;c=c+32768|0;C[b+8>>2]=(((w>>>0<32768?h+1|0:h)&65535)<<16|w>>>16)-(((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16);c=C[i+40>>2];i=C[i+44>>2];g=(x<<8|x>>>8)<<16>>16;g=mT(c,i,g,g>>31);l=Ee;h=c;c=(k<<8|k>>>8)<<16>>16;c=mT(h,i,c,c>>31);h=Ee;g=g+32768|0;c=c+32768|0;C[b+12>>2]=(((g>>>0<32768?l+1|0:l)&65535)<<16|g>>>16)-(((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16)}b=y+I(v,20)|0;A[b+18|0]=1;B[b+16>>1]=C[j+16>>2]-C[r+76>>2];C[r+36>>2]=C[r+36>>2]|8}if(!(D[n+2|0]&128)){break nc}A[j+12|0]=1;C[j+16>>2]=C[r+76>>2]}Ce=f+32|0;b=C[j+56>>2];i=C[b+76>>2];if((i|0)==C[b+80>>2]|!D[b+72|0]){break ic}g=u<<8|u>>>8;rc:{if(D[n+2|0]&64){c=C[b+44>>2];C[b+44>>2]=c-1;if((c|0)>0){break rc}}if(D[b+73|0]){sc:{if(C[b+96>>2]==C[b+92>>2]){c=i;if(C[b+84>>2]==(c|0)){break sc}}if(!$e(b,1,1)){break rc}f=C[b+92>>2]+I(C[b+76>>2],20)|0;i=C[f+4>>2];c=C[b+96>>2]+I(C[b+84>>2],20)|0;C[c>>2]=C[f>>2];C[c+4>>2]=i;C[c+16>>2]=C[f+16>>2];i=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=i;i=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=i+1}i=g&65535;b=C[j+56>>2];if(D[b+72|0]){continue}break}}i=1;break Fb;case 6:break Gb;default:break Fb}}b=C[o+4>>2];if(!(A[b+140|0]&1)){break Fb}c=D[e+4|0];if(c&16){break Fb}C[j>>2]=e;i=1;C[j+4>>2]=o;A[j+56|0]=c>>>6&1;C[j+52>>2]=j;T=C[b+132>>2];f=0;N=Ce-160|0;Ce=N;y=C[o+8>>2];u=C[o+16>>2];k=Ah(N+12|0,1,y,u);C[k+120>>2]=T;C[k+132>>2]=8;C[k+36>>2]=0;C[k+8>>2]=k;C[k+28>>2]=0;C[k+32>>2]=0;C[k+80>>2]=0;C[k+52>>2]=k;C[k+20>>2]=T;A[k+17|0]=D[k+142|0];C[k+12>>2]=8;C[k+72>>2]=0;C[k+76>>2]=0;C[k- -64>>2]=-1;A[k+61|0]=1;C[k+56>>2]=8;b=C[k+124>>2]==1;A[k+16|0]=b;A[k+60|0]=b|D[k+141|0]!=0;n=C[u+80>>2];if(n){R=k+4|0;v=C[u+100>>2];z=C[u+92>>2];aa=(C[u+52>>2]&-2)!=4;while(1){tc:{uc:{H=I(f,20);c=H+z|0;if(!(T&C[c+4>>2])){break uc}C[k+40>>2]=1;C[k+4>>2]=f;b=C[C[k+8>>2]+100>>2];C[k+44>>2]=C[b+80>>2];A[k+24|0]=C[b+76>>2]==(f|0)?D[(H+C[b+92>>2]|0)+15|0]:0;if(!Sg(R)){break uc}c=C[c>>2];ca=C[R>>2];x=I(ca,20);w=C[x+z>>2];g=0;h=C[j+52>>2];l=C[h>>2];b=D[l+20|0]|D[l+21|0]<<8|(D[l+22|0]<<16|D[l+23|0]<<24);b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0;r=C[h+4>>2];S=C[r+56>>2];vc:{wc:{xc:{if(A[l+15|0]&1){h=Ly(b,c,S);b=D[l+24|0]|D[l+25|0]<<8|(D[l+26|0]<<16|D[l+27|0]<<24);c=Ly(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,w,S);b=h+c|0;if(b>>>0>>0|b>>>0>1073741822){break wc}S=C[r+24>>2];c=D[l+28|0]|D[l+29|0]<<8|(D[l+30|0]<<16|D[l+31|0]<<24);b=(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0)+(b<<2)|0;if(S>>>0>b>>>0){break wc}c=C[r+28>>2];if(c>>>0>>0|c-b>>>0<4){break wc}w=C[r+32>>2]-4|0;C[r+32>>2]=w;if((w|0)<=0){break wc}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!h){break vc}if(h>>>0>2147483646){break wc}M=b;b=D[l+32|0]|D[l+33|0]<<8|(D[l+34|0]<<16|D[l+35|0]<<24);b=M+(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0)|0;if(S>>>0>b>>>0|b>>>0>c>>>0){break wc}l=c-b|0;c=h<<1;if(l>>>0>>0){break wc}c=w-c|0;C[r+32>>2]=c;if((c|0)>0){break xc}break wc}yc:{if((D[b|0]|D[b+1|0]<<8)==2560){zc:{h=D[b+4|0]|D[b+5|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0<=c>>>0){h=c-h|0;X=D[b+6|0]|D[b+7|0]<<8;if(h>>>0<((X<<8|X>>>8)&65535)>>>0){break zc}}b=E[102856];c=b<<8|b>>>8;break yc}c=D[b+2|0]|D[b+3|0]<<8;if(!c){c=0;break yc}M=b;c=(c<<8|c>>>8)&65535;b=I(c,h);b=(b|0)<0?205712:(M+b|0)+8|0;c=c>>>0<=1?1:c;X=c&3;if(c-1>>>0<3){c=0}else{da=c&65532;c=0;while(1){h=b;b=b+4|0;c=c+4|0;if((da|0)!=(c|0)){continue}break}c=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(!X){break yc}while(1){c=D[b|0]|c<<8;b=b+1|0;g=g+1|0;if((X|0)!=(g|0)){continue}break}break yc}b=Wg(b,c,S);b=b?b:205712;b=D[b|0]|D[b+1|0]<<8;c=b<<8|b>>>8}X=c&65535;b=D[l+24|0]|D[l+25|0]<<8|(D[l+26|0]<<16|D[l+27|0]<<24);b=l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;Ac:{if((D[b|0]|D[b+1|0]<<8)==2560){Bc:{c=D[b+4|0]|D[b+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=w>>>0){h=w-c|0;g=D[b+6|0]|D[b+7|0]<<8;if(h>>>0<((g<<8|g>>>8)&65535)>>>0){break Bc}}b=E[102856];c=b<<8|b>>>8;break Ac}c=D[b+2|0]|D[b+3|0]<<8;if(!c){c=0;break Ac}g=0;M=b;c=(c<<8|c>>>8)&65535;b=I(c,h);b=(b|0)<0?205712:(M+b|0)+8|0;c=c>>>0<=1?1:c;w=c&3;if(c-1>>>0<3){c=0}else{S=c&65532;c=0;while(1){h=b;b=b+4|0;c=c+4|0;if((S|0)!=(c|0)){continue}break}c=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(!w){break Ac}while(1){c=D[b|0]|c<<8;b=b+1|0;g=g+1|0;if((w|0)!=(g|0)){continue}break}break Ac}b=Wg(b,w,S);b=b?b:205712;b=D[b|0]|D[b+1|0]<<8;c=b<<8|b>>>8}g=0;S=C[r+24>>2];b=D[l+28|0]|D[l+29|0]<<8|(D[l+30|0]<<16|D[l+31|0]<<24);b=(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0)+(X+(c&65535)<<1)|0;if(S>>>0>b>>>0){break wc}c=C[r+28>>2];if(c>>>0>>0|c-b>>>0<2){break wc}w=C[r+32>>2]-2|0;C[r+32>>2]=w;if((w|0)<=0){break wc}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;h=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!h){break vc}if(h>>>0>2147483646){break wc}M=b;b=D[l+32|0]|D[l+33|0]<<8|(D[l+34|0]<<16|D[l+35|0]<<24);b=M+(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0)|0;if(S>>>0>b>>>0|b>>>0>c>>>0){break wc}l=c-b|0;c=h<<1;if(l>>>0>>0){break wc}c=w-c|0;C[r+32>>2]=c;if((c|0)<=0){break wc}}b=D[b|0]|D[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16}b=g}Cc:{if(!b){break Cc}Dc:{if(!aa){b=b<<16>>16;b=mT(C[y+32>>2],C[y+36>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[j+56|0]){C[(v+x|0)+12>>2]=b;C[u+36>>2]=C[u+36>>2]|8;break Dc}c=v+H|0;g=b>>1;C[c>>2]=g+C[c>>2];c=v+x|0;b=b-g|0;C[c>>2]=b+C[c>>2];C[c+8>>2]=b+C[c+8>>2];break Dc}b=b<<16>>16;b=mT(C[y+40>>2],C[y+44>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[j+56|0]){C[(v+x|0)+8>>2]=b;C[u+36>>2]=C[u+36>>2]|8;break Dc}c=v+H|0;g=b>>1;C[c+4>>2]=g+C[c+4>>2];c=v+x|0;b=b-g|0;C[c+4>>2]=b+C[c+4>>2];C[c+12>>2]=b+C[c+12>>2]}b=ca+1|0;if(b-f>>>0<2){break Cc}Rf(u,f,b)}f=C[R>>2];break tc}f=f+1|0}if(n>>>0>f>>>0){continue}break}}Ce=N+160|0}Ce=j- -64|0;b=C[o+52>>2];c=C[b+12>>2];C[o+24>>2]=c;C[o+28>>2]=c+C[b+16>>2];Ec:{if(W){break Ec}g=C[o+16>>2];j=C[g+80>>2];if(j>>>0>=2){k=C[g+92>>2];h=j-1|0;c=0;while(1){b=k+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=k+I(c,20)|0;C[b+16>>2]=C[f+16>>2];n=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=n;n=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=n;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}if(!D[g+74|0]){break Ec}b=C[g+80>>2];b=b>>>0>>0?b:j;if(b>>>0<2){break Ec}g=C[g+100>>2];h=b-1|0;c=0;while(1){b=g+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=g+I(c,20)|0;C[b+16>>2]=C[f+16>>2];j=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=j;j=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=j;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}Y=i|Y;b=C[o+8>>2];c=C[o+16>>2];C[s>>2]=C[o+72>>2];Hf(c,b,21392,s)}b=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=C[o+72>>2]+1|0;C[o+72>>2]=h;e=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+e|0;_=_+1|0;if((Z|0)!=(_|0)){continue}break}}Ce=s+48|0;Hf(m,q,1676,0)}Ue(C[o+52>>2]);Ce=Q+80|0}b=E[P+140>>1];Fc:{if(b&1024){s=0;g=0;_=0;S=Ce-80|0;Ce=S;c=Ce-48|0;Ce=c;f=C[q+16>>2]+128|0;b=C[f>>2];Gc:{if(b){break Gc}i=f-80|0;while(1){e=C[i>>2];if(!e){b=205712;break Gc}b=c;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;j=Qf(e);A[b+40|0]=1;C[b+36>>2]=j;e=Jy(b,Of(e,1801810542));if(!e){e=205712}b=C[f>>2];if(!b){C[f>>2]=e;b=e;break Gc}if(!e){break Gc}if((e|0)!=205712){Ue(e)}b=C[f>>2];if(!b){continue}break}}Ce=c+48|0;c=C[b+16>>2];e=C[b+12>>2];k=hl(S+4|0,P,q,m,b);if(Hf(m,q,11895,0)){Hc:{Ic:{Jc:{c=c>>>0<4?205712:e;b=D[c|0]|D[c+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Ic;case 0:break Jc;default:break Hc}}b=0;j=Ce-48|0;Ce=j;C[k+72>>2]=0;e=D[c+2|0]|D[c+3|0]<<8;if(e){e=(e<<8|e>>>8)&65535;Y=e>>>0<=1?1:e;Q=e-1|0;e=c+4|0;while(1){c=C[k+16>>2];f=C[c+52>>2];Kc:{if((A[e+5|0]&1)==((f&-2)!=4|0)){break Kc}i=C[k+8>>2];C[j+16>>2]=b;if(!Hf(c,i,21374,j+16|0)){break Kc}i=f&-3;b=1;Lc:{if(g){break Lc}b=0;if(!(D[e+5|0]&4)){break Lc}f=C[k+16>>2];c=C[f+80>>2];b=1;if(!c){break Lc}f=C[f+100>>2];p=0;if((c|0)!=1){g=c&-2;b=0;while(1){h=f+I(p,20)|0;A[h+18|0]=2;B[h+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;h=f+I(p|1,20)|0;A[h+18|0]=2;B[h+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;p=p+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}b=1;if(!(c&1)){break Lc}b=f+I(p,20)|0;A[b+18|0]=2;B[b+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;b=1}g=b;Z=(i|0)!=5;Mc:{if(Z){break Mc}i=C[k+16>>2];h=C[i+80>>2];if(h>>>0>=2){n=C[i+92>>2];b=h-1|0;p=0;while(1){c=n+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=n+I(p,20)|0;C[c+16>>2]=C[f+16>>2];t=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=t;t=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=t;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[i+74|0]){break Mc}b=C[i+80>>2];b=b>>>0>>0?b:h;if(b>>>0<2){break Mc}i=C[i+100>>2];b=b-1|0;p=0;while(1){c=i+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=i+I(p,20)|0;C[c+16>>2]=C[f+16>>2];h=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=h;h=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=h;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}c=C[k+52>>2];b=C[c+12>>2];C[k+24>>2]=b;c=b+C[c+16>>2]|0;C[k+28>>2]=c;Nc:{if(!e|s>>>0>=Q>>>0){break Nc}if(!(b>>>0<=e>>>0&c>>>0>e>>>0)){C[k+24>>2]=0;C[k+28>>2]=0;break Nc}C[k+24>>2]=e;b=c-e|0;c=D[e+2|0]|D[e+3|0]<<8;c=(c<<8|c>>>8)&65535;C[k+28>>2]=(b>>>0>>0?b:c)+e}b=0;t=Ce-16|0;Ce=t;Oc:{Pc:{Qc:{switch(D[e+4|0]){case 0:c=C[k+4>>2];if(!(A[c+140|0]&1)){break Oc}b=D[e+5|0];C[t+8>>2]=e;C[t+12>>2]=k;A[t+4|0]=b>>>2&1;C[t>>2]=t+8;v=C[c+132>>2];b=0;w=Ce-160|0;Ce=w;u=C[k+8>>2];p=C[k+16>>2];f=Ah(w+12|0,1,u,p);C[f+120>>2]=v;C[f+132>>2]=8;C[f+36>>2]=0;C[f+8>>2]=f;C[f+28>>2]=0;C[f+32>>2]=0;C[f+80>>2]=0;C[f+52>>2]=f;C[f+20>>2]=v;A[f+17|0]=D[f+142|0];C[f+12>>2]=8;C[f+72>>2]=0;C[f+76>>2]=0;C[f- -64>>2]=-1;A[f+61|0]=1;C[f+56>>2]=8;c=C[f+124>>2]==1;A[f+16|0]=c;A[f+60|0]=c|D[f+141|0]!=0;V=C[p+80>>2];if(V){y=f+4|0;o=C[p+100>>2];T=C[p+92>>2];W=(C[p+52>>2]&-2)!=4;while(1){i=b;Rc:{Sc:{x=I(b,20);n=x+T|0;if(!(v&C[n+4>>2])){break Sc}C[f+40>>2]=1;C[f+4>>2]=i;b=C[C[f+8>>2]+100>>2];C[f+44>>2]=C[b+80>>2];A[f+24|0]=(i|0)==C[b+76>>2]?D[(x+C[b+92>>2]|0)+15|0]:0;if(!Sg(y)){break Sc}b=C[y>>2];r=I(b,20);c=C[C[t>>2]>>2];h=D[c+6|0]|D[c+7|0]<<8;Tc:{if(h){N=c+14|0;l=C[r+T>>2];R=C[n>>2];c=((h<<8|h>>>8)&65535)-1|0;n=0;while(1){Uc:{Vc:{H=c+n>>>1|0;h=N+I(H,6)|0;z=D[h|0]|D[h+1|0]<<8;z=(z<<8|z>>>8)&65535;Wc:{if((z|0)==(R|0)){z=D[h+2|0]|D[h+3|0]<<8;z=(z<<8|z>>>8)&65535;if(z>>>0>l>>>0){break Wc}if((l|0)==(z|0)){break Tc}break Vc}if(z>>>0<=R>>>0){break Vc}}c=H-1|0;break Uc}n=H+1|0}if((c|0)>=(n|0)){continue}break}}h=205712}c=D[h+4|0]|D[h+5|0]<<8;if(!c){break Rc}c=c<<8|c>>>8;Xc:{if(!W){c=c<<16>>16;c=mT(C[u+32>>2],C[u+36>>2],c,c>>31);h=Ee;c=c+32768|0;c=((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16;if(D[t+4|0]){C[(o+r|0)+12>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break Xc}h=o+x|0;n=c>>1;C[h>>2]=n+C[h>>2];h=o+r|0;c=c-n|0;C[h>>2]=c+C[h>>2];C[h+8>>2]=c+C[h+8>>2];break Xc}c=c<<16>>16;c=mT(C[u+40>>2],C[u+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[t+4|0]){C[(o+r|0)+8>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break Xc}h=o+x|0;n=c>>1;C[h+4>>2]=n+C[h+4>>2];h=o+r|0;c=c-n|0;C[h+4>>2]=c+C[h+4>>2];C[h+12>>2]=c+C[h+12>>2]}c=b+1|0;if(c-i>>>0<2){break Rc}Rf(p,i,c);b=C[y>>2];break Rc}b=i+1|0}if(b>>>0>>0){continue}break}}Ce=w+160|0;break Pc;case 2:break Qc;default:break Oc}}c=C[k+4>>2];if(!(A[c+140|0]&1)){break Oc}b=D[e+5|0];C[t+8>>2]=e;C[t+12>>2]=k;A[t+4|0]=b>>>2&1;C[t>>2]=t+8;y=C[c+132>>2];n=0;T=Ce-160|0;Ce=T;u=C[k+8>>2];o=C[k+16>>2];c=Ah(T+12|0,1,u,o);C[c+120>>2]=y;C[c+132>>2]=8;C[c+36>>2]=0;C[c+8>>2]=c;C[c+28>>2]=0;C[c+32>>2]=0;C[c+80>>2]=0;C[c+52>>2]=c;C[c+20>>2]=y;A[c+17|0]=D[c+142|0];C[c+12>>2]=8;C[c+72>>2]=0;C[c+76>>2]=0;C[c- -64>>2]=-1;A[c+61|0]=1;C[c+56>>2]=8;b=C[c+124>>2]==1;A[c+16|0]=b;A[c+60|0]=b|D[c+141|0]!=0;f=C[o+80>>2];if(f){x=c+4|0;r=C[o+100>>2];R=C[o+92>>2];V=(C[o+52>>2]&-2)!=4;while(1){Yc:{Zc:{w=I(n,20);H=w+R|0;if(!(y&C[H+4>>2])){break Zc}C[c+40>>2]=1;C[c+4>>2]=n;b=C[C[c+8>>2]+100>>2];C[c+44>>2]=C[b+80>>2];A[c+24|0]=C[b+76>>2]==(n|0)?D[(w+C[b+92>>2]|0)+15|0]:0;if(!Sg(x)){break Zc}b=C[t>>2];i=C[b>>2];W=C[x>>2];v=I(W,20);N=C[v+R>>2];h=C[b+4>>2];l=0;p=0;M=C[H>>2];b=D[i+8|0]|D[i+9|0]<<8;b=i+((b<<8|b>>>8)&65535)|0;H=D[b|0]|D[b+1|0]<<8;H=M-((H<<8|H>>>8)&65535)|0;z=D[b+2|0]|D[b+3|0]<<8;if(H>>>0<((z<<8|z>>>8)&65535)>>>0){b=b+(H<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;p=(b<<8|b>>>8)&65535}b=D[i+10|0]|D[i+11|0]<<8;b=i+((b<<8|b>>>8)&65535)|0;H=D[b|0]|D[b+1|0]<<8;H=N-((H<<8|H>>>8)&65535)|0;N=D[b+2|0]|D[b+3|0]<<8;if(H>>>0<((N<<8|N>>>8)&65535)>>>0){b=b+(H<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;l=(b<<8|b>>>8)&65535}b=0;l=(i+p|0)+l|0;p=D[i+12|0]|D[i+13|0]<<8;i=i+((p<<8|p>>>8)&65535)|0;i=(l-i&-2)+i|0;_c:{if(i>>>0>2]){break _c}p=C[h+28>>2];if(p>>>0>>0|p-i>>>0<2){break _c}l=h;h=C[h+32>>2]-2|0;C[l+32>>2]=h;if((h|0)<=0){break _c}b=D[i|0]|D[i+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}$c:{if(!b){break $c}ad:{if(!V){b=b<<16>>16;b=mT(C[u+32>>2],C[u+36>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[t+4|0]){C[(r+v|0)+12>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break ad}i=r+w|0;h=b>>1;C[i>>2]=h+C[i>>2];i=r+v|0;b=b-h|0;C[i>>2]=b+C[i>>2];C[i+8>>2]=b+C[i+8>>2];break ad}b=b<<16>>16;b=mT(C[u+40>>2],C[u+44>>2],b,b>>31);h=Ee;b=b+32768|0;b=((b>>>0<32768?h+1|0:h)&65535)<<16|b>>>16;if(D[t+4|0]){C[(r+v|0)+8>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break ad}i=r+w|0;h=b>>1;C[i+4>>2]=h+C[i+4>>2];i=r+v|0;b=b-h|0;C[i+4>>2]=b+C[i+4>>2];C[i+12>>2]=b+C[i+12>>2]}b=W+1|0;if(b-n>>>0<2){break $c}Rf(o,n,b)}n=C[x>>2];break Yc}n=n+1|0}if(f>>>0>n>>>0){continue}break}}Ce=T+160|0}b=1}Ce=t+16|0;i=b;b=C[k+52>>2];c=C[b+12>>2];C[k+24>>2]=c;C[k+28>>2]=c+C[b+16>>2];bd:{if(Z){break bd}h=C[k+16>>2];n=C[h+80>>2];if(n>>>0>=2){t=C[h+92>>2];b=n-1|0;p=0;while(1){c=t+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=t+I(p,20)|0;C[c+16>>2]=C[f+16>>2];o=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=o;o=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=o;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[h+74|0]){break bd}b=C[h+80>>2];b=b>>>0>>0?b:n;if(b>>>0<2){break bd}h=C[h+100>>2];b=b-1|0;p=0;while(1){c=h+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=h+I(p,20)|0;C[c+16>>2]=C[f+16>>2];n=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=n;n=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=n;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}_=i|_;b=C[k+8>>2];c=C[k+16>>2];C[j>>2]=C[k+72>>2];Hf(c,b,21392,j)}c=D[e+2|0]|D[e+3|0]<<8;b=C[k+72>>2]+1|0;C[k+72>>2]=b;e=((c<<8|c>>>8)&65535)+e|0;s=s+1|0;if((Y|0)!=(s|0)){continue}break}}Ce=j+48|0;break Hc}b=0;t=Ce-48|0;Ce=t;C[k+72>>2]=0;e=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);T=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(T){R=T-1|0;e=c+8|0;while(1){c=D[e+4|0];cd:{if(c&32){break cd}f=C[k+16>>2];i=C[f+52>>2];if(((i&-2)!=4|0)==(c<<24>>24>=0|0)){break cd}c=C[k+8>>2];C[t+16>>2]=b;if(!Hf(f,c,21374,t+16|0)){break cd}i=i&-3;b=1;dd:{if(g){break dd}b=0;if(!(D[e+4|0]&64)){break dd}f=C[k+16>>2];c=C[f+80>>2];b=1;if(!c){break dd}f=C[f+100>>2];p=0;if((c|0)!=1){g=c&-2;b=0;while(1){j=f+I(p,20)|0;A[j+18|0]=2;B[j+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;j=f+I(p|1,20)|0;A[j+18|0]=2;B[j+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;p=p+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}b=1;if(!(c&1)){break dd}b=f+I(p,20)|0;A[b+18|0]=2;B[b+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;b=1}g=b;Z=(i|0)!=5;ed:{if(Z){break ed}i=C[k+16>>2];j=C[i+80>>2];if(j>>>0>=2){h=C[i+92>>2];b=j-1|0;p=0;while(1){c=h+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=h+I(p,20)|0;C[c+16>>2]=C[f+16>>2];n=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=n;n=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=n;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[i+74|0]){break ed}b=C[i+80>>2];b=b>>>0>>0?b:j;if(b>>>0<2){break ed}i=C[i+100>>2];b=b-1|0;p=0;while(1){c=i+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=i+I(p,20)|0;C[c+16>>2]=C[f+16>>2];j=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=j;j=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=j;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}c=C[k+52>>2];b=C[c+12>>2];C[k+24>>2]=b;c=b+C[c+16>>2]|0;C[k+28>>2]=c;fd:{if(s>>>0>=R>>>0){break fd}f=b;b=s>>>0>>0?e:0;if(!(f>>>0<=b>>>0&b>>>0>>0)){C[k+24>>2]=0;C[k+28>>2]=0;break fd}C[k+24>>2]=b;f=c-b|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C[k+28>>2]=b+(c>>>0>f>>>0?f:c)}b=0;j=Ce+-64|0;Ce=j;gd:{hd:{id:{switch(D[e+5|0]){case 0:c=C[k+4>>2];if(!(A[c+140|0]&1)){break gd}b=D[e+4|0];C[j+12>>2]=e;C[j+16>>2]=k;A[j+4|0]=b>>>6&1;C[j>>2]=j+12;v=C[c+132>>2];b=0;w=Ce-160|0;Ce=w;u=C[k+8>>2];p=C[k+16>>2];f=Ah(w+12|0,1,u,p);C[f+120>>2]=v;C[f+132>>2]=8;C[f+36>>2]=0;C[f+8>>2]=f;C[f+28>>2]=0;C[f+32>>2]=0;C[f+80>>2]=0;C[f+52>>2]=f;C[f+20>>2]=v;A[f+17|0]=D[f+142|0];C[f+12>>2]=8;C[f+72>>2]=0;C[f+76>>2]=0;C[f- -64>>2]=-1;A[f+61|0]=1;C[f+56>>2]=8;c=C[f+124>>2]==1;A[f+16|0]=c;A[f+60|0]=c|D[f+141|0]!=0;V=C[p+80>>2];if(V){y=f+4|0;o=C[p+100>>2];H=C[p+92>>2];W=(C[p+52>>2]&-2)!=4;while(1){i=b;jd:{kd:{x=I(b,20);n=x+H|0;if(!(v&C[n+4>>2])){break kd}C[f+40>>2]=1;C[f+4>>2]=i;b=C[C[f+8>>2]+100>>2];C[f+44>>2]=C[b+80>>2];A[f+24|0]=(i|0)==C[b+76>>2]?D[(x+C[b+92>>2]|0)+15|0]:0;if(!Sg(y)){break kd}b=C[y>>2];r=I(b,20);c=C[C[j>>2]>>2];h=D[c+8|0]|D[c+9|0]<<8;ld:{if(h){N=c+16|0;l=C[r+H>>2];Y=C[n>>2];c=((h<<8|h>>>8)&65535)-1|0;n=0;while(1){md:{nd:{Q=c+n>>>1|0;h=N+I(Q,6)|0;z=D[h|0]|D[h+1|0]<<8;z=(z<<8|z>>>8)&65535;od:{if((z|0)==(Y|0)){z=D[h+2|0]|D[h+3|0]<<8;z=(z<<8|z>>>8)&65535;if(z>>>0>l>>>0){break od}if((l|0)==(z|0)){break ld}break nd}if(z>>>0<=Y>>>0){break nd}}c=Q-1|0;break md}n=Q+1|0}if((c|0)>=(n|0)){continue}break}}h=205712}c=D[h+4|0]|D[h+5|0]<<8;if(!c){break jd}c=c<<8|c>>>8;pd:{if(!W){c=c<<16>>16;c=mT(C[u+32>>2],C[u+36>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+4|0]){C[(o+r|0)+12>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break pd}h=o+x|0;n=c>>1;C[h>>2]=n+C[h>>2];h=o+r|0;c=c-n|0;C[h>>2]=c+C[h>>2];C[h+8>>2]=c+C[h+8>>2];break pd}c=c<<16>>16;c=mT(C[u+40>>2],C[u+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+4|0]){C[(o+r|0)+8>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break pd}h=o+x|0;n=c>>1;C[h+4>>2]=n+C[h+4>>2];h=o+r|0;c=c-n|0;C[h+4>>2]=c+C[h+4>>2];C[h+12>>2]=c+C[h+12>>2]}c=b+1|0;if(c-i>>>0<2){break jd}Rf(p,i,c);b=C[y>>2];break jd}b=i+1|0}if(b>>>0>>0){continue}break}}Ce=w+160|0;break hd;case 1:c=D[e+4|0];if(!(A[C[k+4>>2]+140|0]&1|c&64)){break gd}C[j+12>>2]=k;C[j+16>>2]=e;b=D[e+16|0]|D[e+17|0]<<8;A[j+60|0]=c>>>6&1;C[j+56>>2]=0;c=(b<<8|b>>>8)&65535;b=e+8|0;C[j+20>>2]=c+b;c=C[C[k+8>>2]+16>>2];C[j+4>>2]=C[k+16>>2];C[j>>2]=b;b=C[c+32>>2];if((b|0)==-1){b=Rg(c)}C[j+8>>2]=b;n=j+12|0;b=0;c=C[j+4>>2];C[c+76>>2]=0;qd:{if(!D[c+72|0]){break qd}while(1){f=b;h=C[c+76>>2];w=h>>>0>=F[c+80>>2];b=0;rd:{if(w){break rd}p=C[C[c+92>>2]+I(h,20)>>2];b=2;if((p|0)==65535){break rd}b=C[j>>2];i=D[b+2|0]|D[b+3|0]<<8;i=((i<<8|i>>>8)&65535)+b|0;b=D[i|0]|D[i+1|0]<<8;p=p-((b<<8|b>>>8)&65535)|0;o=D[i+2|0]|D[i+3|0]<<8;b=1;if(p>>>0>=((o<<8|o>>>8)&65535)>>>0){break rd}b=D[(i+p|0)+4|0]}i=b;b=C[j>>2];l=D[b|0]|D[b+1|0]<<8;p=(l<<8|l>>>8)&65535;r=i>>>0

>>0;oa:{if(!i){h=C[51431];C[105678]=C[51430];C[105679]=h;h=C[51429];C[105676]=C[51428];C[105677]=h;h=422704;break oa}h=(g<<4)+x|0}A[h|0]=1;pa:{if(b>>>0>=P>>>0){C[105676]=w;h=w;break pa}h=C[m+(b<<2)>>2]}s=J(h|0);qa:{if(!i){h=C[51431];C[105678]=C[51430];C[105679]=h;h=C[51429];C[105676]=C[51428];C[105677]=h;h=422704;break qa}h=(g<<4)+x|0}G[h+4>>2]=J(s*u)+G[h+4>>2];ra:{if(b>>>0>=z>>>0){C[105676]=w;h=w;break ra}h=C[r+(b<<2)>>2]}s=J(h|0);sa:{if(!i){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704;break sa}g=(g<<4)+x|0}G[g+8>>2]=J(s*u)+G[g+8>>2];b=b+1|0;if((k|0)!=(b|0)){continue}break}}T=0;h=0;if(M){while(1){z=0;b=h;P=C[(T<<2)+t>>2];if(b>>>0<=P>>>0){while(1){ta:{if(b>>>0>=p>>>0){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704;break ta}g=(b<<4)+x|0}z=!D[g|0]+z|0;b=b+1|0;if(P>>>0>=b>>>0){continue}break}}b=h;if(z-1>>>0>>0){ua:while(1){i=b;b=b>>>0

>>0?b+1|0:h;V=i>>>0

>>0;va:{if(!V){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704;break va}g=(i<<4)+x|0}if(!D[g|0]){continue}wa:{if(b>>>0>=p>>>0){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704;break wa}g=(b<<4)+x|0}if(D[g|0]){continue}b=i;while(1){k=b>>>0

>>0;v=b+1|0;xa:{if(b>>>0>=p>>>0){b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;g=422704;break xa}g=(b<<4)+x|0}b=k?v:h;if(D[g|0]){continue}X=b>>>0

>>0;ya:{if(!X){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704;break ya}g=(b<<4)+x|0}if(!D[g|0]){continue}break}g=b<<4;k=g+x|0;r=i<<4;v=r+x|0;n=g+S|0;r=r+S|0;g=i;while(1){g=g>>>0

>>0?g+1|0:h;if((g|0)==(b|0)){continue ua}$=g>>>0>>0;za:{if(!$){m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704;break za}m=(g<<4)+S|0}B=G[m+4>>2];aa=i>>>0>>0;if(aa){m=r}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}s=G[m+4>>2];ba=b>>>0>>0;if(ba){m=n}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}y=G[m+4>>2];if(V){m=v}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}K=G[m+4>>2];if(X){m=k}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}E=G[m+4>>2];u=E==K?K:J(0);Aa:{if(s==y){break Aa}u=sy?K:E;if(B>=(s>=y?s:y)){break Aa}u=J(J(B-s)/J(y-s));u=J(J(J(J(1)-u)*K)+J(u*E))}ca=g>>>0

>>0;Ba:{if(!ca){m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704;break Ba}m=(g<<4)+x|0}G[m+4>>2]=u;Ca:{if(!$){m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704;break Ca}m=(g<<4)+S|0}B=G[m+8>>2];if(aa){m=r}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}s=G[m+8>>2];if(ba){m=n}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}y=G[m+8>>2];if(V){m=v}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}K=G[m+8>>2];if(X){m=k}else{m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704}E=G[m+8>>2];u=E==K?K:J(0);Da:{if(s==y){break Da}u=sy?K:E;if(B>=(s>=y?s:y)){break Da}u=J(J(B-s)/J(y-s));u=J(J(J(J(1)-u)*K)+J(u*E))}Ea:{if(!ca){m=C[51431];C[105678]=C[51430];C[105679]=m;m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704;break Ea}m=(g<<4)+x|0}G[m+8>>2]=u;z=z-1|0;if(z){continue}break}break}}h=P+1|0;T=T+1|0;if((T|0)!=(M|0)){continue}break}}if(U){n=C[o+8>>2];b=0;while(1){g=b<<4;i=g+n|0;Fa:{if(b>>>0>=p>>>0){k=C[51431];g=C[51430];C[105678]=g;C[105679]=k;v=C[51429];h=C[51428];C[105676]=h;C[105677]=v;G[i+4>>2]=G[105677]+G[i+4>>2];C[105678]=g;C[105679]=k;C[105676]=h;C[105677]=v;g=422704;break Fa}g=g+x|0;G[i+4>>2]=G[g+4>>2]+G[i+4>>2]}G[i+8>>2]=G[g+8>>2]+G[i+8>>2];b=b+1|0;if((U|0)!=(b|0)){continue}break}}b=0}Re(C[j+48>>2])}Re(C[j+60>>2]);Re(C[j+72>>2]);if(!b){break ba}h=0;break X}b=C[j+144>>2];g=D[b|0]|D[b+1|0]<<8;C[j+128>>2]=C[j+128>>2]+((g<<8|g>>>8)&65535);h=1;g=D[b+2|0]|D[b+3|0]<<8;i=g>>>5&2|g>>>7&1;g=C[j+124>>2]<<1;b=(b+I(i,g)|0)+4|0;C[j+144>>2]=b;i=C[j+120>>2]+1|0;C[j+120>>2]=i;k=C[j+116>>2];k=D[k|0]|D[k+1|0]<<8;if(i>>>0>=((k<<8|k>>>8)&4095)>>>0){break X}i=C[j+132>>2];if(i>>>0>b>>>0){break X}i=i+C[j+136>>2]|0;if(i>>>0>>0){break X}i=i-b|0;if(i>>>0<4){break X}k=D[b+2|0]|D[b+3|0]<<8;g=I(g,k>>>5&2|k>>>7&1)+4|0;k=D[b|0]|D[b+1|0]<<8;k=(k<<8|k>>>8)&65535;if(i>>>0<(g>>>0>k>>>0?g:k)>>>0){break X}if(g){continue}}break}Re(t);Re(x);Re(S)}Re(C[j+156>>2])}Ce=j+160|0;if(!h){break a}Ga:{Ha:{switch(C[a+20>>2]-1|0){case 0:b=C[d+4>>2];e=C[o+72>>2];h=C[o+76>>2];a=C[d>>2];Ia:{if((a|0)<0){break Ia}g=b;c=e+g|0;c=(c|0)>0?c:0;if(c>>>0>a>>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(c>>>0>=a>>>0){continue}break}Ja:{if(a>>>0<=268435454){g=mf(C[d+8>>2],a<<4);if(g){break Ja}}C[d>>2]=-1;break Ia}C[d>>2]=a;C[d+8>>2]=g;g=C[d+4>>2]}if(c>>>0>g>>>0){We(C[d+8>>2]+(g<<4)|0,0,c-g<<4)}C[d+4>>2]=c}if(!e){break Ga}i=0;while(1){a=h+(i<<4)|0;c=b+i|0;Ka:{if(c>>>0>=F[d+4>>2]){c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break Ka}c=C[d+8>>2]+(c<<4)|0}g=C[a+4>>2];C[c>>2]=C[a>>2];C[c+4>>2]=g;g=C[a+12>>2];C[c+8>>2]=C[a+8>>2];C[c+12>>2]=g;i=i+1|0;if((e|0)!=(i|0)){continue}break};break Ga;case 1:b=C[a+16>>2]+10|0;j=C[a>>2];La:{if(b>>>0>>0){break La}v=j+C[a+4>>2]|0;if(v>>>0>>0){break La}a=v-b|0;if(a>>>0<4){break La}g=D[b|0]|D[b+1|0]<<8;h=g<<8|g>>>8;g=h&1?8:6;w=g+2|0;Ma:{if(h&8){break Ma}w=g+4|0;h=h&65535;if(h&64){break Ma}w=h&128?g+8|0:g}if(a>>>0>>0){break La}t=q+48|0;p=q+32|0;k=q+16|0;z=f+1|0;while(1){C[o+52>>2]=0;C[o+44>>2]=0;C[o+48>>2]=0;a=o+20|0;g=D[b+2|0]|D[b+3|0]<<8;pq(a,c,(g<<8|g>>>8)&65535);g=oz(a,W,c,o+44|0,e,z);a=C[o+48>>2];M=g&a>>>0>3;if(M){if(D[b|0]&2){h=C[o+52>>2]+(a<<4)|0;a=h+-64|0;g=q;if(!H){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704}i=C[a+4>>2];C[g>>2]=C[a>>2];C[g+4>>2]=i;i=C[a+12>>2];C[g+8>>2]=C[a+8>>2];C[g+12>>2]=i;g=k;if(!da){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;g=422704}a=h-48|0;i=C[a+4>>2];C[g>>2]=C[a>>2];C[g+4>>2]=i;i=C[a+12>>2];C[g+8>>2]=C[a+8>>2];C[g+12>>2]=i;g=p;if(!N){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;g=422704}a=h-32|0;i=C[a+4>>2];C[g>>2]=C[a>>2];C[g+4>>2]=i;i=C[a+12>>2];C[g+8>>2]=C[a+8>>2];C[g+12>>2]=i;i=t;if(!ea){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;i=422704}a=h-16|0;g=C[a+4>>2];C[i>>2]=C[a>>2];C[i+4>>2]=g;g=C[a+12>>2];C[i+8>>2]=C[a+8>>2];C[i+12>>2]=g}y=J(0);K=J(0);i=D[b|0]|D[b+1|0]<<8;a=i<<8|i>>>8;g=a&65535;Na:{if(a&1){a=D[b+4|0]|D[b+5|0]<<8;h=(a<<8|a>>>8)<<16>>16;a=b+6|0;l=D[a|0]|D[a+1|0]<<8;r=(l<<8|l>>>8)<<16>>16;break Na}a=b+4|0;h=A[b+4|0];r=A[b+5|0]}n=i<<22>>31;l=r&n;h=h&n;Oa:{Pa:{if(g&8){a=D[a+2|0]|D[a+3|0]<<8;s=J(J((a<<8|a>>>8)<<16>>16)*J(6103515625e-14));u=s;break Pa}if(g&64){g=D[a+4|0]|D[a+5|0]<<8;s=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));a=D[a+2|0]|D[a+3|0]<<8;u=J(J((a<<8|a>>>8)<<16>>16)*J(6103515625e-14));break Pa}if(g&128){g=D[a+8|0]|D[a+9|0]<<8;s=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));g=D[a+6|0]|D[a+7|0]<<8;K=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));g=D[a+4|0]|D[a+5|0]<<8;y=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));a=D[a+2|0]|D[a+3|0]<<8;u=J(J((a<<8|a>>>8)<<16>>16)*J(6103515625e-14));break Pa}if(!(h|l)){break Oa}s=J(1);u=J(1)}B=J(l|0);E=J(h|0);g=C[o+48>>2];if((i&24)==8){if(!g){break Oa}n=g&1;h=C[o+52>>2];r=g-1|0;Qa:{if(!r){a=0;break Qa}O=g&-2;a=0;i=0;while(1){m=a<<4;l=m+h|0;G[l+4>>2]=G[l+4>>2]+E;G[l+8>>2]=G[l+8>>2]+B;l=h+(m|16)|0;G[l+4>>2]=G[l+4>>2]+E;G[l+8>>2]=G[l+8>>2]+B;a=a+2|0;i=i+2|0;if((O|0)!=(i|0)){continue}break}}if(n){a=h+(a<<4)|0;G[a+4>>2]=G[a+4>>2]+E;G[a+8>>2]=G[a+8>>2]+B}l=g&1;Ra:{if(!r){a=0;break Ra}n=g&-2;a=0;i=0;while(1){r=a<<4;g=r+h|0;B=G[g+4>>2];E=G[g+8>>2];G[g+8>>2]=J(B*y)+J(s*E);G[g+4>>2]=J(B*u)+J(K*E);g=h+(r|16)|0;B=G[g+4>>2];E=G[g+8>>2];G[g+8>>2]=J(B*y)+J(s*E);G[g+4>>2]=J(B*u)+J(K*E);a=a+2|0;i=i+2|0;if((n|0)!=(i|0)){continue}break}}if(!l){break Oa}a=h+(a<<4)|0;B=G[a+4>>2];Q=s;s=G[a+8>>2];G[a+8>>2]=J(B*y)+J(Q*s);G[a+4>>2]=J(B*u)+J(K*s);break Oa}if(!g){break Oa}n=g&1;h=C[o+52>>2];r=g-1|0;Sa:{if(!r){a=0;break Sa}O=g&-2;a=0;i=0;while(1){m=a<<4;l=m+h|0;R=G[l+4>>2];Q=G[l+8>>2];G[l+8>>2]=J(R*y)+J(s*Q);G[l+4>>2]=J(R*u)+J(K*Q);l=h+(m|16)|0;R=G[l+4>>2];Q=G[l+8>>2];G[l+8>>2]=J(R*y)+J(s*Q);G[l+4>>2]=J(R*u)+J(K*Q);a=a+2|0;i=i+2|0;if((O|0)!=(i|0)){continue}break}}if(n){a=h+(a<<4)|0;R=G[a+4>>2];Q=s;s=G[a+8>>2];G[a+8>>2]=J(R*y)+J(Q*s);G[a+4>>2]=J(R*u)+J(K*s)}l=g&1;Ta:{if(!r){a=0;break Ta}n=g&-2;a=0;i=0;while(1){r=a<<4;g=r+h|0;G[g+4>>2]=G[g+4>>2]+E;G[g+8>>2]=G[g+8>>2]+B;g=h+(r|16)|0;G[g+4>>2]=G[g+4>>2]+E;G[g+8>>2]=G[g+8>>2]+B;a=a+2|0;i=i+2|0;if((n|0)!=(i|0)){continue}break}}if(!l){break Oa}a=h+(a<<4)|0;G[a+4>>2]=G[a+4>>2]+E;G[a+8>>2]=G[a+8>>2]+B}Ua:{if(F[o+72>>2]<=Y>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;g=422704;break Ua}g=C[o+76>>2]+(Y<<4)|0}i=C[o+48>>2];Va:{if(!i){break Va}a=0;l=C[o+52>>2];if((i|0)!=1){r=i&-2;h=0;while(1){O=a<<4;n=O+l|0;G[n+4>>2]=G[g+4>>2]+G[n+4>>2];G[n+8>>2]=G[g+8>>2]+G[n+8>>2];n=l+(O|16)|0;G[n+4>>2]=G[g+4>>2]+G[n+4>>2];G[n+8>>2]=G[g+8>>2]+G[n+8>>2];a=a+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}if(!(i&1)){break Va}a=l+(a<<4)|0;G[a+4>>2]=G[g+4>>2]+G[a+4>>2];G[a+8>>2]=G[g+8>>2]+G[a+8>>2]}a=D[b|0]|D[b+1|0]<<8;Wa:{if(a&512){h=C[d+4>>2];break Wa}Xa:{if(a&256){a=D[b+4|0]|D[b+5|0]<<8;g=(a<<8|a>>>8)&65535;a=D[b+6|0]|D[b+7|0]<<8;a=(a<<8|a>>>8)&65535;break Xa}g=D[b+4|0];a=D[b+5|0]}h=C[d+4>>2];if(h>>>0<=g>>>0){break Wa}n=C[o+48>>2];if(n>>>0<=a>>>0){break Wa}g=C[d+8>>2]+(g<<4)|0;r=a<<4;a=C[o+52>>2];l=r+a|0;u=J(G[g+8>>2]-G[l+8>>2]);s=J(G[g+4>>2]-G[l+4>>2]);g=0;if((n|0)!=1){O=n&-2;l=0;while(1){m=g<<4;r=m+a|0;G[r+4>>2]=s+G[r+4>>2];G[r+8>>2]=u+G[r+8>>2];r=a+(m|16)|0;G[r+4>>2]=s+G[r+4>>2];G[r+8>>2]=u+G[r+8>>2];g=g+2|0;l=l+2|0;if((O|0)!=(l|0)){continue}break}}if(!(n&1)){break Wa}a=a+(g<<4)|0;G[a+4>>2]=s+G[a+4>>2];G[a+8>>2]=u+G[a+8>>2]}a=i-4|0;l=a>>>0>i>>>0?i:a;n=C[o+52>>2];a=C[d>>2];Ya:{if((a|0)<0){break Ya}g=h;i=l+g|0;i=(i|0)>0?i:0;if(i>>>0>a>>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(i>>>0>=a>>>0){continue}break}Za:{if(a>>>0<=268435454){g=mf(C[d+8>>2],a<<4);if(g){break Za}}C[d>>2]=-1;break Ya}C[d>>2]=a;C[d+8>>2]=g;g=C[d+4>>2]}if(g>>>0>>0){We(C[d+8>>2]+(g<<4)|0,0,i-g<<4)}C[d+4>>2]=i}i=0;if(l){while(1){g=n+(i<<4)|0;a=h+i|0;_a:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break _a}a=C[d+8>>2]+(a<<4)|0}r=C[g+4>>2];C[a>>2]=C[g>>2];C[a+4>>2]=r;r=C[g+12>>2];C[a+8>>2]=C[g+8>>2];C[a+12>>2]=r;i=i+1|0;if((l|0)!=(i|0)){continue}break}}Y=Y+1|0}Re(C[o+52>>2]);if(!M){l=0;break a}if(!(D[b+1|0]&32)){break La}b=b+w|0;if(j>>>0>b>>>0|b>>>0>v>>>0){break La}a=v-b|0;if(a>>>0<4){break La}g=D[b|0]|D[b+1|0]<<8;h=g<<8|g>>>8;g=h&1?8:6;w=g+2|0;$a:{if(h&8){break $a}w=g+4|0;h=h&65535;if(h&64){break $a}w=h&128?g+8|0:g}if(a>>>0>=w>>>0){continue}break}}b=C[d+4>>2];l=C[d>>2];ab:{if((l|0)<0){break ab}a=b;c=a+H|0;c=(c|0)>0?c:0;if(c>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}bb:{if(l>>>0<=268435454){a=mf(C[d+8>>2],l<<4);if(a){break bb}}C[d>>2]=-1;break ab}C[d>>2]=l;C[d+8>>2]=a;a=C[d+4>>2]}if(a>>>0>>0){We(C[d+8>>2]+(a<<4)|0,0,c-a<<4)}C[d+4>>2]=c}if(!H){break Ga}cb:{if(b>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break cb}a=C[d+8>>2]+(b<<4)|0}c=C[q+4>>2];C[a>>2]=C[q>>2];C[a+4>>2]=c;c=C[q+12>>2];C[a+8>>2]=C[q+8>>2];C[a+12>>2]=c;if((H|0)==1){break Ga}a=b+1|0;db:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break db}a=C[d+8>>2]+(a<<4)|0}c=C[q+20>>2];C[a>>2]=C[q+16>>2];C[a+4>>2]=c;c=C[q+28>>2];C[a+8>>2]=C[q+24>>2];C[a+12>>2]=c;if((H|0)==2){break Ga}a=b+2|0;eb:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break eb}a=C[d+8>>2]+(a<<4)|0}c=C[q+36>>2];C[a>>2]=C[q+32>>2];C[a+4>>2]=c;c=C[q+44>>2];C[a+8>>2]=C[q+40>>2];C[a+12>>2]=c;if((H|0)==3){break Ga}a=b+3|0;fb:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break fb}a=C[d+8>>2]+(a<<4)|0}b=C[q+52>>2];C[a>>2]=C[q+48>>2];C[a+4>>2]=b;b=C[q+60>>2];C[a+8>>2]=C[q+56>>2];C[a+12>>2]=b;break Ga;default:break Ha}}b=C[d+4>>2];l=C[d>>2];gb:{if((l|0)<0){break gb}a=b;c=a+H|0;c=(c|0)>0?c:0;if(c>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}hb:{if(l>>>0<=268435454){a=mf(C[d+8>>2],l<<4);if(a){break hb}}C[d>>2]=-1;break gb}C[d>>2]=l;C[d+8>>2]=a;a=C[d+4>>2]}if(a>>>0>>0){We(C[d+8>>2]+(a<<4)|0,0,c-a<<4)}C[d+4>>2]=c}if(!H){break Ga}ib:{if(b>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break ib}a=C[d+8>>2]+(b<<4)|0}c=C[q+4>>2];C[a>>2]=C[q>>2];C[a+4>>2]=c;c=C[q+12>>2];C[a+8>>2]=C[q+8>>2];C[a+12>>2]=c;if((H|0)==1){break Ga}a=b+1|0;jb:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break jb}a=C[d+8>>2]+(a<<4)|0}c=C[q+20>>2];C[a>>2]=C[q+16>>2];C[a+4>>2]=c;c=C[q+28>>2];C[a+8>>2]=C[q+24>>2];C[a+12>>2]=c;if((H|0)==2){break Ga}a=b+2|0;kb:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break kb}a=C[d+8>>2]+(a<<4)|0}c=C[q+36>>2];C[a>>2]=C[q+32>>2];C[a+4>>2]=c;c=C[q+44>>2];C[a+8>>2]=C[q+40>>2];C[a+12>>2]=c;if((H|0)==3){break Ga}a=b+3|0;lb:{if(a>>>0>=F[d+4>>2]){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break lb}a=C[d+8>>2]+(a<<4)|0}b=C[q+52>>2];C[a>>2]=C[q+48>>2];C[a+4>>2]=b;b=C[q+60>>2];C[a+8>>2]=C[q+56>>2];C[a+12>>2]=b}l=1;if(f){break a}if(!H){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;q=422704}u=G[q+4>>2];if(u==J(0)){break a}b=C[d+4>>2];if(!b){break a}c=C[d+8>>2];i=0;if((b|0)!=1){e=b&-2;a=0;while(1){f=i<<4;d=f+c|0;G[d+4>>2]=G[d+4>>2]-u;G[d+8>>2]=G[d+8>>2]+J(0);d=c+(f|16)|0;G[d+4>>2]=G[d+4>>2]-u;G[d+8>>2]=G[d+8>>2]+J(0);i=i+2|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}}if(!(b&1)){break a}a=c+(i<<4)|0;G[a+4>>2]=G[a+4>>2]-u;G[a+8>>2]=G[a+8>>2]+J(0)}Re(C[o+76>>2])}Ce=o+80|0;return l}function Cm(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;i=Ce-15792|0;Ce=i;C[i+15784>>2]=g;C[i+15788>>2]=f;v=C[a+132>>2];j=C[C[v+736>>2]+532>>2];E=C[a+48>>2];x=C[a>>2];f=i+15700|0;C[f>>2]=0;C[f+4>>2]=0;f=i+15708|0;C[f>>2]=0;C[f+4>>2]=0;C[i+15772>>2]=0;C[i+15776>>2]=0;C[i+15764>>2]=10;C[i+15768>>2]=0;C[i+15756>>2]=20;C[i+15760>>2]=0;z=a+4|0;C[i+15752>>2]=z;C[i+15748>>2]=x;C[i+15740>>2]=0;C[i+15744>>2]=0;C[i+15732>>2]=10;C[i+15736>>2]=0;C[i+15724>>2]=20;C[i+15728>>2]=0;C[i+15720>>2]=z;C[i+15716>>2]=x;C[i+15692>>2]=0;C[i+15696>>2]=0;C[i+15688>>2]=z;p(i+15528|0,0,160);C[i+15532>>2]=10;C[i+15524>>2]=8;C[i+15520>>2]=z;C[i+15516>>2]=x;C[i+3908>>2]=c;C[i+3904>>2]=a;p(i+11660|0,0,3856);f=D[a+140|0];C[i+11664>>2]=E;A[i+11661|0]=f;H=i+15516|0;C[i+11656>>2]=H;I=i+11648|0;C[i+11652>>2]=I;C[i+11648>>2]=a;p(i+7792|0,0,3856);C[i+7796>>2]=E;A[i+7793|0]=f;C[i+7788>>2]=H;C[i+7784>>2]=I;C[i+7780>>2]=a;p(i+3924|0,0,3856);C[i+3928>>2]=E;A[i+3925|0]=f;C[i+3920>>2]=H;C[i+3916>>2]=I;C[i+3912>>2]=a;C[i+15548>>2]=C[a+36>>2];f=C[a+44>>2];C[i+15556>>2]=E;C[i+15552>>2]=f;f=C[d+4>>2];l=C[d>>2];C[i+15588>>2]=a+196;C[i+15584>>2]=g;C[i+15560>>2]=l;C[i+15564>>2]=f;C[i+15580>>2]=i+15688;C[i+15576>>2]=i+15716;C[i+15572>>2]=i+15748;A[i+15570|0]=D[a+141|0];g=C[a+184>>2];C[i+15592>>2]=g;f=C[a+188>>2];C[i+15604>>2]=6554;C[i+15596>>2]=f;A[i+15569|0]=0;A[i+15783|0]=0;K=1;A[i+15571|0]=1;l=g;g=g>>31;g=(l^g)-g|0;l=f;f=f>>31;f=(l^f)-f|0;C[i+15600>>2]=(f>>>0>>0?g:f)<<1;C[h>>2]=C[C[v+736>>2]+528>>2]<<16;C[i+36>>2]=0;k=Pk(x,396,i+36|0);a:{b:{c:{d:{e:{if(!C[i+36>>2]){C[k+4>>2]=z;C[k>>2]=x;C[k+392>>2]=k+8;K=!k;break e}if(!k){break d}K=0}C[i+36>>2]=0;w=Ve(x,1,0,272,0,i+36|0);f:{if(!C[i+36>>2]){M=17;break f}if(C[a+4>>2]){break f}C[a+4>>2]=64}f=C[b+4>>2];C[w>>2]=C[b>>2];C[w+4>>2]=f;f=C[b+12>>2];C[w+8>>2]=C[b+8>>2];C[w+12>>2]=f;if(C[a+4>>2]){break a}J=j<<16;r=k+8|0;q=k+392|0;N=i+48|0;L=2e7;s=w;while(1){b=C[s+12>>2];j=C[s+8>>2];g:{if(b>>>0>=j>>>0){o=y?11:14;break g}f=b+1|0;C[s+12>>2]=f;o=D[b|0];b=f}if(C[a+4>>2]){break a}L=L-1|0;if(!L){b=18;break b}h:{i:{j:{k:{switch(o|0){case 1:case 18:if(D[i+15692|0]){break i}vp(a,k,i+15748|0,h,i+15783|0);if(!D[C[a+132>>2]+561|0]){break i}b=0;break c;case 3:case 23:if(D[i+15692|0]){break i}vp(a,k,i+15716|0,h,i+15783|0);if(!D[C[a+132>>2]+561|0]){break i}b=0;break c;case 4:f=C[q>>2];if(!(D[i+15783|0]|f-r>>>0<16)){l:{m:{switch(C[k+12>>2]-1|0){case 1:b=C[r>>2]<<16;break l;case 0:b=C[r>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break l}b=b- -8192>>>14|0;break l;default:break m}}b=C[r>>2]}C[h>>2]=b+J}A[i+15783|0]=1;if(D[C[a+132>>2]+561|0]){b=0;break c}n:{if((f|0)==(r|0)){b=0;f=C[k+4>>2];if(!f|C[f>>2]){break n}C[f>>2]=161;break n}b=f-8|0;C[q>>2]=b;o:{switch(C[b+4>>2]-1|0){case 1:b=C[b>>2]<<16;break n;case 0:b=C[b>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break n}b=b- -8192>>>14|0;break n;default:break o}}b=C[b>>2]}b=C[i+15784>>2]+b|0;C[i+15784>>2]=b;Yk(i+3904|0,C[i+15788>>2],b);C[q>>2]=r;continue;case 5:f=C[i+15784>>2];j=C[i+15788>>2];b=C[q>>2];if((b|0)!=(r|0)){o=b-r>>3;b=0;while(1){l=C[q>>2]-r>>3;p:{if(l>>>0<=b>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break p}C[g>>2]=130;break p}q:{r:{s:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break r;case 1:break s;default:break q}}n=C[g+8>>2]<<16;break p}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break p}n=g- -8192>>>14|0;break p}n=C[g+8>>2]}j=j+n|0;g=b|1;t:{if(g>>>0>=l>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break t}C[g>>2]=130;break t}u:{v:{w:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break v;case 1:break w;default:break u}}l=C[g+8>>2]<<16;break t}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break t}l=g- -8192>>>14|0;break t}l=C[g+8>>2]}f=f+l|0;hk(i+3904|0,j,f);b=b+2|0;if(o>>>0>b>>>0){continue}break}}C[i+15784>>2]=f;C[i+15788>>2]=j;C[q>>2]=r;continue;case 6:case 7:l=C[i+15784>>2];n=C[i+15788>>2];b=C[q>>2];if((b|0)!=(r|0)){b=b-r>>3;m=b>>>0<=1?1:b;j=(o|0)==6;b=0;while(1){x:{if(C[q>>2]-r>>3>>>0<=b>>>0){f=0;g=C[k+4>>2];if(!g|C[g>>2]){break x}C[g>>2]=130;break x}y:{z:{A:{f=(b<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break z;case 1:break A;default:break y}}f=C[f+8>>2]<<16;break x}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break x}f=f- -8192>>>14|0;break x}f=C[f+8>>2]}g=j&255;n=(g?f:0)+n|0;l=(g?0:f)+l|0;hk(i+3904|0,n,l);j=j^1;b=b+1|0;if((m|0)!=(b|0)){continue}break}}C[i+15784>>2]=l;C[i+15788>>2]=n;C[q>>2]=r;continue;case 8:case 24:l=0;t=C[i+15784>>2];f=C[i+15788>>2];b=C[q>>2]-r|0;if(b>>>0>=48){G=b>>3;j=6;while(1){b=l;l=j;j=C[q>>2]-r>>3;B:{if(j>>>0<=b>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break B}C[g>>2]=130;break B}C:{D:{E:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break D;case 1:break E;default:break C}}n=C[g+8>>2]<<16;break B}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break B}n=g- -8192>>>14|0;break B}n=C[g+8>>2]}g=b|1;F:{if(g>>>0>=j>>>0){g=0;m=C[k+4>>2];if(!m|C[m>>2]){break F}C[m>>2]=130;break F}G:{H:{I:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=C[g+8>>2]<<16;break F}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break F}g=g- -8192>>>14|0;break F}g=C[g+8>>2]}m=b+2|0;J:{if(m>>>0>=j>>>0){m=0;u=C[k+4>>2];if(!u|C[u>>2]){break J}C[u>>2]=130;break J}K:{L:{M:{m=(m<<3)+k|0;switch(C[m+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}m=C[m+8>>2]<<16;break J}m=C[m+8>>2];if((m|0)<0){m=0-(8192-m>>14)|0;break J}m=m- -8192>>>14|0;break J}m=C[m+8>>2]}n=f+n|0;f=b+3|0;N:{if(f>>>0>=j>>>0){f=0;u=C[k+4>>2];if(!u|C[u>>2]){break N}C[u>>2]=130;break N}O:{P:{Q:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}f=C[f+8>>2]<<16;break N}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break N}f=f- -8192>>>14|0;break N}f=C[f+8>>2]}u=g+t|0;m=n+m|0;g=b+4|0;R:{if(g>>>0>=j>>>0){t=0;g=C[k+4>>2];if(!g|C[g>>2]){break R}C[g>>2]=130;break R}S:{T:{U:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 1:break U;case 0:break T;default:break S}}t=C[g+8>>2]<<16;break R}g=C[g+8>>2];if((g|0)<0){t=0-(8192-g>>14)|0;break R}t=g- -8192>>>14|0;break R}t=C[g+8>>2]}g=f+u|0;f=m+t|0;b=b+5|0;V:{if(b>>>0>=j>>>0){b=0;j=C[k+4>>2];if(!j|C[j>>2]){break V}C[j>>2]=130;break V}W:{X:{Y:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}b=C[b+8>>2]<<16;break V}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break V}b=b- -8192>>>14|0;break V}b=C[b+8>>2]}t=b+g|0;uj(i+3904|0,n,u,m,g,f,t);j=l+6|0;if(G>>>0>=j>>>0){continue}break}}C[i+15784>>2]=t;C[i+15788>>2]=f;if((o|0)==24){g=C[q>>2]-r>>3;Z:{if(g>>>0<=l>>>0){j=0;b=C[k+4>>2];if(!b|C[b>>2]){break Z}C[b>>2]=130;break Z}_:{$:{aa:{b=(l<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}j=C[b+8>>2]<<16;break Z}b=C[b+8>>2];if((b|0)<0){j=0-(8192-b>>14)|0;break Z}j=b- -8192>>>14|0;break Z}j=C[b+8>>2]}j=f+j|0;C[i+15788>>2]=j;b=l|1;ba:{if(b>>>0>=g>>>0){b=0;f=C[k+4>>2];if(!f|C[f>>2]){break ba}C[f>>2]=130;break ba}ca:{da:{ea:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break da;case 1:break ea;default:break ca}}b=C[b+8>>2]<<16;break ba}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break ba}b=b- -8192>>>14|0;break ba}b=C[b+8>>2]}b=b+t|0;C[i+15784>>2]=b;hk(i+3904|0,j,b)}C[q>>2]=r;continue;case 10:case 29:b=18;if((y|0)>16){break c}y=y+1|0;f=y;if(f>>>0>=M>>>0){C[a+4>>2]=130;f=0}s=(f<<4)+w|0;f=C[q>>2];fa:{if((f|0)==(r|0)){j=0;f=C[k+4>>2];if(!f|C[f>>2]){break fa}C[f>>2]=161;break fa}if(C[f-4>>2]!=2){j=0;f=C[k+4>>2];if(!f|C[f>>2]){break fa}C[f>>2]=160;break fa}f=f-8|0;C[q>>2]=f;j=C[f>>2]}C[s>>2]=0;C[s+4>>2]=0;C[s+8>>2]=0;C[s+12>>2]=0;if((o|0)==29){f=C[v+708>>2]+j|0;if(f>>>0>=F[v+700>>2]){break c}b=C[v+716>>2]+(f<<2)|0;f=C[b>>2];C[s+4>>2]=f;C[s+12>>2]=f;C[s+8>>2]=C[b+4>>2];continue}f=C[v+704>>2]+j|0;if(f>>>0>=F[v+696>>2]){break c}b=C[v+712>>2]+(f<<2)|0;f=C[b>>2];C[s+4>>2]=f;C[s+12>>2]=f;C[s+8>>2]=C[b+4>>2];continue;case 11:if((y|0)<=0){b=18;break c}y=y-1|0;b=y;if(b>>>0>=M>>>0){C[a+4>>2]=130;b=0}s=(b<<4)+w|0;continue;case 12:if(b>>>0>=j>>>0){b=C[s>>2];if(!b|C[b>>2]){break i}C[b>>2]=85;C[q>>2]=r;continue}C[s+12>>2]=b+1;ga:{switch(D[b|0]-34|0){case 0:Bm(k,i+15788|0,i+15784|0,i+3904|0,276472,0);continue;case 2:Bm(k,i+15788|0,i+15784|0,i+3904|0,276496,0);continue;case 3:break ga;case 1:break j;default:break i}}Bm(k,i+15788|0,i+15784|0,i+3904|0,276508,1);continue;case 14:b=C[q>>2]-r|0;ha:{ia:{if((b|0)!=8){if((b|0)!=40){break ha}if(!D[i+15783|0]){break ia}break ha}if(D[i+15783|0]){break ha}}b=0;ja:{if(!((C[k+392>>2]-k|0)-8>>3)){f=C[k+4>>2];if(!f|C[f>>2]){break ja}C[f>>2]=130;break ja}ka:{switch(C[k+12>>2]-1|0){case 1:b=C[k+8>>2]<<16;break ja;case 0:b=C[k+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break ja}b=b- -8192>>>14|0;break ja;default:break ka}}b=C[k+8>>2]}C[h>>2]=b+J}b=0;if(D[C[a+132>>2]+561|0]){break c}g=Ce-16|0;Ce=g;f=i+3904|0;if(D[f+11664|0]){A[f+11665|0]=1;hk(f,C[f+11736>>2],C[f+11740>>2]);if(D[f+11744|0]){h=C[f+11716>>2];C[g+8>>2]=C[f+11712>>2];C[g+12>>2]=h;Am(f,f+8|0,f+11704|0,g+8|0,1)}A[f+11744|0]=0;B[f+11664>>1]=0;A[f+11667|0]=1}Ce=g+16|0;if(C[q>>2]-r>>>0<9){break c}b=18;if(e){break c}b=zw(k);e=zw(k);f=yw(k);g=yw(k);b=xw(v,b,i+36|0);if(b){break c}b=i+36|0;Cm(a,b,c,d,1,g,f,i+8|0);ww(v,b);b=xw(v,e,b);if(b){break c}b=0;e=i+36|0;Cm(a,e,c,d,1,0,0,i+8|0);ww(v,e);break c;case 19:case 20:if(D[i+15692|0]?C[q>>2]-r>>>0>=16:0){break i}vp(a,k,i+15716|0,h,i+15783|0);if(D[C[a+132>>2]+561|0]){b=0;break c}if((o|0)==19){f=C[i+15736>>2]+C[i+15768>>2]|0;if(f>>>0>=97){b=C[i+15688>>2];if(!b|C[b>>2]){break i}C[b>>2]=18;C[q>>2]=r;continue}C[i+15696>>2]=f;B[i+15692>>1]=257;C[i+15700>>2]=f+7>>>3;b=0;if(!f){break i}while(1){f=C[s+12>>2];la:{if(f>>>0>2]){C[s+12>>2]=f+1;j=D[f|0];break la}j=0;f=C[s>>2];if(!f|C[f>>2]){break la}C[f>>2]=85}A[(b+i|0)+15704|0]=j;b=b+1|0;if(b>>>0>2]){continue}break}break i}p(N,0,3856);b=D[a+140|0];C[i+52>>2]=E;A[i+49|0]=b;C[i+44>>2]=H;C[i+40>>2]=I;C[i+36>>2]=a;C[i+28>>2]=0;C[i+32>>2]=0;C[i+20>>2]=0;C[i+24>>2]=0;C[i+12>>2]=0;C[i+16>>2]=0;C[i+8>>2]=z;f=C[i+15736>>2]+C[i+15768>>2]|0;ma:{if(f>>>0>=97){if(C[a+4>>2]){break ma}C[a+4>>2]=18;break ma}C[i+16>>2]=f;B[i+12>>1]=257;C[i+20>>2]=f+7>>>3;b=0;if(!f){break ma}while(1){f=C[s+12>>2];na:{if(f>>>0>2]){C[s+12>>2]=f+1;j=D[f|0];break na}j=0;f=C[s>>2];if(!f|C[f>>2]){break na}C[f>>2]=85}A[(b+i|0)+24|0]=j;b=b+1|0;if(b>>>0>2]){continue}break}}Xk(i+36|0,i+15748|0,i+15716|0,i+8|0,0,0);C[q>>2]=r;continue;case 21:g=C[q>>2];if(!(D[i+15783|0]|g-r>>>0<24)){oa:{pa:{switch(C[k+12>>2]-1|0){case 1:b=C[r>>2]<<16;break oa;case 0:b=C[r>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break oa}b=b- -8192>>>14|0;break oa;default:break pa}}b=C[r>>2]}C[h>>2]=b+J}A[i+15783|0]=1;if(D[C[a+132>>2]+561|0]){b=0;break c}qa:{ra:{sa:{if((g|0)==(r|0)){b=C[k+4>>2];if(!(!b|C[b>>2])){C[b>>2]=161}f=C[i+15784>>2];break sa}b=g-8|0;C[q>>2]=b;ta:{ua:{switch(C[b+4>>2]-1|0){case 0:f=C[b>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break ta}f=f- -8192>>>14|0;break ta;default:f=C[b>>2];break ta;case 1:break ua}}f=C[b>>2]<<16}f=f+C[i+15784>>2]|0;C[i+15784>>2]=f;if((b|0)!=(r|0)){break ra}}b=0;g=C[k+4>>2];if(!g|C[g>>2]){break qa}C[g>>2]=161;break qa}b=g-16|0;C[q>>2]=b;va:{switch(C[b+4>>2]-1|0){case 1:b=C[b>>2]<<16;break qa;case 0:b=C[b>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break qa}b=b- -8192>>>14|0;break qa;default:break va}}b=C[b>>2]}b=C[i+15788>>2]+b|0;C[i+15788>>2]=b;Yk(i+3904|0,b,f);C[q>>2]=r;continue;case 22:f=C[q>>2];if(!(D[i+15783|0]|f-r>>>0<16)){wa:{xa:{switch(C[k+12>>2]-1|0){case 1:b=C[r>>2]<<16;break wa;case 0:b=C[r>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break wa}b=b- -8192>>>14|0;break wa;default:break xa}}b=C[r>>2]}C[h>>2]=b+J}A[i+15783|0]=1;if(D[C[a+132>>2]+561|0]){b=0;break c}ya:{if((f|0)==(r|0)){b=0;f=C[k+4>>2];if(!f|C[f>>2]){break ya}C[f>>2]=161;break ya}b=f-8|0;C[q>>2]=b;za:{switch(C[b+4>>2]-1|0){case 1:b=C[b>>2]<<16;break ya;case 0:b=C[b>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break ya}b=b- -8192>>>14|0;break ya;default:break za}}b=C[b>>2]}b=C[i+15788>>2]+b|0;C[i+15788>>2]=b;Yk(i+3904|0,b,C[i+15784>>2]);C[q>>2]=r;continue;case 25:f=C[q>>2]-r|0;o=f>>3;b=0;l=C[i+15784>>2];j=C[i+15788>>2];if(f>>>0<=48){break h}while(1){f=b;n=C[q>>2]-r>>3;Aa:{if(n>>>0<=b>>>0){b=0;g=C[k+4>>2];if(!g|C[g>>2]){break Aa}C[g>>2]=130;break Aa}Ba:{Ca:{Da:{b=(f<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}b=C[b+8>>2]<<16;break Aa}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break Aa}b=b- -8192>>>14|0;break Aa}b=C[b+8>>2]}j=b+j|0;b=f|1;Ea:{if(b>>>0>=n>>>0){b=0;g=C[k+4>>2];if(!g|C[g>>2]){break Ea}C[g>>2]=130;break Ea}Fa:{Ga:{Ha:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}b=C[b+8>>2]<<16;break Ea}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break Ea}b=b- -8192>>>14|0;break Ea}b=C[b+8>>2]}l=b+l|0;hk(i+3904|0,j,l);b=f+2|0;if(o>>>0>f+8>>>0){continue}break};break h;case 26:m=C[i+15784>>2];f=C[i+15788>>2];o=C[q>>2]-r>>3;t=o&-3;b=o&2;if(t>>>0>b>>>0){while(1){j=C[q>>2]-r>>3;if(o-b&1){Ia:{if(b>>>0>=j>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break Ia}C[g>>2]=130;break Ia}Ja:{Ka:{La:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}l=C[g+8>>2]<<16;break Ia}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break Ia}l=g- -8192>>>14|0;break Ia}l=C[g+8>>2]}b=b+1|0;f=f+l|0}g=f;Ma:{if(b>>>0>=j>>>0){f=0;l=C[k+4>>2];if(!l|C[l>>2]){break Ma}C[l>>2]=130;break Ma}Na:{Oa:{Pa:{f=(b<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}f=C[f+8>>2]<<16;break Ma}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break Ma}f=f- -8192>>>14|0;break Ma}f=C[f+8>>2]}l=b+1|0;Qa:{if(l>>>0>=j>>>0){n=0;l=C[k+4>>2];if(!l|C[l>>2]){break Qa}C[l>>2]=130;break Qa}Ra:{Sa:{Ta:{l=(l<<3)+k|0;switch(C[l+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}n=C[l+8>>2]<<16;break Qa}l=C[l+8>>2];if((l|0)<0){n=0-(8192-l>>14)|0;break Qa}n=l- -8192>>>14|0;break Qa}n=C[l+8>>2]}l=f+m|0;f=b+2|0;Ua:{if(f>>>0>=j>>>0){m=0;f=C[k+4>>2];if(!f|C[f>>2]){break Ua}C[f>>2]=130;break Ua}Va:{Wa:{Xa:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}m=C[f+8>>2]<<16;break Ua}f=C[f+8>>2];if((f|0)<0){m=0-(8192-f>>14)|0;break Ua}m=f- -8192>>>14|0;break Ua}m=C[f+8>>2]}f=g+n|0;n=l+m|0;m=j;j=b+3|0;Ya:{if(m>>>0<=j>>>0){j=0;m=C[k+4>>2];if(!m|C[m>>2]){break Ya}C[m>>2]=130;break Ya}Za:{_a:{$a:{j=(j<<3)+k|0;switch(C[j+12>>2]-1|0){case 0:break _a;case 1:break $a;default:break Za}}j=C[j+8>>2]<<16;break Ya}j=C[j+8>>2];if((j|0)<0){j=0-(8192-j>>14)|0;break Ya}j=j- -8192>>>14|0;break Ya}j=C[j+8>>2]}m=j+n|0;uj(i+3904|0,g,l,f,n,f,m);b=b+4|0;if(t>>>0>b>>>0){continue}break}}C[i+15784>>2]=m;C[i+15788>>2]=f;C[q>>2]=r;continue;case 27:m=C[i+15788>>2];f=C[i+15784>>2];o=C[q>>2]-r>>3;t=o&-3;b=o&2;if(t>>>0>b>>>0){while(1){j=C[q>>2]-r>>3;if(o-b&1){ab:{if(b>>>0>=j>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break ab}C[g>>2]=130;break ab}bb:{cb:{db:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break cb;case 1:break db;default:break bb}}l=C[g+8>>2]<<16;break ab}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break ab}l=g- -8192>>>14|0;break ab}l=C[g+8>>2]}b=b+1|0;f=f+l|0}g=f;eb:{if(b>>>0>=j>>>0){f=0;l=C[k+4>>2];if(!l|C[l>>2]){break eb}C[l>>2]=130;break eb}fb:{gb:{hb:{f=(b<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break gb;case 1:break hb;default:break fb}}f=C[f+8>>2]<<16;break eb}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break eb}f=f- -8192>>>14|0;break eb}f=C[f+8>>2]}l=b+1|0;ib:{if(l>>>0>=j>>>0){n=0;l=C[k+4>>2];if(!l|C[l>>2]){break ib}C[l>>2]=130;break ib}jb:{kb:{lb:{l=(l<<3)+k|0;switch(C[l+12>>2]-1|0){case 0:break kb;case 1:break lb;default:break jb}}n=C[l+8>>2]<<16;break ib}l=C[l+8>>2];if((l|0)<0){n=0-(8192-l>>14)|0;break ib}n=l- -8192>>>14|0;break ib}n=C[l+8>>2]}l=f+m|0;f=b+2|0;mb:{if(f>>>0>=j>>>0){f=0;m=C[k+4>>2];if(!m|C[m>>2]){break mb}C[m>>2]=130;break mb}nb:{ob:{pb:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break ob;case 1:break pb;default:break nb}}f=C[f+8>>2]<<16;break mb}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break mb}f=f- -8192>>>14|0;break mb}f=C[f+8>>2]}n=l+n|0;f=f+g|0;m=j;j=b+3|0;qb:{if(m>>>0<=j>>>0){j=0;m=C[k+4>>2];if(!m|C[m>>2]){break qb}C[m>>2]=130;break qb}rb:{sb:{tb:{j=(j<<3)+k|0;switch(C[j+12>>2]-1|0){case 0:break sb;case 1:break tb;default:break rb}}j=C[j+8>>2]<<16;break qb}j=C[j+8>>2];if((j|0)<0){j=0-(8192-j>>14)|0;break qb}j=j- -8192>>>14|0;break qb}j=C[j+8>>2]}m=j+n|0;uj(i+3904|0,l,g,n,f,m,f);b=b+4|0;if(t>>>0>b>>>0){continue}break}}C[i+15788>>2]=m;C[i+15784>>2]=f;C[q>>2]=r;continue;case 30:case 31:n=C[i+15784>>2];g=C[i+15788>>2];b=C[q>>2]-r>>3;u=b&-3;b=b&2;if(u>>>0>b>>>0){G=(o|0)==31;while(1){l=n;f=g;t=C[q>>2]-r>>3;ub:{if(G){vb:{if(b>>>0>=t>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break vb}C[g>>2]=130;break vb}wb:{xb:{yb:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break xb;case 1:break yb;default:break wb}}n=C[g+8>>2]<<16;break vb}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break vb}n=g- -8192>>>14|0;break vb}n=C[g+8>>2]}j=b+1|0;zb:{if(t>>>0<=j>>>0){g=0;o=C[k+4>>2];if(!o|C[o>>2]){break zb}C[o>>2]=130;break zb}Ab:{Bb:{Cb:{g=(j<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Bb;case 1:break Cb;default:break Ab}}g=C[g+8>>2]<<16;break zb}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break zb}g=g- -8192>>>14|0;break zb}g=C[g+8>>2]}o=b+2|0;Db:{if(o>>>0>=t>>>0){m=0;o=C[k+4>>2];if(!o|C[o>>2]){break Db}C[o>>2]=130;break Db}Eb:{Fb:{Gb:{o=(o<<3)+k|0;switch(C[o+12>>2]-1|0){case 0:break Fb;case 1:break Gb;default:break Eb}}m=C[o+8>>2]<<16;break Db}o=C[o+8>>2];if((o|0)<0){m=0-(8192-o>>14)|0;break Db}m=o- -8192>>>14|0;break Db}m=C[o+8>>2]}f=f+n|0;m=l+m|0;n=b+3|0;Hb:{if(n>>>0>=t>>>0){n=0;o=C[k+4>>2];if(!o|C[o>>2]){break Hb}C[o>>2]=130;break Hb}Ib:{Jb:{Kb:{n=(n<<3)+k|0;switch(C[n+12>>2]-1|0){case 0:break Jb;case 1:break Kb;default:break Ib}}n=C[n+8>>2]<<16;break Hb}n=C[n+8>>2];if((n|0)<0){n=0-(8192-n>>14)|0;break Hb}n=n- -8192>>>14|0;break Hb}n=C[n+8>>2]}o=f+g|0;n=n+m|0;G=0;if((u-b|0)!=5){j=b;g=o;break ub}b=b+4|0;Lb:{if(b>>>0>=t>>>0){g=C[k+4>>2];b=0;if(!g|C[g>>2]){break Lb}C[g>>2]=130;g=o;break ub}Mb:{Nb:{Ob:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break Nb;case 1:break Ob;default:break Mb}}g=(C[b+8>>2]<<16)+o|0;break ub}b=C[b+8>>2];if((b|0)<0){g=o-(8192-b>>14)|0;break ub}g=(b- -8192>>>14|0)+o|0;break ub}b=C[b+8>>2]}g=b+o|0;break ub}Pb:{if(b>>>0>=t>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break Pb}C[g>>2]=130;break Pb}Qb:{Rb:{Sb:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Rb;case 1:break Sb;default:break Qb}}n=C[g+8>>2]<<16;break Pb}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break Pb}n=g- -8192>>>14|0;break Pb}n=C[g+8>>2]}j=b+1|0;Tb:{if(t>>>0<=j>>>0){g=0;o=C[k+4>>2];if(!o|C[o>>2]){break Tb}C[o>>2]=130;break Tb}Ub:{Vb:{Wb:{g=(j<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Vb;case 1:break Wb;default:break Ub}}g=C[g+8>>2]<<16;break Tb}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break Tb}g=g- -8192>>>14|0;break Tb}g=C[g+8>>2]}o=b+2|0;Xb:{if(o>>>0>=t>>>0){m=0;o=C[k+4>>2];if(!o|C[o>>2]){break Xb}C[o>>2]=130;break Xb}Yb:{Zb:{_b:{o=(o<<3)+k|0;switch(C[o+12>>2]-1|0){case 0:break Zb;case 1:break _b;default:break Yb}}m=C[o+8>>2]<<16;break Xb}o=C[o+8>>2];if((o|0)<0){m=0-(8192-o>>14)|0;break Xb}m=o- -8192>>>14|0;break Xb}m=C[o+8>>2]}l=l+n|0;o=f+g|0;g=b+3|0;$b:{if(g>>>0>=t>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break $b}C[g>>2]=130;break $b}ac:{bc:{cc:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break bc;case 1:break cc;default:break ac}}n=C[g+8>>2]<<16;break $b}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break $b}n=g- -8192>>>14|0;break $b}n=C[g+8>>2]}m=l+m|0;g=n+o|0;G=1;if((u-b|0)!=5){j=b;n=m;break ub}b=b+4|0;dc:{if(b>>>0>=t>>>0){b=0;n=C[k+4>>2];if(!n|C[n>>2]){break dc}C[n>>2]=130;break dc}ec:{fc:{gc:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break fc;case 1:break gc;default:break ec}}b=C[b+8>>2]<<16;break dc}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break dc}b=b- -8192>>>14|0;break dc}b=C[b+8>>2]}n=b+m|0}uj(i+3904|0,f,l,o,m,g,n);b=j+4|0;if(u>>>0>b>>>0){continue}break}}C[i+15784>>2]=n;C[i+15788>>2]=g;C[q>>2]=r;continue;case 28:hc:{if(b>>>0>>0){f=b+1|0;C[s+12>>2]=f;l=D[b|0];break hc}l=0;f=C[s>>2];if(!(!f|C[f>>2])){C[f>>2]=85}f=b}ic:{if(f>>>0>>0){C[s+12>>2]=f+1;j=D[f|0];break ic}j=0;b=C[s>>2];if(!b|C[b>>2]){break ic}C[b>>2]=85}b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=(j<<16|l<<24)>>16;b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break i;default:break k}}if(o>>>0<=246){b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=o-139;b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue}if(o>>>0<=250){jc:{if(b>>>0>>0){C[s+12>>2]=b+1;b=D[b|0];break jc}b=0;f=C[s>>2];if(!f|C[f>>2]){break jc}C[f>>2]=85}f=C[q>>2];if((f|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[f>>2]=((o<<8)+b|0)-63124;b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue}if((o|0)!=255){kc:{if(b>>>0>>0){C[s+12>>2]=b+1;j=D[b|0];break kc}j=0;b=C[s>>2];if(!b|C[b>>2]){break kc}C[b>>2]=85}b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=64148-(o<<8|j);b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue}lc:{if(b>>>0>>0){f=b+1|0;C[s+12>>2]=f;l=D[b|0];break lc}l=0;f=C[s>>2];if(!(!f|C[f>>2])){C[f>>2]=85}f=b}mc:{if(f>>>0>>0){b=f+1|0;C[s+12>>2]=b;n=D[f|0];break mc}n=0;b=C[s>>2];if(!(!b|C[b>>2])){C[b>>2]=85}b=f}nc:{if(b>>>0>>0){f=b+1|0;C[s+12>>2]=f;g=D[b|0];break nc}g=0;f=C[s>>2];if(!(!f|C[f>>2])){C[f>>2]=85}f=b}oc:{if(f>>>0>>0){C[s+12>>2]=f+1;j=D[f|0];break oc}j=0;b=C[s>>2];if(!b|C[b>>2]){break oc}C[b>>2]=85}b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=n<<16|l<<24|g<<8|j;b=C[q>>2];C[b+4>>2]=0;C[q>>2]=b+8;continue}Bm(k,i+15788|0,i+15784|0,i+3904|0,276484,0)}C[q>>2]=r;continue}if(b>>>0>>0){while(1){f=C[q>>2]-r>>3;pc:{if(f>>>0<=b>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break pc}C[g>>2]=130;break pc}qc:{rc:{sc:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break rc;case 1:break sc;default:break qc}}n=C[g+8>>2]<<16;break pc}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break pc}n=g- -8192>>>14|0;break pc}n=C[g+8>>2]}g=b|1;tc:{if(g>>>0>=f>>>0){g=0;m=C[k+4>>2];if(!m|C[m>>2]){break tc}C[m>>2]=130;break tc}uc:{vc:{wc:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break vc;case 1:break wc;default:break uc}}g=C[g+8>>2]<<16;break tc}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break tc}g=g- -8192>>>14|0;break tc}g=C[g+8>>2]}m=b+2|0;xc:{if(m>>>0>=f>>>0){m=0;t=C[k+4>>2];if(!t|C[t>>2]){break xc}C[t>>2]=130;break xc}yc:{zc:{Ac:{m=(m<<3)+k|0;switch(C[m+12>>2]-1|0){case 0:break zc;case 1:break Ac;default:break yc}}m=C[m+8>>2]<<16;break xc}m=C[m+8>>2];if((m|0)<0){m=0-(8192-m>>14)|0;break xc}m=m- -8192>>>14|0;break xc}m=C[m+8>>2]}n=j+n|0;j=b+3|0;Bc:{if(j>>>0>=f>>>0){j=0;t=C[k+4>>2];if(!t|C[t>>2]){break Bc}C[t>>2]=130;break Bc}Cc:{Dc:{Ec:{j=(j<<3)+k|0;switch(C[j+12>>2]-1|0){case 0:break Dc;case 1:break Ec;default:break Cc}}j=C[j+8>>2]<<16;break Bc}j=C[j+8>>2];if((j|0)<0){j=0-(8192-j>>14)|0;break Bc}j=j- -8192>>>14|0;break Bc}j=C[j+8>>2]}t=g+l|0;m=n+m|0;g=b+4|0;Fc:{if(g>>>0>=f>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break Fc}C[g>>2]=130;break Fc}Gc:{Hc:{Ic:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Hc;case 1:break Ic;default:break Gc}}l=C[g+8>>2]<<16;break Fc}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break Fc}l=g- -8192>>>14|0;break Fc}l=C[g+8>>2]}g=j+t|0;j=l+m|0;l=f;f=b+5|0;Jc:{if(l>>>0<=f>>>0){f=0;l=C[k+4>>2];if(!l|C[l>>2]){break Jc}C[l>>2]=130;break Jc}Kc:{Lc:{Mc:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break Lc;case 1:break Mc;default:break Kc}}f=C[f+8>>2]<<16;break Jc}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break Jc}f=f- -8192>>>14|0;break Jc}f=C[f+8>>2]}l=f+g|0;uj(i+3904|0,n,t,m,g,j,l);b=b+6|0;if(o>>>0>b>>>0){continue}break}}C[i+15784>>2]=l;C[i+15788>>2]=j;C[q>>2]=r;continue}}b=64}if(C[a+4>>2]){break a}}C[a+4>>2]=b}a=i+15536|0;C[a>>2]=0;C[a+4>>2]=0;C[i+15528>>2]=0;a=C[i+15516>>2];b=i+15544|0;c=C[b>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b>>2]=0;C[i+15736>>2]=0;C[i+15740>>2]=0;C[i+15728>>2]=0;a=C[i+15716>>2];b=C[i+15744>>2];if(b){Fe[C[a+8>>2]](a,b)}C[i+15744>>2]=0;C[i+15768>>2]=0;C[i+15772>>2]=0;C[i+15760>>2]=0;a=C[i+15748>>2];b=C[i+15776>>2];if(b){Fe[C[a+8>>2]](a,b)}C[i+15776>>2]=0;if(w){Fe[C[x+8>>2]](x,w)}if(!K){a=C[k>>2];if(k){Fe[C[a+8>>2]](a,k)}}Ce=i+15792|0}function hS(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,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,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=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;W=Ce-160|0;Ce=W;a:{T=C[a+112>>2];if(!(A[T+36|0]&1)){break a}while(1){b:{e=C[T+32>>2];if(!e){K=0;O=0;g=Ce-1904|0;Ce=g;G=205712;H=df(1,168);c:{if(!H){break c}d:{j=C[a+44>>2];if((j|0)<=0){break d}ba=g+1052|0;Z=g+1496|0;ca=g+1448|0;da=g+464|0;while(1){e:{f:{if((j|0)>0){d=C[(O<<2)+169488>>2];h=C[a+48>>2];j=j-1|0;f=0;while(1){e=f+j>>>1|0;k=h+I(e,36)|0;m=C[k>>2];g:{if(m>>>0>d>>>0){j=e-1|0;break g}if(d>>>0<=m>>>0){break f}f=e+1|0}if((f|0)<=(j|0)){continue}break}}C[((K<<2)+H|0)+8>>2]=0;break e}_=(K<<2)+H|0;d=C[k+28>>2];C[_+8>>2]=d;if(!d){break e}h:{i:{j:{k:{l:{m:{if(O>>>0<=3){j=1569;f=0;while(1){d=E[((j<<3)+(O<<1)|0)+156968>>1];n:{if(!d){break n}e=g+208|0;C[e>>2]=0;k=e;e=C[b+72>>2];if(!(Fe[C[e+156>>2]](b,C[b+76>>2],j,k,C[e+20>>2])|0)){break n}e=g+112|0;C[e>>2]=0;k=d;d=C[b+72>>2];if(!(Fe[C[d+156>>2]](b,C[b+76>>2],k,e,C[d+20>>2])|0)){break n}d=C[g+208>>2];e=C[g+112>>2];if((d|0)==(e|0)|(d|e)>>>0>65535){break n}h=f<<1;B[h+(g+1056|0)>>1]=e<<8|(e&65280)>>>8;B[h+(g+1424|0)>>1]=d<<8|(d&65280)>>>8;f=f+1|0}j=j+1|0;if((j|0)!=1748){continue}break}d=1;e=0;o:{switch(f|0){default:while(1){i=d<<1;h=i+(g+1424|0)|0;e=d;while(1){p:{j=e;if(!e){break p}e=j-1|0;k=E[(g+1424|0)+(e<<1)>>1];m=E[h>>1];if(((k<<8|k>>>8)&65535)>>>0<((m<<8|m>>>8)&65535)>>>0){break p}if((k|0)!=(m|0)){continue}}break}if((d|0)!=(j|0)){m=E[h>>1];e=j<<1;h=e+2|0;l=g+1424|0;k=l+e|0;r=h+l|0;l=d-j<<1;Yf(r,k,l);B[k>>1]=m;j=g+1056|0;k=E[j+i>>1];e=e+j|0;Yf(h+j|0,e,l);B[e>>1]=k}d=d+1|0;if((f|0)!=(d|0)){continue}break};break;case 0:break h;case 1:break o}}C[g+124>>2]=ba;C[g+112>>2]=g+208;C[g+160>>2]=0;C[g+164>>2]=0;C[g+152>>2]=0;C[g+156>>2]=0;C[g+144>>2]=0;C[g+148>>2]=0;C[g+136>>2]=0;C[g+140>>2]=0;A[g+180|0]=1;C[g+176>>2]=0;C[g+168>>2]=1;C[g+172>>2]=1;C[g+200>>2]=0;C[g+192>>2]=0;C[g+196>>2]=0;C[g+184>>2]=0;C[g+188>>2]=0;e=g+112|0;Tq(e);u=Yi(e);C[g+1864>>2]=0;C[g+1852>>2]=0;C[g+24>>2]=0;C[g+8>>2]=0;C[g+1860>>2]=f;C[g+1848>>2]=f;C[g+1856>>2]=g+1424;d=C[g+1860>>2];C[g+16>>2]=C[g+1856>>2];C[g+20>>2]=d;C[g+1844>>2]=g+1056;d=C[g+1848>>2];C[g>>2]=C[g+1844>>2];C[g+4>>2]=d;k=0;h=Ce-48|0;Ce=h;q:{if(!ux(u,e,1)){break q}r=Yi(e);C[h+32>>2]=C[g+24>>2];f=C[g+20>>2];d=C[g+16>>2];C[h+24>>2]=d;C[h+28>>2]=f;C[h+44>>2]=C[g+8>>2];j=C[g+4>>2];C[h+36>>2]=C[g>>2];C[h+40>>2]=j;j=C[h+36>>2];C[h+8>>2]=C[h+32>>2];C[h+12>>2]=j;j=C[h+44>>2];C[h+16>>2]=C[h+40>>2];C[h+20>>2]=j;C[h>>2]=d;C[h+4>>2]=f;d=0;i=Ce+-64|0;Ce=i;r:{if(C[e+20>>2]){break r}j=r+2|0;f=C[e+4>>2];m=j-f|0;if(!((m|0)>=0&(m|0)<=(C[e+8>>2]-f|0))){C[e+20>>2]=4;break r}d=j;if((f|0)!=(d|0)){We(f,0,m);d=C[e+4>>2]}C[e+4>>2]=d+m;if(!d){d=0;break r}s:{d=C[h+4>>2];if(!d){break s}l=C[h+16>>2];if(!l){break s}f=C[h+12>>2];m=D[f|0]|D[f+1|0]<<8;L=m<<8|m>>>8;o=C[h>>2];m=D[o|0]|D[o+1|0]<<8;m=L-(m<<8|m>>>8)|0;d=d-1|0;t:{if(!d){break t}M=l-1|0;if(!M){break t}while(1){l=D[f+2|0]|D[f+3|0]<<8;L=l<<8|l>>>8;l=D[o+2|0]|D[o+3|0]<<8;if((L-(l<<8|l>>>8)&65535)!=(m&65535)){break s}d=d-1|0;if(!d){break t}f=f+2|0;o=o+2|0;M=M-1|0;if(M){continue}break}}A[r|0]=0;A[r+1|0]=1;d=C[h+20>>2];C[i+48>>2]=C[h+16>>2];C[i+52>>2]=d;d=C[h+12>>2];C[i+40>>2]=C[h+8>>2];C[i+44>>2]=d;d=C[h+4>>2];C[i+32>>2]=C[h>>2];C[i+36>>2]=d;C[i+56>>2]=170952;if(C[e+20>>2]){d=0;break r}d=0;f=r+6|0;l=C[e+4>>2];n=f-l|0;if(!((n|0)<0|(n|0)>(C[e+8>>2]-l|0))){if((f|0)!=(l|0)){We(l,0,n);f=C[e+4>>2]}C[e+4>>2]=f+n;if(!f){break r}if(!tx(j,e,i+32|0)){break r}d=m<<8|(m&65280)>>>8;A[r+4|0]=d;A[r+5|0]=d>>>8;d=1;break r}C[e+20>>2]=4;break r}A[r|0]=0;A[r+1|0]=2;d=C[h+20>>2];C[i+24>>2]=C[h+16>>2];C[i+28>>2]=d;d=C[h+12>>2];C[i+16>>2]=C[h+8>>2];C[i+20>>2]=d;d=C[h+4>>2];C[i+8>>2]=C[h>>2];C[i+12>>2]=d;f=0;n=Ce-32|0;Ce=n;m=C[i+24>>2];l=C[i+20>>2];p=C[i+12>>2];d=C[i+28>>2];C[n+16>>2]=C[i+24>>2];C[n+20>>2]=d;d=C[i+20>>2];C[n+8>>2]=C[i+16>>2];C[n+12>>2]=d;d=C[i+12>>2];C[n>>2]=C[i+8>>2];C[n+4>>2]=d;C[n+24>>2]=170952;u:{if(C[e+20>>2]){break u}d=r+6|0;o=C[e+4>>2];q=d-o|0;if(!((q|0)>=0&(q|0)<=(C[e+8>>2]-o|0))){C[e+20>>2]=4;break u}j=d;if((d|0)!=(o|0)){We(o,0,q);j=C[e+4>>2]}o=j+q|0;C[e+4>>2]=o;if(C[e+20>>2]|!j){break u}j=4;v:{q=d-o|0;if((q|0)<0|(q|0)>(C[e+8>>2]-o|0)){break v}if((d|0)!=(o|0)){We(o,0,q);d=C[e+4>>2]}C[e+4>>2]=d+q;if(!d){break u}o=r+4|0;d=m>>>0>p>>>0?p:m;q=d<<8|(d&65280)>>>8;A[o|0]=q;A[o+1|0]=q>>>8;q=C[e+20>>2];if(d>>>0>=65536){j=q|16;break v}if(q){break u}f=(o+(d<<1&131070)|0)+2|0;o=C[e+4>>2];q=f-o|0;if((q|0)<0|(q|0)>(C[e+8>>2]-o|0)){break v}if((f|0)!=(o|0)){We(o,0,q);f=C[e+4>>2]}C[e+4>>2]=f+q;if(!f){f=0;break u}w:{if(!d){break w}f=0;if((d|0)!=1){q=d&-2;j=0;while(1){o=r+(f<<1)|0;p=m?l:205712;p=D[p|0]|D[p+1|0]<<8;A[o+6|0]=p;A[o+7|0]=p>>>8;p=r+((f|1)<<1)|0;o=(m|0)!=0;l=(o<<1)+l|0;v=(m|0)==(o|0);t=v?205712:l;t=D[t|0]|D[t+1|0]<<8;A[p+6|0]=t;A[p+7|0]=t>>>8;f=f+2|0;p=!v;l=l+(p<<1)|0;m=m-(o+p|0)|0;j=j+2|0;if((q|0)!=(j|0)){continue}break}}if(!(d&1)){break w}d=r+(f<<1)|0;f=m?l:205712;f=D[f|0]|D[f+1|0]<<8;A[d+6|0]=f;A[d+7|0]=f>>>8}f=tx(r+2|0,e,n);break u}C[e+20>>2]=j;f=0}Ce=n+32|0;d=f}Ce=i- -64|0;if(d){k=1;x:{if(!(D[u+4|0]|D[u+5|0]<<8)){B[211352]=E[102856];d=422704;break x}d=u+6|0}lk(e,d,yi(e,1));break q}d=C[e+40>>2];if(C[e+20>>2]|!d){break q}C[e+40>>2]=C[d+32>>2];f=C[d+4>>2];C[e+4>>2]=C[d>>2];C[e+8>>2]=f;kk(e);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[e+24>>2];C[e+24>>2]=d}Ce=h+48|0;j=C[g+132>>2];if(!j&C[g+156>>2]<0|!(j|D[g+180|0])){break m}y:{if(!C[g+152>>2]){break y}if(j){e=0;if(!(j&2)){break i}C[g+132>>2]=j|1;break i}j=0;if(F[g+160>>2]<2){break y}d=g+112|0;yi(d,0);Sq(d);j=C[g+132>>2]}e=0;if(!(!j&k)){break i}f=C[g+120>>2];j=C[g+124>>2]-f|0;h=C[g+112>>2];d=C[g+116>>2]-h|0;k=j+d|0;if(!k){break i}k=kf(k);if(!k){break i}e=jf(k,h,d);jf(d+e|0,f,j);break i}d=g+208|0;C[d>>2]=0;e=d;d=C[b+72>>2];e=Fe[C[d+156>>2]](b,C[b+76>>2],65247,e,C[d+20>>2])|0;if(!e){break l}C[g+1884>>2]=0;C[g+1892>>2]=0;d=E[g+208>>1];B[g+1900>>1]=d<<8|d>>>8;j=1;d=g+208|0;C[d>>2]=0;k=d;d=C[b+72>>2];if(Fe[C[d+156>>2]](b,C[b+76>>2],65248,k,C[d+20>>2])|0){break k}d=1;break j}C[g+132>>2]=1;e=0;break i}j=0;d=g+208|0;C[d>>2]=0;k=d;d=C[b+72>>2];if(Fe[C[d+156>>2]](b,C[b+76>>2],65248,k,C[d+20>>2])|0){break k}e=0;break h}d=1;f=E[g+208>>1];B[(g+1900|0)+(j<<1)>>1]=f<<8|f>>>8;f=j<<2;C[f+(g+1884|0)>>2]=0;C[f+(g+1892|0)>>2]=1;if(!e){break j}d=2;e=E[g+1900>>1];f=E[g+1902>>1];if(((e<<8|e>>>8)&65535)>>>0<((f<<8|f>>>8)&65535)>>>0|(e|0)==(f|0)){break j}B[g+1900>>1]=f;B[g+1902>>1]=e;ma=g,na=sT(C[g+1892>>2],C[g+1896>>2]),C[ma+1892>>2]=na;C[g+1896>>2]=Ee}f=0;j=0;while(1){h=j<<2;e=h+(g+1884|0)|0;h=I(C[h+(g+1892|0)>>2],18);k=E[h+170962>>1];z:{if(!k){break z}m=E[h+170964>>1];i=g+208|0;C[i>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,i,C[k+20>>2])|0)){break z}k=g+1424|0;C[k>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],m,l,C[k+20>>2])|0)){break z}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;k=f<<1;m=E[g+1424>>1];B[k+(g+112|0)>>1]=m<<8|m>>>8;l=k+(g+1856|0)|0;k=E[g+208>>1];B[l>>1]=k<<8|k>>>8;f=f+1|0}k=E[h+170966>>1];A:{if(!k){break A}m=E[h+170968>>1];i=g+208|0;C[i>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,i,C[k+20>>2])|0)){break A}k=g+1424|0;C[k>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],m,l,C[k+20>>2])|0)){break A}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;k=f<<1;m=E[g+1424>>1];B[k+(g+112|0)>>1]=m<<8|m>>>8;l=k+(g+1856|0)|0;k=E[g+208>>1];B[l>>1]=k<<8|k>>>8;f=f+1|0}k=E[h+170970>>1];B:{if(!k){break B}m=E[h+170972>>1];i=g+208|0;C[i>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,i,C[k+20>>2])|0)){break B}k=g+1424|0;C[k>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],m,l,C[k+20>>2])|0)){break B}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;k=f<<1;m=E[g+1424>>1];B[k+(g+112|0)>>1]=m<<8|m>>>8;l=k+(g+1856|0)|0;k=E[g+208>>1];B[l>>1]=k<<8|k>>>8;f=f+1|0}k=E[h+170974>>1];C:{if(!k){break C}h=E[h+170976>>1];m=g+208|0;C[m>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,m,C[k+20>>2])|0)){break C}k=g+1424|0;C[k>>2]=0;l=h;h=C[b+72>>2];if(!(Fe[C[h+156>>2]](b,C[b+76>>2],l,k,C[h+20>>2])|0)){break C}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;e=f<<1;h=E[g+1424>>1];B[e+(g+112|0)>>1]=h<<8|h>>>8;k=e+(g+1856|0)|0;e=E[g+208>>1];B[k>>1]=e<<8|e>>>8;f=f+1|0}j=j+1|0;if((j|0)!=(d|0)){continue}break}if(!f){e=0;break h}C[g+1436>>2]=da;C[g+1424>>2]=g+208;e=ca;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;A[g+1492|0]=1;C[g+1488>>2]=0;C[g+1480>>2]=1;C[g+1484>>2]=1;C[Z+16>>2]=0;e=Z;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;i=g+1424|0;Tq(i);U=Yi(i);C[g+1852>>2]=0;C[g+1840>>2]=0;C[g+1828>>2]=0;C[g+1816>>2]=0;C[g+1804>>2]=0;C[g+104>>2]=0;C[g+88>>2]=0;C[g+1848>>2]=d;C[g+1836>>2]=d;C[g+1824>>2]=f;C[g+1812>>2]=f;C[g+1800>>2]=f;C[g+1844>>2]=g+1900;d=C[g+1848>>2];C[g+96>>2]=C[g+1844>>2];C[g+100>>2]=d;C[g+1832>>2]=g+1884;d=C[g+1836>>2];C[g+80>>2]=C[g+1832>>2];C[g+84>>2]=d;C[g+1820>>2]=g+112;C[g+1808>>2]=g+1056;C[g+1796>>2]=g+1856;C[g+72>>2]=0;C[g+56>>2]=0;C[g+40>>2]=0;d=C[g+1824>>2];C[g+64>>2]=C[g+1820>>2];C[g+68>>2]=d;d=C[g+1812>>2];C[g+48>>2]=C[g+1808>>2];C[g+52>>2]=d;d=C[g+1800>>2];C[g+32>>2]=C[g+1796>>2];C[g+36>>2]=d;d=g- -64|0;r=0;M=0;n=Ce-160|0;Ce=n;D:{if(!ux(U,i,4)){break D}t=Yi(i);C[n+88>>2]=C[g+104>>2];e=C[g+100>>2];C[n+80>>2]=C[g+96>>2];C[n+84>>2]=e;C[n+104>>2]=C[g+88>>2];e=C[g+84>>2];C[n+96>>2]=C[g+80>>2];C[n+100>>2]=e;C[n+120>>2]=C[d+8>>2];e=C[d+4>>2];C[n+112>>2]=C[d>>2];C[n+116>>2]=e;C[n+136>>2]=C[g+56>>2];d=C[g+52>>2];C[n+128>>2]=C[g+48>>2];C[n+132>>2]=d;C[n+152>>2]=C[g+40>>2];d=C[g+36>>2];C[n+144>>2]=C[g+32>>2];C[n+148>>2]=d;E:{if(C[i+20>>2]){break E}q=t+2|0;d=C[i+4>>2];e=q-d|0;if(!((e|0)>=0&(e|0)<=(C[i+8>>2]-d|0))){C[i+20>>2]=4;break E}if((d|0)!=(q|0)){We(d,0,e);q=C[i+4>>2]}C[i+4>>2]=e+q;if(!q){break E}A[t|0]=0;A[t+1|0]=1;C[n+72>>2]=C[n+88>>2];C[n+56>>2]=C[n+104>>2];C[n+40>>2]=C[n+120>>2];C[n+24>>2]=C[n+136>>2];C[n+8>>2]=C[n+152>>2];d=C[n+84>>2];C[n+64>>2]=C[n+80>>2];C[n+68>>2]=d;d=C[n+100>>2];C[n+48>>2]=C[n+96>>2];C[n+52>>2]=d;d=C[n+116>>2];C[n+32>>2]=C[n+112>>2];C[n+36>>2]=d;d=C[n+132>>2];C[n+16>>2]=C[n+128>>2];C[n+20>>2]=d;d=C[n+148>>2];C[n>>2]=C[n+144>>2];C[n+4>>2]=d;Q=n- -64|0;q=0;u=Ce-32|0;Ce=u;F:{if(C[i+20>>2]){break F}d=t+6|0;e=C[i+4>>2];f=d-e|0;if(!((f|0)>=0&(f|0)<=(C[i+8>>2]-e|0))){C[i+20>>2]=4;break F}j=d;if((d|0)!=(e|0)){We(e,0,f);j=C[i+4>>2]}e=f+j|0;C[i+4>>2]=e;if(C[i+20>>2]|!j){break F}j=d-e|0;if(!((j|0)>=0&(j|0)<=(C[i+8>>2]-e|0))){C[i+20>>2]=4;break F}f=C[Q+4>>2];if((d|0)!=(e|0)){We(e,0,j);d=C[i+4>>2]}C[i+4>>2]=d+j;if(!d){break F}R=t+4|0;d=f<<8|(f&65280)>>>8;A[R|0]=d;A[R+1|0]=d>>>8;d=C[i+20>>2];if(f>>>0>=65536){C[i+20>>2]=d|16;break F}if(d){break F}d=((f<<1&131070)+R|0)+2|0;e=C[i+4>>2];f=d-e|0;if(!((f|0)>=0&(f|0)<=(C[i+8>>2]-e|0))){C[i+20>>2]=4;break F}if((d|0)!=(e|0)){We(e,0,f);d=C[i+4>>2]}C[i+4>>2]=d+f;if(!d){break F}$=C[Q+4>>2];if($){o=C[n+20>>2];j=C[n+36>>2];ea=E[102856];fa=C[n+48>>2];ga=C[n+52>>2];k=C[n+32>>2];X=C[n+16>>2];while(1){v=C[(q>>>0>=ga>>>0?205712:(q<<2)+fa|0)>>2];d=D[R|0]|D[R+1|0]<<8;G:{if(((d<<8|d>>>8)&65535)>>>0<=q>>>0){B[211352]=ea;e=422704;break G}e=(t+(q<<1)|0)+6|0}C[u+28>>2]=0;C[u+20>>2]=k;C[u+24>>2]=j>>>0>>0?j:v;C[u+16>>2]=0;C[u+12>>2]=o>>>0>>0?o:v;C[u+8>>2]=X;d=0;p=Ce-32|0;Ce=p;L=e;A[e|0]=0;A[e+1|0]=0;x=Yi(i);C[p+24>>2]=C[u+28>>2];e=C[u+24>>2];C[p+16>>2]=C[u+20>>2];C[p+20>>2]=e;C[p+8>>2]=C[u+16>>2];e=C[u+12>>2];C[p>>2]=C[u+8>>2];C[p+4>>2]=e;J=Ce-16|0;Ce=J;H:{if(C[i+20>>2]){break H}l=4;I:{f=x+2|0;h=C[i+4>>2];m=f-h|0;if((m|0)<0|(m|0)>(C[i+8>>2]-h|0)){break I}e=f;if((h|0)!=(e|0)){We(h,0,m);e=C[i+4>>2]}h=e+m|0;C[i+4>>2]=h;if(C[i+20>>2]|!e){break H}e=f-h|0;if((e|0)<0|(e|0)>(C[i+8>>2]-h|0)){break I}P=C[p+20>>2];if((f|0)!=(h|0)){We(h,0,e);f=C[i+4>>2]}C[i+4>>2]=e+f;if(!f){break H}e=P<<8|(P&65280)>>>8;A[x|0]=e;A[x+1|0]=e>>>8;e=C[i+20>>2];if(P>>>0>=65536){l=e|16;break I}if(e){break H}f=((P<<1&131070)+x|0)+2|0;e=C[i+4>>2];h=f-e|0;if((h|0)<0|(h|0)>(C[i+8>>2]-e|0)){break I}if((e|0)!=(f|0)){We(e,0,h);f=C[i+4>>2]}C[i+4>>2]=f+h;if(!f){break H}if(!P){d=1;break H}ha=C[p+16>>2];ia=E[102856];ja=C[p>>2];ka=C[p+4>>2];f=0;while(1){d=C[(f>>>0>=ka>>>0?205712:(f<<2)+ja|0)>>2];e=((d|0)<=1?1:d)-1|0;d=D[x|0]|D[x+1|0]<<8;J:{if(((d<<8|d>>>8)&65535)>>>0<=f>>>0){B[211352]=ia;h=422704;break J}h=((f<<1)+x|0)+2|0}d=C[n+4>>2];m=C[n>>2];C[J+12>>2]=0;C[J+4>>2]=m;C[J+8>>2]=d>>>0>>0?d:e;Y=0;d=Ce-16|0;Ce=d;la=h;A[h|0]=0;A[h+1|0]=0;N=Yi(i);h=(f<<1)+ha|0;h=D[h|0]|D[h+1|0]<<8;C[d+8>>2]=C[J+12>>2];l=C[J+8>>2];C[d>>2]=C[J+4>>2];C[d+4>>2]=l;l=d;m=0;K:{if(C[i+20>>2]){break K}w=(h<<8|h>>>8)&65535;V=4;L:{d=N+4|0;y=C[i+4>>2];s=d-y|0;if((s|0)<0|(s|0)>(C[i+8>>2]-y|0)){break L}h=d;if((d|0)!=(y|0)){We(y,0,s);h=C[i+4>>2]}C[i+4>>2]=h+s;M:{if(!h){break M}h=w<<8|(w&65280)>>>8;A[N|0]=h;A[N+1|0]=h>>>8;if(C[i+20>>2]){break M}s=C[i+4>>2];w=d-s|0;if((w|0)<0|(w|0)>(C[i+8>>2]-s|0)){break L}h=C[l+4>>2];y=C[l>>2];if((d|0)!=(s|0)){We(s,0,w);d=C[i+4>>2]}C[i+4>>2]=d+w;if(!d){break M}s=N+2|0;d=h+1|0;w=d<<8|(d&65280)>>>8;A[s|0]=w;A[s+1|0]=w>>>8;w=C[i+20>>2];if(d>>>0>=65536){V=w|16;break L}if(w){break M}d=s+(d&65535?d<<1&131070:2)|0;m=C[i+4>>2];s=d-m|0;if((s|0)<0|(s|0)>(C[i+8>>2]-m|0)){break L}if((d|0)!=(m|0)){We(m,0,s);d=C[i+4>>2]}C[i+4>>2]=d+s;m=0;if(!d){break K}m=1;if(!h){break M}w=h&1;d=0;N:{if((h|0)==1){h=1;break N}V=h&-2;while(1){s=(d<<1)+N|0;z=h?y:205712;z=D[z|0]|D[z+1|0]<<8;A[s+4|0]=z;A[s+5|0]=z>>>8;z=((d|1)<<1)+N|0;s=(h|0)!=0;y=(s<<1)+y|0;aa=(h|0)==(s|0);S=aa?205712:y;S=D[S|0]|D[S+1|0]<<8;A[z+4|0]=S;A[z+5|0]=S>>>8;d=d+2|0;z=!aa;y=y+(z<<1)|0;h=h-(s+z|0)|0;Y=Y+2|0;if((V|0)!=(Y|0)){continue}break}}if(!w){break M}d=(d<<1)+N|0;h=h?y:205712;h=D[h|0]|D[h+1|0]<<8;A[d+4|0]=h;A[d+5|0]=h>>>8}break K}C[i+20>>2]=V;m=0}d=m;O:{if(d){lk(i,la,yi(i,1));break O}h=C[i+40>>2];if(C[i+20>>2]|!h){break O}C[i+40>>2]=C[h+32>>2];m=C[h+4>>2];C[i+4>>2]=C[h>>2];C[i+8>>2]=m;kk(i);Re(C[h+16>>2]);C[h+16>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;Re(C[h+28>>2]);C[h+28>>2]=0;C[h+20>>2]=0;C[h+24>>2]=0;C[h>>2]=C[i+24>>2];C[i+24>>2]=h}Ce=l+16|0;if(!d){break H}h=C[n+4>>2];if(h>>>0>>0){e=h}C[n+4>>2]=h-e;C[n+8>>2]=C[n+8>>2]+e;C[n>>2]=C[n>>2]+(e<<1);f=f+1|0;if((P|0)!=(f|0)){continue}break}break H}C[i+20>>2]=l}Ce=J+16|0;P:{if(d){lk(i,L,yi(i,1));break P}e=C[i+40>>2];if(C[i+20>>2]|!e){break P}C[i+40>>2]=C[e+32>>2];f=C[e+4>>2];C[i+4>>2]=C[e>>2];C[i+8>>2]=f;kk(i);Re(C[e+16>>2]);C[e+16>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;Re(C[e+28>>2]);C[e+28>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e>>2]=C[i+24>>2];C[i+24>>2]=e}Ce=p+32|0;if(!d){break F}d=j>>>0>>0?j:v;j=j-d|0;k=(d<<1)+k|0;d=o>>>0>>0?o:v;o=o-d|0;X=(d<<2)+X|0;q=q+1|0;if($>>>0>q>>>0){continue}break}}f=0;l=0;p=0;o=Ce-16|0;Ce=o;v=t+2|0;A[v|0]=0;A[v+1|0]=0;r=Yi(i);C[o+8>>2]=C[Q+8>>2];d=C[Q+4>>2];C[o>>2]=C[Q>>2];C[o+4>>2]=d;q=Ce-16|0;Ce=q;Q:{if(C[i+20>>2]){break Q}m=r+2|0;d=C[i+4>>2];e=m-d|0;if(!((e|0)>=0&(e|0)<=(C[i+8>>2]-d|0))){C[i+20>>2]=4;break Q}f=m;if((d|0)!=(f|0)){We(d,0,e);f=C[i+4>>2]}C[i+4>>2]=e+f;if(!f){f=0;break Q}h=C[o>>2];R:{S:{d=C[o+4>>2];T:{if(d){f=(d<<1)+h|0;k=-2;j=d;e=h;while(1){L=k+1|0;k=j?e:205712;k=D[k|0]|D[k+1|0]<<8;k=(k<<8|k>>>8)&65535;l=((L|0)!=(k|0))+l|0;p=p+1|0;t=(j|0)!=0;j=j-t|0;e=(t<<1)+e|0;if(j|(f|0)!=(e|0)){continue}break}e=I(l,3)>>>0

>>0;f=e?512:256;A[r|0]=f;A[r+1|0]=f>>>8;if(e-1|0){break T}break S}A[r|0]=0;A[r+1|0]=1}if(C[i+20>>2]){f=0;break Q}k=4;j=r+4|0;e=C[i+4>>2];f=j-e|0;if((f|0)<0|(f|0)>(C[i+8>>2]-e|0)){break R}if((e|0)!=(j|0)){We(e,0,f);j=C[i+4>>2]}C[i+4>>2]=f+j;f=0;if(!j){break Q}e=d<<8|(d&65280)>>>8;A[m|0]=e;A[m+1|0]=e>>>8;e=C[i+20>>2];if(d>>>0>=65536){k=e|16;break R}if(e){break Q}j=(m+(d<<1&131070)|0)+2|0;e=C[i+4>>2];l=j-e|0;if((l|0)<0|(l|0)>(C[i+8>>2]-e|0)){break R}if((e|0)!=(j|0)){We(e,0,l);j=C[i+4>>2]}C[i+4>>2]=j+l;if(!j){break Q}f=1;if(!d){break Q}l=d&1;e=0;U:{if((d|0)==1){d=1;break U}r=d&-2;j=0;while(1){k=m+(e<<1)|0;p=d?h:205712;p=D[p|0]|D[p+1|0]<<8;A[k+2|0]=p;A[k+3|0]=p>>>8;p=m+((e|1)<<1)|0;k=(d|0)!=0;h=(k<<1)+h|0;t=(d|0)==(k|0);x=t?205712:h;x=D[x|0]|D[x+1|0]<<8;A[p+2|0]=x;A[p+3|0]=x>>>8;e=e+2|0;p=!t;h=h+(p<<1)|0;d=d-(k+p|0)|0;j=j+2|0;if((r|0)!=(j|0)){continue}break}}if(!l){break Q}e=m+(e<<1)|0;d=d?h:205712;d=D[d|0]|D[d+1|0]<<8;A[e+2|0]=d;A[e+3|0]=d>>>8;break Q}C[q+8>>2]=C[o+8>>2];d=C[o+4>>2];C[q>>2]=C[o>>2];C[q+4>>2]=d;l=0;k=0;V:{if(C[i+20>>2]){break V}W:{e=r+4|0;f=C[i+4>>2];j=e-f|0;if(!((j|0)>=0&(j|0)<=(C[i+8>>2]-f|0))){break W}d=e;if((f|0)!=(d|0)){We(f,0,j);d=C[i+4>>2]}p=d+j|0;C[i+4>>2]=p;if(!d){break V}f=C[q+4>>2];if(!f){A[r+2|0]=0;A[r+3|0]=0;k=1;break V}m=C[q>>2];t=m+(f<<1)|0;j=-2;d=f;h=m;while(1){k=j+1|0;j=d?h:205712;j=D[j|0]|D[j+1|0]<<8;j=(j<<8|j>>>8)&65535;l=((k|0)!=(j|0))+l|0;k=(d|0)!=0;d=d-k|0;h=(k<<1)+h|0;if(d|(t|0)!=(h|0)){continue}break}k=0;if(C[i+20>>2]){break V}d=e-p|0;if(!((d|0)>=0&(d|0)<=(C[i+8>>2]-p|0))){break W}if((e|0)!=(p|0)){We(p,0,d);e=C[i+4>>2]}C[i+4>>2]=d+e;X:{if(!e){break X}h=r+2|0;d=l<<8|(l&65280)>>>8;A[h|0]=d;A[h+1|0]=d>>>8;d=C[i+20>>2];if(l>>>0>=65536){C[i+20>>2]=d|16;break V}if(d){break X}d=(h+I(l,6)|0)+2|0;e=C[i+4>>2];j=d-e|0;if(!((j|0)>=0&(j|0)<=(C[i+8>>2]-e|0))){break W}if((d|0)!=(e|0)){We(e,0,j);d=C[i+4>>2]}C[i+4>>2]=d+j;if(!d){break X}e=-2;d=-1;j=0;while(1){l=e+1|0;e=f?m:205712;k=D[e|0]|D[e+1|0]<<8;e=(k<<8|k>>>8)&65535;if((l|0)!=(e|0)){d=d+1|0;l=D[h|0]|D[h+1|0]<<8;Y:{if(d>>>0>=((l<<8|l>>>8)&65535)>>>0){B[211354]=D[206106]|D[206107]<<8;C[105676]=D[206102]|D[206103]<<8|(D[206104]<<16|D[206105]<<24);l=422704;break Y}l=(h+I(d,6)|0)+2|0}A[l|0]=k;A[l+1|0]=k>>>8;l=D[h|0]|D[h+1|0]<<8;Z:{if(((l<<8|l>>>8)&65535)>>>0<=d>>>0){B[211354]=D[206106]|D[206107]<<8;C[105676]=D[206102]|D[206103]<<8|(D[206104]<<16|D[206105]<<24);l=422704;break Z}l=(h+I(d,6)|0)+2|0}r=j<<8|(j&65280)>>>8;A[l+4|0]=r;A[l+5|0]=r>>>8}l=D[h|0]|D[h+1|0]<<8;_:{if(((l<<8|l>>>8)&65535)>>>0<=d>>>0){B[211354]=D[206106]|D[206107]<<8;C[105676]=D[206102]|D[206103]<<8|(D[206104]<<16|D[206105]<<24);l=422704;break _}l=(h+I(d,6)|0)+2|0}A[l+2|0]=k;A[l+3|0]=k>>>8;k=1;j=j+1|0;l=(f|0)!=0;f=f-l|0;m=(l<<1)+m|0;if(f|(t|0)!=(m|0)){continue}break}}break V}C[i+20>>2]=4}f=k;break Q}C[i+20>>2]=k;f=0}Ce=q+16|0;$:{if(f){lk(i,v,yi(i,1));break $}d=C[i+40>>2];if(C[i+20>>2]|!d){break $}C[i+40>>2]=C[d+32>>2];e=C[d+4>>2];C[i+4>>2]=C[d>>2];C[i+8>>2]=e;kk(i);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[i+24>>2];C[i+24>>2]=d}Ce=o+16|0;r=f}Ce=u+32|0;if(!r){break E}M=1;aa:{if(!(D[U+4|0]|D[U+5|0]<<8)){B[211352]=E[102856];d=422704;break aa}d=U+6|0}lk(i,d,yi(i,1));break D}d=C[i+40>>2];if(C[i+20>>2]|!d){break D}C[i+40>>2]=C[d+32>>2];e=C[d+4>>2];C[i+4>>2]=C[d>>2];C[i+8>>2]=e;kk(i);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[i+24>>2];C[i+24>>2]=d}Ce=n+160|0;j=C[g+1444>>2];ba:{if(!(!j&C[g+1468>>2]<0|!(j|D[g+1492|0]))){ca:{if(!C[g+1464>>2]){break ca}if(j){e=0;if(!(j&2)){break ba}C[g+1444>>2]=j|1;break ba}j=0;if(F[g+1472>>2]<2){break ca}d=g+1424|0;yi(d,0);Sq(d);j=C[g+1444>>2]}e=0;if(!(!j&M)){break ba}f=C[g+1432>>2];j=C[g+1436>>2]-f|0;h=C[g+1424>>2];d=C[g+1428>>2]-h|0;k=j+d|0;if(!k){break ba}k=kf(k);if(!k){break ba}e=jf(k,h,d);jf(d+e|0,f,j);break ba}C[g+1444>>2]=1;e=0}Rq(g+1424|0);break h}Rq(g+112|0)}C[_+28>>2]=e;if(!e){break e}d=I(K,24)+H|0;C[d+56>>2]=0;f=d+48|0;C[f>>2]=0;C[f+4>>2]=0;C[g+212>>2]=f;C[g+208>>2]=0;py(e,g+208|0);C[d+68>>2]=0;d=d+60|0;C[d>>2]=0;C[d+4>>2]=0;C[g+212>>2]=d;C[g+208>>2]=0;f=D[e+4|0]|D[e+5|0]<<8;if(f){d=D[e|0]|D[e+1|0]<<8;h=(d<<8|d>>>8)&65535;d=e+4|0;f=(f<<8|f>>>8)&65535;k=f>>>0<=1?1:f;j=0;while(1){f=D[d|0]|D[d+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=j>>>0?205712:(d+(j<<1)|0)+2|0;f=D[f|0]|D[f+1|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=205712}Op(f,g+208|0,h);j=j+1|0;if((k|0)!=(j|0)){continue}break}}K=K+1|0}O=O+1|0;if((O|0)!=5){j=C[a+44>>2];continue}break}A[H+4|0]=1;C[H>>2]=K;if(!K){break d}G=H;break c}Re(H)}Ce=g+1904|0;e=G;if(C[T+32>>2]){break b}C[T+32>>2]=e}a=Ah(W+12|0,0,b,c);b=C[e>>2];if(!b){break a}c=0;while(1){f=(c<<2)+e|0;d=C[f+28>>2];if(d){b=C[f+8>>2];C[a+36>>2]=0;C[a+120>>2]=b;C[a+28>>2]=0;C[a+32>>2]=0;f=C[a+132>>2];C[a+12>>2]=f;j=C[a+124>>2]==1;A[a+16|0]=j;C[a+80>>2]=0;C[a+20>>2]=b;A[a+17|0]=D[a+142|0];C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=f;C[a+64>>2]=-1;A[a+61|0]=1;A[a+60|0]=j|D[a+141|0]!=0;C[a+8>>2]=a;C[a+52>>2]=a;h=(I(c,24)+e|0)+48|0;f=C[a+100>>2];da:{if(!C[f+80>>2]){break da}b=C[a+120>>2];if(!b){break da}j=D[d+2|0]|D[d+3|0]<<8;k=j<<8|j>>>8;j=k&65535;if(k&16){k=j;j=D[d+4|0]|D[d+5|0]<<8;j=d+(((j<<8|j>>>8)&65535)<<1)|0;j=D[j+6|0]|D[j+7|0]<<8;j=k|(j<<24|j<<8&16711680)}C[a+132>>2]=j;C[a- -64>>2]=-1;A[a+61|0]=1;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+12>>2]=j;C[a+80>>2]=0;C[a+52>>2]=a;C[a+20>>2]=b;A[a+17|0]=D[a+142|0];C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=j;b=C[a+124>>2]==1;A[a+16|0]=b;A[a+60|0]=b|D[a+141|0]!=0;ea:{b=D[d|0]|D[d+1|0]<<8;fa:{if((b|0)!=1792){if((b|0)!=2048){break fa}break ea}j=E[102856];b=D[d+4|0]|D[d+5|0]<<8?D[d+6|0]|D[d+7|0]<<8:j;ga:{if(!(b&65535)){b=205712;break ga}b=d+((b<<8|(b&65280)>>>8)&65535)|0;j=D[b|0]|D[b+1|0]<<8}if((j&65535)!=256){break fa}if((D[b+2|0]|D[b+3|0]<<8)==2048){break ea}}C[f+84>>2]=0;C[f+76>>2]=0;A[f+73|0]=1;A[f+74|0]=0;C[f+96>>2]=C[f+92>>2];C[f+76>>2]=0;Vp(a,h);gh(f);break da}C[f+76>>2]=C[f+80>>2]-1;ty(a,h)}b=C[e>>2]}c=c+1|0;if(c>>>0>>0){continue}break}break a}G=0;if(!(!e|!C[e>>2])){while(1){f=(G<<2)+e|0;ha:{if(!C[f+28>>2]){break ha}d=I(G,24)+e|0;Re(C[d+68>>2]);C[d+68>>2]=0;C[d+60>>2]=0;C[d+64>>2]=0;if(!D[e+4|0]){break ha}Re(C[f+28>>2])}G=G+1|0;if(G>>>0>2]){continue}break}Re(e)}continue}}Ce=W+160|0}function mA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=J(0),k=0,l=0,m=0,n=0,o=J(0),p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,L=0,M=0,N=0,O=0,P=0,Q=J(0),R=0,S=0,T=0,U=0,V=0,W=0,X=J(0),Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=J(0),fa=J(0),ga=J(0),ha=J(0),ia=J(0),ja=0,ka=J(0),la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0;t=C[a+36>>2];c=C[a+64>>2];E=C[c+104>>2];P=C[c+4>>2];W=C[P+28>>2];ja=C[a+104>>2];oa=Ce;c=C[P+4>>2]<<2;$=oa-(c+15&-16)|0;b=$;Ce=b;pa=pg(a,c);T=pg(a,C[P+4>>2]<<2);qa=pg(a,C[P+4>>2]<<2);X=G[ja+4>>2];c=C[P+4>>2];B=b-((c<<2)+15&-16)|0;Ce=B;da=C[a+28>>2];M=C[((da<<2)+W|0)+544>>2];b=C[E+56>>2];d=C[ja+8>>2];C[a+40>>2]=da;u=da?104:0;O=b+I(d,52)|0;a:{if((c|0)<=0){z=(t|0)/2|0;g=z<<2;break a}F=t-1|0;r=E+4|0;z=(t|0)/2|0;g=z<<2;ka=J(+J(J(J(((w(J(J(4)/J(t|0))),j(2))&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345);N=(t|0)<3;while(1){D=m<<2;k=C[D+C[a>>2]>>2];Ca=D+T|0,Da=pg(a,g),C[Ca>>2]=Da;l=D+pa|0;Ca=l,Da=pg(a,g),C[Ca>>2]=Da;c=0;b=C[a+28>>2];e=(b?C[a+32>>2]:0)<<2;s=C[e+W>>2];q=(s|0)/-4|0;d=(s|0)/2|0;n=(b?C[a+24>>2]:0)<<2;x=C[n+W>>2];p=(x|0)/-4|0;h=C[(b<<2)+W>>2];f=(h|0)/4|0;b=p+f|0;x=(x|0)/2|0;v=b+x|0;y=C[(C[e+r>>2]<<2)+60640>>2];e=C[(C[n+r>>2]<<2)+60640>>2];A=f+((h|0)/2|0)|0;if((b|0)>0){We(k,0,b<<2);c=b}b:{if((c|0)>=(v|0)){break b}b=x+(f+p|0)|0;n=b-c|0;x=n&1;f=0;if((b|0)!=(c+1|0)){p=n&-2;n=0;while(1){b=k+(c<<2)|0;v=f<<2;G[b>>2]=G[v+e>>2]*G[b>>2];G[b+4>>2]=G[e+(v|4)>>2]*G[b+4>>2];f=f+2|0;c=c+2|0;n=n+2|0;if((p|0)!=(n|0)){continue}break}}if(!x){break b}c=k+(c<<2)|0;G[c>>2]=G[e+(f<<2)>>2]*G[c>>2]}c=q+A|0;if((s|0)>1){b=c+d|0;while(1){f=k+(c<<2)|0;d=d-1|0;G[f>>2]=G[y+(d<<2)>>2]*G[f>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}if((c|0)<(h|0)){We(k+(c<<2)|0,0,h-c<<2)}x=C[l>>2];h=0;b=Ce;p=b;n=C[C[((C[a+28>>2]<<2)+E|0)+12>>2]>>2];s=C[n>>2];l=s>>1;f=l<<2;c=(f+k|0)+(s&-4)|0;b=b-((s<<2)+15&-16)|0;d=f+b|0;q=s>>3;Ce=b;f=f+C[n+8>>2]|0;if((s|0)>=8){e=c+4|0;while(1){v=c-8|0;y=h<<2;c=c-16|0;i=J(G[c>>2]+G[e+8>>2]);A=f-4|0;o=J(G[v>>2]+G[e>>2]);f=f-8|0;G[y+d>>2]=J(i*G[A>>2])+J(o*G[f>>2]);G[d+(y|4)>>2]=J(i*G[f>>2])-J(G[A>>2]*o);e=e+16|0;h=h+2|0;if((q|0)>(h|0)){continue}break}}e=k+4|0;q=l-q|0;if((q|0)>(h|0)){while(1){v=c-8|0;y=h<<2;c=c-16|0;i=J(G[c>>2]-G[e+8>>2]);A=f-4|0;o=J(G[v>>2]-G[e>>2]);f=f-8|0;G[y+d>>2]=J(i*G[A>>2])+J(o*G[f>>2]);G[d+(y|4)>>2]=J(i*G[f>>2])-J(G[A>>2]*o);e=e+16|0;h=h+2|0;if((q|0)>(h|0)){continue}break}}if((h|0)<(l|0)){c=k+(s<<2)|0;while(1){q=c-8|0;v=h<<2;c=c-16|0;i=J(J(-G[c>>2])-G[e+8>>2]);y=f-4|0;o=J(J(-G[q>>2])-G[e>>2]);f=f-8|0;G[v+d>>2]=J(i*G[y>>2])+J(o*G[f>>2]);G[d+(v|4)>>2]=J(i*G[f>>2])-J(G[y>>2]*o);e=e+16|0;h=h+2|0;if((l|0)>(h|0)){continue}break}}zs(n,d,l);v=C[n+8>>2];c=C[n>>2];h=v+(c<<2)|0;e=C[n+12>>2];q=(c<<1&-4)+b|0;c=q;f=b;while(1){d=q+(C[e>>2]<<2)|0;i=G[d+4>>2];y=q+(C[e+4>>2]<<2)|0;o=G[y+4>>2];Q=J(J(i+o)*J(.5));ea=G[d>>2];fa=G[y>>2];ga=J(ea+fa);ha=G[h>>2];i=J(i-o);o=G[h+4>>2];ia=J(J(ga*ha)+J(i*o));G[f>>2]=Q+ia;G[c-8>>2]=Q-ia;Q=J(J(ea-fa)*J(.5));i=J(J(ga*o)-J(ha*i));G[f+4>>2]=Q+i;G[c-4>>2]=i-Q;d=q+(C[e+8>>2]<<2)|0;i=G[d+4>>2];y=q+(C[e+12>>2]<<2)|0;o=G[y+4>>2];Q=J(J(i+o)*J(.5));ea=G[d>>2];fa=G[y>>2];ga=J(ea+fa);ha=G[h+8>>2];i=J(i-o);o=G[h+12>>2];ia=J(J(ga*ha)+J(i*o));G[f+8>>2]=Q+ia;d=c-16|0;G[d>>2]=Q-ia;Q=J(J(ea-fa)*J(.5));i=J(J(ga*o)-J(ha*i));G[f+12>>2]=Q+i;G[c-12>>2]=i-Q;e=e+16|0;h=h+16|0;c=d;f=f+16|0;if(c>>>0>f>>>0){continue}break}if((s|0)>=4){c=s>>2;c=(c|0)<=1?1:c;d=l<<2;h=d+v|0;f=d+x|0;e=0;while(1){i=G[b>>2];o=G[b+4>>2];G[x+(e<<2)>>2]=G[n+16>>2]*J(J(i*G[h>>2])+J(o*G[h+4>>2]));f=f-4|0;G[f>>2]=G[n+16>>2]*J(J(i*G[h+4>>2])-J(o*G[h>>2]));h=h+8|0;b=b+8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}Ce=p;q=0;c=I(C[a+28>>2],12)+E|0;b=C[c+20>>2];c:{if((b|0)==1){break c}v=C[c+28>>2];l=C[v+4>>2];if((l|0)<=0){break c}y=l+1|0;f=C[c+24>>2];n=(f+(b<<2)|0)-4|0;h=1;c=b;e=b;while(1){d=(b|0)/(c|0)|0;s=C[v+(y-q<<2)>>2];c=(c|0)/(s|0)|0;e=e-I(d,s-1|0)|0;d:{e:{f:{g:{switch(s-2|0){case 2:s=n+(e<<2)|0;p=d+e|0;x=n+(p<<2)|0;p=n+(d+p<<2)|0;if(!h){ts(d,c,f,k,s,x,p);break e}ts(d,c,k,f,s,x,p);break f;case 0:s=n+(e<<2)|0;if(h){ss(d,c,k,f,s);break f}ss(d,c,f,k,s);break e;default:break g}}x=I(c,d);p=n+(e<<2)|0;if(!((d|0)==1?h:1-h|0)){rs(d,s,c,x,k,k,k,f,f,p);break e}rs(d,s,c,x,f,f,f,k,k,p)}h=0;d=1;break d}h=1;d=0}q=q+1|0;if((l|0)!=(q|0)){continue}break}if(!d|(b|0)<=0){break c}e=0;c=0;if(b>>>0>=4){n=b&-4;h=0;while(1){d=c<<2;G[d+k>>2]=G[d+f>>2];s=d|4;G[s+k>>2]=G[f+s>>2];s=d|8;G[s+k>>2]=G[f+s>>2];d=d|12;G[d+k>>2]=G[d+f>>2];c=c+4|0;h=h+4|0;if((n|0)!=(h|0)){continue}break}}b=b&3;if(!b){break c}while(1){d=c<<2;G[d+k>>2]=G[d+f>>2];c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}o=J(+J(J(J(J((C[k>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+ka)+.345);G[k>>2]=o;b=B+D|0;G[b>>2]=o;c=1;if(!N){while(1){i=G[k+(c<<2)>>2];Q=J(i*i);d=c+1|0;i=G[k+(d<<2)>>2];i=J(+J(J(J(J(J(((w(J(Q+J(i*i))),j(2))&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))*J(.5))+ka)+.345);G[k+(d<<1&-4)>>2]=i;o=i>o?i:o;c=c+2|0;if((F|0)>(c|0)){continue}break}G[b>>2]=o}if(o>J(0)){C[b>>2]=0;o=J(0)}X=o>X?o:X;m=m+1|0;if((m|0)>2]){continue}break}}s=u+O|0;q=pg(a,g);l=pg(a,g);c=C[P+4>>2];if((c|0)>0){N=z&-2;v=z&1;O=0;while(1){f=O<<2;x=C[f+pa>>2];y=C[(f+M|0)+4>>2];D=C[f+C[a>>2]>>2];C[a+40>>2]=da;g=f+qa|0;c=pg(a,60);C[g>>2]=c;C[c+56>>2]=0;C[c+48>>2]=0;C[c+52>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;n=D+(z<<2)|0;h:{if((t|0)<2){break h}c=0;m=0;if((z|0)!=1){while(1){b=c<<2;G[b+n>>2]=+J(J(J((C[b+x>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345;b=b|4;G[b+n>>2]=+J(J(J((C[b+x>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345;c=c+2|0;m=m+2|0;if((N|0)!=(m|0)){continue}break}}if(!v){break h}c=c<<2;G[c+n>>2]=+J(J(J((C[c+x>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345}c=0;m=0;b=Ce;e=b;b=C[s>>2];d=e-((b<<2)+15&-16)|0;Ce=d;Ks(b,C[s+24>>2],n,q,J(140),-1);k=(b|0)<=0;i:{if(k){break i}if((b|0)!=1){r=b&-2;while(1){h=c<<2;G[h+d>>2]=G[h+n>>2]-G[h+q>>2];h=h|4;G[h+d>>2]=G[h+n>>2]-G[h+q>>2];c=c+2|0;m=m+2|0;if((r|0)!=(m|0)){continue}break}}if(!(b&1)){break i}c=c<<2;G[c+d>>2]=G[c+n>>2]-G[c+q>>2]}Ks(b,C[s+24>>2],d,q,J(0),C[C[s+4>>2]+128>>2]);j:{if(k){break j}m=0;c=0;if(b>>>0>=4){r=b&-4;k=0;while(1){h=c<<2;p=h+d|0;G[p>>2]=G[h+n>>2]-G[p>>2];p=h|4;u=p+d|0;G[u>>2]=G[n+p>>2]-G[u>>2];p=h|8;u=p+d|0;G[u>>2]=G[n+p>>2]-G[u>>2];h=h|12;p=h+d|0;G[p>>2]=G[h+n>>2]-G[p>>2];c=c+4|0;k=k+4|0;if((r|0)!=(k|0)){continue}break}}h=b&3;if(h){while(1){k=c<<2;r=k+d|0;G[r>>2]=G[k+n>>2]-G[r>>2];c=c+1|0;m=m+1|0;if((h|0)!=(m|0)){continue}break}}if((b|0)<=0){break j}k=C[s+4>>2];c=0;while(1){m=c<<2;r=m+q|0;aa=+G[r>>2]+.5;k:{if(K(aa)<2147483648){h=~~aa;break k}h=-2147483648}h=(h|0)>=39?39:h;G[r>>2]=G[d+m>>2]+G[(k+(((h|0)>0?h:0)<<2)|0)+336>>2];c=c+1|0;if((b|0)!=(c|0)){continue}break}}Ce=e;i=G[f+B>>2];d=0;c=0;h=0;b=Ce;A=b;f=C[s>>2];m=C[s+40>>2];e=b-((m<<2)+15&-16)|0;Ce=e;l:{if((m|0)<=0){break l}if(m>>>0>=8){k=m&-8;while(1){b=d<<2;C[b+e>>2]=-971228160;C[e+(b|4)>>2]=-971228160;C[e+(b|8)>>2]=-971228160;C[e+(b|12)>>2]=-971228160;C[e+(b|16)>>2]=-971228160;C[e+(b|20)>>2]=-971228160;C[e+(b|24)>>2]=-971228160;C[e+(b|28)>>2]=-971228160;d=d+8|0;h=h+8|0;if((k|0)!=(h|0)){continue}break}}b=m&7;if(!b){break l}while(1){C[e+(d<<2)>>2]=-971228160;d=d+1|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}u=C[s+4>>2];m:{if((f|0)<=0){break m}o=G[u+8>>2];i=J(G[u+4>>2]+i);i=i>2];h=0;b=0;if(f>>>0>=4){r=f&-4;c=0;while(1){k=b<<2;G[k+l>>2]=i+G[d+k>>2];p=k|4;G[p+l>>2]=i+G[d+p>>2];p=k|8;G[p+l>>2]=i+G[d+p>>2];k=k|12;G[k+l>>2]=i+G[d+k>>2];b=b+4|0;c=c+4|0;if((r|0)!=(c|0)){continue}break}}c=f&3;if(c){while(1){k=b<<2;G[k+l>>2]=i+G[d+k>>2];b=b+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if((f|0)<=0){break m}ka=J(G[u+496>>2]-X);L=C[s+8>>2];h=f-1|0;r=C[s+20>>2];c=0;while(1){b=c<<2;d=C[b+r>>2];i=G[b+D>>2];b=c;c=b+1|0;n:{if((f|0)<=(c|0)|(d|0)!=C[r+(c<<2)>>2]){break n}while(1){o:{b=c;o=G[D+(b<<2)>>2];i=i>2]){continue}break n}break}b=h;c=f}R=b<<2;p:{if(!(G[R+l>>2]>C[s+32>>2];b=(b|0)>=16?16:b;d=C[L+(((b|0)>0?b:0)<<2)>>2];aa=(+J(ka+i)+-30)*.10000000149011612;q:{if(K(aa)<2147483648){b=~~aa;break q}b=-2147483648}b=(b|0)>0?b:0;p=C[d+((b>>>0>=7?7:b)<<2)>>2];o=G[p+4>>2];r:{if(J(K(o))>2];s:{if(J(K(o))>2];o=J(J(J(J(o+J(-16))*J(F|0))+J(C[r+R>>2]-C[s+28>>2]|0))-J(F>>1));t:{if(J(K(o))>2]);R=e+(b<<2)|0;if(!(o>G[R>>2])){break u}G[R>>2]=o}b=b+F|0;if((m|0)<=(b|0)){break p}d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((c|0)<(f|0)){continue}break}}F=C[s+36>>2];h=F;b=0;c=(m<<2)+15&-16;r=Ce-c|0;p=r-c|0;v:{if((m|0)<=0){break v}d=0;while(1){w:{if((d|0)>=2){o=G[e+(b<<2)>>2];while(1){c=d;d=c-1|0;k=d<<2;i=G[k+p>>2];if(i>o){C[r+(c<<2)>>2]=b;break w}x:{if(c>>>0<2|(h+C[k+r>>2]|0)<=(b|0)){break x}k=c-2<<2;if(!(i<=G[k+p>>2])){break x}if((h+C[k+r>>2]|0)>(b|0)){continue}}break}C[r+(c<<2)>>2]=b;break w}C[r+(d<<2)>>2]=b;o=G[e+(b<<2)>>2];c=d}G[p+(c<<2)>>2]=o;d=c+1|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}b=0;if((c|0)<0){break v}L=h+1|0;d=0;while(1){h=b;y:{z:{if((c|0)<=(b|0)){break z}b=h+1<<2;if(!(G[b+p>>2]>G[p+(h<<2)>>2])){break z}b=C[b+r>>2];break y}b=L+C[r+(h<<2)>>2]|0}k=(b|0)<(m|0)?b:m;if((k|0)>(d|0)){R=k+(d^-1)|0;i=G[p+(h<<2)>>2];b=0;S=k-d&7;if(S){while(1){G[e+(d<<2)>>2]=i;d=d+1|0;b=b+1|0;if((S|0)!=(b|0)){continue}break}}if(R>>>0>=7){while(1){b=e+(d<<2)|0;G[b>>2]=i;G[b+28>>2]=i;G[b+24>>2]=i;G[b+20>>2]=i;G[b+16>>2]=i;G[b+12>>2]=i;G[b+8>>2]=i;G[b+4>>2]=i;d=d+8|0;if((k|0)!=(d|0)){continue}break}}d=k}b=h+1|0;if((c|0)!=(h|0)){continue}break}}d=0;if((f|0)>=2){k=C[s+28>>2];p=k^-1;r=C[s+20>>2];c=C[r>>2]-(k+(F>>1)|0)|0;b=1;while(1){i=G[u+32>>2];o=G[e+(c<<2)>>2];o=i>2]+C[r+(d<<2)>>2]>>1;h=b-k|0;if((h|0)>(c|0)){F=b+p|0;A:{B:{if(!(b-(c+k|0)&1)){b=c;break B}b=c+1|0;i=G[e+(b<<2)>>2];if(!(i>J(-9999))){if(o!=J(-9999)){break B}break A}if(o==J(-9999)|i>2];C:{D:{if(o>J(-9999)){if(i==J(-9999)|i>o){break D}break C}if(i!=J(-9999)){break C}}i=o}b=b+2|0;o=G[e+(b<<2)>>2];E:{F:{if(!(o>J(-9999))){if(i==J(-9999)){break F}break E}if(i==J(-9999)){break F}if(!(i>o)){break E}}i=o}if((b|0)<(h|0)){continue}break}}o=i;c=h}G:{if((d|0)>=(f|0)){break G}b=c+k|0;while(1){h=d<<2;if((b|0)>2]){break G}h=h+l|0;if(G[h>>2]>2]=o}d=d+1|0;if((f|0)!=(d|0)){continue}break}d=f}b=d+1|0;if((f|0)>(b|0)){continue}break}}H:{if((d|0)>=(f|0)){break H}i=G[(e+(m<<2)|0)-4>>2];c=f+(d^-1)|0;h=f-d&3;if(h){b=0;while(1){k=l+(d<<2)|0;if(i>G[k>>2]){G[k>>2]=i}d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}if(c>>>0<3){break H}while(1){c=l+(d<<2)|0;if(i>G[c>>2]){G[c>>2]=i}if(i>G[c+4>>2]){G[c+4>>2]=i}if(i>G[c+8>>2]){G[c+8>>2]=i}if(i>G[c+12>>2]){G[c+12>>2]=i}d=d+4|0;if((f|0)!=(d|0)){continue}break}}Ce=A;Jn(s,q,l,1,D,x,n);c=((y<<2)+M|0)+1028|0;b=C[c>>2]<<2;if(C[(b+W|0)+800>>2]!=1){Ce=oa;return-1}b=An(a,C[b+C[E+48>>2]>>2],n,D);C[C[g>>2]+28>>2]=b;if(!(!C[C[C[a+64>>2]+104>>2]+80>>2]|!C[C[g>>2]+28>>2])){Jn(s,q,l,2,D,x,n);b=An(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],n,D);C[C[g>>2]+56>>2]=b;Jn(s,q,l,0,D,x,n);b=An(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],n,D);C[C[g>>2]>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],9362);C[C[g>>2]+4>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],18724);C[C[g>>2]+8>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],28086);C[C[g>>2]+12>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],37449);C[C[g>>2]+16>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],46811);C[C[g>>2]+20>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],56173);C[C[g>>2]+24>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],9362);C[C[g>>2]+32>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],18724);C[C[g>>2]+36>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],28086);C[C[g>>2]+40>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],37449);C[C[g>>2]+44>>2]=b;b=C[g>>2];b=uh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],46811);C[C[g>>2]+48>>2]=b;b=C[C[E+48>>2]+(C[c>>2]<<2)>>2];c=C[g>>2];c=uh(a,b,C[c+28>>2],C[c+56>>2],56173);C[C[g>>2]+52>>2]=c}c=C[P+4>>2];O=O+1|0;if((c|0)>(O|0)){continue}break}}G[ja+4>>2]=X;c=(c<<2)+15&-16;O=B-c|0;b=O;Ce=b;R=b-c|0;Ce=R;d=C[C[C[a+64>>2]+104>>2]+80>>2]?0:7;va=W+2868|0;while(1){F=d<<2;D=C[(F+ja|0)+12>>2];Kf(D,0,1);Kf(D,da,C[E+44>>2]);if(C[a+28>>2]){Kf(D,C[a+24>>2],1);Kf(D,C[a+32>>2],1)}n=0;c=C[P+4>>2];if((c|0)>0){while(1){b=n<<2;A=b+$|0;g=C[C[E+48>>2]+(C[((C[(b+M|0)+4>>2]<<2)+M|0)+1028>>2]<<2)>>2];x=C[b+T>>2];c=0;q=0;k=Ce-336|0;Ce=k;I:{J:{r=C[F+C[b+qa>>2]>>2];if(r){m=C[g+1296>>2];N=C[C[C[a+64>>2]+4>>2]+28>>2];v=C[N+2848>>2];l=C[g+1284>>2];K:{if((l|0)<=0){h=C[r>>2];C[k+64>>2]=h;c=C[r+4>>2];C[k+68>>2]=c;break K}while(1){b=r+(q<<2)|0;f=C[b>>2];c=f&32767;L:{M:{switch(C[m+832>>2]-1|0){case 0:c=c>>>2|0;break L;case 1:c=c>>>3|0;break L;case 2:c=(c>>>0)/12|0;break L;case 3:break M;default:break L}}c=c>>>4|0}C[b>>2]=f&32768|c;q=q+1|0;if((l|0)!=(q|0)){continue}break}h=C[r>>2];C[k+64>>2]=h;c=C[r+4>>2];C[k+68>>2]=c;if((l|0)<3){break K}q=m+836|0;b=2;while(1){f=b<<2;c=f+g|0;u=C[c+772>>2]<<2;t=u+r|0;B=C[c+1024>>2]<<2;y=B+r|0;p=C[y>>2]&32767;c=(C[t>>2]&32767)-p|0;e=c>>31;L=f+r|0;z=C[L>>2];U=(c^e)-e|0;e=C[q+B>>2];e=(I(U,C[f+q>>2]-e|0)|0)/(C[q+u>>2]-e|0)|0;c=p+((c|0)<0?0-e|0:e)|0;N:{if(!(!(z&32768)&(z|0)!=(c|0))){C[L>>2]=c|32768;C[f+(k- -64|0)>>2]=0;break N}e=C[g+1292>>2]-c|0;e=(c|0)>(e|0)?e:c;U=f+(k- -64|0)|0;c=z-c|0;O:{if((c|0)<0){f=e+(c^-1)|0;if((c|0)<(0-e|0)){break O}f=c<<1^-1;break O}f=c+e|0;if((c|0)>=(e|0)){break O}f=c<<1}C[U>>2]=f;C[y>>2]=p;C[t>>2]=C[t>>2]&32767}b=b+1|0;if((l|0)!=(b|0)){continue}break}c=C[k+68>>2]}e=1;Kf(D,1,1);C[g+1308>>2]=C[g+1308>>2]+1;b=tg(C[g+1292>>2]-1|0);C[g+1304>>2]=C[g+1304>>2]+(b<<1);Kf(D,h,tg(C[g+1292>>2]-1|0));Kf(D,c,tg(C[g+1292>>2]-1|0));if(C[m>>2]>0){z=N+1824|0;u=0;h=2;while(1){B=C[(m+(u<<2)|0)+4>>2];y=m+(B<<2)|0;t=C[y+128>>2];p=C[y+192>>2];C[k+56>>2]=0;C[k+60>>2]=0;C[k+48>>2]=0;C[k+52>>2]=0;C[k+40>>2]=0;C[k+44>>2]=0;C[k+32>>2]=0;C[k+36>>2]=0;if(p){l=1<>2]=0;C[k+28>>2]=0;C[k+16>>2]=0;C[k+20>>2]=0;C[k+8>>2]=0;C[k+12>>2]=0;C[k>>2]=0;C[k+4>>2]=0;L=(p|0)==31;P:{if(L){break P}b=(l|0)<=1?1:l;S=b&1;c=0;if((l|0)>=2){Y=b&2147483646;b=0;while(1){q=1;f=1;V=m+(B<<5)|0;ca=c<<2;ba=C[(V+ca|0)+320>>2];if((ba|0)>=0){f=C[C[z+(ba<<2)>>2]+4>>2]}C[k+ca>>2]=f;f=(c|1)<<2;V=C[(f+V|0)+320>>2];if((V|0)>=0){q=C[C[z+(V<<2)>>2]+4>>2]}C[f+k>>2]=q;c=c+2|0;b=b+2|0;if((Y|0)!=(b|0)){continue}break}}if(!S){break P}b=c<<2;c=C[(b+(m+(B<<5)|0)|0)+320>>2];if((c|0)<0){c=1}else{c=C[C[z+(c<<2)>>2]+4>>2]}C[b+k>>2]=c}Q:{if((t|0)<=0){l=0;break Q}q=(l|0)<=1?1:l;b=0;c=0;l=0;while(1){f=c;R:{if(L){break R}S=C[(k- -64|0)+(b+h<<2)>>2];c=0;while(1){if((S|0)>2]){C[(k+32|0)+(b<<2)>>2]=c;break R}c=c+1|0;if((q|0)!=(c|0)){continue}break}}c=f+p|0;l=C[(k+32|0)+(b<<2)>>2]<>2],56)|0,l,D)+C[g+1300>>2]|0,C[Ca+1300>>2]=Da}c=0;if((t|0)>0){while(1){b=C[((m+(B<<5)|0)+(C[(k+32|0)+(c<<2)>>2]<<2)|0)+320>>2];S:{if((b|0)<0){break S}f=C[(k- -64|0)+(c+h<<2)>>2];b=v+I(b,56)|0;if((f|0)>=C[b+4>>2]){break S}Ca=g,Da=Il(b,f,D)+C[g+1304>>2]|0,C[Ca+1304>>2]=Da}c=c+1|0;if((t|0)!=(c|0)){continue}break}}h=h+t|0;u=u+1|0;if((u|0)>2]){continue}break}}f=I(C[m+832>>2],C[r>>2]);N=C[N+(C[a+28>>2]<<2)>>2]/2|0;c=0;if(C[g+1284>>2]<=1){b=0;break J}b=0;while(1){q=C[(g+(e<<2)|0)+260>>2]<<2;h=C[q+r>>2];if(h>>>0<=32767){h=I(h,C[m+832>>2]);l=h-f|0;b=C[(m+q|0)+836>>2];t=b-c|0;p=(l|0)/(t|0)|0;z=(b|0)>(N|0)?N:b;if((z|0)>(c|0)){C[x+(c<<2)>>2]=f}q=c+1|0;T:{if((z|0)<=(q|0)){break T}v=l;l=l>>31;u=I(p,t);B=u>>31;u=(v^l)-l+(B-(u^B))|0;B=l|1;v=z+(c^-1)|0;y=v&1;l=0;if((z-2|0)!=(c|0)){z=v&-2;c=0;while(1){v=x+(q<<2)|0;U=f+p|0;f=l+u|0;l=(f|0)<(t|0);L=U+(l?0:B)|0;C[v>>2]=L;U=v;l=u+(f-(l?0:t)|0)|0;v=(l|0)<(t|0);f=(p+L|0)+(v?0:B)|0;C[U+4>>2]=f;l=l-(v?0:t)|0;q=q+2|0;c=c+2|0;if((z|0)!=(c|0)){continue}break}}if(!y){break T}C[x+(q<<2)>>2]=(f+p|0)+((t|0)<=(l+u|0)?B:0)}f=h;c=b}e=e+1|0;if((e|0)>2]){continue}break}break J}Kf(D,0,1);We(x,0,C[a+36>>2]/2<<2);break I}c=1;if((C[a+36>>2]/2|0)<=(b|0)){break I}while(1){C[x+(b<<2)>>2]=f;b=b+1|0;if((b|0)<(C[a+36>>2]/2|0)){continue}break}}Ce=k+336|0;C[A>>2]=c;c=C[P+4>>2];n=n+1|0;if((c|0)>(n|0)){continue}break}}k=d;wa=C[(F+(I(C[a+28>>2],60)+W|0)|0)+3240>>2];S=0;d=Ce;U=d;b=C[s+4>>2];if(C[b+500>>2]){f=C[b+508>>2]}else{f=16}h=C[s>>2];e=I(C[b>>2],60);b=va+(k<<2)|0;N=C[(e+b|0)+132>>2];z=C[b+252>>2];u=C[b+312>>2];V=c<<2;b=V+15&-16;q=d-b|0;d=q;Ce=d;r=d-b|0;d=r;Ce=d;x=d-b|0;d=x;Ce=d;p=d-b|0;d=p;Ce=d;ca=d-b|0;Ce=ca;g=C[M+1156>>2];ra=I(f,V);m=ra+15&-16;b=ca-m|0;Ce=b;C[q>>2]=b;d=b-m|0;Ce=d;C[r>>2]=d;e=d-m|0;Ce=e;C[x>>2]=e;F=e-m|0;Ce=F;C[p>>2]=F;U:{if((c|0)<2){break U}m=1;n=c-1|0;B=n&1;if((c|0)!=2){v=n&-2;l=0;while(1){n=m<<2;t=I(f,m)<<2;C[n+q>>2]=t+b;C[n+r>>2]=d+t;C[n+x>>2]=e+t;C[n+p>>2]=t+F;t=m+1|0;n=t<<2;t=I(f,t)<<2;C[n+q>>2]=t+b;C[n+r>>2]=d+t;C[n+x>>2]=e+t;C[n+p>>2]=t+F;m=m+2|0;l=l+2|0;if((v|0)!=(l|0)){continue}break}}if(!B){break U}n=m<<2;A=b;b=I(f,m)<<2;C[n+q>>2]=A+b;C[n+r>>2]=b+d;C[n+x>>2]=b+e;C[n+p>>2]=b+F}if((h|0)>0){aa=H[(u<<3)+((h|0)>1e3?35424:35344)>>3];xa=H[(z<<3)+35344>>3];ya=(c|0)<=0;b=h;n=0;while(1){v=jf(ca,$,V);We(F,0,ra);d=h-n|0;B=(d|0)>(f|0)?f:d;z=(b|0)>(f|0)?f:b;d=0;if(!ya){Y=z-1|0;ba=z&-2;la=z&1;ma=z&-4;L=z&3;na=N-n|0;y=0;while(1){A=n<<2;d=y<<2;t=A+C[d+T>>2]|0;V:{W:{X:{if(C[d+v>>2]){u=C[d+x>>2];Z=(B|0)<=0;Y:{if(Z){break Y}l=0;g=0;e=0;if(Y>>>0>=3){while(1){m=g<<2;G[m+u>>2]=G[(C[m+t>>2]<<2)+35504>>2];_=m|4;G[_+u>>2]=G[(C[t+_>>2]<<2)+35504>>2];_=m|8;G[_+u>>2]=G[(C[t+_>>2]<<2)+35504>>2];m=m|12;G[m+u>>2]=G[(C[m+t>>2]<<2)+35504>>2];g=g+4|0;e=e+4|0;if((ma|0)!=(e|0)){continue}break}}if(L){while(1){e=g<<2;G[e+u>>2]=G[(C[e+t>>2]<<2)+35504>>2];g=g+1|0;l=l+1|0;if((L|0)!=(l|0)){continue}break}}if(Z){break Y}e=A;A=d+pa|0;m=e+C[A>>2]|0;l=C[d+p>>2];g=0;while(1){e=g<<2;C[e+l>>2]=!(J((g|0)<(na|0)?xa:aa)>J(J(K(G[e+m>>2]))/G[e+u>>2]));g=g+1|0;if((B|0)!=(g|0)){continue}break}if((B|0)>0){break X}}l=C[d+r>>2];m=C[d+q>>2];break W}if((B|0)<=0){break V}e=C[d+p>>2];l=C[d+r>>2];u=C[d+q>>2];A=C[d+x>>2];g=0;m=0;if((z|0)!=1){while(1){d=g<<2;C[d+A>>2]=786163455;C[d+u>>2]=0;C[d+l>>2]=0;C[d+e>>2]=0;C[d+t>>2]=0;d=d|4;C[d+A>>2]=786163455;C[d+u>>2]=0;C[d+l>>2]=0;C[d+e>>2]=0;C[d+t>>2]=0;g=g+2|0;m=m+2|0;if((ba|0)!=(m|0)){continue}break}}if(!la){break V}d=g<<2;C[d+A>>2]=786163455;C[d+u>>2]=0;C[d+l>>2]=0;C[d+e>>2]=0;C[d+t>>2]=0;break V}l=C[d+r>>2];m=C[d+q>>2];A=C[A>>2];g=0;while(1){d=g<<2;e=d+m|0;Z=A+(g+n<<2)|0;i=G[Z>>2];i=J(i*i);G[e>>2]=i;G[d+l>>2]=i;if(G[Z>>2]>2]=-G[e>>2]}d=d+u|0;i=G[d>>2];G[d>>2]=i*i;g=g+1|0;if((z|0)!=(g|0)){continue}break}}Hs(s,N,m,l,u,0,n,B,t)}y=y+1|0;if((y|0)!=(c|0)){continue}break}g=C[M+1156>>2];d=c}if((g|0)>0){za=N-n|0;Aa=wa-n|0;Y=0;while(1){m=(Y<<2)+M|0;e=C[m+2184>>2]<<2;l=C[e+T>>2];m=C[m+1160>>2]<<2;A=C[m+T>>2];ba=C[e+p>>2];la=C[m+p>>2];Ba=C[e+x>>2];ma=C[m+x>>2];na=C[e+r>>2];t=C[m+r>>2];u=C[e+q>>2];y=C[m+q>>2];m=m+v|0;if(C[m>>2]|C[e+v>>2]){g=n<<2;Z=g+A|0;C[e+v>>2]=1;C[m>>2]=1;if((B|0)>0){_=g+l|0;m=0;while(1){Z:{if((m|0)>=(Aa|0)){break Z}_:{g=m<<2;e=g+la|0;if(!C[e>>2]){l=g+ba|0;if(!C[l>>2]){break _}}l=g+y|0;G[l>>2]=J(K(G[l>>2]))+J(K(G[g+u>>2]));l=g+t|0;G[l>>2]=G[l>>2]+G[g+na>>2];C[g+ba>>2]=1;C[e>>2]=1;A=g+_|0;e=C[A>>2];L=g+Z|0;g=C[L>>2];sa=e-g|0;ta=g-e|0;l=e>>31;l=(l^e)-l|0;ua=g>>31;$:{if(l>>>0<(ua^g)-ua>>>0){g=(g|0)>0?ta:sa;C[A>>2]=g;l=C[L>>2];e=l>>31;l=(e^l)-e|0;break $}C[A>>2]=(e|0)>0?ta:sa;C[L>>2]=e;g=C[A>>2]}if(l<<1>(g|0)){break Z}C[A>>2]=0-g;C[L>>2]=0-C[L>>2];break Z}aa:{if((m|0)<(za|0)){e=g+y|0;i=J(G[g+u>>2]+G[e>>2]);G[e>>2]=i;G[g+t>>2]=K(i);break aa}e=g+y|0;o=G[e>>2];X=G[g+u>>2];i=J(J(K(o))+J(K(X)));G[g+t>>2]=i;if(J(o+X)>2]=-i;break aa}G[e>>2]=i}C[g+na>>2]=0;C[g+u>>2]=0;C[l>>2]=1;C[g+_>>2]=0}g=m<<2;e=g+Ba|0;g=g+ma|0;i=J(G[g>>2]+G[e>>2]);G[e>>2]=i;G[g>>2]=i;m=m+1|0;if((z|0)!=(m|0)){continue}break}}Hs(s,N,y,t,ma,la,n,B,Z);g=C[M+1156>>2];d=d+1|0}Y=Y+1|0;if((Y|0)<(g|0)){continue}break}}b=b-f|0;n=f+n|0;if((h|0)>(n|0)){continue}break}}if((g|0)>0){while(1){c=(S<<2)+M|0;b=(C[c+1160>>2]<<2)+$|0;if(C[b>>2]|C[(C[c+2184>>2]<<2)+$>>2]){C[b>>2]=1;C[(C[c+2184>>2]<<2)+$>>2]=1;g=C[M+1156>>2]}S=S+1|0;if((S|0)<(g|0)){continue}break}}Ce=U;n=0;if(C[M>>2]>0){while(1){d=C[((n<<2)+M|0)+1092>>2];f=0;c=0;m=C[P+4>>2];if((m|0)>0){while(1){b=c<<2;if(C[(b+M|0)+4>>2]==(n|0)){h=f<<2;C[h+R>>2]=C[b+$>>2]!=0;C[h+O>>2]=C[b+T>>2];m=C[P+4>>2];f=f+1|0}c=c+1|0;if((m|0)>(c|0)){continue}break}}d=d<<2;h=(d+W|0)+1312|0;e=Fe[C[C[(C[h>>2]<<2)+60620>>2]+20>>2]](a,C[d+C[E+52>>2]>>2],O,R,f)|0;b=C[P+4>>2];ba:{if((b|0)<=0){g=0;break ba}g=0;c=0;if((b|0)!=1){m=b&-2;f=0;while(1){l=c<<2;if(C[(l+M|0)+4>>2]==(n|0)){C[(g<<2)+O>>2]=C[l+T>>2];g=g+1|0}l=(c|1)<<2;if(C[(l+M|0)+4>>2]==(n|0)){C[(g<<2)+O>>2]=C[l+T>>2];g=g+1|0}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(!(b&1)){break ba}c=c<<2;if(C[(c+M|0)+4>>2]!=(n|0)){break ba}C[(g<<2)+O>>2]=C[c+T>>2];g=g+1|0}Fe[C[C[(C[h>>2]<<2)+60620>>2]+24>>2]](D,a,C[d+C[E+52>>2]>>2],O,R,g,e,n)|0;n=n+1|0;if((n|0)>2]){continue}break}}d=k+1|0;if(k>>>0<(C[C[C[a+64>>2]+104>>2]+80>>2]?14:7)>>>0){continue}break}Ce=oa;return 0}function yA(a,b){a=a|0;b=b|0;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;if((a|0)>0){while(1){e=C[(c<<2)+b>>2];a:{if(Se(e,15822)){if(Se(e,12399)){break a}}C[97696]=1}c=c+1|0;if((c|0)!=(a|0)){continue}break}}C[97698]=0;C[97699]=0;We(390800,0,26616);h=Ce-160|0;Ce=h;b:{if(!Rj(48)){if(C[94430]){a=h+140|0;c=Ce-16|0;Ce=c;b=C[105668];c:{if(!b){Qe(19865,0);d=-1;break c}e=C[b+372>>2];if((e|0)<=0){d=-1;C[c>>2]=e-1;Qe(21451,c);break c}if(!a){break c}b=C[b+376>>2];e=C[b+20>>2];C[a>>2]=C[b+16>>2];C[a+4>>2]=e;C[a+16>>2]=C[b+32>>2];e=C[b+28>>2];C[a+8>>2]=C[b+24>>2];C[a+12>>2]=e}Ce=c+16|0;d:{if(d){C[105620]=128;C[105619]=422496;a=34979;e:{if(!C[105618]){break e}a=C[105619]}C[h+112>>2]=a;Tg(30188,h+112|0);d=C[h+148>>2];a=C[h+144>>2];break d}a=C[h+144>>2];if(C[97696]){C[94429]=a;d=C[h+148>>2];C[94428]=d;break d}k=+(a|0)*.8;f:{if(K(k)<2147483648){b=~~k;break f}b=-2147483648}C[94429]=b;d=C[h+148>>2];k=+(d|0)*.8;g:{if(K(k)<2147483648){b=~~k;break g}b=-2147483648}C[94428]=b}C[h+100>>2]=d;C[h+96>>2]=a;Tg(34476,h+96|0)}Ul(23984,29920);c=C[94429];e=C[94428];a=0;b=Ce-128|0;Ce=b;h:{if(!C[105668]){if((Rj(32)|0)<0){break h}}i:{d=(c|0)<=1?1:c;if(d>>>0<=16384){e=(e|0)<=1?1:e;if(e>>>0<16385){break i}}Qe(30151,0);break h}cg(23049,0);a=If(1,176);if(!a){a=0;_e(0);break h}c=C[105668];C[a>>2]=c+388;g=c;c=C[c+392>>2];C[g+392>>2]=c+1;C[a+28>>2]=e;C[a+24>>2]=d;C[a+20>>2]=536805376;C[a+16>>2]=536805376;C[a+4>>2]=c;c=th(a);f=C[105668];i=(c|0)>=0?C[f+376>>2]+I(c,72)|0:0;g=C[f+372>>2];j:{if((g|0)>0){f=C[f+376>>2];c=0;while(1){if((f+I(c,72)|0)==(i|0)){break j}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}qn(c,b+92|0);C[a+16>>2]=C[b+92>>2]+((C[b+100>>2]-d|0)/2|0);c=C[b+96>>2]+((C[b+104>>2]-e|0)/2|0)|0;C[a+20>>2]=c;e=C[a+24>>2];d=C[a+28>>2];C[a+60>>2]=C[a+16>>2];C[a+72>>2]=d;C[a+68>>2]=e;C[a- -64>>2]=c;C[a+96>>2]=1065353216;C[a+100>>2]=1065353216;C[a+52>>2]=40;C[a+48>>2]=40;c=C[C[105668]+380>>2];C[a+124>>2]=0;C[a+172>>2]=c;m=a,n=th(a),C[m+56>>2]=n;c=C[105668];e=C[c+380>>2];if(e){C[e+168>>2]=a}C[c+380>>2]=a;k:{e=C[c+36>>2];if(!e){break k}if((Fe[e|0](c,a)|0)>=0){break k}rn(a);a=0;break h}c=C[a+48>>2];if(c&64){C[a+48>>2]=c&-65}c=C[105668];l:{if(!c){Qe(19865,0);break l}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break l}c=C[a+8>>2];m:{if((c|0)==16024){break m}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}m=a,n=Og(16024),C[m+8>>2]=n;c=C[105668];e=C[c+44>>2];if(!e){break m}Fe[e|0](c,a)}}rr(a,32);c=C[a+48>>2];Th(a,(c^-1)>>>6&1&(c&5)==5)}Ce=b+128|0;C[97699]=a;if(!a){break b}a=js(a,4);C[97698]=a;if(!a){a=js(C[97699],0);C[97698]=a;if(!a){break b}}if(C[97696]){qr(C[97699],1);a=C[97698]}b=Ce-16|0;Ce=b;n:{if(!(C[a>>2]==422389?a:0)){C[b>>2]=9675;Qe(19745,b);break n}G[a+368>>2]=2;G[a+372>>2]=2}Ce=b+16|0;C[h+88>>2]=0;C[h+92>>2]=1073741824;C[h+80>>2]=16024;Tg(30091,h+80|0);Ej(C[97698],0,0,0,0);if((ox(3)&3)!=3){C[105620]=128;C[105619]=422496;a=34979;o:{if(!C[105618]){break o}a=C[105619]}C[h+64>>2]=a;Lj(34357,h- -64|0)}p:{q:{a=C[104355];if(!a){b=kf(16);if(b){C[b+12>>2]=916;C[b+4>>2]=917;C[b>>2]=0;C[b+8>>2]=918}a=7;r:{if(!b){break r}e=Ce-16|0;Ce=e;a=6;s:{if(!b){break s}c=hf(b,192,e+12|0);a=C[e+12>>2];if(a){break s}C[c>>2]=b;C[c+164>>2]=0;C[c+168>>2]=0;C[c+188>>2]=1;a=0;C[c+12>>2]=0;C[c+4>>2]=2;C[c+8>>2]=6;C[104356]=c}Ce=e+16|0;if(a){Re(b);break r}a=C[104356];Jg(a,275848);Jg(a,353140);Jg(a,354712);Jg(a,276168);Jg(a,356628);Jg(a,287556);Jg(a,358652);Jg(a,359552);Jg(a,287008);Jg(a,288208);Jg(a,288872);Jg(a,288804);Jg(a,351080);Jg(a,351724);Jg(a,352936);Jg(a,352996);Jg(a,353056);Jg(a,280064);a=0}if(a){break q}a=C[104355]}C[104355]=a+1;a=0;break p}Qe(17087,0);a=-1}if(!a){a=Xh(15609,21803);if(a){t:{u:{v:{if(!C[104355]){Qe(19786,0);if(!a){break v}break u}if(!a){Qe(18774,0);a=0;break t}c=Fe[C[a+4>>2]](a,0,0,1)|0;if((Ee|0)<0){Qe(13198,0);break u}e=Fe[C[94503]](22132)|0;if(e){C[94507]=C[94507]+1}if(!e){Qe(1277,0);break u}lf(e,0,22132);C[e+22072>>2]=1;C[e+22068>>2]=a;b=Fe[C[94503]](40)|0;if(b){C[94507]=C[94507]+1}w:{if(!b){Qe(1277,0);break w}lf(b,0,40);C[b+12>>2]=a;C[b+20>>2]=3;C[b+8>>2]=c;m=b,n=(Fe[C[a>>2]](a)|0)-c|0,C[m+4>>2]=n;C[e+22092>>2]=b;C[e+22076>>2]=2;x:{y:{z:{if(np(C[104356],e+22076|0,0,e)){break z}b=C[e>>2];if(!b){break z}a=b;c=C[a+36>>2];if((c|0)<=0){break x}f=C[b+40>>2];a=0;while(1){d=C[f+(a<<2)>>2];if(E[d+8>>1]==3&E[d+10>>1]==10){break y}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=b;if((c|0)<=0){break x}f=C[b+40>>2];a=0;while(1){A:{B:{C:{d=C[f+(a<<2)>>2];switch(E[d+8>>1]){case 0:break y;case 3:break B;case 2:break C;default:break A}}if(E[d+10>>1]==1){break y}break A}if(E[d+10>>1]<2){break y}}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=b;break x}Qe(17409,0);break w}oj(b,d);a=C[e>>2]}C[e+22120>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e+28>>2]=1;a=C[a+8>>2];C[e+22112>>2]=0;C[e+22116>>2]=16;C[e+32>>2]=a>>>6&1;a=Fe[C[94503]](192)|0;if(a){C[94507]=C[94507]+1}C[e+22108>>2]=a;if(!a){Qe(1277,0);break w}a=C[b+104>>2];D:{if(!C[a+20>>2]){j=Zq(C[a>>2],C[a+4>>2],1,b,0);a=j;i=C[b+4>>2];d=Ce-48|0;Ce=d;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;A[d+40|0]=0;C[d+36>>2]=65536;c=a?a:205712;E:{if(!c){break E}a=C[c>>2];if(!a){break E}C[c>>2]=a+1}F:{if(!c){break F}a=C[c>>2];if(!a){break F}C[c>>2]=a+1}A[d+24|0]=0;a=c;C[d+32>>2]=a;f=C[a+12>>2];C[d+4>>2]=f;g=C[a+16>>2];C[d+8>>2]=g+f;C[d+28>>2]=0;if(g>>>0>67108862){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[d+12>>2]=g;C[d+20>>2]=0;C[d>>2]=0;G:{H:{if(!f){break H}I:{J:{K:{L:{if(ln(f,d)){break L}M:{if(D[d+24|0]|!C[d+28>>2]){break M}a=Pf(c);C[d+4>>2]=a;C[d+8>>2]=a+C[c+16>>2];if(!a){break M}while(1){A[d+24|0]=1;a=C[d+32>>2];f=C[a+12>>2];C[d+4>>2]=f;g=C[a+16>>2];C[d+8>>2]=g+f;C[d+28>>2]=0;if(g>>>0<=67108862){g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}else{g=1073741823}C[d+12>>2]=g;C[d+20>>2]=0;C[d>>2]=0;if(!f){break H}if(ln(f,d)){break L}if(D[d+24|0]|!C[d+28>>2]){break M}a=Pf(c);C[d+4>>2]=a;C[d+8>>2]=a+C[c+16>>2];if(a){continue}break}}Ue(C[d+32>>2]);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;break K}if(!C[d+28>>2]){break J}C[d+28>>2]=0;a=ln(f,d);f=C[d+28>>2];Ue(C[d+32>>2]);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;if(f){break K}if(a){break I}}Ue(c);c=205712;break G}Ue(C[d+32>>2]);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break G}Ue(a);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}f=df(1,8);N:{if(!f){Ue(c);a=381628;break N}C[f+4>>2]=i;C[f>>2]=c;a=df(1,204);O:{if(!a){Ue(c);Re(f);a=381628;break O}C[a+32>>2]=-1;C[a+20>>2]=644;C[a+16>>2]=f;C[a+12>>2]=645;C[a>>2]=1;C[a+4>>2]=1;C[a+36>>2]=a;C[a+48>>2]=a}C[a+24>>2]=i}Ce=d+48|0;Ue(j);break D}a=df(1,204);P:{if(!a){a=381628;break P}C[a+32>>2]=-1;C[a+20>>2]=0;C[a+16>>2]=b;C[a+12>>2]=682;C[a>>2]=1;C[a+4>>2]=1;C[a+36>>2]=a;C[a+48>>2]=a}}if(C[a+4>>2]){C[a+24>>2]=C[b+4>>2]}if(C[a+4>>2]){C[a+28>>2]=E[b+68>>1]}c=df(1,96);Q:{if(!c){Az(382264);c=382264;break Q}C[c>>2]=1;C[c+4>>2]=1;d=a?a:381628;if(C[d+4>>2]){C[d+4>>2]=0}C[c+12>>2]=382264;R:{if(!d){break R}f=C[d>>2];if(!f){break R}C[d>>2]=f+1}C[c+72>>2]=382048;C[c+16>>2]=d;C[c+84>>2]=c;d=ql(d);C[c+40>>2]=65536;C[c+44>>2]=0;C[c+20>>2]=d;C[c+24>>2]=d;C[c+32>>2]=65536;C[c+36>>2]=0;Az(c)}Uq(a);a=C[b+92>>2];if(a){a=C[a+4>>2]==1937337698}else{a=0}d=df(1,1044);if(d){A[d+13|0]=0;A[d+12|0]=a;C[d+4>>2]=b;C[d+8>>2]=2;We(d+20|0,255,1024);while(1){S:{a=C[105671];if(a){break S}a=Lq();Jq(a,683);Iq(a,684);Hq(a,685);Kq(a,686);Fq(a,687);if(C[a+4>>2]){b=C[a+104>>2];if(b){Fe[b|0](C[a+36>>2])}C[a+104>>2]=0;C[a+36>>2]=0;C[a+172>>2]=688}Eq(a,689);if(C[a+4>>2]){b=C[a+124>>2];if(b){Fe[b|0](C[a+56>>2])}C[a+124>>2]=0;C[a+56>>2]=0;C[a+192>>2]=690}Dq(a,691);if(C[a+4>>2]){b=C[a+136>>2];if(b){Fe[b|0](C[a+68>>2])}C[a+136>>2]=0;C[a+68>>2]=0;C[a+204>>2]=692}Cq(a,693);Kz(a,694);if(C[a+4>>2]){C[a+4>>2]=0}b=a?a:382048;a=C[105671];if(!a){C[105671]=b;a=b;break S}if(!b){break S}if((b|0)==382048){continue}ol(b);continue}break}Hz(c,a,d,681)}if(C[c+80>>2]==681){a=C[C[c+76>>2]+4>>2];b=E[a+68>>1];d=C[a+88>>2];a=C[d+16>>2];f=mT(b,0,a,a>>31);a=Ee;d=C[d+20>>2];b=mT(d,d>>31,b,0);g=a+1|0;d=a;a=f+32768|0;g=((a>>>0<32768?g:d)&65535)<<16|a>>>16;a=Ee;j=a+1|0;d=a;a=b+32768|0;Gz(c,g,((a>>>0<32768?j:d)&65535)<<16|a>>>16)}C[e+22128>>2]=c;if(!c){Qe(3801,0);break w}if(!(!C[c+4>>2]|C[c+80>>2]!=681)){C[C[c+76>>2]+8>>2]=C[e+22120>>2]}T:{U:{a=e;c=C[a>>2];if(A[c+8|0]&1){b=Ce-32|0;Ce=b;C[b+12>>2]=0;C[b+24>>2]=72;C[b+28>>2]=72;C[b+16>>2]=640;C[b+20>>2]=640;c=ew(c,b+12|0);Ce=b+32|0;if(!c){break U}Qe(15958,0);b=-1;break T}b=C[c+28>>2];if((b|0)<=0){Qe(7483,0);b=-1;break T}b=b-1|0;if(!ip(c,b>>>0>10?10:b)){break U}Qe(15981,0);b=-1;break T}$x(e);d=0;while(1){b=e+I(d,84)|0;V:{if(!C[b+52>>2]){break V}C[b+52>>2]=0;C[b+56>>2]=0;c=C[b+84>>2];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[b+84>>2]=0}c=C[b+60>>2];if(!c){break V}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[b+60>>2]=0}d=d+1|0;if((d|0)!=256){continue}break}b=C[e+22128>>2];if(C[b+80>>2]==681){c=C[C[b+76>>2]+4>>2];d=E[c+68>>1];f=C[c+88>>2];c=C[f+16>>2];i=mT(d,0,c,c>>31);c=Ee;f=C[f+20>>2];d=mT(f,f>>31,d,0);g=b;b=i+32768|0;j=((b>>>0<32768?c+1|0:c)&65535)<<16|b>>>16;b=Ee;f=b+1|0;c=b;b=d+32768|0;Gz(g,j,((b>>>0<32768?f:c)&65535)<<16|b>>>16)}b=0}if((b|0)>=0){break t}Qe(15958,0)}cz(e)}a=0;break t}Fe[C[a+16>>2]](a)|0;a=0}}else{a=0}C[99543]=-754974721;C[99544]=-1274410486;C[99541]=a;C[h+140>>2]=0;d=0;while(1){C[h+32>>2]=d;a=h+140|0;fm(a,4,14595,h+32|0);C[h+28>>2]=C[99543];m=398184,n=Gm(C[99541],a,h+28|0),C[m>>2]=n;ym(C[99541],2);C[h+24>>2]=C[99544];m=398180,n=Gm(C[99541],a,h+24|0),C[m>>2]=n;ym(C[99541],0);C[99547]=2;C[99548]=2;a=C[99546];C[99549]=C[a+8>>2];C[99550]=C[a+12>>2];if(a){zg(a,1)}Uh(C[99546],0,C[99545],398188);b=C[99545];c=C[b+4>>2];a=I(d,60)+398208|0;C[a>>2]=C[b>>2];C[a+4>>2]=c;C[a+56>>2]=C[b+56>>2];c=C[b+52>>2];C[a+48>>2]=C[b+48>>2];C[a+52>>2]=c;c=C[b+44>>2];C[a+40>>2]=C[b+40>>2];C[a+44>>2]=c;c=C[b+36>>2];C[a+32>>2]=C[b+32>>2];C[a+36>>2]=c;c=C[b+28>>2];C[a+24>>2]=C[b+24>>2];C[a+28>>2]=c;c=C[b+20>>2];C[a+16>>2]=C[b+16>>2];C[a+20>>2]=c;c=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=c;m=(d<<2)+416208|0,n=Cn(C[97698],a),C[m>>2]=n;d=d+1|0;if((d|0)!=300){continue}break}C[h+16>>2]=-1;a=h+140|0;fm(a,4,14595,h+16|0);C[h+12>>2]=C[99543];m=398184,n=Gm(C[99541],a,h+12|0),C[m>>2]=n;ym(C[99541],2);C[h+8>>2]=C[99544];m=398180,n=Gm(C[99541],a,h+8|0),C[m>>2]=n;ym(C[99541],0);C[99547]=2;C[99548]=2;a=C[99546];C[99549]=C[a+8>>2];C[99550]=C[a+12>>2];if(a){zg(a,1)}Uh(C[99546],0,C[99545],398188);a=C[99545];b=C[a+4>>2];C[104037]=C[a>>2];C[104038]=b;b=C[a+12>>2];C[104039]=C[a+8>>2];C[104040]=b;b=C[a+20>>2];C[104041]=C[a+16>>2];C[104042]=b;b=C[a+28>>2];C[104043]=C[a+24>>2];C[104044]=b;b=C[a+36>>2];C[104045]=C[a+32>>2];C[104046]=b;b=C[a+44>>2];C[104047]=C[a+40>>2];C[104048]=b;b=C[a+52>>2];C[104049]=C[a+48>>2];C[104050]=b;C[104051]=C[a+56>>2];m=417404,n=Cn(C[97698],416148),C[m>>2]=n;Nf(C[99546]);Nf(C[99545]);C[104352]=0;C[104353]=-1;C[97734]=0;C[97735]=0;C[97732]=3008;C[97728]=0;C[97729]=0;C[97727]=2981;C[97726]=3247;Vn();Zs();C[97705]=0;C[97706]=0;C[97703]=0;C[97704]=0;C[97719]=2;m=390880,n=mx(C[97698],15131),C[m>>2]=n;m=390884,n=mx(C[97698],15159),C[m>>2]=n;b=0;d=0;g=Ce-16|0;Ce=g;f=Ce-32|0;Ce=f;W:{X:{if(_n(16)){break X}if((Rj(16)|0)>=0){break X}a=-1;break W}a=C[104363];if(a){if(!(E[208730]!=32784|D[417462]!=2)){C[104363]=a+1;a=0;break W}while(1){yv();if(C[104363]){continue}break}}C[f+28>>2]=0;C[f+24>>2]=4;B[f+16>>1]=2048;A[f+14|0]=2;B[f+12>>1]=32784;C[f+8>>2]=44100;c=f+8|0;i=Ce-112|0;Ce=i;Y:{if(!C[104426]){Qe(19810,0);break Y}j=C[c+16>>2];d=1;Z:{while(1){if(!C[(d<<2)+417824>>2]){break Z}d=d+1|0;if((d|0)!=16){continue}break}d=0;Qe(7980,0);break Y}gf(417456,c,24);if(!C[c>>2]){a=Ug(22457);_:{if(a){a=Zf(a);if(a){break _}}a=22050}C[104364]=a}if(!E[c+4>>1]){a=Ug(23739);$:{aa:{if(!a){break aa}if(!uf(a,28847)){e=8;break $}if(!uf(a,28850)){e=32776;break $}e=16;if(!uf(a,28583)){break $}if(!uf(a,28590)){break aa}if(!uf(a,28503)){e=4112;break $}if(!uf(a,28510)){e=36880;break $}if(!uf(a,23811)){break $}if(!uf(a,23818)){break aa}if(!uf(a,29085)){break $}e=32784;if(!uf(a,29089)){break $}e=32800;if(!uf(a,28623)){break $}if(!uf(a,28543)){e=36896;break $}if(!uf(a,23825)){break $}if(!uf(a,29567)){break $}e=33056;if(!uf(a,28630)){break $}if(!uf(a,28550)){e=37152;break $}if(!uf(a,23832)){break $}if(!uf(a,29571)){break $}}e=32784}B[208730]=e}ba:{a=D[c+6|0];if(!a){a=Ug(24188);if(a){a=Zf(a);A[417462]=a;if(a&255){break ba}}A[417462]=2;break ba}if(a>>>0<9){break ba}d=0;Qe(30053,0);break Y}ca:{if(E[c+8>>1]){break ca}a=Ug(24414);if(a){a=Zf(a);B[208732]=a;if(a&65535){break ca}}e=I(C[104364]/1e3|0,46);a=1;while(1){c=a;a=a<<1;if((c|0)<(e|0)){continue}break}B[208732]=c}a=128;da:{ea:{fa:{c=E[208730];switch(c-8|0){case 0:case 8:break da;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break ea;default:break fa}}if((c|0)==4112){break da}}a=0}A[417463]=a;C[104367]=I(E[208732],I(D[417462],c>>>3&31));e=Ug(27015);ga:{ha:{if(C[104445]){ia:{if(!e){break ia}if(!uf(e,18890)){break ia}d=0;Qe(18969,0);break Y}a=C[104456];if(C[a+68>>2]?0:a){break ga}a=C[104457];if(C[a+68>>2]?0:a){break ga}a=C[104458];if(C[a+68>>2]?0:a){break ga}a=C[104459];if(C[a+68>>2]?0:a){break ga}a=C[104460];if(C[a+68>>2]?0:a){break ga}a=C[104461];if(C[a+68>>2]?0:a){break ga}a=C[104462];if(C[a+68>>2]?0:a){break ga}a=C[104463];if(C[a+68>>2]?0:a){break ga}a=C[104464];if(C[a+68>>2]?0:a){break ga}a=C[104465];if(C[a+68>>2]?0:a){break ga}a=C[104466];if(C[a+68>>2]?0:a){break ga}a=C[104467];if(C[a+68>>2]?0:a){break ga}a=C[104468];if(C[a+68>>2]?0:a){break ga}a=C[104469];if(C[a+68>>2]?0:a){break ga}e=0;a=C[104470];if(C[a+68>>2]?0:a){break ga}c=C[104471];if(!c){a=0;break ha}a=0;if(!C[c+68>>2]){break ga}break ha}if(!e){e=0;a=0;break ha}a=C[104454];c=0;ja:{if(!a){break ja}while(1){ka:{if(!C[a>>2]){break ka}if(uf(C[a+4>>2],e)){break ka}c=C[a>>2];break ja}a=C[a+40>>2];if(a){continue}break}c=0}a=c}if(!(!e|(a|C[104447]))){d=0;Qe(30172,0);break Y}c=If(1,104);if(!c){d=0;_e(0);break Y}C[c>>2]=d+1;l=C[104365];C[c+4>>2]=C[104364];C[c+8>>2]=l;l=C[104367];C[c+12>>2]=C[104366];C[c+16>>2]=l;l=C[104369];C[c+20>>2]=C[104368];C[c+24>>2]=l;C[c+100>>2]=a;C[c+68>>2]=0;C[c+56>>2]=0;C[c- -64>>2]=1;C[c+60>>2]=1;la:{if(C[104438]!=143){break la}a=dj();C[c+80>>2]=a;if(a){break la}rg(c);d=0;Qe(14084,0);break Y}ma:{if(C[104448]){break ma}a=E[c+12>>1];if(!a){break ma}if(a){a=a-1|0;a=a>>>1|a;a=a>>>2|a;a=a>>>4|a;a=a>>>8|a;a=(a>>>16|a)+1|0}else{a=1}B[c+12>>1]=a}na:{if((Fe[C[104429]](c,e)|0)<0){break na}a=C[c+4>>2];if((a|0)!=C[104364]){C[104364]=a}a=E[c+8>>1]!=E[208730];e=D[c+10|0];if((e|0)!=D[417462]){A[417462]=e}a=a|E[c+12>>1]!=E[208732];ut(417456);e=C[104365];C[c+28>>2]=C[104364];C[c+32>>2]=e;e=C[104369];C[c+44>>2]=C[104368];C[c+48>>2]=e;e=C[104367];C[c+36>>2]=C[104366];C[c+40>>2]=e;if(a){e=Xn(E[208730],D[417462],C[104364],E[c+8>>1],D[c+10|0],C[c+4>>2]);C[c+52>>2]=e;if(!e){break na}}if(!C[c+20>>2]){e=ot(8192,C[104367]<<1);C[c+92>>2]=e;if(!e){rg(c);d=0;Qe(16200,0);break Y}C[c+48>>2]=c;C[c+44>>2]=148}e=C[c+16>>2];a=a?C[c+40>>2]:0;a=a>>>0>>0?e:a;C[c+76>>2]=a;a=Fe[C[94503]](a>>>0<=1?1:a)|0;if(a){C[94507]=C[94507]+1}C[c+72>>2]=a;if(!a){rg(c);d=0;_e(0);break Y}C[(d<<2)+417824>>2]=c;oa:{if(C[104443]){break oa}C[i+4>>2]=C[c>>2];C[i>>2]=80;e=i+16|0;rf(e,64,21130,i);a=If(1,60);pa:{if(!a){_e(0);a=0;break pa}d=!j<<16;C[a+8>>2]=-1;C[a+12>>2]=0;qa:{if(!e){break qa}e=Og(e);C[a+36>>2]=e;if(e){break qa}_e(0);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=0;break pa}C[a+48>>2]=c;C[a+44>>2]=150;C[a+40>>2]=d;if((Qe(12540,0)|0)>=0){break pa}e=C[a+36>>2];if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=0}C[c+84>>2]=a;if(a){break oa}rg(c);d=0;Qe(20965,0);break Y}d=C[c>>2];break Y}rg(c);d=0;break Y}d=0;Qe(12373,0)}Ce=i+112|0;C[104370]=d;a=-1;if(!d){break W}c=0;C[104371]=8;e=Fe[C[94503]](480)|0;if(e){C[94507]=C[94507]+1}C[104372]=e;d=C[104371];if((d|0)>0){while(1){a=e+I(c,60)|0;C[a>>2]=0;C[a+4>>2]=0;C[a+44>>2]=128;C[a+16>>2]=128;C[a+20>>2]=0;C[a+36>>2]=0;C[a+40>>2]=128;C[a+56>>2]=0;C[a+24>>2]=-1;C[a+28>>2]=0;C[a+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}qt(128);m=417440,n=(Ug(28153)|0)!=0,C[m>>2]=n;a=0;ra:{sa:{c=C[104361];if((c|0)>0){while(1){if(!uf(C[C[104362]+(a<<2)>>2],26537)){break sa}a=a+1|0;c=C[104361];if((a|0)<(c|0)){continue}break}}a=Sf(C[104362],(c<<2)+4|0);if(!a){break sa}C[104362]=a;e=C[104361];c=e+1|0;C[104361]=c;C[a+(e<<2)>>2]=26537;break ra}c=C[104361]}a=0;ta:{ua:{if((c|0)>0){while(1){if(!uf(C[C[104362]+(a<<2)>>2],26399)){break ua}a=a+1|0;c=C[104361];if((a|0)<(c|0)){continue}break}}a=Sf(C[104362],(c<<2)+4|0);if(!a){break ua}C[104362]=a;e=C[104361];c=e+1|0;C[104361]=c;C[a+(e<<2)>>2]=26399;break ta}c=C[104361]}a=0;va:{if((c|0)>0){while(1){if(!uf(C[C[104362]+(a<<2)>>2],28427)){break va}a=a+1|0;c=C[104361];if((a|0)<(c|0)){continue}break}}a=Sf(C[104362],(c<<2)+4|0);if(!a){break va}C[104362]=a;c=C[104361];C[104361]=c+1;C[a+(c<<2)>>2]=28427}Zl(1);Zl(2);a=C[104369];C[104386]=C[104368];C[104387]=a;a=C[104367];C[104384]=C[104366];C[104385]=a;a=C[104365];C[104382]=C[104364];C[104383]=a;Wn(0);C[94436]=128;qi();if(!(!C[104388]|!C[C[C[104388]>>2]+36>>2])){a=C[104388];Fe[C[C[a>>2]+36>>2]](C[a+4>>2],C[94436])}mi();k=+E[208732]*1e3/+C[104364];wa:{if(K(k)<2147483648){a=~~k;break wa}a=-2147483648}C[104389]=a;C[104363]=1;xa:{ya:{a=C[104370]-1|0;if(a>>>0<=15){a=C[(a<<2)+417824>>2];if(a){break ya}}Qe(27615,0);break xa}Fe[C[104438]](a);C[a- -64>>2]=0;Fe[C[104439]](a)}a=0}Ce=f+32|0;za:{if(!a){Aa:{if(Zl(5)){Wn(5);b=16;break Aa}Qe(17797,0)}if(!(b&16)){break za}qt(25);e=Ce-16|0;Ce=e;Ba:{Ca:{Da:{if(!C[94461]){break Da}a=C[94465];if(!a){break Da}c=377828;a=Fe[a|0](15560)|0;if(a){break Ca}}Ea:{if(!C[94441]){break Ea}a=C[94445];if(!a){break Ea}c=377748;a=Fe[a|0](15560)|0;if(a){break Ca}}c=Xh(15560,21803);if(!c){C[e>>2]=15560;Qe(34119,e);b=0;break Ba}a=0;b=go(15560,46);Fa:{if(!b){break Fa}b=b+1|0;if(!wf(b,22805)){a=2;break Fa}a=4;if(!wf(b,27607)){break Fa}if(!wf(b,25896)){break Fa}if(!wf(b,24770)){break Fa}if(!wf(b,26362)){a=5;break Fa}if(!wf(b,23839)){a=10;break Fa}if(!wf(b,28466)){a=8;break Fa}a=6;if(!wf(b,26074)){break Fa}if(!wf(b,26366)){break Fa}if(!wf(b,29495)){break Fa}if(!wf(b,28271)){break Fa}Ga:{if(!wf(b,28815)){break Ga}if(!wf(b,26382)){break Ga}if(!wf(b,24184)){break Ga}if(!wf(b,25653)){break Ga}if(!wf(b,25632)){break Ga}if(!wf(b,24805)){break Ga}if(!wf(b,23547)){break Ga}if(!wf(b,27993)){break Ga}if(!wf(b,25845)){break Ga}if(!wf(b,27453)){break Ga}if(!wf(b,25670)){break Ga}if(!wf(b,25628)){break Ga}if(!wf(b,23150)){break Ga}if(!wf(b,23537)){break Ga}if(!wf(b,25624)){break Ga}if(!wf(b,25657)){break Ga}if(!wf(b,25620)){break Ga}if(!wf(b,23506)){break Ga}if(!wf(b,22623)){break Ga}if(!wf(b,22668)){break Ga}a=0;if(wf(b,25587)){break Fa}}a=3}b=Ce-16|0;Ce=b;Ha:{if(!c){a=0;Qe(25674,0);break Ha}i=Fe[C[c+4>>2]](c,0,0,1)|0;j=Ee;Ia:{if(a){break Ia}Ja:{if((Fe[C[c+8>>2]](c,b+4|0,1,12)|0)==12){Fe[C[c+4>>2]](c,-12,-1,1)|0;if(!qg(b+4|0,26394,4)){if(!qg(b+12|0,26537,4)){break Ja}}if(!qg(b+4|0,25636,4)){break Ja}if(qg(b+4|0,23806,4)){if(!qg(b+4|0,28422,4)){a=8;break Ia}a=4;if(!qg(b+4|0,19777,4)){break Ia}a=6;if(!qg(b+4|0,29499,3)|D[b+4|0]==255&(D[b+5|0]&254)==250){break Ia}a=3;break Ia}a=Fe[C[c+4>>2]](c,0,0,1)|0;d=Ee;Fe[C[c+4>>2]](c,28,0,1)|0;f=b+4|0;Fe[C[c+8>>2]](c,f,1,8)|0;Fe[C[c+4>>2]](c,a,d,0)|0;a=5;if(qg(f,21002,8)){break Ia}a=10;break Ia}a=0;Qe(21899,0);Fe[C[c+16>>2]](c)|0;break Ha}a=2}C[105620]=128;C[105619]=422496;C[105618]=0;Ka:{La:{if(!Zl(a)){break La}if(!Wn(a)){break La}Ma:{if(!C[94461]|C[94459]!=(a|0)){break Ma}d=377828;f=C[94464];if(!f){break Ma}f=Fe[f|0](c,1)|0;if(f){break Ka}Fe[C[c+4>>2]](c,i,j,0)|0}if(!C[94441]|C[94439]!=(a|0)){break La}d=377748;a=C[94444];if(!a){break La}f=Fe[a|0](c,1)|0;if(f){break Ka}Fe[C[c+4>>2]](c,i,j,0)|0}C[105620]=128;C[105619]=422496;a=34979;Na:{if(!C[105618]){break Na}a=C[105619]}if(!D[a|0]){Qe(4871,0)}Fe[C[c+16>>2]](c)|0;a=0;break Ha}a=If(1,24);if(!a){Fe[C[d+68>>2]](f);a=0;Qe(1277,0);break Ha}C[a+4>>2]=f;C[a>>2]=d;if(!cg(24518,0)){break Ha}C[b>>2]=C[d>>2];Tg(34335,b)}Ce=b+16|0;b=a;break Ba}b=If(1,24);if(!b){b=0;Qe(1277,0);break Ba}C[b+4>>2]=a;C[b>>2]=c}Ce=e+16|0;C[99540]=b;b=0;qi();if(C[104388]){if(C[C[C[104388]>>2]+44>>2]){a=C[104388];a=Fe[C[C[a>>2]+44>>2]](C[a+4>>2])|0;C[C[104388]+8>>2]=a}b=C[C[104388]+8>>2]!=0}mi();if(b){break za}b=C[99540];a=C[104389];Oa:{if(!a){Qe(20546,0);break Oa}if(!b){Qe(25696,0);break Oa}C[b+16>>2]=0;C[b+20>>2]=0/(a|0);C[b+12>>2]=0;qi();Pa:{if(!C[104388]){break Pa}while(1){if(C[C[104388]+12>>2]!=1){break Pa}mi();lh(100);qi();if(C[104388]){continue}break}}if(C[104388]){if(C[C[C[104388]>>2]+64>>2]){a=C[104388];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104388]+8>>2]=0;C[C[104388]+12>>2]=0;C[104388]=0}a=0;C[104388]=b;C[C[104388]+8>>2]=1;Qa:{Ra:{if(C[C[104388]+12>>2]==2){if(C[C[C[104388]>>2]+36>>2]){break Ra}break Qa}a=C[94436];if(!C[C[C[104388]>>2]+36>>2]){break Qa}}c=C[104388];Fe[C[C[c>>2]+36>>2]](C[c+4>>2],a)}a=Fe[C[C[b>>2]+40>>2]](C[b+4>>2],-1)|0;Sa:{if(!a){a=0;if(!C[C[C[104388]>>2]+52>>2]){break Sa}b=C[104388];Fe[C[C[b>>2]+52>>2]](C[b+4>>2],0)|0;break Sa}if((a|0)>=0){break Sa}C[b+8>>2]=0;C[104388]=0}C[94435]=!a;mi()}break za}C[105620]=128;C[105619]=422496;a=34979;Ta:{if(!C[105618]){break Ta}a=C[105619]}C[g>>2]=a;Lj(34429,g)}Ce=g+16|0;Js();C[97702]=0;Fc(1,0,1);break b}C[105620]=128;C[105619]=422496;a=34979;Ua:{if(!C[105618]){break Ua}a=C[105619]}C[h+48>>2]=a;Lj(34371,h+48|0);ea(1);s()}C[105620]=128;C[105619]=422496;a=34979;Va:{if(!C[105618]){break Va}a=C[105619]}C[h+128>>2]=a;Lj(8953,h+128|0)}Ce=h+160|0;return 0}function bm(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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;s=Ce-16|0;Ce=s;y=-2;a:{if(!C[a+36>>2]|(!a|!C[a+32>>2])){break a}f=C[a+28>>2];if(!f|C[f>>2]!=(a|0)){break a}h=C[f+4>>2];if(h-16180>>>0>31){break a}p=C[a+12>>2];if(!p){break a}d=C[a>>2];if(!(C[a+4>>2]?d:1)){break a}if((h|0)==16191){C[f+4>>2]=16192;h=16192}P=b-5|0;Q=f+92|0;G=f+756|0;H=f+116|0;K=f+88|0;I=f+112|0;z=f+1332|0;g=C[f+64>>2];J=C[a+4>>2];e=J;i=C[f+60>>2];n=C[a+16>>2];u=n;b:{c:{d:{e:{f:{g:while(1){c=-3;k=1;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:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{switch(h-16180|0){case 23:m=C[f+76>>2];c=d;h=e;break G;case 21:k=C[f+76>>2];break I;case 18:h=C[f+108>>2];break L;case 27:h=C[f+12>>2];break h;case 16:if(g>>>0>=14){break U}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0<=5){break V}d=h;e=k;g=c;break U;case 9:if(g>>>0>=32){break aa}if(!e){break f}c=d+1|0;h=e-1|0;i=(D[d|0]<>>0<=23){break ba}d=c;e=h;break aa;case 1:if(g>>>0>=16){break la}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0<=7){break ma}d=h;e=k;g=c;break la;case 28:break i;case 8:break l;case 7:break m;case 6:break n;case 5:break o;case 24:break F;case 22:break H;case 20:break J;case 19:break K;case 30:break b;case 26:break R;case 25:break S;case 17:break T;case 29:break c;case 15:break W;case 14:break X;case 13:break Y;case 12:break Z;case 11:break _;case 10:break $;case 4:break ea;case 3:break ha;case 2:break ka;case 0:break na;default:break a}}j=C[f+12>>2];if(!j){break Q}oa:{if(g>>>0>=16){break oa}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0>7){d=h;e=k;g=c;break oa}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;e=e-2|0;i=(D[d+1|0]<>2]){C[f+40>>2]=15}i=0;c=Vg(0,0,0);C[f+28>>2]=c;A[s+12|0]=31;A[s+13|0]=139;X=f,Y=Vg(c,s+12|0,2),C[X+28>>2]=Y;C[f+4>>2]=16181;g=0;h=C[f+4>>2];continue}c=C[f+36>>2];if(c){C[c+48>>2]=-1}if(!(!(((i<<8&65280)+(i>>>8|0)>>>0)%31|0)&(j&1))){C[a+24>>2]=14266;C[f+4>>2]=16209;h=C[f+4>>2];continue}if((i&15)!=8){C[a+24>>2]=19641;C[f+4>>2]=16209;h=C[f+4>>2];continue}h=i>>>4|0;j=h&15;k=j+8|0;l=j>>>0<=7;c=C[f+40>>2];if(!c){C[f+40>>2]=k;c=k}if(!(c>>>0>=k>>>0&l)){g=g-4|0;C[a+24>>2]=15892;C[f+4>>2]=16209;i=h;h=C[f+4>>2];continue}g=0;C[f+20>>2]=0;C[f+24>>2]=256<>2]=c;C[a+48>>2]=c;C[f+4>>2]=i&8192?16189:16191;i=0;h=C[f+4>>2];continue}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;e=e-2|0;i=(D[d+1|0]<>2]=i;if((i&255)!=8){C[a+24>>2]=19641;C[f+4>>2]=16209;h=C[f+4>>2];continue}if(i&57344){C[a+24>>2]=4676;C[f+4>>2]=16209;h=C[f+4>>2];continue}c=C[f+36>>2];if(c){C[c>>2]=i>>>8&1}if(!(!(i&512)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;X=f,Y=Vg(C[f+28>>2],s+12|0,2),C[X+28>>2]=Y}C[f+4>>2]=16182;g=0;i=0;break ja}if(g>>>0>31){break ia}}if(!e){break f}c=d+1|0;h=e-1|0;i=(D[d|0]<>>0>23){d=c;e=h;break ia}k=g+8|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+2|0;h=e-2|0;i=(D[d+1|0]<>>0>15){d=c;e=h;break ia}k=g+16|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+3|0;h=e-3|0;i=(D[d+2|0]<>>0>7){d=c;e=h;break ia}g=g+24|0;if(!h){d=c;e=0;c=o;break c}e=e-4|0;i=(D[d+3|0]<>2];if(c){C[c+4>>2]=i}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;A[s+14|0]=i>>>16;A[s+15|0]=i>>>24;X=f,Y=Vg(C[f+28>>2],s+12|0,4),C[X+28>>2]=Y}C[f+4>>2]=16183;g=0;i=0;break ga}if(g>>>0>15){break fa}}if(!e){break f}c=d+1|0;h=e-1|0;i=(D[d|0]<>>0>7){d=c;e=h;break fa}g=g+8|0;if(!h){d=c;e=0;c=o;break c}e=e-2|0;i=(D[d+1|0]<>2];if(c){C[c+12>>2]=i>>>8;C[c+8>>2]=i&255}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;X=f,Y=Vg(C[f+28>>2],s+12|0,2),C[X+28>>2]=Y}C[f+4>>2]=16184;h=0;g=0;i=0;c=C[f+20>>2];if(c&1024){break da}break q}c=C[f+20>>2];if(!(c&1024)){h=g;break q}h=i;if(g>>>0>15){break ca}}if(!e){e=0;i=h;c=o;break c}k=d+1|0;j=e-1|0;i=(D[d|0]<>>0>7){d=k;e=j;break ca}g=g+8|0;if(!j){d=k;e=0;c=o;break c}e=e-2|0;i=(D[d+1|0]<>2]=i;g=C[f+36>>2];if(g){C[g+20>>2]=i}g=0;if(!(!(c&512)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;X=f,Y=Vg(C[f+28>>2],s+12|0,2),C[X+28>>2]=Y}i=0;break p}k=g+8|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+2|0;h=e-2|0;i=(D[d+1|0]<>>0>15){d=c;e=h;break aa}k=g+16|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+3|0;h=e-3|0;i=(D[d+2|0]<>>0>7){d=c;e=h;break aa}g=g+24|0;if(!h){d=c;e=0;c=o;break c}e=e-4|0;i=(D[d+3|0]<>>8&65280|i>>>24);C[f+28>>2]=c;C[a+48>>2]=c;C[f+4>>2]=16190;i=0;g=0}if(!C[f+16>>2]){C[a+16>>2]=n;C[a+12>>2]=p;C[a+4>>2]=e;C[a>>2]=d;C[f+64>>2]=g;C[f+60>>2]=i;y=2;break a}c=Tj(0,0,0);C[f+28>>2]=c;C[a+48>>2]=c;C[f+4>>2]=16191}if(P>>>0<2){break j}}pa:{qa:{if(!C[f+8>>2]){if(g>>>0<3){break qa}break pa}C[f+4>>2]=16206;i=i>>>(g&7)|0;g=g&-8;h=C[f+4>>2];continue}if(!e){break f}e=e-1|0;i=(D[d|0]<>2]=i&1;h=16193;ra:{sa:{ta:{switch((i>>>1&3)-1|0){case 0:C[f+80>>2]=101264;C[f+88>>2]=9;C[f+92>>2]=5;C[f+84>>2]=103312;C[f+4>>2]=16199;if((b|0)!=6){break ra}g=g-3|0;i=i>>>3|0;c=o;break c;case 1:h=16196;break sa;case 2:break ta;default:break sa}}C[a+24>>2]=16909;h=16209}C[f+4>>2]=h}g=g-3|0;i=i>>>3|0;h=C[f+4>>2];continue}i=i>>>(g&7)|0;g=g&-8;ua:{if(g>>>0>31){break ua}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0>23){d=h;e=k;g=c;break ua}if(!k){d=h;e=0;g=c;c=o;break c}h=g+16|0;k=d+2|0;j=e-2|0;i=(D[d+1|0]<>>0>15){d=k;e=j;g=h;break ua}if(!j){d=k;e=0;g=h;c=o;break c}c=g+24|0;k=d+3|0;j=e-3|0;i=(D[d+2|0]<>>16|0)){C[a+24>>2]=7361;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16194;C[f+68>>2]=c;i=0;g=0;if((b|0)!=6){break X}break j}C[f+4>>2]=16195}c=C[f+68>>2];if(c){c=c>>>0>>0?c:e;c=c>>>0>>0?c:n;if(!c){break j}h=jf(p,d,c);C[f+68>>2]=C[f+68>>2]-c;p=c+h|0;n=n-c|0;d=c+d|0;e=e-c|0;h=C[f+4>>2];continue}C[f+4>>2]=16191;h=C[f+4>>2];continue}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;e=e-2|0;i=(D[d+1|0]<>2]=c+257;h=i>>>5&31;C[f+104>>2]=h+1;j=(i>>>10&15)+4|0;C[f+96>>2]=j;g=g-14|0;i=i>>>14|0;if(!(h>>>0<30&c>>>0<=29)){C[a+24>>2]=6955;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16197;h=0;C[f+108>>2]=0;break N}h=C[f+108>>2];j=C[f+96>>2];if(h>>>0>>0){break N}break M}if(!n){break E}A[p|0]=C[f+68>>2];C[f+4>>2]=16200;n=n-1|0;p=p+1|0;h=C[f+4>>2];continue}h=C[f+12>>2];if(!h){h=0;break O}va:{if(g>>>0>31){k=d;break va}if(!e){break f}c=g+8|0;k=d+1|0;j=e-1|0;i=(D[d|0]<>>0>23){e=j;g=c;break va}if(!j){d=k;e=0;g=c;c=o;break c}j=g+16|0;k=d+2|0;l=e-2|0;i=(D[d+1|0]<>>0>15){e=l;g=j;break va}if(!l){d=k;e=0;g=j;c=o;break c}c=g+24|0;k=d+3|0;l=e-3|0;i=(D[d+2|0]<>>0>7){e=l;g=c;break va}if(!l){d=k;e=0;g=c;c=o;break c}g=g+32|0;k=d+4|0;e=e-4|0;i=(D[d+3|0]<>2]=d+C[a+20>>2];C[f+32>>2]=d+C[f+32>>2];c=h&4;if(!(!c|(n|0)==(u|0))){c=p-d|0;h=C[f+28>>2];wa:{if(C[f+20>>2]){d=Vg(h,c,d);break wa}d=Tj(h,c,d)}C[f+28>>2]=d;C[a+48>>2]=d;h=C[f+12>>2];c=h&4}if(!c|C[f+28>>2]==((C[f+20>>2]?i:i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))|0)){break P}C[a+24>>2]=14312;C[f+4>>2]=16209;d=k;u=n;h=C[f+4>>2];continue}C[f+4>>2]=16192;break s}d=k;i=0;g=0;u=n}C[f+4>>2]=16207;break h}while(1){if(g>>>0<=2){if(!e){break f}e=e-1|0;i=(D[d|0]<>2]=c;B[((E[(h<<1)+101216>>1]<<1)+f|0)+116>>1]=i&7;g=g-3|0;i=i>>>3|0;h=c;if((c|0)!=(j|0)){continue}break}h=j}if(h>>>0<=18){k=0;c=h;o=3-c&3;if(o){while(1){B[((E[(c<<1)+101216>>1]<<1)+f|0)+116>>1]=0;c=c+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(h-16>>>0>=3){while(1){o=f+116|0;h=c<<1;B[o+(E[h+101216>>1]<<1)>>1]=0;B[o+(E[h+101218>>1]<<1)>>1]=0;B[o+(E[h+101220>>1]<<1)>>1]=0;B[o+(E[h+101222>>1]<<1)>>1]=0;c=c+4|0;if((c|0)!=19){continue}break}}C[f+108>>2]=19}C[f+88>>2]=7;C[f+80>>2]=z;C[f+112>>2]=z;h=0;o=$n(0,H,19,I,K,G);if(o){C[a+24>>2]=4651;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16198;C[f+108>>2]=0;o=0}x=C[f+100>>2];t=x+C[f+104>>2]|0;if(t>>>0>h>>>0){v=-1<>2]^-1;r=C[f+80>>2];while(1){m=g;k=e;j=d;q=i&v;l=D[(r+(q<<2)|0)+1|0];xa:{if(l>>>0<=g>>>0){c=g;break xa}while(1){if(!k){break C}l=D[j|0]<>>0>c>>>0){continue}break}d=j;e=k}g=E[(r+(q<<2)|0)+2>>1];ya:{if(g>>>0<=15){k=h+1|0;C[f+108>>2]=k;B[((h<<1)+f|0)+116>>1]=g;g=c-l|0;i=i>>>l|0;h=k;break ya}za:{Aa:{Ba:{switch(g-16|0){case 0:g=l+2|0;if(g>>>0>c>>>0){while(1){if(!e){break r}e=e-1|0;i=(D[d|0]<>>0>c>>>0){continue}break}}g=c-l|0;c=i>>>l|0;if(!h){C[a+24>>2]=5775;C[f+4>>2]=16209;i=c;h=C[f+4>>2];continue g}g=g-2|0;i=c>>>2|0;k=(c&3)+3|0;c=E[((h<<1)+f|0)+114>>1];break za;case 1:g=l+3|0;if(g>>>0>c>>>0){while(1){if(!e){break r}e=e-1|0;i=(D[d|0]<>>0>c>>>0){continue}break}}g=(c-l|0)-3|0;c=i>>>l|0;i=c>>>3|0;k=(c&7)+3|0;break Aa;default:break Ba}}g=l+7|0;if(g>>>0>c>>>0){while(1){if(!e){break r}e=e-1|0;i=(D[d|0]<>>0>c>>>0){continue}break}}g=(c-l|0)-7|0;c=i>>>l|0;i=c>>>7|0;k=(c&127)+11|0}c=0}if(t>>>0>>0){break v}l=k-1|0;j=0;m=k&3;if(m){while(1){B[((h<<1)+f|0)+116>>1]=c;h=h+1|0;k=k-1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(l>>>0>=3){while(1){j=(h<<1)+f|0;B[j+118>>1]=c;B[j+116>>1]=c;B[j+120>>1]=c;B[j+122>>1]=c;h=h+4|0;k=k-4|0;if(k){continue}break}}C[f+108>>2]=h}if(h>>>0>>0){continue}break}}if(!E[f+628>>1]){C[a+24>>2]=14047;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+88>>2]=9;C[f+80>>2]=z;C[f+112>>2]=z;o=$n(1,H,x,I,K,G);if(o){C[a+24>>2]=4623;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+92>>2]=6;C[f+84>>2]=C[f+112>>2];o=$n(2,(C[f+100>>2]<<1)+H|0,C[f+104>>2],I,Q,G);if(o){C[a+24>>2]=4701;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16199;o=0;if((b|0)!=6){break K}c=0;break c}C[f+4>>2]=16200}if(!(e>>>0<6|n>>>0<258)){C[a+16>>2]=n;C[a+12>>2]=p;C[a+4>>2]=e;C[a>>2]=d;C[f+64>>2]=g;C[f+60>>2]=i;j=C[a+12>>2];c=C[a+16>>2];d=j+c|0;t=d+(u^-1)|0;m=C[a+28>>2];p=C[m+52>>2];R=(d+(p^-1)|0)-u|0;v=p&7;L=C[m+44>>2];S=p+L|0;x=d-257|0;T=(c-u|0)+j|0;g=C[a>>2];M=(g+C[a+4>>2]|0)-5|0;U=-1<>2]^-1;V=-1<>2]^-1;N=C[m+84>>2];O=C[m+80>>2];i=C[m+64>>2];l=C[m+60>>2];k=C[m+56>>2];W=C[m+48>>2];Ca:{Da:{while(1){if(i>>>0<=14){l=((D[g|0]<>>d|0;Ea:{Fa:{Ga:{while(1){d=D[e|0];if(!d){A[j|0]=D[e+2|0];j=j+1|0;break Fa}if(d&16){n=E[e+2>>1];d=d&15;Ha:{if(!d){c=g;d=l;break Ha}if(d>>>0<=i>>>0){c=g}else{l=(D[g|0]<>>d|0}if(i>>>0<=14){d=((D[c|0]<>>g|0;d=D[e|0];if(d&16){break Ga}while(1){if(!(d&64)){e=((E[e+2>>1]<<2)+N|0)+(((-1<>>d|0;d=D[e|0];if(!(d&16)){continue}break Ga}break}n=18746;g=c;break Ea}if(!(d&64)){e=((E[e+2>>1]<<2)+O|0)+(((-1<>>d|0;continue}break}n=18718;c=16191;if(d&32){break Da}break Ea}q=E[e+2>>1];e=d&15;Ia:{if(e>>>0<=i>>>0){d=i;g=c;break Ia}l=(D[c|0]<>>0<=d>>>0){break Ia}l=(D[c+1|0]<>>e|0;Ja:{r=c+q|0;d=j-T|0;if(r>>>0>d>>>0){h=r-d|0;if(!(!C[m+7108>>2]|h>>>0<=W>>>0)){n=14475;break Ea}Ka:{La:{if(!p){e=k+(L-h|0)|0;if(h>>>0>=n>>>0){break Ka}q=(q+(c+t|0)|0)-j|0;c=0;d=h;w=d&7;if(w){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}if(q>>>0<7){break La}while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}break La}if(h>>>0>p>>>0){e=k+(S-h|0)|0;h=h-p|0;if(h>>>0>=n>>>0){break Ka}q=(q+(c+R|0)|0)-j|0;c=0;d=h;w=d&7;if(w){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}if(q>>>0>=7){while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}}n=n-h|0;if(p>>>0>=n>>>0){e=k;break Ka}c=0;d=p;e=k;if(v){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}}if(p>>>0>=8){while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}}e=j-r|0;n=n-p|0;break Ka}e=k+(p-h|0)|0;if(h>>>0>=n>>>0){break Ka}q=(q+(c+t|0)|0)-j|0;c=0;d=h;w=d&7;if(w){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}if(q>>>0<7){break La}while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}}e=j-r|0;n=n-h|0}Ma:{if(n>>>0<3){break Ma}d=0;c=n-3|0;h=((c>>>0)/3|0)+1&3;if(h){while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];n=n-3|0;j=j+3|0;e=e+3|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(c>>>0<9){break Ma}while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];A[j+8|0]=D[e+8|0];A[j+9|0]=D[e+9|0];A[j+10|0]=D[e+10|0];A[j+11|0]=D[e+11|0];j=j+12|0;e=e+12|0;n=n-12|0;if(n>>>0>2){continue}break}}if(!n){break Fa}A[j|0]=D[e|0];if((n|0)!=1){break Ja}j=j+1|0;break Fa}c=j-r|0;while(1){e=c;d=j;A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];A[d+2|0]=D[c+2|0];j=d+3|0;c=c+3|0;n=n-3|0;if(n>>>0>2){continue}break}if(!n){break Fa}A[d+3|0]=D[c|0];if((n|0)==1){j=d+4|0;break Fa}A[d+4|0]=D[e+4|0];j=d+5|0;break Fa}A[j+1|0]=D[e+1|0];j=j+2|0}if(g>>>0>=M>>>0){break Ca}if(j>>>0>>0){continue}break Ca}break}C[a+24>>2]=n;c=16209}C[m+4>>2]=c}C[a+12>>2]=j;d=g-(i>>>3|0)|0;C[a>>2]=d;C[a+16>>2]=(x-j|0)+257;C[a+4>>2]=(M-d|0)+5;d=i&7;C[m+64>>2]=d;C[m+60>>2]=(-1<>2];i=C[f+60>>2];e=C[a+4>>2];d=C[a>>2];n=C[a+16>>2];p=C[a+12>>2];if(C[f+4>>2]!=16191){break s}C[f+7112>>2]=-1;h=C[f+4>>2];continue}C[f+7112>>2]=0;k=g;h=e;c=d;t=C[f+80>>2];q=-1<>2]^-1;l=t+((q&i)<<2)|0;m=D[l+1|0];Na:{if(m>>>0<=g>>>0){j=g;break Na}while(1){if(!h){break w}l=D[c|0]<>>0>j>>>0){continue}break}}q=E[l+2>>1];k=D[l|0];Oa:{if((k-1&255)>>>0>14){l=m;m=0;d=c;e=h;break Oa}e=h;d=c;g=j;v=-1<>>m|0)+q<<2)|0;l=D[r+1|0];Pa:{if(g>>>0>=l+m>>>0){k=j;break Pa}while(1){if(!e){break x}l=D[d|0]<>>m|0)+q<<2)|0;l=D[r+1|0];if(g>>>0>>0){continue}break}}j=k-m|0;i=i>>>m|0;k=D[r|0];q=E[r+2>>1]}C[f+68>>2]=q&65535;C[f+7112>>2]=l+m;g=j-l|0;i=i>>>l|0;c=k&255;if(!c){C[f+4>>2]=16205;h=C[f+4>>2];continue}if(c&32){C[f+4>>2]=16191;C[f+7112>>2]=-1;h=C[f+4>>2];continue}if(c&64){C[a+24>>2]=18718;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16201;k=c&15;C[f+76>>2]=k}l=d;j=e;Qa:{if(!k){c=C[f+68>>2];break Qa}h=g;c=d;if(g>>>0>>0){while(1){if(!e){break y}e=e-1|0;i=(D[c|0]<>>0>h>>>0){continue}break}}C[f+7112>>2]=C[f+7112>>2]+k;c=C[f+68>>2]+((-1<>2]=c;g=h-k|0;i=i>>>k|0}C[f+4>>2]=16202;C[f+7116>>2]=c}k=g;h=e;c=d;t=C[f+84>>2];q=-1<>2]^-1;l=t+((q&i)<<2)|0;m=D[l+1|0];Ra:{if(m>>>0<=g>>>0){j=g;break Ra}while(1){if(!h){break z}l=D[c|0]<>>0>j>>>0){continue}break}}q=E[l+2>>1];k=D[l|0];Sa:{if(k>>>0>=16){l=m;d=C[f+7112>>2];break Sa}e=h;d=c;g=j;v=-1<>>m|0)+q<<2)|0;l=D[r+1|0];Ta:{if(g>>>0>=l+m>>>0){k=j;break Ta}while(1){if(!e){break A}l=D[d|0]<>>m|0)+q<<2)|0;l=D[r+1|0];if(g>>>0>>0){continue}break}c=d;h=e}j=k-m|0;i=i>>>m|0;k=D[r|0];q=E[r+2>>1];d=C[f+7112>>2]+m|0}C[f+7112>>2]=d+l;g=j-l|0;i=i>>>l|0;if(k&64){C[a+24>>2]=18746;C[f+4>>2]=16209;d=c;e=h;h=C[f+4>>2];continue}C[f+4>>2]=16203;m=k&15;C[f+76>>2]=m;C[f+72>>2]=q&65535}Ua:{if(!m){d=c;e=h;break Ua}k=g;e=h;j=c;Va:{if(g>>>0>=m>>>0){d=c;break Va}while(1){if(!e){break B}e=e-1|0;i=(D[j|0]<>>0>k>>>0){continue}break}}C[f+7112>>2]=C[f+7112>>2]+m;C[f+72>>2]=C[f+72>>2]+((-1<>>m|0}C[f+4>>2]=16204}if(n){break D}}n=0;break j}c=C[f+72>>2];h=u-n|0;Wa:{if(c>>>0>h>>>0){c=c-h|0;if(!(!C[f+7108>>2]|c>>>0<=F[f+48>>2])){C[a+24>>2]=14475;C[f+4>>2]=16209;h=C[f+4>>2];continue}h=C[f+52>>2];Xa:{if(h>>>0>>0){c=c-h|0;h=C[f+56>>2]+(C[f+44>>2]-c|0)|0;break Xa}h=C[f+56>>2]+(h-c|0)|0}k=C[f+68>>2];c=c>>>0>>0?c:k;break Wa}h=p-c|0;k=C[f+68>>2];c=k}j=c>>>0>>0?c:n;C[f+68>>2]=k-j;l=j-1|0;k=0;m=j&7;if(!m){break u}c=j;while(1){A[p|0]=D[h|0];c=c-1|0;p=p+1|0;h=h+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break t}d=d+e|0;g=(e<<3)+g|0;break f}d=c+h|0;g=(h<<3)+g|0;break f}d=c+h|0;g=(h<<3)+j|0;break f}d=d+e|0;g=(e<<3)+g|0;break f}d=j+l|0;g=(j<<3)+g|0;break f}d=c+h|0;g=(h<<3)+j|0;break f}d=d+e|0;g=(e<<3)+g|0;break f}C[a+24>>2]=5775;C[f+4>>2]=16209;h=C[f+4>>2];continue}c=j}if(l>>>0>=7){while(1){A[p|0]=D[h|0];A[p+1|0]=D[h+1|0];A[p+2|0]=D[h+2|0];A[p+3|0]=D[h+3|0];A[p+4|0]=D[h+4|0];A[p+5|0]=D[h+5|0];A[p+6|0]=D[h+6|0];A[p+7|0]=D[h+7|0];p=p+8|0;h=h+8|0;c=c-8|0;if(c){continue}break}}n=n-j|0;if(C[f+68>>2]){break s}C[f+4>>2]=16200;h=C[f+4>>2];continue}h=C[f+4>>2];continue}e=0;g=c;c=o;break c}c=C[f+36>>2];if(c){C[c+16>>2]=0}g=h}C[f+4>>2]=16185}k=C[f+20>>2];if(k&1024){h=C[f+68>>2];c=e>>>0>h>>>0?h:e;if(c){j=C[f+36>>2];Ya:{if(!j){break Ya}m=C[j+16>>2];if(!m){break Ya}l=C[j+24>>2];h=C[j+20>>2]-h|0;if(l>>>0<=h>>>0){break Ya}jf(h+m|0,d,l>>>0>>0?l-h|0:c);k=C[f+20>>2]}if(!(!(k&512)|!(D[f+12|0]&4))){X=f,Y=Vg(C[f+28>>2],d,c),C[X+28>>2]=Y}h=C[f+68>>2]-c|0;C[f+68>>2]=h;e=e-c|0;d=c+d|0}if(h){break j}}C[f+4>>2]=16186;C[f+68>>2]=0}Za:{if(D[f+21|0]&8){h=0;if(!e){break k}while(1){c=D[d+h|0];k=C[f+36>>2];_a:{if(!k){break _a}j=C[k+28>>2];if(!j){break _a}l=C[k+32>>2];k=C[f+68>>2];if(l>>>0<=k>>>0){break _a}C[f+68>>2]=k+1;A[j+k|0]=c}h=h+1|0;if(h>>>0>>0?c:0){continue}break}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){X=f,Y=Vg(C[f+28>>2],d,h),C[X+28>>2]=Y}d=d+h|0;e=e-h|0;if(!c){break Za}break j}c=C[f+36>>2];if(!c){break Za}C[c+28>>2]=0}C[f+4>>2]=16187;C[f+68>>2]=0}$a:{if(D[f+21|0]&16){h=0;if(!e){break k}while(1){c=D[d+h|0];k=C[f+36>>2];ab:{if(!k){break ab}j=C[k+36>>2];if(!j){break ab}l=C[k+40>>2];k=C[f+68>>2];if(l>>>0<=k>>>0){break ab}C[f+68>>2]=k+1;A[j+k|0]=c}h=h+1|0;if(h>>>0>>0?c:0){continue}break}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){X=f,Y=Vg(C[f+28>>2],d,h),C[X+28>>2]=Y}d=d+h|0;e=e-h|0;if(!c){break $a}break j}c=C[f+36>>2];if(!c){break $a}C[c+36>>2]=0}C[f+4>>2]=16188}j=C[f+20>>2];if(j&512){bb:{if(g>>>0>15){h=d;break bb}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0>7){e=k;g=c;break bb}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;h=d+2|0;e=e-2|0;i=(D[d+1|0]<>1]==(i|0))){C[a+24>>2]=15e3;C[f+4>>2]=16209;d=h;h=C[f+4>>2];continue}i=0;g=0;d=h}c=C[f+36>>2];if(c){C[c+48>>2]=1;C[c+44>>2]=j>>>9&1}c=Vg(0,0,0);C[f+28>>2]=c;C[a+48>>2]=c;C[f+4>>2]=16191;h=C[f+4>>2];continue}e=0}k=o}c=k;break c}if(!h|!C[f+20>>2]){break e}cb:{if(g>>>0>31){c=d;break cb}if(!e){break f}k=g+8|0;c=d+1|0;j=e-1|0;i=(D[d|0]<>>0>23){e=j;g=k;break cb}if(!j){d=c;e=0;g=k;c=o;break c}j=g+16|0;c=d+2|0;l=e-2|0;i=(D[d+1|0]<>>0>15){e=l;g=j;break cb}if(!l){d=c;e=0;g=j;c=o;break c}k=g+24|0;c=d+3|0;l=e-3|0;i=(D[d+2|0]<>>0>7){e=l;g=k;break cb}if(!l){d=c;e=0;g=k;c=o;break c}g=g+32|0;c=d+4|0;e=e-4|0;i=(D[d+3|0]<>2]==(i|0))){C[a+24>>2]=14289;C[f+4>>2]=16209;d=c;h=C[f+4>>2];continue}break}d=c;g=0;break d}e=0;c=o;break c}k=i}C[f+4>>2]=16208;c=1;i=k}C[a+16>>2]=n;C[a+12>>2]=p;C[a+4>>2]=e;C[a>>2]=d;C[f+64>>2]=g;C[f+60>>2]=i;db:{eb:{fb:{if(C[f+44>>2]){break fb}if((n|0)==(u|0)){break eb}d=C[f+4>>2];if(d>>>0>16208){break eb}if((b|0)!=4|d>>>0<=16205){break fb}break eb}g=u-n|0;d=C[a+28>>2];o=C[d+56>>2];gb:{if(!o){h=1;o=Fe[C[a+32>>2]](C[a+40>>2],1<>2],1)|0;C[d+56>>2]=o;if(!o){break gb}}e=C[d+44>>2];if(!e){C[d+48>>2]=0;C[d+52>>2]=0;e=1<>2];C[d+44>>2]=e}hb:{if(e>>>0<=g>>>0){jf(o,p-e|0,e);C[d+52>>2]=0;break hb}h=e;e=C[d+52>>2];k=h-e|0;h=k>>>0>>0;j=e+o|0;e=h?k:g;jf(j,p-g|0,e);if(h){g=g-e|0;jf(C[d+56>>2],p-g|0,g);C[d+52>>2]=g;break hb}h=0;g=e+C[d+52>>2]|0;k=g;g=C[d+44>>2];C[d+52>>2]=(k|0)!=(g|0)?k:0;k=g;g=C[d+48>>2];if(k>>>0<=g>>>0){break gb}C[d+48>>2]=e+g;break gb}C[d+48>>2]=C[d+44>>2];h=0}if(h){break db}n=C[a+16>>2];e=C[a+4>>2]}C[a+8>>2]=C[a+8>>2]+(J-e|0);d=u-n|0;C[a+20>>2]=d+C[a+20>>2];C[f+32>>2]=d+C[f+32>>2];if(!(!(D[f+12|0]&4)|(n|0)==(u|0))){g=C[a+12>>2]-d|0;h=C[f+28>>2];ib:{if(C[f+20>>2]){d=Vg(h,g,d);break ib}d=Tj(h,g,d)}C[f+28>>2]=d;C[a+48>>2]=d}d=a;a=C[f+4>>2];C[d+44>>2]=((C[f+64>>2]+((C[f+8>>2]!=0)<<6)|0)+(((a|0)==16191)<<7)|0)+((a|0)==16199?256:((a|0)==16194)<<8);a=c?c:-5;y=(b|0)==4?a:(e|0)==(J|0)?(n|0)==(u|0)?a:c:c;break a}C[f+4>>2]=16210}y=-4}Ce=s+16|0;return y}function jC(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;H=g^255;a:{b:{c:{d:{e:{f:{g:{h:{g=C[a+4>>2];switch(D[g+9|0]-2|0){case 2:break f;case 0:break h;default:break g}}i:{switch(c-1|0){case 1:break b;case 3:break c;case 7:break d;case 0:break i;default:break e}}c=0;J=C[b+12>>2];if(!J){break a}k=C[a+16>>2]/2|0;i=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];L=b&3;a=(b+3|0)/4|0;K=k-b<<1;j:while(1){J=J-1|0;k:{l:{m:{n:{o:{switch(L-1|0){case 0:A=D[g+30|0];q=C[(A<<2)+381104>>2];r=D[g+29|0];o=C[(r<<2)+381104>>2];j=D[g+28|0];p=C[(j<<2)+381104>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];F=D[g+34|0];w=F;u=A;y=D[g+33|0];x=y;k=r;z=D[g+32|0];G=z;l=j;n=a;break l;case 1:A=D[g+30|0];q=C[(A<<2)+381104>>2];r=D[g+29|0];o=C[(r<<2)+381104>>2];j=D[g+28|0];p=C[(j<<2)+381104>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];F=D[g+34|0];w=F;u=A;y=D[g+33|0];x=y;k=r;z=D[g+32|0];G=z;l=j;n=a;break m;case 2:A=D[g+30|0];q=C[(A<<2)+381104>>2];r=D[g+29|0];o=C[(r<<2)+381104>>2];j=D[g+28|0];p=C[(j<<2)+381104>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];F=D[g+34|0];w=F;u=A;y=D[g+33|0];x=y;k=r;z=D[g+32|0];G=z;l=j;n=a;break n;default:break o}}u=D[g+30|0];q=C[(u<<2)+381104>>2];k=D[g+29|0];o=C[(k<<2)+381104>>2];l=D[g+28|0];p=C[(l<<2)+381104>>2];m=C[g+24>>2];w=D[g+34|0];v=C[g+20>>2];x=D[g+33|0];t=C[g+16>>2];G=D[g+32|0];s=C[g+12>>2];n=a;h=0;break k}h=1;break k}h=2;break k}h=3}while(1){p:{switch(h|0){case 0:b=E[i>>1];y=x&255;r=k&255;z=G&255;j=l&255;F=w&255;A=u&255;B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<>1];B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<>1];B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<>1];B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<1){n=b;break q}i=i+K|0;if(J){continue j}break a}h=0;continue}}}c=_e(4);break a}r:{switch(c-1|0){case 0:c=0;v=C[b+12>>2];if(!v){break a}n=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(n,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];A=b&3;a=(b+3|0)/4|0;r=n-b<<2;s:while(1){v=v-1|0;t:{u:{v:{w:{x:{switch(A-1|0){case 0:u=D[g+30|0];q=C[(u<<2)+381104>>2];k=D[g+29|0];o=C[(k<<2)+381104>>2];w=D[g+28|0];p=C[(w<<2)+381104>>2];x=D[g+34|0];t=x;s=u;l=D[g+33|0];z=l;y=k;G=D[g+32|0];F=G;n=w;m=a;break u;case 1:u=D[g+30|0];q=C[(u<<2)+381104>>2];k=D[g+29|0];o=C[(k<<2)+381104>>2];w=D[g+28|0];p=C[(w<<2)+381104>>2];x=D[g+34|0];t=x;s=u;l=D[g+33|0];z=l;y=k;G=D[g+32|0];F=G;n=w;m=a;break v;case 2:u=D[g+30|0];q=C[(u<<2)+381104>>2];k=D[g+29|0];o=C[(k<<2)+381104>>2];w=D[g+28|0];p=C[(w<<2)+381104>>2];x=D[g+34|0];t=x;s=u;l=D[g+33|0];z=l;y=k;G=D[g+32|0];F=G;n=w;m=a;break w;default:break x}}s=D[g+30|0];q=C[(s<<2)+381104>>2];y=D[g+29|0];o=C[(y<<2)+381104>>2];n=D[g+28|0];p=C[(n<<2)+381104>>2];t=D[g+34|0];z=D[g+33|0];F=D[g+32|0];m=a;h=0;break t}h=1;break t}h=2;break t}h=3}while(1){y:{switch(h|0){case 0:b=C[i>>2];l=z&255;k=y&255;G=F&255;w=n&255;x=t&255;u=s&255;C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<>2];C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<>2];C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<>2];C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<1){m=b;break z}i=i+r|0;if(v){continue s}break a}h=0;continue}};default:c=0;q=C[b+12>>2];if(!q){break a}k=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];l=b&3;a=(b+3|0)/4|0;k=k-b<<2;A:while(1){q=q-1|0;B:{C:{D:{E:{F:{switch(l-1|0){case 0:o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];n=e>>>o<>>m<>>t<>>o<>>m<>>t<>>o<>>m<>>t<>>t<>>o<>>m<>2]=F|(n|C[g+24>>2]);j=j+4|0;i=1;continue;case 1:C[j>>2]=C[g+24>>2]|n|F;j=j+4|0;i=2;continue;case 2:C[j>>2]=C[g+24>>2]|n|F;j=j+4|0;i=3;continue;default:break G}}C[j>>2]=C[g+24>>2]|n|F;b=h-1|0;j=j+4|0;H:{if((h|0)>1){h=b;break H}j=j+k|0;if(q){continue A}break a}i=0;continue}};case 7:c=0;t=C[b+12>>2];if(!t){break a}u=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(u,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];A=b&3;a=(b+3|0)/4|0;r=u-b<<2;I:while(1){t=t-1|0;J:{K:{L:{M:{N:{switch(A-1|0){case 0:k=D[g+30|0];q=C[(k<<2)+381104>>2];l=D[g+29|0];o=C[(l<<2)+381104>>2];G=D[g+28|0];p=C[(G<<2)+381104>>2];w=D[g+34|0];s=w;z=k;J=D[g+33|0];y=J;F=l;n=D[g+32|0];u=n;x=G;m=a;break K;case 1:k=D[g+30|0];q=C[(k<<2)+381104>>2];l=D[g+29|0];o=C[(l<<2)+381104>>2];G=D[g+28|0];p=C[(G<<2)+381104>>2];w=D[g+34|0];s=w;z=k;J=D[g+33|0];y=J;F=l;n=D[g+32|0];u=n;x=G;m=a;break L;case 2:k=D[g+30|0];q=C[(k<<2)+381104>>2];l=D[g+29|0];o=C[(l<<2)+381104>>2];G=D[g+28|0];p=C[(G<<2)+381104>>2];w=D[g+34|0];s=w;z=k;J=D[g+33|0];y=J;F=l;n=D[g+32|0];u=n;x=G;m=a;break M;default:break N}}z=D[g+30|0];q=C[(z<<2)+381104>>2];F=D[g+29|0];o=C[(F<<2)+381104>>2];x=D[g+28|0];p=C[(x<<2)+381104>>2];s=D[g+34|0];y=D[g+33|0];u=D[g+32|0];m=a;h=0;break J}h=1;break J}h=2;break J}h=3}while(1){O:{switch(h|0){case 0:b=C[i>>2];n=u&255;k=D[((b&C[g+12>>2])>>>n|0)+p|0];k=((I(k,H)>>>0)/255|0)+((I(d,k)>>>0)/255|0)|0;G=x&255;w=C[g+24>>2]|(k>>>0>=255?255:k)>>>G<>2])>>>J|0)+o|0];k=((I(k,H)>>>0)/255|0)+((I(e,k)>>>0)/255|0)|0;l=F&255;h=w|(k>>>0>=255?255:k)>>>l<>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;k=z&255;C[i>>2]=h|(b>>>0>=255?255:b)>>>k<>2];h=D[((b&C[g+12>>2])>>>n|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;j=C[g+24>>2]|(h>>>0>=255?255:h)>>>G<>2])>>>J|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&C[g+20>>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;C[i>>2]=j|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>k<>2];h=D[((b&C[g+12>>2])>>>n|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;j=C[g+24>>2]|(h>>>0>=255?255:h)>>>G<>2])>>>J|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&C[g+20>>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;C[i>>2]=j|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>k<>2];h=D[((b&C[g+12>>2])>>>n|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;j=C[g+24>>2]|(h>>>0>=255?255:h)>>>G<>2])>>>J|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&C[g+20>>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;C[i>>2]=j|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>k<1){m=b;break P}i=i+r|0;if(t){continue I}break a}h=0;continue}};case 3:c=0;s=C[b+12>>2];if(!s){break a}l=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(l,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];G=b&3;a=(b+3|0)/4|0;l=l-b<<2;Q:while(1){s=s-1|0;R:{S:{T:{U:{V:{switch(G-1|0){case 0:u=D[g+30|0];h=C[(u<<2)+381104>>2];k=D[g+29|0];q=C[(k<<2)+381104>>2];x=D[g+28|0];v=C[(x<<2)+381104>>2];m=D[g+34|0];z=m;y=u;p=D[g+33|0];F=p;n=k;o=D[g+32|0];J=o;w=x;t=a;break S;case 1:u=D[g+30|0];h=C[(u<<2)+381104>>2];k=D[g+29|0];q=C[(k<<2)+381104>>2];x=D[g+28|0];v=C[(x<<2)+381104>>2];m=D[g+34|0];z=m;y=u;p=D[g+33|0];F=p;n=k;o=D[g+32|0];J=o;w=x;t=a;break T;case 2:u=D[g+30|0];h=C[(u<<2)+381104>>2];k=D[g+29|0];q=C[(k<<2)+381104>>2];x=D[g+28|0];v=C[(x<<2)+381104>>2];m=D[g+34|0];z=m;y=u;p=D[g+33|0];F=p;n=k;o=D[g+32|0];J=o;w=x;t=a;break U;default:break V}}y=D[g+30|0];h=C[(y<<2)+381104>>2];n=D[g+29|0];q=C[(n<<2)+381104>>2];w=D[g+28|0];v=C[(w<<2)+381104>>2];z=D[g+34|0];F=D[g+33|0];J=D[g+32|0];t=a;i=0;break R}i=1;break R}i=2;break R}i=3}while(1){W:{switch(i|0){case 0:b=C[j>>2];p=F&255;k=n&255;o=J&255;x=w&255;m=z&255;u=y&255;C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<>2];C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<>2];C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<>2];C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<1){t=b;break X}j=j+l|0;if(s){continue Q}break a}i=0;continue}};case 1:break r}}c=0;v=C[b+12>>2];if(!v){break a}n=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(n,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];G=b&3;a=(b+3|0)/4|0;A=n-b<<2;Y:while(1){v=v-1|0;Z:{_:{$:{aa:{ba:{switch(G-1|0){case 0:m=D[g+30|0];h=C[(m<<2)+381104>>2];w=D[g+29|0];q=C[(w<<2)+381104>>2];l=D[g+28|0];o=C[(l<<2)+381104>>2];k=D[g+34|0];t=k;s=m;x=D[g+33|0];z=x;y=w;u=D[g+32|0];F=u;n=l;p=a;break _;case 1:m=D[g+30|0];h=C[(m<<2)+381104>>2];w=D[g+29|0];q=C[(w<<2)+381104>>2];l=D[g+28|0];o=C[(l<<2)+381104>>2];k=D[g+34|0];t=k;s=m;x=D[g+33|0];z=x;y=w;u=D[g+32|0];F=u;n=l;p=a;break $;case 2:m=D[g+30|0];h=C[(m<<2)+381104>>2];w=D[g+29|0];q=C[(w<<2)+381104>>2];l=D[g+28|0];o=C[(l<<2)+381104>>2];k=D[g+34|0];t=k;s=m;x=D[g+33|0];z=x;y=w;u=D[g+32|0];F=u;n=l;p=a;break aa;default:break ba}}s=D[g+30|0];h=C[(s<<2)+381104>>2];y=D[g+29|0];q=C[(y<<2)+381104>>2];n=D[g+28|0];o=C[(n<<2)+381104>>2];t=D[g+34|0];z=D[g+33|0];F=D[g+32|0];p=a;i=0;break Z}i=1;break Z}i=2;break Z}i=3}while(1){ca:{switch(i|0){case 0:b=C[j>>2];x=z&255;k=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;w=y&255;m=(k>>>0>=255?255:k)>>>w<>2])>>>u|0)+o|0]+d|0;l=n&255;r=C[g+24>>2]|(m|(k>>>0>=255?255:k)>>>l<>2])>>>k|0)+h|0]+f|0;m=s&255;C[j>>2]=r|(b>>>0>=255?255:b)>>>m<>2];r=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;J=(r>>>0>=255?255:r)>>>w<>2])>>>u|0)+o|0]+d|0;b=D[((b&C[g+20>>2])>>>k|0)+h|0]+f|0;C[j>>2]=C[g+24>>2]|(J|(r>>>0>=255?255:r)>>>l<>>0>=255?255:b)>>>m<>2];r=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;J=(r>>>0>=255?255:r)>>>w<>2])>>>u|0)+o|0]+d|0;b=D[((b&C[g+20>>2])>>>k|0)+h|0]+f|0;C[j>>2]=C[g+24>>2]|(J|(r>>>0>=255?255:r)>>>l<>>0>=255?255:b)>>>m<>2];r=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;J=(r>>>0>=255?255:r)>>>w<>2])>>>u|0)+o|0]+d|0;b=D[((b&C[g+20>>2])>>>k|0)+h|0]+f|0;C[j>>2]=C[g+24>>2]|(J|(r>>>0>=255?255:r)>>>l<>>0>=255?255:b)>>>m<1){p=b;break da}j=j+A|0;if(v){continue Y}break a}i=0;continue}}}c=0;q=C[b+12>>2];if(!q){break a}k=C[a+16>>2]/2|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];l=b&3;a=(b+3|0)/4|0;k=k-b<<1;ea:while(1){q=q-1|0;fa:{ga:{ha:{ia:{ja:{switch(l-1|0){case 0:z=C[g+24>>2];o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];t=D[g+30|0];s=D[g+34|0];n=z|(e>>>o<>>m<>>t<>2];o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];t=D[g+30|0];s=D[g+34|0];n=z|(e>>>o<>>m<>>t<>2];o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];t=D[g+30|0];s=D[g+34|0];n=z|(e>>>o<>>m<>>t<>2];s=D[g+34|0];t=D[g+30|0];p=D[g+33|0];o=D[g+29|0];v=D[g+32|0];m=D[g+28|0];h=a;i=0;break fa}i=1;break fa}i=2;break fa}i=3}while(1){ka:{switch(i|0){case 0:n=e>>>o<>>m<>>t<>1]=n;j=j+2|0;i=1;continue;case 1:B[j>>1]=n;j=j+2|0;i=2;continue;case 2:B[j>>1]=n;j=j+2|0;i=3;continue;default:break ka}}B[j>>1]=n;b=h-1|0;j=j+2|0;la:{if((h|0)>1){h=b;break la}j=j+k|0;if(q){continue ea}break a}i=0;continue}}}c=0;F=C[b+12>>2];if(!F){break a}k=C[a+16>>2]/2|0;i=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];L=b&3;a=(b+3|0)/4|0;K=k-b<<1;ma:while(1){F=F-1|0;na:{oa:{pa:{qa:{ra:{switch(L-1|0){case 0:y=D[g+30|0];q=C[(y<<2)+381104>>2];l=D[g+29|0];o=C[(l<<2)+381104>>2];G=D[g+28|0];p=C[(G<<2)+381104>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];A=D[g+34|0];n=A;J=y;r=D[g+33|0];w=r;u=l;j=D[g+32|0];x=j;k=G;z=a;break oa;case 1:y=D[g+30|0];q=C[(y<<2)+381104>>2];l=D[g+29|0];o=C[(l<<2)+381104>>2];G=D[g+28|0];p=C[(G<<2)+381104>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];A=D[g+34|0];n=A;J=y;r=D[g+33|0];w=r;u=l;j=D[g+32|0];x=j;k=G;z=a;break pa;case 2:y=D[g+30|0];q=C[(y<<2)+381104>>2];l=D[g+29|0];o=C[(l<<2)+381104>>2];G=D[g+28|0];p=C[(G<<2)+381104>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];A=D[g+34|0];n=A;J=y;r=D[g+33|0];w=r;u=l;j=D[g+32|0];x=j;k=G;z=a;break qa;default:break ra}}J=D[g+30|0];q=C[(J<<2)+381104>>2];u=D[g+29|0];o=C[(u<<2)+381104>>2];k=D[g+28|0];p=C[(k<<2)+381104>>2];m=C[g+24>>2];n=D[g+34|0];v=C[g+20>>2];w=D[g+33|0];t=C[g+16>>2];x=D[g+32|0];s=C[g+12>>2];z=a;h=0;break na}h=1;break na}h=2;break na}h=3}while(1){sa:{switch(h|0){case 0:b=E[i>>1];j=x&255;l=D[((b&s)>>>j|0)+p|0];l=((I(l,H)>>>0)/255|0)+((I(d,l)>>>0)/255|0)|0;G=k&255;h=(l>>>0>=255?255:l)>>>G<>>r|0)+o|0];l=((I(l,H)>>>0)/255|0)+((I(e,l)>>>0)/255|0)|0;M=l>>>0>=255?255:l;l=u&255;A=n&255;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;y=J&255;B[i>>1]=h|M>>>l<>>0>=255?255:b)>>>y<>1];h=D[((b&s)>>>j|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;M=(h>>>0>=255?255:h)>>>G<>>r|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[i>>1]=M|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>y<>1];h=D[((b&s)>>>j|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;M=(h>>>0>=255?255:h)>>>G<>>r|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[i>>1]=M|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>y<>1];h=D[((b&s)>>>j|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;M=(h>>>0>=255?255:h)>>>G<>>r|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[i>>1]=M|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>y<1){z=b;break ta}i=i+K|0;if(F){continue ma}break a}h=0;continue}}}c=0;n=C[b+12>>2];if(!n){break a}k=C[a+16>>2]/2|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];H=b&3;a=(b+3|0)/4|0;L=k-b<<1;ua:while(1){n=n-1|0;va:{wa:{xa:{ya:{za:{switch(H-1|0){case 0:l=D[g+30|0];p=C[(l<<2)+381104>>2];A=D[g+29|0];m=C[(A<<2)+381104>>2];r=D[g+28|0];v=C[(r<<2)+381104>>2];t=C[g+24>>2];s=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];q=D[g+34|0];J=q;w=l;h=D[g+33|0];u=h;x=A;i=D[g+32|0];k=i;G=r;F=a;break wa;case 1:l=D[g+30|0];p=C[(l<<2)+381104>>2];A=D[g+29|0];m=C[(A<<2)+381104>>2];r=D[g+28|0];v=C[(r<<2)+381104>>2];t=C[g+24>>2];s=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];q=D[g+34|0];J=q;w=l;h=D[g+33|0];u=h;x=A;i=D[g+32|0];k=i;G=r;F=a;break xa;case 2:l=D[g+30|0];p=C[(l<<2)+381104>>2];A=D[g+29|0];m=C[(A<<2)+381104>>2];r=D[g+28|0];v=C[(r<<2)+381104>>2];t=C[g+24>>2];s=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];q=D[g+34|0];J=q;w=l;h=D[g+33|0];u=h;x=A;i=D[g+32|0];k=i;G=r;F=a;break ya;default:break za}}w=D[g+30|0];p=C[(w<<2)+381104>>2];x=D[g+29|0];m=C[(x<<2)+381104>>2];G=D[g+28|0];v=C[(G<<2)+381104>>2];t=C[g+24>>2];J=D[g+34|0];s=C[g+20>>2];u=D[g+33|0];z=C[g+16>>2];k=D[g+32|0];y=C[g+12>>2];F=a;o=0;break va}o=1;break va}o=2;break va}o=3}while(1){Aa:{switch(o|0){case 0:b=E[j>>1];h=u&255;A=x&255;i=k&255;r=G&255;q=J&255;l=w&255;B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<>1];B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<>1];B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<>1];B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<1){F=b;break Ba}j=j+L|0;if(n){continue ua}break a}o=0;continue}}}c=0;J=C[b+12>>2];if(!J){break a}k=C[a+16>>2]/2|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];H=b&3;a=(b+3|0)/4|0;L=k-b<<1;Ca:while(1){J=J-1|0;Da:{Ea:{Fa:{Ga:{Ha:{switch(H-1|0){case 0:n=D[g+30|0];h=C[(n<<2)+381104>>2];A=D[g+29|0];q=C[(A<<2)+381104>>2];r=D[g+28|0];o=C[(r<<2)+381104>>2];p=C[g+24>>2];m=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];s=D[g+34|0];w=s;u=n;t=D[g+33|0];x=t;k=A;v=D[g+32|0];G=v;l=r;F=a;break Ea;case 1:n=D[g+30|0];h=C[(n<<2)+381104>>2];A=D[g+29|0];q=C[(A<<2)+381104>>2];r=D[g+28|0];o=C[(r<<2)+381104>>2];p=C[g+24>>2];m=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];s=D[g+34|0];w=s;u=n;t=D[g+33|0];x=t;k=A;v=D[g+32|0];G=v;l=r;F=a;break Fa;case 2:n=D[g+30|0];h=C[(n<<2)+381104>>2];A=D[g+29|0];q=C[(A<<2)+381104>>2];r=D[g+28|0];o=C[(r<<2)+381104>>2];p=C[g+24>>2];m=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];s=D[g+34|0];w=s;u=n;t=D[g+33|0];x=t;k=A;v=D[g+32|0];G=v;l=r;F=a;break Ga;default:break Ha}}u=D[g+30|0];h=C[(u<<2)+381104>>2];k=D[g+29|0];q=C[(k<<2)+381104>>2];l=D[g+28|0];o=C[(l<<2)+381104>>2];p=C[g+24>>2];w=D[g+34|0];m=C[g+20>>2];x=D[g+33|0];z=C[g+16>>2];G=D[g+32|0];y=C[g+12>>2];F=a;i=0;break Da}i=1;break Da}i=2;break Da}i=3}while(1){Ia:{switch(i|0){case 0:b=E[j>>1];t=x&255;n=D[((b&z)>>>t|0)+q|0]+e|0;A=k&255;s=(n>>>0>=255?255:n)>>>A<>>v|0)+o|0]+d|0;r=l&255;i=s|(n>>>0>=255?255:n)>>>r<>>s|0)+h|0]+f|0;n=u&255;B[j>>1]=i|(b>>>0>=255?255:b)>>>n<>1];i=D[((b&z)>>>t|0)+q|0]+e|0;K=(i>>>0>=255?255:i)>>>A<>>v|0)+o|0]+d|0;b=D[((b&m)>>>s|0)+h|0]+f|0;B[j>>1]=K|(i>>>0>=255?255:i)>>>r<>>0>=255?255:b)>>>n<>1];i=D[((b&z)>>>t|0)+q|0]+e|0;K=(i>>>0>=255?255:i)>>>A<>>v|0)+o|0]+d|0;b=D[((b&m)>>>s|0)+h|0]+f|0;B[j>>1]=K|(i>>>0>=255?255:i)>>>r<>>0>=255?255:b)>>>n<>1];i=D[((b&z)>>>t|0)+q|0]+e|0;K=(i>>>0>=255?255:i)>>>A<>>v|0)+o|0]+d|0;b=D[((b&m)>>>s|0)+h|0]+f|0;B[j>>1]=K|(i>>>0>=255?255:i)>>>r<>>0>=255?255:b)>>>n<1){F=b;break Ja}j=j+L|0;if(J){continue Ca}break a}i=0;continue}}}return c|0}function cF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=Ce-32|0;Ce=f;j=C[a+56>>2];g=C[a+40>>2];i=D[g+9|0];d=C[a+44>>2];q=C[d+24>>2];k=q?D[a+63|0]:0;s=C[a+36>>2];c=C[a+20>>2];t=C[a+16>>2];b=C[a>>2];o=C[a+28>>2];e=C[a+24>>2];l=C[g+24>>2]^-1;h=l&j;j=C[d>>2];p=C[g>>2];a:{b:{c:{d:{e:{f:{r=D[d+9|0];if(!((i|0)!=4|(r|0)!=4)){m=C[g+12>>2];if((m|0)!=C[d+12>>2]){break f}n=C[g+16>>2];if((n|0)!=C[d+16>>2]){break f}u=C[g+20>>2];if((u|0)!=C[d+20>>2]){break f}if(!q){break b}if(!o){break a}j=D[a+63|0]<>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=7;continue;default:break j}}e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}e=a-1|0;b=b+4|0;c=c+4|0;k:{if((a|0)>1){a=e;break k}c=c+s|0;b=b+t|0;if(o){continue g}break a}e=0;continue}}}q=(j|0)==386930691;a=(p|0)==386930691;if((p|0)!=386930691){break e}if((j|0)==386930691){break d}break e}if(!((p|0)==372711428|(j|0)==372711428)){Ei(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!o){break a}d=e&7;j=(e+7|0)/8|0;l:while(1){o=o-1|0;a=j;m:{n:{switch(d-1|0){default:e=0;break m;case 0:e=7;break m;case 1:e=6;break m;case 2:e=5;break m;case 3:e=4;break m;case 4:e=3;break m;case 5:e=2;break m;case 6:break n}}e=1}while(1){o:{switch(e|0){case 0:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=7;continue;default:break o}}if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}e=a-1|0;c=c+4|0;b=b+4|0;p:{if((a|0)>1){a=e;break p}c=c+s|0;b=b+t|0;if(o){continue l}break a}e=0;continue}}}q=(j|0)==386930691;a=(p|0)==386930691}if((p|0)!=390076419|(j|0)!=390076419){break c}}if(!o){break a}l=e&7;j=h>>>8|0;d=h>>>16|0;k=(e+7|0)/8|0;g=h&255;q:while(1){o=o-1|0;a=k;r:{s:{switch(l-1|0){default:e=0;break r;case 0:e=7;break r;case 1:e=6;break r;case 2:e=5;break r;case 3:e=4;break r;case 4:e=3;break r;case 5:e=2;break r;case 6:break s}}e=1}while(1){t:{switch(e|0){case 0:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=7;continue;default:break t}}e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}e=a-1|0;c=c+3|0;b=b+3|0;u:{if((a|0)>1){a=e;break u}c=c+s|0;b=b+t|0;if(o){continue q}break a}e=0;continue}}}if((j|0)==390076419&a|(p|0)==390076419&q){if(!o){break a}l=e&7;j=h>>>8|0;d=h>>>16|0;k=(e+7|0)/8|0;g=h&255;v:while(1){o=o-1|0;a=k;w:{x:{switch(l-1|0){default:e=0;break w;case 0:e=7;break w;case 1:e=6;break w;case 2:e=5;break w;case 3:e=4;break w;case 4:e=3;break w;case 5:e=2;break w;case 6:break x}}e=1}while(1){y:{switch(e|0){case 0:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break y}}e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}e=a-1|0;c=c+3|0;b=b+3|0;z:{if((a|0)>1){a=e;break z}c=c+s|0;b=b+t|0;if(o){continue v}break a}e=0;continue}}}A:{if(!((i|0)!=4|(r|0)!=3)){if((p|0)==372711428){break A}Ei(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!o){break a}j=e&7;k=(e+7|0)/8|0;B:while(1){o=o-1|0;a=k;C:{D:{switch(j-1|0){default:e=0;break C;case 0:e=7;break C;case 1:e=6;break C;case 2:e=5;break C;case 3:e=4;break C;case 4:e=3;break C;case 5:e=2;break C;case 6:break D}}e=1}while(1){E:{switch(e|0){case 0:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break E}}if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}e=a-1|0;c=c+3|0;b=b+4|0;F:{if((a|0)>1){a=e;break F}c=c+s|0;b=b+t|0;if(o){continue B}break a}e=0;continue}}}if((i|0)!=3|(r|0)!=4|(j|0)==372711428){break A}Ei(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!o){break a}l=e&7;d=h>>>8|0;g=h>>>16|0;j=(e+7|0)/8|0;h=h&255;G:while(1){o=o-1|0;a=j;H:{I:{switch(l-1|0){default:e=0;break H;case 0:e=7;break H;case 1:e=6;break H;case 2:e=5;break H;case 3:e=4;break H;case 4:e=3;break H;case 5:e=2;break H;case 6:break I}}e=1}while(1){J:{switch(e|0){case 0:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=7;continue;default:break J}}if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}e=a-1|0;c=c+4|0;b=b+3|0;K:{if((a|0)>1){a=e;break K}c=c+s|0;b=b+t|0;if(o){continue G}break a}e=0;continue}}}if(!o){break a}u=e&7;j=(e+7|0)/8|0;p=i-1|0;q=r-1|0;while(1){o=o-1|0;e=j;L:{M:{switch(u-1|0){default:a=7;break L;case 0:a=6;break L;case 1:a=5;break L;case 2:a=4;break L;case 3:a=3;break L;case 4:a=2;break L;case 5:a=1;break L;case 6:break M}}a=0}while(1){N:{O:{switch(a|0){case 0:a=0;P:{Q:{switch(p|0){case 0:a=D[b|0];break P;case 1:a=E[b>>1];break P;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break P;case 3:break Q;default:break P}}a=C[b>>2]}R:{if((h|0)==(a&l)){break R}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];S:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break R;case 3:break S;default:break R}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break T;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break T;case 3:break U;default:break T}}a=C[b>>2]}V:{if((h|0)==(a&l)){break V}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];W:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break V;case 3:break W;default:break V}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break X;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break X;case 3:break Y;default:break X}}a=C[b>>2]}Z:{if((h|0)==(a&l)){break Z}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];_:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break Z;case 3:break _;default:break Z}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break $;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break $;case 3:break aa;default:break $}}a=C[b>>2]}ba:{if((h|0)==(a&l)){break ba}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];ca:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break ba;case 3:break ca;default:break ba}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break da;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break da;case 3:break ea;default:break da}}a=C[b>>2]}fa:{if((h|0)==(a&l)){break fa}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];ga:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break fa;case 3:break ga;default:break fa}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break ha;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break ha;case 3:break ia;default:break ha}}a=C[b>>2]}ja:{if((h|0)==(a&l)){break ja}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];ka:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break ja;case 3:break ka;default:break ja}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break la;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break la;case 3:break ma;default:break la}}a=C[b>>2]}na:{if((h|0)==(a&l)){break na}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];oa:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break na;case 3:break oa;default:break na}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break pa;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break pa;case 3:break qa;default:break pa}}a=C[b>>2]}ra:{if((h|0)==(a&l)){break ra}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];sa:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break ra;case 3:break sa;default:break ra}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=7;continue;default:break wa}}e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}e=a-1|0;b=b+4|0;c=c+4|0;xa:{if((a|0)>1){a=e;break xa}c=c+s|0;b=b+t|0;if(o){continue ta}break a}e=0;continue}}}Ce=f+32|0}function Ls(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,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,F=0,G=0,H=0,J=0,K=0,L=0,M=0;q=C[a+8>>2];a:{if(!(D[c|0]&2)){break a}if((mh(c)|0)>=0){break a}return-1}j=C[d>>2];i=C[a+4>>2];k=D[i+9|0];h=C[d+4>>2];l=C[c+16>>2];n=C[c+20>>2];m=C[a+52>>2];e=C[m+12>>2];b:{g=C[b+4>>2];c:{if(!g){break c}d:{switch(k-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=D[e|0]+d|0;e=D[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)!=(q|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=D[e|0]+d|0;e=D[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)!=(q|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=D[e|0]+d|0;e=D[e+1|0];g:{if(e){d=d+e|0;e=f+I(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(q|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=E[e>>1]+d|0;e=E[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)!=(q|0)){continue}break}g=g-1|0;if(g){continue}break}}j=(n+I(h,l)|0)+I(j,k)|0;d=D[m+79|0];i:{j:{k:{n=C[b>>2];if(!(!n&C[b+8>>2]==C[a+8>>2])){f=C[c+4>>2];a=D[f+9|0];if((d|0)==255){l:{switch(a-1|0){case 0:h=j-n|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+2|0;d=D[e|0]+d|0;a=D[e+1|0];m:{if(a){n:{if((d|0)>=(f|0)){break n}e=n-d|0;o:{if((e|0)<=0){e=0;b=a;break o}b=a-e|0;if((b|0)<=0){break n}}j=d+e|0;i=f-j|0;gf(h+j|0,e+g|0,(b|0)<(i|0)?b:i)}d=a+d|0;e=a+g|0;break m}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break};break b;case 1:h=j-(n<<1)|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+2|0;d=D[e|0]+d|0;a=D[e+1|0];p:{if(a){q:{if((d|0)>=(f|0)){break q}e=n-d|0;r:{if((e|0)<=0){e=0;b=a;break r}b=a-e|0;if((b|0)<=0){break q}}j=d+e|0;i=f-j|0;gf((j<<1)+h|0,g+(e<<1)|0,((b|0)<(i|0)?b:i)<<1)}d=a+d|0;e=g+(a<<1)|0;break p}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break};break b;case 2:h=I(n,-3)+j|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+2|0;d=D[e|0]+d|0;a=D[e+1|0];s:{if(a){t:{if((d|0)>=(f|0)){break t}e=n-d|0;u:{if((e|0)<=0){e=0;b=a;break u}b=a-e|0;if((b|0)<=0){break t}}j=d+e|0;i=f-j|0;gf(I(j,3)+h|0,g+I(e,3)|0,I((b|0)<(i|0)?b:i,3))}d=a+d|0;e=g+I(a,3)|0;break s}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break};break b;case 3:break l;default:break b}}h=j-(n<<2)|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+4|0;d=E[e>>1]+d|0;a=E[e+2>>1];v:{if(a){w:{if((d|0)>=(f|0)){break w}e=n-d|0;x:{if((e|0)<=0){e=0;b=a;break x}b=a-e|0;if((b|0)<=0){break w}}j=d+e|0;i=f-j|0;gf((j<<2)+h|0,g+(e<<2)|0,((b|0)<(i|0)?b:i)<<2)}d=a+d|0;e=g+(a<<2)|0;break v}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break}break b}y:{switch(a-2|0){case 0:z:{o=C[f+20>>2];h=C[f+16>>2];m=C[f+12>>2];a=o|(h|m);if((a|0)!=32767){if(!((h|0)==2016|(m|0)==2016)&(o|0)!=2016|(a|0)!=65535){break z}h=j-(n<<1)|0;k=n+C[b+8>>2]|0;j=C[b+12>>2];if((d|0)==128){while(1){g=0;while(1){i=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];A:{if(b){B:{if((g|0)>=(k|0)){break B}f=n-g|0;C:{if((f|0)<=0){f=0;d=b;break C}d=b-f|0;if((d|0)<=0){break B}}a=f+g|0;e=k-a|0;e=(d|0)<(e|0)?d:e;d=(a<<1)+h|0;f=i+(f<<1)|0;if((d^f)&3){if(!e){break B}if(e&1){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&63454)+(l&63454)>>>1|0)+(a&l&2081);d=d+2|0;f=f+2|0;a=e-1|0}else{a=e}if((e|0)==1){break B}while(1){e=E[d>>1];l=E[f>>1];B[d>>1]=((e&63454)+(l&63454)>>>1|0)+(e&l&2081);e=E[d+2>>1];l=E[f+2>>1];B[d+2>>1]=((e&63454)+(l&63454)>>>1|0)+(e&l&2081);d=d+4|0;f=f+4|0;a=a-2|0;if(a){continue}break}break B}if(f&3){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&63454)+(l&63454)>>>1|0)+(a&l&2081);e=e-1|0;f=f+2|0;d=d+2|0}D:{if(e>>>0<2){a=e;break D}a=e-2|0;if(!(a&2)){e=C[f>>2];l=C[d>>2];C[d>>2]=((e&l&136382497)+(e>>>1&2079292399)|0)+(l>>>1&2079292399);f=f+4|0;e=a;d=d+4|0}if(a>>>0<2){break D}while(1){a=C[f>>2];l=C[d>>2];C[d>>2]=((a&l&136382497)+(a>>>1&2079292399)|0)+(l>>>1&2079292399);a=C[f+4>>2];l=C[d+4>>2];C[d+4>>2]=((a&l&136382497)+(a>>>1&2079292399)|0)+(l>>>1&2079292399);d=d+8|0;f=f+8|0;e=e-4|0;a=e;if(e>>>0>1){continue}break}}if(!a){break B}e=d;a=E[d>>1];d=E[f>>1];B[e>>1]=((a&63454)+(d&63454)>>>1|0)+(a&d&2081)}g=b+g|0;e=i+(b<<1)|0;break A}e=i;if(!g){break b}}if((g|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;j=j-1|0;if(j){continue}break b}}i=d>>>3|0;while(1){a=0;while(1){g=e+2|0;a=D[e|0]+a|0;b=D[e+1|0];E:{if(b){F:{if((a|0)>=(k|0)){break F}d=n-a|0;G:{if((d|0)<=0){d=0;f=b;break G}f=b-d|0;if((f|0)<=0){break F}}e=a+d|0;m=k-e|0;m=(f|0)<(m|0)?f:m;if((m|0)<=0){break F}f=g+(d<<1)|0;d=(e<<1)+h|0;e=0;while(1){o=E[f>>1];p=(o<<16|o)&132184095;o=E[d>>1];o=(o<<16|o)&132184095;o=(I(i,p-o|0)>>>5|0)+o&132184095;B[d>>1]=o>>>16|o;d=d+2|0;f=f+2|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break E}e=g;if(!a){break b}}if((a|0)!=(q|0)){continue}break}h=h+l|0;j=j-1|0;if(j){continue}break}break b}if(!((h|0)==992|(m|0)==992)&(o|0)!=992){break z}h=j-(n<<1)|0;k=n+C[b+8>>2]|0;j=C[b+12>>2];if((d|0)==128){while(1){g=0;while(1){i=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];H:{if(b){I:{if((g|0)>=(k|0)){break I}f=n-g|0;J:{if((f|0)<=0){f=0;d=b;break J}d=b-f|0;if((d|0)<=0){break I}}a=f+g|0;e=k-a|0;e=(d|0)<(e|0)?d:e;d=(a<<1)+h|0;f=i+(f<<1)|0;if((d^f)&3){if(!e){break I}if(e&1){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&64478)+(l&64478)>>>1|0)+(a&l&1057);d=d+2|0;f=f+2|0;a=e-1|0}else{a=e}if((e|0)==1){break I}while(1){e=E[d>>1];l=E[f>>1];B[d>>1]=((e&64478)+(l&64478)>>>1|0)+(e&l&1057);e=E[d+2>>1];l=E[f+2>>1];B[d+2>>1]=((e&64478)+(l&64478)>>>1|0)+(e&l&1057);d=d+4|0;f=f+4|0;a=a-2|0;if(a){continue}break}break I}if(f&3){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&64478)+(l&64478)>>>1|0)+(a&l&1057);e=e-1|0;f=f+2|0;d=d+2|0}K:{if(e>>>0<2){a=e;break K}a=e-2|0;if(!(a&2)){e=C[f>>2];l=C[d>>2];C[d>>2]=((e&l&69272609)+(e>>>1&2112847343)|0)+(l>>>1&2112847343);f=f+4|0;e=a;d=d+4|0}if(a>>>0<2){break K}while(1){a=C[f>>2];l=C[d>>2];C[d>>2]=((a&l&69272609)+(a>>>1&2112847343)|0)+(l>>>1&2112847343);a=C[f+4>>2];l=C[d+4>>2];C[d+4>>2]=((a&l&69272609)+(a>>>1&2112847343)|0)+(l>>>1&2112847343);d=d+8|0;f=f+8|0;e=e-4|0;a=e;if(e>>>0>1){continue}break}}if(!a){break I}e=d;a=E[d>>1];d=E[f>>1];B[e>>1]=((a&64478)+(d&64478)>>>1|0)+(a&d&1057)}g=b+g|0;e=i+(b<<1)|0;break H}e=i;if(!g){break b}}if((g|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;j=j-1|0;if(j){continue}break b}}i=d>>>3|0;while(1){a=0;while(1){g=e+2|0;a=D[e|0]+a|0;b=D[e+1|0];L:{if(b){M:{if((a|0)>=(k|0)){break M}d=n-a|0;N:{if((d|0)<=0){d=0;f=b;break N}f=b-d|0;if((f|0)<=0){break M}}e=a+d|0;m=k-e|0;m=(f|0)<(m|0)?f:m;if((m|0)<=0){break M}f=g+(d<<1)|0;d=(e<<1)+h|0;e=0;while(1){o=E[f>>1];p=(o<<16|o)&65043487;o=E[d>>1];o=(o<<16|o)&65043487;o=(I(i,p-o|0)>>>5|0)+o&65043487;B[d>>1]=o>>>16|o;d=d+2|0;f=f+2|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break L}e=g;if(!a){break b}}if((a|0)!=(q|0)){continue}break}h=h+l|0;j=j-1|0;if(j){continue}break}break b}j=j-(n<<1)|0;F=n+C[b+8>>2]|0;r=C[b+12>>2];while(1){i=0;while(1){b=e+2|0;i=D[e|0]+i|0;a=D[e+1|0];O:{if(a){P:{if((i|0)>=(F|0)){break P}e=n-i|0;Q:{if((e|0)<=0){e=0;g=a;break Q}g=a-e|0;if((g|0)<=0){break P}}k=e+i|0;s=F-k|0;G=(g|0)<(s|0)?g:s;if((G|0)<=0){break P}g=b+(e<<1)|0;e=(k<<1)+j|0;J=D[f+30|0];v=C[(J<<2)+381104>>2];H=D[f+29|0];w=C[(H<<2)+381104>>2];K=D[f+28|0];u=C[(K<<2)+381104>>2];M=C[f+24>>2];s=D[f+34|0];y=D[f+33|0];p=D[f+32|0];k=0;while(1){x=E[g>>1];z=E[e>>1];t=D[u+((z&m)>>>p|0)|0];L=(I(d,D[u+((x&m)>>>p|0)|0]-t|0)>>>8|0)+t>>>K<>>y|0)|0];t=L|(I(d,D[w+((h&x)>>>y|0)|0]-t|0)>>>8|0)+t>>>H<>>s|0)|0];x=D[v+((o&z)>>>s|0)|0];B[e>>1]=t|(I(d,L-x|0)>>>8|0)+x>>>J<>2]|0;i=C[b+12>>2];while(1){j=0;while(1){b=e+2|0;j=D[e|0]+j|0;a=D[e+1|0];R:{if(a){S:{if((j|0)>=(l|0)){break S}e=n-j|0;T:{if((e|0)<=0){e=0;g=a;break T}g=a-e|0;if((g|0)<=0){break S}}h=e+j|0;m=l-h|0;v=(g|0)<(m|0)?g:m;if((v|0)<=0){break S}g=b+I(e,3)|0;e=I(h,3)+k|0;h=0;while(1){w=D[f+28|0];u=C[(w<<2)+381104>>2];r=C[f+12>>2];m=D[e|0]|(D[e+1|0]<<8|D[e+2|0]<<16);o=D[f+32|0];s=D[u+((r&m)>>>o|0)|0];z=D[f+29|0];G=C[(z<<2)+381104>>2];x=C[f+16>>2];y=D[f+33|0];p=D[G+((x&m)>>>y|0)|0];H=D[f+30|0];K=C[(H<<2)+381104>>2];J=C[f+20>>2];t=J&m;m=D[f+34|0];F=D[K+(t>>>m|0)|0];t=r;r=D[g|0]|(D[g+1|0]<<8|D[g+2|0]<<16);m=C[f+24>>2]|s+(I(d,D[u+((t&r)>>>o|0)|0]-s|0)>>>8|0)>>>w<>>y|0)|0]-p|0)>>>8|0)>>>z<>>m|0)|0]-F|0)>>>8|0)>>>H<>>16;A[e+1|0]=m>>>8;e=e+3|0;g=g+3|0;h=h+1|0;if((v|0)!=(h|0)){continue}break}}j=a+j|0;e=b+I(a,3)|0;break R}e=b;if(!j){break b}}if((j|0)!=(q|0)){continue}break}k=C[c+16>>2]+k|0;i=i-1|0;if(i){continue}break};break b;case 2:break y;default:break b}}i=C[f+20>>2];a=C[f+16>>2];g=C[f+12>>2];if(!((i|(a|g))!=16777215|!((a|0)==65280|(g|0)==65280)&(i|0)!=65280)){k=j-(n<<2)|0;i=n+C[b+8>>2]|0;j=C[b+12>>2];if((d|0)!=128){break k}while(1){g=0;while(1){b=e+4|0;g=E[e>>1]+g|0;a=E[e+2>>1];U:{if(a){V:{if((g|0)>=(i|0)){break V}d=n-g|0;W:{if((d|0)<=0){d=0;f=a;break W}f=a-d|0;if((f|0)<=0){break V}}e=d+g|0;h=i-e|0;h=(f|0)<(h|0)?f:h;if((h|0)<=0){break V}f=b+(d<<2)|0;d=(e<<2)+k|0;if((h|0)!=1){l=h&-2;e=0;while(1){m=C[d>>2];o=C[f>>2];C[d>>2]=((m&16711422)+(o&16711422)>>>1|0)+(m&o&65793);m=C[d+4>>2];o=C[f+4>>2];C[d+4>>2]=((m&16711422)+(o&16711422)>>>1|0)+(m&o&65793);d=d+8|0;f=f+8|0;e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(!(h&1)){break V}p=d;d=C[d>>2];e=C[f>>2];C[p>>2]=((d&16711422)+(e&16711422)>>>1|0)+(d&e&65793)}g=a+g|0;e=b+(a<<2)|0;break U}e=b;if(!g){break b}}if((g|0)!=(q|0)){continue}break}k=C[c+16>>2]+k|0;j=j-1|0;if(j){continue}break}break b}j=j-(n<<2)|0;s=n+C[b+8>>2]|0;h=C[b+12>>2];while(1){l=0;while(1){b=e+4|0;l=E[e>>1]+l|0;a=E[e+2>>1];X:{if(a){Y:{if((l|0)>=(s|0)){break Y}e=n-l|0;Z:{if((e|0)<=0){e=0;g=a;break Z}g=a-e|0;if((g|0)<=0){break Y}}i=e+l|0;k=s-i|0;x=(g|0)<(k|0)?g:k;if((x|0)<=0){break Y}g=b+(e<<2)|0;e=(i<<2)+j|0;z=D[f+30|0];y=C[(z<<2)+381104>>2];G=D[f+29|0];p=C[(G<<2)+381104>>2];J=D[f+28|0];F=C[(J<<2)+381104>>2];i=D[f+34|0];m=D[f+33|0];o=D[f+32|0];k=0;while(1){u=C[f+12>>2];r=C[e>>2];v=D[F+((u&r)>>>o|0)|0];H=C[f+16>>2];w=D[p+((H&r)>>>m|0)|0];K=C[f+20>>2];r=D[y+((K&r)>>>i|0)|0];t=u;u=C[g>>2];C[e>>2]=C[f+24>>2]|v+(I(d,D[F+((t&u)>>>o|0)|0]-v|0)>>>8|0)>>>J<>>m|0)|0]-w|0)>>>8|0)>>>G<>>i|0)|0]-r|0)>>>8|0)>>>z<>2]+j|0;h=h-1|0;if(h){continue}break}break b}if((d|0)==255){_:{switch(k-1|0){case 0:a=C[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=D[e|0]+d|0;e=D[e+1|0];$:{if(e){gf(d+j|0,b,e);d=d+e|0;e=b+e|0;break $}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break};break b;case 1:a=C[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=D[e|0]+d|0;e=D[e+1|0];aa:{if(e){g=e<<1;gf((d<<1)+j|0,b,g);d=d+e|0;e=b+g|0;break aa}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break};break b;case 2:a=C[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=D[e|0]+d|0;e=D[e+1|0];ba:{if(e){g=I(e,3);gf(I(d,3)+j|0,b,g);d=d+e|0;e=b+g|0;break ba}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break};break b;case 3:break _;default:break b}}a=C[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=E[e>>1]+d|0;e=E[e+2>>1];ca:{if(e){g=e<<2;gf((d<<2)+j|0,b,g);d=d+e|0;e=b+g|0;break ca}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break}break b}da:{switch(k-2|0){case 0:ea:{m=C[i+20>>2];f=C[i+16>>2];n=C[i+12>>2];a=m|(f|n);if((a|0)!=32767){if(!((f|0)==2016|(n|0)==2016)&(m|0)!=2016|(a|0)!=65535){break ea}k=C[b+12>>2];if((d|0)==128){while(1){b=0;while(1){a=e+2|0;b=D[e|0]+b|0;i=D[e+1|0];fa:{if(i){d=(b<<1)+j|0;ga:{if((a^d)&3){ha:{if(!(i&1)){f=a;e=i;break ha}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&63454)+(f&63454)>>>1|0)+(f&g&2081);d=d+2|0;f=e+4|0;e=i-1|0}if((i|0)==1){break ga}while(1){g=E[d>>1];h=E[f>>1];B[d>>1]=((g&63454)+(h&63454)>>>1|0)+(g&h&2081);g=E[d+2>>1];h=E[f+2>>1];B[d+2>>1]=((g&63454)+(h&63454)>>>1|0)+(g&h&2081);d=d+4|0;f=f+4|0;e=e-2|0;if(e){continue}break}break ga}ia:{if(!(a&3)){f=a;g=i;break ia}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&63454)+(f&63454)>>>1|0)+(f&g&2081);d=d+2|0;f=e+4|0;g=i-1|0}ja:{if(g>>>0<2){e=g;break ja}e=g-2|0;if(!(e&2)){g=C[f>>2];h=C[d>>2];C[d>>2]=((g&h&136382497)+(g>>>1&2079292399)|0)+(h>>>1&2079292399);f=f+4|0;g=e;d=d+4|0}if(e>>>0<2){break ja}while(1){e=C[f>>2];h=C[d>>2];C[d>>2]=((e&h&136382497)+(e>>>1&2079292399)|0)+(h>>>1&2079292399);e=C[f+4>>2];h=C[d+4>>2];C[d+4>>2]=((e&h&136382497)+(e>>>1&2079292399)|0)+(h>>>1&2079292399);d=d+8|0;f=f+8|0;g=g-4|0;e=g;if(e>>>0>1){continue}break}}if(!e){break ga}g=d;d=E[d>>1];e=E[f>>1];B[g>>1]=((d&63454)+(e&63454)>>>1|0)+(d&e&2081)}b=b+i|0;e=a+(i<<1)|0;break fa}e=a;if(!b){break b}}if((b|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;k=k-1|0;if(k){continue}break b}}i=d>>>3|0;while(1){g=0;while(1){a=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];ka:{if(b){d=(g<<1)+j|0;e=0;f=a;while(1){h=E[f>>1];p=(h<<16|h)&132184095;h=E[d>>1];h=(h<<16|h)&132184095;h=(I(i,p-h|0)>>>5|0)+h&132184095;B[d>>1]=h>>>16|h;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)!=(q|0)){continue}break}j=j+l|0;k=k-1|0;if(k){continue}break}break b}if(!((f|0)==992|(n|0)==992)&(m|0)!=992){break ea}k=C[b+12>>2];if((d|0)==128){while(1){b=0;while(1){a=e+2|0;b=D[e|0]+b|0;i=D[e+1|0];la:{if(i){d=(b<<1)+j|0;ma:{if((a^d)&3){na:{if(!(i&1)){f=a;e=i;break na}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&64478)+(f&64478)>>>1|0)+(f&g&1057);d=d+2|0;f=e+4|0;e=i-1|0}if((i|0)==1){break ma}while(1){g=E[d>>1];h=E[f>>1];B[d>>1]=((g&64478)+(h&64478)>>>1|0)+(g&h&1057);g=E[d+2>>1];h=E[f+2>>1];B[d+2>>1]=((g&64478)+(h&64478)>>>1|0)+(g&h&1057);d=d+4|0;f=f+4|0;e=e-2|0;if(e){continue}break}break ma}oa:{if(!(a&3)){f=a;g=i;break oa}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&64478)+(f&64478)>>>1|0)+(f&g&1057);d=d+2|0;f=e+4|0;g=i-1|0}pa:{if(g>>>0<2){e=g;break pa}e=g-2|0;if(!(e&2)){g=C[f>>2];h=C[d>>2];C[d>>2]=((g&h&69272609)+(g>>>1&2112847343)|0)+(h>>>1&2112847343);f=f+4|0;g=e;d=d+4|0}if(e>>>0<2){break pa}while(1){e=C[f>>2];h=C[d>>2];C[d>>2]=((e&h&69272609)+(e>>>1&2112847343)|0)+(h>>>1&2112847343);e=C[f+4>>2];h=C[d+4>>2];C[d+4>>2]=((e&h&69272609)+(e>>>1&2112847343)|0)+(h>>>1&2112847343);d=d+8|0;f=f+8|0;g=g-4|0;e=g;if(e>>>0>1){continue}break}}if(!e){break ma}g=d;d=E[d>>1];e=E[f>>1];B[g>>1]=((d&64478)+(e&64478)>>>1|0)+(d&e&1057)}b=b+i|0;e=a+(i<<1)|0;break la}e=a;if(!b){break b}}if((b|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;k=k-1|0;if(k){continue}break b}}i=d>>>3|0;while(1){g=0;while(1){a=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];qa:{if(b){d=(g<<1)+j|0;e=0;f=a;while(1){h=E[f>>1];p=(h<<16|h)&65043487;h=E[d>>1];h=(h<<16|h)&65043487;h=(I(i,p-h|0)>>>5|0)+h&65043487;B[d>>1]=h>>>16|h;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 qa}e=a;if(!g){break b}}if((g|0)!=(q|0)){continue}break}j=j+l|0;k=k-1|0;if(k){continue}break}break b}h=C[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=D[e|0]+b|0;o=D[e+1|0];ra:{if(o){e=(b<<1)+j|0;x=D[i+30|0];F=C[(x<<2)+381104>>2];z=D[i+29|0];r=C[(z<<2)+381104>>2];G=D[i+28|0];v=C[(G<<2)+381104>>2];J=C[i+24>>2];s=D[i+34|0];y=D[i+33|0];p=D[i+32|0];k=0;g=a;while(1){w=E[g>>1];u=E[e>>1];H=D[v+((u&n)>>>p|0)|0];t=J|(I(d,D[v+((w&n)>>>p|0)|0]-H|0)>>>8|0)+H>>>G<>>y|0)|0];t=t|(I(d,D[r+((f&w)>>>y|0)|0]-H|0)>>>8|0)+H>>>z<>>s|0)|0];w=D[F+((m&u)>>>s|0)|0];B[e>>1]=t|(I(d,H-w|0)>>>8|0)+w>>>x<>2];while(1){k=0;while(1){a=e+2|0;k=D[e|0]+k|0;b=D[e+1|0];sa:{if(b){e=I(k,3)+j|0;h=0;g=a;while(1){F=D[i+28|0];r=C[(F<<2)+381104>>2];p=C[i+12>>2];f=D[e|0]|(D[e+1|0]<<8|D[e+2|0]<<16);n=D[i+32|0];m=D[r+((p&f)>>>n|0)|0];w=D[i+29|0];u=C[(w<<2)+381104>>2];v=C[i+16>>2];o=D[i+33|0];s=D[u+((v&f)>>>o|0)|0];z=D[i+30|0];G=C[(z<<2)+381104>>2];x=C[i+20>>2];t=x&f;f=D[i+34|0];y=D[G+(t>>>f|0)|0];t=p;p=D[g|0]|(D[g+1|0]<<8|D[g+2|0]<<16);f=C[i+24>>2]|m+(I(d,D[r+((t&p)>>>n|0)|0]-m|0)>>>8|0)>>>F<>>o|0)|0]-s|0)>>>8|0)>>>w<>>f|0)|0]-y|0)>>>8|0)>>>z<>>16;A[e+1|0]=f>>>8;e=e+3|0;g=g+3|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}k=b+k|0;e=a+I(b,3)|0;break sa}e=a;if(!k){break b}}if((k|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;l=l-1|0;if(l){continue}break};break b;case 2:break da;default:break b}}f=C[i+20>>2];a=C[i+16>>2];g=C[i+12>>2];if(!((f|(a|g))!=16777215|!((a|0)==65280|(g|0)==65280)&(f|0)!=65280)){h=C[b+12>>2];if((d|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=E[e>>1]+g|0;b=E[e+2>>1];ta:{if(b){i=b&1;d=(g<<2)+j|0;ua:{if((b|0)==1){f=a;break ua}k=b&65534;e=0;f=a;while(1){n=C[d>>2];l=C[f>>2];C[d>>2]=((n&16711422)+(l&16711422)>>>1|0)+(l&n&65793);n=C[d+4>>2];l=C[f+4>>2];C[d+4>>2]=((n&16711422)+(l&16711422)>>>1|0)+(l&n&65793);d=d+8|0;f=f+8|0;e=e+2|0;if((k|0)!=(e|0)){continue}break}}if(i){i=d;d=C[d>>2];e=C[f>>2];C[i>>2]=((d&16711422)+(e&16711422)>>>1|0)+(d&e&65793)}g=b+g|0;e=a+(b<<2)|0;break ta}e=a;if(!g){break b}}if((g|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;h=h-1|0;if(h){continue}break}break b}m=C[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=E[e>>1]+b|0;f=E[e+2>>1];va:{if(f){e=(b<<2)+j|0;w=D[i+30|0];o=C[(w<<2)+381104>>2];u=D[i+29|0];s=C[(u<<2)+381104>>2];x=D[i+28|0];y=C[(x<<2)+381104>>2];h=D[i+34|0];n=D[i+33|0];l=D[i+32|0];k=0;g=a;while(1){v=C[i+12>>2];p=C[e>>2];F=D[y+((v&p)>>>l|0)|0];z=C[i+16>>2];r=D[s+((z&p)>>>n|0)|0];G=C[i+20>>2];p=D[o+((G&p)>>>h|0)|0];t=v;v=C[g>>2];C[e>>2]=C[i+24>>2]|F+(I(d,D[y+((t&v)>>>l|0)|0]-F|0)>>>8|0)>>>x<>>n|0)|0]-r|0)>>>8|0)>>>u<>>h|0)|0]-p|0)>>>8|0)>>>w<>2]+j|0;m=m-1|0;if(m){continue}break}break b}h=0;break i}k=0;while(1){a=e+4|0;k=E[e>>1]+k|0;b=E[e+2>>1];wa:{if(b){f=(k<<2)+j|0;g=0;e=a;while(1){i=C[e>>2];n=C[f>>2];l=n&16711935;p=(I(d,(i&16711935)-l|0)>>>8|0)+l&16711935;r=i&65280;i=n&65280;C[f>>2]=p|(I(d,r-i|0)>>>8|0)+i&65280;f=f+4|0;e=e+4|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}k=b+k|0;e=a+(b<<2)|0;break wa}e=a;if(!k){break b}}if((k|0)!=(q|0)){continue}j=C[c+16>>2]+j|0;h=h-1|0;if(!h){break b}k=0;continue}}while(1){b=e+4|0;h=E[e>>1]+h|0;a=E[e+2>>1];xa:{if(a){ya:{if((h|0)>=(i|0)){break ya}f=n-h|0;za:{if((f|0)<=0){f=0;e=a;break za}e=a-f|0;if((e|0)<=0){break ya}}g=f+h|0;l=i-g|0;l=(e|0)<(l|0)?e:l;if((l|0)<=0){break ya}e=b+(f<<2)|0;f=(g<<2)+k|0;g=0;while(1){m=C[e>>2];o=C[f>>2];s=o&16711935;p=(I(d,(m&16711935)-s|0)>>>8|0)+s&16711935;r=m&65280;m=o&65280;C[f>>2]=p|(I(d,r-m|0)>>>8|0)+m&65280;f=f+4|0;e=e+4|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}h=a+h|0;e=b+(a<<2)|0;break xa}e=b;if(!h){break b}}if((h|0)!=(q|0)){continue}k=C[c+16>>2]+k|0;j=j-1|0;if(!j){break b}h=0;continue}}if(D[c|0]&2){Yg(c)}return 0}function Hj(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,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=0,F=0,G=0,J=0,K=0,L=0,M=0,N=0,O=0;y=Ce-1040|0;Ce=y;c=C[a+52>>2];if(D[a|0]&2){Jj(a,1)}if(c){e=C[c>>2];if(e){Pl(e+32|0,c)}C[c>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;e=c- -64|0;g=C[e>>2];if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}C[e>>2]=0}C[c+4>>2]=0;g=c+4|0;e=C[b+4>>2];a:{b:{c:{d:{e:{i=C[a+4>>2];h=C[i>>2];f:{if(!(((h&-268435456)!=268435456?h:0)|(h>>>24&15)-1>>>0>2)){g:{h=C[e>>2];if((h&-268435456)!=268435456?h:0){break g}d=-1;if((h>>>24&15)-1>>>0>2){break g}h=ls(C[i+4>>2],C[e+4>>2],g);C[c- -64>>2]=h;if(!(h|C[c+4>>2])){break a}if(D[i+8|0]==D[e+8|0]){break d}C[g>>2]=0;break d}d=C[a+52>>2];z=D[d+79|0];o=D[d+78|0];f=D[d+77|0];k=D[d+76|0];n=C[i+4>>2];h:{d=D[e+9|0];h=(d|0)==3?4:d;g=If(256,h);if(g){d=0;if(C[n>>2]>0){break h}C[c- -64>>2]=g;break d}_e(0);C[c- -64>>2]=0;d=-1;break a}while(1){j=C[n+4>>2]+(d<<2)|0;t=(I(z,D[j+3|0])>>>0)/255|0;l=(I(o,D[j+2|0])>>>0)/255|0;m=(I(f,D[j+1|0])>>>0)/255|0;j=(I(k,D[j|0])>>>0)/255|0;i:{j:{switch(D[e+9|0]-1|0){case 0:A[g+I(d,h)|0]=m>>>D[e+29|0]<>>D[e+28|0]<>>D[e+30|0]<>>D[e+31|0]<>1]=m>>>D[e+29|0]<>>D[e+28|0]<>>D[e+30|0]<>>D[e+31|0]<>>3|0)|0]=j;A[t+(D[e+33|0]>>>3|0)|0]=m;A[t+(D[e+34|0]>>>3|0)|0]=l;break i;case 3:break j;default:break i}}C[g+I(d,h)>>2]=m>>>D[e+29|0]<>>D[e+28|0]<>>D[e+30|0]<>>D[e+31|0]<>2]){continue}break}C[c- -64>>2]=g;break f}h=C[e>>2];if(((h&-268435456)!=268435456?h:0)|(h>>>24&15)-1>>>0>2){break e}m=C[e+4>>2];C[y+1024>>2]=256;while(1){h=(d<<2)+y|0;A[h+3|0]=255;A[h+2|0]=I(d&3,85);l=d&224;A[h|0]=l>>>6|l>>>3|l;o=h;h=d<<3&224;A[o+1|0]=h>>>6|h>>>3|h;d=d+1|0;if((d|0)!=256){continue}break}C[y+1028>>2]=y;h=ls(y+1024|0,m,g);C[c- -64>>2]=h;if(!C[c+4>>2]){d=-1;if(!h){break a}}C[g>>2]=0}C[c>>2]=b;if(b){break c}break b}if((e|0)!=(i|0)){break d}C[g>>2]=1}C[c>>2]=b}d=Fe[C[94503]](8)|0;if(d){C[94507]=C[94507]+1}k:{if(!d){_e(0);break k}C[d>>2]=c;C[d+4>>2]=C[b+32>>2];C[b+32>>2]=d}}b=C[e+4>>2];if(b){b=C[b+8>>2]}else{b=0}C[c+80>>2]=b;b=C[i+4>>2];if(b){b=C[b+8>>2]}else{b=0}C[c+84>>2]=b;d=0;z=Ce-16|0;Ce=z;n=a;p=C[a+52>>2];E=C[p>>2];a=C[E+4>>2];l:{if(D[a+8|0]<=7){ag(p);d=Qe(20121,0);break l}if(D[n|0]&2){Jj(n,1);a=C[E+4>>2]}C[p+8>>2]=465;C[p+56>>2]=C[n+4>>2];b=C[n+16>>2];C[p+60>>2]=a;C[p+28>>2]=b;C[p+48>>2]=C[E+16>>2];m:{if(!(D[p+69|0]&16)){break m}if(Nl(n)){break m}d=0;break l}n:{if(!(!C[p+4>>2]|C[p+68>>2]&-4097)){b=466;break n}b=467;a=C[n+4>>2];if(D[a+28|0]>8|D[C[E+4>>2]+28|0]>8){break n}o:{p:{if(D[a+8|0]>7){break p}b=C[a>>2];if(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2){break p}a=0;b=0;q:{r:{switch(D[C[n+4>>2]+8|0]-1|0){case 3:a=C[n+52>>2];if(D[C[C[a>>2]+4>>2]+9|0]!=4){break q}a=C[a+68>>2]&-28673;b=a?(a|0)==256?282:0:283;break q;case 0:break r;default:break q}}c=C[n+52>>2];d=C[C[c>>2]+4>>2];if(D[d+8|0]>=8){a=D[d+9|0]}s:{t:{u:{v:{w:{c=C[c+68>>2]&-28673;switch(c|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 q;case 18:break t;case 0:break v;default:break w}}c=c-256|0;if(!c){break u}if((c|0)==18){break s}break q}b=C[(a<<2)+127696>>2];break q}b=C[(a<<2)+127728>>2];break q}b=a>>>0>1?284:0;break q}b=a>>>0>1?285:0}break o}x:{if(D[a+9|0]!=1){break x}a=C[a>>2];if(((a&-268435456)!=268435456?a:0)|(a>>>24&15)-1>>>0>2){break x}a=0;b=0;c=C[n+52>>2];d=C[C[c>>2]+4>>2];if(D[d+8|0]>=8){a=D[d+9|0]}y:{z:{A:{B:{C:{D:{c=C[c+68>>2]&-28673;switch(c|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 y;case 18:break A;case 0:break C;default:break D}}c=c-256|0;if(!c){break B}if((c|0)==18){break z}break y}b=C[(a<<2)+127760>>2];break y}b=C[(a<<2)+127792>>2];break y}b=a>>>0>1?294:0;break y}b=a>>>0>1?295:0}break o}if(D[p+68|0]&16){a=C[n+4>>2];c=C[n+52>>2];b=C[C[c>>2]+4>>2];E:{F:{G:{H:{I:{e=C[c+68>>2]&-28673;switch(e-16|0){case 1:break F;case 2:break G;case 0:break H;default:break I}}if(C[a+24>>2]|(e|0)!=274){break F}d=304;if(D[b+9|0]!=1){break F}b=C[b+4>>2]?305:304;break E}d=306;J:{switch(D[b+9|0]-1|0){case 0:b=C[b+4>>2]?307:306;break E;case 1:if(D[a+9|0]!=4|C[a+24>>2]!=-16777216|C[a+16>>2]!=65280){break F}if(!(C[a+12>>2]==255&C[b+12>>2]==31)&(C[a+20>>2]!=255|C[b+20>>2]!=31)){break F}a=C[b+16>>2];b=(a|0)==2016?308:(a|0)==992?309:306;break E;case 3:break J;default:break F}}c=C[a+12>>2];d=C[b+12>>2];K:{if(!((c|0)!=(d|0)|C[a+16>>2]!=C[b+16>>2]|(C[a+20>>2]!=C[b+20>>2]|D[a+9|0]!=4))){d=310;if(C[a+24>>2]!=-16777216){break K}break F}if((c|0)!=C[b+20>>2]|C[a+16>>2]!=C[b+16>>2]|((d|0)!=C[a+20>>2]|D[a+9|0]!=4)){break K}d=311;if(C[a+24>>2]==-16777216){break F}}b=306;break E}if(C[a+24>>2]){break F}d=312;L:{switch(D[b+9|0]-1|0){case 0:b=C[b+4>>2]?313:312;break E;case 1:if(!C[c+4>>2]){break F}a=C[b+16>>2];b=(a|0)==2016?314:(a|0)==992?315:312;break E;case 3:break L;default:break F}}c=C[a+12>>2];M:{if((c|0)!=C[b+12>>2]){break M}e=C[a+16>>2];if((e|0)!=C[b+16>>2]){break M}d=C[b+20>>2];b=C[a+20>>2];if((d|0)!=(b|0)|D[a+9|0]!=4){break M}d=316;if((b|(c|e))==16777215){break F}}d=312}b=d}break o}a=C[n+52>>2];g=C[C[a>>2]+4>>2];c=D[g+8|0];N:{O:{if(c>>>0<8){break O}b=C[n+4>>2];e=C[a+68>>2]&-28673;if((e|0)!=256){if(e){break O}if((c|0)==8){P:{if(D[b+9|0]!=4){break P}a=C[b+12>>2];if((a|0)!=1072693248){if((a|0)!=16711680|C[b+16>>2]!=65280){break P}d=317;if(C[b+20>>2]!=255){break P}break O}if(C[b+16>>2]!=1047552){break P}d=318;if(C[b+20>>2]==1023){break O}}b=319;break N}a=C[g+24>>2]?C[b+24>>2]?4:2:1;i=C[(D[b+9|0]<<2)+127820>>2];c=C[i+12>>2];Q:{if(!c){e=0;break Q}e=0;while(1){d=i+I(e,40)|0;h=C[d>>2];R:{if(h?(h|0)!=C[b+12>>2]:0){break R}h=C[d+4>>2];if(h?(h|0)!=C[b+16>>2]:0){break R}h=C[d+8>>2];if(h?(h|0)!=C[b+20>>2]:0){break R}h=C[d+16>>2];if(h?(h|0)!=C[g+12>>2]:0){break R}h=C[d+20>>2];if(h?(h|0)!=C[g+16>>2]:0){break R}h=C[d+24>>2];if(!(a&C[d+36>>2])|(D[g+9|0]!=(c|0)|(h?(h|0)!=C[g+20>>2]:0))){break R}l=C[d+28>>2];m=Ns();h=Ce-16|0;c=C[94509];S:{if((c|0)!=-1){break S}if(!D[422376]){A[422376]=1}c=0;C[94508]=4;C[94509]=0;C[h+12>>2]=0;if(!C[h+12>>2]){break S}C[94508]=16;c=2;C[94509]=2}if(C[d+28>>2]==(l&((c>>>13&1)<<3|(m|0)!=0))){break Q}}e=e+1|0;c=C[(i+I(e,40)|0)+12>>2];if(c){continue}break}}d=C[(i+I(e,40)|0)+32>>2];if((d|0)!=320){break O}d=321;if(C[b>>2]==372711428){break O}d=322;if(C[g>>2]==372711428){break O}T:{if(D[b+9|0]!=4|D[g+9|0]!=4|(C[b+12>>2]!=C[g+12>>2]|C[b+16>>2]!=C[g+16>>2])){break T}if(C[b+20>>2]!=C[g+20>>2]){break T}d=323;if((a|0)!=4){break O}b=C[b+24>>2]==C[g+24>>2]?324:325;break N}b=(a|0)==4?325:320;break N}if(D[b+9|0]==2){d=326;if(C[a+4>>2]){break O}}d=327;if(D[g+9|0]==1){break O}if(C[b+24>>2]){d=328;if(C[g+24>>2]){break O}}d=329}b=d}}if(b){break n}J=C[p+68>>2];K=C[C[E+4>>2]>>2];L=C[C[n+4>>2]>>2];U:{if(C[95147]!=2147483647){break U}a=Ug(24247);C[95147]=0;if(a){C[z>>2]=380588;F=Ce-16|0;Ce=F;C[F+12>>2]=z;b=Ce-144|0;Ce=b;f=We(b,0,144);C[f+76>>2]=-1;C[f+44>>2]=a;C[f+32>>2]=1478;C[f+84>>2]=a;t=z;c=0;a=0;m=0;g=2950;k=Ce-304|0;Ce=k;V:{W:{X:{if(C[f+4>>2]){break X}no(f);if(C[f+4>>2]){break X}break W}b=D[2950];if(!b){break V}Y:{Z:{_:{$:{while(1){aa:{b=b&255;ba:{if((b|0)==32|b-9>>>0<5){while(1){b=g;g=b+1|0;c=D[b+1|0];if((c|0)==32|c-9>>>0<5){continue}break}Gh(f,0,0);while(1){c=C[f+4>>2];ca:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break ca}c=Jf(f)}if((c|0)==32|c-9>>>0<5){continue}break}g=C[f+4>>2];c=C[f+116>>2];if((c|0)>0|(c|0)>=0){g=g-1|0;C[f+4>>2]=g}c=g-C[f+44>>2]|0;d=c;i=s+C[f+124>>2]|0;g=c>>31;c=q+C[f+120>>2]|0;i=g+(c>>>0>>0?i+1|0:i)|0;q=c+d|0;s=q>>>0>>0?i+1|0:i;break ba}da:{ea:{fa:{if(D[g|0]==37){b=D[g+1|0];if((b|0)==42){break fa}if((b|0)!=37){break ea}}Gh(f,0,0);ga:{if(D[g|0]==37){while(1){b=C[f+4>>2];ha:{if((b|0)!=C[f+104>>2]){C[f+4>>2]=b+1;b=D[b|0];break ha}b=Jf(f)}if((b|0)==32|b-9>>>0<5){continue}break}g=g+1|0;break ga}b=C[f+4>>2];if((b|0)!=C[f+104>>2]){C[f+4>>2]=b+1;b=D[b|0];break ga}b=Jf(f)}if(D[g|0]!=(b|0)){c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}if((b|0)>=0){break V}c=0;if(G){break V}break W}b=C[f+4>>2]-C[f+44>>2]|0;d=b;e=d>>31;b=s+C[f+124>>2]|0;c=q+C[f+120>>2]|0;j=(c>>>0>>0?b+1|0:b)+e|0;q=c+d|0;s=q>>>0>>0?j+1|0:j;b=g;break ba}l=0;b=g+2|0;break da}if(!(D[g+2|0]!=36|b-48>>>0>=10)){b=D[g+1|0]-48|0;c=Ce-16|0;C[c+12>>2]=t;b=(b>>>0>1?(b<<2)-4|0:0)+t|0;C[c+8>>2]=b+4;l=C[b>>2];b=g+3|0;break da}l=C[t>>2];t=t+4|0;b=g+1|0}h=0;g=0;if(D[b|0]-48>>>0<10){while(1){g=(D[b|0]+I(g,10)|0)-48|0;c=D[b+1|0];b=b+1|0;if(c-48>>>0<10){continue}break}}r=D[b|0];if((r|0)==109){m=0;h=(l|0)!=0;r=D[b+1|0];a=0;b=b+1|0}d=b;b=d+1|0;e=3;c=h;ia:{ja:{switch(r-65|0){case 39:c=D[d+1|0]==104;b=c?d+2|0:b;e=c?-2:-1;break ia;case 43:c=D[d+1|0]==108;b=c?d+2|0:b;e=c?3:1;break ia;case 51:case 57:e=1;break ia;case 11:e=2;break ia;case 41:break ia;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 ja;default:break Y}}e=0;b=d}c=D[b|0];d=(c&47)==3;w=d?1:e;v=d?c|32:c;ka:{if((v|0)==91){break ka}la:{if((v|0)!=110){if((v|0)!=99){break la}g=(g|0)<=1?1:g;break ka}Gt(l,w,q,s);break ba}Gh(f,0,0);while(1){c=C[f+4>>2];ma:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break ma}c=Jf(f)}if((c|0)==32|c-9>>>0<5){continue}break}d=C[f+4>>2];c=C[f+116>>2];if((c|0)>0|(c|0)>=0){d=d-1|0;C[f+4>>2]=d}c=d-C[f+44>>2]|0;d=c;i=s+C[f+124>>2]|0;e=c>>31;c=q+C[f+120>>2]|0;s=e+(c>>>0>>0?i+1|0:i)|0;q=c+d|0;s=q>>>0>>0?s+1|0:s}o=g;u=g>>31;Gh(f,g,u);c=C[f+4>>2];na:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;break na}if((Jf(f)|0)<0){break Z}}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}d=16;oa:{pa:{qa:{ra:{sa:{switch(v-88|0){default:c=v-65|0;if(c>>>0>6|!(1<>2]-C[f+44>>2]|0;if(C[f+120>>2]!=(0-c|0)|C[f+124>>2]!=(0-((c>>31)+((c|0)!=0)|0)|0)){break qa}break _;case 3:case 11:case 27:if((v|16)==115){We(k+32|0,-1,257);A[k+32|0]=0;if((v|0)!=115){break pa}A[k+65|0]=0;A[k+46|0]=0;B[k+42>>1]=0;B[k+44>>1]=0;break pa}d=D[b+1|0];e=(d|0)==94;We(k+32|0,e,257);A[k+32|0]=0;c=e?b+2|0:b+1|0;ta:{ua:{va:{b=D[(e?2:1)+b|0];if((b|0)!=45){if((b|0)==93){break va}e=(d|0)!=94;b=c;break ta}e=(d|0)!=94;A[k+78|0]=e;break ua}e=(d|0)!=94;A[k+126|0]=e}b=c+1|0}while(1){d=D[b|0];wa:{if((d|0)!=45){if(!d){break Z}if((d|0)==93){break pa}break wa}d=45;c=D[b+1|0];if(!c|(c|0)==93){break wa}i=b+1|0;b=D[b-1|0];xa:{if(c>>>0<=b>>>0){d=c;break xa}while(1){b=b+1|0;A[b+(k+32|0)|0]=e;d=D[i|0];if(d>>>0>b>>>0){continue}break}}b=i}A[(d+k|0)+33|0]=e;b=b+1|0;continue};case 23:d=8;break ra;case 12:case 29:d=10;break ra;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 oa;case 0:case 24:case 32:break ra;case 17:break sa}}d=0}g=0;i=0;e=0;j=0;r=0;x=Ce-16|0;Ce=x;ya:{if(!((d|0)!=1&d>>>0<=36)){C[105773]=28;break ya}while(1){c=C[f+4>>2];za:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break za}c=Jf(f)}if((c|0)==32|c-9>>>0<5){continue}break}Aa:{Ba:{switch(c-43|0){case 0:case 2:break Ba;default:break Aa}}r=(c|0)==45?-1:0;c=C[f+4>>2];if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Aa}c=Jf(f)}Ca:{Da:{Ea:{Fa:{if(!((d|0)!=0&(d|0)!=16|(c|0)!=48)){c=C[f+4>>2];Ga:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ga}c=Jf(f)}if((c&-33)==88){d=16;c=C[f+4>>2];Ha:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ha}c=Jf(f)}if(D[c+377233|0]<16){break Ea}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}Gh(f,0,0);break ya}if(d){break Fa}d=8;break Ea}d=d?d:10;if(d>>>0>D[c+377233|0]){break Fa}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}Gh(f,0,0);C[105773]=28;break ya}if((d|0)!=10){break Ea}e=c-48|0;if(e>>>0<=9){d=0;while(1){d=I(d,10)+e|0;g=d>>>0<429496729;c=C[f+4>>2];Ia:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ia}c=Jf(f)}e=c-48|0;if(g&e>>>0<=9){continue}break}g=d}Ja:{if(e>>>0>9){break Ja}d=mT(g,0,10,0);j=Ee;while(1){i=j;g=d+e|0;i=g>>>0>>0?i+1|0:i;d=(i|0)==429496729&g>>>0>=2576980378|i>>>0>429496729;c=C[f+4>>2];Ka:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ka}c=Jf(f)}e=c-48|0;if(d|e>>>0>9){break Ja}d=mT(g,i,10,0);j=Ee;if((j|0)==-1&(e^-1)>>>0>=d>>>0|(j|0)!=-1){continue}break}d=10;break Da}d=10;if(e>>>0<=9){break Da}break Ca}if(d-1&d){j=D[c+377233|0];if(j>>>0>>0){while(1){e=I(d,e)+j|0;g=e>>>0<119304647;c=C[f+4>>2];La:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break La}c=Jf(f)}j=D[c+377233|0];if(g&j>>>0>>0){continue}break}g=e}if(d>>>0<=j>>>0){break Da}while(1){e=mT(g,i,d,0);o=Ee;j=j&255;if((o|0)==-1&(j^-1)>>>0>>0){break Da}i=o;g=e+j|0;i=g>>>0>>0?i+1|0:i;c=C[f+4>>2];Ma:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ma}c=Jf(f)}j=D[c+377233|0];if(d>>>0<=j>>>0){break Da}Ag(x,d,0,0,0,g,i,0,0);if(!(C[x+8>>2]|C[x+12>>2])){continue}break}break Da}o=A[(I(d,23)>>>5&7)+377489|0];e=D[c+377233|0];if(e>>>0>>0){while(1){j=j<>>0<134217728;c=C[f+4>>2];Na:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Na}c=Jf(f)}e=D[c+377233|0];if(g&e>>>0>>0){continue}break}g=j}if(d>>>0<=e>>>0){break Da}u=o&31;if((o&63)>>>0>=32){j=0;u=-1>>>u|0}else{j=-1>>>u|0;u=j|(1<>>0>u>>>0){break Da}while(1){M=e&255;e=g;c=o&31;if((o&63)>>>0>=32){i=e<>>32-c|i<>2];Oa:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Oa}c=Jf(f)}e=D[c+377233|0];if(d>>>0<=e>>>0){break Da}if((i|0)==(j|0)&g>>>0<=u>>>0|i>>>0>>0){continue}break}}if(D[c+377233|0]>=d>>>0){break Ca}while(1){c=C[f+4>>2];Pa:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Pa}c=Jf(f)}if(D[c+377233|0]>>0){continue}break}C[105773]=68;r=0;g=-1;i=-1}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}Qa:{if((g&i)!=-1){break Qa}}c=g^r;g=c-r|0;d=r>>31;i=(d^i)-((c>>>0>>0)+d|0)|0}Ce=x+16|0;c=C[f+4>>2]-C[f+44>>2]|0;if(C[f+120>>2]==(0-c|0)&C[f+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break _}if(!(!l|(v|0)!=112)){C[l>>2]=g;break oa}Gt(l,w,g,i);break oa}if(!l){break oa}d=C[k+16>>2];c=C[k+20>>2];e=C[k+8>>2];j=C[k+12>>2];Ra:{switch(w|0){case 0:i=Ce-32|0;Ce=i;g=c&2147483647;h=g-1065418752|0;o=g-1082064896|0;Sa:{if((h|0)==(o|0)&0|h>>>0>>0){g=(c&33554431)<<7|d>>>25;h=0;o=h;d=d&33554431;if(!(!h&(d|0)==16777216?!(e|j):!h&d>>>0<16777216)){h=g+1073741825|0;break Sa}h=g+1073741824|0;if(d^16777216|e|(j|o)){break Sa}h=(g&1)+h|0;break Sa}if(!(!d&(g|0)==2147418112?!(e|j):g>>>0<2147418112)){h=((c&33554431)<<7|d>>>25)&4194303|2143289344;break Sa}h=2139095040;if(g>>>0>1082064895){break Sa}h=0;g=g>>>16|0;if(g>>>0<16145){break Sa}h=c&65535|65536;Fg(i+16|0,e,j,d,h,g-16129|0);hj(i,e,j,d,h,16257-g|0);d=C[i+8>>2];h=(C[i+12>>2]&33554431)<<7|d>>>25;g=C[i>>2]|(C[i+16>>2]|C[i+24>>2]|(C[i+20>>2]|C[i+28>>2]))!=0;j=C[i+4>>2];e=0;d=d&33554431;if(!(!e&(d|0)==16777216?!(g|j):!e&d>>>0<16777216)){h=h+1|0;break Sa}if(d^16777216|g|(e|j)){break Sa}h=(h&1)+h|0}Ce=i+32|0;C[l>>2]=c&-2147483648|h;break oa;case 1:N=l,O=bo(e,j,d,c),H[N>>3]=O;break oa;case 2:break Ra;default:break oa}}C[l>>2]=e;C[l+4>>2]=j;C[l+8>>2]=d;C[l+12>>2]=c;break oa}x=(v|0)!=99;e=x?31:g+1|0;Ta:{if((w|0)==1){d=l;if(h){d=kf(e<<2);if(!d){break $}}C[k+296>>2]=0;C[k+300>>2]=0;g=0;while(1){a=d;Ua:{while(1){c=C[f+4>>2];Va:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Va}c=Jf(f)}if(!D[(c+k|0)+33|0]){break Ua}A[k+27|0]=c;i=k+28|0;c=k+296|0;m=c?c:432420;d=C[m>>2];Wa:{Xa:{j=k+27|0;Ya:{Za:{if(!j){if(d){break Za}c=0;break Wa}_a:{if(d){r=1;break _a}c=D[j|0];d=c<<24>>24;if((d|0)>=0){if(i){C[i>>2]=c}c=(d|0)!=0;break Wa}if(!C[C[105819]>>2]){c=1;if(!i){break Ya}C[i>>2]=d&57343;c=1;break Wa}c=c-194|0;if(c>>>0>50){break Za}d=C[(c<<2)+377504>>2];break Xa}c=D[j|0];w=c>>>3|0;if((w-16|w+(d>>26))>>>0>7){break Za}while(1){r=r-1|0;d=c-128|d<<6;if((d|0)>=0){C[m>>2]=0;if(i){C[i>>2]=d}c=1-r|0;break Wa}if(!r){break Xa}j=j+1|0;c=D[j|0];if((c&192)==128){continue}break}}C[m>>2]=0;C[105773]=25;c=-1}break Wa}C[m>>2]=d;c=-2}if((c|0)==-2){continue}m=0;if((c|0)==-1){break Z}if(a){C[(g<<2)+a>>2]=C[k+28>>2];g=g+1|0}if(!h|(e|0)!=(g|0)){continue}break}c=1;e=e<<1|1;d=mf(a,e<<2);if(d){continue}break Y}break}m=0;e=a;if(k+296|0?C[k+296>>2]:0){break Z}break Ta}if(h){g=0;d=kf(e);if(!d){break $}while(1){a=d;while(1){c=C[f+4>>2];$a:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break $a}c=Jf(f)}if(!D[(c+k|0)+33|0]){e=0;m=a;break Ta}A[a+g|0]=c;g=g+1|0;if((g|0)!=(e|0)){continue}break}c=1;e=e<<1|1;d=mf(a,e);if(d){continue}break}m=a;a=0;break Y}g=0;if(l){while(1){a=C[f+4>>2];ab:{if((a|0)!=C[f+104>>2]){C[f+4>>2]=a+1;a=D[a|0];break ab}a=Jf(f)}if(D[(a+k|0)+33|0]){A[g+l|0]=a;g=g+1|0;continue}else{e=0;a=l;m=a;break Ta}}}while(1){a=C[f+4>>2];bb:{if((a|0)!=C[f+104>>2]){C[f+4>>2]=a+1;a=D[a|0];break bb}a=Jf(f)}if(D[(a+k|0)+33|0]){continue}break}a=0;m=0;e=0}d=C[f+4>>2];c=C[f+116>>2];if((c|0)>0|(c|0)>=0){d=d-1|0;C[f+4>>2]=d}d=d-C[f+44>>2]|0;c=d+C[f+120>>2]|0;i=C[f+124>>2]+(d>>31)|0;i=c>>>0>>0?i+1|0:i;if(!(i|c)|!(x|(c|0)==(o|0)&(i|0)==(u|0))){break aa}if(h){C[l>>2]=a}cb:{if((v|0)==99){break cb}if(e){C[(g<<2)+e>>2]=0}if(!m){m=0;break cb}A[g+m|0]=0}a=e}c=C[f+4>>2]-C[f+44>>2]|0;d=c;j=s+C[f+124>>2]|0;g=c>>31;c=q+C[f+120>>2]|0;s=g+(c>>>0>>0?j+1|0:j)|0;q=c+d|0;s=q>>>0>>0?s+1|0:s;G=((l|0)!=0)+G|0}g=b+1|0;b=D[b+1|0];if(b){continue}break V}break}a=e;break _}c=1;m=0;a=0;break Y}c=h;break W}c=h}if(G){break W}}if(!c){break V}Re(m);Re(a)}Ce=k+304|0;Ce=f+144|0;Ce=F+16|0;break U}if(Ns()){C[95147]=C[95147]|1}b=Ce-16|0;a=C[94509];db:{if((a|0)!=-1){break db}if(!D[422376]){A[422376]=1}a=0;C[94508]=4;C[94509]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break db}C[94508]=16;a=2;C[94509]=2}if(a>>>3&1){C[95147]=C[95147]|2}b=Ce-16|0;a=C[94509];eb:{if((a|0)!=-1){break eb}if(!D[422376]){A[422376]=1}a=0;C[94508]=4;C[94509]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break eb}C[94508]=16;a=2;C[94509]=2}if(a>>>4&1){C[95147]=C[95147]|4}b=Ce-16|0;a=C[94509];fb:{if((a|0)!=-1){break fb}if(!D[422376]){A[422376]=1}a=0;C[94508]=4;C[94509]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break fb}C[94508]=16;a=2;C[94509]=2}if(a>>>5&1){C[95147]=C[95147]|8}b=Ce-16|0;a=C[94509];gb:{if((a|0)!=-1){break gb}if(!D[422376]){A[422376]=1}a=0;C[94508]=4;C[94509]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break gb}C[94508]=16;a=2;C[94509]=2}if(!(a>>>1&1)){break U}C[95147]=C[95147]|16}b=C[94516];if(b){d=J&1011;a=0;e=C[95147];while(1){c=I(a,20)+378048|0;if(!((L|0)!=C[c>>2]|(K|0)!=C[c+4>>2]|(d|0)!=(d&C[c+8>>2]))){c=C[c+12>>2];if((c&e)==(c|0)){break n}}a=a+1|0;b=C[(I(a,20)+378048|0)+16>>2];if(b){continue}break}}a=C[C[E+4>>2]>>2];b=C[C[n+4>>2]>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0<3|((a>>>24&15)-1>>>0<3|((a&-268435456)!=268435456?a:0)))){C[p+12>>2]=467;d=0;break l}C[p+12>>2]=0;ag(p);d=Qe(20121,0);break l}C[p+12>>2]=b;d=0}Ce=z+16|0}Ce=y+1040|0;return d}function rx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(!(D[b+16|0]&16)){C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];f=C[b+80>>2];a:{b:{c:{a=C[b+56>>2];if((a|0)<=1332902240){if((a|0)>1198879348){break c}if((a|0)>1147500128){break b}if((a|0)!=1113943655){if((a|0)!=1114792296){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=69688;d:{e:{f:{g:{h:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-69637|0){case 0:break f;case 10:break g;case 6:break h;default:break e}}c=69694;break f}c=69698}e=C[d+I(e,20)>>2];i:{if(D[b+73|0]){j:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break j}}if(!$e(b,1,1)){break i}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break d}Kg(b);break d}if(D[b+73|0]){k:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break k}}if(!$e(b,1,1)){break d}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=2494;l:{m:{n:{o:{p:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-2437|0){case 0:break n;case 7:break o;case 6:break p;default:break m}}c=2499;break n}c=2530}e=C[d+I(e,20)>>2];q:{if(D[b+73|0]){r:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break r}}if(!$e(b,1,1)){break q}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break l}Kg(b);break l}if(D[b+73|0]){s:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break s}}if(!$e(b,1,1)){break l}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}if((a|0)<=1415671147){t:{u:{switch(a-1399418468|0){default:if((a|0)==1332902241){break t}if((a|0)!=1415670642){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}v:{w:{x:{y:{z:{e=C[b+92>>2];switch(C[e+I(a,20)>>2]-71296|0){case 6:break y;case 0:break z;default:break w}}c=C[e+I(c,20)>>2]-71341|0;if(c>>>0>8|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break A}}if(!$e(b,1,1)){break x}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;Kg(b);break v}d=C[e+I(c,20)>>2];B:{if(D[b+73|0]){C:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break C}}if(!$e(b,1,1)){break B}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if((d|0)!=71346){break v}}Kg(b);break v}if(D[b+73|0]){D:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break D}}if(!$e(b,1,1)){break v}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break};break a;case 0:a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}E:{F:{d=C[b+92>>2];if(C[d+I(a,20)>>2]!=70320){break F}c=C[d+I(c,20)>>2];if(c-70373>>>0>=4&(c|0)!=70368){break F}G:{if(D[b+73|0]){H:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break H}}if(!$e(b,1,1)){break G}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}Kg(b);break E}if(D[b+73|0]){I:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break I}}if(!$e(b,1,1)){break E}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break};break a;case 1:case 2:case 3:break a;case 4:break u}}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}J:{K:{L:{M:{N:{O:{P:{Q:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-3461|0){case 0:break N;case 12:break O;case 8:break P;case 6:case 10:case 15:break Q;default:break K}}c=C[d+I(c,20)>>2]==3551;break M}c=C[d+I(c,20)>>2]==3544;break M}c=C[d+I(c,20)>>2]-3530|0;if(c>>>0>20|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break R}}if(!$e(b,1,1)){break L}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;Kg(b);break J}c=C[d+I(c,20)>>2]-3535>>>0<3}S:{if(D[b+73|0]){T:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break T}}if(!$e(b,1,1)){break S}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break J}}Kg(b);break J}if(D[b+73|0]){U:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break U}}if(!$e(b,1,1)){break J}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=2878;V:{W:{X:{Y:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-2821|0){case 0:break X;case 10:case 14:break Y;default:break W}}c=2903}e=C[d+I(e,20)>>2];Z:{if(D[b+73|0]){_:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break _}}if(!$e(b,1,1)){break Z}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break V}Kg(b);break V}if(D[b+73|0]){$:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break $}}if(!$e(b,1,1)){break V}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}if((a|0)!=1415671148){if((a|0)!=1415933045){if((a|0)!=1416196712){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}aa:{ba:{ca:{da:{ea:{fa:{ga:{e=C[b+92>>2];d=C[e+I(a,20)>>2];switch(d-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break da;case 10:case 12:break fa;case 0:break ga;default:break ea}}c=C[e+I(c,20)>>2]==70832;break ba}c=C[e+I(c,20)>>2]==70842;break ba}if((d|0)==70826){break ca}}if(D[b+73|0]){ha:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break ha}}if(!$e(b,1,1)){break aa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;break aa}c=C[e+I(c,20)>>2]-70837>>>0<2}ia:{if(D[b+73|0]){ja:{if((e|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break ja}}if(!$e(b,1,1)){break ia}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break aa}Kg(b)}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}ka:{la:{g=C[b+92>>2];e=C[g+I(a,20)>>2];d=e-3135|0;ma:{if(!(d>>>0>11|!(1<>2]==3157;break ma}if((e|0)!=3090){break la}c=C[g+I(c,20)>>2];c=(c|0)==3148|(c|0)==3157}na:{if(D[b+73|0]){oa:{if((g|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break oa}}if(!$e(b,1,1)){break na}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break ka}Kg(b);break ka}if(D[b+73|0]){pa:{if((g|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break pa}}if(!$e(b,1,1)){break ka}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}e=C[b+92>>2];qa:{if(C[e+I(a,20)>>2]==2949){d=C[e+I(c,20)>>2];ra:{if(D[b+73|0]){sa:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break sa}}if(!$e(b,1,1)){break ra}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if((d|0)!=3010){break qa}Kg(b);break qa}if(D[b+73|0]){ta:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break ta}}if(!$e(b,1,1)){break qa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)<=1298954604){if((a|0)!=1198879349){if((a|0)!=1265525857){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=3262;ua:{va:{wa:{xa:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-3209|0){case 0:case 2:break wa;case 9:break xa;default:break va}}c=3276}e=C[d+I(e,20)>>2];ya:{if(D[b+73|0]){za:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break za}}if(!$e(b,1,1)){break ya}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break ua}Kg(b);break ua}if(D[b+73|0]){Aa:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Aa}}if(!$e(b,1,1)){break ua}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}Ba:{Ca:{Da:{Ea:{Fa:{Ga:{e=C[b+92>>2];d=C[e+I(a,20)>>2];switch(d-2674|0){case 1:break Ea;case 0:break Fa;default:break Ga}}if((d|0)!=2565){break Ca}c=C[e+I(c,20)>>2]-2622|0;if(c>>>0>14|!(1<>2]-2623|0;if(c>>>0>8){break Ca}if(1<>2]-2625|0;if(c>>>0>10|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break Ia}}if(!$e(b,1,1)){break Ha}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}Kg(b);break Ba}if(D[b+73|0]){Ja:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Ja}}if(!$e(b,1,1)){break Ba}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)!=1298954605){if((a|0)!=1299145833){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}e=C[b+92>>2];Ka:{if((C[e+I(a,20)>>2]&-2)==71168){d=C[e+I(c,20)>>2]-71225|0;La:{if(D[b+73|0]){Ma:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Ma}}if(!$e(b,1,1)){break La}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if(d>>>0>1){break Ka}Kg(b);break Ka}if(D[b+73|0]){Na:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Na}}if(!$e(b,1,1)){break Ka}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-3335|0){case 11:break Ra;case 7:break Sa;case 0:case 2:break Ta;default:break Pa}}c=C[d+I(c,20)>>2]==3415;break Qa}c=C[d+I(c,20)>>2]==3398;break Qa}c=C[d+I(c,20)>>2];c=(c|0)==3390|(c|0)==3415}Ua:{if(D[b+73|0]){Va:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break Va}}if(!$e(b,1,1)){break Ua}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break Oa}Kg(b);break Oa}if(D[b+73|0]){Wa:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Wa}}if(!$e(b,1,1)){break Oa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)!=1147500129){if((a|0)!=1198877298){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}Xa:{Ya:{e=C[b+92>>2];d=C[e+I(a,20)>>2];Za:{if((d|0)!=2757){if((d|0)!=2693){break Ya}c=C[e+I(c,20)>>2]-2750|0;if(c>>>0>14|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break _a}}if(!$e(b,1,1)){break Za}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;Kg(b);break Xa}d=C[e+I(c,20)>>2];$a:{if(D[b+73|0]){ab:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break ab}}if(!$e(b,1,1)){break $a}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if((d|0)!=2750){break Xa}}Kg(b);break Xa}if(D[b+73|0]){bb:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break bb}}if(!$e(b,1,1)){break Xa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-2309|0){case 4:break gb;case 43:break ib;case 10:break jb;case 1:break kb;case 0:break lb;default:break db}}c=C[d+I(c,20)>>2]-2362|0;if(c>>>0>29|!(1<>2];if(c-2373>>>0<4|(c|0)==2362){break hb}break db}c=C[d+I(c,20)>>2]-2373>>>0<3;break fb}if(C[d+I(c,20)>>2]!=2381){break db}c=a+2|0;if(c>>>0>=f>>>0|C[d+I(c,20)>>2]!=2311){break db}Nm(b)}if(D[b+73|0]){mb:{if(C[b+96>>2]==C[b+92>>2]){a=C[b+84>>2];if((a|0)==C[b+76>>2]){break mb}}if(!$e(b,1,1)){break eb}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+84>>2]}C[b+84>>2]=a+1}C[b+76>>2]=C[b+76>>2]+1;break eb}c=C[d+I(c,20)>>2]==2369}nb:{if(D[b+73|0]){ob:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break ob}}if(!$e(b,1,1)){break nb}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break cb}}Kg(b);break cb}if(D[b+73|0]){pb:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break pb}}if(!$e(b,1,1)){break cb}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}}gh(b)}}function dl(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,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0;q=Ce-32|0;Ce=q;e=fi(C[a>>2],C[b+4>>2],C[a+22120>>2]);a:{if(e){break a}h=C[C[a>>2]+84>>2];j=C[b>>2];if(!j){f=C[h+100>>2];C[b+56>>2]=f;g=C[h+104>>2];C[b+60>>2]=g;m=C[h+76>>2];C[b+68>>2]=m;e=C[h+80>>2];C[b+64>>2]=e;if(!(f|g|(e|m))){e=C[h+28>>2];f=C[h+32>>2];g=C[h+24>>2];C[b+60>>2]=C[h+36>>2]>>6;m=f>>6;C[b+56>>2]=m;C[b+68>>2]=e+63>>6;e=((f+g|0)+63>>6)-m|0;C[b+64>>2]=e}g=C[h+40>>2];C[b+72>>2]=g;b:{if(!C[a+22124>>2]){C[b+76>>2]=C[h+148>>2];f=C[h+144>>2];break b}C[b+76>>2]=C[h+144>>2]-C[h+148>>2];f=0}C[b+80>>2]=f;f=C[a+20>>2];if(f&1){m=C[a+36>>2];e=m+e|0;C[b+64>>2]=e;C[b+72>>2]=g+(m<<6)}if(!(!(f&2)|C[h+72>>2]!=1869968492)){e=(I(C[a+4>>2],13930)>>16)+e|0;C[b+64>>2]=e}if(C[a+22124>>2]){C[b+64>>2]=e+1}C[b>>2]=16;j=16}c:{d:{e:{u=c&1;f:{if(!(!u|j&1)){c=c&4;break f}if(!(c&2)){break e}c=c&4;if(c){break f}e=0;if(j&2){break a}}C[q+28>>2]=0;e=b+32|0;m=u?b+8|0:e;if(c){break d}break c}e=0;if(!(c&4)){break a}C[q+28>>2]=0;e=b+32|0;m=u?b+8|0:e}c=C[e>>2];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[e>>2]=0}Pg(h+108|0,d,0);C[b+80>>2]=d}if(!(!(D[a+20|0]&2)|C[h+72>>2]!=1869968492)){C[q+20>>2]=0;C[q+24>>2]=65536;C[q+12>>2]=65536;C[q+16>>2]=13930;Si(h+108|0,q+12|0)}g:{if(!(C[h+72>>2]!=1869968492|C[a+24>>2]<=0)){j=q+28|0;g=Ce-16|0;Ce=g;h:{if(!h){d=37;break h}if(!j){d=6;break h}i:{e=C[h>>2];o=C[e>>2];k=C[h+72>>2];c=271824;j:{if((k|0)==1651078259){break j}c=271856;if((k|0)==1869968492){break j}k:{l:{if(!e){break l}d=C[e+148>>2];if(!d){break l}while(1){f=C[d+8>>2];if((k|0)==C[f+16>>2]){break k}d=C[d+4>>2];if(d){continue}break}}f=0}if(!f){break i}c=f+20|0}f=hf(o,C[c>>2],g+12|0);d=C[g+12>>2];if(d){break h}C[f+4>>2]=c;C[f>>2]=e;C[f+8>>2]=C[c+4>>2];C[f+12>>2]=C[h+64>>2]<<10;C[f+16>>2]=C[h+68>>2]<<10;d=Fe[C[c+8>>2]](f,h)|0;if(d){c=C[C[f>>2]>>2];e=C[C[f+4>>2]+12>>2];if(e){Fe[e|0](f)}if(f){Fe[C[c+8>>2]](c,f)}break h}C[j>>2]=f;d=0;break h}d=18}Ce=g+16|0;e=d;if(d){break a}f=q+12|0;d=Ce-16|0;Ce=d;e=C[104356];m:{if(!e){h=33;break m}if(!f){h=6;break m}g=C[e>>2];c=hf(g,132,d+12|0);h=C[d+12>>2];if(!h){C[c+128>>2]=e;C[c+64>>2]=0;C[c+68>>2]=0;C[c+88>>2]=g;C[c+72>>2]=0;C[c+76>>2]=0;C[c+120>>2]=g;A[c+92|0]=0;C[c+84>>2]=-1;C[c+96>>2]=0;C[c+100>>2]=0;C[c+104>>2]=0;C[c+108>>2]=0;A[c+124|0]=0;C[c+116>>2]=-1}C[f>>2]=c}Ce=d+16|0;e=h;if(e){break a}d=C[a+24>>2]<<6;c=C[q+12>>2];if(c){C[c+48>>2]=0;C[c+44>>2]=1;C[c+60>>2]=d;C[c+64>>2]=0;C[c+52>>2]=0;A[c+124|0]=0;C[c+116>>2]=-1;C[c+96>>2]=0;A[c+92|0]=0;C[c+84>>2]=-1;C[c+56>>2]=65536}i=C[q+12>>2];f=0;c=0;h=0;x=Ce-16|0;Ce=x;v=q+28|0;n:{if(!v){break n}e=C[v>>2];if(!e|C[e+4>>2]!=271856){break n}o=Ce-16|0;Ce=o;g=6;k=x+12|0;o:{if(!C[e+4>>2]|(!e|!k)){break o}C[k>>2]=0;j=C[e+4>>2];if(!j){break o}l=C[e>>2];d=hf(C[l>>2],C[j>>2],o+12|0);g=C[o+12>>2];if(g){break o}C[d+4>>2]=j;C[d>>2]=l;C[d+8>>2]=C[j+4>>2];g=C[e+16>>2];C[d+12>>2]=C[e+12>>2];C[d+16>>2]=g;C[d+8>>2]=C[e+8>>2];p:{g=C[j+16>>2];if(!g){break p}g=Fe[g|0](e,d)|0;if(!g){break p}j=C[C[d>>2]>>2];k=C[C[d+4>>2]+12>>2];if(k){Fe[k|0](d)}if(d){Fe[C[j+8>>2]](j,d)}break o}C[k>>2]=d;g=0}Ce=o+16|0;if(g){break n}w=g?e:C[x+12>>2];o=w+20|0;g=0;l=Ce-48|0;Ce=l;k=20;q:{if(!o){break q}if(!i){k=6;break q}k=0;C[i+64>>2]=0;A[i+124|0]=0;C[i+116>>2]=-1;C[i+96>>2]=0;A[i+92|0]=0;C[i+84>>2]=-1;if(B[o>>1]<=0){break q}r:{while(1){y=B[C[o+12>>2]+(G<<1)>>1];s:{if(y>>>0<=g>>>0){break s}n=C[o+4>>2];d=n+(g<<3)|0;j=C[d>>2];e=C[d+4>>2];k=e;C[l+32>>2]=j;C[l+36>>2]=e;n=n+(y<<3)|0;r=C[n+4>>2];s=C[n>>2];C[l+40>>2]=j;C[l+44>>2]=e;t:{u:{e=g;g=C[o+8>>2];e=e+g|0;switch(D[e|0]&3){case 2:break r;case 0:break u;default:break t}}v:{if((D[g+y|0]&3)==1){C[l+36>>2]=r;C[l+32>>2]=s;n=n-8|0;break v}C[l+36>>2]=(k+r|0)/2;C[l+32>>2]=(j+s|0)/2}e=e-1|0;d=d-8|0;j=C[l+32>>2];k=C[l+36>>2]}A[i+21|0]=0;C[i+8>>2]=j;C[i+12>>2]=k;A[i+20|0]=1;g=C[i+48>>2];r=(g|0)!=0;w:{if(g){break w}}C[i+28>>2]=j;C[i+32>>2]=k;A[i+40|0]=r;C[i>>2]=0;x:{if(d>>>0>=n>>>0){break x}while(1){j=e+1|0;g=d+8|0;y:{z:{A:{B:{switch(D[e+1|0]&3){case 1:C[l+24>>2]=C[d+8>>2];C[l+28>>2]=C[d+12>>2];d=g;e=j;k=Xv(i,l+24|0);if(k){break q}break y;case 0:C[l+40>>2]=C[d+8>>2];C[l+44>>2]=C[d+12>>2];if(g>>>0>>0){while(1){k=D[j+1|0];e=C[g+12>>2];d=C[g+8>>2];C[l+24>>2]=d;C[l+28>>2]=e;j=j+1|0;g=g+8|0;C:{k=k&3;D:{if(k){if((k|0)!=1){g=5;k=0;break z}k=bp(i,l+40|0,l+24|0);if(k){break D}d=g;e=j;break y}C[l+16>>2]=(d+C[l+40>>2]|0)/2;C[l+20>>2]=(e+C[l+44>>2]|0)/2;k=bp(i,l+40|0,l+16|0);if(!k){break C}}g=6;break z}d=C[l+28>>2];C[l+40>>2]=C[l+24>>2];C[l+44>>2]=d;if(g>>>0>>0){continue}break}}k=bp(i,l+40|0,l+32|0);break A;default:break B}}g=5;k=0;if((D[e+2|0]&3)!=2|d+16>>>0>n>>>0){break z}g=C[d+12>>2];C[l+24>>2]=C[d+8>>2];C[l+28>>2]=g;g=C[d+20>>2];C[l+16>>2]=C[d+16>>2];C[l+20>>2]=g;d=d+24|0;if(n>>>0>=d>>>0){g=C[d+4>>2];C[l+8>>2]=C[d>>2];C[l+12>>2]=g;k=Uv(i,l+24|0,l+16|0,l+8|0);if(k){g=6;break z}e=e+3|0;break y}k=Uv(i,l+24|0,l+16|0,l+32|0)}if(k){break q}break x}if((g|0)!=5){break q}break r}if(d>>>0>>0){continue}break}}if(D[i+20|0]){break s}k=Ce-16|0;Ce=k;E:{if(!i){e=6;break E}if(D[i+21|0]){e=Tv(i,C[i>>2]);if(e){break E}r=C[i+96>>2];n=C[i+116>>2];s=r-n|0;if((s|0)>0){g=C[i+68>>2];j=C[i+64>>2];C[k+12>>2]=0;e=j+s|0;F:{if(e>>>0<=g>>>0){g=C[i+76>>2];break F}j=C[i+88>>2];d=g;while(1){d=((d>>>1|0)+d|0)+16|0;if(e>>>0>d>>>0){continue}break}J=i,K=Ve(j,8,g,d,C[i+72>>2],k+12|0),C[J+72>>2]=K;e=C[k+12>>2];if(e){break E}g=Ve(j,1,g,d,C[i+76>>2],k+12|0);C[i+76>>2]=g;e=C[k+12>>2];if(e){break E}C[i+68>>2]=d;n=C[i+116>>2];r=C[i+96>>2];j=C[i+64>>2]}e=C[i+104>>2];d=(e+(r<<3)|0)-8|0;if(d>>>0>=e+(n<<3)>>>0){e=C[i+72>>2]+(j<<3)|0;j=g+j|0;g=C[i+108>>2]+r|0;while(1){n=C[d+4>>2];C[e>>2]=C[d>>2];C[e+4>>2]=n;g=g-1|0;A[j|0]=D[g|0]&243;j=j+1|0;e=e+8|0;d=d-8|0;n=C[i+116>>2];if(d>>>0>=C[i+104>>2]+(n<<3)>>>0){continue}break}j=C[i+64>>2]}C[i+96>>2]=n;A[i+112|0]=0;A[i+80|0]=0;C[i+64>>2]=j+s}d=C[i+32>>2];C[i+8>>2]=C[i+28>>2];C[i+12>>2]=d;e=Tv(i,C[i+24>>2]+11796480|0);if(e){break E}e=C[i+64>>2];d=C[i+84>>2];G:{if(e>>>0<=d+1>>>0){C[i+64>>2]=d;break G}g=e-1|0;C[i+64>>2]=g;j=C[i+72>>2];n=j+(d<<3)|0;g=j+(g<<3)|0;j=C[g+4>>2];C[n>>2]=C[g>>2];C[n+4>>2]=j;d=d+C[i+76>>2]|0;A[d|0]=D[d|0]|4;d=(e+C[i+76>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[i+84>>2]=-1;e=0;A[i+80|0]=0;break E}if(!(C[i+8>>2]==C[i+28>>2]&C[i+12>>2]==C[i+32>>2])){e=Xv(i,i+28|0);if(e){break E}}d=C[i+24>>2];C[i+4>>2]=d;d=gg(C[i>>2],d);if(d){e=Wv(i,d>>>31|0,C[i+36>>2]);if(e){break E}e=ck(i,(d^-1)>>>31|0,C[i+36>>2]);if(e){break E}}e=C[i+64>>2];d=C[i+84>>2];H:{if(e>>>0<=d+1>>>0){C[i+64>>2]=d;break H}g=e-1|0;C[i+64>>2]=g;j=C[i+72>>2];n=j+(d<<3)|0;g=j+(g<<3)|0;j=C[g+4>>2];C[n>>2]=C[g>>2];C[n+4>>2]=j;d=d+C[i+76>>2]|0;A[d|0]=D[d|0]|4;d=(e+C[i+76>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[i+84>>2]=-1;A[i+80|0]=0;n=C[i+96>>2];j=C[i+116>>2];I:{if(n>>>0<=j+1>>>0){C[i+96>>2]=j;break I}r=n-1|0;C[i+96>>2]=r;d=C[i+104>>2];e=j<<3;g=d+e|0;s=r<<3;d=s+d|0;H=C[d+4>>2];C[g>>2]=C[d>>2];C[g+4>>2]=H;d=e;e=C[i+104>>2];d=(d+e|0)+8|0;e=(e+s|0)-8|0;if(d>>>0>>0){while(1){g=C[d>>2];s=C[d+4>>2];H=C[e+4>>2];C[d>>2]=C[e>>2];C[d+4>>2]=H;C[e>>2]=g;C[e+4>>2]=s;d=d+8|0;e=e-8|0;if(d>>>0>>0){continue}break}}g=C[i+108>>2];d=(g+j|0)+1|0;e=(g+r|0)-1|0;if(d>>>0>>0){while(1){g=D[d|0];A[d|0]=D[e|0];A[e|0]=g;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}g=C[i+108>>2]}d=g+j|0;A[d|0]=D[d|0]|4;d=(n+C[i+108>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[i+116>>2]=-1;e=0;A[i+112|0]=0}Ce=k+16|0;k=e;if(e){break q}}g=y+1|0;G=G+1|0;if((G|0)>1]){continue}break}k=0;break q}k=20}Ce=l+48|0;J:{K:{if(k){break K}L:{if(!i){g=0;d=0;break L}M:{N:{e=C[i+64>>2];if(e){g=C[i+76>>2];d=e;while(1){j=D[g|0];O:{if(j&4){if(!f){break O}break N}if(!f){break N}}g=g+1|0;j=j&8;c=(j>>>3|0)+c|0;f=!j;d=d-1|0;if(d){continue}break}d=0;if(!j){break M}}A[i+92|0]=1;h=c;d=e;break M}d=0}j=d;P:{Q:{e=C[i+96>>2];R:{if(!e){c=0;break R}g=C[i+108>>2];f=0;d=e;c=0;while(1){k=D[g|0];S:{if(k&4){if(!f){break S}break Q}if(!f){break Q}}g=g+1|0;k=k&8;c=(k>>>3|0)+c|0;f=!k;d=d-1|0;if(d){continue}break}f=0;d=0;if(!k){break P}}A[i+124|0]=1;f=c;d=e;break P}f=0;d=0}g=d+j|0;d=f+h|0}f=C[w>>2];c=o;T:{if(!f|!c){break T}f=C[f>>2];if(!f){break T}if(A[c+16|0]&1){e=C[c+4>>2];if(e){Fe[C[f+8>>2]](f,e)}C[c+4>>2]=0;e=C[c+8>>2];if(e){Fe[C[f+8>>2]](f,e)}C[c+8>>2]=0;e=C[c+12>>2];if(e){Fe[C[f+8>>2]](f,e)}}C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0}if(gp(C[w>>2],g,d,c)){break K}C[w+20>>2]=0;e=0;h=c;U:{if(!i|!c){break U}V:{if(!D[i+92|0]){break V}t(C[h+4>>2]+(B[h+2>>1]<<3)|0,C[i+72>>2],C[i+64>>2]<<3);d=C[i+64>>2];if(!d){break V}g=C[h+8>>2]+B[h+2>>1]|0;f=C[i+76>>2];j=d&3;W:{if(!j){c=d;break W}c=d;while(1){k=D[f|0];A[g|0]=k&1?1:k&2;g=g+1|0;f=f+1|0;c=c-1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(d>>>0>=4){while(1){d=D[f|0];A[g|0]=d&1?1:d&2;d=D[f+1|0];A[g+1|0]=d&1?1:d&2;d=D[f+2|0];A[g+2|0]=d&1?1:d&2;d=D[f+3|0];A[g+3|0]=d&1?1:d&2;g=g+4|0;f=f+4|0;c=c-4|0;if(c){continue}break}}f=E[h+2>>1];d=C[i+64>>2];X:{if(!d){d=0;break X}c=C[h+12>>2]+(B[h>>1]<<1)|0;g=C[i+76>>2];if(d&1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+1|0;g=g+1|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}if(D[g+1|0]&8){B[c>>1]=f+1;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+2|0;g=g+2|0;e=e-2|0;if(e){continue}break}}f=E[h+2>>1]}B[h+2>>1]=d+f}if(!D[i+124|0]){break U}t(C[h+4>>2]+(B[h+2>>1]<<3)|0,C[i+104>>2],C[i+96>>2]<<3);f=B[h+2>>1];d=C[i+96>>2];Y:{if(!d){d=0;break Y}g=C[h+8>>2]+f|0;f=C[i+108>>2];j=d&3;Z:{if(!j){c=d;break Z}e=0;c=d;while(1){k=D[f|0];A[g|0]=k&1?1:k&2;g=g+1|0;f=f+1|0;c=c-1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(d>>>0>=4){while(1){d=D[f|0];A[g|0]=d&1?1:d&2;d=D[f+1|0];A[g+1|0]=d&1?1:d&2;d=D[f+2|0];A[g+2|0]=d&1?1:d&2;d=D[f+3|0];A[g+3|0]=d&1?1:d&2;g=g+4|0;f=f+4|0;c=c-4|0;if(c){continue}break}}f=E[h+2>>1];d=C[i+96>>2];if(!d){d=0;break Y}c=C[h+12>>2]+(B[h>>1]<<1)|0;g=C[i+108>>2];if(d&1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+1|0;g=g+1|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}if(D[g+1|0]&8){B[c>>1]=f+1;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+2|0;g=g+2|0;e=e-2|0;if(e){continue}break}}f=E[h+2>>1]}B[h+2>>1]=d+f}bl(C[v>>2]);break J}bl(w);break n}C[v>>2]=w}Ce=x+16|0;c=C[q+12>>2];if(c){f=C[C[c+128>>2]>>2];d=C[c+88>>2];e=C[c+72>>2];if(e){Fe[C[d+8>>2]](d,e)}C[c+72>>2]=0;e=C[c+76>>2];if(e){Fe[C[d+8>>2]](d,e)}A[c+92|0]=0;C[c+84>>2]=-1;C[c+64>>2]=0;C[c+68>>2]=0;C[c+76>>2]=0;d=C[c+120>>2];e=C[c+104>>2];if(e){Fe[C[d+8>>2]](d,e)}C[c+104>>2]=0;e=C[c+108>>2];if(e){Fe[C[d+8>>2]](d,e)}C[c+128>>2]=0;A[c+124|0]=0;C[c+116>>2]=-1;C[c+96>>2]=0;C[c+100>>2]=0;C[c+108>>2]=0;if(c){Fe[C[f+8>>2]](f,c)}}o=u<<1;c=Ce-208|0;Ce=c;h=6;_:{if(!v){break _}g=C[v>>2];if(!g){break _}e=C[g>>2];if(!e){break _}d=C[g+4>>2];if(!d){break _}if((d|0)==271824){h=0;break _}if(!C[d+28>>2]){break _}p(c+52|0,0,152);C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c+204>>2]=c+8;C[c+48>>2]=e;C[c+120>>2]=C[d+4>>2];f=hf(C[e>>2],52,c);h=C[c>>2];if(h){break _}C[f+8>>2]=1651078259;C[f+4>>2]=271824;C[f>>2]=e;h=Fe[C[d+28>>2]](g,c+48|0)|0;if(!h){e=0;k=c+48|0;i=C[k+72>>2];$:{if((i|0)==1651078259){break $}h=C[g>>2];aa:{ba:{if((i|0)!=1869968492){e=7;if(!h){break $}j=C[h+148>>2];if(!j){break $}while(1){d=C[j+8>>2];if((i|0)==C[d+16>>2]){break ba}j=C[j+4>>2];if(j){continue}break}break $}d=C[h+156>>2];if(!d){break aa}j=C[h+148>>2]}e=0;d=Fe[C[d+60>>2]](d,k,o,0)|0;if(!d){break $}l=h+148|0;while(1){ca:{da:{if(!h|(d&255)!=19){break da}j=C[(j?j+4|0:l)>>2];if(!j){break da}e=C[k+72>>2];while(1){i=C[j+8>>2];if((e|0)==C[i+16>>2]){break ca}j=C[j+4>>2];if(j){continue}break}}e=d;break $}e=0;d=Fe[C[i+60>>2]](i,k,o,0)|0;if(d){continue}break}break $}e=7}h=e}ea:{if(h){break ea}h=ax(f,c+48|0);if(h){break ea}d=C[g+16>>2];C[f+12>>2]=C[g+12>>2];C[f+16>>2]=d;bl(g);C[v>>2]=f;h=0;break _}d=C[C[f>>2]>>2];e=C[C[f+4>>2]+12>>2];if(e){Fe[e|0](f)}if(f){Fe[C[d+8>>2]](d,f)}}Ce=c+208|0;c=C[q+28>>2];e=h;if(e){bl(c);break a}C[m+4>>2]=C[c+20>>2];C[m+8>>2]=C[c+24>>2];g=c+28|0;break g}e=lw(h,u<<1);if(e){break a}C[m+4>>2]=C[h+100>>2];C[m+8>>2]=C[h+104>>2];g=h+76|0}f=C[g+4>>2];C[m+12>>2]=f;e=C[g>>2];C[m>>2]=0;C[m+16>>2]=e;if(!f){C[m+16>>2]=0;e=0}c=C[a+20>>2]&1;if(c){f=C[a+36>>2]+f|0;C[m+12>>2]=f}d=f+7|0;C[m+20>>2]=d;if(e){c=I(d,e)+7|0;c=Fe[C[94503]](c>>>0<=1?1:c)|0;if(c){C[94507]=C[94507]+1}C[m>>2]=c;if(!c){e=64;break a}lf(c,0,I(C[m+16>>2],C[m+20>>2])+7|0);C[m>>2]=C[m>>2]+7;if(C[g>>2]){while(1){f=I(C[m+20>>2],z);e=C[m>>2];k=I(C[g+8>>2],z);o=C[g+12>>2];fa:{ga:{ha:{ia:{ja:{j=D[g+18|0]-1|0;switch(j|0){case 3:break ha;case 2:break ia;case 0:break ja;default:break ga}}d=C[g+4>>2];h=d&7;c=d>>>3|0;break fa}d=C[g+4>>2];h=d&3;c=d>>>2|0;break fa}d=C[g+4>>2];h=d&1;c=d>>>1|0;break fa}h=0;d=C[g+4>>2];c=d}f=f+e|0;e=k+o|0;ka:{if(u){la:{switch(j|0){case 3:ma:{if(!c){break ma}j=c-1|0;d=0;k=c&3;if(k){while(1){o=D[e|0];A[f|0]=o>>>7;A[f+1|0]=o>>>3&1;e=e+1|0;f=f+2|0;c=c-1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(j>>>0<3){break ma}while(1){d=D[e|0];A[f|0]=d>>>7;A[f+1|0]=d>>>3&1;d=D[e+1|0];A[f+2|0]=d>>>7;A[f+3|0]=d>>>3&1;d=D[e+2|0];A[f+4|0]=d>>>7;A[f+5|0]=d>>>3&1;d=D[e+3|0];A[f+6|0]=d>>>7;A[f+7|0]=d>>>3&1;e=e+4|0;f=f+8|0;c=c-4|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c>>>3&1;if((h|0)==2){break ka}A[f+2|0]=0;if((h|0)==3){break ka}A[f+3|0]=0;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;case 2:na:{if(!c){break na}if(c&1){d=D[e|0];A[f|0]=d>>>7;A[f+3|0]=d>>>1&1;A[f+2|0]=d>>>3&1;A[f+1|0]=d>>>5&1;e=e+1|0;f=f+4|0;d=c-1|0}else{d=c}if((c|0)==1){break na}while(1){c=D[e|0];A[f|0]=c>>>7;A[f+3|0]=c>>>1&1;A[f+2|0]=c>>>3&1;A[f+1|0]=c>>>5&1;c=D[e+1|0];A[f+4|0]=c>>>7;A[f+7|0]=c>>>1&1;A[f+6|0]=c>>>3&1;A[f+5|0]=c>>>5&1;e=e+2|0;f=f+8|0;d=d-2|0;if(d){continue}break}}if(!h){break ka}c=D[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c>>>5&1;if((h|0)==2){break ka}A[f+2|0]=c>>>3&1;if((h|0)==3){break ka}A[f+3|0]=c>>>1&1;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;default:if(!c){break ka}j=0;d=c;h=d&3;if(h){while(1){A[f|0]=D[e|0]>>>7;f=f+1|0;e=e+1|0;d=d-1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(c>>>0<4){break ka}while(1){A[f|0]=D[e|0]>>>7;A[f+1|0]=D[e+1|0]>>>7;A[f+2|0]=D[e+2|0]>>>7;A[f+3|0]=D[e+3|0]>>>7;f=f+4|0;e=e+4|0;d=d-4|0;if(d){continue}break};break ka;case 0:break la}}if(c){while(1){d=D[e|0];A[f+7|0]=d&1;A[f|0]=d>>>7;A[f+6|0]=d>>>1&1;A[f+5|0]=d>>>2&1;A[f+4|0]=d>>>3&1;A[f+3|0]=d>>>4&1;A[f+2|0]=d>>>5&1;A[f+1|0]=d>>>6&1;e=e+1|0;f=f+8|0;c=c-1|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c>>>6&1;if((h|0)==2){break ka}A[f+2|0]=c>>>5&1;if((h|0)==3){break ka}A[f+3|0]=c>>>4&1;if((h|0)==4){break ka}A[f+4|0]=c>>>3&1;if((h|0)==5){break ka}A[f+5|0]=c>>>2&1;if((h|0)==6){break ka}A[f+6|0]=c>>>1&1;break ka}oa:{switch(j|0){case 0:if(c){while(1){d=D[e|0];A[f+7|0]=0-(d&1);A[f|0]=d<<24>>24>>>7;A[f+6|0]=d<<6<<24>>24>>>7;A[f+5|0]=d<<5<<24>>24>>>7;A[f+4|0]=d<<4<<24>>24>>>7;A[f+3|0]=d<<3<<24>>24>>>7;A[f+2|0]=d<<2<<24>>24>>>7;A[f+1|0]=d<<1<<24>>24>>>7;e=e+1|0;f=f+8|0;c=c-1|0;if(c){continue}break}}if(!h){break ka}c=A[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c<<1<<24>>24>>>7;if((h|0)==2){break ka}A[f+2|0]=c<<2<<24>>24>>>7;if((h|0)==3){break ka}A[f+3|0]=c<<3<<24>>24>>>7;if((h|0)==4){break ka}A[f+4|0]=c<<4<<24>>24>>>7;if((h|0)==5){break ka}A[f+5|0]=c<<5<<24>>24>>>7;if((h|0)==6){break ka}A[f+6|0]=c<<6<<24>>24>>>7;break ka;case 2:if(c){while(1){d=D[e|0];j=d>>>6&2;if(j){j=((j<<8>>>0)/3|0)-1|0}else{j=0}A[f|0]=j;j=d>>>4&2;if(j){j=((j<<8>>>0)/3|0)-1|0}else{j=0}A[f+1|0]=j;c=c-1|0;j=d>>>2&2;if(j){j=((j<<8>>>0)/3|0)-1|0}else{j=0}A[f+2|0]=j;d=d&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f+3|0]=d;e=e+1|0;f=f+4|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];d=c>>>6&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f|0]=d;if((h|0)==1){break ka}d=c>>>4&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f+1|0]=d;if((h|0)==2){break ka}d=c>>>2&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f+2|0]=d;if((h|0)==3){break ka}c=c&2;if(c){c=((c<<8>>>0)/3|0)-1|0}else{c=0}A[f+3|0]=c;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;case 3:if(c){while(1){c=c-1|0;d=D[e|0];if(d>>>0>=16){j=(((d<<4&3840)>>>0)/15|0)-1|0}else{j=0}A[f|0]=j;d=d&15;if(d){d=((d<<8>>>0)/15|0)-1|0}else{d=0}A[f+1|0]=d;e=e+1|0;f=f+2|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];if(c>>>0>=16){d=(((c<<4&3840)>>>0)/15|0)-1|0}else{d=0}A[f|0]=d;if((h|0)==1){break ka}c=c&15;if(c){c=((c<<8>>>0)/15|0)-1|0}else{c=0}A[f+1|0]=c;if((h|0)==2){break ka}A[f+2|0]=0;if((h|0)==3){break ka}A[f+3|0]=0;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;default:break oa}}gf(f,e,d)}z=z+1|0;if(z>>>0>2]){continue}break}}c=C[a+20>>2]&1}pa:{if(!c){break pa}d=C[m+16>>2];if((d|0)<=0){break pa}e=C[a+36>>2];while(1){h=d;d=d-1|0;j=1;if((e|0)>0){g=C[m>>2]+I(C[m+20>>2],d)|0;while(1){f=C[m+12>>2];if((f|0)>=2){while(1){c=f-1|0;qa:{if(u){e=c+g|0;A[e|0]=D[e|0]|D[(f+g|0)-2|0];break qa}k=c+g|0;e=D[(f+g|0)-2|0]+D[k|0]|0;A[k|0]=e>>>0>=255?255:e}e=f>>>0>2;f=c;if(e){continue}break}e=C[a+36>>2]}c=(e|0)>(j|0);j=j+1|0;if(c){continue}break}}if((h|0)>=2){continue}break}}a=C[m>>2];if(a){C[m>>2]=a-7}C[b>>2]=C[b>>2]|(u?1:2);a=C[q+28>>2];if(a){bl(a)}e=0}Ce=q+32|0;return e}function Lv(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0;p=Ce-32|0;Ce=p;r=-2;a:{if(!a){break a}e=C[a+28>>2];if(!e|!C[a>>2]){break a}j=-5;q=(b|0)==4?-5:0;while(1){b=1;c=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(C[e>>2]){case 0:b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;b=D[b|0];C[e+4>>2]=b;e=C[a+28>>2];if((b&15)!=8){C[e>>2]=13;C[a+24>>2]=19641;break c}if(F[e+16>>2]<(C[e+4>>2]>>>4|0)+8>>>0){C[e>>2]=13;C[a+24>>2]=15892;break c}C[e>>2]=1;j=q;case 1:b=j;c=C[a+4>>2];if(!c){break e}c=c-1|0;C[a+4>>2]=c;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;b=D[b|0];if(((b|C[e+4>>2]<<8)>>>0)%31|0){C[e>>2]=13;C[a+24>>2]=14266;break c}if(!(b&32)){C[e>>2]=7;break b}C[e>>2]=2;j=q;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}}c=C[a+4>>2]}r=j;if(!c){break a}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=D[b|0]<<24;e=C[a+28>>2];C[e>>2]=3;j=q}r=j;b=C[a+4>>2];if(!b){break a}C[a+4>>2]=b-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<16);e=C[a+28>>2];C[e>>2]=4;j=q}r=j;b=C[a+4>>2];if(!b){break a}C[a+4>>2]=b-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<8);e=C[a+28>>2];C[e>>2]=5;j=q}r=j;b=C[a+4>>2];if(!b){break a}C[a+4>>2]=b-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+D[b|0];b=a;a=C[a+28>>2];C[b+48>>2]=C[a+8>>2];C[a>>2]=6;r=2;break a}C[e>>2]=13;C[a+24>>2]=1325;C[e+4>>2]=0;break a}d=C[e+20>>2];l=C[d+52>>2];b=C[d+48>>2];q:{if(l>>>0>>0){c=b+(l^-1)|0;break q}c=C[d+44>>2]-l|0}h=C[a+4>>2];e=C[a>>2];i=C[d+28>>2];b=C[d+32>>2];w=d+20|0;v=d+16|0;r:{s:{t:{u:{v:{w:{while(1){f=j;x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{switch(C[d>>2]){case 8:break v;case 7:break w;case 6:break F;case 5:break H;case 3:break M;case 1:break N;case 0:break O;case 4:break R;case 9:break S;case 2:break U;default:break T}}if(!h){break P}V:{if(c){f=l;break V}W:{if(C[d+44>>2]!=(l|0)){f=l;break W}f=C[d+40>>2];c=C[d+48>>2];if((f|0)==(c|0)){f=l;break W}c=c>>>0>f>>>0?c+(f^-1)|0:l-f|0;if(c){break V}}C[d+52>>2]=f;k=hg(d,a,j);j=C[d+52>>2];g=C[d+48>>2];X:{if(j>>>0>=g>>>0){f=C[d+44>>2];c=f-j|0;break X}f=C[d+44>>2];c=g+(j^-1)|0}Y:{if((f|0)!=(j|0)){f=j;break Y}f=C[d+40>>2];if((g|0)==(f|0)){f=j;break Y}c=f>>>0>>0?g+(f^-1)|0:j-f|0}if(!c){break Q}}j=C[d+4>>2];j=h>>>0>j>>>0?j:h;j=c>>>0>j>>>0?j:c;t(f,e,j);g=C[d+4>>2];C[d+4>>2]=g-j;c=c-j|0;l=f+j|0;h=h-j|0;e=e+j|0;if((g|0)!=(j|0)){while(1){f=C[d>>2];if((f|0)!=2){j=0;switch(f|0){case 8:break v;case 7:break w;case 6:break F;case 5:break H;case 3:break M;case 1:break N;case 0:break O;case 4:break R;case 9:break S;default:break T}}if(!h){j=0;break P}Z:{if(c){f=l;break Z}_:{if(C[d+44>>2]!=(l|0)){f=l;break _}f=C[d+40>>2];c=C[d+48>>2];if((f|0)==(c|0)){f=l;break _}c=c>>>0>f>>>0?c+(f^-1)|0:l-f|0;if(c){break Z}}C[d+52>>2]=f;k=hg(d,a,0);j=C[d+52>>2];g=C[d+48>>2];$:{if(j>>>0>>0){f=C[d+44>>2];c=g+(j^-1)|0;break $}f=C[d+44>>2];c=f-j|0}aa:{if((f|0)!=(j|0)){f=j;break aa}f=C[d+40>>2];if((g|0)==(f|0)){f=j;break aa}c=f>>>0>>0?g+(f^-1)|0:j-f|0}if(!c){break Q}}j=C[d+4>>2];j=h>>>0>j>>>0?j:h;j=c>>>0>j>>>0?j:c;t(f,e,j);g=C[d+4>>2];C[d+4>>2]=g-j;c=c-j|0;l=f+j|0;h=h-j|0;e=e+j|0;if((g|0)!=(j|0)){continue}break}}j=0;C[d>>2]=C[d+24>>2]?7:0;continue}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,-2);break r}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break E}c=C[d+8>>2];if(c>>>0<(C[d+4>>2]>>>10|0)+4>>>0){break J}break I}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=f;c=hg(d,a,k);break r}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break s}ba:{ca:{if(i>>>0>2){k=i;break ca}if(!h){break ba}k=i+8|0;h=h-1|0;b=D[e|0]<>2]=b&1;da:{ea:{switch((b>>>1&3)-1|0){case 0:f=Fe[C[a+32>>2]](C[a+40>>2],1,28)|0;if(!f){C[d+32>>2]=b;C[d+4>>2]=0;C[d+28>>2]=k;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=g;C[a+8>>2]=C[a+8>>2]+(g-b|0);break L}C[f+24>>2]=286224;C[f+20>>2]=282128;B[f+16>>1]=1289;C[f>>2]=0;C[d+4>>2]=f;i=k-3|0;b=b>>>3|0;f=6;break da;case 1:i=k-3|0;b=b>>>3|0;f=3;break da;case 2:C[d>>2]=9;C[a+24>>2]=16909;C[d+28>>2]=k-3;C[d+32>>2]=b>>>3;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=g;C[a+8>>2]=C[a+8>>2]+(g-b|0);break E;default:break ea}}f=k-3|0;b=b>>>3>>>(f&7)|0;i=f&-8;f=1}e=g;C[d>>2]=f;continue}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,f);break r}fa:{if(i>>>0>31){f=e;break fa}ga:{ha:{if(!h){f=e;g=i;break ha}g=i+8|0;f=e+1|0;k=h-1|0;b=D[e|0]<>>0>=24){i=g;h=k;break fa}if(k){k=i+16|0;f=e+2|0;n=h-2|0;b=D[e+1|0]<>>0>15){i=k;h=n;break fa}if(!n){g=k;break ha}g=i+24|0;f=e+3|0;n=h-3|0;b=D[e+2|0]<>>0>7){i=g;h=n;break fa}if(n){break ga}}}C[d+28>>2]=g;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break s}i=i+32|0;f=e+4|0;h=h-4|0;b=D[e+3|0]<>>16|0;if((e|0)!=(b&65535)){C[d>>2]=9;C[a+24>>2]=7361;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break E}C[d+4>>2]=e;if(b>>>0<4294901760){g=2}else{g=C[d+24>>2]?7:0}b=0;i=0;e=f;C[d>>2]=g;continue}ia:{if(i>>>0>13){f=e;break ia}ja:{ka:{if(!h){f=e;c=i;break ka}c=i+8|0;f=e+1|0;g=h-1|0;b=D[e|0]<>>0>=6){i=c;h=g;break ia}if(g){break ja}}C[d+28>>2]=c;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break s}h=h-2|0;f=e+2|0;i=i+16|0;b=D[e+1|0]<>2]=b&16383;la:{c=b&31;if(c>>>0<=29){e=b>>>5&31;if(e>>>0<30){break la}}C[d>>2]=9;C[a+24>>2]=6955;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break E}c=Fe[C[a+32>>2]](C[a+40>>2],(c+e|0)+258|0,4)|0;C[d+12>>2]=c;if(c){break K}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0)}C[d+52>>2]=l;c=hg(d,a,-4);break r}C[d>>2]=4;c=0;C[d+8>>2]=0;i=i-14|0;b=b>>>14|0;e=f}while(1){ma:{if(i>>>0<=2){if(!h){break ma}h=h-1|0;b=D[e|0]<>2]=c+1;C[C[d+12>>2]+(C[(c<<2)+281968>>2]<<2)>>2]=b&7;i=i-3|0;b=b>>>3|0;c=C[d+8>>2];if(c>>>0<(C[d+4>>2]>>>10|0)+4>>>0){continue}break I}break}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break s}if(c>>>0<19){while(1){C[d+8>>2]=c+1;C[C[d+12>>2]+(C[(c<<2)+281968>>2]<<2)>>2]=0;c=C[d+8>>2];if(c>>>0<19){continue}break}}C[d+16>>2]=7;f=C[d+12>>2];g=C[d+36>>2];C[p+28>>2]=0;c=Fe[C[a+32>>2]](C[a+40>>2],19,4)|0;na:{if(!c){f=-4;break na}k=18408;oa:{pa:{qa:{ra:{f=Vo(f,19,19,0,0,w,v,g,p+28|0,c);switch(f+5|0){case 0:break pa;case 2:break ra;default:break qa}}k=18444;break pa}if(!C[v>>2]){break pa}Fe[C[a+36>>2]](C[a+40>>2],c);if(f){if((f|0)!=-3){break na}break oa}C[d>>2]=5;C[d+8>>2]=0;c=0;break G}C[a+24>>2]=k;Fe[C[a+36>>2]](C[a+40>>2],c)}Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=9;f=-3}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,f);break r}c=C[d+8>>2]}g=C[d+4>>2];f=g&31;g=g>>>5&31;n=(f+g|0)+258|0;if(c>>>0>>0){while(1){o=C[v>>2];sa:{if(o>>>0<=i>>>0){f=i;k=e;g=h;break sa}if(!h){break t}k=e+1|0;g=h-1|0;b=D[e|0]<>>0<=f>>>0){break sa}while(1){if(!g){break t}g=g-1|0;b=D[k|0]<>>0>f>>>0){continue}break}}e=C[w>>2]+((C[(o<<2)+282048>>2]&b)<<3)|0;o=D[e+1|0];m=C[e+4>>2];ta:{if(m>>>0<=15){C[d+8>>2]=c+1;C[C[d+12>>2]+(c<<2)>>2]=m;i=f-o|0;b=b>>>o|0;c=C[d+8>>2];e=k;h=g;break ta}x=(m|0)==18;u=x?7:m-14|0;s=u+o|0;ua:{if(s>>>0<=f>>>0){i=f;e=k;h=g;break ua}if(!g){break u}e=k+1|0;h=g-1|0;b=D[k|0]<>>0<=i>>>0){break ua}while(1){if(!h){break u}h=h-1|0;b=D[e|0]<>>0>i>>>0){continue}break}}i=i-s|0;f=b>>>o|0;b=f>>>u|0;va:{g=(f&C[(u<<2)+282048>>2])+(x?11:3)|0;if(g+c>>>0<=n>>>0){n=(m|0)!=16;if(c|n){break va}}Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=9;C[a+24>>2]=5775;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break E}k=0;f=0;f=n?f:C[(C[d+12>>2]+(c<<2)|0)-4>>2];n=g-1|0;o=g&3;if(o){while(1){C[C[d+12>>2]+(c<<2)>>2]=f;g=g-1|0;c=c+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(n>>>0>=3){while(1){k=c<<2;C[k+C[d+12>>2]>>2]=f;C[(k+C[d+12>>2]|0)+4>>2]=f;C[(k+C[d+12>>2]|0)+8>>2]=f;C[(k+C[d+12>>2]|0)+12>>2]=f;c=c+4|0;g=g-4|0;if(g){continue}break}}C[d+8>>2]=c}g=C[d+4>>2];f=g&31;g=g>>>5&31;n=(f+g|0)+258|0;if(n>>>0>c>>>0){continue}break}}C[d+20>>2]=0;C[p+24>>2]=9;C[p+20>>2]=6;o=C[d+36>>2];m=C[d+12>>2];C[p+28>>2]=0;wa:{xa:{ya:{za:{Aa:{Ba:{k=Fe[C[a+32>>2]](C[a+40>>2],288,4)|0;if(k){n=18484;s=f+257|0;c=Vo(m,s,257,286480,286608,p+16|0,p+24|0,o,p+28|0,k);if(c){f=18515;switch(c+4|0){case 1:break Aa;case 0:break Ba;default:break za}}u=C[p+24>>2];if(!u){break za}c=7390;g=Vo(m+(s<<2)|0,g+1|0,0,286736,286864,p+12|0,p+20|0,o,p+28|0,k);if(g){n=18550;f=18575;switch(g+5|0){case 0:break za;case 2:break Aa;case 1:break Ba;default:break ya}}g=f;f=C[p+20>>2];if(f?0:g){break ya}Fe[C[a+36>>2]](C[a+40>>2],k);g=C[p+12>>2];k=C[p+16>>2];c=Fe[C[a+32>>2]](C[a+40>>2],1,28)|0;if(c){break wa}}c=-4;break xa}Fe[C[a+36>>2]](C[a+40>>2],k);c=-4;break xa}c=f;break ya}c=n}C[a+24>>2]=c;Fe[C[a+36>>2]](C[a+40>>2],k);Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=9;c=-3}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,c);break r}C[c+24>>2]=g;C[c+20>>2]=k;A[c+17|0]=f;A[c+16|0]=u;C[c>>2]=0;C[d+4>>2]=c;Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=6}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;c=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-c|0);C[d+52>>2]=l;m=C[d+4>>2];c=C[d+48>>2];Ca:{if(c>>>0>l>>>0){f=c+(l^-1)|0;break Ca}f=C[d+44>>2]-l|0}o=C[m>>2];while(1){Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{switch(o|0){case 1:n=C[m+12>>2];break Oa;case 3:n=C[m+12>>2];g=e;k=h;break Ma;case 5:o=C[m+12>>2];g=e;n=h;break Ka;case 9:break Ga;case 8:break Ha;case 7:break Ia;case 6:break Ja;case 4:break La;case 2:break Na;case 0:break Pa;default:break Ea}}C[m>>2]=1;n=D[m+16|0];C[m+12>>2]=n;C[m+8>>2]=C[m+20>>2]}Qa:{if(i>>>0>=n>>>0){g=i;c=e;k=h;break Qa}if(!h){break z}c=e+1|0;k=h-1|0;b=D[e|0]<>>0<=g>>>0){break Qa}while(1){if(!k){break z}k=k-1|0;b=D[c|0]<>>0>g>>>0){continue}break}}h=g;e=C[m+8>>2]+((C[(n<<2)+282048>>2]&b)<<3)|0;g=D[e+1|0];i=h-g|0;b=b>>>g|0;Ra:{g=D[e|0];Sa:{if(!g){e=C[e+4>>2];C[m>>2]=6;C[m+8>>2]=e;e=6;break Sa}if(g&16){C[m+8>>2]=g&15;e=C[e+4>>2];C[m>>2]=2;C[m+4>>2]=e;e=2;break Sa}if(!(g&64)){C[m+12>>2]=g;C[m+8>>2]=e+(C[e+4>>2]<<3);e=1;break Sa}if(!(g&32)){break Ra}C[m>>2]=7;e=7}o=e;e=c;h=k;continue}C[m>>2]=9;C[a+24>>2]=18718;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=k;b=C[a>>2];C[a>>2]=c;C[a+8>>2]=C[a+8>>2]+(c-b|0);break Fa}o=C[m+8>>2];Ta:{if(o>>>0<=i>>>0){c=i;g=e;k=h;break Ta}if(!h){break A}g=e+1|0;k=h-1|0;b=D[e|0]<>>0<=c>>>0){break Ta}while(1){if(!k){break A}k=k-1|0;b=D[g|0]<>>0>c>>>0){continue}break}}C[m>>2]=3;n=D[m+17|0];C[m+12>>2]=n;C[m+8>>2]=C[m+24>>2];C[m+4>>2]=C[m+4>>2]+(C[(o<<2)+282048>>2]&b);i=c-o|0;b=b>>>o|0}Ua:{if(i>>>0>=n>>>0){c=i;e=g;h=k;break Ua}if(!k){break B}e=g+1|0;h=k-1|0;b=D[g|0]<>>0<=c>>>0){break Ua}while(1){if(!h){break B}h=h-1|0;b=D[e|0]<>>0>c>>>0){continue}break}}i=c;k=C[(n<<2)+282048>>2]&b;n=C[m+8>>2];c=(k<<3)+n|0;g=D[c+1|0];i=i-g|0;b=b>>>g|0;g=D[c|0];if(g&16){C[m+8>>2]=g&15;c=C[c+4>>2];o=4;C[m>>2]=4;C[m+12>>2]=c;continue}if(!(g&64)){C[m+12>>2]=g;o=3;C[m+8>>2]=c+(C[(n+(k<<3)|0)+4>>2]<<3);continue}C[m>>2]=9;C[a+24>>2]=18746;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break Fa}k=C[m+8>>2];Va:{if(k>>>0<=i>>>0){c=i;g=e;n=h;break Va}if(!h){break C}g=e+1|0;n=h-1|0;b=D[e|0]<>>0<=c>>>0){break Va}while(1){if(!n){break C}n=n-1|0;b=D[g|0]<>>0>c>>>0){continue}break}}C[m>>2]=5;o=C[m+12>>2]+(C[(k<<2)+282048>>2]&b)|0;C[m+12>>2]=o;i=c-k|0;b=b>>>k|0}c=C[d+40>>2];e=l-o|0;if(c>>>0>e>>>0){h=C[d+44>>2]-c|0;while(1){e=e+h|0;if(e>>>0>>0){continue}break}}if(C[m+4>>2]){Wa:{if(f){c=l;break Wa}Xa:{if(C[d+44>>2]!=(l|0)){c=l;break Xa}f=C[d+48>>2];if((f|0)==(c|0)){c=l;break Xa}f=c>>>0>>0?f+(c^-1)|0:l-c|0;if(f){break Wa}}C[d+52>>2]=c;l=hg(d,a,j);j=C[d+52>>2];h=C[d+48>>2];Ya:{if(j>>>0>=h>>>0){c=C[d+44>>2];f=c-j|0;break Ya}c=C[d+44>>2];f=h+(j^-1)|0}Za:{if((c|0)!=(j|0)){c=j;break Za}c=C[d+40>>2];if((h|0)==(c|0)){c=j;break Za}f=c>>>0>>0?h+(c^-1)|0:j-c|0}if(!f){break D}}A[c|0]=D[e|0];e=e+1|0;k=C[d+44>>2];if((e|0)==(k|0)){e=C[d+40>>2]}f=f-1|0;c=c+1|0;h=C[m+4>>2]-1|0;C[m+4>>2]=h;j=0;if(h){while(1){_a:{if(f){break _a}$a:{if((c|0)!=(k|0)){break $a}c=C[d+40>>2];f=C[d+48>>2];if((c|0)==(f|0)){c=k;break $a}f=c>>>0>>0?f+(c^-1)|0:k-c|0;if(f){break _a}}C[d+52>>2]=c;l=hg(d,a,0);h=C[d+52>>2];k=C[d+48>>2];ab:{if(h>>>0>>0){c=C[d+44>>2];f=k+(h^-1)|0;break ab}c=C[d+44>>2];f=c-h|0}bb:{if((c|0)!=(h|0)){c=h;break bb}c=C[d+40>>2];if((k|0)==(c|0)){c=h;break bb}f=c>>>0>>0?k+(c^-1)|0:h-c|0}if(!f){break D}}A[c|0]=D[e|0];e=e+1|0;k=C[d+44>>2];if((e|0)==(k|0)){e=C[d+40>>2]}f=f-1|0;c=c+1|0;h=C[m+4>>2]-1|0;C[m+4>>2]=h;if(h){continue}break}}l=c}o=0;C[m>>2]=0;e=g;h=n;continue}if(f){c=l;break Da}cb:{if(C[d+44>>2]!=(l|0)){c=l;break cb}c=C[d+40>>2];f=C[d+48>>2];if((c|0)==(f|0)){c=l;break cb}f=c>>>0>>0?f+(c^-1)|0:l-c|0;if(f){break Da}}C[d+52>>2]=c;l=hg(d,a,j);j=C[d+52>>2];g=C[d+48>>2];db:{if(j>>>0>>0){c=C[d+44>>2];f=g+(j^-1)|0;break db}c=C[d+44>>2];f=c-j|0}eb:{if((c|0)!=(j|0)){c=j;break eb}c=C[d+40>>2];if((g|0)==(c|0)){c=j;break eb}f=c>>>0>>0?g+(c^-1)|0:j-c|0}if(f){break Da}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=c;b=hg(d,a,l);break x}C[d+52>>2]=l;c=i>>>0>7;i=c?i-8|0:i;h=c+h|0;e=e-c|0;c=hg(d,a,j);l=C[d+52>>2];if((l|0)!=C[d+48>>2]){C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);b=hg(d,a,c);break x}C[m>>2]=8}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;b=hg(d,a,1);break x}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0)}C[d+52>>2]=l;b=hg(d,a,-3);break x}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;b=hg(d,a,-2);break x}A[c|0]=C[m+8>>2];o=0;C[m>>2]=0;f=f-1|0;l=c+1|0;j=0;continue}}C[d+52>>2]=l;c=hg(d,a,-3);break r}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=n;b=C[a>>2];C[a>>2]=g;C[a+8>>2]=C[a+8>>2]+(g-b|0);C[d+52>>2]=c;b=hg(d,a,l);break x}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c;break y}C[d+32>>2]=b;C[d+28>>2]=(k<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=g+k|0;C[a>>2]=c;break y}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c;break y}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c}C[a+8>>2]=C[a+8>>2]+(c-b|0);C[d+52>>2]=l;b=hg(d,a,j)}if((b|0)!=1){c=hg(d,a,b);break r}Fe[C[a+36>>2]](C[a+40>>2],C[d+4>>2]);l=C[d+52>>2];b=C[d+48>>2];fb:{if(l>>>0>>0){c=b+(l^-1)|0;break fb}c=C[d+44>>2]-l|0}i=C[d+28>>2];b=C[d+32>>2];h=C[a+4>>2];e=C[a>>2];if(!C[d+24>>2]){j=0;C[d>>2]=0;continue}break}C[d>>2]=7;j=0}C[d+52>>2]=l;c=hg(d,a,j);l=C[d+52>>2];if((l|0)!=C[d+48>>2]){C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);c=hg(d,a,c);break r}C[d>>2]=8}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,1);break r}C[d+32>>2]=b;C[d+28>>2]=(g<<3)+f;C[a+4>>2]=0;b=C[a>>2];c=g+k|0;C[a>>2]=c;C[a+8>>2]=C[a+8>>2]+(c-b|0);break s}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c;C[a+8>>2]=C[a+8>>2]+(c-b|0)}C[d+52>>2]=l;c=hg(d,a,j)}b=q;gb:{switch(c+3|0){case 0:b=C[a+28>>2];C[b>>2]=13;C[b+4>>2]=0;j=-3;e=C[a+28>>2];continue;case 4:break gb;case 3:break e;default:break d}}b=C[a+28>>2];c=C[b+20>>2];C[b+4>>2]=C[c+60>>2];b=C[c>>2];if((b&-2)==4){Fe[C[a+36>>2]](C[a+40>>2],C[c+12>>2]);b=C[c>>2]}if((b|0)==6){Fe[C[a+36>>2]](C[a+40>>2],C[c+4>>2])}C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;b=C[c+40>>2];C[c+52>>2]=b;C[c+48>>2]=b;b=C[c+56>>2];if(b){b=Fe[b|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b}e=C[a+28>>2];if(C[e+12>>2]){C[e>>2]=12;break b}C[e>>2]=8;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=D[b|0]<<24;e=C[a+28>>2];C[e>>2]=9;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<16);e=C[a+28>>2];C[e>>2]=10;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<8);e=C[a+28>>2];C[e>>2]=11;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+D[b|0];b=C[a+28>>2];if(C[b+4>>2]!=C[b+8>>2]){C[b>>2]=13;C[a+24>>2]=14312;C[b+4>>2]=5;break b}C[b>>2]=12;r=1;break a}r=b;break a}r=c;break a}C[e+4>>2]=5}e=C[a+28>>2];j=q;continue}}Ce=p+32|0;return r}function Gm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0;y=Ce-16|0;Ce=y;C[y+12>>2]=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);C[y+8>>2]=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);h=a;g=Ce-48|0;v=g;Ce=g;a:{if(!C[104355]){Qe(19786,0);break a}if(!h){Qe(9497,0);break a}if(!b){Qe(9497,0);break a}o=D[b|0];b:{if(o){e=1;a=o;c=b;while(1){e=(a<<24>>24<0?2:1)+e|0;a=D[c+1|0];c=c+1|0;if(a){continue}break}e=g-(e+15&-16)|0;Ce=e;c=e;while(1){b=b+1|0;if(o<<24>>24>=0){a=c+1|0}else{A[c+1|0]=o&63|128;o=(o&192)>>>6|-64;a=c+2|0}A[c|0]=o;c=a;o=D[b|0];if(o){continue}break}c=e;break b}a=g-16|0;Ce=a;c=a}A[a|0]=0;o=0;n=v+32|0;s=v+28|0;t=v+40|0;x=v+36|0;a=Ce-16|0;k=a;Ce=a;c:{d:{if(!C[104355]){Qe(19786,0);break d}if(!h){Qe(9497,0);break d}if(!c){Qe(9497,0);break d}C[h+22112>>2]=0;l=C[h+4>>2];b=df(1,172);if(b){C[b+40>>2]=1073741823;C[b+44>>2]=536870911;C[b>>2]=1;C[b+4>>2]=1;Jm(0);e=C[105772];e:{f:{if(e){break f}while(1){a=df(1,112);if(a){C[a>>2]=1;C[a+4>>2]=1;if(C[95591]){C[95591]=0}e=C[95590];if(e){C[95590]=e+1}C[a+12>>2]=382360;e=C[95595];C[a+16>>2]=C[95594];C[a+20>>2]=e;e=C[95597];C[a+24>>2]=C[95596];C[a+28>>2]=e;e=C[95599];C[a+32>>2]=C[95598];C[a+36>>2]=e;e=C[95601];C[a+40>>2]=C[95600];C[a+44>>2]=e;e=C[95603];C[a+48>>2]=C[95602];C[a+52>>2]=e;e=C[95605];C[a+56>>2]=C[95604];C[a+60>>2]=e;e=C[95607];g=a- -64|0;C[g>>2]=C[95606];C[g+4>>2]=e;e=C[95609];C[a+72>>2]=C[95608];C[a+76>>2]=e}else{a=382360}if(C[a+4>>2]){e=C[a+80>>2];if(e){Fe[e|0](C[a+48>>2])}C[a+16>>2]=798;C[a+80>>2]=0;C[a+48>>2]=0}if(C[a+4>>2]){e=C[a+88>>2];if(e){Fe[e|0](C[a+56>>2])}C[a+24>>2]=799;C[a+88>>2]=0;C[a+56>>2]=0}if(C[a+4>>2]){e=C[a+92>>2];if(e){Fe[e|0](C[a+60>>2])}C[a+28>>2]=800;C[a+92>>2]=0;C[a+60>>2]=0}if(C[a+4>>2]){e=C[a+96>>2];if(e){Fe[e|0](C[a- -64>>2])}C[a+32>>2]=801;C[a+96>>2]=0;C[a- -64>>2]=0}if(C[a+4>>2]){e=C[a+100>>2];if(e){Fe[e|0](C[a+68>>2])}C[a+36>>2]=802;C[a+100>>2]=0;C[a+68>>2]=0}if(C[a+4>>2]){e=C[a+104>>2];if(e){Fe[e|0](C[a+72>>2])}C[a+40>>2]=803;C[a+104>>2]=0;C[a+72>>2]=0}if(C[a+4>>2]){C[a+4>>2]=0}a=a?a:382360;e=C[105772];if(!e){C[105772]=a;break e}if(!a){break f}if((a|0)!=382360){Jm(a)}e=C[105772];if(!e){continue}break}}a=e}g:{if(!a){break g}e=C[a>>2];if(!e){break g}C[a>>2]=e+1}A[b+72|0]=1;C[b+24>>2]=65533;C[b+12>>2]=a}else{b=381456}e=b;if(!e){Qe(10928,0);break d}if(C[e+4>>2]){C[e+52>>2]=C[94432]}if(C[e+4>>2]){C[e+56>>2]=C[94433]}j=Ce-16|0;Ce=j;h:{if(!C[e+4>>2]){break h}p=C[e+24>>2];m=af(c);if(m>>>0>268435455){break h}a=C[e+80>>2]+(m>>>2|0)|0;if(!(!a|a>>>0>2])){if(!aj(e,a)){break h}}a=c;i:{if((m|0)<=0){b=a;break i}z=a+m|0;while(1){b=br(a,z,j+8|0,p);E=C[j+8>>2];d=C[e+80>>2];g=d+1|0;j:{if(!(!g|g>>>0>2])){if(!aj(e,g)){break j}d=C[e+80>>2]}g=C[e+92>>2]+I(d,20)|0;C[g+4>>2]=0;C[g+8>>2]=0;C[g>>2]=E;C[g+12>>2]=0;C[g+16>>2]=0;C[g+8>>2]=a-c;C[g+4>>2]=0;C[e+80>>2]=C[e+80>>2]+1}a=b;if(z>>>0>a>>>0){continue}break}}C[e+152>>2]=0;a=c+m|0;k:{if(a>>>0<=b>>>0){break k}while(1){b=br(b,a,j+4|0,p);c=C[j+4>>2];g=C[e+152>>2];C[e+152>>2]=g+1;C[(e+(g<<2)|0)+128>>2]=c;if(a>>>0<=b>>>0){break k}if(F[e+152>>2]<=4){continue}break}}C[e+48>>2]=1}Ce=j+16|0;d=C[h+22128>>2];m=C[d+16>>2];z=e+52|0;E=C[d+64>>2];J=C[d+60>>2];g=Ce-48|0;Ce=g;l:{if(C[m>>2]>0){while(1){c=C[m+200>>2];if(!gx(g+4|0,m,z,E,J)){a=205712;break l}b=c;if(b){while(1){a=0;m:{j=C[b>>2];if(C[j+16>>2]!=C[g+4>>2]|C[j+20>>2]!=C[g+8>>2]|(C[j+24>>2]!=C[g+12>>2]|C[j+28>>2]!=C[g+16>>2])){p=a}else{p=C[j+32>>2]==C[g+20>>2]}if(!p){break m}G=C[j+40>>2];if((G|0)!=C[g+28>>2]){break m}if(G){H=C[j+36>>2];p=C[g+24>>2];if(C[H>>2]!=C[p>>2]){break m}M=0;if(C[H+4>>2]!=C[p+4>>2]){break m}while(1){n:{o:{p:{w=a<<4;B=w+H|0;if(!C[B+8>>2]){B=C[B+12>>2];w=p+w|0;if(!C[w+8>>2]){break p}if((B|0)!=-1){break o}break n}w=p+w|0;if(C[w+8>>2]|C[w+12>>2]!=-1){break o}break n}if((B|0)==-1^C[w+12>>2]==-1){break n}}a=a+1|0;M=G>>>0<=a>>>0;if((a|0)==(G|0)){break n}w=a<<4;B=w+H|0;w=p+w|0;if(C[B>>2]!=C[w>>2]){break n}if(C[B+4>>2]==C[w+4>>2]){continue}}break}if(!M){break m}}if((D[g+32|0]|D[g+33|0]<<8|(D[g+34|0]<<16|D[g+35|0]<<24))!=(D[j+44|0]|D[j+45|0]<<8|(D[j+46|0]<<16|D[j+47|0]<<24))|(D[j+48|0]|D[j+49|0]<<8|(D[j+50|0]<<16|D[j+51|0]<<24))!=(D[g+36|0]|D[g+37|0]<<8|(D[g+38|0]<<16|D[g+39|0]<<24))|C[j+52>>2]!=C[g+40>>2]){break m}a=C[b>>2];if(!a){a=0;break l}b=C[a>>2];if(!b){break l}C[a>>2]=b+1;break l}b=C[b+4>>2];if(b){continue}break}}a=fx(m,z,E,J);b=df(1,8);if(!b){break l}C[b+4>>2]=c;C[b>>2]=a;if((c|0)==C[m+200>>2]){C[m+200>>2]=b;if(!a){a=0;break l}b=C[a>>2];if(!b){break l}C[a>>2]=b+1;break l}Cp(a);Re(b);if(C[m>>2]>0){continue}break}}a=fx(m,z,E,J)}Ce=g+48|0;q:{r:{if(!C[e+80>>2]){break r}if(C[a>>2]<=0){break q}b=C[a+52>>2];if((b|0)==796){s:{if(C[d+88>>2]){break s}while(1){if(!C[d+84>>2]){break q}if(!C[d+88>>2]){C[d+88>>2]=1;break s}if(!C[d+88>>2]){continue}break}}if(hx(a,d,e,0,0)){break r}break q}if((b|0)!=797){break q}t:{if(C[d+92>>2]){break t}while(1){if(!C[d+84>>2]){break q}if(!C[d+92>>2]){C[d+92>>2]=1;break t}if(!C[d+92>>2]){continue}break}}if(!Wq(a,d,e,0,0)){break q}}if(C[e+48>>2]!=1){break q}C[e+48>>2]=2}Cp(a);a=k+12|0;if(a){C[a>>2]=C[e+80>>2]}j=C[e+92>>2];m=dr(e,a);u:{v:{if(C[k+12>>2]){while(1){b=I(K,20);a=b+m|0;p=C[a+12>>2];z=C[a+8>>2];E=C[a>>2];w:{g=C[b+j>>2];c=h+I(g&255,84)|0;a=c+52|0;x:{if(!C[a>>2]){break x}if((g|0)==C[c+56>>2]){break w}C[a>>2]=0;C[c+56>>2]=0;b=C[c+84>>2];if(b){if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[c+84>>2]=0}b=C[c+60>>2];if(!b){break x}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[c+60>>2]=0}C[c+56>>2]=g;if(!dl(h,a,16,0)){break w}a=14881;break u}b=C[h+22108>>2];d=C[h+22112>>2];a=C[h+22116>>2];y:{if(d>>>0>>0){a=b;break y}C[h+22116>>2]=a<<1;a=Sf(b,I(a,24));C[h+22108>>2]=a;if(!a){break v}d=C[h+22112>>2]}b=C[h+8>>2];a=I(d,12)+a|0;z=z+L|0;C[a+4>>2]=z;C[a>>2]=g;g=a;a=(b<<6)-p|0;C[g+8>>2]=a;C[h+22112>>2]=d+1;a=(a>>6)-C[c+112>>2]|0;i=(a|0)>(i|0)?i:a;b=C[c+108>>2]+(z>>6)|0;u=(b|0)>(u|0)?u:b;a=a+C[c+120>>2]|0;l=(a|0)<(l|0)?l:a;a=b+C[c+116>>2]|0;r=(a|0)<(r|0)?r:a;L=E+L|0;K=K+1|0;if(K>>>0>2]){continue}break}a=L>>6}else{a=0}if(t){b=0-u&u>>31;C[t>>2]=b;C[t>>2]=b+C[h+24>>2]}if(x){b=0-i&i>>31;C[x>>2]=b;C[x>>2]=b+C[h+24>>2]}z:{if(!n){break z}a=(a|0)<(r|0)?r:a;b=a-u|0;C[n>>2]=b;if((a|0)==(u|0)){break z}C[n>>2]=b+(C[h+24>>2]<<1)}if(s){a=l-i|0;C[s>>2]=a;C[s>>2]=a+(C[h+24>>2]<<1)}er(e);a=0;break c}C[h+22108>>2]=b;a=1277}Qe(a,0);er(e)}a=-1}Ce=k+16|0;A:{if((a|0)>=0){a=C[v+32>>2];if(a){break A}}Qe(14768,0);break a}b=D[y+15|0];i=b?b:-1;A[y+15|0]=i;b=D[y+11|0];A[y+11|0]=b?b:-1;C[v+12>>2]=D[y+12|0]|D[y+13|0]<<8|(D[y+14|0]<<16|D[y+15|0]<<24);b=C[v+28>>2];m=D[v+14|0]|(D[v+13|0]<<8|D[v+12|0]<<16);k=D[v+15|0];C[v+44>>2]=m|k<<24;g=0;B:{if(!a){break B}c=(a<<2)+35&-8;u=I(c,b);e=u+11|0;C:{if((e|0)<0){break C}j=Fe[C[94503]](e>>>0<=1?1:e)|0;if(j){C[94507]=C[94507]+1}if(!j){break C}f=j+11&-8;C[f-4>>2]=j;e=0;d=Ce-48|0;Ce=d;g=a;D:{if((a|0)<0){C[d>>2]=14820;Qe(19745,d);break D}if((b|0)<0){C[d+16>>2]=4382;Qe(19745,d+16|0);break D}e=mT(g,0,4,0);a=-1;E:{if(Ee){break E}a=e}e=0;if(!(a>>>0<=c>>>0&(c|0)>=0)){C[d+32>>2]=14968;Qe(19745,d+32|0);break D}a=Vh(0,0,372645892);if(!a){break D}C[a+20>>2]=f;C[a+36>>2]=0;C[a+40>>2]=0;C[a+16>>2]=c;C[a+12>>2]=b;C[a+8>>2]=g;C[a+48>>2]=b;C[a+44>>2]=g;C[a>>2]=C[a>>2]|1;e=a}Ce=d+48|0;b=e;if(!b){if(j){Fe[C[94506]](j);C[94507]=C[94507]-1}g=0;break B}C[b>>2]=C[b>>2]&-10|8;F:{if(!u){break F}d=(u>>2)+3>>>2|0;a=(u&8)!=0;while(1){if(!a){C[f+4>>2]=m;C[f>>2]=m;f=f+8|0;a=1;continue}C[f+4>>2]=m;C[f>>2]=m;f=f+8|0;d=d-1|0;if(!d){break F}a=0;continue}}if(b?(k|0)!=255:0){zg(b,1)}f=b}g=f}if(!g){break a}b=C[h+22124>>2];m=C[v+40>>2];u=C[v+36>>2];j=h;a=C[h+22112>>2];G:{H:{I:{h=i&255;if((h|0)==255){if(!b){if(!a){break H}while(1){b=C[j+22108>>2]+I(q,12)|0;a=C[b>>2];h=j+I(a&255,84)|0;f=C[b+8>>2];i=C[b+4>>2];b=h+52|0;c=C[b>>2];J:{K:{L:{if(c&2){c=C[h+56>>2];if((a|0)!=(c|0)){break L}break J}if(!c){break K}c=C[h+56>>2]}if((a|0)==(c|0)){break K}C[b>>2]=0;C[h+56>>2]=0;c=C[h+84>>2];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[h+84>>2]=0}c=C[h+60>>2];if(!c){break K}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[h+60>>2]=0}C[h+56>>2]=a;if(dl(j,b,18,0)){break I}}e=C[h+96>>2];k=C[h+84>>2];d=k+7|0;C[h+84>>2]=d;a=C[h+88>>2]+(m+(i>>6)|0)|0;b=(u+(f>>6)|0)-C[h+92>>2]|0;f=C[g+8>>2];i=C[g+12>>2];c=C[h+100>>2];M:{if(!((a|b)<0|((f|0)<(a+e|0)|(i|0)<(b+c|0)))){i=d;f=b;b=C[g+16>>2];d=(C[g+20>>2]+I(f,b)|0)+(a<<2)|0;f=d>>>2&1;a=i-f|0;C[h+84>>2]=a;i=(e+f|0)+7&-8;C[h+96>>2]=i;if(c){f=i>>>2|0;l=b-(i<<2)|0;p=C[h+104>>2]-i|0;d=d&-8;while(1){c=c-1|0;b=f;if((i|0)>=4){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;r=(b|0)>1;b=b-1|0;if(r){continue}break}}d=d+l|0;a=a+p|0;if(c){continue}break}}C[h+96>>2]=e;break M}l=a>>31;e=e+(l&a)|0;p=(a|0)>0?a:0;f=e+(p-f|0)|0;f=e-((f|0)>0?f:0)|0;if((f|0)<=0){break M}r=b>>31;e=c+(r&b)|0;n=(b|0)>0?b:0;c=e+(n-i|0)|0;e=e-((c|0)>0?c:0)|0;if((e|0)<=0){break M}c=C[h+104>>2];f=(f|0)>0?f:0;s=c-f|0;i=C[g+16>>2];t=i-(f<<2)|0;a=(d+(l&0-a)|0)+(r&0-I(b,c))|0;d=(C[g+20>>2]+I(i,n)|0)+(p<<2)|0;i=f&3;l=f-1|0;while(1){c=0;b=f;if(i){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;b=b-1|0;d=d+4|0;a=a+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}if(l>>>0>=3){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;c=b-5|0;b=b-4|0;if(c>>>0<4294967294){continue}break}}d=d+t|0;a=a+s|0;e=e-1|0;if(e){continue}break}}C[h+84>>2]=k;d=0;q=q+1|0;if(q>>>0>2]){continue}break}break G}if(!a){break H}while(1){a=C[j+22108>>2]+I(q,12)|0;i=C[a+4>>2];b=i&63;k=C[a+8>>2];c=C[a>>2];h=j+I(c&255,84)|0;a=h+52|0;N:{if(!C[a>>2]|(c|0)==C[h+56>>2]){break N}C[a>>2]=0;C[h+56>>2]=0;f=C[h+84>>2];if(f){if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}C[h+84>>2]=0}f=C[h+60>>2];if(!f){break N}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}C[h+60>>2]=0}f=(b|0)==C[h+132>>2]?18:22;if((f&C[a>>2])!=(f|0)){C[h+56>>2]=c;if(dl(j,a,f,b)){break I}}e=C[h+96>>2];l=C[h+84>>2];d=l+7|0;C[h+84>>2]=d;a=(u+(k>>6)|0)-C[h+92>>2]|0;b=C[h+88>>2]+(m+(i>>6)|0)|0;f=C[g+8>>2];i=C[g+12>>2];c=C[h+100>>2];O:{if(!((a|b)<0|((f|0)<(b+e|0)|(i|0)<(a+c|0)))){i=d;d=C[g+16>>2];b=(C[g+20>>2]+I(d,a)|0)+(b<<2)|0;f=b>>>2&1;a=i-f|0;C[h+84>>2]=a;i=(e+f|0)+7&-8;C[h+96>>2]=i;if(c){f=i>>>2|0;k=d-(i<<2)|0;p=C[h+104>>2]-i|0;d=b&-8;while(1){c=c-1|0;b=f;if((i|0)>=4){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;r=(b|0)>1;b=b-1|0;if(r){continue}break}}d=d+k|0;a=a+p|0;if(c){continue}break}}C[h+96>>2]=e;break O}k=b>>31;e=e+(k&b)|0;p=(b|0)>0?b:0;f=e+(p-f|0)|0;f=e-((f|0)>0?f:0)|0;if((f|0)<=0){break O}r=a>>31;e=c+(r&a)|0;n=(a|0)>0?a:0;c=e+(n-i|0)|0;e=e-((c|0)>0?c:0)|0;if((e|0)<=0){break O}c=C[h+104>>2];f=(f|0)>0?f:0;s=c-f|0;i=C[g+16>>2];t=i-(f<<2)|0;a=(d+(k&0-b)|0)+(r&0-I(a,c))|0;d=(C[g+20>>2]+I(i,n)|0)+(p<<2)|0;i=f&3;k=f-1|0;while(1){c=0;b=f;if(i){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;b=b-1|0;d=d+4|0;a=a+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}if(k>>>0>=3){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;c=b-5|0;b=b-4|0;if(c>>>0<4294967294){continue}break}}d=d+t|0;a=a+s|0;e=e-1|0;if(e){continue}break}}C[h+84>>2]=l;q=q+1|0;if(q>>>0>2]){continue}break}break H}if(!b){if(!a){break H}while(1){b=C[j+22108>>2]+I(q,12)|0;a=C[b>>2];f=j+I(a&255,84)|0;k=C[b+8>>2];l=C[b+4>>2];b=f+52|0;c=C[b>>2];P:{Q:{R:{if(c&2){e=C[f+56>>2];if((a|0)!=(e|0)){break R}break P}if(!c){break Q}e=C[f+56>>2]}if((a|0)==(e|0)){break Q}C[b>>2]=0;C[f+56>>2]=0;c=C[f+84>>2];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[f+84>>2]=0}c=C[f+60>>2];if(!c){break Q}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[f+60>>2]=0}C[f+56>>2]=a;if(dl(j,b,18,0)){break I}}i=C[f+96>>2];p=C[f+84>>2];d=p+7|0;C[f+84>>2]=d;b=(u+(k>>6)|0)-C[f+92>>2]|0;c=C[f+88>>2]+(m+(l>>6)|0)|0;a=C[g+8>>2];k=C[g+12>>2];e=C[f+100>>2];S:{if(!((b|c)<0|((a|0)<(c+i|0)|(k|0)<(b+e|0)))){k=d;d=C[g+16>>2];c=(C[g+20>>2]+I(d,b)|0)+(c<<2)|0;a=c>>>2&1;b=k-a|0;C[f+84>>2]=b;k=(a+i|0)+7&-8;C[f+96>>2]=k;if(e){a=k>>>2|0;l=d-(k<<2)|0;r=C[f+104>>2]-k|0;d=c&-8;while(1){e=e-1|0;c=a;if((k|0)>=4){while(1){n=D[b+3|0];s=D[b+2|0];t=D[b+1|0];x=I(h,D[b|0]);C[d>>2]=C[d>>2]|((x>>>8|0)+x<<16)+65536&-16777216;t=I(h,t);C[d+4>>2]=C[d+4>>2]|((t>>>8|0)+t<<16)+65536&-16777216;s=I(h,s);C[d+8>>2]=C[d+8>>2]|((s>>>8|0)+s<<16)+65536&-16777216;n=I(h,n);C[d+12>>2]=C[d+12>>2]|((n>>>8|0)+n<<16)+65536&-16777216;d=d+16|0;b=b+4|0;n=(c|0)>1;c=c-1|0;if(n){continue}break}}d=d+l|0;b=b+r|0;if(e){continue}break}}C[f+96>>2]=i;break S}l=c>>31;i=i+(l&c)|0;r=(c|0)>0?c:0;a=i+(r-a|0)|0;a=i-((a|0)>0?a:0)|0;if((a|0)<=0){break S}i=b>>31;n=(i&b)+e|0;s=(b|0)>0?b:0;e=n+(s-k|0)|0;e=n-((e|0)>0?e:0)|0;if((e|0)<=0){break S}k=C[f+104>>2];a=(a|0)>0?a:0;n=k-a|0;t=C[g+16>>2];x=t-(a<<2)|0;b=(d+(l&0-c)|0)+(i&0-I(b,k))|0;d=(C[g+20>>2]+I(s,t)|0)+(r<<2)|0;i=a-1|0;k=a&1;while(1){if(k){c=I(h,D[b|0]);C[d>>2]=C[d>>2]|((c>>>8|0)+c<<16)+65536&-16777216;d=d+4|0;b=b+1|0;c=i}else{c=a}if((a|0)!=1){while(1){l=I(h,D[b|0]);C[d>>2]=C[d>>2]|((l>>>8|0)+l<<16)+65536&-16777216;l=I(h,D[b+1|0]);C[d+4>>2]=C[d+4>>2]|((l>>>8|0)+l<<16)+65536&-16777216;d=d+8|0;b=b+2|0;l=c-3|0;c=c-2|0;if(l>>>0<4294967294){continue}break}}d=d+x|0;b=b+n|0;e=e-1|0;if(e){continue}break}}C[f+84>>2]=p;q=q+1|0;if(q>>>0>2]){continue}break}break H}if(!a){break H}while(1){a=C[j+22108>>2]+I(q,12)|0;k=C[a+4>>2];b=k&63;l=C[a+8>>2];c=C[a>>2];f=j+I(c&255,84)|0;a=f+52|0;T:{if(!C[a>>2]|(c|0)==C[f+56>>2]){break T}C[a>>2]=0;C[f+56>>2]=0;e=C[f+84>>2];if(e){if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}C[f+84>>2]=0}e=C[f+60>>2];if(!e){break T}if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}C[f+60>>2]=0}e=(b|0)==C[f+132>>2]?18:22;if((e&C[a>>2])!=(e|0)){C[f+56>>2]=c;if(dl(j,a,e,b)){break I}}i=C[f+96>>2];p=C[f+84>>2];d=p+7|0;C[f+84>>2]=d;b=(u+(l>>6)|0)-C[f+92>>2]|0;c=C[f+88>>2]+(m+(k>>6)|0)|0;a=C[g+8>>2];k=C[g+12>>2];e=C[f+100>>2];U:{if(!((b|c)<0|((a|0)<(c+i|0)|(k|0)<(b+e|0)))){k=d;d=C[g+16>>2];c=(C[g+20>>2]+I(d,b)|0)+(c<<2)|0;a=c>>>2&1;b=k-a|0;C[f+84>>2]=b;k=(a+i|0)+7&-8;C[f+96>>2]=k;if(e){a=k>>>2|0;l=d-(k<<2)|0;r=C[f+104>>2]-k|0;d=c&-8;while(1){e=e-1|0;c=a;if((k|0)>=4){while(1){n=D[b+3|0];s=D[b+2|0];t=D[b+1|0];x=I(h,D[b|0]);C[d>>2]=C[d>>2]|((x>>>8|0)+x<<16)+65536&-16777216;t=I(h,t);C[d+4>>2]=C[d+4>>2]|((t>>>8|0)+t<<16)+65536&-16777216;s=I(h,s);C[d+8>>2]=C[d+8>>2]|((s>>>8|0)+s<<16)+65536&-16777216;n=I(h,n);C[d+12>>2]=C[d+12>>2]|((n>>>8|0)+n<<16)+65536&-16777216;d=d+16|0;b=b+4|0;n=(c|0)>1;c=c-1|0;if(n){continue}break}}d=d+l|0;b=b+r|0;if(e){continue}break}}C[f+96>>2]=i;break U}l=c>>31;i=i+(l&c)|0;r=(c|0)>0?c:0;a=i+(r-a|0)|0;a=i-((a|0)>0?a:0)|0;if((a|0)<=0){break U}i=b>>31;n=(i&b)+e|0;s=(b|0)>0?b:0;e=n+(s-k|0)|0;e=n-((e|0)>0?e:0)|0;if((e|0)<=0){break U}k=C[f+104>>2];a=(a|0)>0?a:0;n=k-a|0;t=C[g+16>>2];x=t-(a<<2)|0;b=(d+(l&0-c)|0)+(i&0-I(b,k))|0;d=(C[g+20>>2]+I(s,t)|0)+(r<<2)|0;i=a-1|0;k=a&1;while(1){if(k){c=I(h,D[b|0]);C[d>>2]=C[d>>2]|((c>>>8|0)+c<<16)+65536&-16777216;d=d+4|0;b=b+1|0;c=i}else{c=a}if((a|0)!=1){while(1){l=I(h,D[b|0]);C[d>>2]=C[d>>2]|((l>>>8|0)+l<<16)+65536&-16777216;l=I(h,D[b+1|0]);C[d+4>>2]=C[d+4>>2]|((l>>>8|0)+l<<16)+65536&-16777216;d=d+8|0;b=b+2|0;l=c-3|0;c=c-2|0;if(l>>>0<4294967294){continue}break}}d=d+x|0;b=b+n|0;e=e-1|0;if(e){continue}break}}C[f+84>>2]=p;q=q+1|0;if(q>>>0>2]){continue}break}break H}Qe(14881,0);d=-1;break G}d=0}if((d|0)>=0){V:{if(!(D[j+20|0]&4)){break V}o=C[j+40>>2];a=C[j+44>>2]+C[v+36>>2]|0;c=(o+a|0)-C[g+12>>2]|0;b=C[g+16>>2];a=C[g+20>>2]+I(a,b)|0;q=o-((c|0)>0?c:0)|0;if(!q){break V}m=C[v+44>>2];c=C[g+8>>2];o=C[v+32>>2];u=(c|0)<(o|0)?c:o;i=u&3;c=u+3>>>2|0;while(1){q=q-1|0;if(u){h=c;e=a;o=a;f=a;d=a;W:{X:{switch(i-1|0){default:b=0;break W;case 0:b=3;break W;case 1:b=2;break W;case 2:break X}}b=1}while(1){Y:{switch(b|0){case 0:C[e>>2]=m;o=e+4|0;b=1;continue;case 1:C[o>>2]=m;f=o+4|0;b=2;continue;case 2:C[f>>2]=m;d=f+4|0;b=3;continue;default:break Y}}C[d>>2]=m;e=d+4|0;h=h-1|0;if(h){b=0;continue}else{b=C[g+16>>2]}break}}a=a+b|0;if(q){continue}break}}if(!(D[j+20|0]&8)){o=g;break a}o=C[j+40>>2];a=C[j+48>>2]+C[v+36>>2]|0;c=(o+a|0)-C[g+12>>2]|0;b=C[g+8>>2];f=C[v+32>>2];m=(b|0)<(f|0)?b:f;b=C[g+16>>2];a=C[g+20>>2]+I(a,b)|0;d=o-((c|0)>0?c:0)|0;if(!d){o=g;break a}q=C[v+44>>2];u=m&3;j=m+3>>>2|0;while(1){d=d-1|0;if(m){h=j;e=a;c=a;o=a;f=a;Z:{_:{switch(u-1|0){default:b=0;break Z;case 0:b=3;break Z;case 1:b=2;break Z;case 2:break _}}b=1}while(1){$:{switch(b|0){case 0:C[e>>2]=q;c=e+4|0;b=1;continue;case 1:C[c>>2]=q;o=c+4|0;b=2;continue;case 2:C[o>>2]=q;f=o+4|0;b=3;continue;default:break $}}C[f>>2]=q;e=f+4|0;h=h-1|0;if(h){b=0;continue}else{b=C[g+16>>2]}break}}a=a+b|0;if(d){continue}break}o=g;break a}Nf(g)}Ce=v+48|0;Ce=y+16|0;return o}function lF(a){a=a|0;var 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;g=Ce-32|0;Ce=g;b=C[a+40>>2];o=D[b+9|0];d=C[a+44>>2];j=C[d+24>>2]?D[a+63|0]:0;s=C[a+36>>2];c=C[a+20>>2];t=C[a+16>>2];e=C[a>>2];l=C[a+28>>2];a=C[a+24>>2];a:{b:{f=(o|0)!=4;n=D[d+9|0];if(!(f|(n|0)!=4)){if(C[b>>2]==372711428|C[d>>2]==372711428){break b}Ei(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!l){break a}r=a&7;f=(a+7|0)/8|0;c:while(1){l=l-1|0;m=f;d:{e:{switch(r-1|0){default:a=0;break d;case 0:a=7;break d;case 1:a=6;break d;case 2:a=5;break d;case 3:a=4;break d;case 4:a=3;break d;case 5:a=2;break d;case 6:break e}}a=1}while(1){f:{switch(a|0){case 0:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=1;continue;case 1:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=2;continue;case 2:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=3;continue;case 3:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=4;continue;case 4:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=5;continue;case 5:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=6;continue;case 6:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=7;continue;default:break f}}A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;a=m-1|0;c=c+4|0;e=e+4|0;g:{if((m|0)>1){m=a;break g}c=c+s|0;e=e+t|0;if(l){continue c}break a}a=0;continue}}}if(!((n|0)!=3|f)){if(C[b>>2]==372711428){break b}Ei(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!l){break a}j=a&7;f=(a+7|0)/8|0;h:while(1){l=l-1|0;m=f;i:{j:{switch(j-1|0){default:a=0;break i;case 0:a=7;break i;case 1:a=6;break i;case 2:a=5;break i;case 3:a=4;break i;case 4:a=3;break i;case 5:a=2;break i;case 6:break j}}a=1}while(1){k:{switch(a|0){case 0:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break k}}A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];a=m-1|0;c=c+3|0;e=e+4|0;l:{if((m|0)>1){m=a;break l}c=c+s|0;e=e+t|0;if(l){continue h}break a}a=0;continue}}}if((o|0)!=3|(n|0)!=4|C[d>>2]==372711428){break b}Ei(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!l){break a}r=a&7;f=(a+7|0)/8|0;m:while(1){l=l-1|0;m=f;n:{o:{switch(r-1|0){default:a=0;break n;case 0:a=7;break n;case 1:a=6;break n;case 2:a=5;break n;case 3:a=4;break n;case 4:a=3;break n;case 5:a=2;break n;case 6:break o}}a=1}while(1){p:{switch(a|0){case 0:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=1;continue;case 1:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=2;continue;case 2:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=3;continue;case 3:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=4;continue;case 4:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=5;continue;case 5:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=6;continue;case 6:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=7;continue;default:break p}}A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;a=m-1|0;c=c+4|0;e=e+3|0;q:{if((m|0)>1){m=a;break q}c=c+s|0;e=e+t|0;if(l){continue m}break a}a=0;continue}}}if(!l){break a}u=a&7;r=(a+7|0)/8|0;p=o-1|0;q=n-1|0;while(1){l=l-1|0;m=r;r:{s:{switch(u-1|0){default:a=7;break r;case 0:a=6;break r;case 1:a=5;break r;case 2:a=4;break r;case 3:a=3;break r;case 4:a=2;break r;case 5:a=1;break r;case 6:break s}}a=0}while(1){t:{u:{switch(a|0){case 0:a=0;h=0;f=0;v:{w:{x:{switch(p|0){case 0:f=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break w;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break w;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;f=(D[b+32|0]>>>3|0)+e|0;break w;case 3:break x;default:break v}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];h=D[h|0];f=D[f|0]}i=a&255;k=h&255;y:{z:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=f;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=a;break y;case 3:break z;default:break y}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break B;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break B;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}h=D[a|0];a=D[f|0];f=D[i|0]}i=a&255;k=h&255;D:{E:{switch(q|0){case 0:A[c|0]=i>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=i>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=f;A[(D[d+33|0]>>>3|0)+c|0]=a;A[(D[d+34|0]>>>3|0)+c|0]=h;break D;case 3:break E;default:break D}}C[c>>2]=i>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break G;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break G;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break G;case 3:break H;default:break F}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;I:{J:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break I;case 3:break J;default:break I}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;N:{O:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break N;case 3:break O;default:break N}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break Q;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break Q;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break Q;case 3:break R;default:break P}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;S:{T:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break S;case 3:break T;default:break S}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break V;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break V;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break V;case 3:break W;default:break U}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;X:{Y:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break X;case 3:break Y;default:break X}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;aa:{ba:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break aa;case 3:break ba;default:break aa}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break da;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break da;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;f=(D[b+32|0]>>>3|0)+e|0;break da;case 3:break ea;default:break ca}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];h=D[h|0];f=D[f|0]}i=a&255;k=h&255;fa:{ga:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=f;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=a;break fa;case 3:break ga;default:break fa}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2];k=C[b+24>>2]^-1;l=k&C[a+56>>2];t=C[a+36>>2];e=C[a+20>>2];u=C[a+16>>2];d=C[a>>2];m=C[a+28>>2];f=C[a+24>>2];a:{n=C[b>>2];c=C[a+44>>2];a=C[c>>2];if((n|0)==(a|0)){a=rT(n-372645892|0,12);if(!m|(a>>>0>5|!(1<>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=1;continue;case 1:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=2;continue;case 2:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=3;continue;case 3:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=4;continue;case 4:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=5;continue;case 5:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=6;continue;case 6:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=7;continue;default:break e}}a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}a=f-1|0;e=e+4|0;d=d+4|0;f:{if((f|0)>1){f=a;break f}e=e+t|0;d=d+u|0;if(m){continue b}break a}a=0;continue}}}g:{o=D[b+9|0];p=D[c+9|0];if(!((o|0)!=4|(p|0)!=4|(n|0)==372711428)){if((a|0)!=372711428){break g}}if(!m){break a}v=f&7;s=(f+7|0)/8|0;q=o-1|0;r=p-1|0;while(1){m=m-1|0;n=s;h:{i:{switch(v-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;i=0;f=0;g=0;h=0;l:{m:{switch(q|0){case 0:a=D[d|0];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break l;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break l;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break l;case 3:break m;default:break l}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}n:{if((a&k)==(l|0)){break n}o:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break n;case 3:break o;default:break n}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break p;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break p;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break p;case 3:break q;default:break p}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}r:{if((a&k)==(l|0)){break r}s:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break r;case 3:break s;default:break r}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break t;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break t;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break t;case 3:break u;default:break t}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}v:{if((a&k)==(l|0)){break v}w:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break v;case 3:break w;default:break v}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break x;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break x;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break x;case 3:break y;default:break x}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}z:{if((a&k)==(l|0)){break z}A:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break z;case 3:break A;default:break z}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break B;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break B;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break B;case 3:break C;default:break B}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}D:{if((a&k)==(l|0)){break D}E:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break D;case 3:break E;default:break D}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break F;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break F;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break F;case 3:break G;default:break F}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}H:{if((a&k)==(l|0)){break H}I:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break H;case 3:break I;default:break H}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break J;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break J;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break J;case 3:break K;default:break J}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}L:{if((a&k)==(l|0)){break L}M:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break L;case 3:break M;default:break L}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break N;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break N;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break N;case 3:break O;default:break N}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+381104>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}P:{if((a&k)==(l|0)){break P}Q:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break P;case 3:break Q;default:break P}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=1;continue;case 1:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=2;continue;case 2:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=3;continue;case 3:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=4;continue;case 4:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=5;continue;case 5:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=6;continue;case 6:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=7;continue;default:break U}}if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}a=f-1|0;e=e+4|0;d=d+4|0;V:{if((f|0)>1){f=a;break V}e=e+t|0;d=d+u|0;if(m){continue R}break a}a=0;continue}}}Ce=j+16|0}function sC(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0;l=C[a+4>>2];if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}o=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}m=D[l+31|0];n=C[(m<<2)+381104>>2];p=D[l+30|0];r=C[(p<<2)+381104>>2];s=D[l+29|0];t=C[(s<<2)+381104>>2];u=D[l+28|0];v=C[(u<<2)+381104>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];while(1){b=C[c>>2];C[c>>2]=((I(o,D[t+((b&C[l+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>s<>2])>>>k|0)|0])>>>0)/255|0)+g>>>u<>2])>>>e|0)|0])>>>0)/255|0)+i>>>p<>2])>>>d|0)|0])>>>0)/255|0)+j>>>m<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){j=d-b|0;m=a+(b<<2)|0;a=(k|0)!=0;break d}m=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}j=D[l+31|0];k=C[(j<<2)+381104>>2];n=D[l+30|0];o=C[(n<<2)+381104>>2];p=D[l+29|0];r=C[(p<<2)+381104>>2];s=D[l+28|0];t=C[(s<<2)+381104>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];while(1){a=C[m>>2];u=D[r+((a&C[l+16>>2])>>>e|0)|0]+h|0;q=(u>>>0>=255?255:u)>>>p<>2])>>>f|0)|0]+g|0;q=q|(u>>>0>=255?255:u)>>>s<>2])>>>d|0)|0]+i|0;C[m>>2]=q|(u>>>0>=255?255:u)>>>n<>2])>>>c|0)|0]>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){j=d-b|0;m=a+(b<<2)|0;a=(k|0)!=0;break e}m=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}j=D[l+31|0];k=C[(j<<2)+381104>>2];n=D[l+30|0];o=C[(n<<2)+381104>>2];p=D[l+29|0];r=C[(p<<2)+381104>>2];s=D[l+28|0];t=C[(s<<2)+381104>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];while(1){a=C[m>>2];C[m>>2]=(I(D[r+((a&C[l+16>>2])>>>e|0)|0],h)>>>0)/255>>>p<>2])>>>f|0)|0],g)>>>0)/255>>>s<>2])>>>d|0)|0],i)>>>0)/255>>>n<>2])>>>c|0)|0]>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}m=D[l+31|0];n=C[(m<<2)+381104>>2];p=D[l+30|0];r=C[(p<<2)+381104>>2];s=D[l+29|0];t=C[(s<<2)+381104>>2];u=D[l+28|0];v=C[(u<<2)+381104>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];while(1){b=C[c>>2];w=D[t+((b&C[l+16>>2])>>>f|0)|0];w=((I(w,h)>>>0)/255|0)+((I(o,w)>>>0)/255|0)|0;q=(w>>>0>=255?255:w)>>>s<>2])>>>k|0)|0];w=((I(w,g)>>>0)/255|0)+((I(o,w)>>>0)/255|0)|0;q=q|(w>>>0>=255?255:w)>>>u<>2])>>>e|0)|0];w=((I(w,i)>>>0)/255|0)+((I(o,w)>>>0)/255|0)|0;b=D[n+((b&C[l+24>>2])>>>d|0)|0];b=((I(b,j)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[c>>2]=q|(w>>>0>=255?255:w)>>>p<>>0>=255?255:b)>>>m<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;m=a+(b<<2)|0;a=(k|0)!=0;break g}m=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2]=a;m=m+4|0;b=b-1|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}if(c>>>0<7){break a}while(1){C[m+28>>2]=a;C[m+24>>2]=a;C[m+20>>2]=a;C[m+16>>2]=a;C[m+12>>2]=a;C[m+8>>2]=a;C[m+4>>2]=a;C[m>>2]=a;m=m+32|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}n=D[l+31|0];p=C[(n<<2)+381104>>2];r=D[l+30|0];s=C[(r<<2)+381104>>2];t=D[l+29|0];u=C[(t<<2)+381104>>2];v=D[l+28|0];w=C[(v<<2)+381104>>2];d=D[l+35|0];e=D[l+34|0];k=D[l+33|0];m=D[l+32|0];while(1){c=C[b>>2];C[b>>2]=((I(o,D[u+((c&C[l+16>>2])>>>k|0)|0])>>>0)/255|0)+h>>>t<>2])>>>m|0)|0])>>>0)/255|0)+g>>>v<>2])>>>e|0)|0])>>>0)/255|0)+i>>>r<>2])>>>d|0)|0])>>>0)/255|0)+j>>>n<>2]/D[l+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){m=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break j}m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+381104>>2];o=D[l+30|0];p=C[(o<<2)+381104>>2];r=D[l+29|0];s=C[(r<<2)+381104>>2];t=D[l+28|0];u=C[(t<<2)+381104>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];j=D[l+32|0];while(1){a=C[m>>2];v=D[s+((a&C[l+16>>2])>>>e|0)|0]+h|0;q=(v>>>0>=255?255:v)>>>r<>2])>>>j|0)|0]+g|0;q=q|(v>>>0>=255?255:v)>>>t<>2])>>>d|0)|0]+i|0;C[m>>2]=q|(v>>>0>=255?255:v)>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){m=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break k}m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+381104>>2];o=D[l+30|0];p=C[(o<<2)+381104>>2];r=D[l+29|0];s=C[(r<<2)+381104>>2];t=D[l+28|0];u=C[(t<<2)+381104>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];j=D[l+32|0];while(1){a=C[m>>2];C[m>>2]=(I(D[s+((a&C[l+16>>2])>>>e|0)|0],h)>>>0)/255>>>r<>2])>>>j|0)|0],g)>>>0)/255>>>t<>2])>>>d|0)|0],i)>>>0)/255>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}n=D[l+31|0];p=C[(n<<2)+381104>>2];r=D[l+30|0];s=C[(r<<2)+381104>>2];t=D[l+29|0];u=C[(t<<2)+381104>>2];v=D[l+28|0];w=C[(v<<2)+381104>>2];d=D[l+35|0];e=D[l+34|0];k=D[l+33|0];m=D[l+32|0];while(1){c=C[b>>2];q=D[u+((c&C[l+16>>2])>>>k|0)|0];q=((I(q,h)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=(q>>>0>=255?255:q)>>>t<>2])>>>m|0)|0];q=((I(q,g)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=x|(q>>>0>=255?255:q)>>>v<>2])>>>e|0)|0];q=((I(q,i)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;c=D[p+((c&C[l+24>>2])>>>d|0)|0];c=((I(c,j)>>>0)/255|0)+((I(c,o)>>>0)/255|0)|0;C[b>>2]=x|(q>>>0>=255?255:q)>>>r<>>0>=255?255:c)>>>n<>2]/D[l+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break m}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2]=a;c=c-1|0;b=b+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}if(d>>>0<7){break a}d=f<<2;while(1){C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;c=c-8|0;if(c){continue}break}break a}s=b-d|0;m=s>>31;n=c-e|0;r=n>>31;if(((m^s)-m|0)==((n^r)-r|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;n=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+n|0;if(!c){break a}m=D[l+31|0];n=C[(m<<2)+381104>>2];p=D[l+30|0];r=C[(p<<2)+381104>>2];s=D[l+29|0];t=C[(s<<2)+381104>>2];u=D[l+28|0];v=C[(u<<2)+381104>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];w=b<<2;while(1){b=C[a>>2];C[a>>2]=((I(o,D[t+((b&C[l+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>s<>2])>>>k|0)|0])>>>0)/255|0)+g>>>u<>2])>>>e|0)|0])>>>0)/255|0)+i>>>p<>2])>>>d|0)|0])>>>0)/255|0)+j>>>m<>2]/D[l+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){n=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;m=(a+(I(c,f)<<2)|0)+(b<<2)|0;break p}j=f+((b|0)<(d|0)?-1:1)|0;m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+n|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+381104>>2];o=D[l+30|0];p=C[(o<<2)+381104>>2];r=D[l+29|0];s=C[(r<<2)+381104>>2];t=D[l+28|0];u=C[(t<<2)+381104>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];j=j<<2;while(1){a=C[m>>2];v=D[s+((a&C[l+16>>2])>>>e|0)|0]+h|0;q=(v>>>0>=255?255:v)>>>r<>2])>>>f|0)|0]+g|0;q=q|(v>>>0>=255?255:v)>>>t<>2])>>>d|0)|0]+i|0;C[m>>2]=q|(v>>>0>=255?255:v)>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){n=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;m=(a+(I(c,f)<<2)|0)+(b<<2)|0;break q}j=f+((b|0)<(d|0)?-1:1)|0;m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+n|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+381104>>2];o=D[l+30|0];p=C[(o<<2)+381104>>2];r=D[l+29|0];s=C[(r<<2)+381104>>2];t=D[l+28|0];u=C[(t<<2)+381104>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];j=j<<2;while(1){a=C[m>>2];C[m>>2]=(I(D[s+((a&C[l+16>>2])>>>e|0)|0],h)>>>0)/255>>>r<>2])>>>f|0)|0],g)>>>0)/255>>>t<>2])>>>d|0)|0],i)>>>0)/255>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;n=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+n|0;if(!c){break a}m=D[l+31|0];n=C[(m<<2)+381104>>2];p=D[l+30|0];r=C[(p<<2)+381104>>2];s=D[l+29|0];t=C[(s<<2)+381104>>2];u=D[l+28|0];v=C[(u<<2)+381104>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];w=b<<2;while(1){b=C[a>>2];q=D[t+((b&C[l+16>>2])>>>f|0)|0];q=((I(q,h)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=(q>>>0>=255?255:q)>>>s<>2])>>>k|0)|0];q=((I(q,g)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=x|(q>>>0>=255?255:q)>>>u<>2])>>>e|0)|0];q=((I(q,i)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;b=D[n+((b&C[l+24>>2])>>>d|0)|0];b=((I(b,j)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[a>>2]=x|(q>>>0>=255?255:q)>>>p<>>0>=255?255:b)>>>m<>2]/D[l+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;n=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break s}c=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:c)<<2)|0}m=0;b=((k|0)!=0)+n|0;if(!b){break a}d=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2]=d;b=b-1|0;a=a+g|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}if(e>>>0<7){break a}c=c<<2;while(1){C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;p=e-c|0;m=p>>31;n=(f^n)-f|0;m=(m^p)-m|0;u:{if(n>>>0>=m>>>0){p=m-n|0;s=m<<1;f=s-n|0;m=1;break u}p=n-m|0;t=1;s=n<<1;f=s-m|0;n=m;m=0}u=((k|0)!=0)+n|0;if(!u){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-m|0:m;w=e?-1:1;q=d?-1:1;p=p<<1;x=D[l+31|0];y=C[(x<<2)+381104>>2];z=D[l+30|0];A=C[(z<<2)+381104>>2];B=D[l+29|0];E=C[(B<<2)+381104>>2];G=D[l+28|0];F=C[(G<<2)+381104>>2];e=D[l+35|0];k=D[l+34|0];m=D[l+33|0];n=D[l+32|0];J=C[a+20>>2];r=0;while(1){H=(J+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[H>>2];C[H>>2]=((I(o,D[E+((d&C[l+16>>2])>>>m|0)|0])>>>0)/255|0)+h>>>B<>2])>>>n|0)|0])>>>0)/255|0)+g>>>G<>2])>>>k|0)|0])>>>0)/255|0)+i>>>z<>2])>>>e|0)|0])>>>0)/255|0)+j>>>x<>31;n=e-c|0;j=n>>31;m=(f^m)-f|0;f=(j^n)-j|0;v:{if(m>>>0>=f>>>0){r=f-m|0;p=f<<1;j=p-m|0;n=0;f=1;break v}r=m-f|0;n=1;p=m<<1;j=p-f|0;m=f;f=0}s=((k|0)!=0)+m|0;if(!s){break a}e=(c|0)>(e|0);t=e?0-n|0:n;d=(b|0)>(d|0);u=d?0-f|0:f;v=e?-1:1;w=d?-1:1;r=r<<1;q=D[l+31|0];x=C[(q<<2)+381104>>2];y=D[l+30|0];z=C[(y<<2)+381104>>2];A=D[l+29|0];B=C[(A<<2)+381104>>2];E=D[l+28|0];G=C[(E<<2)+381104>>2];e=D[l+35|0];f=D[l+34|0];k=D[l+33|0];m=D[l+32|0];F=C[a+20>>2];n=0;while(1){J=(F+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[J>>2];o=D[B+((d&C[l+16>>2])>>>k|0)|0]+h|0;H=(o>>>0>=255?255:o)>>>A<>2])>>>m|0)|0]+g|0;H=H|(o>>>0>=255?255:o)>>>E<>2])>>>f|0)|0]+i|0;C[J>>2]=H|(o>>>0>=255?255:o)>>>y<>2])>>>e|0)|0]>>>q<>31;n=e-c|0;j=n>>31;m=(f^m)-f|0;f=(j^n)-j|0;w:{if(m>>>0>=f>>>0){n=f-m|0;r=f<<1;j=r-m|0;f=1;break w}n=m-f|0;p=1;r=m<<1;j=r-f|0;m=f;f=0}o=((k|0)!=0)+m|0;if(!o){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);s=d?0-f|0:f;t=e?-1:1;u=d?-1:1;v=n<<1;w=D[l+31|0];q=C[(w<<2)+381104>>2];x=D[l+30|0];y=C[(x<<2)+381104>>2];z=D[l+29|0];A=C[(z<<2)+381104>>2];B=D[l+28|0];E=C[(B<<2)+381104>>2];e=D[l+35|0];f=D[l+34|0];k=D[l+33|0];m=D[l+32|0];G=C[a+20>>2];n=0;while(1){F=(G+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[F>>2];C[F>>2]=(I(D[A+((d&C[l+16>>2])>>>k|0)|0],h)>>>0)/255>>>z<>2])>>>m|0)|0],g)>>>0)/255>>>B<>2])>>>f|0)|0],i)>>>0)/255>>>x<>2])>>>e|0)|0]>>>w<>31;r=e-c|0;m=r>>31;n=(f^n)-f|0;m=(m^r)-m|0;x:{if(n>>>0>=m>>>0){s=m-n|0;t=m<<1;f=t-n|0;m=1;break x}s=n-m|0;p=1;t=n<<1;f=t-m|0;n=m;m=0}u=((k|0)!=0)+n|0;if(!u){break a}e=(c|0)>(e|0);v=e?0-p|0:p;d=(b|0)>(d|0);w=d?0-m|0:m;q=e?-1:1;x=d?-1:1;s=s<<1;y=D[l+31|0];z=C[(y<<2)+381104>>2];A=D[l+30|0];B=C[(A<<2)+381104>>2];E=D[l+29|0];G=C[(E<<2)+381104>>2];F=D[l+28|0];J=C[(F<<2)+381104>>2];e=D[l+35|0];k=D[l+34|0];m=D[l+33|0];n=D[l+32|0];H=C[a+20>>2];r=0;while(1){L=(H+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[L>>2];p=D[G+((d&C[l+16>>2])>>>m|0)|0];p=((I(p,h)>>>0)/255|0)+((I(o,p)>>>0)/255|0)|0;K=(p>>>0>=255?255:p)>>>E<>2])>>>n|0)|0];p=((I(p,g)>>>0)/255|0)+((I(o,p)>>>0)/255|0)|0;K=K|(p>>>0>=255?255:p)>>>F<>2])>>>k|0)|0];p=((I(p,i)>>>0)/255|0)+((I(o,p)>>>0)/255|0)|0;d=D[z+((d&C[l+24>>2])>>>e|0)|0];d=((I(d,j)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;C[L>>2]=K|(p>>>0>=255?255:p)>>>A<>>0>=255?255:d)>>>y<>31;o=e-c|0;m=o>>31;n=(f^n)-f|0;o=(m^o)-m|0;y:{if(n>>>0>=o>>>0){s=o-n|0;f=o<<1;m=f-n|0;o=1;break y}s=n-o|0;p=1;f=n<<1;m=f-o|0;n=o;o=0}k=((k|0)!=0)+n|0;if(!k){break a}g=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;j=(b|0)>(d|0);d=j?0-o|0:o;i=i?-1:1;j=j?-1:1;o=s<<1;l=k&-2;n=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g;p=c;c=(m|0)<0;p=p+(c?e:i)|0;b=(c?d:j)+b|0;C[(h+I(p,C[a+16>>2])|0)+(b<<2)>>2]=g;m=(c?f:o)+m|0;c=(m|0)<0;m=(c?f:o)+m|0;b=b+(c?d:j)|0;c=p+(c?e:i)|0;n=n+2|0;if((l|0)!=(n|0)){continue}break}}if(!(k&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g}}function eF(a){a=a|0;var 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;b=C[a+40>>2];k=C[b+24>>2]^-1;m=k&C[a+56>>2];q=C[a+36>>2];h=C[a+20>>2];r=C[a+16>>2];c=C[a>>2];o=C[a+28>>2];f=C[a+24>>2];j=D[b+9|0];n=C[a+48>>2];a:{if(n){if(!o){break a}s=f&7;p=(f+7|0)/8|0;l=j-1|0;while(1){o=o-1|0;f=p;b:{c:{switch(s-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(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break g;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break g;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break g;case 3:break h;default:break f}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=1;continue;case 1:a=0;d=0;e=0;g=0;i:{j:{k:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break j;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break j;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break j;case 3:break k;default:break i}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=2;continue;case 2:a=0;d=0;e=0;g=0;l:{m:{n:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break m;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break m;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break m;case 3:break n;default:break l}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=3;continue;case 3:a=0;d=0;e=0;g=0;o:{p:{q:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break p;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break p;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break p;case 3:break q;default:break o}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=4;continue;case 4:a=0;d=0;e=0;g=0;r:{s:{t:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break s;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break s;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break s;case 3:break t;default:break r}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=5;continue;case 5:a=0;d=0;e=0;g=0;u:{v:{w:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break v;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break v;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break v;case 3:break w;default:break u}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=6;continue;case 6:a=0;d=0;e=0;g=0;x:{y:{z:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break y;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break y;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break y;case 3:break z;default:break x}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+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(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break B;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break B;case 2:d=(D[b+34|0]>>>3|0)+c|0;g=(D[b+33|0]>>>3|0)+c|0;e=(D[b+32|0]>>>3|0)+c|0;break B;case 3:break C;default:break A}}a=C[c>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}d=D[d|0];e=D[e|0];g=D[g|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(g>>>3&28|e&224|(d&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=0;continue}break}h=h+q|0;c=c+r|0;if(o){continue}break}break a}if(!o){break a}i=f&7;n=(f+7|0)/8|0;l=j-1|0;while(1){o=o-1|0;p=n;D:{E:{switch(i-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(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break I;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break I;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break I;case 3:break J;default:break H}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=1;continue;case 1:a=0;f=0;d=0;e=0;K:{L:{M:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break L;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break L;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break L;case 3:break M;default:break K}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=2;continue;case 2:a=0;f=0;d=0;e=0;N:{O:{P:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break O;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break O;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break O;case 3:break P;default:break N}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=3;continue;case 3:a=0;f=0;d=0;e=0;Q:{R:{S:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break R;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break R;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break R;case 3:break S;default:break Q}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=4;continue;case 4:a=0;f=0;d=0;e=0;T:{U:{V:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break U;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break U;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break U;case 3:break V;default:break T}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=5;continue;case 5:a=0;f=0;d=0;e=0;W:{X:{Y:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break X;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break X;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break X;case 3:break Y;default:break W}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=6;continue;case 6:a=0;f=0;d=0;e=0;Z:{_:{$:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break _;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break _;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break _;case 3:break $;default:break Z}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;if((p|0)<=1){break F}p=p-1|0;a=7;continue;default:break G}}a=0;d=0;e=0;f=0;aa:{ba:{ca:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break ba;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break ba;case 2:f=(D[b+34|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;d=(D[b+32|0]>>>3|0)+c|0;break ba;case 3:break ca;default:break aa}}a=C[c>>2];f=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}f=D[f|0];d=D[d|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=e>>>3&28|d&224|(f&192)>>>6}c=c+j|0;h=h+1|0;a=0;continue}break}h=h+q|0;c=c+r|0;if(o){continue}break}}}function Dk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=J(0),m=J(0),n=0,o=0,p=0,q=0,r=J(0),s=J(0),t=0,u=J(0),v=0,w=0;g=Ce-1616|0;Ce=g;a:{if(!C[94491]){q=-1;if((c|0)!=2){break a}Qe(11830,0);break a}b:{if(!c){f=0;if((b|0)<=0){break b}v=g+1364|0;while(1){d=C[94492];c:{if((d|0)>=65535){C[g>>2]=d;Qe(32427,g);e=0;break c}j=C[94496];d:{if(!j){j=Fe[C[94503]](80)|0;if(j){C[94507]=C[94507]+1}if(j){break d}e=0;break c}C[94496]=C[j+72>>2]}h=I(f,56)+a|0;d=C[104751];e:{if((d|0)<=0){break e}f:{g:{if((d|0)==1){e=C[h>>2];if((e|0)<=1793){h:{switch(e-1623|0){case 0:case 2:break e;case 1:break g;default:break h}}if((e|0)!=1024){break g}break e}if((e|0)==1794){break e}if((e|0)!=4608){break g}break e}e=C[h>>2];if((d|0)!=2){break f}}if((e|0)==513){break e}}A[g+1456|0]=0;A[g+1584|0]=0;if((e&-32768)==32768){pf(g+1584|0,23334,32);d=C[h>>2];i:{if(d>>>0>=32769){C[g+1376>>2]=d-32768;rf(g+1392|0,16,2949,g+1376|0);break i}A[g+1392|0]=0}k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];C[v>>2]=C[h+20>>2];C[g+1356>>2]=e;C[g+1360>>2]=d;C[g+1348>>2]=k;C[g+1352>>2]=i;C[g+1344>>2]=g+1392;rf(g+1456|0,128,32729,g+1344|0);e=C[h>>2]}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:{ga:{ha:{ia:{ja:{ka:{la:{ma:{if((e|0)<=1535){if((e|0)<=511){switch(e-256|0){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 m;case 80:break aa;case 7:break fa;case 6:break ga;case 5:break ha;case 4:break ia;case 3:break ja;case 2:break ka;case 1:break la;case 0:break ma;default:break n}}na:{switch(e-768|0){case 3:break W;case 2:break X;case 1:break Y;case 0:break Z;case 4:break ea;default:break na}}oa:{switch(e-1024|0){case 3:break S;case 2:break T;case 1:break U;case 0:break V;default:break oa}}switch(e-512|0){case 1:break _;case 0:break $;default:break m}}if((e|0)<=2047){pa:{switch(e-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 m;case 89:break B;case 87:break C;case 88:break D;case 86:break E;case 85:break F;case 84:break G;case 83:break H;case 82:break I;case 81:break J;case 80:break K;case 6:break L;case 5:break M;case 4:break N;case 3:break O;case 2:break P;case 1:break Q;case 0:break R;default:break pa}}switch(e-1792|0){case 2:break y;case 1:break z;case 0:break A;default:break m}}if((e|0)<=4351){qa:{switch(e-4096|0){case 3:break r;case 2:break s;case 1:break t;case 0:break u;default:break qa}}switch(e-2048|0){case 2:break v;case 1:break w;case 0:break x;default:break da}}if((e|0)<=8191){switch(e-4352|0){case 1:break p;case 0:break q;default:break o}}ra:{switch(e+-8192|0){case 1:break ba;case 0:break ca;default:break ra}}if((e|0)!=32512){break m}break k}pf(g+1584|0,23541,32);C[g+48>>2]=C[h+4>>2];rf(g+1456|0,128,32255,g+48|0);break k}pf(g+1584|0,26212,32);break k}pf(g+1584|0,22403,32);break k}pf(g+1584|0,27480,32);break k}pf(g+1584|0,27508,32);break k}pf(g+1584|0,27535,32);break k}pf(g+1584|0,27563,32);break k}pf(g+1584|0,28135,32);break k}pf(g+1584|0,28117,32);break k}if((e|0)!=2304){break m}pf(g+1584|0,26674,32);break k}pf(g+1584|0,23626,32);break k}pf(g+1584|0,23651,32);break k}pf(g+1584|0,23286,32);i=g+1392|0;d=A[h+12|0];if(d>>>0<=3){d=C[(d<<2)+124776>>2]}else{d=33881}pf(i,d,64);e=C[h+4>>2];d=C[h+8>>2];C[g+76>>2]=C[h+16>>2];C[g+64>>2]=e;C[g+68>>2]=d;C[g+72>>2]=i;rf(g+1456|0,128,33764,g- -64|0);break k}pf(g+1584|0,23303,32);k=g+1392|0;d=A[h+12|0];if(d>>>0<=18){d=C[(d<<2)+124792>>2]}else{d=33881}pf(k,d,64);i=C[h+4>>2];e=C[h+8>>2];d=C[h+20>>2];C[g+92>>2]=C[h+16>>2];C[g+96>>2]=d;C[g+80>>2]=i;C[g+84>>2]=e;C[g+88>>2]=k;rf(g+1456|0,128,33709,g+80|0);break k}pf(g+1584|0,23348,32);C[g+112>>2]=C[h+4>>2];rf(g+1456|0,128,32255,g+112|0);break k}pf(g+1584|0,25056,32);o=D[h+12|0];n=D[h+13|0];k=C[h+4>>2];i=C[h+8>>2];e=C[h+16>>2];d=C[h+20>>2];C[g+152>>2]=E[h+24>>1];C[g+144>>2]=e;C[g+148>>2]=d;C[g+128>>2]=k;C[g+132>>2]=i;C[g+140>>2]=n?16019:16581;C[g+136>>2]=(o|0)==1?20416:20424;rf(g+1456|0,128,32312,g+128|0);break k}pf(g+1584|0,24809,32);o=D[h+12|0];n=D[h+13|0];k=C[h+4>>2];i=C[h+8>>2];e=C[h+16>>2];d=C[h+20>>2];C[g+184>>2]=E[h+24>>1];C[g+176>>2]=e;C[g+180>>2]=d;C[g+160>>2]=k;C[g+164>>2]=i;C[g+172>>2]=n?16019:16581;C[g+168>>2]=(o|0)==1?20416:20424;rf(g+1456|0,128,32312,g+160|0);break k}pf(g+1584|0,26196,32);i=C[h+4>>2];e=C[h+8>>2];d=C[h+48>>2];C[g+204>>2]=C[h+44>>2];C[g+208>>2]=d;C[g+192>>2]=i;C[g+196>>2]=e;C[g+200>>2]=h+12;rf(g+1456|0,128,33585,g+192|0);break k}pf(g+1584|0,23092,32);e=C[h+4>>2];d=C[h+8>>2];C[g+232>>2]=h+12;C[g+224>>2]=e;C[g+228>>2]=d;rf(g+1456|0,128,33986,g+224|0);break k}pf(g+1584|0,25315,32);t=C[h+4>>2];o=C[h+8>>2];n=C[h+12>>2];k=C[h+16>>2];i=C[h+20>>2];e=C[h+24>>2];d=C[h+32>>2];C[g+264>>2]=C[h+28>>2];C[g+268>>2]=d;C[g+256>>2]=i;C[g+260>>2]=e;C[g+248>>2]=n;C[g+252>>2]=k;C[g+240>>2]=t;C[g+244>>2]=o;rf(g+1456|0,128,33513,g+240|0);break k}pf(g+1584|0,25126,32);t=C[h+12>>2];o=C[h+4>>2];n=C[h+8>>2];k=D[h+16|0];i=D[h+17|0];e=C[h+20>>2];d=C[h+24>>2];C[g+292>>2]=D[h+18|0];C[g+296>>2]=e;C[g+300>>2]=d;C[g+288>>2]=(i|0)==1?20416:20424;C[g+284>>2]=k;C[g+272>>2]=o;C[g+276>>2]=n;C[g+280>>2]=t;rf(g+1456|0,128,33388,g+272|0);break k}pf(g+1584|0,24871,32);t=C[h+12>>2];o=C[h+4>>2];n=C[h+8>>2];k=D[h+16|0];i=D[h+17|0];e=C[h+20>>2];d=C[h+24>>2];C[g+324>>2]=D[h+18|0];C[g+328>>2]=e;C[g+332>>2]=d;C[g+320>>2]=(i|0)==1?20416:20424;C[g+316>>2]=k;C[g+304>>2]=o;C[g+308>>2]=n;C[g+312>>2]=t;rf(g+1456|0,128,33388,g+304|0);break k}pf(g+1584|0,25830,32);n=C[h+4>>2];k=C[h+8>>2];i=C[h+12>>2];e=C[h+16>>2];l=G[h+28>>2];m=G[h+32>>2];d=C[h+24>>2];C[g+352>>2]=C[h+20>>2];C[g+376>>2]=d?20504:13689;H[g+368>>3]=m;H[g+360>>3]=l;C[g+344>>2]=i;C[g+348>>2]=e;C[g+336>>2]=n;C[g+340>>2]=k;rf(g+1456|0,128,32459,g+336|0);break k}pf(g+1584|0,25237,32);i=C[h+4>>2];e=C[h+8>>2];d=D[h+12|0];C[g+396>>2]=B[h+16>>1];C[g+392>>2]=d;C[g+384>>2]=i;C[g+388>>2]=e;rf(g+1456|0,128,33667,g+384|0);break k}pf(g+1584|0,25297,32);k=C[h+4>>2];i=C[h+8>>2];e=D[h+12|0];d=B[h+16>>1];C[g+416>>2]=B[h+18>>1];C[g+412>>2]=d;C[g+408>>2]=e;C[g+400>>2]=k;C[g+404>>2]=i;rf(g+1456|0,128,33464,g+400|0);break k}pf(g+1584|0,25220,32);i=C[h+4>>2];e=C[h+8>>2];d=D[h+12|0];C[g+444>>2]=D[h+13|0];C[g+440>>2]=d;C[g+432>>2]=i;C[g+436>>2]=e;rf(g+1456|0,128,32271,g+432|0);break k}pf(g+1584|0,25083,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+456>>2]=D[h+12|0];C[g+448>>2]=e;C[g+452>>2]=d;C[g+460>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+448|0);break k}pf(g+1584|0,24832,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+472>>2]=D[h+12|0];C[g+464>>2]=e;C[g+468>>2]=d;C[g+476>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+464|0);break k}pf(g+1584|0,28173,32);d=C[h+8>>2];C[g+480>>2]=C[h+4>>2];C[g+484>>2]=d;rf(g+1456|0,128,33642,g+480|0);break k}pf(g+1584|0,27757,32);d=C[h+8>>2];C[g+496>>2]=C[h+4>>2];C[g+500>>2]=d;rf(g+1456|0,128,33642,g+496|0);break k}pf(g+1584|0,25255,32);i=C[h+4>>2];e=C[h+8>>2];d=D[h+12|0];C[g+524>>2]=B[h+16>>1];C[g+520>>2]=d;C[g+512>>2]=i;C[g+516>>2]=e;rf(g+1456|0,128,33667,g+512|0);break k}pf(g+1584|0,25101,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+536>>2]=D[h+12|0];C[g+528>>2]=e;C[g+532>>2]=d;C[g+540>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+528|0);break k}pf(g+1584|0,24848,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+552>>2]=D[h+12|0];C[g+544>>2]=e;C[g+548>>2]=d;C[g+556>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+544|0);break k}pf(g+1584|0,28192,32);d=C[h+8>>2];C[g+560>>2]=C[h+4>>2];C[g+564>>2]=d;rf(g+1456|0,128,33642,g+560|0);break k}pf(g+1584|0,27778,32);d=C[h+8>>2];C[g+576>>2]=C[h+4>>2];C[g+580>>2]=d;rf(g+1456|0,128,33642,g+576|0);break k}pf(g+1584|0,27935,32);d=C[h+8>>2];C[g+592>>2]=C[h+4>>2];C[g+596>>2]=d;rf(g+1456|0,128,33642,g+592|0);break k}pf(g+1584|0,25146,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];l=G[h+20>>2];m=G[h+24>>2];H[g+640>>3]=G[h+28>>2];H[g+632>>3]=m;H[g+624>>3]=l;C[g+616>>2]=e;C[g+620>>2]=d;C[g+608>>2]=k;C[g+612>>2]=i;rf(g+1456|0,128,33092,g+608|0);break k}pf(g+1584|0,24889,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];l=G[h+20>>2];m=G[h+24>>2];H[g+688>>3]=G[h+28>>2];H[g+680>>3]=m;H[g+672>>3]=l;C[g+664>>2]=e;C[g+668>>2]=d;C[g+656>>2]=k;C[g+660>>2]=i;rf(g+1456|0,128,33092,g+656|0);break k}pf(g+1584|0,25331,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];l=G[h+20>>2];m=G[h+24>>2];H[g+736>>3]=G[h+28>>2];H[g+728>>3]=m;H[g+720>>3]=l;C[g+712>>2]=e;C[g+716>>2]=d;C[g+704>>2]=k;C[g+708>>2]=i;rf(g+1456|0,128,33092,g+704|0);break k}pf(g+1584|0,26647,32);l=G[h+20>>2];i=C[h+4>>2];e=C[h+8>>2];d=C[h+12>>2];m=G[h+16>>2];H[g+784>>3]=G[h+24>>2];H[g+776>>3]=l;H[g+768>>3]=m;C[g+760>>2]=d;C[g+752>>2]=i;C[g+756>>2]=e;rf(g+1456|0,128,33252,g+752|0);break k}pf(g+1584|0,25068,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];u=G[h+24>>2];s=G[h+28>>2];r=G[h+32>>2];l=G[h+36>>2];m=G[h+40>>2];d=C[h+20>>2];C[g+816>>2]=C[h+16>>2];C[g+820>>2]=d;H[g+856>>3]=m;H[g+848>>3]=l;H[g+840>>3]=r;H[g+832>>3]=s;H[g+824>>3]=u;C[g+808>>2]=i;C[g+812>>2]=e;C[g+800>>2]=k;rf(g+1456|0,128,33015,g+800|0);break k}pf(g+1584|0,24819,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];u=G[h+24>>2];s=G[h+28>>2];r=G[h+32>>2];l=G[h+36>>2];m=G[h+40>>2];d=C[h+20>>2];C[g+880>>2]=C[h+16>>2];C[g+884>>2]=d;H[g+920>>3]=m;H[g+912>>3]=l;H[g+904>>3]=r;H[g+896>>3]=s;H[g+888>>3]=u;C[g+872>>2]=i;C[g+876>>2]=e;C[g+864>>2]=k;rf(g+1456|0,128,33015,g+864|0);break k}pf(g+1584|0,25280,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];u=G[h+24>>2];s=G[h+28>>2];r=G[h+32>>2];l=G[h+36>>2];m=G[h+40>>2];d=C[h+20>>2];C[g+944>>2]=C[h+16>>2];C[g+948>>2]=d;H[g+984>>3]=m;H[g+976>>3]=l;H[g+968>>3]=r;H[g+960>>3]=s;H[g+952>>3]=u;C[g+936>>2]=i;C[g+940>>2]=e;C[g+928>>2]=k;rf(g+1456|0,128,33015,g+928|0);break k}pf(g+1584|0,26826,32);n=C[h+4>>2];k=C[h+8>>2];i=C[h+12>>2];r=G[h+28>>2];l=G[h+32>>2];m=G[h+36>>2];e=C[h+16>>2];d=C[h+20>>2];C[g+1016>>2]=C[h+24>>2];C[g+1008>>2]=e;C[g+1012>>2]=d;H[g+1040>>3]=m;H[g+1032>>3]=l;H[g+1024>>3]=r;C[g+1e3>>2]=k;C[g+1004>>2]=i;C[g+992>>2]=n;rf(g+1456|0,128,32938,g+992|0);break k}pf(g+1584|0,27418,32);o=C[h+4>>2];n=C[h+8>>2];k=C[h+12>>2];r=G[h+28>>2];l=G[h+32>>2];m=G[h+36>>2];i=C[h+16>>2];e=C[h+20>>2];C[g+1080>>2]=C[h+24>>2];d=g+1072|0;C[d>>2]=i;C[d+4>>2]=e;H[g+1104>>3]=m;H[g+1096>>3]=l;H[g+1088>>3]=r;C[g+1064>>2]=n;C[g+1068>>2]=k;C[g+1056>>2]=o;rf(g+1456|0,128,32938,g+1056|0);break k}pf(g+1584|0,26844,32);i=C[h+4>>2];e=C[h+8>>2];d=C[h+12>>2];s=G[h+16>>2];r=G[h+20>>2];l=G[h+24>>2];m=G[h+28>>2];C[g+1168>>2]=E[h+32>>1];H[g+1160>>3]=m;H[g+1152>>3]=l;H[g+1144>>3]=r;H[g+1136>>3]=s;C[g+1128>>2]=e;C[g+1132>>2]=d;C[g+1120>>2]=i;rf(g+1456|0,128,32183,g+1120|0);break k}pf(g+1584|0,27085,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1192>>2]=C[h+12>>2];C[g+1188>>2]=d;C[g+1184>>2]=e;rf(g+1456|0,128,32389,g+1184|0);break k}pf(g+1584|0,23036,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1208>>2]=C[h+12>>2];C[g+1204>>2]=d;C[g+1200>>2]=e;rf(g+1456|0,128,32389,g+1200|0);break k}pf(g+1584|0,25526,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1224>>2]=C[h+12>>2];C[g+1220>>2]=d;C[g+1216>>2]=e;rf(g+1456|0,128,32389,g+1216|0);break k}pf(g+1584|0,26613,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1240>>2]=C[h+12>>2];C[g+1236>>2]=d;C[g+1232>>2]=e;rf(g+1456|0,128,32389,g+1232|0);break k}pf(g+1584|0,28218,32);e=D[h+12|0];d=C[h+8>>2];C[g+1248>>2]=C[h+4>>2];C[g+1252>>2]=d;C[g+1256>>2]=e?16019:16581;rf(g+1456|0,128,32587,g+1248|0);break k}pf(g+1584|0,27806,32);e=D[h+12|0];d=C[h+8>>2];C[g+1264>>2]=C[h+4>>2];C[g+1268>>2]=d;C[g+1272>>2]=e?16019:16581;rf(g+1456|0,128,32587,g+1264|0);break k}if((e|0)!=4608){break m}pf(g+1584|0,26630,32);u=G[h+16>>2];s=G[h+20>>2];r=G[h+24>>2];l=G[h+28>>2];m=G[h+12>>2];e=C[h+4>>2];d=C[h+8>>2];H[g+1328>>3]=G[h+32>>2];H[g+1320>>3]=l;H[g+1312>>3]=r;H[g+1304>>3]=s;H[g+1296>>3]=u;C[g+1280>>2]=e;C[g+1284>>2]=d;H[g+1288>>3]=m;rf(g+1456|0,128,33161,g+1280|0);break k}if(!e){break l}}if(D[g+1584|0]){break j}pf(g+1584|0,25026,32);C[g+32>>2]=C[h>>2];rf(g+1456|0,128,33903,g+32|0);break k}pf(g+1584|0,23319,32);pf(g+1456|0,34092,128)}if(!D[g+1584|0]){break e}}C[g+20>>2]=g+1456;C[g+16>>2]=g+1584;Tg(8169,g+16|0)}d=C[h+4>>2];C[j>>2]=C[h>>2];C[j+4>>2]=d;d=C[h+52>>2];C[j+48>>2]=C[h+48>>2];C[j+52>>2]=d;d=C[h+44>>2];C[j+40>>2]=C[h+40>>2];C[j+44>>2]=d;d=C[h+36>>2];C[j+32>>2]=C[h+32>>2];C[j+36>>2]=d;d=C[h+28>>2];C[j+24>>2]=C[h+24>>2];C[j+28>>2]=d;d=C[h+20>>2];C[j+16>>2]=C[h+16>>2];C[j+20>>2]=d;d=C[h+12>>2];C[j+8>>2]=C[h+8>>2];C[j+12>>2]=d;d=C[h>>2];sa:{if((d|0)!=513){if((d|0)!=32512){break sa}C[104485]=C[104485]+1;break sa}e=C[h+8>>2];d=C[e+4>>2];C[j+56>>2]=C[e>>2];C[j+60>>2]=d;C[j- -64>>2]=C[e+8>>2];C[j+8>>2]=j+56}d=C[94495];ta:{if(d){C[d+72>>2]=j;break ta}C[94494]=j}C[94495]=j;C[j+72>>2]=0;C[j+68>>2]=d;d=C[94492];C[94492]=d+1;e=1;if((d|0)>2];C[j+12>>2]=q;q=j;if(i){continue}break}}C[94498]=j;C[94497]=0}q=0;i=C[94494];if(!i){break b}v=(c|0)!=2;t=v|!a;while(1){if((b|0)<=(q|0)?a:0){break b}k=i;i=C[k+72>>2];w=C[k>>2];va:{if(w>>>0>>0|e>>>0>>0){break va}wa:{if(!a){break wa}j=C[k+4>>2];p=I(q,56)+a|0;C[p>>2]=C[k>>2];C[p+4>>2]=j;j=C[k+52>>2];C[p+48>>2]=C[k+48>>2];C[p+52>>2]=j;j=C[k+44>>2];C[p+40>>2]=C[k+40>>2];C[p+44>>2]=j;j=C[k+36>>2];C[p+32>>2]=C[k+32>>2];C[p+36>>2]=j;j=C[k+28>>2];C[p+24>>2]=C[k+24>>2];C[p+28>>2]=j;j=C[k+20>>2];C[p+16>>2]=C[k+16>>2];C[p+20>>2]=j;j=C[k+12>>2];C[p+8>>2]=C[k+8>>2];C[p+12>>2]=j;if(C[k>>2]==513){j=C[94498];xa:{if(j){C[94498]=C[j+12>>2];break xa}j=Fe[C[94503]](16)|0;if(j){C[94507]=C[94507]+1}}h=C[k+8>>2];o=C[h+4>>2];C[j>>2]=C[h>>2];C[j+4>>2]=o;C[j+8>>2]=C[h+8>>2];C[j+12>>2]=C[94497];C[94497]=j;C[p+8>>2]=j}if(v){break wa}o=C[k+68>>2];if(o){C[o+72>>2]=C[k+72>>2]}j=C[k+72>>2];if(j){C[j+68>>2]=o}if((k|0)==C[94494]){C[94494]=j}if((k|0)==C[94495]){C[94495]=C[k+68>>2]}if(C[k>>2]==32512){C[104485]=C[104485]-1}C[k+72>>2]=C[94496];C[94496]=k;C[94492]=C[94492]-1}if((w|0)==32512){if(!f){break va}n=n+t|0;if((n|0)>2]){break a}a=C[b+364>>2];if(a){Fe[C[b+276>>2]](b,a);C[b+364>>2]=0}if(!C[b+368>>2]){break a}}Ce=g+1616|0;return q}function mF(a){a=a|0;var 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;n=C[a+36>>2];g=C[a+20>>2];o=C[a+16>>2];e=C[a>>2];l=C[a+28>>2];c=C[a+24>>2];b=C[a+40>>2];i=D[b+9|0];k=C[a+48>>2];a:{if(k){if(!l){break a}p=c&7;m=(c+7|0)/8|0;j=i-1|0;while(1){l=l-1|0;c=m;b:{c:{switch(p-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;f=0;d=0;f:{g:{h:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break g;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break g;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break g;case 3:break h;default:break f}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=1;continue;case 1:a=0;f=0;d=0;i:{j:{k:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break j;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break j;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break j;case 3:break k;default:break i}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=2;continue;case 2:a=0;f=0;d=0;l:{m:{n:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break m;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break m;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break m;case 3:break n;default:break l}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=3;continue;case 3:a=0;f=0;d=0;o:{p:{q:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break p;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break p;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break p;case 3:break q;default:break o}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=4;continue;case 4:a=0;f=0;d=0;r:{s:{t:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break s;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break s;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break s;case 3:break t;default:break r}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=5;continue;case 5:a=0;f=0;d=0;u:{v:{w:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break v;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break v;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break v;case 3:break w;default:break u}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=6;continue;case 6:a=0;f=0;d=0;x:{y:{z:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break y;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break y;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break y;case 3:break z;default:break x}}d=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;if((c|0)<=1){break d}c=c-1|0;a=7;continue;default:break e}}f=0;d=0;a=0;A:{B:{C:{switch(j|0){case 0:f=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break B;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break B;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+33|0]>>>3|0)+e|0;f=(D[b+32|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}f=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+381104>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];f=D[f|0];d=D[d|0]}A[g|0]=D[k+(d>>>3&28|f&224|(a&192)>>>6)|0];e=e+i|0;g=g+1|0;a=0;continue}break}g=g+n|0;e=e+o|0;if(l){continue}break}break a}if(!l){break a}h=c&7;k=(c+7|0)/8|0;j=i-1|0;while(1){l=l-1|0;m=k;D:{E:{switch(h-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;c=0;f=0;H:{I:{J:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break I;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break I;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break I;case 3:break J;default:break H}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=1;continue;case 1:a=0;c=0;f=0;K:{L:{M:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=2;continue;case 2:a=0;c=0;f=0;N:{O:{P:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break O;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break O;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break O;case 3:break P;default:break N}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=3;continue;case 3:a=0;c=0;f=0;Q:{R:{S:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break R;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break R;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=4;continue;case 4:a=0;c=0;f=0;T:{U:{V:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break U;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break U;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break U;case 3:break V;default:break T}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=5;continue;case 5:a=0;c=0;f=0;W:{X:{Y:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break X;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break X;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break X;case 3:break Y;default:break W}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=6;continue;case 6:a=0;c=0;f=0;Z:{_:{$:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;if((m|0)<=1){break F}m=m-1|0;a=7;continue;default:break G}}c=0;f=0;a=0;aa:{ba:{ca:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;break ba;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;break ba;case 2:a=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break ba;case 3:break ca;default:break aa}}c=C[e>>2];a=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];c=D[c|0];f=D[f|0]}A[g|0]=f>>>3&28|c&224|(a&192)>>>6;e=e+i|0;g=g+1|0;a=0;continue}break}g=g+n|0;e=e+o|0;if(l){continue}break}}}function KF(a){a=a|0;var 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;a:{q=C[a+28>>2];if(!q){break a}g=D[a+63|0];n=C[a+56>>2];r=C[a+36>>2];s=C[a+16>>2];o=C[C[C[a+40>>2]+4>>2]+4>>2];b=C[a+44>>2];p=C[a+24>>2];t=p&7;u=(p+7|0)/8|0;k=C[a>>2];a=C[a+20>>2];m=D[b+9|0];l=m-1|0;b:while(1){q=q-1|0;p=u;c:{d:{switch(t-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=D[k|0];f:{if((d|0)==(n|0)){break f}d=(d<<2)+o|0;h=D[d+2|0];i=D[d+1|0];j=D[d|0];d=0;e=0;f=0;c=0;g:{h:{switch(l|0){case 0:c=D[a|0];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break g;case 3:break h;default:break g}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;i:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break f;case 3:break i;default:break f}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break k;case 3:break l;default:break k}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;m:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break j;case 3:break m;default:break j}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break o;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break o;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break o;case 3:break p;default:break o}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;q:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break n;case 3:break q;default:break n}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break s;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break s;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break s;case 3:break t;default:break s}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;u:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break r;case 3:break u;default:break r}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break w;case 3:break x;default:break w}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;y:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break v;case 3:break y;default:break v}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break A;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break A;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break A;case 3:break B;default:break A}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;C:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break z;case 3:break C;default:break z}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break E;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break E;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break E;case 3:break F;default:break E}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;G:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break D;case 3:break G;default:break D}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break I;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break I;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break I;case 3:break J;default:break I}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;K:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break H;case 3:break K;default:break H}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<1){p=d;break L}a=a+r|0;k=k+s|0;if(q){continue b}break a}d=0;continue}}}}function Bi(a,b,c,d,e,f,g,h){var 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,F=0;o=Ce-464|0;Ce=o;a:{if(!d){C[o>>2]=21531;i=Qe(19745,o);break a}if(!e){C[o+16>>2]=14964;i=Qe(19745,o+16|0);break a}if(!g){C[o+32>>2]=3524;i=Qe(19745,o+32|0);break a}if(!h){C[o+48>>2]=14954;i=Qe(19745,o+48|0);break a}b:{if(!c){i=f&-268435456;break b}m=c&-268435456;i=f&-268435456;if(!(!f|(i|0)==268435456|(m|0)==268435456)){j=a;l=e;i=Ce-96|0;Ce=i;c:{d:{if((c|0)==(f|0)){if((d|0)==(g|0)){break c}e:{f:{if((c|0)<=1431918168){g:{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 e;case 0:case 11:break f;default:break g}}if((c|0)==825382478){break f}if((c|0)!=844715353){break e}break d}if((c|0)==1431918169|(c|0)==1498831189){break d}if((c|0)!=1448433993){break e}}if(b){a=b;while(1){gf(g,d,j);g=g+h|0;d=d+l|0;a=a-1|0;if(a){continue}break}}h:{i:{switch(c-842094158|0){default:if((c|0)==825382478){break h}if((c|0)!=1448433993){break c}break;case 0:break h;case 11:break i;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c}}if(b+2>>>0<3){break c}c=(h+1|0)/2|0;e=(l+1|0)/2|0;f=(j+1|0)/2|0;a=(b+1|0)/2<<1;while(1){gf(g,d,f);g=c+g|0;d=d+e|0;a=a-1|0;if(a){continue}break}break c}if(b+2>>>0<3){break c}c=(h+1|0)/2<<1;e=(l+1|0)/2<<1;f=(j+1|0)/2<<1;a=(b+1|0)/2|0;while(1){gf(g,d,f);g=c+g|0;d=d+e|0;a=a-1|0;if(a){continue}break}break c}z=i,F=Yh(c),C[z>>2]=F;q=Qe(8636,i);break c}j:{k:{l:{m:{n:{o:{p:{if((c|0)<=1431918168){q:{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 k;case 0:case 11:break p;default:break q}}if((c|0)==825382478){break p}if((c|0)==844715353){break o}break k}if((c|0)==1431918169|(c|0)==1498831189){break o}if((c|0)!=1448433993){break k}}r:{s:{t:{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 r;case 0:case 11:break s;default:break t}}if((f|0)==1448433993){break s}if((f|0)!=825382478){break r}}if(!(!b|(d|0)==(g|0))){a=g;e=d;m=b;while(1){gf(a,e,j);a=a+h|0;e=e+l|0;m=m-1|0;if(m){continue}break}}u:{v:{w:{x:{y:{z:{A:{switch(c-842094158|0){default:if((c|0)==825382478){break w}if((c|0)!=1448433993){break u}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 u;case 0:break y;case 11:break z;default:break v};case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break u;case 0:break x;case 11:break A}}if((f|0)!=825382478){if((f|0)!=842094158){if((f|0)!=1448433993){break u}q=hr(j,b,d,l,g,h);break c}q=sl(j,b,d,l,g,h,1);break c}q=sl(j,b,d,l,g,h,0);break c}q=hr(j,b,d,l,g,h);break c}q=sl(j,b,d,l,g,h,0);break c}if((f|0)!=825382478){if((f|0)!=1448433993){if((f|0)!=842094169){break u}q=rl(j,b,d,l,g,h,1);break c}q=rl(j,b,d,l,g,h,0);break c}if(b+2>>>0<3){break c}c=(j+1|0)/2|0;m=c&3;d=I(b,l)+d|0;g=I(b,h)+g|0;f=(b+1|0)/2|0;b=j+2>>>0<3;h=(((h+1|0)/2|0)-c&2147483647)<<1;j=(((l+1|0)/2|0)-c&2147483647)<<1;l=c-1>>>0<3;while(1){f=f-1|0;B:{if(b){break B}e=0;a=c;if(m){while(1){n=E[d>>1];B[g>>1]=n<<8|n>>>8;g=g+2|0;d=d+2|0;a=a-1|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}if(l){break B}while(1){e=E[d>>1];B[g>>1]=e<<8|e>>>8;e=E[d+2>>1];B[g+2>>1]=e<<8|e>>>8;e=E[d+4>>1];B[g+4>>1]=e<<8|e>>>8;e=E[d+6>>1];B[g+6>>1]=e<<8|e>>>8;g=g+8|0;d=d+8|0;a=a-4|0;if(a){continue}break}}g=g+h|0;d=d+j|0;if(f){continue}break}break c}C:{switch(f-842094158|0){case 11:q=rl(j,b,d,l,g,h,0);break c;default:if((f|0)!=1448433993){break u}q=rl(j,b,d,l,g,h,1);break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break u;case 0:break C}}if(b+2>>>0<3){break c}c=(j+1|0)/2|0;m=c&3;d=I(b,l)+d|0;g=I(b,h)+g|0;f=(b+1|0)/2|0;b=j+2>>>0<3;h=(((h+1|0)/2|0)-c&2147483647)<<1;j=(((l+1|0)/2|0)-c&2147483647)<<1;l=c-1>>>0<3;while(1){f=f-1|0;D:{if(b){break D}e=0;a=c;if(m){while(1){n=E[d>>1];B[g>>1]=n<<8|n>>>8;g=g+2|0;d=d+2|0;a=a-1|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}if(l){break D}while(1){e=E[d>>1];B[g>>1]=e<<8|e>>>8;e=E[d+2>>1];B[g+2>>1]=e<<8|e>>>8;e=E[d+4>>1];B[g+4>>1]=e<<8|e>>>8;e=E[d+6>>1];B[g+6>>1]=e<<8|e>>>8;g=g+8|0;d=d+8|0;a=a-4|0;if(a){continue}break}}g=g+h|0;d=d+j|0;if(f){continue}break}break c}if((f|0)==825382478){break j}}a=Yh(c);z=i,F=Yh(f),C[z+52>>2]=F;C[i+48>>2]=a;q=Qe(8486,i+48|0);break c}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 k;case 0:case 11:break m;default:break n}}if((c|0)==844715353){break o}if((c|0)==1448433993){break m}if((c|0)!=1431918169){break k}}if(!(!((f|0)==844715353|(f|0)==1498831189)&(f|0)!=1431918169)){E:{F:{if((c|0)!=1498831189){if((c|0)==1431918169){break F}if((c|0)!=844715353){break E}if((f|0)!=1431918169){if((f|0)!=1498831189){break E}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;G:{if(l){break G}if(m){a=D[d+1|0];n=D[d|0];k=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break G}while(1){n=D[d+1|0];k=D[d|0];p=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+5|0];k=D[d+4|0];p=D[d+7|0];A[g+7|0]=D[d+6|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;H:{if(l){break H}if(m){a=D[d|0];n=D[d+3|0];k=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break H}while(1){n=D[d|0];k=D[d+3|0];p=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+4|0];k=D[d+7|0];p=D[d+6|0];A[g+7|0]=D[d+5|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if((f|0)!=1431918169){if((f|0)!=844715353){break E}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;I:{if(l){break I}if(m){a=D[d+1|0];n=D[d|0];k=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break I}while(1){n=D[d+1|0];k=D[d|0];p=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+5|0];k=D[d+4|0];p=D[d+7|0];A[g+7|0]=D[d+6|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;h=h-a|0;m=l-a|0;e=c-1|0;l=c&1;n=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;J:{if(n){break J}if(l){f=D[d+3|0];a=D[d+1|0]|D[d+2|0]<<8;A[g+3|0]=D[d|0];A[g|0]=a;A[g+1|0]=a>>>8;A[g+2|0]=f;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break J}while(1){k=D[d+3|0];f=D[d+1|0]|D[d+2|0]<<8;A[g+3|0]=D[d|0];A[g|0]=f;A[g+1|0]=f>>>8;A[g+2|0]=k;k=D[d+7|0];f=D[d+5|0]|D[d+6|0]<<8;A[g+7|0]=D[d+4|0];A[g+4|0]=f;A[g+5|0]=f>>>8;A[g+6|0]=k;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=g+h|0;d=d+m|0;if(b){continue}break}break c}if((f|0)!=1498831189){if((f|0)!=844715353){break E}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;K:{if(l){break K}if(m){a=D[d|0];n=D[d+3|0];k=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break K}while(1){n=D[d|0];k=D[d+3|0];p=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+4|0];k=D[d+7|0];p=D[d+6|0];A[g+7|0]=D[d+5|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;L:{if(l){break L}if(m){a=D[d+3|0];n=D[d|0];k=D[d+1|0];A[g+3|0]=D[d+2|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break L}while(1){n=D[d+3|0];k=D[d|0];p=D[d+1|0];A[g+3|0]=D[d+2|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+7|0];k=D[d+4|0];p=D[d+5|0];A[g+7|0]=D[d+6|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}a=Yh(c);z=i,F=Yh(f),C[z+36>>2]=F;C[i+32>>2]=a;q=Qe(8411,i+32|0);break c}if((c|0)<=1448433992){if((c|0)==844715353|(c|0)==1431918169){break l}break k}if((c|0)==1498831189){break l}if((c|0)!=1448433993){break k}break m}if((c|0)!=825382478){break k}}if(!(!((f|0)==844715353|(f|0)==1498831189)&(f|0)!=1431918169)){if((d|0)==(g|0)){q=Qe(19073,0);break c}q=-1;if((Bj(b,c,d,l,i+92|0,i+88|0,i+84|0,i+80|0,i+76|0)|0)<0){break c}a=C[i+80>>2];k=C[i+92>>2];M:{if(!((c|0)!=842094158&(c|0)!=825382478)){l=2;c=C[i+76>>2]+((j+1|0)/-2<<1)|0;break M}l=1;c=C[i+76>>2]+((j+1|0)/-2|0)|0}d=0;if((Bj(b,f,g,h,i+72|0,i+68|0,i- -64|0,i+60|0,i+56|0)|0)<0){break c}n=b-1|0;if((b|0)>=2){v=a-j|0;d=a+k|0;a=C[i+60>>2];t=a+((j+1|0)/-2<<2)|0;q=j&-2;u=j-1|0;g=a+C[i+72>>2]|0;m=C[i+68>>2];e=C[i+56>>2];a=m+e|0;h=C[i+64>>2];e=e+h|0;w=(j|0)<2;while(1){if(w){f=0}else{f=0;k=C[i+88>>2];while(1){h=C[i+72>>2];r=C[i+92>>2];A[h|0]=D[r|0];C[i+92>>2]=r+2;A[h+2|0]=D[r+1|0];C[i+72>>2]=h+4;A[m|0]=D[k|0];A[C[i+64>>2]]=D[C[i+84>>2]];A[g|0]=D[d|0];A[g+2|0]=D[d+1|0];A[a|0]=D[C[i+88>>2]];A[e|0]=D[C[i+84>>2]];k=l+C[i+88>>2]|0;C[i+88>>2]=k;C[i+84>>2]=l+C[i+84>>2];m=C[i+68>>2]+4|0;C[i+68>>2]=m;h=C[i+64>>2]+4|0;C[i+64>>2]=h;e=e+4|0;a=a+4|0;g=g+4|0;d=d+2|0;f=f+2|0;if((u|0)>(f|0)){continue}break}f=q}N:{if((f|0)!=(u|0)){k=C[i+88>>2];f=C[i+84>>2];break N}f=C[i+72>>2];h=C[i+92>>2];A[f|0]=D[h|0];C[i+92>>2]=h+1;A[f+2|0]=D[h|0];C[i+72>>2]=f+4;A[m|0]=D[C[i+88>>2]];A[C[i+64>>2]]=D[C[i+84>>2]];A[g|0]=D[d|0];A[g+2|0]=D[d|0];A[a|0]=D[C[i+88>>2]];A[e|0]=D[C[i+84>>2]];e=e+4|0;a=a+4|0;g=g+4|0;d=d+1|0;h=C[i+64>>2]+4|0;m=C[i+68>>2]+4|0;k=l+C[i+88>>2]|0;f=l+C[i+84>>2]|0}C[i+88>>2]=c+k;C[i+84>>2]=c+f;r=v+C[i+80>>2]|0;k=r+C[i+92>>2]|0;C[i+92>>2]=k;s=t+C[i+60>>2]|0;C[i+72>>2]=s+C[i+72>>2];f=t+C[i+56>>2]|0;m=f+m|0;C[i+68>>2]=m;h=f+h|0;C[i+64>>2]=h;e=e+f|0;a=a+f|0;g=g+s|0;d=d+r|0;p=p+2|0;if((n|0)>(p|0)){continue}break}d=b&-2}q=0;if((d|0)!=(n|0)){break c}c=j-1|0;g=C[i+64>>2];e=C[i+84>>2];a=C[i+68>>2];h=C[i+88>>2];d=C[i+72>>2];if((j|0)<2){b=0}else{b=j-2|0;f=(b>>>1|0)+1|0;m=f&1;if(b>>>0>=2){b=f&-2;f=0;while(1){A[d|0]=D[k|0];A[d+2|0]=D[k+1|0];A[a|0]=D[h|0];A[g|0]=D[e|0];A[d+4|0]=D[k+2|0];A[d+6|0]=D[k+3|0];h=h+l|0;A[a+4|0]=D[h|0];e=e+l|0;A[g+4|0]=D[e|0];g=g+8|0;a=a+8|0;d=d+8|0;k=k+4|0;e=e+l|0;h=h+l|0;f=f+2|0;if((b|0)!=(f|0)){continue}break}}if(m){A[d|0]=D[k|0];A[d+2|0]=D[k+1|0];A[a|0]=D[h|0];A[g|0]=D[e|0];g=g+4|0;e=e+l|0;h=h+l|0;k=k+2|0;d=d+4|0;a=a+4|0}b=j&-2}C[i+72>>2]=d;C[i+92>>2]=k;C[i+88>>2]=h;C[i+68>>2]=a;C[i+84>>2]=e;C[i+64>>2]=g;if((b|0)!=(c|0)){break c}A[d|0]=D[k|0];C[i+92>>2]=k+1;C[i+72>>2]=d+2;A[d+2|0]=D[k|0];A[C[i+68>>2]]=D[C[i+88>>2]];A[C[i+64>>2]]=D[C[i+84>>2]];break c}if((c|0)==1431918169){break l}if((c|0)!=844715353){break k}}O:{P:{switch(f-842094158|0){case 0:case 11:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break k;default:break P}}if((f|0)==1448433993){break O}if((f|0)!=825382478){break k}}if((d|0)==(g|0)){q=Qe(19073,0);break c}q=-1;if((Bj(b,c,d,l,i+92|0,i+88|0,i+84|0,i+80|0,i+76|0)|0)<0){break c}n=C[i+80>>2];m=C[i+92>>2];k=C[i+88>>2];c=C[i+84>>2];d=C[i+76>>2];if((Bj(b,f,g,h,i+72|0,i+68|0,i- -64|0,i+60|0,i+56|0)|0)<0){break c}g=(j+1|0)/2|0;Q:{if(!((f|0)!=842094158&(f|0)!=825382478)){p=C[i+56>>2]-(g<<1)|0;l=2;break Q}p=C[i+56>>2]-g|0;l=1}f=C[i+72>>2];t=b-1|0;q=0;if((b|0)<2){a=0}else{a=c+d|0;e=d+k|0;d=m+n|0;u=n-(g<<2)|0;g=C[i+60>>2];v=g-j|0;g=f+g|0;n=j&-2;r=j-1|0;w=(j|0)<2;while(1){m=0;if(w){f=0}else{while(1){c=C[i+72>>2];f=C[i+92>>2];A[c|0]=D[f|0];h=D[f+2|0];C[i+72>>2]=c+2;A[c+1|0]=h;C[i+92>>2]=f+4;A[g|0]=D[d|0];A[g+1|0]=D[d+2|0];f=C[i+68>>2];h=C[i+88>>2];A[f|0]=D[e|0]+D[h|0]>>>1;s=C[i+64>>2];c=C[i+84>>2];A[s|0]=D[a|0]+D[c|0]>>>1;c=c+4|0;C[i+84>>2]=c;k=h+4|0;C[i+88>>2]=k;C[i+68>>2]=f+l;C[i+64>>2]=l+s;a=a+4|0;e=e+4|0;d=d+4|0;g=g+2|0;m=m+2|0;if((r|0)>(m|0)){continue}break}f=n}R:{if((f|0)!=(r|0)){h=C[i+64>>2];f=C[i+68>>2];break R}c=C[i+72>>2];f=C[i+92>>2];A[c|0]=D[f|0];h=D[f+2|0];C[i+72>>2]=c+1;A[c|0]=h;C[i+92>>2]=f+4;A[g|0]=D[d|0];A[g|0]=D[d+2|0];f=C[i+68>>2];c=C[i+88>>2];A[f|0]=D[e|0]+D[c|0]>>>1;h=C[i+64>>2];m=C[i+84>>2];A[h|0]=D[a|0]+D[m|0]>>>1;a=a+4|0;e=e+4|0;d=d+4|0;g=g+1|0;k=c+4|0;h=h+l|0;c=m+4|0;f=f+l|0}C[i+68>>2]=f+p;C[i+64>>2]=h+p;s=u+C[i+80>>2]|0;m=s+C[i+92>>2]|0;C[i+92>>2]=m;h=u+C[i+76>>2]|0;k=h+k|0;C[i+88>>2]=k;c=c+h|0;C[i+84>>2]=c;x=v+C[i+60>>2]|0;f=x+C[i+72>>2]|0;C[i+72>>2]=f;g=g+x|0;a=a+h|0;e=e+h|0;d=d+s|0;y=y+2|0;if((t|0)>(y|0)){continue}break}a=b&-2}if((a|0)!=(t|0)){break c}b=j-1|0;d=C[i+64>>2];g=C[i+68>>2];if((j|0)<2){a=0}else{a=j-2|0;e=(a>>>1|0)+1|0;h=e&1;if(a>>>0>=2){e=e&-2;a=0;while(1){A[f|0]=D[m|0];A[f+1|0]=D[m+2|0];A[g|0]=D[k|0];A[d|0]=D[c|0];A[f+2|0]=D[m+4|0];A[f+3|0]=D[m+6|0];g=g+l|0;A[g|0]=D[k+4|0];d=d+l|0;A[d|0]=D[c+4|0];c=c+8|0;k=k+8|0;m=m+8|0;f=f+4|0;d=d+l|0;g=g+l|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}}if(h){A[f|0]=D[m|0];A[f+1|0]=D[m+2|0];A[g|0]=D[k|0];A[d|0]=D[c|0];d=d+l|0;g=g+l|0;k=k+4|0;f=f+2|0;m=m+4|0;c=c+4|0}a=j&-2}C[i+72>>2]=f;C[i+92>>2]=m;C[i+88>>2]=k;C[i+68>>2]=g;C[i+84>>2]=c;C[i+64>>2]=d;if((a|0)!=(b|0)){break c}A[f|0]=D[m|0];A[C[i+68>>2]]=D[C[i+88>>2]];A[C[i+64>>2]]=D[C[i+84>>2]];break c}a=Yh(c);z=i,F=Yh(f),C[z+20>>2]=F;C[i+16>>2]=a;q=Qe(8344,i+16|0);break c}q=sl(j,b,d,l,g,h,1);break c}if(!b){break c}a=(j+1|0)/2<<2;while(1){gf(g,d,a);g=g+h|0;d=d+l|0;b=b-1|0;if(b){continue}break}}Ce=i+96|0;i=q;break a}if((m|0)==268435456){break b}i=jr(a,b,c,d,e,f,g,h);break a}if(!(!f|(i|0)==268435456)){S:{if((c|0)==372645892){i=ir(a,b,d,e,f,g,h);break S}j=a<<2;i=I(j,b);i=Fe[C[94503]](i>>>0<=1?1:i)|0;if(i){C[94507]=C[94507]+1}if(!i){i=_e(0);break S}m=-1;if((Bi(a,b,c,d,e,372645892,i,j)|0)!=-1){m=ir(a,b,i,j,f,g,h)}if(i){Fe[C[94506]](i);C[94507]=C[94507]-1}i=m}break a}m=!c|(c&-268435456)==268435456;if((c|0)==(f|0)){i=0;if(!b){break a}a=I(m?c&255:1,a);while(1){gf(g,d,a);g=g+h|0;d=d+e|0;b=b-1|0;if(b){continue}break}break a}T:{if(!m){break T}i=-1;if((c>>>24&15)-1>>>0>2){break T}Qe(19987,0);break a}if((Fn(o+300|0,c)|0)<0){i=-1;break a}lf(o+404|0,0,60);C[o+424>>2]=d;C[o+404>>2]=1;C[o+420>>2]=e;C[o+416>>2]=b;C[o+412>>2]=a;C[o+408>>2]=o+300;c=o+168|0;lf(c,0,88);i=-1;C[o+244>>2]=-1;C[o+460>>2]=1;C[o+456>>2]=c;e=o+256|0;d=o+80|0;U:{if(!((f>>>24&15)-1>>>0>2|((f&-268435456)!=268435456?f:0))){Qe(19987,0);c=0;break U}if((Fn(e,f)|0)>=0){c=o+344|0;lf(c,0,60);C[c+20>>2]=g;C[c+4>>2]=e;C[c>>2]=1;C[c+16>>2]=h;C[c+12>>2]=b;C[c+8>>2]=a;lf(d,0,88);C[d+76>>2]=-1;C[c+56>>2]=1;C[c+52>>2]=d;c=1}else{c=0}}if(!c){break a}C[o+76>>2]=b;C[o+72>>2]=a;C[o+64>>2]=0;C[o+68>>2]=0;d=o- -64|0;b=o+344|0;a=o+404|0;c=C[a+52>>2];V:{W:{X:{if((b|0)!=C[c>>2]){break X}e=C[C[b+4>>2]+4>>2];if(C[c+80>>2]!=C[e+8>>2]?e:0){break X}e=C[C[a+4>>2]+4>>2];if(!e|C[c+84>>2]==C[e+8>>2]){break W}}i=-1;if((Hj(a,b)|0)<0){break V}c=C[a+52>>2]}i=Fe[C[c+8>>2]](a,d,b,d)|0}ag(C[o+456>>2])}Ce=o+464|0;return i}function Ot(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,B=0,E=0,G=0,H=0,K=0,M=0;q=Ce-48|0;Ce=q;a:{if(c>>>0<=2){c=c<<2;E=C[c+376076>>2];G=C[c+376064>>2];while(1){c=C[b+4>>2];b:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break b}c=Jf(b)}if((c|0)==32|c-9>>>0<5){continue}break}n=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}n=(c|0)==45?-1:1;c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break c}c=Jf(b)}e:{f:{while(1){if(A[g+1033|0]==(c|32)){g:{if(g>>>0>6){break g}c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break g}c=Jf(b)}g=g+1|0;if((g|0)!=8){continue}break f}break}if((g|0)!=3){if((g|0)==8){break f}if(!d|g>>>0<4){break e}if((g|0)==8){break f}}c=C[b+116>>2];if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}if(!d|g>>>0<4){break f}c=(c|0)<0;while(1){if(!c){C[b+4>>2]=C[b+4>>2]-1}g=g-1|0;if(g>>>0>3){continue}break}}l=Ce-16|0;Ce=l;h=(w(J(J(n|0)*J(Infinity))),j(2));b=h&2147483647;h:{if(b-8388608>>>0<=2130706431){c=b;b=b>>>7|0;c=c<<25;d=b+1065353216|0;break h}c=h<<25;d=h>>>7|2147418112;if(b>>>0>=2139095040){break h}c=0;d=0;if(!b){break h}c=b;b=L(b);Fg(l,c,0,0,0,b+81|0);k=C[l>>2];i=C[l+4>>2];c=C[l+8>>2];d=C[l+12>>2]^65536|16265-b<<16}C[q>>2]=k;C[q+4>>2]=i;C[q+8>>2]=c;C[q+12>>2]=h&-2147483648|d;Ce=l+16|0;k=C[q+8>>2];i=C[q+12>>2];h=C[q>>2];m=C[q+4>>2];break a}i:{j:{k:{if(g){break k}g=0;while(1){if(A[g+12445|0]!=(c|32)){break k}l:{if(g>>>0>1){break l}c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break l}c=Jf(b)}g=g+1|0;if((g|0)!=3){continue}break}break j}m:{switch(g|0){case 0:n:{if((c|0)!=48){break n}g=C[b+4>>2];o:{if((g|0)!=C[b+104>>2]){C[b+4>>2]=g+1;g=D[g|0];break o}g=Jf(b)}if((g&-33)==88){f=Ce-432|0;Ce=f;c=C[b+4>>2];p:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;g=D[c|0];break p}g=Jf(b)}q:{r:{while(1){if((g|0)!=48){s:{if((g|0)!=46){break q}c=C[b+4>>2];if((c|0)==C[b+104>>2]){break s}C[b+4>>2]=c+1;g=D[c|0];break r}}else{c=C[b+4>>2];if((c|0)!=C[b+104>>2]){B=1;C[b+4>>2]=c+1;g=D[c|0]}else{B=1;g=Jf(b)}continue}break}g=Jf(b)}r=1;if((g|0)!=48){break q}while(1){c=s;s=c-1|0;t=t-!c|0;c=C[b+4>>2];t:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;g=D[c|0];break t}g=Jf(b)}if((g|0)==48){continue}break}B=1}m=1073676288;while(1){u:{c=g|32;v:{w:{H=g-48|0;if(H>>>0<10){break w}if((g|0)!=46&c-97>>>0>=6){break u}if((g|0)!=46){break w}if(r){break u}r=1;s=k;t=i;break v}c=(g|0)>57?c-87|0:H;x:{if((i|0)<=0&k>>>0<=7|(i|0)<0){e=c+(e<<4)|0;break x}if(!i&k>>>0<=28){ih(f+48|0,c);Tf(f+32|0,y,z,h,m,0,0,0,1073414144);y=C[f+32>>2];z=C[f+36>>2];h=C[f+40>>2];m=C[f+44>>2];Tf(f+16|0,C[f+48>>2],C[f+52>>2],C[f+56>>2],C[f+60>>2],y,z,h,m);$g(f,C[f+16>>2],C[f+20>>2],C[f+24>>2],C[f+28>>2],l,p,v,x);v=C[f+8>>2];x=C[f+12>>2];l=C[f>>2];p=C[f+4>>2];break x}if(o|!c){break x}Tf(f+80|0,y,z,h,m,0,0,0,1073610752);$g(f- -64|0,C[f+80>>2],C[f+84>>2],C[f+88>>2],C[f+92>>2],l,p,v,x);v=C[f+72>>2];x=C[f+76>>2];o=1;l=C[f+64>>2];p=C[f+68>>2]}k=k+1|0;i=k?i:i+1|0;B=1}c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;g=D[c|0]}else{g=Jf(b)}continue}break}y:{if(!B){c=C[b+116>>2];z:{A:{if((c|0)>0|(c|0)>=0){c=C[b+4>>2];C[b+4>>2]=c-1;if(!d){break A}C[b+4>>2]=c-2;if(!r){break z}C[b+4>>2]=c-3;break z}if(d){break z}}Gh(b,0,0)}Zh(f+96|0,+(n|0)*0);l=C[f+96>>2];p=C[f+100>>2];c=C[f+108>>2];b=C[f+104>>2];break y}if((i|0)<=0&k>>>0<=7|(i|0)<0){h=k;m=i;while(1){e=e<<4;h=h+1|0;m=h?m:m+1|0;if((h|0)!=8|m){continue}break}}B:{C:{D:{if((g&-33)==80){h=Nt(b,d);c=Ee;m=c;if(h|(c|0)!=-2147483648){break B}if(d){c=C[b+116>>2];if((c|0)>0|(c|0)>=0){break D}break C}l=0;p=0;Gh(b,0,0);c=0;b=0;break y}h=0;m=0;if(C[b+116>>2]<0){break B}}C[b+4>>2]=C[b+4>>2]-1}h=0;m=0}if(!e){Zh(f+112|0,+(n|0)*0);l=C[f+112>>2];p=C[f+116>>2];c=C[f+124>>2];b=C[f+120>>2];break y}b=r?s:k;i=(r?t:i)<<2|b>>>30;c=h+(b<<2)|0;b=i+m|0;k=c-32|0;i=(c>>>0>>0?b+1|0:b)-(c>>>0<32)|0;b=i;if(k>>>0>0-E>>>0&(b|0)>=0|(b|0)>0){C[105773]=68;ih(f+160|0,n);Tf(f+144|0,C[f+160>>2],C[f+164>>2],C[f+168>>2],C[f+172>>2],-1,-1,-1,2147418111);Tf(f+128|0,C[f+144>>2],C[f+148>>2],C[f+152>>2],C[f+156>>2],-1,-1,-1,2147418111);l=C[f+128>>2];p=C[f+132>>2];c=C[f+140>>2];b=C[f+136>>2];break y}b=E-226|0;c=b>>31;if((i|0)>=(c|0)&b>>>0<=k>>>0|(c|0)<(i|0)){if((e|0)>=0){while(1){$g(f+416|0,l,p,v,x,0,0,0,-1073807360);b=Dt(l,p,v,x,1073610752);c=(b|0)>=0;b=c;$g(f+400|0,l,p,v,x,b?C[f+416>>2]:l,b?C[f+420>>2]:p,b?C[f+424>>2]:v,b?C[f+428>>2]:x);b=k;k=b-1|0;i=i-!b|0;v=C[f+408>>2];x=C[f+412>>2];l=C[f+400>>2];p=C[f+404>>2];e=c|e<<1;if((e|0)>=0){continue}break}}b=i-((E>>31)+(k>>>0>>0)|0)|0;c=(k-E|0)+32|0;b=c>>>0<32?b+1|0:b;c=c>>>0>>0&(b|0)<=0|(b|0)<0?(c|0)>0?c:0:G;E:{if((c|0)>=113){ih(f+384|0,n);s=C[f+392>>2];t=C[f+396>>2];y=C[f+384>>2];z=C[f+388>>2];h=0;b=0;break E}Zh(f+352|0,Li(1,144-c|0));ih(f+336|0,n);y=C[f+336>>2];z=C[f+340>>2];s=C[f+344>>2];t=C[f+348>>2];Rt(f+368|0,C[f+352>>2],C[f+356>>2],C[f+360>>2],C[f+364>>2],y,z,s,t);u=C[f+376>>2];K=C[f+380>>2];h=C[f+372>>2];b=C[f+368>>2]}d=!(e&1)&((ij(l,p,v,x,0,0,0,0)|0)!=0&(c|0)<32);Sj(f+320|0,d+e|0);Tf(f+304|0,y,z,s,t,C[f+320>>2],C[f+324>>2],C[f+328>>2],C[f+332>>2]);c=b;$g(f+272|0,C[f+304>>2],C[f+308>>2],C[f+312>>2],C[f+316>>2],b,h,u,K);b=d;Tf(f+288|0,y,z,s,t,b?0:l,b?0:p,b?0:v,b?0:x);$g(f+256|0,C[f+288>>2],C[f+292>>2],C[f+296>>2],C[f+300>>2],C[f+272>>2],C[f+276>>2],C[f+280>>2],C[f+284>>2]);co(f+240|0,C[f+256>>2],C[f+260>>2],C[f+264>>2],C[f+268>>2],c,h,u,K);b=C[f+240>>2];d=C[f+244>>2];c=C[f+248>>2];h=C[f+252>>2];if(!ij(b,d,c,h,0,0,0,0)){C[105773]=68}Qt(f+224|0,b,d,c,h,k);l=C[f+224>>2];p=C[f+228>>2];c=C[f+236>>2];b=C[f+232>>2];break y}C[105773]=68;ih(f+208|0,n);Tf(f+192|0,C[f+208>>2],C[f+212>>2],C[f+216>>2],C[f+220>>2],0,0,0,65536);Tf(f+176|0,C[f+192>>2],C[f+196>>2],C[f+200>>2],C[f+204>>2],0,0,0,65536);l=C[f+176>>2];p=C[f+180>>2];c=C[f+188>>2];b=C[f+184>>2]}C[q+16>>2]=l;C[q+20>>2]=p;C[q+24>>2]=b;C[q+28>>2]=c;Ce=f+432|0;k=C[q+24>>2];i=C[q+28>>2];h=C[q+16>>2];m=C[q+20>>2];break a}if(C[b+116>>2]<0){break n}C[b+4>>2]=C[b+4>>2]-1}g=b;u=n;f=d;b=0;n=0;e=Ce-8976|0;Ce=e;H=0-E|0;K=H-G|0;F:{G:{while(1){if((c|0)!=48){H:{if((c|0)!=46){break F}c=C[g+4>>2];if((c|0)==C[g+104>>2]){break H}C[g+4>>2]=c+1;c=D[c|0];break G}}else{b=C[g+4>>2];if((b|0)!=C[g+104>>2]){C[g+4>>2]=b+1;c=D[b|0]}else{c=Jf(g)}b=1;continue}break}c=Jf(g)}o=1;if((c|0)!=48){break F}while(1){b=k;k=b-1|0;i=i-!b|0;b=C[g+4>>2];I:{if((b|0)!=C[g+104>>2]){C[g+4>>2]=b+1;c=D[b|0];break I}c=Jf(g)}if((c|0)==48){continue}break}b=1}C[e+784>>2]=0;J:{K:{d=(c|0)==46;l=c-48|0;L:{M:{N:{if(d|l>>>0<=9){while(1){O:{if(d&1){if(!o){k=h;i=m;o=1;break O}d=!b;break N}h=h+1|0;m=h?m:m+1|0;if((n|0)<=2044){B=(c|0)==48?B:h;b=(e+784|0)+(n<<2)|0;if(r){l=(I(C[b>>2],10)+c|0)-48|0}C[b>>2]=l;b=1;d=r+1|0;c=(d|0)==9;r=c?0:d;n=c+n|0;break O}if((c|0)==48){break O}C[e+8960>>2]=C[e+8960>>2]|1;B=18396}c=C[g+4>>2];P:{if((c|0)!=C[g+104>>2]){C[g+4>>2]=c+1;c=D[c|0];break P}c=Jf(g)}d=(c|0)==46;l=c-48|0;if(d|l>>>0<10){continue}break}}k=o?k:h;i=o?i:m;if(!(!b|(c&-33)!=69)){l=Nt(g,f);b=Ee;p=b;Q:{if(l|(b|0)!=-2147483648){break Q}if(!f){break L}l=0;p=0;if(C[g+116>>2]<0){break Q}C[g+4>>2]=C[g+4>>2]-1}i=i+p|0;k=k+l|0;i=k>>>0>>0?i+1|0:i;break K}d=!b;if((c|0)<0){break M}}if(C[g+116>>2]<0){break M}C[g+4>>2]=C[g+4>>2]-1}if(!d){break K}C[105773]=28}h=0;m=0;Gh(g,0,0);c=0;b=0;break J}b=C[e+784>>2];if(!b){Zh(e,+(u|0)*0);h=C[e>>2];m=C[e+4>>2];c=C[e+12>>2];b=C[e+8>>2];break J}if(!(h>>>0>9&(m|0)>=0|(m|0)>0|((h|0)!=(k|0)|(i|0)!=(m|0))|(b>>>G|0?(G|0)<=30:0))){ih(e+48|0,u);Sj(e+32|0,b);Tf(e+16|0,C[e+48>>2],C[e+52>>2],C[e+56>>2],C[e+60>>2],C[e+32>>2],C[e+36>>2],C[e+40>>2],C[e+44>>2]);h=C[e+16>>2];m=C[e+20>>2];c=C[e+28>>2];b=C[e+24>>2];break J}if(k>>>0>H>>>1>>>0&(i|0)>=0|(i|0)>0){C[105773]=68;ih(e+96|0,u);Tf(e+80|0,C[e+96>>2],C[e+100>>2],C[e+104>>2],C[e+108>>2],-1,-1,-1,2147418111);Tf(e- -64|0,C[e+80>>2],C[e+84>>2],C[e+88>>2],C[e+92>>2],-1,-1,-1,2147418111);h=C[e+64>>2];m=C[e+68>>2];c=C[e+76>>2];b=C[e+72>>2];break J}b=E-226|0;c=k>>>0>>0;b=b>>31;if(c&(i|0)<=(b|0)|(b|0)>(i|0)){C[105773]=68;ih(e+144|0,u);Tf(e+128|0,C[e+144>>2],C[e+148>>2],C[e+152>>2],C[e+156>>2],0,0,0,65536);Tf(e+112|0,C[e+128>>2],C[e+132>>2],C[e+136>>2],C[e+140>>2],0,0,0,65536);h=C[e+112>>2];m=C[e+116>>2];c=C[e+124>>2];b=C[e+120>>2];break J}if(r){if((r|0)<=8){b=(e+784|0)+(n<<2)|0;g=C[b>>2];while(1){g=I(g,10);r=r+1|0;if((r|0)!=9){continue}break}C[b>>2]=g}n=n+1|0}R:{o=k;if((B|0)>(k|0)|(B|0)>=9|(k|0)>17){break R}if((o|0)==9){ih(e+192|0,u);Sj(e+176|0,C[e+784>>2]);Tf(e+160|0,C[e+192>>2],C[e+196>>2],C[e+200>>2],C[e+204>>2],C[e+176>>2],C[e+180>>2],C[e+184>>2],C[e+188>>2]);h=C[e+160>>2];m=C[e+164>>2];c=C[e+172>>2];b=C[e+168>>2];break J}if((o|0)<=8){ih(e+272|0,u);Sj(e+256|0,C[e+784>>2]);Tf(e+240|0,C[e+272>>2],C[e+276>>2],C[e+280>>2],C[e+284>>2],C[e+256>>2],C[e+260>>2],C[e+264>>2],C[e+268>>2]);ih(e+224|0,C[(0-o<<2)+376064>>2]);Ct(e+208|0,C[e+240>>2],C[e+244>>2],C[e+248>>2],C[e+252>>2],C[e+224>>2],C[e+228>>2],C[e+232>>2],C[e+236>>2]);h=C[e+208>>2];m=C[e+212>>2];c=C[e+220>>2];b=C[e+216>>2];break J}b=(I(o,-3)+G|0)+27|0;c=C[e+784>>2];if(c>>>b|0?(b|0)<=30:0){break R}ih(e+352|0,u);Sj(e+336|0,c);Tf(e+320|0,C[e+352>>2],C[e+356>>2],C[e+360>>2],C[e+364>>2],C[e+336>>2],C[e+340>>2],C[e+344>>2],C[e+348>>2]);ih(e+304|0,C[(o<<2)+375992>>2]);Tf(e+288|0,C[e+320>>2],C[e+324>>2],C[e+328>>2],C[e+332>>2],C[e+304>>2],C[e+308>>2],C[e+312>>2],C[e+316>>2]);h=C[e+288>>2];m=C[e+292>>2];c=C[e+300>>2];b=C[e+296>>2];break J}while(1){c=n;n=c-1|0;if(!C[(e+784|0)+(n<<2)>>2]){continue}break}r=0;b=(o|0)%9|0;S:{if(!b){d=0;break S}d=0;b=(o|0)<0?b+9|0:b;T:{if(!c){c=0;break T}k=C[(0-b<<2)+376064>>2];i=1e9/(k|0)|0;l=0;g=0;while(1){h=l;l=(e+784|0)+(g<<2)|0;m=C[l>>2];n=(m>>>0)/(k>>>0)|0;h=h+n|0;C[l>>2]=h;h=!h&(d|0)==(g|0);d=h?d+1&2047:d;o=h?o-9|0:o;l=I(i,m-I(k,n)|0);g=g+1|0;if((g|0)!=(c|0)){continue}break}if(!l){break T}C[(e+784|0)+(c<<2)>>2]=l;c=c+1|0}o=(o-b|0)+9|0}while(1){g=(e+784|0)+(d<<2)|0;U:{while(1){if(((o|0)!=36|F[g>>2]>=10384593)&(o|0)>=36){break U}n=c+2047|0;l=0;b=c;while(1){c=b;h=n&2047;n=(e+784|0)+(h<<2)|0;b=C[n>>2];m=b>>>3|0;k=l;l=b<<29;k=k+l|0;b=m;i=k>>>0>>0?b+1|0:b;if(!i&k>>>0<1000000001){l=0}else{b=k;l=oT(b,i,1e9,0);k=b-mT(l,Ee,1e9,0)|0}C[n>>2]=k;b=(h|0)!=(c-1&2047)?c:(d|0)==(h|0)?c:k?c:h;n=h-1|0;if((d|0)!=(h|0)){continue}break}r=r-29|0;if(!l){continue}break}d=d-1&2047;if((d|0)==(b|0)){k=e+784|0;c=k+((b+2046&2047)<<2)|0;g=c;i=C[c>>2];c=b-1&2047;C[g>>2]=i|C[k+(c<<2)>>2]}o=o+9|0;C[(e+784|0)+(d<<2)>>2]=l;continue}break}V:{W:while(1){k=c+1&2047;l=(e+784|0)+((c-1&2047)<<2)|0;while(1){h=(o|0)>45?9:1;X:{while(1){b=d;g=0;Y:{while(1){Z:{d=b+g&2047;if((d|0)==(c|0)){break Z}d=C[(e+784|0)+(d<<2)>>2];i=C[(g<<2)+376016>>2];if(d>>>0>>0){break Z}if(d>>>0>i>>>0){break Y}g=g+1|0;if((g|0)!=4){continue}}break}if((o|0)!=36){break Y}k=0;i=0;g=0;h=0;m=0;while(1){d=b+g&2047;if((d|0)==(c|0)){c=c+1&2047;C[(e+(c<<2)|0)+780>>2]=0}Sj(e+768|0,C[(e+784|0)+(d<<2)>>2]);Tf(e+752|0,k,i,h,m,0,0,1342177280,1075633366);$g(e+736|0,C[e+752>>2],C[e+756>>2],C[e+760>>2],C[e+764>>2],C[e+768>>2],C[e+772>>2],C[e+776>>2],C[e+780>>2]);h=C[e+744>>2];m=C[e+748>>2];k=C[e+736>>2];i=C[e+740>>2];g=g+1|0;if((g|0)!=4){continue}break}ih(e+720|0,u);Tf(e+704|0,k,i,h,m,C[e+720>>2],C[e+724>>2],C[e+728>>2],C[e+732>>2]);h=C[e+712>>2];m=C[e+716>>2];k=0;i=0;l=C[e+704>>2];p=C[e+708>>2];f=r+113|0;g=f-E|0;n=(g|0)<(G|0);d=n?(g|0)>0?g:0:G;if((d|0)<=112){break X}break V}r=h+r|0;d=c;if((b|0)==(c|0)){continue}break}m=1e9>>>h|0;n=-1<>2];i=i+(f>>>h|0)|0;C[g>>2]=i;i=!i&(b|0)==(d|0);d=i?d+1&2047:d;o=i?o-9|0:o;g=I(m,f&n);b=b+1&2047;if((c|0)!=(b|0)){continue}break}if(!g){continue}if((d|0)!=(k|0)){C[(e+784|0)+(c<<2)>>2]=g;c=k;continue W}C[l>>2]=C[l>>2]|1;continue}break}break}Zh(e+656|0,Li(1,225-d|0));Rt(e+688|0,C[e+656>>2],C[e+660>>2],C[e+664>>2],C[e+668>>2],l,p,h,m);y=C[e+696>>2];z=C[e+700>>2];v=C[e+688>>2];x=C[e+692>>2];Zh(e+640|0,Li(1,113-d|0));Pt(e+672|0,l,p,h,m,C[e+640>>2],C[e+644>>2],C[e+648>>2],C[e+652>>2]);k=C[e+672>>2];i=C[e+676>>2];s=C[e+680>>2];t=C[e+684>>2];co(e+624|0,l,p,h,m,k,i,s,t);$g(e+608|0,v,x,y,z,C[e+624>>2],C[e+628>>2],C[e+632>>2],C[e+636>>2]);h=C[e+616>>2];m=C[e+620>>2];l=C[e+608>>2];p=C[e+612>>2]}o=b+4&2047;_:{if((o|0)==(c|0)){break _}o=C[(e+784|0)+(o<<2)>>2];$:{if(o>>>0<=499999999){if(!o&(b+5&2047)==(c|0)){break $}Zh(e+496|0,+(u|0)*.25);$g(e+480|0,k,i,s,t,C[e+496>>2],C[e+500>>2],C[e+504>>2],C[e+508>>2]);s=C[e+488>>2];t=C[e+492>>2];k=C[e+480>>2];i=C[e+484>>2];break $}if((o|0)!=5e8){Zh(e+592|0,+(u|0)*.75);$g(e+576|0,k,i,s,t,C[e+592>>2],C[e+596>>2],C[e+600>>2],C[e+604>>2]);s=C[e+584>>2];t=C[e+588>>2];k=C[e+576>>2];i=C[e+580>>2];break $}M=+(u|0);if((b+5&2047)==(c|0)){Zh(e+528|0,M*.5);$g(e+512|0,k,i,s,t,C[e+528>>2],C[e+532>>2],C[e+536>>2],C[e+540>>2]);s=C[e+520>>2];t=C[e+524>>2];k=C[e+512>>2];i=C[e+516>>2];break $}Zh(e+560|0,M*.75);$g(e+544|0,k,i,s,t,C[e+560>>2],C[e+564>>2],C[e+568>>2],C[e+572>>2]);s=C[e+552>>2];t=C[e+556>>2];k=C[e+544>>2];i=C[e+548>>2]}if((d|0)>111){break _}Pt(e+464|0,k,i,s,t,0,0,0,1073676288);if(ij(C[e+464>>2],C[e+468>>2],C[e+472>>2],C[e+476>>2],0,0,0,0)){break _}$g(e+448|0,k,i,s,t,0,0,0,1073676288);s=C[e+456>>2];t=C[e+460>>2];k=C[e+448>>2];i=C[e+452>>2]}$g(e+432|0,l,p,h,m,k,i,s,t);co(e+416|0,C[e+432>>2],C[e+436>>2],C[e+440>>2],C[e+444>>2],v,x,y,z);h=C[e+424>>2];m=C[e+428>>2];l=C[e+416>>2];p=C[e+420>>2];aa:{if((K-2|0)>=(f&2147483647)){break aa}C[e+408>>2]=h;C[e+412>>2]=m&2147483647;C[e+400>>2]=l;C[e+404>>2]=p;Tf(e+384|0,l,p,h,m,0,0,0,1073610752);b=Dt(C[e+400>>2],C[e+404>>2],C[e+408>>2],C[e+412>>2],1081081856);b=(b|0)>=0;h=b?C[e+392>>2]:h;m=b?C[e+396>>2]:m;l=b?C[e+384>>2]:l;p=b?C[e+388>>2]:p;r=b+r|0;if(!((ij(k,i,s,t,0,0,0,0)|0)!=0&(b?n&(d|0)!=(g|0):n))&(r+110|0)<=(K|0)){break aa}C[105773]=68}Qt(e+368|0,l,p,h,m,r);h=C[e+368>>2];m=C[e+372>>2];c=C[e+380>>2];b=C[e+376>>2]}C[q+40>>2]=b;C[q+44>>2]=c;C[q+32>>2]=h;C[q+36>>2]=m;Ce=e+8976|0;k=C[q+40>>2];i=C[q+44>>2];h=C[q+32>>2];m=C[q+36>>2];break a;case 3:break j;default:break m}}c=C[b+116>>2];if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}break i}ba:{c=C[b+4>>2];ca:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break ca}c=Jf(b)}if((c|0)==40){g=1;break ba}i=2147450880;if(C[b+116>>2]<0){break a}C[b+4>>2]=C[b+4>>2]-1;break a}while(1){da:{c=C[b+4>>2];ea:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break ea}c=Jf(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break da}}g=g+1|0;continue}break}i=2147450880;if((c|0)==41){break a}c=C[b+116>>2];if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}fa:{if(d){if(g){break fa}break a}break i}while(1){g=g-1|0;if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}if(g){continue}break}break a}C[105773]=28;Gh(b,0,0)}i=0}C[a>>2]=h;C[a+4>>2]=m;C[a+8>>2]=k;C[a+12>>2]=i;Ce=q+48|0}function vq(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=Ce-16|0;Ce=s;f=Ce-128|0;Ce=f;C[a+88>>2]=0;C[a+92>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0;C[a+96>>2]=0;C[a+100>>2]=0;C[a+112>>2]=-1;C[a+116>>2]=-1;C[a+120>>2]=-1;C[a+124>>2]=-1;C[a+128>>2]=-1;C[a+132>>2]=-1;C[a+136>>2]=-1;C[a+140>>2]=-1;C[a+144>>2]=-1;C[a+148>>2]=-1;C[a+152>>2]=-1;C[a+168>>2]=0;C[a+172>>2]=0;C[a+160>>2]=0;C[a+164>>2]=8720;C[a+176>>2]=0;C[a+180>>2]=0;C[a+184>>2]=0;C[a+188>>2]=0;o=a+192|0;d=o;C[d>>2]=0;C[d+4>>2]=0;C[a+200>>2]=0;C[a+204>>2]=0;C[a+208>>2]=0;C[a+212>>2]=0;if(!D[a+44|0]){d=Qf(b);A[a+44|0]=1;C[a+40>>2]=d}i=a+4|0;b=Of(b,1128678944);a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}A[i+24|0]=0;C[i+32>>2]=b;e=C[b+12>>2];C[i+4>>2]=e;g=C[b+16>>2];C[i+8>>2]=g+e;C[i+28>>2]=0;if(g>>>0>67108862){d=1073741823}else{d=g<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[i+12>>2]=d;C[i+20>>2]=0;C[i>>2]=0;b:{if(!e){Ue(b);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;break b}c:{if((g|0)>=4){C[i+12>>2]=d-4;d=D[e|0];Ue(b);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;if((d|0)!=1){break c}if(C[b+4>>2]){C[b+4>>2]=0}break b}Ue(b);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0}Ue(b);b=205712}C[a>>2]=b;d:{if(!b){break d}d=C[b>>2];if(!d){break d}C[b>>2]=d+1}A[a+28|0]=0;C[a+36>>2]=b;d=C[b+12>>2];C[a+8>>2]=d;b=C[b+16>>2];C[a+12>>2]=b+d;C[a+4>>2]=0;C[a+32>>2]=0;if(b>>>0>67108862){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}C[a+16>>2]=b;C[a+24>>2]=0;e:{f:{b=C[a>>2];if(F[b+16>>2]>=4){p=C[b+12>>2];if((p|0)!=205712){break f}}ng(a);break e}b=D[p+2|0]+p|0;C[a+56>>2]=b;g:{if((b|0)!=205712){if($i(b,i)){break g}}ng(a);break e}e=C[a+56>>2];b=0;h:{if((e|0)==205712){break h}d=D[e|0]|D[e+1|0]<<8;b=2;if(!d){break h}b=(d<<8|d>>>8)&65535;d=D[e+2|0];k=I(b+1|0,d);i:{if(!d){break i}g=d&3;b=(e+I(b,d)|0)+3|0;if(d>>>0<4){c=0}else{j=d&252;while(1){d=b;b=b+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}c=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(!g){break i}while(1){c=D[b|0]|c<<8;b=b+1|0;q=q+1|0;if((g|0)!=(q|0)){continue}break}}b=(c+k|0)+2|0}b=b+e|0;C[a+60>>2]=b;j:{k:{if((b|0)==205712){break k}if(!$i(b,i)){break k}b=C[a+60>>2];if(D[b|0]|D[b+1|0]<<8){break j}}ng(a);break e}kz(f,b,0);l:{m:{n:{b=C[f+4>>2];switch(b+1|0){case 1:break l;case 0:break m;default:break n}}c=C[f>>2];if(c>>>0>2]){break m}d=C[a+12>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break m}b=C[a+16>>2]-b|0;C[a+16>>2]=b;if((b|0)>0){break l}}ng(a);break e}b=a+88|0;C[f+80>>2]=C[f+8>>2];C[f+88>>2]=0;C[f+92>>2]=0;C[f+116>>2]=0;C[f+120>>2]=0;c=C[f+4>>2];C[f+72>>2]=C[f>>2];C[f+76>>2]=c;C[f+84>>2]=0;A[f+92|0]=0;c=kf(4744);C[f+104>>2]=0;C[f+108>>2]=0;C[f+96>>2]=0;C[f+100>>2]=0;o:{if(!c){C[f+100>>2]=-1;break o}C[f+108>>2]=c;C[f+100>>2]=593;C[f+104>>2]=513;We(c,0,4104)}A[f+112|0]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[a+152>>2]=-1;C[a+144>>2]=-1;C[a+148>>2]=-1;C[a+136>>2]=-1;C[a+140>>2]=-1;C[a+128>>2]=-1;C[a+132>>2]=-1;C[a+120>>2]=-1;C[a+124>>2]=-1;C[a+112>>2]=-1;C[a+116>>2]=-1;C[a+160>>2]=0;C[a+164>>2]=8720;C[a+184>>2]=0;C[a+188>>2]=0;C[a+176>>2]=0;C[a+180>>2]=0;C[a+168>>2]=0;C[a+172>>2]=0;k=b;C[b>>2]=0;C[b+4>>2]=0;C[b+24>>2]=-1;C[b+28>>2]=-1;C[b+80>>2]=0;C[b+84>>2]=0;C[b+72>>2]=0;C[b+76>>2]=8720;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+32>>2]=-1;C[b+36>>2]=-1;C[b+40>>2]=-1;C[b+44>>2]=-1;C[b+48>>2]=-1;C[b+52>>2]=-1;C[b+56>>2]=-1;C[b+60>>2]=-1;C[b- -64>>2]=-1;C[b+88>>2]=0;C[b+92>>2]=0;C[b+96>>2]=0;C[b+100>>2]=0;g=D[205712];d=g|256;h=f+72|0;b=D[h+16|0];p:{if((g|0)!=12){c=C[h+12>>2];j=c+1|0;m=C[h+4>>2];e=(b|0)!=0|j>>>0>m>>>0;if(e){break p}b=g;q:{r:{s:{if(c>>>0>=m>>>0){break s}r=C[h>>2];b=D[r+c|0];if((b|0)==12){b=d;if(j>>>0>=m>>>0){break s}c=j;b=D[r+c|0]|256}if(c>>>0>>0){break r}}A[h+16|0]=1;C[h+12>>2]=m;break q}C[h+12>>2]=c+1}bn(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])|C[h+28>>2]<0){break p}while(1){c=C[h+12>>2];j=c+1|0;m=C[h+4>>2];e=j>>>0>m>>>0;if(e){break p}b=g;t:{u:{if(c>>>0>=m>>>0){break u}r=C[h>>2];b=D[r+c|0];if((b|0)==12){b=d;if(j>>>0>=m>>>0){break u}c=j;b=D[r+c|0]|256}if(c>>>0>=m>>>0){break u}C[h+12>>2]=c+1;break t}A[h+16|0]=1;C[h+12>>2]=m}bn(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])){break p}if(C[h+28>>2]>=0){continue}break}break p}c=C[h+12>>2];g=c+1|0;j=C[h+4>>2];e=(b|0)!=0|g>>>0>j>>>0;if(e){break p}v:{if(c>>>0>=j>>>0){A[h+16|0]=1;b=65535;break v}w:{m=C[h>>2];b=D[m+c|0];x:{if((b|0)==12){b=d;if(g>>>0>=j>>>0){break x}c=g;b=D[m+c|0]|256}if(c>>>0>>0){break w}}A[h+16|0]=1;C[h+12>>2]=j;break v}C[h+12>>2]=c+1}bn(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])|C[h+28>>2]<0){break p}while(1){c=C[h+12>>2];g=c+1|0;j=C[h+4>>2];e=g>>>0>j>>>0;if(e){break p}y:{if(c>>>0>=j>>>0){A[h+16|0]=1;b=65535;break y}z:{m=C[h>>2];b=D[m+c|0];A:{if((b|0)==12){b=d;if(g>>>0>=j>>>0){break A}c=g;b=D[m+c|0]|256}if(c>>>0>>0){break z}}A[h+16|0]=1;C[h+12>>2]=j;break y}C[h+12>>2]=c+1}bn(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])){break p}if(C[h+28>>2]>=0){continue}break}}if(!e){ng(a);Re(C[f+108>>2]);break e}Re(C[f+108>>2]);B:{b=C[a+172>>2];if(b>>>0<=2){C[a+52>>2]=205712;break B}e=b+p|0;C[a+52>>2]=e;if((e|0)!=205712){d=0;j=C[i+4>>2];C:{if(j>>>0>e>>>0){break C}g=C[i+8>>2];if(g>>>0<=e>>>0){break C}c=C[i+12>>2];b=c-1|0;C[i+12>>2]=b;if((b|0)<=0){break C}D:{E:{switch(D[e|0]){case 0:b=(e+(C[i+36>>2]<<1)|0)-1|0;if(b>>>0>>0|b>>>0>g>>>0|g-b>>>0<2){break C}b=c-3|0;C[i+12>>2]=b;d=(b|0)>0;break C;case 1:d=1;c=C[i+36>>2]-1|0;if(!c){break C}h=e+1|0;e=0;while(1){k=h+I(e,3)|0;if(k>>>0>>0|g>>>0>>0|g-k>>>0<3){break D}b=b-3|0;C[i+12>>2]=b;if((b|0)<=0){break D}k=D[k+2|0];if(k>>>0>=c>>>0){break D}e=e+1|0;c=(k^-1)+c|0;if(c){continue}break};break C;case 2:break E;default:break C}}d=1;c=C[i+36>>2]-1|0;if(!c){break C}h=e+1|0;e=0;while(1){k=h+(e<<2)|0;if(k>>>0>>0|g>>>0>>0|g-k>>>0<4){break D}b=b-4|0;C[i+12>>2]=b;if((b|0)<=0){break D}k=D[k+2|0]|D[k+3|0]<<8;k=(k<<8|k>>>8)&65535;if(k>>>0>=c>>>0){break D}e=e+1|0;c=(k^-1)+c|0;if(c){continue}break}break C}d=0}if(d){break B}}ng(a);break e}C[a+84>>2]=1;F:{G:{if(C[a+148>>2]!=-1){b=C[a+108>>2];b=b?b+p|0:205712;C[a+76>>2]=b;c=C[a+176>>2];C[a+80>>2]=c?c+p|0:205712;H:{I:{if((b|0)==205712){break I}if(!$i(b,i)){break I}c=C[a+80>>2];if((c|0)==205712){break I}b=C[a+76>>2];b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;e=0;g=C[i+4>>2];J:{K:{if(g>>>0>c>>>0){break K}k=C[i+8>>2];if(k>>>0<=c>>>0){break K}m=C[i+12>>2];j=m-1|0;C[i+12>>2]=j;if((j|0)<=0){break K}L:{M:{N:{O:{switch(D[c|0]){case 0:d=C[i+36>>2];b=1;if(!d){break J}h=c+1|0;if(h>>>0>>0|h>>>0>=k>>>0){break K}c=m-2|0;if((c|0)>0){j=j-d|0;b=c;while(1){e=e+1|0;if((d|0)==(e|0)){break N}m=e+h|0;if(m>>>0>>0|k>>>0<=m>>>0){break M}b=b-1|0;if((b|0)>0){continue}break}e=d>>>0<=e>>>0}C[i+12>>2]=c&c>>31;b=e;break J;case 3:break O;default:break K}}b=gz(c+1|0,i,b);break J}C[i+12>>2]=j;break L}C[i+12>>2]=b}e=d>>>0<=e>>>0}b=e}if(b){break H}}ng(a);break e}b=C[a+76>>2];b=D[b|0]|D[b+1|0]<<8;C[a+48>>2]=205712;C[a+84>>2]=(b<<8|b>>>8)&65535;b=a+48|0;if(C[a+148>>2]==-1){break G}if(C[a+52>>2]!=205712){break F}ng(a);break e}C[a+80>>2]=205712;C[a+76>>2]=205712;C[a+48>>2]=205712;b=a+48|0}c=C[a+168>>2];if(c>>>0<2){break F}c=c+p|0;C[b>>2]=c;if((c|0)!=205712){P:{Q:{k=C[i+4>>2];if(k>>>0>c>>>0){break Q}d=C[i+8>>2];if(d>>>0<=c>>>0){break Q}e=C[i+12>>2];b=e-1|0;C[i+12>>2]=b;if((b|0)<=0){break Q}b=0;R:{S:{T:{U:{V:{j=D[c|0];h=j&127;switch(h|0){case 1:break U;case 0:break V;default:break R}}if(d>>>0<=c+1>>>0){break Q}e=e-2|0;C[i+12>>2]=e;if(!e){break Q}g=D[c+1|0];if(!g){break S}if(g>>>0<=d+(c+1^-1)>>>0){break T}break Q}if(d>>>0<=c+1>>>0){break Q}e=e-2|0;C[i+12>>2]=e;if(!e){break Q}b=D[c+1|0];if(!b){break S}b=b<<1;if(b>>>0>d+(c+1^-1)>>>0){break Q}e=e-b|0;C[i+12>>2]=e;if((e|0)>0){break S}break Q}e=e-g|0;C[i+12>>2]=e;if((e|0)<=0){break R}}b=1;if(j<<24>>24>=0){break R}b=205712;W:{X:{switch(h|0){case 0:b=D[c+1|0];b=(b?b+(c+1|0)|0:205712)+1|0;break W;case 1:break X;default:break W}}b=D[c+1|0];b=(b?c+(b<<1)|0:205712)+2|0}if(b>>>0>>0|b>>>0>=d>>>0){break Q}c=e-1|0;C[i+12>>2]=c;if(!c){break Q}e=D[b|0];if(e){d=d+(b^-1)|0;b=I(e,3);if(d>>>0>>0){break Q}c=c-b|0;C[i+12>>2]=c;b=0;if((c|0)<=0){break R}}b=1}break P}b=0}if(b){break F}}ng(a);break e}b=C[a+60>>2];b=jz(b)+b|0;C[a+64>>2]=b;Y:{if((b|0)!=205712){if($i(b,i)){break Y}}ng(a);break e}b=C[a+64>>2];b=jz(b)+b|0;C[a+68>>2]=b;Z:{if((b|0)==205712){break Z}if($i(b,i)){break Z}ng(a);break e}b=C[a+104>>2];b=b?b+p|0:205712;C[a+72>>2]=b;_:{if((b|0)!=205712){if($i(b,i)){break _}}ng(a);break e}b=C[a+72>>2];b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[a+216>>2]=b;if((b|0)!=C[a+40>>2]){ng(a);break e}$:{aa:{b=C[a+84>>2];c=C[a+204>>2];ba:{if((c|0)>=0){b=(b|0)>0?b:0;if(b>>>0>c>>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}ca:{if(c>>>0<=178956969){d=mf(C[a+212>>2],I(c,24));if(d){break ca}}C[a+204>>2]=-1;b=0;break ba}C[a+204>>2]=c;C[a+212>>2]=d}c=C[a+208>>2];if(c>>>0>>0){We(C[a+212>>2]+I(c,24)|0,0,I(b-c|0,24))}C[a+208>>2]=b;b=1}else{b=0}}if(b){if(!C[a+84>>2]){break aa}c=0;while(1){da:{if(F[a+208>>2]<=c>>>0){b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break da}b=C[a+212>>2]+I(c,24)|0}C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=205712;C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;c=c+1|0;b=C[a+84>>2];if(c>>>0>>0){continue}break}if(C[a+148>>2]==-1){break $}if(!b){break e}q=0;while(1){b=f+60|0;kz(b,C[a+76>>2],q);if(!nq(b,i)){ng(a);break e}A[f+88|0]=0;C[f+80>>2]=0;C[f+84>>2]=0;C[f+72>>2]=0;C[f+76>>2]=0;C[f+108>>2]=0;C[f+100>>2]=0;C[f+104>>2]=0;mq(f+72|0,f+60|0);ea:{fa:{ga:{d=C[o>>2];if((d|0)>=0){c=C[o+4>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break fa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=134217726){c=mf(C[o+8>>2],d<<5);if(c){break ga}}C[o>>2]=-1}b=C[51435];C[105682]=C[51434];C[105683]=b;b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;g=422704;break ea}C[o>>2]=d;C[o+8>>2]=c;c=C[o+4>>2]}if(b>>>0>c>>>0){We(C[o+8>>2]+(c<<5)|0,0,b-c<<5)}C[o+4>>2]=b;g=(C[o+8>>2]+(b<<5)|0)-32|0}b=C[51435];C[105682]=C[51434];C[105683]=b;c=C[51433];v=c;h=C[51432];C[105680]=h;C[105681]=c;c=C[51431];w=c;m=C[51430];C[105678]=m;C[105679]=c;c=C[51429];x=c;r=C[51428];C[105676]=r;C[105677]=c;ha:{ia:{if((g|0)==422704){break ia}C[g>>2]=0;C[g+4>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g+24>>2]=0;C[g+28>>2]=-1;C[g>>2]=0;C[g+4>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g+24>>2]=0;C[g+28>>2]=-1;k=D[205712];d=k|256;l=f+72|0;b=D[l+16|0];ja:{if((k|0)!=12){c=C[l+12>>2];j=c+1|0;n=C[l+4>>2];e=(b|0)!=0|j>>>0>n>>>0;if(e){break ja}b=k;ka:{la:{ma:{if(c>>>0>=n>>>0){break ma}t=C[l>>2];b=D[t+c|0];if((b|0)==12){b=d;if(j>>>0>=n>>>0){break ma}c=j;b=D[t+c|0]|256}if(c>>>0>>0){break la}}A[l+16|0]=1;C[l+12>>2]=n;break ka}C[l+12>>2]=c+1}an(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])|C[l+28>>2]<0){break ja}while(1){c=C[l+12>>2];j=c+1|0;n=C[l+4>>2];e=j>>>0>n>>>0;if(e){break ja}b=k;na:{oa:{if(c>>>0>=n>>>0){break oa}t=C[l>>2];b=D[t+c|0];if((b|0)==12){b=d;if(j>>>0>=n>>>0){break oa}c=j;b=D[t+c|0]|256}if(c>>>0>=n>>>0){break oa}C[l+12>>2]=c+1;break na}A[l+16|0]=1;C[l+12>>2]=n}an(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])){break ja}if(C[l+28>>2]>=0){continue}break}break ja}c=C[l+12>>2];k=c+1|0;j=C[l+4>>2];e=(b|0)!=0|k>>>0>j>>>0;if(e){break ja}pa:{if(c>>>0>=j>>>0){A[l+16|0]=1;b=65535;break pa}qa:{n=C[l>>2];b=D[n+c|0];ra:{if((b|0)==12){b=d;if(j>>>0<=k>>>0){break ra}c=k;b=D[n+c|0]|256}if(c>>>0>>0){break qa}}A[l+16|0]=1;C[l+12>>2]=j;break pa}C[l+12>>2]=c+1}an(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])|C[l+28>>2]<0){break ja}while(1){c=C[l+12>>2];k=c+1|0;j=C[l+4>>2];e=k>>>0>j>>>0;if(e){break ja}sa:{if(c>>>0>=j>>>0){A[l+16|0]=1;b=65535;break sa}ta:{n=C[l>>2];b=D[n+c|0];ua:{if((b|0)==12){b=d;if(j>>>0<=k>>>0){break ua}c=k;b=D[n+c|0]|256}if(c>>>0>>0){break ta}}A[l+16|0]=1;C[l+12>>2]=j;break sa}C[l+12>>2]=c+1}an(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])){break ja}if(C[l+28>>2]>=0){continue}break}}if(!e){break ia}va:{if(F[a+208>>2]<=q>>>0){C[105680]=h;C[105681]=v;C[105678]=m;C[105679]=w;C[105676]=r;C[105677]=x;b=422704;break va}b=C[a+212>>2]+I(q,24)|0}c=C[g+20>>2];d=C[g+16>>2];C[f+56>>2]=0;C[f+52>>2]=c;C[f+48>>2]=d+p;if(!nq(f+48|0,i)){break ia}A[f+16|0]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+36>>2]=0;C[f+28>>2]=0;C[f+32>>2]=0;mq(f,f+48|0);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=205712;wa:{if(hz(f,b)){c=b;b=C[b+16>>2];b=b?b+C[f+48>>2]|0:205712;C[c+20>>2]=b;c=0;if((b|0)==205712){break wa}if($i(b,i)){break wa}}ng(a);c=1}Re(C[f+36>>2]);break ha}ng(a);c=1}Re(C[f+108>>2]);if(c){break e}q=q+1|0;if(q>>>0>2]){continue}break}break e}ng(a);break e}if(C[a+148>>2]!=-1){break e}}xa:{if(!C[a+208>>2]){b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break xa}b=C[a+212>>2]}c=C[a+180>>2];d=C[a+184>>2];C[f+8>>2]=0;C[f+4>>2]=d;C[f>>2]=c+p;if(!nq(f,i)){ng(a);break e}A[f+88|0]=0;C[f+80>>2]=0;C[f+84>>2]=0;C[f+108>>2]=0;C[f+100>>2]=0;C[f+104>>2]=0;C[f+72>>2]=0;C[f+76>>2]=0;c=f+72|0;mq(c,f);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=205712;ya:{if(hz(c,b)){c=b;b=C[b+16>>2];b=b?b+C[f>>2]|0:205712;C[c+20>>2]=b;if((b|0)==205712){break ya}if($i(b,i)){break ya}}ng(a)}Re(C[f+108>>2])}Ce=f+128|0;za:{if(!C[a>>2]|C[a+148>>2]!=-1){break za}if(C[a+216>>2]){while(1){Aa:{Ba:{Ca:{g=sz(a,u);Da:{if(g>>>0<=390){c=g<<2;b=C[c+161936>>2];k=C[c+161940>>2]+(b^-1)|0;c=b+158480|0;break Da}dn(s+4|0,C[a+64>>2],g-391|0);c=C[s+4>>2];if(!c){break Ca}k=C[s+8>>2]}b=C[a+220>>2];if((b|0)<0){b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;break Aa}e=C[a+224>>2];d=e+1|0;d=(d|0)>0?d:0;if(d>>>0>b>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0>268435454){break Ba}e=mf(C[a+228>>2],b<<4);if(!e){break Ba}C[a+220>>2]=b;C[a+228>>2]=e;e=C[a+224>>2]}if(d>>>0>e>>>0){We(C[a+228>>2]+(e<<4)|0,0,d-e<<4)}C[a+224>>2]=d;b=C[a+228>>2];e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;b=(b+(d<<4)|0)-16|0;if((b|0)==422704){break Aa}B[b+12>>1]=g;C[b+8>>2]=0;C[b+4>>2]=k;C[b>>2]=c;break Aa}Re(C[a+228>>2]);C[a+228>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;ng(a);break za}C[a+220>>2]=-1;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}u=u+1|0;if(u>>>0>2]){continue}break}}b=C[a+224>>2];if(!b){break za}lz(C[a+228>>2],b,16)}Ce=s+16|0}function oC(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;l=C[a+4>>2];if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<1)|0;a=d-b|0;break c}c=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];r=C[(p<<2)+381104>>2];t=C[l+24>>2];b=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];while(1){f=E[c>>1];B[c>>1]=t|(((I(D[o+((f&v)>>>d|0)|0],n)>>>0)/255|0)+h>>>m<>>e|0)|0],n)>>>0)/255|0)+g>>>p<>>b|0)|0],n)>>>0)/255|0)+i>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<1)|0;a=(k|0)!=0;break d}j=(a+(d<<1)|0)+(!k<<1)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];b=D[l+33|0];u=C[l+16>>2];d=D[l+32|0];l=C[l+12>>2];while(1){e=E[j>>1];v=D[n+((e&u)>>>b|0)|0]+h|0;q=(v>>>0>=255?255:v)>>>m<>>d|0)|0]+g|0;e=D[k+((e&t)>>>a|0)|0]+i|0;B[j>>1]=r|(q|(v>>>0>=255?255:v)>>>o<>>0>=255?255:e)>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<1)|0;a=(k|0)!=0;break e}j=(a+(d<<1)|0)+(!k<<1)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];b=D[l+33|0];u=C[l+16>>2];d=D[l+32|0];l=C[l+12>>2];while(1){e=E[j>>1];B[j>>1]=r|((I(D[n+((e&u)>>>b|0)|0],h)>>>0)/255>>>m<>>d|0)|0],g)>>>0)/255>>>o<>>a|0)|0],i)>>>0)/255>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<1)|0;a=d-b|0;break f}c=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];r=C[(p<<2)+381104>>2];t=C[l+24>>2];b=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];while(1){f=E[c>>1];q=D[r+((f&l)>>>e|0)|0];q=((I(q,g)>>>0)/255|0)+((I(n,q)>>>0)/255|0)|0;s=t|(q>>>0>=255?255:q)>>>p<>>d|0)|0];q=((I(q,h)>>>0)/255|0)+((I(n,q)>>>0)/255|0)|0;f=D[k+((f&u)>>>b|0)|0];f=((I(f,i)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;B[c>>1]=s|(q>>>0>=255?255:q)>>>m<>>0>=255?255:f)>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;g:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<1)|0;a=(k|0)!=0;break g}j=(a+(d<<1)|0)+(!k<<1)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>1]=a;j=j+2|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){B[j+14>>1]=a;B[j+12>>1]=a;B[j+10>>1]=a;B[j+8>>1]=a;B[j+6>>1]=a;B[j+4>>1]=a;B[j+2>>1]=a;B[j>>1]=a;j=j+16|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break i}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];r=C[(p<<2)+381104>>2];t=C[l+24>>2];c=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];q=f<<1;while(1){f=E[b>>1];B[b>>1]=t|(((I(D[o+((f&v)>>>d|0)|0],n)>>>0)/255|0)+h>>>m<>>e|0)|0],n)>>>0)/255|0)+g>>>p<>>c|0)|0],n)>>>0)/255|0)+i>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break j}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];q=D[n+((b&u)>>>d|0)|0]+h|0;s=(q>>>0>=255?255:q)>>>m<>>e|0)|0]+g|0;b=D[k+((b&t)>>>a|0)|0]+i|0;B[j>>1]=r|(s|(q>>>0>=255?255:q)>>>o<>>0>=255?255:b)>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break k}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];B[j>>1]=r|((I(D[n+((b&u)>>>d|0)|0],h)>>>0)/255>>>m<>>e|0)|0],g)>>>0)/255>>>o<>>a|0)|0],i)>>>0)/255>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break l}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];r=C[(p<<2)+381104>>2];t=C[l+24>>2];c=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];q=f<<1;while(1){f=E[b>>1];s=D[r+((f&l)>>>e|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;w=t|(s>>>0>=255?255:s)>>>p<>>d|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;f=D[k+((f&u)>>>c|0)|0];f=((I(f,i)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;B[b>>1]=w|(s>>>0>=255?255:s)>>>m<>>0>=255?255:f)>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<1)|0)+(d<<1)|0;break m}j=c-e|0;b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0}a=0;c=((k|0)!=0)+j|0;if(!c){break a}d=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>1]=d;c=c-1|0;b=(f<<1)+b|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(e>>>0<7){break a}a=f<<1;while(1){B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;c=c-8|0;if(c){continue}break}break a}u=b-d|0;j=u>>31;m=c-e|0;p=m>>31;if(((j^u)-j|0)==((m^p)-p|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];r=C[(p<<2)+381104>>2];t=C[l+24>>2];d=D[l+34|0];u=C[l+20>>2];e=D[l+33|0];v=C[l+16>>2];f=D[l+32|0];l=C[l+12>>2];q=b<<1;while(1){b=E[a>>1];B[a>>1]=t|(((I(D[o+((b&v)>>>e|0)|0],n)>>>0)/255|0)+h>>>m<>>f|0)|0],n)>>>0)/255|0)+g>>>p<>>d|0)|0],n)>>>0)/255|0)+i>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];q=D[n+((b&u)>>>d|0)|0]+h|0;s=(q>>>0>=255?255:q)>>>m<>>e|0)|0]+g|0;b=D[k+((b&t)>>>a|0)|0]+i|0;B[j>>1]=r|(s|(q>>>0>=255?255:q)>>>o<>>0>=255?255:b)>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];B[j>>1]=r|((I(D[n+((b&u)>>>d|0)|0],h)>>>0)/255>>>m<>>e|0)|0],g)>>>0)/255>>>o<>>a|0)|0],i)>>>0)/255>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];r=C[(p<<2)+381104>>2];t=C[l+24>>2];d=D[l+34|0];u=C[l+20>>2];e=D[l+33|0];v=C[l+16>>2];f=D[l+32|0];l=C[l+12>>2];q=b<<1;while(1){b=E[a>>1];s=D[r+((b&l)>>>f|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;w=t|(s>>>0>=255?255:s)>>>p<>>e|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;b=D[k+((b&u)>>>d|0)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;B[a>>1]=w|(s>>>0>=255?255:s)>>>m<>>0>=255?255:b)>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<1)|0)+(b<<1)|0;break s}a=(a+(I(e,f)<<1)|0)+(d<<1)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<1)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>1]=d;b=b-1|0;a=(e<<1)+a|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<1;while(1){B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:m=d-b|0;f=m>>31;o=e-c|0;j=o>>31;m=(f^m)-f|0;j=(j^o)-j|0;u:{if(m>>>0>=j>>>0){p=j-m|0;t=1;r=j<<1;f=r-m|0;j=0;break u}p=m-j|0;r=m<<1;f=r-j|0;m=j;j=1}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-j|0:j;d=(b|0)>(d|0);t=d?0-t|0:t;u=e?-1:1;v=d?-1:1;p=p<<1;q=D[l+30|0];s=C[(q<<2)+381104>>2];w=D[l+29|0];x=C[(w<<2)+381104>>2];y=D[l+28|0];z=C[(y<<2)+381104>>2];F=C[l+24>>2];e=D[l+34|0];G=C[l+20>>2];j=D[l+33|0];H=C[l+16>>2];k=D[l+32|0];l=C[l+12>>2];J=C[a+16>>2];A=C[a+20>>2];a=0;while(1){K=(A+I(c,J)|0)+(b<<1)|0;d=E[K>>1];B[K>>1]=F|(((I(D[x+((d&H)>>>j|0)|0],n)>>>0)/255|0)+h>>>w<>>k|0)|0],n)>>>0)/255|0)+g>>>y<>>e|0)|0],n)>>>0)/255|0)+i>>>q<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;m=(j^n)-j|0;v:{if(f>>>0>=m>>>0){p=m-f|0;r=m<<1;j=r-f|0;m=1;break v}p=f-m|0;o=1;r=f<<1;j=r-m|0;f=m;m=0}n=((k|0)!=0)+f|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-o|0:o;d=(b|0)>(d|0);t=d?0-m|0:m;u=e?-1:1;v=d?-1:1;p=p<<1;q=D[l+30|0];s=C[(q<<2)+381104>>2];w=D[l+29|0];x=C[(w<<2)+381104>>2];y=D[l+28|0];z=C[(y<<2)+381104>>2];F=C[l+24>>2];d=D[l+34|0];G=C[l+20>>2];e=D[l+33|0];H=C[l+16>>2];f=D[l+32|0];l=C[l+12>>2];J=C[a+16>>2];A=C[a+20>>2];a=0;while(1){K=(A+I(c,J)|0)+(b<<1)|0;k=E[K>>1];m=D[x+((k&H)>>>e|0)|0]+h|0;L=(m>>>0>=255?255:m)>>>w<>>f|0)|0]+g|0;k=D[s+((k&G)>>>d|0)|0]+i|0;B[K>>1]=F|(L|(m>>>0>=255?255:m)>>>y<>>0>=255?255:k)>>>q<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;n=(j^n)-j|0;w:{if(f>>>0>=n>>>0){p=n-f|0;o=1;m=n<<1;j=m-f|0;n=0;break w}p=f-n|0;m=f<<1;j=m-n|0;f=n;n=1}r=((k|0)!=0)+f|0;if(!r){break a}e=(c|0)>(e|0);n=e?0-n|0:n;d=(b|0)>(d|0);o=d?0-o|0:o;t=e?-1:1;u=d?-1:1;p=p<<1;v=D[l+30|0];q=C[(v<<2)+381104>>2];s=D[l+29|0];w=C[(s<<2)+381104>>2];x=D[l+28|0];y=C[(x<<2)+381104>>2];z=C[l+24>>2];e=D[l+34|0];F=C[l+20>>2];f=D[l+33|0];G=C[l+16>>2];k=D[l+32|0];l=C[l+12>>2];H=C[a+16>>2];J=C[a+20>>2];a=0;while(1){A=(J+I(c,H)|0)+(b<<1)|0;d=E[A>>1];B[A>>1]=z|((I(D[w+((d&G)>>>f|0)|0],h)>>>0)/255>>>s<>>k|0)|0],g)>>>0)/255>>>x<>>e|0)|0],i)>>>0)/255>>>v<>31;o=e-c|0;j=o>>31;m=(f^m)-f|0;j=(j^o)-j|0;x:{if(m>>>0>=j>>>0){p=j-m|0;o=j<<1;f=o-m|0;j=1;break x}p=m-j|0;t=1;o=m<<1;f=o-j|0;m=j;j=0}r=((k|0)!=0)+m|0;if(!r){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);u=d?0-j|0:j;v=e?-1:1;q=d?-1:1;p=p<<1;s=D[l+30|0];w=C[(s<<2)+381104>>2];x=D[l+29|0];y=C[(x<<2)+381104>>2];z=D[l+28|0];F=C[(z<<2)+381104>>2];G=C[l+24>>2];d=D[l+34|0];H=C[l+20>>2];e=D[l+33|0];J=C[l+16>>2];j=D[l+32|0];l=C[l+12>>2];A=C[a+16>>2];K=C[a+20>>2];a=0;while(1){L=(K+I(c,A)|0)+(b<<1)|0;k=E[L>>1];m=D[F+((k&l)>>>j|0)|0];m=((I(m,g)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;M=G|(m>>>0>=255?255:m)>>>z<>>e|0)|0];m=((I(m,h)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;k=D[w+((k&H)>>>d|0)|0];k=((I(k,i)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;B[L>>1]=M|(m>>>0>=255?255:m)>>>x<>>0>=255?255:k)>>>s<>31;n=e-c|0;j=n>>31;m=(f^m)-f|0;n=(j^n)-j|0;y:{if(m>>>0>=n>>>0){p=n-m|0;o=1;f=n<<1;j=f-m|0;n=0;break y}p=m-n|0;f=m<<1;j=f-n|0;m=n;n=1}k=((k|0)!=0)+m|0;if(!k){break a}g=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2];a=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-n|0:n;m=(b|0)>(d|0);d=m?0-o|0:o;i=i?-1:1;m=m?-1:1;n=p<<1;l=k&-2;while(1){B[(a+I(c,h)|0)+(b<<1)>>1]=g;o=c;c=(j|0)<0;o=o+(c?e:i)|0;b=(c?d:m)+b|0;B[(a+I(o,h)|0)+(b<<1)>>1]=g;j=(c?f:n)+j|0;c=(j|0)<0;j=(c?f:n)+j|0;b=b+(c?d:m)|0;c=o+(c?e:i)|0;r=r+2|0;if((l|0)!=(r|0)){continue}break}}if(!(k&1)){break a}B[(a+I(c,h)|0)+(b<<1)>>1]=g}}function ho(a){var 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,t=0,u=0,v=0;o=Ce-16|0;Ce=o;b=a;a=C[b+480>>2];a:{b:{c:{d:{c=C[b+796>>2];e:{if(c){if(a){f:{g:{if(!c|!a){break g}g=O(+(c|0)*+(a|0)/1e5+.5);if(!(g<=2147483647)|!(g>=-2147483648)){break f}if(K(g)<2147483648){e=~~g;break g}e=-2147483648}C[o+12>>2]=e;e=1}if(e){break d}B[b+870>>1]=E[b+870>>1]|1;break c}u=b,v=Sk(c),C[u+480>>2]=v;break e}if(a){u=b,v=Sk(a),C[u+796>>2]=v;break e}C[b+480>>2]=1e5;C[b+796>>2]=1e5}B[b+870>>1]=E[b+870>>1]|1;break b}a=C[o+12>>2]-105001>>>0<4294957295;B[b+870>>1]=E[b+870>>1]|1;if(!a){break b}}a=C[b+212>>2]|8192;break a}a=C[b+212>>2]&-8193}C[b+212>>2]=a;if((a&262272)==262144){B[b+416>>1]=0;C[b+212>>2]=a&-41943297;C[b+208>>2]=C[b+208>>2]&-8193}c=C[b+212>>2];if(C[b+480>>2]-105001>>>0>=4294957295){c=c&-8388609;C[b+212>>2]=c;C[b+208>>2]=C[b+208>>2]&-8193}if(c&6291456){c=0;h:{if(D[b+673|0]|!(D[b+870|0]&2)){break h}i:{j=C[b+860>>2];i=C[b+848>>2];e=C[b+836>>2];k=j+(i+e|0)|0;if((k|0)<=0|(e|0)<0){break i}j:{if(!e){a=1;break j}g=O(+(e|0)*32768/+(k|0)+.5);a=g<=2147483647&g>=-2147483648;if(K(g)<2147483648){c=~~g}else{c=-2147483648}c=a?c:e}if(!a|(c|0)<0|(c|0)>32768){break i}e=0;if((i|0)<0){break i}k:{if(!i){a=1;break k}g=O(+(i|0)*32768/+(k|0)+.5);a=g<=2147483647&g>=-2147483648;if(K(g)<2147483648){l=~~g}else{l=-2147483648}e=a?l:i}if(!a|(e|0)<0|(e|0)>32768){break i}a=0;if((j|0)<0){break i}if(j){g=O(+(j|0)*32768/+(k|0)+.5);i=g<=2147483647;if(K(g)<2147483648){a=~~g}else{a=-2147483648}if(!i|!(g>=-2147483648)|a>>>0>32768){break i}}j=(c+e|0)+a|0;if(j>>>0>32769){break i}i=-1;l:{if((j|0)!=32769){i=1;if(j>>>0>32767){break l}}if(!(c>>>0>e>>>0|a>>>0>e>>>0)){e=e+i|0;break l}if(!(c>>>0>>0|a>>>0>c>>>0)){c=c+i|0;break l}a=a+i|0}if(((c+e|0)+a|0)==32768){B[b+676>>1]=e;B[b+674>>1]=c;break h}Af(b,6092);s()}Af(b,22221);s()}c=C[b+212>>2]}m:{if(c&256){if(D[b+423|0]&2){break m}C[b+204>>2]=C[b+204>>2]|2048;break m}if((c&16512)!=16512){break m}a=E[b+446>>1];if((a|0)!=E[b+448>>1]|(a|0)!=E[b+450>>1]){break m}B[b+452>>1]=a;C[b+204>>2]=C[b+204>>2]|2048}e=D[b+423|0];n:{if((e|0)==3){e=E[b+416>>1];o:{p:{if(!e){C[b+208>>2]=C[b+208>>2]&-8193;break p}i=C[b+520>>2];a=0;while(1){j=D[a+i|0];if((j|0)!=255){if(j){a=c;break o}h=1}a=a+1|0;if((e|0)!=(a|0)){continue}break}a=c&-8388609;C[b+212>>2]=a;C[b+208>>2]=C[b+208>>2]&-8193;if(h){break o}}a=c&-8388993;C[b+212>>2]=a}if((a&4352)!=4352){break n}c=C[b+404>>2]+I(D[b+444|0],3)|0;B[b+446>>1]=D[c|0];B[b+448>>1]=D[c+1|0];B[b+450>>1]=D[c+2|0];if(!e|(a&34078720)!=524288){break n}c=C[b+520>>2];a=0;if(e>>>0>=4){i=e&65532;while(1){j=a+c|0;A[j|0]=D[j|0]^-1;j=c+(a|1)|0;A[j|0]=D[j|0]^-1;j=c+(a|2)|0;A[j|0]=D[j|0]^-1;j=c+(a|3)|0;A[j|0]=D[j|0]^-1;a=a+4|0;f=f+4|0;if((i|0)!=(f|0)){continue}break}}e=e&3;if(e){while(1){f=a+c|0;A[f|0]=D[f|0]^-1;a=a+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}a=C[b+212>>2];break n}q:{if(e&4){a=c;break q}a=c&-8388609;C[b+212>>2]=a;C[b+208>>2]=C[b+208>>2]&-8193;if(E[b+416>>1]){break q}a=c&-8388993;C[b+212>>2]=a}if(e&2|(a&4352)!=4352){break n}f=E[b+532>>1];c=E[b+452>>1];r:{s:{switch(D[b+424|0]-1|0){case 0:f=I(f,255);c=I(c,255);break r;case 1:f=I(f,85);c=I(c,85);break r;case 3:break s;default:break r}}f=I(f,17);c=I(c,17)}B[b+448>>1]=c;B[b+450>>1]=c;B[b+446>>1]=c;if(a&33554432){break n}B[b+528>>1]=f;B[b+530>>1]=f;B[b+526>>1]=f}if(!(D[b+424|0]==16|(a&896)!=640)){B[b+446>>1]=I(E[b+446>>1],255)+32895>>>16;B[b+448>>1]=I(E[b+448>>1],255)+32895>>>16;B[b+450>>1]=I(E[b+450>>1],255)+32895>>>16;B[b+452>>1]=I(E[b+452>>1],255)+32895>>>16}c=a&128;if(!(!(a&67109888)|!c|(a&256|D[b+424|0]!=16))){B[b+446>>1]=I(E[b+446>>1],257);B[b+448>>1]=I(E[b+448>>1],257);B[b+450>>1]=I(E[b+450>>1],257);B[b+452>>1]=I(E[b+452>>1],257)}d=E[b+448>>1]|E[b+450>>1]<<16;e=E[b+444>>1]|E[b+446>>1]<<16;B[b+454>>1]=e;B[b+456>>1]=e>>>16;B[b+458>>1]=d;B[b+460>>1]=d>>>16;B[b+462>>1]=E[b+452>>1];r=b;t:{u:{v:{if(a&8192){break v}if(a&6291456){if(C[b+796>>2]-105001>>>0<4294957295|C[b+480>>2]-105001>>>0<4294957295){break v}c=C[b+212>>2]&128}w:{if(!c){break w}if(C[b+796>>2]-105001>>>0<4294957295|C[b+480>>2]-105001>>>0<4294957295){break v}if(D[b+436|0]!=3){break w}if(C[b+440>>2]-105001>>>0<4294957295){break v}}d=C[b+212>>2];if(d&8388608){if(C[b+480>>2]-105001>>>0<4294957295){break v}d=C[b+212>>2]}if(!(d&128)|D[b+423|0]!=3){break t}k=E[b+416>>1];if(k){e=D[b+450|0];f=D[b+448|0];i=D[b+446|0];j=C[b+404>>2];a=0;while(1){h=C[b+520>>2]+a|0;d=D[h|0];x:{if((d|0)==255){break x}if(!d){c=j+I(a,3)|0;A[c+2|0]=e;A[c+1|0]=f;A[c|0]=i;break x}c=j+I(a,3)|0;d=(I(i,d^255)+I(d,D[c|0])|0)+128|0;A[c|0]=d+((d&65280)>>>8|0)>>>8;d=D[h|0];d=(I(f,d^255)+I(d,D[c+1|0])|0)+128|0;A[c+1|0]=((d&65280)>>>8|0)+d>>>8;l=c;d=D[h|0];c=(I(e,d^255)+I(d,D[c+2|0])|0)+128|0;A[l+2|0]=((c&65280)>>>8|0)+c>>>8}a=a+1|0;if((k|0)!=(a|0)){continue}break}d=C[b+212>>2]}d=d&-129;break u}a=D[b+424|0];e=0;if(C[b+484>>2]|C[b+488>>2]){Yv(b)}y:{if(a>>>0<=8){a=C[b+480>>2];z:{if((a|0)<=0){a=1e5;break z}c=C[b+796>>2];A:{if(!c){break A}g=O(1e15/+(c|0)/+(a|0)+.5);c=g<=2147483647;if(K(g)<2147483648){a=~~g}else{a=-2147483648}if(!c){break A}if(g>=-2147483648){break z}}a=0}d=Mi(b,256);C[b+484>>2]=d;B:{if(a-95e3>>>0<10001){a=0;while(1){A[a+d|0]=a;c=a|1;A[c+d|0]=c;c=a|2;A[c+d|0]=c;c=a|3;A[c+d|0]=c;c=a|4;A[c+d|0]=c;c=a|5;A[c+d|0]=c;c=a|6;A[c+d|0]=c;c=a|7;A[c+d|0]=c;a=a+8|0;if((a|0)!=256){continue}break}break B}m=+(a|0)*1e-5;a=0;while(1){l=a+d|0;C:{if(a-1>>>0<=253){g=O(Hh(+(a|0)/255,m)*255+.5);if(g<4294967296&g>=0){c=~~g>>>0;break C}c=0;break C}c=a}A[l|0]=c;a=a+1|0;if((a|0)!=256){continue}break}}if(!(C[b+212>>2]&6291584)){break y}a=C[b+796>>2];d=Mi(b,256);C[b+496>>2]=d;g=O(1e10/+(a|0)+.5);e=g>=-2147483648;a=0;if(K(g)<2147483648){c=~~g}else{c=-2147483648}c=g<=2147483647?e?c:0:0;D:{if(c-95e3>>>0<10001){while(1){A[a+d|0]=a;c=a|1;A[c+d|0]=c;c=a|2;A[c+d|0]=c;c=a|3;A[c+d|0]=c;c=a|4;A[c+d|0]=c;c=a|5;A[c+d|0]=c;c=a|6;A[c+d|0]=c;c=a|7;A[c+d|0]=c;a=a+8|0;if((a|0)!=256){continue}break D}}m=+(c|0)*1e-5;while(1){l=a+d|0;E:{if(a-1>>>0<=253){g=O(Hh(+(a|0)/255,m)*255+.5);if(g<4294967296&g>=0){c=~~g>>>0;break E}c=0;break E}c=a}A[l|0]=c;a=a+1|0;if((a|0)!=256){continue}break}}a=C[b+480>>2];F:{if((a|0)>0){g=O(1e10/+(a|0)+.5);c=g>=-2147483648;if(K(g)<2147483648){a=~~g}else{a=-2147483648}a=g<=2147483647?c?a:0:0;break F}a=C[b+796>>2]}d=Mi(b,256);C[b+492>>2]=d;if(a-95e3>>>0<10001){a=0;while(1){A[a+d|0]=a;c=a|1;A[c+d|0]=c;c=a|2;A[c+d|0]=c;c=a|3;A[c+d|0]=c;c=a|4;A[c+d|0]=c;c=a|5;A[c+d|0]=c;c=a|6;A[c+d|0]=c;c=a|7;A[c+d|0]=c;a=a+8|0;if((a|0)!=256){continue}break}break y}m=+(a|0)*1e-5;a=0;while(1){l=a+d|0;G:{if(a-1>>>0<=253){g=O(Hh(+(a|0)/255,m)*255+.5);if(g<4294967296&g>=0){c=~~g>>>0;break G}c=0;break G}c=a}A[l|0]=c;a=a+1|0;if((a|0)!=256){continue}break}break y}H:{if(D[b+423|0]&2){c=D[b+510|0];d=D[b+509|0];f=D[b+508|0];d=d>>>0>f>>>0?d:f;c=c>>>0>d>>>0?c:d;break H}c=D[b+511|0]}a=(c-1&255)>>>0<15?16-c|0:0;c=a&255;d=C[b+212>>2]&67109888;a=(d?c>>>0<=5?5:c:a)&255;c=a>>>0>=8?8:a;C[b+476>>2]=c;a=C[b+480>>2];I:{J:{if(d){if((a|0)<=0){g=1}else{g=O(+C[b+796>>2]*1e-5*+(a|0)+.5);d=g>=-2147483648;if(K(g)<2147483648){a=~~g}else{a=-2147483648}g=g<=2147483647?d?+(a|0)*1e-5:0:0}d=8-c|0;f=pm(b,4<>2]=f;a=0;while(1){u=f+(a<<2)|0,v=Mi(b,512),C[u>>2]=v;a=a+1|0;if(!(a>>>d|0)){continue}break}i=255>>>c|0;n=16-c|0;a=0;while(1){j=I(e,257);m=O(Hh(+((j&65535)+128|0)/65535,g)*65535+.5);K:{if(m<4294967296&m>=0){l=~~m>>>0;break K}l=0}h=l;k=(((h<>>0)/65535|0;if(k>>>0>=a>>>0){h=0;p=k-a|0;q=p+1&3;if(q){while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=j;a=a+1|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}}if(p>>>0>=3){while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=j;h=a+1|0;B[C[f+((h&i)<<2)>>2]+(h>>>d<<1)>>1]=j;h=a+2|0;B[C[f+((h&i)<<2)>>2]+(h>>>d<<1)>>1]=j;h=a+3|0;B[C[f+((h&i)<<2)>>2]+(h>>>d<<1)>>1]=j;a=a+4|0;if((h|0)!=(k|0)){continue}break}}a=k+1|0}e=e+1|0;if((e|0)!=255){continue}break}break J}d=b+488|0;L:{if((a|0)<=0){a=1e5;break L}e=C[b+796>>2];M:{if(!e){break M}g=O(1e15/+(e|0)/+(a|0)+.5);e=g<=2147483647;if(K(g)<2147483648){a=~~g}else{a=-2147483648}if(!e){break M}if(g>=-2147483648){break L}}a=0}$o(b,d,c,a);break I}j=256<>>0<=a>>>0){break I}e=0;h=j+(a^-1)|0;k=0-a&3;if(k){while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=65535;a=a+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(h>>>0<3){break I}while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=65535;e=a+1|0;B[C[f+((e&i)<<2)>>2]+(e>>>d<<1)>>1]=65535;e=a+2|0;B[C[f+((e&i)<<2)>>2]+(e>>>d<<1)>>1]=65535;e=a+3|0;B[C[f+((e&i)<<2)>>2]+(e>>>d<<1)>>1]=65535;a=a+4|0;if((j|0)!=(a|0)){continue}break}}if(!(C[b+212>>2]&6291584)){break y}g=O(1e10/+C[b+796>>2]+.5);e=g>=-2147483648;a=b+504|0;if(K(g)<2147483648){d=~~g}else{d=-2147483648}$o(b,a,c,g<=2147483647?e?d:0:0);a=b+500|0;d=C[b+480>>2];N:{if((d|0)>0){g=O(1e10/+(d|0)+.5);f=g>=-2147483648;if(K(g)<2147483648){d=~~g}else{d=-2147483648}d=g<=2147483647?f?d:0:0;break N}d=C[b+796>>2]}$o(b,a,c,d)}a=D[b+423|0];d=C[b+212>>2];if(d&128){if((a|0)==3){h=E[b+408>>1];j=C[b+404>>2];c=1e5;a=1e5;O:{P:{Q:{switch(D[b+436|0]-1|0){case 1:c=C[b+496>>2];d=E[b+450>>1];a=D[c+d|0];i=E[b+448>>1];f=D[i+c|0];k=E[b+446>>1];c=D[k+c|0];l=d;d=C[b+484>>2];e=D[l+d|0];i=D[d+i|0];d=D[d+k|0];break O;case 0:a=C[b+480>>2];break P;case 2:break Q;default:break P}}a=Sk(C[b+440>>2]);c=fp(C[b+440>>2],C[b+480>>2])}d=E[b+446>>1];R:{if(c-105001>>>0<4294957295){d=dk(d,c);i=dk(E[b+448>>1],c);c=dk(E[b+450>>1],c);break R}i=D[b+448|0];c=D[b+450|0]}e=c;c=E[b+446>>1];if(a-105001>>>0<4294957295){c=dk(c,a);f=dk(E[b+448>>1],a);a=dk(E[b+450>>1],a);break O}a=D[b+450|0];f=D[b+448|0]}if(h){p=a&255;q=f&255;t=c&255;a=0;while(1){S:{T:{if(E[b+416>>1]<=a>>>0){break T}k=C[b+520>>2]+a|0;f=D[k|0];if((f|0)==255){break T}if(!f){c=j+I(a,3)|0;A[c+2|0]=e;A[c+1|0]=i;A[c|0]=d;break S}n=C[b+496>>2];c=j+I(a,3)|0;f=(I(f^255,t)+I(f,D[n+D[c|0]|0])|0)+128|0;l=f+(f>>>8&255)>>>8&255;f=C[b+492>>2];A[c|0]=D[l+f|0];l=D[k|0];l=(I(l^255,q)+I(l,D[n+D[c+1|0]|0])|0)+128|0;A[c+1|0]=D[f+((l>>>8&255)+l>>>8&255)|0];l=c;k=D[k|0];c=(I(p,k^255)+I(k,D[n+D[c+2|0]|0])|0)+128|0;A[l+2|0]=D[f+((c>>>8&255)+c>>>8&255)|0];break S}c=j+I(a,3)|0;f=C[b+484>>2];A[c|0]=D[f+D[c|0]|0];A[c+1|0]=D[f+D[c+1|0]|0];A[c+2|0]=D[f+D[c+2|0]|0]}a=a+1|0;if((h|0)!=(a|0)){continue}break}}d=C[b+212>>2]&-8321;break u}U:{V:{switch(D[b+436|0]-1|0){case 1:a=Sk(C[b+796>>2]);c=fp(C[b+796>>2],C[b+480>>2]);break U;case 2:a=Sk(C[b+440>>2]);c=fp(C[b+440>>2],C[b+480>>2]);break U;default:Af(b,16968);s();case 0:break V}}a=C[b+480>>2];c=1e5}e=c-105001>>>0<4294957295;f=a-105001>>>0<4294957295;if(f){u=b,v=Ri(b,E[b+452>>1],a),B[u+462>>1]=v}if(e){u=b,v=Ri(b,E[b+452>>1],c),B[u+452>>1]=v}d=E[b+446>>1];W:{if(!(!((d|0)!=E[b+448>>1]|(d|0)!=E[b+450>>1])&(d|0)==E[b+452>>1])){if(f){u=b,v=Ri(b,d,a),B[u+456>>1]=v;u=b,v=Ri(b,E[b+448>>1],a),B[u+458>>1]=v;u=b,v=Ri(b,E[b+450>>1],a),B[u+460>>1]=v}if(!e){break W}u=b,v=Ri(b,E[b+446>>1],c),B[u+446>>1]=v;u=b,v=Ri(b,E[b+448>>1],c),B[u+448>>1]=v;u=b,v=Ri(b,E[b+450>>1],c),B[u+450>>1]=v;break W}B[b+450>>1]=d;B[b+448>>1]=d;B[b+446>>1]=d;a=E[b+462>>1];B[b+460>>1]=a;B[b+458>>1]=a;B[b+456>>1]=a}A[b+436|0]=1;d=C[b+212>>2];break t}if((a|0)!=3|(d&6291456?d&4096:0)){break t}e=E[b+408>>1];if(e){i=C[b+404>>2];c=C[b+484>>2];f=0;while(1){a=i+I(f,3)|0;A[a|0]=D[c+D[a|0]|0];A[a+1|0]=D[c+D[a+1|0]|0];A[a+2|0]=D[c+D[a+2|0]|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}d=d&-8193}C[r+212>>2]=d}X:{if((d&4104)!=8|D[b+423|0]!=3){break X}C[b+212>>2]=d&-9;e=E[b+408>>1];a=D[b+508|0];Y:{if(!e|(a-1&255)>>>0>6){break Y}f=8-a|0;i=C[b+404>>2];d=0;a=0;if(e>>>0>=4){j=e&65532;c=0;while(1){h=i+I(a,3)|0;A[h|0]=D[h|0]>>>f;h=i+I(a|1,3)|0;A[h|0]=D[h|0]>>>f;h=i+I(a|2,3)|0;A[h|0]=D[h|0]>>>f;h=i+I(a|3,3)|0;A[h|0]=D[h|0]>>>f;a=a+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}c=e&3;if(!c){break Y}while(1){j=i+I(a,3)|0;A[j|0]=D[j|0]>>>f;a=a+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}a=D[b+509|0];Z:{if(!e|(a-1&255)>>>0>6){break Z}f=8-a|0;i=C[b+404>>2];d=0;a=0;if(e>>>0>=4){j=e&65532;c=0;while(1){h=i+I(a,3)|0;A[h+1|0]=D[h+1|0]>>>f;h=i+I(a|1,3)|0;A[h+1|0]=D[h+1|0]>>>f;h=i+I(a|2,3)|0;A[h+1|0]=D[h+1|0]>>>f;h=i+I(a|3,3)|0;A[h+1|0]=D[h+1|0]>>>f;a=a+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}c=e&3;if(!c){break Z}while(1){j=i+I(a,3)|0;A[j+1|0]=D[j+1|0]>>>f;a=a+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}a=D[b+510|0];if(!e|(a-1&255)>>>0>6){break X}c=8-a|0;i=C[b+404>>2];f=0;a=0;if(e>>>0>=4){j=e&65532;d=0;while(1){h=i+I(a,3)|0;A[h+2|0]=D[h+2|0]>>>c;h=i+I(a|1,3)|0;A[h+2|0]=D[h+2|0]>>>c;h=i+I(a|2,3)|0;A[h+2|0]=D[h+2|0]>>>c;h=i+I(a|3,3)|0;A[h+2|0]=D[h+2|0]>>>c;a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}d=e&3;if(!d){break X}while(1){e=i+I(a,3)|0;A[e+2|0]=D[e+2|0]>>>c;a=a+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}Ce=o+16|0;_:{if(D[b+420|0]){a=C[b+348>>2];c=C[b+212>>2];C[b+352>>2]=c&2?a:a+7>>>3|0;f=C[b+344>>2];a=D[b+421|0];d=D[a+95313|0];C[b+364>>2]=((f+d|0)+(D[a+95306|0]^-1)>>>0)/(d>>>0);break _}C[b+352>>2]=C[b+348>>2];f=C[b+344>>2];C[b+364>>2]=f;c=C[b+212>>2]}d=D[b+426|0];d=c&4?D[b+424|0]<8?8:d:d;a=d&255;$:{if(c&4096){aa:{ba:{switch(D[b+423|0]){case 3:a=E[b+416>>1]?32:24;break aa;case 0:a=(a>>>0<=8?8:a)<<(E[b+416>>1]!=0);break aa;case 2:break ba;default:break aa}}if(!E[b+416>>1]){break aa}a=((d&255)<<2>>>0)/3|0}if(!(c&512)){break $}a=a<<(D[b+424|0]<16);break $}if(!(c&512)){break $}C[b+212>>2]=c&-513}c=C[b+212>>2];d=c&32768;ca:{if(!d){break ca}da:{switch(D[b+423|0]){case 0:a=a>>>0<9?16:32;break ca;case 2:case 3:break da;default:break ca}}a=a>>>0>32?64:32}ea:{if(!(c&16384)){break ea}fa:{if(!((c&4096)>>>12&E[b+416>>1]!=0|d)){d=D[b+423|0];if((d|0)!=4){break fa}}a=a>>>0<17?32:64;break ea}if(a>>>0<=8){a=(d|0)==6?32:24;break ea}a=(d|0)==6?64:48}if(c&1048576){c=I(D[b+201|0],D[b+200|0]);a=a>>>0>>0?c:a}A[b+431|0]=0;A[b+430|0]=a;c=f+7&-8;a=((a+7>>>3|0)+(a>>>0>7?I(c,a>>>3|0):I(a,c)>>>3|0)|0)+49|0;if(a>>>0>F[b+756>>2]){nf(b,C[b+700>>2]);nf(b,C[b+776>>2]);ga:{if(D[b+420|0]){c=pm(b,a);break ga}c=Mi(b,a)}C[b+700>>2]=c;c=Mi(b,a);C[b+776>>2]=c;C[b+756>>2]=a;a=c+32|0;C[b+376>>2]=(a^-1|-16)+a;a=C[b+700>>2]+32|0;C[b+380>>2]=(a^-1|-16)+a}ha:{a=C[b+360>>2];if((a|0)!=-1){We(C[b+376>>2],0,a+1|0);a=C[b+760>>2];if(a){C[b+760>>2]=0;C[b+764>>2]=0;nf(b,a)}if(vo(b,1229209940)){break ha}C[b+208>>2]=C[b+208>>2]|64;return}Af(b,1158);s()}Af(b,C[b+244>>2]);s()}function EQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,L=0;k=Ce-80|0;Ce=k;f=11;j=C[C[b+96>>2]+4>>2];s=si(j,3922);a:{if(!s){break a}y=Ti(C[b+96>>2],6758);J=si(j,9541);f=bf(a,0);if(f){break a}G=Fe[C[s+4>>2]](a,b,c,d,e)|0;b:{if(!G){f=2;if(C[b+148>>2]!=1330926671){break a}f=0;if((c|0)<0){break a}c:{if(!(Fe[C[b+508>>2]](b,1751474532,a,0)|0)){f=Fe[C[s+8>>2]](a,b,c,d,e)|0;if(!f){break c}break a}f=Fe[C[s+32>>2]](b,a)|0;if(f){break a}v=1}f=Fe[C[b+508>>2]](b,1128678944,a,0)|0;C[k+4>>2]=f;if(!f){break b}break a}f=bf(a,0);if(f){break a}C[k+4>>2]=0;v=1}z=C[b+100>>2];g=hf(z,2980,k+4|0);f=C[k+4>>2];if(f){break a}C[b+656>>2]=g;f=C[a+28>>2];p(g+8|0,0,2972);d=k- -64|0;C[d>>2]=0;C[d+4>>2]=0;C[k+56>>2]=0;C[k+60>>2]=0;C[k+48>>2]=0;C[k+52>>2]=0;C[k+40>>2]=0;C[k+44>>2]=0;C[g+4>>2]=f;C[g>>2]=a;q=C[a+8>>2];d=Ef(a,277040,g);C[k+76>>2]=d;d:{if(d){break d}e:{f:{if(D[g+16|0]!=1){break f}d=D[g+18|0];if(d>>>0<4){break f}if(D[g+19|0]<5){break e}}C[k+76>>2]=2;break d}d=lg(a,d-4|0);C[k+76>>2]=d;if(d){break d}d=vj(g+20|0,a,0);C[k+76>>2]=d;if(d){break d}s=g+1208|0;d=vj(s,a,0);C[k+76>>2]=d;if(d){break d}d=vj(k+40|0,a,1);C[k+76>>2]=d;if(d){break d}l=g+84|0;d=vj(l,a,1);C[k+76>>2]=d;if(d){break d}d=xp(k+40|0,g+1316|0,g+1320|0);C[k+76>>2]=d;if(d){break d}C[g+1312>>2]=C[k+48>>2];e=C[g+28>>2];g:{h:{if(v){if(c>>>0>>0){break h}C[k+76>>2]=6;break d}d=0;if(e>>>0<2){break g}C[k+76>>2]=3;break d}C[g+8>>2]=e;d=c}if((c|0)<0){break d}e=s;s=d;d=Lw(g+1324|0,e,d,a,q,j);C[k+76>>2]=d;if(d){break d}d=bf(a,q+C[g+1436>>2]|0);C[k+76>>2]=d;if(d){break d}d=vj(g+1176|0,a,0);C[k+76>>2]=d;if(d){break d}i:{if(C[g+1456>>2]!=65535){d=bf(a,q+C[g+1488>>2]|0);C[k+76>>2]=d;if(d){break d}d=vj(k+8|0,a,0);C[k+76>>2]=d;if(d){break d}d=C[k+16>>2];j:{if(d>>>0>256){break j}C[g+1896>>2]=d;d=Ve(f,572,0,d,0,k+76|0);if(C[k+76>>2]){break j}m=C[k+16>>2];if(m){f=0;if(m>>>0>=4){o=m&-4;e=g+1900|0;while(1){C[e+(f<<2)>>2]=d+I(f,572);n=f|1;C[e+(n<<2)>>2]=d+I(n,572);n=f|2;C[e+(n<<2)>>2]=d+I(n,572);n=f|3;C[e+(n<<2)>>2]=d+I(n,572);f=f+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}e=m&3;if(e){while(1){C[(g+(f<<2)|0)+1900>>2]=d+I(f,572);f=f+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}f=0;while(1){d=Lw(C[(g+(f<<2)|0)+1900>>2],k+8|0,f,a,q,j);C[k+76>>2]=d;if(d){break j}f=f+1|0;if(f>>>0>2]){continue}break}}h=g+2924|0;f=C[g+1184>>2];d=Ce-16|0;Ce=d;e=bf(a,q+C[g+1492>>2]|0);C[d+12>>2]=e;k:{if(e){break k}j=rh(a,d+12|0);e=C[d+12>>2];if(e){break k}C[h+20>>2]=0;A[h|0]=j;e=3;l:{switch(j&255){case 3:j=_f(a,d+12|0);e=C[d+12>>2];if(e){break k}e=3;if(!j){break k}f=I(j,3)+2|0;break;case 0:break l;default:break k}}C[h+12>>2]=f;e=dh(a,f,h+8|0)}Ce=d+16|0;C[k+76>>2]=e}d=k+8|0;e=C[d>>2];if(e){h=C[e+28>>2];if(C[d+28>>2]){Wf(e,d+28|0)}e=C[d+24>>2];if(e){Fe[C[h+8>>2]](h,e)}C[d+24>>2]=0;C[d+28>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0}if(!C[k+76>>2]){break i}break d}C[g+1896>>2]=0}if(!C[g+1436>>2]){C[k+76>>2]=3;break d}C[g+12>>2]=C[g+1184>>2];d=xp(l,g+1308|0,0);C[k+76>>2]=d;if(d){break d}d=C[g+12>>2];m:{if(!d){break m}j=g+1152|0;e=C[g+1428>>2];l=C[g+1456>>2]!=65535&v;i=Ce-16|0;Ce=i;m=C[a+28>>2];C[i+8>>2]=0;n:{o:{p:{q:{if(e>>>0>=3){e=e+q|0;C[j+4>>2]=e;e=bf(a,e);C[i+8>>2]=e;if(e){break o}K=j,L=rh(a,i+8|0)&255,C[K>>2]=L;if(C[i+8>>2]){break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}B[e>>1]=0;r:{switch(C[j>>2]){case 0:h=1;e=Bf(a,(d<<1)-2|0);C[i+8>>2]=e;if(e){break o}if(d>>>0>=2){while(1){e=Ff(a);B[C[j+8>>2]+(h<<1)>>1]=e;h=h+1|0;if((d|0)!=(h|0)){continue}break}}xf(a);break q;case 1:case 2:h=1;if(d>>>0<=1){break q}while(1){f=_f(a,i+8|0);if(C[i+8>>2]){break o}s:{if(C[j>>2]==2){e=_f(a,i+8|0);if(!C[i+8>>2]){break s}break o}e=rh(a,i+8|0);if(C[i+8>>2]){break o}e=e&255}t:{if(d>>>0<=h>>>0){break t}o=(e^65535)>>>0>>0?f^65535:e;n=C[j+8>>2];e=0;while(1){B[n+(h<<1)>>1]=f;h=h+1|0;if(d>>>0<=h>>>0){break t}f=f+1|0;r=e>>>0>>0;e=e+1|0;if(r){continue}break}}if(d>>>0>h>>>0){continue}break};break q;default:break r}}C[i+8>>2]=3;break o}C[j+4>>2]=e;u:{switch(e|0){case 0:if(d>>>0>=230){C[i+8>>2]=3;break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}t(e,278576,d<<1);break q;case 1:if(d>>>0>=167){C[i+8>>2]=3;break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}t(e,279040,d<<1);break q;case 2:break u;default:break p}}if(d>>>0>=88){C[i+8>>2]=3;break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}t(e,279376,d<<1)}v:{if(!l){h=C[i+8>>2];break v}h=0;C[i+12>>2]=0;w:{if(C[j+16>>2]){break w}f=0;if(d){n=d&3;l=C[j+8>>2];r=0;x:{if(d>>>0<4){e=0;break x}u=d&-4;e=0;while(1){o=h<<1;w=E[l+(o|6)>>1];x=E[l+(o|4)>>1];H=E[l+(o|2)>>1];o=E[l+o>>1];e=e&65535;e=e>>>0>>0?o:e;e=e>>>0>>0?H:e;e=e>>>0>>0?x:e;e=e>>>0>>0?w:e;h=h+4|0;f=f+4|0;if((u|0)!=(f|0)){continue}break}}if(n){while(1){f=E[l+(h<<1)>>1];e=e&65535;e=e>>>0>>0?f:e;h=h+1|0;r=r+1|0;if((n|0)!=(r|0)){continue}break}}f=e&65535}l=Ve(m,2,0,f+1|0,0,i+12|0);C[j+12>>2]=l;h=C[i+12>>2];if(h){break w}y:{if((d|0)<=0){break y}o=C[j+8>>2];h=d;n=d&3;if(n){e=0;while(1){h=h-1|0;B[l+(E[o+(h<<1)>>1]<<1)>>1]=h;e=e+1|0;if((n|0)!=(e|0)){continue}break}}if(d>>>0<4){break y}while(1){e=h-1|0;B[l+(E[o+(e<<1)>>1]<<1)>>1]=e;e=h-2|0;B[l+(E[o+(e<<1)>>1]<<1)>>1]=e;e=h-3|0;B[l+(E[o+(e<<1)>>1]<<1)>>1]=e;h=h-4|0;B[l+(E[o+(h<<1)>>1]<<1)>>1]=h;if(e>>>0>1){continue}break}}C[j+20>>2]=d;C[j+16>>2]=f;h=0}C[i+8>>2]=h}if(h){break o}d=0;break n}C[i+8>>2]=3}d=C[j+8>>2];if(d){Fe[C[m+8>>2]](m,d)}C[j+8>>2]=0;d=C[j+12>>2];if(d){Fe[C[m+8>>2]](m,d)}C[j+8>>2]=0;C[j+12>>2]=0;C[j>>2]=0;C[j+4>>2]=0;d=C[i+8>>2]}Ce=i+16|0;C[k+76>>2]=d;if(d){break d}if(C[g+1456>>2]!=65535){break m}l=g+116|0;h=C[g+12>>2];f=a;a=C[g+1432>>2];o=0;m=Ce-16|0;Ce=m;e=3;z:{if(!C[j+8>>2]){break z}d=l+12|0;p(d,0,1024);if(a>>>0>=2){a=a+q|0;C[l+4>>2]=a;e=bf(f,a);C[m+8>>2]=e;if(e){break z}K=l,L=rh(f,m+8|0)&255,C[K>>2]=L;e=C[m+8>>2];if(e){break z}a=rh(f,m+8|0);e=C[m+8>>2];if(e){break z}q=a&255;e=3;A:{B:{switch(C[l>>2]&127){case 0:C[l+8>>2]=q+1;e=Bf(f,q);C[m+8>>2]=e;if(e){break z}C:{if(!a){break C}e=1;i=C[f+32>>2];if((a|0)!=1){o=q&254;d=0;while(1){if(e>>>0>>0){a=l+(D[i|0]<<1)|0;B[a+524>>1]=e;B[a+12>>1]=E[C[j+8>>2]+(e<<1)>>1]}a=e+1|0;if(a>>>0>>0){n=l+(D[i+1|0]<<1)|0;B[n+524>>1]=a;B[n+12>>1]=E[C[j+8>>2]+(a<<1)>>1]}i=i+2|0;e=e+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}if(!(q&1)|e>>>0>=h>>>0){break C}a=l+(D[i|0]<<1)|0;B[a+524>>1]=e;B[a+12>>1]=E[C[j+8>>2]+(e<<1)>>1]}xf(f);break A;case 1:break B;default:break z}}C[l+8>>2]=0;if(!a){break A}d=1;while(1){i=d;u=rh(f,m+8|0);e=C[m+8>>2];if(e){break z}n=rh(f,m+8|0);e=C[m+8>>2];if(e){break z}r=n&255;d=r+1|0;a=C[l+8>>2];if(r>>>0>=a>>>0){C[l+8>>2]=d;a=d}d=d+i|0;D:{if(i>>>0>=d>>>0){break D}e=u&255;if(!(r&1)){if(h>>>0>i>>>0){r=l+(e<<1)|0;B[r+524>>1]=i;B[r+12>>1]=E[C[j+8>>2]+(i<<1)>>1]}i=i+1|0;e=e+1|0}if(!n){break D}while(1){if(!(h>>>0<=i>>>0|e>>>0>255)){n=l+(e<<1)|0;B[n+524>>1]=i;B[n+12>>1]=E[C[j+8>>2]+(i<<1)>>1]}n=i+1|0;E:{if(n>>>0>=h>>>0){break E}r=e+1|0;if(r>>>0>255){break E}r=l+(r<<1)|0;B[r+524>>1]=n;B[r+12>>1]=E[C[j+8>>2]+(n<<1)>>1]}e=e+2|0;i=i+2|0;if((i|0)!=(d|0)){continue}break}}o=o+1|0;if((q|0)!=(o|0)){continue}break}if(a>>>0<257){break A}C[l+8>>2]=256}if(!(D[l|0]&128)){e=C[m+8>>2];break z}a=rh(f,m+8|0);e=C[m+8>>2];if(e|!a){break z}d=a&255;i=0;while(1){q=rh(f,m+8|0);e=C[m+8>>2];if(e){break z}a=_f(f,m+8|0);e=C[m+8>>2];if(e){break z}q=l+((q&255)<<1)|0;B[q+12>>1]=a;F:{if(!h){break F}o=C[j+8>>2];e=0;while(1){if((a|0)==E[o+(e<<1)>>1]){B[q+524>>1]=e;break F}e=e+1|0;if((h|0)!=(e|0)){continue}break}}e=0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break z}G:{H:{switch(a|0){case 0:t(d,276528,512);break G;case 1:break H;default:break z}}t(d,279552,512)}C[l+8>>2]=0;a=C[f+28>>2];C[m+12>>2]=0;i=C[j+16>>2];if(!i){i=0;f=a;if(h){n=h&3;q=C[j+8>>2];I:{if(h>>>0<4){a=0;e=0;break I}r=h&-4;a=0;e=0;d=0;while(1){o=e<<1;u=E[q+(o|6)>>1];w=E[q+(o|4)>>1];x=E[q+(o|2)>>1];o=E[o+q>>1];a=a&65535;a=a>>>0>>0?o:a;a=a>>>0>>0?x:a;a=a>>>0>>0?w:a;a=a>>>0>>0?u:a;e=e+4|0;d=d+4|0;if((r|0)!=(d|0)){continue}break}}if(n){while(1){d=E[q+(e<<1)>>1];a=a&65535;a=a>>>0>>0?d:a;e=e+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}i=a&65535}a=Ve(f,2,0,i+1|0,0,m+12|0);C[j+12>>2]=a;e=C[m+12>>2];if(e){break z}J:{if((h|0)<=0){break J}f=C[j+8>>2];e=h;q=e&3;if(q){d=0;while(1){e=e-1|0;B[a+(E[f+(e<<1)>>1]<<1)>>1]=e;d=d+1|0;if((q|0)!=(d|0)){continue}break}}if(h>>>0<4){break J}while(1){d=e-1|0;B[a+(E[f+(d<<1)>>1]<<1)>>1]=d;d=e-2|0;B[a+(E[f+(d<<1)>>1]<<1)>>1]=d;d=e-3|0;B[a+(E[f+(d<<1)>>1]<<1)>>1]=d;e=e-4|0;B[a+(E[f+(e<<1)>>1]<<1)>>1]=e;if(d>>>0>1){continue}break}}C[j+20>>2]=h;C[j+16>>2]=i}e=0;while(1){K:{L:{a=l+(e<<1)|0;d=E[a+12>>1];if(!d|d>>>0>i>>>0){break L}d=E[C[j+12>>2]+(d<<1)>>1];if(!d){break L}B[a+524>>1]=d;e=e+1|0;C[l+8>>2]=e;break K}B[a+524>>1]=0;B[a+12>>1]=0;e=e+1|0}if((e|0)!=256){continue}break}e=0}Ce=m+16|0;C[k+76>>2]=e;if(e){break d}}K=g,L=Kw(g,s),C[K+1304>>2]=L}a=C[k+40>>2];if(a){d=C[a+28>>2];if(C[k+68>>2]){Wf(a,k+68|0)}a=C[k+64>>2];if(a){Fe[C[d+8>>2]](d,a)}}f=C[k+76>>2];C[k+4>>2]=f;if(f){break a}C[g+2956>>2]=y;C[g+2952>>2]=J;C[b+4>>2]=c;C[b+16>>2]=C[g+12>>2];if(C[g+1456>>2]==65535){f=11;if(!y){break a}}if(!D[g+1388|0]){C[g+1392>>2]=v?1e3:E[b+68>>1]}f=g+1400|0;e=C[g+1384>>2];a=e>>31;a=(a^e)-a|0;d=C[g+1400>>2];M:{if((a|0)==65536){break M}K=g,L=Ze(C[g+1392>>2],a),C[K+1392>>2]=L;K=g,L=Ze(C[g+1372>>2],a),C[K+1372>>2]=L;e=g+1380|0;K=e,L=Ze(C[e>>2],a),C[K>>2]=L;e=g+1376|0;K=e,L=Ze(C[e>>2],a),C[K>>2]=L;K=g,L=Ze(C[g+1384>>2],a),C[K+1384>>2]=L;K=g,L=Ze(C[g+1396>>2],a),C[K+1396>>2]=L;d=Ze(C[g+1400>>2],a)}C[f>>2]=d>>16;C[g+1396>>2]=B[g+1398>>1];e=C[g+1896>>2];if(e){h=g+1372|0;while(1){e=e-1|0;d=C[(g+(e<<2)|0)+1900>>2];N:{if(D[d+64|0]){if(!D[g+1388|0]){break N}a=1;j=C[g+1392>>2];if(j>>>0>=2){a=C[d+68>>2];a=a>>>0<=1?1:a>>>0>j>>>0?j:a}j=d+48|0;if(!(!h|!j)){f=C[h>>2];s=C[j>>2];i=a<<16;m=of(f,s,i);l=C[h+4>>2];q=C[j+8>>2];o=of(l,q,i);n=f;f=C[j+4>>2];y=of(n,f,i);n=l;l=C[j+12>>2];n=of(n,l,i);r=C[h+8>>2];u=of(r,s,i);s=C[h+12>>2];K=j,L=u+of(s,q,i)|0,C[K+8>>2]=L;C[j+4>>2]=n+y;C[j>>2]=m+o;K=j,L=of(r,f,i)+of(s,l,i)|0,C[K+12>>2]=L}if(!(!h|(d|0)==-72)){i=C[h+8>>2];f=C[h+12>>2];s=C[d+72>>2];j=a<<16;l=of(s,C[h>>2],j);m=C[d+76>>2];K=d,L=l+of(m,C[h+4>>2],j)|0,C[K+72>>2]=L;K=d,L=of(s,i,j)+of(m,f,j)|0,C[K+76>>2]=L}K=d,L=of(C[d+68>>2],C[g+1392>>2],a),C[K+68>>2]=L;break N}a=C[h+4>>2];C[d+48>>2]=C[h>>2];C[d+52>>2]=a;a=C[h+12>>2];C[d+56>>2]=C[h+8>>2];C[d+60>>2]=a;a=C[g+1400>>2];C[d+72>>2]=C[g+1396>>2];C[d+76>>2]=a;C[d+68>>2]=C[g+1392>>2]}j=C[d+60>>2];a=j>>31;a=(a^j)-a|0;f=C[d+76>>2];O:{if((a|0)==65536){break O}K=d,L=Ze(C[d+68>>2],a),C[K+68>>2]=L;K=d,L=Ze(C[d+48>>2],a),C[K+48>>2]=L;K=d,L=Ze(C[d+56>>2],a),C[K+56>>2]=L;K=d,L=Ze(C[d+52>>2],a),C[K+52>>2]=L;K=d,L=Ze(C[d+60>>2],a),C[K+60>>2]=L;K=d,L=Ze(C[d+72>>2],a),C[K+72>>2]=L;f=Ze(C[d+76>>2],a)}C[d+76>>2]=f>>16;C[d+72>>2]=B[d+74>>1];if(e){continue}break}}P:{Q:{R:{S:{T:{U:{if(v){C[b>>2]=C[g+8>>2];if(C[g+1456>>2]!=65535){a=C[g+1168>>2]+1|0}else{a=C[g+1184>>2]}C[b+16>>2]=a;C[b+52>>2]=B[g+1410>>1];a=B[g+1414>>1];C[b+56>>2]=a;C[b+60>>2]=C[g+1416>>2]+65535>>16;d=C[g+1420>>2]+65535>>16;C[b- -64>>2]=d;e=C[g+1392>>2];B[b+72>>1]=a;B[b+70>>1]=d;B[b+68>>1]=e;a=d-a|0;d=(I(e&65535,12)>>>0)/10|0;B[b+74>>1]=(a|0)>d<<16>>16?a:d;B[b+80>>1]=E[g+1358>>1];B[b+82>>1]=E[g+1362>>1];a=Kw(g,c);C[b+20>>2]=a;if(!a){break U}e=Em(g,C[g+1336>>2]);c=C[b+20>>2];a=af(c);V:{if((a|0)<6){break V}h=c+7|0;d=a+1|0;while(1){if(D[c+6|0]!=43|(D[c+5|0]-91&255)>>>0<230|((D[c+4|0]-91&255)>>>0<230|(D[c+3|0]-91&255)>>>0<230)){break V}if((D[c+2|0]-91&255)>>>0<230|(D[c+1|0]-91&255)>>>0<230|(D[c|0]-91&255)>>>0<230){break V}a=d-7|0;if((d|0)>=8){t(c,h,a)}j=(d|0)>13;d=a;if(j){continue}break}}a=C[g+1340>>2];if(a){a=Em(g,a);c=a?a:c}if(!e|!c){break T}f=D[e|0];if(!f){break T}while(1){h=f&255;W:{X:{a=c;f=D[a|0];if((h|0)==(f|0)){d=c;break X}while(1){d=h-32|0;if(!d|(d|0)==13){break W}Y:{Z:{d=f&255;switch(d-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 T;case 0:case 13:break Z;default:break Y}}f=D[a+1|0];d=a+1|0;a=d;if((f|0)==(h|0)){break X}continue}break}if(d){break T}f=qh(z,e,k+40|0);c=C[b+20>>2];d=af(c);a=af(f);_:{if((d|0)<=(a|0)){break _}h=1;if((a|0)>0){while(1){if(D[c+(d-h|0)|0]!=D[(a-h|0)+f|0]){break _}e=(a|0)==(h|0);h=h+1|0;if(!e){continue}break}}h=d+(a^-1)|0;if((h|0)<=0){break _}while(1){a=c+h|0;d=D[a|0];e=d-32|0;if(!((1<>>0<=13:0)|(d|0)==95)){A[a+1|0]=0;break _}a=(h|0)>1;h=h-1|0;if(a){continue}break}}if(f){break S}break T}c=d+1|0}f=D[e+1|0];e=e+1|0;if(f){continue}break}break T}if(C[g+1456>>2]==65535){break R}e=1;a=0;break P}a=Em(g,C[g+1496>>2]);if(!a){break T}K=b,L=qh(z,a,k+40|0),C[K+20>>2]=L}f=qh(z,11228,k+40|0)}C[b+24>>2]=f;a=G?2065:2073;C[b+8>>2]=C[b+8>>2]|(D[g+1348|0]?a|4:a);f=C[g+1352>>2]!=0;a=Em(g,C[g+1344>>2]);$:{if(!a){break $}if(Se(a,19740)){if(Se(a,14379)){break $}}f=f|2}aa:{if(f&2){break aa}a=C[b+24>>2];if(!a){break aa}if(cf(a,19740,4)){if(cf(a,14379,5)){break aa}}f=f|2}C[b+12>>2]=f;if(C[g+1456>>2]!=65535){break Q}}C[b+8>>2]=C[b+8>>2]|512;e=0;a=v;break P}C[b+8>>2]=C[b+8>>2]|4096;e=1;a=1}c=C[b+36>>2];ba:{ca:{if(c){d=C[b+40>>2];f=0;while(1){da:{ea:{h=C[d+(f<<2)>>2];switch(E[h+8>>1]){case 0:break ca;case 3:break ea;default:break da}}if(E[h+10>>1]==1){break ca}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}if(a&e){break ba}C[k+40>>2]=b;C[k+44>>2]=1970170211;C[k+48>>2]=65539;a=wh(276304,0,k+40|0,0);C[k+4>>2]=a;if((a&255)!=163?a:0){break ba}C[k+4>>2]=0;if(C[b+92>>2]|(c|0)==C[b+36>>2]){break ca}C[b+92>>2]=C[C[b+40>>2]+(c<<2)>>2]}if(!C[g+124>>2]){break ba}B[k+48>>1]=7;C[k+40>>2]=b;b=1094995778;f=0;fa:{ga:{switch(C[g+120>>2]){case 1:b=1094992453;f=1;break fa;case 0:break fa;default:break ga}}b=1094992451;f=2}C[k+44>>2]=b;B[k+50>>1]=f;K=k,L=wh(276264,0,k+40|0,0),C[K+4>>2]=L}f=C[k+4>>2]}Ce=k+80|0;return f|0}function rC(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,E=0,F=0,G=0;l=C[a+4>>2];if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];q=C[(p<<2)+381104>>2];b=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[c>>2];C[c>>2]=C[l+24>>2]|(((I(n,D[o+((f&C[l+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>m<>2])>>>e|0)|0])>>>0)/255|0)+g>>>p<>2])>>>b|0)|0])>>>0)/255|0)+i>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break d}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];a=D[l+34|0];b=D[l+33|0];d=D[l+32|0];while(1){e=C[j>>2];q=D[n+((e&C[l+16>>2])>>>b|0)|0]+h|0;r=(q>>>0>=255?255:q)>>>m<>2])>>>d|0)|0]+g|0;e=D[k+((e&C[l+20>>2])>>>a|0)|0]+i|0;C[j>>2]=C[l+24>>2]|(r|(q>>>0>=255?255:q)>>>o<>>0>=255?255:e)>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break e}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];a=D[l+34|0];b=D[l+33|0];d=D[l+32|0];while(1){e=C[j>>2];C[j>>2]=C[l+24>>2]|((I(D[n+((e&C[l+16>>2])>>>b|0)|0],h)>>>0)/255>>>m<>2])>>>d|0)|0],g)>>>0)/255>>>o<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];q=C[(p<<2)+381104>>2];b=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[c>>2];r=D[q+((f&C[l+12>>2])>>>e|0)|0];r=((I(r,g)>>>0)/255|0)+((I(n,r)>>>0)/255|0)|0;s=C[l+24>>2]|(r>>>0>=255?255:r)>>>p<>2])>>>d|0)|0];r=((I(r,h)>>>0)/255|0)+((I(n,r)>>>0)/255|0)|0;f=D[k+((f&C[l+20>>2])>>>b|0)|0];f=((I(f,i)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;C[c>>2]=s|(r>>>0>=255?255:r)>>>m<>>0>=255?255:f)>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break g}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2]=c|(a|C[l+24>>2]);j=j+4|0;b=b-1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(d>>>0<3){break a}while(1){C[j>>2]=c|(a|C[l+24>>2]);C[j+4>>2]=c|(a|C[l+24>>2]);C[j+8>>2]=c|(a|C[l+24>>2]);C[j+12>>2]=c|(a|C[l+24>>2]);j=j+16|0;b=b-4|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}k=D[l+30|0];m=C[(k<<2)+381104>>2];o=D[l+29|0];p=C[(o<<2)+381104>>2];q=D[l+28|0];r=C[(q<<2)+381104>>2];c=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){j=C[b>>2];C[b>>2]=C[l+24>>2]|(((I(n,D[p+((j&C[l+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>o<>2])>>>e|0)|0])>>>0)/255|0)+g>>>q<>2])>>>c|0)|0])>>>0)/255|0)+i>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break j}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}k=D[l+30|0];m=C[(k<<2)+381104>>2];n=D[l+29|0];o=C[(n<<2)+381104>>2];p=D[l+28|0];q=C[(p<<2)+381104>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[j>>2];r=D[o+((f&C[l+16>>2])>>>d|0)|0]+h|0;s=(r>>>0>=255?255:r)>>>n<>2])>>>e|0)|0]+g|0;f=D[m+((f&C[l+20>>2])>>>a|0)|0]+i|0;C[j>>2]=C[l+24>>2]|(s|(r>>>0>=255?255:r)>>>p<>>0>=255?255:f)>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break k}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}k=D[l+30|0];m=C[(k<<2)+381104>>2];n=D[l+29|0];o=C[(n<<2)+381104>>2];p=D[l+28|0];q=C[(p<<2)+381104>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[j>>2];C[j>>2]=C[l+24>>2]|((I(D[o+((f&C[l+16>>2])>>>d|0)|0],h)>>>0)/255>>>n<>2])>>>e|0)|0],g)>>>0)/255>>>p<>2])>>>a|0)|0],i)>>>0)/255>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}k=D[l+30|0];m=C[(k<<2)+381104>>2];o=D[l+29|0];p=C[(o<<2)+381104>>2];q=D[l+28|0];r=C[(q<<2)+381104>>2];c=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){j=C[b>>2];s=D[r+((j&C[l+12>>2])>>>e|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;t=C[l+24>>2]|(s>>>0>=255?255:s)>>>q<>2])>>>d|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;j=D[m+((j&C[l+20>>2])>>>c|0)|0];j=((I(j,i)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;C[b>>2]=t|(s>>>0>=255?255:s)>>>o<>>0>=255?255:j)>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break m}j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}c=0;b=a+((k|0)!=0)|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2]=d|(a|C[l+24>>2]);b=b-1|0;j=h+j|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(e>>>0<3){break a}c=f<<2;while(1){C[j>>2]=d|(a|C[l+24>>2]);e=c+j|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);j=c+e|0;b=b-4|0;if(b){continue}break}break a}s=b-d|0;j=s>>31;m=c-e|0;q=m>>31;if(((j^s)-j|0)==((m^q)-q|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];q=C[(p<<2)+381104>>2];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];r=b<<2;while(1){b=C[a>>2];C[a>>2]=C[l+24>>2]|(((I(n,D[o+((b&C[l+16>>2])>>>e|0)|0])>>>0)/255|0)+h>>>m<>2])>>>f|0)|0])>>>0)/255|0)+g>>>p<>2])>>>d|0)|0])>>>0)/255|0)+i>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];q=b<<2;while(1){b=C[j>>2];r=D[n+((b&C[l+16>>2])>>>d|0)|0]+h|0;s=(r>>>0>=255?255:r)>>>m<>2])>>>e|0)|0]+g|0;b=D[k+((b&C[l+20>>2])>>>a|0)|0]+i|0;C[j>>2]=C[l+24>>2]|(s|(r>>>0>=255?255:r)>>>o<>>0>=255?255:b)>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+381104>>2];m=D[l+29|0];n=C[(m<<2)+381104>>2];o=D[l+28|0];p=C[(o<<2)+381104>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];q=b<<2;while(1){b=C[j>>2];C[j>>2]=C[l+24>>2]|((I(D[n+((b&C[l+16>>2])>>>d|0)|0],h)>>>0)/255>>>m<>2])>>>e|0)|0],g)>>>0)/255>>>o<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+381104>>2];m=D[l+29|0];o=C[(m<<2)+381104>>2];p=D[l+28|0];q=C[(p<<2)+381104>>2];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];r=b<<2;while(1){b=C[a>>2];s=D[q+((b&C[l+12>>2])>>>f|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;t=C[l+24>>2]|(s>>>0>=255?255:s)>>>p<>2])>>>e|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;b=D[k+((b&C[l+20>>2])>>>d|0)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;C[a>>2]=t|(s>>>0>=255?255:s)>>>m<>>0>=255?255:b)>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;j=(a+(I(c,f)<<2)|0)+(b<<2)|0;break s}a=(a+(I(e,f)<<2)|0)+(d<<2)|0;e=f+((b|0)<(d|0)?-1:1)|0;j=a+((k?0:e)<<2)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2]=d|(a|C[l+24>>2]);b=b-1|0;j=h+j|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<3){break a}c=e<<2;while(1){C[j>>2]=d|(a|C[l+24>>2]);e=c+j|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);j=c+e|0;b=b-4|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:m=d-b|0;f=m>>31;p=e-c|0;j=p>>31;m=(f^m)-f|0;j=(j^p)-j|0;u:{if(m>>>0>=j>>>0){q=j-m|0;r=1;p=j<<1;f=p-m|0;j=0;break u}q=m-j|0;p=m<<1;f=p-j|0;m=j;j=1}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);s=e?0-j|0:j;d=(b|0)>(d|0);r=d?0-r|0:r;B=e?-1:1;y=d?-1:1;q=q<<1;t=D[l+30|0];u=C[(t<<2)+381104>>2];v=D[l+29|0];w=C[(v<<2)+381104>>2];x=D[l+28|0];z=C[(x<<2)+381104>>2];e=D[l+34|0];j=D[l+33|0];k=D[l+32|0];A=C[a+20>>2];while(1){E=(A+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[E>>2];C[E>>2]=C[l+24>>2]|(((I(n,D[w+((d&C[l+16>>2])>>>j|0)|0])>>>0)/255|0)+h>>>v<>2])>>>k|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>t<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;m=(j^n)-j|0;v:{if(f>>>0>=m>>>0){q=m-f|0;o=1;p=m<<1;j=p-f|0;m=0;break v}q=f-m|0;p=f<<1;j=p-m|0;f=m;m=1}r=((k|0)!=0)+f|0;if(!r){break a}e=(c|0)>(e|0);s=e?0-m|0:m;d=(b|0)>(d|0);o=d?0-o|0:o;B=e?-1:1;y=d?-1:1;q=q<<1;t=D[l+30|0];u=C[(t<<2)+381104>>2];v=D[l+29|0];w=C[(v<<2)+381104>>2];x=D[l+28|0];z=C[(x<<2)+381104>>2];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];A=C[a+20>>2];m=0;while(1){E=(A+I(C[a+16>>2],c)|0)+(b<<2)|0;k=C[E>>2];n=D[w+((k&C[l+16>>2])>>>e|0)|0]+h|0;F=(n>>>0>=255?255:n)>>>v<>2])>>>f|0)|0]+g|0;k=D[u+((k&C[l+20>>2])>>>d|0)|0]+i|0;C[E>>2]=C[l+24>>2]|(F|(n>>>0>=255?255:n)>>>x<>>0>=255?255:k)>>>t<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;m=(j^n)-j|0;w:{if(f>>>0>=m>>>0){n=m-f|0;o=m<<1;j=o-f|0;m=1;break w}n=f-m|0;p=1;o=f<<1;j=o-m|0;f=m;m=0}q=((k|0)!=0)+f|0;if(!q){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);r=d?0-m|0:m;s=e?-1:1;B=d?-1:1;n=n<<1;y=D[l+30|0];t=C[(y<<2)+381104>>2];u=D[l+29|0];v=C[(u<<2)+381104>>2];w=D[l+28|0];x=C[(w<<2)+381104>>2];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];z=C[a+20>>2];m=0;while(1){A=(z+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[A>>2];C[A>>2]=C[l+24>>2]|((I(D[v+((d&C[l+16>>2])>>>f|0)|0],h)>>>0)/255>>>u<>2])>>>k|0)|0],g)>>>0)/255>>>w<>2])>>>e|0)|0],i)>>>0)/255>>>y<>31;o=e-c|0;j=o>>31;m=(f^m)-f|0;j=(j^o)-j|0;x:{if(m>>>0>=j>>>0){p=j-m|0;q=j<<1;f=q-m|0;j=1;break x}p=m-j|0;r=1;q=m<<1;f=q-j|0;m=j;j=0}s=((k|0)!=0)+m|0;if(!s){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);B=d?0-j|0:j;y=e?-1:1;t=d?-1:1;p=p<<1;u=D[l+30|0];v=C[(u<<2)+381104>>2];w=D[l+29|0];x=C[(w<<2)+381104>>2];z=D[l+28|0];A=C[(z<<2)+381104>>2];d=D[l+34|0];e=D[l+33|0];j=D[l+32|0];E=C[a+20>>2];o=0;while(1){F=(E+I(C[a+16>>2],c)|0)+(b<<2)|0;k=C[F>>2];m=D[A+((k&C[l+12>>2])>>>j|0)|0];m=((I(m,g)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;G=C[l+24>>2]|(m>>>0>=255?255:m)>>>z<>2])>>>e|0)|0];m=((I(m,h)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;k=D[v+((k&C[l+20>>2])>>>d|0)|0];k=((I(k,i)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;C[F>>2]=G|(m>>>0>=255?255:m)>>>w<>>0>=255?255:k)>>>u<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;n=(j^n)-j|0;y:{if(f>>>0>=n>>>0){q=n-f|0;o=1;m=n<<1;j=m-f|0;n=0;break y}q=f-n|0;m=f<<1;j=m-n|0;f=n;n=1}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-o|0:o;e=e?-1:1;o=d?-1:1;p=q<<1;g=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2];i=0;while(1){C[(q+I(C[a+16>>2],c)|0)+(b<<2)>>2]=h|(g|C[l+24>>2]);d=(j|0)<0;j=(d?m:p)+j|0;b=(d?n:o)+b|0;c=(d?k:e)+c|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}}function ir(a,b,c,d,e,f,g){var h=J(0),i=0,j=J(0),k=J(0),l=J(0),m=J(0),n=J(0),o=0,p=0,q=0,r=0,s=J(0),t=J(0),u=0,v=0,w=0,x=0,y=0,z=0,B=0,D=0,E=J(0),F=J(0),H=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=J(0),T=J(0),U=J(0),V=0,W=0,X=0;x=Ce-48|0;Ce=x;u=C[95363];r=(u|0)==3?(b|0)<577?1:2:u;M=I(r,40)+149520|0;O=a&1;u=(a|0)/2|0;V=(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}}Bj(b,e,f,g,x+44|0,x+40|0,x+36|0,x+32|0,x+28|0);f=C[x+32>>2];y=I(f,b);i=C[x+44>>2];if((b|0)>0){z=f-a|0;f=I(r,40);B=f+149532|0;D=f+149528|0;v=f+149524|0;w=(a|0)<=0;q=c;f=i;while(1){if(!w){o=C[M>>2];h=G[B>>2];l=G[D>>2];m=G[v>>2];g=0;while(1){H=C[(g<<2)+q>>2];j=J(J(J(h*J((H&255)>>>0))+J(J(m*J((H>>>16&255)>>>0))+J(l*J((H>>>8&255)>>>0))))+J(.5));f:{if(J(K(j))>2];i=C[x+40>>2];if((b|0)>=2){e=C[x+28>>2]+((a+1|0)/-2|0)|0;b=I(r,40);y=b+149556|0;z=b+149552|0;B=b+149548|0;D=b+149544|0;v=b+149540|0;w=b+149536|0;d=0;N=(a|0)<2;while(1){if(N){b=0}else{h=G[y>>2];l=G[z>>2];m=G[B>>2];j=G[D>>2];E=G[v>>2];F=G[w>>2];q=0;while(1){b=q<<3;p=b|4;o=C[p+c>>2];L=C[b+c>>2];b=C[b+g>>2];p=C[g+p>>2];n=J((((o&255)+(L&255)|0)+(b&255)|0)+(p&255)>>>2>>>0);s=J((((o&16711680)+(L&16711680)|0)+(b&16711680)|0)+(p&16711680)>>>18>>>0);t=J((((o&65280)+(L&65280)|0)+(b&65280)|0)+(p&65280)>>>10>>>0);k=J(J(J(j*n)+J(J(F*s)+J(E*t)))+J(.5));j:{if(J(K(k))>2];q=C[c+q>>2];h=J((b&255)+(q&255)>>>1>>>0);l=J((b&16711680)+(q&16711680)>>>17>>>0);m=J((b&65280)+(q&65280)>>>9>>>0);j=J(J(J(G[D>>2]*h)+J(J(G[w>>2]*l)+J(G[v>>2]*m)))+J(.5));l:{if(J(K(j))>2]*h)+J(J(G[B>>2]*l)+J(G[z>>2]*m)))+J(.5));m:{if(J(K(h))=2){a=I(r,40);h=G[a+149556>>2];l=G[a+149552>>2];m=G[a+149548>>2];j=G[a+149544>>2];E=G[a+149540>>2];F=G[a+149536>>2];while(1){b=(g<<3)+c|0;a=C[b+4>>2];b=C[b>>2];n=J((a&255)+(b&255)>>>1>>>0);s=J((a&16711680)+(b&16711680)>>>17>>>0);t=J((a&65280)+(b&65280)>>>9>>>0);k=J(J(J(j*n)+J(J(F*s)+J(E*t)))+J(.5));n:{if(J(K(k))>2]=f;if(!O){break g}a=I(r,40);b=C[(g<<2)+c>>2];h=J((b&255)>>>0);l=J((b>>>16&255)>>>0);m=J((b>>>8&255)>>>0);j=J(J(J(G[a+149544>>2]*h)+J(J(G[a+149536>>2]*l)+J(G[a+149540>>2]*m)))+J(.5));p:{if(J(K(j))>2];h=J(J(J(G[a+149556>>2]*h)+J(J(G[a+149548>>2]*l)+J(G[a+149552>>2]*m)))+J(.5));q:{if(J(K(h))=2){L=C[x+28>>2]+((a+1|0)/-2<<1)|0;b=I(r,40);d=b+149556|0;q=b+149552|0;y=b+149548|0;z=b+149544|0;B=b+149540|0;D=b+149536|0;e=0;p=(a|0)<2;while(1){if(p){b=0}else{h=G[d>>2];l=G[q>>2];m=G[y>>2];j=G[z>>2];E=G[B>>2];F=G[D>>2];i=0;while(1){b=i<<3;o=b|4;v=C[o+c>>2];w=C[b+c>>2];b=C[b+g>>2];o=C[g+o>>2];n=J((((v&255)+(w&255)|0)+(b&255)|0)+(o&255)>>>2>>>0);s=J((((v&16711680)+(w&16711680)|0)+(b&16711680)|0)+(o&16711680)>>>18>>>0);t=J((((v&65280)+(w&65280)|0)+(b&65280)|0)+(o&65280)>>>10>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));r:{if(J(K(k))>2];i=C[c+i>>2];h=J((b&255)+(i&255)>>>1>>>0);l=J((b&16711680)+(i&16711680)>>>17>>>0);m=J((b&65280)+(i&65280)>>>9>>>0);j=J(J(J(G[d>>2]*h)+J(J(G[y>>2]*l)+J(G[q>>2]*m)))+J(.5));t:{if(J(K(j))>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));u:{if(J(K(h))=2){a=I(r,40);h=G[a+149556>>2];l=G[a+149552>>2];m=G[a+149548>>2];j=G[a+149544>>2];E=G[a+149540>>2];F=G[a+149536>>2];g=0;while(1){b=(g<<3)+c|0;a=C[b+4>>2];b=C[b>>2];n=J((a&255)+(b&255)>>>1>>>0);s=J((a&16711680)+(b&16711680)>>>17>>>0);t=J((a&65280)+(b&65280)>>>9>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));v:{if(J(K(k))>2];h=J((b&255)>>>0);l=J((b>>>16&255)>>>0);m=J((b>>>8&255)>>>0);j=J(J(J(G[a+149556>>2]*h)+J(J(G[a+149548>>2]*l)+J(G[a+149552>>2]*m)))+J(.5));x:{if(J(K(j))>2]*h)+J(J(G[a+149536>>2]*l)+J(G[a+149540>>2]*m)))+J(.5));y:{if(J(K(h))=2){L=C[x+28>>2]+((a+1|0)/-2<<1)|0;b=I(r,40);d=b+149544|0;q=b+149540|0;y=b+149536|0;z=b+149556|0;B=b+149552|0;D=b+149548|0;e=0;p=(a|0)<2;while(1){if(p){b=0}else{h=G[d>>2];l=G[q>>2];m=G[y>>2];j=G[z>>2];E=G[B>>2];F=G[D>>2];i=0;while(1){b=i<<3;o=b|4;v=C[o+c>>2];w=C[b+c>>2];b=C[b+g>>2];o=C[g+o>>2];n=J((((v&255)+(w&255)|0)+(b&255)|0)+(o&255)>>>2>>>0);s=J((((v&16711680)+(w&16711680)|0)+(b&16711680)|0)+(o&16711680)>>>18>>>0);t=J((((v&65280)+(w&65280)|0)+(b&65280)|0)+(o&65280)>>>10>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));z:{if(J(K(k))>2];i=C[c+i>>2];h=J((b&255)+(i&255)>>>1>>>0);l=J((b&16711680)+(i&16711680)>>>17>>>0);m=J((b&65280)+(i&65280)>>>9>>>0);j=J(J(J(G[d>>2]*h)+J(J(G[y>>2]*l)+J(G[q>>2]*m)))+J(.5));B:{if(J(K(j))>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));C:{if(J(K(h))=2){a=I(r,40);h=G[a+149544>>2];l=G[a+149540>>2];m=G[a+149536>>2];j=G[a+149556>>2];E=G[a+149552>>2];F=G[a+149548>>2];g=0;while(1){b=(g<<3)+c|0;a=C[b+4>>2];b=C[b>>2];n=J((a&255)+(b&255)>>>1>>>0);s=J((a&16711680)+(b&16711680)>>>17>>>0);t=J((a&65280)+(b&65280)>>>9>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));D:{if(J(K(k))>2];h=J((b&255)>>>0);l=J((b>>>16&255)>>>0);m=J((b>>>8&255)>>>0);j=J(J(J(G[a+149544>>2]*h)+J(J(G[a+149536>>2]*l)+J(G[a+149540>>2]*m)))+J(.5));F:{if(J(K(j))>2]*h)+J(J(G[a+149548>>2]*l)+J(G[a+149552>>2]*m)))+J(.5));G:{if(J(K(h))(g|0)){C[x+16>>2]=i;g=Qe(34523,x+16|0);break a}V=g-i|0;g=0;H:{if((e|0)!=844715353){if((e|0)==1498831189){break H}if((e|0)!=1431918169|(b|0)<=0){break a}e=I(r,40);r=e+149544|0;H=e+149540|0;y=e+149536|0;z=e+149556|0;B=e+149552|0;D=e+149548|0;v=e+149532|0;w=e+149528|0;e=e+149524|0;L=(a|0)<2;while(1){if(L){a=0}else{j=G[r>>2];E=G[H>>2];F=G[y>>2];n=G[z>>2];s=G[B>>2];t=G[D>>2];g=C[M>>2];h=G[v>>2];l=G[w>>2];m=G[e>>2];i=0;while(1){p=(i<<3)+c|0;a=C[p>>2];N=a&255;P=a>>>16&255;Q=a>>>8&255;k=J(J(J(h*J(N>>>0))+J(J(m*J(P>>>0))+J(l*J(Q>>>0))))+J(.5));I:{if(J(K(k))>2];A[f|0]=g+o;o=a&255;p=a>>>16&255;a=a>>>8&255;k=J(J(J(h*J(o>>>0))+J(J(m*J(p>>>0))+J(l*J(a>>>0))))+J(.5));J:{if(J(K(k))>>1>>>0);S=J(p+P>>>1>>>0);T=J(a+Q>>>1>>>0);U=J(J(J(j*k)+J(J(F*S)+J(E*T)))+J(.5));K:{if(J(K(U))>2];h=J((a&255)>>>0);l=J((a>>>16&255)>>>0);m=J((a>>>8&255)>>>0);j=J(J(J(G[r>>2]*h)+J(J(G[y>>2]*l)+J(G[H>>2]*m)))+J(.5));M:{if(J(K(j))>2]*h)+J(J(G[e>>2]*l)+J(G[w>>2]*m)))+J(.5));N:{if(J(K(j))>2]|0;A[f+2|0]=g;h=J(J(J(G[z>>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));O:{if(J(K(h))>2];E=G[H>>2];F=G[y>>2];n=G[z>>2];s=G[B>>2];t=G[D>>2];g=C[M>>2];h=G[v>>2];l=G[w>>2];m=G[e>>2];i=0;while(1){p=(i<<3)+c|0;a=C[p>>2];N=a&255;P=a>>>16&255;Q=a>>>8&255;k=J(J(J(h*J(N>>>0))+J(J(m*J(P>>>0))+J(l*J(Q>>>0))))+J(.5));P:{if(J(K(k))>2];A[f|0]=g+o;o=a&255;p=a>>>16&255;a=a>>>8&255;k=J(J(J(h*J(o>>>0))+J(J(m*J(p>>>0))+J(l*J(a>>>0))))+J(.5));Q:{if(J(K(k))>>1>>>0);S=J(p+P>>>1>>>0);T=J(a+Q>>>1>>>0);U=J(J(J(j*k)+J(J(F*S)+J(E*T)))+J(.5));R:{if(J(K(U))>2];h=J((a&255)>>>0);l=J((a>>>16&255)>>>0);m=J((a>>>8&255)>>>0);j=J(J(J(G[r>>2]*h)+J(J(G[y>>2]*l)+J(G[H>>2]*m)))+J(.5));T:{if(J(K(j))>2]*h)+J(J(G[e>>2]*l)+J(G[w>>2]*m)))+J(.5));U:{if(J(K(j))>2]|0;A[f+2|0]=g;h=J(J(J(G[z>>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));V:{if(J(K(h))>2];E=G[H>>2];F=G[y>>2];g=C[M>>2];h=G[z>>2];l=G[B>>2];m=G[D>>2];n=G[v>>2];s=G[w>>2];t=G[e>>2];i=0;while(1){p=(i<<3)+c|0;a=C[p>>2];N=a&255;P=a>>>16&255;Q=a>>>8&255;k=J(J(J(h*J(N>>>0))+J(J(m*J(P>>>0))+J(l*J(Q>>>0))))+J(.5));W:{if(J(K(k))>2];A[f+1|0]=g+o;o=a&255;p=a>>>16&255;a=a>>>8&255;k=J(J(J(h*J(o>>>0))+J(J(m*J(p>>>0))+J(l*J(a>>>0))))+J(.5));X:{if(J(K(k))>>1>>>0);S=J(p+P>>>1>>>0);T=J(a+Q>>>1>>>0);U=J(J(J(j*k)+J(J(F*S)+J(E*T)))+J(.5));Y:{if(J(K(U))>2];h=J((a&255)>>>0);l=J((a>>>16&255)>>>0);m=J((a>>>8&255)>>>0);j=J(J(J(G[z>>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));_:{if(J(K(j))>2]|0;A[f+3|0]=g;j=J(J(J(G[r>>2]*h)+J(J(G[y>>2]*l)+J(G[H>>2]*m)))+J(.5));$:{if(J(K(j))>2]*h)+J(J(G[e>>2]*l)+J(G[w>>2]*m)))+J(.5));aa:{if(J(K(h))>2]=X;g=Qe(8597,x)}Ce=x+48|0;return g}function Ry(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,o=0,p=0,q=0,r=0,s=0,t=0;i=Ce-48|0;Ce=i;a:{b:{switch(D[a+7|0]){case 0:C[i+12>>2]=0;C[i+16>>2]=0;A[i+8|0]=0;e=C[b+12>>2];C[i+40>>2]=C[b+16>>2];C[i+36>>2]=a+12;a=C[e+32>>2];if((a|0)==-1){a=Rg(e)}C[i+44>>2]=a;h=i+8|0;e=i+36|0;a=C[e+4>>2];C[a+76>>2]=0;c:{if(!D[a+72|0]){break c}while(1){c=C[a+76>>2];b=0;d:{if(c>>>0>=F[a+80>>2]){break d}f=C[C[a+92>>2]+I(c,20)>>2];b=2;if((f|0)==65535){break d}a=C[e>>2];c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Wg((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,f,C[e+8>>2]);b=1;if(!a){break d}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}c=C[e+4>>2];a=C[e>>2];f=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);o=j>>>0>b>>>0;p=I(d,j);f=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);l=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((o?b:1)+p<<1)+l|0;f=D[f|0]|D[f+1|0]<<8;g=((f<<8|f>>>8)&65535)<<2;f=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);k=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=g+k|0;g=D[f|0]|D[f+1|0]<<8;m=D[f+2|0]|D[f+3|0]<<8;n=C[h+4>>2];q=C[h+8>>2];e:{f:{if(n>>>0>>0?m&3840:0){break f}if(!(!d|!(m&64?g:1))){a=l+((o?b:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=k+(((a<<8|a>>>8)&65535)<<2)|0;b=D[a+2|0]|D[a+3|0]<<8;if((n>>>0>>0?b&3840:0)|(g|0)!=(D[a|0]|D[a+1|0]<<8)|(b^m)&64){break f}}a=l+(p+!j<<1)|0;a=D[a|0]|D[a+1|0]<<8;if(!(D[(k+(((a<<8|a>>>8)&65535)<<2)|0)+3|0]&15)|n>>>0>=q>>>0){break e}}a=C[c+76>>2];b=D[c+73|0]?C[c+84>>2]:a;if(!b|a>>>0>=F[c+80>>2]){break e}Xg(c,b-1|0,a+1|0)}Py(h,e,f);a=C[e+4>>2];d=C[a+76>>2];if((d|0)==C[a+80>>2]|!D[a+72|0]){break c}c=g<<8|g>>>8;g:{if(D[f+2|0]&64){b=C[a+44>>2];C[a+44>>2]=b-1;if((b|0)>0){break g}}if(D[a+73|0]){h:{if(C[a+96>>2]==C[a+92>>2]){b=d;if(C[a+84>>2]==(b|0)){break h}}if(!$e(a,1,1)){break g}d=C[a+92>>2]+I(C[a+76>>2],20)|0;f=C[d+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[d>>2];C[b+4>>2]=f;C[b+16>>2]=C[d+16>>2];f=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=f;d=C[a+76>>2];b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=d+1}d=c&65535;a=C[e+4>>2];if(D[a+72|0]){continue}break}}break a;case 1:A[i+8|0]=0;C[i+12>>2]=b;e=C[b+68>>2];A[i+20|0]=0;C[i+16>>2]=e;c=D[e+4|0]|D[e+5|0]<<8;e=a+12|0;C[i+28>>2]=e;C[i+24>>2]=0;A[i+21|0]=(c|0)!=0;a=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);C[i+32>>2]=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24));c=C[b+12>>2];C[i+40>>2]=C[b+16>>2];C[i+36>>2]=e;a=C[c+32>>2];if((a|0)==-1){a=Rg(c)}C[i+44>>2]=a;e=i+8|0;f=i+36|0;a=C[f+4>>2];C[a+76>>2]=0;i:{if(!D[a+72|0]){break i}while(1){c=C[a+76>>2];b=0;j:{if(c>>>0>=F[a+80>>2]){break j}g=C[C[a+92>>2]+I(c,20)>>2];b=2;if((g|0)==65535){break j}a=C[f>>2];c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Wg((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,g,C[f+8>>2]);b=1;if(!a){break j}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=C[f>>2];c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=o>>>0>b>>>0;q=I(d,o);c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);k=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((l?b:1)+q<<1)+k|0;c=D[c|0]|D[c+1|0]<<8;h=((c<<8|c>>>8)&65535)<<3;c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);m=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=h+m|0;g=D[c|0]|D[c+1|0]<<8;h=C[f+4>>2];j=C[h+76>>2];p=C[h+80>>2];n=!D[e+12|0]&(j|0)==(p|0);k:{l:{if(!n&((D[c+4|0]|D[c+5|0]<<8)!=65535|(D[c+6|0]|D[c+7|0]<<8)!=65535)){break l}m:{if(!d){break m}d=D[c+2|0]|D[c+3|0]<<8;if(!(d&64?g:1)){break m}a=k+((l?b:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;if(!n&((D[a+4|0]|D[a+5|0]<<8)!=65535|(D[a+6|0]|D[a+7|0]<<8)!=65535)|((d^(D[a+2|0]|D[a+3|0]<<8))&64|(g|0)!=(D[a|0]|D[a+1|0]<<8))){break l}}if(n){break k}a=k+(q+!o<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;if((D[a+4|0]|D[a+5|0]<<8)!=65535){break l}if((D[a+6|0]|D[a+7|0]<<8)==65535){break k}}a=D[h+73|0]?C[h+84>>2]:j;if(!a|j>>>0>=p>>>0){break k}Xg(h,a-1|0,j+1|0)}a=C[f+4>>2];n:{if(!D[e+12|0]&C[a+76>>2]==C[a+80>>2]){break n}b=D[c+4|0]|D[c+5|0]<<8;o:{if((b|0)==65535){break o}d=C[e+24>>2];b=d+(((b<<8|b>>>8)&65535)<<2)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=Wg((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0,C[C[a+92>>2]+I(C[e+16>>2],20)>>2],C[f+8>>2]);if(!b){break o}d=C[a+76>>2]+1|0;h=C[a+80>>2];h=d>>>0>>0?d:h;d=C[e+16>>2];if(h-d>>>0>=2){Rf(a,d,h);d=C[e+16>>2]}d=C[a+92>>2]+I(d,20)|0;b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[d>>2]=b;if(D[e+13|0]){s=d,t=eh(C[e+8>>2],b),B[s+12>>1]=t}A[e|0]=1}b=D[c+6|0]|D[c+7|0]<<8;p:{if((b|0)==65535){break p}d=C[e+24>>2];b=d+(((b<<8|b>>>8)&65535)<<2)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);j=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0;b=C[a+76>>2];d=C[a+80>>2]-1|0;d=b>>>0>>0?b:d;h=I(d,20);b=Wg(j,C[h+C[a+92>>2]>>2],C[f+8>>2]);if(!b){break p}j=h;h=C[a+92>>2];b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[j+h>>2]=b;if(D[e+13|0]){s=h+I(d,20)|0,t=eh(C[e+8>>2],b),B[s+12>>1]=t}A[e|0]=1}if(!(D[c+2|0]&128)){break n}A[e+12|0]=1;C[e+16>>2]=C[a+76>>2]}a=C[f+4>>2];d=C[a+76>>2];if((d|0)==C[a+80>>2]|!D[a+72|0]){break i}g=g<<8|g>>>8;q:{if(D[c+2|0]&64){b=C[a+44>>2];C[a+44>>2]=b-1;if((b|0)>0){break q}}if(D[a+73|0]){r:{if(C[a+96>>2]==C[a+92>>2]){b=d;if(C[a+84>>2]==(b|0)){break r}}if(!$e(a,1,1)){break q}d=C[a+92>>2]+I(C[a+76>>2],20)|0;c=C[d+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[d>>2];C[b+4>>2]=c;C[b+16>>2]=C[d+16>>2];c=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=c;d=C[a+76>>2];b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=d+1}d=g&65535;a=C[f+4>>2];if(D[a+72|0]){continue}break}}break a;case 2:e=Ce-304|0;Ce=e;a=a+12|0;C[e+28>>2]=a;A[e+20|0]=0;C[e+24>>2]=b;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);C[e+32>>2]=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);C[e+36>>2]=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);C[e+44>>2]=0;C[e+40>>2]=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=C[b+12>>2];C[e+12>>2]=C[b+16>>2];C[e+8>>2]=a;a=C[c+32>>2];if((a|0)==-1){a=Rg(c)}C[e+16>>2]=a;b=e+20|0;a=C[e+12>>2];C[a+84>>2]=0;C[a+76>>2]=0;A[a+73|0]=1;A[a+74|0]=0;C[a+96>>2]=C[a+92>>2];a=C[e+12>>2];C[a+76>>2]=0;s:{if(!D[a+72|0]){break s}while(1){f=C[a+76>>2];c=0;t:{if(f>>>0>=F[a+80>>2]){break t}g=C[C[a+92>>2]+I(f,20)>>2];c=2;if((g|0)==65535){break t}a=C[e+8>>2];f=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Wg((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0,g,C[e+16>>2]);c=1;if(!a){break t}a=D[a|0]|D[a+1|0]<<8;c=(a<<8|a>>>8)&65535}f=C[e+12>>2];a=C[e+8>>2];g=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);l=j>>>0>c>>>0;n=I(d,j);g=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);k=a+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=((l?c:1)+n<<1)+k|0;g=D[g|0]|D[g+1|0]<<8;h=I((g<<8|g>>>8)&65535,6);g=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);g=a+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;h=h+g|0;o=D[h|0]|D[h+1|0]<<8;m=D[h+2|0]|D[h+3|0]<<8;u:{v:{if(m&32){break v}if(!(!d|!(m&64?o:1))){a=k+((l?c:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=g+I((a<<8|a>>>8)&65535,6)|0;d=D[a+2|0]|D[a+3|0]<<8;if(d&32|(o|0)!=(D[a|0]|D[a+1|0]<<8)|(d^m)&64){break v}}a=k+(n+!j<<1)|0;a=D[a|0]|D[a+1|0]<<8;if(!(D[(g+I((a<<8|a>>>8)&65535,6)|0)+2|0]&32)){break u}}a=C[f+76>>2];d=D[f+73|0]?C[f+84>>2]:a;if(!d|a>>>0>=F[f+80>>2]){break u}Xg(f,d-1|0,a+1|0)}l=0;f=C[e+12>>2];d=D[h+2|0]|D[h+3|0]<<8;if(d&128){a=C[b+24>>2];w:{if(!a){j=C[f+84>>2];a=0;break w}j=C[f+84>>2];a=a-((j|0)==C[(b+((a-1&63)<<2)|0)+28>>2])|0}C[b+24>>2]=a+1;C[(b+((a&63)<<2)|0)+28>>2]=j}x:{if(!(d&32)){break x}j=C[b+24>>2];if(!j|F[f+76>>2]>=F[f+80>>2]){break x}q=C[f+84>>2];a=D[h+4|0]|D[h+5|0]<<8;c=C[b+12>>2]+(((a<<8|a>>>8)&65535)<<2)|0;while(1){y:{if(!j){C[b+24>>2]=0;break y}j=j-1|0;p=b+((j&63)<<2)|0;if(!kh(f,C[p+28>>2])){break x}a=C[b+4>>2];k=C[a+24>>2];if(k>>>0>c>>>0){break y}d=C[a+28>>2];if(d>>>0>>0|d-c>>>0<4){break y}m=C[a+32>>2];g=m-4|0;C[a+32>>2]=g;if((g|0)<=0){break y}g=D[c|0];n=D[c+3|0]|(D[c+1|0]<<16|g<<24|D[c+2|0]<<8);g=C[C[f+92>>2]+I(C[f+76>>2],20)>>2]+(n&1073741823|g<<26>>31&-1073741824)|0;g=(g|0)<0?205712:C[b+16>>2]+(g<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break y}r=m-6|0;C[a+32>>2]=r;if((r|0)<=0){break y}g=D[g|0]|D[g+1|0]<<8;l=((g<<8|g>>>8)&65535)+l|0;if(n>>>0>=1073741824){g=(l|0)<0?205712:C[b+20>>2]+(l<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break y}d=a;a=m-8|0;C[d+32>>2]=a;if((a|0)<=0){break y}a=D[g|0]|D[g+1|0]<<8;if(!$e(f,1,1)){break x}k=(a<<8|a>>>8)&65535;a=C[f+76>>2];z:{if(a>>>0>2]){g=C[f+84>>2];d=C[f+96>>2];a=C[f+92>>2]+I(a,20)|0;break z}d=C[f+96>>2];g=C[f+84>>2];a=g-1|0;a=d+I(a>>>0<=g>>>0?a:0,20)|0}d=I(g,20)+d|0;g=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=g;C[d+16>>2]=C[a+16>>2];g=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=g;C[d>>2]=k;C[f+76>>2]=C[f+76>>2]+1;C[f+84>>2]=C[f+84>>2]+1;g=C[b+24>>2]-1|0;k=C[(b+((g&63)<<2)|0)+28>>2];if(g>>>0>j>>>0){while(1){C[b+24>>2]=g;if(!kh(f,C[(b+((g&63)<<2)|0)+28>>2])){break x}if(!$e(f,1,1)){break x}a=C[f+76>>2];A:{if(a>>>0>2]){g=C[f+84>>2];d=C[f+96>>2];a=C[f+92>>2]+I(a,20)|0;break A}d=C[f+96>>2];g=C[f+84>>2];a=g-1|0;a=d+I(a>>>0<=g>>>0?a:0,20)|0}d=I(g,20)+d|0;g=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=g;C[d+16>>2]=C[a+16>>2];g=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=g;C[d>>2]=65535;C[f+76>>2]=C[f+76>>2]+1;C[f+84>>2]=C[f+84>>2]+1;g=C[b+24>>2]-1|0;if(j>>>0>>0){continue}break}}if(!kh(f,k+1|0)){break x}zi(f,C[p+28>>2],C[f+84>>2])}c=c+4|0;if((n|0)>=0){continue}}break}kh(f,q)}a=C[e+12>>2];c=C[a+76>>2];if((c|0)==C[a+80>>2]|!D[a+72|0]){break s}f=o<<8|o>>>8;B:{if(D[h+2|0]&64){d=C[a+44>>2];C[a+44>>2]=d-1;if((d|0)>0){break B}}if(D[a+73|0]){C:{if(C[a+96>>2]==C[a+92>>2]){d=c;if(C[a+84>>2]==(c|0)){break C}}if(!$e(a,1,1)){break B}c=C[a+92>>2]+I(C[a+76>>2],20)|0;g=C[c+4>>2];d=C[a+96>>2]+I(C[a+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=g;C[d+16>>2]=C[c+16>>2];g=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=g;c=C[a+76>>2];d=C[a+84>>2]}C[a+84>>2]=d+1}C[a+76>>2]=c+1}d=f&65535;a=C[e+12>>2];if(D[a+72|0]){continue}break}}gh(a);Ce=e+304|0;break a;case 4:Qy(a+12|0,b);break a;case 5:break b;default:break a}}C[i+16>>2]=0;A[i+8|0]=0;C[i+12>>2]=b;e=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);a=a+12|0;C[i+20>>2]=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a;e=C[b+12>>2];C[i+40>>2]=C[b+16>>2];C[i+36>>2]=a;a=C[e+32>>2];if((a|0)==-1){a=Rg(e)}C[i+44>>2]=a;m=i+8|0;c=i+36|0;a=C[c+4>>2];C[a+84>>2]=0;C[a+76>>2]=0;A[a+73|0]=1;A[a+74|0]=0;C[a+96>>2]=C[a+92>>2];a=C[c+4>>2];C[a+76>>2]=0;D:{if(!D[a+72|0]){break D}while(1){e=C[a+76>>2];b=0;E:{if(e>>>0>=F[a+80>>2]){break E}f=C[C[a+92>>2]+I(e,20)>>2];b=2;if((f|0)==65535){break E}a=C[c>>2];e=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Wg((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0,f,C[c+8>>2]);b=1;if(!a){break E}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}f=C[c+4>>2];a=C[c>>2];e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=h>>>0>b>>>0;n=I(d,h);e=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);o=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;e=((j?b:1)+n<<1)+o|0;e=D[e|0]|D[e+1|0]<<8;g=((e<<8|e>>>8)&65535)<<3;e=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);l=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;e=g+l|0;g=D[e|0]|D[e+1|0]<<8;k=D[e+2|0]|D[e+3|0]<<8;F:{G:{if((D[e+4|0]|D[e+5|0]<<8)!=65535|(D[e+6|0]|D[e+7|0]<<8)!=65535?k&65283:0){break G}if(!(!d|!(k&64?g:1))){a=o+((j?b:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=l+(((a<<8|a>>>8)&65535)<<3)|0;b=D[a+2|0]|D[a+3|0]<<8;if(((D[a+4|0]|D[a+5|0]<<8)!=65535|(D[a+6|0]|D[a+7|0]<<8)!=65535?b&65283:0)|((b^k)&64|(g|0)!=(D[a|0]|D[a+1|0]<<8))){break G}}a=o+(n+!h<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=l+(((a<<8|a>>>8)&65535)<<3)|0;if(!((D[a+2|0]|D[a+3|0]<<8)&65283)){break F}if((D[a+4|0]|D[a+5|0]<<8)!=65535){break G}if((D[a+6|0]|D[a+7|0]<<8)==65535){break F}}a=C[f+76>>2];b=D[f+73|0]?C[f+84>>2]:a;if(!b|a>>>0>=F[f+80>>2]){break F}Xg(f,b-1|0,a+1|0)}Oy(m,c,e);a=C[c+4>>2];d=C[a+76>>2];if((d|0)==C[a+80>>2]|!D[a+72|0]){break D}f=g<<8|g>>>8;H:{if(D[e+2|0]&64){b=C[a+44>>2];C[a+44>>2]=b-1;if((b|0)>0){break H}}if(D[a+73|0]){I:{if(C[a+96>>2]==C[a+92>>2]){b=d;if(C[a+84>>2]==(b|0)){break I}}if(!$e(a,1,1)){break H}d=C[a+92>>2]+I(C[a+76>>2],20)|0;e=C[d+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[d>>2];C[b+4>>2]=e;C[b+16>>2]=C[d+16>>2];e=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=e;d=C[a+76>>2];b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=d+1}d=f&65535;a=C[c+4>>2];if(D[a+72|0]){continue}break}}gh(a)}Ce=i+48|0}function iC(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;a:{b:{c:{d:{e:{h=C[a+4>>2];if(D[h+9|0]==4){A=g^255;f:{switch(c-1|0){case 1:break b;case 3:break c;case 7:break d;case 0:break f;default:break e}}c=0;u=C[b+12>>2];if(!u){break a}n=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(n,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];M=b&3;a=(b+3|0)/4|0;L=n-b<<2;g:while(1){u=u-1|0;h:{i:{j:{k:{l:{switch(M-1|0){case 0:l=D[h+31|0];t=C[(l<<2)+381104>>2];p=D[h+30|0];q=C[(p<<2)+381104>>2];z=D[h+29|0];r=C[(z<<2)+381104>>2];j=D[h+28|0];m=C[(j<<2)+381104>>2];F=D[h+35|0];o=F;x=l;B=D[h+34|0];J=B;H=p;G=D[h+33|0];v=G;w=z;y=D[h+32|0];E=y;n=j;s=a;break i;case 1:l=D[h+31|0];t=C[(l<<2)+381104>>2];p=D[h+30|0];q=C[(p<<2)+381104>>2];z=D[h+29|0];r=C[(z<<2)+381104>>2];j=D[h+28|0];m=C[(j<<2)+381104>>2];F=D[h+35|0];o=F;x=l;B=D[h+34|0];J=B;H=p;G=D[h+33|0];v=G;w=z;y=D[h+32|0];E=y;n=j;s=a;break j;case 2:l=D[h+31|0];t=C[(l<<2)+381104>>2];p=D[h+30|0];q=C[(p<<2)+381104>>2];z=D[h+29|0];r=C[(z<<2)+381104>>2];j=D[h+28|0];m=C[(j<<2)+381104>>2];F=D[h+35|0];o=F;x=l;B=D[h+34|0];J=B;H=p;G=D[h+33|0];v=G;w=z;y=D[h+32|0];E=y;n=j;s=a;break k;default:break l}}x=D[h+31|0];t=C[(x<<2)+381104>>2];H=D[h+30|0];q=C[(H<<2)+381104>>2];w=D[h+29|0];r=C[(w<<2)+381104>>2];n=D[h+28|0];m=C[(n<<2)+381104>>2];o=D[h+35|0];J=D[h+34|0];v=D[h+33|0];E=D[h+32|0];s=a;k=0;break h}k=1;break h}k=2;break h}k=3}while(1){m:{switch(k|0){case 0:b=C[i>>2];G=v&255;z=w&255;y=E&255;j=n&255;B=J&255;p=H&255;F=o&255;l=x&255;C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<>2];C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<>2];C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<>2];C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<1){s=b;break n}i=i+L|0;if(u){continue g}break a}k=0;continue}}}c=_e(4);break a}c=0;t=C[b+12>>2];if(!t){break a}l=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(l,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];n=b&3;a=(b+3|0)/4|0;l=l-b<<2;o:while(1){t=t-1|0;p:{q:{r:{s:{t:{switch(n-1|0){case 0:q=D[h+29|0];r=D[h+33|0];m=D[h+28|0];s=D[h+32|0];u=D[h+30|0];o=D[h+34|0];x=D[h+31|0];y=D[h+35|0];v=e>>>q<>>m<>>u<>>x<>>q<>>m<>>u<>>x<>>q<>>m<>>u<>>x<>>q<>>m<>>u<>>x<>2]=v;j=j+4|0;i=1;continue;case 1:C[j>>2]=v;j=j+4|0;i=2;continue;case 2:C[j>>2]=v;j=j+4|0;i=3;continue;default:break u}}C[j>>2]=v;b=k-1|0;j=j+4|0;v:{if((k|0)>1){k=b;break v}j=j+l|0;if(t){continue o}break a}i=0;continue}}}c=0;x=C[b+12>>2];if(!x){break a}v=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(v,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];M=b&3;a=(b+3|0)/4|0;L=v-b<<2;w:while(1){x=x-1|0;x:{y:{z:{A:{B:{switch(M-1|0){case 0:w=D[h+30|0];t=C[(w<<2)+381104>>2];l=D[h+29|0];q=C[(l<<2)+381104>>2];p=D[h+28|0];s=C[(p<<2)+381104>>2];y=w;m=D[h+33|0];G=m;B=l;r=D[h+32|0];F=r;v=p;u=a;break y;case 1:E=D[h+31|0];j=C[(E<<2)+381104>>2];w=D[h+30|0];t=C[(w<<2)+381104>>2];l=D[h+29|0];q=C[(l<<2)+381104>>2];p=D[h+28|0];s=C[(p<<2)+381104>>2];H=D[h+35|0];J=D[h+34|0];y=w;m=D[h+33|0];G=m;B=l;r=D[h+32|0];F=r;v=p;u=a;break z;case 2:E=D[h+31|0];j=C[(E<<2)+381104>>2];w=D[h+30|0];t=C[(w<<2)+381104>>2];l=D[h+29|0];q=C[(l<<2)+381104>>2];p=D[h+28|0];s=C[(p<<2)+381104>>2];H=D[h+35|0];J=D[h+34|0];y=w;m=D[h+33|0];G=m;B=l;r=D[h+32|0];F=r;v=p;u=a;break A;default:break B}}n=D[h+31|0];j=C[(n<<2)+381104>>2];y=D[h+30|0];t=C[(y<<2)+381104>>2];B=D[h+29|0];q=C[(B<<2)+381104>>2];v=D[h+28|0];s=C[(v<<2)+381104>>2];o=D[h+35|0];z=D[h+34|0];G=D[h+33|0];F=D[h+32|0];u=a;k=0;break x}k=1;break x}k=2;break x}k=3}while(1){C:{switch(k|0){case 0:J=z;E=n;H=C[i>>2];m=G&255;b=D[((H&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;l=B&255;w=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;p=v&255;k=w|(b>>>0>=255?255:b)>>>p<>2])>>>z|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;w=y&255;k=k|(b>>>0>=255?255:b)>>>w<>2];H=o;b=D[(b>>>o|0)+j|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=k|(b>>>0>=255?255:b)>>>n<>2];b=D[((k&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;K=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>p<>2])>>>J|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>w<>2])>>>H|0)+j|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=K|(b>>>0>=255?255:b)>>>E<>2];b=D[((k&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;K=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>p<>2])>>>J|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>w<>2])>>>H|0)+j|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=K|(b>>>0>=255?255:b)>>>E<>2];b=D[((k&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;o=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;o=o|(b>>>0>=255?255:b)>>>p<>2])>>>z|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;K=o|(b>>>0>=255?255:b)>>>w<>2];o=D[h+35|0];b=D[j+((k&C[h+24>>2])>>>o|0)|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=K|(b>>>0>=255?255:b)>>>n<1){u=b;break D}i=i+L|0;if(x){continue w}break a}k=0;continue}}}c=0;x=C[b+12>>2];if(!x){break a}g=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(g,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];L=b&3;a=(b+3|0)/4|0;z=g-b<<2;E:while(1){x=x-1|0;F:{G:{H:{I:{J:{switch(L-1|0){case 0:n=D[h+31|0];r=C[(n<<2)+381104>>2];E=D[h+30|0];m=C[(E<<2)+381104>>2];w=D[h+29|0];s=C[(w<<2)+381104>>2];v=D[h+28|0];u=C[(v<<2)+381104>>2];q=D[h+35|0];y=q;G=n;t=D[h+34|0];B=t;F=E;k=D[h+33|0];J=k;H=w;i=D[h+32|0];p=i;l=v;o=a;break G;case 1:n=D[h+31|0];r=C[(n<<2)+381104>>2];E=D[h+30|0];m=C[(E<<2)+381104>>2];w=D[h+29|0];s=C[(w<<2)+381104>>2];v=D[h+28|0];u=C[(v<<2)+381104>>2];q=D[h+35|0];y=q;G=n;t=D[h+34|0];B=t;F=E;k=D[h+33|0];J=k;H=w;i=D[h+32|0];p=i;l=v;o=a;break H;case 2:n=D[h+31|0];r=C[(n<<2)+381104>>2];E=D[h+30|0];m=C[(E<<2)+381104>>2];w=D[h+29|0];s=C[(w<<2)+381104>>2];v=D[h+28|0];u=C[(v<<2)+381104>>2];q=D[h+35|0];y=q;G=n;t=D[h+34|0];B=t;F=E;k=D[h+33|0];J=k;H=w;i=D[h+32|0];p=i;l=v;o=a;break I;default:break J}}G=D[h+31|0];r=C[(G<<2)+381104>>2];F=D[h+30|0];m=C[(F<<2)+381104>>2];H=D[h+29|0];s=C[(H<<2)+381104>>2];l=D[h+28|0];u=C[(l<<2)+381104>>2];y=D[h+35|0];B=D[h+34|0];J=D[h+33|0];p=D[h+32|0];o=a;g=0;break F}g=1;break F}g=2;break F}g=3}while(1){K:{switch(g|0){case 0:b=C[j>>2];k=J&255;w=H&255;i=p;v=l&255;t=B&255;E=F&255;q=y&255;n=G&255;C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<>2];C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<>2];C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<>2];C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<1){o=b;break L}j=j+z|0;if(x){continue E}break a}g=0;continue}}}c=0;y=C[b+12>>2];if(!y){break a}g=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(g,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];M=b&3;a=(b+3|0)/4|0;L=g-b<<2;M:while(1){y=y-1|0;N:{O:{P:{Q:{R:{switch(M-1|0){case 0:n=D[h+31|0];g=C[(n<<2)+381104>>2];l=D[h+30|0];k=C[(l<<2)+381104>>2];p=D[h+29|0];t=C[(p<<2)+381104>>2];z=D[h+28|0];q=C[(z<<2)+381104>>2];x=D[h+35|0];G=x;B=n;o=D[h+34|0];F=o;J=l;u=D[h+33|0];H=u;v=p;s=D[h+32|0];w=s;E=z;r=a;break O;case 1:n=D[h+31|0];g=C[(n<<2)+381104>>2];l=D[h+30|0];k=C[(l<<2)+381104>>2];p=D[h+29|0];t=C[(p<<2)+381104>>2];z=D[h+28|0];q=C[(z<<2)+381104>>2];x=D[h+35|0];G=x;B=n;o=D[h+34|0];F=o;J=l;u=D[h+33|0];H=u;v=p;s=D[h+32|0];w=s;E=z;r=a;break P;case 2:n=D[h+31|0];g=C[(n<<2)+381104>>2];l=D[h+30|0];k=C[(l<<2)+381104>>2];p=D[h+29|0];t=C[(p<<2)+381104>>2];z=D[h+28|0];q=C[(z<<2)+381104>>2];x=D[h+35|0];G=x;B=n;o=D[h+34|0];F=o;J=l;u=D[h+33|0];H=u;v=p;s=D[h+32|0];w=s;E=z;r=a;break Q;default:break R}}B=D[h+31|0];g=C[(B<<2)+381104>>2];J=D[h+30|0];k=C[(J<<2)+381104>>2];v=D[h+29|0];t=C[(v<<2)+381104>>2];E=D[h+28|0];q=C[(E<<2)+381104>>2];G=D[h+35|0];F=D[h+34|0];H=D[h+33|0];w=D[h+32|0];r=a;i=0;break N}i=1;break N}i=2;break N}i=3}while(1){S:{switch(i|0){case 0:n=C[j>>2];u=H&255;b=D[((n&C[h+16>>2])>>>u|0)+t|0]+e|0;p=v&255;o=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;z=E&255;m=o|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;l=J&255;x=G&255;i=D[((n&C[h+24>>2])>>>x|0)+g|0];n=B&255;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>>n<>2];b=D[((i&C[h+16>>2])>>>u|0)+t|0]+e|0;m=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;m=m|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>2])>>>x|0)+g|0]>>>n<>2];b=D[((i&C[h+16>>2])>>>u|0)+t|0]+e|0;m=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;m=m|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>2])>>>x|0)+g|0]>>>n<>2];b=D[((i&C[h+16>>2])>>>u|0)+t|0]+e|0;m=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;m=m|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>2])>>>x|0)+g|0]>>>n<1){r=b;break T}j=j+L|0;if(y){continue M}break a}i=0;continue}}}return c|0}function Ny(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=Ce-304|0;Ce=i;a:{b:{switch(D[a+3|0]){case 0:C[i+12>>2]=0;C[i+16>>2]=0;A[i+8|0]=0;c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=a+8;a=C[c+32>>2];if((a|0)==-1){a=Rg(c)}C[i+300>>2]=a;k=i+8|0;a=0;t=i+292|0;c=C[t+4>>2];C[c+76>>2]=0;c:{if(!D[c+72|0]){break c}while(1){d=a;q=C[c+76>>2];h=q>>>0>=F[c+80>>2];b=0;d:{if(h){break d}a=C[C[c+92>>2]+I(q,20)>>2];b=2;if((a|0)==65535){break d}e=C[t>>2];b=D[e+2|0]|D[e+3|0]<<8;f=a;o=((b<<8|b>>>8)&65535)+e|0;a=D[o|0]|D[o+1|0]<<8;e=f-((a<<8|a>>>8)&65535)|0;a=D[o+2|0]|D[o+3|0]<<8;b=1;if(e>>>0>=((a<<8|a>>>8)&65535)>>>0){break d}b=D[(e+o|0)+4|0]}o=C[t>>2];n=D[o|0]|D[o+1|0]<<8;m=(n<<8|n>>>8)&65535;s=m>>>0>b>>>0;e=I(d,m);a=D[o+4|0]|D[o+5|0]<<8;l=(a<<8|a>>>8)&65535;p=l+o|0;a=D[o+6|0]|D[o+7|0]<<8;f=o+((a<<8|a>>>8)&65535)|0;j=(D[((s?b:1)+e|0)+p|0]<<2)+f|0;a=D[j|0]|D[j+1|0]<<8;a=(((a<<8|a>>>8)&65535)-l|0)/(m|0)|0;r=D[j+2|0]|D[j+3|0]<<8;g=C[k+4>>2];o=C[k+8>>2];e:{f:{if(g>>>0>>0?r&3840:0){break f}if(!(!d|!(r&64?a:1))){b=f+(D[p+(s?b:1)|0]<<2)|0;d=D[b+2|0]|D[b+3|0]<<8;if(g>>>0>>0?d&3840:0){break f}b=D[b|0]|D[b+1|0]<<8;if((d^r)&64|((((b<<8|b>>>8)&65535)-l|0)/(m|0)|0)!=(a|0)){break f}}if(!(D[(f+(D[p+(e+!n|0)|0]<<2)|0)+3|0]&15)|g>>>0>=o>>>0){break e}}if(h){break e}b=D[c+73|0]?C[c+84>>2]:q;if(!b){break e}Xg(c,b-1|0,q+1|0)}Py(k,t,j);b=C[t+4>>2];c=C[b+76>>2];if((c|0)==C[b+80>>2]|!D[b+72|0]){break c}g:{if(D[j+2|0]&64){d=C[b+44>>2];C[b+44>>2]=d-1;if((d|0)>0){break g}}if(D[b+73|0]){h:{if(C[b+96>>2]==C[b+92>>2]){d=c;if(C[b+84>>2]==(c|0)){break h}}if(!$e(b,1,1)){break g}d=C[b+92>>2]+I(C[b+76>>2],20)|0;c=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=c;C[e+16>>2]=C[d+16>>2];c=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=c;c=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=c+1}c=C[t+4>>2];if(D[c+72|0]){continue}break}}break a;case 1:A[i+8|0]=0;C[i+12>>2]=b;c=C[b+68>>2];A[i+20|0]=0;C[i+16>>2]=c;c=D[c+4|0]|D[c+5|0]<<8;d=a+8|0;C[i+28>>2]=d;C[i+24>>2]=0;A[i+21|0]=(c|0)!=0;a=D[a+16|0]|D[a+17|0]<<8;C[i+32>>2]=d+((a<<8|a>>>8)&65535);c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=d;a=C[c+32>>2];if((a|0)==-1){a=Rg(c)}C[i+300>>2]=a;k=i+8|0;a=0;q=i+292|0;c=C[q+4>>2];C[c+76>>2]=0;i:{if(!D[c+72|0]){break i}while(1){d=a;m=C[c+76>>2];g=C[c+80>>2];o=m>>>0>=g>>>0;b=0;j:{if(o){break j}a=C[C[c+92>>2]+I(m,20)>>2];b=2;if((a|0)==65535){break j}e=C[q>>2];b=D[e+2|0]|D[e+3|0]<<8;f=a;h=((b<<8|b>>>8)&65535)+e|0;a=D[h|0]|D[h+1|0]<<8;e=f-((a<<8|a>>>8)&65535)|0;a=D[h+2|0]|D[h+3|0]<<8;b=1;if(e>>>0>=((a<<8|a>>>8)&65535)>>>0){break j}b=D[(e+h|0)+4|0]}e=C[q>>2];s=D[e|0]|D[e+1|0]<<8;n=(s<<8|s>>>8)&65535;l=n>>>0>b>>>0;h=I(d,n);a=D[e+4|0]|D[e+5|0]<<8;p=(a<<8|a>>>8)&65535;f=p+e|0;a=D[e+6|0]|D[e+7|0]<<8;r=e+((a<<8|a>>>8)&65535)|0;e=(D[((l?b:1)+h|0)+f|0]<<3)+r|0;a=D[e|0]|D[e+1|0]<<8;a=(((a<<8|a>>>8)&65535)-p|0)/(n|0)|0;g=!D[k+12|0]&(g|0)==(m|0);k:{l:{if(!g&((D[e+4|0]|D[e+5|0]<<8)!=65535|(D[e+6|0]|D[e+7|0]<<8)!=65535)){break l}m:{if(!d){break m}d=D[e+2|0]|D[e+3|0]<<8;if(!(d&64?a:1)){break m}l=r+(D[f+(l?b:1)|0]<<3)|0;if(!g&((D[l+4|0]|D[l+5|0]<<8)!=65535|(D[l+6|0]|D[l+7|0]<<8)!=65535)){break l}b=D[l|0]|D[l+1|0]<<8;if((d^(D[l+2|0]|D[l+3|0]<<8))&64|((((b<<8|b>>>8)&65535)-p|0)/(n|0)|0)!=(a|0)){break l}}if(g){break k}b=r+(D[f+(h+!s|0)|0]<<3)|0;if((D[b+4|0]|D[b+5|0]<<8)!=65535){break l}if((D[b+6|0]|D[b+7|0]<<8)==65535){break k}}if(o){break k}b=D[c+73|0]?C[c+84>>2]:m;if(!b){break k}Xg(c,b-1|0,m+1|0)}b=e;l=C[q+4>>2];h=C[l+76>>2];n:{if(!D[k+12|0]&(h|0)==C[l+80>>2]){break n}m=C[k+4>>2];e=C[m+24>>2];g=C[k+24>>2];d=C[k+20>>2];r=C[l+92>>2];p=C[k+16>>2];c=D[b+4|0]|D[b+5|0]<<8;f=g+(d+((C[r+I(p,20)>>2]+((c<<8|c>>>8)&65535)<<1)-g|0)&-2)|0;o:{if(e>>>0>f>>>0){break o}c=C[m+28>>2];if(c>>>0>>0|c-f>>>0<2){break o}c=C[m+32>>2]-2|0;C[m+32>>2]=c;if((c|0)<=0){break o}o=D[f|0]|D[f+1|0]<<8;if(!o){break o}d=h+1|0;c=C[l+80>>2];c=c>>>0>d>>>0?d:c;if(c-p>>>0>=2){Rf(l,p,c);p=C[k+16>>2];r=C[l+92>>2];o=D[f|0]|D[f+1|0]<<8}d=I(p,20)+r|0;c=(o<<8|(o&65280)>>>8)&65535;C[d>>2]=c;if(D[k+13|0]){u=d,v=eh(C[k+8>>2],c),B[u+12>>1]=v;r=C[l+92>>2]}A[k|0]=1;m=C[k+4>>2];e=C[m+24>>2];d=C[k+20>>2];g=C[k+24>>2]}t=e;f=d;d=C[l+76>>2];c=C[l+80>>2]-1|0;e=c>>>0>d>>>0?d:c;d=I(e,20)+r|0;c=D[b+6|0]|D[b+7|0]<<8;h=(f+((C[d>>2]+((c<<8|c>>>8)&65535)<<1)-g|0)&-2)+g|0;p:{if(t>>>0>h>>>0){break p}c=C[m+28>>2];if(c>>>0>>0|c-h>>>0<2){break p}c=C[m+32>>2]-2|0;C[m+32>>2]=c;if((c|0)<=0){break p}c=D[h|0]|D[h+1|0]<<8;if(!c){break p}c=(c<<8|c>>>8)&65535;C[d>>2]=c;if(D[k+13|0]){u=I(e,20)+r|0,v=eh(C[k+8>>2],c),B[u+12>>1]=v}A[k|0]=1}if(!(D[b+2|0]&128)){break n}A[k+12|0]=1;C[k+16>>2]=C[l+76>>2]}e=C[q+4>>2];c=C[e+76>>2];if((c|0)==C[e+80>>2]|!D[e+72|0]){break i}q:{if(D[b+2|0]&64){b=C[e+44>>2];C[e+44>>2]=b-1;if((b|0)>0){break q}}if(D[e+73|0]){b=e;r:{if(C[b+96>>2]==C[b+92>>2]){d=c;if(C[e+84>>2]==(c|0)){break r}}if(!$e(e,1,1)){break q}d=C[e+92>>2]+I(C[e+76>>2],20)|0;c=C[d+4>>2];h=C[e+96>>2]+I(C[e+84>>2],20)|0;C[h>>2]=C[d>>2];C[h+4>>2]=c;C[h+16>>2]=C[d+16>>2];c=C[d+12>>2];C[h+8>>2]=C[d+8>>2];C[h+12>>2]=c;c=C[e+76>>2];d=C[e+84>>2]}C[b+84>>2]=d+1}C[e+76>>2]=c+1}c=C[q+4>>2];if(D[c+72|0]){continue}break}}break a;case 2:A[i+8|0]=0;d=a+8|0;C[i+16>>2]=d;C[i+12>>2]=b;c=D[a+16|0]|D[a+17|0]<<8;C[i+20>>2]=d+((c<<8|c>>>8)&65535);c=D[a+18|0]|D[a+19|0]<<8;C[i+24>>2]=d+((c<<8|c>>>8)&65535);a=D[a+20|0]|D[a+21|0]<<8;C[i+32>>2]=0;C[i+28>>2]=d+((a<<8|a>>>8)&65535);c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=d;a=C[c+32>>2];if((a|0)==-1){a=Rg(c)}C[i+300>>2]=a;e=i+8|0;a=0;k=i+292|0;b=C[k+4>>2];C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];c=C[k+4>>2];C[c+76>>2]=0;s:{if(!D[c+72|0]){break s}while(1){d=a;m=C[c+76>>2];o=m>>>0>=F[c+80>>2];b=0;t:{if(o){break t}a=C[C[c+92>>2]+I(m,20)>>2];b=2;if((a|0)==65535){break t}h=C[k>>2];b=D[h+2|0]|D[h+3|0]<<8;f=a;g=((b<<8|b>>>8)&65535)+h|0;a=D[g|0]|D[g+1|0]<<8;h=f-((a<<8|a>>>8)&65535)|0;a=D[g+2|0]|D[g+3|0]<<8;b=1;if(h>>>0>=((a<<8|a>>>8)&65535)>>>0){break t}b=D[(g+h|0)+4|0]}g=C[k>>2];s=D[g|0]|D[g+1|0]<<8;n=(s<<8|s>>>8)&65535;l=n>>>0>b>>>0;h=I(d,n);a=D[g+4|0]|D[g+5|0]<<8;p=(a<<8|a>>>8)&65535;f=p+g|0;a=D[g+6|0]|D[g+7|0]<<8;r=g+((a<<8|a>>>8)&65535)|0;q=(D[((l?b:1)+h|0)+f|0]<<2)+r|0;a=D[q|0]|D[q+1|0]<<8;a=(((a<<8|a>>>8)&65535)-p|0)/(n|0)|0;g=D[q+2|0]|D[q+3|0]<<8;u:{v:{if(g&65343){break v}if(!(!d|!(g&64?a:1))){b=r+(D[f+(l?b:1)|0]<<2)|0;d=D[b+2|0]|D[b+3|0]<<8;if(d&65343){break v}b=D[b|0]|D[b+1|0]<<8;if((d^g)&64|((((b<<8|b>>>8)&65535)-p|0)/(n|0)|0)!=(a|0)){break v}}b=r+(D[f+(h+!s|0)|0]<<2)|0;if(!((D[b+2|0]|D[b+3|0]<<8)&65343)){break u}}if(o){break u}b=D[c+73|0]?C[c+84>>2]:m;if(!b){break u}Xg(c,b-1|0,m+1|0)}j=C[k+4>>2];c=D[q+2|0]|D[q+3|0]<<8;if(c&128){b=e;d=C[b+24>>2];w:{if(!d){n=C[j+84>>2];d=0;break w}n=C[j+84>>2];d=d-((n|0)==C[(e+((d-1&63)<<2)|0)+28>>2])|0}C[b+24>>2]=d+1;C[(e+((d&63)<<2)|0)+28>>2]=n}b=c&65343;x:{if(!b){break x}m=C[e+24>>2];if(!m|F[j+76>>2]>=F[j+80>>2]){break x}g=C[j+84>>2];d=C[e+8>>2]+((b<<8|b>>>8)&65535)|0;b=C[e+12>>2];s=(d-b&-4)+b|0;n=0;while(1){y:{if(!m){C[e+24>>2]=0;break y}m=m-1|0;o=e+((m&63)<<2)|0;if(!kh(j,C[o+28>>2])){break x}l=C[e+4>>2];h=C[l+24>>2];if(h>>>0>s>>>0){break y}p=C[l+28>>2];if(p>>>0>>0|p-s>>>0<4){break y}d=C[l+32>>2];b=d-4|0;C[l+32>>2]=b;if((b|0)<=0){break y}b=D[s|0];r=D[s+3|0]|(D[s+1|0]<<16|b<<24|D[s+2|0]<<8);f=(C[C[j+92>>2]+I(C[j+76>>2],20)>>2]+(b<<25&1073741824)|0)+(r&1073741823)|0;c=C[e+8>>2];b=C[e+16>>2];f=(f+(c-b>>>1|0)<<1)+b|0;if(f>>>0>>0|f>>>0>p>>>0|p-f>>>0<2){break y}b=d-6|0;C[l+32>>2]=b;if((b|0)<=0){break y}b=D[f|0]|D[f+1|0]<<8;n=((b<<8|b>>>8)&65535)+n|0;if(r>>>0>=1073741824){f=h;b=C[e+20>>2];h=(c+n|0)-b|0;c=(h&-2)+b|0;if(f>>>0>c>>>0|c>>>0>p>>>0|p-c>>>0<2){break y}b=d-8|0;C[l+32>>2]=b;if((b|0)<=0){break y}b=D[c|0]|D[c+1|0]<<8;if(!$e(j,1,1)){break x}d=(b<<8|b>>>8)&65535;b=C[j+76>>2];z:{if(b>>>0>2]){p=C[j+84>>2];n=C[j+96>>2];b=C[j+92>>2]+I(b,20)|0;break z}n=C[j+96>>2];p=C[j+84>>2];b=p-1|0;b=n+I(b>>>0<=p>>>0?b:0,20)|0}c=C[b+4>>2];f=I(p,20)+n|0;C[f>>2]=C[b>>2];C[f+4>>2]=c;C[f+16>>2]=C[b+16>>2];c=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=c;C[f>>2]=d;C[j+76>>2]=C[j+76>>2]+1;C[j+84>>2]=C[j+84>>2]+1;c=C[e+24>>2]-1|0;d=C[(e+((c&63)<<2)|0)+28>>2];if(c>>>0>m>>>0){while(1){C[e+24>>2]=c;if(!kh(j,C[(e+((c&63)<<2)|0)+28>>2])){break x}if(!$e(j,1,1)){break x}b=C[j+76>>2];A:{if(b>>>0>2]){c=C[j+84>>2];n=C[j+96>>2];b=C[j+92>>2]+I(b,20)|0;break A}n=C[j+96>>2];c=C[j+84>>2];b=c-1|0;b=n+I(b>>>0<=c>>>0?b:0,20)|0}f=I(c,20)+n|0;c=C[b+4>>2];C[f>>2]=C[b>>2];C[f+4>>2]=c;C[f+16>>2]=C[b+16>>2];c=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=c;C[f>>2]=65535;C[j+76>>2]=C[j+76>>2]+1;C[j+84>>2]=C[j+84>>2]+1;c=C[e+24>>2]-1|0;if(m>>>0>>0){continue}break}}if(!kh(j,d+1|0)){break x}zi(j,C[o+28>>2],C[j+84>>2]);n=h>>>1|0}s=s+4|0;if((r|0)>=0){continue}}break}kh(j,g)}c=C[k+4>>2];b=C[c+76>>2];if((b|0)==C[c+80>>2]|!D[c+72|0]){break s}B:{if(D[q+2|0]&64){d=C[c+44>>2];C[c+44>>2]=d-1;if((d|0)>0){break B}}if(D[c+73|0]){C:{if(C[c+96>>2]==C[c+92>>2]){d=b;if(C[c+84>>2]==(b|0)){break C}}if(!$e(c,1,1)){break B}d=C[c+92>>2]+I(C[c+76>>2],20)|0;b=C[d+4>>2];h=C[c+96>>2]+I(C[c+84>>2],20)|0;C[h>>2]=C[d>>2];C[h+4>>2]=b;C[h+16>>2]=C[d+16>>2];b=C[d+12>>2];C[h+8>>2]=C[d+8>>2];C[h+12>>2]=b;b=C[c+76>>2];d=C[c+84>>2]}C[c+84>>2]=d+1}C[c+76>>2]=b+1}c=C[k+4>>2];if(D[c+72|0]){continue}break}}gh(c);break a;case 4:Qy(a+8|0,b);break a;case 5:break b;default:break a}}C[i+16>>2]=0;A[i+8|0]=0;C[i+12>>2]=b;c=D[a+16|0]|D[a+17|0]<<8;a=a+8|0;C[i+20>>2]=((c<<8|c>>>8)&65535)+a;c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=a;a=C[c+32>>2];if((a|0)==-1){a=Rg(c)}C[i+300>>2]=a;o=i+8|0;a=0;q=i+292|0;b=C[q+4>>2];C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];c=C[q+4>>2];C[c+76>>2]=0;D:{if(!D[c+72|0]){break D}while(1){d=a;m=C[c+76>>2];h=m>>>0>=F[c+80>>2];b=0;E:{if(h){break E}a=C[C[c+92>>2]+I(m,20)>>2];b=2;if((a|0)==65535){break E}e=C[q>>2];b=D[e+2|0]|D[e+3|0]<<8;f=a;g=((b<<8|b>>>8)&65535)+e|0;a=D[g|0]|D[g+1|0]<<8;e=f-((a<<8|a>>>8)&65535)|0;a=D[g+2|0]|D[g+3|0]<<8;b=1;if(e>>>0>=((a<<8|a>>>8)&65535)>>>0){break E}b=D[(e+g|0)+4|0]}g=C[q>>2];s=D[g|0]|D[g+1|0]<<8;n=(s<<8|s>>>8)&65535;l=n>>>0>b>>>0;e=I(d,n);a=D[g+4|0]|D[g+5|0]<<8;p=(a<<8|a>>>8)&65535;f=p+g|0;a=D[g+6|0]|D[g+7|0]<<8;r=g+((a<<8|a>>>8)&65535)|0;k=(D[((l?b:1)+e|0)+f|0]<<3)+r|0;a=D[k|0]|D[k+1|0]<<8;a=(((a<<8|a>>>8)&65535)-p|0)/(n|0)|0;g=D[k+2|0]|D[k+3|0]<<8;F:{G:{if((D[k+4|0]|D[k+5|0]<<8)!=65535|(D[k+6|0]|D[k+7|0]<<8)!=65535?g&65283:0){break G}if(!(!d|!(g&64?a:1))){b=r+(D[f+(l?b:1)|0]<<3)|0;d=D[b+2|0]|D[b+3|0]<<8;if((D[b+4|0]|D[b+5|0]<<8)!=65535|(D[b+6|0]|D[b+7|0]<<8)!=65535?d&65283:0){break G}b=D[b|0]|D[b+1|0]<<8;if((d^g)&64|((((b<<8|b>>>8)&65535)-p|0)/(n|0)|0)!=(a|0)){break G}}b=r+(D[f+(e+!s|0)|0]<<3)|0;if(!((D[b+2|0]|D[b+3|0]<<8)&65283)){break F}if((D[b+4|0]|D[b+5|0]<<8)!=65535){break G}if((D[b+6|0]|D[b+7|0]<<8)==65535){break F}}if(h){break F}b=D[c+73|0]?C[c+84>>2]:m;if(!b){break F}Xg(c,b-1|0,m+1|0)}Oy(o,q,k);c=C[q+4>>2];b=C[c+76>>2];if((b|0)==C[c+80>>2]|!D[c+72|0]){break D}H:{if(D[k+2|0]&64){d=C[c+44>>2];C[c+44>>2]=d-1;if((d|0)>0){break H}}if(D[c+73|0]){I:{if(C[c+96>>2]==C[c+92>>2]){d=b;if(C[c+84>>2]==(b|0)){break I}}if(!$e(c,1,1)){break H}d=C[c+92>>2]+I(C[c+76>>2],20)|0;b=C[d+4>>2];e=C[c+96>>2]+I(C[c+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=b;C[e+16>>2]=C[d+16>>2];b=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=b;b=C[c+76>>2];d=C[c+84>>2]}C[c+84>>2]=d+1}C[c+76>>2]=b+1}c=C[q+4>>2];if(D[c+72|0]){continue}break}}gh(c)}Ce=i+304|0}function uy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,G=0,H=0,I=0,J=0,L=0,N=0,Q=0,R=0;s=Ce-48|0;Ce=s;y=b;t=c;o=Ce+-64|0;Ce=o;d=a;p=nk(d,-1);w=Ee;a=-131;a:{if(C[d+88>>2]<2){break a}if(!C[d+4>>2]){a=-138;break a}if(p>>>0>>0&(t|0)>=(w|0)|(t|0)>(w|0)|(t|0)<0){break a}a=C[d+52>>2];g=a&a>>31;u=g-1|0;b:{while(1){f=a;if((a|0)<=0){r=C[d+68>>2];a=r+(u<<4)|0;b=C[a+8>>2];c=C[a+12>>2];a=u<<1;break b}i=p;r=C[d+68>>2];a=f-1|0;c=r+(a<<4)|0;b=C[c+8>>2];p=i-b|0;c=C[c+12>>2];w=w-(c+(b>>>0>i>>>0)|0)|0;i=w;if(y>>>0

>>0&(t|0)<=(i|0)|(i|0)>(t|0)){continue}break}g=f;u=a;a=a<<1}a=(a<<3)+r|0;B=C[a>>2];I=C[a+4>>2];i=C[d+60>>2]+(u<<3)|0;n=C[i>>2];f=C[d+56>>2]+(g<<3)|0;a=C[f>>2];j=C[i+4>>2];m=C[f+4>>2];c:{if((n|0)==(a|0)&(j|0)==(m|0)){g=C[d>>2];if(!g){e=-129;break c}if(C[d+8>>2]!=(a|0)|C[d+12>>2]!=(m|0)){e=-128;f=C[d+708>>2];if(!f){break c}if((Fe[f|0](g,a,m,0)|0)==-1){break c}C[d+8>>2]=a;C[d+12>>2]=m;if(C[d+28>>2]>=0){C[d+32>>2]=0;C[d+36>>2]=0;C[d+48>>2]=0;C[d+40>>2]=0;C[d+44>>2]=0}}v=1;e=Mg(d,o+48|0,1,0);f=Ee;if((f|0)<0){break c}}d:{e:{f:{g:{if((m|0)<=(j|0)&a>>>0<=n>>>0|(m|0)<(j|0)){b=e;break g}z=(t-((p>>>0>y>>>0)+w|0)|0)+I|0;e=y-p|0;f=e;e=e+B|0;z=f>>>0>e>>>0?z+1|0:z;J=e;q=c+I|0;L=b+B|0;k=L>>>0>>0?q+1|0:q;x=d+24|0;N=u<<2;G=-1;H=-1;while(1){f=n;b=a-f|0;l=j;c=m-(j+(a>>>0>>0)|0)|0;g=c;if((c|0)>=0&b>>>0>=65536|(c|0)>0){E=(+(b>>>0)+ +(g|0)*4294967296)*(+(J-B>>>0)+ +(z-((B>>>0>J>>>0)+I|0)|0)*4294967296)/(+(L-B>>>0)+ +(k-((B>>>0>L>>>0)+I|0)|0)*4294967296);h:{if(K(E)<0x8000000000000000){e=~~E>>>0;b=K(E)>=1?~~(E>0?M(O(E*2.3283064365386963e-10),4294967295):P((E-+(~~E>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break h}e=0;b=-2147483648}c=b+j|0;e=e+n|0;c=e>>>0>>0?c+1|0:c;b=e-65536|0;c=c-(e>>>0<65536)|0;e=n+65536|0;q=e>>>0<65536?j+1|0:j;f=b;b=b>>>0>>0&(c|0)<=(q|0)|(c|0)<(q|0);f=b?n:f;l=b?j:c}c=C[d>>2];if(!c){e=-129;break c}if(C[d+8>>2]!=(f|0)|C[d+12>>2]!=(l|0)){e=-128;b=C[d+708>>2];if(!b){break c}if((Fe[b|0](c,f,l,0)|0)==-1){break c}C[d+8>>2]=f;C[d+12>>2]=l;if(C[x+4>>2]>=0){C[x+8>>2]=0;C[x+12>>2]=0;C[x+24>>2]=0;C[x+16>>2]=0;C[x+20>>2]=0}}b=0;i:{j:{if((m|0)<=(j|0)&a>>>0<=n>>>0|(m|0)<(j|0)){break j}while(1){i=m;g=a;b=C[d+8>>2];b=Mg(d,o+48|0,a-b|0,i-(C[d+12>>2]+(b>>>0>a>>>0)|0)|0);a=Ee;c=a;if((b|0)==-128&(a|0)==-1){e=-128;break c}k:{l:{m:{n:{if((c|0)<0){break n}o:{a=C[o+48>>2];if(C[N+C[d+64>>2]>>2]==(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){a=C[o+48>>2];e=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);a=D[a+10|0]|D[a+11|0]<<8|(D[a+12|0]<<16|D[a+13|0]<<24);h=a;if((a&e)!=-1){break o}}e=-128;b=C[d+8>>2];b=Mg(d,o+48|0,g-b|0,i-(C[d+12>>2]+(b>>>0>g>>>0)|0)|0);a=Ee;c=a;if((b|0)==-128&(a|0)==-1){break c}while(1){if((c|0)<0){v=1;break n}a=C[o+48>>2];if(C[N+C[d+64>>2]>>2]==(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){a=C[o+48>>2];e=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);a=D[a+10|0]|D[a+11|0]<<8|(D[a+12|0]<<16|D[a+13|0]<<24);h=a;if((a&e)!=-1){break o}}e=-128;b=C[d+8>>2];b=Mg(d,o+48|0,g-b|0,i-(C[d+12>>2]+(b>>>0>g>>>0)|0)|0);a=Ee;c=a;if((b|0)!=-128|(a|0)!=-1){continue}break}break c}if(e>>>0>>0&(h|0)<=(z|0)|(h|0)<(z|0)){v=1;r=b;G=b;H=c;l=C[d+12>>2];j=l;n=C[d+8>>2];f=n;B=e;I=h;c=J-e|0;m=i;a=g;e=z-((e>>>0>J>>>0)+h|0)|0;if((e|0)<=0&c>>>0<=44100|(e|0)<0){break k}break j}m=n+1|0;q=m?j:j+1|0;if((l|0)<=(q|0)&f>>>0<=m>>>0|(l|0)<(q|0)){v=1;break i}if((g|0)!=C[d+8>>2]|(i|0)!=C[d+12>>2]){v=1;a=f;m=l;L=e;k=h;break j}a=C[d>>2];if(!a){e=-129;break c}e=f-65536|0;r=e;v=e>>>0>n>>>0;h=l-(f>>>0<65536)|0;e=h;e=v&(j|0)<=(e|0)|(e|0)>(j|0);f=e?r:m;l=e?h:q;if((g|0)==(f|0)&(i|0)==(l|0)){v=1;r=0;f=g;l=i;i=c;a=b;break k}r=C[d+708>>2];if(!r){e=-128;break c}v=1;g=b;i=c;break m}e=b;h=j;m=n+1|0;h=m?h:h+1|0;if((l|0)<=(h|0)&f>>>0<=m>>>0|(h|0)>(l|0)){break i}if(!(f|l)){break c}a=C[d>>2];if(!a){e=-129;break c}b=f-65536|0;e=b;q=b>>>0>n>>>0;c=l-(f>>>0<65536)|0;b=c;b=q&(j|0)<=(b|0)|(b|0)>(j|0);f=b?e:m;l=b?c:h;if((f|0)==C[d+8>>2]&(l|0)==C[d+12>>2]){break l}r=C[d+708>>2];if(!r){e=-128;break c}}e=-128;if((Fe[r|0](a,f,l,0)|0)==-1){break c}C[d+8>>2]=f;C[d+12>>2]=l;if(C[x+4>>2]>=0){C[x+8>>2]=0;C[x+12>>2]=0;C[x+24>>2]=0;C[x+16>>2]=0;C[x+20>>2]=0}}r=0;a=g}m=i;if(a>>>0>n>>>0&(j|0)<=(i|0)|(i|0)>(j|0)){continue}break}b=r}if(a>>>0>n>>>0&(m|0)>=(j|0)|(m|0)>(j|0)){continue}}break}if((G&H)!=-1){break f}}if(!v){e=b;break c}e=C[d+60>>2]+(u<<3)|0;if((n|0)!=C[e>>2]|(j|0)!=C[e+4>>2]){e=b;break c}e=b;a=C[o+48>>2];if(C[C[d+64>>2]+(u<<2)>>2]!=(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){break c}C[d+80>>2]=p;C[d+84>>2]=w;a=d+480|0;p:{if(C[d+96>>2]!=(u|0)){Qh(a);xi(d+592|0);C[d+96>>2]=u;v=C[C[d+64>>2]+(u<<2)>>2];C[d+92>>2]=v;C[d+88>>2]=3;break p}Bq(a);v=C[d+92>>2]}a=d+120|0;Xi(a,v);gi(a,o+48|0);p=C[d+80>>2];w=C[d+84>>2];break e}b=C[d>>2];if(!b){e=-129;break d}if(C[d+8>>2]!=(G|0)|C[d+12>>2]!=(H|0)){e=-128;a=C[d+708>>2];if(!a){break d}if((Fe[a|0](b,G,H,0)|0)==-1){break d}C[d+8>>2]=G;C[d+12>>2]=H;if(C[d+28>>2]>=0){C[d+32>>2]=0;C[d+36>>2]=0;C[d+48>>2]=0;C[d+40>>2]=0;C[d+44>>2]=0}}C[d+80>>2]=-1;C[d+84>>2]=-1;e=Mg(d,o+32|0,-1,-1);if((Ee|0)<0){break c}a=d+480|0;q:{if(C[d+96>>2]!=(u|0)){Qh(a);xi(d+592|0);C[d+96>>2]=u;a=C[C[d+64>>2]+(u<<2)>>2];C[d+92>>2]=a;C[d+88>>2]=3;break q}Bq(a);a=C[d+92>>2]}n=d+120|0;Xi(n,a);gi(n,o+32|0);k=d+24|0;q=u<<3;while(1){r:{s:{e=px(n,o);if(e){h=e>>31;break s}c=H;h=c;a=q+C[d+60>>2]|0;e=C[a>>2];a=C[a+4>>2];b=G;if((a|0)>=(c|0)&e>>>0>=b>>>0|(a|0)>(c|0)){break s}while(1){h=b;j=c;f=b;l=c;while(1){b=C[d>>2];if(!b){e=-129;break c}a=(l|0)<=0&f>>>0<=65536|(l|0)<0;c=a?65536:f;f=c-65536|0;g=f;i=(a?0:l)-(c>>>0<65536)|0;l=i;if(C[d+8>>2]!=(f|0)|(i|0)!=C[d+12>>2]){e=-128;a=C[d+708>>2];if(!a){break c}if((Fe[a|0](b,f,l,0)|0)==-1){break c}C[d+8>>2]=f;C[d+12>>2]=l;if(C[k+4>>2]>=0){C[k+8>>2]=0;C[k+12>>2]=0;C[k+24>>2]=0;C[k+16>>2]=0;C[k+20>>2]=0}i=C[d+12>>2];g=C[d+8>>2]}a=-1;m=-1;t:{u:{if((i|0)>=(j|0)&g>>>0>=h>>>0|(i|0)>(j|0)){break u}while(1){C[o+40>>2]=0;C[o+44>>2]=0;C[o+32>>2]=0;C[o+36>>2]=0;e=-128;b=Mg(d,o+32|0,h-g|0,j-((g>>>0>h>>>0)+i|0)|0);c=Ee;if((b|0)==-128&(c|0)==-1){break c}if((c|0)<0){break u}a=b;m=c;g=C[d+8>>2];i=C[d+12>>2];e=i;if(g>>>0>>0&(e|0)<=(j|0)|(e|0)<(j|0)){continue}break}break t}b=a;c=m;if((a&c)==-1){continue}}break}if(!C[o+36>>2]){f=C[d>>2];if(!f){e=-129;break c}if(C[d+8>>2]!=(b|0)|C[d+12>>2]!=(c|0)){e=-128;a=C[d+708>>2];if(!a){break c}if((Fe[a|0](f,b,c,0)|0)==-1){break c}C[d+8>>2]=b;C[d+12>>2]=c;if(C[k+4>>2]>=0){C[k+8>>2]=0;C[k+12>>2]=0;C[k+24>>2]=0;C[k+16>>2]=0;C[k+20>>2]=0}}e=-129;Mg(d,o+32|0,65536,0);if((Ee|0)<0){break c}}v:{a=C[o+32>>2];if(C[d+92>>2]==(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){a=C[o+32>>2];a=D[a+10|0]|D[a+11|0]<<8|(D[a+12|0]<<16|D[a+13|0]<<24);if(!(A[C[o+32>>2]+5|0]&1)|((a|0)>0|(a|0)>=0)){break v}}a=q+C[d+60>>2]|0;e=F[a>>2]>>0;a=C[a+4>>2];if(e&(a|0)<=(c|0)|(a|0)<(c|0)){continue}break r}break}a=Ay(d,b,c);break a}if((h|0)>0|(h|0)>=0){break r}e=-136;break c}b=C[o+20>>2];e=b;a=C[o+16>>2];if((b&a)==-1){zh(n,0);continue}break}c=C[d+68>>2]+(C[d+96>>2]<<4)|0;b=C[c>>2];f=a-b|0;c=e-(C[c+4>>2]+(a>>>0>>0)|0)|0;b=!!f&(c|0)>=0|(c|0)>0;a=b?f:0;c=w+(b?c:0)|0;b=p;p=a+p|0;c=b>>>0>p>>>0?c+1|0:c;C[d+80>>2]=p;w=c;C[d+84>>2]=c}e=-129;if((t|0)<=(w|0)&p>>>0>y>>>0|(t|0)<(w|0)){break c}b=nk(d,-1)>>>0>>0;a=Ee;if(b&(t|0)>=(a|0)|(a|0)<(t|0)){break c}C[d+104>>2]=0;C[d+108>>2]=0;C[d+112>>2]=0;C[d+116>>2]=0;a=0;break a}C[d+80>>2]=-1;C[d+84>>2]=-1}C[d+80>>2]=-1;C[d+84>>2]=-1;Qh(d+480|0);xi(d+592|0);C[d+88>>2]=2;a=e}Ce=o- -64|0;g=a;w:{if((a|0)<0){break w}a=C[d+88>>2];if((a|0)<=3){g=-129;if((a|0)!=3){break w}b=d+480|0;a=C[d+72>>2];x:{if(C[d+4>>2]){g=-137;if(!qk(b,a+(C[d+96>>2]<<5)|0)){break x}break w}g=-137;if(qk(b,a)){break w}}fn(b,d+592|0);C[d+104>>2]=0;C[d+108>>2]=0;C[d+88>>2]=4;C[d+112>>2]=0;C[d+116>>2]=0}k=d+592|0;n=d+480|0;q=d+120|0;a=0;while(1){y:{z:{A:{b=px(q,s+16|0);if((b|0)>0){e=lq(C[d+72>>2]+(C[d+96>>2]<<5)|0,s+16|0);if((e|0)<0){zh(q,0);continue}B:{if(!a){b=C[d+80>>2];c=C[d+84>>2];break B}a=a+e>>2;b=a+C[d+80>>2]|0;h=C[d+84>>2]+(a>>31)|0;C[d+80>>2]=b;c=a>>>0>b>>>0?h+1|0:h;C[d+84>>2]=c}a=C[C[d+72>>2]+28>>2];if(a){a=C[a+4>>2]}else{a=-1}a=a+e>>2;b=a+b|0;c=(a>>31)+c|0;c=a>>>0>b>>>0?c+1|0:c;if((t|0)<=(c|0)&b>>>0>=y>>>0|(c|0)>(t|0)){break A}zh(q,0);a=C[k+64>>2];f=C[a+104>>2];c=C[C[a+4>>2]+28>>2];Gq(k);b=C[s+20>>2];g=k+4|0;a=C[s+16>>2];C[g+12>>2]=a;C[g>>2]=0;C[g+4>>2]=0;C[g+16>>2]=b;C[g+8>>2]=a;C:{if(Ye(g,1)){break C}a=Ye(g,C[f+44>>2]);if((a|0)==-1){break C}C[k+40>>2]=a;a=C[(c+(a<<2)|0)+32>>2];if(!a){break C}a=C[a>>2];C[k+28>>2]=a;D:{if(a){Q=k,R=Ye(g,1),C[Q+24>>2]=R;a=Ye(g,1);C[k+32>>2]=a;if((a|0)!=-1){break D}break C}C[k+32>>2]=0;C[k+24>>2]=0}a=C[s+36>>2];C[k+48>>2]=C[s+32>>2];C[k+52>>2]=a;a=C[s+44>>2];C[k+56>>2]=C[s+40>>2];C[k+60>>2]=a;a=C[s+28>>2];C[k+36>>2]=0;C[k+44>>2]=a;C[k>>2]=0}xz(n,k);a=C[s+32>>2];b=C[s+36>>2];f=b;E:{if((b|0)<0){break E}l=C[d+68>>2];h=C[d+96>>2];c=l+(h<<4)|0;b=C[c>>2];g=a-b|0;c=f-(C[c+4>>2]+(a>>>0>>0)|0)|0;a=!!g&(c|0)>=0|(c|0)>0;b=a?g:0;a=a?c:0;c=a;C[d+80>>2]=b;C[d+84>>2]=a;if((h|0)<=0){break E}m=h&3;r=0;F:{if(h>>>0<4){g=0;break F}i=h&-4;g=0;a=0;while(1){h=b;j=g<<4;f=j+l|0;b=C[f+8>>2];h=h+b|0;c=C[f+12>>2]+c|0;C[d+80>>2]=h;c=b>>>0>h>>>0?c+1|0:c;C[d+84>>2]=c;f=(j|24)+l|0;b=C[f>>2];h=b+h|0;c=C[f+4>>2]+c|0;C[d+80>>2]=h;c=b>>>0>h>>>0?c+1|0:c;C[d+84>>2]=c;f=(j|40)+l|0;b=C[f>>2];p=b+h|0;h=C[f+4>>2]+c|0;C[d+80>>2]=p;h=b>>>0>p>>>0?h+1|0:h;C[d+84>>2]=h;c=(j|56)+l|0;f=C[c>>2];b=f+p|0;c=C[c+4>>2]+h|0;C[d+80>>2]=b;c=b>>>0>>0?c+1|0:c;C[d+84>>2]=c;g=g+4|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(!m){break E}while(1){f=(g<<4)+l|0;a=C[f+8>>2];b=a+b|0;c=C[f+12>>2]+c|0;C[d+80>>2]=b;c=a>>>0>b>>>0?c+1|0:c;C[d+84>>2]=c;g=g+1|0;r=r+1|0;if((m|0)!=(r|0)){continue}break}}a=e;continue}G:{switch(b+3|0){case 0:case 3:break G;default:break A}}Mg(d,s,-1,-1);if((Ee|0)<0){break A}H:{if(D[C[s>>2]+5|0]&2){Qh(n);xi(k);C[d+88>>2]=2;break H}if(C[d+88>>2]>2){break y}}b=C[s>>2];e=D[b+14|0]|D[b+15|0]<<8|(D[b+16|0]<<16|D[b+17|0]<<24);c=C[d+52>>2];if((c|0)<=0){g=0;break z}b=C[d+64>>2];g=0;while(1){if((e|0)==C[b+(g<<2)>>2]){break z}g=g+1|0;if((c|0)!=(g|0)){continue}break}continue}C[d+112>>2]=0;C[d+116>>2]=0;C[d+104>>2]=0;C[d+108>>2]=0;g=0;b=C[d+80>>2];a=C[d+84>>2];c=a;e=C[C[C[d+72>>2]+28>>2]+3656>>2];f=e&31;if((e&63)>>>0>=32){z=-1<>>32-f}h=h&y;m=t&z;f=m;if((f|0)<=(a|0)&b>>>0>=h>>>0|(a|0)>(f|0)){break w}while(1){a=y-b|0;f=ml(n,0);b=t-((b>>>0>y>>>0)+c|0)|0;i=e&31;if((e&63)>>>0>=32){c=b>>31;i=b>>i}else{c=b>>i;i=((1<>>i}a=c;b=f>>31;p=(a|0)<=(b|0)&f>>>0>i>>>0|(a|0)<(b|0)?i:f;b=p+C[n+24>>2]|0;if(!((b|0)>C[n+20>>2]?p:0)){C[n+24>>2]=b}c=p<>2]|0;c=C[d+84>>2]+(c>>31)|0;C[d+80>>2]=b;c=b>>>0>>0?c+1|0:c;C[d+84>>2]=c;f=p>>31;I:{if(i>>>0<=p>>>0&(f|0)>=(a|0)|(a|0)<(f|0)){break I}if((oy(d)|0)>0){b=C[d+80>>2];c=C[d+84>>2];break I}b=nk(d,-1);a=Ee;c=a;C[d+80>>2]=b;C[d+84>>2]=a}if(b>>>0>>0&(c|0)<=(m|0)|(c|0)<(m|0)){continue}break}break w}if((c|0)==(g|0)){continue}C[d+88>>2]=3;C[d+96>>2]=g;a=C[s>>2];C[d+92>>2]=D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24);Xi(q,e);a=0;b=C[d+88>>2];if((b|0)>3){break y}if((b|0)!=3){g=-129;break w}b=C[d+72>>2];J:{if(C[d+4>>2]){if(!qk(n,b+(C[d+96>>2]<<5)|0)){break J}g=-137;break w}if(!qk(n,b)){break J}g=-137;break w}fn(n,k);C[d+88>>2]=4;C[d+112>>2]=0;C[d+116>>2]=0;C[d+104>>2]=0;C[d+108>>2]=0}gi(q,s);continue}}Ce=s+48|0;return g}function pC(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[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=(k|0)!=0;break c}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}e=a+e|0;if(!e){break a}d=C[95278];a=C[95279];while(1){b=E[c>>1];B[c>>1]=((I(n,D[d+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[a+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[a+(b&31)|0])>>>0)/255|0)+i>>>3;c=c+2|0;e=e-1|0;if(e){continue}break};break a;case 1:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break d}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}d=C[95278];a=C[95279];while(1){b=E[j>>1];e=D[d+(b>>>5&63)|0]+h|0;f=(e>>>0>=255?255:e)<<3&2016;e=D[a+(b>>>11|0)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=f|(e>>>0>=255?255:e)<<8&63488|(b>>>0>=255?255:b)>>>3;j=j+2|0;c=c-1|0;if(c){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break e}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}d=C[95278];a=C[95279];while(1){b=E[j>>1];B[j>>1]=(I(D[d+(b>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[a+(b>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=j+2|0;c=c-1|0;if(c){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(k|0)!=0;break f}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}e=a+e|0;if(!e){break a}d=C[95278];a=C[95279];while(1){b=E[c>>1];f=D[d+(b>>>5&63)|0];f=((I(f,h)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;j=(f>>>0>=255?255:f)<<3&2016;f=D[a+(b>>>11|0)|0];f=((I(f,g)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;b=D[a+(b&31)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;B[c>>1]=j|(f>>>0>=255?255:f)<<8&63488|(b>>>0>=255?255:b)>>>3;c=c+2|0;e=e-1|0;if(e){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;g:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break g}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}a=g<<8&63488|(h<<3&4064|i>>>3);c=b-1|0;d=b&7;if(d){i=0;while(1){B[j>>1]=a;j=j+2|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){B[j+14>>1]=a;B[j+12>>1]=a;B[j+10>>1]=a;B[j+8>>1]=a;B[j+6>>1]=a;B[j+4>>1]=a;B[j+2>>1]=a;B[j>>1]=a;j=j+16|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break i}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}d=C[95278];a=C[95279];f=f<<1;while(1){c=E[b>>1];B[b>>1]=((I(n,D[d+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[a+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[a+(c&31)|0])>>>0)/255|0)+i>>>3;b=b+f|0;e=e-1|0;if(e){continue}break};break a;case 1:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break j}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}d=C[95278];a=C[95279];e=b<<1;while(1){b=E[j>>1];f=D[d+(b>>>5&63)|0]+h|0;k=(f>>>0>=255?255:f)<<3&2016;f=D[a+(b>>>11|0)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=k|(f>>>0>=255?255:f)<<8&63488|(b>>>0>=255?255:b)>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 3:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break k}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}d=C[95278];a=C[95279];e=b<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[d+(b>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[a+(b>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break l}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}d=C[95278];a=C[95279];f=f<<1;while(1){c=E[b>>1];j=D[d+(c>>>5&63)|0];j=((I(j,h)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;k=(j>>>0>=255?255:j)<<3&2016;j=D[a+(c>>>11|0)|0];j=((I(j,g)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;c=D[a+(c&31)|0];c=((I(c,i)>>>0)/255|0)+((I(c,n)>>>0)/255|0)|0;B[b>>1]=k|(j>>>0>=255?255:j)<<8&63488|(c>>>0>=255?255:c)>>>3;b=b+f|0;e=e-1|0;if(e){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<1)|0)+(d<<1)|0;break m}j=c-e|0;b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0}e=0;c=((k|0)!=0)+j|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|i>>>3);d=c-1|0;g=c&7;if(g){while(1){B[b>>1]=a;c=c-1|0;b=(f<<1)+b|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(d>>>0<7){break a}d=f<<1;while(1){B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;c=c-8|0;if(c){continue}break}break a}o=b-d|0;j=o>>31;m=c-e|0;l=m>>31;if(((j^o)-j|0)==((l^m)-l|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}e=C[95278];d=C[95279];f=b<<1;while(1){b=E[a>>1];B[a>>1]=((I(n,D[e+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[d+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[d+(b&31)|0])>>>0)/255|0)+i>>>3;a=a+f|0;c=c-1|0;if(c){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=C[95278];a=C[95279];e=b<<1;while(1){b=E[j>>1];f=D[d+(b>>>5&63)|0]+h|0;k=(f>>>0>=255?255:f)<<3&2016;f=D[a+(b>>>11|0)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=k|(f>>>0>=255?255:f)<<8&63488|(b>>>0>=255?255:b)>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=C[95278];a=C[95279];e=b<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[d+(b>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[a+(b>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}e=C[95278];d=C[95279];f=b<<1;while(1){b=E[a>>1];j=D[e+(b>>>5&63)|0];j=((I(j,h)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;k=(j>>>0>=255?255:j)<<3&2016;j=D[d+(b>>>11|0)|0];j=((I(j,g)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;b=D[d+(b&31)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;B[a>>1]=k|(j>>>0>=255?255:j)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+f|0;c=c-1|0;if(c){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<1)|0)+(b<<1)|0;break s}a=(a+(I(e,f)<<1)|0)+(d<<1)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<1)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=g<<8&63488|(h<<3&4064|i>>>3);f=b-1|0;g=b&7;if(g){while(1){B[a>>1]=d;b=b-1|0;a=(e<<1)+a|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<1;while(1){B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:j=d-b|0;f=j>>31;l=e-c|0;m=l>>31;j=(f^j)-f|0;l=(l^m)-m|0;u:{if(j>>>0>=l>>>0){o=l-j|0;m=l<<1;f=m-j|0;l=1;break u}o=j-l|0;p=1;m=j<<1;f=m-l|0;j=l;l=0}j=((k|0)!=0)+j|0;if(!j){break a}e=(c|0)>(e|0);k=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;s=C[95278];e=C[95279];t=C[a+16>>2];r=C[a+20>>2];a=0;while(1){u=(r+I(c,t)|0)+(b<<1)|0;d=E[u>>1];B[u>>1]=((I(n,D[s+(d>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[e+(d>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[e+(d&31)|0])>>>0)/255|0)+i>>>3;d=(f|0)<0;f=(d?m:o)+f|0;b=(d?l:q)+b|0;c=(d?k:p)+c|0;a=a+1|0;if((j|0)!=(a|0)){continue}break};break a;case 1:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;v:{if(f>>>0>=l>>>0){o=l-f|0;m=l<<1;j=m-f|0;l=1;break v}o=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}k=((k|0)!=0)+f|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;s=C[95278];d=C[95279];t=C[a+16>>2];r=C[a+20>>2];a=0;while(1){u=(r+I(c,t)|0)+(b<<1)|0;e=E[u>>1];f=D[s+(e>>>5&63)|0]+h|0;v=(f>>>0>=255?255:f)<<3&2016;f=D[d+(e>>>11|0)|0]+g|0;e=D[d+(e&31)|0]+i|0;B[u>>1]=v|(f>>>0>=255?255:f)<<8&63488|(e>>>0>=255?255:e)>>>3;e=(j|0)<0;j=(e?m:o)+j|0;b=(e?l:q)+b|0;c=(e?n:p)+c|0;a=a+1|0;if((k|0)!=(a|0)){continue}break};break a;case 3:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;w:{if(f>>>0>=l>>>0){p=l-f|0;m=l<<1;j=m-f|0;l=1;break w}p=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;n=e?-1:1;o=d?-1:1;p=p<<1;q=C[95278];e=C[95279];s=C[a+16>>2];t=C[a+20>>2];a=0;while(1){r=(t+I(c,s)|0)+(b<<1)|0;d=E[r>>1];B[r>>1]=(I(D[q+(d>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[e+(d>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[e+(d&31)|0],i)>>>0)/255>>>3;d=(j|0)<0;j=(d?m:p)+j|0;b=(d?l:o)+b|0;c=(d?k:n)+c|0;a=a+1|0;if((f|0)!=(a|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;x:{if(m>>>0>=l>>>0){o=l-m|0;j=l<<1;f=j-m|0;l=1;break x}o=m-l|0;p=1;j=m<<1;f=j-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;s=d?-1:1;o=o<<1;t=C[95278];d=C[95279];r=C[a+16>>2];u=C[a+20>>2];a=0;while(1){v=(u+I(c,r)|0)+(b<<1)|0;e=E[v>>1];k=D[t+(e>>>5&63)|0];k=((I(k,h)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;w=(k>>>0>=255?255:k)<<3&2016;k=D[d+(e>>>11|0)|0];k=((I(k,g)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;e=D[d+(e&31)|0];e=((I(e,i)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;B[v>>1]=w|(k>>>0>=255?255:k)<<8&63488|(e>>>0>=255?255:e)>>>3;e=(f|0)<0;f=(e?j:o)+f|0;b=(e?l:s)+b|0;c=(e?p:q)+c|0;a=a+1|0;if((m|0)!=(a|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;y:{if(m>>>0>=l>>>0){o=l-m|0;f=l<<1;j=f-m|0;l=1;break y}o=m-l|0;p=1;f=m<<1;j=f-l|0;m=l;l=0}k=((k|0)!=0)+m|0;if(!k){break a}g=g<<8&63488|(h<<3&4064|i>>>3);h=C[a+16>>2];a=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;m=(b|0)>(d|0);d=m?0-l|0:l;i=i?-1:1;m=m?-1:1;l=o<<1;o=k&-2;n=0;while(1){B[(a+I(c,h)|0)+(b<<1)>>1]=g;p=c;c=(j|0)<0;p=p+(c?e:i)|0;b=(c?d:m)+b|0;B[(a+I(p,h)|0)+(b<<1)>>1]=g;j=(c?f:l)+j|0;c=(j|0)<0;j=(c?f:l)+j|0;b=b+(c?d:m)|0;c=p+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}B[(a+I(c,h)|0)+(b<<1)>>1]=g}}function qC(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[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=(k|0)!=0;break c}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}a=a+e|0;if(!a){break a}b=C[95279];while(1){d=E[c>>1];B[c>>1]=((I(n,D[b+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[b+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[b+(d&31)|0])>>>0)/255|0)+i>>>3;c=c+2|0;a=a-1|0;if(a){continue}break};break a;case 1:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break d}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=C[95279];while(1){b=E[j>>1];c=D[a+(b>>>5&31)|0]+h|0;d=(c>>>0>=255?255:c)<<2&992;c=D[a+(b>>>10&31)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=d|(c>>>0>=255?255:c)<<7&31744|(b>>>0>=255?255:b)>>>3;j=j+2|0;e=e-1|0;if(e){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break e}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=C[95279];while(1){b=E[j>>1];B[j>>1]=(I(D[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=j+2|0;e=e-1|0;if(e){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(k|0)!=0;break f}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}a=a+e|0;if(!a){break a}b=C[95279];while(1){d=E[c>>1];e=D[b+(d>>>5&31)|0];e=((I(e,h)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<2&992;e=D[b+(d>>>10&31)|0];e=((I(e,g)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;d=D[b+(d&31)|0];d=((I(d,i)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;B[c>>1]=f|(e>>>0>=255?255:e)<<7&31744|(d>>>0>=255?255:d)>>>3;c=c+2|0;a=a-1|0;if(a){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;g:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break g}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}a=g<<7&64512|(h<<2&2016|i>>>3);c=b-1|0;d=b&7;if(d){i=0;while(1){B[j>>1]=a;j=j+2|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){B[j+14>>1]=a;B[j+12>>1]=a;B[j+10>>1]=a;B[j+8>>1]=a;B[j+6>>1]=a;B[j+4>>1]=a;B[j+2>>1]=a;B[j>>1]=a;j=j+16|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break i}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}c=C[95279];e=f<<1;while(1){d=E[b>>1];B[b>>1]=((I(n,D[c+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[c+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[c+(d&31)|0])>>>0)/255|0)+i>>>3;b=b+e|0;a=a-1|0;if(a){continue}break};break a;case 1:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break j}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}a=C[95279];c=b<<1;while(1){b=E[j>>1];d=D[a+(b>>>5&31)|0]+h|0;f=(d>>>0>=255?255:d)<<2&992;d=D[a+(b>>>10&31)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=f|(d>>>0>=255?255:d)<<7&31744|(b>>>0>=255?255:b)>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 3:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break k}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}a=C[95279];c=b<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break l}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}c=C[95279];e=f<<1;while(1){d=E[b>>1];f=D[c+(d>>>5&31)|0];f=((I(f,h)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;j=(f>>>0>=255?255:f)<<2&992;f=D[c+(d>>>10&31)|0];f=((I(f,g)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;d=D[c+(d&31)|0];d=((I(d,i)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;B[b>>1]=j|(f>>>0>=255?255:f)<<7&31744|(d>>>0>=255?255:d)>>>3;b=b+e|0;a=a-1|0;if(a){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<1)|0)+(d<<1)|0;break m}j=c-e|0;b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0}e=0;c=((k|0)!=0)+j|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|i>>>3);d=c-1|0;g=c&7;if(g){while(1){B[b>>1]=a;c=c-1|0;b=(f<<1)+b|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(d>>>0<7){break a}d=f<<1;while(1){B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;c=c-8|0;if(c){continue}break}break a}o=b-d|0;j=o>>31;m=c-e|0;l=m>>31;if(((j^o)-j|0)==((l^m)-l|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}c=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}b=C[95279];d=c<<1;while(1){c=E[a>>1];B[a>>1]=((I(n,D[b+(c>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[b+(c>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[b+(c&31)|0])>>>0)/255|0)+i>>>3;a=a+d|0;e=e-1|0;if(e){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break p}c=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}a=C[95279];c=c<<1;while(1){b=E[j>>1];d=D[a+(b>>>5&31)|0]+h|0;f=(d>>>0>=255?255:d)<<2&992;d=D[a+(b>>>10&31)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=f|(d>>>0>=255?255:d)<<7&31744|(b>>>0>=255?255:b)>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break q}c=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}a=C[95279];c=c<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break r}c=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}b=C[95279];d=c<<1;while(1){c=E[a>>1];f=D[b+(c>>>5&31)|0];f=((I(f,h)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;j=(f>>>0>=255?255:f)<<2&992;f=D[b+(c>>>10&31)|0];f=((I(f,g)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;c=D[b+(c&31)|0];c=((I(c,i)>>>0)/255|0)+((I(c,n)>>>0)/255|0)|0;B[a>>1]=j|(f>>>0>=255?255:f)<<7&31744|(c>>>0>=255?255:c)>>>3;a=a+d|0;e=e-1|0;if(e){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<1)|0)+(b<<1)|0;break s}a=(a+(I(e,f)<<1)|0)+(d<<1)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<1)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=g<<7&64512|(h<<2&2016|i>>>3);f=b-1|0;g=b&7;if(g){while(1){B[a>>1]=d;b=b-1|0;a=(e<<1)+a|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<1;while(1){B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:j=d-b|0;f=j>>31;l=e-c|0;m=l>>31;j=(f^j)-f|0;l=(l^m)-m|0;u:{if(j>>>0>=l>>>0){o=l-j|0;m=l<<1;f=m-j|0;l=1;break u}o=j-l|0;p=1;m=j<<1;f=m-l|0;j=l;l=0}j=((k|0)!=0)+j|0;if(!j){break a}e=(c|0)>(e|0);k=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;e=C[95279];s=C[a+16>>2];r=C[a+20>>2];d=0;while(1){t=(r+I(c,s)|0)+(b<<1)|0;a=E[t>>1];B[t>>1]=((I(n,D[e+(a>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[e+(a>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[e+(a&31)|0])>>>0)/255|0)+i>>>3;a=(f|0)<0;f=(a?m:o)+f|0;b=(a?l:q)+b|0;c=(a?k:p)+c|0;d=d+1|0;if((j|0)!=(d|0)){continue}break};break a;case 1:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;v:{if(f>>>0>=l>>>0){o=l-f|0;m=l<<1;j=m-f|0;l=1;break v}o=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}k=((k|0)!=0)+f|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;e=C[95279];s=C[a+16>>2];r=C[a+20>>2];d=0;while(1){t=(r+I(c,s)|0)+(b<<1)|0;a=E[t>>1];f=D[e+(a>>>5&31)|0]+h|0;u=(f>>>0>=255?255:f)<<2&992;f=D[e+(a>>>10&31)|0]+g|0;a=D[e+(a&31)|0]+i|0;B[t>>1]=u|(f>>>0>=255?255:f)<<7&31744|(a>>>0>=255?255:a)>>>3;a=(j|0)<0;j=(a?m:o)+j|0;b=(a?l:q)+b|0;c=(a?n:p)+c|0;d=d+1|0;if((k|0)!=(d|0)){continue}break};break a;case 3:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;w:{if(f>>>0>=l>>>0){p=l-f|0;m=l<<1;j=m-f|0;l=1;break w}p=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;n=e?-1:1;o=d?-1:1;p=p<<1;e=C[95279];q=C[a+16>>2];s=C[a+20>>2];d=0;while(1){r=(s+I(c,q)|0)+(b<<1)|0;a=E[r>>1];B[r>>1]=(I(D[e+(a>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[e+(a>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[e+(a&31)|0],i)>>>0)/255>>>3;a=(j|0)<0;j=(a?m:p)+j|0;b=(a?l:o)+b|0;c=(a?k:n)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;x:{if(m>>>0>=l>>>0){o=l-m|0;j=l<<1;f=j-m|0;l=1;break x}o=m-l|0;p=1;j=m<<1;f=j-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;s=d?-1:1;o=o<<1;e=C[95279];r=C[a+16>>2];t=C[a+20>>2];d=0;while(1){u=(t+I(c,r)|0)+(b<<1)|0;a=E[u>>1];k=D[e+(a>>>5&31)|0];k=((I(k,h)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;v=(k>>>0>=255?255:k)<<2&992;k=D[e+(a>>>10&31)|0];k=((I(k,g)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;a=D[e+(a&31)|0];a=((I(a,i)>>>0)/255|0)+((I(a,n)>>>0)/255|0)|0;B[u>>1]=v|(k>>>0>=255?255:k)<<7&31744|(a>>>0>=255?255:a)>>>3;a=(f|0)<0;f=(a?j:o)+f|0;b=(a?l:s)+b|0;c=(a?p:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;y:{if(m>>>0>=l>>>0){o=l-m|0;f=l<<1;j=f-m|0;l=1;break y}o=m-l|0;p=1;f=m<<1;j=f-l|0;m=l;l=0}k=((k|0)!=0)+m|0;if(!k){break a}g=g<<7&64512|(h<<2&2016|i>>>3);h=C[a+16>>2];a=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;m=(b|0)>(d|0);d=m?0-l|0:l;i=i?-1:1;m=m?-1:1;l=o<<1;o=k&-2;n=0;while(1){B[(a+I(c,h)|0)+(b<<1)>>1]=g;p=c;c=(j|0)<0;p=p+(c?e:i)|0;b=(c?d:m)+b|0;B[(a+I(p,h)|0)+(b<<1)>>1]=g;j=(c?f:l)+j|0;c=(j|0)<0;j=(c?f:l)+j|0;b=b+(c?d:m)|0;c=p+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}B[(a+I(c,h)|0)+(b<<1)>>1]=g}}function tF(a){a=a|0;var 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;a:{j=D[a+63|0];if(!j){break a}q=C[a+28>>2];if(!q){break a}s=C[a+36>>2];g=C[a+20>>2];t=C[a+16>>2];i=C[a>>2];c=C[a+24>>2];u=c&3;v=(c+3|0)/4|0;d=C[a+40>>2];o=D[d+9|0];r=o-1|0;b=C[a+44>>2];p=D[b+9|0];n=p-1|0;while(1){q=q-1|0;a=v;b:{c:{switch(u-1|0){default:h=3;break b;case 0:h=2;break b;case 1:h=1;break b;case 2:break c}}h=0}while(1){d:{e:{switch(h|0){case 0:h=0;e=0;f=0;c=0;f:{g:{h:{switch(r|0){case 0:c=D[i|0];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break g;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break g;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break g;case 3:break h;default:break f}}c=C[i>>2];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;i:{j:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break i;case 3:break j;default:break i}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;k:{l:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break k;case 3:break l;default:break k}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break n;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break n;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break n;case 3:break o;default:break m}}c=C[i>>2];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;p:{q:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break p;case 3:break q;default:break p}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;r:{s:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break r;case 3:break s;default:break r}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break u;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break u;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break u;case 3:break v;default:break t}}c=C[i>>2];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;w:{x:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break w;case 3:break x;default:break w}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;y:{z:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break y;case 3:break z;default:break y}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break B;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break B;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break B;case 3:break C;default:break A}}c=C[i>>2];e=C[(D[d+30|0]<<2)+381104>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+381104>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+381104>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;D:{E:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break D;case 3:break E;default:break D}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;F:{G:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break F;case 3:break G;default:break F}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}o=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];C[c>>2]=((I(o,b>>>24|0)>>>0)/255|0)+j<<24|((I(o,b&255)>>>0)/255|0)+i|((I(o,b>>>16&255)>>>0)/255|0)+g<<16|((I(o,b>>>8&255)>>>0)/255|0)+h<<8;c=c+4|0;a=a-1|0;if(a){continue}break};break a;case 1:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){j=d-b|0;l=a+(b<<2)|0;a=(k|0)!=0;break d}l=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}while(1){a=C[l>>2];c=(a>>>16&255)+g|0;d=(c>>>0>=255?255:c)<<16|a&-16777216;c=(a>>>8&255)+h|0;a=(a&255)+i|0;C[l>>2]=d|(c>>>0>=255?255:c)<<8|(a>>>0>=255?255:a);l=l+4|0;b=b-1|0;if(b){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){j=d-b|0;l=a+(b<<2)|0;a=(k|0)!=0;break e}l=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}while(1){a=C[l>>2];C[l>>2]=(I(a&255,i)>>>0)/255|a&-16777216|(I(a>>>16&255,g)>>>0)/255<<16|(I(a>>>8&255,h)>>>0)/255<<8;l=l+4|0;b=b-1|0;if(b){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];d=b>>>16&255;d=((I(d,g)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;e=(d>>>0>=255?255:d)<<16;d=b>>>24|0;d=((I(d,j)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;e=e|(d>>>0>=255?255:d)<<24;d=b>>>8&255;d=((I(d,h)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[c>>2]=e|(d>>>0>=255?255:d)<<8|(b>>>0>=255?255:b);c=c+4|0;a=a-1|0;if(a){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(k|0)!=0;break g}l=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=j<<24|h<<8|g<<16|i;c=b-1|0;d=b&7;if(d){i=0;while(1){C[l>>2]=a;l=l+4|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){C[l+28>>2]=a;C[l+24>>2]=a;C[l+20>>2]=a;C[l+16>>2]=a;C[l+12>>2]=a;C[l+8>>2]=a;C[l+4>>2]=a;C[l>>2]=a;l=l+32|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];C[b>>2]=((I(o,c>>>24|0)>>>0)/255|0)+j<<24|((I(o,c&255)>>>0)/255|0)+i|((I(o,c>>>16&255)>>>0)/255|0)+g<<16|((I(o,c>>>8&255)>>>0)/255|0)+h<<8;b=b+d|0;a=a-1|0;if(a){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break j}l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}c=f<<2;while(1){a=C[l>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16|a&-16777216;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[l>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break k}l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}c=f<<2;while(1){a=C[l>>2];C[l>>2]=(I(a&255,i)>>>0)/255|a&-16777216|(I(a>>>16&255,g)>>>0)/255<<16|(I(a>>>8&255,h)>>>0)/255<<8;l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];e=c>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=c>>>24|0;e=((I(e,j)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=f|(e>>>0>=255?255:e)<<24;e=c>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;c=c&255;c=((I(c,i)>>>0)/255|0)+((I(c,o)>>>0)/255|0)|0;C[b>>2]=f|(e>>>0>=255?255:e)<<8|(c>>>0>=255?255:c);b=b+d|0;a=a-1|0;if(a){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){l=e-c|0;b=(a+(I(c,f)<<2)|0)+(d<<2)|0;break m}l=c-e|0;b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0}a=0;c=((k|0)!=0)+l|0;if(!c){break a}d=j<<24|h<<8|g<<16|i;e=c-1|0;g=c&7;if(g){h=f<<2;while(1){C[b>>2]=d;c=c-1|0;b=b+h|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(e>>>0<7){break a}a=f<<2;while(1){C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;c=c-8|0;if(c){continue}break}break a}r=b-d|0;l=r>>31;m=c-e|0;n=m>>31;if(((l^r)-l|0)==((m^n)-n|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];C[a>>2]=((I(o,b>>>24|0)>>>0)/255|0)+j<<24|((I(o,b&255)>>>0)/255|0)+i|((I(o,b>>>16&255)>>>0)/255|0)+g<<16|((I(o,b>>>8&255)>>>0)/255|0)+h<<8;a=a+d|0;c=c-1|0;if(c){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){m=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;l=(a+(I(c,f)<<2)|0)+(b<<2)|0;break p}j=f+((b|0)<(d|0)?-1:1)|0;l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+m|0;if(!b){break a}c=j<<2;while(1){a=C[l>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16|a&-16777216;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[l>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){m=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;l=(a+(I(c,f)<<2)|0)+(b<<2)|0;break q}j=f+((b|0)<(d|0)?-1:1)|0;l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+m|0;if(!b){break a}c=j<<2;while(1){a=C[l>>2];C[l>>2]=(I(a&255,i)>>>0)/255|a&-16777216|(I(a>>>16&255,g)>>>0)/255<<16|(I(a>>>8&255,h)>>>0)/255<<8;l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];e=b>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=b>>>24|0;e=((I(e,j)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=f|(e>>>0>=255?255:e)<<24;e=b>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[a>>2]=f|(e>>>0>=255?255:e)<<8|(b>>>0>=255?255:b);a=a+d|0;c=c-1|0;if(c){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<2)|0)+(b<<2)|0;break s}a=(a+(I(e,f)<<2)|0)+(d<<2)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<2)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=j<<24|h<<8|g<<16|i;f=b-1|0;g=b&7;if(g){h=e<<2;while(1){C[a>>2]=d;b=b-1|0;a=a+h|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<2;while(1){C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:m=d-b|0;f=m>>31;p=e-c|0;l=p>>31;n=(f^m)-f|0;l=(l^p)-l|0;u:{if(n>>>0>=l>>>0){p=l-n|0;m=l<<1;f=m-n|0;l=1;break u}p=n-l|0;q=1;m=n<<1;f=m-l|0;n=l;l=0}k=((k|0)!=0)+n|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;r=d?-1:1;p=p<<1;s=C[a+20>>2];d=0;while(1){t=(s+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[t>>2];C[t>>2]=((I(o,e&255)>>>0)/255|0)+i|((I(o,e>>>24|0)>>>0)/255|0)+j<<24|((I(o,e>>>16&255)>>>0)/255|0)+g<<16|((I(o,e>>>8&255)>>>0)/255|0)+h<<8;e=(f|0)<0;f=(e?m:p)+f|0;b=(e?l:r)+b|0;c=(e?n:q)+c|0;d=d+1|0;if((k|0)!=(d|0)){continue}break};break a;case 1:l=d-b|0;f=l>>31;m=e-c|0;j=m>>31;l=(f^l)-f|0;f=(j^m)-j|0;v:{if(l>>>0>=f>>>0){q=f-l|0;m=f<<1;j=m-l|0;n=0;f=1;break v}q=l-f|0;n=1;m=l<<1;j=m-f|0;l=f;f=0}k=((k|0)!=0)+l|0;if(!k){break a}e=(c|0)>(e|0);l=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-f|0:f;o=e?-1:1;p=d?-1:1;q=q<<1;r=C[a+20>>2];e=0;while(1){s=(r+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[s>>2];f=(d>>>16&255)+g|0;t=d&-16777216|(f>>>0>=255?255:f)<<16;f=(d>>>8&255)+h|0;d=(d&255)+i|0;C[s>>2]=t|(f>>>0>=255?255:f)<<8|(d>>>0>=255?255:d);d=(j|0)<0;j=(d?m:q)+j|0;b=(d?n:p)+b|0;c=(d?l:o)+c|0;e=e+1|0;if((k|0)!=(e|0)){continue}break};break a;case 3:l=d-b|0;f=l>>31;m=e-c|0;j=m>>31;l=(f^l)-f|0;f=(j^m)-j|0;w:{if(l>>>0>=f>>>0){p=f-l|0;m=f<<1;j=m-l|0;n=0;f=1;break w}p=l-f|0;n=1;m=l<<1;j=m-f|0;l=f;f=0}k=((k|0)!=0)+l|0;if(!k){break a}e=(c|0)>(e|0);l=e?0-n|0:n;d=(b|0)>(d|0);f=d?0-f|0:f;n=e?-1:1;o=d?-1:1;q=p<<1;p=C[a+20>>2];e=0;while(1){r=(p+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[r>>2];C[r>>2]=(I(d&255,i)>>>0)/255|d&-16777216|(I(d>>>16&255,g)>>>0)/255<<16|(I(d>>>8&255,h)>>>0)/255<<8;d=(j|0)<0;j=(d?m:q)+j|0;b=(d?f:o)+b|0;c=(d?l:n)+c|0;e=e+1|0;if((k|0)!=(e|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;n=e-c|0;l=n>>31;m=(f^m)-f|0;l=(l^n)-l|0;x:{if(m>>>0>=l>>>0){p=l-m|0;n=l<<1;f=n-m|0;l=1;break x}p=m-l|0;q=1;n=m<<1;f=n-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;r=e?-1:1;s=d?-1:1;p=p<<1;t=C[a+20>>2];d=0;while(1){v=(t+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[v>>2];k=e>>>16&255;k=((I(k,g)>>>0)/255|0)+((I(k,o)>>>0)/255|0)|0;u=(k>>>0>=255?255:k)<<16;k=e>>>24|0;k=((I(k,j)>>>0)/255|0)+((I(k,o)>>>0)/255|0)|0;u=u|(k>>>0>=255?255:k)<<24;k=e>>>8&255;k=((I(k,h)>>>0)/255|0)+((I(k,o)>>>0)/255|0)|0;e=e&255;e=((I(e,i)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;C[v>>2]=u|(k>>>0>=255?255:k)<<8|(e>>>0>=255?255:e);e=(f|0)<0;f=(e?n:p)+f|0;b=(e?l:s)+b|0;c=(e?q:r)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;n=e-c|0;l=n>>31;m=(f^m)-f|0;n=(l^n)-l|0;y:{if(m>>>0>=n>>>0){q=n-m|0;f=n<<1;l=f-m|0;n=1;break y}q=m-n|0;p=1;f=m<<1;l=f-n|0;m=n;n=0}k=((k|0)!=0)+m|0;if(!k){break a}g=j<<24|h<<8|g<<16|i;h=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;j=(b|0)>(d|0);d=j?0-n|0:n;i=i?-1:1;j=j?-1:1;m=q<<1;o=k&-2;n=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g;p=c;c=(l|0)<0;q=p+(c?e:i)|0;b=(c?d:j)+b|0;C[(h+I(q,C[a+16>>2])|0)+(b<<2)>>2]=g;l=(c?f:m)+l|0;c=(l|0)<0;l=(c?f:m)+l|0;b=b+(c?d:j)|0;c=q+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g}}function dO(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,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Ce-208|0;Ce=h;e=B[b+2>>1];if(!(!e|!E[b>>1])){p(h+12|0,0,128);w=C[c>>2];C[h+28>>2]=w;y=h,z=Ve(w,40,0,e,0,h+144|0),C[y+20>>2]=z;s=C[h+144>>2];a:{if(s){break a}f=Ve(w,8,0,B[b>>1],0,h+144|0);C[h+24>>2]=f;s=C[h+144>>2];if(s){break a}r=B[b+2>>1];C[h+12>>2]=r;e=B[b>>1];C[h+16>>2]=e;u=C[h+20>>2];if(e){m=e>>>0<=1?1:e;v=C[b+12>>2];while(1){o=B[v+(l<<1)>>1];n=u+I(k,40)|0;C[f>>2]=n;t=o+1|0;j=t-k|0;C[f+4>>2]=j;if(j){C[n>>2]=u+I(o,40);C[n+8>>2]=f;g=n;b:{if((j|0)==1){break b}i=0;e=n;q=o-k&3;if(q){while(1){C[e+48>>2]=f;g=e+40|0;C[e+4>>2]=g;C[e+40>>2]=e;j=j-1|0;e=g;i=i+1|0;if((q|0)!=(i|0)){continue}break}}if(o+(k^-1)>>>0<3){break b}while(1){C[e+48>>2]=f;g=e+40|0;C[e+4>>2]=g;C[e+88>>2]=f;C[e+80>>2]=g;g=e+80|0;C[e+44>>2]=g;C[e+128>>2]=f;C[e+120>>2]=g;g=e+120|0;C[e+84>>2]=g;C[e+168>>2]=f;C[e+160>>2]=g;g=e+160|0;C[e+124>>2]=g;C[e+40>>2]=e;e=g;j=j-4|0;if(j>>>0>1){continue}break}}C[g+4>>2]=n}f=f+8|0;k=t;l=l+1|0;if((m|0)!=(l|0)){continue}break}}c:{if(!r){C[h+36>>2]=c;C[h+32>>2]=b;break c}v=C[b+4>>2];f=0;e=u;while(1){l=(C[e+4>>2]-u|0)/40|0;g=(C[e>>2]-u|0)/40|0;if(!(A[C[b+8>>2]+f|0]&1)){C[e+12>>2]=1}i=v+(f<<3)|0;n=C[i+4>>2];g=v+(g<<3)|0;q=n-C[g+4>>2]|0;k=q>>31;j=C[i>>2];t=j-C[g>>2]|0;g=t>>31;i=(g^t)-g|0;k=(k^q)-k|0;g=(t|0)>=0?2:-2;d:{if(i>>>0>I(k,12)>>>0){break d}g=4;if(k>>>0<=I(i,12)>>>0){break d}g=(q|0)>=0?-1:1}A[e+20|0]=g;i=v+(l<<3)|0;l=C[i+4>>2]-n|0;k=l>>31;n=C[i>>2]-j|0;i=n>>31;j=(k^l)-k|0;k=(i^n)-i|0;i=(n|0)>=0?2:-2;e:{if(I(j,12)>>>0>>0){break e}i=4;if(j>>>0<=I(k,12)>>>0){break e}i=(l|0)>=0?-1:1}A[e+21|0]=i;o=C[e+12>>2];f:{g:{if(o&1){break g}if((g|0)!=(i|0)){break f}if((i|0)!=4){break g}if(!cx(t,q,n,l)){break f}o=C[e+12>>2]}C[e+12>>2]=o|2}e=e+40|0;f=f+1|0;g=C[h+12>>2];if(f>>>0>>0){continue}break}C[h+36>>2]=c;C[h+32>>2]=b;if(!g){break c}f=C[b+4>>2];e=C[h+20>>2];k=g&3;h:{if(!k){j=g;break h}i=0;j=g;while(1){C[e+24>>2]=0;C[e+16>>2]=0;b=C[f+4>>2];C[e+28>>2]=C[f>>2];C[e+32>>2]=b;f=f+8|0;e=e+40|0;j=j-1|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}if(g>>>0<4){break c}while(1){C[e+24>>2]=0;C[e+16>>2]=0;g=C[f+4>>2];b=C[f>>2];C[e- -64>>2]=0;C[e+56>>2]=0;C[e+28>>2]=b;C[e+32>>2]=g;g=C[f+12>>2];b=C[f+8>>2];C[e+96>>2]=0;C[e+104>>2]=0;C[e+68>>2]=b;C[e+72>>2]=g;g=C[f+20>>2];b=C[f+16>>2];C[e+136>>2]=0;C[e+144>>2]=0;C[e+108>>2]=b;C[e+112>>2]=g;b=C[f+28>>2];C[e+148>>2]=C[f+24>>2];C[e+152>>2]=b;f=f+32|0;e=e+160|0;j=j-4|0;if(j){continue}break}}if(C[h+16>>2]){r=0;while(1){b=C[h+24>>2]+(r<<3)|0;i:{if(F[b+4>>2]<4){break i}b=C[b>>2];e=b;while(1){e=C[e+4>>2];if((b|0)==(e|0)){break i}k=C[e+28>>2];i=C[b+28>>2];g=C[b+32>>2];f=C[e+32>>2];if((k|0)==(i|0)&(g|0)==(f|0)){continue}break}l=f-g|0;i=k-i|0;k=b;while(1){n=k;k=C[k>>2];if((b|0)==(k|0)){break i}f=C[n+28>>2]-C[k+28>>2]|0;j=C[n+32>>2]-C[k+32>>2]|0;if(!(f|j)){continue}g=dx(i,l,f,j);if(!g){continue}break}b=n;while(1){m=g;v=j;q=f;l=b;k=0;while(1){g=C[e+32>>2];i=C[e+28>>2];while(1){b=e;e=C[e+4>>2];u=C[e+32>>2];j=u-g|0;t=C[e+28>>2];f=t-i|0;k=(e|0)==(n|0)?1:k;g=u;i=t;if(!(f|j)){continue}break}g=dx(q,v,f,j);if(!g){continue}break}if((g^m)<0){while(1){C[l+12>>2]=C[l+12>>2]|4;l=C[l+4>>2];if((l|0)!=(b|0)){continue}break}C[b+12>>2]=C[b+12>>2]|4}if(!k){continue}break}}r=r+1|0;if(r>>>0>2]){continue}break}}s=vv(h+40|0,a+16|0,a+28|0,w);C[h+144>>2]=s;if(s){break a}s=vv(h+80|0,a+52|0,a- -64|0,w);if(s){break a}a=C[h+36>>2];w=C[a+200>>2];n=c+416|0;v=C[a+404>>2];e=Te(C[n>>2],v);b=e+32&-64;u=!b|(b|0)==(e|0);if(!u){a=of(v,b,e);Ro(C[h+36>>2],(b|0)<(e|0)?w+((w|0)/-50|0)|0:w,a,0,0)}B[h+132>>1]=257;A[h+136|0]=(d|0)!=1;A[h+135|0]=(d|0)==2|(d|0)==4;A[h+134|0]=(d&-2)==2;t=c+932|0;s=1;g=0;while(1){k=C[h+12>>2];j:{if(!k){break j}f=C[C[h+32>>2]+4>>2];e=C[h+20>>2];if(k&1){C[e+24>>2]=0;C[e+16>>2]=0;b=s&1;a=C[(b?0:4)+f>>2];C[e+32>>2]=C[(b?4:0)+f>>2];C[e+28>>2]=a;f=f+8|0;e=e+40|0;i=k-1|0}else{i=k}if((k|0)==1){break j}while(1){C[e+24>>2]=0;C[e+16>>2]=0;a=f+4|0;d=s&1;b=C[(d?f:a)>>2];a=C[(d?a:f)>>2];C[e- -64>>2]=0;C[e+56>>2]=0;C[e+32>>2]=a;C[e+28>>2]=b;a=C[(d?8:12)+f>>2];C[e+72>>2]=C[(d?12:8)+f>>2];C[e+68>>2]=a;f=f+16|0;e=e+80|0;i=i-2|0;if(i){continue}break}}l=C[h+16>>2];k:{if(!l){d=0;break k}b=0;i=C[h+24>>2];while(1){l:{a=i+(b<<3)|0;if(!C[a+4>>2]){break l}a=C[a>>2];f=a;while(1){f=C[f>>2];if((a|0)==(f|0)){d=b+1|0;break k}if(C[f+28>>2]==C[a+28>>2]){continue}break}a=C[f+4>>2];e=a;while(1){j=e;while(1){e=C[e+4>>2];if((a|0)==(e|0)){break l}d=C[e+28>>2];q=C[j+28>>2];if((d|0)==(q|0)){continue}break}m:{n:{if((q|0)>C[f+28>>2]){if((d|0)<(q|0)){break n}break m}if((d|0)<=(q|0)){break m}}while(1){C[j+16>>2]=C[j+16>>2]|64;j=C[j+4>>2];if((j|0)!=(e|0)){continue}break}}f=C[e>>2];continue}}d=0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}while(1){if(d>>>0>>0){e=C[h+20>>2];b=I(d,40);a=e+b|0;f=C[a+16>>2];o:{if(!(f&64)){break o}b=b+e|0;e=a;while(1){e=C[e>>2];if((a|0)==(e|0)){break o}i=C[e+32>>2];j=C[b+32>>2];if((i|0)==(j|0)){continue}break}e=a;while(1){e=C[e+4>>2];if((a|0)==(e|0)){break o}b=C[e+32>>2];if((b|0)==(j|0)){continue}break}p:{if((j|0)>(i|0)){e=128;if((b|0)>(j|0)){break p}}if((j|0)>=(i|0)){break o}e=256;if((b|0)>=(j|0)){break o}}C[a+16>>2]=e|f}d=d+1|0;continue}break}j=C[h+36>>2];l=(h+12|0)+I(g,40)|0;m=l+28|0;f=C[m>>2];if(f){e=C[l+36>>2];while(1){uv(e,j,g,h+12|0);e=e+28|0;f=f-1|0;if(f){continue}break}j=C[h+36>>2]}a=C[l+60>>2];e=C[a+8>>2];i=C[a>>2];o=I(g,204);a=Ze(32,C[(o+j|0)+200>>2]);k=(a|0)>=30?30:a;q=s&1;d=q?1:2;q:{r:{s:{if(i>>>0>=2){b=C[h+12>>2];if(!b){a=0;break q}a=C[e+12>>2];f=a>>>0>>0?a:b;while(1){a=e;e=e+16|0;b=C[a+28>>2];a=C[h+12>>2];a=a>>>0>b>>>0?b:a;if(a>>>0>f>>>0){b=C[h+20>>2];tv(m,e);sv(m,b+I(f,40)|0,a-f|0,k,d)}f=a;i=i-1|0;if(i>>>0>1){continue}break}break s}if((i|0)!=1){break r}}b=C[h+20>>2];a=C[h+12>>2];tv(m,C[C[l+60>>2]+8>>2]);sv(m,b,a,k,d)}a=C[h+12>>2];if(!a){a=0;break q}e=C[h+20>>2];if(a&1){t:{if(!C[e+24>>2]){break t}b=C[e+16>>2];if(b&16){break t}C[e+16>>2]=b|16}e=e+40|0;f=a-1|0}else{f=a}if((a|0)==1){break q}while(1){u:{if(!C[e+24>>2]){break u}b=C[e+16>>2];if(b&16){break u}C[e+16>>2]=b|16}v:{if(!C[e- -64>>2]){break v}b=C[e+56>>2];if(b&16){break v}C[e+56>>2]=b|16}e=e+80|0;f=f-2|0;if(f){continue}break}}w:{if(g&1){b=0;if(!a){break w}j=C[h+20>>2];l=a;while(1){b=D[j+20|0];x:{y:{if((b|0)==2|(b|0)==254){break y}b=D[j+21|0];if((b|0)==254){break y}if((b|0)!=2){break x}}k=C[j+16>>2];if(k&16){break x}m=C[j+28>>2];g=C[c+412>>2];z:{if(!g){break z}f=C[c+2488>>2];d=0-f|0;e=n;while(1){b=m-C[e+12>>2]|0;if((b|0)<(d|0)){break z}if(!(!D[c+2492|0]&(b|0)>C[c+2484>>2]|(m|0)>(f+C[e+8>>2]|0))){b=C[e+24>>2];k=k|48;C[j+16>>2]=k;C[j+36>>2]=b}e=e+32|0;g=g-1|0;if(g){continue}break}}g=C[c+928>>2];if(!g){break x}f=C[c+2488>>2];e=0-f|0;i=(g<<5)+t|0;while(1){b=i;i=b-32|0;d=C[i+8>>2]-m|0;if((d|0)<(e|0)){break x}if(!(!D[c+2492|0]&(d|0)>=C[c+2484>>2]|(m|0)<(C[b-20>>2]-f|0))){b=C[b-4>>2];k=k|48;C[j+16>>2]=k;C[j+36>>2]=b}g=g-1|0;if(g){continue}break}}j=j+40|0;l=l-1|0;if(l){continue}break}}b=0;if(!a){break w}g=C[(o+C[h+36>>2]|0)+200>>2];e=C[h+20>>2];while(1){k=C[e+24>>2];if(k){b=C[e+16>>2];d=C[k+8>>2];A:{if(b&512){break A}d=C[k+12>>2]+C[k+8>>2]|0;if(b&1024){break A}i=C[e+28>>2]-C[k>>2]|0;if((i|0)<=0){d=C[k+8>>2]+Te(i,g)|0;break A}f=C[k+12>>2];d=C[k+8>>2];b=C[k+4>>2];if((b|0)<=(i|0)){d=Te(i-b|0,g)+(d+f|0)|0;break A}d=of(i,f,b)+d|0}C[e+36>>2]=d;C[e+16>>2]=C[e+16>>2]|32}e=e+40|0;a=a-1|0;if(a){continue}break}b=C[h+12>>2]}a=b;B:{if((a|0)<=0){break B}d=C[h+20>>2];r=d+I(a,40)|0;f=0;e=d;while(1){f=(C[e+16>>2]>>>4&1)+f|0;e=e+40|0;if(r>>>0>e>>>0){continue}break}if(!f){break B}k=C[(o+C[h+36>>2]|0)+200>>2];m=C[h+28>>2];j=h+144|0;if(f>>>0>=17){j=Ve(m,4,0,f,0,h+140|0);if(C[h+140>>2]){break B}}i=0;b=d;while(1){if(D[b+16|0]&16){e=(i<<2)+j|0;C:{if((i|0)<=0){f=e;break C}g=C[b+28>>2];while(1){f=e-4|0;a=C[f>>2];if((g|0)>=C[a+28>>2]){f=e;break C}C[e>>2]=a;e=f;if(j>>>0>>0){continue}break}}C[f>>2]=b;i=i+1|0}b=b+40|0;if(r>>>0>b>>>0){continue}break}f=((i<<2)+j|0)-4|0;while(1){b=C[d+16>>2];D:{if(b&16){break D}e=C[d+12>>2];if(e&2){a=D[d+20|0];if(!(b&64|e&4)|((a|0)==4|(a|0)!=D[d+21|0])){break D}C[d+12>>2]=e&-3}x=C[d+28>>2];e=0;E:{F:{if(i){G:{while(1){if((x|0)>2]+28>>2]){break G}e=e+1|0;if((i|0)!=(e|0)){continue}break}e=i}if(e){break F}}a=C[j>>2];b=C[a+36>>2]+Te(x-C[a+28>>2]|0,k)|0;break E}l=C[((e<<2)+j|0)-4>>2];g=i;while(1){a=g;if(a){g=a-1|0;if((x|0)<=C[C[(g<<2)+j>>2]+28>>2]){continue}}break}if((a|0)==(i|0)){a=C[f>>2];b=C[a+36>>2]+Te(x-C[a+28>>2]|0,k)|0;break E}e=C[l+28>>2];b=C[l+36>>2];if((e|0)==(x|0)){break E}a=C[(a<<2)+j>>2];b=C[a+28>>2];if((b|0)==(x|0)){b=C[a+36>>2];break E}g=C[a+36>>2];a=C[l+36>>2];b=of(x-e|0,g-a|0,b-e|0)+a|0}C[d+36>>2]=b;C[d+16>>2]=C[d+16>>2]|32}d=d+40|0;if(r>>>0>d>>>0){continue}break}if((h+144|0)==(j|0)){break B}if(j){Fe[C[m+8>>2]](m,j)}}r=C[h+16>>2];if(r){a=o+C[h+36>>2]|0;m=C[a+200>>2];l=C[a+204>>2];o=C[h+24>>2];while(1){a=C[o+4>>2];H:{if((a|0)<=0){break H}f=C[o>>2];b=f+I(a,40)|0;j=0;e=f;k=0;while(1){a=C[e+16>>2]&32;k=a?k?k:e:k;j=(a>>>5|0)+j|0;e=e+40|0;if(b>>>0>e>>>0){continue}break}e=k;if(j>>>0<=1){if((j|0)==1){l=C[k+36>>2]-Te(C[k+28>>2],m)|0}while(1){if((f|0)!=(k|0)){y=f,z=Te(C[f+28>>2],m)+l|0,C[y+36>>2]=z}f=f+40|0;if(b>>>0>f>>>0){continue}break}break H}while(1){d=e;e=C[e+4>>2];if((k|0)==(e|0)){break H}if(D[e+16|0]&32){continue}f=e;while(1){f=C[f+4>>2];if(!(D[f+16|0]&32)){continue}break}g=C[d+28>>2];a=C[f+28>>2];I:{if((g|0)<=(a|0)){i=a-g|0;b=f;a=d;break I}i=g-a|0;b=d;g=a;a=f}b=C[b+36>>2];j=C[a+36>>2];J:{if((i|0)<=0){a=65536;break J}a=Ze(b-j|0,i);e=C[d+4>>2]}while(1){d=C[e+28>>2]-g|0;K:{if((d|0)<=0){d=Te(d,m)+j|0;break K}if((d|0)>=(i|0)){d=Te(d-i|0,m)+b|0;break K}d=Te(d,a)+j|0}C[e+36>>2]=d;e=C[e+4>>2];if((f|0)!=(e|0)){continue}break}e=f;if((k|0)!=(e|0)){continue}break}}o=o+8|0;r=r-1|0;if(r){continue}break}}g=C[h+12>>2];if(g){a=C[h+32>>2];i=C[a+8>>2];d=C[a+4>>2];b=q?32:64;f=0;e=C[h+20>>2];while(1){a=d+(f<<3)|0;C[(q?a:a+4|0)>>2]=C[e+36>>2];if(D[e+16|0]&16){a=f+i|0;A[a|0]=b|D[a|0];g=C[h+12>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!u){Ro(C[h+36>>2],w,v,0,0)}g=1;a=s&1;s=0;if(a){continue}break}}b=C[h+28>>2];a=C[h+104>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+108>>2]=0;C[h+100>>2]=0;C[h+104>>2]=0;a=C[h+92>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+92>>2]=0;a=C[h+88>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+88>>2]=0;C[h+96>>2]=0;C[h+80>>2]=0;C[h+84>>2]=0;a=C[h- -64>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+68>>2]=0;C[h+60>>2]=0;C[h+64>>2]=0;a=C[h+52>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+52>>2]=0;a=C[h+48>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+48>>2]=0;C[h+56>>2]=0;C[h+40>>2]=0;C[h+44>>2]=0;a=C[h+20>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+20>>2]=0;a=C[h+24>>2];if(a){Fe[C[b+8>>2]](b,a)}}Ce=h+208|0;return s|0}function Jv(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;f=Ce-32|0;Ce=f;s=C[b+100>>2];a:{b:{if(bf(a,0)){break b}d=Ef(a,287184,b+184|0);C[f+28>>2]=d;if(d){break b}g=b;if(C[b+184>>2]!=1885562369){break b}b=C[g+188>>2];if(b+-134217728>>>0<4160749569){break b}b=Ve(s,16,0,b,0,f+28|0);C[g+192>>2]=b;if(C[f+28>>2]){break b}c:{d:{e:{f:{if(C[g+188>>2]){while(1){d=Ef(a,287200,b);C[f+28>>2]=d;if(d){break d}b=b+16|0;c=c+1|0;d=C[g+188>>2];if(c>>>0>>0){continue}break}c=1;b=C[g+192>>2];if((d|0)==1){break f}c=d}d=0;g:{h:{while(1){h=d+1|0;if((h|0)==(c|0)){j=c-1|0;i=C[a+4>>2];b=C[g+192>>2];break h}l=d^-1;e=C[b+12>>2];k=0;i=0;while(1){c=(i<<4)+b|0;i=i+1|0;j=(i<<4)+b|0;d=C[j+12>>2];if(e>>>0>d>>>0){d=C[c+12>>2];C[f+16>>2]=C[c+8>>2];C[f+20>>2]=d;d=C[c+4>>2];C[f+8>>2]=C[c>>2];C[f+12>>2]=d;d=C[j+12>>2];C[c+8>>2]=C[j+8>>2];C[c+12>>2]=d;d=C[j+4>>2];C[c>>2]=C[j>>2];C[c+4>>2]=d;d=C[f+20>>2];C[j+8>>2]=C[f+16>>2];C[j+12>>2]=d;d=C[f+12>>2];C[j>>2]=C[f+8>>2];C[j+4>>2]=d;k=1;d=C[j+12>>2]}e=C[c+8>>2];if(e>>>0>d>>>0|F[c+12>>2]>d-e>>>0){break g}e=d;c=C[g+188>>2];if(l+c>>>0>i>>>0){continue}break}j=c-1|0;if(k){d=h;if(j>>>0>d>>>0){continue}}break}i=C[a+4>>2];b=C[g+192>>2];k=b;if(!j){break e}}k=((c<<4)+b|0)-16|0;e=0;d=b;while(1){h=C[d+8>>2];if(!(h>>>0<=i>>>0&F[d+12>>2]<=i-h>>>0)){C[f+28>>2]=8;break d}d=d+16|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break e}C[f+28>>2]=9;break d}i=C[a+4>>2];k=b}d=C[k+12>>2];if(d>>>0>i>>>0){C[f+28>>2]=8;break d}d=i-d|0;if(d>>>0>2]){C[k+8>>2]=d}C[f+4>>2]=0;break c}b=C[g+192>>2];if(b){Fe[C[s+8>>2]](s,b)}b=0;C[g+192>>2]=0;if(C[f+28>>2]){break b}c=C[g+188>>2]}k=C[g+100>>2];j=3;i:{j:{k:{if(!c){break k}d=0;while(1){if(C[(d<<4)+b>>2]==1){j=83;c=C[((d<<4)+b|0)+12>>2];e=C[a+8>>2];if(c>>>0>>0){break k}if(lg(a,c-e|0)){break k}i=C[((d<<4)+b|0)+8>>2];c=0;C[f+8>>2]=0;b=ch(a,f+8|0);if(!C[f+8>>2]){break j}b=0;break i}d=d+1|0;if((d|0)!=(c|0)){continue}break}}C[f+8>>2]=j;c=0;b=0;break i}if(b>>>0>255){b=0;break i}e=b&4;l:{if(e){d=dg(a,f+8|0);break l}d=ch(a,f+8|0)}if(C[f+8>>2]){b=0;break i}if(d>>>0>(i>>>0)/9>>>0){C[f+8>>2]=8;b=0;break i}C[g+280>>2]=d;b=Ve(k,12,0,d,0,f+8|0);if(C[f+8>>2]){break i}m:{if(!d){break m}while(1){h=I(c,12)+b|0;n:{if(e){h=Ef(a,287232,h);C[f+8>>2]=h;if(!h){break n}c=0;break i}h=Ef(a,287264,h);C[f+8>>2]=h;if(!h){break n}c=0;break i}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d&3;if(!c){break m}c=lg(a,4-c|0);C[f+8>>2]=c;if(!c){break m}C[f+8>>2]=83;c=0;break i}o:{if(e){e=dg(a,f+8|0);break o}e=ch(a,f+8|0)}c=0;if(C[f+8>>2]){break i}if(e>>>0>i+I(d,-9)>>>0){C[f+8>>2]=8;break i}c=Ve(k,1,0,e+1|0,0,f+8|0);if(C[f+8>>2]){break i}i=jg(a,c,e);C[f+8>>2]=i;if(i){break i}j=0;l=Ve(k,12,0,d,0,f+8|0);if(C[f+8>>2]){break i}C[g+284>>2]=l;if(d){while(1){h=I(j,12);i=h+b|0;m=C[i>>2];if(!((m|0)>=0&e>>>0>=m>>>0)){C[f+8>>2]=9;break i}h=h+l|0;v=h,w=qh(k,c+m|0,f+8|0),C[v>>2]=w;if(C[f+8>>2]){break i}m=D[i+4|0];A[h+4|0]=m;i=C[i+8>>2];p:{if(m){if(!((i|0)>=0&e>>>0>=i>>>0)){C[f+8>>2]=9;break i}v=h,w=qh(k,c+i|0,f+8|0),C[v+8>>2]=w;if(!C[f+8>>2]){break p}break i}C[h+8>>2]=i}j=j+1|0;if((d|0)!=(j|0)){continue}break}}C[f+8>>2]=0}if(b){Fe[C[k+8>>2]](k,b)}if(c){Fe[C[k+8>>2]](k,c)}if(C[f+8>>2]){break b}q:{r:{c=C[g+188>>2];if(!c){break r}d=C[g+192>>2];b=0;while(1){if(C[(b<<4)+d>>2]!=256){b=b+1|0;if((c|0)!=(b|0)){continue}break r}break}k=0;break q}b=Iv(a,g,2);C[f+4>>2]=b;if(b){break b}c=C[g+188>>2];d=C[g+192>>2];k=1}if(!c){break b}i=C[g+100>>2];b=0;s:{while(1){t:{if(C[(b<<4)+d>>2]==4){c=C[((b<<4)+d|0)+12>>2];e=C[a+8>>2];if(c>>>0>>0){break b}if(lg(a,c-e|0)){break b}c=C[((b<<4)+d|0)+8>>2];C[f+28>>2]=0;b=ch(a,f+28|0);if(C[f+28>>2]|((b|256)&-256)!=256){break b}e=b&4;u:{if(b>>>0<=255){if(e){d=dg(a,f+28|0);break u}d=ch(a,f+28|0);break u}if(e){d=_f(a,f+28|0);break u}d=Zv(a,f+28|0)}if(C[f+28>>2]){break b}C[g+288>>2]=d;if(!d){break b}v:{if(b>>>0<=255){if(d>>>0<=(c>>>0)/12>>>0){break v}break b}if(d>>>0>(c>>>0)/5>>>0){break b}}c=Ve(i,16,0,d,0,f+28|0);C[g+292>>2]=c;if(C[f+28>>2]){break b}h=e?287424:287456;j=b>>>0>255;e=0;while(1){w:{if(!j){b=Ef(a,h,c);break w}b=Ef(a,287488,f+8|0);if(b){break w}B[c>>1]=D[f+8|0]-128;B[c+2>>1]=D[f+9|0]-128;B[c+4>>1]=D[f+10|0]-128;B[c+6>>1]=D[f+11|0]-128;l=D[f+12|0];B[c+10>>1]=0;B[c+8>>1]=l-128}C[f+28>>2]=b;C[c+12>>2]=0;if(b){break t}if(!(B[c+2>>1]>=B[c>>1]&(B[c+8>>1]+B[c+6>>1]|0)>=0)){C[c>>2]=0;C[c+4>>2]=0;B[c+8>>1]=0}c=c+16|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break s}b=b+1|0;if((c|0)!=(b|0)){continue}break b}break}b=C[g+292>>2];if(b){Fe[C[i+8>>2]](i,b)}C[g+292>>2]=0;if(C[f+28>>2]){break b}}d=C[g+188>>2];if(!d){break b}c=C[g+192>>2];i=C[g+100>>2];b=0;x:{while(1){y:{if(C[c+(b<<4)>>2]==8){d=C[(c+(b<<4)|0)+12>>2];e=C[a+8>>2];if(d>>>0>>0){break b}if(lg(a,d-e|0)){break b}h=C[(c+(b<<4)|0)+8>>2];b=Bf(a,8);C[f+8>>2]=b;if(b){break b}j=dp(a);d=j&4;z:{if(d){c=vg(a);break z}c=dp(a)}xf(a);if((c|0)!=C[g+288>>2]|j>>>0>255){break b}b=0;e=Ve(i,4,0,c,0,f+8|0);if(C[f+8>>2]){break b}A:{if(c){while(1){m=e+(b<<2)|0;B:{if(d){l=dg(a,f+8|0);break B}l=ch(a,f+8|0)}C[m>>2]=l;b=b+1|0;if((c|0)!=(b|0)){continue}break}if(C[f+8>>2]){break A}}C:{if(!d){ch(a,f+8|0);if(C[f+8>>2]){break A}ch(a,f+8|0);if(C[f+8>>2]){break A}ch(a,f+8|0);if(C[f+8>>2]){break A}ch(a,f+8|0);break C}dg(a,f+8|0);if(C[f+8>>2]){break A}dg(a,f+8|0);if(C[f+8>>2]){break A}dg(a,f+8|0);if(C[f+8>>2]){break A}dg(a,f+8|0)}if(C[f+8>>2]){break A}D:{if(!c){break D}b=0;if((c|0)!=1){m=c&-2;d=0;while(1){l=C[e+(b<<2)>>2];if(!((l|0)<0|h>>>0>>0)){C[(C[g+292>>2]+(b<<4)|0)+12>>2]=l+C[a+8>>2]}n=b|1;l=C[e+(n<<2)>>2];if(!((l|0)<0|h>>>0>>0)){C[(C[g+292>>2]+(n<<4)|0)+12>>2]=l+C[a+8>>2]}b=b+2|0;d=d+2|0;if((m|0)!=(d|0)){continue}break}}if(!(c&1)){break D}c=C[e+(b<<2)>>2];if((c|0)<0|c>>>0>h>>>0){break D}C[(C[g+292>>2]+(b<<4)|0)+12>>2]=c+C[a+8>>2]}C[g+308>>2]=j}if(e){Fe[C[i+8>>2]](i,e)}if(C[f+8>>2]){break b}b=0;h=Ce-16|0;Ce=h;d=3;e=C[g+188>>2];E:{if(!e){break E}c=C[g+192>>2];m=C[g+100>>2];while(1){if(C[c+(b<<4)>>2]==32){d=83;b=C[(c+(b<<4)|0)+12>>2];c=C[a+8>>2];if(b>>>0>>0){break E}if(lg(a,b-c|0)){break E}d=Bf(a,14);C[h+12>>2]=d;if(d){break E}i=dp(a);u=i&4;F:{if(u){b=Ff(a);l=Ff(a);e=Ff(a);j=Ff(a);c=Ff(a);break F}b=vh(a);l=vh(a);e=vh(a);j=vh(a);c=vh(a)}B[g+304>>1]=c;xf(a);d=3;if(i>>>0>255){break E}d=8;c=b<<16>>16;if((c|0)<0){break E}n=l<<16>>16;if((n|0)<(c|0)|(n|0)>255){break E}c=e<<16>>16;if((c|0)<0){break E}p=j<<16>>16;if((p|0)<(c|0)|(p|0)>255){break E}d=64;l=0;j=e<<16>>16;i=b<<16>>16;r=I((p-j|0)+1|0,(n-i|0)+1|0);e=Ve(m,8,0,r,0,h+12|0);if(C[h+12>>2]){break E}b=Bf(a,r<<1);C[h+12>>2]=b;G:{if(b){break G}while(1){d=j<<8;b=i;while(1){H:{if(u){c=Ff(a);break H}c=vh(a)}if(c<<16>>16>=0){q=(l<<3)+e|0;B[q+4>>1]=c;C[q>>2]=b+d;l=l+1|0}c=(b|0)!=(n|0);b=b+1|0;if(c){continue}break}b=(j|0)!=(p|0);j=j+1|0;if(b){continue}break}xf(a);e=Ve(m,8,r,l,e,h+12|0);if(C[h+12>>2]){break G}C[g+300>>2]=e;C[g+296>>2]=l;d=0;break E}if(e){Fe[C[m+8>>2]](m,e)}d=C[h+12>>2];break E}b=b+1|0;if((e|0)!=(b|0)){continue}break}}Ce=h+16|0;if(d){break b}if(!k){if(Iv(a,g,256)){break b}}C[g>>2]=1;C[g+4>>2]=0;a=C[g+8>>2];C[g+8>>2]=a|146;if(D[g+199|0]){C[g+8>>2]=a|150}a=0;h=0;d=0;k=0;l=0;n=0;j=0;p=0;r=0;m=Ce-16|0;Ce=m;C[m+12>>2]=0;C[g+12>>2]=0;u=1;q=C[g+100>>2];e=C[g+280>>2];I:{J:{if((e|0)<=0){i=1;k=1;break J}d=C[g+284>>2];while(1){K:{c=Se(C[d+I(a,12)>>2],23494);b=a+1|0;if((b|0)>=(e|0)){break K}a=b;if(c){continue}}break}a=0;i=2;L:{if(c){break L}b=(d+I(b,12)|0)-12|0;if(!D[b+4|0]){break L}M:{switch(D[C[b+8>>2]]-73|0){case 0:case 6:case 32:case 38:break M;default:break L}}C[g+12>>2]=1;k=(D[C[b+8>>2]]&223)==79?16031:21653;i=3}while(1){N:{h=Se(C[d+I(a,12)>>2],26964);c=a+1|0;if((c|0)>=(e|0)){break N}a=c;if(h){continue}}break}a=0;b=1;O:{if(h){break O}c=(d+I(c,12)|0)-12|0;b=1;if(!D[c+4|0]){break O}b=1;if((D[C[c+8>>2]]|32)!=98){break O}C[g+12>>2]=i;n=19740;b=0}i=b;while(1){P:{h=Se(C[d+I(a,12)>>2],26986);c=a+1|0;if((c|0)>=(e|0)){break P}a=c;if(h){continue}}break}a=0;b=0;Q:{if(h){break Q}c=(d+I(c,12)|0)-12|0;b=0;if(!D[c+4|0]){break Q}c=C[c+8>>2];h=D[c|0];b=0;if(!h){break Q}b=0;if((h|0)==78){break Q}b=0;if((h|0)==110){break Q}b=c}while(1){R:{h=Se(C[d+I(a,12)>>2],27e3);a=a+1|0;if((e|0)<=(a|0)){break R}if(h){continue}}break}c=0;e=0;S:{if(h){break S}T:{a=(d+I(a,12)|0)-12|0;if(!D[a+4|0]){break T}a=C[a+8>>2];d=D[a|0];if(!d|(d|0)==78){break T}e=0;if((d|0)==110){break S}c=a;l=af(c);e=l+1|0;break S}e=0}U:{if(i){n=0;break U}p=af(n);e=(p+e|0)+1|0}d=0;if(k){r=af(k);e=(r+e|0)+1|0;h=k}else{h=0}V:{if(!b){a=0;break V}a=af(b);e=(e+a|0)+1|0;d=b}u=!k;k=!b;if(e){break I}}e=8;l=7;c=11228}b=hf(q,e,m+12|0);C[g+24>>2]=b;Ce=m+16|0;e=C[m+12>>2];if(!e){if(c){t(b,c,l);W:{if(!l){break W}e=0;if(l>>>0>=4){q=l&-4;c=0;while(1){o=b+e|0;if(D[o|0]==32){A[o|0]=45}o=(e|1)+b|0;if(D[o|0]==32){A[o|0]=45}o=(e|2)+b|0;if(D[o|0]==32){A[o|0]=45}o=(e|3)+b|0;if(D[o|0]==32){A[o|0]=45}e=e+4|0;c=c+4|0;if((q|0)!=(c|0)){continue}break}}c=l&3;if(!c){break W}while(1){q=b+e|0;if(D[q|0]==32){A[q|0]=45}e=e+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}b=b+l|0}if(!i){if(C[g+24>>2]!=(b|0)){A[b|0]=32;b=b+1|0}t(b,n,p);b=b+p|0}if(!u){if(C[g+24>>2]!=(b|0)){A[b|0]=32;b=b+1|0}t(b,h,r);b=b+r|0}if(!k){if(C[g+24>>2]!=(b|0)){A[b|0]=32;b=b+1|0}t(b,d,a);X:{if(!a){break X}j=0;e=0;if(a>>>0>=4){d=a&-4;c=0;while(1){k=b+e|0;if(D[k|0]==32){A[k|0]=45}k=(e|1)+b|0;if(D[k|0]==32){A[k|0]=45}k=(e|2)+b|0;if(D[k|0]==32){A[k|0]=45}k=(e|3)+b|0;if(D[k|0]==32){A[k|0]=45}e=e+4|0;c=c+4|0;if((d|0)!=(c|0)){continue}break}}c=a&3;if(!c){break X}while(1){d=b+e|0;if(D[d|0]==32){A[d|0]=45}e=e+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}b=a+b|0}A[b|0]=0;e=C[m+12>>2]}C[f+4>>2]=e;if(e){break b}a=Pi(g,26935);if(!a|!D[a+4|0]){break y}v=g,w=qh(s,C[a+8>>2],f+4|0),C[v+20>>2]=w;if(!C[f+4>>2]){break x}break b}b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}C[g+20>>2]=0}C[g+28>>2]=1;C[g+16>>2]=C[g+288>>2]+1;a=Ve(s,16,0,1,0,f+4|0);C[g+32>>2]=a;if(C[f+4>>2]){break b}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;b=C[g+208>>2]+C[g+204>>2]|0;B[a>>1]=b;c=Pi(g,25989);Y:{if(c){b=(C[c+8>>2]+5|0)/10|0;break Y}b=(b<<16>>15)/3|0}B[a+2>>1]=b;b=0;c=0;d=Pi(g,26464);if(d){c=(I(C[d+8>>2],460800)+36135|0)/72270|0;C[a+4>>2]=c}d=Pi(g,26498);if(d){b=C[d+8>>2]<<16>>10;C[a+12>>2]=b}d=Pi(g,22587);if(d){d=B[d+8>>1]}else{d=0}Z:{_:{$:{e=Pi(g,22289);if(e){e=C[e+8>>2];if(b){break _}C[a+12>>2]=c;if(e&65535){break $}b=c;break Z}if(b){break Z}C[a+12>>2]=c;b=c;break Z}b=(I(e<<16>>16,c)|0)/72|0;C[a+12>>2]=b}if(!d|!(e&65535)){break Z}b=(I(b,d)|0)/(e<<16>>16)|0}C[a+8>>2]=b;a=Pi(g,22351);b=Pi(g,26297);if(!(!a|!D[a+4|0]|(!b|!D[b+4|0]))){v=g,w=qh(s,C[b+8>>2],f+4|0),C[v+176>>2]=w;if(C[f+4>>2]){break b}v=g,w=qh(s,C[a+8>>2],f+4|0),C[v+180>>2]=w}if(C[f+4>>2]){break b}a=0;break a}a=3}Ce=f+32|0;return a}function Jo(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;f=Ce-144|0;Ce=f;s=C[a+12>>2];w=C[a>>2];a:{if(!(c>>>0<2|E[w+290>>1]>=c>>>0)){C[f+140>>2]=21;break a}C[a+20>>2]=b;h=65536;r=65536;if(!(A[a+16|0]&1)){e=C[a+4>>2];h=C[e+52>>2];r=C[e+48>>2]}z=C[C[w+128>>2]+48>>2];b:{if(z){e=Fe[C[C[z>>2]>>2]](C[z+4>>2],b,f+88|0)|0;C[f+140>>2]=e;if(e){break a}g=C[f+92>>2];C[a+28>>2]=g;C[f+128>>2]=0;C[f+132>>2]=0;C[f+120>>2]=0;C[f+124>>2]=0;C[f+112>>2]=0;C[f+116>>2]=0;C[f+104>>2]=0;C[f+108>>2]=0;C[f+96>>2]=0;C[f+100>>2]=0;e=C[f+88>>2];k=f+96|0;C[k+32>>2]=0;C[k+8>>2]=0;C[k+4>>2]=g;C[k>>2]=e;C[k+20>>2]=0;C[k+24>>2]=0;C[a+24>>2]=k;e=0;break b}e=zo(w,b,a+28|0)}c:{d:{e:{f:{g=C[a+28>>2];if((g|0)>0){k=C[a+84>>2];if(!(k|C[C[w+128>>2]+48>>2])){C[f+140>>2]=8;break c}e=Fe[C[w+512>>2]](a,b,e+k|0,g)|0;C[f+140>>2]=e;if(e){break c}e=Fe[C[w+520>>2]](a)|0;C[f+140>>2]=e;if(e){break d}e=Fu(a,b);C[f+140>>2]=e;if(d|e){break d}e=C[a+28>>2]}else{e=g}if(e){n=E[a+32>>1];if(n){break f}}C[a+36>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0;C[a+48>>2]=0;c=Fu(a,b);C[f+140>>2]=c;if(c|d){break e}C[a+184>>2]=0;C[a+192>>2]=0;C[a+72>>2]=0;C[a+80>>2]=0;l=C[a+52>>2];c=C[a+36>>2]-l|0;C[a+68>>2]=c;e=C[a+56>>2];C[a+76>>2]=e+c;c=C[a+176>>2]+C[a+48>>2]|0;C[a+188>>2]=c;C[a+196>>2]=c-C[a+180>>2];c=C[a>>2];k=C[C[c+128>>2]+48>>2];g:{if(!k){break g}d=C[C[k>>2]+8>>2];if(!d){break g}C[f+60>>2]=0;C[f+56>>2]=e;C[f+52>>2]=0;C[f+48>>2]=l;h:{if(Fe[d|0](C[k+4>>2],b,0,f+48|0)|0){break h}c=B[f+48>>1];d=E[f+56>>1];C[a+176>>2]=0;C[a+180>>2]=0;C[a+56>>2]=d;C[a+52>>2]=c;if(D[a+64|0]){break h}C[a+60>>2]=d;A[a+64|0]=1}c=C[a>>2]}if(D[c+672|0]){C[f+44>>2]=16843009;C[f+32>>2]=65536;C[f+36>>2]=196610;C[f+48>>2]=C[a+68>>2];C[f+52>>2]=C[a+72>>2];C[f+56>>2]=C[a+76>>2];C[f+60>>2]=C[a+80>>2];C[f+64>>2]=C[a+184>>2];C[f+68>>2]=C[a+188>>2];C[f+72>>2]=C[a+192>>2];C[f+76>>2]=C[a+196>>2];C[f+12>>2]=262148;C[f+24>>2]=f+32;C[f+20>>2]=f+44;C[f+16>>2]=f+48;b=yo(c,b,f+12|0,4);C[f+140>>2]=b;if(b){break e}C[a+68>>2]=C[f+48>>2];C[a+72>>2]=C[f+52>>2];C[a+76>>2]=C[f+56>>2];C[a+80>>2]=C[f+60>>2];C[a+184>>2]=C[f+64>>2];C[a+188>>2]=C[f+68>>2];C[a+192>>2]=C[f+72>>2];C[a+196>>2]=C[f+76>>2]}if(!(A[a+16|0]&1)){L=a,M=Te(C[a+68>>2],r),C[L+68>>2]=M;L=a,M=Te(C[a+76>>2],r),C[L+76>>2]=M;L=a,M=Te(C[a+184>>2],r),C[L+184>>2]=M;L=a,M=Te(C[a+188>>2],h),C[L+188>>2]=M;L=a,M=Te(C[a+192>>2],r),C[L+192>>2]=M;L=a,M=Te(C[a+196>>2],h),C[L+196>>2]=M}C[f+140>>2]=0;break e}C[a+184>>2]=0;C[a+192>>2]=0;C[a+72>>2]=0;C[a+80>>2]=0;k=C[a+52>>2];d=C[a+36>>2]-k|0;C[a+68>>2]=d;e=C[a+56>>2];C[a+76>>2]=e+d;d=C[a+176>>2]+C[a+48>>2]|0;C[a+188>>2]=d;C[a+196>>2]=d-C[a+180>>2];u=C[C[C[a>>2]+128>>2]+48>>2];i:{if(!u){break i}d=C[C[u>>2]+8>>2];if(!d){break i}C[f+60>>2]=0;C[f+56>>2]=e;C[f+52>>2]=0;C[f+48>>2]=k;j:{if(Fe[d|0](C[u+4>>2],b,0,f+48|0)|0){break j}d=B[f+48>>1];e=E[f+56>>1];C[a+176>>2]=0;C[a+180>>2]=0;C[a+56>>2]=e;C[a+52>>2]=d;if(D[a+64|0]){break j}C[a+60>>2]=e;A[a+64|0]=1}n=E[a+32>>1]}if(n<<16>>16>0){b=Fe[C[w+524>>2]](a)|0;C[f+140>>2]=b;if(b){break e}Fe[C[w+516>>2]](a);h=C[a+12>>2];m=B[h+58>>1];b=C[a+72>>2];c=C[h+60>>2]+(m<<3)|0;C[c>>2]=C[a+68>>2];C[c+4>>2]=b;b=C[a+80>>2];u=m+1|0;c=C[h+60>>2]+(u<<3)|0;C[c>>2]=C[a+76>>2];C[c+4>>2]=b;b=C[a+188>>2];k=m+2|0;c=C[h+60>>2]+(k<<3)|0;C[c>>2]=C[a+184>>2];C[c+4>>2]=b;b=C[a+196>>2];l=m+3|0;c=C[h+60>>2]+(l<<3)|0;C[c>>2]=C[a+192>>2];C[c+4>>2]=b;b=h- -64|0;A[m+C[b>>2]|0]=0;A[u+C[b>>2]|0]=0;A[k+C[b>>2]|0]=0;A[l+C[b>>2]|0]=0;g=m+4|0;b=C[a>>2];k:{if(D[b+672|0]){c=yo(b,C[a+20>>2],h+56|0,g);if(c){break k}}n=C[a+16>>2];if(!(n&2)){e=E[h+58>>1];B[a+132>>1]=e;B[a+134>>1]=E[h+56>>1];C[a+136>>2]=C[h+76>>2];d=C[h+60>>2];C[a+140>>2]=d;c=C[h+80>>2];C[a+144>>2]=c;C[a+148>>2]=C[h+64>>2];b=C[h+68>>2];B[a+156>>1]=0;C[a+152>>2]=b;t(c,d,(e<<3)+32|0);n=C[a+16>>2]}if(!(n&1)){c=C[h+60>>2];if((m|0)>=-3){e=(g<<3)+c|0;b=C[a+4>>2];d=C[b+52>>2];b=C[b+48>>2];while(1){L=c,M=Te(C[c>>2],b),C[L>>2]=M;L=c,M=Te(C[c+4>>2],d),C[L+4>>2]=M;c=c+8|0;if(e>>>0>c>>>0){continue}break}n=C[a+16>>2];c=C[h+60>>2]}c=(m<<3)+c|0;b=C[c+4>>2];C[a+68>>2]=C[c>>2];C[a+72>>2]=b;c=C[h+60>>2]+(u<<3)|0;b=C[c+4>>2];C[a+76>>2]=C[c>>2];C[a+80>>2]=b;c=C[h+60>>2]+(k<<3)|0;b=C[c+4>>2];C[a+184>>2]=C[c>>2];C[a+188>>2]=b;c=C[h+60>>2]+(l<<3)|0;b=C[c+4>>2];C[a+192>>2]=C[c>>2];C[a+196>>2]=b}c=0;if(n&2){break k}B[a+132>>1]=E[a+132>>1]+4;c=Du(a,0)}C[f+140>>2]=c;if(c){break c}ik(s);break c}if((n|0)==65535){u=B[s+22>>1];k=B[s+20>>1];d=Fe[C[w+528>>2]](a)|0;C[f+140>>2]=d;if(d){break e}H=C[a+168>>2];Fe[C[w+516>>2]](a);if(D[w+672|0]){v=C[w+100>>2];p=C[s+84>>2];d=p+4|0;B[f+48>>1]=d;B[f+50>>1]=d;n=d<<16>>16;o=Ve(v,8,0,n,0,f+140|0);l:{if(C[f+140>>2]){break l}i=Ve(v,1,0,n,0,f+140|0);if(C[f+140>>2]){break l}d=Ve(v,2,0,n,0,f+140|0);if(C[f+140>>2]){break l}m:{if(!p){break m}q=C[s+88>>2]+(C[s+48>>2]<<5)|0;if((p|0)!=1){g=p&-2;while(1){e=o+(j<<3)|0;C[e>>2]=C[q+8>>2];C[e+4>>2]=C[q+12>>2];A[i+j|0]=1;B[(j<<1)+d>>1]=j;m=j|1;e=o+(m<<3)|0;C[e>>2]=C[q+40>>2];C[e+4>>2]=C[q+44>>2];A[i+m|0]=1;B[(m<<1)+d>>1]=m;q=q- -64|0;j=j+2|0;l=l+2|0;if((g|0)!=(l|0)){continue}break}}if(!(p&1)){break m}e=o+(j<<3)|0;C[e>>2]=C[q+8>>2];C[e+4>>2]=C[q+12>>2];A[i+j|0]=1;B[(j<<1)+d>>1]=j}e=o+(p<<3)|0;C[e>>2]=C[a+68>>2];C[e+4>>2]=C[a+72>>2];A[i+p|0]=1;B[(p<<1)+d>>1]=p;g=p+1|0;e=o+(g<<3)|0;C[e>>2]=C[a+76>>2];C[e+4>>2]=C[a+80>>2];A[g+i|0]=1;B[(g<<1)+d>>1]=g;g=p+2|0;e=o+(g<<3)|0;C[e>>2]=C[a+184>>2];C[e+4>>2]=C[a+188>>2];A[g+i|0]=1;B[(g<<1)+d>>1]=g;g=p+3|0;e=o+(g<<3)|0;C[e>>2]=C[a+192>>2];C[e+4>>2]=C[a+196>>2];A[g+i|0]=1;B[(g<<1)+d>>1]=g;C[f+60>>2]=d;C[f+56>>2]=i;C[f+52>>2]=o;b=yo(w,b,f+48|0,n);C[f+140>>2]=b;if(b){break l}n:{if(!p){break n}b=C[s+88>>2]+(C[s+48>>2]<<5)|0;j=0;if((p|0)!=1){l=p&-2;q=0;while(1){g=j<<3;e=g+o|0;C[b+8>>2]=B[e>>1];C[b+12>>2]=B[e+4>>1];e=o+(g|8)|0;C[b+40>>2]=B[e>>1];C[b+44>>2]=B[e+4>>1];b=b- -64|0;j=j+2|0;q=q+2|0;if((l|0)!=(q|0)){continue}break}}if(!(p&1)){break n}e=o+(j<<3)|0;C[b+8>>2]=B[e>>1];C[b+12>>2]=B[e+4>>1]}b=o+(p<<3)|0;C[a+68>>2]=C[b>>2];C[a+72>>2]=C[b+4>>2];C[a+76>>2]=C[b+8>>2];C[a+80>>2]=C[b+12>>2];C[a+184>>2]=C[b+16>>2];C[a+188>>2]=C[b+20>>2];C[a+192>>2]=C[b+24>>2];C[a+196>>2]=C[b+28>>2]}if(o){Fe[C[v+8>>2]](v,o)}if(i){Fe[C[v+8>>2]](v,i)}if(d){Fe[C[v+8>>2]](v,d)}if(C[f+140>>2]){break c}}b=C[a+16>>2];if(!(b&1)){L=a,M=Te(C[a+68>>2],r),C[L+68>>2]=M;L=a,M=Te(C[a+76>>2],r),C[L+76>>2]=M;L=a,M=Te(C[a+184>>2],r),C[L+184>>2]=M;L=a,M=Te(C[a+188>>2],h),C[L+188>>2]=M;L=a,M=Te(C[a+192>>2],r),C[L+192>>2]=M;L=a,M=Te(C[a+196>>2],h),C[L+196>>2]=M;b=C[a+16>>2]}if(b&1024){ik(s);C[C[a+8>>2]+72>>2]=1668246896;break c}I=C[s+48>>2];G=C[s+84>>2];J=C[a+28>>2];K=C[a+24>>2];ik(s);o:{if(!G){c=0;b=u;break o}p=c+1|0;b=0;while(1){m=B[s+22>>1];l=C[a+192>>2];j=C[a+196>>2];g=C[a+184>>2];o=C[a+188>>2];e=C[a+76>>2];q=C[a+80>>2];d=C[a+68>>2];v=C[a+72>>2];n=b<<5;h=I<<5;c=Jo(a,C[n+(h+C[s+52>>2]|0)>>2],p,0);C[f+140>>2]=c;if(c){break c}c=n+(h+C[s+52>>2]|0)|0;if(!(D[c+5|0]&2)){C[a+192>>2]=l;C[a+196>>2]=j;C[a+184>>2]=g;C[a+188>>2]=o;C[a+76>>2]=e;C[a+80>>2]=q;C[a+68>>2]=d;C[a+72>>2]=v}n=E[s+22>>1];if((n|0)!=(m&65535)){o=0;h=C[a+12>>2];j=B[h+22>>1];l=C[h+24>>2];d=E[c+4>>1];g=d&200;if(!(!g|j>>>0<=m>>>0)){e=c+16|0;d=m;while(1){ci(l+(d<<3)|0,e);d=d+1|0;if((j|0)!=(d|0)){continue}break}d=E[c+4>>1]}x=C[c+12>>2];i=C[c+8>>2];p:{q:{if(!(d&2)){o=21;d=i+u|0;if(d>>>0>=m>>>0){break p}g=m+x|0;if(g>>>0>=j>>>0){break p}e=d<<3;d=C[h+24>>2];e=e+d|0;d=d+(g<<3)|0;x=C[e+4>>2]-C[d+4>>2]|0;i=C[e>>2]-C[d>>2]|0;break q}if(!(i|x)){break p}if(!(!g|!(d&2048))){e=Wi(C[c+16>>2],C[c+20>>2]);d=Wi(C[c+28>>2],C[c+24>>2]);i=Te(i,e);x=Te(x,d)}if(A[a+16|0]&1){break q}e=C[a+4>>2];d=C[e+52>>2];g=Te(i,C[e+48>>2]);e=Te(x,d);d=D[c+4|0]&4;i=d?g+32&-64:g;x=d?e+32&-64:e}o=0;if(!(i|x)){break p}q=j-m|0;y=l+(m<<3)|0;l=(j|0)==(m|0);r:{if(l|!i){break r}r=0;d=0;if(j+(m^-1)>>>0>=3){g=q&-4;h=0;while(1){v=d<<3;e=v+y|0;C[e>>2]=C[e>>2]+i;e=y+(v|8)|0;C[e>>2]=C[e>>2]+i;e=y+(v|16)|0;C[e>>2]=C[e>>2]+i;e=y+(v|24)|0;C[e>>2]=C[e>>2]+i;d=d+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}g=q&3;if(!g){break r}while(1){e=y+(d<<3)|0;C[e>>2]=C[e>>2]+i;d=d+1|0;r=r+1|0;if((g|0)!=(r|0)){continue}break}}if(!x|l){break p}d=0;if(j+(m^-1)>>>0>=3){g=q&-4;i=0;while(1){l=d<<3;e=l+y|0;C[e+4>>2]=C[e+4>>2]+x;e=y+(l|8)|0;C[e+4>>2]=C[e+4>>2]+x;e=y+(l|16)|0;C[e+4>>2]=C[e+4>>2]+x;e=y+(l|24)|0;C[e+4>>2]=C[e+4>>2]+x;d=d+4|0;i=i+4|0;if((g|0)!=(i|0)){continue}break}}g=q&3;if(!g){break p}r=0;while(1){e=y+(d<<3)|0;C[e+4>>2]=C[e+4>>2]+x;d=d+1|0;r=r+1|0;if((g|0)!=(r|0)){continue}break}}C[f+140>>2]=o;if(o){break c}}b=b+1|0;if((G|0)!=(b|0)){continue}break}b=n<<16>>16}C[a+168>>2]=H;C[a+28>>2]=J;C[a+24>>2]=K;if(!(A[c+5|0]&1)|D[a+16|0]&2|b>>>0<=u>>>0){break c}g=Ce-16|0;Ce=g;e=C[a+12>>2];d=B[e+22>>1];b=d+4|0;s:{if(!(!b|F[e+4>>2]>=B[e+58>>1]+(b+d|0)>>>0)){d=Qg(e,b,0);if(d){break s}d=B[e+22>>1]}b=C[a+72>>2];c=C[e+24>>2]+(d<<3)|0;C[c>>2]=C[a+68>>2];C[c+4>>2]=b;b=C[a+80>>2];c=C[e+24>>2]+(B[e+22>>1]<<3)|0;C[c+8>>2]=C[a+76>>2];C[c+12>>2]=b;b=C[a+188>>2];c=C[e+24>>2]+(B[e+22>>1]<<3)|0;C[c+16>>2]=C[a+184>>2];C[c+20>>2]=b;b=C[a+196>>2];c=C[e+24>>2]+(B[e+22>>1]<<3)|0;C[c+24>>2]=C[a+192>>2];C[c+28>>2]=b;A[C[e+28>>2]+B[e+22>>1]|0]=0;A[(B[e+22>>1]+C[e+28>>2]|0)+1|0]=0;A[(B[e+22>>1]+C[e+28>>2]|0)+2|0]=0;A[(B[e+22>>1]+C[e+28>>2]|0)+3|0]=0;c=C[a+24>>2];d=bf(c,C[a+168>>2]);C[g+12>>2]=d;if(d){break s}e=_f(c,g+12|0);d=C[g+12>>2];if(d){break s}t:{if(e>>>0>E[C[a>>2]+286>>1]){d=22;if((e|0)>C[a+28>>2]){break s}b=C[a+160>>2];C[g+8>>2]=C[b+388>>2];d=Eu(C[b+8>>2],g+8|0,b+392|0,e);C[g+12>>2]=d;b=C[a+160>>2];C[b+388>>2]=E[g+8>>1];if(!d){break t}break s}if(!e){d=0;break s}b=C[a+160>>2]}d=jg(c,C[b+392>>2],e);C[g+12>>2]=d;if(d){break s}c=C[C[a+160>>2]+392>>2];b=C[a+8>>2];C[b+140>>2]=e;C[b+136>>2]=c;d=C[a+12>>2];c=E[d+22>>1];B[a+132>>1]=c-u;B[a+134>>1]=E[d+20>>1]-k;b=u<<3;C[a+136>>2]=b+C[d+40>>2];C[a+140>>2]=b+C[d+24>>2];C[a+144>>2]=b+C[d+44>>2];C[a+148>>2]=u+C[d+28>>2];b=C[d+32>>2];B[a+156>>1]=u;C[a+152>>2]=b+(k<<1);if((c|0)!=(u&65535)){b=0;while(1){c=C[a+148>>2]+b|0;A[c|0]=D[c|0]&231;b=b+1|0;c=E[a+132>>1];if(b>>>0>>0){continue}break}b=c+4|0}else{b=4}B[a+132>>1]=b;d=Du(a,1)}Ce=g+16|0;C[f+140>>2]=d;break c}C[f+140>>2]=20}if((g|0)<=0){break c}}Fe[C[w+516>>2]](a)}if(!z){break a}a=C[C[w+128>>2]+48>>2];Fe[C[C[a>>2]+4>>2]](C[a+4>>2],f+88|0)}Ce=f+144|0;return C[f+140>>2]}function Px(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=1;a:{b:{switch(c-1|0){case 0:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;c:{d:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=0;e:{f:{if(F[b+4>>2]>a>>>0){break f}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<6){break f}f=C[b+12>>2];d=f-6|0;C[b+12>>2]=d;if((d|0)<=0){break f}d=a+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break f}e=f-8|0;C[b+12>>2]=e;if((e|0)<=0){break f}e=D[d|0]|D[d+1|0]<<8;g:{if(!e){break g}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break g}e=C[b+28>>2];if(e>>>0>31){break f}C[b+28>>2]=e+1;if(!D[b+24|0]){break f}A[d|0]=0;A[d+1|0]=0}e=D[a+4|0]|D[a+5|0]<<8;d=1;if(!e){break e}d=a+6|0;if(d>>>0>2]){break f}f=C[b+8>>2];if(f>>>0>>0){break f}g=f-d|0;f=qT(e)<<1;if(g>>>0>>0){break f}f=C[b+12>>2]-f|0;C[b+12>>2]=f;if((f|0)<=0){break f}c=1;if(e>>>0<4096){break f}c=mk(a+4|0,b,a,d)}d=c}return d}d=0;h:{if(F[b+4>>2]>a>>>0){break h}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break h}f=C[b+12>>2];c=f-8|0;C[b+12>>2]=c;if((c|0)<=0){break h}c=a+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break h}e=f-10|0;C[b+12>>2]=e;if((e|0)<=0){break h}e=D[c|0]|D[c+1|0]<<8;i:{if(!e){break i}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break i}e=C[b+28>>2];if(e>>>0>31){break h}C[b+28>>2]=e+1;if(!D[b+24|0]){break h}A[c|0]=0;A[c+1|0]=0}c=a+8|0;g=D[a+4|0]|D[a+5|0]<<8;i=qT(g);e=D[a+6|0]|D[a+7|0]<<8;h=(e<<8|e>>>8)&65535;f=I(i,h)<<1;if(f){if(F[b+4>>2]>c>>>0){break h}j=C[b+8>>2];if(j>>>0>>0|f>>>0>j-c>>>0){break h}f=C[b+12>>2]-f|0;C[b+12>>2]=f;if((f|0)<=0){break h}}d=1;if(!e){break h}if(g>>>0<4096){break h}f=a+4|0;e=0;while(1){d=mk(f,b,a,c);if(!d){break h}c=(i<<1)+c|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}return d;case 1:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;j:{k:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break j;case 0:break k;default:break a}}d=0;e=Ce-32|0;Ce=e;l:{if(F[b+4>>2]>a>>>0){break l}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break l}g=C[b+12>>2];c=g-10|0;C[b+12>>2]=c;if((c|0)<=0){break l}c=D[a+6|0]|D[a+7|0]<<8;d=D[a+4|0]|D[a+5|0]<<8;C[e+20>>2]=a+4;d=qT(d);C[e+24>>2]=d;q=e,r=(qT(c)+d|0)+1|0,C[q+28>>2]=r;m:{c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break m}d=g-12|0;C[b+12>>2]=d;if((d|0)<=0){break m}d=D[c|0]|D[c+1|0]<<8;n:{if(!d){break n}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break n}d=C[b+28>>2];if(d>>>0>31){break m}C[b+28>>2]=d+1;if(!D[b+24|0]){break m}A[c|0]=0;A[c+1|0]=0}C[e+16>>2]=a;C[e+12>>2]=e+20;c=0;o:{p:{i=a+8|0;q:{if(i>>>0>2]){break q}a=C[b+8>>2];if(a>>>0>>0|a-i>>>0<2){break q}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break q}g=D[i|0]|D[i+1|0]<<8;d=1;if(!g){break o}d=i+2|0;if(d>>>0>a>>>0){break q}h=a-d|0;a=(g<<8|g>>>8)&65535;d=a<<1;if(h>>>0>>0){break q}d=f-d|0;C[b+12>>2]=d;if((d|0)<=0){break q}p=a>>>0<=1?1:a;while(1){h=(i+(n<<1)|0)+2|0;if(h>>>0>2]){break p}a=C[b+8>>2];if(a>>>0>>0|a-h>>>0<2){break p}d=C[e+16>>2];a=C[b+12>>2]-2|0;C[b+12>>2]=a;if((a|0)<=0){break p}c=D[h|0]|D[h+1|0]<<8;r:{if(!c){break r}j=C[e+12>>2];a=0;f=d+((c<<8|c>>>8)&65535)|0;s:{t:{if(f>>>0>2]){break t}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break t}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break t}k=C[j+8>>2];m=D[f|0]|D[f+1|0]<<8;o=(m<<8|m>>>8)&65535;g=o<<1;if(g>>>0>=4294967295/(k>>>0)>>>0?k:0){break t}g=I(g,k);if(g){l=f+2|0;if(c>>>0>>0|g>>>0>c-l>>>0){break t}c=d-g|0;C[b+12>>2]=c;if((c|0)<=0){break t}}c=f+4|0;g=C[j>>2];if(!(!m|(D[g|0]|D[g+1|0]<<8)>>>0<4096)){l=0;a=c;while(1){d=0;if(!mk(g,b,f,a)){break s}a=(k<<1)+a|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}k=C[j+8>>2];g=C[j>>2]}a=1;if(!m|(D[g+2|0]|D[g+3|0]<<8)>>>0<4096){break t}d=g+2|0;l=0;a=C[j+4>>2];c=(a|0)<0?205712:c+(a<<1)|0;g=k<<1;while(1){a=mk(d,b,f,c);if(!a){break t}c=c+g|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}}d=a}if(d){break r}a=C[b+28>>2];if(a>>>0>31){break p}C[b+28>>2]=a+1;if(!D[b+24|0]){break p}A[h|0]=0;A[h+1|0]=0}c=1;n=n+1|0;if((p|0)!=(n|0)){continue}break}}d=c;break o}d=0}break l}d=0}Ce=e+32|0;return d}c=0;u:{v:{if(F[b+4>>2]>a>>>0){break v}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<16){break v}f=C[b+12>>2];d=f-16|0;C[b+12>>2]=d;if((d|0)<=0){break v}d=a+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break v}e=f-18|0;C[b+12>>2]=e;if((e|0)<=0){break v}e=D[d|0]|D[d+1|0]<<8;w:{if(!e){break w}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break w}e=C[b+28>>2];if(e>>>0>31){break v}C[b+28>>2]=e+1;if(!D[b+24|0]){break v}A[d|0]=0;A[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break v}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break v}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break v}e=D[d|0]|D[d+1|0]<<8;x:{if(!e){break x}if(_i(((e<<8|e>>>8)&65535)+a|0,b)){break x}e=C[b+28>>2];if(e>>>0>31){break v}C[b+28>>2]=e+1;if(!D[b+24|0]){break v}A[d|0]=0;A[d+1|0]=0}d=a+10|0;if(d>>>0>2]){break v}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break v}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break v}e=D[d|0]|D[d+1|0]<<8;y:{if(!e){break y}if(_i(((e<<8|e>>>8)&65535)+a|0,b)){break y}e=C[b+28>>2];if(e>>>0>31){break v}C[b+28>>2]=e+1;if(!D[b+24|0]){break v}A[d|0]=0;A[d+1|0]=0}d=D[a+14|0]|D[a+15|0]<<8;e=(d<<8|d>>>8)&65535;d=D[a+12|0]|D[a+13|0]<<8;g=I(e,(d<<8|d>>>8)&65535);k=D[a+4|0]|D[a+5|0]<<8;j=qT(k);e=D[a+6|0]|D[a+7|0]<<8;i=qT(e)+j|0;f=i<<1;if(g>>>0>=4294967295/(f>>>0)>>>0?i:0){break v}d=a+16|0;f=I(f,g);if(f){if(d>>>0>2]){break v}h=C[b+8>>2];if(h>>>0>>0|f>>>0>h-d>>>0){break v}f=C[b+12>>2]-f|0;C[b+12>>2]=f;if((f|0)<=0){break v}}h=a+6|0;if(!(!g|k>>>0<4096)){k=a+4|0;e=0;c=d;while(1){f=0;if(!mk(k,b,a,c)){break u}c=(i<<1)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}e=D[h|0]|D[h+1|0]<<8}c=1;if(!g|e>>>0<4096){break v}e=d+(j<<1)|0;d=0;while(1){c=mk(h,b,a,e);if(!c){break v}e=(i<<1)+e|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}f=c}return f;case 2:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}z:{A:{c=a+2|0;if(c>>>0>2]){break A}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break A}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break A}d=D[c|0]|D[c+1|0]<<8;B:{if(!d){break B}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break B}d=C[b+28>>2];if(d>>>0>31){break A}C[b+28>>2]=d+1;if(!D[b+24|0]){break A}A[c|0]=0;A[c+1|0]=0}d=a+4|0;if(d>>>0>2]){break A}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break A}f=C[b+12>>2]-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break A}d=D[d|0]|D[d+1|0]<<8;if(!d){break z}c=a+6|0;if(c>>>0>e>>>0){break A}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<2;if(e>>>0>>0){break A}e=f-c|0;C[b+12>>2]=e;c=0;if((e|0)<=0){break z}e=d>>>0<=1?1:d;d=0;while(1){c=(d<<2)+a|0;if(!Qm(c+6|0,b,a)){break A}if(!Qm(c+8|0,b,a)){break A}c=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break z}c=0}return c;case 3:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ox(a,b);case 4:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}g=Ce-16|0;Ce=g;C:{if(F[b+4>>2]>a>>>0){break C}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<=11){break C}f=C[b+12>>2];c=f-12|0;C[b+12>>2]=c;if((c|0)<=0){break C}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break C}d=f-14|0;C[b+12>>2]=d;if((d|0)<=0){break C}d=D[c|0]|D[c+1|0]<<8;D:{if(!d){break D}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break D}d=C[b+28>>2];if(d>>>0>31){break C}C[b+28>>2]=d+1;if(!D[b+24|0]){break C}A[c|0]=0;A[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break C}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break C}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break C}d=D[c|0]|D[c+1|0]<<8;E:{if(!d){break E}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break E}d=C[b+28>>2];if(d>>>0>31){break C}C[b+28>>2]=d+1;if(!D[b+24|0]){break C}A[c|0]=0;A[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break C}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break C}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break C}d=D[c|0]|D[c+1|0]<<8;F:{if(!d){break F}d=((d<<8|d>>>8)&65535)+a|0;C[g+12>>2]=d;if(Nx(d,b,g+12|0)){break F}d=C[b+28>>2];if(d>>>0>31){break C}C[b+28>>2]=d+1;if(!D[b+24|0]){break C}A[c|0]=0;A[c+1|0]=0}c=D[a+6|0]|D[a+7|0]<<8;C[g+8>>2]=(c<<8|c>>>8)&65535;i=C[b+4>>2];f=a+10|0;c=0;G:{if(i>>>0>f>>>0){break G}d=C[b+8>>2];c=0;if(d>>>0>>0){break G}c=0;if(d-f>>>0<2){break G}h=C[b+12>>2];j=h-2|0;C[b+12>>2]=j;e=1;c=0;if((j|0)<=0){break G}j=g+8|0;c=D[f|0]|D[f+1|0]<<8;H:{if(!c){break H}I:{a=((c<<8|c>>>8)&65535)+a|0;if(a>>>0>>0|a>>>0>d>>>0|d-a>>>0<2){break I}c=h-4|0;C[b+12>>2]=c;if((c|0)<=0){break I}i=D[a|0]|D[a+1|0]<<8;if(!i){break H}e=a+2|0;if(e>>>0>d>>>0){break I}h=d-e|0;d=(i<<8|i>>>8)&65535;e=d<<1;if(h>>>0>>0){break I}c=c-e|0;C[b+12>>2]=c;if((c|0)<=0){break I}c=d>>>0<=1?1:d;d=0;while(1){if(!Mx((a+(d<<1)|0)+2|0,b,a,j)){break I}e=1;d=d+1|0;if((c|0)!=(d|0)){continue}break}break H}a=C[b+28>>2];c=0;if(a>>>0>31){break G}C[b+28>>2]=a+1;e=0;if(!D[b+24|0]){break H}A[f|0]=0;A[f+1|0]=0;e=1}c=e}e=c}Ce=g+16|0;return e;case 5:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ox(a,b);case 6:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;J:{K:{L:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break J;case 1:break K;case 0:break L;default:break a}}return gy(a,b)}return fy(a,b)}return ey(a,b);case 7:return dy(a,b);case 8:break b;default:break a}}c=0;M:{if(F[b+4>>2]>a>>>0){break M}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break M}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break M}c=1;if((D[a|0]|D[a+1|0]<<8)!=256){break M}c=0;N:{if(F[b+4>>2]>a>>>0){break N}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break N}d=C[b+12>>2]-8|0;C[b+12>>2]=d;if((d|0)<=0){break N}d=D[a+2|0]|D[a+3|0]<<8;if((d|0)==2304){break N}c=a;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c=Px(a?c+a|0:205712,b,(d<<8|(d&65280)>>>8)&65535)}}d=c}return d}function tC(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];C[c>>2]=((I(n,b>>>8&255)>>>0)/255|0)+h<<8|((I(n,b&255)>>>0)/255|0)+i|((I(n,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=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break d}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}while(1){a=C[j>>2];b=(a>>>16&255)+g|0;d=(b>>>0>=255?255:b)<<16;b=(a>>>8&255)+h|0;a=(a&255)+i|0;C[j>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);j=j+4|0;c=c-1|0;if(c){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break e}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}while(1){a=C[j>>2];C[j>>2]=(I(a>>>8&255,h)>>>0)/255<<8|(I(a&255,i)>>>0)/255|(I(a>>>16&255,g)>>>0)/255<<16;j=j+4|0;c=c-1|0;if(c){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];d=b>>>16&255;d=((I(d,g)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;e=(d>>>0>=255?255:d)<<16;d=b>>>8&255;d=((I(d,h)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;C[c>>2]=e|(d>>>0>=255?255:d)<<8|(b>>>0>=255?255:b);c=c+4|0;a=a-1|0;if(a){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break g}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=h<<8|g<<16|i;c=b-1|0;d=b&7;if(d){i=0;while(1){C[j>>2]=a;j=j+4|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){C[j+28>>2]=a;C[j+24>>2]=a;C[j+20>>2]=a;C[j+16>>2]=a;C[j+12>>2]=a;C[j+8>>2]=a;C[j+4>>2]=a;C[j>>2]=a;j=j+32|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];C[b>>2]=((I(n,c>>>8&255)>>>0)/255|0)+h<<8|((I(n,c&255)>>>0)/255|0)+i|((I(n,c>>>16&255)>>>0)/255|0)+g<<16;b=b+d|0;a=a-1|0;if(a){continue}break};break a;case 1:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break j}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[j>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 3:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break k}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];C[j>>2]=(I(a>>>8&255,h)>>>0)/255<<8|(I(a&255,i)>>>0)/255|(I(a>>>16&255,g)>>>0)/255<<16;j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];e=c>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=c>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;c=c&255;c=((I(c,i)>>>0)/255|0)+((I(c,n)>>>0)/255|0)|0;C[b>>2]=f|(e>>>0>=255?255:e)<<8|(c>>>0>=255?255:c);b=b+d|0;a=a-1|0;if(a){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<2)|0)+(d<<2)|0;break m}j=c-e|0;b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0}a=0;c=((k|0)!=0)+j|0;if(!c){break a}d=h<<8|g<<16|i;e=c-1|0;g=c&7;if(g){h=f<<2;while(1){C[b>>2]=d;c=c-1|0;b=b+h|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(e>>>0<7){break a}a=f<<2;while(1){C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;c=c-8|0;if(c){continue}break}break a}o=b-d|0;j=o>>31;m=c-e|0;l=m>>31;if(((j^o)-j|0)==((l^m)-l|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];C[a>>2]=((I(n,b>>>8&255)>>>0)/255|0)+h<<8|((I(n,b&255)>>>0)/255|0)+i|((I(n,b>>>16&255)>>>0)/255|0)+g<<16;a=a+d|0;c=c-1|0;if(c){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[j>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];C[j>>2]=(I(a>>>8&255,h)>>>0)/255<<8|(I(a&255,i)>>>0)/255|(I(a>>>16&255,g)>>>0)/255<<16;j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];e=b>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=b>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;C[a>>2]=f|(e>>>0>=255?255:e)<<8|(b>>>0>=255?255:b);a=a+d|0;c=c-1|0;if(c){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<2)|0)+(b<<2)|0;break s}a=(a+(I(e,f)<<2)|0)+(d<<2)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<2)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=h<<8|g<<16|i;f=b-1|0;g=b&7;if(g){h=e<<2;while(1){C[a>>2]=d;b=b-1|0;a=a+h|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<2;while(1){C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:j=d-b|0;f=j>>31;l=e-c|0;m=l>>31;j=(f^j)-f|0;l=(l^m)-m|0;u:{if(j>>>0>=l>>>0){o=l-j|0;m=l<<1;f=m-j|0;l=1;break u}o=j-l|0;p=1;m=j<<1;f=m-l|0;j=l;l=0}j=((k|0)!=0)+j|0;if(!j){break a}e=(c|0)>(e|0);k=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;r=C[a+20>>2];d=0;while(1){s=(r+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[s>>2];C[s>>2]=((I(n,e&255)>>>0)/255|0)+i|((I(n,e>>>8&255)>>>0)/255|0)+h<<8|((I(n,e>>>16&255)>>>0)/255|0)+g<<16;e=(f|0)<0;f=(e?m:o)+f|0;b=(e?l:q)+b|0;c=(e?k:p)+c|0;d=d+1|0;if((j|0)!=(d|0)){continue}break};break a;case 1:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;v:{if(f>>>0>=l>>>0){o=l-f|0;m=l<<1;j=m-f|0;l=1;break v}o=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}k=((k|0)!=0)+f|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;r=C[a+20>>2];d=0;while(1){s=(r+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[s>>2];f=(e>>>16&255)+g|0;t=(f>>>0>=255?255:f)<<16;f=(e>>>8&255)+h|0;e=(e&255)+i|0;C[s>>2]=t|(f>>>0>=255?255:f)<<8|(e>>>0>=255?255:e);e=(j|0)<0;j=(e?m:o)+j|0;b=(e?l:q)+b|0;c=(e?n:p)+c|0;d=d+1|0;if((k|0)!=(d|0)){continue}break};break a;case 3:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;w:{if(f>>>0>=l>>>0){p=l-f|0;m=l<<1;j=m-f|0;l=1;break w}p=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;n=e?-1:1;o=d?-1:1;p=p<<1;q=C[a+20>>2];d=0;while(1){r=(q+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[r>>2];C[r>>2]=(I(e&255,i)>>>0)/255|(I(e>>>8&255,h)>>>0)/255<<8|(I(e>>>16&255,g)>>>0)/255<<16;e=(j|0)<0;j=(e?m:p)+j|0;b=(e?l:o)+b|0;c=(e?k:n)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;x:{if(m>>>0>=l>>>0){o=l-m|0;j=l<<1;f=j-m|0;l=1;break x}o=m-l|0;p=1;j=m<<1;f=j-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;r=d?-1:1;o=o<<1;s=C[a+20>>2];d=0;while(1){t=(s+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[t>>2];k=e>>>16&255;k=((I(k,g)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;u=(k>>>0>=255?255:k)<<16;k=e>>>8&255;k=((I(k,h)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;e=e&255;e=((I(e,i)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;C[t>>2]=u|(k>>>0>=255?255:k)<<8|(e>>>0>=255?255:e);e=(f|0)<0;f=(e?j:o)+f|0;b=(e?l:r)+b|0;c=(e?p:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;y:{if(m>>>0>=l>>>0){o=l-m|0;f=l<<1;j=f-m|0;l=1;break y}o=m-l|0;p=1;f=m<<1;j=f-l|0;m=l;l=0}k=((k|0)!=0)+m|0;if(!k){break a}g=h<<8|g<<16|i;h=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;m=(b|0)>(d|0);d=m?0-l|0:l;i=i?-1:1;m=m?-1:1;l=o<<1;o=k&-2;n=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g;p=c;c=(j|0)<0;p=p+(c?e:i)|0;b=(c?d:m)+b|0;C[(h+I(p,C[a+16>>2])|0)+(b<<2)>>2]=g;j=(c?f:l)+j|0;c=(j|0)<0;j=(c?f:l)+j|0;b=b+(c?d:m)|0;c=p+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g}}function xO(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0;n=Ce-16|0;Ce=n;C[n+8>>2]=b;C[n+12>>2]=a;d=n+4^(n+8^n+12);d=(d>>20^d>>>10^d)&65535;C[n+4>>2]=d?d:29572;o=a+1140|0;C[a+1344>>2]=o;C[a+1136>>2]=a+112;C[a+64>>2]=0;l=C[a+72>>2];d=C[a+1488>>2];a:{if(!d){break a}k=C[a+1492>>2];if(!k){break a}p(d,0,k<<2);b=C[n+8>>2]}C[a+1140>>2]=b;u=b+c|0;C[a+1148>>2]=u;C[a+1144>>2]=b;i=C[a+28>>2];h=C[a+24>>2];if(l){Fe[C[l+4>>2]](C[l>>2])}b:{c:{if((c|0)<=0){break c}e=C[n+12>>2];v=h;k=0;while(1){m=b+1|0;s=C[e+1136>>2];j=0;d=0;x=0;c=0;f=16;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{w=D[b|0];switch(w-1|0){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 h;case 11:break j;case 30:break k;case 29:break l;case 21:break m;case 20:break n;case 14:break o;case 13:break p;case 12:break q;case 10:break r;case 9:break s;case 8:break t;case 7:break u;case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 2:break z;case 0:break d;default:break i}}f=18;break e}f=14;break e}f=9;break e}f=6;break e}f=13;break e}f=11;break e}f=5;break e}f=22;break e}f=24;break e}f=2;break e}f=1;break e}f=26;break e}f=10;break e}f=7;break e}f=12;break e}f=8;break e}m=b+2|0;f=15;g=160;A:{B:{C:{D:{E:{F:{G:{H:{j=D[b+1|0];switch(j|0){case 33:break A;case 17:break B;case 16:break C;case 12:break D;case 7:break E;case 6:break F;case 2:break G;case 1:break H;case 0:break d;default:break b}}f=19;break e}f=17;break e}f=3;break e}f=4;break e}f=20;x=1;j=0;break d}f=21;c=1;j=0;break d}f=23;break e}f=25;break e}if((w|0)==255){break g}}g=160;if(w>>>0<32){break b}if(w>>>0<=246){c=w-139|0}else{b=b+2|0;if(b>>>0>u>>>0){break b}c=D[m|0];m=b;b=w<<8;c=w>>>0<=250?(b+c|0)-63124|0:64148-(b|c)|0}b=c;d=b<<16;b=q&255;j=b?c:d;q=(b|0)!=0;break f}m=b+5|0;if(u>>>0>>0){g=160;break b}b=D[b+1|0]|D[b+2|0]<<8|(D[b+3|0]<<16|D[b+4|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(j-32001>>>0<4294903295){d=1;f=0;q=1;break d}b=q&255;j=b?j:j<<16;q=(b|0)!=0}d=1;c=0;f=0;break d}j=0}if(1<>>0>24:1){k=0}I:{if(d){if(((s-e|0)-112|0)>1020){g=160;break b}C[s>>2]=j;C[e+1136>>2]=s+4;break I}q=d?q:x?q:q&255?0:q;J:{K:{L:{if(c){g=161;b=e+112|0;if((s-b|0)<8){break b}d=s-8|0;f=C[d>>2];c=f>>16;if((c|0)>d-b>>2){break b}d=d-(c<<2)|0;k=0;r=0;M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{s=C[s-4>>2];j=s>>16;switch(j|0){case 12:case 13:break J;case 28:break N;case 27:break O;case 25:break P;case 24:break Q;case 23:break R;case 22:break S;case 21:break T;case 20:break U;case 19:break V;case 14:case 15:case 16:case 17:case 18:break W;case 3:break X;case 2:break Y;case 1:break Z;case 0:break _;default:break M}}g=160;if(!C[e+1400>>2]|(c|0)!=3|C[e+1404>>2]!=7){break b}C[d+4>>2]=i;C[d>>2]=h;r=2;b=d;break J}if(f>>>0>65535){g=160;break b}C[e+1400>>2]=1;C[e+1404>>2]=0;g=Oi(a,h,i);if(g){break b}b=d;g=Nk(a,6);if(!g){break J}break b}g=160;if(!C[e+1400>>2]|f>>>0>65535){break b}b=C[e+1404>>2];C[e+1404>>2]=b+1;if(b-1>>>0>5){break K}Kh(a,h,i,(b|0)==3|(b|0)==6);break K}if((c|0)!=1){g=160;break b}r=1;if(!l){b=d;break J}Fe[C[l+20>>2]](C[l>>2],B[C[a+20>>2]+2>>1]);b=d;break J}g=160;k=C[e+1464>>2];if(!k){break b}e=C[k>>2];r=(j+((j|0)==18)|0)-13|0;if((c|0)!=(I(e,r)|0)){break b}c=d+(r<<2)|0;x=0;j=d;while(1){f=C[j>>2];b=1;if(e>>>0>=2){while(1){f=Te(C[c>>2],C[C[k+136>>2]+(b<<2)>>2])+f|0;c=c+4|0;b=b+1|0;e=C[k>>2];if(b>>>0>>0){continue}break}}C[j>>2]=f;j=j+4|0;x=x+1|0;if((x|0)!=(r|0)){continue}break}k=0;b=d;break J}g=160;if((c|0)!=1){break b}b=C[e+1464>>2];if(!b){break b}c=C[d>>2];if((c|0)<0){break b}f=C[b>>2];c=c>>16;if(F[e+1492>>2]>>0){break b}t(C[e+1488>>2]+(c<<2)|0,C[b+136>>2],f<<2);break K}if((c|0)!=2){g=160;break b}C[d>>2]=C[d>>2]+C[d+4>>2];break L}if((c|0)!=2){g=160;break b}C[d>>2]=C[d>>2]-C[d+4>>2];break L}if((c|0)!=2){g=160;break b}y=d,z=Te(C[d>>2],C[d+4>>2]),C[y>>2]=z;break L}g=160;if((c|0)!=2){break b}b=C[d+4>>2];if(!b){break b}y=d,z=Ze(C[d>>2],b),C[y>>2]=z;break L}g=160;if(!C[e+1464>>2]|(c|0)!=2){break b}b=C[d+4>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=F[e+1492>>2]){break b}C[C[e+1488>>2]+(b<<2)>>2]=C[d>>2];break K}g=160;if(!C[e+1464>>2]|(c|0)!=1){break b}b=C[d>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=F[e+1492>>2]){break b}C[d>>2]=C[C[e+1488>>2]+(b<<2)>>2];break L}if((c|0)!=4){g=160;break b}r=1;if(C[d+8>>2]<=C[d+12>>2]){b=d;break J}C[d>>2]=C[d+4>>2];b=d;break J}if(f>>>0>65535){g=160;break b}b=C[n+4>>2];C[d>>2]=((b|0)>32767)+b;b=C[n+4>>2];b=Te(b,65536-b|0);C[n+4>>2]=b?b:10355;break L}g=160;if((f|0)<0){break b}b=d;k=c;if((s|0)<0){break b}break J}b=C[(f<<2)+288384>>2];if((b|0)>(s-e|0)-112>>2){g=161;break b}b=s-(b<<2)|0;g=160;$:{aa:{ba:{ca:{switch(f-1|0){case 0:b=C[a+20>>2];da:{if(!b){break da}c=0;d=E[b>>1];k=d<<16>>16;if((k|0)>=2){c=B[(C[b+12>>2]+(d<<1)|0)-4>>1]+1|0}m=E[b+2>>1];d=m<<16>>16;ea:{if((d|0)<2){break ea}f=C[b+4>>2];h=f+(c<<3)|0;f=(f+(m<<3)|0)-8|0;if(C[h>>2]!=C[f>>2]|C[h+4>>2]!=C[f+4>>2]|D[(m+C[b+8>>2]|0)-1|0]!=1){break ea}d=d-1|0;B[b+2>>1]=d}if((k|0)<=0){break da}h=c;c=(d<<16>>16)-1|0;if((h|0)==(c|0)){B[b+2>>1]=d-1;B[b>>1]=k-1;break da}B[(C[b+12>>2]+(k<<1)|0)-2>>1]=c}if(l){if(Fe[C[l+8>>2]](C[l>>2],B[b+2>>1])|0){break b}g=Fe[C[l+24>>2]](C[l>>2],C[a+20>>2],C[a+76>>2],C[C[n+12>>2]+1468>>2])|0;if(g){break b}}ik(C[a+12>>2]);break c;case 1:C[a+64>>2]=1;C[a+32>>2]=C[a+32>>2]+C[b>>2];c=C[b+4>>2];g=0;C[a+44>>2]=0;C[a+40>>2]=c;if(D[a+70|0]){break b}i=C[a+28>>2];v=C[b>>2]+C[a+24>>2]|0;h=v;break aa;case 2:if(D[e+1496|0]|D[e+70|0]){break b}h=C[b+16>>2];c=h>>16;j=C[b+12>>2];f=j>>16;d=C[b+8>>2];q=C[b+4>>2];m=C[b>>2];u=C[e+32>>2];a=C[C[C[e+4>>2]+128>>2]+48>>2];if(!C[e+1356>>2]){if(!a){break b}break $}if(a){break $}k=-1;fa:{if(j>>>0>16777215){break fa}a=C[e+1348>>2];a=Fe[C[a+20>>2]](E[C[a+24>>2]+(f<<1)>>1])|0;j=C[e+1352>>2];if(!j){break fa}v=C[e+1356>>2];b=0;while(1){ga:{f=C[v+(b<<2)>>2];if(!f|D[f|0]!=D[a|0]){break ga}if(Se(f,a)){break ga}k=b;break fa}b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(h>>>0>16777215){break b}a=C[e+1348>>2];a=Fe[C[a+20>>2]](E[C[a+24>>2]+(c<<1)>>1])|0;f=C[e+1352>>2];if(!f){break b}h=C[e+1356>>2];c=0;while(1){ha:{b=C[h+(c<<2)>>2];if(!b|D[b|0]!=D[a|0]){break ha}if(Se(b,a)){break ha}f=k;break $}c=c+1|0;if((f|0)!=(c|0)){continue}break};break b;case 3:C[a+64>>2]=1;C[a+32>>2]=C[a+32>>2]+C[b>>2];C[a+36>>2]=C[a+36>>2]+C[b+4>>2];C[a+40>>2]=C[b+8>>2];C[a+44>>2]=C[b+12>>2];if(D[a+70|0]){break c}i=C[b+4>>2]+C[a+28>>2]|0;h=C[b>>2]+C[a+24>>2]|0;break aa;case 4:if((C[a+64>>2]&-2)==2){xv(a)}C[a+64>>2]=1;break aa;case 5:g=Oi(a,h,i);if(g){break b}h=C[b>>2]+h|0;break ba;case 6:h=C[b>>2]+h|0;if(C[e+1400>>2]){break aa}if(!C[a+64>>2]){break b}C[a+64>>2]=2;break aa;case 7:g=Oi(a,h,i);if(g){break b}g=Nk(a,3);if(g){break b}c=C[b>>2]+h|0;Kh(a,c,i,0);h=c+C[b+4>>2]|0;c=C[b+8>>2]+i|0;Kh(a,h,c,0);i=c+C[b+12>>2]|0;Kh(a,h,i,1);break aa;case 8:g=Oi(a,h,i);if(g){break b}i=C[b+4>>2]+i|0;h=C[b>>2]+h|0;break ba;case 9:i=C[b+4>>2]+i|0;h=C[b>>2]+h|0;if(C[e+1400>>2]){break aa}if(!C[a+64>>2]){break b}C[a+64>>2]=2;break aa;case 10:g=Oi(a,h,i);if(g){break b}g=Nk(a,3);if(g){break b}c=C[b>>2]+h|0;d=C[b+4>>2]+i|0;Kh(a,c,d,0);c=c+C[b+8>>2]|0;d=d+C[b+12>>2]|0;Kh(a,c,d,0);h=c+C[b+16>>2]|0;i=d+C[b+20>>2]|0;Kh(a,h,i,1);break aa;case 11:g=Oi(a,h,i);if(g){break b}g=Nk(a,3);if(g){break b}c=C[b>>2]+i|0;Kh(a,h,c,0);d=C[b+4>>2]+h|0;i=c+C[b+8>>2]|0;Kh(a,d,i,0);h=d+C[b+12>>2]|0;Kh(a,h,i,1);break aa;case 12:g=Oi(a,h,i);if(g){break b}i=C[b>>2]+i|0;break ba;case 13:i=C[b>>2]+i|0;if(C[e+1400>>2]){break aa}if(!C[a+64>>2]){break b}C[a+64>>2]=2;break aa;case 19:y=b,z=Ze(C[b>>2],C[b+4>>2]),C[y>>2]=z;b=b+4|0;q=0;break aa;case 21:c=C[b>>2];if((c|0)<0){break b}d=c>>16;if(((o-e|0)-1140|0)>180|(d|0)>=C[e+1364>>2]){break b}C[o>>2]=m;d=d<<2;c=C[n+12>>2];f=d+C[c+1368>>2]|0;m=C[f>>2];C[o+16>>2]=m;j=C[c+1372>>2];ia:{if(j){u=C[d+j>>2]+m|0;break ia}d=C[c+1360>>2];m=((d|0)>0?d:0)+m|0;C[o+16>>2]=m;u=C[f+4>>2]}C[o+12>>2]=m;C[o+20>>2]=u;if(!m){break b}o=o+12|0;C[c+1344>>2]=o;break aa;case 22:if((r|0)>0){r=r-1|0;break aa}if(!k){break b}b=b+4|0;k=k-1|0;break aa;case 23:if(e+1140>>>0>=o>>>0){break b}o=o-12|0;m=C[o>>2];u=C[o+8>>2];C[e+1344>>2]=o;break aa;case 15:if(!l){break aa}Fe[C[l+12>>2]](C[l>>2],1,b);break aa;case 16:if(!l){break aa}Fe[C[l+16>>2]](C[l>>2],1,b);break aa;case 17:if(!l){break aa}C[b>>2]=C[b>>2]+v;Fe[C[l+12>>2]](C[l>>2],0,b);break aa;case 18:if(!l){break aa}C[b>>2]=C[b>>2]+v;C[b+8>>2]=C[b+8>>2]+v;C[b+16>>2]=C[b+16>>2]+v;Fe[C[l+16>>2]](C[l>>2],0,b);break aa;case 14:case 25:break aa;case 24:break ca;default:break b}}i=C[b+4>>2];h=C[b>>2];C[e+1400>>2]=0;break aa}c=C[a+12>>2];if((B[c+22>>1]+B[c+58>>1]|0)+1>>>0>F[c+4>>2]){g=Qg(c,1,0);if(g){break b}}d=C[a+20>>2];if(D[a+68|0]){j=C[d+8>>2];e=B[d+2>>1];c=C[d+4>>2]+(e<<3)|0;C[c>>2]=((h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0)>>16;C[c+4>>2]=((i|0)>=0?i+32768&-65536:0-(32768-i&-65536)|0)>>16;A[e+j|0]=1}B[d+2>>1]=E[d+2>>1]+1}e=C[n+12>>2];C[e+1136>>2]=b;break I}if((f|c)<0){break b}h=q+u|0;if(D[e+69|0]){b=C[e+8>>2];k=C[C[b+156>>2]>>2];g=Mw(k,2);if(g){break b}a=C[k+88>>2];C[a+32>>2]=c;C[a+8>>2]=0;C[a+12>>2]=0;B[a+4>>1]=514;C[a>>2]=f;B[a+36>>1]=2;c=h-m|0;C[a+40>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;C[a+44>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;C[b+128>>2]=2;a=C[k+52>>2];C[b+72>>2]=1668246896;C[b+132>>2]=a;C[k+84>>2]=2;break c}a=C[e+12>>2];C[a+56>>2]=0;C[a+84>>2]=0;b=B[a+22>>1];C[a- -64>>2]=b+C[a+28>>2];C[a+68>>2]=C[a+32>>2]+(B[a+20>>1]<<1);b=b<<3;C[a+60>>2]=b+C[a+24>>2];if(D[a+16|0]){C[a+76>>2]=b+C[a+40>>2];C[a+80>>2]=b+C[a+44>>2]}C[a+88>>2]=C[a+52>>2]+(C[a+48>>2]<<5);A[e+1496|0]=1;g=Fe[C[e+1472>>2]](e,f)|0;A[e+1496|0]=0;if(g){break b}A[e+1496|0]=1;C[e+28>>2]=d;a=C[e+32>>2];d=C[e+36>>2];C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=h-m;b=C[e+40>>2];k=C[e+44>>2];g=Fe[C[e+1472>>2]](e,c)|0;A[e+1496|0]=0;if(g){break b}C[e+40>>2]=b;C[e+44>>2]=k;C[e+32>>2]=a;C[e+36>>2]=d;C[e+24>>2]=0;C[e+28>>2]=0;break c}r=1;b=d;break J}b=d}e=C[n+12>>2];C[e+1136>>2]=(r<<2)+b}b=m;if(u>>>0>b>>>0){continue}break}}g=0}Ce=n+16|0;return g|0}function jF(a){a=a|0;var 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;m=C[a+28>>2];if(m){o=C[a+36>>2];p=C[a+16>>2];b=C[a+40>>2];c=C[a+24>>2];q=c&7;r=(c+7|0)/8|0;f=C[a>>2];a=C[a+20>>2];k=D[b+9|0];l=k-1|0;while(1){m=m-1|0;n=r;a:{b:{switch(q-1|0){default:d=7;break a;case 0:d=6;break a;case 1:d=5;break a;case 2:d=4;break a;case 3:d=3;break a;case 4:d=2;break a;case 5:d=1;break a;case 6:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=0;e=0;c=0;h=0;g=0;e:{f:{g:{h:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break g;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break g;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break g;case 3:break h;default:break f}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break e}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=1;continue;case 1:d=0;e=0;c=0;h=0;g=0;i:{j:{k:{l:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break k;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break k;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break k;case 3:break l;default:break j}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break i}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=2;continue;case 2:d=0;e=0;c=0;h=0;g=0;m:{n:{o:{p:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break o;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break o;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break o;case 3:break p;default:break n}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break m}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=3;continue;case 3:d=0;e=0;c=0;h=0;g=0;q:{r:{s:{t:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break s;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break s;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break s;case 3:break t;default:break r}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break q}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=4;continue;case 4:d=0;e=0;c=0;h=0;g=0;u:{v:{w:{x:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break w;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break w;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break w;case 3:break x;default:break v}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break u}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=5;continue;case 5:d=0;e=0;c=0;h=0;g=0;y:{z:{A:{B:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break A;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break A;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break A;case 3:break B;default:break z}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break y}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=6;continue;case 6:d=0;e=0;c=0;h=0;g=0;C:{D:{E:{F:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break E;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break E;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break E;case 3:break F;default:break D}}c=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break C}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;if((n|0)<=1){break c}n=n-1|0;d=7;continue;default:break d}}h=0;d=0;c=0;e=0;g=0;G:{H:{I:{J:{switch(l|0){case 0:e=D[f|0];d=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((e&C[b+24>>2])>>>D[b+35|0]|0)|0];e=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break I;case 1:e=E[f>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((e&C[b+24>>2])>>>D[b+35|0]|0)|0];e=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break I;case 2:d=(D[b+34|0]>>>3|0)+f|0;h=(D[b+33|0]>>>3|0)+f|0;c=255;e=(D[b+32|0]>>>3|0)+f|0;break I;case 3:break J;default:break H}}e=C[f>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;c=D[C[(D[b+31|0]<<2)+381104>>2]+((e&C[b+24>>2])>>>D[b+35|0]|0)|0];e=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0}i=D[e|0];j=i<<22|3145728;d=D[d|0];e=d;h=D[h|0];g=h;if(i){break G}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(e?d<<2|3:0)|(g?h<<12|3072:0);f=f+k|0;a=a+4|0;d=0;continue}break}a=a+o|0;f=f+p|0;if(m){continue}break}}}function qk(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=J(0),z=0,B=J(0),E=0,H=0,L=0,M=0,N=0;z=1;o=C[b+28>>2];a:{if(!o){break a}b:{if(C[o+8>>2]<=0){break b}d=C[o>>2];if((d|0)<64|(d|0)>C[o+4>>2]){break b}e=C[o+3656>>2];u=We(a,0,112);w=df(1,136);C[u+4>>2]=b;C[u+104>>2]=w;M=w,N=tg(C[o+8>>2]-1|0),C[M+44>>2]=N;d=df(1,4);C[w+12>>2]=d;c=df(1,4);C[w+16>>2]=c;f=d;d=df(1,20);C[f>>2]=d;M=c,N=df(1,20),C[M>>2]=N;Es(d,C[o>>2]>>e);Es(C[C[w+16>>2]>>2],C[o+4>>2]>>e);M=w,N=tg(C[o>>2])-7|0,C[M+4>>2]=N;M=w,N=tg(C[o+4>>2])-7|0,C[M+8>>2]=N;c:{if(C[o+2848>>2]){break c}c=C[o+24>>2];M=o,N=df(c,56),C[M+2848>>2]=N;if((c|0)<=0){break c}l=C[o+1824>>2];d:{if(!l){break d}z=o+1824|0;while(1){c=0;d=0;e=0;j=0;p=Ce;L=p;h=C[o+2848>>2]+I(E,56)|0;C[h>>2]=0;C[h+4>>2]=0;C[h+48>>2]=0;C[h+52>>2]=0;C[h+40>>2]=0;C[h+44>>2]=0;C[h+32>>2]=0;C[h+36>>2]=0;C[h+24>>2]=0;C[h+28>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;e:{f:{k=C[l+4>>2];if((k|0)<=0){C[h+8>>2]=0;C[h+4>>2]=k;C[h>>2]=C[l>>2];break f}f=C[l+8>>2];if(k>>>0>=4){g=k&-4;while(1){d=((((A[c+f|0]>0)+d|0)+(A[f+(c|1)|0]>0)|0)+(A[f+(c|2)|0]>0)|0)+(A[f+(c|3)|0]>0)|0;c=c+4|0;j=j+4|0;if((g|0)!=(j|0)){continue}break}}g=k&3;if(g){while(1){d=(A[c+f|0]>0)+d|0;c=c+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}C[h+8>>2]=d;C[h+4>>2]=k;C[h>>2]=C[l>>2];if(!d){break f}s=C[l+8>>2];j=0;m=0;c=Ce-144|0;Ce=c;q=kf((d?d:k)<<2);x=We(c,0,132);r=1;g:{h:{i:{j:{if((k|0)<=0){break j}f=!d;while(1){e=f;c=A[j+s|0];k:{if((c|0)<=0){break k}t=C[(c<<2)+x>>2];if(t>>>c|0?c>>>0<=31:0){break i}C[(m<<2)+q>>2]=t;e=c;while(1){l:{i=e<<2;n=i+x|0;g=C[n>>2];if(g&1){if((e|0)==1){C[x+4>>2]=C[x+4>>2]+1;break l}C[n>>2]=C[(i+x|0)-4>>2]<<1;break l}C[n>>2]=g+1;g=(e|0)>1;e=e-1|0;if(g){continue}}break}e=1;if((c|0)>31){break k}while(1){n=t;g=c+1|0;i=(g<<2)+x|0;t=C[i>>2];if((n|0)!=(t>>>1|0)){break k}C[i>>2]=C[(c<<2)+x>>2]<<1;c=g;if((c|0)!=32){continue}break}}m=e+m|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}if((m|0)!=1){break j}if(C[x+8>>2]==2){break h}}while(1){c=r<<2;if(C[c+x>>2]<<32-r|C[(c+x|0)+4>>2]<<31-r){break i}r=r+2|0;if((r|0)!=33){continue}break}break h}Re(q);q=0;break g}if((k|0)<=0){break g}r=0;i=0;while(1){f=A[r+s|0];m:{if((f|0)<=0){j=0;break m}n=C[(i<<2)+q>>2];c=0;j=0;e=0;if(f>>>0>=4){g=f&-4;t=0;while(1){j=n>>>(e|3)&1|(n>>>(e|2)<<1&2|(n>>>(e|1)&1|(n>>>e<<1&2|j<<2))<<2);e=e+4|0;t=t+4|0;if((g|0)!=(t|0)){continue}break}}g=f&3;if(!g){break m}while(1){j=n>>>e&1|j<<1;e=e+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(!(f?0:d)){C[(i<<2)+q>>2]=j;i=i+1|0}r=r+1|0;if((r|0)!=(k|0)){continue}break}}Ce=x+144|0;t=d<<2;m=p-(t+15&-16)|0;Ce=m;n:{o:{if(q){g=0;f=0;if(d>>>0>=4){k=d&-4;j=0;while(1){p=f<<2;e=p+q|0;c=C[e>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[e>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[m+p>>2]=e;e=p|4;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;e=p|8;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;e=p|12;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;f=f+4|0;j=j+4|0;if((k|0)!=(j|0)){continue}break}}k=d&3;if(k){while(1){e=f<<2;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;f=f+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}oh(m,d,4,25);k=m-(t+15&-16)|0;Ce=k;s=kf(t);C[h+20>>2]=s;n=d>>>0<=1?1:d;p=n&3;j=0;f=0;i=n-1|0;if(i>>>0>=3){e=n&-4;g=0;while(1){C[k+(C[m+(f<<2)>>2]-q|0)>>2]=f;c=f|1;C[k+(C[m+(c<<2)>>2]-q|0)>>2]=c;c=f|2;C[k+(C[m+(c<<2)>>2]-q|0)>>2]=c;c=f|3;C[k+(C[m+(c<<2)>>2]-q|0)>>2]=c;f=f+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}if(p){while(1){C[k+(C[m+(f<<2)>>2]-q|0)>>2]=f;f=f+1|0;j=j+1|0;if((p|0)!=(j|0)){continue}break}}j=0;f=0;if(i>>>0>=3){e=n&-4;g=0;while(1){i=f<<2;C[s+(C[i+k>>2]<<2)>>2]=C[i+q>>2];c=i|4;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];c=i|8;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];c=i|12;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];f=f+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}e=n&3;if(e){while(1){c=f<<2;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];f=f+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}Re(q);f=0;q=0;c=C[l+12>>2]-1|0;p:{if(c>>>0>1){break p}e=C[l+16>>2];v=+(e&2097151);y=J(au((e|0)<0?-v:v,(e>>>21&1023)-788|0));e=C[l+20>>2];v=+(e&2097151);B=J(au((e|0)<0?-v:v,(e>>>21&1023)-788|0));r=C[l>>2];q=df(I(d,r),4);q:{switch(c|0){case 1:m=C[l+4>>2];if((m|0)<=0){break p}H=+y;v=+B;g=0;s=(r|0)<=0;while(1){if(!(D[C[l+8>>2]+g|0]?0:k)){if(!s){n=I(f,r);p=I(g,r);i=k+(f<<2)|0;e=C[l+28>>2];d=C[l+32>>2];c=0;y=J(0);while(1){B=J(+J(K(J(C[d+(c+p<<2)>>2])))*v+H+ +y);y=e?B:y;G[((k?I(r,C[i>>2])+c|0:c+n|0)<<2)+q>>2]=B;c=c+1|0;if((r|0)!=(c|0)){continue}break}}f=f+1|0}g=g+1|0;if((m|0)!=(g|0)){continue}break};break p;case 0:break q;default:break p}}m=C[l+4>>2];v=O(Hh(+J(m|0),+J(J(1)/J(r|0))));r:{if(K(v)<2147483648){c=~~v;break r}c=-2147483648}i=r&-8;p=r&7;e=r>>>0<8;while(1){g=1;j=1;s:{if((r|0)<=0){break s}d=c+1|0;f=0;if(!e){while(1){j=I(d,I(d,I(d,I(d,I(d,I(d,I(d,I(d,j))))))));g=I(I(I(I(I(I(I(I(c,g),c),c),c),c),c),c),c);f=f+8|0;if((i|0)!=(f|0)){continue}break}}f=0;if(!p){break s}while(1){j=I(d,j);g=I(c,g);f=f+1|0;if((p|0)!=(f|0)){continue}break}}d=(g|0)>(m|0);if(d|(j|0)<=(m|0)){c=(d?-1:1)+c|0;continue}else{if((m|0)<=0){break p}H=+y;v=+B;f=0;s=(r|0)<=0;e=0;while(1){if(!(D[C[l+8>>2]+f|0]?0:k)){if(!s){n=I(e,r);p=k+(e<<2)|0;i=C[l+28>>2];d=C[l+32>>2];j=0;y=J(0);g=1;while(1){B=J(+J(K(J(C[(((f|0)/(g|0)|0)%(c|0)<<2)+d>>2])))*v+H+ +y);y=i?B:y;G[((k?I(r,C[p>>2])+j|0:j+n|0)<<2)+q>>2]=B;g=I(c,g);j=j+1|0;if((r|0)!=(j|0)){continue}break}}e=e+1|0}f=f+1|0;if((m|0)!=(f|0)){continue}break}}break}}C[h+16>>2]=q;p=kf(t);C[h+24>>2]=p;g=0;n=C[l+4>>2];if((n|0)<=0){d=kf(0);C[h+40>>2]=0;C[h+28>>2]=d;j=h+28|0;break o}g=n&1;i=C[l+8>>2];t:{if((n|0)==1){c=0;f=0;break t}e=n&-2;c=0;f=0;j=0;while(1){if(A[c+i|0]>0){C[p+(C[k+(f<<2)>>2]<<2)>>2]=c;f=f+1|0}d=c|1;if(A[d+i|0]>0){C[p+(C[k+(f<<2)>>2]<<2)>>2]=d;f=f+1|0}c=c+2|0;j=j+2|0;if((e|0)!=(j|0)){continue}break}}if(!(!g|A[c+i|0]<=0)){C[p+(C[k+(f<<2)>>2]<<2)>>2]=c;f=f+1|0}g=0;d=kf(f);C[h+40>>2]=0;C[h+28>>2]=d;j=h+28|0;if((n|0)<=0){break o}d=C[l+8>>2];e=0;c=0;f=0;while(1){g=A[c+d|0];u:{if((g|0)<=0){break u}A[C[h+28>>2]+C[k+(f<<2)>>2]|0]=g;f=f+1|0;d=C[l+8>>2];e=A[d+c|0];g=C[h+40>>2];if((e|0)<=(g|0)){e=g;break u}C[h+40>>2]=e}c=c+1|0;if((c|0)>2]){continue}break}g=1;if((f|0)!=1){g=f;break o}if((e|0)!=1){break o}C[h+36>>2]=1;d=df(2,4);C[h+32>>2]=d;C[d>>2]=1;C[d+4>>2]=1;break f}d=C[h+16>>2];if(d){Re(d)}d=C[h+20>>2];if(d){Re(d)}d=C[h+24>>2];if(d){Re(d)}d=C[h+28>>2];if(d){Re(d)}d=C[h+32>>2];if(d){Re(d)}C[h>>2]=0;C[h+4>>2]=0;C[h+48>>2]=0;C[h+52>>2]=0;C[h+40>>2]=0;C[h+44>>2]=0;C[h+32>>2]=0;C[h+36>>2]=0;C[h+24>>2]=0;C[h+28>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;c=-1;break n}d=5;c=C[h+8>>2];v:{if(!c){break v}f=0;while(1){e=f;f=e+1|0;k=c>>>0>1;c=c>>>1|0;if(k){continue}break}if(e>>>0<8){break v}d=e>>>0>11?8:e-3|0}C[h+36>>2]=d;n=1<>2]=s;if((g|0)>0){p=C[j>>2];l=0;while(1){i=l+p|0;f=A[i|0];if(!((d|0)<(f|0)|(d-f|0)==31)){c=C[C[h+20>>2]+(l<<2)>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;k=c>>>1&1431655765|(c&1431655765)<<1;e=l+1|0;c=0;while(1){C[s+((k|c<>2]=e;c=c+1|0;f=A[i|0];if((c|0)<1<>>8&65280|m>>>24);d=d>>>4&252645135|(d&252645135)<<4;d=d>>>2&858993459|(d&858993459)<<2;k=s+((d&357913941)<<3|d<<1&1431655764)|0;if(!C[k>>2]){d=c+1|0;f=((d|0)<(g|0)?g:d)-1|0;d=c;while(1){w:{c=d;if((f|0)==(c|0)){c=f;break w}d=c+1|0;if(m>>>0>=F[C[h+20>>2]+(d<<2)>>2]){continue}}break}x:{if((e|0)>=(g|0)){break x}d=C[h+20>>2];while(1){if(m>>>0<(i&C[d+(e<<2)>>2])>>>0){break x}e=e+1|0;if((e|0)!=(g|0)){continue}break}e=g}d=g-e|0;C[k>>2]=(c>>>0>=32767?32767:c)<<15|(d>>>0>=32767?32767:d)|-2147483648}l=l+1|0;if((n|0)!=(l|0)){continue}break}break f}Ce=L;break e}Ce=L;c=0}if(c){c=C[o+24>>2];break d}Kl(C[z>>2]);C[z>>2]=0;c=C[o+24>>2];E=E+1|0;if((c|0)<=(E|0)){break c}z=((E<<2)+o|0)+1824|0;l=C[z>>2];if(l){continue}break}}if((c|0)>0){b=0;while(1){e=((b<<2)+o|0)+1824|0;d=C[e>>2];if(d){Kl(d);C[e>>2]=0;c=C[o+24>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}Qh(u);z=-1;break a}d=C[o+4>>2];C[u+16>>2]=d;e=C[b+4>>2];b=e<<2;M=u,N=kf(b),C[M+8>>2]=N;M=u,N=kf(b),C[M+12>>2]=N;if((e|0)>0){c=0;while(1){b=df(d,4);C[C[u+8>>2]+(c<<2)>>2]=b;c=c+1|0;if((e|0)!=(c|0)){continue}break}}C[u+36>>2]=0;C[u+40>>2]=0;b=C[o+4>>2]/2|0;C[u+20>>2]=b;C[u+48>>2]=b;d=C[o+16>>2];M=w,N=df(d,4),C[M+48>>2]=N;b=C[o+20>>2];M=w,N=df(b,4),C[M+52>>2]=N;c=0;z=0;if((d|0)>0){while(1){d=c<<2;b=d+o|0;b=Fe[C[C[(C[b+800>>2]<<2)+60612>>2]+8>>2]](u,C[b+1056>>2])|0;C[d+C[w+48>>2]>>2]=b;c=c+1|0;if((c|0)>2]){continue}break}b=C[o+20>>2]}if((b|0)<=0){break b}c=0;while(1){d=c<<2;b=d+o|0;b=Fe[C[C[(C[b+1312>>2]<<2)+60620>>2]+8>>2]](u,C[b+1568>>2])|0;C[d+C[w+52>>2]>>2]=b;c=c+1|0;if((c|0)>2]){continue}break}}}if(z){Qh(a);return 1}e=C[a+104>>2];y:{if(!e){break y}b=C[a+4>>2];if(!b){break y}b=C[b+28>>2];if(!b){break y}d=C[b+4>>2];c=C[b+3656>>2];C[a+56>>2]=-1;C[a+60>>2]=-1;C[a+24>>2]=-1;b=a- -64|0;C[b>>2]=-1;C[b+4>>2]=-1;C[a+32>>2]=0;b=d>>c+1;C[a+48>>2]=b;C[a+20>>2]=b>>c;C[e+128>>2]=-1;C[e+132>>2]=-1}return 0}function kf(a){a=a|0;var 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;l=Ce-16|0;Ce=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(a>>>0<=244){g=C[108106];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=g>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+432464|0;d=C[a+432472>>2];a=C[d+8>>2];j:{if((b|0)==(a|0)){m=432424,n=rT(-2,c)&g,C[m>>2]=n;break j}C[a+12>>2]=b;C[b+8>>2]=a}a=d+8|0;b=c<<3;C[d+4>>2]=b|3;b=b+d|0;C[b+4>>2]=C[b+4>>2]|1;break a}k=C[108108];if(k>>>0>=h>>>0){break i}if(b){a=2<>2];a=C[e+8>>2];k:{if((b|0)==(a|0)){g=rT(-2,d)&g;C[108106]=g;break k}C[a+12>>2]=b;C[b+8>>2]=a}C[e+4>>2]=h|3;c=e+h|0;a=d<<3;d=a-h|0;C[c+4>>2]=d|1;C[a+e>>2]=d;if(k){b=(k&-8)+432464|0;f=C[108111];a=1<<(k>>>3);l:{if(!(a&g)){C[108106]=a|g;a=b;break l}a=C[b+8>>2]}C[b+8>>2]=f;C[a+12>>2]=f;C[f+12>>2]=b;C[f+8>>2]=a}a=e+8|0;C[108111]=c;C[108108]=d;break a}j=C[108107];if(!j){break i}c=C[(lT(0-j&j)<<2)+432728>>2];f=(C[c+4>>2]&-8)-h|0;b=c;while(1){m:{a=C[b+16>>2];if(!a){a=C[b+20>>2];if(!a){break m}}b=(C[a+4>>2]&-8)-h|0;d=b>>>0>>0;f=d?b:f;c=d?a:c;b=a;continue}break}i=C[c+24>>2];d=C[c+12>>2];if((d|0)!=(c|0)){a=C[c+8>>2];C[a+12>>2]=d;C[d+8>>2]=a;break b}b=c+20|0;a=C[b>>2];if(!a){a=C[c+16>>2];if(!a){break h}b=c+16|0}while(1){e=b;d=a;b=a+20|0;a=C[b>>2];if(a){continue}b=d+16|0;a=C[d+16>>2];if(a){continue}break}C[e>>2]=0;break b}h=-1;if(a>>>0>4294967231){break i}a=a+11|0;h=a&-8;j=C[108107];if(!j){break i}f=0-h|0;g=0;n:{if(h>>>0<256){break n}g=31;if(h>>>0>16777215){break n}a=L(a>>>8|0);g=((h>>>38-a&1)-(a<<1)|0)+62|0}b=C[(g<<2)+432728>>2];o:{p:{q:{if(!b){a=0;break q}a=0;c=h<<((g|0)!=31?25-(g>>>1|0)|0:0);while(1){r:{e=(C[b+4>>2]&-8)-h|0;if(e>>>0>=f>>>0){break r}d=b;f=e;if(e){break r}f=0;a=b;break p}e=C[b+20>>2];b=C[((c>>>29&4)+b|0)+16>>2];a=e?(e|0)==(b|0)?a:e:a;c=c<<1;if(b){continue}break}}if(!(a|d)){d=0;a=2<>2]}if(!a){break o}}while(1){b=(C[a+4>>2]&-8)-h|0;c=b>>>0>>0;f=c?b:f;d=c?a:d;b=C[a+16>>2];if(b){a=b}else{a=C[a+20>>2]}if(a){continue}break}}if(!d|C[108108]-h>>>0<=f>>>0){break i}g=C[d+24>>2];c=C[d+12>>2];if((d|0)!=(c|0)){a=C[d+8>>2];C[a+12>>2]=c;C[c+8>>2]=a;break c}b=d+20|0;a=C[b>>2];if(!a){a=C[d+16>>2];if(!a){break g}b=d+16|0}while(1){e=b;c=a;b=a+20|0;a=C[b>>2];if(a){continue}b=c+16|0;a=C[c+16>>2];if(a){continue}break}C[e>>2]=0;break c}a=C[108108];if(a>>>0>=h>>>0){d=C[108111];b=a-h|0;s:{if(b>>>0>=16){c=d+h|0;C[c+4>>2]=b|1;C[a+d>>2]=b;C[d+4>>2]=h|3;break s}C[d+4>>2]=a|3;a=a+d|0;C[a+4>>2]=C[a+4>>2]|1;c=0;b=0}C[108108]=b;C[108111]=c;a=d+8|0;break a}i=C[108109];if(i>>>0>h>>>0){b=i-h|0;C[108109]=b;c=C[108112];a=c+h|0;C[108112]=a;C[a+4>>2]=b|1;C[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;if(C[108224]){c=C[108226]}else{C[108227]=-1;C[108228]=-1;C[108225]=4096;C[108226]=4096;C[108224]=l+12&-16^1431655768;C[108229]=0;C[108217]=0;c=4096}e=j+c|0;f=0-c|0;b=e&f;if(b>>>0<=h>>>0){break a}d=C[108216];if(d){c=C[108214];g=c+b|0;if(d>>>0>>0|c>>>0>=g>>>0){break a}}t:{if(!(D[432868]&4)){u:{v:{w:{x:{d=C[108112];if(d){a=432872;while(1){c=C[a>>2];if(c>>>0<=d>>>0&d>>>0>2]>>>0){break x}a=C[a+8>>2];if(a){continue}break}}c=Vj(0);if((c|0)==-1){break u}g=b;d=C[108225];a=d-1|0;if(a&c){g=(b-c|0)+(a+c&0-d)|0}if(g>>>0<=h>>>0){break u}d=C[108216];if(d){a=C[108214];f=a+g|0;if(d>>>0>>0|a>>>0>=f>>>0){break u}}a=Vj(g);if((c|0)!=(a|0)){break w}break t}g=f&e-i;c=Vj(g);if((c|0)==(C[a>>2]+C[a+4>>2]|0)){break v}a=c}if((a|0)==-1){break u}if(h+48>>>0<=g>>>0){c=a;break t}c=C[108226];c=c+(j-g|0)&0-c;if((Vj(c)|0)==-1){break u}g=c+g|0;c=a;break t}if((c|0)!=-1){break t}}C[108217]=C[108217]|4}c=Vj(b);a=Vj(0);if((c|0)==-1|(a|0)==-1|a>>>0<=c>>>0){break d}g=a-c|0;if(g>>>0<=h+40>>>0){break d}}a=C[108214]+g|0;C[108214]=a;if(a>>>0>F[108215]){C[108215]=a}y:{e=C[108112];if(e){a=432872;while(1){d=C[a>>2];b=C[a+4>>2];if((d+b|0)==(c|0)){break y}a=C[a+8>>2];if(a){continue}break}break f}a=C[108110];if(!(a>>>0<=c>>>0?a:0)){C[108110]=c}a=0;C[108219]=g;C[108218]=c;C[108114]=-1;C[108115]=C[108224];C[108221]=0;while(1){d=a<<3;b=d+432464|0;C[d+432472>>2]=b;C[d+432476>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;C[108109]=b;a=a+c|0;C[108112]=a;C[a+4>>2]=b|1;C[(c+d|0)+4>>2]=40;C[108113]=C[108228];break e}if(D[a+12|0]&8|d>>>0>e>>>0|c>>>0<=e>>>0){break f}C[a+4>>2]=b+g;a=e+8&7?-8-e&7:0;c=a+e|0;C[108112]=c;b=C[108109]+g|0;a=b-a|0;C[108109]=a;C[c+4>>2]=a|1;C[(b+e|0)+4>>2]=40;C[108113]=C[108228];break e}d=0;break b}c=0;break c}if(F[108110]>c>>>0){C[108110]=c}b=c+g|0;a=432872;z:{A:{B:{C:{D:{E:{while(1){if((b|0)!=C[a>>2]){a=C[a+8>>2];if(a){continue}break E}break}if(!(D[a+12|0]&8)){break D}}a=432872;while(1){b=C[a>>2];if(b>>>0<=e>>>0){f=b+C[a+4>>2]|0;if(f>>>0>e>>>0){break C}}a=C[a+8>>2];continue}}C[a>>2]=c;C[a+4>>2]=C[a+4>>2]+g;j=(c+8&7?-8-c&7:0)+c|0;C[j+4>>2]=h|3;g=b+(b+8&7?-8-b&7:0)|0;i=h+j|0;a=g-i|0;if((e|0)==(g|0)){C[108112]=i;a=C[108109]+a|0;C[108109]=a;C[i+4>>2]=a|1;break A}if(C[108111]==(g|0)){C[108111]=i;a=C[108108]+a|0;C[108108]=a;C[i+4>>2]=a|1;C[a+i>>2]=a;break A}f=C[g+4>>2];if((f&3)==1){e=f&-8;F:{if(f>>>0<=255){c=C[g+12>>2];b=C[g+8>>2];if((c|0)==(b|0)){m=432424,n=C[108106]&rT(-2,f>>>3|0),C[m>>2]=n;break F}C[b+12>>2]=c;C[c+8>>2]=b;break F}h=C[g+24>>2];c=C[g+12>>2];G:{if((g|0)!=(c|0)){b=C[g+8>>2];C[b+12>>2]=c;C[c+8>>2]=b;break G}H:{f=g+20|0;b=C[f>>2];if(b){break H}f=g+16|0;b=C[f>>2];if(b){break H}c=0;break G}while(1){d=f;c=b;f=c+20|0;b=C[f>>2];if(b){continue}f=c+16|0;b=C[c+16>>2];if(b){continue}break}C[d>>2]=0}if(!h){break F}d=C[g+28>>2];b=(d<<2)+432728|0;I:{if(C[b>>2]==(g|0)){C[b>>2]=c;if(c){break I}m=432428,n=C[108107]&rT(-2,d),C[m>>2]=n;break F}C[h+(C[h+16>>2]==(g|0)?16:20)>>2]=c;if(!c){break F}}C[c+24>>2]=h;b=C[g+16>>2];if(b){C[c+16>>2]=b;C[b+24>>2]=c}b=C[g+20>>2];if(!b){break F}C[c+20>>2]=b;C[b+24>>2]=c}g=e+g|0;f=C[g+4>>2];a=a+e|0}C[g+4>>2]=f&-2;C[i+4>>2]=a|1;C[a+i>>2]=a;if(a>>>0<=255){b=(a&-8)+432464|0;c=C[108106];a=1<<(a>>>3);J:{if(!(c&a)){C[108106]=a|c;a=b;break J}a=C[b+8>>2]}C[b+8>>2]=i;C[a+12>>2]=i;C[i+12>>2]=b;C[i+8>>2]=a;break A}f=31;if(a>>>0<=16777215){b=L(a>>>8|0);f=((a>>>38-b&1)-(b<<1)|0)+62|0}C[i+28>>2]=f;C[i+16>>2]=0;C[i+20>>2]=0;b=(f<<2)+432728|0;d=C[108107];c=1<>2]=i;break K}f=a<<((f|0)!=31?25-(f>>>1|0)|0:0);c=C[b>>2];while(1){b=c;if((C[c+4>>2]&-8)==(a|0)){break B}c=f>>>29|0;f=f<<1;d=(c&4)+b|0;c=C[d+16>>2];if(c){continue}break}C[d+16>>2]=i}C[i+24>>2]=b;C[i+12>>2]=i;C[i+8>>2]=i;break A}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;C[108109]=b;a=a+c|0;C[108112]=a;C[a+4>>2]=b|1;C[(c+d|0)+4>>2]=40;C[108113]=C[108228];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?e:a;C[d+4>>2]=27;a=C[108221];C[d+16>>2]=C[108220];C[d+20>>2]=a;a=C[108219];C[d+8>>2]=C[108218];C[d+12>>2]=a;C[108220]=d+8;C[108219]=g;C[108218]=c;C[108221]=0;a=d+24|0;while(1){C[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(e|0)){break e}C[d+4>>2]=C[d+4>>2]&-2;f=d-e|0;C[e+4>>2]=f|1;C[d>>2]=f;if(f>>>0<=255){b=(f&-8)+432464|0;c=C[108106];a=1<<(f>>>3);L:{if(!(c&a)){C[108106]=a|c;a=b;break L}a=C[b+8>>2]}C[b+8>>2]=e;C[a+12>>2]=e;C[e+12>>2]=b;C[e+8>>2]=a;break e}a=31;if(f>>>0<=16777215){a=L(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}C[e+28>>2]=a;C[e+16>>2]=0;C[e+20>>2]=0;b=(a<<2)+432728|0;d=C[108107];c=1<>2]=e;break M}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);d=C[b>>2];while(1){b=d;if((f|0)==(C[b+4>>2]&-8)){break z}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;d=C[c+16>>2];if(d){continue}break}C[c+16>>2]=e}C[e+24>>2]=b;C[e+12>>2]=e;C[e+8>>2]=e;break e}a=C[b+8>>2];C[a+12>>2]=i;C[b+8>>2]=i;C[i+24>>2]=0;C[i+12>>2]=b;C[i+8>>2]=a}a=j+8|0;break a}a=C[b+8>>2];C[a+12>>2]=e;C[b+8>>2]=e;C[e+24>>2]=0;C[e+12>>2]=b;C[e+8>>2]=a}a=C[108109];if(a>>>0<=h>>>0){break d}b=a-h|0;C[108109]=b;c=C[108112];a=c+h|0;C[108112]=a;C[a+4>>2]=b|1;C[c+4>>2]=h|3;a=c+8|0;break a}C[105773]=48;a=0;break a}N:{if(!g){break N}b=C[d+28>>2];a=(b<<2)+432728|0;O:{if(C[a>>2]==(d|0)){C[a>>2]=c;if(c){break O}j=rT(-2,b)&j;C[108107]=j;break N}C[g+(C[g+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break N}}C[c+24>>2]=g;a=C[d+16>>2];if(a){C[c+16>>2]=a;C[a+24>>2]=c}a=C[d+20>>2];if(!a){break N}C[c+20>>2]=a;C[a+24>>2]=c}P:{if(f>>>0<=15){a=f+h|0;C[d+4>>2]=a|3;a=a+d|0;C[a+4>>2]=C[a+4>>2]|1;break P}C[d+4>>2]=h|3;e=d+h|0;C[e+4>>2]=f|1;C[e+f>>2]=f;if(f>>>0<=255){b=(f&-8)+432464|0;c=C[108106];a=1<<(f>>>3);Q:{if(!(c&a)){C[108106]=a|c;a=b;break Q}a=C[b+8>>2]}C[b+8>>2]=e;C[a+12>>2]=e;C[e+12>>2]=b;C[e+8>>2]=a;break P}a=31;if(f>>>0<=16777215){a=L(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}C[e+28>>2]=a;C[e+16>>2]=0;C[e+20>>2]=0;b=(a<<2)+432728|0;R:{c=1<>2]=e;break S}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);h=C[b>>2];while(1){b=h;if((C[b+4>>2]&-8)==(f|0)){break R}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=C[c+16>>2];if(h){continue}break}C[c+16>>2]=e}C[e+24>>2]=b;C[e+12>>2]=e;C[e+8>>2]=e;break P}a=C[b+8>>2];C[a+12>>2]=e;C[b+8>>2]=e;C[e+24>>2]=0;C[e+12>>2]=b;C[e+8>>2]=a}a=d+8|0;break a}T:{if(!i){break T}b=C[c+28>>2];a=(b<<2)+432728|0;U:{if(C[a>>2]==(c|0)){C[a>>2]=d;if(d){break U}m=432428,n=rT(-2,b)&j,C[m>>2]=n;break T}C[i+(C[i+16>>2]==(c|0)?16:20)>>2]=d;if(!d){break T}}C[d+24>>2]=i;a=C[c+16>>2];if(a){C[d+16>>2]=a;C[a+24>>2]=d}a=C[c+20>>2];if(!a){break T}C[d+20>>2]=a;C[a+24>>2]=d}V:{if(f>>>0<=15){a=f+h|0;C[c+4>>2]=a|3;a=a+c|0;C[a+4>>2]=C[a+4>>2]|1;break V}C[c+4>>2]=h|3;d=c+h|0;C[d+4>>2]=f|1;C[d+f>>2]=f;if(k){b=(k&-8)+432464|0;e=C[108111];a=1<<(k>>>3);W:{if(!(a&g)){C[108106]=a|g;a=b;break W}a=C[b+8>>2]}C[b+8>>2]=e;C[a+12>>2]=e;C[e+12>>2]=b;C[e+8>>2]=a}C[108111]=d;C[108108]=f}a=c+8|0}Ce=l+16|0;return a|0}function zF(a){a=a|0;var 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;q=C[a+28>>2];if(q){s=C[a+36>>2];t=C[a+16>>2];d=C[a+24>>2];u=d&3;v=(d+3|0)/4|0;j=C[a>>2];f=C[a+20>>2];e=C[a+40>>2];o=D[e+9|0];r=o-1|0;b=C[a+44>>2];p=D[b+9|0];m=p-1|0;while(1){q=q-1|0;a=v;a:{b:{switch(u-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=C[(D[e+30|0]<<2)+381104>>2];e:{f:{g:{h:{switch(r|0){case 0:d=D[j|0];break g;case 1:d=E[j>>1];break g;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break f;case 3:break h;default:break e}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+381104>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+381104>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+381104>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break e}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;i:{j:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break i;case 3:break j;default:break i}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;k:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break e;case 3:break k;default:break e}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];l:{m:{n:{o:{switch(r|0){case 0:d=D[j|0];break n;case 1:d=E[j>>1];break n;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break m;case 3:break o;default:break l}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+381104>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+381104>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+381104>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break l}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;p:{q:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break p;case 3:break q;default:break p}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;r:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break l;case 3:break r;default:break l}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];s:{t:{u:{v:{switch(r|0){case 0:d=D[j|0];break u;case 1:d=E[j>>1];break u;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break t;case 3:break v;default:break s}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+381104>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+381104>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+381104>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break s}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;w:{x:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break w;case 3:break x;default:break w}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;y:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break s;case 3:break y;default:break s}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];z:{A:{B:{C:{switch(r|0){case 0:d=D[j|0];break B;case 1:d=E[j>>1];break B;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break A;case 3:break C;default:break z}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+381104>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+381104>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+381104>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break z}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;D:{E:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break D;case 3:break E;default:break D}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;F:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break z;case 3:break F;default:break z}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];if(p){i=D[a+63|0];m=C[a+56>>2];j=C[a+48>>2];r=C[a+36>>2];s=C[a+16>>2];g=C[a+24>>2];t=g&7;u=(g+7|0)/8|0;e=C[a>>2];g=C[a+20>>2];n=C[a+44>>2];b=C[a+40>>2];l=D[b+9|0];o=l-1|0;while(1){p=p-1|0;q=u;a:{b:{switch(t-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;d=0;c=0;h=0;e:{f:{g:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break f;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break f;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break f;case 3:break g;default:break e}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=1;continue;case 1:a=0;d=0;c=0;h=0;h:{i:{j:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break i;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break i;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break i;case 3:break j;default:break h}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=2;continue;case 2:a=0;d=0;c=0;h=0;k:{l:{m:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break l;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break l;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break l;case 3:break m;default:break k}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=3;continue;case 3:a=0;d=0;c=0;h=0;n:{o:{p:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break o;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break o;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break o;case 3:break p;default:break n}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=4;continue;case 4:a=0;d=0;c=0;h=0;q:{r:{s:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break r;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break r;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break r;case 3:break s;default:break q}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=5;continue;case 5:a=0;d=0;c=0;h=0;t:{u:{v:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break u;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break u;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break u;case 3:break v;default:break t}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=6;continue;case 6:a=0;d=0;c=0;h=0;w:{x:{y:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break x;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break x;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;if((q|0)<=1){break c}q=q-1|0;a=7;continue;default:break d}}a=0;c=0;h=0;d=0;z:{A:{B:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break A;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break A;case 2:d=(D[b+34|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break A;case 3:break B;default:break z}}a=C[e>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}d=D[d|0];c=D[c|0];h=D[h|0]}if((a|0)!=(m|0)){k=h&255;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;h=D[a+1|0];f=c;c=D[a|0];a=D[a+2|0];a=((I(k-h|0,i)|0)/255|0)+h>>>3&28|((I(f-c|0,i)|0)/255|0)+c&-32|(((I((d&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=0;continue}break}g=g+r|0;e=e+s|0;if(p){continue}break}}}function nx(a,b,c,d,e){var 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;m=Ce-32|0;Ce=m;k=C[c+92>>2];g=d+3|0;a:{if(C[c+56>>2]!=1265525857|g>>>0>e>>>0){break a}i=I(d,20)+k|0;if(D[i+12|0]&32|D[i+18|0]!=16){break a}f=d+1|0;j=I(f,20)+k|0;if(D[j+12|0]&32|D[j+18|0]!=4){break a}i=I(d,20)+k|0;if(D[i+52|0]&32){break a}h=i+40|0;if(D[h+18|0]!=6){break a}eg(c,f,g);C[m+24>>2]=C[j+16>>2];i=C[j+12>>2];C[m+16>>2]=C[j+8>>2];C[m+20>>2]=i;i=C[j+4>>2];C[m+8>>2]=C[j>>2];C[m+12>>2]=i;C[j+16>>2]=C[h+16>>2];i=C[h+12>>2];C[j+8>>2]=C[h+8>>2];C[j+12>>2]=i;i=C[h+4>>2];C[j>>2]=C[h>>2];C[j+4>>2]=i;C[h+16>>2]=C[m+24>>2];i=C[m+20>>2];C[h+8>>2]=C[m+16>>2];C[h+12>>2]=i;i=C[m+12>>2];C[h>>2]=C[m+8>>2];C[h+4>>2]=i}l=C[a>>2];h=C[l+20>>2];b:{c:{d:{e:{f:{g:{if(!(!C[a+80>>2]|e>>>0>>0)){i=e;g=d;h:{i:{switch(h|0){case 0:i=I(d,20)+k|0;if(D[i+52|0]&32){break h}f=D[i+58|0];if(f>>>0>31){break h}i=e;if(!(1<>2]=C[i>>2];C[m+12>>2]=C[i+20>>2];j:{if((h|0)==1){C[m+16>>2]=C[i+40>>2];h=a+16|0;if(C[h>>2]){break j}break c}C[m+16>>2]=0;h=a+16|0;i=e;if(!C[h>>2]){break d}}f=0;k:{while(1){if(Bh(b,E[C[a+12>>2]+(f<<3)>>1],m+8|0,2,D[a+20|0])){break k}f=f+1|0;j=C[h>>2];if(f>>>0>>0){continue}break}if(C[C[a>>2]+20>>2]!=1){break c}i=e;if(!j){break d}f=0;while(1){if(Bh(b,E[C[a+12>>2]+(f<<3)>>1],m+8|0,3,D[a+20|0])){break k}f=f+1|0;if(f>>>0>2]){continue}break}break c}n=1;g=d+2|0;if(g>>>0>=e>>>0){i=d;l=C[a>>2];break b}while(1){i=I(g,20)+k|0;if(D[i+12|0]&32){i=d;l=C[a>>2];break b}i=D[i+18|0];if(i>>>0>31|!(1<>>0>i>>>0?e:i;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){i=d;break b}i=I(f,20)+k|0;if(D[i+12|0]&32){i=d;g=f;break b}i=D[i+18|0];if(1<>>0<=31:0){continue}break}i=d;g=f;break b}i=e;g=d;break b}i=d}l=C[a>>2];break b}i=e;l=C[a>>2]}j=0;f=e;l:{m:{switch(C[l+12>>2]){case 1:while(1){h=f;n:{o:{f=f-1|0;l=I(f,20)+k|0;if(D[l+12|0]&32){break o}l=D[l+18|0];if(l>>>0>31|!(1<>>0>=f>>>0){break n}if(D[(I(h,20)+k|0)-22|0]==4){break l}}if(f>>>0>g>>>0){continue}break};break l;case 0:break m;default:break l}}h=n?i:g;r:{if(e>>>0<=g>>>0){i=h;break r}f=g;while(1){i=h;j=I(f,20)+k|0;s:{if(D[j+12|0]&32){break s}h=D[j+18|0];if(h>>>0>31){h=i;break s}if(!(1<>>0<=g>>>0){break s}if(D[j-2|0]==6){break r}}i=h;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>=e>>>0){break l}while(1){j=I(f,20)+k|0;t:{if(D[j+12|0]&32){break t}h=D[j+18|0];if(h>>>0>31|!(1<>>0>2:0;u:{if(d>>>0>=i>>>0){break u}f=d;j=i-f&3;if(j){h=0;while(1){g=I(f,20)+k|0;n=D[g+19|0];A[g+19|0]=n>>>0>=3?3:n;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((d^-1)+i>>>0<=2){break u}while(1){h=I(f,20)+k|0;g=D[h+19|0];A[h+19|0]=g>>>0>=3?3:g;g=D[h+39|0];A[h+39|0]=g>>>0>=3?3:g;g=D[h+59|0];A[h+59|0]=g>>>0>=3?3:g;g=D[h+79|0];A[h+79|0]=g>>>0>=3?3:g;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(e>>>0>i>>>0){A[(I(i,20)+k|0)+19|0]=4}f=i;v:{while(1){g=f;f=f+1|0;if(f>>>0>=e>>>0){break v}if(D[(I(f,20)+k|0)+18|0]!=7){continue}break}f=g+2|0;if(f>>>0>=e>>>0){break v}while(1){w:{g=I(f,20)+k|0;if(D[g+12|0]&32){break w}g=D[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}}if(l){A[(I(d,20)+k|0)+19|0]=1}x:{if(!D[a+4|0]){break x}f=i;while(1){h=f;f=f+1|0;if(f>>>0>=e>>>0){break x}if(D[(I(f,20)+k|0)+18|0]!=4){continue}break}g=e-1|0;if(g>>>0<=f>>>0){break x}j=C[c+56>>2]!=1265525857;while(1){y:{n=I(g,20)+k|0;z:{if(D[n+12|0]&32){break z}l=D[n+18|0];if(l>>>0>31){break z}if(1<>>0>f>>>0){continue}break x}g=g-1|0;if(g>>>0>f>>>0){continue}break x}break}if((l|0)==4){break x}l=I(f,20)+k|0;C[m+24>>2]=C[l+16>>2];j=C[l+12>>2];C[m+16>>2]=C[l+8>>2];C[m+20>>2]=j;j=C[l+4>>2];C[m+8>>2]=C[l>>2];C[m+12>>2]=j;Yf(l,(I(h,20)+k|0)+40|0,I(g-f|0,20));C[n+16>>2]=C[m+24>>2];f=C[m+20>>2];C[n+8>>2]=C[m+16>>2];C[n+12>>2]=f;f=C[m+12>>2];C[n>>2]=C[m+8>>2];C[n+4>>2]=f}r=d>>>0>>0;if(r){l=0;f=d;while(1){j=I(f,20)+k|0;g=D[j+18|0];A:{if(!(g>>>0>31|!(1<>>0>=h>>>0){break A}h=h-1|0;g=D[(I(h,20)+k|0)+19|0];if((g|0)==2){continue}break}A[j+19|0]=g;break A}g=D[j+19|0];l=(g|0)==14?l:g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>>0){n=i-1|0;l=0;j=i;while(1){g=j;B:{C:{o=I(f,20)+k|0;if(D[o+12|0]&32){h=D[o+18|0];break C}h=D[o+18|0];if(h>>>0>31|!(1<>>0>=f>>>0){break B}if((i+l|0)-g&1){h=I(h,20)+k|0;if(D[h+19|0]<=13){A[h+19|0]=D[o+19|0]}h=g+2|0}j=f;if((g|0)==(l+n|0)){break B}while(1){g=I(h,20)+k|0;if(D[g+19|0]<=13){A[g+19|0]=D[o+19|0]}if(D[g+39|0]<=13){A[g+39|0]=D[o+19|0]}h=h+2|0;if(h>>>0>>0){continue}break}j=f;break B}j=(h&255)==7?f:g}l=l+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}j=I(d,20)+k|0;p=D[j+15|0];o=d>>>0>=e>>>0;D:{if(o){break D}f=d;i=e-f&3;if(i){h=0;while(1){A[(I(f,20)+k|0)+15|0]=f-d;f=f+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if((d^-1)+e>>>0<3){break D}while(1){g=I(f,20)+k|0;i=f-d|0;A[g+35|0]=i+1;A[g+15|0]=i;A[g+55|0]=i+2;A[g+75|0]=i+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}q=e-d|0;if(q>>>0>=2){l=1;while(1){g=j+I(l,20)|0;h=l;while(1){i=h;if(h){h=i-1|0;if(D[(j+I(h,20)|0)+19|0]>D[g+19|0]){continue}}break}if((i|0)!=(l|0)){C[m+24>>2]=C[g+16>>2];f=C[g+12>>2];C[m+16>>2]=C[g+8>>2];C[m+20>>2]=f;f=C[g+4>>2];C[m+8>>2]=C[g>>2];C[m+12>>2]=f;f=j+I(i,20)|0;Yf(f+20|0,f,I(l-i|0,20));C[f+16>>2]=C[m+24>>2];i=C[m+20>>2];C[f+8>>2]=C[m+16>>2];C[f+12>>2]=i;i=C[m+12>>2];C[f>>2]=C[m+8>>2];C[f+4>>2]=i}l=l+1|0;if((q|0)!=(l|0)){continue}break}}i=e;E:{if(!r){break E}i=d;while(1){if(D[(I(i,20)+k|0)+19|0]==4){break E}i=i+1|0;if((i|0)!=(e|0)){continue}break}i=e}F:{if(!(D[a+4|0]|q>>>0>127)){if(e>>>0<=i>>>0){break F}j=i;while(1){f=D[(I(j,20)+k|0)+15|0];G:{if((f|0)==255){break G}f=d+f|0;g=j;h=g;if((f|0)!=(g|0)){while(1){n=I(f,20)+k|0;l=D[n+15|0];A[n+15|0]=255;g=f>>>0>>0?g:f;h=f>>>0>h>>>0?h:f;f=d+l|0;if((j|0)!=(f|0)){continue}break}}g=g+1|0;f=i>>>0>h>>>0?i:h;if(g-f>>>0<2){break G}eg(c,f,g)}j=j+1|0;if((j|0)!=(e|0)){continue}break}break F}if(e-i>>>0<2){break F}eg(c,i,e)}H:{if(o){break H}h=d;g=q&7;if(g){f=0;while(1){A[(I(h,20)+k|0)+15|0]=p;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if((d^-1)+e>>>0>6){while(1){f=I(h,20)+k|0;A[f+35|0]=p;A[f+15|0]=p;A[f+55|0]=p;A[f+75|0]=p;A[f+95|0]=p;A[f+115|0]=p;A[f+135|0]=p;A[f+155|0]=p;h=h+8|0;if((h|0)!=(e|0)){continue}break}}if(!r){break H}f=d;while(1){g=I(f,20)+k|0;if(D[g+19|0]!=1){break H}C[g+4>>2]=C[g+4>>2]|C[a+80>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=C[a+100>>2];n=D[a+4|0];h=n|C[C[a>>2]+24>>2]?h:C[a+92>>2]|h;I:{if(d>>>0>=i>>>0){break I}f=d;l=i-f&3;if(l){g=0;while(1){j=I(f,20)+k|0;C[j+4>>2]=C[j+4>>2]|h;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+i>>>0<=2){break I}while(1){g=I(f,20)+k|0;C[g+4>>2]=C[g+4>>2]|h;C[g+24>>2]=C[g+24>>2]|h;C[g+44>>2]=C[g+44>>2]|h;g=g- -64|0;C[g>>2]=C[g>>2]|h;f=f+4|0;if((i|0)!=(f|0)){continue}break}}f=i+1|0;J:{if(f>>>0>=e>>>0){break J}l=C[a+104>>2]|(C[a+96>>2]|C[a+92>>2]);j=(i^-1)+e&3;if(j){g=0;while(1){h=I(f,20)+k|0;C[h+4>>2]=l|C[h+4>>2];f=f+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((e-i|0)-2>>>0<3){break J}while(1){g=I(f,20)+k|0;C[g+4>>2]=l|C[g+4>>2];C[g+24>>2]=l|C[g+24>>2];C[g+44>>2]=l|C[g+44>>2];g=g- -64|0;C[g>>2]=l|C[g>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}K:{if(!n|C[c+56>>2]!=1147500129){break K}g=d+1|0;if(i>>>0<=g>>>0){break K}f=d;while(1){c=f;f=g;h=I(c,20)+k|0;L:{if(D[h+18|0]!=16){break L}g=I(f,20)+k|0;if(D[g+18|0]!=4){break L}c=c+2|0;if((c|0)!=(i|0)&D[(I(c,20)+k|0)+18|0]==6){break L}C[h+4>>2]=C[h+4>>2]|C[a+92>>2];C[g+4>>2]=C[g+4>>2]|C[a+92>>2]}g=f+1|0;if((i|0)!=(g|0)){continue}break}}M:{if(!C[a+88>>2]|i+2>>>0>=e>>>0){break M}h=C[a+28>>2];while(1){c=I(i,20)+k|0;C[m+8>>2]=C[c+20>>2];C[m+12>>2]=C[c+40>>2];c=i+1|0;f=0;N:{if(!h){h=0;break N}g=i+2|0;while(1){if(!Bh(b,E[C[a+24>>2]+(f<<3)>>1],m+8|0,2,D[a+32|0])){f=f+1|0;h=C[a+28>>2];if(f>>>0>>0){continue}break N}break}b=I(c,20)+k|0;C[b+4>>2]=C[b+4>>2]|C[a+88>>2];b=I(g,20)+k|0;C[b+4>>2]=C[b+4>>2]|C[a+88>>2];break M}f=i+3|0;i=c;if(e>>>0>f>>>0){continue}break}}h=d+1|0;if(h>>>0>>0){g=d;while(1){f=g;g=h;b=I(g,20)+k|0;O:{if(D[b+12|0]&32){break O}b=D[b+18|0];if((b|0)!=5|!(1<>2]=C[b+4>>2]&(C[a+100>>2]^-1);if(d>>>0>=f>>>0){break O}while(1){b=I(f,20)+k|0;P:{if(D[b+12|0]&32){break P}b=D[b+18|0];if(b>>>0>31){break P}if(1<>2]=C[b+4>>2]&(C[a+100>>2]^-1);if(d>>>0>>0){continue}break}}h=g+1|0;if((h|0)!=(e|0)){continue}break}}Ce=m+32|0}function gv(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,o=0,p=0,q=0,r=0,s=0,t=0;j=Ce-16|0;Ce=j;c=C[a+1020>>2];d=0;a:{if((c|0)<0){break a}b:{c:{while(1){d=C[a+4>>2];c=(c<<2)+a|0;C[a+80>>2]=I(d,B[c+958>>1]);c=B[c+956>>1];C[a+44>>2]=0;C[a+48>>2]=0;C[a+92>>2]=0;g=C[a+28>>2];C[a+40>>2]=g;B[a+86>>1]=0;C[a+88>>2]=g;k=C[a+32>>2]-32|0;C[a+36>>2]=k;C[a+76>>2]=I(c,d);C[g+8>>2]=g;B[a+84>>1]=0;d:{e:{f:{g:{h:{i:{j:{if(B[a+128>>1]<=0){break j}e=C[a+8>>2];f=C[a+140>>2];c=0;n=0;while(1){C[a+96>>2]=0;C[a+100>>2]=0;d=C[a+132>>2];k=c&65535;c=d+(k<<3)|0;l=C[a+24>>2];i=(C[c+4>>2]<>2]<>1];q=d+(m<<3)|0;g=(C[q+4>>2]<>2]<>2];e=f+k|0;g=D[e|0];if(g&4){A[a+176|0]=g>>>5;g=D[e|0]}l:{switch(g&3){case 0:m:{if((D[f+m|0]&3)==1){q=q-8|0;break m}d=(d+h|0)/2|0;i=(i+l|0)/2|0}l=i;h=d;e=e-1|0;c=c-8|0;break;case 2:break b;default:break l}}C[a+72>>2]=h;C[a+68>>2]=l;n:{if(c>>>0>>0){while(1){g=e+1|0;i=c+8|0;o:{p:{q:{switch(D[e+1|0]&3){case 1:m=C[c+8>>2];d=c;e=g;c=i;f=C[a+24>>2];i=C[d+12>>2]<>2];g=i-d|0;d=(m<>2];d=C[a+8>>2];e=(C[c+8>>2]<>2]<>>0>=q>>>0){break p}m=C[a+24>>2];e=C[a+8>>2];i=(C[c+8>>2]<>2]<>>0>q>>>0){break b}k=c+24|0;s=C[a+24>>2];o=C[a+8>>2];f=(C[c+16>>2]<>2]<>2]<>2]<>>0<=q>>>0){d=(C[c+28>>2]<>2]<>>0>>0){continue}break}}if(fv(a,l,h)){break f}}f=C[a+140>>2];l=E[r+f>>1];m=C[a+4>>2];g=m-1|0;k=C[a+72>>2];h=g&k;s:{if(h|(k|0)>2]|(k|0)>C[a+80>>2]){break s}c=C[a+96>>2];if(!c|(E[C[a+88>>2]+12>>1]^E[c+12>>1])&8){break s}C[a+40>>2]=C[a+40>>2]-4}t:{u:{v:{c=C[a+40>>2];p=C[a+88>>2];e=C[p+8>>2];d=(c|0)==(e|0);if(D[p+12|0]&8?d:1){i=c-e|0;if((i|0)>=0){break v}break c}i=c-e|0;if((i|0)<0){break c}e=C[a+8>>2];d=(h|0)>=(e|0);break u}e=C[a+8>>2];if(d){g=c;break t}d=((g+k&0-m)-k|0)>=(e|0)}C[p+16>>2]=i>>>2;if(d){d=E[p+12>>1];B[p+12>>1]=(d&8?16:32)|d}C[a+88>>2]=c;g=c+32|0;C[a+40>>2]=g;C[c+8>>2]=g;C[c+16>>2]=0;C[p+28>>2]=c;B[a+84>>1]=E[a+84>>1]+1}k=C[a+36>>2];if(k>>>0<=g>>>0){break e}A[a+87|0]=0;c=C[a+96>>2];if(c){C[p+28>>2]=c}c=l+1|0;n=n+1|0;if((n|0)>1]){continue}break}p=E[a+84>>1];if(p>>>0<2){break j}i=C[a+92>>2];c=i;if(!c){break j}while(1){w:{x:{switch(p&65535){case 1:f=C[c+16>>2];m=0;break w;case 0:break i;default:break x}}f=C[c+16>>2];m=C[c+8>>2]+(f<<2)|0}C[c+4>>2]=m;d=C[c+20>>2];y:{if(D[c+12|0]&8){e=d;d=(f+e|0)-1|0;break y}e=(d-f|0)+1|0;C[c+20>>2]=e;C[c+8>>2]=(C[c+8>>2]+(f<<2)|0)-4}r=d;d=0;f=C[a+48>>2];h=0-f|0;s=C[a+32>>2];t=s-(f<<2)|0;c=f;z:{A:{while(1){n=d;l=c;if((c|0)<=0){d=e;break A}d=n+1|0;c=l-1|0;o=C[t+(c<<2)>>2];if((o|0)>(e|0)){continue}break}if((e|0)<=(o|0)){n=f;break z}q=0;n=f-n&3;if(n){while(1){h=t+(c<<2)|0;d=C[h>>2];C[h>>2]=e;c=c-1|0;e=d;q=q+1|0;if((n|0)!=(q|0)){continue}break}}if(l>>>0<4){break A}while(1){l=t+(c<<2)|0;d=l-4|0;h=C[d>>2];d=C[d+4>>2];C[l>>2]=e;e=l-8|0;l=C[e>>2];C[e>>2]=h;C[e+4>>2]=d;h=c-3|0;d=t+(h<<2)|0;e=C[d>>2];C[d>>2]=l;c=c-4|0;d=e;if(h){continue}break}}k=k-4|0;C[a+36>>2]=k;if(g>>>0>=k>>>0){break e}n=f+1|0;C[a+48>>2]=n;h=f^-1;C[s+(h<<2)>>2]=d}e=r+1|0;o=s+(h<<2)|0;d=0;c=n;B:{C:{while(1){f=d;h=c;if((c|0)<=0){d=e;break C}d=f+1|0;c=h-1|0;l=C[o+(c<<2)>>2];if((l|0)>(e|0)){continue}break}if((l|0)>(r|0)){break B}q=0;l=n-f&3;if(l){while(1){f=o+(c<<2)|0;d=C[f>>2];C[f>>2]=e;c=c-1|0;e=d;q=q+1|0;if((l|0)!=(q|0)){continue}break}}if(h>>>0<4){break C}while(1){f=o+(c<<2)|0;d=f-4|0;h=C[d>>2];d=C[d+4>>2];C[f>>2]=e;e=f-8|0;f=C[e>>2];C[e>>2]=h;C[e+4>>2]=d;h=c-3|0;d=o+(h<<2)|0;e=C[d>>2];C[d>>2]=f;c=c-4|0;d=e;if(h){continue}break}}k=k-4|0;C[a+36>>2]=k;if(g>>>0>=k>>>0){break e}C[a+48>>2]=n+1;C[s+((n^-1)<<2)>>2]=d}p=p-1|0;c=m;continue}}C[a+92>>2]=0;if(g>>>0>>0){break h}break f}if(g>>>0>=k>>>0){break f}C[j+8>>2]=0;C[j+4>>2]=0;C[j>>2]=0;c=C[a>>2];d=C[a+76>>2]>>c;B[j+12>>1]=d;f=C[a+80>>2]>>c;B[j+14>>1]=f;while(1){h=i;e=C[h+20>>2];c=(e+C[h+16>>2]|0)-1<<16>>16;if(e<<16>>16>16){B[j+14>>1]=e;f=e}if((c|0)>d<<16>>16){B[j+12>>1]=c;d=c}i=C[h+4>>2];C[h>>2]=0;g=j+8|0;c=C[j+8>>2];D:{if(!c){c=0;break D}if(C[c>>2]>0){break D}E:{while(1){e=c;c=C[c+4>>2];if(c){if(C[c>>2]<=0){continue}break E}break}c=0}g=e+4|0}C[h+4>>2]=c;C[g>>2]=h;if(i){continue}break}if(!C[a+48>>2]){break g}Fe[C[a+160>>2]](a,j+14|0,j+12|0);k=B[j+14>>1];c=C[j+8>>2];if(c){while(1){C[c+24>>2]=C[c+20>>2]-k;c=C[c+4>>2];if(c){continue}break}}i=C[a+48>>2];F:{if((i|0)<=0){break F}if(C[C[a+32>>2]-(i<<2)>>2]==(k|0)){i=i-1|0;C[a+48>>2]=i;if(!i){break F}}c=0;while(1){e=C[j+8>>2];if(e){g=c<<16>>16;while(1){c=C[e+24>>2];C[e+24>>2]=c-g;h=C[e+4>>2];if((c|0)==(g|0)){c=C[j+8>>2];G:{if(!c){break G}if((c|0)==(e|0)){C[j+8>>2]=h;break G}while(1){d=c;c=C[c+4>>2];if(!c){break G}if((c|0)!=(e|0)){continue}break}C[d+4>>2]=h}m=C[e>>2];H:{if(D[e+12|0]&8){f=j+4|0;c=C[j+4>>2];if(!c){c=0;break H}if((m|0)>2]){break H}I:{while(1){d=c;c=C[c+4>>2];if(c){if((m|0)>=C[c>>2]){continue}break I}break}c=0}f=d+4|0;break H}f=j;c=C[f>>2];if(!c){c=0;break H}if((m|0)>2]){break H}J:{while(1){d=c;c=C[c+4>>2];if(c){if((m|0)>=C[c>>2]){continue}break J}break}c=0}f=d+4|0}C[e+4>>2]=c;C[f>>2]=e}e=h;if(e){continue}break}}m=k;e=C[j+4>>2];c=e;K:{if(!c){break K}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}c=C[e+4>>2];if(!c){break K}g=e+4|0;d=j+4|0;while(1){L:{if(C[e>>2]<=C[c>>2]){e=c;d=g;break L}C[d>>2]=c;C[g>>2]=C[c+4>>2];C[c+4>>2]=e;e=C[j+4>>2];d=j+4|0}g=e+4|0;c=C[e+4>>2];if(c){continue}break}}h=C[j>>2];c=h;M:{if(!c){h=0;break M}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}e=C[h+4>>2];if(!e){break M}g=h+4|0;d=j;c=h;while(1){N:{if(C[c>>2]<=C[e>>2]){d=g;c=e;break N}C[d>>2]=e;C[g>>2]=C[e+4>>2];C[e+4>>2]=c;d=j;h=C[d>>2];c=h}g=c+4|0;e=C[c+4>>2];if(e){continue}break}}C[a+48>>2]=i-1;p=C[C[a+32>>2]-(i<<2)>>2];i=p<<16>>16;O:{if((i|0)>m<<16>>16){k=m;while(1){f=C[j+4>>2];P:{if(!f){break P}l=0;g=j;c=f;while(1){Q:{R:{e=C[c>>2];n=C[g>>2];d=C[n>>2];o=(d|0)<(e|0)?e:d;r=(d|0)>(e|0)?e:d;g=C[a+4>>2];if((o-r|0)>(g|0)){break R}d=0-g|0;e=d&r;if((e|0)==(r|0)){break R}d=d&(g+o|0)-1;if((d|0)==(o|0)|(d|0)!=(e+g|0)&(d|0)>=(e|0)){break R}if((E[c+12>>1]&7)==2){break Q}C[c>>2]=r;C[n>>2]=o;C[c+24>>2]=1;l=l+1|0;break Q}Fe[C[a+164>>2]](a,k<<16>>16,r,o,c,n)}g=n+4|0;c=C[c+4>>2];if(c){continue}break}e=j;c=f;if(l<<16>>16<=0){break P}while(1){d=C[e>>2];if(C[c+24>>2]){C[c+24>>2]=0;Fe[C[a+168>>2]](a,k<<16>>16,C[c>>2],C[d>>2],c,d)}e=d+4|0;c=C[c+4>>2];if(c){continue}break}}Fe[C[a+172>>2]](a);k=k+1|0;if((i|0)<=k<<16>>16){break O}c=f;S:{if(!c){break S}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}c=C[f+4>>2];if(!c){break S}e=f+4|0;g=j+4|0;while(1){if(!(C[f>>2]<=C[c>>2])){C[g>>2]=c;C[e>>2]=C[c+4>>2];C[c+4>>2]=f;e=j+4|0;c=C[j+4>>2]}f=c;g=e;e=f+4|0;c=C[f+4>>2];if(c){continue}break}h=C[j>>2]}d=h;h=0;f=d;c=d;if(!c){continue}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}g=f+4|0;d=j;h=f;c=f;e=C[c+4>>2];if(!e){continue}while(1){T:{if(C[c>>2]<=C[e>>2]){d=g;c=e;break T}C[d>>2]=e;C[g>>2]=C[e+4>>2];C[e+4>>2]=c;d=j;f=C[d>>2];c=f}g=c+4|0;e=C[c+4>>2];if(e){continue}break}h=f;continue}}f=C[j+4>>2];k=m}if(f){while(1){e=f;f=C[e+4>>2];U:{if(C[e+16>>2]){break U}c=C[j+4>>2];if(!c){break U}if((c|0)==(e|0)){C[j+4>>2]=f;break U}while(1){d=c;c=C[c+4>>2];if(!c){break U}if((c|0)!=(e|0)){continue}break}C[d+4>>2]=f}if(f){continue}break}}V:{if(!h){break V}while(1){e=h;h=C[e+4>>2];W:{if(C[e+16>>2]){break W}c=C[j>>2];if(!c){break W}if((c|0)==(e|0)){C[j>>2]=h;if(!h){break V}continue}while(1){d=c;c=C[c+4>>2];if(!c){break W}if((c|0)!=(e|0)){continue}break}C[d+4>>2]=h;if(!h){break V}continue}if(h){continue}break}}c=p-m|0;i=C[a+48>>2];if((i|0)>0){continue}break}}if(B[j+12>>1]>16){break h}while(1){Fe[C[a+172>>2]](a);k=k+1<<16>>16;if((k|0)<=B[j+12>>1]){continue}break}}c=C[a+1020>>2]-1|0;break d}C[a+44>>2]=20;d=20;break a}if(C[a+44>>2]==98){break e}d=1;break a}C[a+44>>2]=0;d=C[a+1020>>2];c=(d<<2)+a|0;h=c;e=B[c+958>>1];c=B[c+956>>1];g=(e+c|0)/2|0;if(!((d|0)<=6&(c|0)<=(g|0))){C[a+44>>2]=20;C[a+1020>>2]=0;d=20;break a}c=d+1|0;d=(c<<2)+a|0;B[d+958>>1]=e;B[d+956>>1]=g;B[h+958>>1]=g-1}C[a+1020>>2]=c;if((c|0)>=0){continue}break}d=0;break a}C[a+44>>2]=99;d=1;break a}C[a+44>>2]=20;d=1}Ce=j+16|0;return d}function BF(a){a=a|0;var 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;s=C[a+28>>2];if(s){k=D[a+63|0];t=C[a+56>>2];w=C[a+36>>2];x=C[a+16>>2];u=C[a+24>>2];y=u&3;u=(u+3|0)/4|0;h=C[a>>2];e=C[a+20>>2];g=C[a+40>>2];q=D[g+9|0];v=q-1|0;b=C[a+44>>2];r=D[b+9|0];p=r-1|0;while(1){s=s-1|0;a=u;a:{b:{switch(y-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;e:{f:{switch(v|0){case 0:c=D[h|0];break e;case 1:c=E[h>>1];break e;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break e;case 3:break f;default:break e}}c=C[h>>2]}g:{if(!k|(c|0)==(t|0)){break g}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;h:{i:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break h;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break h;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break h;case 3:break i;default:break h}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;j:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break g;case 3:break j;default:break g}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1];break k;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break k;case 3:break l;default:break k}}c=C[h>>2]}m:{if(!k|(c|0)==(t|0)){break m}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;n:{o:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break n;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break n;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break n;case 3:break o;default:break n}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;p:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break m;case 3:break p;default:break m}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1];break q;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break q;case 3:break r;default:break q}}c=C[h>>2]}s:{if(!k|(c|0)==(t|0)){break s}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;t:{u:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break t;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break t;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break t;case 3:break u;default:break t}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;v:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break s;case 3:break v;default:break s}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1];break w;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break w;case 3:break x;default:break w}}c=C[h>>2]}y:{if(!k|(c|0)==(t|0)){break y}m=D[C[(D[g+30|0]<<2)+381104>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+381104>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+381104>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;z:{A:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break z;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break z;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break z;case 3:break A;default:break z}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;B:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break y;case 3:break B;default:break y}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];d=bf(a,0);C[h+36>>2]=d;a:{if(d){break a}C[h+28>>2]=0;C[h+32>>2]=8;C[h+20>>2]=1;C[h+24>>2]=1;C[h+40>>2]=0;i=hf(q,139324,h+40|0);b:{c:{d:{d=C[h+40>>2];if(!d){C[i+139320>>2]=q;B[i+12>>1]=32767;C[i+139304>>2]=0;C[i+139308>>2]=0;C[i+139312>>2]=0;C[i+139316>>2]=q;C[i+36>>2]=h+20;r=C[a+28>>2];C[h+44>>2]=0;d=1024;k=Ve(r,1,0,1024,0,h+44|0);e:{if(C[h+44>>2]){break e}C[h+8>>2]=885;A[k|0]=0;s=256;e=0;u=1;while(1){n=d;f:while(1){f=0;g=0;while(1){if(!(f&1)){l=ep(a,j+k|0,n-j|0);e=l+j|0;j=0}if((e|0)>(g|0)){d=A[g+k|0]==(s|0);s=d?256:s;g=d+g|0}g:{h:{d=g;if((e|0)>(d|0)){while(1){i:{o=d+k|0;v=D[o|0];switch(v-10|0){case 0:case 3:break h;default:break i}}d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(!l){break e}if(!g){if(n>>>0<65536){break g}C[h+44>>2]=6;break e}l=e-g|0;t(k,g+k|0,l);j=l;e=g;continue f}A[o|0]=0;j:{k:{p=g+k|0;switch(D[p|0]-26|0){case 0:case 9:break j;default:break k}}if((d|0)<=(g|0)){break j}m=d-g|0;g=Fe[C[h+8>>2]](p,m,u,h+8|0,i)|0;C[h+44>>2]=g;if((g|0)==-1){g=Fe[C[h+8>>2]](p,m,u,h+8|0,i)|0;C[h+44>>2]=g}if(g){break e}}A[o|0]=v;s=(v|0)==10?13:(v|0)==13?10:256;f=1;g=d+1|0;u=u+1|0;continue}break}break}d=n<<1;k=Ve(r,1,n,d,k,h+44|0);j=n;if(!C[h+44>>2]){continue}break}}if(k){Fe[C[r+8>>2]](r,k)}a=C[h+44>>2];C[h+40>>2]=a;f=C[i+32>>2];if(a){break d}l:{m:{if(f){if(C[f+28>>2]!=8){B[f+32>>1]=E[f+4>>1]}d=C[f+64>>2];a=C[f+52>>2];if(C[i+4>>2]!=(d+a|0)){B[f+278660>>1]=1}n:{if(!C[C[i+36>>2]>>2]|!(a|d)){break n}d=B[i+12>>1];a=B[i+16>>1]-d|0;if((a|0)!=E[f+4>>1]){B[f+278660>>1]=1;B[f+4>>1]=a}if(E[f+8>>1]!=(d&65535)){B[f+278660>>1]=1;B[f+8>>1]=d}d=E[i+18>>1];if((d|0)!=E[f+12>>1]){B[f+278660>>1]=1;B[f+12>>1]=d}e=E[i+20>>1];a=e<<16>>16;if((e|0)!=E[f+14>>1]){B[f+278660>>1]=1;B[f+14>>1]=e;B[f+10>>1]=0-e}a=a+(d<<16>>16)|0;if((a|0)==E[f+6>>1]){break n}B[f+6>>1]=a}d=C[i>>2];if(d&1){break m}a=C[f+88>>2];if(!a){break c}a=Ve(C[f+278664>>2],1,a,a+1|0,C[f+84>>2],h+40|0);f=C[i+32>>2];C[f+84>>2]=a;if(C[h+40>>2]){break d}A[a+C[f+88>>2]|0]=0;f=C[i+32>>2];break c}d=C[i>>2];if(!(d&1)){break l}}if(!(d&32)){C[h+40>>2]=185;f=0;break c}C[h+40>>2]=186;f=0;break c}C[h+40>>2]=3;f=0;break c}if(!i){break b}break c}tw(f);a=C[i+32>>2];if(a){Fe[C[q+8>>2]](q,a)}f=0;C[i+32>>2]=0}d=C[i+139316>>2];if(d){a=C[i+139304>>2];if(a){Fe[C[d+8>>2]](d,a)}a=i+139312|0;C[a>>2]=0;C[a+4>>2]=0;C[i+139304>>2]=0;C[i+139308>>2]=0}if(i){Fe[C[q+8>>2]](q,i)}d=C[h+40>>2]}C[h+36>>2]=d;o:{p:{if((d&255)!=176){if(d){break a}C[b+140>>2]=f;if((c|0)>0){sp(b);d=6;break a}C[b>>2]=1;C[b+4>>2]=0;j=C[b+8>>2];C[b+8>>2]=j|146;if(!f){break p}e=C[f+72>>2];if(!e){break p}a=C[f+128>>2];g=C[a+12>>2];a=C[a+4>>2];k=g+(3000791075%(a>>>0)<<2)|0;d=C[k>>2];if(d){c=(g+(a<<2)|0)-4|0;q:{while(1){r:{a=C[d>>2];if(D[a|0]==83){if(!Se(a,26314)){break r}}a=k-4|0;k=a>>>0>>0?c:a;d=C[k>>2];if(d){continue}break q}break}a=C[f+80>>2];if(!a){break q}a=a+(C[d+4>>2]<<4)|0;if(C[a+4>>2]!=1){break q}a=C[a+12>>2];if(!a){break q}s:{t:{a=D[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 q;case 0:case 10:break s;default:break t}}switch(a-99|0){case 0:case 10:break s;default:break q}}C[b+8>>2]=j|150}if(!e){break p}}a=C[f+128>>2];e=C[a+12>>2];a=C[a+4>>2];k=e+(1183963782%(a>>>0)<<2)|0;d=C[k>>2];if(!d){break p}c=(e+(a<<2)|0)-4|0;while(1){u:{a=C[d>>2];if(D[a|0]==70){if(!Se(a,26935)){break u}}a=k-4|0;k=a>>>0>>0?c:a;d=C[k>>2];if(d){continue}break p}break}a=C[f+80>>2];if(!a){break p}a=C[(a+(C[d+4>>2]<<4)|0)+12>>2];if(!a){break p}w=b,x=qh(q,a,h+36|0),C[w+20>>2]=x;d=C[h+36>>2];if(d){break a}break o}sp(b);d=2;break a}C[b+20>>2]=0}c=0;j=0;g=0;l=0;k=0;s=0;u=0;i=Ce-16|0;Ce=i;C[i+12>>2]=0;C[b+12>>2]=0;o=C[b+100>>2];p=1;v:{w:{x:{m=C[b+140>>2];if(!m){break x}l=C[m+72>>2];if(!l){l=0;break x}a=C[m+128>>2];n=C[a+12>>2];y:{z:{a=C[a+4>>2];e=n+(78981326%(a>>>0)<<2)|0;d=C[e>>2];if(!d){p=0;break z}c=(n+(a<<2)|0)-4|0;A:{B:{while(1){C:{a=C[d>>2];if(D[a|0]==83){if(!Se(a,23494)){break C}}a=e-4|0;e=a>>>0>>0?c:a;d=C[e>>2];if(d){continue}break B}break}a=C[m+80>>2];if(!a){break B}p=0;c=a+(C[d+4>>2]<<4)|0;if(C[c+4>>2]!=1){break A}a=C[c+12>>2];if(!a){break B}D:{switch(D[a|0]-73|0){case 0:case 6:case 32:case 38:break D;default:break A}}j=1;C[b+12>>2]=1;p=(D[C[c+12>>2]]&223)==79?16031:21653;break A}p=0}if(l){break z}j=0;a=0;d=0;m=1;break y}a=C[m+128>>2];g=C[a+12>>2];E:{F:{G:{a=C[a+4>>2];e=g+(4260511730%(a>>>0)<<2)|0;d=C[e>>2];if(!d){break G}c=(g+(a<<2)|0)-4|0;H:{I:{while(1){a=C[d>>2];if(D[a|0]==87){if(!Se(a,26964)){break I}}a=e-4|0;e=a>>>0>>0?c:a;d=C[e>>2];if(d){continue}break}break H}a=C[m+80>>2];if(!a){break H}a=a+(C[d+4>>2]<<4)|0;if(C[a+4>>2]!=1){break H}a=C[a+12>>2];if(!a|(D[a|0]|32)!=98){break H}C[b+12>>2]=j|2;k=19740}if(l){break G}a=0;g=0;break F}g=0;a=0;c=C[m+128>>2];j=C[c+12>>2];J:{c=C[c+4>>2];e=j+(41411398%(c>>>0)<<2)|0;d=C[e>>2];if(d){c=(j+(c<<2)|0)-4|0;K:{L:{while(1){a=C[d>>2];if(D[a|0]==83){if(!Se(a,26986)){break L}}a=e-4|0;e=a>>>0>>0?c:a;d=C[e>>2];if(d){continue}break}a=0;break K}a=0;c=C[m+80>>2];if(!c){break K}c=c+(C[d+4>>2]<<4)|0;if(C[c+4>>2]!=1){break K}c=C[c+12>>2];if(!c){break K}d=D[c|0];if(!d|(d|0)==78|(d|0)==110){break K}a=c}if(!l){break J}}c=C[m+128>>2];n=C[c+12>>2];c=C[c+4>>2];e=n+(657458935%(c>>>0)<<2)|0;d=C[e>>2];if(!d){break F}j=(n+(c<<2)|0)-4|0;while(1){M:{c=C[d>>2];if(D[c|0]==65){if(!Se(c,27e3)){break M}}c=e-4|0;e=c>>>0>>0?j:c;d=C[e>>2];if(d){continue}break J}break}c=C[m+80>>2];if(!c){break J}c=c+(C[d+4>>2]<<4)|0;if(C[c+4>>2]!=1){break F}g=C[c+12>>2];if(!g){break J}j=0;c=D[g|0];if(!(!c|(c|0)==78|(c|0)==110)){j=af(g);d=j+1|0;break E}g=0;d=0;break E}g=0}j=0;d=0}if(!k){k=0;m=1;break y}s=af(k);d=(s+d|0)+1|0;m=0}c=0;if(p){u=af(p);d=(u+d|0)+1|0;n=p}else{n=0}N:{if(!a){l=0;break N}l=af(a);d=(l+d|0)+1|0;c=a}p=!p;a=!a;if(d){break v}break w}n=0;m=1;a=1}d=8;j=7;g=11228}d=hf(o,d,i+12|0);C[b+24>>2]=d;Ce=i+16|0;e=C[i+12>>2];if(e){d=e}else{if(g){t(d,g,j);O:{if(!j){break O}g=0;e=0;if(j>>>0>=4){v=j&-4;r=0;while(1){o=d+e|0;if(D[o|0]==32){A[o|0]=45}o=(e|1)+d|0;if(D[o|0]==32){A[o|0]=45}o=(e|2)+d|0;if(D[o|0]==32){A[o|0]=45}o=(e|3)+d|0;if(D[o|0]==32){A[o|0]=45}e=e+4|0;r=r+4|0;if((v|0)!=(r|0)){continue}break}}v=j&3;if(!v){break O}while(1){o=d+e|0;if(D[o|0]==32){A[o|0]=45}e=e+1|0;g=g+1|0;if((v|0)!=(g|0)){continue}break}}d=d+j|0}if(!m){if(C[b+24>>2]!=(d|0)){A[d|0]=32;d=d+1|0}t(d,k,s);d=d+s|0}if(!p){if(C[b+24>>2]!=(d|0)){A[d|0]=32;d=d+1|0}t(d,n,u);d=d+u|0}if(!a){if(C[b+24>>2]!=(d|0)){A[d|0]=32;d=d+1|0}t(d,c,l);P:{if(!l){break P}g=0;e=0;if(l>>>0>=4){c=l&-4;r=0;while(1){a=d+e|0;if(D[a|0]==32){A[a|0]=45}a=(e|1)+d|0;if(D[a|0]==32){A[a|0]=45}a=(e|2)+d|0;if(D[a|0]==32){A[a|0]=45}a=(e|3)+d|0;if(D[a|0]==32){A[a|0]=45}e=e+4|0;r=r+4|0;if((c|0)!=(r|0)){continue}break}}c=l&3;if(!c){break P}while(1){a=d+e|0;if(D[a|0]==32){A[a|0]=45}e=e+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+l|0}A[d|0]=0;d=C[i+12>>2]}C[h+36>>2]=d;if(d){break a}a=C[f+48>>2];C[b+28>>2]=1;C[b+16>>2]=a+1;c=Ve(q,16,0,1,0,h+36|0);C[b+32>>2]=c;d=C[h+36>>2];if(d){break a}C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;d=C[f+44>>2]+C[f+40>>2]|0;B[c>>1]=d;a=rj(f,25989);Q:{if(a){a=(C[a+12>>2]+5|0)/10|0;break Q}a=(d<<16>>15)/3|0}B[c+2>>1]=a;d=rj(f,26464);R:{if(d){a=(I(C[d+12>>2],460800)+36135|0)/72270|0;break R}a=a<<16>>10}C[c+4>>2]=a;g=0;d=0;e=rj(f,26498);if(e){d=C[e+12>>2]<<16>>10;C[c+12>>2]=d}e=rj(f,22587);if(e){g=C[e+12>>2]}S:{T:{U:{e=rj(f,22289);if(e){e=C[e+12>>2];if(d){break T}C[c+12>>2]=a;if(e&65535){break U}d=a;break S}if(d){break S}C[c+12>>2]=a;d=a;break S}d=(I(a,e<<16>>16)|0)/72|0;C[c+12>>2]=d}a=g<<16;if(!a|!(e&65535)){break S}d=(I(a>>16,d)|0)/(e<<16>>16)|0}C[c+8>>2]=d;p=C[f+56>>2];m=Ve(q,8,0,C[f+48>>2],0,h+36|0);C[b+144>>2]=m;d=C[h+36>>2];if(d){break a}C[b+164>>2]=0;l=C[f+48>>2];V:{if(!l){break V}n=C[f+36>>2];d=0;if((l|0)!=1){c=l&-2;j=0;while(1){e=C[(p+I(d,36)|0)+4>>2];a=m+(d<<3)|0;B[a+4>>1]=d;C[a>>2]=e;if((e|0)==(n|0)){C[b+164>>2]=d}g=d|1;e=C[(p+I(g,36)|0)+4>>2];a=m+(g<<3)|0;B[a+4>>1]=g;C[a>>2]=e;if((e|0)==(n|0)){C[b+164>>2]=g}d=d+2|0;j=j+2|0;if((c|0)!=(j|0)){continue}break}}if(!(l&1)){break V}c=C[(p+I(d,36)|0)+4>>2];a=m+(d<<3)|0;B[a+4>>1]=d;C[a>>2]=c;if((c|0)!=(n|0)){break V}C[b+164>>2]=d}W:{c=rj(f,22351);a=rj(f,26297);if(!c|!a|(C[c+4>>2]!=1|C[a+4>>2]!=1)){break W}if(!C[c+12>>2]){break W}a=C[a+12>>2];if(!a){break W}w=b,x=qh(q,a,h+36|0),C[w+132>>2]=x;d=C[h+36>>2];if(d){break a}a=qh(q,C[c+12>>2],h+36|0);C[b+136>>2]=a;d=C[h+36>>2];if(d){break a}X:{Y:{Z:{if((D[a|0]|32)!=105|(D[a+1|0]|32)!=115|(D[a+2|0]|32)!=111){break Z}a=a+3|0;if(!Se(a,29056)){break Y}if(Se(a,28819)){break Z}if(!Se(C[b+132>>2],29773)){break Y}}C[h+12>>2]=0;C[h+16>>2]=0;break X}C[h+12>>2]=1970170211;C[h+16>>2]=65539}C[h+8>>2]=b;d=wh(280192,0,h+8|0,0);break a}C[h+12>>2]=1094995778;C[h+16>>2]=7;C[h+8>>2]=b;d=wh(280192,0,h+8|0,0);if(!C[b+36>>2]){break a}C[b+92>>2]=C[C[b+40>>2]>>2]}Ce=h+48|0;return d|0}function FK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;f=Ce-1520|0;Ce=f;C[b>>2]=1;m=Ti(C[b+96>>2],6758);C[b+484>>2]=m;l=si(C[C[b+96>>2]+4>>2],1608);C[b+488>>2]=l;a:{if(!l){a=11;break a}r=b,s=si(C[C[b+96>>2]+4>>2],9541),C[r+548>>2]=s;j=C[b+488>>2];a=f+12|0;p(a,0,376);C[b+540>>2]=0;C[b+532>>2]=-1;C[b+536>>2]=-1;C[b+284>>2]=1;C[b+348>>2]=3932;C[b+172>>2]=4;C[b+276>>2]=2596864;C[b+280>>2]=7;d=C[b+104>>2];e=C[b+100>>2];Fe[C[C[j+4>>2]>>2]](a,0,0,e);C[f+96>>2]=0;C[f+100>>2]=0;A[f+103|0]=0;A[f+104|0]=0;A[f+105|0]=0;A[f+106|0]=0;C[f+88>>2]=0;C[f+92>>2]=0;C[f+84>>2]=d;a=Cu(d,3858,14);C[f+8>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=Cu(d,17010,10);C[f+8>>2]=a;if(a){break d}}a=bf(d,0);C[f+8>>2]=a;if(a){break d}h=_f(d,f+1512|0);e:{f:{g:{h:{a=C[f+1512>>2];if(!a){if((h+32767&65535)>>>0>=2){break g}g=ch(d,f+1512|0);a=C[f+1512>>2];if(!a){break h}}C[f+8>>2]=a;break d}C[f+8>>2]=0;if((h|0)==32769){break f}}a=bf(d,0);C[f+8>>2]=a;if(a){break d}g=C[d+4>>2];break e}A[f+104|0]=1}i:{if(!C[d+20>>2]){a=C[d+8>>2];h=C[d>>2];A[f+105|0]=1;C[f+92>>2]=g;C[f+88>>2]=a+h;a=lg(d,g);C[f+8>>2]=a;if(a){break d}g=C[f+92>>2];break i}h=hf(e,g,f+8|0);C[f+88>>2]=h;a=C[f+8>>2];if(a){break d}a=jg(d,h,g);C[f+8>>2]=a;if(a){break d}C[f+92>>2]=g}d=C[f+88>>2];C[f+16>>2]=d;C[f+12>>2]=d;C[f+20>>2]=d+g;break c}if(D[f+105|0]){C[f+4>>2]=a;break b}a=C[f+88>>2];if(a){Fe[C[e+8>>2]](e,a)}d=0;C[f+88>>2]=0;a=C[f+8>>2];C[f+4>>2]=a;if(a){break b}g=C[f+92>>2]}a=Bu(b,f+12|0,d,g);C[f+4>>2]=a;if(a){break b}h=C[f+28>>2];d=C[f+84>>2];C[f+8>>2]=0;j:{k:{l:{m:{if(D[f+104|0]){i=C[d+8>>2];C[f+100>>2]=0;while(1){e=_f(d,f+1512|0);a=C[f+1512>>2];if(a){break k}if((e+32767&65535)>>>0>=2){C[f+8>>2]=0;break m}g=ch(d,f+1512|0);a=C[f+1512>>2];if(a){break k}C[f+8>>2]=0;if((e|0)!=32770){break m}C[f+100>>2]=g+C[f+100>>2];a=lg(d,g);C[f+8>>2]=a;if(!a){continue}break}break k}e=C[f+88>>2];g=C[f+92>>2];d=e+g|0;a=e;while(1){n:{o:{if(D[a|0]!=101|a+9>>>0>=d>>>0|(D[a+1|0]!=101|D[a+2|0]!=120)){break o}if(D[a+3|0]!=101){break o}if(D[a+4|0]==99){break n}}a=a+1|0;if(d>>>0>a>>>0){continue}C[f+4>>2]=3;break b}a=a+10|0;C[f+20>>2]=a;C[f+12>>2]=e;p:{if(a>>>0>e>>>0){while(1){if(D[e|0]==101){if(!cf(e,21660,5)){break p}}Fe[C[f+44>>2]](f+12|0);if(!C[f+24>>2]){Fe[C[f+40>>2]](f+12|0);e=C[f+12>>2];if(e>>>0>>0){continue}}break}g=C[f+92>>2];e=C[f+88>>2]}d=e+g|0;continue}break}C[f+20>>2]=C[f+88>>2]+C[f+92>>2];Fe[C[f+44>>2]](f+12|0);i=C[f+20>>2];d=C[f+12>>2];g=i-d|0;a=lj(d,10,g);if(a){e=lj(d,13,g)>>>0>>0}else{e=1}a=3;if(d>>>0>=i>>>0){break k}k=d+g|0;while(1){q:{g=D[d|0];if(!((g|0)==9|(g|0)==32|(g|0)==10)){if(!(e&(g|0)==13)){break q}}d=d+1|0;if((k|0)!=(d|0)){continue}break k}break}g=C[f+88>>2];e=C[f+92>>2]+(g-d|0)|0;r:{if(D[f+105|0]){g=hf(h,e+1|0,f+8|0);C[f+96>>2]=g;a=C[f+8>>2];if(a){break k}C[f+100>>2]=e;break r}C[f+100>>2]=e;C[f+96>>2]=g;A[f+106|0]=1;C[f+88>>2]=0;C[f+92>>2]=0}s:{if(i>>>0<=d+3>>>0){break s}t:{a=D[d|0];if(a-48>>>0<10){break t}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 t;default:break s}}u:{a=D[d+1|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 s}}v:{a=D[d+2|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 s}}w:{a=D[d+3|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 s}}C[f+12>>2]=d;Fe[C[C[j+4>>2]+24>>2]](f+12|0,g,e,f+1512|0,0)|0;a=C[f+1512>>2];C[f+100>>2]=a;A[a+C[f+96>>2]|0]=0;break l}t(g,d,e);break l}if(!C[f+100>>2]){C[f+4>>2]=3;break b}a=bf(d,i);C[f+8>>2]=a;if(a){break k}r=f,s=hf(h,C[f+100>>2],f+8|0),C[r+96>>2]=s;a=C[f+8>>2];if(a){break k}C[f+100>>2]=0;a=_f(d,f+1512|0);x:{if(C[f+1512>>2]){break x}while(1){if((a+32767&65535)>>>0>1){break x}e=ch(d,f+1512|0);if(C[f+1512>>2]){break x}C[f+8>>2]=0;if((a&65535)!=32770){break x}a=jg(d,C[f+96>>2]+C[f+100>>2]|0,e);C[f+8>>2]=a;if(a){break k}C[f+100>>2]=e+C[f+100>>2];a=_f(d,f+1512|0);if(!C[f+1512>>2]){continue}break}}C[f+8>>2]=0}Fe[C[j+16>>2]](C[f+96>>2],C[f+100>>2],55665);a=3;if(F[f+100>>2]>3){break j}}C[f+4>>2]=a;break b}A[C[f+96>>2]]=32;A[C[f+96>>2]+1|0]=32;A[C[f+96>>2]+2|0]=32;A[C[f+96>>2]+3|0]=32;a=C[f+96>>2];C[f+16>>2]=a;C[f+12>>2]=a;d=C[f+100>>2];C[f+20>>2]=d+a;e=C[f+8>>2];C[f+4>>2]=e;if(e){break b}a=Bu(b,f+12|0,a,d);C[f+4>>2]=a;if(a){break b}A[b+176|0]=D[b+176|0]&254;y:{z:{d=C[b+528>>2];if(!d){break z}a=C[d+416>>2];if(!(!a|(a|0)==C[d+4>>2])){C[d+416>>2]=0}A:{B:{if(C[d>>2]){e=C[d+4>>2];if(e){break B}}wo(b);d=C[b+528>>2];if(!d){break z}e=C[d+4>>2];if(!e){break A}}a=0;while(1){if(D[(I(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break A}break}wo(b);if(!C[b+528>>2]){break z}}a=C[b+540>>2];if(!a){break y}r=b,s=Ve(C[b+100>>2],4,0,a,0,f+4|0),C[r+544>>2]=s;if(!C[f+4>>2]){break y}C[b+540>>2]=0;break b}C[b+540>>2]=0}j=C[f+164>>2];C[b+416>>2]=j;if(C[f+340>>2]){C[f+340>>2]=0;C[b+404>>2]=C[f+324>>2];C[b+392>>2]=C[f+328>>2];C[b+408>>2]=C[f+352>>2];C[b+412>>2]=C[f+356>>2]}if(!(C[C[b+128>>2]+48>>2]|C[f+232>>2])){C[f+4>>2]=3}e=0;C[f+232>>2]=0;C[b+396>>2]=C[f+220>>2];C[b+424>>2]=C[f+244>>2];C[b+428>>2]=C[f+248>>2];C[b+400>>2]=C[f+168>>2];C[b+420>>2]=C[f+192>>2];C[f+192>>2]=0;C[f+168>>2]=0;if(C[b+368>>2]!=1){break b}g=0;k=C[f+128>>2];if((k|0)>0){d=0;while(1){n=d<<1;B[n+C[b+384>>2]>>1]=0;h=d<<2;C[h+C[b+388>>2]>>2]=15690;o=C[h+C[f+136>>2]>>2];C:{if(!o|(j|0)<=0){break C}q=C[b+420>>2];a=0;while(1){i=C[(a<<2)+q>>2];if(!Se(o,i)){B[C[b+384>>2]+n>>1]=a;C[h+C[b+388>>2]>>2]=i;if(!Se(15690,i)){break C}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e;break C}a=a+1|0;if((j|0)!=(a|0)){continue}break}}d=d+1|0;if((k|0)!=(d|0)){continue}break}}C[b+380>>2]=g;C[b+376>>2]=e;C[b+372>>2]=C[f+108>>2]}a=C[f+160>>2];if(a){Fe[a|0](f+112|0)}a=C[f+268>>2];if(a){Fe[a|0](f+220|0)}a=C[f+216>>2];if(a){Fe[a|0](f+168|0)}a=C[f+320>>2];if(a){Fe[a|0](f+272|0)}a=C[f+376>>2];if(a){Fe[a|0](f+328|0)}a=C[f+28>>2];d=C[f+96>>2];if(d){Fe[C[a+8>>2]](a,d)}C[f+96>>2]=0;if(!D[f+105|0]){d=C[f+88>>2];if(d){Fe[C[a+8>>2]](a,d)}C[f+88>>2]=0}Fe[C[f+36>>2]](f+12|0);a=C[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}C[b+4>>2]=0;C[b+16>>2]=C[b+416>>2];c=C[b+8>>2];a=c|2577;C[b+8>>2]=a;if(D[b+156|0]){a=c|2581;C[b+8>>2]=a}e=C[b+528>>2];if(e){C[b+8>>2]=a|256}C[b+24>>2]=0;d=C[b+144>>2];C[b+20>>2]=d;D:{E:{if(d){a=C[b+140>>2];if(!a){break E}c=D[a|0];if(!c){a=11228;break D}while(1){F:{G:{g=c&255;c=D[d|0];if((g|0)==(c|0)){a=a+1|0;break G}g=g-32|0;if(!((g|0)!=13?g:0)){a=a+1|0;break F}H:{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 E;case 0:case 13:break G;default:break H}}if(c){break E}break D}d=d+1|0}c=D[a|0];if(c){continue}break}a=11228;break D}a=C[b+364>>2];if(!a){break E}C[b+20>>2]=a}a=C[b+148>>2];a=a?a:11228}C[b+24>>2]=a;c=C[b+152>>2]!=0;C[b+12>>2]=c;a=C[b+148>>2];I:{if(!a){break I}if(Se(a,19740)){if(Se(a,14379)){break I}}C[b+12>>2]=c|2}C[b+28>>2]=0;C[b+32>>2]=0;C[b+52>>2]=B[b+462>>1];a=B[b+466>>1];C[b+56>>2]=a;g=C[b+468>>2]+65535>>16;C[b+60>>2]=g;d=C[b+472>>2]+65535>>16;C[b- -64>>2]=d;c=E[b+68>>1];if(!c){B[b+68>>1]=1e3;c=1e3}B[b+76>>1]=g;B[b+72>>1]=a;B[b+70>>1]=d;a=d-a|0;c=(I(c,12)>>>0)/10|0;B[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;c=e;e=C[b+488>>2];if(!(Fe[C[C[e+12>>2]>>2]](f+12|0,b,0,0,C[b+420>>2],c,0,0,1214)|0)){A[f+80|0]=0;A[f+82|0]=1;C[f+1376>>2]=C[b+404>>2];C[f+1380>>2]=C[b+408>>2];C[f+1384>>2]=C[b+412>>2];C[f+1500>>2]=C[b+544>>2];C[f+1504>>2]=C[b+540>>2];J:{if(C[b+416>>2]<=0){break J}K:{if(Lk(f+12|0,0,f+1512|0)){break K}a=C[C[C[f+16>>2]+128>>2]+48>>2];if(!a){break K}Fe[C[C[a>>2]+4>>2]](C[a+4>>2],f+1512|0)}a=C[f+52>>2];if(C[b+416>>2]<2){break J}d=1;while(1){L:{if(Lk(f+12|0,d,f+1512|0)){break L}c=C[C[C[f+16>>2]+128>>2]+48>>2];if(!c){break L}Fe[C[C[c>>2]+4>>2]](C[c+4>>2],f+1512|0)}c=C[f+52>>2];a=(a|0)<(c|0)?c:a;d=d+1|0;if((d|0)>2]){continue}break}}Fe[C[C[e+12>>2]+4>>2]](f+12|0);B[b+76>>1]=((a|0)>=0?a+32768&-65536:0-(32768-a&-65536)|0)>>>16}B[b+78>>1]=E[b+74>>1];C[b+80>>2]=E[b+158>>1]|E[b+160>>1]<<16;if(!m){a=0;break a}d=C[l+20>>2];C[f+12>>2]=b;C[f+16>>2]=1970170211;C[f+20>>2]=65539;a=wh(C[d+12>>2],0,f+12|0,0);if((a&255)!=163?a:0){break a}B[f+20>>1]=7;a=0;M:{N:{switch(C[b+368>>2]-1|0){case 1:B[f+22>>1]=0;C[f+16>>2]=1094995778;break M;case 3:B[f+22>>1]=1;C[f+16>>2]=1094992453;d=d+4|0;break M;case 0:B[f+22>>1]=2;C[f+16>>2]=1094992451;d=d+8|0;break M;case 2:break N;default:break a}}d=d+12|0;B[f+22>>1]=3;C[f+16>>2]=1818326065}b=C[d>>2];if(!b){break a}a=wh(b,0,f+12|0,0)}Ce=f+1520|0;return a|0}function Yn(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;r=Ce-16|0;Ce=r;a:{if(!a){C[r>>2]=3208;i=Qe(19745,r);break a}lf(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){i=Qe(7063,0);break a}t=f-1|0;if(t>>>0>=8){i=Qe(7034,0);break a}if((d|0)<=0){i=Qe(11459,0);break a}if((g|0)<=0){i=Qe(11412,0);break a}if(d>>>0>=4194303){i=Qe(14930,0);break a}if(g>>>0>=4194303){i=Qe(14901,0);break a}A[a+6|0]=e;A[a+7|0]=e>>>8;A[a+4|0]=b;A[a+5|0]=b>>>8;A[a+80|0]=0;A[a+81|0]=0;A[a+82|0]=0;A[a+83|0]=0;A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0;lf(a+40|0,0,40);A[a+32|0]=0;A[a+33|0]=0;A[a+34|0]=0;A[a+35|0]=0;A[a+36|0]=0;A[a+37|0]=0;A[a+38|0]=240;A[a+39|0]=63;A[a+28|0]=1;A[a+29|0]=0;A[a+30|0]=0;A[a+31|0]=0;o(+(+(g|0)/+(d|0)));i=j(1)|0;p=j(0)|0;A[a+8|0]=p;A[a+9|0]=p>>>8;A[a+10|0]=p>>>16;A[a+11|0]=p>>>24;A[a+12|0]=i;A[a+13|0]=i>>>8;A[a+14|0]=i>>>16;A[a+15|0]=i>>>24;if(!D[417936]){C[104475]=216;C[104474]=217;C[104476]=218;C[104477]=219;C[104478]=220;C[104479]=221;C[104480]=222;C[104481]=223;C[104482]=224;C[104483]=225;A[417936]=1}n:{o:{if((c|0)!=(f|0)|(d|0)!=(g|0)){break o}i=0;if((b|0)==(e|0)){break a}if((e&61439)!=(b&61439)){break o}if((e&255)==8){break a}if((tt(a,151)|0)<0){i=-1;break a}i=1;break n}i=-1;p=Ce-32|0;Ce=p;p:{q:{if(!(b&4096)|(b&255)>>>0<9){break q}m=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);if((m|0)<=8){h=1;k=m+1|0;A[a+80|0]=k;A[a+81|0]=k>>>8;A[a+82|0]=k>>>16;A[a+83|0]=k>>>24;q=a+40|0;m=q+(m<<2)|0;A[m|0]=151;A[m+1|0]=0;A[m+2|0]=0;A[m+3|0]=0;k=q+(k<<2)|0;A[k|0]=0;A[k+1|0]=0;A[k+2|0]=0;A[k+3|0]=0;break q}C[p+16>>2]=9;h=1;if((Qe(21233,p+16|0)|0)>=0){break q}h=-1;break p}if(b&256){break p}h=417896;r:{s:{t:{u:{v:{w:{x:{k=b&61439;switch(k-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 s;case 0:break t;case 24:break u;case 8:break w;default:break x}}y:{switch(k-8|0){case 8:break v;case 0:break y;default:break s}}h=417900;break t}h=417904;break t}h=417908;break t}h=417912}h=C[h>>2];if(h){break r}}h=Qe(17951,0);break p}z:{m=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);if((m|0)<=8){k=m+1|0;A[a+80|0]=k;A[a+81|0]=k>>>8;A[a+82|0]=k>>>16;A[a+83|0]=k>>>24;q=a+40|0;m=q+(m<<2)|0;A[m|0]=h;A[m+1|0]=h>>>8;A[m+2|0]=h>>>16;A[m+3|0]=h>>>24;h=q+(k<<2)|0;A[h|0]=0;A[h+1|0]=0;A[h+2|0]=0;A[h+3|0]=0;break z}C[p>>2]=9;if((Qe(21233,p)|0)>=0){break z}h=-1;break p}k=b&255;if(k>>>0<=31){h=32/((b&255)>>>0)|0;b=I(h,D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24));A[a+28|0]=b;A[a+29|0]=b>>>8;A[a+30|0]=b>>>16;A[a+31|0]=b>>>24;b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);k=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,k|0);l(1,b|0);o(+(+n()*+(h>>>0)));b=j(1)|0;h=j(0)|0;A[a+32|0]=h;A[a+33|0]=h>>>8;A[a+34|0]=h>>>16;A[a+35|0]=h>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24;h=1;break p}h=1;if((k|0)==32){break p}b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);m=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,m|0);l(1,b|0);o(+(+n()/+(k>>>5>>>0)));b=j(1)|0;k=j(0)|0;A[a+32|0]=k;A[a+33|0]=k>>>8;A[a+34|0]=k>>>16;A[a+35|0]=k>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24}Ce=p+32|0;if((h|0)<0){break a}b=C[((s<<5)+(t<<2)|0)+103968>>2];if(!((c|0)==(f|0)^(b|0)!=0)){i=Qe(12077,0);break a}if(b){if((tt(a,b)|0)<0){break a}if(c>>>0>>0){b=(I(D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24),f)+s|0)/(c|0)|0;A[a+28|0]=b;A[a+29|0]=b>>>8;A[a+30|0]=b>>>16;A[a+31|0]=b>>>24}b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);h=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,h|0);l(1,b|0);o(+(+n()*+(f>>>0)/+(c>>>0)));b=j(1)|0;c=j(0)|0;A[a+32|0]=c;A[a+33|0]=c>>>8;A[a+34|0]=c>>>16;A[a+35|0]=c>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24}h=Ce-32|0;Ce=h;b=0;A:{if((d|0)==(g|0)){break A}f=f-1|0;if(!(f>>>0>=8|!(171>>>f&1))){b=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);B:{if((b|0)<=8){c=b+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;p=a+40|0;b=p+(b<<2)|0;f=C[(f<<2)+124724>>2];A[b|0]=f;A[b+1|0]=f>>>8;A[b+2|0]=f>>>16;A[b+3|0]=f>>>24;b=p+(c<<2)|0;A[b|0]=0;A[b+1|0]=0;A[b+2|0]=0;A[b+3|0]=0;break B}C[h+16>>2]=9;b=-1;if((Qe(21233,h+16|0)|0)<0){break A}c=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24)}if((c|0)>=7){C[h>>2]=7;b=Qe(21233,h);break A}A[a+76|0]=g;A[a+77|0]=g>>>8;A[a+78|0]=g>>>16;A[a+79|0]=g>>>24;A[a+72|0]=d;A[a+73|0]=d>>>8;A[a+74|0]=d>>>16;A[a+75|0]=d>>>24;b=a;b=a;C:{if((d|0)<(g|0)){u=+(g|0)/+(d|0);v=P(u);c=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);d=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,d|0);l(1,c|0);o(+(u*+n()));c=j(1)|0;d=j(0)|0;A[a+32|0]=d;A[a+33|0]=d>>>8;A[a+34|0]=d>>>16;A[a+35|0]=d>>>24;A[a+36|0]=c;A[a+37|0]=c>>>8;A[a+38|0]=c>>>16;A[a+39|0]=c>>>24;if(K(v)<2147483648){c=~~v}else{c=-2147483648}c=I(c,D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24));break C}c=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);f=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,f|0);l(1,c|0);o(+(+n()/(+(d|0)/+(g|0))));c=j(1)|0;d=j(0)|0;A[a+32|0]=d;A[a+33|0]=d>>>8;A[a+34|0]=d>>>16;A[a+35|0]=d>>>24;A[a+36|0]=c;A[a+37|0]=c>>>8;A[a+38|0]=c>>>16;A[a+39|0]=c>>>24;c=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24)}c=c<<1;A[b+28|0]=c;A[b+29|0]=c>>>8;A[b+30|0]=c>>>16;A[b+31|0]=c>>>24;b=1;break A}b=Qe(7664,0)}Ce=h+32|0;if((b|0)<0){break a}b=0;c=Ce-48|0;Ce=c;D:{E:{F:{if(e&256){break F}b=417916;G:{H:{I:{J:{K:{L:{M:{d=e&61439;switch(d-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 H;case 0:break I;case 24:break J;case 8:break L;default:break M}}N:{switch(d-8|0){case 8:break K;case 0:break N;default:break H}}b=417920;break I}b=417924;break I}b=417928;break I}b=417932}b=C[b>>2];if(b){break G}}C[c>>2]=e;b=Qe(17664,c);break D}f=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);O:{if((f|0)<=8){d=f+1|0;A[a+80|0]=d;A[a+81|0]=d>>>8;A[a+82|0]=d>>>16;A[a+83|0]=d>>>24;g=a+40|0;f=g+(f<<2)|0;A[f|0]=b;A[f+1|0]=b>>>8;A[f+2|0]=b>>>16;A[f+3|0]=b>>>24;b=g+(d<<2)|0;A[b|0]=0;A[b+1|0]=0;A[b+2|0]=0;A[b+3|0]=0;break O}C[c+32>>2]=9;if((Qe(21233,c+32|0)|0)<0){break E}}d=e&255;if(d>>>0>=33){d=d>>>5|0;b=I(d,D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24));A[a+28|0]=b;A[a+29|0]=b>>>8;A[a+30|0]=b>>>16;A[a+31|0]=b>>>24;b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);f=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,f|0);l(1,b|0);o(+(+n()*+(d>>>0)));b=j(1)|0;d=j(0)|0;A[a+32|0]=d;A[a+33|0]=d>>>8;A[a+34|0]=d>>>16;A[a+35|0]=d>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24;b=1;break F}b=1;if((d|0)==32){break F}d=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);f=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,f|0);l(1,d|0);o(+(+n()/+(32/((e&255)>>>0)>>>0)));d=j(1)|0;f=j(0)|0;A[a+32|0]=f;A[a+33|0]=f>>>8;A[a+34|0]=f>>>16;A[a+35|0]=f>>>24;A[a+36|0]=d;A[a+37|0]=d>>>8;A[a+38|0]=d>>>16;A[a+39|0]=d>>>24}if(!(e&4096)|(e&255)>>>0<9){break D}e=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);if((e|0)<=8){b=1;d=e+1|0;A[a+80|0]=d;A[a+81|0]=d>>>8;A[a+82|0]=d>>>16;A[a+83|0]=d>>>24;f=a+40|0;e=f+(e<<2)|0;A[e|0]=151;A[e+1|0]=0;A[e+2|0]=0;A[e+3|0]=0;d=f+(d<<2)|0;A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0;break D}C[c+16>>2]=9;b=1;if((Qe(21233,c+16|0)|0)>=0){break D}}b=-1}Ce=c+48|0;if((b|0)<0){break a}i=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))!=0}A[a|0]=i;A[a+1|0]=i>>>8;A[a+2|0]=i>>>16;A[a+3|0]=i>>>24}Ce=r+16|0;return i}function cK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,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;f=Ce-384|0;Ce=f;C[b>>2]=1;a:{if(!C[b+136>>2]){d=si(C[C[b+96>>2]+4>>2],1608);if(!d){a=11;break a}C[b+136>>2]=d}if(!C[b+320>>2]){x=b,y=si(C[C[b+96>>2]+4>>2],9541),C[x+320>>2]=y}a=bf(a,0);if(a){break a}m=C[b+100>>2];C[f+108>>2]=0;j=C[b+104>>2];a=C[b+136>>2];d=f+8|0;p(d,0,100);Fe[C[C[a+4>>2]>>2]](d,0,0,m);C[f+80>>2]=j;h=C[j+8>>2];b:{c:{d:{d=Bf(j,31);e:{if(d){break e}a=cf(C[j+32>>2],3883,31);xf(j);if(a){C[f+4>>2]=2;break b}k=f+84|0;n=f+112|10;while(1){f:{i=C[j+8>>2];e=i;g=C[j+4>>2];if((e|0)!=(g|0)){d=266;a=f+112|0;while(1){g=g-i|0;g=d>>>0>>0?d:g;d=jg(j,a,g);if(d){break e}if(g>>>0<=255){A[a+g|0]=0}d=f+112|0;g=(a+g|0)-10|0;if(d>>>0>>0){a=f+112|0;d=D[f+112|0];while(1){g:{if((d&255)!=83){break g}if(cf(a,22059,9)){break g}g=10;break f}h:{d=D[a+1|0];if((d|0)!=115){break h}if(cf(a,6039,6)){break h}g=7;break f}a=a+1|0;if((g|0)!=(a|0)){continue}break}d=g}a=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);g=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);B[f+120>>1]=D[d+8|0]|D[d+9|0]<<8;C[f+112>>2]=g;C[f+116>>2]=a;d=256;e=e+256|0;a=n;i=C[j+8>>2];g=C[j+4>>2];if((i|0)!=(g|0)){continue}break}}C[f+4>>2]=3;break b}d=bf(j,h);if(d){break e}g=((e-(f+112|0)|0)+a|0)+g|0;a=g-h|0;d=dh(j,a,k);if(d){break e}C[f+92>>2]=g;i=C[f+84>>2];C[f+12>>2]=i;C[f+104>>2]=-1;C[f+8>>2]=i;C[f+88>>2]=a;C[f+16>>2]=a+i;d=f+8|0;Fe[C[f+40>>2]](d);Fe[C[f+36>>2]](d);a=C[f+8>>2];Fe[C[f+40>>2]](d);Fe[C[f+36>>2]](d);d=C[f+8>>2];l=C[f+16>>2];if(d>>>0>>0){while(1){e=a;a=d;d=C[f+20>>2];if(d){break e}i:{if(D[a|0]!=83){break i}if(cf(a,22059,9)){break i}if(cf(i,32177,5)){break c}a=Zf(e);if((a|0)>=0){break d}C[f+4>>2]=3;break b}j:{if(D[a+1|0]!=115){break j}if(cf(a,6039,6)){break j}C[f+4>>2]=2;break b}d=f+8|0;Fe[C[f+40>>2]](d);Fe[C[f+36>>2]](d);i=e;d=C[f+8>>2];if(l>>>0>d>>>0){continue}break}}Wf(j,k);d=bf(j,g);if(!d){continue}break}}C[f+4>>2]=d;break b}C[f+96>>2]=a}C[f+4>>2]=0;C[f+20>>2]=0;a=C[f+84>>2];k=a+C[f+88>>2]|0;C[f+16>>2]=k;g=b+164|0;i=b+312|0;n=b+196|0;j=b+140|0;t=k-1|0;k:{l:{m:while(1){C[f+8>>2]=a;Fe[C[f+36>>2]](f+8|0);e=C[f+8>>2];d=e>>>0>>0;l=(d?e:t)-17|0;if(l>>>0>a>>>0){h=C[f+104>>2];while(1){n:{if(D[a|0]!=37){break n}if(cf(a,4775,17)|C[b+300>>2]<=0){break n}h=h+1|0;C[f+104>>2]=h}a=a+1|0;if((l|0)!=(a|0)){continue}break}}if(!d){d=C[f+20>>2];break k}Fe[C[f+40>>2]](f+8|0);d=C[f+20>>2];a=C[f+8>>2];if(d|k>>>0<=a>>>0){break k}if(D[e|0]!=47|k>>>0<=e+2>>>0){continue}l=e+1|0;if((l|0)==(a|0)){continue}o=a-l|0;if(o>>>0>21){continue}s=D[l|0];d=356816;h=17213;while(1){o:{e=d;p:{if((s|0)!=D[h|0]){break p}if((af(h)|0)!=(o|0)){break p}d=1;if(o>>>0<=1){break o}while(1){if(D[d+l|0]!=D[d+h|0]){break p}d=d+1|0;if((o|0)!=(d|0)){continue}break}break o}d=e+36|0;h=C[e+36>>2];if(h){continue}continue m}break}q:{h=C[e+8>>2];r:{if((h|0)==11){Fe[C[e+12>>2]](b,f+8|0);a=C[f+20>>2];break r}d=j;s:{t:{switch(C[e+4>>2]){case 3:d=g;break s;case 2:d=i;break s;case 5:d=n;break s;case 0:break s;default:break t}}a=C[f+104>>2];if((a|0)<0|(a|0)>=C[b+300>>2]){break q}d=C[b+304>>2]+I(a,252)|0}C[f+112>>2]=d;if(h-9>>>0<=1){a=Fe[C[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break r}a=Fe[C[f+72>>2]](f+8|0,e,f+112|0,0,0)|0}C[f+20>>2]=a;if(a){break l}a=C[f+8>>2];continue}break}a=160;C[f+20>>2]=160}C[f+4>>2]=a;break b}C[f+4>>2]=d;if(d|(c|0)<0){break b}a=hf(m,40,f+4|0);C[b+328>>2]=a;if(C[f+4>>2]){break b}d=C[f+96>>2];u:{if(d){d=hf(m,d,f+4|0);C[b+324>>2]=d;if(C[f+4>>2]){break b}a=C[f+96>>2];e=Ce-256|0;Ce=e;j=C[b+104>>2];n=bf(j,C[f+92>>2]);v:{if(n){break v}if((a|0)>0){l=a+d|0;h=1;a=e;m=a;while(1){while(1){if(a>>>0>=m>>>0){g=C[j+8>>2];a=C[j+4>>2];if((g|0)==(a|0)){n=160;break v}a=a-g|0;n=jg(j,e,a>>>0>=256?256:a);if(n){break v}a=e;m=(a+C[j+8>>2]|0)-g|0}w:{x:{g=D[a|0];i=g-48|0;if(i>>>0>9){i=g-97|0;k=(i&255)>>>0<6;if(k){break w}if((g-65&255)>>>0>5){break x}i=g-55|0}k=1;break w}i=0;n=160;y:{switch(g|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break y;default:break v}}a=a+1|0;continue}break}z:{if(h&255){i=i<<4;g=d;break z}i=D[d|0]+i|0;g=d+1|0}A[d|0]=i;a=a+1|0;h=1-h|0;d=g;if(l>>>0>d>>>0&k){continue}break}}n=0}Ce=e+256|0;if(n){break b}d=C[b+324>>2];e=C[f+96>>2];a=C[b+328>>2];C[a+32>>2]=0;C[a+8>>2]=0;C[a+4>>2]=e;C[a>>2]=d;C[a+20>>2]=0;C[a+24>>2]=0;a=0;break u}d=C[b+104>>2];e=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=e;e=C[d+36>>2];C[a+32>>2]=C[d+32>>2];C[a+36>>2]=e;e=C[d+28>>2];C[a+24>>2]=C[d+24>>2];C[a+28>>2]=e;e=C[d+20>>2];C[a+16>>2]=C[d+16>>2];C[a+20>>2]=e;e=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=e;a=C[f+92>>2]}C[b+308>>2]=a;o=C[b+328>>2];t=C[b+136>>2];e=0;l=C[b+100>>2];k=Ve(l,8,0,C[b+300>>2],0,f+112|0);C[b+316>>2]=k;A:{if(C[f+112>>2]|C[b+300>>2]<=0){break A}s=0;n=0;while(1){B:{d=C[b+304>>2]+I(s,252)|0;m=C[d+240>>2];if((m|0)==-1){C[f+112>>2]=160;break B}v=C[d+4>>2];if(m>>>0>=n>>>0){a=(m&-4)+4|0;if(a>>>0<=n>>>0){C[f+112>>2]=160;break B}e=Ve(l,4,n,a,e,f+112|0);n=a;if(C[f+112>>2]){break B}}a=bf(o,C[d+244>>2]+C[b+308>>2]|0);C[f+112>>2]=a;if(a){break B}u=m+1|0;a=Bf(o,I(u,C[d+248>>2]));C[f+112>>2]=a;if(a){break B}a=C[d+248>>2];w=a&252;r=a&3;q=a&255;g=C[o+32>>2];i=0;while(1){C:{if(!q){d=0;break C}d=0;a=g;if(q>>>0>=4){while(1){j=a;a=a+4|0;d=d+4|0;if((d&255)!=(w|0)){continue}break}d=D[j|0]|D[j+1|0]<<8|(D[j+2|0]<<16|D[j+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}h=0;if(r){while(1){d=D[a|0]|d<<8;a=a+1|0;h=h+1|0;if((h&255)!=(r|0)){continue}break}}g=g+q|0}C[(i<<2)+e>>2]=d;a=(i|0)!=(m|0);i=i+1|0;if(a){continue}break}xf(o);a=1;g=C[e>>2];d=g;if(m){while(1){i=d;d=C[(a<<2)+e>>2];if(i>>>0>d>>>0){break B}i=(a|0)==(m|0);a=a+1|0;if(!i){continue}break}}a=C[(m<<2)+e>>2];x=k,y=Ve(l,4,0,u,0,f+112|0),C[x+4>>2]=y;if(C[f+112>>2]){break B}a=a-g|0;d=hf(l,a,f+112|0);C[C[k+4>>2]>>2]=d;if(C[f+112>>2]){break B}d=bf(o,C[e>>2]+C[b+308>>2]|0);C[f+112>>2]=d;if(d){break B}a=jg(o,C[C[k+4>>2]>>2],a);C[f+112>>2]=a;if(a){break B}D:{if(!m){break D}d=1;h=C[e>>2];if((m|0)!=1){i=m&-2;g=0;while(1){a=d<<2;j=a+C[k+4>>2]|0;q=j;r=C[j-4>>2];j=C[a+e>>2];C[q>>2]=r+(j-h|0);q=a+4|0;h=C[q+e>>2];r=C[k+4>>2];C[q+r>>2]=C[a+r>>2]+(h-j|0);d=d+2|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(m&1){a=d<<2;d=a+C[k+4>>2]|0;C[d>>2]=C[d-4>>2]+(C[a+e>>2]-h|0)}if((v|0)<0){break D}a=0;if((m|0)!=1){i=m&-2;h=0;while(1){d=a<<2;j=d|4;g=j+e|0;Fe[C[t+16>>2]](C[d+C[k+4>>2]>>2],C[g>>2]-C[d+e>>2]|0,4330);a=a+2|0;Fe[C[t+16>>2]](C[j+C[k+4>>2]>>2],C[(a<<2)+e>>2]-C[g>>2]|0,4330);h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(!(m&1)){break D}d=a<<2;a=d+e|0;Fe[C[t+16>>2]](C[d+C[k+4>>2]>>2],C[a+4>>2]-C[a>>2]|0,4330)}C[k>>2]=m;k=k+8|0;s=s+1|0;if((s|0)>2]){continue}break A}break}g=C[b+316>>2];if(!g){break A}if(C[b+300>>2]>0){d=0;while(1){i=d<<3;a=C[(i+g|0)+4>>2];if(a){a=C[a>>2];if(a){Fe[C[l+8>>2]](l,a)}C[C[(i+C[b+316>>2]|0)+4>>2]>>2]=0;a=C[(i+C[b+316>>2]|0)+4>>2]}else{a=0}if(a){Fe[C[l+8>>2]](l,a)}g=C[b+316>>2];C[(i+g|0)+4>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}if(g){Fe[C[l+8>>2]](l,g)}C[b+316>>2]=0}if(e){Fe[C[l+8>>2]](l,e)}C[f+4>>2]=C[f+112>>2]}if(C[f+84>>2]){Wf(C[f+80>>2],f+84|0)}Fe[C[f+32>>2]](f+8|0);a=C[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}C[b+36>>2]=0;C[b+4>>2]=0;C[b+16>>2]=C[b+296>>2];a=C[b+8>>2];C[b+8>>2]=a|2065;if(D[b+188|0]){C[b+8>>2]=a|2069}C[b+24>>2]=11228;d=C[b+176>>2];C[b+20>>2]=d;E:{if(d){a=C[b+172>>2];if(!a){break E}h=D[a|0];if(!h){break E}while(1){e=h&255;c=D[d|0];F:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break F}e=e-32|0;if(!(!e|(e|0)==13)){G:{switch(c-32|0){case 0:case 13:d=d+1|0;break F;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 G}}if(c){break E}C[b+24>>2]=a;break E}a=a+1|0}h=D[a|0];if(h){continue}break}break E}a=C[b+140>>2];if(!a){break E}C[b+20>>2]=a}c=C[b+184>>2]!=0;C[b+12>>2]=c;a=C[b+180>>2];H:{if(!a){break H}if(Se(a,19740)){if(Se(a,14379)){break H}}C[b+12>>2]=c|2}C[b+28>>2]=0;C[b+32>>2]=0;C[b+52>>2]=B[b+198>>1];a=B[b+202>>1];C[b+56>>2]=a;C[b+60>>2]=C[b+204>>2]+65535>>16;c=C[b+208>>2]+65535>>16;C[b- -64>>2]=c;h=E[b+68>>1];if(!h){B[b+68>>1]=1e3;h=1e3}B[b+72>>1]=a;B[b+70>>1]=c;C[b+80>>2]=E[b+190>>1]|E[b+192>>1]<<16;d=b;a=c-a|0;b=(I(h,12)>>>0)/10|0;B[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}Ce=f+384|0;return a|0}function nL(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,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0;g=Ce-240|0;Ce=g;a:{if(!b){e=36;break a}e=C[a+4>>2];if(!e){e=35;break a}if(!(C[C[e+128>>2]+48>>2]|F[e+16>>2]>c>>>0)){e=6;break a}if(d&2){d=D[e+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(D[e+9|0]&32?9:11)|d}b:{if(d&8){break b}f=C[b+112>>2];if((f|0)==-1){break b}if(Fe[C[C[e+532>>2]+72>>2]](e,f,c,d,C[e+104>>2],a+76|0,g)|0){break b}e=0;C[a+108>>2]=0;C[a+24>>2]=E[g+2>>1]<<6;C[a+28>>2]=E[g>>1]<<6;f=B[g+4>>1];C[a+32>>2]=f<<6;i=B[g+6>>1];C[a+36>>2]=i<<6;C[a+40>>2]=E[g+8>>1]<<6;h=B[g+10>>1];C[a+44>>2]=h<<6;m=B[g+12>>1];C[a+48>>2]=m<<6;k=E[g+14>>1];j=i;i=d&16;C[a+104>>2]=i?m:j;C[a+100>>2]=i?h:f;C[a+72>>2]=1651078259;C[a+52>>2]=k<<6;f=C[a+4>>2];if(!(A[f+8|0]&1)){break a}e=C[f+104>>2];p(g,0,208);i=0;c:{d:{if(C[C[f+128>>2]+48>>2]){break d}h=Fe[C[f+508>>2]](f,1735162214,e,0)|0;i=0;if((h&255)==142){break d}if(h){break c}i=C[e+8>>2]}C[g+16>>2]=d;C[g+84>>2]=i;C[g+24>>2]=e;C[g+8>>2]=a;C[g+4>>2]=b;C[g>>2]=f}e=0;Jo(g,c,0,1);c=C[g+60>>2];C[a+56>>2]=c;C[a+60>>2]=C[g+180>>2];if(!(C[a+40>>2]|!c)){v=a,w=Te(c,C[b+16>>2]),C[v+40>>2]=w}if(C[a+52>>2]){break a}c=C[a+60>>2];if(!c){break a}v=a,w=Te(c,C[b+20>>2]),C[v+52>>2]=w;break a}s=d&1;if(!(s|D[b+108|0])){e=36;break a}e=6;if(d&16384){break a}k=C[a+4>>2];r=C[k+104>>2];p(g,0,208);u=d&2;if(!u){q=d&128;e=C[b+296>>2];e:{f:{if((e|0)>=0){f=C[b+300>>2];if((f|0)<0){break f}if(e){break a}e=f;if(!e){break e}break a}i=C[b>>2];f=C[i+100>>2];e=f;h=C[b+124>>2];if(h){Fe[C[e+8>>2]](e,h)}C[b+124>>2]=0;e=C[b+136>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b+136>>2]=0;e=C[b+244>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b+244>>2]=0;e=C[b+252>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b+252>>2]=0;e=C[b+292>>2];if(e){C[e+440>>2]=0;h=C[e+8>>2];j=C[e+24>>2];if(j){Fe[C[h+8>>2]](h,j)}C[e+20>>2]=0;C[e+24>>2]=0;j=C[e+436>>2];if(j){Fe[C[h+8>>2]](h,j)}C[e+436>>2]=0;C[e+428>>2]=0;C[e+432>>2]=0;j=C[e+392>>2];if(j){Fe[C[h+8>>2]](h,j)}C[e+388>>2]=0;C[e+392>>2]=0;C[e>>2]=0;C[e+4>>2]=0;if(e){Fe[C[h+8>>2]](h,e)}}l=b+256|0;Io(l);C[b+296>>2]=-1;C[b+300>>2]=-1;j=Ce-16|0;Ce=j;e=C[i+96>>2];g:{h:{if(!e){break h}h=C[e+8>>2];e=hf(h,612,j+8|0);if(C[j+8>>2]){break h}C[e+432>>2]=32;C[e+8>>2]=h;v=e,w=Ve(h,16,0,32,0,j+12|0),C[v+436>>2]=w;if(!C[j+12>>2]){C[e+440>>2]=0;C[e+388>>2]=0;C[e+392>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e>>2]=0;C[e+4>>2]=0;break g}C[e+440>>2]=0;h=C[e+8>>2];n=C[e+24>>2];if(n){Fe[C[h+8>>2]](h,n)}C[e+20>>2]=0;C[e+24>>2]=0;n=C[e+436>>2];if(n){Fe[C[h+8>>2]](h,n)}C[e+436>>2]=0;C[e+428>>2]=0;C[e+432>>2]=0;n=C[e+392>>2];if(n){Fe[C[h+8>>2]](h,n)}C[e+388>>2]=0;C[e+392>>2]=0;C[e>>2]=0;C[e+4>>2]=0;if(e){Fe[C[h+8>>2]](h,e)}if(!C[j+12>>2]){break g}}e=0}Ce=j+16|0;C[b+292>>2]=e;e=E[i+280>>1];C[b+120>>2]=e;h=E[i+282>>1];C[b+140>>2]=0;C[b+144>>2]=0;C[b+128>>2]=0;C[b+116>>2]=0;C[b+132>>2]=h;C[b+240>>2]=C[i+644>>2];h=E[i+278>>1];A[b+109|0]=0;A[b+110|0]=0;B[b+248>>1]=h;C[b+92>>2]=0;C[b+96>>2]=0;C[b+100>>2]=0;C[b+104>>2]=0;v=b,w=Ve(f,24,0,e,0,g+208|0),C[v+124>>2]=w;i:{j:{if(C[g+208>>2]){break j}v=b,w=Ve(f,24,0,C[b+132>>2],0,g+208|0),C[v+136>>2]=w;if(C[g+208>>2]){break j}v=b,w=Ve(f,4,0,C[b+240>>2],0,g+208|0),C[v+244>>2]=w;if(C[g+208>>2]){break j}v=b,w=Ve(f,4,0,E[b+248>>1],0,g+208|0),C[v+252>>2]=w;if(C[g+208>>2]){break j}e=E[i+276>>1];C[b+284>>2]=0;C[b+288>>2]=0;C[b+276>>2]=0;C[b+280>>2]=0;C[b+268>>2]=0;C[b+272>>2]=0;C[b+260>>2]=0;C[b+264>>2]=0;C[b+256>>2]=f;h=e+4|0;e=h&65535;v=b,w=Ve(f,8,0,e,0,g+224|0),C[v+268>>2]=w;k:{l:{if(C[g+224>>2]){break l}v=b,w=Ve(f,8,0,e,0,g+224|0),C[v+272>>2]=w;if(C[g+224>>2]){break l}v=b,w=Ve(f,8,0,e,0,g+224|0),C[v+276>>2]=w;if(C[g+224>>2]){break l}v=b,w=Ve(f,1,0,e,0,g+224|0),C[v+280>>2]=w;if(C[g+224>>2]){break l}v=b,w=Ve(f,2,0,0,0,g+224|0),C[v+284>>2]=w;if(C[g+224>>2]){break l}B[b+260>>1]=h;B[b+262>>1]=0;C[g+208>>2]=0;break k}Io(l);e=C[g+224>>2];C[g+208>>2]=e;if(e){break j}}B[b+264>>1]=h;t(b+172|0,353236,68);e=C[C[C[i+96>>2]+4>>2]+172>>2];C[i+652>>2]=e?e:1168;e=C[b+292>>2];i=C[b>>2];f=Ho(e,i,b);m:{if(f){break m}C[e+480>>2]=0;C[e+484>>2]=0;C[e+476>>2]=64;C[e+16>>2]=0;C[e+428>>2]=0;C[e+564>>2]=16384;A[e+561|0]=q;C[e+216>>2]=0;C[e+220>>2]=0;A[e+488|0]=0;B[e+252>>1]=0;C[e+224>>2]=0;C[e+256>>2]=65536;C[e+260>>2]=0;h=C[i+632>>2];f=C[i+628>>2];C[e+452>>2]=0;C[e+456>>2]=0;C[e+448>>2]=f;C[e+444>>2]=h;C[e+460>>2]=0;C[e+464>>2]=0;n:{if(!f){C[b+296>>2]=0;break n}C[e+364>>2]=f;C[e+356>>2]=h;C[e+360>>2]=0;C[e+352>>2]=1;f=Fe[C[i+652>>2]](e)|0;C[b+296>>2]=f;if(f){break m}}C[b+116>>2]=C[e+396>>2];C[b+128>>2]=C[e+408>>2];C[b+140>>2]=C[e+420>>2];C[b+144>>2]=C[e+424>>2];f=C[e+448>>2];C[b+148>>2]=C[e+444>>2];C[b+152>>2]=f;f=C[e+456>>2];C[b+156>>2]=C[e+452>>2];C[b+160>>2]=f;f=C[e+464>>2];C[b+164>>2]=C[e+460>>2];C[b+168>>2]=f;f=0}C[g+208>>2]=f;if(!f){break i}}Ou(b);e=C[g+208>>2];if(e){break a}}e=C[b+296>>2]}if(C[b+300>>2]>=0|e){break e}if(C[b+240>>2]){f=C[b>>2];e=0;while(1){i=Te(B[C[f+648>>2]+(e<<1)>>1],C[b+88>>2]);C[C[b+244>>2]+(e<<2)>>2]=i;e=e+1|0;if(e>>>0>2]){continue}break}}f=E[b+264>>1];o:{if(!f){break o}i=C[b+272>>2];h=C[b+268>>2];e=0;if((f|0)!=1){n=f&65534;j=0;while(1){l=e<<3;o=l+h|0;C[o>>2]=0;C[o+4>>2]=0;o=i+l|0;C[o>>2]=0;C[o+4>>2]=0;l=l|8;o=l+h|0;C[o>>2]=0;C[o+4>>2]=0;l=i+l|0;C[l>>2]=0;C[l+4>>2]=0;e=e+2|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!(f&1)){break o}e=e<<3;f=e+h|0;C[f>>2]=0;C[f+4>>2]=0;e=e+i|0;C[e>>2]=0;C[e+4>>2]=0}e=E[b+248>>1];if(e){p(C[b+252>>2],0,e<<2)}t(b+172|0,353236,68);e=Nu(b,q);if(e){break a}}f=C[b+292>>2];if(!f){e=153;break a}e=Ho(f,k,b);if(e){break a}e=(d&983040)!=131072;if((e|0)!=D[f+608|0]){A[f+608|0]=e;if(C[b+240>>2]){e=0;while(1){i=Te(B[C[k+648>>2]+(e<<1)>>1],C[b+88>>2]);C[C[b+244>>2]+(e<<2)>>2]=i;e=e+1|0;if(e>>>0>2]){continue}break}}e=Nu(b,q);if(e){break a}}e=D[f+336|0];i=e<<1&2;if(e&2){t(f+284|0,353236,68)}A[f+561|0]=q;C[g+160>>2]=f;C[g+164>>2]=C[f+392>>2];d=d|i}p:{if(C[C[k+128>>2]+48>>2]){break p}e=Fe[C[k+508>>2]](k,1735162214,r,0)|0;if((e&255)==142){break p}if(e){break a}m=C[r+8>>2]}C[g+84>>2]=m;e=C[C[a+156>>2]>>2];Vi(e);C[g+16>>2]=d;C[g+12>>2]=e;C[g+24>>2]=r;C[g+8>>2]=a;C[g+4>>2]=b;C[g>>2]=k;C[a+72>>2]=1869968492;C[a+124>>2]=0;C[a+128>>2]=0;e=Jo(g,c,0,0);q:{if(e){break q}d=C[g+12>>2];r:{if(C[a+72>>2]==1668246896){C[a+128>>2]=C[d+48>>2];C[a+132>>2]=C[d+52>>2];break r}f=C[d+24>>2];e=a+108|0;C[e>>2]=C[d+20>>2];C[e+4>>2]=f;C[e+16>>2]=C[d+36>>2];f=C[d+32>>2];C[e+8>>2]=C[d+28>>2];C[e+12>>2]=f;C[a+124>>2]=C[a+124>>2]&-513;d=C[g+68>>2];if(!d){break r}Pg(e,0-d|0,0)}s:{if(u){break s}d=8;e=C[g+160>>2];t:{if(!D[e+337|0]){break t}d=32;u:{switch(C[e+340>>2]){case 4:d=48;break t;case 5:d=16;break t;case 1:break s;case 0:break t;default:break u}}d=8}C[a+124>>2]=C[a+124>>2]|d}m=65536;f=C[g+4>>2];d=C[g+8>>2];m=A[g+16|0]&1?m:C[f+20>>2];i=C[g>>2];v:{if(C[d+72>>2]!=1668246896){di(d+108|0,g+224|0);break v}e=C[g+48>>2];C[g+232>>2]=C[g+44>>2];C[g+236>>2]=e;e=C[g+40>>2];C[g+224>>2]=C[g+36>>2];C[g+228>>2]=e}C[d+56>>2]=C[g+60>>2];j=C[g+224>>2];C[d+32>>2]=j;h=C[g+236>>2];C[d+36>>2]=h;C[d+40>>2]=C[g+76>>2]-C[g+68>>2];w:{if(C[i+480>>2]|D[g+16|0]&2){break w}q=C[i+712>>2];if(!q){break w}r=C[i+704>>2]+8|0;k=C[i+716>>2];l=C[i+720>>2];e=0;f=E[f+12>>1];while(1){if((f|0)==D[e+l|0]){f=c+2|0;if(f>>>0>=k>>>0){break w}C[d+40>>2]=D[f+(r+I(e,k)|0)|0]<<6;break w}e=e+1|0;if((q|0)!=(e|0)){continue}break}}C[d+24>>2]=C[g+232>>2]-j;e=h-C[g+228>>2]|0;C[d+28>>2]=e;x:{if(!(!D[i+292|0]|!E[i+330>>1])){f=Ze(C[g+188>>2]-h|0,m)<<16>>16;e=0;h=C[g+188>>2];k=C[g+196>>2];if((h|0)<=(k|0)){break x}e=Ze(h-k|0,m)&65535;break x}f=Ze(e,m);e=E[i+364>>1]==65535;e=B[i+(e?220:434)>>1]-B[i+(e?222:436)>>1]|0;f=(e-(f<<16>>16)|0)/2|0}i=C[C[i+128>>2]+48>>2];y:{if(!i){break y}h=C[C[i>>2]+8>>2];if(!h){break y}C[g+216>>2]=e;C[g+212>>2]=f;C[g+208>>2]=0;e=Fe[h|0](C[i+4>>2],c,1,g+208|0)|0;if(e){break q}e=C[g+216>>2];f=C[g+212>>2]}C[d+60>>2]=e;if(!(A[g+16|0]&1)){f=Te(f,m);e=Te(e,m)}C[d+52>>2]=e;C[d+48>>2]=f;C[d+44>>2]=C[d+32>>2]+(C[d+40>>2]/-2|0);e=0}if(E[b+14>>1]>23|s){break a}C[a+124>>2]=C[a+124>>2]|256}Ce=g+240|0;return e|0}function Or(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,H=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=J(0),ga=J(0);s=Ce-16|0;Ce=s;C[s+4>>2]=0;a:{if(!a){break a}b:{c:{d:{e:{f:{g:{if(!(a?C[C[a+52>>2]+68>>2]>>>8&1:0)){k=C[a+4>>2];l=D[k+8|0];break g}o=Dr(a,s+4|0);y=!o;k=C[a+4>>2];l=D[k+8|0];if(o){break g}if((l&255)==8){break f}}if((l&255)!=32){break a}o=C[k+24>>2];if(!o){break a}n=hi(0,C[f+8>>2],C[f+12>>2]+2|0,32,C[k+12>>2],C[k+16>>2],C[k+20>>2],o);if(!n){break a}C[n+12>>2]=C[f+12>>2];if(a){k=s+8|0;if(k){Hk(a,k)}}o=n+12|0;h=h*65536;k=0;g=g*65536;if(y){break e}switch(C[s+8>>2]){case 4:case 8:break c;case 0:break d;default:break b}}n=Vh(C[f+8>>2],C[f+12>>2]+2|0,C[k>>2]);if(!n){break a}k=C[C[a+4>>2]+4>>2];h:{if(k){l=C[k>>2];if((l|0)>0){while(1){m=j<<2;o=m+C[C[C[n+4>>2]+4>>2]+4>>2]|0;k=m+C[k+4>>2]|0;k=D[k|0]|D[k+1|0]<<8|(D[k+2|0]<<16|D[k+3|0]<<24);A[o|0]=k;A[o+1|0]=k>>>8;A[o+2|0]=k>>>16;A[o+3|0]=k>>>24;j=j+1|0;k=C[C[a+4>>2]+4>>2];l=C[k>>2];if((j|0)<(l|0)){continue}break}}C[C[C[n+4>>2]+4>>2]>>2]=l;C[n+12>>2]=C[f+12>>2];o=n+12|0;break h}C[n+12>>2]=C[f+12>>2];o=n+12|0}h=h*65536;if(a){k=s+8|0;if(k){Hk(a,k)}}k=1;g=g*65536}xl(n,1,C[s+4>>2]);Kj(n,C[s+4>>2]);break b}C[s+8>>2]=1;break b}j=Fh(C[n+4>>2],255,255,255,0);C[s+4>>2]=j;Kj(n,j);xl(n,1,C[s+4>>2])}j=C[s+8>>2];if(n){zg(n,j)}if(D[a|0]&2){mh(a)}i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{b=b/90;s:{if(K(b)<2147483648){j=~~b;break s}j=-2147483648}if(+(j|0)==b){c=(j|0)%4|0;j=(c|0)<0?c+4|0:c;m=C[n+8>>2];p=C[n+16>>2];if(!k){break m}c=1;f=-1;k=d?-1:1;q=C[a+16>>2];i=e?0-q|0:q;switch(j|0){case 2:break p;case 1:break q;case 0:break r;default:break o}}p=C[a+8>>2];if(K(g)<2147483648){t=~~g}else{t=-2147483648}E=t;if(!(K(h)<2147483648)){break l}y=~~h;if(!k){break k}break j}r=i-I(C[a+8>>2],k)|0;f=1;break n}r=I(i,C[a+12>>2])+k|0;k=0-i|0;break n}r=I(C[a+8>>2],k)-i|0;k=d?1:-1;c=-1;break n}c=-1;f=1;r=(d?1:-1)-I(i,C[a+12>>2])|0;k=i}l=C[a+20>>2];l=((d?0-c|0:c)|0)<0?(C[a+8>>2]+l|0)-1|0:l;l=((e?0-f|0:f)|0)<0?I(q,C[a+12>>2]-1|0)+l|0:l;if(C[o>>2]<=0){break i}i=p-m|0;f=C[n+20>>2];d=0;m=(k|0)!=1;while(1){e=C[n+8>>2];t:{if(!m){gf(f,l,e);c=C[n+8>>2];f=c+f|0;l=c+l|0;break t}if(!e){break t}c=0;j=f;p=e&7;if(p){while(1){A[j|0]=D[l|0];j=j+1|0;l=k+l|0;c=c+1|0;if((p|0)!=(c|0)){continue}break}}f=e+f|0;if(e>>>0<8){break t}while(1){A[j|0]=D[l|0];c=k+l|0;A[j+1|0]=D[c|0];c=c+k|0;A[j+2|0]=D[c|0];c=c+k|0;A[j+3|0]=D[c|0];c=c+k|0;A[j+4|0]=D[c|0];c=c+k|0;A[j+5|0]=D[c|0];c=c+k|0;A[j+6|0]=D[c|0];c=c+k|0;A[j+7|0]=D[c|0];l=c+k|0;j=j+8|0;if((j|0)!=(f|0)){continue}break}}f=f+i|0;l=l+r|0;d=d+1|0;if((d|0)>2]){continue}break}break i}k=d?-4:4;f=C[a+16>>2];c=e?0-f|0:f;u:{v:{switch(j|0){case 0:r=c-I(C[a+8>>2],k)|0;j=1;c=1;break u;case 1:r=I(c,C[a+12>>2])+k|0;j=1;k=0-c|0;c=-1;break u;case 2:r=I(C[a+8>>2],k)-c|0;j=-1;k=d?4:-4;c=-1;break u;default:break v}}r=(d?4:-4)-I(c,C[a+12>>2])|0;j=-1;k=c;c=1}l=C[a+20>>2];l=((d?0-j|0:j)|0)<0?((C[a+8>>2]<<2)+l|0)-4|0:l;l=((e?0-c|0:c)|0)<0?I(f,C[a+12>>2]-1|0)+l|0:l;if(C[o>>2]<=0){break i}m=p-(m<<2)|0;f=C[n+20>>2];d=0;p=(k|0)!=4;while(1){e=C[n+8>>2]<<2;w:{if(!p){gf(f,l,e);c=C[n+8>>2]<<2;f=c+f|0;l=c+l|0;break w}if(!e){break w}c=0;j=f;q=e-4|0;w=(q>>>2|0)+1&7;if(w){while(1){i=D[l|0]|D[l+1|0]<<8|(D[l+2|0]<<16|D[l+3|0]<<24);A[j|0]=i;A[j+1|0]=i>>>8;A[j+2|0]=i>>>16;A[j+3|0]=i>>>24;j=j+4|0;l=k+l|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}f=e+f|0;if(q>>>0<28){break w}while(1){c=D[l|0]|D[l+1|0]<<8|(D[l+2|0]<<16|D[l+3|0]<<24);A[j|0]=c;A[j+1|0]=c>>>8;A[j+2|0]=c>>>16;A[j+3|0]=c>>>24;c=k+l|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+4|0]=e;A[j+5|0]=e>>>8;A[j+6|0]=e>>>16;A[j+7|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+8|0]=e;A[j+9|0]=e>>>8;A[j+10|0]=e>>>16;A[j+11|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+12|0]=e;A[j+13|0]=e>>>8;A[j+14|0]=e>>>16;A[j+15|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+16|0]=e;A[j+17|0]=e>>>8;A[j+18|0]=e>>>16;A[j+19|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+20|0]=e;A[j+21|0]=e>>>8;A[j+22|0]=e>>>16;A[j+23|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+24|0]=e;A[j+25|0]=e>>>8;A[j+26|0]=e>>>16;A[j+27|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+28|0]=e;A[j+29|0]=e>>>8;A[j+30|0]=e>>>16;A[j+31|0]=e>>>24;l=c+k|0;j=j+32|0;if((j|0)!=(f|0)){continue}break}}f=f+m|0;l=l+r|0;d=d+1|0;if((d|0)>2]){continue}break}break i}y=-2147483648;if(k){break j}}q=C[a+12>>2];H=C[n+8>>2];w=C[n+16>>2];L=+G[i+4>>2];b=L*65536;x:{if(K(b)<2147483648){k=~~b;break x}k=-2147483648}z=H<<2;b=+G[i>>2];g=b*65536;y:{if(K(g)<2147483648){m=~~g;break y}m=-2147483648}W=p-1|0;X=q-1|0;_=w-z|0;R=C[o>>2];j=C[n+20>>2];if(c){if((R|0)<=0){break i}b=+C[f>>2]+.5-b;v=+(k|0);B=+(m|0);g=+(y|0);h=+(E|0);da=C[f+4>>2];ea=(H|0)<=0;while(1){if(!ea){x=+(Y+da|0)+.5-L;$=h*b-g*x+B+-32768;z:{if(K($)<2147483648){l=~~$;break z}l=-2147483648}x=g*b+x*h+v+-32768;A:{if(K(x)<2147483648){c=~~x;break A}c=-2147483648}r=0;while(1){f=l>>16;f=d?W-f|0:f;B:{if((f|0)<0){break B}i=c>>16;i=e?X-i|0:i;if((i|0)<0|(f|0)>=(W|0)|(i|0)>=(X|0)){break B}k=i;i=C[a+16>>2];f=(C[a+20>>2]+I(k,i)|0)+(f<<2)|0;p=D[f+4|0];k=D[f+3|0];u=D[f+2|0];M=D[f+1|0];N=D[f|0];q=D[f+7|0];w=D[f+6|0];z=D[f+5|0];i=(f+4|0)+((i|0)/4<<2)|0;m=D[i+3|0];o=D[i+2|0];f=D[i+1|0];O=D[i|0];i=i-4|0;P=D[i+3|0];Q=D[i+2|0];t=D[i+1|0];i=D[i|0];C:{if(!d){S=i;T=m;U=o;V=f;i=O;f=t;o=Q;m=P;O=p;P=z;Q=w;t=q;p=N;z=M;w=u;q=k;break C}S=O;T=P;U=Q;V=t;O=N;P=M;Q=u;t=k}D:{if(!e){u=S;k=T;aa=U;ba=V;ca=i;M=f;N=o;Z=m;i=O;V=P;U=Q;T=t;S=p;f=z;o=w;m=q;break D}u=p;k=t;aa=Q;ba=P;ca=O;M=z;N=w;Z=q}p=m&255;m=l&65535;p=(I((T&255)-p|0,m)>>>16|0)+p|0;t=((I(m,(k&255)-(Z&255)|0)>>>16|0)+Z&255)-(p&255)|0;k=c&65535;A[j+3|0]=p+(I(t,k)>>>16|0);o=o&255;o=(I(m,(U&255)-o|0)>>>16|0)+o|0;A[j+2|0]=(I(k,((I(m,(aa&255)-(N&255)|0)>>>16|0)+N&255)-(o&255)|0)>>>16|0)+o;f=f&255;f=(I(m,(V&255)-f|0)>>>16|0)+f|0;A[j+1|0]=(I(k,((I(m,(ba&255)-(M&255)|0)>>>16|0)+M&255)-(f&255)|0)>>>16|0)+f;f=S&255;f=(I(m,(i&255)-f|0)>>>16|0)+f|0;A[j|0]=(I(k,((I(m,(ca&255)-(u&255)|0)>>>16|0)+u&255)-(f&255)|0)>>>16|0)+f}j=j+4|0;c=c+y|0;l=l+E|0;r=r+1|0;if((H|0)!=(r|0)){continue}break}}j=j+_|0;Y=Y+1|0;if((Y|0)!=(R|0)){continue}break}break i}if((R|0)<=0){break i}h=+(k|0);L=+(m|0);b=+(y|0);g=+(E|0);while(1){if((H|0)>0){v=+C[f>>2]+.5-+G[i>>2];B=+(C[f+4>>2]+u|0)+.5-+G[i+4>>2];x=g*v-b*B+L+-32768;E:{if(K(x)<2147483648){k=~~x;break E}k=-2147483648}v=b*v+B*g+h+-32768;F:{if(K(v)<2147483648){l=~~v;break F}l=-2147483648}c=0;while(1){m=k>>16;G:{if(m>>>0>=F[a+8>>2]){break G}p=l>>16;if(p>>>0>=F[a+12>>2]){break G}m=(C[a+20>>2]+I(C[a+16>>2],e?X-p|0:p)|0)+((d?W-m|0:m)<<2)|0;m=D[m|0]|D[m+1|0]<<8|(D[m+2|0]<<16|D[m+3|0]<<24);A[j|0]=m;A[j+1|0]=m>>>8;A[j+2|0]=m>>>16;A[j+3|0]=m>>>24;H=C[n+8>>2]}j=j+4|0;l=l+y|0;k=k+E|0;c=c+1|0;if((H|0)>(c|0)){continue}break}R=C[o>>2]}j=j+_|0;u=u+1|0;if((R|0)>(u|0)){continue}break}break i}l=C[n+20>>2];w=C[a+12>>2];fa=G[i>>2];ga=G[i+4>>2];m=C[n+8>>2];q=C[n+16>>2];C[s+12>>2]=0;b=+ga*65536;H:{if(K(b)<2147483648){c=~~b;break H}c=-2147483648}b=+fa*65536;I:{if(K(b)<2147483648){k=~~b;break I}k=-2147483648}if(a?C[C[a+52>>2]+68>>2]>>>8&1:0){Dr(a,s+12|0);t=D[s+12|0]}else{t=0}lf(l,t,I(C[o>>2],C[n+16>>2]));j=C[o>>2];if((j|0)<=0){break i}z=q-m|0;r=C[n+8>>2];h=+(c|0);L=+(k|0);b=+(y|0);g=+(E|0);while(1){if((r|0)>0){v=+C[f>>2]+.5-+G[i>>2];B=+(C[f+4>>2]+u|0)+.5-+G[i+4>>2];x=g*v-b*B+L+-32768;J:{if(K(x)<2147483648){j=~~x;break J}j=-2147483648}v=b*v+B*g+h+-32768;K:{if(K(v)<2147483648){k=~~v;break K}k=-2147483648}c=0;while(1){m=j>>16;L:{if(m>>>0>=F[a+8>>2]){break L}q=k>>16;if(q>>>0>=F[a+12>>2]){break L}A[l|0]=D[(C[a+20>>2]+I(C[a+16>>2],e?w+(q^-1)|0:q)|0)+(d?p+(m^-1)|0:m)|0];r=C[n+8>>2]}l=l+1|0;k=k+y|0;j=j+E|0;c=c+1|0;if((r|0)>(c|0)){continue}break}j=C[o>>2]}l=l+z|0;u=u+1|0;if((u|0)<(j|0)){continue}break}}if(D[a|0]&2){Yg(a)}j=n}Ce=s+16|0;return j}function fR(a){a=a|0;var 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;f=Ce+-64|0;Ce=f;h=kf(40);C[h>>2]=0;a:{if(!a){break a}j=4;C[108230]=0;p=Kb(105,a|0)|0;q=De;b=C[108230];C[108230]=0;i=-1;b:{c:{if(!b){break c}c=C[108231];if(!c){break c}i=Mf(C[b>>2],h,4);if(!i){break b}De=c}b=De;d:{e:{if((i|0)==1){break e}C[108230]=0;d=$(106,2)|0;b=C[108230];C[108230]=0;i=-1;f:{if(!b){break f}c=C[108231];if(!c){break f}i=Mf(C[b>>2],h,4);if(!i){break b}De=c}b=De;if((i|0)==1){break e}if(!d){b=0;break a}C[f+28>>2]=0;C[f+52>>2]=0;C[108230]=0;C[f+60>>2]=0;i=_(C[104396],29049,0,0,0)|0;b=C[108230];C[108230]=0;d=-1;g:{if(!b){break g}c=C[108231];if(!c){break g}d=Mf(C[b>>2],h,4);if(!d){break b}De=c}b=De;h:{if((d|0)!=1){C[f+56>>2]=i;if(!i){k=13265;c=0;break d}C[108230]=0;m=$(C[104395],i|0)|0;b=C[108230];C[108230]=0;d=-1;i:{if(!b){break i}c=C[108231];if(!c){break i}d=Mf(C[b>>2],h,4);if(!d){break b}De=c}b=De;if((d|0)==1){break e}C[f+52>>2]=m;if(!m){k=17470;break h}C[108230]=0;e=Y(C[104413],i|0,107,156)|0;b=C[108230];C[108230]=0;d=-1;j:{if(!b){break j}c=C[108231];if(!c){break j}d=Mf(C[b>>2],h,4);if(!d){break b}De=c}b=De;if((d|0)==1){break e}b=0;h=Uj(e,1,h,4);j=De;break e}break e}c=2;break d}c=1}while(1){k:{l:{m:{n:{o:{p:{switch(c|0){case 0:if(C[f+28>>2]){C[108230]=0;T(108,C[f+28>>2]);b=C[108230];C[108230]=0;d=-1;q:{if(!b){break q}c=C[108231];if(!c){break q}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}if(k){C[108230]=0;Jb(109,a|0,p|0,q|0,0)|0;b=C[108230];C[108230]=0;d=-1;r:{if(!b){break r}c=C[108231];if(!c){break r}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}if(C[f+60>>2]){C[108230]=0;T(110,C[f+60>>2]);b=C[108230];C[108230]=0;d=-1;s:{if(!b){break s}c=C[108231];if(!c){break s}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[f+60>>2]=0}C[108230]=0;X(111,k|0,0)|0;b=C[108230];C[108230]=0;d=-1;t:{if(!b){break t}c=C[108231];if(!c){break t}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}b=C[f+60>>2];break a;case 1:k=30123;if(b){break m}C[108230]=0;Ka(C[104410],i|0,a|0,112);b=C[108230];C[108230]=0;d=-1;u:{if(!b){break u}c=C[108231];if(!c){break u}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108230]=0;Z(C[104405],i|0,m|0);b=C[108230];C[108230]=0;d=-1;v:{if(!b){break v}c=C[108231];if(!c){break v}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108230]=0;Ja(C[104398],i|0,m|0,f+48|0,f+44|0,f+40|0,f+36|0,f+32|0,0,0)|0;b=C[108230];C[108230]=0;d=-1;w:{if(!b){break w}c=C[108231];if(!c){break w}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108230]=0;T(C[104411],i|0);b=C[108230];C[108230]=0;d=-1;x:{if(!b){break x}c=C[108231];if(!c){break x}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108230]=0;T(C[104409],i|0);b=C[108230];C[108230]=0;d=-1;if(!b){break n}c=C[108231];if(!c){break n}d=Mf(C[b>>2],h,j);if(d){break o}break b;default:break p}}C[108230]=0;Ka(C[104397],f+56|0,(C[f+52>>2]?f+52|0:0)|0,0);b=C[108230];C[108230]=0;d=-1;y:{if(!b){break y}c=C[108231];if(!c){break y}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)!=1){break l}break k}De=c}b=De;if((d|0)==1){break k}if(!C[f+36>>2]){C[108230]=0;T(C[104407],i|0);b=C[108230];C[108230]=0;d=-1;z:{if(!b){break z}c=C[108231];if(!c){break z}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}C[108230]=0;e=Y(C[104403],i|0,m|0,16)|0;b=C[108230];C[108230]=0;d=-1;A:{if(!b){break A}c=C[108231];if(!c){break A}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}d=-1;B:{if(!e){break B}C[108230]=0;Zd(C[104402],i|0,m|0,f+16|0,f+20|0,f+24|0)|0;b=C[108230];C[108230]=0;C:{if(!b){break C}c=C[108231];if(!c){break C}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}d=0;if(C[f+36>>2]!=3){break B}d=-1;b=0;D:{e=C[f+20>>2];if((e|0)<=0){break D}g=C[f+16>>2];c=-1;while(1){E:{d=D[b+g|0];if((d|0)==255){d=c;break E}if(!d){d=b;if((c|0)<0){break E}}d=c;break D}c=d;b=b+1|0;if((e|0)!=(b|0)){continue}break}break B}if((b|0)==(e|0)){break B}C[108230]=0;T(C[104407],i|0);b=C[108230];C[108230]=0;d=-1;e=-1;F:{if(!b){break F}c=C[108231];if(!c){break F}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}}if(C[f+36>>2]==4){C[108230]=0;T(C[104408],i|0);b=C[108230];C[108230]=0;e=-1;G:{if(!b){break G}c=C[108231];if(!c){break G}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}}C[108230]=0;Z(C[104406],i|0,m|0);b=C[108230];C[108230]=0;e=-1;H:{if(!b){break H}c=C[108231];if(!c){break H}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[108230]=0;Ja(C[104398],i|0,m|0,f+48|0,f+44|0,f+40|0,f+36|0,f+32|0,0,0)|0;b=C[108230];C[108230]=0;e=-1;I:{if(!b){break I}c=C[108231];if(!c){break I}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[108230]=0;n=X(C[104400],i|0,m|0)|0;b=C[108230];C[108230]=0;e=-1;J:{if(!b){break J}c=C[108231];if(!c){break J}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}b=0;c=0;e=0;g=0;if(n>>>0>=3){g=(n|0)==4?-16777216:0;e=16711680;b=255;c=65280}C[108230]=0;g=Od(113,0,C[f+48>>2],C[f+44>>2],I(n,C[f+40>>2])|0,b|0,c|0,e|0,g|0)|0;b=C[108230];C[108230]=0;e=-1;K:{if(!b){break K}c=C[108231];if(!c){break K}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[f+60>>2]=g;L:{if(!C[f+60>>2]){C[108230]=0;C[105620]=128;C[105619]=422496;k=34979;M:{if(!C[105618]){break M}k=C[105619]}b=C[108230];C[108230]=0;d=-1;N:{if(!b){break N}c=C[108231];if(!c){break N}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}d=i;break L}e=-1;if((d|0)!=-1){if(C[f+36>>2]!=3){d=C[f+24>>2];c=D[d+6|0];b=D[d+4|0];d=D[d+2|0];g=C[C[f+60>>2]+4>>2];C[108230]=0;d=ns(g,d,b,c);b=C[108230];C[108230]=0;g=-1;O:{if(!b){break O}c=C[108231];if(!c){break O}g=Mf(C[b>>2],h,j);if(!g){break b}De=c}b=De;if((g|0)==1){break k}}C[108230]=0;Y(116,C[f+60>>2],1,d|0)|0;b=C[108230];C[108230]=0;d=-1;P:{if(!b){break P}c=C[108231];if(!c){break P}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}C[108230]=0;d=$(117,C[f+44>>2]<<2)|0;b=C[108230];C[108230]=0;Q:{if(!b){break Q}c=C[108231];if(!c){break Q}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[f+28>>2]=d;k=1277;if(!C[f+28>>2]){d=i;break L}d=i;e=C[f+44>>2];if((e|0)>0){b=0;if((e|0)!=1){d=e&-2;c=0;while(1){g=C[f+60>>2];C[C[f+28>>2]+(b<<2)>>2]=I(C[g+16>>2],b)+C[g+20>>2];g=b|1;C[C[f+28>>2]+(g<<2)>>2]=C[C[f+60>>2]+20>>2]+I(g,C[C[f+60>>2]+16>>2]);b=b+2|0;c=c+2|0;if((d|0)!=(c|0)){continue}break}}if(e&1){d=C[f+60>>2];C[C[f+28>>2]+(b<<2)>>2]=I(C[d+16>>2],b)+C[d+20>>2]}d=C[f+56>>2]}C[108230]=0;Z(C[104404],d|0,C[f+28>>2]);b=C[108230];C[108230]=0;e=-1;R:{if(!b){break R}c=C[108231];if(!c){break R}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}k=0;g=C[C[C[f+60>>2]+4>>2]+4>>2];if(!g){break L}C[108230]=0;_(C[104401],d|0,C[f+52>>2],f+8|0,f+12|0)|0;b=C[108230];C[108230]=0;e=-1;S:{if(!b){break S}c=C[108231];if(!c){break S}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}T:{if(!C[f+36>>2]){C[g>>2]=256;k=C[g+4>>2];c=0;while(1){e=k+(c<<2)|0;A[e+2|0]=c;A[e+1|0]=c;A[e|0]=c;e=c|1;g=k+(e<<2)|0;A[g+2|0]=e;A[g+1|0]=e;A[g|0]=e;e=c|2;g=k+(e<<2)|0;A[g+2|0]=e;A[g+1|0]=e;A[g|0]=e;e=c|3;g=k+(e<<2)|0;A[g+2|0]=e;A[g+1|0]=e;A[g|0]=e;c=c+4|0;if((c|0)!=256){continue}break}break T}c=C[f+12>>2];if((c|0)<=0){break T}C[g>>2]=c;k=C[f+12>>2];if((k|0)<=0){break T}e=C[g+4>>2];c=0;n=C[f+8>>2];if((k|0)!=1){r=k&-2;g=0;while(1){o=e+(c<<2)|0;l=n+I(c,3)|0;A[o+2|0]=D[l+2|0];A[o+1|0]=D[l+1|0];A[o|0]=D[l|0];l=c|1;o=e+(l<<2)|0;l=n+I(l,3)|0;A[o+2|0]=D[l+2|0];A[o+1|0]=D[l+1|0];A[o|0]=D[l|0];c=c+2|0;g=g+2|0;if((r|0)!=(g|0)){continue}break}}if(!(k&1)){break T}k=e+(c<<2)|0;c=n+I(c,3)|0;A[k+2|0]=D[c+2|0];A[k+1|0]=D[c+1|0];A[k|0]=D[c|0]}k=0}if(!d){break l}}c=2;continue}c=0;continue}c=1;continue}}Re(h);Ji(b,c);s()}Re(h);Ce=f- -64|0;return b|0}function xy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{f:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}if(C[b+12>>2]!=1){break b}d=D[a+2|0]|D[a+3|0]<<8;c=205712;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0;break d}if(C[b+12>>2]!=1){break b}d=D[a+2|0]|D[a+3|0]<<8;c=205712;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0}return(zf(c,C[C[b+8>>2]>>2])|0)!=-1;case 1:if((D[a|0]|D[a+1|0]<<8)!=256|C[b+12>>2]!=1){break b}break a;case 2:if((D[a|0]|D[a+1|0]<<8)!=256|C[b+12>>2]!=1){break b}break a;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break b}c=D[a+2|0]|D[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}c=zf(c,C[C[b+8>>2]>>2]);g:{h:{if((c|0)==-1){break h}f=205712;d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=D[f|0]|D[f+1|0]<<8;if(!a){break h}g=(a<<8|a>>>8)&65535;c=f+2|0;d=C[b+12>>2];if(d>>>0<2){while(1){a=D[c|0]|D[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=205712}a=D[a+2|0]|D[a+3|0]<<8;h=((a<<8|a>>>8)&65535)==(d|0);if(h){break g}c=c+2|0;g=g-1|0;if(g){continue}break g}}i=C[b+8>>2];while(1){a=D[c|0]|D[c+1|0]<<8;if(a){b=((a<<8|a>>>8)&65535)+f|0}else{b=205712}a=D[b+2|0]|D[b+3|0]<<8;i:{if(((a<<8|a>>>8)&65535)!=(d|0)){break i}h=1;a=1;e=D[b+4|0]|D[b+5|0]<<8;if(C[i+4>>2]!=((e<<8|e>>>8)&65535)){break i}while(1){e=a+1|0;if((e|0)==(d|0)){break g}j=a<<1;a=e;e=b+j|0;e=D[e+4|0]|D[e+5|0]<<8;if(C[i+(a<<2)>>2]==((e<<8|e>>>8)&65535)){continue}break}if(a>>>0>=d>>>0){break g}}c=c+2|0;g=g-1|0;if(g){continue}break}}h=0}return h;case 4:f=b;b=0;c=a;j:{k:{l:{m:{a=D[a|0]|D[a+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break j}}g=205712;a=D[c+2|0]|D[c+3|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=205712}a=zf(a,C[C[f+8>>2]>>2]);b=D[c+4|0]|D[c+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?205712:(c+(a<<1)|0)+6|0;a=D[a|0]|D[a+1|0]<<8;if(a){g=c+((a<<8|a>>>8)&65535)|0}a=D[g|0]|D[g+1|0]<<8;n:{o:{if(a){h=(a<<8|a>>>8)&65535;c=g+2|0;d=C[f+12>>2];while(1){a=D[c|0]|D[c+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+g|0}else{e=205712}a=D[e|0]|D[e+1|0]<<8;a=(a<<8|a>>>8)&65535;p:{if((a|0)!=(d|0)){break p}b=1;if(a>>>0<2){break n}i=1;a=1;j=C[f+8>>2];e=e+4|0;b=D[e|0]|D[e+1|0]<<8;if(C[j+4>>2]!=((b<<8|b>>>8)&65535)){break p}while(1){b=a+1|0;if((b|0)==(d|0)){break o}k=a<<1;a=b;b=e+k|0;b=D[b|0]|D[b+1|0]<<8;if(C[j+(a<<2)>>2]==((b<<8|b>>>8)&65535)){continue}break}if(a>>>0>=d>>>0){break o}}c=c+2|0;h=h-1|0;if(h){continue}break}}i=0}b=i}break j}k=C[f+8>>2];a=C[k>>2];q:{r:{s:{t:{d=D[c+4|0]|D[c+5|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=205712}e=D[d|0]|D[d+1|0]<<8;n=e<<8|e>>>8;switch((n&65535)-1|0){case 1:break s;case 0:break t;default:break q}}b=a;a=D[d+2|0]|D[d+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=D[d+4|0]|D[d+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?205712:(d+(a<<1)|0)+6|0;break r}h=206102;b=D[d+2|0]|D[d+3|0]<<8;u:{if(!b){break u}j=d+4|0;b=((b<<8|b>>>8)&65535)-1|0;e=0;while(1){i=b+e>>>1|0;g=j+I(i,6)|0;l=D[g|0]|D[g+1|0]<<8;v:{if(a>>>0>=((l<<8|l>>>8)&65535)>>>0){e=D[g+2|0]|D[g+3|0]<<8;if(a>>>0>((e<<8|e>>>8)&65535)>>>0){e=i+1|0;break v}h=j+I(i,6)|0;break u}b=i-1|0}if((b|0)>=(e|0)){continue}break}}a=h+4|0}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}i=205712;a=D[c+6|0]|D[c+7|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=b>>>0?205712:(c+(b<<1)|0)+8|0;a=D[a|0]|D[a+1|0]<<8;if(a){i=c+((a<<8|a>>>8)&65535)|0}a=D[i|0]|D[i+1|0]<<8;w:{x:{if(a){h=(a<<8|a>>>8)&65535;l=d+4|0;c=i+2|0;f=C[f+12>>2];while(1){b=205712;a=D[c|0]|D[c+1|0]<<8;if(a){b=((a<<8|a>>>8)&65535)+i|0}a=D[b|0]|D[b+1|0]<<8;e=(a<<8|a>>>8)&65535;y:{if((e|0)!=(f|0)){break y}a=1;if(e>>>0<2){break w}g=b+4|0;j=C[k+4>>2];b=0;z:{A:{B:{switch((n&65535)-1|0){case 0:a=D[d+2|0]|D[d+3|0]<<8;a=j-((a<<8|a>>>8)&65535)|0;b=D[d+4|0]|D[d+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?205712:(l+(a<<1)|0)+2|0;break A;case 1:break B;default:break z}}a=D[d+2|0]|D[d+3|0]<<8;C:{if(a){b=((a<<8|a>>>8)&65535)-1|0;e=0;while(1){m=b+e>>>1|0;a=l+I(m,6)|0;o=D[a|0]|D[a+1|0]<<8;D:{if(j>>>0>=((o<<8|o>>>8)&65535)>>>0){e=D[a+2|0]|D[a+3|0]<<8;if(j>>>0<=((e<<8|e>>>8)&65535)>>>0){break C}e=m+1|0;break D}b=m-1|0}if((b|0)>=(e|0)){continue}break}}a=206102}a=a+4|0}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}e=1;a=1;j=b;b=D[g|0]|D[g+1|0]<<8;if((j|0)!=((b<<8|b>>>8)&65535)){break y}while(1){b=a+1|0;if((b|0)==(f|0)){break x}j=a<<1;a=b;if(ry(C[k+(a<<2)>>2],g+j|0,d)){continue}break}if(a>>>0>=f>>>0){break x}}c=c+2|0;h=h-1|0;if(h){continue}break}}e=0}a=e}b=a;break j}a=D[c+2|0]|D[c+3|0]<<8;a=a<<8|a>>>8;d=a&65535;if((d|0)!=C[f+12>>2]){break j}b=1;if((a&65535)>>>0<2){break j}i=C[C[f+8>>2]+4>>2];b=0;e=c+8|0;a=D[e|0]|D[e+1|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=205712}if((zf(a,i)|0)==-1){break j}b=1;while(1){E:{a=b+1|0;if((d|0)==(a|0)){a=d;break E}h=C[C[f+8>>2]+(a<<2)>>2];b=e+(b<<1)|0;b=D[b|0]|D[b+1|0]<<8;if(b){i=c+((b<<8|b>>>8)&65535)|0}else{i=205712}b=a;if((zf(i,h)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}return b;case 5:c=0;i=Ce-16|0;Ce=i;F:{G:{H:{I:{d=D[a|0]|D[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break F}}c=205712;d=D[a+2|0]|D[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=205712}d=zf(e,C[C[b+8>>2]>>2]);e=D[a+4|0]|D[a+5|0]<<8;d=d>>>0>=((e<<8|e>>>8)&65535)>>>0?205712:((d<<1)+a|0)+6|0;d=D[d|0]|D[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=C[41913];C[i+8>>2]=C[41912];C[i+12>>2]=a;a=C[41911];C[i>>2]=C[41910];C[i+4>>2]=a;c=sy(c,b,i);break F}h=Ce-16|0;Ce=h;c=205712;l=205712;d=D[a+4|0]|D[a+5|0]<<8;if(d){l=((d<<8|d>>>8)&65535)+a|0}d=D[a+6|0]|D[a+7|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}d=D[a+8|0]|D[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=205712}g=C[C[b+8>>2]>>2];J:{K:{L:{M:{e=D[c|0]|D[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break L;case 0:break M;default:break J}}e=D[c+2|0]|D[c+3|0]<<8;e=g-((e<<8|e>>>8)&65535)|0;f=D[c+4|0]|D[c+5|0]<<8;e=e>>>0>=((f<<8|f>>>8)&65535)>>>0?205712:((e<<1)+c|0)+6|0;break K}m=206102;e=D[c+2|0]|D[c+3|0]<<8;N:{if(!e){break N}n=c+4|0;f=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){j=e+f>>>1|0;k=n+I(j,6)|0;o=D[k|0]|D[k+1|0]<<8;O:{if(g>>>0>=((o<<8|o>>>8)&65535)>>>0){e=D[k+2|0]|D[k+3|0]<<8;if(g>>>0>((e<<8|e>>>8)&65535)>>>0){e=j+1|0;break O}m=n+I(j,6)|0;break N}f=j-1|0}if((e|0)<=(f|0)){continue}break}}e=m+4|0}e=D[e|0]|D[e+1|0]<<8;f=(e<<8|e>>>8)&65535}e=205712;g=((f<<1)+a|0)+12|0;j=f;f=D[a+10|0]|D[a+11|0]<<8;f=j>>>0>=((f<<8|f>>>8)&65535)>>>0?205712:g;f=D[f|0]|D[f+1|0]<<8;if(f){e=((f<<8|f>>>8)&65535)+a|0}C[h+12>>2]=d;C[h+8>>2]=c;C[h+4>>2]=l;C[h>>2]=710;c=sy(e,b,h);Ce=h+16|0;break F}c=b;b=0;e=a;d=a+2|0;a=D[a+2|0]|D[a+3|0]<<8;h=d+(((a<<8|a>>>8)&65535)<<1)|0;f=h+2|0;d=D[f|0]|D[f+1|0]<<8;g=d<<8|d>>>8;d=g&65535;f=(d<<1)+f|0;P:{if((D[c+16|0]?D[f+2|0]|D[f+3|0]<<8|a:0)|(d|0)!=C[c+12>>2]){break P}b=1;if((g&65535)>>>0<2){break P}g=C[C[c+8>>2]+4>>2];b=0;f=h+6|0;a=D[f|0]|D[f+1|0]<<8;if(a){a=e+((a<<8|a>>>8)&65535)|0}else{a=205712}if((zf(a,g)|0)==-1){break P}b=1;while(1){Q:{a=b+1|0;if((d|0)==(a|0)){a=d;break Q}g=C[C[c+8>>2]+(a<<2)>>2];b=f+(b<<1)|0;b=D[b|0]|D[b+1|0]<<8;if(b){h=e+((b<<8|b>>>8)&65535)|0}else{h=205712}b=a;if((zf(h,g)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}c=b}Ce=i+16|0;return c;case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;a=xy(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break c;default:break b}}if((D[a|0]|D[a+1|0]<<8)!=256|C[b+12>>2]!=1){break b}c=D[a+2|0]|D[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}f=(zf(a,C[C[b+8>>2]>>2])|0)!=-1}return f}c=D[a+2|0]|D[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}return(zf(a,C[C[b+8>>2]>>2])|0)!=-1}function aP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Ce-32|0;Ce=g;d=bf(a,0);a:{if(d){break a}d=Ef(a,287712,b+132|0);if(d){break a}C[b+168>>2]=C[b+168>>2]+(C[b+204>>2]<<16);d=2;if(C[b+132>>2]!=1346785840|F[b+136>>2]>4|(C[b+140>>2]!=3338|F[b+144>>2]<58)){break a}d=bf(a,C[b+152>>2]);C[g+12>>2]=d;if(d){break a}e=_f(a,g+12|0);d=C[g+12>>2];C[g+24>>2]=d;if(d){break a}C[b>>2]=e;d=0;if((c|0)<0){break a}d=6;if(c>>>0>=e>>>0){break a}n=C[b+204>>2];d=bf(a,C[b+152>>2]);C[g+12>>2]=d;if(d){break a}e=_f(a,g+12|0);d=C[g+12>>2];if(d){break a}d=6;if(c>>>0>=e>>>0){break a}d=lg(a,I(c,5));C[g+12>>2]=d;if(d){break a}h=_f(a,g+12|0);d=C[g+12>>2];if(d){break a}e=Ce-16|0;Ce=e;C[g+12>>2]=0;i=a;b:{c:{d:{e:{d=C[a+4>>2];a=C[a+8>>2];if(d>>>0<=a+2>>>0){break e}d=C[i+20>>2];f:{if(d){if((Fe[d|0](i,a,e+13|0,3)|0)!=3){break e}a=C[i+8>>2];d=e+13|0;break f}d=C[i>>2];if(!d){break d}d=a+d|0}f=D[d+2|0]|(D[d+1|0]<<8|D[d|0]<<16);break c}C[g+12>>2]=85;break b}f=0}C[i+8>>2]=a+3}Ce=e+16|0;d=C[g+12>>2];if(d){break a}C[b+240>>2]=h;C[b+244>>2]=f;d=bf(i,f);C[g+12>>2]=d;if(d){break a}d=Bf(i,h);C[g+12>>2]=d;if(d){break a}g:{h:{i:{if(h>>>0<13){break i}k=C[i+32>>2];l=k+h|0;C[b+248>>2]=D[k+2|0]|(D[k+1|0]<<8|D[k|0]<<16);C[b+252>>2]=D[k+5|0]|(D[k+4|0]<<8|D[k+3|0]<<16);C[b+256>>2]=D[k+8|0]|(D[k+7|0]<<8|D[k+6|0]<<16);C[b+260>>2]=D[k+11|0]|(D[k+10|0]<<8|D[k+9|0]<<16);e=0;f=k+13|0;j=D[k+12|0];d=j&4;if(d){a=j&8?2:1;e=j&3?a:a+3|0}h=j&32;if(l>>>0>31&(h?2:1))|0)>>>0){break i}a=j&16;j:{if(!d){break j}e=D[f|0];k:{if(j&8){e=(D[k+14|0]|e<<8)<<16>>16;f=k+15|0;break k}f=k+14|0}C[b+268>>2]=e;if(j&3){break j}C[b+276>>2]=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);f=f+3|0}l:{if(!a){e=f;break l}d=D[f|0];m:{if(h){d=(D[f+1|0]|d<<8)<<16>>16;e=f+2|0;break m}e=f+1|0}C[b+272>>2]=d}n:{if(!(j&64)){d=e;break n}d=e+1|0;if(l>>>0>>0){break h}m=D[e|0];if(m){while(1){a=d+2|0;if(a>>>0>l>>>0){break h}d=a+D[d|0]|0;if(l>>>0>>0){break h}m=m-1|0;if(m){continue}break}}C[g+12>>2]=0}if(l>>>0>>0){break i}a=D[d+1|0]|D[d|0]<<8;C[b+280>>2]=a;C[b+284>>2]=D[d+4|0]|(D[d+3|0]<<8|D[d+2|0]<<16);if(!n){break g}if(l>>>0>>0){break i}C[b+280>>2]=a|D[d+5|0]<<16;break g}C[g+12>>2]=8;break g}C[g+12>>2]=8}xf(i);d=C[g+12>>2];C[g+24>>2]=d;if(d){break a}e=C[b+280>>2];p=C[b+284>>2];m=C[i+28>>2];C[b+428>>2]=b+424;C[b+424>>2]=0;C[b+292>>2]=p;C[b+288>>2]=m;d=bf(i,p);if(d){break a}d=Bf(i,e);C[g+12>>2]=d;if(d){break a}d=C[i+32>>2];C[b+436>>2]=d;o:{p:{if((e|0)<15){break p}C[b+296>>2]=D[d+1|0]|D[d|0]<<8;C[b+300>>2]=D[d+3|0]|D[d+2|0]<<8;C[b+304>>2]=D[d+5|0]|D[d+4|0]<<8;a=D[d+6|0]|D[d+7|0]<<8;C[b+308>>2]=(a<<8|a>>>8)<<16>>16;a=D[d+8|0]|D[d+9|0]<<8;C[b+312>>2]=(a<<8|a>>>8)<<16>>16;a=D[d+10|0]|D[d+11|0]<<8;C[b+316>>2]=(a<<8|a>>>8)<<16>>16;a=D[d+12|0]|D[d+13|0]<<8;C[b+320>>2]=(a<<8|a>>>8)<<16>>16;f=d+15|0;C[g+28>>2]=f;q=D[d+14|0];C[b+324>>2]=q;s=q&4;if(!s){if(e>>>0<17){break p}f=d+17|0;C[g+28>>2]=f;a=D[d+15|0]|D[d+16|0]<<8;C[b+328>>2]=(a<<8|a>>>8)<<16>>16}o=d+e|0;j=o;if(q<<24>>24<0){l=b+288|0;e=8;d=C[g+28>>2];a=d+1|0;q:{r:{if(o>>>0>>0){break r}f=D[d|0];if(f){while(1){h=a;d=a+2|0;if(o>>>0>>0){C[g+28>>2]=h;e=8;break q}a=D[h|0]+d|0;if(o>>>0>>0){C[g+28>>2]=d;e=8;break q}k=C[71961];s:{if(!k){break s}e=287840;n=D[h+1|0];if((n|0)!=C[71960]){while(1){k=C[e+12>>2];if(!k){break s}h=C[e+8>>2];e=e+8|0;if((h|0)!=(n|0)){continue}break}}e=Fe[k|0](d,a,l)|0;if(e){break r}}f=f-1|0;if(f){continue}break}}d=a;e=0}C[g+28>>2]=d}C[g+12>>2]=e;if(e){break o}f=C[g+28>>2]}a=f+3|0;if(j>>>0>>0){break p}C[g+28>>2]=a;e=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);if(e){f=a+e|0;if(f>>>0>o>>>0){break p}C[g+28>>2]=f;n=b+372|0;h=b+376|0;while(1){t:{l=a+4|0;if(l>>>0>f>>>0){break t}j=D[a+1|0]|D[a|0]<<8;if(j>>>0<4|e>>>0>>0){break t}u:{v:{w:{x:{y:{d=D[a+2|0]|D[a+3|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break w;case 1:break x;case 0:break y;default:break u}}d=Gv(l,j-4|0,m,n);break v}if(j>>>0<36){break u}d=D[a+14|0]|D[a+15|0]<<8;C[b+332>>2]=(d<<8|d>>>8)<<16>>16;d=D[a+16|0]|D[a+17|0]<<8;C[b+336>>2]=(d<<8|d>>>8)<<16>>16;d=D[a+18|0]|D[a+19|0]<<8;C[b+340>>2]=(d<<8|d>>>8)<<16>>16;break u}d=Gv(l,j-4|0,m,h)}C[g+12>>2]=d;if(d){break a}}a=a+j|0;e=e-j|0;if(e){continue}}break}a=f}d=a+1|0;if(o>>>0>>0){break p}C[g+28>>2]=d;a=D[a|0];C[b+392>>2]=a;if(o>>>0<(a<<1)+d>>>0){break p}j=Ve(m,4,0,a,0,g+12|0);C[b+396>>2]=j;if(C[g+12>>2]){break o}z:{if(!a){break z}l=a&1;A:{if((a|0)==1){a=0;break A}n=a&254;a=0;e=0;while(1){h=a<<2;f=D[d|0]|D[d+1|0]<<8;C[h+j>>2]=(f<<8|f>>>8)<<16>>16;f=D[d+2|0]|D[d+3|0]<<8;C[j+(h|4)>>2]=(f<<8|f>>>8)<<16>>16;a=a+2|0;d=d+4|0;e=e+2|0;if((n|0)!=(e|0)){continue}break}}if(!l){break z}e=j+(a<<2)|0;a=D[d|0]|D[d+1|0]<<8;C[e>>2]=(a<<8|a>>>8)<<16>>16;d=d+2|0}a=d+8|0;if(o>>>0>>0){break p}C[g+28>>2]=d+1;C[b+400>>2]=D[d|0];C[g+28>>2]=d+2;C[b+404>>2]=D[d+1|0];C[g+28>>2]=d+4;C[b+356>>2]=D[d+3|0]|D[d+2|0]<<8;C[b+344>>2]=D[d+5|0]|D[d+4|0]<<8;C[g+28>>2]=a;r=D[d+7|0]|D[d+6|0]<<8;C[b+408>>2]=r;C[b+412>>2]=(a+p|0)-C[i+32>>2];k=Ve(m,16,0,r,0,g+12|0);C[b+416>>2]=k;if(C[g+12>>2]){break o}j=q>>>3&1;l=q&16;n=q&32;h=q&2;if(o>>>0>>1)+(l>>>4|0)+(n>>>5)|0)+(h?5:4)|0)+a>>>0){break p}if(!r){break o}m=0;while(1){p=k+(m<<4)|0;f=D[a|0];B:{if(h){f=D[a+1|0]|f<<8;e=a+2|0;break B}e=a+1|0}C[p>>2]=f;C:{if(s){a=D[e|0]|D[e+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;e=e+2|0;break C}a=C[b+328>>2]}C[p+4>>2]=a;d=e+j|0;a=D[d|0];D:{if(l){a=D[d+1|0]|a<<8;d=d+2|0;break D}d=d+1|0}C[p+8>>2]=a;e=D[d+1|0];a=D[d|0];E:{if(n){f=D[d+2|0]|(e<<8|a<<16);a=d+3|0;break E}f=e|a<<8;a=d+2|0}C[p+12>>2]=f;m=m+1|0;if((r|0)!=(m|0)){continue}break}break o}C[g+12>>2]=8}xf(i);e=0;a=C[i+8>>2];C[b+436>>2]=0;C[b+432>>2]=a;d=C[g+12>>2];C[g+24>>2]=d;if(d){break a}C[b+4>>2]=c;c=C[b+8>>2]|1;C[b+8>>2]=c;d=C[b+408>>2];C[b+16>>2]=d+1;F:{G:{H:{if(!d){break H}a=C[b+416>>2];while(1){if(C[(a+(e<<4)|0)+12>>2]){break H}e=e+1|0;if((d|0)!=(e|0)){continue}break}break G}if((d|0)!=(e|0)){break F}}c=0;if(C[b+380>>2]){break F}d=3;break a}a=C[b+324>>2];d=(a^-1)&4|c|(a&1?32:16);C[b+8>>2]=d;i=C[b+380>>2];if(i){d=d|2;C[b+8>>2]=d}if(C[b+420>>2]){C[b+8>>2]=d|64}c=C[b+372>>2];C[b+20>>2]=c;if(!c){C[b+20>>2]=C[b+368>>2]}C[b+28>>2]=0;C[b+32>>2]=0;C[b+24>>2]=C[b+376>>2];c=C[b+312>>2];C[b+52>>2]=C[b+308>>2];C[b+56>>2]=c;c=C[b+320>>2];C[b+60>>2]=C[b+316>>2];C[b+64>>2]=c;e=C[b+300>>2];B[b+68>>1]=e;d=C[b+320>>2];B[b+70>>1]=d;c=C[b+312>>2];B[b+72>>1]=c;d=(d<<16>>16)-(c<<16>>16)|0;c=(I(e&65535,12)>>>0)/10|0;B[b+74>>1]=(d|0)>c<<16>>16?d:c;if(i){a=Ve(C[C[b+104>>2]+28>>2],16,0,i,0,g+24|0);C[b+32>>2]=a;d=C[g+24>>2];if(d){break a}d=C[b+388>>2];if((i|0)!=1){f=i&-2;e=0;while(1){c=C[d+4>>2];B[a>>1]=c;h=C[d>>2];c=c<<6;C[a+12>>2]=c;C[a+4>>2]=c;B[a+2>>1]=h;C[a+8>>2]=h<<6;c=C[d+40>>2];B[a+16>>1]=c;h=C[d+36>>2];c=c<<6;C[a+28>>2]=c;C[a+20>>2]=c;B[a+18>>1]=h;C[a+24>>2]=h<<6;d=d+72|0;a=a+32|0;e=e+2|0;if((f|0)!=(e|0)){continue}break}}if(i&1){c=C[d+4>>2];B[a>>1]=c;d=C[d>>2];c=c<<6;C[a+12>>2]=c;C[a+4>>2]=c;B[a+2>>1]=d;C[a+8>>2]=d<<6}C[b+28>>2]=i;a=C[b+324>>2]}I:{if(!(a&4)){a=C[b+328>>2];break I}a=C[b+408>>2];if(!a){a=0;break I}i=a&3;d=C[b+416>>2];c=0;J:{if(a>>>0<4){a=0;break J}h=a&-4;a=0;e=0;while(1){f=C[d+4>>2];f=(a|0)>(f|0)?a:f;a=C[d+20>>2];f=(a|0)<(f|0)?f:a;a=C[d+36>>2];f=(a|0)<(f|0)?f:a;a=C[d+52>>2];a=(a|0)<(f|0)?f:a;d=d- -64|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}if(!i){break I}while(1){e=C[d+4>>2];a=(a|0)>(e|0)?a:e;d=d+16|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}B[b+76>>1]=a;B[b+78>>1]=E[b+74>>1];a=E[b+68>>1];B[b+82>>1]=(a>>>0)/30;B[b+80>>1]=0-((a>>>0)/10|0);C[g+12>>2]=b;C[g+16>>2]=1970170211;C[g+20>>2]=65539;d=wh(287516,0,g+12|0,0);if(!C[b+420>>2]){break a}C[b+8>>2]=C[b+8>>2]|64}Ce=g+32|0;return d|0}function $R(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,k=0,l=0,m=0,n=0,o=0;h=Ce-32|0;Ce=h;C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];C[b+76>>2]=0;m=C[b+80>>2];while(1){a:{a=C[b+76>>2];if(!D[b+72|0]|a>>>0>=m>>>0){break a}f=C[b+92>>2];d=C[f+I(a,20)>>2];b:{if((d&-2)==12334){c:{if(!(C[b+84>>2]!=(g|0)|g>>>0<=i>>>0)){Xg(b,i,a);if(D[b+73|0]){d:{if(C[b+96>>2]==C[b+92>>2]){a=C[b+84>>2];if((a|0)==C[b+76>>2]){break d}}if(!$e(b,1,1)){break a}e=C[b+92>>2]+I(C[b+76>>2],20)|0;f=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=f;C[a+16>>2]=C[e+16>>2];f=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=f;a=C[b+84>>2]}C[b+84>>2]=a+1}C[b+76>>2]=C[b+76>>2]+1;a=h+8|0;C[a>>2]=0;e=a;a=C[c+72>>2];if(Fe[C[a+156>>2]](c,C[c+76>>2],d,e,C[a+20>>2])|0){a=C[c+72>>2];if(!(Fe[C[a+168>>2]](c,C[c+76>>2],C[h+8>>2],C[a+32>>2])|0)){break c}}zi(b,i,g+1|0);e=C[b+96>>2];a=e+I(g,20)|0;C[h+24>>2]=C[a+16>>2];d=C[a+12>>2];C[h+16>>2]=C[a+8>>2];C[h+20>>2]=d;d=C[a+4>>2];C[h+8>>2]=C[a>>2];C[h+12>>2]=d;a=e+I(i,20)|0;Yf(a+20|0,a,I(g-i|0,20));C[a+16>>2]=C[h+24>>2];e=C[h+20>>2];C[a+8>>2]=C[h+16>>2];C[a+12>>2]=e;e=C[h+12>>2];C[a>>2]=C[h+8>>2];C[a+4>>2]=e;break c}e:{if(D[b+16|0]&16){break e}C[h+8>>2]=0;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],9676,h+8|0,C[a+20>>2])|0)){break e}a=h+8|0;C[a>>2]=0;e=a;a=C[c+72>>2];f:{if(!(Fe[C[a+156>>2]](c,C[c+76>>2],d,e,C[a+20>>2])|0)){g=9676;break f}a=C[c+72>>2];a=Fe[C[a+168>>2]](c,C[c+76>>2],C[h+8>>2],C[a+32>>2])|0;g=a?9676:d;d=a?d:9676}if(!$e(b,1,2)){break c}a=C[b+76>>2];g:{if(a>>>0>2]){i=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];f=C[b+96>>2];break g}f=C[b+96>>2];a=C[b+84>>2];e=a-1|0;i=f+I(a>>>0>=e>>>0?e:0,20)|0}e=C[i+4>>2];a=I(a,20)+f|0;C[a>>2]=C[i>>2];C[a+4>>2]=e;C[a+16>>2]=C[i+16>>2];e=C[i+12>>2];C[a+8>>2]=C[i+8>>2];C[a+12>>2]=e;C[a>>2]=d;e=C[i+4>>2];C[a+20>>2]=C[i>>2];C[a+24>>2]=e;e=C[i+12>>2];C[a+28>>2]=C[i+8>>2];C[a+32>>2]=e;C[a+36>>2]=C[i+16>>2];C[a+20>>2]=g;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+2;break c}if(D[b+73|0]){h:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break h}}if(!$e(b,1,1)){break c}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}d=3;g=C[b+84>>2];i=g;break b}i=C[b+84>>2];i:{l=d-4352|0;j:{if(!(d-43360>>>0>28&l>>>0>=96)){e=a+1|0;if(e>>>0>=m>>>0){break j}e=C[f+I(e,20)>>2];if(e-4448>>>0>=72&e-55216>>>0>22){break j}k=0;g=0;j=a+2|0;if(j>>>0>>0){f=C[f+I(j,20)>>2];k=f-4520>>>0<88|f-55243>>>0<49;g=k?f:0;k=k?f-4519|0:0}f=g?3:2;Rf(b,a,f+a|0);k:{if(l>>>0>18|e-4449>>>0>20|(g-4520>>>0>26?g:0)){break k}C[h+8>>2]=0;e=((I(d,588)+I(e,28)|0)+k|0)-2639516|0;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],e,h+8|0,C[a+20>>2])|0)){break k}if(!$e(b,f,1)){break i}a=C[b+76>>2];eg(b,a,a+f|0);a=C[b+76>>2];l:{if(a>>>0>2]){d=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];g=C[b+96>>2];break l}g=C[b+96>>2];a=C[b+84>>2];d=a-1|0;d=g+I(a>>>0>=d>>>0?d:0,20)|0}a=I(a,20)+g|0;g=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=g;C[a+16>>2]=C[d+16>>2];g=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=g;C[a>>2]=e;C[b+76>>2]=f+C[b+76>>2];C[b+84>>2]=C[b+84>>2]+1;break i}A[(C[b+92>>2]+I(C[b+76>>2],20)|0)+19|0]=1;m:{if(D[b+73|0]){n:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break n}}if(!$e(b,1,1)){d=C[b+76>>2];break m}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}d=C[b+76>>2]+1|0;C[b+76>>2]=d}A[(C[b+92>>2]+I(d,20)|0)+19|0]=2;o:{if(D[b+73|0]){p:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break p}}if(!$e(b,1,1)){break o}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}if(g){A[(C[b+92>>2]+I(C[b+76>>2],20)|0)+19|0]=3;q:{if(D[b+73|0]){r:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break r}}if(!$e(b,1,1)){break q}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}a=3}else{a=2}if(!D[b+72|0]){break a}g=a+i|0;d=3;if(C[b+20>>2]){break b}zi(b,i,g);break b}a=d-44032|0;if(a>>>0>11171){break j}C[h+8>>2]=0;a=a&65535;e=(a>>>0)/588|0;f=C[c+72>>2];k=Fe[C[f+156>>2]](c,C[c+76>>2],d,h+8|0,C[f+20>>2])|0;f=(a>>>0)%588|0;a=(f>>>0)/28|0;f=f-I(a,28)|0;l=f&65535;s:{t:{if(!l){j=C[b+76>>2]+1|0;u:{if(j>>>0>=m>>>0){break u}j=C[C[b+92>>2]+I(j,20)>>2];if(j-4520>>>0>26){break u}C[h+8>>2]=0;j=(d+j|0)-4519|0;d=C[c+72>>2];if(Fe[C[d+156>>2]](c,C[c+76>>2],j,h+8|0,C[d+20>>2])|0){if(!$e(b,2,1)){break i}a=C[b+76>>2];eg(b,a,a+2|0);a=C[b+76>>2];v:{if(a>>>0>2]){d=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];g=C[b+96>>2];break v}g=C[b+96>>2];a=C[b+84>>2];e=a-1|0;d=g+I(a>>>0>=e>>>0?e:0,20)|0}e=C[d+4>>2];a=I(a,20)+g|0;C[a>>2]=C[d>>2];C[a+4>>2]=e;C[a+16>>2]=C[d+16>>2];e=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=e;C[a>>2]=j;C[b+76>>2]=C[b+76>>2]+2;C[b+84>>2]=C[b+84>>2]+1;break i}d=C[b+76>>2];Rf(b,d,d+2|0)}if(!k){break t}d=C[b+76>>2]+1|0;if(d>>>0>=m>>>0){break s}d=C[C[b+92>>2]+I(d,20)>>2];if(d-4520>>>0<88){break t}if(d-55243>>>0>48){break s}break t}if(k){break s}}C[h+8>>2]=0;w:{n=e|4352;e=C[c+72>>2];if(!(Fe[C[e+156>>2]](c,C[c+76>>2],n,h+8|0,C[e+20>>2])|0)){break w}C[h+8>>2]=0;o=a+4449|0;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],o,h+8|0,C[a+20>>2])|0)){break w}j=f+4519&65535;x:{if(!l){f=2;break x}C[h+8>>2]=0;f=3;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],j,h+8|0,C[a+20>>2])|0)){break s}}if($e(b,1,f)){e=C[b+76>>2];y:{if(e>>>0>2]){d=C[b+84>>2];a=C[b+96>>2];e=C[b+92>>2]+I(e,20)|0;break y}a=C[b+96>>2];d=C[b+84>>2];e=d-1|0;e=a+I(d>>>0>=e>>>0?e:0,20)|0}d=I(d,20)+a|0;a=e;e=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=e;C[d+16>>2]=C[a+16>>2];e=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=e;C[d>>2]=n;e=C[a+4>>2];C[d+20>>2]=C[a>>2];C[d+24>>2]=e;e=C[a+12>>2];C[d+28>>2]=C[a+8>>2];C[d+32>>2]=e;C[d+36>>2]=C[a+16>>2];C[d+20>>2]=o;if(l){e=C[a+4>>2];C[d+40>>2]=C[a>>2];C[d+44>>2]=e;C[d+56>>2]=C[a+16>>2];e=C[a+12>>2];C[d+48>>2]=C[a+8>>2];C[d+52>>2]=e;C[d+40>>2]=j}C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+f}if(!(!k|l)){z:{if(D[b+73|0]){A:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break A}}if(!$e(b,1,1)){break z}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}f=f+1|0}if(!D[b+72|0]){d=2;break b}a=C[b+96>>2];e=a+I(i,20)|0;A[e+39|0]=2;A[e+19|0]=1;g=f+i|0;e=i+2|0;if(g>>>0>e>>>0){A[(a+I(e,20)|0)+19|0]=3}d=3;if(C[b+20>>2]){break b}zi(b,i,g);break b}if(l){break s}a=C[b+76>>2];e=a+1|0;if(e>>>0>=m>>>0){break s}e=C[C[b+92>>2]+I(e,20)>>2];if(e-4520>>>0>=88&e-55243>>>0>48){break s}Rf(b,a,a+2|0)}g=k?i+1|0:g}B:{if(D[b+73|0]){C:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break C}}if(!$e(b,1,1)){break B}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}d=0;break b}g=i+1|0;d=3}if((d|0)!=2){continue}}break}gh(b);Ce=h+32|0}function LF(a){a=a|0;var 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=C[a+28>>2];if(o){h=D[a+63|0];q=C[a+36>>2];r=C[a+16>>2];p=C[C[C[a+40>>2]+4>>2]+4>>2];d=C[a+24>>2];s=d&3;t=(d+3|0)/4|0;l=C[a>>2];e=C[a+20>>2];b=C[a+44>>2];n=D[b+9|0];m=n-1|0;while(1){o=o-1|0;a=t;a:{b:{switch(s-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=(D[l|0]<<2)+p|0;i=D[d+2|0];j=D[d+1|0];k=D[d|0];d=0;f=0;g=0;c=0;e:{f:{switch(m|0){case 0:c=D[e|0];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break e;case 3:break f;default:break e}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;g:{h:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break g;case 3:break h;default:break g}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break i;case 3:break j;default:break i}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;k:{l:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break k;case 3:break l;default:break k}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break m;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break m;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break m;case 3:break n;default:break m}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;o:{p:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break o;case 3:break p;default:break o}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break q;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break q;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break q;case 3:break r;default:break q}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;s:{t:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break s;case 3:break t;default:break s}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];C[a+40>>2]=E[b+68>>1];if(!vm(b)){c=C[b+100>>2];p(g+3216|4,0,2996);C[g+3216>>2]=c;C[a+1624>>2]=0;C[a+52>>2]=0;j=C[(C[C[a>>2]+8>>2]<<2)+274608>>2];e=C[j+8>>2];c=0;d=C[C[a+36>>2]>>2];a:{if(!d){break a}d=C[d+92>>2];if(!d){break a}c=Fe[C[C[d+12>>2]+12>>2]](d,e)|0}b:{c:{if(c){break c}d=C[j+12>>2];if(!d){break b}e=0;c=C[C[a+36>>2]>>2];d:{if(!c){break d}c=C[c+92>>2];if(!c){break d}e=Fe[C[C[c+12>>2]+12>>2]](c,d)|0}c=e;if(c){break c}e=C[j+16>>2];if(!e){break b}d=0;c=C[C[a+36>>2]>>2];e:{if(!c){break e}c=C[c+92>>2];if(!c){break e}d=Fe[C[C[c+12>>2]+12>>2]](c,e)|0}c=d;if(!c){break b}}if(fi(b,c,1)){break b}e=C[b+84>>2];if(B[e+110>>1]<=0){break b}d=g+16|0;p(d,0,3188);c=C[a+40>>2];C[g+24>>2]=65536;C[g+28>>2]=65536;C[g+56>>2]=c;C[g+20>>2]=b;C[g+6196>>2]=0;C[g+6204>>2]=d;if(al(g+3216|0,e+108|0)){break b}if(jk(g+3216|0,0)){break b}$k(g+3216|0,0,0,0);d=C[g+3260>>2];if((d|0)>0){c=C[g+3268>>2];e=c+I(d,48)|0;while(1){d=C[c+20>>2];if(!(!d|C[d+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=d>>>0))){d=B[c+2>>1]-B[d+2>>1]|0;j=d>>31;C[(I(h,12)+a|0)+56>>2]=(d^j)-j;h=h+1|0}c=c+48|0;if(e>>>0>c>>>0){continue}break}}C[g+12>>2]=h;Im(g+12|0,a+56|0,F[g+56>>2]/100|0);C[a+52>>2]=C[g+12>>2];if(jk(g+3216|0,1)){break b}h=0;$k(g+3216|0,0,0,1);d=C[g+4728>>2];if((d|0)>0){c=C[g+4736>>2];e=c+I(d,48)|0;while(1){d=C[c+20>>2];if(!(!d|C[d+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=d>>>0))){d=B[c+2>>1]-B[d+2>>1]|0;j=d>>31;C[(I(h,12)+a|0)+1628>>2]=(d^j)-j;h=h+1|0}c=c+48|0;if(e>>>0>c>>>0){continue}break}}C[g+12>>2]=h;Im(g+12|0,a+1628|0,F[g+56>>2]/100|0);C[a+1624>>2]=C[g+12>>2]}if(C[a+52>>2]){c=C[a+56>>2]}else{c=(I(C[a+40>>2],50)|0)/2048|0}A[a+256|0]=0;C[a+252>>2]=c;C[a+248>>2]=(c|0)/5;if(C[a+1624>>2]){c=C[a+1628>>2]}else{c=(I(C[a+40>>2],50)|0)/2048|0}A[a+1828|0]=0;C[a+1824>>2]=c;C[a+1820>>2]=(c|0)/5;zp(g+3216|0);c=(C[C[a>>2]+12>>2]<<3)+272656|0;i=C[c>>2];if((i|0)!=759){while(1){H=c;J=i+271888|0;c=D[J|0];f:{if(!c){break f}s=0;r=0;while(1){i=c&255;J=J+1|0;if(c<<24>>24<0){d=i>>>0<240;c=i>>>0<224;e=c?1:d?2:3;i=(c?31:d?15:7)&i;h=0;c=J;while(1){i=D[c|0]&63|i<<6;c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}J=e+J|0}c=0;d=C[C[a+36>>2]>>2];g:{if(!d){break g}d=C[d+92>>2];if(!d){break g}c=Fe[C[C[d+12>>2]+12>>2]](d,i)|0}h:{if(!c){break h}if(fi(b,c,1)){break h}y=C[b+84>>2];if(B[y+110>>1]<3){break h}i=0;m=B[y+108>>1];i:{if((m|0)<=0){break i}t=C[y+120>>2];n=C[y+112>>2];d=-1;u=0;v=0;f=0;j=0;while(1){q=B[t+(j<<1)>>1];j:{if((q|0)<=(f|0)){c=d;break j}k:{if(A[H+4|0]&1){l:{if(!((q-f|0)+1&1)){h=f;c=d;break l}c=C[((f<<3)+n|0)+4>>2];e=(d|0)<0|(c|0)>(i|0);i=e?c:i;h=f+1|0;c=e?f:d}if((f|0)==(q|0)){break k}while(1){e=c;l=C[((h<<3)+n|0)+4>>2];c=(c|0)<0|(l|0)>(i|0);k=c?h:e;w=h+1|0;e=C[((w<<3)+n|0)+4>>2];c=c?l:i;l=(k|0)<0|(e|0)>(c|0);i=l?e:c;c=l?w:k;h=h+2|0;if((q|0)!=(w|0)){continue}break}break k}m:{if(!((q-f|0)+1&1)){h=f;c=d;break m}c=C[((f<<3)+n|0)+4>>2];e=(d|0)<0|(c|0)<(i|0);i=e?c:i;h=f+1|0;c=e?f:d}if((f|0)==(q|0)){break k}while(1){e=c;l=C[((h<<3)+n|0)+4>>2];c=(c|0)<0|(l|0)<(i|0);k=c?h:e;w=h+1|0;e=C[((w<<3)+n|0)+4>>2];c=c?l:i;l=(k|0)<0|(e|0)<(c|0);i=l?e:c;c=l?w:k;h=h+2|0;if((q|0)!=(w|0)){continue}break}}d=(c|0)==(d|0);u=d?u:f;v=d?v:q;d=c}f=q+1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}if((c|0)<0){break i}K=C[(c<<3)+n>>2];j=c;z=C[y+116>>2];h=(D[z+c|0]&3)!=1?-1:c;t=h;n:{while(1){d=(j|0)>(u|0)?j-1|0:v;k=(d<<3)+n|0;e=C[k+4>>2]-i|0;f=e>>31;f=(e^f)-f|0;if(f>>>0>=6){e=C[k>>2]-K|0;k=e>>31;if((e^k)-k>>>0<=I(f,20)>>>0){break n}}e=(D[d+z|0]&3)==1;t=e?(t|0)<0?d:t:t;h=e?d:h;j=d;if((d|0)!=(c|0)){continue}break}j=c}d=c;o:{while(1){e=(d|0)<(v|0)?d+1|0:u;L=(e<<3)+n|0;f=C[L+4>>2]-i|0;k=f>>31;k=(f^k)-k|0;if(k>>>0>=6){f=C[L>>2]-K|0;l=f>>31;if((f^l)-l>>>0<=I(k,20)>>>0){break o}}d=(D[e+z|0]&3)==1;h=d?(h|0)<0?e:h:h;t=d?e:t;d=e;if((d|0)!=(c|0)){continue}break}d=c}O=E[H+4>>1];p:{q:{if(!(O&8)){break q}e=C[(d<<3)+n>>2]-C[(j<<3)+n>>2]|0;k=e>>31;f=C[a+40>>2];q=(f>>>0)/25|0;if(q>>>0<=(e^k)-k>>>0){break q}e=c;if(((d-j|0)+2|0)>(v-u|0)){break q}while(1){e=(e|0)>(u|0)?e-1|0:v;y=C[(e<<3)+n>>2];if((K|0)==(y|0)&(c|0)!=(e|0)){continue}break}if((c|0)==(e|0)){break h}w=f>>>2|0;M=0;k=d;c=d;e=0;f=0;while(1){if(!M){k=c;e=(D[c+z|0]&3)!=1?-1:c;f=e}c=(c|0)<(v|0)?c+1|0:u;M=0;x=(k<<3)+n|0;l=C[x+4>>2];m=i-l|0;o=m>>31;r:{if((o^m)-o>>>0>w>>>0){break r}G=(c<<3)+n|0;m=C[G+4>>2]-l|0;o=m>>31;N=(o^m)-o|0;s:{if(N>>>0<=5){G=C[G>>2];x=C[x>>2];m=G-x|0;o=m>>31;o=(o^m)-o|0;break s}G=C[G>>2];x=C[x>>2];m=G-x|0;o=m>>31;o=(o^m)-o|0;if(o>>>0<=I(N,20)>>>0){break r}}M=1;m=(D[c+z|0]&3)==1;e=m?(e|0)<0?c:e:e;f=m?c:f;if((x|0)<(G|0)^(y|0)<(K|0)|(o|0)<(q|0)){break r}h=I(N,20);while(1){c=(c|0)<(v|0)?c+1|0:u;d=C[((c<<3)+n|0)+4>>2]-l|0;i=d>>31;t:{if((d^i)-i>>>0<6){break t}d=C[L>>2]-x|0;i=d>>31;if(h>>>0<(d^i)-i>>>0){break t}d=(c|0)>(u|0)?c-1|0:v;break p}e=(D[c+z|0]&3)==1?(e|0)<0?c:e:e;f=c;if((c|0)!=(j|0)){continue}break}d=j;f=d;break p}if((c|0)!=(j|0)){continue}break}}k=j;e=h;f=t;l=i}u:{if((e|f)>=0){c=C[(f<<3)+n>>2]-C[(e<<3)+n>>2]|0;e=c>>31;if((c^e)-e>>>0>C[a+40>>2]>>>3>>>0){break u}}if((D[k+z|0]&3)==1&(D[d+z|0]&3)==1){break u}if(O&2){break h}C[(g+16|0)+(r<<2)>>2]=l;r=r+1|0;break h}i=l}C[(g+3216|0)+(s<<2)>>2]=i;s=s+1|0}c=D[J|0];if(c){continue}break}if(!(r|s)){break f}v:{if(r>>>0<2){break v}e=1;c=r-1|0;l=c&1;if((r|0)!=2){h=c&-2;j=0;while(1){i=C[(g+16|0)+(e<<2)>>2];c=e;while(1){d=c-1|0;k=(g+16|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+16|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}c=e+1|0;i=C[(g+16|0)+(c<<2)>>2];while(1){d=c-1|0;k=(g+16|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+16|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}e=e+2|0;j=j+2|0;if((h|0)!=(j|0)){continue}break}}if(!l){break v}f=C[(g+16|0)+(e<<2)>>2];while(1){c=e-1|0;j=(g+16|0)+(c<<2)|0;d=C[j>>2];if((d|0)<=(f|0)){break v}C[(g+16|0)+(e<<2)>>2]=d;C[j>>2]=f;e=c;if(c){continue}break}}w:{if(s>>>0<2){break w}e=1;c=s-1|0;l=c&1;if((s|0)!=2){h=c&-2;j=0;while(1){i=C[(g+3216|0)+(e<<2)>>2];c=e;while(1){d=c-1|0;k=(g+3216|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+3216|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}c=e+1|0;i=C[(g+3216|0)+(c<<2)>>2];while(1){d=c-1|0;k=(g+3216|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+3216|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}e=e+2|0;j=j+2|0;if((h|0)!=(j|0)){continue}break}}if(!l){break w}f=C[(g+3216|0)+(e<<2)>>2];while(1){c=e-1|0;j=(g+3216|0)+(c<<2)|0;d=C[j>>2];if((d|0)<=(f|0)){break w}C[(g+3216|0)+(e<<2)>>2]=d;C[j>>2]=f;e=c;if(c){continue}break}}c=C[a+1832>>2];C[a+1832>>2]=c+1;d=I(c,28)+a|0;f=d+1848|0;j=d+1836|0;x:{y:{if(!s){c=C[(g+16|0)+(r<<1&-4)>>2];break y}c=C[(g+3216|0)+(s<<1&-4)>>2];if(!r){break y}C[j>>2]=c;e=C[(g+16|0)+(r<<1&-4)>>2];C[f>>2]=e;if((c|0)==(e|0)){h=E[H+4>>1];break x}h=E[H+4>>1];if((h^(c|0)>=(e|0))&1){break x}c=(c+e|0)/2|0;C[f>>2]=c;C[j>>2]=c;break x}C[f>>2]=c;C[j>>2]=c;h=E[H+4>>1]}d=d+1860|0;c=h<<1&6;C[d>>2]=c;if(!(h&4)){break f}C[d>>2]=c|8}c=H+8|0;i=C[H+8>>2];if((i|0)!=759){continue}break}}c=48;h=0;while(1){z:{d=c;c=0;e=C[C[a+36>>2]>>2];A:{if(!e){break A}e=C[e+92>>2];if(!e){break A}c=Fe[C[C[e+12>>2]+12>>2]](e,d)|0}B:{if(!c){break B}if(cl(b,c,2051,g+3216|0)){break B}e=h&255;h=1;c=C[g+3216>>2];if(!e){Q=c;break B}if((c|0)==(Q|0)){break B}i=0;break z}i=1;c=d+1|0;if((c|0)!=58){continue}}break}A[a+32|0]=i}oj(b,P);Ce=g+10096|0;return 0}function rs(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=J(0),E=J(0),F=0,H=J(0),K=0,L=J(0),M=J(0),N=J(0),O=J(0),P=0,Q=J(0);z=I(a,c);B=a-1>>1;v=b+1>>1;K=+J(J(6.2831854820251465)/J(b|0));P=oi(K);K=ph(K);a:{if((a|0)==1){break a}b:{if((d|0)<=0){break b}if(d>>>0>=4){m=d&-4;while(1){l=k<<2;G[l+i>>2]=G[g+l>>2];n=l|4;G[n+i>>2]=G[g+n>>2];n=l|8;G[n+i>>2]=G[g+n>>2];l=l|12;G[l+i>>2]=G[g+l>>2];k=k+4|0;q=q+4|0;if((m|0)!=(q|0)){continue}break}}l=d&3;if(!l){break b}while(1){m=k<<2;G[m+i>>2]=G[g+m>>2];k=k+1|0;o=o+1|0;if((l|0)!=(o|0)){continue}break}}c:{if((b|0)<2){break c}t=c&-4;n=c&3;m=0;r=c-1>>>0<3;q=1;while(1){m=m+z|0;d:{if((c|0)<=0){break d}l=0;k=m;if(!r){while(1){p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;l=l+4|0;if((t|0)!=(l|0)){continue}break}}l=0;if(!n){break d}while(1){p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}q=q+1|0;if((q|0)!=(b|0)){continue}break}w=0-a|0;if((c|0)>=(B|0)){if((b|0)<2){break c}x=(a|0)<3;y=1;while(1){s=s+z|0;w=a+w|0;if(!x){k=w-1|0;p=2;n=s;while(1){n=n+2|0;l=k+2|0;if((c|0)>0){m=(l<<2)+j|0;q=(k<<2)+j|0;t=0;k=n;while(1){r=k<<2;u=r-4|0;o=u+f|0;A=h+u|0;u=f+r|0;G[A>>2]=J(G[q+4>>2]*G[o>>2])+J(G[m>>2]*G[u>>2]);G[h+r>>2]=J(G[q+4>>2]*G[u>>2])-J(G[o>>2]*G[m>>2]);k=a+k|0;t=t+1|0;if((t|0)!=(c|0)){continue}break}}k=l;p=p+2|0;if((p|0)<(a|0)){continue}break}}y=y+1|0;if((y|0)!=(b|0)){continue}break}break c}if((b|0)<2){break c}q=(a|0)<3;n=1;while(1){w=a+w|0;x=x+z|0;if((c|0)>0){m=w-1|0;r=x-a|0;p=0;while(1){o=2;k=m;r=a+r|0;l=r;if(!q){while(1){s=(l<<2)+4|0;t=s+f|0;A=h+s|0;s=(k<<2)+j|0;k=k+2|0;y=(k<<2)+j|0;l=l+2|0;u=l<<2;C=u+f|0;G[A>>2]=J(G[s+4>>2]*G[t>>2])+J(G[y>>2]*G[C>>2]);G[h+u>>2]=J(G[s+4>>2]*G[C>>2])-J(G[t>>2]*G[y>>2]);o=o+2|0;if((o|0)<(a|0)){continue}break}}p=p+1|0;if((p|0)!=(c|0)){continue}break}}n=n+1|0;if((n|0)!=(b|0)){continue}break}}w=I(b,z);if((c|0)<=(B|0)){if((b|0)<3){break a}t=(v|0)<=2?2:v;x=0;q=(a|0)<3;n=1;while(1){s=0;x=x+z|0;r=x;w=w-z|0;p=w;if((c|0)>0){while(1){j=2;k=p;l=r;if(!q){while(1){o=(l<<2)+4|0;m=o+h|0;A=f+o|0;o=(k<<2)+4|0;y=o+h|0;G[A>>2]=G[m>>2]+G[y>>2];A=f+o|0;l=l+2|0;o=l<<2;u=o+h|0;k=k+2|0;C=k<<2;F=C+h|0;G[A>>2]=G[u>>2]-G[F>>2];G[f+o>>2]=G[u>>2]+G[F>>2];G[f+C>>2]=G[y>>2]-G[m>>2];j=j+2|0;if((j|0)<(a|0)){continue}break}}p=a+p|0;r=a+r|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}n=n+1|0;if((t|0)!=(n|0)){continue}break}break a}if((b|0)<3){break a}n=(v|0)<=2?2:v;y=0;t=(a|0)<3;x=1;while(1){s=2;y=z+y|0;r=y;w=w-z|0;p=w;if(!t){while(1){p=p+2|0;r=r+2|0;if((c|0)>0){j=r-a|0;o=p-a|0;q=0;while(1){j=a+j|0;k=j<<2;m=k-4|0;l=m+h|0;A=f+m|0;o=a+o|0;m=o<<2;u=m-4|0;C=u+h|0;G[A>>2]=G[l>>2]+G[C>>2];A=f+u|0;u=h+k|0;F=h+m|0;G[A>>2]=G[u>>2]-G[F>>2];G[f+k>>2]=G[u>>2]+G[F>>2];G[f+m>>2]=G[C>>2]-G[l>>2];q=q+1|0;if((q|0)!=(c|0)){continue}break}}s=s+2|0;if((s|0)<(a|0)){continue}break}}x=x+1|0;if((n|0)!=(x|0)){continue}break}}e:{if((d|0)<=0){break e}j=0;k=0;if(d>>>0>=4){m=d&-4;o=0;while(1){l=k<<2;G[l+g>>2]=G[i+l>>2];n=l|4;G[n+g>>2]=G[i+n>>2];n=l|8;G[n+g>>2]=G[i+n>>2];l=l|12;G[l+g>>2]=G[i+l>>2];k=k+4|0;o=o+4|0;if((m|0)!=(o|0)){continue}break}}l=d&3;if(!l){break e}while(1){m=k<<2;G[m+g>>2]=G[i+m>>2];k=k+1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}}f:{if((b|0)<3){break f}p=(v|0)<=2?2:v;m=0;r=1;n=I(b,d);q=n;while(1){q=q-z|0;m=m+z|0;if((c|0)>0){k=m-a|0;l=q-a|0;j=0;while(1){k=a+k|0;s=k<<2;t=s+h|0;w=f+s|0;l=a+l|0;s=l<<2;o=s+h|0;G[w>>2]=G[t>>2]+G[o>>2];G[f+s>>2]=G[o>>2]-G[t>>2];j=j+1|0;if((j|0)!=(c|0)){continue}break}}r=r+1|0;if((p|0)!=(r|0)){continue}break}if((b|0)<3){break f}M=J(P);N=J(K);p=I(b-1|0,d);x=(v|0)<=2?2:v;w=(v|0)<=3?3:v;D=J(1);y=b>>>0<5;s=1;r=0;while(1){H=J(J(N*E)+J(D*M));D=J(J(N*D)-J(M*E));f=0;r=d+r|0;k=r;j=p;l=d;n=n-l|0;o=n;if((l|0)>0){while(1){G[(k<<2)+i>>2]=J(D*G[(l<<2)+g>>2])+G[(f<<2)+g>>2];G[(o<<2)+i>>2]=H*G[(j<<2)+g>>2];o=o+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}}if(!y){Q=J(-H);t=2;E=D;L=H;m=d;q=p;while(1){O=J(J(D*L)+J(H*E));E=J(J(D*E)+J(L*Q));o=0;q=q-d|0;f=q;m=d+m|0;k=m;l=n;j=r;if((d|0)>0){while(1){u=(j<<2)+i|0;G[u>>2]=J(E*G[(k<<2)+g>>2])+G[u>>2];u=(l<<2)+i|0;G[u>>2]=J(O*G[(f<<2)+g>>2])+G[u>>2];l=l+1|0;f=f+1|0;j=j+1|0;k=k+1|0;o=o+1|0;if((o|0)!=(d|0)){continue}break}}L=O;t=t+1|0;if((w|0)!=(t|0)){continue}break}}E=H;s=s+1|0;if((x|0)!=(s|0)){continue}break}if((b|0)<3){break f}j=(v|0)<=2?2:v;n=d&-2;t=d&1;m=0;q=1;while(1){m=d+m|0;g:{if((d|0)<=0){break g}f=0;k=m;l=0;if((d|0)!=1){while(1){r=f<<2;p=r+i|0;s=(k<<2)+g|0;G[p>>2]=G[s>>2]+G[p>>2];r=(r|4)+i|0;G[r>>2]=G[s+4>>2]+G[r>>2];f=f+2|0;k=k+2|0;l=l+2|0;if((n|0)!=(l|0)){continue}break}}if(!t){break g}f=(f<<2)+i|0;G[f>>2]=G[(k<<2)+g>>2]+G[f>>2]}q=q+1|0;if((j|0)!=(q|0)){continue}break}}o=I(a,b);h:{if((a|0)>=(c|0)){if((c|0)<=0){break h}q=a&-4;n=a&3;m=0;r=(a|0)<=0;p=a>>>0<4;d=0;t=0;while(1){i:{if(r){break i}g=0;f=d;k=t;if(!p){while(1){i=(k<<2)+e|0;j=(f<<2)+h|0;G[i>>2]=G[j>>2];G[i+4>>2]=G[j+4>>2];G[i+8>>2]=G[j+8>>2];G[i+12>>2]=G[j+12>>2];k=k+4|0;f=f+4|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}}l=0;if(!n){break i}while(1){G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+1|0;f=f+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}t=o+t|0;d=a+d|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}break h}if((a|0)<=0){break h}g=c&-4;d=c&3;i=0;j=(c|0)<=0;m=c-1>>>0<3;while(1){j:{if(j){break j}l=0;f=i;k=f;if(!m){while(1){G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;l=l+4|0;if((g|0)!=(l|0)){continue}break}}l=0;if(!d){break j}while(1){G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;l=l+1|0;if((d|0)!=(l|0)){continue}break}}i=i+1|0;if((i|0)!=(a|0)){continue}break}}p=I(b,z);g=a<<1;if((b|0)>=3){i=(v|0)<=2?2:v;n=c&-2;r=c&1;q=0;m=1;d=0;t=p;while(1){t=t-z|0;d=d+z|0;q=g+q|0;k:{if((c|0)<=0){break k}j=0;f=t;k=d;l=q;if((c|0)!=1){while(1){s=(l<<2)+e|0;G[s-4>>2]=G[(k<<2)+h>>2];G[s>>2]=G[(f<<2)+h>>2];l=l+o|0;s=(l<<2)+e|0;k=a+k|0;G[s-4>>2]=G[(k<<2)+h>>2];f=a+f|0;G[s>>2]=G[(f<<2)+h>>2];f=a+f|0;k=a+k|0;l=l+o|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!r){break k}j=(l<<2)+e|0;G[j-4>>2]=G[(k<<2)+h>>2];G[j>>2]=G[(f<<2)+h>>2]}m=m+1|0;if((i|0)!=(m|0)){continue}break}}l:{if((a|0)==1){break l}if((c|0)<=(B|0)){if((b|0)<3){break l}k=(v|0)<=2?2:v;s=0;y=0-a|0;l=(a|0)<3;b=1;x=0;while(1){n=0;p=p-z|0;d=p;x=x+z|0;t=x;s=g+s|0;m=s;y=g+y|0;q=y;if((c|0)>0){while(1){f=2;if(!l){while(1){r=(f+m<<2)+e|0;i=(f+t<<2)+h|0;v=i-4|0;j=(d+f<<2)+h|0;w=j-4|0;G[r-4>>2]=G[v>>2]+G[w>>2];B=((a-f|0)+q<<2)+e|0;G[B-4>>2]=G[v>>2]-G[w>>2];G[r>>2]=G[i>>2]+G[j>>2];G[B>>2]=G[j>>2]-G[i>>2];f=f+2|0;if((f|0)<(a|0)){continue}break}}d=a+d|0;t=a+t|0;m=m+o|0;q=o+q|0;n=n+1|0;if((n|0)!=(c|0)){continue}break}}b=b+1|0;if((k|0)!=(b|0)){continue}break}break l}if((b|0)<3){break l}m=(v|0)<=2?2:v;r=0;b=0-a|0;t=(a|0)<3;x=1;s=0;while(1){p=p-z|0;s=s+z|0;r=g+r|0;b=b+g|0;if(!t){v=a+b|0;n=2;while(1){if((c|0)>0){f=v-n|0;k=n+r|0;l=n+s|0;j=n+p|0;q=0;while(1){w=(k<<2)+e|0;d=(l<<2)+h|0;y=d-4|0;i=(j<<2)+h|0;B=i-4|0;G[w-4>>2]=G[y>>2]+G[B>>2];u=(f<<2)+e|0;G[u-4>>2]=G[y>>2]-G[B>>2];G[w>>2]=G[d>>2]+G[i>>2];G[u>>2]=G[i>>2]-G[d>>2];j=a+j|0;l=a+l|0;k=k+o|0;f=f+o|0;q=q+1|0;if((q|0)!=(c|0)){continue}break}}n=n+2|0;if((n|0)<(a|0)){continue}break}}x=x+1|0;if((m|0)!=(x|0)){continue}break}}}function Ct(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;k=Ce-336|0;Ce=k;n=h;p=i&65535;o=d;m=e&65535;u=(e^i)&-2147483648;s=i>>>16&32767;q=e>>>16&32767;a:{b:{if(s-32767>>>0>4294934529&q-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){r=d;u=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){r=h;u=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;u=2147450880;break a}u=u|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));r=b?0:r;u=b?2147450880:u;b=0;c=0;break a}if(!(f|h|(e|g))){u=u|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){d=!(m|o);i=d;j=d?b:o;d=d<<6;i=L(i?c:m);d=d+((i|0)==32?L(j)+32|0:i)|0;Fg(k+320|0,b,c,o,m,d-15|0);v=16-d|0;o=C[k+328>>2];m=C[k+332>>2];c=C[k+324>>2];b=C[k+320>>2]}if(e>>>0>65535){break b}d=!(n|p);h=d;i=d?f:n;d=d<<6;h=L(h?g:p);d=d+((h|0)==32?L(i)+32|0:h)|0;Fg(k+304|0,f,g,n,p,d-15|0);v=(d+v|0)-16|0;n=C[k+312>>2];p=C[k+316>>2];f=C[k+304>>2];g=C[k+308>>2]}e=p|65536;A=e;B=n;d=n;j=e<<15|d>>>17;e=d<<15|g>>>17;d=e;i=0-d|0;h=j;j=1963258675-(j+((d|0)!=0)|0)|0;Ag(k+288|0,d,h,0,0,i,j,0,0);d=C[k+296>>2];Ag(k+272|0,0-d|0,0-(C[k+300>>2]+((d|0)!=0)|0)|0,0,0,i,j,0,0);d=C[k+280>>2];i=d<<1|C[k+276>>2]>>>31;d=C[k+284>>2]<<1|d>>>31;Ag(k+256|0,i,d,0,0,e,h,0,0);j=C[k+264>>2];Ag(k+240|0,i,d,0,0,0-j|0,0-(C[k+268>>2]+((j|0)!=0)|0)|0,0,0);i=C[k+248>>2];j=i<<1|C[k+244>>2]>>>31;d=C[k+252>>2]<<1|i>>>31;Ag(k+224|0,j,d,0,0,e,h,0,0);i=C[k+232>>2];Ag(k+208|0,j,d,0,0,0-i|0,0-(C[k+236>>2]+((i|0)!=0)|0)|0,0,0);d=C[k+216>>2];i=d<<1|C[k+212>>2]>>>31;d=C[k+220>>2]<<1|d>>>31;Ag(k+192|0,i,d,0,0,e,h,0,0);j=C[k+200>>2];Ag(k+176|0,i,d,0,0,0-j|0,0-(C[k+204>>2]+((j|0)!=0)|0)|0,0,0);i=e;e=C[k+184>>2];d=h;n=e<<1|C[k+180>>2]>>>31;h=n-1|0;e=(C[k+188>>2]<<1|e>>>31)-!n|0;Ag(k+160|0,i,d,0,0,h,e,0,0);d=h;Ag(k+144|0,f<<15,g<<15|f>>>17,0,0,d,e,0,0);t=k+112|0;y=C[k+168>>2];h=C[k+172>>2];n=C[k+160>>2];i=C[k+152>>2];l=n+i|0;p=C[k+164>>2];j=p+C[k+156>>2]|0;j=i>>>0>l>>>0?j+1|0:j;i=j;j=(p|0)==(j|0)&l>>>0>>0|j>>>0

>>0;p=j+y|0;j=j>>>0>p>>>0?h+1|0:h;n=!i&l>>>0>1|(i|0)!=0;h=n+p|0;j=n>>>0>h>>>0?j+1|0:j;Ag(t,d,e,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);Ag(k+128|0,1-l|0,0-((l>>>0>1)+i|0)|0,0,0,d,e,0,0);J=(q-s|0)+v|0;e=C[k+116>>2];t=e;d=C[k+112>>2];j=e<<1|d>>>31;n=d<<1;q=j;d=j;h=C[k+140>>2];z=h;e=C[k+136>>2];j=h<<1|e>>>31;i=e<<1|C[k+132>>2]>>>31;h=i+n|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;e=d;d=d-(h>>>0<13927)|0;x=d;y=d;l=0;j=m|65536;K=j;M=o;d=o;j=j<<1|d>>>31;O=d<<1;P=j;E=j;d=mT(x,l,j,0);j=Ee;G=d;w=j;v=b<<1;d=c<<1|b>>>31;s=d;j=0;p=j;i=h-13927|0;x=(e|0)==(x|0)&i>>>0>>0|e>>>0>x>>>0;e=(e|0)==(q|0)&h>>>0>>0|e>>>0>>0;d=C[k+120>>2];h=C[k+124>>2]<<1|d>>>31;d=d<<1|t>>>31;j=h;l=z>>>31|0;d=l+d|0;j=d>>>0>>0?j+1|0:j;h=d;d=d+e|0;l=h>>>0>d>>>0?j+1|0:j;e=d;d=d+x|0;l=e>>>0>d>>>0?l+1|0:l;e=d-1|0;x=l-!d|0;q=0;j=mT(s,p,x,q);d=j+G|0;h=Ee+w|0;h=d>>>0>>0?h+1|0:h;t=(w|0)==(h|0)&d>>>0>>0|h>>>0>>0;j=0;z=e;N=c>>>31|0;D=N|o<<1;w=0;e=mT(e,j,D,w);o=e+d|0;j=Ee+h|0;l=0;j=e>>>0>o>>>0?j+1|0:j;n=j;d=(j|0)==(h|0)&d>>>0>o>>>0|h>>>0>j>>>0;e=d;d=d+t|0;l=e>>>0>d>>>0?1:l;e=mT(E,p,x,q);d=e+d|0;j=Ee+l|0;t=d;d=d>>>0>>0?j+1|0:j;e=mT(E,p,z,w);m=Ee;h=e;e=mT(D,w,x,q);l=h+e|0;j=Ee+m|0;j=e>>>0>l>>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&h>>>0>l>>>0|j>>>0>>0;m=t+e|0;d=d+j|0;d=m>>>0>>0?d+1|0:d;t=m;m=d;e=0;d=e+o|0;j=l+n|0;j=d>>>0>>0?j+1|0:j;e=j;h=(j|0)==(n|0)&d>>>0>>0|j>>>0>>0;j=m;l=h;h=h+t|0;j=l>>>0>h>>>0?j+1|0:j;H=h;l=j;t=d;m=d;o=e;G=i;d=mT(i,0,D,w);h=Ee;e=d;i=mT(y,r,s,r);d=d+i|0;j=Ee+h|0;j=d>>>0>>0?j+1|0:j;i=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=j;I=v&-2;e=mT(z,w,I,0);n=e+d|0;j=Ee+j|0;j=e>>>0>n>>>0?j+1|0:j;e=j;d=(j|0)==(h|0)&d>>>0>n>>>0|h>>>0>j>>>0;h=0;i=d+i|0;d=(i>>>0>>0?1:h)+o|0;j=l;m=i+m|0;d=m>>>0>>0?d+1|0:d;i=d;d=(d|0)==(o|0)&m>>>0>>0|d>>>0>>0;h=d;d=d+H|0;j=h>>>0>d>>>0?j+1|0:j;Q=d;t=j;d=mT(E,p,G,r);H=Ee;E=d;h=mT(x,q,I,r);d=d+h|0;j=Ee+H|0;o=d;p=mT(y,r,D,w);l=d+p|0;h=d>>>0>>0?j+1|0:j;d=h+Ee|0;d=l>>>0

>>0?d+1|0:d;q=l;j=mT(s,r,z,w);p=l+j|0;l=Ee+d|0;l=j>>>0>p>>>0?l+1|0:l;z=0;D=(d|0)==(l|0)&p>>>0>>0|d>>>0>l>>>0;j=(h|0)==(H|0)&o>>>0>>0|h>>>0>>0;d=(d|0)==(h|0)&o>>>0>q>>>0|d>>>0>>0;d=d+j|0;d=d+D|0;h=l;q=h+m|0;j=(d|z)+i|0;j=h>>>0>q>>>0?j+1|0:j;o=j;d=(i|0)==(j|0)&m>>>0>q>>>0|i>>>0>j>>>0;j=t;h=d;d=d+Q|0;j=h>>>0>d>>>0?j+1|0:j;z=d;i=j;d=mT(y,r,I,r);y=Ee;m=d;h=mT(s,r,G,r);d=d+h|0;j=Ee+y|0;j=d>>>0>>0?j+1|0:j;t=0;h=(j|0)==(y|0)&d>>>0>>0|j>>>0>>0;m=j;d=j+n|0;j=(h|t)+e|0;j=d>>>0>>0?j+1|0:j;h=j;m=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;j=p;p=0;n=p+d|0;l=h+j|0;j=0;l=n>>>0

>>0?l+1|0:l;d=(h|0)==(l|0)&d>>>0>n>>>0|h>>>0>l>>>0;e=d;d=d+m|0;j=(e>>>0>d>>>0?1:j)+o|0;l=i;e=d;d=d+q|0;j=e>>>0>d>>>0?j+1|0:j;e=j;h=(o|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=h;h=h+z|0;l=i>>>0>h>>>0?l+1|0:l;i=l;c:{if((l|0)==131071|l>>>0<131071){M=O|N;K=w|P;Ag(k+80|0,d,e,h,i,f,g,B,A);l=C[k+84>>2];p=l;j=b<<17;n=0;m=C[k+88>>2];c=n-m|0;b=C[k+80>>2];l=(l|b)!=0;o=c-l|0;m=(j-(C[k+92>>2]+(m>>>0>n>>>0)|0)|0)-(c>>>0>>0)|0;n=0-b|0;p=0-(((b|0)!=0)+p|0)|0;b=J+16382|0;break c}d=(e&1)<<31|d>>>1;e=h<<31|e>>>1;h=(i&1)<<31|h>>>1;i=i>>>1|0;Ag(k+96|0,d,e,h,i,f,g,B,A);o=C[k+100>>2];s=o;v=C[k+104>>2];n=0-v|0;l=C[k+96>>2];m=(o|l)!=0;o=n-m|0;m=((b<<16)-(C[k+108>>2]+(p>>>0>>0)|0)|0)-(m>>>0>n>>>0)|0;n=0-l|0;p=0-(((l|0)!=0)+s|0)|0;v=b;s=c;b=J+16383|0}if((b|0)>=32767){u=u|2147418112;b=0;c=0;break a}d:{if((b|0)>0){l=m<<1|o>>>31;o=o<<1|p>>>31;m=l;v=h;s=i&65535|b<<16;l=p<<1|n>>>31;i=n<<1;break d}if((b|0)<=-113){b=0;c=0;break a}hj(k- -64|0,d,e,h,i,1-b|0);Fg(k+48|0,v,s,M,K,b+112|0);d=C[k+64>>2];e=C[k+68>>2];v=C[k+72>>2];s=C[k+76>>2];Ag(k+32|0,f,g,B,A,d,e,v,s);b=C[k+40>>2];c=C[k+56>>2];l=C[k+36>>2];o=b<<1|l>>>31;n=c-o|0;m=C[k+60>>2]-((C[k+44>>2]<<1|b>>>31)+(c>>>0>>0)|0)|0;b=C[k+32>>2];h=l<<1|b>>>31;j=b<<1;i=C[k+52>>2];c=C[k+48>>2];b=(h|0)==(i|0)&j>>>0>c>>>0|h>>>0>i>>>0;o=n-b|0;m=m-(b>>>0>n>>>0)|0;l=i-((c>>>0>>0)+h|0)|0;i=c-j|0}b=i;Ag(k+16|0,f,g,B,A,3,0,0,0);Ag(k,f,g,B,A,5,0,0,0);c=0;h=l+c|0;j=d&1;b=b+j|0;h=i>>>0>b>>>0?h+1|0:h;i=b;g=(g|0)==(h|0)&b>>>0>f>>>0|g>>>0>>0;l=m;b=(c|0)==(h|0)&b>>>0>>0|c>>>0>h>>>0;f=b+o|0;l=b>>>0>f>>>0?l+1|0:l;j=e;b=(l|0)==(A|0);b=b&(f|0)==(B|0)?g:b&f>>>0>B>>>0|l>>>0>A>>>0;c=b;b=b+d|0;j=c>>>0>b>>>0?j+1|0:j;c=j;d=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;j=s;e=d;d=d+v|0;j=e>>>0>d>>>0?j+1|0:j;g=d;e=C[k+20>>2];m=(e|0)==(h|0)&F[k+16>>2]>>0|e>>>0>>0;e=C[k+28>>2];d=C[k+24>>2];e=j>>>0<2147418112&((d|0)==(f|0)&(e|0)==(l|0)?m:(e|0)==(l|0)&d>>>0>>0|e>>>0>>0);d=c;m=e;e=b+e|0;d=m>>>0>e>>>0?d+1|0:d;b=(c|0)==(d|0)&b>>>0>e>>>0|c>>>0>d>>>0;c=b;b=b+g|0;j=c>>>0>b>>>0?j+1|0:j;g=b;c=C[k+4>>2];h=(c|0)==(h|0)&F[k>>2]>>0|c>>>0>>0;c=C[k+12>>2];b=C[k+8>>2];b=j>>>0<2147418112&((b|0)==(f|0)&(c|0)==(l|0)?h:(c|0)==(l|0)&b>>>0>>0|c>>>0>>0);c=b;b=b+e|0;l=c>>>0>b>>>0?d+1|0:d;c=l;e=(d|0)==(l|0)&b>>>0>>0|d>>>0>l>>>0;d=j;f=e;e=e+g|0;d=f>>>0>e>>>0?d+1|0:d;r=e|r;u=d|u}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=r;C[a+12>>2]=u;Ce=k+336|0}function Rn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ce-1472|0;Ce=e;a:{b:{if((a|0)>=0){if((Fe[C[95341]]()|0)>(a|0)){break b}}k=e,l=Fe[C[95341]]()|0,C[k>>2]=l;Qe(18003,e);break a}b=Ce-16|0;Ce=b;c:{d:{if((a|0)>=0){d=Fe[C[95341]]()|0;if((d|0)>(a|0)){break d}}C[b>>2]=d;Qe(18003,b);i=0;break c}i=Fe[C[95343]](a)|0}Ce=b+16|0;d=0;b=Ce-16|0;Ce=b;f=e+272|0;e:{f:{if((a|0)<0){break f}d=Fe[C[95341]]()|0;if((d|0)<=(a|0)){break f}Fe[C[95347]](f,a);break e}C[b>>2]=d;Qe(18003,b);lf(f,0,16)}Ce=b+16|0;b=D[e+284|0]|D[e+285|0]<<8|(D[e+286|0]<<16|D[e+287|0]<<24);C[e+56>>2]=D[e+280|0]|D[e+281|0]<<8|(D[e+282|0]<<16|D[e+283|0]<<24);C[e+60>>2]=b;b=D[e+276|0]|D[e+277|0]<<8|(D[e+278|0]<<16|D[e+279|0]<<24);C[e+48>>2]=D[e+272|0]|D[e+273|0]<<8|(D[e+274|0]<<16|D[e+275|0]<<24);C[e+52>>2]=b;b=e+48|0;f=0;c=Ce-1216|0;Ce=c;d=C[104754];g:{if(d){while(1){if(!qg(b,d,16)){f=d;break g}d=C[d+28>>2];if(d){continue}break}}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+144>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+148>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+136>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+140>>2]=d;h:{i:{j:{if(D[c+150|0]==104){d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+168>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+172>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+160>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+164>>2]=d;pf(c+176|0,32166,1024);b=C[c+172>>2];C[c+128>>2]=C[c+168>>2];C[c+132>>2]=b;b=C[c+164>>2];C[c+120>>2]=C[c+160>>2];C[c+124>>2]=b;b=c+158|0;d=c+156|0;k:{if(!(E[c+130>>1]|(E[c+122>>1]|E[c+126>>1]))){if(b){B[b>>1]=E[c+124>>1]}if(d){B[d>>1]=E[c+128>>1]}break k}if(b){B[b>>1]=0}if(d){B[d>>1]=0}}d=31532;b=E[c+158>>1];f=E[c+156>>1];if((b|0)==1406&(f|0)==823|(b|0)==121&(f|0)==6214){break i}l:{if((b|0)!=1406){break l}d=30393;m:{switch(D[c+175|0]){case 11:d=31687;break i;case 12:d=31089;break i;case 13:d=30973;break i;case 9:case 10:break i;case 0:case 3:break l;default:break m}}d=32062;break i}Ci(c+176|0,31842);f=1;d=E[c+158>>1];b=E[c+156>>1];n:{if((d|0)==1118&(b&65534)==2834){break n}o:{if((d|0)!=8406){if((d|0)!=3695){break o}h=b-726|0;if(h>>>0>4|!(1<>>0<26|(b-16385&65535)>>>0<2){break n}}f=(d|0)==11720&(b|0)==8194}if(f){d=31274;break i}d=30344;b=E[c+156>>1];p:{q:{if(E[c+158>>1]!=1118){break q}f=1;r:{switch(b-2816|0){case 0:case 5:break p;case 1:case 2:case 3:case 4:break q;default:break r}}if((b|0)==739){break p}}f=0}if(f){break i}d=30948;if((gr(E[c+158>>1],E[c+156>>1])&-2)==2){break i}if(E[c+158>>1]==1406&E[c+156>>1]==8200){d=31274;break i}b=C[c+172>>2];C[c+112>>2]=C[c+168>>2];C[c+116>>2]=b;b=C[c+164>>2];C[c+104>>2]=C[c+160>>2];C[c+108>>2]=b;d=0;b=D[c+114|0]|D[c+115|0]<<8|(D[c+106|0]|D[c+107|0]<<8|(D[c+110|0]|D[c+111|0]<<8));f=(b?0:D[c+108|0]|D[c+109|0]<<8)&65535;b=(b?0:D[c+112|0]|D[c+113|0]<<8)&65535;s:{t:{if(!(f|b)|(f|0)==1&(b|0)==1){break t}d=2;if((f|0)==1118&(b|0)==766){break t}if(!((f|0)!=6473&(f|0)!=369)){d=8;if((b|0)==1049){break t}}if((f|0)==6353){d=9;if((b|0)==37888){break t}}d=11;h=(f|0)!=1406;if(!h&(b|0)==8198){break t}g=12;if(!((b|0)!=8199|h)){break s}d=(f|0)!=1406;g=12;if(!(d|(b|0)!=8206)){break s}if(!d){d=13;if((b|0)==8200){break t}}if((f|0)==2389){d=10;if((b|0)==29204){break t}}d=0;u:{switch(gr(f,b)-31|0){case 0:g=1;break s;case 1:g=2;break s;case 2:g=3;break s;case 3:g=4;break s;case 14:g=7;break s;case 15:g=4;break s;case 7:case 11:g=5;break s;case 13:break u;default:break t}}d=5}g=d}b=g;v:{if(b){d=b;break v}d=2;w:{switch(D[c+118|0]-118|0){default:d=b;break v;case 0:d=6;break;case 2:break w}}}b=d-4|0;if(b>>>0>=7|!(123>>>b&1)){break j}d=C[(b<<2)+124968>>2];break i}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+80>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+84>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+72>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+76>>2]=d;if(D[c+86|0]==114){d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+168>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+172>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+160>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+164>>2]=d;b=c+176|0;pf(b,32166,1024);Ci(b,30710);f=C[c+172>>2];d=c- -64|0;C[d>>2]=C[c+168>>2];C[d+4>>2]=f;d=C[c+164>>2];C[c+56>>2]=C[c+160>>2];C[c+60>>2]=d;f=Bk(c+56|0,b,c+1212|0,0);break g}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+48>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+52>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+40>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+44>>2]=d;if(D[c+54|0]==119){d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+168>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+172>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+160>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+164>>2]=d;if(D[c+175|0]!=1){break g}b=c+176|0;pf(b,32166,1024);Ci(b,30498);d=C[c+172>>2];C[c+32>>2]=C[c+168>>2];C[c+36>>2]=d;d=C[c+164>>2];C[c+24>>2]=C[c+160>>2];C[c+28>>2]=d;f=Bk(c+24|0,b,c+1212|0,0);break g}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+16>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+20>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+8>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+12>>2]=d;break g}d=31274;if(E[c+158>>1]|E[c+156>>1]){break h}}Ci(c+176|0,d)}b=C[c+172>>2];C[c+96>>2]=C[c+168>>2];C[c+100>>2]=b;b=C[c+164>>2];C[c+88>>2]=C[c+160>>2];C[c+92>>2]=b;f=Bk(c+88|0,c+176|0,c+1212|0,0)}Ce=c+1216|0;d=f?f:C[104762];if(d){break a}f=e- -64|0;lf(f,0,208);d=0;b=Ce-16|0;Ce=b;x:{y:{if((a|0)>=0){d=Fe[C[95341]]()|0;if((d|0)>(a|0)){break y}}C[b>>2]=d;Qe(18003,b);a=0;break x}a=Fe[C[95359]](a,f)|0}Ce=b+16|0;z:{if(!a){break z}a=D[e+284|0]|D[e+285|0]<<8|(D[e+286|0]<<16|D[e+287|0]<<24);C[e+296>>2]=D[e+280|0]|D[e+281|0]<<8|(D[e+282|0]<<16|D[e+283|0]<<24);C[e+300>>2]=a;a=D[e+276|0]|D[e+277|0]<<8|(D[e+278|0]<<16|D[e+279|0]<<24);C[e+288>>2]=D[e+272|0]|D[e+273|0]<<8|(D[e+274|0]<<16|D[e+275|0]<<24);C[e+292>>2]=a;a=e+1328|0;pf(a,i,128);while(1){b=D[a|0];A:{if((b|0)!=44){if(b){break A}C[e+32>>2]=e+1328;a=e+304|0;rf(a,1024,30335,e+32|0);fg(a,22170,e- -64|0);fg(a,21845,e+72|0);fg(a,1771,e+80|0);fg(a,1601,e+88|0);fg(a,14500,e+96|0);fg(a,18768,e+104|0);fg(a,3686,e+112|0);fg(a,14182,e+120|0);fg(a,14171,e+128|0);fg(a,11057,e+136|0);fg(a,11043,e+144|0);fg(a,11259,e+152|0);fg(a,11823,e+160|0);fg(a,4434,e+168|0);fg(a,4323,e+176|0);fg(a,29678,e+184|0);fg(a,29670,e+192|0);fg(a,29520,e+200|0);fg(a,29483,e+208|0);fg(a,29239,e+216|0);fg(a,1621,e+224|0);fg(a,1049,e+232|0);fg(a,1614,e+240|0);fg(a,1042,e+248|0);fg(a,10820,e+256|0);fg(a,10807,e+264|0);a=af(a);B:{if((a|0)<=0){break B}a=a+e|0;if(D[a+303|0]!=44){break B}A[a+303|0]=0}a=C[e+300>>2];C[e+24>>2]=C[e+296>>2];C[e+28>>2]=a;a=C[e+292>>2];C[e+16>>2]=C[e+288>>2];C[e+20>>2]=a;j=Bk(e+16|0,e+304|0,e+1468|0,0);break z}A[a|0]=32}a=a+1|0;continue}}d=j}Ce=e+1472|0;return d}function OR(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,k=0,l=0,m=0,n=0;i=C[c+92>>2];k=39;g=1;a=0;m=C[c+80>>2];b=!m;while(1){a:{b:{c:{if(!b){a=D[k+189920|0]==10?h:a;d=k<<1;f=B[d+188880>>1]+187520|0;b=A[k+189168|0];k=D[(I(h,20)+i|0)+18|0];j=D[d+187232|0];if(k>>>0>=j>>>0){b=k>>>0>D[d+187233|0]?b:k-j|0}b=D[b+f|0];break c}if((k|0)==39){break b}h=m;b=B[(k<<1)+189632>>1]-1|0}k=D[b+189312|0];b=A[b+189472|0];d:{if(!b){break d}e:{switch(b-1|0){case 1:e=h+1|0;break d;case 10:e=h+1|0;f:{if(e>>>0<=a>>>0){break f}f=g<<4|5;d=a;j=h-d|0;n=j+1&7;if(n){b=0;while(1){A[(I(d,20)+i|0)+15|0]=f;d=d+1|0;b=b+1|0;if((n|0)!=(b|0)){continue}break}}if(j>>>0<=6){break f}while(1){b=I(d,20)+i|0;A[b+35|0]=f;A[b+15|0]=f;A[b+55|0]=f;A[b+75|0]=f;A[b+95|0]=f;A[b+115|0]=f;A[b+135|0]=f;A[b+155|0]=f;b=d+7|0;d=d+8|0;if((b|0)!=(h|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 12:g:{if(a>>>0>=h>>>0){break g}b=g<<4;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break g}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 13:h:{if(a>>>0>=h>>>0){break h}b=g<<4|1;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break h}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 16:i:{if(a>>>0>=h>>>0){break i}b=g<<4|2;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break i}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 18:j:{if(a>>>0>=h>>>0){break j}b=g<<4|3;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break j}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 14:k:{if(a>>>0>=h>>>0){break k}b=g<<4|4;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break k}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 15:l:{if(a>>>0>=h>>>0){break l}b=g<<4|5;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break l}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 0:h=e-1|0;m:{if(a>>>0>=e>>>0){break m}f=g<<4;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 2:h=e-1|0;n:{if(a>>>0>=e>>>0){break n}f=g<<4|1;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break n}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 6:h=e-1|0;o:{if(a>>>0>=e>>>0){break o}f=g<<4|2;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 7:h=e-1|0;p:{if(a>>>0>=e>>>0){break p}f=g<<4|3;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 3:h=e-1|0;q:{if(a>>>0>=e>>>0){break q}f=g<<4|4;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break q}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 5:r:{switch(l-1|0){case 0:h=e-1|0;s:{if(a>>>0>=e>>>0){break s}f=g<<4;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break s}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=1;g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 4:h=e-1|0;t:{if(a>>>0>=e>>>0){break t}f=g<<4|4;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break t}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=5;g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 5:break r;default:break d}}h=e-1|0;u:{if(a>>>0>=e>>>0){break u}f=g<<4|5;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break u}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=6;g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 17:l=1;e=h+1|0;break d;case 4:e=h+1|0;l=5;break d;case 11:break e;default:break d}}e=h+1|0;l=6}a=D[k+190064|0]!=9?a:0;h=h+1|0;if((m|0)!=(h|0)){break a}b=1;continue}a=C[c+80>>2];v:{if(!a){break v}b=a-1|0;h=0;d=C[c+92>>2];e=D[d+15|0];while(1){w:{if((b|0)==(h|0)){h=a;break w}h=h+1|0;if((e|0)==D[(d+I(h,20)|0)+15|0]){continue}}break}if(!a){break v}k=0;g=a;while(1){b=h;if(b-k>>>0>=2){Rf(c,k,b);g=C[c+80>>2]}d=b+1|0;d=d>>>0>>0?g:d;e=d-1|0;k=C[c+92>>2];m=D[(k+I(b,20)|0)+15|0];while(1){x:{if((e|0)==(h|0)){h=d;break x}h=h+1|0;if((m|0)==D[(k+I(h,20)|0)+15|0]){continue}}break}k=b;if(b>>>0>>0){continue}break}}return}b=0;continue}}function Fv(a,b,c,d,e){var 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;k=Ce-48|0;Ce=k;d=bf(b,c+d|0);a:{if(d){break a}d=Bf(b,e);if(d){break a}b:{c:{if(!e){break c}g=C[b+32>>2];j=g+e|0;if(A[g|0]<0){o=C[a+16>>2];n=C[a+28>>2];C[k>>2]=0;d=8;if((e|0)<=0){break b}h=A[g|0];if((h|0)>=0){break b}f=g+1|0;m=C[n>>2];i=h&255;d:{if(!(i&8)){e=f;break d}if(e>>>0<2){break b}e=g+2|0;h=D[f|0];if(!h){break d}while(1){f=e+2|0;if(f>>>0>j>>>0){break b}e=f+D[e|0]|0;if(j>>>0>>0){break b}h=h-1|0;if(h){continue}break}}r=i&63;f=r+o|0;h=C[a+20>>2];e:{if(f>>>0<=h>>>0){h=C[a+24>>2];break e}f=f+3&-4;if(f>>>0>64){break b}h=Ve(m,24,h,f,C[a+24>>2],k);C[a+24>>2]=h;d=C[k>>2];if(d){break b}C[a+20>>2]=f}if(r){h=I(o,24)+h|0;d=8;while(1){f=e+1|0;if(j>>>0>>0){break b}i=D[e|0];C[h>>2]=65536;if(i&16){f=e+3|0;if(j>>>0>>0){break b}e=D[e+1|0]|D[e+2|0]<<8;C[h>>2]=(e<<8|e>>>8)<<16>>16<<4}C[h+4>>2]=65536;f:{if(!(i&32)){e=f;break f}e=f+2|0;if(j>>>0>>0){break b}f=D[f|0]|D[f+1|0]<<8;C[h+4>>2]=(f<<8|f>>>8)<<16>>16<<4}m=0;f=0;g:{h:{switch((i&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=D[e|0]|D[e+1|0]<<8;f=(e<<8|e>>>8)<<16>>16;e=g;break g;case 1:break h;default:break g}}g=e+1|0;if(g>>>0>j>>>0){break b}f=A[e|0];e=g}i:{j:{switch((i>>>2&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=D[e|0]|D[e+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=g;break i;case 1:break j;default:break i}}g=e+1|0;if(g>>>0>j>>>0){break b}m=A[e|0];e=g}C[h+12>>2]=m;C[h+8>>2]=f;k:{if(i&64){f=e+2|0;if(j>>>0>>0){break b}e=D[e+1|0]|D[e|0]<<8;break k}f=e+1|0;if(j>>>0>>0){break b}e=D[e|0]}C[h+20>>2]=e;l:{if(i<<24>>24<0){e=f+3|0;if(j>>>0>>0){break b}l=D[f+1|0]<<8|D[f|0]<<16;g=2;break l}e=f+2|0;if(j>>>0>>0){break b}l=D[f|0]<<8;g=1}C[h+16>>2]=D[f+g|0]|l;C[a+16>>2]=C[a+16>>2]+1;h=h+24|0;q=q+1|0;if((r|0)!=(q|0)){continue}break}}xf(b);d=0;e=C[a+16>>2];if((e|0)==(o|0)){break a}j=e-o|0;m=0;while(1){h=B[n+22>>1];g=I(m,24);e=I(o,24);d=g+(e+C[a+24>>2]|0)|0;d=Fv(a,b,c,C[d+16>>2],C[d+20>>2]);if(d){break a}i=B[n+22>>1];f=i-h|0;e=g+(e+C[a+24>>2]|0)|0;m:{if(!(C[e>>2]==65536&C[e+4>>2]==65536)){if((f|0)<=0){break m}d=C[n+24>>2]+(h<<3)|0;h=0;while(1){t=d,u=Te(C[d>>2],C[e>>2])+C[e+8>>2]|0,C[t>>2]=u;t=d,u=Te(C[d+4>>2],C[e+4>>2])+C[e+12>>2]|0,C[t+4>>2]=u;d=d+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}break m}if((f|0)<=0){break m}d=C[n+24>>2]+(h<<3)|0;g=C[e+12>>2];e=C[e+8>>2];if(i+(h^-1)>>>0>=3){i=f&-4;h=0;while(1){C[d>>2]=e+C[d>>2];C[d+4>>2]=g+C[d+4>>2];C[d+8>>2]=e+C[d+8>>2];C[d+16>>2]=e+C[d+16>>2];C[d+24>>2]=e+C[d+24>>2];C[d+12>>2]=g+C[d+12>>2];C[d+20>>2]=g+C[d+20>>2];C[d+28>>2]=g+C[d+28>>2];d=d+32|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}h=0;f=f&3;if(!f){break m}while(1){C[d>>2]=e+C[d>>2];C[d+4>>2]=g+C[d+4>>2];d=d+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}d=0;m=m+1|0;if((j|0)!=(m|0)){continue}break}break a}C[k+44>>2]=0;d=8;if((e|0)<=0){break b}c=A[g|0];if((c|0)<0){break b}i=C[C[a+28>>2]>>2];l=c&255;n:{if(l&4){if(e>>>0<2){break b}f=g+2|0;c=D[g+1|0];q=c>>>4|0;m=c&15;break n}if(l&2){if(e>>>0<2){break b}m=D[g+1|0];c=g+2|0}else{c=g+1|0}if(!(l&1)){f=c;break n}f=c+1|0;if(j>>>0>>0){break b}q=D[c|0]}g=m+q|0;c=C[a+4>>2];o:{p:{if(g>>>0>c>>>0){d=c;c=g+7&1016;i=Ve(i,4,d,c,C[a+8>>2],k+44|0);C[a+8>>2]=i;d=C[k+44>>2];if(d){break b}C[a+4>>2]=c;C[a+12>>2]=(m<<2)+i;o=a+12|0;break p}i=C[a+8>>2];C[a+12>>2]=i+(m<<2);o=a+12|0;if(!g){break o}}c=0;d=0;while(1){q:{if(d&7){e=f;break q}e=f+1|0;if(j>>>0>>0){break c}c=D[f|0]}n=(d<<2)+i|0;r:{if(c&1){f=e+2|0;if(j>>>0>>0){break c}e=D[e|0]|D[e+1|0]<<8;h=(e<<8|e>>>8)<<16>>16;break r}f=e+1|0;if(j>>>0>>0){break c}h=D[e|0]+h|0}C[n>>2]=h;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;s:{if(!(l&8)){c=f;break s}c=f+1|0;if(j>>>0>>0){break b}e=D[f|0];if(e){while(1){f=c+2|0;if(f>>>0>j>>>0){break b}c=f+D[c|0]|0;if(j>>>0>>0){break b}e=e-1|0;if(e){continue}break}}C[k+44>>2]=0}A[a+32|0]=0;C[k+24>>2]=0;C[k+28>>2]=0;C[k>>2]=0;C[k+4>>2]=0;n=k+16|0;r=k|8;f=0;h=0;while(1){g=c+1|0;if(g>>>0>j>>>0){break c}c=D[c|0];e=c&15;i=1;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{p=c>>>4|0;switch(p|0){case 0:break w;case 1:case 4:case 5:break x;case 7:break z;case 6:break A;case 3:break C;case 2:break D;default:break y}}if(e>>>0>=m>>>0){break c}C[k>>2]=C[C[a+8>>2]+(e<<2)>>2];break B}if(e>>>0>=q>>>0){break c}C[k>>2]=h;f=C[C[o>>2]+(e<<2)>>2]}C[k+4>>2]=f;f=C[k+4>>2];h=C[k>>2];C[k+24>>2]=h;C[k+28>>2]=f;c=g;break v}e=2958;i=3;break x}e=3627;i=3;break x}i=4}d=k;l=0;c=g;while(1){E:{F:{switch(e&3){case 0:g=c+1|0;if(g>>>0>j>>>0){break c}c=D[c|0];if(c>>>0>=m>>>0){break c}h=C[C[a+8>>2]+(c<<2)>>2];c=g;break E;case 1:g=c+2|0;if(g>>>0>j>>>0){break c}c=D[c|0]|D[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16;c=g;break E;case 2:break F;default:break E}}g=c+1|0;if(g>>>0>j>>>0){break c}h=A[c|0]+h|0;c=g}C[d>>2]=h;G:{H:{switch(e>>>2&3){case 0:h=c+1|0;if(h>>>0>j>>>0){break c}c=D[c|0];if(c>>>0>=q>>>0){break c}f=C[C[o>>2]+(c<<2)>>2];c=h;break G;case 1:h=c+2|0;if(h>>>0>j>>>0){break c}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=h;break G;case 2:break H;default:break G}}h=c+1|0;if(h>>>0>j>>>0){break c}f=A[c|0]+f|0;c=h}C[d+4>>2]=f;I:{if(!((i|0)!=4|l)){f=c+1|0;if(f>>>0>j>>>0){break c}e=D[c|0];i=3;c=f;break I}e=e>>>4|0}f=C[d+4>>2];h=C[d>>2];C[k+24>>2]=h;C[k+28>>2]=f;d=d+8|0;l=l+1|0;if(l>>>0>>0){continue}break}J:{switch(p|0){case 4:case 5:e=C[a+28>>2];K:{if(!D[a+32|0]){break K}i=B[e+58>>1];d=i-1|0;g=E[e+56>>1];l=g<<16>>16;if((l|0)<=0){g=0}else{g=B[(C[e+68>>2]+(g<<1)|0)-2>>1]}L:{if((d|0)<=(g|0)){break L}p=C[e+60>>2];s=p+(g<<3)|0;p=p+(d<<3)|0;if(C[s>>2]!=C[p>>2]|C[s+4>>2]!=C[p+4>>2]){break L}B[e+58>>1]=i-1;d=i-2|0}if((d|0)<(g|0)){break K}B[e+56>>1]=l+1;B[C[e+68>>2]+(l<<1)>>1]=d}A[a+32|0]=1;i=C[e+4>>2];d=B[e+58>>1];l=(d+B[e+22>>1]|0)+1|0;if(!(i>>>0>=l>>>0&F[e+8>>2]>=(B[e+20>>1]+B[e+56>>1]|0)+1>>>0)){d=Qg(e,1,1);if(d){break t}if(!D[a+32|0]){d=8;break t}e=C[a+28>>2];d=B[e+58>>1];l=(d+B[e+22>>1]|0)+1|0;i=C[e+4>>2]}if(i>>>0>>0){d=Qg(e,1,0);if(d){break t}d=B[e+58>>1]}break u;case 1:case 2:case 3:break v;case 0:break w;default:break J}}if(D[a+32|0]){d=C[a+28>>2];e=B[d+58>>1];M:{if((e+B[d+22>>1]|0)+3>>>0>F[d+4>>2]){e=Qg(d,3,0);if(e){break M}e=B[d+58>>1]}i=C[d- -64>>2];l=C[k+4>>2];g=C[d+60>>2]+(e<<3)|0;C[g>>2]=C[k>>2];C[g+4>>2]=l;l=C[r+4>>2];C[g+8>>2]=C[r>>2];C[g+12>>2]=l;l=C[n+4>>2];C[g+16>>2]=C[n>>2];C[g+20>>2]=l;e=e+i|0;A[e+2|0]=1;A[e|0]=2;A[e+1|0]=2;B[d+58>>1]=E[d+58>>1]+3;e=0}d=e}else{d=8}break t}e=C[a+28>>2];if(D[a+32|0]){f=B[e+58>>1];d=f-1|0;c=E[e+56>>1];h=c<<16>>16;if((h|0)<=0){c=0}else{c=B[(C[e+68>>2]+(c<<1)|0)-2>>1]}N:{if((d|0)<=(c|0)){break N}g=C[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(C[j>>2]!=C[g>>2]|C[j+4>>2]!=C[g+4>>2]){break N}B[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){B[e+56>>1]=h+1;B[C[e+68>>2]+(h<<1)>>1]=d}A[a+32|0]=0}ik(e);d=C[k+44>>2];break b}if(!D[a+32|0]){d=8;break t}e=C[a+28>>2];d=B[e+58>>1];if(F[e+4>>2]<(d+B[e+22>>1]|0)+1>>>0){d=Qg(e,1,0);if(d){break t}d=B[e+58>>1]}}i=C[k+4>>2];g=C[e+60>>2]+(d<<3)|0;C[g>>2]=C[k>>2];C[g+4>>2]=i;A[d+C[e- -64>>2]|0]=1;B[e+58>>1]=E[e+58>>1]+1;d=0}C[k+44>>2]=d;if(!d){continue}break}break b}d=8}xf(b)}Ce=k+48|0;return d}function ZF(a){a=a|0;var 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,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;c=C[a+40>>2];o=1;b=C[a+44>>2];if(C[b>>2]!=372711428){o=C[b+24>>2]?0:-1}m=C[c+24>>2];z=C[a+56>>2];F=D[a+63|0];G=D[a+62|0];H=D[a+61|0];J=D[a+60|0];j=C[a+52>>2];e=C[c>>2];u=D[b+9|0];s=D[c+9|0];p=C[a+28>>2];f=p-1|0;C[a+28>>2]=f;v=(C[a+4>>2]<<16)/C[a+24>>2]|0;w=(C[a+8>>2]<<16)/(p|0)|0;if(p){K=m^-1;L=j&48;M=j&2;N=j&1;x=j&256;p=(v|0)/2|0;t=(w|0)/2|0;O=j>>>4&15;m=!m;P=m&(e|0)!=372711428;Q=m|(e|0)==372711428;i=C[a+20>>2];y=s-1|0;q=u-1|0;while(1){r=C[a+24>>2];if(r){R=t>>>16|0;m=p;while(1){g=(C[a>>2]+I(C[a+12>>2],R)|0)+I(m>>>16|0,s)|0;r=r-1|0;a:{b:{c:{d:{e:{f:{if(!Q){f=0;l=0;j=0;k=0;d=0;g:{switch(y|0){case 0:d=D[g|0];f=D[C[(D[c+31|0]<<2)+381104>>2]+((d&C[c+24>>2])>>>D[c+35|0]|0)|0];l=D[C[(D[c+30|0]<<2)+381104>>2]+((C[c+20>>2]&d)>>>D[c+34|0]|0)|0];j=D[C[(D[c+29|0]<<2)+381104>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0];k=D[C[(D[c+28|0]<<2)+381104>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0];break f;case 1:d=E[g>>1];f=D[C[(D[c+31|0]<<2)+381104>>2]+((d&C[c+24>>2])>>>D[c+35|0]|0)|0];l=D[C[(D[c+30|0]<<2)+381104>>2]+((C[c+20>>2]&d)>>>D[c+34|0]|0)|0];j=D[C[(D[c+29|0]<<2)+381104>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0];k=D[C[(D[c+28|0]<<2)+381104>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0];break f;case 2:break e;case 3:break g;default:break f}}d=C[g>>2];f=D[C[(D[c+31|0]<<2)+381104>>2]+((d&C[c+24>>2])>>>D[c+35|0]|0)|0];l=D[C[(D[c+30|0]<<2)+381104>>2]+((C[c+20>>2]&d)>>>D[c+34|0]|0)|0];j=D[C[(D[c+29|0]<<2)+381104>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0];k=D[C[(D[c+28|0]<<2)+381104>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0];break f}if(P){l=0;j=0;k=0;d=0;h:{i:{j:{switch(y|0){case 0:d=D[g|0];f=C[(D[c+30|0]<<2)+381104>>2]+((d&C[c+20>>2])>>>D[c+34|0]|0)|0;k=C[(D[c+28|0]<<2)+381104>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0;e=C[(D[c+29|0]<<2)+381104>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0;break i;case 1:d=E[g>>1];f=C[(D[c+30|0]<<2)+381104>>2]+((d&C[c+20>>2])>>>D[c+34|0]|0)|0;k=C[(D[c+28|0]<<2)+381104>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0;e=C[(D[c+29|0]<<2)+381104>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0;break i;case 2:f=g+(D[c+34|0]>>>3|0)|0;k=g+(D[c+32|0]>>>3|0)|0;e=g+(D[c+33|0]>>>3|0)|0;break i;case 3:break j;default:break h}}d=C[g>>2];f=C[(D[c+30|0]<<2)+381104>>2]+((d&C[c+20>>2])>>>D[c+34|0]|0)|0;k=C[(D[c+28|0]<<2)+381104>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0;e=C[(D[c+29|0]<<2)+381104>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0}l=D[f|0];j=D[e|0];k=D[k|0]}f=255;l=l&255;j=j&255;k=k&255;break f}d=C[g>>2];l=d>>>2&255;j=d>>>12&255;k=d>>>22&255;f=D[C[95282]+(d>>>30|0)|0]}f=f&255;if(!x){break b}if((s|0)!=3){break c}d=D[c+34|0];h=D[c+33|0];e=D[c+32|0];break d}d=D[c+34|0];l=D[g+(d>>>3|0)|0];h=D[c+33|0];j=D[g+(h>>>3|0)|0];e=D[c+32|0];k=D[g+(e>>>3|0)|0];f=255;if(!x){break b}}d=j<>2]+((h&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+381104>>2]+((h&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((h&C[b+16>>2])>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((h&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 1:h=E[i>>1];e=D[C[(D[b+31|0]<<2)+381104>>2]+((h&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+381104>>2]+((h&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((h&C[b+16>>2])>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((h&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 2:d=D[(D[b+34|0]>>>3|0)+i|0];g=D[(D[b+33|0]>>>3|0)+i|0];h=D[(D[b+32|0]>>>3|0)+i|0];e=255;break k;case 3:break l;default:break k}}h=C[i>>2];e=D[C[(D[b+31|0]<<2)+381104>>2]+((h&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+381104>>2]+((h&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((h&C[b+16>>2])>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+381104>>2]+((h&C[b+12>>2])>>>D[b+32|0]|0)|0];break k}if((o|0)<0){d=0;g=0;h=0;m:{n:{o:{switch(q|0){case 0:e=D[i|0];d=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break n;case 1:e=E[i>>1];d=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break n;case 2:d=(D[b+34|0]>>>3|0)+i|0;g=(D[b+33|0]>>>3|0)+i|0;e=(D[b+32|0]>>>3|0)+i|0;break n;case 3:break o;default:break m}}e=C[i>>2];d=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0}d=D[d|0];g=D[g|0];h=D[e|0]}e=255;d=d&255;g=g&255;h=h&255;break k}e=C[i>>2];d=e>>>2&255;g=e>>>12&255;h=e>>>22&255;e=D[C[95282]+(e>>>30|0)|0]}if(N){l=(I(l,G)>>>0)/255|0;k=(I(k,J)>>>0)/255|0;j=(I(j,H)>>>0)/255|0}f=M?(I(f,F)>>>0)/255|0:f;if(!(!L|f>>>0>254)){l=(I(f,l)>>>0)/255|0;k=(I(f,k)>>>0)/255|0;j=(I(f,j)>>>0)/255|0}e=e&255;p:{q:{switch(O|0){case 0:e=f;d=l;g=j;h=k;break p;case 1:n=255-f|0;e=f+(((I(n,e)&65535)>>>0)/255|0)|0;d=(((I(d,n)&65535)>>>0)/255|0)+l|0;g=(((I(g,n)&65535)>>>0)/255|0)+j|0;h=(((I(h,n)&65535)>>>0)/255|0)+k|0;break p;case 2:f=d+l|0;d=f>>>0>=255?255:f;f=g+j|0;g=f>>>0>=255?255:f;f=h+k|0;h=f>>>0>=255?255:f;break p;case 4:d=(I(d,l)>>>0)/255|0;g=(I(g,j)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;break p;case 8:break q;default:break p}}n=l;l=255-f|0;f=(I(n+l|0,d)>>>0)/255|0;d=f>>>0>=255?255:f;f=(I(j+l|0,g)>>>0)/255|0;g=f>>>0>=255?255:f;f=(I(k+l|0,h)>>>0)/255|0;h=f>>>0>=255?255:f}if(!o){r:{switch(q|0){case 0:A[i|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+i|0]=h;A[(D[b+33|0]>>>3|0)+i|0]=g;A[(D[b+34|0]>>>3|0)+i|0]=d;break a;case 3:break r;default:break a}}C[i>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]|(g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>1]=C[b+24>>2]|(g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>3|0)+i|0]=h;A[(D[b+33|0]>>>3|0)+i|0]=g;A[(D[b+34|0]>>>3|0)+i|0]=d;break a;case 3:break s;default:break a}}C[i>>2]=C[b+24>>2]|(g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>2]=(e>>>0)/85<<30|(d?d<<2|3:0)|(g?g<<12|3072:0)|(h?h<<22|3145728:0)}m=m+v|0;i=i+u|0;if(r){continue}break}i=C[a+20>>2];f=C[a+28>>2]}m=f;f=m-1|0;C[a+28>>2]=f;i=C[a+32>>2]+i|0;C[a+20>>2]=i;t=t+w|0;if(m){continue}break}}}function wM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ce-32|0;Ce=i;m=1;j=C[b+532>>2];a:{if((d|0)<=0){c=0;break a}n=d&3;b:{if(d>>>0<4){c=0;d=0;break b}p=d&-4;c=0;d=0;while(1){g=1;l=d<<3;f=C[l+e>>2]-1768386662|0;if(f){if((f|0)==13){k=1}}else{c=1}f=c;c=C[(l|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}g=f}c=1;f=C[(l|16)+e>>2]-1768386662|0;if(f){if((f|0)==13){k=1}f=g}else{f=1}g=C[(l|24)+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}c=f}d=d+4|0;o=o+4|0;if((o|0)!=(p|0)){continue}break}}if(!n){break a}f=c;while(1){g=C[(d<<3)+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}c=f}else{c=1}d=d+1|0;f=c;h=h+1|0;if((n|0)!=(h|0)){continue}break}}c:{if(C[C[b+128>>2]+48>>2]){break c}d=E[b+152>>1];if(d){e=C[b+156>>2];f=e+(d<<4)|0;d=e;while(1){if(C[d+12>>2]?C[d>>2]==1735162214:0){break c}d=d+16|0;if(f>>>0>d>>>0){continue}break}while(1){if(C[e+12>>2]?C[e>>2]==1128678944:0){break c}e=e+16|0;if(f>>>0>e>>>0){continue}break}}m=0}d=1;f=Fe[C[b+508>>2]](b,1935829368,a,0)|0;h=(f|0)!=0&m;d:{e:{f:{if(h){break f}g=C[j+68>>2];if(!g){break f}e=0;g=Fe[g|0](b,a)|0;d=(g|0)!=0;if(!f){break f}if(!g){break e}}e=d;d=Fe[C[j+24>>2]](b,a)|0;if(d){break d}}if(!E[b+178>>1]){d=8;break d}Fe[C[j+36>>2]](b,a)|0;Fe[C[j+32>>2]](b,a)|0;Fe[C[j+48>>2]](b,a)|0;f=Fe[C[j+44>>2]](b,a)|0;g:{if(!e){break g}h:{i:{d=Fe[C[j+28>>2]](b,a,0)|0;if(!d){d=Fe[C[j+92>>2]](b,a,0)|0;if((d&255)!=142){break i}d=147;e=C[C[b+128>>2]+48>>2];if(!e|!C[C[e>>2]+8>>2]){break d}B[b+250>>1]=0;break h}if((d&255)!=142){break d}if(C[b+148>>2]==1953658213){h=0;C[i+28>>2]=0;break h}d=143;e=C[C[b+128>>2]+48>>2];if(!e|!C[C[e>>2]+8>>2]){break d}B[b+250>>1]=0;C[i+28>>2]=0;break h}if(d){break d}}j:{k:{d=Fe[C[j+28>>2]](b,a,1)|0;if(d){break k}d=Fe[C[j+92>>2]](b,a,1)|0;C[i+28>>2]=d;if(d){break k}A[b+292|0]=1;break j}if((d&255)!=142){break d}}if(!(Fe[C[j+40>>2]](b,a)|0)){break g}B[b+364>>1]=65535}d=C[j+96>>2];l:{if(!d){break l}d=Fe[d|0](b,a)|0;if(!d){break l}if((d&255)!=142){break d}}d=Fe[C[j+64>>2]](b,a)|0;if(d){if((d&255)!=142){break d}C[b+548>>2]=0}Fe[C[j+60>>2]](b,a)|0;Fe[C[j+56>>2]](b,a)|0;C[b+20>>2]=0;C[b+24>>2]=0;C[b+16>>2]=E[b+264>>1];a=b+24|0;e=b+20|0;m:{n:{if(!(!(A[b+429|0]&1)|E[b+364>>1]==65535)){o:{if(!(c&255)){d=$h(b,16,e);C[i+28>>2]=d;if(d){break d}if(C[e>>2]){break o}}d=$h(b,1,e);C[i+28>>2]=d;if(d){break d}}if(!k){d=$h(b,17,a);C[i+28>>2]=d;if(d){break d}}if(C[a>>2]){break m}d=$h(b,2,a);break n}d=$h(b,21,e);if(d){break d}d=C[e>>2];if(!(d|c&255)){d=$h(b,16,e);if(d){break d}d=C[e>>2]}if(!d){d=$h(b,1,e);if(d){break d}}d=$h(b,22,a);C[i+28>>2]=d;if(d){break d}d=C[a>>2];if(!(k|d)){d=$h(b,17,a);C[i+28>>2]=d;if(d){break d}d=C[a>>2]}if(d){break m}d=$h(b,2,a)}C[i+28>>2]=d;if(d){break d}}a=C[b+8>>2];a=((C[b+732>>2]&-2)==2?a|16384:a)|h;d=a|24;d=f?d:C[b+468>>2]==196608?d:a|536;a=C[b+480>>2]?d|4:d;a=D[b+292|0]?a|32:a;f=C[b+752>>2]?a|64:a;a=E[b+152>>1];p:{if(!a){break p}e=C[b+156>>2];a=e+(a<<4)|0;d=e;while(1){if(!(!C[d+12>>2]|C[d>>2]!=1735162214)){d=e;while(1){q:{if(!(!C[d+12>>2]|C[d>>2]!=1719034226)){while(1){if(C[e+12>>2]?C[e>>2]==1735811442:0){break q}e=e+16|0;if(a>>>0>e>>>0){continue}break}break p}d=d+16|0;if(a>>>0>d>>>0){continue}break p}break}f=f|256;break p}d=d+16|0;if(a>>>0>d>>>0){continue}break}}C[b+8>>2]=f;r:{if(!(!h|E[b+364>>1]==65535)){a=E[b+428>>1];a=a>>>4&2|(a&513)!=0;break r}a=E[b+204>>1];a=(a<<1|(a&2)>>>1)&3}C[b+12>>2]=a;a=Ce-224|0;Ce=a;e=kf(40);C[e>>2]=0;c=C[b+504>>2];h=C[b+500>>2];C[a+216>>2]=h;s:{t:{u:{if(!C[a+216>>2]){break u}k=c+h|0;if(k>>>0>2]+4>>>0){break u}C[a+216>>2]=C[a+216>>2]+2;if(D[C[a+216>>2]-1|0]|D[C[a+216>>2]-2|0]<<8){break u}C[a+216>>2]=C[a+216>>2]+2;C[a+220>>2]=D[C[a+216>>2]-1|0]|D[C[a+216>>2]-2|0]<<8;if(!C[a+220>>2]){break u}g=4;while(1){if(k>>>0>2]+8>>>0){break u}C[a+216>>2]=C[a+216>>2]+2;c=D[C[a+216>>2]-2|0];d=D[C[a+216>>2]-1|0];C[a+216>>2]=C[a+216>>2]+2;B[a+212>>1]=d|c<<8;c=D[C[a+216>>2]-2|0];d=D[C[a+216>>2]-1|0];C[a+216>>2]=C[a+216>>2]+4;C[a+204>>2]=b;C[a+208>>2]=0;B[a+214>>1]=d|c<<8;c=D[C[a+216>>2]-1|0]|(D[C[a+216>>2]-3|0]<<16|D[C[a+216>>2]-4|0]<<24|D[C[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>C[b+504>>2]-2>>>0)){C[a+200>>2]=c+h;c=C[a+200>>2];C[a+196>>2]=D[c+1|0]|D[c|0]<<8;C[a+192>>2]=351840;v:{if(!C[C[a+192>>2]>>2]){break v}while(1){w:{C[a+188>>2]=C[C[a+192>>2]>>2];if(C[C[a+188>>2]+40>>2]==C[a+196>>2]){C[108230]=0;C[a+8>>2]=0;C[a+168>>2]=C[a+200>>2];C[a+172>>2]=k;C[a+176>>2]=0;C[a+180>>2]=0;c=C[108230];C[108230]=0;d=-1;x:{if(!c){break x}f=C[108231];if(!f){break x}d=Mf(C[c>>2],e,g);if(!d){break t}De=f}c=De;if((d|0)!=1){C[a+184>>2]=E[b+264>>1];e=Uj(a+12|0,1,e,g);g=De;c=0}while(1){if(!c){c=C[C[a+188>>2]+44>>2];C[108230]=0;l=X(c|0,C[a+200>>2],a+12|0)|0;c=C[108230];C[108230]=0;d=-1;y:{if(!c){break y}f=C[108231];if(!f){break y}d=Mf(C[c>>2],e,g);if(!d){break t}De=f}c=De;if((d|0)==1){continue}C[a+8>>2]=l}if(C[a+180>>2]){break v}C[108230]=0;l=_(1056,C[a+188>>2],C[a+200>>2],a+204|0,a+4|0)|0;c=C[108230];C[108230]=0;d=-1;z:{if(!c){break z}f=C[108231];if(!f){break z}d=Mf(C[c>>2],e,g);if(!d){break t}De=f}c=De;if((d|0)==1){continue}break}break w}C[a+192>>2]=C[a+192>>2]+4;if(C[C[a+192>>2]>>2]){continue}break v}break}if(l){break v}C[C[a+4>>2]+20>>2]=C[a+8>>2]}}C[a+220>>2]=C[a+220>>2]-1;if(C[a+220>>2]){continue}break}}Re(e);Ce=a+224|0;break s}Re(e);Ji(c,f);s()}f=C[b+36>>2];if((f|0)>0){g=C[b+40>>2];c=0;while(1){e=C[g+(c<<2)>>2];a=B[e+10>>1];h=351888;d=0;A:{B:{switch(E[e+8>>1]){case 0:d=C[87977];break A;case 1:if(a){break A}d=C[87980];break A;case 3:if(!(1151>>>a&1)|a>>>0>=11){break A}h=C[(a<<2)+352868>>2];break;case 2:break B;default:break A}}d=C[h+8>>2]}C[e+4>>2]=d;c=c+1|0;if((f|0)!=(c|0)){continue}break}}e=C[b+736>>2];C:{if(!e){c=C[b+8>>2];break C}d=C[C[b+104>>2]+28>>2];h=E[b+178>>1];if(!h|E[b+364>>1]==65535){h=1;a=1}else{a=E[b+366>>1]}c=0;q=b,r=Ve(d,16,0,e,0,i+28|0),C[q+32>>2]=r;d=C[i+28>>2];if(d){break d}f=h>>>1|0;g=a<<16>>16;while(1){a=C[b+32>>2];d=Fe[C[j+108>>2]](b,c,i)|0;C[i+28>>2]=d;if(d){break d}a=a+(c<<4)|0;B[a>>1]=C[i+20>>2]>>>6;d=E[i>>1];C[a+8>>2]=d<<6;B[a+2>>1]=(f+I(d,g)|0)/(h|0);d=E[i+2>>1]<<6;C[a+4>>2]=d;C[a+12>>2]=d;c=c+1|0;if((e|0)!=(c|0)){continue}break}C[b+28>>2]=e;c=C[b+8>>2]|2;C[b+8>>2]=c}if(!(c&3)){c=c|1;C[b+8>>2]=c}d=0;if(!(c&1)){break d}B[b+68>>1]=E[b+178>>1];C[b+52>>2]=B[b+196>>1];C[b+56>>2]=B[b+198>>1];C[b+60>>2]=B[b+200>>1];C[b- -64>>2]=B[b+202>>1];a=E[b+220>>1];B[b+70>>1]=a;c=E[b+222>>1];B[b+72>>1]=c;B[b+74>>1]=E[b+224>>1]+(a-c|0);if(!(a|c|E[b+364>>1]==65535)){a=E[b+434>>1];c=E[b+436>>1];D:{if(a|c){B[b+72>>1]=c;B[b+70>>1]=a;a=E[b+438>>1]+(a-c|0)|0;break D}a=E[b+440>>1];B[b+70>>1]=a;c=E[b+442>>1];B[b+72>>1]=0-c;a=a+c|0}B[b+74>>1]=a}B[b+76>>1]=E[b+226>>1];B[b+78>>1]=E[(D[b+292|0]?306:74)+b>>1];a=B[b+478>>1];B[b+82>>1]=a;B[b+80>>1]=E[b+476>>1]+((a|0)/-2|0)}Ce=i+32|0;return d|0}function uO(a){a=a|0;var 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;e=Ce-80|0;Ce=e;j=C[a+8>>2];a:{if(!j){b=6;break a}l=C[a>>2];c=C[a+4>>2];b:{if(C[c+12>>2]>1){break b}ri(c);if(C[c+12>>2]>1){break b}g=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=g>>>0){break b}d=b+1|0;C[c>>2]=d;f=D[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){c:{C[c+12>>2]=0;d=Ni(c);if(d){break c}b=2;if(C[c+12>>2]==2){continue}break a}break}b=2;if((C[c>>2]+(d^-1)|0)!=16){break a}if(cf(d,8097,16)){break a}f=160;d:while(1){c=C[a+4>>2];e:{if(C[c+12>>2]>1){break e}ri(c);if(C[c+12>>2]>1){break e}h=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=h>>>0){break e}d=b+1|0;C[c>>2]=d;g=D[b|0];b=d;if(!(1<>>0>26){continue}break}}f:{while(1){g:{C[c+12>>2]=0;g=Ni(c);if(g){break g}if(C[c+12>>2]==2){continue}break f}break}h=C[c>>2]+(g^-1)|0;c=D[g|0];b=0;while(1){h:{if((c|0)==D[C[(b<<2)+288496>>2]]){d=b;break h}d=b|1;if((c|0)==D[C[(d<<2)+288496>>2]]){break h}b=b+2|0;if((b|0)!=74){continue}continue d}break}b=(d|0)<=73?73:d;while(1){i=C[(d<<2)+288496>>2];if((c|0)!=D[i|0]){continue d}if(cf(i,g,h)){i=(b|0)==(d|0);d=d+1|0;if(i){continue d}continue}break}b=0;i:{j:{switch(d|0){case 40:C[e+32>>2]=3;if((ai(a,e+32|0,1)|0)!=1){break f}if(!(C[e+36>>2]&-3)){continue}f=7;break f;case 30:C[e>>2]=4;if((ai(a,e,1)|0)!=1){break f}A[j|0]=D[e+4|0];continue;case 26:C[e+24>>2]=2;C[e+16>>2]=2;C[e+8>>2]=2;C[e>>2]=2;if((ai(a,e,4)|0)!=4){break f}C[j+4>>2]=C[e+4>>2];C[j+8>>2]=C[e+12>>2];C[j+12>>2]=C[e+20>>2];C[j+16>>2]=C[e+28>>2];continue;case 0:C[e>>2]=2;if((ai(a,e,1)|0)!=1){break f}C[j+20>>2]=C[e+4>>2];continue;case 14:C[e>>2]=2;if((ai(a,e,1)|0)!=1){break f}C[j+24>>2]=C[e+4>>2];continue;case 45:C[e+32>>2]=3;if((ai(a,e+32|0,1)|0)!=1){break f}c=C[e+36>>2];if((c|0)<=0){break i}while(1){f=C[a+4>>2];k:{if(C[f+12>>2]>1){break k}ri(f);if(C[f+12>>2]>1){break k}h=C[f+8>>2];b=C[f>>2];while(1){if(b>>>0>=h>>>0){break k}d=b+1|0;C[f>>2]=d;g=D[b|0];b=d;if(!(1<>>0>26){continue}break}}b=c-1|0;l:{while(1){C[f+12>>2]=0;if(Ni(f)){break l}if(C[f+12>>2]==2){continue}break}b=160;break a}d=(c|0)<2;c=b;if(!d){continue}break};break i;case 20:break a;case 49:break j;default:continue}}m:while(1){c=C[a+4>>2];n:{if(C[c+12>>2]>1){break n}ri(c);if(C[c+12>>2]>1){break n}g=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=g>>>0){break n}d=b+1|0;C[c>>2]=d;f=D[b|0];b=d;if(!(1<>>0>26){continue}break}}o:{while(1){C[c+12>>2]=0;f=Ni(c);if(f){break o}if(C[c+12>>2]==2){continue}break}f=160;break f}g=C[c>>2]+(f^-1)|0;c=D[f|0];b=0;while(1){p:{if((c|0)==D[C[(b<<2)+288496>>2]]){d=b;break p}d=b|1;if((c|0)==D[C[(d<<2)+288496>>2]]){break p}b=b+2|0;if((b|0)!=74){continue}continue m}break}b=(d|0)<=73?73:d;while(1){h=C[(d<<2)+288496>>2];if((c|0)!=D[h|0]){continue m}if(cf(h,f,g)){h=(b|0)==(d|0);d=d+1|0;if(h){continue m}continue}break}b=0;f=160;q:{switch(d-20|0){case 33:g=C[a+8>>2];C[e+32>>2]=3;if((ai(a,e+32|0,1)|0)!=1){break f}b=C[e+36>>2];if((b|0)<0){break f}C[g+32>>2]=b;if(b){m=g,n=Ve(C[a>>2],20,0,b,0,e+32|0),C[m+28>>2]=n;f=C[e+32>>2];if(f){break f}}f=-1;r:{s:while(1){c=C[a+4>>2];t:{if(C[c+12>>2]>1){break t}ri(c);if(C[c+12>>2]>1){break t}i=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=i>>>0){break t}d=b+1|0;C[c>>2]=d;h=D[b|0];b=d;if(!(1<>>0>26){continue}break}}u:{while(1){C[c+12>>2]=0;h=Ni(c);if(h){break u}if(C[c+12>>2]==2){continue}break}f=160;break f}i=C[c>>2]+(h^-1)|0;c=D[h|0];b=0;while(1){v:{if((c|0)==D[C[(b<<2)+288496>>2]]){d=b;break v}d=b|1;if((c|0)==D[C[(d<<2)+288496>>2]]){break v}b=b+2|0;if((b|0)!=74){continue}continue s}break}b=(d|0)<=73?73:d;while(1){k=C[(d<<2)+288496>>2];if((c|0)!=D[k|0]){continue s}if(cf(k,h,i)){k=(b|0)==(d|0);d=d+1|0;if(k){continue s}continue}break}w:{x:{switch(d-20|0){case 36:f=f+1|0;if((f|0)>=C[g+32>>2]){break w}b=C[g+28>>2];C[e+64>>2]=2;C[e+56>>2]=2;C[e+48>>2]=2;C[e+40>>2]=2;C[e+32>>2]=3;if((ai(a,e+32|0,5)|0)!=5){break w}b=b+I(f,20)|0;C[b>>2]=C[e+36>>2];C[b+4>>2]=C[e+44>>2];C[b+8>>2]=C[e+52>>2];C[b+12>>2]=C[e+60>>2];C[b+16>>2]=C[e+68>>2];continue;case 0:case 1:case 3:break r;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 w;default:break x}}if((d|0)==75){continue}}break}f=160;break f}C[g+32>>2]=f+1;continue;case 0:case 1:break a;case 55:continue;case 30:case 31:break q;default:break f}}h=C[a+8>>2];C[e+32>>2]=3;if((ai(a,e+32|0,1)|0)!=1){break f}b=C[e+36>>2];if((b|0)<0){break f}C[h+40>>2]=b;if(b){m=h,n=Ve(C[a>>2],16,0,b,0,e+32|0),C[m+36>>2]=n;f=C[e+32>>2];if(f){break f}}f=-1;y:{z:while(1){c=C[a+4>>2];A:{if(C[c+12>>2]>1){break A}ri(c);if(C[c+12>>2]>1){break A}i=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=i>>>0){break A}d=b+1|0;C[c>>2]=d;g=D[b|0];b=d;if(!(1<>>0>26){continue}break}}B:{while(1){C[c+12>>2]=0;g=Ni(c);if(g){break B}if(C[c+12>>2]==2){continue}break}f=160;break f}i=C[c>>2]+(g^-1)|0;c=D[g|0];b=0;while(1){C:{if((c|0)==D[C[(b<<2)+288496>>2]]){d=b;break C}d=b|1;if((c|0)==D[C[(d<<2)+288496>>2]]){break C}b=b+2|0;if((b|0)!=74){continue}continue z}break}b=(d|0)<=73?73:d;while(1){k=C[(d<<2)+288496>>2];if((c|0)!=D[k|0]){continue z}if(cf(k,g,i)){k=(b|0)==(d|0);d=d+1|0;if(k){continue z}continue}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){f=160;break f}b=1<=C[h+40>>2]){break D}b=C[h+36>>2];C[e+56>>2]=3;C[e+48>>2]=3;C[e+40>>2]=5;C[e+32>>2]=5;i=ai(a,e+32|0,4);if((i|0)<3){break D}g=b+(f<<4)|0;C[g>>2]=C[e+36>>2];C[g+4>>2]=C[e+44>>2];b=0;c=C[e+52>>2];if((d|0)!=37){b=c;c=(d|0)==34?(i|0)==4?C[e+60>>2]:0:0}C[g+12>>2]=c;C[g+8>>2]=b;continue}break}f=160;break f}b=f+1|0;C[h+40>>2]=b;oh(C[h+36>>2],b,16,958);continue}}while(1){c=C[a+4>>2];E:{if(C[c+12>>2]>1){break E}ri(c);if(C[c+12>>2]>1){break E}g=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=g>>>0){break E}d=b+1|0;C[c>>2]=d;f=D[b|0];b=d;if(!(1<>>0>26){continue}break}}F:{while(1){C[c+12>>2]=0;f=Ni(c);if(f){break F}if(C[c+12>>2]==2){continue}break}b=160;break a}h=C[c>>2]+(f^-1)|0;g=D[f|0];b=0;G:{H:{while(1){if((g|0)==D[C[(b<<2)+288496>>2]]){d=b;break H}d=b|1;if((g|0)==D[C[(d<<2)+288496>>2]]){break H}b=b+2|0;if((b|0)!=74){continue}break}c=75;break G}b=(d|0)<=73?73:d;while(1){c=75;i=C[(d<<2)+288496>>2];if((g|0)!=D[i|0]){break G}if(!cf(i,f,h)){c=d;break G}i=(b|0)==(d|0);d=d+1|0;if(!i){continue}break}}f=0;switch(c-17|0){case 0:case 3:continue d;default:continue}}}break}a=C[j+28>>2];if(a){Fe[C[l+8>>2]](l,a)}C[j+28>>2]=0;C[j+32>>2]=0;a=C[j+36>>2];if(a){Fe[C[l+8>>2]](l,a)}A[j|0]=0;C[j+36>>2]=0;C[j+40>>2]=0;b=f}Ce=e+80|0;return b|0}function MQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;c=Ce-6992|0;Ce=c;h=C[C[a+4>>2]>>2];f=c- -64|0;p(f|4,0,2996);C[c+16>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+48>>2]=0;C[c+52>>2]=0;C[c+56>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+64>>2]=h;C[c+8>>2]=f;b=C[b+4>>2];h=C[b+88>>2];a:{if(!h){f=36;break a}C[c+6940>>2]=b;f=C[h+16>>2];C[c+6952>>2]=0;C[c+6944>>2]=f;h=C[h+20>>2];C[c+6964>>2]=0;C[c+6960>>2]=e>>>16&15;C[c+6956>>2]=0;C[c+6948>>2]=h;C[c>>2]=b;h=C[b+116>>2];C[c+4>>2]=h;if(!h){f=Fm(b,c|4,a);if(f){break a}h=C[c+4>>2];C[b+116>>2]=h;C[b+120>>2]=822}C[c+6976>>2]=0;f=6;if(F[h+4>>2]<=d>>>0){break a}f=(D[C[h+8>>2]+d|0]&127)<<2;m=f+h|0;b=C[m+16>>2];b:{if(b){break b}a=C[C[h>>2]+100>>2];n=C[f+274704>>2];g=C[(C[n+4>>2]<<2)+274576>>2];b=hf(a,C[g+4>>2],c+6976|0);f=C[c+6976>>2];if(f){break a}C[b+36>>2]=h;C[b>>2]=n;c:{f=C[g+8>>2];if(!f){break c}h=Fe[f|0](b,C[h>>2])|0;C[c+6976>>2]=h;if(!h){break c}h=C[g+16>>2];if(h){Fe[h|0](b)}if(b){Fe[C[a+8>>2]](a,b)}f=C[c+6976>>2];if(f){break a}b=0;break b}C[m+16>>2]=b}a=C[C[b>>2]+4>>2];C[c+12>>2]=b;a=C[(a<<2)+274576>>2];h=C[a+12>>2];d:{if(h){Fe[h|0](b,c+6940|0);break d}h=C[c+6944>>2];C[b+4>>2]=C[c+6940>>2];C[b+8>>2]=h;C[b+28>>2]=C[c+6964>>2];h=c+6956|0;f=C[h+4>>2];C[b+20>>2]=C[h>>2];C[b+24>>2]=f;h=c+6948|0;f=C[h+4>>2];C[b+12>>2]=C[h>>2];C[b+16>>2]=f}a=C[a+20>>2];if(a){f=Fe[a|0](C[c+8>>2],b)|0;if(f){break a}}a=C[c>>2];h=C[a+84>>2];g=C[h+156>>2];t=C[g>>2];m=C[c+8>>2];q=C[c+12>>2];f=fi(a,d,e&-10246|10241);if(f){break a}a=D[g+8|0];A[c+16|0]=a;e:{if(!a){break e}e=C[g+24>>2];a=C[g+20>>2];C[c+28>>2]=a;C[c+32>>2]=e;f=C[g+16>>2];b=C[g+12>>2];C[c+20>>2]=b;C[c+24>>2]=f;n=C[g+28>>2];g=C[g+32>>2];j=c+6984|0;C[j>>2]=a;C[j+4>>2]=e;C[c+6976>>2]=b;C[c+6980>>2]=f;C[c+36>>2]=n;C[c+40>>2]=g;g=6;n=c+6976|0;f:{if(!n){break f}r=C[n>>2];e=r;j=C[n+12>>2];if(!(!e|(j|0)==65536)){b=r>>31;b=(b^r)-b|0;a=j>>31;a=(a^j)-a|0;g:{if(b+(a>>>8|0)>>>0<=8190){a=I(a,b)+32768>>>16|0;break g}e=b&65535;a=I(e,a>>>16|0)+I(a,b>>>16|0)+(I(e,a&65535)+32768>>>16)|0}e=(j^r)<0?0-a|0:a}f=C[n+4>>2];b=f;i=C[n+8>>2];if(!(!b|(i|0)==65536)){b=f>>31;b=(b^f)-b|0;a=i>>31;a=(a^i)-a|0;h:{if(b+(a>>>8|0)>>>0<=8190){a=I(a,b)+32768>>>16|0;break h}o=b&65535;a=I(o,a>>>16|0)+I(a,b>>>16|0)+(I(o,a&65535)+32768>>>16)|0}b=(f^i)<0?0-a|0:a}if((b|0)==(e|0)){break f}o=e-b|0;a=o>>31;a=(a^o)-a|0;u=a>>>17^65535;b=f>>31;b=(b^f)-b|0;i:{if(u>>>0>=b>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break i}e=2147483647;g=a>>>1|0;s=g+(b<<16)|0;b=(b>>>16|0)+(g>>>0>s>>>0)|0;if(b>>>0>=a>>>0){break i}k=L(b);g=32-k|0;b=s>>>g|b<>>0)/(a>>>0)|0;l=b-I(a,e)|0;b=s<>>31;g=l>>>0>=a>>>0;l=l-(g?a:0)|0;e=g|e<<1;g=31-k|0;b=b<<1}if((k|0)==31){break i}while(1){l=l<<1|b>>>31;k=l>>>0>=a>>>0;l=b>>>30&1|l-(k?a:0)<<1;s=l>>>0>=a>>>0;l=l-(s?a:0)|0;e=e<<2|k<<1|s;b=b<<2;g=g-2|0;if(g){continue}break}}b=f>>31|1;C[n+4>>2]=(((o|0)<0?0-b|0:b)|0)<0?e:0-e|0;b=i>>31;b=(b^i)-b|0;j:{if(b>>>0<=u>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break j}e=2147483647;f=a>>>1|0;l=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>l>>>0)|0;if(b>>>0>=a>>>0){break j}k=L(b);f=32-k|0;b=l>>>f|b<>>0)/(a>>>0)|0;g=b-I(a,e)|0;b=l<>>31;f=g>>>0>=a>>>0;g=g-(f?a:0)|0;e=f|e<<1;f=31-k|0;b=b<<1}if((k|0)==31){break j}while(1){g=g<<1|b>>>31;k=g>>>0>=a>>>0;g=b>>>30&1|g-(k?a:0)<<1;l=g>>>0>=a>>>0;g=g-(l?a:0)|0;e=l|(e<<2|k<<1);b=b<<2;f=f-2|0;if(f){continue}break}}b=i>>31|1;C[n+8>>2]=(((o|0)<0?0-b|0:b)|0)<0?e:0-e|0;b=j>>31;b=(b^j)-b|0;k:{if(b>>>0<=u>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break k}e=2147483647;f=a>>>1|0;k=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>k>>>0)|0;if(b>>>0>=a>>>0){break k}g=L(b);f=32-g|0;b=k>>>f|b<>>0)/(a>>>0)|0;i=b-I(a,e)|0;b=k<>>31;f=i>>>0>=a>>>0;i=i-(f?a:0)|0;e=f|e<<1;f=31-g|0;b=b<<1}if((g|0)==31){break k}while(1){i=i<<1|b>>>31;g=i>>>0>=a>>>0;i=b>>>30&1|i-(g?a:0)<<1;k=i>>>0>=a>>>0;i=i-(k?a:0)|0;e=k|(e<<2|g<<1);b=b<<2;f=f-2|0;if(f){continue}break}}b=j>>31|1;C[n>>2]=(((o|0)<0?0-b|0:b)|0)<0?0-e|0:e;b=r>>31;b=(b^r)-b|0;l:{if(b>>>0<=u>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break l}e=2147483647;f=a>>>1|0;i=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>i>>>0)|0;if(b>>>0>=a>>>0){break l}g=L(b);f=32-g|0;b=i>>>f|b<>>0)/(a>>>0)|0;j=b-I(a,e)|0;b=i<>>31;f=j>>>0>=a>>>0;j=j-(f?a:0)|0;e=f|e<<1;f=31-g|0;b=b<<1}if((g|0)==31){break l}while(1){j=j<<1|b>>>31;g=j>>>0>=a>>>0;j=b>>>30&1|j-(g?a:0)<<1;i=j>>>0>=a>>>0;j=j-(i?a:0)|0;e=i|(e<<2|g<<1);b=b<<2;f=f-2|0;if(f){continue}break}}g=0;a=r>>31|1;C[n+12>>2]=(((o|0)<0?0-a|0:a)|0)<0?0-e|0:e}if(g){break e}ci(c+36|0,c+6976|0)}f=7;m:{if(C[h+72>>2]!=1869968492){break m}if(D[c+16|0]){Pg(h+108|0,C[c+36>>2],C[c+40>>2])}C[c+44>>2]=C[m+8>>2];C[c+48>>2]=C[m+16>>2];v=c,w=Te(C[h+40>>2],C[m+4>>2])+C[m+8>>2]|0,C[v+52>>2]=w;C[c+56>>2]=C[m+16>>2];f=0;if(!E[h+110>>1]){break m}a=C[C[(C[C[q>>2]+4>>2]<<2)+274576>>2]+24>>2];if(a){Fe[a|0](m,t+20|0,q)|0}n:{if(C[c+6960>>2]!=1){a=C[m+56>>2];if(!(D[m+2980|0]&4|(a|0)<2)){b=I(a,48);a=C[m- -64>>2];e=(b+a|0)-48|0;b=C[e+8>>2];e=C[e+4>>2];n=C[a+8>>2];g=C[a+4>>2];a=n-g|0;j=(g|0)<24?a-8|0:a;a=j+32&-64;C[c+44>>2]=a;m=C[c+52>>2]-e|0;e=m+b|0;i=(m|0)<24?e+8|0:e;e=i+32&-64;C[c+52>>2]=e;if(!((a|0)<(n|0)|(g|0)<=0)){a=a+-64|0;C[c+44>>2]=a}if(!((b|0)<(e|0)|(m|0)<=0)){e=e- -64|0;C[c+52>>2]=e}C[h+144>>2]=a-j;a=e-i|0;break n}a=C[c+52>>2];b=a+32&-64;C[c+52>>2]=b;e=C[c+44>>2];g=e+32&-64;C[c+44>>2]=g;C[h+144>>2]=g-e;a=b-a|0;break n}a=C[c+44>>2];b=(a+C[m+2992>>2]|0)+32&-64;C[c+44>>2]=b;e=C[c+52>>2];g=(e+C[m+2996>>2]|0)+32&-64;C[c+52>>2]=g;C[h+144>>2]=b-a;a=g-e|0}C[h+148>>2]=a}a=C[h+36>>2];b=C[h+48>>2];v=c,w=Te(C[h+44>>2]-C[h+32>>2]|0,C[q+8>>2]),C[v+6968>>2]=w;v=c,w=Te(b-a|0,C[q+12>>2]),C[v+6972>>2]=w;if(D[c+16|0]){a=c+20|0;Si(t+20|0,a);ci(c+6968|0,a)}a=C[c+44>>2];if(a){Pg(t+20|0,0-a|0,0)}di(t+20|0,c+6976|0);a=C[c+6976>>2]&-64;C[c+6976>>2]=a;b=C[c+6988>>2]+63&-64;C[c+6988>>2]=b;e=C[c+6984>>2]+63&-64;C[c+6984>>2]=e;g=C[c+6980>>2]&-64;C[c+6980>>2]=g;C[h+36>>2]=b;C[h+32>>2]=a;C[h+28>>2]=b-g;C[h+24>>2]=e-a;C[h+44>>2]=a+C[c+6968>>2]&-64;C[h+48>>2]=b+C[c+6972>>2]&-64;o:{p:{if(C[c+6960>>2]==1){break p}if(!(D[C[h+4>>2]+8|0]&4)){a=C[c+4>>2];if(!D[q+32|0]|(F[a+4>>2]<=d>>>0|A[C[a+8>>2]+d|0]>=0)){break p}}a=Te(C[h+40>>2],C[q+8>>2]);C[h+144>>2]=0;C[h+148>>2]=0;C[h+40>>2]=a;break o}if(!C[h+40>>2]){break o}C[h+40>>2]=C[c+52>>2]-C[c+44>>2]}a=Te(C[h+52>>2],C[q+12>>2]);C[h+72>>2]=1869968492;C[h+52>>2]=a+32&-64;C[h+40>>2]=C[h+40>>2]+32&-64}C[c+8>>2]=0;C[c>>2]=0;C[c+4>>2]=0;zp(c- -64|0);Ce=c+6992|0;return f|0}function EC(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=J(0),l=0,m=0,n=J(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,B=0,E=0;f=Ce-128|0;Ce=f;a:{if(!D[398204]){c=C[97706];d=c+15|0;b:{if((d|0)>C[97711]){a=1;if((d|0)>C[97712]){break b}}a=0}C[97707]=a;d=C[97705];b=d+17|0;c:{if((b|0)>2];e:{if((a|0)!=1025){if((a|0)!=768){if((a|0)!=256){break e}C[97702]=1;break e}f:{switch(C[f+44>>2]-101|0){case 12:C[97702]=1;break e;case 0:if(D[398204]){A[398204]=0;break e}A[398204]=1;break e;case 7:break f;default:break e}}if(!D[398204]){break e}B=390908,E=Se(C[97727],2953)?2953:2981,C[B>>2]=E;Vn();break e}if(!D[398204]){break e}k=G[94431];n=J(J(C[f+44>>2])/k);d=C[97727];g:{if(!Se(d,2953)){k=J(J(C[f+48>>2])/k);break g}n=J(n+J(C[97705]-C[97703]|0));k=J(J(J(C[f+48>>2])/k)+J(C[97706]-C[97704]|0))}k=J(k*J(.0625));h:{if(J(K(k))=C[97723]))){c=C[C[C[97725]+(a<<2)>>2]+(b<<2)>>2]}j:{switch(D[f+40|0]-1|0){case 0:if(Se(d,2981)){break e}d=C[97724];c=C[97722];if((c|0)>(a|0)){e=C[d+(a<<2)>>2]}else{C[d+(c<<2)>>2]=0;a=c;e=0}c=a<<2;a=c+d|0;c=C[c+C[97725]>>2];if(!((b|0)<=0|e)){We(c,255,b<<2)}C[c+(b<<2)>>2]=C[104353];d=C[a>>2];e=b+1|0;k:{if((d|0)>(e|0)){e=d;break k}if((b|0)>=(d|0)){while(1){C[c+(d<<2)>>2]=C[104353];g=C[a>>2];d=g+1|0;C[a>>2]=d;if((b|0)>(g|0)){continue}break}}C[c+(e<<2)>>2]=10;C[a>>2]=e}if(C[97723]<(e|0)){C[97723]=e}g=0;c=0;a=Ce-176|0;Ce=a;if(Yj(22191,a- -64|0)){d=af(C[97727]);l=df(d+5|0,1);b=C[97726];e=C[104352];C[a+56>>2]=3034;C[a+52>>2]=e;C[a+48>>2]=b;fm(l,d+4|0,8185,a+48|0);b=Xh(C[97727],3205);j=Xh(l,3205);h=Xh(22191,3205);i=C[97722];d=df(I(i,C[97723])+1|0,1);l:{if((i|0)<=0){break l}o=C[97724];e=0;while(1){p=c<<2;g=C[p+o>>2];if((g|0)>C[97723]){break l}m:{if((g|0)<=0){break m}g=0;if(C[o+p>>2]<=0){break m}while(1){C[a+64>>2]=0;i=C[C[p+C[97725]>>2]+(g<<2)>>2];n:{if((i|0)==-1){C[a+64>>2]=6234144;break n}C[a+32>>2]=i;fm(a- -64|0,4,14600,a+32|0)}i=af(a- -64|0);if(i){jf(e+d|0,a- -64|0,i);e=e+i|0}g=g+1|0;o=C[97724];i=p+o|0;if((g|0)!=C[i>>2]){A[e+d|0]=44;e=e+1|0;if(C[i>>2]>(g|0)){continue}}break}i=C[97722]}A[e+d|0]=10;e=e+1|0;c=c+1|0;if((i|0)>(c|0)){continue}break}}c=af(d);e=Fe[C[b+12>>2]](b,d,1,c)|0;if((c|0)!=(e|0)){C[a+20>>2]=c;C[a+16>>2]=e;Lj(34299,a+16|0)}g=1;e=C[104352];C[104352]=(e|0)!=99?e+1|0:0;Fe[C[b+16>>2]](b)|0;b=Fe[C[j+12>>2]](j,d,1,c)|0;if((b|0)!=(c|0)){C[a+4>>2]=c;C[a>>2]=b;Lj(34299,a)}Fe[C[j+16>>2]](j)|0;Re(l);Re(d);Fe[C[h+16>>2]](h)|0;Xt()}Ce=a+176|0;if(!g){break e}C[f>>2]=C[104352];Tg(34783,f);break e;case 2:break j;default:break e}}a=(c|0)<0?-1:c;C[104353]=a;C[f+16>>2]=a;Tg(34504,f+16|0)}if(kt(f+24|0)){continue}break}}o:{p:{q:{if(Se(C[97727],2981)){break q}j=0;a=C[97705];d=(a+8|0)/16|0;u=d-1|0;c=C[97706];b=(c+28|0)/16|0;v=b+1|0;w=d+1|0;x=b-1|0;r=(a|0)>=8?d:0;d=C[97725];t=(c|0)>=-12?b:0;b=C[d+(t<<2)>>2];g=C[(r<<2)+b>>2];if((g|0)<0){break q}j=(c|0)>=4?C[C[d+(x<<2)>>2]+(r<<2)>>2]:j;e=0;m=(a|0)>=-23?C[b+(w<<2)>>2]:m;e=(c|0)>=-43?C[C[d+(v<<2)>>2]+(r<<2)>>2]:e;q=(a|0)>=24?C[b+(u<<2)>>2]:q;c=I(g,24)+390800|0;g=C[c+172>>2];a=C[c+164>>2];d=C[c+168>>2];l=d;c=C[c+160>>2];b=c;if((j|0)<0){break o}break p}g=C[97743];d=C[97742];a=C[97741];c=C[97740];j=0;e=0}if(C[99538]<(j|0)){l=d;b=c;break o}b=I(j,24)+390800|0;l=C[b+168>>2];b=C[b+160>>2]}i=b;j=g;b=a;r:{if((m|0)<0){break r}b=a;if(C[99538]<(m|0)){break r}b=I(m,24)+390800|0;j=C[b+172>>2];b=C[b+164>>2]}o=b;m=d;b=c;s:{if((e|0)<0){break s}b=c;if(C[99538]<(e|0)){break s}b=I(e,24)+390800|0;m=C[b+168>>2];b=C[b+160>>2]}p=b;e=g;b=a;t:{if((q|0)<0){break t}b=a;if(C[99538]<(q|0)){break t}b=I(q,24)+390800|0;e=C[b+172>>2];b=C[b+164>>2]}q=b;Js();if(!Se(C[97727],2981)){z=C[97719];y=C[97720];b=C[97703];h=C[97704];C[f+116>>2]=h;C[f+112>>2]=b;C[f+100>>2]=h;C[f+96>>2]=b;C[f+104>>2]=16;C[f+108>>2]=28;C[f+84>>2]=h;C[f+80>>2]=b;s=(h|0)%4|0;h=s>>31;h=(h^s)-h|0;s=(b|0)%4|0;b=s>>31;b=(b^s)-b|0;u:{v:{w:{switch(z|0){case 0:C[f+80>>2]=h<<4;b=64;break v;case 1:C[f+80>>2]=b<<4;b=32;break v;case 2:C[f+80>>2]=h<<4;b=0;break v;case 3:break w;default:break u}}C[f+80>>2]=b<<4;b=96}C[f+84>>2]=b}C[f+88>>2]=16;C[f+92>>2]=28;hs(y,f+120|0,f+124|0);El(C[97698],y,f+80|0,f+96|0)}b=Dh();h=b-C[97697]|0;if((h|0)<=19){lh(20-h|0);b=Dh()}C[97697]=b;if(D[419696]){C[97711]=0;C[97712]=0;if((c|0)<=0){c=0}else{C[97711]=(t<<4)+c;c=1}if((l|0)>0){C[(c<<2)+390844>>2]=i+(x<<4)}if(C[97707]){C[97704]=C[97704]-1;C[97706]=C[97706]-3}C[97719]=0}if(D[419693]){c=C[97723]<<4;C[97714]=c;C[97713]=c;if((a|0)<=0){a=0}else{C[97713]=((r<<4)-a|0)+16;a=1}if((j|0)>0){C[((a<<2)+390800|0)+52>>2]=((w<<4)+16|0)-o}if(C[97708]){C[97703]=C[97703]+1;C[97705]=C[97705]+3}C[97719]=1}if(D[419695]){a=C[97722]<<4;C[97716]=a;C[97715]=a;if((d|0)<=0){a=0}else{C[97715]=((t<<4)-d|0)+16;a=1}if((p|0)>0){C[((a<<2)+390800|0)+60>>2]=((v<<4)+16|0)-m}if(C[97709]){C[97704]=C[97704]+1;C[97706]=C[97706]+3}C[97719]=2}if(D[419694]){C[97717]=0;C[97718]=0;if((g|0)<=0){a=0}else{C[97717]=(r<<4)+g;a=1}if((q|0)>0){C[((a<<2)+390800|0)+68>>2]=(u<<4)+e}if(C[97710]){C[97703]=C[97703]-1;C[97705]=C[97705]-3}C[97719]=3}c=Ce-16|0;Ce=c;a=C[97698];x:{if(!(C[a>>2]==422389?a:0)){C[c>>2]=9675;Qe(19745,c);break x}d=C[a+436>>2];if(d){Fe[C[a+52>>2]](a,d,C[a+536>>2],C[a+540>>2])|0;d=C[a+440>>2];if(d){C[d+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Fe[C[a+88>>2]](a)}Ce=c+16|0;c=Ce-16|0;Ce=c;a=C[97698];y:{if(!(C[a>>2]==422389?a:0)){C[c>>2]=9675;Qe(19745,c);break y}z:{e=C[a+444>>2];if(e){C[a+444>>2]=C[e+24>>2];C[e+24>>2]=0;break z}e=If(1,28);if(e){break z}_e(0);break y}d=C[a+440>>2];C[(d?d+24|0:a+436|0)>>2]=e;C[a+440>>2]=e;C[e>>2]=4;C[e+4>>2]=0;A[e+8|0]=D[a+420|0];A[e+9|0]=D[a+421|0];A[e+10|0]=D[a+422|0];A[e+11|0]=D[a+423|0];if(C[a+432>>2]){break y}d=C[a+436>>2];if(!d){break y}Fe[C[a+52>>2]](a,d,C[a+536>>2],C[a+540>>2])|0;d=C[a+440>>2];if(d){C[d+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Ce=c+16|0;Ce=f+128|0}function Hw(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,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;e=Ce-800|0;Ce=e;a:{if(!a){d=37;break a}g=d|3;f=b?d:g;k=f&1?0:b;b:{if(!k){b=C[a+4>>2];break b}d=35;b=C[b>>2];if((b|0)!=C[a+4>>2]){break a}}c:{d:{i=C[b+656>>2];if(C[i+1456>>2]==65535){break d}h=C[i+1164>>2];if(!h){break d}if(!c){c=0;break c}d=6;if(F[i+1168>>2]>>0){break a}c=E[h+(c<<1)>>1];if(c){break c}break a}d=6;if(F[i+12>>2]<=c>>>0){break a}}C[a+164>>2]=65536;C[a+168>>2]=65536;l=f&1024?g:f;e:{f:{if(!k){break f}C[a+164>>2]=C[k+16>>2];C[a+168>>2]=C[k+20>>2];d=C[k+44>>2];if(l&8|(d|0)==-1){break f}f=C[k>>2];g=C[f+532>>2];if(!C[g+96>>2]){break f}if(Fe[C[g+72>>2]](b,d,c,l,C[f+104>>2],a+76|0,e+60|0)|0){break f}C[a+108>>2]=0;C[a+24>>2]=E[e+62>>1]<<6;C[a+28>>2]=E[e+60>>1]<<6;d=B[e+64>>1];C[a+32>>2]=d<<6;f=B[e+66>>1];C[a+36>>2]=f<<6;C[a+40>>2]=E[e+68>>1]<<6;g=B[e+70>>1];C[a+44>>2]=g<<6;h=B[e+72>>1];C[a+48>>2]=h<<6;i=E[e+74>>1];j=f;f=l&16;C[a+104>>2]=f?h:j;C[a+100>>2]=f?g:d;C[a+72>>2]=1651078259;C[a+52>>2]=i<<6;Fe[C[C[b+532>>2]+112>>2]](b,0,c,e+20|0,e+40|0);C[a+56>>2]=E[e+40>>1];if(!(!D[b+292|0]|!E[b+330>>1])){Fe[C[C[b+532>>2]+112>>2]](b,1,c,e+20|0,e+40|0);C[a+60>>2]=E[e+40>>1];break e}if(E[b+364>>1]!=65535){C[a+60>>2]=B[b+434>>1]-B[b+436>>1];break e}C[a+60>>2]=B[b+220>>1]-B[b+222>>1];break e}d=6;if(l&16384){break a}h=C[i+1896>>2];g:{if(h){d=0;h:{i:{switch(D[i+2924|0]){case 0:d=D[C[i+2932>>2]+c|0];break h;case 3:break i;default:break h}}if(F[i+2944>>2]>c-C[i+2940>>2]>>>0){d=D[i+2948|0];break h}d=C[i+2932>>2];j=d+C[i+2936>>2]|0;f=D[d+1|0]|D[d|0]<<8;d=d+2|0;while(1){if(c>>>0>=f>>>0){g=D[d+2|0]|D[d+1|0]<<8;if(g>>>0>c>>>0){d=D[d|0];A[i+2948|0]=d;C[i+2944>>2]=g-f;C[i+2940>>2]=f;break h}f=g;d=d+3|0;if(j>>>0>d>>>0){continue}}break}d=0}h=(i+(((h>>>0>(d&255)>>>0?d:h-1|0)&255)<<2)|0)+1900|0;d=C[h>>2];f=C[d+68>>2];g=C[i+1392>>2];j=C[d+60>>2];C[e+48>>2]=C[d+56>>2];C[e+52>>2]=j;j=C[d+52>>2];C[e+40>>2]=C[d+48>>2];C[e+44>>2]=j;d=C[h>>2];m=C[d+72>>2];n=C[d+76>>2];if((f|0)==(g|0)){break g}u=a,v=of(C[a+164>>2],g,f),C[u+164>>2]=v;u=a,v=of(C[a+168>>2],g,f),C[u+168>>2]=v;q=1;break g}d=i+1380|0;f=C[d+4>>2];C[e+48>>2]=C[d>>2];C[e+52>>2]=f;d=i+1372|0;f=C[d+4>>2];C[e+40>>2]=C[d>>2];C[e+44>>2]=f;n=C[i+1400>>2];m=C[i+1396>>2]}f=0;C[a+108>>2]=0;C[a+72>>2]=1869968492;r=l&1;A[a+161|0]=!r;h=l&2;o=!h;A[a+160|0]=o;d=C[b+656>>2];p(e+72|0,0,728);C[e+68>>2]=a;C[e+64>>2]=b;A[e+125|0]=1;C[e+60>>2]=C[b+100>>2];g=C[C[a+156>>2]>>2];C[e+72>>2]=g;C[e+80>>2]=g+56;C[e+76>>2]=g+20;Vi(g);C[e+128>>2]=0;C[e+132>>2]=0;g=l>>>16|0;if(!(h|!k)){C[e+132>>2]=C[C[k+40>>2]>>2];C[e+128>>2]=C[C[a+156>>2]+36>>2]}h=g&15;C[e+100>>2]=0;C[e+104>>2]=0;C[e+92>>2]=0;C[e+96>>2]=0;C[e+84>>2]=0;C[e+88>>2]=0;C[e+136>>2]=d;g=C[d+92>>2];C[e+760>>2]=g;C[e+776>>2]=C[d+1308>>2];j:{if(C[d+1368>>2]==1){break j}f=107;if(g>>>0<1240){break j}f=g>>>0<33900?1131:32768}C[e+788>>2]=h;C[e+768>>2]=f;if(l&256){A[e+621|0]=1}A[e+126|0]=0;d=C[C[b+128>>2]+48>>2];k:{if(d){d=Fe[C[C[d>>2]>>2]](C[d+4>>2],c,e+20|0)|0;C[e+12>>2]=C[e+20>>2];C[e+36>>2]=C[e+24>>2];break k}d=Dm(C[b+656>>2]+1176|0,c,e+12|0,e+36|0)}if(d){break a}j=C[C[e+64>>2]+656>>2];s=C[j+1896>>2];l:{if(!s){d=j+1324|0;break l}g=0;m:{n:{switch(D[j+2924|0]){case 0:g=D[C[j+2932>>2]+c|0];break m;case 3:break n;default:break m}}if(F[j+2944>>2]>c-C[j+2940>>2]>>>0){g=D[j+2948|0];break m}d=C[j+2932>>2];t=d+C[j+2936>>2]|0;f=D[d+1|0]|D[d|0]<<8;d=d+2|0;while(1){if(c>>>0>>0){break m}h=D[d+2|0]|D[d+1|0]<<8;if(h>>>0>c>>>0){g=D[d|0];A[j+2948|0]=g;C[j+2944>>2]=h-f;C[j+2940>>2]=f;break m}f=h;d=d+3|0;if(t>>>0>d>>>0){continue}break}}d=3;if(g>>>0>=s>>>0){break a}d=C[(j+(g<<2)|0)+1900>>2];if(!k|!C[e+128>>2]){break l}C[e+132>>2]=C[(C[k+40>>2]+(g<<2)|0)+4>>2]}g=C[d+544>>2];C[e+756>>2]=g;C[e+772>>2]=C[d+568>>2];f=0;o:{if(C[C[e+136>>2]+1368>>2]==1){break o}f=107;if(g>>>0<1240){break o}f=g>>>0<33900?1131:32768}C[e+764>>2]=f;C[e+612>>2]=C[d+528>>2];f=C[d+532>>2];C[e+796>>2]=d;C[e+616>>2]=f;h=C[e+36>>2];d=Gw(e+60|0,C[e+12>>2],h);if((d&255)==164){o=0;A[a+160|0]=0;q=1;d=Gw(e+60|0,C[e+12>>2],h)}f=C[C[b+128>>2]+48>>2];p:{if(f){C[e+24>>2]=h;C[e+20>>2]=C[e+12>>2];Fe[C[C[f>>2]+4>>2]](C[f+4>>2],e+20|0);break p}f=C[b+656>>2];if(C[f+1204>>2]){break p}Wf(C[f+1176>>2],e+12|0)}if(d){break a}f=0;g=0;d=C[C[b+128>>2]+48>>2];q:{if(!d){f=C[i+1200>>2];if(!f){break q}g=h;f=(C[i+1204>>2]+C[f+(c<<2)>>2]|0)-1|0}C[a+140>>2]=g;C[a+136>>2]=f}f=C[e+68>>2];if(f){d=C[e+76>>2];g=C[d+4>>2];C[f+108>>2]=C[d>>2];C[f+112>>2]=g;C[f+124>>2]=C[d+16>>2];g=C[d+12>>2];C[f+116>>2]=C[d+8>>2];C[f+120>>2]=g;d=C[C[b+128>>2]+48>>2]}r:{if(!d){break r}f=C[C[d>>2]+8>>2];if(!f){break r}C[e+24>>2]=0;C[e+20>>2]=C[e+92>>2];g=C[e+104>>2];C[e+28>>2]=C[e+100>>2];C[e+32>>2]=g;d=Fe[f|0](C[d+4>>2],c,0,e+20|0)|0;C[e+92>>2]=C[e+20>>2];f=C[e+32>>2];C[e+100>>2]=C[e+28>>2];C[e+104>>2]=f;if(d){break a}}if(l&1024){C[a+32>>2]=C[e+92>>2];C[a+40>>2]=C[e+612>>2];b=C[e+48>>2];c=C[e+52>>2];d=C[e+40>>2];f=C[e+44>>2];a=C[a+156>>2];C[a+28>>2]=m;C[a+32>>2]=n;A[a+8|0]=1;C[a+20>>2]=b;C[a+24>>2]=c;C[a+12>>2]=d;C[a+16>>2]=f;break e}s:{if(E[b+250>>1]){B[e+20>>1]=0;B[e+12>>1]=0;Fe[C[C[b+532>>2]+112>>2]](b,0,c,e+20|0,e+12|0);d=E[e+12>>1];C[a+32>>2]=B[e+20>>1];break s}d=C[e+612>>2]}C[a+56>>2]=d;C[a+40>>2]=d;A[C[a+156>>2]+8|0]=0;t:{if(!(!D[b+292|0]|!E[b+330>>1])){B[e+20>>1]=0;B[e+12>>1]=0;Fe[C[C[b+532>>2]+112>>2]](b,1,c,e+20|0,e+12|0);C[a+48>>2]=B[e+20>>1];d=E[e+12>>1];C[a+52>>2]=d;f=1;break t}if(E[b+364>>1]!=65535){d=B[b+434>>1]-B[b+436>>1]|0}else{d=B[b+220>>1]-B[b+222>>1]|0}C[a+52>>2]=d;f=0}C[a+72>>2]=1869968492;C[a+60>>2]=d;g=a+108|0;C[a+124>>2]=k?E[k+14>>1]<24?260:4:4;u:{if(!(C[e+44>>2]|(C[e+40>>2]!=65536|C[e+52>>2]!=65536))){if(!C[e+48>>2]){break u}}Si(g,e+40|0)}if(m|n){Pg(g,m,n)}c=C[a+40>>2];C[e+16>>2]=0;C[e+12>>2]=c;c=e+12|0;d=e+40|0;ci(c,d);C[a+40>>2]=C[e+12>>2]+m;C[e+12>>2]=0;C[e+16>>2]=C[a+52>>2];ci(c,d);C[a+52>>2]=C[e+16>>2]+n;if(!(!q&r)){h=C[a+168>>2];i=C[a+164>>2];v:{if(C[e+128>>2]?o:0){break v}c=B[a+110>>1];if((c|0)<=0){break v}c=c&65535;d=C[a+112>>2];while(1){u=d,v=Te(C[d>>2],i),C[u>>2]=v;u=d,v=Te(C[d+4>>2],h),C[u+4>>2]=v;d=d+8|0;j=c>>>0>1;c=c-1|0;if(j){continue}break}}u=a,v=Te(C[a+40>>2],i),C[u+40>>2]=v;u=a,v=Te(C[a+52>>2],h),C[u+52>>2]=v}di(g,e+20|0);c=C[e+20>>2];C[a+24>>2]=C[e+28>>2]-c;d=C[e+32>>2];C[a+28>>2]=d-C[e+24>>2];if(!E[b+250>>1]){C[a+32>>2]=c}C[a+36>>2]=d;if(f){C[a+44>>2]=C[a+32>>2]+(C[a+40>>2]/-2|0);break e}if(!(l&16)){break e}fk(a+24|0,C[a+52>>2])}d=0}Ce=e+800|0;return d|0}function MR(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ce-32|0;Ce=k;a:{if(!C[c+80>>2]){break a}if(!Hf(c,b,13633,0)){break a}p=C[c+80>>2];b:{if(!p){break b}e=p-1|0;f=C[c+92>>2];i=D[f+15|0];while(1){c:{if((d|0)==(e|0)){d=p;break c}d=d+1|0;if((i|0)==D[(f+I(d,20)|0)+15|0]){continue}}break}if(!p){break b}j=C[c+92>>2];i=0;while(1){o=C[a+112>>2];h=d;d:{if(d>>>0<=i>>>0){break d}d=i;f=C[o+8>>2];if(!f){break d}while(1){e=I(d,20)+j|0;e:{if((f|0)!=C[e>>2]){break e}m=E[e+12>>1];if((m&96)!=96){break e}B[e+12>>1]=m&65439;A[e+18|0]=4}d=d+1|0;if((h|0)!=(d|0)){continue}break}}m=C[o+88>>2];q=(m|0)!=0;f=i;f:{g:{if(h>>>0<=f>>>0){m=i+1|0;if(m>>>0>>0){break g}break f}h:{while(1){d=f+1|0;if(D[(I(f,20)+j|0)+19|0]>=4){i:{if(!m){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){g=I(e,20)+j|0;if(m&C[g+4>>2]){q=1;if((E[g+12>>1]&112)==48){break i}j:{while(1){d=I(e,20)+j|0;if(D[d+12|0]&32|D[d+18|0]!=4){break j}e=e+1|0;if(h>>>0>e>>>0){continue}break}e=h}f=e;A[(I(e,20)+j|0)+19|0]=4;d=e+1|0;q=0;break i}q=1;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k:{if(C[c+56>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){l:{if(d>>>0>=h>>>0){break l}while(1){e=I(d,20)+j|0;if(D[e+12|0]&32){break l}e=D[e+18|0];if(e>>>0>31|!(1<>>0>>0?h:e)-1|0;m:{while(1){m=d;d=d+1|0;if(h>>>0<=d>>>0){m=e;break m}g=I(d,20)+j|0;if(D[g+12|0]&32){break m}n=D[g+18|0];l=1<>>0>31;if(!(l&96?n:1)){continue}break}if(!(l&727046)|n|D[g+19|0]!=8){break m}A[g+19|0]=4;f=d}d=m+2|0;if(h>>>0>d>>>0){continue}break}}if(f>>>0<=i>>>0){break h}f=f-(D[(I(f,20)+j|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(h|0)){continue}break}f=h}n:{if(!((f|0)!=(h|0)|f>>>0<=i>>>0)){f=h;d=f-1|0;e=I(d,20)+j|0;if(D[e+12|0]&32){break n}f=D[e+18|0]==6?d:h}if(f>>>0<=i>>>0|f>>>0>=h>>>0){break n}while(1){d=I(f,20)+j|0;if(D[d+12|0]&32){break n}d=D[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}m=i+1|0;f=i;break g}m=i+1|0;n=m>>>0>=h>>>0;o:{if(n|f>>>0<=i>>>0){break o}d=((f|0)==(h|0)?-2:-1)+f|0;p:{q:{e=C[c+56>>2];if((e|0)==1298954605|(e|0)==1415671148){break q}while(1){e=1;r:{if(d>>>0<=i>>>0){break r}while(1){s:{g=I(d,20)+j|0;if(D[g+12|0]&32){break s}g=D[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}d=i}g=I(d,20)+j|0;if(D[g+12|0]&32|D[g+18|0]!=4|D[g+19|0]==2){break p}g=d+1|0;if(g>>>0>=h>>>0|(D[(I(g,20)+j|0)+18|0]!=6|e)){break q}d=d-1|0;continue}}if(D[(I(d,20)+j|0)+19|0]==2|d>>>0<=i>>>0){break p}e=d;while(1){l=d-1|0;g=I(l,20)+j|0;if(D[g+19|0]==2){C[k+24>>2]=C[g+16>>2];r=C[g+12>>2];C[k+16>>2]=C[g+8>>2];C[k+20>>2]=r;r=C[g+4>>2];C[k+8>>2]=C[g>>2];C[k+12>>2]=r;Yf(g,I(d,20)+j|0,I(e-l|0,20));d=I(e,20)+j|0;C[d+16>>2]=C[k+24>>2];g=C[k+20>>2];C[d+8>>2]=C[k+16>>2];C[d+12>>2]=g;g=C[k+12>>2];C[d>>2]=C[k+8>>2];C[d+4>>2]=g;f=f-(f>>>0>l>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>h>>>0?h:d;if(d-e>>>0>=2){eg(c,e,d)}e=e-1|0}d=l;if(i>>>0>>0){continue}break}break o}e=i;while(1){if(D[(I(e,20)+j|0)+19|0]==2){d=f+1|0;d=d>>>0>h>>>0?h:d;if(d-e>>>0<2){break o}eg(c,e,d);break g}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(n){break f}}l=I(i,20)+j|0;if(D[l+19|0]!=1|(D[l+18|0]==15|0)==((E[l+12>>1]&96)==32|0)){break f}g=C[C[o>>2]+16>>2];t:{u:{if((g|0)==12){break u}v:{w:{x:{d=m;if(f>>>0>d>>>0){while(1){e=d+1|0;n=I(d,20)+j|0;if(!(D[n+12|0]&32)&D[n+18|0]==4){break x}d=e;if((f|0)!=(d|0)){continue}break}}switch(g-5|0){case 4:break v;case 0:break w;default:break u}}if(e>>>0>=f>>>0){break t}g=I(e,20)+j|0;if(D[g+12|0]&32){break t}n=d;d=D[g+18|0];d=d>>>0<32&(1<>>0>>0?h:d)-1|0;e=f;while(1){y:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break y}if(D[(I(e,20)+j|0)+19|0]<6){continue}}break}if(d>>>0>=h>>>0){break u}break t}d=f+1|0;g=(d>>>0>>0?h:d)-1|0;e=f;while(1){z:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break z}n=D[(I(e,20)+j|0)+19|0];if(n>>>0>31|!(1<>>0>>0){break t}}A:{d=m;if(f>>>0<=d>>>0){break A}while(1){B:{e=d+1|0;g=I(d,20)+j|0;if(!(D[g+12|0]&32)&D[g+18|0]==4){break B}d=e;if((f|0)!=(d|0)){continue}break A}break}if(e>>>0>=f>>>0){break t}g=I(e,20)+j|0;if(D[g+12|0]&32){break t}n=d;d=D[g+18|0];d=d>>>0<32&(1<>>0>i>>>0?i:d;d=h;while(1){C:{d=d-1|0;if(i>>>0>=d>>>0){d=e;break C}if(D[(I(d,20)+j|0)+19|0]==14){continue}}break}if(D[o+5|0]){break t}e=I(d,20)+j|0;if(D[e+12|0]&32|D[e+18|0]!=4){break t}e=f+1|0;if(e>>>0>=d>>>0){break t}while(1){d=d-(D[(I(e,20)+j|0)+18|0]==7)|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}e=d+1|0;if(e-i>>>0>=2){eg(c,i,e)}C[k+24>>2]=C[l+16>>2];e=C[l+12>>2];C[k+16>>2]=C[l+8>>2];C[k+20>>2]=e;e=C[l+4>>2];C[k+8>>2]=C[l>>2];C[k+12>>2]=e;Yf(l,I(m,20)+j|0,I(d-i|0,20));e=I(d,20)+j|0;C[e+16>>2]=C[k+24>>2];g=C[k+20>>2];C[e+8>>2]=C[k+16>>2];C[e+12>>2]=g;g=C[k+12>>2];C[e>>2]=C[k+8>>2];C[e+4>>2]=g;f=f-(f>>>0>i>>>0&d>>>0>=f>>>0)|0}D:{if(!q){break D}d=f+1|0;if(h>>>0<=d>>>0){break D}e=C[o+88>>2];E:{F:{while(1){G:{g=I(d,20)+j|0;if(e&C[g+4>>2]){if((E[g+12>>1]&96)!=32){break D}e=C[c+56>>2];if((e|0)==1298954605|(e|0)==1415671148){break G}e=f;if(i>>>0>=e>>>0){break F}while(1){e=f;f=e-1|0;l=I(f,20)+j|0;H:{if(D[l+12|0]&32){break H}l=D[l+18|0];if(l>>>0>31){break H}if(1<>>0>i>>>0){continue}break}e=i;break E}d=d+1|0;if((h|0)!=(d|0)){continue}break D}break}e=f}if(e>>>0<=i>>>0){break E}f=I(e,20)+j|0;l=f-20|0;if(D[l+12|0]&32|D[l+18|0]!=4|(D[f+12|0]&32|e>>>0>=h>>>0)){break E}l=e;e=D[f+18|0];e=l+(e>>>0<32&(1<>>0>=2){eg(c,e,f)}C[k+24>>2]=C[g+16>>2];f=C[g+12>>2];C[k+16>>2]=C[g+8>>2];C[k+20>>2]=f;f=C[g+4>>2];C[k+8>>2]=C[g>>2];C[k+12>>2]=f;f=I(e,20)+j|0;Yf(f+20|0,f,I(d-e|0,20));C[f+16>>2]=C[k+24>>2];d=C[k+20>>2];C[f+8>>2]=C[k+16>>2];C[f+12>>2]=d;d=C[k+12>>2];C[f>>2]=C[k+8>>2];C[f+4>>2]=d}d=I(i,20)+j|0;I:{if(D[d+19|0]!=2){break I}J:{if(i){e=i-1|0;if(1<>1]&8190){break J}}C[d+4>>2]=C[d+4>>2]|C[o+116>>2];break I}Rf(c,e,m)}K:{if(!D[o+5|0]){break K}d=C[a+4>>2];if((d|0)==1399418472|(d|0)==1415671148|h-i>>>0<2){break K}eg(c,i,h)}f=C[c+80>>2];d=h+1|0;e=d>>>0>>0?f:d;j=C[c+92>>2];i=D[(j+I(h,20)|0)+15|0];d=h;while(1){L:{d=d+1|0;if(f>>>0<=d>>>0){d=e;break L}if((i|0)==D[(I(d,20)+j|0)+15|0]){continue}}break}i=h;if(h>>>0

>>0){continue}break}}Hf(c,b,13662,0)}Ce=k+32|0}function Rj(a){var 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;if(!C[105545]){m=422180,n=dj(),C[m>>2]=n}C[105620]=128;C[105619]=422496;C[105618]=0;Br();a=a>>>4&512|a;i=a&560?a|16384:a;if(i&16384){a=D[417678];if(!a){_g(24207,244,0);_g(24068,245,0);_g(26279,246,0);_g(25812,247,0);qf(771,0);qf(770,0);qf(513,0);C[94491]=1;a=Ce-144|0;Ce=a;a:{if(cg(24092,0)){break a}pi(2,0,a+4|0);if(!C[a+4>>2]){C[a+4>>2]=468;pi(2,a+4|0,0)}pi(15,0,a+4|0);if(C[a+4>>2]){break a}C[a+4>>2]=468;pi(15,a+4|0,0)}Ce=a+144|0;a=D[417678]}A[417678]=a+1;h=16384}if(i&1){a=D[417664];if(!a){a=D[417664]}A[417664]=a+1;h=h|1}b:{if(i&32){a=D[417669];if(!a){g=Ce-16|0;Ce=g;if(C[105668]){ul()}Br();e=-1;c:{if((Rj(16384)|0)<0){break c}a=Ce-2048|0;Ce=a;gf(a,125088,2048);C[a+144>>2]=55;C[a+148>>2]=56;C[a+136>>2]=53;C[a+140>>2]=54;C[a+128>>2]=51;C[a+132>>2]=52;C[a+120>>2]=49;C[a+124>>2]=50;C[a+152>>2]=57;C[a+156>>2]=48;if(qg(420128,a,2048)){gf(420128,a,2048)}Ce=a+2048|0;lf(422192,0,180);_g(26907,257,422192);_g(23844,258,422192);_g(27212,259,422192);_g(27241,260,422192);_g(23924,261,422192);_g(23901,262,422192);_g(26861,263,422192);_g(25189,264,422192);C[105591]=1;C[105580]=0;d:{e:{b=Eg(24626);f:{if(b){g:{if(D[b|0]){if(!D[b|0]){break g}a=b;while(1){f=hh(a,44);h:{if(f){d=f-a|0;break h}d=af(a)}j=1;c=0;i:{if((af(C[95360])|0)!=(d|0)){break i}c=0;if(Ng(C[95360],a,d)){break i}j=0;c=Fe[C[95362]]()|0}if(!f|!D[f+1|0]){break g}a=f+1|0;if(!c){continue}break}break g}c=Fe[C[95362]]()|0}if(c){break f}C[g>>2]=b;Qe(17902,g);break d}c=Fe[C[95362]]()|0;if(!c){break e}}C[105668]=c;C[c>>2]=C[C[(j<<2)+149500>>2]>>2];C[C[105668]+392>>2]=1;a=C[105668];C[a+348>>2]=0;C[a+408>>2]=3;C[a+412>>2]=3;C[a+776>>2]=0;C[a+416>>2]=2;C[a+420>>2]=0;C[a+440>>2]=0;C[a+444>>2]=0;C[a+432>>2]=0;C[a+436>>2]=1;C[a+424>>2]=16;C[a+428>>2]=0;C[a+448>>2]=0;C[a+452>>2]=0;C[a+456>>2]=0;C[a+460>>2]=0;C[a+464>>2]=0;C[a+468>>2]=0;C[a+512>>2]=1;C[a+516>>2]=0;b=a+488|0;C[b>>2]=4;c=a+480|0;C[c>>2]=0;C[a+472>>2]=-1;C[a+476>>2]=2;d=C[a+232>>2];if(d){Fe[d|0](a,b,a+476|0,c);a=C[105668]}C[a+508>>2]=0;C[a+484>>2]=0;C[a+500>>2]=0;C[a+504>>2]=0;C[a+492>>2]=0;C[a+496>>2]=1;a=C[105616];C[105616]=a+1;C[C[105668]+788>>2]=a+1;b=C[105616];C[105616]=b+1;a=C[105668];C[a+792>>2]=b+1;if((Fe[C[a+4>>2]](a)|0)<0){ul();break c}if(!C[C[105668]+372>>2]){ul();e=Qe(5912,0);break c}j:{k:{if(cg(24642,0)){break k}a=C[105668];if(!a){break j}if(C[a+360>>2]){break k}C[a+360>>2]=1;b=C[a+284>>2];if(!b){break k}Fe[b|0](a)}a=C[105668];if(!a){break j}b=C[a+308>>2];if(!b){break j}e=0;if(Fe[b|0](a)|0){break c}}qf(771,1);qf(770,1);a=C[105668];l:{if(!a){break l}b=C[a+380>>2];m:{if(!b){break m}n:{while(1){if(!(D[b+49|0]&2)){b=C[b+172>>2];if(b){continue}break n}break}c=C[a+312>>2];if(!c){break m}Fe[c|0](a,b);a=C[105668]}if(!a){break l}}b=C[a+288>>2];if(!b){break l}Fe[b|0](a)}e=0;break c}Qe(18943,0)}xr();Rs();Qj(16384)}Ce=g+16|0;if((e|0)<0){break b}a=D[417669]}A[417669]=a+1;h=h|32}if(i&16){a=D[417668];if(!a){c=0;e=0;f=Ce-16|0;Ce=f;if(C[104426]){vt()}lf(417824,0,64);o:{p:{q:{r:{s:{t:{u:{b=Eg(24610);if(!b){b=0;e=1;break u}if(!D[b|0]){break u}a=b;while(1){if(!(c|!D[a|0])){g=hh(a,44);v:{if(g){c=g-a|0;break v}c=af(a)}w:{x:{y:{if((af(C[94486])|0)!=(c|0)){break y}if(Ng(C[94486],a,c)){break y}a=377944;break x}z:{if((af(C[94478])|0)!=(c|0)){break z}if(Ng(C[94478],a,c)){break z}a=377912;break x}d=0;if((af(C[94482])|0)!=(c|0)){break w}d=0;if(Ng(C[94482],a,c)){break w}a=377928}lf(417704,0,120);C[104426]=C[a>>2];C[104427]=C[a+4>>2];e=1;d=Fe[C[a+8>>2]](417712)|0}c=d;a=g+1|0;if(g){continue}}break}if(c){break p}if(!e){break t}break q}a=C[94489];if(!a){lf(417704,0,120);c=C[94487];C[104426]=C[94486];C[104427]=c;if(Fe[C[94488]](417712)|0){break p}}if(!C[94481]){lf(417704,0,120);a=C[94479];C[104426]=C[94478];C[104427]=a;if(Fe[C[94480]](417712)|0){break p}if(C[94485]){break q}break r}if(!C[94485]){break r}if(!a){break q}if(e){break s}}C[f>>2]=b;Qe(17919,f);break q}Qe(18917,0);break q}lf(417704,0,120);a=C[94483];C[104426]=C[94482];C[104427]=a;if(Fe[C[94484]](417712)|0){break p}}lf(417704,0,120);a=-1;break o}m=417796,n=dj(),C[m>>2]=n;a=C[104428];if(!a){C[104428]=133;a=133}if(!C[104429]){C[104429]=134}if(!C[104430]){C[104430]=135}if(!C[104431]){C[104431]=136}if(!C[104432]){C[104432]=137}if(!C[104433]){C[104433]=138}if(!C[104434]){C[104434]=139}if(!C[104435]){C[104435]=140}if(!C[104436]){C[104436]=141}if(!C[104437]){C[104437]=142}if(!C[104438]){C[104438]=143}if(!C[104439]){C[104439]=144}if(!C[104440]){C[104440]=145}if(!C[104441]){C[104441]=146}Fe[a|0]();a=0}Ce=f+16|0;if((a|0)<0){break b}a=D[417668]}A[417668]=a+1;h=h|16}if(i&512){a=D[417673];if(!a){f=Ce-1024|0;Ce=f;Ck(31285,0);Ck(31833,0);a=Eg(27055);A:{if(!a|!D[a|0]){break A}if(pf(f,a,1024)>>>0>1023){break A}c=Xh(f,21803);g=Ce+-64|0;Ce=g;B:{if(!c){Qe(6735,0);break B}a=Fe[C[c>>2]](c)|0;b=a+1|0;b=Fe[C[94503]](b>>>0<=1?1:b)|0;if(b){C[94507]=C[94507]+1}if(!b){Fe[C[c+16>>2]](c)|0;Qe(1110,0);break B}if((Fe[C[c+8>>2]](c,b,a,1)|0)!=1){Fe[C[c+16>>2]](c)|0;if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}Qe(28730,0);break B}Fe[C[c+16>>2]](c)|0;c=a+b|0;A[c|0]=0;if((a|0)>0){e=b;while(1){a=c;d=hh(e,10);if(d){A[d|0]=0;a=d}d=Wh(e,28805);C:{if(!d){break C}d=af(28805)+d|0;j=hh(d,44);if(!j){break C}j=j-d|0;if(j+2>>>0>63){break C}k=d;d=j+1|0;pf(g,k,d);if(Ng(g,12362,d)){break C}l=((Ck(e,1)|0)>0)+l|0}e=a+1|0;if(c>>>0>e>>>0){continue}break}}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}Ce=g- -64|0}b=Eg(26337);if(!(!b|!D[b|0])){c=af(b);a=c+1|0;a=Fe[C[94503]](a>>>0<=1?1:a)|0;if(a){C[94507]=C[94507]+1}gf(a,b,c);A[a+c|0]=0;b=a;e=hh(a,10);if(e){while(1){A[e|0]=0;Ck(b,2);b=e+1|0;e=hh(b,10);if(e){continue}break}}Ck(b,2);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}_g(24484,248,0);_g(23215,249,0);Ce=f+1024|0;if(!C[104768]){m=419072,n=dj(),C[m>>2]=n}_g(23947,251,0);a=-1;D:{if((Rj(16384)|0)<0){break D}a=Fe[C[95340]]()>>31}if((a|0)<0){break b}a=D[417673]}A[417673]=a+1;h=h|512}if(i&8192){a=D[417677];if(!a){a=0;b=Ce+-64|0;Ce=b;jt(250,0);if((Fe[C[95341]]()|0)>0){while(1){if(Rn(a)){C[b+16>>2]=a;C[b+8>>2]=1619;Df(b+8|0)}a=a+1|0;if((Fe[C[95341]]()|0)>(a|0)){continue}break}}Ce=b- -64|0;a=D[417677]}A[417677]=a+1;h=h|8192}if(i&4096){Qe(3581,0);break b}if(i&32768){a=D[417679];if(!a){if(!C[105598]){m=422392,n=dj(),C[m>>2]=n}a=-1;E:{if((Rj(16384)|0)<0){break E}a=Fe[C[95329]]()>>31}if((a|0)<0){break b}a=D[417679]}A[417679]=a+1}return 0}Qj(h);return-1}function OP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ce-16|0;Ce=g;C[g+4>>2]=0;f=C[e+32>>2];j=C[f+278664>>2];a:{b:{c:{d:{if(cf(a,23363,7)){break d}e:{c=D[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}C[g+12>>2]=0;d=C[f+88>>2];i=d;d=(c?-8:-7)+b|0;h=d+1|0;i=Ve(j,1,i,i+h|0,C[f+84>>2],g+12|0);C[f+84>>2]=i;b=C[g+12>>2];if(!b){b=i+C[f+88>>2]|0;t(b,c?a+8|0:a+7|0,d);A[b+d|0]=10;C[f+88>>2]=h+C[f+88>>2];b=C[g+12>>2]}C[g+4>>2]=b;break c}f:{g:{h:{i:{j:{k:{l:{d=C[e>>2];if(!(d&32)){if(cf(a,24115,5)){break l}m:{switch(D[a+5|0]){case 0:case 9:case 10:case 13:case 32:break m;default:break l}}c=e+139304|0;b=yh(c,32174,a,b);C[g+4>>2]=b;if(b){break b}b=C[C[c>>2]+4>>2];if(!b){break k}d=D[b|0];if(!d){break k}c=281616;h=10;n:{if((d|0)!=48){break n}if((D[b+1|0]|32)!=120){d=48;break n}d=D[b+2|0];c=281584;h=16;b=b+2|0}a=d<<24>>24;if(!(D[((d&248)>>>3|0)+c|0]>>>(a&7)&1)){break k}d=0;while(1){d=D[a+281648|0]+I(d,h)|0;a=A[b+1|0];b=b+1|0;if(D[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}C[f+48>>2]=d;C[e+4>>2]=d;if(!d){break h}if(d>>>0<1114112){break g}c=6;break i}o:{p:{if(cf(a,23266,7)){break p}q:{switch(D[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(cf(a,24797,7)){break r}s:{switch(D[a+7|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}C[e+28>>2]=0;C[e>>2]=d&-4033;break f}h=d&64;if(!(!h|C[e+28>>2]!=-1|C[C[e+36>>2]+4>>2])){break f}t:{if(cf(a,24787,9)){break t}u:{switch(D[a+9|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}c=C[e+24>>2];if(c){Fe[C[j+8>>2]](j,c)}C[e+24>>2]=0;c=e+139304|0;b=yh(c,32174,a,b);C[g+4>>2]=b;if(b){break b}rw(c);a=qw(c,g+8|0);if(!a){break j}c=C[g+8>>2]+1|0;d=Ve(j,1,0,c,0,g+4|0);C[e+24>>2]=d;b=C[g+4>>2];if(b){break b}t(d,a,c);C[e>>2]=C[e>>2]|64;break f}v:{if(cf(a,26305,8)){break v}w:{switch(D[a+8|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break v}}c=181;if(!h){break i}b=yh(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}d=C[e+139304>>2];a=pw(C[d+4>>2]);c=(a|0)>=0;b=c?a:-1;C[e+28>>2]=b;x:{y:{z:{A:{if(c){break A}a=b;if(F[e+139312>>2]<3){break A}b=pw(C[d+8>>2]);C[e+28>>2]=b;a=b;if((a|0)<-1){break z}}if((a|0)>1114111){break j}if((a|0)>=0){c=(a>>>3&536870908)+e|0;d=C[c+40>>2];a=1<>2]=-1;B[f+278660>>1]=1;break y}C[c+40>>2]=a|d}if((b|0)<0){break y}a=C[f+52>>2];B:{if((a|0)!=C[f+48>>2]){d=C[f+56>>2];break B}d=Ve(j,36,a,a- -64|0,C[f+56>>2],g+4|0);C[f+56>>2]=d;b=C[g+4>>2];if(b){break b}C[f+48>>2]=C[f+48>>2]- -64;a=C[f+52>>2];b=C[e+28>>2]}C[f+52>>2]=a+1;c=C[e+24>>2];a=I(a,36)+d|0;C[a+4>>2]=b;C[a>>2]=c;break x}C[e+28>>2]=-1}if(C[C[e+36>>2]+4>>2]){a=C[f+64>>2];C:{if((a|0)!=C[f+60>>2]){d=C[f+68>>2];break C}d=Ve(j,36,a,a+4|0,C[f+68>>2],g+4|0);C[f+68>>2]=d;b=C[g+4>>2];if(b){break b}C[f+60>>2]=C[f+60>>2]+4;a=C[f+64>>2]}b=I(a,36)+d|0;C[b>>2]=C[e+24>>2];C[f+64>>2]=a+1;C[b+4>>2]=a;break x}a=C[e+24>>2];if(a){Fe[C[j+8>>2]](j,a)}}C[e+24>>2]=0;C[e>>2]=C[e>>2]&1073741695|128;break f}c=C[e+28>>2]==-1;h=C[(c?64:52)+f>>2]-1|0;i=C[(c?68:56)+f>>2];if(d&2048){b=C[e+8>>2];i=i+I(h,36)|0;if(b>>>0>=E[i+14>>1]){if((d|0)<0){break f}C[e>>2]=d|-2147483648;B[f+278660>>1]=1;break f}c=C[i+28>>2];b=C[i+24>>2]+I(c,b)|0;d=0;h=c<<1;D:{if(!h){c=0;break D}E:{while(1){c=d;k=D[c+a|0];d=k<<24>>24;if(!(D[(k>>>3|0)+281584|0]>>>(d&7)&1)){break E}A[b|0]=D[d+281648|0]+(D[b|0]<<4);d=c+1|0;if(!(!(c&1)|h>>>0<=d>>>0)){A[b+1|0]=0;b=b+1|0}if((d|0)!=(h|0)){continue}break}c=h;break D}d=C[e>>2];if(d&1073741824){break D}C[e>>2]=d|1073741824;B[f+278660>>1]=1}d=E[i+12>>1];if(d){A[b|0]=D[b|0]&D[(I(d,E[C[e+32>>2]+278662>>1])&7)+281776|0]}F:{if((c|0)!=(h|0)){break F}a=D[a+h|0];if(!(D[(a>>>3|0)+281584|0]>>>(a&7)&1)){break F}a=C[e>>2];if(a&1073741824){break F}C[e>>2]=a|1073741824;B[f+278660>>1]=1}C[e+8>>2]=C[e+8>>2]+1;break f}G:{H:{if(cf(a,26036,6)){break H}I:{switch(D[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}if(!(d&128)){break G}b=yh(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}n=i+I(h,36)|0,o=Uk(C[C[e+139304>>2]+4>>2]),B[n+8>>1]=o;C[e>>2]=C[e>>2]|256;break f}J:{if(cf(a,26043,6)){break J}K:{switch(D[a+6|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}if(!(d&128)){break G}b=yh(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}b=i+I(h,36)|0;c=Uk(C[C[e+139304>>2]+4>>2]);B[b+10>>1]=c;a=C[e>>2];if(!(a&256)){n=b,o=of(c&65535,72e3,I(C[f+20>>2],C[f+16>>2])),B[n+8>>1]=o;a=C[e>>2]}C[e>>2]=a|512;break f}L:{if(cf(a,22631,3)){break L}M:{switch(D[a+3|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break L}}if(!(d&128)){break G}b=yh(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}a=i+I(h,36)|0;c=C[e+139304>>2];d=xm(C[c+4>>2]);B[a+12>>1]=d;k=xm(C[c+8>>2]);B[a+14>>1]=k;b=Vk(C[c+12>>2]);B[a+16>>1]=b;c=Vk(C[c+16>>2]);B[a+18>>1]=c;l=0-c|0;B[a+22>>1]=l;c=c+k|0;B[a+20>>1]=c;k=b+d|0;B[e+22>>1]=k;c=c<<16>>16;m=B[e+18>>1];B[e+18>>1]=(c|0)>(m|0)?c:m;c=B[e+20>>1];l=l<<16>>16;B[e+20>>1]=(c|0)>(l|0)?c:l;c=k<<16>>16;k=B[e+16>>1];B[e+16>>1]=(c|0)>(k|0)?c:k;c=B[e+12>>1];B[e+12>>1]=(b|0)<(c|0)?b:c;c=B[e+14>>1];B[e+14>>1]=(b|0)>(c|0)?b:c;b=C[e>>2];if(!(b&512)){B[a+10>>1]=d}N:{if(!C[C[e+36>>2]>>2]){break N}a=i+I(h,36)|0;b=of(E[a+10>>1],72e3,I(C[f+20>>2],C[f+16>>2]));if(E[a+8>>1]==(b&65535)){b=C[e>>2];break N}B[a+8>>1]=b;O:{if(C[e+28>>2]==-1){b=C[f+64>>2]-1|0;a=((b>>>3&536870908)+f|0)+139396|0;break O}b=C[(i+I(h,36)|0)+4>>2];a=((b>>5<<2)+f|0)+132|0}C[a>>2]=C[a>>2]|1<>2];B[f+278660>>1]=1;b=a|4096}C[e>>2]=b|1024;break f}if(cf(a,24981,6)){break j}P:{switch(D[a+6|0]){case 0:case 9:case 10:case 13:case 32:break P;default:break j}}c=183;if(!(d&1024)){break i}a=i+I(h,36)|0;c=I(E[f+278662>>1],E[a+12>>1]);b=c+7>>>3|0;C[a+28>>2]=b;Q:{if(c>>>0<=524280){a=I(b,E[a+14>>1]);if(a>>>0<65536){break Q}}c=184;break i}b=i+I(h,36)|0;B[b+32>>1]=a;n=b,o=Ve(j,1,0,a,0,g+4|0),C[n+24>>2]=o;b=C[g+4>>2];if(b){break b}C[e+8>>2]=0;C[e>>2]=C[e>>2]|2048;break f}c=182;break i}oh(C[f+56>>2],C[f+52>>2],36,888);C[e>>2]=C[e>>2]&-2;break f}c=180;break i}C[e+4>>2]=0;break h}c=3}b=c;C[g+4>>2]=b;break b}d=64;C[f+48>>2]=64}n=f,o=Ve(j,36,0,d,0,g+4|0),C[n+56>>2]=o;b=C[g+4>>2];if(b){break b}C[e>>2]=C[e>>2]|32}b=C[g+4>>2]}if(b){break b}b=0;break a}if(!(D[e|0]&64)){break a}a=C[e+24>>2];if(a){Fe[C[j+8>>2]](j,a)}C[e+24>>2]=0;b=C[g+4>>2]}Ce=g+16|0;return b|0}function Xk(a,b,c,d,e,f){var 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,E=0;g=Ce-80|0;Ce=g;o=C[a>>2];a:{if(f){break a}h=C[a+4>>2];if(D[h+12|0]){break a}i=C[d>>2];C[g+68>>2]=0;C[g+72>>2]=0;C[g+60>>2]=0;C[g+64>>2]=0;C[g+52>>2]=0;C[g+56>>2]=0;C[g+48>>2]=i;Xk(h,b,c,g+48|0,e,1)}b:{c:{if(D[d+4|0]){break c}h=C[c+20>>2]+C[b+20>>2]|0;if(h>>>0>=97){a=C[d>>2];if(!a|C[a>>2]){break b}C[a>>2]=18;break b}C[d+8>>2]=h;B[d+4>>1]=257;C[d+12>>2]=h+7>>>3;if(!h){break c}c=0;h=-1<<(0-h&7);while(1){A[(c+d|0)+16|0]=255;c=c+1|0;i=C[d+12>>2];if(c>>>0>>0){continue}break}c=d+i|0;A[c+15|0]=h&D[c+15|0];if(!D[d+4|0]){break b}}C[a+20>>2]=0;C[a+24>>2]=0;C[g+72>>2]=C[d+24>>2];h=C[d+20>>2];q=g- -64|0;c=q;C[c>>2]=C[d+16>>2];C[c+4>>2]=h;c=C[d+12>>2];C[g+56>>2]=C[d+8>>2];C[g+60>>2]=c;c=C[d+4>>2];C[g+48>>2]=C[d>>2];C[g+52>>2]=c;s=C[b+20>>2];if(s>>>0>F[d+8>>2]){break b}if(D[o+205|0]){C[g+40>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;c=g+24|0;Wk(a,o+244|0,c);Wk(a,c,o+224|0)}d:{e:{if(s){m=q;t=128;h=0;while(1){f:{if(!(D[m|0]&t)){break f}n=C[a+16>>2];C[g+40>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;c=h;l=C[b+20>>2];g:{if(c>>>0>>0){break g}c=0;i=C[b+4>>2];if(!i|C[i>>2]){break g}C[i>>2]=130}h:{i:{c=C[b+28>>2]+I(C[b+8>>2],c)|0;j=C[c+8>>2];k=C[c+4>>2];i=j-k|0;if((i|0)==-1376256){k=1}else{if((i|0)==-1310720){C[g+40>>2]=n;C[g+32>>2]=e;k=0;C[g+24>>2]=0;C[g+28>>2]=h;i=e;break i}j=(i|0)<0?j:k;k=4}C[g+40>>2]=n;C[g+24>>2]=k;C[g+28>>2]=h;i=e+j|0;C[g+32>>2]=i;if(!D[c|0]){break i}r=C[c+12>>2];k=k|16;C[g+24>>2]=k;C[g+36>>2]=r;break h}r=Te(i,n);C[g+36>>2]=r;l=C[b+20>>2]}p=C[a+16>>2];C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;c=h;j:{if(l>>>0>c>>>0){break j}c=0;j=C[b+4>>2];if(!j|C[j>>2]){break j}C[j>>2]=130}k:{l:{c=C[b+28>>2]+I(C[b+8>>2],c)|0;n=C[c+8>>2];l=C[c+4>>2];j=n-l|0;if((j|0)==-1310720){n=2}else{if((j|0)==-1376256){C[g+16>>2]=p;C[g+8>>2]=e;n=0;C[g>>2]=0;C[g+4>>2]=h;j=e;break l}l=(j|0)<0?l:n;n=8}C[g>>2]=n;j=C[o+188>>2];C[g+16>>2]=p;C[g+4>>2]=h;j=(e+l|0)+(j<<1)|0;C[g+8>>2]=j;if(!D[c|0]){break l}p=C[c+16>>2];n=n|16;C[g>>2]=n;break k}p=Te(j,p)}C[g+12>>2]=p;m:{if((k|n)&16){break m}w=C[o+200>>2];if(!w){break f}v=C[o+216>>2];x=n&10;y=k&5;c=0;n:{while(1){o:{p:{l=o+I(c,20)|0;if(D[l+280|0]){if(!y|(C[l+264>>2]-v|0)>(i|0)){break p}u=C[l+268>>2];if((u+v|0)<(i|0)){break p}if(D[o+204|0]){c=C[l+276>>2];break o}c=r+32768&-65536;if(C[o+212>>2]>(u-i|0)){break o}i=C[l+276>>2]-65536|0;c=(c|0)<(i|0)?c:i;break o}if(!x){break p}u=C[l+264>>2];if((C[l+268>>2]+v|0)<(j|0)|(u-v|0)>(j|0)){break p}c=C[l+276>>2];q:{if(D[o+204|0]){break q}c=p+32768&-65536;if(C[o+212>>2]>(j-u|0)){break q}i=C[l+276>>2]+65536|0;c=(c|0)>(i|0)?c:i}c=c-p|0;if(!k){break n}C[g+24>>2]=k|16;C[g+36>>2]=c+r;break n}c=c+1|0;if((w|0)!=(c|0)){continue}break f}break}C[g+24>>2]=k|16;C[g+36>>2]=c;if(!n){break m}c=c-r|0}C[g>>2]=n|16;C[g+12>>2]=c+p}Wk(a,g+24|0,g);A[m|0]=D[m|0]&(t^-1)}c=(h&7)==7;t=c?128:t>>>1&127;m=c+m|0;h=h+1|0;if((s|0)!=(h|0)){continue}break}if(f){break e}if(!s){break d}l=128;c=0;while(1){if(D[q|0]&l){m=C[a+16>>2];C[g+40>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;i=c;j=C[b+20>>2];r:{if(j>>>0>c>>>0){break r}i=0;h=C[b+4>>2];if(!h|C[h>>2]){break r}C[h>>2]=130}s:{t:{k=C[b+28>>2]+I(C[b+8>>2],i)|0;h=C[k+8>>2];n=C[k+4>>2];i=h-n|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){C[g+40>>2]=m;C[g+32>>2]=e;C[g+24>>2]=0;C[g+28>>2]=c;h=e;break t}h=(i|0)<0?h:n;i=4}C[g+40>>2]=m;C[g+24>>2]=i;C[g+28>>2]=c;h=e+h|0;C[g+32>>2]=h;if(!D[k|0]){break t}h=C[k+12>>2];C[g+24>>2]=i|16;C[g+36>>2]=h;break s}z=g,E=Te(h,m),C[z+36>>2]=E;j=C[b+20>>2]}m=C[a+16>>2];C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;i=c;u:{if(c>>>0>>0){break u}i=0;h=C[b+4>>2];if(!h|C[h>>2]){break u}C[h>>2]=130}v:{w:{i=C[b+28>>2]+I(C[b+8>>2],i)|0;k=C[i+8>>2];j=C[i+4>>2];h=k-j|0;if((h|0)==-1310720){h=2}else{if((h|0)==-1376256){C[g+16>>2]=m;C[g+8>>2]=e;C[g>>2]=0;C[g+4>>2]=c;j=e;break w}j=(h|0)<0?j:k;h=8}C[g>>2]=h;k=C[o+188>>2];C[g+16>>2]=m;C[g+4>>2]=c;j=(e+j|0)+(k<<1)|0;C[g+8>>2]=j;if(!D[i|0]){break w}i=C[i+16>>2];C[g>>2]=h|16;C[g+12>>2]=i;break v}z=g,E=Te(j,m),C[z+12>>2]=E}Wk(a,g+24|0,g)}h=(c&7)==7;l=h?128:l>>>1&127;q=h+q|0;c=c+1|0;if((s|0)!=(c|0)){continue}break}break d}if(!f){break d}}c=C[a+20>>2];if(!(!c|C[a+36>>2]>0)&C[(I(c,20)+a|0)+16>>2]>=0){break d}C[g+36>>2]=0;C[g+28>>2]=0;C[g+32>>2]=0;C[g+24>>2]=49;c=C[a+16>>2];C[g+8>>2]=0;C[g+12>>2]=0;C[g+16>>2]=0;C[g>>2]=0;C[g+4>>2]=0;C[g+40>>2]=c;Wk(a,g+24|0,g)}C[C[a+8>>2]+20>>2]=0;m=C[a+20>>2];x:{if(!m){break x}c=0;while(1){j=c+1|0;o=I(c,20);n=o+a|0;e=C[n+28>>2];r=e&12;k=r?j:c;y:{if(e&16){break y}h=a+28|0;p=h+o|0;q=C[p+12>>2];e=q&65535;l=e?65536-e|0:0;s=h+I(k,20)|0;t=C[s+12>>2];i=t&65535;h=i?65536-i|0:0;h=h>>>0>l>>>0?l:h;l=(e|0)<(i|0)?e:i;i=0-l|0;z:{A:{if(k>>>0>>0){m=I(k+1|0,20)+a|0;if(C[m+40>>2]<((h+t|0)+32768|0)){break A}}if(!(!c|C[n+20>>2]<=((q-l|0)-32768|0))){e=h;break z}e=h>>>0>l>>>0?i:h;break z}B:{if(c){e=0;if(C[n+20>>2]>((q-l|0)-32768|0)){break B}}e=i;if(h>>>0>>0){break B}break z}if(D[m+28|0]&16){break z}C[g+24>>2]=k;C[g+28>>2]=h-e;vw(C[a+8>>2],g+24|0);q=C[p+12>>2]}C[p+12>>2]=e+q;if(!r){break y}C[s+12>>2]=C[s+12>>2]+e}C:{if(!c){break C}e=C[n+36>>2];h=C[n+16>>2];if((e|0)==(h|0)){break C}i=a+28|0;m=i+I(c-1|0,20)|0;z=m,E=Ze(C[(i+o|0)+12>>2]-C[m+12>>2]|0,e-h|0),C[z+16>>2]=E}if(r){c=I(k,20);e=c+a|0;h=C[e+36>>2];e=C[e+16>>2];if((h|0)!=(e|0)){i=a+28|0;m=i+I(k-1|0,20)|0;z=m,E=Ze(C[(c+i|0)+12>>2]-C[m+12>>2]|0,h-e|0),C[z+16>>2]=E}c=j}c=c+1|0;m=C[a+20>>2];if(c>>>0>>0){continue}break}i=C[a+8>>2];e=C[i+20>>2];if(!e){break x}j=C[i+8>>2];m=C[i+28>>2];c=e;while(1){c=c-1|0;l=c;D:{if(c>>>0>>0){break D}l=0;h=C[i+4>>2];if(!h|C[h>>2]){break D}C[h>>2]=130}k=m+I(j,l)|0;h=I(C[k>>2],20)+a|0;k=C[k+4>>2];n=k+C[h+40>>2]|0;E:{if(C[h+60>>2]<(n+32768|0)){break E}C[h+40>>2]=n;if(!(D[h+28|0]&12)){break E}C[h+20>>2]=k+C[h+20>>2]}if(c){continue}break}}F:{if(f){break F}h=C[a+20>>2];if(!h){break F}c=0;while(1){e=I(c,20)+a|0;i=C[e+28>>2];if(!(i&32)){h=C[e+32>>2];G:{if(h>>>0>2]){break G}h=0;f=C[b+4>>2];if(!f|C[f>>2]){break G}C[f>>2]=130;i=C[e+28>>2]}f=C[b+28>>2]+I(C[b+8>>2],h)|0;C[f+(i&10?16:12)>>2]=C[e+40>>2];A[f|0]=1;h=C[a+20>>2]}c=c+1|0;if(h>>>0>c>>>0){continue}break}}A[a+12|0]=1;A[d+5|0]=0}Ce=g+80|0}function An(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=J(0),n=0,o=0,p=0,q=0,r=0,t=J(0),u=0,v=J(0),w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,L=0,M=0,N=0,O=0,P=0,Q=0;g=Ce-4976|0;Ce=g;z=C[b+1288>>2];r=C[b+1296>>2];a:{b:{c:{l=C[b+1284>>2];d:{if((l|0)<=0){break d}if(l>>>0>=8){k=l&-8;while(1){e=f<<2;i=g+1120|0;C[e+i>>2]=-200;C[i+(e|4)>>2]=-200;C[i+(e|8)>>2]=-200;C[i+(e|12)>>2]=-200;C[i+(e|16)>>2]=-200;C[i+(e|20)>>2]=-200;C[i+(e|24)>>2]=-200;C[i+(e|28)>>2]=-200;f=f+8|0;n=n+8|0;if((k|0)!=(n|0)){continue}break}}e=l&7;if(e){while(1){C[(g+1120|0)+(f<<2)>>2]=-200;f=f+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if((l|0)<=0){break d}h=0;f=0;if(l>>>0>=8){k=l&-8;n=0;while(1){e=f<<2;i=g+848|0;C[e+i>>2]=-200;C[i+(e|4)>>2]=-200;C[i+(e|8)>>2]=-200;C[i+(e|12)>>2]=-200;C[i+(e|16)>>2]=-200;C[i+(e|20)>>2]=-200;C[i+(e|24)>>2]=-200;C[i+(e|28)>>2]=-200;f=f+8|0;n=n+8|0;if((k|0)!=(n|0)){continue}break}}e=l&7;if(e){while(1){C[(g+848|0)+(f<<2)>>2]=-200;f=f+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}f=0;if((l|0)<=0){break d}We(g+576|0,0,l<<2);if(l>>>0>=8){k=l&-8;h=0;while(1){e=f<<2;i=g+304|0;C[e+i>>2]=1;C[i+(e|4)>>2]=1;C[i+(e|8)>>2]=1;C[i+(e|12)>>2]=1;C[i+(e|16)>>2]=1;C[i+(e|20)>>2]=1;C[i+(e|24)>>2]=1;C[i+(e|28)>>2]=1;f=f+8|0;h=h+8|0;if((k|0)!=(h|0)){continue}break}}h=l&7;if(h){e=0;while(1){C[(g+304|0)+(f<<2)>>2]=1;f=f+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}h=0;if((l|0)>0){break c}}h=0;if(l){break a}e=0;C[g+1392>>2]=0;C[g+1396>>2]=z;n=0;if((z|0)>0){z=z-1|0;f=0;while(1){h=f;A=f<<2;m=G[A+d>>2];t=J(J(m*J(7.314285755157471))+J(1023.5));e:{if(J(K(t))0?f:0;f=(f|0)>=1023?1023:f;f:{if(!f){break f}i=I(f,h);k=I(f,f);j=I(h,h);if(m<=J(G[c+A>>2]+G[r+1112>>2])){o=o+1|0;q=i+q|0;n=k+n|0;p=j+p|0;u=f+u|0;e=e+h|0;break f}B=B+1|0;x=i+x|0;w=k+w|0;D=j+D|0;y=f+y|0;E=h+E|0}f=h+1|0;if((h|0)!=(z|0)){continue}break}}C[g+1444>>2]=B;C[g+1440>>2]=x;C[g+1436>>2]=w;C[g+1432>>2]=D;C[g+1428>>2]=y;C[g+1424>>2]=E;C[g+1420>>2]=o;C[g+1416>>2]=q;C[g+1412>>2]=n;C[g+1408>>2]=p;C[g+1404>>2]=u;C[g+1400>>2]=e;break b}We(g+32|0,255,l<<2);if((l|0)==1){break a}L=l-2|0;Q=z-1|0;f=C[b>>2];e=0;while(1){k=e+1|0;i=C[(k<<2)+b>>2];j=(g+1392|0)+I(e,56)|0;C[j+48>>2]=0;C[j+52>>2]=0;C[j+40>>2]=0;C[j+44>>2]=0;C[j+32>>2]=0;C[j+36>>2]=0;C[j+24>>2]=0;C[j+28>>2]=0;C[j+16>>2]=0;C[j+20>>2]=0;C[j+8>>2]=0;C[j+12>>2]=0;C[j+4>>2]=i;C[j>>2]=f;p=0;n=0;q=0;E=0;y=0;D=0;u=0;w=0;x=0;B=0;A=0;H=0;O=(i|0)<(z|0)?i:Q;if((O|0)>=(f|0)){while(1){h=f;P=f<<2;m=G[P+d>>2];t=J(J(m*J(7.314285755157471))+J(1023.5));g:{if(J(K(t))0?f:0;f=(f|0)>=1023?1023:f;h:{if(!f){break h}M=I(f,h);N=I(f,f);F=I(h,h);if(m<=J(G[c+P>>2]+G[r+1112>>2])){u=u+1|0;w=w+M|0;x=x+N|0;B=B+F|0;A=f+A|0;H=h+H|0;break h}p=p+1|0;n=n+M|0;q=q+N|0;E=E+F|0;y=f+y|0;D=h+D|0}f=h+1|0;if((h|0)!=(O|0)){continue}break}}C[j+52>>2]=p;C[j+48>>2]=n;C[j+44>>2]=q;C[j+40>>2]=E;C[j+36>>2]=y;C[j+32>>2]=D;C[j+28>>2]=u;C[j+24>>2]=w;C[j+20>>2]=x;C[j+16>>2]=B;C[j+12>>2]=A;C[j+8>>2]=H;o=o+u|0;h=(e|0)!=(L|0);f=i;e=k;if(h){continue}break}}if(!o){h=0;break a}C[g+28>>2]=-200;C[g+24>>2]=-200;zn(g+1392|0,l-1|0,g+28|0,g+24|0,r);e=C[g+28>>2];C[g+1120>>2]=e;C[g+848>>2]=e;f=C[g+24>>2];C[g+852>>2]=f;C[g+1124>>2]=f;f=e;if((l|0)>=3){B=r+836|0;u=2;while(1){n=u<<2;i=C[(n+b|0)+520>>2];e=i<<2;x=C[e+(g+576|0)>>2];k=x<<2;f=k+(g+32|0)|0;w=C[e+(g+304|0)>>2];i:{if(C[f>>2]==(w|0)){break i}e=b+520|0;o=w<<2;z=C[e+o>>2];D=C[e+k>>2];C[f>>2]=w;j:{A=k+(g+848|0)|0;h=C[A>>2];e=C[k+(g+1120|0)>>2];f=h;k:{if((e|0)<0){break k}f=e;if((h|0)<0){break k}f=e+h>>>1|0}p=(f|0)==-1;j=C[o+(g+848|0)>>2];H=o+(g+1120|0)|0;h=C[H>>2];e=j;l:{if((h|0)<0){break l}e=h;if((j|0)<0){break l}e=h+j>>>1|0}j=e;if(!(p|(j|0)==-1)){q=j-f|0;y=C[o+B>>2];h=C[k+B>>2];k=y-h|0;E=(q|0)/(k|0)|0;o=h<<2;m=G[o+d>>2];t=J(J(m*J(7.314285755157471))+J(1023.5));m:{if(J(K(t))0?e:0;e=(e|0)>=1023?1023:e;n:{t=G[r+1112>>2];o:{if(m<=J(G[c+o>>2]+t)){v=J(e|0);m=J(f|0);if(v>J(G[r+1096>>2]+m)|v>2])){break o}}e=f-e|0;o=I(e,e);e=1;h=h+1|0;if((y|0)>(h|0)){e=q>>31;F=(e^q)-e|0;q=I(k,E);p=q>>31;M=F+(p-(q^p)|0)|0;N=e|1;q=0;e=f;while(1){F=h<<2;m=G[F+d>>2];v=J(J(m*J(7.314285755157471))+J(1023.5));p:{if(J(K(v))0?p:0;p=(p|0)>=1023?1023:p;if(!(!(m<=J(t+G[c+F>>2]))|!p)){v=J(p|0);m=J(e|0);if(v>J(G[r+1096>>2]+m)|v>2])){break o}}F=o;o=e-p|0;o=F+I(o,o)|0;q=q-(L?0:k)|0;h=h+1|0;if((y|0)!=(h|0)){continue}break}e=k}m=G[r+1096>>2];t=J(e|0);v=J(J(m*m)/t);m=G[r+1104>>2];if(v>m){break n}v=G[r+1100>>2];if(!(m>>0)/(e>>>0)|0))|m>2]=-200;C[g+16>>2]=-200;C[g+12>>2]=-200;C[g+8>>2]=-200;e=g+1392|0;h=zn(e+I(D,56)|0,i-D|0,g+20|0,g+16|0,r);e=zn(e+I(i,56)|0,z-i|0,g+12|0,g+8|0,r);q:{if(!h){if(!e){break q}C[g+12>>2]=C[g+16>>2];C[g+8>>2]=j;break q}C[g+20>>2]=f;C[g+16>>2]=C[g+12>>2];if(e){break j}}e=C[g+20>>2];C[A>>2]=e;if(!x){C[g+1120>>2]=e}e=C[g+16>>2];C[n+(g+1120|0)>>2]=e;f=C[g+12>>2];C[n+(g+848|0)>>2]=f;h=C[g+8>>2];C[H>>2]=h;if((w|0)==1){C[g+852>>2]=h}if((e&f)<0){break i}e=i;r:{if((e|0)<=0){break r}while(1){f=e-1|0;h=(g+304|0)+(f<<2)|0;if((w|0)!=C[h>>2]){break r}C[h>>2]=u;h=e>>>0>1;e=f;if(h){continue}break}}e=i+1|0;if((l|0)<=(e|0)){break i}while(1){f=(g+576|0)+(e<<2)|0;if((x|0)!=C[f>>2]){break i}C[f>>2]=u;e=e+1|0;if((l|0)!=(e|0)){continue}break}break i}C[n+(g+848|0)>>2]=-200;C[n+(g+1120|0)>>2]=-200;break i}ea(1);s()}C[n+(g+848|0)>>2]=-200;C[n+(g+1120|0)>>2]=-200}u=u+1|0;if((u|0)!=(l|0)){continue}break}f=C[g+1120>>2];e=C[g+848>>2]}h=pg(a,l<<2);s:{if((f|0)<0){break s}if((e|0)<0){e=f;break s}e=e+f>>>1|0}C[h>>2]=e;d=C[g+852>>2];c=C[g+1124>>2];a=d;t:{if((c|0)<0){break t}a=c;if((d|0)<0){break t}a=c+d>>>1|0}C[h+4>>2]=a;if((l|0)<3){break a}d=2;f=r+836|0;while(1){e=d<<2;a=e+b|0;i=C[a+772>>2]<<2;k=C[a+1024>>2]<<2;j=C[k+h>>2]&32767;a=(C[i+h>>2]&32767)-j|0;c=a>>31;o=(a^c)-c|0;c=C[f+k>>2];c=(I(o,C[e+f>>2]-c|0)|0)/(C[f+i>>2]-c|0)|0;i=j+((a|0)<0?0-c|0:c)|0;k=C[e+(g+848|0)>>2];c=C[e+(g+1120|0)>>2];a=k;u:{if((c|0)<0){break u}a=c;if((k|0)<0){break u}a=c+k>>>1|0}c=i|32768;C[e+h>>2]=(a|0)<0?c:(a|0)==(i|0)?c:a;d=d+1|0;if((l|0)!=(d|0)){continue}break}}Ce=g+4976|0;return h}function cq(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,o=0,p=0,q=0,r=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=C[b+12>>2];e=d-2|0;C[b+12>>2]=e;if(!(D[a|0]|D[a+1|0]<<8)|(e|0)<=0){break a}e=a+4|0;if(e>>>0>c>>>0|c-e>>>0<4){break a}c=d-6|0;C[b+12>>2]=c;if((c|0)<=0){break a}n=1;c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!o){break a}h=a+8|0;while(1){c=0;i=C[b+4>>2];d=h+4|0;b:{if(i>>>0>d>>>0){break b}a=C[b+8>>2];if(a>>>0>>0|a-d>>>0<4){break b}e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break b}d=D[h+4|0]|D[h+5|0]<<8|(D[h+6|0]<<16|D[h+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<16|h>>>0>>0|(a>>>0>>0|d>>>0>a-h>>>0)){break b}e=e-d|0;C[b+12>>2]=e;if((e|0)<=0){break b}d=D[h+8|0]|D[h+9|0]<<8|(D[h+10|0]<<16|D[h+11|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(i>>>0>357913940){break b}d=h+16|0;if(i){if(a>>>0>>0){break b}f=a-d|0;a=I(i,12);if(f>>>0>>0){break b}a=e-a|0;C[b+12>>2]=a;if((a|0)<=0){break b}a=D[h+8|0]|D[h+9|0]<<8|(D[h+10|0]<<16|D[h+11|0]<<24);e=I(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24),12)}else{e=0}c=1;a=D[h+12|0]|D[h+13|0]<<8|(D[h+14|0]<<16|D[h+15|0]<<24);p=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!p){break b}g=d+e|0;n=0;while(1){c=0;c:{if(F[b+4>>2]>g>>>0){break c}a=C[b+8>>2];if(a>>>0>>0){break c}e=a-g|0;if(e>>>0<4){break c}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break c}a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>e>>>0){break c}a=d-a|0;C[b+12>>2]=a;if((a|0)<=0){break c}c=C[b+32>>2];a=C[c+12>>2];c=a+C[c+16>>2]|0;C[b+8>>2]=c;d:{if(!(a>>>0<=g>>>0&c>>>0>g>>>0)){C[b+4>>2]=0;a=0;break d}C[b+4>>2]=g;c=c-g|0;a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=(a>>>0>c>>>0?c:a)+g|0}C[b+8>>2]=a;a=1;e:{f:{switch(D[g+7|0]){case 0:f=0;a=g+12|0;g:{h:{if(a>>>0>2]){break h}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break h}e=C[b+12>>2];d=e-16|0;C[b+12>>2]=d;if((d|0)<=0){break h}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<4){break h}d=a+4|0;if(d>>>0>c>>>0|c-d>>>0<4){break h}c=e-20|0;C[b+12>>2]=c;if((c|0)<=0){break h}c=A[d|0];if((c|0)<0){break h}e=0;if(!Oh(a+(D[a+7|0]|(D[a+5|0]<<16|(c&255)<<24|D[a+6|0]<<8))|0,b)){break g}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);k=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(k>>>0>2147483646){break h}c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);m=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);l=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;q=k<<1;d=0;j=0;a=0;while(1){c=a;i:{j:{k:{l:{if((d|0)<=(j|0)){i=j+1|0;e=0;if(!(!k|i>>>0<4294967295/(q>>>0)>>>0)){break g}a=I(i,q);m:{if(!a){e=C[b+12>>2];break m}if(l>>>0>2]){break h}e=C[b+8>>2];if(e>>>0>>0|a>>>0>e-l>>>0){break h}e=C[b+12>>2]-a|0;C[b+12>>2]=e;if((e|0)<=0){break h}}a=((j^-1)+d|0)+e|0;C[b+12>>2]=a;if((a|0)<=0|(i>>>0>=4294967295/(k>>>0)>>>0?k:0)){break h}a=I(i,k);if((a|0)<0){break h}d=I(d,k);if((d|0)<(a|0)){break l}d=i}if(!c){break j}a=c;break k}f=l+(a<<1)|0;e=l+(d<<1)|0;a=c;while(1){d=D[e|0]|D[e+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;a=a>>>0>d>>>0?a:d;e=e+2|0;if(f>>>0>e>>>0){continue}break}d=i}f=0;if(m>>>0>2]){break h}e=C[b+8>>2];if(e>>>0>>0){break h}i=e-m|0;e=a<<2;if(i>>>0>>0){break h}e=C[b+12>>2]-e|0;C[b+12>>2]=e;if((e|0)<=0){break h}break i}e=C[b+12>>2];a=c}i=(c-a|0)+e|0;C[b+12>>2]=i;e=0;if((i|0)<=0){break g}if((a|0)>(c|0)){i=m+(a<<2)|0;e=m+(c<<2)|0;while(1){c=D[e|0]|D[e+1|0]<<8;c=(c<<8|c>>>8)&65535;j=(c|0)<(j|0)?j:c;e=e+4|0;if(i>>>0>e>>>0){continue}break}}if((d|0)<=(j|0)){continue}break}f=1}e=f}a=e;break e;case 1:a=0;d=0;e=0;i=Ce-16|0;Ce=i;C[i+12>>2]=0;c=g+12|0;n:{if(!Vy(c,b,i+12|0)){break n}k=C[i+12>>2];if(k){a=D[c+12|0]|D[c+13|0]<<8|(D[c+14|0]<<16|D[c+15|0]<<24);m=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=0;while(1){f=m+(d<<3)|0;j=D[f+4|0]|D[f+5|0]<<8;l=((j<<8|j>>>8)&65535)+1|0;a=(j|0)==65535?a:a>>>0>l>>>0?a:l;f=D[f+6|0]|D[f+7|0]<<8;j=((f<<8|f>>>8)&65535)+1|0;a=(f|0)==65535?a:a>>>0>j>>>0?a:j;d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=c+16|0;if(d>>>0>2]){break n}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break n}f=C[b+12>>2]-4|0;C[b+12>>2]=f;if((f|0)<=0){break n}d=A[d|0];if((d|0)<0){break n}d=c+(D[c+19|0]|(D[c+17|0]<<16|(d&255)<<24|D[c+18|0]<<8))|0;c=0;o:{p:{if(a>>>0>1073741822){break p}e=1;if(!a){break o}if(d>>>0>2]){break p}e=C[b+8>>2];if(e>>>0>>0){break p}f=e-d|0;e=a<<2;if(f>>>0>>0){break p}c=C[b+12>>2]-e|0;C[b+12>>2]=c;e=0;q:{if((c|0)<=0){break q}while(1){c=d+(e<<2)|0;if(c>>>0>2]){break q}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break q}f=C[b+12>>2]-4|0;C[b+12>>2]=f;if((f|0)<=0){break q}f=A[c|0];if((f|0)<0){break q}if(!Oh(d+(D[c+3|0]|(D[c+1|0]<<16|(f&255)<<24|D[c+2|0]<<8))|0,b)){break q}c=1;e=e+1|0;if((e|0)!=(a|0)){continue}break}break p}c=0}e=c}}Ce=i+16|0;a=e;break e;case 2:d=0;a=g+12|0;r:{if(a>>>0>2]){break r}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break r}c=C[b+12>>2]-28|0;C[b+12>>2]=c;if((c|0)<=0){break r}if(!Ty(a,b)){break r}c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);if(!(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break r}c=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);if(!(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break r}a=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);d=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))!=0}a=d;break e;case 4:a=Oh(g+12|0,b);break e;case 5:break f;default:break e}}a=0;c=g+12|0;if(c>>>0>2]){break e}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<20){break e}d=C[b+12>>2]-20|0;C[b+12>>2]=d;if((d|0)<=0){break e}if(!Vy(c,b,0)){break e}a=D[g+28|0]|D[g+29|0]<<8|(D[g+30|0]<<16|D[g+31|0]<<24);a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))!=0}c=a;a=C[b+32>>2];d=C[a+12>>2];C[b+4>>2]=d;C[b+8>>2]=d+C[a+16>>2]}if(!c){break b}a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+g|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}}n=c;if(!c){break a}a=D[h+4|0]|D[h+5|0]<<8|(D[h+6|0]<<16|D[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;r=r+1|0;if((r|0)!=(o|0)){continue}break}}return n}function QC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ce-288|0;Ce=e;g=C[a+548>>2];f=Rh();c=C[g>>2];a:{if((f|0)!=(c|0)){C[g+468>>2]=0;if((sh(C[a+204>>2],c)|0)<0){break a}}c=C[a+548>>2];if(!C[c+4>>2]){break a}while(1){if(Fe[C[c+100>>2]]()|0){continue}break}}C[g+412>>2]=0;k=5121;b:{c:{d:{e:{f:{c=C[b+4>>2];if((c|0)<=825382477){j=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}}j=6409;break e}if(C[b+8>>2]){break d}k=0;j=0}f=If(1,44);if(!f){d=_e(0);break b}C[f>>2]=0;d=C[b+4>>2];C[f+12>>2]=k;C[f+8>>2]=j;C[f+32>>2]=0;C[f+36>>2]=0;C[f+28>>2]=(d|0)==842094158|(d|0)==825382478;C[f+24>>2]=(d|0)==1448433993|(d|0)==842094169;C[f+4>>2]=(d|0)==542328143?36197:3553;m=C[b+28>>2];i:{if(C[b+8>>2]!=1){break i}i=C[b+12>>2];j:{if(!(!d|(d&-268435456)==268435456)){c=2;if((d|0)==844715353|(d|0)==1498831189){break j}c=(d|0)==1431918169?2:1;break j}c=d&255}i=I(c,i);C[f+20>>2]=i;h=C[b+16>>2];c=I(h,i);k:{l:{m:{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 l;case 11:break m}}c=(I((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0;break k}c=(I((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0}c=If(1,c);C[f+16>>2]=c;if(c){break i}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}d=_e(0);break b}h=C[a+548>>2];n:{if(!C[h+4>>2]){break n}c=Fe[C[h+100>>2]]()|0;if(!c){break n}d=34979;while(1){d=D[d|0]?d:21640;i=25026;l=c-1280|0;if(l>>>0<=5){i=C[(l<<2)+137356>>2]}C[e+276>>2]=c;C[e+272>>2]=i;C[e+268>>2]=16639;C[e+264>>2]=1498;C[e+260>>2]=21666;C[e+256>>2]=d;Qe(33817,e+256|0);c=Fe[C[h+100>>2]]()|0;if(c){continue}break}}i=m?9729:9728;c=f+36|0;o:{if(C[f+24>>2]){Fe[C[g+92>>2]](1,f+32|0);p:{h=C[a+548>>2];if(!C[h+4>>2]){break p}d=Fe[C[h+100>>2]]()|0;if(!d){break p}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+137356>>2]}C[e+244>>2]=d;C[e+240>>2]=c;C[e+236>>2]=16639;C[e+232>>2]=1503;C[e+228>>2]=21666;C[e+224>>2]=33938;Qe(33817,e+224|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}Fe[C[g+8>>2]](33986);Fe[C[g+20>>2]](C[f+4>>2],C[f+32>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);Fe[C[g+148>>2]](C[f+4>>2],0,j,(C[b+12>>2]+1|0)/2|0,(C[b+16>>2]+1|0)/2|0,0,j,k,0);Fe[C[g+92>>2]](1,c);q:{h=C[a+548>>2];if(!C[h+4>>2]){break q}d=Fe[C[h+100>>2]]()|0;if(!d){break q}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+137356>>2]}C[e+212>>2]=d;C[e+208>>2]=c;C[e+204>>2]=16639;C[e+200>>2]=1515;C[e+196>>2]=21666;C[e+192>>2]=33938;Qe(33817,e+192|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}Fe[C[g+8>>2]](33985);Fe[C[g+20>>2]](C[f+4>>2],C[f+36>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);Fe[C[g+148>>2]](C[f+4>>2],0,j,(C[b+12>>2]+1|0)/2|0,(C[b+16>>2]+1|0)/2|0,0,j,k,0);h=C[a+548>>2];if(!C[h+4>>2]){break o}d=Fe[C[h+100>>2]]()|0;if(!d){break o}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+137356>>2]}C[e+180>>2]=d;C[e+176>>2]=c;C[e+172>>2]=16639;C[e+168>>2]=1525;C[e+164>>2]=21666;C[e+160>>2]=33953;Qe(33817,e+160|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}if(!C[f+28>>2]){break o}Fe[C[g+92>>2]](1,c);r:{h=C[a+548>>2];if(!C[h+4>>2]){break r}d=Fe[C[h+100>>2]]()|0;if(!d){break r}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+137356>>2]}C[e+148>>2]=d;C[e+144>>2]=c;C[e+140>>2]=16639;C[e+136>>2]=1530;C[e+132>>2]=21666;C[e+128>>2]=33938;Qe(33817,e+128|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}Fe[C[g+8>>2]](33985);Fe[C[g+20>>2]](C[f+4>>2],C[f+36>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);Fe[C[g+148>>2]](C[f+4>>2],0,6410,(C[b+12>>2]+1|0)/2|0,(C[b+16>>2]+1|0)/2|0,0,6410,5121,0);h=C[a+548>>2];if(!C[h+4>>2]){break o}c=Fe[C[h+100>>2]]()|0;if(!c){break o}while(1){d=25026;a=c-1280|0;if(a>>>0<=5){d=C[(a<<2)+137356>>2]}C[e+116>>2]=c;C[e+112>>2]=d;C[e+108>>2]=16639;C[e+104>>2]=1540;C[e+100>>2]=21666;C[e+96>>2]=33953;Qe(33817,e+96|0);d=-1;c=Fe[C[h+100>>2]]()|0;if(c){continue}break}break b}Fe[C[g+92>>2]](1,f);s:{h=C[a+548>>2];if(!C[h+4>>2]){break s}d=Fe[C[h+100>>2]]()|0;if(!d){break s}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+137356>>2]}C[e+84>>2]=d;C[e+80>>2]=c;C[e+76>>2]=16639;C[e+72>>2]=1547;C[e+68>>2]=21666;C[e+64>>2]=33938;Qe(33817,e- -64|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}C[b+80>>2]=f;Fe[C[g+8>>2]](33984);Fe[C[g+20>>2]](C[f+4>>2],C[f>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);t:{if(C[b+4>>2]==542328143){break t}Fe[C[g+148>>2]](C[f+4>>2],0,j,C[b+12>>2],C[b+16>>2],0,j,k,0);g=C[a+548>>2];if(!C[g+4>>2]){break t}c=Fe[C[g+100>>2]]()|0;if(!c){break t}while(1){d=25026;a=c-1280|0;if(a>>>0<=5){d=C[(a<<2)+137356>>2]}C[e+52>>2]=c;C[e+48>>2]=d;C[e+44>>2]=16639;C[e+40>>2]=1559;C[e+36>>2]=21666;C[e+32>>2]=33953;Qe(33817,e+32|0);d=-1;c=Fe[C[g+100>>2]]()|0;if(c){continue}break}break b}d=0;c=0;u:{if(C[b+8>>2]!=2){break u}g=C[b+16>>2];j=C[b+12>>2];b=C[a+548>>2];c=C[b+228>>2];if(c){while(1){if((j|0)==C[c>>2]&(g|0)==C[c+4>>2]){break u}c=C[c+12>>2];if(c){continue}break}}c=Fe[C[94503]](16)|0;if(c){C[94507]=C[94507]+1}C[c+4>>2]=g;C[c>>2]=j;Fe[C[b+88>>2]](1,c+8|0);C[c+12>>2]=C[b+228>>2];C[b+228>>2]=c}C[f+40>>2]=c;a=C[a+548>>2];if(!C[a+4>>2]){break b}i=Fe[C[a+100>>2]]()|0;if(!i){break b}c=34979;while(1){c=D[c|0]?c:21640;d=25026;b=i-1280|0;if(b>>>0<=5){d=C[(b<<2)+137356>>2]}C[e+20>>2]=i;C[e+16>>2]=d;C[e+12>>2]=16639;C[e+8>>2]=1570;C[e+4>>2]=21666;C[e>>2]=c;Qe(33817,e);d=-1;i=Fe[C[a+100>>2]]()|0;if(i){continue}break}break b}d=Qe(24354,0);break b}d=Qe(19958,0)}Ce=e+288|0;return d|0}function Sp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}g=C[b+12>>2];c=g-4|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=g-6|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[c|0]|D[c+1|0]<<8;b:{if(!d){break b}if(_i(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[c|0]=0;A[c+1|0]=0}g=0;e=Ce-16|0;Ce=e;h=C[b+4>>2];d=a+6|0;c:{if(h>>>0>d>>>0){break c}k=C[b+8>>2];if(k>>>0>>0|k-d>>>0<2){break c}i=C[b+12>>2];c=i-2|0;C[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break c}c=D[d|0]|D[d+1|0]<<8;if(!c){break c}c=((c<<8|c>>>8)&65535)+a|0;d:{if(c>>>0>>0|c>>>0>k>>>0|k-c>>>0<2){break d}g=i-4|0;C[b+12>>2]=g;if((g|0)<=0){break d}g=D[c|0]|D[c+1|0]<<8;e:{if(!g){break e}if(og(c+((g<<8|g>>>8)&65535)|0,b)){break e}g=C[b+28>>2];if(g>>>0>31){break d}C[b+28>>2]=g+1;if(!D[b+24|0]){break d}A[c|0]=0;A[c+1|0]=0}C[e+12>>2]=c;g=1;if(qy(c+2|0,b,e+12|0)){break c}}c=C[b+28>>2];if(c>>>0>31){g=0;break c}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break c}A[d|0]=0;A[d+1|0]=0;g=1}Ce=e+16|0;if(!g){break a}g=0;o=Ce-16|0;Ce=o;e=C[b+4>>2];k=a+8|0;f:{if(e>>>0>k>>>0){break f}d=C[b+8>>2];if(d>>>0>>0|d-k>>>0<2){break f}h=C[b+12>>2];c=h-2|0;C[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break f}c=D[k|0]|D[k+1|0]<<8;if(!c){break f}c=((c<<8|c>>>8)&65535)+a|0;g:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=h-4|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;h:{if(!d){break h}if(og(c+((d<<8|d>>>8)&65535)|0,b)){break h}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}C[o+12>>2]=c;d=0;p=Ce-16|0;Ce=p;h=c+2|0;i:{if(h>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-h>>>0<2){break i}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break i}i=D[h|0]|D[h+1|0]<<8;if(!i){d=1;break i}f=h+2|0;if(f>>>0>c>>>0){break i}f=c-f|0;c=(i<<8|i>>>8)&65535;i=c<<1;if(f>>>0>>0){break i}e=e-i|0;C[b+12>>2]=e;if((e|0)<=0){break i}t=c>>>0<=1?1:c;while(1){i=(h+(r<<1)|0)+2|0;if(i>>>0>2]){d=0;break i}c=C[b+8>>2];if(c>>>0>>0){d=0;break i}if(c-i>>>0<2){d=0;break i}d=C[o+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){d=0;break i}c=D[i|0]|D[i+1|0]<<8;j:{if(!c){break j}e=d+((c<<8|c>>>8)&65535)|0;C[p+12>>2]=e;d=0;k:{l:{m:{if(e>>>0>2]){break m}f=C[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break m}j=C[b+12>>2]-2|0;C[b+12>>2]=j;if((j|0)<=0){break m}m=D[e|0]|D[e+1|0]<<8;c=1;if(!m){break k}c=e+2|0;if(c>>>0>f>>>0){break m}l=f-c|0;c=(m<<8|m>>>8)&65535;f=c<<1;if(l>>>0>>0){break m}f=j-f|0;C[b+12>>2]=f;if((f|0)<=0){break m}u=c>>>0<=1?1:c;m=0;while(1){d=(e+(m<<1)|0)+2|0;if(d>>>0>2]){break l}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break l}f=C[p+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break l}c=D[d|0]|D[d+1|0]<<8;n:{if(!c){break n}o:{p:{q:{f=f+((c<<8|c>>>8)&65535)|0;if(f>>>0>2]){break q}l=C[b+8>>2];if(l>>>0>>0){break q}j=l-f|0;if(j>>>0<2){break q}q=C[b+12>>2];n=q-2|0;C[b+12>>2]=n;c=1;if((n|0)<=0){break q}r:{s:{t:{u:{n=D[f|0]|D[f+1|0]<<8;switch(((n<<8|n>>>8)&65535)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}c=0;if(j>>>0<4){break r}break p}c=0;if(j>>>0<4){break r}break p}if(j>>>0<6){break q}c=q-8|0;C[b+12>>2]=c;if((c|0)<=0){break q}j=f+4|0;if(j>>>0>l>>>0|l-j>>>0<2){break q}l=q-10|0;C[b+12>>2]=l;c=1;if((l|0)<=0){break q}l=D[j|0]|D[j+1|0]<<8;if(!l){break r}if(xj(f+((l<<8|l>>>8)&65535)|0,b)){break r}c=C[b+28>>2];if(c>>>0>31){break q}C[b+28>>2]=c+1;c=0;if(!D[b+24|0]){break r}A[j|0]=0;A[j+1|0]=0;c=1}break o}c=0;break o}c=q-6|0;C[b+12>>2]=c;c=(c|0)>0}if(c){break n}c=C[b+28>>2];if(c>>>0>31){break l}C[b+28>>2]=c+1;if(!D[b+24|0]){break l}A[d|0]=0;A[d+1|0]=0}d=1;m=m+1|0;if((u|0)!=(m|0)){continue}break}}c=d;break k}c=0}if(c){break j}c=C[b+28>>2];if(c>>>0>31){d=0;break i}C[b+28>>2]=c+1;if(!D[b+24|0]){d=0;break i}A[i|0]=0;A[i+1|0]=0}d=1;r=r+1|0;if((t|0)!=(r|0)){continue}break}}Ce=p+16|0;if(d){break f}}c=C[b+28>>2];if(c>>>0>31){g=0;break f}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break f}A[k|0]=0;A[k+1|0]=0;g=1}Ce=o+16|0;if(!g){break a}c=a+10|0;if(c>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[c|0]|D[c+1|0]<<8;v:{if(!d){break v}if(_i(((d<<8|d>>>8)&65535)+a|0,b)){break v}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[c|0]=0;A[c+1|0]=0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){return 1}g=0;k=Ce-16|0;Ce=k;h=C[b+4>>2];d=a+12|0;w:{if(h>>>0>d>>>0){break w}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break w}i=C[b+12>>2];c=i-2|0;C[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break w}c=D[d|0]|D[d+1|0]<<8;if(!c){break w}c=((c<<8|c>>>8)&65535)+a|0;x:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break x}e=i-4|0;C[b+12>>2]=e;if((e|0)<=0){break x}if((D[c|0]|D[c+1|0]<<8)!=256){break w}C[k+12>>2]=c;y:{z:{e=c+2|0;if(e>>>0>2]){break z}h=C[b+8>>2];if(h>>>0>>0|h-e>>>0<2){break z}i=C[b+12>>2]-2|0;C[b+12>>2]=i;c=1;if((i|0)<=0){break z}f=D[e|0]|D[e+1|0]<<8;A:{if(!f){break A}c=e+2|0;if(c>>>0>h>>>0){break z}j=h-c|0;h=(f<<8|f>>>8)&65535;c=h<<2;if(j>>>0>>0){break z}i=i-c|0;C[b+12>>2]=i;c=0;if((i|0)<=0){break A}i=h>>>0<=1?1:h;h=0;while(1){c=(e+(h<<2)|0)+2|0;if(c>>>0>2]){break z}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break z}f=C[k+12>>2];j=C[b+12>>2]-4|0;C[b+12>>2]=j;if((j|0)<=0){break z}j=A[c|0];if((j|0)<0){break z}j=D[c+3|0]|(D[c+1|0]<<16|(j&255)<<24|D[c+2|0]<<8);B:{if(!j){break B}if(og(f+j|0,b)){break B}f=C[b+28>>2];if(f>>>0>31){break z}C[b+28>>2]=f+1;if(!D[b+24|0]){break z}A[c|0]=0;A[c+1|0]=0;A[c+2|0]=0;A[c+3|0]=0}c=1;h=h+1|0;if((i|0)!=(h|0)){continue}break}}break y}c=0}if(c){break w}}c=C[b+28>>2];if(c>>>0>31){g=0;break w}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break w}A[d|0]=0;A[d+1|0]=0;g=1}Ce=k+16|0;if(!g){break a}s=1;c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break a}s=pz(a+14|0,b,a)}return s}function Gw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=Ce+-64|0;Ce=g;C[g+48>>2]=0;f=C[a+76>>2];d=C[f+2972>>2];a:{if(!d){e=C[a>>2];C[f+2976>>2]=843;d=hf(e,504,g+48|0);C[C[a+76>>2]+2972>>2]=d;f=64;if(C[g+48>>2]){break a}C[d+108>>2]=0;C[d+112>>2]=0;C[d+116>>2]=0;C[d+120>>2]=0;f=d+124|0;C[f>>2]=0;C[f+4>>2]=0;C[d>>2]=e;C[d+100>>2]=844;C[d+104>>2]=845;C[d+112>>2]=846;C[d+120>>2]=e;C[d+124>>2]=d+4}C[d+132>>2]=a;C[d+128>>2]=a;e=C[C[a+4>>2]+96>>2];C[g+20>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;C[g+44>>2]=b;C[g+32>>2]=0;C[g+40>>2]=b+c;C[g+36>>2]=b;C[g+12>>2]=0;C[g+16>>2]=0;b=C[a+8>>2];f=D[b+161|0];h=D[b+160|0];b:{if(!h){c=1024;b=1024;break b}c=(C[b+168>>2]+32|0)/64|0;b=(C[b+164>>2]+32|0)/64|0}C[g+20>>2]=c;C[g+8>>2]=b;h=(h|0)!=0;C[d+8>>2]=h;if(!(D[e+32|0]|!f)){C[d+8>>2]=h|2}C[d+144>>2]=C[e+36>>2];C[d+148>>2]=C[e+40>>2];C[d+152>>2]=C[e+44>>2];C[d+156>>2]=C[e+48>>2];C[d+160>>2]=C[e+52>>2];C[d+164>>2]=C[e+56>>2];C[d+168>>2]=C[e+60>>2];C[d+172>>2]=C[e- -64>>2];e=E[C[a+4>>2]+68>>1];C[d+88>>2]=e;if(f){f=36;if((b|0)<=0|(c|0)<=0){break a}f=164;if(e<<16>>16<0){break a}a=Ze(131072e3,e<<16);if((a|0)<(b|0)|(a|0)<(c|0)){break a}a=C[d+132>>2]}C[g+56>>2]=0;C[g+60>>2]=0;f=0;C[g+52>>2]=0;C[d+4>>2]=0;b=C[a+736>>2];if((b|0)!=C[d+136>>2]){C[d+136>>2]=b;f=1}h=E[C[C[a+4>>2]+88>>2]+14>>1]<<16;if((h|0)!=C[d+84>>2]){C[d+84>>2]=h;f=1}q=C[d+96>>2];b=C[d+92>>2];c=C[d+8>>2];A[d+140|0]=c&1;c:{d:{e:{if(!Hg(g+8|0,d+12|0,16)){m=d+142|0;e=c&2;if((e|0)!=D[d+142|0]){break e}if(f){break d}break c}e=C[g+12>>2];C[d+12>>2]=C[g+8>>2];C[d+16>>2]=e;e=C[g+20>>2];C[d+20>>2]=C[g+16>>2];C[d+24>>2]=e;C[d+28>>2]=0;C[d+32>>2]=0;e=C[g+12>>2];C[d+36>>2]=C[g+8>>2];C[d+40>>2]=e;e=C[g+20>>2];C[d+44>>2]=C[g+16>>2];C[d+48>>2]=e;e=C[g+28>>2];C[d+52>>2]=C[g+24>>2];C[d+56>>2]=e;C[d+68>>2]=0;C[d+72>>2]=65536;C[d+60>>2]=65536;C[d+64>>2]=0;m=d+142|0;e=c&2;if((e|0)==D[d+142|0]){break d}}A[m|0]=e}e=C[C[a+736>>2]+388>>2]<<16;C[d+176>>2]=e;c=C[d+88>>2];l=c?c:1e3;c=65536e3/(l|0)|0;if((e|0)<=0){e=Ze(4915200,c);C[d+176>>2]=e}i=d+144|0;f=(h|0)<=262144?262144:h;f:{if((b|0)>0){e=l<<16;if((Ze(e,f)|0)>=(b|0)){b=Ze(e,f)}C[d+184>>2]=0;if(!b|(c|0)<655){break f}C[d+184>>2]=(b|0)/2;break f}Bw(c,f,e,d+184|0,0,D[d+142|0],i)}b=C[C[a+736>>2]+384>>2];g:{if(b<<16>0){a=4915200;if(C[d+176>>2]>b<<17){break g}}a=7208960}a=Ze(a,c);C[d+180>>2]=a;Bw(c,f,a,d+188|0,q,D[d+142|0],i);a=1;a=C[d+184>>2]?a:C[d+188>>2]!=0;i=0;A[d+192|0]=0;A[d+141|0]=a;a=C[d+132>>2];p(d+200|0,0,304);C[d+196>>2]=C[d+48>>2];w=d,x=Ze(C[C[a+736>>2]+372>>2],65536e3),C[w+208>>2]=x;h=C[a+736>>2];C[d+212>>2]=C[h+376>>2]<<16;C[d+216>>2]=C[h+380>>2]<<16;c=h+180|0;r=D[h+179|0];q=D[h+178|0];l=D[h+177|0];b=D[h+176|0];h:{i:{if(C[h+512>>2]==1){j:{switch(b|0){case 4:if(C[c>>2]<<16>-7864321|C[h+184>>2]<<16>-7864321|(C[h+188>>2]<<16<57671681|C[h+192>>2]<<16<57671681)){break i}break;case 0:break j;default:break i}}C[d+252>>2]=-7864321;a=Te(-7864321,C[d+196>>2]);C[d+244>>2]=49;b=C[d+196>>2];C[d+260>>2]=b;C[d+256>>2]=(a+32768&-65536)-32768;a=(C[d+188>>2]<<1)+57671681|0;C[d+232>>2]=a;a=Te(a,b);C[d+224>>2]=50;A[d+205|0]=1;C[d+240>>2]=C[d+196>>2];C[d+236>>2]=a+32768&-65536|32768;break c}if(!b){break h}}e=C[d+200>>2];a=I(e,20)+d|0;i=C[h+180>>2]<<16;C[a+264>>2]=i;f=C[h+184>>2]<<16;C[a+268>>2]=f;i=f-i|0;k:{if((i|0)<0){i=0;break k}C[a+272>>2]=f;A[a+280|0]=1;e=e+1|0;C[d+200>>2]=e}f=2;if(b>>>0<=2){break h}while(1){a=I(e,20)+d|0;j=f<<2;k=C[j+c>>2]<<16;C[a+264>>2]=k;j=C[c+(j|4)>>2]<<16;C[a+268>>2]=j;n=j-k|0;if((n|0)>=0){o=j;j=C[d+188>>2]<<1;C[a+268>>2]=o+j;k=k+j|0;C[a+264>>2]=k;C[a+272>>2]=k;A[a+280|0]=0;e=e+1|0;C[d+200>>2]=e;i=(i|0)<(n|0)?n:i}f=f+2|0;if(b>>>0>f>>>0){continue}break}}if(l){b=h+236|0;c=C[d+200>>2];f=0;while(1){a=I(c,20)+d|0;e=f<<2;k=C[e+b>>2]<<16;C[a+264>>2]=k;e=C[b+(e|4)>>2]<<16;C[a+268>>2]=e;k=e-k|0;if((k|0)>=0){C[a+272>>2]=e;A[a+280|0]=1;c=c+1|0;C[d+200>>2]=c;i=(i|0)<(k|0)?k:i}f=f+2|0;if(l>>>0>f>>>0){continue}break}}f=Ze(65536,C[d+196>>2]);n=C[d+200>>2];if(n){t=h+332|0;u=h+276|0;l=0;v=q>>>0<3;while(1){a=I(l,20)+d|0;k=a;c=C[a+272>>2];l:{if(D[a+280|0]){a=0;e=2147483647;m:{if(!r){break m}while(1){j=C[(a<<2|4)+t>>2]<<16;o=c-j|0;b=o>>31;n:{b=(b^o)-b|0;if((b|0)>=(e|0)|(b|0)>=(f|0)){break n}C[k+272>>2]=j;e=b;if((c|0)!=(j|0)){break n}e=0;break m}a=a+2|0;if(r>>>0>a>>>0){continue}break}}if(q>>>0<2){break l}b=C[h+280>>2]<<16;c=c-b|0;a=c>>31;a=(a^c)-a|0;if((a|0)>=(e|0)|(a|0)>=(f|0)){break l}C[k+272>>2]=b;break l}if(v){break l}o=C[d+188>>2]<<1;a=2;e=2147483647;while(1){j=(C[(a<<2)+u>>2]<<16)+o|0;s=c-j|0;b=s>>31;b=(b^s)-b|0;if(!((b|0)>=(e|0)|(b|0)>=(f|0))){C[k+272>>2]=j;e=b;if((c|0)==(j|0)){break l}}a=a+2|0;if(q>>>0>a>>>0){continue}break}}l=l+1|0;if((n|0)!=(l|0)){continue}break}}o:{if((i|0)<=0){break o}if(C[d+208>>2]<=(Ze(65536,i)|0)){break o}w=d,x=Ze(65536,i),C[w+208>>2]=x}a=C[d+196>>2];b=C[d+208>>2];if((a|0)<(b|0)){A[d+204|0]=1;a=of(39322,a,b);C[d+220>>2]=(a|0)<6555?32767:39322-a|0}if(D[m|0]){C[d+220>>2]=0}if(!C[d+200>>2]){break c}c=d+196|0;a=0;while(1){b=c+I(a,20)|0;e=D[b+84|0];j=b;k=Te(C[b+76>>2],C[d+196>>2]);b=C[d+220>>2];C[j+80>>2]=(k+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}p:{q:{if(C[d+4>>2]){break q}A[d+192|0]=0;C[d+116>>2]=0;a=D[d+141|0];Vi(C[C[d+128>>2]+12>>2]);b=d+100|0;Cm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(C[d+4>>2]){break q}if(!(!a|C[d+116>>2]>=0)){A[d+192|0]=1;C[d+116>>2]=0;Vi(C[C[d+128>>2]+12>>2]);Cm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(C[d+4>>2]){break q}}h=C[d+128>>2];a=C[h+20>>2];r:{if(!a){break r}c=0;e=E[a>>1];b=e<<16>>16;if((b|0)>=2){c=B[(C[a+12>>2]+(e<<1)|0)-4>>1]+1|0}f=E[a+2>>1];e=f<<16>>16;s:{if((e|0)<2){break s}i=C[a+4>>2];m=i+(c<<3)|0;i=(i+(f<<3)|0)-8|0;if(C[m>>2]!=C[i>>2]|C[m+4>>2]!=C[i+4>>2]|D[(f+C[a+8>>2]|0)-1|0]!=1){break s}e=e-1|0;B[a+2>>1]=e}if((b|0)<=0){break r}j=c;c=(e<<16>>16)-1|0;if((j|0)==(c|0)){B[a+2>>1]=e-1;B[a>>1]=b-1;break r}B[(C[a+12>>2]+(b<<1)|0)-2>>1]=c}ik(C[h+12>>2]);if(!C[d+4>>2]){break p}}f=3;break a}a=C[g+52>>2];f=0;C[d+4>>2]=0;C[C[d+128>>2]+552>>2]=a+32768>>16}Ce=g- -64|0;return f}function yM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0;f=Ce+-64|0;Ce=f;u=C[b+532>>2];a:{if(!u){u=si(C[C[b+96>>2]+4>>2],3922);if(!u){i=11;break a}C[b+532>>2]=u;C[b+508>>2]=C[u>>2]}x=b,y=Ti(C[b+96>>2],6758),C[x+536>>2]=y;v=C[a+28>>2];C[b+140>>2]=0;C[b+132>>2]=0;C[b+136>>2]=0;e=C[a+8>>2];d=dg(a,f+8|0);i=C[f+8>>2];if(i){break a}w=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}i=2;if((d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}i=2;if((d|0)!=1954115633){break a}}C[w>>2]=1953784678;if((d|0)!=1953784678){break f}i=Ef(a,351760,w);C[f+8>>2]=i;if(i){break a}d=C[b+140>>2];if(d){break g}i=8;break a}i=bf(a,e);C[f+8>>2]=i;if(i){break a}r=C[a+28>>2];i=Ef(a,351776,f+16|0);C[f+60>>2]=i;if(i){break a}i=8;d=C[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}e=C[f+24>>2];if((e|0)!=C[a+4>>2]){break a}d=E[f+28>>1];if(!d|e>>>0<=I(d,20)+44>>>0){break a}e=d<<4|12;d=C[f+32>>2];if(e>>>0>=d>>>0|d&3){break a}e=C[f+44>>2];i:{if(!C[f+40>>2]){if(!(e|C[f+48>>2])){break i}break a}if(!e){break i}if(!C[f+48>>2]){break a}}if(!(C[f+56>>2]?C[f+52>>2]:1)){break a}i=0;n=hf(r,d,f+60|0);if(C[f+60>>2]){q=0;e=0;break b}q=hf(r,40,f+60|0);if(C[f+60>>2]){e=0;break b}e=0;l=E[f+28>>1];i=l;j:{if(!i){d=-1;break j}while(1){d=e;e=d+1|0;g=i>>>0>1;i=i>>>1|0;if(g){continue}break}}A[n|0]=D[f+23|0];A[n+1|0]=E[f+22>>1];A[n+2|0]=C[f+20>>2]>>>8;A[n+3|0]=C[f+20>>2];A[n+4|0]=D[f+29|0];g=D[f+28|0];e=16<>>8;A[n+9|0]=d;A[n+8|0]=d>>>8;A[n+7|0]=e;A[n+6|0]=e>>>8;A[n+5|0]=g;i=0;e=Ve(r,24,0,E[f+28>>1],0,f+60|0);if(C[f+60>>2]){break b}i=Ve(r,4,0,E[f+28>>1],0,f+60|0);if(C[f+60>>2]){break b}d=Bf(a,I(E[f+28>>1],20));C[f+60>>2]=d;if(d){break b}l=0;d=0;if(E[f+28>>1]){while(1){g=I(d,24)+e|0;x=g,y=vg(a),C[x>>2]=y;x=g,y=vg(a),C[x+4>>2]=y;x=g,y=vg(a),C[x+8>>2]=y;x=g,y=vg(a),C[x+12>>2]=y;x=g,y=vg(a),C[x+16>>2]=y;h=l;l=C[g>>2];if(h>>>0>=l>>>0){xf(a);break c}C[(d<<2)+i>>2]=g;d=d+1|0;if(d>>>0>1]){continue}break}}xf(a);oh(i,E[f+28>>1],4,1051);h=E[f+28>>1];d=h<<4|12;g=I(h,20)+44|0;if(h){l=0;o=C[f+32>>2];s=C[f+24>>2];while(1){k=C[(l<<2)+i>>2];if(C[k+4>>2]!=(g|0)){break c}j=C[k+8>>2];if(j>>>0>s>>>0|s-j>>>0>>0){break c}m=C[k+12>>2];if(m>>>0>o>>>0|o-m>>>0>>0|j>>>0>m>>>0){break c}C[k+20>>2]=d;d=(m+3&-4)+d|0;g=(j+3&-4)+g|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}}l=C[f+40>>2];if(l){if((g|0)!=(l|0)){break c}g=C[f+44>>2]+g|0;if(g>>>0>F[f+24>>2]){break c}}l=C[f+52>>2];if(!l){l=C[f+24>>2];break d}if((l|0)!=(g+3&-4)){break c}g=l+C[f+56>>2]|0;l=C[f+24>>2];if(g>>>0<=l>>>0){break d}break c}i=10;if(d>>>0>C[a+4>>2]>>>5>>>0){break a}x=b,y=Ve(v,4,0,d,0,f+8|0),C[x+144>>2]=y;i=C[f+8>>2];if(i){break a}i=Bf(a,C[b+140>>2]<<2);C[f+8>>2]=i;if(i){break a}if(C[b+140>>2]>0){i=0;while(1){d=vg(a);C[C[b+144>>2]+(i<<2)>>2]=d;i=i+1|0;if((i|0)>2]){continue}break}}xf(a);i=C[f+8>>2];if(!i){break e}break a}C[b+136>>2]=65536;C[b+140>>2]=1;a=hf(v,4,f+8|0);C[b+144>>2]=a;i=C[f+8>>2];if(i){break a}C[a>>2]=e}i=6;a=(c|0)>0?c:0;if((a|0)>=C[b+140>>2]){break a}c=C[b+104>>2];i=bf(c,C[C[b+144>>2]+(a<<2)>>2]);if(i){break a}i=Fe[C[u+88>>2]](b,c)|0;if(i){break a}C[b+4>>2]=a;C[b>>2]=C[b+140>>2];i=0;break a}if(C[f+32>>2]!=(d|0)|(g|0)!=(l|0)){break c}if(h){d=n+12|0;l=0;while(1){k=I(l,24)+e|0;A[d|0]=D[k+3|0];A[d+1|0]=E[k+2>>1];A[d+2|0]=C[k>>2]>>>8;A[d+3|0]=C[k>>2];A[d+4|0]=D[k+19|0];A[d+5|0]=E[k+18>>1];A[d+6|0]=C[k+16>>2]>>>8;A[d+7|0]=C[k+16>>2];A[d+8|0]=D[k+23|0];A[d+9|0]=E[k+22>>1];A[d+10|0]=C[k+20>>2]>>>8;A[d+11|0]=C[k+20>>2];A[d+12|0]=D[k+15|0];A[d+13|0]=E[k+14>>1];A[d+14|0]=C[k+12>>2]>>>8;A[d+15|0]=C[k+12>>2];g=bf(a,C[k+4>>2]);C[f+60>>2]=g;if(g){break b}g=Bf(a,C[k+8>>2]);C[f+60>>2]=g;if(g){break b}g=C[k+8>>2];h=C[k+12>>2];k:{if((g|0)==(h|0)){t(C[k+20>>2]+n|0,C[a+32>>2],g);break k}C[f+12>>2]=h;g=f+12|0;j=C[a+32>>2];o=C[k+8>>2];h=Ce+-64|0;Ce=h;m=6;s=C[k+20>>2]+n|0;l:{if(!g|(!s|!r)){break l}C[h+20>>2]=s;C[h+12>>2]=o;C[h+8>>2]=j;j=C[g>>2];C[h+48>>2]=r;C[h+44>>2]=919;C[h+40>>2]=920;C[h+24>>2]=j;if(Nv(h+8|0,15)){break l}s=Lv(h+8|0,4);if((s|0)!=1){m=C[h+36>>2];m:{if(!m){break m}o=C[h+44>>2];if(!o){break m}j=C[m+20>>2];if(j){g=C[j>>2];if((g&-2)==4){Fe[o|0](C[h+48>>2],C[j+12>>2]);g=C[j>>2]}if((g|0)==6){Fe[C[h+44>>2]](C[h+48>>2],C[j+4>>2])}C[j+28>>2]=0;C[j+32>>2]=0;C[j>>2]=0;m=C[j+40>>2];C[j+52>>2]=m;C[j+48>>2]=m;g=C[j+56>>2];if(g){g=Fe[g|0](0,0,0)|0;C[j+60>>2]=g;C[h+56>>2]=g;m=C[j+40>>2]}Fe[C[h+44>>2]](C[h+48>>2],m);Fe[C[h+44>>2]](C[h+48>>2],C[j+36>>2]);Fe[C[h+44>>2]](C[h+48>>2],j);o=C[h+44>>2];m=C[h+36>>2]}Fe[o|0](C[h+48>>2],m)}m=0;g=s+5|0;if(g>>>0>=6){break l}m=C[(g<<2)+286984>>2];break l}C[g>>2]=C[h+28>>2];m=0;g=C[h+36>>2];if(!g){break l}o=C[h+44>>2];if(!o){break l}j=C[g+20>>2];if(j){g=C[j>>2];if((g&-2)==4){Fe[o|0](C[h+48>>2],C[j+12>>2]);g=C[j>>2]}if((g|0)==6){Fe[C[h+44>>2]](C[h+48>>2],C[j+4>>2])}C[j+28>>2]=0;C[j+32>>2]=0;C[j>>2]=0;g=C[j+40>>2];C[j+52>>2]=g;C[j+48>>2]=g;o=C[j+56>>2];if(o){g=Fe[o|0](0,0,0)|0;C[j+60>>2]=g;C[h+56>>2]=g;g=C[j+40>>2]}Fe[C[h+44>>2]](C[h+48>>2],g);Fe[C[h+44>>2]](C[h+48>>2],C[j+36>>2]);Fe[C[h+44>>2]](C[h+48>>2],j);o=C[h+44>>2];g=C[h+36>>2]}Fe[o|0](C[h+48>>2],g)}Ce=h- -64|0;C[f+60>>2]=m;if(m){break b}if(C[f+12>>2]!=C[k+12>>2]){break c}}xf(a);g=C[k+12>>2];h=C[k+20>>2];k=g+h|0;if(k&3){p(k+n|0,0,((g^-1)-h&3)+1|0)}d=d+16|0;l=l+1|0;if(l>>>0>1]){continue}break}d=C[f+32>>2]}C[q+32>>2]=0;C[q+8>>2]=0;C[q+4>>2]=d;C[q>>2]=n;C[q+20>>2]=0;C[q+24>>2]=0;a=C[a+28>>2];C[q+24>>2]=1052;C[q+28>>2]=a;pj(C[b+104>>2],C[b+8>>2]>>>10&1);C[b+104>>2]=q;C[b+8>>2]=C[b+8>>2]&-1025;break b}C[f+60>>2]=8}if(e){Fe[C[r+8>>2]](r,e)}if(i){Fe[C[r+8>>2]](r,i)}n:{if(!C[f+60>>2]){C[f+8>>2]=0;break n}if(n){Fe[C[r+8>>2]](r,n)}o:{if(!q){break o}a=C[q+24>>2];if(!a){break o}Fe[a|0](q)}if(q){Fe[C[r+8>>2]](r,q)}i=C[f+60>>2];C[f+8>>2]=i;if(i){break a}}a=C[b+104>>2];e=C[a+8>>2];d=dg(a,f+8|0);i=C[f+8>>2];if(!i){continue}break}}Ce=f- -64|0;return i|0}function oJ(a){a=a|0;var b=0;b=Ut(kf(af(a)+1|0),a);a=kg(b,23088);if(a){A[a|0]=0}a=kg(b,28663);if(a){A[a|0]=0}a=kg(b,24410);if(a){A[a|0]=0}a=kg(b,27206);if(a){A[a|0]=0}a=kg(b,25806);if(a){A[a|0]=0}a=1328;a:{if(!Se(b,16623)){break a}a=1329;if(!Se(b,11081)){break a}a=1330;if(!Se(b,12198)){break a}a=1331;if(!Se(b,10985)){break a}a=1332;if(!Se(b,10910)){break a}a=1333;if(!Se(b,10875)){break a}a=1334;if(!Se(b,16679)){break a}a=1335;if(!Se(b,9328)){break a}a=1336;if(!Se(b,12061)){break a}a=1337;if(!Se(b,16403)){break a}a=1338;if(!Se(b,21619)){break a}a=1339;if(!Se(b,16471)){break a}a=1340;if(!Se(b,22069)){break a}a=1341;if(!Se(b,22130)){break a}a=1342;if(!Se(b,5954)){break a}a=1343;if(!Se(b,11251)){break a}a=1344;if(!Se(b,9315)){break a}a=1345;if(!Se(b,15658)){break a}a=1346;if(!Se(b,13471)){break a}a=1347;if(!Se(b,13761)){break a}a=1348;if(!Se(b,11141)){break a}a=1349;if(!Se(b,28337)){break a}a=1350;if(!Se(b,28396)){break a}a=1351;if(!Se(b,28307)){break a}a=1352;if(!Se(b,28360)){break a}a=1353;if(!Se(b,13013)){break a}a=1354;if(!Se(b,11126)){break a}a=1355;if(!Se(b,19598)){break a}a=1356;if(!Se(b,6692)){break a}a=1357;if(!Se(b,6629)){break a}a=1358;if(!Se(b,12997)){break a}a=1359;if(!Se(b,6528)){break a}a=1360;if(!Se(b,11111)){break a}a=1361;if(!Se(b,7718)){break a}a=1362;if(!Se(b,21607)){break a}a=1363;if(!Se(b,13787)){break a}a=1364;if(!Se(b,15676)){break a}a=1365;if(!Se(b,11096)){break a}a=1366;if(!Se(b,17645)){break a}a=1367;if(!Se(b,1516)){break a}a=1368;if(!Se(b,5872)){break a}a=1369;if(!Se(b,6077)){break a}a=1370;if(!Se(b,17655)){break a}a=1371;if(!Se(b,1543)){break a}a=1372;if(!Se(b,14872)){break a}a=1373;if(!Se(b,14864)){break a}a=1374;if(!Se(b,10849)){break a}a=1375;if(!Se(b,28284)){break a}a=1376;if(!Se(b,19586)){break a}a=1377;if(!Se(b,6679)){break a}a=1378;if(!Se(b,11282)){break a}a=1379;if(!Se(b,6611)){break a}a=1380;if(!Se(b,6509)){break a}a=1381;if(!Se(b,7704)){break a}a=1382;if(!Se(b,21806)){break a}a=1383;if(!Se(b,12909)){break a}a=1384;if(!Se(b,6708)){break a}a=1385;if(!Se(b,12178)){break a}a=1386;if(!Se(b,2308)){break a}a=1387;if(!Se(b,2478)){break a}a=1388;if(!Se(b,9271)){break a}a=1389;if(!Se(b,2256)){break a}a=1390;if(!Se(b,2411)){break a}a=1391;if(!Se(b,2294)){break a}a=1392;if(!Se(b,2530)){break a}a=1393;if(!Se(b,15111)){break a}a=1394;if(!Se(b,2449)){break a}a=1395;if(!Se(b,2501)){break a}a=1396;if(!Se(b,15092)){break a}a=1397;if(!Se(b,5748)){break a}a=1398;if(!Se(b,18857)){break a}a=1399;if(!Se(b,15221)){break a}a=1400;if(!Se(b,2617)){break a}a=1401;if(!Se(b,2374)){break a}a=1402;if(!Se(b,2654)){break a}a=1403;if(!Se(b,2515)){break a}a=1404;if(!Se(b,12157)){break a}a=1405;if(!Se(b,2669)){break a}a=1406;if(!Se(b,2545)){break a}a=1407;if(!Se(b,2268)){break a}a=1408;if(!Se(b,3915)){break a}a=1409;if(!Se(b,10974)){break a}a=1410;if(!Se(b,20645)){break a}a=1411;if(!Se(b,10894)){break a}a=1412;if(!Se(b,12971)){break a}a=1413;if(!Se(b,10832)){break a}a=1414;if(!Se(b,11070)){break a}a=1415;if(!Se(b,16611)){break a}a=1416;if(!Se(b,14836)){break a}a=1417;if(!Se(b,12983)){break a}a=1418;if(!Se(b,14557)){break a}a=1419;if(!Se(b,4566)){break a}a=1420;if(!Se(b,7021)){break a}a=1421;if(!Se(b,10752)){break a}a=1422;if(!Se(b,18336)){break a}a=1423;if(!Se(b,18358)){break a}a=1424;if(!Se(b,9032)){break a}a=1425;if(!Se(b,1363)){break a}a=1426;if(!Se(b,18875)){break a}a=1427;if(!Se(b,21593)){break a}a=1428;if(!Se(b,16449)){break a}a=1429;if(!Se(b,13773)){break a}a=1430;if(!Se(b,16427)){break a}a=1431;if(!Se(b,11334)){break a}a=1432;if(!Se(b,16383)){break a}a=1433;if(!Se(b,28324)){break a}a=1434;if(!Se(b,15638)){break a}a=1435;if(!Se(b,2637)){break a}a=1436;if(!Se(b,14528)){break a}a=1437;if(!Se(b,2394)){break a}a=1438;if(!Se(b,28380)){break a}a=1439;if(!Se(b,15793)){break a}a=1440;if(!Se(b,2839)){break a}a=1441;if(!Se(b,14616)){break a}a=1442;if(!Se(b,2604)){break a}a=1443;if(!Se(b,15764)){break a}a=1444;if(!Se(b,2808)){break a}a=1445;if(!Se(b,14604)){break a}a=1446;if(!Se(b,2591)){break a}a=1447;if(!Se(b,15735)){break a}a=1448;if(!Se(b,2758)){break a}a=1449;if(!Se(b,14583)){break a}a=1450;if(!Se(b,2578)){break a}a=1451;if(!Se(b,15706)){break a}a=1452;if(!Se(b,2708)){break a}a=1453;if(!Se(b,14571)){break a}a=1454;if(!Se(b,2565)){break a}a=1455;if(!Se(b,2789)){break a}a=1456;if(!Se(b,2739)){break a}a=1457;if(!Se(b,2689)){break a}a=1458;if(!Se(b,13047)){break a}a=1459;if(!Se(b,13029)){break a}a=1460;if(!Se(b,15805)){break a}a=1461;if(!Se(b,2852)){break a}a=1462;if(!Se(b,15776)){break a}a=1463;if(!Se(b,2821)){break a}a=1464;if(!Se(b,15747)){break a}a=1465;if(!Se(b,2771)){break a}a=1466;if(!Se(b,15718)){break a}a=1467;if(!Se(b,2721)){break a}a=1468;if(!Se(b,9519)){break a}a=1469;if(!Se(b,3551)){break a}a=1309;if(!Se(b,22983)){break a}a=1310;if(!Se(b,22999)){break a}a=1311;if(!Se(b,22830)){break a}a=1312;if(!Se(b,22843)){break a}a=1313;if(!Se(b,22859)){break a}a=1314;if(!Se(b,23018)){break a}a=1315;if(!Se(b,22873)){break a}a=1316;if(!Se(b,22912)){break a}a=1317;if(!Se(b,22889)){break a}a=1318;if(!Se(b,22959)){break a}a=1319;if(!Se(b,22934)){break a}a=1320;if(!Se(b,24288)){break a}a=1321;if(!Se(b,24330)){break a}a=1322;if(!Se(b,24309)){break a}a=1323;if(!Se(b,24269)){break a}a=1324;if(!Se(b,25793)){break a}a=1325;if(!Se(b,27143)){break a}a=1326;if(!Se(b,27170)){break a}a=Se(b,27116)?0:1327}if(!a){a=1309;b:{if(!Se(b,7951)){break b}a=1310;if(!Se(b,7964)){break b}a=1311;if(!Se(b,1291)){break b}a=1312;if(!Se(b,1301)){break b}a=1313;if(!Se(b,1314)){break b}a=1314;if(!Se(b,9482)){break b}a=1315;if(!Se(b,2322)){break b}a=1316;if(!Se(b,2355)){break b}a=1317;if(!Se(b,2335)){break b}a=1318;if(!Se(b,2916)){break b}a=1319;if(!Se(b,2894)){break b}a=1320;if(!Se(b,1480)){break b}a=1321;if(!Se(b,5851)){break b}a=1322;if(!Se(b,5833)){break b}a=1323;if(!Se(b,1464)){break b}a=1324;if(!Se(b,6650)){break b}a=1325;if(!Se(b,20798)){break b}a=1326;if(!Se(b,20820)){break b}a=Se(b,9042)?0:1327}}Re(b);return a|0}function gn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;f=1;if((e|0)<=0){break a}g=D[a|0]|D[a+1|0]<<8;b:{if(!g){break b}f=a+2|0;if(f>>>0>d>>>0){break a}h=d-f|0;d=(g<<8|g>>>8)&65535;f=d<<3;if(h>>>0>>0){break a}e=e-f|0;C[b+12>>2]=e;f=0;if((e|0)<=0){break b}s=d>>>0<=1?1:d;while(1){d=(q<<3)+a|0;e=d+2|0;if(e>>>0>2]){break a}f=C[b+8>>2];if(f>>>0>>0|f-e>>>0<8){break a}e=C[c>>2];g=C[b+12>>2];h=g-8|0;C[b+12>>2]=h;if((h|0)<=0){break a}m=d+6|0;if(f>>>0>>0|f-m>>>0<4){break a}f=g-12|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=A[m|0];if((f|0)<0){break a}f=D[d+9|0]|(D[d+7|0]<<16|(f&255)<<24|D[d+8|0]<<8);c:{if(!f){break c}d=0;o=Ce-16|0;Ce=o;e=e+f|0;d:{if(e>>>0>2]){break d}f=C[b+8>>2];if(f>>>0>>0){break d}h=f-e|0;if(h>>>0<2){break d}g=C[b+12>>2];i=g-2|0;C[b+12>>2]=i;d=1;if((i|0)<=0){d=0;break d}e:{f:{g:{h:{i:{j:{k:{i=D[e|0]|D[e+1|0]<<8;switch((i<<8|i>>>8)&65535){case 10:break h;case 6:break i;case 4:break j;case 0:break k;case 14:break e;case 13:break f;case 12:break g;default:break d}}d=0;if(h>>>0<262){break d}d=g-264|0;C[b+12>>2]=d;d=(d|0)>0;break d}if(h>>>0<14){d=0;break d}f=g-16|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}d=D[e+2|0]|D[e+3|0]<<8;l:{if(!d){d=0;break l}g=(d<<8|d>>>8)&65535;if(g>>>0<=h>>>0){f=f-g|0;C[b+12>>2]=f;if((f|0)>0){break l}}d=0;f=C[b+28>>2];if(f>>>0>31){break d}C[b+28>>2]=f+1;if(!D[b+24|0]){break d}d=h>>>0>=65535?65535:h;d=d<<8|(d&65280)>>>8;A[e+2|0]=d;A[e+3|0]=d>>>8}f=D[e+6|0]|D[e+7|0]<<8;d=(((f<<8|f>>>8)&65535)<<2)+16>>>0<=((d<<8|(d&65280)>>>8)&65535)>>>0;break d}if(h>>>0<10){d=0;break d}d=g-12|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+8|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<2){d=0;break d}g=g-14|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[d|0]|D[d+1|0]<<8;if(d){e=e+10|0;if(e>>>0>f>>>0){d=0;break d}d=((d<<8|d>>>8)&65535)<<1;if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<20){d=0;break d}d=g-22|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+16|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<4){d=0;break d}g=g-26|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[e+16|0]|D[e+17|0]<<8|(D[e+18|0]<<16|D[e+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>2147483646){d=0;break d}if(d){e=e+20|0;if(e>>>0>f>>>0){d=0;break d}d=d<<1;if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<16){d=0;break d}d=g-18|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+12|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<4){d=0;break d}g=g-22|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>357913940){d=0;break d}if(d){e=e+16|0;if(e>>>0>f>>>0){d=0;break d}d=I(d,12);if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<16){d=0;break d}d=g-18|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+12|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<4){d=0;break d}g=g-22|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>357913940){d=0;break d}if(d){e=e+16|0;if(e>>>0>f>>>0){d=0;break d}d=I(d,12);if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<=9){d=0;break d}d=g-12|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}C[o+12>>2]=e;f=0;p=0;e=e+6|0;m:{n:{if(e>>>0>2]){break n}g=C[b+8>>2];if(g>>>0>>0|g-e>>>0<4){break n}h=C[b+12>>2]-4|0;C[b+12>>2]=h;if((h|0)<=0){break n}d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(i>>>0>390451571){break n}d=1;if(!i){break m}d=e+4|0;if(d>>>0>g>>>0){break n}j=g-d|0;d=I(i,11);if(j>>>0>>0){break n}d=h-d|0;C[b+12>>2]=d;if((d|0)<=0){break n}f=1;d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);r=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!r){break n}while(1){f=0;l=e+I(p,11)|0;d=l+4|0;if(d>>>0>2]){break n}g=C[b+8>>2];if(g>>>0>>0|g-d>>>0<11){break n}n=C[o+12>>2];d=C[b+12>>2]-11|0;C[b+12>>2]=d;if((d|0)<=0){break n}d=0;g=l+7|0;h=C[b+4>>2];o:{if(g>>>0>>0){break o}i=C[b+8>>2];if(i>>>0>>0|i-g>>>0<4){break o}k=C[b+12>>2];j=k-4|0;C[b+12>>2]=j;if((j|0)<=0){break o}j=A[g|0];if((j|0)<0){break o}d=D[g+3|0]|(D[g+1|0]<<16|(j&255)<<24|D[g+2|0]<<8);if(d){j=h;h=d+n|0;p:{if(j>>>0>h>>>0|h>>>0>i>>>0|i-h>>>0<4){break p}k=k-8|0;C[b+12>>2]=k;if((k|0)<=0){break p}d=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(j>>>0>1073741822){break p}d=1;if(!j){break o}h=h+4|0;if(h>>>0>i>>>0){break p}i=i-h|0;h=j<<2;if(i>>>0>>0){break p}h=k-h|0;C[b+12>>2]=h;if((h|0)>0){break o}}d=0;h=C[b+28>>2];if(h>>>0>31){break o}C[b+28>>2]=h+1;if(!D[b+24|0]){break o}A[g|0]=0;A[g+1|0]=0;A[g+2|0]=0;A[g+3|0]=0}d=1}if(!d){break n}d=0;g=l+11|0;h=C[b+4>>2];q:{if(g>>>0>>0){break q}i=C[b+8>>2];if(i>>>0>>0|i-g>>>0<4){break q}l=C[b+12>>2];k=l-4|0;C[b+12>>2]=k;if((k|0)<=0){break q}k=A[g|0];if((k|0)<0){break q}d=D[g+3|0]|(D[g+1|0]<<16|(k&255)<<24|D[g+2|0]<<8);if(d){j=h;h=d+n|0;r:{if(j>>>0>h>>>0|h>>>0>i>>>0|i-h>>>0<4){break r}l=l-8|0;C[b+12>>2]=l;if((l|0)<=0){break r}d=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);n=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(n>>>0>858993458){break r}d=1;if(!n){break q}h=h+4|0;if(h>>>0>i>>>0){break r}j=i-h|0;h=I(n,5);if(j>>>0>>0){break r}h=l-h|0;C[b+12>>2]=h;if((h|0)>0){break q}}d=0;h=C[b+28>>2];if(h>>>0>31){break q}C[b+28>>2]=h+1;if(!D[b+24|0]){break q}A[g|0]=0;A[g+1|0]=0;A[g+2|0]=0;A[g+3|0]=0}d=1}if(!d){break n}f=1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}d=f}}Ce=o+16|0;if(d){break c}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[m|0]=0;A[m+1|0]=0;A[m+2|0]=0;A[m+3|0]=0}f=1;q=q+1|0;if((s|0)!=(q|0)){continue}break}}return f}return 0}function mC(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,j=0,k=0,l=0,m=0,n=0,o=0;g=g^255;a:{b:{switch(c-1|0){case 0:l=C[b+12>>2];if(!l){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];n=b&3;c=(b+3|0)/4|0;m=C[95278];i=C[95279];k=j-b<<1;c:while(1){l=l-1|0;j=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=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=3;continue;default:break f}}b=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;b=j-1|0;a=a+2|0;g:{if((j|0)>1){j=b;break g}a=a+k|0;if(l){continue c}break a}b=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=e<<3&2016|d<<8&63488|f>>>3;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(e,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;j=e-a<<1;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:B[g>>1]=d;g=g+2|0;a=1;continue;case 1:B[g>>1]=d;g=g+2|0;a=2;continue;case 2:B[g>>1]=d;g=g+2|0;a=3;continue;default:break k}}B[g>>1]=d;a=e-1|0;g=g+2|0;l:{if((e|0)>1){e=a;break l}g=g+j|0;if(c){continue h}break a}a=0;continue}};case 7:m=C[b+12>>2];if(!m){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];n=b&3;c=(b+3|0)/4|0;l=C[95278];i=C[95279];k=j-b<<1;m:while(1){m=m-1|0;j=c;n:{o:{switch(n-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=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=3;continue;default:break p}}b=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;b=j-1|0;a=a+2|0;q:{if((j|0)>1){j=b;break q}a=a+k|0;if(m){continue m}break a}b=0;continue}};case 3:j=C[b+12>>2];if(!j){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];m=a&3;b=(a+3|0)/4|0;l=C[95278];i=C[95279];n=c-a<<1;r:while(1){j=j-1|0;a=b;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=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=3;continue;default:break u}}c=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;c=a-1|0;g=g+2|0;v:{if((a|0)>1){a=c;break v}g=g+n|0;if(j){continue r}break a}c=0;continue}};case 1:break b}}l=C[b+12>>2];if(!l){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];m=a&3;b=(a+3|0)/4|0;i=C[95278];j=C[95279];n=c-a<<1;w:while(1){l=l-1|0;a=b;x:{y:{switch(m-1|0){default:c=0;break x;case 0:c=3;break x;case 1:c=2;break x;case 2:break y}}c=1}while(1){z:{switch(c|0){case 0:c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=3;continue;default:break z}}c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;c=a-1|0;g=g+2|0;A:{if((a|0)>1){a=c;break A}g=g+n|0;if(l){continue w}break a}c=0;continue}}}return 0}function nC(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,j=0,k=0,l=0,m=0,n=0;g=g^255;a:{b:{switch(c-1|0){case 0:l=C[b+12>>2];if(!l){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];m=b&3;c=(b+3|0)/4|0;i=C[95279];k=j-b<<1;c:while(1){l=l-1|0;j=c;d:{e:{switch(m-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=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=3;continue;default:break f}}b=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;b=j-1|0;a=a+2|0;g:{if((j|0)>1){j=b;break g}a=a+k|0;if(l){continue c}break a}b=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=e<<2&992|d<<7&31744|f>>>3;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(e,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;j=e-a<<1;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:B[g>>1]=d;g=g+2|0;a=1;continue;case 1:B[g>>1]=d;g=g+2|0;a=2;continue;case 2:B[g>>1]=d;g=g+2|0;a=3;continue;default:break k}}B[g>>1]=d;a=e-1|0;g=g+2|0;l:{if((e|0)>1){e=a;break l}g=g+j|0;if(c){continue h}break a}a=0;continue}};case 7:l=C[b+12>>2];if(!l){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];m=b&3;c=(b+3|0)/4|0;i=C[95279];k=j-b<<1;m:while(1){l=l-1|0;j=c;n:{o:{switch(m-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=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=3;continue;default:break p}}b=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;b=j-1|0;a=a+2|0;q:{if((j|0)>1){j=b;break q}a=a+k|0;if(l){continue m}break a}b=0;continue}};case 3:j=C[b+12>>2];if(!j){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];l=b&3;a=(b+3|0)/4|0;i=C[95279];m=c-b<<1;r:while(1){j=j-1|0;b=a;s:{t:{switch(l-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=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=3;continue;default:break u}}c=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;c=b-1|0;g=g+2|0;v:{if((b|0)>1){b=c;break v}g=g+m|0;if(j){continue r}break a}c=0;continue}};case 1:break b}}l=C[b+12>>2];if(!l){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];i=b&3;a=(b+3|0)/4|0;j=C[95279];m=c-b<<1;w:while(1){l=l-1|0;b=a;x:{y:{switch(i-1|0){default:c=0;break x;case 0:c=3;break x;case 1:c=2;break x;case 2:break y}}c=1}while(1){z:{switch(c|0){case 0:c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=3;continue;default:break z}}c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;c=b-1|0;g=g+2|0;A:{if((b|0)>1){b=c;break A}g=g+m|0;if(l){continue w}break a}c=0;continue}}}return 0}function _p(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,o=0,p=0;a:{if(F[b+4>>2]>a>>>0){break a}f=C[b+8>>2];if(f>>>0>>0){break a}j=f-a|0;if(j>>>0<12){break a}e=C[b+12>>2]-12|0;C[b+12>>2]=e;if(D[a|0]|D[a+1|0]<<8|(e|0)<=0){break a}c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c){if(c>>>0>j>>>0){break a}e=e-c|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}else{c=0}n=a+4|0;if(f>>>0>>0){return 0}if(f-n>>>0<4){return 0}C[b+12>>2]=e-4;if((e|0)<5){return 0}e=A[n|0];if((e|0)<0){break a}p=1;e=D[a+7|0]|(D[a+5|0]<<16|(e&255)<<24|D[a+6|0]<<8);if(!e){break a}f=a+c|0;c=0;j=Ce-16|0;Ce=j;e=a+e|0;b:{if(e>>>0>2]){break b}a=C[b+8>>2];if(a>>>0>>0){break b}a=a-e|0;if(a>>>0<2){break b}d=C[b+12>>2];h=d-2|0;C[b+12>>2]=h;if((h|0)<=0){break b}c:{d:{e:{f:{g:{h:{h=D[e|0]|D[e+1|0]<<8;switch((h<<8|h>>>8)&65535){case 6:break e;case 4:break f;case 2:break g;case 0:break h;case 10:break b;case 8:break d;default:break c}}C[j+12>>2]=f;c=Zp(e+2|0,b,C[b+36>>2],j+12|0);break b}C[j+12>>2]=f;a=0;f=e+2|0;i:{if(f>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<10){break i}h=C[b+12>>2]-10|0;C[b+12>>2]=h;if((h|0)<=0){break i}e=D[f|0]|D[f+1|0]<<8;g=(e<<8|e>>>8)&65535;if(g>>>0<6){break i}a=D[f+2|0]|D[f+3|0]<<8;e=(a<<8|a>>>8)&65535;d=0;j:{if(!a){break j}a=0;d=f+10|0;if(d>>>0>c>>>0){break i}d=c-d|0;c=I(e,g);if(d>>>0>>0){break i}c=h-c|0;C[b+12>>2]=c;if((c|0)<=0){break i}a=f+I(g,e-1|0)|0;d=0;if((D[a+10|0]|D[a+11|0]<<8)!=65535){break j}d=(D[a+12|0]|D[a+13|0]<<8)==65535?-1:0}a=1;l=e+d|0;if(!l){break i}h=f+10|0;e=0;while(1){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535;k=C[j+12>>2];a=0;c=0;k:{if(!d){break k}d=D[f|0]|D[f+1|0]<<8;d=h+I(g-1|0,(d<<8|d>>>8)&65535)|0;c=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break k}c=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}if(c+g>>>0<=e>>>0){c=205712}else{c=D[f|0]|D[f+1|0]<<8;c=h+I((c<<8|c>>>8)&65535,e)|0}m=C[b+4>>2];l:{if(c>>>0>>0){break l}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break l}g=C[b+12>>2];i=g-6|0;C[b+12>>2]=i;if((i|0)<=0){break l}c=c+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break l}i=g-8|0;C[b+12>>2]=i;if((i|0)<=0){break l}a=D[c|0]|D[c+1|0]<<8;c=k+((a<<8|a>>>8)&65535)|0;m:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break m}g=g-12|0;C[b+12>>2]=g;if((g|0)<=0){break m}a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);k=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(k>>>0>1073741822){break m}a=1;if(!k){break l}c=c+4|0;if(c>>>0>d>>>0){break m}d=d-c|0;c=k<<2;if(d>>>0>>0){break m}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break l}}a=0}if(!a){break i}e=e+1|0;if((l|0)!=(e|0)){continue}break}}c=a;break b}C[j+12>>2]=f;C[j+8>>2]=e;k=j+12|0;f=e+2|0;n:{if(f>>>0>2]){break n}a=C[b+8>>2];if(a>>>0>>0|a-f>>>0<10){break n}h=C[b+12>>2]-10|0;C[b+12>>2]=h;if((h|0)<=0){break n}e=D[f|0]|D[f+1|0]<<8;g=(e<<8|e>>>8)&65535;if(g>>>0<6){break n}c=D[f+2|0]|D[f+3|0]<<8;e=(c<<8|c>>>8)&65535;d=0;o:{if(!c){break o}c=0;d=f+10|0;if(d>>>0>a>>>0){break n}d=a-d|0;a=I(e,g);if(d>>>0>>0){break n}a=h-a|0;C[b+12>>2]=a;if((a|0)<=0){break n}a=f+I(g,e-1|0)|0;d=0;if((D[a+10|0]|D[a+11|0]<<8)!=65535){break o}d=(D[a+12|0]|D[a+13|0]<<8)==65535?-1:0}c=1;l=e+d|0;if(!l){break n}h=f+10|0;e=0;while(1){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535;c=0;a=0;p:{if(!d){break p}d=D[f|0]|D[f+1|0]<<8;d=h+I(g-1|0,(d<<8|d>>>8)&65535)|0;a=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break p}a=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}if(a+g>>>0<=e>>>0){a=205712}else{a=D[f|0]|D[f+1|0]<<8;a=h+I((a<<8|a>>>8)&65535,e)|0}if(a>>>0>2]){break n}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break n}g=C[j+8>>2];m=C[b+12>>2];i=m-6|0;C[b+12>>2]=i;if((i|0)<=0){break n}i=D[a|0]|D[a+1|0]<<8;i=(i<<8|i>>>8)&65535;o=D[a+2|0]|D[a+3|0]<<8;o=(o<<8|o>>>8)&65535;if(i>>>0>>0){break n}a=a+4|0;if(a>>>0>d>>>0|d-a>>>0<2){break n}d=m-8|0;C[b+12>>2]=d;if((d|0)<=0){break n}a=D[a|0]|D[a+1|0]<<8;if(!Zp(g+((a<<8|a>>>8)&65535)|0,b,(i-o|0)+1|0,k)){break n}c=1;e=e+1|0;if((l|0)!=(e|0)){continue}break}}break b}C[j+12>>2]=f;a=0;f=e+2|0;q:{if(f>>>0>2]){break q}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<10){break q}d=C[b+12>>2]-10|0;C[b+12>>2]=d;if((d|0)<=0){break q}e=D[f|0]|D[f+1|0]<<8;h=(e<<8|e>>>8)&65535;if(h>>>0<4){break q}a=D[f+2|0]|D[f+3|0]<<8;e=(a<<8|a>>>8)&65535;if(a){a=0;g=f+10|0;if(g>>>0>c>>>0){break q}g=c-g|0;c=I(e,h);if(g>>>0>>0){break q}c=d-c|0;C[b+12>>2]=c;if((c|0)<=0){break q}a=f+I(h,e-1|0)|0;c=(D[a+10|0]|D[a+11|0]<<8)==65535?-1:0}else{c=0}a=1;l=c+e|0;if(!l){break q}h=f+10|0;e=0;while(1){c=D[f+2|0]|D[f+3|0]<<8;d=(c<<8|c>>>8)&65535;k=C[j+12>>2];a=0;if(c){c=D[f|0]|D[f+1|0]<<8;c=h+I(d-1|0,(c<<8|c>>>8)&65535)|0;c=(D[c|0]|D[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+d>>>0<=e>>>0){c=205712}else{c=D[f|0]|D[f+1|0]<<8;c=h+I((c<<8|c>>>8)&65535,e)|0}m=C[b+4>>2];r:{if(c>>>0>>0){break r}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break r}g=C[b+12>>2];i=g-4|0;C[b+12>>2]=i;if((i|0)<=0){break r}c=c+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break r}i=g-6|0;C[b+12>>2]=i;if((i|0)<=0){break r}a=D[c|0]|D[c+1|0]<<8;c=k+((a<<8|a>>>8)&65535)|0;s:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break s}g=g-10|0;C[b+12>>2]=g;if((g|0)<=0){break s}a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);k=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(k>>>0>1073741822){break s}a=1;if(!k){break r}c=c+4|0;if(c>>>0>d>>>0){break s}d=d-c|0;c=k<<2;if(d>>>0>>0){break s}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break r}}a=0}if(!a){break q}e=e+1|0;if((l|0)!=(e|0)){continue}break}}c=a;break b}C[j+12>>2]=f;if(a>>>0<6){break b}a=d-8|0;C[b+12>>2]=a;if((a|0)<=0){break b}a=D[e+4|0]|D[e+5|0]<<8;c=Zp(e+6|0,b,(a<<8|a>>>8)&65535,j+12|0);break b}c=1}Ce=j+16|0;if(c){break a}p=0;a=C[b+28>>2];if(a>>>0>31){break a}C[b+28>>2]=a+1;if(!D[b+24|0]){break a}A[n|0]=0;A[n+1|0]=0;A[n+2|0]=0;A[n+3|0]=0;p=1}return p}function YO(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,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;m=Ce-48|0;Ce=m;i=6;p=C[a+4>>2];a:{if(!p){break a}e=c-1|0;v=c>>>0>=e>>>0?e:0;if(v>>>0>=F[p+408>>2]){break a}b:{if(d&9){break b}h=C[p+380>>2];if(!h){break b}s=C[p+416>>2];t=C[p+104>>2];i=C[p+388>>2];e=E[b+12>>1];c=0;while(1){if(!((e|0)==C[i>>2]&C[i+4>>2]==E[b+14>>1])){i=i+36|0;c=c+1|0;if((h|0)!=(c|0)){continue}break b}break}e=C[i+8>>2];if(bf(t,C[i+24>>2]+C[p+432>>2]|0)){break b}c=e&1;if(Bf(t,I(C[i+28>>2],(e>>>2&1)+(e&2?c+5|0:c|4)|0))){break b}e=s+(v<<4)|0;c:{c=C[i+28>>2];d:{if(!c){break d}h=C[i+8>>2];u=h&1;o=h&2;i=h&4;r=(o?u+5|0:u|4)+(i>>>2|0)|0;j=C[e>>2];n=C[t+36>>2];k=C[t+32>>2];while(1){l=c+f>>>1|0;g=k+I(l,r)|0;if(n>>>0>>0){break d}e:{if(u){e=g+2|0;h=D[g+1|0]|D[g|0]<<8;break e}e=g+1|0;h=D[g|0]}if((h|0)==(j|0)){break c}e=h>>>0>>0;f=e?l:f;c=e?c:l;if(f>>>0>>0){continue}break}}xf(t);break b}c=D[e|0];f:{if(o){c=D[e+1|0]|c<<8;e=e+2|0;break f}e=e+1|0}f=D[e+1|0];h=D[e|0];if(i){h=D[e+2|0]|(f<<8|h<<16)}else{h=f|h<<8}xf(t);if(!c){break b}C[m+8>>2]=0;C[m+44>>2]=0;C[m+36>>2]=0;C[m+32>>2]=0;C[m+28>>2]=0;g=s+(v<<4)|0;i=C[g+4>>2];f=C[p+304>>2];e=C[p+300>>2];g:{if((f|0)==(e|0)){e=i;break g}e=of(i,e,f);f=C[p+304>>2];i=C[g+4>>2]}C[a+56>>2]=e;e=of(E[b+12>>1]<<8,i,f);C[m+40>>2]=e;if(bf(t,h+C[p+188>>2]|0)){break b}if(Bf(t,c)){break b}C[m+24>>2]=C[t+32>>2];h=8;k=C[t+36>>2];g=C[m+24>>2];h:{if(k>>>0>>0){break h}i:{j:{k:{l:{m:{j=D[g|0];switch((j&3)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}c=g+2|0;if(k>>>0>>0){break h}f=A[g+1|0];g=f>>4;i=f<<28>>28;break i}c=g+3|0;if(k>>>0>>0){break h}i=A[g+2|0];g=A[g+1|0];break i}c=g+5|0;if(k>>>0>>0){break h}f=D[g+3|0]|D[g+4|0]<<8;i=(f<<8|f>>>8)<<16>>16;f=D[g+1|0]|D[g+2|0]<<8;g=(f<<8|f>>>8)<<16>>16;break i}c=g+7|0;if(k>>>0>>0){break h}i=D[g+6|0]|(D[g+5|0]<<8|D[g+4|0]<<16);g=D[g+3|0]|(D[g+2|0]<<8|D[g+1|0]<<16)}n=j>>>2&3;l=n;n:{o:{switch(n-1|0){case 0:f=c+1|0;if(f>>>0>k>>>0){break h}c=D[c|0];l=c&15;n=c>>>4|0;c=f;break n;case 1:f=c+2|0;if(f>>>0>k>>>0){break h}l=D[c+1|0];n=D[c|0];c=f;break n;case 2:break o;default:break n}}f=c+4|0;if(f>>>0>k>>>0){break h}l=D[c+3|0]|D[c+2|0]<<8;n=D[c+1|0]|D[c|0]<<8;c=f}p:{q:{r:{s:{j=j>>>4|0;switch((j&3)-1|0){case 2:break q;case 1:break r;case 0:break s;default:break p}}f=c+1|0;if(f>>>0>k>>>0){break h}e=A[c|0]<<8;c=f;break p}f=c+2|0;if(f>>>0>k>>>0){break h}c=D[c|0]|D[c+1|0]<<8;e=(c<<8|c>>>8)<<16>>16;c=f;break p}f=c+3|0;if(f>>>0>k>>>0){break h}e=D[c+2|0]|(D[c+1|0]<<8|D[c|0]<<16);c=f}C[m+8>>2]=g;C[m+44>>2]=i;C[m+36>>2]=n;C[m+32>>2]=l;C[m+40>>2]=e;C[m+28>>2]=j>>>2;C[m+24>>2]=c;h=0}t:{j=C[m+32>>2];u:{if((j|0)<0){break u}g=C[m+44>>2];if(h|(g|0)>(j^2147483647)){break u}C[a+72>>2]=1651078259;c=C[m+36>>2];A[a+94|0]=1;C[a+76>>2]=j;C[a+80>>2]=c;C[a+28>>2]=j<<6;h=c<<6;C[a+24>>2]=h;e=c+7>>3;C[a+84>>2]=e;f=C[m+8>>2];C[a+36>>2]=g<<6;C[a+32>>2]=f<<6;c=C[m+40>>2];i=0;C[a+48>>2]=0;C[a+44>>2]=0-h>>1;C[a+40>>2]=(c>>2)+32&-64;c=C[b+32>>2];C[a+104>>2]=g+j;C[a+100>>2]=f;C[a+52>>2]=c;if(!pp(a,I(e,j))){break t}}xf(t);break b}k=C[m+24>>2];r=C[t+36>>2];h=C[m+28>>2];g=C[p+208>>2]&2;e=0;f=C[a+76>>2];v:{if(!f){break v}c=C[a+80>>2];if(!c){break v}e=C[a+84>>2];u=g?e:0-e|0;s=I(c,f);g=C[a+88>>2]+(g?0:I(e,f-1|0))|0;e=3;w:{x:{y:{switch(h|0){case 0:e=0;h=r-k<<3;o=h>>>0>>0?h:s;if(!o){break v}j=128;l=0;n=g;f=c;h=o;while(1){if(!((h^o)&7)){l=D[k|0];k=k+1|0}q=l<<24>>31&j|q;f=f-1|0;z:{if(!f){A[n|0]=q;q=0;f=c;g=g+u|0;n=g;r=128;break z}r=j>>>1|0;if(j>>>0>1){break z}A[n|0]=q;n=n+1|0;q=0;r=128}j=r;l=l<<1;h=h-1|0;if(h){continue}break};if((j|0)!=128){break x}break v;case 1:if(!s){break w}o=1;h=128;n=g;e=c;f=0;l=0;j=1;while(1){A:{B:{if(!o){break B}C:{if(!j){l=f;j=1;break C}j=1;o=h;if(k>>>0>=r>>>0){break A}j=D[k|0];f=j&15;l=j>>>4|0;k=k+1|0;j=0}if(l){break B}while(1){D:{if(!j){l=f;j=1;break D}if(k>>>0>=r>>>0){j=1;l=0;o=h;break A}j=D[k|0];f=j&15;l=j>>>4|0;k=k+1|0;j=0}if(!l){continue}break}}o=j?h:0}q=o|q;e=e-1|0;E:{if(!e){A[n|0]=q;q=0;e=c;g=g+u|0;n=g;o=128;break E}o=h>>>1|0;if(h>>>0>1){break E}A[n|0]=q;n=n+1|0;q=0;o=128}h=o;o=(l|0)<2;l=l-1|0;s=s-1|0;if(s){continue}break};e=0;if((h|0)!=128){break x}break v;case 2:break y;default:break v}}if(!s){break w}l=1;h=128;n=g;e=c;f=0;j=1;while(1){F:{if(!(l&1)|k>>>0>=r>>>0){break F}G:{while(1){j=j^1;o=k+1|0;f=D[k|0];if(f){break G}k=o;if((r|0)!=(k|0)){continue}break}f=0;k=r;break F}k=o}q=(j?h:0)|q;e=e-1|0;H:{if(!e){A[n|0]=q;q=0;e=c;g=g+u|0;n=g;l=128;break H}l=h>>>1|0;if(h>>>0>1){break H}A[n|0]=q;n=n+1|0;q=0;l=128}h=l;l=(f|0)<2;f=f-1|0;s=s-1|0;if(s){continue}break}e=0;if((h|0)==128){break v}}A[n|0]=q}e=0}xf(t);if(!e){break a}}i=6;if(d&16384){break a}g=C[p+416>>2];C[a+72>>2]=1869968492;C[a+108>>2]=0;c=g+(v<<4)|0;f=C[c+8>>2];h=C[c+12>>2];e=C[p+188>>2];c=C[p+104>>2];Vi(C[a+188>>2]);C[a+176>>2]=0;i=Fv(a+160|0,c,e,h,f);if(i){break a}e=C[a+188>>2];c=C[e+24>>2];h=a+108|0;C[h>>2]=C[e+20>>2];C[h+4>>2]=c;C[h+16>>2]=C[e+36>>2];c=C[e+32>>2];C[h+8>>2]=C[e+28>>2];C[h+12>>2]=c;c=C[a+124>>2]&-6;C[a+124>>2]=c|4;if(!(!b|E[b+14>>1]>23)){C[a+124>>2]=c|260}C[a+52>>2]=0;C[a+40>>2]=0;i=C[(g+(v<<4)|0)+4>>2];e=C[p+304>>2];c=C[p+300>>2];if((e|0)!=(c|0)){i=of(i,c,e)}e=d&1;I:{if(A[p+324|0]&1){C[a+52>>2]=i;d=i;c=C[a+40>>2];break I}C[a+40>>2]=i;d=C[a+52>>2];c=i}C[a+60>>2]=d;C[a+56>>2]=c;C[a+44>>2]=0;C[a+48>>2]=0;if(!e){d=C[b+20>>2];b=C[b+16>>2];if(B[a+110>>1]>0){i=C[a+112>>2];c=0;while(1){w=i,x=Te(C[i>>2],b),C[w>>2]=x;w=i,x=Te(C[i+4>>2],d),C[w+4>>2]=x;i=i+8|0;c=c+1|0;if((c|0)>1]){continue}break}c=C[a+40>>2]}w=a,x=Te(c,b),C[w+40>>2]=x;w=a,x=Te(C[a+52>>2],d),C[w+52>>2]=x}di(h,m+8|0);d=C[m+8>>2];C[a+24>>2]=C[m+16>>2]-d;c=C[m+20>>2];b=C[m+12>>2];C[a+36>>2]=b;C[a+32>>2]=d;C[a+28>>2]=c-b;i=0}Ce=m+48|0;return i|0}function kC(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,j=0,k=0,l=0,m=0,n=0;h=g^255;a:{b:{switch(c-1|0){case 0:m=C[b+12>>2];if(!m){break a}k=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(k,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];j=c&3;b=(c+3|0)/4|0;n=k-c<<2;c:while(1){m=m-1|0;k=b;d:{e:{switch(j-1|0){default:c=0;break d;case 0:c=3;break d;case 1:c=2;break d;case 2:break e}}c=1}while(1){f:{switch(c|0){case 0:c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;c=1;continue;case 1:c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;c=2;continue;case 2:c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;c=3;continue;default:break f}}c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;c=k-1|0;a=a+4|0;g:{if((k|0)>1){k=c;break g}a=a+n|0;if(m){continue c}break a}c=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=g<<24|d<<16|e<<8|f;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;h=(C[a+20>>2]+(I(e,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;g=e-a<<2;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:C[h>>2]=d;h=h+4|0;a=1;continue;case 1:C[h>>2]=d;h=h+4|0;a=2;continue;case 2:C[h>>2]=d;h=h+4|0;a=3;continue;default:break k}}C[h>>2]=d;a=e-1|0;h=h+4|0;l:{if((e|0)>1){e=a;break l}h=g+h|0;if(c){continue h}break a}a=0;continue}};case 7:m=C[b+12>>2];if(!m){break a}k=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(k,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];j=c&3;b=(c+3|0)/4|0;n=k-c<<2;m:while(1){m=m-1|0;k=b;n:{o:{switch(j-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=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);a=a+4|0;c=1;continue;case 1:c=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);a=a+4|0;c=2;continue;case 2:c=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);a=a+4|0;c=3;continue;default:break p}}c=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);c=k-1|0;a=a+4|0;q:{if((k|0)>1){k=c;break q}a=a+n|0;if(m){continue m}break a}c=0;continue}};case 3:c=C[b+12>>2];if(!c){break a}g=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;h=(C[a+20>>2]+(I(g,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];k=a&3;b=(a+3|0)/4|0;m=g-a<<2;r:while(1){c=c-1|0;g=b;s:{t:{switch(k-1|0){default:a=0;break s;case 0:a=3;break s;case 1:a=2;break s;case 2:break t}}a=1}while(1){u:{switch(a|0){case 0:a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;h=h+4|0;a=1;continue;case 1:a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;h=h+4|0;a=2;continue;case 2:a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;h=h+4|0;a=3;continue;default:break u}}a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;a=g-1|0;h=h+4|0;v:{if((g|0)>1){g=a;break v}h=h+m|0;if(c){continue r}break a}a=0;continue}};case 1:break b}}k=C[b+12>>2];if(!k){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;h=(C[a+20>>2]+(I(c,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];m=a&3;b=(a+3|0)/4|0;c=c-a<<2;w:while(1){k=k-1|0;g=b;x:{y:{switch(m-1|0){default:a=0;break x;case 0:a=3;break x;case 1:a=2;break x;case 2:break y}}a=1}while(1){z:{switch(a|0){case 0:a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);h=h+4|0;a=1;continue;case 1:a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);h=h+4|0;a=2;continue;case 2:a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);h=h+4|0;a=3;continue;default:break z}}a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);a=g-1|0;h=h+4|0;A:{if((g|0)>1){g=a;break A}h=c+h|0;if(k){continue w}break a}a=0;continue}}}return 0}function ln(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,o=0,p=0,q=0;n=Ce-16|0;Ce=n;a:{if(F[b+4>>2]>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0){break a}g=e-a|0;if(g>>>0<4){break a}f=C[b+12>>2];d=f-4|0;C[b+12>>2]=d;c=1;if((d|0)<=0){c=0;break a}b:{c:{d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d:{if((d|0)<=1953658212){if((d|0)==256){break b}if((d|0)==65536|(d|0)==1330926671){break d}break a}if((d|0)==1954115633){break d}if((d|0)==1953784678){break c}if((d|0)!=1953658213){break a}}if(g>>>0<12){c=0;break a}c=f-16|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}c=a+4|0;if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<8){c=0;break a}d=f-24|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;if(c){a=a+12|0;if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=((c<<8|c>>>8)&65535)<<4;if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1;break a}d=a+4|0;if(d>>>0>e>>>0){c=0;break a}if(e-d>>>0<4){c=0;break a}e=f-8|0;C[b+12>>2]=e;c=0;if((e|0)<=0){break a}c=1;e=D[d|0]|D[d+1|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break a}C[n+12>>2]=a;c=0;d=a+8|0;e:{f:{if(d>>>0>2]){break f}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break f}h=C[b+12>>2]-4|0;C[b+12>>2]=h;if((h|0)<=0){break f}a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f>>>0>1073741822){break f}a=1;if(!f){break e}a=d+4|0;if(a>>>0>e>>>0){break f}e=e-a|0;a=f<<2;if(e>>>0>>0){break f}a=h-a|0;C[b+12>>2]=a;if((a|0)<=0){break f}c=1;a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!l){break f}while(1){h=C[n+12>>2];e=0;a=(d+(i<<2)|0)+4|0;f=C[b+4>>2];g:{if(a>>>0>>0){break g}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break g}g=C[b+12>>2];j=g-4|0;C[b+12>>2]=j;if((j|0)<=0){break g}j=A[a|0];if((j|0)<0){break g}e=D[a+3|0]|(D[a+1|0]<<16|(j&255)<<24|D[a+2|0]<<8);if(e){h=e+h|0;h:{if(h>>>0>>0|c>>>0>>0|c-h>>>0<12){break h}e=g-16|0;C[b+12>>2]=e;if((e|0)<=0){break h}f=h+4|0;if(f>>>0>c>>>0|c-f>>>0<8){break h}g=g-24|0;C[b+12>>2]=g;e=1;if((g|0)<=0){break h}f=D[f|0]|D[f+1|0]<<8;if(!f){break g}h=h+12|0;if(h>>>0>c>>>0){break h}h=c-h|0;c=((f<<8|f>>>8)&65535)<<4;if(h>>>0>>0){break h}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break g}}e=0;c=C[b+28>>2];if(c>>>0>31){break g}C[b+28>>2]=c+1;if(!D[b+24|0]){break g}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}e=1}c=e;if(!c){break f}i=i+1|0;if((l|0)!=(i|0)){continue}break}}a=c}c=a;break a}e=0;i:{j:{g=C[b+4>>2];k:{if(g>>>0>a>>>0){break k}i=C[b+8>>2];if(i>>>0>>0|i-a>>>0<16){break k}c=C[b+12>>2];d=c-16|0;C[b+12>>2]=d;if((d|0)<=0){break k}c=c-20|0;C[b+12>>2]=c;if((c|0)<=0){break k}d=A[a|0];if((d|0)<0){break k}d=D[a+3|0]|(D[a+1|0]<<16|(d&255)<<24|D[a+2|0]<<8);l:{m:{f=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);switch(f+1|0){case 0:break k;case 1:break l;default:break m}}e=a+d|0;if(e>>>0>>0|e>>>0>i>>>0|f>>>0>i-e>>>0){break j}c=c-f|0;C[b+12>>2]=c;if((c|0)<=0){break j}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}f=a+4|0;if(f>>>0>i>>>0|i-f>>>0<4){break j}C[b+12>>2]=c-4;if((c|0)<5){break j}e=0;c=A[f|0];if((c|0)<0){break k}p=a+d|0;c=(D[a+7|0]|(D[a+5|0]<<16|(c&255)<<24|D[a+6|0]<<8))+a|0;i=C[b+4>>2];n:{o:{if(c>>>0>>0){break o}a=C[b+8>>2];if(a>>>0>>0|a-c>>>0<28){break o}e=C[b+12>>2];d=e-28|0;C[b+12>>2]=d;if((d|0)<=0){break o}d=c+24|0;if(d>>>0>a>>>0|a-d>>>0<2){break o}d=D[c+24|0]|D[c+25|0]<<8;f=e-30|0;C[b+12>>2]=f;if((f|0)<=0){break o}c=c+((d<<8|d>>>8)&65535)|0;if(i>>>0>c>>>0|a>>>0>>0|a-c>>>0<2){break o}e=e-32|0;C[b+12>>2]=e;if((e|0)<=0){break o}d=c+2|0;if(d>>>0>a>>>0){break o}d=a-d|0;a=D[c|0]|D[c+1|0]<<8;q=(a<<8|a>>>8)&65535;a=(q<<3)+8|0;if(d>>>0>>0){break o}a=e-a|0;C[b+12>>2]=a;e=0;if((a|0)<=0){break n}while(1){d=0;a=((e<<3)+c|0)+2|0;g=C[b+4>>2];p:{if(a>>>0>>0){break p}h=C[b+8>>2];if(h>>>0>>0|h-a>>>0<8){break p}f=C[b+12>>2];i=f-8|0;C[b+12>>2]=i;if((i|0)<=0){break p}i=0;d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==1936092788){d=D[a+4|0]|D[a+5|0]<<8;i=((d<<8|d>>>8)&65535)+1|0}q:{a=a+6|0;if(a>>>0>h>>>0|h-a>>>0<2){break q}f=f-10|0;C[b+12>>2]=f;d=1;if((f|0)<=0){break q}if(!i){break p}a=D[a|0]|D[a+1|0]<<8;l=((a<<8|a>>>8)&65535)+c|0;if(l>>>0>>0|h>>>0>>0){break q}d=0;a=I(i,12);if(a>>>0>h-l>>>0){break p}a=f-a|0;C[b+12>>2]=a;h=0;if((a|0)<=0){break q}while(1){j=0;d=0;f=l+I(h,12)|0;r:{if(f>>>0>2]){break r}a=C[b+8>>2];if(a>>>0>>0|a-f>>>0<12){break r}a=C[b+12>>2]-12|0;C[b+12>>2]=a;if((a|0)<=0){break r}a=f+5|0;k=C[b+4>>2];s:{if(a>>>0>>0){break s}g=C[b+8>>2];if(a>>>0>g>>>0|g-a>>>0<3){break s}m=C[b+12>>2];o=m-3|0;C[b+12>>2]=o;if((o|0)<=0){break s}a=p+(D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16))|0;t:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<4){break t}m=m-7|0;C[b+12>>2]=m;j=1;if((m|0)<=0){break t}u:{k=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);switch(k+1|0){case 1:break s;case 0:break t;default:break u}}a=a+4|0;if(a>>>0>g>>>0|k>>>0>g-a>>>0){break t}a=m-k|0;C[b+12>>2]=a;if((a|0)>0){break s}}j=0}if(!j){break r}f=(p+(D[f+7|0]|(D[f+6|0]<<8|D[f+5|0]<<16))|0)+4|0;if(f>>>0>2]){break r}a=C[b+8>>2];if(a>>>0>>0|a-f>>>0<12){break r}j=C[b+12>>2];g=j-12|0;C[b+12>>2]=g;if((g|0)<=0){break r}g=f+4|0;if(g>>>0>a>>>0|a-g>>>0<8){break r}j=j-20|0;C[b+12>>2]=j;if((j|0)<=0){break r}g=D[g|0]|D[g+1|0]<<8;if(g){f=f+12|0;if(f>>>0>a>>>0){break r}o=a-f|0;a=((g<<8|g>>>8)&65535)<<4;if(o>>>0>>0){break r}a=j-a|0;C[b+12>>2]=a;if((a|0)<=0){break r}}d=1}if(!d){break p}h=h+1|0;if((h|0)!=(i|0)){continue}break}break p}d=0}h=d;if(!d){break o}a=(e|0)!=(q|0);e=e+1|0;if(a){continue}break}}e=h}}break i}e=0}c=e}Ce=n+16|0;return c}function iy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=1;a:{b:{switch(c-1|0){case 0:c:{d:{if(F[b+4>>2]>a>>>0){break d}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break d}f=C[b+12>>2];c=f-2|0;C[b+12>>2]=c;if((c|0)<=0){break d}e:{f:{g:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break e}}c=a+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break d}e=f-4|0;C[b+12>>2]=e;if((e|0)<=0){break d}e=D[c|0]|D[c+1|0]<<8;h:{if(!e){break h}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break h}e=C[b+28>>2];if(e>>>0>31){break d}C[b+28>>2]=e+1;if(!D[b+24|0]){break d}A[c|0]=0;A[c+1|0]=0}a=a+4|0;if(a>>>0>2]){break d}c=C[b+8>>2];if(c>>>0>>0){break d}d=0;if(c-a>>>0<2){break e}a=C[b+12>>2]-2|0;C[b+12>>2]=a;d=(a|0)>0;break c}e=0;c=a+2|0;i:{if(c>>>0>2]){break i}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break i}d=D[c|0]|D[c+1|0]<<8;j:{if(!d){break j}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=C[b+28>>2];if(d>>>0>31){break i}C[b+28>>2]=d+1;if(!D[b+24|0]){break i}A[c|0]=0;A[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break i}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break i}c=D[c|0]|D[c+1|0]<<8;if(c){a=a+6|0;if(a>>>0>d>>>0){break i}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break i}a=f-a|0;C[b+12>>2]=a;if((a|0)<=0){break i}}e=1}d=e}break c}d=0}return d;case 1:return hy(a,b);case 2:return hy(a,b);case 3:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=a+2|0;k:{l:{if(c>>>0>2]){break l}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break l}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break l}d=D[c|0]|D[c+1|0]<<8;m:{if(!d){break m}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break m}d=C[b+28>>2];if(d>>>0>31){break l}C[b+28>>2]=d+1;if(!D[b+24|0]){break l}A[c|0]=0;A[c+1|0]=0}d=a+4|0;if(d>>>0>2]){break l}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break l}g=C[b+12>>2]-2|0;C[b+12>>2]=g;if((g|0)<=0){break l}d=D[d|0]|D[d+1|0]<<8;c=1;if(!d){break k}c=a+6|0;if(c>>>0>f>>>0){break l}h=f-c|0;c=(d<<8|d>>>8)&65535;d=c<<1;if(h>>>0>>0){break l}d=g-d|0;C[b+12>>2]=d;if((d|0)<=0){break l}n=c>>>0<=1?1:c;c=0;while(1){f=C[b+4>>2];k=((c<<1)+a|0)+6|0;e=0;n:{if(f>>>0>k>>>0){break n}g=C[b+8>>2];e=0;if(g>>>0>>0){break n}e=0;if(g-k>>>0<2){break n}i=C[b+12>>2];l=i-2|0;C[b+12>>2]=l;d=1;e=0;if((l|0)<=0){break n}e=D[k|0]|D[k+1|0]<<8;o:{if(!e){break o}p:{h=f;f=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>f>>>0|f>>>0>g>>>0|g-f>>>0<2){break p}e=i-4|0;C[b+12>>2]=e;if((e|0)<=0){break p}i=D[f|0]|D[f+1|0]<<8;if(!i){break o}d=f+2|0;if(d>>>0>g>>>0){break p}h=g-d|0;d=(i<<8|i>>>8)&65535;g=d<<1;if(h>>>0>>0){break p}e=e-g|0;C[b+12>>2]=e;if((e|0)<=0){break p}o=d>>>0<=1?1:d;l=0;while(1){j=C[b+4>>2];i=(f+(l<<1)|0)+2|0;h=0;q:{if(j>>>0>i>>>0){break q}g=C[b+8>>2];h=0;if(g>>>0>>0){break q}h=0;if(g-i>>>0<2){break q}m=C[b+12>>2];e=m-2|0;C[b+12>>2]=e;d=1;h=0;if((e|0)<=0){break q}e=D[i|0]|D[i+1|0]<<8;r:{if(!e){break r}e=f+((e<<8|e>>>8)&65535)|0;s:{if(e>>>0>>0|e>>>0>g>>>0|g-e>>>0<2){break s}d=m-4|0;C[b+12>>2]=d;if((d|0)<=0){break s}j=e+2|0;if(j>>>0>g>>>0|g-j>>>0<2){break s}m=m-6|0;C[b+12>>2]=m;d=1;if((m|0)<=0){break s}j=D[j|0]|D[j+1|0]<<8;if(!j){break r}j=((j<<8|j>>>8)&65535)-1|0;if(!j){break r}e=e+4|0;if(e>>>0>g>>>0){break s}h=g-e|0;e=j<<1;if(h>>>0>>0){break s}e=m-e|0;C[b+12>>2]=e;if((e|0)>0){break r}}d=C[b+28>>2];h=0;if(d>>>0>31){break q}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break r}A[i|0]=0;A[i+1|0]=0;d=1}h=d}if(!h){break p}d=1;l=l+1|0;if((o|0)!=(l|0)){continue}break}break o}d=C[b+28>>2];e=0;if(d>>>0>31){break n}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break o}A[k|0]=0;A[k+1|0]=0;d=1}e=d}if(!e){break l}c=c+1|0;if((n|0)!=(c|0)){continue}break}}c=e}return c;case 4:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;t:{u:{v:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break a}}return gy(a,b)}return fy(a,b)}return ey(a,b);case 5:return dy(a,b);case 6:c=0;w:{if(F[b+4>>2]>a>>>0){break w}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break w}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break w}c=1;if((D[a|0]|D[a+1|0]<<8)!=256){break w}c=0;x:{if(F[b+4>>2]>a>>>0){break x}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break x}e=C[b+12>>2]-8|0;C[b+12>>2]=e;if((e|0)<=0){break x}e=D[a+2|0]|D[a+3|0]<<8;if((e|0)==1792){break x}c=a;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c=iy(a?c+a|0:205712,b,(e<<8|(e&65280)>>>8)&65535)}}return c;case 7:break b;default:break a}}d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}d=Ce-16|0;Ce=d;c=a+2|0;y:{if(c>>>0>2]){break y}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break y}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break y}f=D[c|0]|D[c+1|0]<<8;z:{if(!f){break z}if(og(((f<<8|f>>>8)&65535)+a|0,b)){break z}f=C[b+28>>2];if(f>>>0>31){break y}C[b+28>>2]=f+1;if(!D[b+24|0]){break y}A[c|0]=0;A[c+1|0]=0}C[d+12>>2]=a;f=a+4|0;if(!gl(f,b,d+12|0)){break y}c=D[a+4|0]|D[a+5|0]<<8;C[d+8>>2]=a;a=(f+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!gl(a,b,d+8|0)){break y}c=D[a|0]|D[a+1|0]<<8;a=(a+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){break y}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break y}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break y}g=D[a|0]|D[a+1|0]<<8;if(g){a=a+2|0;if(a>>>0>c>>>0){break y}c=c-a|0;a=((g<<8|g>>>8)&65535)<<1;if(c>>>0>>0){break y}a=f-a|0;C[b+12>>2]=a;if((a|0)<=0){break y}}e=1}Ce=d+16|0;d=e}return d}function XC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ce+-64|0;Ce=g;C[g+52>>2]=0;C[g+48>>2]=0;C[g+44>>2]=0;a:{if((Ai(21,g+52|0)|0)<0){break a}if((Ai(17,g+48|0)|0)<0){break a}if((Ai(18,g+44|0)|0)<0){break a}j=uk(a);k=!(j&2)|C[g+52>>2]!=4|C[g+48>>2]<2;b:{if(k){Cj(21,4);Cj(17,2);Cj(18,0);if((pr(a,j&-805306371|2)|0)<0){break b}}f=If(1,552);c:{if(!f){_e(0);break c}d=If(1,540);if(!d){if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}_e(0);break c}jf(f+120|0,381144,84);C[f+548>>2]=d;C[f+124>>2]=10;C[f+204>>2]=a;c=C[105668];d:{if(!c){Qe(19865,0);e=0;break d}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);e=0;break d}if(!(D[a+48|0]&2)){Qe(2183,0);e=0;break d}c=Fe[C[c+204>>2]](c,a)|0;e=0;if(!c){break d}e=C[105668];C[e+784>>2]=c;C[e+780>>2]=a;wl(C[e+788>>2],a);wl(C[C[105668]+792>>2],c);e=c}C[d>>2]=e;e:{if(!e){break e}if((sh(a,e)|0)<0){tl(C[d>>2]);break e}e=16623;c=vf(16623);C[d+8>>2]=c;f:{g:{if(!c){break g}e=11081;c=vf(11081);C[d+12>>2]=c;if(!c){break g}e=12198;c=vf(12198);C[d+16>>2]=c;if(!c){break g}e=16679;c=vf(16679);C[d+20>>2]=c;if(!c){break g}e=16403;c=vf(16403);C[d+24>>2]=c;if(!c){break g}e=16471;c=vf(16471);C[d+28>>2]=c;if(!c){break g}e=11251;c=vf(11251);C[d+32>>2]=c;if(!c){break g}e=9315;c=vf(9315);C[d+36>>2]=c;if(!c){break g}e=11141;c=vf(11141);C[d+40>>2]=c;if(!c){break g}e=13013;c=vf(13013);C[d+44>>2]=c;if(!c){break g}e=11126;c=vf(11126);C[d+48>>2]=c;if(!c){break g}e=12997;c=vf(12997);C[d+52>>2]=c;if(!c){break g}e=11111;c=vf(11111);C[d+56>>2]=c;if(!c){break g}e=7718;c=vf(7718);C[d+60>>2]=c;if(!c){break g}e=17645;c=vf(17645);C[d+64>>2]=c;if(!c){break g}e=1516;c=vf(1516);C[d+68>>2]=c;if(!c){break g}e=5872;c=vf(5872);C[d+72>>2]=c;if(!c){break g}e=17655;c=vf(17655);C[d+76>>2]=c;if(!c){break g}e=1543;c=vf(1543);C[d+80>>2]=c;if(!c){break g}e=14872;c=vf(14872);C[d+84>>2]=c;if(!c){break g}e=6611;c=vf(6611);C[d+88>>2]=c;if(!c){break g}e=7704;c=vf(7704);C[d+92>>2]=c;if(!c){break g}e=15221;c=vf(15221);C[d+96>>2]=c;if(!c){break g}e=9271;c=vf(9271);C[d+100>>2]=c;if(!c){break g}e=2294;c=vf(2294);C[d+104>>2]=c;if(!c){break g}e=2530;c=vf(2530);C[d+108>>2]=c;if(!c){break g}e=15092;c=vf(15092);C[d+112>>2]=c;if(!c){break g}e=2501;c=vf(2501);C[d+116>>2]=c;if(!c){break g}e=12157;c=vf(12157);C[d+120>>2]=c;if(!c){break g}e=12983;c=vf(12983);C[d+124>>2]=c;if(!c){break g}e=14557;c=vf(14557);C[d+128>>2]=c;if(!c){break g}e=7021;c=vf(7021);C[d+132>>2]=c;if(!c){break g}e=9032;c=vf(9032);C[d+136>>2]=c;if(!c){break g}e=1363;c=vf(1363);C[d+140>>2]=c;if(!c){break g}e=18875;c=vf(18875);C[d+144>>2]=c;if(!c){break g}e=28324;c=vf(28324);C[d+148>>2]=c;if(!c){break g}e=14528;c=vf(14528);C[d+152>>2]=c;if(!c){break g}e=28380;c=vf(28380);C[d+156>>2]=c;if(!c){break g}e=14616;c=vf(14616);C[d+160>>2]=c;if(!c){break g}e=15706;c=vf(15706);C[d+164>>2]=c;if(!c){break g}e=2689;c=vf(2689);C[d+168>>2]=c;if(!c){break g}e=13047;c=vf(13047);C[d+172>>2]=c;if(!c){break g}e=9519;c=vf(9519);C[d+176>>2]=c;if(!c){break g}e=3551;c=vf(3551);C[d+180>>2]=c;if(!c){break g}e=10910;c=vf(10910);C[d+184>>2]=c;if(!c){break g}e=28284;c=vf(28284);C[d+188>>2]=c;if(!c){break g}e=5954;c=vf(5954);C[d+192>>2]=c;if(!c){break g}e=6629;c=vf(6629);C[d+196>>2]=c;if(!c){break g}e=12178;c=vf(12178);C[d+200>>2]=c;if(!c){break g}e=15111;c=vf(15111);C[d+204>>2]=c;if(!c){break g}e=6679;c=vf(6679);C[d+208>>2]=c;if(!c){break g}e=6692;c=vf(6692);C[d+212>>2]=c;if(!c){break g}e=10985;c=vf(10985);C[d+216>>2]=c;if(!c){break g}e=22069;c=vf(22069);C[d+220>>2]=c;if(!c){break g}e=22130;c=vf(22130);C[d+224>>2]=c;if(c){break f}}C[105620]=128;C[105619]=422496;c=34979;h:{if(!C[105618]){break h}c=C[105619]}C[g+36>>2]=c;C[g+32>>2]=e;if((Qe(8785,g+32|0)|0)>=0){break f}tl(C[d>>2]);break e}e=0;i:{j:{c=Eg(25486);if(!c){break j}h=4;if(!uf(c,20512)){break i}h=3;if(!uf(c,14949)){break i}if(uf(c,12468)){break j}h=2;break i}h=1}C[d+536>>2]=h;k:{l:{while(1){if(!Cl(d,e,e?35632:35633)){break l}e=e+1|0;if((e|0)!=17){continue}break}e=0;break k}e=-1}if((e|0)<0){tl(C[d>>2]);break e}lr(b>>>2&1);if((kr()|0)>0){C[f+124>>2]=C[f+124>>2]|4}if(!(Ai(20,g+56|0)|!(A[g+56|0]&1))){C[d+4>>2]=1}C[g+56>>2]=0;a=g+56|0;Fe[C[d+104>>2]](3379,a);C[f+196>>2]=C[g+56>>2];C[g+56>>2]=0;Fe[C[d+104>>2]](3379,a);C[f+200>>2]=C[g+56>>2];Fe[C[d+208>>2]](8,d+324|0);C[d+228>>2]=0;Fe[C[d+104>>2]](36006,g+60|0);C[d+232>>2]=C[g+60>>2];C[f+80>>2]=470;C[f+76>>2]=471;C[f+72>>2]=472;C[f+68>>2]=473;C[f+64>>2]=474;C[f+60>>2]=475;C[f+56>>2]=476;C[f+16>>2]=477;C[f+12>>2]=478;C[f+8>>2]=479;C[f+4>>2]=480;C[f+108>>2]=481;C[f+104>>2]=482;C[f+100>>2]=483;C[f+96>>2]=484;C[f+92>>2]=485;C[f+88>>2]=486;C[f+84>>2]=487;C[f+52>>2]=488;C[f+48>>2]=489;C[f+32>>2]=490;C[f+28>>2]=491;C[f+24>>2]=492;C[f+20>>2]=492;a=C[f+128>>2];C[f+128>>2]=a+1;b=a<<2;a=f+132|0;C[b+a>>2]=842094169;b=C[f+128>>2];C[f+128>>2]=b+1;C[a+(b<<2)>>2]=1448433993;b=C[f+128>>2];C[f+128>>2]=b+1;C[a+(b<<2)>>2]=842094158;b=C[f+128>>2];C[f+128>>2]=b+1;C[a+(b<<2)>>2]=825382478;if(Cl(d,17,35632)){a=C[f+128>>2];C[f+128>>2]=a+1;C[((a<<2)+f|0)+132>>2]=542328143}Fe[C[d+8>>2]](33984);Fe[C[d+128>>2]](3333,1);Fe[C[d+128>>2]](3317,1);Fe[C[d+80>>2]](0);Fe[C[d+80>>2]](1);Fe[C[d+68>>2]](2);Fe[C[d+36>>2]](J(1),J(1),J(1),J(1));C[d+532>>2]=1065353216;C[d+520>>2]=-1082130432;C[d+456>>2]=-1;C[d+420>>2]=2147483647;d=C[f+548>>2];m:{if(!C[d+4>>2]){break m}a=Fe[C[d+100>>2]]()|0;if(!a){break m}i=34979;while(1){i=D[i|0]?i:21640;b=25026;e=a-1280|0;if(e>>>0<=5){b=C[(e<<2)+137356>>2]}C[g+20>>2]=a;C[g+16>>2]=b;C[g+12>>2]=9706;C[g+8>>2]=2233;C[g+4>>2]=21666;C[g>>2]=i;Qe(33817,g);a=Fe[C[d+100>>2]]()|0;if(a){continue}break}}i=f;break a}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}}if(!k){break a}}Cj(21,C[g+52>>2]);Cj(17,C[g+48>>2]);Cj(18,C[g+44>>2]);pr(a,j)}Ce=g- -64|0;return i|0}function Nl(a){var 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;if(D[a|0]&2){Jj(a,1)}t=-1;d=C[a+4>>2];a:{if(!C[a+20>>2]|D[d+8|0]<8){break a}c=C[a+52>>2];b=C[c+68>>2];b:{if(!(b&256)){if(!(b&16)|!C[d+24>>2]){break a}if(!(b&1)){break b}break a}if(b&1){break a}}c:{if(b&2){if(!(C[d+24>>2]|b&224)){break c}break a}if(b&224){break a}}if(b&512){break a}d:{if(!(b&16?C[d+24>>2]:0)){if(!C[c+4>>2]){break a}c=-1;e:{f:{g:{h:{i:{h=D[C[a+4>>2]+9|0];switch(h-1|0){case 3:break g;case 1:case 2:break h;case 0:break i;default:break e}}b=I(I(C[a+12>>2],(C[a+8>>2]/2|0)+1|0),3)+2|0;break f}b=C[a+8>>2];b=I(C[a+12>>2],(I(b,h)+((b|0)/255<<1)|0)+2|0)+2|0;break f}b=C[a+8>>2];b=I(C[a+12>>2],(((b|0)/65535|0)+b<<2)+4|0)+4|0}e=Fe[C[94503]](b>>>0<=1?1:b)|0;if(e){C[94507]=C[94507]+1}if(!e){c=_e(0);break e}m=e;u=C[a+12>>2];if((u|0)>0){p=C[C[a+4>>2]+24>>2]^-1;n=p&C[C[a+52>>2]+72>>2];j=(h|0)==4?65535:255;q=C[(h<<2)+127676>>2];i=C[a+8>>2];l=C[a+20>>2];r=(h|0)!=4;c=e;while(1){g=0;s=0;while(1){j:{k:{b=g;if((i|0)<=(b|0)){break k}while(1){if((n|0)!=(Fe[q|0](I(b,h)+l|0)&p)){break k}b=b+1|0;if((i|0)!=(b|0)){continue}break}o=0;b=i;d=b;break j}o=0;if((b|0)>=(i|0)){d=b;break j}o=1;f=b;if((n|0)==(Fe[q|0](I(b,h)+l|0)&p)){d=b;break j}l:{m:{while(1){f=f+1|0;if((i|0)==(f|0)){break m}if((n|0)!=(Fe[q|0](I(h,f)+l|0)&p)){continue}break}d=f;break l}d=i}o=(f|0)<(i|0)}v=b-g|0;f=v;if((j|0)<(f|0)){while(1){n:{if(!r){B[c+2>>1]=0;B[c>>1]=j;g=4;break n}A[c|0]=255;A[c+1|0]=0;g=2}c=g+c|0;f=f-j|0;if((j|0)<(f|0)){continue}break}}g=d-b|0;k=(g|0)<(j|0)?g:j;s=(i|0)==(v|0)?1:s;o:{if(!r){B[c+2>>1]=k;B[c>>1]=f;f=4;break o}A[c+1|0]=k;A[c|0]=f;f=2}c=f+c|0;f=I(h,k);gf(c,I(b,h)+l|0,f);c=c+f|0;g=g-k|0;if(g){b=b+k|0;while(1){f=(g|0)<(j|0)?g:j;p:{if(!r){B[c+2>>1]=f;B[c>>1]=0;v=4;break p}A[c+1|0]=f;A[c|0]=0;v=2}c=v+c|0;k=I(h,f);gf(c,I(b,h)+l|0,k);c=c+k|0;b=b+f|0;g=g-f|0;if(g){continue}break}}m=s?m:c;g=d;if(o){continue}break}l=C[a+16>>2]+l|0;w=w+1|0;if((w|0)!=(u|0)){continue}break}}q:{if((h|0)==4){B[m>>1]=0;B[m+2>>1]=0;b=4;break q}A[m|0]=0;A[m+1|0]=0;b=2}c=C[a>>2];if(!(c&1)){d=C[a+20>>2];r:{if(c&8){if(d){d=C[d-4>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}}C[a>>2]=C[a>>2]&-9;break r}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}}C[a+20>>2]=0}b=Sf(e,(b+m|0)-e|0);C[C[a+52>>2]+12>>2]=b?b:e;c=0}if((c|0)<0){break a}t=8192;b=269;break d}e=-1;b=C[C[a+52>>2]>>2];s:{if(!b|D[C[a+4>>2]+8|0]!=32){break s}h=C[b+4>>2];d=C[h+16>>2];c=C[h+12>>2];g=C[h+20>>2];b=d|c|g;t:{u:{switch(D[h+9|0]-2|0){case 0:v:{if((b|0)!=32767){if((b|0)!=65535){break s}p=274;if((d|0)==2016|(c|0)==2016|(g|0)==2016){break v}break s}p=275;if((d|0)==992|(c|0)==992){break v}if((g|0)!=992){break s}}q=276;b=I(C[a+12>>2],I(C[a+8>>2],6)+8|0)+2|0;break t;case 2:break u;default:break s}}if((b|0)!=16777215){break s}q=277;p=277;b=I(C[a+12>>2],C[a+8>>2]+1|0)<<3|4}b=b+28|0;j=Fe[C[94503]](b>>>0<=1?1:b)|0;if(j){C[94507]=C[94507]+1}if(!j){e=_e(0);break s}e=D[h+9|0];A[j|0]=e;C[j+4>>2]=C[h+12>>2];C[j+8>>2]=C[h+16>>2];C[j+12>>2]=C[h+20>>2];C[j+16>>2]=C[h+24>>2];A[j+20|0]=D[h+28|0];A[j+21|0]=D[h+29|0];A[j+22|0]=D[h+30|0];A[j+23|0]=D[h+31|0];A[j+24|0]=D[h+32|0];A[j+25|0]=D[h+33|0];A[j+26|0]=D[h+34|0];A[j+27|0]=D[h+35|0];m=j+28|0;r=C[a+12>>2];if((r|0)>0){l=C[a+4>>2];f=C[a+8>>2];k=C[a+20>>2];e=m;while(1){d=0;o=0;while(1){w:{x:{b=d;if((f|0)<=(b|0)){break x}c=D[l+35|0];g=C[l+24>>2];while(1){if(((g&C[(b<<2)+k>>2])>>>c|0)==255){break x}b=b+1|0;if((f|0)!=(b|0)){continue}break}n=0;b=f;g=b;break w}n=0;if((b|0)>=(f|0)){g=b;break w}n=1;c=b;g=C[l+24>>2];i=D[l+35|0];if(((g&C[(b<<2)+k>>2])>>>i|0)!=255){g=b;break w}y:{z:{while(1){c=c+1|0;if((f|0)==(c|0)){break z}if(((g&C[(c<<2)+k>>2])>>>i|0)==255){continue}break}g=c;break y}g=f}n=(c|0)<(f|0)}s=b-d|0;c=s;if((c|0)>=256){while(1){A:{if(D[h+9|0]==4){B[e>>1]=255;B[e+2>>1]=0;d=4;break A}A[e|0]=255;A[e+1|0]=0;d=2}e=d+e|0;d=(c|0)>510;c=c-255|0;if(d){continue}break}}i=g-b|0;d=(i|0)>=255?255:i;B:{if(D[h+9|0]==4){B[e+2>>1]=d;B[e>>1]=c;c=4;break B}A[e+1|0]=d;A[e|0]=c;c=2}c=c+e|0;e=(Fe[q|0](c,(b<<2)+k|0,d,l,h)|0)+c|0;i=i-d|0;if(i){b=b+d|0;while(1){d=(i|0)>=255?255:i;C:{if(D[h+9|0]==4){B[e+2>>1]=d;B[e>>1]=0;c=4;break C}A[e+1|0]=d;A[e|0]=0;c=2}c=c+e|0;e=(Fe[q|0](c,(b<<2)+k|0,d,l,h)|0)+c|0;b=b+d|0;i=i-d|0;if(i){continue}break}}o=(f|0)==(s|0)?1:o;d=g;if(n){continue}break}e=(e&2)+e|0;d=0;while(1){D:{E:{b=d;if((f|0)<=(b|0)){break E}c=D[l+35|0];g=C[l+24>>2];while(1){if(((g&C[(b<<2)+k>>2])>>>c|0)-255>>>0>4294967041){break E}b=b+1|0;if((f|0)!=(b|0)){continue}break}g=0;b=f;i=b;break D}g=0;if((b|0)>=(f|0)){i=b;break D}g=1;c=b;i=C[l+24>>2];n=D[l+35|0];if(((i&C[(b<<2)+k>>2])>>>n|0)-1>>>0>=254){i=b;break D}F:{G:{while(1){c=c+1|0;if((f|0)==(c|0)){break G}if(((i&C[(c<<2)+k>>2])>>>n|0)-1>>>0<=253){continue}break}i=c;break F}i=f}g=(c|0)<(f|0)}c=b-d|0;d=(f|0)==(c|0);if((c|0)>=65536){while(1){B[e>>1]=65535;B[e+2>>1]=0;e=e+4|0;n=c>>>0>131070;c=c-65535|0;if(n){continue}break}}o=d&o;B[e>>1]=c;c=i-b|0;d=(c|0)>=65535?65535:c;B[e+2>>1]=d;e=e+4|0;e=(Fe[p|0](e,(b<<2)+k|0,d,l,h)|0)+e|0;c=c-d|0;if(c){b=b+d|0;while(1){B[e>>1]=0;d=(c|0)>=65535?65535:c;B[e+2>>1]=d;e=e+4|0;e=(Fe[p|0](e,(b<<2)+k|0,d,l,h)|0)+e|0;b=b+d|0;c=c-d|0;if(c){continue}break}}m=o?m:e;d=i;if(g){continue}break}k=(C[a+16>>2]&-4)+k|0;u=u+1|0;if((r|0)!=(u|0)){continue}break}e=D[h+9|0]}c=4;H:{if((e&255)==4){B[m>>1]=0;B[m+2>>1]=0;break H}A[m|0]=0;A[m+1|0]=0;c=2}d=C[a>>2];if(!(d&1)){b=C[a+20>>2];I:{if(d&8){if(b){b=C[b-4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}C[a>>2]=C[a>>2]&-9;break I}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}C[a+20>>2]=0}b=Sf(j,(c+m|0)-j|0);C[C[a+52>>2]+12>>2]=b?b:j;e=0}if((e|0)<0){break a}t=16384;b=270}d=C[a+52>>2];C[d+8>>2]=b;C[d+68>>2]=C[d+68>>2]|t;C[a>>2]=C[a>>2]|2;t=0}return t}function _C(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=J(0),h=0,i=J(0),j=0,k=0,l=0,m=J(0),n=0,o=0,p=0,q=0,r=0;h=Ce-32|0;Ce=h;a:{b:{c:{d:{e:{d=C[b>>2];switch(d-1024|0){case 1:case 2:break c;case 0:break d;default:break e}}if(d-1792>>>0<3){break b}if((d|0)!=512){break a}c=nn(C[b+8>>2]);if((c|0)!=C[a+204>>2]){break a}d=C[a+4>>2];if(d){Fe[d|0](a,b)}f:{switch(D[b+12|0]-1|0){case 5:case 17:g:{h:{i:{if(C[a>>2]!=422389){C[h>>2]=9675;Qe(19745,h);break i}o=C[a+412>>2];if(o){break h}}o=0;p=1;break g}Dn(a,0);p=0}j:{if(!c){break j}b=C[a+8>>2];if(!b){break j}if(Fe[b|0](a,h+20|0,h+16|0)|0){break j}Sh(C[a+204>>2],h+28|0,h+24|0);G[a+384>>2]=J(C[h+28>>2])/J(C[h+20>>2]);G[a+388>>2]=J(C[h+24>>2])/J(C[h+16>>2])}k:{if(C[a+212>>2]){c=0;b=Ce-48|0;Ce=b;C[b+44>>2]=1;C[b+40>>2]=1;l:{if(!C[a+212>>2]|!C[a+216>>2]){break l}if((Hl(a,b+44|0,b+40|0)|0)<0){break l}d=Eg(27272);m:{if(!d){break m}if(D[d|0]!=49){if(wf(d,12449)){break m}}c=1}m=J(C[b+40>>2]);i=J(C[b+44>>2]);e=J(C[a+216>>2]);g=J(C[a+212>>2]);n:{if(C[a>>2]!=422389){C[b+16>>2]=9675;Qe(19745,b+16|0);break n}C[a+368>>2]=1065353216;C[a+372>>2]=1065353216}i=J(i/m);g=J(g/e);o:{if(C[a+228>>2]){p:{if(g>i){d=C[a+212>>2];c=C[b+44>>2]/(d|0)|0;break p}d=C[a+212>>2];c=C[b+40>>2]/C[a+216>>2]|0}e=J(((c|0)<=1?1:c)|0);f=O(+J(e*J(d|0)));q:{if(K(f)<2147483648){c=~~f;break q}c=-2147483648}C[b+32>>2]=c;l=(C[b+44>>2]-c|0)/2|0;C[b+24>>2]=l;f=O(+J(e*J(C[a+216>>2])));r:{if(K(f)<2147483648){d=~~f;break r}d=-2147483648}C[b+36>>2]=d;j=(C[b+40>>2]-d|0)/2|0;C[b+28>>2]=j;break o}if(K(+J(g-i))<1e-4){c=C[a+212>>2];d=C[b+44>>2];lf(b+24|0,0,16);Hl(a,b+32|0,b+36|0);e=J(J(d|0)/J(c|0));d=C[b+36>>2];c=C[b+32>>2];j=C[b+28>>2];l=C[b+24>>2];break o}k=b;s:{if(g>i){if(c){c=C[a+216>>2];d=C[b+40>>2];C[b+36>>2]=d;C[b+28>>2]=0;e=J(J(d|0)/J(c|0));f=O(+J(e*J(C[a+212>>2])));t:{if(K(f)<2147483648){c=~~f;break t}c=-2147483648}C[b+32>>2]=c;l=(C[b+44>>2]-c|0)/2|0;break s}d=C[a+212>>2];c=C[b+44>>2];C[b+32>>2]=c;C[b+24>>2]=0;e=J(J(c|0)/J(d|0));f=O(+J(e*J(C[a+216>>2])));u:{if(K(f)<2147483648){d=~~f;break u}d=-2147483648}C[b+36>>2]=d;j=(C[b+40>>2]-d|0)/2|0;C[b+28>>2]=j;break o}if(c){d=C[a+212>>2];c=C[b+44>>2];C[b+32>>2]=c;C[b+24>>2]=0;e=J(J(c|0)/J(d|0));f=O(+J(e*J(C[a+216>>2])));v:{if(K(f)<2147483648){d=~~f;break v}d=-2147483648}C[b+36>>2]=d;j=(C[b+40>>2]-d|0)/2|0;C[b+28>>2]=j;break o}c=C[a+216>>2];d=C[b+40>>2];C[b+36>>2]=d;C[b+28>>2]=0;e=J(J(d|0)/J(c|0));f=O(+J(e*J(C[a+212>>2])));w:{if(K(f)<2147483648){c=~~f;break w}c=-2147483648}C[b+32>>2]=c;l=(C[b+44>>2]-c|0)/2|0}C[k+24>>2]=l}f=+G[a+368>>2];H[a+232>>3]=+(l|0)*f;H[a+248>>3]=f*+(c|0);f=+G[a+372>>2];H[a+256>>3]=f*+(d|0);H[a+240>>3]=+(j|0)*f;zk(a);x:{if(C[a+432>>2]){break x}d=C[a+436>>2];if(!d){break x}Fe[C[a+52>>2]](a,d,C[a+536>>2],C[a+540>>2])|0;d=C[a+440>>2];if(d){C[d+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}y:{if(C[a>>2]!=422389){C[b>>2]=9675;Qe(19745,b);break y}G[a+372>>2]=e;G[a+368>>2]=e}}Ce=b+48|0;break k}b=C[a+8>>2];z:{if(b){Fe[b|0](a,h+28|0,h+24|0)|0;break z}Sh(C[a+204>>2],h+28|0,h+24|0)}C[a+232>>2]=0;C[a+236>>2]=0;C[a+240>>2]=0;C[a+244>>2]=0;H[a+248>>3]=C[h+28>>2];H[a+256>>3]=C[h+24>>2];zk(a);is(a)}if(p){break a}Dn(a,o);break a;case 1:C[a+208>>2]=1;break a;case 0:if(uk(c)&64){break a}C[a+208>>2]=0;break a;case 6:C[a+208>>2]=1;break a;case 7:case 8:break f;default:break a}}if(uk(c)&8){break a}C[a+208>>2]=0;break a}if((nn(C[b+8>>2])|0)!=C[a+204>>2]){break a}c=C[a+412>>2];if(!C[(c?220:212)+a>>2]){break a}i=G[(c?a+376|0:a+368|0)+4>>2];n=H[(c?a+264|0:a+232|0)+8>>3];e=G[(c?376:368)+a>>2];d=C[b+20>>2];f=H[(c?264:232)+a>>3]*+G[a+384>>2];A:{if(K(f)<2147483648){c=~~f;break A}c=-2147483648}c=d-c|0;C[b+20>>2]=c;d=C[b+24>>2];f=n*+G[a+388>>2];B:{if(K(f)<2147483648){k=~~f;break B}k=-2147483648}d=d-k|0;C[b+24>>2]=d;g=J(J(c|0)/J(e*G[a+384>>2]));C:{if(J(K(g))>2]=c;g=J(J(d|0)/J(i*G[a+388>>2]));D:{if(J(K(g))>2]=c;d=C[b+28>>2];if(!(!d|!C[a+392>>2])){g=J(G[a+400>>2]+J(J(d|0)/J(e*G[a+384>>2])));e=J(Q(g));G[a+400>>2]=g-e;if(J(K(e))>2]=c}d=C[b+32>>2];if(!d|!C[a+392>>2]){break a}g=J(G[a+404>>2]+J(J(d|0)/J(i*G[a+388>>2])));e=J(Q(g));G[a+404>>2]=g-e;if(J(K(e))>2]=~~e;break a}C[b+32>>2]=-2147483648;break a}if((nn(C[b+8>>2])|0)!=C[a+204>>2]){break a}c=C[a+412>>2];if(!C[(c?220:212)+a>>2]){break a}e=G[(c?a+376|0:a+368|0)+4>>2];n=H[(c?a+264|0:a+232|0)+8>>3];g=G[(c?376:368)+a>>2];d=C[b+20>>2];f=H[(c?264:232)+a>>3]*+G[a+384>>2];E:{if(K(f)<2147483648){c=~~f;break E}c=-2147483648}c=d-c|0;C[b+20>>2]=c;d=C[b+24>>2];f=n*+G[a+388>>2];F:{if(K(f)<2147483648){k=~~f;break F}k=-2147483648}d=d-k|0;C[b+24>>2]=d;g=J(J(c|0)/J(g*G[a+384>>2]));G:{if(J(K(g))>2]=c;g=J(J(d|0)/J(e*G[a+388>>2]));if(J(K(g))>2]=~~g;break a}C[b+24>>2]=-2147483648;break a}d=C[a+412>>2];c=d?a+264|0:a+232|0;q=H[c+24>>3];r=H[c+16>>3];n=H[c+8>>3];f=H[(d?264:232)+a>>3];d=C[a+8>>2];H:{if(d){Fe[d|0](a,h+28|0,h+24|0)|0;e=J(C[h+28>>2]);g=J(C[h+24>>2]);break H}Sh(C[a+204>>2],h+28|0,h+24|0);e=J(G[a+384>>2]*J(C[h+28>>2]));g=J(G[a+388>>2]*J(C[h+24>>2]))}I:{if(e==J(0)){C[b+24>>2]=1056964608;break I}m=G[b+24>>2];i=J(J(f)/e);if(m<=i){C[b+24>>2]=0;break I}e=J(J(r)/e);if(m>=J(i+e)){C[b+24>>2]=1065353216;break I}G[b+24>>2]=J(m-i)/e}if(g==J(0)){C[b+28>>2]=1056964608;break a}i=G[b+28>>2];e=J(J(n)/g);if(i<=e){C[b+28>>2]=0;break a}g=J(J(q)/g);if(i>=J(e+g)){C[b+28>>2]=1065353216;break a}G[b+28>>2]=J(i-e)/g}Ce=h+32|0;return 0}function kF(a){a=a|0;var 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;m=C[a+28>>2];if(m){p=C[a+36>>2];q=C[a+16>>2];b=C[a+44>>2];n=C[a+24>>2];r=n&7;n=(n+7|0)/8|0;h=C[a>>2];a=C[a+20>>2];k=D[b+9|0];l=k-1|0;while(1){m=m-1|0;o=n;a:{b:{switch(r-1|0){default:d=7;break a;case 0:d=6;break a;case 1:d=5;break a;case 2:d=4;break a;case 3:d=3;break a;case 4:d=2;break a;case 5:d=1;break a;case 6:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:c=C[h>>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];e:{f:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break e;case 3:break f;default:break e}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];g:{h:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break g;case 3:break h;default:break g}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];i:{j:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break i;case 3:break j;default:break i}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];k:{l:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break k;case 3:break l;default:break k}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];m:{n:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break m;case 3:break n;default:break m}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];o:{p:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break o;case 3:break p;default:break o}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];q:{r:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break q;case 3:break r;default:break q}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95282]+(c>>>30|0)|0];s:{t:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break s;case 3:break t;default:break s}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]=0;o(+b);g=j(1)|0;j(0)|0;a:{if((g|0)<0){u=1;z=1749;b=-b;o(+b);g=j(1)|0;j(0)|0;break a}if(e&2048){u=1;z=1752;break a}u=e&1;z=u?1755:1750;B=!u}b:{if((g&2146435072)==2146435072){g=u+3|0;Gg(a,32,c,g,e&-65537);Bg(a,z,u);d=f&32;Bg(a,b!=b?d?12445:25583:d?15654:26378,3);Gg(a,32,c,g,e^8192);p=(c|0)<(g|0)?g:c;break b}w=n+16|0;c:{d:{e:{b=fu(b,n+44|0);b=b+b;if(b!=0){g=C[n+44>>2];C[n+44>>2]=g-1;x=f|32;if((x|0)!=97){break e}break c}x=f|32;if((x|0)==97){break c}l=C[n+44>>2];m=(d|0)<0?6:d;break d}l=g-29|0;C[n+44>>2]=l;b=b*268435456;m=(d|0)<0?6:d}s=(n+48|0)+((l|0)>=0?288:0)|0;h=s;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}C[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((l|0)<=0){d=l;g=h;i=s;break f}i=s;d=l;while(1){q=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){k=C[g>>2];y=d;d=q&31;if((q&63)>>>0>=32){p=k<>>32-d;d=k<>>0>y>>>0?k+1|0:k,1e9,0);E=g,F=y-mT(d,Ee,1e9,0)|0,C[E>>2]=F;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;C[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!C[h>>2]){continue}}break}d=C[n+44>>2]-q|0;C[n+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){v=((m+25>>>0)/9|0)+1|0;r=(x|0)==102;while(1){d=0-d|0;p=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=C[i>>2];break h}q=1e9>>>p|0;k=-1<>2];C[h>>2]=y+(d>>>p|0);d=I(q,d&k);h=h+4|0;if(h>>>0>>0){continue}break}h=C[i>>2];if(!d){break h}C[g>>2]=d;g=g+4|0}d=p+C[n+44>>2]|0;C[n+44>>2]=d;i=(!h<<2)+i|0;h=r?s:i;g=g-h>>2>(v|0)?h+(v<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=I(s-i>>2,9);h=10;k=C[i>>2];if(k>>>0<10){break i}while(1){d=d+1|0;h=I(h,10);if(k>>>0>=h>>>0){continue}break}}h=(m-((x|0)!=102?d:0)|0)-((x|0)==103&(m|0)!=0)|0;if((h|0)<(I(g-s>>2,9)-9|0)){q=h+9216|0;k=(q|0)/9|0;l=((((l|0)<0?4:292)+n|0)+(k<<2)|0)-4048|0;h=10;p=q-I(k,9)|0;if((p|0)<=7){while(1){h=I(h,10);p=p+1|0;if((p|0)!=8){continue}break}}q=C[l>>2];v=(q>>>0)/(h>>>0)|0;r=q-I(h,v)|0;k=l+4|0;j:{if(!r&(k|0)==(g|0)){break j}k:{if(!(v&1)){b=9007199254740992;if(!(A[l-4|0]&1)|((h|0)!=1e9|i>>>0>=l>>>0)){break k}}b=9007199254740994}t=(g|0)==(k|0)?1:1.5;k=h>>>1|0;t=k>>>0>r>>>0?.5:(k|0)==(r|0)?t:1.5;if(!(D[z|0]!=45|B)){t=-t;b=-b}k=q-r|0;C[l>>2]=k;if(b+t==b){break j}d=h+k|0;C[l>>2]=d;if(d>>>0>=1e9){while(1){C[l>>2]=0;l=l-4|0;if(l>>>0>>0){i=i-4|0;C[i>>2]=0}d=C[l>>2]+1|0;C[l>>2]=d;if(d>>>0>999999999){continue}break}}d=I(s-i>>2,9);h=10;k=C[i>>2];if(k>>>0<10){break j}while(1){d=d+1|0;h=I(h,10);if(k>>>0>=h>>>0){continue}break}}h=l+4|0;g=g>>>0>h>>>0?h:g}while(1){k=g;q=g>>>0<=i>>>0;if(!q){g=k-4|0;if(!C[g>>2]){continue}}break}l:{if((x|0)!=103){l=e&8;break l}h=m?m:1;g=(h|0)>(d|0)&(d|0)>-5;m=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;l=e&8;if(l){break l}g=-9;m:{if(q){break m}l=C[k-4>>2];if(!l){break m}p=10;g=0;if((l>>>0)%10|0){break m}while(1){h=g;g=g+1|0;p=I(p,10);if(!((l>>>0)%(p>>>0)|0)){continue}break}g=h^-1}h=I(k-s>>2,9);if((f&-33)==70){l=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break l}l=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}p=-1;q=l|m;if(((q?2147483645:2147483646)|0)<(m|0)){break b}r=(((q|0)!=0)+m|0)+1|0;h=f&-33;n:{if((h|0)==70){if((r^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=Xj((g^d)-g|0,0,w);if((w-g|0)<=1){while(1){g=g-1|0;A[g|0]=48;if((w-g|0)<2){continue}break}}v=g-2|0;A[v|0]=f;A[g-1|0]=(d|0)<0?45:43;g=w-v|0;if((g|0)>(r^2147483647)){break b}}d=g+r|0;if((d|0)>(u^2147483647)){break b}r=d+u|0;Gg(a,32,c,r,e);Bg(a,z,u);Gg(a,48,c,r,e^65536);o:{p:{q:{if((h|0)==70){f=n+16|0;d=f|8;l=f|9;h=i>>>0>s>>>0?s:i;i=h;while(1){g=Xj(C[i>>2],0,l);r:{if((h|0)!=(i|0)){if(n+16>>>0>=g>>>0){break r}while(1){g=g-1|0;A[g|0]=48;if(n+16>>>0>>0){continue}break}break r}if((g|0)!=(l|0)){break r}A[n+24|0]=48;g=d}Bg(a,g,l-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}if(q){Bg(a,30281,1)}if((m|0)<=0|i>>>0>=k>>>0){break q}while(1){g=Xj(C[i>>2],0,l);if(g>>>0>n+16>>>0){while(1){g=g-1|0;A[g|0]=48;if(n+16>>>0>>0){continue}break}}Bg(a,g,(m|0)>=9?9:m);g=m-9|0;i=i+4|0;if(k>>>0<=i>>>0){break p}d=(m|0)>9;m=g;if(d){continue}break}break p}s:{if((m|0)<0){break s}s=i>>>0>>0?k:i+4|0;f=n+16|0;d=f|8;k=f|9;h=i;while(1){g=Xj(C[h>>2],0,k);if((k|0)==(g|0)){A[n+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(n+16>>>0>=g>>>0){break t}while(1){g=g-1|0;A[g|0]=48;if(n+16>>>0>>0){continue}break}break t}Bg(a,g,1);g=g+1|0;if(!(l|m)){break t}Bg(a,30281,1)}f=k-g|0;Bg(a,g,(f|0)>(m|0)?m:f);m=m-f|0;h=h+4|0;if(s>>>0<=h>>>0){break s}if((m|0)>=0){continue}break}}Gg(a,48,m+18|0,18,0);Bg(a,v,w-v|0);break o}g=m}Gg(a,48,g+9|0,9,0)}Gg(a,32,c,r,e^8192);p=(c|0)<(r|0)?r:c;break b}l=(f<<26>>31&9)+z|0;u:{if(d>>>0>11){break u}g=12-d|0;t=16;while(1){t=t*16;g=g-1|0;if(g){continue}break}if(D[l|0]==45){b=-(t+(-b-t));break u}b=b+t-t}g=C[n+44>>2];h=g>>31;g=Xj((g^h)-h|0,0,w);if((w|0)==(g|0)){A[n+15|0]=48;g=n+15|0}s=u|2;i=f&32;h=C[n+44>>2];m=g-2|0;A[m|0]=f+15;A[g-1|0]=(h|0)<0?45:43;g=e&8;h=n+16|0;while(1){f=h;if(K(b)<2147483648){k=~~b}else{k=-2147483648}A[h|0]=i|D[k+377072|0];b=(b-+(k|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(n+16|0)|0)!=1)){A[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}p=-1;g=w-m|0;f=g+s|0;if((2147483645-f|0)<(d|0)){break b}v:{w:{if(!d){break w}i=h-(n+16|0)|0;if((i-2|0)>=(d|0)){break w}d=d+2|0;break v}i=h-(n+16|0)|0;d=i}f=d+f|0;Gg(a,32,c,f,e);Bg(a,l,s);Gg(a,48,c,f,e^65536);Bg(a,n+16|0,i);Gg(a,48,d-i|0,0,0);Bg(a,m,g);Gg(a,32,c,f,e^8192);p=(c|0)<(f|0)?f:c}Ce=n+560|0;return p|0}function yF(a){a=a|0;var 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;n=C[a+28>>2];if(n){k=C[a+48>>2];q=C[a+36>>2];r=C[a+16>>2];h=C[a+24>>2];s=h&3;t=(h+3|0)/4|0;f=C[a>>2];h=C[a+20>>2];o=C[a+44>>2];b=C[a+40>>2];m=D[b+9|0];p=m-1|0;while(1){n=n-1|0;a=t;a:{b:{switch(s-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:d=0;e=0;g=0;c=0;e:{f:{switch(p|0){case 0:d=D[f|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 1:d=E[f>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 2:g=D[(D[b+34|0]>>>3|0)+f|0];e=D[(D[b+33|0]>>>3|0)+f|0];d=D[(D[b+32|0]>>>3|0)+f|0];c=255;break e;case 3:break f;default:break e}}d=C[f>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=e;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[e+1|0];l=d;d=D[e|0];i=((I(i-j|0,c)|0)/255|0)+j>>>3&28|((I(l-d|0,c)|0)/255|0)+d&-32;d=c;c=D[e+2|0];c=i|(((I(d,g-c|0)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=1;continue;case 1:d=0;e=0;g=0;c=0;g:{h:{switch(p|0){case 0:d=D[f|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 1:d=E[f>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 2:g=D[(D[b+34|0]>>>3|0)+f|0];e=D[(D[b+33|0]>>>3|0)+f|0];d=D[(D[b+32|0]>>>3|0)+f|0];c=255;break g;case 3:break h;default:break g}}d=C[f>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=e;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[e+1|0];l=d;d=D[e|0];i=((I(i-j|0,c)|0)/255|0)+j>>>3&28|((I(l-d|0,c)|0)/255|0)+d&-32;d=c;c=D[e+2|0];c=i|(((I(d,g-c|0)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=2;continue;case 2:d=0;e=0;g=0;c=0;i:{j:{switch(p|0){case 0:d=D[f|0];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:d=E[f>>1];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:g=D[(D[b+34|0]>>>3|0)+f|0];e=D[(D[b+33|0]>>>3|0)+f|0];d=D[(D[b+32|0]>>>3|0)+f|0];c=255;break i;case 3:break j;default:break i}}d=C[f>>2];c=D[C[(D[b+31|0]<<2)+381104>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=e;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[e+1|0];l=d;d=D[e|0];i=((I(i-j|0,c)|0)/255|0)+j>>>3&28|((I(l-d|0,c)|0)/255|0)+d&-32;d=c;c=D[e+2|0];c=i|(((I(d,g-c|0)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;if((a|0)<=1){break c}a=a-1|0;c=3;continue;default:break d}}c=0;g=0;d=0;e=0;k:{l:{switch(p|0){case 0:c=D[f|0];e=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 1:c=E[f>>1];e=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 2:d=D[(D[b+34|0]>>>3|0)+f|0];g=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];e=255;break k;case 3:break l;default:break k}}c=C[f>>2];e=D[C[(D[b+31|0]<<2)+381104>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+381104>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+381104>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+381104>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=g;g=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[g+1|0];l=c;c=D[g|0];i=((I(i-j|0,e)|0)/255|0)+j>>>3&28|((I(l-c|0,e)|0)/255|0)+c&-32;c=D[g+2|0];c=i|(((I(d-c|0,e)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=0;continue}break}h=h+q|0;f=f+r|0;if(n){continue}break}}}function RQ(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,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;s=Ce-80|0;Ce=s;g=al(a,b);a:{if(g){break a}d=C[a+2980>>2];if(!(!(!(d&8)&C[c+24>>2]==1)&(d&1))){g=_w(a,C[c+52>>2],c+56|0,0);if(g){break a}d=C[a+2980>>2]}b:{if(d&2){break b}g=_w(a,C[c+1624>>2],c+1628|0,1);if(g){break a}d=C[a+1524>>2];if((d|0)<=0){break b}g=C[a+1532>>2];t=g+I(d,48)|0;k=C[c+1616>>2];p=c+1836|0;while(1){d=Te(F[c+40>>2]/40|0,k);c:{if(!C[c+1832>>2]){break c}e=(d|0)>=32?32:d;d=0;j=0;n=0;while(1){f=p+I(d,28)|0;i=C[f+24>>2];d:{if(!(i&1)){break d}q=i>>>2&1;u=i&2;if(!(q|u>>>1^C[a+1536>>2]==A[g+13|0])){break d}h=B[g>>1]-C[f>>2]|0;i=h>>31;h=Te((h^i)-i|0,k);i=(h|0)<(e|0);e=i?h:e;j=i?f:j;n=i?q:n;if(q|(!(A[g+12|0]&1)|!h)){break d}i=B[g>>1];if((u|0)!=0^(i|0)>=C[f>>2]){break d}q=i-C[f+12>>2]|0;i=q>>31;i=Te((i^q)-i|0,k);if((i|0)>=(e|0)){break d}j=f+12|0;n=0;e=i}d=d+1|0;if(d>>>0>2]){continue}break}if(!j){break c}C[g+20>>2]=j;if(!(n&255)){break c}A[g+12|0]=D[g+12|0]|8}g=g+48|0;if(t>>>0>g>>>0){continue}break}}q=1;n=0;while(1){e:{f:{g:{if(q){d=C[a+2980>>2];if(!(d&8|C[c+24>>2]!=1)){Zw(s+20|0,a,s+16|0,s+12|0);e=C[a+24>>2];if((e|0)<=0){break f}d=C[a+28>>2];e=d+I(e,40)|0;i=C[s+12>>2];f=C[s+16>>2];while(1){y=d,z=Te(B[d+12>>1],f)+i|0,C[y+16>>2]=z;d=d+40|0;if(e>>>0>d>>>0){continue}break}break f}if(!(d&1)){break g}break f}if(D[a+2980|0]&2){break e}}u=I(n,1468)+a|0;i=C[u- -64>>2];p=C[u+56>>2];t=i+I(p,48)|0;v=0;d=i;k=0;if((p|0)>0&n){while(1){j=D[d+12|0];h:{if(j&4){break h}i:{j:{k:{l:{m:{f=C[d+20>>2];e=C[d+24>>2];n:{if(!f|!e){break n}h=C[e+20>>2];if(!h){break m}g=D[e+12|0];if(g&8){C[e+20>>2]=0;A[e+12|0]=g&247;f=C[d+20>>2];break n}if(!(j&8)){break m}f=0;C[d+20>>2]=0;A[d+12|0]=j&247}if(!e|f){break l}f=C[e+20>>2];if(!f){break h}f=C[f+8>>2];C[e+8>>2]=f;g=D[e+12|0]|4;A[e+12|0]=g;j=e;e=d;break j}f=C[f+8>>2];g=j|4;A[d+12|0]=g;C[d+8>>2]=f;break k}if(!f){break h}f=C[f+8>>2];C[d+8>>2]=f;g=D[d+12|0]|4;A[d+12|0]=g;if(!e){break i}h=C[e+20>>2]}j=d;if(h){break i}}h=C[e+4>>2]-C[j+4>>2]|0;j=D[e+12|0];h=_k(a,1,h,g&255,j);A[e+12|0]=j|4;C[e+8>>2]=f+h}k=k?k:d}d=d+48|0;if(t>>>0>d>>>0){continue}break}}d=i;w=(p|0)<=0;if(!w){while(1){j=D[d+12|0];o:{if(j&4){break o}e=C[d+24>>2];if(!e){v=v+1|0;break o}if(C[e+20>>2]){f=_k(a,n,C[d+4>>2]-C[e+4>>2]|0,D[e+12|0],j);e=C[e+8>>2];A[d+12|0]=j|4;C[d+8>>2]=e+f;break o}h=C[d+4>>2];if(!k){k=C[e+4>>2]-h|0;f=_k(a,n,k,j,D[e+12|0]);p:{if((f|0)<=95){h=h+(k>>1)|0;o=h+32&-64;l=(f|0)<65;g=o+(l?-32:-38)|0;r=h-g|0;m=r>>31;l=o|(l?32:26);o=h-l|0;h=o>>31;h=((f|0)/-2|0)+((m^r)-m>>>0<(h^o)-h>>>0?g:l)|0;C[d+8>>2]=h;g=f+h|0;f=e;break p}g=h+32&-64;f=d}C[f+8>>2]=g;f=j|4;A[d+12|0]=f;y=e,z=C[d+8>>2]+_k(a,n,k,f,D[e+12|0])|0,C[y+8>>2]=z;k=d;break o}m=C[k+4>>2];l=C[k+8>>2];g=C[e+4>>2]-h|0;o=D[e+12|0];f=_k(a,n,g,j,o);q:{if(o&4){h=C[e+8>>2]-f|0;f=d;break q}m=l+(h-m|0)|0;h=m+(g>>1)|0;r:{if((f|0)<=95){l=h+32&-64;m=(f|0)<65;o=l+(m?-32:-38)|0;r=h-o|0;g=r>>31;m=l|(m?32:26);l=h-m|0;h=l>>31;h=(g^r)-g>>>0<(h^l)-h>>>0?o:m;f=(f|0)/2|0;C[d+8>>2]=h-f;h=f+h|0;break r}l=m+32|0;o=l&-64;r=f>>>1|0;x=(o+r|0)-h|0;m=x>>31;g=(g+l&-64)-f|0;l=g+(r-h|0)|0;h=l>>31;h=(m^x)-m>>>0<(h^l)-h>>>0?o:g;C[d+8>>2]=h;h=f+h|0}f=e}C[f+8>>2]=h;A[d+12|0]=j|4;A[e+12|0]=D[e+12|0]|4;if(d>>>0<=i>>>0){break o}e=C[d-40>>2];if((e|0)<=C[d+8>>2]){break o}C[d+8>>2]=e}d=d+48|0;if(t>>>0>d>>>0){continue}break}}s:{if(!q){break s}d=4;f=2;e=i;t:{switch(p-6|0){case 6:e=i+48|0;d=9;f=5;break;case 0:break t;default:break s}}j=i+I(f,48)|0;d=i+I(d,48)|0;h=(C[j+4>>2]<<1)-(C[e+4>>2]+C[d+4>>2]|0)|0;f=h>>31;if((f^h)-f>>>0>7){break s}f=C[d+8>>2];e=(C[j+8>>2]<<1)-C[e+8>>2]|0;C[d+8>>2]=e;f=f-e|0;e=C[d+24>>2];if(e){C[e+8>>2]=C[e+8>>2]-f}if((p|0)==12){C[i+392>>2]=C[i+392>>2]-f;C[i+536>>2]=C[i+536>>2]-f}A[d+12|0]=D[d+12|0]|4;if(!e){break s}A[e+12|0]=D[e+12|0]|4}u:{if(!(!k|(v|0)!=0)){break u}d=i;if(w){break u}while(1){j=D[d+12|0];v:{if(j&4){break v}w:{x:{y:{e=C[d+28>>2];if(!e){break y}h=C[e+4>>2];g=C[d+4>>2];p=h-g|0;f=p>>31;if((f^p)-f>>>0>79){break y}e=C[e+8>>2]+(g-h|0)|0;break x}e=d;if(!k){e=C[d+4>>2]+32&-64;C[d+8>>2]=e;k=d;break w}while(1){g=e;e=e-48|0;p=i>>>0>e>>>0;if(!(p|D[g-36|0]&4)){continue}break}f=d;z:{while(1){h=f;f=f+48|0;if(t>>>0<=f>>>0){break z}if(!(D[h+60|0]&4)){continue}break}if(d>>>0<=e>>>0|p|d>>>0>=f>>>0){break z}f=g-48|0;e=C[f+8>>2];g=C[h+52>>2];f=C[f+4>>2];if((g|0)==(f|0)){break x}e=of(C[d+4>>2]-f|0,C[h+56>>2]-e|0,g-f|0)+e|0;C[d+8>>2]=e;j=D[d+12|0];break w}e=C[k+8>>2]+((C[d+4>>2]-C[k+4>>2]|0)+16&-32)|0}C[d+8>>2]=e}A[d+12|0]=j|4;A:{if(d>>>0<=i>>>0){break A}f=C[d-40>>2];if((f|0)<=(e|0)){break A}C[d+8>>2]=f;e=f}if(!(D[d+60|0]&4)|t>>>0<=d+48>>>0){break v}f=e;e=C[d+56>>2];if((f|0)<=(e|0)){break v}C[d+8>>2]=e}d=d+48|0;if(t>>>0>d>>>0){continue}break}}g=C[u+52>>2];d=C[u+44>>2];i=g+I(d,48)|0;B:{if(!q){if((d|0)<=0){break B}while(1){d=C[g+12>>2];if(d){e=g+40|0;f=C[d+8>>2];k=C[g+44>>2];while(1){d=C[e>>2];C[d+20>>2]=f;B[d>>1]=E[d>>1]|8;e=d+32|0;if((d|0)!=(k|0)){continue}break}}g=g+48|0;if(i>>>0>g>>>0){continue}break}break B}if((d|0)<=0){break B}while(1){d=C[g+12>>2];if(d){e=g+40|0;f=C[d+8>>2];k=C[g+44>>2];while(1){d=C[e>>2];C[d+16>>2]=f;B[d>>1]=E[d>>1]|4;e=d+32|0;if((d|0)!=(k|0)){continue}break}}g=g+48|0;if(i>>>0>g>>>0){continue}break}}Yw(a,n);Xw(a,n)}n=1;d=q;q=0;if(d){continue}}break}c=C[a+24>>2];if((c|0)<=0){g=0;break a}d=C[a+28>>2];c=d+I(c,40)|0;e=C[b+4>>2];a=C[b+8>>2];while(1){C[e>>2]=C[d+16>>2];C[e+4>>2]=C[d+20>>2];g=0;b=E[d>>1];A[a|0]=b&1?0:b&2?2:1;a=a+1|0;e=e+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}Ce=s+80|0;return g|0}function NS(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=J(0),o=0,p=0,q=0;f=Ce+-64|0;Ce=f;g=d;d=C[a+72>>2];p=g,q=(Fe[C[d+168>>2]](a,C[a+76>>2],c,C[d+32>>2])|0)/2|0,C[p>>2]=q;h=Ce-48|0;Ce=h;k=b+48|0;d=C[k>>2];a:{if(d){break a}m=k-48|0;while(1){d=C[m>>2];if(!d){d=205712;break a}C[h+8>>2]=0;C[h+12>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;A[h+24|0]=0;C[h>>2]=0;C[h+4>>2]=0;C[h+28>>2]=0;C[h+32>>2]=0;g=Qf(d);A[h+40|0]=1;C[h+36>>2]=g;d=Of(d,1448038983);b:{if(!d){break b}g=C[d>>2];if(!g){break b}C[d>>2]=g+1}A[h+24|0]=0;C[h+32>>2]=d;i=C[d+12>>2];C[h+4>>2]=i;l=C[d+16>>2];C[h+8>>2]=l+i;C[h+28>>2]=0;if(l>>>0>67108862){g=1073741823}else{g=l<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[h+12>>2]=g;C[h+20>>2]=0;C[h>>2]=0;c:{if(!i){Ue(d);C[h+32>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;break c}d:{e:{if((l|0)<8){break e}C[h+12>>2]=g-8;if((l&-2)==6|(D[i|0]|D[i+1|0]<<8)!=256){break e}j=g-10|0;C[h+12>>2]=j;g=D[i+6|0]|D[i+7|0]<<8;if(!g){break d}g=((g<<8|g>>>8)&65535)<<2;if(g>>>0>l-8>>>0){break e}g=j-g|0;C[h+12>>2]=g;if((g|0)>0){break d}}Ue(d);C[h+32>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;Ue(d);d=205712;break c}Ue(d);C[h+32>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;if(C[d+4>>2]){C[d+4>>2]=0}}g=d;if(!d){g=205712}d=C[k>>2];if(!d){C[k>>2]=g;d=g;break a}if(!g){break a}if((g|0)!=205712){Ue(g)}d=C[k>>2];if(!d){continue}break}}Ce=h+48|0;g=F[d+16>>2]<8?205712:C[d+12>>2];f:{if(D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24)){i=C[a+40>>2];h=C[a+44>>2];g:{h:{a=D[g+6|0]|D[g+7|0]<<8;if(a){l=g+8|0;k=g+6|0;m=(a<<8|a>>>8)&65535;b=m-1|0;d=0;while(1){a=b+d>>>1|0;j=l+(a<<2)|0;j=D[j|0]|D[j+1|0]<<8;j=(j<<8|j>>>8)&65535;i:{if(j>>>0>c>>>0){b=a-1|0;break i}if((c|0)==(j|0)){break h}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=g+4|0;break g}a=(a>>>0>=m>>>0?205712:(k+(a<<2)|0)+2|0)+2|0}a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;b=mT(i,h,a,a>>31);a=Ee;b=b+32768|0;C[e>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16;break f}C[f+56>>2]=0;C[f+60>>2]=0;C[f+48>>2]=0;C[f+52>>2]=0;d=C[b+52>>2];j:{if(d){break j}while(1){g=C[b>>2];if(!g){d=205712;break j}d=df(1,32);if(!d){d=205712;C[b+52>>2]=205712;break j}en(d,g);if(!C[b+52>>2]){C[b+52>>2]=d;break j}Ue(C[d+20>>2]);C[d+20>>2]=0;Ue(C[d+24>>2]);Re(d);d=C[b+52>>2];if(!d){continue}break}}if(uz(d,a,c,f+48|0)){d=C[b+44>>2];k:{if(d){break k}while(1){g=C[b>>2];if(!g){d=205712;break k}d=df(1,20);if(!d){d=205712;C[b+44>>2]=205712;break k}wq(d,g);if(!C[b+44>>2]){C[b+44>>2]=d;break k}Ue(C[d+12>>2]);C[d+12>>2]=0;Ue(C[d+16>>2]);Re(d);d=C[b+44>>2];if(!d){continue}break}}h=C[d+4>>2];l:{m:{if(h>>>0>c>>>0){g=C[d>>2];b=C[d+12>>2];b=((c|0)<0?205712:C[(b?b:205712)+12>>2]+(c<<2)|0)+2|0;break m}g=C[d>>2];b=0;if(g>>>0<=c>>>0){break l}b=C[d+12>>2];b=(c-h<<1)+((h|0)<0?205712:C[(b?b:205712)+12>>2]+(h<<2)|0)|0}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}n:{if(c>>>0>=g>>>0){break n}i=C[a+60>>2];if(!i){break n}d=C[d+16>>2];d=d?d:205712;g=C[d+16>>2];if(g){l=C[a+64>>2];d=g>>>0<20?205712:C[d+12>>2];g=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);o:{if(!h){break o}g=D[d+16|0]|D[d+17|0]<<8|(D[d+18|0]<<16|D[d+19|0]<<24);if(!(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))){break o}g=d+h|0;p:{if(D[g|0]){break p}h=D[g+2|0]|D[g+3|0]<<8;if(!h){break p}h=(h<<8|h>>>8)&65535;c=c>>>0>>0?c:h-1|0;k=D[g+1|0];m=k>>>4&3;h=m+1|0;g=g+I(c,h)|0;c=D[g+4|0];q:{if(!m){break q}c=D[g+5|0]|c<<8;if((h|0)==2){break q}c=D[g+6|0]|c<<8;if((h|0)==3){break q}c=D[g+7|0]|c<<8}g=(k&15)+1|0;c=c>>>g<<16|(-1<>>8&65280|d>>>24);d=d?g+d|0:205712;g=D[d+6|0]|D[d+7|0]<<8;h=(g<<8|g>>>8)&65535;g=c>>>16|0;if(h>>>0<=g>>>0){break o}g=d+(g<<2)|0;g=D[g+8|0]|D[g+9|0]<<8|(D[g+10|0]<<16|D[g+11|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h=c&65535;c=D[d+2|0]|D[d+3|0]<<8|(D[d+4|0]<<16|D[d+5|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);n=ll(g?g+d|0:205712,h,l,i,c?c+d|0:205712)}n=J(n+J(b|0));if(J(K(n))>2];d=C[b+100>>2];r:{if(d){break r}while(1){h=C[b+48>>2];if(!h){d=205712;break r}d=df(1,32);if(!d){d=205712;C[b+100>>2]=205712;break r}en(d,h);if(!C[b+100>>2]){C[b+100>>2]=d;break r}Ue(C[d+20>>2]);C[d+20>>2]=0;Ue(C[d+24>>2]);Re(d);d=C[b+100>>2];if(!d){continue}break}}b=0;s:{if(F[d+16>>2]<=c>>>0){break s}C[g+52>>2]=2139095039;C[g+56>>2]=-8388609;C[g+60>>2]=-8388609;C[g+24>>2]=2139095039;C[g+28>>2]=-8388609;C[g+32>>2]=-8388609;C[g+48>>2]=2139095039;C[g+44>>2]=g- -64;b=C[g+48>>2];C[g+16>>2]=C[g+44>>2];C[g+20>>2]=b;C[g+36>>2]=a;C[g+40>>2]=g+128;b=C[g+40>>2];C[g+8>>2]=C[g+36>>2];C[g+12>>2]=b;if(!zq(d,a,c,g+8|0)){d=C[d+8>>2];h=C[d+4>>2];t:{if(h>>>0>c>>>0){b=C[d+12>>2];b=((c|0)<0?205712:C[(b?b:205712)+12>>2]+(c<<2)|0)+2|0;break t}b=0;if(F[d>>2]<=c>>>0){break s}b=C[d+12>>2];b=(c-h<<1)+((h|0)<0?205712:C[(b?b:205712)+12>>2]+(h<<2)|0)|0}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;break s}n=J(J(P(G[g+104>>2]))-J(C[g+132>>2]));if(J(K(n))>2];g=C[a+40>>2];d=C[a+44>>2];a=b<<16>>16;b=mT(g,d,a,a>>31);a=Ee;b=b+32768|0;C[e>>2]=(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16)+c;break f}C[f+40>>2]=0;C[f+44>>2]=0;C[f+32>>2]=0;C[f+36>>2]=0;C[f+24>>2]=0;C[f+28>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f>>2]=0;C[f+4>>2]=0;b=C[a+72>>2];u:{if(Fe[C[b+148>>2]](a,C[a+76>>2],f,C[b+12>>2])|0){a=C[f>>2];break u}o=+C[a+24>>2]*.8;if(K(o)<2147483648){a=~~o;break u}a=-2147483648}C[e>>2]=a}Ce=f- -64|0;return 1}function bn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ce-32|0;Ce=i;C[i+24>>2]=0;C[i+16>>2]=0;C[i+20>>2]=0;C[i+28>>2]=C[b+48>>2]+(C[c>>2]^-1);a:{b:{c:{d:{switch(a|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:h=b+24|0;e=C[h>>2];e:{if(e){e=e-1|0;if(e>>>0>=F[b+32>>2]){e=C[51429];g=C[51428];C[105676]=g;C[105677]=e;l(0,g|0);l(1,e|0);f=+n();break e}f=H[C[b+36>>2]+(e<<3)>>3];break e}A[b+20|0]=1;e=C[51429];g=C[51428];C[105676]=g;C[105677]=e;l(0,g|0);l(1,e|0);f=+n()}f:{if(K(f)<2147483648){e=~~f;break f}e=-2147483648}if((e|0)<0){A[b+20|0]=1;e=0}g=c+24|0;g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(a-1|0){default:switch(a-256|0){case 22:break h;case 38:break i;case 21:break j;case 0:break n;default:break g};case 3:break k;case 2:break l;case 1:break m;case 0:break o}}d=1;break g}d=2;break g}d=3;break g}d=4;break g}d=5;break g}d=6;break g}d=7;break g}d=8}C[g+(d<<2)>>2]=e;break c;case 290:h=b+24|0;d=C[h>>2];p:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break p}f=H[C[b+36>>2]+(d<<3)>>3];break p}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}q:{if(K(f)<2147483648){d=~~f;break q}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+76>>2]=d;break c;case 286:h=b+24|0;d=C[h>>2];r:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;l(0,g|0);l(1,d|0);f=+n();break r}f=H[C[b+36>>2]+(e<<3)>>3];break r}A[b+20|0]=1;d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;l(0,g|0);l(1,d|0);f=+n()}s:{if(K(f)<2147483648){d=~~f;break s}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+72>>2]=d;g=c- -64|0;t:{if(e){d=e-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break t}f=H[C[b+36>>2]+(d<<3)>>3];break t}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}u:{if(K(f)<2147483648){d=~~f;break u}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[g>>2]=d;d=C[b+24>>2];v:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break v}f=H[C[b+36>>2]+(d<<3)>>3];break v}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}w:{if(K(f)<2147483648){d=~~f;break w}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+60>>2]=d;break c;case 16:d=C[b+24>>2];x:{if(d){d=d-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break x}f=H[C[b+36>>2]+(d<<3)>>3];break x}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}y:{if(K(f)<2147483648){d=~~f;break y}d=-2147483648}if((d|0)<0){A[b+20|0]=1;C[c+80>>2]=0;C[b+24>>2]=0;break a}C[c+80>>2]=d;C[b+24>>2]=0;if(d){break b}break a;case 15:d=C[b+24>>2];z:{if(d){d=d-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break z}f=H[C[b+36>>2]+(d<<3)>>3];break z}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}A:{if(K(f)<2147483648){d=~~f;break A}d=-2147483648}if((d|0)<0){A[b+20|0]=1;C[c+84>>2]=0;C[b+24>>2]=0;break a}C[c+84>>2]=d;C[b+24>>2]=0;if(d){break b}break a;case 293:h=b+24|0;d=C[h>>2];B:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break B}f=H[C[b+36>>2]+(d<<3)>>3];break B}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}C:{if(K(f)<2147483648){d=~~f;break C}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+88>>2]=d;break c;case 18:h=b+24|0;d=C[h>>2];D:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;l(0,g|0);l(1,d|0);f=+n();break D}f=H[C[b+36>>2]+(e<<3)>>3];break D}A[b+20|0]=1;d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;l(0,g|0);l(1,d|0);f=+n()}E:{if(K(f)<2147483648){d=~~f;break E}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+92>>2]=d;F:{if(e){d=e-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break F}f=H[C[b+36>>2]+(d<<3)>>3];break F}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n()}G:{if(K(f)<2147483648){d=~~f;break G}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+96>>2]=d;break c;default:C[b+48>>2]=C[b+12>>2];fz(a,b,c);if(!C[b+24>>2]){break b}break a;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break d}}h=b+24|0}C[h>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}H:{I:{J:{e=C[c+4>>2];if((e|0)>=0){h=C[c+8>>2];d=h+1|0;g=(d|0)>0?d:0;if(g>>>0<=e>>>0){break I}while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(e>>>0<=214748363){d=mf(C[c+12>>2],I(e,20));if(d){break J}}C[c+4>>2]=-1}C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;j=422704;break H}C[c+4>>2]=e;C[c+12>>2]=d;h=C[c+8>>2]}if(g>>>0>h>>>0){We(C[c+12>>2]+I(h,20)|0,0,I(g-h|0,20))}C[c+8>>2]=g;e=C[c+12>>2];C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;e=(e+I(g,20)|0)-20|0;j=422704;if((e|0)==422704){break H}d=C[i+16>>2];C[e>>2]=C[i+12>>2];C[e+4>>2]=d;C[e+16>>2]=C[i+28>>2];d=C[i+24>>2];C[e+8>>2]=C[i+20>>2];C[e+12>>2]=d;j=e}d=j;C[d>>2]=a;h=C[b+12>>2];e=C[b+4>>2];g=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+g;d=e-a|0;d=d>>>0<=e>>>0?d:0;a=h-a|0;C[j+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}Ce=i+32|0}function iz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Ce-32|0;Ce=j;a:{if(!c){d=-133;break a}f=C[c+4>>2];d=j+12|0;e=C[c>>2];C[d+12>>2]=e;C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=f;C[d+8>>2]=e;f=Ye(d,8);r=j,s=Ye(d,8),A[r+6|0]=s;r=j,s=Ye(d,8),A[r+7|0]=s;r=j,s=Ye(d,8),A[r+8|0]=s;r=j,s=Ye(j+12|0,8),A[r+9|0]=s;r=j,s=Ye(j+12|0,8),A[r+10|0]=s;r=j,s=Ye(j+12|0,8),A[r+11|0]=s;d=-132;if(Hg(j+6|0,7354,6)){break a}d=-133;b:{switch(f-1|0){case 0:if(C[a+8>>2]|!C[c+8>>2]){break a}c=C[a+28>>2];if(c){b=j+12|0;f=Ye(b,32);C[a>>2]=f;d=-134;c:{if(f){break c}r=a,s=Ye(b,8),C[r+4>>2]=s;r=a,s=Ye(b,32),C[r+8>>2]=s;r=a,s=Ye(b,32),C[r+12>>2]=s;r=a,s=Ye(b,32),C[r+16>>2]=s;r=a,s=Ye(b,32),C[r+20>>2]=s;r=c,s=1<>2]=s;d=1<>2]=d;d:{if(C[a+8>>2]<=0|C[a+4>>2]<=0){break d}c=C[c>>2];if((c|0)<64|(c|0)>(d|0)|(d|0)>8192){break d}d=0;if((Ye(b,1)|0)==1){break c}}kl(a);d=-133}}else{d=-129}break a;case 2:if(C[b+12>>2]|!C[a+8>>2]){break a}f=0;c=j+12|0;a=Ye(c,32);e:{f:{if((a|0)<0|(C[c+16>>2]-8|0)<(a|0)){break f}d=df(a+1|0,1);C[b+12>>2]=d;if(a){while(1){r=d,s=Ye(c,8),A[r|0]=s;d=d+1|0;a=a-1|0;if(a){continue}break}}a=Ye(c,32);if((a|0)<0|(a|0)>C[c+16>>2]-(C[c>>2]+((C[c+4>>2]+7|0)/8|0)|0)>>2){break f}C[b+8>>2]=a;d=a+1|0;r=b,s=df(d,4),C[r>>2]=s;r=b,s=df(d,4),C[r+4>>2]=s;if(a){while(1){a=Ye(c,32);if((a|0)<0|(C[c+16>>2]-(C[c>>2]+((C[c+4>>2]+7|0)/8|0)|0)|0)<(a|0)){break f}d=f<<2;C[d+C[b+4>>2]>>2]=a;e=df(a+1|0,1);C[d+C[b>>2]>>2]=e;if(a){d=C[d+C[b>>2]>>2];while(1){r=d,s=Ye(c,8),A[r|0]=s;d=d+1|0;a=a-1|0;if(a){continue}break}}f=f+1|0;if((f|0)>2]){continue}break}}d=0;if((Ye(c,1)|0)==1){break e}}cn(b);d=-133}break a;case 4:break b;default:break a}}if(!C[a+8>>2]|!C[b+12>>2]){break a}b=C[a+28>>2];if(!b){d=-129;break a}if(C[b+24>>2]>0){break a}b=0;k=C[a+28>>2];e=j+12|0;c=Ye(e,8);C[k+24>>2]=c+1;g:{h:{if((c|0)<0){break h}while(1){h=0;g=df(1,40);C[g+36>>2]=1;i:{j:{if((Ye(e,24)|0)!=5653314){break j}d=Ye(e,16);C[g>>2]=d;c=Ye(e,24);C[g+4>>2]=c;if((c|0)==-1){break j}if((tg(d)+tg(c)|0)>24){break j}k:{l:{m:{switch(Ye(e,1)|0){case 0:d=Ye(e,1);if(I(d?1:5,c)+7>>3>(C[e+16>>2]-(C[e>>2]+((C[e+4>>2]+7|0)/8|0)|0)|0)){break j}r=g,s=kf(c),C[r+8>>2]=s;if(!d){break l}if((c|0)<=0){break k}while(1){if(Ye(e,1)){c=Ye(e,5);if((c|0)==-1){break j}c=c+1|0}else{c=0}A[C[g+8>>2]+h|0]=c;c=C[g+4>>2];h=h+1|0;if((c|0)>(h|0)){continue}break};break k;case 1:break m;default:break j}}h=Ye(e,5)+1|0;if(!h){break j}r=g,s=kf(c),C[r+8>>2]=s;if((c|0)<=0){break k}d=0;while(1){f=c-d|0;i=Ye(e,tg(f));if((i|0)==-1|(h|0)>32|(f|0)<(i|0)){break j}if((i|0)>0){if(i-1>>>h-1>>>0>1){break j}f=0;c=d;l=i&3;if(l){while(1){A[C[g+8>>2]+c|0]=h;c=c+1|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}}d=d+i|0;if(i>>>0>=4){while(1){A[C[g+8>>2]+c|0]=h;A[(C[g+8>>2]+c|0)+1|0]=h;A[(C[g+8>>2]+c|0)+2|0]=h;A[(C[g+8>>2]+c|0)+3|0]=h;c=c+4|0;if((d|0)!=(c|0)){continue}break}}c=C[g+4>>2]}h=h+1|0;if((c|0)>(d|0)){continue}break}break k}if((c|0)<=0){break k}while(1){c=Ye(e,5);if((c|0)==-1){break j}A[C[g+8>>2]+h|0]=c+1;c=C[g+4>>2];h=h+1|0;if((c|0)>(h|0)){continue}break}}h=Ye(e,4);C[g+12>>2]=h;n:{switch(h|0){case 0:break i;case 1:case 2:break n;default:break j}}r=g,s=Ye(e,32),C[r+16>>2]=s;r=g,s=Ye(e,32),C[r+20>>2]=s;d=Ye(e,4)+1|0;C[g+24>>2]=d;f=Ye(e,1);C[g+28>>2]=f;if((f|0)==-1){break j}f=0;o:{p:{switch(h-1|0){case 0:if(!C[g>>2]){break o}m=C[g+4>>2];l=C[g>>2];n=O(Hh(+J(m|0),+J(J(1)/J(l|0))));q:{if(K(n)<2147483648){c=~~n;break q}c=-2147483648}p=l&-8;o=l&7;q=l>>>0<8;while(1){h=1;f=1;r:{if((l|0)<=0){break r}i=c+1|0;d=0;if(!q){while(1){f=I(I(I(I(I(I(I(I(f,i),i),i),i),i),i),i),i);h=I(I(I(I(I(I(I(I(c,h),c),c),c),c),c),c),c);d=d+8|0;if((p|0)!=(d|0)){continue}break}}d=0;if(!o){break r}while(1){f=I(f,i);h=I(c,h);d=d+1|0;if((o|0)!=(d|0)){continue}break}}d=(h|0)>(m|0);if(!(!d&(f|0)>(m|0))){c=(d?-1:1)+c|0;continue}break};f=c;d=C[g+24>>2];break o;case 1:break p;default:break o}}f=I(C[g>>2],c)}if((C[e+16>>2]-(C[e>>2]+((C[e+4>>2]+7|0)/8|0)|0)|0)>3){break j}d=kf(f<<2);C[g+32>>2]=d;if((f|0)>0){c=0;while(1){h=Ye(e,C[g+24>>2]);d=C[g+32>>2];C[d+(c<<2)>>2]=h;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!f|C[((f<<2)+d|0)-4>>2]!=-1){break i}}Kl(g);g=0}C[((b<<2)+k|0)+1824>>2]=g;if(!g){break h}b=b+1|0;if((b|0)>2]){continue}break}b=0;c=Ye(e,6);if((c|0)<0){break h}while(1){if(Ye(e,16)){break h}d=(b|0)==(c|0);b=b+1|0;if(!d){continue}break}c=Ye(e,6);C[k+16>>2]=c+1;b=0;if((c|0)<0){break h}while(1){d=(b<<2)+k|0;c=Ye(e,16);C[d+800>>2]=c;if(c>>>0>1){break h}c=Fe[C[C[(c<<2)+60612>>2]+4>>2]](a,e)|0;C[d+1056>>2]=c;if(!c){break h}b=b+1|0;if((b|0)>2]){continue}break}c=Ye(e,6);C[k+20>>2]=c+1;b=0;if((c|0)<0){break h}while(1){d=(b<<2)+k|0;c=Ye(e,16);C[d+1312>>2]=c;if(c>>>0>2){break h}c=Fe[C[C[(c<<2)+60620>>2]+4>>2]](a,e)|0;C[d+1568>>2]=c;if(!c){break h}b=b+1|0;if((b|0)>2]){continue}break}c=Ye(e,6);C[k+12>>2]=c+1;b=0;if((c|0)<0){break h}while(1){c=(b<<2)+k|0;d=Ye(e,16);C[c+288>>2]=d;if(d){break h}d=c;c=Fe[C[C[15158]+4>>2]](a,e)|0;C[d+544>>2]=c;if(!c){break h}b=b+1|0;if((b|0)>2]){continue}break}b=Ye(e,6);C[k+8>>2]=b+1;f=0;if((b|0)<0){break h}while(1){b=(f<<2)+k|0;r=b,s=df(1,16),C[r+32>>2]=s;c=Ye(e,1);C[C[b+32>>2]>>2]=c;c=Ye(e,16);C[C[b+32>>2]+4>>2]=c;c=Ye(e,16);C[C[b+32>>2]+8>>2]=c;c=Ye(e,8);b=C[b+32>>2];C[b+12>>2]=c;if(C[b+4>>2]>0|C[b+8>>2]>0|((c|0)<0|(c|0)>=C[k+12>>2])){break h}f=f+1|0;if((f|0)>2]){continue}break}d=0;if((Ye(e,1)|0)==1){break g}}kl(a);d=-133}}Ce=j+32|0;return d}function Gr(a,b,c,d,e){var 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,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;t=Ce-32|0;Ce=t;i=C[a+4>>2];k=C[i>>2];a:{if((k|0)!=C[C[c+4>>2]>>2]){u=Qe(8008,0);break a}if(!(!e|D[i+9|0]==4&(k|0)!=372711428)){u=Qe(5016,0);break a}b:{if(b){i=C[b>>2];c:{if((i|0)<0){break c}k=C[b+4>>2];if((k|0)<0){break c}f=C[b+8>>2];if(C[a+8>>2]<(i+f|0)){break c}h=C[b+12>>2];if(C[a+12>>2]>=(k+h|0)){break b}}u=Qe(17567,0);break a}C[t+16>>2]=0;C[t+20>>2]=0;f=C[a+8>>2];C[t+24>>2]=f;h=C[a+12>>2];C[t+28>>2]=h;b=t+16|0}d:{if(d){k=C[d>>2];e:{if((k|0)<0){break e}m=C[d+4>>2];if((m|0)<0){break e}i=C[d+8>>2];if(C[c+8>>2]<(k+i|0)){break e}k=C[d+12>>2];if(C[c+12>>2]>=(m+k|0)){break d}}u=Qe(17532,0);break a}C[t>>2]=0;C[t+4>>2]=0;i=C[c+8>>2];C[t+8>>2]=i;k=C[c+12>>2];C[t+12>>2]=k;d=t}if((i|0)<=0|(k|0)<=0){break a}f:{if(!((f|0)>65535|(h|0)>65535|i>>>0>65535)){if(k>>>0<65536){break f}}u=Qe(15335,0);break a}g:{z=C[c>>2]&2;if(!z){break g}if((mh(c)|0)>=0){break g}u=Qe(19332,0);break a}h:{F=C[a>>2]&2;if(!F){break h}if((mh(a)|0)>=0){break h}if(z){Yg(c)}u=Qe(19460,0);break a}i:{if(!e){h=0;i=D[C[c+4>>2]+9|0];e=C[c+16>>2];f=(C[c+20>>2]+I(i,C[d>>2])|0)+I(e,C[d+4>>2])|0;o=C[a+16>>2];p=(C[a+20>>2]+I(i,C[b>>2])|0)+I(o,C[b+4>>2])|0;l=C[d+12>>2];d=C[d+8>>2];m=C[b+12>>2];b=C[b+8>>2];j:{k:{switch(i-2|0){case 2:if((l|0)<=0){break j}r=e-(d<<2)|0;n=d&3;g=(b<<16)/(d|0)|0;i=g>>>1|0;q=(m<<16)/(l|0)|0;h=q>>>1|0;k=0;s=d-1>>>0<3;while(1){l:{if(!d){break l}j=p+I(o,h>>>16|0)|0;m=0;e=d;b=i;if(n){while(1){C[f>>2]=C[j+(b>>>14&262140)>>2];f=f+4|0;b=b+g|0;e=e-1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(s){break l}while(1){C[f>>2]=C[j+(b>>>14&262140)>>2];b=b+g|0;C[f+4>>2]=C[j+(b>>>14&262140)>>2];b=b+g|0;C[f+8>>2]=C[j+(b>>>14&262140)>>2];b=b+g|0;C[f+12>>2]=C[j+(b>>>14&262140)>>2];f=f+16|0;b=b+g|0;e=e-4|0;if(e){continue}break}}h=h+q|0;f=f+r|0;k=k+1|0;if((l|0)!=(k|0)){continue}break};break j;case 1:if((l|0)<=0){break j}q=e+I(d,-3)|0;k=d-1|0;s=d&1;v=(m<<16)/(l|0)|0;j=v>>>1|0;g=(b<<16)/(d|0)|0;i=g>>>1|0;m=g+i|0;w=I(g>>>17|0,3);while(1){m:{if(!d){break m}n=p+I(o,j>>>16|0)|0;n:{if(!s){e=d;b=i;break n}b=n+w|0;A[f|0]=D[b|0];A[f+1|0]=D[b+1|0];A[f+2|0]=D[b+2|0];f=f+3|0;e=k;b=m}if((d|0)==1){break m}while(1){r=n+I(b>>>16|0,3)|0;A[f|0]=D[r|0];A[f+1|0]=D[r+1|0];A[f+2|0]=D[r+2|0];r=b+g|0;b=n+I(r>>>16|0,3)|0;A[f+3|0]=D[b|0];A[f+4|0]=D[b+1|0];A[f+5|0]=D[b+2|0];f=f+6|0;b=g+r|0;e=e-2|0;if(e){continue}break}}j=j+v|0;f=f+q|0;h=h+1|0;if((l|0)!=(h|0)){continue}break};break j;case 0:if((l|0)<=0){break j}r=e-(d<<1)|0;n=d&3;g=(b<<16)/(d|0)|0;i=g>>>1|0;q=(m<<16)/(l|0)|0;h=q>>>1|0;k=0;s=d>>>0<4;while(1){o:{if(!d){break o}j=p+I(o,h>>>16|0)|0;m=0;e=d;b=i;if(n){while(1){B[f>>1]=E[j+(b>>>15&131070)>>1];f=f+2|0;b=b+g|0;e=e-1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(s){break o}while(1){B[f>>1]=E[j+(b>>>15&131070)>>1];b=b+g|0;B[f+2>>1]=E[j+(b>>>15&131070)>>1];b=b+g|0;B[f+4>>1]=E[j+(b>>>15&131070)>>1];b=b+g|0;B[f+6>>1]=E[j+(b>>>15&131070)>>1];f=f+8|0;b=b+g|0;e=e-4|0;if(e){continue}break}}h=h+q|0;f=f+r|0;k=k+1|0;if((l|0)!=(k|0)){continue}break};break j;default:break k}}if((l|0)<=0){break j}r=e-d|0;n=d&3;g=(b<<16)/(d|0)|0;i=g>>>1|0;q=(m<<16)/(l|0)|0;h=q>>>1|0;k=0;s=d>>>0<4;while(1){p:{if(!d){break p}j=p+I(o,h>>>16|0)|0;m=0;e=d;b=i;if(n){while(1){A[f|0]=D[j+(b>>>16|0)|0];f=f+1|0;b=b+g|0;e=e-1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(s){break p}while(1){A[f|0]=D[j+(b>>>16|0)|0];b=b+g|0;A[f+1|0]=D[j+(b>>>16|0)|0];b=b+g|0;A[f+2|0]=D[j+(b>>>16|0)|0];b=b+g|0;A[f+3|0]=D[j+(b>>>16|0)|0];f=f+4|0;b=b+g|0;e=e-4|0;if(e){continue}break}}h=h+q|0;f=f+r|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}break i}f=Ce-32|0;Ce=f;h=C[d+4>>2];g=C[d>>2];j=C[c+20>>2];i=C[c+16>>2];k=C[a+20>>2];m=C[b>>2];v=C[a+16>>2];o=C[b+4>>2];l=C[b+8>>2];e=C[d+8>>2];b=C[b+12>>2];w=C[d+12>>2];Fr(b,w,f+28|0,f+24|0,f+20|0,f+16|0);Fr(l,e,f+12|0,f+8|0,f+4|0,f);if((w|0)>0){J=(k+(m<<2)|0)+I(o,v)|0;K=i-(e<<2)|0;k=e;d=C[f+4>>2];e=C[f>>2];k=k-(d+e|0)|0;G=C[f+8>>2];m=C[f+12>>2]+I(d,G)|0;h=(j+(g<<2)|0)+I(h,i)|0;L=b-1|0;H=(l<<2)-8|0;M=C[f+24>>2];N=C[f+20>>2];r=C[f+28>>2];while(1){b=(w+(C[f+16>>2]^-1)|0)<(y|0);i=(y|0)<(N|0);j=I(v,i?0:b?L:r>>>16|0)+J|0;b=b|i;n=j+(b?0:v)|0;l=b?0:r>>>9&127;g=128-l|0;b=d;if(b){while(1){i=D[n|0];o=D[j|0];p=D[n+1|0];q=D[j+1|0];s=D[n+2|0];x=D[j+2|0];A[h+3|0]=I(l,D[n+3|0])+I(g,D[j+3|0])>>>7;A[h+2|0]=I(l,s)+I(g,x)>>>7;A[h+1|0]=I(l,p)+I(g,q)>>>7;A[h|0]=I(i,l)+I(g,o)>>>7;h=h+4|0;b=b-1|0;if(b){continue}break}}b=m;i=k;if(i){while(1){p=b>>>14&262140;o=p+n|0;x=D[o+4|0];p=j+p|0;O=D[p+4|0];P=D[o|0];Q=D[p|0];R=D[o+5|0];S=D[p+5|0];T=D[o+1|0];U=D[p+1|0];V=D[o+6|0];W=D[p+6|0];X=D[o+2|0];Y=D[p+2|0];q=b>>>9&127;s=128-q|0;A[h+3|0]=I(q,I(l,D[o+7|0])+I(g,D[p+7|0])>>>7&255)+I(s,I(l,D[o+3|0])+I(g,D[p+3|0])>>>7&255)>>>7;A[h+2|0]=I(q,I(l,V)+I(g,W)>>>7&255)+I(s,I(l,X)+I(g,Y)>>>7&255)>>>7;A[h+1|0]=I(q,I(l,R)+I(g,S)>>>7&255)+I(s,I(l,T)+I(g,U)>>>7&255)>>>7;A[h|0]=I(q,I(l,x)+I(g,O)>>>7&255)+I(s,I(l,P)+I(g,Q)>>>7&255)>>>7;h=h+4|0;b=b+G|0;i=i-1|0;if(i){continue}break}}if(e){i=n+H|0;j=j+H|0;b=e;while(1){o=D[i+4|0];p=D[j+4|0];n=D[i+5|0];q=D[j+5|0];s=D[i+6|0];x=D[j+6|0];A[h+3|0]=I(l,D[i+7|0])+I(g,D[j+7|0])>>>7;A[h+2|0]=I(l,s)+I(g,x)>>>7;A[h+1|0]=I(l,n)+I(g,q)>>>7;A[h|0]=I(l,o)+I(g,p)>>>7;h=h+4|0;b=b-1|0;if(b){continue}break}}r=r+M|0;h=h+K|0;y=y+1|0;if((w|0)!=(y|0)){continue}break}}Ce=f+32|0}if(z){Yg(c)}if(!F){break a}Yg(a)}Ce=t+32|0;return u}function yJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ce-144|0;Ce=f;j=C[b+100>>2];g=C[b+104>>2];C[b+132>>2]=0;d=bf(g,0);C[f+140>>2]=d;a:{b:{c:{if(d){break c}d=Ef(g,359728,f+136|0);if(d){break c}C[f+140>>2]=2;d:{e:{if(E[f+136>>1]!=23117){break e}d=bf(g,E[f+138>>1]);C[f+140>>2]=d;if(d){break d}d=Ef(g,359760,f+130|0);C[f+140>>2]=d;if(d){break d}d=2;C[f+140>>2]=2;f:{g:{h:{i:{switch(E[f+130>>1]-17742|0){case 0:d=bf(g,E[f+132>>1]+E[f+138>>1]|0);C[f+140>>2]=d;if(d){break d}d=Bf(g,E[f+134>>1]-E[f+132>>1]|0);C[f+140>>2]=d;if(d){break d}i=vh(g);h=vh(g);j:{if(h){while(1){d=vh(g);e=((C[g+8>>2]+C[g+32>>2]|0)-C[g+36>>2]|0)+4|0;if((h&65535)==32776){break j}C[g+32>>2]=(C[g+32>>2]+I(d,12)|0)+4;h=vh(g);if(h){continue}break}}d=0;e=0}xf(g);if(!(e?d:0)){C[f+140>>2]=3;break d}if(F[g+4>>2]>>0){C[f+140>>2]=3;break d}C[b>>2]=d;if((c|0)>=(d|0)){C[f+140>>2]=6;break d}if((c|0)<0){break d}o=b,p=hf(j,172,f+140|0),C[o+132>>2]=p;if(C[f+140>>2]){break d}d=bf(g,e+I(c,12)|0);C[f+140>>2]=d;if(d){break e}d=Bf(g,12);C[f+140>>2]=d;if(d){break e}d=vh(g);C[C[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=C[g+32>>2]+8;xf(g);d=so(C[b+132>>2],g);C[f+140>>2]=d;break h;case 2:break i;default:break h}}d=bf(g,E[f+138>>1]);C[f+140>>2]=d;if(d){break d}d=Ef(g,359792,f+108|0);C[f+140>>2]=d;if(d){break d}k:{if(!(C[f+108>>2]!=17744|E[f+112>>1]!=332|E[f+116>>1]!=224)){if(E[f+118>>1]==267){break k}}C[f+140>>2]=3;break d}d=0;C[b>>2]=0;if(!E[f+114>>1]){break g}while(1){e=Ef(g,359856,f+88|0);C[f+140>>2]=e;if(e){break d}if(C[f+120>>2]!=C[f+96>>2]){d=d+1|0;if(E[f+114>>1]<=(d&65535)>>>0){break g}continue}break}d=bf(g,C[f+104>>2]);C[f+140>>2]=d;if(d){break d}d=Ef(g,359888,f+72|0);C[f+140>>2]=d;if(d){break d}if(E[f+86>>1]!=(0-E[f+84>>1]|0)){k=C[f+104>>2];l=k+16|0;d=0;while(1){d=bf(g,(d<<3)+l|0);C[f+140>>2]=d;if(d){break d}d=Ef(g,359920,f+32|0);C[f+140>>2]=d;if(d){break d}d=C[f+36>>2];if((d|0)>=0){C[f+140>>2]=3;break d}d=d&2147483647;C[f+36>>2]=d;d=d+C[f+104>>2]|0;e=bf(g,d);C[f+140>>2]=e;if(e){break d}e=Ef(g,359888,f+56|0);C[f+140>>2]=e;if(e){break d}if(E[f+70>>1]!=(0-E[f+68>>1]|0)){m=d+16|0;d=0;e=0;while(1){d=bf(g,(d<<3)+m|0);C[f+140>>2]=d;if(d){break d}d=Ef(g,359920,f+24|0);C[f+140>>2]=d;if(d){break d}d=C[f+28>>2];if((d|0)>=0){C[f+140>>2]=3;break d}d=d&2147483647;C[f+28>>2]=d;d=d+C[f+104>>2]|0;h=bf(g,d);C[f+140>>2]=h;if(h){break d}h=Ef(g,359888,f+40|0);C[f+140>>2]=h;if(h){break d}if(E[f+54>>1]!=(0-E[f+52>>1]|0)){n=d+16|0;d=0;h=0;while(1){d=bf(g,(d<<3)+n|0);C[f+140>>2]=d;if(d){break d}d=Ef(g,359920,f+16|0);C[f+140>>2]=d;if(d){break d}if(C[f+28>>2]<0){C[f+140>>2]=3;break d}if(C[f+32>>2]==8){d=bf(g,C[f+20>>2]+k|0);C[f+140>>2]=d;if(d){break d}d=Ef(g,359936,f);C[f+140>>2]=d;if(d){break d}d=C[b>>2];if((d|0)==(c|0)){d=hf(j,172,f+140|0);C[b+132>>2]=d;if(C[f+140>>2]){break d}C[d>>2]=(C[f>>2]+C[f+104>>2]|0)-C[f+96>>2];C[d+164>>2]=C[f+4>>2];d=so(d,g);C[f+140>>2]=d;if(d){break e}d=C[b>>2]}C[b>>2]=d+1}h=h+1|0;d=h&65535;if(d>>>0>1]+E[f+52>>1]>>>0){continue}break}}e=e+1|0;d=e&65535;if(d>>>0>1]+E[f+68>>1]>>>0){continue}break}}i=i+1|0;d=i&65535;if(d>>>0>1]+E[f+84>>1]>>>0){continue}break}}d=0}e=C[b>>2];if(!e){C[f+140>>2]=3;break d}if((c|0)<(e|0)){break f}C[f+140>>2]=6;break d}C[f+140>>2]=3;break d}if(!d){break d}}d=C[b+132>>2];if(!d){break d}e=C[b+100>>2];if(C[d+160>>2]){Wf(C[b+104>>2],d+160|0)}g=C[d+168>>2];if(g){Fe[C[e+8>>2]](e,g)}C[d+168>>2]=0;if(d){Fe[C[e+8>>2]](e,d)}C[b+132>>2]=0}d=C[f+140>>2];C[f+88>>2]=d;i=c>>>31|0;h=!d;if((c|0)>=0){break b}e=0;if(!d){break a}break b}C[f+88>>2]=d;i=c>>>31|0}l:{m:{n:{if((d&255)==2){d=hf(j,172,f+88|0);C[b+132>>2]=d;e=C[f+88>>2];if(e){break a}C[b>>2]=1;C[d>>2]=0;C[d+164>>2]=C[a+4>>2];a=so(d,a);C[f+88>>2]=a;if(a){break l}if((c|0)>0){C[f+88>>2]=6;break l}e=0;if(!i){break n}break a}if(!h){break m}}C[b+4>>2]=c;c=C[b+8>>2];C[b+8>>2]=c|18;a=C[b+132>>2];if(E[a+100>>1]==E[a+102>>1]){C[b+8>>2]=c|22}if(D[a+86|0]){C[b+12>>2]=C[b+12>>2]|1}if(E[a+90>>1]>=800){C[b+12>>2]=C[b+12>>2]|2}c=Ve(j,16,0,1,0,f+88|0);C[b+32>>2]=c;if(C[f+88>>2]){break l}C[b+28>>2]=1;B[c+2>>1]=E[a+100>>1];B[c>>1]=E[a+84>>1]+E[a+96>>1];e=E[a+74>>1]<<6;C[c+4>>2]=e;d=E[a+78>>1];g=e;e=E[a+76>>1];e=e?e:72;g=of(g,e,72)+32&-64;C[c+12>>2]=g;i=d?d:72;d=E[a+96>>1]<<6;o:{if((d|0)>=(g|0)){h=C[c+4>>2];break o}C[c+12>>2]=d;h=of(d,72,e);C[c+4>>2]=h}o=c,p=of(h,i,72)+32&-64,C[o+8>>2]=p;C[f+108>>2]=b;C[f+112>>2]=0;C[f+116>>2]=0;if(D[a+92|0]==77){B[f+116>>1]=1;C[f+112>>2]=1634889070}c=wh(359676,0,f+108|0,0);C[f+88>>2]=c;if(c){break l}if(C[b+36>>2]){C[b+92>>2]=C[C[b+40>>2]>>2]}c=D[a+105|0];d=D[a+104|0];if(c>>>0>>0){C[f+88>>2]=3;break l}C[b+16>>2]=(c-d|0)+2;c=C[a+8>>2];d=C[a+116>>2];if(c>>>0<=d>>>0){C[f+88>>2]=3;break l}c=c-d|0;d=hf(j,c+1|0,f+88|0);C[a+168>>2]=d;if(C[f+88>>2]){break l}t(d,C[a+160>>2]+C[a+116>>2]|0,c);A[c+C[a+168>>2]|0]=0;d=a;a=C[a+168>>2];a=Ve(j,1,c,af(a)+1|0,a,f+88|0);C[d+168>>2]=a;if(C[f+88>>2]){break l}C[b+24>>2]=11228;C[b+20>>2]=a;c=C[b+12>>2];a=c&1;if(c&2){if(a){C[b+24>>2]=21648;e=0;break a}C[b+24>>2]=19740;e=0;break a}e=0;if(!a){break a}C[b+24>>2]=21653;break a}e=d;if(!b){break a}}a=C[b+100>>2];c=C[b+132>>2];if(c){if(C[c+160>>2]){Wf(C[b+104>>2],c+160|0)}d=C[c+168>>2];if(d){Fe[C[a+8>>2]](a,d)}C[c+168>>2]=0;if(c){Fe[C[a+8>>2]](a,c)}C[b+132>>2]=0}c=C[b+32>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+28>>2]=0;C[b+32>>2]=0;e=C[f+88>>2]}Ce=f+144|0;return e|0}function MJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;a=Ce-320|0;Ce=a;C[b>>2]=1;C[b+500>>2]=0;r=Ti(C[b+96>>2],6758);C[b+484>>2]=r;m=si(C[C[b+96>>2]+4>>2],1608);C[b+488>>2]=m;a:{if(!m){f=11;break a}i=C[b+100>>2];p(a+4|0,0,304);t=b,u=hf(i,12,a),C[t+492>>2]=u;b:{if(C[a>>2]){break b}C[b+496>>2]=12;f=C[b+104>>2];Fe[C[C[m+4>>2]>>2]](a+4|0,0,0,i);A[a+88|0]=0;C[a+80>>2]=0;C[a+84>>2]=0;C[a+76>>2]=f;g=bf(f,0);C[a+308>>2]=g;c:{d:{if(g){break d}g=Bf(f,17);C[a+308>>2]=g;if(g){break d}if(Hg(C[f+32>>2],3840,17)){g=2;C[a+308>>2]=2;xf(f);break d}xf(f);g=bf(f,0);C[a+308>>2]=g;if(g){break d}h=C[f+4>>2];e:{if(!C[f+20>>2]){g=C[f+8>>2];j=C[f>>2];A[a+88|0]=1;C[a+84>>2]=h;C[a+80>>2]=g+j;g=lg(f,h);C[a+308>>2]=g;if(g){break d}h=C[a+84>>2];break e}j=hf(i,h,a+308|0);C[a+80>>2]=j;g=C[a+308>>2];if(g){break d}g=jg(f,j,h);C[a+308>>2]=g;if(g){break d}C[a+84>>2]=h}g=C[a+80>>2];C[a+8>>2]=g;C[a>>2]=0;break c}if(D[a+88|0]){C[a>>2]=g;break b}f=C[a+80>>2];if(f){Fe[C[i+8>>2]](i,f)}g=0;C[a+80>>2]=0;f=C[a+308>>2];C[a>>2]=f;if(f){break b}h=C[a+84>>2]}C[a+16>>2]=0;C[a+4>>2]=g;h=g+h|0;C[a+12>>2]=h;Fe[C[a+32>>2]](a+4|0);f:{f=C[a+4>>2];if(h>>>0>f>>>0){n=b+132|0;o=b+164|0;q=b+460|0;while(1){g:{h:{g=D[f|0];if(!((g|0)!=70|h>>>0<=f+25>>>0)){if(cf(f,1076,13)){break h}f=a+4|0;Fe[C[a+36>>2]](f);Fe[C[a+32>>2]](f);g=C[a+4>>2];f=g;i:{if(h>>>0<=f>>>0){break i}while(1){j:{if(!(D[f|0]!=107|h>>>0<=f+5>>>0)){if(!cf(f,11817,5)){break j}}Fe[C[a+36>>2]](a+4|0);f=C[a+16>>2];if(f){break f}Fe[C[a+32>>2]](a+4|0);f=C[a+4>>2];if(h>>>0>f>>>0){continue}break i}break}f=a+4|0;Fe[C[a+36>>2]](f);Fe[C[a+60>>2]](f,a+308|0);g=C[a+316>>2]==3?C[a+4>>2]:g}C[a+4>>2]=g;break g}if((g|0)!=47|h>>>0<=f+2>>>0){break h}g=f+1|0;C[a+4>>2]=g;Fe[C[a+36>>2]](a+4|0);f=C[a+16>>2];if(f){break f}i=C[a+4>>2];if((i|0)==(g|0)){break g}k=i-g|0;if(k>>>0>21){break g}f=0;if(h>>>0<=i>>>0){break g}while(1){k:{i=I(f,36);l=i+358832|0;j=C[l>>2];if(!j|D[g|0]!=D[j|0]){break k}if((af(j)|0)!=(k|0)){break k}if(Hg(g,j,k)){break k}l:{if(f-15>>>0<=3){Fe[C[i+358844>>2]](b,a+4|0);f=C[a+16>>2];break l}f=C[i+358840>>2];m:{n:{switch(C[i+358836>>2]-2|0){case 0:C[a+308>>2]=o;break m;case 3:C[a+308>>2]=q;break m;default:break n}}C[a+308>>2]=n}if(f-9>>>0<=1){f=Fe[C[a+72>>2]](a+4|0,l,a+308|0,0,0)|0;break l}f=Fe[C[a+68>>2]](a+4|0,l,a+308|0,0,0)|0}C[a+16>>2]=f;if(!f){break g}C[a>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}Fe[C[a+36>>2]](a+4|0);f=C[a+16>>2];if(f){break f}}Fe[C[a+32>>2]](a+4|0);f=C[a+4>>2];if(h>>>0>f>>>0){continue}break}}f=C[a+16>>2];C[a>>2]=f;if(f){break b}if(D[b+433|0]!=42){C[a>>2]=2;break b}j=C[a+148>>2];C[b+416>>2]=j;if(!C[a+216>>2]){C[a>>2]=3}h=0;C[a+216>>2]=0;C[b+396>>2]=C[a+204>>2];C[b+424>>2]=C[a+228>>2];C[b+428>>2]=C[a+232>>2];C[b+400>>2]=C[a+152>>2];C[b+420>>2]=C[a+176>>2];C[a+176>>2]=0;C[a+152>>2]=0;if(C[b+368>>2]!=1){break b}i=0;n=C[a+112>>2];if((n|0)>0){g=0;while(1){o=g<<1;B[o+C[b+384>>2]>>1]=0;k=g<<2;C[k+C[b+388>>2]>>2]=15690;q=C[k+C[a+120>>2]>>2];o:{if(!q|(j|0)<=0){break o}s=C[b+420>>2];f=0;while(1){l=C[(f<<2)+s>>2];if(!Se(q,l)){B[o+C[b+384>>2]>>1]=f;C[k+C[b+388>>2]>>2]=l;if(!Se(15690,l)){break o}i=(g|0)<(i|0)?i:g+1|0;h=(g|0)<(h|0)?g:h;break o}f=f+1|0;if((j|0)!=(f|0)){continue}break}}g=g+1|0;if((n|0)!=(g|0)){continue}break}}C[b+380>>2]=i;C[b+376>>2]=h;C[b+372>>2]=C[a+92>>2];break b}C[a>>2]=f}f=C[a+144>>2];if(f){Fe[f|0](a+96|0)}f=C[a+252>>2];if(f){Fe[f|0](a+204|0)}f=C[a+200>>2];if(f){Fe[f|0](a+152|0)}f=C[a+304>>2];if(f){Fe[f|0](a+256|0)}if(!D[a+88|0]){f=C[a+20>>2];g=C[a+80>>2];if(g){Fe[C[f+8>>2]](f,g)}C[a+80>>2]=0}Fe[C[a+28>>2]](a+4|0);f=C[a>>2];if(f|(c|0)<0){break a}f=6;if(c){break a}C[b+36>>2]=0;C[b+4>>2]=0;C[b+24>>2]=11228;C[b+16>>2]=C[b+416>>2];c=C[b+144>>2];C[b+20>>2]=c;C[b+8>>2]=C[b+8>>2]|(D[b+156|0]?533:529)|2048;p:{if(c){f=C[b+140>>2];if(!f){break p}g=D[f|0];if(!g){break p}while(1){h=g&255;g=D[c|0];q:{if((h|0)==(g|0)){f=f+1|0;c=c+1|0;break q}h=h-32|0;if(!(!h|(h|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}C[b+24>>2]=f;break p}f=f+1|0}g=D[f|0];if(g){continue}break}break p}c=C[b+364>>2];if(!c){break p}C[b+20>>2]=c}C[b+28>>2]=0;C[b+32>>2]=0;C[a+4>>2]=9;t=a,u=Dg(C[C[b+96>>2]+4>>2],16802),C[t+24>>2]=u;C[a+8>>2]=C[b+492>>2];C[a+12>>2]=C[b+496>>2];if(d){C[a+32>>2]=e;C[a+28>>2]=d;C[a+4>>2]=25}f=np(C[C[b+96>>2]+4>>2],a+4|0,0,b+500|0);if(f){break a}gw(C[C[b+500>>2]+88>>2]);c=C[b+500>>2];d=C[c+56>>2];C[b+52>>2]=C[c+52>>2];C[b+56>>2]=d;d=C[c+64>>2];C[b+60>>2]=C[c+60>>2];C[b+64>>2]=d;B[b+68>>1]=E[c+68>>1];B[b+70>>1]=E[c+70>>1];B[b+72>>1]=E[c+72>>1];B[b+74>>1]=E[c+74>>1];B[b+76>>1]=E[c+76>>1];B[b+78>>1]=E[c+78>>1];B[b+80>>1]=E[b+158>>1];B[b+82>>1]=E[b+160>>1];d=C[b+152>>2]!=0;C[b+12>>2]=d;if(D[c+12|0]&2){C[b+12>>2]=d|2}if(D[c+8|0]&32){C[b+8>>2]=C[b+8>>2]|32}if(!r){f=0;break a}c=C[m+20>>2];C[a+4>>2]=b;C[a+8>>2]=1970170211;C[a+12>>2]=65539;f=wh(C[c+12>>2],0,a+4|0,0);if((f&255)!=163?f:0){break a}B[a+12>>1]=7;f=0;s:{t:{switch(C[b+368>>2]-1|0){case 1:B[a+14>>1]=0;C[a+8>>2]=1094995778;break s;case 3:B[a+14>>1]=1;C[a+8>>2]=1094992453;c=c+4|0;break s;case 0:B[a+14>>1]=2;C[a+8>>2]=1094992451;c=c+8|0;break s;case 2:break t;default:break a}}c=c+12|0;B[a+14>>1]=3;C[a+8>>2]=1818326065}b=C[c>>2];if(!b){break a}f=wh(b,0,a+4|0,0)}Ce=a+320|0;return f|0}function wn(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Ce-80|0;Ce=h;a:{if(!a){C[h>>2]=19555;Qe(19745,h);break a}if(!b){C[h+16>>2]=5741;Qe(19745,h+16|0);break a}b:{c:{d=C[b+4>>2];if(d){d:{o=C[d>>2];if((o|0)<=0){break d}d=C[d+4>>2];while(1){e=d+(c<<2)|0;if(D[e|0]!=255|D[e+1|0]!=255|D[e+2|0]!=255){break d}c=c+1|0;if((o|0)!=(c|0)){continue}break}break c}if((c|0)==(o|0)){break c}}e=C[a+12>>2];c=C[a+8>>2];d=Jl(D[b+8|0],C[b+12>>2],C[b+16>>2],C[b+20>>2],C[b+24>>2]);if(d){break b}Qe(4953,0);break a}Qe(16282,0);break a}f=Vh(c,e,d);if(!f){f=0;break a}c=C[b+4>>2];e:{if(!c){break e}d=C[C[f+4>>2]+4>>2];if(!d){break e}gf(C[d+4>>2],C[c+4>>2],C[c>>2]<<2);C[C[C[f+4>>2]+4>>2]>>2]=C[C[b+4>>2]>>2]}d=C[a+52>>2];l=D[d+79|0];q=D[d+78|0];p=D[d+77|0];r=D[d+76|0];C[d+76>>2]=-1;s=C[d+68>>2];C[d+68>>2]=s&24576;ag(d);C[h+48>>2]=0;C[h+52>>2]=0;C[h+56>>2]=C[a+8>>2];C[h+60>>2]=C[a+12>>2];d=C[C[a+4>>2]+4>>2];f:{if(!(!d|!C[b+24>>2])){os(d,h- -64|0,h+44|0);d=0;i=C[h+64>>2];g:{if(!i){break g}if(C[h+44>>2]){break g}u=C[a+4>>2];c=C[u+4>>2];j=C[c>>2];d=h-(j+15&-16)|0;Ce=d;if((j|0)<=0){break g}g=C[c+4>>2];c=0;if((j|0)!=1){n=j&-2;while(1){e=c<<2;A[c+d|0]=D[(e+g|0)+3|0];o=C[C[u+4>>2]+4>>2];A[(o+e|0)+3|0]=255;e=c|1;m=e<<2;A[d+e|0]=D[(m+o|0)+3|0];g=C[C[u+4>>2]+4>>2];A[(m+g|0)+3|0]=255;c=c+2|0;t=t+2|0;if((n|0)!=(t|0)){continue}break}}if(!(j&1)){break g}e=c+d|0;c=c<<2;A[e|0]=D[(c+g|0)+3|0];A[(c+C[C[u+4>>2]+4>>2]|0)+3|0]=255}o=!i;break f}d=0;o=0}g=1;i=s&256;h:{if(!i){break h}c=C[C[a+4>>2]+4>>2];if(C[b+4>>2]|!c){break h}c=C[c+4>>2]+(C[C[a+52>>2]+72>>2]<<2)|0;k=D[c+3|0];g=0;A[c+3|0]=0;o=1}c=C[a+52>>2];i:{j:{k:{if(C[c>>2]!=(f|0)){break k}e=C[C[f+4>>2]+4>>2];if(C[c+80>>2]!=C[e+8>>2]?e:0){break k}e=C[C[a+4>>2]+4>>2];if(!e|C[c+84>>2]==C[e+8>>2]){break j}}e=-1;if((Hj(a,f)|0)<0){break i}c=C[a+52>>2]}e=h+48|0;e=Fe[C[c+8>>2]](a,e,f,e)|0}if(!g){A[(C[C[C[a+4>>2]+4>>2]+4>>2]+(C[C[a+52>>2]+72>>2]<<2)|0)+3|0]=k}l:{if(!d|(j|0)<=0){break l}m=C[C[C[a+4>>2]+4>>2]+4>>2];k=0;c=0;if(j>>>0>=4){n=j&-4;t=0;while(1){A[(m+(c<<2)|0)+3|0]=D[c+d|0];g=c|1;A[(m+(g<<2)|0)+3|0]=D[d+g|0];g=c|2;A[(m+(g<<2)|0)+3|0]=D[d+g|0];g=c|3;A[(m+(g<<2)|0)+3|0]=D[d+g|0];c=c+4|0;t=t+4|0;if((n|0)!=(t|0)){continue}break}}g=j&3;if(!g){break l}while(1){A[(m+(c<<2)|0)+3|0]=D[c+d|0];c=c+1|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}}d=C[f+52>>2];A[d+79|0]=l;A[d+78|0]=q;A[d+77|0]=p;A[d+76|0]=r;C[d+68>>2]=s&-28945;d=C[a+52>>2];A[d+79|0]=l;A[d+78|0]=q;A[d+77|0]=p;A[d+76|0]=r;C[d+68>>2]=s;ag(d);if((e|0)<0){Nf(f);f=0;break a}m:{if(!i){break m}g=C[C[a+4>>2]+4>>2];d=0;n:{if(!g){break n}e=C[b+4>>2];if(e){c=C[g>>2];d=0;if((c|0)>C[e>>2]){break n}if(!qg(C[g+4>>2],C[e+4>>2],c<<2)){xl(f,1,C[C[a+52>>2]+72>>2]);break m}d=0;if(C[b+4>>2]){break n}}if(C[b+24>>2]){break m}d=1}C[h+64>>2]=0;c=C[a+4>>2];c=Jl(D[c+8|0],C[c+12>>2],C[c+16>>2],C[c+20>>2],C[c+24>>2]);o:{if(!c){Qe(4953,0);c=0;break o}c=Vh(1,1,c)}e=C[C[a+4>>2]+4>>2];if(e){Er(c,e)}Kj(c,C[C[a+52>>2]+72>>2]);e=C[c+52>>2];C[e+68>>2]=C[e+68>>2]&-257;e=wn(c,b);gf(h- -64|0,C[e+20>>2],D[C[e+4>>2]+9|0]);Nf(c);Nf(e);c=C[C[f+4>>2]+4>>2];e=C[h+64>>2];p:{if(!(!c|e>>>0>2])){C[h+32>>2]=1412;Qe(19745,h+32|0);break p}g=C[f+52>>2];C[g+72>>2]=e;e=C[g+68>>2];c=e|256;C[g+68>>2]=c;if((c|0)==(e|0)){break p}ag(g)}if(d){break m}m=Ce-16|0;Ce=m;q:{if(!(A[C[f+52>>2]+69|0]&1)){break q}d=C[f+4>>2];if(!C[d+24>>2]){break q}d=D[d+9|0];c=C[f+28>>2];r:{if(c){break r}c=0;if(!(D[f|0]&2)){break r}Jj(f,1);C[f>>2]=C[f>>2]|2;c=C[f+28>>2]}r=c+1|0;C[f+28>>2]=r;s:{t:{switch(d-2|0){case 0:k=C[f+12>>2];if(!k){break s}q=E[C[f+4>>2]+24>>1]^65535;l=q&C[C[f+52>>2]+72>>2];e=C[f+8>>2];i=e&3;g=C[f+20>>2];n=C[f+16>>2]/2<<1;j=e>>>0<4;while(1){k=k-1|0;u:{if(!e){break u}p=0;d=e;c=g;if(i){while(1){if((l|0)==(q&E[c>>1])){B[c>>1]=l}d=d-1|0;c=c+2|0;p=p+1|0;if((i|0)!=(p|0)){continue}break}}if(j){break u}while(1){if((l|0)==(q&E[c>>1])){B[c>>1]=l}if((l|0)==(q&E[c+2>>1])){B[c+2>>1]=l}if((l|0)==(q&E[c+4>>1])){B[c+4>>1]=l}d=d-4|0;if((l|0)==(q&E[c+6>>1])){B[c+6>>1]=l}c=c+8|0;if(d){continue}break}}g=g+n|0;if(k){continue}break};break s;case 2:break t;default:break s}}k=C[f+12>>2];if(!k){break s}n=C[C[f+4>>2]+24>>2]^-1;i=n&C[C[f+52>>2]+72>>2];j=C[f+20>>2];while(1){k=k-1|0;e=C[f+8>>2];v:{if(!e){break v}p=0;c=j;d=e;g=d&3;if(g){while(1){if((i|0)==(n&C[c>>2])){C[c>>2]=i}d=d-1|0;c=c+4|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}}if(e>>>0<4){break v}while(1){if((i|0)==(n&C[c>>2])){C[c>>2]=i}if((i|0)==(n&C[c+4>>2])){C[c+4>>2]=i}if((i|0)==(n&C[c+8>>2])){C[c+8>>2]=i}d=d-4|0;if((i|0)==(n&C[c+12>>2])){C[c+12>>2]=i}c=c+16|0;if(d){continue}break}}j=(C[f+16>>2]/4<<2)+j|0;if(k){continue}break}r=C[f+28>>2]}w:{if(!r){break w}C[f+28>>2]=r-1;if((r|0)>1){break w}d=C[f>>2];if(!(d&2)){break w}C[f>>2]=d&-3;Nl(f)}d=C[C[f+4>>2]+4>>2];x:{if(!(!d|C[d>>2])){C[m>>2]=1412;Qe(19745,m);break x}e=C[f+52>>2];d=C[e+68>>2];c=d&-257;C[e+68>>2]=c;if((c|0)==(d|0)){break x}ag(e)}e=C[f+52>>2];d=C[e+68>>2];c=d&-241|16;C[e+68>>2]=c;if((c|0)==(d|0)){break q}ag(e)}Ce=m+16|0}C[h+64>>2]=0;C[h+68>>2]=0;C[h+72>>2]=C[f+8>>2];C[h+76>>2]=C[f+12>>2];yg(a+36|0,h- -64|0,f+36|0);y:{z:{if(C[b+24>>2]?C[C[a+4>>2]+24>>2]:0){break z}if(o){if(C[b+24>>2]|s&2){break z}break y}if(!(s&2)){break y}}d=C[f+52>>2];a=C[d+68>>2];b=a&-241|16;C[d+68>>2]=b;if((a|0)==(b|0)){break y}ag(d)}if(!(s&4096)){break a}d=C[f+52>>2];a=C[d+68>>2];b=a|4096;C[d+68>>2]=b;if((a|0)==(b|0)){break a}ag(d)}Ce=h+80|0;return f}function zs(a,b,c){var d=0,e=J(0),f=J(0),g=J(0),h=0,i=0,j=J(0),k=J(0),l=J(0),m=0,n=J(0),o=J(0),p=J(0),q=J(0),r=J(0),s=J(0),t=J(0),u=J(0),v=J(0),w=J(0),x=J(0),y=J(0),z=J(0),A=J(0),B=J(0),D=J(0),E=J(0),F=J(0),H=J(0),K=J(0),L=J(0),M=J(0),N=J(0),O=J(0),P=J(0),Q=J(0),R=J(0),S=J(0),T=J(0),U=J(0),V=J(0),W=J(0),X=J(0),Y=J(0),Z=J(0),_=J(0),$=J(0),aa=J(0),ba=J(0),ca=0,da=0,ea=0,fa=0,ga=0,ha=J(0),ia=J(0),ja=J(0),ka=J(0),la=J(0),ma=J(0),na=J(0),oa=J(0),pa=J(0),qa=J(0),ra=J(0),sa=J(0),ta=J(0),ua=J(0),va=0,wa=0,xa=0,ya=0;m=C[a+4>>2];a:{if((m|0)<7){break a}d=(c<<2)+b|0;h=((c<<1&-4)+b|0)-32|0;ga=C[a+8>>2];a=ga;while(1){j=G[h+28>>2];i=d-8|0;e=G[i>>2];g=G[h+24>>2];G[i>>2]=e+g;i=d-4|0;f=G[i>>2];G[i>>2]=f+G[h+28>>2];f=J(f-j);e=J(e-g);G[h+24>>2]=J(f*G[a+4>>2])+J(e*G[a>>2]);G[h+28>>2]=J(f*G[a>>2])-J(G[a+4>>2]*e);j=G[h+20>>2];i=d-16|0;e=G[i>>2];g=G[h+16>>2];G[i>>2]=e+g;i=d-12|0;f=G[i>>2];G[i>>2]=f+G[h+20>>2];f=J(f-j);e=J(e-g);G[h+16>>2]=J(f*G[a+20>>2])+J(e*G[a+16>>2]);G[h+20>>2]=J(f*G[a+16>>2])-J(G[a+20>>2]*e);j=G[h+12>>2];i=d-24|0;e=G[i>>2];g=G[h+8>>2];G[i>>2]=e+g;i=d-20|0;f=G[i>>2];G[i>>2]=f+G[h+12>>2];f=J(f-j);e=J(e-g);G[h+8>>2]=J(f*G[a+36>>2])+J(e*G[a+32>>2]);G[h+12>>2]=J(f*G[a+32>>2])-J(G[a+36>>2]*e);j=G[h+4>>2];i=d-32|0;e=G[i>>2];g=G[h>>2];G[i>>2]=e+g;d=d-28|0;f=G[d>>2];G[d>>2]=f+G[h+4>>2];f=J(f-j);e=J(e-g);G[h>>2]=J(f*G[a+52>>2])+J(e*G[a+48>>2]);G[h+4>>2]=J(f*G[a+48>>2])-J(G[a+52>>2]*e);a=a- -64|0;d=i;h=h-32|0;if(h>>>0>=b>>>0){continue}break}if((m|0)<8){break a}va=m-7|0;m=1;while(1){if((m|0)!=31){a=1<>m;ya=ea>>1;ca=0;while(1){fa=(I(ca,ea)<<2)+b|0;a=fa+(ea<<2)|0;h=((ya<<2)+fa|0)-32|0;d=ga;while(1){j=G[h+28>>2];i=a-8|0;e=G[i>>2];g=G[h+24>>2];G[i>>2]=e+g;i=a-4|0;f=G[i>>2];G[i>>2]=f+G[h+28>>2];f=J(f-j);e=J(e-g);G[h+24>>2]=J(f*G[d+4>>2])+J(e*G[d>>2]);G[h+28>>2]=J(f*G[d>>2])-J(G[d+4>>2]*e);j=G[h+20>>2];i=a-16|0;e=G[i>>2];g=G[h+16>>2];G[i>>2]=e+g;i=a-12|0;f=G[i>>2];G[i>>2]=f+G[h+20>>2];f=J(f-j);da=xa<<2;d=da+d|0;e=J(e-g);G[h+16>>2]=J(f*G[d+4>>2])+J(e*G[d>>2]);G[h+20>>2]=J(f*G[d>>2])-J(G[d+4>>2]*e);j=G[h+12>>2];i=a-24|0;e=G[i>>2];g=G[h+8>>2];G[i>>2]=e+g;i=a-20|0;f=G[i>>2];G[i>>2]=f+G[h+12>>2];f=J(f-j);d=d+da|0;e=J(e-g);G[h+8>>2]=J(f*G[d+4>>2])+J(e*G[d>>2]);G[h+12>>2]=J(f*G[d>>2])-J(G[d+4>>2]*e);j=G[h+4>>2];i=a-32|0;e=G[i>>2];g=G[h>>2];G[i>>2]=e+g;a=a-28|0;f=G[a>>2];G[a>>2]=f+G[h+4>>2];f=J(f-j);a=d+da|0;e=J(e-g);G[h>>2]=J(f*G[a+4>>2])+J(e*G[a>>2]);G[h+4>>2]=J(f*G[a>>2])-J(G[a+4>>2]*e);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}}a=(m|0)==(va|0);m=m+1|0;if(!a){continue}break}}a=0;if((c|0)>0){while(1){d=(a<<2)+b|0;e=G[d+60>>2];f=G[d+124>>2];j=G[d+24>>2];g=G[d+88>>2];n=G[d+120>>2];s=G[d+56>>2];k=J(n-s);t=G[d+28>>2];o=G[d+92>>2];u=J(t-o);p=J(k+u);F=G[d+104>>2];H=G[d+40>>2];q=J(F-H);K=G[d+108>>2];v=G[d+44>>2];r=J(K-v);L=J(J(q-r)*J(.7071067690849304));M=G[d+8>>2];N=G[d+72>>2];l=J(M-N);w=G[d+12>>2];O=G[d+76>>2];x=J(w-O);P=J(J(l+x)*J(.7071067690849304));y=J(L+P);Q=J(p+y);z=G[d+112>>2];R=G[d+48>>2];A=J(z-R);S=G[d+116>>2];T=G[d+52>>2];B=J(S-T);ha=J(J(A*J(.9238795042037964))+J(B*J(-.3826834261417389)));U=G[d+20>>2];V=G[d+84>>2];W=J(U-V);X=G[d+16>>2];Y=G[d+80>>2];Z=J(X-Y);ia=J(J(W*J(.9238795042037964))+J(Z*J(.3826834261417389)));D=J(ha+ia);_=G[d+96>>2];$=G[d+32>>2];E=J(_-$);ja=G[d+100>>2];ka=G[d+36>>2];aa=J(ja-ka);la=J(J(E*J(.3826834261417389))+J(aa*J(-.9238795042037964)));ma=G[d+4>>2];na=G[d+68>>2];oa=J(ma-na);pa=G[d>>2];qa=G[d+64>>2];ra=J(pa-qa);sa=J(J(oa*J(.3826834261417389))+J(ra*J(.9238795042037964)));ta=J(la+sa);ba=J(D+ta);G[d+56>>2]=Q+ba;G[d+48>>2]=Q-ba;Q=J(f-e);ba=J(g-j);ua=J(Q+ba);q=J(J(q+r)*J(.7071067690849304));r=J(J(x-l)*J(.7071067690849304));l=J(q+r);x=J(ua-l);D=J(D-ta);G[d+44>>2]=x+D;p=J(p-y);y=J(J(A*J(.3826834261417389))+J(B*J(.9238795042037964)));A=J(J(W*J(.3826834261417389))+J(Z*J(-.9238795042037964)));B=J(y+A);W=J(J(aa*J(.3826834261417389))+J(E*J(.9238795042037964)));Z=J(J(oa*J(.9238795042037964))+J(ra*J(-.3826834261417389)));E=J(W+Z);aa=J(B-E);G[d+40>>2]=p-aa;G[d+32>>2]=p+aa;p=J(ua+l);l=J(B+E);G[d+60>>2]=p+l;G[d+36>>2]=x-D;n=J(n+s);j=J(g+j);g=J(n-j);s=J(w+O);K=J(K+v);v=J(s-K);w=J(g+v);O=J(z+R);x=J(X+Y);z=J(O-x);R=J(S+T);S=J(U+V);T=J(R-S);B=J(J(z-T)*J(.7071067690849304));U=J(pa+qa);V=J(_+$);X=J(U-V);Y=J(ma+na);D=J(ja+ka);_=J(Y-D);$=J(J(X+_)*J(.7071067690849304));E=J(B+$);G[d+88>>2]=w+E;G[d+52>>2]=p-l;G[d+80>>2]=w-E;e=J(f+e);f=J(t+o);t=J(e-f);o=J(F+H);p=J(M+N);F=J(o-p);H=J(t-F);M=J(B-$);G[d+76>>2]=H+M;g=J(g-v);v=J(J(z+T)*J(.7071067690849304));N=J(J(_-X)*J(.7071067690849304));l=J(v-N);G[d+72>>2]=g-l;G[d+64>>2]=g+l;g=J(k-u);k=J(r-q);u=J(g+k);q=J(ha-ia);r=J(y-A);l=J(J(q-r)*J(.7071067690849304));w=J(Z-W);y=J(sa-la);z=J(J(w+y)*J(.7071067690849304));A=J(l+z);G[d+16>>2]=u-A;G[d+24>>2]=u+A;u=J(Q-ba);L=J(L-P);P=J(u-L);l=J(l-z);G[d+12>>2]=P+l;g=J(g-k);k=J(J(q+r)*J(.7071067690849304));q=J(J(w-y)*J(.7071067690849304));r=J(k-q);G[d+8>>2]=g-r;G[d>>2]=g+r;g=J(u+L);k=J(k+q);G[d+28>>2]=g+k;G[d+4>>2]=P-l;G[d+20>>2]=g-k;g=J(t+F);k=J(v+N);G[d+92>>2]=g+k;G[d+68>>2]=H-M;G[d+84>>2]=g-k;j=J(n+j);g=J(o+p);n=J(j+g);k=J(O+x);t=J(V+U);o=J(k+t);G[d+120>>2]=n+o;G[d+112>>2]=n-o;j=J(j-g);g=J(R+S);n=J(D+Y);o=J(g-n);G[d+96>>2]=j+o;G[d+104>>2]=j-o;e=J(e+f);f=J(K+s);j=J(e-f);s=J(k-t);G[d+108>>2]=j+s;G[d+100>>2]=j-s;e=J(e+f);f=J(g+n);G[d+124>>2]=e+f;G[d+116>>2]=e-f;a=a+32|0;if((c|0)>(a|0)){continue}break}}}function gM(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ce-48|0;Ce=h;i=2;a:{b:{c:{switch(C[a+732>>2]-1|0){case 0:case 1:e=C[a+104>>2];d:{if(!(Fe[C[a+508>>2]](a,1128416340,e,h+44|0)|0)){break d}if(!(Fe[C[a+508>>2]](a,1161970772,e,h+44|0)|0)){break d}i=Fe[C[a+508>>2]](a,1650745716,e,h+44|0)|0;if(i){break a}}C[h+4>>2]=e;C[h>>2]=a;i=C[a+84>>2];B[h+16>>1]=0;C[h+12>>2]=g;C[h+8>>2]=i+76;C[h+20>>2]=C[e+8>>2];C[h+24>>2]=C[h+44>>2];g=C[a+724>>2];C[h+36>>2]=g;e=C[a+728>>2];C[h+40>>2]=e+g;i=3;b=I(b,48);if(e>>>0>>0){break a}b=b+g|0;g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);j=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);C[h+28>>2]=j;g=D[b+16|0]|D[b+17|0]<<8|(D[b+18|0]<<16|D[b+19|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);C[h+32>>2]=g;A[h+18|0]=D[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}i=Uu(h,c,0,0);if(i){break a}if(!(d&1048576)){break b}i=0;break a;case 2:break c;default:break a}}B[g>>1]=0;B[g+2>>1]=0;b=C[a+724>>2]+(b<<2)|0;b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);i=Fe[C[a+508>>2]](a,1935829368,e,h)|0;if(i){break a}d=C[e+8>>2];if(F[a+16>>2]>>0){i=6;break a}f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=f+d|0;j=g+4|0;d=0;while(1){b=C[h>>2];if(b>>>0<=f>>>0){i=3;break a}c=c<<2;if(c+12>>>0>b-f>>>0){i=3;break a}i=bf(e,c+j|0);if(i){break a}i=Bf(e,8);if(i){break a}b=vg(e);c=vg(e);xf(e);if((b|0)==(c|0)){i=6;break a}if(b>>>0>c>>>0){i=3;break a}k=c-b|0;if(k>>>0<8){i=3;break a}i=3;if(c>>>0>C[h>>2]-f>>>0){break a}i=bf(e,b+g|0);if(i){break a}i=Bf(e,k);if(i){break a}Ff(e);Ff(e);b=vg(e);if((b|0)!=1685418085){e:{if(!((b|0)==1785751328|(b|0)==1919378028)){i=7;if((b|0)!=1953064550){break e}}i=2}xf(e);break a}if((d|0)==4){i=3;xf(e);break a}c=Ff(e);xf(e);d=d+1|0;if(F[a+16>>2]>=c>>>0){continue}break}i=6;break a}i=0;if(D[f+18|0]!=7){break a}n=C[C[a+84>>2]>>2];if(h){C[h>>2]=0;C[h+4>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0}g=f;l=Ce-16|0;Ce=l;C[l+12>>2]=0;f:{if(!n){d=33;break f}d=6;if(!g|!h){break f}g:{if((D[g+18|0]-1&255)>>>0<=6){f=C[n>>2];A[h+18|0]=2;i=C[h>>2];e=C[g>>2];C[h>>2]=e;C[h+4>>2]=C[g+4>>2];c=C[h+8>>2];b=C[g+4>>2];j=(b|0)>0;mT(b,0,e,0);if(Ee?j:0){break f}j=0-b|0;d=I(b,e);e=c>>31;e=I(i,(e^c)-e|0);if(d>>>0>e>>>0){p=h,q=Rv(f,e,d,C[h+12>>2],l+12|0),C[p+12>>2]=q;d=C[l+12>>2];if(d){break f}c=C[h+8>>2]}C[h+8>>2]=(c|0)<0?j:b;break g}C[l+12>>2]=6}b=C[g+12>>2];f=C[g+8>>2];if((f|0)<0){b=I(1-C[g>>2]|0,f)+b|0}c=C[h+12>>2];k=C[h+8>>2];if((k|0)<0){c=I(1-C[h>>2]|0,k)+c|0}h:{i:{switch(D[g+18|0]-1|0){case 0:B[h+16>>1]=2;k=C[g>>2];if(!k){break h}while(1){e=C[g+4>>2];j:{if(e>>>0<8){f=b;d=c;break j}j=e>>>3|0;d=c;f=b;while(1){e=D[f|0];A[d+7|0]=e&1;A[d|0]=e>>>7;A[d+6|0]=e>>>1&1;A[d+5|0]=e>>>2&1;A[d+4|0]=e>>>3&1;A[d+3|0]=e>>>4&1;A[d+2|0]=e>>>5&1;A[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;j=j-1|0;if(j){continue}break}e=C[g+4>>2]}e=e&7;k:{if(!e){break k}f=D[f|0];A[d|0]=f>>>7;if((e|0)==1){break k}A[d+1|0]=f>>>6&1;if((e|0)==2){break k}A[d+2|0]=f>>>5&1;if((e|0)==3){break k}A[d+3|0]=f>>>4&1;if((e|0)==4){break k}A[d+4|0]=f>>>3&1;if((e|0)==5){break k}A[d+5|0]=f>>>2&1;if((e|0)==6){break k}A[d+6|0]=f>>>1&1}c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;k=k-1|0;if(k){continue}break};break h;case 1:case 4:case 5:f=C[g+4>>2];B[h+16>>1]=256;d=C[g>>2];if(!d){break h}if(d&1){t(c,b,f);c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;e=d-1|0}else{e=d}if((d|0)==1){break h}while(1){t(c,b,f);c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;t(c,b,f);c=c+C[h+8>>2]|0;b=b+C[g+8>>2]|0;e=e-2|0;if(e){continue}break};break h;case 2:B[h+16>>1]=4;k=C[g>>2];if(!k){break h}while(1){f=C[g+4>>2];l:{if(f>>>0<4){e=b;d=c;break l}i=f>>>2|0;j=i;d=c;e=b;if(f&4){d=D[b|0];A[c+3|0]=d&3;A[c|0]=d>>>6;A[c+2|0]=d>>>2&3;A[c+1|0]=d>>>4&3;j=i-1|0;e=b+1|0;d=c+4|0}if((i|0)!=1){while(1){f=D[e|0];A[d+3|0]=f&3;A[d|0]=f>>>6;A[d+2|0]=f>>>2&3;A[d+1|0]=f>>>4&3;f=D[e+1|0];A[d+7|0]=f&3;A[d+4|0]=f>>>6;A[d+6|0]=f>>>2&3;A[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;j=j-2|0;if(j){continue}break}}f=C[g+4>>2]}f=f&3;m:{if(!f){break m}e=D[e|0];A[d|0]=e>>>6;if((f|0)==1){break m}A[d+1|0]=e>>>4&3;if((f|0)==2){break m}A[d+2|0]=e>>>2&3}c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;k=k-1|0;if(k){continue}break};break h;case 3:B[h+16>>1]=16;i=C[g>>2];if(!i){break h}while(1){f=C[g+4>>2];n:{if(f>>>0<2){e=b;d=c;break n}f=f>>>1|0;k=f-1|0;j=0;d=c;e=b;m=f&3;if(m){while(1){o=D[e|0];A[d+1|0]=o&15;A[d|0]=o>>>4;f=f-1|0;d=d+2|0;e=e+1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(k>>>0>=3){while(1){j=D[e|0];A[d+1|0]=j&15;A[d|0]=j>>>4;j=D[e+1|0];A[d+3|0]=j&15;A[d+2|0]=j>>>4;j=D[e+2|0];A[d+5|0]=j&15;A[d+4|0]=j>>>4;j=D[e+3|0];A[d+7|0]=j&15;A[d+6|0]=j>>>4;d=d+8|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=C[g+4>>2]}if(f&1){A[d|0]=D[e|0]>>>4}c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;i=i-1|0;if(i){continue}break};break h;case 6:break i;default:break h}}B[h+16>>1]=256;i=C[g>>2];if(!i){break h}while(1){e=c;d=b;j=C[g+4>>2];if(j){while(1){f=D[d+3|0];if(f){k=D[d+1|0];m=I(I(k,k),46871);k=D[d|0];m=m+I(I(k,k),4732)|0;k=D[d+2|0];f=f-((m+I(I(k,k),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}A[e|0]=f;e=e+1|0;d=d+4|0;j=j-1|0;if(j){continue}break}k=C[h+8>>2];f=C[g+8>>2]}c=c+k|0;b=b+f|0;i=i-1|0;if(i){continue}break}}d=C[l+12>>2]}Ce=l+16|0;i=d;if(d){if(h?n:0){At(n,h)}break a}A[g+18|0]=D[h+18|0];C[g+8>>2]=C[h+8>>2];B[g+16>>1]=E[h+16>>1];ow(C[a+84>>2],C[h+12>>2]);a=C[C[a+84>>2]+156>>2];C[a+4>>2]=C[a+4>>2]|1}Ce=h+48|0;return i|0}function qj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ce-16|0;Ce=j;k=C[a+278664>>2];C[j+8>>2]=0;i=C[a+128>>2];h=C[i+12>>2];g=D[b|0];if(g){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}a:{b:{c:{d:{e:{f:{d=f;f=C[i+4>>2];d=h+((d>>>0)%(f>>>0)<<2)|0;e=C[d>>2];if(e){f=(h+(f<<2)|0)-4|0;while(1){i=C[e>>2];if(D[i|0]==(g|0)){if(!Se(i,b)){break f}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}h=C[a+278688>>2];f=0;if(g){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}i=C[a+278680>>2];d=((f>>>0)%(i>>>0)<<2)+h|0;e=C[d>>2];g:{if(e){f=((i<<2)+h|0)-4|0;while(1){l=C[e>>2];if(D[l|0]==(g|0)){if(!Se(l,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}f=0;C[j+12>>2]=0;if(g){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}d=((f>>>0)%(i>>>0)<<2)+h|0;e=C[d>>2];h:{if(e){f=((i<<2)+h|0)-4|0;while(1){e=C[e>>2];if(D[e|0]==(g|0)){if(!Se(e,b)){break h}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}d=C[a+278672>>2];d=Ve(k,16,d,d+1|0,C[a+278668>>2],j+12|0);C[a+278668>>2]=d;e=C[j+12>>2];if(e){break e}d=d+(C[a+278672>>2]<<4)|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;g=af(b)+1|0;f=Ve(k,1,0,g,0,j+12|0);C[d>>2]=f;e=C[j+12>>2];if(e){break e}t(f,b,g);C[d+4>>2]=1;C[d+8>>2]=0;e=rp(C[d>>2],C[a+278672>>2]+83|0,a+278676|0,k);if(e){break e}C[a+278672>>2]=C[a+278672>>2]+1;h=C[a+278688>>2];g=D[b|0]}C[j+8>>2]=0;f=0;if(g&255){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}d=f;f=C[a+278680>>2];d=((d>>>0)%(f>>>0)<<2)+h|0;e=C[d>>2];if(e){f=((f<<2)+h|0)-4|0;g=g&255;while(1){i=C[e>>2];if((g|0)==D[i|0]){if(!Se(i,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}e=0}d=C[a+76>>2];if((d|0)!=C[a+72>>2]){break b}if(d){break d}d=Ve(k,16,0,1,0,j+8|0);C[a+80>>2]=d;if(!C[j+8>>2]){break c}break a}i:{j:{k:{i=C[a+80>>2];b=C[e+4>>2];a=i+(b<<4)|0;switch(C[a+4>>2]-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}b=C[a+12>>2];if(b){Fe[C[k+8>>2]](k,b)}C[a+12>>2]=0;if(!c|!D[c|0]){break a}o=a,p=qh(k,c,j+8|0),C[o+12>>2]=p;break a}e=0;l:{if(!c){break l}a=D[c|0];if(!a){break l}g=281616;h=10;d=((a|0)==45)+c|0;e=D[d|0];m:{if((e|0)!=48){break m}if((D[d+1|0]|32)!=120){e=48;break m}e=D[d+2|0];g=281584;h=16;d=d+2|0}f=0;c=D[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=D[e+281648|0]+I(f,h)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}e=(a|0)==45?0-f|0:f}C[(i+(b<<4)|0)+12>>2]=e;break a}n:{if(!c){f=0;break n}f=D[c|0];if(!f){break n}g=281616;h=10;o:{if((f|0)!=48){break o}if((D[c+1|0]|32)!=120){f=48;break o}f=D[c+2|0];g=281584;h=16;c=c+2|0}d=c;e=f<<24>>24;a=f&248;f=0;if(!(D[(a>>>3|0)+g|0]>>>(e&7)&1)){break n}while(1){f=D[e+281648|0]+I(f,h)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}C[(i+(b<<4)|0)+12>>2]=f;break a}C[j+8>>2]=e;break a}d=Ve(k,16,d,d+1|0,C[a+80>>2],j+8|0);C[a+80>>2]=d;if(C[j+8>>2]){break a}}d=(C[a+72>>2]<<4)+d|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[a+72>>2]=C[a+72>>2]+1}g=C[a+80>>2];i=C[a+76>>2];l=g+(i<<4)|0;f=l;d=C[e+4>>2];p:{if(d>>>0>=83){d=(C[a+278668>>2]+(d<<4)|0)-1328|0;break p}d=(d<<4)+280240|0}C[f>>2]=C[d>>2];C[l+4>>2]=C[d+4>>2];C[l+8>>2]=C[d+8>>2];q:{r:{s:{switch(C[d+4>>2]-1|0){case 0:C[l+12>>2]=0;if(!c|!D[c|0]){break q}o=l,p=qh(k,c,j+8|0),C[o+12>>2]=p;if(!C[j+8>>2]){break q}break a;case 1:f=0;if(!c){break r}n=D[c|0];if(!n){break r}h=281616;m=10;d=((n|0)==45)+c|0;e=D[d|0];t:{if((e|0)!=48){break t}if((D[d+1|0]|32)!=120){e=48;break t}e=D[d+2|0];h=281584;m=16;d=d+2|0}c=D[((e&248)>>>3|0)+h|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=D[e+281648|0]+I(f,m)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+h|0]>>>(e&7)&1){continue}break}}f=(n|0)==45?0-f|0:f;break r;case 2:break s;default:break q}}if(!c){f=0;break r}f=D[c|0];if(!f){break r}h=281616;m=10;u:{if((f|0)!=48){break u}if((D[c+1|0]|32)!=120){f=48;break u}f=D[c+2|0];h=281584;m=16;c=c+2|0}d=c;e=f<<24>>24;c=f&248;f=0;if(!(D[(c>>>3|0)+h|0]>>>(e&7)&1)){break r}while(1){f=D[e+281648|0]+I(f,m)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+h|0]>>>(e&7)&1){continue}break}}C[((i<<4)+g|0)+12>>2]=f}v:{w:{if(cf(b,23363,7)){break w}switch(D[b+7|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break w}}c=rp(C[l>>2],C[a+76>>2],C[a+128>>2],k);C[j+8>>2]=c;if(c){break a}}C[a+76>>2]=C[a+76>>2]+1;x:{if(cf(b,24774,12)){break x}y:{switch(D[b+12|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}C[a+36>>2]=C[((i<<4)+g|0)+12>>2];break a}z:{if(cf(b,23482,11)){break z}A:{switch(D[b+11|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}C[a+40>>2]=C[((i<<4)+g|0)+12>>2];break a}B:{if(cf(b,23437,12)){break B}C:{switch(D[b+12|0]){case 0:case 9:case 10:case 13:case 32:break C;default:break B}}C[a+44>>2]=C[((i<<4)+g|0)+12>>2];break a}if(cf(b,26314,7)){break a}D:{switch(D[b+7|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break a}}b=C[((i<<4)+g|0)+12>>2];if(!b){C[j+8>>2]=3;break a}E:{switch(D[b|0]-67|0){case 13:case 45:C[a+28>>2]=8;break a;case 10:case 42:C[a+28>>2]=16;break a;case 0:case 32:break E;default:break a}}C[a+28>>2]=32}Ce=j+16|0;return C[j+8>>2]}function lC(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,j=0,k=0,l=0,m=0;g=g^255;a:{b:{switch(c-1|0){case 0:k=C[b+12>>2];if(!k){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];l=c&3;b=(c+3|0)/4|0;i=j-c<<2;c:while(1){k=k-1|0;j=b;d:{e:{switch(l-1|0){default:c=0;break d;case 0:c=3;break d;case 1:c=2;break d;case 2:break e}}c=1}while(1){f:{switch(c|0){case 0:c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;c=1;continue;case 1:c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;c=2;continue;case 2:c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;c=3;continue;default:break f}}c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;c=j-1|0;a=a+4|0;g:{if((j|0)>1){j=c;break g}a=a+i|0;if(k){continue c}break a}c=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=e<<8|d<<16|f;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(e,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;j=e-a<<2;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:C[g>>2]=d;g=g+4|0;a=1;continue;case 1:C[g>>2]=d;g=g+4|0;a=2;continue;case 2:C[g>>2]=d;g=g+4|0;a=3;continue;default:break k}}C[g>>2]=d;a=e-1|0;g=g+4|0;l:{if((e|0)>1){e=a;break l}g=g+j|0;if(c){continue h}break a}a=0;continue}};case 7:k=C[b+12>>2];if(!k){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];l=c&3;b=(c+3|0)/4|0;i=j-c<<2;m:while(1){k=k-1|0;j=b;n:{o:{switch(l-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=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);a=a+4|0;c=1;continue;case 1:c=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);a=a+4|0;c=2;continue;case 2:c=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);a=a+4|0;c=3;continue;default:break p}}c=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);c=j-1|0;a=a+4|0;q:{if((j|0)>1){j=c;break q}a=a+i|0;if(k){continue m}break a}c=0;continue}};case 3:j=C[b+12>>2];if(!j){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];k=a&3;b=(a+3|0)/4|0;l=c-a<<2;r:while(1){j=j-1|0;c=b;s:{t:{switch(k-1|0){default:a=0;break s;case 0:a=3;break s;case 1:a=2;break s;case 2:break t}}a=1}while(1){u:{switch(a|0){case 0:a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;g=g+4|0;a=1;continue;case 1:a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;g=g+4|0;a=2;continue;case 2:a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;g=g+4|0;a=3;continue;default:break u}}a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;a=c-1|0;g=g+4|0;v:{if((c|0)>1){c=a;break v}g=g+l|0;if(j){continue r}break a}a=0;continue}};case 1:break b}}k=C[b+12>>2];if(!k){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];j=a&3;b=(a+3|0)/4|0;l=c-a<<2;w:while(1){k=k-1|0;c=b;x:{y:{switch(j-1|0){default:a=0;break x;case 0:a=3;break x;case 1:a=2;break x;case 2:break y}}a=1}while(1){z:{switch(a|0){case 0:a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);g=g+4|0;a=1;continue;case 1:a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);g=g+4|0;a=2;continue;case 2:a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);g=g+4|0;a=3;continue;default:break z}}a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);a=c-1|0;g=g+4|0;A:{if((c|0)>1){c=a;break A}g=g+l|0;if(k){continue w}break a}a=0;continue}}}return 0}function kG(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=C[c+4>>2];m=C[a+8>>2];a:{if(!(D[c|0]&2)){break a}if((mh(c)|0)>=0){break a}return-1}f=D[j+9|0];h=C[d>>2];n=C[d+4>>2];p=C[c+16>>2];o=C[c+20>>2];d=C[C[a+52>>2]+12>>2]+28|0;k=C[b+4>>2];b:{c:{if(!k){break c}if((f|0)==2){while(1){e=0;while(1){g=d+2|0;e=D[d|0]+e|0;d=D[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)<(m|0)){continue}break}e=(d&2)+d|0;i=0;while(1){g=E[e>>1];l=E[e+2>>1];d=((l<<2)+e|0)+4|0;e=d;i=l+(g+i|0)|0;if((m|0)>(i|0)){continue}break}k=k-1|0;if(k){continue}break c}}k=k<<1;while(1){e=0;while(1){g=d+4|0;e=E[d>>1]+e|0;d=E[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)<(m|0)){continue}break}k=k-1|0;if(k){continue}break}}g=(o+I(n,p)|0)+I(f,h)|0;i=C[b>>2];if(!(!i&C[b+8>>2]==C[a+8>>2])){f:{g:{a=C[c+4>>2];switch(D[a+9|0]-2|0){case 2:break f;case 0:break g;default:break b}}if(!(!(C[a+16>>2]==2016|C[a+12>>2]==2016)&C[a+20>>2]!=2016)){g=g-(i<<1)|0;j=i+C[b+8>>2]|0;k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];h:{if(b){f=i-e|0;d=(f|0)>0;f=b-(d?f:0)|0;d=d?i:e;h=j-d|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){gf((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)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){a=d+4|0;b=E[d>>1]+b|0;e=E[d+2>>1];if(e){f=i-b|0;d=(f|0)>0;f=e-(d?f:0)|0;d=d?i:b;h=j-d|0;h=(f|0)<(h|0)?f:h;if((h|0)>0){n=(d<<1)+g|0;p=a+(d-b<<2)|0;d=0;while(1){f=C[p+(d<<2)>>2];o=n+(d<<1)|0;l=E[o>>1];l=(l<<16|l)&132184095;f=(I((f&132184095)-l|0,f>>>5&31)>>>5|0)+l&132184095;B[o>>1]=f|f>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;a=a+(e<<2)|0}d=a;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break}break b}g=g-(i<<1)|0;j=i+C[b+8>>2]|0;k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];i:{if(b){f=i-e|0;d=(f|0)>0;f=b-(d?f:0)|0;d=d?i:e;h=j-d|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){gf((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break i}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){a=d+4|0;b=E[d>>1]+b|0;e=E[d+2>>1];if(e){f=i-b|0;d=(f|0)>0;f=e-(d?f:0)|0;d=d?i:b;h=j-d|0;h=(f|0)<(h|0)?f:h;if((h|0)>0){n=(d<<1)+g|0;p=a+(d-b<<2)|0;d=0;while(1){f=C[p+(d<<2)>>2];o=n+(d<<1)|0;l=E[o>>1];l=(l<<16|l)&65043487;f=(I((f&65043487)-l|0,f>>>5&31)>>>5|0)+l&65043487;B[o>>1]=f|f>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;a=a+(e<<2)|0}d=a;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break}break b}g=g-(i<<2)|0;k=i+C[b+8>>2]|0;j=C[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=E[d>>1]+e|0;b=E[d+2>>1];j:{if(b){f=i-e|0;d=(f|0)>0;f=b-(d?f:0)|0;d=d?i:e;h=k-d|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){gf((d<<2)+g|0,a+(d-e<<2)|0,f<<2)}e=b+e|0;d=a+(b<<2)|0;break j}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}b=0;while(1){a=d+4|0;b=E[d>>1]+b|0;e=E[d+2>>1];if(e){f=i-b|0;d=(f|0)>0;f=e-(d?f:0)|0;d=d?i:b;h=k-d|0;n=(f|0)<(h|0)?f:h;if((n|0)>0){p=(d<<2)+g|0;o=a+(d-b<<2)|0;d=0;while(1){h=d<<2;l=h+p|0;r=C[l>>2];f=r&16711935;q=l;h=C[h+o>>2];l=h>>>24|0;s=f+(I(l,(h&16711935)-f|0)>>>8|0)&16711935;f=r&65280;C[q>>2]=s|(I((h&65280)-f|0,l)>>>8|0)+f&65280|-16777216;d=d+1|0;if((n|0)!=(d|0)){continue}break}}b=b+e|0;a=a+(e<<2)|0}d=a;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;j=j-1|0;if(j){continue}break}break b}k:{switch(f-2|0){case 0:if(!(!(C[j+16>>2]==2016|C[j+12>>2]==2016)&C[j+20>>2]!=2016)){k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];l:{if(b){d=b<<1;gf((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break l}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=E[d>>1]+b|0;a=E[d+2>>1];if(a){d=(b<<1)+g|0;i=0;while(1){j=C[e>>2];f=E[d>>1];f=(f<<16|f)&132184095;j=(I((j&132184095)-f|0,j>>>5&31)>>>5|0)+f&132184095;B[d>>1]=j>>>16|j;d=d+2|0;e=e+4|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}b=a+b|0}d=e;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break}break b}k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];m:{if(b){d=b<<1;gf((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break m}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=E[d>>1]+b|0;a=E[d+2>>1];if(a){d=(b<<1)+g|0;i=0;while(1){j=C[e>>2];f=E[d>>1];f=(f<<16|f)&65043487;j=(I((j&65043487)-f|0,j>>>5&31)>>>5|0)+f&65043487;B[d>>1]=j>>>16|j;d=d+2|0;e=e+4|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}b=a+b|0}d=e;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break};break b;case 2:break k;default:break b}}i=C[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=E[d>>1]+e|0;b=E[d+2>>1];n:{if(b){d=b<<2;gf((e<<2)+g|0,a,d);e=b+e|0;d=a+d|0;break n}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}b=0;while(1){e=d+4|0;b=E[d>>1]+b|0;a=E[d+2>>1];if(a){d=(b<<2)+g|0;k=0;while(1){j=C[e>>2];f=j>>>24|0;h=C[d>>2];n=h&65280;l=(I(f,(j&65280)-n|0)>>>8|0)+n&65280;q=j&16711935;j=h&16711935;C[d>>2]=l|(I(f,q-j|0)>>>8|0)+j&16711935|-16777216;d=d+4|0;e=e+4|0;k=k+1|0;if((a|0)!=(k|0)){continue}break}b=a+b|0}d=e;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;i=i-1|0;if(i){continue}break}}if(D[c|0]&2){Yg(c)}return 0}function aq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=C[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}g=D[a|0]|D[a+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<2){break a}g=a+4|0;if(g>>>0>d>>>0|d-g>>>0<4){break a}f=f-6|0;C[b+12>>2]=f;if((f|0)<=0){break a}c=1;f=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!g){break a}k=g-1|0;a=a+8|0;f=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<12){return 0}i=C[b+12>>2];d=i-12|0;C[b+12>>2]=d;if((d|0)<=0){return 0}c=C[b+32>>2];d=C[c+12>>2];C[b+4>>2]=d;h=C[c+16>>2];c=h+d|0;C[b+8>>2]=c;b:{c:{d:{e:{if(f>>>0>>0){e=f>>>0>>0?a:0;if(e>>>0>=d>>>0&c>>>0>e>>>0){break e}C[b+4>>2]=0;C[b+8>>2]=0;c=0;break d}if(a>>>0>=d>>>0){break d}break c}C[b+4>>2]=e;j=c-e|0;c=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=e+(c>>>0>j>>>0?j:c)|0;C[b+8>>2]=c}if(a>>>0>c>>>0){break c}j=c-a|0;if(j>>>0<12){break c}e=i-24|0;C[b+12>>2]=e;if((e|0)<=0){break c}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<13|c>>>0>j>>>0){break c}c=e-c|0;C[b+12>>2]=c;if((c|0)<=0){break c}d=1;f:{g:{h:{switch(D[a+7|0]){case 0:d=0;e=a+12|0;if(e>>>0>2]){break f}c=C[b+8>>2];if(c>>>0>>0|c-e>>>0<8){break f}h=C[b+12>>2]-8|0;C[b+12>>2]=h;if((h|0)<=0){break f}e=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>715827881){break f}if(e){i=a+28|0;if(i>>>0>c>>>0){break f}i=c-i|0;c=I(e,6);if(i>>>0>>0){break f}c=h-c|0;C[b+12>>2]=c;if((c|0)<=0){break f}}d=1;break f;case 1:d=0;if(F[b+4>>2]>a>>>0){break f}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break f}c=C[b+12>>2]-32|0;C[b+12>>2]=c;if((c|0)<=0){break f}break g;case 2:d=0;i:{if(F[b+4>>2]>a>>>0){break i}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break i}h=C[b+12>>2];e=h-28|0;C[b+12>>2]=e;if((e|0)<=0){break i}e=a+16|0;if(e>>>0>c>>>0|c-e>>>0<4){break i}c=h-32|0;C[b+12>>2]=c;if((c|0)<=0){break i}c=A[e|0];if((c|0)<0){break i}j:{if(!Oh((D[a+19|0]|(D[a+17|0]<<16|(c&255)<<24|D[a+18|0]<<8))+a|0,b)){break j}c=a+20|0;if(c>>>0>2]){break j}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break j}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break j}d=0;c=A[c|0];if((c|0)<0){break i}if(!Oh((D[a+23|0]|(D[a+21|0]<<16|(c&255)<<24|D[a+22|0]<<8))+a|0,b)){break j}d=1;c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!c){break i}if(F[b+4>>2]>a>>>0){break j}e=C[b+8>>2];if(e>>>0>>0){break j}d=0;if(c>>>0>e-a>>>0){break i}d=C[b+12>>2]-c|0;C[b+12>>2]=d;d=(d|0)>0;break i}d=0}break f;case 4:d=0;if(F[b+4>>2]>a>>>0){break f}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break f}c=C[b+12>>2]-32|0;C[b+12>>2]=c;if((c|0)<=0){break f}break g;case 6:break h;default:break f}}k:{l:{if(F[b+4>>2]>a>>>0){break l}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<36){break l}e=C[b+12>>2];c=e-36|0;C[b+12>>2]=c;if((c|0)<=0){break l}c=a+20|0;d=c>>>0>d>>>0|d-c>>>0<4;m:{n:{if(A[a+15|0]&1){if(d){break l}d=e-40|0;C[b+12>>2]=d;if((d|0)<=0){break l}d=0;c=A[c|0];if((c|0)<0){break l}if(!My((D[a+23|0]|(D[a+21|0]<<16|(c&255)<<24|D[a+22|0]<<8))+a|0,b)){break m}c=a+24|0;if(c>>>0>2]){break m}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break m}e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break m}c=A[c|0];if((c|0)<0){break m}if(!My((D[a+27|0]|(D[a+25|0]<<16|(c&255)<<24|D[a+26|0]<<8))+a|0,b)){break l}d=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!c){break n}if(F[b+4>>2]>a>>>0){break l}e=C[b+8>>2];if(e>>>0>>0){break l}d=0;if(c>>>0>e-a>>>0){break m}c=C[b+12>>2]-c|0;C[b+12>>2]=c;if((c|0)>0){break n}break m}if(d){break l}d=e-40|0;C[b+12>>2]=d;if((d|0)<=0){break l}d=0;c=A[c|0];if((c|0)<0){break l}if(!Oh((D[a+23|0]|(D[a+21|0]<<16|(c&255)<<24|D[a+22|0]<<8))+a|0,b)){break m}c=a+24|0;if(c>>>0>2]){break m}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break m}e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break m}c=A[c|0];if((c|0)<0){break m}if(!Oh((D[a+27|0]|(D[a+25|0]<<16|(c&255)<<24|D[a+26|0]<<8))+a|0,b)){break l}d=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!d){break n}if(F[b+4>>2]>a>>>0){break l}c=C[b+8>>2];if(c>>>0>>0|d>>>0>c-a>>>0){break l}c=C[b+12>>2]-d|0;C[b+12>>2]=c;d=0;if((c|0)<=0){break m}}d=1;c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);if(!(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break m}c=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!c){break m}if(F[b+4>>2]>a>>>0){break l}e=C[b+8>>2];if(e>>>0>>0){break l}d=0;if(c>>>0>e-a>>>0){break m}d=C[b+12>>2]-c|0;C[b+12>>2]=d;d=(d|0)>0}break k}d=0}break f}d=Ty(a+12|0,b)}if(d){break b}a=C[b+32>>2];h=C[a+16>>2];d=C[a+12>>2]}C[b+4>>2]=d;C[b+8>>2]=d+h;return 0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=C[b+32>>2];e=C[d+12>>2];C[b+4>>2]=e;d=C[d+16>>2]+e|0;C[b+8>>2]=d;a=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;c=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return c}function Kt(a,b,c,d,e,f,g){var 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,E=0;j=Ce-80|0;Ce=j;C[j+76>>2]=b;y=j+55|0;s=j+56|0;a:{b:{c:{d:{e:while(1){k=b;if((p^2147483647)<(h|0)){break d}p=h+p|0;f:{g:{h:{h=k;i=D[h|0];if(i){while(1){i:{b=i&255;j:{if(!b){b=h;break j}if((b|0)!=37){break i}i=h;while(1){if(D[i+1|0]!=37){b=i;break j}h=h+1|0;m=D[i+2|0];b=i+2|0;i=b;if((m|0)==37){continue}break}}h=h-k|0;x=p^2147483647;if((h|0)>(x|0)){break d}if(a){Bg(a,k,h)}if(h){continue e}C[j+76>>2]=b;h=b+1|0;q=-1;if(!(D[b+2|0]!=36|A[b+1|0]-48>>>0>=10)){q=A[b+1|0]-48|0;u=1;h=b+3|0}C[j+76>>2]=h;n=0;i=A[h|0];b=i-32|0;k:{if(b>>>0>31){o=h;break k}o=h;b=1<>2]=o;n=b|n;i=A[h+1|0];b=i-32|0;if(b>>>0>=32){break k}h=o;b=1<>>0>=10)){C[((A[o+1|0]<<2)+e|0)-192>>2]=10;i=o+3|0;u=1;b=C[((A[o+1|0]<<3)+d|0)-384>>2];break m}if(u){break h}i=o+1|0;if(!a){C[j+76>>2]=i;u=0;r=0;break l}b=C[c>>2];C[c>>2]=b+4;u=0;b=C[b>>2]}C[j+76>>2]=i;r=b;if((b|0)>=0){break l}r=0-r|0;n=n|8192;break l}r=Jt(j+76|0);if((r|0)<0){break d}i=C[j+76>>2]}h=0;l=-1;n:{if(D[i|0]!=46){b=i;w=0;break n}if(D[i+1|0]==42){o:{if(!(D[i+3|0]!=36|A[i+2|0]-48>>>0>=10)){C[((A[i+2|0]<<2)+e|0)-192>>2]=10;b=i+4|0;l=C[((A[i+2|0]<<3)+d|0)-384>>2];break o}if(u){break h}b=i+2|0;l=0;if(!a){break o}i=C[c>>2];C[c>>2]=i+4;l=C[i>>2]}C[j+76>>2]=b;w=(l^-1)>>>31|0;break n}C[j+76>>2]=i+1;l=Jt(j+76|0);b=C[j+76>>2];w=1}while(1){t=h;o=28;m=b;h=A[b|0];if(h-123>>>0<4294967238){break c}b=m+1|0;h=D[(h+I(t,58)|0)+376543|0];if(h-1>>>0<8){continue}break}C[j+76>>2]=b;p:{q:{if((h|0)!=27){if(!h){break c}if((q|0)>=0){C[(q<<2)+e>>2]=h;i=(q<<3)+d|0;h=C[i+4>>2];C[j+64>>2]=C[i>>2];C[j+68>>2]=h;break q}if(!a){break f}It(j- -64|0,h,c,g);break p}if((q|0)>=0){break c}}h=0;if(!a){continue e}}i=n&-65537;n=n&8192?i:n;q=0;v=1739;o=s;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{h=A[m|0];h=t?(h&15)==3?h&-33:h:h;switch(h-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 g;default:break G}}H:{switch(h-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((h|0)==83){break w}break g}i=C[j+64>>2];m=C[j+68>>2];v=1739;break z}h=0;I:{switch(t&255){case 0:C[C[j+64>>2]>>2]=p;continue e;case 1:C[C[j+64>>2]>>2]=p;continue e;case 2:k=C[j+64>>2];C[k>>2]=p;C[k+4>>2]=p>>31;continue e;case 3:B[C[j+64>>2]>>1]=p;continue e;case 4:A[C[j+64>>2]]=p;continue e;case 6:C[C[j+64>>2]>>2]=p;continue e;case 7:break I;default:continue e}}k=C[j+64>>2];C[k>>2]=p;C[k+4>>2]=p>>31;continue e}l=l>>>0<=8?8:l;n=n|8;h=120}k=s;z=h&32;i=C[j+64>>2];m=C[j+68>>2];if(i|m){while(1){k=k-1|0;A[k|0]=z|D[(i&15)+377072|0];E=!m&i>>>0>15|(m|0)!=0;t=m;m=m>>>4|0;i=(t&15)<<28|i>>>4;if(E){continue}break}}if(!(C[j+64>>2]|C[j+68>>2])|!(n&8)){break y}v=(h>>>4|0)+1739|0;q=2;break y}h=s;k=C[j+68>>2];m=k;i=C[j+64>>2];if(k|i){while(1){h=h-1|0;A[h|0]=i&7|48;t=!m&i>>>0>7|(m|0)!=0;k=m;m=k>>>3|0;i=(k&7)<<29|i>>>3;if(t){continue}break}}k=h;if(!(n&8)){break y}h=s-k|0;l=(h|0)<(l|0)?l:h+1|0;break y}i=C[j+64>>2];h=C[j+68>>2];m=h;if((h|0)<0){k=0-(m+((i|0)!=0)|0)|0;m=k;i=0-i|0;C[j+64>>2]=i;C[j+68>>2]=k;q=1;v=1739;break z}if(n&2048){q=1;v=1740;break z}q=n&1;v=q?1741:1739}k=Xj(i,m,s)}if((l|0)<0?w:0){break d}n=w?n&-65537:n;h=C[j+64>>2];i=C[j+68>>2];if(!(l|(h|i)!=0)){k=s;l=0;break g}h=!(h|i)+(s-k|0)|0;l=(h|0)<(l|0)?l:h;break g}h=C[j+64>>2];k=h?h:32785;h=St(k,l>>>0>=2147483647?2147483647:l);o=h+k|0;if((l|0)>=0){n=i;l=h;break g}n=i;l=h;if(D[o|0]){break d}break g}if(l){i=C[j+64>>2];break u}h=0;Gg(a,32,r,0,n);break t}C[j+12>>2]=0;C[j+8>>2]=C[j+64>>2];i=j+8|0;C[j+64>>2]=i;l=-1}h=0;J:{while(1){k=C[i>>2];if(!k){break J}m=Ft(j+4|0,k);k=(m|0)<0;if(!(k|m>>>0>l-h>>>0)){i=i+4|0;h=h+m|0;if(l>>>0>h>>>0){continue}break J}break}if(k){break b}}o=61;if((h|0)<0){break c}Gg(a,32,r,h,n);if(!h){h=0;break t}o=0;i=C[j+64>>2];while(1){k=C[i>>2];if(!k){break t}k=Ft(j+4|0,k);o=k+o|0;if(o>>>0>h>>>0){break t}Bg(a,j+4|0,k);i=i+4|0;if(h>>>0>o>>>0){continue}break}}Gg(a,32,r,h,n^8192);h=(h|0)<(r|0)?r:h;continue e}if((l|0)<0?w:0){break d}o=61;h=Fe[f|0](a,H[j+64>>3],r,l,n,h)|0;if((h|0)>=0){continue e}break c}A[j+55|0]=C[j+64>>2];l=1;k=y;n=i;break g}i=D[h+1|0];h=h+1|0;continue}}if(a){break a}if(!u){break f}h=1;while(1){a=C[(h<<2)+e>>2];if(a){It((h<<3)+d|0,a,c,g);p=1;h=h+1|0;if((h|0)!=10){continue}break a}break}p=1;if(h>>>0>=10){break a}while(1){if(C[(h<<2)+e>>2]){break h}h=h+1|0;if((h|0)!=10){continue}break}break a}o=28;break c}m=o-k|0;i=(l|0)>(m|0)?l:m;if((i|0)>(q^2147483647)){break d}o=61;l=i+q|0;h=(l|0)<(r|0)?r:l;if((x|0)<(h|0)){break c}Gg(a,32,h,l,n);Bg(a,v,q);Gg(a,48,h,l,n^65536);Gg(a,48,i,m,0);Bg(a,k,m);Gg(a,32,h,l,n^8192);continue}break}p=0;break a}o=61}C[105773]=o}p=-1}Ce=j+80|0;return p}function KL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ce-17824|0;Ce=i;a:{if(!a){a=6;break a}a=20;d=C[b+4>>2];if(!d){break a}e=B[d+2>>1];if(!e){a=0;break a}g=B[d>>1];if((g|0)<=0){a=0;break a}h=C[d+12>>2];if(!h|!C[d+4>>2]|(e|0)!=(B[(h+(g<<1)|0)-2>>1]+1|0)){break a}e=C[b>>2];g=C[b+8>>2];h=g&2;b:{if(!h){if(!e){a=6;break a}j=C[e+4>>2];if(!j){a=0;break a}a=0;k=C[e>>2];if(!k){break a}a=6;if(!C[e+12>>2]){break a}a=19;if(!(g&1)){break a}C[i+17576>>2]=k;C[i+17572>>2]=j;C[i+17564>>2]=0;C[i+17568>>2]=0;break b}a=19;if(!(g&1)){break a}if(g&4){g=C[b+36>>2];a=i+17564|0;C[a>>2]=C[b+32>>2];C[a+4>>2]=g;g=C[b+44>>2];C[a+8>>2]=C[b+40>>2];C[a+12>>2]=g;break b}a=i+17572|0;C[a>>2]=32767;C[a+4>>2]=32767;C[i+17564>>2]=-32768;C[i+17568>>2]=-32768}C[i+17800>>2]=16384;C[i+16584>>2]=0;C[i+16588>>2]=0;C[i+16572>>2]=0;C[i+16576>>2]=0;C[i+17804>>2]=i;C[i+17796>>2]=i;g=C[d+12>>2];a=i+17528|0;C[a>>2]=C[d+8>>2];C[a+4>>2]=g;C[i+17536>>2]=C[d+16>>2];a=C[d+4>>2];C[i+17520>>2]=C[d>>2];C[i+17524>>2]=a;C[i+16592>>2]=0;C[i+16580>>2]=1;C[i+17784>>2]=0;C[i+17788>>2]=128;C[i+17772>>2]=0;c:{if(h){a=C[b+28>>2];b=C[b+12>>2];break c}b=C[e+20>>2];a=i+17556|0;C[a>>2]=C[e+16>>2];C[a+4>>2]=b;b=C[e+12>>2];a=i+17548|0;C[a>>2]=C[e+8>>2];C[a+4>>2]=b;a=C[e+4>>2];C[i+17540>>2]=C[e>>2];C[i+17544>>2]=a;a=i+16384|0;b=1144}C[i+17780>>2]=a;C[i+17776>>2]=b;b=0;a=0;d=0;f=Ce-352|0;Ce=f;c=i+16384|0;e=B[c+1138>>1];d:{if((e|0)<=0){C[c+164>>2]=0;C[c+168>>2]=0;C[c+172>>2]=0;C[c+176>>2]=0;e=0;break d}g=C[c+1140>>2];a=C[g+4>>2];h=C[g>>2];e:{if((e|0)==1){b=a;e=h;break e}k=(e<<3)+g|0;d=g+8|0;b=a;e=h;while(1){j=C[g+12>>2];a=(a|0)<(j|0)?j:a;b=(b|0)>(j|0)?j:b;g=C[g+8>>2];h=(g|0)>(h|0)?g:h;e=(e|0)>(g|0)?g:e;g=d;d=d+8|0;if(k>>>0>d>>>0){continue}break}}b=b>>6;C[c+172>>2]=b;e=e>>6;C[c+164>>2]=e;a=a+63>>6;C[c+176>>2]=a;d=h+63>>6;C[c+168>>2]=d}g=0;h=C[c+1180>>2];f:{if((h|0)>=(d|0)){break f}j=C[c+1188>>2];if((j|0)<=(e|0)){break f}k=C[c+1184>>2];if((k|0)>=(a|0)){break f}l=C[c+1192>>2];if((l|0)<=(b|0)){break f}if((e|0)<(h|0)){C[c+164>>2]=h;e=h}if((b|0)<(k|0)){C[c+172>>2]=k;b=k}if((d|0)>(j|0)){C[c+168>>2]=j;d=j}if((a|0)>(l|0)){C[c+176>>2]=l;a=l}h=a-b|0;C[c+184>>2]=h;C[c+180>>2]=d-e;C[f+20>>2]=(h|0)/C[c+1404>>2];if(!C[f+20>>2]){C[f+20>>2]=1}if(C[f+20>>2]>=39){C[f+20>>2]=39}C[c+1408>>2]=0;C[f+16>>2]=b;C[f+8>>2]=a;C[f+24>>2]=0;if(C[f+24>>2]>=C[f+20>>2]){break f}k=c+1196|0;while(1){C[f+12>>2]=C[f+16>>2]+C[c+1404>>2];if(!(C[f+24>>2]!=(C[f+20>>2]-1|0)&C[f+12>>2]<=C[f+8>>2])){C[f+12>>2]=C[f+8>>2]}C[f+32>>2]=C[f+16>>2];C[f+36>>2]=C[f+12>>2];a=f+32|0;C[f+28>>2]=a;if(a>>>0<=F[f+28>>2]){while(1){a=C[c+1412>>2];C[c+1420>>2]=a;b=C[f+28>>2];e=C[b+4>>2];g=C[b>>2];b=e-g|0;C[c+1424>>2]=b;d=b<<2;h=(d|0)%16|0;d=((h|0)>0?16-h|0:0)+d|0;h=d+a|0;C[c+200>>2]=h;g:{h:{j=d;d=C[c+1416>>2];d=d-((d|0)%16|0)|0;if((j|0)>=(d|0)){break h}a=(a+d|0)-h|0;C[c+204>>2]=a>>4;if((a|0)<32){break h}i:{if((b|0)<=0){break i}a=0;d=0;if(e+(g^-1)>>>0>=3){g=b&-4;h=0;while(1){e=d<<2;C[e+C[c+1420>>2]>>2]=0;C[C[c+1420>>2]+(e|4)>>2]=0;C[C[c+1420>>2]+(e|8)>>2]=0;C[C[c+1420>>2]+(e|12)>>2]=0;d=d+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}b=b&3;if(!b){break i}while(1){C[C[c+1420>>2]+(d<<2)>>2]=0;d=d+1|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}}g=1;C[c+196>>2]=1;C[c+208>>2]=0;C[c+172>>2]=C[C[f+28>>2]>>2];C[c+176>>2]=C[C[f+28>>2]+4>>2];C[c+184>>2]=C[C[f+28>>2]+4>>2]-C[C[f+28>>2]>>2];b=Ce-16|0;Ce=b;a=kf(40);C[a>>2]=0;C[b+12>>2]=0;d=Uj(c,1,a,4);j=De;l=c+1136|0;a=0;while(1){j:{k:{l:{if(!a){C[108230]=0;m=Y(1145,l|0,353116,c|0)|0;a=C[108230];C[108230]=0;e=-1;m:{n:{if(!a){break n}h=C[108231];if(!h){break n}e=Mf(C[a>>2],d,j);if(!e){break m}De=h}a=De;if((e|0)==1){continue}C[b+12>>2]=m;if(C[c+196>>2]){break j}C[108230]=0;T(1146,c|0);a=C[108230];C[108230]=0;e=-1;if(!a){break k}h=C[108231];if(!h){break k}e=Mf(C[a>>2],d,j);if(e){break l}}Re(d);Ji(a,h);s()}C[b+12>>2]=64;break j}De=h}a=De;if((e|0)==1){continue}}break}a=C[b+12>>2];Re(d);Ce=b+16|0;if((a|0)==64){break h}if(a){break f}o:{if(!C[c+208>>2]){break o}b=0;C[c+1388>>2]=0;if(C[c+1424>>2]>0){while(1){a=0;g=0;d=C[C[c+1420>>2]+(b<<2)>>2];p:{if(!d){break p}while(1){e=C[d>>2];if(!(!g|(e|0)<=(a|0))){Lo(c,a,b,g<<9,e-a|0)}g=C[d+4>>2]+g|0;e=g<<9;a=C[d+8>>2];q:{if((e|0)==(a|0)){break q}h=C[d>>2];if((h|0)<0){break q}Lo(c,h,b,e-a|0,1)}a=C[d>>2]+1|0;d=C[d+12>>2];if(d){continue}break}if(!g){break p}Lo(c,a,b,e,C[c+180>>2]-a|0)}b=b+1|0;if((b|0)>2]){continue}break}}a=C[c+1392>>2];if(!a){break o}b=C[c+1388>>2];if((b|0)<=0){break o}Fe[a|0](C[c+1400>>2],b,k,C[c+1396>>2])}C[f+28>>2]=C[f+28>>2]-8;break g}g=1;a=C[f+28>>2];b=C[a+4>>2];a=C[a>>2];e=b-a|0;if(e>>>0<2){break f}if(C[c+1404>>2]<=(a-b|0)){C[c+1408>>2]=C[c+1408>>2]+1}C[C[f+28>>2]+8>>2]=a;a=a+(e>>1)|0;C[C[f+28>>2]+12>>2]=a;C[C[f+28>>2]>>2]=a;C[C[f+28>>2]+4>>2]=b;C[f+28>>2]=C[f+28>>2]+8}if(F[f+28>>2]>=f+32>>>0){continue}break}}C[f+24>>2]=C[f+24>>2]+1;C[f+16>>2]=C[f+12>>2];if(C[f+24>>2]>2]){continue}break}g=0;if(C[c+1408>>2]<9){break f}a=C[c+1404>>2];if((a|0)<17){break f}C[c+1404>>2]=a>>>1}Ce=f+352|0;a=g}Ce=i+17824|0;return a|0}function LG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=J(0),m=0,n=0;a=Ce+-64|0;Ce=a;a:{b:{switch(C[b>>2]-1536|0){case 6:c=C[104761];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)==C[C[c>>2]>>2]){d=0;while(1){i=0;c:{if(!(!c|C[c+12>>2]<=0)){while(1){d:{f=C[c+16>>2];e=f+(i<<5)|0;if(C[e+16>>2]!=1|C[e+20>>2]!=(d|0)){break d}e:{switch(C[e>>2]-1|0){case 1:f=bt(C[c>>2],C[e+4>>2]);g=C[e+12>>2];e=C[e+8>>2];if((g|0)>(e|0)){if((f|0)<(e|0)|(f|0)>(g|0)){break d}e=(f|0)>=(e+((g-e|0)/2|0)|0);break c}if((f|0)<(g|0)|(f|0)>(e|0)){break d}e=(f|0)<=(e+((g-e|0)/2|0)|0);break c;case 0:e=$s(C[c>>2],C[(f+(i<<5)|0)+4>>2]);break c;case 2:break e;default:break d}}f=f+(i<<5)|0;e=(at(C[c>>2],C[f+4>>2])&C[f+8>>2])!=0;break c}i=i+1|0;if((i|0)>2]){continue}break}}e=0}f:{if(!e){break f}C[a+8>>2]=1618;if((d|0)==5){e=Dh();f=C[c>>2];if(((C[c+28>>2]-e|0)+250|0)>0){C[f+120>>2]=1;break f}C[f+120>>2]=0}if((qf(1618,-1)|0)!=1){break f}f=C[C[c>>2]>>2];A[a+21|0]=0;A[a+20|0]=d;C[a+16>>2]=f;Df(a+8|0)}d=d+1|0;if((d|0)!=21){continue}break}g:{if(!Nj(c,0)){break g}if((qf(1616,-1)|0)!=1){break g}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=0;C[a+16>>2]=d;Df(a+8|0)}h:{if(!Nj(c,1)){break h}if((qf(1616,-1)|0)!=1){break h}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=1;C[a+16>>2]=d;Df(a+8|0)}i:{if(!Nj(c,2)){break i}if((qf(1616,-1)|0)!=1){break i}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=2;C[a+16>>2]=d;Df(a+8|0)}j:{if(!Nj(c,3)){break j}if((qf(1616,-1)|0)!=1){break j}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=3;C[a+16>>2]=d;Df(a+8|0)}k:{if(!Nj(c,4)){break k}if((qf(1616,-1)|0)!=1){break k}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=4;C[a+16>>2]=d;Df(a+8|0)}l:{if(!Nj(c,5)){break l}if((qf(1616,-1)|0)!=1){break l}C[a+8>>2]=1616;c=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=5;C[a+16>>2]=c;Df(a+8|0)}C[a+8>>2]=1620;C[a+16>>2]=C[b+8>>2];Df(a+8|0);b=Ce;g=b;c=Oj(0,0,1,1619,1619);m:{if((c|0)<=0){break m}f=I(c,56);n:{if(f>>>0<=127){b=b-(f+15&-16)|0;Ce=b;break n}b=Fe[C[94503]](f>>>0<=1?1:f)|0;if(b){C[94507]=C[94507]+1}if(!b){break m}}d=Oj(b,c,2,1619,1619);if((d|0)>0){c=0;while(1){e=I(c,56)+b|0;i=C[e+8>>2];o:{if((i|0)<(h|0)){break o}if((h|0)==(i|0)){i=e;e=c+1|0;Eh(i,I(e,56)+b|0,I(d-e|0,56));d=d-1|0;c=c-1|0;break o}C[e+8>>2]=i-1}c=c+1|0;if((d|0)>(c|0)){continue}break}}Oj(b,d,0,0,0);if(f>>>0<128){break m}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}Ce=g;break a}h=h+1|0;c=C[c+32>>2];if(c){continue}break};break a;case 5:if(!Rn(C[b+8>>2])){break a}C[a+8>>2]=1619;C[a+16>>2]=C[b+8>>2];Df(a+8|0);break a;case 3:case 4:c=C[104761];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)==C[C[c>>2]>>2]){e=C[c+12>>2];if((e|0)<=0){break a}f=D[b+13|0];h=D[b+12|0];b=C[c+16>>2];d=0;while(1){i=b+(d<<5)|0;if(!(C[i>>2]!=1|(h|0)!=C[i+4>>2])){b=b+(d<<5)|0;if(C[b+16>>2]==2){d=C[(b+20|0)+(f?8:4)>>2];b=C[b+20>>2];if((qf(1616,-1)|0)!=1){break a}C[a+8>>2]=1616;c=C[C[c>>2]>>2];B[a+24>>1]=d;A[a+20|0]=b;C[a+16>>2]=c;Df(a+8|0);break a}gt(c,C[b+20>>2],f);break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}c=C[c+32>>2];if(c){continue}break};break a;case 0:c=C[104761];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)==C[C[c>>2]>>2]){i=D[b+12|0];e=C[C[c+20>>2]+(i<<2)>>2];f=B[b+16>>1];k=C[c+12>>2];p:{if((k|0)>0){h=C[c+16>>2];d=0;while(1){g=d<<5;b=g+h|0;q:{if(C[b>>2]!=2){break q}g=h+g|0;if((i|0)!=C[g+4>>2]){break q}j=C[g+8>>2];g=C[g+12>>2];if((j|0)<(g|0)){if((f|0)<(j|0)|(f|0)>(g|0)){break q}break p}if((f|0)<(g|0)){break q}if((f|0)<=(j|0)){break p}}d=d+1|0;if((k|0)!=(d|0)){continue}break}}b=0}r:{s:{if(e){t:{if(!b){break t}h=C[e+16>>2];if((h|0)!=C[b+16>>2]){break t}if(C[e+20>>2]==C[b+20>>2]){break s}}ft(c,e)}if(!b){break r}h=C[b+16>>2]}d=C[b+8>>2];if((h|0)==2){e=C[b+24>>2];h=C[b+28>>2];g=C[b+12>>2];if(!((e|0)==(d|0)&(h|0)==(g|0))){l=J(J(J(f-d|0)/J(g-d|0))*J(h-e|0));u:{if(J(K(l))>2];if((qf(1616,-1)|0)!=1){break r}C[a+8>>2]=1616;e=C[C[c>>2]>>2];B[a+24>>1]=f;A[a+20|0]=d;C[a+16>>2]=e;Df(a+8|0);break r}e=C[b+12>>2];h=d+((e-d|0)/2|0)|0;gt(c,C[b+20>>2],(d|0)>(e|0)?(h|0)>=(f|0):(f|0)>=(h|0))}C[C[c+20>>2]+(i<<2)>>2]=b;break a}c=C[c+32>>2];if(c){continue}break};break a;case 2:break b;default:break a}}c=C[104761];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)!=C[C[c>>2]>>2]){c=C[c+32>>2];if(c){continue}break a}break}e=D[b+13|0];h=D[b+12|0];if(C[c+12>>2]>0){i=e^D[h+C[c+24>>2]|0];d=0;while(1){b=C[c+16>>2]+(d<<5)|0;v:{if(C[b>>2]!=3|(h|0)!=C[b+4>>2]){break v}f=C[b+8>>2];if(!(f&i)){break v}if(f&e){f=C[b+20>>2];if(C[b+16>>2]==2){b=C[b+28>>2];if((qf(1616,-1)|0)!=1){break v}C[a+8>>2]=1616;g=C[C[c>>2]>>2];B[a+24>>1]=b;A[a+20|0]=f;C[a+16>>2]=g;Df(a+8|0);break v}if((f|0)==-1){break v}C[a+8>>2]=1617;if((f|0)==5){m=c,n=Dh(),C[m+28>>2]=n;if(C[C[c>>2]+120>>2]){break v}}if((qf(1617,-1)|0)!=1){break v}b=C[C[c>>2]>>2];A[a+21|0]=1;A[a+20|0]=f;C[a+16>>2]=b;Df(a+8|0);break v}ft(c,b)}d=d+1|0;if((d|0)>2]){continue}break}}A[h+C[c+24>>2]|0]=e}Ce=a- -64|0;return 1}function kn(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;c=Ce-48|0;Ce=c;C[c+8>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;A[c+24|0]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;d=C[b+32>>2];if((d|0)==-1){d=Rg(b)}A[c+40|0]=1;C[c+36>>2]=d;d=C[b+12>>2];a:{if(d){b=Fe[d|0](b,1668112752,C[b+16>>2])|0;if(b){break a}}b=205712}f=Ce-16|0;Ce=f;d=b;b:{if(!b){break b}e=C[b>>2];if(!e){break b}C[b>>2]=e+1}A[c+24|0]=0;e=b;C[c+32>>2]=b;h=C[b+12>>2];C[c+4>>2]=h;g=C[b+16>>2];C[c+8>>2]=g+h;C[c+28>>2]=0;if(g>>>0>67108862){b=1073741823}else{b=g<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}C[c+12>>2]=b;C[c+20>>2]=0;C[c>>2]=0;c:{d:{if(!h){break d}e:{f:{g:{h:{if((g|0)<4){break h}C[c+12>>2]=b-4;if(D[h|0]|D[h+1|0]<<8){break h}C[f+8>>2]=h;i:{if(gn(h+2|0,c,f+8|0)){break i}if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(!b){break h}while(1){A[c+24|0]=1;e=C[c+32>>2];h=C[e+12>>2];C[c+4>>2]=h;b=C[e+16>>2];C[c+8>>2]=b+h;g=1073741823;C[c+28>>2]=0;if(b>>>0<=67108862){g=b<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[c+12>>2]=g;C[c+20>>2]=0;C[c>>2]=0;if(!h){break d}if((b|0)<=3){break h}C[c+12>>2]=g-4;if(D[h|0]|D[h+1|0]<<8){break h}C[f+8>>2]=h;if(gn(h+2|0,c,f+8|0)){break i}if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(b){continue}break}break h}if(!C[c+28>>2]){break g}C[c+28>>2]=0;if(F[c+4>>2]>h>>>0){break h}b=C[c+8>>2];if(b>>>0>>0|b-h>>>0<=3){break h}b=C[c+12>>2]-4|0;C[c+12>>2]=b;if(D[h|0]|D[h+1|0]<<8|(b|0)<=0){break h}C[f+12>>2]=h;b=gn(h+2|0,c,f+12|0);if(C[c+28>>2]){break h}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if(b){break f}break e}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break e}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);d=205712;break c}Ue(e);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}Ce=f+16|0;C[a+44>>2]=d;h=205712;b=d?d:205712;g=F[b+16>>2]<4?205712:C[b+12>>2];if(c){A[c|0]=0}k=g+4|0;e=205712;f=D[g+2|0]|D[g+3|0]<<8;j:{if(!f){break j}b=((f<<8|f>>>8)&65535)-1|0;while(1){k:{l:{d=b+i>>>1|0;j=k+(d<<3)|0;l=D[j|0]|D[j+1|0]<<8;m=(l<<8|l>>>8)&65535;m:{if(!(m>>>0>3|(l|0)!=768)){if(D[j+2|0]|D[j+3|0]<<8){break m}e=k+(d<<3)|0;break j}if(m>>>0<4){break l}}b=d-1|0;break k}i=d+1|0}if((b|0)>=(i|0)){continue}break}}b=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);n:{if(b){b=b+g|0;if(!c){break n}A[c|0]=1;break n}d=205712;o:{if(!f){break o}e=((f<<8|f>>>8)&65535)-1|0;i=0;while(1){p:{q:{r:{b=e+i>>>1|0;j=k+(b<<3)|0;l=D[j|0]|D[j+1|0]<<8;m=(l<<8|l>>>8)&65535;s:{if(!(m>>>0>3|(l|0)!=768)){j=D[j+2|0]|D[j+3|0]<<8;if(((j<<8|j>>>8)&65535)>>>0>10){break s}if((j|0)==2560){break r}break q}if(m>>>0<4){break q}}e=b-1|0;break p}d=k+(b<<3)|0;break o}i=b+1|0}if((e|0)>=(i|0)){continue}break}}t:{b=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(d){break t}d=205712;u:{if(!f){break u}b=((f<<8|f>>>8)&65535)-1|0;e=0;while(1){v:{w:{x:{i=b+e>>>1|0;j=k+(i<<3)|0;if(!(D[j|0]|D[j+1|0]<<8)){j=D[j+2|0]|D[j+3|0]<<8;if(((j<<8|j>>>8)&65535)>>>0<7){break x}}b=i-1|0;break w}if((j|0)==1536){break v}e=i+1|0}if((b|0)>=(e|0)){continue}break u}break}d=k+(i<<3)|0}b=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(d){break t}d=205712;y:{if(!f){break y}b=((f<<8|f>>>8)&65535)-1|0;e=0;while(1){z:{A:{B:{f=b+e>>>1|0;i=k+(f<<3)|0;if(!(D[i|0]|D[i+1|0]<<8)){i=D[i+2|0]|D[i+3|0]<<8;if(((i<<8|i>>>8)&65535)>>>0<5){break B}}b=f-1|0;break A}if((i|0)==1024){break z}e=f+1|0}if((b|0)>=(e|0)){continue}break y}break}d=k+(f<<3)|0}b=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(d){break t}b=rk(g,3,1);if(b){break n}b=rk(g,0,3);if(b){break n}b=rk(g,0,2);if(b){break n}b=rk(g,0,1);if(b){break n}b=rk(g,0,0);b=b?b:205712;break n}b=d+g|0}C[a+4>>2]=205712;e=b;C[a>>2]=b;b=C[a+44>>2];b=b?b:205712;f=F[b+16>>2]<4?205712:C[b+12>>2];b=D[f+2|0]|D[f+3|0]<<8;C:{if(!b){break C}i=f+4|0;b=((b<<8|b>>>8)&65535)-1|0;d=0;while(1){D:{E:{F:{g=b+d>>>1|0;k=i+(g<<3)|0;if(!(D[k|0]|D[k+1|0]<<8)){k=D[k+2|0]|D[k+3|0]<<8;if(((k<<8|k>>>8)&65535)>>>0<6){break F}}b=g-1|0;break E}if((k|0)==1280){break D}d=g+1|0}if((b|0)>=(d|0)){continue}break C}break}h=i+(g<<3)|0}b=h;b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);G:{if(!b){break G}b=b+f|0;if((D[b|0]|D[b+1|0]<<8)!=3584){break G}C[a+4>>2]=b}b=e?e:205712;C[a+12>>2]=b;H:{if(D[c|0]){d=646;break H}d=647;I:{J:{e=D[b|0]|D[b+1|0]<<8;switch(((e<<8|e>>>8)&65535)-4|0){case 0:break I;case 8:break J;default:break H}}d=648;break H}d=D[b+6|0]|D[b+7|0]<<8;e=b+14|0;C[a+16>>2]=e;d=(d<<8|d>>>8)&65534;h=d>>>1|0;C[a+36>>2]=h;e=(d+e|0)+2|0;C[a+20>>2]=e;e=d+e|0;C[a+24>>2]=e;e=d+e|0;C[a+28>>2]=e;C[a+32>>2]=d+e;b=D[b+2|0]|D[b+3|0]<<8;C[a+12>>2]=a+16;C[a+40>>2]=(((b<<8|b>>>8)&65535)-(h<<3)|0)-16>>>1;d=649}C[a+8>>2]=d;Ce=c+48|0} -function ej(a,b,c,d,e){var 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,B=0,E=0;h=Ce+-64|0;Ce=h;a:{if(!(c?a:0)){C[h>>2]=3321;d=Qe(19745,h);break a}if(C[a+28>>2]|C[c+28>>2]){d=Qe(4278,0);break a}f=d?d:c;g=C[f+12>>2];l=b?b:a;k=C[l+12>>2];f=C[f+8>>2];l=C[l+8>>2];if(!((f|0)!=(l|0)|(g|0)!=(k|0))){d=Uh(a,b,c,d);break a}j=+(k|0);v=+(l|0);i=+(f|0);m=i;q=+(g|0);p=q;if(d){n=+C[d+4>>2];p=q+n;o=+C[d>>2];m=i+o}q=q/j;w=i/v;b:{if(!b){break b}g=C[b+4>>2];t=+(g|0);n=(g|0)<0?n-t*q:n;i=+C[a+8>>2];b=C[b>>2];u=+(b|0);r=v+u;k=i0?g:0)|0);u=+(((b|0)>0?b:0)|0);i=j+t;j=+C[a+12>>2];if(!(i>j)){j=i;break b}p=p-(i-j)*q}x=+C[c+36>>2];i=m-x;t=+C[c+40>>2];m=0;o=o-x;c:{if(!(o<0)){m=o;break c}u=u-o/w}n=n-t;o=+C[c+44>>2];d:{if(!(i>o)){o=i;break d}v=v-(i-o)/w}i=p-t;p=0;e:{if(!(n<0)){p=n;break e}r=r-n/q}n=+C[c+48>>2];f:{if(!(i>n)){n=i;break f}j=j-(i-n)/q}i=Di(u);g:{if(K(i)<2147483648){b=~~i;break g}b=-2147483648}C[h+48>>2]=b;i=Di(r);h:{if(K(i)<2147483648){b=~~i;break h}b=-2147483648}C[h+52>>2]=b;i=Di(v-u);i:{if(K(i)<2147483648){b=~~i;break i}b=-2147483648}C[h+56>>2]=b;j=Di(j-r);j:{if(K(j)<2147483648){b=~~j;break j}b=-2147483648}C[h+60>>2]=b;j=m+x;m=Di(j);k:{if(K(m)<2147483648){b=~~m;break k}b=-2147483648}C[h+32>>2]=b;m=p+t;p=Di(m);l:{if(K(p)<2147483648){b=~~p;break l}b=-2147483648}C[h+36>>2]=b;g=c+36|0;j=Di(o+x-j);m:{if(K(j)<2147483648){b=~~j;break m}b=-2147483648}C[h+40>>2]=b;j=Di(n+t-m);n:{if(K(j)<2147483648){b=~~j;break n}b=-2147483648}C[h+44>>2]=b;C[h+16>>2]=0;C[h+20>>2]=0;C[h+24>>2]=C[a+8>>2];C[h+28>>2]=C[a+12>>2];b=h+48|0;yg(h+16|0,b,b);b=h+32|0;yg(g,b,b);if(d){b=C[h+36>>2];C[d>>2]=C[h+32>>2];C[d+4>>2]=b;b=C[h+44>>2];C[d+8>>2]=C[h+40>>2];C[d+12>>2]=b}d=0;if(!C[h+40>>2]|!C[h+44>>2]|(C[h+56>>2]<=0|C[h+60>>2]<=0)){break a}k=h+32|0;g=Ce-32|0;Ce=g;o:{p:{d=h+48|0;if(!(C[d+8>>2]>65535|C[d+12>>2]>65535|C[k+8>>2]>65535)){if(C[k+12>>2]<65536){break p}}d=Qe(15335,0);break o}b=C[a+52>>2];f=C[b+68>>2];if(!(f&512)){C[b+68>>2]=f|512;ag(b)}b=C[a+52>>2];f=C[b+68>>2];B=f&499;if(!e){q:{if(B){break q}e=C[C[a+4>>2]>>2];if((e|0)!=C[C[c+4>>2]>>2]|!((e&-268435456)!=268435456?e:0)&(e>>>24&15)-1>>>0<3){break q}d=Hr(a,d,c,k);break o}r:{s:{if(C[b>>2]!=(c|0)){break s}e=C[C[c+4>>2]+4>>2];if(C[b+80>>2]!=C[e+8>>2]?e:0){break s}e=C[C[a+4>>2]+4>>2];if(!e|C[b+84>>2]==C[e+8>>2]){break r}}if((Hj(a,c)|0)<0){d=-1;break o}b=C[a+52>>2]}d=Fe[C[b+8>>2]](a,d,c,k)|0;break o}t:{if(B){break t}l=C[a+4>>2];e=C[l>>2];if((e|0)!=C[C[c+4>>2]>>2]|!((e&-268435456)!=268435456?e:0)&(e>>>24&15)-1>>>0<3|((e|0)==372711428|D[l+9|0]!=4)){break t}d=xn(a,d,c,k);break o}e=(f&240)-16|0;if(e>>>0<=127){E=C[(e>>>2|0)+148468>>2]}f=D[b+79|0];l=D[b+78|0];y=D[b+77|0];z=D[b+76|0];C[g+16>>2]=C[d>>2];C[g+20>>2]=C[d+4>>2];C[g+24>>2]=C[d+8>>2];C[g+28>>2]=C[d+12>>2];e=C[a+4>>2];u:{if(D[e+9|0]==4){b=0;if(C[e>>2]!=372711428){break u}}C[g>>2]=0;C[g+4>>2]=0;b=C[a+8>>2];C[g+8>>2]=b;s=C[a+12>>2];C[g+12>>2]=s;e=C[c+4>>2];v:{if(D[e+9|0]==4){e=C[e>>2];if((e|0)!=372711428){break v}}e=372645892}b=Vh(b,s,e);e=C[a+52>>2];w:{x:{y:{if((b|0)!=C[e>>2]){break y}s=C[C[b+4>>2]+4>>2];if(C[e+80>>2]!=C[s+8>>2]?s:0){break y}s=C[C[a+4>>2]+4>>2];if(!s|C[e+84>>2]==C[s+8>>2]){break x}}if((Hj(a,b)|0)<0){break w}e=C[a+52>>2]}Fe[C[e+8>>2]](a,d,b,g)|0}C[g+16>>2]=0;C[g+20>>2]=0;z:{if(!b){break z}d=C[b+52>>2];A[d+78|0]=l;A[d+77|0]=y;A[d+76|0]=z;a=C[d+68>>2];e=a&-2|(l&(y&z))!=255;C[d+68>>2]=e;if((a|0)!=(e|0)){ag(d);d=C[b+52>>2];a=C[d+68>>2]}A[d+79|0]=f;e=a&-3|((f|0)!=255)<<1;C[d+68>>2]=e;if((a|0)!=(e|0)){ag(d);d=C[b+52>>2];a=C[d+68>>2]}e=a&-241;C[d+68>>2]=e;A:{B:{switch(E|0){case 1:e=e|16;C[d+68>>2]=e;break A;case 2:e=e|32;C[d+68>>2]=e;break A;case 4:e=e|64;C[d+68>>2]=e;break A;case 8:e=e|128;C[d+68>>2]=e;break A;case 0:break A;default:break B}}_e(4);d=C[b+52>>2];e=C[d+68>>2]}if((a|0)==(e|0)){break z}ag(d)}a=b}d=C[C[a+4>>2]>>2];C:{if(!(!B&(d|0)==C[C[c+4>>2]>>2])){e=Vh(C[k+8>>2],C[k+12>>2],d);xn(a,g+16|0,e,0);D:{if(!e){break D}d=C[e+52>>2];A[d+78|0]=l;A[d+77|0]=y;A[d+76|0]=z;a=C[d+68>>2];l=a&-2|(l&(y&z))!=255;C[d+68>>2]=l;if((a|0)!=(l|0)){ag(d);d=C[e+52>>2];a=C[d+68>>2]}A[d+79|0]=f;f=a&-3|((f|0)!=255)<<1;C[d+68>>2]=f;if((a|0)!=(f|0)){ag(d);d=C[e+52>>2];a=C[d+68>>2]}f=a&-241;C[d+68>>2]=f;E:{F:{switch(E|0){case 1:f=f|16;C[d+68>>2]=f;break E;case 2:f=f|32;C[d+68>>2]=f;break E;case 4:f=f|64;C[d+68>>2]=f;break E;case 8:f=f|128;C[d+68>>2]=f;break E;case 0:break E;default:break F}}_e(4);d=C[e+52>>2];f=C[d+68>>2]}if((a|0)==(f|0)){break D}ag(d)}C[g>>2]=0;C[g+4>>2]=0;C[g+8>>2]=C[k+8>>2];C[g+12>>2]=C[k+12>>2];d=C[e+52>>2];G:{H:{if(C[d>>2]!=(c|0)){break H}a=C[C[c+4>>2]+4>>2];if(C[d+80>>2]!=C[a+8>>2]?a:0){break H}a=C[C[e+4>>2]+4>>2];if(!a|C[d+84>>2]==C[a+8>>2]){break G}}if((Hj(e,c)|0)<0){d=-1;Nf(e);break C}d=C[e+52>>2]}d=Fe[C[d+8>>2]](e,g,c,k)|0;Nf(e);break C}d=xn(a,g+16|0,c,k)}Nf(b)}Ce=g+32|0}Ce=h- -64|0;return d}function Qx(a,b,c){var d=0,e=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}f:{g:{h:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break h}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break f}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,729);break c}i:{j:{k:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break k}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break i}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,730)}return;case 1:l:{m:{n:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break l}}o:{p:{q:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break q}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break o}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,731);break l}r:{s:{t:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break t}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break r}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,732)}return;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}u:{v:{w:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break v}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break w}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break u}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,725);return;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}x:{y:{z:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break y}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break z}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break x}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,726);return;case 4:if((D[a|0]|D[a+1|0]<<8)!=256){break a}A:{B:{C:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break B}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break C}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break A}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,727);return;case 5:if((D[a|0]|D[a+1|0]<<8)!=256){break a}D:{E:{F:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break E}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break F}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break D}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,728);return;case 6:Zx(a,b);return;case 7:Yx(a,b);return;case 8:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;Qx(c,b,(a<<8|a>>>8)&65535)}}}function iq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=b<<1;o=f+a|0;if(b>>>0>=10){while(1){g=a+2|0;j=(b&-2)+a|0;h=(gq(g,j,c)|0)>0;b=h?g:j;f=f-2|0;l=f+a|0;e=l-2|0;if((gq(b,e,c)|0)>0){b=h?j:g;b=(gq(b,e,c)|0)>0?b:e}if((b|0)!=(l|0)){g=D[b|0];A[b|0]=D[l|0];A[l|0]=g;g=D[b+1|0];A[b+1|0]=D[l+1|0];A[l+1|0]=g}j=l;h=j;g=a;b=g;a:{if((f|0)<=0){e=0;break a}while(1){b:{if(b>>>0>=h>>>0){break b}while(1){c:{k=E[b>>1];d=E[l>>1];d:{e:{f:{g:{h:{f=C[c+4>>2];if((f|0)!=131072){if((f|0)!=65536){break e}f=0;i=0;e=0;if(d>>>0<=257){e=d<<2;d=C[e+165360>>2];i=d+163504|0;e=C[e+165364>>2]+(d^-1)|0}if(k>>>0<=257){break h}d=0;break f}f=0;i=0;m=C[c+8>>2];n=D[m|0]|D[m+1|0]<<8;n=(n<<8|n>>>8)&65535;e=0;i:{if(n>>>0<=d>>>0){break i}e=m+(d<<1)|0;e=D[e+2|0]|D[e+3|0]<<8;d=(e<<8|e>>>8)&65535;if(d>>>0<=257){e=d<<2;d=C[e+165360>>2];i=d+163504|0;e=C[e+165364>>2]+(d^-1)|0;break i}d=d-258|0;e=0;if(d>>>0>=F[c+16>>2]){break i}e=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;i=e+1|0;e=D[e|0]}if(k>>>0>>0){break g}d=0;break f}d=k<<2;f=C[d+165360>>2];d=C[d+165364>>2]+(f^-1)|0;f=f+163504|0;break f}f=m+(k<<1)|0;f=D[f+2|0]|D[f+3|0]<<8;d=(f<<8|f>>>8)&65535;if(d>>>0<=257){d=d<<2;f=C[d+165360>>2];d=C[d+165364>>2]+(f^-1)|0;f=f+163504|0;break f}f=0;d=d-258|0;if(d>>>0>=F[c+16>>2]){d=0;break f}d=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;f=d+1|0;d=D[d|0]}if((d|0)!=(e|0)){f=d-e|0}else{if(!e){break e}f=Hg(f,i,e)}if((f|0)>0){break c}if(f){break d}}if(b>>>0>g>>>0){f=D[g|0];A[g|0]=k;A[b|0]=f;f=D[g+1|0];A[g+1|0]=k>>>8;A[b+1|0]=f}g=g+2|0}b=b+2|0;if(h>>>0>b>>>0){continue}break b}break}while(1){j:{f=h;h=f-2|0;k=E[h>>1];q=k>>>8|0;d=E[l>>1];k:{l:{m:{n:{o:{p:{e=C[c+4>>2];if((e|0)!=131072){if((e|0)!=65536){break m}i=0;m=0;e=0;if(d>>>0<=257){e=d<<2;d=C[e+165360>>2];m=d+163504|0;e=C[e+165364>>2]+(d^-1)|0}if(k>>>0<=257){break p}d=0;break n}i=0;m=0;n=C[c+8>>2];p=D[n|0]|D[n+1|0]<<8;p=(p<<8|p>>>8)&65535;e=0;q:{if(p>>>0<=d>>>0){break q}e=(d<<1)+n|0;e=D[e+2|0]|D[e+3|0]<<8;d=(e<<8|e>>>8)&65535;if(d>>>0<=257){e=d<<2;d=C[e+165360>>2];m=d+163504|0;e=C[e+165364>>2]+(d^-1)|0;break q}d=d-258|0;e=0;if(d>>>0>=F[c+16>>2]){break q}e=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;m=e+1|0;e=D[e|0]}if(k>>>0

>>0){break o}d=0;break n}d=k<<2;i=C[d+165360>>2];d=C[d+165364>>2]+(i^-1)|0;i=i+163504|0;break n}d=(k<<1)+n|0;d=D[d+2|0]|D[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){d=d<<2;i=C[d+165360>>2];d=C[d+165364>>2]+(i^-1)|0;i=i+163504|0;break n}d=d-258|0;if(d>>>0>=F[c+16>>2]){d=0;break n}d=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;i=d+1|0;d=D[d|0]}if((d|0)!=(e|0)){e=d-e|0}else{if(!e){break m}e=Hg(i,m,e)}if(e){break l}}e=j-2|0;if(f>>>0>>0){A[h|0]=D[e|0];A[e|0]=k;j=j-1|0;A[f-1|0]=D[j|0];A[j|0]=q}j=e;break k}if((e|0)>=0){break k}if(b>>>0>>0){e=D[b|0];A[b|0]=k;A[h|0]=e;e=D[b+1|0];A[b+1|0]=q;A[f-1|0]=e}b=b+2|0;break j}if(b>>>0>>0){continue}}break}if(b>>>0>>0){continue}}break}f=h-g|0;r:{if((a|0)==(g|0)|(g|0)==(h|0)){break r}b=g-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break r}l=a+f|0;b=a+b|0;g=a;while(1){e=D[g|0];A[g|0]=D[b|0];A[b|0]=e;b=b+1|0;g=g+1|0;if(l>>>0>g>>>0){continue}break}break r}if((b|0)<=0){break r}l=a+b|0;b=a+f|0;g=a;while(1){e=D[g|0];A[g|0]=D[b|0];A[b|0]=e;b=b+1|0;g=g+1|0;if(l>>>0>g>>>0){continue}break}}e=j-h|0;if((h|0)==(j|0)|(j|0)==(o|0)){break a}b=o-j|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+h|0;b=e+h|0;while(1){j=D[h|0];A[h|0]=D[b|0];A[b|0]=j;b=b+1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}break a}if((e|0)<=0){break a}g=e+h|0;b=b+h|0;while(1){j=D[h|0];A[h|0]=D[b|0];A[b|0]=j;b=b+1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}iq(a,f>>>1|0,c);a=o-e|0;f=e&-2;o=a+f|0;b=e>>>1|0;if(e>>>0>=20){continue}break}}j=a+2|0;if(o>>>0>j>>>0){while(1){b=j;s:{if(b>>>0<=a>>>0){break s}while(1){h=E[b>>1];g=b-2|0;l=E[g>>1];t:{u:{v:{f=C[c+4>>2];if((f|0)!=131072){if((f|0)!=65536){break s}i=0;f=0;e=0;if(h>>>0<=257){e=h<<2;f=C[e+165360>>2];e=C[e+165364>>2]+(f^-1)|0;f=f+163504|0}if(l>>>0<=257){break v}d=0;break t}i=0;f=0;e=0;d=C[c+8>>2];k=D[d|0]|D[d+1|0]<<8;m=(k<<8|k>>>8)&65535;w:{if(m>>>0<=h>>>0){break w}f=d+(h<<1)|0;f=D[f+2|0]|D[f+3|0]<<8;k=(f<<8|f>>>8)&65535;if(k>>>0<=257){e=k<<2;f=C[e+165360>>2];e=C[e+165364>>2]+(f^-1)|0;f=f+163504|0;break w}f=0;k=k-258|0;if(k>>>0>=F[c+16>>2]){break w}e=C[c+24>>2]+C[C[c+20>>2]+(k<<2)>>2]|0;f=e+1|0;e=D[e|0]}if(l>>>0>>0){break u}d=0;break t}d=l<<2;i=C[d+165360>>2];d=C[d+165364>>2]+(i^-1)|0;i=i+163504|0;break t}d=d+(l<<1)|0;d=D[d+2|0]|D[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){d=d<<2;i=C[d+165360>>2];d=C[d+165364>>2]+(i^-1)|0;i=i+163504|0;break t}d=d-258|0;if(d>>>0>=F[c+16>>2]){d=0;break t}d=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;i=d+1|0;d=D[d|0]}if((d|0)!=(e|0)){e=d-e|0}else{if(!e){break s}e=Hg(i,f,e)}if((e|0)<=0){break s}A[g|0]=h;A[b+1|0]=l>>>8;A[b-1|0]=h>>>8;A[b|0]=l;b=g;if(b>>>0>a>>>0){continue}break}}j=j+2|0;if(o>>>0>j>>>0){continue}break}}}function sF(a){a=a|0;var 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;n=C[a+28>>2];if(n){j=D[a+63|0];k=C[a+48>>2];q=C[a+36>>2];r=C[a+16>>2];h=C[a+24>>2];s=h&3;t=(h+3|0)/4|0;f=C[a>>2];h=C[a+20>>2];o=C[a+44>>2];b=C[a+40>>2];m=D[b+9|0];p=m-1|0;while(1){n=n-1|0;a=t;a:{b:{switch(s-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(p|0){case 0:e=D[f|0];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break f;case 1:e=E[f>>1];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break f;case 2:c=(D[b+34|0]>>>3|0)+f|0;g=(D[b+32|0]>>>3|0)+f|0;d=(D[b+33|0]>>>3|0)+f|0;break f;case 3:break g;default:break e}}e=C[f>>2];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0}e=D[c|0];c=D[g|0];d=D[d|0]}l=d&255;d=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[d+1|0];i=c;c=D[d|0];i=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(i-c|0,j)|0)/255|0)+c&-32;c=D[d+2|0];c=i|(((I((e&255)-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=1;continue;case 1:c=0;d=0;e=0;h:{i:{j:{switch(p|0){case 0:e=D[f|0];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break i;case 1:e=E[f>>1];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break i;case 2:c=(D[b+34|0]>>>3|0)+f|0;g=(D[b+32|0]>>>3|0)+f|0;d=(D[b+33|0]>>>3|0)+f|0;break i;case 3:break j;default:break h}}e=C[f>>2];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0}e=D[c|0];c=D[g|0];d=D[d|0]}l=d&255;d=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[d+1|0];i=c;c=D[d|0];i=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(i-c|0,j)|0)/255|0)+c&-32;c=D[d+2|0];c=i|(((I((e&255)-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=2;continue;case 2:c=0;d=0;e=0;k:{l:{m:{switch(p|0){case 0:e=D[f|0];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break l;case 1:e=E[f>>1];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break l;case 2:c=(D[b+34|0]>>>3|0)+f|0;g=(D[b+32|0]>>>3|0)+f|0;d=(D[b+33|0]>>>3|0)+f|0;break l;case 3:break m;default:break k}}e=C[f>>2];c=C[(D[b+30|0]<<2)+381104>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+381104>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+381104>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0}e=D[c|0];c=D[g|0];d=D[d|0]}l=d&255;d=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[d+1|0];i=c;c=D[d|0];i=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(i-c|0,j)|0)/255|0)+c&-32;c=D[d+2|0];c=i|(((I((e&255)-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+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(p|0){case 0:d=D[f|0];c=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;break o;case 1:d=E[f>>1];c=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;break o;case 2:c=(D[b+34|0]>>>3|0)+f|0;e=(D[b+33|0]>>>3|0)+f|0;d=(D[b+32|0]>>>3|0)+f|0;break o;case 3:break p;default:break n}}d=C[f>>2];c=C[(D[b+30|0]<<2)+381104>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+381104>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+381104>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0}c=D[c|0];d=D[d|0];e=D[e|0]}l=e&255;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[e+1|0];u=d&255;d=D[e|0];i=c;c=D[e+2|0];c=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(u-d|0,j)|0)/255|0)+d&-32|(((I(i-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=0;continue}break}h=h+q|0;f=f+r|0;if(n){continue}break}}}function Aq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-240|0;Ce=e;C[c+16>>2]=0;C[c+20>>2]=-1042284544;C[c+8>>2]=-4194304;C[c+12>>2]=1105199103;C[c>>2]=-4194304;C[c+4>>2]=1105199103;C[c+24>>2]=0;C[c+28>>2]=-1042284544;if(!(!C[a>>2]|F[a+216>>2]<=b>>>0)){g=C[a+80>>2];a:{if((g|0)==205712){break a}b:{c:{switch(D[g|0]){case 0:f=(b+g|0)+1|0;break b;case 3:break c;default:break a}}f=1;h=g+1|0;g=D[g+1|0]|D[g+2|0]<<8;g=(g<<8|g>>>8)&65535;d:{if(g>>>0<2){break d}while(1){j=h+I(f,3)|0;j=D[j+2|0]|D[j+3|0]<<8;if(((j<<8|j>>>8)&65535)>>>0>b>>>0){break d}f=f+1|0;if((g|0)!=(f|0)){continue}break}f=g}f=f-1|0;f=(f>>>0>=g>>>0?205712:(h+I(f,3)|0)+2|0)+2|0}f=D[f|0]}A[e+88|0]=0;C[e+80>>2]=0;C[e+84>>2]=0;C[e+108>>2]=0;C[e+100>>2]=0;C[e+104>>2]=0;C[e+124>>2]=0;C[e+128>>2]=0;A[e+132|0]=0;C[e+176>>2]=0;C[e+168>>2]=0;C[e+172>>2]=0;C[e+72>>2]=0;C[e+76>>2]=0;C[e+116>>2]=0;C[e+120>>2]=0;dn(e+60|0,C[a+72>>2],b);g=C[(F[a+208>>2]<=f>>>0?205712:C[a+212>>2]+I(f,24)|0)+20>>2];h=C[a+68>>2];C[e+80>>2]=C[e+68>>2];A[e+88|0]=0;b=C[e+64>>2];C[e+72>>2]=C[e+60>>2];C[e+76>>2]=b;A[e+92|0]=0;C[e+84>>2]=0;b=kf(4744);C[e+104>>2]=0;C[e+108>>2]=0;C[e+96>>2]=0;C[e+100>>2]=0;if(b){C[e+104>>2]=513;C[e+108>>2]=b;We(b,0,4104);b=593}else{b=-1}A[e+112|0]=0;C[e+100>>2]=b;b=C[e+64>>2];C[e+116>>2]=C[e+60>>2];C[e+120>>2]=b;C[e+124>>2]=C[e+68>>2];C[e+136>>2]=0;C[e+140>>2]=0;A[e+132|0]=0;C[e+128>>2]=0;C[e+208>>2]=0;C[e+212>>2]=0;C[e+200>>2]=0;C[e+204>>2]=0;A[e+145|0]=1;A[e+146|0]=0;b=kf(560);C[e+172>>2]=0;C[e+176>>2]=0;C[e+164>>2]=0;C[e+168>>2]=0;A[e+153|0]=0;A[e+154|0]=0;A[e+155|0]=0;A[e+156|0]=0;A[e+157|0]=0;A[e+158|0]=0;A[e+159|0]=0;A[e+160|0]=0;C[e+148>>2]=0;C[e+152>>2]=0;e:{if(!b){C[e+168>>2]=-1;break e}C[e+176>>2]=b;We(b,0,280);C[e+168>>2]=20;C[e+172>>2]=10;f=10;b=0;while(1){f:{if(b>>>0>=f>>>0){C[105682]=C[51434];f=C[51433];C[105680]=C[51432];C[105681]=f;f=C[51431];C[105678]=C[51430];C[105679]=f;f=C[51429];C[105676]=C[51428];C[105677]=f;f=422704;break f}f=C[e+176>>2]+I(b,28)|0}C[f>>2]=0;C[f+4>>2]=0;C[f+20>>2]=0;C[f+24>>2]=0;A[f+16|0]=0;C[f+8>>2]=0;C[f+12>>2]=0;b=b+1|0;f=C[e+172>>2];if(b>>>0>>0){continue}break}}C[e+184>>2]=h;b=107;f=107;g:{if(!h){break g}h=D[h|0]|D[h+1|0]<<8;h=(h<<8|h>>>8)&65535;f=107;if(h>>>0<1240){break g}f=h>>>0<33900?1131:32768}C[e+192>>2]=g;C[e+180>>2]=f;h:{if(!g){break h}f=D[g|0]|D[g+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0<1240){break h}b=f>>>0<33900?1131:32768}A[e+232|0]=d;C[e+220>>2]=0;B[e+216>>1]=0;C[e+188>>2]=b;C[e+40>>2]=0;C[e+44>>2]=-1042284544;C[e+32>>2]=0;C[e+36>>2]=-1042284544;C[e+24>>2]=-4194304;C[e+28>>2]=1105199103;A[e+144|0]=0;C[e+48>>2]=a;A[e+8|0]=0;C[e+16>>2]=-4194304;C[e+20>>2]=1105199103;h=D[205712];j=h|256;d=C[51428];g=C[51429];a=65535;i:{j:{if(D[e+88|0]){break j}f=C[e+84>>2];k=f+1|0;i=C[e+76>>2];if(k>>>0>i>>>0){break j}k:{l:{m:{if(f>>>0>=i>>>0){A[e+88|0]=1;b=h;if((b|0)!=12){break m}break j}a=C[e+72>>2];b=D[a+f|0];if((b|0)==12){b=j;if(i>>>0<=k>>>0){break m}f=k;b=D[a+f|0]|256}if(f>>>0>>0){break l}}A[e+88|0]=1;C[e+84>>2]=i;break k}C[e+84>>2]=f+1}if((b|0)!=256){a=b;if((b|0)!=14){break j}f=C[e+96>>2];if(!D[e+216|0]){if(f&1){n:{if(C[e+104>>2]){b=C[e+108>>2];a=C[b>>2];b=C[b+4>>2];break n}C[105676]=d;C[105677]=g;a=d;b=g}C[e+220>>2]=1;A[e+217|0]=1;C[e+224>>2]=a;C[e+228>>2]=b}A[e+216|0]=1}if(f>>>0>=4){Fz(e+72|0,e+8|0)}A[e+144|0]=1;C[e+96>>2]=0;C[e+220>>2]=0;break i}C[e+96>>2]=0;C[e+220>>2]=0;break i}Ez(a,e+72|0,e+8|0)}f=0;o:{if(D[e+160|0]|C[e+168>>2]<0|(D[e+92|0]|(D[e+112|0]|D[e+88|0]))){break o}if(C[e+100>>2]<0){break o}if(!D[e+144|0]){while(1){a=65535;p:{q:{r:{f=C[e+84>>2];k=f+1|0;i=C[e+76>>2];if(k>>>0>i>>>0){break r}s:{t:{if(f>>>0>>0){a=C[e+72>>2];b=D[a+f|0];if((b|0)==12){b=j;if(i>>>0<=k>>>0){break t}f=k;b=D[a+f|0]|256}if(f>>>0>=i>>>0){break t}C[e+84>>2]=f+1;break s}A[e+88|0]=1;b=h;if((b|0)==12){break r}}A[e+88|0]=1;C[e+84>>2]=i}if((b|0)!=14){a=b;if((b|0)!=256){break r}break q}f=C[e+96>>2];if(!D[e+216|0]){if(f&1){u:{if(!C[e+104>>2]){C[105676]=d;C[105677]=g;a=d;b=g;break u}b=C[e+108>>2];a=C[b>>2];b=C[b+4>>2]}C[e+220>>2]=1;A[e+217|0]=1;C[e+224>>2]=a;C[e+228>>2]=b}A[e+216|0]=1}if(f>>>0>=4){Fz(e+72|0,e+8|0)}A[e+144|0]=1;break q}Ez(a,e+72|0,e+8|0);break p}C[e+96>>2]=0;C[e+220>>2]=0}f=0;if(D[e+160|0]|C[e+168>>2]<0|(D[e+92|0]|(D[e+112|0]|D[e+88|0]))){break o}if(C[e+100>>2]<0){break o}if(!D[e+144|0]){continue}break}}a=C[e+20>>2];C[c>>2]=C[e+16>>2];C[c+4>>2]=a;a=C[e+44>>2];C[c+24>>2]=C[e+40>>2];C[c+28>>2]=a;a=C[e+36>>2];C[c+16>>2]=C[e+32>>2];C[c+20>>2]=a;a=C[e+28>>2];C[c+8>>2]=C[e+24>>2];C[c+12>>2]=a;f=1}Re(C[e+108>>2]);C[e+108>>2]=0;C[e+100>>2]=0;C[e+104>>2]=0;Re(C[e+176>>2]);C[e+176>>2]=0;C[e+168>>2]=0;C[e+172>>2]=0;Re(C[e+108>>2])}Ce=e+240|0;return f}function al(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=Ce-16|0;Ce=o;C[o+12>>2]=0;C[a+1524>>2]=0;C[a+1512>>2]=0;C[a+56>>2]=0;C[a+44>>2]=0;C[a+36>>2]=0;C[a+24>>2]=0;f=C[a>>2];n=C[a+16>>2];u=C[a+8>>2];s=C[a+12>>2];q=C[a+4>>2];e=B[b>>1];a:{b:{c:{if(e>>>0<=8){if(C[a+40>>2]){break b}C[a+40>>2]=a+3e3;c=8;break c}c=C[a+32>>2];if(c>>>0>=e>>>0){break b}d=c;c=e+3&-4;e=C[a+40>>2];if((e|0)==(a+3e3|0)){C[a+40>>2]=0;e=0}y=a,z=Ve(f,4,d,c,e,o+12|0),C[y+40>>2]=z;if(C[o+12>>2]){break a}}C[a+32>>2]=c}c=B[b+2>>1];e=c+2|0;d:{if(e>>>0<=96){if(C[a+28>>2]){break d}C[a+20>>2]=96;C[a+28>>2]=a+3032;break d}g=e;e=C[a+20>>2];if(g>>>0<=e>>>0){break d}d=c+11&-8;c=C[a+28>>2];if((c|0)==(a+3032|0)){C[a+28>>2]=0;c=0}y=a,z=Ve(f,40,e,d,c,o+12|0),C[y+28>>2]=z;if(C[o+12>>2]){break a}C[a+20>>2]=d;c=B[b+2>>1]}C[a+24>>2]=c;c=B[b>>1];C[a+1536>>2]=-1;C[a+68>>2]=2;C[a+36>>2]=c;j=b;e:{if(!b){break e}b=E[j+2>>1];c=b<<16>>16;if((c|0)<=0){break e}h=2;if((c|0)==1){break e}k=C[j+4>>2];l=k+(b<<3)|0;d=k+8|0;f=C[k>>2];b=f;c=k;i=C[c+4>>2];g=i;while(1){e=C[c+12>>2];g=(e|0)>(g|0)?e:g;i=(e|0)<(i|0)?e:i;c=C[c+8>>2];b=(b|0)<(c|0)?c:b;f=(c|0)<(f|0)?c:f;c=d;d=c+8|0;if(l>>>0>d>>>0){continue}break}if((b|0)==(f|0)|(g|0)==(i|0)){break e}v=B[j>>1];if((v|0)>0){c=0;d=b;b=b>>31;d=(d^b)-b|0;b=f>>31;b=17-L(d|(b^f)-b)|0;l=(b|0)>0?b:0;b=17-L(g-i|0)|0;p=(b|0)>0?b:0;x=C[j+12>>2];g=0;while(1){h=B[(r<<1)+x>>1];f:{if((h|0)<(g|0)){break f}b=k+(h<<3)|0;f=C[b>>2];e=C[b+4>>2];g:{if(!((h-g|0)+1&1)){b=e;i=g;break g}d=f;i=c;c=k+(g<<3)|0;b=C[c+4>>2];f=C[c>>2];c=i+I(b-e>>p,d+f>>l)|0;i=g+1|0}if((h|0)==(g|0)){break f}while(1){g=i+1|0;d=k+(g<<3)|0;e=C[d+4>>2];m=k+(i<<3)|0;w=C[m+4>>2];d=C[d>>2];m=C[m>>2];c=I(e-w>>p,d+m>>l)+(I(w-b>>p,f+m>>l)+c|0)|0;i=i+2|0;f=d;b=e;if((h|0)!=(g|0)){continue}break}}g=h+1|0;r=r+1|0;if((v|0)!=(r|0)){continue}break}h=1;if((c|0)>0){break e}h=0;if(c){break e}}h=2}if((h|0)==1){C[a+1536>>2]=1;C[a+68>>2]=-2}C[a+12>>2]=s;C[a+4>>2]=q;C[a+2992>>2]=0;C[a+2996>>2]=0;C[a+16>>2]=n;C[a+8>>2]=u;l=C[a+24>>2];if(!l){break a}f=C[a+28>>2];p=f+I(l,40)|0;b=C[j+12>>2];if((l|0)>0){h=C[j+4>>2];e=C[j+8>>2];c=f;k=c+I(B[b>>1],40)|0;b=k;while(1){B[c+2>>1]=1028;d=C[h>>2];B[c+12>>1]=d;B[c+14>>1]=C[h+4>>2];d=Te(d,q)+u|0;C[c+4>>2]=d;C[c+16>>2]=d;d=Te(C[h+4>>2],s)+n|0;C[c+8>>2]=d;C[c+20>>2]=d;d=D[e|0];C[c+36>>2]=b;d=d&3;B[c>>1]=d?((d|0)==2)<<1:1;C[b+32>>2]=c;h:{if((c|0)!=(k|0)){b=c;break h}t=t+1|0;if((t|0)>=B[j>>1]){b=c;k=c;break h}b=I(B[C[j+12>>2]+(t<<1)>>1],40)+f|0;k=b}e=e+1|0;h=h+8|0;c=c+40|0;if(p>>>0>c>>>0){continue}break}b=C[j+12>>2]}e=C[a+36>>2];d=e<<2;i=C[a+40>>2];if((e|0)>0){g=d+i|0;c=0;while(1){C[i>>2]=I(c<<16>>16,40)+f;c=E[b>>1]+1|0;b=b+2|0;i=i+4|0;if(g>>>0>i>>>0){continue}break}i=C[a+40>>2]}if((e|0)>0){s=d+i|0;q=I(E[C[C[a+2988>>2]+4>>2]+68>>1],20)>>>11|0;r=(q<<1)-1|0;while(1){g=C[i>>2];c=g;while(1){i:{e=c;a=B[c+12>>1];c=C[c+36>>2];if((g|0)==(c|0)){k=E[e+14>>1];break i}k=B[e+14>>1];j=k-B[c+14>>1]|0;b=j>>31;h=a-B[c+12>>1]|0;d=h>>31;if((r|0)>((b^j)-b+((d^h)-d)|0)){continue}}break}C[e+24>>2]=0;C[e+28>>2]=0;c=0;b=e;g=b;h=0;while(1){j=a<<16>>16;a=k<<16>>16;b=C[b+32>>2];k=B[b+14>>1];h=(k-a|0)+h|0;d=h>>31;a=B[b+12>>1];c=(a-j|0)+c|0;j=c>>31;d=(d^h)-d|0;j=(c^j)-j|0;j:{if(q>>>0>d+j>>>0){B[b>>1]=E[b>>1]|16;break j}n=(b-g|0)/40|0;C[g+24>>2]=n;C[b+28>>2]=0-n;n=0-c|0;k:{if((c|0)<=(h|0)){j=(h|0)<(n|0);d=j?h:c;c=d>>31;d=(c^d)-c|0;c=j?n:h;m=j?-1:2;break k}m=1;if((h|0)>=(n|0)){break k}c=0-h|0;d=j;m=254}d=(I(d,14)|0)>=(c|0)?4:m;A[g+3|0]=d;c=C[g+32>>2];if((c|0)!=(b|0)){while(1){A[c+3|0]=d;A[c+2|0]=d;c=C[c+32>>2];if((c|0)!=(b|0)){continue}break}}A[b+2|0]=d;d=(e-b|0)/40|0;C[b+24>>2]=d;c=0;C[e+28>>2]=0-d;g=b;h=0}if((b|0)!=(e|0)){continue}break}i=i+4|0;if(s>>>0>i>>>0){continue}break}}if((l|0)<=0){break a}c=f;while(1){e=E[c>>1];l:{if(e&16|D[c+2|0]!=4|D[c+3|0]!=4){break l}d=C[c+24>>2];a=I(d,40)+c|0;b=B[c+12>>1];i=B[a+12>>1]-b|0;k=b;g=C[c+28>>2];b=I(g,40)+c|0;if((i^k-B[b+12>>1])<0){break l}i=B[c+14>>1];if((i-B[b+14>>1]^B[a+14>>1]-i)<0){break l}B[c>>1]=e|16;e=b;b=(I(d-g|0,40)|0)/40|0;C[e+24>>2]=b;C[a+28>>2]=0-b}c=c+40|0;if(p>>>0>c>>>0){continue}break}if((l|0)<=0){break a}while(1){c=E[f>>1];m:{if(c&16){break m}n:{if(c&3){break n}a=D[f+3|0];b=D[f+2|0];if((a|0)==(b|0)){if((a|0)!=4){break n}c=B[f+12>>1];e=C[f+28>>2];a=I(e,40)+f|0;d=B[f+14>>1];g=C[f+24>>2];b=I(g,40)+f|0;if(!cx(c-B[a+12>>1]|0,d-B[a+14>>1]|0,B[b+12>>1]-c|0,B[b+14>>1]-d|0)){break m}c=a;a=(I(g-e|0,40)|0)/40|0;C[c+24>>2]=a;C[b+28>>2]=0-a;c=E[f>>1];break n}if(b<<24>>24!=(0-(a<<24>>24)|0)){break m}}B[f>>1]=c|16}f=f+40|0;if(p>>>0>f>>>0){continue}break}}Ce=o+16|0;return C[o+12>>2]}function VP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-176|0;Ce=g;C[g+172>>2]=0;f=C[e+32>>2];if(f){i=C[f+278664>>2]}a:{b:{if(cf(a,23363,7)){break b}c:{h=D[a+7|0];switch(h|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!C[C[e+36>>2]+8>>2]){break a}c=C[f+278664>>2];C[g+32>>2]=0;e=c;c=C[f+88>>2];b=(h?-8:-7)+b|0;d=b+1|0;e=Ve(e,1,c,d+c|0,C[f+84>>2],g+32|0);C[f+84>>2]=e;c=C[g+32>>2];if(c){break a}c=e+C[f+88>>2]|0;t(c,h?a+8|0:a+7|0,b);A[b+c|0]=10;C[f+88>>2]=d+C[f+88>>2];c=C[g+32>>2];break a}h=C[e>>2];if(!(h&1)){d=C[e+139320>>2];c=176;if(cf(a,23256,9)){break a}d:{switch(D[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;C[e+32>>2]=0;C[e>>2]=1;b=hf(d,278692,g+172|0);c=C[g+172>>2];if(c){break a}C[e+32>>2]=b;C[b+278664>>2]=C[e+139320>>2];C[e+139320>>2]=0;C[g+32>>2]=0;C[b+278684>>2]=0;C[b+278676>>2]=80;C[b+278680>>2]=241;k=b+278688|0,l=Ve(d,4,0,241,0,g+32|0),C[k>>2]=l;c=C[g+32>>2];C[g+172>>2]=c;if(c){break a}b=b+278676|0;f=280240;while(1){c=rp(C[f>>2],a,b,d);C[g+172>>2]=c;if(c){break a}f=f+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=hf(d,16,g+172|0);C[C[e+32>>2]+128>>2]=a;c=C[g+172>>2];if(c){break a}b=Ce-16|0;Ce=b;C[b+12>>2]=0;C[a+8>>2]=0;C[a>>2]=80;C[a+4>>2]=241;k=a,l=Ve(d,4,0,241,0,b+12|0),C[k+12>>2]=l;Ce=b+16|0;c=C[b+12>>2];if(c){break a}a=C[C[e+36>>2]+12>>2];b=C[e+32>>2];C[b+36>>2]=-1;C[b+28>>2]=a;c=0;break a}e:{if(cf(a,24432,15)){break e}f:{switch(D[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(h&8)){break a}h=e+139304|0;c=yh(h,32174,a,b);C[g+172>>2]=c;if(c){break a}f=0;c=C[C[h>>2]+4>>2];g:{if(!c){break g}f=D[c|0];if(!f){break g}b=281616;h=10;h:{if((f|0)!=48){break h}if((D[c+1|0]|32)!=120){f=48;break h}f=D[c+2|0];b=281584;h=16;c=c+2|0}a=f<<24>>24;j=f&248;f=0;if(!(D[(j>>>3|0)+b|0]>>>(a&7)&1)){break g}while(1){f=D[a+281648|0]+I(f,h)|0;a=A[c+1|0];c=c+1|0;if(D[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}C[C[e+32>>2]+72>>2]=f;C[e+4>>2]=f;a=Ve(i,16,0,f,0,g+172|0);b=C[e+32>>2];C[b+80>>2]=a;c=C[g+172>>2];if(c){C[b+72>>2]=0;break a}C[e>>2]=C[e>>2]|16;C[d>>2]=886;c=0;break a}i:{if(cf(a,22607,15)){break i}j:{switch(D[a+15|0]){case 0:case 9:case 10:case 13:case 32:break j;default:break i}}c=178;if(!(h&4)){break a}c=yh(e+139304|0,32174,a,b);if(c){break a}a=C[e+32>>2];b=C[e+139304>>2];k=a,l=xm(C[b+4>>2]),B[k+4>>1]=l;d=xm(C[b+8>>2]);B[a+6>>1]=d;k=a,l=Vk(C[b+12>>2]),B[k+8>>1]=l;b=Vk(C[b+16>>2]);B[a+10>>1]=b;c=0;B[a+14>>1]=0-b;B[a+12>>1]=b+d;C[e>>2]=C[e>>2]|8;break a}k:{if(cf(a,23269,4)){break k}l:{switch(D[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+139304|0;c=yh(d,32174,a,b);C[g+172>>2]=c;if(c){break a}rw(d);b=qw(d,g+32|0);if(!b){c=3;break a}a=C[C[e+32>>2]>>2];if(a){Fe[C[i+8>>2]](i,a)}C[C[e+32>>2]>>2]=0;d=C[g+32>>2]+1|0;a=Ve(i,1,0,d,0,g+172|0);C[C[e+32>>2]>>2]=a;c=C[g+172>>2];if(c){break a}t(a,b,d);f=C[e+36>>2];a=Ce-272|0;Ce=a;d=6;b=C[e+32>>2];m:{if(!b){break m}c=C[b>>2];if(!c|!D[c|0]){break m}i=C[b+278664>>2];C[a+8>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+12>>2]=i;C[b+28>>2]=C[f+12>>2];f=af(c)+1|0;if(f>>>0>255){break m}d=a+16|0;t(d,c,f);d=yh(a,30333,d,f);n:{if(d|C[a+8>>2]!=15){break n}c=32;o:{p:{switch(A[C[C[a>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}C[b+28>>2]=c}b=C[a+12>>2];if(!b){break m}c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}}Ce=a+272|0;c=d;if(c){break a}C[e>>2]=C[e>>2]|2;c=0;break a}q:{if(cf(a,26532,4)){break q}r:{switch(D[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(h&2)){break a}c=yh(e+139304|0,32174,a,b);if(c){break a}d=C[e+32>>2];a=C[e+139304>>2];k=d,l=Uk(C[a+4>>2]),C[k+16>>2]=l;k=d,l=Uk(C[a+8>>2]),C[k+20>>2]=l;k=d,l=Uk(C[a+12>>2]),C[k+24>>2]=l;s:{if(C[e+139312>>2]==5){b=Vk(C[a+16>>2]);B[d+278662>>1]=b;a=0;t:{if(!b){c=1;break t}c=b;f=0;while(1){f=c&1?a:f;i=c&65535;c=i>>>1|0;a=a+1|0;if(i>>>0>1){continue}break}a=f&65535;c=a>>>0>3?8:1<>1]=c<<1;break s}B[d+278662>>1]=1}C[e>>2]=C[e>>2]|4;c=0;break a}c=3;if(cf(a,24115,5)){break a}u:{switch(D[a+5|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break a}}c=179;if(!(h&8)){break a}a=B[f+12>>1];C[f+40>>2]=a;C[g+16>>2]=a;a=g+32|0;em(a,g+16|0);c=qj(C[e+32>>2],23482,a);C[g+172>>2]=c;if(c){break a}b=C[e+32>>2];a=B[b+14>>1];C[b+44>>2]=a;C[g>>2]=a;a=g+32|0;em(a,g);c=qj(C[e+32>>2],23437,a);if(c){break a}B[C[e+32>>2]+278660>>1]=1;C[d>>2]=887;c=-1}Ce=g+176|0;return c|0}function np(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=Ce-272|0;Ce=e;C[e+4>>2]=0;C[e>>2]=0;g=6;a:{if(!b|!((d|0)!=0|(c|0)<0)){break a}l=D[b|0]&2?C[b+16>>2]!=0:l;g=Tk(a,b,e+4|0);C[e+8>>2]=g;b:{c:{d:{e:{f:{g:{h:{i:{j:{if(g){break j}q=C[a>>2];k:{f=C[b>>2];if(!(f&8)){break k}i=C[b+20>>2];if(!i){break k}l:{if(A[C[i>>2]]&1){h=e+4|0;if(f&16){m=C[b+28>>2];a=C[b+24>>2]}else{a=0}a=kw(i,h,l,c,a,m,e);C[e+8>>2]=a;if(a){break l}break d}C[e+8>>2]=32}a=C[e+4>>2];if(!a){break c}b=C[a+28>>2];m:{if(!a){break m}c=C[a+24>>2];if(!c){break m}Fe[c|0](a)}if(l){break c}if(a){Fe[C[b+8>>2]](b,a)}break c}g=11;C[e+8>>2]=11;i=C[a+16>>2];if((i|0)<=0){i=0;f=C[e+4>>2];break e}m=a+20|0;j=m+(i<<2)|0;f=0;while(1){i=C[m>>2];if(A[C[i>>2]]&1){h=0;g=e+4|0;if(D[b|0]&16){h=C[b+28>>2];f=C[b+24>>2]}else{f=0}g=kw(i,g,l,c,f,h,e);C[e+8>>2]=g;if(!g){break d}h=g&255;if(!(Se(C[C[C[m>>2]>>2]+8>>2],16802)|(h|0)!=142)){f=C[e+4>>2];if(bf(f,0)){break j}g=jw(a,f,c,d);C[e+8>>2]=g;if(!g){break i}h=g&255}f=i;if((h|0)!=2){break j}}m=m+4|0;if(j>>>0>m>>>0){continue}break}i=f}f=g&255;switch(f-81|0){case 0:case 4:break f;case 1:case 2:case 3:break g;default:break h}}g=0;if(!f){break a}a=C[f+28>>2];n:{if(!f){break n}b=C[f+24>>2];if(!b){break n}Fe[b|0](f)}if(l){break a}if(f){Fe[C[a+8>>2]](a,f)}break a}if((f|0)==2){break f}}f=C[e+4>>2];break e}o:{p:{q:{r:{f=C[e+4>>2];s:{if(!f){g=85;break s}g=bf(f,0);t:{u:{v:{if(g){break v}g=jg(f,e+144|0,128);if(g){break v}if(D[e+226|0]|(D[e+144|0]|D[e+218|0])){break u}h=D[e+145|0];if(!h|h>>>0>33|(D[e+207|0]|D[(e+h|0)+146|0])){break u}h=D[e+227|0]|D[e+228|0]<<8|(D[e+229|0]<<16|D[e+230|0]<<24);g=mp(a,f,((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+127&-128)+128|0,c,d)}if((g&255)!=2){break t}}g=mp(a,f,0,c,d)}h=g&255;if((h|0)==85){break s}if((h|0)!=2){break r}}if(!(D[b|0]&4)){break r}k=C[a>>2];m=0;C[e+12>>2]=0;h=a;o=C[b+12>>2];p=e+144|0;t=e+96|0;g=e+48|0;a=0;while(1){j=a<<2;r=j+p|0;C[r>>2]=0;w:{x:{if(!f){n=g+j|0;C[n>>2]=0;break x}n=g+j|0;s=bf(f,0);C[n>>2]=s;if(s){break w}}u=n,v=Fe[C[(a<<3)+281792>>2]](h,f,o,r,j+t|0)|0,C[u>>2]=v}a=a+1|0;if((a|0)!=9){continue}break}n=2;g=0;while(1){y:{a=C[(g<<3)+281796>>2]-3>>>0<2&g>>>0<=8;z:{if(m&255?a:0){break z}o=g<<2;if(C[o+(e+48|0)>>2]){break z}C[e+16>>2]=4;j=C[o+(e+144|0)>>2];if(!j){j=C[b+12>>2]}C[e+28>>2]=j;n=Tk(h,e+16|0,e+12|0);m=a?(n&255)==81?1:m:m;if(n){break z}j=C[e+12>>2];n=mp(h,j,C[o+(e+96|0)>>2],c,d);if(j){o=C[j+28>>2];A:{if(!j){break A}p=C[j+24>>2];if(!p){break A}Fe[p|0](j)}if(j){Fe[C[o+8>>2]](o,j)}}if(!n){n=0;break y}m=a?1:m}g=g+1|0;if((g|0)!=9){continue}}break}a=C[e+144>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+144>>2]=0}a=C[e+148>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+148>>2]=0}a=C[e+152>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+152>>2]=0}a=C[e+156>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+156>>2]=0}a=C[e+160>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+160>>2]=0}a=C[e+164>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+164>>2]=0}a=C[e+168>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+168>>2]=0}a=C[e+172>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+172>>2]=0}a=C[e+176>>2];if(a){Fe[C[k+8>>2]](k,a)}if(n){break o}C[e+8>>2]=0;break q}C[e+8>>2]=g;if(g){break p}}if(!f){break b}a=C[f+28>>2];B:{if(!f){break B}b=C[f+24>>2];if(!b){break B}Fe[b|0](f)}if(l){break b}if(f){Fe[C[a+8>>2]](a,f)}break b}if((g&255)!=2){break e}}C[e+8>>2]=2}if(!f){break c}a=C[f+28>>2];C:{if(!f){break C}b=C[f+24>>2];if(!b){break C}Fe[b|0](f)}if(l){break c}if(f){Fe[C[a+8>>2]](a,f)}break c}a=hf(q,12,e+8|0);D:{if(!C[e+8>>2]){b=C[e>>2];C[a+8>>2]=b;Zo(C[b+96>>2]+16|0,a);if((c|0)>=0){a=mw(b,0);C[e+8>>2]=a;if(a){break D}a=iw(b,e+144|0);C[e+8>>2]=a;if(a){break D}C[b+88>>2]=C[e+144>>2]}c=C[b+8>>2];E:{if(!(c&1)){break E}a=B[b+74>>1];if((a|0)<0){a=0-a|0;B[b+74>>1]=a}if(c&32){break E}B[b+78>>1]=a}F:{if(!(c&2)){break F}i=C[b+28>>2];if((i|0)<=0){break F}f=C[b+32>>2];a=0;while(1){c=f+(a<<4)|0;l=B[c>>1];if((l|0)<0){B[c>>1]=0-l}l=C[c+8>>2];if((l|0)<0){C[c+8>>2]=0-(l<<16)>>16}l=C[c+12>>2];if((l|0)<0){C[c+12>>2]=0-l}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=C[b+128>>2];C[a+56>>2]=1;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=65536;C[a>>2]=65536;C[a+4>>2]=0;if(d){C[d>>2]=b;break b}wm(b);break b}if(!a){break c}b=C[e>>2];if(!b){break b}}a=C[b+96>>2];if(!a){break b}d=C[b+128>>2];c=C[d+56>>2];C[d+56>>2]=c-1;if((c|0)>1){break b}c=C[a+8>>2];i=a+16|0;d=Qi(i,b);if(!d){break b}nj(i,d);if(d){Fe[C[c+8>>2]](c,d)}gk(c,b,a);break b}a=C[e>>2];if(!a){break b}gk(q,a,i)}g=C[e+8>>2]}Ce=e+272|0;return g}function yL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;h=si(C[C[b+96>>2]+4>>2],3922);if(!h){return 11}f=bf(a,0);a:{if(f){break a}f=Fe[C[h+4>>2]](a,b,c,d,e)|0;if(f){break a}g=C[b+104>>2];a=C[b+148>>2];if(!((a|0)==65536|(a|0)==1953658213)){f=2;if((a|0)!=131072){break a}}C[b+8>>2]=C[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=Fe[C[h+8>>2]](g,b,c,d,e)|0;if(f){break a}h=0;j=Ce-80|0;Ce=j;b:{c:{if(!b){break c}a=C[b+20>>2];if(a){e=1;if(kg(a,354048)){break b}if(kg(a,354068)){break b}if(kg(a,354088)){break b}if(kg(a,354108)){break b}if(kg(a,354128)){break b}if(kg(a,354148)){break b}if(kg(a,354168)){break b}if(kg(a,354188)){break b}if(kg(a,354208)){break b}}p(j,0,68);c=0;d:{f=E[b+152>>1];if(f){while(1){d=1;a=0;l=k<<4;e=C[l+C[b+156>>2]>>2];e:{if((e|0)!=1668707360){f:{if((e|0)!=1886545264){if((e|0)!=1718642541){break e}a=1;break f}a=2}d=c}e=0;c=0;while(1){f=C[b+156>>2]+l|0;i=I(e,24)+(a<<3)|0;if(C[f+12>>2]==C[i+354244>>2]){n=i+354240|0;g:{if(c){break g}i=C[b+508>>2];if(!i){c=0;break g}c=0;if(Fe[i|0](b,C[f>>2],C[b+104>>2],0)|0){break g}i=C[b+104>>2];f=C[(C[b+156>>2]+l|0)+12>>2];if(Bf(i,f)){break g}if(f>>>0>3){while(1){c=vg(i)+c|0;f=f-4|0;if(f>>>0>3){continue}break}}m=3;if(f){while(1){o=c;c=C[i+32>>2];if(c>>>0>2]){C[i+32>>2]=c+1;c=D[c|0]}else{c=0}c=o+((c<<24>>24&255)<<(m<<3))|0;m=m-1|0;f=f-1|0;if(f){continue}break}}xf(i)}i=j+(e<<2)|0;f=C[i>>2];if(C[n>>2]==(c|0)){f=f+1|0;C[i>>2]=f}if((f|0)==3){break d}}e=e+1|0;if((e|0)!=17){continue}break}f=E[b+152>>1];c=d}k=k+1|0;if(k>>>0<(f&65535)>>>0){continue}break}}a=c&255;while(1){c=j+(h<<2)|0;e=C[c>>2];if(!(h-5>>>0>11|a)){e=e+1|0;C[c>>2]=e}if((e|0)==3){break d}c=h|1;if((c|0)==17){break c}c=j+(c<<2)|0;e=C[c>>2];if(!(h-4>>>0>11|a)){e=e+1|0;C[c>>2]=e}if((e|0)==3){break d}h=h+2|0;continue}}e=1;break b}e=0}Ce=j+80|0;if(e){C[b+8>>2]=C[b+8>>2]|8192}c=0;f=Ce-16|0;Ce=f;j=C[g+28>>2];h:{if(Fe[C[b+508>>2]](b,1751412088,g,f+8|0)|0){break h}a=C[f+8>>2];if(a>>>0<8){break h}e=b+704|0;a=dh(g,a,e);C[f+12>>2]=a;i:{if(a){break i}j:{k:{d=C[e>>2];l:{if(D[d|0]<<8|D[d+1|0]){break l}a=D[d+3|0]|D[d+2|0]<<8;if(a>>>0>255){break l}c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0>4294901759?c&65535:c;if(h>>>0>65537){break l}if(h>>>0>3){break k}}C[f+12>>2]=3;break j}i=C[f+8>>2];c=0;q=b,r=Ve(j,1,0,a,0,f+12|0),C[q+720>>2]=r;if(C[f+12>>2]){break j}m:{if(!a){break m}j=d+i|0;e=d+8|0;while(1){d=e+h|0;if(d>>>0>j>>>0){break m}A[C[b+720>>2]+c|0]=D[e|0];e=d;c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}C[b+712>>2]=c;a=C[f+8>>2];C[b+716>>2]=h;C[b+708>>2]=a;break i}Wf(g,e);C[b+708>>2]=0}c=C[f+12>>2]}Ce=f+16|0;f=c;if(c){break a}f=0;n:{if(!(A[b+8|0]&1)){break n}o:{if(!C[C[b+128>>2]+48>>2]){a=Ce-16|0;Ce=a;c=Fe[C[b+508>>2]](b,1735162214,g,b+668|0)|0;p:{q:{if((c&255)==142){C[b+668>>2]=0;break q}if(c){break p}}c=144;if(Fe[C[b+508>>2]](b,1819239265,g,a+12|0)|0){break p}d=C[a+12>>2];r:{if(E[b+210>>1]){h=2;c=8;if(d>>>0<=262143){break r}break p}h=1;c=8;if(d>>>0>131071){break p}}c=d>>>h|0;C[b+696>>2]=c;e=C[b+16>>2];s:{if(e>>>0>>0){break s}i=e+1|0;if((i|0)==(c|0)){break s}f=C[b+156>>2];d=E[b+152>>1];e=f+(d<<4)|0;c=2147483647;j=C[g+8>>2];if(d){while(1){d=C[f+8>>2]-j|0;c=(d|0)>0?(c|0)>(d|0)?d:c:c;f=f+16|0;if(e>>>0>f>>>0){continue}break}}d=i<>2]-j|0}if(c>>>0>>0){d=C[a+12>>2];break s}C[b+696>>2]=C[b+16>>2]+1;C[a+12>>2]=d}c=dh(g,d,b+700|0)}Ce=a+16|0;f=c;if(c){break o}}f=Pu(b,g);if(f){break o}a=Ce-16|0;Ce=a;t:{if(Fe[C[b+508>>2]](b,1718642541,g,a+12|0)|0){C[b+628>>2]=0;C[b+632>>2]=0;f=0;break t}c=C[a+12>>2];C[b+628>>2]=c;f=dh(g,c,b+632|0)}Ce=a+16|0;if(f){break o}a=Ce-16|0;Ce=a;u:{if(Fe[C[b+508>>2]](b,1886545264,g,a+12|0)|0){C[b+636>>2]=0;C[b+640>>2]=0;f=0;break u}c=C[a+12>>2];C[b+636>>2]=c;f=dh(g,c,b+640|0)}Ce=a+16|0}if(!C[b+700>>2]|(C[C[b+128>>2]+48>>2]|!C[b+28>>2])){break n}d=0;e=0;g=Ce-16|0;Ce=g;a=0;h=C[b+696>>2];v:{if(!h){break v}while(1){zo(b,d,g+12|0);w:{if(!C[g+12>>2]){c=a;break w}c=1;e=d;if(!a){break w}a=0;break v}a=c;d=d+1|0;if((h|0)!=(d|0)){continue}break}a=0;if((c|0)!=1){break v}a=1;if(!e){break v}a=0;if(hp(b,e,g+4|0,8)|D[g+4|0]!=46){break v}a=(D[g+4|0]|D[g+5|0]<<8|(D[g+6|0]<<16|D[g+7|0]<<24))==1953459758&(D[g+8|0]|D[g+9|0]<<8|(D[g+10|0]<<16|D[g+11|0]<<24))==6710628}Ce=g+16|0;if(!a){break n}C[b+8>>2]=C[b+8>>2]&-2}C[b+528>>2]=1163;C[b+524>>2]=1164;C[b+520>>2]=1165;C[b+512>>2]=1166;C[b+516>>2]=1167}return f|0}function Cr(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,k=0,l=0,m=0;a:{c=C[b+1300>>2];b:{c:{if((c|0)<0){break c}a=C[105604];if(!a){break c}while(1){if((c|0)==C[a>>2]){break b}a=C[a+1320>>2];if(a){continue}break}}h=Fe[C[94503]](1328)|0;if(h){C[94507]=C[94507]+1}if(!h){break b}lf(h,0,1328);C[h>>2]=C[b+1300>>2];d=b+1304|0;a=0;j=Ce-32|0;Ce=j;d:{e:{while(1){if(!C[I(a,12)+149648>>2]){c=a;break e}c=a|1;if(!C[I(c,12)+149648>>2]){break e}a=a+2|0;if((a|0)!=506){continue}break}a=0;break d}a=C[I(c,12)+149656>>2]}f:{if(a){d=Og(a);break f}a=34979;while(1){c=a;a=a+1|0;e=D[c|0];if((e|0)==32){continue}break}f=d?d:34979;while(1){a=f;f=a+1|0;d=D[a|0];if((d|0)==32){continue}break}g:{h:{if(!(!e|!d)){e=(af(c)+af(a)|0)+2|0;d=Fe[C[94503]](e>>>0<=1?1:e)|0;if(d){C[94507]=C[94507]+1}if(d){break h}d=0;break f}d=Og(d?a:10741);if(d){break g}d=0;break f}C[j+20>>2]=a;C[j+16>>2]=c;rf(d,e,8247,j+16|0)}a=af(d);i:{j:{while(1){c=a;if(!a){c=0;A[d|0]=0;e=-1;break j}a=c-1|0;if(D[d+a|0]==32){continue}break}A[c+d|0]=0;e=c-1|0;if(e){break j}c=1;break i}a=0;while(1){f=a+1|0;g=a+d|0;k:{if(D[g|0]!=32){a=f;break k}k=d+f|0;if(D[k|0]!=32){a=f;break k}Eh(g,k,c-a|0);c=e}e=c-1|0;if(e>>>0>a>>>0){continue}break}}a=af(34275);e=0;l:{m:{if(!Ng(d,34275,a)){break m}a=af(6209);e=1;if(!Ng(d,6209,a)){break m}a=af(30269);e=2;if(!Ng(d,30269,a)){break m}a=af(27405);e=3;if(!Ng(d,27405,a)){break m}a=af(34266);if(Ng(d,34266,a)){break l}e=4}f=C[(e<<3)+125012>>2];e=af(f);if(e>>>0>a>>>0){break l}gf(d,f,e);f=a+d|0;a=c-a|0;Eh(d+e|0,f,a+1|0);c=a+e|0}i=c-1|0;n:{if(i>>>0<2){break n}k=1;while(1){o:{f=D[d|0];if(!f){break o}a=d+k|0;g=0;e=d;p:{while(1){q:{if(!D[a|0]){break q}f=f&255;m=f-65>>>0<26?f|32:f;f=D[a|0];if((m|0)!=((f-65>>>0<26?f|32:f)|0)){break q}g=g+1|0;a=a+1|0;f=D[e+1|0];e=e+1|0;if(f){continue}break p}break}if(!g){break o}}a=d+g|0;if(D[a-1|0]==32){Eh(d,a,(c-g|0)+1|0);break n}if(D[a|0]!=32){break o}Eh(d,a+1|0,c-g|0);break n}k=k+1|0;if((i|0)!=(k|0)){continue}break}}}Ce=j+32|0;C[h+4>>2]=d;if(!d){break a}a=Og(b+1368|0);C[h+8>>2]=a;if(!a){a=C[h+4>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}break a}d=C[b+8>>2];C[h+24>>2]=d;e=C[b+12>>2];C[h+20>>2]=e;a=0;c=C[105602];C[105602]=c+1;C[h+12>>2]=c;H[h+32>>3]=H[b>>3];r:{if((d|0)<=0){break r}if(d>>>0>=4){k=d&-4;f=h+40|0;while(1){g=a<<3;j=b+16|0;H[g+f>>3]=H[j+g>>3];i=g|8;H[i+f>>3]=H[j+i>>3];i=g|16;H[i+f>>3]=H[j+i>>3];g=g|24;H[g+f>>3]=H[g+j>>3];a=a+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}f=d&3;if(!f){break r}d=0;while(1){g=a<<3;H[(g+h|0)+40>>3]=H[(b+g|0)+16>>3];a=a+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}s:{if((e|0)<=0){break s}a=0;if((e|0)!=1){k=e&-2;d=h+552|0;f=b+528|0;g=h+1064|0;j=b+1040|0;l=0;while(1){i=a<<3;H[i+d>>3]=H[f+i>>3];i=a<<2;C[i+g>>2]=C[j+i>>2];i=a|1;m=i<<3;H[m+d>>3]=H[f+m>>3];i=i<<2;C[i+g>>2]=C[j+i>>2];a=a+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}}if(!(e&1)){break s}d=a<<3;H[(d+h|0)+552>>3]=H[(b+d|0)+528>>3];a=a<<2;C[(a+h|0)+1064>>2]=C[(a+b|0)+1040>>2]}a=C[105603];t:{if(!a){C[105604]=h;break t}C[a+1320>>2]=h}C[105603]=h;C[105601]=C[105601]+1;f=Ce+-64|0;Ce=f;b=c;h=_s(c);u:{if((h|0)<0){break u}a=Fe[C[95341]]()|0;v:{w:{x:{if((a|0)<=(h|0)){C[f>>2]=a;Qe(18003,f);break x}a=Fe[C[95345]](h)|0;if((a|0)>=0){break w}}if(!Rn(h)){break v}a=0;c=C[104772];if((c|0)<=0){break w}d=C[104771];y:{while(1){if(C[d+(a<<2)>>2]==-1){break y}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}if((a|0)<0){break v}}g=Ce-16|0;Ce=g;c=C[104772];z:while(1){j=(a|0)<0;e=-1;A:{if(j){break A}e=-1;if((a|0)>=(c|0)){break A}e=C[C[104771]+(a<<2)>>2]}B:{C:{if((a|0)>=(c|0)){c=a+1|0;d=Sf(C[104771],c<<2);if(!d){_e(0);break B}C[104771]=d;l=C[104772];lf(d+(l<<2)|0,255,(a-l<<2)+4|0);C[104772]=c;break C}if(j){break C}if(C[C[104771]+(a<<2)>>2]==(b|0)){break B}}d=0;D:{E:{if((c|0)<=0){break E}l=C[104771];while(1){if(C[l+(d<<2)>>2]==(b|0)){break E}d=d+1|0;if((d|0)!=(c|0)){continue}break}break D}c=(c|0)==(d|0)?-1:d;if((c|0)<0){break D}C[C[104771]+(c<<2)>>2]=-1}if(!j){C[C[104771]+(a<<2)>>2]=b}d=0;F:{G:{b=_s(b);if((b|0)>=0){d=Fe[C[95341]]()|0;if((b|0)<(d|0)){break G}}C[g>>2]=d;Qe(18003,g);break F}Fe[C[95346]](b,a)}if((e|0)<0){break B}a=0;b=e;c=C[104772];if((c|0)<=0){continue}d=C[104771];while(1){if(C[d+(a<<2)>>2]==-1){continue z}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c;continue}break}Ce=g+16|0}C[f+8>>2]=1541;if((qf(1541,-1)|0)!=1){break u}C[f+16>>2]=h;Df(f+8|0)}Ce=f- -64|0}return 1}if(h){Fe[C[94506]](h);C[94507]=C[94507]-1}return 1}function KD(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=C[97698];if(b){c=Ce-16|0;Ce=c;a:{if(!(C[b>>2]==422389?b:0)){C[c>>2]=9675;Qe(19745,c);break a}it(469,b);a=C[b+440>>2];if(a){C[a+24>>2]=C[b+444>>2];a=b+436|0}else{a=b+444|0}a=C[a>>2];C[b+444>>2]=0;C[b+436>>2]=0;C[b+440>>2]=0;if(a){while(1){d=C[a+24>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=d;if(a){continue}break}}a=C[b+536>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}while(1){a=C[b+408>>2];if(a){Fj(a);continue}break}a=C[b+204>>2];if(a){or(a,0)}C[b>>2]=0;a=C[b+416>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[b+416>>2]=0;Fe[C[b+96>>2]](b)}Ce=c+16|0}a=C[97699];if(a){rn(a)}a=C[97720];if(a){Fj(a)}a=C[97721];if(a){Fj(a)}a=C[99540];if(a){qi();b:{if((a|0)!=C[104388]){break b}if(C[a+12>>2]==1){while(1){mi();lh(100);qi();if(C[a+12>>2]==1){continue}break}}if((a|0)!=C[104388]){break b}if(C[C[C[104388]>>2]+64>>2]){d=C[104388];Fe[C[C[d>>2]+64>>2]](C[d+4>>2])}C[C[104388]+8>>2]=0;C[C[104388]+12>>2]=0;C[104388]=0}mi();Fe[C[C[a>>2]+68>>2]](C[a+4>>2]);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}a=C[99541];if(a){cz(a)}Xt();Re(C[97724]);Re(C[97725]);Re(C[97730]);Re(C[97736]);a=C[104392];if(a&1){a=C[104392]}if(a&2){a=C[104393];if(a){C[104393]=a-1}a=C[104392]}C[104392]=0;yv();if(C[94460]){a=C[94476];if(a){Fe[a|0]()}C[94460]=0}if(C[94440]){a=C[94456];if(a){Fe[a|0]()}C[94440]=0}a=C[104355];c:{if(!a){break c}a=a-1|0;C[104355]=a;if(a){break c}a=0;d=C[104356];if(d){l=C[d>>2];if(d){b=C[d+188>>2];C[d+188>>2]=b-1;if((b|0)<=1){i=C[d>>2];b=C[d+16>>2];d:{if(!b){break d}while(1){g=C[(d+(a<<2)|0)+20>>2];c=C[g>>2];e:{if(Se(C[c+8>>2],29552)|!(A[c|0]&1)){break e}c=C[g+16>>2];if(!c){break e}while(1){b=C[c+8>>2];f:{if(!b){break f}c=C[b+96>>2];if(!c){break f}f=C[b+128>>2];e=C[f+56>>2];C[f+56>>2]=e-1;if((e|0)>1){break f}e=C[c+8>>2];h=c+16|0;f=Qi(h,b);if(!f){break f}nj(h,f);if(f){Fe[C[e+8>>2]](e,f)}gk(e,b,c)}c=C[g+16>>2];if(c){continue}break}b=C[d+16>>2]}a=a+1|0;if(a>>>0>>0){continue}break}if(!b){break d}a=0;while(1){g=C[(d+(a<<2)|0)+20>>2];g:{if(!(A[C[g>>2]]&1)){break g}c=C[g+16>>2];if(!c){break g}while(1){b=C[c+8>>2];h:{if(!b){break h}c=C[b+96>>2];if(!c){break h}f=C[b+128>>2];e=C[f+56>>2];C[f+56>>2]=e-1;if((e|0)>1){break h}e=C[c+8>>2];h=c+16|0;f=Qi(h,b);if(!f){break h}nj(h,f);if(f){Fe[C[e+8>>2]](e,f)}gk(e,b,c)}c=C[g+16>>2];if(c){continue}break}b=C[d+16>>2]}a=a+1|0;if(a>>>0>>0){continue}break}if(!b){break d}while(1){b=C[(d+(b<<2)|0)+16>>2];i:{if(!d){break i}j:{if(!b){break j}c=C[d+16>>2];if((c|0)<=0){break j}a=d+20|0;e=a+(c<<2)|0;while(1){if((b|0)==C[a>>2]){C[d+16>>2]=c-1;c=e-4|0;if(c>>>0>a>>>0){while(1){C[a>>2]=C[a+4>>2];a=a+4|0;if(c>>>0>a>>>0){continue}break}}C[c>>2]=0;e=C[b>>2];f=C[b+8>>2];c=C[b+4>>2];k:{if(!c){break k}if((b|0)==C[c+160>>2]){C[c+160>>2]=0}if(!(D[e|0]&2)){break k}g=C[c>>2];h=c+148|0;a=Qi(h,b);if(!a){break k}j=C[b+12>>2];l:{if(C[j+36>>2]!=1869968492){break l}k=C[b+52>>2];if(!k){break l}Fe[C[C[j+56>>2]+20>>2]](k)}nj(h,a);if(a){Fe[C[g+8>>2]](g,a)}a=C[h>>2];m:{if(a){while(1){g=C[a+8>>2];if(C[g+16>>2]==1869968492){break m}a=C[a+4>>2];if(a){continue}break}}g=0}C[c+156>>2]=g}if(A[C[b>>2]]&1){Yo(b+16|0,903,C[b+8>>2],b)}a=C[e+28>>2];if(a){Fe[a|0](b)}if(b){Fe[C[f+8>>2]](f,b)}break i}a=a+4|0;if(e>>>0>a>>>0){continue}break}}}b=C[d+16>>2];if(b){continue}break}}if(d){Fe[C[i+8>>2]](i,d)}}}Re(l)}}A[417696]=1;Qj(62001);A[422420]=0;while(1){b=C[104767];if(b){C[104767]=C[b+16>>2];a=C[b>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[b+4>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[b+12>>2];if(a){while(1){d=C[a+8>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=d;if(a){continue}break}}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}continue}break}b=Ce-32|0;Ce=b;a=C[104425];if(!(!a|C[94477]==132)){Gk(34683,0);Gk(34935,0);while(1){d=C[a+8>>2];c=C[a+16>>2];e=C[a+12>>2];f=C[a+20>>2];i=C[a>>2];g=C[a+4>>2];C[b+16>>2]=g;C[b+24>>2]=i?7525:11511;C[b+20>>2]=(g|0)==1?34979:8980;C[b+4>>2]=f;C[b+8>>2]=e;C[b+12>>2]=c;C[b>>2]=d;Gk(34708,b);a=C[a+24>>2];if(a){continue}break}Gk(34978,0);a=C[104425];if(a){while(1){C[a>>2]=0;C[a+4>>2]=0;d=C[a+24>>2];C[a+24>>2]=0;a=d;if(a){continue}break}}C[104425]=0}Ce=b+32|0;while(1){a=C[105546];if(a){C[105546]=C[a+8>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}continue}break}C[94500]=4;C[94499]=6;C[94501]=3;a=C[105545];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[105545]=0}lf(417664,0,32);A[417696]=0}function FR(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,k=0,l=0,m=0,n=0;i=C[c+92>>2];j=20;h=1;a=0;m=C[c+80>>2];b=!m;while(1){a:{b:{c:{if(!b){a=D[j+191840|0]==7?g:a;d=j<<1;f=B[d+191568>>1]+190720|0;b=A[j+191648|0];j=D[(I(g,20)+i|0)+18|0];k=D[d+190624|0];if(j>>>0>=k>>>0){b=j>>>0>D[d+190625|0]?b:j-k|0}b=A[b+f|0];break c}if((j|0)==20){break b}g=m;b=D[j+191792|0]-1|0}j=A[b+191696|0];d=b&31;d:{if(((b&63)>>>0>=32?12095>>>d|0:((1<>>d)&1){break d}e:{switch(A[b+191744|0]-1|0){case 1:e=g+1|0;break d;case 7:e=g+1|0;f:{if(e>>>0<=a>>>0){break f}f=h<<4|2;d=a;k=g-d|0;n=k+1&7;if(n){b=0;while(1){A[(I(d,20)+i|0)+15|0]=f;d=d+1|0;b=b+1|0;if((n|0)!=(b|0)){continue}break}}if(k>>>0<=6){break f}while(1){b=I(d,20)+i|0;A[b+35|0]=f;A[b+15|0]=f;A[b+55|0]=f;A[b+75|0]=f;A[b+95|0]=f;A[b+115|0]=f;A[b+135|0]=f;A[b+155|0]=f;b=d+7|0;d=d+8|0;if((b|0)!=(g|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 9:g:{if(a>>>0>=g>>>0){break g}e=h<<4;b=a;f=g-b&7;if(f){d=0;while(1){A[(I(b,20)+i|0)+15|0]=e;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break g}while(1){d=I(b,20)+i|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 11:h:{if(a>>>0>=g>>>0){break h}e=h<<4|1;b=a;f=g-b&7;if(f){d=0;while(1){A[(I(b,20)+i|0)+15|0]=e;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break h}while(1){d=I(b,20)+i|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 10:i:{if(a>>>0>=g>>>0){break i}e=h<<4|2;b=a;f=g-b&7;if(f){d=0;while(1){A[(I(b,20)+i|0)+15|0]=e;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break i}while(1){d=I(b,20)+i|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 0:g=e-1|0;j:{if(a>>>0>=e>>>0){break j}f=h<<4;b=a;k=e-b&7;if(k){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break j}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 4:g=e-1|0;k:{if(a>>>0>=e>>>0){break k}f=h<<4|1;b=a;k=e-b&7;if(k){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break k}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:l:{switch(l-2|0){case 0:g=e-1|0;m:{if(a>>>0>=e>>>0){break m}f=h<<4|1;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=2;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 1:break l;default:break d}}g=e-1|0;n:{if(a>>>0>=e>>>0){break n}f=h<<4|2;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break n}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=3;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 3:e=g+1|0;l=2;break d;case 8:break e;default:break d}}e=g+1|0;l=3}a=D[j+191888|0]!=6?a:0;g=g+1|0;if((m|0)!=(g|0)){break a}b=1;continue}b=C[c+80>>2];o:{if(!b){break o}a=b-1|0;g=0;e=C[c+92>>2];d=D[e+15|0];while(1){p:{if((a|0)==(g|0)){g=b;break p}g=g+1|0;if((d|0)==D[(e+I(g,20)|0)+15|0]){continue}}break}if(!b){break o}j=0;d=b;while(1){a=g;if(g-j>>>0>=2){Rf(c,j,a);d=C[c+80>>2]}g=a+1|0;e=d>>>0>g>>>0?d:g;j=e-1|0;m=C[c+92>>2];h=D[(m+I(a,20)|0)+15|0];g=a;while(1){q:{if((g|0)==(j|0)){g=e;break q}g=g+1|0;if((h|0)==D[(m+I(g,20)|0)+15|0]){continue}}break}j=a;if(a>>>0>>0){continue}break}}return}b=0;continue}}function Ch(a){var 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;b=C[a>>2];if(!b){s=a-92|0;while(1){b=C[s>>2];if(!b){return 205712}g=df(1,12);if(!g){C[a>>2]=205712;return 205712}e=Ce-48|0;Ce=e;C[e+8>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;A[e+24|0]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+28>>2]=0;C[e+32>>2]=0;c=Qf(b);A[e+40|0]=1;C[e+36>>2]=c;b=Of(b,1196445523);a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}A[e+24|0]=0;c=b;C[e+32>>2]=b;d=C[b+12>>2];C[e+4>>2]=d;f=C[b+16>>2];C[e+8>>2]=f+d;C[e+28>>2]=0;if(f>>>0>67108862){h=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}C[e+12>>2]=h;C[e+20>>2]=0;C[e>>2]=0;b:{c:{if(!d){break c}d:{e:{f:{g:{if(Jp(d,e)){break g}h:{if(D[e+24|0]|!C[e+28>>2]){break h}c=Pf(b);C[e+4>>2]=c;C[e+8>>2]=c+C[b+16>>2];if(!c){break h}while(1){A[e+24|0]=1;c=C[e+32>>2];d=C[c+12>>2];C[e+4>>2]=d;f=C[c+16>>2];C[e+8>>2]=f+d;C[e+28>>2]=0;if(f>>>0<=67108862){f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}else{h=1073741823}C[e+12>>2]=h;C[e+20>>2]=0;C[e>>2]=0;if(!d){break c}if(Jp(d,e)){break g}if(D[e+24|0]|!C[e+28>>2]){break h}c=Pf(b);C[e+4>>2]=c;C[e+8>>2]=c+C[b+16>>2];if(c){continue}break}}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;break f}if(!C[e+28>>2]){break e}C[e+28>>2]=0;c=Jp(d,e);d=C[e+28>>2];Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;if(d){break f}if(c){break d}}Ue(b);b=205712;break b}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}break b}Ue(c);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}C[g>>2]=b;h=g;c=b?b:205712;c=F[c+16>>2]<10?205712:C[c+12>>2];d=D[c+8|0]|D[c+9|0]<<8;if(d){c=c+((d<<8|d>>>8)&65535)|0}else{c=205712}c=D[c|0]|D[c+1|0]<<8;c=(c<<8|c>>>8)&65535;C[h+4>>2]=c;d=df(c,24);C[g+8>>2]=d;if(!d){C[g+4>>2]=0;Ue(b);C[g>>2]=0;C[g>>2]=205712;c=C[g+4>>2]}if(c){l=0;while(1){b=205712;c=205712;j=C[g+8>>2]+I(l,24)|0;d=C[g>>2];d=d?d:205712;d=F[d+16>>2]<10?205712:C[d+12>>2];f=D[d+8|0]|D[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=D[c|0]|D[c+1|0]<<8;i:{if(((d<<8|d>>>8)&65535)>>>0<=l>>>0){break i}d=(l<<1)+c|0;d=D[d+2|0]|D[d+3|0]<<8;if(!d){break i}b=((d<<8|d>>>8)&65535)+c|0}C[j>>2]=0;C[j+4>>2]=0;C[j+8>>2]=0;C[e+4>>2]=j;C[e>>2]=0;o=0;f=b;b=D[b+4|0]|D[b+5|0]<<8;if(b){c=D[f|0]|D[f+1|0]<<8;t=(c<<8|c>>>8)&65535;q=f+4|0;b=(b<<8|b>>>8)&65535;u=b>>>0<=1?1:b;while(1){b=D[q|0]|D[q+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=o>>>0?205712:((o<<1)+q|0)+2|0;b=D[b|0]|D[b+1|0]<<8;if(b){c=f+((b<<8|b>>>8)&65535)|0}else{c=205712}b=Lx(c,e,t);k=C[e+4>>2];j:{k:{l:{c=D[b|0]|D[b+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break k;case 0:break l;default:break j}}d=D[b+2|0]|D[b+3|0]<<8;if(!d){break j}c=b+4|0;m=(d<<8|d>>>8)&65535;n=m&1;d=C[k>>2];p=m-1|0;m:{if(!p){b=c;break m}r=m&65534;i=0;b=c;while(1){h=d;d=D[b|0]|D[b+1|0]<<8;h=h|1<<(d>>>12|d<<4);d=D[b+2|0]|D[b+3|0]<<8;d=h|1<<(d>>>12|d<<4);b=b+4|0;i=i+2|0;if((r|0)!=(i|0)){continue}break}}if(n){b=D[b|0]|D[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}C[k>>2]=d;n=m&3;d=C[k+4>>2];p=p>>>0<3;n:{if(p){b=c;break n}r=m&65532;i=0;b=c;while(1){d=1<>2]=d;b=C[k+8>>2];if(!p){i=m&65532;d=0;while(1){b=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|b|1<<((D[c+2|0]|D[c+3|0]<<8)>>>1)|1<<((D[c+4|0]|D[c+5|0]<<8)>>>1)|1<<((D[c+6|0]|D[c+7|0]<<8)>>>1);c=c+8|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}d=0;if(n){while(1){b=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}C[k+8>>2]=b;break j}fl(b,k)}o=o+1|0;if((u|0)!=(o|0)){continue}break}}C[j+20>>2]=0;C[j+12>>2]=0;C[j+16>>2]=0;C[e+4>>2]=j+12;C[e>>2]=0;b=D[f+4|0]|D[f+5|0]<<8;if(b){c=D[f|0]|D[f+1|0]<<8;k=(c<<8|c>>>8)&65535;c=f+4|0;b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){d=D[c|0]|D[c+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=b>>>0?205712:(c+(b<<1)|0)+2|0;d=D[d|0]|D[d+1|0]<<8;if(d){h=f+((d<<8|d>>>8)&65535)|0}else{h=205712}Qx(h,e,k);b=b+1|0;if((j|0)!=(b|0)){continue}break}}l=l+1|0;if(l>>>0>2]){continue}break}}Ce=e+48|0;if(!C[a>>2]){C[a>>2]=g;return g}if(C[g+4>>2]){b=0;while(1){c=C[g+8>>2]+I(b,24)|0;Re(C[c+20>>2]);C[c+20>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}Re(C[g+8>>2]);Ue(C[g>>2]);Re(g);b=C[a>>2];if(!b){continue}break}}return b}function Df(a){var b=0,c=0,d=J(0),e=J(0),f=0,g=0,h=J(0),i=0,j=J(0),k=J(0),l=0,m=0,n=0,o=J(0),p=0,q=0,r=J(0),s=J(0),t=0,u=J(0),v=0,w=0,x=0,y=0,z=0;y=a,z=Dh(),C[y+4>>2]=z;c=C[104746];b=C[104745];a:{b:{if(!c&(b|0)<=0){break b}if(c){if(!(Fe[c|0](C[104747],a)|0)){break a}b=C[104745]}if((b|0)<=0){break b}A[418996]=1;g=b&1;f=C[104744];if((b|0)!=1){m=b&-2;b=0;while(1){c=I(i,12)+f|0;if(!C[c+8>>2]){Fe[C[c>>2]](C[c+4>>2],a)|0;f=C[104744]}c=I(i|1,12)+f|0;if(!C[c+8>>2]){Fe[C[c>>2]](C[c+4>>2],a)|0;f=C[104744]}i=i+2|0;b=b+2|0;if((m|0)!=(b|0)){continue}break}}c:{if(!g){break c}i=I(i,12)+f|0;if(C[i+8>>2]){break c}Fe[C[i>>2]](C[i+4>>2],a)|0;f=C[104744]}A[418996]=0;if(!D[419e3]){break b}i=C[104745];if(i){while(1){b=i;i=b-1|0;c=I(i,12)+f|0;d:{if(!C[c+8>>2]){break d}g=C[104745];m=g-1|0;C[104745]=m;if((b|0)>=(g|0)){break d}Eh(c,I(b,12)+f|0,I(m-i|0,12));f=C[104744]}if(i){continue}break}}A[419e3]=0}i=1;if((Dk(a,1,0,0,0,0)|0)<=0){return-1}f=0;c=Ce-576|0;Ce=c;l=C[a>>2];e:{if(l-1792>>>0>2){break e}p=C[104765];if((p|0)<=0){break e}b=C[a+8>>2];n=C[a+12>>2];m=C[104766];while(1){g=m+I(f,8232)|0;if(C[g>>2]!=(b|0)|C[g+4>>2]!=(n|0)){f=f+1|0;if((p|0)!=(f|0)){continue}break e}break}r=G[a+28>>2];s=G[a+24>>2];f:{g:{h:{i:{switch(l-1792|0){case 1:b=m+I(f,8232)|0;B[b+8216>>1]=E[b+8216>>1]-1;w=b+8216|0;if(C[b+8228>>2]){C[b+8228>>2]=0;ct(b+16|0,c- -64|0,1);if(!D[419056]){break h}p=dt(0,c- -64|0);n=C[104765];if((n|0)<=0){break g}l=0;b=C[104766];a=0;if(n>>>0>=8){t=n&-8;while(1){C[(b+I(a,8232)|0)+8228>>2]=0;C[(b+I(a|1,8232)|0)+8228>>2]=0;C[(b+I(a|2,8232)|0)+8228>>2]=0;C[(b+I(a|3,8232)|0)+8228>>2]=0;C[(b+I(a|4,8232)|0)+8228>>2]=0;C[(b+I(a|5,8232)|0)+8228>>2]=0;C[(b+I(a|6,8232)|0)+8228>>2]=0;C[(b+I(a|7,8232)|0)+8228>>2]=0;a=a+8|0;x=x+8|0;if((t|0)!=(x|0)){continue}break}}n=n&7;if(!n){break g}while(1){C[(b+I(a,8232)|0)+8228>>2]=0;a=a+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}break g}a=0;l=c- -64|0;lf(l,0,512);ct(b+16|0,l,0);if(C[b+8220>>2]<=0){break f}n=b+8220|0;p=(m+I(f,8232)|0)+8224|0;u=J(1e4);l=-1;while(1){h=J(.185407355427742);j=J(-.185407355427742);t=c- -64|0;b=C[p>>2]+I(a,516)|0;k=Vl(t,b,J(-.185407355427742));e=Vl(t,b,J(.185407355427742));q=.7853981633974483;v=-.7853981633974483;while(1){j:{if(e>k){q=+h;o=J(v*.618033989+q*.38196601100000005);d=Vl(c- -64|0,b,o);h=j;break j}o=h;d=e;v=+j;h=J(v*.38196601100000005+q*.618033989);k=Vl(c- -64|0,b,h)}e=k;k=d;j=o;if(K(v-q)>.03490658503988659){continue}break}e=e>d?d:e;b=e>2]){continue}break};if((l|0)<0){break f}a=C[(C[p>>2]+I(l,516)|0)+512>>2];if((qf(2048,-1)|0)!=1){break f}C[c+64>>2]=2048;b=C[g+4>>2];C[c+72>>2]=C[g>>2];C[c+76>>2]=b;b=m+I(f,8232)|0;G[c+96>>2]=G[b+8>>2];e=G[b+12>>2];G[c+92>>2]=u;C[c+80>>2]=a;C[c+84>>2]=0;G[c+100>>2]=e;C[c+88>>2]=E[w>>1]+1;Df(c- -64|0);break f;case 2:e=G[a+36>>2];h=G[a+32>>2];a=m+I(f,8232)|0;b=C[a+20>>2];if((b|0)<=1023){b=(a+16|0)+(b<<3)|0;d=G[a+8>>2];G[b+8>>2]=d;j=G[a+12>>2];G[b+12>>2]=j;d=J(d-G[b>>2]);k=J(d*d);d=J(j-G[b+4>>2]);G[a+16>>2]=G[a+16>>2]+J(R(+J(k+J(d*d))));C[a+20>>2]=C[a+20>>2]+1}j=G[a+12>>2];b=E[a+8216>>1];d=J(b>>>0);G[a+12>>2]=j+J(e/d);k=G[a+8>>2];G[a+8>>2]=k+J(h/d);if(b>>>0<2){break e}d=J(J(s-h)-k);j=J(J(r-e)-j);e=J(R(+J(J(d*d)+J(j*j))));k=J(s-G[a+8>>2]);o=J(r-G[a+12>>2]);h=J(R(+J(J(k*k)+J(o*o))));d=J(d/e);o=J(o/h);k=J(k/h);j=J(j/e);q=Jr(+J(J(d*o)-J(k*j)),+J(J(d*k)+J(j*o)));if((qf(2050,-1)|0)!=1){break e}C[c+64>>2]=2050;b=C[g+4>>2];C[c+72>>2]=C[g>>2];C[c+76>>2]=b;G[c+88>>2]=G[a+8>>2];d=G[a+12>>2];b=e==J(0);G[c+84>>2]=b?J(0):J(h-e);G[c+80>>2]=b?J(0):J(q);G[c+92>>2]=d;B[c+96>>1]=E[a+8216>>1];Df(c- -64|0);break e;case 0:break i;default:break e}}a=m+I(f,8232)|0;C[a+16>>2]=0;C[a+20>>2]=1;G[a+28>>2]=r;G[a+24>>2]=s;b=E[a+8216>>1]+1|0;B[a+8216>>1]=b;b=b&65535;e=J(b-1|0);h=J(b>>>0);G[a+8>>2]=J(J(G[a+8>>2]*e)+s)/h;G[a+12>>2]=J(J(G[a+12>>2]*e)+r)/h;break e}p=dt(g,c- -64|0)}if((p|0)>=0){a=C[(C[(m+I(f,8232)|0)+8224>>2]+I(p,516)|0)+512>>2];if((qf(2049,-1)|0)!=1){break f}C[c+8>>2]=2049;b=C[g>>2];g=C[g+4>>2];C[c+24>>2]=a;C[c+28>>2]=0;C[c+16>>2]=b;C[c+20>>2]=g;Df(c+8|0);break f}if((qf(2049,-1)|0)!=1){break f}C[c+8>>2]=2049;a=C[g>>2];b=C[g+4>>2];C[c+24>>2]=-1;C[c+28>>2]=-1;C[c+16>>2]=a;C[c+20>>2]=b;Df(c+8|0)}b=E[w>>1];if(!b){break e}a=m+I(f,8232)|0;e=J(b+1|0);h=J(b>>>0);G[a+8>>2]=J(J(G[a+8>>2]*e)-s)/h;G[a+12>>2]=J(J(G[a+12>>2]*e)-r)/h}Ce=c+576|0}return i}function CC(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=Ce-32|0;Ce=h;f=C[a+548>>2];e=C[a+412>>2];if(e){e=C[e+4>>2];o=(e|0)==372645892|(e|0)==370546692}else{o=0}j=C[f+388>>2];g=C[((j<<2)+f|0)+324>>2];m=Rh();e=C[f>>2];a:{b:{if((m|0)!=(e|0)){C[f+468>>2]=0;if((sh(C[a+204>>2],e)|0)<0){break b}}e=C[a+548>>2];if(C[e+4>>2]){while(1){if(Fe[C[e+100>>2]]()|0){continue}break}}e=C[a+412>>2];C[f+416>>2]=e;c:{if(e){break c}mr(C[a+204>>2],h+28|0,h+24|0);e=C[h+28>>2];l=C[h+24>>2];if((e|0)==C[f+460>>2]&(l|0)==C[f+464>>2]){break c}C[f+460>>2]=e;C[f+464>>2]=l;C[f+432>>2]=1;C[f+408>>2]=1}Fe[C[f+216>>2]](34962,g);e=(j<<2)+f|0;d:{if(F[e+356>>2]>>0){Fe[C[f+220>>2]](34962,d,c,35040);C[e+356>>2]=d;break d}Fe[C[f+224>>2]](34962,0,d,c)}c=C[f+388>>2]+1|0;C[f+388>>2]=c>>>0<=7?c:0;if(b){m=f+392|0;l=f+436|0;while(1){e:{f:{g:{h:{i:{j:{n=C[b>>2];switch(n-1|0){case 4:case 9:break f;case 5:break g;case 3:break h;case 1:break i;case 0:break j;default:break e}}c=b+8|0;if(!qg(m,c,16)){break e}gf(m,c,16);C[f+408>>2]=1;break e}c=C[b+4>>2];if((c|0)!=C[f+428>>2]){C[f+424>>2]=1;C[f+428>>2]=c}c=b+8|0;if(!qg(l,c,16)){break e}gf(l,c,16);C[f+432>>2]=1;break e}e=D[(o?8:10)+b|0];j=D[b+9|0];g=D[(o?10:8)+b|0];d=D[b+11|0];c=e|(j<<8|g<<16)|d<<24;if((c|0)!=C[f+456>>2]){Fe[C[f+36>>2]](J(J(g>>>0)*J(.003921568859368563)),J(J(j>>>0)*J(.003921568859368563)),J(J(e>>>0)*J(.003921568859368563)),J(J(d>>>0)*J(.003921568859368563)));C[f+456>>2]=c}if(C[f+428>>2]|C[f+424>>2]){Fe[C[f+64>>2]](3089);C[f+424>>2]=C[f+428>>2]}Fe[C[f+32>>2]](16384);break e}if(Bn(f,b,1)){break e}d=C[b+8>>2];if(d>>>0>=3){Fe[C[f+72>>2]](3,0,d);break e}c=C[b+24>>2];k:{if(!c|C[c>>2]!=6){break k}g=C[b+16>>2];e=b;while(1){b=c;if(C[b+8>>2]!=2){b=e;break k}if((g|0)!=C[b+16>>2]){b=e;break k}d=d+2|0;c=C[b+24>>2];if(!c){break k}e=b;if(C[c>>2]==6){continue}break}}Fe[C[f+72>>2]](1,0,d);break e}j=C[b+8>>2];k=C[b+20>>2];d=C[b+24>>2];l:{if(!d){c=b;break l}if(C[d>>2]!=(n|0)){c=b;break l}g=C[b+16>>2];e=b;while(1){c=d;if((k|0)!=C[d+20>>2]){c=e;break l}if((g|0)!=C[c+16>>2]){c=e;break l}j=C[c+8>>2]+j|0;d=C[c+24>>2];if(!d){break l}e=c;if(C[d>>2]==(n|0)){continue}break}}m:{n:{if(k){g=C[a+548>>2];o:{p:{d=C[a+412>>2];if(d){e=2;i=C[d+4>>2];d=C[k+4>>2];if((i|0)==(d|0)){break o}q:{r:{s:{t:{u:{if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break t}if((d|0)!=372645892){break u}e=(i|0)==376840196?3:(i|0)==374740996?3:2;break o}if((d|0)==374740996){break s}if((d|0)==376840196){break p}if((d|0)!=542328143){break u}e=9;break o}e=6;v:{switch(d-842094158|0){case 11:break o;case 0:break r;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break u;default:break v}}if((d|0)==825382478){break q}if((d|0)==1448433993){break o}}e=Qe(5075,0);break m}w:{if((i|0)!=372645892){if((i|0)==374740996){break w}if((i|0)!=376840196){break o}e=3;break o}e=5;break o}e=3;break o}if((i|0)!=370546692){if((i|0)!=372645892){if((i|0)!=376840196){break o}e=5;break o}e=4;break o}e=3;break o}e=7;break o}e=8;break o}x:{y:{z:{A:{B:{d=C[k+4>>2];if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break A}e=3;if((d|0)==372645892){break o}break n}if((d|0)==374740996){break z}if((d|0)==376840196){break B}if((d|0)!=542328143){break n}e=9;break o}C:{switch(d-842094158|0){default:if((d|0)==825382478){break x}if((d|0)!=1448433993){break n}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break n;case 0:break y;case 11:break C}}e=6;break o}e=2;break o}e=4;break o}e=5;break o}e=7;break o}e=8;break o}e=(i|0)==372645892?3:(i|0)==370546692?3:2}e=Bn(g,b,e);if((k|0)==C[g+412>>2]){break m}b=C[k+80>>2];D:{E:{if(C[b+24>>2]){Fe[C[g+8>>2]](33986);Fe[C[g+20>>2]](C[b+4>>2],C[b+32>>2]);break E}if(!C[b+28>>2]){break D}}Fe[C[g+8>>2]](33985);Fe[C[g+20>>2]](C[b+4>>2],C[b+36>>2]);Fe[C[g+8>>2]](33984)}Fe[C[g+20>>2]](C[b+4>>2],C[b>>2]);C[g+412>>2]=k;break m}e=Bn(f,b,1);break m}e=Qe(5075,0)}if(!e){Fe[C[f+72>>2]](((n|0)!=5)<<2,0,j)}b=c}b=C[b+24>>2];if(b){continue}break}}e=C[a+548>>2];if(!C[e+4>>2]){break a}c=Fe[C[e+100>>2]]()|0;if(!c){break a}b=34979;while(1){b=D[b|0]?b:21640;d=25026;a=c-1280|0;if(a>>>0<=5){d=C[(a<<2)+137356>>2]}C[h+20>>2]=c;C[h+16>>2]=d;C[h+12>>2]=16235;C[h+8>>2]=1353;C[h+4>>2]=21666;C[h>>2]=b;Qe(33817,h);c=Fe[C[e+100>>2]]()|0;if(c){continue}break}}p=-1}Ce=h+32|0;return p|0}function hA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0,j=0,k=0,l=0,m=J(0),n=J(0),o=0,p=0,q=0,r=0,s=0,t=J(0),u=J(0),v=J(0),w=J(0),x=J(0),y=0,z=0;c=C[a+64>>2];y=C[c+104>>2];o=C[c+4>>2];d=C[o+28>>2];i=C[d+(C[a+28>>2]<<2)>>2];C[a+36>>2]=i;z=Ce;g=C[o+4>>2];c=(g<<2)+15&-16;k=z-c|0;e=k;Ce=e;j=e-c|0;e=j;Ce=e;e=e-c|0;Ce=e;p=e-c|0;Ce=p;if((g|0)>0){l=i<<1&2147483646;c=0;while(1){g=c<<2;h=C[((C[(g+b|0)+4>>2]<<2)+b|0)+1028>>2]<<2;h=Fe[C[C[(C[(d+h|0)+800>>2]<<2)+60612>>2]+20>>2]](a,C[h+C[y+48>>2]>>2])|0;C[g+p>>2]=h;C[e+g>>2]=(h|0)!=0;We(C[g+C[a>>2]>>2],0,l);c=c+1|0;if((c|0)>2]){continue}break}}h=0;c=C[b+1156>>2];if((c|0)>0){while(1){l=(h<<2)+b|0;g=C[l+2184>>2];l=e+(C[l+1160>>2]<<2)|0;if(C[l>>2]|C[e+(g<<2)>>2]){C[l>>2]=1;C[e+(g<<2)>>2]=1}h=h+1|0;if((h|0)!=(c|0)){continue}break}}if(C[b>>2]>0){c=0;while(1){h=0;g=0;l=C[o+4>>2];if((l|0)>0){while(1){q=h<<2;if(C[(q+b|0)+4>>2]==(c|0)){l=g<<2;C[l+j>>2]=C[e+q>>2]!=0;C[k+l>>2]=C[q+C[a>>2]>>2];l=C[o+4>>2];g=g+1|0}h=h+1|0;if((l|0)>(h|0)){continue}break}}h=C[((c<<2)+b|0)+1092>>2]<<2;Fe[C[C[(C[(d+h|0)+1312>>2]<<2)+60620>>2]+28>>2]](a,C[h+C[y+52>>2]>>2],k,j,g)|0;c=c+1|0;if((c|0)>2]){continue}break}c=C[b+1156>>2]}if((c|0)>0){l=(i|0)/2|0;k=C[a>>2];while(1){e=c;c=c-1|0;if((i|0)>=2){g=(c<<2)+b|0;q=C[k+(C[g+2184>>2]<<2)>>2];r=C[k+(C[g+1160>>2]<<2)>>2];h=0;while(1){j=h<<2;g=j+q|0;f=G[g>>2];j=j+r|0;m=G[j>>2];a:{if(m>J(0)){if(f>J(0)){G[g>>2]=m-f;break a}G[g>>2]=m;G[j>>2]=m+f;break a}if(f>J(0)){G[g>>2]=m+f;break a}G[g>>2]=m;G[j>>2]=m-f}h=h+1|0;if((l|0)!=(h|0)){continue}break}}if((e|0)>1){continue}break}}b:{if(C[o+4>>2]<=0){break b}h=0;while(1){c=h<<2;e=C[((C[(c+b|0)+4>>2]<<2)+b|0)+1028>>2]<<2;Fe[C[C[(C[(d+e|0)+800>>2]<<2)+60612>>2]+24>>2]](a,C[e+C[y+48>>2]>>2],C[c+p>>2],C[c+C[a>>2]>>2])|0;h=h+1|0;c=C[o+4>>2];if((h|0)<(c|0)){continue}break}h=0;if((c|0)<=0){break b}while(1){j=C[C[((C[a+28>>2]<<2)+y|0)+12>>2]>>2];b=C[j>>2];q=b>>2;p=b>>1;c=p<<2;g=C[C[a>>2]+(h<<2)>>2];r=c+g|0;d=r-28|0;l=c+g|0;c=b&-4;b=l+c|0;e=b;i=c+C[j+8>>2]|0;c=i;while(1){k=e-16|0;G[k>>2]=J(J(-G[d+8>>2])*G[c+12>>2])-J(G[c+8>>2]*G[d>>2]);G[e-12>>2]=J(G[d>>2]*G[c+12>>2])-J(G[c+8>>2]*G[d+8>>2]);G[e-8>>2]=J(J(-G[d+24>>2])*G[c+4>>2])-J(G[c>>2]*G[d+16>>2]);G[e-4>>2]=J(G[d+16>>2]*G[c+4>>2])-J(G[c>>2]*G[d+24>>2]);c=c+16|0;e=k;d=d-32|0;if(g>>>0<=d>>>0){continue}break}d=r-32|0;c=b;while(1){e=i-4|0;k=i-8|0;G[c>>2]=J(G[d+16>>2]*G[e>>2])+J(G[d+24>>2]*G[k>>2]);G[c+4>>2]=J(G[d+16>>2]*G[k>>2])-J(G[e>>2]*G[d+24>>2]);e=i-12|0;i=i-16|0;G[c+8>>2]=J(G[d>>2]*G[e>>2])+J(G[d+8>>2]*G[i>>2]);G[c+12>>2]=J(G[d>>2]*G[i>>2])-J(G[e>>2]*G[d+8>>2]);c=c+16|0;d=d-32|0;if(g>>>0<=d>>>0){continue}break}zs(j,l,p);r=C[j+8>>2];e=C[j>>2];d=r+(e<<2)|0;c=C[j+12>>2];j=g+(e<<1&-4)|0;i=j;e=g;while(1){k=j+(C[c>>2]<<2)|0;f=G[k+4>>2];s=j+(C[c+4>>2]<<2)|0;m=G[s+4>>2];n=J(J(f+m)*J(.5));t=G[k>>2];u=G[s>>2];v=J(t+u);w=G[d>>2];f=J(f-m);m=G[d+4>>2];x=J(J(v*w)+J(f*m));G[e>>2]=n+x;G[i-8>>2]=n-x;n=J(J(t-u)*J(.5));f=J(J(v*m)-J(w*f));G[e+4>>2]=n+f;G[i-4>>2]=f-n;k=j+(C[c+8>>2]<<2)|0;f=G[k+4>>2];s=j+(C[c+12>>2]<<2)|0;m=G[s+4>>2];n=J(J(f+m)*J(.5));t=G[k>>2];u=G[s>>2];v=J(t+u);w=G[d+8>>2];f=J(f-m);m=G[d+12>>2];x=J(J(v*w)+J(f*m));G[e+8>>2]=n+x;k=i-16|0;G[k>>2]=n-x;n=J(J(t-u)*J(.5));f=J(J(v*m)-J(w*f));G[e+12>>2]=n+f;G[i-12>>2]=f-n;c=c+16|0;d=d+16|0;e=e+16|0;i=k;if(e>>>0>>0){continue}break}d=r+(p<<2)|0;e=b;i=e;c=g;while(1){G[e-4>>2]=J(G[c>>2]*G[d+4>>2])-J(G[d>>2]*G[c+4>>2]);G[i>>2]=-J(J(G[c>>2]*G[d>>2])+J(G[c+4>>2]*G[d+4>>2]));G[e-8>>2]=J(G[c+8>>2]*G[d+12>>2])-J(G[d+8>>2]*G[c+12>>2]);G[i+4>>2]=-J(J(G[c+8>>2]*G[d+8>>2])+J(G[c+12>>2]*G[d+12>>2]));G[e-12>>2]=J(G[c+16>>2]*G[d+20>>2])-J(G[d+16>>2]*G[c+20>>2]);G[i+8>>2]=-J(J(G[c+16>>2]*G[d+16>>2])+J(G[c+20>>2]*G[d+20>>2]));e=e-16|0;G[e>>2]=J(G[c+24>>2]*G[d+28>>2])-J(G[d+24>>2]*G[c+28>>2]);G[i+12>>2]=-J(J(G[c+24>>2]*G[d+24>>2])+J(G[c+28>>2]*G[d+28>>2]));d=d+32|0;i=i+16|0;c=c+32|0;if(e>>>0>c>>>0){continue}break}e=g+(q<<2)|0;d=e;c=b;while(1){f=G[c-4>>2];G[e-4>>2]=f;G[d>>2]=-f;f=G[c-8>>2];G[e-8>>2]=f;G[d+4>>2]=-f;f=G[c-12>>2];G[e-12>>2]=f;G[d+8>>2]=-f;e=e-16|0;c=c-16|0;f=G[c>>2];G[e>>2]=f;G[d+12>>2]=-f;d=d+16|0;if(d>>>0>>0){continue}break}d=b;while(1){c=b-16|0;G[c>>2]=G[d+12>>2];G[b-12>>2]=G[d+8>>2];G[b-8>>2]=G[d+4>>2];G[b-4>>2]=G[d>>2];d=d+16|0;b=c;if(c>>>0>l>>>0){continue}break}h=h+1|0;if((h|0)>2]){continue}break}}Ce=z;return 0}function Tf(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;k=Ce-96|0;Ce=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;z=r;R=i>>>16&32767;S=e>>>16&32767;a:{b:{if(R-32767>>>0>4294934529&S-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=h;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=L(i)+32|0;i=L(j?c:r);i=s+((i|0)==32?e:i)|0;Fg(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=C[k+88>>2];z=C[k+92>>2];c=C[k+84>>2];b=C[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=L(e)+32|0;e=L(i?g:u);e=r+((e|0)==32?j:e)|0;Fg(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=C[k+72>>2];u=C[k+76>>2];f=C[k+64>>2];g=C[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;K=c;s=mT(v,e,c,0);e=Ee;y=e;M=f;q=b;b=mT(f,0,b,0);i=b+s|0;f=Ee+e|0;c=b>>>0>i>>>0?f+1|0:f;j=0;b=mT(q,l,v,l);p=j+b|0;f=i;e=f+Ee|0;e=b>>>0>p>>>0?e+1|0:e;r=e;N=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0>>0;O=d;w=mT(v,l,d,0);P=Ee;b=mT(K,l,M,l);x=b+w|0;j=Ee+P|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=mT(A,0,q,l);B=d+x|0;f=Ee+j|0;f=d>>>0>B>>>0?f+1|0:f;D=f;d=(c|0)==(y|0)&i>>>0>>0|c>>>0>>0;E=c+B|0;f=d+f|0;f=c>>>0>E>>>0?f+1|0:f;u=f;g=E;c=f;F=z|65536;z=mT(v,l,F,n);Q=Ee;d=mT(O,m,M,l);G=d+z|0;e=Ee+Q|0;e=d>>>0>G>>>0?e+1|0:e;i=e;H=b|-2147483648;b=mT(H,0,q,l);I=b+G|0;f=Ee+e|0;f=b>>>0>I>>>0?f+1|0:f;b=mT(A,m,K,l);y=b+I|0;J=f;f=f+Ee|0;s=b>>>0>y>>>0?f+1|0:f;b=0;q=b+g|0;e=c+y|0;v=b>>>0>q>>>0?e+1|0:e;f=v;b=q+N|0;c=b>>>0>>0?f+1|0:f;t=((S+R|0)+t|0)-16383|0;d=mT(H,m,K,l);h=Ee;e=mT(F,m,M,l);g=e+d|0;f=Ee+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0>>0;h=f;e=mT(A,m,O,m);d=e+g|0;f=Ee+f|0;f=d>>>0>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0>>0|f>>>0>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=mT(H,m,F,m);h=h+g|0;f=Ee+f|0;N=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(P|0)&w>>>0>x>>>0|j>>>0

>>0;f=0;j=(j|0)==(D|0)&x>>>0>B>>>0|j>>>0>D>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0>>0|e>>>0>>0;e=d;d=d+N|0;f=e>>>0>d>>>0?f+1|0:f;j=d;g=f;e=mT(A,m,F,m);l=Ee;d=mT(H,m,O,m);h=d+e|0;f=Ee+l|0;f=d>>>0>h>>>0?f+1|0:f;d=f;f=(l|0)==(f|0)&e>>>0>h>>>0|f>>>0>>0;x=d+j|0;e=f+g|0;e=d>>>0>x>>>0?e+1|0:e;l=x;g=e;e=0;d=e+w|0;f=h+n|0;f=d>>>0>>0?f+1|0:f;e=f;h=(n|0)==(f|0)&d>>>0>>0|f>>>0>>0;f=g;g=h+l|0;f=g>>>0>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(J|0)&y>>>0>>0|s>>>0>>0;d=(i|0)==(Q|0)&z>>>0>G>>>0|i>>>0>>0;i=(i|0)==(J|0)&G>>>0>I>>>0|i>>>0>J>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(D|0)&B>>>0>E>>>0|u>>>0>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0>>0|e>>>0>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;Fg(k+48|0,p,r,b,c,f);Fg(k+32|0,d,e,h,i,f);hj(k+16|0,p,r,b,c,g);hj(k,d,e,h,i,g);p=C[k+32>>2]|C[k+16>>2]|(C[k+48>>2]|C[k+56>>2]|(C[k+52>>2]|C[k+60>>2]))!=0;r=C[k+36>>2]|C[k+20>>2];b=C[k+40>>2]|C[k+24>>2];c=C[k+44>>2]|C[k+28>>2];d=C[k>>2];e=C[k+4>>2];g=C[k+8>>2];f=C[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;c=b?e:e+1|0;d=(e|0)==(c|0)&b>>>0>>0|c>>>0>>0;e=o;m=d+m|0;o=m>>>0>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}j=o;f=e;b=d&1;c=b;b=b+d|0;c=c>>>0>b>>>0?f+1|0:f;d=(f|0)==(c|0)&b>>>0>>0|c>>>0>>0;m=d+m|0;o=d>>>0>m>>>0?j+1|0:j}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=m;C[a+12>>2]=o;Ce=k+96|0}function Bn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-48|0;Ce=j;g=C[b+16>>2];f=C[b+20>>2];if(C[a+408>>2]){e=C[a+180>>2];d=C[a+392>>2];a:{if(C[a+416>>2]){i=C[a+404>>2];k=C[a+396>>2];break a}i=C[a+404>>2];k=C[a+464>>2]-(i+C[a+396>>2]|0)|0}Fe[e|0](d,k,C[a+400>>2],i);d=C[a+400>>2];b:{if(!d){break b}e=C[a+404>>2];if(!e){break b}G[a+472>>2]=J(2)/J(d|0);d=C[a+416>>2];G[a+524>>2]=d?J(-1):J(1);G[a+492>>2]=(d?J(2):J(-2))/J(e|0)}C[a+408>>2]=0}if(C[a+424>>2]){Fe[C[(C[a+428>>2]?76:64)+a>>2]](3089);C[a+424>>2]=0}if(!(!C[a+428>>2]|!C[a+432>>2])){e=C[a+136>>2];d=C[a+436>>2]+C[a+392>>2]|0;c:{if(C[a+416>>2]){i=C[a+448>>2];k=C[a+440>>2]+C[a+396>>2]|0;break c}i=C[a+448>>2];k=C[a+464>>2]-(i+(C[a+396>>2]+C[a+440>>2]|0)|0)|0}Fe[e|0](d,k,C[a+444>>2],i);C[a+432>>2]=0}d:{e:{f:{g:{if(C[a+452>>2]!=((f|0)!=0|0)){if(f){break f}Fe[C[a+68>>2]](2);C[a+452>>2]=0;break g}if(f){break e}}i=12;d=0;break d}Fe[C[a+80>>2]](2);C[a+452>>2]=1}i=20;Fe[C[a+176>>2]](2,2,5126,0,20,C[b+4>>2]+12|0);d=C[f+16>>2]}h=-1;h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(c-1|0){case 3:c=5;break n;case 4:c=4;break n;case 5:c=C[95363];c=(c|0)==3?(d|0)<577?1:2:c;if(c>>>0<3){break p}b=C[95363];C[j>>2]=(b|0)==3?(d|0)<577?1:2:b;Qe(34646,j);break l;case 6:c=9;r:{s:{e=C[95363];switch(((e|0)==3?(d|0)<577?1:2:e)|0){case 0:break n;case 2:break r;case 1:break s;default:break m}}c=cg(24710,0)?11:10;break n}c=cg(24710,0)?13:12;break n;case 7:c=C[95363];c=(c|0)==3?(d|0)<577?1:2:c;if(c>>>0<3){break o}b=C[95363];C[j+32>>2]=(b|0)==3?(d|0)<577?1:2:b;Qe(34646,j+32|0);break l;case 0:case 1:case 2:break n;case 8:break q;default:break l}}c=17;break n}c=c+6|0;break n}c=c+14|0}f=C[a+236>>2];if(!f){f=Cl(a,0,35633);if(!f){break l}}e=C[((c<<2)+a|0)+236>>2];if(!e){e=Cl(a,c,35632);if(!e){break l}}c=C[a+468>>2];if(!(!(!c|C[c+4>>2]!=(f|0))&C[c+8>>2]==(e|0))){t:{u:{v:{w:{d=C[a+312>>2];if(d){c=d;while(1){if(C[c+4>>2]==(f|0)&C[c+8>>2]==(e|0)){break w}c=C[c+144>>2];if(c){continue}break}}c=If(1,148);if(c){break v}_e(0);break l}if((c|0)==(d|0)){break u}h=C[c+144>>2];if(h){C[h+140>>2]=C[c+140>>2]}e=C[c+140>>2];if(e){C[e+144>>2]=h}C[c+144>>2]=d;C[c+140>>2]=0;C[d+140>>2]=c;C[a+312>>2]=c;break t}C[c+8>>2]=e;C[c+4>>2]=f;d=Fe[C[a+44>>2]]()|0;C[c>>2]=d;Fe[C[a+12>>2]](d,f);Fe[C[a+12>>2]](C[c>>2],e);Fe[C[a+16>>2]](C[c>>2],0,11964);Fe[C[a+16>>2]](C[c>>2],1,9293);Fe[C[a+16>>2]](C[c>>2],2,19630);Fe[C[a+124>>2]](C[c>>2]);Fe[C[a+108>>2]](C[c>>2],35714,j+44|0);d=C[c>>2];if(!C[j+44>>2]){Fe[C[a+52>>2]](d);if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}Qe(12941,0);break l}l=c,m=Fe[C[a+120>>2]](d,12048)|0,C[l+12>>2]=m;l=c,m=Fe[C[a+120>>2]](C[c>>2],2882)|0,C[l+24>>2]=m;l=c,m=Fe[C[a+120>>2]](C[c>>2],2937)|0,C[l+20>>2]=m;l=c,m=Fe[C[a+120>>2]](C[c>>2],16601)|0,C[l+16>>2]=m;Fe[C[a+172>>2]](C[c>>2]);d=C[c+24>>2];if((d|0)!=-1){Fe[C[a+160>>2]](d,2)}d=C[c+20>>2];if((d|0)!=-1){Fe[C[a+160>>2]](d,1)}d=C[c+16>>2];if((d|0)!=-1){Fe[C[a+160>>2]](d,0)}d=C[c+12>>2];if((d|0)!=-1){Fe[C[a+168>>2]](d,1,0,c+76|0)}d=C[a+312>>2];x:{if(d){C[c+144>>2]=d;d=d+140|0;break x}d=a+316|0}C[d>>2]=c;C[a+312>>2]=c;d=C[a+308>>2];C[a+308>>2]=d+1;if((d|0)<8){break t}Fe[C[a+52>>2]](C[C[a+316>>2]>>2]);d=C[C[a+316>>2]+140>>2];C[a+316>>2]=d;if(d){d=C[d+144>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}C[C[a+316>>2]+144>>2]=0}C[a+308>>2]=C[a+308>>2]-1;break t}c=d}Fe[C[a+172>>2]](C[c>>2]);C[a+468>>2]=c}y:{if(C[c+12>>2]==-1){break y}d=c+76|0;e=a+472|0;if(!qg(d,e,64)){break y}Fe[C[a+168>>2]](C[c+12>>2],1,0,e);gf(d,e,64)}if(C[a+420>>2]==(g|0)){break i}if(g){break k}Fe[C[a+64>>2]](3042);break j}b=C[95363];C[j+16>>2]=(b|0)==3?(d|0)<577?1:2:b;Qe(34646,j+16|0)}C[a+468>>2]=0;break h}Fe[C[a+76>>2]](3042);f=C[a+28>>2];c=_r(g)-1|0;if(c>>>0<=9){k=C[(c<<2)+137380>>2]}else{k=1280}c=Zr(g)-1|0;if(c>>>0<=9){d=C[(c<<2)+137380>>2]}else{d=1280}c=Yr(g)-1|0;if(c>>>0<=9){c=C[(c<<2)+137380>>2]}else{c=1280}h=Xr(g)-1|0;if(h>>>0<=9){h=C[(h<<2)+137380>>2]}else{h=1280}Fe[f|0](k,d,c,h);e=C[a+24>>2];if(!(279>>>g&1)|g>>>0>=9){c=g&15}else{c=1}c=c-1|0;if(c>>>0<=2){c=C[(c<<2)+137420>>2]}else{c=1280}if(!(279>>>g&1)|g>>>0>=9){d=g>>>16&15}else{d=1}d=d-1|0;if(d>>>0<=2){d=C[(d<<2)+137420>>2]}else{d=1280}Fe[e|0](c,d)}C[a+420>>2]=g}h=0;b=C[b+4>>2];Fe[C[a+176>>2]](0,2,5126,0,i,b);Fe[C[a+176>>2]](1,4,5121,1,i,b+8|0)}Ce=j+48|0;return h}function yR(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,k=0,l=0;j=C[c+92>>2];g=1;a=0;l=C[c+80>>2];b=!l;while(1){a:{b:{c:{if(!b){a=D[k+194160|0]==2?f:a;d=k<<1;h=B[d+193744>>1]+192192|0;b=A[k+193856|0];e=D[(I(f,20)+j|0)+18|0];k=D[d+192064|0];if(e>>>0>=k>>>0){b=e>>>0>D[d+192065|0]?b:e-k|0}b=A[b+h|0];break c}if(!k){break b}f=l;b=B[(k<<1)+194048>>1]-1|0}k=A[b+193920|0];d=b&31;d:{if(((b&63)>>>0>=32?536674303>>>d|0:((1<>>d)&1){break d}e:{switch(A[b+193984|0]-3|0){case 3:f:{if(f+1>>>0<=a>>>0){break f}e=g<<4;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break f}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 1:g:{if(f+1>>>0<=a>>>0){break g}e=g<<4|3;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break g}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 7:h:{if(f+1>>>0<=a>>>0){break h}e=g<<4|1;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break h}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 5:i:{if(f+1>>>0<=a>>>0){break i}e=g<<4|2;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break i}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 0:j:{if(f+1>>>0<=a>>>0){break j}e=g<<4|3;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break j}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 2:e=f-1|0;k:{if(a>>>0>=f>>>0){break k}h=g<<4;d=a;i=f-d&7;if(i){b=0;while(1){A[(I(d,20)+j|0)+15|0]=h;d=d+1|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){b=I(d,20)+j|0;A[b+35|0]=h;A[b+15|0]=h;A[b+55|0]=h;A[b+75|0]=h;A[b+95|0]=h;A[b+115|0]=h;A[b+135|0]=h;A[b+155|0]=h;d=d+8|0;if((f|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)!=16){f=e;break d}g=1;f=e;break d;case 4:e=f-1|0;l:{if(a>>>0>=f>>>0){break l}h=g<<4|2;d=a;i=f-d&7;if(i){b=0;while(1){A[(I(d,20)+j|0)+15|0]=h;d=d+1|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break l}while(1){b=I(d,20)+j|0;A[b+35|0]=h;A[b+15|0]=h;A[b+55|0]=h;A[b+75|0]=h;A[b+95|0]=h;A[b+115|0]=h;A[b+135|0]=h;A[b+155|0]=h;d=d+8|0;if((f|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)!=16){f=e;break d}g=1;f=e;break d;case 6:break e;default:break d}}m:{if(a>>>0>=f>>>0){break m}e=g<<4|3;d=a;h=f-d&7;if(h){b=0;while(1){A[(I(d,20)+j|0)+15|0]=e;d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){b=I(d,20)+j|0;A[b+35|0]=e;A[b+15|0]=e;A[b+55|0]=e;A[b+75|0]=e;A[b+95|0]=e;A[b+115|0]=e;A[b+135|0]=e;A[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}f=f-1|0}a=D[k+194224|0]!=1?a:0;f=f+1|0;if((l|0)!=(f|0)){break a}b=1;continue}b=C[c+80>>2];n:{if(!b){break n}a=b-1|0;f=0;d=C[c+92>>2];e=D[d+15|0];while(1){o:{if((a|0)==(f|0)){f=b;break o}f=f+1|0;if((e|0)==D[(d+I(f,20)|0)+15|0]){continue}}break}if(!b){break n}k=0;g=b;while(1){a=f;if(f-k>>>0>=2){Rf(c,k,a);g=C[c+80>>2]}f=a+1|0;d=f>>>0>>0?g:f;e=d-1|0;k=C[c+92>>2];l=D[(k+I(a,20)|0)+15|0];f=a;while(1){p:{if((e|0)==(f|0)){f=d;break p}f=f+1|0;if((l|0)==D[(k+I(f,20)|0)+15|0]){continue}}break}k=a;if(a>>>0>>0){continue}break}}return}b=0;continue}}function Vo(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,F=0,G=0,H=0,I=0,J=0;k=Ce-192|0;Ce=k;C[k+144>>2]=0;C[k+148>>2]=0;C[k+152>>2]=0;C[k+156>>2]=0;C[k+160>>2]=0;C[k+164>>2]=0;C[k+168>>2]=0;C[k+172>>2]=0;C[k+176>>2]=0;C[k+180>>2]=0;C[k+184>>2]=0;C[k+188>>2]=0;C[k+128>>2]=0;C[k+132>>2]=0;C[k+136>>2]=0;C[k+140>>2]=0;l=a;m=b;p=m&3;if(p){while(1){n=(k+128|0)+(C[l>>2]<<2)|0;C[n>>2]=C[n>>2]+1;m=m-1|0;l=l+4|0;r=r+1|0;if((p|0)!=(r|0)){continue}break}}if(b-1>>>0>=3){while(1){p=k+128|0;n=p+(C[l>>2]<<2)|0;C[n>>2]=C[n>>2]+1;n=p+(C[l+4>>2]<<2)|0;C[n>>2]=C[n>>2]+1;n=p+(C[l+8>>2]<<2)|0;C[n>>2]=C[n>>2]+1;p=p+(C[l+12>>2]<<2)|0;C[p>>2]=C[p>>2]+1;l=l+16|0;m=m-4|0;if(m){continue}break}}a:{if(C[k+128>>2]==(b|0)){C[f>>2]=0;C[g>>2]=0;break a}l=C[g>>2];o=1;b:{c:{d:{e:{f:{g:{h:{m=C[k+132>>2];if(m){break h}o=2;if(C[k+136>>2]){break h}o=3;if(C[k+140>>2]){break h}o=4;if(C[k+144>>2]){break h}o=5;if(C[k+148>>2]){break h}o=6;if(C[k+152>>2]){break h}o=7;if(C[k+156>>2]){break h}o=8;if(C[k+160>>2]){break h}o=9;if(C[k+164>>2]){break h}o=10;if(C[k+168>>2]){break h}o=11;if(C[k+172>>2]){break h}o=12;if(C[k+176>>2]){break h}o=13;if(C[k+180>>2]){break h}o=14;if(C[k+184>>2]){break h}if(!C[k+188>>2]){break g}o=15;l=l>>>0<=15?15:l;q=15;z=1;break e}l=l>>>0>o>>>0?l:o;if(!C[k+188>>2]){break f}q=15;t=l>>>0>=15?15:l;C[g>>2]=t;v=1<>>0<=16?16:l}q=14;if(C[k+184>>2]){break d}q=13;if(C[k+180>>2]){break d}q=12;if(C[k+176>>2]){break d}q=11;if(C[k+172>>2]){break d}q=10;if(C[k+168>>2]){break d}q=9;if(C[k+164>>2]){break d}q=8;if(C[k+160>>2]){break d}q=7;if(C[k+156>>2]){break d}q=6;if(C[k+152>>2]){break d}q=5;if(C[k+148>>2]){break d}q=4;if(C[k+144>>2]){break d}q=3;if(C[k+140>>2]){break d}q=2;if(C[k+136>>2]){break d}q=(m|0)!=0;z=!m}t=l>>>0>>0?l:q;C[g>>2]=t;v=1<>>0>>0?l:q;C[g>>2]=t;z=1;v=1<>>0>=q>>>0){break b}}l=o;while(1){g=v-C[(k+128|0)+(l<<2)>>2]|0;if((g|0)<0){E=-3;break a}z=1;v=g<<1;l=l+1|0;if((q|0)!=(l|0)){continue}break}}E=-3;g=(k+128|0)+(q<<2)|0;F=C[g>>2];if((v-F|0)<0){break a}C[g>>2]=v;C[k+4>>2]=0;g=q-1|0;i:{if(!g){break i}l=k+128|4;n=g&3;m=k|8;j:{if(q-2>>>0<3){r=0;break j}g=g&-4;r=0;p=0;while(1){s=C[l>>2]+r|0;C[m>>2]=s;s=s+C[l+4>>2]|0;C[m+4>>2]=s;s=s+C[l+8>>2]|0;C[m+8>>2]=s;r=s+C[l+12>>2]|0;C[m+12>>2]=r;m=m+16|0;l=l+16|0;p=p+4|0;if((g|0)!=(p|0)){continue}break}}if(!n){break i}while(1){r=C[l>>2]+r|0;C[m>>2]=r;m=m+4|0;l=l+4|0;u=u+1|0;if((n|0)!=(u|0)){continue}break}}g=b>>>0<=1?1:b;p=g&1;l=0;if(b>>>0>=2){g=g&-2;m=0;while(1){b=C[a>>2];if(b){n=(b<<2)+k|0;b=C[n>>2];C[n>>2]=b+1;C[(b<<2)+j>>2]=l}b=C[a+4>>2];if(b){n=(b<<2)+k|0;b=C[n>>2];C[n>>2]=b+1;C[(b<<2)+j>>2]=l|1}a=a+8|0;l=l+2|0;m=m+2|0;if((g|0)!=(m|0)){continue}break}}k:{if(!p){break k}a=C[a>>2];if(!a){break k}b=(a<<2)+k|0;a=C[b>>2];C[b>>2]=a+1;C[(a<<2)+j>>2]=l}C[k+64>>2]=0;a=C[(q<<2)+k>>2];C[k>>2]=0;if(o>>>0<=q>>>0){p=0-t|0;I=(a<<2)+j|0;g=0;u=0;a=0;l=-1;while(1){G=(k+128|0)+(o<<2)|0;x=C[G>>2];if(x){J=1<>>0<=x>>>0){break m}g=q-p|0;u=g>>>0>>0?g:t;if(u>>>0<=b>>>0){break m}m=b+1|0;if(u>>>0<=m>>>0){break m}g=t>>>0>>0?t:B;r=l-x|0;l=G;while(1){r=r<<1;y=C[l+4>>2];if(r>>>0<=y>>>0){break m}l=l+4|0;r=r-y|0;m=m+1|0;if(u>>>0>m>>>0){continue}break}m=g}g=1<>2];y=g+r|0;if(y>>>0>1440){break a}l=n+1|0;H=l<<2;u=(r<<3)+h|0;C[H+(k- -64|0)>>2]=u;C[i>>2]=y;n:{if(l){C[k+H>>2]=a;r=C[(k- -64|0)+(n<<2)>>2];s=a>>>s|0;n=r+(s<<3)|0;A[n+1|0]=t;A[n|0]=m;w=(u-r>>3)-s|0;C[n+4>>2]=w;break n}C[f>>2]=u}B=B-t|0;s=p;n=l;m=p+t|0;if((o|0)>(m|0)){continue}break}}n=192;o:{if(j>>>0>=I>>>0){break o}w=C[j>>2];if(w>>>0>>0){n=w>>>0>=256?96:0;j=j+4|0;break o}j=j+4|0;m=w-c<<2;n=D[m+e|0]+80|0;w=C[d+m>>2]}m=a>>>p|0;if(m>>>0>>0){r=1<>2]=w;A[s+1|0]=b;A[s|0]=n;m=m+r|0;if(m>>>0>>0){continue}break}}m=J;if(m&a){while(1){a=a^m;m=m>>>1|0;if(a&m){continue}break}}x=x-1|0;a=a^m;if(C[(l<<2)+k>>2]!=(a&(-1<>2]!=((-1<>2];C[a+40>>2]=E[b+68>>1];if(!vm(b)){Ww(a,b);c=(C[C[a>>2]+12>>2]<<3)+272656|0;f=C[c>>2];if((f|0)!=759){x=a+1616|0;y=a+44|0;while(1){t=c;j=f+271888|0;c=D[j|0];a:{if(!c){break a}s=E[t+4>>1];m=s&2;r=1;u=s&1;p=0;q=0;while(1){f=c&255;j=j+1|0;if(c<<24>>24<0){c=f>>>0<240;e=f>>>0<224;d=e?1:c?2:3;f=(e?31:c?15:7)&f;h=0;c=j;while(1){f=D[c|0]&63|f<<6;c=c+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}j=d+j|0}b:{if((f|0)==124){r=0;break b}c=0;d=C[C[a+36>>2]>>2];c:{if(!d){break c}d=C[d+92>>2];if(!d){break c}c=Fe[C[C[d+12>>2]+12>>2]](d,f)|0}if(!c){break b}if(fi(b,c,1)){break b}c=C[b+84>>2];if(B[c+110>>1]<=0){break b}d=0;v=B[c+108>>1];d:{if((v|0)<=0){c=0;break d}z=C[c+120>>2];k=C[c+112>>2];f=-1;l=0;c=0;while(1){h=B[(l<<1)+z>>1];e:{if((h|0)<=(d|0)){break e}if(m){if(u){if((h-d|0)+1&1){e=C[k+(d<<3)>>2];g=(f|0)<0|(e|0)>(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[k+(e<<3)>>2];g=g|(f|0)>(c|0);n=g?e:d;d=e+1|0;o=C[k+(d<<3)>>2];g=g?f:c;c=(n|0)<0|(o|0)>(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}break e}if((h-d|0)+1&1){e=C[k+(d<<3)>>2];g=(f|0)<0|(e|0)<(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[k+(e<<3)>>2];g=g|(f|0)<(c|0);n=g?e:d;d=e+1|0;o=C[k+(d<<3)>>2];g=g?f:c;c=(n|0)<0|(o|0)<(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}break e}if(u){if((h-d|0)+1&1){e=C[(k+(d<<3)|0)+4>>2];g=(f|0)<0|(e|0)>(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[(k+(e<<3)|0)+4>>2];g=g|(f|0)>(c|0);n=g?e:d;d=e+1|0;o=C[(k+(d<<3)|0)+4>>2];g=g?f:c;c=(n|0)<0|(o|0)>(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}break e}if((h-d|0)+1&1){e=C[(k+(d<<3)|0)+4>>2];g=(f|0)<0|(e|0)<(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[(k+(e<<3)|0)+4>>2];g=g|(f|0)<(c|0);n=g?e:d;d=e+1|0;o=C[(k+(d<<3)|0)+4>>2];g=g?f:c;c=(n|0)<0|(o|0)<(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}}d=h+1|0;l=l+1|0;if((v|0)!=(l|0)){continue}break}}C[(r?(i+208|0)+(p<<2)|0:(q<<2)+i|0)>>2]=c;p=p+r|0;q=!r+q|0}c=D[j|0];if(c){continue}break}if(!(p|q)){break a}j=m?y:x;f:{if(p>>>0<2){break f}d=1;c=p-1|0;k=c&1;if((p|0)!=2){r=c&-2;f=0;while(1){h=C[(i+208|0)+(d<<2)>>2];c=d;while(1){e=c-1|0;l=(i+208|0)+(e<<2)|0;m=C[l>>2];if((m|0)>(h|0)){C[(i+208|0)+(c<<2)>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}c=d+1|0;h=C[(i+208|0)+(c<<2)>>2];while(1){e=c-1|0;l=(i+208|0)+(e<<2)|0;m=C[l>>2];if((m|0)>(h|0)){C[(i+208|0)+(c<<2)>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}d=d+2|0;f=f+2|0;if((r|0)!=(f|0)){continue}break}}if(!k){break f}e=C[(i+208|0)+(d<<2)>>2];while(1){c=d-1|0;f=(i+208|0)+(c<<2)|0;h=C[f>>2];if((h|0)<=(e|0)){break f}C[(i+208|0)+(d<<2)>>2]=h;C[f>>2]=e;d=c;if(c){continue}break}}g:{if(q>>>0<2){break g}d=1;c=q-1|0;k=c&1;if((q|0)!=2){r=c&-2;f=0;while(1){h=C[(d<<2)+i>>2];c=d;while(1){e=c-1|0;l=(e<<2)+i|0;m=C[l>>2];if((m|0)>(h|0)){C[(c<<2)+i>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}c=d+1|0;h=C[(c<<2)+i>>2];while(1){e=c-1|0;l=(e<<2)+i|0;m=C[l>>2];if((m|0)>(h|0)){C[(c<<2)+i>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}d=d+2|0;f=f+2|0;if((r|0)!=(f|0)){continue}break}}if(!k){break g}e=C[(d<<2)+i>>2];while(1){c=d-1|0;f=(c<<2)+i|0;h=C[f>>2];if((h|0)<=(e|0)){break g}C[(d<<2)+i>>2]=h;C[f>>2]=e;d=c;if(c){continue}break}}c=C[j+216>>2];C[j+216>>2]=c+1;c=I(c,28)+j|0;d=C[(i+208|0)+(p<<1&-4)>>2];h:{i:{if(!q){break i}d=C[(q<<1&-4)+i>>2];if(!p){break i}d=C[(i+208|0)+(p<<1&-4)>>2];C[c+220>>2]=d;e=C[(q<<1&-4)+i>>2];C[c+232>>2]=e;if(((d|0)<=(e|0)^s)&1|(d|0)==(e|0)){break h}d=(d+e|0)/2|0}C[c+232>>2]=d;C[c+220>>2]=d}C[c+244>>2]=s<<1&2}c=t+8|0;f=C[t+8>>2];if((f|0)!=759){continue}break}}c=48;e=0;h=0;while(1){j:{d=c;c=0;j=C[C[a+36>>2]>>2];k:{if(!j){break k}j=C[j+92>>2];if(!j){break k}c=Fe[C[C[j+12>>2]+12>>2]](j,d)|0}l:{if(!c){break l}if(cl(b,c,2051,i+208|0)){break l}j=h&255;h=1;c=C[i+208>>2];if(!j){e=c;break l}if((c|0)==(e|0)){break l}f=0;break j}f=1;c=d+1|0;if((c|0)!=58){continue}}break}A[a+32|0]=f}oj(b,w);Ce=i+416|0;return 0}function yi(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,o=0;m=Ce-16|0;Ce=m;g=C[a+40>>2];a:{if(C[a+20>>2]|!g){break a}C[a+40>>2]=C[g+32>>2];k=C[a+4>>2];C[g+32>>2]=0;C[g+4>>2]=k;h=C[g>>2];C[a+4>>2]=h;if((h|0)==(k|0)){break a}c=h;b:{if(b){c=0;i=a+56|0;if(C[i+32>>2]){j=C[g+4>>2];d=C[g>>2];c:{if((j|0)==(d|0)){break c}l=j-d|0;n=l&3;if(j+(d^-1)>>>0>=3){l=l&-4;j=0;while(1){f=I(A[d+(c|3)|0],-1640531535)+I(I(A[d+(c|2)|0],-1640531535)+I(I(A[d+(c|1)|0],-1640531535)+I(I(A[c+d|0],-1640531535)+I(f,31)|0,31)|0,31)|0,31)|0;c=c+4|0;j=j+4|0;if((l|0)!=(j|0)){continue}break}}if(!n){break c}while(1){f=I(A[c+d|0],-1640531535)+I(f,31)|0;c=c+1|0;o=o+1|0;if((n|0)!=(o|0)){continue}break}}j=C[g+12>>2]<<4;d:{if(!j){c=0;break d}d=C[g+16>>2];c=0;while(1){c=I(A[d+(e|3)|0],-1640531535)+I(I(A[d+(e|2)|0],-1640531535)+I(I(A[d+(e|1)|0],-1640531535)+I(I(A[d+e|0],-1640531535)+I(c,31)|0,31)|0,31)|0,31)|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}d=Pq(i,g,c^f);c=0;d=C[i+32>>2]+I(d,12)|0;f=C[d>>2];e:{if(!f){break e}d=C[d+4>>2];if(!d){break e}j=C[f+4>>2];e=C[f>>2];n=j-e|0;i=C[g>>2];if((n|0)!=(C[g+4>>2]-i|0)){break e}l=C[f+12>>2];if((l|0)!=C[g+12>>2]){break e}if((e|0)!=(j|0)){if(Hg(e,i,n)){break e}}i=l<<4;f:{if(!i){break f}f=C[f+16>>2];j=C[g+16>>2];if(D[f|0]!=D[j|0]){break e}e=0;while(1){e=e+1|0;if((i|0)==(e|0)){break f}if(D[e+f|0]==D[e+j|0]){continue}break}if(e>>>0>>0){break e}}c=d}}d=c;if(c){break b}c=C[g>>2]}d=k-h|0;h=C[a+8>>2]-d|0;C[a+8>>2]=h;Yf(h,c,d);c=C[a+8>>2];C[g>>2]=c;C[g+4>>2]=c+d;g:{h:{i:{c=C[a+44>>2];if((c|0)>=0){h=C[a+48>>2];d=h+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break h}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=1073741822){h=mf(C[a+52>>2],c<<2);if(h){break i}}C[a+44>>2]=-1}C[105676]=C[51428];break g}C[a+44>>2]=c;C[a+52>>2]=h;h=C[a+48>>2]}if(d>>>0>h>>>0){We(C[a+52>>2]+(h<<2)|0,0,d-h<<2)}C[a+48>>2]=d;c=C[a+52>>2];C[105676]=C[51428];c=(c+(d<<2)|0)-4|0;if((c|0)==422704){break g}C[c>>2]=g}j:{c=C[a+20>>2];k:{if(!(c|C[a+44>>2]>=0)){C[a+20>>2]=1;break k}if(!c){break j}}Re(C[g+16>>2]);C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;Re(C[g+28>>2]);C[g+28>>2]=0;C[g+20>>2]=0;C[g+24>>2]=0;d=0;break a}C[m+12>>2]=C[a+48>>2]-1;d=0;if(b){b=0;f=C[g+4>>2];e=C[g>>2];l:{if((f|0)==(e|0)){break l}i=f-e|0;k=i&3;c=0;h=0;if(f+(e^-1)>>>0>=3){i=i&-4;f=0;while(1){b=I(A[e+(h|3)|0],-1640531535)+I(I(A[e+(h|2)|0],-1640531535)+I(I(A[e+(h|1)|0],-1640531535)+I(I(A[e+h|0],-1640531535)+I(b,31)|0,31)|0,31)|0,31)|0;h=h+4|0;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(!k){break l}while(1){b=I(A[e+h|0],-1640531535)+I(b,31)|0;h=h+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}f=a+56|0;e=C[g+12>>2]<<4;m:{if(!e){c=0;break m}h=C[g+16>>2];c=0;while(1){c=I(A[h+(d|3)|0],-1640531535)+I(I(A[h+(d|2)|0],-1640531535)+I(I(A[h+(d|1)|0],-1640531535)+I(I(A[d+h|0],-1640531535)+I(c,31)|0,31)|0,31)|0,31)|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}}jn(f,g,b^c,m+12|0);d=C[a+20>>2]!=0}if(!(d|D[a+68|0])){C[a+20>>2]=1}d=C[m+12>>2];break a}n:{if(F[a+48>>2]<=d>>>0){C[105676]=C[51428];a=422704;break n}a=C[a+52>>2]+(d<<2)|0}b=C[g+24>>2];o:{if(!b){break o}h=C[g+28>>2];k=h+(b<<4)|0;a=C[a>>2];if(C[a+20>>2]<0){a=C[51430];f=C[51431];c=C[51428];e=C[51429];while(1){C[105678]=a;C[105679]=f;C[105676]=c;C[105677]=e;i=(b|0)!=0;b=b-i|0;h=(i<<4)+h|0;if((k|0)!=(h|0)){continue}break}break o}while(1){p:{q:{r:{c=C[a+20>>2];if((c|0)>=0){f=C[a+24>>2];e=f+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=268435454){f=mf(C[a+28>>2],c<<4);if(f){break r}}C[a+20>>2]=-1}c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;break p}C[a+20>>2]=c;C[a+28>>2]=f;f=C[a+24>>2]}if(e>>>0>f>>>0){We(C[a+28>>2]+(f<<4)|0,0,e-f<<4)}C[a+24>>2]=e;c=C[a+28>>2];f=C[51431];C[105678]=C[51430];C[105679]=f;f=C[51429];C[105676]=C[51428];C[105677]=f;c=(c+(e<<4)|0)-16|0;if((c|0)==422704){break p}f=b?h:205712;e=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=e;e=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=e}c=(b|0)!=0;b=b-c|0;h=(c<<4)+h|0;if((k|0)!=(h|0)){continue}break}}Re(C[g+16>>2]);C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;Re(C[g+28>>2]);C[g+28>>2]=0;C[g+20>>2]=0;C[g+24>>2]=0}Ce=m+16|0;return d}function Rw(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=Ce-16|0;Ce=s;k=I(b,1468)+a|0;m=k+44|0;e=C[m>>2];i=C[k+52>>2];d=jk(a,b);a:{if(d){break a}if((e|0)>0){e=I(e,48)+i|0;while(1){d=C[i+40>>2];c=E[d>>1];g=D[i|0];A[i|0]=g&254;f=C[i+44>>2];b:{if((f|0)==(d|0)){break b}c=c&3;while(1){j=c;d=C[d+32>>2];c=E[d>>1]&3;if(!((j|c)&65535)){break b}if((d|0)!=(f|0)){continue}break}A[i|0]=g|1}i=i+48|0;if(e>>>0>i>>>0){continue}break}}n=C[C[a+2988>>2]+40>>2]/256|0;c=C[m>>2];e=C[k+52>>2];q=I(b,1468)+a|0;i=C[q+68>>2];t=(b?12:4)+a|0;p=Ze(192,C[t>>2]);if((c|0)>0){j=I(c,48)+e|0;c=e;while(1){if((i|0)==A[c+1|0]){d=e;while(1){c:{if((c|0)==(d|0)|(i|0)!=(0-A[d+1|0]|0)){break c}f=B[d+2>>1]-B[c+2>>1]|0;if((f|0)<0){break c}g=B[c+6>>1];h=B[d+6>>1];r=(g|0)<(h|0)?g:h;g=B[c+4>>1];h=B[d+4>>1];g=r-((g|0)>(h|0)?g:h)|0;if((g|0)<(n|0)){break c}h=f<<3;l=C[c+32>>2];if(!((h|0)>=(I(l,9)|0)|(g|0)<=C[c+36>>2]&(h|0)>=(I(l,7)|0))){C[c+36>>2]=g;C[c+32>>2]=f;C[c+20>>2]=d}l=C[d+32>>2];if((h|0)>=(I(l,9)|0)|(g|0)<=C[d+36>>2]&(h|0)>=(I(l,7)|0)){break c}C[d+36>>2]=g;C[d+32>>2]=f;C[d+20>>2]=c}d=d+48|0;if(j>>>0>d>>>0){continue}break}}c=c+48|0;if(j>>>0>c>>>0){continue}break}c=e;while(1){f=C[c+20>>2];d:{if(!f|C[f+20>>2]!=(c|0)){break d}n=B[f+2>>1];l=B[c+2>>1];if((n|0)<=(l|0)){break d}o=C[c+32>>2];if((o|0)>=(p|0)){break d}v=o<<2;d=e;while(1){e:{g=B[d+2>>1];f:{if((c|0)==(d|0)|(g|0)>(l|0)){break f}i=C[d+20>>2];if(!i|C[i+20>>2]!=(d|0)){break f}h=B[i+2>>1];if((h|0)<(n|0)|(g|0)==(l|0)&(h|0)==(n|0)){break f}g=C[d+32>>2];if((g|0)<=(o|0)|(g|0)>=(v|0)){break f}h=e;if(C[c+36>>2]<(I(C[d+36>>2],3)|0)){break e}while(1){g=f;u=C[h+20>>2];g:{if((u|0)!=(d|0)){g=c;if((i|0)!=(u|0)){break g}}C[h+24>>2]=g;C[h+20>>2]=0}h=h+48|0;if(j>>>0>h>>>0){continue}break}}d=d+48|0;if(j>>>0>d>>>0){continue}break d}break}C[f+20>>2]=0;C[c+20>>2]=0}c=c+48|0;if(j>>>0>c>>>0){continue}break}while(1){c=C[e+20>>2];h:{if(!c){break h}g=C[c+28>>2];C[c+28>>2]=g+1;if(C[c+20>>2]==(e|0)){break h}C[e+20>>2]=0;f=C[c+32>>2];if(!((f|0)>=(p|0)&C[e+32>>2]>=f<<2)){C[e+24>>2]=C[c+20>>2];break h}C[c+28>>2]=g}e=e+48|0;if(j>>>0>e>>>0){continue}break}}v=C[a>>2];f=C[k+52>>2];e=C[m>>2];c=C[a+2988>>2];C[q+56>>2]=0;c=c+I(b,1572)|0;n=C[t>>2];i:{if((Te(C[c+248>>2],n)|0)>=17){h=Ze(16,n);break i}h=C[c+248>>2]}if((e|0)>0){t=I(e,48)+f|0;u=(I(b,1468)+a|0)- -64|0;while(1){j:{k:{w=C[q+56>>2];l:{if((w|0)<=0){p=D[f+1|0];break l}p=D[f+1|0];l=C[u>>2];e=0;g=65535;i=0;while(1){d=I(i,48);j=d+l|0;m:{if(D[j+13|0]!=(p|0)){break m}k=B[f+2>>1]-B[j>>1]|0;c=k>>31;k=(c^k)-c|0;if((k|0)>=(h|0)|(g|0)<=(k|0)){break m}x=C[f+20>>2];if(x){c=0;r=C[(d+l|0)+40>>2];d=r;while(1){n:{o=C[d+20>>2];if(o){c=B[x+2>>1];o=B[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((h|0)<=(c|0)){break n}}d=C[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(h|0)){break m}}g=k;e=j}i=i+1|0;if((w|0)!=(i|0)){continue}break}if(e){break k}}d=Nw(m,B[f+2>>1],p<<24>>24,v,s+12|0);if(d){break a}e=C[s+12>>2];C[e>>2]=0;C[e+4>>2]=0;C[e+44>>2]=f;C[e+40>>2]=f;C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;A[e+13|0]=D[f+1|0];c=B[f+2>>1];B[e>>1]=c;c=Te(c,n);C[e+8>>2]=c;C[e+4>>2]=c;C[f+16>>2]=f;break j}C[f+16>>2]=C[e+40>>2];C[C[e+44>>2]+16>>2]=f;C[e+44>>2]=f}f=f+48|0;if(t>>>0>f>>>0){continue}break}}e=C[q+56>>2];if((e|0)>0){g=C[(I(b,1468)+a|0)- -64>>2];k=g+I(e,48)|0;c=g;while(1){a=C[c+40>>2];d=a;if(d){while(1){C[d+12>>2]=c;d=C[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+48|0;if(k>>>0>c>>>0){continue}break}while(1){j=g+28|0;a=g+24|0;q=C[g+40>>2];d=q;i=0;h=0;while(1){p=A[d|0]&1;n=!p;c=C[d+24>>2];o:{p:{if(c){b=C[d+20>>2];e=C[c+12>>2];if(!b&(e|0)==(g|0)){break o}if((e|0)==(g|0)){e=0;f=a;break p}e=1;f=j;b=c;break p}e=0;f=a;b=C[d+20>>2];if(!b){break o}}c=C[f>>2];q:{if(c){m=B[g>>1]-B[c>>1]|0;f=m>>31;r=(f^m)-f|0;f=B[d+2>>1];m=B[b+2>>1];if((r|0)<=(((f|0)>(m|0)?f-m|0:m-f|0)|0)){break q}}c=C[b+12>>2]}if(e){C[j>>2]=c;A[c+12|0]=D[c+12|0]|2;break o}C[a>>2]=c}i=i+p|0;h=h+n|0;d=C[d+16>>2];if((q|0)!=(d|0)){continue}break}A[g+12|0]=(i|0)!=0&i>>>0>=h>>>0;if(!(!C[g+28>>2]|!C[a>>2])){C[j>>2]=0}g=g+48|0;if(k>>>0>g>>>0){continue}break}}d=0}Ce=s+16|0;return d}function sK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=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)<=0){break c}A[d|0]=D[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=C[a>>2]}C[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=C[a>>2]}C[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+432|0];break b;case 4:a=C[a+364>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+416>>2];break c;case 7:if(F[a+416>>2]<=c>>>0){break e}a=C[C[a+420>>2]+(c<<2)>>2];c=af(a);b=c+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);A[c+d|0]=0;break f;case 8:if(F[a+416>>2]<=c>>>0){break e}e=C[C[a+428>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}t(d,C[C[a+424>>2]+(c<<2)>>2],e);A[d+e|0]=0;break f;case 9:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+368>>2];break c;case 10:if(C[a+368>>2]!=1|F[a+372>>2]<=c>>>0){break e}c=C[C[a+388>>2]+(c<<2)>>2];a=af(c);b=a+1|0;if(!d|f>>>0>>0){break f}t(d,c,a);A[a+d|0]=0;break f;case 11:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+404>>2];break c;case 12:if(F[a+404>>2]<=c>>>0){break e}e=C[C[a+412>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}t(d,C[C[a+408>>2]+(c<<2)>>2],e);A[d+e|0]=0;break f;case 13:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+176|0];break b;case 16:if(D[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+177|0];break b;case 19:if(D[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+178|0];break b;case 21:if(D[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+179|0];break b;case 23:if(D[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+292|0];break b;case 27:if(D[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+293|0];break b;case 29:if(D[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+164>>1];break a;case 36:a=C[a+132>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 37:a=C[a+136>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 38:a=C[a+140>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 39:a=C[a+144>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=C[a+148>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+152>>2]}return b|0}return 1}return 2}function Rr(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,j=0;j=h^255;a:{b:{c:{d:{h=C[a+4>>2];switch(D[h+9|0]-2|0){case 2:break c;case 0:break d;default:break b}}e:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];d=b;b=D[h+28|0];c=D[h+32|0];e=C[h+24>>2]|((I(D[C[(b<<2)+381104>>2]+((a&C[h+12>>2])>>>c|0)|0],j)>>>0)/255|0)+e>>>b<>2]+((a&C[h+16>>2])>>>c|0)|0],j)>>>0)/255|0)+f>>>b<>2];a=D[h+34|0];B[d>>1]=c|((I(D[C[(b<<2)+381104>>2]+(e>>>a|0)|0],j)>>>0)/255|0)+g>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];f=D[h+33|0];b=i+D[C[(d<<2)+381104>>2]+((a&C[h+16>>2])>>>f|0)|0]|0;i=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+12>>2])>>>c|0)|0]+e|0;d=C[h+24>>2]|(f|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+381104>>2]+(c>>>a|0)|0]+g|0;B[i>>1]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];d=b;b=D[h+29|0];c=D[h+33|0];f=(I(D[C[(b<<2)+381104>>2]+((a&C[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(I(D[C[(b<<2)+381104>>2]+((a&C[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=D[h+34|0];B[d>>1]=c|(I(D[C[(b<<2)+381104>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];e=D[h+32|0];b=D[C[(d<<2)+381104>>2]+((a&C[h+12>>2])>>>e|0)|0];b=((I(i,b)>>>0)/255|0)+((I(b,j)>>>0)/255|0)|0;i=c;e=C[h+24>>2]|(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+16>>2])>>>c|0)|0];d=((I(d,f)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;d=e|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+381104>>2]+(c>>>a|0)|0];c=((I(c,g)>>>0)/255|0)+((I(c,j)>>>0)/255|0)|0;B[i>>1]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)>>1]=C[h+24>>2]|(f>>>D[h+29|0]<>>D[h+28|0]<>>D[h+30|0]<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[h+28|0];c=D[h+32|0];e=C[h+24>>2]|((I(D[C[(b<<2)+381104>>2]+((a&C[h+12>>2])>>>c|0)|0],j)>>>0)/255|0)+e>>>b<>2]+((a&C[h+16>>2])>>>c|0)|0],j)>>>0)/255|0)+f>>>b<>2];a=D[h+34|0];C[d>>2]=c|((I(D[C[(b<<2)+381104>>2]+(e>>>a|0)|0],j)>>>0)/255|0)+g>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];f=D[h+33|0];b=i+D[C[(d<<2)+381104>>2]+((a&C[h+16>>2])>>>f|0)|0]|0;i=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+12>>2])>>>c|0)|0]+e|0;d=C[h+24>>2]|(f|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+381104>>2]+(c>>>a|0)|0]+g|0;C[i>>2]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[h+29|0];c=D[h+33|0];f=(I(D[C[(b<<2)+381104>>2]+((a&C[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(I(D[C[(b<<2)+381104>>2]+((a&C[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=D[h+34|0];C[d>>2]=c|(I(D[C[(b<<2)+381104>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];e=D[h+32|0];b=D[C[(d<<2)+381104>>2]+((a&C[h+12>>2])>>>e|0)|0];b=((I(i,b)>>>0)/255|0)+((I(b,j)>>>0)/255|0)|0;i=c;e=C[h+24>>2]|(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+16>>2])>>>c|0)|0];d=((I(d,f)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;d=e|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+381104>>2]+(c>>>a|0)|0];c=((I(c,g)>>>0)/255|0)+((I(c,j)>>>0)/255|0)|0;C[i>>2]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=C[h+24>>2]|(f>>>D[h+29|0]<>>D[h+28|0]<>>D[h+30|0]<>2];d=D[i+6|0]|D[i+7|0]<<8|(D[i+8|0]<<16|D[i+9|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(!d){c=0;break a}j=i+13|0;b:{while(1){e=d+g>>>1|0;f=j+I(e,11)|0;h=f-3|0;h=D[h+1|0]<<8|D[h|0]<<16|D[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}c=0;break a}c=0;if(!f){break a}d=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=D[f+4|0]|D[f+5|0]<<8|(D[f+6|0]<<16|D[f+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(!(d|e)){break a}d:{if(!d){d=e+i|0;e=D[d+3|0];g=D[d+2|0];f=D[d+1|0];h=D[d|0];c=C[a+28>>2];C[l+4>>2]=0;f=e|(f<<16|h<<24|g<<8);g=f+1|0;e:{if(g>>>0<=c>>>0){c=C[a+32>>2];break e}C[a+36>>2]=b;c=Ve(b,4,c,g,C[a+32>>2],l+4|0);C[a+32>>2]=c;if(C[l+4>>2]){break d}C[a+28>>2]=g}f:{if(!f){break f}a=e&1;e=d+4|0;d=0;if((f|0)!=1){b=f-a|0;g=0;while(1){h=d<<2;C[h+c>>2]=D[e+2|0]|(D[e+1|0]<<8|D[e|0]<<16);C[(h|4)+c>>2]=D[e+7|0]|(D[e+6|0]<<8|D[e+5|0]<<16);d=d+2|0;e=e+10|0;g=g+2|0;if((b|0)!=(g|0)){continue}break}}if(!a){break f}C[(d<<2)+c>>2]=D[e+2|0]|(D[e+1|0]<<8|D[e|0]<<16)}C[(f<<2)+c>>2]=0;break a}if(!e){c=Wu(a,d+i|0,b);break a}c=e+i|0;m=D[c+3|0];h=m|(D[c+1|0]<<16|D[c|0]<<24|D[c+2|0]<<8);f=c+4|0;j=d+i|0;c=D[j+3|0];g:{h:{n=c|(D[j+1|0]<<16|D[j|0]<<24|D[j+2|0]<<8);i:{if(n){k=c&3;e=j+7|0;c=0;j:{if(n-1>>>0<3){g=0;d=e;break j}o=n-k|0;g=0;i=0;while(1){g=(D[e+12|0]+(D[e+8|0]+(D[e+4|0]+(D[e|0]+g|0)|0)|0)|0)+4|0;d=e+16|0;e=d;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(k){while(1){g=(D[d|0]+g|0)+1|0;d=d+4|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(!h){break i}if(g){break h}break g}if(h){break g}}c=Wu(a,j,b);break a}c=C[a+28>>2];C[l+12>>2]=0;d=(g+h|0)+1|0;k:{if(d>>>0<=c>>>0){c=C[a+32>>2];break k}C[a+36>>2]=b;c=Ve(b,4,c,d,C[a+32>>2],l+12|0);C[a+32>>2]=c;if(C[l+12>>2]){break d}C[a+28>>2]=d}o=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);d=j+4|0;g=D[d+1|0]<<8|D[d|0]<<16|D[d+2|0];a=f+5|0;b=d+4|0;j=D[d+3|0];d=0;k=1;m=1;while(1){l:{if(g+j>>>0>>0){e=j+1|0;q=e&3;i=0;m:{if(j>>>0<3){e=0;break m}r=e&-4;e=0;f=0;while(1){p=(d<<2)+c|0;C[p>>2]=e+g;C[p+12>>2]=(e|3)+g;C[p+8>>2]=(e|2)+g;C[p+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;f=f+4|0;if((r|0)!=(f|0)){continue}break}}if(q){while(1){C[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;i=i+1|0;if((q|0)!=(i|0)){continue}break}}k=k+1|0;if(n>>>0>>0){break l}g=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16);j=D[b+3|0];b=b+4|0;continue}if(g>>>0>o>>>0){C[(d<<2)+c>>2]=o;d=d+1|0}m=m+1|0;if(h>>>0>>0){break l}o=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);a=a+5|0;continue}break}n:{if(h>>>0>=m>>>0){C[(d<<2)+c>>2]=o;d=d+1|0;if(h>>>0<=m>>>0){break n}while(1){C[(d<<2)+c>>2]=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);d=d+1|0;a=a+5|0;m=m+1|0;if(h>>>0>m>>>0){continue}break}break n}if(k>>>0>n>>>0){break n}a=j+1|0;h=a&3;i=0;o:{if(j>>>0<3){e=0;break o}j=a&-4;e=0;f=0;while(1){a=(d<<2)+c|0;C[a>>2]=e+g;C[a+12>>2]=(e|3)+g;C[a+8>>2]=(e|2)+g;C[a+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(h){while(1){C[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(k>>>0>=n>>>0){break n}while(1){a=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16);e=D[b+3|0];g=e+1|0;h=g&3;i=0;p:{if(e>>>0<3){e=0;break p}j=g&508;e=0;f=0;while(1){g=(d<<2)+c|0;C[g>>2]=a+e;C[g+12>>2]=a+(e|3);C[g+8>>2]=a+(e|2);C[g+4>>2]=a+(e|1);e=e+4|0;d=d+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(h){while(1){C[(d<<2)+c>>2]=a+e;e=e+1|0;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}b=b+4|0;k=k+1|0;if(n>>>0>k>>>0){continue}break}}C[(d<<2)+c>>2]=0;break a}c=C[a+28>>2];C[l+8>>2]=0;d=h+1|0;q:{if(d>>>0<=c>>>0){c=C[a+32>>2];break q}C[a+36>>2]=b;c=Ve(b,4,c,d,C[a+32>>2],l+8|0);C[a+32>>2]=c;if(C[l+8>>2]){break d}C[a+28>>2]=d}a=m&1;e=0;if((h|0)!=1){b=h-a|0;d=0;while(1){g=e<<2;C[g+c>>2]=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);C[(g|4)+c>>2]=D[f+7|0]|(D[f+6|0]<<8|D[f+5|0]<<16);e=e+2|0;f=f+10|0;d=d+2|0;if((b|0)!=(d|0)){continue}break}}if(a){C[(e<<2)+c>>2]=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16)}C[(h<<2)+c>>2]=0;break a}c=0}Ce=l+16|0;return c|0}function ly(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=Ce-16|0;Ce=n;d=C[b+4>>2];a:{if(d>>>0>a>>>0){break a}i=C[b+8>>2];if(i>>>0>>0|i-a>>>0<4){break a}e=C[b+12>>2];g=e-4|0;C[b+12>>2]=g;if((g|0)<=0){break a}g=A[a|0];if((g|0)<0){break a}g=D[a+3|0]|(D[a+1|0]<<16|(g&255)<<24|D[a+2|0]<<8);if(g){m=d;d=c+g|0;b:{if(m>>>0>d>>>0|d>>>0>i>>>0|i-d>>>0<=3){break b}c=e-8|0;C[b+12>>2]=c;if((D[d|0]|D[d+1|0]<<8)!=256|(c|0)<=0){break b}C[n+12>>2]=d;p=1;c=0;i=d+4|0;c:{d:{if(i>>>0>2]){break d}e=C[b+8>>2];if(e>>>0>>0|e-i>>>0<4){break d}g=C[b+12>>2]-4|0;C[b+12>>2]=g;if((g|0)<=0){break d}d=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>536870910){break d}d=1;if(!f){break c}d=i+4|0;if(d>>>0>e>>>0){break d}e=e-d|0;d=f<<3;if(e>>>0>>0){break d}d=g-d|0;C[b+12>>2]=d;if((d|0)<=0){break d}c=1;d=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);s=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!s){break d}while(1){e:{o=i+(q<<3)|0;c=o+4|0;if(c>>>0>2]){break e}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}k=C[n+12>>2];d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break e}d=A[c|0];if((d|0)<0){break e}d=D[c+3|0]|(D[c+1|0]<<16|(d&255)<<24|D[c+2|0]<<8);f:{if(!d){break f}g:{h:{g=d+k|0;if(g>>>0>2]){break h}d=C[b+8>>2];if(d>>>0>>0|d-g>>>0<2){break h}f=C[b+12>>2]-2|0;C[b+12>>2]=f;e=1;if((f|0)<=0){break h}j=D[g|0]|D[g+1|0]<<8;if(!j){break g}e=g+2|0;if(e>>>0>d>>>0){break h}m=d-e|0;d=(j<<8|j>>>8)&65535;e=d<<2;if(m>>>0>>0){break h}f=f-e|0;C[b+12>>2]=f;e=0;if((f|0)<=0){break g}r=d>>>0<=1?1:d;f=0;while(1){e=C[b+4>>2];d=(g+(f<<2)|0)+2|0;if(e>>>0>d>>>0){break h}j=C[b+8>>2];if(j>>>0>>0|j-d>>>0<4){break h}h=C[b+12>>2];l=h-4|0;C[b+12>>2]=l;if((l|0)<=0){break h}l=A[d|0];if((l|0)<0){break h}l=D[d+3|0]|(D[d+1|0]<<16|(l&255)<<24|D[d+2|0]<<8);i:{if(!l){break i}m=e;e=g+l|0;j:{if(m>>>0>e>>>0|e>>>0>j>>>0){break j}j=j-e|0;if(j>>>0<2){break j}l=h-6|0;C[b+12>>2]=l;if((l|0)<=0){break j}if((D[e|0]|D[e+1|0]<<8)!=256){break i}if(j>>>0<8){break j}e=h-14|0;C[b+12>>2]=e;if((e|0)>0){break i}}e=C[b+28>>2];if(e>>>0>31){break h}C[b+28>>2]=e+1;if(!D[b+24|0]){break h}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=1;f=f+1|0;if((r|0)!=(f|0)){continue}break}break g}e=0}if(e){break f}d=C[b+28>>2];if(d>>>0>31){break e}C[b+28>>2]=d+1;if(!D[b+24|0]){break e}A[c|0]=0;A[c+1|0]=0;A[c+2|0]=0;A[c+3|0]=0}e=0;j=Ce-16|0;Ce=j;d=o+8|0;c=C[b+4>>2];k:{if(d>>>0>>0){break k}g=C[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break k}f=C[b+12>>2];h=f-4|0;C[b+12>>2]=h;if((h|0)<=0){break k}h=A[d|0];if((h|0)<0){break k}e=D[d+3|0]|(D[d+1|0]<<16|(h&255)<<24|D[d+2|0]<<8);if(e){m=c;c=e+k|0;l:{if(m>>>0>c>>>0|c>>>0>g>>>0|g-c>>>0<=3){break l}e=f-8|0;C[b+12>>2]=e;if((D[c|0]|D[c+1|0]<<8)!=256|(e|0)<=0){break l}C[j+12>>2]=c;e=1;m:{n:{g=c+4|0;if(g>>>0>2]){break n}f=C[b+8>>2];if(f>>>0>>0|f-g>>>0<2){break n}k=C[b+12>>2]-2|0;C[b+12>>2]=k;c=1;if((k|0)<=0){break n}h=D[g|0]|D[g+1|0]<<8;o:{if(!h){break o}c=g+2|0;if(c>>>0>f>>>0){break n}m=f-c|0;f=(h<<8|h>>>8)&65535;c=I(f,6);if(m>>>0>>0){break n}k=k-c|0;C[b+12>>2]=k;c=0;if((k|0)<=0){break o}o=f>>>0<=1?1:f;k=0;while(1){f=g+I(k,6)|0;c=f+2|0;if(c>>>0>2]){break n}h=C[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break n}r=C[j+12>>2];l=C[b+12>>2];c=l-6|0;C[b+12>>2]=c;if((c|0)<=0){break n}c=f+4|0;if(c>>>0>h>>>0|h-c>>>0<4){break n}h=l-10|0;C[b+12>>2]=h;if((h|0)<=0){break n}h=A[c|0];if((h|0)<0){break n}f=D[f+7|0]|(D[f+5|0]<<16|(h&255)<<24|D[f+6|0]<<8);p:{if(!f){break p}if(ky(f+r|0,b,0)){break p}f=C[b+28>>2];if(f>>>0>31){break n}C[b+28>>2]=f+1;if(!D[b+24|0]){break n}A[c|0]=0;A[c+1|0]=0;A[c+2|0]=0;A[c+3|0]=0}c=1;k=k+1|0;if((o|0)!=(k|0)){continue}break}}break m}c=0}if(c){break k}}e=0;c=C[b+28>>2];if(c>>>0>31){break k}C[b+28>>2]=c+1;if(!D[b+24|0]){break k}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=1}Ce=j+16|0;if(!e){break e}c=1;q=q+1|0;if((s|0)!=(q|0)){continue}break d}break}c=0}d=c}if(d){break a}}p=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}p=1}Ce=n+16|0;return p}function Th(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-80|0;Ce=f;c=C[105668];a:{if(!c){Qe(19865,0);c=-1;break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);c=-1;break a}if(b){c=0;if(C[a+120>>2]){break a}}c=th(a);if((c|0)>=0){e=C[C[105668]+376>>2]+I(c,72)|0}b:{if(!b){break b}c=C[e+60>>2];if(!c|(a|0)==(c|0)){break b}pn(c)}c:{if(!((C[a+48>>2]^C[a+52>>2])&4097)&(C[e+60>>2]==(a|0)|0)==(b|0)){break c}g=C[C[105668]+380>>2];if(g){while(1){d:{e:{if((a|0)!=(g|0)){if((C[g+48>>2]&69)!=5){break d}c=th(g);if((c|0)>=0){c=C[C[105668]+376>>2]+I(c,72)|0}else{c=0}if((c|0)==(e|0)){break e}break d}if(!b){break d}}h=f+12|0;lf(h,0,20);d=Ce-32|0;Ce=d;c=C[105668];f:{if(!c){Qe(19865,0);c=-1;break f}if(!(C[g>>2]==(c+388|0)?g:0)){Qe(2168,0);c=-1;break f}if(!h){C[d>>2]=18685;c=Qe(19745,d);break f}C[d+24>>2]=C[g+92>>2];c=C[g+88>>2];C[d+16>>2]=C[g+84>>2];C[d+20>>2]=c;c=C[g+80>>2];C[d+8>>2]=C[g+76>>2];C[d+12>>2]=c;if(!C[d+12>>2]){C[d+12>>2]=C[g+68>>2]}if(!C[d+16>>2]){C[d+16>>2]=C[g+72>>2]}c=0;i=th(g);if((i|0)>=0){c=C[C[105668]+376>>2]+I(i,72)|0}g:{if((C[g+48>>2]&4097)==4097){C[d+24>>2]=C[c+32>>2];i=C[c+28>>2];C[d+16>>2]=C[c+24>>2];C[d+20>>2]=i;i=C[c+20>>2];C[d+8>>2]=C[c+16>>2];C[d+12>>2]=i;break g}c=th(g);if((c|0)>=0){i=C[C[105668]+376>>2]+I(c,72)|0}else{i=0}c=d+8|0;if(sr(i,c,c)){break g}lf(h,0,20);c=Qe(15020,0);break f}c=C[d+12>>2];C[h>>2]=C[d+8>>2];C[h+4>>2]=c;C[h+16>>2]=C[d+24>>2];c=C[d+20>>2];C[h+8>>2]=C[d+16>>2];C[h+12>>2]=c;c=0}Ce=d+32|0;if(c){break d}b=0;b=C[g+24>>2]==C[f+16>>2]?C[g+28>>2]==C[f+20>>2]:b;h:{if(A[C[105668]+404|0]&1){break h}if((C[a+48>>2]&4097)!=4097){d=Ce+-64|0;Ce=d;c=f+12|0;i:{j:{if(c){C[d+56>>2]=C[c+16>>2];h=C[c+12>>2];C[d+48>>2]=C[c+8>>2];C[d+52>>2]=h;h=C[c+4>>2];c=C[c>>2];C[d+40>>2]=c;C[d+44>>2]=h;if(!c){C[d+40>>2]=C[e+36>>2]}if(!C[d+44>>2]){C[d+44>>2]=C[e+40>>2]}if(!C[d+48>>2]){C[d+48>>2]=C[e+44>>2]}if(!C[d+52>>2]){C[d+52>>2]=C[e+48>>2]}c=d+40|0;if(sr(e,c,c)){break j}c=C[d+48>>2];C[d>>2]=C[d+44>>2];C[d+4>>2]=c;c=Qe(21053,d);break i}C[d+56>>2]=C[e+32>>2];c=C[e+28>>2];C[d+48>>2]=C[e+24>>2];C[d+52>>2]=c;c=C[e+20>>2];C[d+40>>2]=C[e+16>>2];C[d+44>>2]=c}C[d+32>>2]=C[e+52>>2];c=C[e+48>>2];C[d+24>>2]=C[e+44>>2];C[d+28>>2]=c;c=C[e+40>>2];C[d+16>>2]=C[e+36>>2];C[d+20>>2]=c;if(qg(d+40|0,d+16|0,20)){c=C[105668];h=C[c+32>>2];if(!h){c=Qe(18604,0);break i}C[c+400>>2]=1;h=Fe[h|0](c,e,d+40|0)|0;C[C[105668]+400>>2]=0;c=-1;if((h|0)<0){break i}gf(e+36|0,d+40|0,20)}c=0}Ce=d- -64|0;if((c|0)>=0){break h}c=-1;break a}d=C[e+28>>2];c=f- -64|0;C[c>>2]=C[e+24>>2];C[c+4>>2]=d;C[f+72>>2]=C[e+32>>2];c=C[e+20>>2];C[f+56>>2]=C[e+16>>2];C[f+60>>2]=c;c=C[e+48>>2];C[f+40>>2]=C[e+44>>2];C[f+44>>2]=c;C[f+48>>2]=C[e+52>>2];c=C[e+40>>2];C[f+32>>2]=C[e+36>>2];C[f+36>>2]=c;if(!qg(f+56|0,f+32|0,20)){break h}c=C[105668];d=C[c+32>>2];if(d){C[c+400>>2]=1;d=Fe[d|0](c,e,f+56|0)|0;C[C[105668]+400>>2]=0;c=-1;if((d|0)<0){break a}gf(e+36|0,f+56|0,20);break h}if((Qe(18604,0)|0)>=0){break h}c=-1;break a}c=C[105668];d=C[c+120>>2];if(d){Fe[d|0](c,g,e,1)}C[e+60>>2]=g;k:{if(!b){bg(g,5,C[f+16>>2],C[f+20>>2]);break k}b=th(g);C[g+116>>2]=0;if(C[g+124>>2]){break k}bg(g,6,C[g+24>>2],C[g+28>>2]);if((b|0)==-1|(b|0)==C[g+56>>2]){break k}C[g+56>>2]=b;bg(g,18,b,0)}if(C[105559]==(g|0)){Ps(f+56|0,f+32|0);Os(g,C[f+56>>2],C[f+32>>2])}C[a+52>>2]=C[a+48>>2];break c}g=C[g+172>>2];if(g){continue}break}}c=C[e+28>>2];b=f- -64|0;C[b>>2]=C[e+24>>2];C[b+4>>2]=c;C[f+72>>2]=C[e+32>>2];b=C[e+20>>2];C[f+56>>2]=C[e+16>>2];C[f+60>>2]=b;b=C[e+48>>2];C[f+40>>2]=C[e+44>>2];C[f+44>>2]=b;C[f+48>>2]=C[e+52>>2];b=C[e+40>>2];C[f+32>>2]=C[e+36>>2];C[f+36>>2]=b;l:{if(!qg(f+56|0,f+32|0,20)){break l}b=C[105668];c=C[b+32>>2];if(!c){Qe(18604,0);break l}C[b+400>>2]=1;b=Fe[c|0](b,e,f+56|0)|0;C[C[105668]+400>>2]=0;if((b|0)<0){break l}gf(e+36|0,f+56|0,20)}b=C[105668];c=C[b+120>>2];if(c){Fe[c|0](b,a,e,0)}C[e+60>>2]=0;b=th(a);C[a+116>>2]=0;m:{if(C[a+124>>2]){break m}bg(a,6,C[a+24>>2],C[a+28>>2]);if((b|0)==-1|(b|0)==C[a+56>>2]){break m}C[a+56>>2]=b;bg(a,18,b,0)}if(C[105559]==(a|0)){Ps(f+56|0,f+32|0);Os(a,C[f+56>>2],C[f+32>>2])}C[a+52>>2]=C[a+48>>2]}c=0}Ce=f+80|0;return c}function xz(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;a:{if(!b){break a}g=C[a+20>>2];m=C[a+24>>2];if((g|0)>(m|0)&(m|0)!=-1){break a}k=C[a+104>>2];t=C[a+4>>2];n=C[t+28>>2];o=C[n+3656>>2];C[a+36>>2]=C[a+40>>2];p=C[b+28>>2];C[a+44>>2]=-1;C[a+40>>2]=p;d=C[a+64>>2];c=C[a+68>>2];b:{c:{if((d&c)==-1){d=C[b+56>>2];f=C[b+60>>2];break c}e=d+1|0;c=e?c:c+1|0;d=C[b+56>>2];f=C[b+60>>2];if((d|0)==(e|0)&(f|0)==(c|0)){break b}}C[a+56>>2]=-1;C[a+60>>2]=-1;C[k+128>>2]=-1;C[k+132>>2]=-1;e=d;c=f}C[a+64>>2]=e;C[a+68>>2]=c;d:{if(!C[b>>2]){d=m;break d}l=C[(p<<2)+n>>2];e=C[n>>2];g=C[n+4>>2];d=C[b+88>>2];f=d;c=d+C[a+72>>2]|0;d=C[a+76>>2]+(d>>31)|0;C[a+72>>2]=c;C[a+76>>2]=c>>>0>>0?d+1|0:d;c=C[b+92>>2];f=c;d=c+C[a+80>>2]|0;c=C[a+84>>2]+(c>>31)|0;C[a+80>>2]=d;C[a+84>>2]=d>>>0>>0?c+1|0:c;d=C[b+96>>2];f=d;c=d+C[a+88>>2]|0;d=C[a+92>>2]+(d>>31)|0;C[a+88>>2]=c;C[a+92>>2]=c>>>0>>0?d+1|0:d;d=C[b+100>>2];f=d;c=d+C[a+96>>2]|0;d=C[a+100>>2]+(d>>31)|0;C[a+96>>2]=c;C[a+100>>2]=c>>>0>>0?d+1|0:d;f=g;g=o+1|0;f=f>>g;c=C[a+48>>2];d=c?f:0;p=c?0:f;if(C[t+4>>2]>0){u=(f|0)/2|0;e=e>>g;c=(e|0)/2|0;s=u+c|0;m=(e|0)>0?e:0;v=s-m&3;q=l>>g;z=q&-4;w=q&3;x=(e|0)<=0;A=0-c<<2;B=(m^-1)+s>>>0<3;D=(e|0)/-2<<2;while(1){c=C[a+40>>2];e:{if(C[a+36>>2]){if(c){c=r<<2;m=C[c+C[a+8>>2]>>2];g=C[c+C[b>>2]>>2];if((f|0)<=0){break e}l=C[(C[k+8>>2]-o<<2)+60640>>2];j=(p<<2)+m|0;c=0;while(1){h=c<<2;i=h+j|0;G[i>>2]=J(G[i>>2]*G[l+((c^-1)+f<<2)>>2])+J(G[g+h>>2]*G[h+l>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}break e}c=r<<2;m=C[c+C[a+8>>2]>>2];g=C[c+C[b>>2]>>2];if(x){break e}l=C[(C[k+4>>2]-o<<2)+60640>>2];j=(((p<<2)+m|0)+(u<<2)|0)+D|0;c=0;while(1){h=c<<2;i=h+j|0;G[i>>2]=J(G[i>>2]*G[l+(e+(c^-1)<<2)>>2])+J(G[g+h>>2]*G[h+l>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}j=C[(C[k+4>>2]-o<<2)+60640>>2];g=r<<2;m=C[g+C[a+8>>2]>>2];l=m+(p<<2)|0;g=C[g+C[b>>2]>>2];f:{if(c){h=((u<<2)+g|0)+A|0;c=0;if((e|0)<=0){break f}while(1){i=c<<2;y=i+l|0;G[y>>2]=J(G[y>>2]*G[j+(e+(c^-1)<<2)>>2])+J(G[h+i>>2]*G[j+i>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break f}c=0;if(x){break e}while(1){h=c<<2;i=h+l|0;G[i>>2]=J(G[i>>2]*G[j+(e+(c^-1)<<2)>>2])+J(G[g+h>>2]*G[h+j>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}if((c|0)>=(s|0)){break e}j=0;if(v){while(1){i=c<<2;G[i+l>>2]=G[h+i>>2];c=c+1|0;j=j+1|0;if((v|0)!=(j|0)){continue}break}}if(B){break e}while(1){j=c<<2;G[j+l>>2]=G[h+j>>2];i=j+4|0;G[i+l>>2]=G[h+i>>2];i=j+8|0;G[i+l>>2]=G[h+i>>2];j=j+12|0;G[j+l>>2]=G[h+j>>2];c=c+4|0;if((s|0)!=(c|0)){continue}break}}g:{if((q|0)<=0){break g}g=(q<<2)+g|0;l=(d<<2)+m|0;m=0;c=0;j=0;if(q>>>0>=4){while(1){h=c<<2;G[h+l>>2]=G[g+h>>2];i=h|4;G[i+l>>2]=G[g+i>>2];i=h|8;G[i+l>>2]=G[g+i>>2];h=h|12;G[h+l>>2]=G[g+h>>2];c=c+4|0;j=j+4|0;if((z|0)!=(j|0)){continue}break}}if(!w){break g}while(1){h=c<<2;G[h+l>>2]=G[g+h>>2];c=c+1|0;m=m+1|0;if((w|0)!=(m|0)){continue}break}}r=r+1|0;if((r|0)>2]){continue}break}m=C[a+24>>2];c=C[a+48>>2]}C[a+48>>2]=c?0:f;g=d;if((m|0)!=-1){g=((C[(C[a+40>>2]<<2)+n>>2]/4|0)+(C[(C[a+36>>2]<<2)+n>>2]/4|0)>>o)+p|0;d=p}C[a+20>>2]=g;C[a+24>>2]=d}c=C[k+128>>2];e=C[k+132>>2];if((c&e)==-1){c=0;e=0}else{f=(C[(C[a+40>>2]<<2)+n>>2]/4|0)+(C[(C[a+36>>2]<<2)+n>>2]/4|0)|0;c=f+c|0;e=(f>>31)+e|0;e=c>>>0>>0?e+1|0:e}f=c;C[k+128>>2]=c;C[k+132>>2]=e;c=C[a+56>>2];k=C[a+60>>2];h:{if((c&k)==-1){c=C[b+48>>2];k=C[b+52>>2];if((c&k)==-1){break h}C[a+56>>2]=c;C[a+60>>2]=k;if((e|0)<=(k|0)&c>>>0>=f>>>0|(e|0)<(k|0)){break h}c=f-c|0;c=(c|0)>0?c:0;if(C[b+44>>2]){d=g-d<>2]=g-(((c|0)<(d|0)?c:d)>>o);break h}d=(c>>>o|0)+d|0;C[a+24>>2]=(d|0)<(g|0)?d:g;break h}e=c;c=(C[(C[a+40>>2]<<2)+n>>2]/4|0)+(C[(C[a+36>>2]<<2)+n>>2]/4|0)|0;f=c;e=e+c|0;c=(c>>31)+k|0;C[a+56>>2]=e;k=e>>>0>>0?c+1|0:c;C[a+60>>2]=k;c=C[b+48>>2];f=C[b+52>>2];if((c&f)==-1|(c|0)==(e|0)&(f|0)==(k|0)){break h}i:{if((f|0)>=(k|0)&c>>>0>=e>>>0|(f|0)>(k|0)){break i}e=e-c|0;if(!e|!C[b+44>>2]){break i}d=g-d<>2]=g-(((d|0)>0?d:0)>>>o|0)}C[a+56>>2]=c;C[a+60>>2]=f}if(!C[b+44>>2]){break a}C[a+32>>2]=1}}function On(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,m=0,n=J(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}if(d>>>0<4){break a}n=J(e|0);d=d>>>2|0;while(1){k=34028234663852886e22;d=d-1|0;c=C[a>>2];i=+(l(2,c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)),v());c=C[b>>2];i=i+ +J(J(n*(l(2,c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)),v()))*J(.0078125));o:{if(i>34028234663852886e22){break o}k=i;if(!(i<-34028234663852886e22)){break o}k=-34028234663852886e22}b=b+4|0;c=(w(J(k)),j(2));C[a>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a=a+4|0;if(d){continue}break}break a}if(!d){break a}while(1){c=A[a|0]+((I(A[b|0],e)|0)/128<<24>>24)|0;c=(c|0)>=127?127:c;A[a|0]=(c|0)<=-128?-128:c;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(!d){break a}while(1){A[a|0]=D[(D[a|0]+((I(D[b|0]-128|0,e)|0)/128&255^128)|0)+127168|0];b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<2){break a}d=d>>>1|0;while(1){c=B[a>>1]+((I(B[b>>1],e)|0)/128<<16>>16)|0;c=(c|0)>=32767?32767:c;B[a>>1]=(c|0)<=-32768?-32768:c;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<2){break a}d=d>>>1|0;while(1){c=E[b>>1];g=(I((c<<8|c>>>8)<<16>>16,e)|0)/128<<16>>16;c=E[a>>1];c=g+((c<<8|c>>>8)<<16>>16)|0;c=(c|0)>=32767?32767:c;c=(c|0)<=-32768?-32768:c;B[a>>1]=c<<8|(c&65280)>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<2){break a}c=d>>>1|0;while(1){d=E[a>>1]+((I(E[b>>1]-32768|0,e)|0)/128&65535^32768)|0;B[a>>1]=d>>>0>98303?-1:(d>>>0<=32768?32768:d)^32768;a=a+2|0;b=b+2|0;c=c-1|0;if(c){continue}break}break a}if(d>>>0<4){break a}c=d>>>2|0;g=e;m=e>>31;if(d&4){f=C[a>>2];d=C[b>>2];h=nT(mT(d,d>>31,g,m),Ee,128,0);e=f+h|0;d=Ee+(f>>31)|0;d=e>>>0>>0?d+1|0:d;f=(d|0)<0&e>>>0<=2147483648|(d|0)<-1;e=f?-2147483648:e;d=f?-1:d;C[a>>2]=(d|0)>=0&e>>>0>=2147483647|(d|0)>0?2147483647:e;a=a+4|0;b=b+4|0;e=c-1|0}else{e=c}if((c|0)==1){break a}while(1){f=C[a>>2];c=C[b>>2];h=nT(mT(c,c>>31,g,m),Ee,128,0);d=f+h|0;c=Ee+(f>>31)|0;c=d>>>0>>0?c+1|0:c;f=(c|0)<0&d>>>0<=2147483648|(c|0)<-1;d=f?-2147483648:d;c=f?-1:c;C[a>>2]=(c|0)>=0&d>>>0>=2147483647|(c|0)>0?2147483647:d;f=C[a+4>>2];c=C[b+4>>2];h=nT(mT(c,c>>31,g,m),Ee,128,0);d=f+h|0;c=Ee+(f>>31)|0;c=d>>>0>>0?c+1|0:c;f=(c|0)<0&d>>>0<=2147483648|(c|0)<-1;d=f?-2147483648:d;c=f?-1:c;C[a+4>>2]=(c|0)>=0&d>>>0>=2147483647|(c|0)>0?2147483647:d;a=a+8|0;b=b+8|0;e=e-2|0;if(e){continue}break}break a}if(d>>>0<4){break a}d=d>>>2|0;m=e>>31;while(1){c=C[a>>2];f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=C[b>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=nT(mT(c,c>>31,e,m),Ee,128,0);g=f+h|0;c=Ee+(f>>31)|0;c=g>>>0>>0?c+1|0:c;f=(c|0)<0&g>>>0<=2147483648|(c|0)<-1;g=f?-2147483648:g;c=f?-1:c;c=(c|0)>=0&g>>>0>=2147483647|(c|0)>0?2147483647:g;C[a>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<4){break a}n=J(e|0);e=d>>>2|0;while(1){e=e-1|0;k=34028234663852886e22;i=+G[a>>2]+ +J(J(G[b>>2]*n)*J(.0078125));p:{if(i>34028234663852886e22){break p}k=i;if(!(i<-34028234663852886e22)){break p}k=-34028234663852886e22}b=b+4|0;G[a>>2]=k;a=a+4|0;if(e){continue}break}break a}if((c|0)==4112){break b}}Qe(4828,0);break a}if(d>>>0<2){break a}c=d>>>1|0;while(1){d=E[a>>1];g=(d<<8|d>>>8)&65535;d=E[b>>1];d=g+((I(((d<<8|d>>>8)&65535)-32768|0,e)|0)/128&65535^32768)|0;d=d>>>0>98303?-1:(d>>>0<=32768?32768:d)^-32768;B[a>>1]=d<<8|(d&65280)>>>8;a=a+2|0;b=b+2|0;c=c-1|0;if(c){continue}break}}}function Um(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-48|0;Ce=e;C[e+8>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;A[e+24|0]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+28>>2]=0;C[e+32>>2]=0;c=Qf(b);A[e+40|0]=1;C[e+36>>2]=c;c=Of(b,1195656518);a:{if(!c){break a}d=C[c>>2];if(!d){break a}C[c>>2]=d+1}d=c;A[e+24|0]=0;C[e+32>>2]=c;g=C[c+12>>2];C[e+4>>2]=g;f=C[c+16>>2];C[e+8>>2]=f+g;C[e+28>>2]=0;if(f>>>0>67108862){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}C[e+12>>2]=f;C[e+20>>2]=0;C[e>>2]=0;b:{c:{if(!g){break c}d:{e:{f:{g:{if(Sp(g,e)){break g}h:{if(D[e+24|0]|!C[e+28>>2]){break h}d=Pf(c);C[e+4>>2]=d;C[e+8>>2]=d+C[c+16>>2];if(!d){break h}while(1){A[e+24|0]=1;d=C[e+32>>2];g=C[d+12>>2];C[e+4>>2]=g;f=C[d+16>>2];C[e+8>>2]=f+g;C[e+28>>2]=0;if(f>>>0<=67108862){f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}else{f=1073741823}C[e+12>>2]=f;C[e+20>>2]=0;C[e>>2]=0;if(!g){break c}if(Sp(g,e)){break g}if(D[e+24|0]|!C[e+28>>2]){break h}d=Pf(c);C[e+4>>2]=d;C[e+8>>2]=d+C[c+16>>2];if(d){continue}break}}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;break f}if(!C[e+28>>2]){break e}C[e+28>>2]=0;d=Sp(g,e);g=C[e+28>>2];Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;if(g){break f}if(d){break d}}Ue(c);c=205712;break b}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break b}Ue(d);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}C[a>>2]=c;c=C[c+16>>2];f=1;d=C[fh(b+136|0)>>2];d=C[(d?d:205712)+16>>2];g=d>>>11|0;b=C[Ch(b+140|0)>>2];d=C[(b?b:205712)+16>>2]|d<<21;b=c<<10|g;c=b;i:{j:{if((c|0)<=987147&d>>>0<=2743134887|(c|0)<987147){if((c|0)<=452609&d>>>0<=1732289589|(c|0)<452609){if((c|0)<=196614&d>>>0<=843062357|(c|0)<196614){if((c|0)<=192512&d>>>0<=553651553|(c|0)<192512){if((d|0)==1606425686&(c|0)==184326){break i}if((d|0)!=520097548|(c|0)!=192512){break j}break i}if((d|0)==553651554&(c|0)==192512){break i}if((d|0)!=734010454|(c|0)!=196614){break j}break i}if((c|0)<=440321&d>>>0<=1732288213|(c|0)<440321){if((d|0)==843062358&(c|0)==196614){break i}if((d|0)!=1732286926|(c|0)!=440321){break j}break i}if((d|0)==1732288214&(c|0)==440321){break i}if((d|0)!=1732286668|(c|0)!=452609){break j}break i}if((c|0)<=864259&d>>>0<=2428547489|(c|0)<864259){if((c|0)<=501761&d>>>0<=2092999333|(c|0)<501761){if((d|0)==1732289590&(c|0)==452609){break i}if((d|0)!=2092999598|(c|0)!=489473){break j}break i}if((d|0)==2092999334&(c|0)==501761){break i}if((d|0)!=-1820280774|(c|0)!=851971){break j}break i}if((c|0)<=931846&d>>>0<=583055987|(c|0)<931846){if((d|0)==-1866419806&(c|0)==864259){break i}if((d|0)!=557888902|(c|0)!=919558){break j}break i}if((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283){break i}if((d|0)!=1640033596|(c|0)!=962571){break j}break i}k:{if((c|0)<=1071126&d>>>0<=4139790647|(c|0)<1071126){if((c|0)<=1030155&d>>>0<=4072730923|(c|0)<1030155){if((c|0)<=1017867&d>>>0<=4081118127|(c|0)<1017867){if((d|0)==-1551832408&(c|0)==987147){break i}if((d|0)!=-1560219632|(c|0)!=999435){break j}break i}if((d|0)==-213849168&(c|0)==1017867){break i}if((d|0)!=-629130764|(c|0)!=1028124){break j}break i}b=d-61346|0;if(((d>>>0<61346)+1030156|0)==(c|0)&b>>>0<=6){break k}g=c-((d>>>0<4286641516)+1042443|0)|0;b=d+8325780|0;if(!g&b>>>0>6|g){if((d|0)!=-222236372|(c|0)!=1030155){break j}break i}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break j;default:break i}}if((c|0)<=1083427&d>>>0<=239092841|(c|0)<1083427){if((c|0)<=1071139&d>>>0<=230704581|(c|0)<1071139){if((d|0)==-155176648&(c|0)==1071126){break i}if((d|0)!=226509528|(c|0)!=1071139){break j}break i}if((d|0)==230704582&(c|0)==1071139){break i}if((d|0)!=-150983126|(c|0)!=1083414){break j}break i}if((c|0)<=1361973&d>>>0<=2852184657|(c|0)<1361973){if((d|0)==239092842&(c|0)==1083427){break i}if((d|0)!=243286402|(c|0)!=1083427){break j}break i}b=(c|0)==1361973;if(b&(d|0)==-1442782638|b&(d|0)==-1442781604){break i}break j}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break j;default:break i}}f=0}if(f){Ue(C[a>>2]);C[a>>2]=205712}Ce=e+48|0}function lu(a,b,c,d,e){var 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;h=Ce-560|0;Ce=h;g=c;c=(c-3|0)/24|0;s=(c|0)>0?c:0;l=g+I(s,-24)|0;o=C[(e<<2)+360320>>2];j=d-1|0;if((o+j|0)>=0){g=d+o|0;c=s-j|0;while(1){H[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+C[(c<<2)+360336>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}p=l-24|0;g=0;i=(o|0)>0?o:0;n=(d|0)<=0;while(1){a:{if(n){f=0;break a}k=g+j|0;c=0;f=0;while(1){f=H[(c<<3)+a>>3]*H[(h+320|0)+(k-c<<3)>>3]+f;c=c+1|0;if((d|0)!=(c|0)){continue}break}}H[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}x=47-l|0;t=48-l|0;y=l-25|0;g=o;b:{while(1){f=H[(g<<3)+h>>3];c=0;i=g;k=(g|0)<=0;if(!k){while(1){n=(h+480|0)+(c<<2)|0;m=f*5.960464477539063e-8;c:{if(K(m)<2147483648){j=~~m;break c}j=-2147483648}m=+(j|0);f=m*-16777216+f;d:{if(K(f)<2147483648){j=~~f;break d}j=-2147483648}C[n>>2]=j;i=i-1|0;f=H[(i<<3)+h>>3]+m;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Li(f,p);f=f+O(f*.125)*-8;e:{if(K(f)<2147483648){n=~~f;break e}n=-2147483648}f=f-+(n|0);f:{g:{h:{u=(p|0)<=0;i:{if(!u){i=(g<<2)+h|0;j=C[i+476>>2];c=j>>t;r=i;i=j-(c<>2]=i;n=c+n|0;j=i>>x;break i}if(p){break h}j=C[((g<<2)+h|0)+476>>2]>>23}if((j|0)<=0){break f}break g}j=2;if(f>=.5){break g}j=0;break f}c=0;i=0;if(!k){while(1){r=(h+480|0)+(c<<2)|0;v=C[r>>2];k=16777215;j:{k:{if(i){break k}k=16777216;if(v){break k}i=0;break j}C[r>>2]=k-v;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(u){break l}c=8388607;m:{switch(y|0){case 1:c=4194303;break;case 0:break m;default:break l}}k=(g<<2)+h|0;C[k+476>>2]=C[k+476>>2]&c}n=n+1|0;if((j|0)!=2){break f}f=1-f;j=2;if(!i){break f}f=f-Li(1,p)}if(f==0){i=0;c=g;n:{if((g|0)<=(o|0)){break n}while(1){c=c-1|0;i=C[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(o|0)){continue}break}if(!i){break n}l=p;while(1){l=l-24|0;g=g-1|0;if(!C[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!C[(h+480|0)+(o-i<<2)>>2]){continue}break}i=g+i|0;while(1){j=d+g|0;g=g+1|0;H[(h+320|0)+(j<<3)>>3]=C[(s+g<<2)+360336>>2];c=0;f=0;if((d|0)>0){while(1){f=H[(c<<3)+a>>3]*H[(h+320|0)+(j-c<<3)>>3]+f;c=c+1|0;if((d|0)!=(c|0)){continue}break}}H[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Li(f,24-l|0);o:{if(f>=16777216){d=(h+480|0)+(g<<2)|0;m=f*5.960464477539063e-8;p:{if(K(m)<2147483648){c=~~m;break p}c=-2147483648}f=+(c|0)*-16777216+f;q:{if(K(f)<2147483648){a=~~f;break q}a=-2147483648}C[d>>2]=a;g=g+1|0;break o}if(K(f)<2147483648){c=~~f}else{c=-2147483648}l=p}C[(h+480|0)+(g<<2)>>2]=c}f=Li(1,l);r:{if((g|0)<0){break r}d=g;while(1){a=d;H[(d<<3)+h>>3]=f*+C[(h+480|0)+(d<<2)>>2];d=d-1|0;f=f*5.960464477539063e-8;if(a){continue}break}k=0;if((g|0)<0){break r}a=(o|0)>0?o:0;i=g;while(1){d=a>>>0>>0?a:k;l=g-i|0;c=0;f=0;while(1){f=H[(c<<3)+363104>>3]*H[(c+i<<3)+h>>3]+f;p=(c|0)!=(d|0);c=c+1|0;if(p){continue}break}H[(h+160|0)+(l<<3)>>3]=f;i=i-1|0;c=(g|0)!=(k|0);k=k+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<=0){break v}f=H[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;w=H[e>>3];f=w+f;H[d+(c<<3)>>3]=m+(w-f);H[e>>3]=f;d=c>>>0>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=H[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;q=H[e>>3];f=q+f;H[d+(c<<3)>>3]=m+(q-f);H[e>>3]=f;d=c>>>0>2;c=a;if(d){continue}break}q=0;if((g|0)<=1){break v}while(1){q=q+H[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=H[h+160>>3];if(j){break t}H[b>>3]=f;f=H[h+168>>3];H[b+16>>3]=q;H[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){a=g;g=g-1|0;f=f+H[(h+160|0)+(a<<3)>>3];if(a){continue}break}}H[b>>3]=j?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){d=g;while(1){a=d;d=d-1|0;f=f+H[(h+160|0)+(a<<3)>>3];if(a){continue}break}}H[b>>3]=j?-f:f;f=H[h+160>>3]-f;c=1;if((g|0)>0){while(1){f=f+H[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}H[b+8>>3]=j?-f:f;break s}H[b>>3]=-f;f=H[h+168>>3];H[b+16>>3]=-q;H[b+8>>3]=-f}Ce=h+560|0;return n&7}function yk(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,o=0;e=Ce-80|0;Ce=e;a:{if(!(C[a>>2]==422390?a:0)){C[e>>2]=16603;Qe(19745,e);break a}if(!c){C[e+16>>2]=6991;Qe(19745,e+16|0);break a}if(!d){C[e+32>>2]=14968;Qe(19745,e+32|0);break a}C[e+40>>2]=0;C[e+44>>2]=0;g=C[a+12>>2];C[e+48>>2]=g;n=C[a+16>>2];C[e+52>>2]=n;if(b){f=b;b=e+40|0;if(!yg(f,b,b)){break a}n=C[e+52>>2];g=C[e+48>>2]}if(!g|!n){break a}o=C[a+40>>2];h=C[a+44>>2];if(h){b:{c:{d:{e:{f:{b=C[h>>2];g:{if((b|0)<=1431918168){h:{switch(b-842094158|0){case 0:break f;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 b;default:break h}}if((b|0)==825382478){break f}if((b|0)!=844715353){break b}break c}if((b|0)==1431918169|(b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}f=C[e+44>>2];i=C[e+40>>2];i:{if(f|i){break i}f=0;j=C[e+48>>2];if((j|0)!=C[h+8>>2]){break i}b=C[e+52>>2];if((b|0)==C[h+12>>2]){break e}}if(C[e+52>>2]<=0){break b}g=C[e+48>>2];f=i+(C[h+16>>2]+I(C[h+8>>2],f)|0)|0;j=0;b=c;while(1){gf(f,b,g);b=b+d|0;k=C[h+8>>2];f=k+f|0;j=j+1|0;i=C[e+52>>2];if((j|0)<(i|0)){continue}break}if((i|0)<=0){break b}g=(C[e+48>>2]+1|0)/2|0;f=C[h+16>>2]+I(k,C[h+12>>2])+(I(C[e+44>>2]/2|0,(k+1|0)/2|0)+(C[e+40>>2]/2|0))|0;n=(d+1|0)/2|0;b=I(d,i)+c|0;j=0;while(1){gf(f,b,g);b=b+n|0;k=C[h+8>>2];l=(k+1|0)/2|0;f=l+f|0;j=j+1|0;m=C[e+52>>2];i=(m+1|0)/2|0;if((j|0)<(i|0)){continue}break}if((m|0)<=0){break b}g=(C[e+48>>2]+1|0)/2|0;b=C[h+12>>2];f=(C[h+16>>2]+I(b,k)|0)+I(l,(b+1|0)/2|0)+(I(l,C[e+44>>2]/2|0)+(C[e+40>>2]/2|0))|0;c=(I(d,m)+c|0)+I(i,n)|0;d=0;while(1){gf(f,c,g);c=c+n|0;f=((C[h+8>>2]+1|0)/2|0)+f|0;d=d+1|0;if((d|0)<((C[e+52>>2]+1|0)/2|0)){continue}break}break b}f=C[e+44>>2];i=C[e+40>>2];if(f|i){break d}f=0;j=C[e+48>>2];if((j|0)!=C[h+8>>2]){break d}b=C[e+52>>2];if((b|0)!=C[h+12>>2]){break d}}gf(C[h+16>>2],c,I(b,j)+(I((j+1|0)/2|0,(b+1|0)/2|0)<<1)|0);break b}if(C[e+52>>2]<=0){break b}g=C[e+48>>2];f=i+(C[h+16>>2]+I(C[h+8>>2],f)|0)|0;j=0;b=c;while(1){gf(f,b,g);b=b+d|0;k=C[h+8>>2];f=k+f|0;j=j+1|0;i=C[e+52>>2];if((j|0)<(i|0)){continue}break}if((i|0)<=0){break b}g=(C[e+48>>2]+1|0)/2<<1;f=(C[h+16>>2]+I(k,C[h+12>>2])|0)+(I((C[e+44>>2]+1|0)/2|0,(k+1|0)/2|0)+(C[e+40>>2]/2|0)<<1)|0;c=I(d,i)+c|0;b=(d+1|0)/2<<1;d=0;while(1){gf(f,c,g);c=b+c|0;f=((C[h+8>>2]+1|0)/2<<1)+f|0;d=d+1|0;if((d|0)<((C[e+52>>2]+1|0)/2|0)){continue}break}break b}if(C[e+52>>2]<=0){break b}g=(C[e+48>>2]+1|0)/2<<2;f=(C[h+28>>2]+I(C[e+44>>2],E[h+20>>1])|0)+(C[e+40>>2]<<1)|0;b=0;while(1){gf(f,c,g);c=c+d|0;f=E[h+20>>1]+f|0;b=b+1|0;if((b|0)>2]){continue}break}}C[e+64>>2]=0;C[e+68>>2]=0;g=C[a+12>>2];C[e+72>>2]=g;d=C[a+16>>2];C[e+76>>2]=d;j:{if(C[a+8>>2]==1){C[e+60>>2]=0;C[e+56>>2]=0;if((Gl(o,e- -64|0,e+60|0,e+56|0)|0)<0){break j}mn(C[a+44>>2],e- -64|0,C[o+4>>2],C[e+72>>2],C[e+76>>2],C[e+60>>2],C[e+56>>2]);Fl(o);break a}b=C[o+4>>2];k:{if(!(!b|(b&-268435456)==268435456)){c=2;if((b|0)==844715353|(b|0)==1498831189){break k}c=(b|0)==1431918169?2:1;break k}c=b&255}c=I(c,g)+3&-4;b=I(c,d);if(!b){break a}b=Fe[C[94503]](b>>>0<=1?1:b)|0;if(b){C[94507]=C[94507]+1}if(b){f=C[a+44>>2];a=e- -64|0;mn(f,a,C[o+4>>2],g,d,b,c);yk(o,a,b,c);if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}break a}_e(0);break a}break a}if(o){l=Ce-16|0;Ce=l;m=e+40|0;g=C[m+8>>2];l:{if(!g){break l}b=C[m+12>>2];if(!b){break l}k=C[a+40>>2];m:{if(C[a+8>>2]==1){C[l+12>>2]=0;C[l+8>>2]=0;if((Gl(k,m,l+12|0,l+8|0)|0)<0){break m}Bi(C[m+8>>2],C[m+12>>2],C[a+4>>2],c,d,C[k+4>>2],C[l+12>>2],C[l+8>>2]);Fl(k);break l}i=C[k+4>>2];n:{if(!(!i|(i&-268435456)==268435456)){f=2;if((i|0)==844715353|(i|0)==1498831189){break n}f=(i|0)==1431918169?2:1;break n}f=i&255}g=I(f,g)+3&-4;if(!g){break l}b=I(b,g);b=Fe[C[94503]](b>>>0<=1?1:b)|0;if(b){C[94507]=C[94507]+1}if(b){Bi(C[m+8>>2],C[m+12>>2],C[a+4>>2],c,d,C[k+4>>2],b,g);yk(k,m,b,g);if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}break l}_e(0)}}Ce=l+16|0;break a}b=C[a+36>>2];if((fs(a)|0)<0){break a}Fe[C[b+56>>2]](b,a,e+40|0,c,d)|0}Ce=e+80|0}function ix(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;c=C[a+4>>2];d=C[C[c+92>>2]+I(C[c+76>>2],20)>>2];a:{b:{c:{d:{if(b){b=C[a+8>>2];C[e+12>>2]=C[a+16>>2];f=b;g=C[b+76>>2];b=C[b+72>>2];if(!(Fe[C[b+156>>2]](f,g,d,e+12|0,C[b+20>>2])|0)){break d}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+12>>2];if(D[c+73|0]){e:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break e}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}if(Dp(a,0,d)){break b}b=C[a+8>>2];C[e+12>>2]=C[a+16>>2];f=b;g=C[b+76>>2];b=C[b+72>>2];if(!(Fe[C[b+156>>2]](f,g,d,e+12|0,C[b+20>>2])|0)){break c}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+12>>2];if(D[c+73|0]){f:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break f}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}if(Dp(a,1,d)){break b}}g:{if((E[(C[c+92>>2]+I(C[c+76>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{switch(d+-8192|0){case 0:case 2:b=512;break h;case 4:b=768;break h;case 5:b=1024;break h;case 6:b=1536;break h;case 7:b=4864;break h;case 8:b=5120;break h;case 9:b=1280;break h;case 10:b=4096;break h;case 47:b=5376;break h;case 95:b=4352;break h;default:if((d|0)!=12288){break g}break;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 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:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break g;case 1:case 3:break i}}b=256}f=C[a+8>>2];C[e+8>>2]=0;g=f;h=C[f+76>>2];f=C[f+72>>2];if(!(Fe[C[f+156>>2]](g,h,32,e+8|0,C[f+20>>2])|0)){break g}a=C[c+92>>2];d=C[c+76>>2];f=a+I(d,20)|0;g=E[f+16>>1];if((g&31)==29){B[f+16>>1]=g&255|b;d=C[c+76>>2];a=C[c+92>>2]}C[(a+I(d,20)|0)+12>>2]=C[e+8>>2];j:{if(D[c+73|0]){k:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break k}}if(!$e(c,1,1)){break j}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1}C[c+36>>2]=C[c+36>>2]|4;break a}l:{if((d|0)!=8209){break l}a=C[a+8>>2];C[e+4>>2]=0;b=a;f=C[a+76>>2];a=C[a+72>>2];if(!(Fe[C[a+156>>2]](b,f,8208,e+4|0,C[a+20>>2])|0)){break l}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+4>>2];if(D[c+73|0]){m:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break m}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+12>>2];if(D[c+73|0]){n:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break n}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}C[c+76>>2]=C[c+76>>2]+1}Ce=e+16|0}function $n(a,b,c,d,e,f){var 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,F=0,G=0,H=0;i=Ce+-64|0;C[i+48>>2]=0;C[i+52>>2]=0;C[i+56>>2]=0;C[i+60>>2]=0;C[i+32>>2]=0;C[i+36>>2]=0;C[i+40>>2]=0;C[i+44>>2]=0;a:{b:{c:{d:{e:{if(c){if(c>>>0>=4){n=c&-4;while(1){m=i+32|0;l=k<<1;h=m+(E[l+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;h=m+(E[(l|2)+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;h=m+(E[(l|4)+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;h=m+(E[(l|6)+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;k=k+4|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}h=c&3;if(h){while(1){g=(i+32|0)+(E[(k<<1)+b>>1]<<1)|0;B[g>>1]=E[g>>1]+1;k=k+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}k=C[e>>2];l=15;g=E[i+62>>1];if(g){break d}break e}k=C[e>>2]}l=14;g=0;if(E[i+60>>1]){break d}l=13;if(E[i+58>>1]){break d}l=12;if(E[i+56>>1]){break d}l=11;if(E[i+54>>1]){break d}l=10;if(E[i+52>>1]){break d}l=9;if(E[i+50>>1]){break d}l=8;if(E[i+48>>1]){break d}l=7;if(E[i+46>>1]){break d}l=6;if(E[i+44>>1]){break d}l=5;if(E[i+42>>1]){break d}l=4;if(E[i+40>>1]){break d}l=3;if(E[i+38>>1]){break d}l=2;if(E[i+36>>1]){break d}if(!E[i+34>>1]){a=C[d>>2];C[d>>2]=a+4;B[a>>1]=320;B[a+2>>1]=0;a=C[d>>2];C[d>>2]=a+4;B[a>>1]=320;B[a+2>>1]=0;m=1;break b}r=(k|0)!=0;l=1;k=1;break c}r=k>>>0>>0?k:l;p=1;k=1;while(1){if(E[(i+32|0)+(k<<1)>>1]){break c}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l}j=-1;o=E[i+34>>1];if(o>>>0>2){break a}s=E[i+36>>1];h=s+(o<<1)|0;if(h>>>0>4){break a}q=E[i+38>>1];h=q+(h<<1)|0;if(h>>>0>8){break a}t=E[i+40>>1];h=t+(h<<1)|0;if((h|0)>16){break a}u=E[i+42>>1];h=32-(u+(h<<1)|0)|0;if((h|0)<0){break a}w=E[i+44>>1];h=(h<<1)-w|0;if((h|0)<0){break a}x=E[i+46>>1];h=(h<<1)-x|0;if((h|0)<0){break a}z=E[i+48>>1];h=(h<<1)-z|0;if((h|0)<0){break a}F=E[i+50>>1];h=(h<<1)-F|0;if((h|0)<0){break a}y=E[i+52>>1];h=(h<<1)-y|0;if((h|0)<0){break a}G=E[i+54>>1];h=(h<<1)-G|0;if((h|0)<0){break a}v=E[i+56>>1];h=(h<<1)-v|0;if((h|0)<0){break a}m=E[i+58>>1];h=(h<<1)-m|0;if((h|0)<0){break a}n=E[i+60>>1];h=(h<<1)-n|0;if((h|0)<0){break a}h=h<<1;if(h>>>0>>0|(!a|p?(g|0)!=(h|0):0)){break a}H=k>>>0>>0;j=0;B[i+2>>1]=0;B[i+4>>1]=o;g=o+s|0;B[i+6>>1]=g;g=g+q|0;B[i+8>>1]=g;g=g+t|0;B[i+10>>1]=g;g=g+u|0;B[i+12>>1]=g;g=g+w|0;B[i+14>>1]=g;g=g+x|0;B[i+16>>1]=g;g=g+z|0;B[i+18>>1]=g;g=g+F|0;B[i+20>>1]=g;g=g+y|0;B[i+22>>1]=g;g=g+G|0;B[i+24>>1]=g;g=g+v|0;B[i+26>>1]=g;g=g+m|0;B[i+28>>1]=g;B[i+30>>1]=g+n;f:{if(!c){break f}if((c|0)!=1){m=c&-2;g=0;while(1){h=E[(j<<1)+b>>1];if(h){h=(h<<1)+i|0;n=E[h>>1];B[h>>1]=n+1;B[(n<<1)+f>>1]=j}n=j|1;h=E[(n<<1)+b>>1];if(h){h=(h<<1)+i|0;v=E[h>>1];B[h>>1]=v+1;B[(v<<1)+f>>1]=n}j=j+2|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}if(!(c&1)){break f}c=E[(j<<1)+b>>1];if(!c){break f}c=(c<<1)+i|0;g=E[c>>1];B[c>>1]=g+1;B[(g<<1)+f>>1]=j}m=H?r:k;s=20;z=0;n=f;w=n;F=0;g:{h:{switch(a|0){case 1:j=1;if(m>>>0>9){break a}s=257;w=103504;n=103440;F=1;break g;case 0:break g;default:break h}}z=(a|0)==2;s=0;w=103632;n=103568;if((a|0)!=2){break g}j=1;if(m>>>0>9){break a}}q=1<>2];u=0;g=m;o=0;p=0;a=-1;while(1){h=1<>1];c=0;j:{if(g+1>>>0>>0){break j}if(g>>>0>>0){g=0;c=96;break j}c=g-s<<1;g=E[c+n>>1];c=D[c+w|0]}v=p>>>o|0;H=-1<>1]=g;A[y+1|0]=x;A[y|0]=c;if(j){continue}break}g=1<>>1|0;if(c&p){continue}break}g=(i+32|0)+(k<<1)|0;j=E[g>>1]-1|0;B[g>>1]=j;p=c?c+(c-1&p)|0:0;u=u+1|0;if(!(j&65535)){if((k|0)==(l|0)){break i}k=E[(E[(u<<1)+f>>1]<<1)+b>>1]}if(k>>>0<=m>>>0){continue}c=p&G;if((c|0)==(a|0)){continue}break}o=o?o:m;g=k-o|0;r=1<>>0>>0){a=l-o|0;j=k;k:{while(1){j=r-E[(i+32|0)+(j<<1)>>1]|0;if((j|0)<=0){break k}r=j<<1;g=g+1|0;j=o+g|0;if(l>>>0>j>>>0){continue}break}g=a}r=1<>>0>852&F|q>>>0>592&z){break a}a=C[d>>2];j=a+(c<<2)|0;A[j+1|0]=m;A[j|0]=g;t=(h<<2)+t|0;B[j+2>>1]=t-a>>>2;a=c;continue}break}if(p){a=(p<<2)+t|0;B[a+2>>1]=0;A[a+1|0]=x;A[a|0]=64}C[d>>2]=C[d>>2]+(q<<2)}C[e>>2]=m;j=0}return j}function yo(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;k=Ce-16|0;Ce=k;m=C[a+676>>2];i=C[a+104>>2];l=C[i+28>>2];C[k+4>>2]=0;n=6;a:{if(!D[a+672|0]|!m){break a}n=0;if(F[m+32>>2]<=b>>>0){break a}a=C[m+36>>2];e=b+1|0;if(C[a+(b<<2)>>2]==C[a+(e<<2)>>2]){break a}a=0;q=Ve(l,8,0,d,0,k+12|0);b:{if(C[k+12>>2]){break b}a=Ve(l,1,0,d,0,k+12|0);if(C[k+12>>2]){break b}b=b<<2;f=bf(i,C[b+C[m+36>>2]>>2]);C[k+12>>2]=f;if(f){break b}f=e<<2;e=C[m+36>>2];b=Bf(i,C[f+e>>2]-C[b+e>>2]|0);C[k+12>>2]=b;if(b){break b}b=C[i>>2];e=C[i+32>>2];s=Ve(l,4,0,C[m>>2],0,k+12|0);c:{if(C[k+12>>2]){break c}y=Ve(l,4,0,C[m>>2],0,k+12|0);if(C[k+12>>2]){break c}z=Ve(l,4,0,C[m>>2],0,k+12|0);if(C[k+12>>2]){break c}f=Ff(i);u=Ff(i)+(e-b|0)|0;b=f<<16>>16;if((b|0)<0){e=C[i+32>>2];f=C[i>>2];C[i+32>>2]=f+u;M=Co(i,k+4|0);n=C[i+32>>2];f=e-f|0;e=C[i>>2];C[i+32>>2]=f+e;u=n-e|0}H=b&4095;if(!H){break c}N=d&-2;O=d&1;J=C[k+4>>2];e=0;while(1){P=Ff(i);d:{e:{f:{g:{h:{f=Ff(i);n=f<<16>>16;i:{if((n|0)<0){b=0;if(!C[m>>2]){break i}while(1){R=(b<<2)+s|0,S=Ff(i)<<16>>16<<2,C[R>>2]=S;b=b+1|0;if(b>>>0>2]){continue}break}break i}b=f&4095;if(b>>>0>=F[m+24>>2]){break h}h=b;b=C[m>>2];t(s,C[m+28>>2]+(I(h,b)<<2)|0,b<<2)}j:{if(!(f&16384)){break j}b=0;if(!C[m>>2]){break j}while(1){R=(b<<2)+y|0,S=Ff(i)<<16>>16<<2,C[R>>2]=S;b=b+1|0;h=C[m>>2];if(b>>>0>>0){continue}break}b=0;if(!h){break j}while(1){R=(b<<2)+z|0,S=Ff(i)<<16>>16<<2,C[R>>2]=S;b=b+1|0;if(b>>>0>2]){continue}break}}h=Gu(m,n&65535,s,y,z);if(!h){break d}K=C[i>>2];Q=C[i+32>>2];k:{if(f&8192){C[i+32>>2]=u+K;n=Co(i,k+8|0);f=C[k+8>>2];b=n;break k}C[k+8>>2]=J;f=J;n=e;b=M}e=f?f:d;v=Bo(i,e);w=Bo(i,e);if(!v|(!b|!w)){break e}l:{if((b|0)!=-1){if(!d){break f}b=0;e=0;if((d|0)!=1){break l}break g}b=0;if(!d){break e}while(1){e=b<<1;f=Te(B[e+v>>1],h);g=b<<3;j=g+C[c+4>>2]|0;C[j>>2]=f+C[j>>2];e=Te(B[e+w>>1],h);f=g+C[c+4>>2]|0;C[f+4>>2]=e+C[f+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}break e}while(1){g=b<<3;j=g+q|0;g=g+C[c+4>>2]|0;o=C[g+4>>2];C[j>>2]=C[g>>2];C[j+4>>2]=o;A[a+b|0]=0;g=b|1;j=g<<3;o=j+q|0;j=j+C[c+4>>2]|0;r=C[j+4>>2];C[o>>2]=C[j>>2];C[o+4>>2]=r;A[a+g|0]=0;b=b+2|0;e=e+2|0;if((N|0)!=(e|0)){continue}break}break g}C[k+12>>2]=8;break c}if(!O){break f}e=b<<3;g=e+q|0;e=e+C[c+4>>2]|0;j=C[e+4>>2];C[g>>2]=C[e>>2];C[g+4>>2]=j;A[a+b|0]=0}b=0;if(f){while(1){e=b<<1;g=E[e+n>>1];if(g>>>0>>0){A[a+g|0]=1;j=Te(B[e+v>>1],h);g=g<<3;o=g+C[c+4>>2]|0;C[o>>2]=j+C[o>>2];e=Te(B[e+w>>1],h);g=g+C[c+4>>2]|0;C[g+4>>2]=e+C[g+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=0;G=0;if(E[c>>1]){j=C[c+4>>2];while(1){r=0;g=b;e=b;o=B[C[c+12>>2]+(G<<1)>>1];m:{if(o>>>0>>0){break m}while(1){n:{b=e+1|0;if(D[a+e|0]){break n}r=r+1|0;e=b;if(b>>>0<=o>>>0){continue}break m}break}f=e;h=e;o:{p:{q:{if(b>>>0<=o>>>0){while(1){if(D[a+b|0]){xo(h+1|0,f,h,b,q,j);h=b}f=b;b=b+1|0;if(o>>>0>=b>>>0){continue}break}if((e|0)!=(h|0)){break q}}h=e<<3;p=h+q|0;f=C[p+4>>2];x=h+j|0;h=C[x+4>>2];x=C[x>>2];p=C[p>>2];if((x|0)==(p|0)&(f|0)==(h|0)){break m}h=h-f|0;p=x-p|0;if((e|0)<=(g|0)){break o}if(r&1){f=j+(g<<3)|0;C[f>>2]=p+C[f>>2];C[f+4>>2]=h+C[f+4>>2];g=g+1|0}if((r|0)!=1){break p}break o}xo(h+1|0,o,h,e,q,j);if(!e){break m}xo(g,e-1|0,h,e,q,j);break m}while(1){f=j+(g<<3)|0;C[f>>2]=p+C[f>>2];C[f+4>>2]=h+C[f+4>>2];C[f+12>>2]=h+C[f+12>>2];C[f+8>>2]=p+C[f+8>>2];g=g+2|0;if((g|0)!=(e|0)){continue}break}}if((e|0)>=(o|0)){break m}while(1){e=e+1|0;f=j+(e<<3)|0;C[f>>2]=p+C[f>>2];C[f+4>>2]=h+C[f+4>>2];if((e|0)!=(o|0)){continue}break}}G=G+1|0;if((G|0)>1]){continue}break}}}e=-1;if((n|0)!=-1){if(n){Fe[C[l+8>>2]](l,n)}e=0}if(v){Fe[C[l+8>>2]](l,v)}if(w){Fe[C[l+8>>2]](l,w)}C[i+32>>2]=C[i>>2]+(Q-K|0)}u=u+P|0;L=L+1|0;if((L|0)!=(H|0)){continue}break}}if(s){Fe[C[l+8>>2]](l,s)}if(y){Fe[C[l+8>>2]](l,y)}if(z){Fe[C[l+8>>2]](l,z)}xf(i)}if(q){Fe[C[l+8>>2]](l,q)}if(a){Fe[C[l+8>>2]](l,a)}n=C[k+12>>2]}Ce=k+16|0;return n}function Av(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;g=Ce-32|0;Ce=g;mj(a,g+20|0);h=C[g+28>>2];a:{if(!h){f=3;break a}j=C[g+20>>2];C[g+16>>2]=j;i=C[g+24>>2];b:{c:{d:{e=C[b+8>>2];if((e|0)==7){e=C[a+8>>2];C[a+8>>2]=i-1;o=1;f=C[a>>2];C[a>>2]=j+1;mj(a,g);C[a+8>>2]=e;C[a>>2]=f;f=3;if(C[g+8>>2]==3){break d}e=7;break b}f=3;if((h|0)==3){break c}o=1;break b}if(!d){break a}C[g+16>>2]=j+1;i=i-1|0;e=8;p=1;break b}if(!d){break a}p=1;C[g+16>>2]=j+1;i=i-1|0;o=d}q=I(d,3);r=d<<1;s=d<<2;u=e-1|0;v=h-2|0;while(1){e=C[(p<<2)+c>>2];j=C[b+16>>2];ug(g+16|0,i);j=e+j|0;f=3;e:{f:{g:{h:{i:{j:{switch(u|0){case 0:k:{e=C[g+16>>2];if(e+3>>>0>=i>>>0|D[e|0]!=116|(D[e+1|0]!=114|D[e+2|0]!=117)){break k}if(D[e+3|0]!=101){break k}f=1;C[g+16>>2]=e+5;break i}f=0;l:{if(D[e|0]!=102|e+4>>>0>=i>>>0|(D[e+1|0]!=97|D[e+2|0]!=108)){break l}if(D[e+3|0]!=115){break l}e=(D[e+4|0]==101?6:0)+e|0}C[g+16>>2]=e;break i;case 2:f=Lh(g+16|0,i,0);break i;case 3:f=Lh(g+16|0,i,3);break i;case 6:break g;case 4:case 5:break h;case 1:break j;case 7:break f;default:break a}}k=C[g+16>>2];C[g>>2]=k;h=bi(g,i,10);f=0;e=C[g>>2];if((k|0)==(e|0)){break i}if(!(D[e|0]!=35|e>>>0>=i>>>0)){k=e+1|0;C[g>>2]=k;h=bi(g,i,h);e=C[g>>2];if((k|0)==(e|0)){break i}}C[g+16>>2]=e;f=h}m:{switch(D[b+20|0]-1|0){case 0:A[j|0]=f;break e;case 1:B[j>>1]=f;break e;default:break m}}C[j>>2]=f;break e}e=C[g+16>>2];if(e>>>0>=i>>>0){break e}l=i-e|0;k=C[a+16>>2];n:{o:{switch(v|0){case 2:h=e+1|0;C[g+16>>2]=h;e=l-1|0;break n;case 0:break o;default:break a}}h=e+1|0;C[g+16>>2]=h;e=l-2|0}f=C[j>>2];if(f){if(f){Fe[C[k+8>>2]](k,f)}C[j>>2]=0}k=hf(k,e+1|0,g+12|0);f=C[g+12>>2];if(f){break a}t(k,h,e);A[e+k|0]=0;C[j>>2]=k;break e}f=C[g+16>>2];C[g>>2]=f;p:{q:{r:{s:{t:{if(f>>>0>=i>>>0){break t}h=D[f|0];u:{if((h|0)==91){e=93}else{e=0;k=0;if((h|0)!=123){break u}e=125}f=f+1|0;C[g>>2]=f;k=1}if(f>>>0>=i>>>0){break t}ug(g,i);f=C[g>>2];if(f>>>0>=i>>>0){break t}if(D[f|0]==(e|0)){break r}h=Lh(g,i,0);l=f;f=C[g>>2];if((l|0)==(f|0)|!(k&f>>>0>>0)){break t}ug(g,i);f=C[g>>2];if(f>>>0>=i>>>0){break t}if(D[f|0]==(e|0)){break r}k=Lh(g,i,0);l=f;f=C[g>>2];if((l|0)==(f|0)|f>>>0>=i>>>0){break t}ug(g,i);f=C[g>>2];if(f>>>0>=i>>>0){break t}if(D[f|0]==(e|0)){break r}l=Lh(g,i,0);m=f;f=C[g>>2];if((m|0)==(f|0)|f>>>0>=i>>>0){break t}ug(g,i);n=C[g>>2];if(n>>>0>=i>>>0){break t}if(D[n|0]==(e|0)){break r}m=Lh(g,i,0);f=C[g>>2];if((n|0)==(f|0)){break t}if(f>>>0>=i>>>0){break s}ug(g,i);f=C[g>>2];if(i>>>0<=f>>>0){break s}if(D[f|0]==(e|0)){break q}C[g+16>>2]=f;break p}f=3;break a}C[g+16>>2]=f;break p}f=3;break a}C[g+16>>2]=f+1}C[j>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;C[j+4>>2]=(k|0)>=0?k+32768&-65536:0-(32768-k&-65536)|0;C[j+8>>2]=(l|0)>=0?l+32768&-65536:0-(32768-l&-65536)|0;C[j+12>>2]=(m|0)>=0?m+32768&-65536:0-(32768-m&-65536)|0;break e}n=C[a+16>>2];j=Ve(n,4,0,s,0,g+12|0);f=C[g+12>>2];if(f){break a}m=0;while(1){e=C[g+16>>2];C[g>>2]=e;v:{if(e>>>0>=i>>>0){f=0;break v}l=I(d,m)<<2;h=D[e|0];w:{if((h|0)==91){h=93}else{if((h|0)!=123){h=0;k=1;break w}h=125}e=e+1|0;C[g>>2]=e;k=0}w=j+l|0;f=0;while(1){if(e>>>0>=i>>>0){break v}ug(g,i);e=C[g>>2];if(i>>>0<=e>>>0){break v}if(D[e|0]==(h|0)){e=e+1|0;break v}if(!(!j|(d|0)>(f|0))){break v}l=Lh(g,i,0);if(j){C[w+(f<<2)>>2]=l}l=e;e=C[g>>2];if((l|0)==(e|0)){f=3;break a}f=f+1|0;if(!k){continue}break}}C[g+16>>2]=e;if(d>>>0>f>>>0){f=3;break a}ug(g+16|0,i);m=m+1|0;if((m|0)!=4){continue}break}f=0;if(d){while(1){h=f<<2;e=C[h+c>>2];h=C[h+j>>2];C[e>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;h=C[j+(d+f<<2)>>2];C[e+4>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;h=C[j+(f+r<<2)>>2];C[e+8>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;h=e;e=C[j+(f+q<<2)>>2];C[h+12>>2]=(e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}if(j){Fe[C[n+8>>2]](n,j)}}p=p+1|0;o=o-1|0;if(o){continue}break}f=0}Ce=g+32|0;return f|0}function Sw(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,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;p=Ce-80|0;Ce=p;f=al(a,b);a:{if(f){break a}d=C[a+2980>>2];if(!(!(!(d&8)&C[c+24>>2]==1)&(d&1))){f=Rw(a,0);if(f){break a}Qw(a,c,0);d=C[a+2980>>2]}if(!(d&2)){f=Rw(a,1);if(f){break a}Qw(a,c,1)}k=1;while(1){b:{d=C[a+2980>>2];c:{d:{if(k){if(d&1){break c}if(d&8|C[c+24>>2]!=1){break d}Zw(p+20|0,a,p+16|0,p+12|0);e=C[a+24>>2];if((e|0)<=0){break c}d=C[a+28>>2];e=d+I(e,40)|0;j=C[p+12>>2];f=C[p+16>>2];while(1){v=d,w=Te(B[d+12>>1],f)+j|0,C[v+16>>2]=w;d=d+40|0;if(e>>>0>d>>>0){continue}break}break c}if(d&2){break b}}s=I(l,1468)+a|0;u=s- -64|0;j=C[u>>2];q=C[s+56>>2];n=j+I(q,48)|0;g=0;d=j;o=(q|0)<=0;if(!o){while(1){f=D[d+12|0];e:{if(f&4){break e}e=C[d+24>>2];i=C[d+20>>2];f:{g:{if(!i){if(!e){break e}f=C[e+20>>2];if(!f){break e}i=C[f+8>>2];C[e+8>>2]=i;A[e+12|0]=D[e+12|0]|4;f=e;e=d;break g}i=C[i+8>>2];A[d+12|0]=f|4;C[d+8>>2]=i;if(!e){break f}f=d;if(C[e+20>>2]){break f}}f=Hm(a,l,C[e+4>>2]-C[f+4>>2]|0);A[e+12|0]=D[e+12|0]|4;C[e+8>>2]=f+i}g=g?g:d}i=0;d=d+48|0;if(n>>>0>d>>>0){continue}break}d=j;f=g;m=0;e=0;g=0;while(1){t=D[d+12|0];h:{if(t&4){break h}h=C[d+24>>2];if(!h){g=g+1|0;break h}i:{if(!(e&255)){break i}r=m- -64|0;if((r|0)<=C[d+8>>2]&(r|0)<=C[h+8>>2]){break i}g=g+1|0;break h}if(C[h+20>>2]){r=Hm(a,l,C[d+4>>2]-C[h+4>>2]|0);h=C[h+8>>2];A[d+12|0]=t|4;C[d+8>>2]=h+r;break h}if(d>>>0>h>>>0){e=Hm(a,l,C[d+4>>2]-C[h+4>>2]|0);h=C[h+8>>2];A[d+12|0]=t|4;m=e+h|0;C[d+8>>2]=m;e=1;break h}j:{if(!((f|0)!=0|l)){i=Ow(a,d,h,0,0);break j}Ow(a,d,h,i,l)}A[d+12|0]=D[d+12|0]|4;A[h+12|0]=D[h+12|0]|4;m=C[h+8>>2];e=1;f=d}d=d+48|0;if(n>>>0>d>>>0){continue}break}}k:{if(!k){break k}f=4;e=2;d=j;l:{switch(q-6|0){case 6:d=j+48|0;f=9;e=5;break;case 0:break l;default:break k}}if(C[d+24>>2]!=(d+48|0)){break k}i=j+I(e,48)|0;if(C[i+24>>2]!=(i+48|0)){break k}h=I(f,48);f=h+j|0;e=C[f+24>>2];if((e|0)!=(h+(j+48|0)|0)){break k}m=(C[i+4>>2]<<1)-(C[d+4>>2]+C[f+4>>2]|0)|0;h=m>>31;if((h^m)-h>>>0>7){break k}h=C[f+8>>2];d=(C[i+8>>2]<<1)-C[d+8>>2]|0;C[f+8>>2]=d;d=h-d|0;if(e){C[e+8>>2]=C[e+8>>2]-d}if((q|0)==12){C[j+392>>2]=C[j+392>>2]-d;C[j+536>>2]=C[j+536>>2]-d}A[f+12|0]=D[f+12|0]|4;if(!e){break k}A[e+12|0]=D[e+12|0]|4}m:{if(o){break m}d=j;if(!g){break m}while(1){f=D[d+12|0];n:{if(f&4){break n}e=C[d+28>>2];if(!e){break n}i=C[e+4>>2];e=C[e+8>>2];A[d+12|0]=f|4;C[d+8>>2]=(e+C[d+4>>2]|0)-i;g=g-1|0}d=d+48|0;if(n>>>0>d>>>0){continue}break}e=j;if(!g){break m}while(1){d=e;o:{if(D[d+12|0]&4){break o}while(1){f=d;d=d-48|0;h=j>>>0>d>>>0;if(!(h|D[f-36|0]&4)){continue}break}g=e;p:{q:{r:{while(1){i=g;g=g+48|0;if(n>>>0<=g>>>0){break r}if(!(D[i+60|0]&4)){continue}break}if(d>>>0>=j>>>0){break q}o=(C[e+4>>2]+C[i+56>>2]|0)-C[i+52>>2]|0;break p}if(h){break o}d=f-48|0;o=(C[e+4>>2]+C[d+8>>2]|0)-C[d+4>>2]|0;break p}g=E[g>>1];d=E[d>>1];o=C[f-40>>2];if((g|0)==(d|0)){break p}d=d<<16>>16;f=C[f-40>>2];o=of(B[e>>1]-d|0,C[i+56>>2]-f|0,(g<<16>>16)-d|0)+f|0}C[e+8>>2]=o}e=e+48|0;if(n>>>0>e>>>0){continue}break}}d=C[s+56>>2];j=C[u>>2];h=0;h=k|l?(C[a+2984>>2]&(k?1:2))!=0:h;if((d|0)>0){q=I(d,48)+j|0;n=k?4:8;while(1){d=C[j+40>>2];e=d;s:{if(h){while(1){g=e+40|0;i=C[e+44>>2];while(1){f=C[g>>2];C[f+(k?16:20)>>2]=C[j+8>>2];B[f>>1]=n|E[f>>1];g=f+32|0;if((f|0)!=(i|0)){continue}break}e=C[e+16>>2];if((d|0)!=(e|0)){continue}break s}}f=C[j+8>>2]-C[j+4>>2]|0;i=d;while(1){g=i+40|0;m=C[i+44>>2];while(1){e=C[g>>2];g=e+(k?16:20)|0;C[g>>2]=f+C[g>>2];B[e>>1]=n|E[e>>1];g=e+32|0;if((e|0)!=(m|0)){continue}break}i=C[i+16>>2];if((d|0)!=(i|0)){continue}break}}j=j+48|0;if(q>>>0>j>>>0){continue}break}}Yw(a,l);Xw(a,l)}l=1;d=k;k=0;if(d){continue}}break}c=C[a+24>>2];if((c|0)<=0){f=0;break a}d=C[a+28>>2];c=d+I(c,40)|0;g=C[b+4>>2];a=C[b+8>>2];while(1){C[g>>2]=C[d+16>>2];C[g+4>>2]=C[d+20>>2];f=0;b=E[d>>1];A[a|0]=b&1?0:b&2?2:1;a=a+1|0;g=g+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}Ce=p+80|0;return f|0}function gs(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ce-32|0;Ce=i;a:{b:{c:{if(!(C[a>>2]==422389?a:0)){C[i>>2]=9675;Qe(19745,i);break c}b=b?b:C[a+132>>2];j=b&255;k=!b|(b&-268435456)==268435456;if(!(j|!k)){Qe(5052,0);break a}d:{if(!k|(b>>>24&15)-1>>>0>2){break d}f=C[a+128>>2];if(!f){break b}while(1){if(C[((g<<2)+a|0)+132>>2]==(b|0)){break d}g=g+1|0;if((f|0)!=(g|0)){continue}break}break b}if(!((d|0)>0&(e|0)>0)){g=0;Qe(29892,0);break a}g=C[a+200>>2];f=C[a+196>>2];if(!(!((d|0)>(f|0)?f:0)&(!g|(e|0)<=(g|0)))){C[i+20>>2]=g;C[i+16>>2]=f;Qe(21090,i+16|0);break c}g=If(1,96);if(!g){g=0;_e(0);break a}C[g+32>>2]=-1;C[g+16>>2]=e;C[g+12>>2]=d;C[g+8>>2]=c;C[g+4>>2]=b;C[g>>2]=422390;f=Eg(22326);e:{if(!f){break e}if(!wf(f,3283)){break e}h=1;if(!wf(f,11244)){break e}h=2;if(!wf(f,3291)){break e}h=Zf(f)}C[g+36>>2]=a;C[g+28>>2]=h;f=C[a+408>>2];C[g+92>>2]=f;if(f){C[f+88>>2]=g}C[a+408>>2]=g;f:{g:{h:{i:{if((c|0)!=2){break i}f=C[g+4>>2];if(!f){break i}if((f&-268435456)!=268435456){break h}}j:{h=C[a+128>>2];if(!h){break j}f=0;while(1){if(C[((f<<2)+a|0)+132>>2]!=(b|0)){f=f+1|0;if((h|0)!=(f|0)){continue}break j}break}if((Fe[C[a+16>>2]](a,g)|0)<0){break f}break a}h=0;f=b;k:{l:{if(!(!b|(b&-268435456)==268435456)){l=C[a+128>>2];if(!l){break l}while(1){if(C[((h<<2)+a|0)+132>>2]==(f|0)){break k}h=h+1|0;if((l|0)!=(h|0)){continue}break}break l}h=f>>>24&15;m:{if(h-4>>>0<=2){n=!((f>>>20&15)-3&-6);break m}if(h-7>>>0>4){break m}f=f>>>20&15;if(f>>>0>6){break m}n=108>>>f&1}o=C[a+128>>2];if(!o){break l}h=0;while(1){f=C[((h<<2)+a|0)+132>>2];if(!((f&-268435456)!=268435456?f:0)){m=f>>>24&15;n:{if(m-4>>>0<=2){l=!((f>>>20&15)-3&-6);break n}l=0;if(m-7>>>0>4){break n}m=(f>>>20&15)-2|0;if(m>>>0>4){break n}l=C[(m<<2)+137192>>2]}if((l|0)==(n|0)){break k}}h=h+1|0;if((o|0)!=(h|0)){continue}break}}f=C[a+132>>2]}break g}f=C[a+132>>2]}f=gs(a,f,c,d,e);C[g+40>>2]=f;if(!f){break f}h=C[g+92>>2];C[f+92>>2]=h;if(h){C[h+88>>2]=f}h=C[f+88>>2];C[g+88>>2]=h;if(h){C[h+92>>2]=g}C[f+88>>2]=g;C[g+92>>2]=f;C[a+408>>2]=g;a=C[g+4>>2];if(!(!a|(a&-268435456)==268435456)){c=0;o:{p:{q:{if((b|0)<=1431918168){r:{switch(b-842094158|0){case 0:case 11:break p;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((b|0)==825382478){break p}if((b|0)!=844715353){break q}break p}if((b|0)==1431918169|(b|0)==1448433993|(b|0)==1498831189){break p}}Qe(5669,0);a=0;break o}a=If(1,48);if(!a){_e(0);a=0;break o}C[a+12>>2]=e;C[a+8>>2]=d;C[a+4>>2]=0;C[a>>2]=b;j=(e+1|0)/2|0;f=(d+1|0)/2|0;h=I(j,f);k=I(d,e);s:{t:{u:{v:{if((b|0)<=1431918168){w:{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 s;case 0:break u;case 11:break v;default:break w}}if((b|0)==825382478){break u}if((b|0)!=844715353){break s}break t}if((b|0)==1431918169|(b|0)==1498831189){break t}if((b|0)!=1448433993){break s}}c=k+(h<<1)|0;break s}c=k+(h<<1)|0;break s}c=I(e,f)<<2}c=Ol(c);C[a+16>>2]=c;if(!c){Nf(C[a+40>>2]);Nf(C[a+44>>2]);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}_e(0);a=0;break o}x:{y:{z:{if((b|0)<=1431918168){A:{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 o;case 0:break y;case 11:break z;default:break A}}if((b|0)==825382478){break y}if((b|0)!=844715353){break o}break x}if((b|0)==1431918169|(b|0)==1498831189){break x}if((b|0)!=1448433993){break o}}C[a+28>>2]=c;B[a+20>>1]=d;b=d&65535;c=c+I(b,e)|0;C[a+32>>2]=c;b=b+1>>>1|0;B[a+24>>1]=b;B[a+22>>1]=b;C[a+36>>2]=c+I(b,j);break o}C[a+28>>2]=c;B[a+20>>1]=d;B[a+22>>1]=d+1&65534;C[a+32>>2]=c+I(d&65535,e);break o}C[a+28>>2]=c;B[a+20>>1]=f<<2}C[g+44>>2]=a;if(!a){break f}break a}if((c|0)!=1){break a}B:{if(k){break B}j=2;if((b|0)==844715353|(b|0)==1498831189){break B}j=(b|0)==1431918169?2:1}a=I(d,j)+3&-4;C[g+52>>2]=a;a=If(1,I(a,e));C[g+48>>2]=a;if(a){break a}}Fj(g)}g=0;break a}g=0;Qe(20191,0)}Ce=i+32|0;return g}function Do(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0,u=0;e=Ce-48|0;Ce=e;m=C[a+100>>2];h=C[a+104>>2];C[e+40>>2]=0;a:{b:{if(C[a+676>>2]){break b}c=Fe[C[a+508>>2]](a,1735811442,h,e+44|0)|0;C[e+40>>2]=c;if(c){break a}c=Fe[C[a+508>>2]](a,1719034226,h,e+44|0)|0;C[e+40>>2]=c;if(c){break a}q=C[h+8>>2];c=Ef(h,353968,e+24|0);C[e+40>>2]=c;if(c){break a}c:{d:{if(C[e+24>>2]!=65536|E[e+34>>1]!=20){break d}c=E[e+32>>1];if(c>>>0>16382){break d}d=E[e+38>>1];if((d|0)!=((c<<2)+4|0)){break d}g=E[e+36>>1];if(g>>>0>32511){break d}if(F[e+44>>2]>=E[e+28>>1]+(I(d,g)+I(c,20)|0)>>>0){break c}}C[e+40>>2]=8;break a}c=hf(m,40,e+40|0);C[a+676>>2]=c;if(C[e+40>>2]){break a}d=c;c=E[e+36>>1];c=((c<<3)+I(E[e+32>>1],(c<<2)+29|0)|0)+20|0;C[d+12>>2]=c;j=hf(m,c,e+40|0);if(C[e+40>>2]){break a}C[C[a+676>>2]+8>>2]=j;f=E[e+32>>1];C[j+4>>2]=-1;C[j>>2]=f;d=E[e+36>>1];g=j+20|0;i=g+I(f,24)|0;C[j+16>>2]=i;C[j+12>>2]=g;C[j+8>>2]=d;c=i+(d<<3)|0;e:{if(!d){break e}n=d&3;f:{if(d>>>0<4){d=0;break f}r=d&65532;d=0;k=f<<2;while(1){l=d<<3;C[l+i>>2]=c;c=c+k|0;C[i+(l|8)>>2]=c;c=c+k|0;C[i+(l|16)>>2]=c;c=c+k|0;C[i+(l|24)>>2]=c;c=c+k|0;d=d+4|0;o=o+4|0;if((o|0)!=(r|0)){continue}break}}if(!n){break e}k=f<<2;while(1){C[i+(d<<3)>>2]=c;d=d+1|0;c=c+k|0;p=p+1|0;if((n|0)!=(p|0)){continue}break}}g:{if(!f){break g}k=f&7;i=0;h:{if(f>>>0<8){d=0;break h}l=f&65528;d=0;f=0;while(1){C[g+I(d,24)>>2]=c;C[g+I(d|1,24)>>2]=c+5;C[g+I(d|2,24)>>2]=c+10;C[g+I(d|3,24)>>2]=c+15;C[g+I(d|4,24)>>2]=c+20;C[g+I(d|5,24)>>2]=c+25;C[g+I(d|6,24)>>2]=c+30;C[g+I(d|7,24)>>2]=c+35;d=d+8|0;c=c+40|0;f=f+8|0;if((l|0)!=(f|0)){continue}break}}if(!k){break g}while(1){C[g+I(d,24)>>2]=c;d=d+1|0;c=c+5|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}c=bf(h,E[e+28>>1]+q|0);C[e+40>>2]=c;if(c){break a}if(E[e+32>>1]){c=C[j+12>>2];d=0;while(1){g=Ef(h,354016,e+4|0);C[e+40>>2]=g;if(g){break a}g=C[e+4>>2];C[c+16>>2]=g;C[c+4>>2]=C[e+8>>2];C[c+8>>2]=C[e+12>>2];C[c+12>>2]=C[e+16>>2];C[c+20>>2]=E[e+22>>1];A[C[c>>2]]=g>>>24;A[C[c>>2]+1|0]=E[c+18>>1];A[C[c>>2]+2|0]=C[c+16>>2]>>>8;A[C[c>>2]+3|0]=C[c+16>>2];A[C[c>>2]+4|0]=0;c=c+24|0;d=d+1|0;if(d>>>0>1]){continue}break}}if(!E[e+36>>1]){break b}d=C[j+16>>2];f=0;while(1){c=Bf(h,(E[e+32>>1]<<2)+4|0);C[e+40>>2]=c;if(c){break a}s=d,u=Ff(h),C[s+4>>2]=u;Ff(h);c=0;if(E[e+32>>1]){while(1){g=vg(h);C[C[d>>2]+(c<<2)>>2]=g;c=c+1|0;if(c>>>0>1]){continue}break}}xf(h);d=d+8|0;f=f+1|0;if(f>>>0>1]){continue}break}}if(!b){break a}g=hf(m,C[C[a+676>>2]+12>>2],e+40|0);if(C[e+40>>2]){break a}a=C[a+676>>2];t(g,C[a+8>>2],C[a+12>>2]);h=g+20|0;C[g+12>>2]=h;j=C[g>>2];c=I(j,24)+h|0;C[g+16>>2]=c;d=C[g+8>>2];a=c+(d<<3)|0;i:{if(!d){break i}l=d&3;f=0;j:{if(d>>>0<4){d=0;break j}n=d&-4;d=0;k=j<<2;i=0;while(1){m=d<<3;C[m+c>>2]=a;a=a+k|0;C[c+(m|8)>>2]=a;a=a+k|0;C[c+(m|16)>>2]=a;a=a+k|0;C[c+(m|24)>>2]=a;a=a+k|0;d=d+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!l){break i}i=j<<2;while(1){C[c+(d<<3)>>2]=a;d=d+1|0;a=a+i|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}}k:{if(!j){break k}if((j|0)!=1){i=j&-2;c=0;while(1){C[h>>2]=a;l:{m:{n:{d=C[h+16>>2];if((d|0)<=2003072103){if((d|0)==1869640570){break n}if((d|0)!=1936486004){break l}f=4130;break m}f=4389;if((d|0)==2003265652){break m}if((d|0)!=2003072104){break l}f=14854;break m}f=16002}C[h>>2]=f}C[h+24>>2]=a+5;o:{p:{q:{r:{d=C[h+40>>2];if((d|0)<=2003072103){if((d|0)==1869640570){break r}if((d|0)!=1936486004){break o}f=4130;break p}if((d|0)==2003072104){break q}f=4389;if((d|0)==2003265652){break p}break o}f=16002;break p}f=14854}C[h+24>>2]=f}h=h+48|0;a=a+10|0;c=c+2|0;if((i|0)!=(c|0)){continue}break}}if(!(j&1)){break k}C[h>>2]=a;s:{t:{u:{a=C[h+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break u}if((a|0)!=1936486004){break k}c=4130;break s}if((a|0)==2003072104){break t}c=4389;if((a|0)==2003265652){break s}break k}c=16002;break s}c=14854}C[h>>2]=c}C[b>>2]=g}Ce=e+48|0;return C[e+40>>2]}function lx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=I(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){l=I(b-1|0,c);j=l+a|0;k=n+j|0;g=a+c|0;d=C[g>>2];i=I(b>>>1|0,c)+a|0;b=C[i>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(D[g+8|0]){break b}d=C[i+4>>2];b=C[g+4>>2];if((d^b)>>>0<2){break b}b=(b|0)<(d|0)?-1:1;break a}d=C[g+12>>2];b=C[i+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}f=(b|0)>0;b=f?g:i;d=C[b>>2];h=C[k>>2];c:{d:{if((d|0)!=(h|0)){if((d|0)>=(h|0)){break d}break c}e:{if(D[b+8|0]){break e}e=C[k+4>>2];d=C[b+4>>2];if((e^d)>>>0<2){break e}if((d|0)>=(e|0)){break d}break c}if(F[b+12>>2]<=F[k+12>>2]){break c}}e=f?i:g;b=C[e>>2];f:{if((b|0)!=(h|0)){b=(b|0)<(h|0)?-1:1;break f}g:{if(D[e+8|0]){break g}d=C[k+4>>2];b=C[e+4>>2];if((d^b)>>>0<2){break g}b=(b|0)<(d|0)?-1:1;break f}d=C[e+12>>2];b=C[k+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}b=(b|0)>0?e:k}if(!((b|0)==(j|0)|(c|0)<=0)){f=b+c|0;d=j;while(1){e=D[b|0];A[b|0]=D[d|0];A[d|0]=e;d=d+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}h:{if((l|0)<=0){g=0;break h}i=j;e=i;f=a;g=f;while(1){i:{if(e>>>0<=g>>>0){break i}while(1){j:{d=C[g>>2];b=C[j>>2];k:{if((d|0)!=(b|0)){if((b|0)>(d|0)){break k}break j}l:{if(D[g+8|0]){break l}d=C[j+4>>2];b=C[g+4>>2];if((d^b)>>>0<2){break l}if((b|0)>=(d|0)){break j}break k}d=C[g+12>>2];b=C[j+12>>2];if(d>>>0>>0){break k}if(b>>>0>>0){break j}if(!((c|0)<=0|g>>>0<=f>>>0)){k=c+f|0;b=f;d=g;while(1){h=D[b|0];A[b|0]=D[d|0];A[d|0]=h;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}}f=c+f|0}g=c+g|0;if(g>>>0>>0){continue}break i}break}m:{while(1){n:{k=e;e=e+n|0;d=C[e>>2];b=C[j>>2];o:{if((d|0)!=(b|0)){if((b|0)<=(d|0)){break o}break n}p:{if(D[e+8|0]){break p}d=C[j+4>>2];b=C[e+4>>2];if((d^b)>>>0<2){break p}if((b|0)<(d|0)){break n}break o}d=C[e+12>>2];b=C[j+12>>2];if(d>>>0>>0){break n}if(b>>>0>>0){break o}h=i+n|0;q:{if(i>>>0<=k>>>0){break q}b=e;d=h;if((c|0)<=0){break q}while(1){i=D[b|0];A[b|0]=D[d|0];A[d|0]=i;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}}i=h}if(e>>>0>g>>>0){continue}break m}break}if(!((c|0)<=0|e>>>0<=g>>>0)){k=c+g|0;b=g;d=e;while(1){h=D[b|0];A[b|0]=D[d|0];A[d|0]=h;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}}g=c+g|0}if(e>>>0>g>>>0){continue}}break}l=e-f|0;r:{if((a|0)==(f|0)|(e|0)==(f|0)){break r}b=f-a|0;if(b>>>0>l>>>0){if((l|0)<=0){break r}h=a+l|0;b=a+b|0;d=a;while(1){f=D[d|0];A[d|0]=D[b|0];A[b|0]=f;b=b+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}break r}if((b|0)<=0){break r}h=a+b|0;b=a+l|0;d=a;while(1){f=D[d|0];A[d|0]=D[b|0];A[b|0]=f;b=b+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}}g=i-e|0;if((e|0)==(i|0)|(i|0)==(m|0)){break h}b=m-i|0;if(b>>>0>>0){if((b|0)<=0){break h}f=b+e|0;b=e+g|0;while(1){d=D[e|0];A[e|0]=D[b|0];A[b|0]=d;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}break h}if((g|0)<=0){break h}f=e+g|0;b=b+e|0;while(1){d=D[e|0];A[e|0]=D[b|0];A[b|0]=d;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}lx(a,(l>>>0)/(c>>>0)|0,c);a=m-g|0;b=(g>>>0)/(c>>>0)|0;m=a+I(c,b)|0;if(b>>>0>=10){continue}break}}f=a+c|0;s:{if(m>>>0<=f>>>0){break s}j=0-c|0;if((c|0)>0){while(1){e=f;t:{if(e>>>0<=a>>>0){break t}while(1){h=e+j|0;d=C[h>>2];b=C[e>>2];u:{if((d|0)!=(b|0)){if((b|0)>(d|0)){break t}break u}v:{if(D[h+8|0]){break v}d=C[e+4>>2];b=C[h+4>>2];if((d^b)>>>0<2){break v}if((b|0)<(d|0)){break t}break u}if(F[h+12>>2]<=F[e+12>>2]){break t}}b=h;d=e;while(1){i=D[b|0];A[b|0]=D[d|0];A[d|0]=i;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=h;if(e>>>0>a>>>0){continue}break}}f=c+f|0;if(m>>>0>f>>>0){continue}break s}}while(1){w:{if(a>>>0>=f>>>0){break w}d=C[f>>2];b=f;while(1){h=d;e=b;b=b+j|0;d=C[b>>2];x:{if((h|0)!=(d|0)){if((d|0)>=(h|0)){break x}break w}y:{if(D[b+8|0]){break y}i=C[e+4>>2];h=C[b+4>>2];if((i^h)>>>0<2){break y}if((h|0)>=(i|0)){break x}break w}if(F[b+12>>2]<=F[e+12>>2]){break w}}if(a>>>0>>0){continue}break}}f=c+f|0;if(m>>>0>f>>>0){continue}break}}}function Uv(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=Ce-352|0;Ce=e;g=6;a:{if(!a|!b|(!c|!d)){break a}b:{c:{h=C[b>>2];if((C[a+8>>2]-h|0)+1>>>0>2){break c}i=C[b+4>>2];if((C[a+12>>2]-i|0)+1>>>0>2){break c}f=h;h=C[c>>2];if((f-h|0)+1>>>0>2){break c}f=i;i=C[c+4>>2];if((f-i|0)+1>>>0>2|(h-C[d>>2]|0)+1>>>0>2|(i-C[d+4>>2]|0)+1>>>0>2){break c}break b}h=C[d+4>>2];C[e+48>>2]=C[d>>2];C[e+52>>2]=h;h=C[c+4>>2];C[e+56>>2]=C[c>>2];C[e+60>>2]=h;c=C[b+4>>2];C[e+64>>2]=C[b>>2];C[e+68>>2]=c;b=C[a+12>>2];C[e+72>>2]=C[a+8>>2];C[e+76>>2]=b;x=a- -64|0;b=e+48|0;g=1;while(1){c=C[a>>2];y=e+48|0;d:{e:{if(o>>>0>31){h=c;i=c;break e}l=C[b+20>>2];s=C[b+28>>2];h=l-s|0;n=C[b+8>>2];q=C[b+16>>2];i=n-q|0;r=C[b+12>>2];t=r-l|0;w=i+1>>>0<3&t+1>>>0<3;p=C[b>>2];f=p-n|0;u=C[((e+48|0)+(o<<3)|0)+4>>2];j=u-r|0;k=f+1>>>0<3&j+1>>>0<3;f:{g:{h:{m=C[b+24>>2];v=q-m|0;i:{if(!(v+1>>>0>2|h+1>>>0>2)){if(w){h=c;i=c;if(k){break f}c=Cg(f,j);break i}c=Cg(i,t);if(k){break i}i=Cg(f,j);h=c;break f}c=Cg(v,h);if(!w){break g}if(!k){break h}}h=c;i=c;break f}i=Cg(f,j);h=((gg(c,i)|0)/2|0)+c|0;break f}h=Cg(i,t);if(k){i=h;break f}i=Cg(f,j)}f=gg(c,h);j=gg(h,i);k=f;f=f>>31;if((k^f)-f>>>0<=1474559){f=j>>31;if((f^j)-f>>>0<1474560){break e}}if(D[a+20|0]){C[a>>2]=c}C[b+48>>2]=m;C[b+52>>2]=s;c=(m+q|0)/2|0;C[b+40>>2]=c;h=(n+p|0)/2|0;C[b+8>>2]=h;i=(l+s|0)/2|0;C[b+44>>2]=i;f=(r+u|0)/2|0;C[b+12>>2]=f;j=c;c=(n+q|0)/2|0;j=(j+c|0)/2|0;C[b+32>>2]=j;c=(c+h|0)/2|0;C[b+16>>2]=c;h=(l+r|0)/2|0;i=(h+i|0)/2|0;C[b+36>>2]=i;h=(f+h|0)/2|0;C[b+20>>2]=h;C[b+24>>2]=(c+j|0)/2;C[b+28>>2]=(h+i|0)/2;o=o+3|0;break d}j:{k:{if(g&255){if(D[a+20|0]){g=cp(a,c,0);break k}C[a+4>>2]=c;f=gg(C[a>>2],c);if(!f){break j}gg(C[a>>2],C[a+4>>2]);g=e+344|0;Vf(g,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[e+344>>2]=C[e+344>>2]+C[a+8>>2];C[e+348>>2]=C[e+348>>2]+C[a+12>>2];j=(f>>>26&32)+x|0;A[j+16|0]=0;g=ig(j,g,0);if(g){break a}g=ck(a,(f^-1)>>>31|0,0);break k}f=gg(C[a>>2],c);g=f>>31;if((g^f)-g>>>0<368641){break j}f=C[b+28>>2];j=C[b+24>>2];g=0;C[a+48>>2]=0;C[a+4>>2]=c;C[a+8>>2]=j;C[a+12>>2]=f;f=gg(C[a>>2],c);l:{if(!f){break l}gg(C[a>>2],C[a+4>>2]);g=e+344|0;Vf(g,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[e+344>>2]=C[e+344>>2]+C[a+8>>2];C[e+348>>2]=C[e+348>>2]+C[a+12>>2];j=(f>>>26&32)+x|0;A[j+16|0]=0;g=ig(j,g,0);if(g){break l}g=ck(a,(f^-1)>>>31|0,0)}C[a+48>>2]=C[a+52>>2]}if(g){break a}}g=gg(c,h);f=gg(h,i);k=(gg(c,h)|0)/2|0;l=(gg(h,i)|0)/2|0;q=Ze(C[a+60>>2],ak((g|0)/2|0));r=Ze(C[a+60>>2],ak((f|0)/2|0));if(D[a+40|0]){j=Cg(C[b>>2]-C[b+24>>2]|0,C[((e+48|0)+(o<<3)|0)+4>>2]-C[b+28>>2]|0)}else{j=0}s=c+k|0;t=h+l|0;w=(e+48|0)+(o<<3)|4;g=5898240;h=1;c=x;while(1){Vf(e+344|0,q,g+s|0);C[e+344>>2]=C[e+344>>2]+C[b+16>>2];C[e+348>>2]=C[e+348>>2]+C[b+20>>2];Vf(e+40|0,r,g+t|0);C[e+40>>2]=C[e+40>>2]+C[b+8>>2];C[e+44>>2]=C[e+44>>2]+C[b+12>>2];Vf(e+32|0,C[a+60>>2],g+i|0);l=C[b>>2];k=l+C[e+32>>2]|0;C[e+32>>2]=k;n=C[w>>2];m=n+C[e+36>>2]|0;C[e+36>>2]=m;m:{n:{if(!D[a+40|0]){break n}f=(C[c+8>>2]+(C[c>>2]<<3)|0)-8|0;g=C[f>>2];f=C[f+4>>2];C[e+24>>2]=g;C[e+28>>2]=f;m=Cg(k-g|0,m-f|0);p=gg(j,m);k=p>>31;if((k^p)-k>>>0<=5898240){break n}k=Cg(C[b+24>>2]-g|0,C[b+28>>2]-f|0);l=Cg(l-C[e+32>>2]|0,n-C[e+36>>2]|0);C[e+16>>2]=C[e+32>>2]-g;C[e+20>>2]=C[e+36>>2]-f;p=um(e+16|0);m=$j(m-l|0);n=m>>31;u=$j(k-l|0);l=u>>31;v=e+8|0;Vf(v,of(p,(n^m)-n|0,(l^u)-l|0),k);C[e+8>>2]=g+C[e+8>>2];C[e+12>>2]=f+C[e+12>>2];A[c+16|0]=0;g=ig(c,v,0);if(g){break a}g=ig(c,e+32|0,0);if(g){break a}g=ap(c,e+40|0,e+344|0,e+24|0);if(g){break a}g=ig(c,e+32|0,0);if(!g){break m}break a}g=ap(c,e+344|0,e+40|0,e+32|0);if(g){break a}}c=c+32|0;f=h&1;g=-5898240;h=0;if(f){continue}break}C[a>>2]=i;g=0;o=o-3|0}b=y+(o<<3)|0;if((o|0)>=0){continue}break}}b=C[d+4>>2];C[a+8>>2]=C[d>>2];C[a+12>>2]=b;g=0}Ce=e+352|0;return g}function Oy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ce-32|0;Ce=h;e=D[c+2|0]|D[c+3|0]<<8;k=e<<8|e>>>8;p=k&65535;d=C[b+4>>2];j=C[d+84>>2];b=D[c+6|0]|D[c+7|0]<<8;a:{if((b|0)!=65535){g=p&31;e=C[d+44>>2]-g|0;C[d+44>>2]=e;if((e|0)<=0){break a}o=C[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;b:{c:{if(!g){break c}b=C[a+4>>2];if(o>>>0>2]){break c}e=C[b+28>>2];if(e>>>0>>0){break c}f=e-o|0;e=g<<1;if(f>>>0>>0){break c}f=b;b=C[b+32>>2]-e|0;C[f+32>>2]=b;if((b|0)>0){break b}}g=0}if(!kh(d,C[a+8>>2])){break a}q=p&1024;d:{if(q){break d}b=C[d+76>>2];if(b>>>0>=F[d+80>>2]){break d}b=C[d+92>>2]+I(b,20)|0;C[h+24>>2]=C[b+16>>2];e=C[b+12>>2];C[h+16>>2]=C[b+8>>2];C[h+20>>2]=e;e=C[b+4>>2];C[h+8>>2]=C[b>>2];C[h+12>>2]=e;if(!$e(d,0,1)){break a}e=C[h+12>>2];b=C[d+96>>2]+I(C[d+84>>2],20)|0;C[b>>2]=C[h+8>>2];C[b+4>>2]=e;C[b+16>>2]=C[h+24>>2];e=C[h+20>>2];C[b+8>>2]=C[h+16>>2];C[b+12>>2]=e;C[d+84>>2]=C[d+84>>2]+1}if(!$e(d,0,g)){break a}b=C[d+76>>2];f=C[d+80>>2];e:{if(b>>>0>>0){i=C[d+84>>2];m=C[d+96>>2];e=C[d+92>>2]+I(b,20)|0;break e}m=C[d+96>>2];i=C[d+84>>2];e=i-1|0;e=m+I(e>>>0<=i>>>0?e:0,20)|0}f:{if(!g){C[d+84>>2]=i;break f}b=I(i,20)+m|0;i=0;if((g|0)!=1){m=g&30;f=0;while(1){l=C[e+4>>2];C[b>>2]=C[e>>2];C[b+4>>2]=l;C[b+16>>2]=C[e+16>>2];l=e+8|0;n=C[l+4>>2];C[b+8>>2]=C[l>>2];C[b+12>>2]=n;l=i<<1;n=l+o|0;n=D[n|0]|D[n+1|0]<<8;C[b>>2]=(n<<8|n>>>8)&65535;C[b+36>>2]=C[e+16>>2];n=C[e+12>>2];C[b+28>>2]=C[e+8>>2];C[b+32>>2]=n;n=C[e+4>>2];C[b+20>>2]=C[e>>2];C[b+24>>2]=n;l=o+(l|2)|0;l=D[l|0]|D[l+1|0]<<8;C[b+20>>2]=(l<<8|l>>>8)&65535;i=i+2|0;b=b+40|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(g&1){f=C[e+4>>2];C[b>>2]=C[e>>2];C[b+4>>2]=f;C[b+16>>2]=C[e+16>>2];f=C[e+12>>2];C[b+8>>2]=C[e+8>>2];C[b+12>>2]=f;e=b;b=o+(i<<1)|0;b=D[b|0]|D[b+1|0]<<8;C[e>>2]=(b<<8|b>>>8)&65535}C[d+84>>2]=C[d+84>>2]+g;f=C[d+80>>2];b=C[d+76>>2]}if(!(b>>>0>=f>>>0|q)){C[d+76>>2]=b+1}if(!kh(d,g+j|0)){break a}b=C[d+76>>2]+1|0;e=C[d+80>>2];Xg(d,C[a+8>>2],b>>>0>>0?b:e)}if(k<<16>>16<0){C[a+8>>2]=j}b=D[c+4|0]|D[c+5|0]<<8;if((b|0)==65535){break a}g=p>>>5&31;c=C[d+44>>2]-g|0;C[d+44>>2]=c;if((c|0)<=0){break a}c=C[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;g:{h:{if(!g){break h}a=C[a+4>>2];if(c>>>0>2]){break h}b=C[a+28>>2];if(b>>>0>>0){break h}e=b-c|0;b=g<<1;if(e>>>0>>0){break h}e=a;a=C[a+32>>2]-b|0;C[e+32>>2]=a;if((a|0)>0){break g}}g=0}e=C[d+84>>2];o=p&2048;i:{if(o){break i}a=C[d+76>>2];if(a>>>0>=F[d+80>>2]){break i}a=C[d+92>>2]+I(a,20)|0;C[h+24>>2]=C[a+16>>2];b=C[a+12>>2];C[h+16>>2]=C[a+8>>2];C[h+20>>2]=b;b=C[a+4>>2];C[h+8>>2]=C[a>>2];C[h+12>>2]=b;if(!$e(d,0,1)){break a}b=C[h+12>>2];a=C[d+96>>2]+I(C[d+84>>2],20)|0;C[a>>2]=C[h+8>>2];C[a+4>>2]=b;C[a+16>>2]=C[h+24>>2];b=C[h+20>>2];C[a+8>>2]=C[h+16>>2];C[a+12>>2]=b;C[d+84>>2]=C[d+84>>2]+1}if(!$e(d,0,g)){break a}b=C[d+76>>2];f=C[d+80>>2];j:{if(b>>>0>>0){i=C[d+84>>2];m=C[d+96>>2];a=C[d+92>>2]+I(b,20)|0;break j}m=C[d+96>>2];i=C[d+84>>2];a=i-1|0;a=m+I(a>>>0<=i>>>0?a:0,20)|0}k:{if(!g){C[d+84>>2]=i;break k}b=I(i,20)+m|0;i=0;if((g|0)!=1){m=g&30;f=0;while(1){j=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=j;C[b+16>>2]=C[a+16>>2];j=a+8|0;k=C[j+4>>2];C[b+8>>2]=C[j>>2];C[b+12>>2]=k;j=i<<1;k=j+c|0;k=D[k|0]|D[k+1|0]<<8;C[b>>2]=(k<<8|k>>>8)&65535;C[b+36>>2]=C[a+16>>2];k=C[a+12>>2];C[b+28>>2]=C[a+8>>2];C[b+32>>2]=k;k=C[a+4>>2];C[b+20>>2]=C[a>>2];C[b+24>>2]=k;j=c+(j|2)|0;j=D[j|0]|D[j+1|0]<<8;C[b+20>>2]=(j<<8|j>>>8)&65535;i=i+2|0;b=b+40|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(g&1){f=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=f;C[b+16>>2]=C[a+16>>2];f=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=f;a=c+(i<<1)|0;a=D[a|0]|D[a+1|0]<<8;C[b>>2]=(a<<8|a>>>8)&65535}C[d+84>>2]=C[d+84>>2]+g;f=C[d+80>>2];b=C[d+76>>2]}if(!(b>>>0>=f>>>0|o)){C[d+76>>2]=b+1}kh(d,e+(p&16384?0:g)|0)}Ce=h+32|0}function ur(a,b,c,d,e){var 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,B=0,D=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;f=Ce-1024|0;Ce=f;y=C[C[b+16>>2]>>2];w=C[b>>2];J=C[w+12>>2];B=C[w+8>>2];i=C[w>>2];j=C[w+4>>2];We(f+512|0,0,512);K=We(f,0,512);u=(j-i|0)/(B|0)|0;l=C[b+8>>2];if((l|0)>0){f=y-1|0;Q=f&-2;R=f&1;while(1){if((u|0)>0){p=0;L=(d|0)<=0;S=L|(x|0)!=0;T=1<>2];l=C[g+(p<<2)>>2];a:{if((y|0)<2){break a}i=0;t=1;if((y|0)!=2){while(1){j=I(l,J);h=p+t|0;if((h|0)<(u|0)){j=j+C[g+(h<<2)>>2]|0}l=I(j,J);j=h+1|0;if((j|0)<(u|0)){l=C[g+(j<<2)>>2]+l|0}t=t+2|0;i=i+2|0;if((Q|0)!=(i|0)){continue}break}}if(!R){break a}l=I(l,J);i=p+t|0;if((i|0)>=(u|0)){break a}l=C[g+(i<<2)>>2]+l|0}i=C[b+16>>2];if(C[i+4>>2]>(l|0)){Y=b,Z=Il(i,l,a)+C[b+36>>2]|0,C[Y+36>>2]=Z}f=f+1|0;if((f|0)!=(d|0)){continue}break}}b:{if((y|0)<=0){break b}t=0;if((p|0)>=(u|0)){break b}while(1){if(!L){U=C[w>>2]+I(p,B)|0;l=0;while(1){M=p<<2;i=l<<2;N=i+e|0;f=C[M+C[N>>2]>>2];if(!x){j=(f<<2)+K|0;C[j>>2]=C[j>>2]+B}f=f<<2;c:{if(!(C[(f+w|0)+24>>2]&T)){break c}r=C[C[f+C[b+20>>2]>>2]+(x<<2)>>2];if(!r){break c}V=C[c+i>>2]+(U<<2)|0;D=0;E=0;g=Ce+-64|0;Ce=g;O=C[r>>2];P=(B|0)/(O|0)|0;if((P|0)>0){while(1){v=C[r+48>>2];j=C[r>>2];s=C[r+52>>2];m=C[r+44>>2];C[g+56>>2]=0;C[g+60>>2]=0;C[g+48>>2]=0;C[g+52>>2]=0;C[g+40>>2]=0;C[g+44>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;n=m>>1;k=(I(E,O)<<2)+V|0;d:{e:{f:{if((s|0)!=1){if((j|0)>0){break f}o=0;break d}if((j|0)>0){break e}o=0;break d}F=m-1|0;G=(s>>1)-v|0;f=0;i=j;o=0;while(1){i=i-1|0;H=i<<2;q=(G+C[H+k>>2]|0)/(s|0)|0;g:{if((q|0)<(n|0)){h=(n-q<<1)-1|0;break g}h=q-n<<1}C[H+(g+32|0)>>2]=v+I(s,q);o=I(m,o)+((h|0)>=0?(h|0)<(m|0)?h:F:0)|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}jf(g+32|0,k,j<<2);q=m-1|0;i=0;f=j;o=0;while(1){o=I(m,o);f=f-1|0;h=C[(f<<2)+k>>2]-v|0;h:{if((h|0)<(n|0)){h=(n-h<<1)-1|0;break h}h=h-n<<1}o=o+((h|0)>=0?(h|0)<(m|0)?h:q:0)|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}F=C[C[r+12>>2]+8>>2];i:{if(A[F+o|0]>0){break i}C[g+24>>2]=0;C[g+28>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;G=C[r+4>>2];if((G|0)<=0){break i}v=v+I(s,m-1|0)|0;H=j&-2;W=j&1;m=-1;i=0;while(1){j:{if(A[i+F|0]<=0){break j}k:{if((j|0)<=0){h=0;break k}h=0;f=0;n=0;if((j|0)!=1){while(1){q=f<<2;z=q|4;z=C[z+g>>2]-C[k+z>>2]|0;X=h;h=C[g+q>>2]-C[k+q>>2]|0;h=I(z,z)+(X+I(h,h)|0)|0;f=f+2|0;n=n+2|0;if((H|0)!=(n|0)){continue}break}}if(!W){break k}f=f<<2;f=C[f+g>>2]-C[f+k>>2]|0;h=I(f,f)+h|0}if((m|0)!=-1&(h|0)>=(m|0)){break j}f=C[g+28>>2];C[g+56>>2]=C[g+24>>2];C[g+60>>2]=f;f=C[g+20>>2];C[g+48>>2]=C[g+16>>2];C[g+52>>2]=f;f=C[g+12>>2];C[g+40>>2]=C[g+8>>2];C[g+44>>2]=f;f=C[g+4>>2];C[g+32>>2]=C[g>>2];C[g+36>>2]=f;o=i;m=h}f=g;h=C[g>>2];if((v|0)<=(h|0)){n=0;while(1){C[f>>2]=0;n=n+1|0;f=g+(n<<2)|0;h=C[f>>2];if((v|0)<=(h|0)){continue}break}}C[f>>2]=0-(((h|0)>=0?s:0)+h|0);i=i+1|0;if((G|0)!=(i|0)){continue}break}}l:{if((o|0)<0|(j|0)<=0){break l}s=j&3;h=0;m:{if(j>>>0<4){f=0;break m}n=j&-4;f=0;i=0;while(1){j=f<<2;m=g+32|0;C[k>>2]=C[k>>2]-C[j+m>>2];C[k+4>>2]=C[k+4>>2]-C[m+(j|4)>>2];C[k+8>>2]=C[k+8>>2]-C[m+(j|8)>>2];C[k+12>>2]=C[k+12>>2]-C[m+(j|12)>>2];f=f+4|0;k=k+16|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!s){break l}while(1){C[k>>2]=C[k>>2]-C[(g+32|0)+(f<<2)>>2];f=f+1|0;k=k+4|0;h=h+1|0;if((s|0)!=(h|0)){continue}break}}D=Il(r,o,a)+D|0;E=E+1|0;if((P|0)!=(E|0)){continue}break}}Ce=g- -64|0;C[b+32>>2]=C[b+32>>2]+D;f=(K+512|0)+(C[C[N>>2]+M>>2]<<2)|0;C[f>>2]=C[f>>2]+D}l=l+1|0;if((l|0)!=(d|0)){continue}break}}p=p+1|0;t=t+1|0;if((y|0)<=(t|0)){break b}if((p|0)<(u|0)){continue}break}}if((p|0)<(u|0)){continue}break}l=C[b+8>>2]}x=x+1|0;if((x|0)<(l|0)){continue}break}}Ce=K+1024|0}function KR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=df(1,140);a:{if(!f){break a}e=190208;C[f>>2]=190208;b:{c:{d:{e:{f:{g:{h:{i:{c=C[a+4>>2];if((c|0)<=1298954604){if((c|0)<=1198877297){if((c|0)==1113943655){break i}b=190236;if((c|0)==1147500129){break c}break b}if((c|0)==1198877298){break g}if((c|0)==1198879349){break h}if((c|0)!=1265525857){break b}b=190432;break c}if((c|0)<=1399418471){if((c|0)==1298954605){break e}if((c|0)!=1332902241){break b}b=190348;break c}if((c|0)==1399418472){break d}if((c|0)==1415671148){break f}if((c|0)!=1415933045){break b}b=190404;break c}b=190264;break c}b=190292;break c}b=190320;break c}b=190376;break c}b=190460;break c}b=190488}C[f>>2]=b;e=b}c=0;c=D[e+4|0]?D[a+24|0]!=50:c;A[f+4|0]=c;e=C[105670];if(!e){$q();e=C[105670]}b=-1;C[f+8>>2]=-1;A[f+5|0]=e>>>2&1;g=c?g:C[a+4>>2]!=1298954605;A[f+20|0]=g;j=C[a+48>>2];h=C[a+44>>2];j:{if((h|0)<=0){break j}b=h-1|0;c=0;k:{while(1){e=b+c>>>1|0;d=C[I(e,36)+j>>2];l:{if(d>>>0>=1919969383){b=e-1|0;break l}if((d|0)==1919969382){break k}c=e+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break j}b=C[(I(e,36)+j|0)+12>>2]}e=C[a+80>>2];m:{if(e>>>0>>0){C[f+12>>2]=0;b=0;break m}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?205712:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+12>>2]=b;b=d-c|0}A[f+32|0]=g;C[f+16>>2]=b;b=-1;n:{if((h|0)<=0){break n}b=h-1|0;c=0;o:{while(1){d=b+c>>>1|0;i=C[I(d,36)+j>>2];p:{if(i>>>0>=1886545255){b=d-1|0;break p}if((i|0)==1886545254){break o}c=d+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break n}b=C[(I(d,36)+j|0)+12>>2]}q:{if(b>>>0>e>>>0){C[f+24>>2]=0;b=0;break q}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?205712:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+24>>2]=b;b=d-c|0}A[f+44|0]=g;C[f+28>>2]=b;b=-1;r:{if((h|0)<=0){break r}b=h-1|0;c=0;s:{while(1){d=b+c>>>1|0;i=C[I(d,36)+j>>2];t:{if(i>>>0>=1651275623){b=d-1|0;break t}if((i|0)==1651275622){break s}c=d+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break r}b=C[(I(d,36)+j|0)+12>>2]}u:{if(b>>>0>e>>>0){C[f+36>>2]=0;b=0;break u}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?205712:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+36>>2]=b;b=d-c|0}A[f+56|0]=g;C[f+40>>2]=b;b=-1;v:{if((h|0)<=0){break v}b=h-1|0;c=0;w:{while(1){d=b+c>>>1|0;i=C[I(d,36)+j>>2];x:{if(i>>>0>=1886614631){b=d-1|0;break x}if((i|0)==1886614630){break w}c=d+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break v}b=C[(I(d,36)+j|0)+12>>2]}y:{if(b>>>0>e>>>0){C[f+48>>2]=0;b=0;break y}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?205712:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+48>>2]=b;b=d-c|0}A[f+68|0]=g;C[f+52>>2]=b;d=f- -64|0;b=-1;z:{if((h|0)<=0){break z}b=h-1|0;c=0;A:{while(1){g=b+c>>>1|0;i=C[I(g,36)+j>>2];B:{if(i>>>0>=1986098294){b=g-1|0;break B}if((i|0)==1986098293){break A}c=g+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break z}b=C[(I(g,36)+j|0)+12>>2]}C:{if(b>>>0>e>>>0){C[f+60>>2]=0;a=0;break C}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}e=C[b>>2];if((c|0)!=(e|0)){a=c>>>0>=F[a+56>>2]?205712:C[a+60>>2]+(c<<3)|0}else{a=0}C[f+60>>2]=a;a=e-c|0}C[d>>2]=a;if((h|0)<=0){break a}a=h-1|0;e=0;while(1){k=(e<<2)+f|0;c=0;D:{if(!(2548>>>e&1)){break D}h=C[(e<<3)+187088>>2];c=0;b=a;while(1){g=b+c>>>1|0;i=I(g,36)+j|0;d=C[i>>2];E:{if(d>>>0<=h>>>0){c=C[i+28>>2];if(d>>>0>=h>>>0){break D}c=g+1|0;break E}b=g-1|0}if((b|0)>=(c|0)){continue}break}c=0}C[k+72>>2]=c;e=e+1|0;if((e|0)!=17){continue}break}}return f|0}function Rp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=C[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}g=C[b+12>>2];e=g-4|0;C[b+12>>2]=e;if(!(D[a+1|0]<<16|D[a|0]<<24)|(e|0)<=0){break a}e=a+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break a}e=g-8|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=1;e=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(!k){break a}l=k-1|0;a=a+8|0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<8){return 0}g=C[b+12>>2];c=g-8|0;C[b+12>>2]=c;if((c|0)<=0){return 0}d=C[b+32>>2];c=C[d+12>>2];C[b+4>>2]=c;h=C[d+16>>2];d=h+c|0;C[b+8>>2]=d;b:{c:{d:{e:{if(j>>>0>>0){f=j>>>0>>0?a:0;if(f>>>0>=c>>>0&d>>>0>f>>>0){break e}C[b+4>>2]=0;C[b+8>>2]=0;d=0;break d}if(a>>>0>=c>>>0){break d}break c}C[b+4>>2]=f;e=d-f|0;d=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=f+(d>>>0>e>>>0?e:d)|0;C[b+8>>2]=d}if(a>>>0>d>>>0){break c}d=d-a|0;if(d>>>0<8){break c}g=g-16|0;C[b+12>>2]=g;if((g|0)<=0){break c}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0<8|d>>>0>>0){break c}d=g-e|0;C[b+12>>2]=d;if((d|0)<=0){break c}d=1;f:{g:{h:{switch(D[a+5|0]){case 0:d=0;c=a+8|0;if(c>>>0>2]){break g}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<8){break g}g=C[b+12>>2]-8|0;C[b+12>>2]=g;if((g|0)<=0){break g}e=D[c|0]|D[c+1|0]<<8;if(e){c=a+16|0;if(c>>>0>f>>>0){break g}f=f-c|0;c=I((e<<8|e>>>8)&65535,6);if(f>>>0>>0){break g}c=g-c|0;C[b+12>>2]=c;if((c|0)<=0){break g}}c=1;break f;case 1:d=0;if(F[b+4>>2]>a>>>0){break g}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<18){break g}c=C[b+12>>2]-18|0;C[b+12>>2]=c;if((c|0)<=0){break g}c=Pp(a+8|0,b);break f;case 2:i:{j:{f=C[b+4>>2];if(f>>>0>a>>>0){break j}i=C[b+8>>2];if(i>>>0>>0){break j}e=i-a|0;if(e>>>0<16){break j}g=C[b+12>>2];c=g-16|0;C[b+12>>2]=c;if((c|0)<=0){break j}c=a+10|0;if(c>>>0>i>>>0|i-c>>>0<2){break j}c=g-18|0;C[b+12>>2]=c;if((c|0)<=0){break j}c=D[a+10|0]|D[a+11|0]<<8;h=((c<<8|c>>>8)&65535)+a|0;if(h>>>0>>0|i>>>0>>0|i-h>>>0<4){break j}c=g-22|0;C[b+12>>2]=c;if((c|0)<=0){break j}d=h+2|0;if(d>>>0>i>>>0|i-d>>>0<2){break j}c=g-24|0;C[b+12>>2]=c;if((c|0)<=0){break j}k:{g=D[d|0]|D[d+1|0]<<8;if(!g){break k}d=h+4|0;if(d>>>0>i>>>0){break j}h=i-d|0;d=((g<<8|g>>>8)&65535)<<1;if(h>>>0>>0){break j}c=c-d|0;C[b+12>>2]=c;if((c|0)>0){break k}break j}d=a+12|0;if(d>>>0>i>>>0|i-d>>>0<2){break j}C[b+12>>2]=c-2;if((c|0)<3){break j}g=f;d=D[a+12|0]|D[a+13|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|f>>>0>i>>>0|i-f>>>0<4){break j}C[b+12>>2]=c-6;if((c|0)<7){break j}d=f+2|0;if(d>>>0>i>>>0|i-d>>>0<2){break j}h=c-8|0;C[b+12>>2]=h;if((c|0)<9){break j}c=1;l:{g=D[d|0]|D[d+1|0]<<8;if(!g){break l}d=f+4|0;if(d>>>0>i>>>0){break j}f=i-d|0;d=((g<<8|g>>>8)&65535)<<1;if(f>>>0>>0){break j}h=h-d|0;C[b+12>>2]=h;if((h|0)>0){break l}break j}d=D[a+14|0]|D[a+15|0]<<8;m:{if(!d){break m}c=0;d=(d<<8|d>>>8)&65535;if(d>>>0>e>>>0){break m}c=h-d|0;C[b+12>>2]=c;c=(c|0)>0}break i}c=0}break f;case 3:break h;default:break g}}c=0;if(F[b+4>>2]>a>>>0){break f}h=C[b+8>>2];if(h>>>0>>0){break f}if(h-a>>>0<14){break f}f=C[b+12>>2]-14|0;C[b+12>>2]=f;if((f|0)<=0){break f}c=D[a+8|0]|D[a+9|0]<<8;g=I(D[a+12|0],D[a+11|0])+(D[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!g){break g}c=0;e=a+14|0;if(e>>>0>h>>>0){break f}d=0;if(g>>>0>h-e>>>0){break g}c=f-g|0;C[b+12>>2]=c;d=(c|0)>0}c=d}if(c){break b}a=C[b+32>>2];h=C[a+16>>2];c=C[a+12>>2]}C[b+4>>2]=c;C[b+8>>2]=c+h;return 0}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=C[b+32>>2];f=C[c+12>>2];C[b+4>>2]=f;d=C[c+16>>2]+f|0;C[b+8>>2]=d;a=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;c=1;j=j+1|0;if((k|0)!=(j|0)){continue}break}}return c}function tx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;A[a|0]=0;A[a+1|0]=0;n=Yi(b);a:{b:{if(C[b+20>>2]){break b}o=4;c:{h=n+2|0;f=C[b+4>>2];d=h-f|0;if((d|0)<0|(d|0)>(C[b+8>>2]-f|0)){break c}l=C[c+16>>2];p=C[c+12>>2];j=C[c+4>>2];m=C[c>>2];c=h;if((f|0)!=(c|0)){We(f,0,d);c=C[b+4>>2]}C[b+4>>2]=c+d;if(!c){break b}d:{e:{f:{g:{if(!(!j|!l)){s=(l<<1)+p|0;t=(j<<1)+m|0;f=-2;d=l;o=p;c=j;e=m;while(1){g=c?e:205712;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;i=(c|0)!=0;c=c-i|0;q=((f+1|0)!=(g|0))+q|0;k=k+1|0;e=(i<<1)+e|0;if(!((t|0)!=(e|0)|(c|0)!=0)){break g}i=(d|0)!=0;d=d-i|0;f=g;o=(i<<1)+o|0;if((s|0)!=(o|0)){continue}break}break g}A[n|0]=0;A[n+1|0]=1;break f}d=I(q,3)>>>0>>0;c=d?512:256;A[n|0]=c;A[n+1|0]=c>>>8;if(d-1|0){break f}break e}if(C[b+20>>2]){break b}o=4;c=n+4|0;f=C[b+4>>2];d=c-f|0;if((d|0)<0|(d|0)>(C[b+8>>2]-f|0)){break c}if((c|0)!=(f|0)){We(f,0,d);c=C[b+4>>2]}C[b+4>>2]=c+d;if(!c){break b}i=j>>>0>>0?j:l;c=i<<8|(i&65280)>>>8;A[h|0]=c;A[h+1|0]=c>>>8;c=C[b+20>>2];if(i>>>0>=65536){o=c|16;break c}if(c){break b}e=((i<<1&131070)+h|0)+2|0;d=C[b+4>>2];c=e-d|0;if((c|0)<0|(c|0)>(C[b+8>>2]-d|0)){break c}if((d|0)!=(e|0)){We(d,0,c);e=C[b+4>>2]}C[b+4>>2]=c+e;if(!e){break b}if(!i){break d}e=0;if((i|0)!=1){g=i&-2;d=0;while(1){f=(e<<1)+h|0;c=j?m:205712;c=D[c|0]|D[c+1|0]<<8;A[f+2|0]=c;A[f+3|0]=c>>>8;l=((e|1)<<1)+h|0;k=(j|0)!=0;p=(k<<1)+m|0;f=(j|0)==(k|0);c=f?205712:p;c=D[c|0]|D[c+1|0]<<8;A[l+2|0]=c;A[l+3|0]=c>>>8;e=e+2|0;c=!f;m=p+(c<<1)|0;j=j-(c+k|0)|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(i&1)){break d}d=(e<<1)+h|0;c=j?m:205712;c=D[c|0]|D[c+1|0]<<8;A[d+2|0]=c;A[d+3|0]=c>>>8;break d}if(C[b+20>>2]){break b}o=4;g=n+4|0;d=C[b+4>>2];c=g-d|0;if((c|0)<0|(c|0)>(C[b+8>>2]-d|0)){break c}f=g;if((d|0)!=(f|0)){We(d,0,c);f=C[b+4>>2]}r=c+f|0;C[b+4>>2]=r;if(!f){break b}q=0;f=-2;d=l;k=p;c=j;e=m;while(1){n=(d|0)!=0;i=f+1|0;f=c?e:205712;f=D[f|0]|D[f+1|0]<<8;f=(f<<8|f>>>8)&65535;q=((i|0)!=(f|0))+q|0;i=(c|0)!=0;c=c-i|0;e=(i<<1)+e|0;if(c|(t|0)!=(e|0)){d=d-n|0;k=(n<<1)+k|0;if((s|0)!=(k|0)){continue}}break}if(C[b+20>>2]){break b}c=g-r|0;if((c|0)<0|(c|0)>(C[b+8>>2]-r|0)){break c}if((g|0)!=(r|0)){We(r,0,c);g=C[b+4>>2]}C[b+4>>2]=c+g;if(!g){break b}c=q<<8|(q&65280)>>>8;A[h|0]=c;A[h+1|0]=c>>>8;c=C[b+20>>2];if(q>>>0>=65536){o=c|16;break c}if(c){break b}c=(I(q,6)+h|0)+2|0;f=C[b+4>>2];d=c-f|0;if((d|0)<0|(d|0)>(C[b+8>>2]-f|0)){break c}if((c|0)!=(f|0)){We(f,0,d);c=C[b+4>>2]}C[b+4>>2]=c+d;if(!c){break b}d=-2;f=0;c=-1;while(1){e=d+1|0;d=j?m:205712;k=D[d|0]|D[d+1|0]<<8;d=(k<<8|k>>>8)&65535;if((e|0)!=(d|0)){c=c+1|0;e=D[h|0]|D[h+1|0]<<8;h:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){B[211354]=D[206106]|D[206107]<<8;C[105676]=D[206102]|D[206103]<<8|(D[206104]<<16|D[206105]<<24);e=422704;break h}e=(I(c,6)+h|0)+2|0}A[e|0]=k;A[e+1|0]=k>>>8;e=D[h|0]|D[h+1|0]<<8;i:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){B[211354]=D[206106]|D[206107]<<8;C[105676]=D[206102]|D[206103]<<8|(D[206104]<<16|D[206105]<<24);g=422704;break i}g=(I(c,6)+h|0)+2|0}e=f<<8|(f&65280)>>>8;A[g+4|0]=e;A[g+5|0]=e>>>8}e=D[h|0]|D[h+1|0]<<8;j:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){B[211354]=D[206106]|D[206107]<<8;C[105676]=D[206102]|D[206103]<<8|(D[206104]<<16|D[206105]<<24);e=422704;break j}e=(I(c,6)+h|0)+2|0}A[e+2|0]=k;A[e+3|0]=k>>>8;e=(j|0)!=0;j=j-e|0;m=(e<<1)+m|0;if(!((t|0)!=(m|0)|(j|0)!=0)){break d}f=f+1|0;e=(l|0)!=0;l=l-e|0;p=(e<<1)+p|0;if((s|0)!=(p|0)){continue}break}}u=1;lk(b,a,yi(b,1));break a}C[b+20>>2]=o}d=C[b+40>>2];if(C[b+20>>2]|!d){break a}C[b+40>>2]=C[d+32>>2];c=C[d+4>>2];a=C[d>>2];C[b+4>>2]=a;C[b+8>>2]=c;kk(b);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[b+24>>2];C[b+24>>2]=d;return 0}return u}function WE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=C[a+36>>2];c=C[a+20>>2];l=C[a+16>>2];b=C[a>>2];j=C[a+28>>2];f=C[a+24>>2];g=C[a+40>>2];e=D[g+9|0];a:{i=C[a+44>>2];if(!C[i+24>>2]){if(!j){break a}d=D[i+9|0];i=f&7;f=(f+7|0)/8|0;b:while(1){j=j-1|0;g=f;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=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;a=g-1|0;b=b+e|0;c=c+d|0;f:{if((g|0)>1){g=a;break f}c=c+k|0;b=b+l|0;if(j){continue b}break a}a=0;continue}}}if(C[g+24>>2]){if(!j){break a}h=f&7;e=(f+7|0)/8|0;g:while(1){j=j-1|0;h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(h-1|0){case 0:d=D[i+35|0];g=d;f=e;break i;case 1:d=D[i+35|0];g=d;f=e;break j;case 2:d=D[i+35|0];g=d;f=e;break k;case 3:d=D[i+35|0];g=d;f=e;break l;case 4:d=D[i+35|0];g=d;f=e;break m;case 5:d=D[i+35|0];g=d;f=e;break n;case 6:d=D[i+35|0];g=d;f=e;break o;default:break p}}g=D[i+35|0];f=e;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=g&255;C[c>>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<1){f=a;break r}c=c+k|0;b=b+l|0;if(j){continue g}break a}a=0;continue}}}if(!j){break a}d=D[a+63|0]<>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=1;continue;case 1:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=2;continue;case 2:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=3;continue;case 3:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=4;continue;case 4:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=5;continue;case 5:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=6;continue;case 6:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=7;continue;default:break v}}C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));a=g-1|0;b=b+e|0;c=c+4|0;w:{if((g|0)>1){g=a;break w}c=c+k|0;b=b+l|0;if(j){continue s}break a}a=0;continue}}}}function Op(a,b,c){var d=0,e=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}f:{g:{h:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){d=C[c+4>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){d=mf(C[c+8>>2],I(b,20));if(d){break h}}C[c>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break f}C[c>>2]=b;C[c+8>>2]=d;d=C[c+4>>2]}if(d>>>0>>0){We(C[c+8>>2]+I(d,20)|0,0,I(e-d|0,20))}C[c+4>>2]=e;b=(C[c+8>>2]+I(e,20)|0)-20|0}Lg(b,a,715);break c}i:{j:{k:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){d=C[c+4>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){d=mf(C[c+8>>2],I(b,20));if(d){break k}}C[c>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break i}C[c>>2]=b;C[c+8>>2]=d;d=C[c+4>>2]}if(d>>>0>>0){We(C[c+8>>2]+I(d,20)|0,0,I(e-d|0,20))}C[c+4>>2]=e;b=(C[c+8>>2]+I(e,20)|0)-20|0}Lg(b,a,716)}return;case 1:if((D[a|0]|D[a+1|0]<<8)!=256){break a}l:{m:{n:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break m}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break n}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break l}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,711);return;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}o:{p:{q:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break q}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break o}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,712);return;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}r:{s:{t:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break t}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break r}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,713);return;case 4:Zx(a,b);return;case 5:Yx(a,b);return;case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;Op(c,b,(a<<8|a>>>8)&65535)}return;case 7:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)!=256){break a}u:{v:{w:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break v}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=mf(C[d+8>>2],I(b,20));if(c){break w}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break u}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Lg(b,a,714)}}function Uu(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;l=Ce-16|0;Ce=l;g=6;f=C[a+32>>2];a:{if(!f){break a}h=C[a+40>>2];j=C[a+36>>2]+C[a+28>>2]|0;e=j;while(1){i=D[e+1|0]|D[e|0]<<8;if(!(i>>>0<=b>>>0&(D[e+3|0]|D[e+2|0]<<8)>>>0>=b>>>0)){e=e+8|0;f=f-1|0;if(f){continue}break a}break}g=8;f=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>h-j>>>0){break a}e=f+j|0;f=e+8|0;if(f>>>0>h>>>0){g=6;break a}j=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);k=D[e+2|0];m=D[e+3|0];g=6;b:{c:{d:{e:{f:{g:{e=D[e|0]|D[e+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break f;case 0:break g;case 4:case 18:break c;case 3:break d;case 2:break e;default:break a}}b=f+(b-i<<2)|0;if(h>>>0>>0){break a}f=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);e=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((e|0)!=(f|0)){break b}break a}if(h>>>0>>0){break a}C[l+12>>2]=f+4;g=D[f+3|0];e=D[f+2|0];n=D[f+1|0];f=D[f|0];if(Su(a,l+12|0,h)){g=6;break a}h=b-i|0;b=g|(n<<16|f<<24|e<<8);e=I(h,b);f=e+b|0;break b}b=f+(b-i<<1)|0;if(h>>>0>>0){break a}e=D[b+1|0]|D[b|0]<<8;f=D[b+3|0]|D[b+2|0]<<8;if((e|0)!=(f|0)){break b}break a}e=f+4|0;if(h>>>0>>0|h>>>0>>0){break a}g=e-4|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g-1>>>0>=(h-e>>2)-1>>>0){g=6;break a}f=0;while(1){if((D[e+1|0]|D[e|0]<<8)==(b|0)){f=D[e+7|0]|D[e+6|0]<<8;e=D[e+3|0]|D[e+2|0]<<8;break b}e=e+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}g=6;break a}if(h>>>0>>0){break a}C[l+12>>2]=f+4;f=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);if(Su(a,l+12|0,h)){break a}g=C[l+12>>2];e=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=g+4|0;if(i-1>>>0>=h-e>>1>>>0){g=6;break a}g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=0;h:{while(1){if((D[e+1|0]|D[e|0]<<8)==(b|0)){break h}e=e+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}g=6;break a}e=I(f,g);f=g+e|0}g=6;if(e>>>0>f>>>0){break a}k=m|k<<8;i=Ce-16|0;Ce=i;b=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+e|0;f=f-e|0;i:{if(F[a+24>>2]>>0){break i}m=C[a+4>>2];g=bf(m,b+C[a+20>>2]|0);if(g){break i}g=dh(m,f,i+12|0);if(g){break i}b=C[i+12>>2];h=b;j:{k:{if(k>>>0>18){break k}g=1<>2];B[e>>1]=D[b|0];B[e+2>>1]=D[b+1|0];B[e+4>>1]=A[b+2|0];B[e+6>>1]=A[b+3|0];B[e+8>>1]=D[b+4|0];if(f>>>0<8){break j}B[e+10>>1]=A[b+5|0];B[e+12>>1]=A[b+6|0];h=b+8|0;g=D[b+7|0];break l}g=6;if((f|0)<5){break j}e=C[a+12>>2];B[e>>1]=D[b|0];B[e+2>>1]=D[b+1|0];B[e+4>>1]=A[b+2|0];B[e+6>>1]=A[b+3|0];h=D[b+4|0];B[e+10>>1]=0;B[e+12>>1]=0;B[e+8>>1]=h;h=b+5|0;g=0}B[e+14>>1]=g;A[a+16|0]=1}j=b+f|0;g=7;b=1057;m:{n:{switch(k-1|0){case 4:b=1058;break m;case 7:g=0;h=h+1|0;if(j>>>0>>0){break j}case 8:b=1059;break m;default:g=8;break j;case 16:case 17:case 18:break j;case 0:case 5:break m;case 1:case 6:break n}}b=C[a+12>>2];g=E[b+2>>1];b=E[b>>1];f=I(g+7>>>3|0,b);b=f>>>0<=I(b,g)+7>>>3>>>0?1058:(f|0)==(j-h|0)?1057:1058}if(!D[a+17|0]){if(D[a+16|0]){f=C[a+12>>2];e=E[f+2>>1];g=C[a+8>>2];k=E[f>>1];C[g>>2]=k;C[g+4>>2]=e;f=3;o:{p:{q:{r:{switch(D[a+18|0]-1|0){case 0:A[g+18|0]=1;e=e+7>>>3|0;f=2;break p;case 1:A[g+18|0]=3;e=e+3>>>2|0;f=4;break p;case 3:A[g+18|0]=4;e=e+1>>>1|0;f=16;break p;case 7:A[g+18|0]=2;break q;case 31:break r;default:break o}}A[g+18|0]=7;e=e<<2}f=256}B[g+16>>1]=f;C[g+8>>2]=e;f=0;g=I(e,k);if(!g){break o}f=pp(C[C[a>>2]+84>>2],g);if(f){break o}A[a+17|0]=1;f=0}g=f}else{g=6}if(g){break j}}g=Fe[b|0](a,h,j,c,d)|0}Wf(m,i+12|0)}Ce=i+16|0}Ce=l+16|0;return g}function dS(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,k=0,l=0,m=0,n=0,o=0;j=Ce-32|0;Ce=j;C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];C[b+76>>2]=0;i=C[b+80>>2];a:{if(!i){break a}while(1){f=C[b+92>>2];e=C[f+I(d,20)>>2];b:{if((e&-129)!=3635){if(D[b+73|0]){c:{if((f|0)==C[b+96>>2]){e=d;if(C[b+84>>2]==(d|0)){break c}}if(!$e(b,1,1)){break a}f=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[f+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[f>>2];C[g+4>>2]=d;C[g+16>>2]=C[f+16>>2];d=C[f+12>>2];C[g+8>>2]=C[f+8>>2];C[g+12>>2]=d;d=C[b+76>>2];e=C[b+84>>2]}C[b+84>>2]=e+1}C[b+76>>2]=d+1;break b}if($e(b,0,1)){h=e+26|0;f=C[b+76>>2];d:{if(f>>>0>2]){d=C[b+84>>2];g=C[b+96>>2];f=C[b+92>>2]+I(f,20)|0;break d}g=C[b+96>>2];d=C[b+84>>2];f=d-1|0;f=g+I(d>>>0>=f>>>0?f:0,20)|0}g=I(d,20)+g|0;d=C[f+4>>2];C[g>>2]=C[f>>2];C[g+4>>2]=d;C[g+16>>2]=C[f+16>>2];d=C[f+12>>2];C[g+8>>2]=C[f+8>>2];C[g+12>>2]=d;C[g>>2]=h;C[b+84>>2]=C[b+84>>2]+1}f=C[b+84>>2];d=f-1|0;d=C[b+96>>2]+I(d>>>0<=f>>>0?d:0,20)|0;B[d+16>>1]=E[d+16>>1]|128;e=e-1|0;g=$e(b,1,1);if(g){f=C[b+76>>2];e:{if(f>>>0>2]){d=C[b+84>>2];h=C[b+96>>2];f=C[b+92>>2]+I(f,20)|0;break e}h=C[b+96>>2];d=C[b+84>>2];f=d-1|0;f=h+I(d>>>0>=f>>>0?f:0,20)|0}h=I(d,20)+h|0;d=C[f+4>>2];C[h>>2]=C[f>>2];C[h+4>>2]=d;C[h+16>>2]=C[f+16>>2];d=C[f+12>>2];C[h+8>>2]=C[f+8>>2];C[h+12>>2]=d;C[h>>2]=e;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+1}if(!g){break a}k=C[b+84>>2];e=k-2|0;h=I(e,20);d=h+C[b+96>>2]|0;B[d+16>>1]=E[d+16>>1]&224|12;f:{g:{while(1){d=e;if(!d){break g}e=d-1|0;g=C[C[b+96>>2]+I(e,20)>>2];f=g&-129;if((f|0)==3633|(g&-132)==3636|f-3655>>>0<8){continue}break}if(k>>>0>d+2>>>0){break f}if(C[b+20>>2]){break b}zi(b,e,k);break b}if(k>>>0<=2){break b}}zi(b,d,k);g=C[b+96>>2];h=g+h|0;C[j+24>>2]=C[h+16>>2];f=C[h+12>>2];C[j+16>>2]=C[h+8>>2];C[j+20>>2]=f;f=C[h+4>>2];C[j+8>>2]=C[h>>2];C[j+12>>2]=f;e=g;g=I(d,20);f=e+g|0;Yf(f+20|0,f,I(k-d|0,20)-40|0);d=C[j+12>>2];f=g+C[b+96>>2]|0;C[f>>2]=C[j+8>>2];C[f+4>>2]=d;C[f+16>>2]=C[j+24>>2];d=C[j+20>>2];C[f+8>>2]=C[j+16>>2];C[f+12>>2]=d}d=C[b+76>>2];if(i>>>0>d>>>0){continue}break}}gh(b);h:{if(D[a+32|0]|C[a+4>>2]!=1416126825){break h}n=C[b+80>>2];if(!n){break h}o=C[b+92>>2];f=0;a=2;m=3;g=0;while(1){d=0;i:{j:{k=o+I(g,20)|0;e=C[k>>2];if((e|0)==3633|(e&-4)==3636){break j}h=e-3655|0;if(1<>>0<=7:0){break j}d=1;if(e-3640>>>0<3){break j}d=2;if(e-3656>>>0<5){break j}k:{l:{a=e-3597|0;if(a>>>0<=18){a=1<>>0>45)<<2;break k}d=2}d=d<<2;a=C[d+171088>>2];m=C[d+171056>>2];f=g;break i}e=I(a,24);a=d<<3;i=e+a|0;h=i+171220|0;a=a+I(m,24)|0;d=a+171124|0;e=C[a+171120>>2];if(!e){e=C[i+171216>>2]}a=C[h>>2];m=C[d>>2];if(g-f>>>0>=2){Rf(b,f,g)}if((e|0)==4){e=171648;m:{n:{o:{k=o+I(f,20)|0;d=C[k>>2];switch(d-3597|0){case 0:break n;case 3:break o;default:break m}}e=171660}h=C[e+4>>2];i=j+8|0;C[i>>2]=0;l=i;i=C[c+72>>2];if(!(Fe[C[i+156>>2]](c,C[c+76>>2],h,l,C[i+20>>2])|0)){h=C[e+8>>2];e=j+8|0;C[e>>2]=0;i=e;e=C[c+72>>2];if(!(Fe[C[e+156>>2]](c,C[c+76>>2],h,i,C[e+20>>2])|0)){break m}}d=h}C[k>>2]=d;break i}h=C[k>>2];d=0;p:{q:{r:{switch(e|0){case 1:d=171296;break q;case 3:d=171408;break q;case 0:break p;case 2:break r;default:break q}}d=171488}e=C[d>>2];if(!e){break p}while(1){if((e|0)==(h|0)){i=C[d+4>>2];e=j+8|0;C[e>>2]=0;l=e;e=C[c+72>>2];if(Fe[C[e+156>>2]](c,C[c+76>>2],i,l,C[e+20>>2])|0){h=C[d+4>>2];break p}i=C[d+8>>2];e=j+8|0;C[e>>2]=0;l=e;e=C[c+72>>2];if(!(Fe[C[e+156>>2]](c,C[c+76>>2],i,l,C[e+20>>2])|0)){break p}h=C[d+8>>2];break p}e=C[d+12>>2];d=d+12|0;if(e){continue}break}}C[k>>2]=h}g=g+1|0;if((n|0)!=(g|0)){continue}break}}Ce=j+32|0}function aI(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;l=Ce-32|0;Ce=l;i=If(1,824);a:{if(!i){i=0;_e(0);break a}C[i+800>>2]=0;C[i+804>>2]=0;C[i+792>>2]=-1;C[i+796>>2]=-1;C[i+784>>2]=-1;C[i+768>>2]=-1;C[i+12>>2]=128;C[i>>2]=a;j=i+808|0;f=j;C[f>>2]=0;C[f+4>>2]=0;lf(l+16|0,0,16);C[l+28>>2]=6;f=l;c=C[f+28>>2];e=C[f+24>>2];C[f+8>>2]=e;C[f+12>>2]=c;C[f+20>>2]=7;C[f+16>>2]=8;c=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=c;h=Ce-16|0;Ce=h;c=C[f+12>>2];C[h+8>>2]=C[f+8>>2];C[h+12>>2]=c;c=C[f+4>>2];C[h>>2]=C[f>>2];C[h+4>>2]=c;d=i+16|0;e=Ce-16|0;Ce=e;f=-1;b:{if(!a){break b}c=C[h+4>>2];if(!c){break b}f=Fe[c|0](a,0,0,1)|0}C[e+12>>2]=0;C[e+8>>2]=0;c=We(d,0,704);C[c>>2]=a;a=C[h+4>>2];C[c+704>>2]=C[h>>2];C[c+708>>2]=a;a=C[h+12>>2];C[c+712>>2]=C[h+8>>2];C[c+716>>2]=a;if(c+24|0){C[c+24>>2]=0;C[c+28>>2]=0;C[c+48>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0}if((f|0)!=-1){C[c+4>>2]=1}C[c+52>>2]=1;r=c,s=df(1,32),C[r+72>>2]=s;r=c,s=df(1,16),C[r+76>>2]=s;Fx(c+120|0,-1);f=dq(c,C[c+72>>2],C[c+76>>2],e+12|0,e+8|0,0);c:{if((f|0)<0){C[c>>2]=0;Wm(c);a=C[e+12>>2];break c}g=C[e+8>>2];a=df(g+2|0,4);C[c+64>>2]=a;k=C[c+456>>2];C[c+92>>2]=k;C[a+4>>2]=g;C[a>>2]=k;m=a+8|0;a=C[e+12>>2];jf(m,a,g<<2);r=c,s=df(1,8),C[r+56>>2]=s;g=df(1,8);C[c+60>>2]=g;k=C[c+12>>2];C[g>>2]=C[c+8>>2];C[g+4>>2]=k;C[c+88>>2]=1}if(a){Re(a)}Ce=e+16|0;a=f;if(!a){g=Ce-16|0;Ce=g;a=-131;d:{if(C[d+88>>2]!=1){break d}C[d+88>>2]=2;e:{if(C[d+4>>2]){a=C[d+60>>2];f=C[a>>2];k=C[a+4>>2];C[g+8>>2]=-1;C[g+12>>2]=-1;n=C[d+456>>2];C[g+4>>2]=n;c=Uy(d,C[d+72>>2]);p=Ee;a=C[d+708>>2];f:{if(!(C[d+716>>2]?a:0)){C[d+8>>2]=-1;C[d+12>>2]=-1;C[d+16>>2]=-1;C[d+20>>2]=-1;a=-131;break f}Fe[a|0](C[d>>2],0,0,2)|0;e=Fe[C[d+716>>2]](C[d>>2])|0;a=e>>31;C[d+8>>2]=e;C[d+12>>2]=a;C[d+16>>2]=e;C[d+20>>2]=a;if((e|0)==-1){a=-131;break f}m=a;a=C[d+64>>2];a=$p(d,e,m,a+8|0,C[a+4>>2],g+4|0,g+8|0);e=Ee;if((e|0)>=0){m=a;a=C[d+64>>2];if((Iy(d,0,0,f,k,m,e,C[g+8>>2],C[g+12>>2],C[g+4>>2],a+8|0,C[a+4>>2],0)|0)<0){a=-128;break f}a=C[d+56>>2];C[a>>2]=0;C[a+4>>2]=0;C[C[d+64>>2]>>2]=n;a=C[d+60>>2];C[a>>2]=f;C[a+4>>2]=k;a=C[d+68>>2];C[a>>2]=c;C[a+4>>2]=p;e=C[a+8>>2];n=e-c|0;c=C[a+12>>2]-((c>>>0>e>>>0)+p|0)|0;e=!!n&(c|0)>=0|(c|0)>0;C[a+8>>2]=e?n:0;C[a+12>>2]=e?c:0;a=Ay(d,f,k)}if(!a){break e}}C[d>>2]=0;Wm(d);break d}C[d+88>>2]=3}a=0}Ce=g+16|0}Ce=h+16|0;g:{h:{if((a|0)<0){Qe(13167,0);break h}if((pt(i)|0)>=0){break g}Wm(d);a=C[i+772>>2];if(a){Hi(a)}a=C[i+776>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(!C[i+4>>2]){break h}a=C[i>>2];Fe[C[a+16>>2]](a)|0}if(i){Fe[C[94506]](i);C[94507]=C[94507]-1}i=0;break a}f=i+800|0;c=i+792|0;i:{j:{k:{if(C[d+4>>2]){a=C[d+76>>2];if(C[d+88>>2]<3){break k}a=a+(C[d+96>>2]<<4)|0;break k}a=C[d+76>>2]}e=a;if(C[e+8>>2]<=0){break j}while(1){g=Og(C[C[e>>2]+(o<<2)>>2]);a=hh(g,61);l:{if(!a){h=af(g)+g|0;break l}A[a|0]=0;h=a+1|0}a=c;m:{n:{if(!wf(g,23205)){break n}if(!wf(g,25911)){q=1;a=j;break n}if(wf(g,27590)){break m}q=0;a=f}r=a,s=Mt(h,0,-1,-1),C[r>>2]=s;C[a+4>>2]=Ee}if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}o=o+1|0;if((o|0)>2]){continue}break}if(!q){break j}a=C[j+4>>2]+C[c+4>>2]|0;h=C[c>>2];e=h+C[j>>2]|0;C[f>>2]=e;C[f+4>>2]=e>>>0>>0?a+1|0:a;break i}a=C[f>>2];e=C[c>>2];h=a-e|0;a=C[f+4>>2]-(C[c+4>>2]+(a>>>0>>0)|0)|0;C[j>>2]=h;C[j+4>>2]=a}j=nk(d,-1);d=Ee;a=C[f>>2];h=C[f+4>>2];g=C[c+4>>2];e=C[c>>2];if(!((!a&(h|0)<=0|(h|0)<0)&(g|0)<0|(a>>>0<=e>>>0&(g|0)>=(h|0)|(g|0)>(h|0))&(a|h)!=0|((d|0)<=(g|0)&e>>>0>=j>>>0|(d|0)<(g|0)|((d|0)<=(h|0)&a>>>0>j>>>0|(d|0)<(h|0))))){if((g|0)<0){C[c>>2]=0;C[c+4>>2]=0}if(!(a|h)){C[f>>2]=j;C[f+4>>2]=d}C[i+784>>2]=1}C[i+4>>2]=b}Ce=l+32|0;return i|0}function xC(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=Ce-16|0;Ce=p;a:{if((c|0)==(e|0)){a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;b:{if((b|0)<=(d|0)){j=(g|0)!=0;c=a+(b<<1)|0;a=d-b|0;break b}c=(a+(d<<1)|0)+(!g<<1)|0;j=(g|0)!=0;a=b-d|0}a=a+j|0;if(!a){break a}d=a-1|0;e=a&7;if(e){b=0;while(1){B[c>>1]=f;c=c+2|0;a=a-1|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(d>>>0<7){break a}while(1){B[c+14>>1]=f;B[c+12>>1]=f;B[c+10>>1]=f;B[c+8>>1]=f;B[c+6>>1]=f;B[c+4>>1]=f;B[c+2>>1]=f;B[c>>1]=f;c=c+16|0;a=a-8|0;if(a){continue}break}break a}if((b|0)==(d|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];c:{if((c|0)<=(e|0)){b=e-c|0;a=(a+(I(c,h)<<1)|0)+(d<<1)|0;break c}b=c-e|0;a=((a+(I(e,h)<<1)|0)+(d<<1)|0)+((g?0:h)<<1)|0}c=0;b=((g|0)!=0)+b|0;if(!b){break a}d=b-1|0;e=b&7;if(e){while(1){B[a>>1]=f;b=b-1|0;a=(h<<1)+a|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=h<<1;while(1){B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}j=b-d|0;h=j>>31;k=c-e|0;i=k>>31;if(((h^j)-h|0)==((i^k)-i|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];d:{if((c|0)<=(e|0)){k=e-c|0;j=h+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,h)<<1)|0)+(b<<1)|0;break d}j=h+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,h)<<1)|0)+(d<<1)|0)+((g?0:j)<<1)|0}c=0;b=((g|0)!=0)+k|0;if(!b){break a}d=b-1|0;e=b&7;if(e){while(1){B[a>>1]=f;b=b-1|0;a=(j<<1)+a|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=j<<1;while(1){B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}h=C[a+4>>2];ms(f,h,p+15|0,p+14|0,p+13|0,p+12|0);e:{h=C[h+12>>2];if((h|0)!=63488){if((h|0)!=31744){break e}i=d-b|0;h=i>>31;j=e-c|0;k=j>>31;h=(h^i)-h|0;i=(j^k)-k|0;f:{if(h>>>0>=i>>>0){m=i-h|0;k=i<<1;j=k-h|0;i=1;break f}m=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+16>>2];o=C[a+20>>2];if((g|0)!=1){a=(c|0)>(e|0);e=a?0-l|0:l;l=(b|0)>(d|0);d=l?0-i|0:i;i=a?-1:1;l=l?-1:1;m=m<<1;q=g&-2;a=0;while(1){B[(o+I(c,h)|0)+(b<<1)>>1]=f;n=c;c=(j|0)<0;n=n+(c?e:i)|0;b=(c?d:l)+b|0;B[(o+I(n,h)|0)+(b<<1)>>1]=f;j=(c?k:m)+j|0;c=(j|0)<0;j=(c?k:m)+j|0;b=b+(c?d:l)|0;c=n+(c?e:i)|0;a=a+2|0;if((q|0)!=(a|0)){continue}break}}if(!(g&1)){break a}B[(o+I(c,h)|0)+(b<<1)>>1]=f;break a}i=d-b|0;h=i>>31;j=e-c|0;k=j>>31;h=(h^i)-h|0;i=(j^k)-k|0;g:{if(h>>>0>=i>>>0){m=i-h|0;k=i<<1;j=k-h|0;i=1;break g}m=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+16>>2];o=C[a+20>>2];if((g|0)!=1){a=(c|0)>(e|0);e=a?0-l|0:l;l=(b|0)>(d|0);d=l?0-i|0:i;i=a?-1:1;l=l?-1:1;m=m<<1;q=g&-2;a=0;while(1){B[(o+I(c,h)|0)+(b<<1)>>1]=f;n=c;c=(j|0)<0;n=n+(c?e:i)|0;b=(c?d:l)+b|0;B[(o+I(n,h)|0)+(b<<1)>>1]=f;j=(c?k:m)+j|0;c=(j|0)<0;j=(c?k:m)+j|0;b=b+(c?d:l)|0;c=n+(c?e:i)|0;a=a+2|0;if((q|0)!=(a|0)){continue}break}}if(!(g&1)){break a}B[(o+I(c,h)|0)+(b<<1)>>1]=f;break a}k=d-b|0;h=k>>31;j=e-c|0;i=j>>31;k=(h^k)-h|0;i=(i^j)-i|0;h:{if(k>>>0>=i>>>0){m=i-k|0;h=i<<1;j=h-k|0;i=1;break h}m=k-i|0;l=1;h=k<<1;j=h-i|0;k=i;i=0}g=((g|0)!=0)+k|0;if(!g){break a}k=C[a+16>>2];o=C[a+20>>2];if((g|0)!=1){a=(c|0)>(e|0);e=a?0-l|0:l;l=(b|0)>(d|0);d=l?0-i|0:i;i=a?-1:1;l=l?-1:1;m=m<<1;q=g&-2;a=0;while(1){B[(o+I(c,k)|0)+(b<<1)>>1]=f;n=c;c=(j|0)<0;n=n+(c?e:i)|0;b=(c?d:l)+b|0;B[(o+I(n,k)|0)+(b<<1)>>1]=f;j=(c?h:m)+j|0;c=(j|0)<0;j=(c?h:m)+j|0;b=b+(c?d:l)|0;c=n+(c?e:i)|0;a=a+2|0;if((q|0)!=(a|0)){continue}break}}if(!(g&1)){break a}B[(o+I(c,k)|0)+(b<<1)>>1]=f}Ce=p+16|0}function wC(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=Ce-16|0;Ce=p;a:{if((c|0)==(e|0)){a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;b:{if((b|0)<=(d|0)){e=(g|0)!=0;c=a+(b<<2)|0;a=d-b|0;break b}c=(a+(d<<2)|0)+(!g<<2)|0;e=(g|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}d=a-1|0;e=a&7;if(e){b=0;while(1){C[c>>2]=f;c=c+4|0;a=a-1|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(d>>>0<7){break a}while(1){C[c+28>>2]=f;C[c+24>>2]=f;C[c+20>>2]=f;C[c+16>>2]=f;C[c+12>>2]=f;C[c+8>>2]=f;C[c+4>>2]=f;C[c>>2]=f;c=c+32|0;a=a-8|0;if(a){continue}break}break a}if((b|0)==(d|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];c:{if((c|0)<=(e|0)){b=e-c|0;a=(a+(I(c,h)<<2)|0)+(d<<2)|0;break c}b=c-e|0;a=((a+(I(e,h)<<2)|0)+(d<<2)|0)+((g?0:h)<<2)|0}c=0;b=((g|0)!=0)+b|0;if(!b){break a}d=b-1|0;e=b&7;if(e){g=h<<2;while(1){C[a>>2]=f;b=b-1|0;a=a+g|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=h<<2;while(1){C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}k=b-d|0;h=k>>31;j=c-e|0;i=j>>31;if(((h^k)-h|0)==((i^j)-i|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];d:{if((c|0)<=(e|0)){j=e-c|0;k=h+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,h)<<2)|0)+(b<<2)|0;break d}k=h+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,h)<<2)|0)+(d<<2)|0)+((g?0:k)<<2)|0}c=0;b=((g|0)!=0)+j|0;if(!b){break a}d=b-1|0;e=b&7;if(e){g=k<<2;while(1){C[a>>2]=f;b=b-1|0;a=a+g|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=k<<2;while(1){C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}j=C[a+4>>2];ms(f,j,p+15|0,p+14|0,p+13|0,p+12|0);if(C[j+12>>2]==16711680){i=e-c|0;h=i>>31;i=(h^i)-h|0;k=d-b|0;h=k>>31;h=(h^k)-h|0;if(!C[j+24>>2]){e:{if(h>>>0>=i>>>0){n=i-h|0;k=i<<1;j=k-h|0;i=1;break e}n=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+20>>2];if((g|0)!=1){o=0-l|0;m=l;l=(c|0)>(e|0);e=l?o:m;d=(b|0)>(d|0);i=d?0-i|0:i;l=l?-1:1;o=d?-1:1;n=n<<1;q=g&-2;d=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;m=c;c=(j|0)<0;m=m+(c?e:l)|0;b=(c?i:o)+b|0;C[(h+I(m,C[a+16>>2])|0)+(b<<2)>>2]=f;j=(c?k:n)+j|0;c=(j|0)<0;j=(c?k:n)+j|0;b=b+(c?i:o)|0;c=m+(c?e:l)|0;d=d+2|0;if((q|0)!=(d|0)){continue}break}}if(!(g&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;break a}f:{if(h>>>0>=i>>>0){n=i-h|0;k=i<<1;j=k-h|0;i=1;break f}n=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+20>>2];if((g|0)!=1){o=0-l|0;m=l;l=(c|0)>(e|0);e=l?o:m;d=(b|0)>(d|0);i=d?0-i|0:i;l=l?-1:1;o=d?-1:1;n=n<<1;q=g&-2;d=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;m=c;c=(j|0)<0;m=m+(c?e:l)|0;b=(c?i:o)+b|0;C[(h+I(m,C[a+16>>2])|0)+(b<<2)>>2]=f;j=(c?k:n)+j|0;c=(j|0)<0;j=(c?k:n)+j|0;b=b+(c?i:o)|0;c=m+(c?e:l)|0;d=d+2|0;if((q|0)!=(d|0)){continue}break}}if(!(g&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;break a}j=d-b|0;h=j>>31;k=e-c|0;i=k>>31;h=(h^j)-h|0;i=(i^k)-i|0;g:{if(h>>>0>=i>>>0){n=i-h|0;k=i<<1;j=k-h|0;i=1;break g}n=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+20>>2];if((g|0)!=1){o=0-l|0;m=l;l=(c|0)>(e|0);e=l?o:m;d=(b|0)>(d|0);i=d?0-i|0:i;l=l?-1:1;o=d?-1:1;n=n<<1;q=g&-2;d=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;m=c;c=(j|0)<0;m=m+(c?e:l)|0;b=(c?i:o)+b|0;C[(h+I(m,C[a+16>>2])|0)+(b<<2)>>2]=f;j=(c?k:n)+j|0;c=(j|0)<0;j=(c?k:n)+j|0;b=b+(c?i:o)|0;c=m+(c?e:l)|0;d=d+2|0;if((q|0)!=(d|0)){continue}break}}if(!(g&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f}Ce=p+16|0}function sk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ce-32|0;Ce=d;f=C[a+80>>2];i=f;a:{b:{switch(f|0){default:i=1;while(1){j=e;f=C[a+92>>2]+I(i,20)|0;c:{if(Fe[b|0](f-20|0,f)|0){break c}if(!(!c|i-j>>>0<2)){eg(a,j,i)}e=C[a+80>>2];f=e>>>0>>0?e:i;g=e>>>0>>0?e:j;d:{if(f>>>0>>0){break d}h=f-1|0;if(h>>>0<=g>>>0){break d}k=C[a+92>>2];while(1){e=I(h,20)+k|0;C[d+24>>2]=C[e+16>>2];f=C[e+12>>2];C[d+16>>2]=C[e+8>>2];C[d+20>>2]=f;f=C[e+4>>2];C[d+8>>2]=C[e>>2];C[d+12>>2]=f;f=I(g,20)+k|0;C[e+16>>2]=C[f+16>>2];l=C[f+12>>2];C[e+8>>2]=C[f+8>>2];C[e+12>>2]=l;l=C[f+4>>2];C[e>>2]=C[f>>2];C[e+4>>2]=l;C[f+16>>2]=C[d+24>>2];e=C[d+20>>2];C[f+8>>2]=C[d+16>>2];C[f+12>>2]=e;e=C[d+12>>2];C[f>>2]=C[d+8>>2];C[f+4>>2]=e;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}e=i;if(!D[a+74|0]){break c}f=C[a+80>>2];h=f>>>0>>0?f:i;g=f>>>0>>0?f:j;e=i;if(h>>>0>>0){break c}h=h-1|0;e=i;if(h>>>0<=g>>>0){break c}j=C[a+100>>2];while(1){e=j+I(h,20)|0;C[d+24>>2]=C[e+16>>2];f=C[e+12>>2];C[d+16>>2]=C[e+8>>2];C[d+20>>2]=f;f=C[e+4>>2];C[d+8>>2]=C[e>>2];C[d+12>>2]=f;f=j+I(g,20)|0;C[e+16>>2]=C[f+16>>2];k=C[f+12>>2];C[e+8>>2]=C[f+8>>2];C[e+12>>2]=k;k=C[f+4>>2];C[e>>2]=C[f>>2];C[e+4>>2]=k;C[f+16>>2]=C[d+24>>2];e=C[d+20>>2];C[f+8>>2]=C[d+16>>2];C[f+12>>2]=e;e=C[d+12>>2];C[f>>2]=C[d+8>>2];C[f+4>>2]=e;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}e=i}f=C[a+80>>2];i=i+1|0;if(f>>>0>i>>>0){continue}break};break;case 0:break a;case 1:break b}}if(!(!c|i-e>>>0<2)){eg(a,e,i);f=C[a+80>>2]}b=f>>>0>>0?f:i;g=f>>>0>>0?f:e;e:{if(b>>>0>>0){break e}h=b-1|0;if(h>>>0<=g>>>0){break e}f=C[a+92>>2];while(1){b=f+I(h,20)|0;C[d+24>>2]=C[b+16>>2];c=C[b+12>>2];C[d+16>>2]=C[b+8>>2];C[d+20>>2]=c;c=C[b+4>>2];C[d+8>>2]=C[b>>2];C[d+12>>2]=c;c=f+I(g,20)|0;C[b+16>>2]=C[c+16>>2];j=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=j;j=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=j;C[c+16>>2]=C[d+24>>2];b=C[d+20>>2];C[c+8>>2]=C[d+16>>2];C[c+12>>2]=b;b=C[d+12>>2];C[c>>2]=C[d+8>>2];C[c+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}f:{if(!D[a+74|0]){break f}b=C[a+80>>2];c=b>>>0>>0?b:i;g=b>>>0>>0?b:e;if(c>>>0>>0){break f}h=c-1|0;if(h>>>0<=g>>>0){break f}e=C[a+100>>2];while(1){b=e+I(h,20)|0;C[d+24>>2]=C[b+16>>2];c=C[b+12>>2];C[d+16>>2]=C[b+8>>2];C[d+20>>2]=c;c=C[b+4>>2];C[d+8>>2]=C[b>>2];C[d+12>>2]=c;c=e+I(g,20)|0;C[b+16>>2]=C[c+16>>2];i=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=i;i=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=i;C[c+16>>2]=C[d+24>>2];b=C[d+20>>2];C[c+8>>2]=C[d+16>>2];C[c+12>>2]=b;b=C[d+12>>2];C[c>>2]=C[d+8>>2];C[c+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}e=C[a+80>>2];if(e>>>0>=2){i=C[a+92>>2];g=e-1|0;h=0;while(1){b=i+I(g,20)|0;C[d+24>>2]=C[b+16>>2];c=C[b+12>>2];C[d+16>>2]=C[b+8>>2];C[d+20>>2]=c;c=C[b+4>>2];C[d+8>>2]=C[b>>2];C[d+12>>2]=c;c=i+I(h,20)|0;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;f=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=f;C[c+16>>2]=C[d+24>>2];b=C[d+20>>2];C[c+8>>2]=C[d+16>>2];C[c+12>>2]=b;b=C[d+12>>2];C[c>>2]=C[d+8>>2];C[c+4>>2]=b;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}if(!D[a+74|0]){break a}b=C[a+80>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break a}c=C[a+100>>2];g=b-1|0;h=0;while(1){a=c+I(g,20)|0;C[d+24>>2]=C[a+16>>2];b=C[a+12>>2];C[d+16>>2]=C[a+8>>2];C[d+20>>2]=b;b=C[a+4>>2];C[d+8>>2]=C[a>>2];C[d+12>>2]=b;b=c+I(h,20)|0;C[a+16>>2]=C[b+16>>2];e=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=e;e=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=e;C[b+16>>2]=C[d+24>>2];a=C[d+20>>2];C[b+8>>2]=C[d+16>>2];C[b+12>>2]=a;a=C[d+12>>2];C[b>>2]=C[d+8>>2];C[b+4>>2]=a;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}Ce=d+32|0}function Cx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{switch(c-1|0){case 0:c:{d:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=C[b+100>>2];c=C[C[c+92>>2]+I(C[c+76>>2],20)>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=205712}f=zf(d,c);e:{if((f|0)==-1){break e}a=D[a+4|0]|D[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;c=E[a+12>>1]&96;h=a,i=eh(C[b+108>>2],e)|c|16,B[h+12>>1]=i}c=C[b+100>>2];if(!$e(c,1,1)){break e}a=C[c+76>>2];f:{if(a>>>0>2]){b=C[c+84>>2];d=C[c+96>>2];a=C[c+92>>2]+I(a,20)|0;break f}d=C[c+96>>2];b=C[c+84>>2];a=b-1|0;a=d+I(a>>>0<=b>>>0?a:0,20)|0}b=I(b,20)+d|0;d=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=d;C[b+16>>2]=C[a+16>>2];d=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=d;C[b>>2]=e;C[c+76>>2]=C[c+76>>2]+1;C[c+84>>2]=C[c+84>>2]+1}return(f|0)!=-1}c=0;d=D[a+2|0]|D[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=205712}d=C[b+100>>2];d=zf(e,C[C[d+92>>2]+I(C[d+76>>2],20)>>2]);g:{if((d|0)==-1){break g}e=D[a+4|0]|D[a+5|0]<<8;if(d>>>0>=((e<<8|e>>>8)&65535)>>>0){break g}c=1;a=(d<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;e=(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;d=E[a+12>>1]&96;h=a,i=eh(C[b+108>>2],e)|d|16,B[h+12>>1]=i}a=C[b+100>>2];if(!$e(a,1,1)){break g}b=C[a+76>>2];h:{if(b>>>0>2]){c=C[a+92>>2]+I(b,20)|0;b=C[a+84>>2];d=C[a+96>>2];break h}d=C[a+96>>2];b=C[a+84>>2];c=b-1|0;c=d+I(b>>>0>=c>>>0?c:0,20)|0}b=I(b,20)+d|0;d=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;C[b>>2]=e;c=1;C[a+76>>2]=C[a+76>>2]+1;C[a+84>>2]=C[a+84>>2]+1}return c;case 1:if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=205712}c=C[b+100>>2];c=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)==-1){break a}d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}return Vx(a,b);case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=205712}c=C[b+100>>2];c=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)==-1){break a}d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}return Ux(a,b);case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=205712}c=C[b+100>>2];e=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);i:{if((e|0)==-1){break i}c=205712;f=D[a+4|0]|D[a+5|0]<<8;e=e>>>0>=((f<<8|f>>>8)&65535)>>>0?205712:((e<<1)+a|0)+6|0;e=D[e|0]|D[e+1|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}a=D[c|0]|D[c+1|0]<<8;if(!a){break i}e=(a<<8|a>>>8)&65535;g=e>>>0<=1?1:e;a=0;d=1;while(1){f=D[c|0]|D[c+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=a>>>0?205712:((a<<1)+c|0)+2|0;f=D[f|0]|D[f+1|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+c|0}else{f=205712}if(Tx(f,b)){break i}a=a+1|0;d=e>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return d;case 4:return Bx(a,b);case 5:j:{k:{l:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break a}}return Ax(b,a)}return Lp(a,b)}return Kp(a,b);case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;a=Cx(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)!=256){break a}d=Rx(a,b)}return d}function Qj(a){var b=0,c=0,d=0,e=0;a:{if(!(a&32768)){break a}b=D[417679];if(!(!b|!((D[417696]|(b|0)==1)&1))){b=C[105599];if(b){while(1){C[b+88>>2]=1;Lr(b);b=C[105599];if(b){continue}break}}Fe[C[95339]]();Qj(16384);c=C[105598];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[105598]=0}b=D[417679]}if(!b){break a}A[417679]=b-1}b:{if(!(a&8192)){break b}a=a|512;b=D[417677];if(!(!b|!((D[417696]|(b|0)==1)&1))){b=C[104761];if(b){while(1){C[b+4>>2]=1;d=0;if(b){c=C[b+4>>2];C[b+4>>2]=c-1;if((c|0)<=1){Qn(C[b>>2]);c=C[104761];c:{if(!c){break c}if((b|0)!=(c|0)){while(1){e=C[c+32>>2];if(!e){break c}d=c;c=e;if((c|0)!=(b|0)){continue}break}}C[(d?d+32|0:419044)>>2]=C[b+32>>2]}c=C[b+16>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}c=C[b+20>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}c=C[b+24>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}}b=C[104761];if(b){continue}break}}b=D[417677]}if(!b){break b}A[417677]=b-1}d:{if(!(a&512)){break d}a=a|16384;b=D[417673];if(!(!b|!((D[417696]|(b|0)==1)&1))){if(D[419080]){while(1){lh(1);if(D[419080]){continue}break}}b=C[104769];if(b){while(1){C[b+136>>2]=1;Qn(b);b=C[104769];if(b){continue}break}}Fe[C[95358]]();c=C[104771];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[104772]=0;C[104771]=0}Qj(16384);Zg(23947,251,0);c=C[104768];if(c){C[104768]=0;if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}}while(1){c=C[104754];if(c){C[104754]=C[c+28>>2];d=C[c+16>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}d=C[c+20>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}continue}break}it(250,0);Zg(24484,248,0);Zg(23215,249,0);c=C[104757];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}lf(419020,0,12)}c=C[104760];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}lf(419032,0,12)}b=D[417673]}if(!b){break d}A[417673]=b-1}e:{if(!(a&16)){break e}b=D[417668];if(!(!b|!((D[417696]|(b|0)==1)&1))){vt();b=D[417668]}if(!b){break e}A[417668]=b-1}f:{if(!(a&32)){break f}a=a|16384;b=D[417669];if(!(!b|!((D[417696]|(b|0)==1)&1))){ul();b=D[417669]}if(!b){break f}A[417669]=b-1}g:{if(!(a&1)){break g}b=D[417664];if(!(!b|!((D[417696]|(b|0)==1)&1))){while(1){c=C[105656];if(c){C[105656]=C[c+8>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}continue}break}b=D[417664]}if(!b){break g}A[417664]=b-1}h:{if(!(a&16384)){break h}a=D[417678];if(!(!a|!((D[417696]|(a|0)==1)&1))){a=Ce-144|0;Ce=a;pi(2,0,a+4|0);if(C[a+4>>2]==468){C[a+4>>2]=0;pi(2,a+4|0,0)}pi(15,0,a+4|0);if(C[a+4>>2]==468){C[a+4>>2]=0;pi(15,a+4|0,0)}Ce=a+144|0;d=Ce-16|0;Ce=d;a=Eg(24551);C[94491]=0;i:{if(!a){break i}if(!Zf(a)){break i}C[d>>2]=C[94493];Tg(34599,d)}a=C[94494];if(a){while(1){c=C[a+72>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}a=C[94496];if(a){while(1){c=C[a+72>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}a=C[94497];if(a){while(1){c=C[a+12>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}a=C[94498];if(a){while(1){c=C[a+12>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}C[94492]=0;C[94497]=0;C[94498]=0;C[94495]=0;C[94496]=0;C[94493]=0;C[94494]=0;C[104485]=0;a=0;while(1){c=(a<<2)+417952|0;e=C[c>>2];if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}C[c>>2]=0;a=a+1|0;if((a|0)!=256){continue}break}a=C[104744];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104745]=0;C[104744]=0}lf(418984,0,12);if(C[94490]){a=C[94490];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[94490]=0}Ce=d+16|0;Zg(25812,247,0);Zg(26279,246,0);Zg(24207,244,0);Zg(24068,245,0);a=D[417678]}if(!(a&255)){break h}A[417678]=a-1}}function AG(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0;h=Ce-32|0;Ce=h;c=If(1,72);a:{if(!c){c=0;_e(0);break a}C[c+32>>2]=128;C[c>>2]=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{a=ii(a);if((a|0)!=1163280727){if((a|0)==1297239878){break k}if((a|0)!=1179011410){break j}}i=C[c>>2];ii(i);ii(i);a=ii(i);l:{d=ii(i);if(d){while(1){m:{n:{if((a|0)!=1819307379){if((a|0)!=1635017060){if((a|0)!=544501094){break n}if(d>>>0<=15){Qe(13327,0);break b}a=Fe[C[94503]](d>>>0<=1?1:d)|0;if(a){C[94507]=C[94507]+1}if(!a){Qe(1277,0);break b}e=C[c>>2];if(!(Fe[C[e+8>>2]](e,a,d,1)|0)){C[h>>2]=d;Qe(17433,h);break b}if(E[a>>1]!=1){g=5644;break c}C[c+8>>2]=C[a+4>>2];m=1;g=5620;d=1;o:{p:{j=E[a+14>>1];switch(j-8|0){case 0:break o;case 8:break p;default:break c}}d=2;j=32784}B[c+12>>1]=j;e=E[a+2>>1];B[c+16>>1]=4096;A[c+14|0]=e;C[c+20>>2]=I(e&255,d)<<12;if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}break m}a=C[c>>2];e=Fe[C[a+4>>2]](a,0,0,1)|0;C[c+40>>2]=e;a=Ee;C[c+44>>2]=a;e=d+e|0;a=e>>>0>>0?a+1|0:a;C[c+48>>2]=e;C[c+52>>2]=a;n=1;a=C[c>>2];Fe[C[a+4>>2]](a,d,0,1)|0;break m}e=Fe[C[94503]](d>>>0<=1?1:d)|0;if(e){C[94507]=C[94507]+1}if(!e){Qe(1277,0);break b}a=C[c>>2];if(!(Fe[C[a+8>>2]](a,e,d,1)|0)){break f}a=0;if(C[e+28>>2]){while(1){d=e+I(a,24)|0;q:{if(C[d+40>>2]){break q}k=C[d+48>>2];f=C[d+44>>2];g=C[d+56>>2];j=Sf(C[c+68>>2],I(C[c+64>>2],20)+20|0);if(!j){Qe(1277,0);break q}l=C[c+64>>2];d=j+I(l,20)|0;C[d+16>>2]=g;C[d+12>>2]=g;C[d+8>>2]=k;C[d+4>>2]=f;C[c+64>>2]=l+1;C[c+68>>2]=j}a=a+1|0;if(a>>>0>2]){continue}break}}if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}break m}Fe[C[i+4>>2]](i,d,0,1)|0}a=ii(i);d=ii(i);if(d){continue}break}if(m){break l}}Qe(32792,0);break b}if(n){break g}Qe(32880,0);break b}a=C[c>>2];wk(a);if((ii(a)|0)!=1179011393){break d}o=c+8|0;r:{while(1){s:{f=ii(a);k=wk(a);i=Fe[C[a+4>>2]](a,0,0,1)|0;e=Ee;if(!k){break s}t:{if((f|0)!=1296912195){if((f|0)!=1145983827){break t}f=wk(a);wk(a);p=Fe[C[a+4>>2]](a,0,0,1)|0;g=Ee;q=f;f=f+p|0;g=q>>>0>f>>>0?g+1|0:g;C[c+40>>2]=f;C[c+44>>2]=g;g=1;break t}l=1;m=Nr(a);n=wk(a);j=Nr(a);Fe[C[a+8>>2]](a,h+22|0,10,1)|0;d=0;f=A[h+22|0];if((f|0)<0){break t}if(f>>>0<64){d=1;break t}d=67108864;if((f|0)!=64){break t}d=8e8;f=D[h+23|0];if(f>>>0>28){break t}d=(D[h+25|0]<<15|D[h+24|0]<<23|D[h+26|0]<<7|D[h+27|0]>>>1)>>>29-f|0}if(l?g:0){break r}i=i+k|0;e=i>>>0>>0?e+1|0:e;if((Fe[C[a+4>>2]](a,i,e,0)&Ee)!=-1){continue}}break}if(!g){Qe(32850,0);break b}if(l){break r}Qe(32820,0);break b}a=C[c+44>>2];g=j&65535;e=I(I(m&65535,n),g>>>3|0);f=e;e=e+C[c+40>>2]|0;a=f>>>0>e>>>0?a+1|0:a;C[c+48>>2]=e;C[c+52>>2]=a;lf(o,0,24);C[c+8>>2]=d;a=32776;u:{switch(g-8|0){case 8:break i;case 0:break h;default:break u}}Qe(5586,0);break b}Qe(5692,0);break b}a=36880}B[c+16>>1]=4096;A[c+14|0]=m;B[c+12>>1]=a}a=C[c+20>>2];a=Fe[C[94503]](a>>>0<=1?1:a)|0;if(a){C[94507]=C[94507]+1}C[c+56>>2]=a;if(a){break e}a=C[c+68>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[c+60>>2];if(a){Hi(a)}a=C[c+56>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(!C[c+4>>2]){break b}a=C[c>>2];Fe[C[a+16>>2]](a)|0;break b}C[h+16>>2]=d;Qe(17433,h+16|0);break b}a=Xn(E[c+12>>1],D[c+14|0],C[c+8>>2],E[208766],D[417534],C[104382]);C[c+60>>2]=a;if(!a){a=C[c+68>>2];v:{if(!a){break v}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[c+60>>2];if(!a){break v}Hi(a)}a=C[c+56>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(!C[c+4>>2]){break b}a=C[c>>2];Fe[C[a+16>>2]](a)|0;break b}C[c+4>>2]=b;break a}Qe(33847,0);break b}Qe(g,0);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}c=0}Ce=h+32|0;return c|0}function Np(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=Ce-16|0;Ce=q;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break a}if(!ny(a+4|0,b,a)){break a}if(!my(a+6|0,b,a)){break a}m=a+8|0;if(m>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-m>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[m|0]|D[m+1|0]<<8;b:{if(!c){break b}k=((c<<8|c>>>8)&65535)+a|0;C[q+12>>2]=k;c:{d:{e:{if(F[b+4>>2]>k>>>0){break e}e=C[b+8>>2];if(e>>>0>>0|e-k>>>0<2){break e}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break e}h=D[k|0]|D[k+1|0]<<8;i=1;if(!h){break c}c=k+2|0;if(c>>>0>e>>>0){break e}i=e-c|0;c=(h<<8|h>>>8)&65535;e=c<<1;if(i>>>0>>0){break e}e=f-e|0;C[b+12>>2]=e;if((e|0)<=0){break e}u=c>>>0<=1?1:c;while(1){n=((r<<1)+k|0)+2|0;if(n>>>0>2]){break d}d=C[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break d}c=C[q+12>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break d}d=D[n|0]|D[n+1|0]<<8;f:{if(!d){break f}f=0;o=Ce-16|0;Ce=o;e=c+((d<<8|d>>>8)&65535)|0;l=C[b+4>>2];g:{if(e>>>0>>0){break g}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<6){break g}c=C[b+12>>2];h=c-6|0;C[b+12>>2]=h;if((h|0)<=0){break g}h=e+4|0;if(h>>>0>d>>>0|d-h>>>0<2){break g}c=c-8|0;C[b+12>>2]=c;if((c|0)<=0){break g}p=D[h|0]|D[h+1|0]<<8;t=p<<8|p>>>8;s=t&65535;g=s<<1;if(p){j=e+6|0;if(j>>>0>d>>>0|g>>>0>d-j>>>0){break g}c=c-g|0;C[b+12>>2]=c;if((c|0)<=0){break g}}j=C[b+16>>2]+s|0;C[b+16>>2]=j;if((j|0)>16383){break g}if(D[e+3|0]&16){g=(g+h|0)+2|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break g}C[b+12>>2]=c-2;if((c|0)<3){break g}}C[o+12>>2]=e;d=D[e|0]|D[e+1|0]<<8;C[o+8>>2]=(d<<8|d>>>8)&65535;c=0;h:{i:{j:{if(h>>>0>2]){break j}g=C[b+8>>2];if(g>>>0>>0|g-h>>>0<2){break j}l=C[b+12>>2]-2|0;C[b+12>>2]=l;if((l|0)<=0){break j}j=D[h|0]|D[h+1|0]<<8;i=1;if(!j){break h}i=h+2|0;if(i>>>0>g>>>0){break j}d=(j<<8|j>>>8)&65535;j=d<<1;if(j>>>0>g-i>>>0){break j}g=l-j|0;C[b+12>>2]=g;if((g|0)<=0){break j}l=d>>>0<=1?1:d;g=0;while(1){d=(h+(g<<1)|0)+2|0;if(d>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break i}j=C[o+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break i}c=D[d|0]|D[d+1|0]<<8;k:{if(!c){break k}if(iy(j+((c<<8|c>>>8)&65535)|0,b,C[o+8>>2])){break k}c=C[b+28>>2];if(c>>>0>31){break i}C[b+28>>2]=c+1;if(!D[b+24|0]){break i}A[d|0]=0;A[d+1|0]=0}c=1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}i=c;break h}i=0}if(!i){break g}f=1;if(C[b+28>>2]|(!p|(D[e|0]|D[e+1|0]<<8)!=1792)){break g}g=0;d=E[102856];c=D[e+4|0]|D[e+5|0]<<8;f=c?D[e+6|0]|D[e+7|0]<<8:d;l:{if(!(f&65535)){f=205712;break l}f=e+((f<<8|(f&65280)>>>8)&65535)|0;d=D[f|0]|D[f+1|0]<<8}if((d&65535)==256){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535}d=1;if((t&65535)>>>0<2){f=1;break g}p=(c<<8|c>>>8)&65535;while(1){f=205712;c=d>>>0>=p>>>0?205712:(h+(d<<1)|0)+2|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=e+((c<<8|c>>>8)&65535)|0}c=0;if((D[f|0]|D[f+1|0]<<8)==256){c=D[f+2|0]|D[f+3|0]<<8;c=(c<<8|c>>>8)&65535}f=(c|0)==(g|0);if((c|0)!=(g|0)){break g}d=d+1|0;if((s|0)!=(d|0)){continue}break}}Ce=o+16|0;if(f){break f}d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[n|0]=0;A[n+1|0]=0}d=1;r=r+1|0;if((u|0)!=(r|0)){continue}break}}i=d;break c}i=0}if(i){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[m|0]=0;A[m+1|0]=0}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=65537){if(!ly(a+10|0,b,a)){break a}}v=1}Ce=q+16|0;return v}function Jp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=Ce-16|0;Ce=q;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break a}if(!ny(a+4|0,b,a)){break a}if(!my(a+6|0,b,a)){break a}m=a+8|0;if(m>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-m>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[m|0]|D[m+1|0]<<8;b:{if(!c){break b}k=((c<<8|c>>>8)&65535)+a|0;C[q+12>>2]=k;c:{d:{e:{if(F[b+4>>2]>k>>>0){break e}e=C[b+8>>2];if(e>>>0>>0|e-k>>>0<2){break e}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break e}h=D[k|0]|D[k+1|0]<<8;i=1;if(!h){break c}c=k+2|0;if(c>>>0>e>>>0){break e}i=e-c|0;c=(h<<8|h>>>8)&65535;e=c<<1;if(i>>>0>>0){break e}e=f-e|0;C[b+12>>2]=e;if((e|0)<=0){break e}u=c>>>0<=1?1:c;while(1){n=((r<<1)+k|0)+2|0;if(n>>>0>2]){break d}d=C[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break d}c=C[q+12>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break d}d=D[n|0]|D[n+1|0]<<8;f:{if(!d){break f}f=0;o=Ce-16|0;Ce=o;e=c+((d<<8|d>>>8)&65535)|0;l=C[b+4>>2];g:{if(e>>>0>>0){break g}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<6){break g}c=C[b+12>>2];h=c-6|0;C[b+12>>2]=h;if((h|0)<=0){break g}h=e+4|0;if(h>>>0>d>>>0|d-h>>>0<2){break g}c=c-8|0;C[b+12>>2]=c;if((c|0)<=0){break g}p=D[h|0]|D[h+1|0]<<8;t=p<<8|p>>>8;s=t&65535;g=s<<1;if(p){j=e+6|0;if(j>>>0>d>>>0|g>>>0>d-j>>>0){break g}c=c-g|0;C[b+12>>2]=c;if((c|0)<=0){break g}}j=C[b+16>>2]+s|0;C[b+16>>2]=j;if((j|0)>16383){break g}if(D[e+3|0]&16){g=(g+h|0)+2|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break g}C[b+12>>2]=c-2;if((c|0)<3){break g}}C[o+12>>2]=e;d=D[e|0]|D[e+1|0]<<8;C[o+8>>2]=(d<<8|d>>>8)&65535;c=0;h:{i:{j:{if(h>>>0>2]){break j}g=C[b+8>>2];if(g>>>0>>0|g-h>>>0<2){break j}l=C[b+12>>2]-2|0;C[b+12>>2]=l;if((l|0)<=0){break j}j=D[h|0]|D[h+1|0]<<8;i=1;if(!j){break h}i=h+2|0;if(i>>>0>g>>>0){break j}d=(j<<8|j>>>8)&65535;j=d<<1;if(j>>>0>g-i>>>0){break j}g=l-j|0;C[b+12>>2]=g;if((g|0)<=0){break j}l=d>>>0<=1?1:d;g=0;while(1){d=(h+(g<<1)|0)+2|0;if(d>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break i}j=C[o+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break i}c=D[d|0]|D[d+1|0]<<8;k:{if(!c){break k}if(Px(j+((c<<8|c>>>8)&65535)|0,b,C[o+8>>2])){break k}c=C[b+28>>2];if(c>>>0>31){break i}C[b+28>>2]=c+1;if(!D[b+24|0]){break i}A[d|0]=0;A[d+1|0]=0}c=1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}i=c;break h}i=0}if(!i){break g}f=1;if(C[b+28>>2]|(!p|(D[e|0]|D[e+1|0]<<8)!=2304)){break g}g=0;d=E[102856];c=D[e+4|0]|D[e+5|0]<<8;f=c?D[e+6|0]|D[e+7|0]<<8:d;l:{if(!(f&65535)){f=205712;break l}f=e+((f<<8|(f&65280)>>>8)&65535)|0;d=D[f|0]|D[f+1|0]<<8}if((d&65535)==256){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535}d=1;if((t&65535)>>>0<2){f=1;break g}p=(c<<8|c>>>8)&65535;while(1){f=205712;c=d>>>0>=p>>>0?205712:(h+(d<<1)|0)+2|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=e+((c<<8|c>>>8)&65535)|0}c=0;if((D[f|0]|D[f+1|0]<<8)==256){c=D[f+2|0]|D[f+3|0]<<8;c=(c<<8|c>>>8)&65535}f=(c|0)==(g|0);if((c|0)!=(g|0)){break g}d=d+1|0;if((s|0)!=(d|0)){continue}break}}Ce=o+16|0;if(f){break f}d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[n|0]=0;A[n+1|0]=0}d=1;r=r+1|0;if((u|0)!=(r|0)){continue}break}}i=d;break c}i=0}if(i){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[m|0]=0;A[m+1|0]=0}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=65537){if(!ly(a+10|0,b,a)){break a}}v=1}Ce=q+16|0;return v}function oy(a){var 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;g=Ce-48|0;Ce=g;n=a+120|0;c=a+592|0;h=a+480|0;a:{while(1){b:{c:{d:{e:{b=C[a+88>>2];switch(b-3|0){case 1:break d;case 0:break e;default:break c}}e=C[a+72>>2];f:{if(C[a+4>>2]){if(!qk(h,e+(C[a+96>>2]<<5)|0)){break f}break b}if(qk(h,e)){break b}}fn(h,c);C[a+88>>2]=4;C[a+112>>2]=0;C[a+116>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0}o=C[C[C[a+72>>2]+28>>2]+3656>>2];l=-3;b=zh(n,g);if((b|0)==-1){break a}while(1){if((b|0)>0){e=C[g+16>>2];f=C[g+20>>2];k=0;b=0;i=0;j=0;g:{h:{if(!c){break h}d=C[c+64>>2];if(!d){break h}k=C[d+104>>2];i=C[d+4>>2];if(!i){i=0;d=1;break g}j=C[i+28>>2];b=1;d=1;break g}d=0}i:{j:{if(!c|!b|(!d|!k)){break j}if(!j){break j}Gq(c);d=C[g+4>>2];b=c?c+4|0:0;m=C[g>>2];C[b+12>>2]=m;C[b>>2]=0;C[b+4>>2]=0;C[b+16>>2]=d;C[b+8>>2]=m;d=-135;k:{if(Ye(b,1)){break k}d=Ye(b,C[k+44>>2]);if((d|0)==-1){break j}C[c+40>>2]=d;k=(d<<2)+j|0;d=C[k+32>>2];if(!d){break j}d=C[d>>2];C[c+28>>2]=d;l:{if(d){r=c,s=Ye(b,1),C[r+24>>2]=s;b=Ye(b,1);C[c+32>>2]=b;d=-136;if((b|0)==-1){break k}d=C[c+28>>2];break l}C[c+32>>2]=0;C[c+24>>2]=0;d=0}b=C[g+20>>2];C[c+48>>2]=C[g+16>>2];C[c+52>>2]=b;b=C[g+28>>2];C[c+56>>2]=C[g+24>>2];C[c+60>>2]=b;C[c+44>>2]=C[g+12>>2];C[c+36>>2]=C[(d<<2)+j>>2];r=c,s=pg(c,C[i+4>>2]<<2),C[r>>2]=s;if(C[i+4>>2]>0){b=0;while(1){d=pg(c,C[c+36>>2]<<2);C[C[c>>2]+(b<<2)>>2]=d;b=b+1|0;if((b|0)>2]){continue}break}}d=(C[C[k+32>>2]+12>>2]<<2)+j|0;d=Fe[C[C[(C[d+288>>2]<<2)+60632>>2]+16>>2]](c,C[d+544>>2])|0}break i}d=-136}if(!d){l=-129;if(ml(h,0)){break a}xz(h,c);d=ml(h,0);H[a+112>>3]=H[a+112>>3]+ +(d<>3]=H[a+104>>3]+ +(C[g+4>>2]<<3);l=1;if(C[g+12>>2]|(e&f)==-1){break a}m:{if(!C[a+4>>2]){b=0;break m}b=C[a+96>>2];if((b|0)<=0){break m}d=e;c=C[a+68>>2]+(b<<4)|0;j=C[c>>2];e=e-j|0;f=f-(C[c+4>>2]+(d>>>0>>0)|0)|0}d=!!e&(f|0)>=0|(f|0)>0;c=d?e:0;h=ml(h,0)<>31)+(c>>>0>>0)|0)|0;n:{if((b|0)<=0){break n}h=b&3;d=C[a+68>>2];j=0;o:{if(b>>>0<4){b=0;break o}n=b&-4;b=0;i=0;while(1){c=b<<4;k=d+(c|56)|0;o=C[k>>2];k=C[k+4>>2];m=d+(c|40)|0;q=C[m>>2];m=C[m+4>>2];p=d+(c|24)|0;c=c+d|0;f=f+C[c+12>>2]|0;c=e+C[c+8>>2]|0;e=C[p+4>>2]+(c>>>0>>0?f+1|0:f)|0;f=c+C[p>>2]|0;e=(f>>>0>>0?e+1|0:e)+m|0;c=f+q|0;f=(c>>>0>>0?e+1|0:e)+k|0;e=c+o|0;f=e>>>0>>0?f+1|0:f;b=b+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!h){break n}while(1){c=d+(b<<4)|0;i=C[c+8>>2];f=f+C[c+12>>2]|0;c=e;e=e+i|0;f=c>>>0>e>>>0?f+1|0:f;b=b+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}C[a+80>>2]=e;C[a+84>>2]=f;break a}b=zh(n,g);if((b|0)!=-1){continue}break a}break}b=C[a+88>>2]}p:{q:{r:{s:{if((b|0)>=2){t:{u:{while(1){l=-2;Mg(a,g+32|0,-1,-1);if((Ee|0)<0){break a}H[a+104>>3]=H[a+104>>3]+ +(C[g+36>>2]<<3);b=C[a+88>>2];if((b|0)!=4){break t}e=C[g+32>>2];if(C[a+92>>2]==(D[e+14|0]|D[e+15|0]<<8|(D[e+16|0]<<16|D[e+17|0]<<24))){break u}if(!(D[C[g+32>>2]+5|0]&2)){continue}break}Qh(h);xi(c);C[a+88>>2]=2;if(C[a+4>>2]){break s}kl(C[a+72>>2]);cn(C[a+76>>2])}b=C[a+88>>2];if((b|0)==4){break p}}if((b|0)>2){break p}}if(!C[a+4>>2]){break r}}e=C[g+32>>2];e=D[e+14|0]|D[e+15|0]<<8|(D[e+16|0]<<16|D[e+17|0]<<24);f=C[a+52>>2];if((f|0)<=0){b=0;break q}d=C[a+64>>2];b=0;while(1){if((e|0)==C[d+(b<<2)>>2]){break q}b=b+1|0;if((f|0)!=(b|0)){continue}break}continue}l=dq(a,C[a+72>>2],C[a+76>>2],0,0,g+32|0);if(l){break a}C[a+92>>2]=C[a+456>>2];C[a+96>>2]=C[a+96>>2]+1;break p}if((b|0)==(f|0)){continue}C[a+96>>2]=b;C[a+92>>2]=e;Xi(n,e);C[a+88>>2]=3}gi(n,g+32|0);continue}break}l=-137}Ce=g+48|0;return l}function ny(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=C[b+4>>2];if(k>>>0>a>>>0){return 0}f=C[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=C[b+12>>2];e=i-2|0;C[b+12>>2]=e;d=1;if((e|0)<=0){return 0}e=D[a|0]|D[a+1|0]<<8;a:{if(!e){break a}b:{h=k;k=((e<<8|e>>>8)&65535)+c|0;if(h>>>0>k>>>0|f>>>0>>0|f-k>>>0<2){break b}c=i-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}e=D[k|0]|D[k+1|0]<<8;if(!e){break a}d=k+2|0;if(d>>>0>f>>>0){break b}h=f-d|0;d=(e<<8|e>>>8)&65535;f=I(d,6);if(h>>>0>>0){break b}c=c-f|0;C[b+12>>2]=c;if((c|0)<=0){break b}s=d>>>0<=1?1:d;while(1){p=Ce-16|0;Ce=p;c=(k+I(q,6)|0)+2|0;c:{if(c>>>0>2]){f=0;break c}d=C[b+8>>2];if(d>>>0>>0){f=0;break c}if(d-c>>>0<6){f=0;break c}f=C[b+12>>2];e=f-6|0;C[b+12>>2]=e;if((e|0)<=0){f=0;break c}o=c+4|0;if(d>>>0>>0){f=0;break c}if(d-o>>>0<2){f=0;break c}c=f-8|0;C[b+12>>2]=c;f=1;if((c|0)<=0){f=0;break c}d=D[o|0]|D[o+1|0]<<8;if(!d){break c}g=C[b+4>>2];e=k+((d<<8|d>>>8)&65535)|0;c=0;d:{if(g>>>0>e>>>0){break d}i=C[b+8>>2];c=0;if(i>>>0>>0){break d}c=0;if(i-e>>>0<2){break d}j=C[b+12>>2];m=j-2|0;C[b+12>>2]=m;d=1;c=0;if((m|0)<=0){break d}c=D[e|0]|D[e+1|0]<<8;e:{if(!c){break e}c=e+((c<<8|c>>>8)&65535)|0;f:{if(c>>>0>>0|c>>>0>i>>>0|i-c>>>0<6){break f}d=j-8|0;C[b+12>>2]=d;if((d|0)<=0){break f}g=c+4|0;if(g>>>0>i>>>0|i-g>>>0<2){break f}j=j-10|0;C[b+12>>2]=j;d=1;if((j|0)<=0){break f}g=D[g|0]|D[g+1|0]<<8;if(!g){break e}c=c+6|0;if(c>>>0>i>>>0){break f}h=i-c|0;c=((g<<8|g>>>8)&65535)<<1;if(h>>>0>>0){break f}c=j-c|0;C[b+12>>2]=c;if((c|0)>0){break e}}d=C[b+28>>2];c=0;if(d>>>0>31){break d}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break e}A[e|0]=0;A[e+1|0]=0;d=1}c=d}if(c){C[p+12>>2]=e;d=0;j=Ce-16|0;Ce=j;i=e+2|0;g:{if(i>>>0>2]){break g}c=C[b+8>>2];if(c>>>0>>0|c-i>>>0<2){break g}e=C[b+12>>2]-2|0;C[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break g}g=D[i|0]|D[i+1|0]<<8;if(!g){break g}d=i+2|0;if(d>>>0>c>>>0){d=0;break g}h=c-d|0;c=(g<<8|g>>>8)&65535;d=I(c,6);if(h>>>0>>0){d=0;break g}e=e-d|0;C[b+12>>2]=e;d=0;if((e|0)<=0){break g}t=c>>>0<=1?1:c;m=0;while(1){e=i+I(m,6)|0;c=e+2|0;d=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);l=C[p+12>>2];C[j+12>>2]=l;C[j+8>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);h:{i:{if(c>>>0>2]){break i}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<=5){break i}c=C[b+12>>2]-6|0;C[b+12>>2]=c;if((c|0)>0){break h}}d=0;break g}C[j+4>>2]=j+8;r=C[b+4>>2];g=e+6|0;h=0;j:{if(r>>>0>g>>>0){break j}e=C[b+8>>2];h=0;if(e>>>0>>0){break j}h=0;if(e-g>>>0<2){break j}n=C[b+12>>2];c=n-2|0;C[b+12>>2]=c;d=1;h=0;if((c|0)<=0){break j}c=D[g|0]|D[g+1|0]<<8;k:{if(!c){break k}c=l+((c<<8|c>>>8)&65535)|0;l:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<6){break l}d=n-8|0;C[b+12>>2]=d;if((d|0)<=0){break l}l=c+4|0;if(l>>>0>e>>>0|e-l>>>0<2){break l}n=n-10|0;C[b+12>>2]=n;d=1;if((n|0)<=0){break l}l=D[l|0]|D[l+1|0]<<8;if(!l){break k}c=c+6|0;if(c>>>0>e>>>0){break l}h=e-c|0;c=((l<<8|l>>>8)&65535)<<1;if(h>>>0>>0){break l}c=n-c|0;C[b+12>>2]=c;if((c|0)>0){break k}}d=C[b+28>>2];h=0;if(d>>>0>31){break j}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break k}A[g|0]=0;A[g+1|0]=0;d=1}h=d}d=h;if(!d){break g}m=m+1|0;if((t|0)!=(m|0)){continue}break}}Ce=j+16|0;if(d){break c}}c=C[b+28>>2];if(c>>>0>31){f=0;break c}C[b+28>>2]=c+1;f=0;if(!D[b+24|0]){break c}A[o|0]=0;A[o+1|0]=0;f=1}Ce=p+16|0;if(!f){break b}d=1;q=q+1|0;if((s|0)!=(q|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;d=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;d=1}return d}function gF(a){a=a|0;var 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;e=Ce-16|0;Ce=e;o=C[a+36>>2];b=C[a+20>>2];p=C[a+16>>2];c=C[a>>2];h=C[a+28>>2];k=C[a+24>>2];d=C[a+40>>2];m=D[d+9|0];f=C[a+44>>2];n=D[f+9|0];a:{if(!((m|0)!=4|(n|0)!=4|(C[d>>2]==372711428|C[f>>2]==372711428))){Ei(d,f,e+12|0,e+8|0,e+4|0,e,0);if(!h){break a}l=k&7;k=(k+7|0)/8|0;b:while(1){h=h-1|0;g=k;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[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=1;continue;case 1:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=2;continue;case 2:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=3;continue;case 3:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=4;continue;case 4:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=5;continue;case 5:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=6;continue;case 6:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=7;continue;default:break e}}A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];a=g-1|0;b=b+4|0;c=c+4|0;f:{if((g|0)>1){g=a;break f}b=b+o|0;c=c+p|0;if(h){continue b}break a}a=0;continue}}}if(!h){break a}q=n-1|0;while(1){h=h-1|0;l=k;if(k){while(1){a=0;g=0;i=0;j=0;g:{h:{switch(m-1|0){case 0:a=D[c|0];j=D[C[(D[d+31|0]<<2)+381104>>2]+((a&C[d+24>>2])>>>D[d+35|0]|0)|0];i=D[C[(D[d+30|0]<<2)+381104>>2]+((a&C[d+20>>2])>>>D[d+34|0]|0)|0];g=D[C[(D[d+29|0]<<2)+381104>>2]+((a&C[d+16>>2])>>>D[d+33|0]|0)|0];a=D[C[(D[d+28|0]<<2)+381104>>2]+((a&C[d+12>>2])>>>D[d+32|0]|0)|0];break g;case 1:a=E[c>>1];j=D[C[(D[d+31|0]<<2)+381104>>2]+((a&C[d+24>>2])>>>D[d+35|0]|0)|0];i=D[C[(D[d+30|0]<<2)+381104>>2]+((a&C[d+20>>2])>>>D[d+34|0]|0)|0];g=D[C[(D[d+29|0]<<2)+381104>>2]+((a&C[d+16>>2])>>>D[d+33|0]|0)|0];a=D[C[(D[d+28|0]<<2)+381104>>2]+((a&C[d+12>>2])>>>D[d+32|0]|0)|0];break g;case 2:i=D[(D[d+34|0]>>>3|0)+c|0];g=D[(D[d+33|0]>>>3|0)+c|0];a=D[(D[d+32|0]>>>3|0)+c|0];j=255;break g;case 3:break h;default:break g}}a=C[c>>2];j=D[C[(D[d+31|0]<<2)+381104>>2]+((a&C[d+24>>2])>>>D[d+35|0]|0)|0];i=D[C[(D[d+30|0]<<2)+381104>>2]+((a&C[d+20>>2])>>>D[d+34|0]|0)|0];g=D[C[(D[d+29|0]<<2)+381104>>2]+((a&C[d+16>>2])>>>D[d+33|0]|0)|0];a=D[C[(D[d+28|0]<<2)+381104>>2]+((a&C[d+12>>2])>>>D[d+32|0]|0)|0]}i:{j:{switch(q|0){case 0:A[b|0]=g>>>D[f+29|0]<>>D[f+28|0]<>>D[f+30|0]<>>D[f+31|0]<>1]=g>>>D[f+29|0]<>>D[f+28|0]<>>D[f+30|0]<>>D[f+31|0]<>>3|0)+b|0]=a;A[(D[f+33|0]>>>3|0)+b|0]=g;A[(D[f+34|0]>>>3|0)+b|0]=i;break i;case 3:break j;default:break i}}C[b>>2]=g>>>D[f+29|0]<>>D[f+28|0]<>>D[f+30|0]<>>D[f+31|0]<>2];d:{e:{f:{g:{if(!h|!C[h+72>>2]){break g}b=C[h+128>>2];a=C[b+12>>2];b=C[b+4>>2];c=a+(1895527114%(b>>>0)<<2)|0;f=C[c>>2];if(!f){break g}b=(a+(b<<2)|0)-4|0;while(1){h:{f=C[f>>2];if(D[f|0]==70){if(!Se(f,23482)){break h}}c=c-4|0;c=a>>>0>c>>>0?b:c;f=C[c>>2];if(f){continue}break g}break}if(C[h+80>>2]){break f}}a=B[h+12>>1];C[h+40>>2]=a;C[k+16>>2]=a;a=k+32|0;em(a,k+16|0);f=qj(C[e+32>>2],23482,a);if(f){break a}h=C[e+32>>2];B[h+278660>>1]=1;if(!C[h+72>>2]){break e}}b=C[h+128>>2];a=C[b+12>>2];b=C[b+4>>2];c=a+(908209322%(b>>>0)<<2)|0;f=C[c>>2];if(!f){break e}b=(a+(b<<2)|0)-4|0;while(1){i:{f=C[f>>2];if(D[f|0]==70){if(!Se(f,23437)){break i}}c=c-4|0;c=a>>>0>c>>>0?b:c;f=C[c>>2];if(f){continue}break e}break}if(C[h+80>>2]){break d}}a=B[h+14>>1];C[h+44>>2]=a;C[k>>2]=a;a=k+32|0;em(a,k);f=qj(C[e+32>>2],23437,a);if(f){break a}B[C[e+32>>2]+278660>>1]=1}C[e>>2]=C[e>>2]&-17;C[d>>2]=887;f=0;break a}j:{if(cf(a,24462,21)){break j}switch(D[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(cf(a,23363,7)){break k}f=a+7|0;l:{switch(D[a+7|0]){case 9:case 10:case 13:case 32:A[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=qj(C[e+32>>2],a,f);break a}n=C[e+32>>2];f=a;m:{while(1){n:{d=-1;o:{p:{c=D[f|0];switch(c|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((c|0)==32){break n}}f=f+1|0;continue}break}A[f|0]=0;d=c}q:{if(!a){break q}l=D[a|0];if(!l){break q}o=C[n+278688>>2];c=l;g=a;while(1){h=(c<<24>>24)+I(h,31)|0;c=D[g+1|0];g=g+1|0;if(c){continue}break}c=h;h=C[n+278680>>2];g=o+((c>>>0)%(h>>>0)<<2)|0;c=C[g>>2];if(!c){break q}h=(o+(h<<2)|0)-4|0;while(1){r:{m=C[c>>2];if((l|0)==D[m|0]){if(!Se(m,a)){break r}}c=g-4|0;g=c>>>0>>0?h:c;c=C[g>>2];if(c){continue}break q}break}c=C[c+4>>2];if(c>>>0>=83){i=(C[n+278668>>2]+(c<<4)|0)-1328|0;break q}i=(c<<4)+280240|0}if((d|0)!=-1){A[f|0]=d;j=d}if(!(C[i+4>>2]!=1?i:0)){if(j&255){A[f|0]=0;f=f+1|0}g=a+b|0;while(1){b=D[f|0];if(!((b|0)!=32&(b|0)!=9)){f=f+1|0;continue}break}b=((b|0)==34)+f|0;s:{if(b>>>0>=g>>>0){break s}while(1){t:{u:{g=g-1|0;switch(D[g|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}A[g|0]=0;if(b>>>0>>0){continue}break s}break}A[g|0]=0}f=qj(C[e+32>>2],a,b);break a}d=e+139304|0;f=yh(d,32174,a,b);if(f){break a}n=C[C[e+139304>>2]>>2];c=0;v:{w:{x:{b=C[e+139312>>2];switch(b|0){case 0:break v;case 1:break x;default:break w}}C[e+139312>>2]=0;break v}j=b-1|0;l=j&3;a=0;f=1;if(b-2>>>0>=3){o=j&-4;h=0;while(1){g=C[d>>2];b=c<<2;i=g+b|0;m=g;g=f<<2;C[i>>2]=C[m+g>>2];i=C[d>>2];C[i+(b|4)>>2]=C[(g+i|0)+4>>2];i=C[d>>2];C[i+(b|8)>>2]=C[(g+i|0)+8>>2];m=b|12;b=C[d>>2];C[m+b>>2]=C[(b+g|0)+12>>2];f=f+4|0;c=c+4|0;h=h+4|0;if((o|0)!=(h|0)){continue}break}}if(l){while(1){b=C[d>>2];C[b+(c<<2)>>2]=C[b+(f<<2)>>2];f=f+1|0;c=c+1|0;a=a+1|0;if((l|0)!=(a|0)){continue}break}}C[e+139312>>2]=j;if(!j){c=0;break v}b=C[C[d>>2]>>2];f=0;a=0;while(1){c=C[C[d>>2]+(a<<2)>>2];g=D[c|0];if(g){while(1){A[b+f|0]=g;f=f+1|0;g=D[c+1|0];c=c+1|0;if(g){continue}break}j=C[e+139312>>2]}a=a+1|0;if(j>>>0>a>>>0){A[b+f|0]=32;j=C[e+139312>>2];f=f+1|0}if(a>>>0>>0){continue}break}c=281568;if((b|0)==281568){break v}A[b+f|0]=0;c=b}f=qj(C[e+32>>2],n,c)}Ce=k+160|0;return f|0}function mp(a,b,c,d,e){var 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,B=0,E=0,F=0,G=0;g=Ce-32|0;Ce=g;s=C[a>>2];f=Ce-48|0;Ce=f;j=b;b=bf(b,c);a:{if(b){break a}b=jg(j,f+16|0,16);if(b){break a}b=C[f+16>>2];i=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+c|0;C[g+20>>2]=i;b=2;h=C[f+20>>2];k=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!k){break a}c=c+k|0;h=C[f+24>>2];if((c|0)!=(i+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0)){break a}b=bf(j,c);if(b){break a}A[f+15|0]=D[f+31|0]+1;b=jg(j,f,16);if(b){break a}t=D[f|0];u=D[f+1|0];v=D[f+2|0];w=D[f+3|0];x=D[f+4|0];y=D[f+5|0];z=D[f+6|0];h=D[f+7|0];i=D[f+8|0];k=D[f+9|0];n=D[f+10|0];o=D[f+11|0];p=D[f+12|0];q=D[f+13|0];B=D[f+15|0];E=D[f+14|0];if(t|(u|(v|(w|(x|(y|(z|(h|(i|(k|(n|(o|(p|(q|(B|E))))))))))))))){b=2;if(!(D[f+31|0]==(B|0)&D[f+30|0]==(E|0)&D[f+29|0]==(q|0)&D[f+28|0]==(p|0)&D[f+27|0]==(o|0)&D[f+26|0]==(n|0)&D[f+25|0]==(k|0)&D[f+24|0]==(i|0)&D[f+23|0]==(h|0)&(z|0)==D[f+22|0]&(y|0)==D[f+21|0]&(x|0)==D[f+20|0]&(w|0)==D[f+19|0]&(v|0)==D[f+18|0]&(u|0)==D[f+17|0]&(t|0)==D[f+16|0])){break a}}F=f,G=lg(j,8),C[F+44>>2]=G;h=_f(j,f+44|0);b=C[f+44>>2];if(b){break a}c=c+h|0;b=bf(j,c);if(b){break a}C[g+24>>2]=c;b=0}Ce=f+48|0;c=b;b:{if(b){break b}c=1;c:{if(!$v(a,j,C[g+24>>2],C[g+20>>2],1347375956,1,g+16|0,g+12|0)){o=C[g+12>>2];q=C[g+16>>2];C[g+28>>2]=1;d:{if(d+1>>>0>1){break d}c=10;if((o|0)<=0){break d}p=C[a>>2];while(1){c=bf(j,C[q+(l<<2)>>2]);C[g+28>>2]=c;if(c){break d}b=dg(j,g+28|0);c=C[g+28>>2];if(c){break d}c=9;if((b|0)<0|-7-b>>>0>>0){break d}r=(b+r|0)+6|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}c=10;n=r+2|0;if(n>>>0<6){break d}i=hf(p,n,g+28|0);c=C[g+28>>2];if(c){break d}A[i+2|0]=0;A[i+3|0]=0;A[i+4|0]=0;A[i+5|0]=0;A[i|0]=128;A[i+1|0]=1;d=1;b=6;e:{f:{g:{h:{if((o|0)<=0){k=2;break h}k=2;c=0;while(1){f=bf(j,C[q+(c<<2)>>2]);C[g+28>>2]=f;if(f){break f}f=dg(j,g+28|0);if(C[g+28>>2]|(f|0)<0){break f}h=_f(j,g+28|0);if(C[g+28>>2]){break f}C[g+28>>2]=10;if(h>>>0>=256){l=f-2|0;f=f>>>0>=l>>>0?l:0;l=h>>>8|0;i:{if((l|0)==(d|0)){h=b;b=f+m|0;break i}h=k+3|0;if(h>>>0>n>>>0){break g}d=i+k|0;A[d|0]=m;A[d+2|0]=m>>>16;A[d+1|0]=m>>>8;A[i+h|0]=m>>>24;if((l|0)==5){break h}h=b+6|0;if(n>>>0>>0){break g}d=b+i|0;A[d|0]=128;k=b+2|0;b=i+k|0;A[b|0]=0;A[b+1|0]=0;A[b+2|0]=0;A[b+3|0]=0;A[d+1|0]=l;d=l;b=f}m=b;if(h>>>0>r>>>0){break g}b=f+h|0;if(r>>>0>>0){break g}f=jg(j,i+h|0,f);C[g+28>>2]=f;if(f){break f}}c=c+1|0;if((o|0)!=(c|0)){continue}break}}C[g+28>>2]=10;c=b+2|0;if(c>>>0>n>>>0){break f}b=b+i|0;A[b|0]=128;A[b+1|0]=3;d=k+3|0;if(d>>>0>n>>>0){break g}b=i+k|0;A[b|0]=m;A[b+2|0]=m>>>16;A[b+1|0]=m>>>8;A[d+i|0]=m>>>24;c=kp(a,i,c,0,29664,e);break d}if(!C[g+28>>2]){break e}}C[g+28>>2]=1}if(i){Fe[C[p+8>>2]](p,i)}c=C[g+28>>2]}a=C[g+16>>2];if(a){Fe[C[s+8>>2]](s,a)}if(c){break b}a=1;break c}c=$v(a,j,C[g+24>>2],C[g+20>>2],1936092788,0,g+16|0,g+12|0);if(c){break b}c=1;b=d;d=C[g+12>>2];b=(b|0)%(d|0)|0;b=(b|0)!=-1?b:0;j:{if((b|0)>=(d|0)){break j}m=C[a>>2];f=C[C[g+16>>2]+(b<<2)>>2];c=bf(j,f);C[g+28>>2]=c;if(c){break j}d=dg(j,g+28|0);c=C[g+28>>2];if(c){break j}c=1;if((d|0)==-1){break j}b=jw(a,j,b,e);C[g+28>>2]=b;if(!b){c=0;break j}if(bf(j,f+4|0)){c=C[g+28>>2];break j}b=hf(m,d,g+28|0);c=C[g+28>>2];if(c){break j}c=jg(j,b,d);C[g+28>>2]=c;if(c){break j}c=kp(a,b,d,0,(d|0)<5?16802:(D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24))==1330926671?15672:16802,e)}a=C[g+16>>2];if(a){Fe[C[s+8>>2]](s,a)}if(c){break b}a=C[g+12>>2]}C[C[e>>2]>>2]=a;c=0}Ce=g+32|0;return c}function jk(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;g=Ce+-64|0;Ce=g;q=C[a>>2];l=C[a+40>>2];h=C[a+36>>2];A[g+47|0]=0;A[g+48|0]=0;A[g+49|0]=0;A[g+50|0]=0;A[g+51|0]=0;A[g+52|0]=0;A[g+53|0]=0;A[g+54|0]=0;C[g+40>>2]=0;C[g+44>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+16>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;d=I(b,1468)+a|0;o=d;C[d+44>>2]=0;c=C[d+68>>2];d=C[a+28>>2];i=C[a+24>>2];j=d+I(i,40)|0;a:{if(!b){if((i|0)<=0){break a}while(1){C[d+24>>2]=B[d+12>>1];C[d+28>>2]=B[d+14>>1];d=d+40|0;if(j>>>0>d>>>0){continue}break}break a}if((i|0)<=0){break a}while(1){C[d+24>>2]=B[d+14>>1];C[d+28>>2]=B[d+12>>1];d=d+40|0;if(j>>>0>d>>>0){continue}break}}b:{if((h|0)<=0){break b}u=(h<<2)+l|0;k=I(b,1468)+a|0;p=k+72|0;d=c>>31;m=(d^c)-d|0;r=m;while(1){h=C[l>>2];d=C[h+36>>2];c:{if((d|0)==(h|0)){break c}c=A[d+3|0];d=c>>31;d:{if(((c^d)-d|0)!=(m|0)){break d}d=h;f=A[d+3|0];c=f>>31;if(((c^f)-c|0)!=(m|0)){break d}while(1){d=C[d+36>>2];f=A[d+3|0];c=f>>31;if(((c^f)-c|0)!=(m|0)){h=C[d+32>>2];break d}if((d|0)!=(h|0)){continue}break}}c=0;i=-32e3;f=32e3;d=h;s=0;while(1){j=1;e:{if(!c){break e}c=C[d+24>>2];i=(c|0)>(i|0)?c:i;f=(c|0)<(f|0)?c:f;if(!((d|0)==(h|0)|A[d+3|0]!=(r|0))){j=0;break e}C[e+44>>2]=d;B[e+2>>1]=f+i>>>1;c=C[e+40>>2];if((E[d>>1]|E[c>>1])&3){A[e|0]=D[e|0]|1}c=C[c+28>>2];f=C[d+28>>2];i=(c|0)>(f|0)?c:f;B[e+6>>1]=i;f=(c|0)<(f|0)?c:f;B[e+4>>1]=f;B[e+8>>1]=i-f;e=0}if((d|0)==(h|0)){c=s;s=1;if(c){break c}}n=1;f:{if(!j){break f}j=A[d+3|0];c=j>>31;n=0;if(((c^j)-c|0)!=(m|0)){break f}C[g+60>>2]=0;e=C[o+44>>2];g:{if((e|0)<=17){if(C[k+52>>2]){break g}C[k+52>>2]=p;C[k+48>>2]=18;break g}c=C[k+48>>2];if((c|0)>(e|0)){break g}if((c|0)>44739241){f=64;break b}h:{if((c|0)>=-16){e=(c+(c>>2)|0)+4|0;if((e|0)<44739243){break h}}e=44739242}f=C[k+52>>2];i:{if((f|0)==(p|0)){c=Ve(q,48,0,e,0,g+60|0);C[k+52>>2]=c;f=C[g+60>>2];if(f){break b}t(c,p,864);break i}v=k,w=Ve(q,48,c,e,f,g+60|0),C[v+52>>2]=w;f=C[g+60>>2];if(f){break b}}C[k+48>>2]=e;e=C[o+44>>2]}c=C[k+52>>2];C[o+44>>2]=e+1;e=c+I(e,48)|0;A[e|0]=0;c=C[g+28>>2];f=C[g+24>>2];A[e+1|0]=f;A[e+2|0]=f>>>8;A[e+3|0]=f>>>16;A[e+4|0]=f>>>24;A[e+5|0]=c;A[e+6|0]=c>>>8;A[e+7|0]=c>>>16;A[e+8|0]=c>>>24;c=C[g+36>>2];f=C[g+32>>2];A[e+9|0]=f;A[e+10|0]=f>>>8;A[e+11|0]=f>>>16;A[e+12|0]=f>>>24;A[e+13|0]=c;A[e+14|0]=c>>>8;A[e+15|0]=c>>>16;A[e+16|0]=c>>>24;c=C[g+44>>2];f=C[g+40>>2];A[e+17|0]=f;A[e+18|0]=f>>>8;A[e+19|0]=f>>>16;A[e+20|0]=f>>>24;A[e+21|0]=c;A[e+22|0]=c>>>8;A[e+23|0]=c>>>16;A[e+24|0]=c>>>24;c=D[g+51|0]|D[g+52|0]<<8|(D[g+53|0]<<16|D[g+54|0]<<24);f=D[g+47|0]|D[g+48|0]<<8|(D[g+49|0]<<16|D[g+50|0]<<24);A[e+24|0]=f;A[e+25|0]=f>>>8;A[e+26|0]=f>>>16;A[e+27|0]=f>>>24;A[e+28|0]=c;A[e+29|0]=c>>>8;A[e+30|0]=c>>>16;A[e+31|0]=c>>>24;C[e+32>>2]=32e3;c=C[g+12>>2];C[e+36>>2]=C[g+8>>2];C[e+40>>2]=c;C[e+44>>2]=C[g+16>>2];A[e+1|0]=j;f=C[d+24>>2];C[e+44>>2]=d;C[e+40>>2]=d;i=f;r=j;n=1}c=n;d=C[d+32>>2];continue}}l=l+4|0;if(u>>>0>l>>>0){continue}break}f=0;h=C[o+44>>2];if((h|0)<=0){break b}d=C[(I(b,1468)+a|0)+52>>2];i=d+I(h,48)|0;while(1){b=C[d+40>>2];a=C[C[b+36>>2]+28>>2];b=C[b+28>>2];c=C[d+44>>2];h=C[c+28>>2];j:{k:{if((b|0)<(h|0)){if((a|0)<(b|0)){B[d+8>>1]=E[d+8>>1]+(b-a>>>1|0)}a=C[C[c+32>>2]+28>>2];if((a|0)<=(h|0)){break j}a=a-h|0;break k}if((a|0)>(b|0)){B[d+8>>1]=E[d+8>>1]+(a-b>>>1|0)}a=C[C[c+32>>2]+28>>2];if((a|0)>=(h|0)){break j}a=h-a|0}B[d+8>>1]=E[d+8>>1]+(a>>>1|0)}d=d+48|0;if(i>>>0>d>>>0){continue}break}}Ce=g- -64|0;return f}function Bu(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,o=0,p=0;g=Ce-16|0;Ce=g;C[b+12>>2]=0;C[b>>2]=c;h=c+d|0;C[b+8>>2]=h;Fe[C[b+28>>2]](b);c=C[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+460|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=D[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)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(D[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)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(D[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(cf(c,17389,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Fe[C[b+32>>2]](b);e=1;l=c;if(!C[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|D[c+1|0]!=68){break d}C[b>>2]=l;e=C[C[a+128>>2]+48>>2];d=C[b+8>>2];Fe[C[b+28>>2]](b);n:{c=C[b>>2];o:{if(c>>>0>=d>>>0|D[c|0]-48>>>0>9){break o}c=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((c|0)<0){break o}f=d;d=C[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}C[b>>2]=(c+d|0)+1;e=0;if(!C[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|D[c+1|0]!=124){break d}C[b>>2]=l;e=C[C[a+128>>2]+48>>2];d=C[b+8>>2];Fe[C[b+28>>2]](b);p:{c=C[b>>2];q:{if(c>>>0>=d>>>0|D[c|0]-48>>>0>9){break q}c=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((c|0)<0){break q}f=d;d=C[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}C[b>>2]=(c+d|0)+1;e=0;if(!C[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;C[b>>2]=i;Fe[C[b+32>>2]](b);if(C[b+12>>2]){break b}e=0;c=C[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=D[i|0];c=354928;f=12322;while(1){d=c;r:{if(D[f|0]!=(p|0)){break r}if((af(f)|0)!=(j|0)){break r}if(Hg(i,f,j)){break r}c=C[b+372>>2];if(!(C[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(Se(f,7471)){break c}}f=C[a+528>>2];if(f){c=C[f>>2]?f:0}else{c=0}i=C[d+8>>2];s:{if((i|0)==11){Fe[C[d+12>>2]](a,b);c=C[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(C[d+4>>2]-2|0){case 1:C[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:C[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:C[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:C[g+12>>2]=b;e=g+12|0;break u;case 5:C[g+12>>2]=a;e=g+12|0;break u;case 6:C[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}C[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=C[e>>2];c=C[c>>2]}if(f){break t}break g}C[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Fe[C[b+68>>2]](b,d,e,c,0)|0;break s}c=Fe[C[b+64>>2]](b,d,e,c,0)|0}C[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=C[d+36>>2];if(f){continue}break}break c}if(!cf(c,21660,5)){break b}break d}e=0;C[b+12>>2]=0;break c}C[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(D[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 A;default:break d}}if(cf(c,1076,13)){break d}d=C[b+372>>2];if(d&1){C[b+372>>2]=d|2}C[b>>2]=c+13;break c}Fe[C[b+32>>2]](b);e=0;if(C[b+12>>2]){break b}}Fe[C[b+28>>2]](b);c=C[b>>2];if(h>>>0>c>>>0){continue}break}}c=C[b+12>>2]}Ce=g+16|0;return c}function kK(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;d=Ce-16|0;Ce=d;k=C[b+16>>2];m=C[b+8>>2];n=C[a+488>>2];a:{b:{e=Fe[C[b+36>>2]](b)|0;if((e|0)<0){c=3;break b}if(C[b+12>>2]|!e){break a}i=b+260|0;l=b+156|0;j=b+208|0;if(!C[b+152>>2]){f=e+6|0;c=Fe[C[C[n>>2]>>2]](j,f,k)|0;if(c){break b}c=Fe[C[C[n>>2]>>2]](l,f,k)|0;if(c){break b}c=Fe[C[C[n>>2]>>2]](i,4,k)|0;C[d+12>>2]=c;if(c){break b}}Fe[C[b+28>>2]](b);c:{c=C[b>>2];if(m>>>0<=c>>>0){C[b+152>>2]=0;break c}u=e+5|0;d:{while(1){e:{f:{if(c+3>>>0>=m>>>0){break f}g:{switch(D[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(D[c|0]-100|0){case 0:if(!g|(D[c+1|0]!=101|D[c+2|0]!=102)){break f}break e;case 1:break h;default:break f}}if(D[c+1|0]!=110){break f}if(D[c+2|0]==100){break e}}Fe[C[b+32>>2]](b);h=C[b>>2];if(h>>>0>=m>>>0){c=3;break b}if(C[b+12>>2]){break a}i:{if(D[c|0]!=47){break i}if(c+2>>>0>=m>>>0){C[d+12>>2]=3;break d}o=C[C[a+128>>2]+48>>2];f=C[b+8>>2];Fe[C[b+28>>2]](b);j:{e=C[b>>2];k:{if(e>>>0>=f>>>0|D[e|0]-48>>>0>9){break k}e=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((e|0)<0){break k}q=f;r=C[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break j}}if(o){break a}C[b+12>>2]=3;break a}C[b>>2]=(e+r|0)+1;if(C[b+12>>2]){break a}if(C[b+152>>2]){break i}c=c+1|0;h=h-c|0;o=Fe[C[b+200>>2]](l,g,c,h+1|0)|0;C[d+12>>2]=o;if(o){break d}q=h;h=g<<2;A[q+C[h+C[b+180>>2]>>2]|0]=0;if(D[c|0]==46){c=Se(15690,C[h+C[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=C[a+172>>2];l:{if(!((c|0)<0|(g|0)>=(u|0))){if(c>>>0>=e>>>0){C[d+12>>2]=3;c=C[d+12>>2];break b}c=hf(k,e,d+12|0);if(C[d+12>>2]){break d}t(c,f,e);Fe[C[n+16>>2]](c,e,4330);f=C[a+172>>2];v=d,w=Fe[C[b+252>>2]](j,g,f+c|0,e-f|0)|0,C[v+12>>2]=w;if(c){Fe[C[k+8>>2]](k,c)}c=C[d+12>>2];break l}c=Fe[C[b+252>>2]](j,g,f,e)|0;C[d+12>>2]=c}if(c){break d}g=g+1|0}Fe[C[b+28>>2]](b);c=C[b>>2];if(m>>>0>c>>>0){continue}}break}C[b+152>>2]=g;if(!(s&255)){break c}a=C[C[b+180>>2]>>2];if(!Se(15690,a)){break a}c=Fe[C[b+304>>2]](i,0,a,C[C[b+184>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+304>>2]](i,1,C[C[b+232>>2]>>2],C[C[b+236>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}a=p<<2;c=Fe[C[b+304>>2]](i,2,C[a+C[b+180>>2]>>2],C[a+C[b+184>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+304>>2]](i,3,C[a+C[b+232>>2]>>2],C[a+C[b+236>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,p,C[C[b+284>>2]>>2],C[C[b+288>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,p,C[C[b+284>>2]+4>>2],C[C[b+288>>2]+4>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,0,C[C[b+284>>2]+8>>2],C[C[b+288>>2]+8>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,0,C[C[b+284>>2]+12>>2],C[C[b+288>>2]+12>>2])|0;if(!c){break a}break b}c=C[d+12>>2];break b}A[d+8|0]=D[356624];C[d+4>>2]=D[356620]|D[356621]<<8|(D[356622]<<16|D[356623]<<24);c=Fe[C[b+304>>2]](i,0,C[C[b+180>>2]>>2],C[C[b+184>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+304>>2]](i,1,C[C[b+232>>2]>>2],C[C[b+236>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,0,15690,8)|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,0,d+4|0,5)|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,g,C[C[b+284>>2]>>2],C[C[b+288>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,g,C[C[b+284>>2]+4>>2],C[C[b+288>>2]+4>>2])|0;if(c){break b}C[b+152>>2]=C[b+152>>2]+1;break a}C[b+12>>2]=c}Ce=d+16|0}function kx(a,b,c,d,e,f){var 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,A=0,B=0,F=0,G=0,H=0,J=0;h=Ce-32|0;Ce=h;if(!(e-d>>>0<2|d>>>0>=e>>>0)){F=C[c+92>>2];while(1){l=I(d,20);a:{if(1<>1]&7168){o=d;break a}g=d+1|0;i=e>>>0>g>>>0?e:g;k=i-1|0;j=d;while(1){b:{o=j;j=j+1|0;if(j>>>0>=e>>>0){o=k;j=i;break b}if(1<>1]&7168){continue}}break}if(j-d>>>0>=2){Rf(c,d,j)}i=C[l+C[c+92>>2]>>2];C[h+8>>2]=0;C[h+12>>2]=0;C[h>>2]=0;C[h+4>>2]=0;k=i;i=C[b+72>>2];if(!(Fe[C[i+200>>2]](b,C[b+76>>2],k,h,C[i- -64>>2])|0)){if(g>>>0>=j>>>0){break a}j=C[c+92>>2];if(!f){if(o-d&1){i=I(g,20);if((E[(i+j|0)+16>>1]&31)==12){i=i+C[c+100>>2]|0;C[i>>2]=0;C[i+4>>2]=0}g=d+2|0}if((d+1|0)==(o|0)){break a}while(1){d=I(g,20);if((E[(d+j|0)+16>>1]&31)==12){d=d+C[c+100>>2]|0;C[d>>2]=0;C[d+4>>2]=0}d=g+1|0;i=I(d,20);if((E[(i+j|0)+16>>1]&31)==12){i=i+C[c+100>>2]|0;C[i>>2]=0;C[i+4>>2]=0}g=g+2|0;if((d|0)!=(o|0)){continue}break}break a}while(1){d=I(g,20);if((E[(d+j|0)+16>>1]&31)==12){d=d+C[c+100>>2]|0;i=C[d+4>>2];C[d+4>>2]=0;k=C[d>>2];C[d>>2]=0;C[d+8>>2]=C[d+8>>2]-k;C[d+12>>2]=C[d+12>>2]-i}d=(g|0)==(o|0);g=g+1|0;if(!d){continue}break}break a}d=C[(l+C[c+100>>2]|0)+12>>2];s=0;C[h>>2]=0;C[h+4>>2]=d+C[h+4>>2];d=C[b+72>>2];i=Fe[C[d+168>>2]](b,C[b+76>>2],C[l+C[c+92>>2]>>2],C[d+32>>2])|0;C[h+8>>2]=i;t=0;if((C[c+52>>2]&-3)==4){d=l+C[c+100>>2]|0;s=0-C[d+4>>2]|0;t=0-C[d>>2]|0}if(g>>>0>=j>>>0){break a}G=C[c+92>>2];d=l+G|0;y=D[d+14|0];p=D[d+12|0]&4?y&16?y&15:1:1;H=-1;v=255;w=0;z=C[h>>2];u=z;A=C[h+4>>2];l=A;j=i;B=C[h+12>>2];k=B;while(1){J=g;x=I(g,20);g=G+x|0;d=E[g+16>>1];q=1<>>0<256)){m=g;d:{if(p>>>0<2){break d}g=D[g+14|0];n=g&16?0:g&15;n=y>>>0<32?p:(g^y)>>>0>31?p:n>>>0>p>>>0?p:n;g=n-1|0;if((g|0)==(H|0)){break d}B=C[h+12>>2];i=C[h+8>>2];A=C[h+4>>2];v=C[h>>2];e:{if(w){break e}w=C[a>>2];if((w&-2)==4){break e}w=_q(C[a+4>>2]);d=E[m+16>>1];q=1<>>8|0:0;if((d|0)!=(v|0)){k=B;l=A;u=z;v=d;j=i}g=C[C[c+92>>2]+x>>2];C[h+24>>2]=0;C[h+28>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;m=g;g=C[b+72>>2];f:{if(!(Fe[C[g+200>>2]](b,C[b+76>>2],m,h+16|0,C[g- -64>>2])|0)){q=C[c+100>>2];break f}m=C[b+24>>2];q=C[c+100>>2];g=x+q|0;C[g+12>>2]=0;n=(m|0)/16|0;g:{h:{i:{j:{k:{d=d-200|0;switch(d|0){case 16:case 22:case 32:break h;case 0:case 18:case 28:break i;case 33:case 34:break k;default:break j}}l:{switch(C[c+52>>2]-4|0){case 0:r=((j+u|0)+(C[h+24>>2]/-2|0)|0)-C[h+16>>2]|0;break g;case 1:break l;default:break j}}r=((C[h+24>>2]/-2|0)+u|0)-C[h+16>>2]|0;break g}r=(u-C[h+16>>2]|0)+((j-C[h+24>>2]|0)/2|0)|0;break g}r=u-C[h+16>>2]|0;break g}r=j+u-(C[h+24>>2]+C[h+16>>2])|0}C[g+8>>2]=r;m:{switch(d|0){case 18:case 20:case 22:case 33:k=k-n|0;case 0:case 2:d=(k+l|0)-C[h+20>>2]|0;m=(m|0)<16^(d|0)>0;C[g+12>>2]=m?0:d;k=(C[h+28>>2]+k|0)-(m?d:0)|0;break f;case 28:case 30:case 32:case 34:k=k-n|0;l=l+n|0;break;case 14:case 16:break m;default:break f}}r=(m|0)<16;m=C[h+28>>2];d=l-(m+C[h+20>>2]|0)|0;if(!(r^(d|0)>0)){n=(d|0)/-2|0;d=n+d|0;l=l+n|0;k=k-n|0}C[g+12>>2]=d;k=k+m|0;l=l-m|0}d=q+x|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=C[d+8>>2]+t;C[d+12>>2]=C[d+12>>2]+s;break c}g=C[c+100>>2]+x|0;d=C[g+4>>2];g=C[g>>2];if((C[c+52>>2]&-3)==4){s=s-d|0;t=t-g|0;break c}s=d+s|0;t=g+t|0}g=J+1|0;if((o|0)!=(J|0)){continue}break}}d=o+1|0;if(e>>>0>d>>>0){continue}break}}Ce=h+32|0}function Fi(a,b,c,d,e){var f=0,g=0,h=0,i=J(0),j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=J(0),s=0,t=0;f=Ce-80|0;Ce=f;a:{b:{c:{if(!C[105579]|!a|(c|(b|0)==-1)){break c}if(!(A[422372]&1)){break c}yr(-1,-1,0,0,a,J(J(d|0)/J(C[a+24>>2])),J(J(e|0)/J(C[a+28>>2])));break b}p=(b|0)==-1;if((b|0)!=-1){break b}if(!C[105578]){break a}}d:{if(!C[105570]|p){break d}C[f>>2]=0;C[f+56>>2]=0;Sh(a,f,f+56|0);j=C[f>>2]/2|0;C[f>>2]=j;l=C[f+56>>2]/2|0;C[f+56>>2]=l;if(!((d|0)!=(j|0)|(e|0)!=(l|0))){C[105565]=e;C[105564]=d;if(C[105571]){break d}break a}if(!a|!(D[a+49|0]&2)){break d}g=C[105553];if(g){Fe[g|0](a,j,l);break d}Fi(a,b,0,j,l)}e:{f:{g:{if(c){h:{if(C[105569]){i=G[105573];if(i==J(1)){break g}i=J(J(i*J(d|0))+G[105574]);G[105574]=i;r=G[105574];k=+i;k=i>=J(0)?O(k):P(k);i:{if(K(k)<2147483648){l=~~k;break i}l=-2147483648}G[105574]=r-J(l|0);i=G[105573];if(i==J(1)){j=e;break f}i=J(J(i*J(e|0))+G[105575]);G[105575]=i;k=+i;q=O(k);if(i>=J(0)){break h}q=P(k);break h}i=G[105572];if(i==J(1)){break g}i=J(J(i*J(d|0))+G[105574]);G[105574]=i;r=G[105574];k=+i;k=i>=J(0)?O(k):P(k);j:{if(K(k)<2147483648){l=~~k;break j}l=-2147483648}G[105574]=r-J(l|0);i=G[105572];if(i==J(1)){j=e;break f}i=J(J(i*J(e|0))+G[105575]);G[105575]=i;k=+i;q=O(k);if(i>=J(0)){break h}q=P(k)}k=q;i=G[105575];if(K(k)<2147483648){j=~~k}else{j=-2147483648}G[105575]=i-J(j|0);break f}j=e-C[105565]|0;l=d-C[105564]|0;break e}j=e;l=d}e=C[105565]+j|0;d=C[105564]+l|0}k:{if(!C[105568]){C[105568]=1;C[105561]=e;C[105560]=d;break k}if(!(j|l)){break a}}if(p){g=1;s=j;o=C[105584];if((o|0)>0){m=C[105585];g=0;if(o>>>0>=4){t=o&-4;while(1){j=g<<3;n=C[(m+(j|24)|0)+4>>2]|(C[(m+(j|16)|0)+4>>2]|(C[(m+(j|8)|0)+4>>2]|(C[(j+m|0)+4>>2]|n)));g=g+4|0;h=h+4|0;if((t|0)!=(h|0)){continue}break}}o=o&3;if(o){h=0;while(1){n=C[(m+(g<<3)|0)+4>>2]|n;g=g+1|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}g=!n}j=g?0:s;l=g?0:l}g=C[105569];C[105561]=g?C[105561]+j|0:e;C[105560]=g?C[105560]+l|0:d;if(!(!a|D[a+49|0]&64)){C[f+76>>2]=0;C[f+72>>2]=0;h=C[105668];l:{if(!h){Qe(19865,0);h=0;break l}if(!(C[a>>2]==(h+388|0)?a:0)){Qe(2168,0);h=0;break l}h=0;if(C[a+140>>2]<=0){break l}h=C[a+144>>2]>0?a+132|0:0}Sh(a,f+76|0,f+72|0);m=C[f+76>>2];g=m-1|0;C[f+76>>2]=g;o=C[f+72>>2];C[f+72>>2]=o-1;a=0;n=0;m:{if(!h){break m}C[f+12>>2]=o;C[f+8>>2]=m;C[f>>2]=0;C[f+4>>2]=0;if(!yg(h,f,f+56|0)){g=C[f+76>>2];break m}a=C[f+56>>2];g=(a+C[f+64>>2]|0)-1|0;C[f+76>>2]=g;n=C[f+60>>2];C[f+72>>2]=(n+C[f+68>>2]|0)-1}h=C[105560];m=(g|0)>(h|0)?h:g;if(!((m|0)>=(a|0)&(g|0)>=(h|0))){C[105560]=(a|0)<(m|0)?m:a}h=C[105561];g=C[f+72>>2];a=(g|0)>(h|0)?h:g;if(!((g|0)>=(h|0)&(a|0)>=(n|0))){C[105561]=(a|0)>(n|0)?a:n}g=C[105569]}C[105562]=C[105562]+l;C[105563]=C[105563]+j;n:{if(g|!C[105591]){break n}a=C[105551];if(!a){break n}h=C[105590];if(!h){break n}Fe[a|0](h)}g=0;if((qf(1024,-1)|0)==1){C[f>>2]=1024;n=0;a=C[105559];if(a){g=C[a+4>>2]}C[105580]=p;C[f+12>>2]=b;C[f+8>>2]=g;m=C[105584];o:{if((m|0)<=0){break o}h=0;b=C[105585];g=0;if(m>>>0>=4){o=m&-4;a=0;while(1){p=g<<3;n=C[(b+(p|24)|0)+4>>2]|(C[(b+(p|16)|0)+4>>2]|(C[(b+(p|8)|0)+4>>2]|(C[(b+p|0)+4>>2]|n)));g=g+4|0;a=a+4|0;if((o|0)!=(a|0)){continue}break}}a=m&3;if(!a){break o}while(1){n=C[(b+(g<<3)|0)+4>>2]|n;g=g+1|0;h=h+1|0;if((a|0)!=(h|0)){continue}break}}C[f+16>>2]=n;C[f+32>>2]=j;C[f+28>>2]=l;a=C[105561];C[f+20>>2]=C[105560];C[f+24>>2]=a;Df(f)}C[105565]=c?C[105561]:e;C[105564]=c?C[105560]:d}Ce=f+80|0}function Oh(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,o=0,p=0,q=0;l=Ce-16|0;Ce=l;a:{if(F[b+4>>2]>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0){break a}f=g-a|0;if(f>>>0<2){break a}d=C[b+12>>2];i=d-2|0;C[b+12>>2]=i;c=1;if((i|0)<=0){c=0;break a}b:{c:{d:{e:{f:{g:{h:{e=D[a|0]|D[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=C[b+36>>2];if(c>>>0>2147483646){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=c<<1;if(e>>>0>>0){c=0;break a}a=i-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<6){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}C[l+12>>2]=a;c=0;g=C[b+4>>2];d=a+2|0;i:{if(g>>>0>d>>>0){break i}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break i}a=C[b+12>>2]-10|0;C[b+12>>2]=a;if((a|0)<=0){break i}i=D[d|0]|D[d+1|0]<<8;j=(i<<8|i>>>8)&65535;if(j>>>0<6){break i}m=D[d+2|0]|D[d+3|0]<<8;i=(m<<8|m>>>8)&65535;e=0;j:{if(!m){break j}e=d+10|0;if(e>>>0>f>>>0){break i}h=f-e|0;e=I(i,j);if(h>>>0>>0){break i}a=a-e|0;C[b+12>>2]=a;if((a|0)<=0){break i}c=d+I(j,i-1|0)|0;e=0;if((D[c+10|0]|D[c+11|0]<<8)!=65535){break j}e=(D[c+12|0]|D[c+13|0]<<8)==65535?-1:0}c=1;n=e+i|0;if(!n){break i}o=d+10|0;c=D[d|0]|D[d+1|0]<<8;p=(c<<8|c>>>8)&65535;e=o+I(p,i-1|0)|0;q=C[l+12>>2];j=0;while(1){c=0;h=I(j,p)+o|0;d=0;k:{if(!m){break k}d=0;if((D[e|0]|D[e+1|0]<<8)!=65535){break k}d=(D[e+2|0]|D[e+3|0]<<8)==65535?-1:0}d=d+i>>>0<=j>>>0?205712:h;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break i}h=a-6|0;C[b+12>>2]=h;if((h|0)<=0){break i}h=D[d|0]|D[d+1|0]<<8;h=(h<<8|h>>>8)&65535;k=D[d+2|0]|D[d+3|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0>>0){break i}d=d+4|0;if(d>>>0>f>>>0|f-d>>>0<2){break i}a=a-8|0;C[b+12>>2]=a;if((a|0)<=0){break i}h=(h-k|0)+1|0;if(h>>>0>2147483646){break i}if(h){d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+q|0;if(d>>>0>>0|d>>>0>f>>>0){break i}k=f-d|0;d=h<<1;if(k>>>0>>0){break i}a=a-d|0;C[b+12>>2]=a;if((a|0)<=0){break i}}c=1;j=j+1|0;if((n|0)!=(j|0)){continue}break}}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<4){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+4|0]|D[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=((d<<8|d>>>8)&65535)<<1;if(e>>>0>>0){c=0;break a}a=c-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=D[a+6|0]|D[a+7|0]<<8;d=I(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>g>>>0){c=0;break a}if(d>>>0>g-a>>>0){c=0;break a}a=c-d|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Ce=l+16|0;return c}function My(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,o=0,p=0,q=0;l=Ce-16|0;Ce=l;a:{if(F[b+4>>2]>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0){break a}f=g-a|0;if(f>>>0<2){break a}d=C[b+12>>2];i=d-2|0;C[b+12>>2]=i;if((i|0)<=0){break a}c=1;b:{c:{d:{e:{f:{g:{h:{e=D[a|0]|D[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=C[b+36>>2];if(c>>>0>1073741822){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=c<<2;if(e>>>0>>0){c=0;break a}a=i-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<8){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}C[l+12>>2]=a;c=0;g=C[b+4>>2];d=a+2|0;i:{if(g>>>0>d>>>0){break i}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break i}a=C[b+12>>2]-10|0;C[b+12>>2]=a;if((a|0)<=0){break i}i=D[d|0]|D[d+1|0]<<8;j=(i<<8|i>>>8)&65535;if(j>>>0<6){break i}m=D[d+2|0]|D[d+3|0]<<8;i=(m<<8|m>>>8)&65535;e=0;j:{if(!m){break j}e=d+10|0;if(e>>>0>f>>>0){break i}h=f-e|0;e=I(i,j);if(h>>>0>>0){break i}a=a-e|0;C[b+12>>2]=a;if((a|0)<=0){break i}c=d+I(j,i-1|0)|0;e=0;if((D[c+10|0]|D[c+11|0]<<8)!=65535){break j}e=(D[c+12|0]|D[c+13|0]<<8)==65535?-1:0}c=1;n=e+i|0;if(!n){break i}o=d+10|0;c=D[d|0]|D[d+1|0]<<8;p=(c<<8|c>>>8)&65535;e=o+I(p,i-1|0)|0;q=C[l+12>>2];j=0;while(1){c=0;h=I(j,p)+o|0;d=0;k:{if(!m){break k}d=0;if((D[e|0]|D[e+1|0]<<8)!=65535){break k}d=(D[e+2|0]|D[e+3|0]<<8)==65535?-1:0}d=d+i>>>0<=j>>>0?205712:h;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break i}h=a-6|0;C[b+12>>2]=h;if((h|0)<=0){break i}h=D[d|0]|D[d+1|0]<<8;h=(h<<8|h>>>8)&65535;k=D[d+2|0]|D[d+3|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0>>0){break i}d=d+4|0;if(d>>>0>f>>>0|f-d>>>0<2){break i}a=a-8|0;C[b+12>>2]=a;if((a|0)<=0){break i}h=(h-k|0)+1|0;if(h>>>0>1073741822){break i}if(h){d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+q|0;if(d>>>0>>0|d>>>0>f>>>0){break i}k=f-d|0;d=h<<2;if(k>>>0>>0){break i}a=a-d|0;C[b+12>>2]=a;if((a|0)<=0){break i}}c=1;j=j+1|0;if((n|0)!=(j|0)){continue}break}}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<6){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+4|0]|D[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=((d<<8|d>>>8)&65535)<<2;if(e>>>0>>0){c=0;break a}a=c-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=D[a+6|0]|D[a+7|0]<<8;d=I(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>g>>>0){c=0;break a}if(d>>>0>g-a>>>0){c=0;break a}a=c-d|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Ce=l+16|0;return c}function $r(a,b){var c=0,d=J(0),e=0,f=J(0),g=0,h=0,i=0,j=0,k=J(0),l=0,m=0,n=0,o=0,p=J(0),q=0,r=0,s=0,t=J(0),u=0,v=0,w=J(0),x=J(0),y=0;o=Ce-16|0;Ce=o;if(b){G[o>>2]=C[b>>2];G[o+4>>2]=C[b+4>>2];G[o+8>>2]=C[b+8>>2];G[o+12>>2]=C[b+12>>2];b=o}else{b=0}g=Ce+-64|0;Ce=g;a:{if(!(C[a>>2]==422389?a:0)){C[g>>2]=9675;Qe(19745,g);break a}b:{if(b){k=G[b+12>>2];p=G[b+8>>2];d=G[b>>2];f=G[b+4>>2];break b}k=J(H[a+256>>3]/+G[a+372>>2]);p=J(H[a+248>>3]/+G[a+368>>2]);f=J(0)}G[g+52>>2]=f;k=J(J(f+k)+J(-1));G[g+44>>2]=k;G[g+36>>2]=k;G[g+48>>2]=d;G[g+40>>2]=d;G[g+28>>2]=f;G[g+20>>2]=f;G[g+16>>2]=d;d=J(J(d+p)+J(-1));G[g+32>>2]=d;G[g+24>>2]=d;l=g+16|0;f=J(0);d=J(0);b=Ce-32|0;r=b;Ce=b;c:{if(!(C[a>>2]==422389?a:0)){C[r>>2]=9675;Qe(19745,r);break c}if(!l){C[r+16>>2]=6008;Qe(19745,r+16|0);break c}d:{e:{switch(C[a+396>>2]){case 0:e=bs(a,l);break d;case 2:w=G[a+372>>2];x=G[a+368>>2];q=Fe[C[94503]](160)|0;if(q){C[94507]=C[94507]+1}b=Fe[C[94503]](312)|0;if(b){C[94507]=C[94507]+1}v=b;if(!(!q|!b)){y=G[l>>2]==G[l+32>>2]?G[l+4>>2]==G[l+36>>2]:y;h=-4;e=q;while(1){p=f;k=d;c=(s<<3)+l|0;f=G[c+4>>2];d=J(x*G[c>>2]);G[e+24>>2]=d;f=J(w*f);G[e+12>>2]=f;G[e+4>>2]=f;G[e>>2]=d;t=J(w+f);G[e+28>>2]=t;G[e+20>>2]=t;t=J(x+d);G[e+16>>2]=t;G[e+8>>2]=t;c=h;h=c+4|0;f:{if(!s&y){break f}C[b+12>>2]=h;C[b>>2]=h;j=c+7|0;C[b+20>>2]=j;i=c+6|0;C[b+16>>2]=i;C[b+8>>2]=i;m=c+5|0;C[b+4>>2]=m;if(!s){n=n+6|0;b=b+24|0;break f}g:{if(f==p){if(d>k){C[b+40>>2]=j;C[b+32>>2]=j;C[b+28>>2]=h;C[b+44>>2]=c|2;c=c|1;C[b+36>>2]=c;C[b+24>>2]=c;break g}C[b+44>>2]=i;C[b+36>>2]=m;C[b+28>>2]=c;C[b+24>>2]=m;c=c|3;C[b+40>>2]=c;C[b+32>>2]=c;break g}if(d==k){if(f>p){C[b+40>>2]=h;C[b+32>>2]=h;C[b+28>>2]=m;C[b+44>>2]=c|3;c=c|2;C[b+36>>2]=c;C[b+24>>2]=c;break g}C[b+44>>2]=j;C[b+40>>2]=c;C[b+36>>2]=i;C[b+32>>2]=c;C[b+24>>2]=i;C[b+28>>2]=c|1;break g}if(f>p){h:{if(d>k){C[b+64>>2]=j;C[b+56>>2]=j;C[b+52>>2]=h;C[b+40>>2]=h;C[b+32>>2]=h;C[b+28>>2]=m;C[b+68>>2]=c|3;u=c|2;C[b+60>>2]=u;C[b+48>>2]=u;C[b+44>>2]=u;c=c|1;C[b+36>>2]=c;C[b+24>>2]=c;break h}C[b+60>>2]=i;C[b+56>>2]=i;C[b+48>>2]=m;C[b+40>>2]=c;C[b+36>>2]=m;C[b+32>>2]=m;C[b+28>>2]=c;C[b+24>>2]=h;C[b+68>>2]=c|2;c=c|3;C[b+64>>2]=c;C[b+52>>2]=c;C[b+44>>2]=c}n=n+18|0;b=b+72|0;break f}n=n+18|0;u=b+72|0;i:{if(d>k){C[b+64>>2]=i;C[b+56>>2]=i;C[b+52>>2]=j;C[b+40>>2]=j;C[b+36>>2]=c;C[b+32>>2]=j;C[b+28>>2]=h;C[b+24>>2]=c;C[b+68>>2]=c|2;c=c|1;C[b+60>>2]=c;C[b+48>>2]=c;C[b+44>>2]=c;break i}C[b+64>>2]=c;C[b+60>>2]=j;C[b+56>>2]=c;C[b+52>>2]=i;C[b+48>>2]=j;C[b+44>>2]=c;C[b+36>>2]=i;C[b+28>>2]=m;C[b+24>>2]=i;C[b+68>>2]=c|3;c=c|1;C[b+40>>2]=c;C[b+32>>2]=c}b=u;break f}n=n+12|0;b=b+48|0}e=e+32|0;s=s+1|0;if((s|0)!=5){continue}break}e=as(a,0,q,a+420|0,0,0,20,v,n,J(1),J(1))}if(q){Fe[C[94506]](q);C[94507]=C[94507]-1}if(v){Fe[C[94506]](v);C[94507]=C[94507]-1}break d;default:break e}}if(!(G[a+368>>2]==J(1)&G[a+372>>2]==J(1))){e=bs(a,l);break d}b=xk(a,6,0);if(b){e=Fe[C[a+32>>2]](a,b,l,5)|0;if((e|0)<0){C[b>>2]=0}}else{e=-1}}if(C[a+432>>2]|(e|0)<0){break c}b=C[a+436>>2];if(!b){break c}Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Ce=r+32|0}Ce=g- -64|0;Ce=o+16|0}function Wn(a){var b=0,c=0,d=0,e=0,f=0;d=Ce-32|0;Ce=d;if(E[208766]){a:{b:{c:{d:{e:{if(!C[94460]){break e}if(C[94459]!=(a|0)?a:0){break d}f=1;if(C[94461]){break e}f:{b=C[94463];if(!b){break f}if((Fe[b|0](417528)|0)>=0){break f}f=0;if(!cg(24518,0)){break e}c=C[94457];C[105620]=128;C[105619]=422496;b=34979;g:{if(!C[105618]){break g}b=C[105619]}C[d+20>>2]=b;C[d+16>>2]=c;Tg(34385,d+16|0);break e}C[94461]=1;b=0;c=C[94457];h:{e=C[104379];if((e|0)<=0){break h}while(1){if(uf(C[C[104380]+(b<<2)>>2],c)){b=b+1|0;e=C[104379];if((b|0)<(e|0)){continue}break h}break}break e}b=Sf(C[104380],(e<<2)+4|0);if(!b){break e}C[104380]=b;e=C[104379];C[104379]=e+1;C[b+(e<<2)>>2]=c}if(!C[94440]){break a}if(!a){break b}break c}if(!C[94440]){break a}}if(C[94439]!=(a|0)){break a}}i:{if(C[94441]){break i}j:{a=C[94443];if(!a){break j}if((Fe[a|0](417528)|0)>=0){break j}if(!cg(24518,0)){break a}b=C[94437];C[105620]=128;C[105619]=422496;a=34979;k:{if(!C[105618]){break k}a=C[105619]}C[d+4>>2]=a;C[d>>2]=b;Tg(34385,d);break a}C[94441]=1;a=0;b=C[94437];c=C[104379];if((c|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],b)){break i}a=a+1|0;c=C[104379];if((a|0)<(c|0)){continue}break}}a=Sf(C[104380],(c<<2)+4|0);if(!a){break i}C[104380]=a;c=C[104379];C[104379]=c+1;C[a+(c<<2)>>2]=b}f=f+1|0}a=C[94459];b=C[94461];if(!(!(b?(a|0)==3:0)&(!C[94441]|C[94439]!=3))){a=0;b=C[104379];l:{if((b|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],27453)){break l}a=a+1|0;b=C[104379];if((a|0)<(b|0)){continue}break}}a=Sf(C[104380],(b<<2)+4|0);if(!a){break l}C[104380]=a;b=C[104379];C[104379]=b+1;C[a+(b<<2)>>2]=27453}bk(27453);b=C[94461];a=C[94459]}if(!(!(b?(a|0)==4:0)&(!C[94441]|C[94439]!=4))){a=0;b=C[104379];m:{if((b|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],25896)){break m}a=a+1|0;b=C[104379];if((a|0)<(b|0)){continue}break}}a=Sf(C[104380],(b<<2)+4|0);if(!a){break m}C[104380]=a;b=C[104379];C[104379]=b+1;C[a+(b<<2)>>2]=25896}bk(27607);b=C[94461];a=C[94459]}if(!(!(b?(a|0)==5:0)&(!C[94441]|C[94439]!=5))){a=0;b=C[104379];n:{if((b|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],26362)){break n}a=a+1|0;b=C[104379];if((a|0)<(b|0)){continue}break}}a=Sf(C[104380],(b<<2)+4|0);if(!a){break n}C[104380]=a;b=C[104379];C[104379]=b+1;C[a+(b<<2)>>2]=26362}bk(26362);b=C[94461];a=C[94459]}if(!(!(b?(a|0)==10:0)&(!C[94441]|C[94439]!=10))){a=0;b=C[104379];o:{if((b|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],23839)){break o}a=a+1|0;b=C[104379];if((a|0)<(b|0)){continue}break}}a=Sf(C[104380],(b<<2)+4|0);if(!a){break o}C[104380]=a;b=C[104379];C[104379]=b+1;C[a+(b<<2)>>2]=23839}bk(23839);b=C[94461];a=C[94459]}if(!(!(b?(a|0)==6:0)&(!C[94441]|C[94439]!=6))){a=0;b=C[104379];p:{if((b|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],29495)){break p}a=a+1|0;b=C[104379];if((a|0)<(b|0)){continue}break}}a=Sf(C[104380],(b<<2)+4|0);if(!a){break p}C[104380]=a;b=C[104379];C[104379]=b+1;C[a+(b<<2)>>2]=29495}bk(29495);b=C[94461];a=C[94459]}if(!(!(b?(a|0)==8:0)&(!C[94441]|C[94439]!=8))){a=0;b=C[104379];q:{if((b|0)>0){while(1){if(!uf(C[C[104380]+(a<<2)>>2],28466)){break q}a=a+1|0;b=C[104379];if((a|0)<(b|0)){continue}break}}a=Sf(C[104380],(b<<2)+4|0);if(!a){break q}C[104380]=a;b=C[104379];C[104379]=b+1;C[a+(b<<2)>>2]=28466}bk(28466)}a=(f|0)>0}else{a=0}Ce=d+32|0;return a}function yC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=J(0),h=0,i=0,k=0,m=0,p=J(0),q=0,r=0,s=0,t=0,u=J(0),v=0,w=0,x=0,y=0,z=J(0),A=J(0),B=0,D=0,E=0,F=0,I=0,L=J(0),M=0,N=0;m=C[b+20>>2];h=C[b+8>>2];k=C[a+28>>2];i=k<<2;q=h+i|0;if(!C[q>>2]){h=C[m+4>>2];s=C[b>>2];a=C[i+C[C[C[a+64>>2]+4>>2]+28>>2]>>2];i=(a|0)/2|0;M=q,N=kf((i<<2)+4|0),C[M>>2]=N;a:{if((a|0)<=1){h=C[b+8>>2];q=C[h+(k<<2)>>2];a=0;break a}g=J(J(h|0)*J(.5));e=+J(+(s|0)/(Zj(+J(g*J(.0007399999885819852)))*13.100000381469727+Zj(+J(J(g*g)*J(1.8499999754340024e-8)))*2.240000009536743+ +J(g*J(9999999747378752e-20))));p=J(g/J(i|0));h=C[b+8>>2];q=C[h+(k<<2)>>2];a=0;while(1){x=(a<<2)+q|0;g=J(p*J(a|0));f=O((Zj(+J(g*J(.0007399999885819852)))*13.100000381469727+Zj(+J(J(g*g)*J(1.8499999754340024e-8)))*2.240000009536743+ +J(g*J(9999999747378752e-20)))*e);b:{if(K(f)<2147483648){s=~~f;break b}s=-2147483648}r=C[b>>2];C[x>>2]=(s|0)<(r|0)?s:r-1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}a=i}C[(a<<2)+q>>2]=-1;C[((k<<2)+b|0)+12>>2]=i}if(c){a=k<<2;q=C[a+h>>2];s=C[(a+b|0)+12>>2];k=C[b>>2];a=C[b+4>>2];i=a;g=G[(a<<2)+c>>2];p=J(C[m+16>>2]);a=0;h=0;c:{if((i|0)<=0){break c}if((i|0)!=1){b=i&-2;while(1){m=a<<2;r=m+c|0;e=ph(+G[r>>2]);G[r>>2]=e+e;m=(m|4)+c|0;e=ph(+G[m>>2]);G[m>>2]=e+e;a=a+2|0;h=h+2|0;if((b|0)!=(h|0)){continue}break}}if(!(i&1)){break c}a=(a<<2)+c|0;e=ph(+G[a>>2]);G[a>>2]=e+e}if((s|0)>0){A=J(3.141592653589793/+(k|0));m=i|1;B=((i<<2)+c|0)-4|0;y=i-2|0;a=(y>>>1|0)+1|0;D=a&-2;E=a&1;F=+p;I=+g;a=0;while(1){b=a<<2;r=C[b+q>>2];e=ph(+J(A*J(r|0)));g=J(e+e);u=J(.5);p=J(.5);b=b+d|0;x=b;L=G[b>>2];k=0;b=1;d:{if((i|0)<2){break d}t=0;h=1;if(y>>>0>=2){while(1){b=(h<<2)+c|0;u=J(J(u*J(g-G[b>>2]))*J(g-G[b+8>>2]));p=J(J(p*J(g-G[b-4>>2]))*J(g-G[b+4>>2]));h=h+4|0;t=t+2|0;if((D|0)!=(t|0)){continue}break}}b=m;if(!E){break d}b=(h<<2)+c|0;u=J(u*J(g-G[b>>2]));p=J(p*J(g-G[b-4>>2]));b=m}e:{if((b|0)==(i|0)){z=J(J(4)-J(g*g));g=J(p*J(g-G[B>>2]));g=J(g*g);break e}z=J(J(2)-g);g=J(p*J(J(g+J(2))*p))}e=(I/R(+J(g+J(u*J(u*z))))-F)*.1151292473077774;o(+e);b=j(1)|0;j(0)|0;f:{g:{h:{b=b>>>20&2047;if(b-969>>>0<63){k=b;break h}f=e+1;if(b>>>0<969){break f}if(b>>>0<1033){break h}o(+e);k=j(1)|0;f=0;if(!(j(0)|0)&(k|0)==-1048576){break g}f=e+1;if(b>>>0>=2047){break f}if((k|0)<0){b=Ce-16|0;H[b+8>>3]=12882297539194267e-247;f=H[b+8>>3]*12882297539194267e-247;break f}b=Ce-16|0;H[b+8>>3]=3105036184601418e216;f=H[b+8>>3]*3105036184601418e216;break f}f=H[45397];v=H[45396]*e+f;f=v-f;e=f*H[45399]+(f*H[45398]+e);f=e*e;w=f*f*(e*H[45403]+H[45402]);f=f*(e*H[45401]+H[45400]);o(+v);j(1)|0;t=j(0)|0;b=t<<4&2032;e=w+(f+(H[b+363280>>3]+e));h=b+363288|0;b=C[h>>2];h=C[h+4>>2]+(t<<13)|0;if(!k){i:{if(!(t&-2147483648)){l(0,b|0);l(1,h-1058013184|0);f=+n();f=(f*e+f)*5486124068793689e288;break i}l(0,b|0);l(1,h+1071644672|0);f=+n();v=f*e;e=v+f;if(e<1){b=Ce-16|0;C[b+8>>2]=0;C[b+12>>2]=1048576;H[b+8>>3]=H[b+8>>3]*22250738585072014e-324;w=e+1;e=w+(v+(f-e)+(e+(1-w)))+-1;e=e==0?0:e}f=e*22250738585072014e-324}break f}l(0,b|0);l(1,h|0);f=+n();f=f*e+f}}g=J(f);G[x>>2]=L*g;a=a+1|0;if((r|0)==C[q+(a<<2)>>2]){while(1){b=(a<<2)+d|0;G[b>>2]=G[b>>2]*g;a=a+1|0;if((r|0)==C[q+(a<<2)>>2]){continue}break}}if((a|0)<(s|0)){continue}break}}return 1}We(d,0,C[((k<<2)+b|0)+12>>2]<<2);return 0}function Bk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-80|0;Ce=j;a:{b:{f=hh(b,44);c:{if(!f){break c}i=f+1|0;g=hh(i,44);if(!g){break c}g=g-f|0;f=g;f=Fe[C[94503]](f>>>0<=1?1:f)|0;if(f){C[94507]=C[94507]+1}if(f){break b}_e(0)}C[j>>2]=b;Qe(8270,j);break a}gf(f,i,g);A[(f+g|0)-1|0]=0;d:{g=hh(b,44);e:{if(!g){break e}g=hh(g+1|0,44);if(!g){break e}g=Og(g+1|0);if(g){break d}}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}C[j+16>>2]=b;Qe(8326,j+16|0);break a}b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);C[j+32>>2]=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[j+36>>2]=b;b=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);C[j+24>>2]=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);C[j+28>>2]=b;f:{g:{h:{e=C[104754];if(e){while(1){if(!qg(j+24|0,e,16)){break h}e=C[e+28>>2];if(e){continue}break}}e=Fe[C[94503]](32)|0;if(e){C[94507]=C[94507]+1}if(e){break g}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}e=0;_e(0);break a}if(F[e+24>>2]<=d>>>0){a=C[e+16>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[e+16>>2]=f;a=C[e+20>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[e+24>>2]=d;C[e+20>>2]=g;a=1;b=C[104761];if(!b){break f}while(1){if(!qg(C[b>>2]+16|0,e,16)){f=C[e+16>>2];l=C[e+20>>2];d=0;h=Ce-96|0;Ce=h;C[b+12>>2]=0;C[b+8>>2]=f;f=C[C[b>>2]+36>>2];if(f){lf(C[b+20>>2],0,f<<2)}lf(h- -64|0,0,20);lf(h+32|0,0,20);i:{j:{if(!l){break j}i=1;while(1){f=0;g=0;k:{l:{m:{n:{o:{k=D[l|0];switch(k-32|0){case 26:break k;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 l;case 0:break n;case 12:break o;default:break m}}d=h- -64|0;f=h+32|0;et(b,d,f);lf(d,0,20);lf(f,0,20);f=1;break k}f=i;g=d;break k}if(!k){break j}}if(i){if(d>>>0>=20){C[h+16>>2]=h- -64;Qe(8894,h+16|0);break i}A[(h- -64|0)+d|0]=k;f=1;g=d+1|0;break k}if(d>>>0>=20){C[h>>2]=h+32;Qe(8859,h);break i}A[(h+32|0)+d|0]=k;g=d+1|0}l=l+1|0;d=g;i=f;continue}}if(!(D[h+64|0]|D[h+32|0])){break i}et(b,h- -64|0,h+32|0)}f=C[b+12>>2];if((f|0)>0){g=C[b+16>>2];l=0;while(1){d=g+(l<<5)|0;p:{if(C[d>>2]!=2|C[d+16>>2]!=2|(C[d+20>>2]&-2)!=4){break p}k=C[d+4>>2];i=C[b>>2];if((k|0)>=C[i+36>>2]){break p}i=C[i+40>>2];m=i+I(k,24)|0;k=E[d+8>>1];B[m+4>>1]=k;B[(i+I(C[d+4>>2],24)|0)+2>>1]=k}l=l+1|0;if((f|0)!=(l|0)){continue}break}}Ce=h+96|0;C[j+24>>2]=1621;C[j+32>>2]=C[C[b>>2]>>2];Df(j+24|0)}b=C[b+32>>2];if(b){continue}break}break f}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}a=1;break f}b=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);i=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);A[e|0]=i;A[e+1|0]=i>>>8;A[e+2|0]=i>>>16;A[e+3|0]=i>>>24;A[e+4|0]=b;A[e+5|0]=b>>>8;A[e+6|0]=b>>>16;A[e+7|0]=b>>>24;b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);A[e+8|0]=a;A[e+9|0]=a>>>8;A[e+10|0]=a>>>16;A[e+11|0]=a>>>24;A[e+12|0]=b;A[e+13|0]=b>>>8;A[e+14|0]=b>>>16;A[e+15|0]=b>>>24;a=0;C[e+28>>2]=0;C[e+20>>2]=g;C[e+16>>2]=f;C[e+24>>2]=d;b=C[104754];if(b){while(1){a=b;b=C[a+28>>2];if(b){continue}break}C[a+28>>2]=e;a=0;break f}C[104754]=e}C[c>>2]=a}Ce=j+80|0;return e}function Am(a,b,c,d,e){var 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;i=Ce-48|0;Ce=i;j=C[a+11748>>2]==2;n=j?a+11760|0:a+11776|0;m=C[n+4>>2];s=1;h=(j?11760:11776)+a|0;o=C[h>>2];k=C[c>>2];f=C[c+4>>2];a:{if(!((o|0)!=(k|0)|(f|0)!=(m|0))){j=0;break a}g=C[d>>2];t=j?a+11752|0:a+11768|0;p=C[t+4>>2];q=o;o=(j?11752:11768)+a|0;j=C[o>>2];d=C[d+4>>2];u=(d-f|0)+16>>5;q=Te((q-j|0)+16>>5,u);r=(m-p|0)+16>>5;m=(g-k|0)+16>>5;r=Te(r,m);if((q|0)==(r|0)){j=0;break a}l=Ze(Te((k-j|0)+16>>5,u)-Te((f-p|0)+16>>5,m)|0,q-r|0);j=C[o>>2];j=Te(l,C[h>>2]-j|0)+j|0;m=C[t+4>>2];k=Te(l,C[n+4>>2]-m|0);l=C[o>>2];p=C[h>>2];if((l|0)==(p|0)){o=j-l|0;f=o>>31;j=C[a+11700>>2]>((f^o)-f|0)?l:j}l=k+m|0;f=C[t+4>>2];m=C[n+4>>2];if((f|0)==(m|0)){k=l-f|0;n=k>>31;l=C[a+11700>>2]>((k^n)-n|0)?f:l}n=C[c>>2];if((n|0)==(g|0)){k=j-g|0;f=k>>31;j=C[a+11700>>2]>((f^k)-f|0)?g:j}f=C[c+4>>2];if((f|0)==(d|0)){k=l-d|0;g=k>>31;l=C[a+11700>>2]>((g^k)-g|0)?d:l}g=((n+p|0)/-2|0)+j|0;d=g>>31;d=(d^g)-d|0;g=C[a+11696>>2];if((d|0)>(g|0)){break a}f=((f+m|0)/-2|0)+l|0;d=f>>31;if(((d^f)-d|0)>(g|0)){break a}C[h>>2]=j;C[h+4>>2]=l;s=0}h=C[a+11732>>2];d=C[a+11728>>2];C[i+8>>2]=d;C[i+12>>2]=h;b:{c:{d:{switch(C[a+11748>>2]-2|0){case 0:C[i+40>>2]=2;e:{if(e){f=C[a+11764>>2];g=Te(C[a+11644>>2],C[a+11760>>2])+Te(C[a+11648>>2],f)|0;f=Nh(a+3876|0,f);break e}f=C[a+11764>>2];g=Te(C[a+11644>>2],C[a+11760>>2])+Te(C[a+11648>>2],f)|0;f=Nh(b,f)}n=Te(C[C[a>>2]+60>>2],g);m=Te(C[C[a>>2]+68>>2],f);k=C[a+11656>>2];g=(Te(C[C[a>>2]- -64>>2],g)+Te(C[C[a>>2]+72>>2],f)|0)+C[a+11660>>2]|0;C[i+20>>2]=g;f=k+(m+n|0)|0;C[i+16>>2]=f;if((d|0)==(f|0)&(g|0)==(h|0)){break b}g=i+16|0;d=C[a+4>>2];h=d+4|0;break c;case 2:break d;default:break b}}C[i+40>>2]=4;d=C[a+11764>>2];h=Te(C[a+11644>>2],C[a+11760>>2]);g=Te(C[a+11648>>2],d);d=Nh(b,d);h=g+h|0;v=i,w=(Te(C[C[a>>2]+60>>2],h)+Te(C[C[a>>2]+68>>2],d)|0)+C[a+11656>>2]|0,C[v+16>>2]=w;f=Te(C[C[a>>2]- -64>>2],h)+Te(C[C[a>>2]+72>>2],d)|0;d=a+11660|0;C[i+20>>2]=f+C[d>>2];h=C[a+11772>>2];g=Te(C[a+11644>>2],C[a+11768>>2]);f=Te(C[a+11648>>2],h);h=Nh(b,h);g=g+f|0;v=i,w=(Te(C[C[a>>2]+60>>2],g)+Te(C[C[a>>2]+68>>2],h)|0)+C[a+11656>>2]|0,C[v+24>>2]=w;v=i,w=(Te(C[C[a>>2]- -64>>2],g)+Te(C[C[a>>2]+72>>2],h)|0)+C[d>>2]|0,C[v+28>>2]=w;h=C[a+11780>>2];g=Te(C[a+11644>>2],C[a+11776>>2]);f=Te(C[a+11648>>2],h);h=Nh(b,h);g=g+f|0;v=i,w=(Te(C[C[a>>2]+60>>2],g)+Te(C[C[a>>2]+68>>2],h)|0)+C[a+11656>>2]|0,C[v+32>>2]=w;v=i,w=(Te(C[C[a>>2]- -64>>2],g)+Te(C[C[a>>2]+72>>2],h)|0)+C[d>>2]|0,C[v+36>>2]=w;g=i+32|0;d=C[a+4>>2];h=d+12|0}Fe[C[h>>2]](d,i+8|0);d=C[g+4>>2];C[a+11728>>2]=C[g>>2];C[a+11732>>2]=d}f:{if(e|s){g:{if(e){b=C[c+4>>2];e=Te(C[a+11644>>2],C[c>>2])+Te(C[a+11648>>2],b)|0;b=Nh(a+3876|0,b);break g}d=C[c+4>>2];e=Te(C[a+11644>>2],C[c>>2])+Te(C[a+11648>>2],d)|0;b=Nh(b,d)}v=i,w=(Te(C[C[a>>2]+60>>2],e)+Te(C[C[a>>2]+68>>2],b)|0)+C[a+11656>>2]|0,C[v+16>>2]=w;b=(Te(C[C[a>>2]- -64>>2],e)+Te(C[C[a>>2]+72>>2],b)|0)+C[a+11660>>2]|0;C[i+20>>2]=b;if(!(C[i+16>>2]==C[a+11728>>2]&(b|0)==C[a+11732>>2])){C[i+40>>2]=2;b=C[a+11732>>2];C[i+8>>2]=C[a+11728>>2];C[i+12>>2]=b;b=C[a+4>>2];Fe[C[b+4>>2]](b,i+8|0);b=C[i+20>>2];C[a+11728>>2]=C[i+16>>2];C[a+11732>>2]=b}if(s){break f}}C[c>>2]=j;C[c+4>>2]=l}Ce=i+48|0}function gi(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,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!a){break a}f=C[a>>2];if(!f){break a}e=C[b>>2];o=D[e+5|0];l=C[b+12>>2];p=C[b+8>>2];j=D[e+26|0];r=D[e+18|0]|D[e+19|0]<<8|(D[e+20|0]<<16|D[e+21|0]<<24);n=D[e+14|0]|D[e+15|0]<<8|(D[e+16|0]<<16|D[e+17|0]<<24);s=D[e+6|0]|D[e+7|0]<<8|(D[e+8|0]<<16|D[e+9|0]<<24);t=D[e+10|0]|D[e+11|0]<<8|(D[e+12|0]<<16|D[e+13|0]<<24);g=D[e+4|0];b=C[a+36>>2];i=C[a+12>>2];if(i){d=C[a+8>>2];c=d-i|0;C[a+8>>2]=c;if((d|0)!=(i|0)){Yf(f,f+i|0,c)}C[a+12>>2]=0}if(b){d=b;f=C[a+28>>2];if((b|0)!=(f|0)){c=C[a+16>>2];Yf(c,c+(b<<2)|0,f-b<<2);c=C[a+20>>2];Yf(c,c+(b<<3)|0,C[a+28>>2]-b<<3);d=C[a+28>>2]}C[a+36>>2]=0;C[a+28>>2]=d-b;C[a+32>>2]=C[a+32>>2]-b}if(g|(n|0)!=C[a+336>>2]){break a}b:{c:{c=C[a+24>>2];b=j+1|0;if(C[a+28>>2]>=(c-b|0)){if((c|0)>(b^2147483647)){break c}b=b+c|0;c=(b|0)<2147483615?b+32|0:b;b=mf(C[a+16>>2],c<<2);if(!b){break c}C[a+16>>2]=b;b=mf(C[a+20>>2],c<<3);if(!b){break c}C[a+24>>2]=c;C[a+20>>2]=b}b=0;break b}b=C[a>>2];if(b){Re(b)}b=C[a+16>>2];if(b){Re(b)}b=C[a+20>>2];if(b){Re(b)}We(a,0,360);b=-1}if(b){break a}q=o&1;i=C[a+340>>2];d:{if((i|0)==(r|0)){break d}k=C[a+28>>2];c=C[a+32>>2];if((k|0)>(c|0)){n=k+(c^-1)|0;b=C[a+8>>2];m=C[a+16>>2];f=k-c&3;e:{if(!f){d=c;break e}g=c;while(1){b=b-D[m+(g<<2)|0]|0;d=g+1|0;g=d;h=h+1|0;if((h|0)!=(f|0)){continue}break}}if(n>>>0>=3){while(1){g=b;b=m+(d<<2)|0;b=g-(((D[b|0]+D[b+4|0]|0)+D[b+8|0]|0)+D[b+12|0]|0)|0;d=d+4|0;if((k|0)!=(d|0)){continue}break}}C[a+8>>2]=b}C[a+28>>2]=c;if((i|0)==-1){break d}b=c+1|0;C[a+28>>2]=b;C[C[a+16>>2]+(c<<2)>>2]=1024;C[a+32>>2]=b}b=o&2;d=0;f:{if(!q){break f}c=C[a+28>>2];if((c|0)>0&C[(C[a+16>>2]+(c<<2)|0)-4>>2]!=1024){break f}b=0;if(!j){break f}while(1){d=b+1|0;b=D[(b+e|0)+27|0];l=l-b|0;p=b+p|0;if((b|0)!=255){b=0;break f}b=d;if((j|0)!=(b|0)){continue}break}b=0;d=j}if(l){g:{h:{c=C[a+4>>2];if(C[a+8>>2]>=(c-l|0)){if((c|0)>(l^2147483647)){break h}c=c+l|0;h=(c|0)<2147482623?c+1024|0:c;c=mf(C[a>>2],h);if(!c){break h}C[a>>2]=c;C[a+4>>2]=h}c=0;break g}c=C[a>>2];if(c){Re(c)}c=C[a+16>>2];if(c){Re(c)}c=C[a+20>>2];if(c){Re(c)}We(a,0,360);c=-1}if(c){break a}jf(C[a>>2]+C[a+8>>2]|0,p,l);C[a+8>>2]=C[a+8>>2]+l}q=o&4;i:{if((d|0)>=(j|0)){break i}k=C[a+20>>2];m=C[a+16>>2];f=C[a+28>>2];h=m+(f<<2)|0;i=d+e|0;g=D[i+27|0];C[h>>2]=g;c=k+(f<<3)|0;C[c>>2]=-1;C[c+4>>2]=-1;if(b){C[h>>2]=g|256}h=f+1|0;if((g|0)==255){c=-1}else{C[a+32>>2]=h;c=f}C[a+28>>2]=h;g=d+1|0;j:{if((j|0)==(g|0)){break j}n=j-2|0;k:{if(!((d^-1)+j&1)){b=h;break k}g=D[i+28|0];C[m+(h<<2)>>2]=g;b=k+(h<<3)|0;C[b>>2]=-1;C[b+4>>2]=-1;b=f+2|0;if((g|0)!=255){C[a+32>>2]=b;c=h}C[a+28>>2]=b;g=d+2|0}if((d|0)==(n|0)){break j}while(1){f=e+g|0;h=D[f+27|0];C[m+(b<<2)>>2]=h;d=k+(b<<3)|0;C[d>>2]=-1;C[d+4>>2]=-1;d=b+1|0;if((h|0)!=255){C[a+32>>2]=d;c=b}C[a+28>>2]=d;f=D[f+28|0];C[m+(d<<2)>>2]=f;h=k+(d<<3)|0;C[h>>2]=-1;C[h+4>>2]=-1;b=b+2|0;if((f|0)!=255){C[a+32>>2]=b;c=d}C[a+28>>2]=b;g=g+2|0;if((j|0)!=(g|0)){continue}break}}if((c|0)==-1){break i}b=C[a+20>>2]+(c<<3)|0;C[b>>2]=s;C[b+4>>2]=t}l:{if(!q){break l}C[a+328>>2]=1;b=C[a+28>>2];if((b|0)<=0){break l}b=(C[a+16>>2]+(b<<2)|0)-4|0;C[b>>2]=C[b>>2]|512}C[a+340>>2]=r+1}}function Tx(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,o=0;h=Ce-272|0;Ce=h;a:{b:{c:{c=D[a+2|0]|D[a+3|0]<<8;j=(c<<8|c>>>8)&65535;switch(j|0){case 0:break a;case 1:break c;default:break b}}a=D[a|0]|D[a+1|0]<<8;Wx(b,(a<<8|a>>>8)&65535);m=1;break a}C[h+268>>2]=0;C[h+264>>2]=0;m=el(b,j,a+4|0,724,0,h+264|0,h,h+268|0);if(!m){break a}a=D[a|0]|D[a+1|0]<<8;i=(a<<8|a>>>8)&65535;f=C[h+268>>2];a=b;d=C[a+100>>2];b=C[h+264>>2];if(b>>>0>=2){c=C[d+76>>2];eg(d,c,b+c|0)}c=1;b=C[d+92>>2];e=E[(b+I(C[h>>2],20)|0)+12>>1];n=!(e&8);e=!(e&2);d:{if(j>>>0<=1){break d}while(1){if(D[(b+I(C[(c<<2)+h>>2],20)|0)+12|0]&8){c=c+1|0;if((j|0)!=(c|0)){continue}break d}break}n=1;e=1}l=e&n;if(l){c=C[d+104>>2];while(1){e=c&7;c=c+1|0;if(!e){continue}break}C[d+104>>2]=c;o=e<<5}b=b+I(C[d+76>>2],20)|0;e=D[b+14|0];g=e&16?e&15:1;k=D[b+12|0]&4;e:{f:{g:{if(l){A[b+14|0]=f&15|o|16;b=C[d+92>>2]+I(C[d+76>>2],20)|0;c=E[b+16>>1];if((c&31)==12){B[b+16>>1]=c&224|7}c=C[a+100>>2];b=(C[c+92>>2]+I(C[c+76>>2],20)|0)+12|0;if(D[a+140|0]){break g}f=52;if(l){break f}break e}c=C[a+100>>2];if(!D[a+140|0]){break e}b=(C[c+92>>2]+I(C[c+76>>2],20)|0)+12|0}f=eh(C[a+108>>2],i)|48}B[b>>1]=f;c=C[a+100>>2]}b=k?g:1;if($e(c,1,1)){a=C[c+76>>2];h:{if(a>>>0>2]){f=C[c+84>>2];g=C[c+96>>2];a=C[c+92>>2]+I(a,20)|0;break h}g=C[c+96>>2];f=C[c+84>>2];a=f-1|0;a=g+I(a>>>0<=f>>>0?a:0,20)|0}f=I(f,20)+g|0;g=C[a+4>>2];C[f>>2]=C[a>>2];C[f+4>>2]=g;C[f+16>>2]=C[a+16>>2];g=C[a+12>>2];C[f+8>>2]=C[a+8>>2];C[f+12>>2]=g;C[f>>2]=i;C[c+76>>2]=C[c+76>>2]+1;C[c+84>>2]=C[c+84>>2]+1}f=0-b|0;i:{if(j>>>0<2){a=b;break i}c=C[d+76>>2];g=1;a=b;while(1){j:{i=(g<<2)+h|0;if(F[i>>2]<=c>>>0){break j}if(l){f=b+f|0;while(1){if(!D[d+72|0]){break j}e=C[d+92>>2]+I(c,20)|0;c=D[e+14|0];c=c&16?0:c&15;c=c?c:a;A[e+14|0]=f+(a>>>0>c>>>0?c:a)&15|o;k:{if(D[d+73|0]){l:{if(C[d+96>>2]==C[d+92>>2]){c=C[d+84>>2];if((c|0)==C[d+76>>2]){break l}}if(!$e(d,1,1)){c=C[d+76>>2];break k}e=C[d+92>>2]+I(C[d+76>>2],20)|0;k=C[e+4>>2];c=C[d+96>>2]+I(C[d+84>>2],20)|0;C[c>>2]=C[e>>2];C[c+4>>2]=k;C[c+16>>2]=C[e+16>>2];k=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=k;c=C[d+84>>2]}C[d+84>>2]=c+1}c=C[d+76>>2]+1|0;C[d+76>>2]=c}if(F[i>>2]>c>>>0){continue}break}break j}if(!D[d+72|0]){break j}a=1;if(!D[d+73|0]){while(1){c=c+1|0;C[d+76>>2]=c;if(F[i>>2]>c>>>0){continue}break j}}while(1){m:{if(a&255){n:{if(C[d+96>>2]==C[d+92>>2]){a=c;if(C[d+84>>2]==(c|0)){break n}}if(!$e(d,1,1)){c=C[d+76>>2];break m}c=C[d+92>>2]+I(C[d+76>>2],20)|0;e=C[c+4>>2];a=C[d+96>>2]+I(C[d+84>>2],20)|0;C[a>>2]=C[c>>2];C[a+4>>2]=e;C[a+16>>2]=C[c+16>>2];e=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=e;c=C[d+76>>2];a=C[d+84>>2]}C[d+84>>2]=a+1}c=c+1|0;C[d+76>>2]=c}if(!D[d+72|0]|F[i>>2]<=c>>>0){break j}a=D[d+73|0];continue}}a=C[d+92>>2]+I(c,20)|0;f=E[a+12>>1];e=D[a+14|0];c=c+1|0;C[d+76>>2]=c;a=f&4?e&16?e&15:1:1;f=0-a|0;b=a+b|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}o:{if(!(e>>>0>31&n)){break o}c=C[d+76>>2];if(c>>>0>=F[d+80>>2]){break o}f=b+f|0;while(1){g=C[d+92>>2]+I(c,20)|0;b=D[g+14|0];if((b^e)>>>0>31|b&16){break o}b=b&15;if(!b){break o}A[g+14|0]=f+(a>>>0>>0?a:b)&15|o;c=c+1|0;if(c>>>0>2]){continue}break}}}Ce=h+272|0;return m}function bq(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,o=0,p=0,q=0;a:{if(F[b+4>>2]>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<2){break a}d=C[b+12>>2];f=d-2|0;C[b+12>>2]=f;if(!(D[a|0]|D[a+1|0]<<8)|(f|0)<=0){break a}f=a+4|0;if(f>>>0>g>>>0|g-f>>>0<4){break a}g=d-6|0;C[b+12>>2]=g;if((g|0)<=0){break a}c=1;g=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);n=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(!n){break a}f=a+8|0;while(1){g=0;b:{c:{h=C[b+4>>2];a=f+4|0;d:{if(h>>>0>a>>>0){break d}c=C[b+8>>2];if(a>>>0>c>>>0|c-a>>>0<4){break d}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break d}a=D[f+4|0]|D[f+5|0]<<8|(D[f+6|0]<<16|D[f+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<12|f>>>0>>0|(c>>>0>>0|a>>>0>c-f>>>0)){break d}a=d-a|0;C[b+12>>2]=a;if((a|0)<=0){break d}i=D[f+8|0]|D[f+9|0]<<8;d=I((i<<8|i>>>8)&65535,12);e=f+12|0;if(i){if(c>>>0>>0|d>>>0>c-e>>>0){break d}a=a-d|0;C[b+12>>2]=a;if((a|0)<=0){break d}}g=D[f+10|0]|D[f+11|0]<<8;a=1;if(!g){break b}a=(g<<8|g>>>8)&65535;q=a>>>0<=1?1:a;d=d+e|0;l=0;while(1){if(d>>>0>>0|c>>>0>>0){break c}g=c-d|0;if(g>>>0<2){break c}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break c}a=D[d|0]|D[d+1|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<9|a>>>0>g>>>0){break c}c=c-a|0;C[b+12>>2]=c;if((c|0)<=0){break c}g=0;c=C[b+32>>2];h=C[c+12>>2];c=h+C[c+16>>2]|0;h=h>>>0>d>>>0|c>>>0<=d>>>0;C[b+4>>2]=h?0:d;c=c-d|0;C[b+8>>2]=h?0:(a>>>0>c>>>0?c:a)+d|0;h=Ce-16|0;Ce=h;a=1;e:{f:{switch(D[d+3|0]){case 0:a=Pp(d+8|0,b);break e;case 1:a=0;C[h+12>>2]=0;o=d+8|0;if(!Sy(o,b,h+12|0)){break e}C[h+8>>2]=0;c=C[b+4>>2];e=d+16|0;g:{h:{if(c>>>0>e>>>0){break h}i=C[b+8>>2];if(i>>>0>>0|i-e>>>0<2){break h}m=C[b+12>>2]-2|0;C[b+12>>2]=m;if((m|0)<=0){break h}k=C[h+8>>2];if(k>>>0>2147483646){break h}j=1;if(!k){break g}j=c;c=D[e|0]|D[e+1|0]<<8;c=o+((c<<8|c>>>8)&65535)|0;if(j>>>0>c>>>0|c>>>0>i>>>0){break h}e=k<<1;if(e>>>0>i-c>>>0){break h}a=m-e|0;C[b+12>>2]=a;i:{if((a|0)<=0){break i}e=0;while(1){a=c+(e<<1)|0;if(a>>>0>2]){break i}i=C[b+8>>2];if(i>>>0>>0|i-a>>>0<2){break i}i=C[b+12>>2]-2|0;C[b+12>>2]=i;if((i|0)<=0){break i}a=D[a|0]|D[a+1|0]<<8;if(!Oh(c+((a<<8|a>>>8)&65535)|0,b)){break i}a=1;e=e+1|0;if((k|0)!=(e|0)){continue}break}break h}a=0}j=a}a=j;break e;case 2:a=0;c=d+8|0;if(c>>>0>2]){break e}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<28){break e}e=C[b+12>>2]-28|0;C[b+12>>2]=e;if((e|0)<=0){break e}if(!Pp(c,b)|!(D[d+16|0]|D[d+17|0]<<8)|!(D[d+18|0]|D[d+19|0]<<8)){break e}a=(D[d+20|0]|D[d+21|0]<<8)!=0;break e;case 4:a=Oh(d+8|0,b);break e;case 5:break f;default:break e}}a=0;c=d+8|0;if(c>>>0>2]){break e}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<20){break e}e=C[b+12>>2]-20|0;C[b+12>>2]=e;if((e|0)<=0){break e}if(!Sy(c,b,0)){break e}a=(D[d+16|0]|D[d+17|0]<<8)!=0}Ce=h+16|0;c=C[b+32>>2];h=C[c+12>>2];C[b+4>>2]=h;c=C[c+16>>2]+h|0;C[b+8>>2]=c;if(!a){break d}a=D[d|0]|D[d+1|0]<<8;d=((a<<8|a>>>8)&65535)+d|0;g=1;l=l+1|0;if((q|0)!=(l|0)){continue}break}}a=g;break b}a=0}c=a;if(!c){break a}a=D[f+4|0]|D[f+5|0]<<8|(D[f+6|0]<<16|D[f+7|0]<<24);f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0;p=p+1|0;if((p|0)!=(n|0)){continue}break}}return c}function Ay(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ce-416|0;Ce=h;d=-131;j=C[a+88>>2];a:{if((j|0)<2){break a}if(!C[a+4>>2]){d=-138;break a}if((c|0)<0){break a}e=C[a+20>>2];if(b>>>0>F[a+16>>2]&(c|0)>=(e|0)|(c|0)>(e|0)){break a}b:{if(j>>>0<3){break b}j=C[a+56>>2];i=C[a+96>>2];d=j+(i<<3)|0;e=C[d>>2];d=C[d+4>>2];if((d|0)<=(c|0)&b>>>0>=e>>>0|(c|0)>(d|0)){e=j+(i<<3)|0;d=C[e+12>>2];if(b>>>0>2]&(c|0)<=(d|0)|(c|0)<(d|0)){break b}}Qh(a+480|0);xi(a+592|0);C[a+88>>2]=2}C[a+80>>2]=-1;C[a+84>>2]=-1;k=a+120|0;Xi(k,C[a+92>>2]);n=a+480|0;Bq(n);c:{d:{e=C[a>>2];if(!e){break d}if(C[a+8>>2]!=(b|0)|C[a+12>>2]!=(c|0)){d=C[a+708>>2];if(!d){break d}if((Fe[d|0](e,b,c,0)|0)==-1){break d}C[a+8>>2]=b;C[a+12>>2]=c;if(C[a+28>>2]>=0){C[a+32>>2]=0;C[a+36>>2]=0;C[a+48>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0}}b=h+56|0;Fx(b,C[a+92>>2]);j=a+592|0;if(!(!b|!C[b>>2])){C[b+344>>2]=0;C[b+348>>2]=0;C[b+340>>2]=-1;C[b+332>>2]=0;C[b+324>>2]=0;C[b+328>>2]=0;C[b+36>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+352>>2]=0;C[b+356>>2]=0}while(1){e:{if(C[a+88>>2]<3){break e}if((zh(h+56|0,h+8|0)|0)<=0){break e}b=C[a+72>>2]+(C[a+96>>2]<<5)|0;if(C[b+28>>2]){b=lq(b,h+8|0);f:{if((b|0)<0){zh(k,0);b=0;break f}g:{if(!(g|!p)){zh(k,0);break g}if(!f){break g}o=(b+f>>>2|0)+o|0}}f=b;c=C[h+28>>2];d=c;b=C[h+24>>2];if((c&b)==-1){continue}l=C[a+68>>2];g=C[a+96>>2];f=l+(g<<4)|0;c=C[f>>2];e=b-c|0;f=d-(C[f+4>>2]+(b>>>0>>0)|0)|0;c=!!e&(f|0)>=0|(f|0)>0;b=c?e:0;c=c?f:0;h:{if((g|0)<=0){break h}q=g&3;i:{if(g>>>0<4){d=0;break i}s=g&-4;d=0;f=0;while(1){g=d<<4;e=l+(g|56)|0;k=C[e>>2];m=C[e+4>>2];e=l+(g|40)|0;n=C[e>>2];i=C[e+4>>2];e=l+(g|24)|0;j=C[e>>2];p=C[e+4>>2];g=g+l|0;e=C[g+8>>2];c=c+C[g+12>>2]|0;g=b;b=b+e|0;c=(g>>>0>b>>>0?c+1|0:c)+p|0;g=b;b=b+j|0;c=(g>>>0>b>>>0?c+1|0:c)+i|0;i=b;b=b+n|0;c=(i>>>0>b>>>0?c+1|0:c)+m|0;i=b;b=b+k|0;c=i>>>0>b>>>0?c+1|0:c;d=d+4|0;f=f+4|0;if((s|0)!=(f|0)){continue}break}}if(!q){break h}while(1){e=l+(d<<4)|0;f=C[e+8>>2];c=c+C[e+12>>2]|0;i=b;b=b+f|0;c=i>>>0>b>>>0?c+1|0:c;d=d+1|0;r=r+1|0;if((q|0)!=(r|0)){continue}break}}f=b-o|0;d=f;i=!!f;f=c-((o>>31)+(b>>>0>>0)|0)|0;c=i&(f|0)>=0|(f|0)>0;b=c?d:0;c=c?f:0;break c}zh(k,0)}if(f){b=-1;c=-1;break c}b=Mg(a,h+40|0,-1,-1);c=Ee;i=c;if((c|0)<0){b=nk(a,-1);c=Ee;break c}j:{if(C[a+88>>2]>=3){c=C[h+40>>2];if(!(!(D[C[h+40>>2]+5|0]&2)|C[a+92>>2]==(D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24)))){Qh(n);xi(j);C[a+88>>2]=2;Om(h+56|0)}if(C[a+88>>2]>2){break j}}c=C[h+40>>2];m=D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24);f=0;d=0;c=C[a+52>>2];k:{if((c|0)<=0){break k}e=C[a+64>>2];while(1){if((m|0)==C[(d<<2)+e>>2]){break k}d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}if((c|0)==(d|0)){continue}C[a+92>>2]=m;C[a+96>>2]=d;Xi(k,m);Xi(h+56|0,m);C[a+88>>2]=3;c=C[a+60>>2]+(d<<3)|0;f=C[c>>2];c=C[c+4>>2];g=b>>>0<=f>>>0&(c|0)>=(i|0)|(c|0)>(i|0)}b=h+40|0;gi(k,b);gi(h+56|0,b);f=0;p=D[C[b>>2]+5|0]&4;continue}}C[a+80>>2]=-1;C[a+84>>2]=-1;Om(h+56|0);Qh(n);xi(a+592|0);C[a+88>>2]=2;d=-137;break a}C[a+80>>2]=b;C[a+84>>2]=c;Om(h+56|0);C[a+112>>2]=0;C[a+116>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0;d=0}Ce=h+416|0;return d}function fi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=35;a:{if(!a|!C[a+88>>2]){break a}d=C[a+84>>2];if(!d){break a}e=C[d+156>>2];b:{if(!(!e|!(A[e+4|0]&1))){e=C[C[d+4>>2]+100>>2];f=C[d+88>>2];if(f){Fe[C[e+8>>2]](e,f)}C[d+88>>2]=0;e=C[d+156>>2];C[e+4>>2]=C[e+4>>2]&-2;break b}C[d+88>>2]=0}C[d+24>>2]=0;C[d+28>>2]=0;C[d+72>>2]=0;C[d+76>>2]=0;C[d+100>>2]=0;C[d+104>>2]=0;A[d+94|0]=0;C[d+32>>2]=0;C[d+36>>2]=0;C[d+40>>2]=0;C[d+44>>2]=0;C[d+48>>2]=0;C[d+52>>2]=0;C[d+56>>2]=0;C[d+60>>2]=0;C[d+80>>2]=0;C[d+84>>2]=0;C[d+108>>2]=0;C[d+112>>2]=0;C[d+116>>2]=0;C[d+120>>2]=0;C[d+124>>2]=0;C[d+128>>2]=0;C[d+132>>2]=0;C[d+136>>2]=0;C[d+140>>2]=0;C[d+144>>2]=0;C[d+148>>2]=0;C[d+152>>2]=0;c=c&1024?c|2049:c;h=c&1?c&-15|10:c;g=h&2;c:{d:{c=C[a+96>>2];e=C[C[c+4>>2]+160>>2];if(h&32768|(g|!e)){break d}j=C[C[c>>2]>>2];if((j&768)!=256){break d}f=C[a+8>>2];if(f&8192){break d}e:{if(h&2048){break e}k=C[a+128>>2];i=C[k>>2];if(!C[k+8>>2]){if(i){break e}break d}if(i){break d}}if(!(!(j&1024)|h&32|(D[C[a+128>>2]+52|0]|(h&983040)==65536))){if(!(f&8)|!C[a+696>>2]|(E[a+286>>1]|C[a+628>>2])){break d}if(C[a+636>>2]){break d}}f:{if(!(f&2)|h&8){break f}if(Fe[C[C[c+12>>2]+72>>2]](d,C[a+88>>2],b,h|16384)|0){break f}c=0;if(C[d+72>>2]==1651078259){break c}}f=C[a+128>>2];g=C[f+24>>2];C[f+24>>2]=0;c=Fe[C[C[C[e>>2]+20>>2]+12>>2]](e,d,C[a+88>>2],b,h)|0;C[f+24>>2]=g;break c}e=Fe[C[C[c+12>>2]+72>>2]](d,C[a+88>>2],b,h)|0;if(e){break a}c=0;if(C[d+72>>2]!=1869968492){break c}e=d+108|0;g:{h:{if(!e){break h}f=B[e+2>>1];i=B[e>>1];b=0;if(!((f|i)&65535)){break g}if((f|0)<=0|(i|0)<=0){break h}j=C[e+12>>2];e=-1;b=0;while(1){k=e;e=B[j+(b<<1)>>1];if((k|0)>=(e|0)|(e|0)>=(f|0)){break h}b=b+1|0;if((i|0)!=(b|0)){continue}break}b=0;if((f-1|0)==(e|0)){break g}}b=6}e=b;if(e){break a}if(g){break c}i:{if(h&16){C[d+32>>2]=C[d+32>>2]&-64;b=C[d+44>>2];e=b&-64;C[d+44>>2]=e;f=C[d+48>>2];g=f&-64;C[d+48>>2]=g;C[d+36>>2]=C[d+36>>2]+63&-64;C[d+24>>2]=((b+C[d+24>>2]|0)+63&-64)-e;C[d+28>>2]=((f+C[d+28>>2]|0)+63&-64)-g;break i}C[d+44>>2]=C[d+44>>2]&-64;C[d+48>>2]=C[d+48>>2]&-64;b=C[d+32>>2];e=b&-64;C[d+32>>2]=e;f=C[d+36>>2];g=f+63&-64;C[d+36>>2]=g;C[d+28>>2]=g-(f-C[d+28>>2]&-64);C[d+24>>2]=((b+C[d+24>>2]|0)+63&-64)-e}C[d+40>>2]=C[d+40>>2]+32&-64;C[d+52>>2]=C[d+52>>2]+32&-64}j:{if(h&16){e=C[d+52>>2];b=0;break j}e=0;b=C[d+40>>2]}C[d+64>>2]=b;C[d+68>>2]=e;if(!(!(A[a+8|0]&1)|h&8192)){b=C[a+88>>2];l=d,m=of(C[d+56>>2],C[b+16>>2],64),C[l+56>>2]=m;l=d,m=of(C[d+60>>2],C[b+20>>2],64),C[l+60>>2]=m}k:{if(h&2048){break k}g=C[a+128>>2];f=C[g+24>>2];if(!f){break k}i=d- -64|0;l:{m:{a=C[C[C[d+4>>2]+96>>2]+4>>2];e=C[a+156>>2];n:{if(!e){b=C[d+72>>2];break n}b=C[d+72>>2];if((b|0)==C[e+16>>2]){break m}}a=C[a+148>>2];if(a){while(1){e=C[a+8>>2];if(C[e+16>>2]==(b|0)){break m}a=C[a+4>>2];if(a){continue}break}}o:{if((b|0)!=1869968492){break o}if(f&1){Si(d+108|0,g);f=C[g+24>>2]}if(!(f&2)){break o}Pg(d+108|0,C[g+16>>2],C[g+20>>2])}break l}c=Fe[C[C[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}ci(i,g)}e=c;if(e){break a}e=0;a=C[d+72>>2];if(!(h&4)|((a|0)==1651078259|(a|0)==1668246896)){break a}a=h>>>16&15;e=lw(d,a?a:h>>>11&2)}return e}function II(a,b){a=a|0;b=b|0;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;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}}c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(c>>>0<2){break a}i=c>>>1|0;d=i-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=i&3;if(f){while(1){e=E[c>>1];B[c>>1]=e<<8|e>>>8;c=c+2|0;i=i-1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}if(d>>>0<3){break a}while(1){d=E[c>>1];B[c>>1]=d<<8|d>>>8;d=E[c+2>>1];B[c+2>>1]=d<<8|d>>>8;d=E[c+4>>1];B[c+4>>1]=d<<8|d>>>8;d=E[c+6>>1];B[c+6>>1]=d<<8|d>>>8;c=c+8|0;i=i-4|0;if(i){continue}break}break a}c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(c>>>0<4){break a}h=c>>>2|0;f=h-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h&3;if(e){while(1){d=C[c>>2];C[c>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0;h=h-1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(f>>>0<3){break a}while(1){d=C[c>>2];C[c>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=C[c+4>>2];C[c+4>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=C[c+8>>2];C[c+8>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=C[c+12>>2];C[c+12>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+16|0;h=h-4|0;if(h){continue}break}break a}if((c|0)!=64){break a}c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(c>>>0<8){break a}i=c>>>3|0;m=i-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);k=i&3;if(k){while(1){e=C[c>>2];l=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;n=g<<24;j=e&-16777216;g=j>>>24|0;f=C[c+4>>2];C[c>>2]=n|j<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|l;d=0;C[c+4>>2]=e|(d|d);c=c+8|0;i=i-1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}if(m>>>0<3){break a}while(1){e=C[c>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;l=g<<24;h=e&-16777216;g=h>>>24|0;f=C[c+4>>2];C[c>>2]=l|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;l=0;d=0;C[c+4>>2]=e|(l|(d|d));e=C[c+8>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;f=C[c+12>>2];k=g<<24;h=e&-16777216;g=h>>>24|0;C[c+8>>2]=k|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;d=0;C[c+12>>2]=e|(d|d|l);e=C[c+16>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;f=C[c+20>>2];k=g<<24;h=e&-16777216;g=h>>>24|0;C[c+16>>2]=k|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;d=0;C[c+20>>2]=e|(d|d|l);e=C[c+24>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;f=C[c+28>>2];k=g<<24;h=e&-16777216;g=h>>>24|0;C[c+24>>2]=k|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;d=0;C[c+28>>2]=e|(d|d|l);c=c+32|0;i=i-4|0;if(i){continue}break}}c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b^4096)}}function Iy(a,b,c,d,e,f,g,h,i,j,k,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;n=Ce-112|0;Ce=n;C[n+104>>2]=h;C[n+108>>2]=i;C[n+88>>2]=-1;C[n+92>>2]=-1;w=C[a+456>>2];a:{b:{c:{x=!k|!l;if(x){break c}o=l;p=k;while(1){if(C[p>>2]!=(j|0)){p=p+4|0;o=o-1|0;if(o){continue}break c}break}if((j|0)!=(w|0)){q=f;r=g;while(1){C[n+100>>2]=w;q=$p(a,q,r,k,l,n+100|0,n+104|0);r=Ee;if(C[n+100>>2]!=(w|0)){continue}break}}h=m+1|0;C[a+52>>2]=h;d=C[a+56>>2];if(d){Re(d)}d=C[a+64>>2];if(d){Re(d)}d=C[a+60>>2];if(d){Re(d)}d=C[a+52>>2];A=a,B=kf((d<<3)+8|0),C[A+56>>2]=B;A=a,B=mf(C[a+72>>2],d<<5),C[A+72>>2]=B;A=a,B=mf(C[a+76>>2],C[a+52>>2]<<4),C[A+76>>2]=B;d=C[a+52>>2];A=a,B=kf(d<<2),C[A+64>>2]=B;A=a,B=kf(d<<3),C[A+60>>2]=B;e=kf(d<<4);C[a+68>>2]=e;d=C[a+56>>2];a=d+(h<<3)|0;C[a>>2]=f;C[a+4>>2]=g;a=d+(m<<3)|0;C[a>>2]=b;C[a+4>>2]=c;b=e+(m<<4)|0;a=C[n+104>>2];d=a;c=C[n+108>>2];a=!!a&(c|0)>=0|(c|0)>0;C[b+8>>2]=a?d:0;C[b+12>>2]=a?c:0;break b}C[n+68>>2]=0;C[n+64>>2]=0;u=f;s=g;if(d>>>0>>0&(e|0)<=(s|0)|(e|0)<(s|0)){v=a+24|0;b=f;c=g;while(1){r=e;t=c-(e+(b>>>0>>0)|0)|0;q=d;if((t|0)>=0&b-d>>>0>=65536|(t|0)>0){r=c+e|0;q=b+d|0;r=q>>>0>>0?r+1|0:r;q=nT(q,r,2,0);r=Ee}p=C[a>>2];if(!p){o=-129;break a}if(C[a+8>>2]!=(q|0)|C[a+12>>2]!=(r|0)){o=-128;t=C[a+708>>2];if(!t){break a}if((Fe[t|0](p,q,r,0)|0)==-1){break a}C[a+8>>2]=q;C[a+12>>2]=r;if(C[v+4>>2]>=0){C[v+8>>2]=0;C[v+12>>2]=0;C[v+24>>2]=0;C[v+16>>2]=0;C[v+20>>2]=0}}t=Mg(a,n+72|0,-1,-1);p=Ee;y=p;if((t|0)==-128&(p|0)==-1){o=-128;break a}d:{if((y|0)<0){b=q;c=r;break d}p=C[n+72>>2];z=D[p+14|0]|D[p+15|0]<<8|(D[p+16|0]<<16|D[p+17|0]<<24);o=l;p=k;e:{if(x){break e}while(1){if((z|0)!=C[p>>2]){p=p+4|0;o=o-1|0;if(o){continue}break e}break}d=C[a+8>>2];e=C[a+12>>2];break d}b=q;c=r;u=t;s=y}if(b>>>0>d>>>0&(c|0)>=(e|0)|(c|0)>(e|0)){continue}break}}q=u;r=s;while(1){C[n+12>>2]=w;q=$p(a,q,r,k,l,n+12|0,n+88|0);r=Ee;if(C[n+12>>2]!=(w|0)){continue}break}c=C[a>>2];if(!c){o=-129;break a}if(C[a+8>>2]!=(u|0)|C[a+12>>2]!=(s|0)){o=-128;b=C[a+708>>2];if(!b){break a}if((Fe[b|0](c,u,s,0)|0)==-1){break a}C[a+8>>2]=u;C[a+12>>2]=s;if(C[a+28>>2]>=0){C[a+32>>2]=0;C[a+36>>2]=0;C[a+48>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0}}o=dq(a,n+32|0,n+16|0,n+68|0,n- -64|0,0);if(o){break a}c=C[a+8>>2];l=C[a+12>>2];k=C[a+456>>2];b=Uy(a,n+32|0);q=Ee;d=f;f=m+1|0;o=Iy(a,u,s,C[a+8>>2],C[a+12>>2],d,g,h,i,j,C[n+68>>2],C[n+64>>2],f);if(o){break a}d=C[n+68>>2];if(d){Re(d)}e=f<<3;d=e+C[a+56>>2]|0;C[d>>2]=u;C[d+4>>2]=s;C[C[a+64>>2]+(f<<2)>>2]=k;d=e+C[a+60>>2]|0;C[d>>2]=c;C[d+4>>2]=l;c=C[n+36>>2];d=C[a+72>>2]+(f<<5)|0;C[d>>2]=C[n+32>>2];C[d+4>>2]=c;c=C[n+60>>2];C[d+24>>2]=C[n+56>>2];C[d+28>>2]=c;c=C[n+52>>2];C[d+16>>2]=C[n+48>>2];C[d+20>>2]=c;c=C[n+44>>2];C[d+8>>2]=C[n+40>>2];C[d+12>>2]=c;c=C[n+20>>2];d=C[a+76>>2]+(f<<4)|0;C[d>>2]=C[n+16>>2];C[d+4>>2]=c;c=C[n+28>>2];C[d+8>>2]=C[n+24>>2];C[d+12>>2]=c;d=C[n+88>>2];c=C[n+92>>2];e=C[a+68>>2]+(m<<4)|0;C[e+16>>2]=b;C[e+20>>2]=q;C[e+8>>2]=d;C[e+12>>2]=c;c=C[e+24>>2];a=c-b|0;d=a;b=C[e+28>>2]-((b>>>0>c>>>0)+q|0)|0;a=!!a&(b|0)>=0|(b|0)>0;C[e+24>>2]=a?d:0;C[e+28>>2]=a?b:0}o=0}Ce=n+112|0;return o}function Hh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;r=Ce-16|0;Ce=r;o(+b);g=j(1)|0;h=j(0)|0;o(+a);e=j(1)|0;c=j(0)|0;t=g>>>20|0;u=t&2047;v=u-1086|0;k=e>>>20|0;a:{b:{if(v>>>0>4294967167&k-2047>>>0>=4294965250){break b}f=(g<<1|h>>>31)+2097152|0;if(!(h<<1)&(f|0)==2097152|f>>>0<2097152){d=1;if(!c&(e|0)==1072693248){break a}f=g<<1|h>>>31;h=h<<1;if(!(f|h)){break a}h=!h&(f|0)==-2097152|f>>>0<4292870144;f=e<<1|c>>>31;c=c<<1;if(!(h&(!c&(f|0)==-2097152|f>>>0<4292870144))){d=a+b;break a}if(!c&(f|0)==2145386496){break a}d=((g|0)>0|(g|0)>=0)^f>>>0>2145386495?0:b*b;break a}f=(e<<1|c>>>31)+2097152|0;if(!(c<<1)&(f|0)==2097152|f>>>0<2097152){d=a*a;if((e|0)<0){d=($t(h,g)|0)==1?-d:d}if((g|0)>0|(g|0)>=0){break a}c=Ce-16|0;H[c+8>>3]=1/d;d=H[c+8>>3];break a}if((e|0)<0){f=$t(h,g);if(!f){a=a-a;d=a/a;break a}k=k&2047;s=((f|0)==1)<<18;e=e&2147483647}if(v>>>0<=4294967167){d=1;if(!c&(e|0)==1072693248){break a}if(u>>>0<=957){d=((e|0)==1072693248&(c|0)!=0|e>>>0>1072693248?b:-b)+1;break a}if((!c&(e|0)==1072693248|e>>>0<1072693248)!=(t>>>0<2048|0)){c=Ce-16|0;H[c+8>>3]=3105036184601418e216;d=H[c+8>>3]*3105036184601418e216;break a}c=Ce-16|0;H[c+8>>3]=12882297539194267e-247;d=H[c+8>>3]*12882297539194267e-247;break a}if(k){break b}o(+(a*4503599627370496));e=j(1)|0;c=j(0)|0;e=(e&2147483647)-54525952|0}l(0,h&-134217728);l(1,g|0);w=+n();g=e-1072076117|0;h=g;m=+(g>>20);f=(g>>>13&127)<<5;z=m*H[46197]+H[f+369664>>3];k=0;g=c-k|0;e=e-((h&-1048576)+(c>>>0>>0)|0)|0;c=e;l(0,0);l(1,(g- -2147483648>>>0<2147483648?c+1|0:c)|0);a=+n();i=H[f+369640>>3];d=a*i+-1;l(0,g|0);l(1,c|0);x=(+n()-a)*i;a=d+x;p=H[46198];i=a*p;y=m*H[46196]+H[f+369656>>3];m=a+y;q=d;d=d*p;q=q*d;p=m+q;q=z+(a+(y-m))+x*(i+d)+(q+(m-p));d=a*i;a=q+a*d*(d*(d*(a*H[46204]+H[46203])+(a*H[46202]+H[46201]))+(a*H[46200]+H[46199]));d=p+a;H[r+8>>3]=a+(p-d);o(+d);c=j(1)|0;l(0,j(0)&-134217728);l(1,c|0);i=+n();a=w*i;b=(b-w)*i+(H[r+8>>3]+(d-i))*b;o(+a);c=j(1)|0;j(0)|0;c:{d:{k=c>>>20&2047;if(k-969>>>0<63){break d}if(k>>>0<969){a=a+1;d=s?-a:a;break c}c=k>>>0<1033;k=0;if(c){break d}o(+a);c=j(1)|0;j(0)|0;if((c|0)<0){c=Ce-16|0;H[c+8>>3]=s?-12882297539194267e-247:12882297539194267e-247;d=H[c+8>>3]*12882297539194267e-247;break c}c=Ce-16|0;H[c+8>>3]=s?-3105036184601418e216:3105036184601418e216;d=H[c+8>>3]*3105036184601418e216;break c}d=H[45397];i=H[45396]*a+d;d=i-d;a=d*H[45399]+(d*H[45398]+a)+b;b=a*a;d=b*b*(a*H[45403]+H[45402]);b=b*(a*H[45401]+H[45400]);o(+i);j(1)|0;g=j(0)|0;e=g<<4&2032;a=d+(b+(H[e+363280>>3]+a));e=e+363288|0;f=C[e>>2];h=C[e+4>>2];e=g+s|0;c=f;f=e<<13;e=0;c=c+e|0;f=f+h|0;f=c>>>0>>0?f+1|0:f;if(!k){e:{if(!(g&-2147483648)){l(0,c|0);l(1,f-1058013184|0);b=+n();d=(b*a+b)*5486124068793689e288;break e}l(0,c|0);e=f+1071644672|0;l(1,e|0);b=+n();i=b*a;a=i+b;if(K(a)<1){c=Ce-16|0;H[c+8>>3]=22250738585072014e-324;H[c+8>>3]=H[c+8>>3]*22250738585072014e-324;l(0,0);l(1,e&-2147483648);d=a<0?-1:1;m=a+d;a=m+(i+(b-a)+(a+(d-m)))-d;a=(A=+n(),B=a,D=a==0,D?A:B)}d=a*22250738585072014e-324}break c}l(0,c|0);l(1,f|0);b=+n();d=b*a+b}}Ce=r+16|0;return d}function ou(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{j=D[a+431|0];if(j){d=C[a+344>>2];g=C[a+392>>2];if((g|0)!=((j>>>0>=8?I(j>>>3|0,d):I(d,j)+7>>>3|0)|0)?g:0){break c}if(!d){break b}g=C[a+380>>2];l=D[a+421|0];k=I(d,j);e=k&7;h=0;d:{if(!e){break d}i=((j>>>0>7?I(j>>>3|0,d):k+7>>>3|0)+b|0)-1|0;m=D[i|0];h=255<>>e|0}g=g+1|0;e:{f:{g:{if(!D[a+420|0]){break g}f=C[a+212>>2];if(!(f&2)|l>>>0>5){break g}h:{i:{switch(c|0){case 0:e=l&1;break h;case 1:break i;default:break g}}e=1;if(!(l&1)){break g}}k=e<<3-(l+1>>>1|0)&7;if(k>>>0>=d>>>0){break e}if(j>>>0<=7){k=(j|0)!=1?(j|0)==2?1:2:0;e=8/(j>>>0)|0;j:{if(f&65536){a=(I(k,12)+(l<<1&508)|0)+95184|0;if(c){break j}a=(I(k,24)+(l<<2)|0)+95040|0;break j}a=(I(k,12)+(l<<1&508)|0)+95220|0;if(c){break j}a=(I(k,24)+(l<<2)|0)+95112|0}a=C[a>>2];while(1){c=a&255;if(c){if((c|0)!=255){c=D[g|0]&a|D[b|0]&(a^-1)}else{c=D[g|0]}A[b|0]=c}if(d>>>0<=e>>>0){break f}a=rT(a,24);g=g+1|0;b=b+1|0;d=d-e|0;continue}}if(j&7){break a}e=j>>>3|0;h=I(e,d-k|0);i=e;if(c){a=e<<(6-l>>>1);i=a>>>0>>0?a:h}c=I(e,k);a=c+g|0;d=b+c|0;f=e<<(7-l>>>1);k:{switch(i-1|0){case 2:A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];if(f>>>0>=h>>>0){break e}while(1){d=d+f|0;a=a+f|0;A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];h=h-f|0;if(f>>>0>>0){continue}break};break e;case 0:A[d|0]=D[a|0];if(f>>>0>=h>>>0){break e}while(1){d=d+f|0;a=a+f|0;A[d|0]=D[a|0];h=h-f|0;if(f>>>0>>0){continue}break};break e;case 1:while(1){A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];if(f>>>0>=h>>>0){break e}d=d+f|0;a=a+f|0;h=h-f|0;if(h>>>0>1){continue}break};A[d|0]=D[a|0];return;default:break k}}if(!((f|(a|i))&1|(d&1|i>>>0>15))){b=f-i|0;if(!(f&3|((d|i)&3|a&3))){g=0;b=b&-4;e=h;while(1){c=g;g=i;while(1){C[d>>2]=C[a>>2];d=d+4|0;a=a+4|0;g=g-4|0;if(g){continue}break}if(f>>>0>=e>>>0){break e}g=c+1|0;d=b+d|0;a=a+b|0;e=e-f|0;if(i>>>0<=e>>>0){continue}break}g=e&7;if(g){b=0;while(1){A[d|0]=D[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(((f^-1)+h|0)-I(c,f)>>>0<7){break e}while(1){A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];A[d+3|0]=D[a+3|0];A[d+4|0]=D[a+4|0];A[d+5|0]=D[a+5|0];A[d+6|0]=D[a+6|0];A[d+7|0]=D[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}g=0;b=b&-2;e=h;while(1){c=g;g=i;while(1){B[d>>1]=E[a>>1];d=d+2|0;a=a+2|0;g=g-2|0;if(g){continue}break}if(f>>>0>=e>>>0){break e}g=c+1|0;d=b+d|0;a=a+b|0;e=e-f|0;if(i>>>0<=e>>>0){continue}break}g=e&7;if(g){b=0;while(1){A[d|0]=D[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(((f^-1)+h|0)-I(c,f)>>>0<7){break e}while(1){A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];A[d+3|0]=D[a+3|0];A[d+4|0]=D[a+4|0];A[d+5|0]=D[a+5|0];A[d+6|0]=D[a+6|0];A[d+7|0]=D[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}jf(d,a,i);if(f>>>0>=h>>>0){break e}while(1){d=d+f|0;a=a+f|0;h=h-f|0;i=h>>>0>i>>>0?i:h;jf(d,a,i);if(f>>>0>>0){continue}break}break e}jf(b,g,j>>>0>7?I(j>>>3|0,d):k+7>>>3|0)}if(!i){break e}A[i|0]=D[i|0]&(h^-1)|h&m}return}Af(a,9204);s()}Af(a,9096);s()}Af(a,9179);s()}Af(a,14688);s()}function AC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=J(0),g=0,h=0,i=0,k=J(0),m=0,n=0,o=0,p=0,q=0,r=J(0),s=J(0),t=0;g=C[a+412>>2];if(g){h=C[g+4>>2];h=(h|0)==372645892|(h|0)==370546692}a=ki(a,I(d,12),b+4|0);if(!a){return-1}n=D[b+15|0];o=D[b+13|0];C[b+8>>2]=d;g=D[b+12|0];f=G[c>>2];e=G[c+4>>2];b=D[b+14|0];A[a+11|0]=n;p=h?g:b;A[a+10|0]=p;A[a+9|0]=o;q=h?b:g;A[a+8|0]=q;e=J(e+J(.5));G[a+4>>2]=e;k=J(f+J(.5));G[a>>2]=k;if((d|0)>=2){b=1;while(1){h=(b<<3)+c|0;r=J(G[h+4>>2]+J(.5));f=J(r-e);s=J(G[h>>2]+J(.5));k=J(s-k);e=J(f+k);a:{if(!(((w(f),j(2))&2147483647)>>>0<2139095041&((w(k),j(2))&2147483647)>>>0<=2139095040)){break a}i=(w(k),j(2));if((i|0)==1065353216){e=nu(f);break a}t=i>>>30&2;g=(w(f),j(2));h=t|g>>>31;b:{g=g&2147483647;c:{if(!g){d:{switch(h-2|0){case 0:e=J(3.1415927410125732);break a;case 1:break d;default:break c}}e=J(-3.1415927410125732);break a}i=i&2147483647;if((i|0)!=2139095040){e=(l(2,(w(f),j(2))&-2147483648|1070141403),v());if(!i){break a}e=(l(2,(w(f),j(2))&-2147483648|1070141403),v());if(!((g|0)!=2139095040&i+218103808>>>0>=g>>>0)){break a}e:{if(t){e=J(0);if(i>>>0>g+218103808>>>0){break e}}e=nu(J(K(J(f/k))))}f=e;f:{switch(h|0){case 1:e=J(-f);break a;case 2:e=J(J(3.1415927410125732)-J(f+J(8.742277657347586e-8)));break a;case 0:break c;default:break f}}e=J(J(f+J(8.742277657347586e-8))+J(-3.1415927410125732));break a}if((g|0)==2139095040){break b}f=G[(h<<2)+360272>>2]}e=f;break a}e=G[(h<<2)+360256>>2]}h=Ce-16|0;Ce=h;i=(w(e),j(2));g=i&2147483647;g:{if(g>>>0<=1061752794){f=J(1);if(g>>>0<964689920){break g}f=Jh(+e);break g}if(g>>>0<=1081824209){if(g>>>0>=1075235812){f=J(-Jh(((i|0)<0?3.141592653589793:-3.141592653589793)+ +e));break g}m=+e;if((i|0)<0){f=Ih(m+1.5707963267948966);break g}f=Ih(1.5707963267948966-m);break g}if(g>>>0<=1088565717){if(g>>>0>=1085271520){f=Jh(((i|0)<0?6.283185307179586:-6.283185307179586)+ +e);break g}if((i|0)<0){f=Ih(-4.71238898038469-+e);break g}f=Ih(+e+-4.71238898038469);break g}f=J(e-e);if(g>>>0>=2139095040){break g}h:{switch(ju(e,h+8|0)&3){case 0:f=Jh(H[h+8>>3]);break g;case 1:f=Ih(-H[h+8>>3]);break g;case 2:f=J(-Jh(H[h+8>>3]));break g;default:break h}}f=Ih(H[h+8>>3])}Ce=h+16|0;h=Ce-16|0;Ce=h;i=(w(e),j(2));g=i&2147483647;i:{if(g>>>0<=1061752794){if(g>>>0<964689920){break i}e=Ih(+e);break i}if(g>>>0<=1081824209){m=+e;if(g>>>0<=1075235811){if((i|0)<0){e=J(-Jh(m+1.5707963267948966));break i}e=Jh(m+-1.5707963267948966);break i}e=Ih(-(((i|0)>=0?-3.141592653589793:3.141592653589793)+m));break i}if(g>>>0<=1088565717){if(g>>>0<=1085271519){m=+e;if((i|0)<0){e=Jh(m+4.71238898038469);break i}e=J(-Jh(m+-4.71238898038469));break i}e=Ih(((i|0)<0?6.283185307179586:-6.283185307179586)+ +e);break i}if(g>>>0>=2139095040){e=J(e-e);break i}j:{switch(ju(e,h+8|0)&3){case 0:e=Ih(H[h+8>>3]);break i;case 1:e=Jh(H[h+8>>3]);break i;case 2:e=Ih(-H[h+8>>3]);break i;default:break j}}e=J(-Jh(H[h+8>>3]))}Ce=h+16|0;A[a+23|0]=n;A[a+22|0]=p;A[a+21|0]=o;A[a+20|0]=q;k=J(J(f*J(.25))+s);G[a+12>>2]=k;e=J(J(e*J(.25))+r);G[a+16>>2]=e;a=a+12|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function bp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=Ce-320|0;Ce=d;e=6;a:{if(!c|(!a|!b)){break a}b:{c:{h=C[b>>2];if((C[a+8>>2]-h|0)+1>>>0>2){break c}o=C[b+4>>2];if((C[a+12>>2]-o|0)+1>>>0>2|(h-C[c>>2]|0)+1>>>0>2|(o-C[c+4>>2]|0)+1>>>0>2){break c}break b}h=C[c+4>>2];C[d+32>>2]=C[c>>2];C[d+36>>2]=h;h=C[b+4>>2];C[d+40>>2]=C[b>>2];C[d+44>>2]=h;b=C[a+12>>2];C[d+48>>2]=C[a+8>>2];C[d+52>>2]=b;o=a- -64|0;g=d+32|0;e=1;while(1){b=C[a>>2];v=d+32|0;d:{e:{if(m>>>0>29){h=b;break e}f=C[g+12>>2];p=C[g+20>>2];h=f-p|0;r=C[g>>2];i=C[g+8>>2];j=r-i|0;s=C[((d+32|0)+(m<<3)|0)+4>>2];k=s-f|0;n=j+1>>>0<3&k+1>>>0<3;q=C[g+16>>2];l=i-q|0;f:{if(!(l+1>>>0>2|h+1>>>0>2)){h=b;if(n){break f}b=Cg(j,k);h=b;break f}b=Cg(l,h);h=b;if(n){break f}h=Cg(j,k)}k=gg(b,h);j=k>>31;if((j^k)-j>>>0<1966080){break e}if(D[a+20|0]){C[a>>2]=b}C[g+32>>2]=q;C[g+36>>2]=p;b=(i+q|0)/2|0;C[g+24>>2]=b;h=(i+r|0)/2|0;C[g+8>>2]=h;i=(f+p|0)/2|0;C[g+28>>2]=i;f=(f+s|0)/2|0;C[g+12>>2]=f;C[g+16>>2]=(b+h|0)/2;C[g+20>>2]=(f+i|0)/2;m=m+2|0;break d}g:{h:{if(e&255){if(D[a+20|0]){e=cp(a,b,0);break h}C[a+4>>2]=b;f=gg(C[a>>2],b);if(!f){break g}gg(C[a>>2],C[a+4>>2]);e=d+312|0;Vf(e,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[d+312>>2]=C[d+312>>2]+C[a+8>>2];C[d+316>>2]=C[d+316>>2]+C[a+12>>2];i=o+(f>>>26&32)|0;A[i+16|0]=0;e=ig(i,e,0);if(e){break a}e=ck(a,(f^-1)>>>31|0,0);break h}e=gg(C[a>>2],b);f=e>>31;if((e^f)-f>>>0<491521){break g}f=C[g+20>>2];i=C[g+16>>2];e=0;C[a+48>>2]=0;C[a+4>>2]=b;C[a+8>>2]=i;C[a+12>>2]=f;f=gg(C[a>>2],b);i:{if(!f){break i}gg(C[a>>2],C[a+4>>2]);e=d+312|0;Vf(e,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[d+312>>2]=C[d+312>>2]+C[a+8>>2];C[d+316>>2]=C[d+316>>2]+C[a+12>>2];i=o+(f>>>26&32)|0;A[i+16|0]=0;e=ig(i,e,0);if(e){break i}e=ck(a,(f^-1)>>>31|0,0)}C[a+48>>2]=C[a+52>>2]}if(e){break a}}f=gg(b,h);e=(f|0)/2|0;q=Ze(C[a+60>>2],ak(e));if(D[a+40|0]){p=Cg(C[g>>2]-C[g+16>>2]|0,C[((d+32|0)+(m<<3)|0)+4>>2]-C[g+20>>2]|0)}else{p=0}r=b+e|0;s=(d+32|0)+(m<<3)|4;e=5898240;i=1;b=o;while(1){Vf(d+312|0,q,e+r|0);C[d+312>>2]=C[d+312>>2]+C[g+8>>2];C[d+316>>2]=C[d+316>>2]+C[g+12>>2];Vf(d+24|0,C[a+60>>2],e+h|0);k=C[g>>2];j=k+C[d+24>>2]|0;C[d+24>>2]=j;n=C[s>>2];l=n+C[d+28>>2]|0;C[d+28>>2]=l;j:{k:{if(!D[a+40|0]){break k}e=(C[b+8>>2]+(C[b>>2]<<3)|0)-8|0;f=C[e>>2];e=C[e+4>>2];C[d+16>>2]=f;C[d+20>>2]=e;l=Cg(j-f|0,l-e|0);t=gg(p,l);j=t>>31;if((j^t)-j>>>0<=5898240){break k}j=Cg(C[g+16>>2]-f|0,C[g+20>>2]-e|0);k=Cg(k-C[d+24>>2]|0,n-C[d+28>>2]|0);C[d+8>>2]=C[d+24>>2]-f;C[d+12>>2]=C[d+28>>2]-e;t=um(d+8|0);l=$j(l-k|0);n=l>>31;u=$j(j-k|0);k=u>>31;Vf(d,of(t,(n^l)-n|0,(k^u)-k|0),j);C[d>>2]=f+C[d>>2];C[d+4>>2]=e+C[d+4>>2];A[b+16|0]=0;e=ig(b,d,0);if(e){break a}e=ig(b,d+24|0,0);if(e){break a}e=Vv(b,d+312|0,d+16|0);if(e){break a}e=ig(b,d+24|0,0);if(!e){break j}break a}e=Vv(b,d+312|0,d+24|0);if(e){break a}}b=b+32|0;f=i;e=-5898240;i=0;if(f){continue}break}C[a>>2]=h;e=0;m=m-2|0}g=v+(m<<3)|0;if((m|0)>=0){continue}break}}b=C[c+4>>2];C[a+8>>2]=C[c>>2];C[a+12>>2]=b;e=0}Ce=d+320|0;return e}function en(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C[a+24>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+28>>2]=b;A[a+5|0]=0;A[a+6|0]=0;A[a+7|0]=0;A[a+8|0]=0;A[a+9|0]=0;A[a+10|0]=0;A[a+11|0]=0;A[a+12|0]=0;b=dz(b+52|0);c=D[b+50|0]|D[b+51|0]<<8;if(!(((c<<8|c>>>8)&65535)>>>0>1|(D[b+52|0]|D[b+53|0]<<8))){A[a+12|0]=!c;b=C[a+28>>2];Qf(b);b=Of(b,1819239265);a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}c=C[b+12>>2];Ue(b);if(C[b+4>>2]?c:0){C[b+4>>2]=0}C[a+20>>2]=b;b=C[a+28>>2];Qf(b);b=Of(b,1735162214);b:{if(!b){break b}c=C[b>>2];if(!c){break b}C[b>>2]=c+1}c=C[b+12>>2];Ue(b);if(C[b+4>>2]?c:0){C[b+4>>2]=0}C[a+24>>2]=b;c=Ce-48|0;Ce=c;h=C[a+28>>2]+120|0;e=C[h>>2];c:{if(e){break c}i=h-72|0;while(1){b=C[i>>2];if(!b){e=205712;break c}e=df(1,4);if(!e){e=205712;C[h>>2]=205712;break c}C[c+8>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;A[c+24|0]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;f=Qf(b);A[c+40|0]=1;C[c+36>>2]=f;b=Of(b,1735811442);d:{if(!b){break d}f=C[b>>2];if(!f){break d}C[b>>2]=f+1}f=b;A[c+24|0]=0;C[c+32>>2]=b;g=C[b+12>>2];C[c+4>>2]=g;d=C[b+16>>2];C[c+8>>2]=d+g;C[c+28>>2]=0;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[c+12>>2]=d;C[c+20>>2]=0;C[c>>2]=0;e:{f:{if(!g){break f}g:{h:{i:{j:{if(fq(g,c)){break j}k:{if(D[c+24|0]|!C[c+28>>2]){break k}f=Pf(b);C[c+4>>2]=f;C[c+8>>2]=f+C[b+16>>2];if(!f){break k}while(1){A[c+24|0]=1;f=C[c+32>>2];g=C[f+12>>2];C[c+4>>2]=g;d=C[f+16>>2];C[c+8>>2]=d+g;C[c+28>>2]=0;if(d>>>0<=67108862){d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}else{d=1073741823}C[c+12>>2]=d;C[c+20>>2]=0;C[c>>2]=0;if(!g){break f}if(fq(g,c)){break j}if(D[c+24|0]|!C[c+28>>2]){break k}f=Pf(b);C[c+4>>2]=f;C[c+8>>2]=f+C[b+16>>2];if(f){continue}break}}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break i}if(!C[c+28>>2]){break h}C[c+28>>2]=0;f=fq(g,c);g=C[c+28>>2];Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if(g){break i}if(f){break g}}Ue(b);b=205712;break e}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}break e}Ue(f);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}C[e>>2]=b;if(!C[h>>2]){C[h>>2]=e;break c}Ue(C[e>>2]);Re(e);e=C[h>>2];if(!e){continue}break}}Ce=c+48|0;C[a>>2]=e;c=C[a+28>>2];b=C[c- -64>>2];l:{if(b){break l}while(1){e=C[c+48>>2];if(!e){b=205712;break l}b=df(1,20);if(!b){b=205712;C[c+64>>2]=205712;break l}wz(b,e);if(!C[c+64>>2]){C[c+64>>2]=b;break l}Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b);b=C[c+64>>2];if(!b){continue}break}}C[a+4>>2]=b;c=C[a+28>>2];b=C[c+92>>2];m:{if(b){break m}while(1){e=C[c+48>>2];if(!e){b=205712;break m}b=df(1,20);if(!b){b=205712;C[c+92>>2]=205712;break m}wq(b,e);if(!C[c+92>>2]){C[c+92>>2]=b;break m}Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b);b=C[c+92>>2];if(!b){continue}break}}C[a+8>>2]=b;b=C[a+20>>2];b=C[(b?b:205712)+16>>2]>>>(D[a+12|0]?1:2)|0;b=(b>>>0<=1?1:b)-1|0;C[a+16>>2]=b;c=C[a+28>>2];e=C[c+32>>2];if((e|0)==-1){e=Rg(c);b=C[a+16>>2]}C[a+16>>2]=b>>>0>>0?b:e}}function Yx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e=D[a|0]|D[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}e:{f:{g:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break f}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=mf(C[d+8>>2],I(b,20));if(e){break g}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break e}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Lg(b,a,720);return}h:{i:{j:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break i}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=mf(C[d+8>>2],I(b,20));if(e){break j}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break h}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Lg(b,a,721);return}k:{l:{m:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){e=C[c+4>>2];f=e+1|0;f=(f|0)>0?f:0;if(f>>>0<=b>>>0){break l}while(1){b=((b>>>1|0)+b|0)+8|0;if(f>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=mf(C[c+8>>2],I(b,20));if(e){break m}}C[c>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;e=422704;break k}C[c>>2]=b;C[c+8>>2]=e;e=C[c+4>>2]}if(e>>>0>>0){We(C[c+8>>2]+I(e,20)|0,0,I(f-e|0,20))}C[c+4>>2]=f;e=(C[c+8>>2]+I(f,20)|0)-20|0}C[e+8>>2]=0;C[e+12>>2]=0;C[e+4>>2]=722;C[e>>2]=a;C[e+16>>2]=0;b=205712;c=e+8|0;f=D[a+2|0]|D[a+3|0]<<8;f=(a+2|0)+(((f<<8|f>>>8)&65535)<<1)|0;f=D[f+2|0]|D[f+3|0]<<8?f+4|0:205712;f=D[f|0]|D[f+1|0]<<8;if(f){b=((f<<8|f>>>8)&65535)+a|0}n:{o:{p:{q:{a=D[b|0]|D[b+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}f=D[b+2|0]|D[b+3|0]<<8;if(!f){break n}a=b+4|0;f=(f<<8|f>>>8)&65535;h=f&1;i=f-1|0;r:{if(!i){b=a;break r}k=f&65534;b=a;while(1){j=d;d=D[b|0]|D[b+1|0]<<8;j=j|1<<(d>>>12|d<<4);d=D[b+2|0]|D[b+3|0]<<8;d=j|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(h){b=D[b|0]|D[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}C[c>>2]=d;g=0;b=a;d=0;if(i>>>0>=3){h=f&65532;c=0;while(1){d=1<>2]=d;c=f&3;d=0;if(i>>>0<3){b=0;break o}f=f&65532;b=0;g=0;while(1){b=1<<((D[a|0]|D[a+1|0]<<8)>>>1)|b|1<<((D[a+2|0]|D[a+3|0]<<8)>>>1)|1<<((D[a+4|0]|D[a+5|0]<<8)>>>1)|1<<((D[a+6|0]|D[a+7|0]<<8)>>>1);a=a+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}fl(b,c);break n}if(c){while(1){b=1<<((D[a|0]|D[a+1|0]<<8)>>>1)|b;a=a+2|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}C[e+16>>2]=b}}}function Mu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=C[a>>2];e=D[a+8|0];a:{b:{if(!e){i=c?E[c+8>>1]:0;d=D[a+9|0];if(d>>>0<=7){c:{d:{switch(d-1|0){case 0:i=0-(i&1)&255;if(!g){break c}e=b+g|0;d=0-g&7;h=g-1|0;f=(h>>>3|0)+b|0;if(h){k=g&-2;h=0;while(1){A[e-1|0]=D[f|0]>>>d&1?-1:0;e=e-2|0;j=f;f=(d|0)==7;j=j-f|0;d=f?0:d+1|0;A[e|0]=D[j|0]>>>d&1?-1:0;f=(d|0)==7;d=f?0:d+1|0;f=j-f|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!(g&1)){break c}A[e-1|0]=D[f|0]>>>d&1?-1:0;break c;case 1:i=I(i&3,85);if(!g){break c}e=b+g|0;h=g-1|0;f=(h>>>2|0)+b|0;d=((g<<1)+6^-1)&6;if(h){k=g&-2;h=0;while(1){A[e-1|0]=I(D[f|0]>>>d&3,85);e=e-2|0;j=f;f=(d|0)==6;j=j-f|0;d=f?0:d+2|0;A[e|0]=I(D[j|0]>>>d&3,85);f=(d|0)==6;d=f?0:d+2|0;f=j-f|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!(g&1)){break c}A[e-1|0]=I(D[f|0]>>>d&3,85);break c;case 3:break d;default:break c}}i=I(i&15,17);if(!g){break c}e=b+g|0;d=g<<2&4;h=g-1|0;f=(h>>>1|0)+b|0;if(h){k=g&-2;h=0;while(1){A[e-1|0]=I(D[f|0]>>>d&15,17);e=e-2|0;j=(d|0)==4;f=f-j|0;d=(d|0)!=4;A[e|0]=I(D[f|0]>>>(d<<2)&15,17);f=f-d|0;d=j<<2;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!(g&1)){break c}A[e-1|0]=I(D[f|0]>>>d&15,17)}A[a+11|0]=8;A[a+9|0]=8;C[a+4>>2]=g;d=8}if(!c){break a}e:{f:{switch(d-8|0){case 0:if(!g){break e}e=b+g|0;d=(g<<1)+b|0;if((g|0)!=1){c=g&-2;b=i&255;f=0;while(1){h=e-1|0;A[d-1|0]=(b|0)!=D[h|0]?-1:0;A[d-2|0]=D[h|0];e=e-2|0;A[d-3|0]=(b|0)!=D[e|0]?-1:0;d=d-4|0;A[d|0]=D[e|0];f=f+2|0;if((c|0)!=(f|0)){continue}break}}if(!(g&1)){break e}b=e-1|0;A[d-1|0]=D[b|0]!=(i&255)?-1:0;A[d-2|0]=D[b|0];break e;case 8:break f;default:break e}}if(!g){break e}f=i>>>8|0;c=C[a+4>>2];e=c+b|0;d=(c<<1)+b|0;b=0;h=i&255;while(1){i=e-1|0;j=d-1|0;e=e-2|0;g:{if((f|0)==D[e|0]){c=0;if((h|0)==D[i|0]){break g}}c=255}A[j|0]=c;A[d-2|0]=c;A[d-3|0]=D[i|0];d=d-4|0;A[d|0]=D[e|0];b=b+1|0;if((g|0)!=(b|0)){continue}break}}A[a+10|0]=2;A[a+8|0]=4;b=D[a+9|0]<<1;A[a+11|0]=b;b=b&254;if(b>>>0>=8){b=I(b>>>3|0,g);break b}b=I(b,g)+7>>>3|0;break b}if(!c|(e|0)!=2){break a}h:{i:{switch(D[a+9|0]-8|0){case 0:if(!g){break h}e=C[a+4>>2]+b|0;d=(g<<2)+b|0;f=E[c+2>>1]&255;k=E[c+4>>1]&255;j=E[c+6>>1]&255;while(1){c=e-1|0;l=d-1|0;b=e-3|0;j:{if(!((f|0)!=D[b|0]|(k|0)!=D[e-2|0])){i=0;if((j|0)==D[c|0]){break j}}i=255}A[l|0]=i;A[d-2|0]=D[c|0];A[d-3|0]=D[e-2|0];d=d-4|0;A[d|0]=D[b|0];e=b;h=h+1|0;if((h|0)!=(g|0)){continue}break};break h;case 8:break i;default:break h}}if(!g){break h}h=E[c+6>>1];k=h>>>8|0;j=E[c+4>>1];l=j>>>8|0;c=E[c+2>>1];m=c>>>8|0;e=C[a+4>>2]+b|0;d=(g<<3)+b|0;b=0;n=c&255;while(1){f=e-1|0;o=d-1|0;c=e-6|0;k:{l:{if(D[c|0]!=(m|0)|D[e-5|0]!=(n|0)|(D[e-4|0]!=(l|0)|D[e-3|0]!=(j&255))){break l}if((k|0)!=D[e-2|0]){break l}i=0;if(D[f|0]==(h&255)){break k}}i=255}A[o|0]=i;A[d-2|0]=i;A[d-3|0]=D[f|0];A[d-4|0]=D[e-2|0];A[d-5|0]=D[e-3|0];A[d-6|0]=D[e-4|0];A[d-7|0]=D[e-5|0];d=d-8|0;A[d|0]=D[c|0];e=c;b=b+1|0;if((g|0)!=(b|0)){continue}break}}A[a+10|0]=4;A[a+8|0]=6;b=D[a+9|0]<<2;A[a+11|0]=b;b=b&252;if(b>>>0>=8){b=I(b>>>3|0,g);break b}b=I(b,g)+7>>>3|0}C[a+4>>2]=b}}function HA(a){a=a|0;var 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;i=Ce-32|0;Ce=i;C[i+12>>2]=370546692;qb(i+16|0,i+20|0);C[i+24>>2]=0;C[i+28>>2]=0;g=Ce-80|0;Ce=g;lf(g+8|0,0,72);if(i+12|0){C[g+40>>2]=C[i+28>>2];b=C[i+24>>2];C[g+32>>2]=C[i+20>>2];C[g+36>>2]=b;b=C[i+16>>2];C[g+24>>2]=C[i+12>>2];C[g+28>>2]=b}C[g+60>>2]=C[g+40>>2];b=C[g+36>>2];C[g+52>>2]=C[g+32>>2];C[g+56>>2]=b;b=C[g+28>>2];C[g+44>>2]=C[g+24>>2];C[g+48>>2]=b;c=g+8|0;h=Ce-32|0;Ce=h;b=C[105668];d=Sf(C[b+376>>2],I(C[b+372>>2],72)+72|0);a:{if(d){b=C[105668];j=C[b+372>>2];C[b+372>>2]=j+1;l=jf(d+I(j,72)|0,c,72);C[l+64>>2]=b;C[b+376>>2]=d;b=C[c>>2];b:{if(b){p=l,q=Og(b),C[p>>2]=q;break b}c=h;b=j;c:{if((b|0)<0){A[c|0]=45;b=0-b|0;d=c+1|0;f=d;while(1){e=(b>>>0)/10|0;A[f|0]=D[(b-I(e,10)|0)+148432|0];f=f+1|0;k=b>>>0>=10;b=e;if(k){continue}break}e=0;A[f|0]=0;b=af(d);if(b>>>0<2){break c}c=b+c|0;b=b>>>1|0;f=b-1|0;k=b&3;if(k){while(1){m=D[d|0];A[d|0]=D[c|0];A[c|0]=m;c=c-1|0;d=d+1|0;b=b-1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(f>>>0<3){break c}while(1){e=D[d|0];A[d|0]=D[c|0];A[c|0]=e;e=D[d+1|0];f=c-1|0;A[d+1|0]=D[f|0];A[f|0]=e;e=D[d+2|0];f=c-2|0;A[d+2|0]=D[f|0];A[f|0]=e;e=D[d+3|0];f=c-3|0;A[d+3|0]=D[f|0];A[f|0]=e;c=c-4|0;d=d+4|0;b=b-4|0;if(b){continue}break}break c}d:{if(b){d=c;while(1){e=(b>>>0)/10|0;A[d|0]=D[(b-I(e,10)|0)+148432|0];d=d+1|0;f=b>>>0<10;b=e;if(!f){continue}break}break d}A[c|0]=48;d=c+1|0}f=0;A[d|0]=0;b=af(c);if(b>>>0<2){break c}d=b>>>1|0;e=d-1|0;b=(b+c|0)-1|0;k=d&3;if(k){while(1){m=D[c|0];A[c|0]=D[b|0];A[b|0]=m;b=b-1|0;c=c+1|0;d=d-1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(e>>>0<3){break c}while(1){e=D[c|0];A[c|0]=D[b|0];A[b|0]=e;e=D[c+1|0];f=b-1|0;A[c+1|0]=D[f|0];A[f|0]=e;e=D[c+2|0];f=b-2|0;A[c+2|0]=D[f|0];A[f|0]=e;e=D[c+3|0];f=b-3|0;A[c+3|0]=D[f|0];A[f|0]=e;b=b-4|0;c=c+4|0;d=d-4|0;if(d){continue}break}}p=l,q=Og(h),C[p>>2]=q}break a}_e(0);j=-1}Ce=h+32|0;Ce=g+80|0;e:{if((j|0)<0){o=-1;break e}b=i+12|0;a=C[a+376>>2];j=C[a+12>>2];c=C[a+8>>2];f:{if((c|0)>0){while(1){d=I(n,20)+j|0;if((d|0)==(b|0)){break f}h=C[d+4>>2];e=C[b+4>>2];g:{if((h|0)!=(e|0)){if(h-e|0){break g}break f}h=C[d+8>>2];e=C[b+8>>2];if((h|0)!=(e|0)){if(h-e|0){break g}break f}h=C[d>>2];e=h>>>8&255;g=C[b>>2];f=g>>>8&255;if((e|0)!=(f|0)){if(e-f|0){break g}break f}h=h>>>16&15;e=g>>>16&15;if((h|0)!=(e|0)){if(h-e|0){break g}break f}d=C[d+12>>2];h=C[b+12>>2];if((d|0)==(h|0)|(d|0)==(h|0)){break f}}n=n+1|0;if((c|0)!=(n|0)){continue}break}}if((c|0)==C[a+4>>2]){j=Sf(j,I(c,20)+640|0);if(!j){break f}C[a+12>>2]=j;C[a+4>>2]=C[a+4>>2]+32}d=C[b+4>>2];c=I(c,20)+j|0;C[c>>2]=C[b>>2];C[c+4>>2]=d;C[c+16>>2]=C[b+16>>2];d=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=d;b=C[a+8>>2]+1|0;C[a+8>>2]=b;tr(C[a+12>>2],b)}C[105553]=592;C[105552]=593;C[105550]=594;C[105548]=595;C[105555]=596;C[105549]=597;a=If(1,8);h:{if(a){b=If(1,8);if(!b){_e(0);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}Nn(0);break h}C[b+4>>2]=0;C[b>>2]=4239;C[a+4>>2]=b;Nn(a);break h}_e(0);Nn(0)}}Ce=i+32|0;return o|0}function Mg(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,o=0,p=0;if(!!c&(d|0)>=0|(d|0)>0){d=d+C[a+12>>2]|0;e=c;c=c+C[a+8>>2]|0;d=e>>>0>c>>>0?d+1|0:d}g=a+24|0;a:{b:{c:{while(1){d:{if(!c&(d|0)<=0|(d|0)<0){break d}e=C[a+12>>2];if(c>>>0>F[a+8>>2]&(d|0)>=(e|0)|(d|0)>(e|0)){break d}Ee=-1;return-1}f=0;m=Ce-16|0;Ce=m;e:{if(C[g+4>>2]<0){break e}e=C[g+12>>2];n=C[g+8>>2]-e|0;h=e+C[g>>2]|0;f:{j=C[g+20>>2];g:{if(!j){if((n|0)<27){break e}if((D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24))!=1399285583){break g}e=D[h+26|0];j=e+27|0;if(n>>>0>>0){break e}if(e){k=C[g+24>>2];e=0;while(1){k=D[(e+h|0)+27|0]+k|0;C[g+24>>2]=k;e=e+1|0;if(e>>>0>2]=j}if((C[g+24>>2]+j|0)>(n|0)){break e}i=D[h+22|0]|D[h+23|0]<<8|(D[h+24|0]<<16|D[h+25|0]<<24);C[m+12>>2]=i;A[h+22|0]=0;A[h+23|0]=0;A[h+24|0]=0;A[h+25|0]=0;l=C[g+24>>2];k=C[g+20>>2];A[h+22|0]=0;A[h+23|0]=0;A[h+24|0]=0;A[h+25|0]=0;h:{if((k|0)<=0){break h}o=k&1;i:{if((k|0)==1){e=0;break i}p=k&-2;e=0;j=0;while(1){f=C[((D[e+h|0]^f>>>24)<<2)+93456>>2]^f<<8;f=C[((D[h+(e|1)|0]^f>>>24)<<2)+93456>>2]^f<<8;e=e+2|0;j=j+2|0;if((p|0)!=(j|0)){continue}break}}if(!o){break h}f=C[((D[e+h|0]^f>>>24)<<2)+93456>>2]^f<<8}j:{if((l|0)<=0){break j}j=h+k|0;o=l&1;k:{if((l|0)==1){e=0;break k}l=l&-2;e=0;k=0;while(1){f=C[((D[e+j|0]^f>>>24)<<2)+93456>>2]^f<<8;f=C[((D[j+(e|1)|0]^f>>>24)<<2)+93456>>2]^f<<8;e=e+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}if(!o){break j}f=C[((D[e+j|0]^f>>>24)<<2)+93456>>2]^f<<8}A[h+22|0]=f;A[h+23|0]=f>>>8;A[h+24|0]=f>>>16;A[h+25|0]=f>>>24;if(C[m+12>>2]==(D[h+22|0]|D[h+23|0]<<8|(D[h+24|0]<<16|D[h+25|0]<<24))){break f}e=i;A[h+22|0]=e;A[h+23|0]=e>>>8;A[h+24|0]=e>>>16;A[h+25|0]=e>>>24}C[g+20>>2]=0;C[g+24>>2]=0;e=C[g>>2];f=lj(h+1|0,79,n-1|0);if(!f){f=e+C[g+8>>2]|0}C[g+12>>2]=f-e;f=h-f|0;break e}l:{if(!b){e=C[g+12>>2];i=C[g+24>>2];f=C[g+20>>2];break l}e=C[g+12>>2];i=e+C[g>>2]|0;C[b>>2]=i;f=C[g+20>>2];C[b+4>>2]=f;C[b+8>>2]=f+i;i=C[g+24>>2];C[b+12>>2]=i}C[g+24>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;f=f+i|0;C[g+12>>2]=e+f}Ce=m+16|0;if((f|0)<0){e=C[a+8>>2];i=e-f|0;e=C[a+12>>2]-((f>>31)+(e>>>0>>0)|0)|0;C[a+8>>2]=i;C[a+12>>2]=e;continue}if(f){break b}if(!(c|d)){Ee=-1;return-1}C[105773]=0;i=-128;h=-1;if(!C[a+704>>2]){break a}if(!C[a>>2]){break c}f=C[g+4>>2];if((f|0)>=0){e=C[g+12>>2];if(e){j=C[g+8>>2]-e|0;C[g+8>>2]=j;if((j|0)>0){f=C[g>>2];Yf(f,e+f|0,j);f=C[g+4>>2]}C[g+12>>2]=0}e=f;f=C[g+8>>2];m:{n:{if((e-f|0)>=2048){e=C[g>>2];break n}f=f+6144|0;e=C[g>>2];o:{if(e){e=mf(e,f);break o}e=kf(f)}if(!e){e=C[g>>2];if(e){Re(e)}C[g>>2]=0;C[g+4>>2]=0;C[g+24>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;e=0;break m}C[g+4>>2]=f;C[g>>2]=e;f=C[g+8>>2]}e=e+f|0}}else{e=0}e=Fe[C[a+704>>2]](e,1,2048,C[a>>2])|0;if((e|0)>0){i=C[g+4>>2];if((i|0)<0){continue}e=e+C[g+8>>2]|0;if((e|0)>(i|0)){continue}C[g+8>>2]=e;continue}break}if(C[105773]|e){break a}}Ee=-1;return-2}h=C[a+12>>2];i=C[a+8>>2];c=i+f|0;b=c>>>0>>0?h+1|0:h;C[a+8>>2]=c;C[a+12>>2]=b}Ee=h;return i}function Kv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ce-16|0;Ce=j;l=C[a+72>>2];k=C[a+64>>2];i=C[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(C[a>>2]){case 0:if(bf(C[a+164>>2],2)){break f}if((ep(C[a+164>>2],j+12|0,1)|0)!=1){break f}g=D[j+12|0];C[a+44>>2]=g&128;f=g&31;C[a+40>>2]=f;d=1<>2]=d-256;if(f>>>0>16){break f}C[a+52>>2]=9;C[a+56>>2]=g>>>7;C[a+60>>2]=f>>>0>9?256:d-255|0;l=0;f=sm(a);if(f>>>0>255){break f}if(b){A[b|0]=f}if(c>>>0<2){break e}g=1;C[a>>2]=1;i=f;k=f;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}g=0;break b}d=1;i=f;k=f;break a}d=1}while(1){h:{i:{j:{k:{if(!d){e=sm(a);if((e|0)<0){break b}if((e|0)!=256){break k}if(!C[a+44>>2]){l=256;break j}A[a+32|0]=1;i=0;C[a+56>>2]=0;e=sm(a);if((e|0)<0){break h}while(1){if((e|0)!=256){k=0;break k}if(!C[a+44>>2]){k=0;l=256;break j}A[a+32|0]=1;C[a+56>>2]=0;e=sm(a);if((e|0)>=0){continue}break}break h}l:{while(1){g=C[a+92>>2];if(!g){break l}g=g-1|0;C[a+92>>2]=g;if(b){A[b+e|0]=D[g+C[a+88>>2]|0]}e=e+1|0;if((e|0)!=(c|0)){continue}break}d=c;break a}d=C[a+56>>2];if(d>>>0>2]){f=C[a+84>>2];if(f>>>0<=d>>>0){d=f?f+(f>>>2|0)|0:512;h=Ve(C[a+168>>2],3,f,d,C[a+76>>2],j+12|0);C[a+76>>2]=h;g=e;if(C[j+12>>2]){break b}g=h+(d<<1)|0;C[a+80>>2]=g;t(g,h+(f<<1)|0,f);C[a+84>>2]=d;d=C[a+56>>2]}B[C[a+76>>2]+(d<<1)>>1]=k;A[C[a+80>>2]+d|0]=i;C[a+56>>2]=C[a+56>>2]+1}C[a>>2]=1;k=l;g=e;d=0;continue}l=e;f=e;if(e>>>0<256){break i}}m:{f=l;e=f-256|0;d=C[a+56>>2];if(e>>>0>>0){break m}if(d>>>0>>0){break b}d=C[a+96>>2];e=C[a+92>>2];n:{if(d>>>0>e>>>0){d=C[a+88>>2];break n}f=((d>>>1|0)+d|0)+4|0;m=C[a+168>>2];o:{p:{h=C[a+88>>2];if((h|0)!=(a+100|0)){e=65536;if(f>>>0>65536){break p}e=f;break o}h=0;C[a+88>>2]=0;e=f>>>0>=65536?65536:f;d=0;break o}if((d|0)==65536){break b}}d=Ve(m,1,d,e,h,j+12|0);C[a+88>>2]=d;q:{if(!C[j+12>>2]){break q}break b}C[a+96>>2]=e;e=C[a+92>>2]}C[a+92>>2]=e+1;A[d+e|0]=i;f=k;if(f>>>0>=256){break m}break i}m=a+100|0;e=C[a+76>>2];while(1){if(!e){break b}d=C[a+96>>2];e=C[a+92>>2];r:{if(d>>>0>e>>>0){d=C[a+88>>2];break r}e=((d>>>1|0)+d|0)+4|0;n=C[a+168>>2];h=C[a+88>>2];s:{if((m|0)!=(h|0)){if(e>>>0<=65536){break s}e=65536;if((d|0)==65536){break b}break s}h=0;C[a+88>>2]=0;e=e>>>0>=65536?65536:e;d=0}d=Ve(n,1,d,e,h,j+12|0);C[a+88>>2]=d;t:{if(!C[j+12>>2]){break t}break b}C[a+96>>2]=e;e=C[a+92>>2]}f=f-256|0;h=D[f+C[a+80>>2]|0];C[a+92>>2]=e+1;A[d+e|0]=h;e=C[a+76>>2];f=E[e+(f<<1)>>1];if(f>>>0>255){continue}break}}d=C[a+96>>2];e=C[a+92>>2];u:{if(d>>>0>e>>>0){d=C[a+88>>2];break u}i=((d>>>1|0)+d|0)+4|0;m=C[a+168>>2];v:{w:{x:{y:{h=C[a+88>>2];if((h|0)!=(a+100|0)){e=65536;if(i>>>0>65536){break y}e=i;break x}h=0;C[a+88>>2]=0;e=i>>>0>=65536?65536:i;d=0;break x}if((d|0)==65536){break w}}d=Ve(m,1,d,e,h,j+12|0);C[a+88>>2]=d;if(!C[j+12>>2]){break v}}i=f;break b}C[a+96>>2]=e;e=C[a+92>>2]}C[a+92>>2]=e+1;A[d+e|0]=f;C[a>>2]=2;i=f;e=g;d=1;continue}break}k=0}d=g;C[a>>2]=3}C[a+72>>2]=l;C[a+68>>2]=i;C[a+64>>2]=k;Ce=j+16|0;return d}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,j=0,k=0,l=0,m=0,n=0,o=0;lf(b,D[417463],c);Fe[C[94434]](C[104375],b,c);n=Dh();if(C[104371]>0){a=C[104372];m=128;while(1){h=I(i,60);d=h+a|0;a:{if(C[d+8>>2]){break a}e=C[d+28>>2];b:{if(!(!e|e>>>0>=n>>>0)){C[d+36>>2]=0;C[d+20>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;d=C[104376];if(d){Fe[d|0](i);a=C[104372]}a=a+h|0;e=a;a=C[a+56>>2];if(a){while(1){d=C[a+12>>2];g=C[a+4>>2];if(g){Fe[g|0](i,C[a+8>>2])}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=d;if(a){continue}break}}C[e+56>>2]=0;break b}g=C[d+36>>2];if(!g){break b}a=C[d+48>>2];e=n-C[d+52>>2]|0;if(a>>>0<=e>>>0){lm(i,C[d+44>>2]);d=C[104372];a=h+d|0;if(C[a+36>>2]==1){C[a+28>>2]=0;C[a+20>>2]=0;C[a+4>>2]=0;a=C[104376];if(a){Fe[a|0](i);d=C[104372]}a=d+h|0;e=a;a=C[a+56>>2];if(a){while(1){d=C[a+12>>2];g=C[a+4>>2];if(g){Fe[g|0](i,C[a+8>>2])}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=d;if(a){continue}break}d=C[104372]}C[e+56>>2]=0}C[(d+h|0)+36>>2]=0;break b}d=C[d+40>>2];if((g|0)==1){lm(i,(I(d,a-e|0)>>>0)/(a>>>0)|0);break b}lm(i,(I(d,e)>>>0)/(a>>>0)|0)}a=C[104372];d=C[(h+a|0)+4>>2];if((d|0)<=0){break a}g=0;c:{if((c|0)<=0){break c}while(1){e=c-g|0;f=(d|0)<(e|0)?d:e;a=a+h|0;m=(I(C[a+16>>2],D[C[a>>2]+12|0])|0)/128|0;d=C[a+12>>2];a=C[a+56>>2];d:{if(!a){break d}e=Fe[C[94503]](f>>>0<=1?1:f)|0;if(e){C[94507]=C[94507]+1}if(!e){break d}gf(e,d,f);while(1){d=C[a>>2];if(d){Fe[d|0](i,e,f,C[a+8>>2])}a=C[a+12>>2];if(a){continue}break}d=e}On(b+g|0,d,E[208730],f,m);a=C[104372];if(C[(h+a|0)+12>>2]!=(d|0)){if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}a=C[104372];d=C[(h+a|0)+12>>2]}e=a+h|0;C[e+12>>2]=d+f;j=C[e+4>>2];d=j-f|0;C[e+4>>2]=d;g=f+g|0;if(!(C[e+20>>2]|(f|0)!=(j|0))){d=C[104376];if(d){Fe[d|0](i);a=C[104372]}a=a+h|0;e=a;a=C[a+56>>2];if(a){while(1){d=C[a+12>>2];j=C[a+4>>2];if(j){Fe[j|0](i,C[a+8>>2])}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=d;if(a){continue}break}}C[e+56>>2]=0;a=C[104372];d=C[(h+a|0)+4>>2]}if((d|0)<=0){break c}if((c|0)>(g|0)){continue}break}}e=a+h|0;o=e+20|0;f=C[e+20>>2];l=(f|0)!=0;e:{if(!f|(c|0)<=(g|0)){break e}d=C[e>>2];e=C[d+4>>2];k=C[d+8>>2];while(1){d=c-g|0;j=(d|0)<(k|0)?d:k;a=C[(a+h|0)+56>>2];f:{if(!a){break f}d=Fe[C[94503]](j>>>0<=1?1:j)|0;if(d){C[94507]=C[94507]+1}if(!d){break f}gf(d,e,j);while(1){e=C[a>>2];if(e){Fe[e|0](i,d,j,C[a+8>>2])}a=C[a+12>>2];if(a){continue}break}e=d}On(b+g|0,e,E[208730],j,m);a=C[104372];if(C[C[h+a>>2]+4>>2]!=(e|0)){if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}a=C[104372]}d=a+h|0;o=d+20|0;f=C[d+20>>2];if((f|0)>0){f=f-1|0;C[d+20>>2]=f}k=C[d>>2];e=C[k+4>>2];C[d+12>>2]=j+e;l=d;k=C[k+8>>2];d=k-j|0;C[l+4>>2]=d;l=(f|0)!=0;if(!f){break e}g=g+j|0;if((g|0)<(c|0)){continue}break}}if(!l|d){break a}if((f|0)>0){C[o>>2]=f-1}d=a+h|0;e=C[d>>2];C[d+12>>2]=C[e+4>>2];C[d+4>>2]=C[e+8>>2]}i=i+1|0;if((i|0)>2];if(d){Fe[d|0](-2,b,c,C[a+8>>2])}a=C[a+12>>2];if(a){continue}break}}a=C[104374];if(a){Fe[a|0](C[104373],b,c)}}function $g(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ce-112|0;Ce=j;k=i&2147483647;a:{b:{l=e&2147483647;m=!(b|c);if(!(d|l?l-2147418112>>>0<2147549184:m)){o=k-2147418112|0;if(!h&(o|0)==-2147418112?f|g:(o|0)==-2147418112&(h|0)!=0|o>>>0>2147549184){break b}}if(!(!d&(l|0)==2147418112?m:l>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(l^2147418112|c))){n=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:n;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(k^2147418112|g))){break a}if(!(b|d|(c|l))){if(f|h|(g|k)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}n=(k|0)==(l|0);r=n&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:n&d>>>0>>0|k>>>0>l>>>0;m=r;l=m?f:b;o=m?g:c;n=m?i:e;s=n;m=m?h:d;q=n&65535;d=r?d:h;e=r?e:i;t=e;n=e>>>16&32767;p=s>>>16&32767;if(!p){e=!(m|q);i=e;k=e?l:m;e=e<<6;i=L(i?o:q);e=e+((i|0)==32?L(k)+32|0:i)|0;Fg(j+96|0,l,o,m,q,e-15|0);m=C[j+104>>2];q=C[j+108>>2];o=C[j+100>>2];p=16-e|0;l=C[j+96>>2]}f=r?b:f;g=r?c:g;h=d;i=t&65535;if(!n){b=!(h|i);e=b;k=b?f:h;b=b<<6;e=L(e?g:i);b=b+((e|0)==32?L(k)+32|0:e)|0;Fg(j+80|0,f,g,h,i,b-15|0);n=16-b|0;h=C[j+88>>2];i=C[j+92>>2];g=C[j+84>>2];f=C[j+80>>2]}c=i<<3|h>>>29;b=h<<3|g>>>29;c=c|524288;h=m<<3|o>>>29;i=q<<3|m>>>29;r=s^t;e=g<<3|f>>>29;d=f<<3;c:{if((n|0)==(p|0)){break c}f=p-n|0;if(f>>>0>127){b=0;c=0;e=0;d=1;break c}Fg(j- -64|0,d,e,b,c,128-f|0);hj(j+48|0,d,e,b,c,f);b=C[j+56>>2];c=C[j+60>>2];e=C[j+52>>2];d=C[j+48>>2]|(C[j+64>>2]|C[j+72>>2]|(C[j+68>>2]|C[j+76>>2]))!=0}m=d;k=e;n=h;q=i|524288;e=o<<3|l>>>29;o=l<<3;l=e;d:{if((r|0)<0){f=0;g=0;h=0;i=0;if(!(m^o|b^n|(k^l|c^q))){break a}d=o-m|0;e=l-((m>>>0>o>>>0)+k|0)|0;f=n-b|0;g=(k|0)==(l|0)&m>>>0>o>>>0|k>>>0>l>>>0;h=f-g|0;b=(q-((b>>>0>n>>>0)+c|0)|0)-(f>>>0>>0)|0;i=b;if(b>>>0>524287){break d}b=!(h|i);f=b;g=b?d:h;b=b<<6;f=L(f?e:i);b=b+((f|0)==32?L(g)+32|0:f)|0;b=b-12|0;Fg(j+32|0,d,e,h,i,b);p=p-b|0;h=C[j+40>>2];i=C[j+44>>2];d=C[j+32>>2];e=C[j+36>>2];break d}e=k+l|0;d=m+o|0;e=d>>>0>>0?e+1|0:e;f=(k|0)==(e|0)&d>>>0>>0|e>>>0>>0;k=c+q|0;b=b+n|0;k=b>>>0>>0?k+1|0:k;h=b+f|0;i=h>>>0>>0?k+1|0:k;if(!(i&1048576)){break d}d=m&1|((e&1)<<31|d>>>1);e=h<<31|e>>>1;p=p+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}c=0;l=s&-2147483648;if((p|0)>=32767){h=c;i=l|2147418112;f=0;g=0;break a}n=0;e:{if((p|0)>0){n=p;break e}Fg(j+16|0,d,e,h,i,p+127|0);hj(j,d,e,h,i,1-p|0);d=C[j>>2]|(C[j+16>>2]|C[j+24>>2]|(C[j+20>>2]|C[j+28>>2]))!=0;e=C[j+4>>2];h=C[j+8>>2];i=C[j+12>>2]}o=d&7;d=(e&7)<<29|d>>>3;f=(o>>>0>4)+d|0;b=h<<29|e>>>3;g=d>>>0>f>>>0?b+1|0:b;d=(b|0)==(g|0)&d>>>0>f>>>0|b>>>0>g>>>0;b=c|((i&7)<<29|h>>>3);h=d+b|0;i=l|(i>>>3&65535|n<<16);i=b>>>0>h>>>0?i+1|0:i;f:{if((o|0)==4){b=0;k=g+b|0;d=f;c=f&1;f=f+c|0;g=d>>>0>f>>>0?k+1|0:k;b=(b|0)==(g|0)&c>>>0>f>>>0|b>>>0>g>>>0;h=b+h|0;i=b>>>0>h>>>0?i+1|0:i;break f}if(!o){break a}}}C[a>>2]=f;C[a+4>>2]=g;C[a+8>>2]=h;C[a+12>>2]=i;Ce=j+112|0}function Re(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=C[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=C[d>>2];d=d-b|0;if(d>>>0>>0<=255){b=b>>>3|0;e=C[d+12>>2];c=C[d+8>>2];if((e|0)==(c|0)){i=432424,j=C[108106]&rT(-2,b),C[i>>2]=j;break b}C[c+12>>2]=e;C[e+8>>2]=c;break b}h=C[d+24>>2];b=C[d+12>>2];c:{if((d|0)!=(b|0)){c=C[d+8>>2];C[c+12>>2]=b;C[b+8>>2]=c;break c}d:{e=d+20|0;c=C[e>>2];if(c){break d}e=d+16|0;c=C[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=C[e>>2];if(c){continue}e=b+16|0;c=C[b+16>>2];if(c){continue}break}C[g>>2]=0}if(!h){break b}e=C[d+28>>2];c=(e<<2)+432728|0;e:{if(C[c>>2]==(d|0)){C[c>>2]=b;if(b){break e}i=432428,j=C[108107]&rT(-2,e),C[i>>2]=j;break b}C[h+(C[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}C[b+24>>2]=h;c=C[d+16>>2];if(c){C[b+16>>2]=c;C[c+24>>2]=b}c=C[d+20>>2];if(!c){break b}C[b+20>>2]=c;C[c+24>>2]=b;break b}b=C[f+4>>2];if((b&3)!=3){break b}C[108108]=a;C[f+4>>2]=b&-2;C[d+4>>2]=a|1;C[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=C[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(C[108112]==(f|0)){C[108112]=d;a=C[108109]+a|0;C[108109]=a;C[d+4>>2]=a|1;if(C[108111]!=(d|0)){break a}C[108108]=0;C[108111]=0;return}if(C[108111]==(f|0)){C[108111]=d;a=C[108108]+a|0;C[108108]=a;C[d+4>>2]=a|1;C[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){b=b>>>3|0;e=C[f+12>>2];c=C[f+8>>2];if((e|0)==(c|0)){i=432424,j=C[108106]&rT(-2,b),C[i>>2]=j;break g}C[c+12>>2]=e;C[e+8>>2]=c;break g}h=C[f+24>>2];b=C[f+12>>2];h:{if((f|0)!=(b|0)){c=C[f+8>>2];C[c+12>>2]=b;C[b+8>>2]=c;break h}i:{e=f+20|0;c=C[e>>2];if(c){break i}e=f+16|0;c=C[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=C[e>>2];if(c){continue}e=b+16|0;c=C[b+16>>2];if(c){continue}break}C[g>>2]=0}if(!h){break g}e=C[f+28>>2];c=(e<<2)+432728|0;j:{if(C[c>>2]==(f|0)){C[c>>2]=b;if(b){break j}i=432428,j=C[108107]&rT(-2,e),C[i>>2]=j;break g}C[h+(C[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}C[b+24>>2]=h;c=C[f+16>>2];if(c){C[b+16>>2]=c;C[c+24>>2]=b}c=C[f+20>>2];if(!c){break g}C[b+20>>2]=c;C[c+24>>2]=b}C[d+4>>2]=a|1;C[a+d>>2]=a;if(C[108111]!=(d|0)){break f}C[108108]=a;return}C[f+4>>2]=b&-2;C[d+4>>2]=a|1;C[a+d>>2]=a}if(a>>>0<=255){b=(a&-8)+432464|0;c=C[108106];a=1<<(a>>>3);k:{if(!(c&a)){C[108106]=a|c;a=b;break k}a=C[b+8>>2]}C[b+8>>2]=d;C[a+12>>2]=d;C[d+12>>2]=b;C[d+8>>2]=a;return}e=31;if(a>>>0<=16777215){b=L(a>>>8|0);e=((a>>>38-b&1)-(b<<1)|0)+62|0}C[d+28>>2]=e;C[d+16>>2]=0;C[d+20>>2]=0;g=(e<<2)+432728|0;l:{m:{c=C[108107];b=1<>2]=d;C[d+24>>2]=g;break n}e=a<<((e|0)!=31?25-(e>>>1|0)|0:0);b=C[g>>2];while(1){c=b;if((C[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=C[g+16>>2];if(b){continue}break}C[g+16>>2]=d;C[d+24>>2]=c}C[d+12>>2]=d;C[d+8>>2]=d;break l}a=C[c+8>>2];C[a+12>>2]=d;C[c+8>>2]=d;C[d+24>>2]=0;C[d+12>>2]=c;C[d+8>>2]=a}a=C[108114]-1|0;C[108114]=a?a:-1}}function qu(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;g=Ce-32|0;Ce=g;i=C[a+4>>2];n=C[i+328>>2];C[g+28>>2]=0;p=C[i+136>>2];o=C[i+100>>2];l=C[C[i+128>>2]+48>>2];a:{b:{if(l){c=Fe[C[C[l>>2]>>2]](C[l+4>>2],b,g+12|0)|0;C[g+28>>2]=c;if(c){break a}f=C[i+288>>2];d=f&255;c:{if(!d){break c}j=f&3;c=C[g+12>>2];if(d>>>0<4){h=0}else{m=f&252;while(1){d=c;c=c+4|0;h=h+4|0;if((m|0)!=(h&255)){continue}break}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(!j){break c}while(1){h=D[c|0]|h<<8;c=c+1|0;k=k+1|0;if((j|0)!=(k&255)){continue}break}}c=C[g+16>>2];d:{if(!c){f=0;break d}e=c-f|0;f=hf(o,e,g+28|0);if(C[g+28>>2]){break d}t(f,C[g+12>>2]+C[i+288>>2]|0,e)}Fe[C[C[l>>2]+4>>2]](C[l+4>>2],g+12|0);c=C[g+28>>2];if(!c){break b}break a}d=C[i+292>>2]+C[i+288>>2]|0;c=bf(n,(C[i+284>>2]+C[i+308>>2]|0)+I(d,b)|0);if(c){break a}c=Bf(n,d<<1);C[g+28>>2]=c;if(c){break a}d=C[n+32>>2];k=C[i+288>>2];e=k&255;if(e){c=d;if(e>>>0>=4){j=k&252;while(1){e=c;c=c+4|0;h=h+4|0;if((j|0)!=(h&255)){continue}break}h=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24)}e=k&3;if(e){while(1){h=D[c|0]|h<<8;c=c+1|0;f=f+1|0;if((e|0)!=(f&255)){continue}break}}d=(k&255)+d|0}f=0;j=D[i+292|0];e:{if(!j){break e}c=d;if(j>>>0>=4){q=j&252;while(1){e=c;c=c+4|0;m=m+4|0;if((m&255)!=(q|0)){continue}break}e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);m=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}e=j&3;if(e){while(1){m=D[c|0]|m<<8;c=c+1|0;f=f+1|0;if((e|0)!=(f&255)){continue}break}}e=j&3;c=k+(d+j|0)|0;k=0;if(j>>>0<4){f=0}else{j=j&252;f=0;while(1){d=c;c=c+4|0;f=f+4|0;if((j|0)!=(f&255)){continue}break}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(!e){break e}while(1){f=D[c|0]|f<<8;c=c+1|0;k=k+1|0;if((e|0)!=(k&255)){continue}break}}xf(n);c=9;if(F[i+300>>2]<=h>>>0){break a}e=f-m|0;if(!e){c=0;break a}f=hf(o,e,g+28|0);c=C[g+28>>2];if(c){break a}c=_v(n,C[i+308>>2]+m|0,f,e);C[g+28>>2]=c;if(c){break a}}c=C[i+316>>2]+(h<<3)|0;C[a+1364>>2]=C[c>>2];c=C[c+4>>2];C[a+1372>>2]=0;C[a+1368>>2]=c;c=C[i+304>>2]+I(h,252)|0;d=C[c+220>>2];C[a+1376>>2]=C[c+216>>2];C[a+1380>>2]=d;h=C[c+228>>2];d=a+1384|0;C[d>>2]=C[c+224>>2];C[d+4>>2]=h;d=C[c+236>>2];C[a+1392>>2]=C[c+232>>2];C[a+1396>>2]=d;c=C[c+4>>2];C[a+1360>>2]=c;if((c|0)>=0){Fe[C[p+16>>2]](f,e,4330)}c=(c|0)>=0?c:0;r=g,s=Fe[C[a+1484>>2]](a,c+f|0,e-c|0)|0,C[r+28>>2]=s;if(f){Fe[C[o+8>>2]](o,f)}c=C[g+28>>2];if(c|!l){break a}if(!C[C[l>>2]+8>>2]){c=0;break a}c=C[a+32>>2];C[g+16>>2]=0;C[g+12>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+40>>2];C[g+20>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+44>>2];C[g+24>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=Fe[C[C[l>>2]+8>>2]](C[l+4>>2],b,0,g+12|0)|0;C[a+32>>2]=C[g+12>>2]<<16;C[a+40>>2]=C[g+20>>2]<<16;C[a+44>>2]=C[g+24>>2]<<16}Ce=g+32|0;return c|0}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}g=a+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break a}f=f-4|0;C[b+12>>2]=f;if((f|0)<=0){break a}c=1;g=D[g|0]|D[g+1|0]<<8;if(!g){break a}c=(g<<8|g>>>8)&65535;l=c>>>0<=1?1:c;j=c-1|0;a=a+4|0;g=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>e>>>0){return 0}if(e-a>>>0<6){return 0}c=C[b+12>>2]-6|0;C[b+12>>2]=c;if((c|0)<=0){return 0}e=C[b+32>>2];c=C[e+12>>2];C[b+4>>2]=c;e=c+C[e+16>>2]|0;C[b+8>>2]=e;b:{if(g>>>0>=j>>>0){break b}i=c;c=g>>>0>>0?a:0;if(!(i>>>0<=c>>>0&c>>>0>>0)){C[b+4>>2]=0;C[b+8>>2]=0;break b}C[b+4>>2]=c;e=e-c|0;d=D[c+2|0]|D[c+3|0]<<8;d=(d<<8|d>>>8)&65535;C[b+8>>2]=c+(e>>>0>>0?e:d)}c:{d:{if(F[b+4>>2]>a>>>0){break d}e=C[b+8>>2];if(e>>>0>>0){break d}f=e-a|0;if(f>>>0<6){break d}c=C[b+12>>2]-6|0;C[b+12>>2]=c;if((c|0)<=0){break d}d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<6|d>>>0>f>>>0){break d}d=c-d|0;C[b+12>>2]=d;if((d|0)<=0){break d}c=1;e:{f:{switch(D[a+4|0]){case 0:c=a+6|0;if(c>>>0>e>>>0|e-c>>>0<8){break d}f=d-8|0;C[b+12>>2]=f;if((d|0)<9){break d}c=D[c|0]|D[c+1|0]<<8;if(c){d=a+14|0;if(d>>>0>e>>>0){break d}c=I((c<<8|c>>>8)&65535,6);if(c>>>0>e-d>>>0){break d}e=f-c|0;C[b+12>>2]=e;c=0;if((e|0)<=0){break e}}c=1;break c;case 2:break f;default:break e}}g:{h:{h=C[b+4>>2];if(h>>>0>a>>>0){break h}e=C[b+8>>2];if(e>>>0>>0){break h}k=e-a|0;if(k>>>0<14){break h}c=C[b+12>>2];d=c-14|0;C[b+12>>2]=d;if((d|0)<=0){break h}d=a+8|0;if(d>>>0>e>>>0|e-d>>>0<2){break h}d=c-16|0;C[b+12>>2]=d;if((d|0)<=0){break h}d=D[a+8|0]|D[a+9|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|e>>>0>>0|e-d>>>0<4){break h}f=c-20|0;C[b+12>>2]=f;if((f|0)<=0){break h}f=d+2|0;if(f>>>0>e>>>0|e-f>>>0<2){break h}c=c-22|0;C[b+12>>2]=c;if((c|0)<=0){break h}i:{f=D[f|0]|D[f+1|0]<<8;if(!f){break i}d=d+4|0;if(d>>>0>e>>>0){break h}i=e-d|0;d=((f<<8|f>>>8)&65535)<<1;if(i>>>0>>0){break h}c=c-d|0;C[b+12>>2]=c;if((c|0)>0){break i}break h}d=a+10|0;if(d>>>0>e>>>0|e-d>>>0<2){break h}C[b+12>>2]=c-2;if((c|0)<3){break h}d=D[a+10|0]|D[a+11|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|e>>>0>>0|e-d>>>0<4){break h}C[b+12>>2]=c-6;if((c|0)<7){break h}h=d+2|0;if(h>>>0>e>>>0|e-h>>>0<2){break h}f=c-8|0;C[b+12>>2]=f;if((c|0)<9){break h}c=1;j:{h=D[h|0]|D[h+1|0]<<8;if(!h){break j}d=d+4|0;if(d>>>0>e>>>0){break h}i=e-d|0;e=((h<<8|h>>>8)&65535)<<1;if(i>>>0>>0){break h}f=f-e|0;C[b+12>>2]=f;if((f|0)>0){break j}break h}e=D[a+12|0]|D[a+13|0]<<8;k:{if(!e){break k}c=0;e=(e<<8|e>>>8)&65535;if(e>>>0>k>>>0){break k}c=f-e|0;C[b+12>>2]=c;c=(c|0)>0}break g}c=0}}break c}c=0}if(!c){a=C[b+32>>2];c=C[a+12>>2];C[b+4>>2]=c;C[b+8>>2]=c+C[a+16>>2];return 0}c=D[a+2|0]|D[a+3|0]<<8;e=C[b+32>>2];d=C[e+12>>2];C[b+4>>2]=d;e=C[e+16>>2]+d|0;C[b+8>>2]=e;a=((c<<8|c>>>8)&65535)+a|0;c=1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}return c}function jq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=C[b+4>>2];a:{if(i>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}j=C[b+12>>2]-4|0;C[b+12>>2]=j;if((j|0)<=0){break a}f=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>89478484){break a}if(!f){return 1}e=a+4|0;if(e>>>0>d>>>0){break a}f=I(f,48);if(f>>>0>d-e>>>0){break a}e=j-f|0;C[b+12>>2]=e;if((e|0)<=0){break a}p=1;f=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);r=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!r){break a}while(1){p=0;j=I(q,48)+a|0;f=j+4|0;if(f>>>0>>0|f>>>0>d>>>0|d-f>>>0<48){break a}m=C[c>>2];C[b+12>>2]=e-48;if((e|0)<49){break a}i=0;h=C[b+4>>2];b:{c:{if(h>>>0>f>>>0){break c}e=C[b+8>>2];if(e>>>0>>0|e-f>>>0<4){break c}l=C[b+12>>2]-4|0;C[b+12>>2]=l;if((l|0)<=0){break c}k=A[f|0];if((k|0)<0){break c}g=D[j+12|0]|D[j+13|0]<<8|(D[j+14|0]<<16|D[j+15|0]<<24);o=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);d=0;if(o>>>0>536870910){break b}d=1;if(!o){break b}m=m+(D[f+3|0]|(D[f+1|0]<<16|(k&255)<<24|D[f+2|0]<<8))|0;d=0;if(m>>>0>>0){break b}d=0;if(e>>>0>>0){break b}d=o<<3;if(d>>>0>e-m>>>0){break c}i=l-d|0;C[b+12>>2]=i;l=0;d=0;if((i|0)<=0){break b}while(1){i=0;d=m+(l<<3)|0;d:{if(d>>>0>2]){break d}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<8){break d}g=C[b+12>>2];f=g-8|0;C[b+12>>2]=f;if((f|0)<=0){break d}f=D[d+2|0]|D[d+3|0]<<8;h=(f<<8|f>>>8)&65535;f=D[d|0]|D[d+1|0]<<8;k=(f<<8|f>>>8)&65535;if(h>>>0>>0){break d}f=d+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break d}e=g-12|0;C[b+12>>2]=e;if((e|0)<=0){break d}e=A[f|0];if((e|0)<0){break d}i=1;d=D[d+7|0]|(D[d+5|0]<<16|(e&255)<<24|D[d+6|0]<<8);if(!d){break d}h=(h-k|0)+1|0;e:{f:{e=d+m|0;if(e>>>0>2]){break f}g=C[b+8>>2];if(g>>>0>>0|g-e>>>0<8){break f}k=C[b+12>>2];n=k-8|0;C[b+12>>2]=n;d=1;if((n|0)<=0){break f}g:{h:{i:{j:{n=D[e|0]|D[e+1|0]<<8;switch(((n<<8|n>>>8)&65535)-1|0){case 2:break i;case 0:break j;default:break g}}d=k-16|0;C[b+12>>2]=d;if((d|0)<=0){break f}h=h+1|0;if(h>>>0>1073741822){break f}if(!h){break h}e=e+8|0;if(e>>>0>g>>>0){break f}g=g-e|0;e=h<<2;if(g>>>0>>0){break f}e=d-e|0;C[b+12>>2]=e;d=0;if((e|0)>0){break h}break g}d=k-16|0;C[b+12>>2]=d;if((d|0)<=0){break f}h=h+1|0;if(h>>>0>2147483646){break f}if(!h){break h}e=e+8|0;if(e>>>0>g>>>0){break f}g=g-e|0;e=h<<1;if(g>>>0>>0){break f}e=d-e|0;C[b+12>>2]=e;d=0;if((e|0)<=0){break g}}d=1}break e}d=0}if(d){break d}i=0;d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[f|0]=0;A[f+1|0]=0;A[f+2|0]=0;A[f+3|0]=0;i=1}if(!i){break c}l=l+1|0;if((o|0)!=(l|0)){continue}break}}d=i}if(!d){break a}i=C[b+4>>2];f=j+20|0;if(i>>>0>f>>>0){break a}d=C[b+8>>2];if(f>>>0>d>>>0|d-f>>>0<12){break a}f=C[b+12>>2];e=f-12|0;C[b+12>>2]=e;if((e|0)<=0){break a}j=j+32|0;if(j>>>0>d>>>0|d-j>>>0<12){break a}e=f-24|0;C[b+12>>2]=e;if((e|0)<=0){break a}p=1;q=q+1|0;if((r|0)!=(q|0)){continue}break}}return p}function Zx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e=D[a|0]|D[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}e:{f:{g:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break f}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=mf(C[d+8>>2],I(b,20));if(e){break g}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break e}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Lg(b,a,717);return}h:{i:{j:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break i}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=mf(C[d+8>>2],I(b,20));if(e){break j}}C[d>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break h}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Lg(b,a,718);return}k:{l:{m:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){e=C[c+4>>2];f=e+1|0;f=(f|0)>0?f:0;if(f>>>0<=b>>>0){break l}while(1){b=((b>>>1|0)+b|0)+8|0;if(f>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=mf(C[c+8>>2],I(b,20));if(e){break m}}C[c>>2]=-1}C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;e=422704;break k}C[c>>2]=b;C[c+8>>2]=e;e=C[c+4>>2]}if(e>>>0>>0){We(C[c+8>>2]+I(e,20)|0,0,I(f-e|0,20))}C[c+4>>2]=f;e=(C[c+8>>2]+I(f,20)|0)-20|0}C[e+8>>2]=0;C[e+12>>2]=0;C[e+4>>2]=719;C[e>>2]=a;C[e+16>>2]=0;c=e+8|0;n:{o:{p:{q:{b=D[a+6|0]|D[a+7|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=205712}b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}f=D[a+2|0]|D[a+3|0]<<8;if(!f){break n}b=a+4|0;f=(f<<8|f>>>8)&65535;h=f&1;i=f-1|0;r:{if(!i){a=b;break r}k=f&65534;a=b;while(1){j=d;d=D[a|0]|D[a+1|0]<<8;j=j|1<<(d>>>12|d<<4);d=D[a+2|0]|D[a+3|0]<<8;d=j|1<<(d>>>12|d<<4);a=a+4|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(h){a=D[a|0]|D[a+1|0]<<8;d=1<<(a>>>12|a<<4)|d}C[c>>2]=d;g=0;a=b;d=0;if(i>>>0>=3){h=f&65532;c=0;while(1){d=1<>2]=d;c=f&3;d=0;if(i>>>0<3){a=0;break o}f=f&65532;a=0;g=0;while(1){a=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|a|1<<((D[b+2|0]|D[b+3|0]<<8)>>>1)|1<<((D[b+4|0]|D[b+5|0]<<8)>>>1)|1<<((D[b+6|0]|D[b+7|0]<<8)>>>1);b=b+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}fl(a,c);break n}if(c){while(1){a=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|a;b=b+2|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}C[e+16>>2]=a}}}function KS(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=d;j=tz(b+24|0);a=C[j+4>>2];a:{if((a|0)==65536){g=258}else{if((a|0)!=131072){break a}a=C[j+8>>2];a=D[a|0]|D[a+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535}if((f|0)<0){f=af(c)}if(!f){break a}a=C[j+28>>2];b:{if(a){break b}a=kf(g<<1);c:{d:{if(g){if(!a){break a}if(g>>>0>=8){m=g&65528;while(1){B[(h<<1)+a>>1]=h;i=h|1;B[(i<<1)+a>>1]=i;i=h|2;B[(i<<1)+a>>1]=i;i=h|3;B[(i<<1)+a>>1]=i;i=h|4;B[(i<<1)+a>>1]=i;i=h|5;B[(i<<1)+a>>1]=i;i=h|6;B[(i<<1)+a>>1]=i;i=h|7;B[(i<<1)+a>>1]=i;h=h+8|0;l=l+8|0;if((m|0)!=(l|0)){continue}break}}l=g&7;if(l){while(1){B[(h<<1)+a>>1]=h;h=h+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}iq(a,g,j);h=C[j+28>>2];if(!h){break d}Re(a);a=h;break b}if(!a){break a}iq(a,0,j);h=C[j+28>>2];if(h){break c}}C[j+28>>2]=a;break b}Re(a);a=h}l=g-1|0;o=C[j+20>>2];p=C[j+16>>2];q=C[j+24>>2];m=C[j+8>>2];h=0;g=C[j+4>>2];r=(g|0)==131072;s=(g|0)!=65536;e:{while(1){n=h+l|0;j=E[(n&-2)+a>>1];f:{if(!r){k=0;g=0;if(j>>>0>257|s){break f}g=j<<2;k=C[g+165360>>2];g=C[g+165364>>2]+(k^-1)|0;k=k+163504|0;break f}k=0;g=0;i=D[m|0]|D[m+1|0]<<8;if(j>>>0>=((i<<8|i>>>8)&65535)>>>0){break f}g=m+(j<<1)|0;g=D[g+2|0]|D[g+3|0]<<8;i=(g<<8|g>>>8)&65535;if(i>>>0<=257){g=i<<2;k=C[g+165360>>2];g=C[g+165364>>2]+(k^-1)|0;k=k+163504|0;break f}g=0;i=i-258|0;if(i>>>0>=p>>>0){break f}g=C[(i<<2)+o>>2]+q|0;k=g+1|0;g=D[g|0]}i=n>>>1|0;if((f|0)!=(g|0)){g=f-g|0}else{g=Hg(c,k,f)}g:{if((g|0)<0){l=i-1|0;break g}if(!g){break e}h=i+1|0}if((h|0)<=(l|0)){continue}break}h=0;break a}C[e>>2]=j;h=1}if(h){b=1}else{a=C[b+56>>2];h:{if(a){break h}while(1){f=C[b>>2];if(!f){a=205712;break h}a=df(1,232);if(!a){a=205712;C[b+56>>2]=205712;break h}vq(a,f);if(!C[b+56>>2]){C[b+56>>2]=a;break h}Re(C[a+228>>2]);C[a+228>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;ng(a);Re(a);a=C[b+56>>2];if(!a){continue}break}}b=0;if((d|0)<0){d=af(c)}i:{if(!d){break i}f=C[a+224>>2];if((f|0)<=0){break i}j=C[a+228>>2];b=f-1|0;f=0;j:{while(1){h=b+f>>>1|0;k=j+(h<<4)|0;g=C[k+4>>2];k=cf(c,C[k>>2],d>>>0>>0?d:g);g=k?k:d-g|0;k:{if((g|0)<0){b=h-1|0;break k}if(!g){break j}f=h+1|0}if((b|0)>=(f|0)){continue}break}b=0;break i}f=j+(h<<4)|0;d=E[f+12>>1];l:{b=C[a+52>>2];m:{n:{if((b|0)!=205712){d=hq(b,d,C[a+216>>2]);break n}o:{switch(C[a+172>>2]){case 0:b=0;if(d>>>0<229){break n}break i;case 1:a=0;b=164;d=d&65535;p:{q:{while(1){c=a+b>>>1|0;h=E[(c<<2)+157200>>1];r:{if(h>>>0>d>>>0){b=c-1|0;break r}if((d|0)==(h|0)){break q}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break p}d=D[(c<<2)+157202|0]}break n;case 2:break o;default:break m}}a=0;b=85;d=d&65535;s:{t:{while(1){c=a+b>>>1|0;h=E[(c<<2)+157872>>1];u:{if(h>>>0>d>>>0){b=c-1|0;break u}if((d|0)==(h|0)){break t}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break s}d=D[(c<<2)+157874|0]}}if(d){break l}d=E[f+12>>1]}a=d&65535;d=0;if(!a){break l}b=0;break i}C[e>>2]=d;b=1}}return b|0}function Uq(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;e=C[a+8>>2];if(e){c=C[e+8>>2];if(c){while(1){c=c-1|0;b=C[e+12>>2]+I(c,12)|0;d=C[b+8>>2];b=C[b+4>>2];C[e+8>>2]=c;if(d){Fe[d|0](b);c=C[e+8>>2]}if(c){continue}break}}Re(C[e+12>>2]);Re(e)}c=C[a+200>>2];if(c){while(1){b=C[c+4>>2];Cp(C[c>>2]);Re(c);c=b;if(b){continue}break}}d=0;b=C[a+52>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+56>>2];if(!(!b|(b|0)==205712)){Ue(C[b+44>>2]);Re(b)}b=C[a+60>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+64>>2];if(!(!b|(b|0)==205712)){Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b)}b=C[a+68>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+72>>2];if(!(!b|(b|0)==205712)){Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;Re(C[b+28>>2]);Ue(C[b>>2]);Re(b)}b=C[a+76>>2];if(!(!b|(b|0)==205712)){Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;Ue(C[b+8>>2]);Re(b)}b=C[a+80>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+84>>2];if(!(!b|(b|0)==205712)){Ue(C[b>>2]);Re(b)}b=C[a+88>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+92>>2];if(!(!b|(b|0)==205712)){Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b)}b=C[a+96>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+100>>2];if(!(!b|(b|0)==205712)){Ue(C[b+20>>2]);C[b+20>>2]=0;Ue(C[b+24>>2]);Re(b)}b=C[a+104>>2];if(!(!b|(b|0)==205712)){Re(C[b+228>>2]);C[b+228>>2]=0;C[b+220>>2]=0;C[b+224>>2]=0;ng(b);Re(b)}b=C[a+108>>2];if(!(!b|(b|0)==205712)){Ph(b);Re(b)}b=C[a+112>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+116>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+120>>2];if(!(!b|(b|0)==205712)){Ue(C[b>>2]);Re(b)}b=C[a+124>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+128>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+132>>2];if(!(!b|(b|0)==205712)){Ue(C[b>>2]);Re(b)}c=C[a+136>>2];if(!(!c|(c|0)==205712)){if(C[c+4>>2]){while(1){b=C[c+8>>2]+I(d,24)|0;Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}Re(C[c+8>>2]);Ue(C[c>>2]);Re(c)}c=C[a+140>>2];if(!(!c|(c|0)==205712)){if(C[c+4>>2]){d=0;while(1){b=C[c+8>>2]+I(d,24)|0;Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}Re(C[c+8>>2]);Ue(C[c>>2]);Re(c)}b=C[a+144>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+148>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+152>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+156>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+160>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+164>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+168>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+172>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+176>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+180>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+184>>2];if(!(!b|(b|0)==205712)){Ue(C[b>>2]);C[b>>2]=0;Ue(C[b+4>>2]);Re(b)}b=C[a+188>>2];if(!(!b|(b|0)==205712)){Ue(C[b>>2]);Re(b)}b=C[a+192>>2];if(!(!b|(b|0)==205712)){Ue(C[b>>2]);Re(b)}b=C[a+196>>2];if(!(!b|(b|0)==205712)){Ue(b)}b=C[a+20>>2];if(b){Fe[b|0](C[a+16>>2])}Re(a)}}function WN(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,k=0,l=0,m=0,n=0,o=0;m=Ce-16|0;Ce=m;h=hf(a,2496,m+12|0);d=C[m+12>>2];if(!d){C[h>>2]=a;C[h+212>>2]=E[b+120>>1];g=D[b+124|0];a:{if(!g){break a}a=h+224|0;d=b+128|0;i=g&7;b:{if(!i){e=g;break b}e=g;while(1){C[a>>2]=B[d>>1];e=e-1|0;d=d+2|0;a=a+12|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(g>>>0<8){break a}while(1){C[a>>2]=B[d>>1];C[a+12>>2]=B[d+2>>1];C[a+24>>2]=B[d+4>>1];C[a+36>>2]=B[d+6>>1];C[a+48>>2]=B[d+8>>1];C[a+60>>2]=B[d+10>>1];C[a+72>>2]=B[d+12>>1];C[a+84>>2]=B[d+14>>1];d=d+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}e=1;C[h+208>>2]=g+1;C[h+8>>2]=E[b+122>>1];g=D[b+125|0];c:{if(!g){break c}a=h+20|0;d=b+154|0;k=g&7;d:{if(!k){f=g;break d}i=0;f=g;while(1){C[a>>2]=B[d>>1];f=f-1|0;d=d+2|0;a=a+12|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}if(g>>>0<8){break c}while(1){C[a>>2]=B[d>>1];C[a+12>>2]=B[d+2>>1];C[a+24>>2]=B[d+4>>1];C[a+36>>2]=B[d+6>>1];C[a+48>>2]=B[d+8>>1];C[a+60>>2]=B[d+10>>1];C[a+72>>2]=B[d+12>>1];C[a+84>>2]=B[d+14>>1];d=d+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}C[h+4>>2]=g+1;a=0;d=h+412|0;f=b+12|0;g=b+40|0;qv(d,D[b+8|0],f,D[b+9|0],g,C[b+116>>2],0);i=b+60|0;k=b+88|0;qv(d,D[b+10|0],i,D[b+11|0],k,C[b+116>>2],1);d=D[b+8|0];e:{if(!d){break e}j=(d-1>>>1|0)+1|0;l=j&1;if(d>>>0>=3){n=j&-2;j=0;while(1){d=a<<1;o=E[f+(d|6)>>1]-E[f+(d|4)>>1]<<16>>16;d=E[f+(d|2)>>1]-E[d+f>>1]<<16>>16;e=e<<16>>16;e=(d|0)>(e|0)?d:e;e=(e|0)<(o|0)?o:e;a=a+4|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!l){break e}a=a<<1;a=E[f+(a|2)>>1]-E[a+f>>1]<<16>>16;e=(a|0)>(e|0)?a:e}a=D[b+9|0];f:{if(!a){break f}f=(a-1>>>1|0)+1|0;j=f&1;g:{if(a>>>0<3){f=0;break g}l=f&-2;f=0;a=0;while(1){d=f<<1;n=E[g+(d|6)>>1]-E[g+(d|4)>>1]<<16>>16;d=E[g+(d|2)>>1]-E[d+g>>1]<<16>>16;e=e<<16>>16;e=(d|0)>(e|0)?d:e;e=(e|0)<(n|0)?n:e;f=f+4|0;a=a+2|0;if((l|0)!=(a|0)){continue}break}}if(!j){break f}a=f<<1;a=E[g+(a|2)>>1]-E[a+g>>1]<<16>>16;e=e<<16>>16;e=(a|0)>(e|0)?a:e}a=D[b+10|0];h:{if(!a){break h}f=(a-1>>>1|0)+1|0;g=f&1;i:{if(a>>>0<3){d=0;break i}j=f&-2;d=0;f=0;while(1){a=d<<1;l=E[i+(a|6)>>1]-E[i+(a|4)>>1]<<16>>16;a=E[i+(a|2)>>1]-E[a+i>>1]<<16>>16;e=e<<16>>16;a=(a|0)>(e|0)?a:e;e=(a|0)<(l|0)?l:a;d=d+4|0;f=f+2|0;if((j|0)!=(f|0)){continue}break}}if(!g){break h}a=d<<1;a=E[i+(a|2)>>1]-E[a+i>>1]<<16>>16;e=e<<16>>16;e=(a|0)>(e|0)?a:e}a=D[b+11|0];j:{if(!a){break j}f=(a-1>>>1|0)+1|0;g=f&1;k:{if(a>>>0<3){d=0;break k}i=f&-2;d=0;f=0;while(1){a=d<<1;j=E[k+(a|6)>>1]-E[k+(a|4)>>1]<<16>>16;a=E[k+(a|2)>>1]-E[a+k>>1]<<16>>16;e=e<<16>>16;a=(a|0)>(e|0)?a:e;e=(a|0)<(j|0)?j:a;d=d+4|0;f=f+2|0;if((i|0)!=(f|0)){continue}break}}if(!g){break j}a=d<<1;a=E[k+(a|2)>>1]-E[a+k>>1]<<16>>16;e=e<<16>>16;e=(a|0)>(e|0)?a:e}a=Ze(1e3,e&65535);e=C[b+108>>2];C[h+2476>>2]=(a|0)>(e|0)?e:a;C[h+2480>>2]=C[b+112>>2];a=C[b+116>>2];C[h+404>>2]=0;C[h+408>>2]=0;C[h+200>>2]=0;C[h+204>>2]=0;C[h+2488>>2]=a;d=C[m+12>>2]}C[c>>2]=h;Ce=m+16|0;return d|0}function fh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=C[a>>2];if(!d){j=a-88|0;while(1){d=C[j>>2];if(!d){return 205712}h=df(1,12);if(!h){C[a>>2]=205712;return 205712}c=Ce-48|0;Ce=c;C[c+8>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;A[c+24|0]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;b=Qf(d);A[c+40|0]=1;C[c+36>>2]=b;d=Of(d,1196643650);a:{if(!d){break a}b=C[d>>2];if(!b){break a}C[d>>2]=b+1}A[c+24|0]=0;b=d;C[c+32>>2]=b;f=C[b+12>>2];C[c+4>>2]=f;e=C[b+16>>2];C[c+8>>2]=e+f;C[c+28>>2]=0;if(e>>>0>67108862){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}C[c+12>>2]=e;C[c+20>>2]=0;C[c>>2]=0;b:{c:{if(!f){break c}d:{e:{f:{g:{if(Np(f,c)){break g}h:{if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(!b){break h}while(1){A[c+24|0]=1;b=C[c+32>>2];f=C[b+12>>2];C[c+4>>2]=f;e=C[b+16>>2];C[c+8>>2]=e+f;C[c+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}else{e=1073741823}C[c+12>>2]=e;C[c+20>>2]=0;C[c>>2]=0;if(!f){break c}if(Np(f,c)){break g}if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(b){continue}break}}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break f}if(!C[c+28>>2]){break e}C[c+28>>2]=0;b=Np(f,c);f=C[c+28>>2];Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if(f){break f}if(b){break d}}Ue(d);d=205712;break b}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}if(C[d+4>>2]){C[d+4>>2]=0}break b}Ue(b);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}C[h>>2]=d;b=d?d:205712;b=F[b+16>>2]<10?205712:C[b+12>>2];f=D[b+8|0]|D[b+9|0]<<8;if(f){b=b+((f<<8|f>>>8)&65535)|0}else{b=205712}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[h+4>>2]=b;f=df(b,24);C[h+8>>2]=f;if(!f){C[h+4>>2]=0;Ue(d);C[h>>2]=0;C[h>>2]=205712;b=C[h+4>>2]}if(b){f=0;while(1){d=205712;i=C[h+8>>2];e=205712;b=C[h>>2];b=b?b:205712;b=F[b+16>>2]<10?205712:C[b+12>>2];g=D[b+8|0]|D[b+9|0]<<8;if(g){e=b+((g<<8|g>>>8)&65535)|0}b=i+I(f,24)|0;g=D[e|0]|D[e+1|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=f>>>0){break i}g=(f<<1)+e|0;g=D[g+2|0]|D[g+3|0]<<8;if(!g){break i}d=((g<<8|g>>>8)&65535)+e|0}C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[c+4>>2]=b;C[c>>2]=0;py(d,c);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[c+4>>2]=b+12;C[c>>2]=0;b=D[d+4|0]|D[d+5|0]<<8;if(b){e=D[d|0]|D[d+1|0]<<8;i=(e<<8|e>>>8)&65535;e=d+4|0;b=(b<<8|b>>>8)&65535;k=b>>>0<=1?1:b;b=0;while(1){g=D[e|0]|D[e+1|0]<<8;g=((g<<8|g>>>8)&65535)>>>0<=b>>>0?205712:(e+(b<<1)|0)+2|0;g=D[g|0]|D[g+1|0]<<8;if(g){g=((g<<8|g>>>8)&65535)+d|0}else{g=205712}Op(g,c,i);b=b+1|0;if((k|0)!=(b|0)){continue}break}}f=f+1|0;if(f>>>0>2]){continue}break}}Ce=c+48|0;if(!C[a>>2]){C[a>>2]=h;return h}if(C[h+4>>2]){d=0;while(1){c=C[h+8>>2]+I(d,24)|0;Re(C[c+20>>2]);C[c+20>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}Re(C[h+8>>2]);Ue(C[h>>2]);Re(h);d=C[a>>2];if(!d){continue}break}}return d}function lz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=I(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){g=a+c|0;j=C[g>>2];i=I(b>>>1|0,c)+a|0;k=C[i>>2];d=C[g+4>>2];f=C[i+4>>2];e=cf(j,k,d>>>0>>0?d:f);e=((e?e:d-f|0)|0)>0;f=I(b-1|0,c);h=f+a|0;n=h+m|0;p=C[n>>2];b=e?g:i;o=C[b+4>>2];d=C[n+4>>2];q=cf(e?j:k,p,d>>>0>o>>>0?o:d);if(((q?q:o-d|0)|0)>0){g=e?i:g;b=C[g+4>>2];e=cf(e?k:j,p,b>>>0>>0?b:d);b=((e?e:b-d|0)|0)>0?g:n}if(!((b|0)==(h|0)|(c|0)<=0)){e=b+c|0;d=h;while(1){g=D[b|0];A[b|0]=D[d|0];A[d|0]=g;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}a:{if((f|0)<=0){d=0;break a}i=h;e=h;g=a;f=g;while(1){b:{if(e>>>0<=f>>>0){break b}while(1){b=C[f+4>>2];d=C[h+4>>2];j=cf(C[f>>2],C[h>>2],b>>>0>>0?b:d);b=j?j:b-d|0;if((b|0)<=0){if(!b){if(!((c|0)<=0|f>>>0<=g>>>0)){j=c+g|0;b=g;d=f;while(1){k=D[b|0];A[b|0]=D[d|0];A[d|0]=k;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}g=c+g|0}f=c+f|0;if(f>>>0>>0){continue}break b}break}while(1){c:{k=e;e=e+m|0;b=C[e+4>>2];d:{e:{d=C[h+4>>2];j=cf(C[e>>2],C[h>>2],b>>>0>>0?b:d);b=j?j:b-d|0;if(!b){j=i+m|0;if(i>>>0<=k>>>0){break e}b=e;d=j;if((c|0)<=0){break e}while(1){i=D[b|0];A[b|0]=D[d|0];A[d|0]=i;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}break e}if((b|0)>=0){break d}if(!((c|0)<=0|e>>>0<=f>>>0)){j=c+f|0;b=f;d=e;while(1){k=D[b|0];A[b|0]=D[d|0];A[d|0]=k;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}f=c+f|0;break c}i=j}if(e>>>0>f>>>0){continue}}break}if(e>>>0>f>>>0){continue}}break}f=e-g|0;f:{if((a|0)==(g|0)|(e|0)==(g|0)){break f}b=g-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break f}g=a+f|0;b=a+b|0;d=a;while(1){h=D[d|0];A[d|0]=D[b|0];A[b|0]=h;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break f}if((b|0)<=0){break f}g=a+b|0;b=a+f|0;d=a;while(1){h=D[d|0];A[d|0]=D[b|0];A[b|0]=h;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=i-e|0;if((e|0)==(i|0)|(i|0)==(l|0)){break a}b=l-i|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+e|0;b=d+e|0;while(1){h=D[e|0];A[e|0]=D[b|0];A[b|0]=h;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}g=d+e|0;b=b+e|0;while(1){h=D[e|0];A[e|0]=D[b|0];A[b|0]=h;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}}lz(a,(f>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+I(c,b)|0;if(b>>>0>=10){continue}break}}e=a+c|0;g:{if(l>>>0<=e>>>0){break g}i=0-c|0;if((c|0)>0){while(1){f=e;h:{if(a>>>0>=e>>>0){break h}while(1){g=f+i|0;b=C[g+4>>2];d=C[f+4>>2];h=cf(C[g>>2],C[f>>2],b>>>0>>0?b:d);if(((h?h:b-d|0)|0)<=0){break h}b=g;d=f;while(1){h=D[b|0];A[b|0]=D[d|0];A[d|0]=h;d=d+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}f=g;if(f>>>0>a>>>0){continue}break}}e=c+e|0;if(l>>>0>e>>>0){continue}break g}}while(1){i:{if(a>>>0>=e>>>0){break i}f=C[e>>2];b=C[e+4>>2];d=e;while(1){d=d+i|0;h=C[d>>2];g=C[d+4>>2];f=cf(h,f,b>>>0>g>>>0?g:b);if(((f?f:g-b|0)|0)<=0){break i}f=h;b=g;if(a>>>0>>0){continue}break}}e=c+e|0;if(l>>>0>e>>>0){continue}break}}}function RI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ce-464|0;Ce=c;C[c+424>>2]=C[25938];b=C[25937];C[c+416>>2]=C[25936];C[c+420>>2]=b;b=C[25935];C[c+408>>2]=C[25934];C[c+412>>2]=b;b=C[25933];C[c+400>>2]=C[25932];C[c+404>>2]=b;b=C[25931];C[c+392>>2]=C[25930];C[c+396>>2]=b;b=C[25929];C[c+384>>2]=C[25928];C[c+388>>2]=b;b=C[25927];C[c+376>>2]=C[25926];C[c+380>>2]=b;b=C[25925];C[c+368>>2]=C[25924];C[c+372>>2]=b;e=C[a+20>>2];d=C[a+12>>2];g=C[a+16>>2];b=C[a+4>>2];C[c+84>>2]=C[a+8>>2];C[c+80>>2]=(b|0)==1?17125:7750;C[c+76>>2]=b;C[c+72>>2]=g;C[c+68>>2]=d;C[c+64>>2]=e;b=c+96|0;e=b;a:{b:{c:{b=rf(b,256,34138,c- -64|0);if((b|0)>=256){d=b+1|0;b=d;e=Fe[C[94503]](b>>>0<=1?1:b)|0;if(e){C[94507]=C[94507]+1}if(!e){e=c+96|0;break c}g=C[a+20>>2];f=C[a+12>>2];i=C[a+16>>2];b=C[a+4>>2];C[c+52>>2]=C[a+8>>2];C[c+48>>2]=(b|0)==1?17125:7750;C[c+44>>2]=b;C[c+40>>2]=i;C[c+36>>2]=f;C[c+32>>2]=g;b=rf(e,d,34138,c+32|0)}if((b|0)>=0){break c}b=2;if((c+96|0)!=(e|0)){break b}break a}C[c+16>>2]=e;Gk(34928,c+16|0);a=Ug(23194);if(a){if(e?(c+96|0)!=(e|0):0){Fe[C[94506]](e);C[94507]=C[94507]-1}if(!uf(a,3674)){b=2;break a}if(!uf(a,14510)){b=1;break a}if(!uf(a,1064)){b=0;break a}if(!uf(a,16772)){b=3;break a}b=uf(a,16765)?2:4;break a}a=C[105668];d:{e:{if(!a){break e}a=C[a+380>>2];if(!a){break e}while(1){b=a;if(D[b+49|0]&2){break d}a=C[a+172>>2];if(a){continue}break}}b=0}a=0;f:{if(!b){break f}a=0;if(!(uk(b)&1)){break f}pn(b);a=b}b=c+436|0;lf(b,0,28);C[c+452>>2]=5;C[c+448>>2]=e;C[c+444>>2]=20628;C[c+440>>2]=a;C[c+436>>2]=32;C[c+456>>2]=c+368;f=c+364|0;d=Ce-48|0;Ce=d;g:{if(!b){C[d>>2]=21851;b=Qe(19745,d);break g}if(C[b+16>>2]<0){b=Qe(6775,0);break g}C[105669]=C[105669]+1;g=C[104774];i=C[105569];li(0);Kn(0);j=Qs(1);Vs();gf(d+16|0,b,28);if(!C[d+24>>2]){C[d+24>>2]=34979}if(!C[d+28>>2]){C[d+28>>2]=34979}C[105620]=128;C[105619]=422496;C[105618]=0;b=C[105668];h:{i:{if(!b){break i}h=C[b+336>>2];if(!h){break i}b=Fe[h|0](b,d+16|0,f?f:d+44|0)|0;if((b|0)!=-1){break h}}b=-1;C[105620]=128;C[105619]=422496;f=34979;j:{if(!C[105618]){break j}f=C[105619]}if(D[f|0]){break h}Qe(18078,0)}C[105669]=C[105669]-1;k:{if(!g){break k}f=C[105668];if(!f){Qe(19865,0);break k}if(C[g>>2]!=(f+388|0)){Qe(2168,0);break k}if(!(D[g+48|0]&4)){break k}h=C[f+92>>2];if(!h){break k}Fe[h|0](f,g)}Qs(j);Kn(i);li(0)}Ce=d+48|0;l:{if(b){while(1){C[c>>2]=e;A[c+94|0]=105;A[c+95|0]=0;b=Ia(382624,c+94|0,c|0)|0;if(!uf(b,22170)){Re(b);b=2;break l}if(!uf(b,11257)){Re(b);b=0;break l}if(!uf(b,14663)){Re(b);b=3;break l}d=uf(b,28750);Re(b);if(d){continue}break}b=4;break l}b=C[c+364>>2];b=(b|0)==-1?3:b}if(a){m:{d=C[105668];if(!d){Qe(19865,0);break m}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);break m}n:{if(!(D[a+48|0]&192)){break n}g=C[d+104>>2];if(!g){break n}Fe[g|0](d,a)}}}if((c+96|0)==(e|0)){break a}}if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}}Ce=c+464|0;return b|0}function Ly(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if((D[a|0]|D[a+1|0]<<8)==2560){a:{c=D[a+4|0]|D[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=b>>>0){d=D[a+6|0]|D[a+7|0]<<8;f=(d<<8|d>>>8)&65535;d=b-c|0;if(f>>>0>d>>>0){break a}}a=C[51428];return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}b=D[a+2|0]|D[a+3|0]<<8;if(!b){return 0}c=0;f=a;b=(b<<8|b>>>8)&65535;a=I(b,d);a=(a|0)<0?205712:(f+a|0)+8|0;b=b>>>0<=1?1:b;e=b&3;if(b-1>>>0<3){b=0}else{g=b&65532;b=0;while(1){d=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(e){while(1){b=D[a|0]|b<<8;a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return b}b:{c:{d:{e:{f:{g:{e=D[a|0]|D[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 4:break c;case 6:break d;case 8:break e;case 2:break f;case 0:break g;default:break b}}d=b>>>0>>0?(b|0)<0?205712:((b<<2)+a|0)+2|0:0;break b}g=a+12|0;e=0;c=D[a+4|0]|D[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=d;h:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;c=0;break h}a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;d=g+I(a,d-1|0)|0;c=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break h}c=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}c=f+c|0;i:{if((c|0)<=0){break i}c=c-1|0;d=0;while(1){h=c+d>>>1|0;e=g+I(h,a)|0;f=D[e+2|0]|D[e+3|0]<<8;j:{if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){d=D[e|0]|D[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){break i}d=h+1|0;break j}c=h-1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+4|0:0;break b}c=D[a+2|0]|D[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break b}b=b-c|0;e=D[a+4|0]|D[a+5|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){break b}d=(b|0)<0?205712:((b<<2)+a|0)+6|0;break b}g=a+12|0;e=0;c=D[a+4|0]|D[a+5|0]<<8;d=(c<<8|c>>>8)&65535;k:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;c=0;break k}a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;c=g+I(a,d-1|0)|0;c=(D[c|0]|D[c+1|0]<<8)==65535?-1:0}c=d+c|0;l:{if((c|0)<=0){break l}c=c-1|0;d=0;while(1){h=c+d>>>1|0;e=g+I(h,a)|0;f=D[e|0]|D[e+1|0]<<8;f=(f<<8|f>>>8)&65535;m:{if(f>>>0>b>>>0){c=h-1|0;break m}if((b|0)==(f|0)){break l}d=h+1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+2|0:0;break b}c=D[a+4|0]|D[a+5|0]<<8;g=(c<<8|c>>>8)&65535;h=a+12|0;n:{if(!c){c=D[a+2|0]|D[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break n}e=D[a+2|0]|D[a+3|0]<<8;f=(e<<8|e>>>8)&65535;e=h+I(f,g-1|0)|0;c=0;if((D[e|0]|D[e+1|0]<<8)!=65535){break n}c=(D[e+2|0]|D[e+3|0]<<8)==65535?-1:0}c=c+g|0;if((c|0)<=0){break b}c=c-1|0;while(1){g=c+d>>>1|0;e=h+I(g,f)|0;i=D[e+2|0]|D[e+3|0]<<8;i=(i<<8|i>>>8)&65535;o:{if(i>>>0<=b>>>0){d=D[e|0]|D[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=g+1|0;break o}c=a;a=D[e+4|0]|D[e+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;d=(a|0)<0?205712:c+(a<<2)|0;break b}c=g-1|0}if((c|0)>=(d|0)){continue}break}d=0}a=d?d:205712;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function zA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0;a:{if((e|0)<=0){break a}f=e&1;b:{if((e|0)==1){e=0;break b}k=e&-2;e=0;while(1){i=e<<2;if(C[i+d>>2]){C[(j<<2)+c>>2]=C[c+i>>2];j=j+1|0}i=(e|1)<<2;if(C[i+d>>2]){C[(j<<2)+c>>2]=C[c+i>>2];j=j+1|0}e=e+2|0;m=m+2|0;if((k|0)!=(m|0)){continue}break}}c:{if(!f){break c}v=d;d=e<<2;if(!C[v+d>>2]){break c}C[(j<<2)+c>>2]=C[c+d>>2];j=j+1|0}if(!j){break a}d=Ce;v=d;n=C[b>>2];e=C[n+4>>2];f=C[a+36>>2]>>1;e=((e|0)<(f|0)?e:f)-C[n>>2]|0;d:{if((e|0)<=0){break d}r=C[C[b+16>>2]>>2];o=C[n+8>>2];p=(e|0)/(o|0)|0;s=d-((j<<2)+15&-16)|0;Ce=s;if((j|0)>0){e=((p+r|0)-1|0)/(r|0)<<2;d=0;while(1){F=(d<<2)+s|0,H=pg(a,e),C[F>>2]=H;d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=C[b+8>>2];if((d|0)<=0){break d}w=a+4|0;z=(p|0)<=0;while(1){if(!z){a=0;x=(j|0)<=0;A=x|(q|0)!=0;B=1<>2],w);if((e|0)==-1|(e|0)>=C[n+16>>2]){break d}e=C[C[b+28>>2]+(e<<2)>>2];C[C[(d<<2)+s>>2]+(m<<2)>>2]=e;if(!e){break d}d=d+1|0;if((j|0)!=(d|0)){continue}break}}e:{if((r|0)<=0){break e}t=0;if((a|0)>=(p|0)){break e}while(1){if(!x){D=I(a,o);d=0;while(1){e=d<<2;f=C[C[C[e+s>>2]+(m<<2)>>2]+(t<<2)>>2]<<2;f:{if(!(C[(f+n|0)+24>>2]&B)){break f}i=C[C[f+C[b+20>>2]>>2]+(q<<2)>>2];if(!i){break f}k=C[c+e>>2]+(C[n>>2]+D<<2)|0;e=0;l=0;g:{if(C[i+8>>2]<=0){break g}h:{if(C[i>>2]<=8){if((o|0)<=0){break g}l=-1;while(1){f=Gj(i,w);if((f|0)==-1){break g}g=C[i>>2];h=C[i+16>>2]+(I(g,f)<<2)|0;f=0;i:{switch(g-1|0){case 7:f=(e<<2)+k|0;G[f>>2]=G[h>>2]+G[f>>2];f=1;e=e+1|0;case 6:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 5:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 4:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 3:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 2:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 1:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 0:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;break;default:break i}}if((e|0)<(o|0)){continue}break}break h}if((o|0)<=0){break g}while(1){l=-1;f=Gj(i,w);if((f|0)==-1){break g}h=C[i>>2];j:{if((h|0)<=0){break j}g=C[i+16>>2]+(I(f,h)<<2)|0;f=0;if((h|0)!=1){E=h&-2;l=0;while(1){u=(e<<2)+k|0;y=f<<2;G[u>>2]=G[g+y>>2]+G[u>>2];G[u+4>>2]=G[g+(y|4)>>2]+G[u+4>>2];e=e+2|0;f=f+2|0;l=l+2|0;if((E|0)!=(l|0)){continue}break}}if(!(h&1)){break j}h=(e<<2)+k|0;G[h>>2]=G[g+(f<<2)>>2]+G[h>>2];e=e+1|0}if((e|0)<(o|0)){continue}break}}l=0}if((l|0)==-1){break d}}d=d+1|0;if((j|0)!=(d|0)){continue}break}}a=a+1|0;t=t+1|0;if((t|0)>=(r|0)){break e}if((a|0)<(p|0)){continue}break}}m=m+1|0;if((a|0)<(p|0)){continue}break}d=C[b+8>>2]}q=q+1|0;if((q|0)<(d|0)){continue}break}}Ce=v}return 0}function QR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=C[C[a+112>>2]+4>>2];if(c){vx(c,b,C[a+4>>2])}d=C[b+80>>2];if(d){g=C[b+92>>2];a=0;while(1){e=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=I(a,20)+g|0;b=C[f>>2];c=b>>>12|0;switch(c|0){case 19:break g;case 17:break h;case 16:break i;case 15:break j;case 10:break k;case 2:break l;case 1:break m;case 0:break n;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 18:case 20:case 21:case 23:case 25:case 26:case 28:case 29:break a;case 30:break c;case 27:break d;case 24:break e;case 22:break f;default:break o}}if((c|0)!=224|b-917760>>>0>239){break a}c=b-908608|0;break b}c=b-40|0;if(c>>>0<24){break b}if(b-160>>>0<=55){c=b-136|0;break b}p:{c=b&-8;if((c|0)!=1600){if((c|0)!=840){break p}c=b-760|0;break b}c=b-1512|0;break b}if(b-1992>>>0<=55){c=b-1896|0;break b}if((b&-32)==2112){c=b-1960|0;break b}if(b-2304>>>0<=1271){c=b-2120|0;break b}if(b-3840>>>0>199){break a}c=b-2384|0;break b}if(b-4096>>>0<=159){c=b-2440|0;break b}if(b-5888>>>0<=431){c=b-4072|0;break b}if(b-6400>>>0<=415){c=b-4152|0;break b}if(b-6912>>>0<=335){c=b-4248|0;break b}if(b-7376>>>0<=47){c=b-4376|0;break b}if((b&-8)!=7672){break a}c=b-4624|0;break b}if(b-8200>>>0<=15){c=b-5144|0;break b}if(b-8304>>>0<=23){c=b-5232|0;break b}q:{c=b&-8;if((c|0)!=9672){if((c|0)!=8432){break q}c=b-5336|0;break b}c=b-6568|0;break b}if(b-11568>>>0>79){break a}c=b-8456|0;break b}if(b-43008>>>0<=759){c=b-39816|0;break b}if((b&-64)!=43968){break a}c=b-40016|0;break b}if((b&-16)!=65024){break a}c=b-61008|0;break b}if(b-66928>>>0<=79){c=b-62896|0;break b}if(b-68096>>>0<=79){c=b-63984|0;break b}if(b-68288>>>0<=47){c=b-64096|0;break b}if(b-68480>>>0<=47){c=b-64240|0;break b}if((b&-64)==68864){c=b-64576|0;break b}if(b-69248>>>0<=55){c=b-64896|0;break b}if(b-69424>>>0>407){break a}c=b-65016|0;break b}if(b-69424>>>0<=407){c=b-65016|0;break b}if(b-69888>>>0<=319){c=b-65072|0;break b}if(b-70272>>>0<=247){c=b-65136|0;break b}if(b-70656>>>0<=223){c=b-65272|0;break b}if(b-71040>>>0<=455){c=b-65432|0;break b}if((b&-64)==71680){c=b-65616|0;break b}if(b-71936>>>0<=95){c=b-65808|0;break b}if(b-72096>>>0<=255){c=b-65872|0;break b}if(b-72704>>>0<=183){c=b-66224|0;break b}if(b-72960>>>0<=175){c=b-66296|0;break b}if(b-73440>>>0>23){break a}c=b-66600|0;break b}if(b-77824>>>0>1087){break a}c=b-70960|0;break b}if(b-92864>>>0<=119){c=b-84912|0;break b}if(b-93952>>>0<=151){c=b-85880|0;break b}if((b&-8)!=94176){break a}c=b-85952|0;break b}if(b-101120>>>0>471){break a}c=b-92888|0;break b}if(b-113664>>>0>159){break a}c=b-104960|0;break b}if(b-123136>>>0<=79){c=b-114272|0;break b}if(b-123536>>>0<=111){c=b-114592|0;break b}if(b-125184>>>0>95){break a}c=b-116128|0}e=D[c+174048|0]}A[f+18|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Ix(a,b){var c=0,d=J(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ce-16|0;Ce=h;j=C[b+100>>2];f=D[a+2|0]|D[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=205712}f=zf(c,C[C[j+92>>2]+I(C[j+76>>2],20)>>2]);e=D[a+4|0]|D[a+5|0]<<8;g=f>>>0>=((e<<8|e>>>8)&65535)>>>0?205712:((f<<2)+a|0)+6|0;a:{if(!(D[g|0]|D[g+1|0]<<8)){f=0;break a}e=C[j+76>>2];C[b+40>>2]=1;C[b+4>>2]=e;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];f=0;A[b+24|0]=(e|0)==C[c+76>>2]?D[(C[c+92>>2]+I(e,20)|0)+15|0]:0;k=b+4|0;if(!ti(k)){break a}e=D[a+2|0]|D[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=205712}e=zf(c,C[C[j+92>>2]+I(C[k>>2],20)>>2]);c=D[a+4|0]|D[a+5|0]<<8;i=e>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:((e<<2)+a|0)+6|0;c=D[i+2|0]|D[i+3|0]<<8;if(!c){break a}b:{c:{e=C[j+76>>2];f=C[k>>2];k=e-f|0;if(k>>>0<=1){break c}Rf(j,f,e);c=D[i+2|0]|D[i+3|0]<<8;if(c){break c}c=205712;break b}c=((c<<8|c>>>8)&65535)+a|0}Pm(c,b,C[C[j+92>>2]+I(f,20)>>2],h+4|0,h);c=D[g|0]|D[g+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}Pm(a,b,C[C[j+92>>2]+I(e,20)>>2],h+12|0,h+8|0);i=C[j+100>>2];d:{e:{f:{g:{h:{l=C[b+116>>2];switch(l-4|0){case 3:break e;case 2:break f;case 1:break g;case 0:break h;default:break d}}c=i+I(f,20)|0;d=J(J(O(J(G[h+4>>2]+J(.5))))+J(C[c+8>>2]));i:{if(J(K(d))>2]=a;a=i+I(e,20)|0;g=C[a+8>>2];d=J(J(O(J(G[h+12>>2]+J(.5))))+J(g|0));j:{if(J(K(d))>2]=g-c;C[a>>2]=C[a>>2]-c;break d}a=i+I(f,20)|0;g=C[a+8>>2];d=J(J(O(J(G[h+4>>2]+J(.5))))+J(g|0));k:{if(J(K(d))>2]=g-c;C[a>>2]=C[a>>2]-c;a=i+I(e,20)|0;d=J(J(O(J(G[h+12>>2]+J(.5))))+J(C[a+8>>2]));if(J(K(d))>2]=~~d;break d}C[a>>2]=-2147483648;break d}c=i+I(f,20)|0;d=J(J(O(J(G[h>>2]+J(.5))))+J(C[c+12>>2]));l:{if(J(K(d))>2]=a;a=i+I(e,20)|0;g=C[a+12>>2];d=J(J(O(J(G[h+8>>2]+J(.5))))+J(g|0));m:{if(J(K(d))>2]=g-c;C[a+4>>2]=C[a+4>>2]-c;break d}a=i+I(f,20)|0;g=C[a+12>>2];d=J(J(O(J(G[h>>2]+J(.5))))+J(g|0));n:{if(J(K(d))>2]=g-c;C[a+4>>2]=C[a+4>>2]-c;c=i+I(e,20)|0;d=J(O(J(G[h+8>>2]+J(.5))));o:{if(J(K(d))>2]=a}a=D[b+132|0];d=J(G[h+8>>2]-G[h>>2]);p:{if(J(K(d))>2]-G[h+4>>2]);q:{if(J(K(d))>1]=k;A[a+18|0]=2;C[j+36>>2]=C[j+36>>2]|8;s:{if((C[b+116>>2]&-2)==4){C[a+12>>2]=c;break s}C[a+8>>2]=g}b=i+I(f,20)|0;if(B[b+16>>1]==(0-B[a+16>>1]|0)){B[b+16>>1]=0}f=1;C[j+76>>2]=C[j+76>>2]+1}Ce=h+16|0;return f}function Js(){var 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;a=Ce-192|0;Ce=a;b=C[97727];if(!Se(b,2953)){g=C[97706]-C[97704]|0;k=C[97705]-C[97703]|0}Yj(b,a+48|0);c=C[a+124>>2];b=C[97729];if(F[a+120>>2]>F[97728]&(c|0)>=(b|0)|(b|0)<(c|0)){Yj(C[97727],a+48|0);b=C[a+124>>2];C[97728]=C[a+120>>2];C[97729]=b;Vn()}if(!(C[97734]|C[97735])){Yj(C[97732],a+48|0);b=C[a+124>>2];C[97734]=C[a+120>>2];C[97735]=b}Yj(C[97732],a+48|0);c=C[a+124>>2];b=C[97735];if(F[a+120>>2]>F[97734]&(c|0)>=(b|0)|(b|0)<(c|0)){Yj(C[97732],a+48|0);b=C[a+124>>2];C[97734]=C[a+120>>2];C[97735]=b;Tg(34852,0);Zs()}Ej(C[97698],0,0,0,0);a:{if(!C[97731]){break a}l=a+44|0;m=a+40|0;b=44;d=k;while(1){if(C[97722]==(h|0)){break a}c=b;b:{c:{d:{e=C[97730]+j|0;i=A[e|0];b=i;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((i|0)!=10){if((i|0)!=95){break c}Ej(C[97698],255,255,255,40);if(D[398204]){C[a+48>>2]=0;C[a+52>>2]=0;C[a+56>>2]=16;C[a+60>>2]=16;c=C[97700]+d|0;C[a+176>>2]=c+2;b=C[97701];C[a+184>>2]=10;C[a+188>>2]=9;b=b+g|0;C[a+180>>2]=b+2;C[a+164>>2]=b;C[a+160>>2]=c;C[a+168>>2]=16;C[a+172>>2]=16;ds(C[97698]);$r(C[97698],a+160|0);El(C[97698],C[104351],a+48|0,a+176|0)}Ej(C[97698],0,0,0,0);C[C[C[97725]+(h<<2)>>2]+(f<<2)>>2]=-1;f=f+1|0;d=d+16|0;b=D[C[97730]+j|0];break b}C[C[97724]+(h<<2)>>2]=f;g=g+16|0;f=0;h=h+1|0;if((h|0)==C[97722]){d=k;b=c;break b}b=D[e|0];d=k;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|0)!=12?c:0){break b}}g:{h:{i:{j:{b=D[e+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}}C[a+48>>2]=0;b=2;k:{l:{m:{c=D[e+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}c=a+48|0;jf(c,e,b);b=Zf(c);break g}b=i-48|0}c=I(b,24)+390800|0;e=C[c+152>>2];c=C[c+156>>2];C[a+36>>2]=g;C[a+32>>2]=d;C[a+16>>2]=e;C[a+20>>2]=c;C[a+24>>2]=16;C[a+28>>2]=16;C[a>>2]=C[97700]+d;c=C[97701];C[a+8>>2]=16;C[a+12>>2]=16;C[a+4>>2]=c+g;hs(C[97721],m,l);El(C[97698],C[97721],a+16|0,a);Ej(C[97698],255,255,255,40);if(D[398204]){C[a+48>>2]=0;C[a+52>>2]=0;C[a+56>>2]=16;C[a+60>>2]=16;e=C[97700]+d|0;C[a+176>>2]=e+2;c=C[97701];C[a+184>>2]=10;C[a+188>>2]=9;c=c+g|0;C[a+180>>2]=c+2;C[a+164>>2]=c;C[a+160>>2]=e;C[a+168>>2]=16;C[a+172>>2]=16;ds(C[97698]);$r(C[97698],a+160|0);El(C[97698],C[(((b|0)<0?b+300|0:b)<<2)+416208>>2],a+48|0,a+176|0)}Ej(C[97698],0,0,0,0);C[C[C[97725]+(h<<2)>>2]+(f<<2)>>2]=b;f=f+1|0;d=d+16|0;b=i}j=j+1|0;if(j>>>0>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}e=C[a>>2];b=e+b|0;c:{a=a-e|0;if((a|0)!=C[108111]){if(e>>>0<=255){d=C[a+8>>2];c=C[a+12>>2];if((d|0)!=(c|0)){break c}i=432424,j=C[108106]&rT(-2,e>>>3|0),C[i>>2]=j;break b}h=C[a+24>>2];c=C[a+12>>2];d:{if((c|0)!=(a|0)){d=C[a+8>>2];C[d+12>>2]=c;C[c+8>>2]=d;break d}e:{e=a+20|0;d=C[e>>2];if(d){break e}e=a+16|0;d=C[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=C[e>>2];if(d){continue}e=c+16|0;d=C[c+16>>2];if(d){continue}break}C[g>>2]=0}if(!h){break b}e=C[a+28>>2];d=(e<<2)+432728|0;f:{if(C[d>>2]==(a|0)){C[d>>2]=c;if(c){break f}i=432428,j=C[108107]&rT(-2,e),C[i>>2]=j;break b}C[h+(C[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}C[c+24>>2]=h;d=C[a+16>>2];if(d){C[c+16>>2]=d;C[d+24>>2]=c}d=C[a+20>>2];if(!d){break b}C[c+20>>2]=d;C[d+24>>2]=c;break b}c=C[f+4>>2];if((c&3)!=3){break b}C[108108]=b;C[f+4>>2]=c&-2;C[a+4>>2]=b|1;C[f>>2]=b;return}C[d+12>>2]=c;C[c+8>>2]=d}c=C[f+4>>2];g:{if(!(c&2)){if(C[108112]==(f|0)){C[108112]=a;b=C[108109]+b|0;C[108109]=b;C[a+4>>2]=b|1;if(C[108111]!=(a|0)){break a}C[108108]=0;C[108111]=0;return}if(C[108111]==(f|0)){C[108111]=a;b=C[108108]+b|0;C[108108]=b;C[a+4>>2]=b|1;C[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){c=c>>>3|0;e=C[f+12>>2];d=C[f+8>>2];if((e|0)==(d|0)){i=432424,j=C[108106]&rT(-2,c),C[i>>2]=j;break h}C[d+12>>2]=e;C[e+8>>2]=d;break h}h=C[f+24>>2];c=C[f+12>>2];i:{if((f|0)!=(c|0)){d=C[f+8>>2];C[d+12>>2]=c;C[c+8>>2]=d;break i}j:{d=f+20|0;e=C[d>>2];if(e){break j}d=f+16|0;e=C[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=C[d>>2];if(e){continue}d=c+16|0;e=C[c+16>>2];if(e){continue}break}C[g>>2]=0}if(!h){break h}e=C[f+28>>2];d=(e<<2)+432728|0;k:{if(C[d>>2]==(f|0)){C[d>>2]=c;if(c){break k}i=432428,j=C[108107]&rT(-2,e),C[i>>2]=j;break h}C[h+(C[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}C[c+24>>2]=h;d=C[f+16>>2];if(d){C[c+16>>2]=d;C[d+24>>2]=c}d=C[f+20>>2];if(!d){break h}C[c+20>>2]=d;C[d+24>>2]=c}C[a+4>>2]=b|1;C[a+b>>2]=b;if(C[108111]!=(a|0)){break g}C[108108]=b;return}C[f+4>>2]=c&-2;C[a+4>>2]=b|1;C[a+b>>2]=b}if(b>>>0<=255){c=(b&-8)+432464|0;d=C[108106];b=1<<(b>>>3);l:{if(!(d&b)){C[108106]=b|d;b=c;break l}b=C[c+8>>2]}C[c+8>>2]=a;C[b+12>>2]=a;C[a+12>>2]=c;C[a+8>>2]=b;return}e=31;if(b>>>0<=16777215){c=L(b>>>8|0);e=((b>>>38-c&1)-(c<<1)|0)+62|0}C[a+28>>2]=e;C[a+16>>2]=0;C[a+20>>2]=0;g=(e<<2)+432728|0;m:{d=C[108107];c=1<>2]=a;C[a+24>>2]=g;break n}e=b<<((e|0)!=31?25-(e>>>1|0)|0:0);c=C[g>>2];while(1){d=c;if((C[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=C[g+16>>2];if(c){continue}break}C[g+16>>2]=a;C[a+24>>2]=d}C[a+12>>2]=a;C[a+8>>2]=a;return}b=C[d+8>>2];C[b+12>>2]=a;C[d+8>>2]=a;C[a+24>>2]=0;C[a+12>>2]=d;C[a+8>>2]=b}}function vr(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;d=Ce-800|0;Ce=d;C[d+540>>2]=0;C[d+544>>2]=12324;c=C[a+408>>2];C[d+552>>2]=12323;C[d+548>>2]=c;c=C[a+412>>2];C[d+560>>2]=12322;C[d+556>>2]=c;C[d+564>>2]=C[a+416>>2];if(b){C[d+568>>2]=12327;C[d+572>>2]=12344;b=8}else{b=6}c=C[a+420>>2];if(c){e=b<<2;f=d+544|0;C[e+f>>2]=12321;C[f+(e|4)>>2]=c;b=b+2|0}c=C[a+428>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12320;C[e+4>>2]=c;b=b+2|0}c=C[a+424>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12325;C[e+4>>2]=c;b=b+2|0}c=C[a+432>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12326;C[e+4>>2]=c;b=b+2|0}c=C[a+460>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12338;C[e+4>>2]=c;b=b+2|0}c=C[a+464>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12337;C[e+4>>2]=c;b=b+2|0}if(C[a+468>>2]){c=(d+544|0)+(b<<2)|0;C[c>>2]=13113;C[c+4>>2]=13115;b=b+2|0}c=C[a+1080>>2];if(C[c+36>>2]){e=(d+544|0)+(b<<2)|0;C[e>>2]=12339;C[e+4>>2]=1;b=b+2|0}C[(d+544|0)+(b<<2)>>2]=12352;e=b+1|0;a:{if(C[a+488>>2]==4){c=C[a+476>>2];b:{if((c|0)>=3){if(Dj(a,3094)){C[(d+544|0)+(e<<2)>>2]=64;break b}c=C[a+476>>2]}e=(d+544|0)+(e<<2)|0;if((c|0)>=2){C[e>>2]=4;break b}C[e>>2]=1}c=C[a+1080>>2];f=12448;break a}C[(d+544|0)+(e<<2)>>2]=8;f=12450}Fe[C[c+124>>2]](f)|0;c=b+2|0;f=d+544|0;e=C[a+1080>>2];if(C[e+20>>2]){C[(d+544|0)+(c<<2)>>2]=12339;C[((b<<2)+d|0)+556>>2]=C[e+20>>2];c=b+4|0}C[(c<<2)+f>>2]=12344;b=-1;c:{if(!(Fe[C[e+68>>2]](C[e+8>>2],f,d+16|0,128,d+540|0)|0)){break c}e=C[d+540>>2];if(!e){break c}b=C[a+1080>>2];d:{if(!C[b+32>>2]){l=1;break d}l=1;if((e|0)<=0){break d}c=0;while(1){e:{Fe[C[b+112>>2]](C[b+8>>2],C[(d+16|0)+(c<<2)>>2],12334,d+536|0)|0;b=C[a+1080>>2];if(C[b+32>>2]==C[d+536>>2]){break e}c=c+1|0;e=C[d+540>>2];if((c|0)<(e|0)){continue}break d}break}l=0;e=C[d+540>>2]}j=-1;if((e|0)>0){k=-1;e=-1;while(1){b=C[a+1080>>2];f:{if(!(!C[b+32>>2]|l)){Fe[C[b+112>>2]](C[b+8>>2],C[(d+16|0)+(g<<2)>>2],12334,d+12|0)|0;b=C[a+1080>>2];if(C[b+32>>2]!=C[d+12>>2]){break f}}h=(d+16|0)+(g<<2)|0;Fe[C[b+112>>2]](C[b+8>>2],C[h>>2],12324,d+536|0)|0;n=1;g:{if(C[d+536>>2]!=8){break g}b=C[a+1080>>2];Fe[C[b+112>>2]](C[b+8>>2],C[h>>2],12323,d+536|0)|0;if(C[d+536>>2]!=8){break g}b=C[a+1080>>2];Fe[C[b+112>>2]](C[b+8>>2],C[h>>2],12322,d+536|0)|0;n=C[d+536>>2]!=8}b=0;c=0;while(1){i=c<<2;m=C[i+(d+544|0)>>2];if((m|0)!=12344){f=c;c=(d+544|0)+(i|4)|0;if(!(C[c>>2]==-1|m-12321>>>0>5)){i=C[a+1080>>2];Fe[C[i+112>>2]](C[i+8>>2],C[h>>2],m,d+536|0)|0;b=(C[d+536>>2]+b|0)-C[c>>2]|0}c=f+2|0;if(f>>>0<61){continue}}break}if(!((e|0)!=-1&(b|0)>=(e|0))){C[C[a+1080>>2]+12>>2]=C[h>>2];e=b}if(n){break f}c=(k|0)==-1|(b|0)<(k|0);j=c?g:j;k=c?b:k}g=g+1|0;if((g|0)>2]){continue}break}}b=0;if((j|0)==-1|(C[a+412>>2]+(C[a+416>>2]+C[a+408>>2]|0)|0)>16){break c}C[C[a+1080>>2]+12>>2]=C[(d+16|0)+(j<<2)>>2]}Ce=d+800|0;return b}function Jw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;p(b,0,196);e=D[a+176|0];A[b+8|0]=e;a:{if(!e){break a}if(e>>>0>=4){h=e&252;f=b+12|0;g=a+180|0;while(1){B[f+(c<<1)>>1]=C[g+(c<<2)>>2];j=c|1;B[f+(j<<1)>>1]=C[g+(j<<2)>>2];j=c|2;B[f+(j<<1)>>1]=C[g+(j<<2)>>2];j=c|3;B[f+(j<<1)>>1]=C[g+(j<<2)>>2];c=c+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}e=e&3;if(!e){break a}i=0;while(1){B[((c<<1)+b|0)+12>>1]=C[((c<<2)+a|0)+180>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+177|0];A[b+9|0]=f;b:{if(!f){break b}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+40|0;h=a+236|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break b}while(1){B[((c<<1)+b|0)+40>>1]=C[((c<<2)+a|0)+236>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+178|0];A[b+10|0]=f;c:{if(!f){break c}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+60|0;h=a+276|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break c}while(1){B[((c<<1)+b|0)+60>>1]=C[((c<<2)+a|0)+276>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+179|0];A[b+11|0]=f;d:{if(!f){break d}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+88|0;h=a+332|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break d}while(1){B[((c<<1)+b|0)+88>>1]=C[((c<<2)+a|0)+332>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}C[b+108>>2]=C[a+372>>2];C[b+112>>2]=C[a+376>>2];C[b+116>>2]=C[a+380>>2];B[b+120>>1]=C[a+384>>2];B[b+122>>1]=C[a+388>>2];f=D[a+392|0];A[b+124|0]=f;e:{if(!f){break e}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+128|0;h=a+396|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break e}while(1){B[((c<<1)+b|0)+128>>1]=C[((c<<2)+a|0)+396>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+393|0];A[b+125|0]=f;f:{if(!f){break f}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+154|0;h=a+448|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break f}while(1){B[((c<<1)+b|0)+154>>1]=C[((c<<2)+a|0)+448>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}A[b+126|0]=D[a+500|0];C[b+184>>2]=C[a+512>>2];C[b+4>>2]=C[a+508>>2]}function IB(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;l=Ce-272|0;Ce=l;j=df(1,1312);C[j+1296>>2]=b;C[j+1288>>2]=C[b+840>>2];f=C[b>>2];a:{b:{if((f|0)>0){a=0;if(f>>>0>=4){k=f&-4;d=b+128|0;while(1){c=b+4|0;i=a<<2;o=C[d+(C[c+(i|12)>>2]<<2)>>2]+(C[d+(C[c+(i|8)>>2]<<2)>>2]+(C[d+(C[c+(i|4)>>2]<<2)>>2]+(C[d+(C[c+i>>2]<<2)>>2]+o|0)|0)|0)|0;a=a+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=f&3;if(e){while(1){o=C[((C[((a<<2)+b|0)+4>>2]<<2)+b|0)+128>>2]+o|0;a=a+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}d=o+2|0;C[j+1284>>2]=d;if((o|0)>-2){break b}oh(l,d,4,32);break a}d=2;C[j+1284>>2]=2}f=b+836|0;i=(d|0)<=1?1:d;h=i&3;e=0;a=0;k=i-1|0;if(k>>>0>=3){m=i&2147483644;g=0;while(1){c=a<<2;C[c+l>>2]=c+f;n=c|4;C[n+l>>2]=f+n;n=c|8;C[n+l>>2]=f+n;c=c|12;C[c+l>>2]=c+f;a=a+4|0;g=g+4|0;if((m|0)!=(g|0)){continue}break}}if(h){while(1){g=a<<2;C[g+l>>2]=f+g;a=a+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}oh(l,d,4,32);g=0;a=0;if(k>>>0>=3){h=i&2147483644;d=j+260|0;e=0;while(1){c=a<<2;C[c+d>>2]=C[c+l>>2]-f>>2;m=c|4;C[m+d>>2]=C[l+m>>2]-f>>2;m=c|8;C[m+d>>2]=C[l+m>>2]-f>>2;c=c|12;C[c+d>>2]=C[c+l>>2]-f>>2;a=a+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}e=i&3;if(e){while(1){d=a<<2;C[(d+j|0)+260>>2]=C[d+l>>2]-f>>2;a=a+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=0;a=0;if(k>>>0>=3){c=i&2147483644;d=j+260|0;f=j+520|0;g=0;while(1){C[f+(C[d+(a<<2)>>2]<<2)>>2]=a;h=a|1;C[f+(C[d+(h<<2)>>2]<<2)>>2]=h;h=a|2;C[f+(C[d+(h<<2)>>2]<<2)>>2]=h;h=a|3;C[f+(C[d+(h<<2)>>2]<<2)>>2]=h;a=a+4|0;g=g+4|0;if((c|0)!=(g|0)){continue}break}}g=i&3;if(g){while(1){C[((C[((a<<2)+j|0)+260>>2]<<2)+j|0)+520>>2]=a;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}g=0;a=0;if(k>>>0>=3){k=i&2147483644;d=j+260|0;f=b+836|0;e=0;while(1){c=a<<2;C[c+j>>2]=C[f+(C[c+d>>2]<<2)>>2];h=c|4;C[h+j>>2]=C[f+(C[d+h>>2]<<2)>>2];h=c|8;C[h+j>>2]=C[f+(C[d+h>>2]<<2)>>2];c=c|12;C[c+j>>2]=C[f+(C[c+d>>2]<<2)>>2];a=a+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=i&3;if(!e){break a}while(1){d=(a<<2)+j|0;C[d>>2]=C[((C[d+260>>2]<<2)+b|0)+836>>2];a=a+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}a=C[b+832>>2]-1|0;if(a>>>0<=3){C[j+1292>>2]=C[(a<<2)+60480>>2]}if((o|0)>0){m=0;h=2;n=b+836|0;while(1){u=h&-2;f=1;v=h&1;s=m<<2;i=C[(s+b|0)+844>>2];g=C[j+1288>>2];a=0;e=0;d=0;q=0;while(1){c=C[n+(a<<2)>>2];p=(c|0)>(i|0)&(c|0)<(g|0);r=a|1;k=C[n+(r<<2)>>2];g=p?c:g;t=(k|0)<(g|0)&(i|0)<(k|0);g=t?k:g;f=t?r:p?a:f;p=(c|0)<(i|0)&(c|0)>(e|0);e=p?c:e;c=(e|0)<(k|0)&(i|0)>(k|0);e=c?k:e;d=c?r:p?a:d;a=a+2|0;q=q+2|0;if((u|0)!=(q|0)){continue}break}if(v){c=C[((a<<2)+b|0)+836>>2];f=(c|0)<(g|0)?(c|0)>(i|0)?a:f:f;d=(c|0)>(e|0)?(c|0)<(i|0)?a:d:d}a=j+s|0;C[a+780>>2]=f;C[a+1032>>2]=d;h=h+1|0;m=m+1|0;if((m|0)!=(o|0)){continue}break}}Ce=l+272|0;return j|0}function ok(a,b,c){var d=0,e=0,f=0,g=J(0),h=J(0);e=C[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)<=1986098018){if((b|0)==1751216995){break h}if((b|0)==1751413603){break g}if((b|0)!=1751934832){break a}d=e+68|0;b=wi(d);if((D[b+62|0]|D[b+63|0]<<8)<<16>>16>=0){break f}b=wi(d);if(!(D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]|D[b+7|0]<<8)|(D[b+64|0]|D[b+65|0]<<8))){if(!(D[b+66|0]|D[b+67|0]<<8)){break f}}if(!c){break b}b=wi(d);b=D[b+72|0]|D[b+73|0]<<8;g=J(ui(vi(e+124|0),1751934832,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16));h=J(C[a+24>>2]);break c}if((b|0)==1986098019){break e}if((b|0)==1986294627){break d}if((b|0)!=1986815856){break a}b=e+88|0;f=yj(b);d=D[f|0]|D[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=yj(b);b=D[b+8|0]|D[b+9|0]<<8;g=J(ui(vi(e+124|0),1986815856,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16));h=J(C[a+20>>2]);break c}i:{d=e+68|0;b=wi(d);if((D[b+62|0]|D[b+63|0]<<8)<<16>>16>=0){break i}b=wi(d);if(!(D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]|D[b+7|0]<<8)|(D[b+64|0]|D[b+65|0]<<8))){if(!(D[b+66|0]|D[b+67|0]<<8)){break i}}if(!c){break b}b=wi(d);b=D[b+68|0]|D[b+69|0]<<8;g=J(K(J(ui(vi(e+124|0),1751216995,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16))));h=J(C[a+24>>2]);break c}b=e+60|0;d=zj(b);if(!(D[d|0]|D[d+1|0]<<8)){break a}if(!c){break b}b=zj(b);b=D[b+4|0]|D[b+5|0]<<8;g=J(K(J(ui(vi(e+124|0),1751216995,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16))));h=J(C[a+24>>2]);break c}j:{d=e+68|0;b=wi(d);if((D[b+62|0]|D[b+63|0]<<8)<<16>>16>=0){break j}b=wi(d);if(!(D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]|D[b+7|0]<<8)|(D[b+64|0]|D[b+65|0]<<8))){if(!(D[b+66|0]|D[b+67|0]<<8)){break j}}if(!c){break b}b=wi(d);b=D[b+70|0]|D[b+71|0]<<8;h=J(-J(K(J(ui(vi(e+124|0),1751413603,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16)))));g=J(C[a+24>>2]);break c}b=e+60|0;d=zj(b);if(!(D[d|0]|D[d+1|0]<<8)){break a}if(!c){break b}b=zj(b);b=D[b+6|0]|D[b+7|0]<<8;h=J(-J(K(J(ui(vi(e+124|0),1751413603,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16)))));g=J(C[a+24>>2]);break c}b=e+60|0;d=zj(b);if(!(D[d|0]|D[d+1|0]<<8)){break a}if(!c){break b}b=zj(b);b=D[b+8|0]|D[b+9|0]<<8;g=J(ui(vi(e+124|0),1751934832,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16));h=J(C[a+24>>2]);break c}b=e+88|0;f=yj(b);d=D[f|0]|D[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=yj(b);b=D[b+4|0]|D[b+5|0]<<8;g=J(K(J(ui(vi(e+124|0),1986098019,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16))));h=J(C[a+20>>2]);break c}b=e+88|0;f=yj(b);d=D[f|0]|D[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=yj(b);b=D[b+6|0]|D[b+7|0]<<8;h=J(-J(K(J(ui(vi(e+124|0),1986294627,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16)))));g=J(C[a+20>>2])}b=C[a+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}g=J(O(J(J(J(g*h)/J(a>>>0))+J(.5))));k:{if(J(K(g))>2]=a}f=1}return f}function cy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;p=Ce-16|0;Ce=p;a:{if(F[b+4>>2]>a>>>0){break a}j=C[b+8>>2];if(j>>>0>>0|j-a>>>0<2){break a}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break a}e=D[a|0]|D[a+1|0]<<8;if(!e){h=1;break a}d=a+2|0;if(d>>>0>j>>>0){break a}g=j-d|0;e=(e<<8|e>>>8)&65535;d=e<<1;if(g>>>0>>0){break a}d=f-d|0;C[b+12>>2]=d;if((d|0)<=0){break a}t=e>>>0<=1?1:e;while(1){l=((s<<1)+a|0)+2|0;if(l>>>0>2]){h=0;break a}d=C[b+8>>2];if(d>>>0>>0){h=0;break a}if(d-l>>>0<2){h=0;break a}e=C[c>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=D[l|0]|D[l+1|0]<<8;b:{if(!d){break b}k=e+((d<<8|d>>>8)&65535)|0;C[p+12>>2]=k;e=0;c:{d:{e:{if(k>>>0>2]){break e}h=C[b+8>>2];if(h>>>0>>0|h-k>>>0<2){break e}j=C[b+12>>2]-2|0;C[b+12>>2]=j;if((j|0)<=0){break e}f=D[k|0]|D[k+1|0]<<8;d=1;if(!f){break c}d=k+2|0;if(d>>>0>h>>>0){break e}g=h-d|0;f=(f<<8|f>>>8)&65535;d=f<<1;if(g>>>0>>0){break e}d=j-d|0;C[b+12>>2]=d;if((d|0)<=0){break e}j=f>>>0<=1?1:f;q=0;while(1){m=(k+(q<<1)|0)+2|0;if(m>>>0>2]){break d}d=C[b+8>>2];if(d>>>0>>0|d-m>>>0<2){break d}e=C[p+12>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break d}d=D[m|0]|D[m+1|0]<<8;f:{if(!d){break f}h=0;r=C[b+4>>2];g=e+((d<<8|d>>>8)&65535)|0;g:{if(r>>>0>g>>>0){break g}i=C[b+8>>2];if(i>>>0>>0|i-g>>>0<2){break g}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break g}d=D[g|0]|D[g+1|0]<<8;f=((d<<8|d>>>8)&65535)<<1;if(d){d=g+2|0;if(d>>>0>i>>>0|f>>>0>i-d>>>0){break g}e=e-f|0;C[b+12>>2]=e;if((e|0)<=0){break g}}n=(f+g|0)+2|0;if(n>>>0>>0|i>>>0>>0|i-n>>>0<2){break g}o=e-2|0;C[b+12>>2]=o;if((e|0)<3){break g}g=D[n|0]|D[n+1|0]<<8;f=(g<<8|g>>>8)&65535;h:{if(!g){break h}e=f-1|0;if(!e){f=1;break h}d=n+2|0;if(i>>>0>>0){break g}u=i-d|0;d=e<<1;if(u>>>0>>0){break g}o=o-d|0;C[b+12>>2]=o;if((o|0)<=0){break g}}g=n+(g?f<<1:2)|0;if(g>>>0>>0|g>>>0>i>>>0|i-g>>>0<2){break g}e=o-2|0;C[b+12>>2]=e;if((o|0)<3){break g}d=D[g|0]|D[g+1|0]<<8;f=((d<<8|d>>>8)&65535)<<1;if(d){d=g+2|0;if(d>>>0>i>>>0|f>>>0>i-d>>>0){break g}e=e-f|0;C[b+12>>2]=e;if((e|0)<=0){break g}}d=(f+g|0)+2|0;if(d>>>0>>0|d>>>0>i>>>0|i-d>>>0<2){break g}f=e-2|0;C[b+12>>2]=f;if((e|0)<3){break g}e=D[d|0]|D[d+1|0]<<8;if(e){d=d+2|0;if(d>>>0>i>>>0){break g}g=i-d|0;d=((e<<8|e>>>8)&65535)<<2;if(g>>>0>>0){break g}d=f-d|0;C[b+12>>2]=d;if((d|0)<=0){break g}}h=1}if(h){break f}d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[m|0]=0;A[m+1|0]=0}e=1;q=q+1|0;if((j|0)!=(q|0)){continue}break}}d=e;break c}d=0}if(d){break b}d=C[b+28>>2];if(d>>>0>31){h=0;break a}C[b+28>>2]=d+1;if(!D[b+24|0]){h=0;break a}A[l|0]=0;A[l+1|0]=0}h=1;s=s+1|0;if((t|0)!=(s|0)){continue}break}}Ce=p+16|0;return h}function nP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-16|0;Ce=d;a:{b:{if(Jv(a,b)){rm(b);g=Ce-16|0;Ce=g;e=b+132|0;c:{if(!(a?e:0)){C[g+8>>2]=40;break c}i=C[a+28>>2];f=Qv(a);C[g+8>>2]=f;if(f){break c}C[e+24>>2]=0;C[e+28>>2]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e+28>>2]=i;f=Pk(i,8276,g+8|0);if(!C[g+8>>2]){C[f>>2]=a;C[f+4>>2]=e;h=C[e+28>>2];j=f+8264|0;C[f+8272>>2]=j;C[f+8>>2]=h;C[f+8268>>2]=j;C[f+8264>>2]=0;d:{h=Qv(a);e:{if(h){break e}h=C[a+8>>2];C[f+48>>2]=919;C[f+44>>2]=920;C[f+68>>2]=h;h=C[a+28>>2];C[f+16>>2]=0;C[f+52>>2]=h;C[f+12>>2]=f+4168;h=3;if(Nv(f+12|0,-15)){break e}if(C[f+12>>2]){break d}}C[g+8>>2]=h;if(f){Fe[C[i+8>>2]](i,f)}break c}C[g+8>>2]=0;C[e+12>>2]=f}h=C[a+8>>2];f:{g:{if(bf(a,C[a+4>>2]-4|0)){break g}j=dg(a,g+12|0);k=C[g+12>>2];bf(a,h);h=k?0:j;if(h-1>>>0>40958){break g}j=hf(i,h,g+8|0);if(!C[g+8>>2]){if((Xo(f,0,j,h)|0)==(h|0)){break f}Xo(f,0,0,0);if(j){Fe[C[i+8>>2]](i,j)}}C[g+8>>2]=0}C[e+8>>2]=0;C[e>>2]=0;C[e+4>>2]=2147483647;C[e+24>>2]=921;C[e+20>>2]=922;break c}tm(f+12|0);C[f+52>>2]=0;C[f+44>>2]=0;C[f+48>>2]=0;C[f+24>>2]=0;C[f+28>>2]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;if(f){Fe[C[i+8>>2]](i,f)}C[e+4>>2]=h;C[e+8>>2]=0;C[e+12>>2]=0;C[e+24>>2]=921;C[e+20>>2]=0;C[e>>2]=j}Ce=g+16|0;f=C[g+8>>2];if((f&255)==7){break b}if(f){i=Ce-16|0;Ce=i;f=40;h:{if(!e|!a){break h}h=C[a+28>>2];f=bf(a,0);if(f){break h}f=jg(a,i+12|0,2);if(f){break h}f=3;if(D[i+12|0]!=31|D[i+13|0]!=157){break h}C[i+8>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+28>>2]=h;g=hf(h,4292,i+8|0);f=C[i+8>>2];if(!f){C[g>>2]=a;C[g+4>>2]=e;j=C[e+28>>2];k=g+4280|0;C[g+4288>>2]=k;C[g+8>>2]=j;C[g+4284>>2]=k;C[g+4280>>2]=0;i:{j=bf(a,0);j:{if(j){break j}j=jg(a,i+14|0,2);if(j){break j}j=3;if(D[i+14|0]!=31){break j}if(D[i+15|0]==157){break i}}C[i+8>>2]=j;if(g){Fe[C[h+8>>2]](h,g)}f=C[i+8>>2];break h}p(g+12|0,0,172);C[g+176>>2]=a;h=C[a+28>>2];C[g+108>>2]=64;C[g+100>>2]=g+112;C[g+180>>2]=h;C[g+36>>2]=0;C[g+40>>2]=0;A[g+44|0]=0;C[g- -64>>2]=9;C[e+12>>2]=g}C[e+8>>2]=0;C[e>>2]=0;C[e+4>>2]=2147483647;C[e+24>>2]=926;C[e+20>>2]=927}Ce=i+16|0;if((f&255)==7|f){break b}}C[b+104>>2]=e;C[b+172>>2]=a;if(Jv(e,b)){break b}}if((c|0)>0){rm(b);a=6;break a}k:{l:{a=C[b+180>>2];m:{if(!a){break m}c=C[b+176>>2];if(!c|(D[a|0]|32)!=105|((D[a+1|0]|32)!=115|(D[a+2|0]|32)!=111)){break m}a=a+3|0;if(!Se(a,29056)){break l}if(Se(a,28819)){break m}if(!Se(c,29773)){break l}}C[d+8>>2]=0;C[d+12>>2]=0;break k}C[d+8>>2]=1970170211;C[d+12>>2]=65539}C[d+4>>2]=b;a=wh(287136,0,d+4|0,0);break a}rm(b);a=2}Ce=d+16|0;return a|0}function bg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ce+-64|0;Ce=f;a:{if(!a){break a}b:{c:{switch(b-1|0){case 0:e=C[a+48>>2];if(e&4){break a}C[a+48>>2]=e&-77|4;nr(a);break b;case 1:e=C[a+48>>2];if(!(e&4)){break a}C[a+48>>2]=e&-13|8;Th(a,0);break b;case 3:if((c&-65536)==536805376|(d&-65536)==536805376){break a}if(!(A[a+48|0]&1)){C[a+60>>2]=c;C[a- -64>>2]=d}if(C[a+16>>2]==(c|0)&C[a+20>>2]==(d|0)){break a}C[a+20>>2]=d;C[a+16>>2]=c;e=th(a);if(!(C[a+124>>2]|(e|0)==-1|(e|0)==C[a+56>>2])){C[a+56>>2]=e;bg(a,18,e,0)}break b;case 4:if(!(A[a+48|0]&1)){C[a+72>>2]=d;C[a+68>>2]=c}if(C[a+24>>2]==(c|0)&C[a+28>>2]==(d|0)){break a}C[a+28>>2]=d;C[a+24>>2]=c;e=th(a);C[a+116>>2]=0;d:{if(C[a+124>>2]){break d}bg(a,6,C[a+24>>2],C[a+28>>2]);if((e|0)==-1|(e|0)==C[a+56>>2]){break d}C[a+56>>2]=e;bg(a,18,e,0)}break b;case 6:e=C[a+48>>2];if(e&64){break a}C[a+48>>2]=e&-193|64;if(!(D[C[105668]+404|0]&2)){Th(a,0)}break b;case 7:e=C[a+48>>2];if(e&128){break a}C[a+48>>2]=e&-193|128;break b;case 8:e=C[a+48>>2];if(!(e&192)){break a}C[a+48>>2]=e&-193;nr(a);break b;case 9:e=C[a+48>>2];if(e&1024){break a}C[a+48>>2]=e|1024;e=C[105668];g=C[e+168>>2];if(g){Fe[g|0](e,a)}break b;case 10:e=C[a+48>>2];if(!(e&1024)){break a}C[a+48>>2]=e&-1025;break b;case 11:e=C[a+48>>2];if(e&512){break a}C[a+48>>2]=e|512;e=C[a+104>>2];e:{if(!e){break e}g=C[105668];h=C[g+124>>2];if(!h){break e}Fe[h|0](g,a,e)|0}f:{if(!C[105569]){break f}Rl(a);if(!C[105570]){break f}e=C[a+24>>2]/2|0;g=C[a+28>>2]/2|0;h=a?a:C[105559];g:{if(!h|D[h+48|0]&64){break g}C[105565]=g;C[105564]=e;C[105568]=0;i=C[105553];if(!(!i|(C[105570]?0:C[105569]))){Fe[i|0](h,e,g);break g}Fi(h,C[105558],0,e,g)}}bj(a);break b;case 12:break c;default:break b}}e=C[a+48>>2];if(!(e&512)){break a}C[a+48>>2]=e&-513;h:{if(!C[a+104>>2]){break h}e=C[105668];g=C[e+124>>2];if(!g){break h}Fe[g|0](e,a,C[a+108>>2])|0}bj(a);i:{if(C[a+124>>2]|!(A[a+48|0]&1)){break i}j:{k:{e=Eg(23984);if(!(!e|!D[e|0])){if(wf(e,11396)){break k}}if((C[a+48>>2]&4097)==4097){break i}e=(C[C[105668]+404>>2]^-1)&1;break j}e=cg(23984,0)}if(!e){break i}e=C[105668];if(!e){Qe(19865,0);break i}if(C[a>>2]!=(e+388|0)){Qe(2168,0);break i}if(D[a+48|0]&64){break i}g=C[e+100>>2];if(!g){break i}if(!(D[e+404|0]&2)){Th(a,0);e=C[105668];g=C[e+100>>2];if(!g){break i}}Fe[g|0](e,a)}}l:{if((qf(512,-1)|0)==1){C[f+28>>2]=d;C[f+24>>2]=c;C[f+8>>2]=512;A[f+20|0]=b;C[f+16>>2]=C[a+4>>2];m:{n:{switch(b-3|0){case 3:C[f+4>>2]=0;C[f>>2]=f+8;Tn(639,f);if(!C[f+4>>2]){break m}A[f+20|0]=5;if((Df(f+8|0)|0)<=0){break l}A[f+20|0]=6;break m;case 1:Tn(640,f+8|0);break m;case 0:break n;default:break m}}Tn(641,f+8|0)}Df(f+8|0)}if(C[a+172>>2]|(C[a+168>>2]|(b|0)!=14)){break a}if(!cg(26757,1)){break a}A[422388]=0;Sn(256)}}Ce=f- -64|0}function zq(a,b,c,d){var e=0,f=J(0),g=0,h=0,i=J(0),j=0,k=0,l=J(0),m=J(0),n=J(0),o=0;j=Ce-48|0;Ce=j;if(F[a+16>>2]>c>>>0){C[j+44>>2]=0;C[j+36>>2]=0;C[j+40>>2]=0;h=C[d+4>>2];g=j+12|0;pq(g,a,c);o=oz(g,b,a,j+36|0,!h,0);a:{if(!o){break a}if(h){e=C[j+40>>2];if(e>>>0>=5){g=e-5|0;l=G[d+24>>2];m=G[d+20>>2];n=G[d+16>>2];f=G[d+12>>2];c=C[j+44>>2];a=0;while(1){b:{if(a>>>0>=e>>>0){b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break b}b=c+(a<<4)|0}i=G[b+4>>2];f=f<=i?f:i;G[d+12>>2]=f;i=G[b+8>>2];n=i>=n?n:i;G[d+16>>2]=n;i=G[b+4>>2];m=i<=m?m:i;G[d+20>>2]=m;i=G[b+8>>2];l=i<=l?l:i;G[d+24>>2]=l;b=(a|0)==(g|0);a=a+1|0;if(!b){continue}break}}k=C[d>>2];f=G[d+20>>2];i=G[d+12>>2];c:{if(f<=i|G[d+16>>2]>=G[d+24>>2]){C[h>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;break c}g=C[k+20>>2];e=C[k+16>>2];b=C[e+28>>2];d:{if(b){a=b;c=g;break d}a=Lf(e);f=G[d+20>>2];e=C[k+16>>2];b=C[e+28>>2];c=C[k+20>>2]}i=J(O(J(J(J(i*J(g|0))/J(a>>>0))+J(.5))));e:{if(J(K(i))>2]=g;f:{if(b){a=b;break f}a=Lf(e);g=C[h>>2];e=C[k+16>>2];b=C[e+28>>2]}f=J(O(J(J(J(f*J(c|0))/J(a>>>0))+J(.5))));g:{if(J(K(f))>2]=a-g;g=C[k+24>>2];f=G[d+24>>2];h:{if(b){a=b;c=g;break h}a=Lf(e);e=C[k+16>>2];b=C[e+28>>2];c=C[k+24>>2]}f=J(O(J(J(J(f*J(g|0))/J(a>>>0))+J(.5))));i:{if(J(K(f))>2]=a;f=G[d+16>>2];if(!b){b=Lf(e);a=C[h+4>>2]}f=J(O(J(J(J(f*J(c|0))/J(b>>>0))+J(.5))));j:{if(J(K(f))>2]=b-a}}c=C[d+8>>2];if(!c){break a}g=C[j+44>>2];k:{l:{m:{n:{o:{e=C[j+40>>2];p:{if(e>>>0>=4){b=(g+(e<<4)|0)+-64|0;a=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=a;a=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=a;break p}d=C[51431];h=d;b=C[51430];C[105678]=b;C[105679]=d;d=C[51429];a=C[51428];C[105676]=a;C[105677]=d;C[c>>2]=a;C[c+4>>2]=d;C[c+8>>2]=b;C[c+12>>2]=h;if((e|0)!=3){break o}}b=(g+(e<<4)|0)-48|0;a=C[b+4>>2];C[c+16>>2]=C[b>>2];C[c+20>>2]=a;a=C[b+12>>2];C[c+24>>2]=C[b+8>>2];C[c+28>>2]=a;break n}C[105678]=b;C[105679]=h;C[105676]=a;C[105677]=d;C[c+16>>2]=a;C[c+20>>2]=d;C[c+24>>2]=b;C[c+28>>2]=h;if(e>>>0<2){break m}}b=(g+(e<<4)|0)-32|0;a=C[b+4>>2];C[c+32>>2]=C[b>>2];C[c+36>>2]=a;a=C[b+12>>2];C[c+40>>2]=C[b+8>>2];C[c+44>>2]=a;break l}d=C[51431];h=d;b=C[51430];C[105678]=b;C[105679]=d;d=C[51429];a=C[51428];C[105676]=a;C[105677]=d;C[c+32>>2]=a;C[c+36>>2]=d;C[c+40>>2]=b;C[c+44>>2]=h;if(e){break l}C[105678]=b;C[105679]=h;C[105676]=a;C[105677]=d;a=422704;break k}a=(g+(e<<4)|0)-16|0}b=C[a+4>>2];C[c+48>>2]=C[a>>2];C[c+52>>2]=b;b=C[a+12>>2];C[c+56>>2]=C[a+8>>2];C[c+60>>2]=b}Re(C[j+44>>2])}Ce=j+48|0;return o}function Fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-16|0;Ce=j;e=hf(C[a+100>>2],C[a+16>>2]+216|0,j+8|0);d=C[j+8>>2];if(!d){C[e>>2]=a;d=C[a+16>>2];C[e+212>>2]=c;f=e+216|0;C[e+8>>2]=f;C[e+4>>2]=d;l=C[a+92>>2];p(f,127,d);a:{if(vm(a)){break a}d=273472;while(1){c=C[C[(C[d+8>>2]<<2)+274608>>2]+4>>2];b:{if(!c|C[d+16>>2]!=10){break b}d=C[c>>2];if(!d){break b}while(1){k=c;c=0;c:{if(!a){break c}g=C[a+92>>2];if(!g){break c}c=Fe[C[C[g+12>>2]+12>>2]](g,d)|0}C[j+12>>2]=c;d:{if(!c|F[e+4>>2]<=c>>>0){break d}c=c+f|0;if(D[c|0]!=127){break d}A[c|0]=i}d=dw(a,d,j+12|0);while(1){c=C[j+12>>2];if(!(!c|F[k+4>>2]>>0)){e:{if(c>>>0>=F[e+4>>2]){break e}c=c+f|0;if(D[c|0]!=127){break e}A[c|0]=i}d=dw(a,d,j+12|0);continue}break}c=k+8|0;d=C[k+8>>2];if(d){continue}break}}i=i+1|0;d=C[(i<<2)+274704>>2];if((i|0)!=49){continue}break}c=0;f:{if(!a){break f}d=C[a+92>>2];if(!d){break f}c=Fe[C[C[d+12>>2]+12>>2]](d,48)|0}if(!(!c|F[e+4>>2]<=c>>>0)){c=c+f|0;A[c|0]=D[c|0]|128}d=0;g:{if(!a){break g}c=C[a+92>>2];if(!c){break g}d=Fe[C[C[c+12>>2]+12>>2]](c,49)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;h:{if(!a){break h}c=C[a+92>>2];if(!c){break h}d=Fe[C[C[c+12>>2]+12>>2]](c,50)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;i:{if(!a){break i}c=C[a+92>>2];if(!c){break i}d=Fe[C[C[c+12>>2]+12>>2]](c,51)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;j:{if(!a){break j}c=C[a+92>>2];if(!c){break j}d=Fe[C[C[c+12>>2]+12>>2]](c,52)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;k:{if(!a){break k}c=C[a+92>>2];if(!c){break k}d=Fe[C[C[c+12>>2]+12>>2]](c,53)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;l:{if(!a){break l}c=C[a+92>>2];if(!c){break l}d=Fe[C[C[c+12>>2]+12>>2]](c,54)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;m:{if(!a){break m}c=C[a+92>>2];if(!c){break m}d=Fe[C[C[c+12>>2]+12>>2]](c,55)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;n:{if(!a){break n}c=C[a+92>>2];if(!c){break n}d=Fe[C[C[c+12>>2]+12>>2]](c,56)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;o:{if(!a){break o}c=C[a+92>>2];if(!c){break o}d=Fe[C[C[c+12>>2]+12>>2]](c,57)|0}if(!d|d>>>0>=F[e+4>>2]){break a}c=d+f|0;A[c|0]=D[c|0]|128}k=C[e+212>>2];p:{if(C[k+12>>2]==127){break p}i=C[e+4>>2];if((i|0)<=0){break p}d=0;if((i|0)!=1){m=i&-2;c=0;while(1){g=d+f|0;h=D[g|0];if((h&127)==127){h=h&128;A[g|0]=h;A[g|0]=h|D[k+12|0]}g=(d|1)+f|0;h=D[g|0];if((h&127)==127){h=h&128;A[g|0]=h;A[g|0]=h|D[k+12|0]}d=d+2|0;c=c+2|0;if((m|0)!=(c|0)){continue}break}}if(!(i&1)){break p}c=d+f|0;d=D[c|0];if((d&127)!=127){break p}d=d&128;A[c|0]=d;A[c|0]=d|D[k+12|0]}oj(a,l);C[e+12>>2]=0;d=0}C[b>>2]=e;Ce=j+16|0;return d}function kg(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,o=0;c=A[b|0];if(!c){return a}a=ah(a,c);a:{if(!a){break a}if(!D[b+1|0]){return a}if(!D[a+1|0]){break a}if(!D[b+2|0]){c=D[a+1|0];e=(c|0)!=0;b:{if(!c){break b}c=c|D[a|0]<<8;h=D[b+1|0]|D[b|0]<<8;if((c|0)==(h|0)){break b}b=a+1|0;while(1){a=b;d=D[a+1|0];e=(d|0)!=0;if(!d){break b}b=a+1|0;c=d|c<<8&65280;if((h|0)!=(c|0)){continue}break}}return e?a:0}if(!D[a+2|0]){break a}if(!D[b+3|0]){d=b;b=a+2|0;c=D[a+2|0];e=(c|0)!=0;c:{d:{if(!c){break d}c=D[a+1|0]<<16|D[a|0]<<24|c<<8;h=D[d+1|0]<<16|D[d|0]<<24|D[d+2|0]<<8;if((c|0)==(h|0)){break d}while(1){a=b+1|0;d=D[b+1|0];e=(d|0)!=0;if(!d){break c}b=a;c=(c|d)<<8;if((h|0)!=(c|0)){continue}break}break c}a=b}return e?a-2|0:0}if(!D[a+3|0]){break a}if(!D[b+4|0]){d=b;b=a+3|0;c=D[a+3|0];e=(c|0)!=0;e:{f:{if(!c){break f}c=c|(D[a+1|0]<<16|D[a|0]<<24|D[a+2|0]<<8);a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);h=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((c|0)==(h|0)){break f}while(1){a=b+1|0;d=D[b+1|0];e=(d|0)!=0;if(!d){break e}b=a;c=d|c<<8;if((h|0)!=(c|0)){continue}break}break e}a=b}return e?a-3|0:0}h=a;i=Ce-1056|0;Ce=i;a=i+1048|0;C[a>>2]=0;C[a+4>>2]=0;a=i+1040|0;C[a>>2]=0;C[a+4>>2]=0;C[i+1032>>2]=0;C[i+1036>>2]=0;C[i+1024>>2]=0;C[i+1028>>2]=0;k=b;g:{h:{i:{j:{c=D[b|0];k:{if(!c){j=-1;a=1;break k}while(1){if(!D[f+h|0]){break h}f=f+1|0;C[((c&255)<<2)+i>>2]=f;a=(i+1024|0)+(c>>>3&28)|0;C[a>>2]=C[a>>2]|1<>>0>1){break j}}g=-1;d=1;break i}b=1;c=1;while(1){g=D[(c+j|0)+k|0];e=D[a+k|0];l:{if((g|0)==(e|0)){if((b|0)==(c|0)){d=b+d|0;c=1;break l}c=c+1|0;break l}if(e>>>0>>0){b=a-j|0;d=a;c=1;break l}j=d;d=d+1|0;b=1;c=1}a=c+d|0;if(f>>>0>a>>>0){continue}break}d=1;g=-1;if(f>>>0<=1){a=b;break i}a=0;e=1;c=1;while(1){m=D[(c+g|0)+k|0];l=D[d+k|0];m:{if((m|0)==(l|0)){if((c|0)==(e|0)){a=a+e|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){e=d-g|0;a=d;c=1;break m}g=a;a=a+1|0;e=1;c=1}d=a+c|0;if(f>>>0>d>>>0){continue}break}a=b;d=e}b=a;a=g+1>>>0>j+1>>>0;e=a?d:b;l=a?g:j;m=l+1|0;n:{if(Hg(k,e+k|0,m)){a=(l^-1)+f|0;e=(a>>>0>>0?l:a)+1|0;b=0;break n}b=f-e|0}o=f-1|0;n=f|63;g=0;a=h;while(1){o:{if(h-a>>>0>=f>>>0){break o}c=lj(h,0,n);if(c){h=c;if(c-a>>>0>>0){break h}break o}h=h+n|0}d=D[a+o|0];c=f;p:{q:{if(!(C[(i+1024|0)+(d>>>3&28)>>2]>>>d&1)){break q}c=C[(d<<2)+i>>2];if((c|0)!=(f|0)){c=f-c|0;c=c>>>0>g>>>0?c:g;break q}r:{c=m;d=c>>>0>g>>>0?c:g;j=D[k+d|0];if(j){while(1){if(D[a+d|0]!=(j&255)){break r}d=d+1|0;j=D[k+d|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break g}c=c-1|0;if(D[k+c|0]==D[a+c|0]){continue}break}c=e;g=b;break p}c=d-l|0}g=0}a=a+c|0;continue}}a=0}Ce=i+1056|0;d=a}return d}function dy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Ce-16|0;Ce=g;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}e=C[b+12>>2];d=e-2|0;C[b+12>>2]=d;f=1;if((d|0)<=0){f=0;break a}b:{c:{d:{e:{d=D[a|0]|D[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}f=a+2|0;if(f>>>0>c>>>0|c-f>>>0<2){break b}c=e-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}c=D[f|0]|D[f+1|0]<<8;f:{if(!c){break f}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break f}c=C[b+28>>2];if(c>>>0>31){break b}C[b+28>>2]=c+1;if(!D[b+24|0]){break b}A[f|0]=0;A[f+1|0]=0}C[g+12>>2]=a;f=cy(a+4|0,b,g+12|0);break a}e=Ce-16|0;Ce=e;g:{h:{f=a+2|0;if(f>>>0>2]){break h}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break h}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break h}c=D[f|0]|D[f+1|0]<<8;i:{if(!c){break i}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break i}c=C[b+28>>2];if(c>>>0>31){break h}C[b+28>>2]=c+1;if(!D[b+24|0]){break h}A[f|0]=0;A[f+1|0]=0}f=0;c=a+4|0;if(c>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;j:{if(!d){break j}if(_i(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}c=a+6|0;if(c>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;k:{if(!d){break k}if(_i(((d<<8|d>>>8)&65535)+a|0,b)){break k}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;l:{if(!d){break l}if(_i(((d<<8|d>>>8)&65535)+a|0,b)){break l}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}C[e+12>>2]=a;f=cy(a+10|0,b,e+12|0);break g}f=0}Ce=e+16|0;break a}f=0;c=Ce-16|0;Ce=c;C[c+12>>2]=a;d=a+2|0;m:{if(!gl(d,b,c+12|0)){break m}e=D[a+2|0]|D[a+3|0]<<8;C[c+8>>2]=a;e=(d+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(!gl(e,b,c+8|0)){break m}d=D[e|0]|D[e+1|0]<<8;if(!d){break m}C[c+4>>2]=a;a=(e+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!gl(a,b,c+4|0)){break m}e=D[a|0]|D[a+1|0]<<8;a=(a+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){break m}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break m}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break m}h=D[a|0]|D[a+1|0]<<8;if(h){a=a+2|0;if(a>>>0>e>>>0){break m}e=e-a|0;a=((h<<8|h>>>8)&65535)<<2;if(e>>>0>>0){break m}a=d-a|0;C[b+12>>2]=a;if((a|0)<=0){break m}}f=1}Ce=c+16|0;break a}f=0}Ce=g+16|0;return f}function nA(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,k=0,l=0,m=0,n=0;j=Ce-16|0;Ce=j;a=C[c>>2];a:{if(!b){if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b+1;break a}k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=F[a+16>>2]<4?205712:C[a+12>>2];g=C[c+4>>2];h=j+12|0;if(h){C[h>>2]=0}b:{c:{d:{e:{f:{d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((e|0)<=1953658212){if((e|0)==256){break f}if((e|0)!=65536){break e}break b}if((e|0)==1953658213|(e|0)==1954115633){break b}if((e|0)!=1953784678){break d}e=D[a+4|0]|D[a+5|0]<<8;d=205712;if(((e<<8|e>>>8)&65535)-1>>>0>1){break c}d=a;e=(a+(g<<2)|0)+12|0;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);a=g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0?205712:e;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=a?d+a|0:205712;break b}d=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);d=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;e=D[d+24|0]|D[d+25|0]<<8;i=((e<<8|e>>>8)&65535)+d|0;d=D[i|0]|D[i+1|0]<<8;m=(d<<8|d>>>8)&65535;d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);n=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;e=0;g:{while(1){h:{d=i+(e<<3)|0;f=D[d+2|0]|D[d+3|0]<<8|(D[d+4|0]<<16|D[d+5|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))!=1936092788){break h}f=D[d+6|0]|D[d+7|0]<<8;if(g>>>0>((f<<8|f>>>8)&65535)>>>0){break h}d=D[d+8|0]|D[d+9|0]<<8;d=(i+((d<<8|d>>>8)&65535)|0)+I(g,12)|0;d=((D[d+6|0]<<8|D[d+5|0]<<16|D[d+7|0])+n|0)+4|0;break g}d=(e|0)!=(m|0);e=e+1|0;if(d){continue}break}d=205712}if(h){C[h>>2]=d-a}a=d;break b}d=a;if((e|0)==1330926671){break c}}d=205712}a=d}d=a+12|0;i=a+4|0;a=D[a+4|0]|D[a+5|0]<<8;g=(a<<8|a>>>8)&65535;i:{j:{if(g>>>0<=15){if(!a){break j}a=0;e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>=b>>>0&(e|0)==(k|0)){break i}while(1){a=a+1|0;if((g|0)==(a|0)){break j}e=d+(a<<4)|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>>0|(e|0)!=(k|0)){continue}break}break i}if(!a){break j}h=g-1|0;while(1){a=h+l>>>1|0;e=d+(a<<4)|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>>0;k:{if(!(f|(e|0)==(k|0))){h=a-1|0;break k}if(!f&(e|0)==(k|0)){break i}l=a+1|0}if((h|0)>=(l|0)){continue}break}}a=65535}a=a>>>0>=g>>>0?205712:(i+(a<<4)|0)+8|0;b=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);a=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);a=Yq(C[c>>2],C[j+12>>2]+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}Ce=j+16|0;return a|0}function Ks(a,b,c,d,e,f){var g=J(0),h=J(0),i=J(0),j=0,k=J(0),l=0,m=0,n=J(0),o=J(0),p=J(0),q=0,r=0,s=0,t=0,u=0,v=J(0),w=J(0);j=(a<<2)+15&-16;q=Ce-j|0;r=q-j|0;s=r-j|0;t=s-j|0;u=t-j|0;k=J(1);g=J(G[c>>2]+e);i=g>2]=g;G[r>>2]=g;C[s>>2]=0;h=J(J(o*i)+J(0));G[t>>2]=h;C[u>>2]=0;l=1;if((a|0)>1){i=g;while(1){p=i;j=l<<2;i=J(G[j+c>>2]+e);o=i>2]=i;p=J(n*k);g=J(p+g);G[j+r>>2]=g;v=J(J(p*k)+v);G[j+s>>2]=v;h=J(J(n*o)+h);G[j+t>>2]=h;w=J(J(p*o)+w);G[j+u>>2]=w;k=J(k+J(1));l=l+1|0;if((l|0)!=(a|0)){continue}break}}g=J(1);k=J(0);l=C[b>>2];a:{if((l|0)>=0){i=J(0);o=J(0);break a}while(1){c=l<<2&262140;j=l>>16<<2;h=J(G[c+q>>2]+G[q-j>>2]);i=J(G[c+u>>2]-G[u-j>>2]);n=J(G[c+t>>2]+G[t-j>>2]);g=J(G[c+r>>2]-G[r-j>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[c+s>>2]+G[s-j>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(k*o)+i)/g);G[(m<<2)+d>>2]=(h>2];if((l|0)<0){continue}break}}c=l&65535;if((c|0)<(a|0)){while(1){c=c<<2;j=l>>16<<2;h=J(G[c+q>>2]-G[j+q>>2]);i=J(G[c+u>>2]-G[j+u>>2]);n=J(G[c+t>>2]-G[j+t>>2]);g=J(G[c+r>>2]-G[j+r>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[c+s>>2]-G[j+s>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(k*o)+i)/g);G[(m<<2)+d>>2]=(h>2];c=l&65535;if((c|0)<(a|0)){continue}break}}b:{if((a|0)<=(m|0)){break b}b=m^-1;if(a-m&1){h=J(J(J(k*o)+i)/g);G[(m<<2)+d>>2]=(h>2]=(h>2]=(h>>1|0;l=j-f|0;d:{if((l|0)>=0){k=J(0);m=0;break d}m=f-j|0;b=0;k=J(0);c=j;while(1){c=c<<2;l=l<<2;h=J(G[c+q>>2]+G[q-l>>2]);i=J(G[c+u>>2]-G[u-l>>2]);n=J(G[c+t>>2]+G[t-l>>2]);g=J(G[c+r>>2]-G[r-l>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[c+s>>2]+G[s-l>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(J(k*o)+i)/g)-e);c=(b<<2)+d|0;if(h>2]){G[c>>2]=h}k=J(k+J(1));b=b+1|0;c=j+b|0;l=c-f|0;if((b|0)!=(m|0)){continue}break}}l=j+m|0;if((l|0)<(a|0)){while(1){b=l<<2;c=l-f<<2;h=J(G[b+q>>2]-G[c+q>>2]);i=J(G[b+u>>2]-G[c+u>>2]);n=J(G[b+t>>2]-G[c+t>>2]);g=J(G[b+r>>2]-G[c+r>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[b+s>>2]-G[c+s>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(J(k*o)+i)/g)-e);c=(m<<2)+d|0;if(h>2]){G[c>>2]=h}k=J(k+J(1));m=m+1|0;l=j+m|0;if((l|0)<(a|0)){continue}break}}if((a|0)<=(m|0)){break c}while(1){h=J(J(J(J(k*o)+i)/g)-e);b=(m<<2)+d|0;if(h>2]){G[b>>2]=h}k=J(k+J(1));m=m+1|0;if((m|0)!=(a|0)){continue}break}}}function DA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=J(0),k=0,l=0,m=0,n=0,o=0,p=0;i=Ce-16|0;Ce=i;c=If(1,36);a:{if(!c){a=_e(0);break a}o=c,p=Og(8161),C[o+12>>2]=p;j=J(1);if(D[b+49|0]&32){j=J(+W())}G[c+16>>2]=j;h=O(+J(j*J(C[b+24>>2])));k=O(+J(G[c+16>>2]*J(C[b+28>>2])));d=1;V(C[c+12>>2],1,1)|0;U(C[c+12>>2],i+8|0,i|0)|0;d=O(H[i+8>>3])==1?O(H[i>>3])!=1:d;C[c+20>>2]=d;if(!(!(D[b+48|0]&32)|!d)){j=G[c+16>>2];h=H[i>>3];b:{if(K(h)<2147483648){d=~~h;break b}d=-2147483648}m=H[i+8>>3];c:{if(K(m)<2147483648){f=~~m;break c}f=-2147483648}bg(b,5,f,d);k=h;h=+j;k=k*h;h=m*h}f=C[c+12>>2];if(K(k)<2147483648){d=~~k}else{d=-2147483648}if(K(h)<2147483648){e=~~h}else{e=-2147483648}V(f|0,e|0,d|0)|0;if(!(C[c+20>>2]|G[c+16>>2]==J(1))){aa(C[c+12>>2],+C[b+24>>2],+C[b+28>>2])|0}d:{if(!(D[b+48|0]&2)){break d}e:{if(C[a+1080>>2]){break e}f=Ce-16|0;Ce=f;d=C[105668];f:{if(!d){d=Qe(19865,0);break f}g:{if(!C[d+516>>2]){e=C[d+192>>2];if(!e){C[f>>2]=C[d>>2];d=Qe(32625,f);break f}d=Fe[e|0](d,0)|0;if(d){break g}}d=0;e=C[105668];C[e+516>>2]=C[e+516>>2]+1;break f}e=C[105668];g=C[e+200>>2];if(!g){break f}Fe[g|0](e)}Ce=f+16|0;if((d|0)>=0){break e}a=-1;break a}d=0;e=0;f=Ce-96|0;Ce=f;g=Ce+-64|0;Ce=g;h:{if(!C[a+1080>>2]){e=Qe(19845,0);break h}if(!vr(a,1)){break h}if(!vr(a,0)){Tg(15464,0);break h}e=34979;l=Fe[C[C[a+1080>>2]+128>>2]]()|0;n=l-12288|0;if(n>>>0<=14){e=C[(n<<2)+148500>>2]}if(!D[e|0]){C[g+16>>2]=l;e=g+32|0;rf(e,32,1768,g+16|0)}C[g+8>>2]=e;C[g+4>>2]=15544;C[g>>2]=15510;e=Qe(32680,g)}Ce=g- -64|0;i:{if(e){break i}j:{if(C[a+504>>2]){if(!Dj(a,19019)){break j}C[f+32>>2]=12445;C[f+36>>2]=12425;d=2}e=f+32|0;if(Dj(a,16039)){g=cg(22477,0);l=f+32|d<<2;C[l>>2]=12767;C[(l|4)>>2]=!g;d=d+2|0}C[(d<<2)+e>>2]=12344;d=C[a+1080>>2];d=Fe[C[d+84>>2]](C[d+8>>2],C[d+12>>2],0,e)|0;if(d){break i}d=34979;a=Fe[C[C[a+1080>>2]+128>>2]]()|0;e=a-12288|0;if(e>>>0<=14){d=C[(e<<2)+148500>>2]}if(!D[d|0]){C[f+16>>2]=a;d=f- -64|0;rf(d,32,1768,f+16|0)}C[f+8>>2]=d;C[f+4>>2]=19563;C[f>>2]=19161;Qe(32680,f);d=0;break i}Qe(6550,0)}Ce=f+96|0;C[c>>2]=d;if(d){break d}a=Qe(19124,0);break a}C[c+4>>2]=b;C[b+164>>2]=c;Rl(b);Us(b);ya(C[c+12>>2],c|0,0,598,2)|0;xa(C[c+12>>2],c|0,0,599,2)|0;wa(1,c|0,0,599,2)|0;va(C[c+12>>2],c|0,0,600,2)|0;ua(C[c+12>>2],c|0,0,600,2)|0;ta(C[c+12>>2],c|0,0,601,2)|0;sa(2,c|0,0,602,2)|0;ra(2,c|0,0,602,2)|0;qa(C[c+12>>2],c|0,0,603,2)|0;pa(C[c+12>>2],c|0,0,603,2)|0;oa(C[c+12>>2],c|0,0,603,2)|0;na(C[c+12>>2],c|0,0,603,2)|0;ma(1,c|0,0,604,2)|0;a=Eg(23371);a=a?a:2;la(a|0,c|0,0,605,2)|0;ka(a|0,c|0,0,605,2)|0;ja(a|0,c|0,0,606,2)|0;ia(1,c|0,0,607,2)|0;ha(2,c|0,0,608,2)|0;ga(c|0,0,609,2)|0;fa(c|0,610,1)|0;a=0}Ce=i+16|0;return a|0}function Vg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(b){d=a^-1;if(c>>>0>=23){a:{if(!(b&3)){break a}d=C[(((D[b|0]^d)&255)<<2)+96096>>2]^d>>>8;a=c-1|0;e=b+1|0;if(!(!a|!(e&3))){d=C[(((D[b+1|0]^d)&255)<<2)+96096>>2]^d>>>8;a=c-2|0;e=b+2|0;if(!(!a|!(e&3))){d=C[(((D[b+2|0]^d)&255)<<2)+96096>>2]^d>>>8;a=c-3|0;e=b+3|0;if(!(!a|!(e&3))){d=C[(((D[b+3|0]^d)&255)<<2)+96096>>2]^d>>>8;b=b+4|0;c=c-4|0;break a}c=a;b=e;break a}c=a;b=e;break a}c=a;b=e}a=(c>>>0)/20|0;c=I(a,-20)+c|0;j=a-1|0;if(j){e=I(a,20)-20|0;a=b;while(1){f=C[a+16>>2]^f;f=C[(f>>>22&1020)+100192>>2]^(C[(f>>>14&1020)+99168>>2]^(C[(f>>>6&1020)+98144>>2]^C[((f&255)<<2)+97120>>2]));g=C[a+12>>2]^g;g=C[(g>>>22&1020)+100192>>2]^(C[(g>>>14&1020)+99168>>2]^(C[(g>>>6&1020)+98144>>2]^C[((g&255)<<2)+97120>>2]));h=C[a+8>>2]^h;h=C[(h>>>22&1020)+100192>>2]^(C[(h>>>14&1020)+99168>>2]^(C[(h>>>6&1020)+98144>>2]^C[((h&255)<<2)+97120>>2]));i=C[a+4>>2]^i;i=C[(i>>>22&1020)+100192>>2]^(C[(i>>>14&1020)+99168>>2]^(C[(i>>>6&1020)+98144>>2]^C[((i&255)<<2)+97120>>2]));d=C[a>>2]^d;d=C[(d>>>22&1020)+100192>>2]^(C[(d>>>14&1020)+99168>>2]^(C[(d>>>6&1020)+98144>>2]^C[((d&255)<<2)+97120>>2]));a=a+20|0;j=j-1|0;if(j){continue}break}b=b+e|0}a=C[b>>2]^d;a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=C[b+4>>2]^(C[((a&255)<<2)+96096>>2]^i)^a>>>8;a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=C[b+8>>2]^(C[((a&255)<<2)+96096>>2]^h)^a>>>8;a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=C[b+12>>2]^(C[((a&255)<<2)+96096>>2]^g)^a>>>8;a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=C[b+16>>2]^(C[((a&255)<<2)+96096>>2]^f)^a>>>8;a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];a=a>>>8^C[((a&255)<<2)+96096>>2];d=a>>>8^C[((a&255)<<2)+96096>>2];b=b+20|0}if(c>>>0>7){while(1){a=C[(((D[b|0]^d)&255)<<2)+96096>>2]^d>>>8;a=a>>>8^C[(((a^D[b+1|0])&255)<<2)+96096>>2];a=a>>>8^C[(((a^D[b+2|0])&255)<<2)+96096>>2];a=a>>>8^C[(((a^D[b+3|0])&255)<<2)+96096>>2];a=a>>>8^C[(((a^D[b+4|0])&255)<<2)+96096>>2];a=a>>>8^C[(((a^D[b+5|0])&255)<<2)+96096>>2];a=a>>>8^C[(((a^D[b+6|0])&255)<<2)+96096>>2];d=a>>>8^C[(((a^D[b+7|0])&255)<<2)+96096>>2];b=b+8|0;c=c-8|0;if(c>>>0>7){continue}break}}b:{if(!c){break b}if(c&1){d=C[(((D[b|0]^d)&255)<<2)+96096>>2]^d>>>8;b=b+1|0;a=c-1|0}else{a=c}if((c|0)==1){break b}while(1){c=C[(((D[b|0]^d)&255)<<2)+96096>>2]^d>>>8;d=C[(((c^D[b+1|0])&255)<<2)+96096>>2]^c>>>8;b=b+2|0;a=a-2|0;if(a){continue}break}}a=d^-1}else{a=0}return a}function Zw(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,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;u=Ce-272|0;Ce=u;s=C[b+4>>2];g=C[b+8>>2];C[a+52>>2]=-2147483648;C[a+56>>2]=0;C[a+48>>2]=g;C[a+44>>2]=s;y=C[b+52>>2];e=C[b+24>>2];h=C[b+28>>2];x=C[b+44>>2];C[c>>2]=s;C[d>>2]=g;a:{if((e|0)<2|(x|0)<=0){break a}f=e-1|0;n=f&3;j=B[h+12>>1];b:{if(e-2>>>0<3){e=1;k=j;break b}w=f&-4;f=0;e=1;k=j;while(1){i=h+I(e,40)|0;m=B[i+12>>1];k=(k|0)>(m|0)?k:m;l=B[i+52>>1];k=(k|0)>(l|0)?k:l;o=B[i+92>>1];k=(k|0)>(o|0)?k:o;i=B[i+132>>1];k=(i|0)<(k|0)?k:i;j=(j|0)<(m|0)?j:m;j=(j|0)<(l|0)?j:l;j=(j|0)<(o|0)?j:o;j=(i|0)>(j|0)?j:i;e=e+4|0;f=f+4|0;if((w|0)!=(f|0)){continue}break}}if(n){f=0;while(1){i=B[(h+I(e,40)|0)+12>>1];k=(i|0)<(k|0)?k:i;j=(i|0)>(j|0)?j:i;e=e+1|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}}if((j|0)>=(k|0)){break a}z=a,A=Te(j,s)+g|0,C[z>>2]=A;e=Te(k,s)+g|0;C[a+4>>2]=e;i=e&-32;C[a+24>>2]=i;f=C[a>>2];m=f&-32;C[a+16>>2]=m;C[a+8>>2]=f&-64;l=i+32|0;C[a+28>>2]=l;g=m+32|0;C[a+20>>2]=g;C[a+12>>2]=e+63&-64;if((e|0)<(g|0)){C[a+20>>2]=e;g=e}if((f|0)>(i|0)){C[a+24>>2]=f;i=f}h=e-f|0;C[a+32>>2]=h;if((h|0)>=65){e=i-g|0}else{C[a+24>>2]=e;C[a+20>>2]=f;e=h}C[a+36>>2]=e;f=l-m|0;C[a+40>>2]=f;i=(h|0)>=129?16:(h|0)<97?4:8;g=h-i|0;if((g|0)>(e|0)){C[a+36>>2]=g;e=g}g=h+i|0;if((g|0)<(f|0)){C[a+40>>2]=g;f=g}g=(I(h,3)|0)/4|0;if((g|0)>(e|0)){C[a+36>>2]=g;e=g}g=(I(h,5)|0)/4|0;if((g|0)<(f|0)){C[a+40>>2]=g;f=g}if((e|0)<=(f|0)){w=k-j|0;while(1){i=e;m=C[a>>2];g=C[a+32>>2];f=m+(g-e|0)|0;h=C[a+4>>2];c:{d:{if((e|0)>=(g|0)){e=C[a+16>>2];if((f|0)>=(e|0)){break d}f=(h-f|0)+e|0;break c}e=C[a+20>>2];if((f|0)<=(e|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}o=Ze(i-g|0,w)+s|0;v=Te(j,o);p(u,0,260);g=C[a+24>>2];l=f-e|0;n=C[a+16>>2];q=(g|0)>(l+n|0)?g-l|0:n;n=C[a+8>>2];g=q-n|0;e:{if((g|0)<0){break e}t=q;q=C[a+28>>2];r=C[a+20>>2];l=(q|0)<(l+r|0)?q-l|0:r;if((t|0)>(l|0)){break e}l=l-n|0;if((l|0)>64){break e}q=I(((f|0)<(h|0)?h-f|0:f-h|0)+((e|0)<(m|0)?m-e|0:e-m|0)|0,10);v=e-v|0;n=e-n|0;m=(v-n|0)+g|0;f=0;while(1){e=I(f,48)+y|0;r=B[e+6>>1]-B[e+4>>1]|0;h=Te(B[e+2>>1],o)+m|0;e=g;while(1){t=(e<<2)+u|0;C[t>>2]=C[t>>2]+I(r,C[((h&63)<<2)+275888>>2]);h=h+1|0;t=(e|0)<(l|0);e=e+1|0;if(t){continue}break}f=f+1|0;if((x|0)!=(f|0)){continue}break}f=C[a+52>>2];while(1){r=g-n|0;m=r+q|0;h=g;e=C[(g<<2)+u>>2];if(!((e|0)<=(f|0)&((e|0)!=(f|0)|(m|0)>=C[a+56>>2]))){C[a+56>>2]=m;C[a+52>>2]=e;C[a+44>>2]=o;C[a+48>>2]=r+v;f=e}g=h+1|0;if((h|0)<(l|0)){continue}break}}e=i+1|0;if((i|0)>2]){continue}break}}e=C[a+48>>2];a=C[a+44>>2];f=a-s|0;z=b,A=Te(j,f)+e|0,C[z+2992>>2]=A;z=b,A=Te(k,f)+e|0,C[z+2996>>2]=A;C[c>>2]=a;C[d>>2]=e}Ce=u+272|0}function xK(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0;g=Ce-32|0;Ce=g;j=C[b+28>>2];C[g+8>>2]=2;d=hf(j,44,g+8|0);a:{if(C[g+8>>2]){break a}c=Bf(b,C[b+4>>2]);C[g+8>>2]=c;if(c){break a}c=C[a+472>>2];C[d+12>>2]=C[a+468>>2];C[d+16>>2]=c;c=C[a+464>>2];C[d+4>>2]=C[a+460>>2];C[d+8>>2]=c;C[d+20>>2]=C[a+472>>2];C[d+24>>2]=C[a+464>>2];e=C[a+488>>2];c=C[e+24>>2];b:{if(c){c=Fe[C[c>>2]](g+12|0,C[b+28>>2],C[b+32>>2],C[b+36>>2])|0;C[g+8>>2]=c;if(!c){C[g+28>>2]=a+132;C[g+24>>2]=1215;C[g+20>>2]=d;c=g+12|0;q=g,r=Fe[C[C[e+24>>2]+8>>2]](c)|0,C[q+8>>2]=r;Fe[C[C[e+24>>2]+4>>2]](c);c=C[g+8>>2]}if((c&255)==2){e=C[b+4>>2];if(e>>>0<7){break b}c=C[b+32>>2];if(D[c+1|0]>3|(e|0)!=(D[c+2|0]|D[c+3|0]<<8|(D[c+4|0]<<16|D[c+5|0]<<24))){break b}c=Ce-16|0;Ce=c;C[c+12>>2]=0;m=C[b+28>>2];c:{d:{k=C[b+36>>2];h=C[b+32>>2];if(k>>>0>>0){C[c+12>>2]=2;break d}e=(h+99|0)+(D[h+99|0]|D[h+100|0]<<8)|0;if(k>>>0>>0|(D[e+18|0]|D[e+19|0]<<8)>>>0<18){break c}e=D[e+32|0]|D[e+33|0]<<8|(D[e+34|0]<<16|D[e+35|0]<<24);if(!e){break c}i=e+h|0;h=i+2|0;if(k>>>0>>0){C[c+12>>2]=2;break d}e=D[i|0]|D[i+1|0]<<8;C[d+40>>2]=e;if(k>>>0<(e<<2)+h>>>0){C[c+12>>2]=2;break d}if(!e){break c}e=Ve(m,16,0,e,0,c+12|0);C[d+36>>2]=e;if(C[c+12>>2]){break d}n=C[d+40>>2];k=C[a+92>>2];l=C[a+36>>2];e:{if((l|0)<=0){break e}p=C[a+40>>2];while(1){o=C[(f<<2)+p>>2];if(E[o+8>>1]!=7){f=f+1|0;if((l|0)!=(f|0)){continue}break e}break}f=oj(a,o);C[c+12>>2]=f;if(f){break d}}f=n<<2;if((f|0)>0){n=(f+i|0)+2|0;while(1){l=D[h|0];f=0;f:{if(!a){break f}i=C[a+92>>2];if(!i){break f}f=Fe[C[C[i+12>>2]+12>>2]](i,l)|0}C[e>>2]=f;l=D[h+1|0];f=0;g:{if(!a){break g}i=C[a+92>>2];if(!i){break g}f=Fe[C[C[i+12>>2]+12>>2]](i,l)|0}C[e+4>>2]=f;f=(D[h+2|0]|D[h+3|0]<<8)<<16>>16;C[e+12>>2]=0;C[e+8>>2]=f;e=e+16|0;h=h+4|0;if(n>>>0>h>>>0){continue}break}}h:{if(k){e=oj(a,k);C[c+12>>2]=e;break h}e=C[c+12>>2]}if(e){break d}oh(C[d+36>>2],C[d+40>>2],16,1216);if(C[c+12>>2]){break d}f=0;break c}f=C[d+36>>2];if(f){Fe[C[m+8>>2]](m,f)}C[d+36>>2]=0;C[d+40>>2]=0;f=C[c+12>>2]}Ce=c+16|0;c=f;C[g+8>>2]=c}if(c){break b}}f=C[d+8>>2];C[a+460>>2]=C[d+4>>2];C[a+464>>2]=f;f=C[d+16>>2];C[a+468>>2]=C[d+12>>2];C[a+472>>2]=f;C[a+52>>2]=B[d+6>>1];C[a+56>>2]=B[d+10>>1];C[a+60>>2]=C[d+12>>2]+65535>>16;C[a- -64>>2]=C[d+16>>2]+65535>>16;B[a+70>>1]=C[d+20>>2]+32768>>>16;B[a+72>>1]=C[d+24>>2]+32768>>>16;if(!C[d+40>>2]){break b}C[a+492>>2]=d;C[a+8>>2]=C[a+8>>2]|64;d=0}xf(b)}if(d){a=C[d+36>>2];if(a){Fe[C[j+8>>2]](j,a)}C[d+36>>2]=0;C[d+40>>2]=0;a=C[d+28>>2];if(a){Fe[C[j+8>>2]](j,a)}C[d+28>>2]=0;C[d+32>>2]=0;if(d){Fe[C[j+8>>2]](j,d)}}Ce=g+32|0;return C[g+8>>2]}function Cn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-96|0;Ce=e;a:{if(!(C[a>>2]==422389?a:0)){C[e>>2]=9675;Qe(19745,e);break a}if(!b){C[e+16>>2]=19523;Qe(19745,e+16|0);break a}g=1;c=C[b+4>>2];g=C[c+24>>2]?g:b?C[C[b+52>>2]+68>>2]>>>8&1:0;d=C[c+4>>2];if(d){os(d,e+92|0,e+88|0);g=C[e+92>>2]?g:1}b:{c:{d:{if(!(C[c+24>>2]|!(b?C[C[b+52>>2]+68>>2]>>>8&1:0))){e:{c=C[c>>2];if((c|0)!=370546692){if((c|0)!=374740996){f=C[a+128>>2];break d}c=0;f=C[a+128>>2];if((f|0)<=0){break c}break e}c=0;f=C[a+128>>2];if((f|0)<=0){break c}while(1){d=372645892;if(C[((c<<2)+a|0)+132>>2]==372645892){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}break d}while(1){d=376840196;if(C[((c<<2)+a|0)+132>>2]==376840196){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}break d}f=C[a+128>>2];if((f|0)<=0){break c}d=C[c>>2];c=0;while(1){if(C[((c<<2)+a|0)+132>>2]!=(d|0)){c=c+1|0;if((f|0)!=(c|0)){continue}break d}break}if(d){break b}}h=C[a+132>>2];if((f|0)>0){c=0;while(1){d=C[((c<<2)+a|0)+132>>2];if(!((d&-268435456)!=268435456?d:0)){i=d>>>24&15;f:{if(i-4>>>0<=2){j=!((d>>>20&15)-3&-6);break f}j=0;if(i-7>>>0>4){break f}i=(d>>>20&15)-2|0;if(i>>>0>4){break f}j=C[(i<<2)+137192>>2]}if((g|0)==(j|0)){break b}}c=c+1|0;if((f|0)!=(c|0)){continue}break}}d=h;break b}d=C[a+132>>2]}c=gs(a,d,0,C[b+8>>2],C[b+12>>2]);if(!c){c=0;break a}g:{h:{i:{a=C[b+4>>2];if(!(C[a>>2]!=(d|0)|((b?C[C[b+52>>2]+68>>2]>>>8&1:0)?C[a+24>>2]:0))){if(!(D[b|0]&2)){break i}mh(b);yk(c,0,C[b+20>>2],C[b+16>>2]);Yg(b);break h}d=Gn(d);if(!d){break g}a=wn(b,d);En(d);if(!a){break g}yk(c,0,C[a+20>>2],C[a+16>>2]);Nf(a);break h}yk(c,0,C[b+20>>2],C[b+16>>2])}if(b){ao(b,e+88|0,e+87|0,e+86|0)}h=D[e+86|0];d=D[e+87|0];g=D[e+88|0];f=(h&(d&g))!=255;a=c;while(1){j:{if(C[a>>2]!=422390){C[e+80>>2]=16603;Qe(19745,e+80|0);break j}A[a+32|0]=g;A[a+34|0]=h;A[a+33|0]=d;C[a+20>>2]=f|C[a+20>>2]&-2;a=C[a+40>>2];if(a){continue}}break}a=e+85|0;if(a?b:0){A[a|0]=D[C[b+52>>2]+79|0]}d=D[e+85|0];g=((d|0)!=255)<<1;a=c;while(1){k:{if(!(C[a>>2]==422390?a:0)){C[e+64>>2]=16603;Qe(19745,e- -64|0);break k}A[a+35|0]=d;C[a+20>>2]=g|C[a+20>>2]&-3;a=C[a+40>>2];if(a){continue}}break}if(b?C[C[b+52>>2]+68>>2]>>>8&1:0){a=c;while(1){if(!(C[a>>2]==422390?a:0)){C[e+48>>2]=16603;Qe(19745,e+48|0);break a}C[a+24>>2]=1;a=C[a+40>>2];if(a){continue}break}break a}if(b){a=e+92|0;if(a){Hk(b,a)}}b=C[e+92>>2];g=b>>>0>8;a=c;while(1){if(!(C[a>>2]==422390?a:0)){C[e+32>>2]=16603;Qe(19745,e+32|0);break a}d=C[a+36>>2];l:{if(!(1<>2];if(h){if(Fe[h|0](d,b)|0){break l}}_e(4);break a}C[a+24>>2]=b;a=C[a+40>>2];if(a){continue}break}break a}Fj(c);c=0}Ce=e+96|0;return c}function pr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-48|0;Ce=g;a:{b:{h=b&2;if(!h){break b}e=C[105668];if(C[e+204>>2]){break b}C[g+32>>2]=C[e>>2];b=Qe(12800,g+32|0);break a}i=C[a+48>>2]&2048;if(!i){c:{e=C[105668];if(!e){Qe(19865,0);break c}if(!(C[a>>2]==(e+388|0)?a:0)){Qe(2168,0);break c}if(D[a+48|0]&4){C[a+120>>2]=1;Th(a,0);e=C[105668];c=C[e+88>>2];if(c){Fe[c|0](e,a)}C[a+120>>2]=0;bg(a,2,0,0)}}}e=C[a+112>>2];if(e){C[e>>2]=C[e>>2]&-5;Nf(e);C[a+112>>2]=0;C[a+116>>2]=0}c=C[105668];d:{if(!C[c+352>>2]){break d}e=C[c+164>>2];if(!e){break d}Fe[e|0](c,a);c=C[105668]}e=C[c+152>>2];if(!(i|!e)){Fe[e|0](c,a)}d=C[a+48>>2];c=d&268435456;e=b&268435456;e:{if((c|0)!=(e|0)){c=(e|0)!=0;e=!e;break e}c=!c;e=c}if((b&268435458)==268435458){b=Qe(2075,0);break a}if((b&536870914)==536870914){b=Qe(2122,0);break a}if((b&805306368)==805306368){b=Qe(2029,0);break a}f:{if(!h^(h|0)!=(d&2)){break f}d=C[105668];if(!d){Qe(19865,0);break f}f=C[d+516>>2];if((f|0)<=0){break f}C[d+516>>2]=f-1;if((f|0)!=1){break f}f=C[d+200>>2];if(!f){break f}Fe[f|0](d)}g:{if(c){break g}c=C[105668];if(!c){Qe(19865,0);break g}d=C[c+808>>2];if((d|0)<=0){break g}C[c+808>>2]=d-1;if((d|0)!=1){break g}d=C[c+240>>2];if(!d){break g}Fe[d|0](c)}h:{if(!h){break h}c=C[105668];i:{if(!c){d=Qe(19865,0);break i}j:{d=C[c+516>>2];if(!d){d=C[c+192>>2];if(!d){C[g+16>>2]=C[c>>2];d=Qe(32625,g+16|0);break i}d=Fe[d|0](c,0)|0;c=C[105668];if(d){break j}d=C[c+516>>2]}C[c+516>>2]=d+1;break h}f=C[c+200>>2];if(!f){break i}Fe[f|0](c)}if((d|0)>=0){break h}b=-1;break a}k:{if(e){break k}c=C[105668];if(!c){Qe(19865,0);b=-1;break a}l:{d=C[c+808>>2];if(!d){d=C[c+236>>2];if(!d){C[g>>2]=C[c>>2];c=Qe(12583,g);break l}c=Fe[d|0](c,0)|0;if(c){break l}c=C[105668];d=C[c+808>>2]}C[c+808>>2]=d+1;break k}if((c|0)>=0){break k}b=-1;break a}C[a+124>>2]=0;d=b&806330482;c=d|8;C[a+52>>2]=c;C[a+48>>2]=c;c=C[105668];f=C[c+36>>2];m:{if(!(i|!f)){if((Fe[f|0](c,a)|0)>=0){c=C[105668];break m}if(h){b=C[105668];n:{if(!b){Qe(19865,0);break n}c=C[b+516>>2];o:{if((c|0)<=0){break o}C[b+516>>2]=c-1;if((c|0)!=1){break o}c=C[b+200>>2];if(!c){break o}Fe[c|0](b)}}C[a+48>>2]=C[a+48>>2]&-3}b=-1;if(e){break a}e=C[105668];p:{if(!e){Qe(19865,0);break p}c=C[e+808>>2];q:{if((c|0)<=0){break q}C[e+808>>2]=c-1;if((c|0)!=1){break q}c=C[e+240>>2];if(!c){break q}Fe[c|0](e)}}C[a+48>>2]=C[a+48>>2]&-268435457;break a}if(!i){break m}C[a+48>>2]=d|2056}e=C[c+44>>2];if(!(!e|!C[a+8>>2])){Fe[e|0](c,a);c=C[105668]}e=C[c+48>>2];r:{if(!e){break r}d=C[a+12>>2];if(!d){break r}Fe[e|0](c,a,d)}if(C[a+152>>2]){Fe[C[C[105668]+340>>2]](a,1)|0}rr(a,b&-2049|i);b=0}Ce=g+48|0;return b}function Gp(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,o=0;m=I(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){j=a+c|0;f=I(b>>>1|0,c)+a|0;h=(Fe[d|0](j,f)|0)>0;e=h?j:f;k=I(b-1|0,c);l=k+a|0;g=n+l|0;if((Fe[d|0](e,g)|0)>0){b=h?f:j;e=(Fe[d|0](b,g)|0)>0?b:g}if(!((e|0)==(l|0)|(c|0)<=0)){h=c+e|0;b=l;while(1){g=D[e|0];A[e|0]=D[b|0];A[b|0]=g;b=b+1|0;e=e+1|0;if(h>>>0>e>>>0){continue}break}}h=l;f=h;i=a;g=a;a:{if((k|0)<=0){i=0;break a}while(1){b:{if(g>>>0>=f>>>0){break b}c:{o=(c|0)<=0;if(!o){while(1){b=Fe[d|0](g,l)|0;if((b|0)>0){break c}if(!b){if(g>>>0>i>>>0){k=c+i|0;e=i;b=g;while(1){j=D[e|0];A[e|0]=D[b|0];A[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}i=c+i|0}g=c+g|0;if(f>>>0>g>>>0){continue}break b}}while(1){b=Fe[d|0](g,l)|0;if((b|0)>0){break c}i=b?i:c+i|0;g=c+g|0;if(f>>>0>g>>>0){continue}break}break b}d:{if(g>>>0>=f>>>0){break d}while(1){k=f;e:{f:{f=f+n|0;b=Fe[d|0](f,l)|0;if(!b){j=h+n|0;if(h>>>0<=k>>>0){break f}e=f;b=j;if(o){break f}while(1){h=D[e|0];A[e|0]=D[b|0];A[b|0]=h;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}break f}if((b|0)>=0){break e}if(!(o|g>>>0>=f>>>0)){k=c+g|0;e=g;b=f;while(1){j=D[e|0];A[e|0]=D[b|0];A[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}g=c+g|0;break d}h=j}if(g>>>0>>0){continue}break}}if(g>>>0>>0){continue}}break}k=f-i|0;g:{if((a|0)==(i|0)|(f|0)==(i|0)){break g}b=i-a|0;if(b>>>0>k>>>0){if((k|0)<=0){break g}j=a+k|0;e=a+b|0;b=a;while(1){g=D[b|0];A[b|0]=D[e|0];A[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break g}if((b|0)<=0){break g}j=a+b|0;e=a+k|0;b=a;while(1){g=D[b|0];A[b|0]=D[e|0];A[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}i=h-f|0;if((f|0)==(h|0)|(h|0)==(m|0)){break a}b=m-h|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+f|0;e=f+i|0;while(1){b=D[f|0];A[f|0]=D[e|0];A[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break a}if((i|0)<=0){break a}g=f+i|0;e=b+f|0;while(1){b=D[f|0];A[f|0]=D[e|0];A[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}Gp(a,(k>>>0)/(c>>>0)|0,c,d);a=m-i|0;b=(i>>>0)/(c>>>0)|0;m=a+I(c,b)|0;if(b>>>0>=10){continue}break}}h=a+c|0;h:{if(m>>>0<=h>>>0){break h}l=0-c|0;if((c|0)>0){while(1){g=h;i:{if(g>>>0<=a>>>0){break i}while(1){f=g+l|0;if((Fe[d|0](f,g)|0)<=0){break i}e=f;b=g;while(1){j=D[e|0];A[e|0]=D[b|0];A[b|0]=j;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}g=f;if(f>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break h}}while(1){e=h;j:{if(e>>>0<=a>>>0){break j}while(1){b=e+l|0;if((Fe[d|0](b,e)|0)<=0){break j}e=b;if(b>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break}}}function zK(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,j=0,k=0,l=0;e=Ce-1552|0;Ce=e;h=C[a+4>>2];f=C[C[h+488>>2]+12>>2];a:{if(!(C[C[h+128>>2]+48>>2]|F[h+16>>2]>c>>>0)){d=6;break a}g=d&1024?d|3:d;b:{if(!b){i=65536;d=65536;break b}i=C[b+16>>2];d=C[b+20>>2]}C[a+176>>2]=d;C[a+172>>2]=i;C[a+108>>2]=0;C[a+72>>2]=1869968492;i=g&3;d=Fe[C[f>>2]](e+52|0,h,b,a,C[h+420>>2],C[h+528>>2],!i,g>>>16&15,1214)|0;if(d){break a}j=g&1024;A[e+121|0]=j>>>10;C[e+1416>>2]=C[h+404>>2];C[e+1420>>2]=C[h+408>>2];C[e+1424>>2]=C[h+412>>2];C[e+1540>>2]=C[h+544>>2];C[e+1544>>2]=C[h+540>>2];d=Lk(e+52|0,c,e+24|0);if(!d){c=e+1436|0;d=C[c+4>>2];C[e+40>>2]=C[c>>2];C[e+44>>2]=d;c=C[e+1432>>2];C[e+32>>2]=C[e+1428>>2];C[e+36>>2]=c;c=C[e+1448>>2];d=C[e+1444>>2];Fe[C[f+4>>2]](e+52|0);C[a+124>>2]=C[a+124>>2]&1|4;c:{if(j){b=C[a+156>>2];g=C[e+84>>2];C[a+32>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;g=C[e+92>>2];C[a+40>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;g=C[e+44>>2];C[b+20>>2]=C[e+40>>2];C[b+24>>2]=g;g=C[e+36>>2];C[b+12>>2]=C[e+32>>2];C[b+16>>2]=g;C[b+32>>2]=c;C[b+28>>2]=d;A[b+8|0]=1;break c}f=C[e+92>>2];C[a+40>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;f=C[e+92>>2];C[a+56>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;A[C[a+156>>2]+8|0]=0;j=g&16;d:{if(j){f=C[h+472>>2]-C[h+464>>2]>>16;C[a+52>>2]=f;break d}f=C[e+96>>2];C[a+52>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;f=C[e+96>>2];f=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16}C[a+72>>2]=1869968492;C[a+60>>2]=f;if(!(!b|E[b+14>>1]>23)){C[a+124>>2]=C[a+124>>2]|256}f=a+108|0;e:{if(!(C[e+36>>2]|(C[e+32>>2]!=65536|C[e+44>>2]!=65536))){if(!C[e+40>>2]){break e}}Si(f,e+32|0)}if(c|d){Pg(f,d,c)}b=C[a+40>>2];C[e+4>>2]=0;C[e>>2]=b;b=e+32|0;ci(e,b);C[a+40>>2]=d+C[e>>2];C[e>>2]=0;C[e+4>>2]=C[a+52>>2];ci(e,b);C[a+52>>2]=c+C[e+4>>2];if(!(g&1)){c=C[a+176>>2];g=C[a+172>>2];f:{if(!(C[e+124>>2]?i:1)){break f}b=C[e+68>>2];d=B[b+2>>1];if((d|0)<=0){break f}d=d&65535;b=C[b+4>>2];while(1){k=b,l=Te(C[b>>2],g),C[k>>2]=l;k=b,l=Te(C[b+4>>2],c),C[k+4>>2]=l;b=b+8|0;i=d>>>0>1;d=d-1|0;if(i){continue}break}}k=a,l=Te(C[a+40>>2],g),C[k+40>>2]=l;k=a,l=Te(C[a+52>>2],c),C[k+52>>2]=l}di(f,e+8|0);b=C[e+8>>2];C[a+24>>2]=C[e+16>>2]-b;c=C[e+12>>2];d=C[e+20>>2];C[a+36>>2]=d;C[a+32>>2]=b;C[a+28>>2]=d-c;if(!j){break c}fk(a+24|0,C[a+52>>2])}C[a+136>>2]=C[e+24>>2];C[a+140>>2]=C[e+28>>2];d=0;b=C[C[h+128>>2]+48>>2];if(!b){break a}Fe[C[C[b>>2]+4>>2]](C[b+4>>2],e+24|0);C[a+136>>2]=0;C[a+140>>2]=0;break a}Fe[C[f+4>>2]](e+52|0)}Ce=e+1552|0;return d|0}function ER(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=Ce-48|0;Ce=g;if(Hf(c,b,9727,0)){Mm(b,c,1,12,15,-1);o=C[c+80>>2];a:{if(!o){break a}j=o-1|0;k=C[c+92>>2];l=D[k+15|0];while(1){b:{if((e|0)==(j|0)){e=o;break b}e=e+1|0;if((l|0)==D[(k+I(e,20)|0)+15|0]){continue}}break}if(!o){break a}m=C[c+92>>2];h=D[m+15|0];l=0;d=o;while(1){j=e;c:{if(h&14){break c}k=l+1|0;if(j>>>0<=k>>>0){break c}n=C[a+112>>2];h=C[n+8>>2]|C[n+4>>2]|C[n+12>>2];f=0;e=k;d=j+(l^-1)&3;if(d){while(1){i=I(e,20)+m|0;C[i+4>>2]=h|C[i+4>>2];e=e+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}if((j-l|0)-2>>>0>2){while(1){d=I(e,20)+m|0;C[d+4>>2]=h|C[d+4>>2];C[d+24>>2]=h|C[d+24>>2];C[d+44>>2]=h|C[d+44>>2];d=d- -64|0;C[d>>2]=h|C[d>>2];e=e+4|0;if((j|0)!=(e|0)){continue}break}}r=j-3|0;s=j+2|0;p=I(k,20)+m|0;h=I(l,20)+m|0;t=h+40|0;e=0;while(1){d=k;f=I(d,20)+m|0;i=D[f+18|0];d:{if(!((i|0)!=14|e>>>0>2)){k=d+1|0;if(j>>>0<=k>>>0){break d}i=I(k,20)+m|0;if(D[i+18|0]!=16){e=e+1|0;break d}C[f+4>>2]=C[f+4>>2]|C[n>>2];C[i+4>>2]=C[i+4>>2]|C[n>>2];e=d+2|0;if(e-l>>>0>=2){eg(c,l,e)}C[g+40>>2]=C[f+16>>2];q=C[f+12>>2];C[g+32>>2]=C[f+8>>2];C[g+36>>2]=q;q=C[f+4>>2];C[g+24>>2]=C[f>>2];C[g+28>>2]=q;C[g+16>>2]=C[i+16>>2];f=C[i+12>>2];C[g+8>>2]=C[i+8>>2];C[g+12>>2]=f;f=C[i+4>>2];C[g>>2]=C[i>>2];C[g+4>>2]=f;Yf(t,h,I(d-l|0,20));C[h+16>>2]=C[g+40>>2];f=C[g+36>>2];C[h+8>>2]=C[g+32>>2];C[h+12>>2]=f;f=C[g+28>>2];C[h>>2]=C[g+24>>2];C[h+4>>2]=f;C[p+16>>2]=C[g+16>>2];f=C[g+12>>2];C[p+8>>2]=C[g+8>>2];C[p+12>>2]=f;f=C[g+4>>2];C[p>>2]=C[g>>2];C[p+4>>2]=f;e:{if(!C[n+16>>2]|e>>>0>=j>>>0){break e}f=0;i=s-d&3;if(i){while(1){q=I(e,20)+m|0;C[q+4>>2]=C[q+4>>2]|C[n+16>>2];e=e+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(r-d>>>0<3){break e}while(1){d=I(e,20)+m|0;C[d+4>>2]=C[d+4>>2]|C[n+16>>2];C[d+24>>2]=C[d+24>>2]|C[n+16>>2];C[d+44>>2]=C[d+44>>2]|C[n+16>>2];d=d- -64|0;C[d>>2]=C[d>>2]|C[n+16>>2];e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=2;break d}k=d+1|0;if((i|0)!=28){break d}if(k-l>>>0>=2){eg(c,l,k)}C[g+40>>2]=C[f+16>>2];i=C[f+12>>2];C[g+32>>2]=C[f+8>>2];C[g+36>>2]=i;i=C[f+4>>2];C[g+24>>2]=C[f>>2];C[g+28>>2]=i;Yf(p,h,I(d-l|0,20));C[h+16>>2]=C[g+40>>2];d=C[g+36>>2];C[h+8>>2]=C[g+32>>2];C[h+12>>2]=d;d=C[g+28>>2];C[h>>2]=C[g+24>>2];C[h+4>>2]=d}if((j|0)!=(k|0)){continue}break}m=C[c+92>>2];d=C[c+80>>2]}e=j+1|0;k=d>>>0>e>>>0?d:e;h=D[(I(j,20)+m|0)+15|0];e=j;while(1){f:{e=e+1|0;if(d>>>0<=e>>>0){e=k;break f}if(D[(I(e,20)+m|0)+15|0]==(h|0)){continue}}break}l=j;if(j>>>0>>0){continue}break}}Hf(c,b,9750,0)}Ce=g+48|0}function ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0;h=Ce-48|0;Ce=h;o(+a);d=j(1)|0;i=j(0)|0;a:{b:{e=d;k=e&2147483647;c:{if(k>>>0<=1074752122){if((d&1048575)==598523){break c}if(k>>>0<=1073928572){if((e|0)>0|(e|0)>=0){a=a+-1.5707963267341256;c=a+-6077100506506192e-26;H[b>>3]=c;H[b+8>>3]=a-c+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;c=a+6077100506506192e-26;H[b>>3]=c;H[b+8>>3]=a-c+6077100506506192e-26;d=-1;break a}if((e|0)>0|(e|0)>=0){a=a+-3.1415926534682512;c=a+-1.2154201013012384e-10;H[b>>3]=c;H[b+8>>3]=a-c+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;H[b>>3]=c;H[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(k>>>0<=1075594811){if(k>>>0<=1075183036){if((k|0)==1074977148){break c}if((e|0)>0|(e|0)>=0){a=a+-4.712388980202377;c=a+-1.8231301519518578e-10;H[b>>3]=c;H[b+8>>3]=a-c+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;H[b>>3]=c;H[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((k|0)==1075388923){break c}if((e|0)>0|(e|0)>=0){a=a+-6.2831853069365025;c=a+-2.430840202602477e-10;H[b>>3]=c;H[b+8>>3]=a-c+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;H[b>>3]=c;H[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(k>>>0>1094263290){break b}}f=a*.6366197723675814+6755399441055744+-6755399441055744;c=a+f*-1.5707963267341256;g=f*6077100506506192e-26;p=c-g;e=p<-.7853981633974483;if(K(f)<2147483648){d=~~f}else{d=-2147483648}d:{if(e){d=d-1|0;f=f+-1;g=f*6077100506506192e-26;c=a+f*-1.5707963267341256;break d}if(!(p>.7853981633974483)){break d}d=d+1|0;f=f+1;g=f*6077100506506192e-26;c=a+f*-1.5707963267341256}a=c-g;H[b>>3]=a;o(+a);e=j(1)|0;j(0)|0;i=k>>>20|0;e:{if((i-(e>>>20&2047)|0)<17){break e}g=c;a=f*6077100506303966e-26;c=c-a;g=f*20222662487959506e-37-(g-c-a);a=c-g;H[b>>3]=a;o(+a);e=j(1)|0;j(0)|0;if((i-(e>>>20&2047)|0)<50){break e}g=c;a=f*20222662487111665e-37;c=c-a;g=f*84784276603689e-45-(g-c-a);a=c-g;H[b>>3]=a}H[b+8>>3]=c-a-g;break a}if(k>>>0>=2146435072){a=a-a;H[b>>3]=a;H[b+8>>3]=a;d=0;break a}l(0,i|0);l(1,e&1048575|1096810496);a=+n();d=0;i=1;while(1){m=(h+16|0)+(d<<3)|0;if(K(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);H[m>>3]=c;a=(a-c)*16777216;d=1;m=i;i=0;if(m){continue}break}H[h+32>>3]=a;d=2;while(1){i=d;d=d-1|0;if(H[(h+16|0)+(i<<3)>>3]==0){continue}break}d=lu(h+16|0,h,(k>>>20|0)-1046|0,i+1|0,1);a=H[h>>3];if((e|0)<0){H[b>>3]=-a;H[b+8>>3]=-H[h+8>>3];d=0-d|0;break a}H[b>>3]=a;H[b+8>>3]=H[h+8>>3]}Ce=h+48|0;return d}function bs(a,b){var c=0,d=0,e=0,f=0,g=0,h=J(0),i=0,j=0,k=0,l=J(0),m=J(0),n=J(0),o=0,p=J(0),q=0,r=0,s=J(0),t=0,u=0,v=0,w=J(0),x=J(0),y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,I=0,L=0,M=0;c=Ce;M=c;w=G[a+372>>2];x=G[a+368>>2];D=c+-64|0;Ce=D;while(1){d=(y|0)!=3;c=(y<<3)+b|0;l=G[c+4>>2];m=G[c>>2];y=y+1|0;c=(y<<3)+b|0;n=G[c+4>>2];h=G[c>>2];a:{b:{if(!d){if(!(!e|h!=G[b>>2])&n==G[b+4>>2]){break b}q=1;break b}if(h!=m){break b}if(l==n){break a}}if(h==m){d=(r<<4)+D|0;G[d+8>>2]=x;G[d>>2]=x*m;p=l>2]=s;c=l>n;G[d+12>>2]=w*J(J((c?l:n)-p)+J(q>>>0));e=1;r=r+1|0;if(q){break a}q=0;if(!c){break a}G[d+4>>2]=w+s;break a}if(l==n){d=(r<<4)+D|0;G[d+12>>2]=w;G[d+4>>2]=w*l;p=h>m?m:h;s=J(x*p);G[d>>2]=s;c=h>2]=x*J(J((c?m:h)-p)+J(q>>>0));e=1;r=r+1|0;if(q){break a}q=0;if(!c){break a}G[d>>2]=x+s;break a}if(J(K(n))>31;d=o-e|0;j=d>>31;f=(f^t)-t|0;d=(d^j)-j|0;c:{if((f|0)>=(d|0)){v=d-f|0;u=1;z=d<<1;E=z-f|0;d=0;break c}v=f-d|0;z=f<<1;E=z-d|0;f=d;d=1}d:{e:{k=f+q|0;A=k<<3;f:{if(A>>>0<=127){i=F-(A+15&-16)|0;Ce=i;break f}i=Fe[C[94503]](A>>>0<=1?1:A)|0;if(i){C[94507]=C[94507]+1}if(!i){break e}}g:{if((k|0)<=0){break g}f=0;if((k|0)!=1){t=0-d|0;j=d;d=(e|0)>(o|0);H=d?t:j;c=(c|0)<(g|0);I=c?0-u|0:u;L=d?-1:1;u=c?-1:1;t=v<<1;o=k&-2;v=0;while(1){d=f<<3;c=d+i|0;G[c+4>>2]=e|0;G[c>>2]=g|0;c=(d|8)+i|0;d=e;e=(E|0)<0;d=d+(e?H:L)|0;G[c+4>>2]=d|0;j=c;c=(e?I:u)+g|0;G[j>>2]=c|0;e=(e?z:t)+E|0;j=(e|0)<0;E=(j?z:t)+e|0;g=c+(j?I:u)|0;e=(j?H:L)+d|0;f=f+2|0;v=v+2|0;if((o|0)!=(v|0)){continue}break}}if(!(k&1)){break g}c=(f<<3)+i|0;G[c+4>>2]=e|0;G[c>>2]=g|0}h:{if(!(G[a+368>>2]==J(1)&G[a+372>>2]==J(1))){e=0;c=Ce;o=c;i:{if((k|0)<=0){Ce=o;break i}j:{g=k<<4;k:{if(g>>>0<=127){f=c-(g+15&-16)|0;Ce=f;break k}f=Fe[C[94503]](g>>>0<=1?1:g)|0;if(f){C[94507]=C[94507]+1}if(!f){break j}}h=G[a+372>>2];p=G[a+368>>2];while(1){d=(e<<4)+f|0;c=(e<<3)+i|0;G[d>>2]=G[c>>2]*p;s=G[c+4>>2];G[d+12>>2]=h;G[d+8>>2]=p;G[d+4>>2]=s*h;e=e+1|0;if((k|0)!=(e|0)){continue}break}e=cs(a,f,k);if(f?g>>>0>=128:0){Fe[C[94506]](f);C[94507]=C[94507]-1}Ce=o;break i}e=_e(0);Ce=o}break h}c=xk(a,5,0);if(!c){e=-1;break h}e=Fe[C[a+28>>2]](a,c,i,k)|0;if((e|0)>=0){break h}C[c>>2]=0}if(i?A>>>0>=128:0){Fe[C[94506]](i);C[94507]=C[94507]-1}break d}e=_e(0)}Ce=F;B=e+B|0;e=1}if((y|0)!=4){continue}break}if(r){B=cs(a,D,r)+B|0}Ce=M;return(B|0)<0?-1:B}function mB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=C[C[b+164>>2]>>2];b=0;g=Ce-128|0;Ce=g;a:{if(!C[a+1080>>2]){Qe(19845,0);break a}d=C[a+480>>2];e=C[a+476>>2];f=C[a+488>>2];if(C[a+492>>2]){c=Rh()}else{c=0}i=g+32|0;b:{c:{d:{if(C[a+484>>2]|!(!d&(f|0)==4)&(e|0)>=3){break d}e:{switch(f|0){case 0:case 4:break e;default:break d}}if((f|0)!=4){break b}C[g+32>>2]=12440;e=(e|0)<=1?1:e;b=2;d=1;break c}f:{if(Dj(a,3094)){C[g+44>>2]=d;C[g+40>>2]=12539;C[g+36>>2]=e;C[g+32>>2]=12440;if(f&-5){C[g+52>>2]=f;C[g+48>>2]=12541;d=6}else{d=4}e=C[a+484>>2];if(e){break f}b=d;break b}Qe(33320,0);break a}C[(g+32|0)+(d<<2)>>2]=12540;b=d+2|0;d=d|1}C[i+(d<<2)>>2]=e}g:{if(!C[a+508>>2]){break g}if(!Dj(a,9064)){break g}d=(g+32|0)+(b<<2)|0;C[d>>2]=12723;C[d+4>>2]=C[a+508>>2];b=b+2|0}e=g+32|0;C[e+(b<<2)>>2]=12344;d=C[a+1080>>2];b=(f|0)==4?12448:12450;C[d+40>>2]=b;Fe[C[d+124>>2]](b)|0;b=C[a+1080>>2];d=Fe[C[b+72>>2]](C[b+8>>2],C[b+12>>2],c,e)|0;c=C[a+1080>>2];if(!d){a=34979;d=Fe[C[c+128>>2]]()|0;b=d-12288|0;if(b>>>0<=14){a=C[(b<<2)+148500>>2]}if(!D[a|0]){C[g+16>>2]=d;a=g+96|0;rf(a,32,1768,g+16|0)}C[g+8>>2]=a;C[g+4>>2]=3146;C[g>>2]=3117;Qe(32680,g);b=0;break a}b=0;C[c+16>>2]=0;c=sn(a,h,d);e=C[a+1080>>2];if((c|0)<0){if(!e){break a}Fe[C[e+76>>2]](C[e+8>>2],d)|0;break a}b=C[e+24>>2];h:{i:{if(!((b|0)>1|(b|0)==1&C[e+28>>2]>4)){if(!Dj(a,3066)){break h}if((f|0)==4){break i}break h}if((f|0)!=4){break h}}h=0;f=Ce-48|0;Ce=f;j:{if(hh(3039,32)|!D[3039]){break j}b=Ug(3039);if(D[b|0]==48?b:0){break j}c=C[105668];if(!c){Qe(19865,0);break j}k:{b=C[c+196>>2];if(b){if(C[c+516>>2]){break k}Qe(20769,0);break j}C[f>>2]=C[c>>2];Qe(32625,f);break j}c=Fe[b|0](c,15221)|0;if(!c){break j}l:{b=Fe[c|0](7938)|0;if(!b){break l}if((Zf(b)|0)<3){break l}e=0;C[f+44>>2]=0;c=C[105668];m:{if(!c){Qe(19865,0);break m}b=C[c+196>>2];if(b){if(C[c+516>>2]){e=Fe[b|0](c,14544)|0;break m}Qe(20769,0);break m}C[f+32>>2]=C[c>>2];Qe(32625,f+32|0)}c=C[105668];if(!c){Qe(19865,0);break j}n:{b=C[c+196>>2];if(b){if(C[c+516>>2]){break n}Qe(20769,0);break j}C[f+16>>2]=C[c>>2];Qe(32625,f+16|0);break j}b=Fe[b|0](c,2294)|0;if(!e|!b){break j}Fe[b|0](33309,f+44|0);if(C[f+44>>2]<=0){break j}b=0;while(1){if(uf(Fe[e|0](7939,b)|0,3039)){b=b+1|0;if((b|0)>2]){continue}break j}break}h=1;break j}e=Fe[c|0](7939)|0;if(!e){break j}b=Wh(e,3039);if(!b){break j}while(1){c=af(3039)+b|0;if(!((b|0)!=(e|0)&D[b-1|0]!=32|(D[c|0]|32)!=32)){h=1;break j}b=Wh(c,3039);if(b){continue}break}}Ce=f+48|0;if(!h){break h}C[a+796>>2]=1}b=d}Ce=g+128|0;return b|0}function KN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ce-96|0;Ce=h;C[h+80>>2]=0;C[h+84>>2]=0;C[h+72>>2]=0;C[h+76>>2]=0;j=h- -64|0;C[j>>2]=0;C[j+4>>2]=0;C[h+56>>2]=0;C[h+60>>2]=0;C[h+48>>2]=0;C[h+52>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;g=Ve(a,8,0,c+10|0,0,h+92|0);C[b+20>>2]=g;j=C[h+92>>2];if(!j){a:{if(!c){break a}while(1){j=Fe[d|0](f,l)|0;b:{if(!j){break b}i=0;c:{d:{if(!Se(345936,j)){break d}i=1;if(!Se(345942,j)){break d}i=2;if(!Se(345948,j)){break d}i=3;if(!Se(345957,j)){break d}i=4;if(!Se(345964,j)){break d}i=5;if(!Se(345971,j)){break d}i=6;if(!Se(345974,j)){break d}i=7;if(!Se(345989,j)){break d}i=8;if(!Se(345995,j)){break d}if(Se(346008,j)){break c}i=9}k=i<<2;i=k+(h+48|0)|0;if(C[i>>2]){break c}C[i>>2]=1;C[h+k>>2]=l}i=ov(j);if(i&2147483647){m=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}}k=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}}k=1;break f}k=2;break f}k=3;break f}if((i|0)!=713){break e}k=4;break f}k=5;break f}k=6;break f}k=7;break f}k=8;break f}k=9}C[m+(k<<2)>>2]=2}C[g+4>>2]=l;C[g>>2]=i;g=g+8|0}if(!e){break b}Fe[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(C[h+48>>2]!=1){break a}C[g>>2]=916;C[g+4>>2]=C[h>>2];g=g+8|0}if(C[h+52>>2]==1){C[g>>2]=937;C[g+4>>2]=C[h+4>>2];g=g+8|0}if(C[h+56>>2]==1){C[g>>2]=8725;C[g+4>>2]=C[h+8>>2];g=g+8|0}if(C[h+60>>2]==1){C[g>>2]=173;C[g+4>>2]=C[h+12>>2];g=g+8|0}if(C[h+64>>2]==1){C[g>>2]=713;C[g+4>>2]=C[h+16>>2];g=g+8|0}if(C[h+68>>2]==1){C[g>>2]=956;C[g+4>>2]=C[h+20>>2];g=g+8|0}if(C[h+72>>2]==1){C[g>>2]=8729;C[g+4>>2]=C[h+24>>2];g=g+8|0}if(C[h+76>>2]==1){C[g>>2]=160;C[g+4>>2]=C[h+28>>2];g=g+8|0}if(C[h+80>>2]==1){C[g>>2]=538;C[g+4>>2]=C[h+32>>2];g=g+8|0}if(C[h+84>>2]==1){C[g>>2]=539;C[g+4>>2]=C[h+36>>2];g=g+8|0}j=C[b+20>>2];d=g-j>>3;r:{if((g|0)==(j|0)){if(g){Fe[C[a+8>>2]](a,g)}C[b+20>>2]=0;a=C[h+92>>2];j=a?a:163;break r}if(d>>>0>>1>>>0){j=Ve(a,8,c,d,j,h+92|0);C[b+20>>2]=j;C[h+92>>2]=0}oh(j,d,8,1023);j=C[h+92>>2]}C[b+16>>2]=d}Ce=h+96|0;return j|0}function tz(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=C[a>>2];if(!b){k=a-24|0;while(1){b=C[k>>2];if(!b){return 205712}e=df(1,32);if(!e){C[a>>2]=205712;return 205712}d=Ce-48|0;Ce=d;C[e+12>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;c=Qf(b);A[d+40|0]=1;C[d+36>>2]=c;b=Of(b,1886352244);a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}A[d+24|0]=0;C[d+32>>2]=b;f=C[b+12>>2];C[d+4>>2]=f;g=C[b+16>>2];i=g+f|0;C[d+8>>2]=i;C[d+28>>2]=0;if(g>>>0>67108862){c=1073741823}else{c=g<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[d+12>>2]=c;C[d+20>>2]=0;C[d>>2]=0;b:{if(!f){Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;break b}c:{if((g|0)>=32){C[d+12>>2]=c-32;d:{e:{h=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);j=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((j|0)==65536){break e}if((j|0)==131072){f:{if((g&-2)==32){break f}h=c-34|0;C[d+12>>2]=h;c=D[f+32|0]|D[f+33|0]<<8;if(!c){break e}if(i>>>0>>0){break f}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>g-34>>>0){break f}c=h-c|0;C[d+12>>2]=c;if((c|0)>0){break e}}h=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24)}Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;if((h|0)==768){break d}break c}Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}break b}Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}Ue(b);b=205712}C[e>>2]=b;b=b?b:205712;g=C[b+16>>2];b=g>>>0<32?205712:C[b+12>>2];c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[e+4>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);g:{if((c|0)!=512){break g}c=b+32|0;C[e+8>>2]=c;f=D[b+32|0]|D[b+33|0]<<8;f=(c+(((f<<8|f>>>8)&65535)<<1)|0)+2|0;C[e+24>>2]=f;c=C[e+16>>2];if(c>>>0>65534){break g}i=b+g|0;if(i>>>0<=f>>>0){break g}j=C[51428];while(1){if(i>>>0<=D[f|0]+f>>>0){break g}h:{i:{j:{g=C[e+12>>2];if((g|0)>=0){h=c+1|0;l=C[e+24>>2];b=c;if(b>>>0>>0){break i}while(1){g=((g>>>1|0)+g|0)+8|0;if(h>>>0>=g>>>0){continue}break}if(g>>>0<=1073741822){b=mf(C[e+20>>2],g<<2);if(b){break j}}C[e+12>>2]=-1}C[105676]=j;break h}C[e+12>>2]=g;C[e+20>>2]=b;b=C[e+16>>2]}if(b>>>0<=c>>>0){We(C[e+20>>2]+(b<<2)|0,0,h-b<<2)}C[e+16>>2]=h;b=C[e+20>>2];C[105676]=j;b=b+(c<<2)|0;if((b|0)==422704){break h}C[b>>2]=f-l}c=C[e+16>>2];if(c>>>0>65534){break g}f=(D[f|0]+f|0)+1|0;if(i>>>0>f>>>0){continue}break}}Ce=d+48|0;if(!C[a>>2]){C[a>>2]=e;return e}Re(C[e+20>>2]);C[e+20>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;Re(C[e+28>>2]);Ue(C[e>>2]);Re(e);b=C[a>>2];if(!b){continue}break}}return b}function Qr(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,j=0,k=0;i=C[a+4>>2];if(D[i+9|0]==4){j=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[i+29|0];c=D[i+33|0];f=((I(D[C[(b<<2)+381104>>2]+((a&C[i+16>>2])>>>c|0)|0],j)>>>0)/255|0)+f>>>b<>2]+((a&C[i+12>>2])>>>c|0)|0],j)>>>0)/255|0)+e>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0],j)>>>0)/255|0)+g>>>b<>2];a=D[i+35|0];C[d>>2]=c|((I(D[C[(b<<2)+381104>>2]+(e>>>a|0)|0],j)>>>0)/255|0)+h>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];f=D[i+33|0];b=h+D[C[(d<<2)+381104>>2]+((a&C[i+16>>2])>>>f|0)|0]|0;h=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[i+12>>2])>>>c|0)|0]+e|0;e=f|(d>>>0>=255?255:d)>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0]+g|0;c=e|(d>>>0>=255?255:d)>>>b<>2];a=D[i+35|0];C[h>>2]=c|D[C[(b<<2)+381104>>2]+(d>>>a|0)|0]>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[i+29|0];c=D[i+33|0];f=(I(D[C[(b<<2)+381104>>2]+((a&C[i+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]+((a&C[i+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0],g)>>>0)/255>>>b<>2];a=D[i+35|0];C[d>>2]=c|D[C[(b<<2)+381104>>2]+(e>>>a|0)|0]>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];f=D[i+33|0];b=D[C[(d<<2)+381104>>2]+((a&C[i+16>>2])>>>f|0)|0];b=((I(k,b)>>>0)/255|0)+((I(b,j)>>>0)/255|0)|0;k=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[i+12>>2])>>>c|0)|0];d=((I(d,e)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;e=f|(d>>>0>=255?255:d)>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0];d=((I(d,g)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;d=e|(d>>>0>=255?255:d)>>>b<>2];a=D[i+35|0];c=D[C[(b<<2)+381104>>2]+(c>>>a|0)|0];c=((I(c,h)>>>0)/255|0)+((I(c,j)>>>0)/255|0)|0;C[k>>2]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f>>>D[i+29|0]<>>D[i+28|0]<>>D[i+30|0]<>>D[i+31|0]<>2];if((b|0)!=C[a>>2]){while(1){c=a;a=C[c+1320>>2];if(!a){break a}if((b|0)!=C[a>>2]){continue}break}}b=C[a+16>>2];if(b){C[b+132>>2]=0}b=C[a+1320>>2];b:{if(c){C[c+1320>>2]=b;break b}C[105604]=b}if(C[105603]==(a|0)){C[105603]=c}C[105601]=C[105601]-1;l=C[a+12>>2];b=0;h=Ce+-64|0;Ce=h;c=C[104769];c:{if(!c){break c}while(1){if(C[c>>2]==(l|0)){d=C[c+36>>2];if((d|0)>0){while(1){e=C[c+40>>2]+I(b,24)|0;if(C[e+8>>2]){Pn(c,b&255,B[e+4>>1]);d=C[c+36>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}b=0;if(C[c+60>>2]>0){while(1){Ys(c,b&255,0);b=b+1|0;if((b|0)>2]){continue}break}}b=0;if(C[c+44>>2]>0){while(1){d=Ce+-64|0;Ce=d;e=b&255;d:{if((e|0)>=C[c+44>>2]|!D[e+C[c+48>>2]|0]){break d}e:{if(D[419092]){break e}f=C[105668];if(f){f=C[f+380>>2]!=0}else{f=0}if(!f){break e}}A[e+C[c+48>>2]|0]=0;if((qf(1538,-1)|0)!=1){break d}C[d+8>>2]=1538;f=C[c>>2];A[d+21|0]=0;A[d+20|0]=e;C[d+16>>2]=f;Df(d+8|0)}Ce=d- -64|0;b=b+1|0;if((b|0)>2]){continue}break}}e=C[c+68>>2];if((e|0)>0){d=0;while(1){b=0;n=C[c+72>>2]+(d<<3)|0;if(C[n>>2]>0){while(1){j=J(0);k=J(0);e=Ce+-64|0;Ce=e;f:{if((d|0)<0|C[c+68>>2]<=(d|0)|(b|0)<0){break f}f=C[c+72>>2]+(d<<3)|0;if(C[f>>2]<=(b|0)){break f}f=C[f+4>>2];g=f+(b<<4)|0;i=G[g+8>>2];o=G[g+4>>2];g:{if(oJ(1))){break g}j=J(1)}h:{if(iJ(1))){break h}k=J(1)}i=J(0);p=f+(b<<4)|0;if(!D[p|0]){break f}i:{if(D[419092]){break i}g=C[105668];if(g){g=C[g+380>>2]!=0}else{g=0}if(!g){break i}}A[p|0]=0;f=f+(b<<4)|0;G[f+12>>2]=i;G[f+8>>2]=k;G[f+4>>2]=j;if((qf(1624,-1)|0)!=1){break f}C[e+8>>2]=1624;f=C[c>>2];G[e+36>>2]=i;G[e+32>>2]=k;G[e+28>>2]=j;C[e+24>>2]=b;C[e+20>>2]=d;C[e+16>>2]=f;Df(e+8|0)}Ce=e- -64|0;b=b+1|0;if((b|0)>2]){continue}break}e=C[c+68>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}}C[c+112>>2]=0;break c}m=m+1|0;c=C[c+140>>2];if(c){continue}break}}lf(h+8|0,0,56);C[h+8>>2]=1542;if((qf(1542,-1)|0)==1){C[h+16>>2]=l;Df(h+8|0)}Xs(m,1541);Xs(m,1619);b=0;j:{k:{c=C[104772];if((c|0)<=0){break k}d=C[104771];while(1){if(C[d+(b<<2)>>2]==(l|0)){break k}b=b+1|0;if((c|0)!=(b|0)){continue}break}break j}b=(b|0)==(c|0)?-1:b;if((b|0)<0){break j}C[C[104771]+(b<<2)>>2]=-1}Ce=h- -64|0;b=C[a+4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}return 1}function CQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}h=C[a+100>>2];c=C[a+532>>2];if(c){Fe[C[c+12>>2]](a)}c=C[a+656>>2];if(!c){break a}f=C[c+4>>2];b=C[c+84>>2];if(b){e=C[b+28>>2];d=c+112|0;if(C[d>>2]){Wf(b,d)}b=C[c+108>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+108>>2]=0;C[c+112>>2]=0;C[c+100>>2]=0;C[c+104>>2]=0;C[c+92>>2]=0;C[c+96>>2]=0;C[c+84>>2]=0;C[c+88>>2]=0}b=C[c+1208>>2];if(b){e=C[b+28>>2];d=c+1236|0;if(C[d>>2]){Wf(b,d)}b=C[c+1232>>2];if(b){Fe[C[e+8>>2]](e,b)}b=c+1208|0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}b=C[c+20>>2];if(b){e=C[b+28>>2];d=c+48|0;if(C[d>>2]){Wf(b,d)}b=C[c+44>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+44>>2]=0;C[c+48>>2]=0;C[c+36>>2]=0;C[c+40>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0}b=C[c+1176>>2];if(b){e=C[b+28>>2];d=c+1204|0;if(C[d>>2]){Wf(b,d)}b=C[c+1200>>2];if(b){Fe[C[e+8>>2]](e,b)}b=c+1176|0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}d=C[c+1896>>2];if(d){e=0;while(1){b=C[(c+(e<<2)|0)+1900>>2];if(b){d=C[b+536>>2];if(d){g=C[d+28>>2];i=b+564|0;if(C[i>>2]){Wf(d,i)}d=C[b+560>>2];if(d){Fe[C[g+8>>2]](g,d)}C[b+560>>2]=0;C[b+564>>2]=0;C[b+552>>2]=0;C[b+556>>2]=0;C[b+544>>2]=0;C[b+548>>2]=0;C[b+536>>2]=0;C[b+540>>2]=0}d=C[b+568>>2];if(d){Fe[C[f+8>>2]](f,d)}C[b+568>>2]=0;d=C[c+1896>>2]}e=e+1|0;if(d>>>0>e>>>0){continue}break}b=C[c+1900>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1900>>2]=0}C[c+116>>2]=0;C[c+120>>2]=0;C[c+124>>2]=0;b=C[C[c>>2]+28>>2];e=c+1164|0;d=C[e>>2];if(d){Fe[C[b+8>>2]](b,d)}C[e>>2]=0;C[e+4>>2]=0;e=c+1160|0;d=C[e>>2];if(d){Fe[C[b+8>>2]](b,d)}C[c+1152>>2]=0;C[c+1156>>2]=0;C[e>>2]=0;b=c+1860|0;e=C[b>>2];if(e){d=C[e+28>>2];g=c+1888|0;if(C[g>>2]){Wf(e,g)}e=C[c+1884>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}b=c+1892|0;e=C[b>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b>>2]=0;b=c+2932|0;if(C[b>>2]){Wf(C[c>>2],b)}A[c+2924|0]=0;C[c+2928>>2]=0;C[c+2936>>2]=0;b=C[c+2960>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+2960>>2]=0;b=C[c+1304>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1304>>2]=0;b=C[c+1308>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1308>>2]=0;b=C[c+1316>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1316>>2]=0;b=C[c+1320>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1320>>2]=0;b=C[c+2976>>2];if(b){Fe[b|0](C[c+2972>>2]);b=C[c+2972>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+2972>>2]=0}c=C[a+656>>2];if(c){Fe[C[h+8>>2]](h,c)}C[a+656>>2]=0}}function fv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(C[a+100>>2]){case 0:h=C[a+72>>2];if((h|0)<(c|0)){d=C[a+40>>2];if(!C[a+92>>2]){C[a+92>>2]=d;C[a+88>>2]=d;d=d+32|0;C[a+40>>2]=d}if(F[a+36>>2]>d>>>0){g=C[a+4>>2];f=C[a+8>>2];e=C[a+88>>2];C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=d;C[e+28>>2]=0;C[e+4>>2]=0;B[e+12>>1]=D[a+176|0]|((f|0)>(((g+h|0)-1&0-g)-h|0)?8:40);break f}break a}if((c|0)>=(h|0)){break c}d=C[a+40>>2];if(!C[a+92>>2]){C[a+92>>2]=d;C[a+88>>2]=d;d=d+32|0;C[a+40>>2]=d}if(F[a+36>>2]>d>>>0){g=C[a+4>>2];f=C[a+8>>2];e=C[a+88>>2];C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=d;C[e+28>>2]=0;C[e+4>>2]=0;d=D[a+176|0];B[e+12>>1]=(f|0)>(h&g-1)?d:d|16;break h}break a;case 2:break g;case 1:break i;default:break c}}d=C[a+72>>2];if((d|0)<=(c|0)){break e}f=C[a+40>>2];e=C[a+88>>2];h=C[e+8>>2];g=f-h|0;if((g|0)<0){C[a+44>>2]=99;return 1}i=C[a+4>>2]-1&d;j=C[a+8>>2];j:{if((f|0)==(h|0)){d=f;break j}C[e+16>>2]=g>>2;if((i|0)>=(j|0)){d=E[e+12>>1];B[e+12>>1]=(d&8?16:32)|d}C[a+88>>2]=f;d=f+32|0;C[a+40>>2]=d;C[f+8>>2]=d;C[f+16>>2]=0;C[e+28>>2]=f;B[a+84>>1]=E[a+84>>1]+1;e=f}g=C[a+36>>2];if(g>>>0<=d>>>0){break a}A[a+87|0]=0;k:{if(C[a+92>>2]){f=d;break k}C[a+92>>2]=d;C[a+88>>2]=d;f=d+32|0;C[a+40>>2]=f;e=d}if(f>>>0>=g>>>0){break a}C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=f;C[e+28>>2]=0;C[e+4>>2]=0;d=D[a+176|0];B[e+12>>1]=(i|0)<(j|0)?d:d|16}if(!C[a+96>>2]){C[a+96>>2]=e}A[a+86|0]=1;C[a+100>>2]=2;A[a+87|0]=0;d=C[a+72>>2];break d}d=C[a+72>>2];if((d|0)>=(c|0)){break d}f=C[a+40>>2];e=C[a+88>>2];j=C[e+8>>2];h=f-j|0;if((h|0)<0){C[a+44>>2]=99;return 1}g=C[a+4>>2];k=((g+d|0)-1&0-g)-d|0;i=C[a+8>>2];l:{if((f|0)==(j|0)){d=f;break l}C[e+16>>2]=h>>2;if((i|0)<=(k|0)){d=E[e+12>>1];B[e+12>>1]=(d&8?16:32)|d}C[a+88>>2]=f;d=f+32|0;C[a+40>>2]=d;C[f+8>>2]=d;C[f+16>>2]=0;C[e+28>>2]=f;B[a+84>>1]=E[a+84>>1]+1;e=f}g=C[a+36>>2];if(g>>>0<=d>>>0){break a}A[a+87|0]=0;m:{if(C[a+92>>2]){f=d;break m}C[a+92>>2]=d;C[a+88>>2]=d;f=d+32|0;C[a+40>>2]=f;e=d}if(f>>>0>=g>>>0){break a}C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=f;C[e+28>>2]=0;C[e+4>>2]=0;B[e+12>>1]=D[a+176|0]|((i|0)>(k|0)?8:40)}if(!C[a+96>>2]){C[a+96>>2]=e}A[a+86|0]=1;C[a+100>>2]=1;A[a+87|0]=0;d=C[a+72>>2]}f=1;if(dv(a,C[a+68>>2],d,b,c,C[a+76>>2],C[a+80>>2])){break b}break c}e=D[a+86|0];d=dv(a,C[a+68>>2],0-d|0,b,0-c|0,0-C[a+80>>2]|0,0-C[a+76>>2]|0);if(!(D[a+86|0]|!e)){e=C[a+88>>2];C[e+20>>2]=0-C[e+20>>2]}f=1;if(d){break b}}C[a+72>>2]=c;C[a+68>>2]=b;f=0}return f}C[a+44>>2]=98;return 1}function BJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=C[a+488>>2];i=C[b+16>>2];e=C[b+8>>2];Fe[C[b+28>>2]](b);c=3;a=C[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=D[a|0];c:{if(a-48>>>0<=9){a=Fe[C[b+36>>2]](b)|0;C[b+144>>2]=a;if(C[b+12>>2]){break a}if((a|0)<0){break b}a=C[b>>2];break c}if((a|0)!=60){break b}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}Fe[C[b+28>>2]](b);d=C[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=D[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}C[b>>2]=d;C[b+144>>2]=h;a=d;break c}h=h+1|0}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}Fe[C[b+28>>2]](b);a=C[b>>2];if(e>>>0>a>>>0){continue}break}}if(a>>>0>=e>>>0){break b}j=b+200|0;c=Fe[C[C[f>>2]>>2]](j,C[b+144>>2],i)|0;if(c){break b}k=b+148|0;c=Fe[C[C[f>>2]>>2]](k,C[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Fe[C[C[f>>2]>>2]](h,4,i)|0;if(c){break b}Fe[C[b+28>>2]](b);a=C[b>>2];if(e>>>0<=a>>>0){C[b+144>>2]=0;c=3;break b}i=0;f=0;d=0;while(1){e:{f:{c=D[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(D[a+1|0]!=110|a+3>>>0>=e>>>0|D[a+2|0]!=100){break f}switch(D[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Fe[C[b+32>>2]](b);c=3;g=C[b>>2];if(g>>>0>=e>>>0){break b}if(C[b+12>>2]){break a}if(D[a|0]==47){if(a+2>>>0>=e>>>0){break b}a=a+1|0;g=g-a|0;c=Fe[C[b+192>>2]](k,d,a,g+1|0)|0;if(c){break b}c=g;g=d<<2;A[c+C[g+C[b+172>>2]>>2]|0]=0;if(D[a|0]==46){a=Se(15690,C[g+C[b+172>>2]>>2]);i=a?i:1;f=a?f:d}Fe[C[b+28>>2]](b);a=C[b>>2];Fe[C[b+36>>2]](b)|0;c=3;l=C[b>>2];if(l>>>0>=e>>>0){break b}c=a;a=l-a|0;c=Fe[C[b+244>>2]](j,d,c,a+1|0)|0;if(c){break b}A[a+C[g+C[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=C[b+144>>2]){break e}}Fe[C[b+28>>2]](b);a=C[b>>2];if(e>>>0>a>>>0){continue}}break}C[b+144>>2]=d;if(!(i&255)){c=3;break b}a=C[C[b+172>>2]>>2];if(!Se(15690,a)){break a}c=Fe[C[b+296>>2]](h,0,a,C[C[b+176>>2]>>2])|0;if(c){break b}c=Fe[C[b+296>>2]](h,1,C[C[b+224>>2]>>2],C[C[b+228>>2]>>2])|0;if(c){break b}a=f<<2;c=Fe[C[b+296>>2]](h,2,C[a+C[b+172>>2]>>2],C[a+C[b+176>>2]>>2])|0;if(c){break b}c=Fe[C[b+296>>2]](h,3,C[a+C[b+224>>2]>>2],C[a+C[b+228>>2]>>2])|0;if(c){break b}c=Fe[C[b+192>>2]](k,f,C[C[b+276>>2]>>2],C[C[b+280>>2]>>2])|0;if(c){break b}c=Fe[C[b+244>>2]](j,f,C[C[b+276>>2]+4>>2],C[C[b+280>>2]+4>>2])|0;if(c){break b}c=Fe[C[b+192>>2]](k,0,C[C[b+276>>2]+8>>2],C[C[b+280>>2]+8>>2])|0;if(c){break b}c=Fe[C[b+244>>2]](j,0,C[C[b+276>>2]+12>>2],C[C[b+280>>2]+12>>2])|0;if(!c){break a}}C[b+12>>2]=c}}function Xg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if(!D[a+73|0]){if(b>>>0>=c>>>0){break a}k=C[a+92>>2];i=c-b|0;g=i&3;e=-1;d=b;l=(d^-1)+c|0;if(l>>>0>=3){m=i&-4;while(1){j=k+I(d,20)|0;h=C[j+8>>2];e=e>>>0>>0?e:h;h=C[j+28>>2];e=e>>>0>>0?e:h;h=C[j+48>>2];e=e>>>0>>0?e:h;j=C[j+68>>2];e=e>>>0>>0?e:j;d=d+4|0;f=f+4|0;if((m|0)!=(f|0)){continue}break}}if(g){f=0;while(1){j=C[(k+I(d,20)|0)+8>>2];e=e>>>0>>0?e:j;d=d+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}d=C[a+36>>2];if(i&1){f=k+I(b,20)|0;if(C[f+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[f+4>>2]=C[f+4>>2]|1}b=b+1|0}if(!l){break a}while(1){f=k+I(b,20)|0;if(C[f+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[f+4>>2]=C[f+4>>2]|1}f=k+I(b+1|0,20)|0;if(C[f+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[f+4>>2]=C[f+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}break a}k=C[a+96>>2];e=-1;j=C[a+84>>2];l=j>>>0<=b>>>0;b:{if(l){break b}i=j-b|0;g=i&3;d=b;if(j+(d^-1)>>>0>=3){m=i&-4;while(1){i=k+I(d,20)|0;h=C[i+8>>2];e=e>>>0>>0?e:h;h=C[i+28>>2];e=e>>>0>>0?e:h;h=C[i+48>>2];e=e>>>0>>0?e:h;i=C[i+68>>2];e=e>>>0>>0?e:i;d=d+4|0;f=f+4|0;if((m|0)!=(f|0)){continue}break}}if(!g){break b}f=0;while(1){i=C[(k+I(d,20)|0)+8>>2];e=e>>>0>>0?e:i;d=d+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}i=C[a+92>>2];f=C[a+76>>2];m=f>>>0>=c>>>0;c:{if(m){break c}h=(f^-1)+c|0;n=c-f&3;d:{if(!n){d=f;break d}g=0;d=f;while(1){o=C[(i+I(d,20)|0)+8>>2];e=e>>>0>>0?e:o;d=d+1|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(h>>>0<3){break c}while(1){g=i+I(d,20)|0;h=C[g+8>>2];e=e>>>0>>0?e:h;h=C[g+28>>2];e=e>>>0>>0?e:h;h=C[g+48>>2];e=e>>>0>>0?e:h;g=C[g+68>>2];e=e>>>0>>0?e:g;d=d+4|0;if((d|0)!=(c|0)){continue}break}}e:{if(l){break e}l=b+1|0;d=C[a+36>>2];if(j-b&1){g=k+I(b,20)|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+1|0}if((j|0)==(l|0)){break e}while(1){g=k+I(b,20)|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}g=k+I(b+1|0,20)|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(m){break a}k=f^-1;b=C[a+36>>2];if(c-f&1){d=i+I(f,20)|0;if(C[d+8>>2]!=(e|0)){b=b|16;C[a+36>>2]=b;C[d+4>>2]=C[d+4>>2]|1}f=f+1|0}if((k|0)==(0-c|0)){break a}while(1){d=i+I(f,20)|0;if(C[d+8>>2]!=(e|0)){b=b|16;C[a+36>>2]=b;C[d+4>>2]=C[d+4>>2]|1}d=i+I(f+1|0,20)|0;if(C[d+8>>2]!=(e|0)){b=b|16;C[a+36>>2]=b;C[d+4>>2]=C[d+4>>2]|1}f=f+2|0;if((f|0)!=(c|0)){continue}break}}}function NR(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,k=0,l=0,m=0,n=0,o=0;h=Ce-16|0;Ce=h;if(Hf(c,b,13696,0)){e=C[a+112>>2];d=C[e>>2];a:{if(C[d+12>>2]!=1){break a}f=C[e+8>>2];if((f|0)==-1){f=C[d+8>>2];if(f){C[h+4>>2]=0;d=f;f=C[b+72>>2];f=Fe[C[f+156>>2]](b,C[b+76>>2],d,h+4|0,C[f+20>>2])|0;f=f?C[h+4>>2]:0}else{f=0}C[e+8>>2]=f}if(!f){break a}n=C[c+80>>2];if(!n){break a}o=C[c+92>>2];g=C[b+16>>2];j=h+8|0;while(1){m=I(l,20)+o|0;if(D[m+19|0]==4){d=C[m>>2];C[h+12>>2]=f;C[h+8>>2]=d;C[h+4>>2]=f;d=0;b:{c:{if(!C[e+40>>2]){break c}while(1){i=8;if(Bh(g,E[C[e+36>>2]+(d<<3)>>1],h+4|0,2,D[e+44|0])){break b}d=d+1|0;k=C[e+40>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break c}while(1){if(Bh(g,E[C[e+36>>2]+(d<<3)>>1],j,2,D[e+44|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;d:{if(!C[e+64>>2]){break d}while(1){i=8;if(Bh(g,E[C[e+60>>2]+(d<<3)>>1],h+4|0,2,D[e+68|0])){break b}d=d+1|0;k=C[e+64>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break d}while(1){if(Bh(g,E[C[e+60>>2]+(d<<3)>>1],j,2,D[e+68|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;e:{if(!C[e+52>>2]){break e}while(1){i=11;if(Bh(g,E[C[e+48>>2]+(d<<3)>>1],h+4|0,2,D[e+56|0])){break b}d=d+1|0;k=C[e+52>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break e}while(1){if(Bh(g,E[C[e+48>>2]+(d<<3)>>1],j,2,D[e+56|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;i=4;if(!C[e+28>>2]){break b}f:{while(1){if(Bh(g,E[C[e+24>>2]+(d<<3)>>1],h+4|0,2,D[e+32|0])){break f}d=d+1|0;k=C[e+28>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break b}while(1){if(Bh(g,E[C[e+24>>2]+(d<<3)>>1],j,2,D[e+32|0])){break f}d=d+1|0;if(d>>>0>2]){continue}break}break b}i=11}A[m+19|0]=i}l=l+1|0;if((n|0)!=(l|0)){continue}break}}Mm(b,c,4,12,15,15);g=C[c+80>>2];g:{if(!g){break g}f=g-1|0;e=0;d=C[c+92>>2];i=D[d+15|0];while(1){h:{if((e|0)==(f|0)){e=g;break h}e=e+1|0;if((i|0)==D[(d+I(e,20)|0)+15|0]){continue}}break}if(!g){break g}i=C[c+92>>2];j=D[i+15|0];d=0;while(1){f=e;e=C[b+16>>2];i:{j:{switch(j&15){case 0:case 1:nx(C[a+112>>2],e,c,d,f);break i;case 2:case 4:break j;default:break i}}j=C[a+112>>2];if(D[(I(f,20)+i|0)-2|0]==12?D[j+5|0]:0){break i}nx(j,e,c,d,f)}l=C[c+80>>2];e=f+1|0;d=e>>>0>>0?l:e;i=C[c+92>>2];j=D[(i+I(f,20)|0)+15|0];e=f;while(1){k:{e=e+1|0;if(l>>>0<=e>>>0){e=d;break k}if(D[(I(e,20)+i|0)+15|0]==(j|0)){continue}}break}d=f;if(g>>>0>d>>>0){continue}break}}Hf(c,b,13727,0)}Ce=h+16|0}function mP(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,j=0,k=0,l=0;f=C[b>>2];if(!f){return 35}d=6;a:{if(F[f+16>>2]<=c>>>0){break a}e=C[f+104>>2];k=C[f+292>>2];b=c-1|0;l=b>>>0<=c>>>0?b:0;h=k+(l<<4)|0;c=B[h+8>>1]+B[h+6>>1]|0;C[a+76>>2]=c;b=B[h>>1];d=B[h+2>>1];A[a+94|0]=1;B[a+92>>1]=1;b=d-b|0;C[a+80>>2]=b;d=3;b:{c:{switch((1<<(C[f+308>>2]&3))-1|0){case 0:b=b+7>>>3|0;break b;case 1:b=b+15>>>3&536870910;break b;case 3:b=b+31>>>3&536870908;break b;case 7:break c;default:break a}}b=b+63>>>3&536870904}C[a+84>>2]=b;b=I(b,c);d=pp(a,b);if(d){break a}d=bf(e,C[((l<<4)+k|0)+12>>2]);if(d){break a}d=jg(e,C[a+88>>2],b);if(d){break a}c=C[f+308>>2];if(!(!b|c&8)){i=b-1|0;c=C[a+88>>2];j=b&3;d:{if(!j){d=b;break d}e=0;d=b;while(1){g=D[c|0];g=g>>>4|(g&15)<<4;g=g>>>2&51|(g&51)<<2;A[c|0]=g>>>1&85|(g&85)<<1;c=c+1|0;d=d-1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(i>>>0>=3){while(1){e=D[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c|0]=e>>>1&85|(e&85)<<1;e=D[c+1|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c+1|0]=e>>>1&85|(e&85)<<1;e=D[c+2|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c+2|0]=e>>>1&85|(e&85)<<1;e=D[c+3|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c+3|0]=e>>>1&85|(e&85)<<1;c=c+4|0;d=d-4|0;if(d){continue}break}}c=C[f+308>>2]}e:{if(!((c>>>2^c>>>3)&1)){break e}f:{switch((1<<(c>>>4&3))-2|0){case 0:if(b>>>0<2){break e}c=C[a+88>>2];e=b-2|0;i=(e>>>1|0)+1&3;if(i){d=0;while(1){j=D[c+1|0];A[c+1|0]=D[c|0];A[c|0]=j;c=c+2|0;b=b-2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(e>>>0<6){break e}while(1){d=D[c+1|0];A[c+1|0]=D[c|0];A[c|0]=d;d=D[c+2|0];A[c+2|0]=D[c+3|0];A[c+3|0]=d;d=D[c+4|0];A[c+4|0]=D[c+5|0];A[c+5|0]=d;d=D[c+6|0];A[c+6|0]=D[c+7|0];A[c+7|0]=d;c=c+8|0;b=b-8|0;if(b>>>0>1){continue}break};break e;case 2:break f;default:break e}}if(b>>>0<4){break e}c=C[a+88>>2];d=b-4|0;if(!(d&4)){b=D[c+3|0];A[c+3|0]=D[c|0];A[c|0]=b;b=D[c+1|0];A[c+1|0]=D[c+2|0];A[c+2|0]=b;c=c+4|0;b=d}if(d>>>0<4){break e}while(1){d=D[c+3|0];A[c+3|0]=D[c|0];A[c|0]=d;d=D[c+1|0];A[c+1|0]=D[c+2|0];A[c+2|0]=d;d=D[c+4|0];A[c+4|0]=D[c+7|0];A[c+7|0]=d;d=D[c+5|0];A[c+5|0]=D[c+6|0];A[c+6|0]=d;c=c+8|0;b=b-8|0;if(b>>>0>3){continue}break}}C[a+72>>2]=1651078259;b=B[h>>1];C[a+100>>2]=b;c=B[h+6>>1];C[a+104>>2]=c;d=B[((l<<4)+k|0)+4>>1];C[a+36>>2]=c<<6;C[a+32>>2]=b<<6;C[a+40>>2]=d<<6;c=B[h+2>>1];C[a+28>>2]=C[a+76>>2]<<6;C[a+24>>2]=c-b<<6;fk(a+24|0,C[f+208>>2]+C[f+204>>2]<<6);d=0}return d|0}function XE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=C[a+36>>2];c=C[a+20>>2];k=C[a+16>>2];b=C[a>>2];g=C[a+28>>2];f=C[a+24>>2];e=D[C[a+40>>2]+9|0];a:{h=C[a+44>>2];if(!C[h+24>>2]){if(!g){break a}d=D[h+9|0];i=f&7;h=(f+7|0)/8|0;b:while(1){g=g-1|0;f=h;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=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;a=f-1|0;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=a;break f}c=c+j|0;b=b+k|0;if(g){continue b}break a}a=0;continue}}}if(!g){break a}d=D[a+63|0]<>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=1;continue;case 1:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=2;continue;case 2:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=3;continue;case 3:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=4;continue;case 4:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=5;continue;case 5:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=6;continue;case 6:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=7;continue;default:break j}}C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);a=f-1|0;b=b+e|0;c=c+4|0;k:{if((f|0)>1){f=a;break k}c=c+j|0;b=b+k|0;if(g){continue g}break a}a=0;continue}}}}function Ho(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;C[a+4>>2]=c;C[a>>2]=b;C[a+396>>2]=C[c+116>>2];C[a+400>>2]=C[c+120>>2];C[a+408>>2]=C[c+128>>2];C[a+412>>2]=C[c+132>>2];C[a+404>>2]=C[c+124>>2];C[a+416>>2]=C[c+136>>2];d=C[c+108>>2];C[a+276>>2]=C[c+104>>2];C[a+280>>2]=d;d=C[c+100>>2];C[a+268>>2]=C[c+96>>2];C[a+272>>2]=d;d=C[c+92>>2];C[a+260>>2]=C[c+88>>2];C[a+264>>2]=d;d=C[c+84>>2];C[a+252>>2]=C[c+80>>2];C[a+256>>2]=d;d=C[c+76>>2];C[a+244>>2]=C[c+72>>2];C[a+248>>2]=d;d=C[c+48>>2];C[a+216>>2]=C[c+44>>2];C[a+220>>2]=d;d=C[c+56>>2];C[a+224>>2]=C[c+52>>2];C[a+228>>2]=d;d=C[c+64>>2];C[a+232>>2]=C[c+60>>2];C[a+236>>2]=d;C[a+240>>2]=C[c+68>>2];C[a+420>>2]=C[c+140>>2];C[a+424>>2]=C[c+144>>2];d=C[c+152>>2];C[a+444>>2]=C[c+148>>2];C[a+448>>2]=d;d=C[c+160>>2];C[a+452>>2]=C[c+156>>2];C[a+456>>2]=d;d=C[c+168>>2];C[a+460>>2]=C[c+164>>2];C[a+464>>2]=d;t(a+284|0,c+172|0,68);C[a+380>>2]=C[c+240>>2];C[a+384>>2]=C[c+244>>2];B[a+468>>1]=E[c+248>>1];C[a+472>>2]=C[c+252>>2];d=C[c+260>>2];C[a+180>>2]=C[c+256>>2];C[a+184>>2]=d;d=C[c+268>>2];C[a+188>>2]=C[c+264>>2];C[a+192>>2]=d;d=C[c+276>>2];C[a+196>>2]=C[c+272>>2];C[a+200>>2]=d;d=C[c+284>>2];C[a+204>>2]=C[c+280>>2];C[a+208>>2]=d;C[a+212>>2]=C[c+288>>2];p(a+36|0,0,108);e=C[a+8>>2];a:{b:{c:{c=E[b+284>>1]+32|0;d=C[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}g=a,h=Ve(e,1,d<<2,c<<2,C[a+24>>2],f+8|0),C[g+24>>2]=h;e=C[f+8>>2];if(e){break c}e=C[a+8>>2]}C[a+20>>2]=c;b=E[b+286>>1];c=C[a+388>>2];if(b>>>0<=c>>>0){b=c;break b}g=a,h=Ve(e,1,c,b,C[a+392>>2],f+12|0),C[g+392>>2]=h;e=C[f+12>>2];if(!e){break b}C[a+388>>2]=c&65535;break a}C[a+20>>2]=d;break a}e=0;C[a+152>>2]=0;C[a+388>>2]=b&65535;C[a+104>>2]=C[a+176>>2];b=C[a+172>>2];C[a+96>>2]=C[a+168>>2];C[a+100>>2]=b;b=C[a+164>>2];C[a+88>>2]=C[a+160>>2];C[a+92>>2]=b;b=C[a+148>>2];C[a+72>>2]=C[a+144>>2];C[a+76>>2]=b;b=C[a+156>>2];C[a+80>>2]=C[a+152>>2];C[a+84>>2]=b;C[a+140>>2]=C[a+176>>2];b=C[a+172>>2];C[a+132>>2]=C[a+168>>2];C[a+136>>2]=b;b=C[a+164>>2];C[a+124>>2]=C[a+160>>2];C[a+128>>2]=b;b=C[a+156>>2];C[a+116>>2]=C[a+152>>2];C[a+120>>2]=b;b=C[a+148>>2];C[a+108>>2]=C[a+144>>2];C[a+112>>2]=b;C[a+68>>2]=C[a+176>>2];b=C[a+172>>2];C[a+60>>2]=C[a+168>>2];C[a+64>>2]=b;b=C[a+164>>2];C[a+52>>2]=C[a+160>>2];C[a+56>>2]=b;b=C[a+156>>2];C[a+44>>2]=C[a+152>>2];C[a+48>>2]=b;b=C[a+148>>2];C[a+36>>2]=C[a+144>>2];C[a+40>>2]=b;A[a+488|0]=0}Ce=f+16|0;return e}function Fz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0;c=Ce+-64|0;Ce=c;d=C[a+24>>2];e=d-4|0;if(d>>>0<=3){A[a+20|0]=1}g=C[a+32>>2];a:{if(g>>>0<=e>>>0){e=C[51429];h=C[51428];C[105676]=h;C[105677]=e;l(0,h|0);l(1,e|0);m=+n();break a}m=H[C[a+36>>2]+(e<<3)>>3]}if(d>>>0<=2){A[a+20|0]=1}e=d-3|0;b:{if(e>>>0>=g>>>0){e=C[51429];h=C[51428];C[105676]=h;C[105677]=e;l(0,h|0);l(1,e|0);o=+n();break b}o=H[C[a+36>>2]+(e<<3)>>3]}h=C[b+40>>2];if(d>>>0<=1){A[a+20|0]=1}e=d-2|0;c:{if(e>>>0>=g>>>0){e=C[51429];g=C[51428];C[105676]=g;C[105677]=e;l(0,g|0);l(1,e|0);f=+n();break c}f=H[C[a+36>>2]+(e<<3)>>3]}d:{if(K(f)<2147483648){e=~~f;break d}e=-2147483648}g=0;e:{if(e>>>0<=255){g=D[e+158224|0];p=C[h+52>>2];if((p|0)!=205712){g=hq(p,g,C[h+216>>2]);h=C[b+40>>2];e=C[a+24>>2];break e}g=e>>>0<229?C[h+172>>2]?0:g:0}e=d}d=d-1|0;if(e>>>0<=d>>>0){A[a+20|0]=1}f:{g:{h:{if(d>>>0>=F[a+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);f=+n();break h}f=H[C[a+36>>2]+(d<<3)>>3]}i:{if(K(f)<2147483648){d=~~f;break i}d=-2147483648}if(d>>>0>=256){break g}e=D[d+158224|0];p=C[h+52>>2];j:{if((p|0)!=205712){d=hq(p,e,C[h+216>>2]);break j}d=d>>>0<229?C[h+172>>2]?0:e:0}if(!d|!g|D[a+160|0]){break g}if(!Aq(C[b+40>>2],g,c+32|0,1)){break g}if(!Aq(C[b+40>>2],d,c,1)){break g}a=b+8|0;k:{l:{q=H[b+24>>3];r=H[b+8>>3];if(q>r){s=H[b+32>>3];t=H[b+16>>3];if(s>t){break l}}d=C[c+36>>2];C[a>>2]=C[c+32>>2];C[a+4>>2]=d;d=C[c+60>>2];C[a+24>>2]=C[c+56>>2];C[a+28>>2]=d;d=C[c+52>>2];C[a+16>>2]=C[c+48>>2];C[a+20>>2]=d;d=C[c+44>>2];C[a+8>>2]=C[c+40>>2];C[a+12>>2]=d;break k}f=H[c+48>>3];i=H[c+32>>3];if(!(f>i)){break k}j=H[c+56>>3];k=H[c+40>>3];if(!(j>k)){break k}if(i>3]=i}if(f>q){H[b+24>>3]=f}if(k>3]=k}if(!(j>s)){break k}H[b+32>>3]=j}j=H[c+16>>3];k=H[c>>3];f=H[c+24>>3];i=H[c+8>>3];if(!(!(j>k)|!(f>i))){f=o+f;H[c+24>>3]=f;j=m+j;H[c+16>>3]=j;i=o+i;H[c+8>>3]=i;k=m+k;H[c>>3]=k}m:{m=H[b+24>>3];o=H[b+8>>3];if(m>o){q=H[b+32>>3];r=H[b+16>>3];if(q>r){break m}}b=C[c+4>>2];C[a>>2]=C[c>>2];C[a+4>>2]=b;b=C[c+28>>2];C[a+24>>2]=C[c+24>>2];C[a+28>>2]=b;b=C[c+20>>2];C[a+16>>2]=C[c+16>>2];C[a+20>>2]=b;b=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=b;break f}if(!(j>k)|!(f>i)){break f}if(k>3]=k}if(j>m){H[b+24>>3]=j}if(i>3]=i}if(!(f>q)){break f}H[b+32>>3]=f;break f}A[a+40|0]=1}Ce=c- -64|0}function dq(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ce-48|0;Ce=j;a:{b:{if(f){break b}h=-128;f=(Mg(a,j+32|0,65536,0)|0)==-128;g=Ee;if(f&(g|0)==-1){break a}f=j+32|0;if((g|0)>0|(g|0)>=0){break b}h=-132;break a}C[b>>2]=0;C[b+4>>2]=0;C[b+24>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;m=b,n=df(1,3664),C[m+28>>2]=n;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[a+88>>2]=2;c:{d:{if(!(D[C[f>>2]+5|0]&2)){break d}i=a+120|0;while(1){if(d){h=C[f>>2];k=D[h+14|0]|D[h+15|0]<<8|(D[h+16|0]<<16|D[h+17|0]<<24);e:{h=C[d>>2];g=C[e>>2];if(!h|!g){break e}while(1){if((k|0)!=C[h>>2]){h=h+4|0;g=g-1|0;if(g){continue}break e}break}f=C[d>>2];if(f){Re(f)}C[d>>2]=0;C[e>>2]=0;d=-133;break c}g=C[f>>2];k=D[g+14|0]|D[g+15|0]<<8|(D[g+16|0]<<16|D[g+17|0]<<24);g=C[e>>2];h=g+1|0;C[e>>2]=h;l=C[d>>2];f:{if(l){h=mf(l,h<<2);g=C[e>>2]-1|0;break f}h=kf(4)}C[d>>2]=h;C[(g<<2)+h>>2]=k}g:{if(C[a+88>>2]>2){break g}g=C[f>>2];Xi(i,D[g+14|0]|D[g+15|0]<<8|(D[g+16|0]<<16|D[g+17|0]<<24));gi(i,f);if((zh(i,j)|0)<=0){break g}h=0;g=Ce-32|0;Ce=g;h:{if(!j){break h}k=C[j+4>>2];l=C[j>>2];C[g+24>>2]=l;C[g+12>>2]=0;C[g+16>>2]=0;C[g+28>>2]=k;C[g+20>>2]=l;if(!C[j+8>>2]){break h}if((Ye(g+12|0,8)|0)!=1){break h}m=g,n=Ye(g+12|0,8),A[m+6|0]=n;m=g,n=Ye(g+12|0,8),A[m+7|0]=n;m=g,n=Ye(g+12|0,8),A[m+8|0]=n;m=g,n=Ye(g+12|0,8),A[m+9|0]=n;m=g,n=Ye(g+12|0,8),A[m+10|0]=n;m=g,n=Ye(g+12|0,8),A[m+11|0]=n;h=!Hg(g+6|0,7354,6)}Ce=g+32|0;if(!h){break g}C[a+88>>2]=3;if(!iz(b,c,j)){break g}d=-133;break c}g=(Mg(a,f,65536,0)|0)==-128;h=Ee;if(g&(h|0)==-1){d=-128;break c}if((h|0)<0){d=-132;break c}i:{if(C[a+88>>2]!=3){break i}g=C[f>>2];if(C[a+456>>2]!=(D[g+14|0]|D[g+15|0]<<8|(D[g+16|0]<<16|D[g+17|0]<<24))){break i}gi(i,f);break d}if(D[C[f>>2]+5|0]&2){continue}break}}d=-132;if(C[a+88>>2]!=3){break c}k=a+120|0;e=0;g=0;while(1){d=-133;j:{switch(zh(k,j)+1|0){default:d=iz(b,c,j);if(d){break c}h=0;e=e+1|0;if((e|0)!=2){continue}break a;case 1:break j;case 0:break c}}h=0;if((e|0)>1){break a}Mg(a,f,65536,0);if((Ee|0)<0){break c}while(1){i=C[f>>2];if(C[a+456>>2]!=(D[i+14|0]|D[i+15|0]<<8|(D[i+16|0]<<16|D[i+17|0]<<24))){k:{if(!(D[C[f>>2]+5|0]&2)){i=g;break k}i=1;if(g){break c}}g=i;Mg(a,f,65536,0);i=Ee;if((i|0)>0|(i|0)>=0){continue}break c}break}gi(k,f);if((e|0)<2){continue}break}break a}kl(b);cn(c);C[a+88>>2]=2;h=d}Ce=j+48|0;return h}function dn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=D[b|0]|D[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0<=c>>>0){C[a+8>>2]=C[51430];b=C[51429];C[a>>2]=C[51428];C[a+4>>2]=b;return}k=b+3|0;f=D[b+2|0];m=k+I(f,l+1|0)|0;d=0;a:{if(!f){break a}d=0;b=k+I(c,f)|0;g=b;if(f>>>0>=4){i=f&252;while(1){e=g;g=e+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}e=f&3;if(e){while(1){h=D[g|0]|h<<8;g=g+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;g=k+I(f,c+1|0)|0;d=g;if(f>>>0>=4){j=f&252;while(1){c=d;d=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}j=0;i=0;d=b;if(f>>>0>=4){n=f&252;while(1){c=d;d=c+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){i=D[d|0]|i<<8;d=d+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}m=h+m|0;d=0;if(e>>>0>>0){break a}e=0;h=0;d=g;if(f>>>0>=4){i=f&252;while(1){c=d;d=c+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){h=D[d|0]|h<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}j=f&3;d=k+I(f,l)|0;i=0;if(f>>>0<4){e=0}else{k=f&252;e=0;while(1){c=d;d=c+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(j){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}e=f&3;h=0;if(f>>>0<4){d=0}else{i=f&252;d=0;while(1){c=g;g=c+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){d=D[g|0]|d<<8;g=g+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}e=f&3;h=0;if(f>>>0<4){g=0}else{f=f&252;g=0;while(1){c=b;b=c+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){g=D[b|0]|g<<8;b=b+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}d=d-g|0}C[a+8>>2]=0;C[a+4>>2]=d;C[a>>2]=m-1}function kz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=D[b|0]|D[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0>c>>>0){k=b+3|0;f=D[b+2|0];m=k+I(f,l+1|0)|0;d=0;a:{if(!f){break a}d=0;b=k+I(c,f)|0;g=b;if(f>>>0>=4){i=f&252;while(1){e=g;g=e+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}e=f&3;if(e){while(1){h=D[g|0]|h<<8;g=g+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;g=k+I(f,c+1|0)|0;d=g;if(f>>>0>=4){j=f&252;while(1){c=d;d=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}j=0;i=0;d=b;if(f>>>0>=4){n=f&252;while(1){c=d;d=c+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){i=D[d|0]|i<<8;d=d+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}m=h+m|0;d=0;if(e>>>0>>0){break a}e=0;h=0;d=g;if(f>>>0>=4){i=f&252;while(1){c=d;d=c+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){h=D[d|0]|h<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}j=f&3;d=k+I(f,l)|0;i=0;if(f>>>0<4){e=0}else{k=f&252;e=0;while(1){c=d;d=c+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(j){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}e=f&3;h=0;if(f>>>0<4){d=0}else{i=f&252;d=0;while(1){c=g;g=c+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){d=D[g|0]|d<<8;g=g+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}e=f&3;h=0;if(f>>>0<4){g=0}else{f=f&252;g=0;while(1){c=b;b=c+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){g=D[b|0]|g<<8;b=b+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}d=d-g|0}C[a+8>>2]=0;C[a+4>>2]=d;C[a>>2]=m-1;return}C[a+8>>2]=C[51430];b=C[51429];C[a>>2]=C[51428];C[a+4>>2]=b}function hn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{h:{d=D[a|0]|D[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 13:break c;case 12:break d;case 10:break e;case 6:break f;case 4:break g;case 0:break h;default:break b}}if(b>>>0>255){break b}a=D[(a+b|0)+6|0];if(!a){break b}C[c>>2]=a;return 1}d=0;e=D[a+6|0]|D[a+7|0]<<8;f=e<<8|e>>>8;e=f&65535;i:{if(e>>>0<2){break i}d=D[a+2|0]|D[a+3|0]<<8;e=e>>>1|0;i=(((d<<8|d>>>8)&65535)-(e<<3)|0)-16>>>1|0;j=a+14|0;a=f&65534;k=(j+a|0)+2|0;l=k+a|0;m=l+a|0;o=m+a|0;d=e-1|0;a=0;p=e+1<<1;j:{while(1){g=a+d|0;f=g>>>1|0;g=g&-2;h=g+j|0;n=D[h|0]|D[h+1|0]<<8;k:{if(((n<<8|n>>>8)&65535)>>>0>=b>>>0){d=h+p|0;d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break j}d=f-1|0;break k}a=f+1|0}if((a|0)<=(d|0)){continue}break}d=0;break i}a=g>>1;d=g+m|0;f=D[d|0]|D[d+1|0]<<8;if(f){d=0;e=a+(b-e|0)+(((f<<8|f>>>8)&65534)>>>1)|0;b=(a<<1)+k|0;b=D[b|0]|D[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=i>>>0){break i}b=(b<<1)+o|0;b=D[b|0]|D[b+1|0]<<8;if(!b){break i}b=(b<<8|b>>>8)&65535}d=0;a=(a<<1)+l|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break i}C[c>>2]=a;d=1}return d}d=b;b=D[a+6|0]|D[a+7|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;d=((b<<1)+a|0)+10|0;a=D[a+8|0]|D[a+9|0]<<8;a=b>>>0>=((a<<8|a>>>8)&65535)>>>0?205712:d;a=D[a|0]|D[a+1|0]<<8;if(!a){break b}break a}d=b;b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);b=d-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;d=((b<<1)+a|0)+20|0;a=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a=b>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0?205712:d;a=D[a|0]|D[a+1|0]<<8;if(!a){break b}break a}return Oq(a,b,c)}f=206108;d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);l:{if((d|0)<=0){break l}i=a+16|0;a=d-1|0;d=0;while(1){g=a+d>>>1|0;e=i+I(g,12)|0;h=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);m:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){d=g+1|0;break m}f=i+I(g,12)|0;break l}a=g-1|0}if((a|0)>=(d|0)){continue}break}}a=D[f+8|0]|D[f+9|0]<<8|(D[f+10|0]<<16|D[f+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a){C[c>>2]=a}e=(a|0)!=0}return e}C[c>>2]=(a<<8|a>>>8)&65535;return 1}function $A(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,J=0,K=0,L=0,M=0;a:{if((e|0)<=0){break a}f=e&1;b:{if((e|0)==1){e=0;break b}j=e&-2;e=0;while(1){i=e<<2;if(C[i+d>>2]){C[(g<<2)+c>>2]=C[c+i>>2];g=g+1|0}i=(e|1)<<2;if(C[i+d>>2]){C[(g<<2)+c>>2]=C[c+i>>2];g=g+1|0}e=e+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}c:{if(!f){break c}u=d;d=e<<2;if(!C[u+d>>2]){break c}C[(g<<2)+c>>2]=C[c+d>>2];g=g+1|0}if(!g){break a}d=Ce;B=d;i=C[b>>2];e=C[i+4>>2];f=C[a+36>>2]>>1;e=((e|0)<(f|0)?e:f)-C[i>>2]|0;d:{if((e|0)<=0){break d}r=C[C[b+16>>2]>>2];v=C[i+8>>2];m=(e|0)/(v|0)|0;s=d-((g<<2)+15&-16)|0;Ce=s;if((g|0)>0){e=((m+r|0)-1|0)/(r|0)<<2;d=0;while(1){L=(d<<2)+s|0,M=pg(a,e),C[L>>2]=M;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=C[b+8>>2];if((d|0)<=0){break d}x=a+4|0;D=(m|0)<=0;while(1){if(!D){a=0;y=(g|0)<=0;E=y|(n|0)!=0;F=1<>2],x);if((e|0)==-1|(e|0)>=C[i+16>>2]){break d}e=C[C[b+28>>2]+(e<<2)>>2];C[C[(d<<2)+s>>2]+(l<<2)>>2]=e;if(!e){break d}d=d+1|0;if((g|0)!=(d|0)){continue}break}}e:{if((r|0)<=0){break e}t=0;if((a|0)>=(m|0)){break e}while(1){if(!y){H=I(a,v);d=0;while(1){f=d<<2;e=C[C[C[f+s>>2]+(l<<2)>>2]+(t<<2)>>2]<<2;f:{if(!(C[(e+i|0)+24>>2]&F)){break f}e=C[C[e+C[b+20>>2]>>2]+(n<<2)>>2];if(!e){break f}w=C[c+f>>2]+(C[i>>2]+H<<2)|0;f=Ce;u=f;h=0;g:{if(C[e+8>>2]<=0){break g}o=C[e>>2];j=(v|0)/(o|0)|0;p=f-((j<<2)+15&-16)|0;Ce=p;if((j|0)>0){f=0;while(1){k=Gj(e,x);h=-1;if((k|0)==-1){break g}o=C[e>>2];C[(f<<2)+p>>2]=C[e+16>>2]+(I(k,o)<<2);f=f+1|0;if((j|0)!=(f|0)){continue}break}}h=0;if((o|0)<=0){break g}J=j&-2;K=j&1;f=0;h=0;while(1){h:{if((j|0)<=0){break h}e=0;k=0;if((j|0)!=1){while(1){q=(e+f<<2)+w|0;z=h<<2;G[q>>2]=G[z+C[(e<<2)+p>>2]>>2]+G[q>>2];q=e|1;A=(q+f<<2)+w|0;G[A>>2]=G[C[(q<<2)+p>>2]+z>>2]+G[A>>2];e=e+2|0;k=k+2|0;if((J|0)!=(k|0)){continue}break}}if(!K){break h}k=(e+f<<2)+w|0;G[k>>2]=G[C[(e<<2)+p>>2]+(h<<2)>>2]+G[k>>2]}f=f+j|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}h=0}Ce=u;if((h|0)==-1){break d}}d=d+1|0;if((g|0)!=(d|0)){continue}break}}a=a+1|0;t=t+1|0;if((t|0)>=(r|0)){break e}if((a|0)<(m|0)){continue}break}}l=l+1|0;if((a|0)<(m|0)){continue}break}d=C[b+8>>2]}n=n+1|0;if((n|0)<(d|0)){continue}break}}Ce=B}return 0}function KG(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,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;m=Ce-16|0;Ce=m;c=gj(C[a+772>>2],b,c);a:{if(c){break a}b:{if(!C[a+8>>2]){C[d>>2]=1;break b}C[m+12>>2]=C[a+768>>2];c=-1;t=C[a+776>>2];f=C[a+780>>2];p=m+12|0;k=Ce-16|0;Ce=k;b=-131;d=a+16|0;e=C[d+88>>2];c:{if((e|0)<2){break c}h=d+480|0;d:{while(1){if((e|0)==4){b=ml(h,k+12|0);if(b){break d}}b=oy(d);if((b|0)!=-2){if((b|0)<=0){break c}e=C[d+88>>2];continue}break}b=0;break c}if((b|0)<=0){break c}e:{if(C[d+4>>2]){e=C[d+72>>2];if(C[d+88>>2]<3){break e}e=e+(C[d+96>>2]<<5)|0;break e}e=C[d+72>>2]}j=C[e+4>>2];q=j<<1;f=(f|0)/(q|0)|0;f=(b|0)<(f|0)?b:f;b=-131;if((f|0)<=0){break c}if((j|0)>0){u=f&-2;v=f&1;w=C[k+12>>2];while(1){b=(l<<1)+t|0;n=C[(l<<2)+w>>2];e=0;o=0;if((f|0)!=1){while(1){r=e<<2;i=O(+J(G[r+n>>2]*J(32768))+.5);f:{if(K(i)<2147483648){g=~~i;break f}g=-2147483648}g=(g|0)<=-32768?-32768:g;B[b>>1]=(g|0)>=32767?32767:g;g=j<<1;s=g+b|0;i=O(+J(G[(r|4)+n>>2]*J(32768))+.5);g:{if(K(i)<2147483648){b=~~i;break g}b=-2147483648}b=(b|0)<=-32768?-32768:b;B[s>>1]=(b|0)>=32767?32767:b;b=g+s|0;e=e+2|0;o=o+2|0;if((u|0)!=(o|0)){continue}break}}if(v){g=b;i=O(+J(G[(e<<2)+n>>2]*J(32768))+.5);h:{if(K(i)<2147483648){e=~~i;break h}e=-2147483648}b=(e|0)<=-32768?-32768:e;B[g>>1]=(b|0)>=32767?32767:b}l=l+1|0;if((j|0)!=(l|0)){continue}break}}b=f+C[h+24>>2]|0;if(!((b|0)>C[h+20>>2]?f:0)){C[h+24>>2]=b}b=f<>2]+28>>2]+3656>>2];h=b;e=b+C[d+80>>2]|0;b=C[d+84>>2]+(b>>31)|0;C[d+80>>2]=e;C[d+84>>2]=e>>>0>>0?b+1|0:b;if(p){C[p>>2]=C[d+96>>2]}b=I(f,q)}Ce=k+16|0;if((b|0)<0){Wl(20994,b);break a}i:{c=C[m+12>>2];if((c|0)==C[a+768>>2]){break i}C[a+768>>2]=c;if((pt(a)|0)>=0){break i}c=-1;break a}if(C[d+88>>2]>=2){e=C[d+84>>2];f=C[d+80>>2]}else{e=-1;f=-131}j:{k:{if(C[a+784>>2]!=1){break k}h=C[a+800>>2];j=C[a+804>>2];c=j;if(f>>>0>>0&(e|0)<=(c|0)|(c|0)>(e|0)){break k}k=C[a+816>>2];l=C[a+820>>2];c=-1;d=uy(d,C[a+792>>2],C[a+796>>2]);if((d|0)<0){Wl(14022,d);break a}b=(mT(k,l,h-f|0,j-(e+(f>>>0>h>>>0)|0)|0)<<1)+b|0;if((b|0)<=0){break b}break j}if(b){break j}b=C[a+8>>2];if((b|0)==1){C[a+8>>2]=0;rt(C[a+772>>2]);break b}c=-1;if((mt(a,(b|0)<=0?-1:b-1|0)|0)<0){break a}break b}if((Pj(C[a+772>>2],C[a+776>>2],b)|0)>=0){break b}c=-1;break a}c=0}Ce=m+16|0;return c|0}function an(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{switch(a-18|0){default:h:{switch(a-261|0){case 0:case 2:break d;case 1:break f;default:break h}}if((a|0)!=294){break f}f=b+24|0;d=C[f>>2];i:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n();break i}g=H[C[b+36>>2]+(d<<3)>>3];break i}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n()}j:{if(K(g)<2147483648){d=~~g;break j}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+28>>2]=d;break c;case 0:f=b+24|0;d=C[f>>2];k:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[51429];h=C[51428];C[105676]=h;C[105677]=d;l(0,h|0);l(1,d|0);g=+n();break k}g=H[C[b+36>>2]+(e<<3)>>3];break k}A[b+20|0]=1;d=C[51429];h=C[51428];C[105676]=h;C[105677]=d;l(0,h|0);l(1,d|0);g=+n()}l:{if(K(g)<2147483648){d=~~g;break l}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;m:{if(e){d=e-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n();break m}g=H[C[b+36>>2]+(d<<3)>>3];break m}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n()}n:{if(K(g)<2147483648){d=~~g;break n}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+20>>2]=d;break c;case 11:jl(b+20|0,b);break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break f;case 12:break g}}g=il(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=g;break e}A[b+20|0]=1;d=C[51429];C[105676]=C[51428];C[105677]=d;H[52838]=g;break e}pk(a,b)}if(!C[b+24>>2]){break b}break a}f=b+24|0}C[f>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}o:{p:{q:{d=C[c+4>>2];if((d|0)>=0){f=C[c+8>>2];e=f+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break p}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=268435454){f=mf(C[c+12>>2],d<<4);if(f){break q}}C[c+4>>2]=-1}d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;i=422704;break o}C[c+4>>2]=d;C[c+12>>2]=f;f=C[c+8>>2]}if(e>>>0>f>>>0){We(C[c+12>>2]+(f<<4)|0,0,e-f<<4)}C[c+8>>2]=e;i=(C[c+12>>2]+(e<<4)|0)-16|0}d=i;C[d>>2]=a;e=C[b+12>>2];f=C[b+4>>2];h=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+h;d=f-a|0;d=d>>>0<=f>>>0?d:0;a=e-a|0;C[i+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}}function Du(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=C[C[a+8>>2]+140>>2];if((e|0)>0){t(C[a+136>>2],C[a+140>>2],E[a+132>>1]<<3)}t(C[a+160>>2]+284|0,C[a+4>>2]+172|0,68);a:{if(b){c=C[a+160>>2];C[c+220>>2]=65536;C[c+224>>2]=65536;t(C[a+144>>2],C[a+140>>2],E[a+132>>1]<<3);break a}c=C[a+160>>2];d=C[a+4>>2];C[c+220>>2]=C[d+48>>2];C[c+224>>2]=C[d+52>>2]}c=C[a+140>>2];d=E[a+132>>1];i=d-4|0;f=c+(i<<3)|0;C[f>>2]=C[f>>2]+32&-64;f=d-3|0;g=(f<<3)+c|0;C[g>>2]=C[g>>2]+32&-64;g=d-2|0;h=(g<<3)+c|0;C[h+4>>2]=C[h+4>>2]+32&-64;d=d-1|0;h=(d<<3)+c|0;C[h+4>>2]=C[h+4>>2]+32&-64;b:{if((e|0)>0){d=C[C[a+12>>2]- -64>>2];c=C[a+160>>2];A[c+560|0]=b;C[c+464>>2]=e;C[c+460>>2]=C[c+392>>2];b=C[a+128>>2];C[c+144>>2]=C[a+124>>2];C[c+148>>2]=b;b=C[a+136>>2];C[c+152>>2]=C[a+132>>2];C[c+156>>2]=b;b=C[a+144>>2];C[c+160>>2]=C[a+140>>2];C[c+164>>2]=b;b=C[a+152>>2];C[c+168>>2]=C[a+148>>2];C[c+172>>2]=b;C[c+176>>2]=C[a+156>>2];b=C[a+160>>2];C[b+360>>2]=0;C[b+352>>2]=3;c=C[b+148>>2];C[b+36>>2]=C[b+144>>2];C[b+40>>2]=c;C[b+364>>2]=C[b+464>>2];c=C[b+156>>2];C[b+44>>2]=C[b+152>>2];C[b+48>>2]=c;c=C[b+164>>2];C[b+52>>2]=C[b+160>>2];C[b+56>>2]=c;c=C[b+172>>2];C[b+60>>2]=C[b+168>>2];C[b+64>>2]=c;C[b+68>>2]=C[b+176>>2];C[b+356>>2]=C[b+460>>2];c=C[b+148>>2];C[b+72>>2]=C[b+144>>2];C[b+76>>2]=c;c=C[b+156>>2];C[b+80>>2]=C[b+152>>2];C[b+84>>2]=c;c=C[b+164>>2];C[b+88>>2]=C[b+160>>2];C[b+92>>2]=c;c=C[b+172>>2];C[b+96>>2]=C[b+168>>2];C[b+100>>2]=c;C[b+104>>2]=C[b+176>>2];C[b+140>>2]=C[b+176>>2];c=C[b+172>>2];C[b+132>>2]=C[b+168>>2];C[b+136>>2]=c;c=C[b+164>>2];C[b+124>>2]=C[b+160>>2];C[b+128>>2]=c;c=C[b+156>>2];C[b+116>>2]=C[b+152>>2];C[b+120>>2]=c;c=C[b+148>>2];C[b+108>>2]=C[b+144>>2];C[b+112>>2]=c;B[b+348>>1]=1;C[b+344>>2]=65537;B[b+294>>1]=16384;B[b+296>>1]=0;B[b+298>>1]=16384;B[b+300>>1]=0;C[b+312>>2]=1;B[b+290>>1]=16384;B[b+292>>1]=0;C[b+304>>2]=1;C[b+428>>2]=0;C[b+16>>2]=0;c=Fe[C[C[b>>2]+652>>2]](b)|0;b=C[a+160>>2];if(D[b+561|0]?c:0){break b}A[d|0]=D[d|0]|D[b+340|0]<<5|4;b=E[a+132>>1];d=b-1|0;g=b-2|0;f=b-3|0;i=b-4|0;c=C[a+140>>2]}b=(i<<3)+c|0;e=C[b+4>>2];C[a+68>>2]=C[b>>2];C[a+72>>2]=e;b=(f<<3)+c|0;e=C[b+4>>2];C[a+76>>2]=C[b>>2];C[a+80>>2]=e;b=(g<<3)+c|0;e=C[b+4>>2];C[a+184>>2]=C[b>>2];C[a+188>>2]=e;b=(d<<3)+c|0;c=C[b+4>>2];C[a+192>>2]=C[b>>2];C[a+196>>2]=c;c=0}return c}function Zk(a,b,c,d){var e=0,f=0;if(!(!a|!b)){f=C[b+136>>2];a:{if(!f|!(C[b+244>>2]&c&16384)){break a}if((d|0)==-1){if(C[b+128>>2]>0){while(1){nf(a,C[(C[b+136>>2]+I(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}f=C[b+136>>2]}nf(a,f);C[b+128>>2]=0;C[b+132>>2]=0;C[b+136>>2]=0;break a}e=f;f=I(d,28);nf(a,C[(e+f|0)+4>>2]);C[(f+C[b+136>>2]|0)+4>>2]=0}e=C[b+244>>2];if(e&c&8192){C[b+8>>2]=C[b+8>>2]&-17;nf(a,C[b+156>>2]);B[b+22>>1]=0;C[b+156>>2]=0;e=C[b+244>>2]}if(c&e&256){nf(a,C[b+268>>2]);nf(a,C[b+272>>2]);C[b+268>>2]=0;C[b+272>>2]=0;C[b+8>>2]=C[b+8>>2]&-16385;e=C[b+244>>2]}if(c&e&128){nf(a,C[b+220>>2]);nf(a,C[b+232>>2]);e=0;C[b+232>>2]=0;C[b+220>>2]=0;f=C[b+236>>2];if(f){if(D[b+241|0]){while(1){nf(a,C[C[b+236>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}nf(a,f);C[b+236>>2]=0}C[b+8>>2]=C[b+8>>2]&-1025;e=C[b+244>>2]}if(e&c&16){nf(a,C[b+116>>2]);nf(a,C[b+120>>2]);C[b+116>>2]=0;C[b+120>>2]=0;C[b+8>>2]=C[b+8>>2]&-4097}f=C[b+256>>2];b:{if(!f|!(C[b+244>>2]&c&32)){break b}if((d|0)==-1){e=0;if(C[b+260>>2]>0){while(1){f=e<<4;nf(a,C[f+C[b+256>>2]>>2]);nf(a,C[(f+C[b+256>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}f=C[b+256>>2]}nf(a,f);C[b+256>>2]=0;C[b+260>>2]=0;C[b+8>>2]=C[b+8>>2]&-8193;break b}e=f;f=d<<4;nf(a,C[e+f>>2]);nf(a,C[(f+C[b+256>>2]|0)+8>>2]);f=f+C[b+256>>2]|0;C[f+8>>2]=0;C[f>>2]=0}f=C[b+248>>2];c:{if(!f|!(C[b+244>>2]&c&512)){break c}if((d|0)==-1){e=0;if(C[b+252>>2]>0){while(1){nf(a,C[(C[b+248>>2]+I(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}f=C[b+248>>2]}nf(a,f);C[b+248>>2]=0;C[b+252>>2]=0;break c}e=f;f=I(d,20);nf(a,C[(e+f|0)+8>>2]);C[(f+C[b+248>>2]|0)+8>>2]=0}e=C[b+244>>2];if(e&c&32768){f=C[b+212>>2];if(f){nf(a,f);C[b+212>>2]=0}f=C[b+208>>2];if(f){nf(a,f);C[b+208>>2]=0}C[b+8>>2]=C[b+8>>2]&-65537;e=C[b+244>>2]}if(c&e&8){nf(a,C[b+216>>2]);C[b+216>>2]=0;C[b+8>>2]=C[b+8>>2]&-65;e=C[b+244>>2]}if(c&e&4096){nf(a,C[b+16>>2]);C[b+16>>2]=0;B[b+20>>1]=0;C[b+8>>2]=C[b+8>>2]&-9;e=C[b+244>>2]}if(c&e&64){f=C[b+276>>2];if(f){if(C[b+4>>2]){e=0;while(1){nf(a,C[C[b+276>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}f=C[b+276>>2]}nf(a,f);C[b+276>>2]=0;e=C[b+244>>2]}C[b+8>>2]=C[b+8>>2]&-32769}C[b+244>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function Dn(a,b){var c=0,d=0,e=0;d=Ce-16|0;Ce=d;a:{if(D[a+124|0]&8?!a|!C[a+80>>2]:1){_e(4);break a}if(b){if(C[b>>2]!=422390){C[d>>2]=16603;Qe(19745,d);break a}if(C[b+36>>2]!=(a|0)){Qe(9641,0);break a}if(C[b+8>>2]!=2){Qe(23689,0);break a}c=C[b+40>>2];c=c?c:b}if(C[a+412>>2]==(c|0)){break a}b=C[a+436>>2];if(b){Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}if(!(C[a+412>>2]|!c)){b=C[a+236>>2];C[a+264>>2]=C[a+232>>2];C[a+268>>2]=b;b=C[a+300>>2];C[a+328>>2]=C[a+296>>2];C[a+332>>2]=b;b=C[a+260>>2];C[a+288>>2]=C[a+256>>2];C[a+292>>2]=b;b=C[a+252>>2];C[a+280>>2]=C[a+248>>2];C[a+284>>2]=b;b=C[a+244>>2];C[a+272>>2]=C[a+240>>2];C[a+276>>2]=b;b=C[a+308>>2];C[a+336>>2]=C[a+304>>2];C[a+340>>2]=b;b=C[a+316>>2];C[a+344>>2]=C[a+312>>2];C[a+348>>2]=b;b=C[a+324>>2];C[a+352>>2]=C[a+320>>2];C[a+356>>2]=b;C[a+364>>2]=C[a+360>>2];b=C[a+372>>2];C[a+376>>2]=C[a+368>>2];C[a+380>>2]=b;b=C[a+216>>2];C[a+220>>2]=C[a+212>>2];C[a+224>>2]=b}C[a+412>>2]=c;if((Fe[C[a+80>>2]](a,c)|0)<0){break a}b:{if(c){C[a+232>>2]=0;C[a+236>>2]=0;C[a+240>>2]=0;C[a+244>>2]=0;H[a+248>>3]=C[c+12>>2];H[a+256>>3]=C[c+16>>2];lf(a+296|0,0,32);C[a+368>>2]=1065353216;C[a+372>>2]=1065353216;b=c+16|0;c=c+12|0;break b}b=C[a+268>>2];C[a+232>>2]=C[a+264>>2];C[a+236>>2]=b;b=C[a+292>>2];C[a+256>>2]=C[a+288>>2];C[a+260>>2]=b;b=C[a+284>>2];C[a+248>>2]=C[a+280>>2];C[a+252>>2]=b;b=C[a+276>>2];C[a+240>>2]=C[a+272>>2];C[a+244>>2]=b;b=C[a+332>>2];C[a+296>>2]=C[a+328>>2];C[a+300>>2]=b;b=C[a+340>>2];C[a+304>>2]=C[a+336>>2];C[a+308>>2]=b;b=C[a+348>>2];C[a+312>>2]=C[a+344>>2];C[a+316>>2]=b;b=C[a+356>>2];C[a+320>>2]=C[a+352>>2];C[a+324>>2]=b;b=C[a+380>>2];C[a+368>>2]=C[a+376>>2];C[a+372>>2]=b;b=a+224|0;e=C[a+364>>2];c=a+220|0}c=C[c>>2];C[a+216>>2]=C[b>>2];C[a+212>>2]=c;C[a+360>>2]=e;if((zk(a)|0)<0){break a}if((es(a)|0)<0|C[a+432>>2]){break a}b=C[a+436>>2];if(!b){break a}Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Ce=d+16|0}function Jg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ce-16|0;Ce=h;a:{if(!a|!b|C[b+16>>2]>131078){break a}c=C[a+16>>2];b:{if(!c){f=C[a>>2];C[h+12>>2]=0;break b}f=C[b+8>>2];c:{while(1){d=C[((e<<2)+a|0)+20>>2];g=C[d>>2];if(Se(C[g+8>>2],f)){e=e+1|0;if((e|0)!=(c|0)){continue}break c}break}if(C[b+12>>2]<=C[g+12>>2]){break a}if(a){d:{if(!d){break d}e=C[a+16>>2];if((e|0)<=0){break d}c=a+20|0;f=c+(e<<2)|0;while(1){if((d|0)==C[c>>2]){C[a+16>>2]=e-1;e=f-4|0;if(e>>>0>c>>>0){while(1){C[c>>2]=C[c+4>>2];c=c+4|0;if(e>>>0>c>>>0){continue}break}}C[e>>2]=0;g=C[d>>2];k=C[d+8>>2];e=C[d+4>>2];e:{if(!e){break e}if((d|0)==C[e+160>>2]){C[e+160>>2]=0}if(!(D[g|0]&2)){break e}f=C[e>>2];i=e+148|0;c=Qi(i,d);if(!c){break e}l=C[d+12>>2];f:{if(C[l+36>>2]!=1869968492){break f}j=C[d+52>>2];if(!j){break f}Fe[C[C[l+56>>2]+20>>2]](j)}nj(i,c);if(c){Fe[C[f+8>>2]](f,c)}c=C[i>>2];g:{if(c){while(1){f=C[c+8>>2];if(C[f+16>>2]==1869968492){break g}c=C[c+4>>2];if(c){continue}break}}f=0}C[e+156>>2]=f}if(A[C[d>>2]]&1){Yo(d+16|0,903,C[d+8>>2],d)}c=C[g+28>>2];if(c){Fe[c|0](d)}if(d){Fe[C[k+8>>2]](k,d)}break d}c=c+4|0;if(f>>>0>c>>>0){continue}break}}}c=C[a+16>>2]}f=C[a>>2];C[h+12>>2]=0;if(c>>>0>31){break a}}d=hf(f,C[b+4>>2],h+12|0);if(C[h+12>>2]){break a}C[d+8>>2]=f;C[d+4>>2]=a;C[d>>2]=b;h:{c=b;e=C[c>>2];if(e&2){g=Ce-16|0;Ce=g;i=C[d+4>>2];l=C[i>>2];k=hf(l,12,g+12|0);e=C[g+12>>2];i:{if(e){break i}c=C[d>>2];C[d+12>>2]=c;e=C[c+36>>2];C[d+16>>2]=e;j:{k:{if((e|0)!=1869968492){break k}e=C[C[c+56>>2]+4>>2];if(!e){break k}e=Fe[e|0](l,d+52|0)|0;C[g+12>>2]=e;if(e){break j}C[d+56>>2]=C[C[c+56>>2]+16>>2];C[d+60>>2]=C[c+40>>2]}C[k+8>>2]=d;Zo(i+148|0,k);e=0;c=0;j=C[i+148>>2];l:{if(!j){break l}while(1){c=C[j+8>>2];if(C[c+16>>2]==1869968492){break l}j=C[j+4>>2];if(j){continue}break}c=0}C[i+156>>2]=c;if(!C[g+12>>2]){break i}}if(k){Fe[C[l+8>>2]](l,k)}e=C[g+12>>2]}Ce=g+16|0;C[h+12>>2]=e;if(e){break h}c=C[d>>2];e=C[c>>2]}if(e&4){C[a+160>>2]=d}if(e&1){C[d+12>>2]=c}b=C[b+24>>2];if(b){b=Fe[b|0](d)|0;C[h+12>>2]=b;if(b){break h}}b=C[a+16>>2];C[a+16>>2]=b+1;C[((b<<2)+a|0)+20>>2]=d;break a}m:{if(!(D[C[d>>2]]&2)){break m}a=C[d+12>>2];if(!a|C[a+36>>2]!=1869968492){break m}b=C[d+52>>2];if(!b){break m}Fe[C[C[a+56>>2]+20>>2]](b)}if(d){Fe[C[f+8>>2]](f,d)}}Ce=h+16|0}function Iu(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,k=0,l=0,m=0,n=0,o=0;e=Ce-32|0;Ce=e;C[e>>2]=0;A[a+672|0]=0;m=C[a+100>>2];f=C[a+676>>2];a:{if(!f){f=Do(a,0);C[e>>2]=f;if(f){break a}f=C[a+676>>2]}b:{l=C[f+8>>2];g=C[l>>2];b=b>>>0>g>>>0?g:b;if(!b){break b}while(1){if(C[(d<<2)+c>>2]-65537>>>0>4294836222){d=d+1|0;if((b|0)!=(d|0)){continue}break b}break}C[e>>2]=6;break a}c:{if(!C[f+36>>2]){g=C[a+104>>2];h=C[g+28>>2];d=Fe[C[a+508>>2]](a,1735811442,g,e+24|0)|0;C[e+28>>2]=d;if(d){break c}i=C[g+8>>2];d=Ef(g,353920,e+4|0);C[e+28>>2]=d;if(d){break c}C[f+24>>2]=E[e+10>>1];j=E[e+16>>1];C[f+32>>2]=j;d=8;if(C[e+4>>2]!=65536|E[e+8>>1]!=E[C[f+8>>2]>>1]){break c}k=C[e+20>>2];n=f,o=Ve(h,4,0,j+1|0,0,e+28|0),C[n+36>>2]=o;d=C[e+28>>2];if(d){break c}j=i+k|0;d=C[f+32>>2];d:{if(A[e+18|0]&1){d=Bf(g,(d<<2)+4|0);C[e+28>>2]=d;if(d){break c}d=0;while(1){k=vg(g);C[C[f+36>>2]+(d<<2)>>2]=j+k;d=d+1|0;if(d>>>0<=F[f+32>>2]){continue}break}break d}d=Bf(g,(d<<1)+2|0);C[e+28>>2]=d;if(d){break c}d=0;while(1){k=Ff(g);C[C[f+36>>2]+(d<<2)>>2]=j+(k<<1);d=d+1|0;if(d>>>0<=F[f+32>>2]){continue}break}}xf(g);d=C[f+24>>2];if(d){n=f,o=Ve(h,4,0,I(d,E[e+8>>1]),0,e+28|0),C[n+28>>2]=o;d=C[e+28>>2];if(d){break c}d=bf(g,i+C[e+12>>2]|0);C[e+28>>2]=d;if(d){break c}d=Bf(g,I(C[f+24>>2],E[e+8>>1])<<1);C[e+28>>2]=d;if(d){break c}i=C[f+24>>2];if(i){j=0;h=E[e+8>>1];while(1){d=0;e:{if(!(h&65535)){h=0;break e}while(1){i=Ff(g);h=E[e+8>>1];C[C[f+28>>2]+(I(j,h)+d<<2)>>2]=i<<16>>16<<2;d=d+1|0;if(h>>>0>d>>>0){continue}break}i=C[f+24>>2]}j=j+1|0;if(j>>>0>>0){continue}break}}xf(g)}d=C[e+28>>2];C[e>>2]=d;if(d){break a}}f:{g:{h:{g=C[f+4>>2];if(g){i=0;if(b){break h}d=0;break g}g=Ve(m,4,0,C[l>>2],0,e);C[f+4>>2]=g;if(C[e>>2]){break a}h=C[l>>2];i=1;break f}d=0;while(1){h=d<<2;if(C[h+g>>2]!=C[c+h>>2]){i=2;break g}d=d+1|0;if((b|0)!=(d|0)){continue}break}d=b}h=C[l>>2];if(h>>>0<=d>>>0){break f}while(1){if(!C[(d<<2)+g>>2]){d=d+1|0;if((h|0)!=(d|0)){continue}break f}break}i=2}C[f>>2]=h;t(g,c,b<<2);A[a+672|0]=1;b=C[a+648>>2];if(!b){break a}i:{switch(i-1|0){case 1:if(b){Fe[C[m+8>>2]](m,b)}C[a+648>>2]=0;n=e,o=Pu(a,C[a+104>>2]),C[n>>2]=o;break a;case 0:break i;default:break a}}n=e,o=Hu(a,C[a+104>>2]),C[n>>2]=o;break a}C[e>>2]=d}Ce=e+32|0;return C[e>>2]}function gx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=C[c+4>>2];C[a>>2]=C[c>>2];C[a+4>>2]=f;C[a+16>>2]=C[c+16>>2];f=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=f;C[a+24>>2]=0;C[a+20>>2]=0;C[a+36>>2]=0;C[a+40>>2]=0;zy(b,1196643650,d,e,a+28|0);zy(b,1196445523,d,e,a+32|0);c=C[105673];a:{if(c){break a}while(1){d=0;e=0;g=Ce-32|0;Ce=g;i=jo(23154);b:{if(!i|!D[i|0]){break b}h=df(1,40);if(!h){break b}c=C[51425];C[h+32>>2]=C[51424];C[h+36>>2]=c;c=C[51423];C[h+24>>2]=C[51422];C[h+28>>2]=c;c=C[51421];C[h+16>>2]=C[51420];C[h+20>>2]=c;c=C[51419];C[h+8>>2]=C[51418];C[h+12>>2]=c;c=C[51417];C[h>>2]=C[51416];C[h+4>>2]=c;j=h+20|0;while(1){e=ah(i,44);if(!e){e=af(i)+i|0}c:{if(d>>>0>1){break c}c=d;f=h+I(c,20)|0;k=e-i|0;d:{if((af(f)|0)!=(k|0)){break d}c=d;if(cf(f,i,k)){break d}l=C[f+16>>2];C[g+24>>2]=l;m=C[f+12>>2];n=C[f+8>>2];C[g+16>>2]=n;C[g+20>>2]=m;o=C[f+4>>2];c=C[f>>2];C[g+8>>2]=c;C[g+12>>2]=o;C[f+16>>2]=l;C[f+8>>2]=n;C[f+12>>2]=m;C[f>>2]=c;C[f+4>>2]=o;c=d+1|0}e:{if(d){break e}if((af(j)|0)!=(k|0)){break e}if(cf(j,i,k)){break e}C[g+24>>2]=C[j+16>>2];d=C[j+12>>2];C[g+16>>2]=C[j+8>>2];C[g+20>>2]=d;d=C[j+4>>2];C[g+8>>2]=C[j>>2];C[g+12>>2]=d;f=h+I(c,20)|0;Yf(f+20|0,f,I(1-c|0,20));C[f+16>>2]=C[g+24>>2];d=C[g+20>>2];C[f+8>>2]=C[g+16>>2];C[f+12>>2]=d;d=C[g+12>>2];C[f>>2]=C[g+8>>2];C[f+4>>2]=d;d=c+1|0;break c}d=c}i=e+1|0;if(D[e|0]){continue}break}e=h}Ce=g+32|0;d=e?e:205664;c=C[105673];if(!c){C[105673]=d;c=d;break a}if(!d|(d|0)==205664){break a}Re(d);c=C[105673];if(!c){continue}break}}f:{g:{h:{i:{j:{d=C[c+16>>2];if((d|0)==796){if(C[b+40>>2]){break g}while(1){if(!C[b+36>>2]){break j}if(!C[b+40>>2]){break h}if(!C[b+40>>2]){continue}break}break g}if((d|0)!=797){break j}if(C[b+44>>2]){break f}while(1){if(!C[b+36>>2]){break j}if(!C[b+44>>2]){break i}if(!C[b+44>>2]){continue}break}break f}k:{c=C[c+36>>2];if((c|0)!=796){if((c|0)!=797){break k}if(C[b+44>>2]){break f}while(1){if(!C[b+36>>2]){break k}if(!C[b+44>>2]){break i}if(!C[b+44>>2]){continue}break}break f}if(C[b+40>>2]){break g}while(1){if(!C[b+36>>2]){break k}if(!C[b+40>>2]){break h}if(!C[b+40>>2]){continue}break}break g}Re(0);return 0}C[b+44>>2]=1;break f}C[b+40>>2]=1}C[a+40>>2]=3726;C[a+36>>2]=796;return 1}C[a+40>>2]=14385;C[a+36>>2]=797;return 1}function mK(a,b){a=a|0;b=b|0;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,o=0;i=Ce-16|0;Ce=i;f=C[a+488>>2];g=C[b+8>>2];Fe[C[b+28>>2]](b);d=C[b>>2];a:{if(g>>>0<=d>>>0){C[b+12>>2]=3;break a}l=D[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){h=C[b+16>>2];b:{if((l|0)==91){C[b>>2]=d+1;c=256;break b}c=Fe[C[b+36>>2]](b)|0}Fe[C[b+28>>2]](b);if(F[b>>2]>=g>>>0){break a}j=c;C[a+372>>2]=c;C[b+96>>2]=c;n=a,o=Ve(h,2,0,c,0,i+12|0),C[n+384>>2]=o;c:{e=C[i+12>>2];if(e){break c}n=a,o=Ve(h,4,0,j,0,i+12|0),C[n+388>>2]=o;e=C[i+12>>2];if(e){break c}k=b+100|0;e=Fe[C[C[f>>2]>>2]](k,j,h)|0;C[i+12>>2]=e;if(e){break c}d:{if((j|0)<=0){break d}f=0;c=0;if(j>>>0>=4){h=j&-4;e=0;while(1){Fe[C[b+144>>2]](k,c,15690,8)|0;Fe[C[b+144>>2]](k,c|1,15690,8)|0;Fe[C[b+144>>2]](k,c|2,15690,8)|0;Fe[C[b+144>>2]](k,c|3,15690,8)|0;c=c+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}e=j&3;if(!e){break d}while(1){Fe[C[b+144>>2]](k,c,15690,8)|0;c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}Fe[C[b+28>>2]](b);c=C[b>>2];e:{if(g>>>0<=c>>>0){break e}m=(l|0)==91;e=0;while(1){f:{g:{h:{f=D[c|0];switch(f-93|0){case 0:break g;case 7:break h;default:break f}}d=c+3|0;if(D[c+1|0]!=101|g>>>0<=d>>>0|D[c+2|0]!=102){break f}switch(D[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 e;default:break f}}d=c+1|0;break e}i:{j:{if(!(!m&f-48>>>0>9)){if(m){d=c;f=e;break j}f=Fe[C[b+36>>2]](b)|0;Fe[C[b+28>>2]](b);d=C[b>>2];if((d|0)!=(c|0)){break j}C[b+12>>2]=2;break a}Fe[C[b+32>>2]](b);d=c;if(C[b+12>>2]){break a}break i}if(!(D[d|0]!=47|d+2>>>0>=g>>>0|(e|0)>=(j|0))){d=d+1|0;C[b>>2]=d;Fe[C[b+32>>2]](b);c=C[b>>2];if(C[b+12>>2]|c>>>0>=g>>>0){break a}h=c-d|0;c=Fe[C[b+144>>2]](k,f,d,h+1|0)|0;C[b+12>>2]=c;if(c){break a}A[h+C[C[b+124>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break i}if((l|0)!=91){break i}C[b+12>>2]=2;break a}Fe[C[b+28>>2]](b);c=C[b>>2];if(g>>>0>c>>>0){continue}break}}C[a+368>>2]=1;C[b>>2]=d;break a}C[b+12>>2]=e;break a}k:{if(d+17>>>0>=g>>>0){break k}if(cf(d,15405,16)){break k}C[a+368>>2]=2;break a}l:{if(d+15>>>0>=g>>>0){break l}if(cf(d,15390,14)){break l}C[a+368>>2]=4;break a}m:{if(d+18>>>0>=g>>>0){break m}if(cf(d,15422,17)){break m}C[a+368>>2]=3;break a}C[b+12>>2]=162}Ce=i+16|0}function VF(a){a=a|0;var 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;i=C[a+24>>2];c=(i+7|0)/-8|0;j=C[a+28>>2];if(j){r=C[a+16>>2]+(c+i|0)|0;s=C[a+56>>2];g=D[a+63|0];t=C[a+36>>2];u=C[C[C[a+40>>2]+4>>2]+4>>2];h=C[a>>2];c=C[a+20>>2];v=(i|0)<=0;a=C[a+44>>2];p=D[a+9|0];q=p-1|0;while(1){j=j-1|0;k=0;l=0;if(!v){while(1){if(!(l&7)){k=D[h|0];h=h+1|0}b=k>>>7&1;a:{if((b|0)==(s|0)){break a}b=(b<<2)+u|0;m=D[b+2|0];n=D[b+1|0];o=D[b|0];b=0;d=0;e=0;f=0;b:{c:{switch(q|0){case 0:b=D[c|0];f=D[C[(D[a+31|0]<<2)+381104>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+381104>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+381104>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+381104>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break b;case 1:b=E[c>>1];f=D[C[(D[a+31|0]<<2)+381104>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+381104>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+381104>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+381104>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break b;case 2:e=D[(D[a+34|0]>>>3|0)+c|0];d=D[(D[a+33|0]>>>3|0)+c|0];b=D[(D[a+32|0]>>>3|0)+c|0];f=255;break b;case 3:break c;default:break b}}b=C[c>>2];f=D[C[(D[a+31|0]<<2)+381104>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+381104>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+381104>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+381104>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0]}f=(f+g|0)-((I(f,g)>>>0)/255|0)&255;m=((I(m-e|0,g)|0)/255|0)+e|0;e=m&255;n=((I(n-d|0,g)|0)/255|0)+d|0;d=n&255;o=((I(o-b|0,g)|0)/255|0)+b|0;b=o&255;d:{switch(q|0){case 0:A[c|0]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>1]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>>3|0)+c|0]=o;A[(D[a+33|0]>>>3|0)+c|0]=n;A[(D[a+34|0]>>>3|0)+c|0]=m;break a;case 3:break d;default:break a}}C[c>>2]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>2];if(g){d=C[g+28>>2]}else{d=0}c=C[a+104>>2];if(c){b=C[c>>2];if(b){Hn(b+16|0);Re(C[b+48>>2]);Re(C[b- -64>>2]);Re(C[b+80>>2]);Re(C[b+96>>2]);Re(C[b+112>>2]);Re(C[b+128>>2]);Re(C[b+144>>2]);Re(C[b+36>>2]);Re(C[b+152>>2]);Re(C[b+160>>2]);We(b,0,180);Re(C[c>>2])}b=C[c+12>>2];if(b){Hn(C[b>>2]);Re(C[C[c+12>>2]>>2]);Re(C[c+12>>2])}b=C[c+16>>2];if(b){Hn(C[b>>2]);Re(C[C[c+16>>2]>>2]);Re(C[c+16>>2])}e=C[c+48>>2];if(e){if(!(!d|C[d+16>>2]<=0)){e=0;while(1){b=e<<2;Fe[C[C[(C[(b+d|0)+800>>2]<<2)+60612>>2]+16>>2]](C[b+C[c+48>>2]>>2]);e=e+1|0;if((e|0)>2]){continue}break}e=C[c+48>>2]}Re(e)}e=C[c+52>>2];if(e){if(!(!d|C[d+20>>2]<=0)){e=0;while(1){b=e<<2;Fe[C[C[(C[(b+d|0)+1312>>2]<<2)+60620>>2]+16>>2]](C[b+C[c+52>>2]>>2]);e=e+1|0;if((e|0)>2]){continue}break}e=C[c+52>>2]}Re(e)}e=C[c+56>>2];if(e){if(!(!d|C[d+28>>2]<=0)){e=0;while(1){h=0;b=C[c+56>>2]+I(e,52)|0;if(b){f=C[b+16>>2];if(f){Re(f)}f=C[b+20>>2];if(f){Re(f)}f=C[b+24>>2];if(f){Re(f)}if(C[b+8>>2]){while(1){f=h<<2;Re(C[C[f+C[b+8>>2]>>2]>>2]);Re(C[C[f+C[b+8>>2]>>2]+4>>2]);Re(C[C[f+C[b+8>>2]>>2]+8>>2]);Re(C[C[f+C[b+8>>2]>>2]+12>>2]);Re(C[C[f+C[b+8>>2]>>2]+16>>2]);Re(C[C[f+C[b+8>>2]>>2]+20>>2]);Re(C[C[f+C[b+8>>2]>>2]+24>>2]);Re(C[C[f+C[b+8>>2]>>2]+28>>2]);Re(C[f+C[b+8>>2]>>2]);h=h+1|0;if((h|0)!=17){continue}break}Re(C[b+8>>2])}f=C[b+12>>2];if(f){Re(C[f>>2]);Re(C[C[b+12>>2]+4>>2]);Re(C[C[b+12>>2]+8>>2]);Re(C[b+12>>2])}C[b>>2]=0;C[b+4>>2]=0;C[b+48>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;C[b+32>>2]=0;C[b+36>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}e=e+1|0;if((e|0)>2]){continue}break}e=C[c+56>>2]}Re(e)}d=C[c+60>>2];if(d){fj(d)}C[c+80>>2]=0;C[c+84>>2]=0;C[c+120>>2]=0;C[c+124>>2]=0;C[c+112>>2]=0;C[c+116>>2]=0;C[c+104>>2]=0;C[c+108>>2]=0;C[c+96>>2]=0;C[c+100>>2]=0;C[c+88>>2]=0;C[c+92>>2]=0;qs(c+20|0);qs(c+32|0)}d=C[a+8>>2];a:{if(!d){break a}b:{if(!g){break b}e=C[g+4>>2];if((e|0)<=0){break b}d=0;while(1){b=C[C[a+8>>2]+(d<<2)>>2];if(b){Re(b);e=C[g+4>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}d=C[a+8>>2]}Re(d);d=C[a+12>>2];if(!d){break a}Re(d)}if(c){d=C[c+64>>2];if(d){Re(d)}d=C[c+68>>2];if(d){Re(d)}d=C[c+72>>2];if(d){Re(d)}Re(c)}We(a,0,112)}}function el(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(b>>>0>64){return 0}o=C[a+100>>2];k=C[o+76>>2];C[a+40>>2]=b-1;C[a+4>>2]=k;j=C[C[a+8>>2]+100>>2];C[a+44>>2]=C[j+80>>2];n=(k|0)==C[j+76>>2]?D[(C[j+92>>2]+I(k,20)|0)+15|0]:n;C[a+36>>2]=c;C[a+32>>2]=e;C[a+28>>2]=d;A[a+24|0]=n;c=C[o+92>>2]+I(k,20)|0;j=D[c+14|0];e=j&16;a:{b:{c:{if(D[c+12|0]&4){if(!e){d=(j&224)>>>5|0;break c}d=(j&224)>>>5|0;e=j&15;break a}d=(j&224)>>>5|0;if(!e){break c}p=0;break b}p=j&15}e=1}l=a+4|0;C[g>>2]=k;d:{e:{if(b>>>0<2){break e}k=1;f:{if(!(!p|j>>>0<32)){j=1;while(1){if(!Sg(l)){break d}C[(j<<2)+g>>2]=C[l>>2];n=C[o+92>>2];c=C[l>>2];a=D[(n+I(c,20)|0)+14|0];if((a>>>5|0)==(d|0)){a=((a&16?0:a&15)|0)==(p|0)}else{a=0}g:{if(a){break g}h:{switch(m|0){case 0:break h;case 1:break d;default:break g}}i=C[o+84>>2];a=C[o+96>>2];while(1){if(!i){break f}i=i-1|0;m=a+I(i,20)|0;c=D[m+14|0];if((c>>>5|0)!=(d|0)){break f}if(!(c&15?c&16:1)){continue}break}n=1;i=E[m+12>>1];c=C[l+8>>2];i:{if(i&c&14){break i}j:{if(!(i&8)){break j}if(c&16){i=C[C[l+4>>2]+108>>2];a=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65538){break i}a=D[i+12|0]|D[i+13|0]<<8;if(a){a=i+((a<<8|a>>>8)&65535)|0}else{a=205712}if((D[a|0]|D[a+1|0]<<8)!=256){break i}i=a;c=c>>>16|0;q=(a+(c<<2)|0)+4|0;a=D[a+2|0]|D[a+3|0]<<8;a=c>>>0>=((a<<8|a>>>8)&65535)>>>0?205712:q;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((zf(a?i+a|0:205712,C[m>>2])|0)==-1){break i}i=E[m+12>>1];break j}a=c&65280;if(!a){break j}if((a|0)!=(i&65280)){break i}}n=0;a=E[m+16>>1];if(i&16|(a&96)!=32|!D[l+12|0]&(a&543)==513){break i}n=(a&287)!=257?2:D[l+13|0]<<1}if((n|0)!=1){break f}c=C[l>>2];n=C[o+92>>2];m=2}i=1;a=I(c,20)+n|0;k:{if(!(D[a+12|0]&4)){break k}a=D[a+14|0];if(!(a&16)){break k}i=a&15}e=e+i|0;j=j+1|0;k=j>>>0>>0;if((b|0)!=(j|0)){continue}break}break e}while(1){if(!Sg(l)){break d}C[(k<<2)+g>>2]=C[l>>2];a=C[o+92>>2]+I(C[l>>2],20)|0;m=D[a+14|0];p=m&15;c=m&16;if(!(c|((m>>>5|0)==(d|0)|m>>>0<32))){if(p){break d}}e=(D[a+12|0]&4?c?p:1:1)+e|0;k=k+1|0;if((k|0)!=(b|0)){continue}break}break e}if(k&1){break d}}r=1;C[f>>2]=(C[l>>2]-C[o+76>>2]|0)+1;if(!h){break d}C[h>>2]=e}return r}function Zm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{if((a|0)!=24){if((a|0)==293){break e}if((a|0)!=263){break c}f:{g:{h:{f=C[c+4>>2];if((f|0)>=0){d=C[c+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break g}while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}if(f>>>0<=268435454){d=mf(C[c+12>>2],f<<4);if(d){break h}}C[c+4>>2]=-1}d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;h=422704;break f}C[c+4>>2]=f;C[c+12>>2]=d;d=C[c+8>>2]}if(d>>>0>>0){We(C[c+12>>2]+(d<<4)|0,0,e-d<<4)}C[c+8>>2]=e;h=(C[c+12>>2]+(e<<4)|0)-16|0}d=h;C[d>>2]=263;i=C[b+12>>2];e=C[b+4>>2];j=C[b>>2];f=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=f+j;d=e-f|0;d=d>>>0<=e>>>0?d:0;f=i-f|0;C[h+8>>2]=d>>>0>>0?d:f;C[c>>2]=C[b+12>>2];f=b+24|0;break d}f=b+24|0;d=C[f>>2];i:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n();break i}g=H[C[b+36>>2]+(d<<3)>>3];break i}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n()}j:{if(K(g)<2147483648){d=~~g;break j}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+24>>2]=d;break d}f=b+24|0;d=C[f>>2];k:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n();break k}g=H[C[b+36>>2]+(d<<3)>>3];break k}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n()}l:{if(K(g)<2147483648){d=~~g;break l}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+28>>2]=d}C[f>>2]=0;break b}fz(a,b,c);if(C[b+24>>2]){break a}}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}m:{n:{o:{f=C[c+4>>2];if((f|0)>=0){d=C[c+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break n}while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}if(f>>>0<=268435454){d=mf(C[c+12>>2],f<<4);if(d){break o}}C[c+4>>2]=-1}d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;h=422704;break m}C[c+4>>2]=f;C[c+12>>2]=d;d=C[c+8>>2]}if(d>>>0>>0){We(C[c+12>>2]+(d<<4)|0,0,e-d<<4)}C[c+8>>2]=e;h=(C[c+12>>2]+(e<<4)|0)-16|0}d=h;C[d>>2]=a;e=C[b+12>>2];f=C[b+4>>2];i=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+i;d=f-a|0;d=d>>>0<=f>>>0?d:0;a=e-a|0;C[h+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}}function wL(a){a=a|0;var 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=Ce-16|0;Ce=m;g=C[a+12>>2];j=C[a+204>>2];b=C[a+200>>2];l=B[a+32>>1];a:{if(l){if(F[g+8>>2]>1]+(B[g+20>>1]+l|0)>>>0){e=Qg(g,0,l);if(e){break a}}e=20;if((l|0)>4094){break a}}e=20;d=l<<1;if((d+b|0)+2>>>0>j>>>0){break a}c=C[g+68>>2];h=D[b|0]<<8;f=h|D[b+1|0];if((l|0)>0){B[c>>1]=f}if(h<<16>>16<0){break a}h=c+d|0;while(1){d=c+2|0;if(d>>>0>>0){c=D[b+2|0]|D[b+3|0]<<8;i=c<<8|c>>>8;B[d>>1]=i;k=f<<16>>16;c=d;d=i<<16>>16;f=d;b=b+2|0;if((d|0)>(k|0)){continue}break a}break}d=C[g+4>>2];f=B[g+58>>1];if((l|0)<=0){h=0}else{c=B[c>>1];if((c|0)<-1){break a}h=c+1|0}c=h+4|0;if(d>>>0>1]|0)>>>0){e=Qg(g,c,0);if(e){break a}}c=C[a+8>>2];C[c+136>>2]=0;C[c+140>>2]=0;c=b+4|0;if(c>>>0>j>>>0){e=20;break a}e=22;b=D[b+3|0]|D[b+2|0]<<8;if((b|0)>(j-c|0)){break a}if(!(D[a+16|0]&2)){d=C[a+160>>2];C[m+12>>2]=C[d+388>>2];e=Eu(C[d+8>>2],m+12|0,d+392|0,b);d=C[a+160>>2];C[d+388>>2]=E[m+12>>1];if(e){break a}e=C[a+8>>2];C[e+140>>2]=b;d=C[d+392>>2];C[e+136>>2]=d;t(d,c,b)}b=b+c|0;b:{c:{if((h|0)>0){d=C[g- -64>>2];e=h+d|0;while(1){f=b+1|0;if(f>>>0>j>>>0){e=20;break a}i=D[b|0];A[d|0]=i;c=d+1|0;d:{if(!(i&8)){b=f;break d}b=b+2|0;if(j>>>0>>0){e=20;break a}f=D[f|0];if(e>>>0>>0){e=20;break a}if(!f){break d}p(c,i,f);c=((f-1&255)+d|0)+2|0}d=c;if(e>>>0>c>>>0){continue}break}if(b>>>0<=j>>>0){break c}e=20;break a}e=20;if(b>>>0<=j>>>0){break b}break a}if((h|0)<=0){break b}f=C[g+60>>2];n=f+(h<<3)|0;d=C[g+64>>2];i=0;while(1){k=D[d|0];e:{if(k&2){c=b+1|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0];e=k&16?b:0-b|0;b=c;break e}e=0;if(k&16){break e}c=b+2|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0]|D[b+1|0]<<8;e=(b<<8|b>>>8)<<16>>16;b=c}i=e+i|0;C[f>>2]=i;A[d|0]=k&237;d=d+1|0;f=f+8|0;if(n>>>0>f>>>0){continue}break}if((h|0)<=0){break b}f=C[g+60>>2];n=f+(h<<3)|0;d=C[g+64>>2];i=0;while(1){k=D[d|0];f:{if(k&4){c=b+1|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0];e=k&32?b:0-b|0;b=c;break f}e=0;if(k&32){break f}c=b+2|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0]|D[b+1|0]<<8;e=(b<<8|b>>>8)<<16>>16;b=c}i=e+i|0;C[f+4>>2]=i;A[d|0]=k&1;d=d+1|0;f=f+8|0;if(n>>>0>f>>>0){continue}break}}B[g+56>>1]=l;B[g+58>>1]=h;C[a+200>>2]=b;e=0}Ce=m+16|0;return e|0}function oF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=C[a+16>>2]/4|0;i=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];d=C[a+24>>2];a:{e=C[a+48>>2];if(e){if(!f){break a}j=d&7;h=(d+7|0)/8|0;g=g<<2;b:while(1){f=f-1|0;d=h;c:{d:{switch(j-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=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=D[e+(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=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];a=d-1|0;c=c+4|0;b=b+1|0;f:{if((d|0)>1){d=a;break f}b=b+i|0;c=c+g|0;if(f){continue b}break a}a=0;continue}}}if(!f){break a}e=d&7;h=(d+7|0)/8|0;g=g<<2;g:while(1){f=f-1|0;d=h;h:{i:{switch(e-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=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=7;continue;default:break j}}a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;a=d-1|0;b=b+1|0;k:{if((d|0)>1){d=a;break k}b=b+i|0;c=c+g|0;if(f){continue g}break a}a=0;continue}}}}function nF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=C[a+16>>2]/4|0;i=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];d=C[a+24>>2];a:{e=C[a+48>>2];if(e){if(!f){break a}j=d&7;h=(d+7|0)/8|0;g=g<<2;b:while(1){f=f-1|0;d=h;c:{d:{switch(j-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=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=D[e+(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=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];a=d-1|0;c=c+4|0;b=b+1|0;f:{if((d|0)>1){d=a;break f}b=b+i|0;c=c+g|0;if(f){continue b}break a}a=0;continue}}}if(!f){break a}e=d&7;h=(d+7|0)/8|0;g=g<<2;g:while(1){f=f-1|0;d=h;h:{i:{switch(e-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=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=7;continue;default:break j}}a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;a=d-1|0;b=b+1|0;k:{if((d|0)>1){d=a;break k}b=b+i|0;c=c+g|0;if(f){continue g}break a}a=0;continue}}}}function Tu(a){var 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;c=Ce-16|0;Ce=c;e=C[a+104>>2];b=Fe[C[a+508>>2]](a,1886352244,e,c+4|0)|0;a:{if(b){break a}i=C[e+8>>2];l=C[c+4>>2];d=C[a+468>>2];b=lg(e,32);if(b){break a}b:{c:{d:{e:{f:{if((d|0)!=163840){b=3;if((d|0)!=131072){break b}g=C[e+28>>2];h=_f(e,c+8|0);b=C[c+8>>2];if(b){break b}b=3;if(h>>>0>E[a+264>>1]){break b}d=0;k=Ve(g,2,0,h,0,c+8|0);if(C[c+8>>2]){break c}b=Bf(e,h<<1);C[c+8>>2]=b;if(b){break c}if(!h){break f}b=0;while(1){r=k+(b<<1)|0,s=Ff(e),B[r>>1]=s;b=b+1|0;if((h|0)!=(b|0)){continue}break}xf(e);m=h&1;g:{if((h|0)==1){b=0;break g}n=h&65534;b=0;while(1){j=d<<1;o=E[k+(j|2)>>1];p=o-257|0;j=E[k+j>>1];q=j-257|0;b=j>>>0>257?(b&65535)<(q|0)?q:b:b;b=o>>>0>257?(b&65535)<(p|0)?p:b:b;d=d+2|0;f=f+2|0;if((n|0)!=(f|0)){continue}break}}if(!m){break d}d=E[k+(d<<1)>>1];f=d-257|0;b=d>>>0>257?(f|0)>(b&65535)?f:b:b;break d}h=C[e+28>>2];d=_f(e,c+12|0);b=C[c+12>>2];if(b){break b}b=3;if(d>>>0>258|d>>>0>E[a+264>>1]){break b}g=Ve(h,1,0,d,0,c+12|0);h:{if(C[c+12>>2]){break h}b=jg(e,g,d);C[c+12>>2]=b;if(b){break h}if(!d){break e}b=0;while(1){e=A[b+g|0]+b|0;if(!((e|0)<0|(d|0)<(e|0))){b=b+1|0;if((d|0)!=(b|0)){continue}break e}break}C[c+12>>2]=3}if(g){Fe[C[h+8>>2]](h,g)}b=C[c+12>>2];break b}xf(e);b=0;break d}C[a+620>>2]=g;B[a+616>>1]=d;b=0;break b}f=0;m=b&65535;d=Ve(g,4,0,m,0,c+8|0);if(C[c+8>>2]){break c}i:{j:{if(!m){break j}l=i+l|0;while(1){if(l>>>0<=F[e+8>>2]){if((b&65535)>>>0<=(f&65535)>>>0){break j}while(1){e=Ve(g,1,0,1,0,c+8|0);C[(f<<2)+d>>2]=e;if(C[c+8>>2]){break i}A[e|0]=0;f=f+1|0;if((m|0)!=(f|0)){continue}break}break j}i=rh(e,c+8|0);if(C[c+8>>2]){break i}i=i&255;if(!(l>>>0>=i>>>0&F[e+8>>2]<=l-i>>>0)){i=l-C[e+8>>2]|0;i=(i|0)>0?i:0}n=(f<<2)+d|0;j=Ve(g,1,0,i+1|0,0,c+8|0);C[n>>2]=j;if(C[c+8>>2]){break i}j=jg(e,j,i);C[c+8>>2]=j;if(j){break i}A[C[n>>2]+i|0]=0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}C[a+624>>2]=d;C[a+620>>2]=k;B[a+618>>1]=b;B[a+616>>1]=h;b=0;break b}b=b&65535;e=b>>>0<=1?1:b;b=0;while(1){h=(b<<2)+d|0;f=C[h>>2];if(f){Fe[C[g+8>>2]](g,f)}C[h>>2]=0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(d){Fe[C[g+8>>2]](g,d)}if(k){Fe[C[g+8>>2]](g,k)}b=C[c+8>>2]}A[a+612|0]=1}Ce=c+16|0;return b}function WF(a){a=a|0;var 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;i=C[a+24>>2];c=(i+7|0)/-8|0;j=C[a+28>>2];if(j){r=C[a+16>>2]+(c+i|0)|0;g=D[a+63|0];s=C[a+36>>2];t=C[C[C[a+40>>2]+4>>2]+4>>2];h=C[a>>2];c=C[a+20>>2];u=(i|0)<=0;a=C[a+44>>2];p=D[a+9|0];q=p-1|0;while(1){j=j-1|0;k=0;l=0;if(!u){while(1){if(!(l&7)){k=D[h|0];h=h+1|0}b=((k&128)>>>5|0)+t|0;m=D[b+2|0];n=D[b+1|0];o=D[b|0];b=0;d=0;e=0;f=0;a:{b:{switch(q|0){case 0:b=D[c|0];f=D[C[(D[a+31|0]<<2)+381104>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+381104>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+381104>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+381104>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break a;case 1:b=E[c>>1];f=D[C[(D[a+31|0]<<2)+381104>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+381104>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+381104>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+381104>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break a;case 2:e=D[(D[a+34|0]>>>3|0)+c|0];d=D[(D[a+33|0]>>>3|0)+c|0];b=D[(D[a+32|0]>>>3|0)+c|0];f=255;break a;case 3:break b;default:break a}}b=C[c>>2];f=D[C[(D[a+31|0]<<2)+381104>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+381104>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+381104>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+381104>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0]}f=(f+g|0)-((I(f,g)>>>0)/255|0)&255;m=((I(m-e|0,g)|0)/255|0)+e|0;e=m&255;n=((I(n-d|0,g)|0)/255|0)+d|0;d=n&255;o=((I(o-b|0,g)|0)/255|0)+b|0;b=o&255;c:{d:{switch(q|0){case 0:A[c|0]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>1]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>>3|0)+c|0]=o;A[(D[a+33|0]>>>3|0)+c|0]=n;A[(D[a+34|0]>>>3|0)+c|0]=m;break c;case 3:break d;default:break c}}C[c>>2]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>2]){break a}d=6;b:{if(C[a+12>>2]!=1){break b}m=(b|0)!=0;b=(I(m,36)+a|0)+16|0;d=C[c>>2];f=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;d=C[c+4>>2];j=C[a>>2];d=Mk(b,f,((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16,j,e);if(d){break b}d=C[c+8>>2];f=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;d=C[c+12>>2];d=Mk(b,f,((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16,j,e+4|0);if(d){break b}d=b;b=C[c+16>>2];f=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;b=C[c+20>>2];d=Mk(d,f,((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16,j,e+8|0);if(d){break b}g=C[e+8>>2];h=C[e+4>>2];i=C[e>>2];k=I(m,36)+a|0;f=C[k+40>>2];c:{if(f){l=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=C[k+48>>2];d=f;while(1){b=C[c>>2];if((D[C[c+8>>2]+o|0]&r?i>>>0>>0:0)|(D[C[c+8>>2]+n|0]&q?b>>>0>h>>>0:0)|(D[l+C[c+8>>2]|0]&p?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}l=f+1|0;b=C[k+44>>2];d:{if(l>>>0<=b>>>0){c=C[(I(m,36)+a|0)+48>>2];break d}C[e+12>>2]=0;c=b;b=(f&-8)+8|0;d=I(m,36)+a|0;c=Ve(j,16,c,b,C[d+48>>2],e+12|0);C[d+48>>2]=c;d=C[e+12>>2];if(d){break b}C[k+44>>2]=b}b=0;c=((l<<4)+c|0)-16|0;C[c+12>>2]=0;C[c>>2]=0;C[k+40>>2]=l}if((i|0)>=0){if(b>>>0<=i>>>0){b=C[c+4>>2];C[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Ve(j,1,f,b,C[c+8>>2],e+12|0),C[s+8>>2]=t;d=C[e+12>>2];if(d){break b}C[c+4>>2]=b<<3}C[c>>2]=i+1}b=C[c+8>>2]+(i>>>3|0)|0;A[b|0]=D[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(F[c>>2]<=h>>>0){b=C[c+4>>2];C[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Ve(j,1,f,b,C[c+8>>2],e+12|0),C[s+8>>2]=t;d=C[e+12>>2];if(d){break b}C[c+4>>2]=b<<3}C[c>>2]=h+1}b=C[c+8>>2]+(h>>>3|0)|0;A[b|0]=D[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(F[c>>2]<=g>>>0){b=C[c+4>>2];C[e+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Ve(j,1,f,b,C[c+8>>2],e+12|0),C[s+8>>2]=t;d=C[e+12>>2];if(d){break b}C[c+4>>2]=b<<3}C[c>>2]=g+1}a=C[c+8>>2]+(g>>>3|0)|0;A[a|0]=D[a|0]|128>>>(g&7);break a}C[a+4>>2]=d}Ce=e+16|0}function Vm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}i=a-124|0;while(1){c=C[i>>2];if(!c){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=Of(c,1717920116);h=Ce-16|0;Ce=h;b:{if(!d){break b}c=C[d>>2];if(!c){break b}C[d>>2]=c+1}e=d;A[b+24|0]=0;C[b+32>>2]=d;c=C[d+12>>2];C[b+4>>2]=c;f=C[d+16>>2];C[b+8>>2]=f+c;C[b+28>>2]=0;if(f>>>0>67108862){g=1073741823}else{g=f<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[b+12>>2]=g;C[b+20>>2]=0;C[b>>2]=0;c:{d:{if(!c){break d}e:{f:{g:{h:{if((f|0)<12){break h}C[b+12>>2]=g-12;if((D[c|0]|D[c+1|0]<<8)!=256){break h}e=D[c+4|0]|D[c+5|0]<<8;C[h+8>>2]=c;i:{if(Xp(c+12|0,b,(e<<8|e>>>8)&65535,h+8|0)){break i}if(D[b+24|0]|!C[b+28>>2]){break h}c=Pf(d);C[b+4>>2]=c;C[b+8>>2]=c+C[d+16>>2];if(!c){break h}while(1){A[b+24|0]=1;e=C[b+32>>2];c=C[e+12>>2];C[b+4>>2]=c;g=C[e+16>>2];C[b+8>>2]=g+c;f=1073741823;C[b+28>>2]=0;if(g>>>0<=67108862){f=g<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}C[b+12>>2]=f;C[b+20>>2]=0;C[b>>2]=0;if(!c){break d}if((g|0)<=11){break h}C[b+12>>2]=f-12;if((D[c|0]|D[c+1|0]<<8)!=256){break h}e=D[c+4|0]|D[c+5|0]<<8;C[h+8>>2]=c;if(Xp(c+12|0,b,(e<<8|e>>>8)&65535,h+8|0)){break i}if(D[b+24|0]|!C[b+28>>2]){break h}c=Pf(d);C[b+4>>2]=c;C[b+8>>2]=c+C[d+16>>2];if(c){continue}break}break h}if(!C[b+28>>2]){break g}C[b+28>>2]=0;if(F[b+4>>2]>c>>>0){break h}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<=11){break h}e=C[b+12>>2]-12|0;C[b+12>>2]=e;if((D[c|0]|D[c+1|0]<<8)!=256|(e|0)<=0){break h}e=D[c+4|0]|D[c+5|0]<<8;C[h+12>>2]=c;c=Xp(c+12|0,b,(e<<8|e>>>8)&65535,h+12|0);if(C[b+28>>2]){break h}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(c){break f}break e}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break e}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);d=205712;break c}Ue(e);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}Ce=h+16|0;d=d?d:205712;c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<12?205712:C[c+12>>2]}function qv(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=(g?1032:0)+a|0;C[p>>2]=0;q=(g?1548:516)+a|0;C[q>>2]=0;m=g?a+1548|0:a+516|0;n=g?a+1032|0:a;if(b>>>0>=2){while(1){a=c+2|0;k=h&1;o=B[(k?c:a)>>1];j=B[(k?a:c)>>1]-o|0;h=(k?n:m)+4|0;g=k?l:i;a:{b:{if(!g){break b}a=(g<<5)+h|0;c:{while(1){r=C[h>>2];if((r|0)>(o|0)){break c}if((o|0)==(r|0)){a=C[h+4>>2];if((j|0)<0){if((a|0)<=(j|0)){break a}C[h+4>>2]=j;break a}if((a|0)>=(j|0)){break a}C[h+4>>2]=j;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}t(h+32|0,h,g<<5)}C[h+4>>2]=j;C[h>>2]=o;if(k){l=l+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}C[p>>2]=l;C[q>>2]=i;if(d>>>0>=2){a=m+4|0;while(1){j=B[e+2>>1];c=B[e>>1]-j|0;h=a;d:{e:{if(!i){break e}b=a+(i<<5)|0;g=i;f:{while(1){k=C[h>>2];if((k|0)>(j|0)){break f}if((j|0)==(k|0)){b=C[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}C[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}C[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}t(h+32|0,h,g<<5)}C[h+4>>2]=c;C[h>>2]=j;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}C[p>>2]=l;C[q>>2]=i;g:{if(!l){break g}h=n+4|0;a=l;while(1){h:{i:{switch(a|0){case 1:b=C[h+4>>2];g=C[h>>2];break h;case 0:break g;default:break i}}g=C[h>>2];b=C[h+32>>2]-g|0;c=C[h+4>>2];if((b|0)>=(c|0)){b=c;break h}C[h+4>>2]=b}C[h+12>>2]=g;C[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=m+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=C[h+4>>2];g=C[h>>2];break k;case 0:break j;default:break l}}g=C[h>>2];b=g-C[h+32>>2]|0;c=C[h+4>>2];if((b|0)<=(c|0)){b=c;break k}C[h+4>>2]=b}C[h+8>>2]=g;C[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}d=f<<1;if(l){C[n+16>>2]=C[n+16>>2]-f;h=n+4|0;a=C[n+12>>2];b=l-1|0;m:{if(!b){c=h;break m}while(1){c=C[h+44>>2];e=c-a|0;n:{if((e|0)<(d|0)){c=((e|0)/2|0)+a|0;a=c;break n}c=c-f|0;a=a+f|0}C[h+8>>2]=a;C[h+44>>2]=c;a=C[h+40>>2];c=h+32|0;h=c;b=b-1|0;if(b){continue}break}}C[c+8>>2]=a+f}if(i){C[m+16>>2]=C[m+16>>2]-f;h=m+4|0;a=C[m+12>>2];b=i-1|0;o:{if(!b){i=h;break o}while(1){c=C[h+44>>2];e=c-a|0;p:{if((e|0)>=(d|0)){i=c-f|0;a=a+f|0;break p}i=((e|0)/2|0)+a|0;a=i}C[h+8>>2]=a;C[h+44>>2]=i;a=C[h+40>>2];i=h+32|0;h=i;b=b-1|0;if(b){continue}break}}C[i+8>>2]=a+f}}function vk(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=J(0),q=0;k=Ce+-64|0;Ce=k;l=tn(a,b);a:{if(!l){break a}b:{c:{if(!(!C[105578]|(a&b)==-1)){d:{if(e){m=D[422636];if(f){if(m&1){break b}m=C[e+28>>2];p=J(J(m|0)*h);e:{if(J(K(p))0?j:0;m=(j|0)<(m|0)?j:m-1|0;q=C[e+24>>2];p=J(J(q|0)*g);f:{if(J(K(p))0?j:0;Ql(e,-1,0,(j|0)<(q|0)?j:q-1|0,m);Ln(e,-1,1,1);break d}if(!(m&((a|0)==C[105660]&(b|0)==C[105661]))|((c|0)!=C[105662]|(d|0)!=C[105663])){break c}Ln(e,-1,0,1);break c}if(!f){break c}}if(D[422636]){break b}C[105660]=a;C[105661]=b;A[422636]=1;C[105662]=c;C[105663]=d;break b}if((a&b)!=-1){break b}if(!C[105579]){break a}break b}if(!D[422636]|((a|0)!=C[105660]|(b|0)!=C[105661])){break b}if((c|0)!=C[105662]|(d|0)!=C[105663]){break b}A[422636]=0}o=C[l+12>>2];j=0;g:{if((o|0)<=0){break g}q=C[l+20>>2];h:{while(1){m=C[q+(n<<2)>>2];if((c|0)==C[m>>2]&(d|0)==C[m+4>>2]){break h}n=n+1|0;if((o|0)!=(n|0)){continue}break}j=0;break g}j=(n|0)<(o|0)?m:0}if(f){if(j){vk(a,b,c,d,e,0,g,h,i);o=C[l+12>>2]}n=C[l+20>>2];i:{j:{if(C[l+16>>2]==(o|0)){f=Sf(n,(o<<2)+4|0);if(!f){break j}C[l+20>>2]=f;m=Fe[C[94503]](24)|0;if(m){C[94507]=C[94507]+1}j=C[l+16>>2];f=j<<2;C[f+C[l+20>>2]>>2]=m;n=C[l+20>>2];if(!C[f+n>>2]){break j}C[l+16>>2]=j+1;o=C[l+12>>2]}C[l+12>>2]=o+1;f=C[(o<<2)+n>>2];G[f+16>>2]=i;G[f+12>>2]=h;G[f+8>>2]=g;C[f>>2]=c;C[f+4>>2]=d;break i}if((_e(0)|0)<0){break a}}if((qf(1792,-1)|0)!=1){break a}G[k+48>>2]=i;C[k+40>>2]=0;C[k+44>>2]=0;G[k+36>>2]=h;G[k+32>>2]=g;C[k+24>>2]=c;C[k+28>>2]=d;C[k+16>>2]=a;C[k+20>>2]=b;C[k+8>>2]=1792;if(e){a=on(e)}else{a=0}C[k+52>>2]=a;Df(k+8|0);break a}if(!j){break a}if((qf(1793,-1)|0)==1){C[k+24>>2]=c;C[k+28>>2]=d;C[k+16>>2]=a;C[k+20>>2]=b;C[k+8>>2]=1793;G[k+32>>2]=G[j+8>>2];g=G[j+12>>2];G[k+48>>2]=i;C[k+40>>2]=0;C[k+44>>2]=0;G[k+36>>2]=g;if(e){a=on(e)}else{a=0}C[k+52>>2]=a;Df(k+8|0)}j=C[l+12>>2];if((j|0)<=0){break a}f=C[l+20>>2];n=0;while(1){e=f+(n<<2)|0;b=C[e>>2];a=b;if(C[a>>2]!=(c|0)|C[a+4>>2]!=(d|0)){n=n+1|0;if((j|0)!=(n|0)){continue}break a}break}a=j-1|0;C[l+12>>2]=a;a=a<<2;C[e>>2]=C[a+f>>2];C[a+C[l+20>>2]>>2]=b}Ce=k- -64|0}function Ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=C[a+228>>2];g=d>>8;m=c>>8;a:{if(C[a+176>>2]<=(((g|0)<(m|0)?g:m)|0)){break a}i=C[a+172>>2];if((i|0)>(((g|0)>(m|0)?g:m)|0)){break a}o=c&255;f=C[a+220>>2];h=C[a+224>>2];d=h-d|0;if((g|0)==(m|0)){nm(a,g,f,d,b,o);break a}j=c-h|0;if((b|0)==(f|0)){o=(j^-1)>>>23&256;d=o-d|0;h=d+C[a+192>>2]|0;C[a+192>>2]=h;e=b<<1&510;l=C[a+188>>2]+I(e,d)|0;C[a+188>>2]=l;n=j>>31|1;g=n+g|0;k=g-i|0;d=C[a+168>>2];j=b>>8;d=((d|0)<(j|0)?d:j)-C[a+164>>2]|0;d=(d|0)<0?-1:d;if(!((d|0)==C[a+156>>2]&C[a+160>>2]==(k|0))){if(!C[a+196>>2]){_h(a)}C[a+160>>2]=k;C[a+156>>2]=d;l=0;h=0}f=1;i=C[a+184>>2];f=i>>>0>k>>>0?C[a+180>>2]<=(d|0):f;C[a+196>>2]=f;if((g|0)!=(m|0)){p=(o<<1)-256|0;q=I(p,e);while(1){h=h+p|0;C[a+192>>2]=h;l=l+q|0;C[a+188>>2]=l;r=d;d=C[a+168>>2];d=((d|0)<(j|0)?d:j)-C[a+164>>2]|0;d=(d|0)<0?-1:d;s=k;g=g+n|0;k=g-C[a+172>>2]|0;if(!((r|0)==(d|0)&(s|0)==(k|0))){if(!f){_h(a);i=C[a+184>>2]}C[a+160>>2]=k;C[a+156>>2]=d;C[a+188>>2]=0;C[a+192>>2]=0;l=0;h=0}f=1;f=i>>>0>k>>>0?(d|0)>=C[a+180>>2]:f;C[a+196>>2]=f;if((g|0)!=(m|0)){continue}break}}d=o+(c|-256)|0;C[a+192>>2]=d+h;C[a+188>>2]=I(d,e)+l;break a}i=b-f|0;h=d;b:{if((j|0)>=0){k=256;d=256-d|0;l=1;break b}j=0-j|0;l=-1}r=f;s=h;d=I(d,i);f=(d|0)/(j|0)|0;h=d-I(f,j)|0;f=(r+f|0)+(h>>31)|0;nm(a,g,r,s,f,k);e=C[a+168>>2];n=f>>8;e=((e|0)<(n|0)?e:n)-C[a+164>>2]|0;e=(e|0)<0?-1:e;g=g+l|0;d=g-C[a+172>>2]|0;if(!((e|0)==C[a+156>>2]&(d|0)==C[a+160>>2])){if(!C[a+196>>2]){_h(a)}C[a+160>>2]=d;C[a+156>>2]=e;C[a+188>>2]=0;C[a+192>>2]=0}C[a+196>>2]=(e|0)>=C[a+180>>2]|d>>>0>=F[a+184>>2];c:{if((g|0)==(m|0)){i=256-k|0;break c}i=i<<8;d=(i|0)/(j|0)|0;i=i-I(d,j)|0;e=i>>31;n=(e&j)+i|0;p=d+e|0;i=256-k|0;h=h-((h|0)>=0?j:0)|0;while(1){d=f;h=h+n|0;q=(h|0)>=0;f=q+(f+p|0)|0;nm(a,g,d,i,f,k);e=C[a+168>>2];d=f>>8;e=((d|0)>(e|0)?e:d)-C[a+164>>2]|0;e=(e|0)<0?-1:e;g=g+l|0;d=g-C[a+172>>2]|0;if(!((e|0)==C[a+156>>2]&(d|0)==C[a+160>>2])){if(!C[a+196>>2]){_h(a)}C[a+160>>2]=d;C[a+156>>2]=e;C[a+188>>2]=0;C[a+192>>2]=0}h=h-(q?j:0)|0;C[a+196>>2]=(e|0)>=C[a+180>>2]|d>>>0>=F[a+184>>2];if((g|0)!=(m|0)){continue}break}}nm(a,m,f,i,b,o)}C[a+224>>2]=c;C[a+220>>2]=b;C[a+228>>2]=c&-256}function Jl(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(!((c|0)!=240|e|(b|0)!=3840)){if((d|0)==15){break a}}if((c|0)!=240|e|(b|0)!=15){break b}f=357698562;if((d|0)!=3840){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&(d|0)==31744&(b|0)==31;if(!e){f=357764866;if(a){break a}}if(!((e|0)!=61440|(c|0)!=240|(b|0)!=3840)){f=355602434;if((d|0)==15){break a}}if(!((e|0)!=15|(c|0)!=3840|(b|0)!=61440)){f=356651010;if((d|0)==240){break a}}if(!((e|0)!=61440|(c|0)!=240|(b|0)!=15)){f=359796738;if((d|0)==3840){break a}}if(!((e|0)!=15|(c|0)!=3840|(b|0)!=240)){f=360845314;if((d|0)==61440){break a}}f=355667970;if(g&(e|0)==32768){break a}if(!((e|0)!=1|(b|0)!=63488|(c|0)!=1984)){f=356782082;if((d|0)==62){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&(d|0)==255&(c|0)==65280;if(!e){f=370546692;if(a){break a}}g=(b|0)==-16777216&(d|0)==65280&(c|0)==16711680;if(!e){f=371595268;if(g){break a}}h=(b|0)==255&(d|0)==16711680&(c|0)==65280;if(!e){f=374740996;if(h){break a}}i=(b|0)==65280&(d|0)==-16777216&(c|0)==16711680;if(!e){f=375789572;if(i){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 eS(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,j=0,k=0,l=0;j=Ce-640|0;Ce=j;i=C[b+92>>2];a:{b:{a=c;if(d>>>0<=a>>>0){break b}while(1){f=E[(I(a,20)+i|0)+16>>1];if(f>>>0>56319?1<>1];c:{if(!(!(1<>>0<56576)){f=a;break c}if(a>>>0>=d>>>0){f=a;break c}f=a;d:{while(1){e=I(f,20)+i|0;g=E[e+16>>1];if(!(1<>2];e:{if((e|0)<=1755){e=e-1620|0;if(e>>>0>4){break d}if(1<>>0<=12:0)){break e}if((e|0)!=2259){break d}}f=f+1|0;if((f|0)!=(d|0)){continue}break}f=d}if((a|0)==(f|0)){f=a;break c}if(f-c>>>0>=2){eg(b,c,f)}e=h;h=f-a|0;g=I(h,20);l=jf(j,e,g);e=(c-a|0)+f|0;k=I(c,20)+i|0;Yf(I(e,20)+i|0,k,I(a-c|0,20));jf(k,l,g);if(c>>>0>=e>>>0){break c}if(h&1){h=I(c,20)+i|0;g=E[h+16>>1];if(1<>1]=g&255|6400}c=c+1|0}if((a+1|0)!=(f|0)){while(1){a=I(c,20)+i|0;h=E[a+16>>1];if(1<>1]=h&255|6400}h=E[a+36>>1];if(1<>1]=h&255|6400}c=c+2|0;if((e|0)!=(c|0)){continue}break}}c=e}f:{if(d>>>0<=f>>>0){break f}while(1){a=E[(I(f,20)+i|0)+16>>1];if(a>>>0>58879?1<>1];if(!(!(1<>>0<59136)|d>>>0<=f>>>0){break a}a=f;g:{while(1){e=I(a,20)+i|0;g=E[e+16>>1];if(!(1<>2];h:{if((e|0)<=1755){e=e-1620|0;if(e>>>0>4){break g}if(1<>>0<=12:0)){break h}if((e|0)!=2259){break g}}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}if((a|0)==(f|0)){break a}if(a-c>>>0>=2){eg(b,c,a)}d=a-f|0;e=I(d,20);h=jf(j,h,e);b=(c-f|0)+a|0;g=I(c,20)+i|0;Yf(I(b,20)+i|0,g,I(f-c|0,20));jf(g,h,e);if(b>>>0<=c>>>0){break a}if(d&1){d=I(c,20)+i|0;e=E[d+16>>1];if(1<>1]=e&255|6656}c=c+1|0}if((f+1|0)==(a|0)){break a}while(1){a=I(c,20)+i|0;d=E[a+16>>1];if(1<>1]=d&255|6656}d=E[a+36>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}Ce=j+640|0}function Es(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=J(0),v=0,w=0,x=0,y=0,z=0,A=J(0);q=(b|0)/4|0;t=kf(q<<2);i=kf(b+q<<2);C[a+12>>2]=t;C[a+8>>2]=i;C[a>>2]=b;u=J(b|0);c=+u;o(+c);d=j(1)|0;h=j(0)|0;f=d-1072562176|0;a:{if((f|0)==198911|f>>>0<198911){g=0;if(!h&(d|0)==1072693248){break a}c=c+-1;g=c*134217728;g=c+g-g;s=H[45673];v=g*g*s;w=c+v;m=c*c;k=c*m;g=w+(k*(k*(k*(k*H[45683]+(m*H[45682]+(c*H[45681]+H[45680])))+(m*H[45679]+(c*H[45678]+H[45677])))+(m*H[45676]+(c*H[45675]+H[45674])))+((c-g)*s*(c+g)+(v+(c-w))));break a}f=d>>>16|0;b:{if(f-32752>>>0<=4294934559){if(!(d&2147483647|h)){d=Ce-16|0;H[d+8>>3]=-1;g=H[d+8>>3]/0;break a}if(!h&(d|0)==2146435072){break b}if(!(!(f&32768)&(f&32752)!=32752)){c=c-c;g=c/c;break a}o(+(c*4503599627370496));d=j(1)|0;h=j(0)|0;d=d-54525952|0}f=d-1072037888|0;r=f;m=+(f>>20);f=(f>>>13&127)<<4;k=m*H[45666]+H[f+365480>>3];c=H[f+365472>>3];l(0,h|0);l(1,d-(r&-1048576)|0);c=c*(+n()-H[f+367520>>3]-H[f+367528>>3]);s=k+c;g=c*c;c=s+(c*g*(g*(c*H[45672]+H[45671])+(c*H[45670]+H[45669]))+(g*H[45668]+(m*H[45667]+(c+(k-s)))))}g=c}c=pT(g/.6931471805599453);c:{if(K(c)<2147483648){h=~~c;break c}h=-2147483648}C[a+4>>2]=h;d:{if((b|0)<4){break d}d=b>>1;c=+(b|0);g=3.141592653589793/c;m=3.141592653589793/+(b<<1);while(1){k=g*+(e<<2);z=i+(e<<3)|0,A=J(ph(k)),G[z>>2]=A;f=e<<1;r=f|1;z=i+(r<<2)|0,A=J(-J(oi(k))),G[z>>2]=A;f=i+(d+f<<2)|0;k=m*+(r|0);z=f,A=J(oi(k)),G[z+4>>2]=A;z=f,A=J(ph(k)),G[z>>2]=A;e=e+1|0;if((q|0)!=(e|0)){continue}break}if((b|0)<8){break d}f=(b|0)/8|0;c=3.141592653589793/c;e=0;while(1){d=i+((e<<1)+b<<2)|0;g=c*+(e<<2|2);z=d,A=J(oi(g)*-.5),G[z+4>>2]=A;z=d,A=J(ph(g)*.5),G[z>>2]=A;e=e+1|0;if((f|0)!=(e|0)){continue}break}if((b|0)<8){break d}b=h-2|0;d=1<0?b:0;b=x+1|0;y=b&-4;q=b&3;while(1){e=0;i=d;h=0;b=0;if(x>>>0>=3){while(1){h=(i&p?1<>(e|1)&p?2<>(e|2)&p?4<>i&p?1<>e;b=b+4|0;if((y|0)!=(b|0)){continue}break}}b=0;if(q){while(1){h=(i&p?1<>e;b=b+1|0;if((q|0)!=(b|0)){continue}break}}b=(p<<3)+t|0;C[b>>2]=-2-(h|r);C[b+4>>2]=h;p=p+1|0;if((f|0)!=(p|0)){continue}break}}G[a+16>>2]=J(4)/u}function El(a,b,c,d){var e=0,f=J(0),g=J(0),h=J(0),i=0,j=J(0),k=0,l=J(0),m=J(0),n=0,o=0;k=Ce-16|0;Ce=k;if(d){G[k>>2]=C[d>>2];G[k+4>>2]=C[d+4>>2];G[k+8>>2]=C[d+8>>2];G[k+12>>2]=C[d+12>>2];d=k}else{d=0}e=Ce-160|0;Ce=e;a:{if(!(C[a>>2]==422389?a:0)){C[e>>2]=9675;Qe(19745,e);break a}if(!(C[b>>2]==422390?b:0)){C[e+16>>2]=16603;Qe(19745,e+16|0);break a}if(C[b+36>>2]!=(a|0)){Qe(9641,0);break a}n=C[a+40>>2];C[e+144>>2]=0;C[e+148>>2]=0;C[e+152>>2]=C[b+12>>2];C[e+156>>2]=C[b+16>>2];b:{if(!c){break b}i=c;c=e+144|0;if(yg(i,c,c)){break b}break a}C[e+128>>2]=0;C[e+132>>2]=0;G[e+136>>2]=H[a+248>>3]/+G[a+368>>2];G[e+140>>2]=H[a+256>>3]/+G[a+372>>2];if(d){c=e+128|0;i=Ce-32|0;Ce=i;c:{if(!d){C[i>>2]=28750;Qe(19745,i);break c}if(!c){C[i+16>>2]=28746;Qe(19745,i+16|0);break c}g=G[d+8>>2];if(g<=J(0)){break c}h=G[d+12>>2];if(h<=J(0)){break c}f=G[c+8>>2];if(f<=J(0)){break c}j=G[c+12>>2];if(j<=J(0)){break c}l=f;f=G[c>>2];m=J(l+f);l=g;g=G[d>>2];l=J(l+g);if((mg?f:g)){break c}f=G[c+4>>2];j=J(f+j);g=G[d+4>>2];h=J(g+h);if((h>j?j:h)<=(f>g?f:g)){break c}o=1}Ce=i+32|0;if(!o){break a}c=C[d+12>>2];C[e+136>>2]=C[d+8>>2];C[e+140>>2]=c;c=C[d+4>>2];C[e+128>>2]=C[d>>2];C[e+132>>2]=c}c=C[b+40>>2];c=c?c:b;C[c+76>>2]=C[a+448>>2];d:{if(!n){b=C[34297];C[e+48>>2]=C[34296];C[e+52>>2]=b;b=C[34295];C[e+40>>2]=C[34294];C[e+44>>2]=b;b=C[34293];C[e+32>>2]=C[34292];C[e+36>>2]=b;b=C[c+16>>2];d=C[e+144>>2];f=J(C[c+12>>2]);g=J(J(d|0)/f);G[e+64>>2]=g;i=C[e+148>>2];h=J(b|0);j=J(J(i|0)/h);G[e+68>>2]=j;f=J(J(d+C[e+152>>2]|0)/f);G[e+72>>2]=f;G[e+76>>2]=j;G[e+80>>2]=f;f=J(J(i+C[e+156>>2]|0)/h);G[e+84>>2]=f;G[e+88>>2]=g;G[e+92>>2]=f;h=G[e+136>>2];f=G[e+128>>2];g=G[e+132>>2];j=J(g+G[e+140>>2]);G[e+124>>2]=j;G[e+120>>2]=f;G[e+116>>2]=j;h=J(f+h);G[e+112>>2]=h;G[e+108>>2]=g;G[e+104>>2]=h;G[e+100>>2]=g;G[e+96>>2]=f;b=as(a,c,e+96|0,c+32|0,e- -64|0,8,4,e+32|0,6,G[a+368>>2],G[a+372>>2]);break d}g=G[a+368>>2];G[e+128>>2]=g*G[e+128>>2];f=G[a+372>>2];G[e+136>>2]=g*G[e+136>>2];G[e+132>>2]=f*G[e+132>>2];G[e+140>>2]=f*G[e+140>>2];b=-1;d=xk(a,8,c);if(d){b=Fe[C[a+40>>2]](a,d,c,e+144|0,e+128|0)|0;if((b|0)<0){C[d>>2]=0}}}if((b|0)<0){break a}is(a)}Ce=e+160|0;Ce=k+16|0}function bv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=C[a+16>>2];n=D[d+6|0]<<8|D[d+7|0]&254;if(!n){return 0}t=n+2|0;q=d+14|0;m=C[b>>2]+((c|0)!=0)|0;u=n>>>1|0;j=u;a:{b:{c:{while(1){d:{h=f+j|0;e=(h&-2)+q|0;k=D[e|0]<<8|D[e+1|0];d=h>>>1|0;e=e+t|0;r=D[e|0]<<8|D[e+1|0];if(r>>>0<=m>>>0){if(k>>>0>=m>>>0){break d}f=d+1|0}else{j=d}if(f>>>0>>0){continue}break c}break}f=e+n|0;w=D[f|0]<<8|D[f+1|0];o=w;g=f+n|0;v=D[g|0]<<8|D[g+1|0];j=v;e:{f:{g:{h:{i:{j:{k:{l:{if(!((r|0)!=65535|u-1>>>0>d>>>0|(k|0)!=65535)){if(!v){break l}f=C[a>>2];f=(g+v|0)+2>>>0>C[f+500>>2]+C[f+504>>2]>>>0;j=f?0:v;o=f?1:w}if(!(D[a+20|0]&2)){break j}l=d+1|0;f=(j|0)==65535?l:d;break k}if(!(D[a+20|0]&2)){k=65535;break f}l=d+1|0;j=0;f=d}if(h>>>0<2){break i}i=d-1|0;p=i<<1;h=p+q|0;s=D[h|0]<<8|D[h+1|0];if(s>>>0>>0){break i}y=q+t|0;m:{while(1){n:{h=s;e=i;x=p+y|0;o=x+n|0;g=o+n|0;j=D[g|0]<<8|D[g+1|0];f=(j|0)==65535?f:e;if(!e){break n}i=e-1|0;p=i<<1;s=p+q|0;s=D[s|0]<<8|D[s+1|0];if(s>>>0>=m>>>0){continue}break m}break}e=0}o=D[o+1|0]|D[o|0]<<8;p=D[x+1|0]|D[x|0]<<8;break h}e=d;if((j|0)==65535){break a}break g}e=d;h=k;p=r}o:{if((f|0)!=(l|0)){k=h;break o}if((d|0)!=(e|0)){o=w;j=v;p=r;h=k}p:{q:{if(l>>>0>>0){e=(l<<1)+q|0;g=t+e|0;i=D[g|0]<<8|D[g+1|0];if(m>>>0>>0){f=d;break p}f=d;break q}i=0;k=h;e=l-1|0;break a}r:{while(1){s:{p=i;h=e;k=(e+t|0)+n|0;g=k+n|0;j=D[g|0]<<8|D[g+1|0];f=(j|0)==65535?f:l;l=l+1|0;if((u|0)==(l|0)){break s}e=(l<<1)+q|0;g=t+e|0;i=D[g|0]<<8|D[g+1|0];if(m>>>0>=i>>>0){continue}break r}break}l=u}o=D[k+1|0]|D[k|0]<<8;h=D[h+1|0]|D[h|0]<<8}k=h;i=0;e=l-1|0;if((d|0)==(f|0)){break a}}if((f|0)==(e|0)){d=f;r=p;break g}d=(f<<1)+q|0;k=D[d|0]<<8|D[d+1|0];d=d+t|0;r=D[d|0]<<8|D[d+1|0];d=d+n|0;o=D[d|0]<<8|D[d+1|0];g=d+n|0;j=D[g|0]<<8|D[g+1|0];d=f}if(j){break e}}i=m+o&65535;e=d;break a}h=((m-r<<1)+j|0)+g|0;h=D[h|0]<<8|D[h+1|0];if(!h){break c}i=h+o&65535;break b}i=0}e=d}if(!c){return i}t:{if(k>>>0>>0){g=0;e=e+1|0;if((u|0)==(e|0)){break t}}u:{if(Vu(a,e)){g=i;if(g){break u}return 0}C[a+24>>2]=m;if(i){C[a+28>>2]=i;g=i;break u}av(a);g=C[a+28>>2];if(!g){return 0}m=C[a+24>>2]}C[b>>2]=m}return g}function kt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce+-64|0;Ce=e;if(!C[104485]){f=Ce+-64|0;Ce=f;c=C[105668];if(C[105544]){while(1){if(D[b+419102|0]==2){Tl(2,0,b)}b=b+1|0;if((b|0)!=512){continue}break}C[105544]=0}if(c){Fe[C[c+280>>2]](c)}if(!D[419008]){a:{if(!_n(512)){break a}b:{if(D[419080]){if(C[104768]){break b}break a}A[419080]=1;b=C[104769];if(b){while(1){c:{d:{if(!C[b+112>>2]){break d}c=C[b+128>>2];if(!c){break c}Fe[C[c+64>>2]](b);if(!C[b+120>>2]){break d}d=Ce+-64|0;Ce=d;c=C[104761];e:{if(!c){break e}while(1){if(C[c>>2]==(b|0)){C[d+8>>2]=1618;h=Dh();g=C[c>>2];if(((C[c+28>>2]-h|0)+250|0)>0){C[g+120>>2]=1;break e}C[g+120>>2]=0;if((qf(1618,-1)|0)!=1){break e}c=C[C[c>>2]>>2];B[d+20>>1]=5;C[d+16>>2]=c;Df(d+8|0);break e}c=C[c+32>>2];if(c){continue}break}}Ce=d- -64|0}c=C[b+92>>2];f:{if(!c){break f}g:{if(C[104768]){c=C[b+92>>2];if(!c){break g}}if((c-Dh()|0)>0){break g}h:{if(E[b+88>>1]|E[b+90>>1]){if(Fe[C[C[b+128>>2]+40>>2]](b,0,0)|0){break h}}C[b+88>>2]=0;C[b+92>>2]=0}if(!C[104768]){break f}}if(!C[104768]){break f}}c=C[b+100>>2];if(!c){break c}i:{if(C[104768]){c=C[b+100>>2];if(!c){break i}}if((c-Dh()|0)>0){break i}j:{if(E[b+96>>1]|E[b+98>>1]){if(Fe[C[C[b+128>>2]+44>>2]](b,0,0)|0){break j}}C[b+96>>2]=0;C[b+100>>2]=0}if(!C[104768]){break c}}if(!C[104768]){break c}}b=C[b+140>>2];if(b){continue}break}}A[419080]=0;b=C[104769];if(b){while(1){c=C[b+140>>2];if(C[b+136>>2]<=0){Qn(b)}b=c;if(b){continue}break}}Fe[C[95342]]();if(!C[104768]){break a}}}}if(!D[419012]){k:{if(!_n(32768)){break k}l:{if(D[422400]){if(C[105598]){break l}break k}A[422400]=1;b=C[105599];if(b){while(1){Fe[C[C[b+80>>2]+32>>2]](b);b=C[b+92>>2];if(b){continue}break}}A[422400]=0;b=C[105599];if(b){while(1){c=C[b+92>>2];if(C[b+88>>2]<=0){Lr(b)}b=c;if(b){continue}break}}Fe[C[95331]]();if(!C[105598]){break k}}}}if(D[422388]){A[422388]=0;Sn(256)}b=C[104615];if(!(A[b|0]&1?b:0)){b=f+8|0;lf(b,0,56);C[f+8>>2]=32512;Df(b)}Ce=f- -64|0}b=Dk(a,1,2,0,65535,1);m:{if((b|0)<0){break m}n:{if(a){if(C[a>>2]==32512){break m}break n}if(!Dk(e+8|0,1,1,0,65535,1)|C[e+8>>2]!=32512){break n}Dk(e+8|0,1,2,32512,32512,1);break m}i=(b|0)!=0}Ce=e- -64|0;return i}function Zs(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a=Ce-288|0;Ce=a;tu(a+16|0,C[97732]);c=C[a+20>>2];b=C[a+16>>2];C[97736]=b;C[97737]=c;j=c;if(c){h=b;while(1){We(a+16|0,0,257);a:{if(D[e+h|0]!=58){break a}C[a+12>>2]=0;d=58;b=e;while(1){c=d&255;if((c|0)==47){break a}if((c|0)==10){d=0;c=b+1|0;e=D[h+c|0];if((e|0)!=58){while(1){A[(a+12|0)+d|0]=e;d=d+1|0;b=c;c=b+1|0;e=D[h+c|0];if((e|0)!=58){continue}break}}c=a+12|0;A[c+d|0]=0;g=Zf(c);if((g|0)>C[99538]){C[99538]=g}d=0;f=0;e=b+3|0;b=D[h+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}}A[(a+16|0)+f|0]=b;f=f+1|0}e=e+1|0;b=D[h+e|0];if((b|0)!=10){continue}break}}A[(a+16|0)+f|0]=0;A[a+8|0]=0;C[a>>2]=0;C[a+4>>2]=0;c=1;b=D[a+16|0];e:{if((b|0)==44){i=0;break e}while(1){A[a+d|0]=b;d=d+1|0;b=D[d+(a+16|0)|0];if((b|0)!=44){continue}break}i=D[a|0];if((i|0)!=42){break e}b=D[a+5|0]|D[a+6|0]<<8|(D[a+7|0]<<16|D[a+8|0]<<24);i=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);C[a>>2]=i;C[a+4>>2]=b;c=16}g=I(g,24)+390800|0;k=g,l=I(Zf(a),c),C[k+152>>2]=l;b=0;c=d+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){while(1){A[a+b|0]=f;b=b+1|0;d=c;c=c+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){continue}break}i=D[a|0]}b=1;if((i&255)==42){b=D[a+5|0]|D[a+6|0]<<8|(D[a+7|0]<<16|D[a+8|0]<<24);C[a>>2]=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);C[a+4>>2]=b;b=16}k=g,l=I(b,Zf(a)),C[k+156>>2]=l;c=0;b=d+2|0;d=D[b+(a+16|0)|0];if((d|0)!=44){while(1){A[a+c|0]=d;c=c+1|0;b=b+1|0;d=D[b+(a+16|0)|0];if((d|0)!=44){continue}break}}k=g,l=Zf(a),C[k+160>>2]=l;d=0;c=b+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){while(1){A[a+d|0]=f;d=d+1|0;b=c;c=b+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){continue}break}}k=g,l=Zf(a),C[k+164>>2]=l;d=0;c=b+2|0;b=D[c+(a+16|0)|0];if((b|0)!=44){while(1){A[a+d|0]=b;d=d+1|0;c=c+1|0;b=D[c+(a+16|0)|0];if((b|0)!=44){continue}break}}k=g,l=Zf(a),C[k+168>>2]=l;b=0;d=c+1|0;c=D[d+(a+16|0)|0];if((c|0)!=44){while(1){A[a+b|0]=c;b=b+1|0;d=d+1|0;c=D[d+(a+16|0)|0];if((c|0)!=44){continue}break}}k=g,l=Zf(a),C[k+172>>2]=l}else{b=b-1|0;d=D[h+b|0];continue}break}}e=e+1|0;if(j>>>0>e>>>0){continue}break}}Ce=a+288|0}function No(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,k=0,l=0,m=0,n=0,o=0;o=C[a+88>>2];C[c>>2]=0;g=a+760|0;a:{if(!D[a+780|0]){n=C[a+104>>2];C[g+16>>2]=0;C[g+20>>2]=0;h=8;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;e=E[a+152>>1];if(!e){break a}d=C[a+156>>2];e=d+(e<<4)|0;while(1){b:{if(C[d>>2]==1111770656){f=C[d+12>>2];if(f){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}if(bf(n,C[d+8>>2])|f>>>0<8){break a}if(dh(n,f,g)){break a}d=C[a+760>>2];C[a+764>>2]=d+f;c:{d:{if((D[d+1|0]|D[d|0]<<8)!=1){break d}e=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0<8){break d}l=D[d+2|0]<<8;k=D[d+3|0];h=l|k;if(f>>>0>>0|h>>>0>e-8>>>2>>>0){break d}C[a+772>>2]=f-e;m=d+e|0;C[a+768>>2]=m;C[a+776>>2]=h;d=d+8|0;j=d+(h<<2)|0;e:{if(!h){break e}f=k&3;if(f){e=d;while(1){h=h-1|0;j=I(D[e+3|0]|D[e+2|0]<<8,10)+j|0;d=e+4|0;e=d;i=i+1|0;if((f|0)!=(i|0)){continue}break}}if((k|l)-1>>>0<3){break e}while(1){j=(((I(D[d+3|0]|D[d+2|0]<<8,10)+j|0)+I(D[d+7|0]|D[d+6|0]<<8,10)|0)+I(D[d+11|0]|D[d+10|0]<<8,10)|0)+I(D[d+15|0]|D[d+14|0]<<8,10)|0;d=d+16|0;h=h-4|0;if(h){continue}break}}if(j>>>0<=m>>>0){break c}}Wf(n,g);C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;return 8}A[a+780|0]=1}h=6;if(!b|!o){break a}f=C[a+776>>2];m=af(b);if(!m|!f){break a}d=C[g>>2]+8|0;e=d+(f<<2)|0;i=E[o+14>>1];while(1){j=D[d+3|0]|D[d+2|0]<<8;if((i|0)==(D[d+1|0]|D[d|0]<<8)){if(!j){break a}while(1){f:{f=D[e+5|0];if(!(f&16)){break f}l=C[a+772>>2];d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(l>>>0<=d>>>0){break f}i=l-d|0;if(i>>>0<=m>>>0){break f}k=D[e+6|0]|D[e+7|0]<<8|(D[e+8|0]<<16|D[e+9|0]<<24);g=d;d=C[a+768>>2];if(cf(b,g+d|0,i)){break f}i=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);g:{switch(f&15){case 0:case 1:if(i>>>0>=l>>>0){break f}d=d+i|0;if(!lj(d,0,l)){break f}C[c+4>>2]=d;C[c>>2]=1;return 0;case 2:C[c+4>>2]=i;C[c>>2]=2;return 0;case 3:break g;default:break f}}C[c+4>>2]=i;C[c>>2]=3;return 0}e=e+10|0;j=j-1|0;if(j){continue}break}break a}d=d+4|0;e=I(j,10)+e|0;f=f-1|0;if(f){continue}break}}return h|0}function Hy(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{if((b|0)!=1196445523){j=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;j=F[a+16>>2]<10?205712:C[a+12>>2]}h=D[j+4|0]|D[j+5|0]<<8;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(c){a=h?((h<<8|h>>>8)&65535)+j|0:205712;l=D[a|0]|D[a+1|0]<<8;b=((l<<8|l>>>8)&65535)-1|0;p=a+2|0;while(1){if(l){n=(m<<2)+d|0;o=C[n>>2];g=0;a=b;while(1){k=a+g>>>1|0;i=I(k,6)+p|0;i=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);p:{if(i>>>0>o>>>0){a=k-1|0;break p}if((i|0)==(o|0)){break o}g=k+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}m=m+1|0;if((m|0)!=(c|0)){continue}break}}if(h){break n}a=205712;break m}if(e){C[e>>2]=k}if(!f){return 1}a=C[n>>2];b=1;break d}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=D[a|0]|D[a+1|0]<<8;if(b){c=a+2|0;a=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){d=a+g>>>1|0;b=c+I(d,6)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);q:{if(b>>>0>=1145457749){a=d-1|0;break q}if((b|0)==1145457748){break l}g=d+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}if(h){break k}a=205712;break j}if(e){C[e>>2]=d}a=1145457748;break e}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=D[a|0]|D[a+1|0]<<8;if(b){c=a+2|0;a=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){d=a+g>>>1|0;b=c+I(d,6)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);r:{if(b>>>0>=1684434037){a=d-1|0;break r}if((b|0)==1684434036){break i}g=d+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}if(h){break h}a=205712;break g}if(e){C[e>>2]=d}a=1684434036;break e}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=D[a|0]|D[a+1|0]<<8;if(b){c=a+2|0;a=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){d=a+g>>>1|0;b=c+I(d,6)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);s:{if(b>>>0>=1818326127){a=d-1|0;break s}if((b|0)==1818326126){break f}g=d+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}a=65535;break e}if(e){C[e>>2]=d}a=1818326126}b=0;if(!f){break c}}C[f>>2]=a}return b}function il(a){var 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;i=Ce-48|0;Ce=i;Ce=i+48|0;a:{if(!D[a+16|0]){g=C[a+12>>2];h=C[a>>2];o=D[205712];j=C[a+4>>2];while(1){b:{c:{d:{e:{if(!(k&1)){if(l){break b}e=g+1|0;if(e>>>0>j>>>0){break b}f:{if(g>>>0>>0){c=D[g+h|0];C[a+12>>2]=e;l=0;break f}A[a+16|0]=1;C[a+12>>2]=j;c=o;e=j;l=1}g=e;e=(c&240)>>>4|0;break e}e=c&15}switch(e-13|0){case 0:break b;case 2:break d;default:break c}}e=i+16|0;C[i+12>>2]=e;g=0;k=0;l=0;j=C[i+12>>2];e=e+f|0;g:{if(j>>>0>=e>>>0){f=j;break g}f=j;while(1){c=D[f|0];if(c-9>>>0>=5&(c|0)!=32){break g}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}h:{if((e|0)==(f|0)){f=e;break h}o=(e-f|0)+f|0;m=1;i:{while(1){c=A[m+156648|0];p=m<<1;q=D[p+156416|0];h=A[f|0];if((q|0)<=(h|0)){c=(h|0)>D[p+156417|0]?c:h-q|0}c=A[(D[m+156639|0]+156448|0)+c|0];j:{if(587>>>c&1){break j}k:{switch(A[c+156667|0]-1|0){case 0:k=1;break j;case 3:r=1;break j;case 1:b=b*10+ +(h-48|0);break j;case 2:if(!(d<=450359962737049)){break j}d=d*10+ +(h-48|0);n=n+1;break j;case 4:break k;default:break j}}m=(h+I(g,10)|0)-48|0;h=m>>>0>2047;g=h?g:m;l=h|l}if((c|0)==1){break i}m=A[c+156657|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}f=o}l:{m:{n:{o:{p:{if(n!=0){s=b;if(n<4294967296&n>=0){c=~~n>>>0}else{c=0}b=c&256?1e256:1;b=c&128?b*1e128:b;b=c&64?b*1e64:b;b=c&32?b*1e32:b;b=c&16?b*1e16:b;b=c&8?b*1e8:b;b=c&4?b*1e4:b;b=c&2?b*100:b;b=s+d/(c&1?b*10:b);if(k){break p}break o}if(!k){break o}}b=-b;if(!(l&1)){break n}break m}if(l&1){break m}}if(!g){break h}d=g&256?1e256:1;d=g&128?d*1e128:d;d=g&64?d*1e64:d;d=g&32?d*1e32:d;d=g&16?d*1e16:d;d=g&8?d*1e8:d;d=g&4?d*1e4:d;d=g&2?d*100:d;d=g&1?d*10:d;if(!r){break l}b=b/d;break h}if(b==0){break h}if(r){b=k?-22250738585072014e-324:22250738585072014e-324;break h}b=k?-17976931348623157e292:17976931348623157e292;break h}b=d*b}H[i>>3]=b;c=0;q:{if((f|0)==(j|0)){break q}C[i+12>>2]=f;c=(e|0)==(f|0)}if(!c){break b}b=H[i>>3];break a}A[(i+16|0)+f|0]=D[e+28752|0];r:{if((e|0)!=12){e=f;break r}e=f+1|0;if((e|0)==32){break b}A[(i+16|0)+e|0]=45}f=e+1|0;k=k+1|0;if(e>>>0<31){continue}}break}A[a+16|0]=1}b=0}return b}function eg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(C[a+20>>2]==2){g=c-b|0;if(g>>>0<2|b>>>0>=c>>>0){break a}h=C[a+92>>2];e=-1;d=b;j=(d^-1)+c|0;if(j>>>0>=3){k=g&-4;while(1){f=I(d,20)+h|0;i=C[f+8>>2];e=e>>>0>>0?e:i;i=C[f+28>>2];e=e>>>0>>0?e:i;i=C[f+48>>2];e=e>>>0>>0?e:i;f=C[f+68>>2];e=e>>>0>>0?e:f;d=d+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}k=g&3;if(k){f=0;while(1){i=C[(I(d,20)+h|0)+8>>2];e=e>>>0>>0?e:i;d=d+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}d=C[a+36>>2];if(g&1){g=I(b,20)+h|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+1|0}if(!j){break a}while(1){g=I(b,20)+h|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}g=I(b+1|0,20)+h|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}break a}g=C[a+92>>2];j=C[(g+I(b,20)|0)+8>>2];e=j;d=b+1|0;b:{if(d>>>0>=c>>>0){break b}h=(c-b|0)-2|0;k=(b^-1)+c&3;if(k){while(1){i=C[(g+I(d,20)|0)+8>>2];e=e>>>0>>0?e:i;d=d+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(h>>>0<=2){break b}while(1){h=g+I(d,20)|0;f=C[h+8>>2];e=e>>>0>>0?e:f;f=C[h+28>>2];e=e>>>0>>0?e:f;f=C[h+48>>2];e=e>>>0>>0?e:f;h=C[h+68>>2];e=e>>>0>>0?e:h;d=d+4|0;if((d|0)!=(c|0)){continue}break}}d=C[a+80>>2];c:{if(d>>>0<=c>>>0){break c}while(1){h=g+I(c,20)|0;if(C[h-12>>2]!=C[h+8>>2]){break c}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}f=C[a+76>>2];h=b>>>0>f>>>0?f:b;while(1){d:{d=b;if(f>>>0>=d>>>0){d=h;break d}b=d-1|0;if((j|0)==C[(g+I(b,20)|0)+8>>2]){continue}}break}e:{if((d|0)!=(f|0)){break e}b=C[a+84>>2];if(!b){break e}h=g+I(f,20)|0;f=C[a+96>>2];while(1){b=b-1|0;a=f+I(b,20)|0;j=C[a+8>>2];if((j|0)!=C[h+8>>2]){break e}if((e|0)!=(j|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;if(b){continue}break}}if(c>>>0<=d>>>0){break a}b=d+1|0;if(c-d&1){a=g+I(d,20)|0;if(C[a+8>>2]!=(e|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;d=d+1|0}if((b|0)==(c|0)){break a}while(1){a=g+I(d,20)|0;if(C[a+8>>2]!=(e|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;a=g+I(d+1|0,20)|0;if(C[a+8>>2]!=(e|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;d=d+2|0;if((d|0)!=(c|0)){continue}break}}}function Yh(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:{x:{y:{if((a|0)<=370546691){if((a|0)<=355667969){if((a|0)<=336660480){if((a|0)<=303039487){b=28637;if((a|0)==286261504){break a}if((a|0)!=287310080){break b}return 28557}if((a|0)==303039488){break y}if((a|0)==304088064){break x}if((a|0)!=318769153){break b}return 28824}if((a|0)<=353570561){if((a|0)==336660481){break w}if((a|0)!=353504258){break b}return 29274}if((a|0)==353570562){break u}if((a|0)==353701890){break p}if((a|0)!=355602434){break b}return 29322}if((a|0)<=357896193){if((a|0)<=356782081){if((a|0)==355667970){break s}if((a|0)!=356651010){break b}return 29372}if((a|0)==356782082){break r}if((a|0)==357698562){break v}if((a|0)!=357764866){break b}return 29143}if((a|0)<=359862273){if((a|0)==357896194){break o}if((a|0)!=359796738){break b}return 29297}if((a|0)==359862274){break q}if((a|0)==360845314){break t}if((a|0)!=360976386){break b}return 29693}if((a|0)<=390076418){if((a|0)<=374740995){if((a|0)<=372645891){if((a|0)==370546692){break m}if((a|0)!=371595268){break b}return 28924}if((a|0)==372645892){break k}if((a|0)==372711428){break h}if((a|0)!=373694468){break b}return 29024}if((a|0)<=376840195){if((a|0)==374740996){break l}if((a|0)!=375789572){break b}return 28899}if((a|0)==376840196){break j}if((a|0)==377888772){break i}if((a|0)!=386930691){break b}return 29419}if((a|0)<=844715352){if((a|0)<=842094157){if((a|0)==390076419){break n}if((a|0)==542328143){break c}if((a|0)!=825382478){break b}return 29743}switch(a-842094158|0){case 0:break d;case 11:break g;default:break b}}if((a|0)<=1448433992){if((a|0)==844715353){break e}if((a|0)!=1431918169){break b}return 22809}if((a|0)==1448433993){break f}if((a|0)!=1498831189){break b}return 22305}return 28597}return 28517}return 29575}return 29251}return 29166}return 29347}return 29214}return 29718}return 29189}return 29120}return 29097}return 29397}return 28876}return 28853}return 28974}return 28949}return 28999}return 29864}return 29598}return 22748}return 29528}return 29619}return 24385}b=25010}return b}function CJ(a,b){a=a|0;b=b|0;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,o=0;i=Ce-16|0;Ce=i;f=C[a+488>>2];g=C[b+8>>2];Fe[C[b+28>>2]](b);d=C[b>>2];a:{if(g>>>0<=d>>>0){C[b+12>>2]=3;break a}b:{l=D[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){h=C[b+16>>2];c:{if((l|0)==91){C[b>>2]=d+1;c=256;break c}c=Fe[C[b+36>>2]](b)|0}Fe[C[b+28>>2]](b);if(F[b>>2]>=g>>>0){break a}j=c;C[a+372>>2]=c;C[b+88>>2]=c;n=a,o=Ve(h,2,0,c,0,i+12|0),C[n+384>>2]=o;e=C[i+12>>2];if(e){break b}n=a,o=Ve(h,4,0,j,0,i+12|0),C[n+388>>2]=o;e=C[i+12>>2];if(e){break b}k=b+92|0;e=Fe[C[C[f>>2]>>2]](k,j,h)|0;C[i+12>>2]=e;if(e){break b}d:{if((j|0)<=0){break d}f=0;c=0;if(j>>>0>=4){h=j&-4;e=0;while(1){Fe[C[b+136>>2]](k,c,15690,8)|0;Fe[C[b+136>>2]](k,c|1,15690,8)|0;Fe[C[b+136>>2]](k,c|2,15690,8)|0;Fe[C[b+136>>2]](k,c|3,15690,8)|0;c=c+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}e=j&3;if(!e){break d}while(1){Fe[C[b+136>>2]](k,c,15690,8)|0;c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}Fe[C[b+28>>2]](b);c=C[b>>2];e:{if(g>>>0<=c>>>0){break e}m=(l|0)==91;e=0;while(1){f:{g:{h:{f=D[c|0];switch(f-93|0){case 0:break g;case 7:break h;default:break f}}d=c+3|0;if(D[c+1|0]!=101|g>>>0<=d>>>0|D[c+2|0]!=102){break f}switch(D[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}d=c+1|0;break e}i:{if(!(!m&f-48>>>0>9)){f=e;if(!m){f=Fe[C[b+36>>2]](b)|0;Fe[C[b+28>>2]](b);c=C[b>>2]}d=c;if(!(d+2>>>0>=g>>>0|D[d|0]!=47|(e|0)>=(j|0))){d=d+1|0;C[b>>2]=d;Fe[C[b+32>>2]](b);c=C[b>>2];if(C[b+12>>2]|c>>>0>=g>>>0){break a}h=c-d|0;c=Fe[C[b+136>>2]](k,f,d,h+1|0)|0;C[b+12>>2]=c;if(c){break a}A[h+C[C[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break i}if((l|0)!=91){break i}C[b+12>>2]=2;break a}Fe[C[b+32>>2]](b);d=c;if(C[b+12>>2]){break a}}Fe[C[b+28>>2]](b);c=C[b>>2];if(g>>>0>c>>>0){continue}break}}C[a+368>>2]=1;C[b>>2]=d;break a}j:{if(d+17>>>0>=g>>>0){break j}if(cf(d,15405,16)){break j}C[a+368>>2]=2;break a}k:{if(d+15>>>0>=g>>>0){break k}if(cf(d,15390,14)){break k}C[a+368>>2]=4;break a}l:{if(d+18>>>0>=g>>>0){break l}if(cf(d,15422,17)){break l}C[a+368>>2]=3;break a}C[b+12>>2]=162;break a}C[b+12>>2]=e}Ce=i+16|0}function Wg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=D[a|0]|D[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}return b>>>0>>0?(b|0)<0?205712:((b<<1)+a|0)+2|0:0}c=D[a+4|0]|D[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+I(d,e-1|0)|0;c=0;if((D[a|0]|D[a+1|0]<<8)!=65535){break g}c=(D[a+2|0]|D[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+I(h,d)|0;g=D[a+2|0]|D[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=D[a|0]|D[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=D[a+2|0]|D[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=D[a+4|0]|D[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=(b|0)<0?205712:((b<<1)+a|0)+6|0;break a}c=D[a+4|0]|D[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+I(d,e-1|0)|0;c=(D[a|0]|D[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+I(h,d)|0;g=D[a|0]|D[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=D[a+4|0]|D[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=D[a+2|0]|D[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=D[a+2|0]|D[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+I(g,f-1|0)|0;c=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break m}c=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+I(f,g)|0;i=D[d+2|0]|D[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=D[d|0]|D[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}c=a;a=D[d+4|0]|D[d+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;return(a|0)<0?205712:c+(a<<1)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function oK(a,b){a=a|0;b=b|0;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,o=0,p=0;f=Ce-80|0;Ce=f;j=C[a+528>>2];a:{if(!j){a=6;break a}i=C[a+100>>2];k=C[j+4>>2];if(k){d=j+88|0;h=f+32|0;a=0;while(1){e=I(a,12);c=e+h|0;C[c>>2]=C[((a<<2)+j|0)+8>>2];e=d+e|0;g=C[e+4>>2];C[c+4>>2]=C[g>>2];C[c+8>>2]=C[(g+(D[e|0]<<2)|0)-4>>2];a=a+1|0;if((k|0)!=(a|0)){continue}break}}d=C[j>>2];c=0;C[f+20>>2]=0;i=hf(i,I(k,24)+20|0,f+20|0);a=C[f+20>>2];if(a){break a}C[i+16>>2]=0;C[i+8>>2]=-1;C[i+4>>2]=d;C[i>>2]=k;h=i+20|0;C[i+12>>2]=h;if(k){while(1){a=I(c,24)+h|0;e=(f+24|0)+I(c,12)|0;d=C[e+8>>2];C[a>>2]=d;g=C[e+12>>2]<<16;C[a+4>>2]=g;e=C[e+16>>2];C[a+16>>2]=-1;C[a+20>>2]=-1;e=e<<16;C[a+12>>2]=e;C[a+8>>2]=e+g>>1;e=2003265652;b:{c:{if(!Se(d,4389)){break c}e=2003072104;if(!Se(d,14854)){break c}if(Se(d,16002)){break b}e=1869640570}C[a+16>>2]=e}c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=C[j+4>>2];d:{if(C[j>>2]!=1<>2];e:{f:{switch(c-1|0){case 0:C[f>>2]=C[a+4>>2];break e;case 1:c=C[a+12>>2];C[f>>2]=c+C[a+4>>2];C[f+4>>2]=c+C[a+8>>2];break e;case 2:e=C[a+12>>2];c=C[a+20>>2];d=C[a+28>>2];C[f>>2]=C[a+4>>2]+(e+(c+d|0)|0);d=d+C[a+24>>2]|0;C[f+4>>2]=C[a+8>>2]+(d+e|0);C[f+8>>2]=C[a+16>>2]+(d+c|0);break e;default:break f}}l=C[a+12>>2];m=C[a+20>>2];c=C[a+28>>2];n=C[a+52>>2];d=C[a+44>>2];e=d+C[a+36>>2]|0;g=C[a+60>>2];C[f>>2]=C[a+4>>2]+(l+(m+(c+(n+(e+g|0)|0)|0)|0)|0);o=C[a+24>>2];p=C[a+40>>2];l=l+(d+c|0)|0;d=g+C[a+56>>2]|0;C[f+4>>2]=C[a+8>>2]+(o+(p+(l+d|0)|0)|0);g=(c+m|0)+o|0;c=C[a+48>>2]+(d+n|0)|0;C[f+8>>2]=C[a+16>>2]+(g+c|0);C[f+12>>2]=C[a+32>>2]+(c+(e+p|0)|0)}if(!k){break d}c=0;while(1){g=C[(c<<2)+f>>2];d=I(c,12)+j|0;e=C[d+96>>2];g:{if((g|0)>C[e>>2]){a=1;n=D[d+88|0];if(n>>>0>1){while(1){m=a<<2;l=C[m+e>>2];if((l|0)>=(g|0)){d=C[d+92>>2];h=m-4|0;a=C[d+h>>2];d=C[d+m>>2];h=C[e+h>>2];a=I(Ze(g-h|0,l-h|0),d-a|0)+(a<<16)|0;h=C[i+12>>2];break g}a=a+1|0;if((n|0)!=(a|0)){continue}break}}a=C[(C[d+92>>2]+(n<<2)|0)-4>>2]<<16;break g}a=C[C[d+92>>2]>>2]<<16}C[(I(c,24)+h|0)+8>>2]=a;c=c+1|0;if((k|0)!=(c|0)){continue}break}}C[b>>2]=i;a=C[f+20>>2]}Ce=f+80|0;return a|0}function FF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=C[a+56>>2];i=C[a+36>>2];b=C[a+20>>2];j=C[a+16>>2];c=C[a>>2];g=C[a+28>>2];e=C[a+24>>2];a:{f=C[a+48>>2];if(f){if(!g){break a}k=e&7;h=(e+7|0)/8|0;b:while(1){g=g-1|0;e=h;c:{d:{switch(k-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=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=7;continue;default:break e}}a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}a=e-1|0;c=c+1|0;b=b+1|0;f:{if((e|0)>1){e=a;break f}b=b+i|0;c=c+j|0;if(g){continue b}break a}a=0;continue}}}if(!g){break a}f=e&7;h=(e+7|0)/8|0;g:while(1){g=g-1|0;e=h;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=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=7;continue;default:break j}}a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}a=e-1|0;c=c+1|0;b=b+1|0;k:{if((e|0)>1){e=a;break k}b=b+i|0;c=c+j|0;if(g){continue g}break a}a=0;continue}}}}function Sy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=C[b+4>>2];a:{if(o>>>0>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<8){break a}h=C[b+12>>2];d=h-8|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[a|0]|D[a+1|0]<<8;m=(d<<8|d>>>8)&65535;if(m>>>0<4){break a}d=a+2|0;if(d>>>0>g>>>0|g-d>>>0<2){break a}d=h-10|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[a+2|0]|D[a+3|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<4){break a}f=h-14|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=d+2|0;if(f>>>0>g>>>0|g-f>>>0<2){break a}e=h-16|0;C[b+12>>2]=e;if((e|0)<=0){break a}h=D[f|0]|D[f+1|0]<<8;if(h){d=d+4|0;if(d>>>0>g>>>0){break a}f=g-d|0;d=(h<<8|h>>>8)&65535;if(f>>>0>>0){break a}e=e-d|0;C[b+12>>2]=e;if((e|0)<=0){break a}}d=D[a+6|0]|D[a+7|0]<<8;p=((d<<8|d>>>8)&65535)+a|0;t=p>>>0>>0|g>>>0

>>0;d=a;a=D[a+4|0]|D[a+5|0]<<8;r=(a<<8|a>>>8)&65535;k=d+r|0;u=o>>>0>k>>>0|g>>>0>>0;v=g-p|0;w=g-k|0;a=0;h=0;while(1){b:{if(!(a&1)){d=h;break b}i=0;if(4294967295/(m>>>0)>>>0<=l>>>0){break a}f=I(l,m);q=f+k|0;if(f){if(g>>>0>>0|o>>>0>q>>>0|g-q>>>0<0-f>>>0){break a}e=e+f|0;C[b+12>>2]=e;if((e|0)<=0){break a}}e=(l-s|0)+e|0;C[b+12>>2]=e;if((e|0)<=0|(f|0)>0){break a}a=k;d=h;if((f|0)<0){while(1){a=a-1|0;f=D[a|0]+1|0;d=d>>>0>f>>>0?d:f;if(a>>>0>q>>>0){continue}break}}s=l}c:{d:{e:{if((j|0)<=(n|0)){i=0;f=n+1|0;a=I(f,m);if(a>>>0>w>>>0|u){break a}e=e-a|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=e+((n^-1)+j|0)|0;C[b+12>>2]=e;if((a|0)<0|(e|0)<=0){break a}j=I(j,m);if((j|0)<(a|0)){break e}j=f}if(d){break d}d=0;break c}i=a+k|0;a=j+k|0;while(1){j=D[a|0]+1|0;d=d>>>0>j>>>0?d:j;a=a+1|0;if(i>>>0>a>>>0){continue}break}j=f}i=0;a=d<<3;if(a>>>0>v>>>0|t){break a}e=e-a|0;C[b+12>>2]=e;if((e|0)<=0){break a}}e=(h-d|0)+e|0;C[b+12>>2]=e;if((e|0)<=0){return 0}if((d|0)>(h|0)){f=(d<<3)+p|0;i=(h<<3)+p|0;while(1){a=D[i|0]|D[i+1|0]<<8;a=(((a<<8|a>>>8)&65535)-r|0)/(m|0)|0;n=(a|0)<(n|0)?n:a;l=(a|0)>(l|0)?l:a;i=i+8|0;if(f>>>0>i>>>0){continue}break}}h=d;a=(l|0)<(s|0);if(a|(j|0)<=(n|0)){continue}break}i=1;if(!c){break a}C[c>>2]=h}return i}function ks(a,b,c,d,e){var 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;p=Ce-80|0;Ce=p;a:{if(!a){C[p>>2]=4793;Qe(19745,p);a=0;break a}if(!b){C[p+16>>2]=29687;Qe(19745,p+16|0);a=0;break a}if(!c){C[p+32>>2]=29684;Qe(19745,p+32|0);a=0;break a}if(!d){C[p+48>>2]=29549;Qe(19745,p+48|0);a=0;break a}if(!e){C[p+64>>2]=29546;Qe(19745,p- -64|0);a=0;break a}h=C[a+8>>2];if((h|0)<=0){a=0;break a}i=C[a+12>>2];if((i|0)<=0){a=0;break a}n=C[a+4>>2];r=i+n|0;o=C[a>>2];t=h+o|0;k=C[e>>2];m=C[d>>2];f=C[c>>2];g=C[b>>2];s=(o|0)>(g|0);b:{if(s|(g|0)>=(t|0)|((m|0)<(o|0)|(m|0)>=(t|0))){break b}if((f|0)<(n|0)|(f|0)>=(r|0)|(k|0)<(n|0)){break b}a=1;if((k|0)<(r|0)){break a}}v=(g|0)>=(o|0);w=(m|0)>=(o|0);if(!(v|w)){a=0;break a}x=(m|0)<(t|0);l=(g|0)<(t|0);if(!(x|l)){a=0;break a}q=(f|0)>=(n|0);j=(k|0)>=(n|0);if(!(q|j)){a=0;break a}a=0;h=(f|0)<(r|0);i=(k|0)<(r|0);if(!(h|i)){break a}u=t-1|0;c:{if((f|0)==(k|0)){if(l?s:1){C[b>>2]=v?u:o}if(!w){C[d>>2]=o;break c}a=1;if(x){break a}C[d>>2]=u;break a}s=r-1|0;if((g|0)==(m|0)){if(!(h&(f|0)>=(n|0))){C[c>>2]=q?s:n}if(!j){C[e>>2]=n;break c}a=1;if(i){break a}C[e>>2]=s;break a}a=q?(f|0)>=(r|0):2;l=v?l?a:a|8:a|4;a=j?(k|0)>=(r|0):2;q=w?x?a:a|8:a|4;if(l|q){h=0;j=(l|0)!=0;a=0;i=0;while(1){if(l&q){break a}d:{e:{if(j){f:{g:{if(l&2){h=((I(m-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;i=n;break g}h:{if(l&1){h=((I(m-g|0,s-f|0)|0)/(k-f|0)|0)+g|0;i=s;break h}if(l&4){i=((I(o-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=o;break h}if(!(l&8)){break h}i=((I(u-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=u}j=2;if((i|0)<(n|0)){break f}}j=(i|0)>=(r|0)}if((h|0)<(o|0)){l=j|4;break e}l=(h|0)<(t|0)?j:j|8;break e}i:{j:{if(q&2){h=((I(m-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;i=n;break j}k:{if(q&1){h=((I(m-g|0,s-f|0)|0)/(k-f|0)|0)+g|0;i=s;break k}if(q&4){i=((I(o-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=o;break k}if(!(q&8)){break k}i=((I(u-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=u}j=2;if((i|0)<(n|0)){break i}}j=(i|0)>=(r|0)}q=(h|0)<(o|0)?j|4:(h|0)<(t|0)?j:j|8;l=0;m=h;k=i;break d}f=i;g=h}j=(l|0)!=0;if(l|q){continue}break}}C[b>>2]=g;C[c>>2]=f;C[d>>2]=m;C[e>>2]=k}a=1}Ce=p+80|0;return a}function Ro(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(C[a+200>>2]==(b|0)&C[a+204>>2]==(d|0)){break a}C[a+200>>2]=b;C[a+204>>2]=d;d=C[a+4>>2];if(!d){break a}h=Te(C[a+8>>2],b);C[a+12>>2]=h;C[a+16>>2]=h+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){i=Te(C[d>>2],b);j=C[a+12>>2];g=i-j|0;h=g>>31;h=(h^g)-h>>>0<128?j:i;C[d+4>>2]=h;C[d+8>>2]=h+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(C[a+404>>2]==(c|0)&C[a+408>>2]==(e|0)){break b}C[a+404>>2]=c;C[a+408>>2]=e;b=C[a+208>>2];c:{if(!b){break c}d=Te(C[a+212>>2],c);C[a+216>>2]=d;C[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){h=Te(C[d>>2],c);i=C[a+216>>2];j=h-i|0;b=j>>31;b=(b^j)-b>>>0<128?i:h;C[d+4>>2]=b;C[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}A[a+2492|0]=(I(c,125)|0)>2]<<3&(c|0)<=34359737;d=C[a+2480>>2];d:{if((d|0)<=0){break d}while(1){if((Te(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}b=a+412|0;C[a+2484>>2]=d;h=a+1960|0;i=a+928|0;j=a+1444|0;f=0;while(1){d=b;e:{f:{switch(f|0){case 1:d=i;break e;case 2:d=j;break e;case 0:break e;default:break f}}d=h}g=C[d>>2];if(g){d=d+4|0;while(1){m=d,n=Te(C[d+8>>2],c)+e|0,C[m+28>>2]=n;m=d,n=Te(C[d+12>>2],c)+e|0,C[m+24>>2]=n;m=d,n=Te(C[d>>2],c)+e|0,C[m+16>>2]=n;m=d,n=Te(C[d+4>>2],c),C[m+20>>2]=n;C[d+16>>2]=C[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=C[b>>2];if(g){b=a+1448|0;f=a+416|0;while(1){d=b;e=C[j>>2];g:{if(!e){break g}while(1){k=C[f>>2]-C[d>>2]|0;l=k>>31;if((Te((l^k)-l|0,c)|0)<=63){C[f+28>>2]=C[d+28>>2];C[f+24>>2]=C[d+24>>2];C[f+16>>2]=C[d+16>>2];C[f+20>>2]=C[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=C[i>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){d=b;e=C[h>>2];h:{if(!e){break h}while(1){i=C[f>>2]-C[d>>2]|0;a=i>>31;if((Te((a^i)-a|0,c)|0)>=64){d=d+32|0;e=e-1|0;if(e){continue}break h}break}C[f+28>>2]=C[d+28>>2];C[f+24>>2]=C[d+24>>2];C[f+16>>2]=C[d+16>>2];C[f+20>>2]=C[d+20>>2]}f=f+32|0;g=g-1|0;if(g){continue}break}}}function Sm(a,b,c,d,e,f){var 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;m=C[a+100>>2];h=C[m+76>>2];n=D[m+73|0]?C[m+84>>2]:h;a:{if(!b){break a}h=n-h|0;if(b>>>0>=4){o=b&-4;while(1){g=j<<2;k=g+c|0;C[k>>2]=h+C[k>>2];k=(g|4)+c|0;C[k>>2]=h+C[k>>2];k=(g|8)+c|0;C[k>>2]=h+C[k>>2];g=(g|12)+c|0;C[g>>2]=h+C[g>>2];j=j+4|0;l=l+4|0;if((o|0)!=(l|0)){continue}break}}g=b&3;if(!g){break a}while(1){l=(j<<2)+c|0;C[l>>2]=h+C[l>>2];j=j+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}f=f+n|0;b:{if(!d){break b}o=0;while(1){if(!D[m+72|0]){break b}h=(o<<2)+e|0;g=D[h|0]|D[h+1|0]<<8;l=(g<<8|g>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}if(!g){g=D[h+2|0]|D[h+3|0]<<8;if(C[a+128>>2]==((g<<8|g>>>8)&65535)){break c}}k=(l<<2)+c|0;if(!kh(m,C[k>>2])|C[m+44>>2]<=0){break b}i=C[a+136>>2];if(!i){break c}j=C[a+104>>2];if(!j){break c}p=D[m+73|0];g=C[m+76>>2];q=C[m+84>>2];h=D[h+2|0]|D[h+3|0]<<8;s=C[m+80>>2];r=C[a+100>>2];n=C[r+44>>2];C[r+44>>2]=n-1;if((n|0)<=0){break c}C[a+136>>2]=i-1;h=Fe[j|0](a,(h<<8|h>>>8)&65535)|0;C[a+136>>2]=C[a+136>>2]+1;if(!h){break c}h=C[m+76>>2];h=(C[m+80>>2]-h|0)+(D[m+73|0]?C[m+84>>2]:h)|0;g=(s-g|0)+(p?q:g)|0;if((h|0)==(g|0)){break c}i=h-g|0;h=i+f|0;f=C[k>>2];if((h|0)<=(f|0)){break b}f=l+1|0;d:{if((i|0)>0){n=b+i|0;g=f;if(n>>>0<=64){break d}f=h;break b}g=f-b|0;i=(g|0)<(i|0)?i:g;n=i+b|0;g=f-i|0}j=(g<<2)+c|0;Yf(j+(i<<2)|0,j,b-g<<2);j=g+i|0;e:{if(j>>>0<=f>>>0){break e}p=(g+i|0)-l|0;q=p-2|0;b=C[k>>2];l=0;k=p-1&3;if(k){while(1){b=b+1|0;C[(f<<2)+c>>2]=b;f=f+1|0;l=l+1|0;if((k|0)!=(l|0)){continue}break}}if(q>>>0<=2){break e}while(1){k=(f<<2)+c|0;C[k>>2]=b+1;l=b+4|0;C[k+12>>2]=l;C[k+8>>2]=b+3;C[k+4>>2]=b+2;b=l;f=f+4|0;if((j|0)!=(f|0)){continue}break}}f:{if(j>>>0>=n>>>0){break f}b=0;f=n-(g+i|0)&3;if(f){while(1){l=(j<<2)+c|0;C[l>>2]=C[l>>2]+i;j=j+1|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(((i^-1)+n|0)-g>>>0<3){break f}while(1){b=(j<<2)+c|0;C[b>>2]=C[b>>2]+i;C[b+4>>2]=C[b+4>>2]+i;C[b+8>>2]=C[b+8>>2]+i;C[b+12>>2]=C[b+12>>2]+i;j=j+4|0;if((n|0)!=(j|0)){continue}break}}f=h;b=n}o=o+1|0;if((o|0)!=(d|0)){continue}break}}kh(m,f);return 1}function HP(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=Ce-48|0;Ce=d;a:{b:{if(!a){break b}if(!b){e=6;break a}if(B[a>>1]<=0){break a}h=C[b+20>>2];i=C[b+16>>2];while(1){m=B[C[a+12>>2]+(o<<1)>>1];if((m|0)<0){break b}j=C[a+4>>2];f=j+(g<<3)|0;k=C[f>>2];e=C[f+4>>2];C[d+32>>2]=(k<>2]=p;l=j+(m<<3)|0;e=C[l>>2];q=C[l+4>>2];n=C[d+36>>2];k=C[d+32>>2];C[d+40>>2]=k;C[d+44>>2]=n;c:{d:{n=C[a+8>>2];j=n+g|0;switch(D[j|0]&3){case 2:break b;case 0:break d;default:break c}}g=(q<>2]=g;C[d+32>>2]=e;l=l-8|0;break e}C[d+36>>2]=(g+p|0)/2;C[d+32>>2]=(e+k|0)/2}j=j-1|0;f=f-8|0}e=Fe[C[b>>2]](d+32|0,c)|0;if(e){break a}f:{if(f>>>0>>0){while(1){k=j+1|0;g=f+8|0;g:{h:{i:{switch(D[j+1|0]&3){case 1:C[d+24>>2]=(C[f+8>>2]<>2]=(C[f+12>>2]<>2]](d+24|0,c)|0;if(e){break a}break g;case 0:C[d+40>>2]=(C[f+8>>2]<>2]=(C[f+12>>2]<>>0>>0){while(1){f=D[k+1|0];j=(C[g+8>>2]<>2]=j;e=(C[g+12>>2]<>2]=e;k=k+1|0;g=g+8|0;j:{f=f&3;k:{if(f){if((f|0)!=1){g=7;e=0;break h}e=Fe[C[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;j=k;break g}C[d+16>>2]=(j+C[d+40>>2]|0)/2;C[d+20>>2]=(e+C[d+44>>2]|0)/2;e=Fe[C[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}g=10;break h}f=C[d+28>>2];C[d+40>>2]=C[d+24>>2];C[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=Fe[C[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;e=0;if((D[j+2|0]&3)!=2|f+16>>>0>l>>>0){break h}C[d+24>>2]=(C[f+8>>2]<>2]=(C[f+12>>2]<>2]=(C[f+16>>2]<>2]=(C[f+20>>2]<>>0<=l>>>0){C[d+8>>2]=(C[f+24>>2]<>2]=(C[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){g=10;break h}j=j+3|0;f=g;break g}e=Fe[C[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(f>>>0>>0){continue}break}}e=Fe[C[b+4>>2]](d+32|0,c)|0}if(e){break a}g=m+1|0;e=0;o=o+1|0;if((o|0)>1]){continue}break}break a}e=20}Ce=d+48|0;return e|0}function Pt(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ce-128|0;Ce=j;a:{b:{c:{if(!ij(f,g,h,i,0,0,0,0)){break c}l=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){k=4;if(n){break e}k=f|h|(g|l)?3:2;break d}k=!(f|h|(g|l))}}s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(k){break b}}Tf(j+16|0,b,c,d,e,f,g,h,i);b=C[j+16>>2];d=C[j+20>>2];e=C[j+24>>2];c=C[j+28>>2];Ct(j,b,d,e,c,b,d,e,c);d=C[j+8>>2];e=C[j+12>>2];h=C[j>>2];i=C[j+4>>2];break a}k=d;p=e&2147483647;n=h;m=i&2147483647;if((ij(b,c,k,p,f,g,h,m)|0)<=0){if(ij(b,c,k,p,f,g,n,m)){h=b;i=c;break a}Tf(j+112|0,b,c,d,e,0,0,0,0);d=C[j+120>>2];e=C[j+124>>2];h=C[j+112>>2];i=C[j+116>>2];break a}q=i>>>16&32767;if(o){i=c;h=b}else{Tf(j+96|0,b,c,k,p,0,0,0,1081540608);k=C[j+104>>2];h=C[j+108>>2];p=h;o=(h>>>16|0)-120|0;i=C[j+100>>2];h=C[j+96>>2]}if(!q){Tf(j+80|0,f,g,n,m,0,0,0,1081540608);n=C[j+88>>2];f=C[j+92>>2];m=f;q=(f>>>16|0)-120|0;g=C[j+84>>2];f=C[j+80>>2]}r=n;t=m&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;f:{if((l|0)>0|(l|0)>=0){k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(!(h|n|(i|l))){Tf(j+32|0,b,c,d,e,0,0,0,0);d=C[j+40>>2];e=C[j+44>>2];h=C[j+32>>2];i=C[j+36>>2];break a}l=l<<1|n>>>31;k=n<<1|i>>>31;break f}l=p<<1|k>>>31;k=k<<1|i>>>31}p=l;l=i<<1|h>>>31;h=h<<1;i=l;o=o-1|0;if((o|0)>(q|0)){continue}break}o=q}m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;m=l;g:{if((l|0)<0){n=k;m=p;break g}k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(h|n|(i|m)){break g}Tf(j+48|0,b,c,d,e,0,0,0,0);d=C[j+56>>2];e=C[j+60>>2];h=C[j+48>>2];i=C[j+52>>2];break a}if((m|0)==65535|m>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m<<1|n>>>31;n=c|n<<1;m=b;if(b>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){Tf(j- -64|0,h,i,n,m&65535|(b|o+120)<<16,0,0,0,1065811968);d=C[j+72>>2];e=C[j+76>>2];h=C[j+64>>2];i=C[j+68>>2];break a}d=n;e=m&65535|(b|o)<<16}C[a>>2]=h;C[a+4>>2]=i;C[a+8>>2]=d;C[a+12>>2]=e;Ce=j+128|0}function uv(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,o=0,p=0,q=0,r=0,s=0;if(!(D[a+16|0]&8)){f=I(c,204)+b|0;n=C[f+200>>2];g=C[f+204>>2]+Te(C[a>>2],n)|0;e=Te(C[a+4>>2],n);a:{b:{c:{d:{e:{switch(c|0){case 1:if(D[d+121|0]){break d}break b;case 0:if(!D[d+120|0]){break b}k=D[d+122|0]!=0;break;default:break e}}C[a+12>>2]=e;break c}o=D[d+123|0];C[a+12>>2]=e;p=C[a>>2];r=D[b+2492|0];k=2;f=C[b+412>>2];f:{g:{if(!f){break g}i=C[a+4>>2]+p|0;h=b+416|0;j=C[b+2488>>2];l=0-j|0;while(1){m=i-C[h+12>>2]|0;if((m|0)<(l|0)){break g}if((i|0)<=(j+C[h+8>>2]|0)){if(!r){f=0;if((m|0)>C[b+2484>>2]){break f}}q=C[h+16>>2];k=3;f=1;break f}h=h+32|0;f=f-1|0;if(f){continue}break}}f=0}j=C[b+928>>2];h:{if(!j){i=0;break h}i=0;l=C[b+2488>>2];m=0-l|0;h=((j<<5)+b|0)+932|0;while(1){s=C[h-24>>2]-p|0;if((m|0)>(s|0)){break h}if((C[h-20>>2]-l|0)>(p|0)){h=h-32|0;j=j-1|0;if(j){continue}break h}break}if(!r&C[b+2484>>2]<=(s|0)){break h}i=C[h-16>>2];f=k}k=(o|0)!=0;i:{switch(f-1|0){case 1:C[a+8>>2]=i;if(!o){break a}C[a+12>>2]=(e|0)<64?64:e+32&-64;break a;case 2:C[a+8>>2]=i;C[a+12>>2]=q-i;break a;case 0:break i;default:break c}}C[a+8>>2]=q-e;if(!o){break a}b=(e|0)<64?64:e+32&-64;C[a+12>>2]=b;C[a+8>>2]=q-b;break a}f=C[a+20>>2];if(f){if(!(D[f+16|0]&8)){uv(f,b,c,d)}g=((C[f+8>>2]-(e>>1)|0)+(C[f+12>>2]>>1)|0)+Te((C[a>>2]-(C[f>>2]+(C[f+4>>2]>>1)|0)|0)+(C[a+4>>2]>>1)|0,n)|0}j:{if(!D[d+124|0]){break j}if((e|0)<=64){if((e|0)>=32){g=(e>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((e|0)<=0){g=b;break j}f=b-g|0;c=f>>31;d=e+g|0;g=d+32&-64;h=g-d|0;d=h>>31;g=(c^f)-c>>>0>(d^h)-d>>>0?g:b;break j}b=C[(I(c,204)+b|0)+12>>2];d=e-b|0;c=d>>31;e=(c^d)-c>>>0<40?(b|0)<=48?48:b:e;if(e>>>0<=191){b=e&63;if(b>>>0<10){break j}c=e&-64;if(b>>>0<=31){e=c|10;break j}e=b>>>0<54?c|54:e;break j}e=e+32&-64}C[a+12>>2]=e;b=(g+32&-64)-g|0;c=b>>31;d=e+g|0;d=(d+32&-64)-d|0;f=d>>31;c=((b^c)-c>>>0>(d^f)-f>>>0?d:b)+g|0;C[a+8>>2]=c;if(!k){break a}d=(e|0)<64?64:e+32&-64;b=d>>1;C[a+12>>2]=d;C[a+8>>2]=(d&64?b+c&-64|32:(b+c|0)+32&-64)-b;break a}C[a+12>>2]=e;C[a+8>>2]=g}C[a+16>>2]=C[a+16>>2]|8}}function ev(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;C[a+180>>2]=f;m=a+180|0;C[a+52>>2]=m;f=C[a+72>>2];C[a+204>>2]=C[a+68>>2];C[a+208>>2]=f;C[a+200>>2]=c;C[a+196>>2]=b;C[a+192>>2]=e;C[a+188>>2]=d;C[a+184>>2]=g;f=m;while(1){n=C[f>>2];a:{b:{c:{d:{k=C[f+20>>2];i=C[f+12>>2];e=C[f+28>>2];g=C[f+4>>2];if((((i|0)>(k|0)?k:i)|0)>=(((e|0)<(g|0)?e:g)|0)){j=(e|0)>(g|0);if((((i|0)<(k|0)?k:i)|0)<=((j?e:g)|0)){break d}}b=C[f+24>>2];C[f+48>>2]=b;C[f+52>>2]=e;c=(e+k|0)+1>>1;C[f+44>>2]=c;d=i+1|0;e=d+g>>1;C[f+12>>2]=e;i=C[f+8>>2]+1|0;j=i+n>>1;C[f+8>>2]=j;l=b;b=C[f+16>>2];h=(l+b|0)+1>>1;C[f+40>>2]=h;l=c;c=(d+k>>1)+1|0;d=l+c>>1;C[f+36>>2]=d;c=c+e>>1;C[f+20>>2]=c;b=(b+i>>1)+1|0;e=b+j>>1;C[f+16>>2]=e;b=b+h>>1;C[f+32>>2]=b;C[f+28>>2]=(c+d|0)+1>>1;C[f+24>>2]=(b+e|0)+1>>1;b=f+24|0;break c}if((e|0)!=(g|0)){break b}b=f-24|0}C[a+52>>2]=b;break a}o=j?2:1;h=C[a+100>>2];if((o|0)!=(h|0)){b=C[a+4>>2];d=j?e&b-1:((b+e|0)-1&0-b)-e|0;c=C[a+40>>2];l=C[a+8>>2];e:{if(!h){b=c;break e}h=C[a+88>>2];b=C[h+8>>2];p=c-b|0;if((p|0)<0){C[a+44>>2]=99;return 1}f:{if((b|0)==(c|0)){b=c;break f}C[h+16>>2]=p>>2;if((d|0)>=(l|0)){b=E[h+12>>1];B[h+12>>1]=(b&8?16:32)|b}C[a+88>>2]=c;b=c+32|0;C[a+40>>2]=b;C[c+8>>2]=b;C[c+16>>2]=0;C[h+28>>2]=c;B[a+84>>1]=E[a+84>>1]+1}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}A[a+87|0]=0}if(!C[a+92>>2]){C[a+92>>2]=b;C[a+88>>2]=b;b=b+32|0;C[a+40>>2]=b}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}c=C[a+88>>2];C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=b;C[c+28>>2]=0;C[c+4>>2]=0;b=D[a+176|0];B[c+12>>1]=b;g:{h:{if(!j){B[c+12>>1]=b|8;h=40;if((d|0)>=(l|0)){break h}break g}h=16;if((d|0)<(l|0)){break g}}B[c+12>>1]=b|h}if(!C[a+96>>2]){C[a+96>>2]=c}B[a+86>>1]=1;C[a+100>>2]=o}b=C[a+80>>2];c=C[a+76>>2];i:{if(!j){if(!om(a,3,1040,c,b)){break a}break i}C[f+28>>2]=0-e;C[f+20>>2]=0-k;C[f+12>>2]=0-i;C[f+4>>2]=0-g;d=D[a+86|0];b=om(a,3,1040,0-b|0,0-c|0);if(!(D[a+86|0]|!d)){c=C[a+88>>2];C[c+20>>2]=0-C[c+20>>2]}C[f+4>>2]=0-C[f+4>>2];if(!b){break a}}return 1}f=C[a+52>>2];if(m>>>0<=f>>>0){continue}break}C[a+72>>2]=g;C[a+68>>2]=n;return 0}function Pp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=C[b+4>>2];a:{if(n>>>0>a>>>0){break a}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}g=C[b+12>>2];c=g-8|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[a|0]|D[a+1|0]<<8;l=(c<<8|c>>>8)&65535;if(l>>>0<4){break a}c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}c=g-10|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[a+2|0]|D[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break a}e=g-14|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=c+2|0;if(e>>>0>f>>>0|f-e>>>0<2){break a}d=g-16|0;C[b+12>>2]=d;if((d|0)<=0){break a}g=D[e|0]|D[e+1|0]<<8;if(g){c=c+4|0;if(c>>>0>f>>>0){break a}e=f-c|0;c=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}d=d-c|0;C[b+12>>2]=d;if((d|0)<=0){break a}}c=D[a+6|0]|D[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;s=o>>>0>>0|f>>>0>>0;c=a;a=D[a+4|0]|D[a+5|0]<<8;q=(a<<8|a>>>8)&65535;j=c+q|0;t=j>>>0>>0|f>>>0>>0;u=f-o|0;v=f-j|0;a=0;g=0;while(1){b:{if(!(a&1)){c=g;break b}h=0;if(4294967295/(l>>>0)>>>0<=k>>>0){break a}e=I(k,l);p=e+j|0;if(e){if(f>>>0

>>0|n>>>0>p>>>0|f-p>>>0<0-e>>>0){break a}d=d+e|0;C[b+12>>2]=d;if((d|0)<=0){break a}}d=(k-r|0)+d|0;C[b+12>>2]=d;if((d|0)<=0|(e|0)>0){break a}a=j;c=g;if((e|0)<0){while(1){a=a-1|0;e=D[a|0]+1|0;c=c>>>0>e>>>0?c:e;if(a>>>0>p>>>0){continue}break}}r=k}c:{d:{e:{if((i|0)<=(m|0)){h=0;e=m+1|0;a=I(e,l);if(a>>>0>v>>>0|t){break a}d=d-a|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=d+((m^-1)+i|0)|0;C[b+12>>2]=d;if((a|0)<0|(d|0)<=0){break a}i=I(i,l);if((i|0)<(a|0)){break e}i=e}if(c){break d}c=0;break c}h=a+j|0;a=i+j|0;while(1){i=D[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}i=e}h=0;a=c<<2;if(a>>>0>u>>>0|s){break a}d=d-a|0;C[b+12>>2]=d;if((d|0)<=0){break a}}d=(g-c|0)+d|0;C[b+12>>2]=d;if((d|0)<=0){return 0}if((c|0)>(g|0)){e=(c<<2)+o|0;h=(g<<2)+o|0;while(1){a=D[h|0]|D[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-q|0)/(l|0)|0;m=(a|0)<(m|0)?m:a;k=(a|0)>(k|0)?k:a;h=h+4|0;if(e>>>0>h>>>0){continue}break}}g=c;a=(k|0)<(r|0);if(a|(i|0)<=(m|0)){continue}break}h=1}return h}function vv(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=Ce-16|0;Ce=i;g=C[b>>2];e=g<<1;u=a,v=Ve(d,4,0,e,0,i+12|0),C[u+12>>2]=v;a:{if(C[i+12>>2]){break a}u=a,v=Ve(d,28,0,g,0,i+12|0),C[u+8>>2]=v;if(C[i+12>>2]){break a}u=a,v=Ve(d,16,0,e|1,0,i+12|0),C[u+24>>2]=v;if(C[i+12>>2]){break a}C[a>>2]=g;C[a+28>>2]=0;C[a+20>>2]=0;C[a+4>>2]=0;C[a+16>>2]=C[a+12>>2]+(g<<2);b:{if(!g){break b}d=C[a+8>>2];b=C[b+8>>2];h=g&3;c:{if(!h){f=g;break c}e=0;f=g;while(1){C[d>>2]=C[b>>2];C[d+4>>2]=C[b+4>>2];C[d+16>>2]=C[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(g>>>0<4){break b}while(1){C[d>>2]=C[b>>2];C[d+4>>2]=C[b+4>>2];C[d+16>>2]=C[b+8>>2];C[d+28>>2]=C[b+12>>2];C[d+32>>2]=C[b+16>>2];C[d+44>>2]=C[b+20>>2];C[d+56>>2]=C[b+24>>2];C[d+60>>2]=C[b+28>>2];C[d+72>>2]=C[b+32>>2];C[d+84>>2]=C[b+36>>2];C[d+88>>2]=C[b+40>>2];C[d+100>>2]=C[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}j=C[c>>2];k=C[c+8>>2];C[a+32>>2]=c;if(!j){break d}while(1){p=C[k>>2];if(p){m=C[k+8>>2];b=0;l=0;q=0;while(1){if(!b){q=D[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=C[a+8>>2]+I(l,28)|0;c=C[h+16>>2];if(c&4){break e}C[h+16>>2]=c|4;c=C[a+16>>2];C[h+20>>2]=0;f:{if(!e){break f}r=C[h>>2];t=r+C[h+4>>2]|0;f=e;d=c;while(1){n=C[d>>2];s=C[n>>2];if(!((s|0)>(t|0)|(C[n+4>>2]+s|0)<(r|0))){C[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;C[a+4>>2]=d;C[c+(e<<2)>>2]=h;e=d}b=b>>>1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=C[a+8>>2]+I(o,28)|0;b=C[f+16>>2];g:{if(b&4){break g}C[f+16>>2]=b|4;c=C[a+16>>2];C[f+20>>2]=0;h:{if(!e){break h}k=C[f>>2];l=k+C[f+4>>2]|0;b=e;d=c;while(1){h=C[d>>2];j=C[h>>2];if(!((j|0)>(l|0)|(k|0)>(j+C[h+4>>2]|0))){C[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;C[a+4>>2]=b;C[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Ce=i+16|0;return C[i+12>>2]}function js(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ce+-64|0;Ce=d;a:{if(!a){C[d>>2]=2220;Qe(19745,d);break a}f=Ce-16|0;Ce=f;e=C[105668];b:{if(!e){Qe(19865,0);break b}if(!(C[a>>2]==(e+388|0)?a:0)){Qe(2168,0);break b}if(!D[22082]){C[f>>2]=17197;Qe(19745,f);break b}e=C[a+160>>2];if(!e){break b}while(1){c:{g=C[e>>2];if(!g){break c}if(uf(g,22082)){break c}h=C[e+4>>2];break b}e=C[e+8>>2];if(e){continue}break}}Ce=f+16|0;if(h){Qe(1938,0);break a}c=Eg(28445);d:{if(!c|!D[c|0]){break d}if(cg(28445,1)){b=b|4;break d}b=b&-5}e=1;e:{c=Eg(24592);f:{if(!c){break f}f=381140;if(wf(c,C[95286])){f=381228;if(wf(c,C[95308])){break f}}c=Fe[C[f>>2]](a,b)|0;e=!c;if(c){break e}}if((C[95287]&b)==(b|0)){c=Fe[C[95285]](a,b)|0;if(c){break e}}if((C[95309]&b)==(b|0)){c=Fe[C[95307]](a,b)|0;if(c){break e}}c=0;Qe(9355,0);break a}b=1;g:{if(C[c+428>>2]){break g}b=e;if(!Eg(26259)){break g}b=cg(26259,1)}C[c+204>>2]=a;C[c>>2]=422389;C[c+432>>2]=b;b=dj();C[c+448>>2]=1;C[c+384>>2]=1065353216;C[c+388>>2]=1065353216;C[c+368>>2]=1065353216;C[c+372>>2]=1065353216;C[c+416>>2]=b;b=C[c+8>>2];h:{if(!b){break h}if(Fe[b|0](c,d+52|0,d+48|0)|0){break h}Sh(C[c+204>>2],d+60|0,d+56|0);G[c+384>>2]=J(C[d+60>>2])/J(C[d+52>>2]);G[c+388>>2]=J(C[d+56>>2])/J(C[d+48>>2])}i=c,j=cg(26232,1),C[i+392>>2]=j;b=Eg(27457);if(b){b=Zf(b);b=(b|0)==3?2:(b|0)==2}else{b=0}C[c+396>>2]=b;i=c,j=(uk(a)&72)!=0,C[i+208>>2]=j;or(a,c);a=Ce-16|0;Ce=a;i:{if(!(C[c>>2]==422389?c:0)){C[a>>2]=9675;Qe(19745,a);break i}if((Hl(c,a+12|0,a+8|0)|0)<0){break i}C[c+232>>2]=0;C[c+236>>2]=0;C[c+240>>2]=0;C[c+244>>2]=0;H[c+248>>3]=C[a+12>>2];H[c+256>>3]=C[a+8>>2];if((zk(c)|0)<0|C[c+432>>2]){break i}b=C[c+436>>2];if(!b){break i}Fe[C[c+52>>2]](c,b,C[c+536>>2],C[c+540>>2])|0;b=C[c+440>>2];if(b){C[b+24>>2]=C[c+444>>2];C[c+444>>2]=C[c+436>>2];C[c+436>>2]=0;C[c+440>>2]=0}C[c+540>>2]=0;C[c+532>>2]=0;C[c+524>>2]=0;C[c+528>>2]=0;C[c+448>>2]=C[c+448>>2]+1}Ce=a+16|0;jt(469,c);C[d+16>>2]=C[c+120>>2];a=Ce-16|0;Ce=a;b=d+16|0;C[a+12>>2]=b;Mj(6,3,8838,b);Ce=a+16|0}Ce=d- -64|0;return c}function gS(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,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;a:{if(!(A[b+39|0]&1)){break a}v=C[c+20>>2]>>31|1;s=1;while(1){p=C[b+80>>2];w=p+t|0;if(p){o=C[b+100>>2];k=C[b+92>>2];l=w;a=p;while(1){m=0;i=0;g=0;d=a;j=I(d-1|0,20);e=j+k|0;b:{if((D[e+19|0]&254)!=8){if(!y){break b}h=C[e+4>>2];l=l-1|0;g=I(l,20);d=g+k|0;C[d>>2]=C[e>>2];C[d+4>>2]=h;C[d+16>>2]=C[e+16>>2];h=C[e+12>>2];C[d+8>>2]=C[e+8>>2];C[d+12>>2]=h;d=g+o|0;g=j+o|0;C[d+16>>2]=C[g+16>>2];e=C[g+12>>2];C[d+8>>2]=C[g+8>>2];C[d+12>>2]=e;e=C[g+4>>2];C[d>>2]=C[g>>2];C[d+4>>2]=e;break b}c:{while(1){h=d-1|0;e=I(h,20)+k|0;if((D[e+19|0]&254)==8){j=0;d=C[c+72>>2];f=Fe[C[d+168>>2]](c,C[c+76>>2],C[e>>2],C[d+32>>2])|0;d=D[e+19|0]!=8;m=(d?0:f)+m|0;g=(d?f:0)+g|0;i=d+i|0;f=0;e=0;d=h;if(d){continue}break c}break}e=d;f=0;d:{while(1){j=e-1|0;q=I(j,20);h=q+k|0;if((D[h+19|0]&254)==8){break d}r=E[h+16>>1];if(!((D[h+12|0]&16?0:r&32)|1<>2]+f|0;e=j;if(e){continue}break}e=0}j=d}h=I(f-m|0,v);m=0;f=I(g,v);d=0;e:{if((f|0)<=0){break e}d=0;if((f|0)>=(h|0)){break e}d=((h|0)/(f|0)|0)-1|0}g=d+1|0;f:{if((h|0)<=(I(g,f)|0)){g=d;break f}if((i|0)<=0){g=d;break f}d=I(f,d+2|0)-h|0;if((d|0)<=0){break f}m=(d|0)/(I(g,i)|0)|0}d=j+1|0;if(s){t=I(g,i)+t|0;a=d;break b}if(a-e>>>0>=2){Rf(b,e,a)}if(a>>>0<=j>>>0){a=d;break b}q=g+1|0;g=0;while(1){a=a-1|0;e=I(a,20);h=e+k|0;i=C[c+72>>2];r=Fe[C[i+168>>2]](c,C[c+76>>2],C[h>>2],C[i+32>>2])|0;x=D[h+19|0]!=9?1:q;if(x){i=e+o|0;e=0;while(1){g=(g-r|0)+(e?m:0)|0;C[i+8>>2]=g;l=l-1|0;n=I(l,20);f=n+k|0;C[f+16>>2]=C[h+16>>2];u=C[h+12>>2];C[f+8>>2]=C[h+8>>2];C[f+12>>2]=u;u=C[h+4>>2];C[f>>2]=C[h>>2];C[f+4>>2]=u;f=o+n|0;C[f+16>>2]=C[i+16>>2];n=C[i+12>>2];C[f+8>>2]=C[i+8>>2];C[f+12>>2]=n;n=C[i+4>>2];C[f>>2]=C[i>>2];C[f+4>>2]=n;e=e+1|0;if((x|0)!=(e|0)){continue}break}}if(a>>>0>j>>>0){continue}break}a=d}a=a-1|0;if(a){continue}break}}if(s){s=0;y=1;a=t+p|0;if(!a|a>>>0>2]){continue}if(aj(b,a)){continue}break a}break}C[b+80>>2]=w}}function yv(){var a=0,b=0,c=0,d=0,e=0;a:{b:{c:{b=C[104363];switch(b|0){case 0:break a;case 1:break c;default:break b}}if(C[104371]>0){while(1){$l(C[104370]);d=417508;b=a;d:{if((a|0)!=-2){if(!((b|0)=0)){Qe(11157,0);break d}d=(C[104372]+I(b,60)|0)+56|0}a=C[d>>2];if(a){while(1){c=C[a+12>>2];e=C[a+4>>2];if(e){Fe[e|0](b,C[a+8>>2])}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}C[d>>2]=0}_l(C[104370]);a=b+1|0;if((a|0)>2];c=C[a+4>>2];if(c){Fe[c|0](-2,C[a+8>>2])}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=b;if(a){continue}break}}C[104377]=0;_l(C[104370]);qi();e:{if(!C[104388]){break e}if(C[C[C[104388]>>2]+64>>2]){a=C[104388];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104388]+8>>2]=0;C[C[104388]+12>>2]=0;C[104388]=0;a=C[104381];if(!a){break e}Fe[a|0]()}mi();if(C[94461]){a=C[94475];if(a){Fe[a|0]()}C[94461]=0}if(C[94441]){a=C[94455];if(a){Fe[a|0]()}C[94441]=0}a=C[104390];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104390]=0}a=C[104380];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104380]=0}C[104389]=0;C[104379]=0;qi();f:{if(!C[104388]){break f}if(C[C[C[104388]>>2]+64>>2]){a=C[104388];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104388]+8>>2]=0;C[C[104388]+12>>2]=0;C[104388]=0;a=C[104381];if(!a){break f}Fe[a|0]()}mi();a=C[104378];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104378]=0}Ru(-1);a=0;if(C[104357]>0){while(1){b=C[C[104358]+(a<<2)>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}a=a+1|0;if((a|0)>>0<=15){a=C[(a<<2)+417824>>2];if(a){break g}}a=0;Qe(27615,0)}rg(a);C[104370]=0;a=C[104372];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104372]=0;a=C[104362];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104361]=0;C[104362]=0;b=C[104363]}C[104363]=b-1}}function pF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=C[a+36>>2]>>2;m=C[a+16>>2]>>2;i=C[a+28>>2];a:{g=D[a+63|0];if((g|0)==128){if(!i){break a}b=C[a+24>>2];g=b&3;k=(b+3|0)/4|0;c=C[a>>2];a=C[a+20>>2];b:while(1){i=i-1|0;b=k;c:{d:{switch(g-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=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;a=a+4|0;c=c+4|0;d=1;continue;case 1:d=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;a=a+4|0;c=c+4|0;d=2;continue;case 2:d=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;a=a+4|0;c=c+4|0;d=3;continue;default:break e}}d=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;d=b-1|0;a=a+4|0;c=c+4|0;f:{if((b|0)>1){b=d;break f}a=(l<<2)+a|0;c=(m<<2)+c|0;if(i){continue b}break a}d=0;continue}}}if(!i){break a}b=C[a+24>>2];f=b&3;k=(b+3|0)/4|0;c=C[a>>2];a=C[a+20>>2];g:while(1){i=i-1|0;d=k;h:{i:{switch(f-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=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=1;continue;case 1:b=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=2;continue;case 2:b=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=3;continue;default:break j}}b=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;b=d-1|0;a=a+4|0;c=c+4|0;k:{if((d|0)>1){d=b;break k}a=(l<<2)+a|0;c=(m<<2)+c|0;if(i){continue g}break a}b=0;continue}}}}function JK(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;i=Ce-16|0;Ce=i;C[i+4>>2]=0;o=C[a+100>>2];j=C[a+676>>2];a:{if(!j){e=Do(a,0);C[i+4>>2]=e;if(e){break a}j=C[a+676>>2]}n=C[j+8>>2];d=C[n>>2];m=Ve(o,4,0,d,0,i+4|0);if(C[i+4>>2]){break a}e=b>>>0>d>>>0?d:b;if(e){b=C[n+12>>2];while(1){b:{d=f<<2;g=C[d+c>>2];k=C[b+12>>2];if((g|0)<=(k|0)){h=C[b+4>>2];if((h|0)<=(g|0)){break b}}C[i+4>>2]=6;break a}l=d+m|0;d=C[b+8>>2];c:{if((d|0)>(g|0)){h=0-Ze(g-d|0,h-d|0)|0;break c}h=0;if((d|0)==(k|0)){break c}h=Ze(g-d|0,k-d|0)}C[l>>2]=h;b=b+24|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}b=C[n>>2];if(b>>>0>e>>>0){p((e<<2)+m|0,0,b-e<<2)}d:{if(D[j+16|0]){break d}e=C[a+104>>2];g=C[e+28>>2];h=C[a+676>>2];A[h+16|0]=1;if(Fe[C[a+508>>2]](a,1635148146,e,i+8|0)|0){break d}b=Bf(e,C[i+8>>2]);C[i+12>>2]=b;if(b){break d}b=vg(e);d=vg(e);e:{if((b|0)!=65536|(d|0)!=C[C[h+8>>2]>>2]){break e}c=0;b=Ve(g,8,0,d,0,i+12|0);C[h+20>>2]=b;if(C[i+12>>2]|(d|0)<=0){break e}while(1){f:{f=Ff(e);B[b>>1]=f;r=b,s=Ve(g,8,0,f,0,i+12|0),C[r+4>>2]=s;if(C[i+12>>2]){break f}f=0;if(E[b>>1]){while(1){k=Ff(e);l=f<<3;C[l+C[b+4>>2]>>2]=k<<16>>16<<2;k=Ff(e);C[(l+C[b+4>>2]|0)+4>>2]=k<<16>>16<<2;f=f+1|0;if(f>>>0>1]){continue}break}}b=b+8|0;c=c+1|0;if((d|0)!=(c|0)){continue}break e}break}b=C[h+20>>2];if(c){while(1){d=c-1|0;f=d<<3;b=C[(f+b|0)+4>>2];if(b){Fe[C[g+8>>2]](g,b)}b=C[h+20>>2];C[(f+b|0)+4>>2]=0;f=(c|0)>1;c=d;if(f){continue}break}}if(b){Fe[C[g+8>>2]](g,b)}C[h+20>>2]=0}xf(e)}d=C[n>>2];c=C[j+20>>2];g:{if(!c){break g}e=0;if(!d){d=0;break g}while(1){j=E[c>>1];h:{if(j>>>0<2){break h}f=(e<<2)+m|0;g=C[f>>2];h=C[c+4>>2];b=1;while(1){k=b<<3;l=k+h|0;q=C[l>>2];if((g|0)<(q|0)){j=g;b=k-8|0;d=b+h|0;g=C[d>>2];r=f,s=of(j-g|0,C[l+4>>2]-C[d+4>>2]|0,q-g|0)+C[(b+C[c+4>>2]|0)+4>>2]|0,C[r>>2]=s;d=C[n>>2];break h}b=b+1|0;if((j|0)!=(b|0)){continue}break}}c=c+8|0;e=e+1|0;if(e>>>0>>0){continue}break}}r=i,s=Iu(a,d,m),C[r+4>>2]=s}if(m){Fe[C[o+8>>2]](o,m)}Ce=i+16|0;return C[i+4>>2]}function Bm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=Ce+-64|0;Ce=h;C[h>>2]=C[b>>2];C[h+4>>2]=C[c>>2];m=D[e+9|0];o=m?10:9;l=a+8|0;while(1){g=(i<<2)+h|0;p=g;n=C[g>>2];C[g+8>>2]=n;if(D[e+i|0]){a:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){g=0;k=C[a+4>>2];if(!k|C[k>>2]){break a}C[k>>2]=130;break a}b:{c:{d:{g=(j<<3)+a|0;switch(C[g+12>>2]-1|0){case 0:break c;case 1:break d;default:break b}}g=C[g+8>>2]<<16;break a}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break a}g=g- -8192>>>14|0;break a}g=C[g+8>>2]}C[p+8>>2]=g+n;j=j+1|0}i=i+1|0;if((o|0)!=(i|0)){continue}break}if(!m){C[h+44>>2]=C[c>>2]}e:{if(f){f=C[h+44>>2];i=f-C[c>>2]|0;e=i>>31;i=(e^i)-e|0;g=C[h+40>>2];k=g-C[b>>2]|0;e=k>>31;k=(e^k)-e|0;f:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){j=0;e=C[a+4>>2];if(!e|C[e>>2]){break f}C[e>>2]=130;break f}g:{h:{i:{e=(j<<3)+a|0;switch(C[e+12>>2]-1|0){case 0:break h;case 1:break i;default:break g}}j=C[e+8>>2]<<16;break f}e=C[e+8>>2];if((e|0)<0){j=0-(8192-e>>14)|0;break f}j=e- -8192>>>14|0;break f}j=C[e+8>>2]}if(i>>>0>>0){i=g+j|0;e=C[c>>2];break e}i=C[b>>2];e=f+j|0;break e}j:{if(D[e+10|0]){g=C[h+40>>2];k:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){f=0;i=C[a+4>>2];if(!i|C[i>>2]){break k}C[i>>2]=130;break k}l:{m:{n:{f=(j<<3)+a|0;switch(C[f+12>>2]-1|0){case 0:break m;case 1:break n;default:break l}}f=C[f+8>>2]<<16;break k}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break k}f=f- -8192>>>14|0;break k}f=C[f+8>>2]}j=j+1|0;i=f+g|0;break j}i=C[b>>2]}if(D[e+11|0]){f=C[h+44>>2];o:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){e=C[a+4>>2];g=0;if(!e|C[e>>2]){break o}C[e>>2]=130;e=f;break e}p:{q:{r:{e=(j<<3)+a|0;switch(C[e+12>>2]-1|0){case 0:break q;case 1:break r;default:break p}}e=(C[e+8>>2]<<16)+f|0;break e}e=C[e+8>>2];if((e|0)<0){e=f-(8192-e>>14)|0;break e}e=(e- -8192>>>14|0)+f|0;break e}g=C[e+8>>2]}e=f+g|0;break e}f=C[h+44>>2];e=C[c>>2]}uj(d,C[h+8>>2],C[h+12>>2],C[h+16>>2],C[h+20>>2],C[h+24>>2],C[h+28>>2]);uj(d,C[h+32>>2],C[h+36>>2],C[h+40>>2],f,i,e);C[a+392>>2]=l;C[b>>2]=i;C[c>>2]=e;Ce=h- -64|0}function _w(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,o=0,p=0,q=0,r=0,s=0,t=0;n=Ce-16|0;Ce=n;e=jk(a,d);a:{if(e){break a}$k(a,b,c,d);e=C[a+2988>>2];k=C[a>>2];b=I(d,1468)+a|0;h=b;C[b+56>>2]=0;l=b+44|0;g=C[l>>2];c=C[b+52>>2];i=C[(d?12:4)+a>>2];if(!d){f=Ze(64,C[a+12>>2])}b=Te(C[(e+I(d,1572)|0)+248>>2],i);o=Ze((b|0)>=16?16:b,i);if((g|0)>0){p=I(g,48)+c|0;r=I(f,3);q=(I(d,1468)+a|0)- -64|0;while(1){b=B[c+8>>1];b:{if((b|0)<(f|0)|((r|0)>b<<1?C[c+24>>2]:0)){break b}c:{m=C[h+56>>2];d:{if((m|0)<=0){j=B[c+2>>1];break d}j=B[c+2>>1];t=C[q>>2];e=0;while(1){b=I(e,48)+t|0;s=j-B[b>>1]|0;g=s>>31;if(D[b+13|0]==D[c+1|0]&(o|0)>((g^s)-g|0)){break c}e=e+1|0;if((m|0)!=(e|0)){continue}break}}e=Nw(l,j,A[c+1|0],k,n+12|0);if(e){break a}b=C[n+12>>2];C[b>>2]=0;C[b+4>>2]=0;C[b+44>>2]=c;C[b+40>>2]=c;C[b+32>>2]=0;C[b+36>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;A[b+13|0]=D[c+1|0];g=B[c+2>>1];B[b>>1]=g;g=Te(g,i);C[b+8>>2]=g;C[b+4>>2]=g;C[c+16>>2]=c;break b}C[c+16>>2]=C[b+40>>2];C[C[b+44>>2]+16>>2]=c;C[b+44>>2]=c}c=c+48|0;if(p>>>0>c>>>0){continue}break}}b=C[h+56>>2];if((b|0)>0){f=C[(I(d,1468)+a|0)- -64>>2];l=f+I(b,48)|0;c=f;while(1){a=C[c+40>>2];e=a;if(e){while(1){C[e+12>>2]=c;e=C[e+16>>2];if((a|0)!=(e|0)){continue}break}}c=c+48|0;if(l>>>0>c>>>0){continue}break}while(1){a=f+28|0;i=f+24|0;o=C[f+40>>2];e=o;k=0;j=0;while(1){p=A[e|0]&1;r=!p;h=C[e+24>>2];e:{f:{g:{h:{if(h){b=C[h+12>>2];b=(b|0)!=0&(b|0)!=(f|0);c=C[e+20>>2];if(c){break h}if(b){break g}break e}b=0;c=C[e+20>>2];if(!c){break e}}if(!(b|C[c+12>>2])){break e}g=0;d=i;if(!b){break f}}c=h;g=1;d=a}b=C[d>>2];i:{if(b){q=B[e+2>>1]-B[c+2>>1]|0;d=q>>31;m=B[f>>1]-B[b>>1]|0;h=m>>31;if((d^q)-d>>>0>=(h^m)-h>>>0){break i}}b=C[c+12>>2]}if(g){C[a>>2]=b;A[b+12|0]=D[b+12|0]|2;break e}C[i>>2]=b}k=k+p|0;j=j+r|0;e=C[e+16>>2];if((o|0)!=(e|0)){continue}break}A[f+12|0]=(k|0)!=0&j>>>0<=k>>>0;if(!(!C[f+28>>2]|!C[i>>2])){C[a>>2]=0}f=f+48|0;if(l>>>0>f>>>0){continue}break}}e=0}Ce=n+16|0;return e}function kq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=D[a+4|0];if(!g){return 0}k=I(b+1|0,g);i=a+5|0;e=k+i|0;d=e;if(g>>>0>=4){j=g&252;while(1){h=d;d=h+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}c=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}h=g&3;if(h){while(1){c=D[d|0]|c<<8;d=d+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}h=g&3;j=I(b,g);d=j+i|0;i=0;if(g>>>0<4){f=0}else{l=g&252;f=0;while(1){b=d;d=b+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(h){while(1){f=D[d|0]|f<<8;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(c>>>0>>0){return 0}f=g&3;c=0;if(g>>>0<4){d=0}else{h=g&252;d=0;while(1){b=e;e=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(f){while(1){d=D[e|0]|d<<8;e=e+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!g){return 0}b=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=I(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),g);b=a+5|0;e=e+b|0;h=g&3;f=0;if(g>>>0<4){c=0}else{i=g&252;c=0;while(1){a=e;e=a+4|0;c=c+4|0;if((i|0)!=(c|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(h){while(1){c=D[e|0]|c<<8;e=e+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(c>>>0>>0){return 0}f=g&3;e=b+k|0;c=0;if(g>>>0<4){d=0}else{h=g&252;d=0;while(1){a=e;e=a+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(f){while(1){d=D[e|0]|d<<8;e=e+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}h=g&3;e=b+j|0;f=0;if(g>>>0<4){c=0}else{b=g&252;c=0;while(1){a=e;e=a+4|0;c=c+4|0;if((b|0)!=(c|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(h){while(1){c=D[e|0]|c<<8;e=e+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}return d-c|0}function Hu(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=Ce-16|0;Ce=e;f=C[b+28>>2];a:{b:{i=C[a+676>>2];if(!i|!C[a+648>>2]){break b}if(Fe[C[a+508>>2]](a,1668702578,b,e+8|0)|0){break b}d=Bf(b,C[e+8>>2]);C[e+12>>2]=d;if(d){break b}d=C[b>>2];c=C[b+32>>2];c:{if((vg(b)|0)!=65536){C[e+12>>2]=0;break c}l=Ve(f,4,0,C[i>>2],0,e+12|0);if(C[e+12>>2]){break c}m=Ve(f,4,0,C[i>>2],0,e+12|0);if(C[e+12>>2]){break c}n=Ve(f,4,0,C[i>>2],0,e+12|0);if(C[e+12>>2]){break c}j=Ff(b);g=Ff(b);r=j&4095;if(!r){break c}p=g+(c-d|0)|0;while(1){t=Ff(b);d:{e:{f:{g:{h:{d=Ff(b);j=d<<16>>16;if((j|0)<0){c=0;i:{if(!C[i>>2]){break i}while(1){w=(c<<2)+l|0,x=Ff(b)<<16>>16<<2,C[w>>2]=x;c=c+1|0;g=C[i>>2];if(c>>>0>>0){continue}break}if(!(d&16384)){break i}c=0;if(!g){break i}while(1){w=(c<<2)+m|0,x=Ff(b)<<16>>16<<2,C[w>>2]=x;c=c+1|0;g=C[i>>2];if(c>>>0>>0){continue}break}c=0;if(!g){break i}while(1){w=(c<<2)+n|0,x=Ff(b)<<16>>16<<2,C[w>>2]=x;c=c+1|0;if(c>>>0>2]){continue}break}}q=Gu(i,j&65535,l,m,n);if(!q|!(d&8192)){break d}d=C[b+32>>2];c=C[b>>2];C[b+32>>2]=c+p;u=d-c|0;j=Co(b,e+4|0);k=!j;d=C[e+4>>2];if(d){h=d}else{h=C[a+644>>2]}g=Bo(b,h);if(k|!g){break g}if((j|0)==-1){break h}if(!d){break f}h=C[a+648>>2];c=0;while(1){k=h;h=c<<1;o=E[h+j>>1]<<1;k=E[k+o>>1];v=Te(B[g+h>>1],q);h=C[a+648>>2];B[o+h>>1]=k+v;c=c+1|0;if((d|0)!=(c|0)){continue}break}break g}if(!(d&16384)){break d}c=0;if(!(C[i>>2]&2147483647)){break d}while(1){Ff(b);c=c+1|0;if(c>>>0>2]<<1>>>0){continue}break}break d}if(!C[a+644>>2]){break e}d=C[a+648>>2];c=0;while(1){h=c<<1;o=E[h+d>>1];k=Te(B[g+h>>1],q);d=C[a+648>>2];B[h+d>>1]=o+k;c=c+1|0;if(c>>>0>2]){continue}break}}if((j|0)==-1){break e}}if(j){Fe[C[f+8>>2]](f,j)}}if(g){Fe[C[f+8>>2]](f,g)}C[b+32>>2]=C[b>>2]+u}p=p+t|0;s=s+1|0;if((s|0)!=(r|0)){continue}break}}xf(b);break a}C[e+12>>2]=0}if(l){Fe[C[f+8>>2]](f,l)}if(m){Fe[C[f+8>>2]](f,m)}if(n){Fe[C[f+8>>2]](f,n)}Ce=e+16|0;return C[e+12>>2]}function xR(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,k=0,l=0;if(Hf(c,b,11180,0)){Mm(b,c,2,11,-1,-1);k=C[c+80>>2];a:{if(!k){break a}f=k-1|0;a=0;d=C[c+92>>2];g=D[d+15|0];while(1){b:{if((a|0)==(f|0)){a=k;break b}a=a+1|0;if((g|0)==D[(d+I(a,20)|0)+15|0]){continue}}break}if(!k){break a}h=C[c+92>>2];d=D[h+15|0];g=0;e=k;while(1){f=a;c:{switch(d&15){case 0:case 2:d:{e:{a=g+3|0;if(f>>>0>>0){break e}d=I(g,20)+h|0;if(D[d+18|0]!=16|D[d+38|0]!=18|D[d+58|0]!=4){break e}i=3;j=0;break d}i=0;a=g;j=1}d=g;f:{if(a>>>0>=f>>>0){break f}while(1){g:{d=I(a,20)+h|0;if(D[d+12|0]&32){break g}d=D[d+18|0];if(d>>>0>31|!(1<>>0>>0){a=0;e=g;if(!j){while(1){A[(I(e,20)+h|0)+19|0]=5;e=e+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(i-1>>>0>6){while(1){a=I(e,20)+h|0;A[a+39|0]=5;A[a+19|0]=5;A[a+59|0]=5;A[a+79|0]=5;A[a+99|0]=5;A[a+119|0]=5;A[a+139|0]=5;A[a+159|0]=5;e=e+8|0;if((l|0)!=(e|0)){continue}break}}a=l}if(a>>>0>>0){l=d+(a^-1)|0;e=0;j=d-a&7;if(j){while(1){A[(I(a,20)+h|0)+19|0]=3;a=a+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(l>>>0>=7){while(1){e=I(a,20)+h|0;A[e+39|0]=3;A[e+19|0]=3;A[e+59|0]=3;A[e+79|0]=3;A[e+99|0]=3;A[e+119|0]=3;A[e+139|0]=3;A[e+159|0]=3;a=a+8|0;if((d|0)!=(a|0)){continue}break}}a=d}if(a>>>0>>0){A[(I(a,20)+h|0)+19|0]=4;a=a+1|0}d=5;if(a>>>0>>0){while(1){i=3;e=I(a,20)+h|0;j=D[e+18|0];h:{i:{if((j|0)==22){break i}if(D[e+19|0]<4){break h}if((j|0)==30){i=D[e-1|0];break i}i=8;if(!((d|0)!=5|(j|0)!=27)){d=8;break i}if((d|0)==8){i=7;d=8;if((j|0)==10){break i}i=(j|0)==27?8:9;d=i;break i}i=d}A[e+19|0]=i}a=a+1|0;if((f|0)!=(a|0)){continue}break}}ar(c,g,f,788);h=C[c+92>>2];e=C[c+80>>2];break;default:break c}}a=f+1|0;g=a>>>0>>0?e:a;d=D[(I(f,20)+h|0)+15|0];a=f;while(1){j:{a=a+1|0;if(e>>>0<=a>>>0){a=g;break j}if((d|0)==D[(I(a,20)+h|0)+15|0]){continue}}break}g=f;if(f>>>0>>0){continue}break}}Hf(c,b,11205,0)}}function vC(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,j=0,k=0,l=0,m=0,n=0,o=0;if((c|0)==(e|0)){a=C[a+20>>2]+I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)|0;a:{if((b|0)<=(d|0)){c=(g|0)!=0;h=a+b|0;a=d-b|0;break a}c=(g|0)!=0;h=!g+(a+d|0)|0;a=b-d|0}lf(h,f,a+c|0);return}b:{if((b|0)==(d|0)){d=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+I(c,d)|0)+b|0;b=e-c|0;break c}a=((a+I(d,e)|0)+b|0)+(g?0:d)|0;b=c-e|0}c=0;b=b+((g|0)!=0)|0;if(!b){break b}e=b-1|0;g=b&7;if(g){while(1){A[a|0]=f;a=a+d|0;b=b-1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(e>>>0<7){break b}while(1){A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;b=b-8|0;if(b){continue}break}break b}h=b-d|0;i=h>>31;k=c-e|0;j=k>>31;if(((h^i)-i|0)==((j^k)-j|0)){i=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];d:{if((c|0)<=(e|0)){k=e-c|0;h=i+((b|0)>(d|0)?-1:1)|0;a=(a+I(c,i)|0)+b|0;break d}h=i+((b|0)<(d|0)?-1:1)|0;a=((a+I(e,i)|0)+d|0)+(g?0:h)|0}c=0;b=((g|0)!=0)+k|0;if(!b){break b}d=b-1|0;e=b&7;if(e){while(1){A[a|0]=f;a=a+h|0;b=b-1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break b}while(1){A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;b=b-8|0;if(b){continue}break}break b}h=d-b|0;i=h>>31;k=e-c|0;j=k>>31;i=(h^i)-i|0;j=(j^k)-j|0;e:{if(i>>>0>=j>>>0){n=j-i|0;k=j<<1;h=k-i|0;j=1;break e}n=i-j|0;l=1;k=i<<1;h=k-j|0;i=j;j=0}g=((g|0)!=0)+i|0;if(!g){break b}if((g|0)!=1){i=(c|0)>(e|0);e=i?0-l|0:l;l=0-j|0;m=j;j=(b|0)>(d|0);d=j?l:m;i=i?-1:1;j=j?-1:1;n=n<<1;o=g&-2;l=0;while(1){A[(C[a+20>>2]+I(C[a+16>>2],c)|0)+b|0]=f;m=c;c=(h|0)<0;m=m+(c?e:i)|0;b=(c?d:j)+b|0;A[(C[a+20>>2]+I(m,C[a+16>>2])|0)+b|0]=f;h=(c?k:n)+h|0;c=(h|0)<0;h=(c?k:n)+h|0;b=b+(c?d:j)|0;c=(c?e:i)+m|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}if(!(g&1)){break b}A[(C[a+20>>2]+I(C[a+16>>2],c)|0)+b|0]=f}}function pv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ce-16|0;Ce=i;d=C[a+12>>2];if(d){C[(C[a+20>>2]+(d<<4)|0)-4>>2]=b}l=C[a+24>>2];a:{if((l|0)<2){break a}o=l;while(1){p=o;j=o-2|0;g=C[a+32>>2];o=o-1|0;b=g+(o<<4)|0;m=C[b>>2];d=C[b+8>>2];while(1){b:{h=g+(j<<4)|0;b=C[h+8>>2];c:{h=C[h>>2];f=h>>>0>m>>>0?m:h;d:{e:{if(f>>>0<8){n=d;break e}n=(f-8>>>3|0)+1|0;h=n+b|0;n=d+n|0;e=d;while(1){if(D[b|0]&D[e|0]){break d}b=b+1|0;e=e+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=h}if(!f|!(D[b|0]&D[n|0]&-256>>f)){break c}}b=j>>>0>>0?j:o;n=j>>>0>o>>>0?j:o;if(b>>>0>=n>>>0|n>>>0>=l>>>0){break b}k=g+(n<<4)|0;m=C[k>>2];f:{if(!m){break f}g=g+(b<<4)|0;b=C[g>>2];g:{if(m>>>0<=b>>>0){l=m+7|0;f=l>>>3|0;break g}d=C[g+4>>2];C[i>>2]=0;l=m+7|0;f=l>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;q=g,r=Ve(c,1,e,d,C[g+8>>2],i),C[q+8>>2]=r;e=C[i>>2];if(e){break a}C[g+4>>2]=d<<3}d=b+1|0;if(m-b&1){if(F[g>>2]>b>>>0){h=C[g+8>>2]+(b>>>3|0)|0;A[h|0]=D[h|0]&-129>>(b&7)}b=d}if((d|0)==(m|0)){break g}while(1){if(F[g>>2]>b>>>0){d=C[g+8>>2]+(b>>>3|0)|0;A[d|0]=D[d|0]&-129>>(b&7)}h=b+1|0;if(h>>>0>2]){d=C[g+8>>2]+(h>>>3|0)|0;A[d|0]=D[d|0]&-129>>(h&7)}b=b+2|0;if((m|0)!=(b|0)){continue}break}}if(l>>>0<8){break f}h=f-1|0;e=C[k+8>>2];b=C[g+8>>2];j=0;d=f&3;if(d){while(1){A[b|0]=D[e|0]|D[b|0];f=f-1|0;e=e+1|0;b=b+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}if(h>>>0<3){break f}while(1){A[b|0]=D[e|0]|D[b|0];A[b+1|0]=D[e+1|0]|D[b+1|0];A[b+2|0]=D[e+2|0]|D[b+2|0];A[b+3|0]=D[e+3|0]|D[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}C[k>>2]=0;C[k+12>>2]=0;b=C[a+24>>2];d=b+(n^-1)|0;if((d|0)>0){b=C[k+12>>2];C[i+8>>2]=C[k+8>>2];C[i+12>>2]=b;b=C[k+4>>2];C[i>>2]=C[k>>2];C[i+4>>2]=b;b=d<<4;t(k,k+16|0,b);d=b+k|0;b=C[i+12>>2];C[d+8>>2]=C[i+8>>2];C[d+12>>2]=b;b=C[i+4>>2];C[d>>2]=C[i>>2];C[d+4>>2]=b;b=C[a+24>>2]}l=b-1|0;C[a+24>>2]=l;break b}b=(j|0)>0;j=j-1|0;if(b){continue}}break}if((p|0)>2){continue}break}e=0}Ce=i+16|0;return e}function Xm(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-32|0;Ce=f;C[f+28>>2]=0;C[f+20>>2]=0;C[f+24>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(a-6|0){default:d=a-265|0;if(d>>>0>9){break f}d=1<>2];if(d){d=d-1|0;if(d>>>0>2]){break d}d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;C[f+24>>2]=g;C[f+28>>2]=d;break c}A[b+20|0]=1;d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;C[f+24>>2]=g;C[f+28>>2]=d;break c}e=b+24|0;d=C[e>>2];m:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;l(0,g|0);l(1,d|0);h=+n();break m}h=H[C[b+36>>2]+(d<<3)>>3];break m}A[b+20|0]=1;d=C[51429];g=C[51428];C[105676]=g;C[105677]=d;l(0,g|0);l(1,d|0);h=+n()}n:{if(K(h)<2147483648){d=~~h;break n}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;break c}o:{if(D[b+48|0]){e=C[b+44>>2];break o}d=C[b+24>>2];p:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);h=+n();break p}h=H[C[b+36>>2]+(d<<3)>>3];break p}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);h=+n()}q:{if(K(h)<2147483648){e=~~h;break q}e=-2147483648}if((e|0)<0){A[b+20|0]=1;e=0}C[b+44>>2]=e}A[b+48|0]=1;C[c+24>>2]=e;e=b+24|0;break c}jl(b+20|0,b);break e}h=il(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=h;break e}A[b+20|0]=1;d=C[51429];C[105676]=C[51428];C[105677]=d;H[52838]=h;break e}pk(a,b)}if(!C[b+24>>2]){break b}break a}d=C[b+36>>2]+(d<<3)|0;g=C[d+4>>2];C[f+24>>2]=C[d>>2];C[f+28>>2]=g}C[e>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}ez(c,a,b,f+8|0)}Ce=f+32|0}function Dp(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;C[f+8>>2]=0;C[f+4>>2]=0;C[f>>2]=0;e=C[a+8>>2];d=C[a+4>>2];a:{if(!(Fe[C[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break a}c=C[f+8>>2];if(c){C[f>>2]=0;h=c;c=C[e+72>>2];if(!(Fe[C[c+156>>2]](e,C[e+76>>2],h,f,C[c+20>>2])|0)){break a}}C[f+4>>2]=0;c=C[e+72>>2];c=Fe[C[c+156>>2]](e,C[e+76>>2],C[f+12>>2],f+4|0,C[c+20>>2])|0;g=C[f+12>>2];if(!c|!b){g=Dp(a,b,g);if(g){c=C[f+8>>2];if(!c){break a}C[(C[d+92>>2]+I(C[d+76>>2],20)|0)+12>>2]=C[f>>2];b:{if(!$e(d,0,1)){a=C[d+84>>2];break b}a=C[d+76>>2];c:{if(a>>>0>2]){e=C[d+84>>2];b=C[d+96>>2];a=C[d+92>>2]+I(a,20)|0;break c}b=C[d+96>>2];e=C[d+84>>2];a=e-1|0;a=b+I(a>>>0<=e>>>0?a:0,20)|0}b=I(e,20)+b|0;e=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=e;C[b+16>>2]=C[a+16>>2];e=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=e;C[b>>2]=c;a=C[d+84>>2]+1|0;C[d+84>>2]=a}b=a-1|0;wj(C[d+96>>2]+I(a>>>0>=b>>>0?b:0,20)|0,d);g=g+1|0;break a}if(!c){g=0;break a}g=C[f+12>>2]}C[(C[d+92>>2]+I(C[d+76>>2],20)|0)+12>>2]=C[f+4>>2];d:{if(!$e(d,0,1)){a=C[d+84>>2];break d}a=C[d+76>>2];e:{if(a>>>0>2]){e=C[d+84>>2];c=C[d+96>>2];a=C[d+92>>2]+I(a,20)|0;break e}c=C[d+96>>2];e=C[d+84>>2];a=e-1|0;a=c+I(a>>>0<=e>>>0?a:0,20)|0}b=I(e,20)+c|0;c=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=c;C[b+16>>2]=C[a+16>>2];c=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=c;C[b>>2]=g;a=C[d+84>>2]+1|0;C[d+84>>2]=a}b=a-1|0;wj(C[d+96>>2]+I(a>>>0>=b>>>0?b:0,20)|0,d);g=C[f+8>>2];if(!g){g=1;break a}C[(C[d+92>>2]+I(C[d+76>>2],20)|0)+12>>2]=C[f>>2];f:{if(!$e(d,0,1)){a=C[d+84>>2];break f}a=C[d+76>>2];g:{if(a>>>0>2]){e=C[d+84>>2];c=C[d+96>>2];a=C[d+92>>2]+I(a,20)|0;break g}c=C[d+96>>2];e=C[d+84>>2];a=e-1|0;a=c+I(a>>>0<=e>>>0?a:0,20)|0}b=I(e,20)+c|0;c=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=c;C[b+16>>2]=C[a+16>>2];c=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=c;C[b>>2]=g;a=C[d+84>>2]+1|0;C[d+84>>2]=a}b=a-1|0;wj(C[d+96>>2]+I(a>>>0>=b>>>0?b:0,20)|0,d);g=2}Ce=f+16|0;return g}function Mo(a,b,c,d,e){var 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,u=0,v=0,w=0,x=0,y=0,z=0,E=0;f=Ce-80|0;Ce=f;a:{if(C[b+72>>2]!=C[a+16>>2]){C[f+76>>2]=6;break a}if((c|0)!=(e|0)){C[f+76>>2]=19;break a}p=b+108|0;b:{if(!d){e=0;d=0;break b}e=C[d+4>>2];d=C[d>>2]}r=C[a+8>>2];di(p,f+60|0);q=d+C[f+60>>2]|0;m=q&-64;C[f+60>>2]=m;h=C[f+64>>2]+e&-64;C[f+64>>2]=h;k=(d+C[f+68>>2]|0)+63|0;C[f+68>>2]=k&-64;l=(C[f+72>>2]+e|0)+63|0;C[f+72>>2]=l&-64;c:{u=k-m|0;k=u>>>6|0;g=I(k,3);n=(c|0)==3;v=n?g:k;if(v>>>0<=32767){w=l-h|0;o=w>>>6|0;s=(c|0)!=4?o:I(o,3);if(s>>>0<32768){break c}}C[f+76>>2]=98;break a}if(A[C[b+156>>2]+4|0]&1){i=C[b+88>>2];if(i){Fe[C[r+8>>2]](r,i)}C[b+88>>2]=0;i=C[b+156>>2];C[i+4>>2]=C[i+4>>2]&-2}g=n?g+3&536870908:k;z=b,E=hf(r,I(g,s),f+76|0),C[z+88>>2]=E;if(C[f+76>>2]){break a}n=e-h|0;i=d-m|0;j=C[b+156>>2];C[j+4>>2]=C[j+4>>2]|1;C[b+104>>2]=l>>6;C[b+100>>2]=q>>6;C[b+72>>2]=1651078259;A[b+94|0]=2;B[b+92>>1]=256;C[b+80>>2]=v;C[b+84>>2]=g;C[b+76>>2]=s;l=(d|0)==(m|0)&(e|0)==(h|0);if(!l){Pg(p,i,n)}C[f+20>>2]=1;C[f+16>>2]=p;C[f+12>>2]=b+76;q=Fe[C[a+56>>2]](C[a+52>>2],f+12|0)|0;C[f+76>>2]=q;d:{if(!q){e:{if((c|0)==3){if(w>>>0<64){break e}m=k-1|0;x=u&64;h=C[b+88>>2];y=(k|0)==1;e=o;while(1){f:{if(u>>>0<64){break f}a=h+v|0;if(x){d=D[h+m|0];A[a-1|0]=d;A[a-2|0]=d;a=a-3|0;A[a|0]=d;d=m}else{d=k}if(y){break f}while(1){j=D[(d+h|0)-1|0];A[a-1|0]=j;A[a-2|0]=j;A[a-3|0]=j;d=d-2|0;j=D[h+d|0];A[a-4|0]=j;A[a-5|0]=j;a=a-6|0;A[a|0]=j;if(d){continue}break}}h=g+h|0;e=e-1|0;if(e){continue}break}}if(!((c|0)!=4|w>>>0<64)){d=C[b+88>>2];a=d+I(g,s-o|0)|0;while(1){t(d,a,g);c=d+g|0;t(c,a,g);c=c+g|0;t(c,a,g);a=a+g|0;d=c+g|0;o=o-1|0;if(o){continue}break}}C[f+76>>2]=0;if(!l){Pg(p,0-i|0,0-n|0)}if(q){break d}break a}C[f+76>>2]=0;if(l){break a}Pg(p,0-i|0,0-n|0);break a}if(l){break d}Pg(p,0-i|0,0-n|0)}a=C[b+88>>2];if(a){Fe[C[r+8>>2]](r,a)}C[b+88>>2]=0;a=C[b+156>>2];C[a+4>>2]=C[a+4>>2]&-2}Ce=f+80|0;return C[f+76>>2]}function ZJ(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,j=0,k=0,l=0;e=Ce-1552|0;Ce=e;f=6;h=C[a+4>>2];a:{if(F[h+16>>2]<=c>>>0){break a}g=C[h+136>>2];C[a+164>>2]=C[b+16>>2];C[a+168>>2]=C[b+20>>2];C[a+108>>2]=0;C[a+72>>2]=1869968492;d=d&1024?d|3:d;i=d&3;f=Fe[C[C[g+12>>2]>>2]](e+52|0,h,b,a,0,0,!i,d>>>16&15,1255)|0;if(f){break a}j=d&1024;A[e+121|0]=j>>>10;f=qu(e+52|0,c);if(f){break a}c=e+1436|0;f=C[c+4>>2];C[e+40>>2]=C[c>>2];C[e+44>>2]=f;c=C[e+1432>>2];C[e+32>>2]=C[e+1428>>2];C[e+36>>2]=c;c=C[e+1448>>2];f=C[e+1444>>2];Fe[C[C[g+12>>2]+4>>2]](e+52|0);C[a+124>>2]=C[a+124>>2]&1|4;b:{if(j){b=C[a+156>>2];d=C[e+84>>2];C[a+32>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;d=a;a=C[e+92>>2];C[d+40>>2]=((a|0)>=0?a+32768&-65536:0-(32768-a&-65536)|0)>>16;a=C[e+44>>2];C[b+20>>2]=C[e+40>>2];C[b+24>>2]=a;a=C[e+36>>2];C[b+12>>2]=C[e+32>>2];C[b+16>>2]=a;C[b+32>>2]=c;C[b+28>>2]=f;A[b+8|0]=1;break b}g=C[e+92>>2];C[a+40>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;g=C[e+92>>2];C[a+56>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;A[C[a+156>>2]+8|0]=0;g=C[h+200>>2];h=C[h+208>>2];C[a+72>>2]=1869968492;h=h-g>>16;C[a+60>>2]=h;C[a+52>>2]=h;if(E[b+14>>1]<=23){C[a+124>>2]=C[a+124>>2]|256}h=a+108|0;b=e+32|0;Si(h,b);Pg(h,f,c);g=C[a+40>>2];C[e+12>>2]=0;C[e+8>>2]=g;g=e+8|0;ci(g,b);C[a+40>>2]=f+C[e+8>>2];C[e+8>>2]=0;C[e+12>>2]=C[a+52>>2];ci(g,b);C[a+52>>2]=c+C[e+12>>2];if(!(d&1)){c=C[a+168>>2];g=C[a+164>>2];c:{if(!(C[e+124>>2]?i:1)){break c}f=C[e+68>>2];b=B[f+2>>1];if((b|0)<=0){break c}b=b&65535;f=C[f+4>>2];while(1){k=f,l=Te(C[f>>2],g),C[k>>2]=l;k=f,l=Te(C[f+4>>2],c),C[k+4>>2]=l;f=f+8|0;i=b>>>0>1;b=b-1|0;if(i){continue}break}}k=a,l=Te(C[a+40>>2],g),C[k+40>>2]=l;k=a,l=Te(C[a+52>>2],c),C[k+52>>2]=l}di(h,e+16|0);b=C[e+16>>2];C[a+24>>2]=C[e+24>>2]-b;c=C[e+20>>2];f=C[e+28>>2];C[a+36>>2]=f;C[a+32>>2]=b;C[a+28>>2]=f-c;if(!(d&16)){break b}fk(a+24|0,C[a+52>>2])}f=0}Ce=e+1552|0;return f|0}function mf(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,o=0;if(!a){return kf(b)}if(b>>>0>=4294967232){C[105773]=48;return 0}f=b>>>0<11?16:b+11&-8;e=a-8|0;j=C[e+4>>2];d=j&-8;a:{if(!(j&3)){if(f>>>0<256){break a}if(d>>>0>=f+4>>>0){c=e;if(d-f>>>0<=C[108226]<<1>>>0){break a}}c=0;break a}g=d+e|0;b:{if(d>>>0>=f>>>0){d=d-f|0;if(d>>>0<16){break b}C[e+4>>2]=j&1|f|2;c=e+f|0;C[c+4>>2]=d|3;C[g+4>>2]=C[g+4>>2]|1;cm(c,d);break b}if(C[108112]==(g|0)){h=d+C[108109]|0;if(h>>>0<=f>>>0){break a}C[e+4>>2]=j&1|f|2;d=e+f|0;c=h-f|0;C[d+4>>2]=c|1;C[108109]=c;C[108112]=d;break b}if(C[108111]==(g|0)){d=d+C[108108]|0;if(d>>>0>>0){break a}c=d-f|0;c:{if(c>>>0>=16){C[e+4>>2]=j&1|f|2;h=e+f|0;C[h+4>>2]=c|1;d=d+e|0;C[d>>2]=c;C[d+4>>2]=C[d+4>>2]&-2;break c}C[e+4>>2]=d|j&1|2;c=d+e|0;C[c+4>>2]=C[c+4>>2]|1;c=0}C[108111]=h;C[108108]=c;break b}h=C[g+4>>2];if(h&2){break a}k=d+(h&-8)|0;if(k>>>0>>0){break a}m=k-f|0;d:{if(h>>>0<=255){d=C[g+12>>2];c=C[g+8>>2];if((d|0)==(c|0)){n=432424,o=C[108106]&rT(-2,h>>>3|0),C[n>>2]=o;break d}C[c+12>>2]=d;C[d+8>>2]=c;break d}l=C[g+24>>2];i=C[g+12>>2];e:{if((i|0)!=(g|0)){c=C[g+8>>2];C[c+12>>2]=i;C[i+8>>2]=c;break e}f:{h=g+20|0;c=C[h>>2];if(c){break f}h=g+16|0;c=C[h>>2];if(c){break f}i=0;break e}while(1){d=h;i=c;h=c+20|0;c=C[h>>2];if(c){continue}h=i+16|0;c=C[i+16>>2];if(c){continue}break}C[d>>2]=0}if(!l){break d}d=C[g+28>>2];c=(d<<2)+432728|0;g:{if(C[c>>2]==(g|0)){C[c>>2]=i;if(i){break g}n=432428,o=C[108107]&rT(-2,d),C[n>>2]=o;break d}C[(C[l+16>>2]==(g|0)?16:20)+l>>2]=i;if(!i){break d}}C[i+24>>2]=l;c=C[g+16>>2];if(c){C[i+16>>2]=c;C[c+24>>2]=i}c=C[g+20>>2];if(!c){break d}C[i+20>>2]=c;C[c+24>>2]=i}if(m>>>0<=15){C[e+4>>2]=j&1|k|2;c=e+k|0;C[c+4>>2]=C[c+4>>2]|1;break b}C[e+4>>2]=j&1|f|2;d=e+f|0;C[d+4>>2]=m|3;c=e+k|0;C[c+4>>2]=C[c+4>>2]|1;cm(d,m)}c=e}if(c){return c+8|0}e=kf(b);if(!e){return 0}c=C[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;jf(e,a,b>>>0>c>>>0?c:b);Re(a);return e}function Tj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=a&65535;f=a>>>16|0;a:{if((c|0)==1){a=D[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+f|0;c=b<<16;a=(b>>>0>65520?c+983040|0:c)|a;break a}if(b){if(c>>>0>=16){b:{c:{d:{if(c>>>0>5551){while(1){c=c-5552|0;e=347;a=b;while(1){g=D[a|0]+d|0;h=g+D[a+1|0]|0;i=h+D[a+2|0]|0;j=i+D[a+3|0]|0;k=j+D[a+4|0]|0;l=k+D[a+5|0]|0;m=l+D[a+6|0]|0;n=m+D[a+7|0]|0;o=n+D[a+8|0]|0;p=o+D[a+9|0]|0;q=p+D[a+10|0]|0;r=q+D[a+11|0]|0;s=r+D[a+12|0]|0;t=s+D[a+13|0]|0;u=t+D[a+14|0]|0;d=u+D[a+15|0]|0;f=d+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(f+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;e=e-1|0;if(e){continue}break}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break b}if(c>>>0<16){break d}}while(1){a=D[b|0]+d|0;e=a+D[b+1|0]|0;g=e+D[b+2|0]|0;h=g+D[b+3|0]|0;i=h+D[b+4|0]|0;j=i+D[b+5|0]|0;k=j+D[b+6|0]|0;l=k+D[b+7|0]|0;m=l+D[b+8|0]|0;n=m+D[b+9|0]|0;o=n+D[b+10|0]|0;p=o+D[b+11|0]|0;q=p+D[b+12|0]|0;r=q+D[b+13|0]|0;s=r+D[b+14|0]|0;d=s+D[b+15|0]|0;f=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(e+(a+f|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 c}}g=c-1|0;h=c&3;if(h){e=0;a=b;while(1){c=c-1|0;d=D[a|0]+d|0;f=f+d|0;b=a+1|0;a=b;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(g>>>0<3){break c}while(1){a=D[b|0]+d|0;e=a+D[b+1|0]|0;g=e+D[b+2|0]|0;d=g+D[b+3|0]|0;f=d+(g+(e+(a+f|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0}a=f<<16|d;break a}e:{if(!c){break e}g=c&3;f:{if(!g){a=c;break f}a=c;e=b;while(1){a=a-1|0;d=D[e|0]+d|0;f=f+d|0;b=e+1|0;e=b;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(c>>>0<4){break e}while(1){c=D[b|0]+d|0;e=c+D[b+1|0]|0;g=e+D[b+2|0]|0;d=g+D[b+3|0]|0;f=d+(g+(e+(c+f|0)|0)|0)|0;b=b+4|0;a=a-4|0;if(a){continue}break}}a=(f>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}}return a}function Vy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}g=C[b+12>>2];e=g-16|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<4){break a}e=a+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break a}d=g-20|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=A[e|0];if((d|0)<0){break a}if(!Oh((D[a+7|0]|(D[a+5|0]<<16|(d&255)<<24|D[a+6|0]<<8))+a|0,b)){return 0}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(i>>>0>2147483646){break a}d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);j=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0;e=a;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=i<<1;g=0;a=0;d=0;while(1){e=d;b:{c:{d:{e:{if((a|0)>=(g|0)){h=a+1|0;if(!(!i|h>>>0<4294967295/(m>>>0)>>>0)){return 0}d=I(h,m);f:{if(!d){f=C[b+12>>2];break f}if(F[b+4>>2]>k>>>0){break a}f=C[b+8>>2];if(f>>>0>>0|d>>>0>f-k>>>0){break a}f=C[b+12>>2]-d|0;C[b+12>>2]=f;if((f|0)<=0){break a}}d=((a^-1)+g|0)+f|0;C[b+12>>2]=d;if((d|0)<=0|(h>>>0>=4294967295/(i>>>0)>>>0?i:0)){break a}d=I(h,i);if((d|0)<0){break a}g=I(g,i);if((g|0)<(d|0)){break e}g=h}if(!e){break c}d=e;break d}l=(d<<1)+k|0;f=(g<<1)+k|0;d=e;while(1){g=D[f|0]|D[f+1|0]<<8;g=((g<<8|g>>>8)&65535)+1|0;d=d>>>0>g>>>0?d:g;f=f+2|0;if(l>>>0>f>>>0){continue}break}g=h}l=0;if(F[b+4>>2]>j>>>0){break a}h=C[b+8>>2];if(h>>>0>>0){break a}f=h-j|0;h=d<<3;if(f>>>0>>0){break a}f=C[b+12>>2]-h|0;C[b+12>>2]=f;if((f|0)<=0){break a}break b}f=C[b+12>>2];d=e}h=(e-d|0)+f|0;C[b+12>>2]=h;if((h|0)<=0){return 0}if((d|0)>(e|0)){h=(d<<3)+j|0;f=(e<<3)+j|0;while(1){e=D[f|0]|D[f+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;f=f+8|0;if(h>>>0>f>>>0){continue}break}}if((a|0)>=(g|0)){continue}break}l=1;if(!c){break a}C[c>>2]=d}return l}function cG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;b=gj(C[a+60>>2],b,c);a:{if(b){break a}b:{if(!C[a+36>>2]){C[d>>2]=1;break b}b=C[a>>2];d=Fe[C[b+4>>2]](b,0,0,1)|0;h=Ee;j=C[a+48>>2];l=C[a+52>>2];m=C[a+64>>2];c:{if((m|0)>0){n=C[a+68>>2];c=0;while(1){e=I(c,20);b=e+n|0;d:{if(!C[b>>2]){break d}i=I(D[a+14|0],E[a+12>>1]>>>3&31);o=e+n|0;k=I(i,C[o+4>>2]);e=C[a+44>>2];g=k;f=C[a+40>>2];k=k+f|0;g=g>>>0>k>>>0?e+1|0:e;if(d>>>0>>0&(g|0)>=(h|0)|(g|0)>(h|0)){break d}i=I(i,C[o+8>>2]+1|0);f=f+i|0;e=i>>>0>f>>>0?e+1|0:e;if(d>>>0>>0&(e|0)>=(h|0)|(e|0)>(h|0)){break c}}c=c+1|0;if((m|0)!=(c|0)){continue}break}}b=0;f=j;e=l}e:{j=C[a>>2];l=f-d|0;c=C[a+20>>2];i=c;m=c>>>0>l>>>0;d=e-(h+(d>>>0>f>>>0)|0)|0;c=c>>31;c=Fe[C[j+8>>2]](j,C[a+56>>2],1,m&(d|0)<=(c|0)|(c|0)>(d|0)?l:i)|0;if((c|0)<=0){break e}if((Pj(C[a+60>>2],C[a+56>>2],c)|0)>=0){break e}return-1}f:{if(!b){break f}c=C[a>>2];d=Fe[C[c+4>>2]](c,0,0,1)>>>0>>0;c=Ee;if(d&(e|0)>=(c|0)|(c|0)<(e|0)){break f}g:{h:{i:{c=C[b+16>>2];switch(c|0){case 1:break g;case 0:break h;default:break i}}C[b+16>>2]=c-1}a=C[a>>2];Fe[C[a+4>>2]](a,k,g,0)|0;break b}C[b>>2]=0}b=C[a>>2];d=Fe[C[b+4>>2]](b,0,0,1)|0;c=Ee;b=C[a+52>>2];if(d>>>0>2]&(c|0)<=(b|0)|(b|0)>(c|0)){break b}c=C[a+36>>2];if((c|0)==1){C[a+36>>2]=0;rt(C[a+60>>2]);break b}b=-1;j=(c|0)<=0?-1:c-1|0;h=C[a+64>>2];j:{if((h|0)<=0){break j}g=C[a+68>>2];c=0;if(h>>>0>=4){d=h&-4;f=0;while(1){e=g+I(c,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];e=g+I(c|1,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];e=g+I(c|2,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];e=g+I(c|3,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];c=c+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=h&3;if(!d){break j}f=0;while(1){e=g+I(c,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}C[a+36>>2]=j;c=C[a>>2];Fe[C[c+4>>2]](c,C[a+40>>2],C[a+44>>2],0)|0;if((Ee|0)<0){break a}}b=0}return b|0}function TR(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,k=0,l=0,m=0,n=0,o=0;f=Ce-32|0;Ce=f;if(Hf(c,b,26694,0)){Mm(b,c,7,1,18,-1);l=C[c+80>>2];a:{if(!l){break a}i=l-1|0;a=0;g=C[c+92>>2];d=D[g+15|0];while(1){b:{if((a|0)==(i|0)){a=l;break b}a=a+1|0;if((d|0)==D[(g+I(a,20)|0)+15|0]){continue}}break}if(!l){break a}j=C[c+92>>2];d=D[j+15|0];g=0;while(1){i=a;c:{if(!(1<<(d&15)&135)){break c}d:{if(i-g>>>0<2){break d}d=I(g,20)+j|0;if(D[d+18|0]!=18){break d}e=g+1|0;if(e>>>0>=i>>>0){break d}o=i-1|0;a=e;while(1){e:{n=I(a,20)+j|0;m=D[n+18|0];if(m>>>0<=63){h=m&31;if((m&63)>>>0>=32){h=1<>>32-h}k=(k&2143289344|h&238)!=0}else{k=0}f:{if(!k){h=!(D[n+12|0]&32)&(m|32)==44;if(!h&(a|0)!=(o|0)){break e}if(!h){break f}}a=a-1|0}h=a+1|0;if(h-g>>>0>=2){eg(c,g,h)}C[f+24>>2]=C[d+16>>2];h=C[d+12>>2];C[f+16>>2]=C[d+8>>2];C[f+20>>2]=h;h=C[d+4>>2];C[f+8>>2]=C[d>>2];C[f+12>>2]=h;Yf(d,I(e,20)+j|0,I(a-g|0,20));a=I(a,20)+j|0;C[a+16>>2]=C[f+24>>2];d=C[f+20>>2];C[a+8>>2]=C[f+16>>2];C[a+12>>2]=d;d=C[f+12>>2];C[a>>2]=C[f+8>>2];C[a+4>>2]=d;break d}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=g;if(i>>>0<=a>>>0){break c}while(1){d=I(g,20)+j|0;e=D[d+18|0];g:{if(!((e|32)!=44|D[d+12|0]&32)){a=g+1|0;break g}if(!(1<>>0>31){break g}e=D[d+14|0];if(!(e&16)&(e&15)!=0|a>>>0>=g>>>0){break g}e=g+1|0;if(e-a>>>0>=2){eg(c,a,e)}C[f+24>>2]=C[d+16>>2];e=C[d+12>>2];C[f+16>>2]=C[d+8>>2];C[f+20>>2]=e;e=C[d+4>>2];C[f+8>>2]=C[d>>2];C[f+12>>2]=e;d=I(a,20)+j|0;Yf(d+20|0,d,I(g-a|0,20));C[d+16>>2]=C[f+24>>2];e=C[f+20>>2];C[d+8>>2]=C[f+16>>2];C[d+12>>2]=e;e=C[f+12>>2];C[d>>2]=C[f+8>>2];C[d+4>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}e=C[c+80>>2];a=i+1|0;g=a>>>0>>0?e:a;j=C[c+92>>2];d=D[(j+I(i,20)|0)+15|0];a=i;while(1){h:{a=a+1|0;if(e>>>0<=a>>>0){a=g;break h}if(D[(I(a,20)+j|0)+15|0]==(d|0)){continue}}break}g=i;if(l>>>0>g>>>0){continue}break}}Hf(c,b,26715,0)}Ce=f+32|0}function tw(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=C[a+278664>>2];b=c;d=C[a>>2];if(d){Fe[C[b+8>>2]](b,d)}C[a>>2]=0;d=C[a+128>>2];if(d){b=C[d+12>>2];f=C[d+4>>2];if(f){while(1){g=C[b>>2];if(g){Fe[C[c+8>>2]](c,g)}C[b>>2]=0;b=b+4|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}b=C[d+12>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[d+12>>2]=0;b=C[a+128>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+128>>2]=0}b=C[a+84>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+84>>2]=0;e=C[a+72>>2];if(e){b=0;while(1){d=b<<4;f=d+C[a+80>>2]|0;if(C[f+4>>2]==1){e=C[f+12>>2];if(e){Fe[C[c+8>>2]](c,e)}C[(d+C[a+80>>2]|0)+12>>2]=0;e=C[a+72>>2]}b=b+1|0;if(e>>>0>b>>>0){continue}break}}b=C[a+80>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+80>>2]=0;if(C[a+52>>2]){b=C[a+56>>2];e=0;while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;d=C[b+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+24>>2]=0;b=b+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}if(C[a+64>>2]){b=C[a+68>>2];e=0;while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;d=C[b+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+24>>2]=0;b=b+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=C[a+56>>2];if(b){Fe[C[c+8>>2]](c,b)}e=0;C[a+56>>2]=0;b=C[a+68>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+68>>2]=0;b=C[a+104>>2];if(C[a+112>>2]){while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;d=C[b+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+24>>2]=0;b=b+36|0;e=e+1|0;if(e>>>0>2]){continue}break}b=C[a+104>>2]}if(b){Fe[C[c+8>>2]](c,b)}e=0;C[a+104>>2]=0;b=C[a+278688>>2];d=C[a+278680>>2];if(d){while(1){f=C[b>>2];if(f){Fe[C[c+8>>2]](c,f)}C[b>>2]=0;b=b+4|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}b=C[a+278688>>2]}if(b){Fe[C[c+8>>2]](c,b)}e=0;C[a+278688>>2]=0;b=C[a+278668>>2];if(C[a+278672>>2]){while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;if(C[b+4>>2]==1){d=C[b+12>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+12>>2]=0}b=b+16|0;e=e+1|0;if(e>>>0>2]){continue}break}b=C[a+278668>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+278668>>2]=0}}function Vh(a,b,c){var d=0,e=0,f=0,g=0;e=Ce-32|0;Ce=e;a:{if((a|0)<0){C[e>>2]=14820;Qe(19745,e);break a}if((b|0)<0){C[e+16>>2]=4382;Qe(19745,e+16|0);break a}b:{c:{d:{e:{f:{if(!((c&-268435456)!=268435456?c:0)){d=c>>>8&255;if(d>>>0<=7){break e}d=c&255;break f}d=2;if((c|0)==844715353|(c|0)==1498831189){break f}d=(c|0)==1431918169?2:1}d=mT(a,0,d,0);if(Ee){break c}break d}d=mT(a,0,d,0);if(Ee){break c}f=d;d=d+7|0;if(f>>>0>d>>>0){break c}d=d>>>3|0}f=d;d=d+3|0;if(f>>>0>d>>>0){break c}g=d&-4;if((g|0)>=0){break b}}d=0;_e(0);break a}d=If(1,60);if(!d){d=0;_e(0);break a}c=Gn(c);C[d+4>>2]=c;g:{if(!c){break g}C[d+36>>2]=0;C[d+40>>2]=0;C[d+16>>2]=g;C[d+12>>2]=b;C[d+8>>2]=a;C[d+48>>2]=b;C[d+44>>2]=a;b=C[c>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2)){a=0;b=Ce-16|0;Ce=b;g=1<>2]=6427;Qe(19745,b);break h}a=Fe[C[94503]](16)|0;if(a){C[94507]=C[94507]+1}if(!a){a=0;_e(0);break h}f=g<<2;c=f;c=Fe[C[94503]](c>>>0<=1?1:c)|0;if(c){C[94507]=C[94507]+1}C[a+4>>2]=c;if(!c){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=0;break h}C[a+8>>2]=1;C[a+12>>2]=1;C[a>>2]=g;lf(c,255,f)}Ce=b+16|0;if(!a){break g}if(C[a>>2]==2){b=C[a+4>>2];A[b+4|0]=0;A[b+5|0]=0;A[b+2|0]=255;A[b|0]=255;A[b+1|0]=255;A[b+6|0]=0}Er(d,a);b=Ce-16|0;Ce=b;i:{if(!a){C[b>>2]=16316;Qe(19745,b);break i}c=C[a+12>>2];C[a+12>>2]=c-1;if((c|0)>1){break i}c=C[a+4>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}Ce=b+16|0;a=C[d+8>>2]}j:{if(!a){break j}a=C[d+12>>2];if(!a){break j}a=mT(C[d+16>>2],0,a,0);if(Ee){Nf(d);d=0;_e(0);break a}b=Ol(a);C[d+20>>2]=b;if(!b){Nf(d);d=0;_e(0);break a}C[d>>2]=C[d>>2]|8;lf(b,0,a)}a=If(1,88);k:{if(!a){_e(0);break k}C[a+76>>2]=-1}C[d+52>>2]=a;if(!a){break g}l:{if(!C[C[d+4>>2]+24>>2]){break l}b=C[a+68>>2];c=b&-241|16;C[a+68>>2]=c;if((b|0)==(c|0)){break l}ag(a)}C[d+56>>2]=1;break a}Nf(d);d=0}Ce=e+32|0;return d}function Ty(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}f=C[b+12>>2];d=f-16|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<4){break a}d=a+4|0;if(d>>>0>c>>>0|c-d>>>0<4){break a}c=f-20|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}if(!Oh((D[a+7|0]|(D[a+5|0]<<16|(c&255)<<24|D[a+6|0]<<8))+a|0,b)){return 0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(h>>>0>2147483646){break a}c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);i=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;d=a;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);j=d+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;l=h<<1;f=0;a=0;c=0;while(1){d=c;b:{c:{d:{e:{if((a|0)>=(f|0)){g=a+1|0;if(!(!h|g>>>0<4294967295/(l>>>0)>>>0)){return 0}c=I(g,l);f:{if(!c){e=C[b+12>>2];break f}if(F[b+4>>2]>j>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|c>>>0>e-j>>>0){break a}e=C[b+12>>2]-c|0;C[b+12>>2]=e;if((e|0)<=0){break a}}c=((a^-1)+f|0)+e|0;C[b+12>>2]=c;if((c|0)<=0|(g>>>0>=4294967295/(h>>>0)>>>0?h:0)){break a}c=I(g,h);if((c|0)<0){break a}f=I(f,h);if((f|0)<(c|0)){break e}f=g}if(!d){break c}c=d;break d}k=(c<<1)+j|0;e=(f<<1)+j|0;c=d;while(1){f=D[e|0]|D[e+1|0]<<8;f=((f<<8|f>>>8)&65535)+1|0;c=c>>>0>f>>>0?c:f;e=e+2|0;if(k>>>0>e>>>0){continue}break}f=g}k=0;if(F[b+4>>2]>i>>>0){break a}g=C[b+8>>2];if(g>>>0>>0){break a}e=g-i|0;g=I(c,6);if(e>>>0>>0){break a}e=C[b+12>>2]-g|0;C[b+12>>2]=e;if((e|0)<=0){break a}break b}e=C[b+12>>2];c=d}g=(d-c|0)+e|0;C[b+12>>2]=g;if((g|0)<=0){return 0}if((c|0)>(d|0)){g=I(c,6)+i|0;e=I(d,6)+i|0;while(1){d=D[e|0]|D[e+1|0]<<8;d=(d<<8|d>>>8)&65535;a=(a|0)>(d|0)?a:d;e=e+6|0;if(g>>>0>e>>>0){continue}break}}if((a|0)>=(f|0)){continue}break}k=1}return k}function yh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ce-48|0;Ce=f;C[a+8>>2]=0;i=C[a+4>>2];if(i){C[C[a>>2]>>2]=281568;C[C[a>>2]+4>>2]=281568;C[C[a>>2]+8>>2]=281568;C[C[a>>2]+12>>2]=281568;C[C[a>>2]+16>>2]=281568}a:{if(!d){break a}e=D[c|0];if(!e){break a}j=6;if(!b){break a}h=D[b|0];if(!h){break a}C[f+24>>2]=0;C[f+28>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f>>2]=0;C[f+4>>2]=0;while(1){b:{c:{d:{g=h&255;if((g|0)!=43){if(!g){break d}g=D[b+1|0];break c}g=D[b+1|0];if(g){break c}k=1;g=0;break b}e:{if((d|0)<=0){d=0;b=0;break e}i=c+d|0;while(1){h=c;while(1){f:{if(D[((e&248)>>>3|0)+f|0]>>>(e&7)&1){g=h;break f}e=D[h+1|0];g=h+1|0;h=g;if(e){continue}}break}e=C[a+8>>2];g:{if((e|0)!=C[a+4>>2]){break g}C[f+44>>2]=0;if((e|0)==-1){break g}if((e|0)==536870911){j=64;break a}b=((e>>>1|0)+e|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Ve(C[a+12>>2],4,e,b,C[a>>2],f+44|0),C[l>>2]=m;j=C[f+44>>2];if(j){break a}C[a+4>>2]=b;e=C[a+8>>2]}C[a+8>>2]=e+1;C[C[a>>2]+(e<<2)>>2]=c>>>0>=g>>>0?281568:c;h=D[g|0];h:{i:{if(k){d=0;b=g;if(!(h&255)){e=0;c=g;break h}while(1){j:{if(!(D[((h&248)>>>3|0)+f|0]>>>(h&7)&1)){e=h;c=b;break j}e=0;A[b|0]=0;h=D[b+1|0];c=b+1|0;b=c;if(h){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(h&255)){e=0;c=g;d=0;break h}A[g|0]=0;c=g+1|0;e=D[g+1|0]}d=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}i=C[a+4>>2];b=C[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}C[f+44>>2]=0;if(b+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Ve(C[a+12>>2],4,i,b,C[a>>2],f+44|0),C[l>>2]=m;j=C[f+44>>2];if(j){break a}C[a+4>>2]=b}l:{if(!d){e=C[a+8>>2];break l}b=C[a+8>>2];e=b+1|0;C[a+8>>2]=e;C[C[a>>2]+(b<<2)>>2]=281568}j=0;C[C[a>>2]+(e<<2)>>2]=0;break a}j=((h&248)>>>3|0)+f|0;A[j|0]=D[j|0]|1<<(h&7)}b=b+1|0;h=g;continue}}Ce=f+48|0;return j}function AJ(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;e=Ce-16|0;Ce=e;j=C[b+16>>2];k=C[b+8>>2];Fe[C[b+28>>2]](b);a:{b:{c:{d:{c=C[b>>2];if(c>>>0>>0){C[b>>2]=c+1;if(D[c|0]==91){break d}}c=3;C[e+12>>2]=3;break c}Fe[C[b+28>>2]](b);e:{d=C[b>>2];f:{if(k>>>0<=d>>>0){break f}while(1){g:{h:{i:{c=D[d|0];if((c|0)!=60){if((c|0)!=93){break i}C[b>>2]=d+1;break b}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break b}c=C[b>>2];f=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break f}g=Ve(j,1,o,f,g,e+12|0);c=C[e+12>>2];if(c){break c}C[b>>2]=d;m=1;Fe[C[b+44>>2]](b,g,f,e+8|0,1)|0;h=C[e+8>>2];break h}if(c-48>>>0>9){f=o;break h}if(m){break f}j:{h=Fe[C[b+36>>2]](b)|0;if((h|0)<0){break j}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}c=C[b>>2];g=c+1|0;if(k-c>>>0>>0){break j}C[b>>2]=(c+h|0)+1;m=0;break g}c=3;C[e+12>>2]=3;m=0;break c}if(!g){break e}o=f}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(D[g+c|0]){break k}}h=c;if(!c){break f}}f=0;while(1){m:{n:{o:{switch(i|0){case 0:i=0;if((l|0)<12){break n}c=C[a+492>>2];n=(D[c+4|0]<<4)+D[c+5|0]|0;d=n<<4|12;C[a+496>>2]=d;if((d|0)>(k-C[b>>2]|0)){break f}r=a,s=Ve(j,1,12,d,c,e+12|0),C[r+492>>2]=s;c=C[e+12>>2];if(c){break c}case 1:i=1;d=C[a+496>>2];if((l|0)<(d|0)){break n}i=C[a+492>>2];if(n){p=i+24|0;c=0;while(1){q=d;d=(c<<4)+p|0;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=q+((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+3&-4)|0;C[a+496>>2]=d;c=c+1|0;if((n|0)!=(c|0)){continue}break}}r=a,s=Ve(j,1,n<<4|12,d+1|0,i,e+12|0),C[r+492>>2]=s;c=C[e+12>>2];if(c){break c}break;case 2:break o;default:break m}}i=2;if(C[a+496>>2]<=(l|0)){break f}}A[C[a+492>>2]+l|0]=D[g+f|0];l=l+1|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}Fe[C[b+28>>2]](b);d=C[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;C[e+12>>2]=3;break c}c=3;C[e+12>>2]=3;g=0}C[b+12>>2]=c}if(!m){break a}if(g){Fe[C[j+8>>2]](j,g)}}Ce=e+16|0}function km(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Ce-16|0;Ce=g;i=C[a+100>>2];C[g+12>>2]=0;e=C[a+528>>2];a:{if(!e){e=hf(i,420,g+12|0);if(C[g+12>>2]){break a}C[e+416>>2]=0;C[a+528>>2]=e}b:{c:{if(!b){break c}d=C[e>>2];if(!d){r=e,s=Ve(i,32,0,b,0,g+12|0),C[r+148>>2]=s;if(C[g+12>>2]){break a}r=e,s=Ve(i,196,0,b,0,g+12|0),C[r+216>>2]=s;if(C[g+12>>2]){break a}r=e,s=Ve(i,16,0,b,0,g+12|0),C[r+288>>2]=s;if(C[g+12>>2]){break a}d=Ve(i,4,0,b<<1,0,g+12|0);C[e+136>>2]=d;if(C[g+12>>2]){break a}C[e+284>>2]=a+460;C[e+212>>2]=a+168;C[e+144>>2]=a+132;j=2;C[e+140>>2]=d+(b<<2);d:{if(b>>>0<2){break d}f=b-1|0;o=f&3;a=C[e+288>>2];d=C[e+216>>2];h=C[e+148>>2];if(b-2>>>0>=3){q=f&-4;k=e+144|0;m=e+212|0;n=e+284|0;while(1){f=j<<2;C[f+k>>2]=h+32;C[f+m>>2]=d+196;C[f+n>>2]=a+16;l=f|4;C[l+k>>2]=h- -64;C[l+m>>2]=d+392;C[l+n>>2]=a+32;l=f+8|0;C[l+k>>2]=h+96;C[l+m>>2]=d+588;C[l+n>>2]=a+48;f=f+12|0;h=h+128|0;C[f+k>>2]=h;d=d+784|0;C[f+m>>2]=d;a=a- -64|0;C[f+n>>2]=a;j=j+4|0;p=p+4|0;if((q|0)!=(p|0)){continue}break}}if(!o){break d}f=0;while(1){k=(j<<2)+e|0;a=a+16|0;C[k+284>>2]=a;d=d+196|0;C[k+212>>2]=d;h=h+32|0;C[k+144>>2]=h;j=j+1|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}C[e>>2]=b;break c}if((b|0)!=(d|0)){break b}}a=C[e+4>>2];e:{if(!c){c=a;break e}if((a|0)!=(c|0)?a:0){break b}C[e+4>>2]=c}d=C[e>>2];if(C[e+24>>2]|(!d|!c)){break a}b=Ve(i,4,0,I(c,d),0,g+12|0);C[e+24>>2]=b;if(C[g+12>>2]|d>>>0<2){break a}h=d-1|0;i=h&3;a=1;if(d-2>>>0>=3){j=h&-4;d=0;h=e+24|0;while(1){C[h+(a<<2)>>2]=b+(I(a,c)<<2);f=a+1|0;C[h+(f<<2)>>2]=b+(I(c,f)<<2);f=a+2|0;C[h+(f<<2)>>2]=b+(I(c,f)<<2);f=a+3|0;C[h+(f<<2)>>2]=b+(I(c,f)<<2);a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}d=0;while(1){C[((a<<2)+e|0)+24>>2]=b+(I(a,c)<<2);a=a+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break a}C[g+12>>2]=3}Ce=g+16|0;return C[g+12>>2]}function Ww(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-10096|0;Ce=d;e=C[b+100>>2];p(d+3216|4,0,2996);C[d+3216>>2]=e;C[a+1624>>2]=0;C[a+52>>2]=0;c=C[(C[C[a>>2]+8>>2]<<2)+274608>>2];g=C[c+8>>2];e=0;f=C[C[a+36>>2]>>2];a:{if(!f){break a}f=C[f+92>>2];if(!f){break a}e=Fe[C[C[f+12>>2]+12>>2]](f,g)|0}b:{c:{if(e){break c}g=C[c+12>>2];if(!g){break b}e=0;f=C[C[a+36>>2]>>2];d:{if(!f){break d}f=C[f+92>>2];if(!f){break d}e=Fe[C[C[f+12>>2]+12>>2]](f,g)|0}if(e){break c}f=C[c+16>>2];if(!f){break b}e=0;c=C[C[a+36>>2]>>2];e:{if(!c){break e}c=C[c+92>>2];if(!c){break e}e=Fe[C[C[c+12>>2]+12>>2]](c,f)|0}if(!e){break b}}if(fi(b,e,1)){break b}e=C[b+84>>2];if(B[e+110>>1]<=0){break b}c=d+16|0;p(c,0,3188);f=C[a+40>>2];C[d+36>>2]=0;C[d+44>>2]=0;C[d+24>>2]=65536;C[d+28>>2]=65536;C[d+56>>2]=f;C[d+20>>2]=b;C[d+6196>>2]=0;C[d+6204>>2]=c;if(al(d+3216|0,e+108|0)){break b}if(jk(d+3216|0,0)){break b}e=0;$k(d+3216|0,0,0,0);c=C[d+3260>>2];if((c|0)>0){b=C[d+3268>>2];f=b+I(c,48)|0;while(1){c=C[b+20>>2];if(!(!c|C[c+20>>2]!=(b|0)|(e>>>0>15|b>>>0>=c>>>0))){g=B[b+2>>1]-B[c+2>>1]|0;c=g>>31;C[(I(e,12)+a|0)+56>>2]=(c^g)-c;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}}C[d+12>>2]=e;Im(d+12|0,a+56|0,F[d+56>>2]/100|0);C[a+52>>2]=C[d+12>>2];if(jk(d+3216|0,1)){break b}e=0;$k(d+3216|0,0,0,1);c=C[d+4728>>2];if((c|0)>0){b=C[d+4736>>2];f=b+I(c,48)|0;while(1){c=C[b+20>>2];if(!(!c|C[c+20>>2]!=(b|0)|(e>>>0>15|b>>>0>=c>>>0))){g=B[b+2>>1]-B[c+2>>1]|0;c=g>>31;C[(I(e,12)+a|0)+1628>>2]=(c^g)-c;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}}C[d+12>>2]=e;Im(d+12|0,a+1628|0,F[d+56>>2]/100|0);C[a+1624>>2]=C[d+12>>2]}if(C[a+52>>2]){b=C[a+56>>2]}else{b=(I(C[a+40>>2],50)|0)/2048|0}A[a+256|0]=0;C[a+252>>2]=b;C[a+248>>2]=(b|0)/5;if(C[a+1624>>2]){b=C[a+1628>>2]}else{b=(I(C[a+40>>2],50)|0)/2048|0}A[a+1828|0]=0;C[a+1824>>2]=b;C[a+1820>>2]=(b|0)/5;zp(d+3216|0);Ce=d+10096|0}function _q(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|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((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function iF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=C[a+36>>2];b=C[a+20>>2];j=C[a+16>>2];c=C[a>>2];f=C[a+28>>2];e=C[a+24>>2];a:{g=C[a+44>>2];if(C[g+24>>2]){if(!f){break a}d=D[a+63|0]>>>D[g+31|0]<>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break e}}C[b>>2]=d|C[c>>2];a=e-1|0;c=c+4|0;b=b+4|0;f:{if((e|0)>1){e=a;break f}b=b+i|0;c=c+j|0;if(f){continue b}break a}a=0;continue}}}if(!f){break a}a=C[a+40>>2];d=C[a+16>>2]|C[a+12>>2]|C[a+20>>2];h=e&7;g=(e+7|0)/8|0;g:while(1){f=f-1|0;e=g;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:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break j}}C[b>>2]=d&C[c>>2];a=e-1|0;c=c+4|0;b=b+4|0;k:{if((e|0)>1){e=a;break k}b=b+i|0;c=c+j|0;if(f){continue g}break a}a=0;continue}}}}function Qo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;C[a+180>>2]=d;j=a+180|0;C[a+52>>2]=j;d=C[a+72>>2];C[a+196>>2]=C[a+68>>2];C[a+200>>2]=d;C[a+192>>2]=c;C[a+188>>2]=b;C[a+184>>2]=e;d=j;while(1){l=C[d>>2];a:{b:{h=C[d+4>>2];f=C[d+20>>2];b=(h|0)>(f|0);i=C[d+12>>2];c:{if(!((i|0)>=((b?f:h)|0)&(i|0)<=(((f|0)>(h|0)?f:h)|0))){b=C[d+16>>2];C[d+32>>2]=b;C[d+36>>2]=f;c=(f+i|0)/2|0;C[d+28>>2]=c;e=(h+i|0)/2|0;C[d+12>>2]=e;f=C[d+8>>2];i=(f+l|0)/2|0;C[d+8>>2]=i;b=(b+f|0)/2|0;C[d+24>>2]=b;C[d+20>>2]=(c+e|0)/2;C[d+16>>2]=(b+i|0)/2;b=d+16|0;break c}if((f|0)!=(h|0)){break b}b=d-16|0}C[a+52>>2]=b;break a}m=b?1:2;g=C[a+100>>2];if((m|0)!=(g|0)){b=C[a+4>>2];n=(f|0)>=(h|0);e=n?f&b-1:((b+f|0)-1&0-b)-f|0;c=C[a+40>>2];k=C[a+8>>2];d:{if(!g){b=c;break d}g=C[a+88>>2];b=C[g+8>>2];o=c-b|0;if((o|0)<0){C[a+44>>2]=99;return 1}e:{if((b|0)==(c|0)){b=c;break e}C[g+16>>2]=o>>2;if((e|0)>=(k|0)){b=E[g+12>>1];B[g+12>>1]=(b&8?16:32)|b}C[a+88>>2]=c;b=c+32|0;C[a+40>>2]=b;C[c+8>>2]=b;C[c+16>>2]=0;C[g+28>>2]=c;B[a+84>>1]=E[a+84>>1]+1}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}A[a+87|0]=0}if(!C[a+92>>2]){C[a+92>>2]=b;C[a+88>>2]=b;b=b+32|0;C[a+40>>2]=b}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}c=C[a+88>>2];C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=b;C[c+28>>2]=0;C[c+4>>2]=0;b=D[a+176|0];B[c+12>>1]=b;f:{g:{if(!n){B[c+12>>1]=b|8;g=40;if((e|0)>=(k|0)){break g}break f}g=16;if((e|0)<(k|0)){break f}}B[c+12>>1]=b|g}if(!C[a+96>>2]){C[a+96>>2]=c}B[a+86>>1]=1;C[a+100>>2]=m}b=C[a+80>>2];c=C[a+76>>2];h:{if((f|0)<(h|0)){if(!om(a,2,1039,c,b)){break a}break h}C[d+20>>2]=0-f;C[d+12>>2]=0-i;C[d+4>>2]=0-h;e=D[a+86|0];b=om(a,2,1039,0-b|0,0-c|0);if(!(D[a+86|0]|!e)){c=C[a+88>>2];C[c+20>>2]=0-C[c+20>>2]}C[d+4>>2]=0-C[d+4>>2];if(!b){break a}}return 1}d=C[a+52>>2];if(j>>>0<=d>>>0){continue}break}C[a+72>>2]=h;C[a+68>>2]=l;return 0}function Lh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ce-16|0;Ce=g;e=C[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{f=D[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}m=(f|0)==45;f=D[e|0]}d:{if((f&255)==46){d=e;break d}C[g+8>>2]=e;f=bi(g+8|0,b,10);e:{d=C[g+8>>2];if((d|0)!=(e|0)){if(D[d|0]!=35|b>>>0<=d>>>0){break e}h=d+1|0;C[g+8>>2]=h;f=bi(g+8|0,b,f);d=C[g+8>>2];if((h|0)!=(d|0)){break e}}f=0;break a}if((e|0)==(d|0)){f=0;break a}l=(f|0)>32767;h=l?f:f<<16}f:{if(!(D[d|0]!=46|b>>>0<=d>>>0)){i=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;while(1){g:{f=D[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-58>>>0<4294967286){break f}h:{if((i|0)>214748363|(e|0)>214748363){break h}e=A[f+288256|0]+I(e,10)|0;if(!((c|0)<=0|h)){c=c-1|0;break h}i=I(i,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b;break f}e=0;i=1}i:{j:{k:{l:{k=d+1|0;if(!((D[d|0]|32)!=101|k>>>0>=b>>>0)){C[g+12>>2]=k;j=bi(g+12|0,b,10);m:{d=C[g+12>>2];if((k|0)!=(d|0)){if(D[d|0]!=35|b>>>0<=d>>>0){break m}f=d+1|0;C[g+12>>2]=f;j=bi(g+12|0,b,j);d=C[g+12>>2];if((f|0)!=(d|0)){break m}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break l}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}C[a>>2]=d;f=0;if(!(e|h)){break a}b=2147483647;if(l){break i}if(j){break a}if((c|0)<=0){break k}while(1){if((h|0)>214748363){break i}n:{if((e|0)>=214748364){if((i|0)==1){break i}i=(i|0)/10|0;break n}e=I(e,10)}h=I(h,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break j}C[a>>2]=d;b=2147483647;if(e|h){break i}break a}if((c|0)>=0){break j}while(1){a=h;h=(h|0)/10|0;o:{if((i|0)<=214748363){i=I(i,10);break o}e=(e|0)/10|0}if(!(!e&a-10>>>0>=4294967277)){c=c+1|0;if(!c){break j}continue}break}break a}if(!e){b=h;break i}b=Ze(e,i)+h|0}f=m?0-b|0:b}Ce=g+16|0;return f}function Jy(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}c=b;A[a+24|0]=0;C[a+32>>2]=c;e=C[c+12>>2];C[a+4>>2]=e;f=C[c+16>>2];C[a+8>>2]=f+e;C[a+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[a+12>>2]=d;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{g:{h:{if((f|0)<4){break h}C[a+12>>2]=d-4;i:{j:{c=D[e|0]|D[e+1|0]<<8;switch((c<<8|c>>>8)&65535){case 0:break i;case 1:break j;default:break g}}if(!Rp(e,a)){break h}break g}if(Qp(e,a)){break g}}if(D[a+24|0]|!C[a+28>>2]){break f}c=Pf(b);C[a+4>>2]=c;C[a+8>>2]=c+C[b+16>>2];if(!c){break f}while(1){A[a+24|0]=1;c=C[a+32>>2];e=C[c+12>>2];C[a+4>>2]=e;f=C[c+16>>2];C[a+8>>2]=f+e;d=1073741823;C[a+28>>2]=0;if(f>>>0<=67108862){d=f<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[a+12>>2]=d;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}k:{if((f|0)<4){break k}C[a+12>>2]=d-4;l:{m:{c=D[e|0]|D[e+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break l;case 0:break m;default:break g}}if(!Qp(e,a)){break k}break g}if(Rp(e,a)){break g}}if(D[a+24|0]|!C[a+28>>2]){break f}c=Pf(b);C[a+4>>2]=c;C[a+8>>2]=c+C[b+16>>2];if(c){continue}break}break f}if(!C[a+28>>2]){break e}d=0;C[a+28>>2]=0;if(F[a+4>>2]>e>>>0){break f}c=C[a+8>>2];n:{if(c>>>0>>0|c-e>>>0<4){break n}c=C[a+12>>2]-4|0;C[a+12>>2]=c;if((c|0)<=0){break n}d=1;o:{p:{c=D[e|0]|D[e+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break o;case 0:break p;default:break n}}d=Qp(e,a);break n}d=Rp(e,a)}c=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(c){break c}if(d){break d}break c}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break c}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(b);return 205712}Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function ts(a,b,c,d,e,f,g){var h=0,i=0,j=J(0),k=0,l=J(0),m=0,n=0,o=0,p=J(0),q=0,r=0,s=0,t=0,u=0,v=0,w=J(0),x=J(0),y=J(0),z=0,A=0,B=J(0),C=J(0),D=J(0),E=J(0),F=J(0),H=J(0),K=J(0),L=J(0),M=J(0),N=J(0),O=J(0),P=J(0),Q=J(0);t=I(a,b);A=t<<1;if((b|0)>0){v=a<<1;k=I(t,3);m=t;h=A;while(1){r=(m<<2)+c|0;u=(k<<2)+c|0;l=J(G[r>>2]+G[u>>2]);n=i<<2;o=n+c|0;s=(h<<2)+c|0;j=J(G[o>>2]+G[s>>2]);G[(i<<4)+d>>2]=l+j;i=a+i|0;G[((i<<4)+d|0)-4>>2]=j-l;n=(n+v<<2)+d|0;G[n-4>>2]=G[o>>2]-G[s>>2];G[n>>2]=G[u>>2]-G[r>>2];h=a+h|0;k=a+k|0;m=a+m|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>0){z=a<<1;q=0;s=0;while(1){i=s<<2;k=z+i|0;m=2;h=s;while(1){n=h+2|0;B=G[(n<<2)+c>>2];r=m<<2;v=r-8|0;C=G[v+e>>2];u=n+t|0;o=(u<<2)+c|0;D=G[o-4>>2];r=r-4|0;E=G[r+e>>2];p=G[o>>2];F=J(J(C*D)+J(E*p));H=G[g+v>>2];u=t+u|0;o=(u+t<<2)+c|0;K=G[o-4>>2];w=G[g+r>>2];l=G[o>>2];L=J(J(H*K)+J(w*l));M=J(F+L);N=G[f+v>>2];o=(u<<2)+c|0;O=G[o-4>>2];x=G[f+r>>2];j=G[o>>2];P=J(J(N*O)+J(x*j));y=G[((h<<2)+c|0)+4>>2];Q=J(P+y);G[(i<<2|4)+d>>2]=M+Q;i=i+2|0;p=J(J(C*p)-J(D*E));l=J(J(H*l)-J(K*w));w=J(p+l);j=J(J(N*j)-J(O*x));x=J(B+j);G[(i<<2)+d>>2]=w+x;y=J(y-P);p=J(p-l);G[((k<<2)+d|0)-12>>2]=y-p;k=k-2|0;l=J(L-F);j=J(B-j);G[(k<<2)+d>>2]=l-j;h=(i+z<<2)+d|0;G[h>>2]=j+l;G[h-4>>2]=p+y;h=(k+z<<2)+d|0;G[h>>2]=w-x;G[h-4>>2]=Q-M;h=n;m=m+2|0;if((m|0)<(a|0)){continue}break}s=a+s|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}}if(a&1){break a}}if((b|0)<=0){break a}s=a<<1;n=a<<2;i=(a+t|0)-1|0;m=A+i|0;q=0;k=a;h=a;while(1){g=(k<<2)+d|0;e=((h<<2)+c|0)-4|0;p=G[(i<<2)+c>>2];l=G[(m<<2)+c>>2];j=J(J(p-l)*J(.7071067690849304));G[g-4>>2]=G[e>>2]+j;f=(k+s<<2)+d|0;G[f-4>>2]=G[e>>2]-j;j=J(J(p+l)*J(-.7071067690849304));e=(i+t<<2)+c|0;G[g>>2]=j-G[e>>2];G[f>>2]=j+G[e>>2];h=a+h|0;k=k+n|0;m=a+m|0;i=a+i|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}}}function Bz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=C[a+24>>2];a:{b:{if(d){d=d-1|0;C[a+24>>2]=d;if(d>>>0>=F[a+32>>2]){break b}d=C[a+36>>2]+(d<<5)|0;break a}A[a+20|0]=1}d=C[51435];C[105682]=C[51434];C[105683]=d;d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704}e=C[b>>2];c:{i=H[d>>3];d:{if(K(i)<2147483648){d=~~i;break d}d=-2147483648}h=d+e|0;e:{if((h|0)<0){break e}d=C[b+4>>2];if(!d){break e}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=h>>>0){break e}e=C[a+92>>2];if(e>>>0<10){break c}}A[a+40|0]=1;return}d=C[a+4>>2];C[a+44>>2]=C[a>>2];C[a+48>>2]=d;A[a+60|0]=D[a+16|0];d=C[a+12>>2];C[a+52>>2]=C[a+8>>2];C[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){C[a+92>>2]=e+1;f=C[d+4>>2];e=C[a+104>>2]+I(e,28)|0;C[e>>2]=C[d>>2];C[e+4>>2]=f;C[e+24>>2]=C[d+24>>2];f=C[d+20>>2];C[e+16>>2]=C[d+16>>2];C[e+20>>2]=f;f=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=f;break f}A[a+88|0]=1}g:{h:{g=C[b+4>>2];if(g){b=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}l=C[51430];e=C[51428];b=C[51429];break g}f=D[g+4|0];e=I(f,b+1|0);b=g+5|0;m=e+b|0;e=0;i:{if(!f){break i}j=f&3;b=b+I(f,h)|0;if(f>>>0<4){e=0}else{n=f&252;while(1){f=b;b=b+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(!j){break i}while(1){e=D[b|0]|e<<8;b=b+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}e=(e+m|0)-1|0;b=kq(g,h)}C[a+44>>2]=e;C[a+68>>2]=h;C[a- -64>>2]=c;A[a+60|0]=0;C[a+56>>2]=0;C[a+52>>2]=l;C[a+48>>2]=b;b=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=b;b=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=b;A[a+16|0]=D[d+16|0]}function Pm(a,b,c,d,e){var f=0,g=0,h=J(0),i=0,j=0,k=0,l=0;C[e>>2]=0;C[d>>2]=0;a:{b:{c:{d:{f=D[a|0]|D[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=D[a+2|0]|D[a+3|0]<<8;i=c<<8|c>>>8;f=C[b+92>>2];j=C[f+20>>2];g=C[f+16>>2];b=C[g+28>>2];e:{if(b){c=b;break e}c=Lf(g);g=C[f+16>>2];b=C[g+28>>2]}G[d>>2]=J(J(i<<16>>16)*J(j|0))/J(c>>>0);a=D[a+4|0]|D[a+5|0]<<8;h=J(J((a<<8|(a&65280)>>>8)<<16>>16)*J(C[f+24>>2]));if(!b){b=Lf(g)}G[e>>2]=h/J(b>>>0);return}f=Ce-16|0;Ce=f;g=C[b+92>>2];i=C[g+52>>2];j=C[g+48>>2];C[f+4>>2]=0;C[f>>2]=0;f:{g:{b=0;h:{if(!(i|j)){break h}k=D[a+6|0]|D[a+7|0]<<8;C[f+4>>2]=0;l=(k<<8|k>>>8)&65535;k=C[g+72>>2];b=0;if(!(Fe[C[k+204>>2]](g,C[g+76>>2],c,l,f+4|0,f,C[k+68>>2])|0)){break h}Aj(g,c,f+12|0,f+8|0);b=C[f+4>>2]-C[f+12>>2]|0;C[f+4>>2]=b;C[f>>2]=C[f>>2]-C[f+8>>2];if(j){break g}b=1}c=b;b=D[a+2|0]|D[a+3|0]<<8;h=J(J((b<<8|b>>>8)<<16>>16)*J(C[g+20>>2]));j=C[g+16>>2];b=C[j+28>>2];if(!b){b=Lf(j)}h=J(h/J(b>>>0));break f}c=1;h=J(b|0)}G[d>>2]=h;if(!c|!i){a=D[a+4|0]|D[a+5|0]<<8;h=J(J((a<<8|a>>>8)<<16>>16)*J(C[g+24>>2]));b=C[g+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}h=J(h/J(a>>>0))}else{h=J(C[f>>2])}G[e>>2]=h;Ce=f+16|0;return}c=D[a+2|0]|D[a+3|0]<<8;j=c<<8|c>>>8;c=b;g=C[b+92>>2];k=C[g+20>>2];i=C[g+16>>2];b=C[i+28>>2];i:{if(b){f=b;break i}f=Lf(i);i=C[g+16>>2];b=C[i+28>>2]}G[d>>2]=J(J(j<<16>>16)*J(k|0))/J(f>>>0);f=D[a+4|0]|D[a+5|0]<<8;h=J(J((f<<8|f>>>8)<<16>>16)*J(C[g+24>>2]));if(!b){b=Lf(i)}G[e>>2]=h/J(b>>>0);if(C[g+48>>2]|C[g+60>>2]){b=D[a+6|0]|D[a+7|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+a|0}else{b=205712}b=Tp(b,g,C[c+112>>2]);G[d>>2]=G[d>>2]+J(b|0)}if(C[g+52>>2]|C[g+60>>2]){b=D[a+8|0]|D[a+9|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=205712}a=Up(a,g,C[c+112>>2]);G[e>>2]=G[e>>2]+J(a|0)}}}function Cy(a,b,c,d,e,f,g){var h=0,i=0;a:{b:{if((b|0)!=1196445523){h=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;h=F[a+16>>2]<10?205712:C[a+12>>2]}c:{d:{e:{if((d|0)==-1){break e}a=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65537){break e}a=D[h+10|0]|D[h+11|0]<<8|(D[h+12|0]<<16|D[h+13|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=a?a+h|0:205712;a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<=d>>>0?205712:(b+(d<<3)|0)+8|0;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);i=a?a+b|0:205712;a=D[i+4|0]|D[i+5|0]<<8;if(!a){break e}a=(a<<8|a>>>8)&65535;d=a>>>0<=1?1:a;a=0;while(1){b=i+I(a,6)|0;b=D[b+6|0]|D[b+7|0]<<8;if(((b<<8|b>>>8)&65535)==(c|0)){break d}a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=205712;b=D[h+6|0]|D[h+7|0]<<8;if(b){a=h+((b<<8|b>>>8)&65535)|0}b=D[a|0]|D[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?205712:(I(c,6)+a|0)+2|0;b=D[b+4|0]|D[b+5|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=205712}break c}a=i+I(a,6)|0;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=a?a+i|0:205712}f:{if(!f){break f}b=D[a+2|0]|D[a+3|0]<<8;c=(b<<8|b>>>8)&65535;b=c-e|0;c=b>>>0<=c>>>0?b:0;b=C[f>>2];c=b>>>0>c>>>0?c:b;C[f>>2]=c;if(!c){break f}b=(a+(e<<1)|0)+4|0;if(c&1){a=D[b|0]|D[b+1|0]<<8;C[g>>2]=(a<<8|a>>>8)&65535;b=b+2|0;g=g+4|0;f=c-1|0}else{f=c}if((c|0)==1){break f}d=f;while(1){a=D[b|0]|D[b+1|0]<<8;C[(f?g:422704)>>2]=(a<<8|a>>>8)&65535;h=(f|0)!=0;c=(h<<2)+g|0;e=(f|0)!=(h|0);a=D[b+2|0]|D[b+3|0]<<8;C[(e?c:422704)>>2]=(a<<8|a>>>8)&65535;g=c+(e<<2)|0;f=f-(e+h|0)|0;b=b+4|0;d=d-2|0;if(d){continue}break}}}function uz(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,o=0;f=Ce-80|0;Ce=f;g=0;a:{if(F[a+16>>2]<=c>>>0){break a}b:{g=C[b+60>>2];if(!g){break b}e=C[C[a>>2]>>2];e=e?e:205712;e=F[e+16>>2]<20?205712:C[e+12>>2];e=D[e+4|0]|D[e+5|0]<<8;if((g|0)!=((e<<8|e>>>8)&65535)){break b}C[f+76>>2]=-8388609;C[f+68>>2]=2139095039;C[f+72>>2]=-8388609;C[f+60>>2]=0;C[f+64>>2]=2139095039;C[f+56>>2]=d;C[f+52>>2]=b;if(d){C[f+76>>2]=-8388609}C[f+24>>2]=C[f+76>>2];d=C[f+72>>2];C[f+16>>2]=C[f+68>>2];C[f+20>>2]=d;d=C[f+64>>2];C[f+8>>2]=C[f+60>>2];C[f+12>>2]=d;d=C[f+56>>2];C[f>>2]=C[f+52>>2];C[f+4>>2]=d;g=zq(a,b,c,f);break a}pq(f+28|0,a,c);g=1;if(!C[f+48>>2]){break a}g=C[f+44>>2];e=C[a+4>>2];i=C[e+4>>2];c=C[f+40>>2];c:{d:{if(i>>>0>c>>>0){a=C[e+12>>2];a=((c|0)<0?205712:C[(a?a:205712)+12>>2]+(c<<2)|0)+2|0;break d}a=0;h=0;if(c>>>0>=F[e>>2]){break c}a=C[e+12>>2];a=(c-i<<1)+((i|0)<0?205712:C[(a?a:205712)+12>>2]+(i<<2)|0)|0}a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;h=a>>31}c=C[b+32>>2];j=C[b+36>>2];e=mT(a,h,c,j);a=Ee;e=e+32768|0;C[d>>2]=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;e=D[g+4|0]|D[g+5|0]<<8;i=(e<<8|e>>>8)<<16>>16;h=D[g+8|0]|D[g+9|0]<<8;k=(h<<8|h>>>8)<<16>>16;a=C[b+40>>2];l=C[b+44>>2];e=(i|0)<(k|0)?h:e;h=e<<8|e>>>8;b=h<<16>>16;e=mT(a,l,b,b>>31);b=Ee;e=e+32768|0;C[d+4>>2]=((e>>>0<32768?b+1|0:b)&65535)<<16|e>>>16;b=D[g+2|0]|D[g+3|0]<<8;m=(b<<8|b>>>8)<<16>>16;e=D[g+6|0]|D[g+7|0]<<8;n=(e<<8|e>>>8)<<16>>16;o=c;c=(m|0)<(n|0)?e:b;b=(m|0)>(n|0)?e:b;b=(c<<8|c>>>8)-(b<<8|b>>>8)<<16>>16;c=mT(o,j,b,b>>31);b=Ee;c=c+32768|0;C[d+8>>2]=((c>>>0<32768?b+1|0:b)&65535)<<16|c>>>16;c=a;b=(i|0)>(k|0)?g+8|0:g+4|0;b=D[b|0]|D[b+1|0]<<8;a=(b<<8|b>>>8)-h<<16>>16;b=mT(c,l,a,a>>31);a=Ee;b=b+32768|0;C[d+12>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16;g=1}Ce=f+80|0;return g}function Lx(a,b,c){var d=0;d=205712;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 1:f:{g:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 4:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 5:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 6:h:{i:{j:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+6|0]|D[a+7|0]<<8;if(!b){break b}break a;case 7:k:{l:{m:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=D[b+2|0]|D[b+3|0]<<8?b+4|0:205712;b=D[b|0]|D[b+1|0]<<8;if(!b){break b}break a;case 8:break c;default:break b}}if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;d=Lx(c,b,(a<<8|a>>>8)&65535)}else{d=205712}}return d}return((b<<8|b>>>8)&65535)+a|0}function Xy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=J(0),k=J(0);d=D[a|0]|D[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;d=d>>>0<=1?1:d;h=a+8|0;a:{while(1){i=h+(f<<3)|0;e=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);if(J(J(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*J(152587890625e-16))==J(0)){break a}f=f+1|0;if((d|0)!=(f|0)){continue}break}return 0}b:{c:{d:{d=D[a+2|0]|D[a+3|0]<<8;g=(d<<8|d>>>8)&65535;switch(g|0){case 0:break b;case 1:break d;default:break c}}a=h+(f<<3)|0;a=D[a+6|0]|D[a+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=D[a|0]|D[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}f=0;d=g-1|0;e:{if(!d){break e}f=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);h=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+b|0;f=0;while(1){e=f>>>0>=g>>>0?205712:h+(f<<2)|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if(J(J(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*J(152587890625e-16))>=c){break e}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d}d=f-1|0;g=d>>>0<=f>>>0?d:0;d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;h=g>>>0>>0;f=g+1|0;d=f>>>0>>0;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+b|0;e=h?a+(g<<2)|0:205712;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);k=J(J(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*J(152587890625e-16));a=d?a+(f<<2)|0:205712;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=J(J(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*J(152587890625e-16));if(k==j){c=J(0)}else{c=J(J(c-k)/J(j-k))}a=D[i+6|0]|D[i+7|0]<<8;b=((a<<8|a>>>8)&65535)+b|0;a=d?b+(f<<1)|0:205712;a=D[a|0]|D[a+1|0]<<8;j=J(c*J((a<<8|a>>>8)<<16>>16));a=h?b+(g<<1)|0:205712;a=D[a|0]|D[a+1|0]<<8;c=J(O(J(J(j+J(J(J(1)-c)*J((a<<8|a>>>8)<<16>>16)))+J(.5))));if(J(K(c))>2]==(e+388|0)?a:0)){Qe(2168,0);return-1}a:{b=C[e+136>>2];b:{if(b){c=Fe[b|0](e,a)|0;if((c|0)>=0){break b}}g=C[a+16>>2];b=g&-65536;if(!((b|0)!=805240832&(b|0)!=536805376)){a=g&65535;return(a|0)>2]?a:0}d=C[a+20>>2];b=d&-65536;if((b|0)==536805376|(b|0)==805240832){break a}c=0;b=C[105668];e=C[b+372>>2];if((e|0)>0){b=C[b+376>>2];while(1){if(C[(b+I(c,72)|0)+60>>2]==(a|0)){break b}c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=C[a+24>>2];f=Ce-32|0;Ce=f;C[f+28>>2]=d+(C[a+28>>2]/2|0);C[f+24>>2]=g+((b|0)/2|0);c:{d:{e:{if(C[C[105668]+372>>2]<=0){e=-1;break e}o=2147483647;g=0;e=-1;while(1){d=f+8|0;qn(g,d);c=0;k=0;p=0;l=0;q=0;m=Ce-32|0;Ce=m;r=f+24|0;f:{if(!r){C[m>>2]=6032;Qe(19745,m);break f}if(d){g:{b=C[d+8>>2];if((b|0)<=0){break f}a=C[d+12>>2];if((a|0)<=0){break f}s=C[d+4>>2];t=a+s|0;h=C[d>>2];d=h+b|0;n=0;while(1){a=(l<<3)+r|0;i=C[a>>2];h:{if((h|0)>(i|0)|(d|0)<=(i|0)){break h}j=C[a+4>>2];if((s|0)>(j|0)|(j|0)>=(t|0)){break h}if(!c){c=1;break f}b=(j|0)<(p|0);n=b?n:(j|0)>(n|0)?j:n;a=(i|0)<(q|0);k=a?k:(i|0)>(k|0)?i:k;p=b?j:p;q=a?i:q;c=1}l=l+1|0;if((l|0)!=1){continue}break}if(c){break g}c=0;break f}}c=1}Ce=m+32|0;if(c){break d}c=C[f+12>>2];b=C[f+28>>2];d=C[f+8>>2];a=C[f+24>>2];i:{if((d|0)>(a|0)){break i}h=C[f+16>>2]+d|0;d=a;if((a|0)<(h|0)){break i}d=h-1|0}j:{if((b|0)<(c|0)){break j}h=C[f+20>>2]+c|0;c=b;if((h|0)>(b|0)){break j}c=h-1|0}b=b-c|0;a=a-d|0;a=I(b,b)+I(a,a)|0;b=(a|0)<(o|0);o=b?a:o;e=b?g:e;g=g+1|0;if((g|0)>2]){continue}break}if((e|0)>=0){break c}}Qe(5885,0);break c}e=g}Ce=f+32|0;c=e}return c}a=d&65535;return(a|0)>2]?a:0}function WG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-80|0;Ce=b;g=C[a+68>>2];C[b+48>>2]=g;A[b+78|0]=105;A[b+79|0]=0;a:{if((S(383230,b+78|0,b+48|0)|0)<0){c=Qe(34234,0);break a}e=a+4|0;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{d=E[a+8>>1];if(d>>>0<=33055){n:{switch(d-32776|0){case 8:break l;case 0:break m;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 h;default:break n}}switch(d-8|0){case 8:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 0:break d;default:break i}}o:{switch(d-36880|0){case 0:break k;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 g;default:break o}}if((d|0)==33056){break f}if((d|0)==37152){break e}break c}c=1;break d}c=2;break d}c=3;break d}c=4;break d}if((d|0)!=4112){break c}c=5;break d}c=6;break d}c=7;break d}c=8;break d}c=9}C[104473]=1;C[104472]=c;c=E[I(c,20)+103760>>1];break b}C[104472]=10;C[104473]=0;c=0}p:{while(1){c=c&65535;if(c){if((c|0)==33056){break p}c=0;d=C[104472];q:{if((d|0)==10){break q}f=C[104473];if((f|0)==10){break q}C[104473]=f+1;c=E[(I(d,20)+(f<<1)|0)+103760>>1]}continue}break}C[b>>2]=12351;c=Qe(4897,b);break a}C[a+96>>2]=1;B[a+8>>1]=33056;c=0;A[b+77|0]=0;h=a,i=Ia(383723,b+77|0,0)|0,C[h+4>>2]=i;ut(e);if(g){A[b+76|0]=0;C[b+72>>2]=1768515945;e=E[a+12>>1];d=D[a+10|0];C[b+44>>2]=a;C[b+40>>2]=241;C[b+36>>2]=e;C[b+32>>2]=d;S(383791,b+72|0,b+32|0)|0;break a}A[b+68|0]=0;C[b+64>>2]=1768515945;e=E[a+12>>1];d=D[a+10|0];C[b+28>>2]=a;C[b+24>>2]=242;C[b+20>>2]=e;C[b+16>>2]=d;S(385443,b- -64|0,b+16|0)|0}Ce=b+80|0;return c|0}function xp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ce-16|0;Ce=f;C[f+8>>2]=0;h=C[C[a>>2]+28>>2];C[b>>2]=0;a:{b:{if(C[a+24>>2]){break b}C[f+12>>2]=0;c:{d=C[a+8>>2];if(d){l=D[a+12|0];i=C[a>>2];k=C[i+28>>2];d=d+1|0;o=a,p=Ve(k,4,0,d,0,f+12|0),C[o+24>>2]=p;if(C[f+12>>2]){break c}g=bf(i,C[a+4>>2]+3|0);C[f+12>>2]=g;if(g){break c}g=I(d,l);d=Bf(i,g);C[f+12>>2]=d;if(d){break c}e=C[i+32>>2];j=g+e|0;d=C[a+24>>2];d:{e:{switch(l-1|0){case 2:if((g|0)<=0){break d}while(1){C[d>>2]=D[e+2|0]|(D[e+1|0]<<8|D[e|0]<<16);d=d+4|0;e=e+3|0;if(j>>>0>e>>>0){continue}break};break d;case 1:if((g|0)<=0){break d}while(1){C[d>>2]=D[e+1|0]|D[e|0]<<8;d=d+4|0;e=e+2|0;if(j>>>0>e>>>0){continue}break};break d;case 0:if((g|0)<=0){break d}while(1){C[d>>2]=D[e|0];d=d+4|0;e=e+1|0;if(j>>>0>e>>>0){continue}break};break d;default:break e}}if((g|0)<=0){break d}while(1){g=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);C[d>>2]=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);d=d+4|0;e=e+4|0;if(j>>>0>e>>>0){continue}break}}xf(i);if(C[f+12>>2]){break c}}C[f+8>>2]=0;break b}d=C[a+24>>2];if(d){Fe[C[k+8>>2]](k,d)}C[a+24>>2]=0;d=C[f+12>>2];C[f+8>>2]=d;if(d){break a}}d=C[a+8>>2];if(!d){break a}i=0;j=Ve(h,4,0,d+1|0,0,f+8|0);if(C[f+8>>2]){break a}if(c){i=hf(h,C[a+8>>2]+C[a+20>>2]|0,f+8|0);if(C[f+8>>2]){break a}}k=C[a+28>>2];C[j>>2]=c?i:k;m=C[a+8>>2];if(m){l=0;d=0;e=1;while(1){g=d;h=e<<2;n=C[h+C[a+24>>2]>>2]-1|0;if(n>>>0>=d>>>0){d=C[a+20>>2];d=d>>>0>n>>>0?n:d}f:{if(!c){C[h+j>>2]=d+k;break f}h=h+j|0;n=(d+i|0)+l|0;C[h>>2]=n;if((d|0)==(g|0)){break f}m=C[h-4>>2];t(m,g+k|0,n-m|0);A[C[h>>2]]=0;C[h>>2]=C[h>>2]+1;l=l+1|0;m=C[a+8>>2]}e=e+1|0;if(m>>>0>=e>>>0){continue}break}}C[b>>2]=j;if(!c){break a}C[c>>2]=i}Ce=f+16|0;return C[f+8>>2]}function Ym(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{switch(a-18|0){case 0:d=C[b+24>>2];e:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;l(0,f|0);l(1,d|0);g=+n();break e}g=H[C[b+36>>2]+(e<<3)>>3];break e}A[b+20|0]=1;d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;l(0,f|0);l(1,d|0);g=+n()}f:{if(K(g)<2147483648){d=~~g;break f}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;g:{if(e){d=e-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n();break g}g=H[C[b+36>>2]+(d<<3)>>3];break g}A[b+20|0]=1;d=C[51429];e=C[51428];C[105676]=e;C[105677]=d;l(0,e|0);l(1,d|0);g=+n()}h:{if(K(g)<2147483648){d=~~g;break h}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+20>>2]=d;C[b+24>>2]=0;break b;case 11:jl(b+20|0,b);break c;case 12:g=il(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=g;break c}A[b+20|0]=1;d=C[51429];C[105676]=C[51428];C[105677]=d;H[52838]=g;break c;default:break d}}pk(a,b)}if(C[b+24>>2]){break a}}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}i:{j:{k:{e=C[c+4>>2];if((e|0)>=0){f=C[c+8>>2];d=f+1|0;d=(d|0)>0?d:0;if(d>>>0<=e>>>0){break j}while(1){e=((e>>>1|0)+e|0)+8|0;if(d>>>0>=e>>>0){continue}break}if(e>>>0<=268435454){f=mf(C[c+12>>2],e<<4);if(f){break k}}C[c+4>>2]=-1}d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;h=422704;break i}C[c+4>>2]=e;C[c+12>>2]=f;f=C[c+8>>2]}if(d>>>0>f>>>0){We(C[c+12>>2]+(f<<4)|0,0,d-f<<4)}C[c+8>>2]=d;h=(C[c+12>>2]+(d<<4)|0)-16|0}d=h;C[d>>2]=a;f=C[b+12>>2];e=C[b+4>>2];i=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+i;d=e-a|0;d=d>>>0<=e>>>0?d:0;a=f-a|0;C[h+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}}function tp(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,o=0,p=0;if(d){C[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=D[a|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=I(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=D[a|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=I(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=D[a|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+I(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=Ze(f,10);C[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)>=5?5:a;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=I(C[(e<<2)+278528>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}C[d>>2]=a;e=f<<16;break a}b=b<<2;c=C[b+278508>>2];if(((f|0)/(c|0)|0)>=32768){e=Ze(f,C[b+278512>>2]);C[d>>2]=a-4;break a}e=Ze(f,c);C[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=m-a|0}else{f=(f|0)/C[278528-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=C[(a<<2)+278528>>2];if(((b|0)/(a|0)|0)>32767){break a}e=Ze(b,a);break a}a=I(b,C[278528-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function Ln(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;g=Ce+-64|0;Ce=g;h=C[105585];f=C[105584];a:{b:{if((f|0)>0){while(1){i=h+(e<<3)|0;if(C[i>>2]==(b|0)){break b}e=e+1|0;if((f|0)!=(e|0)){continue}break}}h=Sf(h,(f<<3)+8|0);if(!h){break a}C[105585]=h;f=C[105584];C[105584]=f+1;i=h+(f<<3)|0;C[i+4>>2]=0;C[i>>2]=b}f=C[i+4>>2];c:{if(!(!C[105579]|(b|0)==-1|(d|0)!=1)){A[422372]=(c|0)==1;if(!a){break c}vk(-1,-1,0,0,a,(c|0)==1,J(J(C[105560])/J(C[a+24>>2])),J(J(C[105561])/J(C[a+28>>2])),J(1));break c}if((b|0)!=-1){break c}if(!C[105578]){break a}}d:{e:{switch(c|0){case 0:e=rT(-2,d-1|0)&f;n=1026;h=(a|0)!=0;break d;case 1:break e;default:break a}}m=1;e=f|1<>2]==(e|0)){break a}C[i+4>>2]=e;f:{if(C[105586]<=(d|0)){k=d+1|0;j=Sf(C[105587],k<<4);f=1;if(!j){break f}C[105587]=j;e=C[105586];if((e|0)<=(d|0)){while(1){lf(C[105587]+(e<<4)|0,0,16);f=(d|0)!=(e|0);e=e+1|0;if(f){continue}break}}C[105586]=k}l=C[105587];f=1;if(!l){break f}g:{if(!m){e=D[(l+(d<<4)|0)+12|0];break g}f=Dh();i=0;h:{i:{e=l+(d<<4)|0;if((C[105576]+(C[e+8>>2]-f|0)|0)<=0){break i}j=C[105560]-C[e>>2]|0;k=j>>31;if(C[105577]<((j^k)-k|0)){break i}m=l+(d<<4)|0;k=C[105561]-C[m+4>>2]|0;j=k>>31;if(C[105577]<((j^k)-j|0)){break i}i=D[m+12|0];break h}A[e+12|0]=0}C[e+8>>2]=f;C[e>>2]=C[105560];f=l+(d<<4)|0;C[f+4>>2]=C[105561];e=255;if((i|0)==255){break g}e=i+1|0;A[f+12|0]=e}f=e&255}e=0;if((qf(n,-1)|0)==1){C[g+8>>2]=n;j=C[105559];if(j){e=C[j+4>>2]}A[g+25|0]=c;C[g+20>>2]=b;C[g+16>>2]=e;A[g+24|0]=d;b=C[105561];C[g+28>>2]=C[105560];C[g+32>>2]=b;A[g+26|0]=f>>>0>=255?255:f;Df(g+8|0)}if(!(!h|(c|0)!=0)){Mn(a,C[105560],C[105561],1)}if(!C[105581]){break a}li(0)}Ce=g- -64|0}function sA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=C[b>>2];f=C[l+4>>2];g=I(C[a+36>>2],e)>>1;f=((f|0)<(g|0)?f:g)-C[l>>2]|0;a:{if((f|0)<=0){break a}q=C[l+8>>2];m=(f|0)/(q|0)|0;o=C[C[b+16>>2]>>2];t=pg(a,((m+o|0)-1|0)/(o|0)<<2);b:{if((e|0)<=0){break b}while(1){if(C[(h<<2)+d>>2]){break b}h=h+1|0;if((h|0)!=(e|0)){continue}break}break a}if((e|0)==(h|0)){break a}h=C[b+8>>2];if((h|0)<=0){break a}u=a+4|0;a=0;y=(m|0)<=0;while(1){if(!y){z=1<>2],u);if((d|0)==-1|(d|0)>=C[l+16>>2]){break a}d=C[C[b+28>>2]+(d<<2)>>2];C[(p<<2)+t>>2]=d;if(!d){break a}}c:{if((o|0)<=0|(h|0)>=(m|0)){break c}A=(p<<2)+t|0;d=0;while(1){f=C[C[A>>2]+(d<<2)>>2]<<2;d:{if(!(C[(f+l|0)+24>>2]&z)){break d}n=C[C[f+C[b+20>>2]>>2]+(a<<2)>>2];if(!n){break d}g=C[l>>2]+I(h,q)|0;i=0;e:{if(C[n+8>>2]<=0){break e}f=(g|0)/(e|0)|0;v=(g+q|0)/(e|0)|0;if((f|0)>=(v|0)){break e}g=0;while(1){i=-1;k=Gj(n,u);if((k|0)==-1){break e}i=C[n>>2];f:{if((i|0)<=0){break f}r=C[n+16>>2]+(I(i,k)<<2)|0;k=0;if((i|0)!=1){B=i&-2;s=0;while(1){j=C[(g<<2)+c>>2]+(f<<2)|0;w=k<<2;G[j>>2]=G[w+r>>2]+G[j>>2];j=g+1|0;g=(j|0)==(e|0);j=g?0:j;x=f+g|0;f=C[(j<<2)+c>>2]+(x<<2)|0;G[f>>2]=G[(w|4)+r>>2]+G[f>>2];g=j+1|0;f=(g|0)==(e|0);g=f?0:g;f=f+x|0;k=k+2|0;s=s+2|0;if((B|0)!=(s|0)){continue}break}}if(!(i&1)){break f}i=C[(g<<2)+c>>2]+(f<<2)|0;G[i>>2]=G[(k<<2)+r>>2]+G[i>>2];g=g+1|0;i=(g|0)==(e|0);g=i?0:g;f=f+i|0}if((f|0)<(v|0)){continue}break}i=0}if((i|0)==-1){break a}}h=h+1|0;d=d+1|0;if((o|0)<=(d|0)){break c}if((h|0)<(m|0)){continue}break}}p=p+1|0;if((h|0)<(m|0)){continue}break}h=C[b+8>>2]}a=a+1|0;if((h|0)>(a|0)){continue}break}}return 0}function KB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ce-272|0;Ce=h;i=C[a+28>>2];f=df(1,1120);e=Ye(b,5);C[f>>2]=e;a:{b:{if((e|0)>0){g=-1;while(1){a=Ye(b,4);C[((c<<2)+f|0)+4>>2]=a;if((a|0)<0){break b}g=(a|0)<(g|0)?g:a;c=c+1|0;if((e|0)>(c|0)){continue}break}e=0;while(1){c=(e<<2)+f|0;l=c,m=Ye(b,3)+1|0,C[l+128>>2]=m;d=Ye(b,2);C[c+192>>2]=d;if((d|0)<0){break b}c:{if(!d){a=C[c+256>>2];break c}a=Ye(b,8);C[c+256>>2]=a}if((a|0)<0|C[i+24>>2]<=(a|0)){break b}a=0;if((d|0)!=31){while(1){d=Ye(b,8);C[(((e<<5)+f|0)+(a<<2)|0)+320>>2]=d-1;if((d|0)<0|(d|0)>C[i+24>>2]){break b}a=a+1|0;if((a|0)<1<>2]){continue}break}}a=(e|0)!=(g|0);e=e+1|0;if(a){continue}break}}l=f,m=Ye(b,2)+1|0,C[l+832>>2]=m;g=0;i=Ye(b,4);if((i|0)<0){break b}d=1<>2];d:{if((c|0)>0){a=0;e=0;while(1){e=C[((C[((g<<2)+f|0)+4>>2]<<2)+f|0)+128>>2]+e|0;if((e|0)>63){break b}if((a|0)<(e|0)){while(1){c=Ye(b,i);C[((a<<2)+f|0)+844>>2]=c;if((c|0)<0|(c|0)>=(d|0)){break b}a=a+1|0;if((e|0)!=(a|0)){continue}break}c=C[f>>2];a=e}g=g+1|0;if((g|0)<(c|0)){continue}break}C[f+836>>2]=0;C[f+840>>2]=d;a=e+2|0;if((e|0)>-2){break d}oh(h,a,4,32);break a}e=0;C[f+836>>2]=0;C[f+840>>2]=d;a=2}g=a;b=(g|0)<=1?1:g;i=b&3;a=0;if(b-1>>>0>=3){c=f+836|0;k=b&2147483644;b=0;while(1){d=a<<2;C[d+h>>2]=c+d;j=d|4;C[j+h>>2]=c+j;j=d|8;C[j+h>>2]=c+j;d=d|12;C[d+h>>2]=c+d;a=a+4|0;b=b+4|0;if((k|0)!=(b|0)){continue}break}}if(i){b=f+836|0;c=0;while(1){d=a<<2;C[d+h>>2]=b+d;a=a+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}oh(h,g,4,32);if((e|0)<0){break a}b=(g|0)<=2?2:g;c=C[C[h>>2]>>2];a=1;while(1){g=c;c=C[C[(a<<2)+h>>2]>>2];if((g|0)==(c|0)){break b}a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}Re(f);f=0}Ce=h+272|0;return f|0}function Rx(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;g=Ce-16|0;Ce=g;a:{if(C[b+136>>2]!=6){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+a|0}else{h=205712}c=C[b+100>>2];h=zf(h,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((h|0)==-1){break a}c=D[a+4|0]|D[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=((e<<1)+a|0)+6|0;c=D[f|0]|D[f+1|0]<<8;i=((((c<<8|c>>>8)&65535)<<1)+f|0)+2|0;c=D[i|0]|D[i+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=h>>>0){break a}C[g+12>>2]=0;C[g+8>>2]=0;c=0;d=C[b+100>>2];d=C[(D[d+73|0]?84:76)+d>>2];C[b+84>>2]=e;C[b+48>>2]=d;j=C[C[b+52>>2]+100>>2];C[b+88>>2]=C[j+80>>2];c=C[j+76>>2]==(d|0)?D[(C[j+92>>2]+I(d,20)|0)+15|0]:c;C[b+80>>2]=a+6;C[b+76>>2]=a;C[b+72>>2]=723;A[b+68|0]=c;b:{if(e){c=0;d=b+48|0;if(!ti(d)){break b}c:{while(1){c=c+1|0;if((e|0)==(c|0)){break c}if(ti(d)){continue}break}c=c>>>0>=e>>>0;break b}d=C[d>>2];c=c>>>0>=e>>>0}else{c=1}C[g+12>>2]=d}if(!c){break a}j=f+2|0;d=0;c=C[C[b+100>>2]+76>>2];e=D[f|0]|D[f+1|0]<<8;e=(e<<8|e>>>8)&65535;C[b+84>>2]=e;C[b+48>>2]=c;f=C[C[b+52>>2]+100>>2];C[b+88>>2]=C[f+80>>2];d=C[f+76>>2]==(c|0)?D[(C[f+92>>2]+I(c,20)|0)+15|0]:d;C[b+80>>2]=j;C[b+76>>2]=a;C[b+72>>2]=723;A[b+68|0]=d;a=1;d:{if(e){a=0;c=b+48|0;if(!Sg(c)){break d}e:{while(1){a=a+1|0;if((e|0)==(a|0)){break e}if(Sg(c)){continue}break}a=a>>>0>=e>>>0;break d}c=C[c>>2];a=a>>>0>=e>>>0}C[g+8>>2]=c+1}if(!a){break a}Xg(C[b+100>>2],C[g+12>>2],C[g+8>>2]);a=D[i|0]|D[i+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=h>>>0?205712:((h<<1)+i|0)+2|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(D[b+140|0]){c=C[b+100>>2];c=C[c+92>>2]+I(C[c+76>>2],20)|0;d=E[c+12>>1]&96;l=c,m=eh(C[b+108>>2],a)|d|16,B[l+12>>1]=m}b=C[b+100>>2];C[C[b+92>>2]+I(C[b+76>>2],20)>>2]=a;k=1}Ce=g+16|0;return k}function fq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=C[b+4>>2];b:{if(i>>>0>a>>>0){break b}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<20){break b}f=C[b+12>>2];c=f-20|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break b}c=D[a+12|0]|D[a+13|0]<<8;c=(c<<8|c>>>8)&65535;if((c|0)!=C[b+36>>2]){break b}d=a+8|0;if(d>>>0>g>>>0|g-d>>>0<4){break b}h=D[a+4|0]|D[a+5|0]<<8;j=D[a+6|0]|D[a+7|0]<<8;f=f-24|0;C[b+12>>2]=f;if((f|0)<=0){break b}d=A[d|0];if((d|0)<0){break b}e=I((j<<8|j>>>8)&65535,(h<<8|h>>>8)&65535);if(e>>>0>2147483646){break a}c:{if(!e){break c}d=(D[a+11|0]|(D[a+9|0]<<16|(d&255)<<24|D[a+10|0]<<8))+a|0;if(d>>>0>>0|d>>>0>g>>>0){break a}e=e<<1;if(e>>>0>g-d>>>0){break a}f=f-e|0;C[b+12>>2]=f;if((f|0)>0){break c}break a}e=a+20|0;d=g-e|0;d:{e:{h=(D[a+14|0]|D[a+15|0]<<8)&256;if(h){if(e>>>0>g>>>0){break a}e=(c<<2)+4|0;if(e>>>0<=d>>>0){break e}break a}if(e>>>0>g>>>0){break a}e=(c<<1)+2|0;if(e>>>0>d>>>0){break a}f=f-e|0;C[b+12>>2]=f;if((f|0)>0){break d}break a}f=f-e|0;C[b+12>>2]=f;e=0;if((f|0)<=0){break b}}e=a+20|0;f:{if(h){d=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=e+(c<<2)|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break f}d=D[e|0]|D[e+1|0]<<8;d=((d<<8|d>>>8)&65535)<<1;c=e+(c<<1)|0;c=D[c|0]|D[c+1|0]<<8;c=((c<<8|c>>>8)&65535)<<1}e=0;g:{h:{c=c-d|0;switch(c+1|0){case 0:break b;case 1:break g;default:break h}}h=a;a=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=(a?h+a|0:205712)+d|0;if(a>>>0>>0|a>>>0>g>>>0){break a}if(c>>>0>g-a>>>0){break b}a=f-c|0;C[b+12>>2]=a;return(a|0)>0}e=1}return e}return 0}function Ai(a,b){var c=0,d=0,e=0,f=0;c=Ce-80|0;Ce=c;a:{if(!b){C[c>>2]=16082;e=Qe(19745,c);break a}C[b>>2]=0;d=C[105668];if(!d){e=Qe(19865,0);break a}f=3410;b:{c:{switch(a|0){case 1:f=3411;break b;case 3:f=3413;break b;case 5:C[b>>2]=C[d+436>>2];break a;case 6:f=3414;break b;case 7:f=3415;break b;case 13:f=32936;break b;case 14:f=32937;break b;case 24:f=33531;break b;case 4:C[c+76>>2]=0;C[c+72>>2]=0;C[c+68>>2]=0;C[c+64>>2]=0;e=-1;if((Ai(0,c+76|0)|0)<0){break a}if((Ai(1,c+72|0)|0)<0){break a}if((Ai(2,c+68|0)|0)<0){break a}if((Ai(3,c- -64|0)|0)<0){break a}C[b>>2]=C[c+64>>2]+(C[c+68>>2]+(C[c+72>>2]+C[c+76>>2]|0)|0);e=0;break a;case 15:C[b>>2]=C[d+472>>2]!=0;break a;case 16:C[b>>2]=C[d+512>>2];break a;case 17:C[b>>2]=C[d+476>>2];break a;case 18:C[b>>2]=C[d+480>>2];break a;case 19:C[b>>2]=C[d+488>>2]==4;break a;case 20:C[b>>2]=C[d+484>>2];break a;case 21:C[b>>2]=C[d+488>>2];break a;case 22:C[b>>2]=C[d+492>>2];break a;case 23:C[b>>2]=C[d+504>>2];break a;case 26:C[b>>2]=C[d+508>>2];break a;default:e=Qe(16257,0);break a;case 8:case 9:case 10:case 11:case 12:break a;case 0:break b;case 2:break c}}f=3412}d:{a=C[d+196>>2];if(a){if(C[d+516>>2]){break d}Qe(20769,0);e=-1;break a}C[c+16>>2]=C[d>>2];Qe(32625,c+16|0);e=-1;break a}e=-1;a=Fe[a|0](d,2294)|0;if(!a){break a}Fe[a|0](f,b);a=C[105668];if(!a){Qe(19865,0);break a}e:{b=C[a+196>>2];if(b){if(C[a+516>>2]){break e}Qe(20769,0);break a}C[c+32>>2]=C[a>>2];Qe(32625,c+32|0);break a}a=Fe[b|0](a,9271)|0;if(!a){break a}f:{g:{h:{e=Fe[a|0]()|0;switch(e-1280|0){case 1:break f;case 0:break g;default:break h}}if(!e){break a}C[c+48>>2]=e;e=Qe(22635,c+48|0);break a}e=Qe(25590,0);break a}e=Qe(26564,0)}Ce=c+80|0;return e}function cM(a,b){a=a|0;b=b|0;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,o=0,p=0;d=Ce-48|0;Ce=d;i=C[b+28>>2];C[d+24>>2]=C[b+8>>2];o=d,p=dg(b,d+8|0),C[o+12>>2]=p;c=C[d+8>>2];a:{if(c){break a}c=Ef(b,352720,d+12|0);C[d+8>>2]=c;if(c){break a}c=1330926671;b:{if(C[d+12>>2]==1330926671){e=E[d+16>>1];break b}e=C[d+24>>2];c=bf(b,e+12|0);C[d+44>>2]=c;if(c){break a}c=2;if(!E[d+16>>1]){break a}j=e+28|0;e=0;while(1){c:{c=Ef(b,352752,d+28|0);C[d+44>>2]=c;if(c){break c}c=C[b+4>>2];f=C[d+36>>2];d:{if(c>>>0>>0){break d}h=C[d+40>>2];k=h>>>0<=c-f>>>0;c=C[d+28>>2];if(!(k|(c|0)==1986884728)&(c|0)!=1752003704){break d}e=e+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1751474532&(c|0)!=1651008868){break d}if(h>>>0<54){c=142;break a}c=bf(b,f+12|0);C[d+44>>2]=c;if(c){break a}dg(b,d+44|0);c=C[d+44>>2];if(c){break a}c=bf(b,(g<<4)+j|0);C[d+44>>2]=c;m=1;if(!c){break d}break a}n=1}g=g+1|0;if(g>>>0>1]){continue}}break}B[d+16>>1]=e;c=2;if(!(e&65535)){break a}if(!m){c=142;if(!l|!n){break a}}C[d+8>>2]=0;c=C[d+12>>2]}C[a+148>>2]=c;B[a+152>>1]=e;o=a,p=Ve(i,16,0,e&65535,0,d+8|0),C[o+156>>2]=p;c=C[d+8>>2];if(c){break a}c=bf(b,C[d+24>>2]+12|0);C[d+8>>2]=c;if(c){break a}c=Bf(b,E[a+152>>1]<<4);C[d+8>>2]=c;if(c){break a}if(E[d+16>>1]){c=C[a+156>>2];a=0;while(1){o=c,p=vg(b),C[o>>2]=p;o=c,p=vg(b),C[o+4>>2]=p;o=c,p=vg(b),C[o+8>>2]=p;e=vg(b);C[c+12>>2]=e;f=C[b+4>>2];g=C[c+8>>2];f:{if(f>>>0>>0){break f}h=e;e=f-g|0;if(h>>>0>e>>>0){f=C[c>>2];if((f|0)!=1986884728&(f|0)!=1752003704){break f}C[c+12>>2]=e&-4}c=c+16|0}a=a+1|0;if(a>>>0>1]){continue}break}}xf(b);c=C[d+8>>2]}Ce=d+48|0;return c|0}function Wk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!C[b>>2]){b=c;m=1;break a}m=!C[c>>2]}d=C[a+20>>2];b:{c:{if(!d){break c}f=C[b+8>>2];d:{while(1){h=C[(I(g,20)+a|0)+36>>2];if((h|0)>=(f|0)){break d}g=g+1|0;if((d|0)!=(g|0)){continue}break}g=d;break c}if(D[(I(g,20)+a|0)+28|0]&8|(!m&(h|0)<=C[c+8>>2]|(f|0)==(h|0))){break b}}d=C[a+4>>2];if(!(!D[d+12|0]|D[b|0]&16)){e:{if(!m){d=Nh(d,(C[b+8>>2]+C[c+8>>2]|0)/2|0);f=Te((C[c+8>>2]-C[b+8>>2]|0)/2|0,C[a+16>>2]);C[b+12>>2]=d-f;f=d+f|0;d=c;break e}f=Nh(d,C[b+8>>2]);d=b}C[d+12>>2]=f}if(C[b+12>>2]>2]?g:0){break b}d=C[a+20>>2];f:{if(d>>>0<=g>>>0){break f}f=C[(I(g,20)+a|0)+40>>2];if(!m){if((f|0)>=C[c+12>>2]){break f}break b}if((f|0)>2]){break b}}h=d+!m|0;if(h>>>0>191){break b}k=d-g|0;g:{if(!k){break g}i=g+1|0;h:{if(!(k&1)){f=d;break h}e=a+28|0;j=e+I(h,20)|0;f=d-1|0;e=e+I(f,20)|0;l=C[e+4>>2];C[j>>2]=C[e>>2];C[j+4>>2]=l;C[j+16>>2]=C[e+16>>2];l=C[e+12>>2];C[j+8>>2]=C[e+8>>2];C[j+12>>2]=l;h=h-1|0;k=k-1|0}if((d|0)==(i|0)){break g}j=a+28|0;while(1){i=j+I(f,20)|0;e=i-20|0;l=C[e+4>>2];d=j+I(h,20)|0;C[d>>2]=C[e>>2];C[d+4>>2]=l;C[d+16>>2]=C[e+16>>2];l=C[e+12>>2];C[d+8>>2]=C[e+8>>2];C[d+12>>2]=l;e=i-40|0;i=C[e+4>>2];d=d-20|0;C[d>>2]=C[e>>2];C[d+4>>2]=i;i=C[e+12>>2];C[d+8>>2]=C[e+8>>2];C[d+12>>2]=i;C[d+16>>2]=C[e+16>>2];h=h-2|0;f=f-2|0;k=k-2|0;if(k){continue}break}}d=I(g,20)+a|0;C[d+44>>2]=C[b+16>>2];g=C[b+12>>2];C[d+36>>2]=C[b+8>>2];C[d+40>>2]=g;g=C[b+4>>2];C[d+28>>2]=C[b>>2];C[d+32>>2]=g;C[a+20>>2]=C[a+20>>2]+1;if(m){break b}C[d- -64>>2]=C[c+16>>2];b=C[c+12>>2];C[d+56>>2]=C[c+8>>2];C[d+60>>2]=b;b=C[c+4>>2];C[d+48>>2]=C[c>>2];C[d+52>>2]=b;C[a+20>>2]=C[a+20>>2]+1}}function Xn(a,b,c,d,e,f){var g=0,h=0,i=0,j=J(0);a:{g=If(1,264);b:{if(!g){break b}C[g+236>>2]=4096;C[g+216>>2]=f;A[g+214|0]=e;B[g+212>>1]=d;C[g+204>>2]=c;A[g+202|0]=b;B[g+200>>1]=a;C[g+172>>2]=1;i=b>>>0>>0?b:e;A[g+232|0]=i;H[g+224>>3]=+(f|0)/+(c|0);C[g+208>>2]=I(d>>>3&31,e);C[g+196>>2]=I(a>>>3&31,b);h=0;c:{if((c|0)==(f|0)){break c}h=512;if((c|0)<=(f|0)){break c}j=J(P(J(J(c<<9)/J(f|0))));if(J(K(j))>2]=h;h=If(h>>>0<=1?1:h,4);C[g+244>>2]=h;d:{if(!h){break d}h=I(C[g+196>>2],C[g+240>>2]/D[g+232|0]|0);C[g+180>>2]=h;e:{if((h|0)<=0){break e}h=Fe[C[94503]](h>>>0<=1?1:h)|0;if(h){C[94507]=C[94507]+1}C[g+176>>2]=h;if(h){break e}break d}f:{g:{if((c|0)==(f|0)){C[g>>2]=0;if((Yn(g+84|0,a,b,f,d,e,f)|0)>=0){break g}break f}if((Yn(g,a,b,c,33056,i,c)|0)<0){break f}if(!C[g+252>>2]){a=If(C[g+240>>2],4);C[g+248>>2]=a;if(!a){Hi(g);break b}C[g+260>>2]=152;C[g+256>>2]=153;C[g+252>>2]=154}if((Yn(g+84|0,33056,i,f,d,e,f)|0)>=0){break g}break f}a=ot(4096,8192);C[g+168>>2]=a;if(a){return g}a=C[g+260>>2];if(a){Fe[a|0](g);a=C[g+168>>2]}else{a=0}Ek(a);break a}a=C[g+260>>2];if(a){Fe[a|0](g)}Ek(C[g+168>>2]);break a}a=C[g+260>>2];if(a){Fe[a|0](g)}Ek(C[g+168>>2]);a=C[g+176>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[g+188>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[g+244>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}}_e(0);return 0}a=C[g+176>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[g+188>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[g+244>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}return 0}function iN(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;if(F[b+160>>2]>>0){tf(b,8)}d=D[a+3|0]|D[a+2|0]<<8;if(F[b+160>>2]>>0){if(C[b+164>>2]){tf(b,8)}d=C[b+160>>2]-a|0}if(d>>>0<=15){tf(b,8)}c=D[a+7|0];k=c|D[a+6|0]<<8;if(!(!(c&1)|F[b+164>>2]<2)){tf(b,8)}h=k&65534;if((h<<2)+16>>>0>d>>>0){tf(b,8)}g=k>>>1|0;a:{if(F[b+164>>2]<2){break a}l=D[a+12|0];i=D[a+10|0];e=D[a+11|0];c=D[a+9|0];q=c|D[a+8|0]<<8;f=c;c=D[a+13|0];if((f|c)&1){tf(b,8)}f=q>>>1|0;if(!(f>>>0>g>>>0|g>>>0>(q&65534)>>>0|(g|0)!=(f+((c|l<<8)>>>1|0)|0))){if((f|0)==1<<(e|i<<8)){break a}}tf(b,8)}m=a+14|0;b:{if(F[b+164>>2]<2){break b}c=(h+m|0)-2|0;if((D[c|0]<<8|D[c+1|0])==65535){break b}tf(b,8)}if(k>>>0>=2){n=(a+h|0)+16|0;o=h+n|0;j=h+o|0;s=h+j|0;h=g>>>0<=1?1:g;k=a+d|0;g=g-1|0;e=0;c=0;while(1){a=c;d=e;q=D[j|0]<<8;f=D[j+1|0];l=D[o|0];i=D[o+1|0];c=D[n+1|0]|D[n|0]<<8;e=D[m+1|0]|D[m|0]<<8;if(c>>>0>e>>>0){tf(b,8)}f=f|q;c:{if(!p|c>>>0>d>>>0){break c}if(C[b+164>>2]){tf(b,8);break c}if(!(a>>>0<=c>>>0&e>>>0>=d>>>0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+j|0;e:{f:{if(C[b+164>>2]){if(a>>>0>>0|k>>>0<((e-c<<1)+a|0)+2>>>0){break f}break e}if(!((g|0)!=(p|0)|(c|0)!=65535)&(e|0)==65535){break e}if(a>>>0>>0){break f}if(F[b+160>>2]>=((e-c<<1)+a|0)+2>>>0){break e}}tf(b,8)}if(!C[b+164>>2]|c>>>0>=e>>>0){break d}l=i|l<<8;d=c;while(1){i=D[a+1|0]|D[a|0]<<8;if(!(!i|F[b+172>>2]>(l+i&65535)>>>0)){tf(b,16)}a=a+2|0;d=d+1|0;if(d>>>0>>0){continue}break}break d}if(!((g|0)!=(p|0)|F[b+164>>2]>1|(c|0)!=65535)){if((e|0)==65535){break d}}tf(b,8)}j=j+2|0;o=o+2|0;m=m+2|0;n=n+2|0;p=p+1|0;if((h|0)!=(p|0)){continue}break}}return r|0}function vx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=C[b+92>>2];j=C[b+80>>2];a:{if(!C[b+148>>2]){break a}f=b+108|0;while(1){e=C[f+(g<<2)>>2];i=C[b+12>>2];e=Fp(e,Fe[C[i+24>>2]](i,e,C[i+56>>2])|0);if((e|0)==7){g=g+1|0;if(g>>>0>2]){continue}break a}break}h=E[(e<<2)+167874>>1]}e=-1;if(j){while(1){g=I(d,20)+k|0;f=Fp(C[g>>2],E[g+16>>1]&31);b:{if((f|0)==7){A[g+19|0]=7;break b}i=I(h,24)+(f<<2)|0;f=D[i+167872|0];c:{if((f|0)==7|(e|0)==-1){break c}A[(I(e,20)+k|0)+19|0]=f;f=d+1|0;if(f-e>>>0<2){break c}Rf(b,e,f)}A[g+19|0]=D[i+167873|0];h=E[i+167874>>1];e=d}d=d+1|0;if((j|0)!=(d|0)){continue}break}}d:{if(!C[b+152>>2]){break d}g=0;while(1){d=C[((g<<2)+b|0)+128>>2];f=C[b+12>>2];d=Fp(d,Fe[C[f+24>>2]](f,d,C[f+56>>2])|0);if((d|0)==7){g=g+1|0;if(g>>>0>2]){continue}break d}break}d=D[(I(h,24)+(d<<2)|0)+167872|0];if((d|0)==7|(e|0)==-1){break d}A[(I(e,20)+k|0)+19|0]=d}e:{f:{if((c|0)!=1299148391){break f}e=C[b+80>>2];if(e>>>0<2){break e}g=C[b+92>>2];d=1;c=e-1|0;i=c&1;if((e|0)!=2){f=c&-2;h=0;while(1){j=g+I(d,20)|0;c=C[j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){A[j+19|0]=D[j-1|0]}e=g+I(d+1|0,20)|0;c=C[e>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){A[e+19|0]=D[j+19|0]}d=d+2|0;h=h+2|0;if((f|0)!=(h|0)){continue}break}}if(!i){break f}c=C[g+I(d,20)>>2]-6155|0;if(c>>>0>4|(c|0)==3){break f}c=g+I(d,20)|0;A[c+19|0]=D[c-1|0]}e=C[b+80>>2]}g:{if(!e){break g}f=C[b+92>>2];d=0;if((e|0)!=1){b=e&-2;h=0;while(1){c=f+I(d,20)|0;C[c+4>>2]=C[c+4>>2]|C[(D[c+19|0]<<2)+a>>2];c=f+I(d|1,20)|0;C[c+4>>2]=C[c+4>>2]|C[(D[c+19|0]<<2)+a>>2];d=d+2|0;h=h+2|0;if((b|0)!=(h|0)){continue}break}}if(!(e&1)){break g}b=f+I(d,20)|0;C[b+4>>2]=C[b+4>>2]|C[(D[b+19|0]<<2)+a>>2]}}function Zi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=D[a|0]|D[a+1|0]<<8;if(!l){return 0}g=C[b+116>>2];h=C[b+92>>2];a=0;m=(l<<8|l>>>8)&65535;if(m&1){k=C[e+8>>2];a=D[d|0]|D[d+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;i=mT(C[h+32>>2],C[h+36>>2],f,f>>31);f=Ee;i=i+32768|0;C[e+8>>2]=(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16)+k;d=d+2|0;a=(a|0)!=0}if(m&2){i=C[e+12>>2];k=D[d|0]|D[d+1|0]<<8;f=(k<<8|k>>>8)<<16>>16;j=mT(C[h+40>>2],C[h+44>>2],f,f>>31);f=Ee;j=j+32768|0;C[e+12>>2]=(((j>>>0<32768?f+1|0:f)&65535)<<16|j>>>16)+i;d=d+2|0;a=(k|0)!=0|a}k=g&-2;if(m&4){if((k|0)==4){i=C[e>>2];g=D[d|0]|D[d+1|0]<<8;f=(g<<8|g>>>8)<<16>>16;j=mT(C[h+32>>2],C[h+36>>2],f,f>>31);f=Ee;j=j+32768|0;C[e>>2]=(((j>>>0<32768?f+1|0:f)&65535)<<16|j>>>16)+i;a=(g|0)!=0|a}d=d+2|0}if(m&8){if((k|0)!=4){i=C[e+4>>2];g=D[d|0]|D[d+1|0]<<8;f=(g<<8|g>>>8)<<16>>16;j=mT(C[h+40>>2],C[h+44>>2],f,f>>31);f=Ee;j=j+32768|0;C[e+4>>2]=i-(((j>>>0<32768?f+1|0:f)&65535)<<16|j>>>16);a=(g|0)!=0|a}d=d+2|0}a:{if(l>>>0<4096){break a}l=1;f=1;f=C[h+48>>2]?f:C[h+60>>2]!=0;if(!C[h+52>>2]){l=C[h+60>>2]!=0;if((l|f)!=1){break a}}b=C[b+112>>2];if(m&16){if(f){g=D[d|0]|D[d+1|0]<<8;i=(g|0)!=0;n=e,o=Tp(g?((g<<8|g>>>8)&65535)+c|0:205712,h,b)+C[e+8>>2]|0,C[n+8>>2]=o;a=a|i}d=d+2|0}if(m&32){if(l){g=D[d|0]|D[d+1|0]<<8;i=(g|0)!=0;n=e,o=Up(g?((g<<8|g>>>8)&65535)+c|0:205712,h,b)+C[e+12>>2]|0,C[n+12>>2]=o;a=a|i}d=d+2|0}if(m&64){if((k|0)==4&f){f=D[d|0]|D[d+1|0]<<8;g=(f|0)!=0;n=e,o=Tp(f?((f<<8|f>>>8)&65535)+c|0:205712,h,b)+C[e>>2]|0,C[n>>2]=o;a=a|g}d=d+2|0}if(!l|(!(m&128)|(k|0)==4)){break a}d=D[d|0]|D[d+1|0]<<8;a=(d|0)!=0|a;b=Up(d?((d<<8|d>>>8)&65535)+c|0:205712,h,b);C[e+4>>2]=C[e+4>>2]-b}return a}function Yy(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;e=C[a>>2];a:{if(e){break a}g=a-116|0;while(1){c=C[g>>2];if(!c){e=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;e=Qf(c);A[b+40|0]=1;C[b+36>>2]=e;e=Of(c,1953653099);f=e;b:{if(!e){break b}c=C[f>>2];if(!c){break b}C[f>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=f;c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;c:{d:{if(!c){break d}e:{f:{g:{h:{if(Yp(c,b)){break h}i:{if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(!c){break i}while(1){A[b+24|0]=1;f=C[b+32>>2];c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0<=67108862){d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}else{d=1073741823}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;if(!c){break d}if(Yp(c,b)){break h}if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(c){continue}break}}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break g}if(!C[b+28>>2]){break f}C[b+28>>2]=0;f=Yp(c,b);c=C[b+28>>2];Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(c){break g}if(f){break e}}Ue(e);e=205712;break c}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}if(C[e+4>>2]){C[e+4>>2]=0}break c}Ue(f);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}c=e;if(!c){c=205712}e=C[a>>2];if(!e){C[a>>2]=c;e=c;break a}if(!c){break a}if((c|0)!=205712){Ue(c)}e=C[a>>2];if(!e){continue}break}}Ce=b+48|0;return F[e+16>>2]<12?205712:C[e+12>>2]}function vi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;e=C[a>>2];a:{if(e){break a}g=a-76|0;while(1){c=C[g>>2];if(!c){e=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;e=Qf(c);A[b+40|0]=1;C[b+36>>2]=e;e=Of(c,1297498450);f=e;b:{if(!e){break b}c=C[f>>2];if(!c){break b}C[f>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=f;c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;c:{d:{if(!c){break d}e:{f:{g:{h:{if(eq(c,b)){break h}i:{if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(!c){break i}while(1){A[b+24|0]=1;f=C[b+32>>2];c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0<=67108862){d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}else{d=1073741823}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;if(!c){break d}if(eq(c,b)){break h}if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(c){continue}break}}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break g}if(!C[b+28>>2]){break f}C[b+28>>2]=0;f=eq(c,b);c=C[b+28>>2];Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(c){break g}if(f){break e}}Ue(e);e=205712;break c}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}if(C[e+4>>2]){C[e+4>>2]=0}break c}Ue(f);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}c=e;if(!c){c=205712}e=C[a>>2];if(!e){C[a>>2]=c;e=c;break a}if(!c){break a}if((c|0)!=205712){Ue(c)}e=C[a>>2];if(!e){continue}break}}Ce=b+48|0;return F[e+16>>2]<12?205712:C[e+12>>2]}function Qg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-16|0;Ce=e;g=C[a>>2];C[e+12>>2]=0;a:{b:{c:{d:{e:{b=B[a+58>>1]+(B[a+22>>1]+b|0)|0;d=C[a+4>>2];h=b>>>0<=d>>>0;f:{if(!h){b=b+7&-8;f=10;if(b>>>0>32767){break a}j=a,k=Ve(g,8,d,b,C[a+24>>2],e+12|0),C[j+24>>2]=k;if(C[e+12>>2]){break b}j=a,k=Ve(g,1,d,b,C[a+28>>2],e+12|0),C[j+28>>2]=k;if(C[e+12>>2]){break b}if(D[a+16|0]){f=Ve(g,8,d<<1,b<<1,C[a+40>>2],e+12|0);C[a+40>>2]=f;if(C[e+12>>2]){break b}i=b<<3;d=d<<3;t(f+i|0,d+f|0,d);C[a+44>>2]=C[a+40>>2]+i}C[a+4>>2]=b;b=B[a+20>>1];c=B[a+56>>1]+(c+b|0)|0;d=C[a+8>>2];if(c>>>0<=d>>>0){break e}b=a+8|0;break f}c=B[a+56>>1]+(B[a+20>>1]+c|0)|0;d=C[a+8>>2];if(c>>>0<=d>>>0){break c}b=a+8|0}c=c+3&-4;f=10;if(c>>>0>32767){break a}d=Ve(g,2,d,c,C[a+32>>2],e+12|0);C[a+32>>2]=d;if(C[e+12>>2]){break b}C[b>>2]=c;b=B[a+20>>1];break d}if(h){break c}d=C[a+32>>2]}C[a+68>>2]=(b<<1)+d;c=B[a+22>>1];b=c<<3;C[a+60>>2]=b+C[a+24>>2];C[a- -64>>2]=c+C[a+28>>2];if(!D[a+16|0]){break c}C[a+76>>2]=b+C[a+40>>2];C[a+80>>2]=b+C[a+44>>2]}if(C[e+12>>2]){break b}f=0;break a}b=C[a>>2];c=C[a+24>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+24>>2]=0;c=C[a+28>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+28>>2]=0;c=C[a+32>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+32>>2]=0;c=C[a+40>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+40>>2]=0;c=C[a+52>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+44>>2]=0;C[a+48>>2]=0;C[a+52>>2]=0;C[a+12>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a+20>>2]=0;C[a+88>>2]=C[a+52>>2];b=C[a+48>>2];C[a+80>>2]=C[a+44>>2];C[a+84>>2]=b;b=C[a+40>>2];C[a+72>>2]=C[a+36>>2];C[a+76>>2]=b;b=C[a+32>>2];C[a+64>>2]=C[a+28>>2];C[a+68>>2]=b;b=C[a+24>>2];C[a+56>>2]=C[a+20>>2];C[a+60>>2]=b;f=C[e+12>>2]}Ce=e+16|0;return f}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,h=0,i=0,j=0;e=Ce-1040|0;Ce=e;i=kf(40);C[i>>2]=0;d=e+168|0;We(d,0,872);C[e+896>>2]=1e3;C[e+900>>2]=8e6;C[e+888>>2]=1e6;C[e+892>>2]=1e6;C[108230]=0;if(d){C[d+696>>2]=0;C[d+692>>2]=0;C[d+688>>2]=0}d=C[108230];C[108230]=0;f=-1;j=4;a:{b:{c:{if(!d){break c}g=C[108231];if(!g){break c}f=Mf(C[d>>2],i,4);if(!f){break b}De=g}d=De;d:{if((f|0)==1){break d}C[108230]=0;if(e+168|0){C[e+336>>2]=c;C[e+340>>2]=b}d=C[108230];C[108230]=0;f=-1;e:{if(!d){break e}g=C[108231];if(!g){break e}f=Mf(C[d>>2],i,4);if(!f){break b}De=g}d=De;if((f|0)==1){break d}i=Uj(e,1,i,4);j=De;d=0}f:{while(1){b=0;if(d){break f}C[e+332>>2]=0;C[e+324>>2]=107;C[e+328>>2]=e;if(!a){break f}d=C[e+376>>2];c=d|131072;f=D[a|0];d=(f|0)==49?d:c;g:{if(!f){break g}g=D[a+1|0];h=(g|0)==46;d=h?d:c;f=h+((f|0)==46)|0;if(!g|f>>>0>1){break g}h=c;c=D[a+2|0];d=(c|0)==54?d:h;f=f+((c|0)==46)|0;if(!c|f>>>0>1){break g}c=d|131072;g=D[a+3|0];h=(g|0)==46;d=h?d:c;h=f+h|0;if(!g|h>>>0>1){break g}f=D[a+4|0];d=(f|0)==51?d:c;g=h+((f|0)==46)|0;if(!f|g>>>0>1){break g}h=c;c=D[a+5|0];d=(c|0)==55?d:h;if(!c|g+((c|0)==46)>>>0>1){break g}d=D[a+6|0]?d|131072:d}C[e+376>>2]=d;if(d&131072){break f}C[108230]=0;b=X(120,e+168|0,872)|0;d=C[108230];C[108230]=0;f=-1;h:{if(!d){break h}g=C[108231];if(!g){break h}f=Mf(C[d>>2],i,j);if(!f){break b}De=g}d=De;if((f|0)==1){continue}break}if(!b){b=0;break f}C[e+428>>2]=b;C[e+424>>2]=121;C[e+420>>2]=122;C[e+332>>2]=0;C[e+324>>2]=0;C[e+328>>2]=0;jf(b,e+168|0,872)}Re(i);Ce=e+1040|0;break a}Re(i);Ji(d,g);s()}if(b){C[b+768>>2]=8192;C[b+204>>2]=32768;C[b+208>>2]=C[b+208>>2]|3145728;Qu(b,0,0)}return b|0}function uw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;C[a+12>>2]=b;C[a+8>>2]=c;C[a+4>>2]=b;i=a+16|0;C[a+404>>2]=i;l=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}e=D[b|0];c:{d:{if(!(e>>>0<27|(e|0)==31)){f=C[a+404>>2];d=4;if((f-i|0)>380){break c}C[a+404>>2]=f+4;C[f>>2]=b;e:{switch(e-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break c}d=D[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=(e>>>0>246)+b|0;break d}j=C[a+404>>2];C[j>>2]=b;if((e|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break c}e=D[b|0]|256}h=277072;g=4;d=277072;e=C[a+408>>2]|e;f:{g:{if((e|0)==4096){break g}h:{while(1){if((e|0)==C[d+32>>2]){break h}if((e|0)!=C[d+60>>2]){g=C[d+84>>2];if(!g){break f}f=d;h=d+84|0;d=h;if((e|0)!=C[f+88>>2]){continue}break g}break}h=d+56|0;g=C[d+56>>2];break g}h=d+28|0;g=C[d+28>>2]}e=C[h+8>>2];f=C[a+412>>2];if((g|0)!=6){d=12;if((i|0)==(j|0)){break c}}d=e+f|0;i:{j:{k:{l:{m:{switch(g-1|0){case 0:case 3:case 4:f=sj(i);break l;case 1:f=Mh(i,0);break l;case 5:break k;case 2:break m;default:break j}}f=Mh(i,3)}n:{switch(D[h+12|0]-1|0){case 1:B[d>>1]=f;break f;case 0:break i;default:break n}}C[d>>2]=f;break f}m=f+C[h+24>>2]|0;f=j-i>>2;e=C[h+20>>2];g=e>>>0>f>>>0?f:e;A[m|0]=g;if(!g){break f}e=0;f=i;while(1){j=D[h+12|0];e=sj(f)+e|0;o:{p:{switch(j-1|0){case 0:A[d|0]=e;break o;case 1:B[d>>1]=e;break o;default:break p}}C[d>>2]=e}f=f+4|0;d=d+j|0;g=g-1|0;if(g){continue}break}break f}k=Fe[C[h+16>>2]](a)|0;d=7;if(k){break c}k=0;break f}A[d|0]=f}C[a+404>>2]=i}b=b+1|0;d=0}if(!d){continue}break}if(rT(d,30)-1>>>0<3){break a}}l=k}return l}function Py(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Ce-80|0;Ce=j;c=D[c+2|0]|D[c+3|0]<<8;d=c<<8|c>>>8;c=d&65535;e=C[b+4>>2];if(d<<16>>16<0){C[a+4>>2]=C[e+76>>2]}if(c&8192){b=C[e+76>>2]+1|0;d=C[e+80>>2];C[a+8>>2]=b>>>0>>0?b:d}b=c&15;a:{if(!b){break a}c=C[a+4>>2];d=C[a+8>>2];if(c>>>0>=d>>>0){break a}b=D[b+167616|0];k=b>>>4|0;f=k>>>0>=2?2:k;l=b&15;i=l>>>0>=2?2:l;n=f+i|0;b=d-c|0;if(n>>>0>b>>>0){break a}g=C[e+76>>2]+1|0;h=C[e+80>>2];g=g>>>0>>0?g:h;if(g-c>>>0>=2){eg(e,c,g);d=C[a+8>>2];c=C[a+4>>2];b=d-c|0}if(b>>>0>=2){eg(e,c,d);d=C[a+8>>2];c=C[a+4>>2]}b=C[e+92>>2];g=b+I(c,20)|0;h=I(f,20);e=jf(j,g,h);m=I(i,20);o=jf(e+40|0,(b+I(d,20)|0)+I(i,-20)|0,m);if((f|0)!=(i|0)){Yf(g+m|0,g+h|0,I(d-(c+n|0)|0,20));c=C[a+4>>2]}jf(I(c,20)+b|0,o,m);jf((b+I(C[a+8>>2],20)|0)+I(f,-20)|0,e,h);if((k|0)==3){d=b+I(C[a+8>>2],20)|0;c=d-20|0;C[e+16>>2]=C[c+16>>2];f=C[c+4>>2];C[e>>2]=C[c>>2];C[e+4>>2]=f;f=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=f;d=d-40|0;f=C[d+4>>2];C[c>>2]=C[d>>2];C[c+4>>2]=f;f=C[d+12>>2];C[c+8>>2]=C[d+8>>2];C[c+12>>2]=f;C[c+16>>2]=C[d+16>>2];d=C[e+4>>2];c=(b+I(C[a+8>>2],20)|0)-40|0;C[c>>2]=C[e>>2];C[c+4>>2]=d;C[c+16>>2]=C[e+16>>2];d=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=d}if((l|0)!=3){break a}c=b+I(C[a+4>>2],20)|0;C[e+16>>2]=C[c+16>>2];d=C[c+4>>2];C[e>>2]=C[c>>2];C[e+4>>2]=d;d=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=d;d=C[c+24>>2];C[c>>2]=C[c+20>>2];C[c+4>>2]=d;d=C[c+32>>2];C[c+8>>2]=C[c+28>>2];C[c+12>>2]=d;C[c+16>>2]=C[c+36>>2];a=b+I(C[a+4>>2],20)|0;C[a+36>>2]=C[e+16>>2];b=C[e+12>>2];C[a+28>>2]=C[e+8>>2];C[a+32>>2]=b;b=C[e+4>>2];C[a+20>>2]=C[e>>2];C[a+24>>2]=b}Ce=j+80|0}function Wr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ce-32|0;Ce=i;g=C[b+80>>2];h=C[a+548>>2];j=Rh();f=C[h>>2];a:{if((j|0)!=(f|0)){C[h+468>>2]=0;if((sh(C[a+204>>2],f)|0)<0){break a}}f=C[a+548>>2];if(!C[f+4>>2]){break a}while(1){if(Fe[C[f+100>>2]]()|0){continue}break}}f=0;b:{if(C[c+8>>2]<=0|C[c+12>>2]<=0){break b}C[h+412>>2]=0;Fe[C[h+20>>2]](C[g+4>>2],C[g>>2]);k=C[g+4>>2];l=C[c>>2];m=C[c+4>>2];n=C[c+8>>2];o=C[c+12>>2];p=C[g+8>>2];q=C[g+12>>2];f=C[b+4>>2];c:{if(!(!f|(f&-268435456)==268435456)){j=2;if((f|0)==844715353|(f|0)==1498831189){break c}j=(f|0)==1431918169?2:1;break c}j=f&255}ji(h,k,l,m,n,o,p,q,d,e,j);d:{if(C[g+24>>2]){f=C[c+12>>2];Fe[C[h+20>>2]](C[g+4>>2],C[(C[b+4>>2]==842094169?32:36)+g>>2]);f=I(e,f)+d|0;d=(e+1|0)/2|0;ji(h,C[g+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[g+8>>2],C[g+12>>2],f,d,1);e=C[c+12>>2];Fe[C[h+20>>2]](C[g+4>>2],C[(C[b+4>>2]==842094169?36:32)+g>>2]);ji(h,C[g+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[g+8>>2],C[g+12>>2],f+I(d,(e+1|0)/2|0)|0,d,1);break d}if(!C[g+28>>2]){break d}b=C[c+12>>2];Fe[C[h+20>>2]](C[g+4>>2],C[g+36>>2]);ji(h,C[g+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,6410,5121,I(b,e)+d|0,(e+1|0)/2<<1,2)}f=0;b=C[a+548>>2];if(!C[b+4>>2]){break b}a=Fe[C[b+100>>2]]()|0;if(!a){break b}while(1){c=25026;d=a-1280|0;if(d>>>0<=5){c=C[(d<<2)+137356>>2]}C[i+20>>2]=a;C[i+16>>2]=c;C[i+12>>2]=16659;C[i+8>>2]=1712;C[i+4>>2]=21666;C[i>>2]=33968;Qe(33817,i);a=Fe[C[b+100>>2]]()|0;if(a){continue}break}f=-1}Ce=i+32|0;return f|0}function Ky(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Ce-16|0;Ce=k;C[k+12>>2]=c;d=C[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break a}g=C[b+12>>2];f=g-8|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=a+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break a}g=g-12|0;C[b+12>>2]=g;if((g|0)<=0){break a}i=A[f|0];if((i|0)<0){break a}f=D[a+2|0]|D[a+3|0]<<8;if(f){c=(D[a+7|0]|(D[a+5|0]<<16|(i&255)<<24|D[a+6|0]<<8))+c|0;if(c>>>0>>0|c>>>0>e>>>0){break a}d=e-c|0;c=((f<<8|f>>>8)&65535)<<2;if(d>>>0>>0){break a}c=g-c|0;C[b+12>>2]=c;if((c|0)<=0){break a}}e=D[a|0]|D[a+1|0]<<8;f=(e<<8|e>>>8)&65535;c=1;b:{if(!f){break b}e=a+8|0;c:{if(e>>>0>2]){break c}c=C[b+8>>2];if(c>>>0>>0){break c}d=c-e|0;c=f<<3;if(d>>>0>>0){break c}c=C[b+12>>2]-c|0;C[b+12>>2]=c;if((c|0)<=0){break c}g=C[b+4>>2];c=0;a=D[a+2|0]|D[a+3|0]<<8;if(!a){while(1){j=0;a=e+(c<<3)|0;if(a>>>0>>0){break c}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break c}i=C[b+12>>2];h=i-8|0;C[b+12>>2]=h;if((h|0)<=0){break c}a=a+6|0;if(a>>>0>d>>>0|d-a>>>0<2){break c}a=i-10|0;C[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((f|0)!=(c|0)){continue}break c}}i=((a<<8|a>>>8)&65535)<<1;m=C[k+12>>2];while(1){j=0;d=e+(c<<3)|0;if(d>>>0>>0){break c}a=C[b+8>>2];if(a>>>0>>0|a-d>>>0<8){break c}h=C[b+12>>2];l=h-8|0;C[b+12>>2]=l;if((l|0)<=0){break c}d=d+6|0;if(d>>>0>a>>>0|a-d>>>0<2){break c}h=h-10|0;C[b+12>>2]=h;if((h|0)<=0){break c}d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+m|0;if(d>>>0>>0|a>>>0>>0|i>>>0>a-d>>>0){break c}a=h-i|0;C[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=j}j=c}Ce=k+16|0;return j}function pk(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{switch(a-247|0){default:if((a|0)!=28){break c}d=C[b+12>>2];a=C[b+4>>2];e:{if(d>>>0>=a>>>0){A[b+16|0]=1;c=205712;break e}c=d+C[b>>2]|0}e=D[c|0]<<8;c=a;a=d+1|0;f:{if(c>>>0<=a>>>0){A[b+16|0]=1;a=205712;break f}a=a+C[b>>2]|0}c=e|D[a|0];a=C[b+24>>2];g:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break g}A[b+20|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}H[a>>3]=c<<16>>16;h:{a=C[b+4>>2];if(D[b+16|0]|d>>>0>a>>>0){break h}c=d+2|0;if(c>>>0>a>>>0){break h}break b}break a;case 0:case 1:case 2:case 3:d=C[b+12>>2];i:{if(d>>>0>=F[b+4>>2]){A[b+16|0]=1;c=205712;break i}c=d+C[b>>2]|0}c=(D[c|0]+(a<<8)|0)+2412&65535;a=C[b+24>>2];j:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break j}A[b+20|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}H[a>>3]=c|0;k:{a=C[b+4>>2];if(D[b+16|0]|d>>>0>a>>>0){break k}c=d+1|0;if(c>>>0>a>>>0){break k}break b}break a;case 4:case 5:case 6:case 7:break d}}d=C[b+12>>2];l:{if(d>>>0>=F[b+4>>2]){A[b+16|0]=1;c=205712;break l}c=d+C[b>>2]|0}c=-108-(D[c|0]|(a<<16)-16449536>>>8)|0;a=C[b+24>>2];m:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break m}A[b+20|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}H[a>>3]=c|0;n:{a=C[b+4>>2];if(D[b+16|0]|d>>>0>a>>>0){break n}c=d+1|0;if(c>>>0>a>>>0){break n}break b}break a}if(a-32>>>0<=214){c=a-139|0;a=C[b+24>>2];o:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break o}A[b+20|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}H[a>>3]=c|0;return}A[b+40|0]=1;C[b+24>>2]=0;return}C[b+12>>2]=c;return}A[b+16|0]=1;C[b+12>>2]=a}function PL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-16|0;Ce=g;c=C[a+664>>2];if(!c){d=E[a+340>>1];a:{if(!d){c=0;break a}h=C[a+356>>2];c=0;f=-1;e=-1;while(1){b=h+I(c,20)|0;b:{if(E[b+6>>1]!=6|!E[b+8>>1]){break b}c:{switch(E[b>>1]-1|0){case 2:if(E[b+2>>1]!=1){break b}f=E[b+4>>1]==1033?c:f;break b;case 0:break c;default:break b}}if(E[b+2>>1]){break b}e=E[b+4>>1]?e:c}c=c+1|0;if((d|0)!=(c|0)){continue}break}if((f|0)!=-1){i=C[a+356>>2];e=i+I(f,20)|0;d=E[e+8>>1];b=C[a+100>>2];C[g+12>>2]=0;c=hf(b,d+1|0,g+12|0);if(C[g+12>>2]){break a}h=C[a+360>>2];j=bf(h,C[e+12>>2]);C[g+12>>2]=j;d:{if(j){break d}j=Bf(h,E[e+8>>1]);C[g+12>>2]=j;if(j){break d}b=c;e:{if(d>>>0<2){break e}f=C[h+32>>2];d=d>>>1|0;f:{if(!(d&1)){e=d;break f}b=c;g:{if(D[f|0]){break g}e=A[f+1|0];b=c;if((e|0)<32){break g}A[c|0]=e;b=c+1|0}f=f+2|0;e=d-1|0}if((d|0)==1){break e}while(1){h:{if(D[f|0]){break h}d=A[f+1|0];if((d|0)<32){break h}A[b|0]=d;b=b+1|0}i:{if(D[f+2|0]){break i}d=A[f+3|0];if((d|0)<32){break i}A[b|0]=d;b=b+1|0}f=f+4|0;e=e-2|0;if(e){continue}break}}A[b|0]=0;xf(h);break a}if(c){Fe[C[b+8>>2]](b,c)}c=0;B[e+8>>1]=0;C[e+12>>2]=0;e=i+I(f,20)|0;d=C[e+16>>2];if(d){Fe[C[b+8>>2]](b,d)}C[e+16>>2]=0;break a}if((e|0)==-1){c=0;break a}h=C[a+356>>2];f=h+I(e,20)|0;c=E[f+8>>1];d=C[a+100>>2];C[g+8>>2]=0;b=hf(d,c+1|0,g+8|0);if(C[g+8>>2]){c=b;break a}i=C[a+360>>2];j=bf(i,C[f+12>>2]);C[g+8>>2]=j;j:{if(j){break j}i=jg(i,b,c);C[g+8>>2]=i;if(i){break j}A[b+c|0]=0;c=b;break a}c=0;C[f+12>>2]=0;B[f+8>>1]=0;e=h+I(e,20)|0;f=C[e+16>>2];if(f){Fe[C[d+8>>2]](d,f)}C[e+16>>2]=0;if(b){Fe[C[d+8>>2]](d,b)}}C[a+664>>2]=c}Ce=g+16|0;return c|0}function HR(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;g=C[b+80>>2];if(g){i=C[b+92>>2];while(1){d=8;f=I(e,20)+i|0;c=C[f>>2];h=Ep(c);b=h>>>8|0;a:{b:{c:{if(c-2387>>>0<2){break c}d=1;d:{e:{f:{a=c-7394|0;if(a>>>0>20){break f}a=1<>>0<6){break e}if(c-2674>>>0<2){break c}if(c-7406>>>0<4){d=18;break c}if((c|0)==2641){a=12;d=7;break a}d=8;if((c&-3)==70401){break c}d=3;if(c-70459>>>0<2){break c}g:{if((c|0)<=2810){if((c|0)==2432|(c|0)==2556){break g}break d}if((c|0)==2811|(c|0)==2901){break c}if((c|0)!=3200){break d}}d=11;break c}d=18;break c}if((c&-2)==8208){d=11;break c}if((c|0)==9676){d=12;break c}a=0;d=h&255;if(d>>>0>=32){break b}}a=1<>>7|0){case 5:a=c>>>0<3139?7:9;break a;case 6:a=c-3287>>>0<4294967276?7:9;break a;case 0:case 1:case 2:case 3:case 4:case 7:break j;default:break a}}a=12;break a;case 3:a=9;b=(c&-128)-2560|0;if(b>>>0>=768){break a}a=C[(b>>>5|0)+190516>>2];break a;case 5:a=9;b=(c&-128)-2560|0;if(b>>>0>=896){break a}a=C[(b>>>5|0)+190540>>2];break a;case 0:break a;default:break i}}a=b;break a}a=a&263424?14:b}A[f+19|0]=(c|0)==2817?7:a;A[f+18|0]=d;e=e+1|0;if((g|0)!=(e|0)){continue}break}}}function hz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=205712;C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;g=D[205712];j=g|256;d=D[a+16|0];a:{if((g|0)!=12){c=C[a+12>>2];f=c+1|0;h=C[a+4>>2];i=(d|0)!=0|f>>>0>h>>>0;if(i){break a}d=g;b:{c:{d:{if(c>>>0>=h>>>0){break d}e=C[a>>2];d=D[e+c|0];if((d|0)==12){d=j;if(f>>>0>=h>>>0){break d}c=f;d=D[e+c|0]|256}if(c>>>0>>0){break c}}A[a+16|0]=1;C[a+12>>2]=h;break b}C[a+12>>2]=c+1}$m(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])|C[a+28>>2]<0){break a}while(1){c=C[a+12>>2];f=c+1|0;h=C[a+4>>2];i=f>>>0>h>>>0;if(i){break a}d=g;e:{f:{if(c>>>0>=h>>>0){break f}e=C[a>>2];d=D[e+c|0];if((d|0)==12){d=j;if(f>>>0>=h>>>0){break f}c=f;d=D[e+c|0]|256}if(c>>>0>=h>>>0){break f}C[a+12>>2]=c+1;break e}A[a+16|0]=1;C[a+12>>2]=h}$m(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])){break a}if(C[a+28>>2]>=0){continue}break}break a}c=C[a+12>>2];g=c+1|0;e=C[a+4>>2];i=(d|0)!=0|g>>>0>e>>>0;if(i){break a}g:{if(c>>>0>=e>>>0){A[a+16|0]=1;d=65535;break g}h:{f=C[a>>2];d=D[f+c|0];i:{if((d|0)==12){d=j;if(e>>>0<=g>>>0){break i}c=g;d=D[f+c|0]|256}if(c>>>0>>0){break h}}A[a+16|0]=1;C[a+12>>2]=e;break g}C[a+12>>2]=c+1}$m(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])|C[a+28>>2]<0){break a}while(1){c=C[a+12>>2];g=c+1|0;e=C[a+4>>2];i=g>>>0>e>>>0;if(i){break a}j:{if(c>>>0>=e>>>0){A[a+16|0]=1;d=65535;break j}k:{f=C[a>>2];d=D[f+c|0];l:{if((d|0)==12){d=j;if(e>>>0<=g>>>0){break l}c=g;d=D[f+c|0]|256}if(c>>>0>>0){break k}}A[a+16|0]=1;C[a+12>>2]=e;break j}C[a+12>>2]=c+1}$m(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])){break a}if(C[a+28>>2]>=0){continue}break}}return i}function Sq(a){var 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;a:{b:{if(C[a+20>>2]){break b}b=C[a+48>>2];if(!b|(b|0)==1){break b}i=C[a+52>>2];m=i+(b<<2)|0;k=b-1|0;l=i+4|0;i=C[51428];while(1){f=C[(k?l:205712)>>2];h=C[f+12>>2];if(h){j=C[f+16>>2];n=j+(h<<4)|0;while(1){c=h?j:205712;b=C[c+12>>2];c:{if(b>>>0>=F[a+48>>2]){C[105676]=i;b=i;break c}b=C[C[a+52>>2]+(b<<2)>>2]}if(!b){break a}d=0;d:{e:{f:{g:{e=D[c|0];switch(e>>>4&3){case 1:break f;case 0:break g;case 2:break e;default:break d}}d=C[b>>2]-C[f>>2]|0;break d}d=C[b>>2]-C[f+4>>2]|0;break d}d=C[a+4>>2]+C[b>>2]-(C[a>>2]+C[a+8>>2])|0}g=e&7;b=d-C[c+8>>2]|0;h:{i:{if(e&8){c=C[f>>2]+(C[c+4>>2]&268435455)|0;if((g|0)==4){e=b&65280;g=b>>>8&65280;d=b<<24|e<<8|(g|b>>>24);A[c|0]=d;A[c+1|0]=d>>>8;A[c+2|0]=d>>>16;A[c+3|0]=d>>>24;c=b&255|(e|(b&-16777216|g<<8));if((c|0)!=(b|0)|c>>31){break i}break h}d=b<<8|(b&65280)>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=b<<16>>16;if((c|0)!=(b|0)|c>>31){break i}break h}j:{switch(g-3|0){case 1:c=C[f>>2]+(C[c+4>>2]&268435455)|0;e=b&65280;g=b>>>8&65280;d=b<<24|e<<8|(g|b>>>24);A[c|0]=d;A[c+1|0]=d>>>8;A[c+2|0]=d>>>16;A[c+3|0]=d>>>24;if((b|0)!=(b&255|(e|(b&-16777216|g<<8)))){break i}break h;case 0:c=C[f>>2]+(C[c+4>>2]&268435455)|0;A[c+2|0]=b;A[c+1|0]=b>>>8;A[c|0]=b>>>16;if(b>>>0>=16777216){break i}break h;default:break j}}c=C[f>>2]+(C[c+4>>2]&268435455)|0;d=b<<8|(b&65280)>>>8;A[c|0]=d;A[c+1|0]=d>>>8;if(b>>>0<65536){break h}}C[a+20>>2]=C[a+20>>2]|2}b=(h|0)!=0;h=h-b|0;j=(b<<4)+j|0;if((n|0)!=(j|0)){continue}break}}b=(k|0)!=0;k=k-b|0;l=(b<<2)+l|0;if((m|0)!=(l|0)){continue}break}}return}C[a+20>>2]=C[a+20>>2]|1}function zx(a,b,c){var d=0,e=0,f=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{f:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break c}}c=C[b+100>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=205712}if((zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2])|0)==-1){break c}Zi(a+4|0,b,a,a+6|0,C[c+100>>2]+I(C[c+76>>2],20)|0);a=c+76|0;break d}c=C[b+100>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=205712}d=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((d|0)==-1){break c}f=D[a+6|0]|D[a+7|0]<<8;if(d>>>0>=((f<<8|f>>>8)&65535)>>>0){break c}f=a+4|0;e=a;a=I(qT(D[a+4|0]|D[a+5|0]<<8),d);Zi(f,b,e,(a|0)<0?205712:(e+(a<<1)|0)+8|0,C[c+100>>2]+I(C[c+76>>2],20)|0);a=c+76|0}e=1;C[a>>2]=C[a>>2]+1}return e;case 1:g:{h:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break g;case 0:break h;default:break a}}return Kx(a,b)}return Jx(a,b);case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ix(a,b);case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Gx(a,b);case 4:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ex(a,b);case 5:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Dx(a,b);case 6:return Bx(a,b);case 7:i:{j:{k:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}return Ax(b,a)}return Lp(a,b)}return Kp(a,b);case 8:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;e=zx(c,b,(a<<8|a>>>8)&65535)}else{e=0}}return e}function Vp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=C[a+100>>2];c=C[d+76>>2];if(c>>>0>=F[d+80>>2]){break a}while(1){if(!D[d+72|0]){break a}c=C[d+92>>2]+I(c,20)|0;e=C[c>>2];b:{c:{if(!(C[b>>2]>>>(e>>>4)&1)|!(C[b+4>>2]>>>e&1)|(!(C[b+8>>2]>>>(e>>>9)&1)|!(C[a+120>>2]&C[c+4>>2]))){break c}g=C[a+132>>2];c=E[c+12>>1];if(g&c&14){break c}d:{if(!(c&8)){break d}if(g&16){c=C[a+108>>2];f=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<65538){break c}f=D[c+12|0]|D[c+13|0]<<8;if(f){c=c+((f<<8|f>>>8)&65535)|0}else{c=205712}if((D[c|0]|D[c+1|0]<<8)!=256){break c}f=c;g=g>>>16|0;h=(c+(g<<2)|0)+4|0;c=D[c+2|0]|D[c+3|0]<<8;c=g>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:h;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((zf(c?f+c|0:205712,e)|0)!=-1){break d}break c}e=g&65280;if(!e){break d}if((e|0)!=(c&65280)){break c}}c=0;g=C[b+16>>2];if(!g){break c}while(1){e=c>>>0>=g>>>0?205712:C[b+20>>2]+I(c,20)|0;f=C[a+100>>2];f=C[C[f+92>>2]+I(C[f+76>>2],20)>>2];if(!(!(C[e+8>>2]>>>(f>>>4)&1)|!(C[e+12>>2]>>>f&1)|!(C[e+16>>2]>>>(f>>>9)&1))){if(Fe[C[e+4>>2]](C[e>>2],a)|0){break b}g=C[b+16>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}if(D[d+73|0]){e:{if(C[d+96>>2]==C[d+92>>2]){c=C[d+84>>2];if((c|0)==C[d+76>>2]){break e}}if(!$e(d,1,1)){break b}e=C[d+92>>2]+I(C[d+76>>2],20)|0;g=C[e+4>>2];c=C[d+96>>2]+I(C[d+84>>2],20)|0;C[c>>2]=C[e>>2];C[c+4>>2]=g;C[c+16>>2]=C[e+16>>2];g=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=g;c=C[d+84>>2]}C[d+84>>2]=c+1}C[d+76>>2]=C[d+76>>2]+1}c=C[d+76>>2];if(c>>>0>2]){continue}break}}}function wR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=C[b+80>>2];if(g){h=C[b+92>>2];while(1){e=I(d,20)+h|0;c=C[e>>2];a=Ep(c);b=(c&-16)==65024?30:a&255;f=a>>>8|0;a=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if((c|0)<=8209){if((c|0)<=4099){if((c|0)==45|(c|0)==160){break c}if((c|0)!=215){break d}break c}switch(c-4100|0){case 70:case 71:break f;case 52:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 139:case 150:case 151:case 152:break g;case 95:case 96:case 101:case 102:case 103:case 104:case 105:break h;case 55:case 90:case 91:break i;case 57:case 126:break j;case 56:break k;case 92:break l;case 58:break m;case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:break n;case 54:break o;case 53:break p;case 46:case 50:break q;case 0:case 23:case 86:break r;case 74:break a;default:break d}}if((c|0)<=9722){a=c-8210|0;if(a>>>0>16|!(1<>>0>=4){break d}break c}a=16;break a}a=10;break a}a=4;break a}a=18;break a}a=32;break a}a=21;break a}a=33;break a}a=22;break a}a=23;break a}a=24;break a}a=25;break a}a=8;break a}a=31;break a}if((c|0)==9676){break c}}if((b|0)==7){break b}a=b;break a}a=11;break a}a=7;b=f-3|0;c=b&255;if(c>>>0>8|!(297>>>c&1)){break a}a=b<<24>>24<<2;f=C[a+194316>>2];a=C[a+194280>>2]}A[e+19|0]=f;A[e+18|0]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function uF(a){a=a|0;var 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;a:{i=C[a+28>>2];if(!i){break a}d=C[a+24>>2];k=d&3;l=(d+3|0)/4|0;e=C[a>>2];d=C[a+20>>2];m=C[a+36>>2]&-4;n=C[a+16>>2]&-4;b:while(1){i=i-1|0;j=l;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=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}d=d+4|0;e=e+4|0;a=1;continue;case 1:a=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}d=d+4|0;e=e+4|0;a=2;continue;case 2:a=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}d=d+4|0;e=e+4|0;a=3;continue;default:break e}}a=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}a=j-1|0;d=d+4|0;e=e+4|0;f:{if((j|0)>1){j=a;break f}d=d+m|0;e=e+n|0;if(i){continue b}break a}a=0;continue}}}}function ay(a,b,c){var d=0;d=205712;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 1:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 4:f:{g:{h:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+6|0]|D[a+7|0]<<8;if(!b){break b}break a;case 5:i:{j:{k:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=D[b+2|0]|D[b+3|0]<<8?b+4|0:205712;b=D[b|0]|D[b+1|0]<<8;if(!b){break b}break a;case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:205712;a=D[a+2|0]|D[a+3|0]<<8;a=ay(c,b,(a<<8|a>>>8)&65535)}else{a=205712}return a;case 7:break c;default:break b}}if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}d=((b<<8|b>>>8)&65535)+a|0}return d}return((b<<8|b>>>8)&65535)+a|0}function Fy(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if((b|0)!=1196445523){h=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;h=F[a+16>>2]<10?205712:C[a+12>>2]}i=205712;b=205712;a=D[h+4|0]|D[h+5|0]<<8;if(a){b=h+((a<<8|a>>>8)&65535)|0}a=D[b|0]|D[b+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=c>>>0?205712:(I(c,6)+b|0)+2|0;a=D[a+4|0]|D[a+5|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+b|0}c:{d:{e:{f:{g:{h:{if(!d){j=D[i+2|0]|D[i+3|0]<<8;break h}h=65535;j=D[i+2|0]|D[i+3|0]<<8;if(!j){break g}b=((j<<8|j>>>8)&65535)-1|0;m=i+4|0;if(!f){while(1){l=C[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=I(h,6)+m|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break f}a=h+1|0;break i}c=h-1|0}if((a|0)<=(c|0)){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break h}}while(1){l=C[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=I(h,6)+m|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j:{if(g>>>0>l>>>0){c=h-1|0;break j}if((g|0)==(l|0)){break f}a=h+1|0}if((a|0)<=(c|0)){continue}break}C[f>>2]=65535;k=k+1|0;if((k|0)!=(d|0)){continue}break}}h=65535;if(!j){break g}e=i+4|0;c=((j<<8|(j&65280)>>>8)&65535)-1|0;a=0;while(1){b=a+c>>>1|0;d=e+I(b,6)|0;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k:{if(d>>>0>=1684434037){c=b-1|0;break k}if((d|0)==1684434036){break e}a=b+1|0}if((a|0)<=(c|0)){continue}break}}if(!f){break c}break d}if(f){break d}break c}h=b;if(!f){break c}}C[f>>2]=h}}function Gl(a,b,c,d){var e=0,f=0,g=0,h=0;h=Ce-32|0;Ce=h;a:{if(!(C[a>>2]==422390?a:0)){C[h>>2]=16603;Qe(19745,h);e=-1;break a}if(C[a+8>>2]!=1){e=Qe(15290,0);break a}if(!b){C[h+16>>2]=0;C[h+20>>2]=0;C[h+24>>2]=C[a+12>>2];C[h+28>>2]=C[a+16>>2];b=h+16|0}f=C[a+44>>2];if(f){e=C[a+36>>2];b:{if(C[a+76>>2]!=C[e+448>>2]){break b}g=C[e+436>>2];if(!g){break b}f=Fe[C[e+52>>2]](e,g,C[e+536>>2],C[e+540>>2])|0;g=C[e+440>>2];if(g){C[g+24>>2]=C[e+444>>2];C[e+444>>2]=C[e+436>>2];C[e+436>>2]=0;C[e+440>>2]=0}C[e+540>>2]=0;C[e+532>>2]=0;C[e+524>>2]=0;C[e+528>>2]=0;C[e+448>>2]=C[e+448>>2]+1;e=-1;if((f|0)<0){break a}f=C[a+44>>2]}e=c;c:{d:{e:{f:{g:{h:{i:{a=C[f>>2];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 g;case 0:case 11:break h;default:break i}}if((a|0)==1448433993){break h}if((a|0)!=825382478){break g}}if(!b){break e}if(!(C[b>>2]|C[b+4>>2]|C[b+8>>2]!=C[f+8>>2])){c=0;g=0;if(C[b+12>>2]==C[f+12>>2]){break f}}e=Qe(7272,0);break c}if(!b){break e}c=C[b+4>>2];g=C[b>>2]<<1}a=E[f+20>>1];b=g+(C[f+28>>2]+I(c,a)|0)|0;break d}a=E[f+20>>1];b=C[f+28>>2]}C[e>>2]=b;C[d>>2]=a;e=0}break a}if(C[a+40>>2]){e=C[b+4>>2];C[a+56>>2]=C[b>>2];C[a+60>>2]=e;f=C[b+12>>2];e=a- -64|0;C[e>>2]=C[b+8>>2];C[e+4>>2]=f;g=C[b>>2];e=C[a+52>>2];f=C[a+48>>2]+I(e,C[b+4>>2])|0;a=C[a+4>>2];j:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break j}b=(a|0)==1431918169?2:1;break j}b=a&255}C[c>>2]=f+I(b,g);C[d>>2]=e;e=0;break a}f=C[a+36>>2];e=-1;if((fs(a)|0)<0){break a}e=Fe[C[f+68>>2]](f,a,b,c,d)|0}Ce=h+32|0;return e}function eh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{g:{c=D[a+4|0]|D[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}d=D[c|0]|D[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}d=D[c+2|0]|D[c+3|0]<<8;d=b-((d<<8|d>>>8)&65535)|0;e=(c+(d<<1)|0)+6|0;c=D[c+4|0]|D[c+5|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:e;break e}g=206102;d=D[c+2|0]|D[c+3|0]<<8;h:{if(!d){break h}h=c+4|0;c=((d<<8|d>>>8)&65535)-1|0;d=0;while(1){e=c+d>>>1|0;f=h+I(e,6)|0;i=D[f|0]|D[f+1|0]<<8;i:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){d=D[f+2|0]|D[f+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=e+1|0;break i}g=h+I(e,6)|0;break h}c=e-1|0}if((c|0)>=(d|0)){continue}break}}c=g+4|0}c=D[c|0]|D[c+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}return 2}return 4}j=8;j:{k:{l:{c=D[a+10|0]|D[a+11|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}a=D[c|0]|D[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break k;case 0:break l;default:break a}}a=D[c+2|0]|D[c+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=D[c+4|0]|D[c+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?205712:(c+(a<<1)|0)+6|0;break j}a=206102;d=D[c+2|0]|D[c+3|0]<<8;m:{if(!d){break m}g=c+4|0;c=((d<<8|d>>>8)&65535)-1|0;d=0;while(1){e=c+d>>>1|0;f=g+I(e,6)|0;h=D[f|0]|D[f+1|0]<<8;n:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){d=D[f+2|0]|D[f+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=e+1|0;break n}a=g+I(e,6)|0;break m}c=e-1|0}if((c|0)>=(d|0)){continue}break}}a=a+4|0}a=D[a|0]|D[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function DM(a,b){a=a|0;b=b|0;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;d=a+10|0;if(d>>>0>F[b+160>>2]){tf(b,8)}c=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);k=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(!(g>>>0<10|C[b+160>>2]-a>>>0>>0)&(g-10>>>0)/11>>>0>=k>>>0)){tf(b,8)}if(k){l=a+4|0;c=1;while(1){m=D[d+2|0]|(D[d+1|0]<<8|D[d|0]<<16);a=D[d+7|0]|D[d+8|0]<<8|(D[d+9|0]<<16|D[d+10|0]<<24);e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=D[d+3|0]|D[d+4|0]<<8|(D[d+5|0]<<16|D[d+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!(e>>>0>>0&a>>>0>>0)){tf(b,8)}if(c>>>0>m>>>0){tf(b,8)}a:{if(!a){break a}a=a+l|0;c=a-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b:{if(f>>>0>C[b+160>>2]-a>>>2>>>0){tf(b,8);break b}if(!f){break a}}c=0;h=0;while(1){i=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);j=i+D[a+3|0]|0;if(j>>>0>=1114112){tf(b,8)}if(h>>>0>i>>>0){tf(b,8)}a=a+4|0;h=j+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c:{if(!e){break c}a=e+l|0;c=a-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d:{if(c>>>0>C[b+160>>2]-a>>>2>>>0){tf(b,8);break d}if(!c){break c}}h=0;f=0;while(1){i=D[a+3|0];j=D[a+4|0];e=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);if(e>>>0>=1114112){tf(b,8)}if(e>>>0>>0){tf(b,8)}if(!(!C[b+164>>2]|F[b+172>>2]>(j|i<<8)>>>0)){tf(b,16)}a=a+5|0;h=e+1|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function oQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=Ce-16|0;Ce=h;d=C[a+656>>2];C[h+12>>2]=0;a:{if(!d){break a}f=C[d+2960>>2];if(!f){f=hf(C[a+100>>2],32,h+12|0);c=C[h+12>>2];if(c){break a}a=0;e=C[d+1324>>2];g=0;b:{if((e|0)==65535){break b}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=F[d+1312>>2]){break b}g=C[C[d+1316>>2]+(e<<2)>>2];break b}c=C[d+2956>>2];g=0;if(!c){break b}g=Fe[C[c+20>>2]](e)|0}C[f>>2]=g;c=C[d+1328>>2];c:{if((c|0)==65535){break c}if(c>>>0>=391){c=c-391|0;if(c>>>0>=F[d+1312>>2]){break c}a=C[C[d+1316>>2]+(c<<2)>>2];break c}e=C[d+2956>>2];if(!e){break c}a=Fe[C[e+20>>2]](c)|0}C[f+4>>2]=a;a=0;e=C[d+1336>>2];g=0;d:{if((e|0)==65535){break d}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=F[d+1312>>2]){break d}g=C[C[d+1316>>2]+(e<<2)>>2];break d}c=C[d+2956>>2];g=0;if(!c){break d}g=Fe[C[c+20>>2]](e)|0}C[f+8>>2]=g;c=C[d+1340>>2];e:{if((c|0)==65535){break e}if(c>>>0>=391){c=c-391|0;if(c>>>0>=F[d+1312>>2]){break e}a=C[C[d+1316>>2]+(c<<2)>>2];break e}e=C[d+2956>>2];if(!e){break e}a=Fe[C[e+20>>2]](c)|0}C[f+12>>2]=a;c=0;a=C[d+1344>>2];f:{if((a|0)==65535){break f}if(a>>>0>=391){a=a-391|0;if(a>>>0>=F[d+1312>>2]){break f}c=C[C[d+1316>>2]+(a<<2)>>2];break f}e=C[d+2956>>2];if(!e){break f}c=Fe[C[e+20>>2]](a)|0}C[f+16>>2]=c;C[f+20>>2]=C[d+1352>>2];A[f+24|0]=D[d+1348|0];B[f+26>>1]=C[d+1356>>2];B[f+28>>1]=C[d+1360>>2];C[d+2960>>2]=f;c=C[h+12>>2]}a=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=a;a=C[f+28>>2];C[b+24>>2]=C[f+24>>2];C[b+28>>2]=a;a=C[f+20>>2];C[b+16>>2]=C[f+16>>2];C[b+20>>2]=a;a=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=a}Ce=h+16|0;return c|0}function et(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ce-32|0;Ce=i;a:{b:{g=D[b|0];switch(g-43|0){case 0:case 2:break b;default:break a}}b=b+1|0;f=g}g=-1;d=b;c:{if(!d){break c}d:{e:{h=D[d|0];switch(h-43|0){case 0:case 2:break e;default:break d}}h=D[d+1|0];d=d+1|0}if(!h){break c}g=0;if(!wf(d,1621)){break c}g=1;if(!wf(d,1049)){break c}g=2;if(!wf(d,1614)){break c}g=3;if(!wf(d,1042)){break c}g=4;if(!wf(d,10820)){break c}g=wf(d,10807)?-1:5}d=-1;f:{if(!D[b|0]){break f}while(1){d=e;if(!wf(b,C[(d<<2)+124880>>2])){break f}e=e+1|0;if((e|0)!=21){continue}break}d=-1}g:{h:{i:{if((g|0)!=-1){d=32767;j=2;if((g&-2)==4){break h}j:{switch(f-43|0){case 0:break h;case 2:break i;default:break j}}k=-32768;break h}if((d|0)!=-1){j=1;g=d;break h}C[i>>2]=b;Qe(8214,i);break g}d=-32768}b=0;k:{l:{e=D[c|0];switch(e-43|0){case 0:case 2:break l;default:break k}}c=c+1|0;b=e}f=af(c);e=D[c|0];m:{if((e|0)==97){l=D[(c+f|0)-1|0];if(D[c+1|0]-48>>>0<10){f=0;e=32767;h=Zf(c+1|0);n:{o:{switch(b-43|0){case 2:e=-32768;break n;case 0:break n;default:break o}}f=-32768}c=(l|0)==126;b=c?e:f;c=c?f:e;e=2;break m}e=D[c|0]}p:{if((e&255)==98){if(D[c+1|0]-48>>>0<10){break p}e=D[c|0]}if(!((e&255)!=104|D[c+1|0]-48>>>0>=10|(D[c+2|0]!=46|D[c+3|0]-48>>>0>=10))){h=Zf(c+1|0);b=Zf(c+3|0);e=3;break m}C[i+16>>2]=c;Qe(8565,i+16|0);break g}h=Zf(c+1|0);e=1}f=C[a+12>>2]+1|0;C[a+12>>2]=f;f=Sf(C[a+16>>2],f<<5);C[a+16>>2]=f;if(!f){C[a+12>>2]=0;_e(0);break g}a=(f+(C[a+12>>2]<<5)|0)-32|0;C[a+28>>2]=d;C[a+24>>2]=k;C[a+20>>2]=g;C[a+16>>2]=j;C[a+12>>2]=c;C[a+8>>2]=b;C[a+4>>2]=h;C[a>>2]=e}Ce=i+32|0}function FC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ce-32|0;Ce=i;a:{b:{f=C[a+412>>2];if(!f){k=b+8|0;g=C[b+8>>2];j=376840196;break b}k=b+8|0;g=C[b+8>>2];j=C[f+4>>2];if(!j|(j&-268435456)==268435456){break b}f=2;if((j|0)==844715353|(j|0)==1498831189){break a}f=(j|0)==1431918169?2:1;break a}l=1;f=j&255}m=I(f,g);g=I(m,C[b+12>>2]);c:{if(!g){f=0;break c}f=C[a+548>>2];g=Fe[C[94503]](g>>>0<=1?1:g)|0;if(g){C[94507]=C[94507]+1}if(!g){f=_e(0);break c}Hl(a,i+28|0,i+24|0);n=C[f+132>>2];o=C[b>>2];d:{if(C[a+412>>2]){f=C[b+12>>2];h=C[b+4>>2];break d}f=C[b+12>>2];h=C[i+24>>2]-(f+C[b+4>>2]|0)|0}Fe[n|0](o,h,C[k>>2],f,6408,5121,g);e:{h=C[a+548>>2];if(!C[h+4>>2]){break e}f=Fe[C[h+100>>2]]()|0;if(!f){break e}while(1){b=25026;a=f-1280|0;if(a>>>0<=5){b=C[(a<<2)+137356>>2]}C[i+20>>2]=f;C[i+16>>2]=b;C[i+12>>2]=6998;C[i+8>>2]=1956;C[i+4>>2]=21666;C[i>>2]=33923;Qe(33817,i);f=Fe[C[h+100>>2]]()|0;if(f){continue}break}f=-1;break c}f:{if(C[a+412>>2]){break f}a=C[k>>2];k=C[b+12>>2];g:{if(!l){f=2;if((j|0)==844715353|(j|0)==1498831189){break g}f=(j|0)==1431918169?2:1;break g}f=j&255}h=I(f,a);h:{if(h>>>0<=127){l=i-(h+15&-16)|0;Ce=l;a=k;break h}l=Fe[C[94503]](h>>>0<=1?1:h)|0;if(l){C[94507]=C[94507]+1}a=C[b+12>>2]}if(a+1>>>0>=3){f=g+I(k-1|0,m)|0;n=0-m|0;k=(a|0)/2|0;a=g;while(1){gf(l,a,h);gf(a,f,h);gf(f,l,h);f=f+n|0;a=a+m|0;k=k-1|0;if(k){continue}break}}if(h>>>0<128){break f}if(l){Fe[C[94506]](l);C[94507]=C[94507]-1}}f=Bi(C[b+8>>2],C[b+12>>2],j,g,m,c,d,e);if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}}Ce=i+32|0;return f|0}function nm(a,b,c,d,e,f){var 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;o=e>>8;if((d|0)==(f|0)){c=C[a+168>>2];c=((c|0)<(o|0)?c:o)-C[a+164>>2]|0;c=(c|0)<0?-1:c;b=b-C[a+172>>2]|0;if(!((c|0)==C[a+156>>2]&(b|0)==C[a+160>>2])){if(!C[a+196>>2]){_h(a)}C[a+160>>2]=b;C[a+156>>2]=c;C[a+188>>2]=0;C[a+192>>2]=0}C[a+196>>2]=(c|0)>=C[a+180>>2]|b>>>0>=F[a+184>>2];return}s=e&255;g=c&255;i=c>>8;if((i|0)==(o|0)){b=f-d|0;C[a+192>>2]=b+C[a+192>>2];C[a+188>>2]=C[a+188>>2]+I(b,g+s|0);return}k=f-d|0;j=e-c|0;a:{if((j|0)>=0){t=256;q=1;c=256-g|0;break a}j=0-j|0;q=-1;c=g}e=I(c,k);c=(e|0)/(j|0)|0;l=e-I(c,j)|0;h=c+(l>>31)|0;k=h+C[a+192>>2]|0;C[a+192>>2]=k;m=C[a+188>>2]+I(h,g|t)|0;C[a+188>>2]=m;g=C[a+168>>2];c=i+q|0;g=((c|0)>(g|0)?g:c)-C[a+164>>2]|0;g=(g|0)<0?-1:g;e=b-C[a+172>>2]|0;if(!((g|0)==C[a+156>>2]&(e|0)==C[a+160>>2])){if(!C[a+196>>2]){_h(a)}C[a+160>>2]=e;C[a+156>>2]=g;m=0;k=0}i=1;r=C[a+184>>2];i=r>>>0>e>>>0?C[a+180>>2]<=(g|0):i;C[a+196>>2]=i;d=d+h|0;if((c|0)!=(o|0)){n=(f+h|0)-d<<8;h=(n|0)/(j|0)|0;n=n-I(h,j)|0;p=n>>31;n=(p&j)+n|0;p=h+p|0;h=l-((l|0)>=0?j:0)|0;while(1){h=h+n|0;u=(h|0)>=0;l=u+p|0;k=l+k|0;C[a+192>>2]=k;m=(l<<8)+m|0;C[a+188>>2]=m;v=g;g=C[a+168>>2];c=c+q|0;g=((c|0)>(g|0)?g:c)-C[a+164>>2]|0;g=(g|0)<0?-1:g;w=e;e=b-C[a+172>>2]|0;if(!((v|0)==(g|0)&(w|0)==(e|0))){if(!i){_h(a);r=C[a+184>>2]}C[a+160>>2]=e;C[a+156>>2]=g;C[a+188>>2]=0;C[a+192>>2]=0;m=0;k=0}i=1;h=h-(u?j:0)|0;d=d+l|0;i=e>>>0>>0?(g|0)>=C[a+180>>2]:i;C[a+196>>2]=i;if((c|0)!=(o|0)){continue}break}}b=f-d|0;C[a+192>>2]=b+k;C[a+188>>2]=I(b,(s|256)-t|0)+m}function Vx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{c=D[a|0]|D[a+1|0]<<8;f=c<<8|c>>>8;switch(f&65535){case 1:break c;case 0:break e;default:break d}}a=C[b+100>>2];e=C[a+92>>2];c=C[a+76>>2];d=C[(e+I(c,20)|0)+8>>2];f=c+1|0;f:{g:{h:{if(f>>>0>2]){if((d|0)==C[(e+I(f,20)|0)+8>>2]){break g}b=C[a+84>>2];if(b){break h}eg(a,c,c+2|0);C[a+76>>2]=C[a+76>>2]+1;break f}b=C[a+84>>2];if(!b){break g}}h=C[a+96>>2];i=C[(h+I(b,20)|0)-12>>2];if(i>>>0<=d>>>0){break g}e=C[(e+I(c,20)|0)+4>>2]&1;while(1){b=b-1|0;c=h+I(b,20)|0;if((i|0)!=C[c+8>>2]){break g}C[c+4>>2]=e|C[c+4>>2]&-2;C[c+8>>2]=d;if(b){continue}break}}C[a+76>>2]=f}return 1}e=C[b+100>>2];d=C[e+76>>2];if(!c){break a}c=C[e+92>>2]+I(d,20)|0;h=E[c+12>>1]>>>1&2;j=f&65535;k=D[c+14|0]>31;f=0;while(1){if(!k){c=C[b+100>>2];A[(C[c+92>>2]+I(C[c+76>>2],20)|0)+14|0]=f&15}c=(f<<1)+a|0;c=D[c+2|0]|D[c+3|0]<<8;i=(c<<8|c>>>8)&65535;e=C[b+100>>2];c=C[e+92>>2]+I(C[e+76>>2],20)|0;d=E[c+12>>1]&32|80;i:{j:{if(D[b+140|0]){d=eh(C[b+108>>2],i)|d;break j}if(!h){break i}d=d|h}B[c+12>>1]=d;e=C[b+100>>2]}if($e(e,0,1)){c=C[e+76>>2];k:{if(c>>>0>2]){d=C[e+84>>2];g=C[e+96>>2];c=C[e+92>>2]+I(c,20)|0;break k}g=C[e+96>>2];d=C[e+84>>2];c=d-1|0;c=g+I(c>>>0<=d>>>0?c:0,20)|0}d=I(d,20)+g|0;g=C[c+4>>2];C[d>>2]=C[c>>2];C[d+4>>2]=g;C[d+16>>2]=C[c+16>>2];g=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=g;C[d>>2]=i;C[e+84>>2]=C[e+84>>2]+1}f=f+1|0;if((j|0)!=(f|0)){continue}break}break b}a=D[a+2|0]|D[a+3|0]<<8;Wx(b,(a<<8|a>>>8)&65535);return 1}e=C[b+100>>2];d=C[e+76>>2]}C[e+76>>2]=d+1;return 1}function rq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if(F[b+4>>2]>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=C[b+12>>2]-2|0;C[b+12>>2]=g;d=1;if((g|0)<=0){break a}h=D[a|0]|D[a+1|0]<<8;b:{if(!h){break b}d=a+2|0;if(d>>>0>e>>>0){break a}f=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(f>>>0>>0){break a}g=g-d|0;C[b+12>>2]=g;d=0;if((g|0)<=0){break b}o=e>>>0<=1?1:e;while(1){g=((l<<2)+a|0)+2|0;if(g>>>0>2]){break a}e=C[b+8>>2];if(e>>>0>>0|e-g>>>0<4){break a}d=C[c>>2];e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=A[g|0];if((e|0)<0){break a}h=D[g+3|0]|(D[g+1|0]<<16|(e&255)<<24|D[g+2|0]<<8);c:{if(!h){break c}e=0;n=C[b+4>>2];d=d+h|0;d:{e:{if(n>>>0>d>>>0){break e}h=C[b+8>>2];if(h>>>0>>0|h-d>>>0<6){break e}i=C[b+12>>2];j=i-6|0;C[b+12>>2]=j;if((j|0)<=0){break e}j=d+4|0;if(j>>>0>h>>>0|h-j>>>0<2){break e}i=i-8|0;C[b+12>>2]=i;if((i|0)<=0){break e}f=D[j|0]|D[j+1|0]<<8;k=(f<<8|f>>>8)&65535;m=k<<1;if(f){f=d+6|0;if(f>>>0>h>>>0|h-f>>>0>>0){break e}i=i-m|0;C[b+12>>2]=i;if((i|0)<=0){break e}}f=D[d+2|0]|D[d+3|0]<<8;f=f<<8|f>>>8;if((f&65535)>>>0>k>>>0){break e}k=(f&65535)+k|0;d=D[d|0]|D[d+1|0]<<8;f=(d<<8|d>>>8)&65535;if(f>>>0>=4294967295/(k>>>0)>>>0?k:0){break e}f=I(f,k);d=1;if(!f){break d}d=(j+m|0)+2|0;if(d>>>0>>0|d>>>0>h>>>0|f>>>0>h-d>>>0){break e}e=i-f|0;C[b+12>>2]=e;e=(e|0)>0}d=e}if(d){break c}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[g|0]=0;A[g+1|0]=0;A[g+2|0]=0;A[g+3|0]=0}d=1;l=l+1|0;if((o|0)!=(l|0)){continue}break}}return d}return 0}function IS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=205712;d=205712;c=C[C[C[a+96>>2]+136>>2]>>2];c=c?c:205712;c=F[c+16>>2]<10?205712:C[c+12>>2];g=D[c+8|0]|D[c+9|0]<<8;if(g){d=c+((g<<8|g>>>8)&65535)|0}c=D[d|0]|D[d+1|0]<<8;a:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=D[c+2|0]|D[c+3|0]<<8;if(!c){break a}f=((c<<8|c>>>8)&65535)+d|0}j=C[a+128>>2];C[a+128>>2]=b;b=D[f+2|0]|D[f+3|0]<<8;b=b<<8|b>>>8;d=b&65535;c=C[a+132>>2];if(b&16){b=D[f+4|0]|D[f+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+f|0;b=D[b+6|0]|D[b+7|0]<<8;d=b<<24|b<<8&16711680|d}C[a+132>>2]=d;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+12>>2]=d;C[a+80>>2]=0;C[a+52>>2]=a;b=C[a+120>>2];C[a+20>>2]=b;h=D[a+142|0];A[a+17|0]=h;C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=d;C[a- -64>>2]=-1;A[a+61|0]=1;d=C[a+124>>2];g=(d|0)==1;A[a+16|0]=g;e=D[a+141|0];A[a+60|0]=g|(e|0)!=0;g=0;i=D[f+4|0]|D[f+5|0]<<8;if(i){b=D[f|0]|D[f+1|0]<<8;k=(b<<8|b>>>8)&65535;b=f+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;d=0;g=1;while(1){e=D[b|0]|D[b+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?205712:(b+(d<<1)|0)+2|0;e=D[e|0]|D[e+1|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+f|0}else{e=205712}if(!Cx(e,a,k)){d=d+1|0;g=h>>>0>d>>>0;if((d|0)!=(i|0)){continue}}break}e=D[a+141|0];h=D[a+142|0];d=C[a+124>>2];b=C[a+120>>2]}C[a+132>>2]=c;C[a+128>>2]=j;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+80>>2]=0;C[a+20>>2]=b;A[a+17|0]=h;C[a+12>>2]=c;C[a+72>>2]=0;C[a+76>>2]=0;C[a+64>>2]=-1;A[a+61|0]=1;C[a+56>>2]=c;b=(d|0)==1;A[a+16|0]=b;A[a+60|0]=b|(e|0)!=0;C[a+8>>2]=a;C[a+52>>2]=a;return g|0}function HS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=205712;d=205712;c=C[C[C[a+96>>2]+140>>2]>>2];c=c?c:205712;c=F[c+16>>2]<10?205712:C[c+12>>2];g=D[c+8|0]|D[c+9|0]<<8;if(g){d=c+((g<<8|g>>>8)&65535)|0}c=D[d|0]|D[d+1|0]<<8;a:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=D[c+2|0]|D[c+3|0]<<8;if(!c){break a}f=((c<<8|c>>>8)&65535)+d|0}j=C[a+128>>2];C[a+128>>2]=b;b=D[f+2|0]|D[f+3|0]<<8;b=b<<8|b>>>8;d=b&65535;c=C[a+132>>2];if(b&16){b=D[f+4|0]|D[f+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+f|0;b=D[b+6|0]|D[b+7|0]<<8;d=b<<24|b<<8&16711680|d}C[a+132>>2]=d;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+12>>2]=d;C[a+80>>2]=0;C[a+52>>2]=a;b=C[a+120>>2];C[a+20>>2]=b;h=D[a+142|0];A[a+17|0]=h;C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=d;C[a- -64>>2]=-1;A[a+61|0]=1;d=C[a+124>>2];g=(d|0)==1;A[a+16|0]=g;e=D[a+141|0];A[a+60|0]=g|(e|0)!=0;g=0;i=D[f+4|0]|D[f+5|0]<<8;if(i){b=D[f|0]|D[f+1|0]<<8;k=(b<<8|b>>>8)&65535;b=f+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;d=0;g=1;while(1){e=D[b|0]|D[b+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?205712:(b+(d<<1)|0)+2|0;e=D[e|0]|D[e+1|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+f|0}else{e=205712}if(!zx(e,a,k)){d=d+1|0;g=h>>>0>d>>>0;if((d|0)!=(i|0)){continue}}break}e=D[a+141|0];h=D[a+142|0];d=C[a+124>>2];b=C[a+120>>2]}C[a+132>>2]=c;C[a+128>>2]=j;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+80>>2]=0;C[a+20>>2]=b;A[a+17|0]=h;C[a+12>>2]=c;C[a+72>>2]=0;C[a+76>>2]=0;C[a+64>>2]=-1;A[a+61|0]=1;C[a+56>>2]=c;b=(d|0)==1;A[a+16|0]=b;A[a+60|0]=b|(e|0)!=0;C[a+8>>2]=a;C[a+52>>2]=a;return g|0}function Ck(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;c=Ce-192|0;Ce=c;C[c+188>>2]=0;a:{if(!a){C[c>>2]=15233;e=Qe(19745,c);break a}e=Wh(a,28799);if(e){e=af(28799)+e|0;g=D[e|0];i=((g|0)==33)+e|0;while(1){e=D[i|0];if(!(!e|(e|0)==44|((e|0)==58|d>>>0>126))){A[(c+48|0)+d|0]=e;d=d+1|0;i=i+1|0;continue}break}e=0;f=d;d=c+48|0;A[f+d|0]=0;f=0;b:{if(D[i|0]!=58){break b}f=0;if(D[i+1|0]!=61){break b}f=Zf(i+2|0)}d=cg(d,f);if(!((g|0)==33?!d:d)){break a}}c:{d=hh(a,44);if(d){i=1;d=d-a|0;e=d+1|0;f=Fe[C[94503]](e>>>0<=1?1:e)|0;if(f){C[94507]=C[94507]+1}if(f){break c}_e(0)}C[c+16>>2]=a;e=Qe(8298,c+16|0);break a}gf(f,a,d);A[d+f|0]=0;k=wf(f,4239);if(k){i=(wf(f,3212)|0)!=0}d=af(f);e=c+48|0;lf(e,0,16);l=d&-2;d:{if(!l){break d}d=e;while(1){h=D[f+j|0];g=h-48|0;e:{if((g&255)>>>0<10){break e}if((h-65&255)>>>0<=5){g=h-55|0;break e}g=(h-97&255)>>>0<6?h-87|0:0}m=g<<4;h=D[f+(j|1)|0];g=h-48|0;f:{if((g&255)>>>0<10){break f}if((h-65&255)>>>0<=5){g=h-55|0;break f}g=(h-97&255)>>>0<6?h-87|0:0}A[d|0]=g|m;j=j+2|0;if(l>>>0<=j>>>0){break d}d=d+1|0;if((d-e|0)<16){continue}break}}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}d=D[c+60|0]|D[c+61|0]<<8|(D[c+62|0]<<16|D[c+63|0]<<24);C[c+40>>2]=D[c+56|0]|D[c+57|0]<<8|(D[c+58|0]<<16|D[c+59|0]<<24);C[c+44>>2]=d;d=D[c+52|0]|D[c+53|0]<<8|(D[c+54|0]<<16|D[c+55|0]<<24);C[c+32>>2]=D[c+48|0]|D[c+49|0]<<8|(D[c+50|0]<<16|D[c+51|0]<<24);C[c+36>>2]=d;a=Bk(c+32|0,a,c+188|0,b);if(!a){e=-1;break a}e=0;if(C[c+188>>2]){break a}if(!k){C[104762]=a;e=1;break a}e=1;if(i){break a}C[104763]=a}Ce=c+192|0;return e}function DF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=C[a+28>>2];if(!g){break a}d=C[a+56>>2];e=C[a+48>>2];h=C[a+36>>2];i=C[a+16>>2];f=C[a+24>>2];j=f&7;k=(f+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];b:while(1){g=g-1|0;f=k;c:{d:{switch(j-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=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=1;continue;case 1:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=2;continue;case 2:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=3;continue;case 3:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=4;continue;case 4:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=5;continue;case 5:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=6;continue;case 6:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}b=f-1|0;a=a+3|0;c=c+1|0;f:{if((f|0)>1){f=b;break f}a=a+h|0;c=c+i|0;if(g){continue b}break a}b=0;continue}}}}function YB(a,b,c,d,e,f,g,h,i,j,k,l,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;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=J(n);o=J(o);var p=J(0),q=0,r=0,s=0;q=a;a=k?l:j;j=ki(q,I(a,c?20:12),b+4|0);if(!j){return-1}C[b+8>>2]=a;b=k?m:0;a:{if(c){if((a|0)>0){break a}return 0}if((a|0)>0){h=b-1|0;b=0;while(1){l=b;b:{c:{switch(h|0){case 3:l=C[(b<<2)+k>>2];break b;case 1:l=E[(b<<1)+k>>1];break b;case 0:break c;default:break b}}l=D[b+k|0]}c=I(g,l)+f|0;i=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);l=I(e,l)+d|0;p=J(G[l>>2]*n);d:{if(J(K(p))>2]=c;p=J(G[l+4>>2]*o);e:{if(J(K(p))>2]=c;C[j>>2]=C[j>>2]<<1;C[j+4>>2]=C[j+4>>2]<<1;C[j+8>>2]=i;j=j+12|0;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return 0}l=0;r=b-1|0;while(1){b=l;f:{g:{switch(r|0){case 3:b=C[(l<<2)+k>>2];break f;case 1:b=E[(l<<1)+k>>1];break f;case 0:break g;default:break f}}b=D[k+l|0]}m=I(b,g)+f|0;s=D[m|0]|D[m+1|0]<<8|(D[m+2|0]<<16|D[m+3|0]<<24);m=I(b,i)+h|0;p=J(G[m>>2]*J(C[c+12>>2]));h:{if(J(K(p))>2]=q;p=J(G[m+4>>2]*J(C[c+16>>2]));i:{if(J(K(p))>2]=m;m=I(b,e)+d|0;p=J(G[m>>2]*n);j:{if(J(K(p))>2]=b;p=J(G[m+4>>2]*o);k:{if(J(K(p))>2]=b;C[j+8>>2]=C[j+8>>2]<<1;C[j+12>>2]=C[j+12>>2]<<1;C[j+16>>2]=s;j=j+20|0;l=l+1|0;if((a|0)!=(l|0)){continue}break}return 0}function AA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,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=J(0),y=J(0);if((e|0)<=0){return 0}o=e&1;a:{if((e|0)==1){e=0;break a}p=e&-2;e=0;while(1){f=e<<2;if(C[f+d>>2]){C[(g<<2)+c>>2]=C[c+f>>2];g=g+1|0}f=(e|1)<<2;if(C[f+d>>2]){C[(g<<2)+c>>2]=C[c+f>>2];g=g+1|0}e=e+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}b:{if(!o){break b}h=d;d=e<<2;if(!C[h+d>>2]){break b}C[(g<<2)+c>>2]=C[c+d>>2];g=g+1|0}if(!g){return 0}j=C[b>>2];i=C[j+8>>2];q=(C[j+4>>2]-C[j>>2]|0)/(i|0)|0;v=C[j+12>>2];r=pg(a,g<<2);if((g|0)>0){h=q<<2;e=0;while(1){d=pg(a,h);C[(e<<2)+r>>2]=d;We(d,0,h);e=e+1|0;if((g|0)!=(e|0)){continue}break}}if((q|0)>0){y=J(100/+(i|0));o=i&-2;p=i&1;h=v-1|0;while(1){if((g|0)>0){s=C[j>>2]+I(i,n)|0;m=0;while(1){c:{if((i|0)<=0){e=0;k=0;break c}t=C[(m<<2)+c>>2];k=0;e=0;d=0;u=0;if((i|0)!=1){while(1){f=C[t+((d|1)+s<<2)>>2];l=f>>31;a=C[t+(d+s<<2)>>2];w=a>>31;l=(f^l)-l|0;f=(a^w)-w|0;a=(e|0)<(f|0)?f:e;e=(a|0)<(l|0)?l:a;k=l+(f+k|0)|0;d=d+2|0;u=u+2|0;if((o|0)!=(u|0)){continue}break}}if(!p){break c}a=C[t+(d+s<<2)>>2];d=a>>31;a=(a^d)-d|0;e=(a|0)>(e|0)?a:e;k=a+k|0}f=(v|0)<2;x=J(y*J(k|0));d:{if(J(K(x))>2]>=(e|0)){f=C[f+2584>>2];if((f|0)<0|(a|0)<(f|0)){break e}}d=d+1|0;if((h|0)!=(d|0)){continue}break}d=h}C[C[(m<<2)+r>>2]+(n<<2)>>2]=d;m=m+1|0;if((m|0)!=(g|0)){continue}break}}n=n+1|0;if((q|0)!=(n|0)){continue}break}}C[b+40>>2]=C[b+40>>2]+1;return r|0}function by(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}d=C[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}j=C[b+12>>2];f=j-2|0;C[b+12>>2]=f;e=1;if((f|0)<=0){return 0}f=D[a|0]|D[a+1|0]<<8;a:{if(!f){break a}b:{f=((f<<8|f>>>8)&65535)+c|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break b}c=j-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}h=D[f|0]|D[f+1|0]<<8;if(!h){break a}e=f+2|0;if(e>>>0>d>>>0){break b}g=d-e|0;d=(h<<8|h>>>8)&65535;e=d<<1;if(g>>>0>>0){break b}c=c-e|0;C[b+12>>2]=c;if((c|0)<=0){break b}l=d>>>0<=1?1:d;j=0;while(1){i=C[b+4>>2];h=(f+(j<<1)|0)+2|0;g=0;c:{if(i>>>0>h>>>0){break c}e=C[b+8>>2];g=0;if(e>>>0>>0){break c}g=0;if(e-h>>>0<2){break c}k=C[b+12>>2];c=k-2|0;C[b+12>>2]=c;d=1;g=0;if((c|0)<=0){break c}c=D[h|0]|D[h+1|0]<<8;d:{if(!c){break d}c=f+((c<<8|c>>>8)&65535)|0;e:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break e}d=k-4|0;C[b+12>>2]=d;if((d|0)<=0){break e}d=c+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break e}k=k-6|0;C[b+12>>2]=k;d=1;if((k|0)<=0){break e}i=D[c+2|0]|D[c+3|0]<<8;g=((i<<8|i>>>8)&65535)<<2;i=D[c|0]|D[c+1|0]<<8;i=g+(i?(((i<<8|i>>>8)&65535)<<1)-2|0:0)|0;if(!i){break d}c=c+4|0;if(c>>>0>e>>>0|i>>>0>e-c>>>0){break e}c=k-i|0;C[b+12>>2]=c;if((c|0)>0){break d}}d=C[b+28>>2];g=0;if(d>>>0>31){break c}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break d}A[h|0]=0;A[h+1|0]=0;d=1}g=d}if(!g){break b}e=1;j=j+1|0;if((l|0)!=(j|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;e=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;e=1}return e}function xq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=205712;e=C[a+4>>2];i=e?e:205712;e=D[i+6|0]|D[i+7|0]<<8|(D[i+8|0]<<16|D[i+9|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);a:{if((e|0)<=0){break a}h=i+10|0;e=e-1|0;while(1){b:{f=e+k>>>1|0;j=h+I(f,11)|0;j=D[j+1|0]<<8|D[j|0]<<16|D[j+2|0];c:{if(j>>>0>c>>>0){e=f-1|0;break c}if((c|0)==(j|0)){break b}k=f+1|0}if((e|0)>=(k|0)){continue}break a}break}g=h+I(f,11)|0}c=0;d:{e:{f:{k=205712;e=D[g+3|0]|D[g+4|0]<<8|(D[g+5|0]<<16|D[g+6|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=e?e+i|0:205712;f=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g:{if((f|0)>0){m=e+4|0;e=f-1|0;f=0;while(1){j=e+f>>>1|0;h=(j<<2)+m|0;l=D[h+1|0]<<8|D[h|0]<<16|D[h+2|0];h:{if(l>>>0>b>>>0){e=j-1|0;break h}f=2;if(D[h+3|0]+l>>>0>=b>>>0){break g}f=j+1|0}if((e|0)>=(f|0)){continue}break}}e=D[g+7|0]|D[g+8|0]<<8|(D[g+9|0]<<16|D[g+10|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=e?e+i|0:205712;g=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if((g|0)<=0){break i}i=e+4|0;e=g-1|0;f=0;while(1){j:{g=e+f>>>1|0;h=i+I(g,5)|0;h=D[h+1|0]<<8|D[h|0]<<16|D[h+2|0];k:{if(h>>>0>b>>>0){e=g-1|0;break k}if((b|0)==(h|0)){break j}f=g+1|0}if((e|0)>=(f|0)){continue}break i}break}k=i+I(g,5)|0}e=D[k+3|0]|D[k+4|0]<<8;f=0;if(!e){break g}C[d>>2]=(e<<8|e>>>8)&65535;f=1}switch(f|0){case 0:break d;case 1:break f;default:break e}}return 1}e=C[a+8>>2];if(!e){break d}c=Fe[e|0](C[a+12>>2],b,d)|0}return c}function kB(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;h=1;g=df(1,44);i=C[C[a+4>>2]+28>>2];C[g>>2]=b;d=C[b+12>>2];C[g+4>>2]=d;a=C[i+2848>>2];C[g+12>>2]=a;a=a+I(C[b+20>>2],56)|0;C[g+16>>2]=a;j=C[a>>2];k=df(d,4);C[g+20>>2]=k;if((d|0)>0){while(1){a=m<<2;e=a+b|0;f=tg(C[e+24>>2]);a:{if(!f){break a}l=a+k|0;r=l,s=df(f,4),C[r>>2]=s;n=(f|0)>(n|0)?f:n;if((f|0)<=0){break a}o=C[e+24>>2];a=0;if((f|0)!=1){p=f&-2;e=0;while(1){q=o>>>a|0;if(q&1){C[C[l>>2]+(a<<2)>>2]=C[i+2848>>2]+I(C[((c<<2)+b|0)+280>>2],56);c=c+1|0}if(q&2){C[C[l>>2]+(a<<2|4)>>2]=C[i+2848>>2]+I(C[((c<<2)+b|0)+280>>2],56);c=c+1|0}a=a+2|0;e=e+2|0;if((p|0)!=(e|0)){continue}break}}if(!(f&1)|!(o>>>a&1)){break a}C[C[l>>2]+(a<<2)>>2]=C[i+2848>>2]+I(C[((c<<2)+b|0)+280>>2],56);c=c+1|0}m=m+1|0;if((m|0)!=(d|0)){continue}break}}C[g+24>>2]=1;if((j|0)>0){b=j&7;if(j>>>0>=8){c=j&-8;a=0;while(1){h=I(I(I(I(I(I(I(I(d,h),d),d),d),d),d),d),d);a=a+8|0;if((c|0)!=(a|0)){continue}break}}if(b){a=0;while(1){h=I(d,h);a=a+1|0;if((b|0)!=(a|0)){continue}break}}C[g+24>>2]=h}C[g+8>>2]=n;l=kf(h<<2);C[g+28>>2]=l;if((h|0)>0){n=j&-2;m=j&1;o=j<<2;f=0;while(1){i=kf(o);C[l+(f<<2)>>2]=i;b:{if((j|0)<=0){break b}a=0;c=h;e=f;b=0;if((j|0)!=1){while(1){k=a<<2;c=(c|0)/(d|0)|0;p=(e|0)/(c|0)|0;C[k+i>>2]=p;q=i+(k|4)|0;e=e-I(c,p)|0;c=(c|0)/(d|0)|0;k=(e|0)/(c|0)|0;C[q>>2]=k;e=e-I(c,k)|0;a=a+2|0;b=b+2|0;if((n|0)!=(b|0)){continue}break}}if(!m){break b}C[i+(a<<2)>>2]=(e|0)/((c|0)/(d|0)|0)}f=f+1|0;if((h|0)!=(f|0)){continue}break}}return g|0}function IC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce+-64|0;Ce=e;d=C[a+548>>2];if(d){i=Rh();b=C[d>>2];a:{if((i|0)!=(b|0)){C[d+468>>2]=0;if((sh(C[a+204>>2],b)|0)<0){break a}}b=C[a+548>>2];if(!C[b+4>>2]){break a}while(1){if(Fe[C[b+100>>2]]()|0){continue}break}}while(1){b=(c<<2)+d|0;f=C[b+236>>2];if(f){Fe[C[d+56>>2]](f)}f=C[b+240>>2];if(f){Fe[C[d+56>>2]](f)}b=C[b+244>>2];if(b){Fe[C[d+56>>2]](b)}c=c+3|0;if((c|0)!=18){continue}break}c=C[d+312>>2];if(c){while(1){Fe[C[d+52>>2]](C[c>>2]);b=C[c+144>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}c=b;if(b){continue}break}}if(C[d>>2]){f=C[d+228>>2];if(f){while(1){c=f+8|0;f=C[f+12>>2];Fe[C[d+196>>2]](1,c);g=C[a+548>>2];b:{if(!C[g+4>>2]){break b}c=34979;b=Fe[C[g+100>>2]]()|0;if(!b){break b}while(1){c=D[c|0]?c:21640;h=25026;i=b-1280|0;if(i>>>0<=5){h=C[(i<<2)+137356>>2]}C[e+52>>2]=b;C[e+48>>2]=h;C[e+44>>2]=9684;C[e+40>>2]=1390;C[e+36>>2]=21666;C[e+32>>2]=c;Qe(33817,e+32|0);b=Fe[C[g+100>>2]]()|0;if(b){continue}break}}c=C[d+228>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[d+228>>2]=f;if(f){continue}break}}Fe[C[d+212>>2]](8,d+324|0);f=C[a+548>>2];c:{if(!C[f+4>>2]){break c}b=Fe[C[f+100>>2]]()|0;if(!b){break c}c=34979;while(1){c=D[c|0]?c:21640;h=25026;g=b-1280|0;if(g>>>0<=5){h=C[(g<<2)+137356>>2]}C[e+20>>2]=b;C[e+16>>2]=h;C[e+12>>2]=9684;C[e+8>>2]=1397;C[e+4>>2]=21666;C[e>>2]=c;Qe(33817,e);b=Fe[C[f+100>>2]]()|0;if(b){continue}break}}tl(C[d>>2])}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}Ce=e- -64|0}function BL(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=C[c>>2]<<2;C[d+232>>2]=f;e=C[c+4>>2]<<2;C[d+236>>2]=e;C[d+240>>2]=C[b>>2]<<2;b=C[b+4>>2]<<2;C[d+244>>2]=b;C[d+248>>2]=C[a>>2]<<2;a=C[a+4>>2];C[d+256>>2]=C[d+220>>2];c=C[d+224>>2];C[d+260>>2]=c;g=a<<2;C[d+252>>2]=g;o=d+232|0;a:{b:{a=(b|0)<(e|0)?b:e;a=(a|0)>(g|0)?g:a;if(C[d+176>>2]<=((a|0)>(c|0)?c:a)>>8){a=o;break b}p=o;a=o;b=(b|0)>(e|0)?b:e;b=(b|0)<(g|0)?g:b;if(C[d+172>>2]>((b|0)<(c|0)?c:b)>>8){break b}b=1;break a}b=0}while(1){c:{d:{e:{if(!b){Ko(d,f,e);if((a|0)==(o|0)){break e}p=a-24|0;f=C[p>>2];break c}while(1){a=p;j=C[a+28>>2];e=C[a+4>>2];g=j-e|0;b=g>>31;k=C[a+24>>2];h=k-f|0;c=h>>31;i=(b^g)-b|0;b=(c^h)-c|0;c=i>>>0>>0;l=(c?I(i,3)>>>3|0:i)+(c?b:I(b,3)>>>3|0)|0;f:{if(l>>>0>=32768){b=C[a+12>>2];c=C[a+8>>2];break f}c=C[a+8>>2];i=c-f|0;b=C[a+12>>2];q=b-e|0;n=I(g,i)-I(h,q)|0;m=n>>31;r=I(l,42);if(r>>>0<(m^n)-m>>>0){break f}m=C[a+16>>2]-f|0;l=C[a+20>>2]-e|0;s=I(m,g)-I(l,h)|0;n=s>>31;if((I(q-g|0,q)+I(i-h|0,i)|0)>0|(n^s)-n>>>0>r>>>0){break f}if((I(l,l-g|0)+I(m,m-h|0)|0)<=0){break d}}p=a+24|0;C[a+48>>2]=k;C[a+52>>2]=j;f=(c+f|0)/2|0;C[a+8>>2]=f;e=(b+e|0)/2|0;C[a+12>>2]=e;g=C[a+16>>2];h=(g+k|0)/2|0;C[a+40>>2]=h;i=j;j=C[a+20>>2];k=(i+j|0)/2|0;C[a+44>>2]=k;c=(c+g|0)/2|0;f=(c+f|0)/2|0;C[a+16>>2]=f;c=(c+h|0)/2|0;C[a+32>>2]=c;b=(b+j|0)/2|0;e=(b+e|0)/2|0;C[a+20>>2]=e;b=(b+k|0)/2|0;C[a+36>>2]=b;f=(c+f|0)/2|0;C[a+24>>2]=f;C[a+28>>2]=(b+e|0)/2;continue}}return 0}b=0;continue}b=1;continue}}function Qm(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}d=C[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=C[b+12>>2];e=f-2|0;C[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=D[a|0]|D[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;C[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=D[e|0]|D[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;C[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{if(e>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=C[b+12>>2];c=f-10|0;C[b+12>>2]=c;if((c|0)<=0){break g}c=e+6|0;if(c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;h:{if(!d){break h}if(xj(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=C[b+12>>2]-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=D[d|0]|D[d+1|0]<<8;i:{if(!f){break i}if(xj(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=C[b+28>>2];if(c>>>0>31){break g}C[b+28>>2]=c+1;c=0;if(!D[b+24|0]){break i}A[d|0]=0;A[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;C[b+12>>2]=c;if((c|0)>0){break a}}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;g=1}return g}function GB(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,j=0,k=0,l=0,m=0,n=0,o=0,p=J(0),q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=C[C[C[C[a+64>>2]+4>>2]+28>>2]+(C[a+28>>2]<<2)>>2]/2|0;a:{b:{if(c){t=C[b+1296>>2];u=C[t+832>>2];a=I(u,C[c>>2]);a=(a|0)>=255?255:a;a=(a|0)>0?a:0;q=1;v=C[b+1284>>2];if((v|0)<=1){break b}while(1){i=C[((q<<2)+b|0)+260>>2]<<2;k=C[i+c>>2];if(k>>>0<=32767){e=I(k,u);e=(e|0)>=255?255:e;k=(e|0)>0?e:0;h=k-a|0;e=C[(i+t|0)+836>>2];i=e-f|0;r=(h|0)/(i|0)|0;l=(e|0)>(n|0)?n:e;if((l|0)>(f|0)){m=(f<<2)+d|0;G[m>>2]=G[(a<<2)+59456>>2]*G[m>>2]}m=f+1|0;c:{if((l|0)<=(m|0)){break c}g=h;o=h>>31;h=o;j=(g^h)-h|0;h=I(i,r);g=h>>31;h=j+(g-(h^g)|0)|0;o=o|1;s=l+(f^-1)|0;w=s&1;g=0;if((l-2|0)!=(f|0)){s=s&-2;l=0;while(1){f=(m<<2)+d|0;j=a+r|0;a=h+g|0;g=(a|0)<(i|0);j=j+(g?0:o)|0;G[f>>2]=G[(j<<2)+59456>>2]*G[f>>2];x=r+j|0;g=(a-(g?0:i)|0)+h|0;j=(g|0)<(i|0);a=x+(j?0:o)|0;G[f+4>>2]=G[(a<<2)+59456>>2]*G[f+4>>2];g=g-(j?0:i)|0;m=m+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}if(!w){break c}f=(m<<2)+d|0;G[f>>2]=G[((a+r|0)+((h+g|0)>=(i|0)?o:0)<<2)+59456>>2]*G[f>>2]}f=e;a=k}q=q+1|0;if((v|0)!=(q|0)){continue}break}break b}We(d,0,n<<2);break a}f=1;if((e|0)>=(n|0)){break a}b=(e^-1)+n|0;p=G[(a<<2)+59456>>2];c=n-e&3;if(c){a=0;while(1){k=(e<<2)+d|0;G[k>>2]=p*G[k>>2];e=e+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}if(b>>>0<3){break a}while(1){a=(e<<2)+d|0;G[a>>2]=p*G[a>>2];G[a+4>>2]=p*G[a+4>>2];G[a+8>>2]=p*G[a+8>>2];G[a+12>>2]=p*G[a+12>>2];e=e+4|0;if((n|0)!=(e|0)){continue}break}}return f|0}function py(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,o=0,p=0;d=D[a+4|0]|D[a+5|0]<<8;if(d){c=D[a|0]|D[a+1|0]<<8;o=(c<<8|c>>>8)&65535;n=a+4|0;c=(d<<8|d>>>8)&65535;p=c>>>0<=1?1:c;while(1){c=D[n|0]|D[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=m>>>0?205712:((m<<1)+n|0)+2|0;c=D[c|0]|D[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}e=ay(c,b,o);g=C[b+4>>2];a:{b:{c:{c=D[e|0]|D[e+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=D[e+2|0]|D[e+3|0]<<8;if(!d){break a}c=e+4|0;h=(d<<8|d>>>8)&65535;i=h&1;e=C[g>>2];j=h-1|0;d:{if(!j){d=c;break d}k=h&65534;f=0;d=c;while(1){l=e;e=D[d|0]|D[d+1|0]<<8;l=l|1<<(e>>>12|e<<4);e=D[d+2|0]|D[d+3|0]<<8;e=l|1<<(e>>>12|e<<4);d=d+4|0;f=f+2|0;if((k|0)!=(f|0)){continue}break}}l=g;if(i){d=D[d|0]|D[d+1|0]<<8;e=1<<(d>>>12|d<<4)|e}C[l>>2]=e;i=h&3;e=C[g+4>>2];j=j>>>0<3;e:{if(j){d=c;break e}k=h&65532;f=0;d=c;while(1){e=1<>2]=e;d=C[g+8>>2];if(!j){k=h&65532;e=0;while(1){d=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|d|1<<((D[c+2|0]|D[c+3|0]<<8)>>>1)|1<<((D[c+4|0]|D[c+5|0]<<8)>>>1)|1<<((D[c+6|0]|D[c+7|0]<<8)>>>1);c=c+8|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=0;if(i){while(1){d=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|d;c=c+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}C[g+8>>2]=d;break a}fl(e,g)}m=m+1|0;if((p|0)!=(m|0)){continue}break}}}function $m(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ce-32|0;Ce=e;C[e+28>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(a-6|0){default:d=a-265|0;if(d>>>0>10){break f}d=1<>2];if(d){d=d-1|0;if(d>>>0>2]){break d}d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;C[e+24>>2]=f;C[e+28>>2]=d;break c}A[b+20|0]=1;d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;C[e+24>>2]=f;C[e+28>>2]=d;break c}h=b+24|0;d=C[h>>2];l:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;l(0,f|0);l(1,d|0);g=+n();break l}g=H[C[b+36>>2]+(d<<3)>>3];break l}A[b+20|0]=1;d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;l(0,f|0);l(1,d|0);g=+n()}m:{if(K(g)<2147483648){d=~~g;break m}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;break c}jl(b+20|0,b);break e}g=il(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=g;break e}A[b+20|0]=1;d=C[51429];C[105676]=C[51428];C[105677]=d;H[52838]=g;break e}pk(a,b)}if(!C[b+24>>2]){break b}break a}d=C[b+36>>2]+(d<<3)|0;f=C[d+4>>2];C[e+24>>2]=C[d>>2];C[e+28>>2]=f}C[h>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}ez(c,a,b,e+8|0)}Ce=e+32|0}function mk(a,b,c,d){var e=0,f=0,g=0;a=D[a|0]|D[a+1|0]<<8;f=a<<8|a>>>8;a=(((((f&1)<<1)+d|0)+(f&2)|0)+(a>>>9&2)|0)+(a>>>10&2)|0;a:{b:{if(!(f&16)){d=a;break b}if(a>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=D[a|0]|D[a+1|0]<<8;if(!e){break b}if(xj(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0}f=f&65535;c:{if(!(f&32)){a=d;break c}if(F[b+4>>2]>d>>>0){break a}a=C[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=C[b+12>>2]-2|0;C[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=D[d|0]|D[d+1|0]<<8;if(!e){break c}if(xj(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d:{if(!(f&64)){d=a;break d}if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=D[a|0]|D[a+1|0]<<8;if(!e){break d}if(xj(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0}g=1;if(!(f&128)){break a}if(F[b+4>>2]>d>>>0){return 0}a=C[b+8>>2];if(a>>>0>>0){return 0}if(a-d>>>0<2){return 0}a=C[b+12>>2]-2|0;C[b+12>>2]=a;if((a|0)<=0){return 0}a=D[d|0]|D[d+1|0]<<8;if(!a){break a}if(xj(((a<<8|a>>>8)&65535)+c|0,b)){break a}a=C[b+28>>2];if(a>>>0>31){return 0}C[b+28>>2]=a+1;g=0;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;g=1}return g}function lK(a,b){a=a|0;b=b|0;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,o=0;e=Ce-16|0;Ce=e;g=C[b+16>>2];j=C[a+488>>2];Fe[C[b+28>>2]](b);d=C[b>>2];a:{if(!(d>>>0>=F[b+8>>2]|D[d|0]!=91)){Fe[C[b+32>>2]](b);Fe[C[b+28>>2]](b);a=C[b>>2];if(a>>>0>2]&D[a|0]==93){break a}C[b+12>>2]=3;break a}k=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}h=b+316|0;Fe[C[b+28>>2]](b);b:{if(!C[b+312>>2]){c=Fe[C[C[j>>2]>>2]](h,k,g)|0;C[e+12>>2]=c;if(c){break b}}d=C[b>>2];c:{if(F[b+8>>2]<=d+4>>>0){break c}while(1){if(cf(d,11278,3)){break c}Fe[C[b+32>>2]](b);l=Fe[C[b+36>>2]](b)|0;f=C[C[a+128>>2]+48>>2];c=C[b+8>>2];Fe[C[b+28>>2]](b);d:{d=C[b>>2];e:{if(d>>>0>=c>>>0|D[d|0]-48>>>0>9){break e}d=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((d|0)<0){break e}m=c;c=C[b>>2];i=c+1|0;if((d|0)<(m-i|0)){break d}}if(f){break a}C[b+12>>2]=3;break a}C[b>>2]=(c+d|0)+1;if(C[b+12>>2]){break a}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}Fe[C[b+28>>2]](b);c=C[b>>2];f:{if(F[b+8>>2]<=c+4>>>0){break f}if(cf(c,3227,3)){break f}Fe[C[b+32>>2]](b);Fe[C[b+28>>2]](b)}if(!C[b+312>>2]){c=C[a+172>>2];g:{if((c|0)>=0){if(c>>>0>d>>>0){c=3;break b}f=hf(g,d,e+12|0);c=C[e+12>>2];if(c){break b}t(f,i,d);Fe[C[j+16>>2]](f,d,4330);c=C[a+172>>2];n=e,o=Fe[C[b+360>>2]](h,l,c+f|0,d-c|0)|0,C[n+12>>2]=o;if(f){Fe[C[g+8>>2]](g,f)}c=C[e+12>>2];break g}c=Fe[C[b+360>>2]](h,l,i,d)|0;C[e+12>>2]=c}if(c){break b}}d=C[b>>2];if(F[b+8>>2]>d+4>>>0){continue}break}}if(C[b+312>>2]){break a}C[b+312>>2]=k;break a}C[b+12>>2]=c}Ce=e+16|0}function pM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(a){if(!(D[a+208|0]&64)){ho(a);c=b;e=a;b=C[a+212>>2];a:{if(!(b&4096)){break a}a=E[e+416>>1];d=D[c+25|0];if((d|0)==3){A[c+24|0]=8;B[c+22>>1]=0;A[c+25|0]=a?6:2;if(C[e+404>>2]){break a}Af(e,18375);s()}if(!(!a|!(b&33554432))){A[c+25|0]=d|4}if(D[c+24|0]<=7){A[c+24|0]=8}B[c+22>>1]=0}if(b&128){a=E[e+448>>1]|E[e+450>>1]<<16;d=E[e+444>>1]|E[e+446>>1]<<16;B[c+170>>1]=d;B[c+172>>1]=d>>>16;B[c+174>>1]=a;B[c+176>>1]=a>>>16;B[c+178>>1]=E[e+452>>1]}C[c+40>>2]=C[e+796>>2];d=D[c+24|0];if(!(!(b&67109888)|(d|0)!=16)){A[c+24|0]=8;d=8}if(b&16384){A[c+25|0]=D[c+25|0]|2}if(b&6291456){A[c+25|0]=D[c+25|0]&253}b:{c:{d:{e:{if(!(b&64)){break e}f:{switch(D[c+25|0]-2|0){case 0:case 4:break f;default:break e}}if(!C[e+604>>2]){break e}if((d|0)==8){break d}}if(!(b&512)){break b}if((d|0)==8){break c}break b}A[c+25|0]=3;d=8;if(!(b&512)){break b}}d=8;if(D[c+25|0]==3){break b}d=16;A[c+24|0]=16}if(!(!(b&4)|d>>>0>7)){A[c+24|0]=8;d=8}f=D[c+25|0];if((f|0)==3|!(f&2)){a=1}else{a=3}A[c+29|0]=a;if(b&262144){B[c+22>>1]=0;f=f&251;A[c+25|0]=f}if(f&4){a=a+1|0;A[c+29|0]=a}g:{if(!(b&32768)){break g}h:{switch(f|0){case 0:case 2:break h;default:break g}}a=a+1|0;A[c+29|0]=a;if(!(b&16777216)){break g}A[c+25|0]=f|4}i:{if(!(b&1048576)){b=a;break i}b=D[e+200|0];if(b){A[c+24|0]=b;d=b}b=D[e+201|0];if(!b){b=a;break i}A[c+29|0]=b}b=I(b,d);A[c+30|0]=b;a=C[c>>2];b=b&255;j:{if(b>>>0>=8){a=I(a,b>>>3|0);break j}a=I(a,b)+7>>>3|0}C[c+12>>2]=a;C[e+392>>2]=a;return}_j(a,13413)}}function uD(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];h=c&255;i=c>>>8&255;f=c>>>16&255;b=C[g>>2];if(x){i=(I(i,t)>>>0)/255|0;f=(I(f,s)>>>0)/255|0;h=(I(h,u)>>>0)/255|0}c=c>>>24|0;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){f=(I(f,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+i|0;d=(((I(d,k)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function cE(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];f=c&255;h=c>>>8&255;i=c>>>16&255;b=C[g>>2];if(x){h=(I(h,t)>>>0)/255|0;i=(I(i,u)>>>0)/255|0;f=(I(f,s)>>>0)/255|0}c=c>>>24|0;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;f=(I(f,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+h|0;d=(((I(d,k)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function bD(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];f=c>>>24|0;h=c>>>8&255;i=c>>>16&255;b=C[g>>2];if(x){h=(I(h,u)>>>0)/255|0;i=(I(i,t)>>>0)/255|0;f=(I(f,s)>>>0)/255|0}c=c&255;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;f=(I(f,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+i|0;d=(((I(d,k)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function JD(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];h=c>>>24|0;f=c>>>8&255;i=c>>>16&255;b=C[g>>2];if(x){f=(I(f,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0;h=(I(h,u)>>>0)/255|0}c=c&255;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){f=(I(f,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+i|0;d=(((I(d,k)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function jy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(F[b+4>>2]>a>>>0){return 0}e=C[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}e=C[b+12>>2]-2|0;C[b+12>>2]=e;h=1;if((e|0)<=0){return 0}e=D[a|0]|D[a+1|0]<<8;a:{if(!e){break a}c=((e<<8|e>>>8)&65535)+c|0;b:{c:{d=C[d>>2];if((d|0)==1936292453){if(c>>>0>2]){break c}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<10){break c}d=C[b+12>>2]-10|0;C[b+12>>2]=d;if((d|0)<=0){break c}i=D[c|0]|D[c+1|0]<<8;if(!i){break c}e=D[c+8|0]|D[c+9|0]<<8;f=D[c+6|0]|D[c+7|0]<<8;g=D[c+4|0]|D[c+5|0]<<8;if(!(f|(g|(D[c+2|0]|D[c+3|0]<<8)))){d=1;if(!e){break b}}c=(i<<8|i>>>8)&65535;if(c>>>0<((f<<8|(f&65280)>>>8)&65535)>>>0){break c}d=0;if(c>>>0>((e<<8|(e&65280)>>>8)&65535)>>>0){break b}d=(g<<8|(g&65280)>>>8)<<16>>16>255;break b}e=d&-65536;if((e|0)!=1668677632){d=1;if((e|0)!=1936916480){break b}d=0;if(c>>>0>2]){break b}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break b}c=C[b+12>>2]-4|0;C[b+12>>2]=c;d=(c|0)>0;break b}d=0;if(c>>>0>2]){break b}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<14){break b}g=C[b+12>>2];f=g-14|0;C[b+12>>2]=f;if((f|0)<=0){break b}f=c+12|0;if(f>>>0>e>>>0|e-f>>>0<2){break b}g=g-16|0;C[b+12>>2]=g;if((g|0)<=0){break b}f=D[f|0]|D[f+1|0]<<8;if(f){c=c+14|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=I((f<<8|f>>>8)&65535,3);if(e>>>0>>0){break b}c=g-c|0;C[b+12>>2]=c;if((c|0)<=0){break b}}d=1;break b}d=0}if(d){break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;h=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;h=1}return h}function xF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=C[a+28>>2];if(!f){break a}b=C[a+24>>2];h=b&3;i=(b+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-4;b:while(1){f=f-1|0;g=i;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=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=1;continue;case 1:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=2;continue;case 2:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=3;continue;default:break e}}a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}a=g-1|0;b=b+2|0;c=c+4|0;f:{if((g|0)>1){g=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function Dm(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;k=Ce-16|0;Ce=k;f=6;a:{if(!a){break a}g=C[a+8>>2];if(g>>>0<=b>>>0){break a}l=C[a>>2];b:{c:{d:{e:{f:{h=C[a+24>>2];if(!h){f=bf(l,(C[a+4>>2]+I(D[a+12|0],b)|0)+3|0);if(f){break a}f=jg(C[a>>2],k+8|0,D[a+12|0]);if(f){break a}g:{j=D[a+12|0];if(j){h=0;if(j>>>0>=4){i=j&252;f=0;while(1){g=e;e=e+4|0;f=f+4|0;if((i|0)!=(f|0)){continue}break}f=k+8|0;i=D[f+(g|3)|0]|(D[f+(g|2)|0]|(D[f+g|0]<<16|D[f+(g|1)|0]<<8))<<8}g=j&3;if(g){while(1){i=D[(k+8|0)+e|0]|i<<8;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(i){break g}}i=0;f=0;break e}while(1){f=jg(C[a>>2],k+12|0,D[a+12|0]);h:{if(f){break h}m=D[a+12|0];if(!m){break h}j=0;h=0;e=0;if(m>>>0>=4){n=m&252;while(1){g=h;h=g+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=k+12|0;e=D[e+(g|3)|0]|(D[e+(g|2)|0]|(D[e+g|0]<<16|D[e+(g|1)|0]<<8))<<8}g=m&3;if(g){while(1){e=D[(k+12|0)+h|0]|e<<8;h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>2]){continue}break}break e}f=0;i=C[h+(b<<2)>>2];if(!i){break e}while(1){b=b+1|0;e=C[h+(b<<2)>>2];if(e){break f}if((b|0)!=(g|0)){continue}break}break e}f=0;b=C[l+4>>2];h=b+1|0;if(h>>>0>=e>>>0){break d}j=C[a+16>>2];break c}b=C[l+4>>2];e=0}j=C[a+16>>2];h=b+1|0;if(j>>>0<=h-e>>>0){break b}}e=h-j|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;C[d>>2]=b;d=C[a+28>>2];if(d){C[c>>2]=(d+i|0)-1;break a}f=bf(l,(C[a+16>>2]+i|0)-1|0);if(f){break a}f=dh(l,b,c);break a}C[c>>2]=0;C[d>>2]=0}Ce=k+16|0;return f}function xo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=C[(c<<3)+e>>2]>C[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=C[h+f>>2];h=C[e+h>>2];l=i-h|0;n=g?d:c;c=n<<3;j=C[c+f>>2];g=C[c+e>>2];m=j-g|0;b:{if(!((j|0)!=(i|0)&(g|0)!=(h|0))){d=a;if((b-a|0)+1&1){d=a<<3;c=C[d+e>>2];C[d+f>>2]=(c|0)>(g|0)?(c|0)<(h|0)?j:c+l|0:c+m|0;d=a+1|0}if((a|0)==(b|0)){break b}while(1){i=d<<3;c=C[i+e>>2];C[f+i>>2]=(c|0)>(g|0)?(c|0)<(h|0)?j:c+l|0:c+m|0;i=d+1|0;o=i<<3;c=C[o+e>>2];C[f+o>>2]=(c|0)>(g|0)?(c|0)<(h|0)?j:c+l|0:c+m|0;d=d+2|0;if((b|0)!=(i|0)){continue}break}break b}o=Ze(i-j|0,h-g|0);c=a;while(1){d=c;p=c<<3;c=C[p+e>>2];c:{if((c|0)<=(g|0)){i=c+m|0;break c}i=c+l|0;if((c|0)>=(h|0)){break c}i=Te(c-g|0,o)+j|0}C[f+p>>2]=i;c=d+1|0;if((b|0)!=(d|0)){continue}break}}j=f+4|0;e=e+4|0;d=C[e+(n<<3)>>2]>C[e+(k<<3)>>2];f=(d?n:k)<<3;c=C[j+f>>2];g=C[e+f>>2];l=c-g|0;d=(d?k:n)<<3;h=C[d+j>>2];f=C[d+e>>2];m=h-f|0;if(!((c|0)!=(h|0)&(f|0)!=(g|0))){d=a;if((b-a|0)+1&1){d=a<<3;c=C[d+e>>2];C[d+j>>2]=(c|0)>(f|0)?(c|0)<(g|0)?h:c+l|0:c+m|0;d=a+1|0}if((a|0)==(b|0)){break a}while(1){c=d<<3;a=C[c+e>>2];C[c+j>>2]=(a|0)>(f|0)?(a|0)<(g|0)?h:a+l|0:a+m|0;c=d+1|0;k=c<<3;a=C[k+e>>2];C[j+k>>2]=(a|0)>(f|0)?(a|0)<(g|0)?h:a+l|0:a+m|0;d=d+2|0;if((b|0)!=(c|0)){continue}break}break a}k=Ze(c-h|0,g-f|0);while(1){c=a;n=c<<3;a=C[n+e>>2];d:{if((a|0)<=(f|0)){d=a+m|0;break d}d=a+l|0;if((a|0)>=(g|0)){break d}d=Te(a-f|0,k)+h|0}C[j+n>>2]=d;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function Yi(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{if(C[a+20>>2]){break a}b:{b=C[a+24>>2];if(b){break b}c=C[a+32>>2]+1|0;d=a+28|0;b=C[d>>2];c:{if((b|0)<0){break c}e=1;if(b>>>0>=c>>>0){break c}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}c=-1;e=0;d:{if(b>>>0>1073741822){break d}g=mf(C[d+8>>2],b<<2);if(!g){break d}C[d+8>>2]=g;e=1;c=b}C[d>>2]=c}e:{if(!e){break e}b=df(1,576);C[f+12>>2]=b;if(!b){break e}f:{g:{h:{b=d;c=C[b>>2];if((c|0)>=0){e=C[b+4>>2];d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break g}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=1073741822){e=mf(C[b+8>>2],c<<2);if(e){break h}}C[b>>2]=-1}C[105676]=C[51428];break f}C[b>>2]=c;C[b+8>>2]=e;e=C[b+4>>2]}if(d>>>0>e>>>0){We(C[b+8>>2]+(e<<2)|0,0,d-e<<2)}C[b+4>>2]=d;b=C[b+8>>2];C[105676]=C[51428];b=(b+(d<<2)|0)-4|0;if((b|0)!=422704){C[b>>2]=C[f+12>>2]}}b=C[f+12>>2];C[b+540>>2]=0;C[b+504>>2]=b+540;C[b+468>>2]=b+504;C[b+432>>2]=b+468;C[b+396>>2]=b+432;C[b+360>>2]=b+396;C[b+324>>2]=b+360;C[b+288>>2]=b+324;C[b+252>>2]=b+288;C[b+216>>2]=b+252;C[b+180>>2]=b+216;C[b+144>>2]=b+180;C[b+108>>2]=b+144;C[b+72>>2]=b+108;C[b+36>>2]=b+72;C[b>>2]=b+36;C[a+24>>2]=b;break b}if(C[a+20>>2]){break a}C[a+20>>2]=1;break a}C[a+24>>2]=C[b>>2];C[b+32>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b>>2]=C[a+4>>2];C[b+4>>2]=C[a+8>>2];C[b+32>>2]=C[a+40>>2];C[a+40>>2]=b}Ce=f+16|0;return C[a+4>>2]}function EN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ce-17408|0;Ce=e;d=96;a:{if(!a){break a}a=C[b+4>>2];d=20;if(!a){break a}f=B[a+2>>1];d=0;if(!f){break a}c=B[a>>1];d=0;if((c|0)<=0){break a}g=C[a+12>>2];d=20;if(!g){break a}d=20;if(!C[a+4>>2]){break a}d=20;if((f|0)!=(B[((c<<1)+g|0)-2>>1]+1|0)){break a}d=19;if(D[b+8|0]&3){break a}b=C[b>>2];d=20;if(!b){break a}d=0;if(!C[b+4>>2]){break a}d=0;if(!C[b>>2]){break a}d=20;if(!C[b+12>>2]){break a}C[e+16528>>2]=C[a+16>>2];f=C[a+12>>2];c=e+16520|0;C[c>>2]=C[a+8>>2];C[c+4>>2]=f;c=C[a+4>>2];C[e+16512>>2]=C[a>>2];C[e+16516>>2]=c;c=C[b+12>>2];a=e+16496|0;C[a>>2]=C[b+8>>2];C[a+4>>2]=c;c=C[b+20>>2];a=e+16504|0;C[a>>2]=C[b+16>>2];C[a+4>>2]=c;a=C[b+4>>2];C[e+16488>>2]=C[b>>2];C[e+16492>>2]=a;a=e+16384|0;C[e+16416>>2]=a;C[e+16412>>2]=e;b=C[a+144>>2];c=b&256;C[a+20>>2]=c?30:2;C[a+16>>2]=c?256:32;c=c?12:6;C[a>>2]=c;f=c-6|0;C[a+24>>2]=f;C[a+12>>2]=f;c=1<>2]=c;C[a+8>>2]=c>>>1;b:{if(b&8){A[a+176|0]=2;break b}c=b>>>2&4;A[a+176|0]=c;if(b&32){break b}A[a+176|0]=c|1}C[a+1020>>2]=0;C[a+172>>2]=1031;C[a+168>>2]=1032;C[a+164>>2]=1033;C[a+160>>2]=1034;B[a+956>>1]=0;A[a+177|0]=!(b&512);B[a+958>>1]=E[a+104>>1]-1;B[a+56>>1]=C[a+108>>2];C[a+60>>2]=C[a+116>>2];b=gv(a,0);c:{if(b){break c}if(!(!D[a+177|0]|D[a+176|0]==2)){C[a+1020>>2]=0;C[a+172>>2]=1035;C[a+168>>2]=1036;C[a+164>>2]=1037;C[a+160>>2]=1038;B[a+956>>1]=0;B[a+958>>1]=E[a+108>>1]-1;b=gv(a,1);if(b){break c}}b=0}d=b}c=d;Ce=e+17408|0;return c|0}function Mm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-32|0;Ce=g;a:{if(D[b+16|0]&16){break a}i=C[b+80>>2];if(!i){break a}j=C[b+92>>2];while(1){if((D[(j+I(h,20)|0)+15|0]&15)!=(c|0)){h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}C[g+28>>2]=0;h=a;i=C[a+76>>2];a=C[a+72>>2];if(!(Fe[C[a+156>>2]](h,i,9676,g+28|0,C[a+20>>2])|0)){break a}j=C[g+28>>2];C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];C[b+76>>2]=0;k=C[b+80>>2];b:{if(!k){break b}l=(f|0)!=-1?f:0;h=0;if((e|0)==-1){a=0;while(1){if(!D[b+72|0]){break b}f=C[b+92>>2]+I(h,20)|0;e=D[f+15|0];c:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Nm(b);break c}C[g+8>>2]=j;B[g+18>>1]=0;B[g+20>>1]=0;B[g+22>>1]=0;B[g+24>>1]=0;C[g+12>>2]=0;C[g+16>>2]=0;A[g+27|0]=l;A[g+26|0]=d;C[g+16>>2]=C[f+8>>2];C[g+12>>2]=C[f+4>>2];A[g+23|0]=D[f+15|0];sx(b,g+8|0);a=e}h=C[b+76>>2];if(h>>>0>2]){continue}break}break b}a=0;while(1){if(!D[b+72|0]){break b}i=C[b+92>>2]+I(h,20)|0;f=D[i+15|0];d:{if(!((f|0)==(a|0)|(f&15)!=(c|0))){C[g+8>>2]=j;B[g+18>>1]=0;B[g+20>>1]=0;B[g+22>>1]=0;B[g+24>>1]=0;C[g+12>>2]=0;C[g+16>>2]=0;A[g+27|0]=l;A[g+26|0]=d;C[g+16>>2]=C[i+8>>2];C[g+12>>2]=C[i+4>>2];A[g+23|0]=D[i+15|0];e:{if(h>>>0>=k>>>0){break e}while(1){if(!D[b+72|0]){break e}a=C[b+92>>2]+I(h,20)|0;if((f|0)!=D[a+15|0]|D[a+18|0]!=(e|0)){break e}Nm(b);h=C[b+76>>2];if(h>>>0>2]){continue}break}}sx(b,g+8|0);a=f;break d}Nm(b)}h=C[b+76>>2];k=C[b+80>>2];if(h>>>0>>0){continue}break}}gh(b)}Ce=g+32|0}function wF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=C[a+28>>2];if(!f){break a}b=C[a+24>>2];h=b&3;i=(b+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-4;b:while(1){f=f-1|0;g=i;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=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=1;continue;case 1:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=2;continue;case 2:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=3;continue;default:break e}}a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}a=g-1|0;b=b+2|0;c=c+4|0;f:{if((g|0)>1){g=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function rn(a){var b=0,c=0;b=C[105668];if(!b){Qe(19865,0);return}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return}C[a+124>>2]=1;if((C[a+48>>2]&2052)==4){C[a+120>>2]=1;Th(a,0);b=C[105668];c=C[b+88>>2];if(c){Fe[c|0](b,a)}C[a+120>>2]=0;bg(a,2,0,0)}if(C[104774]==(a|0)){Us(0)}if(C[105559]==(a|0)){Rl(0)}if(!(!(D[a+48|0]&2)|C[C[105668]+780>>2]!=(a|0))){sh(a,0)}b=C[a+112>>2];if(b){C[b>>2]=C[b>>2]&-5;Nf(b);C[a+112>>2]=0;C[a+116>>2]=0}b=C[105668];a:{if(!C[b+352>>2]){break a}c=C[b+164>>2];if(!c){break a}Fe[c|0](b,a);b=C[105668]}c=C[b+152>>2];if(c){Fe[c|0](b,a)}b:{if(!(D[a+48|0]&2)){break b}b=C[105668];if(!b){Qe(19865,0);break b}c=C[b+516>>2];if((c|0)<=0){break b}C[b+516>>2]=c-1;if((c|0)!=1){break b}c=C[b+200>>2];if(!c){break b}Fe[c|0](b)}c:{if(!(D[a+51|0]&16)){break c}b=C[105668];if(!b){Qe(19865,0);break c}c=C[b+808>>2];if((c|0)<=0){break c}C[b+808>>2]=c-1;if((c|0)!=1){break c}c=C[b+240>>2];if(!c){break c}Fe[c|0](b)}b=0;c=th(a);if((c|0)>=0){b=C[C[105668]+376>>2]+I(c,72)|0}if(C[b+60>>2]==(a|0)){C[b+60>>2]=0}C[a>>2]=0;b=C[a+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}Nf(C[a+12>>2]);b=C[a+104>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}while(1){b=C[a+160>>2];if(b){C[a+160>>2]=C[b+8>>2];c=C[b>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}continue}break}b=C[a+172>>2];if(b){C[b+168>>2]=C[a+168>>2]}c=C[a+168>>2];C[(c?c+172|0:C[105668]+380|0)>>2]=b;if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function Yw(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=I(b,1468)+a|0;e=C[c+56>>2];if((e|0)<=0){break a}g=C[a+24>>2];if((g|0)<=0){break a}a=C[a+28>>2];m=a+I(g,40)|0;i=b?8:4;n=i|16;f=C[c- -64>>2];h=(f+I(e,48)|0)-48|0;j=(b|0)==1;o=j?14:12;p=(e|0)==2;q=(e|0)==3;r=(e|0)==5;s=(e|0)==6;t=(e|0)==7;u=b?20:16;while(1){if(!(E[a>>1]&n)){b=C[(j?8:4)+a>>2];v=a+u|0;d=B[a+o>>1];c=(b+C[f+8>>2]|0)-C[f+4>>2]|0;b:{if((d|0)<=B[f>>1]){break b}c=(b+C[h+8>>2]|0)-C[h+4>>2]|0;if(B[h>>1]<=(d|0)){break b}b=0;c:{c=e;d:{if(c>>>0<=8){c=B[f>>1];b=(c|0)<(d|0)?e:0;e:{if((e|0)==1|(c|0)>=(d|0)){break e}c=B[f+48>>1];b=(c|0)>=(d|0)?1:e;if(p|(c|0)>=(d|0)){break e}c=B[f+96>>1];b=(c|0)>=(d|0)?2:e;if(q|(c|0)>=(d|0)){break e}c=B[f+144>>1];b=(c|0)>=(d|0)?3:e;if((e|0)==4|(c|0)>=(d|0)){break e}c=B[f+192>>1];b=(c|0)>=(d|0)?4:e;if(r|(c|0)>=(d|0)){break e}c=B[f+240>>1];b=(c|0)>=(d|0)?5:e;if(s|(c|0)>=(d|0)){break e}c=B[f+288>>1];b=(c|0)>=(d|0)?6:e;if(t|(c|0)>=(d|0)){break e}b=B[f+336>>1]>=(d|0)?7:e}c=I(b,48)+f|0;if(E[c>>1]!=(d&65535)){break d}c=C[c+8>>2];break b}while(1){g=b+c>>1;k=I(g,48)+f|0;l=B[k>>1];f:{if((l|0)>(d|0)){c=g;break f}if((d|0)<=(l|0)){break c}b=g+1|0}if((b|0)<(c|0)){continue}break}}g=I(b,48)+f|0;b=g-48|0;c=C[b+16>>2];if(!c){c=Ze(C[g+8>>2]-C[b+8>>2]|0,B[g>>1]-B[b>>1]|0);C[b+16>>2]=c}c=C[b+8>>2]+Te(d-B[b>>1]|0,c)|0;break b}c=C[k+8>>2]}C[v>>2]=c;B[a>>1]=E[a>>1]|i}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function vF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=C[a+28>>2];if(!h){break a}c=C[a+24>>2];j=c&3;k=(c+3|0)/4|0;f=C[a>>2];c=C[a+20>>2];l=C[a+36>>2]&-4;m=C[a+16>>2]&-4;b:while(1){h=h-1|0;i=k;c:{d:{switch(j-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=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}c=c+4|0;f=f+4|0;a=1;continue;case 1:a=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}c=c+4|0;f=f+4|0;a=2;continue;case 2:a=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}c=c+4|0;f=f+4|0;a=3;continue;default:break e}}a=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}a=i-1|0;c=c+4|0;f=f+4|0;f:{if((i|0)>1){i=a;break f}c=c+l|0;f=f+m|0;if(h){continue b}break a}a=0;continue}}}}function ct(a,b,c){var d=J(0),e=J(0),f=0,g=J(0),h=0,i=J(0),j=0,k=J(0),l=J(0),m=J(0),n=0,o=0,p=0,q=0,r=0,s=J(0),t=0,u=0,v=0,w=J(0);n=Ce-16|0;Ce=n;h=C[a+4>>2];a:{b:{d=G[a>>2];c:{if(d<=J(0)){if((h|0)<2){break c}f=1;while(1){e=d;h=(f<<3)+a|0;d=J(G[h+8>>2]-G[h>>2]);i=J(d*d);d=J(G[h+12>>2]-G[h+4>>2]);d=J(e+J(R(+J(i+J(d*d)))));f=f+1|0;h=C[a+4>>2];if((f|0)<(h|0)){continue}break}}f=0;if((h|0)<2){break c}h=1;i=J(d/J(63));e=i;while(1){j=(h<<3)+a|0;d=J(G[j>>2]-G[j+8>>2]);k=J(d*d);d=J(G[j+4>>2]-G[j+12>>2]);k=J(R(+J(k+J(d*d))));d=J(e+k);d:{if(!(d>i)){e=d;break d}d=e;while(1){p=(f<<3)+b|0;e=J(J(i-d)/k);g=G[j>>2];g=J(J(e*J(G[j+8>>2]-g))+g);G[p>>2]=g;s=e;e=G[j+4>>2];e=J(J(s*J(G[j+12>>2]-e))+e);G[p+4>>2]=e;m=J(m+g);l=J(l+e);f=f+1|0;d=J(d-i);e=J(d+k);if(i>2];if((h|0)<(j|0)){continue}break}if((f|0)>62){break b}}if(!c){break a}C[n>>2]=f;Qe(14643,n);break a}a=(j<<3)+a|0;c=C[a+4>>2];C[b+504>>2]=C[a>>2];C[b+508>>2]=c;e=J(l*J(.015625));i=J(m*J(.015625));o=+J(Jr(+J(e-G[b+4>>2]),+J(i-G[b>>2])));t=+e;u=+i;f=0;d=i;k=d;l=e;m=e;while(1){a=(f<<3)+b|0;g=G[a+4>>2];q=+J(G[a>>2]-i);r=+J(g-e);v=a,w=J(q*ph(o)-oi(o)*r+u),G[v>>2]=w;g=J(q*oi(o)+ph(o)*r+t);G[a+4>>2]=g;l=g>l?g:l;m=g>2];k=g>k?g:k;d=d>g?g:d;f=f+1|0;if((f|0)!=64){continue}break}l=J(l-m);d=J(k-d);f=0;while(1){a=(f<<3)+b|0;G[a>>2]=J(J(G[a>>2]-i)*J(256))/d;G[a+4>>2]=J(J(G[a+4>>2]-e)*J(256))/l;f=f+1|0;if((f|0)!=64){continue}break}}Ce=n+16|0}function qE(a){a=a|0;var 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,A=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;u=(e&48)!=0&(l|0)!=255;v=e&1;w=(p|0)/2|0;n=(q|0)/2|0;f=l^255;x=l+f|0;y=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];g=e;o=w;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(o>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;c=C[g>>2];if(v){i=(I(i,s)>>>0)/255|0;j=(I(j,r)>>>0)/255|0;h=(I(h,t)>>>0)/255|0}if(u){i=(I(i,l)>>>0)/255|0;j=(I(j,l)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}m=m-1|0;k=c>>>24|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(y|0){case 0:k=((I(f,k)>>>0)/255|0)+l|0;b=((I(b,f)>>>0)/255|0)+j|0;d=((I(d,f)>>>0)/255|0)+i|0;c=((I(c,f)>>>0)/255|0)+h|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=(I(k,x)>>>0)/255|0;k=k>>>0>=255?255:k;b=(I(j+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(i+f|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(h+f|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=d<<8|c<<16|b|k<<24;g=g+4|0;o=o+p|0;if(m){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;n=n+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function kw(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-16|0;Ce=j;i=C[a+8>>2];l=C[a+12>>2];h=hf(i,C[l+36>>2],j+12|0);a:{b:{c:{d:{if(!C[j+12>>2]){C[h+100>>2]=i;C[h+96>>2]=a;C[h+104>>2]=C[b>>2];if(c){C[h+8>>2]=C[h+8>>2]|1024}k=hf(i,60,j+12|0);if(C[j+12>>2]){break d}C[h+128>>2]=k;c=0;C[k+48>>2]=0;e:{if((e|0)<=0){break e}a=0;while(1){if(c){break e}c=0;m=(a<<3)+f|0;if(C[m>>2]==1768842098){c=C[m+4>>2];C[k+48>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=C[l+48>>2];f:{if(!a){C[b>>2]=C[h+104>>2];break f}a=Fe[a|0](C[b>>2],h,d,e,f)|0;C[j+12>>2]=a;C[b>>2]=C[h+104>>2];if(a){break d}}b=C[h+40>>2];if(!b){break b}a=b+(C[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=C[e>>2];h:{if(C[c+4>>2]!=1970170211){break h}i:{switch(E[c+8>>1]){case 3:if(E[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(E[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=C[a>>2];if(C[c+4>>2]!=1970170211){continue}break}}C[h+92>>2]=c;break b}if(!h){break c}}if(C[h+36>>2]>0){c=0;while(1){d=c<<2;a=C[d+C[h+40>>2]>>2];b=C[C[a>>2]+100>>2];e=C[C[a+12>>2]+8>>2];if(e){Fe[e|0](a)}if(a){Fe[C[b+8>>2]](b,a)}C[d+C[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=C[h+40>>2];if(a){Fe[C[i+8>>2]](i,a)}C[h+36>>2]=0;C[h+40>>2]=0}a=C[l+52>>2];if(a){Fe[a|0](h)}if(k){Fe[C[i+8>>2]](i,k)}if(h){Fe[C[i+8>>2]](i,h)}C[g>>2]=0;a=C[j+12>>2];break a}C[g>>2]=h;a=0}Ce=j+16|0;return a}function FE(a){a=a|0;var 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,A=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;u=(e&48)!=0&(l|0)!=255;v=e&1;w=(p|0)/2|0;n=(q|0)/2|0;f=l^255;x=l+f|0;y=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];g=e;o=w;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(o>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;c=C[g>>2];if(v){i=(I(i,s)>>>0)/255|0;j=(I(j,t)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}if(u){i=(I(i,l)>>>0)/255|0;j=(I(j,l)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}m=m-1|0;k=c>>>24|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(y|0){case 0:k=((I(f,k)>>>0)/255|0)+l|0;b=((I(b,f)>>>0)/255|0)+h|0;d=((I(d,f)>>>0)/255|0)+i|0;c=((I(c,f)>>>0)/255|0)+j|0;break a;case 1:b=b+h|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;break a;case 7:break b;default:break a}}k=(I(k,x)>>>0)/255|0;k=k>>>0>=255?255:k;b=(I(h+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(i+f|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(j+f|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=d<<8|c<<16|b|k<<24;g=g+4|0;o=o+p|0;if(m){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;n=n+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function oD(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b>>>24|0;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,t)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;d=(((I(e,d)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+j|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function mE(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b&255;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,s)>>>0)/255|0;j=(I(j,t)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){i=(I(i,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+i|0;d=(((I(e,d)&65535)>>>0)/255|0)+j|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,j)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function iE(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b&255;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,s)>>>0)/255|0;j=(I(j,t)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){i=(I(i,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+i|0;b=(((I(b,e)&65535)>>>0)/255|0)+j|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;c=c+i|0;c=c>>>0>=255?255:c;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(e,d)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;b=(I(b,j)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function iD(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b>>>24|0;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,t)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(e,d)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function YD(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b>>>24|0;e=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){e=(I(e,r)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;d=(((I(d,e)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+j|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function RD(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b>>>24|0;e=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){e=(I(e,r)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(d,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function FD(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b&255;j=b>>>8&255;e=b>>>16&255;c=C[h>>2];if(w){j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;d=(((I(d,e)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+j|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function BD(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b&255;j=b>>>8&255;e=b>>>16&255;c=C[h>>2];if(w){j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(d,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function nz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=C[c>>2];f=C[a>>2];a:{if(d>>>0>f>>>0){break a}i=C[c+4>>2];if(f>>>0>=i+d>>>0){break a}d=f+1|0;C[a>>2]=d;e=A[f|0];h=e&255;if((e|0)<0){e=C[c>>2];if(e>>>0>d>>>0|d>>>0>=e+i>>>0){break a}C[a>>2]=f+2;h=D[f+1|0]|h<<8&32512}e=C[b>>2];b:{if((e|0)<0){break b}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(h>>>0>=e>>>0){continue}break}c:{if(e>>>0<=1073741822){f=mf(C[b+8>>2],e<<2);if(f){break c}}C[b>>2]=-1;break b}C[b>>2]=e;C[b+8>>2]=f}f=C[b+4>>2];if(f>>>0>>0){We(C[b+8>>2]+(f<<2)|0,0,h-f<<2)}C[b+4>>2]=h}l=C[51428];e=0;while(1){e=e&65535;i=h>>>0<=e>>>0;if(i){return 1}m=0;d=C[c>>2];f=C[a>>2];if(d>>>0>f>>>0|f>>>0>=d+C[c+4>>2]>>>0){break a}g=f+1|0;C[a>>2]=g;d=A[f|0];k=d&127;f=0;d:{if((d|0)<0){while(1){d=C[c>>2];if(d>>>0>g>>>0){break a}d=d+C[c+4>>2]|0;if(d>>>0>>0|d-g>>>0<2){break a}d=D[g|0]|D[g+1|0]<<8;j=((d<<8|d>>>8)&65535)+j|0;e:{if(F[b+4>>2]<=e>>>0){C[105676]=l;g=C[a>>2];d=422704;break e}d=C[b+8>>2]+(e<<2)|0}C[d>>2]=j;g=g+2|0;C[a>>2]=g;e=e+1|0;d=f+1|0;if((f&65535)>>>0>=k>>>0){break d}f=d;if(e>>>0>>0){continue}break d}}while(1){g=C[c>>2];d=C[a>>2];if(g>>>0>d>>>0|d>>>0>=g+C[c+4>>2]>>>0){break a}C[a>>2]=d+1;j=D[d|0]+j|0;f:{if(F[b+4>>2]<=e>>>0){C[105676]=l;d=422704;break f}d=C[b+8>>2]+(e<<2)|0}C[d>>2]=j;e=e+1|0;d=f+1|0;if((f&65535)>>>0>=k>>>0){break d}f=d;if(e>>>0>>0){continue}break}}m=i;if((d&65535)>>>0>k>>>0){continue}break}}return m} -function Ah(a,b,c,d){var e=0,f=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;e=a- -64|0;C[e>>2]=0;C[e+4>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+48>>2]=0;C[a+52>>2]=0;C[a+92>>2]=c;C[a+40>>2]=0;C[a+44>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a+56>>2]=0;C[a+60>>2]=0;C[a+80>>2]=0;C[a+84>>2]=0;C[a+88>>2]=0;C[a+28>>2]=0;C[a+20>>2]=-1;C[a+72>>2]=0;C[e>>2]=-1;e=C[c+16>>2];C[a+104>>2]=0;C[a+100>>2]=d;C[a+96>>2]=e;c=C[e+132>>2];a:{if(c){break a}while(1){f=C[e+48>>2];if(!f){c=205712;break a}c=df(1,4);if(!c){c=205712;C[e+132>>2]=205712;break a}Um(c,f);if(!C[e+132>>2]){C[e+132>>2]=c;break a}Ue(C[c>>2]);Re(c);c=C[e+132>>2];if(!c){continue}break}}c=C[c>>2];c=c?c:205712;c=F[c+16>>2]<12?205712:C[c+12>>2];C[a+108>>2]=c;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>=65539){e=D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=e?e+c|0:205712}else{e=205712}C[a+112>>2]=e;d=C[d+52>>2];C[a+136>>2]=6;C[a+128>>2]=-1;C[a+132>>2]=0;C[a+124>>2]=b;C[a+120>>2]=1;C[a+116>>2]=d;c=D[c+4|0]|D[c+5|0]<<8;C[a+144>>2]=1;A[a+143|0]=0;A[a+141|0]=1;A[a+142|0]=1;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+80>>2]=0;C[a+52>>2]=a;C[a+20>>2]=1;A[a+17|0]=1;A[a+16|0]=(b|0)==1;C[a+12>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;C[a+64>>2]=-1;B[a+60>>1]=257;C[a+56>>2]=0;A[a+140|0]=(c|0)!=0;return a}function _k(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=C[a+2984>>2];a:{if(!(l&4)){break a}g=C[a+2988>>2];if(D[(g+I(b,1572)|0)+256|0]){break a}a=c>>31;f=(a^c)-a|0;b:{c:{d:{if((b|0)==1){if(l&2){break d}if(!(e&2)|f>>>0>=192){break c}a=f;break b}if(!(l&1)){break c}}e:{f:{g:{h:{i:{d=g+I(b,1572)|0;a=C[d+52>>2];if(a){g=d+56|0;p=a&1;if((a|0)!=1){break i}d=98;a=0;e=f;break h}a=f+32&2147483584;e=f;break g}q=a&-2;d=98;a=0;e=f;while(1){m=C[(g+I(a|1,12)|0)+4>>2];i=f-m|0;h=i>>31;n=C[(g+I(a,12)|0)+4>>2];j=f-n|0;k=j>>31;j=(k^j)-k|0;k=(j|0)<(d|0);i=(h^i)-h|0;d=k?j:d;h=(i|0)<(d|0);d=h?i:d;e=h?m:k?n:e;a=a+2|0;o=o+2|0;if((q|0)!=(o|0)){continue}break}}if(p){g=C[(g+I(a,12)|0)+4>>2];h=f-g|0;a=h>>31;e=((a^h)-a|0)<(d|0)?g:e}a=e+32&-64;if((e|0)>(f|0)){break f}}d=(a|48)>(f|0)?e:f;break e}d=(a-48|0)<(f|0)?e:f}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(l&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^d)-b>>>0<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?56:f;b=g+I(b,1572)|0;if(!C[b+52>>2]){break b}b=C[b+60>>2];e=a-b|0;d=e>>31;if((d^e)-d>>>0<=39){a=(b|0)<=48?48:b;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 CR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=df(1,36);if(g){a:{b:{c:{d:{e:{c=C[a+44>>2];if((c|0)<=0){break e}e=C[a+48>>2];c=c-1|0;f:{g:{while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];h:{if(f>>>0>=1886545255){c=d-1|0;break h}if((f|0)==1886545254){break g}b=d+1|0}if((c|0)>=(b|0)){continue}break}c=0;break f}c=C[(e+I(d,36)|0)+28>>2]}b=C[a+44>>2];C[g>>2]=c;if((b|0)<=0){break e}e=C[a+48>>2];c=b-1|0;b=0;i:{while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];j:{if(f>>>0<=1651275622){b=C[(e+I(d,36)|0)+28>>2];if((f|0)==1651275622){break i}b=d+1|0;break j}c=d-1|0}if((c|0)>=(b|0)){continue}break}b=0}c=b;b=C[a+44>>2];C[g+4>>2]=c;if((b|0)<=0){break c}e=C[a+48>>2];c=b-1|0;b=0;while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];k:{if(f>>>0<=1633842790){b=C[(e+I(d,36)|0)+28>>2];if((f|0)==1633842790){break d}b=d+1|0;break k}c=d-1|0}if((c|0)>=(b|0)){continue}break}b=0;break d}C[g+4>>2]=0;b=0}c=b;b=C[a+44>>2];C[g+8>>2]=c;c=0;if((b|0)<=0){C[g+12>>2]=0;break a}e=C[a+48>>2];c=b-1|0;b=0;while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];l:{if(f>>>0<=1886614630){b=C[(e+I(d,36)|0)+28>>2];if((f|0)==1886614630){break b}b=d+1|0;break l}c=d-1|0}if((c|0)>=(b|0)){continue}break}}b=0}c=b;b=C[a+44>>2];C[g+12>>2]=c;if((b|0)>0){d=C[a+48>>2];c=b-1|0;b=0;while(1){a=c+b>>>1|0;e=C[d+I(a,36)>>2];m:{if(e>>>0<=1667654002){if((e|0)==1667654002){c=C[(d+I(a,36)|0)+28>>2];break a}b=a+1|0;break m}c=a-1|0}if((c|0)>=(b|0)){continue}break}}c=0}C[g+16>>2]=c}return g|0}function Qn(a){var b=0,c=0,d=0;if(!a){Qe(4480,0);return}b=C[a+136>>2];C[a+136>>2]=b-1;a:{if((b|0)>=2){if(!C[104768]){break a}return}if(D[419080]){if(!C[104768]){break a}return}b:{if(!C[a+92>>2]){break b}c:{if(E[a+88>>1]|E[a+90>>1]){if(Fe[C[C[a+128>>2]+40>>2]](a,0,0)|0){break c}}C[a+88>>2]=0;C[a+92>>2]=0}if(!C[104768]){break b}}d:{if(!C[a+100>>2]){break d}e:{if(E[a+96>>1]|E[a+98>>1]){if(Fe[C[C[a+128>>2]+44>>2]](a,0,0)|0){break e}}C[a+96>>2]=0;C[a+100>>2]=0}if(!C[104768]){break d}}Fe[C[C[a+128>>2]+68>>2]](a);C[a+132>>2]=0;b=C[104769];f:{if(!b){break f}if((a|0)!=(b|0)){while(1){d=C[b+140>>2];if(!d){break f}c=b;b=d;if((b|0)!=(a|0)){continue}break}}C[(c?c+140|0:419076)>>2]=C[a+140>>2]}b=C[a+4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+12>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+40>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+48>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+56>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+64>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(C[a+68>>2]>0){b=0;while(1){c=C[(C[a+72>>2]+(b<<3)|0)+4>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}b=b+1|0;if((b|0)>2]){continue}break}}b=C[a+72>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+84>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(!C[104768]){break a}}}function to(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{e:{if(C[a+656>>2]){if(!pu(a,c)){c=1;break a}e=Fe[C[a+656>>2]](a,a+736|0)|0;if((e|0)<0){break d}c=0;if(e){break a}if((d|0)>1){break e}if(C[a+660>>2]>1){break c}Hv(a,7130);break c}f:{g:{h:{d=d?d:C[a+660>>2];switch(d-2|0){case 1:break g;case 0:break h;default:break f}}if(!(D[a+375|0]&32)){break f}}if(pu(a,c)){break e}c=1;break a}ef(a,c)}c=1;switch(d-2|0){case 1:break b;case 0:break c;default:break a}}Ig(a,13811);s()}c=1;if(!(D[a+375|0]&32)){break a}}i:{j:{k:{d=C[a+728>>2];switch(d|0){case 1:break a;case 0:break i;case 2:break k;default:break j}}C[a+728>>2]=1;ff(a,18116);break a}C[a+728>>2]=d-1}g=1;l:{f=a+736|0;if(!b|(!f|!a)){break l}c=Po(a,C[b+248>>2],C[b+252>>2],1,20);if(!c){xg(a,7227,1);break l}nf(a,C[b+248>>2]);C[b+248>>2]=c;C[b+244>>2]=C[b+244>>2]|512;e=c+I(C[b+252>>2],20)|0;m:{while(1){c=C[f>>2];A[e+4|0]=0;C[e>>2]=c;c=D[f+16|0]&11;if(!c){if(D[a+205|0]&128){break m}Hv(a,12105);c=C[a+204>>2]&11;if(!c){break m}}while(1){d=c;h=0-c&c;c=h^c;if((d|0)!=(h|0)){continue}break}A[e+16|0]=d;c=C[f+12>>2];n:{o:{if(!c){c=0;C[e+8>>2]=0;break o}c=jh(a,c);C[e+8>>2]=c;if(!c){xg(a,1248,1);break n}d=c;c=C[f+12>>2];jf(d,C[f+8>>2],c)}C[e+12>>2]=c;C[b+252>>2]=C[b+252>>2]+1;e=e+20|0}f=f+20|0;c=(g|0)>1;g=g-1|0;if(c){continue}break}break l}Af(a,7087);s()}c=0}b=C[a+744>>2];if(b){nf(a,b)}C[a+744>>2]=0;if(!(D[a+375|0]&32?0:c)){return}Ig(a,13831);s()}function VA(a,b,c){a=a|0;b=b|0;c=c|0;var d=J(0),e=0,f=0,g=J(0),h=J(0),i=0;d=J(H[b+80>>3]);a:{b:{switch(C[b+96>>2]){case 0:d=J(d/J(100));break a;case 1:d=J(d/J(3));break a;case 2:break b;default:break a}}d=J(d*J(80))}g=J(H[b+72>>3]);h=J(-d);b=0;a=Ce+-64|0;Ce=a;c=C[c+4>>2];c:{if(!c){break c}f=C[105559];if((f|0)==(c|0)){break c}if(f){bg(f,11,0,0)}C[105559]=c;C[105568]=0;bg(c,10,0,0);c=C[105550];f=C[(C[105559]?422360:422356)>>2];if(!(C[105569]|(!f|!C[105591]))){if(!c){break c}Fe[c|0](f)|0;break c}if(!c){break c}Fe[c|0](0)|0}d:{if(g==J(0)&h==J(0)){break d}e:{if(g>J(0)){d=G[105566];if(!(dJ(0)?J(0):d:d}c=0;d=J(d+g);G[105566]=d;f:{g:{if(d>J(0)){e=O(+d);if(!(K(e)<2147483648)){break g}c=~~e;break f}if(!(dJ(0)){d=G[105567];if(!(dJ(0)?J(0):d:d}d=J(d+h);G[105567]=d;i:{j:{if(d>J(0)){e=O(+d);if(!(K(e)<2147483648)){break j}b=~~e;break i}if(!(d>2]=1027;f=0;i=C[105559];if(i){f=C[i+4>>2]}G[a+40>>2]=h;G[a+36>>2]=g;C[a+28>>2]=b;C[a+24>>2]=c;C[a+20>>2]=0;C[a+16>>2]=f;C[a+32>>2]=0;Df(a+8|0)}Ce=a- -64|0;return(qf(1027,-1)|0)==1|0}function Im(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ce-16|0;e=1;a:{b:{c:{switch(C[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=I(i,12)+b|0;d=f-12|0;if(C[f>>2]>2]){C[h+8>>2]=C[f+8>>2];g=C[f+4>>2];C[h>>2]=C[f>>2];C[h+4>>2]=g;C[f+8>>2]=C[d+8>>2];g=C[d+4>>2];C[f>>2]=C[d>>2];C[f+4>>2]=g;C[d+8>>2]=C[h+8>>2];f=C[h+4>>2];C[d>>2]=C[h>>2];C[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=C[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}k=j-1|0;m=C[b>>2];h=0;d=1;while(1){f=C[I(d,12)+b>>2]-m|0;d:{if(!((d|0)==(k|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(k|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;n=e&3;l=0;d=h;if(e-1>>>0>=3){o=e&-4;e=0;while(1){g=I(d,12)+b|0;p=C[g>>2];C[g>>2]=0;q=C[g+12>>2];C[g+12>>2]=0;r=C[g+24>>2];C[g+24>>2]=0;s=C[g+36>>2];C[g+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=f;if(!n){break e}while(1){e=I(d,12)+b|0;g=C[e>>2];C[e>>2]=0;d=d+1|0;i=g+i|0;l=l+1|0;if((l|0)!=(n|0)){continue}break}e=f}C[I(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=k>>>0){break d}h=f+1|0;m=C[I(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=I(d,12)+b|0;if(C[c>>2]){h=C[c+4>>2];f=I(e,12)+b|0;C[f>>2]=C[c>>2];C[f+4>>2]=h;C[f+8>>2]=C[c+8>>2];j=C[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}C[a>>2]=e}}function zi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=c-b|0;if(C[a+20>>2]==2|e>>>0<2){break a}i=C[a+96>>2];j=C[(i+I(b,20)|0)+8>>2];g=j;f=b+1|0;b:{if(f>>>0>=c>>>0){break b}e=e-2|0;h=(b^-1)+c&3;if(h){while(1){k=C[(I(f,20)+i|0)+8>>2];g=g>>>0>>0?g:k;f=f+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(e>>>0<=2){break b}while(1){e=I(f,20)+i|0;d=C[e+8>>2];d=d>>>0>g>>>0?g:d;h=C[e+28>>2];d=d>>>0>>0?d:h;h=C[e+48>>2];d=d>>>0>>0?d:h;e=C[e+68>>2];g=e>>>0>d>>>0?d:e;f=f+4|0;if((f|0)!=(c|0)){continue}break}}d=0;e=b;while(1){c:{h=d;f=e;if(!e){break c}d=h+1|0;e=f-1|0;if((j|0)==C[(I(e,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{e=C[a+84>>2];if(e>>>0<=c>>>0){break f}while(1){d=I(c,20)+i|0;if(C[d-12>>2]!=C[d+8>>2]){break f}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break e}if((c|0)!=(e|0)){break d}}d=C[a+76>>2];j=C[a+80>>2];if(d>>>0>=j>>>0){break d}e=(I(e,20)+i|0)-12|0;k=C[a+92>>2];while(1){a=k+I(d,20)|0;l=C[a+8>>2];if((l|0)!=C[e>>2]){break d}if((g|0)!=(l|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(c>>>0<=f>>>0){break a}if((h-b|0)+c&1){a=I(f,20)+i|0;if(C[a+8>>2]!=(g|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;f=f+1|0}if(((b-h|0)+1|0)==(c|0)){break a}while(1){a=I(f,20)+i|0;if(C[a+8>>2]!=(g|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;a=I(f+1|0,20)+i|0;if(C[a+8>>2]!=(g|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;f=f+2|0;if((f|0)!=(c|0)){continue}break}}}function Bj(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0;k=Ce-32|0;Ce=k;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}l=0;if((b|0)==844715353){break c}break b}if((b|0)==1431918169){break d}l=0;if((b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}j=I(a,d)+c|0;m=(d+1|0)/2|0;l=j+I(m,(a+1|0)/2|0)|0;break c}j=I(a,d)+c|0;m=(d+1|0)/2<<1}l=0}a=l;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}C[e>>2]=c;C[h>>2]=d;C[g>>2]=c+3;C[f>>2]=C[e>>2]+1;break h}if((b|0)==1431918169){break m}if((b|0)==1448433993){break n}if((b|0)!=1498831189){break j}C[e>>2]=c+1;C[h>>2]=d;C[g>>2]=c+2;C[f>>2]=C[e>>2]-1;break h}C[e>>2]=c;C[h>>2]=d;C[g>>2]=j;C[f>>2]=a;break i}C[e>>2]=c;C[h>>2]=d;C[g>>2]=a;C[f>>2]=j;break i}C[e>>2]=c;C[h>>2]=d;C[g>>2]=c+1;C[f>>2]=C[e>>2]+3;break h}C[e>>2]=c;C[h>>2]=d;C[f>>2]=j;C[g>>2]=j+1;break i}C[e>>2]=c;C[h>>2]=d;C[g>>2]=j;C[f>>2]=j+1;break i}n=k,o=Yh(b),C[n+16>>2]=o;a=Qe(8698,k+16|0);break a}C[i>>2]=m;a=0;break a}C[i>>2]=d;a=0;break a}n=k,o=Yh(b),C[n>>2]=o;a=Qe(8742,k)}Ce=k+32|0;return a}function wJ(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,j=0,k=0,l=0;h=Ce-16|0;Ce=h;b=C[b>>2];C[h+12>>2]=0;a:{if(!b){d=35;break a}d=6;g=C[b+132>>2];if(!g|F[b+16>>2]<=c>>>0){break a}d=3;e=E[g+4>>1];b=(e|0)==768;c=I(c?c-1|0:D[g+106|0],b?6:4)+(b?148:118)|0;f=C[g+8>>2];if(c>>>0>=(f+(b?-4:-2)|0)-2>>>0){break a}j=C[g+160>>2];b=c+j|0;i=D[b|0]|D[b+1|0]<<8;C[a+80>>2]=i;if((e|0)==768){c=D[b+4|0]<<16|D[b+5|0]<<24|D[b+3|0]<<8}else{c=D[b+3|0]<<8}b=c|D[b+2|0];if(b>>>0>=f>>>0){break a}l=C[C[a+4>>2]+100>>2];k=i+7|0;e=k>>>3|0;C[a+84>>2]=e;c=E[g+96>>1];C[a+76>>2]=c;A[a+94|0]=1;if(f>>>0>>0){break a}c=Ve(l,c,0,e,0,h+12|0);C[a+88>>2]=c;d=C[h+12>>2];if(d){break a}b:{if(!i){break b}b=b+j|0;if(k&8){d=C[a+76>>2];if((d|0)>0){f=b+d|0;d=c;while(1){A[d|0]=D[b|0];d=C[a+84>>2]+d|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+1|0;d=e-1|0}else{d=e}f=d;if((e|0)==1){break b}while(1){d=C[a+76>>2];if((d|0)>0){e=b+d|0;d=c;while(1){A[d|0]=D[b|0];d=C[a+84>>2]+d|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}d=C[a+76>>2];if((d|0)>0){e=b+d|0;d=c+1|0;while(1){A[d|0]=D[b|0];d=C[a+84>>2]+d|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}c=c+2|0;f=f-2|0;if(f){continue}break}}C[C[a+156>>2]+4>>2]=1;C[a+100>>2]=0;b=E[g+80>>1];C[a+72>>2]=1651078259;C[a+104>>2]=b;c=C[a+80>>2]<<6;C[a+24>>2]=c;C[a+40>>2]=c;c=C[a+76>>2]<<6;C[a+28>>2]=c;C[a+32>>2]=0;C[a+36>>2]=b<<6;fk(a+24|0,c);d=C[h+12>>2]}Ce=h+16|0;return d|0}function Xw(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;c=C[a+36>>2];h=C[a+40>>2];d=C[a+28>>2];i=C[a+24>>2];j=d+I(i,40)|0;a:{if(b){k=8;if((i|0)<=0){break a}a=d;while(1){C[a+24>>2]=C[a+20>>2];C[a+28>>2]=C[a+8>>2];a=a+40|0;if(j>>>0>a>>>0){continue}break}break a}k=4;if((i|0)<=0){break a}a=d;while(1){C[a+24>>2]=C[a+16>>2];C[a+28>>2]=C[a+4>>2];a=a+40|0;if(j>>>0>a>>>0){continue}break}}if((c|0)>0){n=(c<<2)+h|0;while(1){e=C[h>>2];a=e;g=C[a+36>>2];b:{if(a>>>0>g>>>0){break b}while(1){c:{if(E[a>>1]&k){c=a;while(1){f=c;m=g>>>0<=c>>>0;if(!m){c=f+40|0;if(E[f+40>>1]&k){continue}}d:{e:{l=f+40|0;c=l;if(g>>>0>=c>>>0){while(1){if(E[c>>1]&k){break e}c=c+40|0;if(g>>>0>=c>>>0){continue}break}}if((a|0)==(f|0)){c=C[a+24>>2];f=C[a+28>>2];if((c|0)==(f|0)){break b}c=c-f|0;if(a>>>0>e>>>0){break d}break c}if(!m){yp(l,g,f,a)}if(a>>>0<=d>>>0){break b}yp(e,a-40|0,f,a);break b}yp(l,c-40|0,f,c);continue}break}while(1){C[e+24>>2]=c+C[e+28>>2];e=e+40|0;if(e>>>0>>0){continue}break}break c}a=a+40|0;if(g>>>0>=a>>>0){continue}break b}break}e=a+40|0;if(g>>>0>>0){break b}while(1){C[a- -64>>2]=c+C[a+68>>2];a=e;e=a+40|0;if(g>>>0>=e>>>0){continue}break}}h=h+4|0;if(n>>>0>h>>>0){continue}break}}f:{if(b){if((i|0)<=0){break f}while(1){C[d+20>>2]=C[d+24>>2];d=d+40|0;if(j>>>0>d>>>0){continue}break}break f}if((i|0)<=0){break f}while(1){C[d+16>>2]=C[d+24>>2];d=d+40|0;if(j>>>0>d>>>0){continue}break}}}function uj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ce-80|0;Ce=h;j=a+11724|0;up(a,C[a+11720>>2],C[j>>2],b,c,h+36|0,h+32|0);up(a,d,e,f,g,h+28|0,h+24|0);k=C[a+4>>2];C[k+16>>2]=C[k+16>>2]+(I(e-c>>16,b>>16)-I(d-b>>16,c>>16)|0);l=C[h+36>>2];k=l+C[a+11720>>2]|0;C[h+16>>2]=k;j=C[j>>2];i=c;c=C[h+32>>2];C[h+12>>2]=i+c;C[h+8>>2]=b+l;b=c+j|0;C[h+20>>2]=b;j=C[h+24>>2];l=C[h+28>>2];if(D[a+11667|0]){C[h+72>>2]=1;c=C[a+11732>>2];C[h+40>>2]=C[a+11728>>2];C[h+44>>2]=c;if(!D[a+20|0]){Yk(a,C[a+11736>>2],C[a+11740>>2])}i=Te(C[a+11644>>2],k);m=Te(C[a+11648>>2],b);c=Nh(a+8|0,b);i=i+m|0;n=h,o=(Te(C[C[a>>2]+60>>2],i)+Te(C[C[a>>2]+68>>2],c)|0)+C[a+11656>>2]|0,C[n+48>>2]=o;n=h,o=(Te(C[C[a>>2]- -64>>2],i)+Te(C[C[a>>2]+72>>2],c)|0)+C[a+11660>>2]|0,C[n+52>>2]=o;c=C[a+4>>2];Fe[C[c>>2]](c,h+40|0);c=C[h+48>>2];i=C[h+52>>2];C[a+11704>>2]=k;C[a+11708>>2]=b;C[a+11728>>2]=c;C[a+11732>>2]=i;A[a+11664|0]=1;A[a+11667|0]=0;b=C[h+12>>2];C[a+11712>>2]=C[h+8>>2];C[a+11716>>2]=b}if(D[a+11744|0]){b=C[h+12>>2];C[h>>2]=C[h+8>>2];C[h+4>>2]=b;Am(a,a+8|0,h+16|0,h,0)}C[a+11748>>2]=4;A[a+11744|0]=1;b=C[h+20>>2];C[a+11752>>2]=C[h+16>>2];C[a+11756>>2]=b;b=C[h+8>>2];c=C[h+12>>2];C[a+11780>>2]=g+j;C[a+11776>>2]=f+l;C[a+11772>>2]=e+j;C[a+11768>>2]=d+l;C[a+11760>>2]=b;C[a+11764>>2]=c;b=C[a+11676>>2];if(D[b+5|0]){Xk(a+8|0,C[a+11668>>2],C[a+11672>>2],b,C[a+11680>>2],0)}C[a+11724>>2]=g;C[a+11720>>2]=f;Ce=h+80|0}function xA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;if((e|0)<=0){return 0}if(e>>>0>=4){i=e&-4;while(1){h=f;f=g<<2;f=(((h+(C[f+d>>2]!=0)|0)+(C[(f|4)+d>>2]!=0)|0)+(C[(f|8)+d>>2]!=0)|0)+(C[(f|12)+d>>2]!=0)|0;g=g+4|0;k=k+4|0;if((i|0)!=(k|0)){continue}break}}i=e&3;if(i){while(1){f=(C[(g<<2)+d>>2]!=0)+f|0;g=g+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(!f){return 0}j=C[b>>2];d=C[j>>2];f=C[j+4>>2];o=C[j+8>>2];t=C[j+12>>2];p=pg(a,4);i=a;q=(f-d|0)/(o|0)|0;a=q<<2;d=pg(i,a);C[p>>2]=d;We(d,0,a);if((q|0)>0){a=e-1|0;x=a&-2;y=a&1;i=t-1|0;a=C[j>>2]/(e|0)|0;z=C[p>>2];while(1){f=0;a:{if((o|0)<=0){k=0;g=0;break a}A=C[c>>2];g=0;k=0;r=0;while(1){l=a<<2;m=C[A+l>>2];d=m>>31;u=(d^m)-d|0;B=(u|0)>(k|0);b:{if((e|0)<2){break b}m=0;d=1;if((e|0)!=2){while(1){h=(d<<2)+c|0;v=C[C[h+4>>2]+l>>2];n=v>>31;w=C[C[h>>2]+l>>2];h=w>>31;n=(n^v)-n|0;h=(h^w)-h|0;g=(g|0)<(h|0)?h:g;g=(g|0)<(n|0)?n:g;d=d+2|0;m=m+2|0;if((x|0)!=(m|0)){continue}break}}if(!y){break b}l=C[C[(d<<2)+c>>2]+l>>2];d=l>>31;d=(d^l)-d|0;g=(d|0)>(g|0)?d:g}k=B?u:k;a=a+1|0;r=e+r|0;if((o|0)>(r|0)){continue}break}}c:{if((t|0)<=1){break c}while(1){d=j+(f<<2)|0;if(C[d+2328>>2]>=(k|0)&C[d+2584>>2]>=(g|0)){break c}f=f+1|0;if((i|0)!=(f|0)){continue}break}f=i}C[(s<<2)+z>>2]=f;s=s+1|0;if((q|0)!=(s|0)){continue}break}}C[b+40>>2]=C[b+40>>2]+1;return p|0}function Pf(a){var 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;a:{if(!C[a+4>>2]){break a}b=C[a+16>>2];b:{if(!b){C[a+20>>2]=2;break b}c:{switch(C[a+20>>2]-2|0){case 1:c=B[188078];d:{if(!c){C[105773]=28;b=-1;break d}e:{f:{if((c|0)>-2){break f}b=200809;g:{switch((c&255)-1|0){case 1:b=131072;break d;case 2:b=32768;break d;case 3:b=65536;break d;case 4:case 10:b=2147483647;break d;case 5:case 6:b=1;break d;case 7:case 8:b=Ob()>>>16|0;break d;case 9:break g;case 0:break e;default:break f}}b=0;break d}b=c}}h:{if((b|0)!=-1){C[a+20>>2]=2;c=1;break h}b=C[105773];l=E[((b>>>0<=153?b:0)<<1)+375696>>1]+373780|0;b=C[C[105819]+20>>2];if(b){h=C[b+4>>2];b=C[b>>2];c=C[b>>2]+1794895138|0;f=jj(C[b+8>>2],c);e=jj(C[b+12>>2],c);d=jj(C[b+16>>2],c);i:{if(h>>>2>>>0<=f>>>0){break i}g=h-(f<<2)|0;if((d|e)&3|(g>>>0<=e>>>0|d>>>0>=g>>>0)){break i}m=d>>>2|0;n=e>>>2|0;e=0;while(1){g=f>>>1|0;i=g+e|0;j=i<<1;d=b+(j+n<<2)|0;k=jj(C[d>>2],c);d=jj(C[d+4>>2],c);if(d>>>0>=h>>>0|h-d>>>0<=k>>>0|D[b+(d+k|0)|0]){break i}d=Se(l,b+d|0);if(!d){b=b+(m+j<<2)|0;jj(C[b>>2],c);jj(C[b+4>>2],c);break i}if((f|0)==1){break i}d=(d|0)<0;f=d?g:f-g|0;e=d?e:i;continue}}}c=0}if(c){break b}C[a+20>>2]=1;b=C[a+16>>2];break;case 0:break b;default:break c}}c=kf(b);if(!c){break a}b=jf(c,C[a+12>>2],b);c=C[a+28>>2];if(c){Fe[c|0](C[a+24>>2])}C[a+28>>2]=642;C[a+24>>2]=b;C[a+12>>2]=b;C[a+20>>2]=2}return C[a+12>>2]}return 0}function dt(a,b){var c=J(0),d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){a=0;b:{e=C[104765];if(e){if((e|0)<=0){return-1}break b}return Qe(20468,0)}while(1){e=C[104766]+I(a,8232)|0;j=C[e+8220>>2];g=I(j,516);d=Sf(C[e+8224>>2],g+516|0);c:{if(!d){j=_e(0);break c}h=e+8220|0;C[e+8224>>2]=d;g=d+g|0;gf(g,b,512);d=5381;e=0;while(1){f=I(d,33);i=e<<3;d=i+g|0;c=G[d>>2];d:{if(c=J(0)){k=~~c>>>0;break d}k=0}f=I(k+f|0,33);c=G[d+4>>2];e:{if(c=J(0)){d=~~c>>>0;break e}d=0}f=I(d+f|0,33);i=g+(i|8)|0;c=G[i>>2];f:{if(c=J(0)){d=~~c>>>0;break f}d=0}f=I(d+f|0,33);c=G[i+4>>2];g:{if(c=J(0)){d=~~c>>>0;break g}d=0}d=d+f|0;e=e+2|0;if((e|0)!=64){continue}break}C[g+512>>2]=d;C[h>>2]=C[h>>2]+1}if((j|0)>=0){a=a+1|0;if((a|0)>=C[104765]){break a}continue}break}return-1}j=C[a+8220>>2];d=I(j,516);g=Sf(C[a+8224>>2],d+516|0);if(!g){return _e(0)}C[a+8224>>2]=g;d=d+g|0;gf(d,b,512);b=5381;while(1){h=I(b,33);f=e<<3;i=f+d|0;c=G[i>>2];h:{if(c=J(0)){b=~~c>>>0;break h}b=0}h=I(b+h|0,33);c=G[i+4>>2];i:{if(c=J(0)){b=~~c>>>0;break i}b=0}h=I(b+h|0,33);f=d+(f|8)|0;c=G[f>>2];j:{if(c=J(0)){b=~~c>>>0;break j}b=0}h=I(b+h|0,33);c=G[f+4>>2];k:{if(c=J(0)){b=~~c>>>0;break k}b=0}b=b+h|0;e=e+2|0;if((e|0)!=64){continue}break}C[(g+I(j,516)|0)+512>>2]=b;C[a+8220>>2]=C[a+8220>>2]+1}return j}function kl(a){var b=0,c=0,d=0,e=0,f=0;e=C[a+28>>2];if(e){b=C[e+8>>2];if((b|0)>0){while(1){d=C[((c<<2)+e|0)+32>>2];if(d){Re(d);b=C[e+8>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}c=0;b=C[e+12>>2];if((b|0)>0){while(1){d=(c<<2)+e|0;f=C[d+544>>2];if(f){Fe[C[C[(C[d+288>>2]<<2)+60632>>2]+8>>2]](f);b=C[e+12>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}c=0;b=C[e+16>>2];if((b|0)>0){while(1){d=(c<<2)+e|0;f=C[d+1056>>2];if(f){Fe[C[C[(C[d+800>>2]<<2)+60612>>2]+12>>2]](f);b=C[e+16>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}c=0;b=C[e+20>>2];if((b|0)>0){while(1){d=(c<<2)+e|0;f=C[d+1568>>2];if(f){Fe[C[C[(C[d+1312>>2]<<2)+60620>>2]+12>>2]](f);b=C[e+20>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}if(C[e+24>>2]>0){c=0;while(1){b=C[((c<<2)+e|0)+1824>>2];if(b){Kl(b)}b=C[e+2848>>2];if(b){b=b+I(c,56)|0;d=C[b+16>>2];if(d){Re(d)}d=C[b+20>>2];if(d){Re(d)}d=C[b+24>>2];if(d){Re(d)}d=C[b+28>>2];if(d){Re(d)}d=C[b+32>>2];if(d){Re(d)}C[b>>2]=0;C[b+4>>2]=0;C[b+48>>2]=0;C[b+52>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;C[b+32>>2]=0;C[b+36>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}c=c+1|0;if((c|0)>2]){continue}break}}c=C[e+2848>>2];if(c){Re(c)}if(C[e+28>>2]>0){c=0;while(1){fj(C[((c<<2)+e|0)+2852>>2]);c=c+1|0;if((c|0)>2]){continue}break}}Re(e)}C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}function FM(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ce-16|0;Ce=j;e=C[a+16>>2];d=C[a+28>>2];k=C[a+24>>2];C[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=C[a+32>>2];break c}C[a+36>>2]=b;l=Ve(b,4,d,g,C[a+32>>2],j+12|0);C[a+32>>2]=l;if(C[j+12>>2]){break b}C[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=D[e+7|0]|D[e+8|0]<<8|(D[e+9|0]<<16|D[e+10|0]<<24);o=D[e|0];p=D[e+1|0];q=D[e+2|0];d:{e:{f:{b=D[e+3|0]|D[e+4|0]<<8|(D[e+5|0]<<16|D[e+6|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break f}d=b+C[a+16>>2]|0;b=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=D[f+1|0]<<8|D[f|0]<<16|D[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+D[n|0]>>>0>>0){continue}break}break e}b=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!b){break d}d=b+C[a+16>>2]|0;b=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+I(d,5)|0;f=h-3|0;f=D[f+1|0]<<8|D[f|0]<<16|D[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(!(D[h+1|0]|D[h|0]<<8)){break d}}C[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}C[g>>2]=0;break a}l=0}Ce=j+16|0;return l|0}function ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{g=D[a|0];if((g|0)!=117){break b}c:{d=D[a+1|0];if((d|0)!=110|D[a+2|0]!=105){break c}b=D[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=D[a+4|0];c=b-48|0;f=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(f>>>0>15){break c}b=D[a+5|0];c=b-48|0;h=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(h>>>0>15){break c}b=D[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+(((e<<8)+(f<<4)|0)+h<<4)|0;c=D[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-48|0;c=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(c>>>0>15){break b}b=D[a+2|0];d=b-48|0;e=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(e>>>0>15){break b}b=D[a+3|0];d=b-48|0;f=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(f>>>0>15){break b}b=D[a+4|0];d=b-48|0;b=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(b>>>0>15){break b}b=b+(f+((c<<8)+(e<<4)|0)<<4)|0;c=D[a+5|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+5|0;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;c=D[a+6|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+6|0;if(c>>>0>15){break d}b=c+(b<<4)|0;d=a+7|0}d=D[d|0];if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}b=a;while(1){e:{f:{if((g|0)!=46){if(g){break f}return nv(a,b)|0}if(a>>>0>>0){break e}}g=D[b+1|0];b=b+1|0;continue}break}b=nv(a,b)|-2147483648}return b|0}function ul(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;if(C[105668]){xr();Rs();Qj(16384);a=C[105668];a:{if(!C[a+360>>2]){break a}C[a+360>>2]=0;c=C[a+284>>2];if(!c){break a}Fe[c|0](a);a=C[105668]}c=C[a+380>>2];if(c){while(1){rn(c);a=C[105668];c=C[a+380>>2];if(c){continue}break}}Fe[C[a+8>>2]](a);c=0;a=C[105668];d=C[a+372>>2];if((d|0)>0){while(1){g=C[a+376>>2];d=Ce-16|0;Ce=d;a=C[105668];b:{if(!a){Qe(19865,0);break b}b=C[a+372>>2];if(!((b|0)>(c|0)&(c|0)>=0)){C[d>>2]=b-1;Qe(21451,d);break b}a=C[a+376>>2]+I(c,72)|0;b=C[a+12>>2];e=C[a+8>>2];if(e){while(1){e=e-1|0;f=I(e,20);b=C[(f+b|0)+16>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+12>>2];C[(f+b|0)+16>>2]=0;if(e){continue}break}}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[a+12>>2]=0;C[a+8>>2]=0;C[a+4>>2]=0}Ce=d+16|0;a=I(c,72)+g|0;b=C[a+32>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[a+32>>2]=0;b=C[a+68>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[a+68>>2]=0;c=c+1|0;a=C[105668];d=C[a+372>>2];if((c|0)<(d|0)){continue}break}}b=C[a+376>>2];if(b){if((d|0)>0){c=0;while(1){a=C[C[a+376>>2]+I(c,72)>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}c=c+1|0;a=C[105668];if((c|0)>2]){continue}break}b=C[a+376>>2]}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}a=C[105668];C[a+372>>2]=0;C[a+376>>2]=0}a=C[a+396>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[105668];C[a+396>>2]=0;Fe[C[a+1088>>2]](a);C[105668]=0}}function $P(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;c=161;if(F[a+404>>2]>=a+40>>>0){d=C[a+412>>2];A[d+64|0]=1;h=a+20|0;g=C[h>>2];a:{b:{c:{b=C[a+16>>2];e=D[b|0];d:{if((e|0)==30){b=tp(b,g,0,f+12|0);e=C[f+12>>2];break d}e:{f:{switch(e-28|0){case 0:c=0;if(g>>>0>>0){break c}c=D[b+2|0]|D[b+1|0]<<8;break c;case 1:c=0;if(g>>>0>>0){break c}c=D[b+1|0]|D[b+2|0]<<8|(D[b+3|0]<<16|D[b+4|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break e;default:break f}}if(e>>>0<=246){c=e-139|0;break c}i=b+2|0;if(e>>>0<=250){c=0;if(g>>>0>>0){break c}c=(D[b+1|0]|e<<8)-63124|0;break c}c=0;if(g>>>0>>0){break c}c=64148-(D[b+1|0]|e<<8)|0}if((c|0)<32768){break c}b=5;g:{if(c>>>0<1e5){break g}b=6;if(c>>>0<1e6){break g}b=7;if(c>>>0<1e7){break g}b=8;if(c>>>0<1e8){break g}b=c>>>0<1e9?9:10}e=b-5|0;g=C[(e<<2)+278528>>2];if(((c|0)/(g|0)|0)>=32768){e=b-4|0;b=Ze(c,C[(e<<2)+278528>>2]);break d}b=Ze(c,g)}C[d+48>>2]=b;b=0;c=0-e|0;C[f+12>>2]=c;if(e-1>>>0>4294967285){break b}C[d+48>>2]=65536;C[d+52>>2]=0;C[d+72>>2]=0;C[d+56>>2]=0;C[d+60>>2]=65536;a=1;break a}C[d+48>>2]=c<<16;c=0;C[f+12>>2]=0}j=d,k=Mh(h,c),C[j+56>>2]=k;j=d,k=Mh(a+24|0,C[f+12>>2]),C[j+52>>2]=k;j=d,k=Mh(a+28|0,C[f+12>>2]),C[j+60>>2]=k;j=d,k=Mh(a+32|0,C[f+12>>2]),C[j+72>>2]=k;b=Mh(a+36|0,C[f+12>>2]);a=C[(C[f+12>>2]<<2)+278528>>2]}C[d+68>>2]=a;C[d+76>>2]=b;c=0}Ce=f+16|0;return c|0}function uq(a,b){var c=0,d=0,e=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((D[a|0]|D[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!pz(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}e=D[a+11|0]|(D[a+9|0]<<16|(c&255)<<24|D[a+10|0]<<8);b:{if(!e){break b}if(tq(a+e|0,b)){break b}e=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=0;d=a+12|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}e=D[a+15|0]|(D[a+13|0]<<16|(c&255)<<24|D[a+14|0]<<8);c:{if(!e){break c}if(tq(a+e|0,b)){break c}e=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=0;d=a+16|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}e=1;c=D[a+19|0]|(D[a+17|0]<<16|(c&255)<<24|D[a+18|0]<<8);if(!c){break a}if(tq(a+c|0,b)){break a}e=0;a=C[b+28>>2];if(a>>>0>31){break a}C[b+28>>2]=a+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0;e=1}return 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,i=0;a:{if(!a){break a}d=C[a>>2];if(!d){break a}Iw(d,c);Iw(d,b);C[a>>2]=0;Yv(d);nf(d,C[d+700>>2]);C[d+700>>2]=0;nf(d,C[d+776>>2]);C[d+776>>2]=0;nf(d,C[d+760>>2]);C[d+760>>2]=0;nf(d,C[d+604>>2]);C[d+604>>2]=0;nf(d,C[d+608>>2]);C[d+608>>2]=0;a=C[d+648>>2];if(a&4096){Pw(d,C[d+404>>2]);C[d+404>>2]=0;a=C[d+648>>2]}b=a&-4097;C[d+648>>2]=b;if(a&8192){nf(d,C[d+520>>2]);C[d+520>>2]=0;b=C[d+648>>2]}C[d+648>>2]=b&-8193;a=d+220|0;b:{if(!a|!C[a+32>>2]){break b}c=C[a+36>>2];if(!c){break b}b=C[a+28>>2];if(!b|(a|0)!=C[b>>2]|C[b+4>>2]-16180>>>0>31){break b}e=C[b+56>>2];if(e){Fe[c|0](C[a+40>>2],e);c=C[a+36>>2];b=C[a+28>>2]}Fe[c|0](C[a+40>>2],b);C[a+28>>2]=0}nf(d,C[d+560>>2]);C[d+560>>2]=0;nf(d,C[d+744>>2]);C[d+744>>2]=0;nf(d,C[d+668>>2]);C[d+668>>2]=0;b=Ce-880|0;Ce=b;if(d){jf(b+8|0,d,872);a=We(d,0,872);c=C[b+704>>2];c:{if(c){Fe[c|0](b+8|0,a);break c}Re(a)}e=0;d=Ce-160|0;Ce=d;c=kf(40);C[c>>2]=0;a=b+8|0;if(a){f=C[a+160>>2];d:{if(!f|!C[a+164>>2]|(a|0)==(f|0)){break d}c=Uj(d,1,c,4);i=De;while(1){if(e){break d}C[a+164>>2]=0;C[a+156>>2]=107;C[a+160>>2]=d;C[108230]=0;Z(123,a|0,f|0);e=C[108230];C[108230]=0;g=-1;e:{if(!e){break e}h=C[108231];if(!h){break e}g=Mf(C[e>>2],c,i);if(!g){Re(c);Ji(e,h);s()}De=h}e=De;if((g|0)==1){continue}break}}C[a+164>>2]=0;C[a+156>>2]=0;C[a+160>>2]=0}Re(c);Ce=d+160|0}Ce=b+880|0}}function my(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}d=C[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}e=C[b+12>>2];f=e-2|0;C[b+12>>2]=f;g=1;if((f|0)<=0){return 0}f=D[a|0]|D[a+1|0]<<8;a:{if(!f){break a}b:{f=((f<<8|f>>>8)&65535)+c|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break b}c=e-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}h=D[f|0]|D[f+1|0]<<8;if(!h){break a}g=f+2|0;if(g>>>0>d>>>0){break b}e=d-g|0;d=(h<<8|h>>>8)&65535;g=I(d,6);if(e>>>0>>0){break b}c=c-g|0;C[b+12>>2]=c;if((c|0)<=0){break b}j=d>>>0<=1?1:d;h=0;while(1){g=Ce-16|0;Ce=g;c=(f+I(h,6)|0)+2|0;d=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);C[g+12>>2]=f;C[g+8>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c:{if(c>>>0>2]){c=0;break c}e=C[b+8>>2];if(e>>>0>>0){c=0;break c}if(e-c>>>0<6){c=0;break c}i=C[b+12>>2];d=i-6|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break c}d=c+4|0;if(d>>>0>e>>>0){c=0;break c}if(e-d>>>0<2){c=0;break c}e=i-8|0;C[b+12>>2]=e;c=1;if((e|0)<=0){c=0;break c}e=D[d|0]|D[d+1|0]<<8;if(!e){break c}if(ky(f+((e<<8|e>>>8)&65535)|0,b,g+8|0)){break c}c=C[b+28>>2];if(c>>>0>31){c=0;break c}C[b+28>>2]=c+1;c=0;if(!D[b+24|0]){break c}A[d|0]=0;A[d+1|0]=0;c=1}Ce=g+16|0;if(!c){break b}g=1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;g=1}return g}function HB(a,b){a=a|0;b=b|0;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,o=0,p=0;c=C[b+1296>>2];f=C[C[C[C[a+64>>2]+4>>2]+28>>2]+2848>>2];d=a+4|0;a:{if((Ye(d,1)|0)!=1){break a}i=2;g=pg(a,C[b+1284>>2]<<2);o=g,p=Ye(d,tg(C[b+1292>>2]-1|0)),C[o>>2]=p;o=g,p=Ye(d,tg(C[b+1292>>2]-1|0)),C[o+4>>2]=p;if(C[c>>2]>0){while(1){m=C[(c+(l<<2)|0)+4>>2];e=c+(m<<2)|0;j=C[e+128>>2];a=0;b:{k=C[e+192>>2];if(!k){break b}a=Ak(f+I(C[e+256>>2],56)|0,d);if((a|0)!=-1){break b}return 0}if((j|0)>0){h=-1<>2];c:{if((n|0)>=0){n=Ak(f+I(n,56)|0,d);C[(e+i<<2)+g>>2]=n;if((n|0)!=-1){break c}return 0}C[(e+i<<2)+g>>2]=0}a=a>>k;e=e+1|0;if((j|0)!=(e|0)){continue}break}}i=j+i|0;l=l+1|0;if((l|0)>2]){continue}break}}e=2;if(C[b+1284>>2]<=2){break a}j=c+836|0;while(1){a=e<<2;c=a+b|0;l=c;i=C[c+772>>2]<<2;k=c+1024|0;f=C[k>>2]<<2;m=C[f+g>>2]&32767;c=(C[i+g>>2]&32767)-m|0;d=c>>31;h=(c^d)-d|0;d=C[f+j>>2];d=(I(h,C[a+j>>2]-d|0)|0)/(C[j+i>>2]-d|0)|0;c=m+((c|0)<0?0-d|0:d)|0;a=a+g|0;d=C[a>>2];d:{if(d){f=C[b+1292>>2]-c|0;e:{if((d|0)>=((c|0)>(f|0)?f:c)<<1){h=d-c|0;if((c|0)<(f|0)){break e}h=f+(d^-1)|0;break e}h=0-(d+1>>1)|0;if(d&1){break e}h=d>>1}C[a>>2]=h+c&32767;a=(C[k>>2]<<2)+g|0;C[a>>2]=C[a>>2]&32767;a=(C[l+772>>2]<<2)+g|0;C[a>>2]=C[a>>2]&32767;break d}C[a>>2]=c|32768}e=e+1|0;if((e|0)>2]){continue}break}}return g|0}function sv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(c){i=C[a+4>>2];k=C[a+12>>2];a=(e|0)==2;m=a?256:128;n=a?128:256;l=0-e|0;while(1){g=C[b+16>>2];a:{if(g&16){break a}j=C[b+28>>2];b:{a=A[b+20|0];c:{if((e|0)==(a|0)|(a|0)==(l|0)){break c}a=A[b+21|0];if((e|0)==(a|0)){break c}if((a|0)!=(l|0)){break b}}if(!a){break b}if((a|0)==(e|0)){a=0;if(!i){break a}while(1){f=C[(a<<2)+k>>2];h=j-C[f>>2]|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break a}break}C[b+24>>2]=f;C[b+16>>2]=g|528;break a}if((a|0)!=(l|0)){break a}a=0;if(!i){break a}while(1){f=C[(a<<2)+k>>2];h=j-(C[f>>2]+C[f+4>>2]|0)|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break a}break}C[b+24>>2]=f;C[b+16>>2]=g|1040;break a}if(!(g&64)){break a}d:{e:{if(g&n){a=0;if(!i){break a}while(1){f=C[(a<<2)+k>>2];h=j-C[f>>2]|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break d}break}a=528;break e}if(!(g&m)){break d}a=0;if(!i){break d}while(1){f=C[(a<<2)+k>>2];h=j-(C[f>>2]+C[f+4>>2]|0)|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break d}break}a=1040}C[b+24>>2]=f;C[b+16>>2]=a|g}if(C[b+24>>2]){break a}a=0;if(!i){break a}while(1){g=C[(a<<2)+k>>2];f=C[g>>2];if(!((f|0)>(j|0)|(f+C[g+4>>2]|0)<(j|0))){C[b+24>>2]=g;break a}a=a+1|0;if((i|0)!=(a|0)){continue}break}}b=b+40|0;c=c-1|0;if(c){continue}break}}}function xL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=C[a+12>>2];j=C[a+204>>2];b=C[a+200>>2];a:{while(1){c=k;k=c+1|0;g=Mw(i,k);if(g){break a}g=21;h=b+4|0;if(h>>>0>j>>>0){break a}d=C[i+88>>2]+(c<<5)|0;C[d+8>>2]=0;C[d+12>>2]=0;l=D[b+1|0];e=l|D[b|0]<<8;B[d+4>>1]=e;C[d>>2]=D[b+3|0]|D[b+2|0]<<8;f=l&1?4:2;m=e&8;c=f+2|0;b:{if(m){break b}c=f+4|0;if(e&64){break b}c=f|e>>>4&8}if(c+h>>>0>j>>>0){break a}c=e&1;c:{if(e&2){if(c){c=D[b+4|0]|D[b+5|0]<<8;C[d+8>>2]=(c<<8|c>>>8)<<16>>16;c=D[b+6|0]|D[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=b+8|0;break c}C[d+8>>2]=A[b+4|0];f=A[b+5|0];c=b+6|0;break c}if(c){C[d+8>>2]=D[b+5|0]|D[b+4|0]<<8;f=D[b+7|0]|D[b+6|0]<<8;c=b+8|0;break c}C[d+8>>2]=D[b+4|0];f=D[b+5|0];c=b+6|0}C[d+12>>2]=f;d:{if(m){b=c+2|0;e=0;c=D[c|0]|D[c+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){b=D[c+2|0]|D[c+3|0]<<8;f=(b<<8|b>>>8)<<16>>16<<2;b=D[c|0]|D[c+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;b=c+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;b=c;f=65536;h=0;break d}b=D[c+6|0]|D[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16<<2;b=D[c+4|0]|D[c+5|0]<<8;e=(b<<8|b>>>8)<<16>>16<<2;b=D[c+2|0]|D[c+3|0]<<8;h=(b<<8|b>>>8)<<16>>16<<2;b=D[c|0]|D[c+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;b=c+8|0}C[d+16>>2]=g;C[d+28>>2]=f;C[d+24>>2]=h;C[d+20>>2]=e;if(l&32){continue}break}C[i+84>>2]=k;c=C[C[a+24>>2]+8>>2];C[a+200>>2]=b;C[a+168>>2]=(b+c|0)-j;g=0}return g|0}function vD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(w){h=(I(h,s)>>>0)/255|0;g=(I(g,t)>>>0)/255|0;i=(I(i,r)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b>>>24|0;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+i|0;f=(((I(c,f)&65535)>>>0)/255|0)+h|0;e=(((I(e,c)&65535)>>>0)/255|0)+g|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+h|0;f=c>>>0>=255?255:c;c=e+g|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,i)>>>0)/255|0;f=(I(f,h)>>>0)/255|0;e=(I(e,g)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(h+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(g+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function dE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(w){g=(I(g,r)>>>0)/255|0;h=(I(h,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b>>>24|0;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){g=(I(g,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+g|0;f=(((I(c,f)&65535)>>>0)/255|0)+h|0;e=(((I(e,c)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;c=f+h|0;f=c>>>0>=255?255:c;c=e+i|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,g)>>>0)/255|0;f=(I(f,h)>>>0)/255|0;e=(I(e,i)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(h+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function cD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(w){g=(I(g,r)>>>0)/255|0;h=(I(h,t)>>>0)/255|0;i=(I(i,s)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b&255;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){g=(I(g,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+g|0;f=(((I(c,f)&65535)>>>0)/255|0)+i|0;e=(((I(e,c)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;c=i+f|0;f=c>>>0>=255?255:c;c=e+h|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,g)>>>0)/255|0;f=(I(i,f)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(h+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function _m(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,o=0,p=0;m=C[b+4>>2];a:{if(m>>>0>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<5){break a}c=C[b+12>>2]-5|0;C[b+12>>2]=c;b:{if((c|0)<=0){break b}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)){break b}return 1}f=C[b+12>>2]-5|0;C[b+12>>2]=f;if((f|0)<=0){break a}e=D[a+4|0];if((e-1&255)>>>0>3){break a}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=h+1|0;if(4294967295/(c>>>0)>>>0<=e>>>0?c:0){break a}i=a+5|0;c:{d:{c=I(c,e);switch(c+1|0){case 0:break a;case 1:break c;default:break d}}if(g>>>0>>0|g-i>>>0>>0){break a}f=f-c|0;C[b+12>>2]=f;if((f|0)<=0){break a}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c=I(h+1|0,e)}if((h|0)==-1){break a}j=c+i|0;o=e&252;n=e&3;p=e-1>>>0<3;while(1){a=I(e,k)+i|0;c=0;d=0;if(!p){while(1){d=a;a=a+4|0;c=c+4|0;if((o|0)!=(c|0)){continue}break}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c=0;if(n){while(1){d=D[a|0]|d<<8;a=a+1|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}l=d>>>0>l>>>0?d:l;a=(h|0)!=(k|0);k=k+1|0;if(a){continue}break}a=l-1|0;if(!a){return 1}d=0;if((a|0)<0|j>>>0>>0|(g>>>0>>0|a>>>0>g-j>>>0)){break a}a=f-a|0;C[b+12>>2]=a;d=(a|0)>0}return d}function LD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(w){h=(I(h,r)>>>0)/255|0;g=(I(g,t)>>>0)/255|0;i=(I(i,s)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b&255;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+h|0;f=(((I(c,f)&65535)>>>0)/255|0)+i|0;e=(((I(e,c)&65535)>>>0)/255|0)+g|0;break a;case 1:b=b+h|0;b=b>>>0>=255?255:b;c=i+f|0;f=c>>>0>=255?255:c;c=e+g|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,h)>>>0)/255|0;f=(I(i,f)>>>0)/255|0;e=(I(e,g)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+h|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(g+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function jx(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,o=0,p=0,q=0,r=0,s=0,t=0;m=Ce-160|0;Ce=m;b=Ah(m+12|0,1,b,c);C[b+120>>2]=d;C[b+132>>2]=8;C[b+36>>2]=0;C[b+8>>2]=b;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+52>>2]=b;C[b+20>>2]=d;A[b+17|0]=D[b+142|0];C[b+12>>2]=8;C[b+72>>2]=0;C[b+76>>2]=0;C[b- -64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=8;l=C[b+124>>2]==1;A[b+16|0]=l;A[b+60|0]=l|D[b+141|0]!=0;l=C[c+80>>2];if(l){n=b+4|0;k=C[c+100>>2];o=C[c+92>>2];q=(C[c+52>>2]&-2)!=4;while(1){a:{b:{f=I(j,20);h=f+o|0;if(!(C[h+4>>2]&d)){break b}C[b+40>>2]=1;C[b+4>>2]=j;e=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[e+80>>2];A[b+24|0]=C[e+76>>2]==(j|0)?D[(f+C[e+92>>2]|0)+15|0]:0;if(!Sg(n)){break b}p=C[n>>2];g=I(p,20);r=C[g+o>>2];s=C[h>>2];i=C[a>>2];h=C[i>>2];t=C[h+76>>2];e=C[h+72>>2];c:{if((C[i+4>>2]&-2)==4){i=e+56|0;e=e+192|0;break c}i=e+60|0;e=e+196|0}e=Fe[C[e>>2]](h,t,s,r,C[i>>2])|0;d:{if(!e){break d}e:{if(!q){if(D[a+4|0]){C[(g+k|0)+12>>2]=e;C[c+36>>2]=C[c+36>>2]|8;break e}f=f+k|0;h=f;i=C[f>>2];f=e>>1;C[h>>2]=i+f;g=g+k|0;e=e-f|0;C[g>>2]=e+C[g>>2];C[g+8>>2]=e+C[g+8>>2];break e}if(D[a+4|0]){C[(g+k|0)+8>>2]=e;C[c+36>>2]=C[c+36>>2]|8;break e}f=f+k|0;h=f;i=C[f+4>>2];f=e>>1;C[h+4>>2]=i+f;g=g+k|0;e=e-f|0;C[g+4>>2]=e+C[g+4>>2];C[g+12>>2]=e+C[g+12>>2]}e=p+1|0;if(e-j>>>0<2){break d}Rf(c,j,e)}j=C[n>>2];break a}j=j+1|0}if(l>>>0>j>>>0){continue}break}}Ce=m+160|0}function Gy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{if((b|0)!=1196445523){f=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;f=F[a+16>>2]<10?205712:C[a+12>>2]}g=D[f+6|0]|D[f+7|0]<<8;if(g){b=f+((g<<8|g>>>8)&65535)|0}else{b=205712}a=65535;b=D[b|0]|D[b+1|0]<<8;e=0;c:{d:{e:{if(!b){break e}i=(b<<8|b>>>8)&65535;f:{if(g){e=1;b=0;f=f+((g<<8|g>>>8)&65535)|0;g=D[f|0]|D[f+1|0]<<8;h=g?f+2|0:205712;h=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))!=(c|0)){break f}a=0;if(d){break d}break c}b=0;e=1;g=D[205715];f=E[102856];h=D[205714];if((((f?g:D[205713])&255)<<16|(f?h:D[205712])<<24|((f?D[205716]:h)&255)<<8|(f?D[205717]:g)&255)==(c|0)){a=0;if(d){break d}break c}f=(f<<8|f>>>8)&65535;g=i>>>0<=1?1:i;g:{while(1){b=b+1|0;if((g|0)!=(b|0)){e=b>>>0>=f>>>0?205712:I(b,6)+205714|0;e=E[e>>1]|E[e+2>>1]<<16;if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))!=(c|0)){continue}break g}break}e=b>>>0>>0;break e}e=b>>>0>>0;a=b;if(d){break d}break c}g=(g<<8|g>>>8)&65535;h=i>>>0<=1?1:i;h:{while(1){b=b+1|0;if((h|0)==(b|0)){break h}e=b>>>0>=g>>>0?205712:(f+I(b,6)|0)+2|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))!=(c|0)){continue}break}e=b>>>0>>0;a=b;if(d){break d}break c}e=b>>>0>>0}if(!d){break c}}C[d>>2]=a}return e}function Yl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=C[a+172>>2];C[a+172>>2]=0;e=C[a>>2]?I(C[a+28>>2],c):c;g=C[a+240>>2];if(C[a+216>>2]!=C[a+204>>2]){h=D[a+232|0]<<2;j=P(H[a+224>>3]*+((e|0)/(h|0)|0));a:{if(K(j)<2147483648){f=~~j;break a}f=-2147483648}h=I(f,h);e=e+h|0}f=C[a+188>>2];if(C[a+84>>2]){e=I(C[a+112>>2],e)}g=g<<2;e=e+g|0;if((e|0)>C[a+192>>2]){f=Sf(f,e+32|0);if(!f){_e(0);return-1}C[a+192>>2]=e;C[a+188>>2]=f}e=f&15;e=(e?16-e|0:0)+f|0;if(!e){return-1}f=i?0:g;i=f+e|0;gf(i,b,c);b:{if(!C[a>>2]){break b}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;C[a+20>>2]=c;C[a+16>>2]=i;b=D[a+40|0]|D[a+41|0]<<8|(D[a+42|0]<<16|D[a+43|0]<<24);if(!b){break b}A[a+80|0]=0;A[a+81|0]=0;A[a+82|0]=0;A[a+83|0]=0;Fe[b|0](a,D[a+4|0]|D[a+5|0]<<8);c=C[a+24>>2]}c:{d:{if(C[a+216>>2]==C[a+204>>2]){f=e;break d}if(f){gf(e,C[a+244>>2],f);c=c+f|0}b=c-g|0;gf(C[a+244>>2],b+e|0,g);f=c+e|0;g=(c|0)<=(g|0);c=0;if(g){break c}c=Fe[C[a+252>>2]](a,e,b,f,h)|0}b=a+84|0;if(!C[b>>2]|(c|0)<=0){break c}A[a+108|0]=c;A[a+109|0]=c>>>8;A[a+110|0]=c>>>16;A[a+111|0]=c>>>24;C[a+104>>2]=c;C[a+100>>2]=f;e=D[a+124|0]|D[a+125|0]<<8|(D[a+126|0]<<16|D[a+127|0]<<24);if(!e){break c}A[a+164|0]=0;A[a+165|0]=0;A[a+166|0]=0;A[a+167|0]=0;Fe[e|0](b,D[a+88|0]|D[a+89|0]<<8);c=C[a+108>>2]}if(d){b=C[d>>2];c=(b|0)>(c|0)?c:b;C[d>>2]=b-c}if(!c){return 0}return Un(C[a+168>>2],f,c)}function $w(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=C[(c?8:4)+b>>2];e=I(c,1572)+a|0;d=e+1608|0;i=C[(c?16:12)+b>>2];if((g|0)==C[d>>2]&(i|0)==C[e+1612>>2]){break a}C[d>>2]=g;C[e+1612>>2]=i;b:{c:{d:{f=C[a+1832>>2];if(!f){break d}d=0;while(1){if(!(D[(I(d,28)+a|0)+1860|0]&8)){d=d+1|0;if((f|0)!=(d|0)){continue}break d}break}b=Te(C[(I(d,28)+a|0)+1848>>2],C[b+8>>2]);d=C[C[a+36>>2]+12>>2];if(d){f=d;d=E[C[C[a+4>>2]+88>>2]+12>>1];d=d>>>0<=5?40:f>>>0>=d>>>0?52:40}else{d=40}if((c|0)!=1){break d}d=b+d&-64;if((d|0)==(b|0)){break d}g=of(g,d,b);C[e+44>>2]=g;C[a+1620>>2]=i;break c}C[e+44>>2]=g;C[(I(c,1572)+a|0)+48>>2]=i;if(c){break c}C[a+8>>2]=g;b=a+16|0;break b}C[a+12>>2]=g;b=a+20|0}C[b>>2]=i;e=I(c,1572)+a|0;if(C[e+52>>2]){h=e+56|0;b=0;while(1){d=h+I(b,12)|0;f=Te(C[d>>2],g);C[d+8>>2]=f;C[d+4>>2]=f;b=b+1|0;if(b>>>0>2]){continue}break}}j=e,k=(Te(C[e+252>>2],g)|0)<40,A[j+256|0]=k;if(!C[a+1832>>2]|(c|0)!=1){break a}b=0;while(1){c=I(b,28)+a|0;e=c+1836|0;d=Te(C[e>>2],g)+i|0;C[c+1844>>2]=d;C[c+1840>>2]=d;f=c+1856|0;d=c+1848|0;h=Te(C[d>>2],g)+i|0;C[f>>2]=h;C[c+1852>>2]=h;c=c+1860|0;C[c>>2]=C[c>>2]&-2;d=Te(C[e>>2]-C[d>>2]|0,g);if(d+48>>>0<=96){h=e;e=C[e+4>>2]+32&-64;C[h+8>>2]=e;h=f;f=d>>31;f=(f^d)-f|0;f=f>>>0>=32?f>>>0<48?32:64:0;C[h>>2]=e+((d|0)<0?f:0-f|0);C[c>>2]=C[c>>2]|1}b=b+1|0;if(b>>>0>2]){continue}break}}}function Ju(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=D[a+9|0];if(c>>>0<8){break a}d=D[a+8|0];if(d&2){break a}e=C[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}b=(b+e|0)-1|0;c=b+(e<<1)|0;if((e|0)!=1){g=e&-2;d=0;while(1){A[c|0]=D[b|0];A[c-1|0]=D[b|0];A[c-2|0]=D[b|0];f=b-1|0;A[c-3|0]=D[f|0];A[c-4|0]=D[f|0];A[c-5|0]=D[f|0];c=c-6|0;b=b-2|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(e&1)){break b}A[c|0]=D[b|0];A[c-1|0]=D[b|0];A[c-2|0]=D[b|0];break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){A[c|0]=D[b|0];f=b-1|0;A[c-1|0]=D[f|0];A[c-2|0]=D[b|0];A[c-3|0]=D[f|0];A[c-4|0]=D[b|0];A[c-5|0]=D[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){A[c|0]=D[b|0];f=b-1|0;A[c-1|0]=D[f|0];A[c-2|0]=D[f|0];A[c-3|0]=D[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){A[c|0]=D[b|0];A[c-1|0]=D[b-1|0];f=b-2|0;A[c-2|0]=D[f|0];g=b-3|0;A[c-3|0]=D[g|0];A[c-4|0]=D[f|0];A[c-5|0]=D[g|0];A[c-6|0]=D[f|0];A[c-7|0]=D[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=D[a+10|0]+2|0;A[a+10|0]=b;A[a+8|0]=D[a+8|0]|2;b=I(b,D[a+9|0]);A[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=I(b>>>3|0,e);break d}b=I(b,e)+7>>>3|0}C[a+4>>2]=b}}function HF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+36>>2];h=C[a+16>>2];e=C[a+24>>2];i=e&7;j=(e+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];b:while(1){f=f-1|0;e=j;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=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=1;continue;case 1:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=2;continue;case 2:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=3;continue;case 3:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=4;continue;case 4:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=5;continue;case 5:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=6;continue;case 6:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];b=e-1|0;a=a+3|0;c=c+1|0;f:{if((e|0)>1){e=b;break f}a=a+g|0;c=c+h|0;if(f){continue b}break a}b=0;continue}}}}function yD(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b>>>24|0;j=b&255;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){l=(I(e,l)>>>0)/255|0;k=(I(e,k)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+l|0;c=((I(c,m)>>>0)/255|0)+k|0;d=((I(d,m)>>>0)/255|0)+j|0;break a;case 1:b=b+l|0;b=b>>>0>=255?255:b;c=c+k|0;c=c>>>0>=255?255:c;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,l)&65535)>>>0)/255|0;c=((I(c,k)&65535)>>>0)/255|0;d=((I(d,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+l|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function gE(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b>>>24|0;j=b&255;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){k=(I(e,k)>>>0)/255|0;l=(I(e,l)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+j|0;c=((I(c,m)>>>0)/255|0)+k|0;d=((I(d,m)>>>0)/255|0)+l|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=c+k|0;c=c>>>0>=255?255:c;d=d+l|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,j)&65535)>>>0)/255|0;c=((I(c,k)&65535)>>>0)/255|0;d=((I(d,l)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+l|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function fD(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b&255;j=b>>>24|0;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){l=(I(e,l)>>>0)/255|0;k=(I(e,k)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+j|0;c=((I(c,m)>>>0)/255|0)+l|0;d=((I(d,m)>>>0)/255|0)+k|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=c+l|0;c=c>>>0>=255?255:c;d=d+k|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,j)&65535)>>>0)/255|0;c=((I(c,l)&65535)>>>0)/255|0;d=((I(d,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+l|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+k|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function OD(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b&255;j=b>>>24|0;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){k=(I(e,k)>>>0)/255|0;l=(I(e,l)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+k|0;c=((I(c,m)>>>0)/255|0)+l|0;d=((I(d,m)>>>0)/255|0)+j|0;break a;case 1:b=b+k|0;b=b>>>0>=255?255:b;c=c+l|0;c=c>>>0>=255?255:c;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,k)&65535)>>>0)/255|0;c=((I(c,l)&65535)>>>0)/255|0;d=((I(d,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+l|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function xE(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;g=(I(g,s)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:c=((I(c,j)>>>0)/255|0)+i|0;d=((I(d,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+g|0;break a;case 1:c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;b=b+g|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;b=(I(b,g)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(i+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[f>>2]=d<<8|b|c<<16;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function QE(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,s)>>>0)/255|0;g=(I(g,q)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:b=((I(b,j)>>>0)/255|0)+g|0;d=((I(d,j)>>>0)/255|0)+h|0;c=((I(c,j)>>>0)/255|0)+i|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;c=c+i|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,g)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(i+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[f>>2]=d<<8|c<<16|b;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function ME(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,s)>>>0)/255|0;g=(I(g,q)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:c=((I(c,j)>>>0)/255|0)+g|0;d=((I(d,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+i|0;break a;case 1:c=c+g|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,g)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(g+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[f>>2]=d<<8|b|c<<16;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function BE(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;g=(I(g,s)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:b=((I(b,j)>>>0)/255|0)+i|0;d=((I(d,j)>>>0)/255|0)+h|0;c=((I(c,j)>>>0)/255|0)+g|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;c=c+g|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;c=(I(c,g)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(g+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[f>>2]=d<<8|c<<16|b;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function Wq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Ce-16|0;Ce=e;C[e+4>>2]=0;a=C[b+72>>2];o=Fe[C[a+156>>2]](b,C[b+76>>2],32,e+4|0,C[a+20>>2])|0;fr(c);j=C[c+52>>2];k=C[c+80>>2];if(k){l=C[c+100>>2];m=C[c+92>>2];p=j&-2;while(1){a:{b:{if(!o){break b}a=I(h,20);d=a+m|0;if(!Vq(C[d>>2])){break b}C[d>>2]=C[e+4>>2];a=a+l|0;C[a>>2]=0;C[a+4>>2]=0;break a}a=I(h,20);f=a+m|0;d=C[f>>2];C[f>>2]=0;i=d;d=C[b+72>>2];Fe[C[d+156>>2]](b,C[b+76>>2],i,f,C[d+20>>2])|0;q=C[f>>2];a=a+l|0;C[a>>2]=0;C[a+4>>2]=0;r=C[b+76>>2];g=C[b+72>>2];n=(p|0)!=4;c:{if(!n){d=g+32|0;g=g+168|0;i=a;break c}d=g+36|0;g=g+172|0;i=a+4|0}s=i,t=Fe[C[g>>2]](b,r,q,C[d>>2])|0,C[s>>2]=t;d=C[f>>2];d:{if(!n){Aj(b,d,e+12|0,e+8|0);break d}Jz(b,d,e+12|0,e+8|0)}C[a+8>>2]=C[a+8>>2]-C[e+12>>2];C[a+12>>2]=C[a+12>>2]-C[e+8>>2]}h=h+1|0;if((k|0)!=(h|0)){continue}break}}if((j&-3)==5){cr(c)}d=C[c+80>>2];e:{if(!d){break e}a=C[c+92>>2];c=0;b=0;if(d>>>0>=4){g=d&-4;h=0;while(1){f=a+I(b,20)|0;C[f+4>>2]=C[f+4>>2]&-2;f=a+I(b|1,20)|0;C[f+4>>2]=C[f+4>>2]&-2;f=a+I(b|2,20)|0;C[f+4>>2]=C[f+4>>2]&-2;f=a+I(b|3,20)|0;C[f+4>>2]=C[f+4>>2]&-2;b=b+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}d=d&3;if(!d){break e}while(1){g=a+I(b,20)|0;C[g+4>>2]=C[g+4>>2]&-2;b=b+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Ce=e+16|0;return 1}function Dz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;a:{b:{d=C[a+24>>2];c:{if(d){d=d-1|0;C[a+24>>2]=d;if(d>>>0>=F[a+32>>2]){d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;l(0,f|0);l(1,d|0);i=+n();break c}i=H[C[a+36>>2]+(d<<3)>>3];break c}A[a+20|0]=1;d=C[51429];f=C[51428];C[105676]=f;C[105677]=d;l(0,f|0);l(1,d|0);i=+n()}d:{if(K(i)<2147483648){d=~~i;break d}d=-2147483648}f=d+C[b>>2]|0;e:{if((f|0)<0){break e}d=C[b+4>>2];if(!d){break e}d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=f>>>0){break e}e=C[a+92>>2];if(e>>>0<10){break b}}A[a+40|0]=1;break a}d=C[a+4>>2];C[a+44>>2]=C[a>>2];C[a+48>>2]=d;A[a+60|0]=D[a+16|0];d=C[a+12>>2];C[a+52>>2]=C[a+8>>2];C[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){C[a+92>>2]=e+1;h=C[d+4>>2];e=C[a+104>>2]+I(e,28)|0;C[e>>2]=C[d>>2];C[e+4>>2]=h;C[e+24>>2]=C[d+24>>2];h=C[d+20>>2];C[e+16>>2]=C[d+16>>2];C[e+20>>2]=h;h=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=h;break f}A[a+88|0]=1}g:{h:{b=C[b+4>>2];if(b){e=D[b|0]|D[b+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>f>>>0){break h}}C[g+8>>2]=C[51430];b=C[51429];C[g>>2]=C[51428];C[g+4>>2]=b;break g}dn(g,b,f)}b=C[g+4>>2];C[d>>2]=C[g>>2];C[d+4>>2]=b;C[d+8>>2]=C[g+8>>2];C[a+68>>2]=f;C[a- -64>>2]=c;A[a+60|0]=0;C[a+56>>2]=0;A[a+16|0]=D[d+16|0];b=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=b;b=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=b}Ce=g+16|0}function ek(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=C[a+88>>2];if(A[a+8|0]&1){a:{b:{c:{d:{e:{switch(C[b>>2]){case 0:g=E[a+68>>1];e=g;break c;case 2:f=C[a+60>>2]-C[a+52>>2]|0;e=C[a- -64>>2]-C[a+56>>2]|0;break d;case 3:f=B[a+76>>1];e=B[a+70>>1]-B[a+72>>1]|0;break d;case 4:d=C[b+4>>2];C[c+16>>2]=d;e=C[b+8>>2];C[c+20>>2]=e;if(!d){C[c+16>>2]=e;d=0;break b}if(e){d=0;break b}C[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=B[a+70>>1]-B[a+72>>1]|0;e=f}d=e;d=d>>31;e=(e^d)-d|0;d=f>>31;g=(d^f)-d|0}h=C[b+4>>2];f=h;d=C[b+12>>2];if(d){f=(I(d,h)+36|0)/72|0}d=C[b+8>>2];i=C[b+16>>2];if(i){d=(I(d,i)+36|0)/72|0}if(h){h=Ze(f,g);C[c+16>>2]=h;if(C[b+8>>2]){g=Ze(d,e);C[c+20>>2]=g;e=C[b>>2];if((e|0)!=3){break a}e=C[c+16>>2];if((e|0)<(g|0)){C[c+20>>2]=e;break b}C[c+16>>2]=g;break b}C[c+20>>2]=h;d=of(f,e,g);break b}f=Ze(d,e);C[c+16>>2]=f;C[c+20>>2]=f;f=of(d,g,e)}e=C[b>>2]}if(e){f=Te(E[a+68>>1],C[c+16>>2]);d=Te(E[a+68>>1],C[c+20>>2])}B[c+14>>1]=d+32>>>6;B[c+12>>1]=f+32>>>6;j=c,k=Te(B[a+70>>1],C[c+20>>2])+63&-64,C[j+24>>2]=k;j=c,k=Te(B[a+72>>1],C[c+20>>2])&-64,C[j+28>>2]=k;j=c,k=Te(B[a+74>>1],C[c+20>>2])+32&-64,C[j+32>>2]=k;j=c,k=Te(B[a+76>>1],C[c+16>>2])+32&-64,C[j+36>>2]=k;return}C[c+12>>2]=0;C[c+16>>2]=0;C[c+36>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;C[c+16>>2]=65536;C[c+20>>2]=65536}function st(a,b,c,d,e,f,g,h,i){var j=J(0),k=J(0),l=0,m=J(0),n=J(0),o=J(0),p=0,q=0,r=0,s=J(0),t=0,u=0,v=0,w=0,x=0,y=0,z=J(0);m=J(c|0);n=J(b|0);k=J(m/n);l=0;a:{if((b|0)==(c|0)){break a}l=512;if((b|0)<=(c|0)){break a}j=J(P(J(J(b<<9)/m)));if(J(K(j))0){m=J(J(1)/m);while(1){o=J(1);j=J(s*n);c:{if(J(K(j))>31&l)|0,a)+i<<2)>>2];c=g<<2;j=J(J(z*J(J(o*G[c+114480>>2])+G[c+104224>>2]))+j);b=b+1|0;g=(b<<9)+u|0;if((g|0)<2561){continue}break}}b=0;c=v;if((c|0)<2561){while(1){x=b+w|0;g=(x|0)<(q|0);c=c<<2;j=J(J(G[(g?f:e)+(I(x-(g?0:q)|0,a)+i<<2)>>2]*J(J(k*G[c+114480>>2])+G[c+104224>>2]))+j);b=b+1|0;c=(b<<9)+v|0;if((c|0)<2561){continue}break}}G[h>>2]=j;h=h+4|0;i=i+1|0;if((i|0)!=(a|0)){continue}break}}s=J(m+s);y=y+1|0;if((y|0)!=(r|0)){continue}break}}return I(p,r)}function Rs(){var a=0,b=0,c=0,d=0,e=0;a:{if(!C[105556]){break a}C[105582]=0;li(0);b=C[105556];if(!b){break a}a=C[105583];if(!a){break a}C[a+48>>2]=C[a+48>>2]&-16385;C[105583]=0;if((Fe[b|0](0)|0)>=0){break a}C[a+48>>2]=C[a+48>>2]|16384;C[105583]=a}Kn(0);a=C[105591];C[105591]=1;b:{if((a|0)==1){break b}a=C[105550];b=C[(C[105559]?422360:422356)>>2];if(!(C[105569]|!b)){if(!a){break b}Fe[a|0](b)|0;break b}if(!a){break b}Fe[a|0](0)|0}d=C[105588];if(d){while(1){c=d;d=C[c>>2];b=C[105589];c:{if((c|0)==(b|0)){break c}d:{if(C[105590]!=(c|0)){break d}e:{if(b){C[105590]=b;break e}b=C[105559]?c:0}a=C[105550];if(!(C[105569]|(!b|!C[105591]))){if(!a){break d}Fe[a|0](b)|0;break d}if(!a){break d}Fe[a|0](0)|0}a=0;b=422352;while(1){e=a;b=C[b>>2];if(!b){break c}a=b;if((c|0)!=(a|0)){continue}break}C[(e?e:422352)>>2]=C[c>>2];a=C[105552];if(!a){break c}Fe[a|0](c)}if(d){continue}break}}C[105590]=0;C[105588]=0;a=C[105589];f:{if(!a){break f}b=C[105552];if(!b){break f}Fe[b|0](a);C[105589]=0}a=C[105585];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[105585]=0}C[105584]=0;a=C[105587];if(a){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[105587]=0}C[105586]=0;Zg(26907,257,422192);Zg(23844,258,422192);Zg(27212,259,422192);Zg(27241,260,422192);Zg(23924,261,422192);Zg(23901,262,422192);Zg(26861,263,422192);Zg(25189,264,422192)}function $p(a,b,c,d,e,f,g){var 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;q=Ce-16|0;Ce=q;v=a+24|0;w=!d|!e;t=-1;u=-1;r=-1;s=-1;n=-1;o=b;l=c;a:{while(1){j=C[a>>2];if(!j){h=-129;p=-1;break a}h=(l|0)<=0&o>>>0<=65536|(l|0)<0;i=h?65536:o;o=i-65536|0;k=o;m=(h?0:l)-(i>>>0<65536)|0;l=m;if(C[a+8>>2]!=(k|0)|(l|0)!=C[a+12>>2]){h=-128;p=-1;i=C[a+708>>2];if(!i){break a}if((Fe[i|0](j,o,l,0)|0)==-1){break a}C[a+8>>2]=o;C[a+12>>2]=l;if(C[v+4>>2]>=0){i=v;C[i+8>>2]=0;C[i+12>>2]=0;C[i+24>>2]=0;C[i+16>>2]=0;C[i+20>>2]=0}m=C[a+12>>2];k=C[a+8>>2]}i=-1;j=-1;b:{if((c|0)<=(m|0)&b>>>0<=k>>>0|(c|0)<(m|0)){break b}while(1){x=i;y=j;h=-128;p=-1;i=Mg(a,q,b-k|0,c-((b>>>0>>0)+m|0)|0);j=Ee;if((i|0)==-128&(j|0)==-1){break a}if((j|0)<0){i=x;j=y;break b}h=C[q>>2];t=D[h+6|0]|D[h+7|0]<<8|(D[h+8|0]<<16|D[h+9|0]<<24);u=D[h+10|0]|D[h+11|0]<<8|(D[h+12|0]<<16|D[h+13|0]<<24);r=D[h+14|0]|D[h+15|0]<<8|(D[h+16|0]<<16|D[h+17|0]<<24);if((r|0)==C[f>>2]){C[g>>2]=t;C[g+4>>2]=u;n=j;s=i}k=e;h=d;c:{if(w){s=-1;n=-1;break c}while(1){if(C[h>>2]==(r|0)){break c}h=h+4|0;k=k-1|0;if(k){continue}break}s=-1;n=-1}k=C[a+8>>2];m=C[a+12>>2];h=m;if(b>>>0>k>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){continue}break}}if((i&j)==-1){continue}break}h=s;p=n;if((n|0)>0|(n|0)>=0){break a}C[f>>2]=r;C[g>>2]=t;C[g+4>>2]=u;h=i;p=j}Ce=q+16|0;Ee=p;return h}function zy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=c;c=-1;a:{b:{if((b|0)!=1196445523){g=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;g=F[a+16>>2]<10?205712:C[a+12>>2]}a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>=65537){a=D[g+10|0]|D[g+11|0]<<8|(D[g+12|0]<<16|D[g+13|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);g=a?a+g|0:205712}else{g=205712}a=g;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c:{if(!l){break c}a=0;while(1){b=(a<<3)+g|0;b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);i=b?b+g|0:205712;b=D[i|0]|D[i+1|0]<<8;if(!b){c=a;break c}j=(b<<8|b>>>8)&65535;o=j>>>0<=1?1:j;m=0;b=0;while(1){d:{f=(b<<2)+i|0;f=D[f+2|0]|D[f+3|0]<<8|(D[f+4|0]<<16|D[f+5|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);h=f?f+i|0:205712;if((D[h|0]|D[h+1|0]<<8)!=256){break d}k=0;f=D[h+2|0]|D[h+3|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>>0){k=C[(f<<2)+n>>2]}f=D[h+4|0]|D[h+5|0]<<8;if((f<<8|f>>>8)<<16>>16>(k|0)){break d}f=D[h+6|0]|D[h+7|0]<<8;if((f<<8|f>>>8)<<16>>16<(k|0)){break d}b=b+1|0;m=j>>>0<=b>>>0;if((b|0)!=(o|0)){continue}}break}if(m){c=a;break c}a=a+1|0;if((l|0)!=(a|0)){continue}break}}C[e>>2]=c}function rE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];d=C[a+52>>2];k=d&2?D[a+63|0]:255;t=(d&48)!=0&(k|0)!=255;u=d&1;g=k^255;v=k+g|0;w=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){c=C[o>>2];b=C[d>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;if(u){i=(I(i,r)>>>0)/255|0;h=(I(h,s)>>>0)/255|0;j=(I(j,q)>>>0)/255|0}if(t){i=(I(i,k)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0}p=p-1|0;l=c>>>24|0;b=c&255;e=c>>>8&255;f=c>>>16&255;a:{b:{switch(w|0){case 0:l=((I(g,l)>>>0)/255|0)+k|0;b=((I(b,g)>>>0)/255|0)+j|0;e=((I(e,g)>>>0)/255|0)+i|0;f=((I(f,g)>>>0)/255|0)+h|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=e+i|0;e=c>>>0>=255?255:c;c=f+h|0;f=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;e=(I(e,i)>>>0)/255|0;f=(I(f,h)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(l,v)>>>0)/255|0;l=c>>>0>=255?255:c;b=(I(j+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+g|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;c=(I(h+g|0,f)>>>0)/255|0;f=c>>>0>=255?255:c}C[o>>2]=e<<8|f<<16|b|l<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function GE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];d=C[a+52>>2];k=d&2?D[a+63|0]:255;t=(d&48)!=0&(k|0)!=255;u=d&1;g=k^255;v=k+g|0;w=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){c=C[o>>2];b=C[d>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;if(u){h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0;j=(I(j,s)>>>0)/255|0}if(t){h=(I(h,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0}p=p-1|0;l=c>>>24|0;b=c&255;e=c>>>8&255;f=c>>>16&255;a:{b:{switch(w|0){case 0:l=((I(g,l)>>>0)/255|0)+k|0;b=((I(b,g)>>>0)/255|0)+h|0;e=((I(e,g)>>>0)/255|0)+i|0;f=((I(f,g)>>>0)/255|0)+j|0;break a;case 1:b=b+h|0;b=b>>>0>=255?255:b;c=e+i|0;e=c>>>0>=255?255:c;c=j+f|0;f=c>>>0>=255?255:c;break a;case 3:b=(I(b,h)>>>0)/255|0;e=(I(e,i)>>>0)/255|0;f=(I(j,f)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(l,v)>>>0)/255|0;l=c>>>0>=255?255:c;b=(I(h+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+g|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;c=(I(j+g|0,f)>>>0)/255|0;f=c>>>0>=255?255:c}C[o>>2]=e<<8|f<<16|b|l<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function To(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[d+12>>2]=C[a>>2];c=C[a+8>>2];ug(d+12|0,c);b=C[d+12>>2];a:{if(c>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{f=D[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 c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}C[d+12>>2]=b+1;break b}if((f|0)!=123){break c}e=Dv(d+12|0,c);break a}e=So(d+12|0,c);break a}if(!(D[b+1|0]!=60|b+1>>>0>=c>>>0)){C[d+12>>2]=b+2;break b}e=Cv(d+12|0,c);break a}f=b+1|0;C[d+12>>2]=f;e=3;if(D[f|0]!=62|c>>>0<=f>>>0){break a}C[d+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=c>>>0){break j}while(1){k:{switch(D[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 j;default:break k}}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}C[d+12>>2]=b}e=0}b=c;c=C[d+12>>2];if(b>>>0>c>>>0){e=(c|0)==C[a>>2]?3:e}C[a>>2]=c;C[a+12>>2]=e;Ce=d+16|0}function pD(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;d=(((I(e,d)&65535)>>>0)/255|0)+h|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function nE(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b&255;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+h|0;d=(((I(e,d)&65535)>>>0)/255|0)+i|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+h|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+h|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function jE(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b&255;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+h|0;c=(((I(c,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;b=b+h|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(e,d)>>>0)/255|0;b=(I(b,h)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+h|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function jD(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;c=(((I(c,e)&65535)>>>0)/255|0)+h|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(e,d)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function ZD(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b>>>24|0;e=b>>>8&255;i=b>>>16&255;if(u){e=(I(e,p)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;d=(((I(d,e)&65535)>>>0)/255|0)+h|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function SD(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b>>>24|0;e=b>>>8&255;i=b>>>16&255;if(u){e=(I(e,p)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;c=(((I(c,e)&65535)>>>0)/255|0)+h|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(d,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function GD(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b&255;i=b>>>8&255;e=b>>>16&255;if(u){i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;d=(((I(d,e)&65535)>>>0)/255|0)+h|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function CD(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b&255;i=b>>>8&255;e=b>>>16&255;if(u){i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;c=(((I(c,e)&65535)>>>0)/255|0)+h|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(d,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function Uh(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;g=Ce-48|0;Ce=g;a:{if(!(c?a:0)){C[g>>2]=3296;b=Qe(19745,g);break a}if(C[a+28>>2]|C[c+28>>2]){b=Qe(4278,0);break a}if(!d){C[g+32>>2]=0;C[g+36>>2]=0;C[g+40>>2]=C[c+8>>2];C[g+44>>2]=C[c+12>>2];d=g+32|0}b:{if(b){i=C[b+8>>2];j=C[b>>2];if((j|0)<0){C[d>>2]=C[d>>2]-j;i=i+j|0;j=0}f=C[a+8>>2]-j|0;h=(f|0)<(i|0);e=C[b+12>>2];k=C[b+4>>2];if((k|0)<0){C[d+4>>2]=C[d+4>>2]-k;e=e+k|0;k=0}b=h?f:i;f=C[a+12>>2]-k|0;i=(e|0)>(f|0)?f:e;break b}b=C[a+8>>2];i=C[a+12>>2]}e=C[c+36>>2];h=C[d>>2];f=e-h|0;c:{if((f|0)<=0){f=e;e=h;break c}C[d>>2]=e;j=f+j|0;b=b-f|0;f=C[c+36>>2]}e=b+e-(C[c+44>>2]+f)|0;m=(e|0)>0?e:0;e=C[c+40>>2];h=C[d+4>>2];f=e-h|0;d:{if((f|0)<=0){f=e;e=h;break d}C[d+4>>2]=e;k=f+k|0;i=i-f|0;f=C[c+40>>2]}n=C[c+48>>2];h=C[a+52>>2];l=C[h+68>>2];if(l&512){C[h+68>>2]=l&-513;ag(h)}e:{b=b-m|0;if((b|0)<=0){break e}e=e+i-(f+n)|0;e=i-((e|0)>0?e:0)|0;if((e|0)<=0){break e}C[g+20>>2]=k;C[g+16>>2]=j;C[d+8>>2]=b;C[g+24>>2]=b;C[d+12>>2]=e;C[g+28>>2]=e;b=C[a+52>>2];f:{g:{if(C[b>>2]!=(c|0)){break g}e=C[C[c+4>>2]+4>>2];if(C[b+80>>2]!=C[e+8>>2]?e:0){break g}e=C[C[a+4>>2]+4>>2];if(!e|C[b+84>>2]==C[e+8>>2]){break f}}b=-1;if((Hj(a,c)|0)<0){break a}b=C[a+52>>2]}b=Fe[C[b+8>>2]](a,g+16|0,c,d)|0;break a}C[d+8>>2]=0;C[d+12>>2]=0;b=0}Ce=g+48|0;return b}function HM(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;i=-1;g=C[a+16>>2];a=D[g+6|0]|D[g+7|0]<<8|(D[g+8|0]<<16|D[g+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+I(e,11)|0;h=d-3|0;h=D[h+1|0]<<8|D[h|0]<<16|D[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}if(!d){break a}e=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d:{a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);a=a<<24|(a&65280)<<8|(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;j=h+(a<<2)|0;d=j-3|0;d=D[d+1|0]<<8|D[d|0]<<16|D[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+D[j|0]>>>0>>0){continue}break}break a}a=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);a=a<<24|(a&65280)<<8|(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+I(c,5)|0;d=e-3|0;d=D[d+1|0]<<8|D[d|0]<<16|D[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(D[e+1|0]|D[e|0]<<8){break a}}i=-1}return i|0}function JM(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,j=0;a:{i=C[a+16>>2];a=D[i+6|0]|D[i+7|0]<<8|(D[i+8|0]<<16|D[i+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+I(f,11)|0;h=e-3|0;h=D[h+1|0]<<8|D[h|0]<<16|D[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}if(!e){break b}f=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);e:{a=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);a=a<<24|(a&65280)<<8|(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;j=h+(a<<2)|0;e=j-3|0;e=D[e+1|0]<<8|D[e|0]<<16|D[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+D[j|0]>>>0>>0){continue}break}return Fe[C[C[b+12>>2]+12>>2]](b,c)|0}a=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+I(b,5)|0;f=d-3|0;f=D[f+1|0]<<8|D[f|0]<<16|D[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 D[d+1|0]|D[d|0]<<8}function oq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}h=C[b+12>>2]-4|0;C[b+12>>2]=h;if((h|0)<=0){break a}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break a}if(!e){return 1}f=a+4|0;if(f>>>0>d>>>0){break a}f=d-f|0;d=e<<2;if(f>>>0>>0){break a}d=h-d|0;C[b+12>>2]=d;if((d|0)<=0){break a}g=1;d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);l=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!l){break a}h=0;while(1){f=C[c>>2];g=0;d=((h<<2)+a|0)+4|0;i=C[b+4>>2];b:{if(d>>>0>>0){break b}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break b}j=C[b+12>>2];k=j-4|0;C[b+12>>2]=k;if((k|0)<=0){break b}k=A[d|0];if((k|0)<0){break b}g=D[d+3|0]|(D[d+1|0]<<16|(k&255)<<24|D[d+2|0]<<8);if(g){f=f+g|0;c:{if(f>>>0>>0|e>>>0>>0|e-f>>>0<4){break c}i=j-8|0;C[b+12>>2]=i;if((i|0)<=0){break c}j=C[b+36>>2]+1|0;if(j>>>0>1073741822){break c}g=1;if(!j){break b}f=f+4|0;if(f>>>0>e>>>0){break c}f=e-f|0;e=j<<2;if(f>>>0>>0){break c}e=i-e|0;C[b+12>>2]=e;if((e|0)>0){break b}}g=0;e=C[b+28>>2];if(e>>>0>31){break b}C[b+28>>2]=e+1;if(!D[b+24|0]){break b}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}g=1}if(!g){break a}h=h+1|0;if((l|0)!=(h|0)){continue}break}}return g}function ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ce-16|0;Ce=d;j=C[a+48>>2];a:{if(!j){b=Sv(a,b);break a}k=a- -64|0;g=k+(b<<5)|0;f=I(b,-11796480)+5898240|0;i=C[a+60>>2];b:{if((j|0)==1){break b}e=gg(C[a>>2],C[a+4>>2]);c:{if((e|0)==11796480){e=f;h=C[a>>2];break c}e=(e|0)/2|0;h=C[a>>2]+(f+e|0)|0}l=ak(e);d:{m=Te(C[a+56>>2],l);if((m|0)>65535){break d}if((j|0)!=2){break b}b=e>>31;if((b^e)-b>>>0<=57){break d}Vf(d+8|0,Te(i,C[a+56>>2]),h);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];e=$j(e);b=e>>31;e=of(i,65536-m|0,(b^e)-b|0);Vf(d,e,f+h|0);C[d>>2]=C[d>>2]+C[d+8>>2];C[d+4>>2]=C[d+4>>2]+C[d+12>>2];b=ig(g,d,0);if(b){break a}Vf(d,e,h-f|0);C[d>>2]=C[d>>2]+C[d+8>>2];C[d+4>>2]=C[d+4>>2]+C[d+12>>2];b=ig(g,d,0);if(b){break a}b=0;if(c){break a}Vf(d,i,C[a+4>>2]+f|0);C[d>>2]=C[d>>2]+C[a+8>>2];C[d+4>>2]=C[d+4>>2]+C[a+12>>2];b=ig(g,d,0);break a}b=d+8|0;Vf(b,Ze(C[a+60>>2],l),h);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];b=ig(g,b,0);if(b){break a}b=0;if(c){break a}b=d+8|0;Vf(b,C[a+60>>2],C[a+4>>2]+f|0);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];b=ig(g,b,0);break a}c=d+8|0;Vf(c,i,C[a+4>>2]+f|0);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];A[((b<<5)+k|0)+16|0]=0;b=ig(g,c,0)}Ce=d+16|0;return b}function Sg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a>>2];a:{if(F[a+40>>2]<=b+C[a+36>>2]>>>0){break a}while(1){b=b+1|0;C[a>>2]=b;b:{c=C[a+4>>2];e=C[C[c+100>>2]+92>>2]+I(b,20)|0;b=E[e+12>>1];d=C[a+8>>2];if(b&d&14){break b}c:{if(!(b&8)){break c}if(d&16){b=C[c+108>>2];c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break b}c=D[b+12|0]|D[b+13|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=205712}if((D[b|0]|D[b+1|0]<<8)!=256){break b}c=b;d=d>>>16|0;f=(b+(d<<2)|0)+4|0;b=D[b+2|0]|D[b+3|0]<<8;b=d>>>0>=((b<<8|b>>>8)&65535)>>>0?205712:f;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((zf(b?c+b|0:205712,C[e>>2])|0)==-1){break b}b=E[e+12>>1];break c}d=d&65280;if(!d){break c}if((d|0)!=(b&65280)){break b}}d=0;c=E[e+16>>1];if(!(b&16|(c&96)!=32|!D[a+12|0]&(c&543)==513)){d=(c&287)!=257?2:D[a+13|0]<<1}d:{e:{f:{if(!(C[a+16>>2]&C[e+4>>2])){break f}b=C[a+32>>2];c=D[a+20|0];if((c|0)!=D[e+15|0]?c:0){break f}c=C[a+24>>2];if(!c){break e}if(Fe[c|0](C[e>>2],b,C[a+28>>2])|0){b=C[a+32>>2];break d}if(d){break b}return 0}if(d){break b}return 0}if(d){break b}}C[a+36>>2]=C[a+36>>2]-1;g=1;if(!b){break a}C[a+32>>2]=b+2;break a}b=C[a>>2];if(F[a+40>>2]>b+C[a+36>>2]>>>0){continue}break}}return g}function LS(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;f=Ce-16|0;Ce=f;i=1;a=tz(b+24|0);g=C[a+4>>2];a:{b:{if((g|0)!=131072){if((g|0)!=65536|c>>>0>257){break a}a=c<<2;g=C[a+165360>>2];a=C[a+165364>>2]+(g^-1)|0;g=g+163504|0;break b}g=C[a+8>>2];j=D[g|0]|D[g+1|0]<<8;if(((j<<8|j>>>8)&65535)>>>0<=c>>>0){break a}g=g+(c<<1)|0;g=D[g+2|0]|D[g+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0<=257){a=g<<2;g=C[a+165360>>2];a=C[a+165364>>2]+(g^-1)|0;g=g+163504|0;break b}g=g-258|0;if(g>>>0>=F[a+16>>2]){break a}a=C[a+24>>2]+C[C[a+20>>2]+(g<<2)>>2]|0;g=a+1|0;a=D[a|0]}h=(a|0)!=0;if(!e|!a){break a}h=g;g=e-1|0;a=a>>>0>g>>>0?g:a;k=dm(d,h,a)+a|0,l=0,A[k|0]=l;h=1}c:{if(h){break c}a=C[b+56>>2];d:{if(a){break d}while(1){g=C[b>>2];if(!g){a=205712;break d}a=df(1,232);if(!a){a=205712;C[b+56>>2]=205712;break d}vq(a,g);if(!C[b+56>>2]){C[b+56>>2]=a;break d}Re(C[a+228>>2]);C[a+228>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;ng(a);Re(a);a=C[b+56>>2];if(!a){continue}break}}if(!d){break c}i=0;if(!C[a>>2]|C[a+148>>2]!=-1){break c}b=sz(a,c);e:{if(b>>>0<=390){b=b<<2;a=C[b+161936>>2];b=C[b+161940>>2]+(a^-1)|0;a=a+158480|0;break e}dn(f+4|0,C[a+64>>2],b-391|0);b=C[f+8>>2];a=C[f+4>>2]}if(!b){break c}c=a;a=e-1|0;a=a>>>0>>0?a:b;k=dm(d,c,a)+a|0,l=0,A[k|0]=l;i=1}Ce=f+16|0;return i|0}function Ur(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;h=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95279];B[c>>1]=((I(h,D[C[95278]+(a>>>5&63)|0])>>>0)/255|0)+f<<3&8160|((I(h,D[b+(a>>>11|0)|0])>>>0)/255|0)+e<<8&63488|((I(h,D[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];b=D[C[95278]+(a>>>5&63)|0]+f|0;d=c;f=(b>>>0>=255?255:b)<<3&2016;b=C[95279];c=D[b+(a>>>11|0)|0]+e|0;a=D[b+(a&31)|0]+g|0;B[d>>1]=f|(c>>>0>=255?255:c)<<8&63488|(a>>>0>=255?255:a)>>>3;return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95279];B[c>>1]=(I(D[C[95278]+(a>>>5&63)|0],f)>>>0)/255<<3&4064|(I(D[b+(a>>>11|0)|0],e)>>>0)/255<<8&63488|(I(D[b+(a&31)|0],g)>>>0)/255>>>3;return 0;case 7:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];b=D[C[95278]+(a>>>5&63)|0];b=((I(b,f)>>>0)/255|0)+((I(b,h)>>>0)/255|0)|0;d=c;f=(b>>>0>=255?255:b)<<3&2016;b=C[95279];c=D[b+(a>>>11|0)|0];c=((I(c,e)>>>0)/255|0)+((I(c,h)>>>0)/255|0)|0;a=D[b+(a&31)|0];a=((I(a,g)>>>0)/255|0)+((I(a,h)>>>0)/255|0)|0;B[d>>1]=f|(c>>>0>=255?255:c)<<8&63488|(a>>>0>=255?255:a)>>>3;return 0;default:break a}}B[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)>>1]=f<<3&2016|e<<8&63488|g>>>3;return 0}function ti(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a>>2];a:{if(b>>>0<=C[a+36>>2]-1>>>0){break a}while(1){b=b-1|0;C[a>>2]=b;b:{c=C[a+4>>2];e=C[C[c+100>>2]+96>>2]+I(b,20)|0;b=E[e+12>>1];d=C[a+8>>2];if(b&d&14){break b}c:{if(!(b&8)){break c}if(d&16){b=C[c+108>>2];c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break b}c=D[b+12|0]|D[b+13|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=205712}if((D[b|0]|D[b+1|0]<<8)!=256){break b}c=b;d=d>>>16|0;f=(b+(d<<2)|0)+4|0;b=D[b+2|0]|D[b+3|0]<<8;b=d>>>0>=((b<<8|b>>>8)&65535)>>>0?205712:f;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((zf(b?c+b|0:205712,C[e>>2])|0)==-1){break b}b=E[e+12>>1];break c}d=d&65280;if(!d){break c}if((d|0)!=(b&65280)){break b}}d=0;c=E[e+16>>1];if(!(b&16|(c&96)!=32|!D[a+12|0]&(c&543)==513)){d=(c&287)!=257?2:D[a+13|0]<<1}d:{e:{f:{if(!(C[a+16>>2]&C[e+4>>2])){break f}b=C[a+32>>2];c=D[a+20|0];if((c|0)!=D[e+15|0]?c:0){break f}c=C[a+24>>2];if(!c){break e}if(Fe[c|0](C[e>>2],b,C[a+28>>2])|0){b=C[a+32>>2];break d}if(d){break b}return 0}if(d){break b}return 0}if(d){break b}}C[a+36>>2]=C[a+36>>2]-1;g=1;if(!b){break a}C[a+32>>2]=b+2;break a}b=C[a>>2];if(b>>>0>C[a+36>>2]-1>>>0){continue}break}}return g}function wi(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}i=a-20|0;while(1){d=C[i>>2];if(!d){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;c=Qf(d);A[b+40|0]=1;C[b+36>>2]=c;d=Of(d,1330851634);b:{if(!d){break b}c=C[d>>2];if(!c){break b}C[d>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=d;e=C[d+12>>2];C[b+4>>2]=e;f=C[d+16>>2];h=e+f|0;C[b+8>>2]=h;C[b+28>>2]=0;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[b+12>>2]=c;C[b+20>>2]=0;C[b>>2]=0;c:{if(!e){Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break c}d:{if((f|0)<78){break d}C[b+12>>2]=c-78;g=D[e|0]|D[e+1|0]<<8;e:{if(!g){break e}if(f-78>>>0<8){break d}C[b+12>>2]=c-86;g=g<<8|g>>>8;if((g&65535)>>>0<2){break e}if(f-86>>>0<10|e+86>>>0>h>>>0){break d}C[b+12>>2]=c-96;if((g&65535)>>>0<5){break e}if((f&-4)==96|e+96>>>0>h>>>0){break d}C[b+12>>2]=c-100}Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;Ue(d);d=205712}d=d?d:205712;c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<78?205712:C[c+12>>2]}function Ef(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=C[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=D[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=Bf(a,E[b+2>>1]);if(d){break a}d=C[a+32>>2];h=1;b=b+4|0;continue}f=D[b+1|0];e=f+d|0;if(e>>>0>F[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}t(E[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=D[d+1|0]|D[d|0]<<8;f=16;d=d+2|0;break c}e=D[d|0]|D[d+1|0]<<8;f=16;d=d+2|0;break c}e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=D[d+2|0]|(D[d+1|0]<<8|D[d|0]<<16);d=d+3|0;break c}f=8;e=D[d|0]|(D[d+1|0]<<8|D[d+2|0]<<16);d=d+3|0;break c}e=D[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=E[b+2>>1]+c|0;m:{n:{switch(D[b+1|0]-1|0){case 0:A[f|0]=e;break m;case 1:B[f>>1]=e;break m;default:break n}}C[f>>2]=e}b=b+4|0;continue}break}C[a+32>>2]=d;d=0}if(h){if(C[a+20>>2]){b=C[a+28>>2];c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0}C[a+32>>2]=0;C[a+36>>2]=0}return d}function hk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ce-80|0;Ce=d;i=!(D[C[a+11676>>2]+5|0]?D[a+11665|0]:1);e=C[a+11720>>2];f=a+11724|0;g=C[f>>2];if((e|0)!=(b|0)|(g|0)!=(c|0)|i){up(a,e,g,b,c,d+36|0,d+32|0);g=C[d+36>>2];h=g+C[a+11720>>2]|0;C[d+24>>2]=h;f=C[f>>2];e=C[d+32>>2];C[d+20>>2]=e+c;C[d+16>>2]=b+g;e=e+f|0;C[d+28>>2]=e;if(D[a+11667|0]){C[d+72>>2]=1;f=C[a+11732>>2];C[d+40>>2]=C[a+11728>>2];C[d+44>>2]=f;if(!D[a+20|0]){Yk(a,C[a+11736>>2],C[a+11740>>2])}g=Te(C[a+11644>>2],h);f=Te(C[a+11648>>2],e);j=Nh(a+8|0,e);f=f+g|0;k=d,l=(Te(C[C[a>>2]+60>>2],f)+Te(C[C[a>>2]+68>>2],j)|0)+C[a+11656>>2]|0,C[k+48>>2]=l;k=d,l=(Te(C[C[a>>2]- -64>>2],f)+Te(C[C[a>>2]+72>>2],j)|0)+C[a+11660>>2]|0,C[k+52>>2]=l;f=C[a+4>>2];Fe[C[f>>2]](f,d+40|0);f=C[d+48>>2];g=C[d+52>>2];C[a+11704>>2]=h;C[a+11708>>2]=e;C[a+11728>>2]=f;C[a+11732>>2]=g;A[a+11664|0]=1;A[a+11667|0]=0;e=C[d+20>>2];C[a+11712>>2]=C[d+16>>2];C[a+11716>>2]=e}if(D[a+11744|0]){e=C[d+20>>2];C[d+8>>2]=C[d+16>>2];C[d+12>>2]=e;Am(a,a+8|0,d+24|0,d+8|0,0)}C[a+11748>>2]=2;A[a+11744|0]=1;e=C[d+28>>2];C[a+11752>>2]=C[d+24>>2];C[a+11756>>2]=e;e=C[d+20>>2];C[a+11760>>2]=C[d+16>>2];C[a+11764>>2]=e;if(i){Xk(a+8|0,C[a+11668>>2],C[a+11672>>2],C[a+11676>>2],C[a+11680>>2],0)}C[a+11724>>2]=c;C[a+11720>>2]=b}Ce=d+80|0}function rr(a,b){var c=0,d=0;d=C[C[105668]+344>>2];if(d){if((qf(4096,-1)|0)!=1){c=(qf(4097,-1)|0)==1}else{c=1}Fe[d|0](a,c)}a:{if(!(b&128)){break a}c=C[105668];if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}if(D[a+48|0]&128){break a}d=C[c+96>>2];if(!d){break a}Fe[d|0](c,a)}b:{if(!(b&64)){break b}c=C[105668];if(!c){Qe(19865,0);break b}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break b}if(D[a+48|0]&64){break b}d=C[c+100>>2];if(!d){break b}if(!(D[c+404|0]&2)){Th(a,0);c=C[105668];d=C[c+100>>2];if(!d){break b}}Fe[d|0](c,a)}if(b&1){qr(a,b)}if(b&256){c:{c=C[105668];if(!c){Qe(19865,0);break c}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break c}c=C[a+48>>2];if(!(c&256)){C[a+48>>2]=c&-257|256;bj(a)}d:{if(!cg(27435,0)){break d}c=C[105668];if(!c){Qe(19865,0);break c}if(C[a>>2]!=(c+388|0)){Qe(2168,0);break c}c=C[a+48>>2];if(c&1048576){break d}C[a+48>>2]=c&-1048577|1048576;bj(a)}}}e:{if(!(b&1048576)){break e}c=C[105668];if(!c){Qe(19865,0);break e}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break e}c=C[a+48>>2];if(c&1048576){break e}C[a+48>>2]=c|1048576;bj(a)}f:{if(b&8){break f}b=C[105668];if(!b){Qe(19865,0);return}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return}if(D[a+48|0]&4){break f}c=C[b+84>>2];if(c){Fe[c|0](b,a)}bg(a,1,0,0)}}function ss(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=J(0),n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=J(0),v=J(0),w=J(0),x=J(0),y=0;p=a<<1;j=I(a,b);if((b|0)>0){k=p-1|0;g=j;while(1){i=(f<<2)+c|0;l=(g<<2)+c|0;G[(f<<3)+d>>2]=G[i>>2]+G[l>>2];G[(k+(f<<1)<<2)+d>>2]=G[i>>2]-G[l>>2];g=a+g|0;f=a+f|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}b:{if((a|0)!=2){if((b|0)>0){f=0;k=j;while(1){g=f<<1;l=a+f|0;h=l<<1;i=k;n=2;while(1){o=i<<2;q=g+2|0;r=f+2|0;s=(r<<2)+c|0;t=(n<<2)+e|0;m=G[t-8>>2];i=i+2|0;u=G[(i<<2)+c>>2];v=G[(c+o|0)+4>>2];w=G[t-4>>2];x=J(J(m*u)-J(v*w));G[(q<<2)+d>>2]=G[s>>2]+x;o=h-2|0;G[(o<<2)+d>>2]=x-G[s>>2];m=J(J(m*v)+J(w*u));f=(f<<2)+c|0;G[(g<<2|4)+d>>2]=m+G[f+4>>2];G[((h<<2)+d|0)-12>>2]=G[f+4>>2]-m;g=q;f=r;h=o;n=n+2|0;if((n|0)<(a|0)){continue}break}k=a+k|0;f=l;y=y+1|0;if((y|0)!=(b|0)){continue}break}}if(a&1){break a}if((b|0)>0){break b}break a}if((b|0)<=0){break a}}e=b&1;f=a-1|0;g=j+f|0;c:{if((b|0)==1){h=a;break c}b=b&-2;i=0;h=a;while(1){j=(h<<2)+d|0;G[j>>2]=-G[(g<<2)+c>>2];G[j-4>>2]=G[(f<<2)+c>>2];h=h+p|0;j=(h<<2)+d|0;g=a+g|0;G[j>>2]=-G[(g<<2)+c>>2];f=a+f|0;G[j-4>>2]=G[(f<<2)+c>>2];f=a+f|0;g=a+g|0;h=h+p|0;i=i+2|0;if((b|0)!=(i|0)){continue}break}}if(!e){break a}a=(h<<2)+d|0;G[a>>2]=-G[(g<<2)+c>>2];G[a-4>>2]=G[(f<<2)+c>>2]}}function Lg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a+4>>2]=c;C[a>>2]=b;C[a+16>>2]=0;e=a+8|0;a:{b:{c:{d:{c=D[b+2|0]|D[b+3|0]<<8;if(c){b=((c<<8|c>>>8)&65535)+b|0}else{b=205712}c=D[b|0]|D[b+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break b}}c=D[b+2|0]|D[b+3|0]<<8;if(!c){break b}b=b+4|0;g=(c<<8|c>>>8)&65535;h=g&1;i=g-1|0;e:{if(!i){c=b;break e}k=g&65534;c=b;while(1){j=d;d=D[c|0]|D[c+1|0]<<8;j=j|1<<(d>>>12|d<<4);d=D[c+2|0]|D[c+3|0]<<8;d=j|1<<(d>>>12|d<<4);c=c+4|0;f=f+2|0;if((k|0)!=(f|0)){continue}break}}if(h){c=D[c|0]|D[c+1|0]<<8;d=1<<(c>>>12|c<<4)|d}C[e>>2]=d;f=0;c=b;d=0;if(i>>>0>=3){h=g&65532;e=0;while(1){d=1<>2]=d;e=g&3;d=0;if(i>>>0<3){c=0;break a}g=g&65532;c=0;f=0;while(1){c=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|c|1<<((D[b+2|0]|D[b+3|0]<<8)>>>1)|1<<((D[b+4|0]|D[b+5|0]<<8)>>>1)|1<<((D[b+6|0]|D[b+7|0]<<8)>>>1);b=b+8|0;f=f+4|0;if((g|0)!=(f|0)){continue}break}break a}fl(b,e)}return}if(e){while(1){c=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|c;b=b+2|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}C[a+16>>2]=c}function Ev(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,j=0,k=0,l=0,m=0;C[d>>2]=0;C[d+4>>2]=0;g=b-1|0;g=b>>>0>=g>>>0?g:0;b=C[a+408>>2];a:{if(g>>>0>b>>>0){break a}e=b;b=c-1|0;c=b>>>0<=c>>>0?b:0;if(e>>>0>>0){break a}b=C[a+424>>2];if(!b){break a}e=c<<4;c=C[a+416>>2];g=E[e+c>>1]|C[c+(g<<4)>>2]<<16;j=C[a+104>>2];while(1){if(!(g>>>0<=F[b+20>>2]&g>>>0>=F[b+16>>2])){b=C[b>>2];if(b){continue}break a}break}f=bf(j,C[b+12>>2]);if(f){break a}f=Bf(j,I(C[b+8>>2],D[b+4|0]));if(f){break a}a=D[b+5|0];m=a&2;l=a&1;k=C[b+8>>2];f=C[j+32>>2];a=D[b+4|0];c=-2147483648>>>L(a)|0;b:{c:{d:{if((a|0)==(c|0)){break d}a=I(a-c|0,k)+f|0;e:{if(l){e=D[a+1|0]<<16|D[a|0]<<24|D[a+2|0]<<8;h=a+3|0;a=a+4|0;break e}h=a+1|0;e=D[a|0]<<16;a=a+2|0}e=D[h|0]|e;if((e|0)==(g|0)){break c}if(e>>>0>=g>>>0){break d}f=(m?2:1)+a|0}i=I(c,k);if(k>>>0>>0){while(1){i=i>>>1|0;c=i+f|0;f:{if(l){e=D[c+1|0]<<16|D[c|0]<<24|D[c+2|0]<<8;h=c+3|0;a=c+4|0;break f}h=c+1|0;e=D[c|0]<<16;a=c+2|0}e=D[h|0]|e;if((e|0)==(g|0)){break c}f=e>>>0>>0?c:f;if(k>>>0>>0){continue}break}}c=D[f+1|0];e=D[f|0];g:{if(l){c=D[f+3|0]|(c<<16|e<<24|D[f+2|0]<<8);a=f+4|0;break g}c=c|e<<16;a=f+2|0}if((c|0)!=(g|0)){break b}}c=D[a|0];if(m){c=(D[a+1|0]|c<<8)<<16>>16}C[d>>2]=B[b+6>>1]+c}xf(j);f=0}return f|0}function xr(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=C[105657];if(f){while(1){f=f-1|0;a=C[C[105658]+(f<<2)>>2];d=C[a>>2];h=C[a+4>>2];a=0;b=-1;c=C[105657];a:{if((c|0)<=0){break a}e=C[105658];while(1){g=C[e+(a<<2)>>2];if(C[g>>2]==(d|0)&C[g+4>>2]==(h|0)){b=a;break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}c=tn(d,h);if(c){if(C[c+16>>2]>0){a=0;while(1){e=C[C[c+20>>2]+(a<<2)>>2];if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}a=a+1|0;if((a|0)>2]){continue}break}}a=C[c+20>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[c+24>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}a=C[105657]-1|0;C[105657]=a;g=b<<2;b=C[105658];C[g+b>>2]=C[b+(a<<2)>>2];a=0;b:{c:{b=C[104765];if((b|0)<=0){break c}c=C[104766];while(1){e=c+I(a,8232)|0;if(C[e>>2]==(d|0)&(h|0)==C[e+4>>2]){break c}a=a+1|0;if((b|0)!=(a|0)){continue}break}break b}d:{if((a|0)==(b|0)){break d}d=I(a,8232);b=C[(d+C[104766]|0)+8224>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}lf(d+C[104766]|0,0,8232);b=C[104765]-1|0;C[104765]=b;if((a|0)==(b|0)){break d}a=C[104766];gf(a+d|0,a+I(b,8232)|0,8232)}}}if(f){continue}break}}a=C[105658];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[105658]=0;a=C[104766];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[104766]=0}function Hm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=C[a+2984>>2];if(k&4){e=C[a+2988>>2];a=c>>31;d=(a^c)-a|0;a:{b:{c:{if((b|0)==1){if(!(k&2)){break c}break b}if(k&1){break b}}d:{a=e+I(b,1572)|0;if(!C[a+52>>2]){break d}e=C[a+60>>2];a=d-e|0;b=a>>31;if((a^b)-b>>>0>39){break d}d=(e|0)<=48?48:e;break a}if(d>>>0<=53){d=(54-d>>>1&127)+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}e:{f:{g:{h:{i:{a=e+I(b,1572)|0;e=C[a+52>>2];if(e){l=a+56|0;q=e&1;if((e|0)!=1){break i}g=98;a=0;e=d;break h}a=d+32&2147483584;e=d;break g}r=e&-2;g=98;a=0;e=d;while(1){m=C[(I(a|1,12)+l|0)+4>>2];h=d-m|0;n=h>>31;o=C[(I(a,12)+l|0)+4>>2];f=d-o|0;i=f>>31;f=(f^i)-i|0;p=(f|0)<(g|0);h=(h^n)-n|0;f=p?f:g;i=(h|0)<(f|0);g=i?h:f;e=i?m:p?o:e;a=a+2|0;j=j+2|0;if((r|0)!=(j|0)){continue}break}}if(q){j=C[(I(a,12)+l|0)+4>>2];a=d-j|0;f=a>>31;e=((a^f)-f|0)<(g|0)?j:e}a=e+32&-64;if((d|0)<(e|0)){break f}}a=(a|48)>(d|0)?e:d;break e}a=(a-48|0)<(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(k&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 Vf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(a){C[a+4>>2]=0;C[a>>2]=b;d=c;a:{if(!a|!c){break a}b=C[a+4>>2];j=a;a=C[a>>2];if(!(a|b)){break a}c=b>>31;f=(c^b)-c|0;c=a>>31;k=f|(c^a)-c;h=L(k);i=h-2|0;b:{if(k>>>0<=1073741823){b=b<>c;c=a>>c}c:{if((d|0)<-2949120){while(1){a=b;b=0-c|0;e=d>>>0<4286119936;c=a;f=d+5898240|0;d=f;if(e){continue}break c}}if((d|0)<=2949120){a=c;f=d;break c}e=b;a=c;while(1){b=a;a=0-e|0;c=d>>>0>8847360;e=b;f=d-5898240|0;d=f;if(c){continue}break}}e=281872;d=1;c=1;while(1){g=a+d>>c;l=b+d>>c;m=C[e>>2];d:{if((f|0)<0){f=f+m|0;b=b-g|0;a=a+l|0;break d}f=f-m|0;b=b+g|0;a=a-l|0}d=d<<1;e=e+4|0;c=c+1|0;if((c|0)!=23){continue}break}c=b>>31;d=(c^b)-c|0;e=d&65535;c=I(e,56281);f=d>>>16|0;d=c+I(f,23318)|0;g=d<<16;e=g+I(e,23318)|0;c=(((I(f,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=a>>31;d=(c^a)-c|0;e=d&65535;c=I(e,56281);f=d>>>16|0;d=c+I(f,23318)|0;g=d<<16;e=g+I(e,23318)|0;c=(((I(f,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;a=(a|0)<0?0-c|0:c;e:{if(k>>>0<=536870911){c=1<>2]=(c+a|0)+(a>>31)>>i;a=(b+c|0)+(b>>31)>>i;break e}c=a;a=2-h|0;C[j>>2]=c<>2]=a}}}function sD(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+k|0;c=((I(b,c)>>>0)/255|0)+j|0;break a;case 1:b=f+i|0;f=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=c+j|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,i)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;c=((I(c,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(j+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function oE(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+j|0;c=((I(b,c)>>>0)/255|0)+k|0;break a;case 1:b=f+i|0;f=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=c+k|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,i)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;c=((I(c,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(k+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function mD(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+k|0;f=((I(b,f)>>>0)/255|0)+j|0;break a;case 1:b=c+i|0;c=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=f+j|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,i)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(j+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function kE(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+j|0;f=((I(b,f)>>>0)/255|0)+k|0;break a;case 1:b=c+i|0;c=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=f+k|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,i)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;f=((I(f,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(k+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function aE(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+j|0;g=((I(b,g)>>>0)/255|0)+k|0;c=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:b=f+j|0;f=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=c+i|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,j)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;c=((I(c,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+j|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function WD(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+j|0;g=((I(b,g)>>>0)/255|0)+k|0;f=((I(b,f)>>>0)/255|0)+i|0;break a;case 1:b=c+j|0;c=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=f+i|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,j)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;f=((I(f,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+j|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function Kn(a){var b=0,c=0,d=0;b=C[104774];if(C[105569]!=(a|0)){a:{b:{if(!(!C[105570]|a)){a=0;C[105570]=0;break b}c:{d:{if(a){if(C[105553]){if(cg(24914,0)){break d}}c=C[105555];if(c){if((Fe[c|0](a)|0)>=0){break c}}if(C[105553]){break d}Qe(18036,0);return}c=C[105555];if(!c){break b}Fe[c|0](0)|0;a=0;break b}C[105570]=1}C[105574]=0;C[105575]=0;C[105569]=a;a=C[105550];if(a){Fe[a|0](0)|0}if(!b){break a}a=C[105559];e:{if((a|0)==(b|0)){break e}if(a){bg(a,11,0,0)}C[105559]=b;C[105568]=0;bg(b,10,0,0);a=C[105550];c=C[(C[105559]?422360:422356)>>2];if(!(C[105569]|(!c|!C[105591]))){if(!a){break e}Fe[a|0](c)|0;break e}if(!a){break e}Fe[a|0](0)|0}f:{if(!C[105570]|D[b+48|0]&64){break f}a=C[b+24>>2]/2|0;c=C[b+28>>2]/2|0;C[105565]=c;C[105564]=a;C[105568]=0;d=C[105553];if(d){Fe[d|0](b,a,c);break f}Fi(b,C[105558],0,a,c)}bj(b);li(0);break a}C[105574]=0;C[105575]=0;C[105569]=a;if(b){bj(b);g:{if(D[b+48|0]&64){break g}a=C[105560];c=C[105561];C[105565]=c;C[105564]=a;C[105568]=0;d=C[105553];if(!(!d|(C[105570]?0:C[105569]))){Fe[d|0](b,a,c);break g}Fi(b,C[105558],0,a,c)}li(0);a=!C[105569]}else{a=1}b=C[105550];c=C[(C[105559]?422360:422356)>>2];if(!(!a|(!c|!C[105591]))){if(!b){break a}Fe[b|0](c)|0;break a}if(!b){break a}Fe[b|0](0)|0}lt(1024,1024)}}function HD(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+k|0;g=((I(b,g)>>>0)/255|0)+j|0;c=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:b=f+k|0;f=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=c+i|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,k)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;c=((I(c,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+k|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function Dy(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{if((b|0)!=1196445523){g=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;g=F[a+16>>2]<10?205712:C[a+12>>2]}a=205712;b=205712;h=D[g+4|0]|D[g+5|0]<<8;if(h){b=((h<<8|h>>>8)&65535)+g|0}i=(I(c,6)+b|0)+2|0;h=c;c=D[b|0]|D[b+1|0]<<8;c=h>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:i;c=D[c+4|0]|D[c+5|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+b|0}c:{d:{e:{f:{if((d|0)==65535){c=D[a|0]|D[a+1|0]<<8;b=206096;if(!c){break f}b=((c<<8|c>>>8)&65535)+a|0;break f}c=D[a+2|0]|D[a+3|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=d>>>0?205712:(I(d,6)+a|0)+4|0;c=D[c+4|0]|D[c+5|0]<<8;b=206096;if(!c){break f}b=((c<<8|c>>>8)&65535)+a|0}a=D[b+4|0]|D[b+5|0]<<8;if(!a){break e}h=b+4|0;a=(a<<8|a>>>8)&65535;i=a>>>0<=1?1:a;a=0;while(1){b=h+(a<<1)|0;b=D[b+2|0]|D[b+3|0]<<8;c=(b<<8|b>>>8)&65535;if((b|0)!=65535){b=D[g+6|0]|D[g+7|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+g|0}else{b=205712}d=D[b|0]|D[b+1|0]<<8;b=((d<<8|d>>>8)&65535)>>>0<=c>>>0?205712:(b+I(c,6)|0)+2|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}else{b=0}if((b|0)!=(e|0)){a=a+1|0;if((i|0)==(a|0)){break e}continue}break}b=1;if(f){break d}break c}c=65535;b=0;if(!f){break c}}C[f>>2]=c}return b}function DD(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+k|0;g=((I(b,g)>>>0)/255|0)+j|0;f=((I(b,f)>>>0)/255|0)+i|0;break a;case 1:b=c+k|0;c=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=f+i|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,k)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;f=((I(f,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+k|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function vp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-32|0;Ce=g;f=C[b+392>>2];h=b+8|0;k=f-h|0;l=k>>3;i=l&1;if(!(D[e|0]|!i)){a:{if((f|0)==(h|0)){f=0;j=C[b+4>>2];if(!j|C[j>>2]){break a}C[j>>2]=130;break a}b:{switch(C[b+12>>2]-1|0){case 1:f=C[h>>2]<<16;break a;case 0:f=C[h>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break a}f=f- -8192>>>14|0;break a;default:break b}}f=C[h>>2]}C[d>>2]=(C[C[C[a+132>>2]+736>>2]+532>>2]<<16)+f}if(!D[C[a+132>>2]+561|0]){if(k>>>0>=9){a=0;while(1){j=C[b+392>>2]-h>>3;c:{if(j>>>0<=i>>>0){d=0;f=C[b+4>>2];if(!f|C[f>>2]){break c}C[f>>2]=130;break c}d:{e:{f:{d=(i<<3)+b|0;switch(C[d+12>>2]-1|0){case 0:break e;case 1:break f;default:break d}}d=C[d+8>>2]<<16;break c}d=C[d+8>>2];if((d|0)<0){d=0-(8192-d>>14)|0;break c}d=d- -8192>>>14|0;break c}d=C[d+8>>2]}f=a+d|0;C[g+16>>2]=f;a=i+1|0;g:{if(a>>>0>=j>>>0){a=0;d=C[b+4>>2];if(!d|C[d>>2]){break g}C[d>>2]=130;break g}h:{i:{j:{a=(a<<3)+b|0;switch(C[a+12>>2]-1|0){case 0:break i;case 1:break j;default:break h}}a=C[a+8>>2]<<16;break g}a=C[a+8>>2];if((a|0)<0){a=0-(8192-a>>14)|0;break g}a=a- -8192>>>14|0;break g}a=C[a+8>>2]}C[g+24>>2]=0;C[g+28>>2]=0;A[g+12|0]=0;a=a+f|0;C[g+20>>2]=a;vw(c,g+12|0);i=i+2|0;if(l>>>0>i>>>0){continue}break}}C[b+392>>2]=h}A[e|0]=1;Ce=g+32|0}function kk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ce-16|0;Ce=i;a:{if(C[a+20>>2]){break a}b=C[a+48>>2];if(b>>>0<2){break a}m=a+56|0;k=C[51428];while(1){b=b<<2;if(F[C[(b+C[a+52>>2]|0)-4>>2]>>2]>=F[a+8>>2]){break a}g=C[(b+C[a+52>>2]|0)-4>>2];b=0;C[i+12>>2]=0;h=0;d=C[g>>2];f=C[g+4>>2];b:{if((d|0)==(f|0)){break b}j=f-d|0;l=j&3;e=0;c=0;if(f+(d^-1)>>>0>=3){j=j&-4;f=0;while(1){h=I(A[(c|3)+d|0],-1640531535)+I(I(A[(c|2)+d|0],-1640531535)+I(I(A[(c|1)+d|0],-1640531535)+I(I(A[c+d|0],-1640531535)+I(h,31)|0,31)|0,31)|0,31)|0;c=c+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(!l){break b}while(1){h=I(A[c+d|0],-1640531535)+I(h,31)|0;c=c+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}d=C[g+12>>2]<<4;c:{if(!d){e=0;break c}c=C[g+16>>2];e=0;while(1){e=I(A[c+(b|3)|0],-1640531535)+I(I(A[c+(b|2)|0],-1640531535)+I(I(A[c+(b|1)|0],-1640531535)+I(I(A[b+c|0],-1640531535)+I(e,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}jn(m,g,e^h,i+12|0);b=C[a+48>>2];d:{if(!b){C[105676]=k;b=k;break d}b=C[(C[a+52>>2]+(b<<2)|0)-4>>2]}Re(C[b+16>>2]);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;Re(C[b+28>>2]);C[b+28>>2]=0;C[b+20>>2]=0;C[b+24>>2]=0;b=C[a+48>>2];if(!b){break a}b=b-1|0;C[a+48>>2]=b;if(b>>>0>1){continue}break}}Ce=i+16|0}function Nt(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{c=C[a+4>>2];f:{if((c|0)!=C[a+104>>2]){C[a+4>>2]=c+1;c=D[c|0];break f}c=Jf(a)}switch(c-43|0){case 0:case 2:break e;default:break d}}f=(c|0)==45;g=!b;c=C[a+4>>2];g:{if((c|0)!=C[a+104>>2]){C[a+4>>2]=c+1;c=D[c|0];break g}c=Jf(a)}b=c-58|0;if(g|b>>>0>4294967285){break c}if(C[a+116>>2]<0){break b}C[a+4>>2]=C[a+4>>2]-1;break b}b=c-58|0}if(b>>>0<4294967286){break b}b=c-48|0;if(b>>>0<10){while(1){d=I(d,10)+c|0;d=d-48|0;e=(d|0)<214748364;b=C[a+4>>2];h:{if((b|0)!=C[a+104>>2]){C[a+4>>2]=b+1;c=D[b|0];break h}c=Jf(a)}b=c-48|0;if(e&b>>>0<=9){continue}break}e=d>>31}i:{if(b>>>0>=10){break i}while(1){d=mT(d,e,10,0);b=d+c|0;c=Ee;c=b>>>0>>0?c+1|0:c;d=b-48|0;e=c-(b>>>0<48)|0;b=C[a+4>>2];j:{if((b|0)!=C[a+104>>2]){C[a+4>>2]=b+1;c=D[b|0];break j}c=Jf(a)}b=c-48|0;if(b>>>0>9){break i}if(d>>>0<2061584302&(e|0)<=21474836|(e|0)<21474836){continue}break}}if(b>>>0<10){while(1){b=C[a+4>>2];k:{if((b|0)!=C[a+104>>2]){C[a+4>>2]=b+1;b=D[b|0];break k}b=Jf(a)}if(b-48>>>0<10){continue}break}}b=C[a+116>>2];if((b|0)>0|(b|0)>=0){C[a+4>>2]=C[a+4>>2]-1}a=d;d=f?0-a|0:a;e=f?0-(((a|0)!=0)+e|0)|0:e;break a}e=-2147483648;if(C[a+116>>2]<0){break a}C[a+4>>2]=C[a+4>>2]-1;Ee=-2147483648;return 0}Ee=e;return d}function sr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Ce-16|0;Ce=l;a:{if(!(c?b:0)){C[l>>2]=3270;Qe(19745,l);c=0;break a}j=C[b>>2];if(!j){j=C[a+16>>2]}m=C[b+12>>2];if(!m){m=C[a+28>>2]}n=j>>>8&255;i=C[a+8>>2];while(1){b:{if(i){break b}i=0;h=C[105668];d=C[h+28>>2];if(!d){break b}Fe[d|0](h,a);tr(C[a+12>>2],C[a+8>>2]);i=C[a+8>>2]}c:{d:{e:{f:{if((e|0)>=(i|0)){break f}g=C[a+12>>2];h=I(e,20);d=g+h|0;k=C[d+4>>2];if(C[b+4>>2]>(k|0)?k:0){break f}h=g+h|0;g=C[h+8>>2];if(!g|(g|0)>=C[b+8>>2]){break e}if(!k|C[b+4>>2]!=(k|0)){break d}}if(f){break c}c=0;break a}if(!f){f=d;e=e+1|0;continue}if(C[f+4>>2]>(k|0)){f=d;e=e+1|0;continue}if((g|0)>2]){f=d;e=e+1|0;continue}g=C[d>>2];if((g|0)!=C[f>>2]){if((g|0)==(j|0)){f=d;e=e+1|0;continue}if((g^j)&251658240|(g>>>8&255)>>>0>>0){break d}f=d;e=e+1|0;continue}g=d;d=C[h+12>>2];f=(d|0)==C[f+12>>2]?f:(d|0)<(m|0)?f:g}e=e+1|0;continue}break}e=C[f>>2];if(!e){e=C[b>>2]}C[c>>2]=e;g:{h:{a=C[f+4>>2];if(!a){break h}i=C[f+8>>2];if(!i){break h}C[c+4>>2]=a;a=1;d=1;break g}a=C[b+4>>2];C[c+4>>2]=a;i=C[b+8>>2];d=i}h=d;C[c+8>>2]=i;d=C[f+12>>2];if(!d){d=C[b+12>>2]}C[c+12>>2]=d;C[c+16>>2]=C[f+16>>2];if(!e){C[c>>2]=370546692}if(!a){C[c+4>>2]=640}if(h){break a}C[c+8>>2]=480}Ce=l+16|0;return c}function Vr(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;h=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95279];B[c>>1]=((I(h,D[b+(a>>>5&31)|0])>>>0)/255|0)+f<<2&4064|((I(h,D[b+(a>>>10&31)|0])>>>0)/255|0)+e<<7&64512|((I(h,D[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:d=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[d>>1];b=C[95279];c=D[(a>>>5&31)+b|0]+f|0;f=(c>>>0>=255?255:c)<<2&992;c=D[b+(a>>>10&31)|0]+e|0;a=D[b+(a&31)|0]+g|0;B[d>>1]=f|(c>>>0>=255?255:c)<<7&31744|(a>>>0>=255?255:a)>>>3;return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95279];B[c>>1]=(I(D[b+(a>>>5&31)|0],f)>>>0)/255<<2&2016|(I(D[b+(a>>>10&31)|0],e)>>>0)/255<<7&64512|(I(D[b+(a&31)|0],g)>>>0)/255>>>3;return 0;case 7:d=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[d>>1];b=C[95279];c=D[(a>>>5&31)+b|0];c=((I(c,f)>>>0)/255|0)+((I(c,h)>>>0)/255|0)|0;f=(c>>>0>=255?255:c)<<2&992;c=D[b+(a>>>10&31)|0];c=((I(c,e)>>>0)/255|0)+((I(c,h)>>>0)/255|0)|0;a=D[b+(a&31)|0];a=((I(a,g)>>>0)/255|0)+((I(a,h)>>>0)/255|0)|0;B[d>>1]=f|(c>>>0>=255?255:c)<<7&31744|(a>>>0>=255?255:a)>>>3;return 0;default:break a}}B[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)>>1]=f<<2&992|e<<7&31744|g>>>3;return 0}function Ml(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[a+36>>2]/4|0;a:{f=C[a+28>>2];if(!f){break a}g=C[a+16>>2];d=C[a+24>>2];h=d&7;i=(d+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];j=e<<2;b:while(1){f=f-1|0;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:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=1;continue;case 1:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=2;continue;case 2:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=3;continue;case 3:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=4;continue;case 4:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=5;continue;case 5:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=6;continue;case 6:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=7;continue;default:break e}}C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];d=e-1|0;c=c+2|0;a=a+4|0;f:{if((e|0)>1){e=d;break f}c=c+g|0;a=a+j|0;if(f){continue b}break a}d=0;continue}}}}function ty(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=C[a+100>>2];c=C[g+76>>2];while(1){c=C[g+92>>2]+I(c,20)|0;f=C[c>>2];a:{if(!(C[b>>2]>>>(f>>>4)&1)|!(C[b+4>>2]>>>f&1)|(!(C[b+8>>2]>>>(f>>>9)&1)|!(C[a+120>>2]&C[c+4>>2]))){break a}d=C[a+132>>2];c=E[c+12>>1];if(d&c&14){break a}b:{if(!(c&8)){break b}if(d&16){c=C[a+108>>2];e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break a}e=D[c+12|0]|D[c+13|0]<<8;if(e){c=c+((e<<8|e>>>8)&65535)|0}else{c=205712}if((D[c|0]|D[c+1|0]<<8)!=256){break a}e=c;d=d>>>16|0;h=(c+(d<<2)|0)+4|0;c=D[c+2|0]|D[c+3|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:h;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((zf(c?e+c|0:205712,f)|0)!=-1){break b}break a}f=d&65280;if(!f){break b}if((f|0)!=(c&65280)){break a}}c=0;e=C[b+16>>2];d=0;c:{if(!e){break c}while(1){f=c>>>0>=e>>>0?205712:C[b+20>>2]+I(c,20)|0;d=C[a+100>>2];d=C[C[d+92>>2]+I(C[d+76>>2],20)>>2];if(!(!(C[f+8>>2]>>>(d>>>4)&1)|!(C[f+12>>2]>>>d&1)|!(C[f+16>>2]>>>(d>>>9)&1))){d=1;if(Fe[C[f+4>>2]](C[f>>2],a)|0){break c}e=C[b+16>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}d=0}i=d|i}c=C[g+76>>2]-1|0;C[g+76>>2]=c;if((c|0)>=0){continue}break}}function vy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=I(c,20)+a|0;j=E[e+16>>1];if(!j){break a}f=D[e+18|0];B[e+16>>1]=0;g=j<<16>>16;e=g+c|0;if(e>>>0>=b>>>0){break a}vy(a,b,e,d);if(f&2){if((d&-2)==4){b=I(c,20)+a|0;C[b+12>>2]=C[b+12>>2]+C[(I(e,20)+a|0)+12>>2];return}b=I(c,20)+a|0;C[b+8>>2]=C[b+8>>2]+C[(I(e,20)+a|0)+8>>2];return}h=I(c,20)+a|0;b=I(e,20)+a|0;f=C[h+8>>2]+C[b+8>>2]|0;C[h+8>>2]=f;b=C[h+12>>2]+C[b+12>>2]|0;C[h+12>>2]=b;b:{if((d&-3)!=4){e=e+1|0;if(e>>>0>=c+1>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=I(d,20)+a|0;b=C[e+4>>2]+b|0;f=C[e>>2]+f|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=I(e,20)+a|0;b=(((C[d+4>>2]+b|0)+C[d+24>>2]|0)+C[d+44>>2]|0)+C[d- -64>>2]|0;f=C[d+60>>2]+(C[d+40>>2]+(C[d+20>>2]+(C[d>>2]+f|0)|0)|0)|0;d=e+3|0;e=e+4|0;if((c|0)!=(d|0)){continue}break}break b}if(c>>>0<=e>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=I(d,20)+a|0;b=b-C[e+4>>2]|0;f=f-C[e>>2]|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=I(e,20)+a|0;b=b-(((C[d+4>>2]+C[d+24>>2]|0)+C[d+44>>2]|0)+C[d- -64>>2]|0)|0;f=f-(C[d+60>>2]+(C[d+40>>2]+(C[d>>2]+C[d+20>>2]|0)|0)|0)|0;e=e+4|0;if((e|0)!=(c|0)){continue}break}}C[h+8>>2]=f;C[h+12>>2]=b}}function DO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-464|0;Ce=e;f=b+8|0;g=C[f+4>>2];C[e+16>>2]=C[f>>2];C[e+20>>2]=g;C[e+40>>2]=C[b+32>>2];f=C[b+28>>2];C[e+32>>2]=C[b+24>>2];C[e+36>>2]=f;f=C[b+20>>2];C[e+24>>2]=C[b+16>>2];C[e+28>>2]=f;f=C[b+4>>2];g=C[b>>2];C[e+16>>2]=2;C[e+8>>2]=g;C[e+12>>2]=f;a:{switch(C[b+8>>2]-7|0){case 0:case 3:C[e+16>>2]=3;break;default:break a}}mj(a,e+452|0);b:{if(C[e+460>>2]!=3){h=162;break b}i=C[a>>2];f=C[e+452>>2]+1|0;C[a>>2]=f;j=C[a+8>>2];h=C[e+456>>2]-1|0;C[a+8>>2]=h;g=e+48|0;c:{if(f>>>0>=h>>>0){break c}f=0;while(1){mj(a,e+440|0);g=(e+48|0)+I(f,12)|0;if(!C[e+448>>2]){break c}if(f>>>0<=31){h=C[e+444>>2];C[g>>2]=C[e+440>>2];C[g+4>>2]=h;C[g+8>>2]=C[e+448>>2]}f=f+1|0;if(F[a>>2]>2]){continue}break}g=(e+48|0)+I(f,12)|0}C[a+8>>2]=j;C[a>>2]=i;f=g-(e+48|0)|0;if((f|0)<0){h=162;break b}f=(f>>>0)/12|0;g=C[b+24>>2];g=f>>>0>>0?f:g;d:{if(C[b+8>>2]==7){break d}b=C[b+28>>2];if(!b){break d}A[b+C[c>>2]|0]=g}e:{if(g){f=e+48|0;b=C[e+24>>2];k=D[e+28|0];while(1){C[a>>2]=C[f>>2];C[a+8>>2]=C[f+4>>2];h=Av(a,e+8|0,c,d,e);if(h){break e}b=b+k|0;C[e+24>>2]=b;f=f+12|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}}h=0}C[a+8>>2]=j;C[a>>2]=i}Ce=e+464|0;return h|0}function eo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!(!b|(!c|!a))){d=C[b+128>>2];if((C[b+132>>2]-d|0)<=0){b:{if(d^2147483647){f=d+1|0;f=(f|0)>=2147483639?2147483647:(f&-8)+8|0;d=Po(a,C[b+136>>2],d,f-d|0,28);if(d){break b}}xg(a,7206,1);return 1}nf(a,C[b+136>>2]);C[b+136>>2]=d;C[b+132>>2]=f;C[b+244>>2]=C[b+244>>2]|16384}while(1){i=I(l,28)+c|0;d=C[i+4>>2];c:{if(!d){break c}h=C[i>>2];if(h-3>>>0<=4294967291){xg(a,18210,1);break c}g=I(C[b+128>>2],28);e=C[b+136>>2];f=af(d);m=(h|0)<=0;d:{if(m){j=0;d=0;break d}d=0;j=0;k=C[i+20>>2];if(k){j=af(k)}k=C[i+24>>2];if(!k){break d}d=af(k)}e=e+g|0;g=C[i+8>>2];e:{if(!(D[g|0]?g:0)){h=m?-1:1;g=0;break e}g=af(g)}C[e>>2]=h;h=jh(a,(g+((f+j|0)+d|0)|0)+4|0);C[e+4>>2]=h;if(!h){break a}jf(h,C[i+4>>2],f);h=e+4|0;A[f+C[h>>2]|0]=0;f:{if(C[i>>2]>0){f=(f+C[e+4>>2]|0)+1|0;C[e+20>>2]=f;jf(f,C[i+20>>2],j);A[C[e+20>>2]+j|0]=0;f=(C[e+20>>2]+j|0)+1|0;C[e+24>>2]=f;jf(f,C[i+24>>2],d);A[C[e+24>>2]+d|0]=0;h=e+24|0;break f}C[e+20>>2]=0;C[e+24>>2]=0;d=f}d=(C[h>>2]+d|0)+1|0;C[e+8>>2]=d;if(g){jf(d,C[i+8>>2],g);d=C[e+8>>2]}A[d+g|0]=0;d=C[e>>2]>0;C[e+16>>2]=d?g:0;C[e+12>>2]=d?0:g;C[b+128>>2]=C[b+128>>2]+1}l=l+1|0;if((l|0)!=1){continue}break}}return 0}xg(a,1222,1);return 1}function wo(a){var 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;c=C[a+528>>2];if(c){h=C[c+4>>2];f=C[c>>2];e=C[a+100>>2];b=C[c+24>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+24>>2]=0;if(f>>>0>=2){p(c+28|0,0,(f<<2)-4|0)}b=C[c+216>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+216>>2]=0;b=C[c+148>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+148>>2]=0;b=C[c+288>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+288>>2]=0;a:{if(!f){break a}if(f>>>0>=4){n=f&-4;i=c+212|0;j=c+144|0;k=c+284|0;while(1){b=d<<2;C[b+i>>2]=0;C[b+j>>2]=0;C[b+k>>2]=0;g=b|4;C[g+i>>2]=0;C[g+j>>2]=0;C[g+k>>2]=0;g=b|8;C[g+i>>2]=0;C[g+j>>2]=0;C[g+k>>2]=0;b=b|12;C[b+i>>2]=0;C[b+j>>2]=0;C[b+k>>2]=0;d=d+4|0;l=l+4|0;if((l|0)!=(n|0)){continue}break}}b=f&3;if(!b){break a}while(1){f=c+(d<<2)|0;C[f+284>>2]=0;C[f+144>>2]=0;C[f+212>>2]=0;d=d+1|0;m=m+1|0;if((b|0)!=(m|0)){continue}break}}d=C[c+136>>2];if(d){Fe[C[e+8>>2]](e,d)}C[c+136>>2]=0;C[c+140>>2]=0;b:{if(!h){break b}d=0;while(1){f=c+(d<<2)|0;b=C[f+8>>2];if(b){Fe[C[e+8>>2]](e,b)}C[f+8>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}if(!h){break b}f=c+88|0;d=0;while(1){c=f+I(d,12)|0;b=C[c+4>>2];if(b){Fe[C[e+8>>2]](e,b)}A[c|0]=0;C[c+4>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}c=C[a+528>>2];if(c){Fe[C[e+8>>2]](e,c)}C[a+528>>2]=0}}function rp(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,o=0,p=0;i=Ce-16|0;Ce=i;j=C[c+12>>2];h=D[a|0];if(h){f=h;e=a;while(1){g=(f<<24>>24)+I(g,31)|0;f=D[e+1|0];e=e+1|0;if(f){continue}break}}a:{b:{c:{e=g;g=C[c+4>>2];e=j+((e>>>0)%(g>>>0)<<2)|0;f=C[e>>2];if(f){g=(j+(g<<2)|0)-4|0;while(1){k=C[f>>2];if((h|0)==D[k|0]){if(!Se(k,a)){break c}}e=e-4|0;e=e>>>0>>0?g:e;f=C[e>>2];if(f){continue}break}}C[i+8>>2]=0;h=hf(d,8,i+8|0);f=C[i+8>>2];if(f){break a}C[e>>2]=h;C[h+4>>2]=b;C[h>>2]=a;a=C[c+8>>2];if(a>>>0>=F[c>>2]){b=C[c+12>>2];j=C[c+4>>2];C[i+12>>2]=0;a=j<<1;C[c>>2]=(a>>>0)/3;C[c+4>>2]=a;o=c,p=Ve(d,4,0,a,0,i+12|0),C[o+12>>2]=p;f=C[i+12>>2];if(f){break a}if(j){a=b;while(1){l=C[a>>2];if(l){k=C[c+12>>2];g=0;h=C[l>>2];m=D[h|0];f=m;e=h;if(f){while(1){g=(f<<24>>24)+I(g,31)|0;f=D[e+1|0];e=e+1|0;if(f){continue}break}}e=g;g=C[c+4>>2];f=((e>>>0)%(g>>>0)<<2)+k|0;e=C[f>>2];d:{if(!e){break d}g=((g<<2)+k|0)-4|0;while(1){e=C[e>>2];if((m|0)==D[e|0]){if(!Se(e,h)){break d}}e=f-4|0;f=e>>>0>>0?g:e;e=C[f>>2];if(e){continue}break}}C[f>>2]=l}a=a+4|0;n=n+1|0;if((n|0)!=(j|0)){continue}break}}if(b){Fe[C[d+8>>2]](d,b)}f=C[i+12>>2];if(f){break a}a=C[c+8>>2]}C[c+8>>2]=a+1;break b}C[f+4>>2]=b}f=0}Ce=i+16|0;return f}function EF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=C[a+36>>2]/2|0;a:{g=C[a+28>>2];if(!g){break a}d=C[a+56>>2];e=C[a+48>>2];h=C[a+16>>2];b=C[a+24>>2];i=b&7;j=(b+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];k=f<<1;b:while(1){g=g-1|0;f=j;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=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=1;continue;case 1:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=2;continue;case 2:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=3;continue;case 3:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=4;continue;case 4:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=5;continue;case 5:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=6;continue;case 6:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=7;continue;default:break e}}b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}b=f-1|0;a=a+2|0;c=c+1|0;f:{if((f|0)>1){f=b;break f}c=c+h|0;a=a+k|0;if(g){continue b}break a}b=0;continue}}}}function CF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=C[a+36>>2]/4|0;a:{g=C[a+28>>2];if(!g){break a}d=C[a+56>>2];e=C[a+48>>2];h=C[a+16>>2];b=C[a+24>>2];i=b&7;j=(b+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];k=f<<2;b:while(1){g=g-1|0;f=j;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=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=1;continue;case 1:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=2;continue;case 2:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=3;continue;case 3:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=4;continue;case 4:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=5;continue;case 5:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=6;continue;case 6:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=7;continue;default:break e}}b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}b=f-1|0;a=a+4|0;c=c+1|0;f:{if((f|0)>1){f=b;break f}c=c+h|0;a=a+k|0;if(g){continue b}break a}b=0;continue}}}}function yE(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){h=(I(h,q)>>>0)/255|0;g=(I(g,r)>>>0)/255|0;i=(I(i,p)>>>0)/255|0}if(s){h=(I(h,k)>>>0)/255|0;g=(I(g,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:f=((I(f,j)>>>0)/255|0)+i|0;e=((I(e,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+g|0;break a;case 1:d=i+f|0;f=d>>>0>=255?255:d;d=e+h|0;e=d>>>0>=255?255:d;b=b+g|0;b=b>>>0>=255?255:b;break a;case 3:f=(I(i,f)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;b=(I(b,g)>>>0)/255|0;break a;case 7:break b;default:break a}}d=(I(i+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=e<<8|b|f<<16;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function RE(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){g=(I(g,p)>>>0)/255|0;h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0}if(s){g=(I(g,k)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:b=((I(b,j)>>>0)/255|0)+g|0;e=((I(e,j)>>>0)/255|0)+h|0;f=((I(f,j)>>>0)/255|0)+i|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;d=e+h|0;e=d>>>0>=255?255:d;d=i+f|0;f=d>>>0>=255?255:d;break a;case 3:b=(I(b,g)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;f=(I(i,f)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;d=(I(i+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d}C[n>>2]=e<<8|f<<16|b;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function NE(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){g=(I(g,p)>>>0)/255|0;h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0}if(s){g=(I(g,k)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:f=((I(f,j)>>>0)/255|0)+g|0;e=((I(e,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+i|0;break a;case 1:d=f+g|0;f=d>>>0>=255?255:d;d=e+h|0;e=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:f=(I(f,g)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}d=(I(g+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=e<<8|b|f<<16;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function CE(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){h=(I(h,q)>>>0)/255|0;g=(I(g,r)>>>0)/255|0;i=(I(i,p)>>>0)/255|0}if(s){h=(I(h,k)>>>0)/255|0;g=(I(g,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:b=((I(b,j)>>>0)/255|0)+i|0;e=((I(e,j)>>>0)/255|0)+h|0;f=((I(f,j)>>>0)/255|0)+g|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;d=e+h|0;e=d>>>0>=255?255:d;d=f+g|0;f=d>>>0>=255?255:d;break a;case 3:b=(I(b,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;f=(I(f,g)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;d=(I(g+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d}C[n>>2]=e<<8|f<<16|b;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function zD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){k=(I(h,k)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+l|0;f=((I(c,f)>>>0)/255|0)+k|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+l|0;b=b>>>0>=255?255:b;c=f+k|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,l)&65535)>>>0)/255|0;f=((I(f,k)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(l+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(k+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function hE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){i=(I(h,i)>>>0)/255|0;k=(I(h,k)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+k|0;g=((I(c,g)>>>0)/255|0)+l|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+k|0;f=c>>>0>=255?255:c;c=g+l|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(f,k)&65535)>>>0)/255|0;g=((I(g,l)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(k+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(l+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function gD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){i=(I(h,i)>>>0)/255|0;k=(I(h,k)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+l|0;g=((I(c,g)>>>0)/255|0)+k|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+l|0;f=c>>>0>=255?255:c;c=g+k|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(f,l)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(l+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(k+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function PD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){k=(I(h,k)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+k|0;f=((I(c,f)>>>0)/255|0)+l|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+k|0;b=b>>>0>=255?255:b;c=f+l|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,k)&65535)>>>0)/255|0;f=((I(f,l)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(k+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(l+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function DK(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+100>>2];b=C[a+544>>2];if(b){if(b){Fe[C[c+8>>2]](c,b)}C[a+540>>2]=0;C[a+544>>2]=0}wo(a);C[a+528>>2]=0;b=C[a+132>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+136>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+144>>2]=0;b=C[a+148>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+148>>2]=0;b=C[a+428>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+428>>2]=0;b=C[a+424>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+424>>2]=0;b=C[a+420>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+420>>2]=0;b=C[a+408>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+408>>2]=0;b=C[a+412>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+412>>2]=0;b=C[a+392>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+392>>2]=0;b=C[a+396>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+396>>2]=0;b=C[a+400>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+400>>2]=0;b=C[a+384>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+384>>2]=0;b=C[a+388>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+388>>2]=0;b=C[a+364>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+364>>2]=0;b=C[a+492>>2];if(b){d=C[b+36>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+36>>2]=0;C[b+40>>2]=0;d=C[b+28>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+28>>2]=0;C[b+32>>2]=0;if(b){Fe[C[c+8>>2]](c,b)}}C[a+20>>2]=0;C[a+24>>2]=0}}function GJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=C[C[C[a+4>>2]+96>>2]+28>>2];e=C[a+160>>2];f=C[e+156>>2];a:{if(!(!f|!(A[f+4|0]&1))){f=C[C[e+4>>2]+100>>2];g=C[e+88>>2];if(g){Fe[C[f+8>>2]](f,g)}C[e+88>>2]=0;f=C[e+156>>2];C[f+4>>2]=C[f+4>>2]&-2;break a}C[e+88>>2]=0}C[e+24>>2]=0;C[e+28>>2]=0;C[e+152>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+40>>2]=0;C[e+44>>2]=0;C[e+48>>2]=0;C[e+52>>2]=0;C[e+56>>2]=0;C[e+60>>2]=0;p(e+72|0,0,72);c=Fe[C[h+72>>2]](C[a+160>>2],C[b+44>>2],c,d|8)|0;if(!c){b=C[a+160>>2];d=C[b+28>>2];C[a+24>>2]=C[b+24>>2];C[a+28>>2]=d;d=C[b+36>>2];C[a+32>>2]=C[b+32>>2];C[a+36>>2]=d;d=C[b+44>>2];C[a+40>>2]=C[b+40>>2];C[a+44>>2]=d;d=C[b+52>>2];C[a+48>>2]=C[b+48>>2];C[a+52>>2]=d;C[a+56>>2]=C[b+56>>2];C[a+60>>2]=C[b+60>>2];C[a+72>>2]=C[b+72>>2];C[a+124>>2]=C[b+124>>2];d=C[b+120>>2];C[a+116>>2]=C[b+116>>2];C[a+120>>2]=d;d=C[b+112>>2];C[a+108>>2]=C[b+108>>2];C[a+112>>2]=d;d=C[b+96>>2];C[a+92>>2]=C[b+92>>2];C[a+96>>2]=d;d=C[b+88>>2];C[a+84>>2]=C[b+84>>2];C[a+88>>2]=d;d=C[b+80>>2];C[a+76>>2]=C[b+76>>2];C[a+80>>2]=d;C[a+100>>2]=C[b+100>>2];C[a+104>>2]=C[b+104>>2];C[a+128>>2]=C[b+128>>2];C[a+132>>2]=C[b+132>>2];C[a+136>>2]=C[b+136>>2];C[a+140>>2]=C[b+140>>2]}return c|0}function Ox(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0){break a}if(c-a>>>0<=11){break a}f=C[b+12>>2];d=f-12|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=f-14|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;c:{if(!c){break c}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;d:{if(!c){break d}c=((c<<8|c>>>8)&65535)+a|0;C[e+12>>2]=c;if(Nx(c,b,e+12|0)){break d}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=D[a+6|0]|D[a+7|0]<<8;C[e+8>>2]=(d<<8|d>>>8)&65535;g=Mx(a+10|0,b,a,e+8|0)}Ce=e+16|0;return g}function rz(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(uq(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(uq(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=uq(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 205712}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function _y(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(bq(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(bq(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=bq(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 205712}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function Zy(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(aq(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(aq(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=aq(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 205712}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function $y(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(cq(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(cq(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=cq(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 205712}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function Fn(a,b){var c=0,d=0,e=0;e=Ce-32|0;Ce=e;if(Ij(b,e+28|0,e+24|0,e+20|0,e+16|0,e+12|0)){lf(a,0,44);C[a>>2]=b;b=C[e+28>>2];A[a+8|0]=b;A[a+9|0]=(b+7|0)/8;b=C[e+24>>2];A[a+32|0]=0;C[a+12>>2]=b;A[a+28|0]=8;a:{if(!b){break a}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}A[a+32|0]=c;if(!(d&2)){break a}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}A[a+28|0]=c}b=C[e+20>>2];c=0;A[a+33|0]=0;C[a+16>>2]=b;A[a+29|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}A[a+33|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}A[a+29|0]=c}b=C[e+16>>2];c=0;A[a+34|0]=0;C[a+20>>2]=b;A[a+30|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}A[a+34|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}A[a+30|0]=c}b=C[e+12>>2];c=0;A[a+35|0]=0;C[a+24>>2]=b;A[a+31|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}A[a+35|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}A[a+31|0]=c}C[a+36>>2]=1;C[a+40>>2]=0;C[a+4>>2]=0;a=0}else{a=-1}Ce=e+32|0;return a}function VE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=C[a+36>>2]/2|0;b=C[a+16>>2]/4|0;a:{e=C[a+28>>2];if(!e){break a}f=C[a+24>>2];g=f&7;f=(f+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];h=d<<1;i=b<<2;b:while(1){e=e-1|0;d=f;c:{d:{switch(g-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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;b=d-1|0;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=b;break f}a=a+h|0;c=c+i|0;if(e){continue b}break a}b=0;continue}}}}function BC(a,b,c,d,e,f,g,h,i,j,k,l,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;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=J(n);o=J(o);var p=0,q=0,r=J(0),s=0,t=0,u=0;p=C[a+412>>2];if(p){q=C[p+4>>2];q=(q|0)==372645892|(q|0)==370546692}j=k?l:j;C[b+8>>2]=j;l=k?m:0;b=b+4|0;a:{if(c){a=ki(a,I(j,20),b);if(!a){return-1}if((j|0)<=0){break a}t=l-1|0;l=0;while(1){b=l;b:{c:{switch(t|0){case 3:b=C[(l<<2)+k>>2];break b;case 1:b=E[(l<<1)+k>>1];break b;case 0:break c;default:break b}}b=D[k+l|0]}c=I(b,g)+f|0;u=D[c+1|0];m=D[c+2|0];p=D[c|0];c=D[c+3|0];s=I(b,e)+d|0;G[a>>2]=G[s>>2]*n;r=G[s+4>>2];A[a+11|0]=c;A[a+10|0]=q?p:m;A[a+9|0]=u;A[a+8|0]=q?m:p;G[a+4>>2]=r*o;b=I(b,i)+h|0;G[a+12>>2]=G[b>>2];G[a+16>>2]=G[b+4>>2];a=a+20|0;l=l+1|0;if((j|0)!=(l|0)){continue}break}break a}a=ki(a,I(j,12),b);if(!a){return-1}if((j|0)<=0){break a}i=l-1|0;m=0;while(1){l=m;d:{e:{switch(i|0){case 3:l=C[(m<<2)+k>>2];break d;case 1:l=E[(m<<1)+k>>1];break d;case 0:break e;default:break d}}l=D[k+m|0]}b=I(g,l)+f|0;p=D[b+1|0];c=D[b+2|0];h=D[b|0];b=D[b+3|0];l=I(e,l)+d|0;G[a>>2]=G[l>>2]*n;r=G[l+4>>2];A[a+11|0]=b;A[a+10|0]=q?h:c;A[a+9|0]=p;A[a+8|0]=q?c:h;G[a+4>>2]=r*o;a=a+12|0;m=m+1|0;if((j|0)!=(m|0)){continue}break}}return 0}function $h(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ce-16|0;Ce=g;i=C[a+100>>2];C[g+12>>2]=0;j=C[a+356>>2];m=E[a+340>>1];a:{b:{if(!m){l=-1;h=-1;k=-1;break b}l=-1;h=-1;e=-1;k=-1;d=j;while(1){c:{if(!E[d+8>>1]|E[d+6>>1]!=(b|0)){break c}d:{switch(E[d>>1]){case 0:case 2:l=f;break c;case 1:if(!E[d+4>>1]){e=f;break c}k=E[d+2>>1]?k:f;break c;case 3:break d;default:break c}}if((h|0)!=-1&(E[d+4>>1]&1023)!=9){break c}n=E[d+2>>1];if(n>>>0>10|!(1<>1]&1023)==9;h=f}d=d+20|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}if((e|0)>=0){break a}}e=k}e:{f:{g:{h:{if((h|0)>=0){if((e|0)>=0){b=1053;if(!o){break h}}f=0;d=I(h,20)+j|0;e=E[d+2>>1];if(e>>>0>10){break e}b=1054;if(1<=0){break h}f=0;b=1054;e=l;if((e|0)<0){break e}}if(!j){break f}d=I(e,20)+j|0}i:{if(C[d+16>>2]){break i}e=C[a+360>>2];f=0;p=d,q=Ve(i,1,0,E[d+8>>1],0,g+12|0),C[p+16>>2]=q;j:{if(C[g+12>>2]){break j}a=bf(e,C[d+12>>2]);C[g+12>>2]=a;if(a){break j}a=jg(e,C[d+16>>2],E[d+8>>1]);C[g+12>>2]=a;if(!a){break i}}a=C[d+16>>2];if(a){Fe[C[i+8>>2]](i,a)}B[d+8>>1]=0;C[d+16>>2]=0;break e}f=Fe[b|0](d,i)|0;break e}f=0}C[c>>2]=f;Ce=g+16|0;return C[g+12>>2]}function Tl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ce+-64|0;Ce=e;a:{if(c-512>>>0<4294966785){break a}b:{c:{d:{switch(b|0){case 1:d=c+419102|0;f=D[d|0];if(!D[c+419614|0]){break c}h=1;if(a&f){break c}A[c+419102|0]=a|f;d=0;break a;case 0:break d;default:break a}}if(!D[c+419614|0]){break a}A[c+419102|0]=0;f=769;break b}A[d|0]=a|f;i=1;f=768}A[c+419614|0]=b;g=C[(c<<2)+420128>>2];if((a|0)==2){C[105544]=1}d=64;e:{f:{switch(g-1073742048|0){case 4:d=128;break e;case 1:d=1;break e;case 5:d=2;break e;case 2:d=256;break e;case 6:d=512;break e;case 3:d=1024;break e;case 7:d=2048;break e;case 33:d=16384;break e;case 0:break e;default:break f}}d=0}g:{if(i){h:{switch(g-1073741881|0){case 26:a=E[209550]^4096;break g;case 0:a=E[209550]^8192;break g;case 14:a=E[209550]^-32768;break g;default:break h}}a=E[209550]|d;break g}a=E[209550]&(d^-1)}d=0;B[209550]=a;if((qf(f,-1)|0)==1){C[e+28>>2]=g;B[e+32>>1]=E[209550];C[e+24>>2]=c;A[e+21|0]=h;A[e+20|0]=b;C[e+8>>2]=f;a=C[104774];if(a){a=C[a+4>>2]}else{a=0}C[e+16>>2]=a;d=(Df(e+8|0)|0)>0}if(!(D[419101]&3)|((b|0)!=1|(g|0)!=9)){break a}a=C[104774];if(!a|(C[a+48>>2]&1048577)!=1048577){break a}if(!cg(28239,1)){break a}pn(C[104774])}Ce=e- -64|0;return d}function UE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=C[a+36>>2]/2|0;b=C[a+16>>2]/4|0;a:{e=C[a+28>>2];if(!e){break a}f=C[a+24>>2];g=f&7;f=(f+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];h=d<<1;i=b<<2;b:while(1){e=e-1|0;d=f;c:{d:{switch(g-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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;b=d-1|0;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=b;break f}a=a+h|0;c=c+i|0;if(e){continue b}break a}b=0;continue}}}}function bx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ce-16|0;Ce=g;C[g+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}d=0;if((b|0)==(c|0)){break a}e=C[c+8>>2];h=e>>31|1;f=C[b+8>>2];i=f>>31|1;if(!C[b+12>>2]){a=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=a;a=C[b+20>>2];C[c+16>>2]=C[b+16>>2];C[c+20>>2]=a;a=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=a;if((h|0)==(i|0)){break a}C[c+8>>2]=0-C[c+8>>2];break a}d=f>>31;f=(d^f)-d|0;d=I(f,C[b>>2]);j=C[a>>2];a=C[c+12>>2];b:{c:{if(a){k=e>>31;e=I(C[c>>2],(e^k)-k|0);if((e|0)==(d|0)){break b}a=Rv(j,e,d,a,g+12|0);break c}a=Pk(j,d,g+12|0)}C[c+12>>2]=a}d:{if(C[g+12>>2]){break d}e=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=e;e=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=e;e=C[b+20>>2];C[c+16>>2]=C[b+16>>2];C[c+20>>2]=e;C[c+12>>2]=a;if((h|0)==(i|0)){t(a,C[b+12>>2],d);break d}d=C[c>>2];if(!d){break d}h=0;e=0-f|0;c=I(f,d-1|0)+a|0;b=C[b+12>>2];i=d&3;e:{if(!i){a=d;break e}a=d;while(1){t(c,b,f);a=a-1|0;c=c+e|0;b=b+f|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(d>>>0<4){break d}while(1){t(c,b,f);c=c+e|0;b=b+f|0;t(c,b,f);c=c+e|0;b=b+f|0;t(c,b,f);c=c+e|0;b=b+f|0;t(c,b,f);c=c+e|0;b=b+f|0;a=a-4|0;if(a){continue}break}}d=C[g+12>>2]}Ce=g+16|0;return d}function Sr(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;i=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=((I(a&255,i)>>>0)/255|0)+g|((I(a>>>24|0,i)>>>0)/255|0)+h<<24|((I(a>>>16&255,i)>>>0)/255|0)+e<<16|((I(a>>>8&255,i)>>>0)/255|0)+f<<8;return 0;case 1:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=(a>>>16&255)+e|0;d=a&-16777216|(b>>>0>=255?255:b)<<16;b=(a>>>8&255)+f|0;a=(a&255)+g|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=(I(a&255,g)>>>0)/255|a&-16777216|(I(a>>>16&255,e)>>>0)/255<<16|(I(a>>>8&255,f)>>>0)/255<<8;return 0;case 7:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=a>>>16&255;b=((I(b,e)>>>0)/255|0)+((I(b,i)>>>0)/255|0)|0;d=(b>>>0>=255?255:b)<<16;b=a>>>24|0;b=((I(b,h)>>>0)/255|0)+((I(b,i)>>>0)/255|0)|0;d=d|(b>>>0>=255?255:b)<<24;b=a>>>8&255;b=((I(b,f)>>>0)/255|0)+((I(b,i)>>>0)/255|0)|0;a=a&255;a=((I(a,g)>>>0)/255|0)+((I(a,i)>>>0)/255|0)|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;default:break a}}C[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=h<<24|e<<16|f<<8|g;return 0}function jn(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;a:{if(!D[a+12|0]){break a}if(!b){return}e=C[a+20>>2];if(F[a+24>>2]<=(e>>>1|0)+e>>>0){e=0;b:{if(!D[a+12|0]){break b}e=(C[a+16>>2]<<1)+8|0;j=e?32-L(e)|0:0;g=kf(12<>>0<=29){n=g+I(h,12)|0;k=C[105678];l=C[105677];m=C[105676];f=g;e=h;while(1){c:{if(!e){k=0;l=0;m=0;i=0;break c}C[f+8>>2]=0;C[f>>2]=0;C[f+4>>2]=0;i=1}e=e-i|0;f=I(i,12)+f|0;if((n|0)!=(f|0)){continue}break}C[105678]=k;C[105677]=l;C[105676]=m}C[a+16>>2]=0;C[a+20>>2]=0;i=C[a+32>>2];C[a+32>>2]=g;g=C[a+24>>2];C[a+24>>2]=h-1;C[a+28>>2]=C[(j>>>0>31?156412:(j<<2)+156288|0)>>2];if(!(!i|(g|0)==-1)){e=0;while(1){f=e;e=i+I(e,12)|0;h=C[e>>2];if(!(!h|!C[e+4>>2])){jn(a,h,C[e+8>>2],e+4|0)}e=f+1|0;if((f|0)!=(g|0)){continue}break}}Re(i);e=1}if(!e){break a}}f=Pq(a,b,c);g=C[a+32>>2];h=I(f,12)+g|0;e=C[h>>2];d:{e:{if(!C[d>>2]){if((b|0)!=(e|0)){break a}h=g+I(f,12)|0;break e}if(e){break e}e=C[a+20>>2]+1|0;break d}e=C[a+20>>2];C[a+20>>2]=e-1;if(!C[(g+I(f,12)|0)+4>>2]){break d}C[a+16>>2]=C[a+16>>2]-1}C[h>>2]=b;d=C[d>>2];b=g+I(f,12)|0;C[b+8>>2]=c;C[b+4>>2]=d;C[a+20>>2]=e;if(!C[b+4>>2]){return}C[a+16>>2]=C[a+16>>2]+1}}function _g(a,b,c){var d=0,e=0,f=0,g=0;g=Ce-32|0;Ce=g;a:{if(!(D[a|0]?a:0)){C[g>>2]=17197;Qe(19745,g);break a}if(!b){C[g+16>>2]=14466;Qe(19745,g+16|0);break a}d=C[104767];b:{if(!d){break b}while(1){if(!uf(a,C[d>>2])){e=C[d+12>>2];if(!e){break b}d=d+12|0;while(1){if(!(C[e>>2]!=(b|0)|C[e+4>>2]!=(c|0))){C[(f?f+8|0:d)>>2]=C[e+8>>2];if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}break b}f=e;e=C[e+8>>2];if(e){continue}break}break b}d=C[d+16>>2];if(d){continue}break}}e=Fe[C[94503]](12)|0;if(e){C[94507]=C[94507]+1}if(!e){_e(0);break a}C[e+4>>2]=c;C[e>>2]=b;c:{d:{d=C[104767];if(d){while(1){if(!uf(a,C[d>>2])){break d}d=C[d+16>>2];if(d){continue}break}}d=Fe[C[94503]](20)|0;if(d){C[94507]=C[94507]+1}if(!d){_e(0);if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}break a}f=Og(a);C[d>>2]=f;if(!f){if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}_e(0);break a}C[d+12>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+16>>2]=C[104767];C[104767]=d;f=0;break c}f=C[d+12>>2]}C[e+8>>2]=f;C[d+12>>2]=e;e=Ug(a);d=C[104767];e:{if(!d){break e}while(1){if(!uf(a,C[d>>2])){if(C[d+8>>2]!=2?e:0){break e}e=C[d+4>>2];break e}d=C[d+16>>2];if(d){continue}break}}Fe[b|0](c,a,e,e)}Ce=g+32|0}function Jj(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,o=0;e=Ce-16|0;Ce=e;c=C[a>>2];a:{if(!(c&2)){break a}C[a>>2]=c&-3;b:{if(!b|c&1){break b}b=C[a+52>>2];if(D[b+69|0]&32){c=Ol(I(C[a+16>>2],C[a+12>>2]));C[a+20>>2]=c;b=C[a>>2];if(c){C[a>>2]=b|8;Kj(a,C[C[a+52>>2]+72>>2]);C[e>>2]=0;C[e+4>>2]=0;C[e+8>>2]=C[a+8>>2];C[e+12>>2]=C[a+12>>2];Ls(a,e,a,e);break b}C[a>>2]=b|2;break a}j=C[a+8>>2];k=C[a+4>>2];g=C[b+12>>2];b=D[g|0];c=Ol(I(C[a+16>>2],C[a+12>>2]));C[a+20>>2]=c;d=C[a>>2];if(c){i=(b|0)==2;m=i?271:272;n=i?273:272;C[a>>2]=d|8;lf(c,0,I(C[a+16>>2],C[a+12>>2]));c=g+28|0;h=C[a+20>>2];o=(b|0)!=2;while(1){b=0;while(1){c:{if(!o){f=D[c|0];l=2;d=D[c+1|0];break c}f=E[c>>1];l=4;d=E[c+2>>1]}b=b+f|0;c=c+l|0;d:{if(d){c=(Fe[n|0]((b<<2)+h|0,c,d,g,k)|0)+c|0;b=b+d|0;break d}if(!b){break b}}if((b|0)<(j|0)){continue}break}b=0;c=(i?c&2:0)+c|0;while(1){d=c+4|0;f=E[c>>1]+b|0;c=E[c+2>>1];e:{if(!c){b=f;break e}b=c+f|0;d=(Fe[m|0]((f<<2)+h|0,d,c,g,k)|0)+d|0}c=d;if((b|0)<(j|0)){continue}break}h=(C[a+16>>2]&-4)+h|0;continue}}C[a>>2]=d|2;break a}b=C[a+52>>2];C[b+68>>2]=C[b+68>>2]&-24577;b=C[b+12>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[C[a+52>>2]+12>>2]=0}Ce=e+16|0}function $M(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>F[b+160>>2]){tf(b,8)}c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(c>>>0<=C[b+160>>2]-a>>>0&c>>>0>8207)){tf(b,8)}c=D[a+8204|0]|D[a+8205|0]<<8|(D[a+8206|0]<<16|D[a+8207|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(C[b+160>>2]-d>>>0)/12>>>0){tf(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);j=D[d+1|0]<<16|D[d|0]<<24;a=j|(D[d+3|0]|D[d+2|0]<<8);k=D[d+5|0]<<16|D[d+4|0]<<24;c=k|(D[d+7|0]|D[d+6|0]<<8);if(a>>>0>c>>>0){tf(b,8)}if(!(!i|a>>>0>e>>>0)){tf(b,8)}c:{if(!C[b+164>>2]){break c}l=C[b+172>>2];e=c-a|0;if(!(l>>>0>=e>>>0&l-e>>>0>(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0)){tf(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(D[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){tf(b,8)}if(!(D[(a>>>3&8191)+h|0]<<(a&7)&128)){tf(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){tf(b,8)}if(!e){break c}while(1){if(D[(a>>>3&8191)+h|0]<<(a&7)&128){tf(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 Jr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0;o(+a);c=j(1)|0;c=c&2147483647;f=!(j(0)|0)&(c|0)==2146435072|c>>>0<2146435072;o(+b);c=j(1)|0;c=c&2147483647;d=a+b;a:{if(!(f&(!(j(0)|0)&(c|0)==2146435072|c>>>0<2146435072))){break a}o(+b);e=j(1)|0;c=j(0)|0;f=c;if(!(c|e-1072693248)){d=Zj(a);break a}o(+a);c=j(1)|0;g=j(0)|0;k=e>>>30&2;h=k|c>>>31;c=c&2147483647;b:{if(!(g|c)){c:{switch(h-2|0){case 0:d=3.141592653589793;break a;case 1:break c;default:break b}}d=-3.141592653589793;break a}o(1.5707963267948966);g=j(1)|0;i=j(0)|0;o(+a);m=j(1)|0;j(0)|0;l(0,i|0);l(1,g&2147483647|m&-2147483648);e=e&2147483647;d=+n();if(!(e|f)){break a}d:{if((e|0)==2146435072){if((c|0)!=2146435072){break d}d=H[(h<<3)+360192>>3];break a}o(1.5707963267948966);f=j(1)|0;i=j(0)|0;o(+a);g=j(1)|0;j(0)|0;l(0,i|0);l(1,f&2147483647|g&-2147483648);d=+n();if(!((c|0)!=2146435072&e+67108864>>>0>=c>>>0)){break a}e:{if(k){d=0;if(e>>>0>c+67108864>>>0){break e}}d=Zj(K(a/b))}a=d;f:{switch(h|0){case 1:d=-a;break a;case 2:d=3.141592653589793-(a+-12246467991473532e-32);break a;case 0:break b;default:break f}}d=a+-12246467991473532e-32+-3.141592653589793;break a}a=H[(h<<3)+360224>>3]}d=a}return d}function su(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-16|0;Ce=g;e=-1;f=C[a+732>>2];if(f+1>>>0>=2){e=f}a:{b:{c:{if(c>>>0>>0){e=(c^-1)+e|0;if(e>>>0>2]){C[d>>2]=e}e=vo(a,C[a+372>>2]);if(!e){i=b-c|0;C[g+12>>2]=i;b=ru(a,C[a+372>>2],C[a+760>>2]+c|0,g+12|0,0,d);if((b|0)==1){f=-2;e=a+220|0;d:{if(!e|!C[e+32>>2]|!C[e+36>>2]){break d}b=C[e+28>>2];if(!b|(e|0)!=C[b>>2]|C[b+4>>2]-16180>>>0>31){break d}f=0;C[b+52>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+32>>2]=0;C[e+8>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;h=C[b+12>>2];if(h){C[e+48>>2]=h&1}C[b+60>>2]=0;C[b+64>>2]=0;C[b+36>>2]=0;C[b+24>>2]=32768;C[b+16>>2]=0;C[b+20>>2]=-1;C[b+4>>2]=16180;C[b+8>>2]=0;C[b+7108>>2]=1;C[b+7112>>2]=-1;e=b+1332|0;C[b+112>>2]=e;C[b+84>>2]=e;C[b+80>>2]=e}if(!f){h=C[d>>2];j=h+c|0;f=j+1|0;b=jh(a,f);if(b){b=We(b,0,f);e=ru(a,C[a+372>>2],C[a+760>>2]+c|0,g+12|0,b+c|0,d);if((e|0)!=1){break c}e=-7;if((h|0)!=C[d>>2]){break c}A[b+j|0]=0;d=C[a+760>>2];if(c){jf(b,d,c)}C[a+764>>2]=f;C[a+760>>2]=b;nf(a,d);e=1;if(C[g+12>>2]==(i|0)){break b}ff(a,21997);break b}e=-4;tj(a,-4);break b}tj(a,1);e=-7;break b}e=b?b:-7;break b}e=(e|0)==1?-7:e;break a}e=-4;tj(a,-4);break a}nf(a,b)}C[a+216>>2]=0}Ce=g+16|0;return e}function Kx(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,o=0,p=0;c=C[b+100>>2];e=D[a+2|0]|D[a+3|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+a|0}else{f=205712}e=zf(f,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);a:{if((e|0)==-1){break a}c=C[c+76>>2];C[b+40>>2]=1;C[b+4>>2]=c;f=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[f+80>>2];A[b+24|0]=(c|0)==C[f+76>>2]?D[(C[f+92>>2]+I(c,20)|0)+15|0]:0;if(!Sg(b+4|0)){break a}f=0;c=D[a+8|0]|D[a+9|0]<<8;c=e>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:((e<<1)+a|0)+10|0;c=D[c|0]|D[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}g=D[c|0]|D[c+1|0]<<8;d=0;b:{if(!g){break b}e=C[b+4>>2];n=c+2|0;d=a+4|0;o=d+2|0;k=qT(D[d|0]|D[d+1|0]<<8);l=D[d+2|0]|D[d+3|0]<<8;p=(k+qT(l)<<1)+2|0;a=C[b+100>>2];m=C[C[a+92>>2]+I(e,20)>>2];g=((g<<8|g>>>8)&65535)-1|0;c:{while(1){i=f+g>>>1|0;j=I(p,i)+n|0;h=D[j|0]|D[j+1|0]<<8;h=(h<<8|h>>>8)&65535;d:{if(h>>>0>m>>>0){g=i-1|0;break d}if((h|0)==(m|0)){break c}f=i+1|0}if((f|0)<=(g|0)){continue}break}d=0;break b}f=d;d=j+2|0;e:{if(!(Zi(f,b,c,d,C[a+100>>2]+I(C[a+76>>2],20)|0)|Zi(o,b,c,d+(k<<1)|0,C[a+100>>2]+I(e,20)|0))){break e}b=e+1|0;c=C[a+76>>2];if(b-c>>>0<2){break e}Rf(a,c,b)}C[a+76>>2]=e+((l|0)!=0);d=1}}return d}function aM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;C[a+724>>2]=0;C[a+728>>2]=0;C[a+732>>2]=0;C[a+736>>2]=0;g=a+724|0;a:{b:{c:{if(!(Fe[C[a+508>>2]](a,1128418371,b,e+12|0)|0)){c=2;break c}c=1;if(!(Fe[C[a+508>>2]](a,1161972803,b,e+12|0)|0)){break c}if(!(Fe[C[a+508>>2]](a,1651273571,b,e+12|0)|0)){break c}c=Fe[C[a+508>>2]](a,1935829368,b,e+12|0)|0;if(c){break b}c=3}C[a+732>>2]=c;d=C[e+12>>2];if(d>>>0<8){c=3;break b}d:{switch(c-1|0){case 0:case 1:c=dh(b,d,g);if(c){break b}f=C[e+12>>2];C[a+728>>2]=f;c=2;d=C[a+724>>2];if((D[d+1|0]<<16|D[d|0]<<24)!=131072){break b}c=3;d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>65535){break b}C[a+736>>2]=f>>>0<(I(d,48)|8)>>>0?(f-8>>>0)/48|0:d;break a;case 2:break d;default:break a}}c=Bf(b,8);if(c){break b}d=Ff(b);c=Ff(b);f=vg(b);xf(b);if(!d){c=2;break b}if((c&65533)!=1){c=3;break b}c=3;if(f>>>0>65535){break b}d=C[e+12>>2];c=bf(b,C[b+8>>2]-8|0);if(c){break b}d=d>>>0<(f<<2)+8>>>0?d-8>>>2|0:f;c=(d<<2)+8|0;C[a+728>>2]=c;c=dh(b,c,g);if(c){break b}C[a+736>>2]=d;break a}if(C[g>>2]){Wf(b,g)}C[a+728>>2]=0;C[a+732>>2]=0;h=c}Ce=e+16|0;return h|0}function vu(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ce+-64|0;Ce=k;n=6;e=C[a+528>>2];a:{if(!e){break a}f=C[e+4>>2];b:{if(!f){f=0;break b}q=b>>>0>f>>>0?f:b;r=e+88|0;while(1){b=I(g,12)+r|0;j=C[b+8>>2];l=C[b+4>>2];c:{if(g>>>0>>0){i=D[b|0];d=C[(g<<2)+c>>2];break c}i=D[b|0];d=(C[((i<<2)+l|0)-4>>2]-C[l>>2]|0)/2|0}d:{e:{if(!i){break e}b=0;h=-1;f:{g:{while(1){m=b<<2;o=m+l|0;p=C[o>>2];if((d|0)==(p|0)){break f}if((d|0)<(p|0)){break g}h=b;b=b+1|0;if((i|0)!=(b|0)){continue}break}if(!i){break e}b=C[((i<<2)+j|0)-4>>2];break d}if((h|0)<0){break e}b=h<<2;h=C[b+l>>2];b=of(d-h|0,C[j+m>>2]-C[b+j>>2]|0,C[o>>2]-h|0);f=C[e+4>>2];break d}b=C[j+m>>2];break d}b=C[j>>2]}C[(g<<2)+k>>2]=b;g=g+1|0;if(f>>>0>g>>>0){continue}break}e=C[a+528>>2];if(!e){break a}}n=0;g=C[e>>2];if(!g){break a}a=C[e+4>>2];f=a>>>0>>0?a:f;c=0;while(1){b=0;d=0;h=65536;if(a){while(1){d=32768;d=b>>>0>>0?C[(b<<2)+k>>2]:d;a=(d|0)>0?d:0;a=a>>>0>=65536?65536:a;h=Te(h,c>>>b&1?a:65536-a|0);b=b+1|0;d=C[e+4>>2];if(b>>>0>>0){continue}break}g=C[e>>2]}C[C[e+136>>2]+(c<<2)>>2]=h;a=d;c=c+1|0;if(g>>>0>c>>>0){continue}break}}Ce=k- -64|0;return n|0}function eq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=C[b+12>>2];e=d-4|0;C[b+12>>2]=e;if((D[a|0]|D[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[a+6|0]|D[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=Ce-16|0;Ce=f;h=C[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=C[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=C[b+12>>2];c=i-2|0;C[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=D[e|0]|D[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;C[b+12>>2]=d;if((D[c|0]|D[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!sq(c+2|0,b,c)){break c}C[f+12>>2]=c;d=1;if(rq(c+6|0,b,f+12|0)){break b}}c=C[b+28>>2];if(c>>>0>31){d=0;break b}C[b+28>>2]=c+1;d=0;if(!D[b+24|0]){break b}A[e|0]=0;A[e+1|0]=0;d=1}Ce=f+16|0;if(!d){break a}c=D[a+6|0]|D[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=D[a+8|0]|D[a+9|0]<<8;c=I(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=C[b+12>>2]-c|0;C[b+12>>2]=a;j=(a|0)>0}return j}function dz(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}g=a-4|0;while(1){d=C[g>>2];if(!d){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;c=Qf(d);A[b+40|0]=1;C[b+36>>2]=c;d=Of(d,1751474532);b:{if(!d){break b}c=C[d>>2];if(!c){break b}C[d>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=d;e=C[d+12>>2];C[b+4>>2]=e;f=C[d+16>>2];C[b+8>>2]=e+f;C[b+28>>2]=0;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[b+12>>2]=c;C[b+20>>2]=0;C[b>>2]=0;c:{if(!e){Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break c}d:{e:{if((f|0)<54){break e}C[b+12>>2]=c-54;if((D[e|0]|D[e+1|0]<<8)!=256){break e}c=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))!=1594834165){break d}if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}Ue(d);d=205712}d=d?d:205712;c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<54?205712:C[c+12>>2]}function fz(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{switch(a-17|0){default:if((a|0)==263){break a}if((a|0)==292){break d}case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:pk(a,b);return;case 13:break b;case 12:break c;case 0:break e}}a=C[b+24>>2];f:{if(a){a=a-1|0;if(a>>>0>=F[b+32>>2]){a=C[51429];e=C[51428];C[105676]=e;C[105677]=a;l(0,e|0);l(1,a|0);d=+n();break f}d=H[C[b+36>>2]+(a<<3)>>3];break f}A[b+20|0]=1;a=C[51429];e=C[51428];C[105676]=e;C[105677]=a;l(0,e|0);l(1,a|0);d=+n()}g:{if(K(d)<2147483648){a=~~d;break g}a=-2147483648}if((a|0)<0){A[b+20|0]=1;a=0}C[c+16>>2]=a;break a}a=C[b+24>>2];h:{if(a){a=a-1|0;if(a>>>0>=F[b+32>>2]){a=C[51429];e=C[51428];C[105676]=e;C[105677]=a;l(0,e|0);l(1,a|0);d=+n();break h}d=H[C[b+36>>2]+(a<<3)>>3];break h}A[b+20|0]=1;a=C[51429];e=C[51428];C[105676]=e;C[105677]=a;l(0,e|0);l(1,a|0);d=+n()}i:{if(K(d)<2147483648){a=~~d;break i}a=-2147483648}if((a|0)<0){A[b+20|0]=1;a=0}C[c+20>>2]=a;break a}jl(b+20|0,b);return}d=il(b);a=C[b+24>>2];if(a>>>0>2]){C[b+24>>2]=a+1;H[C[b+36>>2]+(a<<3)>>3]=d;return}A[b+20|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;H[52838]=d;return}C[b+24>>2]=0}function gz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=C[b+4>>2];a:{if(i>>>0>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<2){break a}d=C[b+12>>2];f=d-2|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=d-4|0;C[b+12>>2]=f;if((f|0)<=0){break a}d=D[a|0]|D[a+1|0]<<8;if(d){e=a+2|0;if(e>>>0>g>>>0){break a}h=g-e|0;d=(d<<8|d>>>8)&65535;e=I(d,3);if(h>>>0>>0){break a}f=f-e|0;C[b+12>>2]=f;if((f|0)<=0){break a}j=d>>>0<=1?1:d;k=C[b+36>>2];d=0;while(1){e=I(d,3)+a|0;h=D[e+2|0]|D[e+3|0]<<8;if(k>>>0<=((h<<8|h>>>8)&65535)>>>0|D[e+4|0]>=c>>>0){break a}d=d+1|0;if((j|0)!=(d|0)){continue}break}c=D[a|0]|D[a+1|0]<<8}else{c=0}d=c&65535;if(!d){return 0}if(D[a+2|0]|D[a+3|0]<<8){break a}d=c<<8|d>>>8;e=d&65535;c=1;b:{if((d&65535)>>>0<=1){break b}d=0;while(1){h=(d<<8|(d&65280)>>>8)&65535;d=I(c,3)+a|0;d=D[d+2|0]|D[d+3|0]<<8;if(h>>>0<((d<<8|d>>>8)&65535)>>>0){c=c+1|0;if((e|0)!=(c|0)){continue}break b}break}return 0}c=(I(e,3)+a|0)+2|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<2){break a}c=f-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=a;a=D[a|0]|D[a+1|0]<<8;a=a?(c+I((a<<8|a>>>8)&65535,3)|0)-1|0:205712;a=D[a+3|0]|D[a+4|0]<<8;l=C[b+36>>2]==((a<<8|a>>>8)&65535)}return l}function UB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=0,g=0;a=ki(a,d<<3,b+4|0);if(!a){return-1}C[b+8>>2]=d;a:{if((d|0)<=0){break a}b=d&3;if(d>>>0>=4){g=d&-4;d=0;while(1){e=G[c>>2];b:{if(J(K(e))>2]=f;e=G[c+4>>2];c:{if(J(K(e))>2]=f;e=G[c+8>>2];d:{if(J(K(e))>2]=f;e=G[c+12>>2];e:{if(J(K(e))>2]=f;e=G[c+16>>2];f:{if(J(K(e))>2]=f;e=G[c+20>>2];g:{if(J(K(e))>2]=f;e=G[c+24>>2];h:{if(J(K(e))>2]=f;e=G[c+28>>2];i:{if(J(K(e))>2]=f;c=c+32|0;a=a+32|0;d=d+4|0;if((g|0)!=(d|0)){continue}break}}if(!b){break a}d=0;while(1){e=G[c>>2];j:{if(J(K(e))>2]=f;e=G[c+4>>2];k:{if(J(K(e))>2]=f;c=c+8|0;a=a+8|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}return 0}function Nv(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}C[a+24>>2]=0;d=C[a+32>>2];if(!d){C[a+40>>2]=0;C[a+32>>2]=923;d=923}if(!C[a+36>>2]){C[a+36>>2]=924}c=Fe[d|0](C[a+40>>2],1,24)|0;C[a+28>>2]=c;d=-4;if(!c){break a}C[c+20>>2]=0;C[c+12>>2]=b>>>31;d=b>>31;e=(d^b)-d|0;if(e>>>0<=7){tm(a);return-2}C[c+16>>2]=e;b:{c=Fe[C[a+32>>2]](C[a+40>>2],1,64)|0;if(c){f=Fe[C[a+32>>2]](C[a+40>>2],8,1440)|0;C[c+36>>2]=f;d=C[a+40>>2];if(f){e=1<>2]](d,1,e)|0;C[c+40>>2]=d;if(d){break b}Fe[C[a+36>>2]](C[a+40>>2],C[c+36>>2]);d=C[a+40>>2]}Fe[C[a+36>>2]](d,c)}C[C[a+28>>2]+20>>2]=0;tm(a);return-4}b=(b|0)>=0;f=b?925:0;C[c+56>>2]=f;C[c+52>>2]=d;C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;C[c+48>>2]=d;C[c+44>>2]=d+e;d=0;if(b){b=Fe[f|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b;d=C[c>>2]}b=C[a+28>>2];C[b+20>>2]=c;C[a+8>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;C[b>>2]=C[b+12>>2]?7:0;if((d&-2)==4){Fe[C[a+36>>2]](C[a+40>>2],C[c+12>>2]);d=C[c>>2]}if((d|0)==6){Fe[C[a+36>>2]](C[a+40>>2],C[c+4>>2])}C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;b=C[c+40>>2];C[c+52>>2]=b;C[c+48>>2]=b;b=C[c+56>>2];d=0;if(!b){break a}b=Fe[b|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b;d=0}return d}function fF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=C[a+36>>2]/2|0;b=C[a+16>>2]/2|0;a:{g=C[a+28>>2];if(!g){break a}d=C[C[a+40>>2]+24>>2]^-1;e=d&C[a+56>>2];h=C[a+24>>2];i=h&7;h=(h+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];j=f<<1;k=b<<1;b:while(1){g=g-1|0;f=h;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=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=1;continue;case 1:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=2;continue;case 2:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=3;continue;case 3:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=4;continue;case 4:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=5;continue;case 5:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=6;continue;case 6:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=7;continue;default:break e}}b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}b=f-1|0;c=c+2|0;a=a+2|0;f:{if((f|0)>1){f=b;break f}a=a+j|0;c=c+k|0;if(g){continue b}break a}b=0;continue}}}}function Hs(a,b,c,d,e,f,g,h,i){var j=0,k=0,m=0,n=J(0),o=J(0),p=0,q=0,r=J(0),s=0,t=0;k=Ce;t=k;s=C[a+4>>2];p=k-((h<<2)+15&-16)|0;Ce=p;a=h;a=C[s+500>>2]?C[s+504>>2]-g|0:a;a=(a|0)<(h|0)?a:h;a:{if((a|0)<=0){a=0;break a}k=0;while(1){if(!(C[(k<<2)+f>>2]?f:0)){m=k<<2;j=pT(R(+J(G[m+d>>2]/G[e+m>>2])));j=G[c+m>>2]>2]=q}k=k+1|0;if((k|0)!=(a|0)){continue}break}}c:{if((a|0)>=(h|0)){break c}m=b-g|0;b=0;while(1){d:{if(C[(a<<2)+f>>2]?f:0){break d}g=a<<2;k=g+d|0;o=G[e+g>>2];n=J(G[k>>2]/o);if(!(!(n>2]=k;b=b+1|0;r=J(r+n);break d}q=g+i|0;j=pT(R(+n));j=G[c+g>>2]>2]=g;G[k>>2]=o*J(I(g,g)|0)}a=a+1|0;if((h|0)!=(a|0)){continue}break}if(!b){break c}oh(p,b,4,24);if((b|0)<=0){break c}j=H[s+512>>3];a=0;while(1){n=J(0);f=C[(a<<2)+p>>2]-d>>2;g=f<<2;h=g+i|0;if(j<=+r){f=f<<2;n=G[f+e>>2];r=J(r+J(-1));o=(l(2,C[c+f>>2]&-2147483648|1065353216),v());f:{if(J(K(o))>2]=f;G[d+g>>2]=n;a=a+1|0;if((b|0)!=(a|0)){continue}break}}Ce=t}function Lp(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;h=Ce-16|0;Ce=h;d=D[a+2|0]|D[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=205712}d=C[b+100>>2];if((zf(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)!=-1){g=205712;d=205712;f=D[a+4|0]|D[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}f=D[a+6|0]|D[a+7|0]<<8;if(f){g=((f<<8|f>>>8)&65535)+a|0}f=205712;e=205712;c=D[a+8|0]|D[a+9|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}c=C[b+100>>2];c=Tm(g,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);i=D[a+10|0]|D[a+11|0]<<8;c=c>>>0>=((i<<8|i>>>8)&65535)>>>0?205712:((c<<1)+a|0)+12|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}C[h+12>>2]=e;C[h+8>>2]=g;C[h+4>>2]=d;C[h>>2]=710;a=D[f|0]|D[f+1|0]<<8;if(a){g=(a<<8|a>>>8)&65535;a=f+2|0;while(1){d=D[a|0]|D[a+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+f|0}else{d=205712}e=D[d|0]|D[d+1|0]<<8;j=(e<<8|e>>>8)&65535;k=(j<<1)+d|0;e=k+2|0;c=D[e|0]|D[e+1|0]<<8;l=(c<<8|c>>>8)&65535;e=(c?l<<1:2)+e|0;c=D[e|0]|D[e+1|0]<<8;m=(c<<8|c>>>8)&65535;c=(m<<1)+e|0;i=D[c+2|0]|D[c+3|0]<<8;d=Rm(b,j,d+2|0,l,k+4|0,m,e+2|0,(i<<8|i>>>8)&65535,c+4|0,h);if(!d){a=a+2|0;g=g-1|0;if(g){continue}}break}}else{d=0}g=d}Ce=h+16|0;return g}function ai(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ce-16|0;Ce=g;a:{if((c|0)<=0){break a}i=C[a+4>>2];while(1){h=(k<<3)+b|0;b:{if(!C[h>>2]){ri(i);if(C[i+12>>2]>1){break a}d=C[i>>2];f=d-1|0;l=C[i+8>>2];c:{while(1){j=3;if(d>>>0>=l>>>0){e=d;break c}e=d+1|0;C[i>>2]=e;m=D[d|0];d=e;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j=2}C[i+12>>2]=j;C[g+8>>2]=f;break b}f=Ni(i);C[g+8>>2]=f;if(!f){break a}e=C[i>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(C[h>>2]){case 0:case 1:d=Pk(C[a>>2],d,g+4|0);C[h+4>>2]=d;if(C[g+4>>2]){break e}t(d,f,e);A[e+C[h+4>>2]|0]=0;break e;case 2:n=h,o=Lh(g+8|0,e+f|0,0),C[n+4>>2]=o;break e;case 3:C[g+12>>2]=f;l=e+f|0;j=bi(g+12|0,l,10);e=0;d=C[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(D[d|0]!=35|d>>>0>=l>>>0)){f=d+1|0;C[g+12>>2]=f;j=bi(g+12|0,l,j);d=C[g+12>>2];if((f|0)==(d|0)){break g}}C[g+8>>2]=d;e=j}C[h+4>>2]=e;break e;case 4:if((e|0)==4){e=cf(f,16019,4)}else{e=1}A[h+4|0]=!e;break e;case 5:break f;default:break e}}d=C[a+12>>2];if(d){n=h,o=Fe[d|0](f,e,C[a+16>>2])|0,C[n+4>>2]=o;break e}C[h+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}Ce=g+16|0;return k}function yr(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=J(0),m=0,n=J(0);i=Ce+-64|0;Ce=i;k=tn(a,b);a:{if(!k){break a}b:{c:{if(!e|(a&b)==-1|(!C[105578]|!(A[422636]&1))){break c}if((a|0)!=C[105660]|(b|0)!=C[105661]|((c|0)!=C[105662]|(d|0)!=C[105663])){break c}j=C[e+28>>2];l=J(J(j|0)*g);d:{if(J(K(l))0?h:0;m=(h|0)<(j|0)?h:j-1|0;j=C[e+24>>2];l=J(J(j|0)*f);e:{if(J(K(l))0?h:0;Ql(e,-1,0,(h|0)<(j|0)?h:j-1|0,m);break b}if((a&b)!=-1){break b}if(!C[105579]){break a}}f:{j=C[k+12>>2];g:{if((j|0)<=0){break g}m=C[k+20>>2];k=0;while(1){h=C[m+(k<<2)>>2];if(C[h>>2]!=(c|0)|C[h+4>>2]!=(d|0)){k=k+1|0;if((j|0)!=(k|0)){continue}break g}break}if((j|0)>(k|0)){break f}}vk(a,b,c,d,e,1,f,g,J(1));break a}n=J(f-G[h+8>>2]);l=J(g-G[h+12>>2]);if(!(n!=J(0)|l!=J(0))&J(J(1)-G[h+16>>2])==J(0)){break a}G[h+16>>2]=1;G[h+12>>2]=g;G[h+8>>2]=f;if((qf(1794,-1)|0)!=1){break a}G[i+48>>2]=1;G[i+44>>2]=l;G[i+40>>2]=n;G[i+36>>2]=g;G[i+32>>2]=f;C[i+24>>2]=c;C[i+28>>2]=d;C[i+16>>2]=a;C[i+20>>2]=b;C[i+8>>2]=1794;if(e){a=on(e)}else{a=0}C[i+52>>2]=a;Df(i+8|0)}Ce=i- -64|0}function Cl(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ce-48|0;Ce=d;C[d+44>>2]=0;h=b>>>0<=17?C[(b<<2)+148360>>2]:0;a:{if(h){C[d+32>>2]=(b|0)==17?137440:34979;f=1;if((c|0)==35632){e=C[a+536>>2]-1|0;if(e>>>0<=3){e=C[(e<<2)+148344>>2]}else{e=34979}C[d+36>>2]=e;f=2}g=d+32|0;C[g+(f<<2)>>2]=h;e=Fe[C[a+48>>2]](c)|0;Fe[C[a+144>>2]](e,f+1|0,g,0);Fe[C[a+40>>2]](e);Fe[C[a+116>>2]](e,35713,d+44|0);b:{if(C[d+44>>2]){break b}C[d+32>>2]=(b|0)==17?137440:34979;f=1;if((c|0)==35632){C[d+36>>2]=C[37089];f=2}g=d+32|0;C[g+(f<<2)>>2]=h;e=Fe[C[a+48>>2]](c)|0;Fe[C[a+144>>2]](e,f+1|0,g,0);Fe[C[a+40>>2]](e);Fe[C[a+116>>2]](e,35713,d+44|0);if(C[d+44>>2]){break b}C[d+28>>2]=0;Fe[C[a+116>>2]](e,35716,d+28|0);c:{d:{c=C[d+28>>2];if((c|0)<=0){break d}e:{if(c>>>0<=127){f=d-(c+15&-16)|0;Ce=f;g=c;break e}f=Fe[C[94503]](c>>>0<=1?1:c)|0;if(f){C[94507]=C[94507]+1}if(!f){break d}g=C[d+28>>2]}Fe[C[a+112>>2]](e,g,d+28|0,f);C[d+4>>2]=f;C[d>>2]=b;Qe(8920,d);if(c>>>0<128){break c}if(f){Fe[C[94506]](f);C[94507]=C[94507]-1}break c}C[d+16>>2]=b;Qe(21143,d+16|0)}Fe[C[a+56>>2]](e);e=0;break a}C[((b<<2)+a|0)+236>>2]=e;break a}Qe(21516,0)}Ce=d+48|0;return e}function LI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!C[104388]|!C[94435]|(c|0)<=0){break a}while(1){b:{if(!C[C[104388]+12>>2]){break b}d=C[104388];a=C[d+16>>2];C[d+16>>2]=a+1;d=C[104388];if((a|0)>2]){a=C[104388];if(!C[C[a>>2]+36>>2]){break b}e=C[104388];f=C[a+20>>2];d=C[d+16>>2];Fe[C[C[e>>2]+36>>2]](C[e+4>>2],(I(C[94436],C[a+12>>2]==1?f-d|0:d)|0)/(f|0)|0);break b}a=C[104388];if(C[d+12>>2]==1){if(C[C[a>>2]+64>>2]){a=C[104388];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104388]+8>>2]=0;C[C[104388]+12>>2]=0;C[104388]=0;a=C[104381];if(!a){break a}Fe[a|0]();return}C[a+12>>2]=0}if(C[C[C[104388]>>2]+48>>2]){a=C[104388];a=Fe[C[C[a>>2]+48>>2]](C[a+4>>2],b,c)|0;if(a){C[C[104388]+8>>2]=0}d=c-a|0;c=(a|0)>0;b=(c?d:0)+b|0;c=c?a:0}else{c=0}c:{if(C[104388]){if(C[C[C[104388]>>2]+44>>2]){a=C[104388];a=Fe[C[C[a>>2]+44>>2]](C[a+4>>2])|0;C[C[104388]+8>>2]=a}if(C[C[104388]+8>>2]){break c}}if(C[C[C[104388]>>2]+64>>2]){a=C[104388];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104388]+8>>2]=0;C[C[104388]+12>>2]=0;C[104388]=0;a=C[104381];if(!a){break c}Fe[a|0]()}if(!C[104388]|!C[94435]){break a}if(c){continue}break}}}function Nw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ce-16|0;Ce=i;C[i+12>>2]=0;f=C[a+12>>2];a:{b:{c:{d:{if((f|0)<=11){if(C[a+20>>2]){break d}C[a+16>>2]=12;C[a+20>>2]=a+892;break d}j=C[a+16>>2];if((j|0)>(f|0)){h=C[a+20>>2];g=h+I(f,48)|0;break c}f=64;if((j|0)>44739241){break a}e:{if((j|0)>=-16){k=((j>>2)+j|0)+4|0;if((k|0)<44739243){break e}}k=44739242}h=C[a+20>>2];f:{if((h|0)==(a+892|0)){d=Ve(d,48,0,k,0,i+12|0);C[a+20>>2]=d;f=C[i+12>>2];if(f){break a}t(d,h,576);break f}l=a,m=Ve(d,48,j,k,h,i+12|0),C[l+20>>2]=m;f=C[i+12>>2];if(f){break a}}C[a+16>>2]=k;f=C[a+12>>2]}h=C[a+20>>2];g=h+I(f,48)|0;if((f|0)<=0){break b}}f=g;while(1){g:{g=f-48|0;d=B[g>>1];if((d|0)<(b|0)){g=f;break g}if(!((b|0)!=(d|0)|C[a+24>>2]!=(c|0))){g=f;break g}d=C[g+4>>2];C[f>>2]=C[g>>2];C[f+4>>2]=d;d=C[g+44>>2];C[f+40>>2]=C[g+40>>2];C[f+44>>2]=d;d=C[g+36>>2];C[f+32>>2]=C[g+32>>2];C[f+36>>2]=d;d=C[g+28>>2];C[f+24>>2]=C[g+24>>2];C[f+28>>2]=d;d=C[g+20>>2];C[f+16>>2]=C[g+16>>2];C[f+20>>2]=d;d=C[g+12>>2];C[f+8>>2]=C[g+8>>2];C[f+12>>2]=d;f=g;if(h>>>0>>0){continue}}break}f=C[a+12>>2]}C[a+12>>2]=f+1;f=0}C[e>>2]=g;Ce=i+16|0;return f}function Rg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;A[b+40|0]=1;C[b+36>>2]=0;g=a;a=Of(a,1835104368);a:{if(!a){break a}c=C[a>>2];if(!c){break a}C[a>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=a;d=C[a+12>>2];C[b+4>>2]=d;e=C[a+16>>2];C[b+8>>2]=d+e;C[b+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[b+12>>2]=c;C[b+20>>2]=0;C[b>>2]=0;b:{if(!d){Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break b}c:{d:{if((e|0)<6){break d}C[b+12>>2]=c-6;e:{f:{f=D[d|0]|D[d+1|0]<<8;switch((f<<8|f>>>8)&65535){case 0:break e;case 1:break f;default:break d}}if(e>>>0<32){break d}C[b+12>>2]=c-32;Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(C[a+4>>2]){C[a+4>>2]=0}break b}c=D[d+2|0]|D[d+3|0]<<8;Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if((c|0)!=80){break c}if(C[a+4>>2]){C[a+4>>2]=0}break b}Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}Ue(a);a=205712}c=F[a+16>>2]<6?205712:C[a+12>>2];c=D[c+4|0]|D[c+5|0]<<8;c=(c<<8|c>>>8)&65535;C[g+32>>2]=c;Ue(a);Ce=b+48|0;return c}function tD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+e|0;g=((I(c,g)>>>0)/255|0)+j|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=e+f|0;f=c>>>0>=255?255:c;c=g+j|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(j+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function pE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+j|0;g=((I(c,g)>>>0)/255|0)+e|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+j|0;f=c>>>0>=255?255:c;c=e+g|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;g=((I(e,g)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(e+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function nD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+e|0;b=((I(b,c)>>>0)/255|0)+j|0;break a;case 1:c=g+i|0;g=c>>>0>=255?255:c;c=e+f|0;f=c>>>0>=255?255:c;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(g,i)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;b=((I(b,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+i|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(j+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function lE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+j|0;b=((I(b,c)>>>0)/255|0)+e|0;break a;case 1:c=g+i|0;g=c>>>0>=255?255:c;c=f+j|0;f=c>>>0>=255?255:c;b=b+e|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(g,i)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;b=((I(b,e)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+i|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(e+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function bE(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+j|0;f=((I(c,f)>>>0)/255|0)+e|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=e+f|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,j)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function XD(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+j|0;f=((I(c,f)>>>0)/255|0)+e|0;b=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:c=g+j|0;g=c>>>0>=255?255:c;c=e+f|0;f=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(g,j)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;b=((I(b,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(i+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function ID(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+e|0;f=((I(c,f)>>>0)/255|0)+j|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=f+j|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,e)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function ED(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+e|0;f=((I(c,f)>>>0)/255|0)+j|0;b=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:c=e+g|0;g=c>>>0>=255?255:c;c=f+j|0;f=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(e,g)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;b=((I(b,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+e|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(i+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function yQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=Ce-16|0;Ce=g;j=C[a+84>>2];a:{b:{c:{if(!(D[a+8|0]&8)){break c}if(d&16){if(!D[a+292|0]){break c}if(!c){break b}d=c&1;if((c|0)!=1){j=c&-2;c=0;while(1){h=g+14|0;i=g+12|0;Fe[C[C[a+532>>2]+112>>2]](a,1,b+f|0,h,i);C[(f<<2)+e>>2]=E[g+12>>1];k=f|1;Fe[C[C[a+532>>2]+112>>2]](a,1,k+b|0,h,i);C[(k<<2)+e>>2]=E[g+12>>1];f=f+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!d){break b}Fe[C[C[a+532>>2]+112>>2]](a,1,b+f|0,g+14|0,g+12|0);C[(f<<2)+e>>2]=E[g+12>>1];break b}if(!E[a+250>>1]){break c}if(!c){break b}d=c&1;if((c|0)!=1){j=c&-2;c=0;while(1){h=g+14|0;i=g+10|0;Fe[C[C[a+532>>2]+112>>2]](a,0,b+f|0,h,i);C[(f<<2)+e>>2]=E[g+10>>1];k=f|1;Fe[C[C[a+532>>2]+112>>2]](a,0,k+b|0,h,i);C[(k<<2)+e>>2]=E[g+10>>1];f=f+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!d){break b}Fe[C[C[a+532>>2]+112>>2]](a,0,b+f|0,g+14|0,g+10|0);C[(f<<2)+e>>2]=E[g+10>>1];break b}if(!c){break b}h=d|256;i=j+(d&16?60:56)|0;while(1){d=Hw(j,C[a+88>>2],b+f|0,h);if(d){break a}C[(f<<2)+e>>2]=C[i>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}d=0}Ce=g+16|0;return d|0}function Lw(a,b,c,d,e,f){var g=0,h=0,i=0;g=Ce-432|0;Ce=g;C[g+12>>2]=0;h=g+20|0;p(h,0,400);C[g+428>>2]=a;C[g+424>>2]=4096;i=g+32|0;C[g+420>>2]=i;C[g+16>>2]=f;p(a+24|0,0,148);C[a+156>>2]=8720;C[a+60>>2]=65536;C[a+44>>2]=2;C[a+48>>2]=65536;C[a+32>>2]=-6553600;C[a+36>>2]=3276800;C[a+172>>2]=65535;C[a+136>>2]=65535;C[a+128>>2]=65535;C[a+132>>2]=65535;C[a+16>>2]=65535;C[a+20>>2]=65535;C[a+8>>2]=65535;C[a+12>>2]=65535;C[a>>2]=65535;C[a+4>>2]=65535;c=Dm(b,c,g+12|0,g+8|0);if(!c){c=C[g+12>>2];c=uw(g+16|0,c,c+C[g+8>>2]|0)}if(!C[b+28>>2]){Wf(C[b>>2],g+12|0)}a:{if(c){break a}c=0;if(C[a+132>>2]!=65535){break a}b=C[a+116>>2];if(!(!b|!C[a+120>>2])){c=a+176|0;p(c,0,360);C[a+516>>2]=3932;C[a+508>>2]=-1;C[a+380>>2]=1;C[a+372>>2]=2596864;C[a+376>>2]=7;p(h,0,400);C[g+428>>2]=c;C[g+424>>2]=8192;C[g+420>>2]=i;C[g+16>>2]=f;c=bf(d,b+e|0);if(c){break a}c=Bf(d,C[a+120>>2]);if(c){break a}c=uw(g+16|0,C[d+32>>2],C[d+36>>2]);xf(d);if(c){break a}A[a+176|0]=D[a+176|0]&254}c=0;b=C[a+524>>2];if(!b){break a}c=bf(d,C[a+116>>2]+(b+e|0)|0);if(c){break a}b=a+536|0;c=vj(b,d,1);if(c){break a}c=xp(b,a+568|0,0)}Ce=g+432|0;return c}function Cj(a,b){var c=0,d=0;d=Ce-32|0;Ce=d;c=C[105668];a:{if(!c){Qe(19865,0);break a}b:{switch(a|0){case 0:C[c+408>>2]=b;break a;case 1:C[c+412>>2]=b;break a;case 2:C[c+416>>2]=b;break a;case 3:C[c+420>>2]=b;break a;case 5:C[c+436>>2]=b;break a;case 4:C[c+428>>2]=b;break a;case 6:C[c+424>>2]=b;break a;case 7:C[c+432>>2]=b;break a;case 8:C[c+440>>2]=b;break a;case 9:C[c+444>>2]=b;break a;case 10:C[c+448>>2]=b;break a;case 11:C[c+452>>2]=b;break a;case 12:C[c+456>>2]=b;break a;case 13:C[c+460>>2]=b;break a;case 14:C[c+464>>2]=b;break a;case 27:C[c+468>>2]=b;break a;case 15:C[c+472>>2]=b;break a;case 16:C[c+512>>2]=b;break a;case 17:C[c+476>>2]=b;break a;case 18:C[c+480>>2]=b;break a;case 19:if(b){C[c+488>>2]=4;break a}C[c+488>>2]=0;break a;case 20:if(b>>>0>=16){C[d>>2]=b;Qe(21202,d);break a}C[c+484>>2]=b;break a;case 21:if(!((b|0)!=3&b>>>0<=4)){C[d+16>>2]=b;Qe(21296,d+16|0);break a}C[c+488>>2]=b;break a;case 22:C[c+492>>2]=b;break a;case 23:C[c+504>>2]=b;break a;case 24:C[c+496>>2]=b;break a;case 25:C[c+500>>2]=b;break a;case 26:C[c+508>>2]=b;break a;default:break b}}Qe(16257,0)}Ce=d+32|0}function jf(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Zb(a|0,b|0,c|0);return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){A[c|0]=D[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){C[c>>2]=C[b>>2];C[c+4>>2]=C[b+4>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=C[b+12>>2];C[c+16>>2]=C[b+16>>2];C[c+20>>2]=C[b+20>>2];C[c+24>>2]=C[b+24>>2];C[c+28>>2]=C[b+28>>2];C[c+32>>2]=C[b+32>>2];C[c+36>>2]=C[b+36>>2];C[c+40>>2]=C[b+40>>2];C[c+44>>2]=C[b+44>>2];C[c+48>>2]=C[b+48>>2];C[c+52>>2]=C[b+52>>2];C[c+56>>2]=C[b+56>>2];C[c+60>>2]=C[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){C[c>>2]=C[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){A[c|0]=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=D[b+2|0];A[c+3|0]=D[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){A[c|0]=D[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Up(a,b,c){var d=0,e=0,f=J(0),g=0,h=0;e=D[a+4|0]|D[a+5|0]<<8;g=e<<8|e>>>8;e=g&65535;a:{if(e-1>>>0>=3){if((e|0)!=32768){break a}d=D[c+6|0]|D[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=D[a+1|0]|D[a|0]<<8;if(e>>>0<=d>>>0){f=J(0)}else{d=(d<<2)+c|0;d=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=D[a+3|0]|D[a+2|0]<<8;a=D[c+2|0]|D[c+3|0]<<8|(D[c+4|0]<<16|D[c+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=ll(d?d+c|0:205712,e,C[b+64>>2],C[b+60>>2],a?a+c|0:205712)}f=J(f*J(C[b+24>>2]));b=C[b+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}f=J(O(J(J(f/J(a>>>0))+J(.5))));b:{if(J(K(f))>2];if(!h){break a}c=D[a|0]|D[a+1|0]<<8;e=(c<<8|c>>>8)&65535;if(e>>>0>h>>>0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(h>>>0>((c<<8|c>>>8)&65535)>>>0){break a}e=h-e|0;g=g&65535;c=4-g|0;a=(e>>>c<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;c=((a<<8|a>>>8)&65535)>>>((e^-1|-1<>>(-1<>>0>=a>>>1>>>0?a:0;if((e|0)==(c|0)){break a}a=C[b+24>>2];b=a;d=a>>31;a=e-c|0;d=nT(mT(b,d,a,a>>31),Ee,h,0)}return d}function Tp(a,b,c){var d=0,e=0,f=J(0),g=0,h=0;e=D[a+4|0]|D[a+5|0]<<8;g=e<<8|e>>>8;e=g&65535;a:{if(e-1>>>0>=3){if((e|0)!=32768){break a}d=D[c+6|0]|D[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=D[a+1|0]|D[a|0]<<8;if(e>>>0<=d>>>0){f=J(0)}else{d=(d<<2)+c|0;d=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=D[a+3|0]|D[a+2|0]<<8;a=D[c+2|0]|D[c+3|0]<<8|(D[c+4|0]<<16|D[c+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=ll(d?d+c|0:205712,e,C[b+64>>2],C[b+60>>2],a?a+c|0:205712)}f=J(f*J(C[b+20>>2]));b=C[b+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}f=J(O(J(J(f/J(a>>>0))+J(.5))));b:{if(J(K(f))>2];if(!h){break a}c=D[a|0]|D[a+1|0]<<8;e=(c<<8|c>>>8)&65535;if(e>>>0>h>>>0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(h>>>0>((c<<8|c>>>8)&65535)>>>0){break a}e=h-e|0;g=g&65535;c=4-g|0;a=(e>>>c<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;c=((a<<8|a>>>8)&65535)>>>((e^-1|-1<>>(-1<>>0>=a>>>1>>>0?a:0;if((e|0)==(c|0)){break a}a=C[b+20>>2];b=a;d=a>>31;a=e-c|0;d=nT(mT(b,d,a,a>>31),Ee,h,0)}return d}function Mt(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,o=0,p=0;k=Ce-16|0;Ce=k;e=D[a|0];a:{if(!e){f=a;break a}f=a;b:{while(1){e=e<<24>>24;if(!((e|0)==32|e-9>>>0<5)){break b}e=D[f+1|0];f=f+1|0;if(e){continue}break}break a}c:{e=D[f|0];switch(e-43|0){case 0:case 2:break c;default:break a}}i=(e|0)==45?-1:0;f=f+1|0}d:{if(D[f|0]==48){m=1;if((D[f+1|0]&223)==88){f=f+2|0;l=16;break d}f=f+1|0;l=8;break d}l=10}while(1){e:{e=-48;h=A[f|0];f:{if((h-48&255)>>>0<10){break f}e=-87;if((h-97&255)>>>0<26){break f}e=-55;if((h-65&255)>>>0>25){break e}}h=e+h|0;if((h|0)>=(l|0)){break e}Ag(k,l,0,0,0,j,g,0,0);e=1;g:{if(C[k+8>>2]|C[k+12>>2]){break g}n=mT(j,g,l,0);o=Ee;if((o|0)==-1&(h^-1)>>>0>>0){break g}g=o;j=h+n|0;g=j>>>0>>0?g+1|0:g;m=1;e=p}f=f+1|0;p=e;continue}break}if(b){C[b>>2]=m?f:a}h:{i:{j:{if(p){C[105773]=68;a=c&1;i=a?0:i;j=c;g=d;break j}if((d|0)==(g|0)&c>>>0>j>>>0|d>>>0>g>>>0){break i}a=c&1}if(!(a|i)){C[105773]=68;a=c;c=a-1|0;d=d-!a|0;break h}if((d|0)==(g|0)&c>>>0>=j>>>0|d>>>0>g>>>0){break i}C[105773]=68;break h}a=i^j;c=a-i|0;b=i>>31;d=(b^g)-((a>>>0>>0)+b|0)|0}Ce=k+16|0;Ee=d;return c}function mx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-16|0;Ce=e;d=Eb(b|0,e+12|0,e+8|0)|0;a:{if(d){c=hi(0,C[e+12>>2],C[e+8>>2],32,255,65280,16711680,-16777216);if(c){jf(C[c+20>>2],d,I(C[e+12>>2],C[e+8>>2])<<2)}Re(d);break a}d=Xh(b,21803);if(!d){break a}b=go(b,46);j=b?b+1|0:0;f=Ce-16|0;Ce=f;b=d;b:{if(!b){Qe(18831,0);break b}Fe[C[b+4>>2]](b,0,0,1)|0;if((Ee|0)<0){Qe(18800,0);Fe[C[b+16>>2]](b)|0;break b}c:{if(C[b+20>>2]!=2){break c}d=tb(C[b+28>>2],f+12|0,f+8|0)|0;if(!d){break c}c=hi(0,C[f+12>>2],C[f+8>>2],32,255,65280,16711680,-16777216);if(c){jf(C[c+20>>2],d,I(C[f+12>>2],C[f+8>>2])<<2)}Re(d);Fe[C[b+16>>2]](b)|0;break b}while(1){c=I(g,12);d:{e:{if(g){if(Fe[C[c+94484>>2]](b)|0){break e}break d}if(!j){break d}c=C[c+94480>>2];d=j;h=D[d|0];if(h){while(1){i=D[c|0];if(!i|((h-97>>>0<26?h&95:h)|0)!=((i-97>>>0<26?i&95:i)|0)){break d}c=c+1|0;h=D[d+1|0];d=d+1|0;if(h){continue}break}}if(D[c|0]){break d}g=0}c=Fe[C[I(g,12)+94488>>2]](b)|0;Fe[C[b+16>>2]](b)|0;break b}g=g+1|0;if((g|0)!=15){continue}break}Fe[C[b+16>>2]](b)|0;c=0;Qe(5177,0)}Ce=f+16|0}Ce=e+16|0;if(!c){return 0}a=Cn(a,c);Nf(c);return a}function RC(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 j=0,k=0,l=0,m=0;j=Ce-32|0;Ce=j;b=C[b+80>>2];k=C[a+548>>2];m=Rh();l=C[k>>2];a:{if((m|0)!=(l|0)){C[k+468>>2]=0;if((sh(C[a+204>>2],l)|0)<0){break a}}l=C[a+548>>2];if(!C[l+4>>2]){break a}while(1){if(Fe[C[l+100>>2]]()|0){continue}break}}l=0;b:{if(C[c+8>>2]<=0|C[c+12>>2]<=0){break b}C[k+412>>2]=0;Fe[C[k+20>>2]](C[b+4>>2],C[b+32>>2]);ji(k,C[b+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[b+8>>2],C[b+12>>2],h,i,1);Fe[C[k+20>>2]](C[b+4>>2],C[b+36>>2]);ji(k,C[b+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[b+8>>2],C[b+12>>2],f,g,1);Fe[C[k+20>>2]](C[b+4>>2],C[b>>2]);ji(k,C[b+4>>2],C[c>>2],C[c+4>>2],C[c+8>>2],C[c+12>>2],C[b+8>>2],C[b+12>>2],d,e,1);a=C[a+548>>2];if(!C[a+4>>2]){break b}b=Fe[C[a+100>>2]]()|0;if(!b){break b}while(1){c=25026;d=b-1280|0;if(d>>>0<=5){c=C[(d<<2)+137356>>2]}C[j+20>>2]=b;C[j+16>>2]=c;C[j+12>>2]=22725;C[j+8>>2]=1765;C[j+4>>2]=21666;C[j>>2]=33968;Qe(33817,j);b=Fe[C[a+100>>2]]()|0;if(b){continue}break}l=-1}Ce=j+32|0;return l|0}function Wv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Ce-16|0;Ce=f;l=I(b,-11796480)+5898240|0;d=gg(C[a>>2],C[a+4>>2]);k=(d|0)/2|0;a:{b:{m=a- -64|0;n=m+(b<<5)|0;c:{if(!c|!D[n+16|0]|((d|0)<-11763713|(d|0)>11763713)){break c}e=k;d:{if((e|0)<-2949120){g=14408027;while(1){d=h;h=0-g|0;j=e>>>0<4286119936;g=d;i=e+5898240|0;e=i;if(j){continue}break}break d}d=14408027;if((e|0)<=2949120){i=e;break d}while(1){h=d;d=0-g|0;j=e>>>0>8847360;g=h;i=e-5898240|0;e=i;if(j){continue}break}}j=281872;e=1;g=1;while(1){o=d+e>>g;p=e+h>>g;q=C[j>>2];e:{if((i|0)<0){i=i+q|0;h=h-o|0;d=d+p|0;break e}i=i-q|0;h=h+o|0;d=d-p|0}e=e<<1;j=j+4|0;g=g+1|0;if((g|0)!=23){continue}break}d=Te(C[a+60>>2],Ze(h+128>>8,d+128>>8));if(!d){break c}e=c;c=d>>31;c=(c^d)-c|0;if((e|0)<(c|0)){break c}if((c|0)<=C[a+16>>2]){break b}}Vf(f+8|0,C[a+60>>2],C[a+4>>2]+l|0);C[f+8>>2]=C[f+8>>2]+C[a+8>>2];C[f+12>>2]=C[f+12>>2]+C[a+12>>2];A[n+16|0]=0;break a}c=C[a>>2];d=ak(k);Vf(f+8|0,Ze(C[a+60>>2],d),c+(k+l|0)|0);C[f+8>>2]=C[f+8>>2]+C[a+8>>2];C[f+12>>2]=C[f+12>>2]+C[a+12>>2]}a=ig((b<<5)+m|0,f+8|0,0);Ce=f+16|0;return a}function PA(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,k=0,l=0;a=Ce-16|0;Ce=a;b=C[b+32>>2];a:{b:{if(b>>>0<=127){A[a+11|0]=b;b=1;break b}if(b>>>0<=2047){A[a+12|0]=b&63|128;A[a+11|0]=b>>>6|192;b=2;break b}if(b>>>0<=65535){A[a+13|0]=b&63|128;A[a+11|0]=b>>>12|224;A[a+12|0]=b>>>6&63|128;b=3;break b}if(b>>>0>1114111){break a}A[a+14|0]=b&63|128;A[a+11|0]=b>>>18|240;A[a+13|0]=b>>>6&63|128;A[a+12|0]=b>>>12&63|128;b=4}g=a+11|0;A[b+g|0]=0;d=Ce+-64|0;Ce=d;b=D[g|0];c:{if(b>>>0<32|(b|0)==127){break c}if((qf(771,-1)|0)!=1){break c}j=af(g);C[d+8>>2]=771;b=C[104774];if(b){b=C[b+4>>2]}else{b=0}C[d+16>>2]=b;if(!j){break c}k=d+20|0;while(1){b=0;h=g+i|0;c=af(h);c=c>>>0>=31?31:c;if(c){b=c-1|0;e=A[h+b|0];d:{if((e- -64&255)>>>0<53){break d}if(!(!b|(e|0)>-65)){while(1){e:{e=D[b+h|0];f=2;f:{if((e&224)==192){break f}f=3;if((e&240)==224){break f}if((e+11&255)>>>0<251){break e}f=4}b=(f|0)==(c-b|0)?c:b;break d}b=b-1|0;if(b){continue}break}}b=c}gf(k,h,b)}A[b+k|0]=0;if(!b){break c}l=(Df(d+8|0)|0)>0|l;i=b+i|0;if(j>>>0>i>>>0){continue}break}}Ce=d- -64|0}b=qf(771,-1);Ce=a+16|0;return(b|0)==1|0}function Fk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=J(0),k=0,l=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);k=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);l=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);e=D[a+72|0]|D[a+73|0]<<8|(D[a+74|0]<<16|D[a+75|0]<<24);f=D[a+76|0]|D[a+77|0]<<8|(D[a+78|0]<<16|D[a+79|0]<<24);d=0;a:{if((e|0)==(f|0)){break a}d=512;if((e|0)<=(f|0)){break a}j=J(P(J(J(e<<9)/J(f|0))));if(J(K(j))=(2147483647/(b>>>0)|0)?1:g>>>0<=1?1:g,4);if(!d){_e(0);return}g=e;e=h+i|0;b=st(b,g,f,d,d,i,h,e,I(k,l)-h|0);A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}Eh(D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24),e,D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24));b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,c)}}function nH(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(b>>>0>=4){e=b>>>2|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a:{if(!(b&4)){b=d;g=e;break a}c=G[d>>2];b=127;b:{if(c>=J(1)){break b}b=128;if(c<=J(-1)){break b}c=J(c*J(127));if(J(K(c))>2];f=127;c:{if(c>=J(1)){break c}f=128;if(c<=J(-1)){break c}c=J(c*J(127));if(J(K(c))>2];d:{if(c>=J(1)){break d}e=128;if(c<=J(-1)){break d}c=J(c*J(127));if(J(K(c))>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,32776)}}function cs(a,b,c){var d=0,e=0,f=J(0),g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=J(0),q=J(0),r=J(0);e=Ce;n=e;d=C[a+36>>2];k=xk(a,d?7:10,0);if(!k){Ce=n;return-1}a:{if(!d){l=c<<5;b:{if(l>>>0<=127){g=e-(l+15&-16)|0;e=g;Ce=e;break b}g=Fe[C[94503]](l>>>0<=1?1:l)|0;if(g){C[94507]=C[94507]+1}}m=I(c,24);c:{if(m>>>0<=127){h=e-(m+15&-16)|0;Ce=h;break c}h=Fe[C[94503]](m>>>0<=1?1:m)|0;if(h){C[94507]=C[94507]+1}}d=-1;d:{if(!g|!h){break d}if((c|0)>0){d=g;e=h;while(1){i=(o<<4)+b|0;q=G[i+8>>2];r=G[i+12>>2];f=G[i+4>>2];p=G[i>>2];G[d+24>>2]=p;G[d+12>>2]=f;G[d+4>>2]=f;G[d>>2]=p;f=J(f+r);G[d+28>>2]=f;G[d+20>>2]=f;f=J(p+q);G[d+16>>2]=f;G[d+8>>2]=f;C[e+20>>2]=j|3;i=j|2;C[e+16>>2]=i;C[e+12>>2]=j;C[e+8>>2]=i;C[e+4>>2]=j|1;C[e>>2]=j;j=j+4|0;e=e+24|0;d=d+32|0;o=o+1|0;if((o|0)!=(c|0)){continue}break}}d=Fe[C[a+48>>2]](a,k,0,g,8,a+420|0,0,0,0,c<<2,h,I(c,6),4,J(1),J(1))|0;if((d|0)>=0){break d}C[k>>2]=0}if(g?l>>>0>=128:0){Fe[C[94506]](g);C[94507]=C[94507]-1}if(m>>>0<128){break a}if(h){Fe[C[94506]](h);C[94507]=C[94507]-1}Ce=n;return d}d=Fe[C[a+36>>2]](a,k,b,c)|0;if((d|0)>=0){break a}C[k>>2]=0}Ce=n;return d}function Ex(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[b+100>>2];c=D[a+2|0]|D[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}j=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((j|0)==-1){break a}c=C[e+76>>2];C[b+40>>2]=1;C[b+4>>2]=c;g=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[g+80>>2];h=(c|0)==C[g+76>>2]?D[(C[g+92>>2]+I(c,20)|0)+15|0]:h;C[b+12>>2]=8;A[b+24|0]=h;c=b+4|0;if(!ti(c)){break a}g=C[c>>2];c=D[a+4|0]|D[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}d=zf(c,C[C[e+92>>2]+I(g,20)>>2]);if((d|0)==-1){break a}h=205712;c=205712;i=D[a+10|0]|D[a+11|0]<<8;if(i){c=((i<<8|i>>>8)&65535)+a|0}i=D[c|0]|D[c+1|0]<<8;b:{if(d>>>0>=((i<<8|i>>>8)&65535)>>>0){break b}d=(d<<1)+c|0;d=D[d+2|0]|D[d+3|0]<<8;if(!d){break b}h=((d<<8|d>>>8)&65535)+c|0}c=D[h|0]|D[h+1|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;f=C[e+92>>2];d=D[(f+I(g,20)|0)+14|0];if(d>>>0>=32){e=D[(f+I(C[e+76>>2],20)|0)+14|0];f=e&16?0:e&15;c=(e^d)>>>0<32?f?c>>>0>>0?c:f:c:c}e=c-1|0;c=D[a+8|0]|D[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}a=D[a+6|0]|D[a+7|0]<<8;f=Hp(c,b,j,e,h,(a<<8|a>>>8)&65535,g)}return f}function DC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=J(0);e=a+4|0;c=C[b+20>>2];k=Ye(e,C[c+12>>2]);a:{if((k|0)<=0){break a}l=C[c+12>>2];m=C[c+16>>2];d=Ye(e,tg(C[c+20>>2]));if((d|0)==-1|(d|0)>=C[c+20>>2]){break a}g=C[C[C[C[a+64>>2]+4>>2]+28>>2]+2848>>2]+I(C[(c+(d<<2)|0)+24>>2],56)|0;d=pg(a,(C[g>>2]+C[b+4>>2]<<2)+4|0);h=C[b+4>>2];a=0;b:{if(C[g+8>>2]<=0){if((h|0)<=0){break b}We(d,0,h<<2);break b}if((h|0)<=0){break b}while(1){a=-1;c=Gj(g,e);if((c|0)==-1){break b}c:{if((h|0)<=(i|0)){break c}j=C[g>>2];if((j|0)<=0){break c}c=C[g+16>>2]+(I(c,j)<<2)|0;a=0;while(1){G[d+(i<<2)>>2]=G[c+(a<<2)>>2];i=i+1|0;if((h|0)<=(i|0)){break c}a=a+1|0;if((j|0)>(a|0)){continue}break}}if((h|0)>(i|0)){continue}break}a=0}if((a|0)==-1){break a}e=C[b+4>>2];if((e|0)>0){a=0;while(1){d:{if((a|0)>=(e|0)){break d}j=e-a|0;b=0;f=C[g>>2];f=((f|0)>0?f:0)+a|0;while(1){if((a|0)==(f|0)){a=f;break d}c=d+(a<<2)|0;G[c>>2]=n+G[c>>2];a=a+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}n=G[(d+(a<<2)|0)-4>>2];if((a|0)<(e|0)){continue}break}}G[d+(e<<2)>>2]=J(J(k|0)/J(-1<>2];C[i+12>>2]=0;C[b>>2]=0;d=C[a+32>>2];if(d>>>0>2]){C[a+32>>2]=d+1;e=D[d|0]}else{e=0}e=e<<24>>24;d=-1;a:{if(!e){break a}h=e&255;if((e|0)<0){f=h<<8&32512;e=C[a+32>>2];if(e>>>0>2]){C[a+32>>2]=e+1;d=D[e|0]}else{d=0}h=f|d<<24>>24&255}e=Ve(c,2,0,h,0,i+12|0);d=0;if(C[i+12>>2]){break a}C[b>>2]=h;b:{if(!h){break b}c=0;while(1){d=c+1|0;b=(c<<1)+e|0;c=C[a+32>>2];if(c>>>0>2]){C[a+32>>2]=c+1;c=D[c|0]}else{c=0}g=c<<24>>24;j=g&255;c:{if((g|0)<0){c=b;b=Ff(a);B[c>>1]=b;g=j&127;if(!g){break b}f=0;c=d;if(g+c>>>0>h>>>0){break b}while(1){b=Ff(a)+b|0;B[(c<<1)+e>>1]=b;c=c+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break c}f=b;c=C[a+32>>2];if(c>>>0>2]){C[a+32>>2]=c+1;b=D[c|0]}else{b=0}b=b<<24>>24&255;B[f>>1]=b;if(!g){break b}f=0;c=d;if(j+c>>>0>h>>>0){break b}while(1){k=(c<<1)+e|0;g=C[a+32>>2];if(g>>>0>2]){C[a+32>>2]=g+1;d=D[g|0]}else{d=0}b=(d<<24>>24&255)+b|0;B[k>>1]=b;c=c+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(c>>>0>>0){continue}break}}d=e}Ce=i+16|0;return d}function Mk(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ce-16|0;Ce=g;if(e){C[e>>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)>0?c:0;i=C[a+8>>2];h=C[a>>2];a:{b:{if(h){b=i;while(1){if(!(C[b>>2]!=(l|0)|C[b+4>>2]!=(m|0))){h=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(h|0)){continue}break}}j=h+1|0;b=C[a+4>>2];c:{if(j>>>0>>0){break c}C[g+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=(h&-8)+8|0;i=Ve(d,12,f,b,i,g+4|0);C[a+8>>2]=i;f=C[g+4>>2];if(f){break a}C[a+4>>2]=b}C[a>>2]=j;b=(I(j,12)+i|0)-12|0;C[b+8>>2]=c>>31&(k?3:1);C[b+4>>2]=m;C[b>>2]=l}b=C[a+12>>2];d:{e:{if(!b){f:{if(C[a+16>>2]){b=C[a+20>>2];break f}C[g+8>>2]=0;b=Ve(d,16,0,8,C[a+20>>2],g+8|0);C[a+20>>2]=b;f=C[g+8>>2];if(f){break a}C[a+16>>2]=8}C[b+12>>2]=0;C[b>>2]=0;C[a+12>>2]=1;break e}b=(C[a+20>>2]+(b<<4)|0)-16|0;if(F[b>>2]>h>>>0){break d}}a=C[b+4>>2];C[g+12>>2]=0;c=h+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=Ve(d,1,f,a,C[b+8>>2],g+12|0),C[n+8>>2]=o;f=C[g+12>>2];if(f){break a}C[b+4>>2]=a<<3}C[b>>2]=h+1}a=C[b+8>>2]+(h>>>3|0)|0;A[a|0]=D[a|0]|128>>>(h&7);f=0;if(!e){break a}C[e>>2]=h}Ce=g+16|0;return f}function CL(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,k=0,l=0,m=0;j=C[b>>2]<<2;C[c+232>>2]=j;h=C[b+4>>2]<<2;C[c+236>>2]=h;e=C[a>>2];C[c+240>>2]=e<<2;f=C[a+4>>2];d=C[c+220>>2];C[c+248>>2]=d;i=C[c+224>>2];C[c+252>>2]=i;g=f<<2;C[c+244>>2]=g;a=c+232|0;m=c+1008|0;b=0;e=(j-(e<<3)|0)+d|0;k=e>>31;d=i+(h-(f<<3)|0)|0;f=d>>31;a:{b:{e=(e^k)-k|0;d=(d^f)-f|0;d=d>>>0>>0?e:d;c:{if(d>>>0<64){break c}e=(g|0)<(h|0)?g:h;if(C[c+176>>2]<=((e|0)>(i|0)?i:e)>>8){break c}b=(g|0)>(h|0)?g:h;if(C[c+172>>2]<=((b|0)<(i|0)?i:b)>>8){break b}b=0}d=0;break a}while(1){l=l+1|0;b=d>>>0>259;d=d>>>2|0;if(b){continue}break}C[m>>2]=l;b=0;d=1}while(1){d:{if(!d){Ko(c,j,C[a+4>>2]);b=b-1|0;a=a-16|0;break d}e=C[a+16>>2];C[a+32>>2]=e;g=C[a+20>>2];C[a+36>>2]=g;d=C[a+8>>2];k=(d+j|0)/2|0;C[a+8>>2]=k;f=(d+e|0)/2|0;C[a+24>>2]=f;d=C[a+12>>2];e=(d+C[a+4>>2]|0)/2|0;C[a+12>>2]=e;d=(d+g|0)/2|0;C[a+28>>2]=d;C[a+16>>2]=(f+k|0)/2;C[a+20>>2]=(d+e|0)/2;d=l-1|0;C[(b<<2)+m>>2]=d;b=b+1|0;C[(b<<2)+m>>2]=d;a=a+16|0}e:{if((b|0)>=0){j=C[a>>2];l=C[(b<<2)+m>>2];if((l|0)<=0){break e}d=1;continue}return 0}d=0;continue}}function fy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;c:{if(!c){break c}if(_i(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+6|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break a}d=D[d|0]|D[d+1|0]<<8;if(!d){return 1}f=a+8|0;if(c>>>0>>0){break a}d=(d<<8|d>>>8)&65535;g=d<<1;if(g>>>0>c-f>>>0){break a}c=e-g|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0<=1?1:d;d=0;while(1){h=by(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function Nf(a){a=a|0;var b=0,c=0,d=0;a:{if(!a|D[a|0]&4){break a}ag(C[a+52>>2]);b=C[a+32>>2];C[a+32>>2]=0;if(b){while(1){c=C[b>>2];if(c){d=C[c>>2];if(d){Pl(d+32|0,c)}C[c>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;c=c- -64|0;d=C[c>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}C[c>>2]=0}d=C[b+4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=d;if(b){continue}break}}b=C[a+56>>2];C[a+56>>2]=b-1;if((b|0)>1){break a}b=C[a+28>>2];b:{if((b|0)<=0){break b}while(1){d=b-1|0;C[a+28>>2]=d;if((b|0)==1){b=C[a>>2];if(!(b&2)){break b}C[a>>2]=b&-3;Nl(a);d=C[a+28>>2]}b=d;if((b|0)>0){continue}break}}if(D[a|0]&2){Jj(a,0)}b=C[a+4>>2];if(b){if((ps(b,0)|0)>=0){ag(C[a+52>>2])}En(C[a+4>>2]);C[a+4>>2]=0}b=C[a>>2];c:{if(b&1){break c}d=C[a+20>>2];if(b&8){if(d){b=C[d-4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}break c}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}}c=C[a+52>>2];if(c){b=C[c>>2];if(b){Pl(b+32|0,c)}C[c>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;d=c- -64|0;b=C[d>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[d>>2]=0;if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}}function mH(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(b>>>0>=4){e=b>>>2|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a:{if(!(b&4)){b=d;g=e;break a}c=G[d>>2];b=255;b:{if(c>=J(1)){break b}b=0;if(c<=J(-1)){break b}c=J(J(c+J(1))*J(127));if(c=J(0)){b=~~c>>>0;break b}b=0}A[d|0]=b;b=d+1|0;d=d+4|0;g=e-1|0}if((e|0)!=1){while(1){e=255;c=G[d>>2];f=255;c:{if(c>=J(1)){break c}f=0;if(c<=J(-1)){break c}c=J(J(c+J(1))*J(127));if(c=J(0)){f=~~c>>>0;break c}f=0}A[b|0]=f;c=G[d+4>>2];d:{if(c>=J(1)){break d}e=0;if(c<=J(-1)){break d}c=J(J(c+J(1))*J(127));if(c=J(0)){e=~~c>>>0}}A[b+1|0]=e;b=b+2|0;d=d+8|0;g=g-2|0;if(g){continue}break}}b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24)}b=(b|0)/4|0;A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,8)}}function mz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=C[51428];h=C[b+4>>2];while(1){k=f>>>0>=h>>>0;if(k){return 1}l=0;g=C[c>>2];d=C[a>>2];a:{if(g>>>0>d>>>0|d>>>0>=g+C[c+4>>2]>>>0){break a}e=d+1|0;C[a>>2]=e;d=A[d|0];i=d&63;b:{if((d|0)<0){g=C[b+8>>2];e=0;while(1){c:{if(F[b+4>>2]<=f>>>0){C[105676]=j;d=422704;break c}d=g+(f<<2)|0}C[d>>2]=0;f=f+1|0;d=e+1|0;if(e>>>0>=i>>>0){break b}e=d;if(f>>>0>>0){continue}break}break b}g=0;if(d&64){while(1){d=C[c>>2];if(d>>>0>e>>>0){break a}d=d+C[c+4>>2]|0;if(d>>>0>>0|d-e>>>0<2){break a}d=D[e|0]|D[e+1|0]<<8;d=(d<<8|d>>>8)<<16>>16;d:{if(F[b+4>>2]<=f>>>0){C[105676]=j;e=C[a>>2];m=422704;break d}m=C[b+8>>2]+(f<<2)|0}C[m>>2]=d;e=e+2|0;C[a>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0>>0){continue}break b}}while(1){e=C[c>>2];d=C[a>>2];if(e>>>0>d>>>0|d>>>0>=e+C[c+4>>2]>>>0){break a}C[a>>2]=d+1;e=A[d|0];e:{if(F[b+4>>2]<=f>>>0){C[105676]=j;d=422704;break e}d=C[b+8>>2]+(f<<2)|0}C[d>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0>>0){continue}break}}l=k;if(d>>>0>i>>>0){continue}}break}return l}function lH(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0,h=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(g>>>0<4){break a}e=g>>>2|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b:{if(!(g&4)){d=b;h=e;break b}c=G[b>>2];d=32767;c:{if(c>=J(1)){break c}d=32768;if(c<=J(-1)){break c}c=J(c*J(32767));if(J(K(c))>1]=d;d=b+2|0;b=b+4|0;h=e-1|0}if((e|0)==1){break a}while(1){e=32767;c=G[b>>2];f=32767;d:{if(c>=J(1)){break d}f=32768;if(c<=J(-1)){break d}c=J(c*J(32767));if(J(K(c))>1]=f;c=G[b+4>>2];e:{if(c>=J(1)){break e}e=32768;if(c<=J(-1)){break e}c=J(c*J(32767));if(J(K(c))>1]=e;d=d+4|0;b=b+8|0;h=h-2|0;if(h){continue}break}}b=(g|0)/2|0;A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,32784)}}function gk(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;j=C[c+12>>2];d=C[b+120>>2];if(d){Fe[d|0](C[b+116>>2])}e=C[b+84>>2];if(e){while(1){h=C[e+4>>2];d=C[h+84>>2];a:{if(!d){break a}i=C[C[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){f=0;break b}while(1){g=C[d+8>>2];if(!g){break a}f=d;d=g;if((e|0)!=(d|0)){continue}break}}C[(f?f+8|0:h+84|0)>>2]=C[e+8>>2];d=C[e+20>>2];if(d){Fe[d|0](e)}op(e);if(e){Fe[C[i+8>>2]](i,e)}e=C[b+84>>2]}if(e){continue}break}}Yo(b+108|0,901,a,c);C[b+88>>2]=0;c=C[b+48>>2];if(c){Fe[c|0](b)}if(C[b+36>>2]>0){c=0;while(1){g=c<<2;d=C[g+C[b+40>>2]>>2];f=C[C[d>>2]+100>>2];e=C[C[d+12>>2]+8>>2];if(e){Fe[e|0](d)}if(d){Fe[C[f+8>>2]](f,d)}C[g+C[b+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=C[b+40>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+36>>2]=0;C[b+40>>2]=0;c=C[j+52>>2];if(c){Fe[c|0](b)}c=C[b+104>>2];c:{if(!c){break c}d=C[c+28>>2];f=C[b+8>>2];d:{if(!c){break d}g=C[c+24>>2];if(!g){break d}Fe[g|0](c)}if(f&1024){break c}if(c){Fe[C[d+8>>2]](d,c)}}C[b+104>>2]=0;c=C[b+128>>2];if(c){if(c){Fe[C[a+8>>2]](a,c)}C[b+128>>2]=0}if(b){Fe[C[a+8>>2]](a,b)}}function rF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=D[a+63|0];if((d|0)==128){Is(a,63454);return}a:{f=C[a+28>>2];if(!f){break a}g=d>>>3|0;d=C[a+24>>2];h=d&3;i=(d+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-2;b:while(1){f=f-1|0;d=i;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=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=1;continue;case 1:a=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=2;continue;case 2:a=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=3;continue;default:break e}}a=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;a=d-1|0;b=b+2|0;c=c+2|0;f:{if((d|0)>1){d=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function tB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=df(1,2840);g=C[a+28>>2];l=d,m=Ye(b,24),C[l>>2]=m;l=d,m=Ye(b,24),C[l+4>>2]=m;l=d,m=Ye(b,24)+1|0,C[l+8>>2]=m;h=Ye(b,6);j=h+1|0;C[d+12>>2]=j;f=Ye(b,8);C[d+20>>2]=f;a:{if((f|0)<0){break a}b:{if((h|0)>=0){while(1){a=Ye(b,3);c=Ye(b,1);if((c|0)<0){break a}if(c){c=Ye(b,5);if((c|0)<0){break a}a=c<<3|a}C[((i<<2)+d|0)+24>>2]=a;c=0;if(a){while(1){c=(a&1)+c|0;k=a>>>0>1;a=a>>>1|0;if(k){continue}break}}e=c+e|0;a=(i|0)==(h|0);i=i+1|0;if(!a){continue}break}a=0;if((e|0)>0){while(1){c=Ye(b,8);if((c|0)<0){break a}C[((a<<2)+d|0)+280>>2]=c;a=a+1|0;if((e|0)!=(a|0)){continue}break}}b=C[g+24>>2];if((b|0)<=(f|0)){break a}a=0;if((e|0)<=0){break b}while(1){c=C[((a<<2)+d|0)+280>>2];if((c|0)>=(b|0)|!C[C[((c<<2)+g|0)+1824>>2]+12>>2]){break a}a=a+1|0;if((e|0)!=(a|0)){continue}break}break b}if(C[g+24>>2]<=(f|0)){break a}}c=1;b=C[((f<<2)+g|0)+1824>>2];a=C[b>>2];if((a|0)<=0){break a}b=C[b+4>>2];while(1){c=I(c,j);if((b|0)<(c|0)){break a}e=(a|0)<2;a=a-1|0;if(!e){continue}break}C[d+16>>2]=c;return d|0}Re(d);return 0}function Ig(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-224|0;Ce=e;if(!a){Af(0,b);s()}h=b;b=C[a+372>>2];c=b>>>24|0;a:{if(!(c-123>>>0>=4294967238&c-91>>>0>5)){A[e+3|0]=93;A[e+2|0]=D[(c&15)+95024|0];A[e+1|0]=D[(b>>>28|0)+95024|0];c=91;d=4;break a}d=1}A[e|0]=c;c=b>>>16|0;f=c&255;b:{if(!(f-123>>>0<4294967238|f-91>>>0<6)){f=d;break b}A[(e+d|0)+1|0]=D[(b>>>20&15)+95024|0];A[(d|2)+e|0]=D[(c&15)+95024|0];f=d+3|0;A[f+e|0]=93;c=91}A[e+d|0]=c;g=f+1|0;d=b>>>8|0;c=d&255;c:{if(!(c-123>>>0<4294967238|c-91>>>0<6)){c=g;break c}c=f+4|0;A[e+c|0]=93;f=e+f|0;A[f+3|0]=D[(d&15)+95024|0];A[f+2|0]=D[(b>>>12&15)+95024|0];d=91}A[e+g|0]=d;f=c+1|0;d=b&255;d:{if(!(d-123>>>0<4294967238|d-91>>>0<6)){d=f;break d}d=c+4|0;A[d+e|0]=93;c=c+e|0;A[c+3|0]=D[(b&15)+95024|0];A[c+2|0]=D[(b>>>4&15)+95024|0];b=91}A[e+f|0]=b;b=d+1|0;e:{if(!h){break e}A[b+e|0]=58;A[(e+d|0)+2|0]=32;b=d+3|0;d=0;while(1){f=d+h|0;c=D[f|0];if(!c){break e}A[b+e|0]=c;c=b+1|0;g=D[f+1|0];if(!g){b=c;break e}A[c+e|0]=g;c=b+2|0;f=D[f+2|0];if(!f){b=c;break e}A[c+e|0]=f;b=b+3|0;d=d+3|0;if((d|0)!=195){continue}break}}A[b+e|0]=0;Af(a,e);s()}function pq(a,b,c){var d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{if(F[b+16>>2]<=c>>>0){C[a+16>>2]=205712;C[a+8>>2]=0;C[a+12>>2]=-1;C[a>>2]=0;C[a+4>>2]=0;b=E[102856];if(!b){C[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){C[a+20>>2]=1;break a}C[a+20>>2]=2;break a}d=C[b+20>>2];d=C[(d?d:205712)+12>>2];b:{if(D[b+12|0]){d=d+(c<<1)|0;e=D[d|0]|D[d+1|0]<<8;e=((e<<8|e>>>8)&65535)<<1;d=D[d+2|0]|D[d+3|0]<<8;d=((d<<8|d>>>8)&65535)<<1;break b}d=d+(c<<2)|0;e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c:{if(d>>>0>=e>>>0){b=C[b+24>>2];b=b?b:205712;if(d>>>0<=F[b+16>>2]){break c}}C[a+16>>2]=205712;C[a+8>>2]=0;C[a+12>>2]=-1;C[a>>2]=0;C[a+4>>2]=0;b=E[102856];if(!b){C[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){C[a+20>>2]=1;break a}C[a+20>>2]=2;break a}g=C[b+12>>2]+e|0;e=d-e|0;b=e>>>0<10?205712:g;d=D[b|0]|D[b+1|0]<<8;if(d){d=(d<<8|d>>>8)<<16>>16>0?1:2}else{d=0}C[a+20>>2]=d;C[a+16>>2]=b;C[a+12>>2]=c;C[a+8>>2]=0;C[a+4>>2]=e;C[a>>2]=g}Ce=f+16|0}function Jx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=C[b+100>>2];e=D[a+2|0]|D[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=205712}a:{if((zf(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)==-1){break a}e=C[d+76>>2];C[b+40>>2]=1;C[b+4>>2]=e;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];A[b+24|0]=(e|0)==C[c+76>>2]?D[(C[c+92>>2]+I(e,20)|0)+15|0]:0;e=b+4|0;if(!Sg(e)){break a}c=205712;g=D[a+8|0]|D[a+9|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}i=D[a+4|0]|D[a+5|0]<<8;g=D[a+6|0]|D[a+7|0]<<8;c=Tm(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2]);h=D[a+10|0]|D[a+11|0]<<8;if(h){f=((h<<8|h>>>8)&65535)+a|0}else{f=205712}h=Tm(f,C[C[d+92>>2]+I(C[e>>2],20)>>2]);f=D[a+12|0]|D[a+13|0]<<8;if(c>>>0>=((f<<8|f>>>8)&65535)>>>0){break a}f=D[a+14|0]|D[a+15|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0<=h>>>0){break a}i=qT(i);c=I(h+I(c,f)|0,qT(g)+i|0);c=(c|0)<0?205712:((c<<1)+a|0)+16|0;b:{if(!(Zi(a+4|0,b,a,c,C[d+100>>2]+I(C[d+76>>2],20)|0)|Zi(a+6|0,b,a,c+(i<<1)|0,C[d+100>>2]+I(C[b+4>>2],20)|0))){break b}a=C[e>>2]+1|0;b=C[d+76>>2];if(a-b>>>0<2){break b}Rf(d,b,a)}C[d+76>>2]=C[e>>2]+((g|0)!=0);j=1}return j}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|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{if(C[C[a+72>>2]+168>>2]!=C[95554]){if(!c){break a}b=c&1;if((c|0)!=1){h=c&-2;c=0;while(1){i=C[a+72>>2];k=f,l=Fe[C[i+168>>2]](a,C[a+76>>2],C[d>>2],C[i+32>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;i=C[a+72>>2];k=f,l=Fe[C[i+168>>2]](a,C[a+76>>2],C[d>>2],C[i+32>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;c=c+2|0;if((h|0)!=(c|0)){continue}break}}if(!b){break a}b=a;c=C[a+76>>2];a=C[a+72>>2];k=f,l=Fe[C[a+168>>2]](b,c,C[d>>2],C[a+32>>2])|0,C[k>>2]=l;return}b=C[a+12>>2];h=C[b+72>>2];Fe[C[h+176>>2]](b,C[b+76>>2],c,d,e,f,g,C[h+40>>2]);if(!c){break a}d=C[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=C[f>>2];c=C[d+20>>2];h=C[a+20>>2];if((c|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b;c=f+g|0;b=C[c>>2];f=C[d+20>>2];h=C[a+20>>2];if((f|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,f,f>>31)}C[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=C[f>>2];c=C[d+20>>2];a=C[a+20>>2];if((c|0)!=(a|0)){b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b}}function bA(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,j=0,k=0,l=0;a:{if(C[C[a+72>>2]+172>>2]!=C[95555]){if(!c){break a}b=c&1;if((c|0)!=1){h=c&-2;c=0;while(1){i=C[a+72>>2];k=f,l=Fe[C[i+172>>2]](a,C[a+76>>2],C[d>>2],C[i+36>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;i=C[a+72>>2];k=f,l=Fe[C[i+172>>2]](a,C[a+76>>2],C[d>>2],C[i+36>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;c=c+2|0;if((h|0)!=(c|0)){continue}break}}if(!b){break a}b=a;c=C[a+76>>2];a=C[a+72>>2];k=f,l=Fe[C[a+172>>2]](b,c,C[d>>2],C[a+36>>2])|0,C[k>>2]=l;return}b=C[a+12>>2];h=C[b+72>>2];Fe[C[h+180>>2]](b,C[b+76>>2],c,d,e,f,g,C[h+44>>2]);if(!c){break a}d=C[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=C[f>>2];c=C[d+24>>2];h=C[a+24>>2];if((c|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b;c=f+g|0;b=C[c>>2];f=C[d+24>>2];h=C[a+24>>2];if((f|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,f,f>>31)}C[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=C[f>>2];c=C[d+24>>2];a=C[a+24>>2];if((c|0)!=(a|0)){b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b}}function qF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=D[a+63|0];if((d|0)==128){Is(a,64478);return}a:{f=C[a+28>>2];if(!f){break a}g=d>>>3|0;d=C[a+24>>2];h=d&3;i=(d+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-2;b:while(1){f=f-1|0;d=i;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=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=1;continue;case 1:a=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=2;continue;case 2:a=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=3;continue;default:break e}}a=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;a=d-1|0;b=b+2|0;c=c+2|0;f:{if((d|0)>1){d=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function kH(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0,h=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(g>>>0<4){break a}e=g>>>2|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b:{if(!(g&4)){d=b;h=e;break b}c=G[b>>2];d=65535;c:{if(c>=J(1)){break c}d=0;if(c<=J(-1)){break c}c=J(J(c+J(1))*J(32767));if(c=J(0)){d=~~c>>>0;break c}d=0}B[b>>1]=d;d=b+2|0;b=b+4|0;h=e-1|0}if((e|0)==1){break a}while(1){e=65535;c=G[b>>2];f=65535;d:{if(c>=J(1)){break d}f=0;if(c<=J(-1)){break d}c=J(J(c+J(1))*J(32767));if(c=J(0)){f=~~c>>>0;break d}f=0}B[d>>1]=f;c=G[b+4>>2];e:{if(c>=J(1)){break e}e=0;if(c<=J(-1)){break e}c=J(J(c+J(1))*J(32767));if(c=J(0)){e=~~c>>>0}}B[d+2>>1]=e;d=d+4|0;b=b+8|0;h=h-2|0;if(h){continue}break}}b=(g|0)/2|0;A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,16)}}function ux(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(C[b+20>>2]){break a}b:{e=a+6|0;f=C[b+4>>2];g=e-f|0;if(!((g|0)>=0&(g|0)<=(C[b+8>>2]-f|0))){break b}d=e;if((f|0)!=(d|0)){We(f,0,g);d=C[b+4>>2]}C[b+4>>2]=d+g;g=0;c:{if(!d){break c}A[a+2|0]=0;A[a+3|0]=8;c=c<<8|(c&65280)>>>8;A[a|0]=c;A[a+1|0]=c>>>8;if(C[b+20>>2]){break c}d=C[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(C[b+8>>2]-d|0))){break b}if((d|0)!=(e|0)){We(d,0,c);e=C[b+4>>2]}C[b+4>>2]=c+e;if(!e){break c}f=a+4|0;A[f|0]=0;A[f+1|0]=1;if(C[b+20>>2]){break c}e=f+4|0;d=C[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(C[b+8>>2]-d|0))){break b}if((d|0)!=(e|0)){We(d,0,c);e=C[b+4>>2]}h=c+e|0;C[b+4>>2]=h;if(!e){break a}g=1;d=D[a+2|0]|D[a+3|0]<<8;if(!(d&4096)){break c}if(C[b+20>>2]){break a}g=0;c=D[a+4|0]|D[a+5|0]<<8;c=((f+(((c<<8|c>>>8)&65535)<<1)|0)+(d>>>11&2)|0)+2|0;if((c-a|0)<0){break c}a=c-h|0;if(!((a|0)>=0&(a|0)<=(C[b+8>>2]-h|0))){break b}if((c|0)!=(h|0)){We(h,0,a);h=C[b+4>>2]}C[b+4>>2]=a+h;if(!h){break a}g=1;a=D[f|0]|D[f+1|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;A[a+2|0]=0;A[a+3|0]=0}return g}C[b+20>>2]=4}return 0}function DN(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Ce-80|0;Ce=f;e=6;a:{if(C[b+72>>2]!=C[a+16>>2]){break a}e=19;if((c|0)!=2){break a}c=b+108|0;if(d){Pg(c,C[d>>2],C[d+4>>2])}di(c,f+60|0);e=6;d=C[f+60>>2];i=d&-64;j=C[f+68>>2];m=d+32&-64;d=(j-m|0)+32|0;n=d>>>0<64;g=n?(j+63&-64)-i|0:d;if(g>>>0>4194303){break a}d=C[f+72>>2];j=d+63&-64;k=C[f+64>>2];o=k&-64;p=d+32|0;k=k+32&-64;h=p-k|0;d=h>>>0<64;h=d?j-o|0:h;if(h>>>0>4194303){break a}e=C[a+8>>2];if(A[C[b+156>>2]+4|0]&1){l=C[b+88>>2];if(l){Fe[C[e+8>>2]](e,l)}C[b+88>>2]=0;l=C[b+156>>2];C[l+4>>2]=C[l+4>>2]&-2}h=h>>6;C[b+76>>2]=h;g=g>>6;C[b+80>>2]=g;A[b+94|0]=1;g=g+15>>>3&536870910;C[b+84>>2]=g;q=b,r=Ve(e,h,0,g,0,f+76|0),C[q+88>>2]=r;e=C[f+76>>2];if(e){break a}e=C[b+156>>2];C[e+4>>2]=C[e+4>>2]|1;i=n?i:m;e=d?o:k;Pg(c,0-i|0,0-e|0);C[f+20>>2]=0;C[f+16>>2]=c;C[f+12>>2]=b+76;q=f,r=Fe[C[a+56>>2]](C[a+52>>2],f+12|0)|0,C[q+76>>2]=r;Pg(c,i,e);e=C[f+76>>2];if(e){break a}C[b+72>>2]=1651078259;C[b+104>>2]=(d?j:p&-64)>>6;C[b+100>>2]=i>>6;e=0}Ce=f+80|0;return e|0}function ht(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-16|0;Ce=e;C[b>>2]=0;a:{if(!a){break a}if(D[a|0]==64){f=Xh(a+1|0,21803);a=0;j=Ce-16|0;Ce=j;b:{if(!f){C[j>>2]=21531;Qe(19745,j);break b}c=Fe[C[f>>2]](f)|0;a=Ee;d=(a|0)<0;g=d?1024:c;d=d?0:a;a=g+1|0;a=Fe[C[94503]](a>>>0<=1?1:a)|0;if(a){C[94507]=C[94507]+1}c:{while(1){c=0;i=h+1024|0;c=i>>>0<1024?1:c;if(g>>>0>>0&(c|0)>=(d|0)|(c|0)>(d|0)){c=Sf(a,h+1025|0);if(!c){if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=0;_e(0);break c}g=h+1024|0;d=0;a=c}c=a+h|0;i=Fe[C[f+8>>2]](f,c,1,g-h|0)|0;h=i+h|0;if(i){continue}break}A[c|0]=0}Fe[C[f+16>>2]](f)|0}Ce=j+16|0;g=a;if(!a){break a}}a=Wh(a,1765);C[e+12>>2]=a;d:{if(!a){break d}while(1){c=Ir(a,e+12|0);a=Wh(C[e+12>>2],1765);C[e+12>>2]=a;if(!a){break d}f=Ir(a,e+12|0);a=C[b>>2];e:{if((a|0)!=C[b+4>>2]){d=C[b+8>>2];break e}a=a+16|0;d=Sf(C[b+8>>2],a<<2);if(!d){break d}C[b+4>>2]=a;C[b+8>>2]=d;a=C[b>>2]}C[b>>2]=a+1;C[(a<<2)+d>>2]=f&65535|c<<16;a=Wh(C[e+12>>2],1765);C[e+12>>2]=a;if(a){continue}break}}if(!g){break a}if(g){Fe[C[94506]](g);C[94507]=C[94507]-1}}Ce=e+16|0}function _t(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-1024|0;Ce=f;C[a+236>>2]=0;C[a+232>>2]=b;e=b?c:0;g=a+220|0;a:{b:{c:{while(1){c=C[a+224>>2];if(!c){c=C[a+396>>2];d:{while(1){if(c){break d}ef(a,0);c=Ao(a);C[a+396>>2]=c;if(C[a+372>>2]==1229209940){continue}break}Af(a,21942);s()}d=C[a+768>>2];c=c>>>0>d>>>0?d:c;d=C[a+760>>2];e:{if(d){if(F[a+764>>2]>=c>>>0){break e}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,d)}d=jh(a,c);if(!d){break c}h=We(d,0,c);C[a+764>>2]=c;C[a+760>>2]=h}Xf(a,d,c);$f(a,d,c);C[a+224>>2]=c;C[a+220>>2]=d;C[a+396>>2]=C[a+396>>2]-c}f:{if(b){d=e;e=0;break f}C[a+232>>2]=f;d=1024}C[a+236>>2]=d;g:{if(!(!D[a+432|0]|!c)){if(A[C[g>>2]]<0){C[a+244>>2]=32909;c=-3;break g}A[a+432|0]=0}c=bm(g,0)}d=C[a+236>>2];C[a+236>>2]=0;e=(b?d:1024-d|0)+e|0;h:{if(c){if((c|0)==1){C[a+232>>2]=0;C[a+204>>2]=C[a+204>>2]|8;C[a+208>>2]=C[a+208>>2]|8;if(C[a+224>>2]|C[a+396>>2]){ff(a,22019)}if(!e){break h}if(b){break a}ff(a,21964);break h}tj(a,c);c=C[a+244>>2];if(b){break b}ff(a,c);break h}if(e){continue}}break}Ce=f+1024|0;return}Ig(a,13856);s()}Ig(a,c);s()}Af(a,21942);s()}function TL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=3;a:{if((d|e)<0){break a}h=C[a+8>>2];i=C[a+12>>2];m=E[i+2>>1];if(F[h+4>>2]>>0){break a}k=E[i>>1];if(F[h>>2]>>0){break a}l=I(m,D[a+18|0]);if((I(l,k)+7>>>3|0)+b>>>0>c>>>0){break a}if(k){n=d&7;a=8-n|0;j=a>>>0>l>>>0?l:a;q=(255<>2];h=C[h+12>>2]+(I(o,e)+(d>>>3|0)|0)|0;m=l-j|0;p=8-j|0;e=0;d=k;while(1){i=d;b:{if(!n){f=l;d=h;break b}c:{if((i|0)==(k|0)){e=D[b|0];b=b+1|0;a=n;break c}if((g|0)<(j|0)){a=g+p|0;if(b>>>0>=c>>>0){break c}e=D[b|0]|e;b=b+1|0;a=g+p|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;A[h|0]=D[h|0]|(e&65535)>>>g&q;e=e<<8;f=m;d=h+1|0}a=b;if((f|0)>=8){while(1){b=D[a|0]|e;A[d|0]=D[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=D[a|0]|e;a=a+1|0}A[d|0]=D[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}A[d|0]=D[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+o|0;d=i-1|0;if((i|0)>1){continue}break}}f=0}return f|0}function Xo(a,b,c,d){var e=0,f=0,g=0;e=C[a+8264>>2];a:{if(e>>>0>b>>>0){e=0;if(bf(C[a>>2],C[a+68>>2])){break a}g=a+8264|0;e=C[a+40>>2];b:{if(!e){break b}C[a+20>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;C[e>>2]=C[e+12>>2]?7:0;f=C[e+20>>2];e=C[f>>2];if((e&-2)==4){Fe[C[a+48>>2]](C[a+52>>2],C[f+12>>2]);e=C[f>>2]}if((e|0)==6){Fe[C[a+48>>2]](C[a+52>>2],C[f+4>>2])}C[f+28>>2]=0;C[f+32>>2]=0;C[f>>2]=0;e=C[f+40>>2];C[f+52>>2]=e;C[f+48>>2]=e;e=C[f+56>>2];if(!e){break b}e=Fe[e|0](0,0,0)|0;C[f+60>>2]=e;C[a+60>>2]=e}C[a+8272>>2]=g;C[a+8268>>2]=g;C[a+8264>>2]=0;C[a+28>>2]=0;C[a+12>>2]=a+72;C[a+16>>2]=0;C[a+24>>2]=a+4168;e=0}c:{if(b>>>0>e>>>0){b=b-e|0;d:{while(1){f=C[a+8268>>2];e=C[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;C[a+8268>>2]=e+f;C[a+8264>>2]=e+C[a+8264>>2];b=b-e|0;if(!b){break d}if(!Mv(a)){continue}break}return 0}if(d){break c}return 0}if(d){break c}return 0}e=0;while(1){f=C[a+8268>>2];b=C[a+8272>>2]-f|0;b=b>>>0>>0?b:d;t(c,f,b);C[a+8268>>2]=b+C[a+8268>>2];C[a+8264>>2]=b+C[a+8264>>2];e=b+e|0;d=d-b|0;if(!d){break a}c=b+c|0;if(!Mv(a)){continue}break}}return e}function Rm(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0;m=Ce-272|0;Ce=m;C[m+268>>2]=0;k=0;a:{if(!el(a,d,e,C[j>>2],C[j+8>>2],m+268|0,m,0)){break a}e=C[a+100>>2];e=C[(D[e+73|0]?84:76)+e>>2];n=C[j+4>>2];o=C[j>>2];C[a+84>>2]=b;C[a+48>>2]=e;l=C[C[a+52>>2]+100>>2];C[a+88>>2]=C[l+80>>2];k=C[l+76>>2]==(e|0)?D[(C[l+92>>2]+I(e,20)|0)+15|0]:k;l=a+48|0;C[a+80>>2]=c;C[a+76>>2]=n;C[a+72>>2]=o;A[a+68|0]=k;b:{if(!b){break b}c=0;k=0;if(!ti(l)){break a}c:{while(1){c=c+1|0;if((c|0)==(b|0)){break c}if(ti(l)){continue}break}e=0;k=0;if(b>>>0>c>>>0){break a}break b}e=C[l>>2]}o=C[j+12>>2];p=C[j>>2];c=C[C[a+100>>2]+76>>2];b=C[m+268>>2];C[a+84>>2]=f;c=b+c|0;j=c-1|0;C[a+48>>2]=j;n=C[C[a+52>>2]+100>>2];C[a+88>>2]=C[n+80>>2];k=0;k=(j|0)==C[n+76>>2]?D[(C[n+92>>2]+I(j,20)|0)+15|0]:k;C[a+80>>2]=g;C[a+76>>2]=o;C[a+72>>2]=p;A[a+68|0]=k;d:{if(!f){break d}c=0;k=0;if(!Sg(l)){break a}e:{while(1){c=c+1|0;if((c|0)==(f|0)){break e}if(Sg(l)){continue}break}f=c>>>0>>0;c=0;k=0;if(f){break a}break d}c=C[l>>2]+1|0}Xg(C[a+100>>2],e,c);k=Sm(a,d,m,h,i,b)}Ce=m+272|0;return k}function iu(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{b:{if(!ah(21847,A[b|0])){C[105773]=28;break b}d=2;if(!ah(b,43)){d=D[b|0]!=114}d=ah(b,120)?d|128:d;d=ah(b,101)?d|524288:d;e=d;g=d|64;d=D[b|0];e=(d|0)==114?e:g;e=(d|0)==119?e|512:e;C[f>>2]=438;C[f+4>>2]=0;a=Wb(-100,a|0,((d|0)==97?e|1024:e)|32768,f|0)|0;if(a>>>0>=4294963201){C[105773]=0-a;a=-1}if((a|0)<0){break a}d=Ce-32|0;Ce=d;c:{d:{e:{if(!ah(21847,A[b|0])){C[105773]=28;break e}c=kf(1176);if(c){break d}}b=0;break c}We(c,0,144);if(!ah(b,43)){C[c>>2]=D[b|0]==114?8:4}f:{if(D[b|0]!=97){b=C[c>>2];break f}b=Ca(a|0,3,0)|0;if(!(b&1024)){b=b|1024;C[d+16>>2]=b;C[d+20>>2]=b>>31;Ca(a|0,4,d+16|0)|0}b=C[c>>2]|128;C[c>>2]=b}C[c+80>>2]=-1;C[c+48>>2]=1024;C[c+60>>2]=a;C[c+44>>2]=c+152;g:{if(b&8){break g}C[d>>2]=d+24;C[d+4>>2]=0;if(Vb(a|0,21523,d|0)|0){break g}C[c+80>>2]=10}C[c+40>>2]=1470;C[c+36>>2]=1471;C[c+32>>2]=1472;C[c+12>>2]=1473;if(!D[423117]){C[c+76>>2]=-1}C[c+56>>2]=C[105794];b=C[105794];if(b){C[b+52>>2]=c}C[105794]=c;b=c}Ce=d+32|0;c=b;if(c){break a}Da(a|0)|0}c=0}Ce=f+16|0;return c}function cr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ce-32|0;f=C[a+80>>2];if(f>>>0>=2){i=C[a+92>>2];e=f-1|0;while(1){b=I(e,20)+i|0;C[c+24>>2]=C[b+16>>2];d=C[b+12>>2];C[c+16>>2]=C[b+8>>2];C[c+20>>2]=d;d=C[b+4>>2];C[c+8>>2]=C[b>>2];C[c+12>>2]=d;d=I(g,20)+i|0;C[b+16>>2]=C[d+16>>2];h=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=h;h=C[d+4>>2];C[b>>2]=C[d>>2];C[b+4>>2]=h;C[d+16>>2]=C[c+24>>2];b=C[c+20>>2];C[d+8>>2]=C[c+16>>2];C[d+12>>2]=b;b=C[c+12>>2];C[d>>2]=C[c+8>>2];C[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!D[a+74|0]){break a}b=C[a+80>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=C[a+100>>2];e=b-1|0;g=0;while(1){a=d+I(e,20)|0;C[c+24>>2]=C[a+16>>2];b=C[a+12>>2];C[c+16>>2]=C[a+8>>2];C[c+20>>2]=b;b=C[a+4>>2];C[c+8>>2]=C[a>>2];C[c+12>>2]=b;b=d+I(g,20)|0;C[a+16>>2]=C[b+16>>2];f=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=f;f=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=f;C[b+16>>2]=C[c+24>>2];a=C[c+20>>2];C[b+8>>2]=C[c+16>>2];C[b+12>>2]=a;a=C[c+12>>2];C[b>>2]=C[c+8>>2];C[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function $v(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ce-16|0;Ce=i;k=C[a>>2];a=bf(b,c);C[i+12>>2]=a;a:{if(a){break a}l=_f(b,i+12|0);a=C[i+12>>2];if(a){break a}while(1){m=dg(b,i+12|0);a=C[i+12>>2];if(a){break a}n=_f(b,i+12|0);a=C[i+12>>2];if(a){break a}o=_f(b,i+12|0);a=C[i+12>>2];if(a){break a}if((e|0)!=(m|0)){a=1;m=(j|0)==(l|0);j=j+1|0;if(m){break a}continue}break}C[h>>2]=n+1;a=bf(b,c+o|0);C[i+12>>2]=a;if(a){break a}j=0;c=Ve(k,8,0,C[h>>2],0,i+12|0);a=C[i+12>>2];if(a){break a}e=C[h>>2];b:{if((e|0)>0){while(1){a=c+(j<<3)|0;p=a,q=_f(b,i+12|0),B[p>>1]=q;if(C[i+12>>2]){break b}e=lg(b,2);C[i+12>>2]=e;if(e){break b}e=dg(b,i+12|0);if(C[i+12>>2]){break b}l=lg(b,4);C[i+12>>2]=l;if(l){break b}C[a+4>>2]=e&16777215;e=C[h>>2];j=j+1|0;if((e|0)>(j|0)){continue}break}}a=0;if(f){oh(c,e,8,904);e=C[h>>2]}b=Ve(k,4,0,e,0,i+12|0);if(C[i+12>>2]){break b}if(C[h>>2]>0){while(1){C[b+(a<<2)>>2]=C[(c+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}C[g>>2]=b;C[i+12>>2]=0}if(c){Fe[C[k+8>>2]](k,c)}a=C[i+12>>2]}Ce=i+16|0;return a}function UO(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ce-16|0;Ce=g;h=C[c>>2];C[g+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=D[a+3|0];i=D[a+4|0];a=C[c+92>>2];d=i+a|0;if(d>>>0>F[c+96>>2]){j=a;a=d+3&-4;p=c,q=Ve(h,36,j,a,C[c+100>>2],g+12|0),C[p+100>>2]=q;d=C[g+12>>2];if(d){break a}C[c+96>>2]=a}d=8;j=f&8;k=f&4;l=f&16;h=f&1;m=f&2;if(I(((j>>>3)+(k>>>2)+(l>>>4)|0)+(m?h+9|0:h|8)|0,i)+e>>>0>b>>>0){break a}f=C[c+92>>2];if(i){a=C[c+100>>2]+I(f,36)|0;while(1){b=D[e|0];b:{if(h){b=D[e+1|0]|b<<8;d=e+2|0;break b}d=e+1|0}C[a>>2]=b;b=D[d|0];c:{if(m){b=D[d+1|0]|b<<8;d=d+2|0;break c}d=d+1|0}C[a+4>>2]=b;b=d;C[a+8>>2]=D[b|0];d=D[b+2|0];e=D[b+1|0];d:{if(k){d=D[b+3|0]|(d<<8|e<<16);b=b+4|0;break d}d=d|e<<8;b=b+3|0}C[a+20>>2]=d;e=D[b+1|0];n=D[b|0];e:{if(j){d=b+3|0;b=D[b+2|0]|(e<<8|n<<16);break e}d=b+2|0;b=e|n<<8}C[a+24>>2]=b;b=D[d|0];f:{if(l){b=D[d+1|0]|b<<8;e=d+2|0;break f}e=d+1|0}C[a+28>>2]=b;a=a+36|0;o=o+1|0;if((o|0)!=(i|0)){continue}break}d=C[g+12>>2]}else{d=0}C[c+92>>2]=f+i}Ce=g+16|0;return d|0}function KI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=C[a+44>>2];i=C[a+48>>2];e=C[a+16>>2];l=D[a+11|0];d=E[a+12>>1];b=C[a+4>>2];C[a+88>>2]=0;Fe[C[104430]](a);j=(I(d,1e3)|0)/(b|0)|0;if(!C[a+56>>2]){f=a- -64|0;k=(e|0)<=0;while(1){a:{if(C[f>>2]){lh(j);b=C[a+52>>2];if(b){Xl(b)}Fe[C[104436]](a);break a}b=C[a+72>>2];b:{c:{if(C[a+60>>2]){c=e;d=b;if(k){break b}while(1){g=Fe[C[104435]](a,d,c)|0;if((g|0)<=0){wt(a);break c}d=d+g|0;c=c-g|0;if((c|0)>0){continue}break}break b}lh(j);c=e;d=b;if(k){break b}}lf(d,l,c)}d=C[a+52>>2];if(d){Pj(d,b,e);b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}c=C[a+40>>2];if((b|0)<(c|0)){break a}while(1){c=gj(C[a+52>>2],C[a+72>>2],c);b=C[a+40>>2];if((c|0)!=(b|0)){lf(C[a+72>>2],D[a+11|0],b)}if(!C[f>>2]){Fe[h|0](i,C[a+72>>2],C[a+40>>2])}b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}c=C[a+40>>2];if((b|0)>=(c|0)){continue}break}break a}if(!C[f>>2]){Fe[h|0](i,b,C[a+40>>2])}}if(!C[a+56>>2]){continue}break}}Fe[C[104436]](a);Fe[C[104431]](a);return 0}function EH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0),k=J(0),l=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];i=G[c+20>>2];j=G[c+16>>2];k=J(G[c+12>>2]*J(.06666667014360428));l=J(G[c+8>>2]*J(.15026666224002838));G[d>>2]=J(g*J(.08586666733026505))+J(J(h*J(.19413334131240845))+J(J(i*J(.11106666922569275))+J(J(j*J(.18106667697429657))+J(k+J(J(G[c>>2]*J(.21186666190624237))+l)))));G[d+4>>2]=J(g*J(.19413334131240845))+J(J(h*J(.08586666733026505))+J(J(i*J(.18106667697429657))+J(J(j*J(.11106666922569275))+J(k+J(J(G[c+4>>2]*J(.21186666190624237))+l)))));d=d+8|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=(e|0)/8<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function vM(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+100>>2];d=C[a+532>>2];a:{if(!d){break a}b=C[d+80>>2];if(b){Fe[b|0](a)}b=C[d+100>>2];if(!b){break a}Fe[b|0](a)}if(D[a+780|0]){b=a+760|0;if(C[b>>2]){Wf(C[a+104>>2],b)}C[a+772>>2]=0;C[a+764>>2]=0;C[a+768>>2]=0}Wf(C[a+104>>2],a+740|0);C[a+752>>2]=0;C[a+756>>2]=0;C[a+744>>2]=0;C[a+748>>2]=0;b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;C[a+144>>2]=0;b=C[a+156>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+152>>1]=0;C[a+156>>2]=0;Wf(C[a+104>>2],a+500|0);C[a+504>>2]=0;b=C[a+104>>2];Wf(b,a+680|0);Wf(b,a+688|0);C[a+692>>2]=0;C[a+684>>2]=0;if(D[a+292|0]){b=C[a+332>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+332>>2]=0;b=C[a+336>>2];if(b){Fe[C[c+8>>2]](c,b)}A[a+292|0]=0;C[a+336>>2]=0}b=C[a+544>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+542>>1]=0;C[a+544>>2]=0;if(d){Fe[C[d+52>>2]](a)}d=C[a+20>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+20>>2]=0;d=C[a+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+24>>2]=0;d=C[a+32>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+28>>2]=0;C[a+32>>2]=0;d=C[a+664>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+532>>2]=0;C[a+664>>2]=0}}function Gx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[b+100>>2];h=D[a+2|0]|D[a+3|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}else{c=205712}h=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((h|0)==-1){break a}f=C[e+76>>2];C[b+40>>2]=1;C[b+4>>2]=f;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];g=(f|0)==C[c+76>>2]?D[(C[c+92>>2]+I(f,20)|0)+15|0]:g;C[b+12>>2]=8;A[b+24|0]=g;f=b+4|0;if(!ti(f)){break a}while(1){b:{g=C[f>>2];d=C[e+92>>2]+I(g,20)|0;if(!(D[d+12|0]&64)){break b}c=D[d+14|0];j=c&16?0:c&15;if(!j|!g){break b}g=d-20|0;if(D[g+12|0]&8){break b}i=c;c=D[g+14|0];if((i^c)>>>0>31|((c&16?1:(c&15)+1|0)|0)!=(j|0)){break b}C[b+40>>2]=C[b+40>>2]+1;d=C[b+36>>2];if(d){C[b+36>>2]=d-2}d=0;if(ti(f)){continue}break a}break}e=D[a+4|0]|D[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=205712}d=zf(c,C[d>>2]);if((d|0)==-1){return 0}e=D[a+8|0]|D[a+9|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=205712}f=D[a+10|0]|D[a+11|0]<<8;if(f){i=((f<<8|f>>>8)&65535)+a|0}else{i=205712}a=D[a+6|0]|D[a+7|0]<<8;d=Hp(c,b,h,d,i,(a<<8|a>>>8)&65535,C[b+4>>2])}return d}function jH(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(d>>>0<4){break a}e=d>>>2|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);if(d&4){c=G[b>>2];d=2147483647;b:{if(c>=J(1)){break b}d=-2147483648;if(c<=J(-1)){break b}c=J(c*J(8388607));c:{if(J(K(c))>2]=d;b=b+4|0;d=e-1|0}else{d=e}if((e|0)==1){break a}while(1){e=2147483647;c=G[b>>2];f=2147483647;d:{if(c>=J(1)){break d}f=-2147483648;if(c<=J(-1)){break d}c=J(c*J(8388607));e:{if(J(K(c))>2]=f;c=G[b+4>>2];f:{if(c>=J(1)){break f}e=-2147483648;if(c<=J(-1)){break f}c=J(c*J(8388607));g:{if(J(K(c))>2]=e;b=b+8|0;d=d-2|0;if(d){continue}break}}b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,32800)}}function Ux(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=D[a|0]|D[a+1|0]<<8;a:{if(!c){break a}f=(c<<8|c>>>8)&65535;c=C[b+120>>2];e=C[b+100>>2];c=(c&C[(C[e+92>>2]+I(C[e+76>>2],20)|0)+4>>2])>>>lT(c)|0;b:{if((c|0)!=255){break b}c=255;if(!D[b+143|0]){break b}c=C[e+80>>2];if(c>>>0>=2){Rf(e,0,c)}c=(I(C[b+144>>2],48271)>>>0)%2147483647|0;C[b+144>>2]=c;c=((c>>>0)%(f>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=f>>>0){break a}d=1;e=((c<<1)+a|0)+2|0;a=D[a|0]|D[a+1|0]<<8;a=c>>>0>=((a<<8|a>>>8)&65535)>>>0?205712:e;a=D[a|0]|D[a+1|0]<<8;e=(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;c=E[a+12>>1]&96;g=a+12|0,h=eh(C[b+108>>2],e)|c|16,B[g>>1]=h}b=C[b+100>>2];if(!$e(b,1,1)){break a}a=C[b+76>>2];c:{if(a>>>0>2]){d=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];c=C[b+96>>2];break c}c=C[b+96>>2];a=C[b+84>>2];d=a-1|0;d=c+I(a>>>0>=d>>>0?d:0,20)|0}a=I(a,20)+c|0;c=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=c;C[a+16>>2]=C[d+16>>2];c=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=c;C[a>>2]=e;d=1;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+1}return d}function qy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{if(F[b+4>>2]>a>>>0){break b}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break b}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break b}d=D[a|0]|D[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>f>>>0){break b}g=f-g|0;f=(d<<8|d>>>8)&65535;d=f<<1;if(g>>>0>>0){break b}e=e-d|0;C[b+12>>2]=e;if((e|0)<=0){break b}k=f>>>0<=1?1:f;g=0;while(1){h=C[b+4>>2];f=((g<<1)+a|0)+2|0;if(h>>>0>f>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break a}i=C[c>>2];j=C[b+12>>2];d=j-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[f|0]|D[f+1|0]<<8;c:{if(!d){break c}d=i+((d<<8|d>>>8)&65535)|0;d:{if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}h=j-4|0;C[b+12>>2]=h;if((h|0)<=0){break d}i=D[d|0]|D[d+1|0]<<8;if(!i){break c}d=d+2|0;if(d>>>0>e>>>0){break d}d=e-d|0;e=((i<<8|i>>>8)&65535)<<1;if(d>>>0>>0){break d}e=h-e|0;C[b+12>>2]=e;if((e|0)>0){break c}}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[f|0]=0;A[f+1|0]=0}h=1;g=g+1|0;if((k|0)!=(g|0)){continue}break}}return h}return 0}function Qq(a){var b=0,c=0,d=0,e=0;c=C[a+52>>2];b=C[a+48>>2];if(!(!b|(b|0)==1)){d=(b<<2)+c|0;b=b-1|0;e=c+4|0;while(1){c=C[(b?e:205712)>>2];Re(C[c+16>>2]);C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;Re(C[c+28>>2]);C[c+28>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;c=(b|0)!=0;b=b-c|0;e=(c<<2)+e|0;if((d|0)!=(e|0)){continue}break}c=C[a+52>>2]}Re(c);C[a+52>>2]=0;C[a+56>>2]=-57005;C[a+44>>2]=0;C[a+48>>2]=0;c=C[a- -64>>2];if(c){b=C[c+8>>2];if(b){while(1){b=b-1|0;d=C[c+12>>2]+I(b,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[c+8>>2]=b;if(e){Fe[e|0](d);b=C[c+8>>2]}if(b){continue}break}}Re(C[c+12>>2]);Re(c)}Re(C[a+88>>2]);C[a+88>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;b=C[a+40>>2];if(b){while(1){C[a+40>>2]=C[b+32>>2];Re(C[b+16>>2]);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;Re(C[b+28>>2]);C[b+28>>2]=0;C[b+20>>2]=0;C[b+24>>2]=0;b=C[a+40>>2];if(b){continue}break}}C[a+24>>2]=0;c=C[a+36>>2];b=C[a+32>>2];if(b){e=(b<<2)+c|0;while(1){Re(C[(b?c:205712)>>2]);d=(b|0)!=0;b=b-d|0;c=(d<<2)+c|0;if((e|0)!=(c|0)){continue}break}c=C[a+36>>2]}Re(c);C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0}function Wu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Ce-16|0;Ce=j;f=D[b+1|0]<<16|D[b|0]<<24|D[b+2|0]<<8;d=D[b+3|0];g=f|d;if(g){h=d&3;e=b+7|0;a:{if((d|f)-1>>>0<3){f=0;d=e;break a}l=g-h|0;f=0;while(1){f=(D[e+12|0]+(D[e+8|0]+(D[e+4|0]+(D[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;k=k+4|0;if((l|0)!=(k|0)){continue}break}}if(h){while(1){f=(D[d|0]+f|0)+1|0;d=d+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}d=f+1|0}else{d=1}e=C[a+28>>2];C[j+12>>2]=0;b:{c:{d:{if(d>>>0<=e>>>0){c=C[a+32>>2];break d}C[a+36>>2]=c;c=Ve(c,4,e,d,C[a+32>>2],j+12|0);C[a+32>>2]=c;if(C[j+12>>2]){break c}C[a+28>>2]=d}d=c;if(g){while(1){e=D[b+6|0]|(D[b+5|0]<<8|D[b+4|0]<<16);i=0;a=D[b+7|0];f=a+1|0;h=f&7;if(h){while(1){C[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(a>>>0>=7){while(1){C[d>>2]=e;C[d+28>>2]=e+7;C[d+24>>2]=e+6;C[d+20>>2]=e+5;C[d+16>>2]=e+4;C[d+12>>2]=e+3;C[d+8>>2]=e+2;C[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;g=g-1|0;if(g){continue}break}}C[d>>2]=0;break b}c=0}Ce=j+16|0;return c}function Et(a,b){var c=0,d=0,e=0,f=0;c=C[a+4>>2];e=c+b|0;a:{b:{c:{switch(D[a+10|0]-2|0){case 0:d:{e:{f:{f=D[a+9|0];switch(f-8|0){case 8:break e;case 0:break f;default:break a}}d=b+1|0;c=b+2|0;if(e>>>0<=c>>>0){break d}while(1){A[d|0]=D[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}break d}d=b+2|0;c=b+4|0;if(e>>>0<=c>>>0){break d}while(1){A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];d=d+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}}A[a+10|0]=1;A[a+11|0]=f;if(D[a+8|0]!=4){break b}A[a+8|0]=0;break b;case 2:break c;default:break a}}g:{h:{switch(D[a+9|0]-8|0){case 0:d=b+3|0;f=24;if((c|0)<=4){break g}c=b+4|0;while(1){A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];A[d+2|0]=D[c+2|0];d=d+3|0;c=c+4|0;if(e>>>0>c>>>0){continue}break};break g;case 8:break h;default:break a}}d=b+6|0;f=48;if((c|0)<=8){break g}c=b+8|0;while(1){A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];A[d+2|0]=D[c+2|0];A[d+3|0]=D[c+3|0];A[d+4|0]=D[c+4|0];A[d+5|0]=D[c+5|0];d=d+6|0;c=c+8|0;if(e>>>0>c>>>0){continue}break}}A[a+10|0]=3;A[a+11|0]=f;if(D[a+8|0]!=6){break b}A[a+8|0]=2}C[a+4>>2]=d-b}}function Tr(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;h=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=((I(h,a&255)>>>0)/255|0)+g|((I(h,a>>>8&255)>>>0)/255|0)+f<<8|((I(h,a>>>16&255)>>>0)/255|0)+e<<16;return 0;case 1:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=(a>>>16&255)+e|0;d=(b>>>0>=255?255:b)<<16;b=(a>>>8&255)+f|0;a=(a&255)+g|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=(I(a&255,g)>>>0)/255|(I(a>>>8&255,f)>>>0)/255<<8|(I(a>>>16&255,e)>>>0)/255<<16;return 0;case 7:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=a>>>16&255;b=((I(b,e)>>>0)/255|0)+((I(b,h)>>>0)/255|0)|0;d=(b>>>0>=255?255:b)<<16;b=a>>>8&255;b=((I(b,f)>>>0)/255|0)+((I(b,h)>>>0)/255|0)|0;a=a&255;a=((I(a,g)>>>0)/255|0)+((I(a,h)>>>0)/255|0)|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;default:break a}}C[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f<<8|e<<16|g;return 0}function Ey(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{if((b|0)!=1196445523){g=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;g=F[a+16>>2]<10?205712:C[a+12>>2]}a=205712;b=205712;h=D[g+4|0]|D[g+5|0]<<8;if(h){b=((h<<8|h>>>8)&65535)+g|0}i=(I(c,6)+b|0)+2|0;h=c;c=D[b|0]|D[b+1|0]<<8;c=h>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:i;c=D[c+4|0]|D[c+5|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+b|0}c:{if((d|0)==65535){b=D[a|0]|D[a+1|0]<<8;c=206096;if(!b){break c}c=((b<<8|b>>>8)&65535)+a|0;break c}b=D[a+2|0]|D[a+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=d>>>0?205712:(I(d,6)+a|0)+4|0;b=D[b+4|0]|D[b+5|0]<<8;c=206096;if(!b){break c}c=((b<<8|b>>>8)&65535)+a|0}a=D[c+2|0]|D[c+3|0]<<8;b=a<<8|a>>>8;c=b&65535;if(e){C[e>>2]=c}if(f){if((a|0)==65535){a=0}else{d=205712;a=D[g+6|0]|D[g+7|0]<<8;if(a){d=((a<<8|a>>>8)&65535)+g|0}a=D[d|0]|D[d+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=(b&65535)>>>0?205712:(I(c,6)+d|0)+2|0;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}C[f>>2]=a}}function JI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=C[a+44>>2];f=C[a+48>>2];C[a+88>>2]=0;Fe[C[104430]](a);if(!C[a+56>>2]){g=a- -64|0;while(1){c=C[a+40>>2];a:{if(!(C[a+52>>2]|!C[a+60>>2])){b=Fe[C[104434]](a)|0;if(b){break a}}b=C[a+72>>2]}b:{if(C[g>>2]){lf(b,D[a+35|0],c);break b}Fe[e|0](f,b,c)}d=C[a+52>>2];c:{if(d){Pj(d,b,c);b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)>2]){break c}while(1){d:{e:{f:{if(!C[a+60>>2]){b=C[a+52>>2];break f}c=Fe[C[104434]](a)|0;b=C[a+52>>2];if(c){break e}}gj(b,C[a+72>>2],C[a+16>>2]);lh((I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0);break d}d=gj(b,c,C[a+16>>2]);b=C[a+16>>2];if((d|0)!=(b|0)){lf(c,D[a+11|0],b)}Fe[C[104433]](a);Fe[C[104432]](a)}b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)>=C[a+16>>2]){continue}break}break c}if(C[a+72>>2]==(b|0)){lh((I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0);break c}Fe[C[104433]](a);Fe[C[104432]](a)}if(!C[a+56>>2]){continue}break}}lh((I(E[a+12>>1],1e3)|0)/C[a+4>>2]<<1);Fe[C[104431]](a);return 0}function GF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[a+36>>2]/4|0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+16>>2];c=C[a+24>>2];h=c&7;i=(c+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];j=e<<2;b:while(1){f=f-1|0;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:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=1;continue;case 1:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=2;continue;case 2:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=3;continue;case 3:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=4;continue;case 4:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=5;continue;case 5:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=6;continue;case 6:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=7;continue;default:break e}}C[a>>2]=C[(D[b|0]<<2)+d>>2];c=e-1|0;a=a+4|0;b=b+1|0;f:{if((e|0)>1){e=c;break f}b=b+g|0;a=a+j|0;if(f){continue b}break a}c=0;continue}}}}function oT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(b){if(!c){break k}if(!d){break j}e=L(d)-L(b)|0;if(e>>>0<=31){break i}break c}if((d|0)==1|d>>>0>1){break c}Ee=0;a=(a>>>0)/(c>>>0)|0;break a}if(!a){break h}if(!d|d-1&d){break g}a=b>>>lT(d)|0;Ee=0;break a}if(!(c-1&c)){break f}h=(L(c)+33|0)-L(b)|0;g=0-h|0;break d}h=e+1|0;g=63-e|0;break d}Ee=0;a=(b>>>0)/(d>>>0)|0;break a}e=L(d)-L(b)|0;if(e>>>0<31){break e}break c}if((c|0)==1){break b}d=lT(c);c=d&31;if((d&63)>>>0>=32){a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}Ee=e;break a}h=e+1|0;g=63-e|0}e=h&63;f=e&31;if(e>>>0>=32){e=0;i=b>>>f|0}else{e=b>>>f|0;i=((1<>>f}g=g&63;f=g&31;if(g>>>0>=32){b=a<>>32-f|b<>>31;e=i<<1|b>>>31;f=m-(j+(e>>>0>g>>>0)|0)>>31;k=c&f;i=e-k|0;e=j-((d&f)+(e>>>0>>0)|0)|0;b=b<<1|a>>>31;a=l|a<<1;l=f&1;h=h-1|0;if(h){continue}break}}Ee=b<<1|a>>>31;a=l|a<<1;break a}a=0;b=0}Ee=b}return a}function $k(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;f=I(d,1468)+a|0;i=C[f+44>>2];c=b?C[(I(b,12)+c|0)-12>>2]:0;h=C[C[a+2988>>2]+40>>2];e=(h|0)/256|0;m=(I(h,6e3)|0)/2048|0;a:{if((i|0)<=0){break a}b=C[f+52>>2];j=b+I(i,48)|0;n=h+255>>>0<511?1:e;k=C[(I(d,1468)+a|0)+68>>2];d=b;while(1){if((k|0)==A[d+1|0]){l=B[d+2>>1];a=b;while(1){b:{if((k|0)!=(0-A[a+1|0]|0)){break b}h=B[a+2>>1];if((h|0)<=(l|0)){break b}f=B[d+6>>1];e=B[a+6>>1];g=(e|0)>(f|0)?f:e;f=B[d+4>>1];e=B[a+4>>1];f=g-((e|0)<(f|0)?f:e)|0;if((f|0)<(n|0)){break b}e=h-l|0;g=e;c:{if(!c){break c}e=(e<<10)/(c|0)|0;g=32e3;if((e|0)>11024){break c}g=0;if((e|0)<1025){break c}e=e-1024|0;g=(I(e,e)>>>0)/3e3|0}e=g+((m|0)/(f|0)|0)|0;if((e|0)>2]){C[d+20>>2]=a;C[d+32>>2]=e}if((e|0)>=C[a+32>>2]){break b}C[a+20>>2]=d;C[a+32>>2]=e}a=a+48|0;if(j>>>0>a>>>0){continue}break}}d=d+48|0;if(j>>>0>d>>>0){continue}break}if((i|0)<=0){break a}while(1){a=C[b+20>>2];if(!(!a|C[a+20>>2]==(b|0))){C[b+20>>2]=0;C[b+24>>2]=C[a+20>>2]}b=b+48|0;if(j>>>0>b>>>0){continue}break}}}function dM(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,k=0,l=0,m=0,n=0,o=0;g=C[a+748>>2];a:{if(!g){break a}d=C[a+744>>2];if((d|0)<10){break a}e=C[a+740>>2];i=e+d|0;d=e+4|0;f=e+10|0;j=b<<16|c;m=C[a+752>>2];h=1;while(1){b=(D[d+3|0]|D[d+2|0]<<8)+d|0;b=b>>>0>i>>>0?i:b;b:{if(!(h&m)){break b}e=d+14|0;if(D[d+4|0]|b>>>0>>0){break b}n=D[d+5|0];c=b-e|0;f=D[d+7|0]|D[f|0]<<8;c=(c|0)<(I(f,6)|0)?(c|0)/6|0:f;c:{if(C[a+756>>2]&h){if(!c){break b}o=d+18|0;e=0;while(1){k=c+e>>>1|0;f=I(k,6)+o|0;d=f-4|0;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)!=(j|0)){d=d>>>0>>0;e=d?k+1|0:e;c=d?c:k;if(e>>>0>>0){continue}break b}break}c=f+1|0;break c}if(!c){break b}while(1){d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))!=(j|0)){e=e+6|0;c=c-1|0;if(c){continue}break b}break}f=e+4|0;c=e+5|0}l=((D[c|0]|D[f|0]<<8)<<16>>16)+(n&8?0:l)|0}g=g-1|0;if(!g){break a}h=h<<1;d=b;f=d+6|0;if(i>>>0>=f>>>0){continue}break}}return l|0}function ez(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{e=C[a+4>>2];if((e|0)>=0){g=C[a+8>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=178956969){g=mf(C[a+12>>2],I(e,24));if(g){break c}}C[a+4>>2]=-1}d=C[51433];C[105680]=C[51432];C[105681]=d;d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;h=422704;break a}C[a+4>>2]=e;C[a+12>>2]=g;g=C[a+8>>2]}if(f>>>0>g>>>0){We(C[a+12>>2]+I(g,24)|0,0,I(f-g|0,24))}C[a+8>>2]=f;g=C[a+12>>2];e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;f=(g+I(f,24)|0)-24|0;h=422704;if((f|0)==422704){break a}e=C[d+4>>2];C[f>>2]=C[d>>2];C[f+4>>2]=e;e=C[d+20>>2];C[f+16>>2]=C[d+16>>2];C[f+20>>2]=e;e=C[d+12>>2];C[f+8>>2]=C[d+8>>2];C[f+12>>2]=e;h=f}e=h;C[e>>2]=b;f=C[c+12>>2];d=C[c+4>>2];g=C[c>>2];b=C[a>>2];C[e+12>>2]=0;C[e+4>>2]=b+g;e=d-b|0;d=d>>>0>=e>>>0?e:0;b=f-b|0;C[h+8>>2]=b>>>0>d>>>0?d:b;C[a>>2]=C[c+12>>2]}function oh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=a;e=Ce-208|0;Ce=e;C[e+8>>2]=1;C[e+12>>2]=0;i=I(b,c);a:{if(!i){break a}C[e+16>>2]=c;C[e+20>>2]=c;j=0-c|0;a=c;f=a;g=2;while(1){b=a;a=(c+f|0)+a|0;C[(e+16|0)+(g<<2)>>2]=a;g=g+1|0;f=b;if(a>>>0>>0){continue}break}b=(h+i|0)+j|0;b:{if(b>>>0<=h>>>0){g=0;a=1;b=0;break b}g=1;a=1;while(1){c:{if((g&3)==3){io(h,c,d,a,e+16|0);im(e+8|0,2);a=a+2|0;break c}f=a-1|0;d:{if(F[(e+16|0)+(f<<2)>>2]>=b-h>>>0){hm(h,c,d,e+8|0,a,0,e+16|0);break d}io(h,c,d,a,e+16|0)}if((a|0)==1){gm(e+8|0,1);a=0;break c}gm(e+8|0,f);a=1}f=C[e+8>>2];g=f|1;C[e+8>>2]=g;h=c+h|0;if(b>>>0>h>>>0){continue}break}g=f>>>0>1;b=C[e+12>>2]!=0}hm(h,c,d,e+8|0,a,0,e+16|0);if(!(g|(a|0)!=1|b)){break a}while(1){e:{if((a|0)<=1){f=e+8|0;b=Zt(f);im(f,b);g=C[e+8>>2];a=a+b|0;break e}f=e+8|0;gm(f,2);C[e+8>>2]=C[e+8>>2]^7;im(f,1);k=h+j|0;i=e+16|0;b=a-2|0;hm(k-C[i+(b<<2)>>2]|0,c,d,f,a-1|0,1,i);gm(f,1);g=C[e+8>>2]|1;C[e+8>>2]=g;hm(k,c,d,f,b,1,i);a=b}h=h+j|0;if(C[e+12>>2]|((a|0)!=1|(g|0)!=1)){continue}break}}Ce=e+208|0}function Bx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Ce-16|0;Ce=h;a:{b:{c:{d:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=205712}c=C[b+100>>2];f=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((f|0)==-1){break a}d=205712;c=D[a+4|0]|D[a+5|0]<<8;c=f>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:((f<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=C[41909];C[h+8>>2]=C[41908];C[h+12>>2]=a;d=Mp(d,b,h+8|0);break a}d=Sx(a,b);break a}g=Ce-272|0;Ce=g;d=D[a+6|0]|D[a+7|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=205712}c=C[b+100>>2];d=0;e:{if((zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2])|0)==-1){break e}c=D[a+2|0]|D[a+3|0]<<8;e=D[a+4|0]|D[a+5|0]<<8;C[g+268>>2]=0;i=(c<<8|c>>>8)&65535;d=0;if(!el(b,i,a+8|0,723,a,g+268|0,g,0)){break e}f=C[g+268>>2];if(f>>>0>=2){d=C[b+100>>2];c=C[d+76>>2];Rf(d,c,c+f|0)}d=Sm(b,i,g,(e<<8|e>>>8)&65535,(a+6|0)+(i<<1)|0,f)}Ce=g+272|0}Ce=h+16|0;return d}function Wl(a,b){var c=0;c=Ce-240|0;Ce=c;a:{b:{switch(b+138|0){case 137:C[c+20>>2]=26817;C[c+16>>2]=a;Qe(8814,c+16|0);break a;case 136:C[c+36>>2]=26371;C[c+32>>2]=a;Qe(8814,c+32|0);break a;case 135:C[c+52>>2]=27047;C[c+48>>2]=a;Qe(8814,c+48|0);break a;case 10:C[c+68>>2]=28275;C[c+64>>2]=a;Qe(8814,c- -64|0);break a;case 9:C[c+84>>2]=23500;C[c+80>>2]=a;Qe(8814,c+80|0);break a;case 8:C[c+100>>2]=25661;C[c+96>>2]=a;Qe(8814,c+96|0);break a;case 7:C[c+116>>2]=25849;C[c+112>>2]=a;Qe(8814,c+112|0);break a;case 6:C[c+132>>2]=24233;C[c+128>>2]=a;Qe(8814,c+128|0);break a;case 5:C[c+148>>2]=24743;C[c+144>>2]=a;Qe(8814,c+144|0);break a;case 4:C[c+164>>2]=25474;C[c+160>>2]=a;Qe(8814,c+160|0);break a;case 3:C[c+180>>2]=24988;C[c+176>>2]=a;Qe(8814,c+176|0);break a;case 2:C[c+196>>2]=23675;C[c+192>>2]=a;Qe(8814,c+192|0);break a;case 1:C[c+212>>2]=25868;C[c+208>>2]=a;Qe(8814,c+208|0);break a;case 0:C[c+228>>2]=25880;C[c+224>>2]=a;Qe(8814,c+224|0);break a;default:break b}}C[c+4>>2]=b;C[c>>2]=a;Qe(34577,c)}Ce=c+240|0}function IF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+36>>2];h=C[a+16>>2];e=C[a+24>>2];i=e&7;j=(e+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];b:while(1){f=f-1|0;e=j;c:{d:{switch(i-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:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=1;continue;case 1:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=2;continue;case 2:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=3;continue;case 3:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=4;continue;case 4:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=5;continue;case 5:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=6;continue;case 6:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=7;continue;default:break e}}B[a>>1]=E[(D[b|0]<<1)+d>>1];c=e-1|0;a=a+2|0;b=b+1|0;f:{if((e|0)>1){e=c;break f}a=a+g|0;b=b+h|0;if(f){continue b}break a}c=0;continue}}}}function gq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=E[b>>1];f=E[a>>1];a:{b:{c:{d:{a=C[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}a=0;b=0;if(d>>>0<=257){b=d<<2;c=C[b+165360>>2];h=c+163504|0;b=C[b+165364>>2]+(c^-1)|0}if(f>>>0<=257){break d}c=0;break b}a=0;g=C[c+8>>2];e=D[g|0]|D[g+1|0]<<8;e=(e<<8|e>>>8)&65535;b=0;e:{if(e>>>0<=d>>>0){break e}b=(d<<1)+g|0;b=D[b+2|0]|D[b+3|0]<<8;d=(b<<8|b>>>8)&65535;if(d>>>0<=257){b=d<<2;d=C[b+165360>>2];h=d+163504|0;b=C[b+165364>>2]+(d^-1)|0;break e}d=d-258|0;b=0;if(d>>>0>=F[c+16>>2]){break e}b=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;h=b+1|0;b=D[b|0]}if(f>>>0>>0){break c}c=0;break b}c=f<<2;a=C[c+165360>>2];c=C[c+165364>>2]+(a^-1)|0;a=a+163504|0;break b}a=(f<<1)+g|0;a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;if(d>>>0<=257){c=d<<2;a=C[c+165360>>2];c=C[c+165364>>2]+(a^-1)|0;a=a+163504|0;break b}a=0;d=d-258|0;if(d>>>0>=F[c+16>>2]){c=0;break b}c=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;a=c+1|0;c=D[c|0]}if((b|0)!=(c|0)){return c-b|0}if(!b){break a}i=Hg(a,h,b)}return i}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,j=0,k=0,l=0,m=0,n=0;f=Ce-16|0;Ce=f;e=Fe[C[a+508>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=C[f+12>>2];if(c>>>0<4){break a}e=dh(b,c,a+740|0);if(e){break a}c=C[f+12>>2];C[a+744>>2]=c;e=0;d=C[a+740>>2];b=D[d+2|0]<<8|D[d+3|0];j=b>>>0>=32?32:b;b:{if(!j){break b}h=c+d|0;k=d+4|0;while(1){b=k;if(b+6>>>0>h>>>0){break b}c=D[b+3|0]|D[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;k=c>>>0>h>>>0?h:c;c:{if((D[b+5|0]&247|D[b+4|0]<<8)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}C[a+756>>2]=n;C[a+752>>2]=m;C[a+748>>2]=g}Ce=f+16|0;return e|0}function ZR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=C[a+12>>2];C[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Fe[C[e+36>>2]](e,b,c,d,C[e+68>>2])|0){break a}}if(D[C[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}C[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}C[d>>2]=64287;break b}C[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}C[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}C[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){C[d>>2]=C[(a<<2)+171808>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:C[d>>2]=64300;break b;case 1:break d;default:break a}}C[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:C[d>>2]=64332;break b;case 10:C[d>>2]=64333;break b;case 19:break e;default:break a}}C[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}C[d>>2]=64298;break b}C[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}C[d>>2]=64299;break b}C[d>>2]=64301}f=1}return f|0}function DH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0),k=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];i=G[c+20>>2];j=G[c+16>>2];k=J(G[c+8>>2]*J(.16099999845027924));G[d>>2]=J(g*J(.09200000017881393))+J(J(h*J(.20800000429153442))+J(J(i*J(.11900000274181366))+J(J(j*J(.1940000057220459))+J(J(G[c>>2]*J(.22699999809265137))+k))));G[d+4>>2]=J(g*J(.20800000429153442))+J(J(h*J(.09200000017881393))+J(J(i*J(.1940000057220459))+J(J(j*J(.11900000274181366))+J(J(G[c+4>>2]*J(.22699999809265137))+k))));G[d+8>>2]=G[c+12>>2];d=d+12|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Bh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Ce-32|0;Ce=g;h=a+136|0;if(F[fh(h)+4>>2]<=b>>>0){b=0}else{C[g+24>>2]=d;C[g+20>>2]=c;C[g+16>>2]=a;C[g+12>>2]=0;A[g+28|0]=(e|0)!=0;e=205712;a=205712;c=C[fh(h)>>2];c=c?c:205712;c=F[c+16>>2]<10?205712:C[c+12>>2];d=D[c+8|0]|D[c+9|0]<<8;if(d){a=c+((d<<8|d>>>8)&65535)|0}c=D[a|0]|D[a+1|0]<<8;a:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+a|0;c=D[c+2|0]|D[c+3|0]<<8;if(!c){break a}e=((c<<8|c>>>8)&65535)+a|0}a=C[fh(h)+8>>2]+I(b,24)|0;b=0;d=g+12|0;b:{if(!C[d+12>>2]){break b}c=C[C[d+8>>2]>>2];if(!(C[a>>2]>>>(c>>>4)&1)|!(C[a+4>>2]>>>c&1)|!(C[a+8>>2]>>>(c>>>9)&1)){break b}a=D[e+4|0]|D[e+5|0]<<8;if(!a){break b}b=D[e|0]|D[e+1|0]<<8;i=(b<<8|b>>>8)&65535;c=e+4|0;h=(a<<8|a>>>8)&65535;j=h>>>0<=1?1:h;a=0;b=1;while(1){f=D[c|0]|D[c+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=a>>>0?205712:(c+(a<<1)|0)+2|0;f=D[f|0]|D[f+1|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=205712}if(xy(f,d,i)){break b}a=a+1|0;b=h>>>0>a>>>0;if((a|0)!=(j|0)){continue}break}}}Ce=g+32|0;return b}function tv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=C[b>>2];f=C[b+8>>2];d=C[a>>2];a:{if(!d){break a}b=C[a+8>>2];e=d&3;b:{if(!e){c=d;break b}c=d;while(1){C[b+24>>2]=-1;C[b+16>>2]=C[b+16>>2]&-5;b=b+28|0;c=c-1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}if(d>>>0<4){break a}while(1){C[b+24>>2]=-1;C[b+52>>2]=-1;C[b+80>>2]=-1;C[b+108>>2]=-1;C[b+16>>2]=C[b+16>>2]&-5;C[b+44>>2]=C[b+44>>2]&-5;C[b+72>>2]=C[b+72>>2]&-5;C[b+100>>2]=C[b+100>>2]&-5;b=b+112|0;c=c-4|0;if(c){continue}break}}if(!h){C[a+4>>2]=0;return}b=0;i=0;c=0;while(1){if(!b){i=D[f|0];f=f+1|0;b=128}c:{if(!(b&i)){break c}j=C[a+8>>2]+I(c,28)|0;e=C[j+16>>2];if(e&4){break c}C[j+16>>2]=e|4;if(d>>>0<=g>>>0){break c}C[C[a+12>>2]+(g<<2)>>2]=j;g=g+1|0}b=b>>>1|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}C[a+4>>2]=g;if((g|0)>=2){f=C[a+12>>2];d=1;while(1){h=C[f+(d<<2)>>2];j=C[h>>2];b=d;while(1){a=b-1|0;e=f+(a<<2)|0;c=C[e>>2];if((j|0)<=C[c>>2]){C[f+(b<<2)>>2]=c;C[e>>2]=h;c=(b|0)>1;b=a;if(c){continue}}break}d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function pI(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(g>>>0<12){break a}d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=(g>>>0)/12|0;b:{if(!(f&1)){c=d;break b}e=J(G[d+8>>2]*J(.20000000298023224));G[d>>2]=J(G[d>>2]*J(.800000011920929))+e;G[d+4>>2]=J(G[d+4>>2]*J(.800000011920929))+e;c=d+8|0;d=d+12|0;f=f-1|0}if(g-12>>>0<12){break a}while(1){e=J(G[d+8>>2]*J(.20000000298023224));G[c>>2]=J(G[d>>2]*J(.800000011920929))+e;G[c+4>>2]=J(G[d+4>>2]*J(.800000011920929))+e;e=J(G[d+20>>2]*J(.20000000298023224));G[c+8>>2]=J(G[d+12>>2]*J(.800000011920929))+e;G[c+12>>2]=J(G[d+16>>2]*J(.800000011920929))+e;c=c+16|0;d=d+24|0;f=f-2|0;if(f){continue}break}}c=(g|0)/3<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function up(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=D[C[a>>2]+192|0];C[g>>2]=0;C[f>>2]=0;if(D[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=C[a+4>>2];h=I(h>>16,b>>16);b=d-b|0;C[j+16>>2]=C[j+16>>2]+(h-I(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=C[a+11688>>2];if((e|0)>b<<1){C[f>>2]=c;a=C[a+11692>>2];break a}k=f,l=Te(45875,c),C[k>>2]=l;a=Te(19661,C[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=C[a+11688>>2];if((0-e|0)>b<<1){C[f>>2]=0-c;a=C[a+11692>>2];break a}k=f,l=Te(-45874,c),C[k>>2]=l;a=Te(19661,C[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){C[f>>2]=0;a=C[a+11692>>2]<<1;break a}c=C[a+11688>>2];if((e|0)>(0-(b<<1)|0)){C[f>>2]=c;a=C[a+11692>>2];break a}k=f,l=Te(45875,c),C[k>>2]=l;a=Te(111411,C[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){C[f>>2]=0;a=C[a+11692>>2]<<1;break a}c=C[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){C[f>>2]=0-c;a=C[a+11692>>2];break a}k=f,l=Te(-45874,c),C[k>>2]=l;a=Te(111411,C[a+11692>>2]);break a}C[f>>2]=0;a=0}C[g>>2]=a}}function Ao(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;C[a+772>>2]=33;Xf(a,d+8|0,8);a:{b:{b=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((f|0)>=0){b=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);C[a+372>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=a,h=Vg(0,0,0),C[g+400>>2]=h;$f(a,d+12|0,4);c=C[a+372>>2];b=c&255;if(b-123>>>0<4294967238|b-91>>>0<=5){break b}b=c>>>8&255;if(b-123>>>0<4294967238|b-91>>>0<6){break b}b=c>>>16&255;if(b-123>>>0<4294967238|b-91>>>0<6){break b}b=c>>>24|0;if(b-123>>>0<4294967238|b-91>>>0<6){break b}b=C[a+732>>2];b=b-1>>>0>=2147483646?2147483647:b;if((c|0)==1229209940){c=(I(I(C[a+344>>2],D[a+427|0]),D[a+424|0]>8?2:1)+(D[a+420|0]?6:0)|0)+1|0;e=C[a+348>>2];mT(c,0,e,0);e=Ee?2147483647:I(c,e);c=(I((e>>>0)/((c>>>0>=32566?32566:c)>>>0)|0,5)+e|0)+11|0;c=c>>>0>=2147483647?2147483647:c;b=b>>>0>c>>>0?b:c}if(b>>>0>>0){break a}C[a+772>>2]=65;Ce=d+16|0;return f}Af(a,18248);s()}Ig(a,16890);s()}Ig(a,18160);s()}function op(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=C[C[a+4>>2]+96>>2];f=C[d+8>>2];e=C[C[d+12>>2]+68>>2];if(e){Fe[e|0](a)}b=C[a+156>>2];a:{if(!b){a=a+88|0;break a}b:{if(A[b+4|0]&1){e=C[C[a+4>>2]+100>>2];b=C[a+88>>2];if(b){Fe[C[e+8>>2]](e,b)}C[a+88>>2]=0;b=C[a+156>>2];C[b+4>>2]=C[b+4>>2]&-2;break b}C[a+88>>2]=0}e=a;a=a+156|0;if(!(D[C[d>>2]+1|0]&2)){b=C[b>>2];if(b){d=C[b>>2];c=C[b+24>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+24>>2]=0;c=C[b+28>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+28>>2]=0;c=C[b+32>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+32>>2]=0;c=C[b+40>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+40>>2]=0;c=C[b+52>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+20>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+52>>2]=0;C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+88>>2]=0;g=C[b+32>>2];c=b- -64|0;C[c>>2]=C[b+28>>2];C[c+4>>2]=g;c=C[b+40>>2];C[b+72>>2]=C[b+36>>2];C[b+76>>2]=c;c=C[b+24>>2];C[b+56>>2]=C[b+20>>2];C[b+60>>2]=c;c=C[b+48>>2];C[b+80>>2]=C[b+44>>2];C[b+84>>2]=c;if(b){Fe[C[d+8>>2]](d,b)}}b=C[e+156>>2];C[b>>2]=0}if(b){Fe[C[f+8>>2]](f,b)}}C[a>>2]=0}function rI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=(g|0)/2<<3;a:{if(g>>>0<8){break a}d=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+h|0;f=c+g|0;if(g&8){c=e-24|0;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;G[e-28>>2]=G[f-4>>2];e=e-32|0;f=f-8|0;G[e>>2]=G[f>>2];c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){d=e-24|0;C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;G[e-28>>2]=G[f-4>>2];i=G[f-8>>2];d=e-56|0;C[d>>2]=0;C[d+4>>2]=0;G[e-32>>2]=i;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;G[e-60>>2]=G[f-12>>2];e=e+-64|0;f=f-16|0;G[e>>2]=G[f>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function pA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=df(1,3208);a:{b:{if(C[a+4>>2]<=0){break b}j=C[a+28>>2];c=Ye(b,1);if((c|0)<0){break b}c:{if(c){c=Ye(b,4);g=c+1|0;C[e>>2]=g;if((c|0)>=0){break c}break b}g=1;C[e>>2]=1}c=Ye(b,1);if((c|0)<0){break b}if(c){i=Ye(b,8);C[e+1156>>2]=i+1;if((i|0)<0){break b}d=C[a+4>>2];c=0;while(1){f=(c<<2)+e|0;h=Ye(b,tg(d-1|0));C[f+1160>>2]=h;d=f+2184|0;f=Ye(b,tg(C[a+4>>2]-1|0));C[d>>2]=f;if((f|0)==(h|0)|(h|f)<0){break b}d=C[a+4>>2];if((h|0)>=(d|0)|(d|0)<=(f|0)){break b}h=(c|0)>=(i|0);c=c+1|0;if(!h){continue}break}}if(Ye(b,2)){break b}d:{if((g|0)>=2){c=0;if(C[a+4>>2]<=0){break d}while(1){d=Ye(b,4);C[((c<<2)+e|0)+4>>2]=d;if((d|0)<0|(d|0)>=(g|0)){break b}c=c+1|0;if((c|0)>2]){continue}break}}if((g|0)<=0){break a}}c=0;while(1){Ye(b,8);d=(c<<2)+e|0;a=Ye(b,8);C[d+1028>>2]=a;if((a|0)<0|(a|0)>=C[j+16>>2]){break b}a=Ye(b,8);C[d+1092>>2]=a;if((a|0)<0|(a|0)>=C[j+20>>2]){break b}c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}Re(e);e=0}return e|0}function bK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=C[a+100>>2];b=C[a+316>>2];if(b){d=C[a+300>>2];if((d|0)>0){b=0;while(1){e=C[a+316>>2]+(b<<3)|0;f=C[e+4>>2];if(f){d=C[f>>2];if(d){Fe[C[c+8>>2]](c,d)}C[C[e+4>>2]>>2]=0;d=C[e+4>>2];if(d){Fe[C[c+8>>2]](c,d)}C[e+4>>2]=0;d=C[a+300>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}b=C[a+316>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+316>>2]=0}b=C[a+164>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+164>>2]=0;b=C[a+168>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+168>>2]=0;b=C[a+172>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+172>>2]=0;b=C[a+176>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+176>>2]=0;b=C[a+180>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+180>>2]=0;b=C[a+304>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+300>>2]=0;C[a+304>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;b=C[a+152>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+152>>2]=0;b=C[a+156>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+20>>2]=0;C[a+24>>2]=0;C[a+156>>2]=0;b=C[a+324>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+324>>2]=0;b=C[a+328>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+328>>2]=0}}function vj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ce-16|0;Ce=e;i=C[b+28>>2];C[a+28>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;C[a+12>>2]=0;C[a+16>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a>>2]=b;C[a+4>>2]=C[b+8>>2];f=_f(b,e+8|0);d=C[e+8>>2];a:{b:{if(!(d|!f)){d=rh(b,e+8|0);if(C[e+8>>2]){break b}if((d-5&255)>>>0<=251){C[e+8>>2]=8;break b}A[a+12|0]=d;C[a+8>>2]=f;d=d&255;C[a+16>>2]=(C[a+4>>2]+I(d,f+1|0)|0)+3;d=lg(b,I(d,f));C[e+8>>2]=d;if(d){break b}d=jg(C[a>>2],e+12|0,D[a+12|0]);if(d){C[e+8>>2]=d;break b}c:{h=D[a+12|0];if(h){f=0;d=0;if(h>>>0>=4){k=h&252;while(1){g=f;f=f+4|0;d=d+4|0;if((k|0)!=(d|0)){continue}break}d=e+12|0;d=D[d+(g|3)|0]|(D[d+(g|2)|0]|(D[d+g|0]<<16|D[d+(g|1)|0]<<8))<<8}g=h&3;if(g){while(1){d=D[(e+12|0)+f|0]|d<<8;f=f+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}C[e+8>>2]=0;if(d){break c}}C[e+8>>2]=8;break b}d=d-1|0;C[a+20>>2]=d;d:{if(c){d=dh(b,d,a+28|0);break d}d=lg(b,d)}C[e+8>>2]=d}if(!d){break a}}b=C[a+24>>2];if(b){Fe[C[i+8>>2]](i,b)}C[a+24>>2]=0;l=C[e+8>>2]}Ce=e+16|0;return l}function pP(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=C[a+12>>2];g=a+4280|0;a:{b:{c:{e=C[a+4280>>2];if(e>>>0>b>>>0){e=e-b|0;f=C[a+4284>>2];if(e>>>0<=(f-a|0)-184>>>0){C[a+4280>>2]=b;C[a+4284>>2]=f-e;break c}e=0;if(bf(C[a>>2],0)){break a}C[a+12>>2]=0;C[a+16>>2]=0;C[a+4288>>2]=g;C[a+4284>>2]=g;C[a+4280>>2]=0;C[a+104>>2]=0;C[a+48>>2]=0;C[a+36>>2]=0;C[a+40>>2]=0;A[a+44|0]=0;C[a- -64>>2]=9}if(b>>>0<=e>>>0){break c}h=C[a+4284>>2];i=C[a+4288>>2]-h|0;f=b-e|0;b=f>>>0>i>>>0?i:f;C[a+4284>>2]=b+h;C[a+4280>>2]=b+e;b=f-b|0;if(b){h=a+12|0;while(1){e=0;f=b>>>0>=4096?4096:b;if(Kv(h,0,f)>>>0>>0){break a}C[g>>2]=f+C[g>>2];b=b-f|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}f=a+184|0;i=a+12|0;g=C[a+4284>>2];b=C[a+4288>>2];e=0;while(1){b=b-g|0;b=b>>>0>>0?b:d;t(c+e|0,g,b);C[a+4284>>2]=b+C[a+4284>>2];C[a+4280>>2]=b+C[a+4280>>2];e=b+e|0;d=d-b|0;if(!d){break a}C[a+4284>>2]=f;h=Kv(i,f,4096);g=C[a+4284>>2];b=h+g|0;C[a+4288>>2]=b;if(h){continue}break}}return e|0}function Hp(a,b,c,d,e,f,g){var h=0,i=0,j=J(0),k=0,l=0,m=J(0);h=Ce-16|0;Ce=h;k=205712;l=((c<<2)+a|0)+2|0;i=c;c=D[a|0]|D[a+1|0]<<8;c=i>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:l;i=D[c|0]|D[c+1|0]<<8;i=(i<<8|i>>>8)&65535;c=D[c+2|0]|D[c+3|0]<<8;if(c){k=((c<<8|c>>>8)&65535)+a|0}c=0;a:{if(f>>>0<=i>>>0){break a}a=D[e|0]|D[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=i+I(d,f)|0;a=(a|0)<0?205712:((a<<1)+e|0)+2|0;a=D[a|0]|D[a+1|0]<<8;if(!a){break a}a=((a<<8|a>>>8)&65535)+e|0;d=C[b+100>>2];e=C[d+76>>2];if(e-g>>>0>=2){Rf(d,g,e);e=C[d+76>>2]}Pm(k,b,C[C[d+92>>2]+I(e,20)>>2],h+12|0,h+8|0);Pm(a,b,C[C[d+92>>2]+I(g,20)>>2],h+4|0,h);a=C[d+100>>2]+I(C[d+76>>2],20)|0;j=J(O(J(J(G[h+4>>2]-G[h+12>>2])+J(.5))));b:{if(J(K(j))>2]=b;j=G[h+8>>2];m=G[h>>2];c=1;A[a+18|0]=1;j=J(O(J(J(m-j)+J(.5))));c:{if(J(K(j))>2]=b;B[a+16>>1]=g-C[d+76>>2];C[d+36>>2]=C[d+36>>2]|8;C[d+76>>2]=C[d+76>>2]+1}Ce=h+16|0;return c}function qm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ce-16|0;Ce=i;g=C[a+12>>2];if(g){C[(C[a+20>>2]+(g<<4)|0)-4>>2]=e}a:{b:{c:{e=g+1|0;h=C[a+16>>2];if(e>>>0>h>>>0){C[i+4>>2]=0;j=(g&-8)+8|0;g=Ve(f,16,h,j,C[a+20>>2],i+4|0);C[a+20>>2]=g;h=C[i+4>>2];if(h){break a}C[a+16>>2]=j;h=((e<<4)+g|0)-16|0;C[h+12>>2]=0;C[h>>2]=0;C[a+12>>2]=e;break c}g=C[a+20>>2];j=(g+(e<<4)|0)-16|0;C[j+12>>2]=0;C[j>>2]=0;C[a+12>>2]=e;if(e){break c}if(!h){C[i+8>>2]=0;g=Ve(f,16,0,8,g,i+8|0);C[a+20>>2]=g;h=C[i+8>>2];if(h){break a}C[a+16>>2]=8}C[g+12>>2]=0;C[g>>2]=0;C[a+12>>2]=1;break b}g=((e<<4)+g|0)-16|0}a=C[g+4>>2];C[i+12>>2]=0;e=d+7>>>3|0;a=a+7>>>3|0;d:{if(e>>>0<=a>>>0){e=C[g+8>>2];break d}h=a;a=e+7&1073741816;e=Ve(f,1,h,a,C[g+8>>2],i+12|0);C[g+8>>2]=e;h=C[i+12>>2];if(h){break a}C[g+4>>2]=a<<3}C[g>>2]=d;h=0;if(!d){break a}f=(c>>>3|0)+b|0;g=128>>>(c&7)|0;a=128;while(1){b=D[e|0];A[e|0]=D[f|0]&g?b|a:b&(a^-1);b=a>>>0<2;a=b?128:a>>1;c=g>>>0<2;g=c?128:g>>>1|0;e=b+e|0;f=c+f|0;d=d-1|0;if(d){continue}break}}Ce=i+16|0;return h}function ol(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+80>>2];if(b){Fe[b|0](C[a+12>>2])}b=C[a+84>>2];if(b){Fe[b|0](C[a+16>>2])}b=C[a+88>>2];if(b){Fe[b|0](C[a+20>>2])}b=C[a+92>>2];if(b){Fe[b|0](C[a+24>>2])}b=C[a+96>>2];if(b){Fe[b|0](C[a+28>>2])}b=C[a+100>>2];if(b){Fe[b|0](C[a+32>>2])}b=C[a+104>>2];if(b){Fe[b|0](C[a+36>>2])}b=C[a+108>>2];if(b){Fe[b|0](C[a+40>>2])}b=C[a+112>>2];if(b){Fe[b|0](C[a+44>>2])}b=C[a+116>>2];if(b){Fe[b|0](C[a+48>>2])}b=C[a+120>>2];if(b){Fe[b|0](C[a+52>>2])}b=C[a+124>>2];if(b){Fe[b|0](C[a+56>>2])}b=C[a+128>>2];if(b){Fe[b|0](C[a+60>>2])}b=C[a+132>>2];if(b){Fe[b|0](C[a- -64>>2])}b=C[a+136>>2];if(b){Fe[b|0](C[a+68>>2])}b=C[a+140>>2];if(b){Fe[b|0](C[a+72>>2])}b=C[a+144>>2];if(b){Fe[b|0](C[a+76>>2])}Re(a)}}function ey(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}e=C[b+12>>2]-6|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(!c){break a}f=a+6|0;if(f>>>0>d>>>0){break a}g=d-f|0;d=(c<<8|c>>>8)&65535;c=d<<1;if(g>>>0>>0){break a}e=e-c|0;C[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;e=0;while(1){d=f+(e<<1)|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}d=D[a+4|0]|D[a+5|0]<<8;if(!d){return 1}a=D[a+2|0]|D[a+3|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;if(a>>>0>2]){break a}f=C[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=C[b+12>>2]-a|0;C[b+12>>2]=a;h=(a|0)>0}return h}function zn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=J(0);if((b|0)>0){o=G[e+1108>>2];while(1){e=I(f,56)+a|0;m=C[e+28>>2];n=C[e+52>>2];j=+J(J(o*J(n+m|0))/J(m+1|0))+1;h=h+(+(m|0)*j+ +(n|0));i=i+(+C[e+24>>2]*j+ +C[e+48>>2]);k=k+(+C[e+16>>2]*j+ +C[e+40>>2]);l=l+(+C[e+12>>2]*j+ +C[e+36>>2]);g=g+(+C[e+8>>2]*j+ +C[e+32>>2]);f=f+1|0;if((f|0)!=(b|0)){continue}break}}e=C[a>>2];f=C[c>>2];if((f|0)>=0){h=h+1;l=l+ +(f|0);i=i+ +(I(e,f)|0);k=k+ +(I(e,e)|0);g=g+ +(e|0)}a=C[(I(b,56)+a|0)-52>>2];b=C[d>>2];if((b|0)>=0){h=h+1;l=l+ +(b|0);i=i+ +(I(a,b)|0);k=k+ +(I(a,a)|0);g=g+ +(a|0)}j=h*k-g*g;a:{b:{if(j>0){h=(h*i+l*-g)/j;g=(l*k-g*i)/j;i=pT(h*+(e|0)+g);c:{if(K(i)<2147483648){b=~~i;break c}b=-2147483648}C[c>>2]=b;g=pT(h*+(a|0)+g);d:{if(K(g)<2147483648){e=~~g;break d}e=-2147483648}C[d>>2]=e;f=C[c>>2];if((f|0)>=1024){f=1023;C[c>>2]=1023;e=C[d>>2]}if((e|0)>=1024){C[d>>2]=1023;f=C[c>>2];e=1023}if((f|0)<0){C[c>>2]=0;e=C[d>>2]}f=0;if((e|0)<0){break b}break a}C[c>>2]=0;f=1}C[d>>2]=0}return f}function xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=df(1,40);if(e){f=C[a+44>>2];k=f-1|0;j=C[a+48>>2];b=C[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=C[I(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(C[(I(d,36)+j|0)+28>>2]){break b}}a=0}A[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=C[b+167776>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=I(b,36)+j|0;i=C[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=C[h+28>>2]}C[g>>2]=a;g=D[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=I(b,36)+j|0;i=C[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=A[h+32|0]&1}A[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}A[e+36|0]=a;return e|0}function Is(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,o=0,p=0;h=C[a+28>>2];if(h){j=C[a+24>>2];k=j-1|0;i=b^-1;g=I(b,65537);l=g^-1;d=C[a>>2];c=C[a+20>>2];o=C[a+36>>2]&-2;m=C[a+16>>2]>>1;p=m-1<<1;while(1){h=h-1|0;a:{if((c^d)&2){if(c&2){a=E[d>>1];e=E[c>>1];B[c>>1]=((a&b)+(e&b)>>>1|0)+(a&(e&i));d=d+2|0;c=c+2|0;a=k}else{a=j}e=a;a=d+2|0;d=C[d-2>>2];if((e|0)>=2){while(1){f=d>>>16|0;d=C[a>>2];f=f|d<<16;n=C[c>>2];C[c>>2]=(((f&g)>>>1)+((n&g)>>>1)|0)+(f&(l&n));a=a+4|0;c=c+4|0;f=e>>>0>3;e=e-2|0;if(f){continue}break}}if(e){e=E[c>>1];d=d>>>16|0;B[c>>1]=((e&b)+(d&b)>>>1|0)+(e&(d&i));c=c+2|0;a=a+2|0}d=a+p|0;break a}if(d&2){a=E[d>>1];e=E[c>>1];B[c>>1]=((a&b)+(e&b)>>>1|0)+(a&(e&i));c=c+2|0;d=d+2|0;a=k}else{a=j}if((a|0)>=2){while(1){e=C[c>>2];f=C[d>>2];C[c>>2]=(((e&g)>>>1)+((f&g)>>>1)|0)+(e&(f&l));c=c+4|0;d=d+4|0;e=a>>>0>3;a=a-2|0;if(e){continue}break}}if(a){a=E[d>>1];e=E[c>>1];B[c>>1]=((a&b)+(e&b)>>>1|0)+(a&(e&i));c=c+2|0;d=d+2|0}d=d+(m<<1)|0}c=c+o|0;if(h){continue}break}}}function OS(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,j=0,k=J(0),l=0,m=0;h=C[b+44>>2];a:{if(h){break a}while(1){i=C[b>>2];if(!i){h=205712;break a}h=df(1,20);if(!h){h=205712;C[b+44>>2]=205712;break a}wq(h,i);if(!C[b+44>>2]){C[b+44>>2]=h;break a}Ue(C[h+12>>2]);C[h+12>>2]=0;Ue(C[h+16>>2]);Re(h);h=C[b+44>>2];if(!h){continue}break}}if(c){while(1){j=C[h>>2];i=C[d>>2];b:{if(j>>>0<=i>>>0){b=0;if(j){break b}b=C[h+8>>2];break b}b=C[h+12>>2];j=C[(b?b:205712)+12>>2];b=C[h+4>>2]-1|0;b=b>>>0>i>>>0?i:b;b=(b|0)<0?205712:j+(b<<2)|0;b=D[b|0]|D[b+1|0]<<8;j=b<<8|b>>>8;b=j&65535;if(!C[a+60>>2]){break b}b=C[h+16>>2];b=b?b:205712;l=C[b+16>>2];if(l){k=J(J(O(J(vz(l>>>0<20?205712:C[b+12>>2],i,a)+J(.5))))+J((j&65535)>>>0));if(k=J(0)){b=~~k>>>0;break b}b=0;break b}b=zz(a,i,1)}b=0-b<<16>>16;i=mT(C[a+40>>2],C[a+44>>2],b,b>>31);b=Ee;i=i+32768|0;C[f>>2]=((i>>>0<32768?b+1|0:b)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}}function QS(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,j=0,k=J(0),l=0,m=0;h=C[b+16>>2];a:{if(h){break a}while(1){i=C[b>>2];if(!i){h=205712;break a}h=df(1,20);if(!h){h=205712;C[b+16>>2]=205712;break a}wz(h,i);if(!C[b+16>>2]){C[b+16>>2]=h;break a}Ue(C[h+12>>2]);C[h+12>>2]=0;Ue(C[h+16>>2]);Re(h);h=C[b+16>>2];if(!h){continue}break}}if(c){while(1){j=C[h>>2];i=C[d>>2];b:{if(j>>>0<=i>>>0){b=0;if(j){break b}b=C[h+8>>2];break b}b=C[h+12>>2];j=C[(b?b:205712)+12>>2];b=C[h+4>>2]-1|0;b=b>>>0>i>>>0?i:b;b=(b|0)<0?205712:j+(b<<2)|0;b=D[b|0]|D[b+1|0]<<8;j=b<<8|b>>>8;b=j&65535;if(!C[a+60>>2]){break b}b=C[h+16>>2];b=b?b:205712;l=C[b+16>>2];if(l){k=J(J(O(J(vz(l>>>0<20?205712:C[b+12>>2],i,a)+J(.5))))+J((j&65535)>>>0));if(k=J(0)){b=~~k>>>0;break b}b=0;break b}b=zz(a,i,0)}b=b<<16>>16;i=mT(C[a+32>>2],C[a+36>>2],b,b>>31);b=Ee;i=i+32768|0;C[f>>2]=((i>>>0<32768?b+1|0:b)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}}function bo(a,b,c,d){var e=0,f=0,g=0,h=0;g=Ce-32|0;Ce=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){f=c+1073741824|0;e=e+1|0;f=e?f:f+1|0;break a}f=c+1073741824|0;if(a|(b|0)!=134217728){break a}a=e&1;e=a+e|0;f=a>>>0>e>>>0?f+1|0:f;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){a=d<<4|c>>>28;e=c<<4|b>>>28;f=a&524287|2146959360;break a}e=0;f=2146435072;if(h>>>0>1140785151){break a}f=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Fg(g+16|0,a,b,c,e,h-15233|0);hj(g,a,b,c,e,15361-h|0);b=C[g+8>>2];e=b<<4;b=C[g+12>>2]<<4|b>>>28;c=C[g>>2];f=C[g+4>>2];h=f;e=f>>>28|e;f=b;a=h&268435455;b=c|(C[g+16>>2]|C[g+24>>2]|(C[g+20>>2]|C[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){e=e+1|0;f=e?f:f+1|0;break a}if(b|(a|0)!=134217728){break a}a=e;e=e+(e&1)|0;f=a>>>0>e>>>0?f+1|0:f}Ce=g+32|0;l(0,e|0);l(1,d&-2147483648|f);return+n()}function xI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=h<<3;a:{if(h>>>0<4){break a}d=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=e-24|0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;G[e-28>>2]=f;e=e-32|0;G[e>>2]=f;c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){f=G[g-4>>2];d=e-24|0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-28>>2]=f;G[e-32>>2]=f;g=g-8|0;f=G[g>>2];d=e-56|0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-60>>2]=f;e=e+-64|0;G[e>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function CH(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0),i=J(0),j=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=32){g=f>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){h=G[c+28>>2];i=G[c+24>>2];e=J(G[c+12>>2]*J(.03448275849223137));j=J(G[c+8>>2]*J(.3292413651943207));G[d>>2]=J(i*J(.16993103921413422))+J(e+J(J(G[c>>2]*J(.46634483337402344))+j));G[d+4>>2]=J(h*J(.16993103921413422))+J(e+J(J(G[c+4>>2]*J(.46634483337402344))+j));G[d+8>>2]=J(i*J(.4335172474384308))+J(e+J(G[c+16>>2]*J(.46634483337402344)));G[d+12>>2]=J(h*J(.4335172474384308))+J(e+J(G[c+20>>2]*J(.46634483337402344)));d=d+16|0;c=c+32|0;g=g-1|0;if(g){continue}break}}c=(f|0)/8<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Dx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=C[b+100>>2];f=D[a+2|0]|D[a+3|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}else{d=205712}f=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);a:{if((f|0)==-1){break a}d=C[c+76>>2];C[b+40>>2]=1;C[b+4>>2]=d;e=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[e+80>>2];A[b+24|0]=(d|0)==C[e+76>>2]?D[(C[e+92>>2]+I(d,20)|0)+15|0]:0;C[b+12>>2]=C[b+132>>2]&-15;d=b+4|0;if(!ti(d)){break a}g=C[c+92>>2];i=C[d>>2];e=g+I(i,20)|0;if(!(D[e+12|0]&8)){break a}d=D[e+14|0];j=d&16?0:d&15;c=D[(g+I(C[c+76>>2],20)|0)+14|0];g=c&16?0:c&15;b:{if((c^d)>>>0<=31){if((g|0)==(j|0)|c>>>0<32){break b}break a}if(!g&c>>>0>=32){break b}if(j|d>>>0<32){break a}}c=D[a+4|0]|D[a+5|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=205712}d=zf(d,C[e>>2]);if((d|0)==-1){return 0}c=D[a+8|0]|D[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}h=D[a+10|0]|D[a+11|0]<<8;if(h){e=((h<<8|h>>>8)&65535)+a|0}else{e=205712}a=D[a+6|0]|D[a+7|0]<<8;h=Hp(c,b,f,d,e,(a<<8|a>>>8)&65535,i)}return h}function om(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=b<<3;f=C[a+40>>2];a:{j=C[a+52>>2];g=C[j+4>>2];b:{if((g|0)<(d|0)){break b}k=j+m|0;i=C[k+4>>2];if((i|0)>(e|0)){break b}h=g;l=C[a+4>>2];g=0-l|0;h=h&g;n=(h|0)<(e|0);c:{if((d|0)>(i|0)){g=d;break c}d=l-1|0;g=g&d+i;if(d&i&65535){d=g;break c}if(D[a+87|0]){A[a+87|0]=0;f=f-4|0}C[f>>2]=C[k>>2];d=g+l|0;f=f+4|0}if(D[a+86|0]){C[C[a+88>>2]+20>>2]=g>>C[a>>2];A[a+86|0]=0}g=n?h:e;if((g|0)<(d|0)){break b}if(F[a+36>>2]<=((g-d>>C[a>>2]<<2)+f|0)+4>>>0){break a}i=0-b|0;l=b<<3;e=j;while(1){A[a+87|0]=0;b=C[e+4>>2];d:{if((b|0)>(d|0)){h=b;b=e+l|0;k=C[b+4>>2];h=h-k|0;if((h|0)>=C[a+16>>2]){Fe[c|0](e);break d}b=C[b>>2];C[f>>2]=((I(C[e>>2]-b|0,d-k|0)|0)/(h|0)|0)+b;f=f+4|0;d=C[a+4>>2]+d|0;b=(i<<3)+e|0;break d}if((b|0)==(d|0)){A[a+87|0]=1;C[f>>2]=C[e>>2];f=f+4|0;d=C[a+4>>2]+d|0}b=(i<<3)+e|0}e=b;if(j>>>0<=e>>>0&(d|0)<=(g|0)){continue}break}j=C[a+52>>2]}C[a+40>>2]=f;C[a+52>>2]=j-m;return 0}C[a+44>>2]=98;C[a+40>>2]=f;return 1}function mn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=Ce-32|0;Ce=h;a:{if(C[a+4>>2]==(c|0)){break a}i=C[a+44>>2];if(!i){break a}Nf(i);C[a+44>>2]=0}b:{c:{d:{if(C[b>>2]|C[b+4>>2]){break d}i=C[a+8>>2];j=C[b+8>>2];if((i|0)>(j|0)){break d}k=C[a+12>>2];l=C[b+12>>2];if((d|0)!=(j|0)|(k|0)>(l|0)){break d}j=1;if((e|0)==(l|0)){break c}}i=C[a+44>>2];e:{if(i){C[i+20>>2]=f;C[i+12>>2]=e;C[i+8>>2]=d;C[i+16>>2]=g;break e}Ij(c,h,h+28|0,h+24|0,h+20|0,h+16|0);d=yl(f,d,e,C[h>>2],g,C[h+28>>2],C[h+24>>2],C[h+20>>2],C[h+16>>2]);C[a+44>>2]=d;if(!d){break b}}f:{f=C[a+40>>2];if(f){break f}Ij(c,h,h+28|0,h+24|0,h+20|0,h+16|0);f=hi(0,C[a+8>>2],C[a+12>>2],C[h>>2],C[h+28>>2],C[h+24>>2],C[h+20>>2],C[h+16>>2]);C[a+40>>2]=f;if(f){break f}break b}g=C[f+16>>2];f=C[f+20>>2];k=C[a+12>>2];i=C[a+8>>2];j=0}if(j|(Bi(i,k,C[a>>2],C[a+28>>2],E[a+20>>1],c,f,g)|0)<0){break b}c=C[b+12>>2];C[h+8>>2]=C[b+8>>2];C[h+12>>2]=c;c=C[b+4>>2];C[h>>2]=C[b>>2];C[h+4>>2]=c;Hr(C[a+40>>2],h,C[a+44>>2],0)}Ce=h+32|0}function YE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}g=C[a+36>>2];h=C[a+16>>2];d=C[a+24>>2];i=d&7;j=(d+7|0)/8|0;d=C[a+44>>2];e=D[a+63|0]>>>D[d+31|0]<>2];a=C[a+20>>2];b:while(1){f=f-1|0;d=j;c:{d:{switch(i-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:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=1;continue;case 1:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=2;continue;case 2:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=3;continue;case 3:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=4;continue;case 4:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=5;continue;case 5:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=6;continue;case 6:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=7;continue;default:break e}}B[a>>1]=E[b>>1]|e;c=d-1|0;b=b+2|0;a=a+2|0;f:{if((d|0)>1){d=c;break f}a=a+g|0;b=b+h|0;if(f){continue b}break a}c=0;continue}}}}function KH(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0),i=J(0),j=J(0),k=J(0),l=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=28){g=(f>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){i=G[c+24>>2];e=G[c+16>>2];j=G[c+20>>2];h=J(G[c+12>>2]*J(.04000000283122063));k=J(G[c+8>>2]*J(.32736000418663025));G[d>>2]=J(j*J(.16896000504493713))+J(h+J(J(G[c>>2]*J(.4636799991130829))+k));l=G[c+4>>2];e=J(h+J(e*J(.32736000418663025)));G[d+12>>2]=J(i*J(.4310399889945984))+e;G[d+8>>2]=J(j*J(.4310399889945984))+e;G[d+4>>2]=J(i*J(.16896000504493713))+J(h+J(J(l*J(.4636799991130829))+k));d=d+16|0;c=c+28|0;g=g-1|0;if(g){continue}break}}c=(f|0)/7<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function sI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=I((g|0)/2|0,7);a:{if(g>>>0<8){break a}d=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+h|0;f=c+g|0;if(g&8){c=e-20|0;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;G[e-24>>2]=G[f-4>>2];e=e-28|0;f=f-8|0;G[e>>2]=G[f>>2];c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){d=e-20|0;C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;G[e-24>>2]=G[f-4>>2];i=G[f-8>>2];d=e-48|0;C[d>>2]=0;C[d+4>>2]=0;G[e-28>>2]=i;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;G[e-52>>2]=G[f-12>>2];e=e-56|0;f=f-16|0;G[e>>2]=G[f>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function vt(){var a=0,b=0,c=0;if(C[104426]){rg(C[104456]);rg(C[104457]);rg(C[104458]);rg(C[104459]);rg(C[104460]);rg(C[104461]);rg(C[104462]);rg(C[104463]);rg(C[104464]);rg(C[104465]);rg(C[104466]);rg(C[104467]);rg(C[104468]);rg(C[104469]);rg(C[104470]);rg(C[104471]);a=C[104454];if(a){while(1){c=C[a+40>>2];b=C[a>>2];if(b){Fe[C[104440]](b)}b=C[a+4>>2];if((b|0)!=C[a+8>>2]){if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+8>>2]}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}C[104452]=0;C[104454]=0;a=C[104455];if(a){while(1){c=C[a+40>>2];b=C[a>>2];if(b){Fe[C[104440]](b)}b=C[a+4>>2];if((b|0)!=C[a+8>>2]){if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+8>>2]}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}C[104453]=0;C[104455]=0;Fe[C[104441]]();a=C[104449];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}lf(417704,0,120);lf(417824,0,64)}}function JE(a){a=a|0;var 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;j=C[a+28>>2];d=j-1|0;C[a+28>>2]=d;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(j|0)|0;if(j){j=(o|0)/2|0;m=(p|0)/2|0;q=(C[a+52>>2]&240)-16>>>4|0;k=C[a+20>>2];while(1){l=C[a+24>>2];if(l){r=m>>>16|0;s=C[a>>2];d=k;g=j;while(1){c=C[(I(C[a+12>>2],r)+s|0)+(g>>>14&262140)>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;l=l-1|0;b=C[d>>2];n=b>>>24|0;e=b&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(q|0){case 0:n=255;e=h;f=i;b=c;break a;case 1:h=e+h|0;e=h>>>0>=255?255:h;i=f+i|0;f=i>>>0>=255?255:i;c=b+c|0;b=c>>>0>=255?255:c;break a;case 3:e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0;break a;case 7:break b;default:break a}}n=255;e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0}C[d>>2]=n<<24|e|f<<8|b<<16;d=d+4|0;g=g+o|0;if(l){continue}break}g=C[a+28>>2]}else{g=d}d=g-1|0;C[a+28>>2]=d;m=m+p|0;k=C[a+32>>2]+k|0;if(g){continue}break}C[a+20>>2]=k}}function rP(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!b){return 1}d=a&65535;f=a>>>16|0;if(c){while(1){e=c>>>0>=5552?5552:c;c=c-e|0;a:{if(e>>>0>=16){while(1){a=D[b|0]+d|0;h=a+D[b+1|0]|0;g=h+D[b+2|0]|0;i=g+D[b+3|0]|0;j=i+D[b+4|0]|0;k=j+D[b+5|0]|0;l=k+D[b+6|0]|0;m=l+D[b+7|0]|0;n=m+D[b+8|0]|0;o=n+D[b+9|0]|0;p=o+D[b+10|0]|0;q=p+D[b+11|0]|0;r=q+D[b+12|0]|0;s=r+D[b+13|0]|0;t=s+D[b+14|0]|0;d=t+D[b+15|0]|0;f=d+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(g+(h+(a+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=e-16|0;if(e>>>0>15){continue}break}if(!e){break a}}g=0;a=b;h=e;i=e&3;if(i){while(1){h=h-1|0;d=D[a|0]+d|0;f=f+d|0;a=a+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(e-1>>>0>=3){while(1){g=D[a|0]+d|0;i=g+D[a+1|0]|0;j=i+D[a+2|0]|0;d=j+D[a+3|0]|0;f=d+((i+(f+g|0)|0)+j|0)|0;a=a+4|0;h=h-4|0;if(h){continue}break}}b=b+e|0}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0;if(c){continue}break}}return f<<16|d}function jw(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,o=0;f=Ce-16|0;Ce=f;o=C[a>>2];j=C[b+8>>2];g=dg(b,f+12|0);e=C[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}k=_f(b,f+12|0);e=C[f+12>>2];if(e){break c}e=lg(b,6);C[f+12>>2]=e;if(e){break c}if(!k){e=142;break c}h=-1;d:{while(1){l=dg(b,f+12|0);e=C[f+12>>2];if(e){break c}e=lg(b,4);C[f+12>>2]=e;if(e){break c}i=dg(b,f+12|0);e=C[f+12>>2];if(e){break c}g=dg(b,f+12|0);e=C[f+12>>2];if(e){break c}e:{if((l|0)!=1415139377){if((l|0)!=1128875040){break e}g=g-22|0;i=i+22|0;m=1;if((c|0)<0){break d}h=h+1|0;break e}g=g-24|0;i=i+24|0;m=0;if((c|0)<0){break d}h=h+1|0}if((c|0)==(h|0)&(c|0)>=0){break d}n=n+1|0;if((n|0)!=(k|0)){continue}break}e=142;break c}e=0;C[f+8>>2]=0;if(bf(b,i+j|0)){break a}h=hf(o,g,f+8|0);e=C[f+8>>2];if(e){break b}e=jg(b,h,g);C[f+8>>2]=e;if(e){break b}e=kp(a,h,g,c>>31&c,m?19773:29664,d)}C[f+8>>2]=e}if((e&255)!=2){break a}a=bf(b,j);e=a?a:C[f+8>>2]}Ce=f+16|0;return e}function uE(a){a=a|0;var 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;b=C[a+28>>2];e=b-1|0;C[a+28>>2]=e;n=(C[a+4>>2]<<16)/C[a+24>>2]|0;o=(C[a+8>>2]<<16)/(b|0)|0;if(b){p=(n|0)/2|0;k=(o|0)/2|0;q=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];while(1){g=C[a+24>>2];if(g){r=k>>>16|0;s=C[a>>2];e=f;l=p;while(1){b=C[(I(C[a+12>>2],r)+s|0)+(l>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;g=g-1|0;c=C[e>>2];m=c>>>24|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(q|0){case 0:m=255;b=j;d=i;c=h;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}m=255;b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0}C[e>>2]=m<<24|b|d<<8|c<<16;e=e+4|0;l=l+n|0;if(g){continue}break}e=C[a+28>>2]}b=e;e=b-1|0;C[a+28>>2]=e;k=k+o|0;f=C[a+32>>2]+f|0;if(b){continue}break}C[a+20>>2]=f}}function qI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(f>>>0<12){break a}d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=(f>>>0)/12|0;b:{if(!(e&1)){c=d;break b}G[d>>2]=J(G[d+8>>2]*J(.3333333432674408))+J(J(G[d>>2]*J(.3333333432674408))+J(G[d+4>>2]*J(.3333333432674408)));c=d+4|0;d=d+12|0;e=e-1|0}if(f-12>>>0<12){break a}while(1){G[c>>2]=J(G[d+8>>2]*J(.3333333432674408))+J(J(G[d>>2]*J(.3333333432674408))+J(G[d+4>>2]*J(.3333333432674408)));G[c+4>>2]=J(G[d+20>>2]*J(.3333333432674408))+J(J(G[d+12>>2]*J(.3333333432674408))+J(G[d+16>>2]*J(.3333333432674408)));c=c+8|0;d=d+24|0;e=e-2|0;if(e){continue}break}}c=(f|0)/3|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function JF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+36>>2];h=C[a+16>>2];e=C[a+24>>2];i=e&7;j=(e+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];b:while(1){f=f-1|0;e=j;c:{d:{switch(i-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:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=1;continue;case 1:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=2;continue;case 2:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=3;continue;case 3:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=4;continue;case 4:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=5;continue;case 5:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=6;continue;case 6:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=7;continue;default:break e}}A[a|0]=D[D[b|0]+d|0];c=e-1|0;b=b+1|0;a=a+1|0;f:{if((e|0)>1){e=c;break f}a=a+g|0;b=b+h|0;if(f){continue b}break a}c=0;continue}}}}function kh(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(!D[a+73|0]){C[a+76>>2]=b;break b}if(!D[a+72|0]){break a}c=C[a+84>>2];if(c>>>0>>0){if(F[a+88>>2]<=b>>>0){if(!aj(a,b)){break a}}c=b-c|0;b=C[a+92>>2];d=C[a+96>>2];c:{if((b|0)!=(d|0)){break c}b=C[a+84>>2];if(b+c>>>0<=c+C[a+76>>2]>>>0){b=d;break c}e=C[a+100>>2];C[a+96>>2]=e;jf(e,d,I(b,20));b=C[a+92>>2];d=C[a+96>>2]}Yf(I(C[a+84>>2],20)+d|0,I(C[a+76>>2],20)+b|0,I(c,20));C[a+76>>2]=c+C[a+76>>2];C[a+84>>2]=c+C[a+84>>2];break b}if(b>>>0>=c>>>0){break b}e=C[a+76>>2];f=c-b|0;if(e>>>0>>0){b=C[a+80>>2];c=f-e|0;g=b+c|0;if(!(!g|g>>>0>2])){if(!aj(a,g)){break a}e=C[a+76>>2];b=C[a+80>>2]}d=C[a+92>>2]+I(e,20)|0;Yf(d+I(c,20)|0,d,I(b-e|0,20));d=a;e=c+C[a+76>>2]|0;b=C[a+80>>2];if(e>>>0>b>>>0){We(C[a+92>>2]+I(b,20)|0,0,I(e-b|0,20));e=c+C[a+76>>2]|0;b=C[a+80>>2]}C[d+80>>2]=b+c;c=C[a+84>>2]}b=c-f|0;C[a+84>>2]=b;d=e-f|0;C[a+76>>2]=d;Yf(C[a+92>>2]+I(d,20)|0,C[a+96>>2]+I(b,20)|0,I(f,20))}d=1}return d}function xk(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=c?c+32|0:a+420|0;h=C[(c?c+24|0:a+424|0)>>2];a:{b:{c:{if((b|0)==10){break c}f=D[e+2|0]|(D[e|0]<<16|D[e+3|0]<<24|D[e+1|0]<<8);if((f|0)==C[a+452>>2]?C[a+524>>2]:0){break c}d:{d=C[a+444>>2];if(d){C[a+444>>2]=C[d+24>>2];C[d+24>>2]=0;break d}d=If(1,28);if(d){break d}_e(0);return 0}g=C[a+440>>2];C[(g?g+24|0:a+436|0)>>2]=d;C[a+440>>2]=d;C[d>>2]=3;C[d+4>>2]=0;A[d+8|0]=D[e|0];A[d+9|0]=D[e+1|0];A[d+10|0]=D[e+2|0];A[d+11|0]=D[e+3|0];g=Fe[C[a+24>>2]](a,d)|0;if((g|0)<0){C[d>>2]=0;return 0}C[a+524>>2]=1;C[a+452>>2]=f;if(g){break b}}if(!C[a+528>>2]){if(zk(a)){break b}}if(!C[a+532>>2]){if(es(a)){break b}}d=C[a+444>>2];if(d){C[a+444>>2]=C[d+24>>2];C[d+24>>2]=0;break a}d=If(1,28);if(d){break a}_e(0)}return 0}f=C[a+440>>2];C[(f?f+24|0:a+436|0)>>2]=d;C[a+440>>2]=d;C[d+4>>2]=0;C[d+8>>2]=0;C[d>>2]=b;A[d+12|0]=D[e|0];A[d+13|0]=D[e+1|0];A[d+14|0]=D[e+2|0];a=D[e+3|0];C[d+20>>2]=c;C[d+16>>2]=h;A[d+15|0]=a;return d}function Pn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce+-64|0;Ce=g;a:{if(C[a+36>>2]<=(b|0)){break a}b:{c:{f=C[a+40>>2];e=f+I(b,24)|0;if(C[e+8>>2]){if(C[e+12>>2]|(E[e>>1]-32767&65535)>>>0>2){break c}d=c>>31;if(((d^c)-d|0)>8190){break c}}h=e+8|0;B[e>>1]=c;B[e+4>>1]=c;B[e+2>>1]=c;d=c;break b}h=e+12|0;i=I(b,24)+f|0;d=E[i+2>>1];if((d|0)!=(c&65535)){break b}if(!C[i+20>>2]){break a}}C[h>>2]=1;h=I(b,24)+f|0;if(!C[h+16>>2]){i=c-(d<<16>>16)|0;d=i>>31;if(((d^i)-d|0)<410){break a}C[h+16>>2]=1;d=I(b,24)+f|0;C[d+20>>2]=1;Pn(a,b,B[e>>1]);C[d+20>>2]=0}d:{if(D[419092]){break d}e=C[104774];d=C[105668];if(d){d=C[d+380>>2]!=0}else{d=0}if(e|!d){break d}d=I(b,24)+f|0;if(C[d+20>>2]){break a}d=B[d+4>>1];if((d|0)<(c|0)&B[(I(b,24)+f|0)+2>>1]<=(c|0)){break a}if((c|0)>=(d|0)){break d}if(B[(I(b,24)+f|0)+2>>1]>=(c|0)){break a}}B[(I(b,24)+f|0)+2>>1]=c;if((qf(1536,-1)|0)!=1){break a}C[g+8>>2]=1536;a=C[a>>2];B[g+24>>1]=c;A[g+20|0]=b;C[g+16>>2]=a;Df(g+8|0)}Ce=g- -64|0}function Gj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=C[a+40>>2];d=Ip(b,C[a+36>>2]);a:{b:{c:{if((d|0)>=0){d=C[C[a+32>>2]+(d<<2)>>2];if((d|0)<0){i=d>>>15&32767;g=C[a+8>>2]-(d&32767)|0;break c}h=d-1|0;c=A[h+C[a+28>>2]|0];break b}g=C[a+8>>2]}f=Ip(b,c);j=f>>>31|0;h=-1;d:{if((f|0)>=0){d=c;break d}if((c|0)<2){d=c;break d}while(1){d=c-1|0;f=Ip(b,d);j=f>>>31|0;if((f|0)>=0){break d}e=c>>>0>2;c=d;if(e){continue}break}}if(j){break a}c=g-i|0;if((c|0)>=2){e=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=e>>>4&252645135|(e&252645135)<<4;e=e>>>2&858993459|(e&858993459)<<2;j=e>>>1&1431655765|(e&1431655765)<<1;e=C[a+20>>2];while(1){h=c>>>1|0;c=j>>>0>2];g=g-(c?h:0)|0;i=(c?0:h)+i|0;c=g-i|0;if((c|0)>1){continue}break}}a=A[C[a+28>>2]+i|0];g=(a|0)>(d|0);h=g?-1:i;c=g?d:a}d=C[b>>2];a=C[b+16>>2];c=C[b+4>>2]+c|0;e:{if((d|0)<=(a-(c+7>>3)|0)){a=(c|0)/8|0;C[b+12>>2]=a+C[b+12>>2];a=a+d|0;c=c&7;break e}C[b+12>>2]=0;c=1}C[b+4>>2]=c;C[b>>2]=a}return h}function Fo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ce-16|0;Ce=g;a:{if(A[a+368|0]&1){i=C[a+52>>2];j=C[a+48>>2];l=E[a+46>>1];k=E[a+44>>1];h=C[a+36>>2];m=C[a+40>>2];f=a- -64|0;n=C[f+4>>2];C[g+8>>2]=C[f>>2];C[g+12>>2]=n;f=C[a+60>>2];C[g>>2]=C[a+56>>2];C[g+4>>2]=f;f=a+286|0;break a}i=C[a+88>>2];j=C[a+84>>2];l=E[a+82>>1];k=E[a+80>>1];h=C[a+72>>2];m=C[a+76>>2];f=C[a+104>>2];C[g+8>>2]=C[a+100>>2];C[g+12>>2]=f;f=C[a+96>>2];C[g>>2]=C[a+92>>2];C[g+4>>2]=f;f=a+288|0}f=E[f>>1];b:{if(f>>>0>=k>>>0){if(D[a+561|0]){C[a+12>>2]=134}B[e>>1]=0;a=1;break b}C[d+16>>2]=i;C[d+12>>2]=j;B[d+10>>1]=l;B[d+8>>1]=k;C[d>>2]=h;C[d+4>>2]=m;h=C[g+4>>2];C[d+20>>2]=C[g>>2];C[d+24>>2]=h;h=C[g+12>>2];C[d+28>>2]=C[g+8>>2];C[d+32>>2]=h;B[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Fe[C[a+572>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0;o=e,p=of(b,B[a+298>>1],C[a+564>>2]),C[o>>2]=p;o=c,p=of(b,B[a+300>>1],C[a+564>>2]),C[o>>2]=p;a=0}Ce=g+16|0;return a}function cl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(F[a+16>>2]<=b>>>0){break a}e=C[C[C[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Fe[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=C[a+88>>2];if(!a){return 36}h=d,i=of(C[d>>2],C[a+(c&16?20:16)>>2],64),C[h>>2]=i;return 0}if((e&255)!=7){break a}}e=35;b:{if(!a){break b}e=6;if(!d){break b}e=16;f=b+1|0;g=C[a+16>>2];c:{if(f>>>0>g>>>0|!f|b>>>0>=g>>>0){break c}e=C[C[C[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Fe[e|0](a,b,1,c,d)|0;if(!e){d:{if(!(c&1)){a=C[a+88>>2];e=36;if(!a){break d}b=C[a+(c&16?20:16)>>2];a=0;while(1){c=(a<<2)+d|0;h=c,i=of(C[c>>2],b,64),C[h>>2]=i;a=a+1|0;if((a|0)!=1){continue}break}}e=0}break b}if((e&255)!=7){break c}}e=7;if(c&536870912){break c}g=c|256;f=0;c=c&16?68:64;while(1){e=fi(a,b+f|0,g);if(e){break c}C[(f<<2)+d>>2]=C[c+C[a+84>>2]>>2]<<10;e=0;f=f+1|0;if((f|0)!=1){continue}break}}}}return e}function MH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0),k=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=28){f=(e>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+24>>2];h=G[c+20>>2];i=J(G[c+16>>2]*J(.17446152865886688));j=J(G[c+12>>2]*J(.07692307978868484));k=J(G[c+8>>2]*J(.17446152865886688));G[d>>2]=J(g*J(.10061538219451904))+J(J(h*J(.22615385055541992))+J(i+J(j+J(J(G[c>>2]*J(.24738462269306183))+k))));G[d+4>>2]=J(g*J(.22615385055541992))+J(J(h*J(.10061538219451904))+J(i+J(j+J(J(G[c+4>>2]*J(.24738462269306183))+k))));d=d+8|0;c=c+28|0;f=f-1|0;if(f){continue}break}}c=(e|0)/7<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function zH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+16>>2];h=G[c+20>>2];G[d>>2]=G[c>>2]*J(.5410000085830688);G[d+4>>2]=G[c+4>>2]*J(.5410000085830688);G[d+8>>2]=G[c+8>>2]*J(.5410000085830688);i=G[c+12>>2];G[d+16>>2]=J(g*J(.2879999876022339))+J(h*J(.2879999876022339));G[d+12>>2]=i;G[d+20>>2]=J(g*J(.45899999141693115))+J(G[c+24>>2]*J(.5410000085830688));G[d+24>>2]=J(h*J(.45899999141693115))+J(G[c+28>>2]*J(.5410000085830688));d=d+28|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,7);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function yI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=I(h,7);a:{if(h>>>0<4){break a}d=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=e-20|0;C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;G[e-24>>2]=f;e=e-28|0;G[e>>2]=f;c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){f=G[g-4>>2];d=e-20|0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-24>>2]=f;G[e-28>>2]=f;g=g-8|0;f=G[g>>2];d=e-48|0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-52>>2]=f;e=e-56|0;G[e>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Zj(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);e=j(1)|0;j(0)|0;d=e&2147483647;if(d>>>0>=1141899264){o(1.5707963267948966);e=j(1)|0;d=j(0)|0;o(+a);b=j(1)|0;j(0)|0;l(0,d|0);l(1,e&2147483647|b&-2147483648);g=+n();o(+a);b=j(1)|0;e=j(0)|0;b=b&2147483647;return(b|0)==2146435072&(e|0)!=0|b>>>0>2146435072?a:g}a:{b:{if(d>>>0<=1071382527){b=-1;if(d>>>0>=1044381696){break b}break a}a=K(a);if(d>>>0<=1072889855){if(d>>>0<=1072037887){a=(a+a+-1)/(a+2);b=0;break b}a=(a+-1)/(a+1);b=1;break b}if(d>>>0<=1073971199){a=(a+-1.5)/(a*1.5+1);b=2;break b}a=-1/a;b=3}f=a*a;c=f*f;g=c*(c*(c*(c*(c*-.036531572744216916+-.058335701337905735)+-.0769187620504483)+-.11111110405462356)+-.19999999999876483);f=f*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d>>>0<=1071382527){return a-a*(g+f)}b=b<<3;a=H[b+360128>>3]-(a*(g+f)-H[b+360160>>3]-a);a=(e|0)<0?-a:a}return a}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=0;d=C[b+36>>2];if(d>>>0<=222){c=C[(d<<2)+148608>>2];a:{b:{c:{if(!d){d=b+44|0;e=yn(d,4441,9);if(!yn(d,4414,10)){break c}c=e?c:271}if(c){break b}c=0;break a}c=270}d:{e:{switch(C[b+8>>2]-2|0){case 0:c=(c&-4)==224?c+4|0:c;break d;case 1:break e;default:break d}}f:{switch(c-30|0){case 9:case 43:c=98;break d;case 0:case 47:c=89;break d;case 1:case 51:c=90;break d;case 2:case 48:c=91;break d;case 3:case 50:c=92;break d;case 4:c=93;break d;case 5:case 49:c=94;break d;case 6:case 44:c=95;break d;case 7:case 52:c=96;break d;case 8:case 45:c=97;break d;case 10:c=88;break d;case 46:break f;default:break d}}c=99}c=Tl(1,(a|0)==2,c)}d=C[b+36>>2]}g=d-8|0;g:{h:{if(g>>>0>=33){f=1;if(d-112>>>0<24){break g}break h}e=g&31;f=1;if(((g&63)>>>0>=32?1>>>e|0:((1<>>e)&1|d-112>>>0<=23){break g}}f=C[b+12>>2]!=0}b=f;if((a|0)==2){c=(qf(771,-1)|0)!=1?c:b?c:0}return c|0}function vz(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=d?d+a|0:205712;a:{if(D[d|0]){break a}e=D[d+2|0]|D[d+3|0]<<8;if(!e){break a}g=D[d+1|0];h=g>>>4&3;f=h+1|0;e=(e<<8|e>>>8)&65535;d=d+I(f,b>>>0>>0?b:e-1|0)|0;b=D[d+4|0];b:{if(!h){break b}b=D[d+5|0]|b<<8;if((f|0)==2){break b}b=D[d+6|0]|b<<8;if((f|0)==3){break b}b=D[d+7|0]|b<<8}d=(g&15)+1|0;b=b>>>d<<16|(-1<>>8&65280|a>>>24);a=a?d+a|0:205712;d=D[a+6|0]|D[a+7|0]<<8;e=(d<<8|d>>>8)&65535;d=b>>>16|0;if(e>>>0<=d>>>0){return J(0)}d=a+(d<<2)|0;d=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=d?d+a|0:205712;d=a;a=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return ll(e,b&65535,C[c+64>>2],C[c+60>>2],a?d+a|0:205712)}function BH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];i=J(G[c+8>>2]*J(.3409999907016754));G[d>>2]=J(h*J(.17599999904632568))+J(J(G[c>>2]*J(.4830000102519989))+i);G[d+4>>2]=J(g*J(.17599999904632568))+J(J(G[c+4>>2]*J(.4830000102519989))+i);G[d+8>>2]=G[c+12>>2];G[d+12>>2]=J(G[c+16>>2]*J(.4830000102519989))+J(h*J(.4490000009536743));G[d+16>>2]=J(G[c+20>>2]*J(.4830000102519989))+J(g*J(.4490000009536743));d=d+20|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,5);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function zf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=D[a+2|0]|D[a+3|0]<<8;if(!c){break a}e=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c|0;f=d>>>1|0;d=e+(d&-2)|0;d=D[d|0]|D[d+1|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){a=f-1|0;break d}if((b|0)==(d|0)){break a}c=f+1|0}if((a|0)>=(c|0)){continue}break}return-1}e=206102;c=D[a+2|0]|D[a+3|0]<<8;e:{if(!c){break e}h=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;g=I(d,6)+h|0;i=D[g|0]|D[g+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=D[g+2|0]|D[g+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}e=I(d,6)+h|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=D[e+2|0]|D[e+3|0]<<8;c=(a<<8|a>>>8)&65535;a=D[e|0]|D[e+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=D[e+4|0]|D[e+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function zE(a){a=a|0;var 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;h=C[a+28>>2];d=h-1|0;C[a+28>>2]=d;n=(C[a+4>>2]<<16)/C[a+24>>2]|0;o=(C[a+8>>2]<<16)/(h|0)|0;if(h){h=(n|0)/2|0;m=(o|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;i=C[a+20>>2];while(1){j=C[a+24>>2];if(j){q=m>>>16|0;r=C[a>>2];d=i;g=h;while(1){b=C[(I(C[a+12>>2],q)+r|0)+(g>>>14&262140)>>2];k=b&255;l=b>>>8&255;b=b>>>16&255;j=j-1|0;c=C[d>>2];e=c&255;f=c>>>8&255;c=c>>>16&255;a:{b:{switch(p|0){case 0:c=b;f=l;e=k;break a;case 1:b=b+c|0;c=b>>>0>=255?255:b;b=f+l|0;f=b>>>0>=255?255:b;b=e+k|0;e=b>>>0>=255?255:b;break a;case 3:c=(I(b,c)>>>0)/255|0;f=(I(f,l)>>>0)/255|0;e=(I(e,k)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(b,c)>>>0)/255|0;f=(I(f,l)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}C[d>>2]=f<<8|c<<16|e;d=d+4|0;g=g+n|0;if(j){continue}break}g=C[a+28>>2]}else{g=d}d=g-1|0;C[a+28>>2]=d;m=m+o|0;i=C[a+32>>2]+i|0;if(g){continue}break}C[a+20>>2]=i}}function UG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ce-32|0;Ce=c;d=C[a+40>>2];e=C[a+44>>2];a:{if(!(C[a- -64>>2]?0:C[a+60>>2])){b=C[a+52>>2];if(b){Xl(b)}lf(C[a+72>>2],D[a+11|0],C[a+16>>2]);b=C[a+16>>2];d=C[a+72>>2];e=D[a+10|0];a=E[a+8>>1];A[c+31|0]=0;A[c+29|0]=105;A[c+30|0]=105;C[c>>2]=d;C[c+4>>2]=(b|0)/(I(e,a>>>3&31)|0);S(386458,c+29|0,c|0)|0;break a}b:{if(C[a+52>>2]){c:{while(1){b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}f=C[a+16>>2];if((b|0)>=(f|0)){break c}Fe[e|0](C[a+48>>2],C[a+72>>2],d);if((Pj(C[a+52>>2],C[a+72>>2],d)|0)!=-1){continue}break}Xl(C[a+52>>2]);C[a+60>>2]=0;f=C[a+16>>2]}d=gj(C[a+52>>2],C[a+72>>2],f);b=C[a+16>>2];if((d|0)==(b|0)){break b}lf(C[a+72>>2],D[a+11|0],b);break b}Fe[e|0](C[a+48>>2],C[a+72>>2],d)}b=C[a+16>>2];d=C[a+72>>2];e=D[a+10|0];a=E[a+8>>1];A[c+31|0]=0;A[c+29|0]=105;A[c+30|0]=105;C[c+16>>2]=d;C[c+20>>2]=(b|0)/(I(e,a>>>3&31)|0);S(386458,c+29|0,c+16|0)|0}Ce=c+32|0}function SE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=C[a+28>>2];d=j-1|0;C[a+28>>2]=d;n=(C[a+4>>2]<<16)/C[a+24>>2]|0;o=(C[a+8>>2]<<16)/(j|0)|0;if(j){j=(n|0)/2|0;m=(o|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;k=C[a+20>>2];while(1){l=C[a+24>>2];if(l){q=m>>>16|0;r=C[a>>2];d=k;g=j;while(1){c=C[(I(C[a+12>>2],q)+r|0)+(g>>>14&262140)>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;l=l-1|0;b=C[d>>2];e=b&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(p|0){case 0:e=h;f=i;b=c;break a;case 1:h=e+h|0;e=h>>>0>=255?255:h;i=f+i|0;f=i>>>0>=255?255:i;c=b+c|0;b=c>>>0>=255?255:c;break a;case 3:e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0;break a;case 7:break b;default:break a}}e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0}C[d>>2]=f<<8|e|b<<16;d=d+4|0;g=g+n|0;if(l){continue}break}g=C[a+28>>2]}else{g=d}d=g-1|0;C[a+28>>2]=d;m=m+o|0;k=C[a+32>>2]+k|0;if(g){continue}break}C[a+20>>2]=k}}function ZL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;d=6;a:{if(F[a+736>>2]<=b>>>0){break a}d=2;b:{c:{switch(C[a+732>>2]-1|0){case 0:case 1:a=C[a+724>>2]+I(b,48)|0;B[c>>1]=D[a+52|0];B[c+2>>1]=D[a+53|0];b=A[a+24|0]<<6;C[c+12>>2]=b;d=A[a+25|0]<<6;C[c+16>>2]=d;C[c+20>>2]=b-d;C[c+24>>2]=A[a+31|0]+(D[a+26|0]+A[a+30|0]|0)<<6;break b;case 2:break c;default:break a}}b=C[a+724>>2]+(b<<2)|0;e=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=C[a+104>>2];d=Fe[C[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break a}d=3;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(F[f+12>>2]>>0){break a}d=bf(b,e+C[b+8>>2]|0);if(d){break a}d=Bf(b,4);if(d){break a}d=Ff(b);Ff(b);xf(b);b=E[a+178>>1];B[c+2>>1]=d;B[c>>1]=d;d=d<<6;e=B[a+220>>1];C[c+12>>2]=(I(d,e)|0)/(b|0);g=B[a+222>>1];C[c+16>>2]=(I(d,g)|0)/(b|0);C[c+20>>2]=(I(d,B[a+224>>1]+(e-g|0)|0)|0)/(b|0);C[c+24>>2]=(I(d,E[a+226>>1])>>>0)/(b>>>0)}d=0}Ce=f+16|0;return d|0}function nN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(F[b+160>>2]>>0){tf(b,8)}c=D[a+3|0]|D[a+2|0]<<8;i=c+a|0;if(!(c>>>0>=518&F[b+160>>2]>=i>>>0)){tf(b,8)}c=a+6|0;while(1){f=D[c+1|0];e=f|D[c|0]<<8;if(!(!(f&7)|F[b+164>>2]<2)){tf(b,8)}c=c+2|0;f=e>>>3|0;g=f>>>0>g>>>0?f:g;d=d+1|0;if((d|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>F[b+160>>2]){tf(b,8)}d=0;while(1){f=d;a=c+8|0;d=D[c+3|0]|D[c+2|0]<<8;a:{if(!d){c=a;break a}e=D[c+7|0]|D[c+6|0]<<8;k=D[c+4|0];l=D[c+5|0];h=D[c|0];m=D[c+1|0];b:{if(F[b+164>>2]<2){break b}h=m|h<<8;if(h>>>0<=255&d+h>>>0<257){break b}tf(b,8)}if(!e){c=a;break a}e=(c+6|0)+e|0;if(!(e>>>0>=j>>>0&e+(d<<1)>>>0<=i>>>0)){tf(b,9)}if(!C[b+164>>2]){c=a;break a}e=k<<8|l;d=((d<<1)+c|0)+8|0;c=a;while(1){a=c;c=c+2|0;a=D[a+1|0]|D[a|0]<<8;if(!(!a|F[b+172>>2]>(a+e&65535)>>>0)){tf(b,16)}if(c>>>0>>0){continue}break}}d=f+1|0;if((f|0)!=(g|0)){continue}break}return 0}function rm(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=C[a+100>>2];b=C[a+300>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+300>>2]=0;b=C[a+292>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+292>>2]=0;b=C[a+284>>2];if(b){if(C[a+280>>2]>0){while(1){b=C[a+284>>2];b:{if(!b){break b}b=b+I(e,12)|0;d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;if(!D[b+4|0]){break b}d=C[b+8>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+8>>2]=0}e=e+1|0;if((e|0)>2]){continue}break}b=C[a+284>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+284>>2]=0}b=C[a+192>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+192>>2]=0;b=C[a+20>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+20>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+32>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+32>>2]=0;b=C[a+176>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+176>>2]=0;b=C[a+180>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+180>>2]=0;c=C[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=C[c+24>>2];if(!b){break c}Fe[b|0](c)}C[a+104>>2]=C[a+172>>2]}}function SC(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,j=0,k=0;h=Ce-32|0;Ce=h;b=C[b+80>>2];j=C[a+548>>2];k=Rh();i=C[j>>2];a:{if((k|0)!=(i|0)){C[j+468>>2]=0;if((sh(C[a+204>>2],i)|0)<0){break a}}i=C[a+548>>2];if(!C[i+4>>2]){break a}while(1){if(Fe[C[i+100>>2]]()|0){continue}break}}i=0;b:{if(C[c+8>>2]<=0|C[c+12>>2]<=0){break b}C[j+412>>2]=0;Fe[C[j+20>>2]](C[b+4>>2],C[b+36>>2]);ji(j,C[b+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,6410,5121,f,g,2);Fe[C[j+20>>2]](C[b+4>>2],C[b>>2]);ji(j,C[b+4>>2],C[c>>2],C[c+4>>2],C[c+8>>2],C[c+12>>2],C[b+8>>2],C[b+12>>2],d,e,1);a=C[a+548>>2];if(!C[a+4>>2]){break b}b=Fe[C[a+100>>2]]()|0;if(!b){break b}while(1){c=25026;d=b-1280|0;if(d>>>0<=5){c=C[(d<<2)+137356>>2]}C[h+20>>2]=b;C[h+16>>2]=c;C[h+12>>2]=22769;C[h+8>>2]=1806;C[h+4>>2]=21666;C[h>>2]=33968;Qe(33817,h);b=Fe[C[a+100>>2]]()|0;if(b){continue}break}i=-1}Ce=h+32|0;return i|0}function vo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Ce+-64|0;Ce=g;c=C[a+216>>2];if(c){C[g>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Ok(g,64,4,13066);C[a+216>>2]=0}C[a+220>>2]=0;C[a+224>>2]=0;C[a+232>>2]=0;C[a+236>>2]=0;c=(C[a+612>>2]&12)!=12;A[a+432|0]=c;h=c?0:15;d=a+220|0;a:{if(D[a+208|0]&2){c=Bt(d,h);break a}e=-6;b:{if(D[29503]!=49){break b}e=-2;if(!d){break b}C[d+24>>2]=0;f=C[d+32>>2];if(!f){C[d+40>>2]=0;C[d+32>>2]=130;f=130}if(!C[d+36>>2]){C[d+36>>2]=131}c=Fe[f|0](C[d+40>>2],1,7120)|0;e=-4;if(!c){break b}C[d+28>>2]=c;C[c+56>>2]=0;C[c>>2]=d;C[c+4>>2]=16180;f=Bt(d,h);e=0;if(!f){break b}Fe[C[d+36>>2]](C[d+40>>2],c);C[d+28>>2]=0;e=f}c=e;if(c){break a}C[a+208>>2]=C[a+208>>2]|2;c=0}if((C[a+612>>2]&768)==768){f=-2;c:{if(!C[d+36>>2]|(!d|!C[d+32>>2])){break c}c=C[d+28>>2];if(!c|(d|0)!=C[c>>2]|C[c+4>>2]-16180>>>0>31){break c}C[c+12>>2]=C[c+12>>2]&-5;f=0}c=f}d:{if(!c){C[a+216>>2]=b;break d}tj(a,c)}Ce=g- -64|0;return c}function tI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=I((g|0)/2|0,6);a:{if(g>>>0<8){break a}d=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+h|0;f=c+g|0;if(g&8){c=e-16|0;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;G[e-20>>2]=G[f-4>>2];e=e-24|0;f=f-8|0;G[e>>2]=G[f>>2];c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){d=e-16|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;G[e-20>>2]=G[f-4>>2];i=G[f-8>>2];d=e-40|0;C[d>>2]=0;C[d+4>>2]=0;G[e-24>>2]=i;C[d+8>>2]=0;C[d+12>>2]=0;G[e-44>>2]=G[f-12>>2];e=e-48|0;f=f-16|0;G[e>>2]=G[f>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function OE(a){a=a|0;var 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=C[a+28>>2];e=b-1|0;C[a+28>>2]=e;m=(C[a+4>>2]<<16)/C[a+24>>2]|0;n=(C[a+8>>2]<<16)/(b|0)|0;if(b){o=(m|0)/2|0;k=(n|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];while(1){g=C[a+24>>2];if(g){q=k>>>16|0;r=C[a>>2];e=f;l=o;while(1){b=C[(I(C[a+12>>2],q)+r|0)+(l>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;g=g-1|0;c=C[e>>2];b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(p|0){case 0:c=h;d=i;b=j;break a;case 1:c=c+h|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;b=(I(b,j)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(c,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[e>>2]=d<<8|c<<16|b;e=e+4|0;l=l+m|0;if(g){continue}break}e=C[a+28>>2]}b=e;e=b-1|0;C[a+28>>2]=e;k=k+n|0;f=C[a+32>>2]+f|0;if(b){continue}break}C[a+20>>2]=f}}function JH(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=J(0),g=0,h=0,i=J(0),j=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(g>>>0>=28){h=(g>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=G[c+16>>2];i=G[c+24>>2];j=G[c+20>>2];f=J(G[c+8>>2]*J(.3409999907016754));G[d>>2]=J(j*J(.17599999904632568))+J(J(G[c>>2]*J(.4830000102519989))+f);G[d+4>>2]=J(i*J(.17599999904632568))+J(J(G[c+4>>2]*J(.4830000102519989))+f);f=G[c+12>>2];e=J(e*J(.3409999907016754));G[d+16>>2]=e+J(i*J(.4490000009536743));G[d+12>>2]=e+J(j*J(.4490000009536743));G[d+8>>2]=f;d=d+20|0;c=c+28|0;h=h-1|0;if(h){continue}break}}c=I((g|0)/7|0,5);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function DE(a){a=a|0;var 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=C[a+28>>2];e=b-1|0;C[a+28>>2]=e;m=(C[a+4>>2]<<16)/C[a+24>>2]|0;n=(C[a+8>>2]<<16)/(b|0)|0;if(b){o=(m|0)/2|0;k=(n|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];while(1){g=C[a+24>>2];if(g){q=k>>>16|0;r=C[a>>2];e=f;l=o;while(1){b=C[(I(C[a+12>>2],q)+r|0)+(l>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;g=g-1|0;c=C[e>>2];b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(p|0){case 0:b=j;d=i;c=h;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0}C[e>>2]=d<<8|b|c<<16;e=e+4|0;l=l+m|0;if(g){continue}break}e=C[a+28>>2]}b=e;e=b-1|0;C[a+28>>2]=e;k=k+n|0;f=C[a+32>>2]+f|0;if(b){continue}break}C[a+20>>2]=f}}function HI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(f>>>0<8){break a}e=f>>>3|0;i=e-1|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);g=e&3;b:{if(!g){c=d;break b}c=d;while(1){G[c>>2]=J(G[d>>2]*J(.5))+J(G[d+4>>2]*J(.5));c=c+4|0;d=d+8|0;e=e-1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(i>>>0<3){break a}while(1){G[c>>2]=J(G[d>>2]*J(.5))+J(G[d+4>>2]*J(.5));G[c+4>>2]=J(G[d+8>>2]*J(.5))+J(G[d+12>>2]*J(.5));G[c+8>>2]=J(G[d+16>>2]*J(.5))+J(G[d+20>>2]*J(.5));G[c+12>>2]=J(G[d+24>>2]*J(.5))+J(G[d+28>>2]*J(.5));c=c+16|0;d=d+32|0;e=e-4|0;if(e){continue}break}}c=(f|0)/2|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function IH(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0),i=J(0),j=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=28){g=(f>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=G[c+16>>2];h=G[c+24>>2];i=G[c+20>>2];G[d>>2]=J(G[c>>2]*J(.6110000014305115))+J(i*J(.22300000488758087));G[d+4>>2]=J(G[c+4>>2]*J(.6110000014305115))+J(h*J(.22300000488758087));G[d+8>>2]=G[c+8>>2]*J(.6110000014305115);j=G[c+12>>2];e=J(e*J(.4320000112056732));G[d+20>>2]=e+J(h*J(.5680000185966492));G[d+16>>2]=e+J(i*J(.5680000185966492));G[d+12>>2]=j;d=d+24|0;c=c+28|0;g=g-1|0;if(g){continue}break}}c=I((f|0)/7|0,6);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function AH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];G[d>>2]=J(G[c>>2]*J(.5180000066757202))+J(h*J(.1889999955892563));G[d+4>>2]=J(G[c+4>>2]*J(.5180000066757202))+J(g*J(.1889999955892563));G[d+8>>2]=G[c+8>>2]*J(.5180000066757202);G[d+12>>2]=G[c+12>>2];G[d+16>>2]=J(G[c+16>>2]*J(.5180000066757202))+J(h*J(.4819999933242798));G[d+20>>2]=J(G[c+20>>2]*J(.5180000066757202))+J(g*J(.4819999933242798));d=d+24|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,6);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function hK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-336|0;Ce=d;i=C[a+100>>2];Fe[C[b+60>>2]](b,d+272|0,4,d+268|0);f=C[d+268>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-5>>>0<4294967292){break a}j=C[b+8>>2];k=C[b>>2];c=km(a,0,f);C[d+332>>2]=c;if(c){break a}if(C[d+268>>2]>0){f=C[a+528>>2]+88|0;while(1){a=I(g,12);c=a+(d+272|0)|0;C[b>>2]=C[c>>2];C[b+8>>2]=C[c+4>>2];Fe[C[b+60>>2]](b,d+16|0,20,d+12|0);c=C[d+12>>2];if(c-21>>>0<4294967276){c=3;break a}a=a+f|0;e=Ve(i,4,0,c<<1,0,d+332|0);C[a+4>>2]=e;c=C[d+332>>2];if(c){break a}c=C[d+12>>2];C[a+8>>2]=e+(c<<2);A[a|0]=c;if((c|0)>0){c=0;while(1){e=(d+16|0)+I(c,12)|0;C[b>>2]=C[e>>2]+1;C[b+8>>2]=C[e+4>>2]-1;e=Fe[C[b+36>>2]](b)|0;h=c<<2;C[h+C[a+4>>2]>>2]=e;e=Fe[C[b+40>>2]](b,0)|0;C[C[a+8>>2]+h>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}g=C[d+332>>2]}C[b+8>>2]=j;C[b>>2]=k;c=g}C[b+12>>2]=c;Ce=d+336|0}function cv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=C[a+16>>2];i=D[e+6|0]<<8|D[e+7|0]&254;a:{if(!i){break a}f=C[b>>2]+((c|0)!=0)|0;if(f>>>0>65535){break a}d=i>>>1|0;m=d>>>0<=1?1:d;n=d-1|0;o=e+14|0;p=(e+i|0)+16|0;b:{while(1){k=0;j=p;d=o;c:{while(1){d:{e=d+2|0;e:{l=D[j+1|0]|D[j|0]<<8;if(l>>>0>f>>>0){d=e;break e}g=D[d|0];h=D[d+1|0];d=e;e=h|g<<8;if(e>>>0>>0){break e}h=j+i|0;d=h+i|0;g=D[d|0]<<8|D[d+1|0];f:{g:{h:{if((l|0)!=65535|k>>>0>>0|(e|0)!=65535){break h}if(!g){break g}e=C[a>>2];if((d+g|0)+2>>>0<=C[e+500>>2]+C[e+504>>2]>>>0){break h}d=1;break f}if((g|0)==65535){break e}if(!g){break g}d=(g+(f-l<<1)|0)+d|0;d=D[d|0]<<8|D[d+1|0];if(!d){break d}d=d+(D[h+1|0]|D[h|0]<<8)&65535;break c}d=D[h+1|0]|D[h|0]<<8}d=d+f&65535;break c}j=j+2|0;k=k+1|0;if((m|0)!=(k|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}C[b>>2]=f}return d} -function LJ(a){a=a|0;var b=0,c=0;if(a){c=C[a+100>>2];b=C[a+500>>2];if(b){wm(b)}b=C[a+132>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+136>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+144>>2]=0;b=C[a+148>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+148>>2]=0;b=C[a+428>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+428>>2]=0;b=C[a+424>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+424>>2]=0;b=C[a+420>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+420>>2]=0;b=C[a+396>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+396>>2]=0;b=C[a+400>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+400>>2]=0;b=C[a+384>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+384>>2]=0;b=C[a+388>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+388>>2]=0;b=C[a+364>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+364>>2]=0;b=C[a+492>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+492>>2]=0;b=C[a+556>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+552>>2]=0;C[a+556>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0}}function _i(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0){break a}g=d-a|0;if(g>>>0<2){break a}e=C[b+12>>2];f=e-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=D[a|0]|D[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(g>>>0<6){break a}c=e-8|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-10|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+6|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=I((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function yN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=C[a+4>>2];j=0-h|0;l=c-1|0;g=j&h+l;i=d&j;b:{if((g|0)<=(i|0)){c=C[a>>2];d=g;break b}if((g|0)!=(h+i|0)){break a}h=i;c:{d:{e:{k=E[e+12>>1];m=k&7;switch(m|0){case 0:break c;case 4:break d;case 1:case 5:break e;default:break a}}if(!(C[e+28>>2]!=(f|0)|C[e+16>>2]>0)&(!(k&16)|C[a+8>>2]>(d-c|0))|!(C[f+28>>2]!=(e|0)|C[e+20>>2]!=(b|0))&(!(k&32)|C[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}}h=C[a+8>>2]+((d+l|0)/2|0)&j}c=C[a>>2];f=C[a+112>>2];d=g;d=(h|0)>=0?F[a+104>>2]>h>>>c>>>0?h:i:d;g=((g|0)==(d|0)?i:g)>>c;e=(C[a+60>>2]+(b>>3)|0)-I(f,g)|0;e=(f|0)>0?I(f,C[a+104>>2]-1|0)+e|0:e;if((g|0)<0|g>>>0>=F[a+104>>2]){break b}if(D[e|0]&128>>>(b&7)){break a}}c=d>>c;if((c|0)<0){break a}d=C[a+104>>2];if(d>>>0<=c>>>0){break a}e=C[a+60>>2]+(b>>3)|0;a=C[a+112>>2];a=(e-I(a,c)|0)+((a|0)>0?I(a,d-1|0):0)|0;A[a|0]=D[a|0]|128>>>(b&7)}}function Fj(a){var b=0,c=0,d=0,e=0;e=Ce-16|0;Ce=e;a:{if(!(C[a>>2]==422390?a:0)){C[e>>2]=16603;Qe(19745,e);break a}b=C[a+36>>2];b:{if(C[b+412>>2]==(a|0)){Dn(b,0);break b}if(C[a+76>>2]!=C[b+448>>2]){break b}c=C[b+436>>2];if(!c){break b}Fe[C[b+52>>2]](b,c,C[b+536>>2],C[b+540>>2])|0;c=C[b+440>>2];if(c){C[c+24>>2]=C[b+444>>2];C[b+444>>2]=C[b+436>>2];C[b+436>>2]=0;C[b+440>>2]=0}C[b+540>>2]=0;C[b+532>>2]=0;C[b+524>>2]=0;C[b+528>>2]=0;C[b+448>>2]=C[b+448>>2]+1}C[a>>2]=0;c=C[a+92>>2];if(c){C[c+88>>2]=C[a+88>>2]}d=C[a+88>>2];c:{if(d){C[d+92>>2]=c;break c}C[b+408>>2]=c}c=C[a+40>>2];if(c){Fj(c)}c=C[a+44>>2];if(c){d=C[c+16>>2];if(d){d=C[d-4>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}}Nf(C[c+40>>2]);Nf(C[c+44>>2]);if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}}c=C[a+48>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}Fe[C[b+92>>2]](b,a);Nf(C[a+72>>2]);C[a+72>>2]=0;if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}Ce=e+16|0}function cp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-16|0;Ce=e;Vf(e+8|0,C[a+60>>2],b+5898240|0);C[e>>2]=C[e+8>>2]+C[a+8>>2];C[e+4>>2]=C[e+12>>2]+C[a+12>>2];h=a- -64|0;d=C[a+84>>2];a:{if((d|0)<0){break a}i=C[h>>2];if(i>>>0<=d+1>>>0){C[h>>2]=d;break a}f=i-1|0;C[a+64>>2]=f;g=C[a+72>>2];j=g+(d<<3)|0;f=g+(f<<3)|0;g=C[f+4>>2];C[j>>2]=C[f>>2];C[j+4>>2]=g;d=d+C[a+76>>2]|0;A[d|0]=D[d|0]|4;d=(i+C[a+76>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[a+84>>2]=C[a+64>>2];A[a+80|0]=0;d=ig(h,e,0);if(!d){C[e>>2]=C[a+8>>2]-C[e+8>>2];C[e+4>>2]=C[a+12>>2]-C[e+12>>2];h=a+96|0;d=C[a+116>>2];b:{if((d|0)<0){break b}i=C[h>>2];if(i>>>0<=d+1>>>0){C[h>>2]=d;break b}f=i-1|0;C[a+96>>2]=f;g=C[a+104>>2];j=g+(d<<3)|0;f=g+(f<<3)|0;g=C[f+4>>2];C[j>>2]=C[f>>2];C[j+4>>2]=g;d=d+C[a+108>>2]|0;A[d|0]=D[d|0]|4;d=(i+C[a+108>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[a+116>>2]=C[a+96>>2];A[a+112|0]=0;d=ig(h,e,0);C[a+36>>2]=c;A[a+20|0]=0;C[a+24>>2]=b}Ce=e+16|0;return d}function Vq(a){var b=0,c=0,d=0;a:{b:{c:{if(a>>>0<=65535){d:{e:{f:{g:{h:{i:{j:{k:{l:{b=a>>>8|0;switch(b|0){case 6:break i;case 3:break j;case 0:break k;case 1:case 2:case 4:case 5: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 25:case 26:case 27:case 28:case 29:case 30:case 31:break b;case 32:break f;case 24:break g;case 23:break h;default:break l}}switch(b-254|0){case 1:break d;case 0:break e;default:break b}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}c=a-8203|0;if(c>>>0<36){break c}break a}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}m:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break m}else{break b}}return a-119155>>>0<8}return(a&-4096)==917504}d=1;b=c&31;if(!(((c&63)>>>0>=32?15>>>b|0:((1<>>b)&1)){break a}}return d}return(a&-16)==8288}function Nj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=J(0);a:{if(!a){break a}e=C[a+12>>2];if((e|0)<=0){break a}while(1){c=C[a+16>>2]+(h<<5)|0;if(!(C[c+16>>2]!=2|C[c+20>>2]!=(b|0))){d=0;b:{c:{d:{switch(C[c>>2]-1|0){case 1:e=bt(C[a>>2],C[c+4>>2]);f=C[c+8>>2];g=C[c+12>>2];e:{if((f|0)<(g|0)){if((e|0)<(f|0)){break b}if((e|0)<=(g|0)){break e}break b}if((e|0)<(g|0)|(e|0)>(f|0)){break b}}d=C[c+24>>2];i=C[c+28>>2];if(!((d|0)!=(f|0)|(i|0)!=(g|0))){d=e;break b}j=J(J(J(e-f|0)/J(g-f|0))*J(i-d|0));if(J(K(j))>2],C[c+4>>2]);if((d|0)==1){break c}break b;case 2:break d;default:break b}}if(!(at(C[a>>2],C[c+4>>2])&C[c+8>>2])){break b}}d=C[c+28>>2]}f:{if(!d){break f}e=C[c+24>>2];c=C[c+28>>2];if((((c|0)>(e|0)?e:c)|0)>(d|0)){break f}if((((c|0)<(e|0)?e:c)|0)>=(d|0)){break a}}e=C[a+12>>2]}h=h+1|0;if((h|0)<(e|0)){continue}break}d=0}return d<<16>>16}function mj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;ug(a,C[a+8>>2]);c=C[a>>2];C[d+12>>2]=c;f=C[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=D[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}C[b>>2]=c;C[b+8>>2]=2;if(So(d+12|0,f)){break e}break d}C[b>>2]=c;C[b+8>>2]=3;if(!Dv(d+12|0,f)){break d}break e}C[b>>2]=c;C[b+8>>2]=3;C[a>>2]=c+1;ug(a,f);c=C[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(C[a+12>>2]){break h}i:{j:{switch(D[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;C[d+12>>2]=c;C[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}To(a);ug(a,C[a+8>>2]);c=C[a>>2];if(f>>>0>c>>>0){continue}break}}C[d+12>>2]=c;break e}C[b>>2]=c;C[b+8>>2]=D[c|0]==47?4:1;To(a);c=C[a>>2];C[d+12>>2]=c;if(!C[a+12>>2]){break c}}c=C[b+4>>2];break b}c=C[d+12>>2]}C[b+4>>2]=c}if(c){break a}C[b+8>>2]=0;C[b>>2]=0}C[a>>2]=C[d+12>>2]}Ce=d+16|0}function UF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+24>>2];j=C[a+16>>2]+(d+((d+7|0)/-8|0)|0)|0;k=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];h=C[a+48>>2];a:{if(h){if(!f){break a}i=d&-2;l=d&1;while(1){f=f-1|0;b:{if((d|0)<=0){break b}e=0;a=0;g=0;if((d|0)!=1){while(1){if(!(e&6)){a=D[c|0];c=c+1|0}A[b|0]=D[h+((a&128)>>>7|0)|0];A[b+1|0]=D[h+(a>>>6&1)|0];e=e+2|0;a=a<<2;b=b+2|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(!l){break b}if(!(e&7)){a=D[c|0];c=c+1|0}A[b|0]=D[h+((a&128)>>>7|0)|0];b=b+1|0}b=b+k|0;c=c+j|0;if(f){continue}break}break a}if(!f){break a}h=d&-2;i=d&1;while(1){f=f-1|0;c:{if((d|0)<=0){break c}e=0;a=0;g=0;if((d|0)!=1){while(1){if(!(e&6)){a=D[c|0];c=c+1|0}A[b+1|0]=a>>>6&1;A[b|0]=(a&128)>>>7;e=e+2|0;a=a<<2;b=b+2|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(!i){break c}if(!(e&7)){a=D[c|0];c=c+1|0}A[b|0]=(a&128)>>>7;b=b+1|0}b=b+k|0;c=c+j|0;if(f){continue}break}}}function sz(a,b){var c=0,d=0,e=0;c=C[a+52>>2];a:{if((c|0)!=205712){if(F[a+216>>2]<=b>>>0){break a}b:{switch(D[c|0]){case 0:if(!b){break a}a=(c+(b<<1)|0)-1|0;a=D[a|0]|D[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b){break a}d=c+1|0;a=0;b=b-1|0;c=D[c+3|0];if(b>>>0>c>>>0){while(1){b=(c^-1)+b|0;a=a+1|0;c=D[(d+I(a,3)|0)+2|0];if(b>>>0>c>>>0){continue}break}}a=d+I(a,3)|0;a=D[a|0]|D[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b){break a}e=c+1|0;a=0;b=b-1|0;d=D[c+3|0]|D[c+4|0]<<8;c=(d<<8|d>>>8)&65535;if(b>>>0>c>>>0){while(1){b=(c^-1)+b|0;a=a+1|0;d=e+(a<<2)|0;d=D[d+2|0]|D[d+3|0]<<8;c=(d<<8|d>>>8)&65535;if(b>>>0>c>>>0){continue}break}}a=e+(a<<2)|0;a=D[a|0]|D[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0}c:{switch(C[a+172>>2]){case 0:return b>>>0<229?b:0;case 1:return b>>>0<=165?E[(b<<1)+156688>>1]:0;case 2:break c;default:break a}}d=b>>>0<=86?E[(b<<1)+157024>>1]:0}return d}function LH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=28){f=(e>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+24>>2];h=G[c+20>>2];i=J(G[c+16>>2]*J(.1889999955892563));j=J(G[c+8>>2]*J(.1889999955892563));G[d>>2]=J(g*J(.10899999737739563))+J(J(h*J(.24500000476837158))+J(i+J(J(G[c>>2]*J(.2680000066757202))+j)));G[d+4>>2]=J(g*J(.24500000476837158))+J(J(h*J(.10899999737739563))+J(i+J(J(G[c+4>>2]*J(.2680000066757202))+j)));G[d+8>>2]=G[c+12>>2];d=d+12|0;c=c+28|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/7|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Ei(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=D[C[(D[a+28|0]<<2)+381104>>2]+((C[a+12>>2]&67305985)>>>D[a+32|0]|0)|0];i=D[C[(D[a+29|0]<<2)+381104>>2]+((C[a+16>>2]&67305985)>>>D[a+33|0]|0)|0];j=D[C[(D[a+30|0]<<2)+381104>>2]+((C[a+20>>2]&67305985)>>>D[a+34|0]|0)|0];k=C[b+24>>2];a:{b:{l=C[a+24>>2];if(!l){if(!k){break b}h=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]|0;a=b+34|0;break a}if(!k){break b}h=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>2]+((l&67305985)>>>D[a+35|0]|0)|0]>>>D[b+31|0]|0;a=b+35|0;break a}h=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]|0;a=b+34|0}a=i<>>24|0;h=a>>>16&255;b=a>>>8&255;j=a&255;c:{if(!j){j=1;a=0;break c}if(!b){b=1;a=1;break c}if(!h){h=1;a=2;break c}a=a>>>0<16777216;i=a?1:i;a=a?3:0}C[c>>2]=j-1;C[d>>2]=b-1;C[e>>2]=h-1;C[f>>2]=i-1;if(g){C[g>>2]=a}}function aQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=C[a+28>>2];if(D[d+64|0]){break b}c=Aw(d,C[b>>2],C[b+4>>2]);if(!c){break b}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=c;return}c:{c=C[d+12>>2];if((B[c+22>>1]+B[c+58>>1]|0)+3>>>0<=F[c+4>>2]){break c}c=Qg(c,3,0);if(!c){break c}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=c;return}a=C[d+20>>2];d:{e:{f:{if(!D[d+65|0]){B[a+2>>1]=E[a+2>>1]+1;break f}c=C[a+8>>2];e=C[b+8>>2];f=B[a+2>>1];g=C[a+4>>2]+(f<<3)|0;C[g+4>>2]=C[b+12>>2]>>10;C[g>>2]=e>>10;A[c+f|0]=2;e=D[d+65|0];c=C[d+20>>2];B[a+2>>1]=E[a+2>>1]+1;if(e){break e}a=c}B[a+2>>1]=E[a+2>>1]+1;break d}a=C[c+8>>2];e=C[b+16>>2];f=B[c+2>>1];g=C[c+4>>2]+(f<<3)|0;C[g+4>>2]=C[b+20>>2]>>10;C[g>>2]=e>>10;A[a+f|0]=2;e=D[d+65|0];a=C[d+20>>2];B[c+2>>1]=E[c+2>>1]+1;if(!e){break d}c=C[a+8>>2];d=C[b+24>>2];e=B[a+2>>1];f=C[a+4>>2]+(e<<3)|0;C[f+4>>2]=C[b+28>>2]>>10;C[f>>2]=d>>10;A[c+e|0]=1}B[a+2>>1]=E[a+2>>1]+1}}function _u(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+16>>2];f=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!i){return 0}l=d+20|0;g=C[b>>2]+((c|0)!=0)|0;d=i;a:{b:{while(1){f=d+j>>>1|0;h=I(f,12)+l|0;e=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=h-4|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0<=g>>>0){if(g>>>0<=k>>>0){break b}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break a}d=h;d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=(g-e|0)+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}if(!c){return d}c:{if(g>>>0>k>>>0){c=0;f=f+1|0;if((i|0)==(f|0)){break c}}C[a+36>>2]=f;C[a+28>>2]=g;A[a+24|0]=1;d:{if(!d){Zu(a);c=0;if(!D[a+24|0]){break c}d=C[a+32>>2];if(!d){break c}g=C[a+28>>2];break d}C[a+32>>2]=d}c=d;C[b>>2]=g}return c}function iI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(f>>>0<16){break a}g=f>>>4|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b:{if(!(f&16)){e=d;c=g;break b}G[d>>2]=J(G[d+12>>2]*J(.25))+J(J(G[d+8>>2]*J(.25))+J(J(G[d>>2]*J(.25))+J(G[d+4>>2]*J(.25))));e=d+4|0;d=d+16|0;c=g-1|0}if((g|0)==1){break a}while(1){G[e>>2]=J(G[d+12>>2]*J(.25))+J(J(G[d+8>>2]*J(.25))+J(J(G[d>>2]*J(.25))+J(G[d+4>>2]*J(.25))));G[e+4>>2]=J(G[d+28>>2]*J(.25))+J(J(G[d+24>>2]*J(.25))+J(J(G[d+16>>2]*J(.25))+J(G[d+20>>2]*J(.25))));e=e+8|0;d=d+32|0;c=c-2|0;if(c){continue}break}}c=(f|0)/4|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Iv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-16|0;Ce=f;d=3;i=C[b+188>>2];a:{if(!i){break a}g=b+196|0;h=C[b+192>>2];while(1){if(C[h+(e<<4)>>2]==(c|0)){d=83;c=C[(h+(e<<4)|0)+12>>2];e=C[a+8>>2];if(c>>>0>>0){break a}if(lg(a,c-e|0)){break a}C[f+12>>2]=0;c=ch(a,f+12|0);d=C[f+12>>2];if(d){break a}i=c&-256;if((i|256)==256){b:{if(c&4){d=Ef(a,287296,g);C[f+12>>2]=d;if(d){break a}d=287424;break b}d=Ef(a,287360,g);C[f+12>>2]=d;if(d){break a}d=287456}e=b+216|0;d=Ef(a,d,e);C[f+12>>2]=d;if(d){break a}h=c&255;g=b+232|0;d=Uo(a,h,g);C[f+12>>2]=d;if(d){break a}c=b+248|0;if((i|0)==256){d=Uo(a,h,c);C[f+12>>2]=d;if(d){break a}d=Uo(a,h,b+264|0);break a}a=C[e+4>>2];C[c>>2]=C[e>>2];C[c+4>>2]=a;a=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=a;a=C[g+12>>2];C[b+272>>2]=C[g+8>>2];C[b+276>>2]=a;a=C[g+4>>2];C[b+264>>2]=C[g>>2];C[b+268>>2]=a}d=0;break a}e=e+1|0;if((i|0)!=(e|0)){continue}break}}Ce=f+16|0;return d}function Ij(a,b,c,d,e,f){var g=0,h=0,i=0;if(!(!a|(a&-268435456)==268435456)){Qe(20152,0);return 0}C[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;C[f>>2]=0;C[e>>2]=0;C[d>>2]=0;C[c>>2]=0;a:{b:{if((a|0)!=390076419){if((a|0)!=386930691){break b}C[c>>2]=255;C[d>>2]=65280;C[e>>2]=16711680;break a}C[c>>2]=16711680;C[d>>2]=65280;C[e>>2]=255;break a}if((a>>>24&15)-4>>>0<=2){b=(a>>>16&15)-1|0;if(b>>>0>=8){Qe(4953,0);return 0}g=b<<2;b=C[g+137120>>2];h=C[g+137088>>2];i=C[g+137056>>2];g=C[g+137024>>2];c:{switch((a>>>20&15)-1|0){case 1:C[c>>2]=b;C[d>>2]=h;C[e>>2]=i;break a;case 2:C[f>>2]=b;case 0:C[c>>2]=h;C[d>>2]=i;C[e>>2]=g;break a;case 3:C[c>>2]=b;C[d>>2]=h;C[e>>2]=i;C[f>>2]=g;break a;case 5:C[e>>2]=b;C[d>>2]=h;C[c>>2]=i;break a;case 7:C[e>>2]=b;C[d>>2]=h;C[c>>2]=i;C[f>>2]=g;break a;case 6:C[f>>2]=b;case 4:C[e>>2]=h;C[d>>2]=i;C[c>>2]=g;break a;default:break c}}Qe(4953,0);a=0}else{a=1}return a}return 1}function RO(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,k=0,l=0;g=Ce-16|0;Ce=g;C[g+12>>2]=0;i=C[c>>2];d=hf(i,24,g+12|0);e=C[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=D[a|0];A[d+4|0]=h;f=D[a+1|0]|D[a+2|0]<<8;B[d+6>>1]=f<<8|f>>>8;f=D[a+3|0];A[d+5|0]=f;k=C[c+148>>2];l=C[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;C[d+8>>2]=f;C[d+12>>2]=(e+l|0)-k;if(e+I(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);C[d+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=e+I(f,h-1|0)|0;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break c}C[d+16>>2]=D[a+5|0]|D[a+4|0]<<16;a=e+I(f,h-1|0)|0;a=D[a|0]<<16|D[a+1|0]}e=0;C[d>>2]=0;C[d+20>>2]=a;C[C[c+140>>2]>>2]=d;C[c+140>>2]=d;C[c+132>>2]=C[c+132>>2]+h;break a}if(d){Fe[C[i+8>>2]](i,d)}e=C[g+12>>2];break a}if(d){Fe[C[i+8>>2]](i,d)}e=8}Ce=g+16|0;return e|0}function zI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=I(h,6);a:{if(h>>>0<4){break a}d=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=e-16|0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;G[e-20>>2]=f;e=e-24|0;G[e>>2]=f;c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){f=G[g-4>>2];d=e-16|0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-20>>2]=f;G[e-24>>2]=f;g=g-8|0;f=G[g>>2];d=e-40|0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-44>>2]=f;e=e-48|0;G[e>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function sw(a,b,c){var d=0,e=0,f=0;d=E[b+74>>1];e=d<<16>>16;if((e|0)>=0){if(c>>>0>=4){wg(a,b,28725,c,3952);return}if(!(!(e&4)|E[b+72>>1]==(c|0))){wg(a,b,28725,c,6046);return}if(d&32){Wo(a,20433);return}a:{if(!(d&2)){break a}if(zm(94704,b+4|0,100)){break a}xg(a,28667,2)}b:{if(!(e&1)){break b}d=C[b>>2];c:{if(!d){break c}f=O(+(d|0)*1e5/45455+.5);if(!(f<=2147483647)|!(f>=-2147483648)){break c}if(K(f)<2147483648){d=~~f}else{d=-2147483648}if(d-95e3>>>0<10001){break b}}xg(a,28698,2)}B[b+72>>1]=c;a=C[23677];C[b+4>>2]=C[23676];C[b+8>>2]=a;a=C[23679];C[b+12>>2]=C[23678];C[b+16>>2]=a;a=C[23681];C[b+20>>2]=C[23680];C[b+24>>2]=a;a=C[23683];C[b+28>>2]=C[23682];C[b+32>>2]=a;a=C[23668];C[b+36>>2]=C[23667];C[b+40>>2]=a;a=C[23670];C[b+44>>2]=C[23669];C[b+48>>2]=a;a=C[23672];C[b+52>>2]=C[23671];C[b+56>>2]=a;a=C[23674];C[b+60>>2]=C[23673];C[b+64>>2]=a;C[b+68>>2]=C[23675];B[b+74>>1]=e|231;C[b>>2]=45455}}function hF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=C[a+28>>2];if(!e){break a}f=C[a+36>>2];g=C[a+16>>2];d=C[a+24>>2];h=d&7;i=(d+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];b:while(1){e=e-1|0;d=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:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=1;continue;case 1:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=2;continue;case 2:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=3;continue;case 3:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=4;continue;case 4:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=5;continue;case 5:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=6;continue;case 6:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=7;continue;default:break e}}C[a>>2]=C[b>>2];c=d-1|0;b=b+4|0;a=a+4|0;f:{if((d|0)>1){d=c;break f}a=a+f|0;b=b+g|0;if(e){continue b}break a}c=0;continue}}}}function TB(a,b){a=a|0;b=b|0;var c=0,d=0;c=Eg(28445);a:{if(!(!c|!D[c|0])){a=tk(a);break a}Ul(28445,b&4?29773:29920);a=tk(a);Ul(28445,34979)}if(!a){return 0}b=0;d=Ce-16|0;Ce=d;b:{if(!a){C[d>>2]=19555;Qe(19745,d);break b}b=If(1,552);if(!b){b=0;_e(0);break b}c=If(1,8);if(!c){a=C[b+548>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=0;_e(0);break b}C[c+4>>2]=a;C[c>>2]=a;C[b+80>>2]=516;C[b+76>>2]=517;C[b+72>>2]=518;C[b+68>>2]=519;C[b+56>>2]=520;C[b+16>>2]=521;C[b+8>>2]=522;C[b+4>>2]=523;C[b+96>>2]=524;C[b+92>>2]=525;C[b+88>>2]=526;C[b+84>>2]=527;C[b+52>>2]=528;C[b+48>>2]=529;C[b+44>>2]=530;C[b+40>>2]=531;C[b+36>>2]=532;C[b+32>>2]=533;C[b+28>>2]=533;C[b+24>>2]=534;C[b+20>>2]=534;jf(b+120|0,381232,84);C[b+548>>2]=c;if(C[c>>2]){break b}a=C[c+4>>2];C[c>>2]=a;if(a){break b}a=tk(C[b+204>>2]);if(!a){break b}C[c>>2]=a;C[c+4>>2]=a}Ce=d+16|0;return b|0}function Tk(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;C[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}f=C[a>>2];d=hf(f,40,e+12|0);a=C[e+12>>2];if(a){break a}C[d+28>>2]=f;b:{c:{d:{a=C[b>>2];e:{f:{if(a&1){g=C[b+4>>2];a=C[b+8>>2];C[d+32>>2]=0;C[d+8>>2]=0;C[d+4>>2]=a;C[d>>2]=g;C[d+20>>2]=0;C[d+24>>2]=0;break f}if(a&4){a=40;g:{if(!d){break g}g=C[b+12>>2];C[d+16>>2]=g;C[d+8>>2]=0;C[d+12>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=0;h=iu(g,21803);a=1;if(!h){break g}lo(h,0,2);a=bu(h);g=Ee;if((g|0)>=0&a>>>0>=2147483648|(g|0)>0){C[105773]=61;a=-1}C[d+4>>2]=a;if(!a){po(h);a=81;break g}lo(h,0,0);C[d+24>>2]=914;C[d+20>>2]=915;C[d+12>>2]=h;a=0}C[e+12>>2]=a;C[d+16>>2]=C[b+12>>2];break e}if(!(a&2)|!C[b+16>>2]){break d}if(d){Fe[C[f+8>>2]](f,d)}d=C[b+16>>2]}a=C[e+12>>2]}if(a){break c}C[d+28>>2]=f;a=0;break b}C[e+12>>2]=6}if(d){Fe[C[f+8>>2]](f,d)}d=0;a=C[e+12>>2]}C[c>>2]=d}Ce=e+16|0;return a}function Yu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+16>>2];f=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!i){return 0}l=d+20|0;g=C[b>>2]+((c|0)!=0)|0;d=i;a:{b:{while(1){f=d+j>>>1|0;h=I(f,12)+l|0;e=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=h-4|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<=g>>>0){if(g>>>0<=k>>>0){break b}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break a}d=h;d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(!c){return d}c:{if(g>>>0>k>>>0){c=0;f=f+1|0;if((i|0)==(f|0)){break c}}C[a+36>>2]=f;C[a+28>>2]=g;A[a+24|0]=1;d:{if(!d){Xu(a);c=0;if(!D[a+24|0]){break c}d=C[a+32>>2];if(!d){break c}g=C[a+28>>2];break d}C[a+32>>2]=d}c=d;C[b>>2]=g}return c}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,j=0,k=0;j=3;a:{if((d|e)<0){break a}f=C[a+8>>2];h=C[a+12>>2];i=E[h+2>>1];if(F[f+4>>2]>>0){break a}g=E[h>>1];if(F[f>>2]>>0){break a}h=I(i,D[a+18|0]);if(I(h+7>>>3|0,g)+b>>>0>c>>>0){break a}i=C[f+8>>2];c=C[f+12>>2]+(I(i,e)+(d>>>3|0)|0)|0;f=d&7;if(f){if(g){j=h>>>0<8;while(1){e=0;a=h;d=c;if(!j){while(1){e=D[b|0]|e;A[d|0]=D[d|0]|e>>>f;d=d+1|0;b=b+1|0;e=e<<8;k=(a|0)>15;a=a-8|0;if(k){continue}break}}if((a|0)>0){e=D[b|0]&65280>>>a|e;b=b+1|0}A[d|0]=D[d|0]|e>>>f;if((a+f|0)>=9){A[d+1|0]=D[d+1|0]|e<<8>>>f}c=c+i|0;a=(g|0)>1;g=g-1|0;if(a){continue}break}}return 0}j=0;if(!g){break a}e=h>>>0<8;while(1){a=h;d=c;if(!e){while(1){A[d|0]=D[b|0]|D[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)>0){A[d|0]=D[d|0]|D[b|0]&65280>>>a;b=b+1|0}c=c+i|0;a=(g|0)>1;g=g-1|0;if(a){continue}break}}return j|0}function Jf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=C[a+112>>2];d=C[a+116>>2];g=(b|d)!=0;f=b;c=C[a+4>>2];h=C[a+44>>2];b=c-h|0;i=b;e=b+C[a+120>>2]|0;b=C[a+124>>2]+(b>>31)|0;a:{b=e>>>0>>0?b+1|0:b;if(!(((b|0)>=(d|0)&e>>>0>=f>>>0|(b|0)>(d|0))&g)){d=Ce-16|0;Ce=d;c=-1;b:{if(no(a)){break b}if((Fe[C[a+32>>2]](a,d+15|0,1)|0)!=1){break b}c=D[d+15|0]}Ce=d+16|0;d=c;if((c|0)>=0){break a}h=C[a+44>>2];c=C[a+4>>2]}C[a+112>>2]=-1;C[a+116>>2]=-1;C[a+104>>2]=c;d=h-c|0;c=d+e|0;b=(d>>31)+b|0;C[a+120>>2]=c;C[a+124>>2]=c>>>0>>0?b+1|0:b;return-1}c=e+1|0;b=c?b:b+1|0;g=C[a+4>>2];h=C[a+8>>2];f=C[a+116>>2];i=f;e=C[a+112>>2];c:{if(!(f|e)){break c}f=e-c|0;e=i-(b+(c>>>0>e>>>0)|0)|0;j=h-g|0;i=j>>31;if((e|0)>=(i|0)&f>>>0>=j>>>0|(e|0)>(i|0)){break c}h=f+g|0}C[a+104>>2]=h;e=C[a+44>>2];f=e-g|0;c=f+c|0;b=(f>>31)+b|0;C[a+120>>2]=c;C[a+124>>2]=c>>>0>>0?b+1|0:b;if(e>>>0>=g>>>0){A[g-1|0]=d}return d}function Oq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=206108;d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}i=a+16|0;a=d-1|0;while(1){g=a+f>>>1|0;d=I(g,12)+i|0;h=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){f=g+1|0;break b}e=I(g,12)+i|0;break a}a=g-1|0}if((a|0)>=(f|0)){continue}break}}a=0;d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);c:{if(f>>>0>(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}d=b-f|0;b=D[e+8|0]|D[e+9|0]<<8|(D[e+10|0]<<16|D[e+11|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(!b){break c}C[c>>2]=b;a=1}return a}function GI(a,b){a=a|0;b=b|0;var c=0,d=J(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=f<<1;a:{if(f>>>0<4){break a}g=f>>>2|0;k=g-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);h=c+i|0;e=c+f|0;f=g&3;b:{if(!f){c=h;break b}while(1){c=h-8|0;e=e-4|0;d=G[e>>2];G[c>>2]=d;G[h-4>>2]=d;g=g-1|0;h=c;j=j+1|0;if((f|0)!=(j|0)){continue}break}}if(k>>>0<3){break a}while(1){d=G[e-4>>2];G[c-8>>2]=d;G[c-4>>2]=d;d=G[e-8>>2];G[c-16>>2]=d;G[c-12>>2]=d;d=G[e-12>>2];G[c-24>>2]=d;G[c-20>>2]=d;h=c-32|0;e=e-16|0;d=G[e>>2];G[h>>2]=d;G[c-28>>2]=d;c=h;g=g-4|0;if(g){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function mG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){n=d-2|0;o=d-1|0;p=(d|0)<4;while(1){f=d;k=a;a:{if(p){break a}h=o;f=h;i=a;g=a;j=d;b:{switch((a&3)-1|0){case 0:A[a|0]=c;i=a+1|0;h=n;case 1:A[i|0]=c;f=h-1|0;g=i+1|0;case 2:A[g|0]=c;k=g+1|0;j=f;if(f>>>0<4){break a}break;default:break b}}f=j>>>2|0;l=f+3>>>2|0;g=k;i=g;h=g;m=g;c:{d:{switch((f&3)-1|0){default:f=0;break c;case 0:f=3;break c;case 1:f=2;break c;case 2:break d}}f=1}while(1){e:{switch(f|0){case 0:C[g>>2]=c;i=g+4|0;f=1;continue;case 1:C[i>>2]=c;h=i+4|0;f=2;continue;case 2:C[h>>2]=c;m=h+4|0;f=3;continue;default:break e}}C[m>>2]=c;g=m+4|0;l=l-1|0;if(l){f=0;continue}else{f=j}break}}e=e-1|0;j=f&3;f:{if(!j){break f}f=(f&-4)+k|0;g:{switch(j-1|0){case 2:A[f|0]=c;f=f+1|0;case 1:A[f|0]=c;f=f+1|0;break;case 0:break g;default:break f}}A[f|0]=c}a=a+b|0;if(e){continue}break}}}function aS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=df(1,16);a:{if(!f){break a}d=C[a+44>>2];if((d|0)<=0){break a}e=C[a+48>>2];d=d-1|0;a=d;b:{while(1){b=a>>>1|0;if(!C[I(b,36)+e>>2]){a=C[(I(b,36)+e|0)+28>>2];break b}c=a>>>0>1;a=b-1|0;if(c){continue}break}a=0}C[f>>2]=a;b=0;a=d;c:{while(1){c=a+b>>>1|0;g=C[I(c,36)+e>>2];d:{if(g>>>0<=1818914159){b=C[(I(c,36)+e|0)+28>>2];if((g|0)==1818914159){break c}b=c+1|0;break d}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}C[f+4>>2]=b;b=0;a=d;e:{while(1){c=a+b>>>1|0;g=C[I(c,36)+e>>2];f:{if(g>>>0<=1986686319){b=C[(I(c,36)+e|0)+28>>2];if((g|0)==1986686319){break e}b=c+1|0;break f}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}C[f+8>>2]=b;a=0;g:{while(1){b=a+d>>>1|0;c=C[I(b,36)+e>>2];h:{if(c>>>0<=1953131887){a=C[(I(b,36)+e|0)+28>>2];if((c|0)==1953131887){break g}a=b+1|0;break h}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}C[f+12>>2]=a}return f|0}function Zp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>2147483646){break b}if(!c){return 1}if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=c<<1;if(g>>>0>>0){break b}e=C[b+12>>2]-e|0;C[b+12>>2]=e;if((e|0)<=0){break b}i=C[b+4>>2];j=C[d>>2];while(1){d=(h<<1)+a|0;if(d>>>0>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+j|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<4){break a}g=f-6|0;C[b+12>>2]=g;if((g|0)<=0){break a}f=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}c:{if(!f){break c}d=d+4|0;if(d>>>0>e>>>0){break a}e=e-d|0;d=f<<2;if(e>>>0>>0){break a}d=g-d|0;C[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return f}return 0}function Bt(a,b){var c=0,d=0,e=0,f=0,g=0;e=-2;a:{if(!a|!C[a+32>>2]){break a}d=C[a+36>>2];if(!d){break a}c=C[a+28>>2];if(!c|C[c>>2]!=(a|0)|C[c+4>>2]-16180>>>0>31){break a}b:{if((b|0)<0){if(b>>>0<4294967281){break a}b=0-b|0;break b}f=(b>>>4|0)+5|0;b=b>>>0<48?b&15:b}if(b?b-8>>>0>=8:0){break a}g=C[c+56>>2];c:{if(!(C[c+40>>2]!=(b|0)?g:0)){C[c+40>>2]=b;C[c+12>>2]=f;break c}Fe[d|0](C[a+40>>2],g);C[c+56>>2]=0;d=C[a+32>>2];C[c+40>>2]=b;C[c+12>>2]=f;if(!d){break a}}if(!C[a+36>>2]){break a}b=C[a+28>>2];if(!b|C[b>>2]!=(a|0)|C[b+4>>2]-16180>>>0>31){break a}e=0;C[b+52>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+32>>2]=0;C[a+8>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;c=C[b+12>>2];if(c){C[a+48>>2]=c&1}C[b+60>>2]=0;C[b+64>>2]=0;C[b+36>>2]=0;C[b+24>>2]=32768;C[b+16>>2]=0;C[b+20>>2]=-1;C[b+4>>2]=16180;C[b+8>>2]=0;C[b+7108>>2]=1;C[b+7112>>2]=-1;a=b+1332|0;C[b+112>>2]=a;C[b+84>>2]=a;C[b+80>>2]=a}return e}function sL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=C[a+532>>2];c=C[a+104>>2];d=C[a+100>>2];e=C[a+660>>2];if(e){Fe[e|0](C[a+656>>2])}if(b){Fe[C[b+12>>2]](a)}Wf(C[a+104>>2],a+700|0);C[a+696>>2]=0;e=C[a+104>>2];b=C[e+28>>2];f=C[a+720>>2];if(f){Fe[C[b+8>>2]](b,f)}C[a+720>>2]=0;Wf(e,a+704|0);b=C[a+648>>2];if(b){Fe[C[d+8>>2]](d,b)}C[a+644>>2]=0;C[a+648>>2]=0;Wf(c,a+632|0);Wf(c,a+640|0);C[a+636>>2]=0;C[a+628>>2]=0;b=C[a+676>>2];if(b){c=C[b+4>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+4>>2]=0;c=C[b+8>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+8>>2]=0;c=C[b+20>>2];if(c){if(C[b>>2]){e=0;while(1){f=e<<3;c=C[(f+c|0)+4>>2];if(c){Fe[C[d+8>>2]](d,c)}c=C[b+20>>2];C[(f+c|0)+4>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Fe[C[d+8>>2]](d,c)}C[b+20>>2]=0}c=C[b+28>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+28>>2]=0;c=C[b+36>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+36>>2]=0;if(b){Fe[C[d+8>>2]](d,b)}}C[a+676>>2]=0}}function UH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+20>>2];h=G[c+16>>2];i=J(G[c+12>>2]*J(.09090909361839294));j=J(G[c+8>>2]*J(.20818181335926056));G[d>>2]=J(g*J(.15454545617103577))+J(J(h*J(.2518181800842285))+J(i+J(J(G[c>>2]*J(.294545441865921))+j)));G[d+4>>2]=J(g*J(.2518181800842285))+J(J(h*J(.15454545617103577))+J(i+J(J(G[c+4>>2]*J(.294545441865921))+j)));d=d+8|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/6<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function TM(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>F[b+160>>2]){tf(b,8)}c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(!(c>>>0<16|c>>>0>C[b+160>>2]-a>>>0)&(c-16>>>0)/12>>>0>=h>>>0)){tf(b,8)}if(h){c=0;a=0;while(1){f=c;g=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>>0){tf(b,8)}if(!(!a|e>>>0>f>>>0)){tf(b,8)}a:{if(!C[b+164>>2]){break a}f=C[b+172>>2];e=c-e|0;if(f>>>0>=e>>>0&f-e>>>0>(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0){break a}tf(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function hl(a,b,c,d,e){C[a+8>>2]=c;C[a+4>>2]=b;C[a>>2]=0;c=C[c+16>>2];C[a+48>>2]=0;C[a+52>>2]=0;C[a+16>>2]=d;C[a+12>>2]=c;C[a+20>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;C[a+40>>2]=0;A[a+44|0]=0;C[a+64>>2]=205712;A[a+60|0]=0;C[a+56>>2]=65536;b=C[c+132>>2];a:{if(b){break a}while(1){d=C[c+48>>2];if(!d){b=205712;break a}b=df(1,4);if(!b){b=205712;C[c+132>>2]=205712;break a}Um(b,d);if(!C[c+132>>2]){C[c+132>>2]=b;break a}Ue(C[b>>2]);Re(b);b=C[c+132>>2];if(!b){continue}break}}b=C[b>>2];b=b?b:205712;c=C[b+12>>2];b=C[b+16>>2];C[a+72>>2]=0;C[a+68>>2]=b>>>0<12?205712:c;b:{if(!e){break b}b=C[e>>2];if(!b){break b}C[e>>2]=b+1}A[a+44|0]=0;c=e;C[a+52>>2]=c;d=C[a+12>>2];b=C[d+32>>2];if((b|0)==-1){b=Rg(d);c=C[a+52>>2]}A[a+60|0]=1;C[a+56>>2]=b;b=C[c+12>>2];C[a+24>>2]=b;c=C[c+16>>2];C[a+48>>2]=0;C[a+40>>2]=0;C[a+20>>2]=0;C[a+32>>2]=1073741823;C[a+28>>2]=b+c;return a}function qH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);e=b<<1;a:{if(b>>>0<2){break a}d=b>>>1|0;h=d-1|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b=f+b|0;c=e+f|0;f=d&3;if(f){while(1){c=c-4|0;b=b-2|0;G[c>>2]=J(B[b>>1])*J(30517578125e-15);d=d-1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}if(h>>>0<3){break a}while(1){G[c-4>>2]=J(B[b-2>>1])*J(30517578125e-15);G[c-8>>2]=J(B[b-4>>1])*J(30517578125e-15);G[c-12>>2]=J(B[b-6>>1])*J(30517578125e-15);c=c-16|0;b=b-8|0;G[c>>2]=J(B[b>>1])*J(30517578125e-15);d=d-4|0;if(d){continue}break}}A[a+24|0]=e;A[a+25|0]=e>>>8;A[a+26|0]=e>>>16;A[a+27|0]=e>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function ky(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;a:{if(F[b+4>>2]>a>>>0){break a}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=C[b+12>>2];d=e-4|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>f>>>0|f-d>>>0<2){break a}h=e-6|0;C[b+12>>2]=h;if((h|0)<=0){break a}e=D[d|0]|D[d+1|0]<<8;if(e){d=a+4|0;if(f>>>0>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=h-d|0;C[b+12>>2]=d;if((d|0)<=0){break a}}e=D[a|0]|D[a+1|0]<<8;b:{if(!e){break b}C[g+12>>2]=c?C[c>>2]:0;if(!jy(a,b,a,g+12|0)){break a}if(!c|(D[a|0]|D[a+1|0]<<8)|C[c>>2]!=1936292453){break b}d=C[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=C[b+28>>2];if(d>>>0>31){break b}C[b+28>>2]=d+1;if(!D[b+24|0]){break b}d=e<<8|(e&65280)>>>8;A[a|0]=d;A[a+1|0]=d>>>8;C[g+8>>2]=C[c>>2];if(!jy(a,b,a,g+8|0)){break a}}i=1}Ce=g+16|0;return i}function Lk(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;d=C[a+4>>2];g=C[C[d+128>>2]+48>>2];f=C[d+440>>2];C[a+1376>>2]=C[d+436>>2];C[a+1380>>2]=f;h=C[d+448>>2];f=a+1384|0;C[f>>2]=C[d+444>>2];C[f+4>>2]=h;f=C[d+456>>2];C[a+1392>>2]=C[d+452>>2];C[a+1396>>2]=f;a:{b:{if(!g){h=b<<2;f=C[h+C[d+424>>2]>>2];C[c>>2]=f;d=C[C[d+428>>2]+h>>2];C[c+4>>2]=d;break b}d=Fe[C[C[g>>2]>>2]](C[g+4>>2],b,c)|0;if(d){break a}d=C[c+4>>2];f=C[c>>2]}d=Fe[C[a+1484>>2]](a,f,d)|0;if(d|!g){break a}if(!C[C[g>>2]+8>>2]){d=0;break a}c=C[a+32>>2];C[e+4>>2]=0;C[e>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+40>>2];C[e+8>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+44>>2];C[e+12>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;d=Fe[C[C[g>>2]+8>>2]](C[g+4>>2],b,0,e)|0;C[a+32>>2]=C[e>>2]<<16;C[a+40>>2]=C[e+8>>2]<<16;C[a+44>>2]=C[e+12>>2]<<16}Ce=e+16|0;return d}function Sv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ce-32|0;Ce=c;i=C[a+60>>2];d=gg(C[a>>2],C[a+4>>2]);f=(C[a>>2]+I(b,-11796480)|0)+5898240|0;Vf(c+24|0,i,f);C[c+24>>2]=C[c+24>>2]+C[a+8>>2];C[c+28>>2]=C[c+28>>2]+C[a+12>>2];j=(a- -64|0)+(b<<5)|0;b=(d|0)==11796480?I(b,23592960)-11796480|0:d;a:{if(!b){break a}k=(b|0)>=0?5898240:-5898240;while(1){g=c+16|0;d=(b|0)<=-5898240?-5898240:b;h=(d|0)>=5898240?5898240:d;d=h+f|0;Vf(g,i,d);C[c+16>>2]=C[c+16>>2]+C[a+8>>2];C[c+20>>2]=C[c+20>>2]+C[a+12>>2];l=c+8|0;e=h>>31;e=(e^h)-e>>>1|0;e=of(i,$j(e)<<2,I(ak(e),3)+196608|0);Vf(l,e,f+k|0);C[c+8>>2]=C[c+8>>2]+C[c+24>>2];C[c+12>>2]=C[c+12>>2]+C[c+28>>2];Vf(c,e,d-k|0);C[c>>2]=C[c>>2]+C[c+16>>2];C[c+4>>2]=C[c+4>>2]+C[c+20>>2];g=ap(j,l,c,g);if(g){break a}f=C[c+20>>2];C[c+24>>2]=C[c+16>>2];C[c+28>>2]=f;f=d;b=b-h|0;if(b){continue}break}g=0}A[j+16|0]=0;Ce=c+32|0;return g}function Fl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-32|0;Ce=b;a:{if(!(C[a>>2]==422390?a:0)){C[b>>2]=16603;Qe(19745,b);break a}if(C[a+8>>2]!=1){break a}c=C[a+40>>2];b:{if(C[a+44>>2]){C[b+28>>2]=0;C[b+24>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=C[a+12>>2];C[b+20>>2]=C[a+16>>2];if((Gl(c,b+8|0,b+28|0,b+24|0)|0)<0){break b}mn(C[a+44>>2],b+8|0,C[c+4>>2],C[b+16>>2],C[b+20>>2],C[b+28>>2],C[b+24>>2]);Fl(c);break b}if(c){C[b+8>>2]=0;C[b+28>>2]=0;f=a+56|0;d=C[a+4>>2];c:{if(!(!d|(d&-268435456)==268435456)){e=2;if((d|0)==844715353|(d|0)==1498831189){break c}e=(d|0)==1431918169?2:1;break c}e=d&255}g=C[a+60>>2];d=C[a+52>>2];h=C[a+48>>2];i=C[a+56>>2];if((Gl(c,f,b+8|0,b+28|0)|0)<0){break b}Bi(C[a- -64>>2],C[a+68>>2],C[a+4>>2],(I(d,g)+h|0)+I(e,i)|0,d,C[c+4>>2],C[b+8>>2],C[b+28>>2]);Fl(c);break b}c=C[a+36>>2];Fe[C[c+72>>2]](c,a)}Nf(C[a+72>>2]);C[a+72>>2]=0}Ce=b+32|0}function $i(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,o=0;a:{k=C[b+4>>2];if(k>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<3){break a}c=C[b+12>>2]-3|0;C[b+12>>2]=c;d=1;b:{if(!(D[a|0]|D[a+1|0]<<8)&(c|0)>0){break b}d=C[b+12>>2]-3|0;C[b+12>>2]=d;if((d|0)<=0){break a}c=D[a+2|0];if((c-1&255)>>>0>3){break a}f=a+3|0;if(f>>>0>e>>>0){break a}a=D[a|0]|D[a+1|0]<<8;l=(a<<8|a>>>8)&65535;h=I(c,l+1|0);if(h>>>0>e-f>>>0){break a}i=d-h|0;C[b+12>>2]=i;d=0;if((i|0)<=0){break b}m=(c|0)==1;n=(c|0)==2;o=(c|0)==3;a=0;while(1){d=a;g=I(a,c)+f|0;a=D[g|0];c:{if(m){break c}a=D[g+1|0]|a<<8;if(n){break c}a=D[g+2|0]|a<<8;if(o){break c}a=D[g+3|0]|a<<8}j=a>>>0>j>>>0?a:j;a=d+1|0;if((d|0)!=(l|0)){continue}break}a=j-1|0;if(!a){return 1}d=0;if((a|0)<0){break b}c=f+h|0;if(c>>>0>>0|c>>>0>e>>>0|a>>>0>e-c>>>0){break b}a=i-a|0;C[b+12>>2]=a;d=(a|0)>0}return d}return 0}function Uy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-48|0;Ce=d;i=C[a+456>>2];Mg(a,d+32|0,-1,-1);a:{if((Ee|0)<0){break a}h=a+120|0;e=-1;while(1){if(D[C[d+32>>2]+5|0]&2){break a}b:{c=C[d+32>>2];if((D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24))!=(i|0)){break b}gi(h,d+32|0);while(1){c=zh(h,d);if(c){if((c|0)<=0){continue}c=lq(b,d);if((c|0)<0){continue}e=(e|0)!=-1?c+e>>2:0;g=e+g|0;f=(e>>31)+f|0;f=e>>>0>g>>>0?f+1|0:f;e=c;continue}break}c=C[d+32>>2];if(((D[c+6|0]|D[c+7|0]<<8|(D[c+8|0]<<16|D[c+9|0]<<24))&(D[c+10|0]|D[c+11|0]<<8|(D[c+12|0]<<16|D[c+13|0]<<24)))==-1){break b}b=C[d+32>>2];e=D[b+6|0]|D[b+7|0]<<8|(D[b+8|0]<<16|D[b+9|0]<<24);a=g;g=e-a|0;f=(D[b+10|0]|D[b+11|0]<<8|(D[b+12|0]<<16|D[b+13|0]<<24))-(f+(a>>>0>e>>>0)|0)|0;break a}Mg(a,d+32|0,-1,-1);c=Ee;if((c|0)>0|(c|0)>=0){continue}break}}Ce=d+48|0;a=!!g&(f|0)>=0|(f|0)>0;b=a?g:0;Ee=a?f:0;return b}function Cf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(D[b|0]){g=H[b+8>>3];break a}A[b|0]=1;g=H[b+8>>3];f=H[a+128>>3];if(g>f){H[b+8>>3]=f;g=f;f=H[a+128>>3]}if(f>H[b+24>>3]){H[b+24>>3]=f}f=H[a+136>>3];if(f>3]){H[b+16>>3]=f;f=H[a+136>>3]}if(!(H[b+32>>3]>3]=f}f=H[c>>3];if(g>f){H[b+8>>3]=f;g=f;f=H[c>>3]}h=H[b+24>>3];if(f>h){H[b+24>>3]=f;h=f}i=H[b+16>>3];f=H[c+8>>3];if(i>f){H[b+16>>3]=f;i=f;f=H[c+8>>3]}j=H[b+32>>3];if(f>j){H[b+32>>3]=f;j=f}f=H[d>>3];if(f>3]=f;f=H[d>>3]}if(f>h){H[b+24>>3]=f}g=H[d+8>>3];if(i>g){H[b+16>>3]=g;g=H[d+8>>3]}if(g>j){H[b+32>>3]=g}c=C[e+4>>2];C[a+128>>2]=C[e>>2];C[a+132>>2]=c;c=C[e+12>>2];C[a+136>>2]=C[e+8>>2];C[a+140>>2]=c;g=H[a+128>>3];if(g>3]){H[b+8>>3]=g;g=H[a+128>>3]}if(H[b+24>>3]>3]=g}g=H[a+136>>3];if(g>3]){H[b+16>>3]=g;g=H[a+136>>3]}if(H[b+32>>3]>3]=g}}function ui(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=J(0);e=D[a+8|0]|D[a+9|0]<<8;a:{if(!e){break a}g=D[a+6|0]|D[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=I(j,h)+k|0;f=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=D[a+10|0]|D[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=205712}b=D[a+6|0]|D[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=D[e+5|0]|D[e+4|0]<<8;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);f=b?b+a|0:205712;b=a;a=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);l=ll(f,D[e+7|0]|D[e+6|0]<<8,c,d,a?b+a|0:205712)}return l}function AI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=I(h,5);a:{if(h>>>0<4){break a}e=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];C[d-4>>2]=0;c=d-12|0;C[c>>2]=0;C[c+4>>2]=0;G[d-16>>2]=f;d=d-20|0;G[d>>2]=f;c=e-1|0}else{c=e}if((e|0)==1){break a}while(1){f=G[g-4>>2];C[d-4>>2]=0;e=d-12|0;C[e>>2]=0;C[e+4>>2]=0;G[d-16>>2]=f;G[d-20>>2]=f;g=g-8|0;f=G[g>>2];e=d-32|0;C[e>>2]=0;C[e+4>>2]=0;C[d-24>>2]=0;G[d-36>>2]=f;d=d-40|0;G[d>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function mR(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:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(I(b,588)+I(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;h=C[(e<<2)+263472>>2];g=h&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=g>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&16383;break c}a=c>>>11|0;h=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{g=b+c>>>1|0;f=(g<<3)+266032|0;a=C[f>>2];f=C[f+4>>2]&2147483647;i=a&-2097152;h:{if((f|0)==(e|0)&i>>>0>h>>>0|e>>>0>>0){b=g-1|0;break h}if((e|0)==(f|0)&h>>>0<=i>>>0|e>>>0>>0){break g}c=g+1|0}if((b|0)>=(c|0)){continue}break b}break}b=a&2097151}if(b){break a}}return 0}C[d>>2]=b;return 1}function Go(a){var b=0,c=0,d=0,e=0,f=0,g=0;A[a+108|0]=0;b=C[a+16>>2];c=C[a+12>>2];C[a+44>>2]=c;C[a+48>>2]=b;b=C[a+24>>2];C[a+52>>2]=C[a+20>>2];C[a+56>>2]=b;b=C[a+32>>2];C[a+60>>2]=C[a+28>>2];C[a+64>>2]=b;C[a+68>>2]=C[a+36>>2];b=151;e=c&65535;a:{if(!e){break a}d=E[a+46>>1];if(!d){break a}b=C[a>>2];if(D[b+176|0]&8){f=a,g=Ze(e<<6,E[b+68>>1]),C[f+48>>2]=g;c=Ze(E[a+46>>1]<<6,E[b+68>>1]);C[a+52>>2]=c;f=a,g=Te(B[b+70>>1],c)+32&-64,C[f+56>>2]=g;f=a,g=Te(B[b+72>>1],C[a+52>>2])+32&-64,C[f+60>>2]=g;f=a- -64|0,g=Te(B[b+74>>1],C[a+52>>2])+32&-64,C[f>>2]=g;f=a,g=Te(B[b+76>>1],C[a+48>>2])+32&-64,C[f+68>>2]=g;d=E[a+46>>1];c=E[a+44>>1]}b=c&65535;b:{if(b>>>0>=d>>>0){B[a+80>>1]=c;C[a+72>>2]=65536;C[a+88>>2]=C[a+48>>2];c=Ze(d,b);break b}B[a+80>>1]=d;C[a+88>>2]=C[a+52>>2];f=a,g=Ze(b,d),C[f+72>>2]=g;c=65536}C[a+300>>2]=-1;A[a+108|0]=1;C[a+76>>2]=c;b=0}return b}function wy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=C[a+80>>2];if(k){l=C[a+100>>2];h=C[a+92>>2];while(1){a:{b:{f=I(e,20);c=f+h|0;if(Fe[b|0](c)|0){f=C[c+8>>2];c:{d:{e:{d=e+1|0;if(d>>>0>>0){if(C[(I(d,20)+h|0)+8>>2]!=(f|0)){break e}break a}if(g){break d}break b}if(!g){break c}}i=C[(I(g,20)+h|0)-12>>2];if(i>>>0<=f>>>0){break a}j=C[c+4>>2]&1;e=g;while(1){e=e-1|0;c=I(e,20)+h|0;if((i|0)!=C[c+8>>2]){break a}C[c+4>>2]=j|C[c+4>>2]&-2;C[c+8>>2]=f;if(e){continue}break}break a}eg(a,e,e+2|0);break b}if((e|0)!=(g|0)){j=C[c+4>>2];i=I(g,20);d=i+h|0;C[d>>2]=C[c>>2];C[d+4>>2]=j;C[d+16>>2]=C[c+16>>2];j=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=j;d=i+l|0;c=f+l|0;C[d+16>>2]=C[c+16>>2];f=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=f;f=C[c+4>>2];C[d>>2]=C[c>>2];C[d+4>>2]=f}g=g+1|0;d=e+1|0;break a}g=0}e=d;if((k|0)!=(d|0)){continue}break}}C[a+80>>2]=g}function SR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=df(1,8);a:{if(d){c=C[a+44>>2];b=0;b:{if((c|0)<=0){break b}e=C[a+48>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=C[I(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=C[(I(c,36)+e|0)+28>>2]}C[d>>2]=b;b=C[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=xx(a);C[d+4>>2]=a;if(a){break a}Re(d)}d=0}return d|0}function Ms(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-48|0;Ce=e;a:{if(!a){C[e>>2]=3486;Qe(19745,e);break a}g=C[a+8>>2];if(!g){break a}f=C[a+12>>2];if(!f){break a}i=C[a+20>>2];if(!i){Qe(19417,0);break a}if(!b){C[e+16>>2]=6239;Qe(19745,e+16|0);break a}h=C[a+4>>2];j=D[h+8|0];if(j>>>0<=7){b:{if(C[b>>2]|(c|0)!=1|(C[b+4>>2]|(g|0)!=C[b+8>>2])){break b}if((f|0)!=C[b+12>>2]|(j|0)!=4){break b}lf(i,(d<<4|d)&255,I(f,C[a+16>>2]));break a}Qe(5453,0);break a}f=265;c:{d:{switch(D[h+9|0]-1|0){case 1:d=d<<16|d;f=266;break c;case 3:f=267;break c;default:Qe(4974,0);break a;case 2:break c;case 0:break d}}d=d<<8|d;d=d<<16|d;f=268}if((c|0)<=0){break a}i=a+36|0;g=0;while(1){if(yg((g<<4)+b|0,i,e+32|0)){h=C[a+16>>2];Fe[f|0]((C[a+20>>2]+I(h,C[e+36>>2])|0)+I(C[e+32>>2],D[C[a+4>>2]+9|0])|0,h,d,C[e+40>>2],C[e+44>>2])}g=g+1|0;if((g|0)!=(c|0)){continue}break}}Ce=e+48|0}function TH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+20>>2];h=G[c+16>>2];i=J(G[c+8>>2]*J(.2290000021457672));G[d>>2]=J(g*J(.17000000178813934))+J(J(h*J(.2770000100135803))+J(J(G[c>>2]*J(.3240000009536743))+i));G[d+4>>2]=J(g*J(.2770000100135803))+J(J(h*J(.17000000178813934))+J(J(G[c+4>>2]*J(.3240000009536743))+i));G[d+8>>2]=G[c+12>>2];d=d+12|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/6|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Mj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ce-288|0;Ce=f;C[f+284>>2]=d;a:{if(!C[94502]|b>>>0>6){break a}d=C[105546];b:{c:{if(d){while(1){if(C[d>>2]==(a|0)){e=d+4|0;break c}d=C[d+8>>2];if(d){continue}break}}e=378004;d=1;d:{switch(a|0){case 2:e=378e3;break c;case 8:break b;case 0:break c;default:break d}}e=377996}d=C[e>>2]}if(b>>>0>>0){break a}if(!C[105545]){h=422180,i=dj(),C[h>>2]=i}d=C[f+284>>2];C[f+12>>2]=d;d=zl(f+16|0,256,c,d);if((d|0)<0){break a}e=f+16|0;if(d>>>0>=256){d=d+1|0;e=Fe[C[94503]](d>>>0<=1?1:d)|0;if(e){C[94507]=C[94507]+1}if(!e){break a}g=C[f+284>>2];C[f+12>>2]=g;d=zl(e,d,c,g)}e:{if((d|0)<=0){break e}c=d+e|0;g=c-1|0;if(D[g|0]!=10){break e}A[g|0]=0;if(d>>>0<2){break e}c=c-2|0;if(D[c|0]!=13){break e}A[c|0]=0}Fe[C[94502]](C[105547],a,b,e);if((f+16|0)==(e|0)){break a}if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}}Ce=f+288|0}function zS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=D[a+2|0]|D[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=205712}c=0;e=C[b+100>>2];e=zf(d,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((e|0)==-1){break a}d=D[a+4|0]|D[a+5|0]<<8;if(e>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}c=1;a=(e<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;e=(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;d=E[a+12>>1]&96;f=a+12|0,g=eh(C[b+108>>2],e)|d|16,B[f>>1]=g}a=C[b+100>>2];if(!$e(a,1,1)){break a}b=C[a+76>>2];b:{if(b>>>0>2]){c=C[a+92>>2]+I(b,20)|0;b=C[a+84>>2];d=C[a+96>>2];break b}d=C[a+96>>2];b=C[a+84>>2];c=b-1|0;c=d+I(b>>>0>=c>>>0?c:0,20)|0}b=I(b,20)+d|0;d=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;C[b>>2]=e;c=1;C[a+76>>2]=C[a+76>>2]+1;C[a+84>>2]=C[a+84>>2]+1}return c|0}function um(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){return 0}b=C[a>>2];a=C[a+4>>2];if(!b){b=a;a=a>>31;return(b^a)-a|0}c=b>>31;c=(c^b)-c|0;if(a){f=c;c=a>>31;i=f|(c^a)-c;h=L(i);j=h-2|0;a:{if(i>>>0<=1073741823){a=a<>c;b=b>>c}e=0-a|0;d=0-b|0;b:{if((a|0)>(b|0)){b=(a|0)>(d|0);c=b?d:e;b=b?a:d;break b}f=a;a=(a|0)<(d|0);c=a?b:f;b=a?e:b}a=1;d=1;while(1){e=a+b>>d;g=(c|0)>0;e=(g?0-e|0:e)+c|0;f=b;b=a+c>>d;b=f+(g?b:0-b|0)|0;g=a<<1;k=d+1|0;c=b+g>>k;f=(e|0)>0;c=e+(f?0-c|0:c)|0;e=e+g>>k;b=b+(f?e:0-e|0)|0;a=a<<2;d=d+2|0;if((d|0)!=23){continue}break}a=b>>31;c=(a^b)-a|0;d=c&65535;a=I(d,56281);e=c>>>16|0;c=a+I(e,23318)|0;g=c<<16;d=g+I(d,23318)|0;a=(((I(e,56281)+(c>>>16|0)|0)+((a>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(b|0)<0?0-a|0:a;if(i>>>0<=536870911){return a+(1<>j}c=a<<2-h}return c}function Ow(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=C[a+2984>>2]&4;f=64;a:{if(k){break a}f=(e|0)==1?55:49;if(!(!(A[b+12|0]&1)|!(A[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=C[c+4>>2];m=C[b+4>>2];i=Hm(a,e,l-m|0);b:{c:{d:{e:{n=(((l+m|0)/2|0)+d|0)+((i|0)/-2|0)|0;a=n&63;f:{if(!a){break f}g=i+n&63;if(!g){break f}d=64-a|0;if((f|0)>=(i|0)){if((g|0)>=(i|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!k){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}j=i&63;if(j>>>0>31){break e}if(d>>>0<=j>>>0){break f}if(g>>>0>j>>>0){break d}}a=(h|0)<=-14?-14:h;break b}j=64-f|0}e=d-j|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-j|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)<=-14?-14:d;a=(a|0)>=14?14:a}d=k?h:a;f=d+n|0;e=f+i|0;a=(l|0)>(m|0);C[b+8>>2]=a?f:e;C[c+8>>2]=a?e:f;return d}function PF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=C[a+24>>2];l=C[a+16>>2]+(e+((e+7|0)/-8|0)|0)|0;i=C[a+56>>2];m=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];g=C[a+48>>2];a:{if(g){if(!f){break a}k=(e|0)<=0;while(1){f=f-1|0;a=0;d=0;if(!k){while(1){if(!(d&7)){a=D[c|0];c=c+1|0}j=a>>>7&1;if((j|0)!=(i|0)){A[b|0]=D[g+j|0]}a=a<<1;b=b+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}b=b+m|0;c=c+l|0;if(f){continue}break}break a}if(!f){break a}k=e&-2;j=e&1;while(1){f=f-1|0;b:{if((e|0)<=0){break b}a=0;d=0;g=0;if((e|0)!=1){while(1){if(!(d&6)){a=D[c|0];c=c+1|0}h=a>>>7&1;if((h|0)!=(i|0)){A[b|0]=h}h=a>>>6&1;if((h|0)!=(i|0)){A[b+1|0]=h}d=d+2|0;a=a<<2;b=b+2|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(!j){break b}if(!(d&7)){a=D[c|0];c=c+1|0}a=a>>>7&1;if((a|0)!=(i|0)){A[b|0]=a}b=b+1|0}b=b+m|0;c=c+l|0;if(f){continue}break}}}function vS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=D[a+2|0]|D[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=205712}f=C[b+100>>2];c=zf(c,C[C[f+92>>2]+I(C[f+76>>2],20)>>2]);a:{if((c|0)==-1){break a}f=205712;d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=D[f|0]|D[f+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535;c=f+2|0;while(1){a=D[c|0]|D[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=205712}d=D[a|0]|D[a+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+a|0;d=i+2|0;e=D[d|0]|D[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=D[d|0]|D[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=D[e+2|0]|D[e+3|0]<<8;e=Rm(b,h,a+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,167640);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e|0}function PH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0),i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/6|0,7);if(d>>>0>=24){f=(d>>>0)/24|0;g=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=g+c|0;d=d+g|0;while(1){h=G[d-4>>2];i=G[d-8>>2];G[e-8>>2]=i*J(.7960000038146973);G[e-4>>2]=h*J(.7960000038146973);G[e-12>>2]=J(h*J(.5))+J(i*J(.5));G[e-16>>2]=G[d-12>>2];G[e-20>>2]=G[d-16>>2]*J(.9399999976158142);G[e-24>>2]=G[d-20>>2]*J(.9399999976158142);e=e-28|0;d=d-24|0;G[e>>2]=G[d>>2]*J(.9399999976158142);f=f-1|0;if(f){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function sl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=(a+1|0)/2|0;i=(d+1|0)/2|0;k=(f+1|0)/2|0;j=(b+1|0)/2|0;c=I(b,d)+c|0;d=I(b,f)+e|0;a:{if((c|0)!=(d|0)){f=c;break a}e=I(i,j)<<1;f=Fe[C[94503]](e>>>0<=1?1:e)|0;if(f){C[94507]=C[94507]+1}if(!f){return _e(0)}gf(f,c,e);l=f}if(b+2>>>0>=3){c=i-h|0;k=k-h<<1;e=I(i,j)+f|0;b=g?e:f;f=g?f:e;e=h&3;i=a+2>>>0<3;m=h-1>>>0<3;while(1){j=j-1|0;b:{if(i){break b}g=0;a=h;if(e){while(1){A[d|0]=D[b|0];A[d+1|0]=D[f|0];d=d+2|0;f=f+1|0;b=b+1|0;a=a-1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(m){break b}while(1){A[d|0]=D[b|0];A[d+1|0]=D[f|0];A[d+2|0]=D[b+1|0];A[d+3|0]=D[f+1|0];A[d+4|0]=D[b+2|0];A[d+5|0]=D[f+2|0];A[d+6|0]=D[b+3|0];A[d+7|0]=D[f+3|0];d=d+8|0;f=f+4|0;b=b+4|0;a=a-4|0;if(a){continue}break}}d=d+k|0;f=c+f|0;b=b+c|0;if(j){continue}break}}if(l){Fe[C[94506]](l);C[94507]=C[94507]-1}return 0}function rl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=(a+1|0)/2|0;j=(f+1|0)/2|0;k=(d+1|0)/2|0;i=(b+1|0)/2|0;c=I(b,d)+c|0;d=I(b,f)+e|0;a:{if((c|0)!=(d|0)){f=c;break a}e=I(i,k)<<1;f=Fe[C[94503]](e>>>0<=1?1:e)|0;if(f){C[94507]=C[94507]+1}if(!f){return _e(0)}gf(f,c,e);l=f}if(b+2>>>0>=3){c=j-h|0;k=k-h<<1;e=d+I(i,j)|0;b=g?e:d;d=g?d:e;g=h&3;j=a+2>>>0<3;m=h-1>>>0<3;while(1){i=i-1|0;b:{if(j){break b}e=0;a=h;if(g){while(1){A[b|0]=D[f|0];A[d|0]=D[f+1|0];d=d+1|0;f=f+2|0;b=b+1|0;a=a-1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(m){break b}while(1){A[b|0]=D[f|0];A[d|0]=D[f+1|0];A[b+1|0]=D[f+2|0];A[d+1|0]=D[f+3|0];A[b+2|0]=D[f+4|0];A[d+2|0]=D[f+5|0];A[b+3|0]=D[f+6|0];A[d+3|0]=D[f+7|0];d=d+4|0;f=f+8|0;b=b+4|0;a=a-4|0;if(a){continue}break}}d=c+d|0;b=b+c|0;f=f+k|0;if(i){continue}break}}if(l){Fe[C[94506]](l);C[94507]=C[94507]-1}return 0}function Mx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}f=C[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=C[b+12>>2];g=i-2|0;C[b+12>>2]=g;e=1;if((g|0)<=0){return 0}g=D[a|0]|D[a+1|0]<<8;a:{if(!g){break a}b:{c=((g<<8|g>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break b}d=C[d>>2];g=i-4|0;C[b+12>>2]=g;if((g|0)<=0){break b}e=D[c|0]|D[c+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0>=4294967295/(d>>>0)>>>0?d:0){break b}d=I(d,e);if(d>>>0>2147483646){break b}e=1;if(!d){break a}h=c+2|0;if(h>>>0>f>>>0){break b}e=f-h|0;f=d<<1;if(e>>>0>>0){break b}e=g-f|0;C[b+12>>2]=e;f=0;if((e|0)<=0){break b}while(1){if(!Qm(h+(f<<1)|0,b,c)){break b}e=1;f=f+1|0;if((d|0)!=(f|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;e=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;e=1}return e}function Un(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-16|0;Ce=g;a:{if(!a){C[g>>2]=16229;i=Qe(19745,g);break a}f=C[a+4>>2];if(f){k=C[f>>2]}if(!c){break a}l=C[a>>2];j=C[a+12>>2];while(1){b:{d=C[a+4>>2];c:{if(d){e=C[d>>2];if(j>>>0>e>>>0){break c}}d=C[a+8>>2];d:{if(d){C[a+8>>2]=C[d+8>>2];break d}d=C[a+12>>2]+12|0;d=Fe[C[94503]](d>>>0<=1?1:d)|0;if(d){C[94507]=C[94507]+1}if(!d){break b}}e=0;C[d+8>>2]=0;C[d>>2]=0;C[d+4>>2]=0;h=C[a+4>>2];C[(h?h+8|0:a)>>2]=d;C[a+4>>2]=d}h=(d+e|0)+12|0;e=j-e|0;e=c>>>0>>0?c:e;gf(h,b,e);C[d>>2]=e+C[d>>2];C[a+16>>2]=e+C[a+16>>2];b=b+e|0;c=c-e|0;if(c){continue}break a}break}e:{if(!f){d=C[a>>2];break e}C[f>>2]=k;d=C[f+8>>2];C[f+8>>2]=0}C[a+8>>2]=0;C[a+4>>2]=f;C[a>>2]=l;if(d){while(1){a=C[d+8>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}d=a;if(d){continue}break}}i=_e(0)}Ce=g+16|0;return i}function SB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=C[a+840>>2];Kf(b,C[a>>2],5);a:{if(C[a>>2]<=0){break a}e=-1;while(1){c=(d<<2)+a|0;Kf(b,C[c+4>>2],4);c=C[c+4>>2];e=(c|0)<(e|0)?e:c;d=d+1|0;if((d|0)>2]){continue}break}c=0;if((e|0)<0){break a}while(1){f=(c<<2)+a|0;Kf(b,C[f+128>>2]-1|0,3);Kf(b,C[f+192>>2],2);b:{if(C[f+192>>2]){Kf(b,C[f+256>>2],8);if(C[f+192>>2]==31){break b}}d=0;while(1){Kf(b,C[(((c<<5)+a|0)+(d<<2)|0)+320>>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}}Kf(b,C[a+832>>2]-1|0,2);c=g-1|0;Kf(b,tg(c),4);g=tg(c);f=C[a>>2];if((f|0)>0){e=0;d=0;c=0;while(1){c=C[((C[((e<<2)+a|0)+4>>2]<<2)+a|0)+128>>2]+c|0;if((c|0)>(d|0)){while(1){Kf(b,C[((d<<2)+a|0)+844>>2],g);d=d+1|0;if((c|0)!=(d|0)){continue}break}f=C[a>>2];d=c}e=e+1|0;if((f|0)>(e|0)){continue}break}}}function vI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=(g|0)/2<<2;a:{if(g>>>0<8){break a}f=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+h|0;e=c+g|0;if(g&8){c=d-8|0;C[c>>2]=0;C[c+4>>2]=0;G[d-12>>2]=G[e-4>>2];d=d-16|0;e=e-8|0;G[d>>2]=G[e>>2];c=f-1|0}else{c=f}if((f|0)==1){break a}while(1){f=d-8|0;C[f>>2]=0;C[f+4>>2]=0;G[d-12>>2]=G[e-4>>2];G[d-16>>2]=G[e-8>>2];f=d-24|0;C[f>>2]=0;C[f+4>>2]=0;G[d-28>>2]=G[e-12>>2];d=d-32|0;e=e-16|0;G[d>>2]=G[e>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function vE(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){n=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;b=C[h>>2];m=b>>>24|0;c=b&255;e=C[l>>2];j=e&255;d=b>>>8&255;b=b>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){case 0:m=255;b=j;d=k;c=e;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;d=d+k|0;d=d>>>0>=255?255:d;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,e)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,j)>>>0)/255|0;break a;case 7:break b;default:break a}}m=255;c=(I(c,e)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[h>>2]=d<<8|b<<16|c|m<<24;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(c){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function rH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);f=e<<2;a:{if(!e){break a}b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=b+e|0;d=b+f|0;g=e&3;b:{if(!g){b=e;break b}b=e;while(1){d=d-4|0;c=c-1|0;G[d>>2]=J(A[c|0])*J(.0078125);b=b-1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(e>>>0<4){break a}while(1){G[d-4>>2]=J(A[c-1|0])*J(.0078125);G[d-8>>2]=J(A[c-2|0])*J(.0078125);G[d-12>>2]=J(A[c-3|0])*J(.0078125);d=d-16|0;c=c-4|0;G[d>>2]=J(A[c|0])*J(.0078125);b=b-4|0;if(b){continue}break}}A[a+24|0]=f;A[a+25|0]=f>>>8;A[a+26|0]=f>>>16;A[a+27|0]=f>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function KE(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){n=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;b=C[h>>2];m=b>>>24|0;c=b&255;e=C[l>>2];j=e&255;d=b>>>8&255;b=b>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){case 0:m=255;b=e;d=k;c=j;break a;case 1:c=c+j|0;c=c>>>0>=255?255:c;d=d+k|0;d=d>>>0>=255?255:d;b=b+e|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,j)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,e)>>>0)/255|0;break a;case 7:break b;default:break a}}m=255;c=(I(c,j)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,e)>>>0)/255|0}C[h>>2]=d<<8|b<<16|c|m<<24;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(c){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function og(a,b){var c=0,d=0,e=0,f=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=C[b+12>>2];f=e-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=D[a|0]|D[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=I((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function of(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|(b|0)==(c|0))){e=a>>31|1;e=(b|0)<0?0-e|0:e;h=(c|0)<0?0-e|0:e;e=2147483647;a:{if(!c){break a}b:{d=b;b=b>>31;b=(d^b)-b|0;d=a;a=a>>31;f=(d^a)-a|0;a=c>>31;a=(a^c)-a|0;if(b+f>>>0<=129894-(a>>>17|0)>>>0){c=I(b,f)+(a>>>1|0)|0;break b}c=b>>>16|0;d=f>>>16|0;g=I(c,f&65535)+I(d,b&65535)|0;i=(g>>>16|0)+I(c,d)|0;d=a>>>1|0;b=I(b,f);c=d+b|0;d=(i+(c>>>0>>0)|0)+(b>>>0>>0)|0;if(!d){break b}if(a>>>0<=d>>>0){break a}b=L(d);f=32-b|0;d=c>>>f|d<>>0)/(a>>>0)|0;d=d-I(a,e)|0;c=c<>>31;f=d>>>0>=a>>>0;d=d-(f?a:0)|0;e=f|e<<1;f=b^31;c=c<<1}if((b|0)==31){break a}while(1){d=d<<1|c>>>31;b=d>>>0>=a>>>0;d=c>>>30&1|d-(b?a:0)<<1;g=d>>>0>=a>>>0;d=d-(g?a:0)|0;e=g|(e<<2|b<<1);c=c<<2;f=f-2|0;if(f){continue}break}break a}e=(c>>>0)/(a>>>0)|0}a=(h|0)<0?0-e|0:e}return a}function Ax(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=D[b+2|0]|D[b+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+b|0}else{c=205712}f=C[a+100>>2];c=zf(c,C[C[f+92>>2]+I(C[f+76>>2],20)>>2]);a:{if((c|0)==-1){break a}f=205712;d=D[b+4|0]|D[b+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+b|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+b|0}b=D[f|0]|D[f+1|0]<<8;if(!b){break a}g=(b<<8|b>>>8)&65535;c=f+2|0;while(1){b=D[c|0]|D[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=205712}d=D[b|0]|D[b+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+b|0;d=i+2|0;e=D[d|0]|D[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=D[d|0]|D[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=D[e+2|0]|D[e+3|0]<<8;e=Rm(a,h,b+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,167640);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e}function $H(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=20){f=(e>>>0)/20|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+16>>2];h=G[c+12>>2];i=J(G[c+8>>2]*J(.1111111119389534));G[d>>2]=J(g*J(.19555555284023285))+J(J(h*J(.3191111087799072))+J(J(G[c>>2]*J(.3742222189903259))+i));G[d+4>>2]=J(g*J(.3191111087799072))+J(J(h*J(.19555555284023285))+J(J(G[c+4>>2]*J(.3742222189903259))+i));d=d+8|0;c=c+20|0;f=f-1|0;if(f){continue}break}}c=(e|0)/5<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function yO(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 j=0;p(a,0,1500);j=Ti(C[b+96>>2],6758);if(!j){return 7}A[a+68|0]=1;C[a+64>>2]=0;C[a+1348>>2]=j;C[a+8>>2]=d;C[a+4>>2]=b;C[a>>2]=C[b+100>>2];a:{if(!d){break a}j=C[C[d+156>>2]>>2];C[a+12>>2]=j;C[a+20>>2]=j+56;C[a+16>>2]=j+20;Vi(j);c=C[c+40>>2];C[a+72>>2]=0;C[a+76>>2]=c;if(!g){break a}C[a+72>>2]=C[C[d+156>>2]+36>>2]}C[a+24>>2]=0;C[a+28>>2]=0;c=C[71988];C[a+80>>2]=C[71987];C[a+84>>2]=c;C[a+40>>2]=0;C[a+44>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;c=C[71990];C[a+88>>2]=C[71989];C[a+92>>2]=c;c=C[71992];C[a+96>>2]=C[71991];C[a+100>>2]=c;c=C[71994];C[a+104>>2]=C[71993];C[a+108>>2]=c;C[a+1352>>2]=C[b+16>>2];C[a+1468>>2]=h;C[a+1356>>2]=e;C[a+1472>>2]=i;C[a+1464>>2]=f;b=C[71996];C[a+1476>>2]=C[71995];C[a+1480>>2]=b;C[a+1484>>2]=C[71997];return 0}function OM(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>F[b+160>>2]){tf(b,8)}d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(!(d>>>0<16|d>>>0>C[b+160>>2]-a>>>0)&(d-16>>>0)/12>>>0>=g>>>0)){tf(b,8)}if(g){a=0;while(1){d=a;f=D[c+8|0]|D[c+9|0]<<8|(D[c+10|0]<<16|D[c+11|0]<<24);a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(a>>>0>>0){tf(b,8)}if(!(!h|d>>>0>>0)){tf(b,8)}if(!(!C[b+164>>2]|F[b+172>>2]>(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0)){tf(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function Dv(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;c=C[a>>2];C[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=D[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 e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=So(d+12|0,b);break c}e=Cv(d+12|0,b);break c}e=37;j:{while(1){k:{switch((e&255)-10|0){case 0:case 3:break j;default:break k}}c=c+1|0;if((c|0)!=(b|0)){e=D[c|0];continue}break}c=b}C[d+12>>2]=c}e=0}c=C[d+12>>2]+1|0;C[d+12>>2]=c;if(!e&b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}C[a>>2]=c;Ce=d+16|0;return b}function tq(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(F[b+4>>2]>a>>>0){break a}f=C[b+8>>2];if(f>>>0<=a>>>0){break a}e=C[b+12>>2];c=e-1|0;C[b+12>>2]=c;d=1;if((c|0)<=0){break a}g=b;b:{c:{d:{switch(D[a|0]){case 0:if(f-a>>>0<4){break a}e=e-5|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(!c){break b}b=a+4|0;if(b>>>0>f>>>0){break a}d=0;a=I((D[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(a>>>0>f-b>>>0){break b}a=e-a|0;break c;case 1:break d;default:break b}}if(f-a>>>0<6){break a}e=e-7|0;C[b+12>>2]=e;if((e|0)<=0){break a}d=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=(D[a+1|0]>>>4&3)+1|0;if(d>>>0>=4294967295/(c>>>0)>>>0){break a}c=I(d,c);if(!c){return 1}a=a+6|0;if(a>>>0>f>>>0){break a}d=0;if(c>>>0>f-a>>>0){break b}a=e-c|0}C[g+12>>2]=a;d=(a|0)>0}return d}return 0}function BI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=h<<2;a:{if(h>>>0<4){break a}e=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=d-8|0;C[c>>2]=0;C[c+4>>2]=0;G[d-12>>2]=f;d=d-16|0;G[d>>2]=f;c=e-1|0}else{c=e}if((e|0)==1){break a}while(1){f=G[g-4>>2];e=d-8|0;C[e>>2]=0;C[e+4>>2]=0;G[d-12>>2]=f;G[d-16>>2]=f;g=g-8|0;f=G[g>>2];e=d-24|0;C[e>>2]=0;C[e+4>>2]=0;G[d-28>>2]=f;d=d-32|0;G[d>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function FH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=32){e=d>>>5|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+28>>2]*J(.1251250058412552))+J(J(G[c+24>>2]*J(.1251250058412552))+J(J(G[c+20>>2]*J(.1251250058412552))+J(J(G[c+16>>2]*J(.1251250058412552))+J(J(G[c+12>>2]*J(.125))+J(J(G[c+8>>2]*J(.1251250058412552))+J(J(G[c>>2]*J(.1251250058412552))+J(G[c+4>>2]*J(.1251250058412552))))))));f=f+4|0;c=c+32|0;e=e-1|0;if(e){continue}break}}c=(d|0)/8|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function SH(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=24){g=(f>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=J(G[c+12>>2]*J(.0476190485060215));h=J(G[c+8>>2]*J(.3942857086658478));G[d>>2]=e+J(J(G[c>>2]*J(.5580952763557434))+h);G[d+4>>2]=e+J(J(G[c+4>>2]*J(.5580952763557434))+h);G[d+8>>2]=e+J(G[c+16>>2]*J(.5580952763557434));G[d+12>>2]=e+J(G[c+20>>2]*J(.5580952763557434));d=d+16|0;c=c+24|0;g=g-1|0;if(g){continue}break}}c=(f|0)/6<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function XH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/5|0,7);if(d>>>0>=20){g=(d>>>0)/20|0;h=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h+c|0;d=d+h|0;while(1){f=G[d-4>>2];i=G[d-8>>2];G[e-8>>2]=i*J(.7960000038146973);G[e-4>>2]=f*J(.7960000038146973);G[e-12>>2]=J(f*J(.5))+J(i*J(.5));f=G[d-12>>2];C[e-20>>2]=0;G[e-16>>2]=f;G[e-24>>2]=G[d-16>>2]*J(.9399999976158142);e=e-28|0;d=d-20|0;G[e>>2]=G[d>>2]*J(.9399999976158142);g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function oH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(b>>>0<4){break a}c=b>>>2|0;f=c-1|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c&3;if(d){while(1){G[b>>2]=J(C[b>>2]>>8)*J(1.1920930376163597e-7);b=b+4|0;c=c-1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(f>>>0<3){break a}while(1){G[b>>2]=J(C[b>>2]>>8)*J(1.1920930376163597e-7);G[b+4>>2]=J(C[b+4>>2]>>8)*J(1.1920930376163597e-7);G[b+8>>2]=J(C[b+8>>2]>>8)*J(1.1920930376163597e-7);G[b+12>>2]=J(C[b+12>>2]>>8)*J(1.1920930376163597e-7);b=b+16|0;c=c-4|0;if(c){continue}break}}b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function dv(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=of(h,f-c|0,j)+b|0;i=C[a>>2];f=f>>i;c=0;break b}i=C[a>>2];f=c>>i;c=C[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=C[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=of(h,C[a+4>>2]-c|0,j)+b|0;break c}if(!D[a+87|0]){break c}C[a+40>>2]=C[a+40>>2]-4}A[a+87|0]=!d;if(D[a+86|0]){C[C[a+88>>2]+20>>2]=f;A[a+86|0]=0}g=e-f|0;c=g+1|0;if(F[a+36>>2]<=C[a+40>>2]+(c<<2)>>>0){C[a+44>>2]=98;return 1}d=1;e=C[a+4>>2];d:{if((h|0)>0){f=Bp(e,h,j);break d}d=-1;h=0-h|0;f=0-Bp(e,h,j)|0}h=(I(C[a+4>>2],h)|0)%(j|0)|0;e=C[a+40>>2];if((g|0)>=0){g=0-j|0;while(1){C[e>>2]=b;g=g+h|0;i=(g|0)>=0;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=c>>>0>1;c=c-1|0;if(i){continue}break}}C[a+40>>2]=e}return 0}function BN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{g=C[a+4>>2];j=0-g|0;l=c-1|0;h=j&g+l;i=d&j;b:{if((h|0)<=(i|0)){b=C[a>>2];d=h;break b}if((g+i|0)!=(h|0)){break a}g=i;c:{d:{e:{k=E[e+12>>1];m=k&7;switch(m|0){case 0:break c;case 4:break d;case 1:case 5:break e;default:break a}}if(!(C[e+28>>2]!=(f|0)|C[e+16>>2]>0)&(!(k&16)|C[a+8>>2]>(d-c|0))|!(C[f+28>>2]!=(e|0)|C[e+20>>2]!=(b|0))&(!(k&32)|C[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}}g=C[a+8>>2]+((d+l|0)/2|0)&j}b=C[a>>2];d=h;d=(g|0)>=0?E[a+56>>1]>g>>>b>>>0?g:i:d;c=((h|0)==(d|0)?i:h)>>b;if((c|0)<0|c>>>0>=E[a+56>>1]){break b}if(D[C[a+60>>2]+(C[a+148>>2]+(c<<13>>16)|0)|0]<<(c&7)&128){break a}}b=d>>b;if((b|0)<0|b>>>0>=E[a+56>>1]){break a}a=C[a+60>>2]+(C[a+148>>2]+(b>>>3&65535)|0)|0;A[a|0]=D[a|0]|128>>>(b&7)}}function yq(a,b,c,d){var e=0,f=0,g=J(0);e=Ce-128|0;Ce=e;a:{b:{if(F[a+16>>2]<=c>>>0){break b}c:{f=C[C[a>>2]>>2];f=f?f:205712;f=F[f+16>>2]<20?205712:C[f+12>>2];f=D[f+4|0]|D[f+5|0]<<8;if(C[b+60>>2]==((f<<8|f>>>8)&65535)){C[e+52>>2]=2139095039;C[e+56>>2]=-8388609;C[e+60>>2]=-8388609;C[e+24>>2]=2139095039;C[e+28>>2]=-8388609;C[e+32>>2]=-8388609;C[e+48>>2]=2139095039;C[e+44>>2]=e- -64;f=C[e+48>>2];C[e+16>>2]=C[e+44>>2];C[e+20>>2]=f;C[e+40>>2]=0;C[e+36>>2]=b;f=C[e+40>>2];C[e+8>>2]=C[e+36>>2];C[e+12>>2]=f;if(zq(a,b,c,e+8|0)){break c}}if(d){a=yz(C[a+8>>2],c);break a}a=yz(C[a+4>>2],c);break a}if(d){g=J(G[e+104>>2]-G[e+120>>2])}else{g=J(G[e+84>>2]-G[e+68>>2])}g=J(O(J(g+J(.5))));g=g>=J(0)?g:J(0);g=g<=J(2147483648)?g:J(2147483648);if(!(g=J(0))){break b}a=~~g>>>0;break a}a=0}Ce=e+128|0;return a}function Zl(a){var b=0,c=0,d=0,e=0;c=Ce-128|0;Ce=c;a:{if(C[94459]!=(a|0)){break a}d=1;if(C[94460]){break a}d=0;C[c+48>>2]=C[94457];b=c- -64|0;rf(b,64,8193,c+48|0);if(cg(b,0)){break a}b:{b=C[94462];if(!b){break b}if((Fe[b|0]()|0)>=0){break b}if(!cg(24518,0)){break a}b=C[94457];C[105620]=128;C[105619]=422496;e=34979;c:{if(!C[105618]){break c}e=C[105619]}C[c+36>>2]=e;C[c+32>>2]=b;Tg(34407,c+32|0);break a}d=1;C[94460]=1}b=d;d:{if(C[94439]!=(a|0)){break d}b=1;if(C[94440]){break d}C[c+16>>2]=C[94437];a=c- -64|0;rf(a,64,8193,c+16|0);e:{f:{if(cg(a,0)){break f}a=C[94442];if(!a){break e}if((Fe[a|0]()|0)>=0){break e}if(!cg(24518,0)){break f}b=C[94437];C[105620]=128;C[105619]=422496;a=34979;g:{if(!C[105618]){break g}a=C[105619]}C[c+4>>2]=a;C[c>>2]=b;Tg(34407,c)}b=d;break d}C[94440]=1;b=1}Ce=c+128|0;return b}function mM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ce-16|0;Ce=e;g=C[b+28>>2];C[a+360>>2]=b;c=Fe[C[a+508>>2]](a,1851878757,b,e+8|0)|0;a:{if(c){break a}h=C[b+8>>2];c=Ef(b,352576,a+344|0);C[e+12>>2]=c;if(c){break a}c=145;f=C[a+348>>2];d=I(f,12);i=(d+h|0)+6|0;j=C[e+8>>2]+h|0;if(i>>>0>j>>>0){break a}C[a+348>>2]=0;k=a,l=Ve(g,20,0,f,0,e+12|0),C[k+356>>2]=l;c=C[e+12>>2];if(c){break a}c=Bf(b,d);C[e+12>>2]=c;if(c){break a}c=C[a+356>>2];if(f){while(1){d=Ef(b,352608,c);C[e+12>>2]=d;b:{if(d){break b}d=E[c+8>>1];if(!d){break b}g=C[c+12>>2]+(C[a+352>>2]+h|0)|0;C[c+12>>2]=g;if(!(d+g>>>0<=j>>>0&g>>>0>=i>>>0)){B[c+8>>1]=0;C[c+12>>2]=0;break b}c=c+20|0}f=f-1|0;if(f){continue}break}d=C[a+356>>2]}else{d=c}C[a+348>>2]=(c-d|0)/20;xf(b);B[a+340>>1]=C[a+348>>2];c=C[e+12>>2]}Ce=e+16|0;return c|0}function Kg(a){var b=0,c=0,d=0;a:{if(!$e(a,0,1)){b=C[a+84>>2];break a}b=C[a+76>>2];b:{if(b>>>0>2]){c=C[a+84>>2];d=C[a+96>>2];b=C[a+92>>2]+I(b,20)|0;break b}d=C[a+96>>2];c=C[a+84>>2];b=c-1|0;b=d+I(b>>>0<=c>>>0?b:0,20)|0}c=I(c,20)+d|0;d=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=d;C[c+16>>2]=C[b+16>>2];d=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=d;C[c>>2]=9676;b=C[a+84>>2]+1|0;C[a+84>>2]=b}c=b-1|0;b=C[a+96>>2]+I(b>>>0>=c>>>0?c:0,20)|0;B[b+16>>1]=E[b+16>>1]&65407;c:{if(D[a+73|0]){d:{if(C[a+96>>2]==C[a+92>>2]){b=C[a+84>>2];if((b|0)==C[a+76>>2]){break d}}if(!$e(a,1,1)){break c}c=C[a+92>>2]+I(C[a+76>>2],20)|0;d=C[c+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=C[a+76>>2]+1}}function NH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=28){e=(d>>>0)/28|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+24>>2]*J(.14314284920692444))+J(J(G[c+20>>2]*J(.14314284920692444))+J(J(G[c+16>>2]*J(.14314284920692444))+J(J(G[c+12>>2]*J(.1428571492433548))+J(J(G[c+8>>2]*J(.14314284920692444))+J(J(G[c>>2]*J(.14314284920692444))+J(G[c+4>>2]*J(.14314284920692444)))))));f=f+4|0;c=c+28|0;e=e-1|0;if(e){continue}break}}c=(d|0)/7|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function $x(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=1;e=C[a>>2];c=C[e+88>>2];a:{if(!(A[e+8|0]&1)){C[a+8>>2]=C[c+24>>2]+63>>6;f=C[c+28>>2]+63>>6;C[a+12>>2]=f;c=C[c+32>>2]+63>>6;C[a+16>>2]=c;C[a+4>>2]=c;d=(f|0)/-2|0;break a}b=C[c+20>>2];h=a,i=Te(B[e+70>>1],b)+63>>6,C[h+8>>2]=i;h=a,i=Te(B[e+72>>1],b)+63>>6,C[h+12>>2]=i;h=a,i=Te(B[e+70>>1]-B[e+72>>1]|0,b)+63>>6,C[h+4>>2]=i;h=a,i=Te(B[e+74>>1],b)+63>>6,C[h+16>>2]=i;c=Te(B[e+80>>1],b);b=Te(B[e+82>>1],b)>>6;b=(b|0)<=1?1:b;d=0-(c>>6)|0}C[a+40>>2]=b;c=C[a+4>>2];f=(c|0)/2|0;d=(d+C[a+8>>2]|0)-1|0;g=C[a+24>>2];if((g|0)>0){b=(g<<1)+b|0;C[a+40>>2]=b;d=d-g|0;f=f-g|0}f=(f|0)>0?f:0;C[a+48>>2]=f;d=(d|0)>0?d:0;C[a+44>>2]=d;g=C[a+20>>2];if(g&4){d=b+d|0;c=(c|0)>(d|0)?c:d;C[a+4>>2]=c}if(g&8){b=b+f|0;C[a+4>>2]=(b|0)<(c|0)?c:b}C[a+36>>2]=E[C[e+88>>2]+14>>1]/10}function dI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0),i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/4|0,7);if(d>>>0>=16){g=d>>>4|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){h=G[d-4>>2];i=G[d-8>>2];f=e-20|0;C[f>>2]=0;C[f+4>>2]=0;G[e-8>>2]=i*J(.7960000038146973);G[e-4>>2]=h*J(.7960000038146973);G[e-12>>2]=J(h*J(.5))+J(i*J(.5));G[e-24>>2]=G[d-12>>2]*J(.9399999976158142);e=e-28|0;d=d-16|0;G[e>>2]=G[d>>2]*J(.9399999976158142);g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function _H(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=20){f=(e>>>0)/20|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+16>>2];h=G[c+12>>2];G[d>>2]=J(g*J(.2199999988079071))+J(J(G[c>>2]*J(.42100000381469727))+J(h*J(.35899999737739563)));G[d+4>>2]=J(g*J(.35899999737739563))+J(J(G[c+4>>2]*J(.42100000381469727))+J(h*J(.2199999988079071)));G[d+8>>2]=G[c+8>>2];d=d+12|0;c=c+20|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/5|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function TE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;if(e){m=(C[a+52>>2]&240)-16>>>4|0;h=C[a+20>>2];i=C[a>>2];while(1){j=h;e=i;k=C[a+24>>2];if(k){while(1){k=k-1|0;c=C[j>>2];b=c&255;d=C[e>>2];l=d&255;f=c>>>8&255;g=c>>>16&255;c=d>>>8&255;d=d>>>16&255;a:{b:{switch(m|0){case 0:g=d;f=c;b=l;break a;case 1:b=b+l|0;b=b>>>0>=255?255:b;c=c+f|0;f=c>>>0>=255?255:c;d=d+g|0;g=d>>>0>=255?255:d;break a;case 3:b=(I(b,l)>>>0)/255|0;f=(I(c,f)>>>0)/255|0;g=(I(d,g)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(b,l)>>>0)/255|0;f=(I(c,f)>>>0)/255|0;g=(I(d,g)>>>0)/255|0}C[j>>2]=f<<8|g<<16|b;j=j+4|0;e=e+4|0;if(k){continue}break}e=C[a+28>>2]}else{e=b}b=e-1|0;C[a+28>>2]=b;h=C[a+32>>2]+h|0;i=C[a+12>>2]+i|0;if(e){continue}break}C[a+20>>2]=h;C[a>>2]=i}}function AE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){m=(C[a+52>>2]&240)-16>>>4|0;h=C[a+20>>2];i=C[a>>2];while(1){j=h;d=i;k=C[a+24>>2];if(k){while(1){k=k-1|0;e=C[j>>2];b=e&255;c=C[d>>2];l=c&255;f=e>>>8&255;g=e>>>16&255;e=c>>>8&255;c=c>>>16&255;a:{b:{switch(m|0){case 0:b=l;f=e;g=c;break a;case 1:c=c+g|0;g=c>>>0>=255?255:c;c=f+e|0;f=c>>>0>=255?255:c;b=b+l|0;b=b>>>0>=255?255:b;break a;case 3:g=(I(c,g)>>>0)/255|0;f=(I(f,e)>>>0)/255|0;b=(I(b,l)>>>0)/255|0;break a;case 7:break b;default:break a}}g=(I(c,g)>>>0)/255|0;f=(I(f,e)>>>0)/255|0;b=(I(b,l)>>>0)/255|0}C[j>>2]=f<<8|b|g<<16;j=j+4|0;d=d+4|0;if(k){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;h=C[a+32>>2]+h|0;i=C[a+12>>2]+i|0;if(d){continue}break}C[a+20>>2]=h;C[a>>2]=i}}function lL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;a:{if(d&16){if(!c){break a}d=0;while(1){i=(d<<2)+e|0;b:{if(D[a+292|0]){Fe[C[C[a+532>>2]+112>>2]](a,1,b+d|0,f+14|0,f+12|0);g=E[f+12>>1];break b}if(E[a+364>>1]!=65535){g=B[a+434>>1]-B[a+436>>1]|0;h=g>>31;g=(h^g)-h|0;break b}g=B[a+220>>1]-B[a+222>>1]|0;h=g>>31;g=(h^g)-h|0}C[i>>2]=g&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!c){break a}d=0;if((c|0)!=1){h=c&-2;while(1){i=f+10|0;g=f+8|0;Fe[C[C[a+532>>2]+112>>2]](a,0,b+d|0,i,g);C[(d<<2)+e>>2]=E[f+8>>1];j=d|1;Fe[C[C[a+532>>2]+112>>2]](a,0,j+b|0,i,g);C[(j<<2)+e>>2]=E[f+8>>1];d=d+2|0;k=k+2|0;if((h|0)!=(k|0)){continue}break}}if(!(c&1)){break a}Fe[C[C[a+532>>2]+112>>2]](a,0,b+d|0,f+10|0,f+8|0);C[(d<<2)+e>>2]=E[f+8>>1]}Ce=f+16|0;return 0} -function iK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-272|0;Ce=d;Fe[C[b+60>>2]](b,d+80|0,16,d+76|0);f=C[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=C[a+528>>2];j=C[b+8>>2];k=C[b>>2];f=0;while(1){c=(d+80|0)+I(g,12)|0;C[b>>2]=C[c>>2];C[b+8>>2]=C[c+4>>2];Fe[C[b+60>>2]](b,d+16|0,4,d+12|0);e=C[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=km(a,C[d+76>>2],e);if(c){break a}i=C[a+528>>2];c=C[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+I(c,12)|0;C[b>>2]=C[h>>2];C[b+8>>2]=C[h+4>>2];h=Fe[C[b+40>>2]](b,0)|0;C[C[e+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}C[b+8>>2]=j;C[b>>2]=k;c=0}C[b+12>>2]=c;Ce=d+272|0}function Rf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(b>>>0>=c>>>0){break a}h=C[a+92>>2];j=c-b|0;k=j&3;e=-1;f=b;l=(f^-1)+c|0;if(l>>>0>=3){i=j&-4;while(1){d=I(f,20)+h|0;g=C[d+8>>2];e=e>>>0>>0?e:g;g=C[d+28>>2];e=e>>>0>>0?e:g;g=C[d+48>>2];e=e>>>0>>0?e:g;d=C[d+68>>2];e=d>>>0>e>>>0?e:d;f=f+4|0;m=m+4|0;if((i|0)!=(m|0)){continue}break}}if(k){d=0;while(1){i=C[(I(f,20)+h|0)+8>>2];e=e>>>0>>0?e:i;f=f+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}f=C[a+36>>2];if(j&1){d=I(b,20)+h|0;if(C[d+8>>2]!=(e|0)){f=f|16;C[a+36>>2]=f;C[d+4>>2]=C[d+4>>2]|1}b=b+1|0}if(!l){break a}while(1){d=I(b,20)+h|0;if(C[d+8>>2]!=(e|0)){f=f|16;C[a+36>>2]=f;C[d+4>>2]=C[d+4>>2]|1}d=I(b+1|0,20)+h|0;if(C[d+8>>2]!=(e|0)){f=f|16;C[a+36>>2]=f;C[d+4>>2]=C[d+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}}}function qq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=J(0),k=J(0),l=J(0),m=0,n=0;e=D[a+2|0]|D[a+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){return J(0)}e=D[a|0]|D[a+1|0]<<8;if(!e){return J(1)}f=a;a=(e<<8|e>>>8)&65535;m=(f+I(I(a,b),6)|0)+4|0;n=a>>>0<=1?1:a;b=0;j=J(1);while(1){a=0;a=b>>>0>>0?C[(b<<2)+c>>2]:a;k=j;f=I(b,6)+m|0;g=D[f+2|0]|D[f+3|0]<<8;h=(g<<8|g>>>8)<<16>>16;e=D[f|0]|D[f+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;a:{b:{if((h|0)<(i|0)){break b}e=D[f+4|0]|D[f+5|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)<(h|0)){break b}if(!(!g|((e|0)<=0|(i|0)>=0))){break b}if(!g|(a|0)==(h|0)){break b}if((a|0)<=(i|0)){return J(0)}if((a|0)>=(e|0)){return J(0)}j=J(0);f=a-i|0;g=e-a|0;a=(a|0)<(h|0);l=J(J((a?f:g)|0)/J((a?h-i|0:e-h|0)|0));if(l==J(0)){break a}k=J(k*l)}j=k;b=b+1|0;if((n|0)!=(b|0)){continue}}break}return j}function gI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=16){f=e>>>4|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+12>>2];h=G[c+8>>2];G[d>>2]=J(g*J(.2199999988079071))+J(J(G[c>>2]*J(.42100000381469727))+J(h*J(.35899999737739563)));i=G[c+4>>2];C[d+8>>2]=0;G[d+4>>2]=J(g*J(.35899999737739563))+J(J(i*J(.42100000381469727))+J(h*J(.2199999988079071)));d=d+12|0;c=c+16|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/4|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Yp(a,b){var c=0,d=0,e=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=C[b+12>>2];d=e-12|0;C[b+12>>2]=d;if((D[a|0]|D[a+1|0]<<8)!=256|(d|0)<=0){break a}d=a+6|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=e-14|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(Ky(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=D[d|0]|D[d+1|0]<<8;c:{if(!e){break c}if(Ky(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=C[b+28>>2];if(a>>>0>31){break a}C[b+28>>2]=a+1;c=0;if(!D[b+24|0]){break c}A[d|0]=0;A[d+1|0]=0;c=1}return c}return 0}function PE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){m=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;d=C[h>>2];c=d&255;e=C[l>>2];j=e&255;b=d>>>8&255;d=d>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(m|0){case 0:c=e;b=k;d=j;break a;case 1:d=d+j|0;d=d>>>0>=255?255:d;b=b+k|0;b=b>>>0>=255?255:b;c=c+e|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(d,j)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;c=(I(c,e)>>>0)/255|0;break a;case 7:break b;default:break a}}d=(I(d,j)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;c=(I(c,e)>>>0)/255|0}C[h>>2]=b<<8|c|d<<16;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}b=c;c=b-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(b){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function EE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){m=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;d=C[h>>2];c=d&255;e=C[l>>2];j=e&255;b=d>>>8&255;d=d>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(m|0){case 0:d=j;b=k;c=e;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+k|0;b=b>>>0>=255?255:b;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;d=(I(d,j)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(c,e)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;d=(I(d,j)>>>0)/255|0}C[h>>2]=b<<8|d<<16|c;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}b=c;c=b-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(b){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function NA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=J(0),j=0,k=0,l=J(0);a=Ce-16|0;Ce=a;b=1;a:{if(!(D[C[c+4>>2]+49|0]&32)){break a}i=G[c+16>>2];if(+W()==+i){break a}k=c,l=J(+W()),G[k+16>>2]=l;b=0}e=C[c+4>>2];if((C[e+48>>2]&4129)==32){d=+C[e+24>>2];H[a+8>>3]=d;f=+C[e+28>>2];H[a>>3]=f;if(C[c+20>>2]){U(C[c+12>>2],a+8|0,a|0)|0;f=H[a>>3];d=H[a+8>>3]}g=f;f=+G[c+16>>2];g=g*f;b:{if(K(g)<2147483648){e=~~g;break b}e=-2147483648}j=C[c+12>>2];d=d*f;c:{if(K(d)<2147483648){h=~~d;break c}h=-2147483648}V(j|0,h|0,e|0)|0;if(!(C[c+20>>2]|G[c+16>>2]==J(1))){aa(C[c+12>>2],+H[a+8>>3],+H[a>>3])|0}c=C[c+4>>2];if(!b){C[c+24>>2]=0;C[c+28>>2]=0}d=H[a>>3];d:{if(K(d)<2147483648){b=~~d;break d}b=-2147483648}d=H[a+8>>3];e:{if(K(d)<2147483648){e=~~d;break e}e=-2147483648}bg(c,5,e,b)}Ce=a+16|0;return 0}function nu(a){var b=0,c=0,d=J(0),e=J(0),f=0,g=J(0);f=(w(a),j(2));c=f&2147483647;if(c>>>0>=1283457024){return((w(a),j(2))&2147483647)>>>0>2139095040?a:(l(2,(w(a),j(2))&-2147483648|1070141402),v())}a:{b:{if(c>>>0<=1054867455){b=-1;if(c>>>0>=964689920){break b}break a}a=J(K(a));if(c>>>0<=1066926079){if(c>>>0<=1060110335){a=J(J(J(a+a)+J(-1))/J(a+J(2)));b=0;break b}a=J(J(a+J(-1))/J(a+J(1)));b=1;break b}if(c>>>0<=1075576831){a=J(J(a+J(-1.5))/J(J(a*J(1.5))+J(1)));b=2;break b}a=J(J(-1)/a);b=3}e=J(a*a);d=J(e*e);g=J(d*J(J(d*J(-.106480173766613))+J(-.19999158382415771)));d=J(e*J(J(d*J(J(d*J(.06168760731816292))+J(.14253635704517365)))+J(.333333283662796)));if(c>>>0<=1054867455){return J(a-J(a*J(g+d)))}b=b<<2;a=J(G[b+360288>>2]-J(J(J(a*J(g+d))-G[b+360304>>2])-a));a=(f|0)<0?J(-a):a}return a}function wI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);g=I((f|0)/2|0,3);a:{if(f>>>0<8){break a}h=f>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+g|0;e=c+f|0;if(f&8){C[d-4>>2]=0;G[d-8>>2]=G[e-4>>2];d=d-12|0;e=e-8|0;G[d>>2]=G[e>>2];c=h-1|0}else{c=h}if((h|0)==1){break a}while(1){C[d-4>>2]=0;G[d-8>>2]=G[e-4>>2];i=G[e-8>>2];C[d-16>>2]=0;G[d-12>>2]=i;G[d-20>>2]=G[e-12>>2];d=d-24|0;e=e-16|0;G[d>>2]=G[e>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=g;A[a+25|0]=g>>>8;A[a+26|0]=g>>>16;A[a+27|0]=g>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function jJ(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;f=Ce-32|0;Ce=f;d=C[a+28>>2];C[f+16>>2]=d;g=C[a+20>>2];C[f+28>>2]=c;C[f+24>>2]=b;b=g-d|0;C[f+20>>2]=b;g=b+c|0;i=2;a:{b:{b=f+16|0;d=Ba(C[a+60>>2],b|0,2,f+12|0)|0;if(d){C[105773]=d;d=-1}else{d=0}c:{d:{if(d){d=b;break d}while(1){e=C[f+12>>2];if((e|0)==(g|0)){break c}if((e|0)<0){d=b;break b}h=C[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=e-(j?h:0)|0;C[d>>2]=h+C[d>>2];b=(j?12:4)+b|0;C[b>>2]=C[b>>2]-h;g=g-e|0;b=d;i=i-j|0;e=Ba(C[a+60>>2],b|0,i|0,f+12|0)|0;if(e){C[105773]=e;e=-1}else{e=0}if(!e){continue}break}}if((g|0)!=-1){break b}}b=C[a+44>>2];C[a+28>>2]=b;C[a+20>>2]=b;C[a+16>>2]=b+C[a+48>>2];a=c;break a}C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a>>2]=C[a>>2]|32;a=0;if((i|0)==2){break a}a=c-C[d+4>>2]|0}Ce=f+32|0;return a|0}function SO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;a:{if(C[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=D[a|0];g=a&15;a=g+(a>>>4|0)|0;if((a<<1)+d>>>0>b>>>0){break a}b=Ve(C[c>>2],4,0,a,0,f+12|0);e=C[f+12>>2];if(e){break a}C[c+76>>2]=b;C[c- -64>>2]=(g<<2)+b;e=0;if(!a){break a}c=a-1|0;g=a&3;if(g){while(1){h=D[d|0]|D[d+1|0]<<8;C[b>>2]=(h<<8|h>>>8)<<16>>16;b=b+4|0;a=a-1|0;d=d+2|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(c>>>0>=3){while(1){c=D[d|0]|D[d+1|0]<<8;C[b>>2]=(c<<8|c>>>8)<<16>>16;c=D[d+2|0]|D[d+3|0]<<8;C[b+4>>2]=(c<<8|c>>>8)<<16>>16;c=D[d+4|0]|D[d+5|0]<<8;C[b+8>>2]=(c<<8|c>>>8)<<16>>16;c=D[d+6|0]|D[d+7|0]<<8;C[b+12>>2]=(c<<8|c>>>8)<<16>>16;b=b+16|0;d=d+8|0;a=a-4|0;if(a){continue}break}}e=C[f+12>>2]}Ce=f+16|0;return e|0}function lp(a,b,c,d){var e=0,f=0,g=0,h=0;e=C[c>>2];h=C[d>>2];a:{if(h>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(A[a+h|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;h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}C[c>>2]=e;C[d>>2]=h;return e>>>3&1}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,h=0,i=0;g=Ce-16|0;Ce=g;a:{b:{c:{d:{if((b|0)<=2963){if(b-2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b-3548>>>0<3){break c}a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;a=Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0;break b}e:{f:{f=C[C[a>>2]+112>>2];if(D[f+5|0]){break f}e=C[a+8>>2];C[g+12>>2]=0;h=e;i=C[e+76>>2];e=C[e+72>>2];if(!(Fe[C[e+156>>2]](h,i,b,g+12|0,C[e+20>>2])|0)|!C[f+52>>2]){break e}h=C[C[a+8>>2]+16>>2];e=0;while(1){if(Bh(h,E[C[f+48>>2]+(e<<3)>>1],g+12|0,1,D[f+56|0])){break f}e=e+1|0;if(e>>>0>2]){continue}break}break e}C[c>>2]=3545;C[d>>2]=b;f=1;break a}a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;a=Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0}f=(a|0)!=0}Ce=g+16|0;return f|0}function $O(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=C[C[a+96>>2]+8>>2];C[a+20>>2]=0;C[a+24>>2]=0;c=C[a+100>>2];b=c;d=C[a+368>>2];if(d){Fe[C[b+8>>2]](b,d)}C[a+368>>2]=0;b=C[a+372>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+372>>2]=0;b=C[a+376>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+376>>2]=0;b=C[a+364>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+360>>2]=0;C[a+364>>2]=0;C[a+348>>2]=0;C[a+352>>2]=0;b=C[a+388>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+380>>2]=0;C[a+384>>2]=0;C[a+388>>2]=0;b=C[a+416>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+408>>2]=0;C[a+412>>2]=0;C[a+416>>2]=0;b=C[a+396>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+392>>2]=0;C[a+396>>2]=0;b=C[a+424>>2];if(b){while(1){d=C[b>>2];if(b){Fe[C[c+8>>2]](c,b)}b=d;if(b){continue}break}}C[a+428>>2]=0;C[a+420>>2]=0;C[a+424>>2]=0;b=C[a+32>>2];if(b){Fe[C[e+8>>2]](e,b)}C[a+32>>2]=0}}function QH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=J(G[c+8>>2]*J(.414000004529953));G[d>>2]=J(G[c>>2]*J(.5860000252723694))+g;G[d+4>>2]=J(G[c+4>>2]*J(.5860000252723694))+g;G[d+8>>2]=G[c+12>>2];G[d+12>>2]=G[c+16>>2]*J(.5860000252723694);G[d+16>>2]=G[c+20>>2]*J(.5860000252723694);d=d+20|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/6|0,5);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function iA(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,k=0,l=0;g=C[a+20>>2];a:{if((g|0)<=0){break a}f=C[a>>2];h=g-1|0;e=g+1<<1;b:{while(1){d=h+k|0;l=d>>>1|0;i=d&-2;j=i+f|0;d=D[j|0]|D[j+1|0]<<8;c:{if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){d=e+j|0;d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break b}h=l-1|0;break c}k=l+1|0}if((h|0)>=(k|0)){continue}break}d=0;break a}f=i>>1;d=i+C[a+12>>2]|0;e=D[d|0]|D[d+1|0]<<8;d:{if(e){d=0;e=f+(b-g|0)+(((e<<8|e>>>8)&65534)>>>1)|0;b=C[a+4>>2]+(f<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=F[a+24>>2]){break d}b=C[a+16>>2]+(b<<1)|0;b=D[b|0]|D[b+1|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535}d=0;a=C[a+8>>2]+(f<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break a}C[c>>2]=a;d=1}}return d|0}function Xp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>357913940){break b}if(!c){return 1}if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=I(c,12);if(g>>>0>>0){break b}e=C[b+12>>2]-e|0;C[b+12>>2]=e;if((e|0)<=0){break b}i=C[b+4>>2];j=C[d>>2];e=0;while(1){d=I(e,12)+a|0;if(d>>>0>>0){break a}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<12){break a}g=C[b+12>>2]-12|0;C[b+12>>2]=g;if((g|0)<=0){break a}c:{h=D[d+2|0]|D[d+3|0]<<8;if(!h){break c}d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+j|0;if(d>>>0>>0|d>>>0>f>>>0){break a}f=f-d|0;d=((h<<8|h>>>8)&65535)<<2;if(f>>>0>>0){break a}d=g-d|0;C[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return f}return 0}function hD(a){a=a|0;var 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;b=C[a+28>>2];d=b-1|0;C[a+28>>2]=d;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;e=C[a+20>>2];while(1){c=C[a+24>>2];if(c){j=h>>>16|0;k=C[a>>2];g=c;d=e;b=i;if(c&1){b=C[(I(C[a+12>>2],j)+k|0)+n>>2];C[e>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);d=e+4|0;g=c-1|0;b=m}if((c|0)!=1){while(1){c=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];C[d>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b=b+f|0;c=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];C[d+4>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=d}d=b-1|0;C[a+28>>2]=d;h=h+l|0;e=C[a+32>>2]+e|0;if(b){continue}break}C[a+20>>2]=e}}function gy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=a+2|0;a:{if(c>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[c|0]|D[c+1|0]<<8;b:{if(!d){break b}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[c|0]=0;A[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){return 1}f=a+6|0;if(d>>>0>>0){break a}c=(c<<8|c>>>8)&65535;g=c<<1;if(g>>>0>d-f>>>0){break a}d=e-g|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=c>>>0<=1?1:c;c=0;while(1){h=by(((c<<1)+a|0)+6|0,b,a);if(!h){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return h}function OO(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,j=0,k=0,l=0,m=0,n=0,o=0;j=Ce-16|0;Ce=j;e=6;a:{if((b|0)<0|C[a+16>>2]<=(b|0)){break a}e=C[a+8>>2];f=C[a+4>>2];h=f+d|0;if(e>>>0>>0){g=C[a>>2];k=c-g|0;m=(k|0)>=0&e>>>0>k>>>0;while(1){e=((e>>>2|0)+e|0)+1024&-1024;if(h>>>0>e>>>0){continue}break}l=C[a+32>>2];f=hf(l,e,j+12|0);C[a>>2]=f;h=C[j+12>>2];if(h){C[a>>2]=g;e=h;break a}if(g){t(f,g,C[a+8>>2]);f=C[a+16>>2];if((f|0)>0){n=C[a>>2]-g|0;i=C[a+24>>2];o=i+(f<<2)|0;while(1){f=C[i>>2];if(f){C[i>>2]=f+n}i=i+4|0;if(o>>>0>i>>>0){continue}break}}if(g){Fe[C[l+8>>2]](l,g)}}C[a+8>>2]=e;c=m?C[a>>2]+(m?k:-1)|0:c;e=0;if(h){break a}f=C[a+4>>2]}b=b<<2;C[b+C[a+24>>2]>>2]=C[a>>2]+f;C[b+C[a+28>>2]>>2]=d;t(C[a>>2]+f|0,c,d);C[a+4>>2]=C[a+4>>2]+d;e=0}Ce=j+16|0;return e|0}function tA(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;l=Ce-16|0;Ce=l;h=b;p=C[b+36>>2];b=(p|0)/2|0;i=pg(h,I(b,f)<<2);C[l+12>>2]=i;a:{if((f|0)<=0){break a}s=b&-4;q=b&3;t=b-1>>>0<3;h=0;while(1){b=h<<2;u=C[b+e>>2]!=0;b:{if((p|0)<2){break b}k=C[b+d>>2];n=0;b=h;j=0;o=0;if(!t){while(1){m=j<<2;C[(b<<2)+i>>2]=C[m+k>>2];b=b+f|0;C[(b<<2)+i>>2]=C[(m|4)+k>>2];b=b+f|0;C[(b<<2)+i>>2]=C[(m|8)+k>>2];b=b+f|0;C[(b<<2)+i>>2]=C[(m|12)+k>>2];j=j+4|0;b=b+f|0;o=o+4|0;if((s|0)!=(o|0)){continue}break}}if(!q){break b}while(1){C[(b<<2)+i>>2]=C[(j<<2)+k>>2];b=b+f|0;j=j+1|0;n=n+1|0;if((n|0)!=(q|0)){continue}break}}r=r+u|0;h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!r){break a}ur(a,c,l+12|0,1,g)}Ce=l+16|0;return 0}function ik(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){f=B[a+56>>1];c=f+E[a+20>>1]|0;B[a+20>>1]=c;d=E[a+22>>1];b=d+E[a+58>>1]|0;B[a+22>>1]=b;h=C[a+48>>2]+C[a+84>>2]|0;C[a+48>>2]=h;if((f|0)>0){b=C[a+68>>2];c=0;if(f>>>0>=4){k=f&-4;while(1){e=c<<1;g=e+b|0;B[g>>1]=d+E[g>>1];g=b+(e|2)|0;B[g>>1]=d+E[g>>1];g=b+(e|4)|0;B[g>>1]=d+E[g>>1];e=b+(e|6)|0;B[e>>1]=d+E[e>>1];c=c+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}f=f&3;if(f){while(1){e=b+(c<<1)|0;B[e>>1]=d+E[e>>1];c=c+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}b=E[a+22>>1];c=E[a+20>>1]}C[a+84>>2]=0;C[a+56>>2]=0;b=b<<16>>16;d=b<<3;C[a+60>>2]=d+C[a+24>>2];C[a- -64>>2]=b+C[a+28>>2];C[a+68>>2]=C[a+32>>2]+(c<<16>>16<<1);if(D[a+16|0]){C[a+76>>2]=d+C[a+40>>2];C[a+80>>2]=d+C[a+44>>2]}C[a+88>>2]=C[a+52>>2]+(h<<5)}}function Bo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-16|0;Ce=g;i=C[a+28>>2];C[g+12>>2]=0;f=Ve(i,2,0,b,0,g+12|0);c=0;a:{if(C[g+12>>2]){break a}while(1){c=f;if(b>>>0<=e>>>0){break a}c=C[a+32>>2];if(c>>>0>2]){C[a+32>>2]=c+1;c=D[c|0]}else{c=0}d=c<<24>>24;h=d&63;b:{if((d|0)<0){c=(e^-1)+b|0;c=c>>>0>>0?c:h;p((e<<1)+f|0,0,(c<<1)+2|0);d=c+1|0;e=d+e|0;break b}c=0;if(d&64){while(1){k=(e<<1)+f|0,l=Ff(a),B[k>>1]=l;d=c+1|0;e=e+1|0;if(c>>>0>=h>>>0){break b}c=d;if(b>>>0>e>>>0){continue}break b}}while(1){j=(e<<1)+f|0;d=C[a+32>>2];if(d>>>0>2]){C[a+32>>2]=d+1;d=D[d|0]}else{d=0}B[j>>1]=d<<24>>24;d=c+1|0;e=e+1|0;if(c>>>0>=h>>>0){break b}c=d;if(b>>>0>e>>>0){continue}break}}if(d>>>0>h>>>0){continue}break}if(f){Fe[C[i+8>>2]](i,f)}c=0}Ce=g+16|0;return c}function AS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=C[b+100>>2];c=C[C[c+92>>2]+I(C[c+76>>2],20)>>2];e=D[a+2|0]|D[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=205712}f=zf(d,c);a:{if((f|0)==-1){break a}a=D[a+4|0]|D[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;c=E[a+12>>1]&96;g=a+12|0,h=eh(C[b+108>>2],e)|c|16,B[g>>1]=h}b=C[b+100>>2];if(!$e(b,1,1)){break a}a=C[b+76>>2];b:{if(a>>>0>2]){c=C[b+84>>2];d=C[b+96>>2];a=C[b+92>>2]+I(a,20)|0;break b}d=C[b+96>>2];c=C[b+84>>2];a=c-1|0;a=d+I(a>>>0<=c>>>0?a:0,20)|0}c=I(c,20)+d|0;d=C[a+4>>2];C[c>>2]=C[a>>2];C[c+4>>2]=d;C[c+16>>2]=C[a+16>>2];d=C[a+12>>2];C[c+8>>2]=C[a+8>>2];C[c+12>>2]=d;C[c>>2]=e;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+1}return(f|0)!=-1|0}function hI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=16){f=e>>>4|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+12>>2];h=G[c+8>>2];G[d>>2]=J(g*J(.2199999988079071))+J(J(G[c>>2]*J(.42100000381469727))+J(h*J(.35899999737739563)));G[d+4>>2]=J(g*J(.35899999737739563))+J(J(G[c+4>>2]*J(.42100000381469727))+J(h*J(.2199999988079071)));d=d+8|0;c=c+16|0;f=f-1|0;if(f){continue}break}}c=(e|0)/4<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function mJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=D[a+11|0];e=d+7>>>3|0;g=C[a+4>>2];a:{if(!d){break a}a=e>>>0<=1?1:e;d=a&3;if(a-1>>>0>=3){f=a&60;a=0;while(1){A[b|0]=D[b|0]+(D[c|0]>>>1|0);A[b+1|0]=D[b+1|0]+(D[c+1|0]>>>1|0);A[b+2|0]=D[b+2|0]+(D[c+2|0]>>>1|0);A[b+3|0]=D[b+3|0]+(D[c+3|0]>>>1|0);b=b+4|0;c=c+4|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(!d){break a}a=0;while(1){A[b|0]=D[b|0]+(D[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}b:{if((e|0)==(g|0)){break b}f=g-e|0;h=f&1;d=0;a=0-e|0;if((e+1|0)!=(g|0)){e=f&-2;while(1){A[b|0]=D[b|0]+(D[a+b|0]+D[c|0]>>>1|0);A[b+1|0]=D[b+1|0]+(D[a+(b+1|0)|0]+D[c+1|0]>>>1|0);b=b+2|0;c=c+2|0;d=d+2|0;if((e|0)!=(d|0)){continue}break}}if(!h){break b}A[b|0]=D[b|0]+(D[a+b|0]+D[c|0]>>>1|0)}}function Nu(a,b){var c=0,d=0,e=0,f=0;c=C[a+292>>2];e=C[a>>2];d=Ho(c,e,a);if(!d){A[c+561|0]=b;A[c+488|0]=0;C[c+16>>2]=0;C[c+428>>2]=0;f=C[e+640>>2];b=C[e+636>>2];C[c+460>>2]=0;C[c+464>>2]=0;C[c+456>>2]=b;C[c+452>>2]=f;d=0;if(b){C[c+364>>2]=b;C[c+356>>2]=f;C[c+360>>2]=0;C[c+352>>2]=2;d=Fe[C[e+652>>2]](c)|0}C[a+300>>2]=d;B[c+300>>1]=0;B[c+292>>1]=0;B[c+294>>1]=16384;B[c+296>>1]=0;B[c+298>>1]=16384;C[c+284>>2]=0;C[c+288>>2]=1073741824;B[c+348>>1]=1;C[c+344>>2]=65537;C[c+304>>2]=1;t(a+172|0,c+284|0,68);C[a+116>>2]=C[c+396>>2];C[a+128>>2]=C[c+408>>2];C[a+140>>2]=C[c+420>>2];C[a+144>>2]=C[c+424>>2];b=C[c+448>>2];C[a+148>>2]=C[c+444>>2];C[a+152>>2]=b;b=C[c+456>>2];C[a+156>>2]=C[c+452>>2];C[a+160>>2]=b;b=C[c+464>>2];C[a+164>>2]=C[c+460>>2];C[a+168>>2]=b}return d}function zC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=J(0),i=0,j=0,k=0,l=0,m=0;e=C[a+412>>2];if(e){e=C[e+4>>2];f=(e|0)==372645892|(e|0)==370546692}a=ki(a,I(d,12),b+4|0);if(!a){return-1}e=D[b+15|0];j=D[b+13|0];C[b+8>>2]=d;if((d|0)<=0){return 0}i=D[b+14|0];b=D[b+12|0];k=f?i:b;f=f?b:i;i=d&1;a:{if((d|0)==1){b=0;break a}m=d&-2;b=0;d=0;while(1){g=b<<3;l=g+c|0;G[a>>2]=G[l>>2]+J(.5);h=G[l+4>>2];A[a+11|0]=e;A[a+10|0]=f;A[a+9|0]=j;A[a+8|0]=k;G[a+4>>2]=h+J(.5);g=(g|8)+c|0;G[a+12>>2]=G[g>>2]+J(.5);h=G[g+4>>2];A[a+23|0]=e;A[a+22|0]=f;A[a+21|0]=j;A[a+20|0]=k;G[a+16>>2]=h+J(.5);b=b+2|0;a=a+24|0;d=d+2|0;if((m|0)!=(d|0)){continue}break}}if(i){b=(b<<3)+c|0;G[a>>2]=G[b>>2]+J(.5);h=G[b+4>>2];A[a+11|0]=e;A[a+10|0]=f;A[a+9|0]=j;A[a+8|0]=k;G[a+4>>2]=h+J(.5)}return 0}function tk(a){var b=0,c=0,d=0;b=Ce-32|0;Ce=b;d=C[105668];a:{if(!d){Qe(19865,0);break a}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);break a}c=C[a+112>>2];if(C[a+116>>2]){break a}if(c){C[c>>2]=C[c>>2]&-5;Nf(c);C[a+112>>2]=0;d=C[105668]}C[b+28>>2]=0;C[b+24>>2]=0;C[b+20>>2]=0;if(!C[d+352>>2]){c=Eg(25433);if(!(!c|D[c|0]==48)){wf(c,16581)}d=C[105668];C[d+352>>2]=1}b:{c:{c=C[d+156>>2];d:{if(!c|!C[d+160>>2]){break d}if((Fe[c|0](d,a,b+28|0,b+24|0,b+20|0)|0)<0){break d}c=C[a+112>>2];if(c){break b}if(Ij(C[b+28>>2],b+16|0,b+12|0,b+8|0,b+4|0,b)){break c}}c=0;C[a+112>>2]=0;break a}c=yl(C[b+24>>2],C[a+24>>2],C[a+28>>2],C[b+16>>2],C[b+20>>2],C[b+12>>2],C[b+8>>2],C[b+4>>2],C[b>>2]);C[a+112>>2]=c;if(c){break b}c=0;break a}C[a+116>>2]=1;C[c>>2]=C[c>>2]|4}Ce=b+32|0;return c}function CI(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=0,i=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=I(g,3);a:{if(g>>>0<4){break a}i=g>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+h|0;f=c+g|0;if(g&4){f=f-4|0;e=G[f>>2];G[d-8>>2]=e;C[d-4>>2]=0;d=d-12|0;G[d>>2]=e;c=i-1|0}else{c=i}if((i|0)==1){break a}while(1){e=G[f-4>>2];G[d-8>>2]=e;C[d-4>>2]=0;G[d-12>>2]=e;f=f-8|0;e=G[f>>2];G[d-20>>2]=e;C[d-16>>2]=0;d=d-24|0;G[d>>2]=e;c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Bp(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!(!a|(b|0)==(c|0))){e=a>>31|1;e=(b|0)<0?0-e|0:e;h=(c|0)<0?0-e|0:e;e=2147483647;a:{if(!c){break a}d=c;c=c>>31;c=(d^c)-c|0;b:{d=b;b=b>>31;b=(d^b)-b|0;d=a;a=a>>31;a=(d^a)-a|0;if(b+a>>>0<=131071){a=I(a,b);break b}f=b>>>16|0;d=a>>>16|0;g=I(f,a&65535)+I(d,b&65535)|0;a=I(a,b);d=((g>>>16|0)+I(d,f)|0)+(a>>>0>>0)|0;if(!d){break b}if(c>>>0<=d>>>0){break a}b=L(d);f=32-b|0;d=a>>>f|d<>>0)/(c>>>0)|0;d=d-I(c,e)|0;a=a<>>31;f=d>>>0>=c>>>0;d=d-(f?c:0)|0;e=f|e<<1;f=b^31;a=a<<1}if((b|0)==31){break a}while(1){d=d<<1|a>>>31;b=d>>>0>=c>>>0;d=a>>>30&1|d-(b?c:0)<<1;g=d>>>0>=c>>>0;d=d-(g?c:0)|0;e=g|(e<<2|b<<1);a=a<<2;f=f-2|0;if(f){continue}break}break a}e=(a>>>0)/(c>>>0)|0}a=(h|0)<0?0-e|0:e}return a}function gl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break b}d=D[a|0]|D[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}d=(d<<8|d>>>8)&65535;h=d<<1;if(h>>>0>e-g>>>0){break b}e=f-h|0;C[b+12>>2]=e;if((e|0)<=0){break b}g=d>>>0<=1?1:d;f=0;while(1){e=((f<<1)+a|0)+2|0;if(e>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break a}h=C[c>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[e|0]|D[e+1|0]<<8;c:{if(!d){break c}if(og(h+((d<<8|d>>>8)&65535)|0,b)){break c}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[e|0]=0;A[e+1|0]=0}i=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return i}return 0}function ZH(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=20){g=(f>>>0)/20|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=J(G[c+8>>2]*J(.05882352963089943));G[d>>2]=J(G[c>>2]*J(.9411764740943909))+e;G[d+4>>2]=J(G[c+4>>2]*J(.9411764740943909))+e;G[d+8>>2]=e+J(G[c+12>>2]*J(.9411764740943909));G[d+12>>2]=e+J(G[c+16>>2]*J(.9411764740943909));d=d+16|0;c=c+20|0;g=g-1|0;if(g){continue}break}}c=(f|0)/5<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function hq(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{switch(D[a|0]){case 0:if(!b|c>>>0<2){break b}e=1;a=a+1|0;while(1){d=(a+(e<<1)|0)-2|0;d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return e}e=e+1|0;if((e|0)!=(c|0)){continue}break};break b;case 1:if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+I(e,3)|0;f=D[a+2|0];a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break};break b;case 2:break c;default:break b}}if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+(e<<2)|0;f=D[a+2|0]|D[a+3|0]<<8;f=(f<<8|f>>>8)&65535;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}}return 0}return(b+d|0)-a|0}function $I(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(a>>>0<=8){return kf(b)|0}c=16;d=a>>>0<=16?16:a;a:{if(!(d-1&d)){a=d;break a}while(1){a=c;c=a<<1;if(a>>>0>>0){continue}break}}b:{if(-64-a>>>0<=b>>>0){C[105773]=48;b=0;break b}d=b>>>0<11?16:b+11&-8;c=kf((d+a|0)+12|0);b=0;if(!c){break b}b=c-8|0;c:{if(!(c&a-1)){a=b;break c}f=c-4|0;g=C[f>>2];e=a;a=((a+c|0)-1&0-a)-8|0;a=(a-b>>>0<=15?e:0)+a|0;c=a-b|0;e=(g&-8)-c|0;if(!(g&3)){b=C[b>>2];C[a+4>>2]=e;C[a>>2]=b+c;break c}C[a+4>>2]=e|C[a+4>>2]&1|2;e=a+e|0;C[e+4>>2]=C[e+4>>2]|1;C[f>>2]=c|C[f>>2]&1|2;e=b+c|0;C[e+4>>2]=C[e+4>>2]|1;cm(b,c)}b=C[a+4>>2];d:{if(!(b&3)){break d}c=b&-8;if(c>>>0<=d+16>>>0){break d}C[a+4>>2]=d|b&1|2;b=a+d|0;d=c-d|0;C[b+4>>2]=d|3;c=a+c|0;C[c+4>>2]=C[c+4>>2]|1;cm(b,d)}b=a+8|0}return b|0}function Vn(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;tu(f+8|0,C[97727]);e=C[f+12>>2];c=C[f+8>>2];C[97730]=c;C[97731]=e;a:{if(e){g=c;C[97722]=0;C[97723]=0;i=e&1;if((e|0)==1){c=0;break a}e=e&-2;c=0;while(1){b:{if(D[d+g|0]==10){if((a|0)>(c|0)){C[97723]=a;c=a}b=b+1|0;C[97722]=b;a=0;break b}a=a+1|0}if(D[(d|1)+g|0]!=10){a=a+1|0}else{if((a|0)>(c|0)){C[97723]=a;c=a}b=b+1|0;C[97722]=b;a=0}d=d+2|0;h=h+2|0;if((h|0)!=(e|0)){continue}break}break a}Tg(34805,0);ea(1);s()}if(!(!i|D[d+g|0]!=10)){if((a|0)>(c|0)){C[97723]=a;c=a}b=b+1|0;C[97722]=b}j=390896,k=df(b,4),C[j>>2]=k;a=df(b,4);C[97725]=a;if(a){d=0;if((b|0)>0){while(1){a=df(c,4);C[C[97725]+(d<<2)>>2]=a;d=d+1|0;if((d|0)!=(b|0)){continue}break}}Ce=f+16|0;return}La(25743,15072,42,3231);s()}function Tv(a,b){var c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;a:{b:{switch(C[a+44>>2]){case 1:C[a>>2]=b;C[a+4>>2]=b+11796480;d=Sv(a,0);break a;case 2:e=C[a+60>>2];Vf(c,e,b+5898240|0);d=c+8|0;Vf(d,e,b);C[c+8>>2]=C[c+8>>2]+(C[c>>2]+C[a+8>>2]|0);C[c+12>>2]=C[c+12>>2]+(C[c+4>>2]+C[a+12>>2]|0);f=a- -64|0;d=ig(f,d,0);if(d){break a}Vf(c,e,b-5898240|0);d=c+8|0;Vf(d,e,b);C[c+8>>2]=C[c+8>>2]+(C[a+8>>2]+C[c>>2]|0);C[c+12>>2]=C[c+12>>2]+(C[a+12>>2]+C[c+4>>2]|0);d=ig(f,d,0);break a;case 0:break b;default:break a}}d=c+8|0;e=C[a+60>>2];Vf(d,e,b+5898240|0);C[c+8>>2]=C[c+8>>2]+C[a+8>>2];C[c+12>>2]=C[c+12>>2]+C[a+12>>2];f=a- -64|0;d=ig(f,d,0);if(d){break a}d=c+8|0;Vf(d,e,b-5898240|0);C[c+8>>2]=C[c+8>>2]+C[a+8>>2];C[c+12>>2]=C[c+12>>2]+C[a+12>>2];d=ig(f,d,0)}Ce=c+16|0;return d}function pH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);f=e<<1;a:{if(e>>>0<2){break a}g=e>>>1|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=b+e|0;d=b+f|0;if(e&2){d=d-4|0;c=c-2|0;G[d>>2]=J(J(E[c>>1])*J(30517578125e-15))+J(-1);b=g-1|0}else{b=g}if((g|0)==1){break a}while(1){G[d-4>>2]=J(J(E[c-2>>1])*J(30517578125e-15))+J(-1);d=d-8|0;c=c-4|0;G[d>>2]=J(J(E[c>>1])*J(30517578125e-15))+J(-1);b=b-2|0;if(b){continue}break}}A[a+24|0]=f;A[a+25|0]=f>>>8;A[a+26|0]=f>>>16;A[a+27|0]=f>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function VH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=24){e=(d>>>0)/24|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+20>>2]*J(.1666666716337204))+J(J(G[c+16>>2]*J(.1666666716337204))+J(J(G[c+12>>2]*J(.1666666716337204))+J(J(G[c+8>>2]*J(.1666666716337204))+J(J(G[c>>2]*J(.1666666716337204))+J(G[c+4>>2]*J(.1666666716337204))))));f=f+4|0;c=c+24|0;e=e-1|0;if(e){continue}break}}c=(d|0)/6|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function HH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/7<<3;if(d>>>0>=28){g=(d>>>0)/28|0;h=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h+c|0;d=d+h|0;while(1){f=G[d-12>>2];G[e-4>>2]=G[d-4>>2];i=G[d-8>>2];f=J(f*J(.7070000171661377));G[e-12>>2]=f;G[e-8>>2]=i;G[e-16>>2]=f;G[e-20>>2]=G[d-16>>2];G[e-24>>2]=G[d-20>>2];G[e-28>>2]=G[d-24>>2];e=e-32|0;d=d-28|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function nv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|a>>>0>=b>>>0){break a}g=a+1|0;d=A[a|0];a=0;e=52;b:{while(1){f=a+e|0;c=f&-2;c=(D[c+289938|0]<<8|D[c+289939|0])+289936|0;h=D[c|0]&127;if((h|0)==(d|0)){break b}c=f>>1;f=(d|0)>(h|0);a=f?c+1|0:a;e=f?e:c;if((a|0)<(e|0)){continue}break}return 0}c:{if(b>>>0<=g>>>0){d=D[c|0];break c}d=D[c|0];while(1){a=D[c+1|0];e=a&127;h=d<<24>>24;f=D[g|0];d=a<<24>>24;d:{e:{if((h|0)<0){if((e|0)!=(f|0)){break e}c=c+1|0;break d}if(!e){break a}a=(((d|0)>=0?1:3)+c|0)+1|0;while(1){c=(D[a+1|0]|D[a|0]<<8)+289936|0;d=D[c|0];if((f|0)==(d&127)){break d}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}return 0}g=g+1|0;if((g|0)!=(b|0)){continue}break}}if(d<<24>>24<0|A[c+1|0]>=0){break a}return D[c+3|0]|D[c+2|0]<<8}return 0}function ig(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-16|0;Ce=g;a:{b:{c:{if(D[a+16|0]){e=C[b+4>>2];d=(C[a+8>>2]+(C[a>>2]<<3)|0)-8|0;C[d>>2]=C[b>>2];C[d+4>>2]=e;break c}d=C[a>>2];d:{if(!d){break d}e=C[a+8>>2]+(d-1<<3)|0;if((C[e>>2]-C[b>>2]|0)+1>>>0>2){break d}if((C[e+4>>2]-C[b+4>>2]|0)+1>>>0<3){break a}}e=C[a+4>>2];C[g+12>>2]=0;f=d+1|0;e:{if(f>>>0<=e>>>0){h=C[a+12>>2];break e}h=C[a+24>>2];d=e;while(1){d=((d>>>1|0)+d|0)+16|0;if(f>>>0>d>>>0){continue}break}i=a,j=Ve(h,8,e,d,C[a+8>>2],g+12|0),C[i+8>>2]=j;f=C[g+12>>2];if(f){break b}h=Ve(h,1,e,d,C[a+12>>2],g+12|0);C[a+12>>2]=h;f=C[g+12>>2];if(f){break b}C[a+4>>2]=d;d=C[a>>2]}e=C[b+4>>2];f=C[a+8>>2]+(d<<3)|0;C[f>>2]=C[b>>2];C[f+4>>2]=e;A[d+h|0]=1;C[a>>2]=C[a>>2]+1}f=0}A[a+16|0]=c}Ce=g+16|0;return f}function Eo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(b>>>0>c>>>0){break a}f=C[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=C[a+8>>2];f=C[g+(d<<3)>>2];g=C[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}d=C[a+4>>2];f=f<<3;h=C[d+f>>2];k=f;f=C[a>>2];l=C[k+f>>2];n=h-l|0;e=e<<3;j=C[e+d>>2];m=C[e+f>>2];o=j-m|0;if(!((h|0)==(j|0)|(g|0)==(i|0))){k=i-g|0;e=h-j|0;i=0;while(1){h=b<<3;f=C[h+C[a>>2]>>2];c:{if((f|0)<=(m|0)){f=f+o|0;break c}if((f|0)>=(l|0)){f=f+n|0;break c}if(!p){i=Ze(e,k)}f=Te(C[h+C[a+8>>2]>>2]-g|0,i)+j|0;d=C[a+4>>2];p=1}C[d+h>>2]=f;b=b+1|0;if(c>>>0>=b>>>0){continue}break}break a}while(1){a=b<<3;e=C[a+f>>2];C[a+d>>2]=(e|0)>(m|0)?(e|0)<(l|0)?j:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function sq(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=C[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=C[b+12>>2];h=f-4|0;C[b+12>>2]=h;if((h|0)<=0){break a}h=A[a|0];if((h|0)<0){break a}d=D[a+3|0]|(D[a+1|0]<<16|(h&255)<<24|D[a+2|0]<<8);if(d){c=c+d|0;b:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break b}g=f-8|0;C[b+12>>2]=g;if((g|0)<=0){break b}d=D[c+2|0]|D[c+3|0]<<8;f=(d<<8|d>>>8)&65535;d=D[c|0]|D[c+1|0]<<8;f=I(f,(d<<8|d>>>8)&65535);if(f>>>0>715827881){break b}d=1;if(!f){break a}c=c+4|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=I(f,6);if(e>>>0>>0){break b}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break a}}d=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}d=1}return d}function ry(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;a:{b:{c:{d:{e=D[c|0]|D[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=a;a=D[c+2|0]|D[c+3|0]<<8;a=d-((a<<8|a>>>8)&65535)|0;d=((a<<1)+c|0)+6|0;c=D[c+4|0]|D[c+5|0]<<8;a=a>>>0>=((c<<8|c>>>8)&65535)>>>0?205712:d;break b}g=206102;d=D[c+2|0]|D[c+3|0]<<8;e:{if(!d){break e}h=c+4|0;c=((d<<8|d>>>8)&65535)-1|0;d=0;while(1){e=c+d>>>1|0;f=I(e,6)+h|0;i=D[f|0]|D[f+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=a>>>0){d=D[f+2|0]|D[f+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=e+1|0;break f}g=I(e,6)+h|0;break e}c=e-1|0}if((c|0)>=(d|0)){continue}break}}a=g+4|0}a=D[a|0]|D[a+1|0]<<8;d=(a<<8|a>>>8)&65535}a=D[b|0]|D[b+1|0]<<8;return((a<<8|a>>>8)&65535)==(d|0)|0}function Xv(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;c=6;a:{if(!a|!b){break a}c=C[b>>2];f=C[a+8>>2];C[d+8>>2]=c-f;g=C[b+4>>2];e=C[a+12>>2];C[d+12>>2]=g-e;if((c|0)==(f|0)){c=0;if((g|0)==(e|0)){break a}}c=d+8|0;g=um(c);f=Cg(C[d+8>>2],C[d+12>>2]);Vf(c,C[a+60>>2],f+5898240|0);b:{if(D[a+20|0]){c=cp(a,f,g);if(!c){break b}break a}C[a+4>>2]=f;e=gg(C[a>>2],f);if(!e){break b}c=Wv(a,e>>>31|0,g);if(c){break a}c=ck(a,(e^-1)>>>31|0,g);if(c){break a}}C[d>>2]=C[d+8>>2]+C[b>>2];C[d+4>>2]=C[d+12>>2]+C[b+4>>2];c=ig(a- -64|0,d,1);if(c){break a}c=C[d+8>>2];C[d+8>>2]=0-c;e=C[d+12>>2];C[d+12>>2]=0-e;C[d>>2]=C[b>>2]-c;C[d+4>>2]=C[b+4>>2]-e;c=ig(a+96|0,d,1);if(c){break a}C[a>>2]=f;c=C[b+4>>2];b=C[b>>2];C[a+16>>2]=g;C[a+8>>2]=b;C[a+12>>2]=c;c=0}Ce=d+16|0;return c}function li(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!C[105556]){break a}b:{if(C[105669]|a){break b}c:{if(!C[105582]){if(!C[105581]){break b}d=C[105584];if((d|0)<=0){break b}a=0;e=C[105585];if((d|0)!=1){g=d&-2;while(1){c=(b<<3)+e|0;if(C[c>>2]!=-1){a=C[c+4>>2]|a}c=((b|1)<<3)+e|0;if(C[c>>2]!=-1){a=C[c+4>>2]|a}b=b+2|0;f=f+2|0;if((f|0)!=(g|0)){continue}break}}d:{if(!(d&1)){break d}b=(b<<3)+e|0;if(C[b>>2]==-1){break d}a=C[b+4>>2]|a}b=0;if(!a){break b}if(!C[105569]){break c}break b}if(C[105569]){break b}}b=C[104774]}a=C[105583];if((a|0)==(b|0)){break a}if(a){C[a+48>>2]=C[a+48>>2]&-16385}if(b){C[b+48>>2]=C[b+48>>2]|16384}C[105583]=b;if((Fe[C[105556]](b)|0)>=0){break a}if(a){C[a+48>>2]=C[a+48>>2]|16384}if(b){C[b+48>>2]=C[b+48>>2]&-16385}C[105583]=a}}function yl(a,b,c,d,e,f,g,h,i){var j=0;j=Ce-48|0;Ce=j;a:{if((b|0)<0){C[j>>2]=14820;Qe(19745,j);i=0;break a}if((c|0)<0){C[j+16>>2]=4382;Qe(19745,j+16|0);i=0;break a}f=Jl(d,f,g,h,i);if(!f){i=0;Qe(4953,0);break a}b:{c:{d:{if((f&-268435456)==268435456){d=f>>>8&255;if(d>>>0<=7){break c}i=f&255;break d}i=2;if((f|0)==844715353|(f|0)==1498831189){break d}i=(f|0)==1431918169?2:1}g=-1;d=mT(b,0,i,0);if(Ee){break b}g=d;break b}g=-1;d=mT(b,0,d,0);if(Ee){break b}h=d;d=d+7|0;if(h>>>0>d>>>0){break b}g=d>>>3|0}i=0;if(!((e|0)>=0&e>>>0>=g>>>0)){C[j+32>>2]=14968;Qe(19745,j+32|0);break a}d=Vh(0,0,f);if(!d){break a}C[d+20>>2]=a;C[d+36>>2]=0;C[d+40>>2]=0;C[d+16>>2]=e;C[d+12>>2]=c;C[d+8>>2]=b;C[d+48>>2]=c;C[d+44>>2]=b;C[d>>2]=C[d>>2]|1;i=d}Ce=j+48|0;return i}function ru(a,b,c,d,e,f){var g=0,h=0,i=0;i=Ce-1024|0;Ce=i;a:{b:{c:{if(C[a+216>>2]==(b|0)){h=C[d>>2];b=C[f>>2];C[a+220>>2]=c;d:{if(e){C[a+232>>2]=e;C[a+224>>2]=h;g=-1;break d}C[a+224>>2]=h;C[a+232>>2]=i;g=1024}g=b>>>0>>0?b:g;C[a+236>>2]=g;b=b-g|0;if(!(!D[a+432|0]|!h)){if(A[c|0]<0){break c}A[a+432|0]=0}h=a+220|0;c=bm(h,!b<<2);if(c){break b}while(1){b=C[a+236>>2]+b|0;c=-1;if(!e){C[a+232>>2]=i;c=1024}g=C[a+224>>2];c=b>>>0>>0?b:c;C[a+236>>2]=c;b=b-c|0;if(!(!D[a+432|0]|!g)){if(A[C[h>>2]]<0){break c}A[a+432|0]=0}c=bm(h,!b<<2);if(!c){continue}break}break b}C[a+244>>2]=20578;c=-2;break a}C[a+244>>2]=32909;c=-3}if(!e){C[a+232>>2]=0}e=C[a+224>>2];b=C[a+236>>2]+b|0;if(b){C[f>>2]=C[f>>2]-b}if(e){C[d>>2]=C[d>>2]-e}tj(a,c)}Ce=i+1024|0;return c}function Bw(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;C[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=C[g+28>>2];j=C[g+24>>2];k=C[g+20>>2];h=C[g+16>>2];l=C[g+12>>2];i=C[g+8>>2];f=C[g+4>>2];g=C[g>>2];q=d;e=Te(c+e|0,a);if(L(b)+L(e)>>>0<=16){c=j<<16}else{c=Te(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=Ze(f<<16,b);break a}b:{c:{d:{n=i<<16;e:{if((n|0)>(c|0)){c=Ze(d,b);if((g|0)==(i|0)){break e}b=of(e-c|0,l-f|0,i-g|0)+Ze(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=Ze(n,b);if((h|0)==(i|0)){f=h<<16;break c}b=of(e-c|0,k-l|0,h-i|0)+Ze(l<<16,b)|0;break a}if((c|0)>=j<<16){break b}}c=Ze(f,b);if((h|0)==(j|0)){break b}b=of(e-c|0,m-k|0,j-h|0)+Ze(k<<16,b)|0;break a}b=Ze(m<<16,b)}C[q>>2]=b;a=Ze(b,a<<1)}else{a=0}C[o>>2]=p+a}}function wB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-1440|0;Ce=f;a=C[a+132>>2];Ha()|0;a:{if(!a){break a}if(Ga(C[a>>2],f+8|0)|0){break a}d=H[f+8>>3];if(d!=0&d==H[a+32>>3]){break a}e=C[a+20>>2];if((e|0)>0){while(1){b=c<<2;h=(b+a|0)+1064|0;g=C[h>>2];b=(b+f|0)+1048|0;i=C[b>>2];if((g|0)!=(i|0)){Ys(C[a+16>>2],c&255,(i|0)!=0);g=C[b>>2];e=C[a+20>>2]}b=c<<3;H[(b+a|0)+552>>3]=H[(b+f|0)+536>>3];C[h>>2]=g;c=c+1|0;if((e|0)>(c|0)){continue}break}}e=C[a+24>>2];if((e|0)>0){c=0;while(1){b=c<<3;g=b+a|0;b=b+f|0;d=H[b+24>>3];if(d!=H[g+40>>3]){h=C[a+16>>2];i=c&255;d=d*32767;b:{if(K(d)<2147483648){e=~~d;break b}e=-2147483648}Pn(h,i,e);d=H[b+24>>3];e=C[a+24>>2]}H[g+40>>3]=d;c=c+1|0;if((e|0)>(c|0)){continue}break}}H[a+32>>3]=H[f+8>>3]}Ce=f+1440|0}function bi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{if(c-37>>>0<4294967261){break b}d=C[a>>2];if(d>>>0>=b>>>0){break b}c:{d:{e=D[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}k=(e|0)==45}h=2147483647/(c>>>0)|0;e:{f:{if(b>>>0<=d>>>0){C[a>>2]=d;break f}l=I(c,h)^2147483647;g:{while(1){j=i;h:{e=D[d|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=A[e+288256|0];if((e|0)<0|(c|0)<=(e|0)){break g}i=1;g=f;i:{if((f|0)>(h|0)){break i}if((f|0)==(h|0)){g=h;if((e|0)>(l|0)){break i}}i=j;g=e+I(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}j=i;d=b}C[a>>2]=d;a=2147483647;if(j&255){break e}}a=f}f=k?0-a|0:a}return f}return 0}function Ou(a){var b=0,c=0,d=0,e=0;c=C[C[a>>2]+100>>2];b=C[a+292>>2];if(b){C[b+440>>2]=0;d=C[b+8>>2];e=C[b+24>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+20>>2]=0;C[b+24>>2]=0;e=C[b+436>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+436>>2]=0;C[b+428>>2]=0;C[b+432>>2]=0;e=C[b+392>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+388>>2]=0;C[b+392>>2]=0;C[b>>2]=0;C[b+4>>2]=0;if(b){Fe[C[d+8>>2]](d,b)}C[a+292>>2]=0}b=C[a+244>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+240>>2]=0;C[a+244>>2]=0;b=C[a+252>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+248>>1]=0;C[a+252>>2]=0;Io(a+256|0);b=C[a+124>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+124>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+128>>2]=0;C[a+132>>2]=0;C[a+116>>2]=0;C[a+120>>2]=0;C[a+136>>2]=0;C[a+140>>2]=0;C[a+144>>2]=0;C[a+296>>2]=-1;C[a+300>>2]=-1}function xj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=C[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}g=C[b+12>>2];h=g-2|0;C[b+12>>2]=h;e=1;if((h|0)<=0){break a}b:{c:{d:{c=D[c|0]|D[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=f>>>0){break d}break a}if(a>>>0>>0|a>>>0>d>>>0){break a}f=d-a|0;if(f>>>0<6){break a}c=g-8|0;C[b+12>>2]=c;if((c|0)<=0){break a}e=D[a+2|0]|D[a+3|0]<<8;g=(e<<8|e>>>8)&65535;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;d=c-6|0;if(g>>>0>>0){break c}e=1;a=(g-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}e=0;if(a>>>0>f>>>0){break b}d=c-a|0;break c}if(a>>>0>d>>>0){break a}e=0;if(d-a>>>0<6){break b}d=g-8|0}C[b+12>>2]=d;e=(d|0)>0}return e}return 0}function eE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];d=b;c=s;while(1){e=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=e&255;i=e>>>8&255;j=e>>>16&255;if(r){i=(I(i,o)>>>0)/255|0;j=(I(j,p)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}e=e>>>24|0;C[d>>2]=h|i<<8|j<<16|(q?(I(e,m)>>>0)/255|0:e)<<24;d=d+4|0;c=c+k|0;f=f-1|0;if(f){continue}break}d=C[a+28>>2]}else{d=c}c=d-1|0;C[a+28>>2]=c;g=g+l|0;b=C[a+32>>2]+b|0;if(d){continue}break}C[a+20>>2]=b}}function dD(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];d=b;c=s;while(1){e=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=e>>>24|0;i=e>>>8&255;j=e>>>16&255;if(r){i=(I(i,p)>>>0)/255|0;j=(I(j,o)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}e=e&255;C[d>>2]=h|j<<8|i<<16|(q?(I(e,m)>>>0)/255|0:e)<<24;d=d+4|0;c=c+k|0;f=f-1|0;if(f){continue}break}d=C[a+28>>2]}else{d=c}c=d-1|0;C[a+28>>2]=c;g=g+l|0;b=C[a+32>>2]+b|0;if(d){continue}break}C[a+20>>2]=b}}function aO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;a:{if(C[a+4>>2]){break a}c=6;b:{if(C[a+12>>2]!=1){break b}g=C[a>>2];c=C[a+28>>2];if(c){C[(C[a+36>>2]+(c<<4)|0)-4>>2]=b}d=c+1|0;f=C[a+32>>2];c:{if(d>>>0<=f>>>0){f=C[a+36>>2];break c}C[e+8>>2]=0;h=(c&-8)+8|0;f=Ve(g,16,f,h,C[a+36>>2],e+8|0);C[a+36>>2]=f;c=C[e+8>>2];if(c){break b}C[a+32>>2]=h}c=((d<<4)+f|0)-16|0;C[c+12>>2]=0;C[c>>2]=0;C[a+28>>2]=d;c=C[a- -64>>2];if(c){C[(C[a+72>>2]+(c<<4)|0)-4>>2]=b}b=c+1|0;d=C[a+68>>2];d:{if(b>>>0<=d>>>0){g=C[a+72>>2];break d}C[e+12>>2]=0;f=d;d=(c&-8)+8|0;g=Ve(g,16,f,d,C[a+72>>2],e+12|0);C[a+72>>2]=g;c=C[e+12>>2];if(c){break b}C[a+68>>2]=d}c=((b<<4)+g|0)-16|0;C[c+12>>2]=0;C[c>>2]=0;C[a+64>>2]=b;break a}C[a+4>>2]=c}Ce=e+16|0}function MD(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];d=b;c=s;while(1){e=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=e>>>24|0;i=e>>>8&255;j=e>>>16&255;if(r){i=(I(i,n)>>>0)/255|0;j=(I(j,o)>>>0)/255|0;h=(I(h,p)>>>0)/255|0}e=e&255;C[d>>2]=j<<8|i|h<<16|(q?(I(e,m)>>>0)/255|0:e)<<24;d=d+4|0;c=c+k|0;f=f-1|0;if(f){continue}break}d=C[a+28>>2]}else{d=c}c=d-1|0;C[a+28>>2]=c;g=g+l|0;b=C[a+32>>2]+b|0;if(d){continue}break}C[a+20>>2]=b}}function It(a,b,c,d){a:{switch(b-9|0){case 0:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=C[b>>2];return;case 6:b=C[c>>2];C[c>>2]=b+4;b=B[b>>1];C[a>>2]=b;C[a+4>>2]=b>>31;return;case 7:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=E[b>>1];C[a+4>>2]=0;return;case 8:b=C[c>>2];C[c>>2]=b+4;b=A[b|0];C[a>>2]=b;C[a+4>>2]=b>>31;return;case 9:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=D[b|0];C[a+4>>2]=0;return;case 16:b=C[c>>2]+7&-8;C[c>>2]=b+8;H[a>>3]=H[b>>3];return;case 17:Fe[d|0](a,c);default:return;case 1:case 4:case 14:b=C[c>>2];C[c>>2]=b+4;b=C[b>>2];C[a>>2]=b;C[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=C[b>>2];C[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=C[c>>2]+7&-8;C[c>>2]=b+8;c=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=c}function $o(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,o=0;h=8-c|0;k=pm(a,4<>2]=k;l=+(d|0)*1e-5;m=1<<15-c;j=-1<<16-c^-1;n=1/+(j|0);o=d-95e3>>>0<10001;while(1){i=Mi(a,512);C[(f<<2)+k>>2]=i;d=0;b=0;a:{if(!o){while(1){e=(d<<1)+i|0;g=O(Hh(n*+((d<>>0),l)*65535+.5);b:{if(g<4294967296&g>=0){b=~~g>>>0;break b}b=0}B[e>>1]=b;b=d|1;e=(b<<1)+i|0;g=O(Hh(n*+((b<>>0),l)*65535+.5);c:{if(g<4294967296&g>=0){b=~~g>>>0;break c}b=0}B[e>>1]=b;d=d+2|0;if((d|0)!=256){continue}break a}}while(1){d=(b<>>0)/(j>>>0)|0}B[e>>1]=d;e=b|1;d=(e<>>0)/(j>>>0)|0}B[e>>1]=d;b=b+2|0;if((b|0)!=256){continue}break}}f=f+1|0;if(!(f>>>h|0)){continue}break}}function am(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;e=Fe[C[94503]](44)|0;if(e){C[94507]=C[94507]+1}a:{if(!e){b=_e(0);break a}f=Og(a);C[e+8>>2]=f;if(!f){if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}b=_e(0);break a}C[e+4>>2]=f;C[e+36>>2]=0;lf(e+12|0,0,24);C[e>>2]=b;b=C[c>>2];b:{if(!b){break b}while(1){if(uf(a,C[b+8>>2])){b=C[b+40>>2];if(b){continue}break b}break}f=C[b+36>>2];h=f+1|0;if(!h){break b}i=af(a)+16|0;b=i;b=Fe[C[94503]](b>>>0<=1?1:b)|0;if(b){C[94507]=C[94507]+1}if(!b){a=C[e+8>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}b=_e(0);break a}C[g>>2]=a;C[g+4>>2]=f+2;rf(b,i,33809,g);C[e+4>>2]=b;C[e+36>>2]=h}C[e+40>>2]=C[c>>2];C[c>>2]=e;b=C[d>>2];C[d>>2]=b+1}Ce=g+16|0;return b}function GA(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b+164>>2];if(c){ya(C[c+12>>2],0,0,0,2)|0;xa(C[c+12>>2],0,0,0,2)|0;wa(1,0,0,0,2)|0;va(C[c+12>>2],0,0,0,2)|0;ua(C[c+12>>2],0,0,0,2)|0;ta(C[c+12>>2],0,0,0,2)|0;sa(2,0,0,0,2)|0;ra(2,0,0,0,2)|0;qa(C[c+12>>2],0,0,0,2)|0;pa(C[c+12>>2],0,0,0,2)|0;oa(C[c+12>>2],0,0,0,2)|0;na(C[c+12>>2],0,0,0,2)|0;ma(1,0,0,0,2)|0;d=Eg(23371);d=d?d:2;la(d|0,0,0,0,2)|0;ka(d|0,0,0,0,2)|0;ja(d|0,0,0,0,2)|0;ia(1,0,0,0,2)|0;ha(2,0,0,0,2)|0;ga(0,0,0,2)|0;fa(0,0,1)|0;d=C[c>>2];if(d){a:{if(!d){break a}a=C[a+1080>>2];if(!a){break a}Fe[C[a+88>>2]](C[a+8>>2],d)|0}C[c>>2]=0}V(C[c+12>>2],0,0)|0;a=C[c+12>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=C[b+164>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}C[b+164>>2]=0}}function wD(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;e=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];b=e;c=s;while(1){d=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=d&255;i=d>>>8&255;j=d>>>16&255;d=d>>>24|0;f=f-1|0;if(r){i=(I(i,o)>>>0)/255|0;h=(I(h,p)>>>0)/255|0;j=(I(j,n)>>>0)/255|0}C[b>>2]=i<<8|j|h<<16|(q?(I(d,m)>>>0)/255|0:d)<<24;b=b+4|0;c=c+k|0;if(f){continue}break}c=C[a+28>>2]}b=c;c=b-1|0;C[a+28>>2]=c;g=g+l|0;e=C[a+32>>2]+e|0;if(b){continue}break}C[a+20>>2]=e}}function gp(a,b,c,d){var e=0,f=0,g=0,h=0;if(!a){return 33}e=Ce-16|0;Ce=e;f=6;a=C[a>>2];a:{if(!a|!d){break a}C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}f=10;if(b>>>0>32767){break a}g=d,h=Ve(a,8,0,b,0,e+12|0),C[g+4>>2]=h;b:{if(C[e+12>>2]){break b}g=d,h=Ve(a,1,0,b,0,e+12|0),C[g+8>>2]=h;if(C[e+12>>2]){break b}f=0;g=d,h=Ve(a,2,0,c,0,e+12|0),C[g+12>>2]=h;if(C[e+12>>2]){break b}B[d>>1]=c;B[d+2>>1]=b;C[d+16>>2]=C[d+16>>2]|1;break a}C[d+16>>2]=C[d+16>>2]|1;b=C[d+4>>2];if(b){Fe[C[a+8>>2]](a,b)}C[d+4>>2]=0;b=C[d+8>>2];if(b){Fe[C[a+8>>2]](a,b)}C[d+8>>2]=0;b=C[d+12>>2];if(b){Fe[C[a+8>>2]](a,b)}C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;f=C[e+12>>2]}Ce=e+16|0;return f}function aD(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,j=0,k=0,l=0,m=0,n=0;i=1;f=1;if(D[c|0]&2){e=mh(c);i=e>>>31|0;f=(e^-1)>>>31|0}a:{b:{e=D[a|0]&2;if(!e){break b}if((mh(a)|0)>=0){break b}j=1;f=-1;break a}j=!e;if(!f){f=-1;break a}f=0;if(!b){break a}g=C[b+8>>2];if((g|0)<=0){break a}k=C[b+12>>2];if((k|0)<=0){break a}e=C[a+52>>2];h=D[C[e+56>>2]+9|0];l=E[b>>1];m=C[a+20>>2];n=E[b+4>>1];b=C[a+16>>2];C[e+28>>2]=b;C[e+24>>2]=k;C[e+20>>2]=g;C[e+32>>2]=b-I(g,h);C[e+16>>2]=(I(b,n)+m|0)+I(h,l);b=C[c+16>>2];g=D[C[e+60>>2]+9|0];C[e+36>>2]=(C[c+20>>2]+I(b,E[d+4>>1])|0)+I(g,E[d>>1]);h=C[d+8>>2];C[e+40>>2]=h;C[e+44>>2]=C[d+12>>2];C[e+52>>2]=b-I(g,h);C[e+48>>2]=b;Fe[C[e+12>>2]](e+16|0)}if(!i){Yg(c)}if(!j){Yg(a)}return f|0}function gr(a,b){var c=0,d=0,e=0;d=Ce+-64|0;Ce=d;a:{b:{c:{c=Eg(26884);d:{if(!c){break d}C[d+16>>2]=a;C[d+20>>2]=b;e=d+32|0;rf(e,32,28769,d+16|0);e=Wh(c,e);if(!e){C[d+4>>2]=b;C[d>>2]=a;e=d+32|0;rf(e,32,28784,d);e=Wh(c,e);if(!e){break d}}c=af(d+32|0)+e|0;c=(yn(c,22172,18)?0:18)+c|0;if(c){break c}}c=a<<16|b;a=0;while(1){if((c|0)==C[I(a,12)+149648>>2]){b=a;break b}b=a|1;if((c|0)==C[I(b,12)+149648>>2]){break b}a=a+2|0;if((a|0)!=506){continue}break}a=30;break a}a=31;if(!Ng(c,29830,7)){break a}a=32;if(!Ng(c,17117,7)){break a}a=33;if(!Ng(c,29491,3)){break a}a=34;if(!Ng(c,29247,3)){break a}a=45;if(!Ng(c,29093,3)){break a}a=38;if(!Ng(c,11501,9)){break a}a=Ng(c,13060,5)?30:2;break a}a=C[I(b,12)+149652>>2]}Ce=d- -64|0;return a}function bI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=20){e=(d>>>0)/20|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+16>>2]*J(.20000000298023224))+J(J(G[c+12>>2]*J(.20000000298023224))+J(J(G[c+8>>2]*J(.20000000298023224))+J(J(G[c>>2]*J(.20000000298023224))+J(G[c+4>>2]*J(.20000000298023224)))));f=f+4|0;c=c+20|0;e=e-1|0;if(e){continue}break}}c=(d|0)/5|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Cp(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=a+60|0;c=C[C[b+20>>2]+12>>2];if(c){Fe[c|0](C[b+112>>2])}Re(C[b+48>>2]);C[b+48>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;Re(C[b+60>>2]);C[b+60>>2]=0;C[b+52>>2]=0;C[b+56>>2]=0;Re(C[b+84>>2]);C[b+84>>2]=0;C[b+76>>2]=0;C[b+80>>2]=0;Re(C[b+72>>2]);C[b+72>>2]=0;c=b- -64|0;C[c>>2]=0;C[c+4>>2]=0;Re(C[b+96>>2]);C[b+96>>2]=0;C[b+88>>2]=0;C[b+92>>2]=0;Re(C[b+108>>2]);C[b+108>>2]=0;C[b+100>>2]=0;C[b+104>>2]=0;Re(C[a+36>>2]);Re(a)}}function oN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=C[b>>2]+1|0;if(c>>>0<=65535){a=C[a+16>>2];g=a+518|0;h=a+6|0;while(1){a:{b:{if(c>>>0<=255){d=(c<<1&510)+h|0;a=g;if(!(D[d|0]<<8|D[d+1|0])){break b}break a}a=(c>>>7&33554430)+h|0;a=D[a|0]<<8|D[a+1|0]&248;if(!a){break a}a=a+g|0}f=D[a+7|0]|D[a+6|0]<<8;if(!f){break a}d=c&255;e=D[a+1|0]|D[a|0]<<8;c=(c&-256)+(d>>>0>e>>>0?d:e)|0;e=d-e|0;d=d>>>0>=e>>>0?e:0;e=D[a+3|0]|D[a+2|0]<<8;if(d>>>0>=e>>>0){break a}i=D[a+5|0]|D[a+4|0]<<8;a=a+6+(f+(d<<1))|0;while(1){c:{f=D[a+1|0]|D[a|0]<<8;if(!f){break c}f=f+i&65535;if(!f){break c}C[b>>2]=c;return f|0}a=a+2|0;c=c+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}c=(c&-256)+256|0;if(c>>>0<65536){continue}break}}C[b>>2]=0;return 0}function Qt(a,b,c,d,e,f){var g=0;g=Ce-80|0;Ce=g;a:{if((f|0)>=16384){Tf(g+32|0,b,c,d,e,0,0,0,2147352576);d=C[g+40>>2];e=C[g+44>>2];b=C[g+32>>2];c=C[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Tf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)>=49149?49149:f)-32766|0;d=C[g+24>>2];e=C[g+28>>2];b=C[g+16>>2];c=C[g+20>>2];break a}if((f|0)>-16383){break a}Tf(g- -64|0,b,c,d,e,0,0,0,7471104);d=C[g+72>>2];e=C[g+76>>2];b=C[g+64>>2];c=C[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Tf(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)<=-48920?-48920:f)+32538|0;d=C[g+56>>2];e=C[g+60>>2];b=C[g+48>>2];c=C[g+52>>2]}Tf(g,b,c,d,e,0,0,0,f+16383<<16);b=C[g+12>>2];C[a+8>>2]=C[g+8>>2];C[a+12>>2]=b;b=C[g+4>>2];C[a>>2]=C[g>>2];C[a+4>>2]=b;Ce=g+80|0}function Kf(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0>32){break b}d=C[a+12>>2];e=C[a+16>>2];if(C[a>>2]>=(e-4|0)){if(!d){break a}if((e|0)>2147483391){break b}d=mf(C[a+8>>2],e+256|0);if(!d){break b}C[a+8>>2]=d;C[a+16>>2]=C[a+16>>2]+256;d=d+C[a>>2]|0;C[a+12>>2]=d}e=d;f=D[d|0];d=C[(c<<2)+93312>>2]&b;b=C[a+4>>2];A[e|0]=f|d<>2]+1|0]=d>>>8-C[a+4>>2];if(b>>>0<16){break c}A[C[a+12>>2]+2|0]=d>>>16-C[a+4>>2];if(b>>>0<24){break c}A[C[a+12>>2]+3|0]=d>>>24-C[a+4>>2];if(b>>>0<32){break c}c=C[a+4>>2];A[C[a+12>>2]+4|0]=c?d>>>32-c|0:0}C[a+4>>2]=b&7;b=(b|0)/8|0;C[a>>2]=b+C[a>>2];C[a+12>>2]=b+C[a+12>>2];return}b=C[a+8>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}}function Yf(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){jf(a,b,c);return}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){break b}if(!(a&3)){break c}while(1){if(!c){break a}A[a|0]=D[b|0];b=b+1|0;c=c-1|0;a=a+1|0;if(a&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;A[d|0]=D[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;C[c+a>>2]=C[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;A[c+a|0]=D[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){A[a|0]=D[b|0];a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}}function VG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;d=C[a+40>>2];e=C[a+44>>2];a:{if(!(C[a- -64>>2]?0:C[a+60>>2])){Xl(C[a+52>>2]);break a}A[c+15|0]=0;A[c+13|0]=105;A[c+14|0]=105;b=D[a+10|0];f=C[a+16>>2];C[c>>2]=C[a+72>>2];C[c+4>>2]=(f>>>2>>>0)/(b>>>0);S(385853,c+13|0,c|0)|0;b=C[a+52>>2];if(!b){Fe[e|0](C[a+48>>2],C[a+72>>2],d);break a}if((Pj(b,C[a+72>>2],C[a+16>>2])|0)==-1){C[a+60>>2]=0}b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)<(d|0)){break a}while(1){if((gj(C[a+52>>2],C[a+72>>2],d)|0)!=(d|0)){lf(C[a+72>>2],D[a+35|0],d)}Fe[e|0](C[a+48>>2],C[a+72>>2],d);b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)>=(d|0)){continue}break}}Ce=c+16|0}function sH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);f=c<<2;a:{if(!c){break a}b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=b+c|0;e=b+f|0;if(c&1){e=e-4|0;d=d-1|0;G[e>>2]=J(J(D[d|0])*J(.0078125))+J(-1);b=c-1|0}else{b=c}if((c|0)==1){break a}while(1){G[e-4>>2]=J(J(D[d-1|0])*J(.0078125))+J(-1);e=e-8|0;d=d-2|0;G[e>>2]=J(J(D[d|0])*J(.0078125))+J(-1);b=b-2|0;if(b){continue}break}}A[a+24|0]=f;A[a+25|0]=f>>>8;A[a+26|0]=f>>>16;A[a+27|0]=f>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function Mn(a,b,c,d){var e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;a:{b:{if(D[a+49|0]&64){break b}Sh(a,f+12|0,f+8|0);if(!((b|c)<0|C[f+12>>2]<=(b|0))&C[f+8>>2]>(c|0)){break b}if(C[105559]!=(a|0)){break a}if(d){Fi(a,C[105558],0,b,c);a=C[105559];if(!a){break a}}bg(a,11,0,0);C[105568]=0;C[105559]=0;a=C[105550];b=C[105589];if(!(C[105569]|(!b|!C[105591]))){if(!a){break a}Fe[a|0](b)|0;break a}if(!a){break a}Fe[a|0](0)|0;break a}h=1;e=C[105559];if((e|0)==(a|0)){break a}if(e){bg(e,11,0,0)}C[105559]=a;C[105568]=0;bg(a,10,0,0);e=C[105550];g=C[(C[105559]?422360:422356)>>2];c:{if(!(C[105569]|(!g|!C[105591]))){if(!e){break c}Fe[e|0](g)|0;break c}if(!e){break c}Fe[e|0](0)|0}if(!d){break a}Fi(a,C[105558],0,b,c)}Ce=f+16|0;return h}function mw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-16|0;Ce=d;a:{if(!a){c=35;break a}c=C[a+96>>2];if(!c){c=6;break a}g=C[c+8>>2];e=hf(g,C[C[c+12>>2]+44>>2],d+8|0);b:{c:{c=C[d+8>>2];if(!c){C[e+4>>2]=a;f=C[a+96>>2];k=C[f+12>>2];h=C[f+8>>2];C[d+12>>2]=0;C[e>>2]=C[f+4>>2];i=hf(h,40,d+12|0);c=C[d+12>>2];if(c){break c}C[e+156>>2]=i;if(!(D[C[f>>2]+1|0]&2)){f=Ce-16|0;Ce=f;j=hf(h,96,f+12|0);c=C[f+12>>2];if(!c){C[j>>2]=h;C[i>>2]=j}Ce=f+16|0;C[d+12>>2]=c;if(c){break c}}c=C[k+64>>2];if(c){c=Fe[c|0](e)|0;C[d+8>>2]=c;if(c){break b}}C[e+8>>2]=C[a+84>>2];C[a+84>>2]=e;c=0;if(!b){break a}C[b>>2]=e;break a}if(!b){break a}C[b>>2]=0;break a}C[d+8>>2]=c}op(e);if(e){Fe[C[g+8>>2]](g,e)}c=C[d+8>>2]}Ce=d+16|0;return c}function ju(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;g=(w(a),j(2));c=g&2147483647;a:{if(c>>>0<=1305022426){h=+a;f=h*.6366197723675814+6755399441055744+-6755399441055744;d=h+f*-1.5707963109016418+f*-1.5893254773528196e-8;H[b>>3]=d;g=d<-.7853981852531433;if(K(f)<2147483648){c=~~f}else{c=-2147483648}if(g){d=f+-1;H[b>>3]=h+d*-1.5707963109016418+d*-1.5893254773528196e-8;c=c-1|0;break a}if(!(d>.7853981852531433)){break a}d=f+1;H[b>>3]=h+d*-1.5707963109016418+d*-1.5893254773528196e-8;c=c+1|0;break a}if(c>>>0>=2139095040){H[b>>3]=J(a-a);c=0;break a}i=c;c=(c>>>23|0)-150|0;H[e+8>>3]=(l(2,i-(c<<23)|0),v());c=lu(e+8|0,e,c,1,0);d=H[e>>3];if((g|0)<0){H[b>>3]=-d;c=0-c|0;break a}H[b>>3]=d}Ce=e+16|0;return c}function Ki(a){var b=0,c=0,d=0,e=0,f=0;b=C[a+368>>2]+1|0;C[a+368>>2]=b;a:{if(b>>>0>2]){break a}if(D[a+420|0]){C[a+368>>2]=0;We(C[a+376>>2],0,C[a+360>>2]+1|0);b=D[a+421|0];b:{while(1){b=b+1|0;c=b&255;if(c>>>0>6){break b}d=D[c+95313|0];f=(d+C[a+344>>2]|0)+(D[c+95306|0]^-1)|0;C[a+364>>2]=(f>>>0)/(d>>>0);if(!(D[a+212|0]&2)){e=D[c+95299|0];c=(e+C[a+348>>2]|0)+(D[c+95292|0]^-1)|0;C[a+352>>2]=(c>>>0)/(e>>>0);if(c>>>0>>0|d>>>0>f>>>0){continue}}break}A[a+421|0]=b;return}A[a+421|0]=b}c:{if(D[a+208|0]&8){break c}_t(a,0,0);C[a+232>>2]=0;b=C[a+208>>2];if(b&8){break c}C[a+208>>2]=b|8;C[a+204>>2]=C[a+204>>2]|8}if(C[a+216>>2]!=1229209940){break a}C[a+216>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;ef(a,C[a+396>>2])}}function zk(a){var b=0,c=0,d=0;a:{if(!C[a+528>>2]){break a}if(qg(a+232|0,a+456|0,32)){break a}return 0}b:{c=C[a+444>>2];if(c){C[a+444>>2]=C[c+24>>2];C[c+24>>2]=0;break b}c=If(1,28);if(c){break b}_e(0);return-1}b=C[a+440>>2];C[(b?b+24|0:a+436|0)>>2]=c;C[a+440>>2]=c;C[c>>2]=1;C[c+4>>2]=0;d=O(H[a+232>>3]);c:{if(K(d)<2147483648){b=~~d;break c}b=-2147483648}C[c+8>>2]=b;d=O(H[a+240>>3]);d:{if(K(d)<2147483648){b=~~d;break d}b=-2147483648}C[c+12>>2]=b;d=O(H[a+248>>3]);e:{if(K(d)<2147483648){b=~~d;break e}b=-2147483648}C[c+16>>2]=b;d=O(H[a+256>>3]);f:{if(K(d)<2147483648){b=~~d;break f}b=-2147483648}C[c+20>>2]=b;b=Fe[C[a+20>>2]](a,c)|0;if((b|0)<0){C[c>>2]=0;return b}gf(a+456|0,a+232|0,32);C[a+528>>2]=1;return b}function We(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}A[a|0]=b;d=a+c|0;A[d-1|0]=b;if(c>>>0<3){break a}A[a+2|0]=b;A[a+1|0]=b;A[d-3|0]=b;A[d-2|0]=b;if(c>>>0<7){break a}A[a+3|0]=b;A[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=I(b&255,16843009);C[e>>2]=b;d=c-d&-4;c=d+e|0;C[c-4>>2]=b;if(d>>>0<9){break a}C[e+8>>2]=b;C[e+4>>2]=b;C[c-8>>2]=b;C[c-12>>2]=b;if(d>>>0<25){break a}C[e+24>>2]=b;C[e+20>>2]=b;C[e+16>>2]=b;C[e+12>>2]=b;C[c-16>>2]=b;C[c-20>>2]=b;C[c-24>>2]=b;C[c-28>>2]=b;g=e&4|24;c=d-g|0;if(c>>>0<32){break a}d=mT(b,0,1,1);f=Ee;b=e+g|0;while(1){C[b+24>>2]=d;C[b+28>>2]=f;C[b+16>>2]=d;C[b+20>>2]=f;C[b+8>>2]=d;C[b+12>>2]=f;C[b>>2]=d;C[b+4>>2]=f;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function oI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/3<<2;if(d>>>0>=12){g=(d>>>0)/12|0;h=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h+c|0;d=d+h|0;while(1){f=J(G[d-4>>2]*J(.1111111119389534));G[e-8>>2]=f;G[e-4>>2]=f;G[e-12>>2]=f+J(G[d-8>>2]*J(.8888888955116272));e=e-16|0;d=d-12|0;G[e>>2]=f+J(G[d>>2]*J(.8888888955116272));g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function lw(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=C[a+4>>2];if(!d){break b}f=C[a+72>>2];if((f|0)==1651078259){return 0}g=C[C[d+96>>2]+4>>2];c:{if((f|0)!=1869968492){e=7;if(!g){break b}c=C[g+148>>2];if(!c){break b}while(1){d=C[c+8>>2];if((f|0)==C[d+16>>2]){break c}c=C[c+4>>2];if(c){continue}break}break b}d=C[g+156>>2];if(!d){break a}c=C[g+148>>2]}e=0;f=Fe[C[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=C[(c?c+4|0:i)>>2];if(!c){break e}e=C[a+72>>2];while(1){h=C[c+8>>2];if((e|0)==C[h+16>>2]){break d}c=C[c+4>>2];if(c){continue}break}}e=d;break b}e=0;d=Fe[C[h+60>>2]](h,a,b,0)|0;if(d){continue}break}}return e}return 7}function WH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/5<<3;if(d>>>0>=20){g=(d>>>0)/20|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;G[e-12>>2]=G[d-4>>2];G[e-16>>2]=G[d-8>>2];h=G[d-12>>2];C[e-24>>2]=0;G[e-20>>2]=h;G[e-28>>2]=G[d-16>>2];e=e-32|0;d=d-20|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Xe(a,b,c,d){var e=0,f=0,g=0;if(b){f=C[a- -64>>2];a:{b:{c:{g=C[a+60>>2];if((g|0)>=0){e=f+1|0;e=(e|0)>0?e:0;if(e>>>0<=g>>>0){break b}while(1){g=((g>>>1|0)+g|0)+8|0;if(e>>>0>=g>>>0){continue}break}if(g>>>0<=153391688){f=mf(C[a+68>>2],I(g,28));if(f){break c}f=C[a+64>>2]}C[a+60>>2]=-1}C[105682]=C[51434];e=C[51433];C[105680]=C[51432];C[105681]=e;e=C[51431];C[105678]=C[51430];C[105679]=e;e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break a}C[a+60>>2]=g;C[a+68>>2]=f;f=C[a+64>>2]}if(e>>>0>f>>>0){We(C[a+68>>2]+I(f,28)|0,0,I(e-f|0,28))}C[a+64>>2]=e;f=e;e=(C[a+68>>2]+I(e,28)|0)-28|0}C[e+12>>2]=c;C[e+8>>2]=d;C[e+4>>2]=f;C[e>>2]=b;C[e+16>>2]=0-(c&1)&d;C[e+20>>2]=C[a+52>>2];C[e+24>>2]=C[a+56>>2]}}function OH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/6<<3;if(d>>>0>=24){g=(d>>>0)/24|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;G[e-12>>2]=G[d-4>>2];G[e-16>>2]=G[d-8>>2];G[e-20>>2]=G[d-12>>2];G[e-24>>2]=G[d-16>>2];G[e-28>>2]=G[d-20>>2];e=e-32|0;d=d-24|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}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,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;a:{b:{h=E[(b?a+296|0:a+216|0)+34>>1];if(!h){break b}g=C[(b?788:784)+a>>2];b=g+C[(b?692:684)+a>>2]|0;a=C[a+104>>2];if(c>>>0>>0){h=b;b=g+(c<<2)|0;if(h>>>0>>0){break b}b=bf(a,b);C[f+12>>2]=b;if(b){break b}j=e,k=_f(a,f+12|0),B[j>>1]=k;if(C[f+12>>2]){break b}j=d,k=_f(a,f+12|0),B[j>>1]=k;if(!C[f+12>>2]){break a}break b}g=g+(h<<2)|0;if(g>>>0>b>>>0){break b}i=bf(a,g-4|0);C[f+12>>2]=i;if(i){break b}j=e,k=_f(a,f+12|0),B[j>>1]=k;if(C[f+12>>2]){break b}c=g+(c-h<<1)|0;if(b>>>0>>0){B[d>>1]=0;break a}b=bf(a,c);C[f+12>>2]=b;if(b){break a}j=d,k=_f(a,f+12|0),B[j>>1]=k;break a}B[d>>1]=0;B[e>>1]=0}Ce=f+16|0}function es(a){var b=0,c=0,d=0;a:{if(!(!C[a+532>>2]|C[a+360>>2]!=C[a+520>>2])){if(!qg(a+296|0,a+488|0,32)){break a}}b:{c=C[a+444>>2];if(c){C[a+444>>2]=C[c+24>>2];C[c+24>>2]=0;break b}c=If(1,28);if(c){break b}_e(0);return-1}b=C[a+440>>2];C[(b?b+24|0:a+436|0)>>2]=c;C[a+440>>2]=c;C[c>>2]=2;C[c+4>>2]=C[a+360>>2];d=O(H[a+296>>3]);c:{if(K(d)<2147483648){b=~~d;break c}b=-2147483648}C[c+8>>2]=b;d=O(H[a+304>>3]);d:{if(K(d)<2147483648){b=~~d;break d}b=-2147483648}C[c+12>>2]=b;d=O(H[a+312>>3]);e:{if(K(d)<2147483648){b=~~d;break e}b=-2147483648}C[c+16>>2]=b;d=O(H[a+320>>3]);f:{if(K(d)<2147483648){b=~~d;break f}b=-2147483648}C[c+20>>2]=b;gf(a+488|0,a+296|0,32);C[a+532>>2]=1;C[a+520>>2]=C[a+360>>2]}return 0}function Yv(a){var b=0,c=0;nf(a,C[a+484>>2]);C[a+484>>2]=0;b=C[a+488>>2];if(b){c=C[a+476>>2];if((c|0)!=-23){b=1<<8-c;c=(b|0)<=1?1:b;b=0;while(1){nf(a,C[C[a+488>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}b=C[a+488>>2]}nf(a,b);C[a+488>>2]=0}nf(a,C[a+492>>2]);C[a+492>>2]=0;nf(a,C[a+496>>2]);C[a+496>>2]=0;b=C[a+500>>2];if(b){c=C[a+476>>2];if((c|0)!=-23){b=1<<8-c;c=(b|0)<=1?1:b;b=0;while(1){nf(a,C[C[a+500>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}b=C[a+500>>2]}nf(a,b);C[a+500>>2]=0}b=C[a+504>>2];if(b){c=C[a+476>>2];if((c|0)!=-23){b=1<<8-c;c=(b|0)<=1?1:b;b=0;while(1){nf(a,C[C[a+504>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}b=C[a+504>>2]}nf(a,b);C[a+504>>2]=0}}function wl(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{if(!a){C[f>>2]=19774;Qe(19745,f);break a}d=Ar();b:{if(d){c=C[d>>2];if(c>>>0>=a>>>0){break b}}d=Sf(d,(a<<3)+36|0);if(!d){_e(0);break a}e=a+4|0;C[d>>2]=e;if(c>>>0>>0){We(((c<<3)+d|0)+4|0,0,e-c<<3)}c:{d:{e:{f:{c=C[105617];if(!c){break f}g:{if(!C[c>>2]){e=c;break g}while(1){e=C[c+8>>2];if(!e){break f}g=c;c=e;if(C[c>>2]){continue}break}}if(d){C[e+4>>2]=d;break e}C[(g?g+8|0:422468)>>2]=C[e+8>>2];if(e){Fe[C[94506]](e);C[94507]=C[94507]-1}break e}c=Fe[C[94503]](12)|0;if(c){C[94507]=C[94507]+1}if(!c){break d}C[c+4>>2]=d;C[c>>2]=0;C[c+8>>2]=C[105617];C[105617]=c}c=0;break c}c=_e(0)}if(c){break a}}a=(a<<3)+d|0;C[a>>2]=0;C[a-4>>2]=b}Ce=f+16|0}function QD(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){o=d,p=rT(C[(I(C[a+12>>2],j)+k|0)+n>>2],24),C[o>>2]=p;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){o=c,p=rT(C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2],24),C[o>>2]=p;b=b+f|0;o=c,p=rT(C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2],24),C[o+4>>2]=p;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function xQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ce-16|0;Ce=f;c=C[a>>2];a:{if(D[c+8|0]&2){if(!(Fe[C[C[c+532>>2]+104>>2]](c,b,f+12|0)|0)){Ew(a,C[f+12>>2]);break a}C[a+44>>2]=-1;c=C[a>>2]}ek(c,b);c=C[a>>2];b=C[C[c+656>>2]+2952>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);if(!c|!b){break a}b=C[b>>2];if(!b){break a}g=Fe[b|0](c)|0;if(!g){break a}h=C[C[a>>2]+656>>2];c=C[h+1392>>2];i=C[a+40>>2];Fe[C[g+4>>2]](C[i>>2],C[a+16>>2],C[a+20>>2],0,0);e=C[h+1896>>2];if(!e){break a}while(1){b=C[a+16>>2];e=e-1|0;j=e<<2;d=C[C[(j+h|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){b=of(b,c,d);d=of(C[a+20>>2],c,d);break b}d=C[a+20>>2]}Fe[C[g+4>>2]](C[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Ce=f+16|0;return 0}function sE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(b|0)|0;if(b){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2?D[a+63|0]<<24:-16777216;p=b&1;q=(j|0)/2|0;g=(k|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){r=g>>>16|0;s=C[a>>2];c=b;e=q;while(1){d=C[(I(C[a+12>>2],r)+s|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(p){d=(I(d,l)>>>0)/255|0;i=(I(i,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[c>>2]=d|o|i<<8|h<<16;c=c+4|0;e=e+j|0;if(f){continue}break}c=C[a+28>>2]}e=c;c=e-1|0;C[a+28>>2]=c;g=g+k|0;b=C[a+32>>2]+b|0;if(e){continue}break}C[a+20>>2]=b}}function HE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(b|0)|0;if(b){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2?D[a+63|0]<<24:-16777216;p=b&1;q=(j|0)/2|0;g=(k|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){r=g>>>16|0;s=C[a>>2];c=b;e=q;while(1){d=C[(I(C[a+12>>2],r)+s|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(p){i=(I(i,m)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[c>>2]=h|o|i<<8|d<<16;c=c+4|0;e=e+j|0;if(f){continue}break}c=C[a+28>>2]}e=c;c=e-1|0;C[a+28>>2]=c;g=g+k|0;b=C[a+32>>2]+b|0;if(e){continue}break}C[a+20>>2]=b}}function zp(a){var b=0,c=0;a:{if(!a){break a}c=C[a>>2];if(!c){break a}C[a+44>>2]=0;C[a+48>>2]=0;b=C[a+52>>2];if((b|0)!=(a+72|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+52>>2]=0}C[a+56>>2]=0;C[a+60>>2]=0;b=C[a- -64>>2];if((b|0)!=(a+936|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+64>>2]=0}b=a+1512|0;C[b>>2]=0;C[b+4>>2]=0;b=C[a+1520>>2];if((b|0)!=(a+1540|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+1520>>2]=0}b=a+1524|0;C[b>>2]=0;C[b+4>>2]=0;b=C[a+1532>>2];if((b|0)!=(a+2404|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+1532>>2]=0}b=C[a+40>>2];if((b|0)!=(a+3e3|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+40>>2]=0}C[a+32>>2]=0;C[a+36>>2]=0;b=C[a+28>>2];if((b|0)!=(a+3032|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+28>>2]=0}C[a>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0}}function UP(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,j=0;d=C[b>>2];if(F[d+16>>2]>c>>>0){b=C[d+140>>2];f=E[b+278662>>1];e=C[b+56>>2];if(c){b=c-1|0}else{b=C[d+164>>2]}b=e+I(b,36)|0;c=B[b+20>>1];e=B[b+16>>1];g=E[b+10>>1];h=C[b+24>>2];i=E[b+14>>1];j=E[b+12>>1];C[a+84>>2]=C[b+28>>2];C[a+80>>2]=j;C[a+76>>2]=i;ow(a,h);a:{b:{switch(f-1|0){case 0:A[a+94|0]=1;break a;case 1:A[a+94|0]=3;break a;case 3:A[a+94|0]=4;break a;case 7:break b;default:break a}}B[a+92>>1]=256;A[a+94|0]=2}C[a+104>>2]=c;C[a+100>>2]=e;C[a+72>>2]=1651078259;C[a+40>>2]=g<<6;C[a+36>>2]=c<<6;C[a+32>>2]=e<<6;C[a+24>>2]=C[a+80>>2]<<6;C[a+28>>2]=C[a+76>>2]<<6;fk(a+24|0,E[C[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function vK(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=Ce-1520|0;Ce=f;a:{b:{if(d&16){if(!c){break b}d=0;p(e,0,c<<2);break a}d=Fe[C[C[C[a+488>>2]+12>>2]>>2]](f+12|0,a,0,0,C[a+420>>2],C[a+528>>2],0,0,1214)|0;if(d){break a}A[f+80|0]=0;A[f+82|0]=1;C[f+1376>>2]=C[a+404>>2];C[f+1380>>2]=C[a+408>>2];C[f+1384>>2]=C[a+412>>2];C[f+1500>>2]=C[a+544>>2];C[f+1504>>2]=C[a+540>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!Lk(f+12|0,a+b|0,f+1512|0)){d=C[C[C[f+16>>2]+128>>2]+48>>2];if(d){Fe[C[C[d>>2]+4>>2]](C[d+4>>2],f+1512|0)}d=C[f+52>>2];d=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;break c}d=0}C[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}Ce=f+1520|0;return d|0}function Nz(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=C[a+12>>2];C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;e=b;f=C[b+76>>2];b=C[b+72>>2];g=Fe[C[b+200>>2]](e,f,c,d,C[b- -64>>2])|0;if(g){f=C[a+12>>2];a:{if(f){b=C[d>>2];c=C[f+20>>2];e=C[a+20>>2];if((c|0)!=(e|0)){b=nT(mT(e,e>>31,b,b>>31),Ee,c,c>>31)}C[d>>2]=b;b=C[d+4>>2];c=C[f+24>>2];e=C[a+24>>2];if((c|0)!=(e|0)){b=nT(mT(e,e>>31,b,b>>31),Ee,c,c>>31)}C[d+4>>2]=b;e=C[d+8>>2];b=C[f+20>>2];c=C[a+20>>2];if((b|0)!=(c|0)){e=nT(mT(c,c>>31,e,e>>31),Ee,b,b>>31)}b=d+12|0;C[d+8>>2]=e;c=C[d+12>>2];d=C[f+24>>2];a=C[a+24>>2];if((d|0)==(a|0)){break a}c=nT(mT(a,a>>31,c,c>>31),Ee,d,d>>31);break a}b=d+12|0;c=C[d+12>>2]}C[b>>2]=c}return g|0}function QP(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;j=6;g=C[a+140>>2];a:{if(!g|!b|!C[g+72>>2]){break a}h=D[b|0];if(!h){break a}f=C[g+128>>2];i=C[f+12>>2];a=h;d=b;while(1){e=(a<<24>>24)+I(e,31)|0;a=D[d+1|0];d=d+1|0;if(a){continue}break}a=e;e=C[f+4>>2];d=((a>>>0)%(e>>>0)<<2)+i|0;a=C[d>>2];if(!a){break a}e=((e<<2)+i|0)-4|0;while(1){b:{f=C[a>>2];if(D[f|0]==(h|0)){if(!Se(f,b)){break b}}a=d-4|0;d=a>>>0>>0?e:a;a=C[d>>2];if(a){continue}break a}break}b=C[g+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(C[a+4>>2]<<4)|0;switch(C[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}C[c>>2]=1;break c}C[c>>2]=2;break c}C[c>>2]=3}C[c+4>>2]=C[a+12>>2];j=0}return j|0}function DP(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;b=Ce-16|0;Ce=b;f=C[a>>2];a=af(c);g=hf(f,a+18|0,b+12|0);h=C[b+12>>2];if(!h){t(g,c,a);c=a+g|0;a=D[21514]|D[21515]<<8;A[c+16|0]=a;A[c+17|0]=a>>>8;a=D[21510]|D[21511]<<8|(D[21512]<<16|D[21513]<<24);f=D[21506]|D[21507]<<8|(D[21508]<<16|D[21509]<<24);A[c+8|0]=f;A[c+9|0]=f>>>8;A[c+10|0]=f>>>16;A[c+11|0]=f>>>24;A[c+12|0]=a;A[c+13|0]=a>>>8;A[c+14|0]=a>>>16;A[c+15|0]=a>>>24;a=D[21502]|D[21503]<<8|(D[21504]<<16|D[21505]<<24);f=D[21498]|D[21499]<<8|(D[21500]<<16|D[21501]<<24);A[c|0]=f;A[c+1|0]=f>>>8;A[c+2|0]=f>>>16;A[c+3|0]=f>>>24;A[c+4|0]=a;A[c+5|0]=a>>>8;A[c+6|0]=a>>>16;A[c+7|0]=a>>>24;C[d>>2]=g;C[e>>2]=0}Ce=b+16|0;return h|0}function sy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=D[a|0]|D[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){k=C[c+8>>2];l=C[c>>2];d=D[i|0]|D[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=205712}e=D[d|0]|D[d+1|0]<<8;g=(((e<<8|e>>>8)&65535)<<1)+d|0;d=g;f=D[d+2|0]|D[d+3|0]<<8;h=(f<<8|f>>>8)&65535;d=(d+2|0)+(f?h<<1:2)|0;b:{if(C[b+12>>2]!=(h|0)|(D[b+16|0]?e|(D[d|0]|D[d+1|0]<<8):0)){break b}if(h>>>0<2){return 1}f=1;d=1;g=g+4|0;if(!(Fe[l|0](C[C[b+8>>2]+4>>2],g,k)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}m=d<<1;d=e;if(Fe[l|0](C[C[b+8>>2]+(d<<2)>>2],g+m|0,k)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}return f}function lk(a,b,c){var d=0,e=0,f=0,g=0;if(!(C[a+20>>2]|!c)){a:{b:{c:{d=C[a+40>>2];e=C[d+8>>2];if((e|0)>=0){g=C[d+12>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=268435454){g=mf(C[d+16>>2],e<<4);if(g){break c}}C[d+8>>2]=-1}d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;d=422704;break a}C[d+8>>2]=e;C[d+16>>2]=g;g=C[d+12>>2]}if(f>>>0>g>>>0){We(C[d+16>>2]+(g<<4)|0,0,f-g<<4)}C[d+12>>2]=f;d=(C[d+16>>2]+(f<<4)|0)-16|0}if(C[C[a+40>>2]+8>>2]<0){C[a+20>>2]=C[a+20>>2]|1}C[d+12>>2]=c;A[d|0]=D[d|0]&192|2;a=C[C[a+40>>2]>>2];C[d+8>>2]=0;C[d+4>>2]=b-a&268435455|C[d+4>>2]&-268435456}}function jI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/3<<3;if(d>>>0>=12){g=(d>>>0)/12|0;e=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=e+c|0;d=d+e|0;while(1){e=f-16|0;C[e>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;h=G[d-4>>2];C[f-24>>2]=0;G[f-20>>2]=h;G[f-28>>2]=G[d-8>>2];f=f-32|0;d=d-12|0;G[f>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Xs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ce;i=c;d=Oj(0,0,1,b,b);a:{if((d|0)<=0){break a}f=I(d,56);b:{if(f>>>0<=127){c=c-(f+15&-16)|0;Ce=c;break b}c=Fe[C[94503]](f>>>0<=1?1:f)|0;if(c){C[94507]=C[94507]+1}if(!c){break a}}e=Oj(c,d,2,b,b);if((e|0)>0){d=0;g=(b|0)==1619;h=(b|0)!=1541;while(1){c:{if(!g){b=-1;if(h){break c}}b=C[(I(d,56)+c|0)+8>>2]}d:{if((b|0)<(a|0)){break d}if((a|0)==(b|0)){b=I(d,56)+c|0;Eh(b,b+56|0,I(e-d|0,56)-56|0);d=d-1|0;e=e-1|0;break d}if(!g){if(h){break d}b=I(d,56)+c|0;C[b+8>>2]=C[b+8>>2]-1;break d}b=I(d,56)+c|0;C[b+8>>2]=C[b+8>>2]-1}d=d+1|0;if((e|0)>(d|0)){continue}break}}Oj(c,e,0,0,0);if(f>>>0<128){break a}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}}Ce=i}function qf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=b>>>0>1;f=(a>>>6&1020)+417952|0;c=C[f>>2];a:{if(c){d=0;if(C[(a>>>3&28)+c>>2]>>>a&1){break a}}d=1}if(!(e|(d|0)==(b|0))){b:{if(!b){if(!c){c=If(1,32);C[f>>2]=c;if(!c){break b}}b=(a>>>3&28)+c|0;C[b>>2]=C[b>>2]|1<>>3&28)+c|0;c=C[b>>2];g=b,h=rT(-2,a)&c,C[g>>2]=h}c:{if(cg(24207,1)){b=0;if(!C[104494]){break c}if(Ws()){break c}}b=1}A[419008]=b;g=419012,h=!cg(24068,1)|C[104506]!=0,A[g|0]=h}if(!((a&-2)!=4096|e)){d:{a=C[105668];if(!a|!C[a+344>>2]){break d}b=1;if((qf(4096,-1)|0)!=1){b=(qf(4097,-1)|0)==1}a=C[C[105668]+380>>2];if(!a){break d}while(1){Fe[C[C[105668]+344>>2]](a,b);a=C[a+172>>2];if(a){continue}break}}}return d}function cI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/4<<3;if(d>>>0>=16){g=d>>>4|0;e=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=e+c|0;d=d+e|0;while(1){e=f-8|0;C[e>>2]=0;C[e+4>>2]=0;G[f-12>>2]=G[d-4>>2];G[f-16>>2]=G[d-8>>2];e=f-24|0;C[e>>2]=0;C[e+4>>2]=0;G[f-28>>2]=G[d-12>>2];f=f-32|0;d=d-16|0;G[f>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function eQ(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;a:{b:{if(!Se(b,6477)){d=6;f=C[c>>2];if((f|0)<0){break a}b=C[c+8>>2];if((b|0)<0){break a}e=C[c+16>>2];if((e|0)<0){break a}g=C[c+24>>2];if((g|0)<0){break a}h=C[c+4>>2];if((h|0)<0){break a}i=C[c+12>>2];if((i|0)<0){break a}j=C[c+20>>2];if((j|0)<0){break a}c=C[c+28>>2];if((c|0)<0|(b|0)<(f|0)|((b|0)>(e|0)|e>>>0>g>>>0)){break a}if(h>>>0>500|i>>>0>500|(j>>>0>500|c>>>0>500)){break a}C[a+36>>2]=f;C[a- -64>>2]=c;C[a+60>>2]=g;C[a+56>>2]=j;C[a+52>>2]=e;C[a+48>>2]=i;C[a+44>>2]=b;C[a+40>>2]=h;break b}if(!Se(b,17056)){d=7;if(C[c>>2]!=1){break a}C[a+28>>2]=1;break b}d=12;if(Se(b,15272)){break a}A[a+32|0]=D[c|0]}d=0}return d|0}function sm(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a+52>>2];d=D[a+32|0];a:{b:{c:{if(d){break c}c=C[a+24>>2];if(c>>>0>=F[a+28>>2]){break c}if(F[a+56>>2]>2]){break b}}if(F[a+56>>2]>=F[a+60>>2]){b=b+1|0;C[a+52>>2]=b;C[a+60>>2]=F[a+40>>2]>b>>>0?(1<>2]+1|0}if(d){C[a+60>>2]=256;C[a+52>>2]=9;A[a+32|0]=0;b=9}d=-1;if(C[a+4>>2]){break a}c=0;e=ep(C[a+164>>2],a+8|0,b);C[a+24>>2]=0;C[a+36>>2]=e+C[a+36>>2];f=C[a+52>>2];C[a+4>>2]=f>>>0>e>>>0;C[a+28>>2]=(e<<3|1)-f;if(!e){break a}}C[a+24>>2]=b+c;g=(c>>>3|0)+a|0;e=g+8|0;f=c&7;d=D[e|0]>>>f|0;c=8-f|0;a=b-c|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;d=D[e+1|0]<>2];a:{if((b|0)==-1){break a}f=C[a+36>>2];g=C[a+40>>2];if(f>>>0>=g>>>0){break a}d=b+1|0;i=C[a+16>>2]+20|0;while(1){b=I(f,12)+i|0;c=b-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=c>>>0>>0?d:c;e=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<=e>>>0){b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);while(1){h=b+d|0;if((h|0)!=(c|0)){C[a+36>>2]=f;C[a+28>>2]=d;C[a+32>>2]=h-c;return}d=d+1|0;if(e>>>0>=d>>>0){continue}break}}f=f+1|0;if((g|0)!=(f|0)){continue}break}}A[a+24|0]=0}function Tm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=D[a|0]|D[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=D[a+2|0]|D[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;c=((b<<1)+a|0)+6|0;a=D[a+4|0]|D[a+5|0]<<8;a=b>>>0>=((a<<8|a>>>8)&65535)>>>0?205712:c;break b}f=206102;c=D[a+2|0]|D[a+3|0]<<8;e:{if(!c){break e}g=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;e=I(d,6)+g|0;h=D[e|0]|D[e+1|0]<<8;f:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=D[e+2|0]|D[e+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}f=I(d,6)+g|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=f+4|0}a=D[a|0]|D[a+1|0]<<8;c=(a<<8|a>>>8)&65535}return c}function VR(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;a:{h=C[C[a+112>>2]>>2];if(!h){break a}e=C[c+80>>2];if(!e){break a}b=e-1|0;a=0;g=C[c+92>>2];f=D[g+15|0];while(1){b:{if((a|0)==(b|0)){a=e;break b}a=a+1|0;if((f|0)==D[(I(a,20)+g|0)+15|0]){continue}}break}if(!e){break a}i=c;c=g;f=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=I(d,20)+g|0;if(!(C[a+4>>2]&h)){break c}if(D[a+12|0]&16){A[a+18|0]=18;c=C[i+92>>2];f=C[i+80>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;j=D[(I(b,20)+c|0)+15|0];a=b;while(1){d:{a=a+1|0;if(f>>>0<=a>>>0){a=d;break d}if(D[(I(a,20)+c|0)+15|0]==(j|0)){continue}}break}d=b;if(b>>>0>>0){continue}break}}}function Pq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=C[a+32>>2];e=(c>>>0)%F[a+28>>2]|0;f=C[k+I(e,12)>>2];a:{b:{if(!f){break b}n=C[a+24>>2];a=0;g=-1;while(1){m=I(e,12)+k|0;c:{if(C[m+8>>2]!=(c|0)){break c}h=C[f+4>>2];l=C[f>>2];i=h-l|0;d=C[b>>2];if((i|0)!=(C[b+4>>2]-d|0)){break c}j=C[f+12>>2];if((j|0)!=C[b+12>>2]){break c}if((h|0)!=(l|0)){if(Hg(l,d,i)){break c}}h=j<<4;if(!h){break b}d=0;i=C[f+16>>2];j=C[b+16>>2];if(D[i|0]!=D[j|0]){break c}while(1){d=d+1|0;if((h|0)==(d|0)){break b}if(D[d+i|0]==D[d+j|0]){continue}break}if(d>>>0>=h>>>0){break b}}g=(g|0)==-1?C[m+4>>2]?-1:e:g;a=a+1|0;e=e+a&n;f=C[I(e,12)+k>>2];if(f){continue}break}if((g|0)!=-1){break a}}g=e}return g}function zr(a,b,c){var d=0,e=0,f=0,g=0;d=C[105658];f=C[105657];a:{if((f|0)>0){while(1){g=C[d+(e<<2)>>2];if(C[g>>2]==(a|0)&C[g+4>>2]==(b|0)){break a}e=e+1|0;if((f|0)!=(e|0)){continue}break}}d=Sf(d,(f<<2)+4|0);if(!d){return _e(0)}C[105658]=d;e=C[105657];d=Fe[C[94503]](32)|0;if(d){C[94507]=C[94507]+1}C[C[105658]+(e<<2)>>2]=d;if(!d){return _e(0)}C[105657]=C[105657]+1;C[d+20>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+8>>2]=0;C[d>>2]=a;C[d+4>>2]=b;c=Og(c?c:34979);C[C[C[105658]+(e<<2)>>2]+24>>2]=c;c=Sf(C[104766],I(C[104765],8232)+8232|0);b:{if(!c){_e(0);break b}C[104766]=c;lf(c+I(C[104765],8232)|0,0,8232);c=C[104765];d=C[104766]+I(c,8232)|0;C[d>>2]=a;C[d+4>>2]=b;C[104765]=c+1}}return e}function kp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ce-32|0;Ce=i;j=C[a>>2];a:{if(!b){g=6;if(b){Fe[C[j+8>>2]](j,b)}break a}h=hf(j,40,i);b:{g=C[i>>2];if(!g){C[h+32>>2]=0;C[h+8>>2]=0;C[h+4>>2]=c;C[h>>2]=b;C[h+20>>2]=0;C[h+24>>2]=0;C[h+24>>2]=902;g=C[i>>2];if(!g){break b}}if(b){Fe[C[j+8>>2]](j,b)}break a}C[i+16>>2]=h;C[i>>2]=2;if(e){C[i>>2]=10;c=C[a+16>>2];c:{if((c|0)<=0){g=0;break c}b=a+20|0;c=b+(c<<2)|0;while(1){g=C[b>>2];if(!Se(C[C[g>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}g=0}C[i+20>>2]=g}g=np(a,i,d,f);if(!g){a=C[f>>2];C[a+8>>2]=C[a+8>>2]&-1025;g=0;break a}d:{if(!h){break d}a=C[h+24>>2];if(!a){break d}Fe[a|0](h)}if(h){Fe[C[j+8>>2]](j,h)}}Ce=i+32|0;return g}function kI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/3|0,7);if(d>>>0>=12){g=(d>>>0)/12|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){C[e-4>>2]=0;f=e-12|0;C[f>>2]=0;C[f+4>>2]=0;h=G[d-4>>2];C[e-20>>2]=0;G[e-16>>2]=h;G[e-24>>2]=G[d-8>>2];e=e-28|0;d=d-12|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function hr(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=(b+1|0)/2|0;a=(a+1|0)/2|0;c=I(b,d)+c|0;e=I(b,f)+e|0;if((c|0)==(e|0)){d=Fe[C[94503]](a>>>0<=1?1:a)|0;if(d){C[94507]=C[94507]+1}if(!d){return _e(0)}if((b|0)>0){h=(g|0)<=1?1:g;b=(f+1|0)/2|0;f=I(b,g)+c|0;e=0;while(1){gf(d,c,a);gf(c,f,a);gf(f,d,a);f=b+f|0;c=b+c|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}return 0}if((b|0)<=0){return 0}h=(d+1|0)/2|0;j=(g|0)<=1?1:g;i=(f+1|0)/2|0;f=I(i,g)+e|0;d=0;while(1){gf(f,c,a);f=f+i|0;c=c+h|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}if((b|0)<=0){return 0}b=(g|0)<=1?1:g;f=0;while(1){gf(e,c,a);e=e+i|0;c=c+h|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}return 0}function YH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/5|0,6);if(d>>>0>=20){f=(d>>>0)/20|0;g=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=g+c|0;d=d+g|0;while(1){G[e-4>>2]=G[d-4>>2];G[e-8>>2]=G[d-8>>2];h=G[d-12>>2];C[e-16>>2]=0;G[e-12>>2]=h;G[e-20>>2]=G[d-16>>2];e=e-24|0;d=d-20|0;G[e>>2]=G[d>>2];f=f-1|0;if(f){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Uw(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=C[(c?16:12)+b>>2];b=C[(c?8:4)+b>>2];e=I(c,1572)+a|0;f=e+1608|0;a:{if((b|0)==C[f>>2]&C[e+1612>>2]==(g|0)){break a}C[f>>2]=b;C[e+1612>>2]=g;C[e+44>>2]=b;C[e+48>>2]=g;if(!C[e+260>>2]){break a}f=0;h=I(c,1572)+a|0;while(1){a=I(f,28)+h|0;c=Te(C[a+264>>2],b)+g|0;C[a+272>>2]=c;C[a+268>>2]=c;c=Te(C[a+276>>2],b)+g|0;C[a+284>>2]=c;C[a+280>>2]=c;C[a+288>>2]=C[a+288>>2]&-2;if(Te(C[a+264>>2]-C[a+276>>2]|0,b)+48>>>0<=96){c=C[a+268>>2]+32&-64;C[a+272>>2]=c;c=Ze(c,b)-C[a+276>>2]|0;d=c>>31;d=Te((c^d)-d|0,b);d=(d|0)>=32?d+32&-64:0;C[a+284>>2]=((c|0)<0?d:0-d|0)+C[a+272>>2];C[a+288>>2]=C[a+288>>2]|1}f=f+1|0;if(f>>>0>2]){continue}break}}}function LE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2]|-16777216;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]|-16777216;b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]|-16777216;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function ws(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2]&16777215;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]&16777215;b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]&16777215;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function jl(a,b){var c=0,d=0,e=0,f=0;f=C[b+12>>2];d=C[b+4>>2];a:{if(f>>>0>=d>>>0){A[b+16|0]=1;e=205712;break a}e=f+C[b>>2]|0}e=D[e|0]<<24;c=f+1|0;b:{if(c>>>0>=d>>>0){A[b+16|0]=1;c=205712;break b}c=c+C[b>>2]|0}e=e|D[c|0]<<16;c=f+2|0;c:{if(c>>>0>=d>>>0){A[b+16|0]=1;c=205712;break c}c=c+C[b>>2]|0}c=e|D[c|0]<<8;e=d;d=f+3|0;d:{if(e>>>0<=d>>>0){A[b+16|0]=1;e=205712;break d}e=d+C[b>>2]|0}c=c|D[e|0];d=C[a+4>>2];e:{if(d>>>0>2]){C[a+4>>2]=d+1;a=C[a+16>>2]+(d<<3)|0;break e}A[a|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}H[a>>3]=c|0;f:{a=C[b+4>>2];if(D[b+16|0]|a>>>0>>0){break f}f=f+4|0;if(f>>>0>a>>>0){break f}C[b+12>>2]=f;return}A[b+16|0]=1;C[b+12>>2]=a}function CS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=D[a+2|0]|D[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=205712}e=C[b+100>>2];c=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((c|0)==-1){break a}e=205712;d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=D[e|0]|D[e+1|0]<<8;if(!a){break a}c=(a<<8|a>>>8)&65535;g=c>>>0<=1?1:c;a=0;f=1;while(1){d=D[e|0]|D[e+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?205712:((a<<1)+e|0)+2|0;d=D[d|0]|D[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=205712}if(Tx(d,b)){break a}a=a+1|0;f=c>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return f|0}function wz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-48|0;Ce=d;h=a,i=ql(b),C[h+8>>2]=i;c=zj(b+60|0);c=D[c+34|0]|D[c+35|0]<<8;C[a+4>>2]=(c<<8|c>>>8)&65535;Qf(b);c=Of(b,1752003704);a:{if(!c){break a}e=C[c>>2];if(!e){break a}C[c>>2]=e+1}e=C[c+12>>2];Ue(c);if(C[c+4>>2]?e:0){C[c+4>>2]=0}C[a+12>>2]=c;e=C[a+4>>2];g=e<<2;f=C[(c?c:205712)+16>>2];if(g>>>0>f>>>0){e=f>>>2|0;C[a+4>>2]=e;g=f&-4}C[a>>2]=(f-g>>>1|0)+e;if(!e){C[a>>2]=0;C[a+4>>2]=0;Ue(c);C[a+12>>2]=0;C[a+12>>2]=205712}C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;c=Qf(b);A[d+40|0]=1;C[d+36>>2]=c;h=a,i=rz(d,Of(b,1213612370)),C[h+16>>2]=i;Ce=d+48|0}function wq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-48|0;Ce=d;h=a,i=ql(b),C[h+8>>2]=i;c=yj(b+88|0);c=D[c+34|0]|D[c+35|0]<<8;C[a+4>>2]=(c<<8|c>>>8)&65535;Qf(b);c=Of(b,1986884728);a:{if(!c){break a}e=C[c>>2];if(!e){break a}C[c>>2]=e+1}e=C[c+12>>2];Ue(c);if(C[c+4>>2]?e:0){C[c+4>>2]=0}C[a+12>>2]=c;e=C[a+4>>2];g=e<<2;f=C[(c?c:205712)+16>>2];if(g>>>0>f>>>0){e=f>>>2|0;C[a+4>>2]=e;g=f&-4}C[a>>2]=(f-g>>>1|0)+e;if(!e){C[a>>2]=0;C[a+4>>2]=0;Ue(c);C[a+12>>2]=0;C[a+12>>2]=205712}C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;c=Qf(b);A[d+40|0]=1;C[d+36>>2]=c;h=a,i=rz(d,Of(b,1448493394)),C[h+16>>2]=i;Ce=d+48|0}function Aj(a,b,c,d){var e=0,f=0,g=0;e=Ce-48|0;Ce=e;C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];a:{if(Fe[C[f+184>>2]](a,C[a+76>>2],b,c,d,C[f+48>>2])|0){break a}C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];if(!(Fe[C[f+188>>2]](a,C[a+76>>2],b,c,d,C[f+52>>2])|0)){break a}f=b;b=C[a+72>>2];b=Fe[C[b+168>>2]](a,C[a+76>>2],f,C[b+32>>2])|0;C[e+40>>2]=0;C[e+44>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;f=(b|0)/-2|0;b=C[a+72>>2];b:{if(Fe[C[b+148>>2]](a,C[a+76>>2],e,C[b+12>>2])|0){a=C[e>>2];break b}g=+C[a+24>>2]*.8;if(K(g)<2147483648){a=~~g;break b}a=-2147483648}C[c>>2]=f+C[c>>2];C[d>>2]=C[d>>2]-a}Ce=e+48|0}function mI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/3|0,6);if(d>>>0>=12){g=(d>>>0)/12|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;h=G[d-4>>2];C[e-16>>2]=0;G[e-12>>2]=h;G[e-20>>2]=G[d-8>>2];e=e-24|0;d=d-12|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Jz(a,b,c,d){var e=0,f=0,g=0;e=Ce-48|0;Ce=e;C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];a:{if(Fe[C[f+188>>2]](a,C[a+76>>2],b,c,d,C[f+52>>2])|0){break a}C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];if(!(Fe[C[f+184>>2]](a,C[a+76>>2],b,c,d,C[f+48>>2])|0)){break a}f=b;b=C[a+72>>2];b=Fe[C[b+168>>2]](a,C[a+76>>2],f,C[b+32>>2])|0;C[e+40>>2]=0;C[e+44>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;f=(b|0)/2|0;b=C[a+72>>2];b:{if(Fe[C[b+148>>2]](a,C[a+76>>2],e,C[b+12>>2])|0){a=C[e>>2];break b}g=+C[a+24>>2]*.8;if(K(g)<2147483648){a=~~g;break b}a=-2147483648}C[c>>2]=f+C[c>>2];C[d>>2]=a+C[d>>2]}Ce=e+48|0}function Tq(a){var b=0,c=0,d=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+4>>2]=C[a>>2];C[a+8>>2]=C[a+12>>2];Qq(a);a:{b:{c:{b=C[a+44>>2];if((b|0)>=0){d=C[a+48>>2];c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break b}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=1073741822){d=mf(C[a+52>>2],b<<2);if(d){break c}}C[a+44>>2]=-1}C[105676]=C[51428];break a}C[a+44>>2]=b;C[a+52>>2]=d;d=C[a+48>>2]}if(c>>>0>d>>>0){We(C[a+52>>2]+(d<<2)|0,0,c-d<<2)}C[a+48>>2]=c;b=C[a+52>>2];C[105676]=C[51428];b=(b+(c<<2)|0)-4|0;if((b|0)==422704){break a}C[b>>2]=0}C[a+56>>2]=1;C[a+60>>2]=1;C[a+72>>2]=0;C[a+76>>2]=0;A[a+68|0]=1;C[a- -64>>2]=0;C[a+80>>2]=0;C[a+84>>2]=0;C[a+88>>2]=0}function rk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=205712;d=D[a+2|0]|D[a+3|0]<<8;a:{if(!d){break a}j=a+4|0;h=((d<<8|d>>>8)&65535)-1|0;m=(b<<8|(b&65280)>>>8)&65535;n=(c<<8|(c&65280)>>>8)&65535;while(1){b:{c:{d:{f=h+k>>>1|0;g=(f<<3)+j|0;i=D[g|0]|D[g+1|0]<<8;l=(i<<8|i>>>8)&65535;d=b&65535;e:{if(!(l>>>0>d>>>0|(i|0)!=(m|0))){d=D[g+2|0]|D[g+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>(c&65535)>>>0){break e}if((d|0)==(n|0)){break d}break c}if(d>>>0>=l>>>0){break c}}h=f-1|0;break b}e=(f<<3)+j|0;break a}k=f+1|0}if((h|0)>=(k|0)){continue}break}}b=a;a=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return a?b+a|0:0}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;c=Ce-32|0;Ce=c;d=C[b+96>>2];a:{if((d|0)<0|C[a+300>>2]<=(d|0)){break a}e=C[a+304>>2];if((Fe[C[b+52>>2]](b,6,c,3)|0)<6){break a}b=C[c+12>>2];if(!b){break a}f=I(d,252)+e|0;g=a;a=b>>31;a=(a^b)-a|0;h=g,i=Ze(1e3,a),B[h+68>>1]=i;if((a|0)!=65536){h=c,i=Ze(C[c>>2],a),C[h>>2]=i;h=c,i=Ze(C[c+4>>2],a),C[h+4>>2]=i;h=c,i=Ze(C[c+8>>2],a),C[h+8>>2]=i;h=c,i=Ze(C[c+16>>2],a),C[h+16>>2]=i;h=c,i=Ze(C[c+20>>2],a),C[h+20>>2]=i;C[c+12>>2]=C[c+12>>2]<0?-65536:65536}C[f+216>>2]=C[c>>2];a=I(d,252)+e|0;C[a+224>>2]=C[c+4>>2];C[a+220>>2]=C[c+8>>2];C[a+228>>2]=C[c+12>>2];C[f+232>>2]=B[c+18>>1];C[a+236>>2]=B[c+22>>1]}Ce=c+32|0}function zh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=C[a>>2];if(!i){break a}e=C[a+36>>2];if((e|0)>=C[a+32>>2]){break a}d=-1;g=C[a+16>>2];h=C[g+(e<<2)>>2];if(!(h&1024)){f=h&512;d=255;c=h&255;b:{if((c|0)!=255){d=c;break b}while(1){e=e+1|0;c=C[(e<<2)+g>>2];f=c&512?512:f;c=c&255;d=c+d|0;if((c|0)==255){continue}break}}c:{if(!b){f=C[a+12>>2];break c}C[b+8>>2]=h&256;C[b+12>>2]=f;f=C[a+12>>2];C[b>>2]=i+f;c=C[a+348>>2];C[b+24>>2]=C[a+344>>2];C[b+28>>2]=c;c=C[a+20>>2]+(e<<3)|0;g=C[c>>2];c=C[c+4>>2];C[b+4>>2]=d;C[b+16>>2]=g;C[b+20>>2]=c}C[a+12>>2]=d+f;d=1}C[a+36>>2]=e+1;c=C[a+348>>2];b=C[a+344>>2]+1|0;c=b?c:c+1|0;C[a+344>>2]=b;C[a+348>>2]=c}return d}function aj(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(!D[a+72|0]){break b}if(F[a+40>>2]>>0){A[a+72|0]=0;return 0}d=C[a+92>>2];f=C[a+96>>2];if(b>>>0>214748363){break a}c=C[a+88>>2];if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break a}b=I(c,20);e=mf(C[a+100>>2],b);b=mf(C[a+92>>2],b);if(!(b?e:0)){A[a+72|0]=0;if(e){C[a+100>>2]=e}if(!b){C[a+96>>2]=C[((d|0)==(f|0)?92:100)+a>>2];return 0}C[a+92>>2]=b;C[a+96>>2]=(d|0)==(f|0)?b:C[a+100>>2];return 0}C[a+100>>2]=e;C[a+92>>2]=b;C[a+96>>2]=(d|0)==(f|0)?b:e;if(!D[a+72|0]){break b}C[a+88>>2]=c;g=1}return g}A[a+72|0]=0;C[a+96>>2]=(d|0)==(f|0)?d:C[a+100>>2];return 0}function rA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(C[b>>2]>=2){Kf(c,1,1);Kf(c,C[b>>2]-1|0,4);break a}Kf(c,0,1)}b:{if(C[b+1156>>2]>0){Kf(c,1,1);Kf(c,C[b+1156>>2]-1|0,8);if(C[b+1156>>2]<=0){break b}while(1){e=(d<<2)+b|0;Kf(c,C[e+1160>>2],tg(C[a+4>>2]-1|0));Kf(c,C[e+2184>>2],tg(C[a+4>>2]-1|0));d=d+1|0;if((d|0)>2]){continue}break}break b}Kf(c,0,1)}d=0;Kf(c,0,2);e=C[b>>2];c:{d:{if((e|0)>=2){if(C[a+4>>2]<=0){break d}while(1){Kf(c,C[((d<<2)+b|0)+4>>2],4);d=d+1|0;if((d|0)>2]){continue}break}e=C[b>>2]}if((e|0)<=0){break c}}d=0;while(1){Kf(c,0,8);a=(d<<2)+b|0;Kf(c,C[a+1028>>2],8);Kf(c,C[a+1092>>2],8);d=d+1|0;if((d|0)>2]){continue}break}}}function vs(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2]>>>8;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]>>>8;b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]>>>8;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function qD(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,m)>>>0)/255|0;i=(I(i,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=d<<8|h|i<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function kD(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,m)>>>0)/255|0;i=(I(i,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=d<<8|h<<16|i;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function eI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/4|0,6);if(d>>>0>=16){g=d>>>4|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){G[e-4>>2]=G[d-4>>2];G[e-8>>2]=G[d-8>>2];f=e-16|0;C[f>>2]=0;C[f+4>>2]=0;G[e-20>>2]=G[d-12>>2];e=e-24|0;d=d-16|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function _D(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,l)>>>0)/255|0;d=(I(d,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=d<<8|i|h<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function TD(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,l)>>>0)/255|0;d=(I(d,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=d<<8|i<<16|h;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function RJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;c=C[a+100>>2];C[e+12>>2]=0;d=Fe[C[b+36>>2]](b)|0;a:{if((d|0)<0|C[a+304>>2]){break a}c=Ve(c,252,0,d,0,e+12|0);C[a+304>>2]=c;if(C[e+12>>2]){break a}C[a+300>>2]=d;if(!d){break a}a=0;b=0;if(d>>>0>=8){g=d&-8;while(1){C[(c+I(b,252)|0)+4>>2]=4;C[(c+I(b|1,252)|0)+4>>2]=4;C[(c+I(b|2,252)|0)+4>>2]=4;C[(c+I(b|3,252)|0)+4>>2]=4;C[(c+I(b|4,252)|0)+4>>2]=4;C[(c+I(b|5,252)|0)+4>>2]=4;C[(c+I(b|6,252)|0)+4>>2]=4;C[(c+I(b|7,252)|0)+4>>2]=4;b=b+8|0;f=f+8|0;if((g|0)!=(f|0)){continue}break}}d=d&7;if(!d){break a}while(1){C[(c+I(b,252)|0)+4>>2]=4;b=b+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}Ce=e+16|0}function Qw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=I(c,1468)+a|0;f=C[j- -64>>2];a=C[j+56>>2];h=I(c,1572)+b|0;k=C[h+44>>2];b=Te(F[b+40>>2]/40|0,k);if((a|0)>0){p=(b|0)>=32?32:b;q=I(a,48)+f|0;r=h+264|0;a=C[h+260>>2];c=a;while(1){if(c){c=0;b=p;i=0;while(1){g=I(c,28)+r|0;d=C[g+24>>2];if(!(!(d&1)|(d&2)>>>1^C[j+68>>2]!=A[f+13|0])){a=B[f>>1];l=C[g>>2];m=a-l|0;d=m>>31;n=C[g+12>>2];o=a-n|0;e=o>>31;d=(d^m)-d>>>0>(e^o)-e>>>0;e=a-(d?n:l)|0;a=e>>31;e=Te((a^e)-a|0,k);a=(e|0)<(b|0);b=a?e:b;i=a?d?g+12|0:g:i;a=C[h+260>>2]}c=c+1|0;if(c>>>0>>0){continue}break}if(i){C[f+20>>2]=i}c=a}else{c=0}f=f+48|0;if(q>>>0>f>>>0){continue}break}}}function xs(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,l)>>>0)/255|0;i=(I(i,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=i<<8|d<<16|h;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function Fs(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,m)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=i<<8|h|d<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function Cs(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,m)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=i<<8|h<<16|d;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function As(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,l)>>>0)/255|0;i=(I(i,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=i<<8|d|h<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function Oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(C[a+64>>2]!=3){C[a+64>>2]=3;e=C[a+20>>2];if(!e){break a}b:{if(D[a+68|0]){d=C[a+12>>2];if((B[d+20>>1]+B[d+56>>1]|0)+1>>>0>F[d+8>>2]){d=Qg(d,0,1);if(d){break a}}f=E[e>>1];d=f<<16>>16;if((d|0)<=0){break b}B[(C[e+12>>2]+(f<<1)|0)-2>>1]=E[e+2>>1]-1}d=E[e>>1]}B[e>>1]=d+1;d=C[a+12>>2];if((B[d+22>>1]+B[d+58>>1]|0)+1>>>0>F[d+4>>2]){d=Qg(d,1,0);if(d){break a}}d=C[a+20>>2];if(D[a+68|0]){e=C[d+8>>2];f=B[d+2>>1];a=C[d+4>>2]+(f<<3)|0;C[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;C[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;A[e+f|0]=1}B[d+2>>1]=E[d+2>>1]+1}d=0}return d|0}function BQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-208|0;Ce=d;C[d+204>>2]=0;c=C[a>>2];b=C[C[c+656>>2]+2952>>2];a:{b:{c=Dg(C[C[c+96>>2]+4>>2],9541);c:{if(!c|!b){break c}b=C[b>>2];if(!b){break c}e=Fe[b|0](c)|0;if(!e){break c}b=C[a>>2];f=C[b+656>>2];g=hf(C[b+100>>2],1028,d+204|0);b=C[d+204>>2];if(b){break b}b=d+8|0;Jw(f+1324|0,b);b=Fe[C[e>>2]](C[C[a>>2]+100>>2],b,g)|0;C[d+204>>2]=b;if(b){break b}b=C[f+1896>>2];d:{while(1){if(!b){break d}b=b-1|0;c=b<<2;h=d+8|0;Jw(C[(c+f|0)+1900>>2],h);c=Fe[C[e>>2]](C[C[a>>2]+100>>2],h,(c+g|0)+4|0)|0;C[d+204>>2]=c;if(!c){continue}break}i=c;break a}C[a+40>>2]=g}C[a+44>>2]=-1;break a}i=b}Ce=d+208|0;return i|0}function br(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=A[a|0];g=f&255;if((f|0)>=0){C[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=D[a+1|0]-128|0;if(b>>>0>=64){break a}C[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=D[e|0]-128|0;if(b>>>0>63){break a}f=D[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}C[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=D[e|0]-128|0;if(b>>>0>63){break a}f=D[a+2|0]-128|0;if(f>>>0>63){break a}h=D[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}C[c>>2]=d;return e}function fI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/4|0,5);if(d>>>0>=16){f=d>>>4|0;g=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=g+c|0;d=d+g|0;while(1){G[e-4>>2]=G[d-4>>2];h=G[d-8>>2];C[e-12>>2]=0;G[e-8>>2]=h;G[e-16>>2]=G[d-12>>2];e=e-20|0;d=d-16|0;G[e>>2]=G[d>>2];f=f-1|0;if(f){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function wg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ce-208|0;Ce=f;if(b){B[b+74>>1]=E[b+74>>1]|32768}g=Ok(f,196,0,34222);g=Ok(f,196,Ok(f,g+79|0,g,c),34295);h=d>>>24|0;a:{if(!((h|0)==32|h-48>>>0<10)&(h&223)-65>>>0>25){break a}i=d>>>16|0;j=i&255;if(!((j|0)==32|(i&223)-65>>>0<26)&j-48>>>0>9){break a}k=d>>>8|0;l=k&255;if(!((l|0)==32|(k&223)-65>>>0<26)&l-48>>>0>9){break a}m=d&255;if(!((m|0)==32|(d&223)-65>>>0<26)&m-48>>>0>9){break a}c=f+g|0;A[c+5|0]=39;A[c+6|0]=58;A[c|0]=39;A[c+7|0]=32;A[c+4|0]=m-32>>>0>=95?63:d;A[c+3|0]=l-32>>>0>=95?63:k;A[c+2|0]=j-32>>>0>=95?63:i;A[c+1|0]=h-32>>>0>=95?63:h;g=g+8|0}Ok(f,196,g,e);xg(a,f,b?2:1);Ce=f+208|0}function hQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=C[a+656>>2];a:{b:{if(!e){break b}f=C[e+1456>>2];a=6;if((f|0)==65535){break a}if(b){a=C[e+2964>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=F[e+1312>>2]){break c}g=C[C[e+1316>>2]+(f<<2)>>2];break c}a=C[e+2956>>2];g=0;if(!a){break c}g=Fe[C[a+20>>2]](f)|0}a=g;C[e+2964>>2]=a}C[b>>2]=a}if(c){a=C[e+2968>>2];if(!a){a=0;b=C[e+1460>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=F[e+1312>>2]){break d}a=C[C[e+1316>>2]+(b<<2)>>2];break d}f=C[e+2956>>2];if(!f){break d}a=Fe[C[f+20>>2]](b)|0}C[e+2968>>2]=a}C[c>>2]=a}if(!d){break b}C[d>>2]=C[e+1464>>2]}a=0}return a|0}function cT(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;a=C[b+4>>2];a:{if(!a){break a}b=C[a+92>>2];if(!b|C[b+4>>2]!=1970170211){break a}b=C[a+40>>2];if(!b){break a}h=C[a+36>>2];if((h|0)<=0){break a}k=(h<<2)+b|0;while(1){b:{h=C[b>>2];c:{if(E[h+8>>1]|E[h+10>>1]!=5){break c}g=C[h>>2];if(!g){break c}g=C[g+96>>2];i=C[C[g>>2]+32>>2];if(!i){break c}g=Fe[i|0](g,6749)|0;if(!g){break c}if(Fe[C[g>>2]](h,f+8|0)|0){break c}if(C[f+12>>2]==14){break b}}b=b+4|0;if(k>>>0>b>>>0){continue}break a}break}b=C[b>>2];if(!b){break a}j=Fe[C[C[b+12>>2]+20>>2]](b,C[a+92>>2],c,d)|0}Ce=f+16|0;if(!j){return 0}C[e>>2]=j;return 1}function Jm(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+80>>2];if(b){Fe[b|0](C[a+48>>2])}b=C[a+84>>2];if(b){Fe[b|0](C[a+52>>2])}b=C[a+88>>2];if(b){Fe[b|0](C[a+56>>2])}b=C[a+92>>2];if(b){Fe[b|0](C[a+60>>2])}b=C[a+96>>2];if(b){Fe[b|0](C[a- -64>>2])}b=C[a+100>>2];if(b){Fe[b|0](C[a+68>>2])}b=C[a+104>>2];if(b){Fe[b|0](C[a+72>>2])}b=C[a+108>>2];if(b){Fe[b|0](C[a+76>>2])}Jm(C[a+12>>2]);Re(a)}}function ls(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(c){a:{f=C[a>>2];if((f|0)>C[b>>2]){break a}if((a|0)!=(b|0)){if(qg(C[a+4>>2],C[b+4>>2],f<<2)){break a}}C[c>>2]=1;return 0}C[c>>2]=0}h=If(256,1);if(h){if(C[a>>2]>0){while(1){f=0;j=C[b>>2];if((j|0)>0){c=C[a+4>>2]+(g<<2)|0;l=D[c+3|0];m=D[c+2|0];n=D[c+1|0];o=D[c|0];p=C[b+4>>2];k=-1;c=0;while(1){b:{d=(c<<2)+p|0;e=D[d+1|0]-n|0;i=I(e,e);e=D[d|0]-o|0;i=i+I(e,e)|0;e=D[d+2|0]-m|0;d=D[d+3|0]-l|0;d=(i+I(e,e)|0)+I(d,d)|0;if(d>>>0>>0){f=c;k=d;if(!d){break b}}c=c+1|0;if((j|0)!=(c|0)){continue}}break}}A[g+h|0]=f;g=g+1|0;if((g|0)>2]){continue}break}}return h}_e(0);return 0}function In(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2];c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function wj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=C[b+12>>2];c=C[a>>2];d=Fe[C[f+24>>2]](f,c,C[f+56>>2])|0;if(c>>>0>=128){C[b+36>>2]=C[b+36>>2]|1;e=d;a:{if(!Vq(c)){break a}h=C[b+36>>2];C[b+36>>2]=h|2;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}C[b+36>>2]=h|34;e=d|96}g=e;if(d>>>0>31){B[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=D[(Fe[C[f+16>>2]](f,c,C[f+48>>2])|0)+271024|0]<<8}d=b|g|128}B[a+16>>1]=d}function Ul(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}if(Ug(a)){break a}c=C[104767];b:{if(c){while(1){if(!uf(a,C[c>>2])){if(F[c+8>>2]>1){break a}d=C[c+4>>2];c:{if((d|0)==(b|0)){break c}if(!(!b|!d)){if(!uf(d,b)){break c}}d=C[c+12>>2];if(d){while(1){e=C[d+8>>2];Fe[C[d>>2]](C[d+4>>2],a,C[c+4>>2],b);d=e;if(d){continue}break}}a=C[c+4>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(b){a=Og(b)}else{a=0}C[c+4>>2]=a}C[c+8>>2]=1;break b}c=C[c+16>>2];if(c){continue}break}}c=Fe[C[94503]](20)|0;if(c){C[94507]=C[94507]+1}if(!c){break a}f=c,g=Og(a),C[f>>2]=g;a=0;if(b){a=Og(b)}C[c+12>>2]=0;C[c+8>>2]=1;C[c+4>>2]=a;C[c+16>>2]=C[104767];C[104767]=c}}}function yg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-48|0;Ce=f;a:{if(!a){C[f>>2]=28750;Qe(19745,f);a=0;break a}if(!b){C[f+16>>2]=28746;Qe(19745,f+16|0);a=0;break a}if(!c){C[f+32>>2]=4232;Qe(19745,f+32|0);a=0;break a}b:{g=C[a+8>>2];c:{if((g|0)<=0){break c}h=C[a+12>>2];if((h|0)<=0){break c}i=C[b+8>>2];if((i|0)<=0){break c}j=C[b+12>>2];if((j|0)>0){break b}}C[c+8>>2]=0;C[c+12>>2]=0;a=0;break a}d=C[b>>2];e=C[a>>2];k=(d|0)>(e|0)?d:e;C[c>>2]=k;d=d+i|0;e=e+g|0;d=((d|0)<(e|0)?d:e)-k|0;C[c+8>>2]=d;b=C[b+4>>2];a=C[a+4>>2];e=(a|0)<(b|0)?b:a;C[c+4>>2]=e;b=b+j|0;a=a+h|0;a=((a|0)>(b|0)?b:a)-e|0;C[c+12>>2]=a;a=(d|0)>0&(a|0)>0}Ce=f+48|0;return a}function Ep(a){var b=0,c=0;c=3840;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=3851;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1271){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2760|0;break b}if(a-6016>>>0<=111){b=a-4520|0;break b}if(a-7376>>>0>47){break a}b=a-5768|0;break b;case 2:if((a|0)==9676){c=3851;break a}if(a-8200>>>0<=15){b=a-6544|0;break b}if(a-8304>>>0>23){break a}b=a-6632|0;break b;case 10:break c;default:break a}}b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41536|0;break b}b=a-41760|0;break b}b=a-41856|0}c=E[(b<<1)+183440>>1]}return c}function nI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/3|0,5);if(d>>>0>=12){g=(d>>>0)/12|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;G[e-12>>2]=G[d-4>>2];G[e-16>>2]=G[d-8>>2];e=e-20|0;d=d-12|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function ap(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ce-16|0;Ce=g;h=C[a+4>>2];f=C[a>>2];C[g+12>>2]=0;e=f+3|0;a:{b:{if(e>>>0<=h>>>0){i=C[a+12>>2];break b}i=C[a+24>>2];f=h;while(1){f=((f>>>1|0)+f|0)+16|0;if(e>>>0>f>>>0){continue}break}j=a,k=Ve(i,8,h,f,C[a+8>>2],g+12|0),C[j+8>>2]=k;e=C[g+12>>2];if(e){break a}i=Ve(i,1,h,f,C[a+12>>2],g+12|0);C[a+12>>2]=i;e=C[g+12>>2];if(e){break a}C[a+4>>2]=f;f=C[a>>2]}h=C[b+4>>2];e=C[a+8>>2]+(f<<3)|0;C[e>>2]=C[b>>2];C[e+4>>2]=h;b=C[c+4>>2];C[e+8>>2]=C[c>>2];C[e+12>>2]=b;b=C[d+4>>2];C[e+16>>2]=C[d>>2];C[e+20>>2]=b;b=f+i|0;A[b+2|0]=1;A[b|0]=2;A[b+1|0]=2;C[a>>2]=C[a>>2]+3;e=0}A[a+16|0]=0;Ce=g+16|0;return e}function oG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(e){n=d-1|0;o=(d|0)<2;while(1){e=e-1|0;f=d;i=a;a:{b:{if(!o){h=d;if(a&2){B[a>>1]=c;i=a+2|0;f=1;h=n;if(h>>>0<2){break b}}f=h>>>1|0;j=f+3>>>2|0;g=i;k=g;l=g;m=g;c:{d:{switch((f&3)-1|0){default:f=0;break c;case 0:f=3;break c;case 1:f=2;break c;case 2:break d}}f=1}while(1){e:{switch(f|0){case 0:C[g>>2]=c;k=g+4|0;f=1;continue;case 1:C[k>>2]=c;l=k+4|0;f=2;continue;case 2:C[l>>2]=c;m=l+4|0;f=3;continue;default:break e}}C[m>>2]=c;g=m+4|0;j=j-1|0;if(j){f=0;continue}break}f=h}if(!(f&1)){break a}}B[((f<<1)+i|0)-2>>1]=c}a=a+b|0;if(e){continue}break}}}function px(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}g=C[a>>2];if(!g){break a}d=C[a+36>>2];if((d|0)>=C[a+32>>2]){break a}h=C[a+16>>2];c=C[h+(d<<2)>>2];if(!(c&1024)){e=1;if(!b){break a}i=c&256;f=c&512;e=255;c=c&255;b:{if((c|0)!=255){e=c;break b}while(1){d=d+1|0;c=C[(d<<2)+h>>2];f=c&512?512:f;c=c&255;e=c+e|0;if((c|0)==255){continue}break}}C[b+8>>2]=i;C[b+12>>2]=f;C[b>>2]=C[a+12>>2]+g;c=C[a+348>>2];C[b+24>>2]=C[a+344>>2];C[b+28>>2]=c;a=C[a+20>>2]+(d<<3)|0;c=C[a>>2];a=C[a+4>>2];C[b+4>>2]=e;C[b+16>>2]=c;C[b+20>>2]=a;return 1}C[a+36>>2]=d+1;c=C[a+348>>2];b=C[a+344>>2]+1|0;c=b?c:c+1|0;C[a+344>>2]=b;C[a+348>>2]=c;e=-1}return e}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;a=b-44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){a=e+4519|0;C[c>>2]=b-e;break b}b=(f>>>0)/588|0;a=(((a-I(b,588)&65535)>>>0)/28|0)+4449|0;C[c>>2]=b|4352;break b}a=0;if(b>>>0>195101){break a}b=E[(D[(b>>>6|0)+236198|0]<<7|(b&63)<<1)+252048>>1];if(!b){break a}if(b>>>0<=935){if(b>>>0<=825){b=E[(b<<1)+269134>>1]}else{b=E[(b<<1)+269148>>1]|131072}C[c>>2]=b;break b}a=b-936|0;if(a>>>0<=637){a=C[(a<<2)+263472>>2];C[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(b<<3)+253440|0;a=C[b>>2];b=C[b+4>>2];C[c>>2]=b>>>10;a=((b&2097151)<<11|a>>>21)&2097151}C[d>>2]=a;a=1}return a|0}function ll(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=J(0),k=J(0);f=D[a|0]|D[a+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return J(0)}f=D[a+4|0]|D[a+5|0]<<8;i=(f<<8|f>>>8)&65535;f=D[a+2|0]|D[a+3|0]<<8;g=(f<<8|f>>>8)&65535;b=(((i<<1)+a|0)+I(g+i|0,b)|0)+6|0;a:{if(!f){f=0;break a}f=g>>>0<=1?1:g;g=0;while(1){h=(g<<1)+a|0;h=D[h+6|0]|D[h+7|0]<<8;k=qq(e,(h<<8|h>>>8)&65535,c,d);h=D[b|0]|D[b+1|0]<<8;j=J(J(k*J((h<<8|h>>>8)<<16>>16))+j);b=b+2|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}if(f>>>0>>0){while(1){g=(f<<1)+a|0;g=D[g+6|0]|D[g+7|0]<<8;j=J(J(qq(e,(g<<8|g>>>8)&65535,c,d)*J(A[b|0]))+j);b=b+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}return j}function Pj(a,b,c){var d=0,e=0,f=0;f=Ce-32|0;Ce=f;a:{if(!a){C[f>>2]=13258;d=Qe(19745,f);break a}if(!b){C[f+16>>2]=15605;d=Qe(19745,f+16|0);break a}if(!c){break a}if((c|0)%C[a+196>>2]|0){d=Qe(7792,0);break a}if(!(C[a+84>>2]|(C[a>>2]|C[a+216>>2]!=C[a+204>>2]))){d=Un(C[a+168>>2],b,c);break a}if((c|0)<=0){break a}while(1){d=C[a+184>>2];e=C[a+180>>2];if(!(d|(e|0)>(c|0))){d=Yl(a,b,c,0);break a}if((e|0)>(c+d|0)){gf(d+C[a+176>>2]|0,b,c);C[a+184>>2]=C[a+184>>2]+c;d=0;break a}e=e-d|0;gf(d+C[a+176>>2]|0,b,e);C[a+184>>2]=0;if((Yl(a,C[a+176>>2],C[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}}Ce=f+32|0;return d}function Fu(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;c=C[a>>2];f=C[a+24>>2];B[d+14>>1]=0;B[d+12>>1]=0;B[d+10>>1]=0;B[d+8>>1]=0;g=C[f+8>>2];Fe[C[C[c+532>>2]+112>>2]](c,0,b,d+14|0,d+10|0);a:{if(D[c+292|0]){Fe[C[C[c+532>>2]+112>>2]](c,1,b,d+12|0,d+8|0);break a}b=C[a+48>>2];if(E[c+364>>1]!=65535){e=B[c+434>>1];B[d+12>>1]=e-b;c=e-B[c+436>>1]|0;b=c>>31;B[d+8>>1]=(b^c)-b;break a}e=B[c+220>>1];B[d+12>>1]=e-b;c=e-B[c+222>>1]|0;b=c>>31;B[d+8>>1]=(b^c)-b}b=bf(f,g);b:{if(b){break b}C[a+52>>2]=B[d+14>>1];c=E[d+10>>1];C[a+56>>2]=c;C[a+176>>2]=B[d+12>>1];C[a+180>>2]=E[d+8>>1];if(D[a+64|0]){break b}C[a+60>>2]=c;A[a+64|0]=1}Ce=d+16|0;return b}function HQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;d=D[a+20|0];f=C[a+16>>2];g=C[a+12>>2];a:{b:{if(!Se(b,11299)){d=C[c>>2];if(!d){a=35;break a}b=C[d+116>>2];C[e+8>>2]=b;if(!b){a=Fm(d,e+8|0,a);if(a){break a}b=C[e+8>>2];C[d+116>>2]=b;C[d+120>>2]=822}C[c+4>>2]=C[b+8>>2];break b}if(!Se(b,3707)){C[c>>2]=C[C[(g<<2)+274704>>2]+8>>2];break b}if(!Se(b,3692)){C[c>>2]=f;break b}if(!Se(b,4331)){d=C[c>>2];if(!d){a=35;break a}b=C[d+116>>2];C[e+12>>2]=b;if(!b){a=Fm(d,e+12|0,a);if(a){break a}b=C[e+12>>2];C[d+116>>2]=b;C[d+120>>2]=822}C[c+4>>2]=C[b+12>>2];break b}a=12;if(Se(b,15256)){break a}A[c|0]=d}a=0}Ce=e+16|0;return a|0}function aN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=C[a+16>>2];d=D[a+8204|0]|D[a+8205|0]<<8|(D[a+8206|0]<<16|D[a+8207|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(e){a=a+8208|0;d=C[b>>2]+1|0;while(1){a:{c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d>>>0>f>>>0?d:f;c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);if(d>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);c=(d-f|0)+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;if(!c){break a}C[b>>2]=d;return c|0}a=a+12|0;e=e-1|0;if(e){continue}break}}C[b>>2]=0;return 0}function Xz(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;b=C[a+12>>2];C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;d=b;e=C[b+76>>2];b=C[b+72>>2];g=Fe[C[b+148>>2]](d,e,c,C[b+12>>2])|0;if(g){a:{b:{b=C[a+12>>2];if(b){b=C[b+24>>2];d=C[a+24>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=C[c+8>>2];break a}a=c+8|0;b=C[c+8>>2];break a}e=d>>31;a=C[c>>2];f=b>>31;h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h>>2]=i;a=C[c+4>>2];h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h+4>>2]=i;a=c+8|0;c=C[c+8>>2];b=nT(mT(d,e,c,c>>31),Ee,b,f)}C[a>>2]=b}return g|0}function Wz(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;b=C[a+12>>2];C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;d=b;e=C[b+76>>2];b=C[b+72>>2];g=Fe[C[b+152>>2]](d,e,c,C[b+16>>2])|0;if(g){a:{b:{b=C[a+12>>2];if(b){b=C[b+20>>2];d=C[a+20>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=C[c+8>>2];break a}a=c+8|0;b=C[c+8>>2];break a}e=d>>31;a=C[c>>2];f=b>>31;h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h>>2]=i;a=C[c+4>>2];h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h+4>>2]=i;a=c+8|0;c=C[c+8>>2];b=nT(mT(d,e,c,c>>31),Ee,b,f)}C[a>>2]=b}return g|0}function Mh(a,b){var c=0,d=0,e=0,f=0;e=C[a+4>>2];a=C[a>>2];d=D[a|0];if((d|0)==30){return tp(a,e,b,0)}a:{b:{switch(d-28|0){case 0:c=0;if(a+3>>>0>e>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8;c=(a<<8|a>>>8)<<16>>16;break a;case 1:c=0;if(a+5>>>0>e>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);c=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break a;default:break b}}c=d-139|0;if(d>>>0<=246){break a}f=a+2|0;if(d>>>0<=250){c=0;if(e>>>0>>0){break a}c=(D[a+1|0]|d<<8)-63124|0;break a}c=0;if(e>>>0>>0){break a}c=64148-(D[a+1|0]|d<<8)|0}a=c;a=b?I(C[(b<<2)+278528>>2],a):a;return(a|0)>32767?2147483647:(a|0)<-32767?-2147483647:a<<16}function ar(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-32|0;Ce=g;e=b+1|0;if(e>>>0>>0){i=b;while(1){f=i;i=e;while(1){j=e;if(e>>>0>b>>>0){h=C[a+92>>2];e=j-1|0;if((Fe[d|0](h+I(e,20)|0,I(i,20)+h|0)|0)>0){continue}}break}if((i|0)!=(j|0)){e=f+2|0;if(e-j>>>0>=2){eg(a,j,e)}f=C[a+92>>2];h=f+I(i,20)|0;C[g+24>>2]=C[h+16>>2];e=C[h+12>>2];C[g+16>>2]=C[h+8>>2];C[g+20>>2]=e;e=C[h+4>>2];C[g+8>>2]=C[h>>2];C[g+12>>2]=e;e=f;f=I(j,20);e=e+f|0;Yf(e+20|0,e,I(i-j|0,20));e=C[g+12>>2];f=f+C[a+92>>2]|0;C[f>>2]=C[g+8>>2];C[f+4>>2]=e;C[f+16>>2]=C[g+24>>2];e=C[g+20>>2];C[f+8>>2]=C[g+16>>2];C[f+12>>2]=e}e=i+1|0;if((e|0)!=(c|0)){continue}break}}Ce=g+32|0}function Xx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=-131;a:{if(C[a+88>>2]<2){break a}if(!C[a+4>>2]){return-138}if(b<0){break a}b:{g=C[a+52>>2];if((g|0)<=0){break b}while(1){j=i+_x(a,d);if(j>b){break b}k=C[a+68>>2]+(d<<4)|0;e=C[k+12>>2]+e|0;f=c;c=c+C[k+8>>2]|0;e=f>>>0>c>>>0?e+1|0:e;i=j;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}if((d|0)==(g|0)){break a}b=(b-i)*+C[(C[a+72>>2]+(d<<5)|0)+8>>2]+(+(c>>>0)+ +(e|0)*4294967296);c:{if(K(b)<0x8000000000000000){c=K(b)>=1?~~(b>0?M(O(b*2.3283064365386963e-10),4294967295):P((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;f=~~b>>>0;break c}c=-2147483648;f=0}h=uy(a,f,c)}return h}function Lo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=d>>9;d=(d|0)<0?0-f|0:f;a:{if(D[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?255:d}if(d){b=C[a+164>>2]+b|0;j=(b|0)>=32767?32767:b;b=C[a+172>>2]+c|0;f=a+1196|0;h=C[a+1388>>2];g=(f+I(h,6)|0)-6|0;b:{c=C[a+1400>>2];if((b|0)!=(c|0)|(h|0)<=0){break b}c=b;i=E[g+2>>1];if((i+B[g>>1]|0)!=(j|0)|(d|0)!=D[g+4|0]){break b}B[g+2>>1]=e+i;return}c:{if(!((b|0)==(c|0)&(h|0)<32)){i=1;d:{if((h|0)<=0){break d}g=C[a+1392>>2];if(!g){break d}Fe[g|0](c,h,f,C[a+1396>>2])}C[a+1400>>2]=b;break c}i=h+1|0;f=g+6|0}A[f+4|0]=d;B[f+2>>1]=e;B[f>>1]=j;C[a+1388>>2]=i}}function Fp(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=D[a+168048|0];if((a|0)!=8){break a}}a=b>>>0<=31?1<>2];f=35;a:{if(!g){break a}b=e+8|0;f=6;if(!b){break a}a=!C[a+48>>2];f=C[g+96>>2];C[b>>2]=0;C[b+4>>2]=0;f=C[C[f+12>>2]+76>>2];b:{c:{if(!f){break c}c=Fe[f|0](g,c,d,b)|0;if(c){break b}h=b,i=Te(C[b>>2],C[C[g+88>>2]+16>>2]),C[h>>2]=i;h=b,i=Te(C[b+4>>2],C[C[g+88>>2]+20>>2]),C[h+4>>2]=i;if(a){break c}a=C[g+88>>2];c=E[a+12>>1];if(c>>>0<=24){h=b,i=of(C[b>>2],c,25),C[h>>2]=i;a=C[g+88>>2]}a=E[a+14>>1];c=C[b+4>>2];d:{if(a>>>0>=25){break d}c=of(C[b+4>>2],a,25)}C[b+4>>2]=c+32&-64;C[b>>2]=C[b>>2]+32&-64}c=0}f=c}Ce=e+16|0;return(f?0:C[e+8>>2])|0}function IQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ce-16|0;Ce=e;a:{b:{c:{if(!Se(b,3707)){c=C[c>>2];b=0;d=273472;while(1){if(!((c|0)!=C[d+8>>2]|C[d+16>>2]!=10)){d=b;break c}d=b|1;if((d|0)==49){d=6;break a}f=C[(d<<2)+274704>>2];if((c|0)==C[f+8>>2]&C[f+16>>2]==10){break c}b=b+2|0;d=C[(b<<2)+274704>>2];continue}}if(!Se(b,3692)){C[a+16>>2]=C[c>>2];break b}if(!Se(b,4331)){b=C[c>>2];if(!b){d=35;break a}d=C[b+116>>2];C[e+12>>2]=d;if(!d){d=Fm(b,e+12|0,a);if(d){break a}d=C[e+12>>2];C[b+116>>2]=d;C[b+120>>2]=822}C[d+12>>2]=C[c+4>>2];break b}d=12;if(Se(b,15256)){break a}A[a+20|0]=D[c|0];break b}C[a+12>>2]=d}d=0}Ce=e+16|0;return d|0}function pz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;h=C[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}i=C[b+12>>2];f=i-4|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=A[a|0];if((f|0)<0){break a}e=D[a+3|0]|(D[a+1|0]<<16|(f&255)<<24|D[a+2|0]<<8);if(e){c=c+e|0;b:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<=7){break b}d=i-12|0;C[b+12>>2]=d;if((D[c|0]|D[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!sq(c+2|0,b,c)){break b}C[g+12>>2]=c;e=1;if(rq(c+6|0,b,g+12|0)){break a}}e=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}e=1}Ce=g+16|0;return e}function mg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+8>>2];d=C[a+12>>2];e=C[a+16>>2];i=C[a+32>>2];j=C[a+4>>2];f=C[a>>2];k=C[a+28>>2];while(1){f=f-j|0;C[a>>2]=f;b=(e|0)!=0;e=e-b|0;C[a+16>>2]=e;d=b+d|0;C[a+12>>2]=d;c=I(b,-20)+c|0;C[a+8>>2]=c;a:{if(!d){break a}b:{switch(D[c+18|0]-6|0){case 0:if(!(D[c+16|0]&32)){break a}if(!(E[c+12>>1]&16)){continue}break a;case 8:break b;default:break a}}l=C[C[k>>2]+80>>2];b=f;while(1){b=b+1|0;if(l>>>0<=b>>>0){break a}g=C[i>>2]+I(b,20)|0;c:{if(D[g+18|0]!=6){h=E[g+16>>1];break c}h=E[g+16>>1];if(!(h&32)){break c}if(!(E[g+12>>1]&16)){continue}}break}if(1<>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){g=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}f=d>>>1|0;i=f+(c<<16)|0;c=(c>>>16|0)+(f>>>0>i>>>0)|0;if(c>>>0>=d>>>0){break a}f=L(c);h=32-f|0;c=i>>>h|c<>>0)/(d>>>0)|0;e=c-I(d,g)|0;c=i<>>31;h=e>>>0>=d>>>0;e=e-(h?d:0)|0;g=h|g<<1;h=31-f|0;c=c<<1}if((f|0)==31){break a}while(1){e=e<<1|c>>>31;f=e>>>0>=d>>>0;e=c>>>30&1|e-(f?d:0)<<1;i=e>>>0>=d>>>0;e=e-(i?d:0)|0;g=g<<2|f<<1|i;c=c<<2;h=h-2|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-g|0:g}function uI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/2|0,5);if(d>>>0>=8){g=d>>>3|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){C[e-4>>2]=0;f=e-12|0;C[f>>2]=0;C[f+4>>2]=0;G[e-16>>2]=G[d-4>>2];e=e-20|0;d=d-8|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Nx(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=C[b+12>>2]-2|0;C[b+12>>2]=f;d=1;if((f|0)<=0){break b}h=D[a|0]|D[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){break b}g=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(g>>>0>>0){break b}f=f-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break a}f=e>>>0<=1?1:e;e=0;while(1){h=(e<<2)+a|0;d=h+2|0;if(d>>>0>2]){break b}g=C[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break b}d=C[c>>2];g=C[b+12>>2]-4|0;C[b+12>>2]=g;if((g|0)<=0){break b}if(!Qm(h+4|0,b,d)){break b}d=1;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}d=0}return d}function gh(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!D[a+72|0]){break a}if(D[a+73|0]){b=C[a+76>>2];e=C[a+80>>2]-b|0;c=C[a+96>>2];d=C[a+92>>2];f=C[a+84>>2];if(!((c|0)==(d|0)&(f|0)==(b|0))){b=e+f|0;if(!(!b|b>>>0>2])){if(!aj(a,b)){break a}d=C[a+92>>2];c=C[a+96>>2]}b:{if((c|0)!=(d|0)){break b}c=C[a+84>>2];if(c+e>>>0<=C[a+76>>2]+e>>>0){c=d;break b}b=C[a+100>>2];C[a+96>>2]=b;jf(b,d,I(c,20));d=C[a+92>>2];c=C[a+96>>2]}Yf(I(C[a+84>>2],20)+c|0,I(C[a+76>>2],20)+d|0,I(e,20));b=C[a+84>>2]}C[a+84>>2]=b+e}c=C[a+96>>2];b=C[a+92>>2];if((c|0)!=(b|0)){C[a+92>>2]=c;C[a+100>>2]=b}C[a+80>>2]=C[a+84>>2]}C[a+84>>2]=0;A[a+73|0]=0;C[a+76>>2]=0}function lh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Ce-32|0;Ce=b;a:{b:{if(!(da()|0)){break b}if(!cg(22433,1)){break b}ba(a|0);break a}c=(a>>>0)/1e3|0;C[b+16>>2]=c;C[b+20>>2]=0;C[b+24>>2]=I(a-I(c,1e3)|0,1e6);while(1){C[105773]=0;a=C[b+20>>2];C[b>>2]=C[b+16>>2];C[b+4>>2]=a;C[b+8>>2]=C[b+24>>2];d=Ce-16|0;Ce=d;a=28;c:{if(!b){break c}e=C[b+8>>2];if(e>>>0>999999999){break c}c=C[b>>2];f=C[b+4>>2];if((f|0)<0){break c}g=(+(c>>>0)+ +(f|0)*4294967296)*1e3+ +(e|0)/1e6;h=+ca();while(1){if(+ca()-h>>0>=4294963201){C[105773]=0-a;a=-1}if(!a){break a}if(C[105773]==27){continue}break}}Ce=b+32|0}function bH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;d=C[a+68>>2];if(!(C[a+100>>2]?0:b)){b=Ug(d?25540:27098);b=b?b:d?2240:2227}f=Ug(22526);c=Fe[C[94503]](12)|0;if(c){C[94507]=C[94507]+1}C[a+96>>2]=c;a:{if(!c){c=_e(0);break a}lf(c,0,12);b:{if(f){c=Zf(f);break b}c=(I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0}C[C[a+96>>2]+4>>2]=c;f=Xh(b,d?21803:21800);C[C[a+96>>2]>>2]=f;c=-1;if(!f){break a}c=12928;if(!d){d=C[a+16>>2];d=Fe[C[94503]](d>>>0<=1?1:d)|0;if(d){C[94507]=C[94507]+1}C[C[a+96>>2]+8>>2]=d;if(!d){c=_e(0);break a}lf(d,D[a+11|0],C[a+16>>2]);c=11401}Ts(34882,0);C[e+4>>2]=b;C[e>>2]=c;Ts(34836,e);c=0}Ce=e+16|0;return c|0}function zo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=c;f=C[a+696>>2];a:{if(f>>>0>b>>>0){d=C[a+700>>2];b:{if(E[a+210>>1]){b=d+(b<<2)|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(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=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}e=d+(b<<1)|0;b=D[e|0]<<8|D[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=D[b|0]<<8|D[b+1|0]}e=b<<1}d=0;a=C[a+668>>2];b=0;if(a>>>0>>0){break a}b=a;a=a>>>0>e>>>0?e:a;d=c;a=a>>>0>>0?b:a}else{a=0}b=a-d|0}C[g>>2]=b;return d|0}function wh(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=Ce-16|0;Ce=f;C[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=C[c>>2];if(!g){break a}h=C[g+100>>2];e=hf(h,C[a>>2],f+12|0);b:{if(C[f+12>>2]){break b}i=C[c+4>>2];C[e>>2]=C[c>>2];C[e+4>>2]=i;C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;c:{a=C[a+4>>2];if(a){a=Fe[a|0](e,b)|0;C[f+12>>2]=a;if(a){break c}}a=C[g+36>>2];a=Ve(h,4,a,a+1|0,C[g+40>>2],f+12|0);C[g+40>>2]=a;if(C[f+12>>2]){break c}b=C[g+36>>2];C[g+36>>2]=b+1;C[a+(b<<2)>>2]=e;break b}a=C[C[e>>2]+100>>2];b=C[C[e+12>>2]+8>>2];if(b){Fe[b|0](e)}if(e){Fe[C[a+8>>2]](a,e)}e=0}if(d){C[d>>2]=e}e=C[f+12>>2]}Ce=f+16|0;return e|0}function fK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-208|0;Ce=d;f=C[a+528>>2];Fe[C[b+60>>2]](b,d+16|0,16,d+12|0);e=C[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=C[f>>2];if(g){break d}}c=km(a,e,0);if(c){break a}e=C[b+8>>2];g=C[b>>2];if(C[d+12>>2]<=0){break b}f=C[a+528>>2];break c}if((e|0)!=(g|0)){break a}e=C[b+8>>2];g=C[b>>2]}c=0;while(1){a=(d+16|0)+I(c,12)|0;C[b>>2]=C[a>>2];C[b+8>>2]=C[a+4>>2];a=Fe[C[b+40>>2]](b,0)|0;h=c<<2;C[h+C[f+136>>2]>>2]=a;C[C[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}C[b+8>>2]=e;C[b>>2]=g;c=0}C[b+12>>2]=c;Ce=d+208|0}function Lt(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ce-208|0;Ce=f;C[f+204>>2]=c;c=f+160|0;We(c,0,40);C[f+200>>2]=C[f+204>>2];a:{if((Kt(0,b,f+200|0,f+80|0,c,d,e)|0)<0){e=-1;break a}i=C[a+76>>2]>=0;g=C[a>>2];if(C[a+72>>2]<=0){C[a>>2]=g&-33}b:{c:{d:{if(!C[a+48>>2]){C[a+48>>2]=80;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;h=C[a+44>>2];C[a+44>>2]=f;break d}if(C[a+16>>2]){break c}}c=-1;if(oo(a)){break b}}c=Kt(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Fe[C[a+36>>2]](a,0,0)|0;C[a+48>>2]=0;C[a+44>>2]=h;C[a+28>>2]=0;b=C[a+20>>2];C[a+16>>2]=0;C[a+20>>2]=0;c=b?c:-1}b=a;a=C[a>>2];C[b>>2]=a|g&32;e=a&32?-1:c;if(!i){break a}}Ce=f+208|0;return e}function Xu(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a+28>>2];a:{if((b|0)==-1){break a}d=C[a+36>>2];f=C[a+40>>2];if(d>>>0>=f>>>0){break a}e=b+1|0;g=C[a+16>>2]+20|0;while(1){b:{b=I(d,12)+g|0;c=b-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);if(e>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break b}C[a+36>>2]=d;C[a+32>>2]=b;C[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}A[a+24|0]=0}function Oo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(E[a+264>>1]<=b>>>0){break a}d=C[a+536>>2];if(!d){return 7}e=0;g=c,h=Fe[C[d+16>>2]](0)|0,C[g>>2]=h;f=c;c=C[a+468>>2];b:{if((c|0)!=163840){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Fe[C[d+16>>2]](b)|0;break b}if(!D[a+612|0]){if(Tu(a)){break a}}if(E[a+616>>1]<=b>>>0){break a}b=E[C[a+620>>2]+(b<<1)>>1];if(b>>>0<=257){a=Fe[C[d+16>>2]](b)|0;break b}a=C[(C[a+624>>2]+(b<<2)|0)-1032>>2];break b}if(!D[a+612|0]){if(Tu(a)){break a}}if(E[a+616>>1]<=b>>>0){break a}a=Fe[C[d+16>>2]](A[C[a+620>>2]+b|0]+b|0)|0}C[f>>2]=a}return e|0}function Kp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ce-16|0;Ce=f;d=205712;e=D[a+2|0]|D[a+3|0]<<8;c=(a+2|0)+(((e<<8|e>>>8)&65535)<<1)|0;e=c+2|0;c=D[e|0]|D[e+1|0]<<8?c+4|0:205712;c=D[c|0]|D[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=C[b+100>>2];if((zf(g,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)!=-1){d=D[e|0]|D[e+1|0]<<8;h=(d<<8|d>>>8)&65535;i=e+(h<<1)|0;d=i+2|0;c=D[d|0]|D[d+1|0]<<8;C[f+12>>2]=a;C[f+8>>2]=a;C[f+4>>2]=a;C[f>>2]=723;j=(c<<8|c>>>8)&65535;d=(j<<1)+d|0;c=D[d+2|0]|D[d+3|0]<<8;g=b;b=D[a+2|0]|D[a+3|0]<<8;c=Rm(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(c<<8|c>>>8)&65535,d+4|0,f)}Ce=f+16|0;return c}function GM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;g=C[a+16>>2];c=C[a+28>>2];e=C[a+24>>2];C[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=C[a+32>>2];break c}C[a+36>>2]=b;b=Ve(b,4,c,d,C[a+32>>2],f+12|0);C[a+32>>2]=b;if(C[f+12>>2]){break b}C[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){g=e&-2;d=0;while(1){h=c<<2;C[h+b>>2]=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);C[(h|4)+b>>2]=D[a+13|0]|(D[a+12|0]<<8|D[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(e&1)){break d}C[(c<<2)+b>>2]=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16)}C[(e<<2)+b>>2]=0;break a}b=0}Ce=f+16|0;return b|0}function hg(a,b,c){var d=0,e=0,f=0,g=0;g=C[b+12>>2];d=C[b+16>>2];f=C[a+48>>2];e=C[a+52>>2];if(f>>>0>e>>>0){e=C[a+44>>2]}e=e-f|0;e=d>>>0>e>>>0?e:d;C[b+16>>2]=d-e;C[b+20>>2]=e+C[b+20>>2];d=C[a+56>>2];if(d){d=Fe[d|0](C[a+60>>2],f,e)|0;C[a+60>>2]=d;C[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;t(g,f,e);g=e+g|0;d=e+f|0;if((d|0)==C[a+44>>2]){e=C[a+40>>2];f=C[a+52>>2];if((f|0)==(d|0)){C[a+52>>2]=e;f=e}f=f-e|0;d=C[b+16>>2];f=d>>>0>f>>>0?f:d;C[b+16>>2]=d-f;C[b+20>>2]=f+C[b+20>>2];d=C[a+56>>2];if(d){d=Fe[d|0](C[a+60>>2],e,f)|0;C[a+60>>2]=d;C[b+48>>2]=d}t(g,e,f);d=e+f|0;g=f+g|0;c=f?(c|0)!=-5?c:0:c}C[b+12>>2]=g;C[a+48>>2]=d;return c}function UR(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;a:{e=C[c+80>>2];if(!e){break a}b=e-1|0;a=0;g=C[c+92>>2];f=D[g+15|0];while(1){b:{if((a|0)==(b|0)){a=e;break b}a=a+1|0;if((f|0)==D[(I(a,20)+g|0)+15|0]){continue}}break}if(!e){break a}h=c;c=g;f=e;while(1){b=a;c:{if(d>>>0>=a>>>0){break c}while(1){a=I(d,20)+g|0;if(D[a+12|0]&16){A[a+18|0]=22;c=C[h+92>>2];f=C[h+80>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;i=D[(I(b,20)+c|0)+15|0];a=b;while(1){d:{a=a+1|0;if(f>>>0<=a>>>0){a=d;break d}if(D[(I(a,20)+c|0)+15|0]==(i|0)){continue}}break}d=b;if(b>>>0>>0){continue}break}}}function So(a,b){var c=0,d=0,e=0,f=0;d=C[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{f=D[d|0];switch(f-40|0){case 1:break c;case 0:break d;default:break e}}if((f|0)!=92){break a}if((b|0)==(c|0)){C[a>>2]=b;return 3}f:{switch(D[c|0]-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((D[c|0]&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(D[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(D[d+3|0]&248)==48?d+4|0:c;break a}e=e+1|0;break a}e=e-1|0;if(e){break a}C[a>>2]=c;return 0}c=d+2|0}d=c;if(c>>>0>>0){continue}break}}C[a>>2]=d;return 3}function or(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;c=C[105668];a:{if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}if(!D[22082]){C[d>>2]=17197;Qe(19745,d);break a}e=a+160|0;a=C[a+160>>2];if(a){c=0;while(1){b:{f=C[a>>2];if(!f){break b}if(uf(f,22082)){break b}if(b){C[a+4>>2]=b;break a}C[(c?c+8|0:e)>>2]=C[a+8>>2];b=C[a>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}break a}c=a;a=C[a+8>>2];if(a){continue}break}}if(!b){break a}a=Fe[C[94503]](12)|0;if(a){C[94507]=C[94507]+1}c=Og(22082);C[a+4>>2]=b;C[a>>2]=c;C[a+8>>2]=C[e>>2];C[e>>2]=a}Ce=d+16|0}function xw(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;a:{b:{c:{f=C[a+4>>2];e=C[C[f+128>>2]+48>>2];if(!e){e=18;if(b>>>0>255){break a}a=C[a+76>>2];g=C[a+1160>>2];if(!g){break a}h=C[a+12>>2];if(!h){break a}a=0;b=E[(b<<1)+276528>>1];while(1){if((b|0)==E[(a<<1)+g>>1]){break c}a=a+1|0;if((h|0)!=(a|0)){continue}break}break a}e=Fe[C[C[e>>2]>>2]](C[e+4>>2],b,d+8|0)|0;C[d+4>>2]=C[d+8>>2];C[d>>2]=C[d+12>>2];break b}if((a|0)<0){break a}e=Dm(C[f+656>>2]+1176|0,a,d+4|0,d)}if(e){break a}a=C[d+4>>2];C[c+4>>2]=a;b=C[d>>2];C[c+12>>2]=a;C[c+8>>2]=a+b;e=0}Ce=d+16|0;return e}function Vu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=C[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=C[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=D[c|0]<<8|D[c+1|0];C[a+44>>2]=e;c=c+j|0;h=D[c|0]<<8|D[c+1|0];C[a+40>>2]=h;c=c+g|0;d=D[c|0]|D[c+1|0]<<8;C[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=D[d|0]<<8|D[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=C[a>>2];if((c+d|0)+2>>>0<=C[e+500>>2]+C[e+504>>2]>>>0){break c}C[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}C[a+36>>2]=b;C[a+52>>2]=c;return 0}function fE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){i=e;b=f;g=C[a+24>>2];if(g){while(1){h=C[b>>2];j=h&255;d=h>>>8&255;c=h>>>16&255;if(p){j=(I(j,l)>>>0)/255|0;d=(I(d,m)>>>0)/255|0;c=(I(c,n)>>>0)/255|0}d=d<<8|c<<16|j;c=h>>>24|0;C[i>>2]=d|(o?(I(c,k)>>>0)/255|0:c)<<24;i=i+4|0;b=b+4|0;g=g-1|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function eD(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){i=e;b=f;g=C[a+24>>2];if(g){while(1){h=C[b>>2];j=h>>>24|0;d=h>>>8&255;c=h>>>16&255;if(p){j=(I(j,l)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;c=(I(c,m)>>>0)/255|0}d=c<<8|d<<16|j;c=h&255;C[i>>2]=d|(o?(I(c,k)>>>0)/255|0:c)<<24;i=i+4|0;b=b+4|0;g=g-1|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function ND(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){i=e;b=f;g=C[a+24>>2];if(g){while(1){h=C[b>>2];j=h>>>24|0;d=h>>>8&255;c=h>>>16&255;if(p){d=(I(d,l)>>>0)/255|0;j=(I(j,n)>>>0)/255|0;c=(I(c,m)>>>0)/255|0}d=c<<8|j<<16|d;c=h&255;C[i>>2]=d|(o?(I(c,k)>>>0)/255|0:c)<<24;i=i+4|0;b=b+4|0;g=g-1|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function Xl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;a:{if(!a){C[e>>2]=13258;Qe(19745,e);break a}b=C[a+236>>2]<<1;c=C[a+168>>2];b:{if(!c){break b}f=C[c+12>>2];g=(b+f|0)-1|0;i=(g>>>0)/(f>>>0)|0;d=C[c+8>>2];b=C[c>>2];c:{if(!b){b=d;break c}C[C[c+4>>2]+8>>2]=d}C[c+16>>2]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=b;d=c+8|0;if(!(!b|f>>>0>g>>>0)){while(1){d=b;b=C[b+8>>2];if(b){h=h+1|0;if(h>>>0>>0){continue}}break}d=d+8|0}C[d>>2]=0;if(!b){break b}while(1){d=C[b+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=d;if(b){continue}break}}b=C[a+256>>2];if(b){Fe[b|0](a)}C[a+184>>2]=0;C[a+172>>2]=1}Ce=e+16|0}function Ru(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[104371];a:{if((a|0)==-1){if((b|0)<=0){break a}while(1){Ru(c);c=c+1|0;if((c|0)=(b|0)){break a}$l(C[104370]);d=C[104372];e=I(a,60);if(C[(d+e|0)+4>>2]){b=C[104376];if(b){Fe[b|0](a);d=C[104372]}f=I(a,60);b=f+d|0;g=b;c=C[b+56>>2];if(c){while(1){b=C[c+12>>2];d=C[c+4>>2];if(d){Fe[d|0](a,C[c+8>>2])}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}c=b;if(b){continue}break}d=C[104372]}C[g+56>>2]=0;b=d+f|0;C[b+20>>2]=0;C[b+4>>2]=0}b=d+e|0;C[b+28>>2]=0;if(C[b+36>>2]){a=I(a,60)+d|0;C[a+16>>2]=C[a+44>>2]}C[b+36>>2]=0;_l(C[104370])}}function Ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Fe[C[a+592>>2]](a)|0;f=C[b>>2];a:{if(!f){break a}h=a+36|0;e=1;while(1){b=C[a+28>>2];if((b|0)<=1){if(D[a+561|0]){C[a+12>>2]=129}C[a+28>>2]=0;break a}c=b-2|0;C[a+28>>2]=c;d=b<<2;b=C[a+24>>2];d=E[(d+b|0)-4>>1];b:{if(d>>>0>1]){c=C[b+(c<<2)>>2];b=c>>>4&15;c:{d:{switch(D[a+368|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((E[a+332>>1]+b|0)!=(g|0)){break b}b=c&15;Fe[C[a+584>>2]](a,h,d,(b>>>0>7?-7:-8)+b<<6-E[a+334>>1]);break b}if(!D[a+561|0]){break b}C[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}C[a+32>>2]=C[a+28>>2]}function xD(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){b=e;h=f;g=C[a+24>>2];if(g){while(1){d=C[h>>2];i=d&255;j=d>>>8&255;c=d>>>16&255;g=g-1|0;d=d>>>24|0;if(p){j=(I(j,m)>>>0)/255|0;i=(I(i,n)>>>0)/255|0;c=(I(c,l)>>>0)/255|0}C[b>>2]=j<<8|i<<16|c|(o?(I(d,k)>>>0)/255|0:d)<<24;b=b+4|0;h=h+4|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function VC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=c?9729:9728;c=C[a+548>>2];a=C[b+80>>2];a:{b:{if(C[a+24>>2]){Fe[C[c+8>>2]](33986);Fe[C[c+20>>2]](C[a+4>>2],C[a+32>>2]);Fe[C[c+152>>2]](C[a+4>>2],10241,d);Fe[C[c+152>>2]](C[a+4>>2],10240,d);Fe[C[c+8>>2]](33985);Fe[C[c+20>>2]](C[a+4>>2],C[a+36>>2]);e=c+152|0;b=a+4|0;break b}if(!C[a+28>>2]){break a}Fe[C[c+8>>2]](33985);Fe[C[c+20>>2]](C[a+4>>2],C[a+36>>2]);e=c+152|0;b=a+4|0}Fe[C[e>>2]](C[b>>2],10241,d);Fe[C[e>>2]](C[b>>2],10240,d)}Fe[C[c+8>>2]](33984);Fe[C[c+20>>2]](C[a+4>>2],C[a>>2]);Fe[C[c+152>>2]](C[a+4>>2],10241,d);Fe[C[c+152>>2]](C[a+4>>2],10240,d)}function fl(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;d=D[a+2|0]|D[a+3|0]<<8;if(d){l=a+2|0;a=(d<<8|d>>>8)&65535;m=a>>>0<=1?1:a;d=C[b+8>>2];g=C[b+4>>2];e=C[b>>2];while(1){a=-1;h=-1;c=I(i,6)+l|0;f=D[c+4|0]|D[c+5|0]<<8;f=(f<<8|f>>>8)&65535;j=f>>>4|0;c=D[c+2|0]|D[c+3|0]<<8;c=(c<<8|c>>>8)&65535;k=c>>>4|0;if(j-k>>>0<=30){h=e;e=1<>>0>1<>>0)}if(f-c>>>0<=30){a=1<>>0>1<>>0)|g}g=f>>>9|0;e=c>>>9|0;if(g-e>>>0<=30){c=d;d=1<>>0>1<>>0)}else{d=-1}g=a;e=h;i=i+1|0;if((m|0)!=(i|0)){continue}break}C[b+8>>2]=d;C[b+4>>2]=g;C[b>>2]=e}}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,h=0,i=0,j=0,k=0;g=Ce-128|0;Ce=g;if((c|0)>0){k=(I((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)>=16?16:c;f=i<<1;b=0;while(1){h=b<<2;j=C[h+d>>2]+j|0;e=j;C[g+h>>2]=((e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0)>>16;b=b+1|0;if((f|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+g|0;C[h>>2]=C[h>>2]-C[e+g>>2];b=b+2|0;if((f|0)>(b|0)){continue}break}a:{if(C[a+4>>2]){break a}b=g;e=i;while(1){f=Mk(k,C[b>>2],C[b+4>>2],C[a>>2],0);if(f){C[a+4>>2]=f;break a}b=b+8|0;f=(e|0)>1;e=e-1|0;if(f){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Ce=g+128|0}function jG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((c|0)>0){h=C[(D[d+22|0]<<2)+381104>>2];i=C[(D[d+21|0]<<2)+381104>>2];j=C[(D[d+20|0]<<2)+381104>>2];k=D[e+35|0];l=D[e+31|0];m=D[e+34|0];n=D[e+30|0];o=D[e+33|0];p=D[e+29|0];q=D[e+32|0];r=D[e+28|0];s=D[d+26|0];t=D[d+25|0];u=D[d+24|0];e=0;while(1){f=C[b>>2];g=f&-993|f>>>16;C[a>>2]=D[((g&C[d+8>>2])>>>t|0)+i|0]>>>p<>2]&g)>>>u|0)+j|0]>>>r<>2]&g)>>>s|0)+h|0]>>>n<>>2&248)>>>l<>2];c=D[a+8204|0]|D[a+8205|0]<<8|(D[a+8206|0]<<16|D[a+8207|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);f=(b-e|0)+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0}return f|0}function qz(a,b){var c=0,d=0,e=0;a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}A[a+24|0]=0;C[a+32>>2]=b;d=C[b+12>>2];C[a+4>>2]=d;e=C[b+16>>2];C[a+8>>2]=d+e;C[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!d){Ue(b);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}b:{if((e|0)>=36){C[a+12>>2]=c-36;c=D[d|0]|D[d+1|0]<<8;Ue(b);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if((c|0)!=256){break b}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(b);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}Ue(b);return 205712}function SL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=3;f=b+2|0;a:{if(f>>>0>c>>>0){break a}h=D[b+1|0]|D[b|0]<<8;if((h<<2)+f>>>0>c>>>0){break a}c=C[a+12>>2];i=D[c+14|0];j=E[c+12>>1];k=E[c+10>>1];l=D[c+8|0];m=E[c+6>>1];n=E[c+4>>1];b=0;b:{if(!h){g=0;break b}while(1){g=Uu(a,D[f+1|0]|D[f|0]<<8,D[f+2|0]+d|0,D[f+3|0]+e|0);if(!g){f=f+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}}break}c=C[a+12>>2]}B[c+14>>1]=i;B[c+8>>1]=l;B[c+12>>1]=j<<24>>24;B[c+10>>1]=k<<24>>24;B[c+6>>1]=m<<24>>24;B[c+4>>1]=n<<24>>24;a=C[a+8>>2];B[c+2>>1]=D[a+4|0];B[c>>1]=D[a|0]}return g|0}function Af(a,b){var c=0;a:{if(!a){break a}c=C[a+168>>2];if(!c){break a}Fe[c|0](a,b)}c=Ce-16|0;Ce=c;C[c>>2]=b?b:20512;b=C[93444];hu(b,8821,c);c=C[b+76>>2];b:{if(!((c|0)>=0&(!c|C[105801]!=(c&-1073741825)))){c:{if(C[b+80>>2]==10){break c}c=C[b+20>>2];if((c|0)==C[b+16>>2]){break c}C[b+20>>2]=c+1;A[c|0]=10;break b}gu(b);break b}c=C[b+76>>2];C[b+76>>2]=c?c:1073741823;d:{e:{if(C[b+80>>2]==10){break e}c=C[b+20>>2];if((c|0)==C[b+16>>2]){break e}C[b+20>>2]=c+1;A[c|0]=10;break d}gu(b)}C[b+76>>2]=0}f:{if(!a){break f}b=C[a+156>>2];if(!b){break f}a=C[a+160>>2];if(!a){break f}Fe[b|0](a,1)}Dd();s()}function ij(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function Vv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-16|0;Ce=e;g=C[a+4>>2];d=C[a>>2];C[e+12>>2]=0;h=d+2|0;a:{b:{if(h>>>0<=g>>>0){h=C[a+12>>2];break b}f=C[a+24>>2];d=g;while(1){d=((d>>>1|0)+d|0)+16|0;if(h>>>0>d>>>0){continue}break}j=a,k=Ve(f,8,g,d,C[a+8>>2],e+12|0),C[j+8>>2]=k;i=C[e+12>>2];if(i){break a}h=Ve(f,1,g,d,C[a+12>>2],e+12|0);C[a+12>>2]=h;i=C[e+12>>2];if(i){break a}C[a+4>>2]=d;d=C[a>>2]}g=C[b+4>>2];f=C[a+8>>2]+(d<<3)|0;C[f>>2]=C[b>>2];C[f+4>>2]=g;b=C[c+4>>2];C[f+8>>2]=C[c>>2];C[f+12>>2]=b;b=d+h|0;A[b|0]=0;A[b+1|0]=1;C[a>>2]=C[a>>2]+2;i=0}A[a+16|0]=0;Ce=e+16|0;return i}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ce-32|0;Ce=c;a:{if((Fe[C[b+52>>2]](b,6,c,3)|0)<=5){C[b+12>>2]=3;break a}d=C[c+12>>2];if(!d){C[b+12>>2]=3;break a}b=d>>31;b=(b^d)-b|0;f=a,g=Ze(1e3,b),B[f+68>>1]=g;b:{if((b|0)==65536){b=C[c+20>>2];d=C[c+12>>2];break b}f=c,g=Ze(C[c>>2],b),C[f>>2]=g;f=c,g=Ze(C[c+4>>2],b),C[f+4>>2]=g;f=c,g=Ze(C[c+8>>2],b),C[f+8>>2]=g;f=c,g=Ze(C[c+16>>2],b),C[f+16>>2]=g;b=Ze(C[c+20>>2],b);d=C[c+12>>2]<0?-65536:65536}C[a+436>>2]=C[c>>2];C[a+444>>2]=C[c+4>>2];e=C[c+8>>2];C[a+448>>2]=d;C[a+440>>2]=e;d=B[c+18>>1];C[a+456>>2]=b>>16;C[a+452>>2]=d}Ce=c+32|0}function Cg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(a|b)){return 0}c=b>>31;d=(c^b)-c|0;c=a>>31;d=d|(c^a)-c;c=L(d);a:{if(d>>>0<=1073741823){c=c-2|0;b=b<>c;a=a>>c}d=0-a|0;b:{if((a|0)<(b|0)){e=5898240;if((b|0)>(d|0)){c=d;d=b;break b}e=(b|0)>0?11796480:-11796480;c=0-b|0;break b}if((b|0)>=(d|0)){c=b;d=a;break b}d=0-b|0;e=-5898240;c=a}f=281872;a=1;b=1;while(1){g=a+d>>b;h=a+c>>b;i=C[f>>2];c:{if((c|0)>0){e=e+i|0;d=d+h|0;c=c-g|0;break c}e=e-i|0;d=d-h|0;c=c+g|0}a=a<<1;f=f+4|0;b=b+1|0;if((b|0)!=23){continue}break}if((e|0)>=0){return e+8&-16}return 0-(8-e&-16)|0}function mq(a,b){var c=0,d=0;c=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=c;C[a+8>>2]=C[b+8>>2];A[a+20|0]=0;A[a+16|0]=0;C[a+12>>2]=0;b=kf(4744);C[a+32>>2]=0;C[a+36>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;a:{if(!b){C[a+28>>2]=-1;break a}C[a+36>>2]=b;c=We(b,0,4104);C[a+28>>2]=593;C[a+32>>2]=513;while(1){b=(d<<3)+c|0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+36>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+52>>2]=0;C[b+56>>2]=0;C[b+60>>2]=0;b=b- -64|0;C[b>>2]=0;C[b+4>>2]=0;d=d+9|0;if((d|0)!=513){continue}break}}A[a+40|0]=0}function TA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=J(0),i=J(0),j=0,k=0;e=Ce-16|0;Ce=e;a:{if((zr(1,0,34979)|0)<0){break a}U(C[c+12>>2],e+8|0,e|0)|0;if(C[b+8>>2]<=0){break a}k=a-22|0;a=0;while(1){j=d;f=I(a,52)+b|0;b:{if(!C[f+56>>2]){break b}d=C[f+28>>2];g=d>>31;h=J(+C[f+68>>2]/H[e>>3]);i=J(+C[f- -64>>2]/H[e+8>>3]);c:{switch(k|0){case 0:vk(1,0,d,g,C[c+4>>2],1,i,h,J(1));d=1;if(j){break b}d=(qf(1792,-1)|0)==1;break b;case 2:yr(1,0,d,g,C[c+4>>2],i,h);d=j;break b;default:break c}}vk(1,0,d,g,C[c+4>>2],0,i,h,J(1));d=1}a=a+1|0;if((a|0)>2]){continue}break}}Ce=e+16|0;return d|0}function AQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=C[a+40>>2];if(!c){break a}b=C[a>>2];e=C[b+656>>2];a=C[e+2952>>2];b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b|!a){break a}a=C[a>>2];if(!a){break a}d=Fe[a|0](b)|0;if(!d){break a}Fe[C[d+8>>2]](C[c>>2]);b=C[e+1896>>2];if(!b){break a}f=b&3;b:{if(!f){a=b;break b}e=0;a=b;while(1){a=a-1|0;Fe[C[d+8>>2]](C[(c+(a<<2)|0)+4>>2]);e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(b>>>0<4){break a}b=c+4|0;while(1){c=b+(a<<2)|0;Fe[C[d+8>>2]](C[c-4>>2]);Fe[C[d+8>>2]](C[c-8>>2]);Fe[C[d+8>>2]](C[c-12>>2]);a=a-4|0;Fe[C[d+8>>2]](C[b+(a<<2)>>2]);if(a){continue}break}}}function ox(a){a=a|0;var b=0,c=0;a:{if(!(a&1)){break a}if(!(A[417568]&1)){Qe(20259,0);break a}b=1}if(a&2){if(!(D[417568]&2)){c=C[104393];if(!c){C[104400]=86;C[104398]=87;C[104397]=88;C[104396]=89;C[104395]=90;C[104413]=91;C[104412]=92;C[104411]=93;C[104410]=94;C[104409]=95;C[104408]=96;C[104407]=97;C[104406]=98;C[104405]=99;C[104404]=100;C[104403]=101;C[104402]=102;C[104401]=103;C[104399]=104}C[104393]=c+1}b=b|2}b:{if(!(a&4)){break b}if(!(D[417568]&4)){Qe(20289,0);break b}b=b|4}c:{if(!(a&8)){break c}if(!(D[417568]&8)){Qe(20229,0);break c}b=b|8}a=C[104392]|b;C[104392]=a;return a|0}function Wm(a){var b=0,c=0;if(a){xi(a+592|0);Qh(a+480|0);Om(a+120|0);b=C[a+72>>2];a:{if(!b){break a}c=C[a+52>>2];if(!c){break a}if((c|0)>0){b=0;while(1){kl(C[a+72>>2]+(b<<5)|0);cn(C[a+76>>2]+(b<<4)|0);b=b+1|0;if((b|0)>2]){continue}break}b=C[a+72>>2]}Re(b);Re(C[a+76>>2])}b=C[a+60>>2];if(b){Re(b)}b=C[a+68>>2];if(b){Re(b)}b=C[a+64>>2];if(b){Re(b)}b=C[a+56>>2];if(b){Re(b)}b=a+24|0;if(b){c=C[b>>2];if(c){Re(c)}C[b>>2]=0;C[b+4>>2]=0;C[b+24>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}b=C[a>>2];b:{if(!b){break b}c=C[a+712>>2];if(!c){break b}Fe[c|0](b)|0}We(a,0,720)}}function Qv(a){var b=0,c=0,d=0;b=Ce-16|0;Ce=b;d=bf(a,0);a:{if(d){break a}d=jg(a,b+8|0,4);if(d){break a}d=3;if(D[b+8|0]!=31|D[b+9|0]!=139|(D[b+10|0]!=8|D[b+11|0]>31)){break a}d=lg(a,6);C[b+12>>2]=d;c=D[b+11|0];if(c&4){c=Zv(a,b+12|0);d=C[b+12>>2];if(d){break a}d=lg(a,c);C[b+12>>2]=d;if(d){break a}d=0;c=D[b+11|0]}if(c&8){while(1){c=rh(a,b+12|0)?0:3;d=C[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=3){break a}c=D[b+11|0]}if(c&16){while(1){c=rh(a,b+12|0)?0:5;d=C[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=5){break a}c=D[b+11|0]}if(!(c&2)){break a}d=lg(a,2)}Ce=b+16|0;return d}function rv(a,b){var c=0,d=0,e=0;c=C[a+32>>2];d=C[a+28>>2];if(d){while(1){e=C[c+8>>2];if(e){Fe[C[b+8>>2]](b,e)}C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=C[a+32>>2]}if(c){Fe[C[b+8>>2]](b,c)}C[a+24>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;c=C[a+20>>2];d=C[a+16>>2];if(d){while(1){e=C[c+8>>2];if(e){Fe[C[b+8>>2]](b,e)}C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=C[a+20>>2]}if(c){Fe[C[b+8>>2]](b,c)}C[a+12>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;c=C[a+8>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}function qG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=C[a+64>>2];a:{if((e|0)<=0){break a}f=C[a+68>>2];if(e>>>0>=4){i=e&-4;while(1){c=I(d,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];c=I(d|1,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];c=I(d|2,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];c=I(d|3,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];d=d+4|0;g=g+4|0;if((g|0)!=(i|0)){continue}break}}c=e&3;if(!c){break a}while(1){e=I(d,20)+f|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];d=d+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}C[a+36>>2]=b;d=C[a>>2];Fe[C[d+4>>2]](d,C[a+40>>2],C[a+44>>2],0)|0;return Ee>>31}function gK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce+-64|0;Ce=d;Fe[C[b+60>>2]](b,d+16|0,4,d+12|0);c=C[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=km(a,0,c);C[d+8>>2]=c;if(c){break a}if(C[d+12>>2]<=0){c=0;break a}h=C[a+100>>2];i=C[a+528>>2];while(1){a=(d+16|0)+I(f,12)|0;c=C[a>>2];if(D[c|0]==47){c=c+1|0;C[a>>2]=c}e=C[a+4>>2];if((e|0)==(c|0)){c=3;break a}e=e-c|0;g=hf(h,e+1|0,d+8|0);C[((f<<2)+i|0)+8>>2]=g;c=C[d+8>>2];if(c){break a}t(g,C[a>>2],e);A[e+g|0]=0;f=f+1|0;if((f|0)>2]){continue}break}c=C[d+8>>2]}C[b+12>>2]=c;Ce=d- -64|0}function pt(a){var b=0,c=0;a:{if(C[a+20>>2]){b=C[a+88>>2];if(C[a+104>>2]<3){break a}b=b+(C[a+112>>2]<<5)|0;break a}b=C[a+88>>2]}if(!b){Qe(25721,0);return-1}b:{if(C[b+4>>2]==C[a+740>>2]){c=0;if(C[b+8>>2]==C[a+744>>2]){break b}}gf(a+736|0,b,32);c=C[a+776>>2];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[a+776>>2]=0}c=C[a+772>>2];if(c){Hi(c);C[a+772>>2]=0}c=Xn(32784,D[b+4|0],C[b+8>>2],E[208766],D[417534],C[104382]);C[a+772>>2]=c;if(!c){return-1}b=I(E[208768],C[b+4>>2])<<1;C[a+780>>2]=b;b=Fe[C[94503]](b>>>0<=1?1:b)|0;if(b){C[94507]=C[94507]+1}C[a+776>>2]=b;c=b?0:-1}return c}function sn(a,b,c){var d=0,e=0,f=0;e=Ce+-64|0;Ce=e;d=C[a+1080>>2];a:{if(!d){d=Qe(19845,0);break a}if(!C[d+92>>2]){d=0;if(!(b|c)){break a}d=Qe(19845,0);break a}f=C[d+124>>2];if(f){Fe[f|0](C[d+40>>2])|0}if(!(C[a+796>>2]|b?c:0)){a=C[a+1080>>2];Fe[C[a+92>>2]](C[a+8>>2],0,0,0)|0;d=0;break a}f=C[a+1080>>2];d=0;if(Fe[C[f+92>>2]](C[f+8>>2],b,b,c)|0){break a}b=34979;a=Fe[C[C[a+1080>>2]+128>>2]]()|0;c=a-12288|0;if(c>>>0<=14){b=C[(c<<2)+148500>>2]}if(D[b|0]){a=b}else{C[e+16>>2]=a;a=e+32|0;rf(a,32,1768,e+16|0)}C[e+8>>2]=a;C[e+4>>2]=4104;C[e>>2]=3982;d=Qe(32680,e)}Ce=e- -64|0;return d}function jM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;e=C[b+28>>2];c=Fe[C[a+508>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=Bf(b,4);C[d+12>>2]=c;if(c){break a}g=a,h=Ff(b),B[g+540>>1]=h;g=a,h=Ff(b),B[g+542>>1]=h;xf(b);if(E[a+540>>1]>=2){B[a+542>>1]=0;c=8;break a}c=e;e=E[a+542>>1];g=a,h=Ve(c,4,0,e,0,d+12|0),C[g+544>>2]=h;c=C[d+12>>2];if(c){break a}c=Bf(b,e<<2);C[d+12>>2]=c;if(c){break a}if(e){c=C[a+544>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=Ff(b),B[g>>1]=h;g=f,h=Ff(b),B[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}xf(b);c=C[d+12>>2]}Ce=d+16|0;return c|0}function _F(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=I(C[a+24>>2],D[C[a+44>>2]+9|0]);e=C[a+32>>2];d=C[a+12>>2];b=C[a+28>>2];c=C[a>>2];a:{b:{a=C[a+20>>2];c:{if(c>>>0>>0){if(I(b,d)+c>>>0>a>>>0){break c}break b}if(I(b,e)+a>>>0<=c>>>0){break b}}if(a>>>0>>0){if(!b){break a}while(1){Eh(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=I(i,d)+c|0;a=I(d,e)+a|0;while(1){Eh(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){gf(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}}}function hG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if((c|0)>0){g=(C[e+24>>2]?255:0)>>>D[e+31|0]<>2];i=C[(D[d+21|0]<<2)+381104>>2];j=C[(D[d+20|0]<<2)+381104>>2];k=D[e+34|0];l=D[e+30|0];m=D[e+33|0];n=D[e+29|0];o=D[e+32|0];p=D[e+28|0];q=D[d+26|0];r=D[d+25|0];s=D[d+24|0];while(1){e=E[b>>1];C[a>>2]=D[((e&C[d+8>>2])>>>r|0)+i|0]>>>n<>2])>>>s|0)+j|0]>>>p<>2])>>>q|0)+h|0]>>>l<>2]);C[a+36>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;Re(C[a+100>>2]);C[a+100>>2]=0;C[a+92>>2]=0;C[a+96>>2]=0;d=C[a+196>>2];if(d){while(1){b=C[a+200>>2]+(c<<5)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+200>>2]);C[a+200>>2]=0;C[a+192>>2]=0;C[a+196>>2]=0;d=C[a+208>>2];if(d){c=0;while(1){b=C[a+212>>2]+I(c,24)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+212>>2]);C[a+212>>2]=0;C[a+204>>2]=0;C[a+208>>2]=0;Ue(C[a>>2]);C[a>>2]=0}function Mp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ce-272|0;Ce=e;d=D[a|0]|D[a+1|0]<<8;a:{if(d){i=(d<<8|d>>>8)&65535;f=a+2|0;while(1){g=C[c+4>>2];h=C[c>>2];d=D[f|0]|D[f+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=205712}j=D[d|0]|D[d+1|0]<<8;l=D[d+2|0]|D[d+3|0]<<8;C[e+268>>2]=0;b:{k=(j<<8|j>>>8)&65535;m=d+4|0;if(!el(b,k,m,h,g,e+268|0,e,0)){break b}d=C[e+268>>2];if(d>>>0>=2){h=C[b+100>>2];g=C[h+76>>2];Rf(h,g,d+g|0)}if(!Sm(b,k,e,(l<<8|l>>>8)&65535,m+(j?(k<<1)-2|0:0)|0,d)){break b}a=1;break a}f=f+2|0;i=i-1|0;if(i){continue}break}}a=0}Ce=e+272|0;return a}function tE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];b=C[a+52>>2];m=b&2?D[a+63|0]<<24:-16777216;n=b&1;d=C[a+20>>2];e=C[a>>2];while(1){b=d;g=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;c=C[g>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(n){i=(I(i,k)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;c=(I(c,j)>>>0)/255|0}C[b>>2]=h<<16|m|i<<8|c;b=b+4|0;g=g+4|0;if(f){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(b){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function Ph(a){var b=0,c=0,d=0;Ue(C[a+36>>2]);C[a+36>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;Re(C[a+60>>2]);C[a+60>>2]=0;C[a+52>>2]=0;C[a+56>>2]=0;d=C[a+108>>2];if(d){while(1){b=C[a+112>>2]+I(c,28)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+112>>2]);C[a+112>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0;d=C[a+120>>2];if(d){c=0;while(1){b=C[a+124>>2]+I(c,28)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+124>>2]);C[a+124>>2]=0;C[a+116>>2]=0;C[a+120>>2]=0;Ue(C[a>>2]);C[a>>2]=0}function IE(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];b=C[a+52>>2];m=b&2?D[a+63|0]<<24:-16777216;n=b&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;b=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;c=C[b>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(n){h=(I(h,j)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;c=(I(c,l)>>>0)/255|0}C[g>>2]=c<<16|m|i<<8|h;g=g+4|0;b=b+4|0;if(f){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(b){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function FO(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,j=0,k=0;g=Ce-16|0;Ce=g;ug(a,C[a+8>>2]);h=C[a+8>>2];e=C[a>>2];C[g+12>>2]=e;a:{if(e>>>0>=h>>>0){break a}f=D[e|0];b:{if((f|0)==91){k=93}else{j=1;if((f|0)!=123){break b}k=125}e=e+1|0;C[g+12>>2]=e;j=0}while(1){if(e>>>0>=h>>>0){break a}ug(g+12|0,h);f=C[g+12>>2];if(f>>>0>=h>>>0){e=f;break a}if(D[f|0]==(k|0)){e=f+1|0;break a}if(!(!c|(b|0)>(i|0))){e=f;break a}e=Lh(g+12|0,h,d);if(c){C[(i<<2)+c>>2]=e}e=C[g+12>>2];if((f|0)==(e|0)){i=-1;e=f;break a}i=i+1|0;if(!j){continue}break}}C[a>>2]=e;Ce=g+16|0;return i|0}function iG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>0){g=C[(D[d+22|0]<<2)+381104>>2];h=C[(D[d+21|0]<<2)+381104>>2];i=C[(D[d+20|0]<<2)+381104>>2];j=D[e+35|0];k=D[e+31|0];l=D[e+34|0];m=D[e+30|0];n=D[e+33|0];o=D[e+29|0];p=D[e+32|0];q=D[e+28|0];r=D[d+26|0];s=D[d+25|0];t=D[d+24|0];while(1){e=C[b>>2];C[a>>2]=D[((e&C[d+8>>2])>>>s|0)+h|0]>>>o<>2])>>>t|0)+i|0]>>>q<>2])>>>r|0)+g|0]>>>m<>>24>>>k<0){f=C[(D[d+30|0]<<2)+381104>>2];g=C[(D[d+29|0]<<2)+381104>>2];h=C[(D[d+28|0]<<2)+381104>>2];i=C[e+24>>2];j=D[e+34|0];k=D[e+30|0];l=D[e+33|0];m=D[e+29|0];n=D[e+32|0];o=D[e+28|0];p=D[d+34|0];q=C[d+20>>2];r=D[d+33|0];s=C[d+16>>2];t=D[d+32|0];u=C[d+12>>2];e=0;while(1){d=C[b>>2];B[a>>1]=D[((d&s)>>>r|0)+g|0]>>>m<>>t|0)+h|0]>>>o<>>p|0)+f|0]>>>k<>2])|0)!=(a|0)){break a}c=0;d=C[105668];b:{if(!d){Qe(19865,0);break b}c=cj(C[d+792>>2])}if((b|0)!=(c|0)){break a}return 0}c:{d:{if(!b){a=0;c=C[105668];break d}c=C[105668];if(a){if(!c){Qe(19865,0);return-1}if(C[a>>2]!=(c+388|0)){Qe(2168,0);return-1}if(D[a+48|0]&2){break d}return Qe(2183,0)}a=0;if(C[c+796>>2]){break d}c=Qe(12475,0);break c}c=Fe[C[c+208>>2]](c,a,b)|0;if(c){break c}c=C[105668];C[c+784>>2]=b;C[c+780>>2]=a;wl(C[c+788>>2],a);wl(C[C[105668]+792>>2],b);return 0}return c}function HO(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;f=Ce-16|0;Ce=f;ug(a,C[a+8>>2]);g=C[a+8>>2];d=C[a>>2];C[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}e=D[d|0];b:{if((e|0)==91){j=93}else{i=1;if((e|0)!=123){break b}j=125}d=d+1|0;C[f+12>>2]=d;i=0}while(1){if(d>>>0>=g>>>0){break a}ug(f+12|0,g);e=C[f+12>>2];if(e>>>0>=g>>>0){d=e;break a}if(D[e|0]==(j|0)){d=e+1|0;break a}if(!(!c|(b|0)>(h|0))){d=e;break a}d=Lh(f+12|0,g,0);if(c){B[(h<<1)+c>>1]=d>>>16}d=C[f+12>>2];if((e|0)==(d|0)){h=-1;d=e;break a}h=h+1|0;if(!i){continue}break}}C[a>>2]=d;Ce=f+16|0;return h|0}function _h(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{g=C[a+192>>2];h=C[a+188>>2];if(g|h){b=C[a+156>>2];c=C[a+180>>2];d=(b|0)<(c|0)?b:c;f=C[a+1420>>2]+(C[a+160>>2]<<2)|0;c=C[f>>2];b:{c:{if(!c){c=0;break c}e=C[c>>2];if((e|0)>(d|0)){break c}d:{while(1){b=c;if((d|0)==(e|0)){break b}c=C[b+12>>2];if(c){e=C[c>>2];if((e|0)>(d|0)){break d}continue}break}c=0}f=b+12|0}b=C[a+208>>2];if((b|0)>=C[a+204>>2]){break a}C[a+208>>2]=b+1;b=C[a+200>>2]+(b<<4)|0;C[b>>2]=d;C[b+12>>2]=c;C[b+4>>2]=0;C[b+8>>2]=0;C[f>>2]=b}C[b+8>>2]=C[b+8>>2]+h;C[b+4>>2]=C[b+4>>2]+g}return}Ji(a,1);s()}function Fr(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=c;g=(a<<16>>>0)/(b>>>0)|0;c=g;i=c>>31<<15|c>>>17;j=(c<<15)+32768|0;c=i;c=(((j>>>0<32768?c+1|0:c)&65535)<<16|j>>>16)-32768|0;C[h>>2]=c;C[d>>2]=g;C[e>>2]=0;C[f>>2]=0;a:{if((b|0)<=0){break a}h=b&1;d=a-2|0;if((b|0)!=1){i=b&-2;a=0;while(1){b=e;b:{if((c|0)>=0){b=f;if((d|0)>=(c>>>16|0)){break b}}C[b>>2]=C[b>>2]+1}b=e;c=c+g|0;c:{if((c|0)>=0){b=f;if((d|0)>=(c>>>16|0)){break c}}C[b>>2]=C[b>>2]+1}c=c+g|0;a=a+2|0;if((i|0)!=(a|0)){continue}break}}if(!h){break a}if((c|0)>=0){e=f;if((d|0)>=(c>>>16|0)){break a}}C[e>>2]=C[e>>2]+1}}function Ew(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C[a+44>>2]=b;ei(C[a>>2],b);c=C[a>>2];b=C[C[c+656>>2]+2952>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}e=Fe[b|0](c)|0;if(!e){break a}f=C[C[a>>2]+656>>2];c=C[f+1392>>2];h=C[a+40>>2];Fe[C[e+4>>2]](C[h>>2],C[a+16>>2],C[a+20>>2],0,0);b=C[f+1896>>2];if(!b){break a}while(1){g=C[a+16>>2];b=b-1|0;i=b<<2;d=C[C[(i+f|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){g=of(g,c,d);d=of(C[a+20>>2],c,d);break b}d=C[a+20>>2]}Fe[C[e+4>>2]](C[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function Rq(a){var b=0,c=0,d=0,e=0;Qq(a);C[a+56>>2]=-57005;b=C[a- -64>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}Re(C[a+88>>2]);C[a+88>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;Re(C[a+52>>2]);C[a+52>>2]=0;C[a+44>>2]=0;C[a+48>>2]=0;C[a+24>>2]=0;b=C[a+36>>2];c=C[a+32>>2];if(c){e=(c<<2)+b|0;while(1){Re(C[(c?b:205712)>>2]);d=(c|0)!=0;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=C[a+36>>2]}Re(b);C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0}function Tt(a,b,c){var d=0,e=0;a:{if(!c){c=a;break a}d=c-1|0;b:{c:{d:{if((a^b)&3){c=a;break d}e=(d|0)!=0;e:{f:{if(!(!(b&3)|!d)){c=a;while(1){e=D[b|0];A[c|0]=e;if(!e){break e}c=c+1|0;d=d-1|0;e=(d|0)!=0;b=b+1|0;if(!(b&3)){break f}if(d){continue}break}break f}c=a}if(!e){break b}}if(!D[b|0]|d>>>0<4){break d}while(1){e=C[b>>2];if((e^-1)&e-16843009&-2139062144){break c}C[c>>2]=e;c=c+4|0;b=b+4|0;d=d-4|0;if(d>>>0>3){continue}break}}if(!d){break b}}while(1){e=D[b|0];A[c|0]=e;if(!e){break b}c=c+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}}A[c|0]=0}return af(b)+(c-a|0)|0}function AN(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;b=C[a+4>>2];c=b+c|0;g=0-b|0;h=C[a>>2];f=(c-1&g)>>h;a:{if((E[e+12>>1]&7)!=2){b=f;if(C[a+20>>2]>=(d-c|0)){break a}}b=(d&g)>>h}b:{if((b|0)<0){break b}c=E[a+56>>1];if((c|0)<=(f|0)){break b}d=b>>>0>>0?b:c-1|0;c=-128>>(d&7);f=(f|0)>0?f:0;b=f<<13>>16;e=C[a+60>>2];g=C[a+148>>2];a=b+(e+g|0)|0;f=255>>>(f&7)|0;h=d<<13>>16;d=h-b|0;c:{if((d|0)>0){A[a|0]=f|D[a|0];if((d|0)!=1){a=(d|0)>=2?2:d;p((e+(b+g|0)|0)+1|0,255,(h-(a+b|0)|0)+1|0);a=(e+((g+h|0)-a|0)|0)+1|0}a=a+1|0;break c}c=c&f}A[a|0]=D[a|0]|c}}function Qe(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ce-16|0;Ce=c;a:{if(!a){break a}C[105620]=128;C[105619]=422496;C[105618]=1;C[c+12>>2]=b;d=zl(C[105619],C[105620],a,b);b:{if((d|0)<0|d>>>0>2]=b;zl(C[105619],C[105620],a,b)}a=C[105546];c:{if(a){while(1){b=C[a+4>>2];if(C[a>>2]==1){break c}a=C[a+8>>2];if(a){continue}break}}b=C[94499]}if(b>>>0>2){break a}C[c>>2]=C[105619];a=Ce-16|0;Ce=a;C[a+12>>2]=c;Mj(1,2,8979,c);Ce=a+16|0}Ce=c+16|0;return-1}function rw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}b:{c:{b=C[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){k=g&-4;while(1){c=C[a>>2];b=e<<2;f=d<<2;C[c+b>>2]=C[c+f>>2];c=C[a>>2];C[c+(b|4)>>2]=C[(c+f|0)+4>>2];c=C[a>>2];C[c+(b|8)>>2]=C[(c+f|0)+8>>2];c=b|12;b=C[a>>2];C[c+b>>2]=C[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}if(!h){break b}while(1){b=C[a>>2];C[b+(e<<2)>>2]=C[b+(d<<2)>>2];d=d+1|0;e=e+1|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}C[a+8>>2]=g}}function cz(a){var b=0,c=0,d=0;if(a){Iz(C[a+22128>>2]);while(1){b=I(d,84)+a|0;a:{if(!C[b+52>>2]){break a}C[b+52>>2]=0;C[b+56>>2]=0;c=C[b+84>>2];if(c){if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[b+84>>2]=0}c=C[b+60>>2];if(!c){break a}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[b+60>>2]=0}d=d+1|0;if((d|0)!=256){continue}break}b=C[a>>2];if(b){wm(b)}b=C[a+22092>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(C[a+22072>>2]){b=C[a+22068>>2];Fe[C[b+16>>2]](b)|0}b=C[a+22108>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}}function SF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+36>>2]/2|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){i=C[a+16>>2]+(b+e|0)|0;g=C[a+48>>2];j=e&-2;k=e&1;c=C[a>>2];b=C[a+20>>2];l=d<<1;while(1){f=f-1|0;a:{if((e|0)<=0){break a}d=0;a=0;h=0;if((e|0)!=1){while(1){if(!(d&6)){a=D[c|0];c=c+1|0}B[b>>1]=E[((a&128)>>>6|0)+g>>1];B[b+2>>1]=E[(a>>>5&2)+g>>1];d=d+2|0;b=b+4|0;a=a<<2;h=h+2|0;if((j|0)!=(h|0)){continue}break}}if(!k){break a}if(!(d&7)){a=D[c|0];c=c+1|0}B[b>>1]=E[((a&128)>>>6|0)+g>>1];b=b+2|0}c=c+i|0;b=b+l|0;if(f){continue}break}}}function QF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+36>>2]/4|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){i=C[a+16>>2]+(b+e|0)|0;g=C[a+48>>2];j=e&-2;k=e&1;c=C[a>>2];b=C[a+20>>2];l=d<<2;while(1){f=f-1|0;a:{if((e|0)<=0){break a}a=0;d=0;h=0;if((e|0)!=1){while(1){if(!(d&6)){a=D[c|0];c=c+1|0}C[b>>2]=C[((a&128)>>>5|0)+g>>2];C[b+4>>2]=C[(a>>>4&4)+g>>2];d=d+2|0;b=b+8|0;a=a<<2;h=h+2|0;if((j|0)!=(h|0)){continue}break}}if(!k){break a}if(!(d&7)){a=D[c|0];c=c+1|0}C[b>>2]=C[((a&128)>>>5|0)+g>>2];b=b+4|0}c=c+i|0;b=b+l|0;if(f){continue}break}}}function uo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;if(C[a+216>>2]==C[a+372>>2]){C[a+236>>2]=0;C[a+232>>2]=d;i=f?4:2;h=a+220|0;d=1024;a:{while(1){f=C[a+224>>2];if(!f){g=C[c>>2];f=d>>>0>>0?d:g;C[c>>2]=g-f;if(f){Xf(a,b,f);$f(a,b,f)}C[a+224>>2]=f;C[a+220>>2]=b;d=f}g=C[a+236>>2];if(!g){g=C[e>>2];C[e>>2]=0;C[a+236>>2]=g}j=C[c>>2];if(!(!D[a+432|0]|!f)){if(A[C[h>>2]]<0){C[a+244>>2]=32909;f=-3;break a}A[a+432|0]=0}f=bm(h,j?0:i);if(f){g=C[a+236>>2];break a}if(C[e>>2]|C[a+236>>2]){continue}break}g=0;f=0}C[e>>2]=C[e>>2]+g;C[a+236>>2]=0;tj(a,f);return}C[a+244>>2]=20578}function jL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Ce-16|0;Ce=e;c=C[a>>2];a:{if(D[c+8|0]&2){d=Fe[C[C[c+532>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=C[e+12>>2];C[a+112>>2]=c;b=C[a>>2];if(A[b+8|0]&1){ei(b,c);Go(a);d=0;break a}d=Fe[C[C[b+532>>2]+108>>2]](b,c,a+12|0)|0;if(!d){d=0;break a}C[a+112>>2]=-1;break a}C[a+112>>2]=-1;c=C[a>>2]}ek(c,b);if(!(A[C[a>>2]+8|0]&1)){break a}d=Go(a);C[a+36>>2]=C[a+68>>2];b=C[a+64>>2];C[a+28>>2]=C[a+60>>2];C[a+32>>2]=b;b=C[a+56>>2];C[a+20>>2]=C[a+52>>2];C[a+24>>2]=b;b=C[a+48>>2];C[a+12>>2]=C[a+44>>2];C[a+16>>2]=b}Ce=e+16|0;return d|0}function XB(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;i=J(i);j=J(j);var k=J(0);a=ki(a,64,b+4|0);if(!a){return-1}C[b+8>>2]=1;gf(a,d,16);k=G[e>>2];a:{if(J(K(k))>2]=b;k=G[e+4>>2];b:{if(J(K(k))>2]=b;k=G[e+8>>2];c:{if(J(K(k))>2]=b;k=G[e+12>>2];H[a+32>>3]=f;if(J(K(k))>2]=b;gf(a+40|0,g,8);G[a+56>>2]=j;G[a+52>>2]=i;C[a+48>>2]=h;return 0}function zm(a,b,c){var d=0,e=0,f=0;d=C[a+24>>2];e=C[b+24>>2];a:{if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+28>>2];e=C[b+28>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a>>2];e=C[b>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+4>>2];e=C[b+4>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+8>>2];e=C[b+8>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+12>>2];e=C[b+12>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+16>>2];e=C[b+16>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}a=C[a+20>>2];b=C[b+20>>2];f=(a|0)>=(b-c|0)&(a|0)<=(b+c|0)}return f}function yB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[105604];a:{if((b|0)<=0){break a}e=b&7;b:{if(!e){d=b;break b}d=b;while(1){d=d-1|0;c=C[c+1320>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(b>>>0<8){break a}while(1){b=d-9|0;c=C[C[C[C[C[C[C[C[c+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];d=d-8|0;if(b>>>0<4294967294){continue}break}}if(!c){return Qe(18969,0)|0}if(C[c+16>>2]){return Qe(20522,0)|0}b=C[c+12>>2];C[a+132>>2]=c;C[a>>2]=b;C[c+16>>2]=a;C[a+52>>2]=0;C[a+44>>2]=0;C[a+60>>2]=C[c+20>>2];C[a+36>>2]=C[c+24>>2];return 0}function En(a){var b=0,c=0,d=0;d=Ce-16|0;Ce=d;a:{if(!a){C[d>>2]=5741;Qe(19745,d);break a}Kr();c=C[a+36>>2];C[a+36>>2]=c-1;if((c|0)>=2){C[105595]=0;break a}b=C[105596];b:{if((b|0)==(a|0)){c=422384}else{if(!b){break b}while(1){c=b;b=C[b+40>>2];if(!b){break b}if((a|0)!=(b|0)){continue}break}c=c+40|0}C[c>>2]=C[a+40>>2]}C[105595]=0;b=C[a+4>>2];c:{if(!b){break c}c=C[b+12>>2];C[b+12>>2]=c-1;if((c|0)>1){break c}c=C[b+4>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}Ce=d+16|0}function uB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;Kf(b,C[a>>2],24);Kf(b,C[a+4>>2],24);Kf(b,C[a+8>>2]-1|0,24);Kf(b,C[a+12>>2]-1|0,6);Kf(b,C[a+20>>2],8);a:{if(C[a+12>>2]<=0){break a}while(1){c=(e<<2)+a|0;f=tg(C[c+24>>2]);d=C[c+24>>2];b:{if((f|0)>=4){Kf(b,d,3);Kf(b,1,1);Kf(b,C[c+24>>2]>>3,5);break b}Kf(b,d,4)}d=0;c=C[c+24>>2];if(c){while(1){d=(c&1)+d|0;f=c>>>0>1;c=c>>>1|0;if(f){continue}break}}g=d+g|0;e=e+1|0;if((e|0)>2]){continue}break}c=0;if((g|0)<=0){break a}while(1){Kf(b,C[((c<<2)+a|0)+280>>2],8);c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function hy(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}b:{d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<2){break b}c=f-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}c=D[d|0]|D[d+1|0]<<8;c:{if(!c){break c}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=C[b+28>>2];if(c>>>0>31){break b}C[b+28>>2]=c+1;if(!D[b+24|0]){break b}A[d|0]=0;A[d+1|0]=0}C[e+12>>2]=a;d=qy(a+4|0,b,e+12|0);break a}d=0}Ce=e+16|0;return d}function CO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;A[a+68|0]=1;C[a+64>>2]=0;C[a+8>>2]=d;C[a+4>>2]=b;C[a>>2]=C[b+100>>2];a:{if(!d){break a}b=C[C[d+156>>2]>>2];C[a+12>>2]=b;C[a+20>>2]=b+56;C[a+16>>2]=b+20;Vi(b);b=C[c+40>>2];C[a+72>>2]=0;C[a+76>>2]=b;if(!e){break a}C[a+72>>2]=C[C[d+156>>2]+36>>2]}C[a+24>>2]=0;C[a+28>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;b=C[71988];C[a+80>>2]=C[71987];C[a+84>>2]=b;b=C[71990];C[a+88>>2]=C[71989];C[a+92>>2]=b;b=C[71992];C[a+96>>2]=C[71991];C[a+100>>2]=b;b=C[71994];C[a+104>>2]=C[71993];C[a+108>>2]=b}function jS(a){a=a|0;var b=0;b=a+24|0;Xe(b,1937007464,1,1);Gf(b,735);Xe(b,1667460464,1,1);Xe(b,1819239276,1,1);Gf(b,0);Xe(b,1769172844,(C[a+8>>2]==1098015074)<<1,1);Gf(b,0);Xe(b,1718185569,(C[a+8>>2]==1098015074)<<1,1);Gf(b,0);Xe(b,1718185522,0,1);Gf(b,0);Xe(b,1718185523,0,1);Gf(b,0);Xe(b,1835361385,(C[a+8>>2]==1098015074)<<1,1);Gf(b,0);Xe(b,1835361330,0,1);Gf(b,0);Xe(b,1768843636,(C[a+8>>2]==1098015074)<<1,1);Gf(b,0);Xe(b,1919707495,11,1);if(C[a+8>>2]==1098015074){Gf(b,736)}Xe(b,1919118452,9,1);Xe(b,1667329140,9,1);Gf(b,0);Xe(b,1836279156,1,1)}function YA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=Ce-16|0;Ce=a;h=C[c+32>>2];U(C[c+12>>2],a+8|0,a|0)|0;g=C[c+4>>2];d=+C[g+28>>2]/H[a>>3];e=+C[g+24>>2]/H[a+8>>3];a:{if(h){e=+C[b+44>>2]*e+H[52832];b:{if(K(e)<2147483648){c=~~e;break b}c=-2147483648}b=C[b+48>>2];H[52832]=e-+(c|0);d=+(b|0)*d+H[52833];c:{if(K(d)<2147483648){f=~~d;break c}f=-2147483648}H[52833]=d-+(f|0);break a}d=d*+C[b+56>>2];d:{if(K(d)<2147483648){f=~~d;break d}f=-2147483648}d=e*+C[b+52>>2];if(K(d)<2147483648){c=~~d;break a}c=-2147483648}Ql(g,0,h,c,f);Ce=a+16|0;return 0}function tm(a){var b=0,c=0,d=0;a:{if(!a){break a}b=C[a+28>>2];if(!b){break a}d=C[a+36>>2];if(!d){break a}c=C[b+20>>2];if(c){b=C[c>>2];if((b&-2)==4){Fe[d|0](C[a+40>>2],C[c+12>>2]);b=C[c>>2]}if((b|0)==6){Fe[C[a+36>>2]](C[a+40>>2],C[c+4>>2])}C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;b=C[c+40>>2];C[c+52>>2]=b;C[c+48>>2]=b;d=C[c+56>>2];if(d){b=Fe[d|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b;b=C[c+40>>2]}Fe[C[a+36>>2]](C[a+40>>2],b);Fe[C[a+36>>2]](C[a+40>>2],C[c+36>>2]);Fe[C[a+36>>2]](C[a+40>>2],c);d=C[a+36>>2];b=C[a+28>>2]}Fe[d|0](C[a+40>>2],b);C[a+28>>2]=0}}function ms(a,b,c,d,e,f){var g=0;g=C[b+4>>2];if(!g){A[c|0]=D[C[(D[b+28|0]<<2)+381104>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];A[d|0]=D[C[(D[b+29|0]<<2)+381104>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];A[e|0]=D[C[(D[b+30|0]<<2)+381104>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];A[f|0]=D[C[(D[b+31|0]<<2)+381104>>2]+((C[b+24>>2]&a)>>>D[b+35|0]|0)|0];return}if(F[g>>2]>a>>>0){a=a<<2;A[c|0]=D[a+C[g+4>>2]|0];A[d|0]=D[(a+C[C[b+4>>2]+4>>2]|0)+1|0];A[e|0]=D[(a+C[C[b+4>>2]+4>>2]|0)+2|0];A[f|0]=D[(a+C[C[b+4>>2]+4>>2]|0)+3|0];return}A[f|0]=0;A[e|0]=0;A[d|0]=0;A[c|0]=0}function aT(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,j=0,k=0,l=0,m=0,n=0;h=Ce-16|0;Ce=h;l=C[b+8>>2];m=C[b+4>>2];i=C[a+20>>2];if((i|0)!=C[b+16>>2]){We(b+20|0,255,1024);C[b+16>>2]=i}if(c){n=b+20|0;while(1){C[h+12>>2]=0;a=C[d>>2];j=((a&255)<<2)+n|0;b=C[j>>2];a:{if(!((b|0)==-1|(b>>>24|0)!=(a>>>8|0))){b=b&16777215;break a}cl(m,a,l,h+12|0);b=C[h+12>>2];if(a>>>0>65535|b>>>0>16777215){break a}C[j>>2]=a<<16&-16777216|b}C[f>>2]=((i|0)<0?0-b|0:b)+512>>10;f=f+g|0;d=d+e|0;k=k+1|0;if((k|0)!=(c|0)){continue}break}}Ce=h+16|0}function vw(a,b){var c=0,d=0,e=0,f=0;f=Ce-16|0;Ce=f;a:{b:{d=C[a+20>>2];if((d|0)!=C[a+12>>2]){e=C[a+28>>2];break b}c=C[a+16>>2];C[f+12>>2]=0;c:{c=c+d|0;e=C[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=I(c,e);e=Ve(C[a>>2],1,C[a+24>>2],d,C[a+28>>2],f+12|0);C[a+28>>2]=e;if(C[f+12>>2]){break c}C[a+24>>2]=d;C[a+12>>2]=c;d=C[a+20>>2];if(c>>>0>=d>>>0){break b}b=C[a+4>>2];if(!(!b|C[b>>2])){C[b>>2]=130}C[a+20>>2]=c;break a}a=C[a+4>>2];if(!a|C[a>>2]){break a}C[a>>2]=64;break a}c=C[a+8>>2];t(I(c,d)+e|0,b,c);C[a+20>>2]=C[a+20>>2]+1}Ce=f+16|0}function HC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[b+80>>2];d=C[a+548>>2];f=Rh();e=C[d>>2];a:{if((f|0)!=(e|0)){C[d+468>>2]=0;if((sh(C[a+204>>2],e)|0)<0){break a}}a=C[a+548>>2];if(!C[a+4>>2]){break a}while(1){if(Fe[C[a+100>>2]]()|0){continue}break}}if(C[d+412>>2]==(b|0)){C[d+412>>2]=0}if(C[d+416>>2]==(b|0)){C[d+416>>2]=0}if(c){Fe[C[d+60>>2]](1,c);if(C[c+32>>2]){Fe[C[d+60>>2]](1,c+32|0)}if(C[c+36>>2]){Fe[C[d+60>>2]](1,c+36|0)}a=C[c+16>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}C[b+80>>2]=0}}function nB(a,b){a=a|0;b=b|0;var c=0,d=0;c=If(1,156);C[a+1080>>2]=c;if(!c){return _e(0)|0}C[c+112>>2]=574;C[c+68>>2]=575;C[c+60>>2]=576;C[c+56>>2]=577;C[c+44>>2]=578;C[c+64>>2]=579;C[c+124>>2]=580;C[c+120>>2]=581;C[c+116>>2]=582;C[c+100>>2]=583;C[c+96>>2]=584;C[c+92>>2]=585;C[c+88>>2]=586;C[c+84>>2]=587;C[c+76>>2]=588;C[c+72>>2]=589;C[c+128>>2]=590;C[c+104>>2]=591;c=Aa(0)|0;d=C[a+1080>>2];C[d+8>>2]=c;if(!c){return Qe(1577,0)|0}if((Fe[C[d+56>>2]](c,0,0)|0)!=1){return Qe(25768,0)|0}a=a+520|0;if(b){pf(a,b,255);return 0}A[a|0]=0;return 0}function av(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=-1;b=C[a+24>>2];a:{if(b>>>0>65534){break a}b=b+1|0;c=C[a+40>>2];b=b>>>0>c>>>0?b:c;while(1){b:{e=C[a+44>>2];c:{if(e>>>0>>0){break c}g=C[a+48>>2];d=C[a+52>>2];if(d){c=d+(b-c<<1)|0;while(1){d=D[c+1|0]|D[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((Vu(a,C[a+36>>2]+1|0)|0)<0){break a}c=C[a+40>>2];b=b>>>0>c>>>0?b:c;continue}break}f=b}C[a+28>>2]=d;C[a+24>>2]=f}function VB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=0;a=ki(a,d<<4,b+4|0);if(!a){return-1}C[b+8>>2]=d;if((d|0)>0){while(1){e=G[c>>2];a:{if(J(K(e))>2]=b;e=G[c+4>>2];b:{if(J(K(e))>2]=b;e=G[c+8>>2];c:{if(J(K(e))>2]=(b|0)<=1?1:b;e=G[c+12>>2];d:{if(J(K(e))>2]=(b|0)<=1?1:b;c=c+16|0;a=a+16|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}return 0}function dx(a,b,c,d){var e=0,f=0,g=0,h=0;if(!b){return(a|0)<0?0-d|0:d}if(!a){return(b|0)<0?c:0-c|0}if(!d){return(c|0)<0?0-b|0:b}if(!c){return(d|0)<0?a:0-a|0}f=d>>>16|0;g=I(f,a&65535);h=a>>>16|0;e=g+I(h,d&65535)|0;a=I(a,d);e=(((e>>>16|0)+I(h,f)|0)+((e>>>0>>0)<<16)|0)+(a>>>0>>0)|0;f=c>>>16|0;g=I(f,b&65535);h=b>>>16|0;d=g+I(h,c&65535)|0;b=I(b,c);c=(((d>>>16|0)+I(h,f)|0)+((d>>>0>>0)<<16)|0)+(b>>>0>>0)|0;d=1;a:{if(e>>>0>c>>>0){break a}d=-1;if(c>>>0>e>>>0){break a}d=1;if(a>>>0>b>>>0){break a}d=a>>>0>>0?-1:0}return d}function sj(a){var b=0,c=0,d=0,e=0;d=C[a+4>>2];a=C[a>>2];c=D[a|0];if((c|0)==30){return tp(a,d,0,0)>>16}a:{b:{switch(c-28|0){case 0:b=0;if(a+3>>>0>d>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8;return(a<<8|a>>>8)<<16>>16;case 1:b=0;if(a+5>>>0>d>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);default:break b}}if(c>>>0<=246){return c-139|0}e=a+2|0;if(c>>>0<=250){b=0;if(d>>>0>>0){break a}return(D[a+1|0]|c<<8)-63124|0}b=0;if(d>>>0>>0){break a}b=64148-(D[a+1|0]|c<<8)|0}return b}function hm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=Ce-240|0;Ce=i;h=C[d>>2];C[i+232>>2]=h;d=C[d+4>>2];C[i>>2]=a;C[i+236>>2]=d;k=1;a:{b:{c:{if(!(d|(h|0)!=1)){d=a;break c}l=0-b|0;h=a;while(1){j=(e<<2)+g|0;d=h-C[j>>2]|0;if((kj(d,a,c)|0)<=0){d=h;break c}d:{if(!((e|0)<2|f)){f=C[j-8>>2];j=h+l|0;if((kj(j,d,c)|0)>=0){break d}if((kj(j-f|0,d,c)|0)>=0){break d}}C[(k<<2)+i>>2]=d;h=i+232|0;f=Zt(h);im(h,f);k=k+1|0;e=e+f|0;f=0;h=d;if(C[i+236>>2]|C[i+232>>2]!=1){continue}break b}break}d=h;break b}if(f){break a}}Yt(b,i,k);io(d,b,c,e,g)}Ce=i+240|0}function Jn(a,b,c,d,e,f,g){var h=J(0),i=0,j=J(0),k=0,l=0,m=0,n=J(0),o=0,p=J(0),q=0;k=C[a>>2];if((k|0)>0){l=C[a+4>>2];i=d<<2;p=G[(l+i|0)+12>>2];q=C[i+C[a+12>>2]>>2];m=+G[a+48>>2];i=0;d=(d|0)!=1;while(1){a=i<<2;h=J(p+G[a+c>>2]);j=G[l+108>>2];n=J(G[a+b>>2]+G[a+q>>2]);j=j>2]=h>j?h:j;if(!d){h=J(j-G[a+g>>2]);o=+J(h+J(17.200000762939453));a:{if(h>J(-17.200000762939453)){h=J(o*-.005*m+1);if(!(h>2]=h*G[a>>2]}i=i+1|0;if((k|0)!=(i|0)){continue}break}}}function rt(a){var b=0,c=0,d=0,e=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=13258;Qe(19745,c);break a}d=C[a+184>>2];b:{c:{if((d|0)<=0){break c}b=(d|0)/C[a+196>>2]|0;b=C[a+172>>2]?b:(C[a+240>>2]/D[a+232|0]|0)+b|0;if((b|0)<=0){break c}e=P(H[a+224>>3]*+(b|0));d:{if(K(e)<2147483648){b=~~e;break d}b=-2147483648}C[c+12>>2]=I(b,C[a+208>>2]);lf(C[a+176>>2]+d|0,0,C[a+180>>2]-d|0);if((Yl(a,C[a+176>>2],C[a+180>>2],c+12|0)|0)<0){break b}lf(C[a+176>>2],0,d);if((Yl(a,C[a+176>>2],C[a+180>>2],c+12|0)|0)<0){break a}}C[a+172>>2]=1;C[a+184>>2]=0}}Ce=c+16|0}function Rk(a,b,c){var d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;f=dg(a,e+12|0);d=C[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}dg(a,e+12|0);d=C[e+12>>2];if(d){break a}d=lg(a,16);C[e+12>>2]=d;if(d){break a}f=_f(a,e+12|0);d=C[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=dg(a,e+12|0);d=C[e+12>>2];if(d){break a}b:{if((g|0)==2){d=dg(a,e+12|0);if(C[e+12>>2]){break b}dg(a,e+12|0);if(C[e+12>>2]){break b}C[c>>2]=d;d=0;break a}d=lg(a,8);C[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}Ce=e+16|0;return d}function rD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|i<<16|h;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function lD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|i|h<<16;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function UD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,j)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|h|i<<16;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function $D(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,j)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|h<<16|i;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function ef(a,b){var c=0,d=0;d=Ce-1024|0;Ce=d;if(b){while(1){c=b>>>0>=1024?1024:b;b=b-c|0;if(a){Xf(a,d,c);$f(a,d,c)}if(b){continue}break}}C[a+772>>2]=129;b=C[a+208>>2];c=C[a+372>>2];Xf(a,d,4);a:{b:{c:{if(c&536870912){if((b&768)==768){break c}break b}if(!(b&2048)){break b}}b=0;break a}b=0;c=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);if(C[a+400>>2]==(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break a}c=C[a+208>>2];d:{if(D[a+375|0]&32){b=1;if(!(c&512)){break a}break d}b=1;if(c&1024){break a}}Ig(a,9261);s()}Ce=d+1024|0;return b}function ys(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,k)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[g>>2]=i<<8|h|b<<16;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function Gs(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;b=(I(b,l)>>>0)/255|0}C[g>>2]=i<<8|b<<16|h;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function Ds(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){c=d;g=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;b=(I(b,l)>>>0)/255|0}C[c>>2]=i<<8|b|h<<16;c=c+4|0;g=g+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function Bs(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){c=d;g=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,k)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[c>>2]=i<<8|h<<16|b;c=c+4|0;g=g+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function mm(a){var 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;b=C[a+256>>2];if(!b){n=a;d=B[a+296>>1];b=C[a+244>>2];a:{if(!d){break a}c=B[a+294>>1];b=C[a+248>>2];if(!c){break a}e=C[a+244>>2];b=e>>31;f=(b^e)-b|0;b=c>>31;g=(b^c)-b|0;h=I(f>>>16|0,g);i=h<<16|8192;a=C[a+248>>2];b=a>>31;j=(a^b)-b|0;b=d>>31;k=(b^d)-b|0;l=I(j>>>16|0,k);m=l<<16|8192;b=i+I(g,f&65535)|0;b=(h>>>16|0)+(b>>>0>>0)<<18|b>>>14;c=(c^e)<0?0-b|0:b;b=m+I(k,j&65535)|0;b=(l>>>16|0)+(b>>>0>>0)<<18|b>>>14;b=Wi(c,(a^d)<0?0-b|0:b)}C[n+256>>2]=b}return b}function XF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+24>>2];b=(c+1|0)/-2|0;e=C[a+28>>2];if(e){i=C[a+16>>2]+(b+c|0)|0;f=C[a+48>>2];j=C[a+36>>2];k=c&-2;l=c&1;b=C[a>>2];a=C[a+20>>2];while(1){e=e-1|0;a:{if((c|0)<=0){break a}g=0;d=0;if((c|0)!=1){while(1){h=D[b|0];C[a>>2]=C[(h>>>2&60)+f>>2];C[a+4>>2]=C[((h&15)<<2)+f>>2];g=g+2|0;a=a+8|0;b=b+1|0;d=d+2|0;if((k|0)!=(d|0)){continue}break}}if(!l){break a}d=0;if(!(g&1)){d=D[b|0];b=b+1|0}C[a>>2]=C[((d&240)>>>2|0)+f>>2];a=a+4|0}a=a+j|0;b=b+i|0;if(e){continue}break}}}function Aw(a,b,c){var d=0,e=0,f=0;a:{if(D[a+64|0]){break a}A[a+64|0]=1;e=C[a+20>>2];b:{if(D[a+65|0]){d=C[a+12>>2];if((B[d+20>>1]+B[d+56>>1]|0)+1>>>0>F[d+8>>2]){d=Qg(d,0,1);if(d){break a}}f=E[e>>1];d=f<<16>>16;if((d|0)<=0){break b}B[(C[e+12>>2]+(f<<1)|0)-2>>1]=E[e+2>>1]-1}d=E[e>>1]}B[e>>1]=d+1;d=C[a+12>>2];if((B[d+22>>1]+B[d+58>>1]|0)+1>>>0>F[d+4>>2]){d=Qg(d,1,0);if(d){break a}}d=C[a+20>>2];if(D[a+65|0]){a=C[d+8>>2];e=B[d+2>>1];f=C[d+4>>2]+(e<<3)|0;C[f+4>>2]=c>>10;C[f>>2]=b>>10;A[a+e|0]=1}B[d+2>>1]=E[d+2>>1]+1;d=0}return d}function Ye(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(b>>>0>=33){b=C[a+16>>2];break a}d=C[a+4>>2];c=d+b|0;g=C[(b<<2)+93312>>2];b:{f=C[a>>2];b=C[a+16>>2];if((f|0)<(b-4|0)){break b}if((b-(c+7>>3)|0)<(f|0)){break a}if(c){break b}return 0}e=C[a+12>>2];b=D[e|0]>>>d|0;c:{if((c|0)<9){break c}b=D[e+1|0]<<8-d|b;if(c>>>0<17){break c}b=D[e+2|0]<<16-d|b;if(c>>>0<25){break c}b=D[e+3|0]<<24-d|b;if(!d|c>>>0<33){break c}b=D[e+4|0]<<32-d|b}C[a+4>>2]=c&7;c=(c|0)/8|0;C[a>>2]=c+f;C[a+12>>2]=c+e;return b&g}C[a+4>>2]=1;C[a>>2]=b;C[a+12>>2]=0;return-1}function Wx(a,b){var c=0,d=0,e=0,f=0,g=0;if(D[a+140|0]){c=C[a+100>>2];c=C[c+92>>2]+I(C[c+76>>2],20)|0;d=E[c+12>>1]&96;f=c+12|0,g=eh(C[a+108>>2],b)|d|16,B[f>>1]=g}c=C[a+100>>2];if($e(c,1,1)){a=C[c+76>>2];a:{if(a>>>0>2]){d=C[c+84>>2];e=C[c+96>>2];a=C[c+92>>2]+I(a,20)|0;break a}e=C[c+96>>2];d=C[c+84>>2];a=d-1|0;a=e+I(a>>>0<=d>>>0?a:0,20)|0}d=I(d,20)+e|0;e=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=e;C[d+16>>2]=C[a+16>>2];e=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=e;C[d>>2]=b;C[c+76>>2]=C[c+76>>2]+1;C[c+84>>2]=C[c+84>>2]+1}}function dm(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=D[b|0];A[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!D[b|0]){break a}if(c>>>0<4){break d}while(1){d=C[b>>2];if((d^-1)&d-16843009&-2139062144){break c}C[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=D[b|0];A[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}We(e,0,c);return a}function Zh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-16|0;Ce=f;o(+b);g=j(1)|0;d=j(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=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){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?L(c):L(d)+32|0;Fg(f,d,e,0,0,c+49|0);i=C[f>>2];h=C[f+4>>2];e=15372-c<<16;c=C[f+8>>2];d=e|C[f+12>>2]^65536}C[a>>2]=i;C[a+4>>2]=h;C[a+8>>2]=c;C[a+12>>2]=g&-2147483648|d;Ce=f+16|0}function EL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!C[b+196>>2]){_h(b)}c=C[a>>2];a=C[a+4>>2];C[b+188>>2]=0;C[b+192>>2]=0;C[b+196>>2]=0;e=a<<2;C[b+228>>2]=e&-256;f=(e>>8)-C[b+172>>2]|0;C[b+160>>2]=f;a=C[b+164>>2];d=C[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;C[b+156>>2]=h;a=((c|0)>(d|0)?d:c)-a|0;d=(a|0)<0?-1:a;if((d|0)!=(h|0)){_h(b);C[b+160>>2]=f;C[b+156>>2]=d;C[b+188>>2]=0;C[b+192>>2]=0}a=1;a=F[b+184>>2]>f>>>0?(d|0)>=C[b+180>>2]:a;C[b+224>>2]=e;C[b+220>>2]=g;C[b+196>>2]=a;return 0}function Az(a){var b=0,c=0;while(1){a:{c=C[105672];if(c){break a}b=Lq();Jq(b,695);Iq(b,696);Hq(b,697);Kq(b,698);Fq(b,699);if(C[b+4>>2]){c=C[b+84>>2];if(c){Fe[c|0](C[b+16>>2])}C[b+84>>2]=0;C[b+16>>2]=0;C[b+152>>2]=700}if(C[b+4>>2]){c=C[b+112>>2];if(c){Fe[c|0](C[b+44>>2])}C[b+112>>2]=0;C[b+44>>2]=0;C[b+180>>2]=701}Eq(b,702);Dq(b,703);Cq(b,704);Kz(b,705);if(C[b+4>>2]){C[b+4>>2]=0}b=b?b:382048;c=C[105672];if(!c){C[105672]=b;c=b;break a}if(!b){break a}if((b|0)==382048){continue}ol(b);continue}break}Hz(a,c,C[a+16>>2]+48|0,0)}function rg(a){var b=0,c=0;if(a){Fe[C[104438]](a);C[a- -64>>2]=1;C[a+56>>2]=1;C[a+60>>2]=0;Fe[C[104439]](a);b=C[a+84>>2];if(b){c=C[b+36>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}b=C[a+80>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+72>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}Hi(C[a+52>>2]);b=C[a>>2];a:{if(!b){break a}b=(b<<2)+417820|0;if(C[b>>2]!=(a|0)){break a}C[b>>2]=0}if(C[a+96>>2]){Fe[C[104437]](a)}Ek(C[a+92>>2]);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}}function Sx(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;d=D[a+2|0]|D[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=205712}d=0;f=C[b+100>>2];if((zf(c,C[C[f+92>>2]+I(C[f+76>>2],20)>>2])|0)!=-1){f=205712;d=205712;c=D[a+4|0]|D[a+5|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=C[b+100>>2];c=Tm(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);g=D[a+6|0]|D[a+7|0]<<8;c=c>>>0>=((g<<8|g>>>8)&65535)>>>0?205712:((c<<1)+a|0)+8|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}C[e+12>>2]=d;C[e+8>>2]=710;d=Mp(f,b,e+8|0)}Ce=e+16|0;return d}function _B(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{g=C[a+548>>2];f=C[g>>2];if(f){break a}f=C[g+4>>2];C[g>>2]=f;if(f){break a}f=tk(C[a+204>>2]);if(f){C[g>>2]=f;C[g+4>>2]=f;break a}f=C[g>>2];if(f){break a}return-1}b:{a=C[b>>2];c:{if((a|0)<0){break c}h=C[b+8>>2];if(C[f+8>>2]<(a+h|0)){break c}g=C[b+4>>2];if((g|0)<0){break c}b=C[b+12>>2];if(C[f+12>>2]>=(b+g|0)){break b}}return Qe(8045,0)|0}i=b;b=C[f+4>>2];j=C[f+20>>2];f=C[f+16>>2];return Bi(h,i,C[b>>2],(j+I(f,g)|0)+I(a,D[b+9|0])|0,f,c,d,e)|0}function _R(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{a=C[a+112>>2];if(!a){break a}d=C[b+80>>2];if(!d){break a}b=C[b+92>>2];if(d>>>0>=4){f=d&-4;c=0;while(1){C[b+4>>2]=C[b+4>>2]|C[a+(D[b+19|0]<<2)>>2];C[b+24>>2]=C[b+24>>2]|C[a+(D[b+39|0]<<2)>>2];C[b+44>>2]=C[b+44>>2]|C[a+(D[b+59|0]<<2)>>2];e=b- -64|0;C[e>>2]=C[e>>2]|C[a+(D[b+79|0]<<2)>>2];b=b+80|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break a}c=0;while(1){C[b+4>>2]=C[b+4>>2]|C[a+(D[b+19|0]<<2)>>2];b=b+20|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function Pu(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;c=C[b+28>>2];d=Fe[C[a+508>>2]](a,1668707360,b,e+8|0)|0;C[e+12>>2]=d;a:{if(d){C[a+644>>2]=0;C[a+648>>2]=0;c=0;break a}d=C[e+8>>2]>>>1|0;C[a+644>>2]=d;f=a,g=Ve(c,2,0,d,0,e+12|0),C[f+648>>2]=g;c=C[e+12>>2];if(c){break a}c=Bf(b,C[a+644>>2]<<1);C[e+12>>2]=c;if(c){break a}d=C[a+644>>2];if((d|0)>0){c=C[a+648>>2];d=c+(d<<1)|0;while(1){f=c,g=Ff(b),B[f>>1]=g;c=c+2|0;if(d>>>0>c>>>0){continue}break}}xf(b);if(!D[a+672|0]){c=C[e+12>>2];break a}c=Hu(a,b)}Ce=e+16|0;return c}function qM(a,b){a=a|0;b=b|0;var c=0,d=0;c=Fe[C[a+508>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=Ef(b,352208,d);if(c){break a}B[a+290>>1]=0;B[a+282>>1]=0;B[a+284>>1]=0;B[a+286>>1]=0;B[a+288>>1]=0;B[a+274>>1]=0;B[a+276>>1]=0;B[a+278>>1]=0;B[a+280>>1]=0;B[a+266>>1]=0;B[a+268>>1]=0;B[a+270>>1]=0;B[a+272>>1]=0;b:{if(C[a+260>>2]<65536){break b}c=Ef(b,352224,d);if(c){break a}if(E[a+280>>1]<=63){B[a+280>>1]=64}if(E[a+276>>1]>=65532){B[a+276>>1]=65531}if(E[a+290>>1]<101){break b}B[a+290>>1]=100}c=0}return c|0}function ei(a,b){var c=0,d=0,e=0,f=0,g=0;c=C[a+88>>2];b=C[a+32>>2]+(b<<4)|0;d=C[b+8>>2];B[c+12>>1]=d+32>>>6;e=C[b+12>>2];B[c+14>>1]=e+32>>>6;a:{if(A[a+8|0]&1){f=c,g=Ze(d,E[a+68>>1]),C[f+16>>2]=g;b=Ze(C[b+12>>2],E[a+68>>1]);C[c+20>>2]=b;f=c,g=Te(B[a+70>>1],b)+63&-64,C[f+24>>2]=g;f=c,g=Te(B[a+72>>1],C[c+20>>2])&-64,C[f+28>>2]=g;f=c,g=Te(B[a+74>>1],C[c+20>>2])+32&-64,C[f+32>>2]=g;d=Te(B[a+76>>1],C[c+16>>2])+32&-64;break a}C[c+28>>2]=0;C[c+24>>2]=e;C[c+16>>2]=65536;C[c+20>>2]=65536;C[c+32>>2]=B[b>>1]<<6}C[c+36>>2]=d}function Dh(){var a=0,b=0,c=0,d=0,e=0;b=Ce-16|0;Ce=b;a:{b:{c:{if(!D[422420]){A[422420]=1;if(!ro(422424)){A[422440]=1;break c}qo(422448)}if(!D[422440]){break b}}ro(b);d=(C[b+8>>2]-C[105608]|0)/1e6|0;c=C[b>>2];a=C[105606];e=mT(c-a|0,C[b+4>>2]-(C[105607]+(a>>>0>c>>>0)|0)|0,1e3,0);c=d+e|0;a=Ee+(d>>31)|0;a=c>>>0>>0?a+1|0:a;break a}qo(b);d=(C[b+8>>2]-C[105614]|0)/1e3|0;c=C[b>>2];a=C[105612];e=mT(c-a|0,C[b+4>>2]-(C[105613]+(a>>>0>c>>>0)|0)|0,1e3,0);c=d+e|0;a=Ee+(d>>31)|0;a=c>>>0>>0?a+1|0:a}Ce=b+16|0;Ee=a;return c}function Lu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!(E[a+116>>1]>b>>>0&E[a+80>>1]>c>>>0)){b=1;if(!D[a+561|0]){break a}C[a+12>>2]=134;return 1}c=C[a+88>>2]+(c<<3)|0;f=C[c+4>>2];b=C[a+124>>2]+(b<<3)|0;e=C[b+4>>2];g=f-e|0;c=C[c>>2];b=C[b>>2];f=(c|0)==(b|0)&(e|0)==(f|0);e=f?16384:c-b|0;c=f|!(A[a+368|0]&1);a=c?g:e;b=0;c=c?e:0-g|0;e=c>>31;b:{if((c^e)-e>>>0>16383){break b}e=a>>31;if((e^a)-e>>>0>16383){break b}if(!(a|c)){break a}a=a<<14;c=c<<14}e=c;c=Wi(c,a)<<2;h=d,i=Ze(e,c),B[h>>1]=i;h=d,i=Ze(a,c),B[h+2>>1]=i}return b}function Qy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=C[b+68>>2];e=D[c+4|0]|D[c+5|0]<<8;f=C[b+12>>2];g=C[f+32>>2];if((g|0)==-1){g=Rg(f)}b=C[b+16>>2];f=C[b+80>>2];a:{if(!f){break a}h=C[b+92>>2];b=0;if(!e){while(1){e=I(b,20)+h|0;c=Wg(a,C[e>>2],g);if(c){c=D[c|0]|D[c+1|0]<<8;C[e>>2]=(c<<8|c>>>8)&65535}b=b+1|0;if((f|0)!=(b|0)){continue}break}break a}while(1){e=I(b,20)+h|0;d=Wg(a,C[e>>2],g);if(d){d=D[d|0]|D[d+1|0]<<8;d=(d<<8|d>>>8)&65535;C[e>>2]=d;i=e,j=eh(c,d),B[i+12>>1]=j}b=b+1|0;if((f|0)!=(b|0)){continue}break}}}function yp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(a>>>0>b>>>0){break a}g=C[c+28>>2]>C[d+28>>2];f=g?c:d;e=C[f+24>>2];f=C[f+28>>2];i=e-f|0;c=g?d:c;d=C[c+24>>2];c=C[c+28>>2];g=d-c|0;if(!((d|0)!=(e|0)&(c|0)!=(f|0))){while(1){e=C[a+28>>2];C[a+24>>2]=(c|0)<(e|0)?(e|0)<(f|0)?d:e+i|0:e+g|0;a=a+40|0;if(b>>>0>=a>>>0){continue}break a}}j=Ze(e-d|0,f-c|0);while(1){e=C[a+28>>2];b:{if((e|0)<=(c|0)){h=e+g|0;break b}h=e+i|0;if((e|0)>=(f|0)){break b}h=Te(e-c|0,j)+d|0}C[a+24>>2]=h;a=a+40|0;if(b>>>0>=a>>>0){continue}break}}}function eM(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!D[a+612|0]){break a}c=C[a+100>>2];b=C[a+468>>2];if((b|0)!=163840){if((b|0)!=131072){break a}b=C[a+620>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+616>>1]=0;C[a+620>>2]=0;if(E[a+618>>1]){b=0;while(1){d=b<<2;e=C[d+C[a+624>>2]>>2];if(e){Fe[C[c+8>>2]](c,e)}C[C[a+624>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=C[a+624>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+618>>1]=0;C[a+624>>2]=0;break a}b=C[a+620>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+616>>1]=0;C[a+620>>2]=0}A[a+612|0]=0}function Bf(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;c=C[a+4>>2];a:{if(C[a+20>>2]){d=85;if(b>>>0>c>>>0){break a}e=C[a+28>>2];c=Pk(e,b,f+12|0);C[a>>2]=c;d=C[f+12>>2];if(d){break a}g=Fe[C[a+20>>2]](a,C[a+8>>2],c,b)|0;c=C[a>>2];if(b>>>0<=g>>>0){d=C[f+12>>2]}else{if(c){Fe[C[e+8>>2]](e,c)}c=0;C[a>>2]=0;d=85}C[a+32>>2]=c;C[a+36>>2]=b+c;C[a+8>>2]=C[a+8>>2]+g;break a}d=85;e=C[a+8>>2];if(e>>>0>=c>>>0|c-e>>>0>>0){break a}C[a+8>>2]=b+e;d=e+C[a>>2]|0;C[a+32>>2]=d;C[a+36>>2]=b+d;d=0}Ce=f+16|0;return d}function JL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=C[d+1164>>2];e=C[d+1168>>2]-I(e,a)|0;e=(a|0)>=0?I(a,C[d+1156>>2]-1|0)+e|0:e;if((b|0)>0){while(1){a=b;d=D[c+4|0];a:{if(!d){break a}f=E[c+2>>1];if(f>>>0>=8){p(B[c>>1]+e|0,d,f);break a}b=B[c>>1]+e|0;b:{switch(f-1|0){case 6:A[b|0]=d;b=b+1|0;case 5:A[b|0]=d;b=b+1|0;case 4:A[b|0]=d;b=b+1|0;case 3:A[b|0]=d;b=b+1|0;case 2:A[b|0]=d;b=b+1|0;case 1:A[b|0]=d;b=b+1|0;break;case 0:break b;default:break a}}A[b|0]=d}c=c+6|0;b=a-1|0;if((a|0)>1){continue}break}}}function Gf(a,b){var c=0,d=0,e=0;a:{b:{c:{c=C[a+72>>2];if((c|0)>=0){e=C[a+76>>2];d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870910){e=mf(C[a+80>>2],c<<3);if(e){break c}}C[a+72>>2]=-1}c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break a}C[a+80>>2]=e;C[a+72>>2]=c;e=C[a+76>>2]}if(d>>>0>e>>>0){We(C[a+80>>2]+(e<<3)|0,0,d-e<<3)}C[a+76>>2]=d;c=(C[a+80>>2]+(d<<3)|0)-8|0}d=C[a+52>>2];C[c+4>>2]=b;C[c>>2]=d;C[a+52>>2]=C[a+52>>2]+1}function nG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(e){l=d&3;m=d+3>>>2|0;while(1){e=e-1|0;a:{if(!d){break a}h=m;g=a;i=g;j=g;k=g;b:{c:{switch(l-1|0){default:f=0;break b;case 0:f=3;break b;case 1:f=2;break b;case 2:break c}}f=1}while(1){d:{switch(f|0){case 0:C[g>>2]=c;i=g+4|0;f=1;continue;case 1:C[i>>2]=c;j=i+4|0;f=2;continue;case 2:C[j>>2]=c;k=j+4|0;f=3;continue;default:break d}}C[k>>2]=c;g=k+4|0;h=h-1|0;if(!h){break a}f=0;continue}}a=a+b|0;if(e){continue}break}}}function xi(a){var b=0,c=0,d=0,e=0,f=0;f=C[a+104>>2];b=C[a+84>>2];if(b){while(1){c=C[b+4>>2];Re(C[b>>2]);Re(b);b=c;if(b){continue}break}}d=C[a+68>>2];c=C[a+80>>2];if(c){d=mf(d,c+C[a+76>>2]|0);C[a+68>>2]=d;c=C[a+80>>2];C[a+80>>2]=0;C[a+76>>2]=c+C[a+76>>2]}b=0;C[a+84>>2]=0;C[a+72>>2]=0;if(d){Re(d)}if(f){while(1){d=(b<<2)+f|0;e=C[d+12>>2];c=C[e+8>>2];if(c){Re(c)}C[e>>2]=0;C[e+4>>2]=0;C[e+16>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;if((b|0)!=7){Re(C[d+12>>2])}b=b+1|0;if((b|0)!=15){continue}break}Re(f)}We(a,0,112)}function AD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g<<16&16711680|g&-16711936|g>>>16&255;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function pG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(e){g=c>>>16|0;h=c>>>8|0;k=d&3;l=d>>>0<4;while(1){e=e-1|0;a:{if(!d){break a}j=0;f=a;i=d;if(k){while(1){A[f+2|0]=g;A[f+1|0]=h;A[f|0]=c;f=f+3|0;i=i-1|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}}if(l){break a}while(1){A[f+11|0]=g;A[f+10|0]=h;A[f+9|0]=c;A[f+8|0]=g;A[f+7|0]=h;A[f+6|0]=c;A[f+5|0]=g;A[f+4|0]=h;A[f+3|0]=c;A[f+2|0]=g;A[f+1|0]=h;A[f|0]=c;f=f+12|0;i=i-4|0;if(i){continue}break}}a=a+b|0;if(e){continue}break}}}function fJ(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,k=0,l=0,m=0,n=0;d=D[a+11|0];e=d+7>>>3|0;a:{if(!d){d=b;break a}f=b+e|0;d=b;while(1){A[d|0]=D[c|0]+D[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}b=C[a+4>>2]+b|0;if(b>>>0>d>>>0){a=0-e|0;m=(b-d|0)+d|0;while(1){h=D[a+d|0];b=D[a+c|0];e=h-b|0;f=e>>31;i=D[c|0];g=i-b|0;j=g>>31;k=e+g|0;l=k>>31;n=b;b=(e^f)-f|0;e=(g^j)-j|0;f=b>>>0>>0;A[d|0]=D[d|0]+((l^k)-l>>>0<(f?b:e)>>>0?n:f?i:h);c=c+1|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}}}function ZC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=C[a+28>>2];a=kf(96);d=Ye(b,8);C[a>>2]=d;c=Ye(b,16);C[a+4>>2]=c;g=Ye(b,16);C[a+8>>2]=g;h=a,i=Ye(b,6),C[h+12>>2]=i;h=a,i=Ye(b,8),C[h+16>>2]=i;e=Ye(b,4);C[a+20>>2]=e+1;a:{b:{if((d|0)<=0|(c|0)<=0|((e|0)<0|(g|0)<=0)){break b}d=0;while(1){c=Ye(b,8);C[((d<<2)+a|0)+24>>2]=c;if((c|0)<0|(c|0)>=C[f+24>>2]){break b}c=C[((c<<2)+f|0)+1824>>2];if(!C[c+12>>2]|C[c>>2]<=0){break b}c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}break a}Re(a);a=0}return a|0}function hj(a,b,c,d,e,f){var g=0,h=0,i=0,j=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}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|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}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=d;C[a+12>>2]=e}function wE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g<<16|g&65280|g>>>16&255|-16777216;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function Mv(a){var b=0,c=0,d=0,e=0,f=0;C[a+28>>2]=4096;b=a+4168|0;C[a+24>>2]=b;C[a+8268>>2]=b;d=a+72|0;f=a+12|0;while(1){if(!C[a+16>>2]){b=C[a>>2];c=C[b+20>>2];a:{if(c){c=Fe[c|0](b,C[b+8>>2],d,4096)|0;if(c){break a}return 85}e=C[b+8>>2];c=C[b+4>>2]-e|0;c=c>>>0>=4096?4096:c;if(!c){return 85}t(d,C[b>>2]+e|0,c)}C[b+8>>2]=C[b+8>>2]+c;C[a+16>>2]=c;C[a+12>>2]=d}b=Lv(f,0);if(b){if((b|0)==1){b=C[a+24>>2];C[a+8272>>2]=b;a=(b|0)==C[a+8268>>2]?85:0}else{a=85}return a}if(C[a+28>>2]){continue}break}return 0}function Ll(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g<<16&16711680|g&65280|g>>>16&255;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function us(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g>>>8&65280|g>>>24|g<<8&16711680;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function iw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ce-16|0;Ce=c;a:{if(!a){g=35;break a}if(!b){g=6;break a}if(!C[a+96>>2]){g=34;break a}C[b>>2]=0;f=C[a+100>>2];d=C[C[a+96>>2]+12>>2];e=hf(f,C[d+40>>2],c+12|0);b:{if(C[c+12>>2]){break b}h=hf(f,12,c+12|0);if(C[c+12>>2]){break b}C[e+40>>2]=0;C[e>>2]=a;d=C[d+56>>2];if(d){d=Fe[d|0](e)|0;C[c+12>>2]=d;if(d){break b}}C[b>>2]=e;C[h+8>>2]=e;Zo(a+108|0,h);if(!C[c+12>>2]){break a}}if(h){Fe[C[f+8>>2]](f,h)}if(e){Fe[C[f+8>>2]](f,e)}g=C[c+12>>2]}Ce=c+16|0;return g}function Nh(a,b){var c=0,d=0,e=0;c=C[a+20>>2];if(!(D[a+13|0]?c:0)){return Te(b,C[a+16>>2])}d=C[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(C[(I(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=C[(I(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;C[a+24>>2]=0;d=C[a+36>>2];if((d|0)<=(b|0)){break b}return Te(b-d|0,C[a+16>>2])+C[a+40>>2]|0}C[a+24>>2]=c}a=I(c,20)+a|0;return Te(b-d|0,C[a+44>>2])+C[a+40>>2]|0}function AR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=C[b+80>>2];if(d){g=C[b+92>>2];b=0;while(1){e=I(b,20)+g|0;f=C[e>>2];c=Ep(f);a=16;a:{b:{switch(f-6042|0){case 47:case 48:case 50:a=20;break a;case 44:case 49:case 51:case 52:case 53:case 54:case 55:a=21;break a;case 45:case 46:case 57:case 67:a=22;break a;case 0:break a;default:break b}}a=c;if((c&255)!=7){break a}a=7;c=(c>>>8|0)-3|0;if((c&255)>>>0>8){break a}a=D[(c<<24>>24)+191928|0]}A[e+18|0]=a;b=b+1|0;if((d|0)!=(b|0)){continue}break}}}function cQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=C[a+28>>2];a=C[h+20>>2];a:{if(!a){break a}b=E[a>>1];e=b<<16>>16;if((e|0)>=2){c=B[(C[a+12>>2]+(b<<1)|0)-4>>1]+1|0}g=E[a+2>>1];b=g<<16>>16;b:{if((b|0)<2){break b}d=C[a+4>>2];f=d+(c<<3)|0;d=(d+(g<<3)|0)-8|0;if(C[f>>2]!=C[d>>2]|C[f+4>>2]!=C[d+4>>2]|D[(C[a+8>>2]+g|0)-1|0]!=1){break b}b=b-1|0;B[a+2>>1]=b}if((e|0)<=0){break a}f=c;c=(b<<16>>16)-1|0;if((f|0)==(c|0)){B[a+2>>1]=b-1;B[a>>1]=e-1;break a}B[(C[a+12>>2]+(e<<1)|0)-2>>1]=c}A[h+64|0]=0}function Us(a){var b=0,c=0;b=C[104774];if(!(!b|a)){while(1){if(D[c+419614|0]==1){Tl(1,0,c)}c=c+1|0;if((c|0)!=512){continue}break}b=C[104774]}a:{if(!b|(a|0)==(b|0)){break a}if(D[b+49|0]&64){b:{if(!C[105556]){_e(4);break b}C[105582]=0;li(0)}li(1);b=C[104774]}bg(b,13,0,0);if(!qf(771,-1)){break a}c=C[105668];if(!c){break a}b=C[c+292>>2];if(!b){break a}Fe[b|0](c)}C[104774]=a;c:{if(!a){break c}bg(a,12,0,0);if(!qf(771,-1)){break c}b=C[105668];if(!b){break c}a=C[b+288>>2];if(!a){break c}Fe[a|0](b)}}function Lr(a){var b=0,c=0,d=0;if(!a){Qe(4450,0);return}b=C[a+88>>2];C[a+88>>2]=b-1;a:{if((b|0)>=2){if(!C[105598]){break a}return}if(D[422400]){if(!C[105598]){break a}return}Fe[C[C[a+80>>2]+36>>2]](a);C[a+84>>2]=0;b=C[105599];b:{if(!b){break b}if((a|0)!=(b|0)){while(1){c=C[b+92>>2];if(!c){break b}d=b;b=c;if((b|0)!=(a|0)){continue}break}}C[(d?d+92|0:422396)>>2]=C[a+92>>2]}b=C[a+4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}if(!C[105598]){break a}}}function wS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-272|0;Ce=e;c=D[a+6|0]|D[a+7|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=205712}d=C[b+100>>2];c=0;a:{if((zf(f,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)==-1){break a}d=D[a+2|0]|D[a+3|0]<<8;g=D[a+4|0]|D[a+5|0]<<8;C[e+268>>2]=0;d=(d<<8|d>>>8)&65535;c=0;if(!el(b,d,a+8|0,723,a,e+268|0,e,0)){break a}c=C[e+268>>2];if(c>>>0>=2){h=C[b+100>>2];f=C[h+76>>2];Rf(h,f,c+f|0)}c=Sm(b,d,e,(g<<8|g>>>8)&65535,(a+6|0)+(d<<1)|0,c)}Ce=e+272|0;return c|0}function jm(a){var b=0,c=0,d=0;if(!a){if(C[105777]){b=jm(C[105777])}if(C[95654]){b=jm(C[95654])|b}a=C[105794];if(a){while(1){if(C[a+20>>2]!=C[a+28>>2]){b=jm(a)|b}a=C[a+56>>2];if(a){continue}break}}return b}d=C[a+76>>2]>=0;a:{b:{if(C[a+20>>2]==C[a+28>>2]){break b}Fe[C[a+36>>2]](a,0,0)|0;if(C[a+20>>2]){break b}b=-1;break a}b=C[a+8>>2];c=C[a+4>>2];if((b|0)!=(c|0)){b=c-b|0;Fe[C[a+40>>2]](a,b,b>>31,1)|0}b=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(!d){break a}}return b}function Gn(a){var b=0,c=0;c=Ce-16|0;Ce=c;Kr();b=C[105596];a:{if(b){while(1){if(C[b>>2]==(a|0)){C[b+36>>2]=C[b+36>>2]+1;C[105595]=0;break a}b=C[b+40>>2];if(b){continue}break}}b=Fe[C[94503]](44)|0;if(b){C[94507]=C[94507]+1}if(!b){C[105595]=0;b=0;_e(0);break a}if((Fn(b,a)|0)<0){C[105595]=0;if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[c>>2]=5741;Qe(19745,c);b=0;break a}if(!(!((a&-268435456)!=268435456?a:0)&(a>>>24&15)-1>>>0<3)){C[b+40>>2]=C[105596];C[105596]=b}C[105595]=0}Ce=c+16|0;return b}function ak(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if((a|0)<-2949120){b=14408027;while(1){c=e;e=0-b|0;f=a>>>0<4286119936;b=c;d=a+5898240|0;a=d;if(f){continue}break}break a}c=14408027;if((a|0)<=2949120){d=a;break a}while(1){e=c;c=0-b|0;f=a>>>0>8847360;b=e;d=a-5898240|0;a=d;if(f){continue}break}}f=281872;a=1;b=1;while(1){g=a+c>>b;h=a+e>>b;i=C[f>>2];b:{if((d|0)<0){d=d+i|0;c=c+h|0;e=e-g|0;break b}d=d-i|0;c=c-h|0;e=e+g|0}a=a<<1;f=f+4|0;b=b+1|0;if((b|0)!=23){continue}break}return c+128>>8}function $j(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if((a|0)<-2949120){b=14408027;while(1){d=c;c=0-b|0;f=a>>>0<4286119936;b=d;e=a+5898240|0;a=e;if(f){continue}break}break a}d=14408027;if((a|0)<=2949120){e=a;break a}while(1){c=d;d=0-b|0;f=a>>>0>8847360;b=c;e=a-5898240|0;a=e;if(f){continue}break}}f=281872;a=1;b=1;while(1){g=a+d>>b;h=a+c>>b;i=C[f>>2];b:{if((e|0)<0){e=e+i|0;c=c-g|0;d=d+h|0;break b}e=e-i|0;c=c+g|0;d=d-h|0}a=a<<1;f=f+4|0;b=b+1|0;if((b|0)!=23){continue}break}return c+128>>8}function jz(a){var b=0,c=0,d=0,e=0,f=0,g=0;if((a|0)==205712){return 0}b=D[a|0]|D[a+1|0]<<8;if(!b){return 2}c=(b<<8|b>>>8)&65535;b=D[a+2|0];f=I(c+1|0,b);a:{if(!b){b=0;break a}d=b&3;a=(I(b,c)+a|0)+3|0;if(b>>>0<4){b=0}else{g=b&252;b=0;while(1){c=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(!d){break a}while(1){b=D[a|0]|b<<8;a=a+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}}return(b+f|0)+2|0}function Lm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b=C[c+80>>2];if(!b){break a}a=C[c+92>>2];c=0;if(b>>>0>=8){f=b&-8;while(1){A[(I(c,20)+a|0)+15|0]=0;A[(I(c|1,20)+a|0)+15|0]=0;A[(I(c|2,20)+a|0)+15|0]=0;A[(I(c|3,20)+a|0)+15|0]=0;A[(I(c|4,20)+a|0)+15|0]=0;A[(I(c|5,20)+a|0)+15|0]=0;A[(I(c|6,20)+a|0)+15|0]=0;A[(I(c|7,20)+a|0)+15|0]=0;c=c+8|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}b=b&7;if(!b){break a}while(1){A[(I(c,20)+a|0)+15|0]=0;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}}function ro(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!D[423104]){f=423105,g=Xb()|0,A[f|0]=g;A[423104]=1}a:{if(D[423105]){d=+ca();break a}C[105773]=28;return-1}b=d/1e3;b:{if(K(b)<0x8000000000000000){e=~~b>>>0;c=K(b)>=1?~~(b>0?M(O(b*2.3283064365386963e-10),4294967295):P((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break b}c=-2147483648}C[a>>2]=e;C[a+4>>2]=c;b=(d-(+(mT(e,c,1e3,0)>>>0)+ +(Ee|0)*4294967296))*1e3*1e3;c:{if(K(b)<2147483648){c=~~b;break c}c=-2147483648}C[a+8>>2]=c;return 0}function OQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;g=C[b+92>>2];C[a+40>>2]=E[b+68>>1];a:{if(vm(b)){C[b+92>>2]=0;break a}Ww(a,b);d=48;while(1){b:{f=d;d=0;c=C[C[a+36>>2]>>2];c:{if(!c){break c}c=C[c+92>>2];if(!c){break c}d=Fe[C[C[c+12>>2]+12>>2]](c,f)|0}d:{if(!d){break d}if(cl(b,d,2051,e+12|0)){break d}c=h;h=1;d=C[e+12>>2];if(!c){i=d;break d}if((d|0)==(i|0)){break d}c=0;break b}c=1;d=f+1|0;if((d|0)!=58){continue}}break}A[a+32|0]=c}oj(b,g);Ce=e+16|0;return 0}function EO(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,j=0;e=Ce-32|0;Ce=e;C[d>>2]=-1;mj(a,e+20|0);if(C[e+28>>2]==3){i=C[a>>2];g=C[e+20>>2]+1|0;C[a>>2]=g;j=C[a+8>>2];h=C[e+24>>2]-1|0;C[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}c=I(c,12)+b|0;while(1){mj(a,e+8|0);if(!C[e+16>>2]){break a}if(!(!b|c>>>0<=f>>>0)){g=C[e+12>>2];C[f>>2]=C[e+8>>2];C[f+4>>2]=g;C[f+8>>2]=C[e+16>>2]}f=f+12|0;if(F[a>>2]>2]){continue}break}}C[d>>2]=(f-b|0)/12;C[a+8>>2]=j;C[a>>2]=i}Ce=e+32|0}function Pg(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=B[a+2>>1];if((d|0)<=0){break a}a=C[a+4>>2];if(d>>>0>=4){f=d&-4;while(1){C[a>>2]=C[a>>2]+b;C[a+4>>2]=C[a+4>>2]+c;C[a+8>>2]=C[a+8>>2]+b;C[a+16>>2]=C[a+16>>2]+b;C[a+24>>2]=C[a+24>>2]+b;C[a+12>>2]=C[a+12>>2]+c;C[a+20>>2]=C[a+20>>2]+c;C[a+28>>2]=C[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){C[a>>2]=C[a>>2]+b;C[a+4>>2]=C[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function iJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ce-32|0;Ce=e;C[e+16>>2]=b;d=C[a+48>>2];C[e+20>>2]=c-((d|0)!=0);f=C[a+44>>2];C[e+28>>2]=d;C[e+24>>2]=f;a:{b:{d=Ub(C[a+60>>2],e+16|0,2,e+12|0)|0;if(d){C[105773]=d;d=-1}else{d=0}if(d){b=32}else{d=C[e+12>>2];if((d|0)>0){break b}b=d?32:16}C[a>>2]=b|C[a>>2];break a}g=d;f=C[e+20>>2];if(f>>>0>=d>>>0){break a}d=C[a+44>>2];C[a+4>>2]=d;C[a+8>>2]=d+(g-f|0);if(C[a+48>>2]){C[a+4>>2]=d+1;A[(b+c|0)-1|0]=D[d|0]}g=c}Ce=e+32|0;return g|0}function Fg(a,b,c,d,e,f){var g=0,h=0,i=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){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<>>32-b|c<>2]=b;C[a+4>>2]=c;C[a+8>>2]=d;C[a+12>>2]=e}function gG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>0){i=D[e+34|0];j=D[e+30|0];k=D[e+33|0];l=D[e+29|0];m=D[e+32|0];n=D[e+28|0];o=D[d+35|0];p=D[d+34|0];q=D[d+33|0];r=D[d+32|0];while(1){f=C[b>>2];g=C[e+24>>2]|((f&C[d+16>>2])>>>q>>>l<>2]&f)>>>r>>>n<>2]&f)>>>p>>>j<>2]=g&63519|(C[d+24>>2]&f)>>>o<<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 bQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=C[a+28>>2];if(D[c+64|0]){break b}d=Aw(c,C[b>>2],C[b+4>>2]);if(!d){break b}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=d;return}d=C[b+12>>2];f=C[b+8>>2];c:{b=C[c+12>>2];if((B[b+22>>1]+B[b+58>>1]|0)+1>>>0>F[b+4>>2]){b=Qg(b,1,0);if(b){break c}}a=C[c+20>>2];if(D[c+65|0]){b=C[a+8>>2];c=B[a+2>>1];e=C[a+4>>2]+(c<<3)|0;C[e+4>>2]=d>>10;C[e>>2]=f>>10;A[b+c|0]=1}B[a+2>>1]=E[a+2>>1]+1;return}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=b}}function TS(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=C[b+8>>2];a:{if(a){break a}while(1){h=C[b>>2];if(!h){a=205712;break a}a=df(1,48);if(!a){a=205712;C[b+8>>2]=205712;break a}kn(a,h);if(!C[b+8>>2]){C[b+8>>2]=a;break a}Ue(C[a+44>>2]);Re(a);a=C[b+8>>2];if(!a){continue}break}}h=C[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=C[a+12>>2];while(1){if(!(Fe[h|0](a,C[d>>2],f)|0)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function Fh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=C[a+4>>2];if(!h){return C[a+24>>2]&e>>>D[a+31|0]<>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>2];a:{if((j|0)<=0){h=0;break a}l=C[h+4>>2];k=-1;h=0;a=0;while(1){b:{f=(a<<2)+l|0;g=D[f+1|0]-c|0;i=I(g,g);g=D[f|0]-b|0;i=i+I(g,g)|0;g=D[f+2|0]-d|0;f=D[f+3|0]-e|0;f=(i+I(g,g)|0)+I(f,f)|0;if(f>>>0>>0){h=a;k=f;if(!f){break b}}a=a+1|0;if((j|0)!=(a|0)){continue}}break}}return h&255}function vm(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=C[a+40>>2];a:{if(!c){break a}d=(C[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=C[e>>2];c:{if(C[b+4>>2]!=1970170211){break c}d:{switch(E[b+8>>1]){case 3:if(E[b+10>>1]!=10){break c}break b;case 0:break d;default:break c}}if(E[b+10>>1]==4){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=C[d>>2];if(C[b+4>>2]!=1970170211){continue}break}}C[a+92>>2]=b;f=0}return f}function ns(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,j=0,k=0;g=C[a+4>>2];if(!g){return C[a+24>>2]|(c>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>2];a:{if((i|0)<=0){g=0;break a}k=C[g+4>>2];j=-1;g=0;a=0;while(1){b:{e=(a<<2)+k|0;f=D[e+1|0]-c|0;h=I(f,f);f=D[e|0]-b|0;h=h+I(f,f)|0;f=D[e+2|0]-d|0;e=D[e+3|0]-255|0;e=(h+I(f,f)|0)+I(e,e)|0;if(e>>>0>>0){g=a;j=e;if(!e){break b}}a=a+1|0;if((i|0)!=(a|0)){continue}}break}}return g&255}function QO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[a+32>>2]=c;e=a,f=Ve(c,4,0,b,0,d+12|0),C[e+24>>2]=f;a:{b:{if(C[d+12>>2]){break b}e=a,f=Ve(c,4,0,b,0,d+12|0),C[e+28>>2]=f;if(C[d+12>>2]){break b}C[a+20>>2]=0;C[a+16>>2]=b;C[a+8>>2]=0;C[a+12>>2]=-559038737;C[a>>2]=0;C[a+4>>2]=0;b=C[71971];C[a+36>>2]=C[71970];C[a+40>>2]=b;b=C[71973];C[a+44>>2]=C[71972];C[a+48>>2]=b;a=0;break a}b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;a=C[d+12>>2]}Ce=d+16|0;return a|0}function fG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>0){i=D[e+34|0];j=D[e+30|0];k=D[e+33|0];l=D[e+29|0];m=D[e+32|0];n=D[e+28|0];o=D[d+35|0];p=D[d+34|0];q=D[d+33|0];r=D[d+32|0];while(1){f=C[b>>2];g=C[e+24>>2]|((f&C[d+16>>2])>>>q>>>l<>2]&f)>>>r>>>n<>2]&f)>>>p>>>j<>2]=g&64543|(C[d+24>>2]&f)>>>o<<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 WR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b=C[c+80>>2];if(!b){break a}a=C[c+92>>2];c=0;if(b>>>0>=4){e=b&-4;while(1){d=I(c,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;d=I(c|1,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;d=I(c|2,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;d=I(c|3,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;c=c+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=I(c,20)+a|0;B[e+12>>1]=E[e+12>>1]&65519;c=c+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}}function KA(){var a=0;a=If(1,1092);if(!a){_e(0);return a|0}Ul(23984,29920);C[a+280>>2]=611;C[a+32>>2]=612;C[a+24>>2]=613;C[a+20>>2]=614;C[a+8>>2]=615;C[a+4>>2]=616;C[a+152>>2]=617;C[a+56>>2]=618;C[a+44>>2]=619;C[a+36>>2]=620;C[a+228>>2]=621;C[a+224>>2]=622;C[a+220>>2]=623;C[a+216>>2]=624;C[a+208>>2]=625;C[a+204>>2]=626;C[a+200>>2]=627;C[a+196>>2]=628;C[a+192>>2]=629;C[a+164>>2]=630;C[a+160>>2]=631;C[a+156>>2]=632;C[a+120>>2]=633;C[a+1088>>2]=634;C[a+212>>2]=635;return a|0}function Cv(a,b){var c=0,d=0,e=0;d=Ce-16|0;Ce=d;c=C[a>>2]+1|0;C[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){ug(d+12|0,b);c=C[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=D[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;C[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(D[c|0]!=62){break c}}c=c+1|0;b=0}C[a>>2]=c;Ce=d+16|0;return b}function XM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>F[b+160>>2]){tf(b,8)}c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(!(d>>>0<20|d>>>0>C[b+160>>2]-a>>>0)&d-20>>>1>>>0>=c>>>0)){tf(b,8)}if(!(!C[b+164>>2]|!c)){while(1){if(F[b+172>>2]<=(D[e+1|0]|D[e|0]<<8)>>>0){tf(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function zj(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-12|0;while(1){c=C[e>>2];if(!c){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=qz(b,Of(c,1751672161));if(!d){d=205712}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<36?205712:C[c+12>>2]}function yj(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-40|0;while(1){c=C[e>>2];if(!c){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=qz(b,Of(c,1986553185));if(!d){d=205712}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<36?205712:C[c+12>>2]}function bz(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-100|0;while(1){c=C[e>>2];if(!c){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=$y(b,Of(c,1836020344));if(!d){d=205712}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<8?205712:C[c+12>>2]}function az(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-104|0;while(1){c=C[e>>2];if(!c){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=_y(b,Of(c,1836020340));if(!d){d=205712}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<8?205712:C[c+12>>2]}function Ft(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!C[C[105819]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){A[a+1|0]=b&63|128;A[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){A[a+2|0]=b&63|128;A[a|0]=b>>>12|224;A[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){A[a+3|0]=b&63|128;A[a|0]=b>>>18|240;A[a+2|0]=b>>>6&63|128;A[a+1|0]=b>>>12&63|128;a=4;break a}}C[105773]=25;a=-1}else{a=1}break a}A[a|0]=b;a=1}return a}function fw(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=35;a:{if(!(D[a+8|0]&2)){break a}e=7;if(C[b>>2]){break a}f=C[b+4>>2];g=f;e=C[b+12>>2];if(e){g=(I(e,f)+36|0)/72|0}d=C[b+8>>2];h=d;b=C[b+16>>2];if(b){h=(I(b,d)+36|0)/72|0}e=23;b=C[a+28>>2];if((b|0)<=0){break a}d=d?h:g;h=(f?d:h)+32|0;f=(f?g:d)+32|0;g=C[a+32>>2];a=0;while(1){d=g+(a<<4)|0;if(!((h^C[d+12>>2]+32)>>>0>63|(f^C[d+8>>2]+32)>>>0>63)){e=0;if(!c){break a}C[c>>2]=a;return 0}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return e}function Wp(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-80|0;while(1){c=C[e>>2];if(!c){c=205712;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=Jy(b,Of(c,1801810542));if(!d){d=205712}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=205712){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<4?205712:C[c+12>>2]}function eC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=Ce-32|0;Ce=a;a:{if(!Ij(C[b+4>>2],a+28|0,a+24|0,a+20|0,a+16|0,a+12|0)){b=Qe(5029,0);break a}c=hi(0,C[b+12>>2],C[b+16>>2],C[a+28>>2],C[a+24>>2],C[a+20>>2],C[a+16>>2],C[a+12>>2]);C[b+80>>2]=c;d=D[b+32|0];e=D[b+33|0];f=D[b+34|0];if(c){ni(c,d,e,f)}c=D[b+35|0];d=C[b+80>>2];if(d){Ii(d,c)}c=C[b+24>>2];d=C[b+80>>2];if(d){zg(d,c)}if(!(C[b+8>>2]|C[a+12>>2])){c=C[b+80>>2];if(c){Ik(c,1)}}b=C[b+80>>2]?0:-1}Ce=a+32|0;return b|0}function bj(a){var b=0,c=0,d=0,e=0,f=0;if(D[a+49|0]&2){b=C[a+48>>2];d=C[105569]?1:b>>>8&1;e=(b&1048576)>>>20|0}b=C[105668];c=C[b+384>>2];a:{if(e|d){b:{if(!c|(a|0)==(c|0)){break b}C[c+48>>2]=C[c+48>>2]&-1048833;f=C[b+144>>2];if(f){Fe[f|0](b,c,0);b=C[105668]}c=C[b+148>>2];if(!c){break b}Fe[c|0](b,C[b+384>>2],0);b=C[105668]}C[b+384>>2]=a;break a}if((a|0)!=(c|0)){break a}C[b+384>>2]=0}c=C[b+144>>2];if(c){Fe[c|0](b,a,d);b=C[105668]}c=C[b+148>>2];if(c){Fe[c|0](b,a,e)}}function QA(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,j=0,k=0;a:{if((f|0)<=0){break a}j=f&1;b:{if((f|0)==1){b=0;f=0;break b}k=f&-2;b=0;f=0;h=0;while(1){i=f<<2;if(C[i+e>>2]){C[(b<<2)+d>>2]=C[d+i>>2];b=b+1|0}i=(f|1)<<2;if(C[i+e>>2]){C[(b<<2)+d>>2]=C[d+i>>2];b=b+1|0}f=f+2|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}c:{if(!j){break c}h=e;e=f<<2;if(!C[h+e>>2]){break c}C[(b<<2)+d>>2]=C[d+e>>2];b=b+1|0}if(!b){break a}ur(a,c,d,b,g)}return 0}function Bv(a,b,c,d){var e=0,f=0,g=0,h=0;h=C[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=D[b+h|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=D[e+288256|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}A[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}A[c+g|0]=f<<4;g=g+1|0}C[a>>2]=b+h}return g}function rj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!C[a+72>>2]|(!a|!b)){break a}g=D[b|0];if(!g){break a}e=C[a+128>>2];h=C[e+12>>2];d=g;c=b;while(1){f=(d<<24>>24)+I(f,31)|0;d=D[c+1|0];c=c+1|0;if(d){continue}break}e=C[e+4>>2];c=((f>>>0)%(e>>>0)<<2)+h|0;d=C[c>>2];if(!d){break a}f=((e<<2)+h|0)-4|0;while(1){b:{e=C[d>>2];if(D[e|0]==(g|0)){if(!Se(e,b)){break b}}c=c-4|0;c=c>>>0>>0?f:c;d=C[c>>2];if(d){continue}break a}break}i=C[a+80>>2]+(C[d+4>>2]<<4)|0}return i}function xv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=C[a+20>>2];if(!a){break a}b=E[a>>1];e=b<<16>>16;if((e|0)>=2){d=B[(C[a+12>>2]+(b<<1)|0)-4>>1]+1|0}f=E[a+2>>1];b=f<<16>>16;b:{if((b|0)<2){break b}c=C[a+4>>2];g=c+(d<<3)|0;c=(c+(f<<3)|0)-8|0;if(C[g>>2]!=C[c>>2]|C[g+4>>2]!=C[c+4>>2]|D[(C[a+8>>2]+f|0)-1|0]!=1){break b}b=b-1|0;B[a+2>>1]=b}if((e|0)<=0){break a}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){B[a+2>>1]=b-1;B[a>>1]=e-1;return}B[(C[a+12>>2]+(e<<1)|0)-2>>1]=d}}function lj(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==D[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}if(!(D[a|0]==(b&255)|c>>>0<4)){d=I(b&255,16843009);while(1){e=d^C[a>>2];if((e^-1)&e-16843009&-2139062144){break b}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)==D[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function YM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[b>>2]+1|0;a=C[a+16>>2];d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=c>>>0>e>>>0?c:e;e=d-e|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>>0){a=(a+(e<<1)|0)+20|0;while(1){f=D[a+1|0]|D[a|0]<<8;if(f){C[b>>2]=d;return f|0}d=d+1|0;a=a+2|0;e=e+1|0;if(c>>>0>e>>>0){continue}break}}C[b>>2]=d;return 0}function HN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=C[a+16>>2];a:{if(j){c=C[b>>2]+1|0;k=C[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=C[e>>2];if((f|0)==(c|0)){a=C[((i<<3)+k|0)+4>>2];C[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?C[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>=j>>>0){break a}a=C[a+20>>2]+(d<<3)|0;c=C[a>>2]&2147483647;g=C[a+4>>2]}C[b>>2]=c;return g|0}function pN(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=C[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(D[c|0]<<8|D[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=D[c|0]<<8|D[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(D[a+1|0]|D[a|0]<<8)|0;if(b>>>0>=(D[a+3|0]|D[a+2|0]<<8)>>>0){break a}c=D[a+7|0]|D[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=D[b|0]<<8|D[b+1|0];if(!b){break a}d=b+(D[a+5|0]|D[a+4|0]<<8)&65535}return d|0}function oj(a,b){var c=0,d=0,e=0,f=0;f=Ce-16|0;Ce=f;a:{if(!a){c=35;break a}c=38;if(!b){break a}e=C[a+40>>2];if(!e){break a}c=C[b>>2];b:{if(!c){break b}c=C[c+96>>2];d=C[C[c>>2]+32>>2];if(!d){break b}c=Fe[d|0](c,6749)|0;if(!c){break b}if(Fe[C[c>>2]](b,f+8|0)|0){break b}c=6;if(C[f+12>>2]==14){break a}}c=6;d=C[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+e|0;while(1){if(C[e>>2]!=(b|0)){e=e+4|0;if(d>>>0>e>>>0){continue}break a}break}C[a+92>>2]=b;c=0}Ce=f+16|0;return c}function ml(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[a+24>>2];a:{if((e|0)<0){break a}g=C[a+20>>2];if((g|0)<=(e|0)){break a}if(b){f=C[C[a+4>>2]+4>>2];b:{if((f|0)<=0){break b}if((f|0)!=1){j=f&-2;while(1){d=c<<2;h=e<<2;C[d+C[a+12>>2]>>2]=h+C[d+C[a+8>>2]>>2];d=d|4;C[d+C[a+12>>2]>>2]=C[d+C[a+8>>2]>>2]+h;c=c+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}if(!(f&1)){break b}c=c<<2;C[c+C[a+12>>2]>>2]=C[c+C[a+8>>2]>>2]+(e<<2)}C[b>>2]=C[a+12>>2]}c=g-e|0}return c}function bB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ce-32|0;Ce=e;d=Gn(376840196);if(d){f=wn(a,d);En(d)}d=0;a:{if(!f){break a}B[e+28>>1]=105;C[e+24>>2]=1768515945;d=C[a+12>>2];a=C[a+8>>2];C[e+16>>2]=C[f+20>>2];C[e+12>>2]=c;C[e+8>>2]=b;C[e>>2]=a;C[e+4>>2]=d;b=S(389579,e+24|0,e|0)|0;Nf(f);d=If(1,8);if(d){a=If(1,8);if(!a){_e(0);if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}d=0;break a}C[a+4>>2]=1;C[a>>2]=b;C[d+4>>2]=a;break a}_e(0);d=0}Ce=e+32|0;return d|0}function ax(a,b){a=a|0;b=b|0;var c=0;if(C[b+72>>2]==1651078259){c=C[a>>2];C[a+20>>2]=C[b+100>>2];C[a+24>>2]=C[b+104>>2];a=a+28|0;if(A[C[b+156>>2]+4|0]&1){c=C[b+80>>2];C[a>>2]=C[b+76>>2];C[a+4>>2]=c;c=C[b+96>>2];C[a+16>>2]=C[b+92>>2];C[a+20>>2]=c;c=C[b+88>>2];C[a+8>>2]=C[b+84>>2];C[a+12>>2]=c;a=C[b+156>>2];C[a+4>>2]=C[a+4>>2]&-2;return 0}if(a){C[a>>2]=0;C[a+4>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}a=bx(c,b+76|0,a)}else{a=18}return a|0}function WB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=J(0);a=ki(a,32,b+4|0);if(!a){return-1}C[b+8>>2]=1;gf(a,d,16);f=G[e>>2];a:{if(J(K(f))>2]=b;f=G[e+4>>2];b:{if(J(K(f))>2]=b;f=G[e+8>>2];c:{if(J(K(f))>2]=b;f=G[e+12>>2];d:{if(J(K(f))>2]=b;return 0}function Yk(a,b,c){var d=0,e=0;d=Ce-16|0;Ce=d;if(D[a+11664|0]){A[a+11665|0]=1;hk(a,C[a+11736>>2],C[a+11740>>2]);if(D[a+11744|0]){e=C[a+11716>>2];C[d+8>>2]=C[a+11712>>2];C[d+12>>2]=e;Am(a,a+8|0,a+11704|0,d+8|0,1)}A[a+11744|0]=0;B[a+11664>>1]=0}C[a+11720>>2]=b;C[a+11736>>2]=b;A[a+11667|0]=1;C[a+11740>>2]=c;C[a+11724>>2]=c;b=a+8|0;c=C[a+11676>>2];if(!(D[c+5|0]?0:D[a+20|0])){Xk(b,C[a+11668>>2],C[a+11672>>2],c,C[a+11680>>2],0)}t(a+3876|0,b,3868);Ce=d+16|0}function xl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ce-32|0;Ce=e;a:{if(!a){C[e>>2]=19555;a=Qe(19745,e);break a}d=C[C[a+4>>2]+4>>2];if(!(!d|F[d>>2]>c>>>0)){C[e+16>>2]=1412;a=Qe(19745,e+16|0);break a}d=C[a+52>>2];f=C[d+68>>2];b:{c:{d:{if(b&2){b=f|4096;C[d+68>>2]=b;if((b|0)==(f|0)){break d}ag(d);d=C[a+52>>2];f=C[d+68>>2];break d}if(!b){break c}}C[d+72>>2]=c;b=f|256;break b}b=f&-257}C[d+68>>2]=b;a=0;if((b|0)==(f|0)){break a}ag(d)}Ce=e+32|0;return a|0}function vN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=C[a+24>>2];C[a+48>>2]=c;b=C[a+28>>2];C[a+52>>2]=b;d=C[a+8>>2]+1|0;e=d+C[a>>2]>>1;C[a+8>>2]=e;f=C[a+16>>2];c=(c+f|0)+1>>1;C[a+40>>2]=c;g=C[a+12>>2]+1|0;h=g+C[a+4>>2]>>1;C[a+12>>2]=h;i=C[a+20>>2];b=(b+i|0)+1>>1;C[a+44>>2]=b;d=(d+f>>1)+1|0;e=d+e>>1;C[a+16>>2]=e;c=c+d>>1;C[a+32>>2]=c;f=b;b=(g+i>>1)+1|0;d=f+b>>1;C[a+36>>2]=d;b=b+h>>1;C[a+20>>2]=b;C[a+24>>2]=(c+e|0)+1>>1;C[a+28>>2]=(b+d|0)+1>>1}function Gu(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!C[a>>2]){return 65536}l=b&16384;b=65536;while(1){a:{i=b;g=j<<2;h=C[g+c>>2];b:{if(!h){break b}b=0;f=C[g+C[a+4>>2]>>2];if(!f|(f|0)<0&(h|0)>0|(h|0)<0&(f|0)>0){break a}if(!l){b=f>>31;b=Te(i,(b^f)-b|0);break b}k=C[d+g>>2];if((k|0)>(f|0)){break a}g=C[e+g>>2];if((g|0)<(f|0)){break a}if((f|0)<(h|0)){b=of(i,f-k|0,h-k|0);break b}b=of(i,g-f|0,g-h|0)}j=j+1|0;if(j>>>0>2]){continue}}break}return b}function sJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{c=D[a+11|0]+7>>>3|0;e=C[a+4>>2];if(c>>>0>=e>>>0){break a}d=0-c|0;a=b+c|0;b=(c^-1)+e|0;f=e-c&3;if(f){while(1){A[a|0]=D[a+d|0]+D[a|0];c=c+1|0;a=a+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}if(b>>>0<3){break a}while(1){A[a|0]=D[a+d|0]+D[a|0];A[a+1|0]=D[(a+1|0)+d|0]+D[a+1|0];A[a+2|0]=D[(a+2|0)+d|0]+D[a+2|0];A[a+3|0]=D[(a+3|0)+d|0]+D[a+3|0];a=a+4|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}}function Mz(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;b=C[a+12>>2];C[f>>2]=0;C[e>>2]=0;g=b;h=C[b+76>>2];b=C[b+72>>2];h=Fe[C[b+204>>2]](g,h,c,d,e,f,C[b+68>>2])|0;if(h){c=C[a+12>>2];a:{if(c){b=C[e>>2];g=C[c+20>>2];d=C[a+20>>2];if((g|0)!=(d|0)){b=nT(mT(d,d>>31,b,b>>31),Ee,g,g>>31)}C[e>>2]=b;b=C[f>>2];c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31);break a}b=C[f>>2]}C[f>>2]=b}return h|0}function Ve(a,b,c,d,e,f){var g=0;if((b|c|d)<0){C[f>>2]=6;return e}a:{b:{c:{if(!(d?b:0)){if(!e){break c}Fe[C[a+8>>2]](a,e);break c}g=10;if((2147483647/(b>>>0)|0)<(d|0)){break a}if(!c){e=0;g=I(b,d);if((g|0)<=0){g=g?6:0;break b}e=Fe[C[a+4>>2]](a,g)|0;if(!e){C[f>>2]=64;return 0}p(e,0,g);g=0;break b}a=Fe[C[a+12>>2]](a,I(b,c),I(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;p(I(b,c)+e|0,0,I(d-c|0,b))}C[f>>2]=g;return e}function Rz(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;b=C[a+12>>2];C[e>>2]=0;C[d>>2]=0;f=b;g=C[b+76>>2];b=C[b+72>>2];f=Fe[C[b+184>>2]](f,g,c,d,e,C[b+48>>2])|0;if(f){c=C[a+12>>2];a:{if(c){b=C[d>>2];g=C[a+20>>2];h=C[c+20>>2];if((g|0)!=(h|0)){b=nT(mT(g,g>>31,b,b>>31),Ee,h,h>>31)}C[d>>2]=b;b=C[e>>2];c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31);break a}b=C[e>>2]}C[e>>2]=b}return f|0}function Qz(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;b=C[a+12>>2];C[e>>2]=0;C[d>>2]=0;f=b;g=C[b+76>>2];b=C[b+72>>2];f=Fe[C[b+188>>2]](f,g,c,d,e,C[b+52>>2])|0;if(f){c=C[a+12>>2];a:{if(c){b=C[d>>2];g=C[a+20>>2];h=C[c+20>>2];if((g|0)!=(h|0)){b=nT(mT(g,g>>31,b,b>>31),Ee,h,h>>31)}C[d>>2]=b;b=C[e>>2];c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31);break a}b=C[e>>2]}C[e>>2]=b}return f|0}function Ol(a){var b=0,c=0,d=0,e=0;d=Ce-16|0;Ce=d;b=C[94508];a:{if((b&C[94509])!=-1){break a}if(!D[422376]){A[422376]=1}b=4;C[94508]=4;C[94509]=0;C[d+12>>2]=0;if(!C[d+12>>2]){break a}b=16;C[94508]=16;C[94509]=2}e=a;a=((((b-((a>>>0)%(b>>>0)|0)>>>0)%(b>>>0)|0)+b|0)+a|0)+4|0;b:{if(e>>>0>a>>>0){break b}a=Fe[C[94503]](a>>>0<=1?1:a)|0;if(a){C[94507]=C[94507]+1}if(!a){break b}c=a+4|0;c=(b-((c>>>0)%(b>>>0)|0)|0)+c|0;C[c-4>>2]=a}Ce=d+16|0;return c}function gt(a,b,c){var d=0,e=0,f=0,g=0;d=Ce+-64|0;Ce=d;a:{if((b|0)==-1){break a}e=1617;b:{switch(c|0){case 0:e=1618;break;case 1:break b;default:break a}}C[d+8>>2]=e;c:{if((b|0)!=5){break c}f=Dh();if((c|0)==1){C[a+28>>2]=f;if(!C[C[a>>2]+120>>2]){break c}break a}g=C[a>>2];if(((C[a+28>>2]-f|0)+250|0)>0){C[g+120>>2]=1;break a}C[g+120>>2]=0}if((qf(e,-1)|0)!=1){break a}a=C[C[a>>2]>>2];A[d+21|0]=c;A[d+20|0]=b;C[d+16>>2]=a;Df(d+8|0)}Ce=d- -64|0}function ft(a,b){var c=0,d=0,e=0;c=Ce+-64|0;Ce=c;d=C[b+20>>2];a:{if(C[b+16>>2]==2){if((qf(1616,-1)|0)!=1){break a}C[c+8>>2]=1616;a=C[C[a>>2]>>2];B[c+24>>1]=0;A[c+20|0]=d;C[c+16>>2]=a;Df(c+8|0);break a}if((d|0)==-1){break a}C[c+8>>2]=1618;if((d|0)==5){e=Dh();b=C[a>>2];if(((C[a+28>>2]-e|0)+250|0)>0){C[b+120>>2]=1;break a}C[b+120>>2]=0}if((qf(1618,-1)|0)!=1){break a}a=C[C[a>>2]>>2];A[c+21|0]=0;A[c+20|0]=d;C[c+16>>2]=a;Df(c+8|0)}Ce=c- -64|0}function Vt(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=D[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=C[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=I(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=C[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=D[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return af(a)+a|0}return a}function hp(a,b,c,d){var e=0,f=0,g=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}A[c|0]=0;f=16;a:{if(C[a+16>>2]<=(b|0)){break a}if(!(D[a+9|0]&2)){return 6}f=6;b:{c:{g=C[a+128>>2];e=C[g+36>>2];switch(e+2|0){case 0:break a;case 2:break c;default:break b}}e=C[a+96>>2];f=C[C[e>>2]+32>>2];d:{if(!f){e=0;break d}e=Fe[f|0](e,4764)|0;g=C[a+128>>2]}C[g+36>>2]=e?e:-2}if(!e){return 6}f=6;e=C[e>>2];if(!e){break a}f=Fe[e|0](a,b,c,d)|0}return f}function OF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+36>>2]/2|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){h=C[a+16>>2]+(b+e|0)|0;i=C[a+48>>2];j=C[a+56>>2];b=C[a>>2];d=C[a+20>>2];k=(e|0)<=0;l=c<<1;while(1){f=f-1|0;a=0;c=0;if(!k){while(1){if(!(c&7)){a=D[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(j|0)){B[d>>1]=E[(g<<1)+i>>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+l|0;if(f){continue}break}}}function MF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+36>>2]/4|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){h=C[a+16>>2]+(b+e|0)|0;i=C[a+48>>2];j=C[a+56>>2];b=C[a>>2];d=C[a+20>>2];k=(e|0)<=0;l=c<<2;while(1){f=f-1|0;a=0;c=0;if(!k){while(1){if(!(c&7)){a=D[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(j|0)){C[d>>2]=C[(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+l|0;if(f){continue}break}}}function pB(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ce+-64|0;Ce=c;d=C[a+1080>>2];a:{if(!d){a=Qe(19845,0);break a}if((b|0)<0){a=Qe(19918,0);break a}d=Fe[C[d+100>>2]](C[d+8>>2],b)|0;a=C[a+1080>>2];if((d|0)==1){C[a+16>>2]=b;a=0;break a}b=34979;a=Fe[C[a+128>>2]]()|0;d=a-12288|0;if(d>>>0<=14){b=C[(d<<2)+148500>>2]}if(!D[b|0]){C[c+16>>2]=a;b=c+32|0;rf(b,32,1768,c+16|0)}C[c+8>>2]=b;C[c+4>>2]=13617;C[c>>2]=13581;a=Qe(32680,c)}Ce=c- -64|0;return a|0}function sp(a){a=a|0;var b=0,c=0;if(a){c=C[a+100>>2];tw(C[a+140>>2]);b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+144>>2]=0;b=C[a+132>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+136>>2]=0;b=C[a+20>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+20>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+32>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+32>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0}}function Dt(a,b,c,d,e){var f=0,g=0,h=0;h=-1;g=d&2147483647;f=(g|0)==2147418112;a:{if(f&!c?a|b:f&(c|0)!=0|g>>>0>2147418112){break a}f=e&2147483647;if(((f|0)==2147418112&0|f>>>0>2147418112)&(f|0)!=2147418112){break a}if(!(a|c|(f|g|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(((c|0)!=0|(d|0)!=(e|0))&(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function Ys(a,b,c){var d=0,e=0;d=Ce+-64|0;Ce=d;e=1539;a:{b:{switch(c|0){case 0:e=1540;break;case 1:break b;default:break a}}C[d+8>>2]=e;if(D[C[a+64>>2]+b|0]==(c|0)|C[a+60>>2]<=(b|0)){break a}c:{if(D[419092]){break c}e=C[105668];if(e){e=C[e+380>>2]!=0}else{e=0}if(!e|(c|0)!=1){break c}if(!C[104774]){break a}}A[C[a+64>>2]+b|0]=c;if((qf(C[d+8>>2],-1)|0)!=1){break a}a=C[a>>2];A[d+21|0]=c;A[d+20|0]=b;C[d+16>>2]=a;Df(d+8|0)}Ce=d- -64|0}function BB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=C[105604];a:{if((b|0)<=0){break a}e=b&7;b:{if(!e){c=b;break b}c=b;while(1){c=c-1|0;d=C[d+1320>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(b>>>0<8){break a}while(1){b=c-9|0;d=C[C[C[C[C[C[C[C[d+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];c=c-8|0;if(b>>>0<4294967294){continue}break}}b=C[d+4>>2];lf(a,0,16);if(af(b)>>>0<=16){c=af(b)}else{c=16}gf(a,b,c)}function yS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=Ce-16|0;Ce=f;d=D[a+2|0]|D[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=205712}d=0;c=C[b+100>>2];c=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)!=-1){d=205712;e=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((e<<8|e>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=C[41909];C[f+8>>2]=C[41908];C[f+12>>2]=a;d=Mp(d,b,f+8|0)}Ce=f+16|0;return d|0}function rK(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,j=0,k=0;f=C[a+492>>2];if(!f){return 6}g=C[f+32>>2];if(g){a=0;while(1){e=C[f+28>>2]+I(a,20)|0;a:{if(C[e>>2]!=(c|0)){break a}h=C[e+4>>2];if((h|0)>(b|0)){C[d>>2]=C[e+8>>2];break a}i=C[e+12>>2];if((i|0)<(b|0)){C[d>>2]=C[e+16>>2];break a}j=d,k=of(b-h|0,C[e+16>>2]-C[e+8>>2]|0,i-h|0)+C[e+8>>2]|0,C[j>>2]=k;g=C[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function Iz(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+80>>2];if(b){Fe[b|0](C[a+76>>2])}Iz(C[a+12>>2]);Uq(C[a+16>>2]);ol(C[a+72>>2]);Re(C[a+64>>2]);Re(C[a+68>>2]);Re(a)}}function gw(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=C[a>>2];if(!b){return}e=C[b+96>>2];if(!e){return}d=C[e+8>>2];f=b+108|0;c=Qi(f,a);if(!c){break a}nj(f,c);if(c){Fe[C[d+8>>2]](d,c)}b:{if(C[b+88>>2]!=(a|0)){break b}C[b+88>>2]=0;c=C[b+108>>2];if(!c){break b}C[b+88>>2]=C[c+8>>2]}b=C[a+8>>2];if(b){Fe[b|0](a)}b=C[C[e+12>>2]+60>>2];if(b){Fe[b|0](a)}b=C[a+40>>2];if(b){Fe[C[d+8>>2]](d,b)}C[a+40>>2]=0;if(a){Fe[C[d+8>>2]](d,a)}}}function dG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if((c|0)>0){g=D[e+34|0];h=D[e+30|0];i=D[e+33|0];j=D[e+29|0];k=D[e+32|0];l=D[e+28|0];m=D[d+35|0];n=D[d+34|0];o=D[d+33|0];p=D[d+32|0];while(1){e=C[b>>2];C[a>>2]=(e&C[d+12>>2])>>>p>>>l<>2])>>>m<<24|(e&C[d+16>>2])>>>o>>>j<>2])>>>n>>>h<=0){f=df(1,32);if(f){break b}}f=205712;if(!e){break a}Fe[e|0](d);return 205712}C[f+28>>2]=e;C[f+24>>2]=d;C[f+20>>2]=c;C[f+16>>2]=b;C[f+12>>2]=a;C[f>>2]=1;C[f+4>>2]=1;if(c){break a}c=kf(b);if(c){a=jf(c,a,b);if(e){Fe[e|0](d)}C[f+28>>2]=642;C[f+24>>2]=a;C[f+12>>2]=a;C[f+20>>2]=2;return f}if(e){Fe[e|0](d)}Re(f);f=205712}return f}function cP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=C[a+16>>2];if(!e){C[b>>2]=0;return 0}i=C[a+20>>2];f=C[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=C[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}C[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){C[b>>2]=0;return 0}e=0;if(c){e=C[C[a+20>>2]+(c<<4)>>2];d=c+1|0}C[b>>2]=e;return d|0}function Ag(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;i=mT(b,c,h,i);h=Ee;e=mT(d,e,f,g);i=e+i|0;d=Ee+h|0;h=e>>>0>i>>>0?d+1|0:d;j=g;e=0;k=c;d=0;c=mT(g,e,c,d);g=c+i|0;i=Ee+h|0;l=g;c=c>>>0>g>>>0?i+1|0:i;g=mT(f,0,b,0);h=Ee;i=0;d=mT(f,i,k,d);h=h+d|0;f=Ee+i|0;f=d>>>0>h>>>0?f+1|0:f;i=f+l|0;d=c;f=f>>>0>i>>>0?d+1|0:d;c=mT(b,m,j,e)+h|0;e=Ee;e=c>>>0>>0?e+1|0:e;h=e+i|0;i=f;C[a+8>>2]=h;C[a+12>>2]=e>>>0>h>>>0?i+1|0:i;C[a>>2]=g;C[a+4>>2]=c}function nS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=C[b+100>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=205712}d=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((d|0)==-1){break a}c=D[a+6|0]|D[a+7|0]<<8;if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}f=1;g=a+4|0;c=a;a=I(qT(D[a+4|0]|D[a+5|0]<<8),d);Zi(g,b,c,(a|0)<0?205712:(c+(a<<1)|0)+8|0,C[e+100>>2]+I(C[e+76>>2],20)|0);C[e+76>>2]=C[e+76>>2]+1}return f|0}function YF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+24>>2];b=(d+1|0)/-2|0;e=C[a+28>>2];if(e){h=C[a+16>>2]+(b+d|0)|0;i=C[a+48>>2];j=C[a+56>>2];k=C[a+36>>2];b=C[a>>2];c=C[a+20>>2];l=(d|0)<=0;while(1){e=e-1|0;a=0;f=0;if(!l){while(1){if(!(f&1)){a=D[b|0];b=b+1|0}g=a>>>4&15;if((g|0)!=(j|0)){C[c>>2]=C[(g<<2)+i>>2]}c=c+4|0;a=a<<4;f=f+1|0;if((f|0)!=(d|0)){continue}break}}c=c+k|0;b=b+h|0;if(e){continue}break}}}function Ps(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(a){C[a>>2]=C[105560]}if(b){C[b>>2]=C[105561]}a=0;c=C[105584];a:{if((c|0)<=0){break a}d=C[105585];b=0;if(c>>>0>=4){h=c&-4;while(1){e=b<<3;a=C[((e|24)+d|0)+4>>2]|(C[((e|16)+d|0)+4>>2]|(C[((e|8)+d|0)+4>>2]|(C[(d+e|0)+4>>2]|a)));b=b+4|0;f=f+4|0;if((f|0)!=(h|0)){continue}break}}c=c&3;if(!c){break a}while(1){a=C[((b<<3)+d|0)+4>>2]|a;b=b+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}}function pK(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;d=C[a+528>>2];if(!d){return 6}g=C[d>>2];if(g){e=C[d+4>>2];i=b>>>0>e>>>0?e:b;while(1){a=0;b=0;h=65536;if(e){while(1){b=32768;b=a>>>0>>0?C[(a<<2)+c>>2]:b;b=(b|0)>0?b:0;b=b>>>0>=65536?65536:b;h=Te(h,f>>>a&1?b:65536-b|0);a=a+1|0;b=C[d+4>>2];if(a>>>0>>0){continue}break}g=C[d>>2]}C[C[d+136>>2]+(f<<2)>>2]=h;e=b;f=f+1|0;if(g>>>0>f>>>0){continue}break}}return 0}function Ip(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;a:{if(b>>>0>32){break a}c=C[a+4>>2];d=c+b|0;g=C[(b<<2)+93312>>2];b:{f=C[a>>2];b=C[a+16>>2];if((f|0)<(b-4|0)){break b}if((f|0)>(b-(d+7>>3)|0)){break a}if(d){break b}return 0}a=C[a+12>>2];b=D[a|0]>>>c|0;c:{if((d|0)<9){break c}b=D[a+1|0]<<8-c|b;if(d>>>0<17){break c}b=D[a+2|0]<<16-c|b;if(d>>>0<25){break c}b=D[a+3|0]<<24-c|b;if(!c|d>>>0<33){break c}b=D[a+4|0]<<32-c|b}e=b&g}return e}function FA(a,b){a=a|0;b=b|0;var c=J(0),d=J(0),e=0,f=0,g=0;a:{a=C[b+164>>2];if(!a){break a}b:{if(!(D[b+49|0]&32)){c=G[a+16>>2];break b}c=J(+W());G[a+16>>2]=c}d=J(c*J(C[b+28>>2]));c:{if(J(K(d))>2];c=J(c*J(C[b+24>>2]));d:{if(J(K(c))>2]|G[a+16>>2]==J(1)){break a}aa(C[a+12>>2],+C[b+24>>2],+C[b+28>>2])|0}}function RF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=C[a+24>>2];b=(c+7|0)/-8|0;d=C[a+28>>2];if(d){h=C[a+16>>2]+(b+c|0)|0;i=C[a+48>>2];j=C[a+36>>2];b=C[a>>2];a=C[a+20>>2];k=(c|0)<=0;while(1){d=d-1|0;e=0;f=0;if(!k){while(1){if(!(e&7)){f=D[b|0];b=b+1|0}g=(f>>>5&4)+i|0;A[a|0]=D[g|0];A[a+1|0]=D[g+1|0];A[a+2|0]=D[g+2|0];a=a+3|0;f=f<<1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}a=a+j|0;b=b+h|0;if(d){continue}break}}}function lt(a,b){var c=0,d=0,e=0,f=0;a:{if(!C[94491]){break a}e=C[94494];if(e){while(1){c=e;e=C[c+72>>2];d=C[c>>2];if(!(d>>>0>>0|b>>>0>>0)){d=e;f=C[c+68>>2];if(f){C[f+72>>2]=e;d=C[c+72>>2]}if(d){C[d+68>>2]=f}if(C[94494]==(c|0)){C[94494]=d}if(C[94495]==(c|0)){C[94495]=C[c+68>>2]}if(C[c>>2]==32512){C[104485]=C[104485]-1}C[c+72>>2]=C[94496];C[94496]=c;C[94492]=C[94492]-1}if(e){continue}break}}if(!C[94490]){break a}}}function fA(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;b=0;if(C[C[a+72>>2]+156>>2]!=C[95551]){a:{if(!c){break a}while(1){h=C[d>>2];C[f>>2]=0;i=h;h=C[a+72>>2];if(!(Fe[C[h+156>>2]](a,C[a+76>>2],i,f,C[h+20>>2])|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return(b>>>0>>0?b:c)|0}a=C[a+12>>2];b=C[a+72>>2];return Fe[C[b+160>>2]](a,C[a+76>>2],c,d,e,f,g,C[b+24>>2])|0}function NF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+24>>2];b=(d+7|0)/-8|0;e=C[a+28>>2];if(e){h=C[a+16>>2]+(b+d|0)|0;i=C[a+48>>2];j=C[a+56>>2];k=C[a+36>>2];b=C[a>>2];c=C[a+20>>2];l=(d|0)<=0;while(1){e=e-1|0;a=0;f=0;if(!l){while(1){if(!(f&7)){a=D[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(j|0)){gf(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+k|0;b=b+h|0;if(e){continue}break}}}function TP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=C[b+8>>2];f=C[a>>2];d=C[f+140>>2];g=C[f+32>>2];e=C[b+16>>2];if(e){c=(I(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(C[b>>2]){case 0:c=23;if((e|0)==C[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(C[d+44>>2]+C[d+40>>2]|0)){break a}}c=0;ei(f,0);C[a+24>>2]=C[d+40>>2]<<6;C[a+28>>2]=0-(C[d+44>>2]<<6);C[a+36>>2]=E[d+4>>1]<<6}return c|0}function ps(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;a:{if(!a){C[e>>2]=5712;f=Qe(19745,e);break a}if(!(!b|C[b>>2]<=1<>2];if((c|0)==(b|0)){break a}b:{if(!c){break b}d=C[c+12>>2];C[c+12>>2]=d-1;if((d|0)>1){break b}d=C[c+4>>2];if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}}C[a+4>>2]=b;if(!b){break a}C[b+12>>2]=C[b+12>>2]+1}Ce=e+16|0;return f}function Ut(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=D[b|0];break b}if(b&3){while(1){c=D[b|0];A[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=C[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){C[d>>2]=c;c=C[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}A[d|0]=c;if(!(c&255)){break a}while(1){c=D[b+1|0];A[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function wr(a){var b=0,c=0,d=0,e=0;if(a){c=Ce-16|0;Ce=c;C[c>>2]=a;e=Ce-16|0;Ce=e;C[e+12>>2]=c;b=Ce-16|0;Ce=b;C[b+12>>2]=c;a=C[105775];C[105775]=0;if(a){while(1){d=C[a>>2];Re(a);a=d;if(a){continue}break}}C[b+8>>2]=C[b+12>>2];a=C[105821];if((a|0)!=-1){Re(a)}a=Wj(0,0,11346,C[b+8>>2]);d=(a>>>0<=4?4:a)+1|0;a=kf(d);if(a){Wj(a,d,11346,C[b+12>>2])}else{a=-1}C[105821]=a;A[423222]=D[423222]|2;Ce=b+16|0;Ce=e+16|0;Ce=c+16|0}}function Vk(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=D[a|0];if(!c){break a}d=281616;f=10;b=((c|0)==45)+a|0;a=D[b|0];b:{if((a|0)!=48){break b}if((D[b+1|0]|32)!=120){a=48;break b}a=D[b+2|0];d=281584;f=16;b=b+2|0}g=D[((a&248)>>>3|0)+d|0];a=a<<24>>24;if(g>>>(a&7)&1){while(1){e=D[a+281648|0]+I(e,f)|0;a=A[b+1|0];b=b+1|0;if(D[((a&248)>>>3|0)+d|0]>>>(a&7)&1){continue}break}}b=(c|0)==45?0-e|0:e}return b<<16>>16}function Tz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ce-16|0;Ce=b;C[b+12>>2]=c;d=C[a+72>>2];e=C[d+176>>2];a:{if((e|0)!=C[95556]){Fe[e|0](a,C[a+76>>2],1,b+12|0,0,b+8|0,0,C[d+40>>2]);c=C[b+8>>2];break a}d=C[a+12>>2];e=C[d+72>>2];c=Fe[C[e+168>>2]](d,C[d+76>>2],c,C[e+32>>2])|0;d=C[a+12>>2];if(!d){break a}d=C[d+20>>2];a=C[a+20>>2];if((d|0)==(a|0)){break a}c=nT(mT(a,a>>31,c,c>>31),Ee,d,d>>31)}Ce=b+16|0;return c|0}function Sz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ce-16|0;Ce=b;C[b+12>>2]=c;d=C[a+72>>2];e=C[d+180>>2];a:{if((e|0)!=C[95557]){Fe[e|0](a,C[a+76>>2],1,b+12|0,0,b+8|0,0,C[d+44>>2]);c=C[b+8>>2];break a}d=C[a+12>>2];e=C[d+72>>2];c=Fe[C[e+172>>2]](d,C[d+76>>2],c,C[e+36>>2])|0;d=C[a+12>>2];if(!d){break a}d=C[d+24>>2];a=C[a+24>>2];if((d|0)==(a|0)){break a}c=nT(mT(a,a>>31,c,c>>31),Ee,d,d>>31)}Ce=b+16|0;return c|0}function yK(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;C[d>>2]=0;C[d+4>>2]=0;e=C[a+492>>2];if(e){a=C[e+36>>2];e=(a+(C[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=C[b>>2]<<16|C[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;C[d>>2]=C[a+8>>2];h=C[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}}C[d+4>>2]=h}return 0}function vJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=C[b+8>>2];f=C[a>>2];g=C[f+32>>2];e=C[f+132>>2];d=C[b+16>>2];if(d){c=(I(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(C[b>>2]){case 0:c=23;if((d|0)==C[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=E[e+96>>1]){break a}}c=0;ei(f,0);b=E[e+80>>1];C[a+24>>2]=b<<6;C[a+28>>2]=b-E[e+96>>1]<<6;C[a+36>>2]=E[e+102>>1]<<6}return c|0}function lP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[b+8>>2];d=C[a>>2];f=C[d+32>>2];e=C[b+16>>2];if(e){c=(I(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(C[b>>2]){case 0:c=23;if((e|0)==C[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(C[d+208>>2]+C[d+204>>2]|0)){break a}}c=0;ei(d,0);C[a+24>>2]=C[d+204>>2]<<6;C[a+28>>2]=0-(C[d+208>>2]<<6);C[a+36>>2]=B[d+236>>1]<<6}return c|0}function pw(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=D[a|0];if(!c){break a}d=281616;f=10;b=((c|0)==45)+a|0;a=D[b|0];b:{if((a|0)!=48){break b}if((D[b+1|0]|32)!=120){a=48;break b}a=D[b+2|0];d=281584;f=16;b=b+2|0}g=D[((a&248)>>>3|0)+d|0];a=a<<24>>24;if(g>>>(a&7)&1){while(1){e=D[a+281648|0]+I(e,f)|0;a=A[b+1|0];b=b+1|0;if(D[((a&248)>>>3|0)+d|0]>>>(a&7)&1){continue}break}}b=(c|0)==45?0-e|0:e}return b}function IO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;ug(a,C[a+8>>2]);g=C[a>>2];C[f+12>>2]=g;h=C[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(D[g|0]!=60){break a}C[f+12>>2]=g+1;j=d,k=Bv(f+12|0,h,b,c),C[j>>2]=k;b=C[f+12>>2];if(b>>>0>2]&D[b|0]!=62){break a}b=b+1|0;break b}j=d,k=Bv(f+12|0,h,b,c),C[j>>2]=k;b=C[f+12>>2]}C[a>>2]=b;i=0}Ce=f+16|0;return i|0}function jB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ce+-64|0;Ce=c;e=C[a+1080>>2];if(!(Fe[C[e+96>>2]](C[e+8>>2],C[C[b+164>>2]>>2])|0)){d=34979;a=Fe[C[C[a+1080>>2]+128>>2]]()|0;b=a-12288|0;if(b>>>0<=14){d=C[(b<<2)+148500>>2]}if(!D[d|0]){C[c+16>>2]=a;d=c+32|0;rf(d,32,1768,c+16|0)}C[c+8>>2]=d;C[c+4>>2]=6664;C[c>>2]=1978;d=Qe(32680,c)}Ce=c- -64|0;a:{if(!(da()|0)){break a}if(!cg(22433,1)){break a}ba(0)}return d|0}function eu(a,b,c,d){var e=0,f=0;a:{if(d>>>0>=3){C[105773]=28;break a}b:{if((d|0)!=1){break b}e=C[a+8>>2];if(!e){break b}f=b;e=e-C[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(e>>>0>f>>>0)|0)|0}if(C[a+20>>2]!=C[a+28>>2]){Fe[C[a+36>>2]](a,0,0)|0;if(!C[a+20>>2]){break a}}C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;Fe[C[a+40>>2]](a,b,c,d)|0;if((Ee|0)<0){break a}C[a+4>>2]=0;C[a+8>>2]=0;C[a>>2]=C[a>>2]&-17;return 0}return-1}function qn(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;c=C[105668];a:{if(!c){Qe(19865,0);break a}d=C[c+372>>2];if(!((d|0)>(a|0)&(a|0)>=0)){C[e>>2]=d-1;Qe(21451,e);break a}if(!b){break a}d=C[c+376>>2];f=C[c+16>>2];if(f){if(!(Fe[f|0](c,d+I(a,72)|0,b)|0)){break a}}b:{if(!a){C[b+4>>2]=0;c=0;break b}qn(a-1|0,b);c=C[b>>2]+C[b+8>>2]|0}C[b>>2]=c;a=d+I(a,72)|0;C[b+8>>2]=C[a+40>>2];C[b+12>>2]=C[a+44>>2]}Ce=e+16|0}function ji(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0;a:{if(!(!k|(!e|!f))){l=I(e,k);if((l|0)==(j|0)){Fe[C[a+156>>2]](b,0,c,d,e,f,g,h,i);return}k=I(f,l);k=Fe[C[94503]](k>>>0<=1?1:k)|0;if(k){C[94507]=C[94507]+1}if(!k){break a}m=k;if((f|0)>0){while(1){gf(k,i,l);i=i+j|0;k=k+l|0;n=n+1|0;if((n|0)!=(f|0)){continue}break}}Fe[C[a+156>>2]](b,0,c,d,e,f,g,h,m);if(m){Fe[C[94506]](m);C[94507]=C[94507]-1}}return}_e(0)}function er(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}Jm(C[a+12>>2]);Re(C[a+92>>2]);Re(C[a+100>>2]);b=C[a+164>>2];if(b){Fe[b|0](C[a+160>>2])}Re(a)}}function Cw(a,b){var c=0,d=0;c=Ce-16|0;b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);A[c+11|0]=b;A[c+12|0]=b>>>8;A[c+13|0]=b>>>16;A[c+14|0]=b>>>24;a:{if(!a){break a}b=C[a+664>>2];if(!b){break a}d=C[a+668>>2];a=d+I(b,5)|0;while(1){b=a-5|0;if((D[c+11|0]|D[c+12|0]<<8|(D[c+13|0]<<16|D[c+14|0]<<24))==(D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24))){return D[a-1|0]}a=b;if(b>>>0>d>>>0){continue}break}}return 0}function ph(a){var b=0,c=0,d=0;b=Ce-16|0;Ce=b;o(+a);d=j(1)|0;j(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=Kk(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(ku(a,b)&3){case 0:c=Kk(H[b>>3],H[b+8>>3]);break a;case 1:c=-Jk(H[b>>3],H[b+8>>3],1);break a;case 2:c=-Kk(H[b>>3],H[b+8>>3]);break a;default:break b}}c=Jk(H[b>>3],H[b+8>>3],1)}a=c;Ce=b+16|0;return a}function uM(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=E[a+152>>1];if(!g){break b}f=C[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(C[f>>2]==(b|0)){g=C[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=C[f+8>>2]+c|0;break c}g=C[C[a+104>>2]+4>>2]}if(!e){f=g;break a}f=C[e>>2];if(f){break a}C[e>>2]=g;h=0}return h|0}return _v(C[a+104>>2],c,d,f)|0}function Dj(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!D[b|0]){break a}if(hh(b,32)){break a}c=Ug(b);if(c){if(Zf(c)&1){break a}}e=af(b);a=C[a+1080>>2];c=Fe[C[a+104>>2]](C[a+8>>2],12373)|0;if(!c|!D[c|0]){break a}a=c;b:while(1){a=Wh(a,b);if(!a){break a}if(!((a|0)!=(c|0)&D[a-1|0]!=32|(D[a+e|0]|32)!=32)){f=1;break a}a=a+e|0;while(1){d=D[a|0];if(!d){return d}if((d|0)==32){continue b}a=a+1|0;continue}}}return f}function CA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=Ce-32|0;Ce=a;c=C[b+164>>2];a:{if(!c){break a}if(d){e=C[b+48>>2];f=e&4097;d=(f|0)==4097;C[a+8>>2]=d?1:2;b:{if(!d){C[a+12>>2]=0;break b}if(e&8192){C[a+12>>2]=2;break b}C[a+12>>2]=1}C[a+24>>2]=c;C[a+20>>2]=636;C[a+16>>2]=0;C[c+28>>2]=d;C[c+24>>2]=f;if(nb(C[c+12>>2],1,a+8|0)>>>0<2){break a}C[b+48>>2]=C[b+48>>2]&-4098;break a}mb()|0}Ce=a+32|0}function nw(a,b,c,d,e,f,g,h){var i=0;i=e&-5;a:{if(!((e|0)==3&(d|0)>=9)){b=(d|0)!=4&d-3>>>0<4294967294&(d|0)!=8&(d|0)!=16|((i|0)==1|e>>>0>6)|(F[a+724>>2]>>0|(c|0)<=0)|((b|0)<=0|(b+7&-8)>>>0>536870904|F[a+720>>2]>>0);if(!((e|0)==4|(i|0)==2)|(d|0)>7){break a}}b=1}b=g?1:(f|0)>1?1:b;b:{c:{if(h){if(!(C[a+680>>2]&4)|(h|0)!=64|(C[a+204>>2]&4096|(i|0)!=2)){break c}}if(!b){break b}}Af(a,22041);s()}}function dg(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+3>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=C[a+8>>2];b=d+12|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+4}Ce=d+16|0;return f}function WA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;if(!C[c+32>>2]){f=C[b+52>>2];g=C[b+56>>2];U(C[c+12>>2],d+8|0,d|0)|0;b=C[c+4>>2];e=+C[b+28>>2]/H[d>>3]*+(g|0);a:{if(K(e)<2147483648){g=~~e;break a}g=-2147483648}e=+C[b+24>>2]/H[d+8>>3]*+(f|0);b:{if(K(e)<2147483648){f=~~e;break b}f=-2147483648}Ql(b,0,0,f,g)}Rl((a|0)==33?C[c+4>>2]:0);a=qf(512,-1);Ce=d+16|0;return(a|0)==1|0}function oi(a){var b=0,c=0;b=Ce-16|0;Ce=b;o(+a);c=j(1)|0;j(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=Jk(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(ku(a,b)&3){case 0:a=Jk(H[b>>3],H[b+8>>3],1);break a;case 1:a=Kk(H[b>>3],H[b+8>>3]);break a;case 2:a=-Jk(H[b>>3],H[b+8>>3],1);break a;default:break b}}a=-Kk(H[b>>3],H[b+8>>3])}Ce=b+16|0;return a}function Ng(a,b,c){var d=0,e=0,f=0;e=c;if(c){c=D[a|0];a:{if(!c){break a}while(1){b:{d=D[b|0];if(!d){break b}e=e-1|0;if(!e){break b}c:{if((c|0)==(d|0)){break c}d=c-65>>>0<26?c|32:c;c=D[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break c}f=D[a|0];break a}b=b+1|0;c=D[a+1|0];a=a+1|0;if(c){continue}break a}break}f=c}a=f&255;c=a-65>>>0<26?a|32:a;a=D[b|0];a=c-(a-65>>>0<26?a|32:a)|0}else{a=0}return a}function Hl(a,b,c){var d=0,e=0;e=Ce-32|0;Ce=e;a:{if(!(C[a>>2]==422389?a:0)){C[e>>2]=9675;Qe(19745,e);a=-1;break a}d=C[a+412>>2];if(d){if(C[d>>2]!=422390){C[e+16>>2]=16603;Qe(19745,e+16|0);a=-1;break a}if(b){C[b>>2]=C[d+12>>2]}a=0;if(!c){break a}C[c>>2]=C[d+16>>2];break a}d=C[a+8>>2];if(d){a=Fe[d|0](a,b,c)|0;break a}a=C[a+204>>2];if(a){Sh(a,b,c);a=0;break a}a=Qe(15912,0)}Ce=e+32|0;return a}function ot(a,b){var c=0,d=0,e=0;c=Fe[C[94503]](20)|0;if(c){C[94507]=C[94507]+1}if(!c){_e(0);return c}lf(c,0,20);a=a?a:1024;C[c+12>>2]=a;d=b-1|0;b=d+a|0;if(b>>>0>=d>>>0){b=(b>>>0)/(a>>>0)|0;d=b>>>0<=1?1:b;b=a+12|0;while(1){a=Fe[C[94503]](b>>>0<=1?1:b)|0;if(a){C[94507]=C[94507]+1}if(a){C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=C[c+8>>2];C[c+8>>2]=a}e=e+1|0;if((d|0)!=(e|0)){continue}break}}return c}function oM(a,b){a=a|0;b=b|0;var c=0,d=0;c=Fe[C[a+508>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+364|0;c=Ef(b,352288,d);if(c){break a}C[a+460>>2]=0;C[a+452>>2]=0;C[a+456>>2]=0;C[a+444>>2]=0;C[a+448>>2]=0;B[a+464>>1]=65535;if(!E[a+364>>1]){return 0}c=Ef(b,352464,d);if(c){break a}if(E[d>>1]<2){return 0}c=Ef(b,352480,d);if(c){break a}c=0;if(E[d>>1]<5){break a}c=Ef(b,352512,d)}return c|0}function ko(a,b,c){var d=0,e=0,f=0;d=C[c+16>>2];a:{if(!d){if(oo(c)){break a}d=C[c+16>>2]}f=C[c+20>>2];if(d-f>>>0>>0){return Fe[C[c+36>>2]](c,a,b)|0}b:{if(C[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(D[e+a|0]!=10){continue}break}e=Fe[C[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}a=a+d|0;b=b-d|0;f=C[c+20>>2]}jf(f,a,b);C[c+20>>2]=C[c+20>>2]+b;e=b+d|0}return e}function di(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|!b)){d=B[a+2>>1];a:{if(!d){d=0;a=0;break a}c=C[a+4>>2];e=C[c+4>>2];f=C[c>>2];if((d|0)<2){d=e;a=f;break a}i=(d<<3)+c|0;h=c+8|0;a=f;d=e;while(1){g=C[c+12>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;c=C[c+8>>2];a=(a|0)<(c|0)?c:a;f=(c|0)<(f|0)?c:f;c=h;h=c+8|0;if(i>>>0>h>>>0){continue}break}}C[b+8>>2]=a;C[b>>2]=f;C[b+12>>2]=d;C[b+4>>2]=e}}function MO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;C[a+8>>2]=c;C[a+4>>2]=b;C[a+12>>2]=0;C[a+16>>2]=d;C[a>>2]=b;b=C[71975];C[a+20>>2]=C[71974];C[a+24>>2]=b;b=C[71977];C[a+28>>2]=C[71976];C[a+32>>2]=b;b=C[71979];C[a+36>>2]=C[71978];C[a+40>>2]=b;b=C[71981];C[a+44>>2]=C[71980];C[a+48>>2]=b;b=C[71983];C[a+52>>2]=C[71982];C[a+56>>2]=b;b=C[71985];C[a+60>>2]=C[71984];C[a+64>>2]=b;C[a+68>>2]=C[71986]}function Tn(a,b){var c=0,d=0,e=0,f=0;a:{c=C[94494];if(c){while(1){f=C[c+72>>2];if(!(Fe[a|0](b,c)|0)){d=C[c+68>>2];if(d){C[d+72>>2]=C[c+72>>2]}e=C[c+72>>2];if(e){C[e+68>>2]=d}if(C[94494]==(c|0)){C[94494]=e}if(C[94495]==(c|0)){C[94495]=C[c+68>>2]}if(C[c>>2]==32512){C[104485]=C[104485]-1}C[c+72>>2]=C[94496];C[94496]=c;C[94492]=C[94492]-1}c=f;if(c){continue}break}}if(!C[94490]){break a}}}function vL(a){a=a|0;var b=0,c=0,d=0;b=C[a+200>>2];d=b+10|0;if(d>>>0<=F[a+204>>2]){c=D[b|0]|D[b+1|0]<<8;B[a+32>>1]=c<<8|c>>>8;c=D[b+2|0]|D[b+3|0]<<8;C[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=D[b+4|0]|D[b+5|0]<<8;C[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=D[b+6|0]|D[b+7|0]<<8;C[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=D[b+8|0]|D[b+9|0]<<8;C[a+200>>2]=d;C[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function lJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=C[a+4>>2];if(!d){break a}if(d>>>0>=4){e=d&-4;a=0;while(1){A[b|0]=D[c|0]+D[b|0];A[b+1|0]=D[c+1|0]+D[b+1|0];A[b+2|0]=D[c+2|0]+D[b+2|0];A[b+3|0]=D[c+3|0]+D[b+3|0];b=b+4|0;c=c+4|0;a=a+4|0;if((e|0)!=(a|0)){continue}break}}d=d&3;if(!d){break a}a=0;while(1){A[b|0]=D[c|0]+D[b|0];b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function tt(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;c=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);a:{if((c|0)>=9){C[e>>2]=9;a=Qe(21233,e);break a}d=c+1|0;A[a+80|0]=d;A[a+81|0]=d>>>8;A[a+82|0]=d>>>16;A[a+83|0]=d>>>24;f=c<<2;c=a+40|0;a=f+c|0;A[a|0]=b;A[a+1|0]=b>>>8;A[a+2|0]=b>>>16;A[a+3|0]=b>>>24;a=c+(d<<2)|0;A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0;a=0}Ce=e+16|0;return a}function _P(a){a=a|0;var b=0,c=0;if(F[a+404>>2]>=a+32>>>0){c=C[a+412>>2];b=Mh(a+16|0,0);C[c+84>>2]=(b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0;b=Mh(a+20|0,0);C[c+88>>2]=(b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0;b=Mh(a+24|0,0);C[c+92>>2]=(b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0;a=Mh(a+28|0,0);C[c+96>>2]=(a|0)>=0?a+32768&-65536:0-(32768-a&-65536)|0;a=0}else{a=161}return a|0}function XA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;e=E[b+40>>1];a:{if(e>>>0>2){break a}f=1026;if((a|0)==5){f=1025;if(!(C[c+32>>2]|!C[105569])){za(C[c+12>>2],0)|0}g=1}Ln(C[c+4>>2],0,g,e+1&255);U(C[c+12>>2],d+8|0,d|0)|0;a=C[b+52>>2];if((a|0)<0|H[d+8>>3]<=+(a|0)){break a}a=C[b+56>>2];if((a|0)<0|H[d>>3]<=+(a|0)){break a}h=(qf(f,-1)|0)==1}Ce=d+16|0;return h|0}function PO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;c=C[a>>2];a:{if(!c){break a}f=C[a+32>>2];b=hf(f,C[a+4>>2],d+12|0);C[a>>2]=b;if(C[d+12>>2]){break a}t(b,c,C[a+4>>2]);e=C[a+16>>2];if((e|0)>0){h=C[a>>2]-c|0;b=C[a+24>>2];e=b+(e<<2)|0;while(1){g=C[b>>2];if(g){C[b>>2]=h+g}b=b+4|0;if(e>>>0>b>>>0){continue}break}}C[a+8>>2]=C[a+4>>2];if(c){Fe[C[f+8>>2]](f,c)}}Ce=d+16|0}function BO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=C[a+12>>2];a:{if((B[d+22>>1]+B[d+58>>1]|0)+1>>>0>F[d+4>>2]){d=Qg(d,1,0);if(d){break a}}d=C[a+20>>2];if(D[a+68|0]){f=C[d+8>>2];e=B[d+2>>1];a=C[d+4>>2]+(e<<3)|0;C[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;C[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;A[f+e|0]=1}B[d+2>>1]=E[d+2>>1]+1;d=0}return d|0}function Yq(a,b,c){var d=0,e=0;d=205712;a:{if(!a|!c){break a}e=C[a+16>>2];if(e>>>0<=b>>>0){break a}if(C[a+4>>2]){C[a+4>>2]=0}d=e-b|0;c=c>>>0>>0?c:d;d=C[a>>2];if(d){C[a>>2]=d+1}if(!c){Ue(a);return 205712}b:{if((c|0)>=0){e=C[a+12>>2];d=df(1,32);if(d){break b}}Ue(a);return 205712}C[d+28>>2]=643;C[d+24>>2]=a;C[d+20>>2]=1;C[d+16>>2]=c;C[d+12>>2]=b+e;C[d>>2]=1;C[d+4>>2]=1}return d}function tn(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ce-32|0;Ce=c;f=C[105657];a:{b:{if((f|0)<=0){break b}g=C[105658];while(1){e=C[(d<<2)+g>>2];if(C[e>>2]!=(a|0)|C[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(C[C[105668]+12>>2]){C[c+16>>2]=a;Qe(15190,c+16|0);a=C[105668];Fe[C[a+12>>2]](a);break c}C[c>>2]=a;Qe(4582,c)}e=0}Ce=c+32|0;return e}function pu(a,b){var c=0;c=C[a+744>>2];if(c){nf(a,c);C[a+744>>2]=0}a:{b:{c=C[a+732>>2];if(!(c+1>>>0>=2&b>>>0>c>>>0)){C[a+748>>2]=b;A[a+740|0]=0;c=C[a+372>>2];A[a+739|0]=c;A[a+752|0]=C[a+204>>2];A[a+738|0]=c>>>8;A[a+737|0]=c>>>16;A[a+736|0]=c>>>24;if(!b){C[a+744>>2]=0;break a}c=bh(a,b);C[a+744>>2]=c;if(c){break b}}ef(a,b);ff(a,6134);return 0}Xf(a,c,b);$f(a,c,b)}ef(a,0);return 1}function NI(){var a=0,b=0,c=0;a=Ce+-64|0;Ce=a;b=am(18890,1,417816,417808);a:{if((b|0)==-1){break a}if((qf(4352,-1)|0)!=1){break a}c=a+8|0;lf(c,0,56);A[a+20|0]=0;C[a+16>>2]=b;C[a+8>>2]=4352;Df(c)}b:{if(!C[104444]){break b}b=am(18984,2,417820,417812);if((b|0)==-1){break b}if((qf(4352,-1)|0)!=1){break b}c=a+8|0;lf(c,0,56);A[a+20|0]=1;C[a+16>>2]=b;C[a+8>>2]=4352;Df(c)}Ce=a- -64|0}function qw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;C[b>>2]=0;a:{if(!a){break a}d=C[a+8>>2];if(!d){break a}e=C[C[a>>2]>>2];while(1){g=C[C[a>>2]+(f<<2)>>2];h=D[g|0];if(h){while(1){A[c+e|0]=h;c=c+1|0;h=D[g+1|0];g=g+1|0;if(h){continue}break}d=C[a+8>>2]}f=f+1|0;if(f>>>0>>0){A[c+e|0]=32;d=C[a+8>>2];c=c+1|0}if(d>>>0>f>>>0){continue}break}if((e|0)!=281568){A[c+e|0]=0}C[b>>2]=c}return e}function gJ(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,k=0,l=0,m=0;e=C[a+4>>2];a=D[c|0];d=a+D[b|0]|0;A[b|0]=d;if((e|0)>=2){l=b+e|0;b=b+1|0;while(1){h=d&255;d=h-a|0;f=d>>31;e=D[c+1|0];g=e-a|0;i=g>>31;j=d+g|0;k=j>>31;m=a;a=(d^f)-f|0;d=(g^i)-i|0;f=a>>>0>>0;d=D[b|0]+((k^j)-k>>>0<(f?a:d)>>>0?m:f?e:h)|0;A[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(l>>>0>b>>>0){continue}break}}}function tu(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;C[e>>2]=b;Tg(34463,e);a:{c=Xh(b,3689);b:{if(c){Fe[C[c+4>>2]](c,0,0,2)|0;b=Fe[C[c+4>>2]](c,0,0,1)|0;Fe[C[c+4>>2]](c,0,0,0)|0;d=kf(b+1|0);if(!d){break b}f=Fe[C[c+8>>2]](c,d,1,b)|0;if(f>>>0>b>>>0){break a}A[d+f|0]=0;Fe[C[c+16>>2]](c)|0;break b}b=1;d=df(1,1)}C[a+4>>2]=b;C[a>>2]=d;Ce=e+16|0;return}La(15869,15053,43,17399);s()}function Uk(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 0}b=D[a|0];a:{if(!b){break a}c=281616;e=10;b:{if((b|0)!=48){break b}if((D[a+1|0]|32)!=120){b=48;break b}b=D[a+2|0];c=281584;e=16;a=a+2|0}d=a;a=b<<24>>24;f=b&248;b=0;if(!(D[(f>>>3|0)+c|0]>>>(a&7)&1)){break a}while(1){b=D[a+281648|0]+I(b,e)|0;a=A[d+1|0];d=d+1|0;if(D[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}return b}function BR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:C[c>>2]=6081;C[d>>2]=6078;return 1;case 1:C[c>>2]=6081;C[d>>2]=6079;return 1;case 2:C[c>>2]=6081;C[d>>2]=6080;return 1;case 6:C[c>>2]=6081;C[d>>2]=6084;return 1;case 7:C[c>>2]=6081;C[d>>2]=6085;return 1;default:break a}}a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;return(Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0)!=0|0}function xm(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=D[a|0];if(!b){break a}c=281616;e=10;b:{if((b|0)!=48){break b}if((D[a+1|0]|32)!=120){b=48;break b}b=D[a+2|0];c=281584;e=16;a=a+2|0}d=a;a=b<<24>>24;if(!(D[((b&248)>>>3|0)+c|0]>>>(a&7)&1)){break a}while(1){f=D[a+281648|0]+I(e,f)|0;a=A[d+1|0];d=d+1|0;if(D[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}return f&65535}function AB(a){a=a|0;var b=0,c=0,d=0,e=0;c=C[105604];a:{if((a|0)<=0){break a}d=a&7;b:{if(!d){b=a;break b}b=a;while(1){b=b-1|0;c=C[c+1320>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(a>>>0<8){break a}while(1){a=b-9|0;c=C[C[C[C[C[C[C[C[c+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];b=b-8|0;if(a>>>0<4294967294){continue}break}}return C[c+12>>2]}function nt(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=C[a>>2];if(!d){break b}g=C[d+4>>2];e=C[d>>2]-g|0;e=c>>>0>>0?c:e;gf(f,(d+g|0)+12|0,e);C[d+4>>2]=e+C[d+4>>2];C[a+16>>2]=C[a+16>>2]-e;c=c-e|0;if(C[d+4>>2]==C[d>>2]){C[a>>2]=C[d+8>>2];C[d+8>>2]=C[a+8>>2];C[a+8>>2]=d}f=e+f|0;if(c){continue}break}}if(C[a>>2]){break a}}C[a+4>>2]=0}return f-b|0}function KC(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=C[b+80>>2];e=C[a+548>>2];h=Rh();g=C[e>>2];a:{if((h|0)!=(g|0)){C[e+468>>2]=0;if((sh(C[a+204>>2],g)|0)<0){break a}}a=C[a+548>>2];if(!C[a+4>>2]){break a}while(1){if(Fe[C[a+100>>2]]()|0){continue}break}}Fe[C[e+20>>2]](C[f+4>>2],C[f>>2]);C[e+412>>2]=b;if(c){C[c>>2]=1065353216}if(d){C[d>>2]=1065353216}return 0}function CB(a){a=a|0;var b=0,c=0,d=0,e=0;c=C[105604];a:{if((a|0)<=0){break a}d=a&7;b:{if(!d){b=a;break b}b=a;while(1){b=b-1|0;c=C[c+1320>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(a>>>0<8){break a}while(1){a=b-9|0;c=C[C[C[C[C[C[C[C[c+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];b=b-8|0;if(a>>>0<4294967294){continue}break}}return C[c+4>>2]}function cx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=a+c|0;g=f>>31;h=b+d|0;i=h>>31;e=c;c=c>>31;c=(e^c)-c|0;e=d;d=d>>31;d=(e^d)-d|0;e=a;a=a>>31;a=(e^a)-a|0;e=b;b=b>>31;b=(e^b)-b|0;c=(I(c>>>0>>0?c:d,3)>>>3|0)+(c>>>0>d>>>0?c:d)+((I(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b))|0;a=(g^f)-g|0;b=(i^h)-i|0;a=(I(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;return(c-a|0)<(a>>>4|0)}function ZK(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;d=B[a+294>>1];e=I(d,b>>16);b=I(d,b&65535);d=e<<16;f=b+d|0;a=B[a+296>>1];g=I(a,c&65535);c=I(a,c>>16);h=c<<16;a=g+h|0;i=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>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function YK(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;d=B[a+290>>1];e=I(d,b>>16);b=I(d,b&65535);d=e<<16;f=b+d|0;a=B[a+292>>1];g=I(a,c&65535);c=I(a,c>>16);h=c<<16;a=g+h|0;i=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>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function SQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=C[b+4>>2];C[a+2988>>2]=b;c=C[b+28>>2];C[a+4>>2]=C[b+44>>2];C[a+8>>2]=C[b+48>>2];C[a+12>>2]=C[b+1616>>2];C[a+16>>2]=C[b+1620>>2];d=C[b+24>>2];c=!(A[e+12|0]&1)&(d|0)!=1?c:c|1;C[a+2980>>2]=D[C[C[b+36>>2]+212>>2]+20|0]?c:c|8;c=a;a=(d&-2)==2;b=a|2;e=(d|0)==4?b:a;a=(d|0)==2;b=a?b:e;b=(d|0)==1?b:b|4;C[c+2984>>2]=a?b|8:b;return 0}function os(a,b,c){var d=0,e=0,f=0,g=0;g=1;e=1;d=C[a>>2];a:{if((d|0)<=0){break a}f=C[a+4>>2];if(D[f+3|0]==255){a=0;while(1){a=a+1|0;if((d|0)==(a|0)){break a}if(D[((a<<2)+f|0)+3|0]==255){continue}break}if((a|0)>=(d|0)){break a}}if(!D[f+3|0]){a=0;while(1){a=a+1|0;if((d|0)==(a|0)){e=0;break a}if(!D[((a<<2)+f|0)+3|0]){continue}break}e=(a|0)<(d|0)}g=!e}C[b>>2]=g;C[c>>2]=e}function hB(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=Ce-32|0;Ce=a;f=C[b+164>>2];Nf(C[f+8>>2]);Ij(374740996,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0);Sh(b,a+28|0,a+24|0);b=hi(0,C[a+28>>2],C[a+24>>2],C[a+20>>2],C[a+16>>2],C[a+12>>2],C[a+8>>2],C[a+4>>2]);a:{if(!b){g=-1;break a}C[f+8>>2]=b;C[c>>2]=374740996;C[d>>2]=C[b+20>>2];C[e>>2]=C[b+16>>2]}Ce=a+32|0;return g|0}function bO(a){a=a|0;var b=0;b=C[a+8>>2];p(a+16|0,0,84);C[a+136>>2]=1005;C[a+132>>2]=1006;C[a+128>>2]=1007;C[a+124>>2]=1008;C[a+120>>2]=1009;C[a+116>>2]=1010;C[a+108>>2]=1011;C[a+104>>2]=1012;C[a+100>>2]=1013;C[a+12>>2]=b;C[a+164>>2]=1005;C[a+160>>2]=1014;C[a+156>>2]=1015;C[a+152>>2]=1016;C[a+148>>2]=1009;C[a+144>>2]=1017;b=a+12|0;C[a+112>>2]=b;C[a+140>>2]=b;return 0}function BA(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=C[b+4>>2];d=C[a+4>>2];if((c|0)!=(d|0)){break a}c=C[b+8>>2];d=C[a+8>>2];if((c|0)!=(d|0)){break a}d=C[a>>2];c=d>>>8&255;e=C[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}b=C[b+12>>2];a=C[a+12>>2];return((a|0)!=(b|0)?b-a|0:0)|0}return c-d|0}function lq(a,b){var c=0,d=0,e=0,f=0;d=Ce-32|0;Ce=d;c=-129;a=C[a+28>>2];a:{if(!a|C[a+8>>2]<=0){break a}f=C[b+4>>2];e=d+12|0;c=e;b=C[b>>2];C[c+12>>2]=b;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=f;C[c+8>>2]=b;c=-135;if(Ye(e,1)){break a}c=-136;b=Ye(d+12|0,tg(C[a+8>>2]-1|0));if((b|0)==-1){break a}b=C[(a+(b<<2)|0)+32>>2];if(!b){break a}c=C[a+(C[b>>2]<<2)>>2]}Ce=d+32|0;return c}function jQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[a+656>>2];e=Ti(C[a+96>>2],6758);a:{if(!e|!C[c+12>>2]){break a}while(1){a=E[C[c+1160>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=F[c+1312>>2]){break b}a=C[C[c+1316>>2]+(a<<2)>>2];break c}a=Fe[C[e+20>>2]](a)|0}if(!a){break b}if(!Se(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function _n(a){var b=0,c=0,d=0,e=0,f=0;if(!(!a|a-1&a)){return D[(a?L(a)^31:-1)+417664|0]?a:0}a=a?a:62001;c=L(a);b=32-c|0;e=b&1;a:{if((c|0)==31){b=0;c=0;break a}f=b&-2;b=0;c=0;while(1){b=!(a&1)|!D[c+417664|0]?b:1<>>2|0;c=c+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(!D[c+417664|0]|(!e|!(a&1)))){b=1<>2]==C[a+92>>2]){b=C[a+84>>2];if((b|0)==C[a+76>>2]){break a}}if(!$e(a,1,1)){return}c=C[a+92>>2]+I(C[a+76>>2],20)|0;d=C[c+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=C[a+76>>2]+1}function VL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;f=C[a+16>>2];d=E[a+8>>1];c=d>>>1|0;b=Ve(b,1,0,c+1|0,0,e+12|0);Ce=e+16|0;if(C[e+12>>2]){b=g}else{a=0;a:{if(d>>>0<2){break a}g=c>>>0<=1?1:c;while(1){c=D[f+1|0];d=c|D[f|0]<<8;if(!d){break a}A[a+b|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}a=g}A[a+b|0]=0}return b|0}function qo(a){var b=0,c=0,d=0,e=0;d=+Yb();b=d/1e3;a:{if(K(b)<0x8000000000000000){e=~~b>>>0;c=K(b)>=1?~~(b>0?M(O(b*2.3283064365386963e-10),4294967295):P((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break a}c=-2147483648}C[a>>2]=e;C[a+4>>2]=c;b=(d-(+(mT(e,c,1e3,0)>>>0)+ +(Ee|0)*4294967296))*1e3;b:{if(K(b)<2147483648){c=~~b;break b}c=-2147483648}C[a+8>>2]=c}function Xh(a,b){var c=0;c=Ce-16|0;Ce=c;a:{b:{if(!(!D[a|0]|(!a|!b))){if(D[b|0]){break b}}a=0;Qe(20692,0);break a}b=iu(a,b);if(!b){C[c>>2]=a;Qe(8253,c);a=0;break a}a=Fe[C[94503]](36)|0;if(a){C[94507]=C[94507]+1}if(!a){a=0;_e(0);break a}C[a+16>>2]=536;C[a+12>>2]=537;C[a+8>>2]=538;C[a+4>>2]=539;C[a>>2]=540;C[a+20>>2]=2;C[a+24>>2]=1;C[a+28>>2]=b}Ce=c+16|0;return a}function Vl(a,b,c){var d=0,e=0,f=0,g=J(0),h=0,i=0,j=J(0),k=0,l=J(0),m=0,n=J(0),o=0,p=J(0);e=+c;c=J(0);while(1){h=f<<3;d=h+a|0;g=G[d>>2];i=ph(e);j=G[d+4>>2];k=oi(e);l=G[d>>2];m=oi(e);n=G[d+4>>2];o=ph(e);p=c;d=b+h|0;c=J(J(i*+g-k*+j)-G[d>>2]);g=J(c*c);c=J(J(m*+l+o*+n)-G[d+4>>2]);c=J(p+J(R(+J(g+J(c*c)))));f=f+1|0;if((f|0)!=64){continue}break}return J(c*J(.015625))}function pO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=C[b>>2];while(1){d=d+1|0;if(d>>>0>255){C[b>>2]=0;return 0}f=Fe[C[a+20>>2]](E[C[a+16>>2]+(d<<1)>>1])|0;g=C[a+24>>2];a:{if(g){h=C[a+28>>2];c=0;while(1){e=C[(c<<2)+h>>2];if(!(!e|D[e|0]!=D[f|0])){if(!Se(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}C[b>>2]=d;return c|0}function ES(a,b){a=a|0;b=b|0;var c=0,d=0;c=D[a+2|0]|D[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=205712}c=C[b+100>>2];c=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)!=-1){d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}a=Vx(a,b)}else{a=0}return a|0}function DS(a,b){a=a|0;b=b|0;var c=0,d=0;c=D[a+2|0]|D[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=205712}c=C[b+100>>2];c=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)!=-1){d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?205712:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=205712}a=Ux(a,b)}else{a=0}return a|0}function ym(a,b){var c=0,d=0;if(!a){Qe(9497,0);return}C[a+24>>2]=(b|0)>0?b:0;$x(a);b=0;while(1){c=I(b,84)+a|0;a:{if(!C[c+52>>2]){break a}C[c+52>>2]=0;C[c+56>>2]=0;d=C[c+84>>2];if(d){if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}C[c+84>>2]=0}d=C[c+60>>2];if(!d){break a}if(d){Fe[C[94506]](d);C[94507]=C[94507]-1}C[c+60>>2]=0}b=b+1|0;if((b|0)!=256){continue}break}}function ug(a,b){var c=0,d=0;c=C[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(D[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;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=D[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}C[a>>2]=c}function oL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;a=C[C[a+156>>2]>>2];d=Ve(C[a>>2],8,0,C[a+4>>2]<<1,0,c+12|0);C[a+40>>2]=d;e=C[c+12>>2];if(!e){A[a+16|0]=1;f=(C[a+4>>2]<<3)+d|0;C[a+44>>2]=f;b=B[a+22>>1];C[a- -64>>2]=b+C[a+28>>2];C[a+68>>2]=C[a+32>>2]+(B[a+20>>1]<<1);b=b<<3;C[a+60>>2]=b+C[a+24>>2];C[a+80>>2]=b+f;C[a+76>>2]=b+d}Ce=c+16|0;return e|0}function fg(a,b,c){var d=0;d=Ce+-64|0;Ce=d;if(C[c>>2]){Ci(a,b);Ci(a,28813);a:{b:{switch(C[c>>2]-1|0){case 0:C[d>>2]=D[c+4|0];rf(d+48|0,16,14628,d);break a;case 1:C[d+16>>2]=D[c+4|0];rf(d+48|0,16,14632,d+16|0);break a;case 2:break b;default:break a}}b=D[c+4|0];C[d+36>>2]=b&15;C[d+32>>2]=b>>>4;rf(d+48|0,16,14636,d+32|0)}Ci(a,d+48|0);Ci(a,32172)}Ce=d- -64|0}function cO(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 j=0;if(!(!a|!b)){if(c){C[c>>2]=C[b>>2]}if(d){C[d>>2]=C[b+4>>2]}if(e){C[e>>2]=D[b+24|0]}if(f){C[f>>2]=D[b+25|0]}if(h){C[h>>2]=D[b+26|0]}if(i){C[i>>2]=D[b+27|0]}c=D[b+28|0];if(g){C[g>>2]=c}nw(a,C[b>>2],C[b+4>>2],D[b+24|0],D[b+25|0],c,D[b+26|0],D[b+27|0]);j=1}return j|0}function Ue(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+28>>2];if(b){Fe[b|0](C[a+24>>2])}Re(a)}}function qP(a){a=a|0;var b=0,c=0,d=0,e=0;b=C[a+12>>2];if(b){e=C[a+28>>2];C[b+104>>2]=0;C[b+48>>2]=0;C[b+36>>2]=0;C[b+40>>2]=0;A[b+44|0]=0;C[b- -64>>2]=9;C[b+12>>2]=0;C[b+16>>2]=0;d=C[b+180>>2];c=C[b+100>>2];if((c|0)!=(b+112|0)){if(c){Fe[C[d+8>>2]](d,c)}C[b+100>>2]=0}c=C[b+88>>2];if(c){Fe[C[d+8>>2]](d,c)}p(b,0,184);if(b){Fe[C[e+8>>2]](e,b)}C[a+12>>2]=0}}function mo(a,b,c,d){var e=0,f=0,g=0,h=0;g=I(b,c);e=C[d+72>>2];C[d+72>>2]=e-1|e;e=C[d+4>>2];f=C[d+8>>2];if((e|0)==(f|0)){e=g}else{h=e;e=f-e|0;e=e>>>0>>0?e:g;jf(a,h,e);C[d+4>>2]=e+C[d+4>>2];a=a+e|0;e=g-e|0}if(e){while(1){a:{if(!no(d)){f=Fe[C[d+32>>2]](d,a,e)|0;if(f){break a}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function ch(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+3>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=C[a+8>>2];b=d+12|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}f=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+4}Ce=d+16|0;return f}function dQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!Se(b,6477)){C[c>>2]=C[a+36>>2];C[c+4>>2]=C[a+40>>2];C[c+8>>2]=C[a+44>>2];C[c+12>>2]=C[a+48>>2];C[c+16>>2]=C[a+52>>2];C[c+20>>2]=C[a+56>>2];C[c+24>>2]=C[a+60>>2];C[c+28>>2]=C[a- -64>>2];break b}if(!Se(b,17056)){C[c>>2]=C[a+28>>2];break b}d=12;if(Se(b,15272)){break a}A[c|0]=D[a+32|0]}d=0}return d|0}function CP(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=Ce-16|0;Ce=b;f=C[a>>2];a=af(c);f=hf(f,a+6|0,b+12|0);g=C[b+12>>2];if(!g){t(f,c,a);a=a+f|0;c=D[21514]|D[21515]<<8;A[a+4|0]=c;A[a+5|0]=c>>>8;c=D[21510]|D[21511]<<8|(D[21512]<<16|D[21513]<<24);A[a|0]=c;A[a+1|0]=c>>>8;A[a+2|0]=c>>>16;A[a+3|0]=c>>>24;C[d>>2]=f;C[e>>2]=0}Ce=b+16|0;return g|0}function fP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=C[a+20>>2];g=C[a+16>>2];a:{b:{if(g){h=C[b>>2]+1|0;a=g;while(1){e=a+c>>>1|0;d=C[(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=C[(c<<3)+f>>2]}i=a;a=E[((c<<3)+f|0)+4>>1]+1|0}C[b>>2]=i;return a|0}function eN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=C[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=C[a+16>>2];c=D[a+6|0]<<8|D[a+7|0];d=d>>>0>c>>>0?d:c;c=d-c|0;e=D[a+9|0]|D[a+8|0]<<8;if(c>>>0>=e>>>0){break a}a=(a+(c<<1)|0)+10|0;while(1){f=D[a+1|0]|D[a|0]<<8;if(f){C[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}}C[b>>2]=0;return 0}function uh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!c|!d){break a}f=a;a=C[b+1284>>2];g=pg(f,a<<2);if((a|0)<=0){break a}k=65536-e|0;b=0;while(1){f=b<<2;h=f+g|0;i=c+f|0;f=d+f|0;j=(I(C[i>>2]&32767,k)+I(C[f>>2]&32767,e)|0)+32768>>16;C[h>>2]=j;if(!(!(D[i+1|0]&128)|!(D[f+1|0]&128))){C[h>>2]=j|32768}b=b+1|0;if((a|0)!=(b|0)){continue}break}}return g}function fs(a){var b=0,c=0;b=C[a+76>>2];a=C[a+36>>2];a:{if((b|0)!=C[a+448>>2]){break a}b=C[a+436>>2];if(!b){break a}c=Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}return c}function Ti(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}c=C[C[a>>2]+32>>2];if(c){c=Fe[c|0](a,b)|0;if(c){break a}}c=C[a+4>>2];e=C[c+16>>2];if((e|0)<=0){break b}d=c+20|0;e=d+(e<<2)|0;while(1){c=C[d>>2];c:{if((c|0)==(a|0)){break c}f=C[C[c>>2]+32>>2];if(!f){break c}c=Fe[f|0](c,b)|0;if(c){break a}}d=d+4|0;if(e>>>0>d>>>0){continue}break}}c=0}return c}function zP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-48|0;Ce=b;f=C[a>>2];c=Qk(f,c,34232);a:{if(!c){a=64;break a}C[b+28>>2]=c;C[b+16>>2]=4;b:{a=Tk(a,b+16|0,b+12|0);if(a){break b}a=C[b+12>>2];if(!a){pj(0,0);a=81;break b}a=Rk(a,333319,e);pj(C[b+12>>2],0);if(a){break b}C[d>>2]=c;a=0;break a}if(c){Fe[C[f+8>>2]](f,c)}}Ce=b+48|0;return a|0}function yP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-48|0;Ce=b;f=C[a>>2];c=Qk(f,c,29936);a:{if(!c){a=64;break a}C[b+28>>2]=c;C[b+16>>2]=4;b:{a=Tk(a,b+16|0,b+12|0);if(a){break b}a=C[b+12>>2];if(!a){pj(0,0);a=81;break b}a=Rk(a,333319,e);pj(C[b+12>>2],0);if(a){break b}C[d>>2]=c;a=0;break a}if(c){Fe[C[f+8>>2]](f,c)}}Ce=b+48|0;return a|0}function KP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=C[a+20>>2];h=C[a+16>>2];a:{b:{if(h){d=C[b>>2]+1|0;a=h;while(1){f=a+c>>>1|0;e=C[(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=C[(c<<3)+g>>2]}i=E[((c<<3)+g|0)+4>>1]+1&65535}C[b>>2]=d;return i|0}function Gv(a,b,c,d){var e=0,f=0,g=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;a:{if(!b){break a}b:{e=b-1|0;if(D[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){if(A[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break c}break}e=0;break a}e=hf(c,b+1|0,f+12|0);g=C[f+12>>2];if(g){break a}t(e,a,b);A[b+e|0]=0;g=C[f+12>>2]}C[d>>2]=e;Ce=f+16|0;return g}function EP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-48|0;Ce=b;f=C[a>>2];c=Qk(f,c,22218);a:{if(!c){a=64;break a}C[b+28>>2]=c;C[b+16>>2]=4;b:{a=Tk(a,b+16|0,b+12|0);if(a){break b}a=C[b+12>>2];if(!a){pj(0,0);a=81;break b}a=Rk(a,333319,e);pj(C[b+12>>2],0);if(a){break b}C[d>>2]=c;a=0;break a}if(c){Fe[C[f+8>>2]](f,c)}}Ce=b+48|0;return a|0}function cJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=C[a+84>>2];f=C[e+4>>2];g=C[a+28>>2];d=C[a+20>>2]-g|0;d=d>>>0>f>>>0?f:d;if(d){jf(C[e>>2],g,d);C[e>>2]=d+C[e>>2];f=C[e+4>>2]-d|0;C[e+4>>2]=f}d=C[e>>2];f=c>>>0>f>>>0?f:c;if(f){jf(d,b,f);d=f+C[e>>2]|0;C[e>>2]=d;C[e+4>>2]=C[e+4>>2]-f}A[d|0]=0;b=C[a+44>>2];C[a+28>>2]=b;C[a+20>>2]=b;return c|0}function Po(a,b,c,d,e){var f=0,g=0,h=0;if(!((c|0)<0|(d|0)<=0|(!e|!(c?b:1)))){a:{if((c^2147483647)>>>0>>0){break a}f=c+d|0;mT(e,0,f,0);if(Ee){break a}f=I(e,f);if(!f){break a}b:{c:{if(!a){break c}h=C[a+692>>2];if(!h){break c}a=Fe[h|0](a,f)|0;break b}a=kf(f)}if(!a){break a}if(c){g=I(c,e);jf(a,b,g)}We(a+g|0,0,I(d,e));g=a}return g}Af(a,21535);s()}function FJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[a>>2];d=C[a+44>>2];if(d){e=C[d>>2];if(!(!e|!C[e+96>>2])){C[e+88>>2]=d}}d=ew(C[c+500>>2],b);if(!d){b=C[C[c+500>>2]+88>>2];c=C[b+16>>2];C[a+12>>2]=C[b+12>>2];C[a+16>>2]=c;C[a+36>>2]=C[b+36>>2];c=C[b+32>>2];C[a+28>>2]=C[b+28>>2];C[a+32>>2]=c;c=C[b+24>>2];C[a+20>>2]=C[b+20>>2];C[a+24>>2]=c}return d|0}function EJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[a>>2];d=C[a+44>>2];if(d){e=C[d>>2];if(!(!e|!C[e+96>>2])){C[e+88>>2]=d}}d=ip(C[c+500>>2],b);if(!d){b=C[C[c+500>>2]+88>>2];c=C[b+16>>2];C[a+12>>2]=C[b+12>>2];C[a+16>>2]=c;C[a+36>>2]=C[b+36>>2];c=C[b+32>>2];C[a+28>>2]=C[b+28>>2];C[a+32>>2]=c;c=C[b+24>>2];C[a+20>>2]=C[b+20>>2];C[a+24>>2]=c}return d|0}function nk(a,b){var c=0,d=0,e=0,f=0,g=0;d=-131;c=-1;a:{if(!C[a+4>>2]|C[a+88>>2]<2){break a}e=C[a+52>>2];if((e|0)<=(b|0)){break a}if((b|0)<0){d=0;c=0;if((e|0)<=0){break a}b=0;while(1){f=nk(a,b);c=c+Ee|0;g=d;d=d+f|0;c=g>>>0>d>>>0?c+1|0:c;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}a=C[a+68>>2]+(b<<4)|0;d=C[a+8>>2];c=C[a+12>>2]}Ee=c;return d}function _f(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+1>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=C[a+8>>2];b=d+14|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}b=D[b|0]|D[b+1|0]<<8;f=b<<8|b>>>8;break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+2}Ce=d+16|0;return f&65535}function cw(a,b){var c=0,d=0,e=0,f=0;a:{if(!(C[a+8>>2]&512)|(!a|!b)){break a}b:{c:{d=C[a+128>>2];c=C[d+36>>2];switch(c+2|0){case 0:break a;case 2:break c;default:break b}}c=C[a+96>>2];e=C[C[c>>2]+32>>2];d:{if(!e){c=0;break d}c=Fe[e|0](c,4764)|0;d=C[a+128>>2]}C[d+36>>2]=c?c:-2}if(!c){break a}c=C[c+4>>2];if(!c){break a}f=Fe[c|0](a,b)|0}return f}function fn(a,b){var c=0,d=0,e=0;b=We(b,0,112);C[b+68>>2]=0;C[b+64>>2]=a;if(C[a>>2]){c=df(1,72);C[b+104>>2]=c;C[c+4>>2]=-971228160;a=b+4|0;while(1){a:{if((d|0)==7){C[c+40>>2]=a;b=a;break a}b=df(1,20);C[((d<<2)+c|0)+12>>2]=b}C[b>>2]=0;C[b+4>>2]=0;e=kf(256);C[b+12>>2]=e;C[b+8>>2]=e;A[e|0]=0;C[b+16>>2]=256;d=d+1|0;if((d|0)!=15){continue}break}}}function qK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=C[a+528>>2];if(!a){return 6}d=C[a+4>>2];C[b>>2]=d;C[b+4>>2]=C[a>>2];if(!d){return 0}g=a+88|0;h=b+8|0;b=0;while(1){c=I(b,12);e=c+h|0;C[e>>2]=C[(a+(b<<2)|0)+8>>2];c=c+g|0;f=C[c+4>>2];C[e+4>>2]=C[f>>2];C[e+8>>2]=C[((D[c|0]<<2)+f|0)-4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function eT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=0;e=C[b+4>>2];a:{if(!e){break a}e=C[e+92>>2];if(!e){break a}a=Fe[C[C[e+12>>2]+12>>2]](e,c)|0}b:{if(!a){e=0;if(!D[b+12|0]|c>>>0>255){break b}c=c+61440|0;a=0;b=C[b+4>>2];c:{if(!b){break c}b=C[b+92>>2];if(!b){break c}a=Fe[C[C[b+12>>2]+12>>2]](b,c)|0}if(!a){break b}}C[d>>2]=a;e=1}return e|0}function eO(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;a:{if((b|0)<=0){break a}h=b&1;if((b|0)!=1){i=b&-2;b=0;while(1){d=a+e|0;f=D[d|0];A[d|0]=f^c>>>8;g=(e|1)+a|0;d=D[g|0];c=I(c+f|0,52845)+22719|0;A[g|0]=d^c>>>8;c=I(c+d|0,52845)+22719&65535;e=e+2|0;b=b+2|0;if((i|0)!=(b|0)){continue}break}}if(!h){break a}a=a+e|0;A[a|0]=D[a|0]^c>>>8}}function Hx(a,b,c,d){var e=0,f=0,g=0;a:{e=I(b,20)+a|0;f=E[e+16>>1];if(!f){break a}g=D[e+18|0];if(!(g&2)){break a}B[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Hx(a,e,c,d);b:{if((c&-2)==4){C[(I(e,20)+a|0)+12>>2]=0-C[(I(b,20)+a|0)+12>>2];break b}C[(I(e,20)+a|0)+8>>2]=0-C[(I(b,20)+a|0)+8>>2]}a=I(e,20)+a|0;B[a+16>>1]=0-f;A[a+18|0]=g}}function zz(a,b,c){var d=0,e=0,f=0;a:{b:{e=C[a+16>>2];d=C[e+100>>2];if(!d){while(1){f=C[e+48>>2];if(!f){break b}d=df(1,32);if(!d){C[e+100>>2]=205712;break b}en(d,f);if(!C[e+100>>2]){C[e+100>>2]=d;break a}Ue(C[d+20>>2]);C[d+20>>2]=0;Ue(C[d+24>>2]);Re(d);d=C[e+100>>2];if(!d){continue}break}}break a}return yq(205712,a,b,c)}return yq(d,a,b,c)}function yt(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;g=b;if((d|0)!=128){g=f-(c+15&-16)|0;Ce=g}a:{if((c|0)<=0){break a}i=(d|0)!=128;while(1){h=Fe[e|0](a,g,c,f+12|0)|0;if((h|0)<0){break a}b:{if(!i){g=g+h|0;break b}On(b,g,E[208766],h,d);b=b+h|0}c=c-h|0;if((c|0)<=0){break a}if(!C[f+12>>2]){continue}break}}Ce=f+16|0;return c}function Li(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}l(0,0);l(1,b+1023<<20);return a*+n()}function wf(a,b){var c=0,d=0,e=0;c=a;a=D[a|0];a:{if(!a){break a}while(1){d=D[b|0];if(!d){e=a;break a}b:{if((a|0)==(d|0)){break b}d=a-65>>>0<26?a|32:a;a=D[b|0];if((d|0)==((a-65>>>0<26?a|32:a)|0)){break b}e=D[c|0];break a}b=b+1|0;a=D[c+1|0];c=c+1|0;if(a){continue}break}}a=e&255;c=a-65>>>0<26?a|32:a;a=D[b|0];return c-(a-65>>>0<26?a|32:a)|0}function IN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=C[a+20>>2];a=(c+(C[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=C[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 C[f+4>>2]}function IR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=C[a+12>>2];a:{if(Fe[C[e+24>>2]](e,b,C[e+56>>2])>>>0<=31){e=C[a+12>>2];f=0;if(1<>2]](e,b,C[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){C[d>>2]=2527;return 1}a=C[a+12>>2];C[d>>2]=0;f=0;if(!b|!c){break a}f=(Fe[C[a+36>>2]](a,b,c,d,C[a+68>>2])|0)!=0}return f|0}function GO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{if(!a){break b}d=C[a+160>>2];c:{if(!d){C[a+164>>2]=0;if(c>>>0<=156){C[a+160>>2]=a;d=a;break c}d=bh(a,c);C[a+160>>2]=d;if(!d){break b}C[a+164>>2]=c;break c}e=C[a+164>>2];if(!e){e=156;if((a|0)!=(d|0)){break a}}if((c|0)!=(e|0)){break b}}C[a+156>>2]=b;f=d}return f|0}Af(a,20375);s()}function VS(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=Ce-128|0;Ce=a;f=C[b+4>>2];a:{if((d|0)<0){b=cw(f,c);break a}d=(d|0)>=127?127:d;b=dm(a,c,d);A[b+d|0]=0;b=cw(f,b)}C[e>>2]=b;b:{c:{if(!b){d:{if(!(hp(f,0,a,128)|(d|0)>=0)){if(Se(a,c)){break d}break c}if(!cf(a,c,d)){break c}}b=C[e>>2]}b=(b|0)!=0;break b}b=1}Ce=a+128|0;return b|0}function US(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=C[b+8>>2];a:{if(a){break a}while(1){e=C[b>>2];if(!e){a=205712;break a}a=df(1,48);if(!a){a=205712;C[b+8>>2]=205712;break a}kn(a,e);if(!C[b+8>>2]){C[b+8>>2]=a;break a}Ue(C[a+44>>2]);Re(a);a=C[b+8>>2];if(!a){continue}break}}b=C[a+8>>2];if(!b){return 0}return Fe[b|0](C[a+12>>2],c,d)|0}function gB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ce-16|0;Ce=a;b=C[C[b+164>>2]+8>>2];a:{if(!b){b=Qe(1893,0);break a}A[a+12|0]=105;A[a+13|0]=105;A[a+14|0]=105;A[a+15|0]=0;c=C[b+12>>2];d=C[b+8>>2];C[a+8>>2]=C[b+20>>2];C[a>>2]=d;C[a+4>>2]=c;S(388110,a+12|0,a|0)|0;b=0;if(!(da()|0)){break a}if(!cg(22433,1)){break a}ba(0)}Ce=a+16|0;return b|0}function Zg(a,b,c){var d=0,e=0;a:{d=C[104767];if(!d){break a}while(1){if(!uf(a,C[d>>2])){a=C[d+12>>2];if(!a){break a}e=d+12|0;d=0;while(1){if(!(C[a>>2]!=(b|0)|C[a+4>>2]!=(c|0))){C[(d?d+8|0:e)>>2]=C[a+8>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}return}d=a;a=C[a+8>>2];if(a){continue}break}break a}d=C[d+16>>2];if(d){continue}break}}}function it(a,b){var c=0,d=0,e=0,f=0;a:{d=C[104745];if((d|0)<=0){break a}e=C[104744];while(1){f=I(c,12)+e|0;if(!(C[f>>2]!=(a|0)|C[f+4>>2]!=(b|0))){if(D[418996]){C[(I(c,12)+e|0)+8>>2]=1;A[419e3]=1;return}a=d-1|0;C[104745]=a;if((a|0)<=(c|0)){break a}Eh(f,(I(c,12)+e|0)+12|0,I(a-c|0,12));return}c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function io(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ce-240|0;Ce=h;C[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-C[(j<<2)+e>>2]|0;if((kj(a,g,c)|0)>=0){if((kj(a,f,c)|0)>=0){break a}}l=g;g=(kj(g,f,c)|0)>=0;f=g?l:f;C[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}Yt(b,h,i);Ce=h+240|0}function ri(a){var b=0,c=0,d=0,e=0;a:{if(C[a+12>>2]>0){break a}b:{c:{b=C[a>>2];d=C[a+8>>2];d:{if(b>>>0>=d>>>0){break d}while(1){c=1;e=b+1|0;C[a>>2]=e;e:{switch(D[b|0]-9|0){case 50:break b;case 1:case 4:break c;case 17:break d;case 0:case 23:break e;default:break a}}b=e;if((d|0)!=(b|0)){continue}break}}c=3;break b}c=2}C[a+12>>2]=c}}function Io(a){var b=0,c=0;c=C[a>>2];if(c){b=C[a+28>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+28>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+16>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+16>>2]=0;b=C[a+12>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+12>>2]=0;b=C[a+20>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a>>2]=0;C[a+4>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0}}function FB(){var a=0,b=0,c=0;b=Ce-1440|0;Ce=b;C[105601]=0;a:{if((Ha()|0)==-1){a=Qe(20098,0);break a}c=Qc()|0;if((c|0)>0){while(1){if(!(Ga(a|0,b+8|0)|0)){Cr(a,b+8|0,a)}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0;if(Fa(0,0,552,2)|0){vn();a=Qe(14436,0);break a}if(!(Ea(0,0,553,2)|0)){break a}vn();a=Qe(14394,0)}Ce=b+1440|0;return a|0}function LQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=C[C[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=C[f+16>>2];if(c){b=C[C[(C[C[b+274704>>2]+4>>2]<<2)+274576>>2]+16>>2];if(b){Fe[b|0](c);c=C[f+16>>2]}if(c){Fe[C[d+8>>2]](d,c)}C[f+16>>2]=0}e=e+1|0;if((e|0)!=49){continue}break}C[a+8>>2]=0;C[a>>2]=0;C[a+4>>2]=0;if(a){Fe[C[d+8>>2]](d,a)}}}function Tw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;C[a+2988>>2]=b;d=C[b+28>>2];C[a+4>>2]=C[b+44>>2];C[a+8>>2]=C[b+48>>2];C[a+12>>2]=C[b+1616>>2];C[a+16>>2]=C[b+1620>>2];c=C[b+24>>2];C[a+2980>>2]=(D[C[C[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;C[d+2984>>2]=a?b|8:b;return 0}function Ni(a){var b=0,c=0,d=0,e=0,f=0;ri(a);a:{if(C[a+12>>2]>0){break a}b=C[a>>2];d=b-1|0;e=C[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;C[a>>2]=b;d:{switch(D[f|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}c=2;break b}c=1}C[a+12>>2]=c}return d}function bT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;b=C[b+4>>2];f=c,g=Te(B[b+70>>1],C[C[b+88>>2]+20>>2]),C[f>>2]=g;f=c,g=Te(B[b+72>>1],C[C[b+88>>2]+20>>2]),C[f+4>>2]=g;e=Te(B[b+74>>1],C[C[b+88>>2]+20>>2]);b=C[c+4>>2];d=C[c>>2];e=e+(b-d|0)|0;C[c+8>>2]=e;if(C[a+24>>2]<0){C[c+8>>2]=0-e;C[c+4>>2]=0-b;C[c>>2]=0-d}return 1}function HJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b=C[a+160>>2];if(!b){break a}c=C[b+4>>2];a=C[c+84>>2];if(!a){break a}d=C[C[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=C[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}C[(f?f+8|0:c+84|0)>>2]=C[b+8>>2];a=C[b+20>>2];if(a){Fe[a|0](b)}op(b);if(b){Fe[C[d+8>>2]](d,b)}}}function Zv(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+1>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=C[a+8>>2];b=d+14|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}f=D[b|0]|D[b+1|0]<<8;break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+2}Ce=d+16|0;return f}function ZM(a,b){a=a|0;b=b|0;var c=0;c=b;a=C[a+16>>2];b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);c=c-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);if(c>>>0<(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0){a=a+(c<<1)|0;a=D[a+20|0]<<8|D[a+21|0]}else{a=0}return a|0}function xN(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=C[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>>C[a>>2];if((c|0)<0){break a}d=C[a+104>>2];if(d>>>0<=c>>>0){break a}e=C[a+60>>2]+(b>>3)|0;a=C[a+112>>2];a=(e-I(a,c)|0)+((a|0)>0?I(a,d-1|0):0)|0;A[a|0]=D[a|0]|128>>>(b&7)}}function Cu(a,b,c){var d=0,e=0,f=0;e=Ce-16|0;Ce=e;d=bf(a,0);a:{if(d){break a}f=_f(a,e+12|0);d=C[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){ch(a,e+12|0);d=C[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=bf(a,0);if(d){break a}}d=Bf(a,c);if(d){break a}b=Hg(C[a+32>>2],b,c);xf(a);d=((b|0)!=0)<<1}Ce=e+16|0;return d}function vn(){var a=0,b=0,c=0;a=C[105604];if(a){while(1){c=C[a+1320>>2];b=C[a+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+4>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}a=c;if(a){continue}break}}C[105604]=0;C[105603]=0;C[105601]=0;C[105602]=0;Fa(0,0,0,2)|0;Ea(0,0,0,2)|0}function aR(a){a=a|0;var b=0,c=0;b=C[a>>2];if(b){a:{if((a|0)==-20){break a}b=C[b>>2];if(!b){break a}if(A[a+36|0]&1){c=C[a+24>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+24>>2]=0;c=C[a+28>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+28>>2]=0;c=C[a+32>>2];if(c){Fe[C[b+8>>2]](b,c)}}C[a+20>>2]=0;C[a+24>>2]=0;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0}}}function _x(a,b){var c=0,d=0;d=-131;a:{if(!C[a+4>>2]|C[a+88>>2]<2){break a}c=C[a+52>>2];if((c|0)<=(b|0)){break a}if((b|0)<0){d=0;if((c|0)<=0){break a}b=0;while(1){d=d+_x(a,b);b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}c=C[a+68>>2]+(b<<4)|0;d=(+F[c+8>>2]+ +C[c+12>>2]*4294967296)/+C[(C[a+72>>2]+(b<<5)|0)+8>>2]}return d}function Yt(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-256|0;Ce=f;a:{if((c|0)<2){break a}h=(c<<2)+b|0;C[h>>2]=f;if(!a){break a}while(1){e=a>>>0>=256?256:a;jf(C[h>>2],C[b>>2],e);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;jf(C[g>>2],C[(d<<2)+b>>2],e);C[g>>2]=C[g>>2]+e;if((c|0)!=(d|0)){continue}break}a=a-e|0;if(a){continue}break}}Ce=f+256|0}function fC(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=C[b+80>>2];if(D[a|0]&2){mh(a)}if(C[c+12>>2]>0){b=D[C[a+4>>2]+9|0];g=I(b,C[c+8>>2]);b=(C[a+20>>2]+I(C[a+16>>2],C[c+4>>2])|0)+I(b,C[c>>2])|0;while(1){gf(b,d,g);d=d+e|0;b=C[a+16>>2]+b|0;f=f+1|0;if((f|0)>2]){continue}break}}if(D[a|0]&2){Yg(a)}return 0}function iP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=6;e=C[a+280>>2];a:{if((e|0)<=0){break a}f=C[a+284>>2];a=0;while(1){b:{g=Se(C[I(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=(I(a,12)+f|0)-12|0;c:{if(D[a+4|0]){C[c>>2]=1;break c}C[c>>2]=2}C[c+4>>2]=C[a+8>>2];d=0}return d|0}function dT(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,j=0;a=0;a:{if(!c){break a}while(1){j=C[d>>2];h=0;i=C[b+4>>2];b:{if(!i){break b}i=C[i+92>>2];if(!i){break b}h=Fe[C[C[i+12>>2]+12>>2]](i,j)|0}C[f>>2]=h;if(!h){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function dN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>F[b+160>>2]){tf(b,8)}d=D[a+3|0]|D[a+2|0]<<8;e=F[b+160>>2]>=d+a>>>0;a=D[a+9|0]|D[a+8|0]<<8;if(!(e&(a<<1)+10>>>0<=d>>>0)){tf(b,8)}if(!(!C[b+164>>2]|!a)){while(1){if(F[b+172>>2]<=(D[c+1|0]|D[c|0]<<8)>>>0){tf(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function aK(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ce-16|0;Ce=d;c=C[a>>2];b=C[c+320>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}c=Fe[b|0](c)|0;if(!c){break a}b=C[a>>2];e=Fe[C[c>>2]](C[b+100>>2],C[b+304>>2]+I(C[b+4>>2],252)|0,d+12|0)|0;if(e){break a}C[a+40>>2]=C[d+12>>2]}Ce=d+16|0;return e|0}function Zf(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=b+1|0;c=A[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=A[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=A[a|0];b=a}if(c-48>>>0<10){while(1){d=(I(d,10)-A[b|0]|0)+48|0;a=A[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return e?d:0-d|0}function so(a,b){var c=0,d=0;c=bf(b,C[a>>2]);a:{if(c){break a}c=Ef(b,359968,a+4|0);if(c){break a}c=2;d=E[a+4>>1];if((d|256)!=768|F[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){C[a+140>>2]=0;C[a+132>>2]=0;C[a+136>>2]=0}if(A[a+72|0]&1){break a}c=bf(b,C[a>>2]);if(c){break a}c=dh(b,C[a+8>>2],a+160|0)}return c}function Su(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=C[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=C[a+12>>2];B[e>>1]=D[d|0];B[e+2>>1]=D[d+1|0];B[e+4>>1]=A[d+2|0];B[e+6>>1]=A[d+3|0];B[e+8>>1]=D[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}B[e+10>>1]=A[d+5|0];B[e+12>>1]=A[d+6|0];B[e+14>>1]=D[d+7|0];A[a+16|0]=1;C[b>>2]=c;f=0}return f}function SS(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:{b:{a=C[b+8>>2];if(!a){while(1){f=C[b>>2];if(!f){break b}a=df(1,48);if(!a){C[b+8>>2]=205712;break b}kn(a,f);if(!C[b+8>>2]){C[b+8>>2]=a;break a}Ue(C[a+44>>2]);Re(a);a=C[b+8>>2];if(!a){continue}break}}break a}return xq(205712,c,d,e)|0}return xq(a,c,d,e)|0}function KO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-16|0;Ce=b;ug(a,C[a+8>>2]);e=C[a+8>>2];d=C[a>>2];C[b+12>>2]=d;f=bi(b+12|0,e,10);c=C[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(D[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;C[b+12>>2]=d;f=bi(b+12|0,e,f);c=C[b+12>>2];if((d|0)==(c|0)){break a}}C[a>>2]=c;g=f}Ce=b+16|0;return g|0}function Ui(a,b){var c=0,d=0;if(b){jf(b+40|0,a+796|0,76);d=C[b+8>>2];c=B[b+114>>1];if((c|0)<0){c=d&-6150;C[b+8>>2]=c;d=C[b+244>>2];if(d&16){nf(a,C[b+116>>2]);nf(a,C[b+120>>2]);C[b+8>>2]=c;C[b+116>>2]=0;C[b+120>>2]=0}C[b+244>>2]=d&-17;return}a=d&-2053|(c<<1&4|c<<4&2048);if(c&1){C[b+8>>2]=a|1;return}C[b+8>>2]=a&-2}}function YS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=C[b+4>>2];if(fi(e,c,C[b+8>>2])){return 0}b=C[e+84>>2];c=C[b+32>>2];C[d>>2]=c;e=C[b+36>>2];C[d+4>>2]=e;f=C[b+24>>2];C[d+8>>2]=f;b=C[b+28>>2];C[d+12>>2]=0-b;if(C[a+20>>2]<0){C[d+8>>2]=0-f;C[d>>2]=0-c}if(C[a+24>>2]<0){C[d+12>>2]=b;C[d+4>>2]=0-e}return 1}function Vz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-16|0;Ce=b;C[b+12>>2]=c;e=C[a+72>>2];f=C[e+160>>2];a:{if((f|0)!=C[95552]){a=Fe[f|0](a,C[a+76>>2],1,b+12|0,0,d,0,C[e+24>>2])|0;break a}a=C[a+12>>2];C[d>>2]=0;e=a;f=C[a+76>>2];a=C[a+72>>2];a=Fe[C[a+156>>2]](e,f,c,d,C[a+20>>2])|0}Ce=b+16|0;return a|0}function VQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=al(a,b);a:{if(d){break a}c=C[a+24>>2];if((c|0)<=0){break a}a=C[a+28>>2];f=a+I(c,40)|0;c=C[b+4>>2];b=C[b+8>>2];while(1){C[c>>2]=C[a+16>>2];C[c+4>>2]=C[a+20>>2];e=E[a>>1];A[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 TC(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=C[c>>2];f=C[c+4>>2];a=C[b+80>>2];c=C[a+20>>2];f=C[a+16>>2]+I(c,f)|0;a=C[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}C[d>>2]=f+I(b,g);C[e>>2]=c;return 0}function yw(a){var b=0,c=0;c=C[a+392>>2];a:{if((c|0)==(a+8|0)){a=C[a+4>>2];b=0;if(!a|C[a>>2]){break a}C[a>>2]=161;return 0}b=a;a=c-8|0;C[b+392>>2]=a;b:{switch(C[a+4>>2]-1|0){case 1:return C[a>>2]<<16;case 0:a=C[a>>2];if((a|0)<0){return 0-(8192-a>>14)|0}return a- -8192>>>14|0;default:break b}}b=C[a>>2]}return b}function WL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;f=C[a+16>>2];c=b;b=E[a+8>>1];c=Ve(c,1,0,b+1|0,0,d+12|0);Ce=d+16|0;if(C[d+12>>2]){a=e}else{a=0;a:{if(!b){break a}while(1){e=A[f|0];if(!e){break a}A[a+c|0]=(e|0)<32?63:e;f=f+1|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}A[a+c|0]=0;a=c}return a|0}function Ri(a,b,c){var d=0,e=0;e=b-1|0;a:{if(D[a+424|0]==8){b:{if(e>>>0>253){break b}d=O(Hh(+(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=O(Hh(+(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 QB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=c?d:0;e=I(c,d);d=C[a+28>>2];a:{if(C[d+76>>2]<0){d=ko(b,e,d);break a}d=ko(b,e,d)}b=f;b:{if((d|0)==(e|0)){break b}b=(d>>>0)/(c>>>0)|0}c:{if(b){break c}a=C[a+28>>2];d:{if(C[a+76>>2]<0){a=C[a>>2];break d}a=C[a>>2]}if(!(a>>>5&1)){break c}_e(2)}return b|0}function iB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=0;a:{a=C[b+164>>2];if(!a){break a}if(c){e=J(G[a+16>>2]*J(C[b+24>>2]));b:{if(J(K(e))>2]=f}if(!d){break a}e=J(G[a+16>>2]*J(C[b+28>>2]));c:{if(J(K(e))>2]=a}}function Bq(a){var b=0,c=0,d=0,e=0;a:{d=C[a+104>>2];if(!d){break a}b=C[a+4>>2];if(!b){break a}b=C[b+28>>2];if(!b){break a}c=C[b+4>>2];b=C[b+3656>>2];C[a+56>>2]=-1;C[a+60>>2]=-1;C[a+24>>2]=-1;e=a- -64|0;C[e>>2]=-1;C[e+4>>2]=-1;C[a+32>>2]=0;c=c>>b+1;C[a+48>>2]=c;C[a+20>>2]=c>>b;C[d+128>>2]=-1;C[d+132>>2]=-1}}function lQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=C[a+656>>2];e=C[a+2956>>2];if(!e){return 11}b=E[C[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>=F[a+1312>>2]){break a}a=C[C[a+1316>>2]+(b<<2)>>2];break b}a=Fe[C[e+20>>2]](b)|0}if(!a){break a}_o(c,a,d)}return 0}function lM(a){a=a|0;var b=0,c=0,d=0,e=0;b=C[a+356>>2];if(b){c=C[C[a+96>>2]+8>>2];d=C[a+348>>2];if(d){while(1){e=C[b+16>>2];if(e){Fe[C[c+8>>2]](c,e)}B[b+8>>1]=0;C[b+16>>2]=0;b=b+20|0;d=d-1|0;if(d){continue}break}b=C[a+356>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+356>>2]=0}B[a+344>>1]=0;C[a+348>>2]=0;C[a+352>>2]=0}function zB(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+4>>2];if((c|0)>0){while(1){d=C[C[a+20>>2]+(b<<2)>>2];if(d){Re(d);c=C[a+4>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}Re(C[a+20>>2]);if(C[a+24>>2]>0){b=0;while(1){Re(C[C[a+28>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}Re(C[a+28>>2]);Re(a)}}function mu(a){var b=0,c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;b=Ce-160|0;Ce=b;C[b+60>>2]=a;C[b+20>>2]=a;C[b+24>>2]=-1;a=b+16|0;Gh(a,0,0);Ot(b,a,1,1);d=C[b>>2];e=C[b+4>>2];a=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=a;C[c>>2]=d;C[c+4>>2]=e;Ce=b+160|0;f=bo(C[c>>2],C[c+4>>2],C[c+8>>2],C[c+12>>2]);Ce=c+16|0;return f}function MN(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(!(D[b+8|0]&16)|(!a|!b)){break a}b:{if(D[b+25|0]==3){if(c){C[c>>2]=C[b+156>>2];f=16}else{f=0}if(!e){break b}C[e>>2]=b+160;break b}if(e){C[e>>2]=b+160;f=16}else{f=0}if(!c){break b}C[c>>2]=0}if(!d){break a}C[d>>2]=E[b+22>>1];f=16}return f|0}function By(a,b){var c=0;a:{b:{if((b|0)!=1196445523){c=205712;if((b|0)!=1196643650){break a}a=fh(a+136|0);break b}a=Ch(a+140|0)}a=C[a>>2];a=a?a:205712;c=F[a+16>>2]<10?205712:C[a+12>>2]}b=c;a=D[b+8|0]|D[b+9|0]<<8;if(a){a=b+((a<<8|a>>>8)&65535)|0}else{a=205712}a=D[a|0]|D[a+1|0]<<8;return(a<<8|a>>>8)&65535}function ki(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=C[a+540>>2];g=f+b|0;d=C[a+544>>2];if(g>>>0>d>>>0){h=C[a+536>>2];e=h?d<<1:2048;while(1){d=e;e=d<<1;if(d>>>0>>0){continue}break}e=Sf(h,d);if(!e){_e(0);return 0}C[a+544>>2]=d;C[a+536>>2]=e}d=f;if(c){C[c>>2]=d}C[a+540>>2]=C[a+540>>2]+b;return d+C[a+536>>2]|0}function is(a){var b=0;a:{if(C[a+432>>2]){break a}b=C[a+436>>2];if(!b){break a}Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}}function ew(a,b){var c=0,d=0;d=Ce-16|0;Ce=d;a:{if(!a){c=35;break a}c=6;if(!b|C[b+4>>2]<0|(C[b+8>>2]<0|F[b>>2]>4)){break a}c=C[C[C[a+96>>2]+12>>2]+88>>2];if(c){c=Fe[c|0](C[a+88>>2],b)|0;break a}if((C[a+8>>2]&3)==2){c=fw(a,b,d+12|0);if(c){break a}c=ip(a,C[d+12>>2]);break a}ek(a,b);c=0}Ce=d+16|0;return c}function em(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;C[e+12>>2]=b;c=Ce-160|0;Ce=c;f=c+8|0;jf(f,377088,144);C[c+52>>2]=a;C[c+28>>2]=a;d=-2-a|0;d=d>>>0>2147483647?2147483647:d;C[c+56>>2]=d;a=a+d|0;C[c+36>>2]=a;C[c+24>>2]=a;Ht(f,19782,b);if(d){a=C[c+28>>2];A[a-((a|0)==C[c+24>>2])|0]=0}Ce=c+160|0;Ce=e+16|0}function Rv(a,b,c,d,e){if((b|1|c)<0){C[e>>2]=6;return d}a:{if(!c){if(!d){break a}Fe[C[a+8>>2]](a,d);break a}if(!b){if((c|0)<=0){C[e>>2]=c?6:0;return 0}a=Fe[C[a+4>>2]](a,c)|0;if(!a){C[e>>2]=64;return 0}p(a,0,c);C[e>>2]=0;return a}a=Fe[C[a+12>>2]](a,b,c,d)|0;C[e>>2]=!a<<6;return a?a:d}C[e>>2]=0;return 0}function zR(a){a=a|0;a=a+24|0;Gf(a,785);Xe(a,1819239276,1,1);Xe(a,1667460464,1,1);Gf(a,786);Xe(a,1919969382,9,1);Gf(a,0);Xe(a,1886545254,9,1);Gf(a,0);Xe(a,1651275622,9,1);Gf(a,0);Xe(a,1886614630,9,1);Gf(a,0);Gf(a,787);Xe(a,1886545267,9,1);Xe(a,1633842803,9,1);Xe(a,1651275635,9,1);Xe(a,1886614643,9,1)}function Wj(a,b,c,d){var e=0,f=0,g=0;e=Ce-160|0;Ce=e;f=b?a:e+158|0;C[e+148>>2]=f;a=-1;g=b-1|0;C[e+152>>2]=b>>>0>=g>>>0?g:0;e=We(e,0,144);C[e+76>>2]=-1;C[e+36>>2]=1477;C[e+80>>2]=-1;C[e+44>>2]=e+159;C[e+84>>2]=e+148;a:{if((b|0)<0){C[105773]=61;break a}A[f|0]=0;a=Lt(e,c,d,1475,1476)}Ce=e+160|0;return a}function Si(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=B[a+2>>1];if((c|0)<=0){break a}a=C[a+4>>2];c=a+(c<<3)|0;while(1){if(a){d=Te(C[a>>2],C[b>>2]);e=Te(C[a+4>>2],C[b+4>>2]);f=Te(C[a>>2],C[b+8>>2]);g=Te(C[a+4>>2],C[b+12>>2]);C[a>>2]=d+e;C[a+4>>2]=f+g}a=a+8|0;if(c>>>0>a>>>0){continue}break}}}function zg(a,b){var c=0,d=0,e=0;d=C[a+52>>2];e=C[d+68>>2];c=e&-241;C[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 8:c=c|128;break b;case 0:break a;default:break c}}_e(4);d=C[a+52>>2];c=C[d+68>>2];break a}C[d+68>>2]=c}if((c|0)!=(e|0)){ag(d)}}function GR(a){a=a|0;a=a+24|0;Gf(a,775);Gf(a,776);Xe(a,1819239276,1,1);Xe(a,1667460464,1,1);Xe(a,1886545254,12,1);Xe(a,1651275622,12,1);Xe(a,1633842790,12,1);Xe(a,1886614630,12,1);Xe(a,1667654002,12,1);Gf(a,777);Xe(a,1886545267,13,1);Xe(a,1633842803,13,1);Xe(a,1651275635,13,1);Xe(a,1886614643,13,1)}function $B(a){a=a|0;var b=0,c=0;a=C[a+204>>2];if(a){b=Ce-16|0;Ce=b;c=C[105668];a:{if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=C[a+24>>2];C[b+12>>2]=C[a+28>>2];if(!C[a+116>>2]){Qe(19200,0);break a}Fe[C[c+160>>2]](c,a,b,1)|0}Ce=b+16|0}}function LC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=C[b+80>>2];b=C[a+548>>2];e=Rh();c=C[b>>2];a:{if((e|0)!=(c|0)){C[b+468>>2]=0;if((sh(C[a+204>>2],c)|0)<0){break a}}a=C[a+548>>2];if(!C[a+4>>2]){break a}while(1){if(Fe[C[a+100>>2]]()|0){continue}break}}Fe[C[b+20>>2]](C[d+4>>2],0);C[b+412>>2]=0;return 0}function CK(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ce-16|0;Ce=d;b=C[a>>2];c=C[b+548>>2];b=Dg(C[C[b+96>>2]+4>>2],9541);a:{if(!b|!c){break a}c=C[c>>2];if(!c){break a}c=Fe[c|0](b)|0;if(!c){break a}b=C[a>>2];e=Fe[C[c>>2]](C[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}C[a+40>>2]=C[d+12>>2]}Ce=d+16|0;return e|0}function wK(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=C[c+284>>2];if((e|0)<=0){break a}f=C[c+288>>2];while(1){c=C[(d<<2)+f>>2];b:{if(!c|D[c|0]!=D[a|0]){break b}if((af(c)|0)!=(b|0)){break b}if(!cf(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function rh(a,b){var c=0,d=0,e=0;c=Ce-16|0;Ce=c;A[c+15|0]=0;C[b>>2]=0;d=C[a+8>>2];a:{b:{e=C[a+20>>2];c:{if(e){if((Fe[e|0](a,d,c+15|0,1)|0)!=1){break b}d=C[a+8>>2];b=c+15|0;break c}if(F[a+4>>2]<=d>>>0){break b}b=C[a>>2]+d|0}b=D[b|0];C[a+8>>2]=d+1;break a}C[b>>2]=85;b=0}Ce=c+16|0;return b<<24>>24}function Mw(a,b){var c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;d=C[a>>2];C[c+12>>2]=0;f=C[a+12>>2];b=C[a+84>>2]+(C[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=Ve(d,32,f,b,C[a+52>>2],c+12|0);C[a+52>>2]=d;e=C[c+12>>2];if(e){break a}C[a+12>>2]=b;C[a+88>>2]=d+(C[a+48>>2]<<5);e=0}Ce=c+16|0;return e}function Hg(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(C[a>>2]!=C[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=D[a|0];e=D[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}return d-e|0}return 0}function Gz(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(C[a+4>>2]){C[a+24>>2]=c;C[a+20>>2]=b;e=C[a+16>>2];d=C[e+28>>2];if(!d){d=Lf(e);c=C[a+24>>2];b=C[a+20>>2]}e=c<<16;f=c>>31<<16|c>>>16;c=d>>31;g=a,h=nT(e,f,d,c),C[g+40>>2]=h;C[a+44>>2]=Ee;g=a,h=nT(b<<16,b>>31<<16|b>>>16,d,c),C[g+32>>2]=h;C[a+36>>2]=Ee}}function ih(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=L(e);Fg(d,e,0,0,0,c+81|0);e=0+C[d+8>>2]|0;c=(C[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=C[d+4>>2];b=C[d>>2]}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=e;C[a+12>>2]=f;Ce=d+16|0}function _s(a){var b=0,c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;e=-1;f=Fe[C[95341]]()|0;a:{if((f|0)<=0){break a}while(1){b=Fe[C[95341]]()|0;b:{if((b|0)<=(c|0)){C[d>>2]=b;Qe(18003,d);b=-1;break b}b=Fe[C[95348]](c)|0}if((a|0)==(b|0)){e=c;break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}Ce=d+16|0;return e}function Ws(){var a=0;a=1;a:{if((qf(1536,-1)|0)==1){break a}a=1;if((qf(1537,-1)|0)==1){break a}a=1;if((qf(1538,-1)|0)==1){break a}a=1;if((qf(1539,-1)|0)==1){break a}a=1;if((qf(1540,-1)|0)==1){break a}a=1;if((qf(1541,-1)|0)==1){break a}a=1;if((qf(1542,-1)|0)==1){break a}a=qf(1543,-1)}return a}function WK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=B[a+298>>1];if(e){e=of(d,e,C[a+564>>2]);f=C[b+16>>2]+(c<<3)|0;C[f>>2]=e+C[f>>2];e=C[b+24>>2]+c|0;A[e|0]=D[e|0]|8}e=B[a+300>>1];if(e){a=of(d,e,C[a+564>>2]);d=C[b+16>>2]+(c<<3)|0;C[d+4>>2]=a+C[d+4>>2];a=C[b+24>>2]+c|0;A[a|0]=D[a|0]|16}}function zO(a){a=a|0;var b=0,c=0;b=C[a+20>>2];if(!b){return 3}a:{b:{if(D[a+68|0]){a=C[a+12>>2];if((B[a+20>>1]+B[a+56>>1]|0)+1>>>0>F[a+8>>2]){a=Qg(a,0,1);if(a){break a}}c=E[b>>1];a=c<<16>>16;if((a|0)<=0){break b}B[(C[b+12>>2]+(c<<1)|0)-2>>1]=E[b+2>>1]-1}a=E[b>>1]}B[b>>1]=a+1;a=0}return a|0}function iS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(D[C[a+112>>2]+36|0]&2)){break a}d=C[c+80>>2];if(!d){break a}e=C[c+92>>2];a=0;while(1){b=I(a,20)+e|0;if(D[b+12|0]&64){f=b;b=D[b+14|0];A[f+19|0]=b&16?8:b&1|8;C[c+36>>2]=C[c+36>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Kh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=C[a+20>>2];if(D[a+68|0]){g=C[e+8>>2];f=B[e+2>>1];a=C[e+4>>2]+(f<<3)|0;C[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;C[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;A[g+f|0]=d?1:2}B[e+2>>1]=E[e+2>>1]+1}function dw(a,b,c){var d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;d=0;a:{if(!a){break a}f=C[a+92>>2];d=0;if(!f){break a}d=0;if(!C[a+16>>2]){break a}C[e+12>>2]=b;while(1){g=Fe[C[C[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=F[a+16>>2]){continue}break}d=g?C[e+12>>2]:0}a=d;if(c){C[c>>2]=g}Ce=e+16|0;return a}function cn(a){var b=0,c=0,d=0;if(a){b=C[a>>2];if(b){c=C[a+8>>2];if((c|0)>0){b=0;while(1){d=C[C[a>>2]+(b<<2)>>2];if(d){Re(d);c=C[a+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}b=C[a>>2]}Re(b)}b=C[a+4>>2];if(b){Re(b)}b=C[a+12>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}}function YG(a){a=a|0;var b=0,c=0,d=0;b=Ce-16|0;Ce=b;C[a+68>>2]=1;C[a+36>>2]=238;C[a+4>>2]=239;C[a+44>>2]=240;C[a+60>>2]=1;C[a+40>>2]=240;A[b+15|0]=0;c=S(382849,b+15|0,0)|0;a:{if(!c){Qe(17716,0);break a}A[b+14|0]=0;d=(S(382996,b+14|0,0)|0)!=0}C[a+72>>2]=d;C[a+64>>2]=d;Ce=b+16|0;return c|0}function RL(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(D[a+292|0]?a+296|0:0)|0;case 2:return(E[a+364>>1]!=65535?a+364|0:0)|0;case 5:return a+468|0;case 1:return a+260|0;case 6:c=C[a+548>>2]?a+548|0:0;break;default:break a}}return c|0}function Ek(a){var b=0,c=0;if(a){b=C[a>>2];if(b){while(1){c=C[b+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=c;if(b){continue}break}}b=C[a+8>>2];if(b){while(1){c=C[b+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=c;if(b){continue}break}}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}}function Rl(a){var b=0;a:{b=C[105559];if((b|0)==(a|0)){break a}if(b){bg(b,11,0,0)}C[105559]=a;C[105568]=0;b:{if(a){bg(a,10,0,0);b=422360;if(C[105559]){break b}}b=422356}a=C[105550];b=C[b>>2];if(!(C[105569]|(!b|!C[105591]))){if(!a){break a}Fe[a|0](b)|0;return}if(!a){break a}Fe[a|0](0)|0}}function Hi(a){var b=0;if(a){b=C[a+260>>2];if(b){Fe[b|0](a)}Ek(C[a+168>>2]);b=C[a+176>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+188>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+244>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}}function jo(a){var b=0,c=0,d=0,e=0;b=Vt(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(D[d+a|0]){break a}b=C[105778];if(!b){break a}c=C[b>>2];if(!c){break a}while(1){b:{if(!cf(a,c,d)){c=C[b>>2]+d|0;if(D[c|0]==61){break b}}c=C[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function lm(a,b){var c=0,d=0;c=C[104371];if((a|0)==-1){if((c|0)>0){a=0;while(1){d=lm(a,b)+d|0;a=a+1|0;c=C[104371];if((a|0)<(c|0)){continue}break}}return(d|0)/(c|0)|0}a:{if((a|0)>=(c|0)){break a}a=C[104372]+I(a,60)|0;d=C[a+16>>2];if((b|0)<0){break a}C[a+16>>2]=(b|0)>=128?128:b}return d}function Uo(a,b,c){var d=0;d=Ce-16|0;Ce=d;a:{if(b>>>0<=255){b=Ef(a,b&4?287424:287456,c);break a}b=Ef(a,287488,d+11|0);if(b){break a}B[c>>1]=D[d+11|0]-128;B[c+2>>1]=D[d+12|0]-128;B[c+4>>1]=D[d+13|0]-128;B[c+6>>1]=D[d+14|0]-128;a=D[d+15|0];B[c+10>>1]=0;B[c+8>>1]=a-128}Ce=d+16|0;return b}function wN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=C[a+16>>2];C[a+32>>2]=b;c=C[a+20>>2];C[a+36>>2]=c;d=C[a+8>>2];e=(d+C[a>>2]|0)/2|0;C[a+8>>2]=e;b=(b+d|0)/2|0;C[a+24>>2]=b;d=C[a+12>>2];f=(d+C[a+4>>2]|0)/2|0;C[a+12>>2]=f;c=(c+d|0)/2|0;C[a+28>>2]=c;C[a+16>>2]=(b+e|0)/2;C[a+20>>2]=(c+f|0)/2}function qx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=C[a+12>>2];a:{if(Fe[C[e+24>>2]](e,b,C[e+56>>2])>>>0<=31){e=C[a+12>>2];f=0;if(1<>2]](e,b,C[e+56>>2])&7168){break a}}a=C[a+12>>2];C[d>>2]=0;f=0;if(!b|!c){break a}f=(Fe[C[a+36>>2]](a,b,c,d,C[a+68>>2])|0)!=0}return f|0}function WC(a,b){a=a|0;b=b|0;a=C[a+548>>2];C[a+408>>2]=1;if(!b){Fe[C[a+184>>2]](36160,C[a+232>>2]);return 0}b=C[b+80>>2];Fe[C[a+184>>2]](36160,C[C[b+40>>2]+8>>2]);Fe[C[a+188>>2]](36160,36064,C[b+4>>2],C[b>>2],0);if((Fe[C[a+192>>2]](36160)|0)!=36053){a=Qe(20596,0)}else{a=0}return a|0}function Ql(a,b,c,d,e){var f=0,g=0,h=0;a:{if(!(c|!a)){f=C[105584];b:{if((f|0)<=0){break b}if(f>>>0>=8){h=f&-8;while(1){g=g+8|0;if((h|0)!=(g|0)){continue}break}}f=f&7;if(!f){break b}g=0;while(1){g=g+1|0;if((f|0)!=(g|0)){continue}break}}if(!Mn(a,d,e,(b|0)!=-1)){break a}}Fi(a,b,c,d,e)}}function qO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Fe[C[a+20>>2]](E[C[a+16>>2]+(b<<1)>>1])|0;d=C[a+24>>2];if(!d){break a}e=C[a+28>>2];while(1){a=C[(c<<2)+e>>2];if(!(!a|D[a|0]!=D[b|0])){if(!Se(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function cg(a,b){var c=0,d=0;d=Ug(a);c=C[104767];a:{b:{c:{if(!c){break c}while(1){if(!uf(a,C[c>>2])){if(C[c+8>>2]!=2?d:0){break b}d=C[c+4>>2];break c}c=C[c+16>>2];if(c){continue}break}}if(!d){break a}}a=D[d|0];if(!a){break a}if((a|0)!=48){b=1;if(wf(d,16581)){break a}}b=0}return b}function wx(a){a=a|0;var b=0,c=0,d=0,e=0;b=C[a+32>>2];if(!(!b|!C[b>>2])){while(1){e=(c<<2)+b|0;a:{if(!C[e+28>>2]){break a}d=I(c,24)+b|0;Re(C[d+68>>2]);C[d+68>>2]=0;C[d+60>>2]=0;C[d+64>>2]=0;if(!D[b+4|0]){break a}Re(C[e+28>>2])}c=c+1|0;if(c>>>0>2]){continue}break}Re(b)}Re(a)}function AM(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=E[a+152>>1];a:{if(!e){break a}a=C[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(C[a>>2]==(b|0)){g=C[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){C[d>>2]=g}f=bf(c,C[a+8>>2])}return f|0}function rB(a){a=a|0;var b=0,c=0;b=C[a+1080>>2];if(b){c=C[b+8>>2];if(c){Fe[C[b+60>>2]](c)|0;b=C[a+1080>>2];C[b+8>>2]=0}c=C[b+4>>2];if(c){wr(c);b=C[a+1080>>2];C[b+4>>2]=0}c=C[b>>2];if(c){wr(c);b=C[a+1080>>2];C[b>>2]=0}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[a+1080>>2]=0}}function Kw(a,b){var c=0,d=0,e=0;c=Ce-16|0;Ce=c;d=C[C[a+20>>2]+28>>2];e=Dm(a+20|0,b,c+12|0,c+8|0);C[c+4>>2]=e;b=0;a:{if(e){break a}b=d;d=C[c+8>>2];b=hf(b,d+1|0,c+4|0);if(!C[c+4>>2]){t(b,C[c+12>>2],d);A[b+d|0]=0}if(C[a+48>>2]){break a}Wf(C[a+20>>2],c+12|0)}Ce=c+16|0;return b}function xJ(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+100>>2];b=C[a+132>>2];if(b){if(C[b+160>>2]){Wf(C[a+104>>2],b+160|0)}d=C[b+168>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+168>>2]=0;if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0}b=C[a+32>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+28>>2]=0;C[a+32>>2]=0}}function oS(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[b+100>>2];c=D[a+2|0]|D[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=205712}c=zf(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2]);if((c|0)!=-1){Zi(a+4|0,b,a,a+6|0,C[d+100>>2]+I(C[d+76>>2],20)|0);C[d+76>>2]=C[d+76>>2]+1}return(c|0)!=-1|0}function Vi(a){var b=0,c=0;C[a+20>>2]=0;C[a+48>>2]=0;b=C[a+24>>2];C[a+56>>2]=C[a+20>>2];C[a+60>>2]=b;c=C[a+32>>2];b=a- -64|0;C[b>>2]=C[a+28>>2];C[b+4>>2]=c;b=C[a+40>>2];C[a+72>>2]=C[a+36>>2];C[a+76>>2]=b;C[a+88>>2]=C[a+52>>2];b=C[a+48>>2];C[a+80>>2]=C[a+44>>2];C[a+84>>2]=b}function Qs(a){var b=0,c=0;c=C[105591];a:{if((a|0)<0){break a}b=(a|0)!=0;C[105591]=b;if((b|0)==(c|0)){break a}b=C[105550];b:{if(!a){break b}a=C[(C[105559]?422360:422356)>>2];if(C[105569]|!a){break b}if(!b){break a}Fe[b|0](a)|0;return c}if(!b){break a}Fe[b|0](0)|0}return c}function qr(a,b){var c=0,d=0,e=0;a:{c=C[105668];if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}d=b&4097;c=C[a+48>>2];e=c&4097;if((d|0)==(e|0)){break a}C[a+48>>2]=c&-4098|d;if(!Th(a,(c^-1)>>>6&c>>>2&b&1)){break a}C[a+48>>2]=C[a+48>>2]&-4098|e}}function ZA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ce-16|0;Ce=a;if(C[c+28>>2]){U(C[c+12>>2],a+8|0,a|0)|0;c=C[c+4>>2];d=H[a>>3];a:{if(K(d)<2147483648){b=~~d;break a}b=-2147483648}d=H[a+8>>3];b:{if(K(d)<2147483648){e=~~d;break b}e=-2147483648}bg(c,5,e,b)}Ce=a+16|0;return 0}function Lz(){var a=0,b=0;a=Ce-16|0;Ce=a;a:{if(Sb(a+12|0,a+8|0)|0){break a}b=kf((C[a+12>>2]<<2)+4|0);C[105778]=b;if(!b){break a}b=kf(C[a+8>>2]);if(b){C[C[105778]+(C[a+12>>2]<<2)>>2]=0;if(!(Rb(C[105778],b|0)|0)){break a}}C[105778]=0}Ce=a+16|0;C[105819]=423148;C[105801]=42}function Di(a){var b=0,c=0,d=0;o(+a);b=j(1)|0;j(0)|0;d=b>>>20&2047;if(d>>>0<=1074){if(d>>>0<=1021){a=a*0}else{a=(b|0)>0|(b|0)>=0?a:-a;c=a+4503599627370496+-4503599627370496-a;a:{if(c>.5){a=a+c+-1;break a}a=a+c;if(!(c<=-.5)){break a}a=a+1}a=(b|0)>0|(b|0)>=0?a:-a}}return a}function cu(a){var b=0,c=0,d=0;b=C[a+40>>2];c=Fe[b|0](a,0,0,D[a|0]&128?C[a+20>>2]==C[a+28>>2]?1:2:1)|0;b=Ee;a:{if((b|0)<0){break a}d=C[a+8>>2];if(d){a=a+4|0}else{d=C[a+28>>2];if(!d){break a}a=a+20|0}a=C[a>>2]-d|0;c=a+c|0;b=(a>>31)+b|0;b=a>>>0>c>>>0?b+1|0:b}Ee=b;return c}function _N(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=C[c>>2];d=(d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0;c=C[c+4>>2];c=(c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0;a:{if(C[a+4>>2]){break a}b=Mk((I((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,C[a>>2],0);if(!b){break a}C[a+4>>2]=b}}function Uj(a,b,c,d){var e=0,f=0,g=0;f=C[108232]+1|0;C[108232]=f;C[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!C[g>>2]){C[g>>2]=f;a=(e<<3)+c|0;C[a+4>>2]=b;C[a+8>>2]=0;De=d;return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Uj(e,b,mf(c,d<<4|8),a);De=a;return b}function Jk(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-f*e)-b+e*.16666666666666632)}function OA(a,b,c){a=a|0;b=b|0;c=c|0;if(C[b>>2]){a=C[c+4>>2];C[a+48>>2]=C[a+48>>2]|C[c+24>>2];C[c+24>>2]=0;return 0}a=C[c+4>>2];C[a+48>>2]=C[a+48>>2]&-4098;a=th(a);if((a|0)>=0){a=C[C[105668]+376>>2]+I(a,72)|0}else{a=0}if(C[a+60>>2]==C[c+4>>2]){C[a+60>>2]=0}return 0}function rN(a,b){a=a|0;b=b|0;var c=0;if(F[b+160>>2]>>0){tf(b,8)}c=D[a+3|0]|D[a+2|0]<<8;if(!(c>>>0>=262&F[b+160>>2]>=a+c>>>0)){tf(b,8)}if(C[b+164>>2]){a=a+6|0;c=0;while(1){if(F[b+172>>2]<=D[a|0]){tf(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function WO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=C[a+88>>2];if(b){C[b>>2]=C[a+300>>2]}if(c){C[c>>2]=C[a+304>>2]}a:{if(!f){c=65536;a=65536;break a}c=Ze(E[f+12>>1]<<6,C[a+304>>2]);a=Ze(E[f+14>>1]<<6,C[a+304>>2])}if(d){C[d>>2]=c}if(e){C[e>>2]=a}return 0}function DJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=C[a+416>>2];if((d|0)>0){f=C[a+420>>2];g=D[b|0];while(1){a:{e=C[(c<<2)+f>>2];if(D[e|0]!=(g|0)){break a}if(Se(b,e)){break a}return Zf(C[C[a+424>>2]+(c<<2)>>2])|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function Os(a,b,c){var d=0,e=0;a=a?a:C[105559];if(!(!a|D[a+48|0]&64)){C[105565]=c;C[105564]=b;C[105568]=0;d=C[105569];if(!(C[105571]|!d)){C[105568]=1;C[105561]=c;C[105560]=b;return}e=C[105553];if(!(!e|(C[105570]?0:d))){Fe[e|0](a,b,c);return}Fi(a,C[105558],0,b,c)}}function MK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){d=b;b=C[a+480>>2];c=(C[a+484>>2]+(d-b|0)|0)+c|0;a=(c-((c|0)%C[a+476>>2]|0)|0)+b|0;return((a|0)<0?b:a)|0}d=b;b=C[a+480>>2];c=(C[a+484>>2]-(d+b|0)|0)+c|0;a=(c|0)%C[a+476>>2]-(b+c)|0;return((a|0)>0?0-b|0:a)|0}function Gq(a){var b=0,c=0,d=0,e=0;b=C[a+84>>2];if(b){while(1){c=C[b+4>>2];Re(C[b>>2]);Re(b);b=c;if(b){continue}break}}c=C[a+80>>2];if(c){d=a,e=mf(C[a+68>>2],c+C[a+76>>2]|0),C[d+68>>2]=e;c=C[a+80>>2];C[a+80>>2]=0;C[a+76>>2]=c+C[a+76>>2]}C[a+84>>2]=0;C[a+72>>2]=0}function $e(a,b,c){var d=0,e=0,f=0;d=C[a+84>>2]+c|0;a:{if(!(!d|d>>>0>2])){if(!aj(a,d)){break a}}e=1;d=C[a+96>>2];if((d|0)!=C[a+92>>2]){break a}f=c;c=C[a+84>>2];if(f+c>>>0<=C[a+76>>2]+b>>>0){break a}b=a;a=C[a+100>>2];C[b+96>>2]=a;jf(a,d,I(c,20))}return e}function aw(a,b){var c=0;a:{if(!a|!b){break a}c=E[a+2>>1];if((c|0)!=E[b+2>>1]|E[a>>1]!=E[b>>1]|(a|0)==(b|0)){break a}t(C[b+4>>2],C[a+4>>2],c<<16>>16<<3);t(C[b+8>>2],C[a+8>>2],B[a+2>>1]);t(C[b+12>>2],C[a+12>>2],B[a>>1]<<1);C[b+16>>2]=C[a+16>>2]&-2|C[b+16>>2]&1}}function XS(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;a=0;g=C[b+4>>2];a:{if(fi(g,c,C[b+8>>2])){break a}b=C[g+84>>2];if(C[b+72>>2]!=1869968492|B[b+110>>1]>>>0<=d>>>0){break a}a=C[b+112>>2]+(d<<3)|0;C[e>>2]=C[a>>2];C[f>>2]=C[a+4>>2];a=1}return a|0}function rQ(a,b){a=a|0;b=b|0;var c=0;a=C[a+656>>2];b=E[C[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=F[a+1312>>2]){break a}return C[C[a+1316>>2]+(b<<2)>>2]}a=C[a+2956>>2];if(!a){break a}c=Fe[C[a+20>>2]](b)|0}return c|0}function nq(a,b){var c=0,d=0,e=0;a:{b:{c:{c=C[a+4>>2];switch(c+1|0){case 0:break a;case 1:break b;default:break c}}a=C[a>>2];if(a>>>0>2]){break a}d=C[b+8>>2];if(a>>>0>d>>>0|d-a>>>0>>0){break a}a=C[b+12>>2]-c|0;C[b+12>>2]=a;return(a|0)>0}e=1}return e}function nK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;e=b>>>0>=4?4:b;if(e){b=0;while(1){g=b<<2;f=C[g+c>>2];C[d+g>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=vu(a,e,d);Ce=d+16|0;return a|0}function Sj(a,b){var c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;a:{if(!b){b=0;break a}d=b;b=L(b);Fg(c,d,0,0,0,b+81|0);d=0+C[c+8>>2]|0;b=(C[c+12>>2]^65536)+(16414-b<<16)|0;f=e>>>0>d>>>0?b+1|0:b;e=C[c+4>>2];b=C[c>>2]}C[a>>2]=b;C[a+4>>2]=e;C[a+8>>2]=d;C[a+12>>2]=f;Ce=c+16|0}function eP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=C[a>>2];c=C[b+408>>2];C[a+16>>2]=c;d=C[b+416>>2];C[a+20>>2]=d;a:{if(c>>>0<2){break a}b=C[d>>2];a=1;while(1){e=b;b=C[(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 cB(a){a=a|0;var b=0;b=Ce-16|0;Ce=b;a:{if(!C[105559]){break a}b:{if(!a){break b}a=C[a+4>>2];if(!a){break b}a=C[a>>2];if(!a){break a}C[b>>2]=a;A[b+14|0]=105;A[b+15|0]=0;S(390568,b+14|0,b|0)|0;break a}A[b+13|0]=0;S(390651,b+13|0,0)|0}Ce=b+16|0;return 0}function gj(a,b,c){var d=0,e=0;d=Ce-32|0;Ce=d;a:{if(!a){C[d>>2]=13258;e=Qe(19745,d);break a}if(!b){C[d+16>>2]=15605;e=Qe(19745,d+16|0);break a}e=0;if((c|0)<=0){break a}if((c|0)%C[a+208>>2]|0){e=Qe(7756,0);break a}e=nt(C[a+168>>2],b,c)}a=e;Ce=d+32|0;return a}function Xj(a,b,c){var d=0,e=0,f=0,g=0;if(b){while(1){c=c-1|0;e=a;a=oT(a,b,10,0);d=Ee;f=c,g=e-mT(a,d,10,0)|48,A[f|0]=g;e=b>>>0>9;b=d;if(e){continue}break}}if(a){while(1){c=c-1|0;b=(a>>>0)/10|0;A[c|0]=a-I(b,10)|48;d=a>>>0>9;a=b;if(d){continue}break}}return c}function Pz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=C[a+12>>2];e=C[b+72>>2];b=Fe[C[e+192>>2]](b,C[b+76>>2],c,d,C[e+56>>2])|0;c=C[a+12>>2];a:{if(!c){break a}c=C[c+20>>2];a=C[a+20>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}return b|0}function Oz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=C[a+12>>2];e=C[b+72>>2];b=Fe[C[e+196>>2]](b,C[b+76>>2],c,d,C[e+60>>2])|0;c=C[a+12>>2];a:{if(!c){break a}c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}return b|0}function GC(a){a=a|0;var b=0;a:{a=C[a+204>>2];b=C[105668];if(!b){Qe(19865,0);break a}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);break a}if(!(D[a+48|0]&2)){Qe(2183,0);break a}if((cj(C[b+788>>2])|0)!=(a|0)){Qe(4017,0);break a}b=C[105668];Fe[C[b+224>>2]](b,a)|0}}function wt(a){var b=0,c=0;b=Ce+-64|0;Ce=b;c=a+60|0;a:{if(C[a+56>>2]|!C[c>>2]){break a}Fe[C[104438]](a);C[c>>2]=0;Fe[C[104439]](a);if((qf(4353,-1)|0)!=1){break a}c=b+8|0;lf(c,0,56);C[b+8>>2]=4353;C[b+16>>2]=C[a>>2];A[b+20|0]=C[a+68>>2]!=0;Df(c)}Ce=b- -64|0}function ww(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;d=C[a+4>>2];a=C[C[d+128>>2]+48>>2];a:{if(a){d=C[b+8>>2];b=C[b+4>>2];C[c+12>>2]=d-b;C[c+8>>2]=b;Fe[C[C[a>>2]+4>>2]](C[a+4>>2],c+8|0);break a}a=C[d+656>>2];if(C[a+1204>>2]){break a}Wf(C[a+1176>>2],b+4|0)}Ce=c+16|0}function _S(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=C[b+4>>2];if(fi(f,c,C[b+8>>2])){return 0}b=C[f+84>>2];C[d>>2]=C[b+32>>2]-C[b+44>>2];C[e>>2]=C[b+48>>2]+C[b+36>>2];if(C[a+20>>2]<0){C[d>>2]=0-C[d>>2]}if(C[a+24>>2]<0){C[e>>2]=0-C[e>>2]}return 1}function uK(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[a>>2];c=C[d+548>>2];a:{d=Dg(C[C[d+96>>2]+4>>2],9541);if(!(!d|!c)){c=C[c>>2];if(c){break a}}ek(C[a>>2],b);return 0}c=Fe[c|0](d)|0;ek(C[a>>2],b);if(c){Fe[C[c+4>>2]](C[a+40>>2],C[a+16>>2],C[a+20>>2],0,0)}return 0}function gu(a){var b=0,c=0,d=0;c=Ce-16|0;Ce=c;A[c+15|0]=10;b=C[a+16>>2];a:{if(!b){if(oo(a)){break a}b=C[a+16>>2]}d=b;b=C[a+20>>2];if(!((d|0)==(b|0)|C[a+80>>2]==10)){C[a+20>>2]=b+1;A[b|0]=10;break a}if((Fe[C[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}Ce=c+16|0}function bk(a){var b=0,c=0;a:{b=C[104361];if((b|0)>0){while(1){if(!uf(C[C[104362]+(c<<2)>>2],a)){break a}c=c+1|0;b=C[104361];if((c|0)<(b|0)){continue}break}}b=Sf(C[104362],(b<<2)+4|0);if(!b){break a}C[104362]=b;c=C[104361];C[104361]=c+1;C[b+(c<<2)>>2]=a}}function XO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;Ev(a,b,c,d);b=C[a+300>>2];c=C[a+304>>2];a:{if((b|0)==(c|0)){break a}e=C[d>>2];if(e){f=d,g=of(e,b,c),C[f>>2]=g}b=C[d+4>>2];if(!b){break a}f=d,g=of(b,C[a+300>>2],C[a+304>>2]),C[f+4>>2]=g}return 0}function pp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;e=C[C[a+4>>2]+100>>2];c=C[a+156>>2];f=C[c+4>>2];a:{if(f&1){c=C[a+88>>2];if(c){Fe[C[e+8>>2]](e,c)}C[a+88>>2]=0;break a}C[c+4>>2]=f|1}g=a,h=hf(e,b,d+12|0),C[g+88>>2]=h;Ce=d+16|0;return C[d+12>>2]}function pn(a){var b=0,c=0;b=C[105668];if(!b){Qe(19865,0);return}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return}a:{if(D[a+48|0]&64){break a}c=C[b+100>>2];if(!c){break a}if(!(D[b+404|0]&2)){Th(a,0);b=C[105668];c=C[b+100>>2];if(!c){break a}}Fe[c|0](b,a)}}function no(a){var b=0,c=0;b=C[a+72>>2];C[a+72>>2]=b-1|b;if(C[a+20>>2]!=C[a+28>>2]){Fe[C[a+36>>2]](a,0,0)|0}C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;b=C[a>>2];if(b&4){C[a>>2]=b|32;return-1}c=C[a+44>>2]+C[a+48>>2]|0;C[a+8>>2]=c;C[a+4>>2]=c;return b<<27>>31}function sM(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(c){c=Fe[C[a+508>>2]](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Fe[C[a+508>>2]](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=Ef(b,352128,a);if(c){break a}C[a+36>>2]=0;C[a+40>>2]=0;c=0}return c|0}function nh(a,b){var c=0;c=Ce-16|0;Ce=c;a:{if(!a){break a}C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=C[a+8>>2];C[c+12>>2]=C[a+12>>2];a=a+36|0;if(!b){b=C[c+4>>2];C[a>>2]=C[c>>2];C[a+4>>2]=b;b=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=b;break a}yg(b,c,a)}Ce=c+16|0}function af(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!D[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=C[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(D[b|0]){continue}break}}return b-a|0}function TF(a){a=a|0;var b=0;b=C[a+68>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+60>>2];if(b){Hi(b)}b=C[a+56>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(C[a+4>>2]){b=C[a>>2];Fe[C[b+16>>2]](b)|0}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function LP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[a+16>>2];if(c){f=C[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=C[(e<<3)+f>>2];if((d|0)==(b|0)){return E[((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 Te(a,b){var c=0,d=0,e=0;if(!(!a|(b|0)==65536)){c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=I(c,d)+32768>>>16|0;break a}e=d&65535;c=I(e,c>>>16|0)+I(c,d>>>16|0)+(I(c&65535,e)+32768>>>16)|0}a=(a^b)<0?0-c|0:c}return a}function Gh(a,b,c){var d=0,e=0,f=0,g=0;C[a+112>>2]=b;C[a+116>>2]=c;e=C[a+4>>2];d=C[a+44>>2]-e|0;C[a+120>>2]=d;C[a+124>>2]=d>>31;d=C[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}C[a+104>>2]=d}function ut(a){var b=0,c=0;c=128;a:{b:{c:{b=E[a+4>>1];switch(b-8|0){case 0:case 8:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break b;default:break c}}if((b|0)==4112){break a}}c=0}A[a+7|0]=c;C[a+12>>2]=I(E[a+8>>1],I(D[a+6|0],b>>>3&31))}function jO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[b>>2]+1|0;d=C[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+C[a+20>>2]|0;a:{if(c>>>0>>0){e=C[a+24>>2];while(1){a=E[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}C[b>>2]=c;return a|0}function Qk(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;C[d+12>>2]=0;a=hf(a,(af(b)+af(c)|0)+1|0,d+12|0);if(!C[d+12>>2]){e=go(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;g=dm(a,f,b)+b|0,h=0,A[g|0]=h;b=e+1|0;break a}A[a|0]=0}e=Wt(Wt(a,c),b)}Ce=d+16|0;return e}function $q(){var a=0,b=0,c=0,d=0,e=0;b=jo(24153);a=2;a:{if(!b){break a}a=2;if(!D[b|0]){break a}while(1){c=ah(b,58);if(!c){c=af(b)+b|0}e=a|4;d=a;a=c-b|0;a=cf(b,17609,a)?d:(a|0)==24?e:d;b=(D[c|0]!=0)+c|0;if(D[b|0]){continue}break}a=a&255}C[105670]=a}function Hf(a,b,c,d){var e=0,f=0;f=Ce-16|0;Ce=f;if(C[a+156>>2]){C[a+168>>2]=C[a+168>>2]+1;C[f+12>>2]=d;e=Ce-112|0;Ce=e;Wj(e,100,c,d);b=Fe[C[a+156>>2]](a,b,e,C[a+160>>2])|0;Ce=e+112|0;C[a+168>>2]=C[a+168>>2]-1;d=(b|0)!=0}else{d=1}Ce=f+16|0;return d}function Fx(a,b){var c=0,d=0,e=0;if(a){We(a+8|0,0,352);C[a+24>>2]=1024;C[a+4>>2]=16384;e=kf(16384);C[a>>2]=e;c=kf(4096);C[a+16>>2]=c;d=kf(8192);C[a+20>>2]=d;a:{if(e){if(d?c:0){break a}Re(e)}if(c){Re(c)}if(d){Re(d)}We(a,0,360);return}C[a+336>>2]=b}}function gP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[a+16>>2];if(c){f=C[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=C[(e<<3)+f>>2];if((d|0)==(b|0)){return E[((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 fu(a,b){var c=0,d=0,e=0;o(+a);d=j(1)|0;e=j(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=fu(a*0x10000000000000000,b);c=C[b>>2]+-64|0}C[b>>2]=c;return a}C[b>>2]=c-1022;l(0,e|0);l(1,d&-2146435073|1071644672);a=+n()}return a}function zw(a){var b=0,c=0;c=C[a+392>>2];a:{if((c|0)==(a+8|0)){a=C[a+4>>2];b=0;if(!a|C[a>>2]){break a}C[a>>2]=161;return 0}if(C[c-4>>2]!=2){a=C[a+4>>2];b=0;if(!a|C[a>>2]){break a}C[a>>2]=160;return 0}b=a;a=c-8|0;C[b+392>>2]=a;b=C[a>>2]}return b}function gH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=C[a+96>>2];lh(C[e+4>>2]);d=C[e>>2];a:{if(!d){d=c;break a}d=Fe[C[d+8>>2]](d,b,1,c)|0;b=d+b|0;d=c-d|0;if((d|0)<=0){break a}f=C[e>>2];Fe[C[f+16>>2]](f)|0;C[e>>2]=0}lf(b,D[a+11|0],d);return c|0}function TO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[d+12>>2]=0;a:{if(C[c+80>>2]){break a}b=b-a|0;f=hf(C[c>>2],b+1|0,d+12|0);C[c+80>>2]=f;e=C[d+12>>2];if(e){break a}t(f,a,b);A[b+C[c+80>>2]|0]=0;e=C[d+12>>2]}Ce=d+16|0;return e|0}function $t(a,b){var c=0,d=0,e=0,f=0;c=b>>>20&2047;e=0;a:{if(c>>>0<1023){break a}e=2;if(c>>>0>1075){break a}c=1075-c|0;d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=f}f=d-1|0;e=0;if(a&f|b&c-!d){break a}e=a&d|b&c?1:2}return e}function pg(a,b){var c=0,d=0,e=0;d=C[a+68>>2];c=C[a+72>>2];b=b+7&-8;if(C[a+76>>2]<(c+b|0)){if(d){e=kf(8);C[a+80>>2]=C[a+80>>2]+c;c=C[a+84>>2];C[e>>2]=d;C[e+4>>2]=c;C[a+84>>2]=e}C[a+76>>2]=b;d=kf(b);C[a+68>>2]=d;c=0}C[a+72>>2]=b+c;return c+d|0}function ZO(a){a=a|0;var b=0,c=0;c=C[C[a+188>>2]>>2];b=C[a+168>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+172>>2]=0;C[a+164>>2]=0;C[a+168>>2]=0;b=C[a+184>>2];if(b){Fe[C[c+8>>2]](c,b)}A[a+192|0]=0;C[a+184>>2]=0;C[a+188>>2]=0;C[a+176>>2]=0;C[a+180>>2]=0}function YJ(a,b){a=a|0;b=b|0;var c=0;ek(C[a>>2],b);c=C[a>>2];b=C[c+320>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}b=Fe[b|0](c)|0;if(!b){break a}Fe[C[b+4>>2]](C[a+40>>2],C[a+16>>2],C[a+20>>2],0,0)}return 0}function Kk(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*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function yu(a,b){a=a|0;b=b|0;var c=0;c=C[a+136>>2];C[b>>2]=C[a+132>>2];C[b+4>>2]=c;c=C[a+160>>2];C[b+24>>2]=C[a+156>>2];C[b+28>>2]=c;c=C[a+152>>2];C[b+16>>2]=C[a+148>>2];C[b+20>>2]=c;c=C[a+144>>2];C[b+8>>2]=C[a+140>>2];C[b+12>>2]=c;return 0}function xt(a,b,c){var d=0;d=Ce+-64|0;Ce=d;a:{if(a){b=am(b,c,417820,417812);break a}b=am(b,c,417816,417808)}b:{if((b|0)==-1){break b}if((qf(4352,-1)|0)!=1){break b}c=d+8|0;lf(c,0,56);A[d+20|0]=a;C[d+16>>2]=b;C[d+8>>2]=4352;Df(c)}Ce=d- -64|0}function WJ(a,b){a=a|0;b=b|0;var c=0;c=C[a+192>>2];C[b+24>>2]=C[a+188>>2];C[b+28>>2]=c;c=C[a+184>>2];C[b+16>>2]=C[a+180>>2];C[b+20>>2]=c;c=C[a+176>>2];C[b+8>>2]=C[a+172>>2];C[b+12>>2]=c;c=C[a+168>>2];C[b>>2]=C[a+164>>2];C[b+4>>2]=c;return 0}function Ok(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=D[d|0];if(!e){break a}b=b-1|0;if(b>>>0<=c>>>0){break a}while(1){A[a+c|0]=e;c=c+1|0;e=D[d+1|0];if(!e){break a}d=d+1|0;if(b>>>0>c>>>0){continue}break}}A[a+c|0]=0}return c}function OB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(d>>>0>=3){a=Qe(34195,0);Ee=a>>31;return a|0}a:{if(!du(C[a+28>>2],b,c,d)){b=bu(C[a+28>>2]);a=Ee;c=a;if((a|0)>0|(a|0)>=0){break a}a=Qe(4512,0);Ee=a>>31;return a|0}b=_e(3);c=b>>31}Ee=c;return b|0}function tP(a){a=a|0;var b=0,c=0;b=C[a+12>>2];if(b){c=C[a+28>>2];tm(b+12|0);C[b+52>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;if(b){Fe[C[c+8>>2]](c,b)}C[a+12>>2]=0}}function iQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[C[C[a>>2]+96>>2]+4>>2];C[b>>2]=0;C[b+4>>2]=0;d=C[a+12>>2];a:{if((d|0)==276264|(d|0)==276304){break a}c=Ti(Dg(c,3922),6749);if(!c){break a}c=C[c>>2];if(!c){break a}e=Fe[c|0](a,b)|0}return e|0}function gg(a,b){var c=0,d=0;c=b-a|0;d=((c|0)<=-11796479?-11796479:c)+a|0;c=(d|0)!=(b|0);c=I(c+((d-(b+c|0)>>>0)/23592960|0)|0,23592960)+b|0;b=c-a|0;a=(c-(((b|0)>=11796480?11796480:b)+a|0)|0)+23592959|0;return b+(((a>>>0)%23592960|0)-a|0)|0}function iR(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ce-16|0;Ce=b;if(a){c=Fe[C[a+4>>2]](a,0,0,1)|0;d=Ee;if((Fe[C[a+8>>2]](a,b+12|0,1,4)|0)==4){e=D[b+12|0]==137&D[b+13|0]==80&D[b+14|0]==78&D[b+15|0]==71}Fe[C[a+4>>2]](a,c,d,0)|0}Ce=b+16|0;return e|0}function yz(a,b){var c=0;c=C[a>>2];a:{if(c>>>0<=b>>>0){b=0;if(c){break a}return C[a+8>>2]}c=C[a+12>>2];a=C[a+4>>2]-1|0;a=a>>>0>b>>>0?b:a;a=(a|0)<0?205712:C[(c?c:205712)+12>>2]+(a<<2)|0;a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}return b}function TN(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(C[a+4>>2]){break a}e=c;g=a+52|0;f=C[g>>2];c=C[a+16>>2];if((e|0)!=(f+c|0)){break a}e=C[a>>2];c=qm(a+16|0,d,f,c,b,e);if(!c){c=qm(g,d,0,f,b,e);if(!c){break a}}C[a+4>>2]=c}}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;f=6;a:{if(!d|!e){break a}g=E[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=C[a+156>>2]+(b<<4)|0;C[c>>2]=C[a>>2];C[d>>2]=C[a+8>>2];g=C[a+12>>2]}C[e>>2]=g;f=0}return f|0}function LK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=C[a+480>>2];a=(C[a+484>>2]+(c-b|0)&0-C[a+476>>2])+b|0;return((a|0)<0?b:a)|0}d=b;b=C[a+480>>2];a=0-((C[a+484>>2]+c-(d+b)&0-C[a+476>>2])+b|0)|0;return((a|0)>0?0-b|0:a)|0}function dP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[a+16>>2];if(c){f=C[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=C[(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 NO(a){a=a|0;var b=0,c=0;if(C[a+12>>2]==-559038737){c=C[a+32>>2];b=C[a>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+28>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+12>>2]=0;C[a+28>>2]=0}}function cf(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=D[a|0];a:{if(!d){break a}while(1){b:{e=D[b|0];if(!e){break b}c=c-1|0;if(!c|(d|0)!=(e|0)){break b}b=b+1|0;d=D[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-D[b|0]|0}function ML(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ce-16|0;Ce=d;e=No(a,22351,d);a:{if(e){break a}e=No(a,26297,d+8|0);if(e){break a}e=6;if(C[d>>2]!=1|C[d+8>>2]!=1){break a}C[b>>2]=C[d+12>>2];C[c>>2]=C[d+4>>2];e=0}Ce=d+16|0;return e|0}function Jt(a){var b=0,c=0,d=0;if(A[C[a>>2]]-48>>>0>=10){return 0}while(1){d=C[a>>2];c=-1;if(b>>>0<=214748364){c=A[d|0]-48|0;b=I(b,10);c=(c|0)>(b^2147483647)?-1:c+b|0}C[a>>2]=d+1;b=c;if(A[d+1|0]-48>>>0<10){continue}break}return b}function wO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ce-16|0;Ce=f;e=hf(b,16,f+12|0);g=C[f+12>>2];if(!g){C[e+12>>2]=2;C[e+8>>2]=d;C[e>>2]=c;C[e+4>>2]=c;C[a+8>>2]=0;C[a+12>>2]=0;C[a+4>>2]=e;C[a>>2]=b}Ce=f+16|0;return g|0}function Xi(a,b){if(!(!a|!C[a>>2])){C[a+344>>2]=0;C[a+348>>2]=0;C[a+340>>2]=-1;C[a+332>>2]=0;C[a+324>>2]=0;C[a+328>>2]=0;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a+336>>2]=b;C[a+352>>2]=0;C[a+356>>2]=0}}function UN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(C[a+4>>2]){break a}d=C[a+16>>2];e=a+52|0;f=C[e>>2];if((d+f|0)!=(b|0)){break a}g=C[a>>2];b=qm(a+16|0,c,0,d,0,g);if(!b){b=qm(e,c,d,f,0,g);if(!b){break a}}C[a+4>>2]=b}}function Pi(a,b){var c=0,d=0,e=0;a:{c=C[a+280>>2];if((c|0)<=0){break a}d=C[a+284>>2];a=0;while(1){b:{e=Se(C[I(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return(I(a,12)+d|0)-12|0}return 0}function JN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=C[a>>2];d=a&2147483647;b=C[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 wm(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=C[a+96>>2];if(!d){break a}b=C[a+128>>2];c=C[b+56>>2];C[b+56>>2]=c-1;if((c|0)<=1){c=C[d+8>>2];e=d+16|0;b=Qi(e,a);if(!b){break a}nj(e,b);if(b){Fe[C[c+8>>2]](c,b)}gk(c,a,d)}}}function jg(a,b,c){var d=0,e=0,f=0;d=C[a+8>>2];f=C[a+4>>2];if(d>>>0>>0){e=C[a+20>>2];a:{if(e){b=Fe[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;t(e,C[a>>2]+d|0,b)}C[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function XK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=B[a+298>>1];if(e){e=of(d,e,C[a+564>>2]);f=C[b+12>>2]+(c<<3)|0;C[f>>2]=e+C[f>>2]}e=B[a+300>>1];if(e){a=of(d,e,C[a+564>>2]);b=C[b+12>>2]+(c<<3)|0;C[b+4>>2]=a+C[b+4>>2]}}function vf(a){var b=0,c=0,d=0;d=Ce-16|0;Ce=d;c=C[105668];a:{if(!c){Qe(19865,0);break a}b=C[c+196>>2];if(b){if(C[c+516>>2]){b=Fe[b|0](c,a)|0;break a}b=0;Qe(20769,0);break a}C[d>>2]=C[c>>2];Qe(32625,d);b=0}Ce=d+16|0;return b}function si(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=C[a+16>>2];if((c|0)<=0){break a}a=a+20|0;c=a+(c<<2)|0;while(1){d=C[C[a>>2]>>2];if(Se(C[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=C[d+20>>2]}return e}function nT(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=oT(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Ee=(g^Ee)-((a>>>0>>0)+g|0)|0;return b}function fT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ce-16|0;Ce=a;C[a+12>>2]=0;a:{if(bw(c,b,0,a+12|0)){break a}d=kf(C[a+12>>2]);if(!d){break a}if(bw(c,b,d,a+12|0)){Re(d);break a}e=Zq(d,C[a+12>>2],2,d,642)}Ce=a+16|0;return e|0}function dr(a,b){if(b){C[b>>2]=C[a+80>>2]}a:{if(D[a+74|0]){break a}if(C[a+168>>2]){return 0}C[a+84>>2]=0;A[a+73|0]=0;A[a+74|0]=1;C[a+96>>2]=C[a+92>>2];b=I(C[a+80>>2],20);if(!b){break a}We(C[a+100>>2],0,b)}return C[a+100>>2]}function DI(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=C[a+240>>2];f=C[a+248>>2];g=b+c|0;d=st(D[a+232|0],C[a+204>>2],C[a+216>>2],f,g,b,c,d,e);b=h<<2;a=(b|0)<(c|0)?b:c;gf((b+f|0)-(a&-4)|0,g-a|0,a);return d|0}function jN(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b>>2];a:{if(c>>>0>65534){break a}if(A[a+20|0]&1){return cv(a,b,1)|0}if((c|0)==C[a+24>>2]){av(a);c=C[a+28>>2];if(!c){break a}C[b>>2]=C[a+24>>2];return c|0}d=bv(a,b,1)}return d|0}function UM(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+28>>2];a:{if((c|0)==-1){break a}if(!(!D[a+24|0]|(c|0)!=C[b>>2])){Zu(a);if(!D[a+24|0]){break a}c=C[a+32>>2];if(!c){break a}C[b>>2]=C[a+28>>2];return c|0}d=_u(a,b,1)}return d|0}function PM(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+28>>2];a:{if((c|0)==-1){break a}if(!(!D[a+24|0]|(c|0)!=C[b>>2])){Xu(a);if(!D[a+24|0]){break a}c=C[a+32>>2];if(!c){break a}C[b>>2]=C[a+28>>2];return c|0}d=Yu(a,b,1)}return d|0}function OC(a,b){a=a|0;b=b|0;var c=0;c=_r(b)-1>>>0<10&Yr(b)-1>>>0<10;if(!(279>>>b&1)|b>>>0>=9){a=b&15}else{a=1}c=c&a-1>>>0<3&Zr(b)-1>>>0<10&Xr(b)-1>>>0<10;if(!(279>>>b&1)|b>>>0>=9){a=b>>>16&15}else{a=1}return c&a-1>>>0<3}function sB(a,b){a=a|0;b=b|0;var c=0;c=C[a+1080>>2];a=C[c+64>>2];a:{b:{if((C[c+28>>2]|C[c+24>>2]<<16)>>>0>=65541){if(!a){c=0;break b}c=Fe[a|0](b)|0;break b}c=0;if(!a){break b}a=Fe[a|0](b)|0;if(a){break a}}a=c}return a|0}function po(a){var b=0,c=0,d=0,e=0;d=jm(a);e=Fe[C[a+12>>2]](a)|0;if(!(A[a|0]&1)){b=C[a+52>>2];if(b){C[b+56>>2]=C[a+56>>2]}c=C[a+56>>2];if(c){C[c+52>>2]=b}if(C[105794]==(a|0)){C[105794]=c}Re(C[a+96>>2]);Re(a)}return d|e}function _A(a){a=a|0;var b=0,c=0;if(a>>>0<=11){c=C[(a<<2)+148560>>2];a=If(1,8);if(a){b=If(1,8);if(!b){_e(0);if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}return 0}C[b+4>>2]=0;C[b>>2]=c;C[a+4>>2]=b;return a|0}_e(0)}return 0}function dB(a){a=a|0;var b=0;if(a){b=C[a+4>>2];if(b){if(C[b+4>>2]){b=C[b>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}b=C[a+4>>2]}if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}}function Dg(a,b){var c=0,d=0;a:{if(!a|!b){break a}c=C[a+16>>2];if((c|0)<=0){return 0}a=a+20|0;c=a+(c<<2)|0;while(1){d=C[a>>2];if(!Se(C[C[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function BK(a){a=a|0;var b=0,c=0;if(C[a+40>>2]){c=C[a>>2];b=C[c+548>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}b=Fe[b|0](c)|0;if(!b){break a}Fe[C[b+8>>2]](C[a+40>>2])}C[a+40>>2]=0}}function $J(a){a=a|0;var b=0,c=0;if(C[a+40>>2]){c=C[a>>2];b=C[c+320>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}b=Fe[b|0](c)|0;if(!b){break a}Fe[C[b+8>>2]](C[a+40>>2])}C[a+40>>2]=0}}function zL(a,b){a=a|0;b=b|0;var c=0,d=0;d=xh(353824,b);a:{if(d){break a}d=0;if(!a){break a}c=C[a+4>>2];if(!c){break a}c=Dg(c,3922);if(!c){break a}c=C[C[c>>2]+20>>2];if(!c){break a}d=Fe[C[c+16>>2]](a,b)|0}return d|0}function mT(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=I(e,f);g=c&65535;h=a&65535;i=I(g,h);f=(i>>>16|0)+I(f,g)|0;e=(f&65535)+I(e,h)|0;Ee=(I(b,c)+j|0)+I(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function XQ(a,b){a=a|0;b=b|0;var c=0,d=0;C[b+72>>2]=1869968492;d=C[a+36>>2];C[b+124>>2]=d;c=C[a+24>>2];C[b+108>>2]=C[a+20>>2];C[b+112>>2]=c;c=C[a+32>>2];C[b+116>>2]=C[a+28>>2];C[b+120>>2]=c;C[b+124>>2]=d&-2;return 0}function Vw(a,b){a=a|0;b=b|0;var c=0;c=C[b+4>>2];C[a+4>>2]=C[b>>2];C[a+8>>2]=c;C[a+28>>2]=C[b+24>>2];c=C[b+20>>2];C[a+20>>2]=C[b+16>>2];C[a+24>>2]=c;c=C[b+12>>2];C[a+12>>2]=C[b+8>>2];C[a+16>>2]=c;Uw(a,b,0);Uw(a,b,1)}function Pl(a,b){var c=0;a:{c=C[a>>2];if(!c){break a}if(C[c>>2]!=(b|0)){while(1){a=c;c=C[c+4>>2];if(!c){break a}if(C[c>>2]!=(b|0)){continue}break}a=a+4|0}C[a>>2]=C[c+4>>2];if(c){Fe[C[94506]](c);C[94507]=C[94507]-1}}}function Hz(a,b,c,d){var e=0;a:{if(!C[a+4>>2]){if(!d){break a}Fe[d|0](c);return}e=C[a+80>>2];if(e){Fe[e|0](C[a+76>>2])}b=b?b:382048;e=C[b>>2];if(e){C[b>>2]=e+1}ol(C[a+72>>2]);C[a+80>>2]=d;C[a+76>>2]=c;C[a+72>>2]=b}}function NL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ce-16|0;Ce=d;e=C[a+16>>2];a:{if((e|0)>0){while(1){if(!Oo(a,c,d+12|0)){if(!Se(b,C[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Ce=d+16|0;return c|0}function IA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ce-16|0;Ce=a;if(c){C[c>>2]=0;C[c+4>>2]=0;A[a+15|0]=0;d=c,e=S(390720,a+15|0,0)|0,C[d+8>>2]=e;A[a+14|0]=0;d=c,e=S(390750,a+14|0,0)|0,C[d+12>>2]=e}Ce=a+16|0;return 0}function _v(a,b,c,d){var e=0,f=0;f=C[a+4>>2];if(f>>>0>b>>>0){e=C[a+20>>2];a:{if(e){c=Fe[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;t(e,C[a>>2]+b|0,c)}C[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function mr(a,b,c){var d=0,e=0;d=C[105668];if(!d){Qe(19865,0);return}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);return}e=C[d+212>>2];if(e){Fe[e|0](d,a,b,c);return}if(b){C[b>>2]=C[a+24>>2]}if(c){C[c>>2]=C[a+28>>2]}}function ep(a,b,c){var d=0,e=0,f=0,g=0;e=C[a+8>>2];f=C[a+4>>2];if(e>>>0>>0){d=C[a+20>>2];a:{if(d){d=Fe[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>>0?b:c;t(g,C[a>>2]+e|0,d)}C[a+8>>2]=C[a+8>>2]+d}return d}function dC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=C[C[a+548>>2]>>2];a:{if(d){if(b){C[b>>2]=C[d+8>>2]}a=0;if(!c){break a}C[c>>2]=C[d+12>>2];return 0}a=C[a+204>>2];if(a){Sh(a,b,c);return 0}a=Qe(19283,0)}return a|0}function bM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ce-16|0;Ce=d;e=Fe[C[a+508>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){C[(c?692:684)+a>>2]=C[d+12>>2];C[(c?788:784)+a>>2]=C[b+8>>2]}Ce=d+16|0;return e|0}function HG(a){a=a|0;var b=0;Wm(a+16|0);b=C[a+772>>2];if(b){Hi(b)}b=C[a+776>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(C[a+4>>2]){b=C[a>>2];Fe[C[b+16>>2]](b)|0}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function sx(a,b){var c=0,d=0;if($e(a,0,1)){d=C[b+4>>2];c=C[a+96>>2]+I(C[a+84>>2],20)|0;C[c>>2]=C[b>>2];C[c+4>>2]=d;C[c+16>>2]=C[b+16>>2];d=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=d;C[a+84>>2]=C[a+84>>2]+1}}function fo(a,b,c){var d=0;if(!(!c|(!a|!b))){a=E[c+4>>1]|E[c+6>>1]<<16;d=E[c>>1]|E[c+2>>1]<<16;B[b+170>>1]=d;B[b+172>>1]=d>>>16;B[b+174>>1]=a;B[b+176>>1]=a>>>16;B[b+178>>1]=E[c+8>>1];C[b+8>>2]=C[b+8>>2]|32}}function ZP(a){a=a|0;var b=0,c=0,d=0;b=161;a:{if(F[a+404>>2]>>0){break a}c=C[a+412>>2];b=3;d=sj(a+16|0);if((d|0)<0){break a}C[c+120>>2]=d;a=sj(a+20|0);if((a|0)<0){break a}C[c+116>>2]=a;b=0}return b|0}function hH(a){a=a|0;var b=0,c=0;b=C[a+96>>2];c=C[b>>2];if(c){Fe[C[c+16>>2]](c)|0;b=C[a+96>>2]}b=C[b+8>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}a=C[a+96>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function Nq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;C[c>>2]=0;C[c+4>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;return 0}function _O(a){a=a|0;var b=0;b=C[C[a+156>>2]>>2];C[a+184>>2]=0;C[a+188>>2]=0;C[a+160>>2]=0;C[a+164>>2]=0;C[a+168>>2]=0;C[a+172>>2]=0;C[a+176>>2]=0;C[a+180>>2]=0;C[a+192>>2]=0;C[a+188>>2]=b;Vi(b);return 0}function Ns(){var a=0,b=0;b=Ce-16|0;a=C[94509];a:{if((a|0)!=-1){break a}if(!D[422376]){A[422376]=1}a=0;C[94508]=4;C[94509]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break a}C[94508]=16;a=2;C[94509]=2}return a>>>2&1}function Gg(a,b,c,d,e){var f=0;f=Ce-256|0;Ce=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;We(f,b&255,c?d:256);if(!c){while(1){Bg(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}Bg(a,f,d)}Ce=f+256|0}function Em(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=F[a+1312>>2]){break a}return C[C[a+1316>>2]+(b<<2)>>2]}a=C[a+2956>>2];if(!a){break a}c=Fe[C[a+20>>2]](b)|0}return c}function Eu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;g=C[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=Ve(a,1,g,d,C[c>>2],e+12|0),C[h>>2]=i;f=C[e+12>>2];if(f){break a}C[b>>2]=d;f=0}Ce=e+16|0;return f}function xg(a,b,c){var d=0;a:{b:{if(D[a+205|0]&128){if(D[a+210|0]&16|(c|0)<2){break b}Ig(a,b);s()}d=C[a+208>>2];if((c|0)<=0){if(d&2097152){break b}break a}if(!(d&4194304)){break a}}return}Af(a,b);s()}function Dr(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=19555;a=Qe(19745,c);break a}d=C[a+52>>2];if(!(A[d+69|0]&1)){a=Qe(1384,0);break a}a=0;if(!b){break a}C[b>>2]=C[d+72>>2]}Ce=c+16|0;return a}function bt(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){Qe(4480,0);a=0;break a}d=C[a+36>>2];a=E[(C[a+40>>2]+I(b,24)|0)+2>>1];if((d|0)>(b|0)){break a}C[c>>2]=d;Qe(7529,c);a=0}Ce=c+16|0;return a<<16>>16}function fQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=C[a+656>>2];a:{b:{if(!a){break b}d=6;if(C[a+1456>>2]==65535|F[a+12>>2]>>0){break a}if(!c){break b}C[c>>2]=E[C[a+1160>>2]+(b<<1)>>1]}d=0}return d|0}function bw(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(D[a+8|0]&8)){break a}f=7;e=C[a+96>>2];g=C[C[e>>2]+32>>2];if(!g){break a}e=Fe[g|0](e,17634)|0;if(!e){break a}f=Fe[C[e>>2]](a,b,0,c,d)|0}return f}function YP(a){a=a|0;var b=0,c=0,d=0;if(F[a+404>>2]>=a+28>>>0){b=C[a+412>>2];c=b,d=sj(a+16|0),C[c+132>>2]=d;c=b,d=sj(a+20|0),C[c+136>>2]=d;c=b,d=sj(a+24|0),C[c+140>>2]=d;a=0}else{a=161}return a|0}function mQ(a){a=a|0;var b=0,c=0;c=C[a+656>>2];a:{if(!C[a+532>>2]){break a}b=Ti(Dg(C[C[a+96>>2]+4>>2],3922),17181);if(!b){break a}b=C[b>>2];if(!b){break a}return Fe[b|0](a)|0}return C[c+1304>>2]}function tQ(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b>>2];C[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=E[C[a+16>>2]+(c<<1)>>1];if(!d){continue}break}C[b>>2]=c;return d|0}function jp(a,b){var c=0,d=0,e=0;c=Ce-16|0;Ce=c;C[c+12>>2]=0;C[c+8>>2]=0;a:{if(!lp(a,b,c+12|0,c+8|0)){break a}d=b;b=C[c+8>>2];if(D[a+b|0]?(d|0)!=(b|0):0){break a}e=C[c+12>>2]}Ce=c+16|0;return e}function qh(a,b,c){var d=0,e=0;a:{if(b){d=af(b);e=d+1|0;b:{if(d>>>0<=2147483646){d=Fe[C[a+4>>2]](a,e)|0;if(d){break b}C[c>>2]=64;return 0}d=0;a=6;if(e){break a}}t(d,b,e)}a=0}C[c>>2]=a;return d}function kJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ce-16|0;Ce=e;a=Ib(C[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){C[105773]=a;a=-1}else{a=0}Ce=e+16|0;Ee=a?-1:C[e+12>>2];return(a?-1:C[e+8>>2])|0}function ip(a,b){var c=0;c=35;a:{if(!a|!(D[a+8|0]&2)){break a}c=6;if((b|0)<0|C[a+28>>2]<=(b|0)){break a}c=C[C[C[a+96>>2]+12>>2]+92>>2];if(c){return Fe[c|0](C[a+88>>2],b)|0}ei(a,b);c=0}return c}function fp(a,b){var c=0;a:{b:{if(!a|!b){break b}c=O(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647;if(K(c)<2147483648){a=~~c}else{a=-2147483648}if(!b){break b}if(c>=-2147483648){break a}}a=0}return a}function lg(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=C[a+8>>2]+b|0;d=C[a+20>>2];b:{if(d){if(!(Fe[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>F[a+4>>2]){break a}}C[a+8>>2]=b;c=0}return c}function IP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=C[b+8>>2];if(d){Fe[d|0](b)}c=C[C[c+12>>2]+60>>2];if(c){Fe[c|0](b)}c=C[b+40>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+40>>2]=0;if(b){Fe[C[a+8>>2]](a,b)}}function oo(a){var b=0;b=C[a+72>>2];C[a+72>>2]=b-1|b;b=C[a>>2];if(b&8){C[a>>2]=b|32;return-1}C[a+4>>2]=0;C[a+8>>2]=0;b=C[a+44>>2];C[a+28>>2]=b;C[a+20>>2]=b;C[a+16>>2]=b+C[a+48>>2];return 0}function Gt(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:A[a|0]=c;return;case 1:B[a>>1]=c;return;case 2:case 3:C[a>>2]=c;return;case 5:break b;default:break a}}C[a>>2]=c;C[a+4>>2]=d}}function EK(a,b){a=a|0;b=b|0;var c=0;c=Ce-16|0;Ce=c;b=Lk(a,b,c+8|0);a:{if(b){break a}a=C[C[C[a+4>>2]+128>>2]+48>>2];if(!a){break a}Fe[C[C[a>>2]+4>>2]](C[a+4>>2],c+8|0)}Ce=c+16|0;return b|0}function wA(a,b){a=a|0;b=b|0;var c=0,d=0;c=1;a:{if(C[b>>2]!=512){break a}d=D[b+12|0];if(C[b+8>>2]!=C[C[a>>2]+8>>2]|(d-5&255)>>>0>1){break a}c=0;if((d|0)!=5){break a}C[a+4>>2]=1}return c|0}function co(a,b,c,d,e,f,g,h,i){var j=0;j=Ce-16|0;Ce=j;$g(j,b,c,d,e,f,g,h,i^-2147483648);d=C[j>>2];c=C[j+4>>2];b=C[j+12>>2];C[a+8>>2]=C[j+8>>2];C[a+12>>2]=b;C[a>>2]=d;C[a+4>>2]=c;Ce=j+16|0}function tK(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+416>>2];a:{if((c|0)>0){d=C[a+420>>2];a=0;while(1){if(!Se(b,C[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Nn(a){var b=0;C[105589]=a;a:{if(C[105590]){break a}if(a){C[105590]=a}b=C[105550];if(!(C[105569]|(!a|!C[105591]))){if(!b){break a}Fe[b|0](a)|0;return}if(!b){break a}Fe[b|0](0)|0}}function zQ(a){a=a|0;var b=0,c=0;b=C[a+4>>2];c=C[C[b+656>>2]+2952>>2];a:{if(!c){break a}b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b){break a}b=Fe[C[c+8>>2]](b)|0;C[C[a+156>>2]+36>>2]=b}return 0}function nl(a,b){var c=0,d=0;b=b<<2;d=C[b+382196>>2];while(1){a:{c=C[(b+C[a+72>>2]|0)+148>>2]!=(d|0);if(c){break a}a=C[a+12>>2];if(!a){break a}if((a|0)!=382264){continue}}break}return c}function bJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=C[a+84>>2];d=c+256|0;f=lj(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;jf(b,e,c);b=e+d|0;C[a+84>>2]=b;C[a+8>>2]=b;C[a+4>>2]=c+e;return c|0}function Se(a,b){var c=0,d=0;c=D[a|0];d=D[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=D[b+1|0];c=D[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 PB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=mo(b,c,d,C[a+28>>2]);a:{if(b){break a}a=C[a+28>>2];b:{if(C[a+76>>2]<0){a=C[a>>2];break b}a=C[a>>2]}if(!(a>>>5&1)){break a}_e(1)}return b|0}function KJ(a){a=a|0;var b=0,c=0,d=0;c=Ce-16|0;Ce=c;d=iw(C[C[a>>2]+500>>2],c+12|0);b=a;a=C[c+12>>2];C[b+44>>2]=a;if(a){b=C[a>>2];if(!(!b|!C[b+96>>2])){C[b+88>>2]=a}}Ce=c+16|0;return d|0}function iH(a){a=a|0;C[a+36>>2]=226;C[a+32>>2]=227;C[a+28>>2]=228;C[a+24>>2]=229;C[a+20>>2]=230;C[a+16>>2]=231;C[a+4>>2]=232;C[a>>2]=233;C[a+76>>2]=1;C[a+80>>2]=1;C[a+64>>2]=1;return 1}function Mf(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=C[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return C[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function vg(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]>b+3>>>0){c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b=b+4|0}C[a+32>>2]=b;return c}function FQ(a,b){a=a|0;b=b|0;var c=0;c=xh(276352,b);a:{if(c){break a}c=0;if(!a){break a}a=C[a+4>>2];if(!a){break a}a=Dg(a,3922);if(!a){break a}c=Fe[C[C[a>>2]+32>>2]](a,b)|0}return c|0}function zv(a){a=a|0;var b=0,c=0;b=C[a+8>>2];if(b){a=C[a+16>>2];c=C[a+4>>2];C[b+108>>2]=C[a>>2];C[b+112>>2]=c;C[b+124>>2]=C[a+16>>2];c=C[a+12>>2];C[b+116>>2]=C[a+8>>2];C[b+120>>2]=c}}function kN(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(A[a+20|0]&1){d=cv(a,c+12|0,0);break a}d=bv(a,c+12|0,0)}a=d;Ce=c+16|0;return a|0}function iL(a,b){a=a|0;b=b|0;var c=0;C[a+112>>2]=b;c=C[a>>2];if(A[c+8|0]&1){ei(c,b);Go(a);return 0}b=Fe[C[C[c+532>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}C[a+112>>2]=-1;return b|0}function hT(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=C[a+12>>2];C[e>>2]=0;if((d|0)==-1){d=af(c)}b=a;f=C[a+76>>2];a=C[a+72>>2];return Fe[C[a+212>>2]](b,f,c,d,e,C[a+76>>2])|0}function Eg(a){var b=0,c=0;c=Ug(a);b=C[104767];a:{if(!b){break a}while(1){if(!uf(a,C[b>>2])){if(C[b+8>>2]!=2?c:0){break a}return C[b+4>>2]}b=C[b+16>>2];if(b){continue}break}}return c}function fk(a,b){var c=0,d=0;d=C[a+4>>2];c=C[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(I(c,12)|0)/10|0;C[a+28>>2]=b;C[a+24>>2]=(b-c|0)/2;C[a+20>>2]=C[a+8>>2]+(C[a+16>>2]/-2|0)}function at(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){Qe(4480,0);a=0;break a}d=C[a+44>>2];a=D[C[a+48>>2]+b|0];if((d|0)>(b|0)){break a}C[c>>2]=d;Qe(6262,c);a=0}Ce=c+16|0;return a&255}function IJ(a){a=a|0;var b=0,c=0,d=0;d=Ce-16|0;Ce=d;b=C[a+4>>2];c=C[b+500>>2];a:{if(!C[b+84>>2]){c=c+84|0;b=0;break a}b=c;c=d+12|0;b=mw(b,c)}C[a+160>>2]=C[c>>2];Ce=d+16|0;return b|0}function $s(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){Qe(4480,0);a=0;break a}d=C[a+60>>2];a=D[C[a+64>>2]+b|0];if((d|0)>(b|0)){break a}C[c>>2]=d;Qe(6801,c);a=0}Ce=c+16|0;return a&255}function kS(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b>>2];d=C[a>>2];if((c|0)!=(d|0)){return(c>>>0>d>>>0?-1:1)|0}a=C[a+4>>2];b=C[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function Yo(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=C[a>>2];if(e){while(1){f=C[e+4>>2];if(b){Fe[b|0](c,C[e+8>>2],d)}Fe[C[c+8>>2]](c,e);e=f;if(e){continue}break}}C[a>>2]=0;C[a+4>>2]=0}}function Il(a,b,c){var d=0,e=0;a:{if((b|0)<0){break a}d=C[a+12>>2];if(C[d+4>>2]<=(b|0)){break a}Kf(c,C[C[a+20>>2]+(b<<2)>>2],A[C[d+8>>2]+b|0]);e=A[C[C[a+12>>2]+8>>2]+b|0]}return e}function MM(a,b){a=a|0;b=b|0;C[a+16>>2]=b;b=D[b+6|0]|D[b+7|0]<<8|(D[b+8|0]<<16|D[b+9|0]<<24);C[a+28>>2]=0;C[a+32>>2]=0;C[a+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function Dq(a,b){var c=0;if(C[a+4>>2]){c=C[a+132>>2];if(c){Fe[c|0](C[a- -64>>2])}if(b){C[a+132>>2]=0;C[a+64>>2]=0;C[a+200>>2]=b;return}C[a+132>>2]=0;C[a+64>>2]=0;C[a+200>>2]=660}}function Vj(a){var b=0,c=0;b=C[95655];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ge()<<16>>>0){if(!(Nb(a|0)|0)){break a}}C[95655]=a;return b}C[105773]=48;return-1}function ow(a,b){var c=0,d=0;c=C[a+156>>2];if(!(!c|!(A[c+4|0]&1))){c=C[C[a+4>>2]+100>>2];d=C[a+88>>2];if(d){Fe[C[c+8>>2]](c,d)}c=C[a+156>>2];C[c+4>>2]=C[c+4>>2]&-2}C[a+88>>2]=b}function lr(a){var b=0,c=0;b=C[105668];if(!b){return Qe(19865,0)}if(!cj(C[b+792>>2])){return Qe(4064,0)}b=C[105668];c=C[b+216>>2];if(c){return Fe[c|0](b,a)|0}return Qe(20055,0)}function NB(a){a=a|0;var b=0,c=0,d=0,e=0;c=Fe[C[a+4>>2]](a,0,0,1)|0;b=Ee;d=b;if((b|0)<0){Ee=-1;return-1}e=Fe[C[a+4>>2]](a,0,0,2)|0;b=Ee;Fe[C[a+4>>2]](a,c,d,0)|0;Ee=b;return e|0}function Kz(a,b){var c=0;if(C[a+4>>2]){c=C[a+144>>2];if(c){Fe[c|0](C[a+76>>2])}if(b){C[a+144>>2]=0;C[a+76>>2]=0;C[a+212>>2]=b;return}C[a+144>>2]=0;C[a+76>>2]=0;C[a+212>>2]=663}}function Fq(a,b){var c=0;if(C[a+4>>2]){c=C[a+108>>2];if(c){Fe[c|0](C[a+40>>2])}if(b){C[a+108>>2]=0;C[a+40>>2]=0;C[a+176>>2]=b;return}C[a+108>>2]=0;C[a+40>>2]=0;C[a+176>>2]=656}}function Eq(a,b){var c=0;if(C[a+4>>2]){c=C[a+120>>2];if(c){Fe[c|0](C[a+52>>2])}if(b){C[a+120>>2]=0;C[a+52>>2]=0;C[a+188>>2]=b;return}C[a+120>>2]=0;C[a+52>>2]=0;C[a+188>>2]=658}}function Cq(a,b){var c=0;if(C[a+4>>2]){c=C[a+140>>2];if(c){Fe[c|0](C[a+72>>2])}if(b){C[a+140>>2]=0;C[a+72>>2]=0;C[a+208>>2]=b;return}C[a+140>>2]=0;C[a+72>>2]=0;C[a+208>>2]=662}}function bR(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(C[b+72>>2]!=1869968492){break a}c=C[a>>2];a=a+20|0;c=gp(c,B[b+110>>1],B[b+108>>1],a);if(c){break a}aw(b+108|0,a);c=0}return c|0}function UC(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ce-16|0;Ce=c;d=C[b+80>>2];C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=C[b+12>>2];C[c+12>>2]=C[b+16>>2];Wr(a,b,c,C[d+16>>2],C[d+20>>2]);Ce=c+16|0}function $S(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Ce-16|0;Ce=d;if(cl(C[b+4>>2],c,C[b+8>>2]|16,d+12|0)){a=0}else{b=C[d+12>>2];a=(C[a+24>>2]<0?b:0-b|0)+512>>10}Ce=d+16|0;return a|0}function jv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(C[b+72>>2]!=C[a+16>>2]){break a}if(c){Si(b+108|0,c)}e=0;if(!d){break a}Pg(b+108|0,C[d>>2],C[d+4>>2])}return e|0}function hs(a,b,c){var d=0;d=Ce-16|0;Ce=d;a:{if(!(C[a>>2]==422390?a:0)){C[d>>2]=16603;Qe(19745,d);break a}if(b){C[b>>2]=C[a+12>>2]}if(!c){break a}C[c>>2]=C[a+16>>2]}Ce=d+16|0}function _J(a){a=a|0;var b=0,c=0;b=C[a+4>>2];c=C[b+320>>2];a:{if(!c){break a}b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b){break a}b=Fe[C[c+4>>2]](b)|0;C[C[a+156>>2]+36>>2]=b}return 0}function GQ(a){a=a|0;C[a+36>>2]=500;C[a+40>>2]=400;A[a+32|0]=0;C[a+28>>2]=1;C[a+60>>2]=2333;C[a+64>>2]=0;C[a+52>>2]=1667;C[a+56>>2]=275;C[a+44>>2]=1e3;C[a+48>>2]=275;return 0}function AK(a){a=a|0;var b=0,c=0;b=C[a+4>>2];c=C[b+548>>2];a:{if(!c){break a}b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b){break a}b=Fe[C[c+4>>2]](b)|0;C[C[a+156>>2]+36>>2]=b}return 0}function Kq(a,b){var c=0;if(C[a+4>>2]){c=C[a+80>>2];if(c){Fe[c|0](C[a+12>>2])}if(b){C[a+80>>2]=0;C[a+12>>2]=0;C[a+148>>2]=b;return}C[a+80>>2]=0;C[a+12>>2]=0;C[a+148>>2]=650}}function Jq(a,b){var c=0;if(C[a+4>>2]){c=C[a+88>>2];if(c){Fe[c|0](C[a+20>>2])}if(b){C[a+88>>2]=0;C[a+20>>2]=0;C[a+156>>2]=b;return}C[a+88>>2]=0;C[a+20>>2]=0;C[a+156>>2]=652}}function Iq(a,b){var c=0;if(C[a+4>>2]){c=C[a+92>>2];if(c){Fe[c|0](C[a+24>>2])}if(b){C[a+92>>2]=0;C[a+24>>2]=0;C[a+160>>2]=b;return}C[a+92>>2]=0;C[a+24>>2]=0;C[a+160>>2]=653}}function Hq(a,b){var c=0;if(C[a+4>>2]){c=C[a+96>>2];if(c){Fe[c|0](C[a+28>>2])}if(b){C[a+96>>2]=0;C[a+28>>2]=0;C[a+164>>2]=b;return}C[a+96>>2]=0;C[a+28>>2]=0;C[a+164>>2]=654}}function VO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;C[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=F[a+408>>2]){break a}C[c>>2]=C[(C[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Ap(a,b,c){a=a|0;b=b|0;c=c|0;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=Hg(a+b|0,b+94660|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a|0}function sN(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[a+16>>2]+6|0;a=C[b>>2];while(1){a=a+1|0;if(a>>>0>255){C[b>>2]=0;return 0}c=D[a+d|0];if(!c){continue}break}C[b>>2]=a;return c|0}function ci(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=Te(C[a>>2],C[b>>2]);d=Te(C[a+4>>2],C[b+4>>2]);e=Te(C[a>>2],C[b+8>>2]);b=Te(C[a+4>>2],C[b+12>>2]);C[a>>2]=c+d;C[a+4>>2]=b+e}}function yf(a,b,c){var d=0,e=0;while(1){a=kg(a,c);d=(a|0)!=0&a>>>0>>0;if(d){a=af(c)+a|0;e=D[a|0];if((e-48&255)>>>0<10|((e&-33)-65&255)>>>0<26){continue}}break}return d}function Ej(a,b,c,d,e){var f=0;f=Ce-16|0;Ce=f;a:{if(!(C[a>>2]==422389?a:0)){C[f>>2]=9675;Qe(19745,f);break a}A[a+420|0]=b;A[a+423|0]=e;A[a+422|0]=d;A[a+421|0]=c}Ce=f+16|0}function uL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=C[a+24>>2];c=bf(b,c);a:{if(c){break a}c=Bf(b,d);if(c){break a}C[a+200>>2]=C[b+32>>2];C[a+204>>2]=C[b+36>>2];c=0}return c|0}function aB(a){a=a|0;var b=0;a:{b:{if(a){b=C[105559];if(!b){break b}a=0;if((za(C[C[b+164>>2]+12>>2],1)|0)<0){break b}break a}a=0;if((pb()|0)>=0){break a}}a=-1}return a|0}function $u(a,b){a=a|0;b=b|0;C[a+16>>2]=b;b=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);A[a+24|0]=0;C[a+40>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function ag(a){var b=0;if(a){b=C[a>>2];if(b){Pl(b+32|0,a)}C[a>>2]=0;C[a+80>>2]=0;C[a+84>>2]=0;a=a- -64|0;b=C[a>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}C[a>>2]=0}}function QG(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(!D[d|0]){break a}a=0;if((Zf(d)|0)<0){break a}a=3;if((Zf(d)|0)>3){break a}a=Zf(d)}C[104751]=a}function $C(a){a=a|0;var b=0;b=Ce-288|0;Ce=b;We(b+12|0,0,136);C[b+140>>2]=268435456;C[b+8>>2]=468;pi(a,b+8|0,b+148|0);Ce=b+288|0;a=a-2|0;if(!a|(a|0)==13){A[422388]=1}}function nn(a){var b=0;b=C[105668];a:{if(!b){break a}b=C[b+380>>2];if(!b){break a}while(1){if(C[b+4>>2]==(a|0)){return b}b=C[b+172>>2];if(b){continue}break}}return 0}function iT(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=C[a+12>>2];if(e){A[d|0]=0}b=a;f=C[a+76>>2];a=C[a+72>>2];return Fe[C[a+208>>2]](b,f,c,d,e,C[a+72>>2])|0}function fN(a,b){a=a|0;b=b|0;a=C[a+16>>2];b=b-(D[a+6|0]<<8|D[a+7|0])|0;if(b>>>0<(D[a+9|0]|D[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=D[a+10|0]<<8|D[a+11|0]}else{a=0}return a|0}function wP(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(F[a+4>>2]>>0){break a}}e=C[a+12>>2];if(C[a+8>>2]!=(b|0)){lo(e,b,0)}e=mo(c,1,d,e)}return e|0}function WM(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=10;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function SM(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=12;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function NM(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=13;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function pJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=C[b>>2]+1|0;b=C[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}C[e>>2]=b;return d|0}function gC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=C[b+80>>2];b=C[a+16>>2];C[d>>2]=(C[a+20>>2]+I(b,C[c+4>>2])|0)+I(C[c>>2],D[C[a+4>>2]+9|0]);C[e>>2]=b;return 0}function _M(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=8;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function Sh(a,b,c){var d=0;d=C[105668];if(!d){Qe(19865,0);return}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);return}if(b){C[b>>2]=C[a+24>>2]}if(c){C[c>>2]=C[a+28>>2]}}function qt(a){if((a|0)>=0){C[94436]=(a|0)>=128?128:a;qi();if(!(!C[104388]|!C[C[C[104388]>>2]+36>>2])){a=C[104388];Fe[C[C[a>>2]+36>>2]](C[a+4>>2],C[94436])}mi()}}function pm(a,b){var c=0;if(!a){return 0}a:{if(!b){break a}c=C[a+692>>2];b:{if(c){c=Fe[c|0](a,b)|0;break b}c=kf(b)}if(!c){break a}return We(c,0,b)}Af(a,1277);s()}function Zt(a){var b=0;b=C[a>>2]-1|0;b=A[(I(0-b&b,124511785)>>>27|0)+373744|0];if(!b){a=C[a+4>>2];a=A[(I(0-a&a,124511785)>>>27|0)+373744|0];b=a?a+32|0:0}return b}function WQ(a,b){a=a|0;b=b|0;C[a+2988>>2]=b;C[a+2980>>2]=C[b+28>>2];C[a+4>>2]=C[b+8>>2];C[a+12>>2]=C[b+12>>2];C[a+8>>2]=C[b+16>>2];C[a+16>>2]=C[b+20>>2];return 0}function PJ(a,b){a=a|0;b=b|0;var c=0;c=C[b+96>>2];if(!((c|0)<0|C[a+300>>2]<=(c|0))){a=C[a+304>>2]+I(c,252)|0;b=Fe[C[b+40>>2]](b,0)|0;C[a+180>>2]=b;C[a+208>>2]=b}}function xh(a,b){var c=0;a:{if(!a|!b){break a}c=C[a>>2];if(!c){break a}while(1){if(!Se(c,b)){return C[a+4>>2]}c=C[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function Uz(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=C[a+12>>2];C[e>>2]=0;b=a;f=C[a+76>>2];a=C[a+72>>2];return Fe[C[a+164>>2]](b,f,c,d,e,C[a+28>>2])|0}function RB(a){a=a|0;var b=0;if(!a){return 0}a:{if(!C[a+24>>2]){break a}if(!po(C[a+28>>2])){break a}b=_e(2)}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}return b|0}function uJ(a,b){a=a|0;b=b|0;var c=0;c=C[a>>2];b=C[c+132>>2];ei(c,0);c=E[b+80>>1];C[a+24>>2]=c<<6;C[a+28>>2]=c-E[b+96>>1]<<6;C[a+36>>2]=E[b+102>>1]<<6;return 0}function sO(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+484>>2];C[a+24>>2]=C[b+416>>2];C[a+28>>2]=C[b+420>>2];C[a+20>>2]=C[c+20>>2];C[a+16>>2]=C[c+24>>2];return 0}function oO(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+484>>2];C[a+24>>2]=C[b+416>>2];C[a+28>>2]=C[b+420>>2];C[a+20>>2]=C[c+20>>2];C[a+16>>2]=C[c+28>>2];return 0}function bf(a,b){var c=0,d=0;d=C[a+20>>2];a:{b:{if(d){c=85;if(!(Fe[d|0](a,b,0,0)|0)){break b}break a}c=85;if(F[a+4>>2]>>0){break a}}C[a+8>>2]=b;c=0}return c}function SP(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[a>>2];c=C[d+140>>2];ei(d,b);C[a+24>>2]=C[c+40>>2]<<6;C[a+28>>2]=0-(C[c+44>>2]<<6);C[a+36>>2]=E[c+4>>1]<<6;return 0}function $f(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}d=C[a+208>>2];if(!(D[a+375|0]&32?(d&768)!=768:!(d&2048))){break a}e=a,f=Vg(C[a+400>>2],b,c),C[e+400>>2]=f}}function jt(a,b){var c=0,d=0;c=Sf(C[104744],I(C[104745],12)+12|0);if(c){C[104744]=c;d=C[104745];c=c+I(d,12)|0;C[c+8>>2]=0;C[c+4>>2]=b;C[c>>2]=a;C[104745]=d+1}}function dp(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]<=b+3>>>0){C[a+32>>2]=b;return 0}c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[a+32>>2]=b+4;return c}function sQ(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+656>>2];if(!C[c+1160>>2]){return 163}return Fe[C[C[c+2956>>2]+4>>2]](C[b+100>>2],a,C[c+12>>2],847,0,b)|0}function pj(a,b){var c=0,d=0;a:{if(!a){break a}c=C[a+28>>2];b:{if(!a){break b}d=C[a+24>>2];if(!d){break b}Fe[d|0](a)}if(b){break a}if(a){Fe[C[c+8>>2]](c,a)}}}function rM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1668112752,b,a+504|0)|0;if(!c){c=dh(b,C[a+504>>2],a+500|0);if(!c){return 0}C[a+504>>2]=0}return c|0}function XN(a){a=a|0;var b=0;if(a){C[a+412>>2]=0;C[a+4>>2]=0;C[a+1960>>2]=0;C[a+1444>>2]=0;C[a+928>>2]=0;C[a+208>>2]=0;b=C[a>>2];if(a){Fe[C[b+8>>2]](b,a)}}}function RS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!ok(a,1751216995,c)){break a}if(!ok(a,1751413603,c+4|0)){break a}b=ok(a,1751934832,c+8|0)}return b|0}function PS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!ok(a,1986098019,c)){break a}if(!ok(a,1986294627,c+4|0)){break a}b=ok(a,1986815856,c+8|0)}return b|0}function oR(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?B[(D[(b>>>2&63|D[(b>>>9|0)+222692|0]>>>(b>>>6&4)<<6&960)+222820|0]<<3|(b&3)<<1)+262416>>1]:0)+b|0}function Kr(){var a=0,b=0;a=C[105595];C[105595]=1;if(a){a=0;while(1){a:{if((a|0)<=31){a=a+1|0;break a}lh(0)}b=C[105595];C[105595]=1;if(b){continue}break}}}function Ih(a){var b=0,c=0;b=a*a;c=b*a;return J(c*(b*b)*(b*2718311493989822e-21+-.00019839334836096632)+(c*(b*.008333329385889463+-.16666666641626524)+a))}function kr(){var a=0,b=0,c=0;a=C[105668];a:{if(!a){break a}if(!cj(C[a+792>>2])){break a}a=C[105668];b=C[a+220>>2];if(!b){break a}c=Fe[b|0](a)|0}return c}function df(a,b){var c=0,d=0;a:{if(!a){break a}c=mT(a,0,b,0);d=Ee;if((a|b)>>>0<65536){break a}c=d?-1:c}a=kf(c);if(!(!a|!(D[a-4|0]&3))){We(a,0,c)}return a}function as(a,b,c,d,e,f,g,h,i,j,k){var l=0;l=xk(a,10,b);if(!l){return-1}a=Fe[C[a+48>>2]](a,l,b,c,8,d,0,e,f,g,h,i,4,j,k)|0;if((a|0)<0){C[l>>2]=0}return a}function _o(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=D[b|0];if(!d){break a}A[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}A[a|0]=0}function Fw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=C[a+532>>2];C[d>>2]=0;C[d+4>>2]=0;if(e){f=d,g=Fe[C[e+84>>2]](a,b,c)|0,C[f>>2]=g}return 0}function wk(a){var b=0;b=Ce-16|0;Ce=b;C[b+12>>2]=0;Fe[C[a+8>>2]](a,b+12|0,4,1)|0;Ce=b+16|0;a=C[b+12>>2];return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function nR(a,b,c){a=a|0;b=b|0;c=c|0;return C[((b>>>0>917999?2:D[(b&15|E[(b>>>3&62|D[(b>>>9|0)+223780|0]<<6)+245584>>1]<<4)+225574|0])<<2)+262816>>2]}function Kj(a,b){var c=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=3395;Qe(19745,c);break a}if(C[a+44>>2]<=0|C[a+48>>2]<=0){break a}Ms(a,a+36|0,1,b)}Ce=c+16|0}function zN(a,b,c){a=a|0;b=b|0;c=c|0;c=C[a+112>>2];B[a+156>>1]=0-c;b=B[b>>1];C[a+148>>2]=0-I(b,c);if((c|0)>0){C[a+148>>2]=I(C[a+104>>2]+(b^-1)|0,c)}}function ni(a,b,c,d){var e=0;a=C[a+52>>2];A[a+78|0]=d;A[a+77|0]=c;A[a+76|0]=b;e=C[a+68>>2];b=e&-2|(b&c&d)!=255;C[a+68>>2]=b;if((b|0)!=(e|0)){ag(a)}}function mv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ce-16|0;Ce=c;C[b>>2]=0;d=hf(a,4,c+12|0);e=C[c+12>>2];if(!e){C[d>>2]=a;C[b>>2]=d}Ce=c+16|0;return e|0}function dk(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=O(Hh(+(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 Mi(a,b){var c=0;a:{if(!a){b=0;break a}if(b){c=C[a+692>>2];b:{if(c){b=Fe[c|0](a,b)|0;break b}b=kf(b)}if(b){break a}}Af(a,1277);s()}return b}function kP(a,b){a=a|0;b=b|0;var c=0;c=C[a>>2];ei(c,b);C[a+24>>2]=C[c+204>>2]<<6;C[a+28>>2]=0-(C[c+208>>2]<<6);C[a+36>>2]=B[c+236>>1]<<6;return 0}function YC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=df(1,32);C[a+4>>2]=C[b>>2];c=C[b+8>>2];C[a+20>>2]=b;C[a>>2]=c;d=a,e=df(2,4),C[d+8>>2]=e;return a|0}function Nk(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=C[a+12>>2];if((B[a+22>>1]+b|0)+B[a+58>>1]>>>0<=F[a+4>>2]){break a}c=Qg(a,b,0)}return c|0}function At(a,b){var c=0;a=C[a>>2];c=C[b+12>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}function DR(a){a=a|0;var b=0;b=a+24|0;Xe(b,1668049255,1,1);a=C[105670];if(!a){$q();a=C[105670]}if(a&4){Xe(b,1801810542,1,0)}Xe(b,1818847073,1,0)}function tR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=C[a+12>>2];C[d>>2]=0;if(!(!b|!c)){e=(Fe[C[a+36>>2]](a,b,c,d,C[a+68>>2])|0)!=0}return e|0}function mh(a){var b=0;b=C[a+28>>2];a:{if(b){break a}b=0;if(!(D[a|0]&2)){break a}Jj(a,1);C[a>>2]=C[a>>2]|2;b=C[a+28>>2]}C[a+28>>2]=b+1;return 0}function cR(a,b){a=a|0;b=b|0;var c=0;c=C[a+20>>2];C[b>>2]=c<<6;C[b+8>>2]=c+C[a+32>>2]<<6;c=C[a+24>>2];C[b+12>>2]=c<<6;C[b+4>>2]=c-C[a+28>>2]<<6}function LM(a){a=a|0;var b=0,c=0;C[a+28>>2]=0;b=C[a+36>>2];a:{if(!b){break a}c=C[a+32>>2];if(!c){break a}if(c){Fe[C[b+8>>2]](b,c)}C[a+32>>2]=0}}function Er(a,b){var c=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=19490;Qe(19745,c);break a}if((ps(C[a+4>>2],b)|0)<0){break a}ag(C[a+52>>2])}Ce=c+16|0}function Qi(a,b){a:{if(!a){break a}a=C[a>>2];if(!a){break a}while(1){if(C[a+8>>2]==(b|0)){return a}a=C[a+4>>2];if(a){continue}break}}return 0}function Jh(a){var b=0;a=a*a;b=a*a;return J(a*b*(a*2439044879627741e-20+-.001388676377460993)+(b*.04166662332373906+(a*-.499999997251031+1)))}function tl(a){var b=0;a:{if(!a){break a}b=C[105668];if(!b){break a}if((cj(C[b+792>>2])|0)==(a|0)){sh(0,0)}b=C[105668];Fe[C[b+228>>2]](b,a)}}function Sn(a){var b=0,c=0;b=Ce+-64|0;Ce=b;c=C[(a>>>6&1020)+417952>>2];if(!(C[(a>>>3&28)+c>>2]>>>a&1?c:0)){C[b+8>>2]=a;Df(b+8|0)}Ce=b- -64|0}function yy(a){a=C[fh(a+136|0)>>2];a=a?a:205712;a=F[a+16>>2]<10?205712:C[a+12>>2];return(D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))!=0}function jT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[a+12>>2];Fe[C[a+4>>2]](a,b,b>>31,0)|0;if(d){a=Fe[C[a+8>>2]](a,c,1,d)|0}else{a=0}return a|0}function PC(a){a=a|0;var b=0,c=0;if(a){b=C[a+8>>2];if(b){c=C[b>>2];if(c){Re(c);b=C[a+8>>2]}c=C[b+4>>2];if(c){Re(c);b=C[a+8>>2]}Re(b)}Re(a)}}function JA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=J(0);f=J(J(+W())*J(96));if(c){G[c>>2]=f}if(d){G[d>>2]=f}if(e){G[e>>2]=f}return 0}function hi(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=Jl(d,e,f,g,h);if(!a){Qe(4953,0);return 0}return Vh(b,c,a)|0}function go(a,b){var c=0,d=0;c=af(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=D[b|0]){continue}}break}return b}function bh(a,b){a=a|0;b=b|0;var c=0;a:{if(!(!a|!b)){c=C[a+692>>2];b:{if(c){a=Fe[c|0](a,b)|0;break b}a=kf(b)}if(a){break a}}a=0}return a|0}function ZN(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+4>>2];a:{if(c){break a}d=C[a>>2];c=pv(a+16|0,b,d);if(c){break a}c=pv(a+52|0,b,d)}return c|0}function VN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!(!a|!b|(!c|!(C[b+8>>2]&8)))){C[c>>2]=C[b+16>>2];C[d>>2]=E[b+20>>1];e=8}return e|0}function Hn(a){var b=0;if(a){b=C[a+8>>2];if(b){Re(b)}b=C[a+12>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}}function Yg(a){var b=0;a:{b=C[a+28>>2];if(!b){break a}C[a+28>>2]=b-1;if((b|0)>1){break a}b=C[a>>2];if(!(b&2)){break a}C[a>>2]=b&-3;Nl(a)}}function Sk(a){var b=0,c=0;b=O(1e10/+(a|0)+.5);a=b>=-2147483648;if(K(b)<2147483648){c=~~b}else{c=-2147483648}return b<=2147483647?a?c:0:0}function sR(a,b){a=a|0;b=b|0;a=E[a+16>>1];a=1<>>8|0:0;b=E[b+16>>1];b=1<>>8|0:0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function dJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=C[b>>2]+7&-8;C[c>>2]=b+16;d=a,e=bo(C[b>>2],C[b+4>>2],C[b+8>>2],C[b+12>>2]),H[d>>3]=e}function Ar(){var a=0,b=0;a=C[105617];a:{if(a){while(1){b=C[a+4>>2];if(!C[a>>2]){break a}a=C[a+8>>2];if(a){continue}break}}b=0}return b}function Of(a,b){var c=0;a:{b:{if(!b){break b}c=C[a+12>>2];if(!c){break b}a=Fe[c|0](a,b,C[a+16>>2])|0;if(a){break a}}a=205712}return a}function pR(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0>1114109?2:D[(b&15|E[(b>>>3&62|D[(b>>>9|0)+206128|0]<<6)+239248>>1]<<4)+208304|0])|0}function IK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=12;a:{if(Se(b,12285)){break a}d=7;if(C[c>>2]!=35){break a}C[a+64>>2]=35;d=0}return d|0}function hf(a,b,c){if((b|0)<=0){C[c>>2]=b?6:0;return 0}a=Fe[C[a+4>>2]](a,b)|0;if(!a){C[c>>2]=64;return 0}p(a,0,b);C[c>>2]=0;return a}function Ff(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]>b+1>>>0){c=D[b|0]|D[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}C[a+32>>2]=b;return c&65535}function qR(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?D[(b&7|D[(b>>>3&15|D[(b>>>7|0)+219040|0]<<4)+220020|0]<<3)+221460|0]:0)|0}function lN(a,b){a=a|0;b=b|0;var c=0;C[a+16>>2]=b;c=D[b+7|0];b=D[b+6|0];C[a+24>>2]=-1;C[a+28>>2]=0;C[a+32>>2]=(b<<8|c)>>>1;return 0}function gm(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=C[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=C[c>>2];C[a>>2]=d<>2]=c<>>32-b}function UJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){C[b>>2]=C[a+152>>2]}if(c){C[c>>2]=C[a+156>>2]}if(d){C[d>>2]=C[a+160>>2]}return 0}function OL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ce-16|0;Ce=e;a=Oo(a,b,e+12|0);if(!a){_o(c,C[e+12>>2],d)}Ce=e+16|0;return a|0}function Lf(a){var b=0;b=a;a=dz(a+52|0);a=D[a+18|0]|D[a+19|0]<<8;a=(a<<8|a>>>8)&65535;a=a-16>>>0>=16369?1e3:a;C[b+28>>2]=a;return a}function uk(a){var b=0;b=C[105668];if(!b){Qe(19865,0);return 0}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return 0}return C[a+48>>2]}function nO(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+376>>2];C[a+16>>2]=c;C[a+20>>2]=C[b+380>>2]-c;C[a+24>>2]=C[b+384>>2];return 0}function lA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(hn(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=hn(a,b+61440|0,c)}return d|0}function kL(a){a=a|0;var b=0;if(a){b=C[a+208>>2];if(b&64){_j(a,11715);return}C[a+208>>2]=b|16384;C[a+212>>2]=C[a+212>>2]|33558528}}function im(a,b){var c=0,d=0;c=C[a+4>>2];a:{if(b>>>0<=31){d=C[a>>2];break a}b=b-32|0;d=c;c=0}C[a+4>>2]=c>>>b;C[a>>2]=c<<32-b|d>>>b}function FG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ce-16|0;Ce=a;C[a+4>>2]=d;C[a>>2]=C[(c<<2)+127136>>2];hu(C[93444],34421,a);Ce=a+16|0}function on(a){var b=0;b=C[105668];if(!b){Qe(19865,0);return 0}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return 0}return C[a+4>>2]}function Nr(a){var b=0;b=Ce-16|0;Ce=b;B[b+14>>1]=0;Fe[C[a+8>>2]](a,b+14|0,2,1)|0;Ce=b+16|0;a=E[b+14>>1];return(a<<8|a>>>8)&65535}function FS(a,b,c){a=a|0;b=b|0;c=c|0;b=D[b|0]|D[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+c|0}else{b=205712}return(zf(b,a)|0)!=-1|0}function uR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;return(Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0)!=0|0}function fr(a){var b=0;C[a+84>>2]=0;A[a+73|0]=0;A[a+74|0]=1;C[a+96>>2]=C[a+92>>2];b=I(C[a+80>>2],20);if(b){We(C[a+100>>2],0,b)}}function bC(a){a=a|0;var b=0;b=C[a+548>>2];if(b){Fe[C[94506]](b);C[94507]=C[94507]-1}if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function aL(a){a=a|0;var b=0;if(a){b=C[a+208>>2];if(b&64){_j(a,11715);return}C[a+208>>2]=b|16384;C[a+212>>2]=C[a+212>>2]|20480}}function qL(a){a=a|0;var b=0;if(a){b=C[a+208>>2];if(b&64){_j(a,11715);return}C[a+208>>2]=b|16384;C[a+212>>2]=C[a+212>>2]|1024}}function RK(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=0-((c-b|0)+32&-64)|0;return a>>31&a}function OK(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=0-((c-b|0)+63&-64)|0;return a>>31&a}function KK(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=0-((c-b|0)+16&-32)|0;return a>>31&a}function xf(a){var b=0,c=0;if(C[a+20>>2]){b=C[a+28>>2];c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0}C[a+32>>2]=0;C[a+36>>2]=0}function vA(a,b){a=a|0;b=b|0;var c=0;a:{if(!(C[b>>2]!=512|D[b+12|0]!=4)){c=0;if(C[b+8>>2]==C[a+8>>2]){break a}}c=1}return c|0}function uA(a,b){a=a|0;b=b|0;var c=0;a:{if(!(C[b>>2]!=512|D[b+12|0]!=3)){c=0;if(C[b+8>>2]==C[a+8>>2]){break a}}c=1}return c|0}function lO(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+16>>2];return(c>>>0>b>>>0|C[a+20>>2]+c>>>0<=b>>>0?d:E[C[a+24>>2]+(b<<1)>>1])|0}function iv(a,b,c){a=a|0;b=b|0;c=c|0;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;if(C[b+72>>2]==C[a+16>>2]){di(b+108|0,c)}}function YN(a){a=a|0;C[a+12>>2]=1;C[a+16>>2]=0;C[a+4>>2]=0;C[a+76>>2]=0;C[a- -64>>2]=0;C[a+52>>2]=0;C[a+40>>2]=0;C[a+28>>2]=0}function RN(a){a=a|0;C[a+12>>2]=2;C[a+16>>2]=0;C[a+4>>2]=0;C[a+76>>2]=0;C[a- -64>>2]=0;C[a+52>>2]=0;C[a+40>>2]=0;C[a+28>>2]=0}function QK(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:a^-32)|0}function ds(a){var b=0;b=Ce-16|0;Ce=b;a:{if(!(C[a>>2]==422389?a:0)){C[b>>2]=9675;Qe(19745,b);break a}C[a+424>>2]=1}Ce=b+16|0}function Og(a){var b=0,c=0;c=af(a)+1|0;b=c;b=Fe[C[94503]](b>>>0<=1?1:b)|0;if(b){C[94507]=C[94507]+1}if(b){gf(b,a,c)}return b}function dH(a){a=a|0;var b=0,c=0;b=C[a+96>>2];c=C[b>>2];if((Fe[C[c+12>>2]](c,C[b+8>>2],1,C[a+16>>2])|0)!=C[a+16>>2]){wt(a)}}function QN(a){a=a|0;var b=0;C[a+140>>2]=0;C[a+112>>2]=0;b=C[a+12>>2];rv(a+28|0,b);rv(a- -64|0,b);C[a+12>>2]=0;C[a+16>>2]=0}function jh(a,b){var c=0;if(!b){return 0}a:{if(!a){break a}c=C[a+692>>2];if(!c){break a}return Fe[c|0](a,b)|0}return kf(b)}function SK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+16>>2]+(c<<3)|0;C[a+4>>2]=C[a+4>>2]+d;a=C[b+24>>2]+c|0;A[a|0]=D[a|0]|16}function Ii(a,b){var c=0;a=C[a+52>>2];A[a+79|0]=b;c=C[a+68>>2];b=c&-3|((b|0)!=255)<<1;C[a+68>>2]=b;if((b|0)!=(c|0)){ag(a)}}function Gi(a,b){var c=0;a:{if(!a){break a}c=D[a|0];if(!c){break a}if((c|0)!=48){b=1;if(wf(a,16581)){break a}}b=0}return b}function Ak(a,b){var c=0;c=-1;a:{if(C[a+8>>2]<=0){break a}b=Gj(a,b);if((b|0)<0){break a}c=C[C[a+24>>2]+(b<<2)>>2]}return c}function rJ(a,b){a=a|0;b=b|0;var c=0;b=C[C[a>>2]+132>>2];c=D[b+104|0];C[a+16>>2]=c;C[a+20>>2]=(D[b+105|0]-c|0)+1;return 0}function pi(a,b,c){if(a>>>0>=65){C[105773]=28;return}if(c){jf(c,I(a,140)+423312|0,140)}if(b){jf(I(a,140)+423312|0,b,140)}}function XG(a){a=a|0;var b=0;b=Ce-16|0;Ce=b;A[b+14|0]=105;A[b+15|0]=0;C[b>>2]=C[a+68>>2];S(386938,b+14|0,b|0)|0;Ce=b+16|0}function Qu(a,b,c){a=a|0;b=b|0;c=c|0;if(a){C[a+184>>2]=b;C[a+180>>2]=c?c:124;if(C[a+176>>2]){C[a+176>>2]=0}C[a+464>>2]=0}}function SG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(Gi(d,1)){d=0;if(!C[104494]){break a}if(Ws()){break a}}d=1}A[419008]=d}function BP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qk(C[a>>2],c,29922);if(!a){return 64}C[d>>2]=a;C[e>>2]=0;return 0}function AP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qk(C[a>>2],c,29950);if(!a){return 64}C[d>>2]=a;C[e>>2]=0;return 0}function dR(a,b){a=a|0;b=b|0;var c=0;c=C[a>>2];C[b+20>>2]=C[a+20>>2];C[b+24>>2]=C[a+24>>2];return bx(c,a+28|0,b+28|0)|0}function wv(a,b){a=a|0;b=b|0;a=C[a+4>>2]|C[a>>2]<<16;b=C[b+4>>2]|C[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function kv(a){a=a|0;var b=0;b=C[a+4>>2];Fe[C[C[C[a+12>>2]+56>>2]+8>>2]](C[a+52>>2],C[b+164>>2],C[b+168>>2]);return 0}function ao(a,b,c,d){if(b){A[b|0]=D[C[a+52>>2]+76|0]}if(c){A[c|0]=D[C[a+52>>2]+77|0]}if(d){A[d|0]=D[C[a+52>>2]+78|0]}}function UK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+16>>2]+(c<<3)|0;C[a>>2]=C[a>>2]+d;a=C[b+24>>2]+c|0;A[a|0]=D[a|0]|8}function JC(a,b){a=a|0;b=b|0;var c=0;b=lr((b|0)!=0);if(!b){c=kr();C[a+124>>2]=C[a+124>>2]&-5|((c|0)>0)<<2}return b|0}function Iw(a,b){var c=0;a:{if(!a|!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=0;Zk(a,c,65535,-1);nf(a,We(c,0,280))}}function Dw(a){a=a|0;var b=0,c=0;b=C[C[a>>2]+100>>2];c=C[a+20>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+16>>2]=0;C[a+20>>2]=0}function tM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1751474532,b,0)|0;if(!c){c=Ef(b,352032,a+160|0)}return c|0}function nM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1886352244,b,0)|0;if(!c){c=Ef(b,352528,a+468|0)}return c|0}function iM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1346587732,b,0)|0;if(!c){c=Ef(b,352640,a+548|0)}return c|0}function hw(a){a=a|0;var b=0,c=0;b=C[a+28>>2];c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0}function hM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1651008868,b,0)|0;if(!c){c=Ef(b,352032,a+160|0)}return c|0}function UA(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12){Vs()}bg(C[c+4>>2],(a|0)==13?12:13,0,0);return(qf(512,-1)|0)==1|0}function Rt(a,b,c,d,e,f,g,h,i){C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=d;C[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function GL(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((mo(b,1,c,C[a+184>>2])|0)==(c|0)){break a}Af(a,9282);s()}}function WS(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=hp(C[b+4>>2],c,d,e);b=!a;return(a|!e?b:D[d|0]!=0)|0}function $Q(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=gp(C[a>>2],B[a+22>>1],B[a+20>>1],b);if(!c){aw(a+20|0,b)}return c|0}function vh(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]>b+1>>>0){c=D[b|0]|D[b+1|0]<<8;b=b+2|0}C[a+32>>2]=b;return c}function bl(a){var b=0,c=0;if(a){b=C[C[a>>2]>>2];c=C[C[a+4>>2]+12>>2];if(c){Fe[c|0](a)}if(a){Fe[C[b+8>>2]](b,a)}}}function Om(a){var b=0;if(a){b=C[a>>2];if(b){Re(b)}b=C[a+16>>2];if(b){Re(b)}b=C[a+20>>2];if(b){Re(b)}We(a,0,360)}}function If(a,b){var c=0;c=a;a=(a|0)!=0&(b|0)!=0;a=Fe[C[94504]](a?c:1,a?b:1)|0;if(a){C[94507]=C[94507]+1}return a}function pT(a){var b=0,c=0;b=O(a);c=a-b;if(!(c<.5)){a=P(a);if(c>.5){return a}c=a;a=b*.5;b=a-O(a)==0?b:c}return b}function _l(a){a:{a=a-1|0;if(a>>>0<=15){a=C[(a<<2)+417824>>2];if(a){break a}}Qe(27615,0);return}Fe[C[104439]](a)}function Wo(a,b){a:{if(!(D[a+210|0]&16)){if(C[a+372>>2]?D[a+205|0]&128:0){break a}Af(a,b);s()}return}Ig(a,b);s()}function PK(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=0-(c-b&-64)|0;return a>>31&a}function PI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=nt(C[a+92>>2],b,c);d=d-c|0;if((d|0)>0){lf(b+c|0,D[a+35|0],d)}}function Ik(a,b){var c=0;a=C[a+52>>2];c=C[a+68>>2];b=c&-4097|((b|0)!=0)<<12;C[a+68>>2]=b;if((b|0)!=(c|0)){ag(a)}}function $l(a){a:{a=a-1|0;if(a>>>0<=15){a=C[(a<<2)+417824>>2];if(a){break a}}Qe(27615,0);return}Fe[C[104438]](a)}function qs(a){var b=0;if(a){b=C[a+4>>2];if(b){Re(b)}b=C[a+8>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}}function TQ(a,b){a=a|0;b=b|0;C[a+24>>2]=C[b+20>>2];C[a+4>>2]=C[b>>2];C[a+28>>2]=C[b+24>>2];$w(a,b,0);$w(a,b,1)}function QQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(!a|4294967295/(c>>>0)>>>0<=b>>>0)){d=bh(a,I(b,c))}return d|0}function ii(a){var b=0;b=Ce-16|0;Ce=b;C[b+12>>2]=0;Fe[C[a+8>>2]](a,b+12|0,4,1)|0;Ce=b+16|0;return C[b+12>>2]}function _z(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;return 0}function Xt(){var a=0;a=Qb(-100,22191,0)|0;if((a|0)==-31){a=Pb(22191)|0}if(a>>>0>=4294963201){C[105773]=0-a}}function WI(a){a=a|0;if(C[a+76>>2]<0){a=C[a+60>>2]}else{a=C[a+60>>2]}if((a|0)<0){C[105773]=8;a=-1}return a|0}function Hk(a,b){a=(C[C[a+52>>2]+68>>2]&240)-16|0;if(a>>>0<=127){a=C[(a>>>2|0)+148468>>2]}else{a=0}C[b>>2]=a}function sf(a,b){var c=0;c=b;b=af(b);if(cf(a,c,b)){a=0}else{a=D[a+b|0];if(!a){return 1}a=(a|0)==45}return a}function qB(a,b){a=a|0;b=b|0;a:{if(!b){break a}a=C[a+1080>>2];if(!a){break a}Fe[C[a+76>>2]](C[a+8>>2],b)|0}}function Lq(){var a=0;a=df(1,216);if(!a){return 382048}C[a>>2]=1;C[a+4>>2]=1;jf(a+148|0,382196,68);return a}function iO(a,b){a=a|0;b=b|0;b=C[a>>2];return Fe[C[C[b+484>>2]+4>>2]](C[b+100>>2],a,C[b+416>>2],959,0,b)|0}function xM(a,b){a=a|0;b=b|0;a=C[C[a>>2]+4>>2];b=C[C[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function wG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0);e=J(1);if(!(!d|!D[d|0])){e=J(mu(d))}G[a+100>>2]=e}function Wf(a,b){var c=0;if(!(!a|!C[a+20>>2])){a=C[a+28>>2];c=C[b>>2];if(c){Fe[C[a+8>>2]](a,c)}}C[b>>2]=0}function xG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0);e=J(1);if(!(!d|!D[d|0])){e=J(mu(d))}G[a+96>>2]=e}function mt(a,b){a=a|0;b=b|0;C[a+8>>2]=b;a=Xx(a+16|0,0);if((a|0)<0){Wl(14034,a);a=-1}else{a=0}return a|0}function Zo(a,b){var c=0;if(!(!a|!b)){c=C[a+4>>2];C[b>>2]=c;C[b+4>>2]=0;C[(c?c+4|0:a)>>2]=b;C[a+4>>2]=b}}function tj(a,b){if(!C[a+244>>2]){b=b+7|0;if(b>>>0<=9){b=C[(b<<2)+94976>>2]}else{b=18690}C[a+244>>2]=b}}function _G(a,b,c){a=a|0;b=b|0;c=c|0;lh((I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0);lf(b,D[a+11|0],c);return c|0}function GP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;if(!b){return 81}return Rk(b,333319,e)|0}function FP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;if(!b){return 81}return Rk(b,333312,e)|0}function VM(a,b){a=a|0;b=b|0;var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;a=_u(a,c+12|0,0);Ce=c+16|0;return a|0}function QM(a,b){a=a|0;b=b|0;var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;a=Yu(a,c+12|0,0);Ce=c+16|0;return a|0}function Ov(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ce-16|0;Ce=d;a=hf(a,I(b,c),d+12|0);Ce=d+16|0;return a|0}function NK(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 MP(a,b){a=a|0;b=b|0;b=C[a>>2];C[a+16>>2]=C[C[b+140>>2]+52>>2];C[a+20>>2]=C[b+144>>2];return 0}function tg(a){var b=0,c=0;if(a){while(1){b=b+1|0;c=a>>>0>1;a=a>>>1|0;if(c){continue}break}}return b}function nj(a,b){var c=0;if(!(!a|!b)){c=C[b>>2];b=C[b+4>>2];C[(c?c+4|0:a)>>2]=b;C[(b?b:a+4|0)>>2]=c}}function Vs(){var a=0;while(1){if(D[a+419614|0]==1){Tl(1,0,a)}a=a+1|0;if((a|0)!=512){continue}break}}function JP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;C[a+156>>2]=b;C[a+160>>2]=c;C[a+164>>2]=d;C[a+168>>2]=0}function gQ(a,b){a=a|0;b=b|0;a=C[a+656>>2];A[b|0]=0;if(!(!a|C[a+1456>>2]==65535)){A[b|0]=1}return 0}function Pk(a,b,c){if((b|0)>0){a=Fe[C[a+4>>2]](a,b)|0;C[c>>2]=!a<<6;return a}C[c>>2]=b?6:0;return 0}function tG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Gi(d,1);if((b|0)!=C[a+132>>2]){C[a+132>>2]=b;li(0)}}function ZE(a,b){a=a|0;b=b|0;var c=J(0),d=J(0);c=G[C[a>>2]>>2];d=G[C[b>>2]>>2];return(cd)|0}function RG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=419012,f=!Gi(d,1)|C[104506]!=0,A[e|0]=f}function DQ(a){a=a|0;var b=0;a:{if(!a){break a}a=jh(a,280);if(!a){break a}b=We(a,0,280)}return b|0}function rf(a,b,c,d){var e=0;e=Ce-16|0;Ce=e;C[e+12>>2]=d;a=Wj(a,b,c?c:34979,d);Ce=e+16|0;return a}function lB(a,b,c){a=a|0;b=b|0;c=c|0;if(!b){return sn(a,0,c)|0}return sn(a,C[C[b+164>>2]>>2],c)|0}function Zz(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;C[f>>2]=0;C[e>>2]=0;return 0}function GS(a,b,c){a=a|0;b=b|0;c=c|0;c=a;a=D[b|0]|D[b+1|0]<<8;return(c|0)==((a<<8|a>>>8)&65535)|0}function $G(a){a=a|0;C[a+72>>2]=1;C[a+28>>2]=235;C[a+4>>2]=236;C[a+64>>2]=1;C[a+68>>2]=1;return 1}function nf(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=C[a+696>>2];if(c){Fe[c|0](a,b);return}Re(b)}}function VD(a,b){a=a|0;b=b|0;a=C[C[a>>2]>>2];b=C[C[b>>2]>>2];return(a>>>0>b>>>0)-(a>>>0>>0)|0}function HK(a,b,c){a=a|0;b=b|0;c=c|0;if(Se(b,12285)){a=12}else{C[c>>2]=C[a+64>>2];a=0}return a|0}function Wi(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;C[c+8>>2]=a;a=um(c+8|0);Ce=c+16|0;return a}function OJ(a){a=a|0;var b=0;b=Dg(C[a+4>>2],16802);if(!b){return 11}C[a+28>>2]=C[b>>2];return 0}function uG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=a;a=Gi(d,0);C[b+124>>2]=a;if(a){zr(-1,-1,3219)}}function hv(a,b,c){a=a|0;b=b|0;c=c|0;return Fe[C[C[C[a+12>>2]+56>>2]+12>>2]](C[a+52>>2],b,c)|0}function hP(a,b){a=a|0;b=b|0;b=C[a>>2];C[a+16>>2]=C[b+296>>2];C[a+20>>2]=C[b+300>>2];return 0}function cS(a){a=a|0;a=a+24|0;Xe(a,1818914159,0,1);Xe(a,1986686319,0,1);Xe(a,1953131887,0,1)} -function RM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){C[a+696>>2]=d;C[a+692>>2]=c;C[a+688>>2]=b}}function Kl(a){var b=0;if(C[a+36>>2]){b=C[a+32>>2];if(b){Re(b)}b=C[a+8>>2];if(b){Re(b)}Re(a)}}function cj(a){var b=0,c=0;b=Ar();if(!(!a|!b|F[b>>2]>>0)){c=C[((a<<3)+b|0)-4>>2]}return c}function JJ(a){a=a|0;if(Qi(C[C[a>>2]+500>>2]+108|0,C[a+44>>2])){gw(C[a+44>>2]);C[a+44>>2]=0}}function Ci(a,b){var c=0;a:{c=St(a,1024);if((c|0)==1024){af(b);break a}Tt(a+c|0,b,1024-c|0)}}function vO(a){a=a|0;var b=0,c=0;b=C[a>>2];c=C[a+4>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+4>>2]=0}function qN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=0;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function mN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=2;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function hL(a,b,c){a=a|0;b=b|0;c=c|0;c=Ze(c,mm(a));a=C[a+384>>2]+(b<<2)|0;C[a>>2]=c+C[a>>2]}function gN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=4;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function cN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=6;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function ZQ(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Si(a+20|0,b)}if(c){Pg(a+20|0,C[c>>2],C[c+4>>2])}}function JG(a,b){a=a|0;b=+b;a=Xx(a+16|0,b);if((a|0)<0){Wl(14034,a);a=-1}else{a=0}return a|0}function IG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=419092,f=(Gi(d,0)|0)!=0,A[e|0]=f}function zG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=500;if(!(!d|!D[d|0])){b=Zf(d)}C[a+112>>2]=b}function vR(a,b){a=a|0;b=b|0;a=D[a+19|0];b=D[b+19|0];return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function TI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Fe[a|0](b,c,d,e)|0;De=Ee;return a|0}function HL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Mo(a,b,c,d,3);if(!a){A[b+94|0]=5}return a|0}function FL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Mo(a,b,c,d,4);if(!a){A[b+94|0]=6}return a|0}function yG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=32;if(!(!d|!D[d|0])){b=Zf(d)}C[a+116>>2]=b}function dh(a,b,c){b=Bf(a,b);if(!b){C[c>>2]=C[a+32>>2];C[a+32>>2]=0;C[a+36>>2]=0}return b}function aA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;C[e>>2]=0;C[d>>2]=0;return 1}function TG(){C[105620]=128;C[105619]=422496;if(!C[105618]){return 34979}return C[105619]}function NP(a,b){a=a|0;b=b|0;a=C[a+4>>2];b=C[b+4>>2];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function $z(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;C[e>>2]=0;C[d>>2]=0;return 0}function TK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+12>>2]+(c<<3)|0;C[a+4>>2]=C[a+4>>2]+d}function BG(a){a=a|0;a=Fe[C[94503]](a>>>0<=1?1:a)|0;if(a){C[94507]=C[94507]+1}return a|0}function rT(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function rL(a){a=a|0;C[a+112>>2]=-1;C[a+296>>2]=-1;C[a+300>>2]=-1;A[a+108|0]=0;return 0}function Yr(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+137284>>2]}return a>>>20&15}function Xr(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+137320>>2]}return a>>>24&15}function Br(){if(!D[422420]){A[422420]=1;if(!ro(422424)){A[422440]=1;return}qo(422448)}}function zu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_o(c,C[C[a+420>>2]+(b<<2)>>2],d);return 0}function eK(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Fe[C[b+52>>2]](b,0,0,0)|0,C[c+540>>2]=d}function _r(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+137212>>2]}return a>>>4&15}function Zr(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+137248>>2]}return a>>>8&15}function $L(a){a=a|0;Wf(C[a+104>>2],a+724|0);C[a+736>>2]=0;C[a+728>>2]=0;C[a+732>>2]=0}function yx(a,b){a=a|0;b=b|0;a=E[a>>1];b=E[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function jP(a,b,c){a=a|0;b=b|0;c=c|0;C[b>>2]=C[a+176>>2];C[c>>2]=C[a+180>>2];return 0}function Sf(a,b){b=Fe[C[94505]](a,a|b?b:1)|0;if(!(!b|a)){C[94507]=C[94507]+1}return b}function RP(a,b,c){a=a|0;b=b|0;c=c|0;C[b>>2]=C[a+132>>2];C[c>>2]=C[a+136>>2];return 0}function vG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a,f=Gi(d,1),C[e+120>>2]=f}function pQ(a,b){a=a|0;b=b|0;return Fe[C[C[C[C[a>>2]+656>>2]+2956>>2]+12>>2]](a,b)|0}function Yz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){A[d|0]=0}return 0}function Xf(a,b,c){var d=0;d=C[a+180>>2];if(d){Fe[d|0](a,b,c);return}Af(a,11993);s()}function VK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+12>>2]+(c<<3)|0;C[a>>2]=C[a>>2]+d}function Rh(){var a=0;a=C[105668];if(!a){Qe(19865,0);return 0}return cj(C[a+792>>2])}function sG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a,f=Gi(d,0),C[e+92>>2]=f}function qQ(a,b){a=a|0;b=b|0;return Fe[C[C[C[C[a>>2]+656>>2]+2956>>2]+8>>2]](a,b)|0}function aJ(a){a=a|0;if(!(!a|D[a+424|0]>7)){A[a+425|0]=8;C[a+212>>2]=C[a+212>>2]|4}}function hC(a,b){a=a|0;b=b|0;a=C[a+548>>2];C[a>>2]=C[(b?b+80|0:a+4|0)>>2];return 0}function cC(a,b){a=a|0;b=b|0;if(D[b+12|0]==6){a=C[a+548>>2];C[a>>2]=0;C[a+4>>2]=0}}function _Q(a,b,c){a=a|0;b=b|0;c=c|0;a=Fe[C[104399]](a)|0;Fe[C[a+8>>2]](a,b,c,1)|0}function Yj(a,b){a=Tb(a|0,b|0)|0;if(a>>>0>=4294963201){C[105773]=0-a;a=-1}return a}function MB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Fe[C[a+4>>2]](a,b,c,d)|0;return a|0}function oB(a){a=a|0;a=C[a+1080>>2];if(!a){Qe(19845,0);return 0}return C[a+16>>2]}function qJ(a,b){a=a|0;b=b|0;b=b-C[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Mq(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;C[e>>2]=0;return 0}function AO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){C[a+168>>2]=c;C[a+172>>2]=b}}function fm(a,b,c,d){var e=0;e=Ce-16|0;Ce=e;C[e+12>>2]=d;Wj(a,b,c,d);Ce=e+16|0}function VI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Fe[a|0](b,c,d,e)|0}function IL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Mo(a,b,(c|0)!=1?c:0,d,0)|0}function qT(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function gL(a,b,c){a=a|0;b=b|0;c=c|0;c=Ze(c,mm(a));C[C[a+384>>2]+(b<<2)>>2]=c}function dL(a,b,c){a=a|0;b=b|0;c=c|0;a=C[a+384>>2]+(b<<2)|0;C[a>>2]=C[a>>2]+c}function FI(a){a=a|0;a=C[a+248>>2];if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function wH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fe[C[d+8>>2]](d,a,b,c)|0}function GH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fe[C[a+4>>2]](a,b,c,d)|0}function uQ(a,b){a=a|0;b=b|0;return(b>>>0<=255?E[C[a+16>>2]+(b<<1)>>1]:0)|0}function tN(a,b){a=a|0;b=b|0;return(b>>>0<=255?D[(C[a+16>>2]+b|0)+6|0]:0)|0}function du(a,b,c,d){if(C[a+76>>2]<0){return eu(a,b,c,d)}return eu(a,b,c,d)}function MA(a,b,c){a=a|0;b=b|0;c=c|0;bg(C[c+4>>2],C[b>>2]?2:1,0,0);return 0}function tO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;return(!a|!b?d:C[b+8>>2]&c)|0}function sP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Xo(C[a+12>>2],b,c,d)|0}function hu(a,b,c){var d=0;d=Ce-16|0;Ce=d;C[d+12>>2]=c;Ht(a,b,c);Ce=d+16|0}function XJ(a){a=a|0;a=C[a+140>>2];if(!a){return 0}return a+(D[a|0]==47)|0}function Ts(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Mj(4,6,a,b);Ce=c+16|0}function Tg(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Mj(0,3,a,b);Ce=c+16|0}function Lj(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Mj(1,5,a,b);Ce=c+16|0}function Gk(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Mj(2,4,a,b);Ce=c+16|0}function fO(a,b){a=a|0;b=b|0;return Fe[C[C[C[a>>2]+484>>2]+12>>2]](a,b)|0}function MC(a,b){a=a|0;b=b|0;if(D[b+12|0]==7){Fe[C[C[a+548>>2]+84>>2]]()}}function rO(a){a=a|0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0}function gO(a,b){a=a|0;b=b|0;return Fe[C[C[C[a>>2]+484>>2]+8>>2]](a,b)|0}function fL(a,b){a=a|0;b=b|0;return Te(C[C[a+384>>2]+(b<<2)>>2],mm(a))|0}function Ji(a,b){a=a|0;b=b|0;if(!C[108230]){C[108230]=a;C[108231]=b}Lb()}function FN(a){a=a|0;return(a>>>0<=390?B[(a<<1)+350256>>1]+346032|0:0)|0}function gA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;return 0}function JO(a,b){a=a|0;b=b|0;ug(a,C[a+8>>2]);return Lh(a,C[a+8>>2],b)|0}function GN(a){a=a|0;return B[((a>>>0<=257?a:0)<<1)+349728>>1]+346032|0}function xP(a){a=a|0;po(C[a+12>>2]);C[a+12>>2]=0;C[a>>2]=0;C[a+4>>2]=0}function wQ(a,b){a=a|0;b=b|0;C[a+16>>2]=C[C[a>>2]+656>>2]+640;return 0}function lG(a,b,c){a=a|0;b=b|0;c=c|0;return yt(a,b,c,C[a+32>>2],18)|0}function eR(a){a=a|0;var b=0;b=C[a>>2];if(b){a=a+28|0;if(a){At(b,a)}}}function OG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qf(32512,(Gi(d,1)|0)!=0)}function fB(a,b){a=a|0;b=b|0;a=C[b+164>>2];Nf(C[a+8>>2]);C[a+8>>2]=0}function _I(a,b){a=a|0;b=b|0;if(!C[108230]){C[108230]=a;C[108231]=b}}function PG(a,b,c){a=a|0;b=b|0;c=c|0;return yt(a,b,c,C[a+12>>2],9)|0}function KQ(a){a=a|0;A[a+20|0]=0;C[a+12>>2]=48;C[a+16>>2]=5;return 0}function jj(a,b){return b?a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24):a}function DL(a,b){a=a|0;b=b|0;Ko(b,C[a>>2]<<2,C[a+4>>2]<<2);return 0}function Qf(a){var b=0;b=C[a+32>>2];if((b|0)==-1){b=Rg(a)}return b}function LL(a,b){a=a|0;b=b|0;return Fe[C[C[a+12>>2]+48>>2]](a,b)|0}function bu(a){if(C[a+76>>2]<0){a=cu(a);return a}a=cu(a);return a}function NC(a,b,c){a=a|0;b=b|0;c=c|0;mr(C[a+204>>2],b,c);return 0}function JB(a,b){a=a|0;b=b|0;return C[C[a>>2]>>2]-C[C[b>>2]>>2]|0}function lv(a){a=a|0;var b=0;b=C[a>>2];if(a){Fe[C[b+8>>2]](b,a)}}function kO(a,b){a=a|0;b=b|0;var c=0;return(!a|!b?c:D[b+29|0])|0}function fS(a,b,c){a=a|0;b=b|0;c=c|0;vx(C[a+112>>2],b,C[a+4>>2])}function SA(a,b,c){a=a|0;b=b|0;c=c|0;C[c+32>>2]=C[b>>2];return 0}function cL(a,b,c){a=a|0;b=b|0;c=c|0;C[C[a+384>>2]+(b<<2)>>2]=c}function Ss(a){a=a|0;if(a){Fe[C[94506]](a);C[94507]=C[94507]-1}}function tJ(a,b){a=a|0;b=b|0;t(b,C[a+132>>2]+4|0,156);return 0}function eA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return C[a+20>>2]}function dA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return C[a+24>>2]}function _e(a){Qe(a>>>0>4?9243:C[(a<<2)+124756>>2],0);return-1}function vP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return mf(d,c)|0}function pl(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function SJ(a,b,c){a=a|0;b=b|0;c=c|0;if(c){C[c>>2]=b}return 0}function CM(a,b){a=a|0;b=b|0;C[b>>2]=-1;C[b+4>>2]=14;return 0}function hO(a,b){a=a|0;b=b|0;return C[C[a+420>>2]+(b<<2)>>2]}function bL(a,b){a=a|0;b=b|0;return C[C[a+384>>2]+(b<<2)>>2]}function UI(a,b){a=a|0;b=b|0;a=Fe[a|0](b)|0;De=Ee;return a|0}function xB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return _e(4)|0}function rR(a){a=a|0;return!(D[a+16|0]&32?D[a+12|0]&16:1)|0}function ql(a){var b=0;b=C[a+28>>2];if(!b){b=Lf(a)}return b}function mO(a){a=a|0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0}function $F(a){a=a|0;return D[a|0]|D[a+1|0]<<8|D[a+2|0]<<16}function kj(a,b,c){a=a|0;b=b|0;c=c|0;return Fe[c|0](a,b)|0}function RR(a){a=a|0;var b=0;b=C[a+4>>2];if(b){wx(b)}Re(a)}function LB(a){a=a|0;a=Fe[C[a+4>>2]](a,0,0,1)|0;return a|0}function xu(a,b){a=a|0;b=b|0;B[b>>1]=E[a+164>>1];return 0}function VJ(a,b){a=a|0;b=b|0;B[b>>1]=E[a+312>>1];return 0}function Ug(a){var b=0;if(!(!a|!D[a|0])){b=jo(a)}return b}function NG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ht(d,419032)}function MG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ht(d,419020)}function LA(a,b,c){a=a|0;b=b|0;c=c|0;Sn(257);return 34979}function SI(a,b,c){a=a|0;b=b|0;c=c|0;return kf(I(b,c))|0}function CN(a){a=a|0;C[a+148>>2]=C[a+148>>2]+B[a+156>>1]}function kQ(a){a=a|0;if(!a){return 0}return C[a+184>>2]}function kA(a,b,c){a=a|0;b=b|0;c=c|0;return hn(a,b,c)|0}function jA(a,b,c){a=a|0;b=b|0;c=c|0;return Oq(a,b,c)|0}function _L(a,b,c){a=a|0;b=b|0;c=c|0;return fw(a,b,c)|0}function OI(a,b,c){a=a|0;b=b|0;c=c|0;Un(C[a+92>>2],b,c)}function NQ(a,b,c){a=a|0;b=b|0;c=c|0;return Sw(a,b,c)|0}function wu(a,b){a=a|0;b=b|0;t(b,a+168|0,196);return 0}function vB(a){a=a|0;a=C[a+132>>2];if(a){C[a+16>>2]=0}}function jK(a,b){a=a|0;b=b|0;C[b+372>>2]=C[b+372>>2]|1}function hR(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function gT(a){a=a|0;if(D[a+13|0]){wm(C[a+4>>2])}Re(a)}function Pv(a,b){a=a|0;b=b|0;if(b){Fe[C[a+8>>2]](a,b)}}function GG(){var a=0;a=C[104391];if(a){C[104391]=a-1}}function gR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function ff(a,b){if(D[a+210|0]&16){return}Ig(a,b);s()}function ah(a,b){a=Vt(a,b);return D[a|0]==(b&255)?a:0}function _j(a,b){if(D[a+210|0]&64){return}Af(a,b);s()}function St(a,b){var c=0;c=lj(a,0,b);return c?c-a|0:b}function Hv(a,b){if(D[a+210|0]&32){return}Af(a,b);s()}function EI(a){a=a|0;lf(C[a+248>>2],0,C[a+240>>2]<<2)}function TJ(a,b){a=a|0;b=b|0;if(b){A[b|0]=1}return 0}function RH(a){a=a|0;return Fe[C[a+4>>2]](a,0,0,1)|0}function un(a,b,c){a=a|0;b=b|0;c=c|0;return _e(4)|0}function lT(a){if(a){return 31-L(a-1^a)|0}return 32}function eL(a){a=a|0;return Te(E[a+252>>1],mm(a))|0}function Wy(a,b){a=a|0;b=b|0;return D[b+16|0]>>>7|0}function zJ(a,b){a=a|0;b=b|0;return xh(359648,b)|0}function uN(a,b){a=a|0;b=b|0;C[a+16>>2]=b;return 0}function oP(a,b){a=a|0;b=b|0;return xh(287104,b)|0}function dK(a,b){a=a|0;b=b|0;return xh(356736,b)|0}function bP(a,b){a=a|0;b=b|0;return xh(287664,b)|0}function ZG(a,b){a=a|0;b=b|0;C[a+96>>2]=1;return 0}function XP(a,b){a=a|0;b=b|0;return xh(280160,b)|0}function NJ(a,b){a=a|0;b=b|0;return xh(358752,b)|0}function LN(a,b){a=a|0;b=b|0;return xh(351040,b)|0}function JQ(a,b){a=a|0;b=b|0;return xh(276144,b)|0}function GK(a,b){a=a|0;b=b|0;return xh(354816,b)|0}function BM(a,b){a=a|0;b=b|0;return xh(352784,b)|0}function zl(a,b,c,d){return Wj(a,b,c?c:34979,d)}function ex(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function _K(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function XI(a){a=a|0;a=Ce-a&-16;Ce=a;return a|0}function KM(a,b){a=a|0;b=b|0;C[b>>2]=0;return 0}function qp(a){a=a|0;C[a+16>>2]=0;C[a+20>>2]=0}function nr(a){if((C[a+48>>2]&69)==5){Th(a,1)}}function eH(a){a=a|0;return C[C[a+96>>2]+8>>2]}function bS(a){a=a|0;Xe(a+24|0,1667329140,1,0)}function LR(a){a=a|0;Xe(a+24|0,1818847073,1,0)}function Bg(a,b,c){if(!(D[a|0]&32)){ko(b,c,a)}}function xS(a,b){a=a|0;b=b|0;return Sx(a,b)|0}function vl(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function uS(a,b){a=a|0;b=b|0;return Lp(a,b)|0}function tS(a,b){a=a|0;b=b|0;return Kp(a,b)|0}function sS(a,b){a=a|0;b=b|0;return Ix(a,b)|0}function rS(a,b){a=a|0;b=b|0;return Gx(a,b)|0}function qS(a,b){a=a|0;b=b|0;return Ex(a,b)|0}function pS(a,b){a=a|0;b=b|0;return Dx(a,b)|0}function mS(a,b){a=a|0;b=b|0;return Kx(a,b)|0}function lS(a,b){a=a|0;b=b|0;return Jx(a,b)|0}function kR(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function jR(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function Oj(a,b,c,d,e){return Dk(a,b,c,d,e,0)}function MI(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function Ir(a,b){return Mt(a,b,-2147483648,0)}function DG(a,b){a=a|0;b=b|0;return df(a,b)|0}function CG(a,b){a=a|0;b=b|0;return mf(a,b)|0}function BS(a,b){a=a|0;b=b|0;return Rx(a,b)|0}function lI(){C[104391]=C[104391]+1;return 0}function hJ(a){a=a|0;return Da(C[a+60>>2])|0}function JS(a){a=a|0;return C[a>>2]==65535|0}function wp(a){a=a|0;C[C[a+156>>2]+36>>2]=0}function uP(a,b){a=a|0;b=b|0;return kf(b)|0}function nQ(a){a=a|0;return C[a+8>>2]>>>9&1}function cH(a){a=a|0;lh(C[C[a+96>>2]+4>>2])}function aC(a,b){a=a|0;b=b|0;Nf(C[b+80>>2])}function Zn(a,b){a=a|0;b=b|0;return _e(4)|0}function AL(a){a=a|0;C[a+64>>2]=35;return 0}function tf(a,b){C[a+168>>2]=b;Ji(a,1);s()}function eB(a,b,c){a=a|0;b=b|0;c=c|0;_e(4)}function EA(a,b){a=a|0;b=b|0;ob(C[b+8>>2])}function xn(a,b,c,d){return Gr(a,b,c,d,1)}function rG(a,b){a=a|0;b=b|0;C[a+32>>2]=b}function fH(a,b){a=a|0;b=b|0;C[a+12>>2]=b}function aH(){xt(0,18890,1);xt(1,18984,2)}function YQ(a,b){a=a|0;b=b|0;di(a+20|0,b)}function Wt(a,b){Ut(af(a)+a|0,b);return a}function Hr(a,b,c,d){return Gr(a,b,c,d,0)}function pL(a){a=a|0;Ou(a);A[a+108|0]=0}function Au(a){a=a|0;return C[a+364>>2]}function $K(a){a=a|0;return E[a+252>>1]}function yH(a,b){a=a|0;b=b|0;Fk(a,1,b)}function xH(a,b){a=a|0;b=b|0;Fk(a,2,b)}function vH(a,b){a=a|0;b=b|0;Fk(a,4,b)}function uH(a,b){a=a|0;b=b|0;Fk(a,6,b)}function tH(a,b){a=a|0;b=b|0;Fk(a,8,b)}function oA(a){a=a|0;Ue(C[a>>2]);Re(a)}function Dl(a,b){a=a|0;b=b|0;return 0}function Pw(a,b){a=a|0;b=b|0;nf(a,b)}function LO(a){a=a|0;ug(a,C[a+8>>2])}function Bl(a,b,c){a=a|0;b=b|0;c=c|0}function yn(a,b,c){return cf(a,b,c)}function tL(a){a=a|0;xf(C[a+24>>2])}function qg(a,b,c){return Hg(a,b,c)}function pf(a,b,c){return Tt(a,b,c)}function aG(a){a=a|0;return E[a>>1]}function QI(a){a=a|0;return C[a>>2]}function PN(a){a=a|0;return a+100|0}function ON(a){a=a|0;return a+112|0}function NN(a){a=a|0;return a+140|0}function EG(a){a=a|0;return kf(a)|0}function zt(a,b){a=a|0;b=b|0;Re(b)}function lo(a,b,c){du(a,b,b>>31,c)}function bG(a){a=a|0;return D[a|0]}function vQ(a){a=a|0;C[a+16>>2]=0}function fj(a){a=a|0;if(a){Re(a)}}function bF(a){a=a|0;Ml(a,128832)}function aF(a){a=a|0;Ml(a,130880)}function _E(a){a=a|0;Ml(a,134976)}function $E(a){a=a|0;Ml(a,132928)}function Ht(a,b,c){Lt(a,b,c,0,0)}function uf(a,b){return Se(a,b)}function tr(a,b){oh(a,b,20,638)}function sT(a,b){Ee=a;return b} -function kT(){p(390784,0,42148)}function hh(a,b){return ah(a,b)}function au(a,b){return Li(a,b)}function Wh(a,b){return kg(a,b)}function DB(){return C[105601]}function dj(){return If(1,12)}function Xq(a){a=a|0;return 1}function Uf(a){a=a|0;return 0}function Al(a){a=a|0;return-1}function lf(a,b,c){We(a,b,c)}function gf(a,b,c){jf(a,b,c)}function Pr(a,b){a=a|0;b=b|0}function Eh(a,b,c){Yf(a,b,c)}function qi(){$l(C[104370])}function nJ(){return 423092}function mi(){_l(C[104370])}function qA(a){a=a|0;Ue(a)}function Sl(a){a=a|0;Re(a)}function ZI(){return Ce|0}function YI(a){a=a|0;Ce=a}function Mr(){return 0}function sg(a){a=a|0}function Km(){} +function Bw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=J(0);a:{b:{switch(a-10|0){case 0:case 19:j=C[b+24>>2]-1|0;c:{if(j>>>0>=F[b+32>>2]){j=C[21159];C[104434]=C[21158];C[104435]=j;j=C[21157];C[104432]=C[21156];C[104433]=j;j=C[21155];C[104430]=C[21154];C[104431]=j;j=C[21153];C[104428]=C[21152];C[104429]=j;j=417712;break c}j=C[b+36>>2]+(j<<5)|0}if(!C[j+20>>2]){break a}A[b+40|0]=1;return;case 6:a=0;c=b;if(!D[b+178|0]){b=C[c+152>>2];d=D[b+8|0]|D[b+9|0]<<8;f=b;e=C[c+160>>2];b=e>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:(b+(e<<2)|0)+10|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=b?(f+b|0)+2|0:84608;f=D[b+4|0]|D[b+5|0]<<8;b=(f<<8|f>>>8)&65535;C[c+156>>2]=b;d:{if(!D[c+176|0]){break d}e:{f:{e=C[c+164>>2];if((e|0)>=0){if(b>>>0<=e>>>0){break e}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=1073741822){d=lf(C[c+172>>2],e<<2);if(d){break f}}C[c+164>>2]=-1}A[c+40|0]=1;break d}C[c+164>>2]=e;C[c+172>>2]=d}d=C[c+168>>2];if(d>>>0>>0){We(C[c+172>>2]+(d<<2)|0,0,b-d<<2)}C[c+168>>2]=b;d=C[c+152>>2]+2|0;e=C[c+160>>2];i=C[c+144>>2];o=C[c+148>>2];g:{if(!f){C[104428]=C[21152];b=417712;break g}b=C[c+172>>2]}f=D[d+6|0]|D[d+7|0]<<8;e=e>>>0>=((f<<8|f>>>8)&65535)>>>0?84608:(d+(e<<2)|0)+8|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);l=e?e+d|0:84608;e=D[l+4|0]|D[l+5|0]<<8;k=(e<<8|e>>>8)&65535;f=C[c+156>>2];j=f>>>0>k>>>0?k:f;if(j){e=d;d=D[d+2|0]|D[d+3|0]<<8|(D[d+4|0]<<16|D[d+5|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=d?e+d|0:84608;e=0;while(1){m=l+(e<<1)|0;m=D[m+6|0]|D[m+7|0]<<8;y=b+(e<<2)|0,z=Fo(d,(m<<8|m>>>8)&65535,i,o),G[y>>2]=z;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(f>>>0>k>>>0){We(b+(j<<2)|0,0,f-j<<2)}}A[c+178|0]=1}b=C[c+24>>2];h:{i:{if(b){b=b-1|0;C[c+24>>2]=b;if(b>>>0>=F[c+32>>2]){break i}b=C[c+36>>2]+(b<<5)|0;break h}A[c+20|0]=1}b=C[21159];C[104434]=C[21158];C[104435]=b;b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712}f=C[c+156>>2];j:{k:{l:{q=H[b>>3];m:{if(K(q)<2147483648){b=~~q;break m}b=-2147483648}if((b|0)>=0){l=C[c+24>>2];i=l+I(b,f^-1)|0;if(i>>>0<=l>>>0){if(!b){break k}j=(f|0)>0?f:0;t=f&-2;w=f&1;v=b+i|0;e=C[21152];k=C[21153];while(1){l=C[c+32>>2];a=i+h|0;if(a>>>0>=F[c+24>>2]){A[c+20|0]=1}o=C[c+36>>2];n:{if(a>>>0>=l>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;C[104428]=e;C[104429]=k;d=417712;break n}d=o+(a<<5)|0}C[d+12>>2]=h;C[d+8>>2]=b;a=C[d+16>>2];o:{if((a|0)<0){break o}if(a>>>0>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(j>>>0>=a>>>0){continue}break}p:{if(a>>>0<=536870910){m=lf(C[d+24>>2],a<<3);if(m){break p}}C[d+16>>2]=-1;break o}C[d+16>>2]=a;C[d+24>>2]=m}a=C[d+20>>2];if(a>>>0>>0){We(C[d+24>>2]+(a<<3)|0,0,j-a<<3)}C[d+20>>2]=j}q:{if(!f){break q}m=v+I(f,h)|0;a=l-m|0;a=m?a>>>0<=l>>>0?a:0:l;o=o+(m<<5)|0;m=C[d+24>>2];p=C[d+20>>2];l=0;d=0;if((f|0)!=1){while(1){s=a>>>0<=l>>>0?84608:o+(l<<5)|0;r:{if(l>>>0>=p>>>0){C[104428]=e;C[104429]=k;r=417712;break r}r=m+(l<<3)|0}x=C[s+4>>2];C[r>>2]=C[s>>2];C[r+4>>2]=x;r=l|1;s=a>>>0<=r>>>0?84608:o+(r<<5)|0;s:{if(p>>>0<=r>>>0){C[104428]=e;C[104429]=k;r=417712;break s}r=m+(r<<3)|0}x=C[s+4>>2];C[r>>2]=C[s>>2];C[r+4>>2]=x;l=l+2|0;d=d+2|0;if((t|0)!=(d|0)){continue}break}}if(!w){break q}d=a>>>0<=l>>>0?84608:o+(l<<5)|0;t:{if(l>>>0>=p>>>0){C[104428]=e;C[104429]=k;a=417712;break t}a=m+(l<<3)|0}l=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=l}h=h+1|0;if((b|0)!=(h|0)){continue}break}break l}A[c+40|0]=1;break j}A[c+20|0]=1;l=C[c+24>>2];break k}l=C[c+24>>2];a=b}a=I(a,f);if(a>>>0<=l>>>0){C[c+24>>2]=l-a;break j}A[c+20|0]=1}return;case 5:break b;default:break a}}c=C[b+32>>2];a=C[b+24>>2]-1|0;u:{if(c>>>0<=a>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break u}a=C[b+36>>2]+(a<<5)|0}if(C[a+20>>2]){A[b+40|0]=1;return}a=C[b+24>>2];v:{w:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=c>>>0){break w}a=C[b+36>>2]+(a<<5)|0;break v}A[b+20|0]=1}a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}q=H[a>>3];x:{if(K(q)<2147483648){a=~~q;break x}a=-2147483648}if((a|0)<0){A[b+20|0]=1;a=0}y:{if(D[b+177|0]|D[b+178|0]){A[b+40|0]=1;break y}C[b+160>>2]=a}C[b+24>>2]=0;A[b+177|0]=1;return}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:{switch(a-1|0){default:switch(a-255|0){case 38:break I;case 37:break J;case 36:break K;case 35:break L;case 0:break ca;default:break H};case 10:if(D[b+16|0]){A[b+40|0]=1}a=C[b+92>>2];ea:{fa:{if(a){a=a-1|0;C[b+92>>2]=a;if(a>>>0>=F[b+100>>2]){break fa}a=C[b+104>>2]+I(a,28)|0;break ea}A[b+88|0]=1}C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}c=C[a+4>>2];C[b+44>>2]=C[a>>2];C[b+48>>2]=c;C[b+68>>2]=C[a+24>>2];c=C[a+20>>2];C[b+60>>2]=C[a+16>>2];C[b+64>>2]=c;c=C[a+12>>2];C[b+52>>2]=C[a+8>>2];C[b+56>>2]=c;c=C[a+8>>2];d=C[a+12>>2];e=C[a>>2];f=C[a+4>>2];A[b+16|0]=D[a+16|0];C[b+8>>2]=c;C[b+12>>2]=d;C[b>>2]=e;C[b+4>>2]=f;break z;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break H;case 30:break M;case 29:break N;case 26:break O;case 25:break P;case 24:break Q;case 23:break R;case 7:break S;case 6:break T;case 5:break U;case 4:break V;case 3:break W;case 21:break X;case 20:break Y;case 18:case 19:break Z;case 2:case 22:break _;case 0:case 17:break $;case 28:break aa;case 9:break ba;case 13:break da}}A[b+72|0]=1;break A}if(D[b+16|0]){break z}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break z}ga:{if(a>>>0>=c>>>0){A[b+16|0]=1;a=84608;break ga}a=a+C[b>>2]|0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=c>>>8&65280|c>>>24;a=C[b+24>>2];ha:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break ha}A[b+20|0]=1;a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=+(d|(c<<24|(c&65280)<<8))*152587890625e-16;if(D[b+16|0]){a=C[b+4>>2];break C}a=C[b+4>>2];c=C[b+12>>2];if(a>>>0>>0){break C}c=c+4|0;if(c>>>0>a>>>0){break C}C[b+12>>2]=c;break z}zw(b,b+116|0,2);break z}zw(b,b+108|0,1);break z}a=C[b+24>>2];C[b+24>>2]=0;C[b+76>>2]=C[b+76>>2]+(a>>>1|0);break z}a=C[b+24>>2];C[b+24>>2]=0;C[b+80>>2]=C[b+80>>2]+(a>>>1|0);break z}ia:{if(D[b+74|0]){a=C[b+84>>2];break ia}A[b+74|0]=1;a=C[b+80>>2]+(C[b+24>>2]>>>1|0)|0;C[b+80>>2]=a;a=(a+C[b+76>>2]|0)+7>>>3|0;C[b+84>>2]=a}if(D[b+16|0]){break z}c=C[b+12>>2];d=c+a|0;a=C[b+4>>2];if(d>>>0>a>>>0){break z}C[b+24>>2]=0;if(a>>>0>=c>>>0){C[b+12>>2]=d;break z}A[b+16|0]=1;C[b+12>>2]=a;break z}a=C[b+24>>2];ja:{ka:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=F[b+32>>2]){break ka}a=C[b+36>>2]+(a<<5)|0;break ja}A[b+20|0]=1}a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}q=H[b+136>>3];n=H[b+128>>3];h=D[b+176|0];la:{if(!h){break la}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break la}k=d&1;j=C[a+24>>2];l=C[b+172>>2];g=H[a>>3];if((d|0)!=1){d=d&-2;while(1){i=e|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;f=f+2|0;if((d|0)!=(f|0)){continue}break}}g=k?+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break la}C[a+20>>2]=0}d=C[b+24>>2];ma:{na:{if(d){d=d-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){break na}d=C[b+36>>2]+(d<<5)|0;break ma}A[b+20|0]=1}d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712}oa:{if(!h){break oa}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break oa}h=e&1;j=C[d+24>>2];l=C[b+172>>2];g=H[d>>3];pa:{if((e|0)==1){e=0;break pa}k=e&-2;e=0;f=0;while(1){i=e|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;f=f+2|0;if((k|0)!=(f|0)){continue}break}}g=h?+G[l+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break oa}C[d+20>>2]=0}g=H[d>>3];u=H[a>>3];A[c|0]=0;H[b+136>>3]=q+u;H[b+128>>3]=n+g;break B}a=C[b+24>>2];qa:{ra:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=F[b+32>>2]){break ra}d=C[b+36>>2]+(a<<5)|0;break qa}A[b+20|0]=1}a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;d=417712}q=H[b+136>>3];n=H[b+128>>3];if(!D[b+176|0]){break D}a=C[d+20>>2];if(!a|(a|0)!=C[b+168>>2]){break D}l=a&1;e=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];if((a|0)==1){a=0;break E}h=a&-2;a=0;while(1){k=a|1;g=+G[j+(k<<2)>>2]*H[e+(k<<3)>>3]+(+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g);a=a+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}break E}a=C[b+24>>2];sa:{ta:{if(a){a=a-1|0;C[b+24>>2]=a;if(a>>>0>=F[b+32>>2]){break ta}d=C[b+36>>2]+(a<<5)|0;break sa}A[b+20|0]=1}a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;d=417712}q=H[b+136>>3];n=H[b+128>>3];if(!D[b+176|0]){break F}a=C[d+20>>2];if(!a|(a|0)!=C[b+168>>2]){break F}l=a&1;e=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];if((a|0)==1){a=0;break G}h=a&-2;a=0;while(1){k=a|1;g=+G[j+(k<<2)>>2]*H[e+(k<<3)>>3]+(+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g);a=a+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}break G}l=C[b+24>>2];if(l>>>0>=2){f=C[b+168>>2];i=f&-2;o=f&1;m=f-1|0;p=C[b+36>>2];r=C[b+32>>2];s=D[b+176|0];a=2;while(1){if(d>>>0>=l>>>0){A[b+20|0]=1}ua:{if(d>>>0>=r>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break ua}e=p+(d<<5)|0}q=H[b+136>>3];g=H[b+128>>3];va:{if(!s){break va}j=C[e+20>>2];if(!j|(f|0)!=(j|0)){break va}j=C[e+24>>2];h=C[b+172>>2];n=H[e>>3];l=0;k=0;if(m){while(1){t=l|1;n=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}n=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break va}C[e+20>>2]=0}d=d|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}wa:{if(d>>>0>=r>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break wa}d=p+(d<<5)|0}xa:{if(!s){break xa}j=C[d+20>>2];if(!j|(f|0)!=(j|0)){break xa}j=C[d+24>>2];h=C[b+172>>2];n=H[d>>3];l=0;k=0;if(m){while(1){t=l|1;n=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}n=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+n:n;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=n;if(C[d+16>>2]<0){break xa}C[d+20>>2]=0}u=q+H[d>>3];n=g+H[e>>3];ya:{if(D[c|0]){break ya}A[c|0]=1;q=H[b+128>>3];if(q>3]){H[c+8>>3]=q;q=H[b+128>>3]}if(H[c+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[c+16>>3]=q;q=H[b+136>>3]}if(!(H[c+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=n;if(H[c+8>>3]>n){H[c+8>>3]=n;n=H[b+128>>3]}if(H[c+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[c+16>>3]=n;n=H[b+136>>3]}if(H[c+32>>3]>3]=n}d=a;a=d+2|0;l=C[b+24>>2];if(a>>>0<=l>>>0){continue}break}}break A}e=c;a=0;l=C[b+24>>2];if(l>>>0>=2){f=C[b+168>>2];i=f&-2;o=f&1;m=f-1|0;p=C[b+36>>2];r=C[b+32>>2];s=D[b+176|0];c=2;while(1){a=c;if(d>>>0>=l>>>0){A[b+20|0]=1}za:{if(d>>>0>=r>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break za}c=p+(d<<5)|0}n=H[b+136>>3];g=H[b+128>>3];Aa:{if(!s){break Aa}j=C[c+20>>2];if(!j|(f|0)!=(j|0)){break Aa}j=C[c+24>>2];h=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){t=l|1;q=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break Aa}C[c+20>>2]=0}g=g+H[c>>3];Ba:{if(D[e|0]){break Ba}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=n;H[b+128>>3]=g;q=g;if(H[e+8>>3]>g){H[e+8>>3]=g;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Ca:{if(c>>>0>=r>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Ca}c=p+(c<<5)|0}Da:{if(!s){break Da}d=C[c+20>>2];if(!d|(d|0)!=(f|0)){break Da}d=C[c+24>>2];j=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){h=l|1;q=+G[j+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break Da}C[c+20>>2]=0}q=n+H[c>>3];Ea:{if(D[e|0]){break Ea}A[e|0]=1;n=H[b+128>>3];if(n>3]){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(!(H[e+32>>3]>3]=n}H[b+136>>3]=q;H[b+128>>3]=g;if(H[e+8>>3]>g){H[e+8>>3]=g;g=H[b+128>>3]}if(H[e+24>>3]>3]=g}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}d=a;c=d+2|0;l=C[b+24>>2];if(c>>>0<=l>>>0){continue}break}}Fa:{if(a>>>0>=l>>>0){break Fa}Ga:{if(F[b+32>>2]<=a>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ga}a=C[b+36>>2]+(a<<5)|0}g=H[b+136>>3];n=H[b+128>>3];Ha:{if(!D[b+176|0]){break Ha}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break Ha}j=c&1;d=C[a+24>>2];f=C[b+172>>2];q=H[a>>3];Ia:{if((c|0)==1){l=0;break Ia}c=c&-2;l=0;k=0;while(1){h=l|1;q=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}q=j?+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=q;if(C[a+16>>2]<0){break Ha}C[a+20>>2]=0}q=n+H[a>>3];Ja:{if(D[e|0]){break Ja}A[e|0]=1;n=H[b+128>>3];if(n>3]){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(!(H[e+32>>3]>3]=n}H[b+136>>3]=g;H[b+128>>3]=q;if(H[e+8>>3]>q){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}break A}e=c;a=0;l=C[b+24>>2];if(l>>>0>=2){f=C[b+168>>2];i=f&-2;o=f&1;m=f-1|0;p=C[b+36>>2];r=C[b+32>>2];s=D[b+176|0];c=2;while(1){a=c;if(d>>>0>=l>>>0){A[b+20|0]=1}Ka:{if(d>>>0>=r>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Ka}c=p+(d<<5)|0}n=H[b+136>>3];g=H[b+128>>3];La:{if(!s){break La}j=C[c+20>>2];if(!j|(f|0)!=(j|0)){break La}j=C[c+24>>2];h=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){t=l|1;q=+G[h+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[h+(l<<2)>>2]*H[j+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break La}C[c+20>>2]=0}u=n+H[c>>3];Ma:{if(D[e|0]){break Ma}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=g;q=g;if(g>3]){H[e+8>>3]=g;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Na:{if(c>>>0>=r>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Na}c=p+(c<<5)|0}Oa:{if(!s){break Oa}d=C[c+20>>2];if(!d|(d|0)!=(f|0)){break Oa}d=C[c+24>>2];j=C[b+172>>2];q=H[c>>3];l=0;k=0;if(m){while(1){h=l|1;q=+G[j+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}q=o?+G[j+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=q;if(C[c+16>>2]<0){break Oa}C[c+20>>2]=0}q=g+H[c>>3];Pa:{if(D[e|0]){break Pa}A[e|0]=1;n=H[b+128>>3];if(n>3]){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(!(H[e+32>>3]>3]=n}H[b+136>>3]=u;H[b+128>>3]=q;if(H[e+8>>3]>q){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(H[e+32>>3]>3]=q}d=a;c=d+2|0;l=C[b+24>>2];if(c>>>0<=l>>>0){continue}break}}Qa:{if(a>>>0>=l>>>0){break Qa}Ra:{if(F[b+32>>2]<=a>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ra}a=C[b+36>>2]+(a<<5)|0}g=H[b+136>>3];n=H[b+128>>3];Sa:{if(!D[b+176|0]){break Sa}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break Sa}j=c&1;d=C[a+24>>2];f=C[b+172>>2];q=H[a>>3];Ta:{if((c|0)==1){l=0;break Ta}c=c&-2;l=0;k=0;while(1){h=l|1;q=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q);l=l+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}q=j?+G[f+(l<<2)>>2]*H[d+(l<<3)>>3]+q:q;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=q;if(C[a+16>>2]<0){break Sa}C[a+20>>2]=0}g=g+H[a>>3];Ua:{if(D[e|0]){break Ua}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=g;H[b+128>>3]=n;if(H[e+8>>3]>n){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}break A}a=0;j=Ce-48|0;Ce=j;l=C[b+24>>2];if(l>>>0>=6){d=6;while(1){f=a;a=d;d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;if(f>>>0>=l>>>0){A[b+20|0]=1}k=C[b+32>>2];Va:{if(k>>>0<=f>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Va}d=C[b+36>>2]+(f<<5)|0}i=D[b+176|0];Wa:{if(!i){break Wa}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Wa}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Wa}C[d+20>>2]=0}e=f|1;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Xa:{if(e>>>0>=k>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break Xa}e=C[b+36>>2]+(e<<5)|0}Ya:{if(!i){break Ya}o=C[e+20>>2];if(!o|(o|0)!=C[b+168>>2]){break Ya}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((o|0)!=1){r=o&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=o&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break Ya}C[e+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[d>>3];H[j+40>>3]=H[j+40>>3]+H[e>>3];d=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=d;d=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=d;d=f+2|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Za:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Za}d=C[b+36>>2]+(d<<5)|0}_a:{if(!i){break _a}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break _a}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break _a}C[d+20>>2]=0}e=f+3|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}$a:{if(e>>>0>=k>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break $a}e=C[b+36>>2]+(e<<5)|0}ab:{if(!i){break ab}o=C[e+20>>2];if(!o|(o|0)!=C[b+168>>2]){break ab}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((o|0)!=1){r=o&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=o&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break ab}C[e+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[d>>3];H[j+24>>3]=H[j+24>>3]+H[e>>3];d=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=d;d=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=d;d=f+4|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}bb:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break bb}d=C[b+36>>2]+(d<<5)|0}cb:{if(!i){break cb}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break cb}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[o+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break cb}C[d+20>>2]=0}e=f+5|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}db:{if(e>>>0>=k>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break db}e=C[b+36>>2]+(e<<5)|0}eb:{if(!i){break eb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break eb}k=C[e+24>>2];i=C[b+172>>2];g=H[e>>3];l=0;if((f|0)!=1){o=f&-2;h=0;while(1){m=l|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}g=f&1?+G[i+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break eb}C[e+20>>2]=0}H[j>>3]=H[j>>3]+H[d>>3];H[j+8>>3]=H[j+8>>3]+H[e>>3];Bf(b,c,j+32|0,j+16|0,j);l=C[b+24>>2];d=a+6|0;if(l>>>0>=d>>>0){continue}break}}Ce=j+48|0;break A}h=Ce-48|0;Ce=h;a=C[b+24>>2];fb:{if(a>>>0<8){break fb}r=a-2|0;d=6;a=0;while(1){j=a;a=d;d=C[b+140>>2];C[h+40>>2]=C[b+136>>2];C[h+44>>2]=d;d=C[b+132>>2];C[h+32>>2]=C[b+128>>2];C[h+36>>2]=d;if(j>>>0>=F[b+24>>2]){A[b+20|0]=1}k=C[b+32>>2];gb:{if(k>>>0<=j>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;e=417712;break gb}e=C[b+36>>2]+(j<<5)|0}i=D[b+176|0];hb:{if(!i){break hb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break hb}o=C[e+24>>2];m=C[b+172>>2];n=H[e>>3];d=0;if((f|0)!=1){p=f&-2;l=0;while(1){s=d|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=f&1?+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break hb}C[e+20>>2]=0}d=j|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}ib:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break ib}f=C[b+36>>2]+(d<<5)|0}jb:{if(!i){break jb}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break jb}m=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];d=0;if((o|0)!=1){s=o&-2;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[m+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=o&1?+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break jb}C[f+20>>2]=0}H[h+32>>3]=H[h+32>>3]+H[e>>3];H[h+40>>3]=H[h+40>>3]+H[f>>3];d=C[h+44>>2];C[h+24>>2]=C[h+40>>2];C[h+28>>2]=d;d=C[h+36>>2];C[h+16>>2]=C[h+32>>2];C[h+20>>2]=d;d=j+2|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}kb:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;e=417712;break kb}e=C[b+36>>2]+(d<<5)|0}lb:{if(!i){break lb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break lb}o=C[e+24>>2];m=C[b+172>>2];n=H[e>>3];d=0;if((f|0)!=1){p=f&-2;l=0;while(1){s=d|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=f&1?+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break lb}C[e+20>>2]=0}d=j+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}mb:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break mb}f=C[b+36>>2]+(d<<5)|0}nb:{if(!i){break nb}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break nb}m=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];d=0;if((o|0)!=1){s=o&-2;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[m+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=o&1?+G[p+(d<<2)>>2]*H[m+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break nb}C[f+20>>2]=0}H[h+16>>3]=H[h+16>>3]+H[e>>3];H[h+24>>3]=H[h+24>>3]+H[f>>3];d=C[h+28>>2];C[h+8>>2]=C[h+24>>2];C[h+12>>2]=d;d=C[h+20>>2];C[h>>2]=C[h+16>>2];C[h+4>>2]=d;d=j+4|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}ob:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;e=417712;break ob}e=C[b+36>>2]+(d<<5)|0}pb:{if(!i){break pb}f=C[e+20>>2];if(!f|(f|0)!=C[b+168>>2]){break pb}o=C[e+24>>2];m=C[b+172>>2];n=H[e>>3];d=0;if((f|0)!=1){p=f&-2;l=0;while(1){s=d|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=f&1?+G[m+(d<<2)>>2]*H[o+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break pb}C[e+20>>2]=0}d=j+5|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}qb:{if(d>>>0>=k>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break qb}f=C[b+36>>2]+(d<<5)|0}rb:{if(!i){break rb}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break rb}k=C[f+24>>2];i=C[b+172>>2];n=H[f>>3];d=0;if((j|0)!=1){o=j&-2;l=0;while(1){m=d|1;n=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}n=j&1?+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break rb}C[f+20>>2]=0}H[h>>3]=H[h>>3]+H[e>>3];H[h+8>>3]=H[h+8>>3]+H[f>>3];Bf(b,c,h+32|0,h+16|0,h);d=a+6|0;if(r>>>0>=d>>>0){continue}break}if(F[b+24>>2]<=a>>>0){A[b+20|0]=1}k=C[b+32>>2];sb:{if(k>>>0<=a>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;e=417712;break sb}e=C[b+36>>2]+(a<<5)|0}q=H[b+136>>3];g=H[b+128>>3];i=D[b+176|0];tb:{if(!i){break tb}d=C[e+20>>2];if(!d|(d|0)!=C[b+168>>2]){break tb}o=d&1;f=C[e+24>>2];j=C[b+172>>2];n=H[e>>3];ub:{if((d|0)==1){d=0;break ub}m=d&-2;d=0;l=0;while(1){p=d|1;n=+G[j+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}n=o?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=n;if(C[e+16>>2]<0){break tb}C[e+20>>2]=0}a=a|1;if(a>>>0>=F[b+24>>2]){A[b+20|0]=1}vb:{if(a>>>0>=k>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break vb}a=C[b+36>>2]+(a<<5)|0}wb:{if(!i){break wb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break wb}k=d&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];xb:{if((d|0)==1){d=0;break xb}i=d&-2;d=0;l=0;while(1){o=d|1;n=+G[j+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((i|0)!=(l|0)){continue}break}}n=k?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break wb}C[a+20>>2]=0}u=q+H[a>>3];n=g+H[e>>3];yb:{if(D[c|0]){break yb}A[c|0]=1;q=H[b+128>>3];if(q>3]){H[c+8>>3]=q;q=H[b+128>>3]}if(H[c+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[c+16>>3]=q;q=H[b+136>>3]}if(!(H[c+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=n;if(H[c+8>>3]>n){H[c+8>>3]=n;n=H[b+128>>3]}if(H[c+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[c+16>>3]=n;n=H[b+136>>3]}if(!(H[c+32>>3]>3]=n}Ce=h+48|0;break A}e=c;c=0;j=Ce-48|0;Ce=j;a=C[b+24>>2];if(a>>>0>=8){w=a-6|0;h=C[b+168>>2];o=h&-2;m=h&1;p=h-1|0;r=C[b+36>>2];s=C[b+32>>2];t=D[b+176|0];d=2;while(1){a=d;if(F[b+24>>2]<=c>>>0){A[b+20|0]=1}zb:{if(c>>>0>=s>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break zb}f=r+(c<<5)|0}q=H[b+136>>3];g=H[b+128>>3];Ab:{if(!t){break Ab}d=C[f+20>>2];if(!d|(d|0)!=(h|0)){break Ab}k=C[f+24>>2];i=C[b+172>>2];n=H[f>>3];d=0;l=0;if(p){while(1){v=d|1;n=+G[i+(v<<2)>>2]*H[k+(v<<3)>>3]+(+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}n=m?+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Ab}C[f+20>>2]=0}c=c|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Bb:{if(c>>>0>=s>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Bb}c=r+(c<<5)|0}Cb:{if(!t){break Cb}d=C[c+20>>2];if(!d|(d|0)!=(h|0)){break Cb}k=C[c+24>>2];i=C[b+172>>2];n=H[c>>3];d=0;l=0;if(p){while(1){v=d|1;n=+G[i+(v<<2)>>2]*H[k+(v<<3)>>3]+(+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}n=m?+G[i+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=n;if(C[c+16>>2]<0){break Cb}C[c+20>>2]=0}u=q+H[c>>3];n=g+H[f>>3];Db:{if(D[e|0]){break Db}A[e|0]=1;q=H[b+128>>3];if(q>3]){H[e+8>>3]=q;q=H[b+128>>3]}if(H[e+24>>3]>3]=q}q=H[b+136>>3];if(q>3]){H[e+16>>3]=q;q=H[b+136>>3]}if(!(H[e+32>>3]>3]=q}H[b+136>>3]=u;H[b+128>>3]=n;if(H[e+8>>3]>n){H[e+8>>3]=n;n=H[b+128>>3]}if(H[e+24>>3]>3]=n}n=H[b+136>>3];if(n>3]){H[e+16>>3]=n;n=H[b+136>>3]}if(H[e+32>>3]>3]=n}c=a;d=a+2|0;if(w>>>0>=d>>>0){continue}break}a=C[b+24>>2];f=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=f;f=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=f;if(a>>>0<=c>>>0){A[b+20|0]=1}h=C[b+32>>2];Eb:{if(h>>>0<=c>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Eb}a=C[b+36>>2]+(c<<5)|0}i=D[b+176|0];Fb:{if(!i){break Fb}f=C[a+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Fb}p=f&1;o=C[a+24>>2];m=C[b+172>>2];n=H[a>>3];Gb:{if((f|0)==1){k=0;break Gb}f=f&-2;k=0;l=0;while(1){r=k|1;n=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n);k=k+2|0;l=l+2|0;if((f|0)!=(l|0)){continue}break}}n=p?+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Fb}C[a+20>>2]=0}f=c|1;if(f>>>0>=F[b+24>>2]){A[b+20|0]=1}Hb:{if(f>>>0>=h>>>0){f=C[21159];C[104434]=C[21158];C[104435]=f;f=C[21157];C[104432]=C[21156];C[104433]=f;f=C[21155];C[104430]=C[21154];C[104431]=f;f=C[21153];C[104428]=C[21152];C[104429]=f;f=417712;break Hb}f=C[b+36>>2]+(f<<5)|0}Ib:{if(!i){break Ib}l=C[f+20>>2];if(!l|(l|0)!=C[b+168>>2]){break Ib}p=l&1;o=C[f+24>>2];m=C[b+172>>2];n=H[f>>3];Jb:{if((l|0)==1){k=0;break Jb}r=l&-2;k=0;l=0;while(1){s=k|1;n=+G[m+(s<<2)>>2]*H[o+(s<<3)>>3]+(+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n);k=k+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[m+(k<<2)>>2]*H[o+(k<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Ib}C[f+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[a>>3];H[j+40>>3]=H[j+40>>3]+H[f>>3];a=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=a;a=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=a;if(F[b+24>>2]<=d>>>0){A[b+20|0]=1}Kb:{if(d>>>0>=h>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Kb}a=C[b+36>>2]+(d<<5)|0}Lb:{if(!i){break Lb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Lb}o=d&1;f=C[a+24>>2];k=C[b+172>>2];n=H[a>>3];Mb:{if((d|0)==1){d=0;break Mb}m=d&-2;d=0;l=0;while(1){p=d|1;n=+G[k+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}n=o?+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Lb}C[a+20>>2]=0}d=c+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Nb:{if(d>>>0>=h>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break Nb}f=C[b+36>>2]+(d<<5)|0}Ob:{if(!i){break Ob}d=C[f+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ob}m=d&1;k=C[f+24>>2];o=C[b+172>>2];n=H[f>>3];Pb:{if((d|0)==1){d=0;break Pb}p=d&-2;d=0;l=0;while(1){r=d|1;n=+G[o+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[o+(d<<2)>>2]*H[k+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}n=m?+G[o+(d<<2)>>2]*H[k+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Ob}C[f+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[a>>3];H[j+24>>3]=H[j+24>>3]+H[f>>3];a=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=a;a=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=a;a=c+4|0;if(a>>>0>=F[b+24>>2]){A[b+20|0]=1}Qb:{if(a>>>0>=h>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Qb}a=C[b+36>>2]+(a<<5)|0}Rb:{if(!i){break Rb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Rb}o=d&1;f=C[a+24>>2];k=C[b+172>>2];n=H[a>>3];Sb:{if((d|0)==1){d=0;break Sb}m=d&-2;d=0;l=0;while(1){p=d|1;n=+G[k+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}n=o?+G[k+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Rb}C[a+20>>2]=0}c=c+5|0;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Tb:{if(c>>>0>=h>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Tb}c=C[b+36>>2]+(c<<5)|0}Ub:{if(!i){break Ub}d=C[c+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ub}k=d&1;f=C[c+24>>2];h=C[b+172>>2];n=H[c>>3];Vb:{if((d|0)==1){d=0;break Vb}i=d&-2;d=0;l=0;while(1){o=d|1;n=+G[h+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[h+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((i|0)!=(l|0)){continue}break}}n=k?+G[h+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=n;if(C[c+16>>2]<0){break Ub}C[c+20>>2]=0}H[j>>3]=H[j>>3]+H[a>>3];H[j+8>>3]=H[j+8>>3]+H[c>>3];Bf(b,e,j+32|0,j+16|0,j)}Ce=j+48|0;break A}a=0;j=Ce-48|0;Ce=j;d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];if(l&1){Wb:{if(!C[b+32>>2]){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Wb}a=C[b+36>>2]}Xb:{if(!D[b+176|0]){break Xb}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Xb}k=d&1;e=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];Yb:{if((d|0)==1){l=0;break Yb}d=d&-2;l=0;while(1){i=l|1;g=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((d|0)!=(h|0)){continue}break}}g=k?+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Xb}C[a+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[a>>3];l=C[b+24>>2];a=1}d=a|4;if(d>>>0<=l>>>0){while(1){f=a;a=d;if(f>>>0>=l>>>0){A[b+20|0]=1}i=C[b+32>>2];Zb:{if(i>>>0<=f>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Zb}d=C[b+36>>2]+(f<<5)|0}o=D[b+176|0];_b:{if(!o){break _b}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break _b}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break _b}C[d+20>>2]=0}H[j+40>>3]=H[j+40>>3]+H[d>>3];d=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=d;d=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=d;d=f+1|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}$b:{if(d>>>0>=i>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break $b}d=C[b+36>>2]+(d<<5)|0}ac:{if(!o){break ac}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break ac}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ac}C[d+20>>2]=0}e=f+2|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}bc:{if(e>>>0>=i>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break bc}e=C[b+36>>2]+(e<<5)|0}cc:{if(!o){break cc}k=C[e+20>>2];if(!k|(k|0)!=C[b+168>>2]){break cc}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((k|0)!=1){r=k&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=k&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break cc}C[e+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[d>>3];H[j+24>>3]=H[j+24>>3]+H[e>>3];d=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=d;d=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=d;d=f+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}dc:{if(d>>>0>=i>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break dc}d=C[b+36>>2]+(d<<5)|0}ec:{if(!o){break ec}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break ec}f=C[d+24>>2];k=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){i=e&-2;h=0;while(1){o=l|1;g=+G[k+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}g=e&1?+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ec}C[d+20>>2]=0}H[j+8>>3]=H[j+8>>3]+H[d>>3];Bf(b,c,j+32|0,j+16|0,j);d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];d=a+4|0;if(l>>>0>=d>>>0){continue}break}}Ce=j+48|0;break A}a=0;j=Ce-48|0;Ce=j;d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];if(l&1){fc:{if(!C[b+32>>2]){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break fc}a=C[b+36>>2]}gc:{if(!D[b+176|0]){break gc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break gc}k=d&1;e=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];hc:{if((d|0)==1){l=0;break hc}d=d&-2;l=0;while(1){i=l|1;g=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((d|0)!=(h|0)){continue}break}}g=k?+G[f+(l<<2)>>2]*H[e+(l<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break gc}C[a+20>>2]=0}H[j+40>>3]=H[j+40>>3]+H[a>>3];l=C[b+24>>2];a=1}d=a|4;if(d>>>0<=l>>>0){while(1){f=a;a=d;if(f>>>0>=l>>>0){A[b+20|0]=1}i=C[b+32>>2];ic:{if(i>>>0<=f>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break ic}d=C[b+36>>2]+(f<<5)|0}o=D[b+176|0];jc:{if(!o){break jc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break jc}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break jc}C[d+20>>2]=0}H[j+32>>3]=H[j+32>>3]+H[d>>3];d=C[j+44>>2];C[j+24>>2]=C[j+40>>2];C[j+28>>2]=d;d=C[j+36>>2];C[j+16>>2]=C[j+32>>2];C[j+20>>2]=d;d=f+1|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}kc:{if(d>>>0>=i>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break kc}d=C[b+36>>2]+(d<<5)|0}lc:{if(!o){break lc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break lc}k=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){p=e&-2;h=0;while(1){r=l|1;g=+G[m+(r<<2)>>2]*H[k+(r<<3)>>3]+(+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}g=e&1?+G[m+(l<<2)>>2]*H[k+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break lc}C[d+20>>2]=0}e=f+2|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}mc:{if(e>>>0>=i>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break mc}e=C[b+36>>2]+(e<<5)|0}nc:{if(!o){break nc}k=C[e+20>>2];if(!k|(k|0)!=C[b+168>>2]){break nc}m=C[e+24>>2];p=C[b+172>>2];g=H[e>>3];l=0;if((k|0)!=1){r=k&-2;h=0;while(1){s=l|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}g=k&1?+G[p+(l<<2)>>2]*H[m+(l<<3)>>3]+g:g;C[e+8>>2]=0;C[e+12>>2]=0;H[e>>3]=g;if(C[e+16>>2]<0){break nc}C[e+20>>2]=0}H[j+16>>3]=H[j+16>>3]+H[d>>3];H[j+24>>3]=H[j+24>>3]+H[e>>3];d=C[j+28>>2];C[j+8>>2]=C[j+24>>2];C[j+12>>2]=d;d=C[j+20>>2];C[j>>2]=C[j+16>>2];C[j+4>>2]=d;d=f+3|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}oc:{if(d>>>0>=i>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break oc}d=C[b+36>>2]+(d<<5)|0}pc:{if(!o){break pc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break pc}f=C[d+24>>2];k=C[b+172>>2];g=H[d>>3];l=0;if((e|0)!=1){i=e&-2;h=0;while(1){o=l|1;g=+G[k+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g);l=l+2|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}g=e&1?+G[k+(l<<2)>>2]*H[f+(l<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break pc}C[d+20>>2]=0}H[j>>3]=H[j>>3]+H[d>>3];Bf(b,c,j+32|0,j+16|0,j);d=C[b+140>>2];C[j+40>>2]=C[b+136>>2];C[j+44>>2]=d;d=C[b+132>>2];C[j+32>>2]=C[b+128>>2];C[j+36>>2]=d;l=C[b+24>>2];d=a+4|0;if(l>>>0>=d>>>0){continue}break}}Ce=j+48|0;break A}l=c;c=0;i=Ce-48|0;Ce=i;e=C[b+24>>2];qc:{if(!(e&4)){if(e>>>0<8){break qc}d=8;while(1){a=c;c=d;d=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=d;d=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=d;if(a>>>0>=e>>>0){A[b+20|0]=1}h=C[b+32>>2];rc:{if(h>>>0<=a>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break rc}d=C[b+36>>2]+(a<<5)|0}o=D[b+176|0];sc:{if(!o){break sc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break sc}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break sc}C[d+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}tc:{if(d>>>0>=h>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break tc}d=C[b+36>>2]+(d<<5)|0}uc:{if(!o){break uc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break uc}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break uc}C[d+20>>2]=0}e=a|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}vc:{if(e>>>0>=h>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break vc}f=C[b+36>>2]+(e<<5)|0}wc:{if(!o){break wc}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break wc}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break wc}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|3;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}xc:{if(d>>>0>=h>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break xc}d=C[b+36>>2]+(d<<5)|0}yc:{if(!o){break yc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break yc}j=C[d+24>>2];h=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break yc}C[d+20>>2]=0}H[i>>3]=H[i>>3]+H[d>>3];Bf(b,l,i+32|0,i+16|0,i);d=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=d;d=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=d;d=a|4;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}j=C[b+32>>2];zc:{if(j>>>0<=d>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break zc}d=C[b+36>>2]+(d<<5)|0}h=D[b+176|0];Ac:{if(!h){break Ac}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Ac}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Ac}C[d+20>>2]=0}q=H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;H[i+32>>3]=q+H[i+32>>3];d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|5;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Bc:{if(d>>>0>=j>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Bc}d=C[b+36>>2]+(d<<5)|0}Cc:{if(!h){break Cc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Cc}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Cc}C[d+20>>2]=0}e=a|6;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Dc:{if(e>>>0>=j>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break Dc}f=C[b+36>>2]+(e<<5)|0}Ec:{if(!h){break Ec}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break Ec}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break Ec}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|7;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Fc:{if(d>>>0>=j>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Fc}d=C[b+36>>2]+(d<<5)|0}Gc:{if(!h){break Gc}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Gc}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Gc}C[d+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[d>>3];d=C[b+24>>2];if(!(d-a>>>0>15|!(d&1))){if(c>>>0>=d>>>0){A[b+20|0]=1}Hc:{if(c>>>0>=j>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Hc}a=C[b+36>>2]+(c<<5)|0}Ic:{if(!h){break Ic}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ic}f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];e=0;if((d|0)!=1){h=d&-2;k=0;while(1){o=e|1;g=+G[j+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((h|0)!=(k|0)){continue}break}}g=d&1?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ic}C[a+20>>2]=0}H[i>>3]=H[i>>3]+H[a>>3]}Bf(b,l,i+32|0,i+16|0,i);e=C[b+24>>2];d=c+8|0;if(e>>>0>=d>>>0){continue}break}break qc}a=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=a;a=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=a;c=C[b+32>>2];Jc:{if(!c){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Jc}a=C[b+36>>2]}h=D[b+176|0];Kc:{if(!h){break Kc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Kc}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Lc:{if((d|0)==1){e=0;break Lc}d=d&-2;e=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Kc}C[a+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[a>>3];a=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=a;a=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=a;if(F[b+24>>2]<=1){A[b+20|0]=1}Mc:{if(c>>>0<=1){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Mc}a=C[b+36>>2]+32|0}Nc:{if(!h){break Nc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Nc}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Oc:{if((d|0)==1){e=0;break Oc}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Nc}C[a+20>>2]=0}if(F[b+24>>2]<=2){A[b+20|0]=1}Pc:{if(c>>>0<=2){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Pc}d=C[b+36>>2]- -64|0}Qc:{if(!h){break Qc}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Qc}o=e&1;f=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];Rc:{if((e|0)==1){e=0;break Rc}m=e&-2;e=0;k=0;while(1){p=e|1;g=+G[j+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Qc}C[d+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[a>>3];H[i+24>>3]=H[i+24>>3]+H[d>>3];a=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=a;a=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=a;if(F[b+24>>2]<=3){A[b+20|0]=1}Sc:{if(c>>>0<=3){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Sc}a=C[b+36>>2]+96|0}Tc:{if(!h){break Tc}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Tc}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Uc:{if((d|0)==1){e=0;break Uc}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Tc}C[a+20>>2]=0}H[i>>3]=H[i>>3]+H[a>>3];e=12;a=4;d=C[b+24>>2];if(d>>>0>=12){while(1){d=a;a=e;Bf(b,l,i+32|0,i+16|0,i);c=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=c;c=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=c;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}h=C[b+32>>2];Vc:{if(h>>>0<=d>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Vc}c=C[b+36>>2]+(d<<5)|0}o=D[b+176|0];Wc:{if(!o){break Wc}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Wc}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Wc}C[c+20>>2]=0}q=H[c>>3];c=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=c;H[i+32>>3]=q+H[i+32>>3];c=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=c;c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Xc:{if(c>>>0>=h>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Xc}c=C[b+36>>2]+(c<<5)|0}Yc:{if(!o){break Yc}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Yc}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Yc}C[c+20>>2]=0}e=d|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Zc:{if(e>>>0>=h>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break Zc}f=C[b+36>>2]+(e<<5)|0}_c:{if(!o){break _c}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break _c}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break _c}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[c>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];c=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=c;c=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=c;c=d|3;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}$c:{if(c>>>0>=h>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break $c}c=C[b+36>>2]+(c<<5)|0}ad:{if(!o){break ad}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break ad}j=C[c+24>>2];h=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break ad}C[c+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[c>>3];Bf(b,l,i+32|0,i+16|0,i);c=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=c;c=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=c;e=d+4|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}c=C[b+32>>2];bd:{if(e>>>0>=c>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break bd}f=C[b+36>>2]+(e<<5)|0}h=D[b+176|0];cd:{if(!h){break cd}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break cd}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break cd}C[f+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[f>>3];e=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=e;e=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=e;e=d+5|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}dd:{if(c>>>0<=e>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break dd}f=C[b+36>>2]+(e<<5)|0}ed:{if(!h){break ed}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break ed}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break ed}C[f+20>>2]=0}e=d+6|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}fd:{if(c>>>0<=e>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;j=417712;break fd}j=C[b+36>>2]+(e<<5)|0}gd:{if(!h){break gd}o=C[j+20>>2];if(!o|(o|0)!=C[b+168>>2]){break gd}m=C[j+24>>2];p=C[b+172>>2];g=H[j>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[j+8>>2]=0;C[j+12>>2]=0;H[j>>3]=g;if(C[j+16>>2]<0){break gd}C[j+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[f>>3];H[i+24>>3]=H[i+24>>3]+H[j>>3];e=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=e;e=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=e;d=d+7|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}hd:{if(c>>>0<=d>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break hd}d=C[b+36>>2]+(d<<5)|0}id:{if(!h){break id}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break id}j=C[d+24>>2];o=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){m=f&-2;k=0;while(1){p=e|1;g=+G[o+(p<<2)>>2]*H[j+(p<<3)>>3]+(+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=f&1?+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break id}C[d+20>>2]=0}H[i>>3]=H[i>>3]+H[d>>3];e=a+8|0;d=C[b+24>>2];if(e>>>0<=d>>>0){continue}break}}if(a>>>0>>0){jd:{if(a>>>0>=c>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break jd}a=C[b+36>>2]+(a<<5)|0}kd:{if(!h){break kd}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break kd}j=c&1;d=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];ld:{if((c|0)==1){e=0;break ld}c=c&-2;e=0;k=0;while(1){h=e|1;g=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}g=j?+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break kd}C[a+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[a>>3]}Bf(b,l,i+32|0,i+16|0,i)}Ce=i+48|0;break A}l=c;c=0;i=Ce-48|0;Ce=i;e=C[b+24>>2];md:{if(!(e&4)){if(e>>>0<8){break md}d=8;while(1){a=c;c=d;d=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=d;d=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=d;if(a>>>0>=e>>>0){A[b+20|0]=1}h=C[b+32>>2];nd:{if(h>>>0<=a>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break nd}d=C[b+36>>2]+(a<<5)|0}o=D[b+176|0];od:{if(!o){break od}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break od}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break od}C[d+20>>2]=0}q=H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;H[i+32>>3]=q+H[i+32>>3];d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}pd:{if(d>>>0>=h>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break pd}d=C[b+36>>2]+(d<<5)|0}qd:{if(!o){break qd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break qd}j=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break qd}C[d+20>>2]=0}e=a|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}rd:{if(e>>>0>=h>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break rd}f=C[b+36>>2]+(e<<5)|0}sd:{if(!o){break sd}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break sd}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break sd}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|3;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}td:{if(d>>>0>=h>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break td}d=C[b+36>>2]+(d<<5)|0}ud:{if(!o){break ud}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break ud}j=C[d+24>>2];h=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ud}C[d+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[d>>3];Bf(b,l,i+32|0,i+16|0,i);d=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=d;d=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=d;d=a|4;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}j=C[b+32>>2];vd:{if(j>>>0<=d>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break vd}d=C[b+36>>2]+(d<<5)|0}h=D[b+176|0];wd:{if(!h){break wd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break wd}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break wd}C[d+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[d>>3];d=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=d;d=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=d;d=a|5;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}xd:{if(d>>>0>=j>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break xd}d=C[b+36>>2]+(d<<5)|0}yd:{if(!h){break yd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break yd}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break yd}C[d+20>>2]=0}e=a|6;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}zd:{if(e>>>0>=j>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break zd}f=C[b+36>>2]+(e<<5)|0}Ad:{if(!h){break Ad}o=C[f+20>>2];if(!o|(o|0)!=C[b+168>>2]){break Ad}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break Ad}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[d>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];d=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=d;d=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=d;d=a|7;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Bd:{if(d>>>0>=j>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Bd}d=C[b+36>>2]+(d<<5)|0}Cd:{if(!h){break Cd}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Cd}o=C[d+24>>2];m=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Cd}C[d+20>>2]=0}H[i>>3]=H[i>>3]+H[d>>3];d=C[b+24>>2];if(!(d-a>>>0>15|!(d&1))){if(c>>>0>=d>>>0){A[b+20|0]=1}Dd:{if(c>>>0>=j>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Dd}a=C[b+36>>2]+(c<<5)|0}Ed:{if(!h){break Ed}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ed}f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];e=0;if((d|0)!=1){h=d&-2;k=0;while(1){o=e|1;g=+G[j+(o<<2)>>2]*H[f+(o<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((h|0)!=(k|0)){continue}break}}g=d&1?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ed}C[a+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[a>>3]}Bf(b,l,i+32|0,i+16|0,i);e=C[b+24>>2];d=c+8|0;if(e>>>0>=d>>>0){continue}break}break md}a=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=a;a=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=a;h=C[b+32>>2];Fd:{if(!h){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Fd}a=C[b+36>>2]}c=D[b+176|0];Gd:{if(!c){break Gd}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Gd}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Hd:{if((d|0)==1){e=0;break Hd}d=d&-2;e=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Gd}C[a+20>>2]=0}H[i+32>>3]=H[i+32>>3]+H[a>>3];a=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=a;a=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=a;if(F[b+24>>2]<=1){A[b+20|0]=1}Id:{if(h>>>0<=1){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Id}a=C[b+36>>2]+32|0}Jd:{if(!c){break Jd}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Jd}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Kd:{if((d|0)==1){e=0;break Kd}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Jd}C[a+20>>2]=0}if(F[b+24>>2]<=2){A[b+20|0]=1}Ld:{if(h>>>0<=2){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Ld}d=C[b+36>>2]- -64|0}Md:{if(!c){break Md}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Md}o=e&1;f=C[d+24>>2];j=C[b+172>>2];g=H[d>>3];Nd:{if((e|0)==1){e=0;break Nd}m=e&-2;e=0;k=0;while(1){p=e|1;g=+G[j+(p<<2)>>2]*H[f+(p<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Md}C[d+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[a>>3];H[i+24>>3]=H[i+24>>3]+H[d>>3];a=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=a;a=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=a;if(F[b+24>>2]<=3){A[b+20|0]=1}Od:{if(h>>>0<=3){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Od}a=C[b+36>>2]+96|0}Pd:{if(!c){break Pd}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Pd}o=d&1;f=C[a+24>>2];j=C[b+172>>2];g=H[a>>3];Qd:{if((d|0)==1){e=0;break Qd}d=d&-2;e=0;k=0;while(1){m=e|1;g=+G[j+(m<<2)>>2]*H[f+(m<<3)>>3]+(+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}g=o?+G[j+(e<<2)>>2]*H[f+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Pd}C[a+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[a>>3];e=12;a=4;d=C[b+24>>2];if(d>>>0>=12){while(1){d=a;a=e;Bf(b,l,i+32|0,i+16|0,i);c=C[b+140>>2];C[i+40>>2]=C[b+136>>2];C[i+44>>2]=c;c=C[b+132>>2];C[i+32>>2]=C[b+128>>2];C[i+36>>2]=c;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}h=C[b+32>>2];Rd:{if(h>>>0<=d>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Rd}c=C[b+36>>2]+(d<<5)|0}o=D[b+176|0];Sd:{if(!o){break Sd}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Sd}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Sd}C[c+20>>2]=0}H[i+40>>3]=H[i+40>>3]+H[c>>3];c=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=c;c=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=c;c=d|1;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Td:{if(c>>>0>=h>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Td}c=C[b+36>>2]+(c<<5)|0}Ud:{if(!o){break Ud}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Ud}j=C[c+24>>2];m=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){p=f&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[j+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=f&1?+G[m+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Ud}C[c+20>>2]=0}e=d|2;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}Vd:{if(e>>>0>=h>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break Vd}f=C[b+36>>2]+(e<<5)|0}Wd:{if(!o){break Wd}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break Wd}m=C[f+24>>2];p=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){r=j&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=j&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break Wd}C[f+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[c>>3];H[i+24>>3]=H[i+24>>3]+H[f>>3];c=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=c;c=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=c;c=d|3;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}Xd:{if(c>>>0>=h>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Xd}c=C[b+36>>2]+(c<<5)|0}Yd:{if(!o){break Yd}f=C[c+20>>2];if(!f|(f|0)!=C[b+168>>2]){break Yd}j=C[c+24>>2];h=C[b+172>>2];g=H[c>>3];e=0;if((f|0)!=1){o=f&-2;k=0;while(1){m=e|1;g=+G[h+(m<<2)>>2]*H[j+(m<<3)>>3]+(+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}g=f&1?+G[h+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[c+8>>2]=0;C[c+12>>2]=0;H[c>>3]=g;if(C[c+16>>2]<0){break Yd}C[c+20>>2]=0}H[i>>3]=H[i>>3]+H[c>>3];Bf(b,l,i+32|0,i+16|0,i);c=C[i+12>>2];C[i+40>>2]=C[i+8>>2];C[i+44>>2]=c;c=C[i+4>>2];C[i+32>>2]=C[i>>2];C[i+36>>2]=c;c=d+4|0;if(c>>>0>=F[b+24>>2]){A[b+20|0]=1}h=C[b+32>>2];Zd:{if(c>>>0>=h>>>0){c=C[21159];C[104434]=C[21158];C[104435]=c;c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;f=417712;break Zd}f=C[b+36>>2]+(c<<5)|0}c=D[b+176|0];_d:{if(!c){break _d}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break _d}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break _d}C[f+20>>2]=0}q=H[f>>3];e=C[i+44>>2];C[i+24>>2]=C[i+40>>2];C[i+28>>2]=e;H[i+32>>3]=q+H[i+32>>3];e=C[i+36>>2];C[i+16>>2]=C[i+32>>2];C[i+20>>2]=e;e=d+5|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}$d:{if(e>>>0>=h>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=417712;break $d}f=C[b+36>>2]+(e<<5)|0}ae:{if(!c){break ae}j=C[f+20>>2];if(!j|(j|0)!=C[b+168>>2]){break ae}o=C[f+24>>2];m=C[b+172>>2];g=H[f>>3];e=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=e|1;g=+G[m+(r<<2)>>2]*H[o+(r<<3)>>3]+(+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}g=j&1?+G[m+(e<<2)>>2]*H[o+(e<<3)>>3]+g:g;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=g;if(C[f+16>>2]<0){break ae}C[f+20>>2]=0}e=d+6|0;if(e>>>0>=F[b+24>>2]){A[b+20|0]=1}be:{if(e>>>0>=h>>>0){e=C[21159];C[104434]=C[21158];C[104435]=e;e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;j=417712;break be}j=C[b+36>>2]+(e<<5)|0}ce:{if(!c){break ce}o=C[j+20>>2];if(!o|(o|0)!=C[b+168>>2]){break ce}m=C[j+24>>2];p=C[b+172>>2];g=H[j>>3];e=0;if((o|0)!=1){r=o&-2;k=0;while(1){s=e|1;g=+G[p+(s<<2)>>2]*H[m+(s<<3)>>3]+(+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}g=o&1?+G[p+(e<<2)>>2]*H[m+(e<<3)>>3]+g:g;C[j+8>>2]=0;C[j+12>>2]=0;H[j>>3]=g;if(C[j+16>>2]<0){break ce}C[j+20>>2]=0}H[i+16>>3]=H[i+16>>3]+H[f>>3];H[i+24>>3]=H[i+24>>3]+H[j>>3];e=C[i+28>>2];C[i+8>>2]=C[i+24>>2];C[i+12>>2]=e;e=C[i+20>>2];C[i>>2]=C[i+16>>2];C[i+4>>2]=e;d=d+7|0;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}de:{if(d>>>0>=h>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break de}d=C[b+36>>2]+(d<<5)|0}ee:{if(!c){break ee}f=C[d+20>>2];if(!f|(f|0)!=C[b+168>>2]){break ee}j=C[d+24>>2];o=C[b+172>>2];g=H[d>>3];e=0;if((f|0)!=1){m=f&-2;k=0;while(1){p=e|1;g=+G[o+(p<<2)>>2]*H[j+(p<<3)>>3]+(+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}g=f&1?+G[o+(e<<2)>>2]*H[j+(e<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ee}C[d+20>>2]=0}H[i+8>>3]=H[i+8>>3]+H[d>>3];e=a+8|0;d=C[b+24>>2];if(e>>>0<=d>>>0){continue}break}}if(a>>>0>>0){fe:{if(a>>>0>=h>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break fe}a=C[b+36>>2]+(a<<5)|0}ge:{if(!c){break ge}c=C[a+20>>2];if(!c|(c|0)!=C[b+168>>2]){break ge}j=c&1;d=C[a+24>>2];f=C[b+172>>2];g=H[a>>3];he:{if((c|0)==1){e=0;break he}c=c&-2;e=0;k=0;while(1){h=e|1;g=+G[f+(h<<2)>>2]*H[d+(h<<3)>>3]+(+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g);e=e+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}g=j?+G[f+(e<<2)>>2]*H[d+(e<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break ge}C[a+20>>2]=0}H[i>>3]=H[i>>3]+H[a>>3]}Bf(b,l,i+32|0,i+16|0,i)}Ce=i+48|0;break A}f=Ce-96|0;Ce=f;ie:{je:{ke:{if(C[b+24>>2]==7){a=C[b+140>>2];C[f+88>>2]=C[b+136>>2];C[f+92>>2]=a;a=C[b+132>>2];C[f+80>>2]=C[b+128>>2];C[f+84>>2]=a;j=C[b+32>>2];le:{if(!j){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break le}a=C[b+36>>2]}l=D[b+176|0];if(!l){break je}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break je}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];if((d|0)==1){break ke}d=d&-2;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}break ke}A[b+40|0]=1;break ie}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break je}C[a+20>>2]=0}H[f+80>>3]=H[f+80>>3]+H[a>>3];a=C[f+92>>2];C[f+72>>2]=C[f+88>>2];C[f+76>>2]=a;a=C[f+84>>2];C[f+64>>2]=C[f+80>>2];C[f+68>>2]=a;if(F[b+24>>2]<=1){A[b+20|0]=1}me:{if(j>>>0<=1){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break me}a=C[b+36>>2]+32|0}ne:{if(!l){break ne}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break ne}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];oe:{if((d|0)==1){h=0;break oe}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break ne}C[a+20>>2]=0}if(F[b+24>>2]<=2){A[b+20|0]=1}pe:{if(j>>>0<=2){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break pe}d=C[b+36>>2]- -64|0}qe:{if(!l){break qe}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break qe}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];re:{if((e|0)==1){h=0;break re}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break qe}C[d+20>>2]=0}H[f+64>>3]=H[f+64>>3]+H[a>>3];H[f+72>>3]=H[f+72>>3]+H[d>>3];a=C[f+76>>2];C[f+56>>2]=C[f+72>>2];C[f+60>>2]=a;a=C[f+68>>2];C[f+48>>2]=C[f+64>>2];C[f+52>>2]=a;if(F[b+24>>2]<=3){A[b+20|0]=1}se:{if(j>>>0<=3){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break se}a=C[b+36>>2]+96|0}te:{if(!l){break te}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break te}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];ue:{if((d|0)==1){h=0;break ue}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break te}C[a+20>>2]=0}H[f+48>>3]=H[f+48>>3]+H[a>>3];a=C[f+60>>2];C[f+40>>2]=C[f+56>>2];C[f+44>>2]=a;a=C[f+52>>2];C[f+32>>2]=C[f+48>>2];C[f+36>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}ve:{if(j>>>0<=4){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break ve}a=C[b+36>>2]+128|0}we:{if(!l){break we}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break we}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];xe:{if((d|0)==1){h=0;break xe}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break we}C[a+20>>2]=0}H[f+32>>3]=H[f+32>>3]+H[a>>3];a=C[f+44>>2];C[f+24>>2]=C[f+40>>2];C[f+28>>2]=a;a=C[f+36>>2];C[f+16>>2]=C[f+32>>2];C[f+20>>2]=a;if(F[b+24>>2]<=5){A[b+20|0]=1}ye:{if(j>>>0<=5){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break ye}a=C[b+36>>2]+160|0}ze:{if(!l){break ze}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break ze}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Ae:{if((d|0)==1){h=0;break Ae}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break ze}C[a+20>>2]=0}q=H[a>>3];d=C[f+92>>2];a=C[f+88>>2];C[f+24>>2]=a;C[f+28>>2]=d;H[f+16>>3]=q+H[f+16>>3];C[f+8>>2]=a;C[f+12>>2]=d;a=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}Be:{if(j>>>0<=6){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Be}a=C[b+36>>2]+192|0}Ce:{if(!l){break Ce}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ce}k=d&1;j=C[a+24>>2];l=C[b+172>>2];g=H[a>>3];De:{if((d|0)==1){h=0;break De}d=d&-2;h=0;e=0;while(1){i=h|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=k?+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ce}C[a+20>>2]=0}H[f>>3]=H[f>>3]+H[a>>3];Bf(b,c,f+80|0,f- -64|0,f+48|0);Bf(b,c,f+32|0,f+16|0,f)}Ce=f+96|0;break A}f=Ce-96|0;Ce=f;Ee:{Fe:{Ge:{if(C[b+24>>2]==13){a=C[b+140>>2];C[f+88>>2]=C[b+136>>2];C[f+92>>2]=a;a=C[b+132>>2];C[f+80>>2]=C[b+128>>2];C[f+84>>2]=a;j=C[b+32>>2];He:{if(!j){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break He}a=C[b+36>>2]}l=D[b+176|0];if(!l){break Fe}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Fe}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];if((d|0)==1){break Ge}d=d&-2;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}break Ge}A[b+40|0]=1;break Ee}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Fe}C[a+20>>2]=0}if(F[b+24>>2]<=1){A[b+20|0]=1}Ie:{if(j>>>0<=1){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Ie}d=C[b+36>>2]+32|0}Je:{if(!l){break Je}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Je}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Ke:{if((e|0)==1){h=0;break Ke}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Je}C[d+20>>2]=0}H[f+80>>3]=H[f+80>>3]+H[a>>3];H[f+88>>3]=H[f+88>>3]+H[d>>3];a=C[f+92>>2];C[f+72>>2]=C[f+88>>2];C[f+76>>2]=a;a=C[f+84>>2];C[f+64>>2]=C[f+80>>2];C[f+68>>2]=a;if(F[b+24>>2]<=2){A[b+20|0]=1}Le:{if(j>>>0<=2){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Le}a=C[b+36>>2]- -64|0}Me:{if(!l){break Me}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Me}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Ne:{if((d|0)==1){h=0;break Ne}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Me}C[a+20>>2]=0}if(F[b+24>>2]<=3){A[b+20|0]=1}Oe:{if(j>>>0<=3){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Oe}d=C[b+36>>2]+96|0}Pe:{if(!l){break Pe}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Pe}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Qe:{if((e|0)==1){h=0;break Qe}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Pe}C[d+20>>2]=0}H[f+64>>3]=H[f+64>>3]+H[a>>3];H[f+72>>3]=H[f+72>>3]+H[d>>3];a=C[f+76>>2];C[f+56>>2]=C[f+72>>2];C[f+60>>2]=a;a=C[f+68>>2];C[f+48>>2]=C[f+64>>2];C[f+52>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}Re:{if(j>>>0<=4){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Re}a=C[b+36>>2]+128|0}Se:{if(!l){break Se}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Se}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Te:{if((d|0)==1){h=0;break Te}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Se}C[a+20>>2]=0}if(F[b+24>>2]<=5){A[b+20|0]=1}Ue:{if(j>>>0<=5){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Ue}d=C[b+36>>2]+160|0}Ve:{if(!l){break Ve}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Ve}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];We:{if((e|0)==1){h=0;break We}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Ve}C[d+20>>2]=0}H[f+48>>3]=H[f+48>>3]+H[a>>3];H[f+56>>3]=H[f+56>>3]+H[d>>3];a=C[f+60>>2];C[f+40>>2]=C[f+56>>2];C[f+44>>2]=a;a=C[f+52>>2];C[f+32>>2]=C[f+48>>2];C[f+36>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}Xe:{if(j>>>0<=6){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Xe}a=C[b+36>>2]+192|0}Ye:{if(!l){break Ye}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ye}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Ze:{if((d|0)==1){h=0;break Ze}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ye}C[a+20>>2]=0}if(F[b+24>>2]<=7){A[b+20|0]=1}_e:{if(j>>>0<=7){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break _e}d=C[b+36>>2]+224|0}$e:{if(!l){break $e}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break $e}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];af:{if((e|0)==1){h=0;break af}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break $e}C[d+20>>2]=0}H[f+32>>3]=H[f+32>>3]+H[a>>3];H[f+40>>3]=H[f+40>>3]+H[d>>3];a=C[f+44>>2];C[f+24>>2]=C[f+40>>2];C[f+28>>2]=a;a=C[f+36>>2];C[f+16>>2]=C[f+32>>2];C[f+20>>2]=a;if(F[b+24>>2]<=8){A[b+20|0]=1}bf:{if(j>>>0<=8){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break bf}a=C[b+36>>2]+256|0}cf:{if(!l){break cf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break cf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];df:{if((d|0)==1){h=0;break df}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break cf}C[a+20>>2]=0}if(F[b+24>>2]<=9){A[b+20|0]=1}ef:{if(j>>>0<=9){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break ef}d=C[b+36>>2]+288|0}ff:{if(!l){break ff}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break ff}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];gf:{if((e|0)==1){h=0;break gf}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break ff}C[d+20>>2]=0}H[f+16>>3]=H[f+16>>3]+H[a>>3];H[f+24>>3]=H[f+24>>3]+H[d>>3];a=C[f+28>>2];C[f+8>>2]=C[f+24>>2];C[f+12>>2]=a;a=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=a;if(F[b+24>>2]<=10){A[b+20|0]=1}hf:{if(j>>>0<=10){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break hf}a=C[b+36>>2]+320|0}jf:{if(!l){break jf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break jf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];kf:{if((d|0)==1){h=0;break kf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break jf}C[a+20>>2]=0}if(F[b+24>>2]<=11){A[b+20|0]=1}lf:{if(j>>>0<=11){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break lf}d=C[b+36>>2]+352|0}mf:{if(!l){break mf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break mf}k=e&1;j=C[d+24>>2];l=C[b+172>>2];g=H[d>>3];nf:{if((e|0)==1){h=0;break nf}i=e&-2;h=0;e=0;while(1){o=h|1;g=+G[l+(o<<2)>>2]*H[j+(o<<3)>>3]+(+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}}g=k?+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break mf}C[d+20>>2]=0}H[f>>3]=H[f>>3]+H[a>>3];H[f+8>>3]=H[f+8>>3]+H[d>>3];Bf(b,c,f+80|0,f- -64|0,f+48|0);Bf(b,c,f+32|0,f+16|0,f)}Ce=f+96|0;break A}f=Ce-96|0;Ce=f;of:{pf:{qf:{if(C[b+24>>2]==9){a=C[b+140>>2];C[f+88>>2]=C[b+136>>2];C[f+92>>2]=a;a=C[b+132>>2];C[f+80>>2]=C[b+128>>2];C[f+84>>2]=a;j=C[b+32>>2];rf:{if(!j){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break rf}a=C[b+36>>2]}l=D[b+176|0];if(!l){break pf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break pf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];if((d|0)==1){break qf}d=d&-2;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}break qf}A[b+40|0]=1;break of}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break pf}C[a+20>>2]=0}if(F[b+24>>2]<=1){A[b+20|0]=1}sf:{if(j>>>0<=1){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break sf}d=C[b+36>>2]+32|0}tf:{if(!l){break tf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break tf}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];uf:{if((e|0)==1){h=0;break uf}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break tf}C[d+20>>2]=0}H[f+80>>3]=H[f+80>>3]+H[a>>3];H[f+88>>3]=H[f+88>>3]+H[d>>3];a=C[f+92>>2];C[f+72>>2]=C[f+88>>2];C[f+76>>2]=a;a=C[f+84>>2];C[f+64>>2]=C[f+80>>2];C[f+68>>2]=a;if(F[b+24>>2]<=2){A[b+20|0]=1}vf:{if(j>>>0<=2){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break vf}a=C[b+36>>2]- -64|0}wf:{if(!l){break wf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break wf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];xf:{if((d|0)==1){h=0;break xf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break wf}C[a+20>>2]=0}if(F[b+24>>2]<=3){A[b+20|0]=1}yf:{if(j>>>0<=3){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break yf}d=C[b+36>>2]+96|0}zf:{if(!l){break zf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break zf}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Af:{if((e|0)==1){h=0;break Af}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break zf}C[d+20>>2]=0}H[f+64>>3]=H[f+64>>3]+H[a>>3];H[f+72>>3]=H[f+72>>3]+H[d>>3];a=C[f+76>>2];C[f+56>>2]=C[f+72>>2];C[f+60>>2]=a;a=C[f+68>>2];C[f+48>>2]=C[f+64>>2];C[f+52>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}Bf:{if(j>>>0<=4){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Bf}a=C[b+36>>2]+128|0}Cf:{if(!l){break Cf}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Cf}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Df:{if((d|0)==1){h=0;break Df}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Cf}C[a+20>>2]=0}H[f+48>>3]=H[f+48>>3]+H[a>>3];a=C[f+60>>2];C[f+40>>2]=C[f+56>>2];C[f+44>>2]=a;a=C[f+52>>2];C[f+32>>2]=C[f+48>>2];C[f+36>>2]=a;if(F[b+24>>2]<=5){A[b+20|0]=1}Ef:{if(j>>>0<=5){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ef}a=C[b+36>>2]+160|0}Ff:{if(!l){break Ff}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Ff}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Gf:{if((d|0)==1){h=0;break Gf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Ff}C[a+20>>2]=0}H[f+32>>3]=H[f+32>>3]+H[a>>3];a=C[f+44>>2];C[f+24>>2]=C[f+40>>2];C[f+28>>2]=a;a=C[f+36>>2];C[f+16>>2]=C[f+32>>2];C[f+20>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}Hf:{if(j>>>0<=6){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Hf}a=C[b+36>>2]+192|0}If:{if(!l){break If}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break If}o=d&1;k=C[a+24>>2];i=C[b+172>>2];g=H[a>>3];Jf:{if((d|0)==1){h=0;break Jf}d=d&-2;h=0;e=0;while(1){m=h|1;g=+G[i+(m<<2)>>2]*H[k+(m<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break If}C[a+20>>2]=0}if(F[b+24>>2]<=7){A[b+20|0]=1}Kf:{if(j>>>0<=7){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break Kf}d=C[b+36>>2]+224|0}Lf:{if(!l){break Lf}e=C[d+20>>2];if(!e|(e|0)!=C[b+168>>2]){break Lf}o=e&1;k=C[d+24>>2];i=C[b+172>>2];g=H[d>>3];Mf:{if((e|0)==1){h=0;break Mf}m=e&-2;h=0;e=0;while(1){p=h|1;g=+G[i+(p<<2)>>2]*H[k+(p<<3)>>3]+(+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((m|0)!=(e|0)){continue}break}}g=o?+G[i+(h<<2)>>2]*H[k+(h<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break Lf}C[d+20>>2]=0}H[f+16>>3]=H[f+16>>3]+H[a>>3];H[f+24>>3]=H[f+24>>3]+H[d>>3];a=C[f+28>>2];C[f+8>>2]=C[f+24>>2];C[f+12>>2]=a;a=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=a;if(F[b+24>>2]<=8){A[b+20|0]=1}Nf:{if(j>>>0<=8){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Nf}a=C[b+36>>2]+256|0}Of:{if(!l){break Of}d=C[a+20>>2];if(!d|(d|0)!=C[b+168>>2]){break Of}k=d&1;j=C[a+24>>2];l=C[b+172>>2];g=H[a>>3];Pf:{if((d|0)==1){h=0;break Pf}d=d&-2;h=0;e=0;while(1){i=h|1;g=+G[l+(i<<2)>>2]*H[j+(i<<3)>>3]+(+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g);h=h+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}}g=k?+G[l+(h<<2)>>2]*H[j+(h<<3)>>3]+g:g;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=g;if(C[a+16>>2]<0){break Of}C[a+20>>2]=0}H[f>>3]=H[f>>3]+H[a>>3];a=C[b+140>>2];C[f+8>>2]=C[b+136>>2];C[f+12>>2]=a;Bf(b,c,f+80|0,f- -64|0,f+48|0);Bf(b,c,f+32|0,f+16|0,f)}Ce=f+96|0;break A}h=Ce-96|0;Ce=h;Qf:{Rf:{if(C[b+24>>2]==11){k=C[b+168>>2];s=k&-2;t=k&1;i=k-1|0;e=C[b+36>>2];o=C[b+32>>2];m=D[b+176|0];while(1){j=d;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Sf:{if(j>>>0>=o>>>0){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Sf}a=e+(j<<5)|0}Tf:{if(!m){break Tf}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break Tf}f=C[a+24>>2];p=C[b+172>>2];n=H[a>>3];d=0;l=0;if(i){while(1){r=d|1;n=+G[p+(r<<2)>>2]*H[f+(r<<3)>>3]+(+G[p+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=t?+G[p+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Tf}C[a+20>>2]=0}d=j|1;if(d>>>0>=F[b+24>>2]){A[b+20|0]=1}Uf:{if(d>>>0>=o>>>0){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break Uf}f=e+(d<<5)|0}Vf:{if(!m){break Vf}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break Vf}p=C[f+24>>2];r=C[b+172>>2];n=H[f>>3];d=0;l=0;if(i){while(1){w=d|1;n=+G[r+(w<<2)>>2]*H[p+(w<<3)>>3]+(+G[r+(d<<2)>>2]*H[p+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=t?+G[r+(d<<2)>>2]*H[p+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Vf}C[f+20>>2]=0}d=j+2|0;q=q+H[f>>3];g=g+H[a>>3];if(j>>>0<8){continue}break}break Rf}A[b+40|0]=1;break Qf}a=C[b+140>>2];C[h+88>>2]=C[b+136>>2];C[h+92>>2]=a;a=C[b+132>>2];C[h+80>>2]=C[b+128>>2];C[h+84>>2]=a;if(!C[b+24>>2]){A[b+20|0]=1}a=e;if(!o){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}Wf:{if(!m){break Wf}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break Wf}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];Xf:{if(!i){d=0;break Xf}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Wf}C[a+20>>2]=0}if(F[b+24>>2]<=1){A[b+20|0]=1}Yf:{if(o>>>0<=1){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break Yf}f=e+32|0}Zf:{if(!m){break Zf}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break Zf}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];_f:{if(!i){d=0;break _f}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break Zf}C[f+20>>2]=0}H[h+80>>3]=H[h+80>>3]+H[a>>3];H[h+88>>3]=H[h+88>>3]+H[f>>3];a=C[h+92>>2];C[h+72>>2]=C[h+88>>2];C[h+76>>2]=a;a=C[h+84>>2];C[h+64>>2]=C[h+80>>2];C[h+68>>2]=a;if(F[b+24>>2]<=2){A[b+20|0]=1}$f:{if(o>>>0<=2){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break $f}a=e- -64|0}ag:{if(!m){break ag}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break ag}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];bg:{if(!i){d=0;break bg}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break ag}C[a+20>>2]=0}if(F[b+24>>2]<=3){A[b+20|0]=1}cg:{if(o>>>0<=3){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break cg}f=e+96|0}dg:{if(!m){break dg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break dg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];eg:{if(!i){d=0;break eg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break dg}C[f+20>>2]=0}H[h+64>>3]=H[h+64>>3]+H[a>>3];H[h+72>>3]=H[h+72>>3]+H[f>>3];a=C[h+76>>2];C[h+56>>2]=C[h+72>>2];C[h+60>>2]=a;a=C[h+68>>2];C[h+48>>2]=C[h+64>>2];C[h+52>>2]=a;if(F[b+24>>2]<=4){A[b+20|0]=1}fg:{if(o>>>0<=4){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break fg}a=e+128|0}gg:{if(!m){break gg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break gg}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];hg:{if(!i){d=0;break hg}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break gg}C[a+20>>2]=0}if(F[b+24>>2]<=5){A[b+20|0]=1}ig:{if(o>>>0<=5){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break ig}f=e+160|0}jg:{if(!m){break jg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break jg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];kg:{if(!i){d=0;break kg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break jg}C[f+20>>2]=0}H[h+48>>3]=H[h+48>>3]+H[a>>3];H[h+56>>3]=H[h+56>>3]+H[f>>3];a=C[h+60>>2];C[h+40>>2]=C[h+56>>2];C[h+44>>2]=a;a=C[h+52>>2];C[h+32>>2]=C[h+48>>2];C[h+36>>2]=a;if(F[b+24>>2]<=6){A[b+20|0]=1}lg:{if(o>>>0<=6){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break lg}a=e+192|0}mg:{if(!m){break mg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break mg}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];ng:{if(!i){d=0;break ng}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break mg}C[a+20>>2]=0}if(F[b+24>>2]<=7){A[b+20|0]=1}og:{if(o>>>0<=7){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break og}f=e+224|0}pg:{if(!m){break pg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break pg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];qg:{if(!i){d=0;break qg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break pg}C[f+20>>2]=0}H[h+32>>3]=H[h+32>>3]+H[a>>3];H[h+40>>3]=H[h+40>>3]+H[f>>3];a=C[h+44>>2];C[h+24>>2]=C[h+40>>2];C[h+28>>2]=a;a=C[h+36>>2];C[h+16>>2]=C[h+32>>2];C[h+20>>2]=a;if(F[b+24>>2]<=8){A[b+20|0]=1}rg:{if(o>>>0<=8){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break rg}a=e+256|0}sg:{if(!m){break sg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break sg}p=k&1;f=C[a+24>>2];j=C[b+172>>2];n=H[a>>3];tg:{if(!i){d=0;break tg}r=k&-2;d=0;l=0;while(1){s=d|1;n=+G[j+(s<<2)>>2]*H[f+(s<<3)>>3]+(+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((r|0)!=(l|0)){continue}break}}n=p?+G[j+(d<<2)>>2]*H[f+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break sg}C[a+20>>2]=0}if(F[b+24>>2]<=9){A[b+20|0]=1}ug:{if(o>>>0<=9){d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;f=417712;break ug}f=e+288|0}vg:{if(!m){break vg}d=C[f+20>>2];if(!d|(d|0)!=(k|0)){break vg}r=k&1;j=C[f+24>>2];p=C[b+172>>2];n=H[f>>3];wg:{if(!i){d=0;break wg}s=k&-2;d=0;l=0;while(1){t=d|1;n=+G[p+(t<<2)>>2]*H[j+(t<<3)>>3]+(+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}n=r?+G[p+(d<<2)>>2]*H[j+(d<<3)>>3]+n:n;C[f+8>>2]=0;C[f+12>>2]=0;H[f>>3]=n;if(C[f+16>>2]<0){break vg}C[f+20>>2]=0}H[h+16>>3]=H[h+16>>3]+H[a>>3];H[h+24>>3]=H[h+24>>3]+H[f>>3];a=C[h+28>>2];C[h+8>>2]=C[h+24>>2];C[h+12>>2]=a;a=C[h+20>>2];C[h>>2]=C[h+16>>2];C[h+4>>2]=a;xg:{yg:{zg:{if(K(g)>K(q)){if(F[b+24>>2]<=10){A[b+20|0]=1}Ag:{if(o>>>0<=10){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ag}a=e+320|0}if(!m){break yg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break yg}j=k&1;e=C[a+24>>2];f=C[b+172>>2];n=H[a>>3];if(!i){d=0;break zg}k=k&-2;d=0;l=0;while(1){i=d|1;n=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}break zg}a=C[b+132>>2];C[h>>2]=C[b+128>>2];C[h+4>>2]=a;if(F[b+24>>2]<=10){A[b+20|0]=1}Bg:{if(o>>>0<=10){a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Bg}a=e+320|0}Cg:{if(!m){break Cg}d=C[a+20>>2];if(!d|(d|0)!=(k|0)){break Cg}j=k&1;e=C[a+24>>2];f=C[b+172>>2];n=H[a>>3];Dg:{if(!i){d=0;break Dg}k=k&-2;d=0;l=0;while(1){i=d|1;n=+G[f+(i<<2)>>2]*H[e+(i<<3)>>3]+(+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n);d=d+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}}n=j?+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break Cg}C[a+20>>2]=0}H[h+8>>3]=H[h+8>>3]+H[a>>3];break xg}n=j?+G[f+(d<<2)>>2]*H[e+(d<<3)>>3]+n:n;C[a+8>>2]=0;C[a+12>>2]=0;H[a>>3]=n;if(C[a+16>>2]<0){break yg}C[a+20>>2]=0}H[h>>3]=H[h>>3]+H[a>>3];a=C[b+140>>2];C[h+8>>2]=C[b+136>>2];C[h+12>>2]=a}Bf(b,c,h+80|0,h- -64|0,h+48|0);Bf(b,c,h+32|0,h+16|0,h)}Ce=h+96|0;break A}Eg:{Fg:{Gg:{Hg:{Ig:{Jg:{switch(a-247|0){default:if((a|0)!=28){break Ig}a=C[b+12>>2];d=C[b+4>>2];Kg:{if(a>>>0>=d>>>0){A[b+16|0]=1;c=84608;break Kg}c=a+C[b>>2]|0}c=D[c|0];a=a+1|0;Lg:{if(a>>>0>=d>>>0){A[b+16|0]=1;a=84608;break Lg}a=a+C[b>>2]|0}d=D[a|0];a=C[b+24>>2];Mg:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break Mg}A[b+20|0]=1;a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=(d|c<<8)<<16>>16;if(D[b+16|0]){c=C[b+4>>2];break Hg}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break Hg}a=a+2|0;if(c>>>0>>0){break Hg}break Gg;case 0:case 1:case 2:case 3:c=a<<8;a=C[b+12>>2];Ng:{if(a>>>0>=F[b+4>>2]){A[b+16|0]=1;a=84608;break Ng}a=a+C[b>>2]|0}c=(c+D[a|0]|0)+2412|0;a=C[b+24>>2];Og:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break Og}A[b+20|0]=1;a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=c&65535;if(D[b+16|0]){c=C[b+4>>2];break Fg}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break Fg}a=a+1|0;if(c>>>0>>0){break Fg}break Gg;case 4:case 5:case 6:case 7:break Jg}}c=(a<<16)-16449536>>>8|0;a=C[b+12>>2];Pg:{if(a>>>0>=F[b+4>>2]){A[b+16|0]=1;a=84608;break Pg}a=a+C[b>>2]|0}c=c|D[a|0];a=C[b+24>>2];Qg:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<5)|0;break Qg}A[b+20|0]=1;a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}C[a+8>>2]=0;C[a+12>>2]=0;if(C[a+16>>2]>=0){C[a+20>>2]=0}H[a>>3]=-108-c|0;if(D[b+16|0]){c=C[b+4>>2];break Fg}c=C[b+4>>2];a=C[b+12>>2];if(c>>>0>>0){break Fg}a=a+1|0;if(c>>>0>>0){break Fg}break Gg}if(a-32>>>0<=214){c=C[b+24>>2];Rg:{if(c>>>0>2]){C[b+24>>2]=c+1;b=C[b+36>>2]+(c<<5)|0;break Rg}A[b+20|0]=1;b=C[21159];C[104434]=C[21158];C[104435]=b;b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712}C[b+8>>2]=0;C[b+12>>2]=0;if(C[b+16>>2]>=0){C[b+20>>2]=0}H[b>>3]=a-139|0;break Eg}A[b+40|0]=1;C[b+24>>2]=0;break Eg}A[b+16|0]=1;C[b+12>>2]=c;break Eg}C[b+12>>2]=a;break Eg}A[b+16|0]=1;C[b+12>>2]=c}break z}g=l?+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break F}C[d+20>>2]=0}g=H[d>>3];A[c|0]=0;H[b+136>>3]=q+g;H[b+128>>3]=n;break B}g=l?+G[j+(a<<2)>>2]*H[e+(a<<3)>>3]+g:g;C[d+8>>2]=0;C[d+12>>2]=0;H[d>>3]=g;if(C[d+16>>2]<0){break D}C[d+20>>2]=0}g=H[d>>3];A[c|0]=0;H[b+136>>3]=q;H[b+128>>3]=n+g;break B}A[b+16|0]=1;C[b+12>>2]=a;break z}if(!D[b+73|0]){if(!D[b+74|0]){A[b+74|0]=1;a=C[b+80>>2]+(C[b+24>>2]>>>1|0)|0;C[b+80>>2]=a;C[b+84>>2]=(a+C[b+76>>2]|0)+7>>>3}A[b+73|0]=1}}C[b+24>>2]=0}}function ws(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,H=0,L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=J(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;L=Ce-32|0;Ce=L;C[c+36>>2]=0;a:{b:{c:{m=C[c+80>>2];if(m>>>0<=67108862){f=m<<6;C[c+40>>2]=f>>>0<=16384?16384:f;if(m>>>0<4194303){break c}}ba=C[c+52>>2];break b}f=m<<10;C[c+44>>2]=f>>>0<=16384?16384:f;ba=C[c+52>>2];if(!m){break a}}g=C[a+96>>2];j=C[c+92>>2];f=0;if(m-1>>>0>=7){q=m&-8;while(1){C[(j+I(f,20)|0)+4>>2]=g;C[(j+I(f|1,20)|0)+4>>2]=g;C[(j+I(f|2,20)|0)+4>>2]=g;C[(j+I(f|3,20)|0)+4>>2]=g;C[(j+I(f|4,20)|0)+4>>2]=g;C[(j+I(f|5,20)|0)+4>>2]=g;C[(j+I(f|6,20)|0)+4>>2]=g;C[(j+I(f|7,20)|0)+4>>2]=g;f=f+8|0;k=k+8|0;if((q|0)!=(k|0)){continue}break}}k=m&7;if(k){while(1){C[(j+I(f,20)|0)+4>>2]=g;f=f+1|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}g=0;while(1){f=j+I(g,20)|0;cj(f,c);k=f+16|0;i=E[k>>1];d:{e:{if((i&31)==24&C[f>>2]-127995>>>0<=4){break e}if(!(!g|C[f>>2]-127462>>>0>25)){f=f-20|0;if(C[f>>2]-127462>>>0>25){break d}if(!(D[f+16|0]&128)){break e}break d}if((i&287)==257){B[f+16>>1]=i|128;f=g+1|0;if(f>>>0>=m>>>0){break d}q=j+I(f,20)|0;i=C[q>>2];if(i>>>0<=131069){i=D[((i&56|D[(D[(i>>>11|0)+150176|0]>>>(i>>>8&4)<<4&240|i>>>6&15)+150240|0]<<6)>>>3|0)+150400|0]>>>(i&7)&1}else{i=0}if(!i){break d}cj(q,c);k=q+16|0;i=E[q+16>>1];g=f;break e}if(C[f>>2]-917536>>>0>95){break d}}B[k>>1]=i|128}g=g+1|0;if(m>>>0>g>>>0){continue}break}}f:{if(!(1<>2]+16>>1]&7168)|(C[c+148>>2]|(C[c+16>>2]&17)!=1)){break f}C[L+8>>2]=0;f=C[b+72>>2];if(!(Fe[C[f+156>>2]](b,C[b+76>>2],9676,L+8|0,C[f+20>>2])|0)){break f}C[L+20>>2]=0;C[L+24>>2]=0;C[L+12>>2]=0;C[L+16>>2]=0;C[L+8>>2]=9676;cj(L+8|0,c);C[c+84>>2]=0;C[c+76>>2]=0;A[c+73|0]=1;A[c+74|0]=0;C[c+96>>2]=C[c+92>>2];C[c+76>>2]=0;f=C[c+92>>2];i=C[f+4>>2];j=C[f+8>>2];f=C[L+20>>2];k=C[L+24>>2];m=C[L+8>>2];if($e(c,0,1)){g=C[c+96>>2]+I(C[c+84>>2],20)|0;C[g+12>>2]=f;C[g+16>>2]=k;C[g+8>>2]=j;C[g+4>>2]=i;C[g>>2]=m;C[c+84>>2]=C[c+84>>2]+1}gh(c)}g:{if(!(A[c+36|0]&1)){break g}j=C[c+80>>2];if(!C[c+20>>2]){if(!j){break g}f=j-1|0;g=0;while(1){h:{if((f|0)==(g|0)){g=j;break h}g=g+1|0;if(D[(C[c+92>>2]+I(g,20)|0)+16|0]&128){continue}}break}i=0;k=j;while(1){if(g-i>>>0>=2){fg(c,i,g);k=C[c+80>>2]}f=g+1|0;i=f>>>0>>0?k:f;f=g;while(1){i:{f=f+1|0;if(k>>>0<=f>>>0){f=i;break i}if(D[(C[c+92>>2]+I(f,20)|0)+16|0]&128){continue}}break}m=g>>>0>>0;i=g;g=f;if(m){continue}break}break g}if(!j){break g}g=j-1|0;f=0;while(1){j:{if((f|0)==(g|0)){f=j;break j}f=f+1|0;if(D[(C[c+92>>2]+I(f,20)|0)+16|0]&128){continue}}break}i=0;k=j;while(1){g=f;if(f-i>>>0>=2){Sf(c,i,g);k=C[c+80>>2]}f=g+1|0;i=f>>>0>>0?k:f;f=g;while(1){k:{f=f+1|0;if(k>>>0<=f>>>0){f=i;break k}if(D[(C[c+92>>2]+I(f,20)|0)+16|0]&128){continue}}break}i=g;if(g>>>0>>0){continue}break}}i=C[c+52>>2];l:{m:{n:{k=Dr(C[c+56>>2]);o:{if(!((k|0)!=5|(i|0)!=4)){m=C[c+80>>2];if(!m){k=5;break o}q=C[c+92>>2];k=0;j=1;f=0;while(1){p:{g=1;h=E[(q+I(k,20)|0)+16>>1]&31;if((h|0)!=13){g=f;if(1<>>0>k>>>0;f=g;if((k|0)!=(m|0)){continue}}break}k=g&1?j&1?5:4:5}f=i&-2;if((f|0)!=4){break n}}if((i|0)==(k|0)){break l}if(k){break m}break l}if((i|0)==6|(f|0)!=6){break l}}uk(c,237,C[c+20>>2]==1);C[c+52>>2]=C[c+52>>2]^1}P=a+60|0;q:{if(!C[C[a+80>>2]+16>>2]){break q}if(!Hf(c,b,3163,0)){break q}Fe[C[C[a+80>>2]+16>>2]](P,c,b);Hf(c,b,3185,0)}m=C[c+92>>2];j=C[c+80>>2];if(!(!j|(ba&-3)!=5)){q=C[a+188>>2];i=C[c+12>>2];g=0;while(1){f=m+I(g,20)|0;k=Fe[C[i+28>>2]](i,C[f>>2],C[i+60>>2])|0;r:{s:{if((k|0)==C[f>>2]){break s}C[L+8>>2]=0;h=C[b+72>>2];if(!(Fe[C[h+156>>2]](b,C[b+76>>2],k,L+8|0,C[h+20>>2])|0)){break s}C[f>>2]=k;break r}C[f+4>>2]=q|C[f+4>>2]}g=g+1|0;if((j|0)!=(g|0)){continue}break}}if(!(!j|(D[a+200|0]&8|(ba&-2)!=6))){f=0;while(1){t:{u:{v:{w:{x:{y:{z:{k=m+I(f,20)|0;i=C[k>>2];g=i>>>8|0;switch(g-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:case 13:case 14:case 15:break t;case 16:break v;case 0:break y;default:break z}}switch(g-254|0){case 1:break w;case 0:break x;default:break t}}g=65074;A:{switch(i-8211|0){case 1:g=65073;break u;case 18:g=65072;break u;case 0:break u;case 19:break A;default:break t}}g=65049;break u}g=65076;if((i|0)==65103){break u}break t}g=65045;B:{switch(i-65281|0){case 7:g=65077;break u;case 8:g=65078;break u;case 11:g=65040;break u;case 25:g=65043;break u;case 26:g=65044;break u;case 30:g=65046;break u;case 58:g=65095;break u;case 60:g=65096;break u;case 62:g=65075;break u;case 90:g=65079;break u;case 0:break u;case 92:break B;default:break t}}g=65080;break u}g=i-12289|0;if(g>>>0>=23|!(7995267>>>g&1)){break t}g=C[(g<<2)+73248>>2]}if((g|0)==(i|0)){break t}C[L+8>>2]=0;i=C[b+72>>2];if(!(Fe[C[i+156>>2]](b,C[b+76>>2],g,L+8|0,C[i+20>>2])|0)){break t}C[k>>2]=g}f=f+1|0;if((j|0)!=(f|0)){continue}break}}q=b;n=Ce-48|0;Ce=n;m=c;C:{if(!C[c+80>>2]){break C}b=C[P+20>>2];c=C[b+24>>2];C[n+28>>2]=q;C[n+24>>2]=m;C[n+20>>2]=P;C[n+32>>2]=C[m+12>>2];C[n+36>>2]=C[m+32>>2];f=C[b+28>>2];C[n+40>>2]=f?f:234;b=C[b+32>>2];C[n+44>>2]=b?b:235;C[m+84>>2]=0;C[m+76>>2]=0;A[m+73|0]=1;A[m+74|0]=0;C[m+96>>2]=C[m+92>>2];C[m+76>>2]=0;l=(c|0)==4?2:c;r=l&-3;s=C[m+80>>2];f=0;j=1;D:{E:{F:{while(1){b=f+1|0;g=b>>>0>>0?s:b;b=f;while(1){G:{c=b;b=b+1|0;if(s>>>0<=b>>>0){c=g;break G}if(!(1<>2]+I(b,20)|0)+16>>1]&7168)){continue}}break}if((r|0)!=1){b=C[m+92>>2]+I(f,20)|0;g=b;i=b+12|0;b=C[q+72>>2];b=Fe[C[b+160>>2]](q,C[q+76>>2],c-f|0,g,20,i,20,C[b+24>>2])|0;if(D[m+73|0]){H:{if(C[m+96>>2]==C[m+92>>2]){f=C[m+84>>2];if((f|0)==C[m+76>>2]){break H}}if(!$e(m,b,b)){break F}Yf(C[m+96>>2]+I(C[m+84>>2],20)|0,C[m+92>>2]+I(C[m+76>>2],20)|0,I(b,20));f=C[m+84>>2]}C[m+84>>2]=b+f}f=b+C[m+76>>2]|0;C[m+76>>2]=f}I:{if(!D[m+72|0]|c>>>0<=f>>>0){break I}while(1){xs(n+20|0,(r|0)!=1);f=C[m+76>>2];if(f>>>0>=c>>>0){break I}if(D[m+72|0]){continue}break}}if(!D[m+72|0]|(f|0)==(s|0)){break F}b=f+1|0;b=b>>>0>>0?s:b;g=b-1|0;while(1){J:{c=f;f=c+1|0;if(s>>>0<=f>>>0){c=g;f=b;break J}if(1<>2]+I(f,20)|0)+16>>1]&7168){continue}}break}h=C[n+24>>2];g=C[h+76>>2];K:{if(g>>>0>=f>>>0){break K}i=h+76|0;L:{if(!D[h+72|0]){break L}j=C[h+92>>2];b=g;while(1){k=C[j+I(b,20)>>2];if(!((k&-16)==65024|k-918e3>>>0>=4294967056)){k=(b|0)==(c|0);b=b+1|0;if(!k){continue}break L}break}o=C[n+28>>2];M:{if(c>>>0<=g>>>0){break M}k=h+84|0;while(1){if(!D[h+72|0]){break M}g=C[h+92>>2]+I(g,20)|0;C[g+12>>2]=0;j=g+12|0;u=C[g>>2];v=C[o+76>>2];b=C[o+72>>2];g=C[g+20>>2];N:{if(!((g&-16)!=65024&g-918e3>>>0<4294967056)){g=Fe[C[b+164>>2]](o,v,u,g,j,C[b+28>>2])|0;b=C[h+92>>2]+I(C[h+76>>2],20)|0;u=C[b>>2];O:{P:{if(g){if(!$e(h,2,1)){break O}b=C[h+76>>2];fg(h,b,b+2|0);b=C[h+76>>2];Q:{if(b>>>0>2]){g=C[h+84>>2];j=C[h+96>>2];b=C[h+92>>2]+I(b,20)|0;break Q}j=C[h+96>>2];g=C[h+84>>2];b=g-1|0;b=j+I(b>>>0<=g>>>0?b:0,20)|0}g=I(g,20)+j|0;j=C[b+4>>2];C[g>>2]=C[b>>2];C[g+4>>2]=j;C[g+16>>2]=C[b+16>>2];j=C[b+12>>2];C[g+8>>2]=C[b+8>>2];C[g+12>>2]=j;C[g>>2]=u;C[i>>2]=C[i>>2]+2;b=k;break P}C[b+12>>2]=0;g=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],u,g,C[b+20>>2])|0;R:{if(D[h+73|0]){S:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break S}}if(!$e(h,1,1)){b=C[i>>2];break R}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1}b=C[i>>2]+1|0;C[i>>2]=b}b=C[h+92>>2]+I(b,20)|0;C[b+12>>2]=0;g=C[b>>2];j=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],g,j,C[b+20>>2])|0;b=i;if(!D[h+73|0]){break P}T:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break T}}if(!$e(h,1,1)){break O}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1;b=i}C[b>>2]=C[b>>2]+1}g=C[i>>2];if(g>>>0>=f>>>0){break N}while(1){if(!D[h+72|0]){break N}b=C[h+92>>2]+I(g,20)|0;j=C[b>>2];if((j&-16)!=65024&j-918e3>>>0<4294967056){break N}C[b+12>>2]=0;g=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],j,g,C[b+20>>2])|0;U:{if(D[h+73|0]){V:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break V}}if(!$e(h,1,1)){g=C[i>>2];break U}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1}g=C[i>>2]+1|0;C[i>>2]=g}if(f>>>0>g>>>0){continue}break}break N}Fe[C[b+156>>2]](o,v,u,j,C[b+20>>2])|0;if(D[h+73|0]){W:{if(C[h+96>>2]==C[h+92>>2]){b=C[k>>2];if((b|0)==C[i>>2]){break W}}if(!$e(h,1,1)){g=C[i>>2];break N}g=C[h+92>>2]+I(C[h+76>>2],20)|0;j=C[g+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[g>>2];C[b+4>>2]=j;C[b+16>>2]=C[g+16>>2];j=C[g+12>>2];C[b+8>>2]=C[g+8>>2];C[b+12>>2]=j;b=C[h+84>>2]}C[k>>2]=b+1}g=C[i>>2]+1|0;C[i>>2]=g}if(c>>>0>g>>>0){continue}break}}if(f>>>0<=g>>>0){break K}b=C[h+92>>2]+I(g,20)|0;C[b+12>>2]=0;c=C[b>>2];f=b+12|0;b=C[o+72>>2];Fe[C[b+156>>2]](o,C[o+76>>2],c,f,C[b+20>>2])|0;if(D[h+73|0]){X:{if(C[h+96>>2]==C[h+92>>2]){b=C[h+84>>2];if((b|0)==C[h+76>>2]){break X}}if(!$e(h,1,1)){break K}c=C[h+92>>2]+I(C[h+76>>2],20)|0;f=C[c+4>>2];b=C[h+96>>2]+I(C[h+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=f;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;b=C[h+84>>2]}C[h+84>>2]=b+1}C[i>>2]=C[i>>2]+1;break K}while(1){if(!D[h+72|0]){break K}xs(n+20|0,!l);if(F[i>>2]>>0){continue}break}}f=C[m+76>>2];if(s>>>0>f>>>0){j=0;if(D[m+72|0]){continue}}break}gh(m);break E}gh(m);g=1;if(j){break D}}g=0;if(!Hf(m,q,10998,0)){break D}g=C[m+80>>2];if(g){c=0;while(1){i=C[m+92>>2];b=E[(i+I(c,20)|0)+16>>1];Y:{if(!(1<>>0<256){b=c;break Y}b=c+1|0;f=b>>>0>>0?g:b;b=c;while(1){Z:{b=b+1|0;if(g>>>0<=b>>>0){b=f;break Z}j=E[(i+I(b,20)|0)+16>>1];if(!(1<>>0>255){continue}}break}if(b-c>>>0>32){break Y}Ir(m,c,b,236);f=C[C[P+20>>2]+44>>2];if(!f){break Y}Fe[f|0](P,m,c,b)}c=b+1|0;if(g>>>0>c>>>0){continue}break}}Hf(m,q,11012,0);g=0}_:{if(!(D[m+36|0]&32)){break _}c=C[m+80>>2];if(c>>>0<3){break _}b=1;f=2;while(1){i=b;b=f;f=I(i,20);i=C[m+92>>2];f=f+i|0;$:{if(C[f>>2]!=847){break $}i=E[(i+I(b,20)|0)+16>>1];aa:{if(!(1<>>0<256){break aa}j=E[f-4>>1];if(!(1<>>8>>>0>i>>>8>>>0){break $}}B[f+16>>1]=E[f+16>>1]&65471;c=C[m+80>>2]}f=b+1|0;if(f>>>0>>0){continue}break}}if(!D[m+72|0]|g|(l&-2)!=2){break C}C[m+84>>2]=0;C[m+76>>2]=0;A[m+73|0]=1;A[m+74|0]=0;C[m+96>>2]=C[m+92>>2];g=C[m+80>>2];ba:{if(D[m+73|0]){ca:{if(C[m+96>>2]==C[m+92>>2]){b=C[m+84>>2];if((b|0)==C[m+76>>2]){break ca}}if(!$e(m,1,1)){f=C[m+76>>2];break ba}c=C[m+92>>2]+I(C[m+76>>2],20)|0;f=C[c+4>>2];b=C[m+96>>2]+I(C[m+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=f;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;b=C[m+84>>2]}C[m+84>>2]=b+1}f=C[m+76>>2]+1|0;C[m+76>>2]=f}da:{if(f>>>0>=g>>>0){break da}k=0;while(1){ea:{fa:{i=C[m+92>>2]+I(f,20)|0;f=E[i+16>>1];if(!(1<>2];j=C[m+84>>2];c=j-1|0;if((c|0)!=(k|0)){c=E[(b+I(c>>>0<=j>>>0?c:0,20)|0)+16>>1];if(f>>>8>>>0<=(1<>>8|0:0)>>>0){break fa}}f=I(k,20);if(!(Fe[C[n+44>>2]](n+20|0,C[f+b>>2],C[i>>2],n+16|0)|0)){break fa}C[n+12>>2]=0;b=C[q+72>>2];if(!(Fe[C[b+156>>2]](q,C[q+76>>2],C[n+16>>2],n+12|0,C[b+20>>2])|0)){break fa}ga:{if(!D[m+73|0]){b=C[m+84>>2];break ga}ha:{if(C[m+96>>2]==C[m+92>>2]){b=C[m+84>>2];if((b|0)==C[m+76>>2]){break ha}}if(!$e(m,1,1)){break da}c=C[m+92>>2]+I(C[m+76>>2],20)|0;i=C[c+4>>2];b=C[m+96>>2]+I(C[m+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=i;C[b+16>>2]=C[c+16>>2];i=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=i;b=C[m+84>>2]}b=b+1|0;C[m+84>>2]=b}C[m+76>>2]=C[m+76>>2]+1;Ci(m,k,b);C[m+84>>2]=C[m+84>>2]-1;b=f+C[m+96>>2]|0;C[b>>2]=C[n+16>>2];C[b+12>>2]=C[n+12>>2];cj(f+C[m+96>>2]|0,m);f=C[m+76>>2];break ea}ia:{if(!D[m+73|0]){c=C[m+84>>2];break ia}ja:{if(C[m+96>>2]==C[m+92>>2]){b=C[m+84>>2];if((b|0)==C[m+76>>2]){break ja}}if(!$e(m,1,1)){break da}c=C[m+92>>2]+I(C[m+76>>2],20)|0;f=C[c+4>>2];b=C[m+96>>2]+I(C[m+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=f;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;b=C[m+84>>2]}c=b+1|0;C[m+84>>2]=c}f=C[m+76>>2]+1|0;C[m+76>>2]=f;b=c-1|0;c=E[(C[m+96>>2]+I(b>>>0<=c>>>0?b:0,20)|0)+16>>1];k=1<>>0<256?b:k:b}if(f>>>0>>0){continue}break}}gh(m)}Ce=n+48|0;ka:{if(!(A[m+36|0]&1)|!(D[a+200|0]&4)){break ka}la:{if((C[m+52>>2]&-3)==4){k=a+184|0;f=C[a+176>>2];b=f|C[a+180>>2];break la}k=a+180|0;f=C[a+176>>2];b=f|C[a+184>>2]}c=C[m+80>>2];if(!c){break ka}o=C[k>>2]|f;n=C[m+92>>2];i=0;while(1){s=n+I(i,20)|0;if(C[s>>2]==8260){g=i+1|0;k=0;j=i;while(1){ma:{h=k;f=j;if(!f){break ma}k=h+1|0;j=f-1|0;if((E[(n+I(j,20)|0)+16>>1]&31)==13){continue}}break}j=g;na:{if(c>>>0<=g>>>0){break na}while(1){if((E[(n+I(j,20)|0)+16>>1]&31)!=13){break na}j=j+1|0;if((c|0)!=(j|0)){continue}break}j=c}if(j-f>>>0>=2){Sf(m,f,j)}oa:{if(f>>>0>=i>>>0){break oa}k=0;l=h&3;if(l){while(1){r=n+I(f,20)|0;C[r+4>>2]=b|C[r+4>>2];f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(h-1>>>0<=2){break oa}while(1){k=n+I(f,20)|0;C[k+4>>2]=b|C[k+4>>2];C[k+24>>2]=b|C[k+24>>2];C[k+44>>2]=b|C[k+44>>2];k=k- -64|0;C[k>>2]=b|C[k>>2];f=f+4|0;if((i|0)!=(f|0)){continue}break}}C[s+4>>2]=C[s+4>>2]|C[a+176>>2];pa:{if(g>>>0>=j>>>0){break pa}f=0;k=(i^-1)+j&3;if(k){while(1){h=n+I(g,20)|0;C[h+4>>2]=o|C[h+4>>2];g=g+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if((j-i|0)-2>>>0<3){break pa}while(1){f=n+I(g,20)|0;C[f+4>>2]=o|C[f+4>>2];C[f+24>>2]=o|C[f+24>>2];C[f+44>>2]=o|C[f+44>>2];f=f- -64|0;C[f>>2]=o|C[f>>2];g=g+4|0;if((j|0)!=(g|0)){continue}break}}i=j-1|0}i=i+1|0;if(c>>>0>i>>>0){continue}break}}b=C[C[a+80>>2]+36>>2];if(b){Fe[b|0](P,m,q)}if(e){i=0;while(1){b=(i<<4)+d|0;c=C[b+8>>2];if(!(!c&C[b+12>>2]==-1)){l=C[b+4>>2];qa:{ra:{f=C[a+104>>2];if((f|0)<=0){break ra}o=C[a+108>>2];g=C[b>>2];f=f-1|0;k=0;while(1){sa:{j=f+k>>>1|0;h=o+I(j,36)|0;s=C[h>>2];ta:{if(s>>>0>g>>>0){f=j-1|0;break ta}if(g>>>0<=s>>>0){break sa}k=j+1|0}if((f|0)>=(k|0)){continue}break ra}break}k=C[h+24>>2];f=C[h+20>>2];break qa}k=0;f=0}j=l<>2];g=0;ua:{if(!k){break ua}h=C[m+80>>2];if(!h){break ua}n=j&k;k=k^-1;b=C[m+92>>2];j=0;if((h|0)!=1){s=h&-2;while(1){o=b+I(j,20)|0;l=C[o+8>>2];if(!(l>>>0>>0|f>>>0<=l>>>0)){C[o+4>>2]=n|k&C[o+4>>2]}o=b+I(j|1,20)|0;l=C[o+8>>2];if(!(l>>>0>>0|f>>>0<=l>>>0)){C[o+4>>2]=n|k&C[o+4>>2]}j=j+2|0;g=g+2|0;if((s|0)!=(g|0)){continue}break}}if(!(h&1)){break ua}g=c;c=C[(b+I(j,20)|0)+8>>2];if(g>>>0>c>>>0|c>>>0>=f>>>0){break ua}b=b+I(j,20)|0;C[b+4>>2]=n|k&C[b+4>>2]}}i=i+1|0;if((i|0)!=(e|0)){continue}break}}if(D[a+200|0]&128){g=C[m+80>>2];if(g){i=C[m+92>>2];k=0;while(1){d=i+I(k,20)|0;c=E[d+16>>1];if((c&31)==12){b=c>>>8|0;va:{if(c>>>0>51199){f=b;break va}wa:{xa:{f=C[d>>2];if((f&-256)==3584){if(c>>>0<=255){e=0;ya:{switch(f-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:e=230;break wa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break xa;case 139:break ya;default:break wa}}e=220;break wa}e=222;if((f|0)==3642){break wa}}f=220;za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{e=b;switch(b-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break va;case 119:case 129:break za;case 104:break Aa;case 0:break Ba;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Ca;case 8:case 11:break Da;case 7:break Ea;case 10:break Fa;default:break wa}}f=214;break va}f=232;break va}f=228;break va}f=230;break va}f=222;break va}f=232;break va}f=230;break va}e=232}f=e}B[d+16>>1]=c&255|f<<8}k=k+1|0;if((g|0)!=(k|0)){continue}break}}}c=C[m+80>>2];Ga:{if(!c){break Ga}b=C[m+92>>2];g=0;f=0;if(c>>>0>=4){d=c&-4;i=0;while(1){e=b+I(f,20)|0;C[e>>2]=C[e+12>>2];e=b+I(f|1,20)|0;C[e>>2]=C[e+12>>2];e=b+I(f|2,20)|0;C[e>>2]=C[e+12>>2];e=b+I(f|3,20)|0;C[e>>2]=C[e+12>>2];f=f+4|0;i=i+4|0;if((d|0)!=(i|0)){continue}break}}c=c&3;if(!c){break Ga}while(1){d=b+I(f,20)|0;C[d>>2]=C[d+12>>2];f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}C[m+48>>2]=2;b=C[q+16>>2];j=C[b+132>>2];Ha:{if(j){break Ha}while(1){c=C[b+48>>2];if(!c){j=84608;break Ha}j=df(1,4);if(!j){j=84608;C[b+132>>2]=84608;break Ha}_l(j,c);if(!C[b+132>>2]){C[b+132>>2]=j;break Ha}Ue(C[j>>2]);Re(j);j=C[b+132>>2];if(!j){continue}break}}c=C[m+80>>2];if(c){b=C[j>>2];b=b?b:84608;d=F[b+16>>2]<12?84608:C[b+12>>2];j=0;while(1){b=I(j,20);e=b+C[m+92>>2]|0;ga=e,ha=_g(d,C[e>>2]),B[ga+12>>1]=ha;A[(b+C[m+92>>2]|0)+14|0]=0;A[(b+C[m+92>>2]|0)+15|0]=0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}f=E[a+200>>1];Ia:{if(!(f&64)){break Ia}c=C[m+80>>2];if(!c){break Ia}d=C[m+92>>2];f=0;while(1){b=d+I(f,20)|0;e=E[b+16>>1];Ja:{if((e&31)==12){g=8;if(!(e&32)|E[b+12>>1]&16){break Ja}}g=2}B[b+12>>1]=g;f=f+1|0;if((c|0)!=(f|0)){continue}break}f=E[a+200>>1]}Ka:{if(f&8192){f=0;i=Ce-80|0;Ce=i;d=Ce-48|0;Ce=d;e=C[q+16>>2]+148|0;c=C[e>>2];La:{if(c){break La}g=e-100|0;while(1){c=C[g>>2];if(!c){c=84608;break La}b=d;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;j=Qf(c);A[b+40|0]=1;C[b+36>>2]=j;b=iu(b,Of(c,1836020344));if(!b){b=84608}c=C[e>>2];if(!c){C[e>>2]=b;c=b;break La}if(!b){break La}if((b|0)!=84608){Ue(b)}c=C[e>>2];if(!c){continue}break}}Ce=d+48|0;d=F[c+16>>2]<8?84608:C[c+12>>2];Ma:{if(D[d|0]|D[d+1|0]<<8){b=Fk(i+4|0,P,q,m,c);if(Hf(m,q,1627,0)){Na:{if(!D[C[b+16>>2]+72|0]){break Na}C[b+72>>2]=0;c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!h){break Na}e=d+8|0;while(1){c=C[b+4>>2];n=C[(F[c+104>>2]<=f>>>0?84608:C[c+108>>2]+(f<<2)|0)>>2];j=0;d=Ce-32|0;Ce=d;c=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Oa:{if(!o){break Oa}c=D[e+8|0]|D[e+9|0]<<8|(D[e+10|0]<<16|D[e+11|0]<<24);c=(I(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24),12)+e|0)+16|0;while(1){g=D[c+8|0]|D[c+9|0]<<8|(D[c+10|0]<<16|D[c+11|0]<<24);Pa:{if(!(n&(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)))){break Pa}g=D[c+4|0];if(!(g&32)&((C[C[b+16>>2]+52>>2]&-2)!=6|0)==(g<<24>>24<0|0)){break Pa}Qa:{if(g&16){k=C[b+16>>2];g=(g&64)>>>6|0;break Qa}k=C[b+16>>2];g=(g&64)>>>6^(C[k+52>>2]&-3)==5}s=C[b+8>>2];C[d+16>>2]=C[b+72>>2];if(!Hf(k,s,21330,d+16|0)){break Pa}Ra:{if(g){g=C[b+16>>2];uk(g,149,C[g+20>>2]==1);k=C[b+52>>2];g=C[k+12>>2];k=g+C[k+16>>2]|0;C[b+28>>2]=k;Sa:{if(!(c>>>0>>0&c>>>0>=g>>>0)){C[b+24>>2]=0;g=0;break Sa}C[b+24>>2]=c;k=k-c|0;g=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=(g>>>0>k>>>0?k:g)+c|0}C[b+28>>2]=g;$t(c,b);g=C[b+52>>2];k=C[g+12>>2];C[b+24>>2]=k;C[b+28>>2]=k+C[g+16>>2];g=C[b+16>>2];uk(g,149,C[g+20>>2]==1);break Ra}k=C[b+52>>2];g=C[k+12>>2];k=g+C[k+16>>2]|0;C[b+28>>2]=k;Ta:{if(!(c>>>0>>0&c>>>0>=g>>>0)){C[b+24>>2]=0;g=0;break Ta}C[b+24>>2]=c;k=k-c|0;g=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=(g>>>0>k>>>0?k:g)+c|0}C[b+28>>2]=g;$t(c,b);g=C[b+52>>2];k=C[g+12>>2];C[b+24>>2]=k;C[b+28>>2]=k+C[g+16>>2]}g=C[b+8>>2];k=C[b+16>>2];C[d>>2]=C[b+72>>2];Hf(k,g,21353,d);if(!D[C[b+16>>2]+72|0]){break Oa}}g=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);C[b+72>>2]=C[b+72>>2]+1;c=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+c|0;j=j+1|0;if((o|0)!=(j|0)){continue}break}}Ce=d+32|0;if(!D[C[b+16>>2]+72|0]){break Na}c=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}Hf(m,q,1644,0)}Ue(C[b+52>>2]);break Ma}d=Ce-48|0;Ce=d;e=C[q+16>>2]+152|0;c=C[e>>2];Ua:{if(c){break Ua}g=e-104|0;while(1){c=C[g>>2];if(!c){c=84608;break Ua}b=d;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;j=Qf(c);A[b+40|0]=1;C[b+36>>2]=j;b=hu(b,Of(c,1836020340));if(!b){b=84608}c=C[e>>2];if(!c){C[e>>2]=b;c=b;break Ua}if(!b){break Ua}if((b|0)!=84608){Ue(b)}c=C[e>>2];if(!c){continue}break}}Ce=d+48|0;d=F[c+16>>2]<8?84608:C[c+12>>2];if(!(D[d|0]|D[d+1|0]<<8)){break Ma}b=Fk(i+4|0,P,q,m,c);if(Hf(m,q,3632,0)){Va:{if(!D[C[b+16>>2]+72|0]){break Va}C[b+72>>2]=0;c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!j){break Va}e=d+8|0;while(1){c=C[b+4>>2];n=C[(F[c+104>>2]<=f>>>0?84608:C[c+108>>2]+(f<<2)|0)>>2];k=0;g=Ce-32|0;Ce=g;c=D[e+10|0]|D[e+11|0]<<8;Wa:{if(!c){break Wa}c=(c<<8|c>>>8)&65535;o=c>>>0<=1?1:c;c=D[e+8|0]|D[e+9|0]<<8;c=(I((c<<8|c>>>8)&65535,12)+e|0)+12|0;while(1){d=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);Xa:{if(!(n&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break Xa}d=D[c+2|0];if(!(d&32)&((C[C[b+16>>2]+52>>2]&-2)!=6|0)==(d>>>0>127|0)){break Xa}Ya:{if(d&16){h=C[b+16>>2];d=(d&64)>>>6|0;break Ya}h=C[b+16>>2];d=(d&64)>>>6^(C[h+52>>2]&-3)==5}s=C[b+8>>2];C[g+16>>2]=C[b+72>>2];if(!Hf(h,s,21330,g+16|0)){break Xa}Za:{if(d){d=C[b+16>>2];uk(d,149,C[d+20>>2]==1);h=0;s=C[b+52>>2];l=C[s+12>>2];d=0;_a:{if(l>>>0>c>>>0){break _a}s=l+C[s+16>>2]|0;d=0;if(s>>>0<=c>>>0){break _a}d=s-c|0;h=D[c|0]|D[c+1|0]<<8;h=(h<<8|h>>>8)&65535;h=(d>>>0>>0?d:h)+c|0;d=c}C[b+24>>2]=d;C[b+28>>2]=h;Xt(c,b);d=C[b+52>>2];h=C[d+12>>2];C[b+24>>2]=h;C[b+28>>2]=h+C[d+16>>2];d=C[b+16>>2];uk(d,149,C[d+20>>2]==1);break Za}h=0;s=C[b+52>>2];l=C[s+12>>2];d=0;$a:{if(l>>>0>c>>>0){break $a}s=l+C[s+16>>2]|0;d=0;if(s>>>0<=c>>>0){break $a}d=s-c|0;h=D[c|0]|D[c+1|0]<<8;h=(h<<8|h>>>8)&65535;h=(d>>>0>>0?d:h)+c|0;d=c}C[b+24>>2]=d;C[b+28>>2]=h;Xt(c,b);d=C[b+52>>2];h=C[d+12>>2];C[b+24>>2]=h;C[b+28>>2]=h+C[d+16>>2]}d=C[b+8>>2];h=C[b+16>>2];C[g>>2]=C[b+72>>2];Hf(h,d,21353,g);if(!D[C[b+16>>2]+72|0]){break Wa}}d=D[c|0]|D[c+1|0]<<8;C[b+72>>2]=C[b+72>>2]+1;c=((d<<8|d>>>8)&65535)+c|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}Ce=g+32|0;if(!D[C[b+16>>2]+72|0]){break Va}c=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}Hf(m,q,3649,0)}Ue(C[b+52>>2])}Ce=i+80|0;break Ka}j=0;i=0;n=Ce-16|0;Ce=n;b=C[q+16>>2]+136|0;c=C[$g(b)>>2];c=c?c:84608;C[n+8>>2]=F[c+16>>2]<10?84608:C[c+12>>2];ga=n,ha=C[$g(b)+8>>2],C[ga+12>>2]=ha;if(Hf(m,q,28471,0)){k=Ce-176|0;Ce=k;b=sh(k+28|0,0,q,m);C[b+104>>2]=151;e=C[a+140>>2];if(e){c=E[42304];while(1){l=e>>>0<=i>>>0?84608:C[a+144>>2]+(i<<3)|0;if(F[l>>2]>j>>>0){while(1){d=j<<3;o=E[(F[a+116>>2]<=j>>>0?84608:d+C[a+120>>2]|0)>>1];C[k+16>>2]=o;if(Hf(m,q,21172,k+16|0)){C[b+128>>2]=o;f=84608;g=F[a+116>>2]<=j>>>0?84608:d+C[a+120>>2]|0;d=C[g+4>>2];C[b+36>>2]=0;C[b+120>>2]=d;C[b+28>>2]=0;C[b+32>>2]=0;e=C[b+132>>2];C[b+12>>2]=e;h=C[b+124>>2]==1;A[b+16|0]=h;C[b+80>>2]=0;C[b+20>>2]=d;A[b+17|0]=D[b+142|0];C[b+72>>2]=0;C[b+76>>2]=0;C[b+56>>2]=e;C[b+64>>2]=-1;A[b+61|0]=1;C[b+8>>2]=b;C[b+52>>2]=b;s=h|D[b+141|0]!=0;A[b+60|0]=s;r=D[g+2|0];C[b+12>>2]=e;C[b+20>>2]=d;C[b+56>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+80>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;A[b+16|0]=h;C[b+36>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;A[b+60|0]=s;s=r>>>1&1;A[b+142|0]=s;A[b+17|0]=s;C[b+8>>2]=b;C[b+52>>2]=b;r=D[g+2|0];C[b+36>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=d;A[b+17|0]=s;A[b+16|0]=h;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;u=r&1;A[b+141|0]=u;A[b+60|0]=(h|r)&1;C[b+8>>2]=b;C[b+52>>2]=b;A[b+143|0]=D[g+2|0]>>>2&1;e=84608;g=C[n+8>>2];r=D[g+8|0]|D[g+9|0]<<8;if(r){e=g+((r<<8|r>>>8)&65535)|0}g=D[e|0]|D[e+1|0]<<8;ab:{if(o>>>0>=((g<<8|g>>>8)&65535)>>>0){break ab}g=(o<<1)+e|0;g=D[g+2|0]|D[g+3|0]<<8;if(!g){break ab}f=((g<<8|g>>>8)&65535)+e|0}g=C[b+100>>2];v=C[g+80>>2];bb:{if(!v|!d){break bb}r=C[n+12>>2];e=D[f+2|0]|D[f+3|0]<<8;$=e<<8|e>>>8;e=$&65535;if($&16){M=e;e=D[f+4|0]|D[f+5|0]<<8;e=(((e<<8|e>>>8)&65535)<<1)+f|0;e=D[e+6|0]|D[e+7|0]<<8;e=M|(e<<24|e<<8&16711680)}r=r+I(o,24)|0;C[b+36>>2]=0;C[b+132>>2]=e;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=d;A[b+17|0]=s;A[b+16|0]=h;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;A[b+60|0]=h|u;C[b+8>>2]=b;C[b+52>>2]=b;cb:{d=D[f|0]|D[f+1|0]<<8;db:{if((d|0)!=1792){if((d|0)!=2048){break db}break cb}d=D[f+4|0]|D[f+5|0]<<8?D[f+6|0]|D[f+7|0]<<8:c;eb:{if(!(d&65535)){f=84608;d=c;break eb}f=((d<<8|(d&65280)>>>8)&65535)+f|0;d=D[f|0]|D[f+1|0]<<8}if((d&65535)!=256){break db}if((D[f+2|0]|D[f+3|0]<<8)==2048){break cb}}C[g+84>>2]=0;C[g+76>>2]=0;A[g+73|0]=1;A[g+74|0]=0;C[g+96>>2]=C[g+92>>2];C[g+76>>2]=0;Xn(b,r);gh(g);break bb}C[g+76>>2]=v-1;Dt(b,r)}C[k>>2]=o;Hf(m,q,21188,k)}j=j+1|0;if(j>>>0>2]){continue}break}}d=C[l+4>>2];if(d){Fe[d|0](P,q,m)}i=i+1|0;e=C[a+140>>2];if(i>>>0>>0){continue}break}}Ce=k+176|0;Hf(m,q,28488,0)}Ce=n+16|0}is(m);c=C[m+92>>2];b=C[m+80>>2];d=C[m+100>>2];fb:{if((C[m+52>>2]&-2)==4){e=C[q+72>>2];Fe[C[e+176>>2]](q,C[q+76>>2],b,c,20,d,20,C[e+40>>2]);if(!Xk(q,9)|!b){break fb}k=0;while(1){e=I(k,20);pj(q,C[e+c>>2],L+8|0,L+28|0);e=d+e|0;C[e+8>>2]=C[e+8>>2]-C[L+8>>2];C[e+12>>2]=C[e+12>>2]-C[L+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}break fb}e=C[q+72>>2];Fe[C[e+180>>2]](q,C[q+76>>2],b,c,20,d+4|0,20,C[e+44>>2]);if(!b){break fb}k=0;while(1){e=I(k,20);Fx(q,C[e+c>>2],L+8|0,L+28|0);e=d+e|0;C[e+8>>2]=C[e+8>>2]-C[L+8>>2];C[e+12>>2]=C[e+12>>2]-C[L+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}}if(D[m+36|0]&4){c=Ce-16|0;Ce=c;k=C[m+80>>2];if(k){d=C[m+100>>2];n=C[m+92>>2];e=(C[m+52>>2]&-2)!=4;j=0;while(1){b=I(j,20);f=b+n|0;g=E[f+16>>1];gb:{if((g&31)!=29|D[f+12|0]&32){break gb}hb:{ib:{jb:{kb:{lb:{f=g>>>8|0;switch(f-1|0){case 20:break hb;case 19:break ib;case 18:break jb;case 16:break kb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break lb;default:break gb}}g=f>>>1|0;if(!e){C[b+d>>2]=(g+C[q+20>>2]|0)/(f|0);break gb}C[(b+d|0)+4>>2]=0-((g+C[q+24>>2]|0)/(f|0)|0);break gb}if(!e){f=b+d|0;b=C[q+20>>2];h=b>>31<<2|b>>>30;ga=f,ha=nT(b<<2,h,18,0),C[ga>>2]=ha;break gb}f=b+d|0;b=0-C[q+24>>2]|0;h=b>>31<<2|b>>>30;ga=f,ha=nT(b<<2,h,18,0),C[ga+4>>2]=ha;break gb}C[c+12>>2]=0;f=C[q+72>>2];mb:{if(Fe[C[f+156>>2]](q,C[q+76>>2],48,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],49,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],50,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],51,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],52,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],53,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],54,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],55,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(Fe[C[f+156>>2]](q,C[q+76>>2],56,c+12|0,C[f+20>>2])|0){break mb}C[c+12>>2]=0;f=C[q+72>>2];if(!(Fe[C[f+156>>2]](q,C[q+76>>2],57,c+12|0,C[f+20>>2])|0)){break gb}}g=C[q+76>>2];f=C[q+72>>2];i=C[c+12>>2];if(!e){ga=b+d|0,ha=Fe[C[f+168>>2]](q,g,i,C[f+32>>2])|0,C[ga>>2]=ha;break gb}ga=b+d|0,ha=Fe[C[f+172>>2]](q,g,i,C[f+36>>2])|0,C[ga+4>>2]=ha;break gb}C[c+12>>2]=0;f=C[q+72>>2];if(!(Fe[C[f+156>>2]](q,C[q+76>>2],46,c+12|0,C[f+20>>2])|0)){C[c+12>>2]=0;f=C[q+72>>2];if(!(Fe[C[f+156>>2]](q,C[q+76>>2],44,c+12|0,C[f+20>>2])|0)){break gb}}g=C[q+76>>2];f=C[q+72>>2];i=C[c+12>>2];if(!e){ga=b+d|0,ha=Fe[C[f+168>>2]](q,g,i,C[f+32>>2])|0,C[ga>>2]=ha;break gb}ga=b+d|0,ha=Fe[C[f+172>>2]](q,g,i,C[f+36>>2])|0,C[ga+4>>2]=ha;break gb}if(!e){b=b+d|0;C[b>>2]=C[b>>2]/2;break gb}b=b+d|0;C[b+4>>2]=C[b+4>>2]/2}j=j+1|0;if((k|0)!=(j|0)){continue}break}}Ce=c+16|0}k=0;d=0;d=A[a+201|0]&1?(C[m+52>>2]&-3)==4:d;ea=C[m+92>>2];$=C[m+80>>2];fa=C[m+100>>2];if(!(!Xk(q,9)|!$)){while(1){b=I(k,20);pj(q,C[b+ea>>2],L+8|0,L+28|0);b=b+fa|0;C[b+8>>2]=C[b+8>>2]+C[L+8>>2];C[b+12>>2]=C[b+12>>2]+C[L+28>>2];k=k+1|0;if(($|0)!=(k|0)){continue}break}}i=0;j=0;g=0;b=C[m+80>>2];nb:{if(!b){break nb}if(b>>>0>=4){c=b&-4;while(1){e=I(i,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;e=I(i|1,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;e=I(i|2,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;e=I(i|3,20);A[(e+C[m+100>>2]|0)+18|0]=0;B[(e+C[m+100>>2]|0)+16>>1]=0;i=i+4|0;j=j+4|0;if((c|0)!=(j|0)){continue}break}}b=b&3;if(!b){break nb}while(1){c=I(i,20);A[(c+C[m+100>>2]|0)+18|0]=0;B[(c+C[m+100>>2]|0)+16>>1]=0;i=i+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}ob:{if(!(D[a+200|0]&32)|C[C[a+80>>2]+48>>2]!=1){break ob}c=C[m+80>>2];if(!c){break ob}e=C[m+92>>2];if(d){k=0;while(1){b=I(k,20);if(D[(b+e|0)+12|0]&8){b=b+C[m+100>>2]|0;f=C[b+4>>2];C[b+4>>2]=0;g=C[b>>2];C[b>>2]=0;C[b+8>>2]=C[b+8>>2]-g;C[b+12>>2]=C[b+12>>2]-f}k=k+1|0;if((c|0)!=(k|0)){continue}break}break ob}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){g=I(f,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}g=I(f|1,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break ob}b=I(f,20);if(!(D[(b+e|0)+12|0]&8)){break ob}b=b+C[m+100>>2]|0;C[b>>2]=0;C[b+4>>2]=0}f=0;k=0;b=E[P+140>>1];pb:{if(b&512){h=Ce-16|0;Ce=h;b=C[q+16>>2]+140|0;c=C[uh(b)>>2];c=c?c:84608;C[h+8>>2]=F[c+16>>2]<10?84608:C[c+12>>2];ga=h,ha=C[uh(b)+8>>2],C[ga+12>>2]=ha;if(Hf(m,q,24121,0)){c=Ce-176|0;Ce=c;b=sh(c+28|0,1,q,m);C[b+104>>2]=152;e=C[P+92>>2];if(e){while(1){s=e>>>0<=k>>>0?84608:C[P+96>>2]+(k<<3)|0;if(F[s>>2]>f>>>0){while(1){e=f<<3;n=E[(F[P+68>>2]<=f>>>0?84608:e+C[P+72>>2]|0)>>1];C[c+16>>2]=n;if(Hf(m,q,21172,c+16|0)){C[b+128>>2]=n;i=84608;t=F[P+68>>2]<=f>>>0?84608:e+C[P+72>>2]|0;g=C[t+4>>2];C[b+36>>2]=0;C[b+120>>2]=g;C[b+28>>2]=0;C[b+32>>2]=0;e=C[b+132>>2];C[b+12>>2]=e;j=C[b+124>>2]==1;A[b+16|0]=j;C[b+80>>2]=0;C[b+20>>2]=g;A[b+17|0]=D[b+142|0];C[b+72>>2]=0;C[b+76>>2]=0;C[b+56>>2]=e;C[b+64>>2]=-1;A[b+61|0]=1;C[b+8>>2]=b;C[b+52>>2]=b;o=j|D[b+141|0]!=0;A[b+60|0]=o;l=D[t+2|0];C[b+12>>2]=e;C[b+20>>2]=g;C[b+56>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+80>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;A[b+16|0]=j;C[b+36>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;A[b+60|0]=o;o=l>>>1&1;A[b+142|0]=o;A[b+17|0]=o;C[b+8>>2]=b;C[b+52>>2]=b;l=D[t+2|0];C[b+36>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=g;A[b+17|0]=o;A[b+16|0]=j;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;r=l&1;A[b+141|0]=r;A[b+60|0]=(j|l)&1;C[b+8>>2]=b;C[b+52>>2]=b;A[b+143|0]=D[t+2|0]>>>2&1;e=84608;t=C[h+8>>2];l=D[t+8|0]|D[t+9|0]<<8;if(l){e=t+((l<<8|l>>>8)&65535)|0}t=D[e|0]|D[e+1|0]<<8;qb:{if(n>>>0>=((t<<8|t>>>8)&65535)>>>0){break qb}t=(n<<1)+e|0;t=D[t+2|0]|D[t+3|0]<<8;if(!t){break qb}i=((t<<8|t>>>8)&65535)+e|0}t=C[b+100>>2];if(!(!C[t+80>>2]|!g)){l=C[h+12>>2]+I(n,24)|0;e=D[i+2|0]|D[i+3|0]<<8;u=e<<8|e>>>8;e=u&65535;if(u&16){M=e;e=D[i+4|0]|D[i+5|0]<<8;e=(((e<<8|e>>>8)&65535)<<1)+i|0;e=D[e+6|0]|D[e+7|0]<<8;e=M|(e<<24|e<<8&16711680)}C[b+36>>2]=0;C[b+132>>2]=e;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+20>>2]=g;A[b+17|0]=o;A[b+16|0]=j;C[b+12>>2]=e;C[b+72>>2]=0;C[b+76>>2]=0;C[b+64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=e;A[b+60|0]=j|r;C[b+8>>2]=b;C[b+52>>2]=b;C[t+76>>2]=0;Xn(b,l)}C[c>>2]=n;Hf(m,q,21188,c)}f=f+1|0;if(f>>>0>2]){continue}break}}e=C[s+4>>2];if(e){Fe[e|0](P,q,m)}k=k+1|0;e=C[P+92>>2];if(k>>>0>>0){continue}break}}Ce=c+176|0;Hf(m,q,24138,0)}Ce=h+16|0;break pb}if(!(b&4096)){break pb}h=0;Q=Ce-80|0;Ce=Q;e=Ce-48|0;Ce=e;f=C[q+16>>2]+156|0;b=C[f>>2];rb:{if(b){break rb}g=f-108|0;while(1){c=C[g>>2];if(!c){b=84608;break rb}b=e;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;i=Qf(c);A[b+40|0]=1;C[b+36>>2]=i;c=gu(b,Of(c,1801810552));if(!c){c=84608}b=C[f>>2];if(!b){C[f>>2]=c;b=c;break rb}if(!c){break rb}if((c|0)!=84608){Ue(c)}b=C[f>>2];if(!b){continue}break}}Ce=e+48|0;j=C[b+16>>2];k=C[b+12>>2];o=Fk(Q+4|0,P,q,m,b);if(Hf(m,q,1659,0)){f=Ce-48|0;Ce=f;g=C[q+16>>2]+160|0;c=C[g>>2];sb:{if(c){break sb}n=g-112|0;while(1){b=C[n>>2];if(!b){c=84608;break sb}C[f+8>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;A[f+24|0]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+28>>2]=0;C[f+32>>2]=0;c=Qf(b);A[f+40|0]=1;C[f+36>>2]=c;c=Of(b,1634626418);tb:{if(!c){break tb}b=C[c>>2];if(!b){break tb}C[c>>2]=b+1}A[f+24|0]=0;e=c;C[f+32>>2]=c;b=C[c+12>>2];C[f+4>>2]=b;i=C[c+16>>2];C[f+8>>2]=i+b;C[f+28>>2]=0;if(i>>>0>67108862){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}C[f+12>>2]=i;C[f+20>>2]=0;C[f>>2]=0;ub:{vb:{if(!b){break vb}wb:{xb:{yb:{zb:{if(bo(b,f)){break zb}Ab:{if(D[f+24|0]|!C[f+28>>2]){break Ab}b=Pf(c);C[f+4>>2]=b;C[f+8>>2]=b+C[c+16>>2];if(!b){break Ab}while(1){A[f+24|0]=1;e=C[f+32>>2];b=C[e+12>>2];C[f+4>>2]=b;i=C[e+16>>2];C[f+8>>2]=i+b;C[f+28>>2]=0;if(i>>>0<=67108862){i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}else{i=1073741823}C[f+12>>2]=i;C[f+20>>2]=0;C[f>>2]=0;if(!b){break vb}if(bo(b,f)){break zb}if(D[f+24|0]|!C[f+28>>2]){break Ab}b=Pf(c);C[f+4>>2]=b;C[f+8>>2]=b+C[c+16>>2];if(b){continue}break}}Ue(C[f+32>>2]);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;break yb}if(!C[f+28>>2]){break xb}C[f+28>>2]=0;b=bo(b,f);e=C[f+28>>2];Ue(C[f+32>>2]);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;if(e){break yb}if(b){break wb}}Ue(c);c=84608;break ub}Ue(C[f+32>>2]);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break ub}Ue(e);C[f+32>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0}b=c;if(!b){b=84608}c=C[g>>2];if(!c){C[g>>2]=b;c=b;break sb}if(!b){break sb}if((b|0)!=84608){Ue(b)}c=C[g>>2];if(!c){continue}break}}Ce=f+48|0;C[o+64>>2]=F[c+16>>2]<12?84608:C[c+12>>2];s=Ce-48|0;Ce=s;C[o+72>>2]=0;b=j>>>0<8?84608:k;c=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);Z=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(Z){V=Z-1|0;e=b+8|0;while(1){b=C[o+16>>2];c=C[b+52>>2];f=A[e+4|0];Bb:{if(((c&-2)!=4|0)==((f|0)>=0|0)){break Bb}g=C[o+8>>2];C[s+16>>2]=h;if(!Hf(b,g,21374,s+16|0)){break Bb}W=(f&16)>>>4^(c&-3)!=5;b=1;Cb:{if(t){break Cb}b=0;if(!(D[e+4|0]&64)){break Cb}c=C[o+16>>2];f=C[c+80>>2];b=1;if(!f){break Cb}g=C[c+100>>2];c=0;if((f|0)!=1){b=f&-2;h=0;while(1){i=g+I(c,20)|0;A[i+18|0]=2;B[i+16>>1]=(C[C[o+16>>2]+52>>2]&-3)==4?-1:1;i=g+I(c|1,20)|0;A[i+18|0]=2;B[i+16>>1]=(C[C[o+16>>2]+52>>2]&-3)==4?-1:1;c=c+2|0;h=h+2|0;if((b|0)!=(h|0)){continue}break}}b=1;if(!(f&1)){break Cb}b=g+I(c,20)|0;A[b+18|0]=2;B[b+16>>1]=(C[C[o+16>>2]+52>>2]&-3)==4?-1:1;b=1}t=b;Db:{if(W){break Db}g=C[o+16>>2];i=C[g+80>>2];if(i>>>0>=2){j=C[g+92>>2];h=i-1|0;c=0;while(1){b=j+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=j+I(c,20)|0;C[b+16>>2]=C[f+16>>2];k=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=k;k=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=k;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}if(!D[g+74|0]){break Db}b=C[g+80>>2];b=b>>>0>>0?b:i;if(b>>>0<2){break Db}g=C[g+100>>2];h=b-1|0;c=0;while(1){b=g+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=g+I(c,20)|0;C[b+16>>2]=C[f+16>>2];i=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=i;i=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=i;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}c=C[o+52>>2];b=C[c+12>>2];C[o+24>>2]=b;c=b+C[c+16>>2]|0;C[o+28>>2]=c;Eb:{if(V>>>0<=_>>>0){break Eb}f=b;b=V>>>0>_>>>0?e:0;if(!(f>>>0<=b>>>0&b>>>0>>0)){C[o+24>>2]=0;C[o+28>>2]=0;break Eb}C[o+24>>2]=b;f=c-b|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C[o+28>>2]=b+(c>>>0>f>>>0?f:c)}i=0;j=Ce+-64|0;Ce=j;Fb:{Gb:{switch(D[e+7|0]){case 0:b=C[o+4>>2];if(!(A[b+140|0]&1)){break Fb}c=D[e+4|0];if(c&16){break Fb}C[j>>2]=e;i=1;C[j+4>>2]=o;A[j+56|0]=c>>>6&1;C[j+52>>2]=j;w=C[b+132>>2];f=0;H=Ce-160|0;Ce=H;y=C[o+8>>2];r=C[o+16>>2];b=sh(H+12|0,1,y,r);C[b+120>>2]=w;C[b+132>>2]=8;C[b+36>>2]=0;C[b+8>>2]=b;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+52>>2]=b;C[b+20>>2]=w;A[b+17|0]=D[b+142|0];C[b+12>>2]=8;C[b+72>>2]=0;C[b+76>>2]=0;C[b- -64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=8;c=C[b+124>>2]==1;A[b+16|0]=c;A[b+60|0]=c|D[b+141|0]!=0;h=C[r+80>>2];if(h){S=b+4|0;u=C[r+100>>2];N=C[r+92>>2];ca=(C[r+52>>2]&-2)!=4;while(1){Hb:{Ib:{T=I(f,20);g=T+N|0;if(!(w&C[g+4>>2])){break Ib}C[b+40>>2]=1;C[b+4>>2]=f;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];A[b+24|0]=C[c+76>>2]==(f|0)?D[(T+C[c+92>>2]|0)+15|0]:0;if(!Og(S)){break Ib}c=C[j+52>>2];l=C[c>>2];z=C[g>>2];da=C[S>>2];x=I(da,20);X=C[x+N>>2];v=C[c+4>>2];n=0;k=84608;c=D[l+12|0]|D[l+13|0]<<8|(D[l+14|0]<<16|D[l+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Jb:{if((c|0)<=0){break Jb}aa=l+28|0;c=c-1|0;while(1){Kb:{Lb:{Mb:{g=c+n>>>1|0;R=aa+I(g,6)|0;M=D[R|0]|D[R+1|0]<<8;M=(M<<8|M>>>8)&65535;Nb:{if((M|0)==(z|0)){R=D[R+2|0]|D[R+3|0]<<8;R=(R<<8|R>>>8)&65535;if(R>>>0>X>>>0){break Nb}if((R|0)==(X|0)){break Mb}break Lb}if(z>>>0>=M>>>0){break Lb}}c=g-1|0;break Kb}k=aa+I(g,6)|0;break Jb}n=g+1|0}if((c|0)>=(n|0)){continue}break}}c=D[k+4|0]|D[k+5|0]<<8;g=(c<<8|c>>>8)<<16>>16;c=g;Ob:{if(!v){break Ob}k=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);if(!k){break Ob}c=0;Pb:{if(k>>>0>2147483646){break Pb}g=g+l|0;if(g>>>0>2]){break Pb}n=C[v+28>>2];if(n>>>0>>0){break Pb}k=k<<1;if(k>>>0>n-g>>>0){break Pb}k=C[v+32>>2]-k|0;C[v+32>>2]=k;if((k|0)<=0){break Pb}c=D[g|0]|D[g+1|0]<<8;c=(c<<8|c>>>8)<<16>>16}}Qb:{if(!c){break Qb}Rb:{if(!ca){c=c<<16>>16;c=mT(C[y+32>>2],C[y+36>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+12>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break Rb}g=u+T|0;k=c>>1;C[g>>2]=k+C[g>>2];g=u+x|0;c=c-k|0;C[g>>2]=c+C[g>>2];C[g+8>>2]=c+C[g+8>>2];break Rb}c=c<<16>>16;c=mT(C[y+40>>2],C[y+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+8>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break Rb}g=u+T|0;k=c>>1;C[g+4>>2]=k+C[g+4>>2];g=u+x|0;c=c-k|0;C[g+4>>2]=c+C[g+4>>2];C[g+12>>2]=c+C[g+12>>2]}c=da+1|0;if(c-f>>>0<2){break Qb}Sf(r,f,c)}f=C[S>>2];break Hb}f=f+1|0}if(h>>>0>f>>>0){continue}break}}Ce=H+160|0;break Fb;case 1:c=D[e+4|0];if(!(A[C[o+4>>2]+140|0]&1|c&64)){break Fb}C[j>>2]=o;C[j+4>>2]=e;b=D[e+28|0]|D[e+29|0]<<8|(D[e+30|0]<<16|D[e+31|0]<<24);C[j+44>>2]=0;A[j+48|0]=c>>>6&1;c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=e+12|0;C[j+8>>2]=c+b;c=C[C[o+8>>2]+16>>2];C[j+56>>2]=C[o+16>>2];C[j+52>>2]=b;b=C[c+32>>2];if((b|0)==-1){b=Ng(c)}C[j+60>>2]=b;b=C[j+56>>2];C[b+76>>2]=0;Sb:{if(!D[b+72|0]){break Sb}while(1){f=C[b+76>>2];c=0;Tb:{if(f>>>0>=F[b+80>>2]){break Tb}g=C[C[b+92>>2]+I(f,20)>>2];c=2;if((g|0)==65535){break Tb}b=C[j+52>>2];f=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=Vg((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+b|0,g,C[j+60>>2]);c=1;if(!b){break Tb}b=D[b|0]|D[b+1|0]<<8;c=(b<<8|b>>>8)&65535}f=C[j+56>>2];b=C[j+52>>2];g=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);n=h>>>0>c>>>0;u=I(h,i);g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);l=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=((n?c:1)+u<<1)+l|0;g=D[g|0]|D[g+1|0]<<8;k=I((g<<8|g>>>8)&65535,6);g=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);r=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=k+r|0;k=D[g|0]|D[g+1|0]<<8;Ub:{Vb:{if((D[g+4|0]|D[g+5|0]<<8)!=65535){break Vb}Wb:{if(!i){break Wb}i=D[g+2|0]|D[g+3|0]<<8;if(!(i&64?k:1)){break Wb}b=l+((n?c:1)<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=r+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)!=65535|(k|0)!=(D[b|0]|D[b+1|0]<<8)|(i^(D[b+2|0]|D[b+3|0]<<8))&64){break Vb}}b=l+(u+!h<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=r+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)==65535){break Ub}}b=C[f+76>>2];c=D[f+73|0]?C[f+84>>2]:b;if(!c|b>>>0>=F[f+80>>2]){break Ub}Zg(f,c-1|0,b+1|0)}b=D[g+2|0]|D[g+3|0]<<8;b=b<<8|b>>>8;f=b<<16>>16;c=C[j+56>>2];if(b&8192){C[j+44>>2]=0}Xb:{if((f|0)>=0){break Xb}b=C[j+44>>2];if(b>>>0<=7){f=C[c+76>>2];C[j+44>>2]=b+1;C[((b<<2)+j|0)+12>>2]=f;break Xb}C[j+44>>2]=0}f=D[g+4|0]|D[g+5|0]<<8;Yb:{if((f|0)==65535){break Yb}i=C[j+44>>2];if(!i){break Yb}Zb:{b=C[j+4>>2];b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=b>>>0<=1?1:b;_b:{if(4294967295/(h>>>0)>>>0<=i>>>0){break _b}n=I(h,i);if(n>>>0>2147483646){break _b}f=C[j+8>>2]+((f<<8|f>>>8)&65534)|0;b=C[j>>2];if(!n){break Zb}if(F[b+24>>2]>f>>>0){break _b}l=C[b+28>>2];if(l>>>0>>0){break _b}n=n<<1;if(n>>>0>l-f>>>0){break _b}n=C[b+32>>2]-n|0;C[b+32>>2]=n;if((n|0)>0){break Zb}}C[j+44>>2]=0;break Yb}n=C[C[b+4>>2]+132>>2];r=h<<1;while(1){i=i-1|0;C[j+44>>2]=i;b=C[((i<<2)+j|0)+12>>2];if(b>>>0>2]){i=D[f|0]|D[f+1|0]<<8;h=(i<<8|i>>>8)<<16>>16;i=h&-2;u=h&1;h=I(b,20);b=h+C[c+100>>2]|0;l=D[j+48|0];$b:{if((C[c+52>>2]&-2)==4){if(l){if((i|0)==-32768){B[b+16>>1]=0;A[b+18|0]=0;C[b+12>>2]=0;break $b}if(!D[b+18|0]){break $b}l=C[b+12>>2];h=C[C[j>>2]+8>>2];i=mT(C[h+40>>2],C[h+44>>2],i,i>>31);h=Ee;i=i+32768|0;C[b+12>>2]=(((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16)+l;C[c+36>>2]=C[c+36>>2]|8;break $b}if(!(n&C[(h+C[c+92>>2]|0)+4>>2])){break $b}h=C[C[j>>2]+8>>2];i=mT(C[h+32>>2],C[h+36>>2],i,i>>31);l=Ee;i=i+32768|0;i=((i>>>0<32768?l+1|0:l)&65535)<<16|i>>>16;C[b>>2]=i+C[b>>2];C[b+8>>2]=i+C[b+8>>2];break $b}if(l){if((i|0)==-32768){B[b+16>>1]=0;A[b+18|0]=0;C[b+8>>2]=0;break $b}if(!D[b+18|0]){break $b}l=C[b+8>>2];h=C[C[j>>2]+8>>2];i=mT(C[h+32>>2],C[h+36>>2],i,i>>31);h=Ee;i=i+32768|0;C[b+8>>2]=(((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16)+l;C[c+36>>2]=C[c+36>>2]|8;break $b}if(!(n&C[(h+C[c+92>>2]|0)+4>>2])){break $b}h=C[C[j>>2]+8>>2];i=mT(C[h+40>>2],C[h+44>>2],i,i>>31);l=Ee;i=i+32768|0;i=((i>>>0<32768?l+1|0:l)&65535)<<16|i>>>16;C[b+4>>2]=i+C[b+4>>2];C[b+12>>2]=i+C[b+12>>2]}if(u){break Yb}i=C[j+44>>2]}f=f+r|0;if(i){continue}break}}b=C[j+56>>2];i=C[b+76>>2];if((i|0)==C[b+80>>2]|!D[b+72|0]){break Sb}k=k<<8|k>>>8;ac:{if(D[g+2|0]&64){c=C[b+44>>2];C[b+44>>2]=c-1;if((c|0)>0){break ac}}if(D[b+73|0]){bc:{if(C[b+96>>2]==C[b+92>>2]){c=i;if(C[b+84>>2]==(c|0)){break bc}}if(!$e(b,1,1)){break ac}f=C[b+92>>2]+I(C[b+76>>2],20)|0;g=C[f+4>>2];c=C[b+96>>2]+I(C[b+84>>2],20)|0;C[c>>2]=C[f>>2];C[c+4>>2]=g;C[c+16>>2]=C[f+16>>2];g=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=g;i=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=i+1}i=k&65535;b=C[j+56>>2];if(D[b+72|0]){continue}break}}i=1;break Fb;case 2:b=C[o+4>>2];if(!(A[b+140|0]&1)){break Fb}c=D[e+4|0];if(c&16){break Fb}C[j>>2]=e;i=1;C[j+4>>2]=o;A[j+56|0]=c>>>6&1;C[j+52>>2]=j;w=C[b+132>>2];f=0;R=Ce-160|0;Ce=R;y=C[o+8>>2];r=C[o+16>>2];b=sh(R+12|0,1,y,r);C[b+120>>2]=w;C[b+132>>2]=8;C[b+36>>2]=0;C[b+8>>2]=b;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+52>>2]=b;C[b+20>>2]=w;A[b+17|0]=D[b+142|0];C[b+12>>2]=8;C[b+72>>2]=0;C[b+76>>2]=0;C[b- -64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=8;c=C[b+124>>2]==1;A[b+16|0]=c;A[b+60|0]=c|D[b+141|0]!=0;g=C[r+80>>2];if(g){S=b+4|0;u=C[r+100>>2];H=C[r+92>>2];z=(C[r+52>>2]&-2)!=4;while(1){cc:{dc:{T=I(f,20);h=T+H|0;if(!(w&C[h+4>>2])){break dc}C[b+40>>2]=1;C[b+4>>2]=f;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];A[b+24|0]=C[c+76>>2]==(f|0)?D[(T+C[c+92>>2]|0)+15|0]:0;if(!Og(S)){break dc}X=C[S>>2];x=I(X,20);N=C[x+H>>2];n=0;k=0;v=C[j+52>>2];l=C[v>>2];c=D[l+16|0]|D[l+17|0]<<8|(D[l+18|0]<<16|D[l+19|0]<<24);M=C[h>>2];v=C[v+4>>2];h=C[v+56>>2];c=Vg((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0,M,h);if(c){c=D[c|0]|D[c+1|0]<<8;k=(c<<8|c>>>8)&65535}c=D[l+20|0]|D[l+21|0]<<8|(D[l+22|0]<<16|D[l+23|0]<<24);c=Vg(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,N,h);if(c){c=D[c|0]|D[c+1|0]<<8;n=(c<<8|c>>>8)&65535}h=0;aa=C[v+24>>2];c=D[l+24|0]|D[l+25|0]<<8|(D[l+26|0]<<16|D[l+27|0]<<24);c=(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0)+(k+n<<1)|0;ec:{fc:{if(aa>>>0>c>>>0){break fc}k=C[v+28>>2];if(k>>>0>>0|k-c>>>0<2){break fc}N=C[v+32>>2]-2|0;C[v+32>>2]=N;if((N|0)<=0){break fc}c=D[c|0]|D[c+1|0]<<8;c=(c<<8|c>>>8)<<16>>16;n=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);n=n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24);if(!n){break ec}if(n>>>0>2147483646){break fc}c=c+l|0;if(c>>>0>>0|c>>>0>k>>>0){break fc}l=k-c|0;k=n<<1;if(l>>>0>>0){break fc}k=N-k|0;C[v+32>>2]=k;if((k|0)<=0){break fc}c=D[c|0]|D[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16}c=h}gc:{if(!c){break gc}hc:{if(!z){c=c<<16>>16;c=mT(C[y+32>>2],C[y+36>>2],c,c>>31);h=Ee;c=c+32768|0;c=((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+12>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break hc}k=u+T|0;h=c>>1;C[k>>2]=h+C[k>>2];k=u+x|0;c=c-h|0;C[k>>2]=c+C[k>>2];C[k+8>>2]=c+C[k+8>>2];break hc}c=c<<16>>16;c=mT(C[y+40>>2],C[y+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+56|0]){C[(u+x|0)+8>>2]=c;C[r+36>>2]=C[r+36>>2]|8;break hc}k=u+T|0;h=c>>1;C[k+4>>2]=h+C[k+4>>2];k=u+x|0;c=c-h|0;C[k+4>>2]=c+C[k+4>>2];C[k+12>>2]=c+C[k+12>>2]}c=X+1|0;if(c-f>>>0<2){break gc}Sf(r,f,c)}f=C[S>>2];break cc}f=f+1|0}if(g>>>0>f>>>0){continue}break}}Ce=R+160|0;break Fb;case 4:C[j>>2]=o;C[j+4>>2]=D[e+28|0]>>>6;b=D[e+31|0];c=D[e+30|0];f=D[e+29|0];C[j+16>>2]=0;A[j+12|0]=0;c=b|(c<<8|f<<16);b=e+12|0;C[j+8>>2]=c+b;c=C[C[o+8>>2]+16>>2];C[j+56>>2]=C[o+16>>2];C[j+52>>2]=b;b=C[c+32>>2];if((b|0)==-1){b=Ng(c)}C[j+60>>2]=b;b=C[j+56>>2];C[b+76>>2]=0;ic:{if(!D[b+72|0]){break ic}while(1){f=C[b+76>>2];c=0;jc:{if(f>>>0>=F[b+80>>2]){break jc}g=C[C[b+92>>2]+I(f,20)>>2];c=2;if((g|0)==65535){break jc}b=C[j+52>>2];f=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=Vg((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+b|0,g,C[j+60>>2]);c=1;if(!b){break jc}b=D[b|0]|D[b+1|0]<<8;c=(b<<8|b>>>8)&65535}f=C[j+56>>2];b=C[j+52>>2];g=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h=k>>>0>c>>>0;r=I(i,k);g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);l=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=((h?c:1)+r<<1)+l|0;g=D[g|0]|D[g+1|0]<<8;n=I((g<<8|g>>>8)&65535,6);g=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);g=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;n=n+g|0;u=D[n|0]|D[n+1|0]<<8;kc:{lc:{if((D[n+4|0]|D[n+5|0]<<8)!=65535){break lc}mc:{if(!i){break mc}i=D[n+2|0]|D[n+3|0]<<8;if(!(i&64?u:1)){break mc}b=l+((h?c:1)<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=g+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)!=65535|(u|0)!=(D[b|0]|D[b+1|0]<<8)|(i^(D[b+2|0]|D[b+3|0]<<8))&64){break lc}}b=l+(r+!k<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=g+I((b<<8|b>>>8)&65535,6)|0;if((D[b+4|0]|D[b+5|0]<<8)==65535){break kc}}b=C[f+76>>2];c=D[f+73|0]?C[f+84>>2]:b;if(!c|b>>>0>=F[f+80>>2]){break kc}Zg(f,c-1|0,b+1|0)}f=Ce-32|0;Ce=f;r=C[j+56>>2];nc:{oc:{if(!D[j+12|0]){break oc}b=D[n+4|0]|D[n+5|0]<<8;if((b|0)==65535){break oc}v=C[r+76>>2];if(v>>>0>=F[r+80>>2]){break oc}b=(b<<8|b>>>8)&65535;y=C[r+100>>2];pc:{qc:{switch(C[j+4>>2]){case 0:b=C[j+8>>2]+(b<<2)|0;c=C[j>>2];if(b>>>0>2]){break nc}g=C[c+28>>2];if(g>>>0>>0|g-b>>>0<4){break nc}g=C[c+32>>2]-4|0;C[c+32>>2]=g;if((g|0)<=0){break nc}k=D[b+2|0]|D[b+3|0]<<8;g=D[b|0]|D[b+1|0]<<8;C[f+12>>2]=0;C[f+8>>2]=0;i=C[C[C[c+16>>2]+92>>2]+I(C[j+16>>2],20)>>2];b=C[c+8>>2];C[f+20>>2]=0;C[f+16>>2]=0;c=C[b+72>>2];if(!(Fe[C[c+204>>2]](b,C[b+76>>2],i,(g<<8|g>>>8)&65535,f+20|0,f+16|0,C[c+68>>2])|0)){break nc}pj(b,i,f+28|0,f+24|0);C[f+20>>2]=C[f+20>>2]-C[f+28>>2];C[f+16>>2]=C[f+16>>2]-C[f+24>>2];b=C[j>>2];c=C[b+8>>2];b=C[b+16>>2];h=C[C[b+92>>2]+I(C[b+76>>2],20)>>2];b=Ce-16|0;Ce=b;g=f+8|0;C[g>>2]=0;i=f+12|0;C[i>>2]=0;l=(k<<8|(k&65280)>>>8)&65535;k=C[c+72>>2];k=Fe[C[k+204>>2]](c,C[c+76>>2],h,l,i,g,C[k+68>>2])|0;if(k){pj(c,h,b+12|0,b+8|0);C[i>>2]=C[i>>2]-C[b+12>>2];C[g>>2]=C[g>>2]-C[b+8>>2]}Ce=b+16|0;if(!k){break nc}b=y+I(v,20)|0;C[b+8>>2]=C[f+20>>2]-C[f+12>>2];C[b+12>>2]=C[f+16>>2]-C[f+8>>2];break pc;case 1:b=C[j+8>>2]+(b<<2)|0;c=C[j>>2];if(b>>>0>2]){break nc}g=C[c+28>>2];if(g>>>0>>0|g-b>>>0<4){break nc}g=C[c+32>>2]-4|0;C[c+32>>2]=g;if((g|0)<=0){break nc}h=D[b+2|0]|D[b+3|0]<<8;l=D[b|0]|D[b+1|0]<<8;k=84608;i=84608;b=C[c+64>>2];g=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=Vg(g?b+g|0:85016,C[C[C[c+16>>2]+92>>2]+I(C[j+16>>2],20)>>2],C[c+56>>2]);if(g){c=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);c=b+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;b=D[g|0]|D[g+1|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);g=(l<<8|(l&65280)>>>8)&65535;i=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<=g>>>0?84608:(b+(g<<2)|0)+4|0}g=C[j>>2];b=C[g+64>>2];c=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=c?b+c|0:85016;c=C[g+16>>2];g=Vg(l,C[C[c+92>>2]+I(C[c+76>>2],20)>>2],C[g+56>>2]);if(g){c=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);c=b+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;b=D[g|0]|D[g+1|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);g=(h<<8|h>>>8)&65535;k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<=g>>>0?84608:(b+(g<<2)|0)+4|0}b=y+I(v,20)|0;g=C[C[j>>2]+8>>2];c=C[g+32>>2];x=C[g+36>>2];h=D[i|0]|D[i+1|0]<<8;h=(h<<8|h>>>8)<<16>>16;h=mT(c,x,h,h>>31);l=Ee;h=h+32768|0;l=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;M=c;h=D[k|0]|D[k+1|0]<<8;c=(h<<8|h>>>8)<<16>>16;c=mT(M,x,c,c>>31);h=Ee;c=c+32768|0;C[b+8>>2]=l-(((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16);c=C[g+40>>2];g=C[g+44>>2];i=D[i+2|0]|D[i+3|0]<<8;i=(i<<8|i>>>8)<<16>>16;i=mT(c,g,i,i>>31);l=Ee;i=i+32768|0;i=((i>>>0<32768?l+1|0:l)&65535)<<16|i>>>16;h=c;k=D[k+2|0]|D[k+3|0]<<8;c=(k<<8|k>>>8)<<16>>16;c=mT(h,g,c,c>>31);l=Ee;c=c+32768|0;C[b+12>>2]=i-(((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16);break pc;case 2:break qc;default:break pc}}g=C[j+8>>2]+(b<<3)|0;c=C[j>>2];if(g>>>0>2]){break nc}b=C[c+28>>2];if(b>>>0>>0|b-g>>>0<8){break nc}b=C[c+32>>2]-8|0;C[c+32>>2]=b;if((b|0)<=0){break nc}k=D[g+6|0]|D[g+7|0]<<8;x=D[g+2|0]|D[g+3|0]<<8;i=C[c+8>>2];c=C[i+32>>2];l=C[i+36>>2];h=D[g|0]|D[g+1|0]<<8;h=(h<<8|h>>>8)<<16>>16;w=mT(c,l,h,h>>31);h=Ee;b=c;g=D[g+4|0]|D[g+5|0]<<8;c=(g<<8|g>>>8)<<16>>16;c=mT(b,l,c,c>>31);l=Ee;b=y+I(v,20)|0;w=w+32768|0;c=c+32768|0;C[b+8>>2]=(((w>>>0<32768?h+1|0:h)&65535)<<16|w>>>16)-(((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16);c=C[i+40>>2];i=C[i+44>>2];g=(x<<8|x>>>8)<<16>>16;g=mT(c,i,g,g>>31);l=Ee;h=c;c=(k<<8|k>>>8)<<16>>16;c=mT(h,i,c,c>>31);h=Ee;g=g+32768|0;c=c+32768|0;C[b+12>>2]=(((g>>>0<32768?l+1|0:l)&65535)<<16|g>>>16)-(((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16)}b=y+I(v,20)|0;A[b+18|0]=1;B[b+16>>1]=C[j+16>>2]-C[r+76>>2];C[r+36>>2]=C[r+36>>2]|8}if(!(D[n+2|0]&128)){break nc}A[j+12|0]=1;C[j+16>>2]=C[r+76>>2]}Ce=f+32|0;b=C[j+56>>2];i=C[b+76>>2];if((i|0)==C[b+80>>2]|!D[b+72|0]){break ic}g=u<<8|u>>>8;rc:{if(D[n+2|0]&64){c=C[b+44>>2];C[b+44>>2]=c-1;if((c|0)>0){break rc}}if(D[b+73|0]){sc:{if(C[b+96>>2]==C[b+92>>2]){c=i;if(C[b+84>>2]==(c|0)){break sc}}if(!$e(b,1,1)){break rc}f=C[b+92>>2]+I(C[b+76>>2],20)|0;i=C[f+4>>2];c=C[b+96>>2]+I(C[b+84>>2],20)|0;C[c>>2]=C[f>>2];C[c+4>>2]=i;C[c+16>>2]=C[f+16>>2];i=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=i;i=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=i+1}i=g&65535;b=C[j+56>>2];if(D[b+72|0]){continue}break}}i=1;break Fb;case 6:break Gb;default:break Fb}}b=C[o+4>>2];if(!(A[b+140|0]&1)){break Fb}c=D[e+4|0];if(c&16){break Fb}C[j>>2]=e;i=1;C[j+4>>2]=o;A[j+56|0]=c>>>6&1;C[j+52>>2]=j;T=C[b+132>>2];f=0;N=Ce-160|0;Ce=N;y=C[o+8>>2];u=C[o+16>>2];k=sh(N+12|0,1,y,u);C[k+120>>2]=T;C[k+132>>2]=8;C[k+36>>2]=0;C[k+8>>2]=k;C[k+28>>2]=0;C[k+32>>2]=0;C[k+80>>2]=0;C[k+52>>2]=k;C[k+20>>2]=T;A[k+17|0]=D[k+142|0];C[k+12>>2]=8;C[k+72>>2]=0;C[k+76>>2]=0;C[k- -64>>2]=-1;A[k+61|0]=1;C[k+56>>2]=8;b=C[k+124>>2]==1;A[k+16|0]=b;A[k+60|0]=b|D[k+141|0]!=0;n=C[u+80>>2];if(n){R=k+4|0;v=C[u+100>>2];z=C[u+92>>2];aa=(C[u+52>>2]&-2)!=4;while(1){tc:{uc:{H=I(f,20);c=H+z|0;if(!(T&C[c+4>>2])){break uc}C[k+40>>2]=1;C[k+4>>2]=f;b=C[C[k+8>>2]+100>>2];C[k+44>>2]=C[b+80>>2];A[k+24|0]=C[b+76>>2]==(f|0)?D[(H+C[b+92>>2]|0)+15|0]:0;if(!Og(R)){break uc}c=C[c>>2];ca=C[R>>2];x=I(ca,20);w=C[x+z>>2];g=0;h=C[j+52>>2];l=C[h>>2];b=D[l+20|0]|D[l+21|0]<<8|(D[l+22|0]<<16|D[l+23|0]<<24);b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0;r=C[h+4>>2];S=C[r+56>>2];vc:{wc:{xc:{if(A[l+15|0]&1){h=Ut(b,c,S);b=D[l+24|0]|D[l+25|0]<<8|(D[l+26|0]<<16|D[l+27|0]<<24);c=Ut(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,w,S);b=h+c|0;if(b>>>0>>0|b>>>0>1073741822){break wc}S=C[r+24>>2];c=D[l+28|0]|D[l+29|0]<<8|(D[l+30|0]<<16|D[l+31|0]<<24);b=(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0)+(b<<2)|0;if(S>>>0>b>>>0){break wc}c=C[r+28>>2];if(c>>>0>>0|c-b>>>0<4){break wc}w=C[r+32>>2]-4|0;C[r+32>>2]=w;if((w|0)<=0){break wc}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!h){break vc}if(h>>>0>2147483646){break wc}M=b;b=D[l+32|0]|D[l+33|0]<<8|(D[l+34|0]<<16|D[l+35|0]<<24);b=M+(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0)|0;if(S>>>0>b>>>0|b>>>0>c>>>0){break wc}l=c-b|0;c=h<<1;if(l>>>0>>0){break wc}c=w-c|0;C[r+32>>2]=c;if((c|0)>0){break xc}break wc}yc:{if((D[b|0]|D[b+1|0]<<8)==2560){zc:{h=D[b+4|0]|D[b+5|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0<=c>>>0){h=c-h|0;X=D[b+6|0]|D[b+7|0]<<8;if(h>>>0<((X<<8|X>>>8)&65535)>>>0){break zc}}b=E[42304];c=b<<8|b>>>8;break yc}c=D[b+2|0]|D[b+3|0]<<8;if(!c){c=0;break yc}M=b;c=(c<<8|c>>>8)&65535;b=I(c,h);b=(b|0)<0?84608:(M+b|0)+8|0;c=c>>>0<=1?1:c;X=c&3;if(c-1>>>0<3){c=0}else{da=c&65532;c=0;while(1){h=b;b=b+4|0;c=c+4|0;if((da|0)!=(c|0)){continue}break}c=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(!X){break yc}while(1){c=D[b|0]|c<<8;b=b+1|0;g=g+1|0;if((X|0)!=(g|0)){continue}break}break yc}b=Vg(b,c,S);b=b?b:84608;b=D[b|0]|D[b+1|0]<<8;c=b<<8|b>>>8}X=c&65535;b=D[l+24|0]|D[l+25|0]<<8|(D[l+26|0]<<16|D[l+27|0]<<24);b=l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;Ac:{if((D[b|0]|D[b+1|0]<<8)==2560){Bc:{c=D[b+4|0]|D[b+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=w>>>0){h=w-c|0;g=D[b+6|0]|D[b+7|0]<<8;if(h>>>0<((g<<8|g>>>8)&65535)>>>0){break Bc}}b=E[42304];c=b<<8|b>>>8;break Ac}c=D[b+2|0]|D[b+3|0]<<8;if(!c){c=0;break Ac}g=0;M=b;c=(c<<8|c>>>8)&65535;b=I(c,h);b=(b|0)<0?84608:(M+b|0)+8|0;c=c>>>0<=1?1:c;w=c&3;if(c-1>>>0<3){c=0}else{S=c&65532;c=0;while(1){h=b;b=b+4|0;c=c+4|0;if((S|0)!=(c|0)){continue}break}c=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(!w){break Ac}while(1){c=D[b|0]|c<<8;b=b+1|0;g=g+1|0;if((w|0)!=(g|0)){continue}break}break Ac}b=Vg(b,w,S);b=b?b:84608;b=D[b|0]|D[b+1|0]<<8;c=b<<8|b>>>8}g=0;S=C[r+24>>2];b=D[l+28|0]|D[l+29|0]<<8|(D[l+30|0]<<16|D[l+31|0]<<24);b=(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0)+(X+(c&65535)<<1)|0;if(S>>>0>b>>>0){break wc}c=C[r+28>>2];if(c>>>0>>0|c-b>>>0<2){break wc}w=C[r+32>>2]-2|0;C[r+32>>2]=w;if((w|0)<=0){break wc}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;h=D[l+8|0]|D[l+9|0]<<8|(D[l+10|0]<<16|D[l+11|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!h){break vc}if(h>>>0>2147483646){break wc}M=b;b=D[l+32|0]|D[l+33|0]<<8|(D[l+34|0]<<16|D[l+35|0]<<24);b=M+(l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0)|0;if(S>>>0>b>>>0|b>>>0>c>>>0){break wc}l=c-b|0;c=h<<1;if(l>>>0>>0){break wc}c=w-c|0;C[r+32>>2]=c;if((c|0)<=0){break wc}}b=D[b|0]|D[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16}b=g}Cc:{if(!b){break Cc}Dc:{if(!aa){b=b<<16>>16;b=mT(C[y+32>>2],C[y+36>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[j+56|0]){C[(v+x|0)+12>>2]=b;C[u+36>>2]=C[u+36>>2]|8;break Dc}c=v+H|0;g=b>>1;C[c>>2]=g+C[c>>2];c=v+x|0;b=b-g|0;C[c>>2]=b+C[c>>2];C[c+8>>2]=b+C[c+8>>2];break Dc}b=b<<16>>16;b=mT(C[y+40>>2],C[y+44>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[j+56|0]){C[(v+x|0)+8>>2]=b;C[u+36>>2]=C[u+36>>2]|8;break Dc}c=v+H|0;g=b>>1;C[c+4>>2]=g+C[c+4>>2];c=v+x|0;b=b-g|0;C[c+4>>2]=b+C[c+4>>2];C[c+12>>2]=b+C[c+12>>2]}b=ca+1|0;if(b-f>>>0<2){break Cc}Sf(u,f,b)}f=C[R>>2];break tc}f=f+1|0}if(n>>>0>f>>>0){continue}break}}Ce=N+160|0}Ce=j- -64|0;b=C[o+52>>2];c=C[b+12>>2];C[o+24>>2]=c;C[o+28>>2]=c+C[b+16>>2];Ec:{if(W){break Ec}g=C[o+16>>2];j=C[g+80>>2];if(j>>>0>=2){k=C[g+92>>2];h=j-1|0;c=0;while(1){b=k+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=k+I(c,20)|0;C[b+16>>2]=C[f+16>>2];n=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=n;n=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=n;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}if(!D[g+74|0]){break Ec}b=C[g+80>>2];b=b>>>0>>0?b:j;if(b>>>0<2){break Ec}g=C[g+100>>2];h=b-1|0;c=0;while(1){b=g+I(h,20)|0;C[s+40>>2]=C[b+16>>2];f=C[b+12>>2];C[s+32>>2]=C[b+8>>2];C[s+36>>2]=f;f=C[b+4>>2];C[s+24>>2]=C[b>>2];C[s+28>>2]=f;f=g+I(c,20)|0;C[b+16>>2]=C[f+16>>2];j=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=j;j=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=j;C[f+16>>2]=C[s+40>>2];b=C[s+36>>2];C[f+8>>2]=C[s+32>>2];C[f+12>>2]=b;b=C[s+28>>2];C[f>>2]=C[s+24>>2];C[f+4>>2]=b;c=c+1|0;h=h-1|0;if(c>>>0>>0){continue}break}}Y=i|Y;b=C[o+8>>2];c=C[o+16>>2];C[s>>2]=C[o+72>>2];Hf(c,b,21392,s)}b=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=C[o+72>>2]+1|0;C[o+72>>2]=h;e=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+e|0;_=_+1|0;if((Z|0)!=(_|0)){continue}break}}Ce=s+48|0;Hf(m,q,1676,0)}Ue(C[o+52>>2]);Ce=Q+80|0}b=E[P+140>>1];Fc:{if(b&1024){s=0;g=0;_=0;S=Ce-80|0;Ce=S;c=Ce-48|0;Ce=c;f=C[q+16>>2]+128|0;b=C[f>>2];Gc:{if(b){break Gc}i=f-80|0;while(1){e=C[i>>2];if(!e){b=84608;break Gc}b=c;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;j=Qf(e);A[b+40|0]=1;C[b+36>>2]=j;e=St(b,Of(e,1801810542));if(!e){e=84608}b=C[f>>2];if(!b){C[f>>2]=e;b=e;break Gc}if(!e){break Gc}if((e|0)!=84608){Ue(e)}b=C[f>>2];if(!b){continue}break}}Ce=c+48|0;c=C[b+16>>2];e=C[b+12>>2];k=Fk(S+4|0,P,q,m,b);if(Hf(m,q,11895,0)){Hc:{Ic:{Jc:{c=c>>>0<4?84608:e;b=D[c|0]|D[c+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Ic;case 0:break Jc;default:break Hc}}b=0;j=Ce-48|0;Ce=j;C[k+72>>2]=0;e=D[c+2|0]|D[c+3|0]<<8;if(e){e=(e<<8|e>>>8)&65535;Y=e>>>0<=1?1:e;Q=e-1|0;e=c+4|0;while(1){c=C[k+16>>2];f=C[c+52>>2];Kc:{if((A[e+5|0]&1)==((f&-2)!=4|0)){break Kc}i=C[k+8>>2];C[j+16>>2]=b;if(!Hf(c,i,21374,j+16|0)){break Kc}i=f&-3;b=1;Lc:{if(g){break Lc}b=0;if(!(D[e+5|0]&4)){break Lc}f=C[k+16>>2];c=C[f+80>>2];b=1;if(!c){break Lc}f=C[f+100>>2];p=0;if((c|0)!=1){g=c&-2;b=0;while(1){h=f+I(p,20)|0;A[h+18|0]=2;B[h+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;h=f+I(p|1,20)|0;A[h+18|0]=2;B[h+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;p=p+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}b=1;if(!(c&1)){break Lc}b=f+I(p,20)|0;A[b+18|0]=2;B[b+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;b=1}g=b;Z=(i|0)!=5;Mc:{if(Z){break Mc}i=C[k+16>>2];h=C[i+80>>2];if(h>>>0>=2){n=C[i+92>>2];b=h-1|0;p=0;while(1){c=n+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=n+I(p,20)|0;C[c+16>>2]=C[f+16>>2];t=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=t;t=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=t;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[i+74|0]){break Mc}b=C[i+80>>2];b=b>>>0>>0?b:h;if(b>>>0<2){break Mc}i=C[i+100>>2];b=b-1|0;p=0;while(1){c=i+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=i+I(p,20)|0;C[c+16>>2]=C[f+16>>2];h=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=h;h=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=h;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}c=C[k+52>>2];b=C[c+12>>2];C[k+24>>2]=b;c=b+C[c+16>>2]|0;C[k+28>>2]=c;Nc:{if(!e|s>>>0>=Q>>>0){break Nc}if(!(b>>>0<=e>>>0&c>>>0>e>>>0)){C[k+24>>2]=0;C[k+28>>2]=0;break Nc}C[k+24>>2]=e;b=c-e|0;c=D[e+2|0]|D[e+3|0]<<8;c=(c<<8|c>>>8)&65535;C[k+28>>2]=(b>>>0>>0?b:c)+e}b=0;t=Ce-16|0;Ce=t;Oc:{Pc:{Qc:{switch(D[e+4|0]){case 0:c=C[k+4>>2];if(!(A[c+140|0]&1)){break Oc}b=D[e+5|0];C[t+8>>2]=e;C[t+12>>2]=k;A[t+4|0]=b>>>2&1;C[t>>2]=t+8;v=C[c+132>>2];b=0;w=Ce-160|0;Ce=w;u=C[k+8>>2];p=C[k+16>>2];f=sh(w+12|0,1,u,p);C[f+120>>2]=v;C[f+132>>2]=8;C[f+36>>2]=0;C[f+8>>2]=f;C[f+28>>2]=0;C[f+32>>2]=0;C[f+80>>2]=0;C[f+52>>2]=f;C[f+20>>2]=v;A[f+17|0]=D[f+142|0];C[f+12>>2]=8;C[f+72>>2]=0;C[f+76>>2]=0;C[f- -64>>2]=-1;A[f+61|0]=1;C[f+56>>2]=8;c=C[f+124>>2]==1;A[f+16|0]=c;A[f+60|0]=c|D[f+141|0]!=0;V=C[p+80>>2];if(V){y=f+4|0;o=C[p+100>>2];T=C[p+92>>2];W=(C[p+52>>2]&-2)!=4;while(1){i=b;Rc:{Sc:{x=I(b,20);n=x+T|0;if(!(v&C[n+4>>2])){break Sc}C[f+40>>2]=1;C[f+4>>2]=i;b=C[C[f+8>>2]+100>>2];C[f+44>>2]=C[b+80>>2];A[f+24|0]=(i|0)==C[b+76>>2]?D[(x+C[b+92>>2]|0)+15|0]:0;if(!Og(y)){break Sc}b=C[y>>2];r=I(b,20);c=C[C[t>>2]>>2];h=D[c+6|0]|D[c+7|0]<<8;Tc:{if(h){N=c+14|0;l=C[r+T>>2];R=C[n>>2];c=((h<<8|h>>>8)&65535)-1|0;n=0;while(1){Uc:{Vc:{H=c+n>>>1|0;h=N+I(H,6)|0;z=D[h|0]|D[h+1|0]<<8;z=(z<<8|z>>>8)&65535;Wc:{if((z|0)==(R|0)){z=D[h+2|0]|D[h+3|0]<<8;z=(z<<8|z>>>8)&65535;if(z>>>0>l>>>0){break Wc}if((l|0)==(z|0)){break Tc}break Vc}if(z>>>0<=R>>>0){break Vc}}c=H-1|0;break Uc}n=H+1|0}if((c|0)>=(n|0)){continue}break}}h=84608}c=D[h+4|0]|D[h+5|0]<<8;if(!c){break Rc}c=c<<8|c>>>8;Xc:{if(!W){c=c<<16>>16;c=mT(C[u+32>>2],C[u+36>>2],c,c>>31);h=Ee;c=c+32768|0;c=((c>>>0<32768?h+1|0:h)&65535)<<16|c>>>16;if(D[t+4|0]){C[(o+r|0)+12>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break Xc}h=o+x|0;n=c>>1;C[h>>2]=n+C[h>>2];h=o+r|0;c=c-n|0;C[h>>2]=c+C[h>>2];C[h+8>>2]=c+C[h+8>>2];break Xc}c=c<<16>>16;c=mT(C[u+40>>2],C[u+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[t+4|0]){C[(o+r|0)+8>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break Xc}h=o+x|0;n=c>>1;C[h+4>>2]=n+C[h+4>>2];h=o+r|0;c=c-n|0;C[h+4>>2]=c+C[h+4>>2];C[h+12>>2]=c+C[h+12>>2]}c=b+1|0;if(c-i>>>0<2){break Rc}Sf(p,i,c);b=C[y>>2];break Rc}b=i+1|0}if(b>>>0>>0){continue}break}}Ce=w+160|0;break Pc;case 2:break Qc;default:break Oc}}c=C[k+4>>2];if(!(A[c+140|0]&1)){break Oc}b=D[e+5|0];C[t+8>>2]=e;C[t+12>>2]=k;A[t+4|0]=b>>>2&1;C[t>>2]=t+8;y=C[c+132>>2];n=0;T=Ce-160|0;Ce=T;u=C[k+8>>2];o=C[k+16>>2];c=sh(T+12|0,1,u,o);C[c+120>>2]=y;C[c+132>>2]=8;C[c+36>>2]=0;C[c+8>>2]=c;C[c+28>>2]=0;C[c+32>>2]=0;C[c+80>>2]=0;C[c+52>>2]=c;C[c+20>>2]=y;A[c+17|0]=D[c+142|0];C[c+12>>2]=8;C[c+72>>2]=0;C[c+76>>2]=0;C[c- -64>>2]=-1;A[c+61|0]=1;C[c+56>>2]=8;b=C[c+124>>2]==1;A[c+16|0]=b;A[c+60|0]=b|D[c+141|0]!=0;f=C[o+80>>2];if(f){x=c+4|0;r=C[o+100>>2];R=C[o+92>>2];V=(C[o+52>>2]&-2)!=4;while(1){Yc:{Zc:{w=I(n,20);H=w+R|0;if(!(y&C[H+4>>2])){break Zc}C[c+40>>2]=1;C[c+4>>2]=n;b=C[C[c+8>>2]+100>>2];C[c+44>>2]=C[b+80>>2];A[c+24|0]=C[b+76>>2]==(n|0)?D[(w+C[b+92>>2]|0)+15|0]:0;if(!Og(x)){break Zc}b=C[t>>2];i=C[b>>2];W=C[x>>2];v=I(W,20);N=C[v+R>>2];h=C[b+4>>2];l=0;p=0;M=C[H>>2];b=D[i+8|0]|D[i+9|0]<<8;b=i+((b<<8|b>>>8)&65535)|0;H=D[b|0]|D[b+1|0]<<8;H=M-((H<<8|H>>>8)&65535)|0;z=D[b+2|0]|D[b+3|0]<<8;if(H>>>0<((z<<8|z>>>8)&65535)>>>0){b=b+(H<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;p=(b<<8|b>>>8)&65535}b=D[i+10|0]|D[i+11|0]<<8;b=i+((b<<8|b>>>8)&65535)|0;H=D[b|0]|D[b+1|0]<<8;H=N-((H<<8|H>>>8)&65535)|0;N=D[b+2|0]|D[b+3|0]<<8;if(H>>>0<((N<<8|N>>>8)&65535)>>>0){b=b+(H<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;l=(b<<8|b>>>8)&65535}b=0;l=(i+p|0)+l|0;p=D[i+12|0]|D[i+13|0]<<8;i=i+((p<<8|p>>>8)&65535)|0;i=(l-i&-2)+i|0;_c:{if(i>>>0>2]){break _c}p=C[h+28>>2];if(p>>>0>>0|p-i>>>0<2){break _c}l=h;h=C[h+32>>2]-2|0;C[l+32>>2]=h;if((h|0)<=0){break _c}b=D[i|0]|D[i+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}$c:{if(!b){break $c}ad:{if(!V){b=b<<16>>16;b=mT(C[u+32>>2],C[u+36>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[t+4|0]){C[(r+v|0)+12>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break ad}i=r+w|0;h=b>>1;C[i>>2]=h+C[i>>2];i=r+v|0;b=b-h|0;C[i>>2]=b+C[i>>2];C[i+8>>2]=b+C[i+8>>2];break ad}b=b<<16>>16;b=mT(C[u+40>>2],C[u+44>>2],b,b>>31);h=Ee;b=b+32768|0;b=((b>>>0<32768?h+1|0:h)&65535)<<16|b>>>16;if(D[t+4|0]){C[(r+v|0)+8>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break ad}i=r+w|0;h=b>>1;C[i+4>>2]=h+C[i+4>>2];i=r+v|0;b=b-h|0;C[i+4>>2]=b+C[i+4>>2];C[i+12>>2]=b+C[i+12>>2]}b=W+1|0;if(b-n>>>0<2){break $c}Sf(o,n,b)}n=C[x>>2];break Yc}n=n+1|0}if(f>>>0>n>>>0){continue}break}}Ce=T+160|0}b=1}Ce=t+16|0;i=b;b=C[k+52>>2];c=C[b+12>>2];C[k+24>>2]=c;C[k+28>>2]=c+C[b+16>>2];bd:{if(Z){break bd}h=C[k+16>>2];n=C[h+80>>2];if(n>>>0>=2){t=C[h+92>>2];b=n-1|0;p=0;while(1){c=t+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=t+I(p,20)|0;C[c+16>>2]=C[f+16>>2];o=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=o;o=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=o;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[h+74|0]){break bd}b=C[h+80>>2];b=b>>>0>>0?b:n;if(b>>>0<2){break bd}h=C[h+100>>2];b=b-1|0;p=0;while(1){c=h+I(b,20)|0;C[j+40>>2]=C[c+16>>2];f=C[c+12>>2];C[j+32>>2]=C[c+8>>2];C[j+36>>2]=f;f=C[c+4>>2];C[j+24>>2]=C[c>>2];C[j+28>>2]=f;f=h+I(p,20)|0;C[c+16>>2]=C[f+16>>2];n=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=n;n=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=n;C[f+16>>2]=C[j+40>>2];c=C[j+36>>2];C[f+8>>2]=C[j+32>>2];C[f+12>>2]=c;c=C[j+28>>2];C[f>>2]=C[j+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}_=i|_;b=C[k+8>>2];c=C[k+16>>2];C[j>>2]=C[k+72>>2];Hf(c,b,21392,j)}c=D[e+2|0]|D[e+3|0]<<8;b=C[k+72>>2]+1|0;C[k+72>>2]=b;e=((c<<8|c>>>8)&65535)+e|0;s=s+1|0;if((Y|0)!=(s|0)){continue}break}}Ce=j+48|0;break Hc}b=0;t=Ce-48|0;Ce=t;C[k+72>>2]=0;e=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);T=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(T){R=T-1|0;e=c+8|0;while(1){c=D[e+4|0];cd:{if(c&32){break cd}f=C[k+16>>2];i=C[f+52>>2];if(((i&-2)!=4|0)==(c<<24>>24>=0|0)){break cd}c=C[k+8>>2];C[t+16>>2]=b;if(!Hf(f,c,21374,t+16|0)){break cd}i=i&-3;b=1;dd:{if(g){break dd}b=0;if(!(D[e+4|0]&64)){break dd}f=C[k+16>>2];c=C[f+80>>2];b=1;if(!c){break dd}f=C[f+100>>2];p=0;if((c|0)!=1){g=c&-2;b=0;while(1){j=f+I(p,20)|0;A[j+18|0]=2;B[j+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;j=f+I(p|1,20)|0;A[j+18|0]=2;B[j+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;p=p+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}b=1;if(!(c&1)){break dd}b=f+I(p,20)|0;A[b+18|0]=2;B[b+16>>1]=(C[C[k+16>>2]+52>>2]&-3)==4?-1:1;b=1}g=b;Z=(i|0)!=5;ed:{if(Z){break ed}i=C[k+16>>2];j=C[i+80>>2];if(j>>>0>=2){h=C[i+92>>2];b=j-1|0;p=0;while(1){c=h+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=h+I(p,20)|0;C[c+16>>2]=C[f+16>>2];n=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=n;n=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=n;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[i+74|0]){break ed}b=C[i+80>>2];b=b>>>0>>0?b:j;if(b>>>0<2){break ed}i=C[i+100>>2];b=b-1|0;p=0;while(1){c=i+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=i+I(p,20)|0;C[c+16>>2]=C[f+16>>2];j=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=j;j=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=j;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}c=C[k+52>>2];b=C[c+12>>2];C[k+24>>2]=b;c=b+C[c+16>>2]|0;C[k+28>>2]=c;fd:{if(s>>>0>=R>>>0){break fd}f=b;b=s>>>0>>0?e:0;if(!(f>>>0<=b>>>0&b>>>0>>0)){C[k+24>>2]=0;C[k+28>>2]=0;break fd}C[k+24>>2]=b;f=c-b|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C[k+28>>2]=b+(c>>>0>f>>>0?f:c)}b=0;j=Ce+-64|0;Ce=j;gd:{hd:{id:{switch(D[e+5|0]){case 0:c=C[k+4>>2];if(!(A[c+140|0]&1)){break gd}b=D[e+4|0];C[j+12>>2]=e;C[j+16>>2]=k;A[j+4|0]=b>>>6&1;C[j>>2]=j+12;v=C[c+132>>2];b=0;w=Ce-160|0;Ce=w;u=C[k+8>>2];p=C[k+16>>2];f=sh(w+12|0,1,u,p);C[f+120>>2]=v;C[f+132>>2]=8;C[f+36>>2]=0;C[f+8>>2]=f;C[f+28>>2]=0;C[f+32>>2]=0;C[f+80>>2]=0;C[f+52>>2]=f;C[f+20>>2]=v;A[f+17|0]=D[f+142|0];C[f+12>>2]=8;C[f+72>>2]=0;C[f+76>>2]=0;C[f- -64>>2]=-1;A[f+61|0]=1;C[f+56>>2]=8;c=C[f+124>>2]==1;A[f+16|0]=c;A[f+60|0]=c|D[f+141|0]!=0;V=C[p+80>>2];if(V){y=f+4|0;o=C[p+100>>2];H=C[p+92>>2];W=(C[p+52>>2]&-2)!=4;while(1){i=b;jd:{kd:{x=I(b,20);n=x+H|0;if(!(v&C[n+4>>2])){break kd}C[f+40>>2]=1;C[f+4>>2]=i;b=C[C[f+8>>2]+100>>2];C[f+44>>2]=C[b+80>>2];A[f+24|0]=(i|0)==C[b+76>>2]?D[(x+C[b+92>>2]|0)+15|0]:0;if(!Og(y)){break kd}b=C[y>>2];r=I(b,20);c=C[C[j>>2]>>2];h=D[c+8|0]|D[c+9|0]<<8;ld:{if(h){N=c+16|0;l=C[r+H>>2];Y=C[n>>2];c=((h<<8|h>>>8)&65535)-1|0;n=0;while(1){md:{nd:{Q=c+n>>>1|0;h=N+I(Q,6)|0;z=D[h|0]|D[h+1|0]<<8;z=(z<<8|z>>>8)&65535;od:{if((z|0)==(Y|0)){z=D[h+2|0]|D[h+3|0]<<8;z=(z<<8|z>>>8)&65535;if(z>>>0>l>>>0){break od}if((l|0)==(z|0)){break ld}break nd}if(z>>>0<=Y>>>0){break nd}}c=Q-1|0;break md}n=Q+1|0}if((c|0)>=(n|0)){continue}break}}h=84608}c=D[h+4|0]|D[h+5|0]<<8;if(!c){break jd}c=c<<8|c>>>8;pd:{if(!W){c=c<<16>>16;c=mT(C[u+32>>2],C[u+36>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+4|0]){C[(o+r|0)+12>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break pd}h=o+x|0;n=c>>1;C[h>>2]=n+C[h>>2];h=o+r|0;c=c-n|0;C[h>>2]=c+C[h>>2];C[h+8>>2]=c+C[h+8>>2];break pd}c=c<<16>>16;c=mT(C[u+40>>2],C[u+44>>2],c,c>>31);l=Ee;c=c+32768|0;c=((c>>>0<32768?l+1|0:l)&65535)<<16|c>>>16;if(D[j+4|0]){C[(o+r|0)+8>>2]=c;C[p+36>>2]=C[p+36>>2]|8;break pd}h=o+x|0;n=c>>1;C[h+4>>2]=n+C[h+4>>2];h=o+r|0;c=c-n|0;C[h+4>>2]=c+C[h+4>>2];C[h+12>>2]=c+C[h+12>>2]}c=b+1|0;if(c-i>>>0<2){break jd}Sf(p,i,c);b=C[y>>2];break jd}b=i+1|0}if(b>>>0>>0){continue}break}}Ce=w+160|0;break hd;case 1:c=D[e+4|0];if(!(A[C[k+4>>2]+140|0]&1|c&64)){break gd}C[j+12>>2]=k;C[j+16>>2]=e;b=D[e+16|0]|D[e+17|0]<<8;A[j+60|0]=c>>>6&1;C[j+56>>2]=0;c=(b<<8|b>>>8)&65535;b=e+8|0;C[j+20>>2]=c+b;c=C[C[k+8>>2]+16>>2];C[j+4>>2]=C[k+16>>2];C[j>>2]=b;b=C[c+32>>2];if((b|0)==-1){b=Ng(c)}C[j+8>>2]=b;n=j+12|0;b=0;c=C[j+4>>2];C[c+76>>2]=0;qd:{if(!D[c+72|0]){break qd}while(1){f=b;h=C[c+76>>2];w=h>>>0>=F[c+80>>2];b=0;rd:{if(w){break rd}p=C[C[c+92>>2]+I(h,20)>>2];b=2;if((p|0)==65535){break rd}b=C[j>>2];i=D[b+2|0]|D[b+3|0]<<8;i=((i<<8|i>>>8)&65535)+b|0;b=D[i|0]|D[i+1|0]<<8;p=p-((b<<8|b>>>8)&65535)|0;o=D[i+2|0]|D[i+3|0]<<8;b=1;if(p>>>0>=((o<<8|o>>>8)&65535)>>>0){break rd}b=D[(i+p|0)+4|0]}i=b;b=C[j>>2];l=D[b|0]|D[b+1|0]<<8;p=(l<<8|l>>>8)&65535;r=i>>>0

>>0;o=D[b+4|0]|D[b+5|0]<<8;u=(o<<8|o>>>8)&65535;v=u+b|0;H=I(f,p);o=D[b+6|0]|D[b+7|0]<<8;y=b+((o<<8|o>>>8)&65535)|0;o=(D[v+(H+(r?i:1)|0)|0]<<2)+y|0;b=D[o|0]|D[o+1|0]<<8;b=(((b<<8|b>>>8)&65535)-u|0)/(p|0)|0;x=D[o+2|0]|D[o+3|0]<<8;sd:{td:{if(x&65343){break td}if(!(!f|!(x&64?b:1))){f=y+(D[v+(r?i:1)|0]<<2)|0;i=D[f+2|0]|D[f+3|0]<<8;if(i&65343){break td}f=D[f|0]|D[f+1|0]<<8;if((i^x)&64|((((f<<8|f>>>8)&65535)-u|0)/(p|0)|0)!=(b|0)){break td}}f=y+(D[v+(H+!l|0)|0]<<2)|0;if(!((D[f+2|0]|D[f+3|0]<<8)&65343)){break sd}}if(w){break sd}f=D[c+73|0]?C[c+84>>2]:h;if(!f){break sd}Zg(c,f-1|0,h+1|0)}f=C[j+4>>2];i=D[o+2|0]|D[o+3|0]<<8;ud:{if(!(i&128)){break ud}c=C[n+44>>2];if(c>>>0<=7){h=C[f+76>>2];C[n+44>>2]=c+1;C[(n+(c<<2)|0)+12>>2]=h;break ud}C[n+44>>2]=0}c=i&65343;vd:{if(!c){break vd}p=C[n+44>>2];if(!p){break vd}wd:{xd:{if(p>>>0>2147483646){break xd}i=C[n+4>>2]+((c<<8|c>>>8)&65535)|0;c=C[n+8>>2];i=((i-c|0)+8&-2)+c|0;c=C[n>>2];if(i>>>0>2]){break xd}h=C[c+28>>2];if(h>>>0>>0){break xd}l=h-i|0;h=p<<1;if(l>>>0>>0){break xd}h=C[c+32>>2]-h|0;C[c+32>>2]=h;if((h|0)>0){break wd}}C[n+44>>2]=0;break vd}r=C[C[c+4>>2]+132>>2];while(1){p=p-1|0;C[n+44>>2]=p;c=C[(n+(p<<2)|0)+12>>2];if(c>>>0>2]){h=D[i|0]|D[i+1|0]<<8;p=(h<<8|h>>>8)<<16>>16;h=p&-2;u=p&1;p=I(c,20);c=p+C[f+100>>2]|0;l=D[n+48|0];yd:{if((C[f+52>>2]&-2)==4){if(l){if((h|0)==-32768){B[c+16>>1]=0;A[c+18|0]=0;C[c+12>>2]=0;break yd}if(!D[c+18|0]){break yd}p=C[c+12>>2];l=C[C[n>>2]+8>>2];l=mT(C[l+40>>2],C[l+44>>2],h,h>>31);h=Ee;l=l+32768|0;C[c+12>>2]=(((l>>>0<32768?h+1|0:h)&65535)<<16|l>>>16)+p;C[f+36>>2]=C[f+36>>2]|8;break yd}if(!(r&C[(p+C[f+92>>2]|0)+4>>2])){break yd}p=C[C[n>>2]+8>>2];h=mT(C[p+32>>2],C[p+36>>2],h,h>>31);l=Ee;h=h+32768|0;h=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;C[c>>2]=h+C[c>>2];C[c+8>>2]=h+C[c+8>>2];break yd}if(l){if((h|0)==-32768){B[c+16>>1]=0;A[c+18|0]=0;C[c+8>>2]=0;break yd}if(!D[c+18|0]){break yd}p=C[c+8>>2];l=C[C[n>>2]+8>>2];l=mT(C[l+32>>2],C[l+36>>2],h,h>>31);h=Ee;l=l+32768|0;C[c+8>>2]=(((l>>>0<32768?h+1|0:h)&65535)<<16|l>>>16)+p;C[f+36>>2]=C[f+36>>2]|8;break yd}if(!(r&C[(p+C[f+92>>2]|0)+4>>2])){break yd}p=C[C[n>>2]+8>>2];h=mT(C[p+40>>2],C[p+44>>2],h,h>>31);l=Ee;h=h+32768|0;h=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;C[c+4>>2]=h+C[c+4>>2];C[c+12>>2]=h+C[c+12>>2]}if(u){break vd}p=C[n+44>>2]}i=i+2|0;if(p){continue}break}}f=C[j+4>>2];c=C[f+76>>2];if((c|0)==C[f+80>>2]|!D[f+72|0]){break qd}zd:{if(D[o+2|0]&64){i=C[f+44>>2];C[f+44>>2]=i-1;if((i|0)>0){break zd}}if(D[f+73|0]){Ad:{if(C[f+96>>2]==C[f+92>>2]){i=c;if(C[f+84>>2]==(c|0)){break Ad}}if(!$e(f,1,1)){break zd}i=C[f+92>>2]+I(C[f+76>>2],20)|0;h=C[i+4>>2];c=C[f+96>>2]+I(C[f+84>>2],20)|0;C[c>>2]=C[i>>2];C[c+4>>2]=h;C[c+16>>2]=C[i+16>>2];h=C[i+12>>2];C[c+8>>2]=C[i+8>>2];C[c+12>>2]=h;c=C[f+76>>2];i=C[f+84>>2]}C[f+84>>2]=i+1}C[f+76>>2]=c+1}c=C[j+4>>2];if(D[c+72|0]){continue}break}}break hd;case 2:c=C[k+4>>2];if(!(A[c+140|0]&1)){break gd}b=D[e+4|0];C[j+12>>2]=e;C[j+16>>2]=k;A[j+4|0]=b>>>6&1;C[j>>2]=j+12;y=C[c+132>>2];c=0;H=Ce-160|0;Ce=H;u=C[k+8>>2];o=C[k+16>>2];f=sh(H+12|0,1,u,o);C[f+120>>2]=y;C[f+132>>2]=8;C[f+36>>2]=0;C[f+8>>2]=f;C[f+28>>2]=0;C[f+32>>2]=0;C[f+80>>2]=0;C[f+52>>2]=f;C[f+20>>2]=y;A[f+17|0]=D[f+142|0];C[f+12>>2]=8;C[f+72>>2]=0;C[f+76>>2]=0;C[f- -64>>2]=-1;A[f+61|0]=1;C[f+56>>2]=8;b=C[f+124>>2]==1;A[f+16|0]=b;A[f+60|0]=b|D[f+141|0]!=0;i=C[o+80>>2];if(i){x=f+4|0;r=C[o+100>>2];Y=C[o+92>>2];V=(C[o+52>>2]&-2)!=4;while(1){Bd:{Cd:{w=I(c,20);Q=w+Y|0;if(!(y&C[Q+4>>2])){break Cd}C[f+40>>2]=1;C[f+4>>2]=c;b=C[C[f+8>>2]+100>>2];C[f+44>>2]=C[b+80>>2];A[f+24|0]=C[b+76>>2]==(c|0)?D[(w+C[b+92>>2]|0)+15|0]:0;if(!Og(x)){break Cd}b=C[j>>2];n=C[b>>2];W=C[x>>2];v=I(W,20);N=C[v+Y>>2];l=C[b+4>>2];h=0;p=0;M=C[Q>>2];b=D[n+10|0]|D[n+11|0]<<8;b=n+((b<<8|b>>>8)&65535)|0;Q=D[b|0]|D[b+1|0]<<8;Q=M-((Q<<8|Q>>>8)&65535)|0;z=D[b+2|0]|D[b+3|0]<<8;if(Q>>>0<((z<<8|z>>>8)&65535)>>>0){b=b+(Q<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;p=(b<<8|b>>>8)&65535}b=D[n+12|0]|D[n+13|0]<<8;b=n+((b<<8|b>>>8)&65535)|0;Q=D[b|0]|D[b+1|0]<<8;Q=N-((Q<<8|Q>>>8)&65535)|0;N=D[b+2|0]|D[b+3|0]<<8;if(Q>>>0<((N<<8|N>>>8)&65535)>>>0){b=b+(Q<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;h=(b<<8|b>>>8)&65535}b=0;M=(n+p|0)+h|0;h=D[n+14|0]|D[n+15|0]<<8;h=n+((h<<8|h>>>8)&65535)|0;h=(M-h&-2)+h|0;Dd:{if(h>>>0>2]){break Dd}n=C[l+28>>2];if(n>>>0>>0|n-h>>>0<2){break Dd}n=C[l+32>>2]-2|0;C[l+32>>2]=n;if((n|0)<=0){break Dd}b=D[h|0]|D[h+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}Ed:{if(!b){break Ed}Fd:{if(!V){b=b<<16>>16;b=mT(C[u+32>>2],C[u+36>>2],b,b>>31);h=Ee;b=b+32768|0;b=((b>>>0<32768?h+1|0:h)&65535)<<16|b>>>16;if(D[j+4|0]){C[(r+v|0)+12>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break Fd}h=r+w|0;n=b>>1;C[h>>2]=n+C[h>>2];h=r+v|0;b=b-n|0;C[h>>2]=b+C[h>>2];C[h+8>>2]=b+C[h+8>>2];break Fd}b=b<<16>>16;b=mT(C[u+40>>2],C[u+44>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[j+4|0]){C[(r+v|0)+8>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break Fd}h=r+w|0;n=b>>1;C[h+4>>2]=n+C[h+4>>2];h=r+v|0;b=b-n|0;C[h+4>>2]=b+C[h+4>>2];C[h+12>>2]=b+C[h+12>>2]}b=W+1|0;if(b-c>>>0<2){break Ed}Sf(o,c,b)}c=C[x>>2];break Bd}c=c+1|0}if(i>>>0>c>>>0){continue}break}}Ce=H+160|0;break hd;case 3:break id;default:break gd}}c=C[k+4>>2];if(!(A[c+140|0]&1)){break gd}b=D[e+4|0];C[j+12>>2]=e;A[j+16|0]=b>>>6&1;r=C[c+132>>2];b=0;y=Ce-160|0;Ce=y;p=C[k+8>>2];i=C[k+16>>2];c=sh(y+12|0,1,p,i);C[c+120>>2]=r;C[c+132>>2]=8;C[c+36>>2]=0;C[c+8>>2]=c;C[c+28>>2]=0;C[c+32>>2]=0;C[c+80>>2]=0;C[c+52>>2]=c;C[c+20>>2]=r;A[c+17|0]=D[c+142|0];C[c+12>>2]=8;C[c+72>>2]=0;C[c+76>>2]=0;C[c- -64>>2]=-1;A[c+61|0]=1;C[c+56>>2]=8;f=C[c+124>>2]==1;A[c+16|0]=f;A[c+60|0]=f|D[c+141|0]!=0;H=C[i+80>>2];if(H){u=c+4|0;n=C[i+100>>2];x=C[i+92>>2];Y=(C[i+52>>2]&-2)!=4;while(1){f=b;Gd:{Hd:{v=I(b,20);o=v+x|0;if(!(r&C[o+4>>2])){break Hd}C[c+40>>2]=1;C[c+4>>2]=f;b=C[C[c+8>>2]+100>>2];C[c+44>>2]=C[b+80>>2];A[c+24|0]=(f|0)==C[b+76>>2]?D[(v+C[b+92>>2]|0)+15|0]:0;if(!Og(u)){break Hd}b=C[u>>2];h=C[j+12>>2];w=h+14|0;Q=D[h+10|0];V=w+(Q<<1)|0;o=C[o>>2];z=V+o|0;M=o;o=D[h+8|0]|D[h+9|0]<<8;l=(o<<8|o>>>8)&65535;W=D[(M>>>0>=l>>>0?84608:z)|0];N=D[h+11|0];if(W>>>0>=N>>>0){break Gd}V=l+V|0;o=I(b,20);z=C[o+x>>2];z=D[(l>>>0<=z>>>0?84608:V+z|0)|0];h=D[h+12|0];if(z>>>0>=h>>>0){break Gd}M=l+V|0;l=z+I(h,W)|0;h=D[(l>>>0>=I(h,N)>>>0?84608:M+l|0)|0];h=h>>>0>=Q>>>0?84608:w+(h<<1)|0;h=D[h|0]|D[h+1|0]<<8;if(!h){break Gd}h=h<<8|h>>>8;Id:{if(!Y){h=h<<16>>16;h=mT(C[p+32>>2],C[p+36>>2],h,h>>31);l=Ee;h=h+32768|0;h=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;if(D[j+16|0]){C[(n+o|0)+12>>2]=h;C[i+36>>2]=C[i+36>>2]|8;break Id}l=n+v|0;M=l;v=C[l>>2];l=h>>1;C[M>>2]=v+l;o=n+o|0;h=h-l|0;C[o>>2]=h+C[o>>2];C[o+8>>2]=h+C[o+8>>2];break Id}h=h<<16>>16;l=mT(C[p+40>>2],C[p+44>>2],h,h>>31);h=Ee;l=l+32768|0;h=((l>>>0<32768?h+1|0:h)&65535)<<16|l>>>16;if(D[j+16|0]){C[(n+o|0)+8>>2]=h;C[i+36>>2]=C[i+36>>2]|8;break Id}l=n+v|0;M=l;v=C[l+4>>2];l=h>>1;C[M+4>>2]=v+l;o=n+o|0;h=h-l|0;C[o+4>>2]=h+C[o+4>>2];C[o+12>>2]=h+C[o+12>>2]}h=b+1|0;if(h-f>>>0<2){break Gd}Sf(i,f,h);b=C[u>>2];break Gd}b=f+1|0}if(b>>>0>>0){continue}break}}Ce=y+160|0}b=1}Ce=j- -64|0;i=b;b=C[k+52>>2];c=C[b+12>>2];C[k+24>>2]=c;C[k+28>>2]=c+C[b+16>>2];Jd:{if(Z){break Jd}j=C[k+16>>2];h=C[j+80>>2];if(h>>>0>=2){n=C[j+92>>2];b=h-1|0;p=0;while(1){c=n+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=n+I(p,20)|0;C[c+16>>2]=C[f+16>>2];o=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=o;o=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=o;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[j+74|0]){break Jd}b=C[j+80>>2];b=b>>>0>>0?b:h;if(b>>>0<2){break Jd}j=C[j+100>>2];b=b-1|0;p=0;while(1){c=j+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=j+I(p,20)|0;C[c+16>>2]=C[f+16>>2];h=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=h;h=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=h;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}_=i|_;b=C[k+8>>2];c=C[k+16>>2];C[t>>2]=C[k+72>>2];Hf(c,b,21392,t)}c=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);b=C[k+72>>2]+1|0;C[k+72>>2]=b;e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0;s=s+1|0;if((T|0)!=(s|0)){continue}break}}Ce=t+48|0}Hf(m,q,11912,0)}Ue(C[k+52>>2]);C[k+52>>2]=0;C[k+24>>2]=0;C[k+28>>2]=0;Ce=S+80|0;break Fc}if(!(b&2048)){break Fc}c=Ce-48|0;Ce=c;Kd:{Ld:{if((C[m+52>>2]&-2)==4){if(Xk(q,11)){break Ld}break Kd}if(!Xk(q,12)){break Kd}}b=C[m+52>>2];if((b&-3)==5){g=C[m+80>>2];if(g>>>0>=2){i=C[m+92>>2];e=g-1|0;while(1){f=i+I(e,20)|0;C[c+40>>2]=C[f+16>>2];b=C[f+12>>2];C[c+32>>2]=C[f+8>>2];C[c+36>>2]=b;b=C[f+4>>2];C[c+24>>2]=C[f>>2];C[c+28>>2]=b;b=i+I(p,20)|0;C[f+16>>2]=C[b+16>>2];j=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=j;j=C[b+4>>2];C[f>>2]=C[b>>2];C[f+4>>2]=j;C[b+16>>2]=C[c+40>>2];f=C[c+36>>2];C[b+8>>2]=C[c+32>>2];C[b+12>>2]=f;f=C[c+28>>2];C[b>>2]=C[c+24>>2];C[b+4>>2]=f;p=p+1|0;e=e-1|0;if(p>>>0>>0){continue}break}}Md:{if(!D[m+74|0]){break Md}b=C[m+80>>2];b=b>>>0>>0?b:g;if(b>>>0<2){break Md}g=C[m+100>>2];e=b-1|0;p=0;while(1){b=g+I(e,20)|0;C[c+40>>2]=C[b+16>>2];f=C[b+12>>2];C[c+32>>2]=C[b+8>>2];C[c+36>>2]=f;f=C[b+4>>2];C[c+24>>2]=C[b>>2];C[c+28>>2]=f;f=g+I(p,20)|0;C[b+16>>2]=C[f+16>>2];i=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=i;i=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=i;C[f+16>>2]=C[c+40>>2];b=C[c+36>>2];C[f+8>>2]=C[c+32>>2];C[f+12>>2]=b;b=C[c+28>>2];C[f>>2]=C[c+24>>2];C[f+4>>2]=b;p=p+1|0;e=e-1|0;if(p>>>0>>0){continue}break}}C[c+16>>2]=q;C[c+20>>2]=C[m+52>>2];e=0;A[c+12|0]=0;C[c+8>>2]=c+16;ys(c+8|0,q,m,C[P+132>>2]);g=C[m+80>>2];if(g>>>0>=2){i=C[m+92>>2];p=g-1|0;while(1){f=i+I(p,20)|0;C[c+40>>2]=C[f+16>>2];b=C[f+12>>2];C[c+32>>2]=C[f+8>>2];C[c+36>>2]=b;b=C[f+4>>2];C[c+24>>2]=C[f>>2];C[c+28>>2]=b;b=i+I(e,20)|0;C[f+16>>2]=C[b+16>>2];j=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=j;j=C[b+4>>2];C[f>>2]=C[b>>2];C[f+4>>2]=j;C[b+16>>2]=C[c+40>>2];f=C[c+36>>2];C[b+8>>2]=C[c+32>>2];C[b+12>>2]=f;f=C[c+28>>2];C[b>>2]=C[c+24>>2];C[b+4>>2]=f;p=p-1|0;e=e+1|0;if(p>>>0>e>>>0){continue}break}}if(!D[m+74|0]){break Kd}b=C[m+80>>2];b=b>>>0>>0?b:g;if(b>>>0<2){break Kd}g=C[m+100>>2];e=b-1|0;p=0;while(1){b=g+I(e,20)|0;C[c+40>>2]=C[b+16>>2];f=C[b+12>>2];C[c+32>>2]=C[b+8>>2];C[c+36>>2]=f;f=C[b+4>>2];C[c+24>>2]=C[b>>2];C[c+28>>2]=f;f=g+I(p,20)|0;C[b+16>>2]=C[f+16>>2];i=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=i;i=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=i;C[f+16>>2]=C[c+40>>2];b=C[c+36>>2];C[f+8>>2]=C[c+32>>2];C[f+12>>2]=b;b=C[c+28>>2];C[f>>2]=C[c+24>>2];C[f+4>>2]=b;p=p+1|0;e=e-1|0;if(p>>>0>>0){continue}break}break Kd}C[c+20>>2]=b;C[c+16>>2]=q;A[c+12|0]=0;C[c+8>>2]=c+16;ys(c+8|0,q,m,C[P+132>>2])}Ce=c+48|0}if(D[P+141|0]&64){k=Ce-80|0;Ce=k;b=fu(C[q+16>>2]+164|0);t=Fk(k+4|0,P,q,m,84608);g=t;U=G[C[g+8>>2]+56>>2];Nd:{if(U<=J(0)){break Nd}h=C[C[g+4>>2]+136>>2];j=C[g+16>>2];if((C[j+52>>2]&-2)==4){c=D[b+6|0]|D[b+7|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=84608}i=eu(c,b,U);U=J((i|0)/2|0);b=C[g+8>>2];f=C[b+20>>2];p=C[b+16>>2];c=C[p+28>>2];Od:{if(c){b=f;e=c;break Od}e=Lf(p);c=C[g+8>>2];b=C[c+20>>2];p=C[c+16>>2];c=C[p+28>>2]}U=J(O(J(J(J(U*J(f|0))/J(e>>>0))+J(.5))));Pd:{if(J(K(U))>>0))+J(.5))));Qd:{if(J(K(U))>2];if(!f){break Nd}g=f-1|0;c=0;while(1){Rd:{if((c|0)==(g|0)){c=f;break Rd}c=c+1|0;if(D[(C[j+92>>2]+I(c,20)|0)+16|0]&128){continue}}break}if(!f){break Nd}g=e;i=b;n=C[j+92>>2];e=0;while(1){b=I(e,20);if(h&C[(b+n|0)+4>>2]){b=b+C[j+100>>2]|0;C[b>>2]=i+C[b>>2];C[b+8>>2]=g+C[b+8>>2]}b=c+1|0;e=b>>>0>>0?f:b;b=c;while(1){Sd:{b=b+1|0;if(f>>>0<=b>>>0){b=e;break Sd}if(D[(n+I(b,20)|0)+16|0]&128){continue}}break}p=c>>>0>>0;e=c;c=b;if(p){continue}break}break Nd}c=D[b+8|0]|D[b+9|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=84608}i=eu(c,b,U);U=J((i|0)/2|0);b=C[g+8>>2];f=C[b+24>>2];p=C[b+16>>2];c=C[p+28>>2];Td:{if(c){b=f;e=c;break Td}e=Lf(p);c=C[g+8>>2];b=C[c+24>>2];p=C[c+16>>2];c=C[p+28>>2]}U=J(O(J(J(J(U*J(f|0))/J(e>>>0))+J(.5))));Ud:{if(J(K(U))>>0))+J(.5))));Vd:{if(J(K(U))>2];if(!c){break Nd}g=c-1|0;b=0;while(1){Wd:{if((b|0)==(g|0)){b=c;break Wd}b=b+1|0;if(D[(C[j+92>>2]+I(b,20)|0)+16|0]&128){continue}}break}if(!c){break Nd}g=e;n=C[j+92>>2];e=0;while(1){e=I(e,20);if(h&C[(e+n|0)+4>>2]){e=e+C[j+100>>2]|0;C[e+4>>2]=f+C[e+4>>2];C[e+12>>2]=g+C[e+12>>2]}e=b;i=b+1|0;i=c>>>0>i>>>0?c:i;while(1){Xd:{b=b+1|0;if(c>>>0<=b>>>0){b=i;break Xd}if(D[(n+I(b,20)|0)+16|0]&128){continue}}break}if(c>>>0>e>>>0){continue}break}}Ue(C[t+52>>2]);Ce=k+80|0}Yd:{if(!(D[a+200|0]&32)|C[C[a+80>>2]+48>>2]!=2){break Yd}c=C[m+80>>2];if(!c){break Yd}e=C[m+92>>2];if(d){k=0;while(1){b=I(k,20);if(D[(b+e|0)+12|0]&8){b=b+C[m+100>>2]|0;f=C[b+4>>2];C[b+4>>2]=0;g=C[b>>2];C[b>>2]=0;C[b+8>>2]=C[b+8>>2]-g;C[b+12>>2]=C[b+12>>2]-f}k=k+1|0;if((c|0)!=(k|0)){continue}break}break Yd}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){g=I(f,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}g=I(f|1,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break Yd}b=I(f,20);if(!(D[(b+e|0)+12|0]&8)){break Yd}b=b+C[m+100>>2]|0;C[b>>2]=0;C[b+4>>2]=0}Zd:{if(!(D[m+36|0]&2)|D[m+16|0]&12){break Zd}b=C[m+80>>2];if(!b){break Zd}c=C[m+92>>2];e=C[m+100>>2];f=0;if((b|0)!=1){i=b&-2;k=0;while(1){g=I(f,20);j=g+c|0;if(!(!(D[j+16|0]&32)|D[j+12|0]&16)){g=e+g|0;C[g>>2]=0;C[g+4>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0}g=I(f|1,20);j=g+c|0;if(!(!(D[j+16|0]&32)|D[j+12|0]&16)){g=e+g|0;C[g>>2]=0;C[g+4>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0}f=f+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}if(!(b&1)){break Zd}b=c+I(f,20)|0;if(!(D[b+16|0]&32)|D[b+12|0]&16){break Zd}b=e+I(f,20)|0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}if(D[a+201|0]&32){g=0;b=C[m+80>>2];_d:{if(!b){break _d}c=C[m+100>>2];e=C[m+92>>2];i=0;if((b|0)!=1){j=b&-2;while(1){f=I(i,20);if(C[f+e>>2]==65535){f=c+f|0;C[f>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0}f=I(i|1,20);if(C[f+e>>2]==65535){f=c+f|0;C[f>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0}i=i+2|0;g=g+2|0;if((j|0)!=(g|0)){continue}break}}if(!(b&1)){break _d}b=I(i,20);if(C[b+e>>2]!=65535){break _d}b=b+c|0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}}b=Ce-16|0;Ce=b;c=$r(m,b+12|0);$d:{if(!(D[m+36|0]&8)){break $d}g=C[b+12>>2];if(!g){break $d}e=C[m+52>>2];j=0;while(1){Et(c,g,j,e);g=C[b+12>>2];j=j+1|0;if(g>>>0>j>>>0){continue}break}}Ce=b+16|0;if(!(!Xk(q,9)|!$)){k=0;while(1){b=I(k,20);pj(q,C[b+ea>>2],L+8|0,L+28|0);b=b+fa|0;C[b+8>>2]=C[b+8>>2]-C[L+8>>2];C[b+12>>2]=C[b+12>>2]-C[L+28>>2];k=k+1|0;if(($|0)!=(k|0)){continue}break}}if(D[a+200|0]&128){e=0;f=1;b=C[m+80>>2];if(b>>>0>1){c=C[m+92>>2];while(1){if(!(1<>1]&7168)){zs(P,q,m,e,f,d);e=f}f=f+1|0;if((b|0)!=(f|0)){continue}break}}zs(P,q,m,e,b,d)}if((C[m+52>>2]&-3)==5){Vr(m)}ae:{if(!(D[m+36|0]&2)){break ae}d=C[m+16>>2];if(d&4){break ae}c=C[m+92>>2];b=C[m+80>>2];e=C[m+28>>2];C[L+8>>2]=e;be:{if(d&8){break be}if(!e){C[L+8>>2]=0;d=C[q+72>>2];if(!(Fe[C[d+156>>2]](q,C[q+76>>2],32,L+8|0,C[d+20>>2])|0)){break be}}if(!b){break ae}f=0;if((b|0)!=1){e=b&-2;g=0;while(1){d=c+I(f,20)|0;if(!(!(D[d+16|0]&32)|D[d+12|0]&16)){C[d>>2]=C[L+8>>2]}d=c+I(f|1,20)|0;if(!(!(D[d+16|0]&32)|D[d+12|0]&16)){C[d>>2]=C[L+8>>2]}f=f+2|0;g=g+2|0;if((e|0)!=(g|0)){continue}break}}if(!(b&1)){break ae}b=c+I(f,20)|0;if(!(D[b+16|0]&32)|D[b+12|0]&16){break ae}C[b>>2]=C[L+8>>2];break ae}Gt(m,238)}if(D[a+201|0]&32){Gt(m,150)}ce:{if(!C[C[a+80>>2]+20>>2]){break ce}if(!Hf(m,q,7423,0)){break ce}Fe[C[C[a+80>>2]+20>>2]](P,m,q);Hf(m,q,7448,0)}de:{if(!(D[m+36|0]&16)){break de}b=C[m+80>>2];if(!b){break de}d=C[m+92>>2];a=b-1|0;f=0;while(1){ee:{if((a|0)==(f|0)){f=b;break ee}c=I(f,20);f=f+1|0;c=c+d|0;if(C[c+8>>2]==C[c+28>>2]){continue}}break}g=0;while(1){i=g;a=f;fe:{if(f>>>0<=g>>>0){break fe}while(1){if(!(A[(d+I(i,20)|0)+4|0]&1)){i=i+1|0;if((a|0)!=(i|0)){continue}break fe}break}c=a+(g^-1)|0;f=0;e=a-g&3;if(e){while(1){i=d+I(g,20)|0;C[i+4>>2]=C[i+4>>2]|1;g=g+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(c>>>0<3){break fe}while(1){c=d+I(g,20)|0;C[c+4>>2]=C[c+4>>2]|1;C[c+24>>2]=C[c+24>>2]|1;C[c+44>>2]=C[c+44>>2]|1;c=c- -64|0;C[c>>2]=C[c>>2]|1;g=g+4|0;if((a|0)!=(g|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){ge:{if((e|0)==(f|0)){f=c;break ge}g=I(f,20);f=f+1|0;g=d+g|0;if(C[g+8>>2]==C[g+28>>2]){continue}}break}g=a;if(b>>>0>g>>>0){continue}break}}C[m+40>>2]=1073741823;C[m+44>>2]=536870911;C[m+52>>2]=ba;Ce=L+32|0;return 1}function us(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;a:{if(!b){break a}P=df(1,204);if(!P){break a}C[P>>2]=1;C[P+4>>2]=1;n=a?a:378096;if(C[n+4>>2]){C[n+4>>2]=0}C[P+12>>2]=n;o=P+16|0;if(vs(o,n,b,c,d)){i=Ce-144|0;Ce=i;v=P+60|0;O=We(v+24|0,0,88);C[i>>2]=n;a=C[o+4>>2];C[i+4>>2]=C[o>>2];C[i+8>>2]=a;a=C[o+12>>2];C[i+12>>2]=C[o+8>>2];C[i+16>>2]=a;C[i+20>>2]=C[o+16>>2];g=Ce-32|0;Ce=g;q=i+24|0;We(q+4|0,0,92);C[q>>2]=n;a=C[o+4>>2];C[q+4>>2]=C[o>>2];C[q+8>>2]=a;a=C[o+12>>2];C[q+12>>2]=C[o+8>>2];C[q+16>>2]=a;C[q+20>>2]=C[o+16>>2];C[g+28>>2]=3;C[g+24>>2]=3;G=C[q+8>>2];J=g+28|0;d=g+12|0;t=g+24|0;w=Ce-32|0;Ce=w;b=C[q+12>>2];b:{if(!b){u=1;if(!C[t>>2]|(!t|!g)){break b}C[t>>2]=0;break b}u=D[b+1|0];c:{if(D[b|0]==120){k=b;e=0;if((u&255)==45){break c}}a=b+1|0;k=0;d:{if(!(u&255)){break d}c=b;while(1){f=c;c=a;e:{if(D[f|0]!=45|D[f+2|0]!=45){break e}x=x?x:f;if((u&255)!=120){break e}k=c;break d}a=c+1|0;u=D[c+1|0];if(u){continue}break}}e=x?x:a}a=0;c=0;f:{if(!J|!d|(!k|!C[J>>2])){break f}m=lg(k,21492);if(!m){break f}g:{h:{f=D[m+5|0];if((f|0)!=45){if(((f&223)-91&255)>>>0<230&(f-58&255)>>>0<=245){break f}c=(f-65&255)>>>0<26?f+32|0:f;A[w+12|0]=c;f=D[m+6|0];if((f-48&255)>>>0>=10){u=1;if(((f&-33)-65&255)>>>0>25){break h}}x=(f-65&255)>>>0<26?f+32|0:f;A[w+13|0]=x;f=D[m+7|0];if((f-48&255)>>>0>=10){u=2;if(((f&-33)-65&255)>>>0>25){break h}}r=(f-65&255)>>>0<26?f+32|0:f;A[w+14|0]=r;f=D[m+8|0];if((f-48&255)>>>0>=10){u=3;if(((f&-33)-65&255)>>>0>25){break h}}f=(f-65&255)>>>0<26?f+32|0:f;break g}f=D[m+6|0];u=f-48|0;c=(u&255)>>>0<10;i:{j:{if(!(c|(f-97&255)>>>0<6)){c=0;u=f-65|0;if((u&255)>>>0<6){break j}break f}if(c){break i}u=f-65|0}u=((u&255)>>>0<26?f+32|0:f)-87|0}f=D[m+7|0];r=f-48|0;c=(r&255)>>>0<10;k:{l:{if(!(c|(f-97&255)>>>0<6)){c=0;r=f-65|0;if((r&255)>>>0<6){break l}break f}if(c){break k}r=f-65|0}r=((r&255)>>>0<26?f+32|0:f)-87|0}f=D[m+8|0];K=f-48|0;c=(K&255)>>>0<10;m:{n:{if(!(c|(f-97&255)>>>0<6)){c=0;K=f-65|0;if((K&255)>>>0<6){break n}break f}if(c){break m}K=f-65|0}K=((K&255)>>>0<26?f+32|0:f)-87|0}f=D[m+9|0];N=f-48|0;c=(N&255)>>>0<10;o:{p:{if(!(c|(f-97&255)>>>0<6)){c=0;N=f-65|0;if((N&255)>>>0<6){break p}break f}if(c){break o}N=f-65|0}N=((N&255)>>>0<26?f+32|0:f)-87|0}f=D[m+10|0];h=f-48|0;c=(h&255)>>>0<10;q:{r:{if(!(c|(f-97&255)>>>0<6)){c=0;h=f-65|0;if((h&255)>>>0<6){break r}break f}if(c){break q}h=f-65|0}h=((h&255)>>>0<26?f+32|0:f)-87|0}f=D[m+11|0];H=f-48|0;c=(H&255)>>>0<10;s:{t:{if(!(c|(f-97&255)>>>0<6)){c=0;H=f-65|0;if((H&255)>>>0<6){break t}break f}if(c){break s}H=f-65|0}H=((H&255)>>>0<26?f+32|0:f)-87|0}f=D[m+12|0];s=f-48|0;c=(s&255)>>>0<10;u:{v:{if(!(c|(f-97&255)>>>0<6)){c=0;s=f-65|0;if((s&255)>>>0<6){break v}break f}if(c){break u}s=f-65|0}s=((s&255)>>>0<26?f+32|0:f)-87|0}m=D[m+13|0];f=m-48|0;c=(f&255)>>>0<10;w:{x:{if(!(c|(m-97&255)>>>0<6)){c=0;x=m-65|0;if((x&255)>>>0<6){break x}break f}if(c){break w}x=m-65|0}f=((x&255)>>>0<26?m+32|0:m)-87|0}c=(u<<4)+r|0;x=(K<<4)+N|0;r=(h<<4)+H|0;f=(s<<4)+f|0;break g}We((w+12|0)+u|0,32,4-u|0);r=D[w+14|0];x=D[w+13|0];c=D[w+12|0];f=D[w+15|0]}c=f&255|(c<<24|(x&255)<<16|(r&255)<<8);C[d>>2]=(c&-538976289)==1145457748?c^538976288:c;c=1;C[J>>2]=1}y:{if(!g|!t|(!k|!C[t>>2])){break y}s=lg(k,3723);if(!s){break y}z:{A:{k=D[s+5|0];if((k|0)!=45){if(((k&223)-91&255)>>>0<230&(k-58&255)>>>0<=245){break y}a=(k-97&255)>>>0<26?k-32|0:k;A[w+12|0]=a;h=D[s+6|0];if((h-48&255)>>>0>=10){k=1;if(((h&-33)-65&255)>>>0>25){break A}}x=(h-97&255)>>>0<26?h-32|0:h;A[w+13|0]=x;h=D[s+7|0];if((h-48&255)>>>0>=10){k=2;if(((h&-33)-65&255)>>>0>25){break A}}u=(h-97&255)>>>0<26?h-32|0:h;A[w+14|0]=u;h=D[s+8|0];if((h-48&255)>>>0>=10){k=3;if(((h&-33)-65&255)>>>0>25){break A}}f=(h-97&255)>>>0<26?h-32|0:h;break z}h=D[s+6|0];k=h-48|0;a=(k&255)>>>0<10;B:{C:{if(!(a|(h-97&255)>>>0<6)){a=0;k=h-65|0;if((k&255)>>>0<6){break C}break y}if(a){break B}k=h-65|0}k=((k&255)>>>0<26?h+32|0:h)-87|0}h=D[s+7|0];u=h-48|0;a=(u&255)>>>0<10;D:{E:{if(!(a|(h-97&255)>>>0<6)){a=0;u=h-65|0;if((u&255)>>>0<6){break E}break y}if(a){break D}u=h-65|0}u=((u&255)>>>0<26?h+32|0:h)-87|0}h=D[s+8|0];r=h-48|0;a=(r&255)>>>0<10;F:{G:{if(!(a|(h-97&255)>>>0<6)){a=0;r=h-65|0;if((r&255)>>>0<6){break G}break y}if(a){break F}r=h-65|0}r=((r&255)>>>0<26?h+32|0:h)-87|0}h=D[s+9|0];K=h-48|0;a=(K&255)>>>0<10;H:{I:{if(!(a|(h-97&255)>>>0<6)){a=0;K=h-65|0;if((K&255)>>>0<6){break I}break y}if(a){break H}K=h-65|0}K=((K&255)>>>0<26?h+32|0:h)-87|0}h=D[s+10|0];N=h-48|0;a=(N&255)>>>0<10;J:{K:{if(!(a|(h-97&255)>>>0<6)){a=0;N=h-65|0;if((N&255)>>>0<6){break K}break y}if(a){break J}N=h-65|0}N=((N&255)>>>0<26?h+32|0:h)-87|0}m=D[s+11|0];h=m-48|0;a=(h&255)>>>0<10;L:{M:{if(!(a|(m-97&255)>>>0<6)){a=0;h=m-65|0;if((h&255)>>>0<6){break M}break y}if(a){break L}h=m-65|0}h=((h&255)>>>0<26?m+32|0:m)-87|0}m=D[s+12|0];H=m-48|0;a=(H&255)>>>0<10;N:{O:{if(!(a|(m-97&255)>>>0<6)){a=0;H=m-65|0;if((H&255)>>>0<6){break O}break y}if(a){break N}H=m-65|0}H=((H&255)>>>0<26?m+32|0:m)-87|0}m=D[s+13|0];s=m-48|0;a=(s&255)>>>0<10;P:{Q:{if(!(a|(m-97&255)>>>0<6)){a=0;x=m-65|0;if((x&255)>>>0<6){break Q}break y}if(a){break P}x=m-65|0}s=((x&255)>>>0<26?m+32|0:m)-87|0}a=(k<<4)+u|0;x=(r<<4)+K|0;u=(N<<4)+h|0;f=(H<<4)+s|0;break z}We((w+12|0)+k|0,32,4-k|0);u=D[w+14|0];x=D[w+13|0];a=D[w+12|0];f=D[w+15|0]}a=f&255|(a<<24|(x&255)<<16|(u&255)<<8);C[g>>2]=(a&-538976289)==1145457748?a^538976288:a;a=1;C[t>>2]=1}u=c^1;if(!g|!t|(!C[t>>2]|a)){break b}C[w+24>>2]=b;a=b;R:{S:{T:{while(1){c=lg(a,22154);if(!c|c>>>0>=e>>>0){break T}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1095782472;break S}a=b;U:{while(1){c=lg(a,11955);if(!c|c>>>0>=e>>>0){break U}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1346851360;break S}a=b;V:{while(1){c=lg(a,22163);if(!c|c>>>0>=e>>>0){break V}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1213809952;break S}a=b;W:{while(1){c=lg(a,21631);if(!c|c>>>0>=e>>>0){break W}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1347571488;break S}a=b;X:{while(1){c=lg(a,22146);if(!c|c>>>0>=e>>>0){break X}a=c+7|0;c=D[c+7|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1230000200;break S}a=b;Y:{while(1){c=lg(a,13799);if(!c|c>>>0>=e>>>0){break Y}a=c+5|0;c=D[c+5|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1262961952;break S}if(yf(b,e,16595)){C[g>>2]=1398362693;break S}if(yf(b,e,14522)){C[g>>2]=1398362698;break S}if(yf(b,e,11866)){C[g>>2]=1398362702;break S}Z:{_:{switch(A[b|0]-97|0){case 0:c=1;if(Se(b+1|0,12458)){break Z}C[g>>2]=1245859616;break R;case 2:c=1;a=b+1|0;if(sf(a,13956)){C[g>>2]=1514686496;break R}if(sf(a,11620)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13890)){C[g>>2]=1514686496;break R}if(sf(a,11554)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13978)){C[g>>2]=1514686496;break R}if(sf(a,11642)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13934)){C[g>>2]=1514686496;break R}if(sf(a,11598)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13901)){C[g>>2]=1514686496;break R}if(sf(a,11565)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13923)){C[g>>2]=1514686496;break R}if(sf(a,11587)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,14011)){C[g>>2]=1514686496;break R}if(sf(a,11675)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13945)){C[g>>2]=1514686496;break R}if(sf(a,11609)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6899)){C[g>>2]=1514689312;break R}if(sf(a,4184)){C[g>>2]=1514689568;break R}if(sf(a,6851)){C[g>>2]=1514689312;break R}if(sf(a,4136)){C[g>>2]=1514689568;break R}if(sf(a,6915)){C[g>>2]=1514689312;break R}if(sf(a,4200)){C[g>>2]=1514689568;break R}if(sf(a,6883)){C[g>>2]=1514689312;break R}if(sf(a,4168)){C[g>>2]=1514689568;break R}if(sf(a,6859)){C[g>>2]=1514689312;break R}if(sf(a,4144)){C[g>>2]=1514689568;break R}if(sf(a,6875)){C[g>>2]=1514689312;break R}if(sf(a,4160)){C[g>>2]=1514689568;break R}if(sf(a,6939)){C[g>>2]=1514689312;break R}if(sf(a,4224)){C[g>>2]=1514689568;break R}if(sf(a,6891)){C[g>>2]=1514689312;break R}if(sf(a,4176)){C[g>>2]=1514689568;break R}$:{if(cf(a,30311,3)){break $}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break $}C[g>>2]=1514689568;break R}aa:{if(cf(a,30283,3)){break aa}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break aa}C[g>>2]=1514689568;break R}ba:{if(cf(a,30319,3)){break ba}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ba}C[g>>2]=1514689568;break R}ca:{if(cf(a,30303,3)){break ca}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ca}C[g>>2]=1514689568;break R}da:{if(cf(a,30287,3)){break da}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break da}C[g>>2]=1514689568;break R}ea:{if(cf(a,30299,3)){break ea}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ea}C[g>>2]=1514689568;break R}fa:{if(cf(a,30331,3)){break fa}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break fa}C[g>>2]=1514689568;break R}if(cf(a,30307,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 6:c=1;a=b+1|0;if(sf(a,13989)){C[g>>2]=1514686496;break R}if(sf(a,11653)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6923)){C[g>>2]=1514689312;break R}if(sf(a,4208)){C[g>>2]=1514689568;break R}if(sf(a,15085)){C[g>>2]=1230132256;break R}if(cf(a,30323,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 7:c=1;a=b+1|0;if(sf(a,14e3)){C[g>>2]=1514686496;break R}if(sf(a,11664)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13967)){C[g>>2]=1514686496;break R}if(sf(a,11631)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6931)){C[g>>2]=1514689312;break R}if(sf(a,4216)){C[g>>2]=1514689568;break R}if(sf(a,6907)){C[g>>2]=1514689312;break R}if(sf(a,4192)){C[g>>2]=1514689568;break R}ga:{if(cf(a,30327,3)){break ga}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ga}C[g>>2]=1514689568;break R}if(cf(a,30315,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 8:c=1;a=b+1|0;if(!Se(a,11686)){C[g>>2]=1312904736;if(F[t>>2]<2){break R}C[g+4>>2]=1096042528;c=2;break R}if(!Se(a,14505)){C[g>>2]=1514689312;break R}if(Se(a,1603)){break Z}C[g>>2]=1280596512;break R;case 11:c=1;if(!sf(b+1|0,6939)){break Z}C[g>>2]=1514689312;break R;case 12:c=1;a=b+1|0;if(sf(a,13934)){C[g>>2]=1514686496;break R}if(sf(a,11598)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6883)){C[g>>2]=1514689312;break R}if(sf(a,4168)){C[g>>2]=1514689568;break R}ha:{if(cf(a,30303,3)){break ha}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ha}C[g>>2]=1514689568;break R}if(cf(a,30291,3)){break Z}if(!yf(b,e,14860)){break Z}C[g>>2]=1297043028;break R;case 13:c=1;a=b+1|0;if(sf(a,13989)){C[g>>2]=1514686496;break R}if(sf(a,11653)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6923)){C[g>>2]=1514689312;break R}if(sf(a,4208)){C[g>>2]=1514689568;break R}ia:{if(cf(a,30323,3)){break ia}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ia}C[g>>2]=1514689568;break R}if(!Se(a,13805)){C[g>>2]=1313821216;break R}if(Se(a,11811)){break Z}C[g>>2]=1314475552;if(F[t>>2]<2){break R}C[g+4>>2]=1313821216;c=2;break R;case 17:if(cf(b+1|0,30312,2)){break Z}if(!yf(b,e,19712)){break Z}C[g>>2]=1297042464;c=1;break R;case 22:c=1;a=b+1|0;if(sf(a,13912)){C[g>>2]=1514686496;break R}if(sf(a,11576)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6867)){C[g>>2]=1514689312;break R}if(sf(a,4152)){C[g>>2]=1514689568;break R}if(cf(a,30295,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 24:c=1;if(!sf(b+1|0,6947)){break Z}C[g>>2]=1514689312;break R;case 25:break _;default:break Z}}c=1;a=b+1|0;if(sf(a,14012)){C[g>>2]=1514686496;break R}if(sf(a,11676)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!Se(a,12439)){C[g>>2]=1514689312;break R}if(sf(a,6940)){C[g>>2]=1514689312;break R}if(sf(a,4225)){C[g>>2]=1514689568;break R}if(!Se(a,12345)){C[g>>2]=1514689312;break R}if(cf(a,30332,2)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R}f=bh(b,45);ja:{if(!f|(e-b|0)<6){break ja}b=f+1|0;a=bh(b,45);ka:{if(a){a=a+(f^-1)|0;break ka}a=af(b)}if((a|0)!=3|((D[b|0]&223)-65&255)>>>0>25){break ja}C[w+24>>2]=b}C[w+16>>2]=1402;C[w+20>>2]=0;C[w+12>>2]=73344;a=C[w+16>>2];la:{if((a|0)<=0){C[w+28>>2]=0;a=0;break la}a=a-1|0;e=C[w+12>>2];s=C[w+24>>2];b=bh(s,45);if(b){c=b-s|0;h=0;while(1){m=a+h>>>1|0;k=e+(m<<3)|0;b=bh(k,45);ma:{if(b){b=b-k|0;break ma}b=af(k)}b=cf(s,k,b>>>0>>0?c:b);na:{if((b|0)<0){a=m-1|0;break na}if(!b){C[w+28>>2]=m;a=1;break la}h=m+1|0}if((a|0)>=(h|0)){continue}break}C[w+28>>2]=h;a=0;break la}c=af(s);h=0;while(1){m=a+h>>>1|0;k=e+(m<<3)|0;b=bh(k,45);oa:{if(b){b=b-k|0;break oa}b=af(k)}b=cf(s,k,b>>>0>>0?c:b);pa:{if((b|0)>=0){if(!b){C[w+28>>2]=m;a=1;break la}h=m+1|0;break pa}a=m-1|0}if((a|0)>=(h|0)){continue}break}C[w+28>>2]=h;a=0}if(a){c=C[w+28>>2];while(1){b=c;if(b){c=b-1|0;if(!Se((b<<3)+73344|0,(c<<3)+73344|0)){continue}}break}if(!C[t>>2]){c=0;break R}c=0;a=1402-b|0;a=a>>>0<=1402?a:0;k=(b<<3)+73344|0;while(1){if((a|0)==(c|0)){c=a;break R}e=b+c<<3;f=C[e+73348>>2];if(!f){break R}if(Se(e+73344|0,k)){break R}C[g+(c<<2)>>2]=f;c=c+1|0;if(c>>>0>2]){continue}break}break R}e=C[w+24>>2];c=0;if(!f){f=af(e)+e|0}if((f-e|0)!=3){break R}a=0;c=Ce-16|0;Ce=c;if(!(!e|!D[e|0])){b=D[e|0];a=0;qa:{if(!b){break qa}A[c+12|0]=b;b=D[e+1|0];a=1;if(!b){break qa}A[c+13|0]=b;b=D[e+2|0];a=2;if(!b){break qa}A[c+14|0]=b;a=3}if(a>>>0<=3){We(a+(c+12|0)|0,32,4-a|0)}a=D[c+12|0]|D[c+13|0]<<8|(D[c+14|0]<<16|D[c+15|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Ce=c+16|0;C[g>>2]=a&-538976257}c=1}C[t>>2]=c}if(!(!d|!J|(!u|!C[J>>2]))){c=0;ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{if((G|0)<=1298954604){if((G|0)<=1198877297){h=1651402546;if((G|0)==1113943655){break ua}if((G|0)!=1147500129){break sa}h=1684370994;break ua}if((G|0)==1198877298){break za}if((G|0)==1198879349){break ya}if((G|0)!=1265525857){break sa}h=1802396722;break ua}if((G|0)<=1332902240){if((G|0)==1298954605){break xa}h=1836674354;if((G|0)==1299803506){break ta}break sa}if((G|0)==1332902241){break wa}if((G|0)==1415671148){break va}if((G|0)!=1415933045){break sa}h=1952803890;break ua}h=1735029298;break ua}h=1735750194;break ua}h=1835822386;break ua}h=1869773106;break ua}h=1953328178}C[d>>2]=h|51;c=1;if(F[J>>2]<2){break ra}}C[d+(c<<2)>>2]=h;c=c+1|0;if(c>>>0>=F[J>>2]){break ra}}b=d+(c<<2)|0;Aa:{Ba:{Ca:{Da:{if((G|0)<=1315663726){if(!G){break ra}if((G|0)!=1214870113){break Da}a=1801547361;break Aa}Ea:{if((G|0)!=1315663727){if((G|0)==1449224553){break Ea}if((G|0)!=1500080489){break Ca}a=2036932640;break Aa}a=1852534560;break Aa}a=1986095392;break Aa}if((G|0)==1281453935){break Ba}}a=G|536870912;break Aa}a=1818324768}C[b>>2]=a;c=c+1|0}C[J>>2]=c}Ce=w+32|0;U=q,V=(Rt(C[q>>2],1196643650,C[g+28>>2],d,q+36|0,q+24|0)|0)!=0,A[U+32|0]=V;Pt(C[q>>2],1196643650,C[q+36>>2],C[g+24>>2],g,q+44|0);U=q,V=(Rt(C[q>>2],1196445523,C[g+28>>2],d,q+40|0,q+28|0)|0)!=0,A[U+33|0]=V;Pt(C[q>>2],1196445523,C[q+40>>2],C[g+24>>2],g,q+48|0);Ce=g+32|0;C[i+132>>2]=0;C[i+124>>2]=0;C[i+128>>2]=0;C[i+120>>2]=n;a=i;b=ku(n+148|0);if(D[b|0]|D[b+1|0]<<8){c=1}else{b=ju(n+152|0);c=(D[b|0]|D[b+1|0]<<8)!=0}b=0;Fa:{if(!c){break Fa}b=1;if((C[o>>2]&-2)==4){break Fa}b=!It(n)}c=a;a=b;d=a|D[i+136|0]&-2;A[c+136|0]=d;Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{b=C[i+8>>2];if((b|0)<=1298231906){if((b|0)<=1198877297){if((b|0)<=1130918514){if((b|0)<=1114139506){if((b|0)<=1113681e3){if((b|0)==1097100397|(b|0)==1097363309){break Ha}if((b|0)==1098015074){break Qa}c=46560;break Ga}if((b|0)==1113681001|(b|0)==1113683051){break Ha}if((b|0)==1113943655){break Ma}c=46560;break Ga}if((b|0)<=1114990691){if((b|0)==1114139507|(b|0)==1114792296){break Ha}c=46560;if((b|0)==1114990441){break Ha}break Ga}if((b|0)==1114990692|(b|0)==1130457965){break Ha}c=46560;if((b|0)==1130914157){break Ha}break Ga}if((b|0)<=1164409199){if((b|0)<=1147756906){if((b|0)==1130918515|(b|0)==1131441518){break Ha}if((b|0)==1147500129){break Ma}c=46560;break Ga}if((b|0)==1147756907|(b|0)==1148151666){break Ha}c=46560;if((b|0)==1148547180){break Ha}break Ga}if((b|0)<=1198485094){if((b|0)==1164409200){break Ha}c=46560;if((b|0)==1164736877){break Ha}break Ga}c=46560;switch(b-1198485095|0){case 1:case 2:case 3:case 4:case 5:break Ga;case 0:case 6:break Ha;default:break Ia}}if((b|0)<=1265202290){if((b|0)<=1247901280){if((b|0)<=1214603889){c=46560;Ra:{switch(b-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break Ga;case 8:break Ha;case 0:break Oa;default:break Ra}}if((b|0)==1198877298|(b|0)==1198879349){break Ma}break Ga}c=46560;switch(b-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Ga;case 0:case 9:break Ha;default:break Na}}if((b|0)<=1265131889){if((b|0)==1247901281){break Ha}c=46560;if((b|0)==1264675945){break Ha}break Ga}if((b|0)==1265131890){break Ha}if((b|0)==1265134962){break La}c=46560;if((b|0)==1265135466){break Ha}break Ga}if((b|0)<=1281977697){if((b|0)<=1281453664){if((b|0)==1265202291){break Ha}if((b|0)==1265525857){break Ma}c=46560;if((b|0)==1265920105){break Ha}break Ga}if((b|0)==1281453665){break Ha}if((b|0)==1281453935){break Pa}c=46560;if((b|0)==1281716323){break Ha}break Ga}if((b|0)<=1298230883){if((b|0)==1281977698|(b|0)==1298229354){break Ha}c=46560;if((b|0)==1298230113){break Ha}break Ga}c=46560;switch(b-1298230884|0){case 0:case 5:break Ha;default:break Ga}}if((b|0)<=1399809891){if((b|0)<=1333094257){if((b|0)<=1299541107){if((b|0)<=1299145832){if((b|0)==1298231907|(b|0)==1298490470){break Ha}if((b|0)==1298954605){break Ma}c=46560;break Ga}if((b|0)==1299145833|(b|0)==1299148391){break Ha}c=46560;if((b|0)==1299473769){break Ha}break Ga}if((b|0)<=1315272544){if((b|0)==1299541108){break Ha}if((b|0)==1299803506){break Ka}c=46560;if((b|0)==1315008100){break Ha}break Ga}if((b|0)==1315272545|(b|0)==1315663727){break Ha}if((b|0)==1332902241){break Ma}c=46560;break Ga}if((b|0)<=1383032934){if((b|0)<=1349284451){if((b|0)==1333094258|(b|0)==1349017959){break Ha}c=46560;if((b|0)==1349020784){break Ha}break Ga}if((b|0)==1349284452){break Ha}if((b|0)==1365336423){break Ja}c=46560;if((b|0)==1382706791){break Ha}break Ga}if((b|0)<=1399415907){if((b|0)==1383032935|(b|0)==1398895986){break Ha}c=46560;if((b|0)==1399353956){break Ha}break Ga}c=46560;Sa:{switch(b-1399418468|0){case 1:case 2:case 3:break Ga;case 0:break Ha;case 4:break Ma;default:break Sa}}if((b|0)==1399415908){break Ha}break Ga}if((b|0)<=1415999078){if((b|0)<=1415669601){if((b|0)<=1400204899){c=46560;Ta:{switch(b-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break Ga;case 0:case 11:break Ha;default:break Ta}}if((b|0)==1399814511){break Ha}break Ga}if((b|0)==1400204900|(b|0)==1400466543){break Ha}if((b|0)==1400468067){break Qa}c=46560;break Ga}if((b|0)<=1415671147){if((b|0)==1415669602|(b|0)==1415670642){break Ha}c=46560;if((b|0)==1415670885){break Ha}break Ga}if((b|0)==1415671148){break Ma}if((b|0)==1415673460){break Ha}if((b|0)==1415933045){break Ma}c=46560;break Ga}if((b|0)<=1416524640){if((b|0)<=1416126824){if((b|0)==1415999079){break Ha}c=46560;if((b|0)==1416064103){break Ha}break Ga}if((b|0)==1416126825){break Pa}if((b|0)==1416192628){break Ha}c=46560;if((b|0)==1416196712){break Ha}break Ga}if((b|0)<=1466132590){if((b|0)==1416524641|(b|0)==1416590447){break Ha}c=46560;if((b|0)==1449751656){break Ha}break Ga}if((b|0)==1466132591|(b|0)==1499822697){break Ha}c=46560;if((b|0)==1516334690){break Ha}break Ga}if(!(C[i+48>>2]==1145457748&(b|0)!=1098015074)){c=46704;if((C[i+4>>2]&-2)==4){break Ga}}c=46560;break Ga}c=49892;break Ga}c=50580;break Ga}if((b|0)!=1214603890){break Ga}c=50636;break Ga}b=C[i+48>>2];if((b|0)==1145457748){c=46560;break Ga}c=46560;if((b|0)==1818326126){break Ga}c=(b&255)==51?50812:65920;break Ga}c=69464;break Ga}b=C[i+48>>2];if((b|0)==1145457748){c=46560;break Ga}if((b|0)==1818326126){c=46560;break Ga}c=46560;if((b|0)==1836674418){break Ga}c=70836;break Ga}c=70892;break Ga}if((b|0)!=1198678382){break Ga}}b=C[i+48>>2];c=(b|0)==1145457748?46560:(b|0)==1818326126?46560:50812}C[i+140>>2]=c;b=d&-3|(C[c+48>>2]!=0)<<1;A[i+136|0]=b;A[i+136|0]=b&251|D[c+52|0]<<2;if(a&(c|0)!=46560){C[i+140>>2]=46616}J=C[o+24>>2];k=C[o+20>>2];g=i+24|0;Xe(g,1920365166,1,1);Ef(g,0);Ua:{Va:{switch(C[i+4>>2]-4|0){case 0:Xe(g,1819570785,1,1);Xe(g,1819570797,1,1);break Ua;case 1:break Va;default:break Ua}}Xe(g,1920232545,1,1);Xe(g,1920232557,0,1)}Xe(g,1718772067,0,1);Xe(g,1853189490,0,1);Xe(g,1684959085,0,1);Xe(g,1918987876,33,255);Xe(g,1953653099,3,1);Xe(g,1214345830,1,1);Xe(g,1212240454,1,1);a=C[C[i+140>>2]>>2];if(a){Fe[a|0](i)}Xe(g,1114995322,1,1);Xe(g,1112889946,1,1);Xe(g,1633842797,1,1);Xe(g,1651275629,1,1);Xe(g,1667460464,1,1);Xe(g,1819239276,1,1);Xe(g,1835102827,13,1);Xe(g,1835756907,13,1);Xe(g,1919707495,1,1);Wa:{if((C[i+4>>2]&-2)==4){Xe(g,1667329140,1,1);Xe(g,1668049255,1,1);Xe(g,1668641395,1,1);Xe(g,1684632436,1,1);Xe(g,1801810542,3,1);Xe(g,1818847073,1,1);Xe(g,1919118452,1,1);break Wa}Xe(g,1986359924,17,1)}Xa:{if(!J){break Xa}d=0;while(1){f=k+(d<<4)|0;Xe(g,C[f>>2],C[f+8>>2]?0:C[f+12>>2]==-1,C[f+4>>2]);d=d+1|0;if((J|0)!=(d|0)){continue}break}if(!(A[i+136|0]&1)){break Xa}d=0;while(1){a=k+(d<<4)|0;f=C[a>>2];n=C[a+4>>2];e=0;a=$l(C[i+120>>2]+172|0);Ya:{if(!(D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))){break Ya}if((f|0)==1633774708){c=84608;b=$l(C[i+120>>2]+172|0);a=D[b+4|0]|D[b+5|0]<<8;Za:{if(!a){break Za}b=b+12|0;h=((a<<8|a>>>8)&65535)-1|0;while(1){_a:{f=e+h>>>1|0;a=b+I(f,12)|0;a=D[a|0]|D[a+1|0]<<8;$a:{if(((a<<8|a>>>8)&65535)>>>0>=18){h=f-1|0;break $a}if((a|0)==4352){break _a}e=f+1|0}if((e|0)<=(h|0)){continue}break Za}break}c=b+I(f,12)|0}if(!(D[c+2|0]|D[c+3|0]<<8)){break Ya}ab:{bb:{cb:{a=C[i+124>>2];if((a|0)>=0){e=C[i+128>>2];b=e+1|0;h=(b|0)>0?b:0;if(h>>>0<=a>>>0){break bb}while(1){a=((a>>>1|0)+a|0)+8|0;if(h>>>0>=a>>>0){continue}break}if(a>>>0<=268435454){b=lf(C[i+132>>2],a<<4);if(b){break cb}}C[i+124>>2]=-1}a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;h=C[i+128>>2];a=417712;break ab}C[i+124>>2]=a;C[i+132>>2]=b;e=C[i+128>>2]}if(e>>>0>>0){We(C[i+132>>2]+(e<<4)|0,0,h-e<<4)}C[i+128>>2]=h;a=(C[i+132>>2]+(h<<4)|0)-16|0}C[a+12>>2]=h;C[a+4>>2]=n;C[a>>2]=17;A[a+8|0]=1;break Ya}a=75;db:{eb:{while(1){c=a+e>>>1|0;b=C[(c<<4)+45296>>2];fb:{if(b>>>0>f>>>0){a=c-1|0;break fb}if(b>>>0>=f>>>0){break eb}e=c+1|0}if((a|0)>=(e|0)){continue}break}b=0;break db}b=(c<<4)+45296|0}if(!b){break Ya}f=$l(C[i+120>>2]+172|0);s=C[b+4>>2];c=84608;a=D[f+4|0]|D[f+5|0]<<8;gb:{if(!a){break gb}f=f+12|0;h=((a<<8|a>>>8)&65535)-1|0;e=0;while(1){hb:{m=e+h>>>1|0;a=f+I(m,12)|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;ib:{if((a|0)>(s|0)){h=m-1|0;break ib}if((a|0)==(s|0)){break hb}e=m+1|0}if((e|0)<=(h|0)){continue}break gb}break}c=f+I(m,12)|0}if(!(D[c+2|0]|D[c+3|0]<<8)){if((s|0)!=37|C[b+8>>2]!=1){break Ya}c=84608;f=$l(C[i+120>>2]+172|0);a=D[f+4|0]|D[f+5|0]<<8;jb:{if(!a){break jb}f=f+12|0;h=((a<<8|a>>>8)&65535)-1|0;e=0;while(1){kb:{m=e+h>>>1|0;a=f+I(m,12)|0;a=D[a|0]|D[a+1|0]<<8;lb:{if(((a<<8|a>>>8)&65535)>>>0>=4){h=m-1|0;break lb}if((a|0)==768){break kb}e=m+1|0}if((e|0)<=(h|0)){continue}break jb}break}c=f+I(m,12)|0}if(!(D[c+2|0]|D[c+3|0]<<8)){break Ya}}mb:{nb:{ob:{a=C[i+124>>2];if((a|0)>=0){e=C[i+128>>2];f=e+1|0;h=(f|0)>0?f:0;if(h>>>0<=a>>>0){break nb}while(1){a=((a>>>1|0)+a|0)+8|0;if(h>>>0>=a>>>0){continue}break}if(a>>>0<=268435454){f=lf(C[i+132>>2],a<<4);if(f){break ob}}C[i+124>>2]=-1}a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;h=C[i+128>>2];a=417712;break mb}C[i+124>>2]=a;C[i+132>>2]=f;e=C[i+128>>2]}if(e>>>0>>0){We(C[i+132>>2]+(e<<4)|0,0,h-e<<4)}C[i+128>>2]=h;a=(C[i+132>>2]+(h<<4)|0)-16|0}C[a>>2]=C[b+4>>2];b=C[b+(n?8:12)>>2];C[a+12>>2]=h;C[a+4>>2]=b;A[a+8|0]=((D[c+8|0]|D[c+9|0]<<8)&128)>>>7}d=d+1|0;if((J|0)!=(d|0)){continue}break}}a=C[C[i+140>>2]+4>>2];if(a){Fe[a|0](i)}e=0;a=C[i+8>>2];C[v>>2]=C[i+4>>2];C[v+4>>2]=a;C[v+16>>2]=C[i+20>>2];a=C[i+16>>2];C[v+8>>2]=C[i+12>>2];C[v+12>>2]=a;C[v+20>>2]=C[i+140>>2];t=o+28|0;y=Ce-160|0;Ce=y;z=v+24|0;C[z+12>>2]=-2147483648;C[y>>2]=0;C[y+4>>2]=0;j=i+24|0;C[z>>2]=C[j+24>>2];A[z+8|0]=D[j+32|0];Ot(C[j>>2],1196643650,C[j+36>>2],C[j+44>>2],y+20|0,y+12|0);C[z+4>>2]=C[j+28>>2];A[z+9|0]=D[j+33|0];Ot(C[j>>2],1196445523,C[j+40>>2],C[j+48>>2],y+24|0,y+16|0);a=C[j- -64>>2];pb:{if(!a){break pb}Jn(C[j+68>>2],a,28,176);a=C[j+64>>2];if(a>>>0>=2){l=1;while(1){f=a>>>0>l>>>0;qb:{if(!f){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break qb}b=C[j+68>>2]+I(l,28)|0}c=C[b>>2];d=a>>>0>e>>>0;rb:{if(!d){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break rb}b=C[j+68>>2]+I(e,28)|0}sb:{if((c|0)!=C[b>>2]){tb:{if(!f){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break tb}b=C[j+68>>2]+I(l,28)|0}e=e+1|0;ub:{if(e>>>0>=a>>>0){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break ub}a=C[j+68>>2]+I(e,28)|0}c=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=c;C[a+24>>2]=C[b+24>>2];c=C[b+20>>2];C[a+16>>2]=C[b+16>>2];C[a+20>>2]=c;c=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=c;break sb}vb:{if(!f){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break vb}b=C[j+68>>2]+I(l,28)|0}wb:{if(A[b+12|0]&1){xb:{if(!d){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break xb}a=C[j+68>>2]+I(e,28)|0}C[a+12>>2]=C[a+12>>2]|1;yb:{if(!f){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break yb}a=C[j+68>>2]+I(l,28)|0}b=C[a+8>>2];zb:{if(!d){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break zb}a=C[j+68>>2]+I(e,28)|0}C[a+8>>2]=b;Ab:{if(!f){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ab}a=C[j+68>>2]+I(l,28)|0}b=C[a+16>>2];if(!d){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;C[104432]=b;break wb}C[(C[j+68>>2]+I(e,28)|0)+16>>2]=b;break wb}Bb:{Cb:{Db:{Eb:{Fb:{if(a>>>0>e>>>0){a=I(e,28);if(!(A[(a+C[j+68>>2]|0)+12|0]&1)){break Eb}a=a+C[j+68>>2]|0;break Fb}a=C[21155];C[104430]=C[21154];C[104431]=a;C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;if(!(A[417724]&1)){break Db}}C[a+12>>2]=C[a+12>>2]^1}if(d){break Cb}}C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Bb}a=C[j+68>>2]+I(e,28)|0}Gb:{if(!f){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;c=417712;break Gb}c=C[j+68>>2]+I(l,28)|0}b=C[a+8>>2];a=C[c+8>>2];b=a>>>0>>0?b:a;Hb:{if(!d){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Hb}a=C[j+68>>2]+I(e,28)|0}C[a+8>>2]=b}Ib:{if(!f){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;b=417712;break Ib}b=C[j+68>>2]+I(l,28)|0}Jb:{if(!d){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Jb}a=C[j+68>>2]+I(e,28)|0;C[a+12>>2]=C[a+12>>2]|C[b+12>>2]&2}Kb:{if(!f){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;c=417712;break Kb}c=C[j+68>>2]+I(l,28)|0}b=C[a+20>>2];a=C[c+20>>2];b=a>>>0>b>>>0?b:a;Lb:{if(!d){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Lb}a=C[j+68>>2]+I(e,28)|0}C[a+20>>2]=b;b=C[j+64>>2];c=b>>>0>e>>>0;Mb:{if(!c){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Mb}a=C[j+68>>2]+I(e,28)|0}Nb:{if(b>>>0<=l>>>0){C[104434]=C[21158];b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;d=417712;break Nb}d=C[j+68>>2]+I(l,28)|0}b=C[a+24>>2];a=C[d+24>>2];b=a>>>0>b>>>0?b:a;Ob:{if(!c){C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ob}a=C[j+68>>2]+I(e,28)|0}C[a+24>>2]=b}a=C[j+64>>2];l=l+1|0;if(a>>>0>l>>>0){continue}break}}b=e+1|0;b=(b|0)>0?b:0;if(b>>>0>>0){C[j+64>>2]=b;a=b}if(!a){break pb}n=y+36|0;x=C[y+4>>2];b=C[y>>2];l=0;d=2;while(1){Pb:{if(a>>>0<=l>>>0){C[104434]=C[21158];c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;f=417712;break Pb}f=C[j+68>>2]+I(l,28)|0}e=C[f+8>>2];Qb:{Rb:{if(A[f+12|0]&1){c=0;if((e|0)==1){break Rb}}if(!e){break Qb}c=32-L(e)|0;c=c>>>0>=8?8:c}c=c+d|0;if(c>>>0>30){break Qb}a=C[f>>2];b=(a|0)==C[y+12>>2]?C[f+20>>2]:b;e=Nt(C[j>>2],1196643650,C[j+36>>2],C[j+44>>2],a,y+32|0);a=C[f>>2];x=(a|0)==C[y+16>>2]?C[f+24>>2]:x;k=0;Sb:{Tb:{if(Nt(C[j>>2],1196445523,C[j+40>>2],C[j+48>>2],a,n)|e){break Tb}e=C[f+12>>2];if(e&16){if(Qt(C[j>>2],1196643650,C[f>>2],y+32|0)|Qt(C[j>>2],1196445523,C[f>>2],n)){break Tb}e=C[f+12>>2]}k=1;if(!(e&2)){break Sb}}Ub:{Vb:{Wb:{r=C[z+16>>2];if((r|0)>=0){a=C[z+20>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=r>>>0){break Vb}while(1){r=((r>>>1|0)+r|0)+8|0;if(e>>>0>=r>>>0){continue}break}if(r>>>0<=119304646){a=lf(C[z+24>>2],I(r,36));if(a){break Wb}}C[z+16>>2]=-1}C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Ub}C[z+16>>2]=r;C[z+24>>2]=a;a=C[z+20>>2]}if(a>>>0>>0){We(C[z+24>>2]+I(a,36)|0,0,I(e-a|0,36))}C[z+20>>2]=e;a=(C[z+24>>2]+I(e,36)|0)-36|0}C[a>>2]=C[f>>2];C[a+4>>2]=C[y+32>>2];C[a+8>>2]=C[y+36>>2];C[a+12>>2]=C[f+20>>2];C[a+16>>2]=C[f+24>>2];e=(D[f+12|0]>>>1&2|D[a+32|0]&-3)^2;A[a+32|0]=e;e=(D[f+12|0]>>>1&4|e&-5)^4;A[a+32|0]=e;r=e&-9|D[f+12|0]>>>2&8;A[a+32|0]=r;Xb:{if(!(!(A[f+12|0]&1)|C[f+8>>2]!=1)){h=-2147483648;c=d;d=31;break Xb}h=(1<>2]=C[z+12>>2]|h&C[f+16>>2]<>2]=h;C[a+20>>2]=d;A[a+32|0]=r&254|k;C[a+28>>2]=1<>2]}l=l+1|0;if(l>>>0>>0){continue}break}C[y+4>>2]=x;C[y>>2]=b;if(!a){break pb}C[j+64>>2]=0}Yb:{Zb:{_b:{l=C[j+72>>2];if((l|0)>=0){e=C[j+76>>2];a=e+1|0;b=(a|0)>0?a:0;if(b>>>0<=l>>>0){break Zb}while(1){l=((l>>>1|0)+l|0)+8|0;if(b>>>0>=l>>>0){continue}break}if(l>>>0<=536870910){a=lf(C[j+80>>2],l<<3);if(a){break _b}}C[j+72>>2]=-1}a=C[21153];C[104428]=C[21152];C[104429]=a;b=417712;break Yb}C[j+72>>2]=l;C[j+80>>2]=a;e=C[j+76>>2]}if(b>>>0>e>>>0){We(C[j+80>>2]+(e<<3)|0,0,b-e<<3)}C[j+76>>2]=b;b=(C[j+80>>2]+(b<<3)|0)-8|0}a=C[j+52>>2];C[b+4>>2]=0;C[b>>2]=a;C[j+52>>2]=C[j+52>>2]+1;$b:{ac:{bc:{l=C[j+84>>2];if((l|0)>=0){e=C[j+88>>2];a=e+1|0;b=(a|0)>0?a:0;if(b>>>0<=l>>>0){break ac}while(1){l=((l>>>1|0)+l|0)+8|0;if(b>>>0>=l>>>0){continue}break}if(l>>>0<=536870910){a=lf(C[j+92>>2],l<<3);if(a){break bc}}C[j+84>>2]=-1}a=C[21153];f=a;n=C[21152];C[104428]=n;C[104429]=a;b=417712;break $b}C[j+84>>2]=l;C[j+92>>2]=a;e=C[j+88>>2]}if(b>>>0>e>>>0){We(C[j+92>>2]+(e<<3)|0,0,b-e<<3)}C[j+88>>2]=b;n=C[21152];f=C[21153];b=(C[j+92>>2]+(b<<3)|0)-8|0}a=C[j+56>>2];C[b+4>>2]=0;C[b>>2]=a;C[j+56>>2]=C[j+56>>2]+1;d=(f&65535)<<16|n>>>16;k=1;h=0;while(1){Q=h<<2;u=Q+j|0;if(C[u+52>>2]){S=Q+46552|0;T=t+Q|0;a=I(h,12);p=a+z|0;R=a+j|0;w=y+Q|0;r=Q+(y+20|0)|0;K=0;b=0;N=0;while(1){H=C[r>>2];cc:{if((H|0)==65535|C[w>>2]!=(K|0)){break cc}J=C[T>>2];x=0;s=C[S>>2];m=Lt(C[j>>2],s);while(1){C[y+28>>2]=32;Mt(C[j>>2],s,H,J,x,y+28|0,y+32|0);h=0;e=C[y+28>>2];if(!e){break cc}while(1){o=(y+32|0)+(h<<2)|0;if(m>>>0>F[o>>2]){dc:{ec:{fc:{c=C[p+28>>2];if((c|0)>=0){a=C[p+32>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break ec}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=536870910){a=lf(C[p+36>>2],c<<3);if(a){break fc}}C[p+28>>2]=-1}C[104428]=n;C[104429]=f;e=417712;a=d;break dc}C[p+36>>2]=a;C[p+28>>2]=c;a=C[p+32>>2]}if(a>>>0>>0){We(C[p+36>>2]+(a<<3)|0,0,e-a<<3)}C[p+32>>2]=e;e=(C[p+36>>2]+(e<<3)|0)-8|0;a=D[e+2|0]}C[e+4>>2]=-2147483648;c=C[o>>2];A[e+2|0]=a&248|3;B[e>>1]=c;e=C[y+28>>2]}h=h+1|0;if(h>>>0>>0){continue}break}x=e+x|0;if((e|0)==32){continue}break}}l=0;h=C[z+20>>2];if(h){while(1){gc:{if(h>>>0<=l>>>0){C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break gc}a=C[z+24>>2]+I(l,36)|0}hc:{if(C[(a+Q|0)+12>>2]!=(K|0)){break hc}h=C[z+20>>2];ic:{if(h>>>0<=l>>>0){C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;h=C[z+20>>2];a=417712;break ic}a=C[z+24>>2]+I(l,36)|0}q=C[(a+Q|0)+4>>2];G=C[T>>2];jc:{if(h>>>0<=l>>>0){C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;h=C[z+20>>2];a=417712;break jc}a=C[z+24>>2]+I(l,36)|0}H=C[a+24>>2];kc:{if(h>>>0<=l>>>0){C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;h=C[z+20>>2];a=417712;break kc}a=C[z+24>>2]+I(l,36)|0}e=D[a+32|0];lc:{if(h>>>0<=l>>>0){C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;h=C[z+20>>2];a=417712;break lc}a=C[z+24>>2]+I(l,36)|0}c=D[a+32|0];mc:{if(h>>>0<=l>>>0){C[104436]=C[21160];a=C[21159];C[104434]=C[21158];C[104435]=a;a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break mc}a=C[z+24>>2]+I(l,36)|0}J=D[a+32|0]>>>1&4|(c>>>1&2|e>>>1&1);x=0;s=C[S>>2];m=Lt(C[j>>2],s);while(1){C[y+28>>2]=32;Mt(C[j>>2],s,q,G,x,y+28|0,y+32|0);h=0;e=C[y+28>>2];if(!e){break hc}while(1){o=(y+32|0)+(h<<2)|0;if(F[o>>2]>>0){nc:{oc:{pc:{c=C[p+28>>2];if((c|0)>=0){a=C[p+32>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break oc}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=536870910){a=lf(C[p+36>>2],c<<3);if(a){break pc}}C[p+28>>2]=-1}C[104428]=n;C[104429]=f;e=417712;a=d;break nc}C[p+36>>2]=a;C[p+28>>2]=c;a=C[p+32>>2]}if(a>>>0>>0){We(C[p+36>>2]+(a<<3)|0,0,e-a<<3)}C[p+32>>2]=e;e=(C[p+36>>2]+(e<<3)|0)-8|0;a=D[e+2|0]}C[e+4>>2]=H;c=C[o>>2];A[e+2|0]=J|a&248;B[e>>1]=c;e=C[y+28>>2]}h=h+1|0;if(h>>>0>>0){continue}break}x=e+x|0;if((e|0)==32){continue}break}}l=l+1|0;h=C[z+20>>2];if(l>>>0>>0){continue}break}}a=C[p+32>>2];qc:{if(a>>>0<=b>>>0){b=a;break qc}Jn(C[p+36>>2]+(b<<3)|0,a-b|0,8,177);e=C[p+32>>2];h=b+1|0;if(e>>>0>h>>>0){while(1){rc:{if(e>>>0<=h>>>0){C[104428]=n;C[104429]=f;e=C[p+32>>2];a=n;break rc}a=E[C[p+36>>2]+(h<<3)>>1]}sc:{if(b>>>0>=e>>>0){C[104428]=n;C[104429]=f;c=n;break sc}c=E[C[p+36>>2]+(b<<3)>>1]}e=C[p+32>>2];tc:{if((a&65535)!=(c&65535)){uc:{if(e>>>0<=h>>>0){C[104428]=n;C[104429]=f;e=C[p+32>>2];a=417712;break uc}a=C[p+36>>2]+(h<<3)|0}b=b+1|0;vc:{if(e>>>0<=b>>>0){C[104428]=n;C[104429]=f;e=417712;break vc}e=C[p+36>>2]+(b<<3)|0}c=C[a+4>>2];C[e>>2]=C[a>>2];C[e+4>>2]=c;break tc}wc:{if(e>>>0<=h>>>0){C[104428]=n;C[104429]=f;e=C[p+32>>2];c=f;break wc}c=C[(C[p+36>>2]+(h<<3)|0)+4>>2]}xc:{if(b>>>0>=e>>>0){C[104428]=n;C[104429]=f;e=C[p+32>>2];a=417712;o=f;break xc}a=C[p+36>>2]+(b<<3)|0;o=C[a+4>>2]}C[a+4>>2]=c|o;yc:{if(e>>>0<=h>>>0){C[104428]=n;C[104429]=f;e=C[p+32>>2];a=d;break yc}a=D[(C[p+36>>2]+(h<<3)|0)+2|0]}zc:{if(b>>>0>=e>>>0){C[104428]=n;C[104429]=f;e=417712;c=d;break zc}e=C[p+36>>2]+(b<<3)|0;c=D[e+2|0]}A[e+2|0]=c&(a|254);e=C[p+32>>2];Ac:{if(h>>>0>=e>>>0){C[104428]=n;C[104429]=f;e=C[p+32>>2];a=d;break Ac}a=D[(C[p+36>>2]+(h<<3)|0)+2|0]}Bc:{if(b>>>0>=e>>>0){C[104428]=n;C[104429]=f;e=417712;c=d;break Bc}e=C[p+36>>2]+(b<<3)|0;c=D[e+2|0]}A[e+2|0]=c&(a|253)}e=C[p+32>>2];h=h+1|0;if(e>>>0>h>>>0){continue}break}h=b+1|0}b=e;a=(h|0)>0?h:0;if(b>>>0<=a>>>0){break qc}C[p+32>>2]=a;b=a}Cc:{if(F[R+76>>2]<=N>>>0){break Cc}e=N<<3;if(C[e+C[R+80>>2]>>2]!=(K|0)){break Cc}Dc:{Ec:{Fc:{a=C[p+52>>2];if((a|0)>=0){l=C[p+56>>2];c=l+1|0;o=(c|0)>0?c:0;if(o>>>0<=a>>>0){break Ec}while(1){a=((a>>>1|0)+a|0)+8|0;if(o>>>0>=a>>>0){continue}break}if(a>>>0<=536870910){c=lf(C[p+60>>2],a<<3);if(c){break Fc}}C[p+52>>2]=-1}C[104428]=n;C[104429]=f;a=417712;break Dc}C[p+60>>2]=c;C[p+52>>2]=a;l=C[p+56>>2]}if(l>>>0>>0){We(C[p+60>>2]+(l<<3)|0,0,o-l<<3)}C[p+56>>2]=o;a=(C[p+60>>2]+(o<<3)|0)-8|0}C[a>>2]=b;c=a;Gc:{if(F[R+76>>2]<=N>>>0){C[104428]=n;C[104429]=f;a=f;break Gc}a=C[(e+C[R+80>>2]|0)+4>>2]}C[c+4>>2]=a;N=N+1|0}K=K+1|0;if(K>>>0>2]){continue}break}}h=1;a=k;k=0;if(a){continue}break}Ce=y+160|0;if(A[i+136|0]&1){b=v+100|0;d=0;a=C[i+128>>2];Hc:{if(!a){break Hc}As(C[i+132>>2],a,16);e=C[i+128>>2];if(e>>>0>=2){c=1;while(1){Ic:{if(c>>>0>=e>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;e=C[i+128>>2];a=417712;break Ic}a=C[i+132>>2]+(c<<4)|0}f=C[a>>2];Jc:{if(d>>>0>=e>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Jc}a=C[i+132>>2]+(d<<4)|0}Kc:{if((f|0)==C[a>>2]){Lc:{if(F[i+128>>2]<=c>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Lc}a=C[i+132>>2]+(c<<4)|0}if(D[a+8|0]){break Kc}e=C[i+128>>2];Mc:{if(e>>>0<=c>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;e=C[i+128>>2];a=417712;break Mc}a=C[i+132>>2]+(c<<4)|0}f=C[a+4>>2];Nc:{if(d>>>0>=e>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Nc}a=C[i+132>>2]+(d<<4)|0}if((f^C[a+4>>2])>>>0<2){break Kc}}e=C[i+128>>2];Oc:{if(e>>>0<=c>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;e=C[i+128>>2];a=417712;break Oc}a=C[i+132>>2]+(c<<4)|0}d=d+1|0;Pc:{if(e>>>0<=d>>>0){f=C[21155];C[104430]=C[21154];C[104431]=f;f=C[21153];C[104428]=C[21152];C[104429]=f;e=417712;break Pc}e=C[i+132>>2]+(d<<4)|0}f=C[a+4>>2];C[e>>2]=C[a>>2];C[e+4>>2]=f;f=C[a+12>>2];C[e+8>>2]=C[a+8>>2];C[e+12>>2]=f}c=c+1|0;e=C[i+128>>2];if(c>>>0>>0){continue}break}}a=d+1|0;a=(a|0)>0?a:0;if(a>>>0>=e>>>0){break Hc}C[i+128>>2]=a}f=b;u=0;b=ku(C[i+120>>2]+148|0);Qc:{if(D[b|0]|D[b+1|0]<<8){a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);J=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(J){b=b+8|0;G=C[21152];while(1){k=0;c=b;a=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);s=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);Rc:{if(!s){break Rc}a=C[i+128>>2];if((a|0)<=0){break Rc}m=C[i+132>>2];if(!m){break Rc}o=c+16|0;a=a-1|0;while(1){q=(k|0)<0?84608:o+I(k,12)|0;b=D[q+2|0]|D[q+3|0]<<8;r=(b<<8|b>>>8)&65535;b=D[q|0]|D[q+1|0]<<8;l=(b<<8|b>>>8)&65535;while(1){h=0;b=a;Sc:{while(1){Tc:{Uc:{Vc:{H=b+h>>>1|0;n=m+(H<<4)|0;e=C[n>>2];Wc:{if((e|0)!=(l|0)){if((e|0)<=(l|0)){break Wc}break Uc}e=C[n+4>>2];if((e|0)==(r|0)){break Vc}if((e|0)>(r|0)){break Uc}}h=H+1|0;break Tc}b=D[q+8|0]|D[q+9|0]<<8|(D[q+10|0]<<16|D[q+11|0]<<24);d=D[q+7|0]|((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))&d|(D[q+5|0]<<16|D[q+4|0]<<24)|D[q+6|0]<<8);break Sc}b=H-1|0}if((b|0)>=(h|0)){continue}break}if((l|0)!=3){break Sc}l=37;b=(r|0)==3;r=1;if(b){continue}}break}k=k+1|0;if((s|0)!=(k|0)){continue}break}}Xc:{Yc:{Zc:{b=C[f>>2];if((b|0)>=0){a=C[f+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break Yc}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=1073741822){a=lf(C[f+8>>2],b<<2);if(a){break Zc}}C[f>>2]=-1}C[104428]=G;break Xc}C[f>>2]=b;C[f+8>>2]=a;a=C[f+4>>2]}if(a>>>0>>0){We(C[f+8>>2]+(a<<2)|0,0,e-a<<2)}C[f+4>>2]=e;a=C[f+8>>2];C[104428]=G;a=(a+(e<<2)|0)-4|0;if((a|0)==417712){break Xc}C[a>>2]=d}a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);b=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;u=u+1|0;if((J|0)!=(u|0)){continue}break}}break Qc}b=ju(C[i+120>>2]+152|0);if(D[b|0]|D[b+1|0]<<8){a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);J=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(J){b=b+8|0;G=C[21152];while(1){l=0;c=b;a=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=D[b+8|0]|D[b+9|0]<<8;_c:{if(!b){break _c}a=C[i+128>>2];if((a|0)<=0){break _c}s=C[i+132>>2];if(!s){break _c}m=c+12|0;a=a-1|0;b=(b<<8|b>>>8)&65535;o=b>>>0<=1?1:b;while(1){q=m+I(l,12)|0;b=D[q+2|0]|D[q+3|0]<<8;k=(b<<8|b>>>8)&65535;b=D[q|0]|D[q+1|0]<<8;r=(b<<8|b>>>8)&65535;while(1){h=0;b=a;$c:{while(1){ad:{bd:{cd:{H=b+h>>>1|0;n=s+(H<<4)|0;e=C[n>>2];dd:{if((e|0)!=(r|0)){if((e|0)<=(r|0)){break dd}break bd}e=C[n+4>>2];if((e|0)==(k|0)){break cd}if((e|0)>(k|0)){break bd}}h=H+1|0;break ad}b=D[q+8|0]|D[q+9|0]<<8|(D[q+10|0]<<16|D[q+11|0]<<24);d=D[q+7|0]|((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))&d|(D[q+5|0]<<16|D[q+4|0]<<24)|D[q+6|0]<<8);break $c}b=H-1|0}if((b|0)>=(h|0)){continue}break}if((r|0)!=3){break $c}r=37;b=(k|0)==3;k=1;if(b){continue}}break}l=l+1|0;if((o|0)!=(l|0)){continue}break}}ed:{fd:{gd:{b=C[f>>2];if((b|0)>=0){a=C[f+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break fd}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=1073741822){a=lf(C[f+8>>2],b<<2);if(a){break gd}}C[f>>2]=-1}C[104428]=G;break ed}C[f>>2]=b;C[f+8>>2]=a;a=C[f+4>>2]}if(a>>>0>>0){We(C[f+8>>2]+(a<<2)|0,0,e-a<<2)}C[f+4>>2]=e;a=C[f+8>>2];C[104428]=G;a=(a+(e<<2)|0)-4|0;if((a|0)==417712){break ed}C[a>>2]=d}a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);b=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;u=u+1|0;if((J|0)!=(u|0)){continue}break}}}}}o=C[v+48>>2];hd:{id:{jd:{a=v;kd:{ld:{md:{k=C[a+44>>2];if((k|0)>0){d=k-1|0;c=d;nd:{od:{while(1){f=c+M>>>1|0;b=C[o+I(f,36)>>2];pd:{if(b>>>0>=1718772068){c=f-1|0;break pd}if((b|0)==1718772067){break od}M=f+1|0}if((c|0)>=(M|0)){continue}break}f=0;break nd}f=C[(o+I(f,36)|0)+28>>2]}C[v+116>>2]=f;M=0;c=d;while(1){e=c+M>>>1|0;b=C[o+I(e,36)>>2];qd:{if(b>>>0>=1853189491){c=e-1|0;break qd}if((b|0)==1853189490){break md}M=e+1|0}if((c|0)>=(M|0)){continue}break}b=0;break ld}C[v+124>>2]=0;C[v+116>>2]=0;C[v+120>>2]=0;r=E[v+140>>1]&-5;B[v+140>>1]=r;e=v+140|0;break kd}b=C[(o+I(e,36)|0)+28>>2]}C[a+120>>2]=b;c=0;rd:{sd:{while(1){e=c+d>>>1|0;a=C[o+I(e,36)>>2];td:{if(a>>>0>=1684959086){d=e-1|0;break td}if((a|0)==1684959085){break sd}c=e+1|0}if((c|0)<=(d|0)){continue}break}a=0;break rd}a=C[(o+I(e,36)|0)+28>>2]}C[v+124>>2]=a;ud:{vd:{if(f){e=v+140|0;M=E[v+140>>1];break vd}e=v+140|0;M=E[v+140>>1];c=0;if(!((b|0)!=0&(a|0)!=0)){break ud}}c=4}r=c|M&-5;B[e>>1]=r;d=0;if((k|0)>0){break jd}}C[v+128>>2]=0;break id}c=k-1|0;M=c;wd:{xd:{while(1){b=d+M>>>1|0;a=C[o+I(b,36)>>2];yd:{if(a>>>0>=1920232558){M=b-1|0;break yd}if((a|0)==1920232557){break xd}d=b+1|0}if((d|0)<=(M|0)){continue}break}a=0;break wd}a=C[(o+I(b,36)|0)+28>>2]}C[v+128>>2]=a;d=0;while(1){zd:{b=c+d>>>1|0;a=C[o+I(b,36)>>2];Ad:{if(a>>>0>=1986359925){c=b-1|0;break Ad}if((a|0)==1986359924){break zd}d=b+1|0}if((c|0)>=(d|0)){continue}break id}break}a=8;if(C[(o+I(b,36)|0)+28>>2]){break hd}}a=0}d=a|r&-9;B[e>>1]=d;n=(C[i+4>>2]&-2)==4?1801810542:1986753134;c=0;Bd:{Cd:{Dd:{Ed:{if((k|0)<=0){C[v+132>>2]=0;d=d&65534;break Ed}M=k-1|0;a=M;Fd:{Gd:{while(1){f=a+c>>>1|0;b=C[o+I(f,36)>>2];Hd:{if(b>>>0>n>>>0){a=f-1|0;break Hd}if(b>>>0>=n>>>0){break Gd}c=f+1|0}if((a|0)>=(c|0)){continue}break}a=0;break Fd}a=C[(o+I(f,36)|0)+24>>2]}C[v+132>>2]=a;c=0;d=d&-2|(a|0)!=0;B[v+140>>1]=d;while(1){b=c+M>>>1|0;a=C[o+I(b,36)>>2];Id:{if(a>>>0>=1953653100){M=b-1|0;break Id}if((a|0)==1953653099){break Dd}c=b+1|0}if((c|0)<=(M|0)){continue}break}}C[v+136>>2]=0;break Cd}a=C[(o+I(b,36)|0)+24>>2];C[v+136>>2]=a;b=2;if(a){break Bd}}b=0}B[e>>1]=b|d&65533;c=1;Jd:{if((k|0)<=0){break Jd}c=k-1|0;M=0;Kd:{while(1){b=c+M>>>1|0;a=C[o+I(b,36)>>2];Ld:{if(a>>>0>n>>>0){c=b-1|0;break Ld}if(a>>>0>=n>>>0){break Kd}M=b+1|0}if((c|0)>=(M|0)){continue}break}c=1;break Jd}c=C[(o+I(b,36)|0)+8>>2]==65535}o=C[C[v+20>>2]+40>>2];k=(o|0)!=C[v+28>>2];d=C[i>>2];b=C[d+132>>2];Md:{if(b){break Md}while(1){a=C[d+48>>2];if(!a){b=84608;break Md}b=df(1,4);if(!b){b=84608;C[d+132>>2]=84608;break Md}_l(b,a);if(!C[d+132>>2]){C[d+132>>2]=b;break Md}Ue(C[b>>2]);Re(b);b=C[d+132>>2];if(!b){continue}break}}a=C[b>>2];a=a?a:84608;b=E[v+140>>1];a=F[a+16>>2]<12?84608:C[a+12>>2];if(!(D[a+4|0]|D[a+5|0]<<8)){b=b|64;B[e>>1]=b}a=1;B[e>>1]=b&57343|(A[i+136|0]&1)<<13;f=Ce-48|0;Ce=f;h=C[i>>2]+156|0;d=C[h>>2];Nd:{if(d){break Nd}n=h-108|0;while(1){d=C[n>>2];if(!d){d=84608;break Nd}C[f+8>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;A[f+24|0]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+28>>2]=0;C[f+32>>2]=0;b=Qf(d);A[f+40|0]=1;C[f+36>>2]=b;b=gu(f,Of(d,1801810552));if(!b){b=84608}d=C[h>>2];if(!d){C[h>>2]=b;d=b;break Nd}if(!b){break Nd}if((b|0)!=84608){Ue(b)}d=C[h>>2];if(!d){continue}break}}Ce=f+48|0;b=F[d+16>>2]<8?84608:C[d+12>>2];d=(D[b|0]|D[b+1|0]<<8)!=0;if(!(A[i+136|0]&1)){a=!It(C[i>>2])}Od:{Pd:{Qd:{Rd:{Sd:{if(!(k&(o|0)!=0)){b=a;a=C[uh(C[i>>2]+140|0)>>2];a=a?a:84608;a=F[a+16>>2]<10?84608:C[a+12>>2];a=(D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))!=0;if(b|!a?d:0){break Sd}if(a){break Rd}break Pd}if(!d){break Pd}}b=E[e>>1]|4096;break Qd}b=E[e>>1]|512}B[e>>1]=b;break Od}b=E[e>>1]}Td:{if(b&4096|(c|!(b&512))!=1){break Td}if(d){b=b|4096;break Td}a=Zn(C[i>>2]+128|0);b=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=E[e>>1];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)?a|1024:a}a=b&-2049|(b&4608?0:(b^-1)<<1&2048);B[e>>1]=a;c=0;Ud:{if(!(D[i+136|0]&2)|b&4096){break Ud}c=32;if(!(b&1024)){break Ud}b=0;Vd:{Wd:{Xd:{c=Zn(C[i>>2]+128|0);a=D[c|0]|D[c+1|0]<<8;switch((a<<8|a>>>8)&65535){case 1:break Wd;case 0:break Xd;default:break Vd}}a=D[c+2|0]|D[c+3|0]<<8;if(!a){break Vd}b=1;if(D[c+8|0]==1){break Vd}f=(a<<8|a>>>8)&65535;d=f>>>0<=1?1:f;c=c+4|0;b=0;while(1){b=b+1|0;if((d|0)!=(b|0)){a=D[c+2|0]|D[c+3|0]<<8;c=((a<<8|a>>>8)&65535)+c|0;if(D[c+4|0]!=1){continue}}break}b=b>>>0>>0;break Vd}a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break Vd}b=1;if(D[c+13|0]==1){break Vd}b=c+8|0;c=0;while(1){c=c+1|0;if((a|0)!=(c|0)){d=b;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(D[b+5|0]!=1){continue}}break}b=a>>>0>c>>>0}a=E[e>>1];c=b?0:32}f=c|a&-33;B[v+140>>1]=f;b=C[v+44>>2];Yd:{Zd:{if((b|0)<=0){break Zd}n=C[v+48>>2];b=b-1|0;d=0;while(1){_d:{k=b+d>>>1|0;c=C[n+I(k,36)>>2];$d:{if(c>>>0>=1835102828){b=k-1|0;break $d}if((c|0)==1835102827){break _d}d=k+1|0}if((b|0)>=(d|0)){continue}break Zd}break}b=16;if(C[(n+I(k,36)|0)+28>>2]){break Yd}}b=0}b=b|f&-17;B[e>>1]=b;c=0;d=0;ae:{if(a&4608){break ae}d=256;if(!(a&1024)){break ae}d=0;be:{ce:{de:{b=Zn(C[i>>2]+128|0);a=D[b|0]|D[b+1|0]<<8;switch((a<<8|a>>>8)&65535){case 1:break ce;case 0:break de;default:break be}}a=D[b+2|0]|D[b+3|0]<<8;if(!a){break be}d=1;if(D[b+9|0]&4){break be}n=(a<<8|a>>>8)&65535;f=n>>>0<=1?1:n;b=b+4|0;d=0;while(1){d=d+1|0;if((f|0)!=(d|0)){a=D[b+2|0]|D[b+3|0]<<8;b=((a<<8|a>>>8)&65535)+b|0;if(!(D[b+5|0]&4)){continue}}break}d=d>>>0>>0;break be}a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break be}d=1;if(D[b+12|0]&64){break be}d=b+8|0;b=0;while(1){b=b+1|0;if((a|0)!=(b|0)){f=d;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=f+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;if(!(D[d+4|0]&64)){continue}}break}d=a>>>0>b>>>0}b=E[e>>1];d=d?0:256}a=d|b&-257;B[e>>1]=a;a=a&-129|(d?D[i+136|0]<<5&128:0);b=b&8192?a&-257:a;B[e>>1]=b;if(b&2){a=fu(C[i>>2]+164|0);c=((D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))!=0)<<14;b=E[e>>1]}B[e>>1]=b&49151|c;d=1;a=C[C[v+20>>2]+8>>2];ee:{if(!a){break ee}a=Fe[a|0](v)|0;C[v+112>>2]=a;if(a){break ee}Re(C[O+24>>2]);C[O+24>>2]=0;C[O+16>>2]=0;C[O+20>>2]=0;Re(C[O+36>>2]);C[O+36>>2]=0;C[O+28>>2]=0;C[O+32>>2]=0;Re(C[O+60>>2]);C[O+60>>2]=0;C[O+52>>2]=0;C[O+56>>2]=0;Re(C[O+48>>2]);C[O+48>>2]=0;C[O+40>>2]=0;C[O+44>>2]=0;Re(C[O+72>>2]);C[O+72>>2]=0;a=O- -64|0;C[a>>2]=0;C[a+4>>2]=0;Re(C[v+108>>2]);d=0;C[v+108>>2]=0;C[v+100>>2]=0;C[v+104>>2]=0}Re(C[i+132>>2]);C[i+132>>2]=0;C[i+124>>2]=0;C[i+128>>2]=0;Re(C[g+68>>2]);C[g+68>>2]=0;C[g+60>>2]=0;C[g+64>>2]=0;Re(C[g+80>>2]);C[g+80>>2]=0;C[g+72>>2]=0;C[g+76>>2]=0;Re(C[g+92>>2]);C[g+92>>2]=0;C[g+84>>2]=0;C[g+88>>2]=0;Re(C[g+80>>2]);C[g+80>>2]=0;C[g+72>>2]=0;C[g+76>>2]=0;Re(C[g+68>>2]);C[g+68>>2]=0;C[g+60>>2]=0;C[g+64>>2]=0;Ce=i+144|0;if(d){return P}Re(C[P+36>>2])}Re(P)}return 84608}function _S(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,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,F=0,L=0,M=0,N=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=J(0),X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=J(0),Ha=J(0),Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0;f=Ce-112|0;Ce=f;a:{b:{d=C[a+548>>2];q=C[d>>2];if(q){break b}q=C[d+4>>2];C[d>>2]=q;if(q){break b}q=jl(C[a+204>>2]);if(q){C[d>>2]=q;C[d+4>>2]=q;break b}q=C[d>>2];if(q){break b}a=-1;break a}if(b){_=1;while(1){c:{d:{switch(C[b>>2]-1|0){case 0:X=b+8|0;_=1;break c;case 1:la=C[b+4>>2]?b+8|0:0;_=1;break c;case 3:l=D[b+8|0];h=D[b+11|0];d=D[b+10|0];a=D[b+9|0];rh(q,0);Gj(q,Dh(C[q+4>>2],l,a,d,h));_=1;break c;case 4:a=C[b+4>>2];k=C[b+16>>2];ia=C[b+8>>2];o=D[b+12|0];Y=D[b+15|0];p=D[b+14|0];h=D[b+13|0];e:{if(!_){break e}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);rh(q,d);break e}rh(q,X)}e=a+c|0;j=C[X>>2];f:{g:{if(!j){d=C[X+4>>2];if(!d){break f}if((ia|0)>0){break g}break f}if((ia|0)<=0){break f}d=C[X+4>>2]}ka=0;if((ia|0)!=1){l=ia&-2;g=0;while(1){a=ka<<3;r=a+e|0;C[r>>2]=j+C[r>>2];C[r+4>>2]=C[r+4>>2]+d;a=e+(a|8)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d;ka=ka+2|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(ia&1)){break f}a=e+(ka<<3)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d}if(!k){r=Dh(C[q+4>>2],o,h,p,Y);g=0;o=Ce-16|0;Ce=o;h:{if(!q){C[o>>2]=3415;Qe(19745,o);break h}if(D[C[q+4>>2]+8|0]<=7){Qe(5313,0);break h}if((ia|0)>0){p=C[q+40>>2];l=p+C[q+48>>2]|0;h=C[q+36>>2];d=h+C[q+44>>2]|0;while(1){a=e+(g<<3)|0;j=C[a>>2];i:{if((j|0)<(h|0)|(d|0)<=(j|0)){break i}a=C[a+4>>2];if((a|0)<(p|0)|(a|0)>=(l|0)){break i}j:{switch(D[C[q+4>>2]+9|0]-1|0){case 0:A[j+(C[q+20>>2]+I(a,C[q+16>>2])|0)|0]=r;break i;case 1:B[(C[q+20>>2]+I(a,C[q+16>>2])|0)+(j<<1)>>1]=r;break i;case 2:_e(4);break h;case 3:break j;default:break i}}C[(C[q+20>>2]+I(a,C[q+16>>2])|0)+(j<<2)>>2]=r}g=g+1|0;if((ia|0)!=(g|0)){continue}break}}}Ce=o+16|0;_=0;break c}m=Ce-16|0;Ce=m;k:{if(!q){C[m>>2]=3437;Qe(19745,m);break k}d=C[q+4>>2];a=D[d+8|0];if(a>>>0<=7){Qe(5358,0);break k}if(k-1>>>0<=1){p=(I(p,Y)>>>0)/255|0;o=(I(o,Y)>>>0)/255|0;h=(I(h,Y)>>>0)/255|0}l:{m:{n:{switch(a-15|0){case 0:w=617;if(C[d+12>>2]!=31744){break m}break l;case 17:if(C[d+12>>2]!=16711680){break m}w=C[d+24>>2]?618:619;break l;case 1:break n;default:break m}}w=620;if(C[d+12>>2]==63488){break l}}w=C[d+24>>2]?621:622}if((ia|0)<=0){break k}n=C[q+40>>2];j=n+C[q+48>>2]|0;r=C[q+36>>2];g=r+C[q+44>>2]|0;l=p&255;h=h&255;d=o&255;p=0;while(1){a=e+(p<<3)|0;o=C[a>>2];o:{if((o|0)<(r|0)|(g|0)<=(o|0)){break o}a=C[a+4>>2];if((a|0)<(n|0)|(a|0)>=(j|0)){break o}Fe[w|0](q,o,a,k,d,h,l,Y)|0}p=p+1|0;if((ia|0)!=(p|0)){continue}break}}Ce=m+16|0;_=0;break c;case 5:a=C[b+4>>2];n=C[b+16>>2];k=C[b+8>>2];Q=D[b+12|0];m=D[b+15|0];p=D[b+14|0];l=D[b+13|0];p:{if(!_){break p}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);rh(q,d);break p}rh(q,X)}h=a+c|0;j=C[X>>2];q:{r:{if(!j){d=C[X+4>>2];if(!d){break q}if((k|0)>0){break r}break q}if((k|0)<=0){break q}d=C[X+4>>2]}ka=0;if((k|0)!=1){o=k&-2;g=0;while(1){a=ka<<3;r=a+h|0;C[r>>2]=j+C[r>>2];C[r+4>>2]=C[r+4>>2]+d;a=h+(a|8)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d;ka=ka+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}if(!(k&1)){break q}a=h+(ka<<3)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d}if(!n){a=h;r=Dh(C[q+4>>2],Q,l,p,m);j=Ce-32|0;Ce=j;s:{if(!q){C[j>>2]=3507;Qe(19745,j);break s}Q=623;t:{u:{v:{w:{d=C[q+4>>2];switch(D[d+9|0]-1|0){case 1:break t;case 0:break v;case 3:break w;default:break u}}Q=624;break t}Q=625;if(D[d+8|0]>=8){break t}}Qe(5497,0);break s}if((k|0)>=2){h=q+36|0;x=1;while(1){o=a+(x<<3)|0;d=o-8|0;C[j+28>>2]=C[d>>2];C[j+24>>2]=C[d+4>>2];C[j+20>>2]=C[o>>2];C[j+16>>2]=C[o+4>>2];if(_q(h,j+28|0,j+24|0,j+20|0,j+16|0)){d=C[j+28>>2];l=C[j+20>>2];x:{if((d|0)==(l|0)){g=C[j+24>>2];p=1;if((g|0)==C[j+16>>2]){break x}}g=C[j+16>>2];p=1;if((l|0)!=C[o>>2]){break x}p=C[o+4>>2]!=(g|0)}Fe[Q|0](q,d,C[j+24>>2],l,g,r,p)}x=x+1|0;if((k|0)!=(x|0)){continue}break}}d=a+(k-1<<3)|0;g=C[d>>2];y:{if((g|0)!=C[a>>2]){x=C[d+4>>2];break y}x=C[d+4>>2];if((x|0)==C[a+4>>2]){break s}}l=Ce-16|0;Ce=l;z:{if(!q){C[l>>2]=3352;Qe(19745,l);break z}h=C[q+4>>2];if(D[h+8|0]<=7){Qe(5224,0);break z}d=C[q+36>>2];if((d|0)>(g|0)){break z}a=C[q+40>>2];if((a|0)>(x|0)|(g|0)>=(d+C[q+44>>2]|0)|(a+C[q+48>>2]|0)<=(x|0)){break z}A:{switch(D[h+9|0]-1|0){case 0:A[g+(C[q+20>>2]+I(C[q+16>>2],x)|0)|0]=r;break z;case 1:B[(C[q+20>>2]+I(C[q+16>>2],x)|0)+(g<<1)>>1]=r;break z;case 2:_e(4);break z;case 3:break A;default:break z}}C[(C[q+20>>2]+I(C[q+16>>2],x)|0)+(g<<2)>>2]=r}Ce=l+16|0}Ce=j+32|0;_=0;break c}j=Ce-16|0;Ce=j;B:{if(!q){Qe(19367,0);break B}C:{D:{E:{F:{g=C[q+4>>2];switch(D[g+9|0]-2|0){case 2:break E;case 0:break F;default:break C}}a=C[g+12>>2];a=(a|0)==31744?626:(a|0)==63488?627:628;break D}d=C[g+24>>2];a=d?629:630;if(C[g+12>>2]==16711680){break D}a=d?631:632}if((k|0)>=2){g=q+36|0;w=1;while(1){r=h+(w<<3)|0;d=r-8|0;C[j+12>>2]=C[d>>2];C[j+8>>2]=C[d+4>>2];C[j+4>>2]=C[r>>2];C[j>>2]=C[r+4>>2];if(_q(g,j+12|0,j+8|0,j+4|0,j)){F=1;o=C[j>>2];d=C[j+4>>2];F=(d|0)==C[r>>2]?(o|0)!=C[r+4>>2]:F;Fe[a|0](q,C[j+12>>2],C[j+8>>2],d,o,n,Q,l,p,m,F)}w=w+1|0;if((k|0)!=(w|0)){continue}break}}a=h+(k-1<<3)|0;r=C[a>>2];G:{if((r|0)!=C[h>>2]){w=C[a+4>>2];break G}w=C[a+4>>2];if((w|0)==C[h+4>>2]){break B}}g=Ce-16|0;Ce=g;H:{if(!q){C[g>>2]=3373;Qe(19745,g);break H}o=C[q+4>>2];h=D[o+8|0];if(h>>>0<=7){Qe(5268,0);break H}d=C[q+36>>2];if((d|0)>(r|0)){break H}a=C[q+40>>2];if((a|0)>(w|0)|(r|0)>=(d+C[q+44>>2]|0)|(a+C[q+48>>2]|0)<=(w|0)){break H}if(n-1>>>0<=1){p=(I(m,p)>>>0)/255|0;Q=(I(m,Q)>>>0)/255|0;l=(I(m,l)>>>0)/255|0}I:{J:{switch(h-15|0){case 0:if(C[o+12>>2]!=31744){break I}Hq(q,r,w,n,Q&255,l&255,p&255,m);break H;case 1:if(C[o+12>>2]!=63488){break I}Gq(q,r,w,n,Q&255,l&255,p&255,m);break H;case 17:break J;default:break I}}if(C[o+12>>2]!=16711680){break I}if(!C[o+24>>2]){Fq(q,r,w,n,Q&255,l&255,p&255,m);break H}Eq(q,r,w,n,Q&255,l&255,p&255,m);break H}if(!C[o+24>>2]){Dq(q,r,w,n,Q&255,l&255,p&255,m);break H}Cq(q,r,w,n,Q&255,l&255,p&255,m)}Ce=g+16|0;break B}Qe(5541,0)}Ce=j+16|0;_=0;break c;case 6:a=C[b+4>>2];r=C[b+16>>2];k=C[b+8>>2];o=D[b+12|0];m=D[b+15|0];p=D[b+14|0];h=D[b+13|0];K:{if(!_){break K}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);rh(q,d);break K}rh(q,X)}n=a+c|0;L:{M:{if(!C[X>>2]){if(!C[X+4>>2]){break L}if((k|0)>0){break M}break L}if((k|0)<=0){break L}}ka=0;if((k|0)!=1){d=k&-2;_=0;while(1){a=ka<<4;l=a+n|0;C[l>>2]=C[l>>2]+C[X>>2];C[l+4>>2]=C[l+4>>2]+C[X+4>>2];a=n+(a|16)|0;C[a>>2]=C[a>>2]+C[X>>2];C[a+4>>2]=C[a+4>>2]+C[X+4>>2];ka=ka+2|0;_=_+2|0;if((d|0)!=(_|0)){continue}break}}if(!(k&1)){break L}a=n+(ka<<4)|0;C[a>>2]=C[a>>2]+C[X>>2];C[a+4>>2]=C[a+4>>2]+C[X+4>>2]}if(!r){Ar(q,n,k,Dh(C[q+4>>2],o,h,p,m));_=0;break c}j=Ce-32|0;Ce=j;N:{if(!q){C[j>>2]=3460;Qe(19745,j);break N}d=C[q+4>>2];a=D[d+8|0];if(a>>>0<=7){Qe(5404,0);break N}if(r-1>>>0<=1){p=(I(m,p)>>>0)/255|0;o=(I(m,o)>>>0)/255|0;h=(I(h,m)>>>0)/255|0}O:{P:{Q:{switch(a-15|0){case 0:x=633;if(C[d+12>>2]!=31744){break P}break O;case 17:if(C[d+12>>2]!=16711680){break P}x=C[d+24>>2]?634:635;break O;case 1:break Q;default:break P}}x=636;if(C[d+12>>2]==63488){break O}}x=C[d+24>>2]?637:638}if((k|0)<=0){break N}g=q+36|0;l=p&255;d=h&255;a=o&255;p=0;while(1){if(yg(n+(p<<4)|0,g,j+16|0)){Fe[x|0](q,j+16|0,r,a,d,l,m)|0}p=p+1|0;if((k|0)!=(p|0)){continue}break}}Ce=j+32|0;_=0;break c;case 7:a=C[b+4>>2];o=C[b+20>>2];j=C[o+80>>2];R:{if(!_){break R}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);rh(q,d);break R}rh(q,X)}g=D[b+15|0];r=C[C[b+20>>2]+80>>2];l=D[b+14|0];p=D[b+12|0];h=D[b+13|0];d=C[b+16>>2];if(!(!((l&(p&h))!=255|(1<>>0<=8:0))&(g|0)==255)){if(r){Jk(r,0)}}if(r){oi(r,p,h,l)}if(r){Hi(r,g)}if(r){zg(r,d)}h=a+c|0;g=h+16|0;d=C[X>>2];a=C[X+4>>2];if(d|a){C[g>>2]=d+C[g>>2];C[g+4>>2]=a+C[g+4>>2]}if(!(C[h+8>>2]!=C[h+24>>2]|C[h+12>>2]!=C[h+28>>2])){di(j,h,q,g);_=0;break c}if(q){Jk(q,0)}S:{d=C[g>>2];T:{if((d|0)<0){break T}a=C[g+4>>2];if((a|0)<0|C[q+8>>2]<(d+C[g+8>>2]|0)){break T}if(C[q+12>>2]>=(a+C[g+12>>2]|0)){break S}}_=0;l=ei(C[g+8>>2],C[g+12>>2],C[C[j+4>>2]>>2]);if(!l){break c}if(j){a=f+80|0;if(a){Ik(j,a)}}a=f+56|0;if(a?j:0){A[a|0]=D[C[j+52>>2]+79|0]}if(j){oo(j,f+24|0,f+48|0,f+40|0)}C[f+96>>2]=0;C[f+100>>2]=0;C[f+104>>2]=C[h+24>>2];C[f+108>>2]=C[h+28>>2];if(j){zg(j,0)}if(j){oi(j,255,255,255)}if(j){Hi(j,255)}Aj(j,h,l,f+96|0,C[o+28>>2]);h=D[f+24|0];d=D[f+48|0];a=D[f+40|0];if(l){oi(l,h,d,a)}a=D[f+56|0];if(l){Hi(l,a)}a=C[f+80>>2];if(l){zg(l,a)}di(l,0,q,g);Nf(l);break c}Aj(j,h,q,g,C[o+28>>2]);_=0;break c;case 8:a=C[b+4>>2];U:{if(!_){break U}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);rh(q,d);break U}rh(q,X)}o=C[C[b+20>>2]+80>>2];g=D[b+15|0];l=D[b+14|0];p=D[b+12|0];h=D[b+13|0];d=C[b+16>>2];if(!(!((l&(p&h))!=255|(1<>>0<=8:0))&(g|0)==255)){if(o){Jk(o,0)}}if(o){oi(o,p,h,l)}if(o){Hi(o,g)}if(o){zg(o,d)}e=a+c|0;d=C[X>>2];a=C[X+4>>2];if(d|a){C[e+16>>2]=d+C[e+16>>2];C[e+20>>2]=a+C[e+20>>2]}Ga=G[e+56>>2];Ha=G[e+52>>2];o=C[e+48>>2];cb=H[e+32>>3];n=C[b+20>>2];k=C[n+80>>2];C[f+80>>2]=0;C[f+84>>2]=0;j=C[e+24>>2];C[f+88>>2]=j;r=C[e+28>>2];C[f+92>>2]=r;if(D[k|0]&2){qh(k)}a=C[k+4>>2];a=bn(C[k+20>>2],C[k+8>>2],C[k+12>>2],D[a+8|0],C[k+16>>2],C[a+12>>2],C[a+16>>2],C[a+20>>2],C[a+24>>2]);V:{if(!a){if(!(D[k|0]&2)){break V}fh(k);_=0;break c}if(k){d=f+76|0;if(d){Ik(k,d)}}d=f+75|0;if(d?k:0){A[d|0]=D[C[k+52>>2]+79|0]}if(k){oo(k,f+74|0,f+73|0,f+72|0)}h=C[k+4>>2];W:{if(!(D[h+8|0]!=32|(C[h>>2]&983040)!=393216)){d=0;if(C[h+24>>2]){break W}}d=1}h=C[e+8>>2];X:{if(!(C[e>>2]|((h|0)!=C[e+24>>2]|C[e+12>>2]!=C[e+28>>2]))){if(!C[e+4>>2]){break X}}d=1}Y:{if(!(C[e>>2]|((h|0)!=C[k+8>>2]|C[e+12>>2]!=C[k+12>>2]))){if(!C[e+4>>2]){break Y}}d=1}u=0;T=1;g=C[f+76>>2];Z:{_:{if(g>>>0>8){l=0;_=0;break _}l=0;_=0;if(!(1<>2]}l=(p|0)!=255;if(!g){if(!C[C[k+4>>2]+24>>2]){u=1;if(D[f+75|0]==255){break _}}_=wi(0,C[e+24>>2],C[e+28>>2],32,16711680,65280,255,-16777216);if(!_){d=C[f+76>>2];if(a){zg(a,d)}_=0;d=a;break Z}if(_){zg(_,4)}}u=0}$:{if(!(d|l)){d=C[f+76>>2];if(a){zg(a,d)}d=a;break $}d=C[f+92>>2];C[f+104>>2]=C[f+88>>2];C[f+108>>2]=d;d=C[f+84>>2];C[f+96>>2]=C[f+80>>2];C[f+100>>2]=d;d=wi(0,C[e+24>>2],C[e+28>>2],32,16711680,65280,255,-16777216);if(!d){d=C[f+76>>2];if(a){zg(a,d)}d=a;break Z}if(a){zg(a,0)}h=Aj(a,e,d,f+96|0,C[n+28>>2]);Nf(a);a=C[f+76>>2];if(d){zg(d,a)}if(h){break Z}}a=f+56|0;fa=cb*.017453292519943295;$a=pi(fa);ab=mh(fa);g=e+40|0;h=g;Da=+G[h>>2];lb=.5-Da;Qa=ab*lb;Xa=+G[h+4>>2];Ra=.5-Xa;fa=$a*-Ra;db=Qa+fa+Da;Sa=+(j|0)+-.5-Da;ya=ab*Sa;eb=ya+fa+Da;Ea=dbfb?fb:Da;fa=O(fa>Ea?Ea:fa);aa:{if(K(fa)<2147483648){l=~~fa;break aa}l=-2147483648}Qa=$a*lb;fa=ab*Ra;Ra=Qa+fa+Xa;ya=$a*Sa;Sa=ya+fa+Xa;Ea=RaTa?Ta:ya;Qa=O(fa>Ea?Ea:fa);Ea=Ra>Sa?Ra:Sa;fa=yaeb?db:eb;fa=Da>2]=i-l;if(K(Qa)<2147483648){h=~~Qa}else{h=-2147483648}C[a+4>>2]=h;C[a>>2]=l;if(K(ya)<2147483648){i=~~ya}else{i=-2147483648}C[a+12>>2]=i-h;H[f+40>>3]=-$a;H[f+48>>3]=ab;fa=cb/90;ca:{if(K(fa)<2147483648){h=~~fa;break ca}h=-2147483648}if(+(h|0)==fa){h=(h|0)%4|0;h=(h|0)<0?h+4|0:h;da:{if(h&1){C[a+12>>2]=j;C[a+8>>2]=r;C[f+48>>2]=0;C[f+52>>2]=0;fa=+(((h|0)==1?-1:1)|0);break da}C[a+12>>2]=r;C[a+8>>2]=j;H[f+48>>3]=(h?-1:1)|0;fa=0}H[f+40>>3]=fa}m=Kz(d,cb,C[n+28>>2]!=0,o&1,o&2,a,H[f+48>>3],H[f+40>>3],g);ea:{if(!(!m|!_)){g=Kz(_,cb,0,0,0,f+56|0,H[f+48>>3],H[f+40>>3],g);if(g){break ea}break Z}g=0;if(!m){break Z}}j=C[f+56>>2]+C[e+16>>2]|0;C[f+80>>2]=j;a=C[e+20>>2];r=C[f+68>>2];C[f+92>>2]=r;o=C[f+64>>2];C[f+88>>2]=o;p=a+C[f+60>>2]|0;C[f+84>>2]=p;fa:{if(!(!C[f+76>>2]&(u^-1))){if(T){a=D[f+75|0];if(m){Hi(m,a)}l=D[f+74|0];h=D[f+73|0];a=D[f+72|0];if(m){oi(m,l,h,a)}}if(!(Ha==J(1)&Ga==J(1))){a=C[n+28>>2];W=J(Ga*J(r|0));ga:{if(J(K(W))>2]=i;W=J(Ha*J(o|0));ha:{if(J(K(W))>2]=i;W=J(Ga*J(p|0));ia:{if(J(K(W))>2]=i;W=J(Ha*J(j|0));ja:{if(J(K(W))>2]=i;Aj(m,0,q,f+96|0,a);break fa}di(m,0,q,f+80|0);break fa}a=C[f+92>>2];C[f+32>>2]=C[f+88>>2];C[f+36>>2]=a;a=C[f+84>>2];C[f+24>>2]=C[f+80>>2];C[f+28>>2]=a;if(g){zg(g,0)}l=Ha!=J(1)|Ga!=J(1);ka:{if(l){a=C[n+28>>2];W=J(Ha*J(C[f+24>>2]));la:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+28>>2]));ma:{if(J(K(W))>2]=i;W=J(Ha*J(C[f+32>>2]));na:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+36>>2]));oa:{if(J(K(W))>2]=i;a=Aj(g,0,q,f+96|0,a);break ka}a=di(g,0,q,f+24|0)}pa:{if(a){break pa}if(m){oi(m,0,0,0)}a=C[f+92>>2];C[f+32>>2]=C[f+88>>2];C[f+36>>2]=a;a=C[f+84>>2];C[f+24>>2]=C[f+80>>2];C[f+28>>2]=a;qa:{if(l){a=C[n+28>>2];W=J(Ha*J(C[f+24>>2]));ra:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+28>>2]));sa:{if(J(K(W))>2]=i;W=J(Ha*J(C[f+32>>2]));ta:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+36>>2]));ua:{if(J(K(W))>2]=i;a=Aj(m,0,q,f+96|0,a);break qa}a=di(m,0,q,f+24|0)}if(a){break pa}a=C[m+4>>2];p=bn(C[m+20>>2],C[m+8>>2],C[m+12>>2],D[a+8|0],C[m+16>>2],C[a+12>>2],C[a+16>>2],C[a+20>>2],0);if(!p){break pa}if(p){zg(p,2)}va:{if(l){a=C[n+28>>2];W=J(Ha*J(C[f+80>>2]));wa:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+84>>2]));xa:{if(J(K(W))>2]=i;W=J(Ha*J(C[f+88>>2]));ya:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+92>>2]));za:{if(J(K(W))>2]=i;Aj(p,0,q,f+96|0,a);break va}di(p,0,q,f+80|0)}Nf(p)}Nf(g)}Nf(m)}if(D[k|0]&2){fh(k)}if(_){Nf(_)}Nf(d)}_=0;break c;case 9:break d;default:break c}}a=C[b+4>>2];bb=C[b+16>>2];o=C[b+20>>2];za=C[b+8>>2];Aa:{if(!_){break Aa}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);rh(q,d);break Aa}rh(q,X)}a=a+c|0;if(o){g=D[b+15|0];Fa=C[o+80>>2];o=C[C[b+20>>2]+80>>2];l=D[b+14|0];p=D[b+12|0];h=D[b+13|0];d=C[b+16>>2];if(!(!((l&(p&h))!=255|(1<>>0<=8:0))&(g|0)==255)){if(o){Jk(o,0)}}if(o){oi(o,p,h,l)}if(o){Hi(o,g)}if(o){zg(o,d)}h=C[X>>2];d=C[X+4>>2];Ba:{if(!(h|d)){break Ba}C[f+100>>2]=d;C[f+96>>2]=h;C[f+96>>2]=C[f+96>>2]<<1;C[f+100>>2]=C[f+100>>2]<<1;if((za|0)<=0){break Ba}ka=0;g=C[f+100>>2];l=C[f+96>>2];if((za|0)!=1){d=za&-2;_=0;while(1){h=I(ka,20)+a|0;C[h+8>>2]=l+C[h+8>>2];C[h+12>>2]=g+C[h+12>>2];h=I(ka|1,20)+a|0;C[h+8>>2]=l+C[h+8>>2];C[h+12>>2]=g+C[h+12>>2];ka=ka+2|0;_=_+2|0;if((d|0)!=(_|0)){continue}break}}if(!(za&1)){break Ba}d=I(ka,20)+a|0;C[d+8>>2]=l+C[d+8>>2];C[d+12>>2]=g+C[d+12>>2]}_=0;ka=0;if((za|0)<=0){break c}while(1){C[f+20>>2]=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);C[f+16>>2]=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);C[f+12>>2]=D[a+56|0]|D[a+57|0]<<8|(D[a+58|0]<<16|D[a+59|0]<<24);h=a;ta=a;l=0;gb=0;jb=0;i=0;V=Ce-96|0;Ce=V;Ca:{if(!Fa|!q){break Ca}d=C[h+12>>2];a=C[h+8>>2];S=I(C[h+32>>2]-d|0,a-C[ta+48>>2]|0)+I(C[ta+52>>2]-d|0,C[h+28>>2]-a|0)|0;if(!S){break Ca}mb=C[q>>2]&2;if(mb){if((qh(q)|0)<0){break Ca}}Da:{Ea:{if(!(D[Fa|0]&2)){break Ea}jb=1;if((qh(Fa)|0)>=0){break Ea}jb=0;break Da}ha=D[f+20|0];pa=D[f+16|0];Fa:{if((ha|0)!=(pa|0)){break Fa}g=D[f+21|0];if((g|0)!=D[f+17|0]){break Fa}d=D[f+22|0];if((d|0)!=D[f+18|0]){break Fa}a=D[f+23|0];if((a|0)!=D[f+19|0]|D[f+12|0]!=(ha|0)|((g|0)!=D[f+13|0]|(d|0)!=D[f+14|0])){break Fa}gb=(a|0)==D[f+15|0]}m=C[h+8>>2];n=C[ta+48>>2];j=C[h+28>>2];r=C[h+12>>2];o=C[h+32>>2];p=C[ta+52>>2];a=(o|0)<(p|0)?o:p;g=(a|0)>(r|0)?r:a;C[V+80>>2]=g>>1;a=(j|0)<(n|0)?j:n;d=(a|0)>(m|0)?m:a;C[V+76>>2]=d>>1;a=(o|0)>(p|0)?o:p;C[V+88>>2]=((a|0)<(r|0)?r:a)-g>>1;a=(j|0)>(n|0)?j:n;C[V+84>>2]=((a|0)<(m|0)?m:a)-d>>1;a=V+92|0;if(!(!Fa|!a)){d=(C[C[Fa+52>>2]+68>>2]&240)-16|0;if(d>>>0<=127){d=C[(d>>>2|0)+195492>>2]}else{d=0}C[a>>2]=d}k=C[h+4>>2];d=C[h+24>>2];a=C[h+44>>2];r=(a|0)<(d|0)?d:a;m=(k|0)>(r|0)?k:r;a=(a|0)>(d|0)?d:a;p=(a|0)>(k|0)?k:a;n=C[h>>2];a=C[h+20>>2];g=C[h+40>>2];o=(a|0)>(g|0)?a:g;j=(n|0)>(o|0)?n:o;g=(a|0)<(g|0)?a:g;Ga:{if((j|0)<=(((g|0)>(n|0)?n:g)|0)){break Ga}if((n|0)>=(o|0)){C[h>>2]=n-1;a=C[h+20>>2]}if((a|0)==(j|0)){C[h+20>>2]=j-1}if((j|0)!=C[h+40>>2]){break Ga}C[h+40>>2]=j-1}Ha:{if((m|0)<=(p|0)){break Ha}if((k|0)>=(r|0)){C[h+4>>2]=k-1;d=C[h+24>>2]}if((d|0)==(m|0)){C[h+24>>2]=m-1}if((m|0)!=C[h+44>>2]){break Ha}C[h+44>>2]=m-1}na=1;if(!(!gb|(ha|0)!=255|(D[f+21|0]!=255|D[f+22|0]!=255))){na=D[f+23|0]!=255}C[V+12>>2]=0;C[V+16>>2]=0;C[V+20>>2]=C[q+8>>2];C[V+24>>2]=C[q+12>>2];d=V+76|0;g=V+12|0;yg(d,g,d);if(!(!q|!g)){a=C[q+40>>2];C[g>>2]=C[q+36>>2];C[g+4>>2]=a;a=C[q+48>>2];C[g+8>>2]=C[q+44>>2];C[g+12>>2]=a}yg(d,g,d);ia=C[Fa+16>>2];Y=C[Fa+20>>2];a=S>>31;e=(a^S)-a|0;N=C[h+28>>2];z=C[h+8>>2];da=N-z|0;g=C[V+80>>2];r=g<<1|1;Z=C[h+12>>2];d=C[V+76>>2];o=d<<1|1;ba=C[h+32>>2];a=I(da,r-Z|0)+I(z-o|0,ba-Z|0)|0;x=C[ta+48>>2];U=z-x|0;ea=C[ta+52>>2];p=I(U,r-ea|0)+I(x-o|0,Z-ea|0)|0;k=x-N|0;o=I(k,r-ba|0)+I(N-o|0,ea-ba|0)|0;Ua=C[q+16>>2];m=I(g,Ua);L=D[C[q+4>>2]+9|0];n=C[q+20>>2]+I(L,d)|0;$=C[h+44>>2];j=C[h+24>>2];r=C[h+4>>2];M=C[h+40>>2];g=C[h+20>>2];d=C[h>>2];Va=da<<1;aa=U<<1;ga=k<<1;Wa=Z-ba<<1;da=ea-Z<<1;U=ba-ea<<1;Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{if((S|0)>0){if((ba|0)!=(ea|0)){break Va}if((x|0)>(N|0)){break Ua}break Qa}if((ba|0)!=(ea|0)){break Ta}l=-1;if((x|0)>=(N|0)){break Ra}break Sa}if((ba|0)<=(ea|0)){break Qa}}if((Z|0)!=(ea|0)){break Pa}break Oa}l=-1;if((ba|0)>=(ea|0)){break Ra}}l=0}a=0-a|0;p=0-p|0;o=0-o|0;Va=0-Va|0;aa=0-aa|0;ga=0-ga|0;Wa=0-Wa|0;da=0-da|0;U=0-U|0;Wa:{Xa:{Ya:{Za:{if((Z|0)==(ea|0)){if((x|0)>(z|0)){break Za}break Ya}if((Z|0)<=(ea|0)){break Ya}}S=0;if((Z|0)!=(ba|0)){break Xa}break Wa}S=-1;if((Z|0)==(ba|0)){break Wa}}Ja=0;if((Z|0)>=(ba|0)){break Ja}break Ia}Ja=0;if((z|0)>(N|0)){break Ia}break Ja}l=-1;if((Z|0)==(ea|0)){break Oa}}if((Z|0)>=(ea|0)){break Na}break Ma}if((x|0)<(z|0)){break Ma}}S=-1;if((Z|0)!=(ba|0)){break La}break Ka}S=0;if((Z|0)==(ba|0)){break Ka}}Ja=0;if((Z|0)<=(ba|0)){break Ja}break Ia}Ja=0;if((z|0)<(N|0)){break Ia}}Ja=-1}xa=m+n|0;k=j-$|0;m=r-$|0;n=g-M|0;j=d-M|0;r=I(e,$);g=I(e,M);if(!(!C[V+92>>2]&(!na&C[C[Fa+4>>2]>>2]==C[C[q+4>>2]>>2]&gb))){N=C[Fa+52>>2];mf(V+12|0,0,64);y=C[Fa+4>>2];C[V+52>>2]=y;t=C[q+4>>2];C[V+56>>2]=t;d=C[N+68>>2];A[V+72|0]=ha;$=D[f+21|0];A[V+73|0]=$;M=D[f+22|0];A[V+74|0]=M;na=D[f+23|0];d=d&-4;C[V+64>>2]=d;A[V+75|0]=na;Z=D[f+14|0];ba=D[f+18|0];ea=D[f+13|0];z=D[f+17|0];x=D[f+12|0];_a:{$a:{if((ha|0)!=255|(pa|0)!=255|((x|0)!=255|($|0)!=255)){break $a}if((z|0)!=255|(ea|0)!=255|((M|0)!=255|(ba|0)!=255)){break $a}if((Z|0)==255){break _a}}d=d|1;C[V+64>>2]=d}L=D[f+15|0];h=D[f+19|0];if(!(!((na|0)!=255|(h|0)!=255)&(L|0)==255)){d=d|2;C[V+64>>2]=d}nb=C[N+72>>2];C[V+44>>2]=Ua;C[V+32>>2]=xa;C[V+24>>2]=ia;C[V+12>>2]=Y;C[V+68>>2]=nb;ob=C[V+88>>2];Ya=1;Ya=C[t>>2]!=372711428?C[t+24>>2]?0:-1:Ya;if((ob|0)>0){N=ha;R=Z&255;Aa=ba&255;ra=ea&255;bb=z&255;qa=x&255;z=$;ia=M;Y=na;hb=L&255;Ka=h&255;L=C[y+24>>2];La=L^-1;pb=C[V+84>>2];Ma=d&48;Na=d&2;Oa=d&1;qb=d&256;Pa=d>>>4&15;d=!L;h=C[y>>2];Ba=d&(h|0)!=372711428;Ca=d|(h|0)==372711428;ba=r;sa=r>>31;r=k;ua=k>>31;va=m>>31;Z=e;Za=e>>31;ea=g;wa=g>>31;s=n>>31;ja=j>>31;kb=D[y+9|0];rb=kb-1|0;ma=D[t+9|0];ib=ma-1|0;while(1){h=a;x=p;d=o;L=0;if((pb|0)>0){while(1){ab:{bb:{if((d+l|x+S|h+Ja)<0){break bb}T=C[V+12>>2];k=C[V+24>>2];ca=x>>31;g=mT(x,ca,r,ua);e=sa+Ee|0;g=g+ba|0;e=g>>>0>>0?e+1|0:e;u=g;_a=d>>31;g=mT(d,_a,m,va);F=u+g|0;e=Ee+e|0;k=I(nT(F,g>>>0>F>>>0?e+1|0:e,Z,Za),k)+T|0;g=mT(n,s,x,ca);e=wa+Ee|0;g=g+ea|0;e=g>>>0>>0?e+1|0:e;u=g;g=mT(j,ja,d,_a);T=u+g|0;e=Ee+e|0;e=I(nT(T,g>>>0>T>>>0?e+1|0:e,Z,Za),kb)+k|0;cb:{db:{eb:{fb:{gb:{if(!Ca){k=0;Q=0;g=0;T=0;v=0;hb:{switch(rb|0){case 0:v=D[e|0];k=D[C[(D[y+31|0]<<2)+382144>>2]+((v&C[y+24>>2])>>>D[y+35|0]|0)|0];Q=D[C[(D[y+30|0]<<2)+382144>>2]+((C[y+20>>2]&v)>>>D[y+34|0]|0)|0];g=D[C[(D[y+29|0]<<2)+382144>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0];T=D[C[(D[y+28|0]<<2)+382144>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0];break gb;case 1:v=E[e>>1];k=D[C[(D[y+31|0]<<2)+382144>>2]+((v&C[y+24>>2])>>>D[y+35|0]|0)|0];Q=D[C[(D[y+30|0]<<2)+382144>>2]+((C[y+20>>2]&v)>>>D[y+34|0]|0)|0];g=D[C[(D[y+29|0]<<2)+382144>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0];T=D[C[(D[y+28|0]<<2)+382144>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0];break gb;case 2:break fb;case 3:break hb;default:break gb}}v=C[e>>2];k=D[C[(D[y+31|0]<<2)+382144>>2]+((v&C[y+24>>2])>>>D[y+35|0]|0)|0];Q=D[C[(D[y+30|0]<<2)+382144>>2]+((C[y+20>>2]&v)>>>D[y+34|0]|0)|0];g=D[C[(D[y+29|0]<<2)+382144>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0];T=D[C[(D[y+28|0]<<2)+382144>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0];break gb}if(Ba){Q=0;g=0;T=0;v=0;ib:{jb:{kb:{switch(rb|0){case 0:v=D[e|0];k=C[(D[y+30|0]<<2)+382144>>2]+((v&C[y+20>>2])>>>D[y+34|0]|0)|0;T=C[(D[y+28|0]<<2)+382144>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0;g=C[(D[y+29|0]<<2)+382144>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0;break jb;case 1:v=E[e>>1];k=C[(D[y+30|0]<<2)+382144>>2]+((v&C[y+20>>2])>>>D[y+34|0]|0)|0;T=C[(D[y+28|0]<<2)+382144>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0;g=C[(D[y+29|0]<<2)+382144>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0;break jb;case 2:k=e+(D[y+34|0]>>>3|0)|0;T=e+(D[y+32|0]>>>3|0)|0;g=e+(D[y+33|0]>>>3|0)|0;break jb;case 3:break kb;default:break ib}}v=C[e>>2];k=C[(D[y+30|0]<<2)+382144>>2]+((v&C[y+20>>2])>>>D[y+34|0]|0)|0;T=C[(D[y+28|0]<<2)+382144>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0;g=C[(D[y+29|0]<<2)+382144>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0}Q=D[k|0];g=D[g|0];T=D[T|0]}k=255;Q=Q&255;g=g&255;T=T&255;break gb}v=C[e>>2];Q=v>>>2&255;g=v>>>12&255;T=v>>>22&255;k=D[C[95542]+(v>>>30|0)|0]}k=k&255;if(!qb){break cb}if((kb|0)!=3){break db}v=D[y+34|0];w=D[y+33|0];F=D[y+32|0];break eb}v=D[y+34|0];Q=D[e+(v>>>3|0)|0];w=D[y+33|0];g=D[e+(w>>>3|0)|0];F=D[y+32|0];T=D[e+(F>>>3|0)|0];k=255;if(!qb){break cb}}v=g<>2]+((e&C[t+24>>2])>>>D[t+35|0]|0)|0];v=D[C[(D[t+30|0]<<2)+382144>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0];F=D[C[(D[t+29|0]<<2)+382144>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0];w=D[C[(D[t+28|0]<<2)+382144>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0];break lb;case 1:e=E[oa>>1];u=D[C[(D[t+31|0]<<2)+382144>>2]+((e&C[t+24>>2])>>>D[t+35|0]|0)|0];v=D[C[(D[t+30|0]<<2)+382144>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0];F=D[C[(D[t+29|0]<<2)+382144>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0];w=D[C[(D[t+28|0]<<2)+382144>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0];break lb;case 2:v=D[oa+(D[t+34|0]>>>3|0)|0];F=D[oa+(D[t+33|0]>>>3|0)|0];w=D[oa+(D[t+32|0]>>>3|0)|0];u=255;break lb;case 3:break mb;default:break lb}}e=C[oa>>2];u=D[C[(D[t+31|0]<<2)+382144>>2]+((e&C[t+24>>2])>>>D[t+35|0]|0)|0];v=D[C[(D[t+30|0]<<2)+382144>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0];F=D[C[(D[t+29|0]<<2)+382144>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0];w=D[C[(D[t+28|0]<<2)+382144>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0];break lb}if((Ya|0)<0){v=0;F=0;w=0;nb:{ob:{pb:{switch(ib|0){case 0:e=D[oa|0];v=C[(D[t+30|0]<<2)+382144>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0;F=C[(D[t+29|0]<<2)+382144>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0;e=C[(D[t+28|0]<<2)+382144>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0;break ob;case 1:e=E[oa>>1];v=C[(D[t+30|0]<<2)+382144>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0;F=C[(D[t+29|0]<<2)+382144>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0;e=C[(D[t+28|0]<<2)+382144>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0;break ob;case 2:v=oa+(D[t+34|0]>>>3|0)|0;F=oa+(D[t+33|0]>>>3|0)|0;e=oa+(D[t+32|0]>>>3|0)|0;break ob;case 3:break pb;default:break nb}}e=C[oa>>2];v=C[(D[t+30|0]<<2)+382144>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0;F=C[(D[t+29|0]<<2)+382144>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0;e=C[(D[t+28|0]<<2)+382144>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0}v=D[v|0];F=D[F|0];w=D[e|0]}u=255;v=v&255;F=F&255;w=w&255;break lb}e=C[oa>>2];v=e>>>2&255;F=e>>>12&255;w=e>>>22&255;u=D[C[95542]+(e>>>30|0)|0]}if(!gb){M=mT(Ka,0,x,ca);e=Ee;$=M;Ia=h>>31;M=mT(h,Ia,hb,0);$=$+M|0;e=Ee+e|0;e=M>>>0>$>>>0?e+1|0:e;M=mT(Y,0,d,_a);$=M+$|0;e=Ee+e|0;na=nT($,M>>>0>$>>>0?e+1|0:e,Z,Za);M=mT(bb,0,x,ca);e=Ee;$=M;M=mT(ra,0,h,Ia);$=$+M|0;e=Ee+e|0;e=M>>>0>$>>>0?e+1|0:e;M=mT(z,0,d,_a);$=M+$|0;e=Ee+e|0;$=nT($,M>>>0>$>>>0?e+1|0:e,Z,Za);M=mT(x,ca,pa,0);e=Ee;ha=M;M=mT(qa,0,h,Ia);ha=ha+M|0;e=Ee+e|0;e=M>>>0>ha>>>0?e+1|0:e;M=mT(N,0,d,_a);ha=M+ha|0;e=Ee+e|0;ha=nT(ha,M>>>0>ha>>>0?e+1|0:e,Z,Za);M=mT(Aa,0,x,ca);e=Ee;ca=M;M=mT(R,0,h,Ia);Ia=ca+M|0;e=Ee+e|0;e=M>>>0>Ia>>>0?e+1|0:e;M=mT(ia,0,d,_a);Ia=M+Ia|0;e=Ee+e|0;M=nT(Ia,M>>>0>Ia>>>0?e+1|0:e,Z,Za)}if(Oa){Q=(I(Q,M)>>>0)/255|0;T=(I(T,ha)>>>0)/255|0;g=(I(g,$)>>>0)/255|0}k=Na?(I(k,na)>>>0)/255|0:k;if(!(!Ma|k>>>0>254)){Q=(I(k,Q)>>>0)/255|0;T=(I(k,T)>>>0)/255|0;g=(I(g,k)>>>0)/255|0}u=u&255;qb:{rb:{switch(Pa|0){case 0:u=k;v=Q;F=g;w=T;break qb;case 1:e=255-k|0;u=k+((I(e,u)>>>0)/255|0)|0;v=((I(e,v)>>>0)/255|0)+Q|0;F=((I(e,F)>>>0)/255|0)+g|0;w=((I(e,w)>>>0)/255|0)+T|0;break qb;case 2:k=v+Q|0;v=k>>>0>=255?255:k;g=g+F|0;F=g>>>0>=255?255:g;g=w+T|0;w=g>>>0>=255?255:g;break qb;case 4:v=(I(v,Q)>>>0)/255|0;F=(I(g,F)>>>0)/255|0;w=(I(w,T)>>>0)/255|0;break qb;case 8:break rb;default:break qb}}e=255-k|0;k=(I(e+Q|0,v)>>>0)/255|0;v=k>>>0>=255?255:k;g=(I(e+g|0,F)>>>0)/255|0;F=g>>>0>=255?255:g;g=(I(e+T|0,w)>>>0)/255|0;w=g>>>0>=255?255:g}if(!Ya){sb:{switch(ib|0){case 0:A[oa|0]=F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>D[t+31|0]<>1]=F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>D[t+31|0]<>>3|0)|0]=w;A[oa+(D[t+33|0]>>>3|0)|0]=F;A[oa+(D[t+34|0]>>>3|0)|0]=v;break bb;case 3:break sb;default:break bb}}C[oa>>2]=F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>D[t+31|0]<>2]|(F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>1]=C[t+24>>2]|(F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>3|0)|0]=w;A[oa+(D[t+33|0]>>>3|0)|0]=F;A[oa+(D[t+34|0]>>>3|0)|0]=v;break bb;case 3:break tb;default:break bb}}C[oa>>2]=C[t+24>>2]|(F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>2]=(u>>>0)/85<<30|(v?v<<2|3:0)|(F?F<<12|3072:0)|(w?w<<22|3145728:0)}h=h+Wa|0;x=x+da|0;d=d+U|0}L=L+1|0;if((pb|0)!=(L|0)){continue}break}}xa=xa+Ua|0;a=a+Va|0;p=p+aa|0;o=o+ga|0;i=i+1|0;if((ob|0)!=(i|0)){continue}break}}break Da}ub:{switch(L-1|0){case 0:v=C[V+88>>2];if((v|0)<=0){break Da}z=l;ua=l>>31;na=U;va=U>>31;ha=ga;wa=ga>>31;l=o;o=l>>31;$=S;s=S>>31;M=da;Q=M>>31;L=aa;ja=L>>31;h=p;p=h>>31;i=r;ma=i>>31;ga=k;F=k>>31;da=m;T=m>>31;S=e;sa=e>>31;aa=g;Z=g>>31;U=n;ba=n>>31;k=j;ea=j>>31;u=C[V+84>>2];w=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if((u|0)>0){while(1){e=j+ua|0;vb:{if(((n+z>>>0>>0?e+1|0:e)|0)<0){break vb}e=s+r|0;if(((g+$>>>0<$>>>0?e+1|0:e)|d+Ja)<0){break vb}pa=x+xa|0;m=mT(n,j,k,ea);e=Z+Ee|0;m=m+aa|0;e=m>>>0>>0?e+1|0:e;N=m;m=mT(U,ba,g,r);N=N+m|0;e=Ee+e|0;m=nT(N,m>>>0>N>>>0?e+1|0:e,S,sa);N=mT(n,j,da,T);e=ma+Ee|0;N=i+N|0;e=N>>>0>>0?e+1|0:e;u=N;N=mT(g,r,ga,F);u=u+N|0;e=Ee+e|0;sb=pa,tb=D[(I(nT(u,u>>>0>>0?e+1|0:e,S,sa),ia)+Y|0)+m|0],A[sb|0]=tb;u=C[V+84>>2]}d=d+Wa|0;e=r+Q|0;g=g+M|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+na|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((u|0)>(x|0)){continue}break}v=C[V+88>>2]}e=o+wa|0;l=l+ha|0;o=l>>>0>>0?e+1|0:e;e=p+ja|0;h=h+L|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;w=w+1|0;if((v|0)>(w|0)){continue}break};break Da;case 1:sa=C[V+88>>2];if((sa|0)<=0){break Da}na=l;ua=l>>31;ha=U;va=U>>31;$=ga;wa=ga>>31;l=o;o=l>>31;M=S;s=S>>31;L=da;Q=L>>31;i=aa;ja=i>>31;h=p;p=h>>31;S=r;ma=r>>31;da=k;v=k>>31;U=m;u=m>>31;aa=e;Ba=e>>31;ga=g;F=g>>31;k=n;T=k>>31;m=j;Z=j>>31;ba=C[V+84>>2];ea=(ba|0)<=0;w=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if(!ea){while(1){e=j+ua|0;wb:{if(((n+na>>>0>>0?e+1|0:e)|0)<0){break wb}e=s+r|0;if(((g+M>>>0>>0?e+1|0:e)|d+Ja)<0){break wb}pa=(x<<1)+xa|0;z=mT(n,j,U,u);e=ma+Ee|0;z=z+S|0;e=z>>>0>>0?e+1|0:e;N=z;z=mT(g,r,da,v);N=N+z|0;e=Ee+e|0;N=I(nT(N,z>>>0>N>>>0?e+1|0:e,aa,Ba),ia)+Y|0;z=mT(n,j,m,Z);e=F+Ee|0;z=z+ga|0;e=z>>>0>>0?e+1|0:e;ca=z;z=mT(k,T,g,r);Ca=ca+z|0;e=Ee+e|0;sb=pa,tb=E[(nT(Ca,z>>>0>Ca>>>0?e+1|0:e,aa,Ba)<<1)+N>>1],B[sb>>1]=tb}d=d+Wa|0;e=r+Q|0;g=g+L|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+ha|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((ba|0)!=(x|0)){continue}break}}e=o+wa|0;l=l+$|0;o=l>>>0<$>>>0?e+1|0:e;e=p+ja|0;h=h+i|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;w=w+1|0;if((sa|0)!=(w|0)){continue}break};break Da;case 2:w=C[V+88>>2];if((w|0)<=0){break Da}na=l;ua=l>>31;ha=U;va=U>>31;$=ga;wa=ga>>31;l=o;o=l>>31;M=S;s=S>>31;L=da;Q=L>>31;i=aa;ja=i>>31;h=p;p=h>>31;S=r;ma=r>>31;da=k;F=k>>31;U=m;T=m>>31;aa=e;sa=e>>31;ga=g;Z=g>>31;k=n;ba=k>>31;m=j;ea=j>>31;u=C[V+84>>2];v=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if((u|0)>0){while(1){e=j+ua|0;xb:{if(((n+na>>>0>>0?e+1|0:e)|0)<0){break xb}e=s+r|0;if(((g+M>>>0>>0?e+1|0:e)|d+Ja)<0){break xb}pa=I(x,3)+xa|0;z=mT(n,j,U,T);e=ma+Ee|0;z=z+S|0;e=z>>>0>>0?e+1|0:e;N=z;z=mT(g,r,da,F);N=N+z|0;e=Ee+e|0;N=I(nT(N,z>>>0>N>>>0?e+1|0:e,aa,sa),ia)+Y|0;z=mT(n,j,m,ea);e=Z+Ee|0;z=z+ga|0;e=z>>>0>>0?e+1|0:e;u=z;z=mT(k,ba,g,r);u=u+z|0;e=Ee+e|0;e=I(nT(u,u>>>0>>0?e+1|0:e,aa,sa),3)+N|0;A[pa|0]=D[e|0];A[pa+1|0]=D[e+1|0];A[pa+2|0]=D[e+2|0];u=C[V+84>>2]}d=d+Wa|0;e=r+Q|0;g=g+L|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+ha|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((u|0)>(x|0)){continue}break}w=C[V+88>>2]}e=o+wa|0;l=l+$|0;o=l>>>0<$>>>0?e+1|0:e;e=p+ja|0;h=h+i|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;v=v+1|0;if((v|0)<(w|0)){continue}break};break Da;case 3:break ub;default:break Da}}v=C[V+88>>2];if((v|0)<=0){break Da}na=l;ua=l>>31;ha=U;va=U>>31;$=ga;wa=ga>>31;l=o;o=l>>31;M=S;s=S>>31;L=da;Q=L>>31;i=aa;ja=i>>31;h=p;p=h>>31;S=r;ma=r>>31;da=k;F=k>>31;U=m;T=m>>31;aa=e;sa=e>>31;ga=g;Z=g>>31;k=n;ba=k>>31;m=j;ea=j>>31;u=C[V+84>>2];w=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if((u|0)>0){while(1){e=j+ua|0;yb:{if(((n+na>>>0>>0?e+1|0:e)|0)<0){break yb}e=s+r|0;if(((g+M>>>0>>0?e+1|0:e)|d+Ja)<0){break yb}pa=(x<<2)+xa|0;z=mT(n,j,U,T);e=ma+Ee|0;z=z+S|0;e=z>>>0>>0?e+1|0:e;N=z;z=mT(g,r,da,F);N=N+z|0;e=Ee+e|0;N=I(nT(N,z>>>0>N>>>0?e+1|0:e,aa,sa),ia)+Y|0;z=mT(n,j,m,ea);e=Z+Ee|0;z=z+ga|0;e=z>>>0>>0?e+1|0:e;u=z;z=mT(k,ba,g,r);u=u+z|0;e=Ee+e|0;sb=pa,tb=C[(nT(u,u>>>0>>0?e+1|0:e,aa,sa)<<2)+N>>2],C[sb>>2]=tb;u=C[V+84>>2]}d=d+Wa|0;e=r+Q|0;g=g+L|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+ha|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((u|0)>(x|0)){continue}break}v=C[V+88>>2]}e=o+wa|0;l=l+$|0;o=l>>>0<$>>>0?e+1|0:e;e=p+ja|0;h=h+i|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;w=w+1|0;if((v|0)>(w|0)){continue}break}}if(mb){fh(q)}if(!jb){break Ca}fh(Fa)}Ce=V+96|0;a=ta+60|0;ka=ka+3|0;if((za|0)>(ka|0)){continue}break}break c}h=C[X>>2];d=C[X+4>>2];zb:{if(!(h|d)){break zb}C[f+100>>2]=d;C[f+96>>2]=h;C[f+96>>2]=C[f+96>>2]<<1;C[f+100>>2]=C[f+100>>2]<<1;if((za|0)<=0){break zb}ka=0;g=C[f+100>>2];l=C[f+96>>2];if((za|0)!=1){d=za&-2;_=0;while(1){h=I(ka,12)+a|0;C[h>>2]=l+C[h>>2];C[h+4>>2]=g+C[h+4>>2];h=I(ka|1,12)+a|0;C[h>>2]=l+C[h>>2];C[h+4>>2]=g+C[h+4>>2];ka=ka+2|0;_=_+2|0;if((d|0)!=(_|0)){continue}break}}if(!(za&1)){break zb}d=I(ka,12)+a|0;C[d>>2]=l+C[d>>2];C[d+4>>2]=g+C[d+4>>2]}_=0;ka=0;if((za|0)<=0){break c}while(1){C[f+8>>2]=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[f+4>>2]=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);C[f>>2]=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);ma=a;Q=0;R=Ce-32|0;Ce=R;Ab:{if(!q){break Ab}p=C[ma+16>>2];Y=C[ma+4>>2];m=C[ma>>2];n=C[ma+24>>2];s=C[ma+28>>2];l=C[ma+12>>2];ia=I(p-Y|0,m-n|0)+I(s-Y|0,l-m|0)|0;e=D[f+8|0];r=D[f+4|0];d=0;Bb:{if((e|0)!=(r|0)){break Bb}g=D[f+9|0];d=0;if((g|0)!=D[f+5|0]){break Bb}h=D[f+10|0];d=0;if((h|0)!=D[f+6|0]){break Bb}a=D[f+11|0];d=0;if((a|0)!=D[f+7|0]){break Bb}d=0;if((e|0)!=D[f|0]){break Bb}d=0;if((g|0)!=D[f+1|0]){break Bb}d=0;if((h|0)!=D[f+2|0]){break Bb}d=(a|0)==D[f+3|0]}if(!ia){break Ab}hb=C[q>>2]&2;if(hb){if((qh(q)|0)<0){break Ab}s=C[ma+28>>2];Y=C[ma+4>>2];n=C[ma+24>>2];m=C[ma>>2];p=C[ma+16>>2];l=C[ma+12>>2]}a=(s|0)>(p|0)?p:s;g=(a|0)>(Y|0)?Y:a;C[R+20>>2]=g>>1;a=(l|0)<(n|0)?l:n;h=(a|0)>(m|0)?m:a;C[R+16>>2]=h>>1;a=(s|0)<(p|0)?p:s;C[R+28>>2]=((a|0)<(Y|0)?Y:a)-g>>1;a=(l|0)>(n|0)?l:n;C[R+24>>2]=((a|0)<(m|0)?m:a)-h>>1;C[R>>2]=0;C[R+4>>2]=0;C[R+8>>2]=C[q+8>>2];C[R+12>>2]=C[q+12>>2];h=R+16|0;yg(h,R,h);if(!(!q|!R)){a=C[q+40>>2];C[R>>2]=C[q+36>>2];C[R+4>>2]=a;a=C[q+48>>2];C[R+8>>2]=C[q+44>>2];C[R+12>>2]=a}yg(h,R,h);a=C[q+4>>2];Cb:{Db:{if(bb){Q=ei(C[R+24>>2],C[R+28>>2],C[a+24>>2]?C[a>>2]:372645892);if(!Q){break Cb}if((bb|0)==4){Gj(Q,Dh(C[Q+4>>2],255,255,255,255))}if(Q){zg(Q,bb)}Aa=C[Q+16>>2];u=D[C[Q+4>>2]+9|0];ja=C[Q+20>>2];break Db}u=D[a+9|0];Aa=C[q+16>>2];ja=(C[q+20>>2]+I(u,C[R+16>>2])|0)+I(Aa,C[R+20>>2])|0}a=ia>>31;a=(a^ia)-a|0;ga=C[ma+12>>2];da=C[ma>>2];j=ga-da|0;p=C[R+20>>2]<<1|1;S=C[ma+4>>2];g=C[R+16>>2]<<1|1;aa=C[ma+16>>2];h=I(j,p-S|0)+I(da-g|0,aa-S|0)|0;n=C[ma+24>>2];o=da-n|0;m=C[ma+28>>2];l=I(o,p-m|0)+I(n-g|0,S-m|0)|0;i=p-aa|0;p=n-ga|0;g=I(i,p)+I(ga-g|0,m-aa|0)|0;k=j<<1;j=o<<1;o=p<<1;L=S-aa<<1;i=m-S<<1;U=aa-m<<1;Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{if((ia|0)>0){if((m|0)!=(aa|0)){break Rb}if((n|0)>(ga|0)){break Qb}break Mb}if((m|0)!=(aa|0)){break Pb}Y=-1;if((n|0)>=(ga|0)){break Nb}break Ob}if((m|0)>=(aa|0)){break Mb}}Y=0;if((m|0)!=(S|0)){break Lb}break Kb}Y=-1;if((m|0)<=(aa|0)){break Nb}}Y=0}h=0-h|0;l=0-l|0;g=0-g|0;k=0-k|0;j=0-j|0;o=0-o|0;L=0-L|0;i=0-i|0;U=0-U|0;Sb:{Tb:{Ub:{Vb:{if((m|0)==(S|0)){if((n|0)>(da|0)){break Vb}break Ub}if((m|0)>=(S|0)){break Ub}}m=0;if((S|0)!=(aa|0)){break Tb}break Sb}m=-1;if((S|0)==(aa|0)){break Sb}}n=0;if((S|0)>=(aa|0)){break Fb}break Eb}n=0;if((da|0)>(ga|0)){break Eb}break Fb}Y=-1;if((m|0)==(S|0)){break Kb}}if((m|0)<=(S|0)){break Jb}break Ib}if((n|0)<(da|0)){break Ib}}m=-1;if((S|0)!=(aa|0)){break Hb}break Gb}m=0;if((S|0)==(aa|0)){break Gb}}n=0;if((S|0)<=(aa|0)){break Fb}break Eb}n=0;if((da|0)<(ga|0)){break Eb}}n=-1}ia=C[(Q?Q:q)+4>>2];Wb:{if(d){da=Dh(ia,e,D[f+9|0],D[f+10|0],D[f+11|0]);Xb:{switch(u-1|0){case 0:x=C[R+28>>2];if((x|0)<=0){break Wb}w=C[R+24>>2];u=0;while(1){d=h;a=l;p=g;s=0;if((w|0)>0){while(1){if((p+Y|a+m|d+n)>=0){A[s+ja|0]=da;w=C[R+24>>2]}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((s|0)<(w|0)){continue}break}x=C[R+28>>2]}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((u|0)<(x|0)){continue}break};break Wb;case 1:ia=C[R+28>>2];if((ia|0)<=0){break Wb}e=C[R+24>>2];r=(e|0)<=0;u=0;while(1){d=h;a=l;p=g;s=0;if(!r){while(1){if((p+Y|a+m|d+n)>=0){B[(s<<1)+ja>>1]=da}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((e|0)!=(s|0)){continue}break}}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((ia|0)!=(u|0)){continue}break};break Wb;case 2:x=C[R+28>>2];if((x|0)<=0){break Wb}e=da>>>16|0;r=da>>>8|0;w=C[R+24>>2];u=0;while(1){s=0;p=g;a=l;d=h;if((w|0)>0){while(1){if((p+Y|a+m|d+n)>=0){ia=I(s,3)+ja|0;A[ia+2|0]=e;A[ia+1|0]=r;A[ia|0]=da;w=C[R+24>>2]}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((s|0)<(w|0)){continue}break}x=C[R+28>>2]}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((u|0)<(x|0)){continue}break};break Wb;case 3:break Xb;default:break Wb}}x=C[R+28>>2];if((x|0)<=0){break Wb}w=C[R+24>>2];u=0;while(1){s=0;p=g;a=l;d=h;if((w|0)>0){while(1){if((p+Y|a+m|d+n)>=0){C[(s<<2)+ja>>2]=da;w=C[R+24>>2]}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((s|0)<(w|0)){continue}break}x=C[R+28>>2]}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((u|0)<(x|0)){continue}break}break Wb}w=r;v=e;Yb:{switch(u-1|0){case 0:s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;Y=D[f|0];U=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;Zb:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break Zb}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break Zb}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break Zb}ua=L+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,Y,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;sb=ua,tb=Dh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255),A[sb|0]=tb;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;U=U+1|0;if((U|0)<(s|0)){continue}break};break Wb;case 1:s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;Y=D[f|0];U=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;_b:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break _b}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break _b}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break _b}ua=(L<<1)+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,Y,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;sb=ua,tb=Dh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255),B[sb>>1]=tb;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;U=U+1|0;if((U|0)<(s|0)){continue}break};break Wb;case 2:s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;U=D[f|0];Y=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;$b:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break $b}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break $b}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break $b}ua=I(L,3)+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,U,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;e=Dh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255);A[ua|0]=e;A[ua+2|0]=e>>>16;A[ua+1|0]=e>>>8;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;Y=Y+1|0;if((Y|0)<(s|0)){continue}break};break Wb;case 3:break Yb;default:break Wb}}s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;Y=D[f|0];U=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;ac:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break ac}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break ac}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break ac}ua=(L<<2)+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,Y,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;sb=ua,tb=Dh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255),C[sb>>2]=tb;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;U=U+1|0;if((U|0)<(s|0)){continue}break}}if(!Q){break Cb}di(Q,0,q,R+16|0);Nf(Q)}if(!hb){break Ab}fh(q)}Ce=R+32|0;a=ma+36|0;ka=ka+3|0;if((za|0)>(ka|0)){continue}break}}b=C[b+24>>2];if(b){continue}break}}a=0}Ce=f+112|0;return a|0}function DI(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0;a:{if(!a){break a}b:{if(!(D[a+208|0]&64)){u=1;if(!(!a|!D[a+420|0])){C[a+212>>2]=C[a+212>>2]|2;u=7}w=u;if(!(D[a+208|0]&64)){Ko(a);break b}$j(a,13355);break b}if(!(!D[a+420|0]|D[a+212|0]&2)){C[a+352>>2]=C[a+348>>2]}u=1;if(!(!a|!D[a+420|0])){C[a+212>>2]=C[a+212>>2]|2;u=7}w=u}if((w|0)<=0){break a}G=C[a+348>>2];while(1){u=b;x=0;if(G){while(1){v=C[u>>2];f=0;n=0;p=Ce-16|0;Ce=p;c:{d:{e:{f:{g:{if(!a){break g}if(!(D[a+208|0]&64)){Ko(a)}d=C[a+364>>2];C[p+4>>2]=d;A[p+12|0]=D[a+423|0];A[p+13|0]=D[a+424|0];A[p+14|0]=D[a+427|0];c=D[a+426|0];A[p+15|0]=c;C[p+8>>2]=c>>>0>=8?I(d,c>>>3|0):I(c,d)+7>>>3|0;h:{if(!D[a+420|0]|!(D[a+212|0]&2)){break h}i:{switch(D[a+421|0]){case 0:if(!(D[a+368|0]&7)){break h}Li(a);break g;case 1:if(!(D[a+368|0]&7)&F[a+344>>2]>4){break h}Li(a);break g;case 2:if((C[a+368>>2]&7)==4){break h}Li(a);break g;case 3:if(!(D[a+368|0]&3)&F[a+344>>2]>2){break h}Li(a);break g;case 4:if((C[a+368>>2]&3)==2){break h}Li(a);break g;case 5:if(!(A[a+368|0]&1)&F[a+344>>2]>1){break h}Li(a);break g;default:break i}}if(A[a+368|0]&1){break h}Li(a);break g}if(!(D[a+204|0]&4)){break f}A[C[a+380>>2]]=255;c=C[p+8>>2]+1|0;kv(a,C[a+380>>2],c);d=C[a+380>>2];e=D[d|0];if(e){if(e>>>0>4){break e}c=C[a+376>>2]+1|0;e=e-1|0;if(e>>>0<=3){if(!C[a+780>>2]){C[a+780>>2]=1302;C[a+788>>2]=1303;C[a+784>>2]=1304;C[a+792>>2]=(D[a+426|0]+7&504)==8?1305:1306}Fe[C[((e<<2)+a|0)+780>>2]](p+4|0,d+1|0,c)}d=C[a+380>>2];c=C[p+8>>2]+1|0}jf(C[a+376>>2],d,c);j:{if(!(D[a+680|0]&4)|D[a+684|0]!=64){break j}j=D[p+12|0];if(!(j&2)){break j}d=C[a+380>>2]+1|0;e=C[p+4>>2];k:{switch(D[p+13|0]-8|0){case 0:c=3;l:{switch(j-2|0){case 4:c=4;break;case 0:break l;default:break j}}if(!e){break j}if((e|0)!=1){g=e&-2;while(1){j=D[d+1|0];A[d|0]=j+D[d|0];A[d+2|0]=j+D[d+2|0];d=c+d|0;j=D[d+1|0];A[d+2|0]=j+D[d+2|0];A[d|0]=j+D[d|0];d=c+d|0;f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(e&1)){break j}c=D[d+1|0];A[d|0]=c+D[d|0];A[d+2|0]=c+D[d+2|0];break j;case 8:break k;default:break j}}g=6;m:{switch(j-2|0){case 4:g=8;break;case 0:break m;default:break j}}if(!e){break j}c=0;while(1){f=D[d+3|0]|D[d+2|0]<<8;j=f+(D[d+5|0]|D[d+4|0]<<8)|0;A[d+5|0]=j;f=f+(D[d+1|0]|D[d|0]<<8)|0;A[d+1|0]=f;A[d+4|0]=j>>>8;A[d|0]=f>>>8;d=d+g|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(C[a+212>>2]){n:{j=p+4|0;r=Ce-16|0;Ce=r;o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{c=C[a+380>>2];if(c){if((C[a+208>>2]&16448)==16384){break z}d=C[a+212>>2];A:{if(!(d&4096)){break A}if(D[j+8|0]==3){h=c+1|0;f=C[j>>2];o=E[a+416>>1];q=C[a+520>>2];i=C[a+404>>2];c=D[j+9|0];B:{if(c>>>0<=7){C:{D:{switch(c-1|0){case 0:if(!f){break C}d=f+h|0;c=0-f&7;g=f-1|0;e=h+(g>>>3|0)|0;if(g){l=f&-2;g=0;while(1){A[d-1|0]=D[e|0]>>>c&1;d=d-2|0;m=e;e=(c|0)==7;k=m-e|0;c=e?0:c+1|0;A[d|0]=D[k|0]>>>c&1;e=(c|0)==7;c=e?0:c+1|0;e=k-e|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(f&1)){break C}A[d-1|0]=D[e|0]>>>c&1;break C;case 1:if(!f){break C}d=f+h|0;g=f-1|0;e=h+(g>>>2|0)|0;c=((f<<1)+6^-1)&6;if(g){l=f&-2;g=0;while(1){A[d-1|0]=D[e|0]>>>c&3;d=d-2|0;m=e;e=(c|0)==6;k=m-e|0;c=e?0:c+2|0;A[d|0]=D[k|0]>>>c&3;e=(c|0)==6;c=e?0:c+2|0;e=k-e|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(f&1)){break C}A[d-1|0]=D[e|0]>>>c&3;break C;case 3:break D;default:break C}}if(!f){break C}d=f+h|0;c=f<<2&4;g=f-1|0;e=h+(g>>>1|0)|0;if(g){l=f&-2;g=0;while(1){A[d-1|0]=D[e|0]>>>c&15;d=d-2|0;m=e;e=(c|0)==4;k=m-e|0;c=e?0:c+4|0;A[d|0]=D[k|0]>>>c&15;e=(c|0)==4;c=e?0:c+4|0;e=k-e|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(f&1)){break C}A[d-1|0]=D[e|0]>>>c&15}A[j+11|0]=8;A[j+9|0]=8;C[j+4>>2]=f;break B}if((c|0)!=8){break A}}E:{if(o){k=4;l=6;m=32;if(!f){break E}c=f+h|0;n=f<<2;d=h+n|0;g=0;while(1){h=d-1|0;c=c-1|0;e=D[c|0];if(e>>>0>>0){e=D[e+q|0]}else{e=255}A[h|0]=e;A[d-2|0]=D[(i+I(D[c|0],3)|0)+2|0];A[d-3|0]=D[(i+I(D[c|0],3)|0)+1|0];d=d-4|0;A[d|0]=D[i+I(D[c|0],3)|0];g=g+1|0;if((f|0)!=(g|0)){continue}break}break E}k=3;l=2;m=24;if(!f){break E}c=f+h|0;n=I(f,3);d=h+n|0;e=0;while(1){c=c-1|0;A[d-1|0]=D[(i+I(D[c|0],3)|0)+2|0];A[d-2|0]=D[(i+I(D[c|0],3)|0)+1|0];d=d-3|0;A[d|0]=D[i+I(D[c|0],3)|0];e=e+1|0;if((f|0)!=(e|0)){continue}break}}A[j+11|0]=m;A[j+9|0]=8;A[j+10|0]=k;A[j+8|0]=l;C[j+4>>2]=n;break A}c=c+1|0;if(!(!E[a+416>>1]|!(d&33554432))){qv(j,c,a+524|0);break A}qv(j,c,0)}c=C[a+212>>2];F:{if((c&262272)!=262144){break F}G:{switch(D[j+8|0]-4|0){case 0:case 2:break G;default:break F}}jv(j,C[a+380>>2]+1|0);c=C[a+212>>2]}H:{if(!(c&6291456)){break H}d=D[j+8|0];if((d&3)!=2){break H}c=C[a+380>>2]+1|0;i=d&4;l=E[a+674>>1];n=E[a+676>>1];o=32768-(l+n|0)|0;h=C[j>>2];I:{if(D[j+9|0]==8){J:{m=C[a+492>>2];if(!m){break J}k=C[a+496>>2];if(!k){break J}f=0;if(!h){break I}e=c;g=0;while(1){d=D[c|0];q=D[c+1|0];t=D[c+2|0];K:{L:{if(!((d|0)==(q|0)&(t|0)==(d|0))){f=1;d=m+(((I(l,D[d+k|0])+I(n,D[k+q|0])|0)+I(o,D[k+t|0])|0)+16384>>>15|0)|0;break L}q=C[a+484>>2];if(!q){break K}d=d+q|0}d=D[d|0]}A[e|0]=d;M:{if(!i){e=e+1|0;c=c+3|0;break M}A[e+1|0]=D[c+3|0];e=e+2|0;c=c+4|0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break I}f=0;if(!h){break I}e=c;g=0;while(1){d=D[c|0];k=D[c+1|0];m=D[c+2|0];if(!((d|0)==(k|0)&(m|0)==(d|0))){f=1;d=(I(k,n)+I(d,l)|0)+I(m,o)>>>15|0}A[e|0]=d;N:{if(!i){e=e+1|0;c=c+3|0;break N}A[e+1|0]=D[c+3|0];e=e+2|0;c=c+4|0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break I}O:{g=C[a+504>>2];if(!g){break O}H=C[a+500>>2];if(!H){break O}f=0;if(!h){break I}d=c;m=0;while(1){e=D[c+4|0]|D[c+5|0]<<8;q=e<<8|e>>>8;e=D[c+1|0];k=D[c|0];t=e|k<<8;y=D[c+3|0];z=D[c+2|0];P:{Q:{if(!((t|0)!=(y|z<<8)|(t|0)!=(q&65535))){q=C[a+488>>2];if(!q){break P}e=E[C[q+(y>>>C[a+476>>2]<<2)>>2]+(z<<1)>>1];break Q}f=1;e=C[a+476>>2];k=((I(l,E[C[g+((t&255)>>>e<<2)>>2]+(t>>>7&510)>>1])+I(n,E[C[g+(y>>>e<<2)>>2]+(z<<1)>>1])|0)+I(o,E[C[g+((q&255)>>>e<<2)>>2]+(q>>>7&510)>>1])|0)+16384|0;e=E[C[((k>>>15&255)>>>e<<2)+H>>2]+(k>>>22&510)>>1]}k=e>>>8|0}A[d+1|0]=e;A[d|0]=k;R:{if(!i){d=d+2|0;c=c+6|0;break R}A[d+2|0]=D[c+6|0];A[d+3|0]=D[c+7|0];d=d+4|0;c=c+8|0}m=m+1|0;if((h|0)!=(m|0)){continue}break}break I}f=0;if(!h){break I}k=0;d=c;while(1){e=D[d+1|0]|D[d|0]<<8;g=D[d+3|0]|D[d+2|0]<<8;m=D[d+5|0]|D[d+4|0]<<8;q=((I(e,l)+I(g,n)|0)+I(m,o)|0)+16384|0;A[c+1|0]=q>>>15;A[c|0]=q>>>23;f=(e|0)!=(m|0)?1:f;e=(e|0)==(g|0);S:{if(!i){d=d+6|0;c=c+2|0;break S}A[c+2|0]=D[d+6|0];A[c+3|0]=D[d+7|0];d=d+8|0;c=c+4|0}f=e?f:1;k=k+1|0;if((h|0)!=(k|0)){continue}break}}c=D[j+10|0]-2|0;A[j+10|0]=c;A[j+8|0]=D[j+8|0]&253;c=I(c,D[j+9|0]);A[j+11|0]=c;c=c&255;T:{if(c>>>0>=8){c=I(h,c>>>3|0);break T}c=I(c,h)+7>>>3|0}C[j+4>>2]=c;if(!f){c=C[a+212>>2];break H}A[a+672|0]=1;c=C[a+212>>2];if((c&6291456)==2097152){break y}}if(!(!(c&16384)|D[a+205|0]&8)){pv(j,C[a+380>>2]+1|0);c=C[a+212>>2]}if(!(c&128)){break o}m=C[a+208>>2]&8192;c=C[a+380>>2]+1|0;i=C[j>>2];f=C[a+476>>2];d=C[a+504>>2];o=C[a+500>>2];h=C[a+488>>2];g=C[a+496>>2];l=C[a+492>>2];e=C[a+484>>2];U:{V:{switch(D[j+8|0]){case 0:W:{switch(D[j+9|0]-1|0){case 0:if(!i){break o}d=E[a+532>>1];e=0;h=7;while(1){f=D[c|0];if((d|0)==(f>>>h&1)){A[c|0]=f&32639>>>7-h|E[a+452>>1]<>1];f=0;h=6;while(1){d=D[c|0];l=d>>>h&3;X:{if((l|0)==(g|0)){d=E[a+452>>1]<>>6-h;break X}d=d&16191>>>6-h|D[e+I(l,85)|0]>>>6<>1];f=0;h=4;while(1){d=D[c|0];l=d>>>h&15;Y:{if((l|0)==(g|0)){d=E[a+452>>1]<>>4-h;break Y}d=d&3855>>>4-h|D[e+I(l,17)|0]>>>4<>1];if((i|0)!=1){h=i&-2;d=0;while(1){g=D[c|0];if((g|0)==(f|0)){g=D[a+452|0]}else{g=D[e+g|0]}A[c|0]=g;g=D[c+1|0];Z:{if((g|0)!=(f|0)){g=D[e+g|0];break Z}g=D[a+452|0]}A[c+1|0]=g;c=c+2|0;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(i&1)){break o}d=D[c|0];if((d|0)==(f|0)){break U}A[c|0]=D[d+e|0];break o;case 15:break W;default:break o}}if(h){if(!i){break o}e=a+452|0;l=E[a+532>>1];g=0;while(1){k=D[c+1|0];d=D[c|0];if((l|0)!=(k|d<<8)){d=C[h+(k>>>f<<2)>>2]+(d<<1)|0}else{d=e}d=E[d>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}break o}if(!i){break o}e=E[a+532>>1];if((i|0)!=1){f=i&-2;d=0;while(1){if((e|0)==(D[c+1|0]|D[c|0]<<8)){g=E[a+452>>1];g=g<<8|g>>>8;A[c|0]=g;A[c+1|0]=g>>>8}if((e|0)==(D[c+3|0]|D[c+2|0]<<8)){g=E[a+452>>1];g=g<<8|g>>>8;A[c+2|0]=g;A[c+3|0]=g>>>8}c=c+4|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(i&1)|(e|0)!=(D[c+1|0]|D[c|0]<<8)){break o}d=E[a+452>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break o;case 2:if(D[j+9|0]==8){if(!e){break s}if(!i){break o}f=0;g=E[a+526>>1];while(1){h=D[c|0];d=D[c+1|0];_:{if(!((h|0)!=(g|0)|(d|0)!=E[a+528>>1]|E[a+530>>1]!=D[c+2|0])){A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0];break _}A[c|0]=D[e+h|0];A[c+1|0]=D[d+e|0];A[c+2|0]=D[e+D[c+2|0]|0]}c=c+3|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break o}if(!h){break t}if(!i){break o}e=a+450|0;m=E[a+526>>1];l=0;while(1){d=D[c+4|0];g=D[c+5|0];q=D[c+1|0];o=D[c|0];n=D[c+3|0];k=D[c+2|0];$:{if(!((m|0)!=(q|o<<8)|E[a+528>>1]!=(n|k<<8)|E[a+530>>1]!=(g|d<<8))){d=E[a+446>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;d=E[a+448>>1];d=d<<8|d>>>8;A[c+2|0]=d;A[c+3|0]=d>>>8;d=e;break $}o=E[C[h+(q>>>f<<2)>>2]+(o<<1)>>1];o=o<<8|o>>>8;A[c|0]=o;A[c+1|0]=o>>>8;k=E[C[h+(n>>>f<<2)>>2]+(k<<1)>>1];k=k<<8|k>>>8;A[c+2|0]=k;A[c+3|0]=k>>>8;d=C[h+(g>>>f<<2)>>2]+(d<<1)|0}d=E[d>>1];d=d<<8|d>>>8;A[c+4|0]=d;A[c+5|0]=d>>>8;c=c+6|0;l=l+1|0;if((i|0)!=(l|0)){continue}break};break o;case 4:if(D[j+9|0]==8){if(!(e?!g|!l:1)){break u}if(!i){break o}e=0;while(1){d=D[c+1|0];if((d|0)!=255){if(d){d=(I(E[a+452>>1],d^255)+I(d,D[c|0])|0)+128&65535;d=(d>>>8|0)+d>>>8|0}else{d=D[a+452|0]}A[c|0]=d}c=c+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}break o}if(!(d?!h|!o:1)){break v}if(!i){break o}e=0;while(1){d=D[c+3|0]|D[c+2|0]<<8;aa:{if((d|0)==65535){break aa}if(!d){d=E[a+452>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break aa}d=(I(E[a+452>>1],d^65535)+I(d,D[c+1|0]|D[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;A[c+1|0]=d>>>16;A[c|0]=d>>>24}c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break};break o;case 6:break V;default:break o}}if(D[j+9|0]==8){if(!(e?!g|!l:1)){break w}if(!i){break o}e=0;while(1){d=D[c+3|0];ba:{if((d|0)==255){break ba}if(!d){A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0];break ba}f=d^255;g=(I(d,D[c|0])+I(f,E[a+446>>1])|0)+128|0;A[c|0]=(g>>>8&255)+g>>>8;g=(I(d,D[c+1|0])+I(f,E[a+448>>1])|0)+128|0;A[c+1|0]=(g>>>8&255)+g>>>8;d=(I(d,D[c+2|0])+I(f,E[a+450>>1])|0)+128|0;A[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}break o}if(!(d?!h|!o:1)){break x}if(!i){break o}e=0;while(1){d=D[c+7|0]|D[c+6|0]<<8;ca:{if((d|0)==65535){break ca}if(!d){d=E[a+446>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;d=E[a+448>>1];d=d<<8|d>>>8;A[c+2|0]=d;A[c+3|0]=d>>>8;d=E[a+450>>1];d=d<<8|d>>>8;A[c+4|0]=d;A[c+5|0]=d>>>8;break ca}f=d^65535;g=(I(d,D[c+1|0]|D[c|0]<<8)+I(f,E[a+446>>1])|0)+32768|0;g=(g>>>16|0)+g|0;A[c+1|0]=g>>>16;A[c|0]=g>>>24;g=(I(d,D[c+3|0]|D[c+2|0]<<8)+I(f,E[a+448>>1])|0)+32768|0;g=(g>>>16|0)+g|0;A[c+2|0]=g>>>24;A[c+3|0]=g>>>16;d=(I(d,D[c+5|0]|D[c+4|0]<<8)+I(f,E[a+450>>1])|0)+32768|0;d=(d>>>16|0)+d|0;A[c+4|0]=d>>>24;A[c+5|0]=d>>>16}c=c+8|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}break o}A[c|0]=D[a+452|0];break o}Af(a,10958);s()}Af(a,1777);s()}Af(a,13486);s()}if(!i){break o}n=0;while(1){da:{ea:{e=D[c+7|0]|D[c+6|0]<<8;if(e){if((e|0)!=65535){break ea}e=E[C[h+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;e=E[C[h+(D[c+3|0]>>>f<<2)>>2]+(D[c+2|0]<<1)>>1];e=e<<8|e>>>8;A[c+2|0]=e;A[c+3|0]=e>>>8;e=E[C[h+(D[c+5|0]>>>f<<2)>>2]+(D[c+4|0]<<1)>>1];e=e<<8|e>>>8;A[c+4|0]=e;A[c+5|0]=e>>>8;break da}e=E[a+446>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;e=E[a+448>>1];e=e<<8|e>>>8;A[c+2|0]=e;A[c+3|0]=e>>>8;e=E[a+450>>1];e=e<<8|e>>>8;A[c+4|0]=e;A[c+5|0]=e>>>8;break da}k=e^65535;g=(I(e,E[C[d+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1])+I(k,E[a+456>>1])|0)+32768|0;l=(g>>>16|0)+g|0;g=l>>>24|0;l=l>>>16|0;if(!m){l=E[C[o+((l&255)>>>f<<2)>>2]+(g<<1)>>1];g=l>>>8|0}A[c+1|0]=l;A[c|0]=g;g=(I(e,E[C[d+(D[c+3|0]>>>f<<2)>>2]+(D[c+2|0]<<1)>>1])+I(k,E[a+458>>1])|0)+32768|0;l=(g>>>16|0)+g|0;g=l>>>24|0;l=l>>>16|0;if(!m){l=E[C[o+((l&255)>>>f<<2)>>2]+(g<<1)>>1];g=l>>>8|0}A[c+3|0]=l;A[c+2|0]=g;e=(I(e,E[C[d+(D[c+5|0]>>>f<<2)>>2]+(D[c+4|0]<<1)>>1])+I(k,E[a+460>>1])|0)+32768|0;g=(e>>>16|0)+e|0;e=g>>>24|0;k=g>>>16|0;if(!m){k=E[C[o+((k&255)>>>f<<2)>>2]+(e<<1)>>1];e=k>>>8|0}A[c+5|0]=k;A[c+4|0]=e}c=c+8|0;n=n+1|0;if((i|0)!=(n|0)){continue}break}break o}if(!i){break o}f=0;while(1){fa:{ga:{h=D[c+3|0];if(h){if((h|0)!=255){break ga}A[c|0]=D[e+D[c|0]|0];A[c+1|0]=D[e+D[c+1|0]|0];A[c+2|0]=D[e+D[c+2|0]|0];break fa}A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0];break fa}k=h^255;d=(I(h,D[g+D[c|0]|0])+I(k,E[a+456>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!m){d=D[l+(d&255)|0]}A[c|0]=d;d=(I(h,D[g+D[c+1|0]|0])+I(k,E[a+458>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!m){d=D[l+(d&255)|0]}A[c+1|0]=d;d=(I(h,D[g+D[c+2|0]|0])+I(k,E[a+460>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!m){d=D[l+(d&255)|0]}A[c+2|0]=d}c=c+4|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break o}if(!i){break o}n=0;while(1){ha:{ia:{e=D[c+3|0]|D[c+2|0]<<8;if(e){if((e|0)!=65535){break ia}e=E[C[h+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;break ha}e=E[a+452>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;break ha}e=(I(e,E[C[d+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1])+I(E[a+462>>1],e^65535)|0)+32768|0;g=(e>>>16|0)+e|0;e=g>>>16|0;if(m){g=g>>>24|0}else{e=E[C[o+((e&255)>>>f<<2)>>2]+(g>>>23&510)>>1];g=e>>>8|0}A[c+1|0]=e;A[c|0]=g}c=c+4|0;n=n+1|0;if((i|0)!=(n|0)){continue}break}break o}if(!i){break o}f=0;while(1){ja:{ka:{d=D[c+1|0];if(d){if((d|0)!=255){break ka}d=D[e+D[c|0]|0];break ja}d=D[a+452|0];break ja}d=(I(E[a+462>>1],d^255)+I(d,D[g+D[c|0]|0])|0)+128&65535;d=(d>>>8|0)+d>>>8|0;if(m){break ja}d=D[l+(d&255)|0]}A[c|0]=d;c=c+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break o}if(!i){break o}d=E[a+526>>1];h=0;while(1){if(!((d|0)!=(D[c+1|0]|D[c|0]<<8)|E[a+528>>1]!=(D[c+3|0]|D[c+2|0]<<8)|E[a+530>>1]!=(D[c+5|0]|D[c+4|0]<<8))){e=E[a+446>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;e=E[a+448>>1];e=e<<8|e>>>8;A[c+2|0]=e;A[c+3|0]=e>>>8;e=E[a+450>>1];e=e<<8|e>>>8;A[c+4|0]=e;A[c+5|0]=e>>>8}c=c+6|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}break o}if(!i){break o}h=0;d=E[a+526>>1];while(1){if(!((d|0)!=D[c|0]|E[a+528>>1]!=D[c+1|0]|E[a+530>>1]!=D[c+2|0])){A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0]}c=c+3|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}break o}if(!i){break o}e=E[a+532>>1];if(i>>>0>=4){d=i&-4;h=0;while(1){if((e|0)==D[c|0]){A[c|0]=D[a+452|0]}if((e|0)==D[c+1|0]){A[c+1|0]=D[a+452|0]}if((e|0)==D[c+2|0]){A[c+2|0]=D[a+452|0]}if((e|0)==D[c+3|0]){A[c+3|0]=D[a+452|0]}c=c+4|0;h=h+4|0;if((d|0)!=(h|0)){continue}break}}f=i&3;if(!f){break o}d=0;while(1){if((e|0)==D[c|0]){A[c|0]=D[a+452|0]}c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}break o}if(!i){break o}d=E[a+532>>1];e=0;h=4;while(1){f=D[c|0];if((d|0)==(f>>>h&15)){A[c|0]=f&3855>>>4-h|E[a+452>>1]<>1];e=0;h=6;while(1){f=D[c|0];if((d|0)==(f>>>h&3)){A[c|0]=f&16191>>>6-h|E[a+452>>1]<>2];la:{if((c&6299648)!=8192){break la}ma:{if(!(c&128)){c=D[a+423|0];break ma}if(E[a+416>>1]){break la}c=D[a+423|0];if(c&4){break la}}if((c&255)==3){break la}c=C[a+380>>2];i=C[j>>2];h=C[a+476>>2];e=C[a+488>>2];f=D[j+9|0];d=C[a+484>>2];if(!(d?f>>>0<=8:0)&(!e|(f|0)!=16)){break la}c=c+1|0;na:{switch(D[j+8|0]){case 2:if((f|0)!=8){if(!i){break la}d=0;while(1){f=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;f=E[C[e+(D[c+3|0]>>>h<<2)>>2]+(D[c+2|0]<<1)>>1];f=f<<8|f>>>8;A[c+2|0]=f;A[c+3|0]=f>>>8;f=E[C[e+(D[c+5|0]>>>h<<2)>>2]+(D[c+4|0]<<1)>>1];f=f<<8|f>>>8;A[c+4|0]=f;A[c+5|0]=f>>>8;c=c+6|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break la}if(!i){break la}if((i|0)!=1){e=i&-2;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+3|0]=D[d+D[c+3|0]|0];A[c+4|0]=D[d+D[c+4|0]|0];A[c+5|0]=D[d+D[c+5|0]|0];c=c+6|0;h=h+2|0;if((e|0)!=(h|0)){continue}break}}if(!(i&1)){break la}A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];break la;case 6:if((f|0)!=8){if(!i){break la}d=0;while(1){f=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;f=E[C[e+(D[c+3|0]>>>h<<2)>>2]+(D[c+2|0]<<1)>>1];f=f<<8|f>>>8;A[c+2|0]=f;A[c+3|0]=f>>>8;f=E[C[e+(D[c+5|0]>>>h<<2)>>2]+(D[c+4|0]<<1)>>1];f=f<<8|f>>>8;A[c+4|0]=f;A[c+5|0]=f>>>8;c=c+8|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break la}if(!i){break la}if((i|0)!=1){e=i&-2;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+4|0]=D[d+D[c+4|0]|0];A[c+5|0]=D[d+D[c+5|0]|0];A[c+6|0]=D[d+D[c+6|0]|0];c=c+8|0;h=h+2|0;if((e|0)!=(h|0)){continue}break}}if(!(i&1)){break la}A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];break la;case 4:if((f|0)!=8){if(!i){break la}if((i|0)!=1){f=i&-2;d=0;while(1){g=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];g=g<<8|g>>>8;A[c|0]=g;A[c+1|0]=g>>>8;g=E[C[e+(D[c+5|0]>>>h<<2)>>2]+(D[c+4|0]<<1)>>1];g=g<<8|g>>>8;A[c+4|0]=g;A[c+5|0]=g>>>8;c=c+8|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(i&1)){break la}d=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break la}if(!i){break la}if(i-1>>>0>=3){e=i&-4;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+4|0]=D[d+D[c+4|0]|0];A[c+6|0]=D[d+D[c+6|0]|0];c=c+8|0;h=h+4|0;if((e|0)!=(h|0)){continue}break}}e=i&3;if(!e){break la}h=0;while(1){A[c|0]=D[d+D[c|0]|0];c=c+2|0;h=h+1|0;if((e|0)!=(h|0)){continue}break};break la;case 0:break na;default:break la}}oa:{pa:{qa:{if(!(!i|(f|0)!=2)){l=0;g=c;while(1){f=D[g|0];k=f&48;m=D[d+(k<<2|k>>>2|k>>>4|k)|0]>>>2&48;k=f&192;m=m|D[d+(f>>>6|k>>>4|k>>>2|k)|0]&192;k=f&12;A[g|0]=m|D[d+(I(k,20)|k>>>2|k)|0]>>>4&12|D[d+I(f&3,85)|0]>>>6;g=g+1|0;l=l+4|0;if(i>>>0>l>>>0){continue}break}f=D[j+9|0]}switch((f&255)-4|0){case 0:break oa;case 4:break pa;case 12:break qa;default:break la}}if(!i){break la}if((i|0)!=1){f=i&-2;d=0;while(1){g=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];g=g<<8|g>>>8;A[c|0]=g;A[c+1|0]=g>>>8;g=E[C[e+(D[c+3|0]>>>h<<2)>>2]+(D[c+2|0]<<1)>>1];g=g<<8|g>>>8;A[c+2|0]=g;A[c+3|0]=g>>>8;c=c+4|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(i&1)){break la}d=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break la}if(!i){break la}if(i-1>>>0>=3){e=i&-4;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+3|0]=D[d+D[c+3|0]|0];c=c+4|0;h=h+4|0;if((e|0)!=(h|0)){continue}break}}e=i&3;if(!e){break la}h=0;while(1){A[c|0]=D[d+D[c|0]|0];c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break la}if(!i){break la}e=0;while(1){f=D[c|0];A[c|0]=D[d+I(f&15,17)|0]>>>4|D[d+(f&240|f>>>4)|0]&240;c=c+1|0;e=e+2|0;if(i>>>0>e>>>0){continue}break}}c=C[a+212>>2];ra:{if((c&262272)!=262272){break ra}sa:{switch(D[j+8|0]-4|0){case 0:case 2:break sa;default:break ra}}jv(j,C[a+380>>2]+1|0);c=C[a+212>>2]}ta:{if(!(c&8388608)){break ta}f=D[j+8|0];c=f&4;if(!c|!c){break ta}c=C[a+380>>2];d=C[j>>2];ua:{switch(D[j+9|0]-8|0){case 0:g=C[a+492>>2];if(!g|!d){break ta}h=f&2?4:2;i=d&3;va:{if(!i){e=d;break va}f=0;e=d;while(1){c=c+h|0;A[c|0]=D[g+D[c|0]|0];e=e-1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(d>>>0<4){break ta}while(1){c=c+h|0;A[c|0]=D[g+D[c|0]|0];c=c+h|0;A[c|0]=D[g+D[c|0]|0];c=c+h|0;A[c|0]=D[g+D[c|0]|0];c=c+h|0;A[c|0]=D[g+D[c|0]|0];e=e-4|0;if(e){continue}break};break ta;case 8:break ua;default:break ta}}e=C[a+500>>2];if(!e|!d){break ta}g=C[a+476>>2];h=f&2?8:4;c=(h+c|0)-1|0;if(d&1){f=E[C[e+(D[c+1|0]>>>g<<2)>>2]+(D[c|0]<<1)>>1];f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;c=c+h|0;f=d-1|0}else{f=d}if((d|0)==1){break ta}while(1){d=E[C[e+(D[c+1|0]>>>g<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=c+h|0;d=E[C[e+(D[c+1|0]>>>g<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=c+h|0;f=f-2|0;if(f){continue}break}}c=C[a+212>>2];if(!(!(c&67108864)|D[j+9|0]!=16)){d=C[j+4>>2];if((d|0)>0){c=C[a+380>>2]+1|0;e=d+c|0;d=c;while(1){f=D[c|0];A[d|0]=(I(D[c+1|0]-f|0,65535)+8388480>>>24|0)+f;d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}c=C[a+212>>2]}A[j+9|0]=8;d=D[j+10|0];A[j+11|0]=d<<3;C[j+4>>2]=I(d,C[j>>2])}if(!(!(c&1024)|D[j+9|0]!=16)){d=C[j+4>>2];if((d|0)>0){c=C[a+380>>2]+1|0;e=d+c|0;d=c;while(1){A[d|0]=D[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}c=C[a+212>>2]}A[j+9|0]=8;d=D[j+10|0];A[j+11|0]=d<<3;C[j+4>>2]=I(d,C[j>>2])}wa:{if(c&64){xa:{if(D[j+9|0]!=8){break xa}c=C[a+380>>2]+1|0;e=C[j>>2];d=C[a+608>>2];ya:{za:{Aa:{Ba:{g=C[a+604>>2];f=D[j+8|0];if(!(!g|(f|0)!=2)){if(!e){break Ba}h=0;d=c;while(1){A[d|0]=D[g+(D[c+1|0]<<2&992|D[c|0]<<7&31744|D[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}A[j+10|0]=1;A[j+8|0]=3;c=D[j+9|0];A[j+11|0]=c;if(c>>>0>=8){break ya}C[j+4>>2]=I(c,e)+7>>>3;break xa}if(!(!g|(f|0)!=6)){if(!e){break Aa}h=0;d=c;while(1){A[d|0]=D[g+(D[c+1|0]<<2&992|D[c|0]<<7&31744|D[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}A[j+10|0]=1;A[j+8|0]=3;c=D[j+9|0];A[j+11|0]=c;if(c>>>0>=8){break za}C[j+4>>2]=I(c,e)+7>>>3;break xa}if(!e|(!d|(f|0)!=3)){break xa}if(e>>>0>=4){f=e&-4;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+3|0]=D[d+D[c+3|0]|0];c=c+4|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}}e=e&3;if(!e){break xa}h=0;while(1){A[c|0]=D[d+D[c|0]|0];c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break xa}B[j+10>>1]=2049;A[j+8|0]=3;c=8;break ya}B[j+10>>1]=2049;A[j+8|0]=3;c=8}C[j+4>>2]=I(e,c>>>3|0);break xa}C[j+4>>2]=I(e,c>>>3|0)}if(!C[j+4>>2]){break wa}c=C[a+212>>2]}if(!(!(c&512)|D[j+9|0]!=8|D[j+8|0]==3)){d=C[j+4>>2];if((d|0)>0){c=(C[a+380>>2]+1|0)+d|0;d=d+c|0;while(1){e=d-2|0;c=c-1|0;f=D[c|0];A[e|0]=f;A[d-1|0]=f;d=e;if(d>>>0>c>>>0){continue}break}d=C[j+4>>2];c=C[a+212>>2]}A[j+9|0]=16;C[j+4>>2]=d<<1;A[j+11|0]=D[j+10|0]<<4}if(!(!(c&16384)|!(D[a+205|0]&8))){pv(j,C[a+380>>2]+1|0);c=C[a+212>>2]}if(c&32){d=C[a+380>>2]+1|0;Ca:{Da:{switch(D[j+8|0]){case 0:e=C[j+4>>2];if(!e){break Ca}if(e>>>0>=4){f=e&-4;c=0;while(1){A[d|0]=D[d|0]^-1;A[d+1|0]=D[d+1|0]^-1;A[d+2|0]=D[d+2|0]^-1;A[d+3|0]=D[d+3|0]^-1;d=d+4|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break Ca}c=0;while(1){A[d|0]=D[d|0]^-1;d=d+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ca;case 4:break Da;default:break Ca}}Ea:{switch(D[j+9|0]-8|0){case 0:c=C[j+4>>2];if(!c){break Ca}f=(c-1>>>1|0)+1|0;e=f&3;if(c>>>0>=7){f=f&-4;c=0;while(1){A[d|0]=D[d|0]^-1;A[d+2|0]=D[d+2|0]^-1;A[d+4|0]=D[d+4|0]^-1;A[d+6|0]=D[d+6|0]^-1;d=d+8|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}if(!e){break Ca}c=0;while(1){A[d|0]=D[d|0]^-1;d=d+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ca;case 8:break Ea;default:break Ca}}c=C[j+4>>2];if(!c){break Ca}f=(c-1>>>2|0)+1|0;e=f&3;if(c>>>0>=13){f=f&2147483644;c=0;while(1){A[d|0]=D[d|0]^-1;A[d+1|0]=D[d+1|0]^-1;A[d+4|0]=D[d+4|0]^-1;A[d+5|0]=D[d+5|0]^-1;A[d+8|0]=D[d+8|0]^-1;A[d+9|0]=D[d+9|0]^-1;A[d+12|0]=D[d+12|0]^-1;A[d+13|0]=D[d+13|0]^-1;d=d+16|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}if(!e){break Ca}c=0;while(1){A[d|0]=D[d|0]^-1;A[d+1|0]=D[d+1|0]^-1;d=d+4|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=C[a+212>>2]}Fa:{if(!(c&524288)){break Fa}c=C[a+380>>2]+1|0;e=C[j>>2];Ga:{switch(D[j+8|0]-4|0){case 2:if(D[j+9|0]==8){if(!e){break Fa}c=c+C[j+4>>2]|0;if(e>>>0>=4){f=e&-4;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-5|0;A[g|0]=D[g|0]^-1;g=c-9|0;A[g|0]=D[g|0]^-1;g=c-13|0;A[g|0]=D[g|0]^-1;c=c-16|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}e=e&3;if(!e){break Fa}d=0;while(1){f=c-1|0;A[f|0]=D[f|0]^-1;c=c-4|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}break Fa}if(!e){break Fa}c=c+C[j+4>>2]|0;if((e|0)!=1){f=e&-2;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-2|0;A[g|0]=D[g|0]^-1;g=c-9|0;A[g|0]=D[g|0]^-1;g=c-10|0;A[g|0]=D[g|0]^-1;c=c-16|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(e&1)){break Fa}d=c-1|0;A[d|0]=D[d|0]^-1;c=c-2|0;A[c|0]=D[c|0]^-1;break Fa;case 0:break Ga;default:break Fa}}if(D[j+9|0]==8){if(!e){break Fa}c=c+C[j+4>>2]|0;if(e>>>0>=4){f=e&-4;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-3|0;A[g|0]=D[g|0]^-1;g=c-5|0;A[g|0]=D[g|0]^-1;g=c-7|0;A[g|0]=D[g|0]^-1;c=c-8|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}e=e&3;if(!e){break Fa}d=0;while(1){f=c-1|0;A[f|0]=D[f|0]^-1;c=c-2|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}break Fa}if(!e){break Fa}c=c+C[j+4>>2]|0;if((e|0)!=1){f=e&-2;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-2|0;A[g|0]=D[g|0]^-1;g=c-5|0;A[g|0]=D[g|0]^-1;g=c-6|0;A[g|0]=D[g|0]^-1;c=c-8|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(e&1)){break Fa}d=c-1|0;A[d|0]=D[d|0]^-1;c=c-2|0;A[c|0]=D[c|0]^-1}c=C[a+212>>2];Ha:{if(!(c&8)){break Ha}e=D[j+8|0];if((e|0)==3){break Ha}g=D[j+9|0];Ia:{if(e&2){f=D[a+513|0];C[r+4>>2]=g-D[a+514|0];C[r+8>>2]=g-D[a+515|0];d=3;break Ia}f=D[a+516|0];d=1}i=C[a+380>>2];C[r>>2]=g-(f&255);if(e&4){C[(r|d<<2)>>2]=g-D[a+517|0];d=d+1|0}f=C[r>>2];e=(f|0)<(g|0)&(f|0)>0;C[r>>2]=e?f:0;Ja:{if((d|0)==1){break Ja}f=C[r+4>>2];h=(f|0)<(g|0)&(f|0)>0;C[r+4>>2]=h?f:0;e=h?1:e;if((d|0)==2){break Ja}f=C[r+8>>2];h=(f|0)<(g|0)&(f|0)>0;C[r+8>>2]=h?f:0;e=h?1:e;if((d|0)==3){break Ja}f=C[r+12>>2];h=(f|0)<(g|0)&(f|0)>0;C[r+12>>2]=h?f:0;e=h?1:e}if(!e){break Ha}c=i+1|0;Ka:{La:{switch(g<<31|g-2>>>1){case 0:d=C[j+4>>2];if((d|0)<=0){break Ka}d=c+d|0;while(1){A[c|0]=D[c|0]>>>1&85;c=c+1|0;if(d>>>0>c>>>0){continue}break};break Ka;case 1:d=C[j+4>>2];if((d|0)<=0){break Ka}e=C[r>>2];f=I(15>>>e|0,17);d=c+d|0;while(1){A[c|0]=f&D[c|0]>>>e;c=c+1|0;if(d>>>0>c>>>0){continue}break};break Ka;case 3:e=C[j+4>>2];if((e|0)<=0){break Ka}e=c+e|0;h=0;while(1){A[c|0]=D[c|0]>>>C[r+(h<<2)>>2];f=h+1|0;h=(d|0)>(f|0)?f:0;c=c+1|0;if(e>>>0>c>>>0){continue}break};break Ka;case 7:break La;default:break Ka}}e=C[j+4>>2];if((e|0)<=0){break Ka}e=c+e|0;h=0;while(1){f=(D[c+1|0]|D[c|0]<<8)>>>C[r+(h<<2)>>2]|0;f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;f=h+1|0;h=(d|0)>(f|0)?f:0;c=c+2|0;if(e>>>0>c>>>0){continue}break}}c=C[a+212>>2]}Ma:{if(!(c&4)){break Ma}c=D[j+9|0];if(c>>>0>7){break Ma}e=C[a+380>>2]+1|0;f=C[j>>2];Na:{Oa:{switch(c-1|0){case 0:if(!f){break Na}d=e+f|0;c=0-f&7;g=f-1|0;h=e+(g>>>3|0)|0;if(g){g=f&-2;e=0;while(1){A[d-1|0]=D[h|0]>>>c&1;d=d-2|0;i=h;h=(c|0)==7;i=i-h|0;c=h?0:c+1|0;A[d|0]=D[i|0]>>>c&1;h=(c|0)==7;c=h?0:c+1|0;h=i-h|0;e=e+2|0;if((g|0)!=(e|0)){continue}break}}if(!(f&1)){break Na}A[d-1|0]=D[h|0]>>>c&1;break Na;case 1:if(!f){break Na}d=e+f|0;g=f-1|0;h=e+(g>>>2|0)|0;c=((f<<1)+6^-1)&6;if(g){g=f&-2;e=0;while(1){A[d-1|0]=D[h|0]>>>c&3;d=d-2|0;i=h;h=(c|0)==6;i=i-h|0;c=h?0:c+2|0;A[d|0]=D[i|0]>>>c&3;h=(c|0)==6;c=h?0:c+2|0;h=i-h|0;e=e+2|0;if((g|0)!=(e|0)){continue}break}}if(!(f&1)){break Na}A[d-1|0]=D[h|0]>>>c&3;break Na;case 3:break Oa;default:break Na}}if(!f){break Na}d=e+f|0;c=f<<2&4;g=f-1|0;h=e+(g>>>1|0)|0;if(g){g=f&-2;e=0;while(1){A[d-1|0]=D[h|0]>>>c&15;d=d-2|0;i=(c|0)==4;h=h-i|0;c=(c|0)!=4;A[d|0]=D[h|0]>>>(c<<2)&15;h=h-c|0;c=i<<2;e=e+2|0;if((g|0)!=(e|0)){continue}break}}if(!(f&1)){break Na}A[d-1|0]=D[h|0]>>>c&15}A[j+9|0]=8;c=D[j+10|0];A[j+11|0]=c<<3;C[j+4>>2]=I(c,f)}if(!(D[j+8|0]!=3|C[a+412>>2]<0)){f=0;c=E[a+408>>1];Pa:{if(!c){break Pa}e=D[j+9|0];if((c|0)>=1<>2];h=C[j+4>>2];c=(g+h|0)-1|0;d=0-I(C[j>>2],D[j+11|0])&7;Qa:{switch(e-1|0){case 7:if(c>>>0<=g>>>0){break Pa}d=C[a+412>>2];i=h-1&3;if(i){while(1){e=D[c|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}c=c-1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(h-2>>>0<3){break Pa}while(1){e=D[c|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}e=D[c-1|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}e=D[c-2|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}e=D[c-3|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}c=c-4|0;if(g>>>0>>0){continue}break};break Pa;case 3:if(c>>>0<=g>>>0){break Pa}d=D[c|0]>>>d|0;e=d>>>4|0;d=d&15;i=C[a+412>>2];f=(d|0)>(i|0);i=f?d:i;d=e>>>0>i>>>0?e:i;if(!(!f&e>>>0<=i>>>0)){C[a+412>>2]=d}f=c-1|0;if(g>>>0>=f>>>0){break Pa}Ra:{if(!(h&1)){c=d;break Ra}c=D[f|0];e=c>>>4|0;i=c&15;l=(d|0)<(i|0)?i:d;c=e>>>0>l>>>0?e:l;if(!(e>>>0<=l>>>0&d>>>0>=i>>>0)){C[a+412>>2]=c}f=f-1|0}if((h|0)==3){break Pa}while(1){d=D[f|0];e=d>>>4|0;h=d&15;i=(c|0)<(h|0)?h:c;d=e>>>0>i>>>0?e:i;if(!(e>>>0<=i>>>0&c>>>0>=h>>>0)){C[a+412>>2]=d}c=D[f-1|0];e=c>>>4|0;h=c&15;i=(d|0)<(h|0)?h:d;c=e>>>0>i>>>0?e:i;if(!(e>>>0<=i>>>0&d>>>0>=h>>>0)){C[a+412>>2]=c}f=f-2|0;if(g>>>0>>0){continue}break};break Pa;case 1:if(c>>>0<=g>>>0){break Pa}d=D[c|0]>>>d|0;e=d>>>6|0;h=d&3;i=C[a+412>>2];f=(h|0)>(i|0);l=d>>>2&3;i=f?h:i;h=l>>>0>i>>>0;d=d>>>4&3;l=h?l:i;i=d>>>0>l>>>0;l=i?d:l;d=e>>>0>l>>>0?e:l;Sa:{if(!(i|(f|h))){if(e>>>0<=l>>>0){break Sa}}C[a+412>>2]=d}f=c-1|0;if(g>>>0>=f>>>0){break Pa}while(1){c=D[f|0];e=c>>>6|0;l=c>>>2&3;h=c&3;k=(d|0)<(h|0)?h:d;i=l>>>0>k>>>0;c=c>>>4&3;k=i?l:k;l=c>>>0>k>>>0;k=l?c:k;c=e>>>0>k>>>0?e:k;Ta:{if(!(l|(i|d>>>0>>0))){if(e>>>0<=k>>>0){break Ta}}C[a+412>>2]=c}d=c;f=f-1|0;if(g>>>0>>0){continue}break};break Pa;case 0:break Qa;default:break Pa}}if(c>>>0<=g>>>0){break Pa}if(D[c|0]>>>d|0){C[a+412>>2]=1}c=c-1|0;if(g>>>0>=c>>>0){break Pa}e=h+2&3;if(e){d=0;while(1){if(D[c|0]){C[a+412>>2]=1}c=c-1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(h-3>>>0<3){break Pa}while(1){if(D[c|0]){C[a+412>>2]=1}if(D[c-1|0]){C[a+412>>2]=1}if(D[c-2|0]){C[a+412>>2]=1}if(D[c-3|0]){C[a+412>>2]=1}c=c-4|0;if(g>>>0>>0){continue}break}}}d=C[a+212>>2];if(d&1){d=C[a+380>>2]+1|0;c=D[j+8|0];Ua:{if(!(c&2)){break Ua}e=C[j>>2];Va:{switch(D[j+9|0]-8|0){case 0:Wa:{switch(c-2|0){case 4:if(!e){break Ua}if(e>>>0>=4){f=e&-4;c=0;while(1){g=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=g;g=D[d+4|0];A[d+4|0]=D[d+6|0];A[d+6|0]=g;g=D[d+8|0];A[d+8|0]=D[d+10|0];A[d+10|0]=g;g=D[d+12|0];A[d+12|0]=D[d+14|0];A[d+14|0]=g;d=d+16|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break Ua}c=0;while(1){f=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=f;d=d+4|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ua;case 0:break Wa;default:break Ua}}if(!e){break Ua}if(e>>>0>=4){f=e&-4;c=0;while(1){g=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=g;g=D[d+3|0];A[d+3|0]=D[d+5|0];A[d+5|0]=g;g=D[d+6|0];A[d+6|0]=D[d+8|0];A[d+8|0]=g;g=D[d+9|0];A[d+9|0]=D[d+11|0];A[d+11|0]=g;d=d+12|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break Ua}c=0;while(1){f=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=f;d=d+3|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ua;case 8:break Va;default:break Ua}}Xa:{switch(c-2|0){case 4:if(!e){break Ua}if((e|0)!=1){g=e&-2;c=0;while(1){f=D[d|0]|D[d+1|0]<<8;h=D[d+4|0]|D[d+5|0]<<8;A[d|0]=h;A[d+1|0]=h>>>8;A[d+4|0]=f;A[d+5|0]=f>>>8;f=D[d+8|0]|D[d+9|0]<<8;h=D[d+12|0]|D[d+13|0]<<8;A[d+8|0]=h;A[d+9|0]=h>>>8;A[d+12|0]=f;A[d+13|0]=f>>>8;d=d+16|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!(e&1)){break Ua}c=D[d|0]|D[d+1|0]<<8;e=D[d+4|0]|D[d+5|0]<<8;A[d|0]=e;A[d+1|0]=e>>>8;A[d+4|0]=c;A[d+5|0]=c>>>8;break Ua;case 0:break Xa;default:break Ua}}if(!e){break Ua}if((e|0)!=1){g=e&-2;c=0;while(1){f=D[d|0]|D[d+1|0]<<8;h=D[d+4|0]|D[d+5|0]<<8;A[d|0]=h;A[d+1|0]=h>>>8;A[d+4|0]=f;A[d+5|0]=f>>>8;f=D[d+6|0]|D[d+7|0]<<8;h=D[d+10|0]|D[d+11|0]<<8;A[d+6|0]=h;A[d+7|0]=h>>>8;A[d+10|0]=f;A[d+11|0]=f>>>8;d=d+12|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!(e&1)){break Ua}c=D[d|0]|D[d+1|0]<<8;e=D[d+4|0]|D[d+5|0]<<8;A[d|0]=e;A[d+1|0]=e>>>8;A[d+4|0]=c;A[d+5|0]=c>>>8}d=C[a+212>>2]}if(d&65536){d=C[a+380>>2]+1|0;f=D[j+9|0];Ya:{if(f>>>0>7){break Ya}e=C[j+4>>2];c=351776;Za:{_a:{switch(f-1|0){case 1:c=352032;break Za;case 0:break Za;case 3:break _a;default:break Ya}}c=352288}if((e|0)<=0){break Ya}e=d+e|0;while(1){A[d|0]=D[D[d|0]+c|0];d=d+1|0;if(e>>>0>d>>>0){continue}break}}d=C[a+212>>2]}$a:{if(!(d&32768)){break $a}i=E[a+434>>1];c=i>>>8|0;f=C[a+380>>2]+1|0;e=C[j>>2];g=C[a+208>>2];ab:{bb:{switch(D[j+8|0]){case 0:cb:{switch(D[j+9|0]-8|0){case 0:if(g&128){h=e+f|0;d=e+h|0;l=2;db:{if(e>>>0<2){break db}f=e-1|0;c=f&3;if(e-2>>>0>=3){g=f&-4;f=0;while(1){A[d-1|0]=i;k=D[h-1|0];A[d-3|0]=i;A[d-2|0]=k;k=D[h-2|0];A[d-5|0]=i;A[d-4|0]=k;k=D[h-3|0];A[d-7|0]=i;A[d-6|0]=k;d=d-8|0;h=h-4|0;A[d|0]=D[h|0];f=f+4|0;if((g|0)!=(f|0)){continue}break}}if(!c){break db}f=0;while(1){A[d-1|0]=i;d=d-2|0;h=h-1|0;A[d|0]=D[h|0];f=f+1|0;if((c|0)!=(f|0)){continue}break}}A[d-1|0]=i;n=1;k=16;break ab}n=1;k=16;l=2;if(!e){break ab}m=e&3;h=e+f|0;d=e+h|0;eb:{if(e>>>0<4){f=d;break eb}c=e&-4;g=0;while(1){f=D[h-1|0];A[d-2|0]=i;A[d-1|0]=f;f=D[h-2|0];A[d-4|0]=i;A[d-3|0]=f;f=D[h-3|0];A[d-6|0]=i;A[d-5|0]=f;h=h-4|0;o=D[h|0];f=d-8|0;A[f|0]=i;A[d-7|0]=o;d=f;g=g+4|0;if((c|0)!=(g|0)){continue}break}}if(!m){break ab}d=0;while(1){h=h-1|0;g=D[h|0];c=f-2|0;A[c|0]=i;A[f-1|0]=g;f=c;d=d+1|0;if((m|0)!=(d|0)){continue}break};break ab;case 8:break cb;default:break $a}}if(g&128){d=e<<1;h=d+f|0;d=h+d|0;l=2;fb:{if(e>>>0<2){break fb}f=e-1|0;k=f&1;if((e|0)!=2){f=f&-2;g=0;while(1){A[d-2|0]=c;A[d-1|0]=i;A[d-3|0]=D[h-1|0];n=D[h-2|0];A[d-5|0]=i;A[d-4|0]=n;A[d-6|0]=c;A[d-7|0]=D[h-3|0];d=d-8|0;h=h-4|0;A[d|0]=D[h|0];g=g+2|0;if((f|0)!=(g|0)){continue}break}}if(!k){break fb}A[d-2|0]=c;A[d-1|0]=i;A[d-3|0]=D[h-1|0];d=d-4|0;A[d|0]=D[h-2|0]}A[d-2|0]=c;A[d-1|0]=i;k=32;n=2;break ab}k=32;if(e){gb:{d=e<<1;h=d+f|0;d=h+d|0;if((e|0)!=1){f=e&-2;g=0;while(1){A[d-1|0]=D[h-1|0];l=D[h-2|0];A[d-3|0]=i;A[d-2|0]=l;A[d-4|0]=c;A[d-5|0]=D[h-3|0];h=h-4|0;l=D[h|0];A[d-7|0]=i;A[d-6|0]=l;d=d-8|0;A[d|0]=c;g=g+2|0;if((f|0)!=(g|0)){continue}break}}if(!(e&1)){break gb}A[d-1|0]=D[h-1|0];f=D[h-2|0];A[d-3|0]=i;A[d-2|0]=f;A[d-4|0]=c}}l=2;n=2;break ab;case 2:break bb;default:break $a}}hb:{switch(D[j+9|0]-8|0){case 0:if(g&128){h=f+I(e,3)|0;d=e+h|0;n=2;if(e>>>0>=2){f=1;while(1){A[d-1|0]=i;A[d-2|0]=D[h-1|0];A[d-3|0]=D[h-2|0];d=d-4|0;h=h-3|0;A[d|0]=D[h|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}A[d-1|0]=i;k=32;l=4;break ab}n=2;k=32;l=4;if(!e){break ab}h=f+I(e,3)|0;d=e+h|0;f=0;while(1){A[d-1|0]=D[h-1|0];A[d-2|0]=D[h-2|0];h=h-3|0;g=D[h|0];c=d-4|0;A[c|0]=i;A[d-3|0]=g;d=c;f=f+1|0;if((e|0)!=(f|0)){continue}break};break ab;case 8:break hb;default:break $a}}if(g&128){g=1;h=f+I(e,6)|0;d=h+(e<<1)|0;if(e>>>0>=2){while(1){A[d-2|0]=c;A[d-1|0]=i;A[d-3|0]=D[h-1|0];A[d-4|0]=D[h-2|0];A[d-5|0]=D[h-3|0];A[d-6|0]=D[h-4|0];A[d-7|0]=D[h-5|0];d=d-8|0;h=h-6|0;A[d|0]=D[h|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}A[d-2|0]=c;A[d-1|0]=i;n=3;k=64;l=4;break ab}n=3;k=64;l=4;if(!e){break ab}h=f+I(e,6)|0;d=h+(e<<1)|0;g=0;while(1){A[d-1|0]=D[h-1|0];A[d-2|0]=D[h-2|0];A[d-3|0]=D[h-3|0];A[d-4|0]=D[h-4|0];A[d-5|0]=D[h-5|0];h=h-6|0;f=D[h|0];A[d-7|0]=i;A[d-6|0]=f;d=d-8|0;A[d|0]=c;g=g+1|0;if((e|0)!=(g|0)){continue}break}}A[j+11|0]=k;A[j+10|0]=l;C[j+4>>2]=e<>2]}ib:{if(!(d&131072)){break ib}c=C[a+380>>2]+1|0;e=C[j>>2];jb:{switch(D[j+8|0]-4|0){case 2:if(D[j+9|0]==8){if(!e){break ib}c=c+C[j+4>>2]|0;if((e|0)!=1){f=e&-2;d=0;while(1){g=c-1|0;h=D[g|0];i=g;g=c-2|0;A[i|0]=D[g|0];i=c-3|0;l=D[i|0];m=i;i=c-4|0;A[m|0]=D[i|0];A[g|0]=l;A[i|0]=h;g=c-5|0;h=D[g|0];i=g;g=c-6|0;A[i|0]=D[g|0];i=g;g=c-7|0;A[i|0]=D[g|0];c=c-8|0;A[g|0]=D[c|0];A[c|0]=h;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(e&1)){break ib}d=c-1|0;e=D[d|0];g=d;d=c-2|0;A[g|0]=D[d|0];f=c-3|0;g=D[f|0];c=c-4|0;A[f|0]=D[c|0];A[d|0]=g;A[c|0]=e;break ib}if(!e){break ib}c=c+C[j+4>>2]|0;d=0;while(1){f=c-2|0;h=D[f|0]|D[f+1|0]<<8;g=c-4|0;i=D[g|0]|D[g+1|0]<<8;A[f|0]=i;A[f+1|0]=i>>>8;f=c-6|0;i=D[f|0]|D[f+1|0]<<8;A[g|0]=i;A[g+1|0]=i>>>8;c=c-8|0;g=D[c|0]|D[c+1|0]<<8;A[f|0]=g;A[f+1|0]=g>>>8;A[c|0]=h;A[c+1|0]=h>>>8;d=d+1|0;if((e|0)!=(d|0)){continue}break};break ib;case 0:break jb;default:break ib}}if(D[j+9|0]==8){if(!e){break ib}c=c+C[j+4>>2]|0;if(e>>>0>=4){f=e&-4;d=0;while(1){g=c-1|0;h=D[g|0];i=g;g=c-2|0;A[i|0]=D[g|0];A[g|0]=h;g=c-3|0;h=D[g|0];i=g;g=c-4|0;A[i|0]=D[g|0];A[g|0]=h;g=c-5|0;h=D[g|0];i=g;g=c-6|0;A[i|0]=D[g|0];A[g|0]=h;g=c-7|0;h=D[g|0];c=c-8|0;A[g|0]=D[c|0];A[c|0]=h;d=d+4|0;if((f|0)!=(d|0)){continue}break}}e=e&3;if(!e){break ib}d=0;while(1){f=c-1|0;g=D[f|0];c=c-2|0;A[f|0]=D[c|0];A[c|0]=g;d=d+1|0;if((e|0)!=(d|0)){continue}break}break ib}if(!e){break ib}c=c+C[j+4>>2]|0;if((e|0)!=1){h=e&-2;d=0;while(1){f=c-4|0;g=rT(D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24),16);A[f|0]=g;A[f+1|0]=g>>>8;A[f+2|0]=g>>>16;A[f+3|0]=g>>>24;c=c-8|0;f=rT(D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24),16);A[c|0]=f;A[c+1|0]=f>>>8;A[c+2|0]=f>>>16;A[c+3|0]=f>>>24;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(e&1)){break ib}c=c-4|0;d=rT(D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24),16);A[c|0]=d;A[c+1|0]=d>>>8;A[c+2|0]=d>>>16;A[c+3|0]=d>>>24}c=C[a+212>>2];if(c&16){d=C[a+380>>2]+1|0;kb:{if(D[j+9|0]!=16){break kb}e=I(C[j>>2],D[j+10|0]);if(!e){break kb}if(e>>>0>=4){f=e&-4;c=0;while(1){g=D[d+1|0];A[d+1|0]=D[d|0];A[d|0]=g;g=D[d+2|0];A[d+2|0]=D[d+3|0];A[d+3|0]=g;g=D[d+4|0];A[d+4|0]=D[d+5|0];A[d+5|0]=g;g=D[d+6|0];A[d+6|0]=D[d+7|0];A[d+7|0]=g;d=d+8|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break kb}c=0;while(1){f=D[d+1|0];A[d+1|0]=D[d|0];A[d|0]=f;d=d+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=C[a+212>>2]}if(c&1048576){c=C[a+188>>2];if(c){Fe[c|0](a,j,C[a+380>>2]+1|0)}c=D[a+200|0];if(c){A[j+9|0]=c}c=D[a+201|0];lb:{if(!c){c=D[j+10|0];break lb}A[j+10|0]=c}d=I(D[j+9|0],c);A[j+11|0]=d;c=C[j>>2];d=d&255;mb:{if(d>>>0>=8){c=I(c,d>>>3|0);break mb}c=I(c,d)+7>>>3|0}C[j+4>>2]=c}Ce=r+16|0;break n}Af(a,29794);s()}}c=D[p+15|0];d=D[a+431|0];nb:{if(!d){A[a+431|0]=c;if(c>>>0<=D[a+430|0]){break nb}Af(a,1869);s()}if((c|0)!=(d|0)){break d}}ob:{pb:{if(!D[a+420|0]){break pb}c=C[a+212>>2];if(!(c&2)){break pb}n=D[a+421|0];if(n>>>0<=5){f=0;j=0;r=Ce-16|0;Ce=r;l=C[a+380>>2]+1|0;if(!(!l|(p|0)==-4)){k=C[(n<<2)+351712>>2];d=C[p+4>>2];i=I(k,d);qb:{rb:{sb:{tb:{ub:{vb:{e=D[p+15|0];switch(e-1|0){case 3:break tb;case 1:break ub;case 0:break vb;default:break sb}}h=7;m=d-1|0;f=m&7;wb:{if(c&65536){g=-1;e=i-1&7;break wb}j=7;f=f^7;h=0;g=1;e=0-i&7}if(!d){break rb}c=l+(i-1>>>3|0)|0;l=l+(m>>>3|0)|0;d=(k|0)<=1?1:k;o=d&2147483646;q=d&1;k=0;t=(n|0)==6;while(1){n=D[l|0]>>>f&1;d=0;if(!t){while(1){A[c|0]=D[c|0]&32639>>>7-e|n<>>7-c|n<>>7-e|n<>>0>2]){continue}break}break rb}h=6;f=(d<<1)+6&6;xb:{if(c&65536){g=-2;e=(i<<1)+6&6;break xb}j=6;f=f^6;g=2;h=0;e=((i<<1)+6^-1)&6}if(!d){break rb}c=l+(i-1>>>2|0)|0;l=l+(d-1>>>2|0)|0;d=(k|0)<=1?1:k;o=d&2147483646;q=d&1;k=0;t=(n|0)==6;while(1){n=D[l|0]>>>f&3;d=0;if(!t){while(1){A[c|0]=D[c|0]&16191>>>6-e|n<>>6-c|n<>>6-e|n<>>0>2]){continue}break}break rb}h=4;f=d<<2&4;yb:{if(c&65536){f=f^4;g=-4;e=(i^-1)<<2&4;break yb}j=4;h=0;g=4;e=i<<2&4}if(!d){break rb}c=l+(i-1>>>1|0)|0;l=l+(d-1>>>1|0)|0;d=(k|0)<=1?1:k;o=d&2147483646;q=d&1;k=0;t=(n|0)==6;while(1){n=D[l|0]>>>f&15;d=0;if(!t){while(1){A[c|0]=D[c|0]&3855>>>4-e|n<>>4-c|n<>>4-e|n<>>0>2]){continue}break}break rb}if(!d){break qb}c=e>>>3|0;e=0-c|0;j=(k|0)<=1?1:k;n=j&2147483644;k=j&3;d=l+I(c,d-1|0)|0;h=l+I(c,i-1|0)|0;l=j-1>>>0<3;while(1){jf(r+8|0,d,c);g=0;if(!l){while(1){j=r+8|0;h=jf(jf(jf(jf(h,j,c)+e|0,j,c)+e|0,j,c)+e|0,j,c)+e|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}g=0;if(k){while(1){h=jf(h,r+8|0,c)+e|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}d=d+e|0;f=f+1|0;if(f>>>0>2]){continue}break}}e=D[p+15|0]}C[p+4>>2]=i;c=e&255;zb:{if(c>>>0>=8){c=I(i,c>>>3|0);break zb}c=I(c,i)+7>>>3|0}C[p+8>>2]=c}Ce=r+16|0}if(!v){break ob}lv(a,v,0);break ob}if(v){lv(a,v,-1)}}Li(a);c=C[a+536>>2];if(!c){break g}Fe[c|0](a,C[a+368>>2],D[a+421|0])}Ce=p+16|0;break c}Af(a,21866);s()}Af(a,16062);s()}Af(a,9132);s()}u=u+4|0;x=x+1|0;if((x|0)!=(G|0)){continue}break}}J=J+1|0;if((J|0)!=(w|0)){continue}break}}}function yL(a){a=a|0;var 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,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0;k=Ce-48|0;Ce=k;C[a+256>>2]=0;a:{if(E[a+216>>1]!=E[a+218>>1]){c=1123;e=1124;f=1125;b=1122;break a}c=1127;e=1128;f=1129;b=1126}C[a+604>>2]=b;C[a+600>>2]=c;C[a+596>>2]=e;C[a+592>>2]=f;u=a+298|0;d=B[u>>1];b:{if((d&65535)==16384){b=B[a+294>>1];C[a+564>>2]=b;c=b;break b}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;c=E[a+294>>1];break b}c=B[a+294>>1];b=I(b,B[a+296>>1])+I(d,c)>>14;C[a+564>>2]=b}c:{if((c&65535)==16384){C[a+572>>2]=1130;break c}if(E[a+296>>1]==16384){C[a+572>>2]=1131;break c}C[a+572>>2]=1132}d:{if(E[a+290>>1]==16384){C[a+576>>2]=1130;break d}if(E[a+292>>1]==16384){C[a+576>>2]=1131;break d}C[a+576>>2]=1133}C[a+588>>2]=1134;C[a+584>>2]=1135;e:{if((b|0)!=16384){break e}f:{if((d|0)==16384){e=1137;c=1136;break f}if(E[a+300>>1]!=16384){break e}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;b=C[a+312>>2];if(!(b&248)){C[a+568>>2]=C[(b<<24>>22)+286136>>2]}x=a+180|0;y=a+144|0;n=a+72|0;l=a+36|0;o=a+108|0;z=a+294|0;b=C[a+360>>2];g:{h:{i:{while(1){g=C[a+356>>2];c=D[g+b|0];A[a+368|0]=c;f=A[c+284800|0];C[a+372>>2]=f;j:{if((c&254)!=64){e=C[a+364>>2];break j}e=C[a+364>>2];d=b+1|0;if((e|0)<=(d|0)){b=131;break i}f=2-I(D[d+g|0],f)|0;C[a+372>>2]=f}if((b+f|0)>(e|0)){b=131;break i}b=D[c+285056|0];d=b>>>4|0;e=C[a+16>>2]-d|0;C[a+28>>2]=e;if((e|0)<0){if(D[a+561|0]){b=129;break i}if(b>>>0>=16){p(C[a+24>>2],0,(d>>>0<=1?1:d)<<2)}C[a+28>>2]=0;e=0}i=(b&15)+e|0;C[a+32>>2]=i;b=130;h=C[a+20>>2];if((h|0)<(i|0)){break i}C[a+12>>2]=0;A[a+376|0]=1;j=C[a+24>>2];d=j+(e<<2)|0;b=135;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:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{switch(c|0){case 0:case 1:case 2:case 3:case 4:case 5:b=c<<14&16384;d=b^16384;if(c>>>0<=3){B[a+296>>1]=d;B[a+294>>1]=b;B[a+292>>1]=d;B[a+290>>1]=b}Ka:{if(c&2){b=E[u>>1];break Ka}B[a+300>>1]=d;B[a+298>>1]=b}La:{if((b&65535)==16384){c=B[a+294>>1];C[a+564>>2]=c;d=c;break La}c=B[a+300>>1];if((c|0)==16384){c=B[a+296>>1];C[a+564>>2]=c;d=E[a+294>>1];break La}d=B[a+294>>1];c=I(c,B[a+296>>1])+I(d,b<<16>>16)>>14;C[a+564>>2]=c}e=1130;C[a+572>>2]=(d&65535)==16384?1130:E[a+296>>1]==16384?1131:1132;e=E[a+290>>1]!=16384?E[a+292>>1]==16384?1131:1133:e;C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+576>>2]=e;Ma:{if((c|0)!=16384){break Ma}Na:{if((b&65535)==16384){e=1137;b=1136;break Na}if(E[a+300>>1]!=16384){break Ma}e=1139;b=1138}C[a+588>>2]=b;C[a+584>>2]=e}b=c>>31;if((b^c)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 6:case 7:if(sw(a,E[d+4>>1],E[d>>1],z)){break p}c=E[a+294>>1]|E[a+296>>1]<<16;B[a+290>>1]=c;B[a+292>>1]=c>>>16;d=B[a+298>>1];b=c<<16>>16;Oa:{if((d&65535)==16384){break Oa}e=B[a+300>>1];b=c>>16;if((e|0)==16384){break Oa}b=I(e,c>>16)+I(d,c<<16>>16)>>14}C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+564>>2]=b;e=(c&-65536)==1073741824;c=(c&65535)==16384;C[a+576>>2]=c?1130:e?1131:1133;C[a+572>>2]=c?1130:e?1131:1132;Pa:{if((b|0)!=16384){break Pa}Qa:{if((d|0)==16384){e=1137;c=1136;break Qa}if(E[a+300>>1]!=16384){break Pa}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 8:case 9:if(sw(a,E[d+4>>1],E[d>>1],u)){break p}d=E[u>>1];Ra:{if((d|0)==16384){b=B[a+294>>1];C[a+564>>2]=b;f=b;break Ra}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;f=E[a+294>>1];break Ra}f=B[a+294>>1];b=I(b,B[a+296>>1])+I(f,d<<16>>16)>>14;C[a+564>>2]=b}c=1130;C[a+572>>2]=(f&65535)==16384?1130:E[a+296>>1]==16384?1131:1132;c=E[a+290>>1]!=16384?E[a+292>>1]==16384?1131:1133:c;C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+576>>2]=c;Sa:{if((b|0)!=16384){break Sa}Ta:{if((d|0)==16384){e=1137;c=1136;break Ta}if(E[a+300>>1]!=16384){break Sa}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 10:e=C[d+4>>2];b=e<<16>>16;f=C[d>>2];c=f<<16>>16;d=c>>31;Ua:{Va:{if((c^d)-d>>>0>16383){break Va}d=b>>31;if((d^b)-d>>>0>16383){break Va}if(!(b|c)){break Ua}b=e<<16>>2;c=f<<16>>2}d=c;c=Xi(c,b)<<2;K=a,L=Ze(d,c),B[K+294>>1]=L;K=a,L=Ze(b,c),B[K+296>>1]=L}c=E[a+294>>1]|E[a+296>>1]<<16;B[a+290>>1]=c;B[a+292>>1]=c>>>16;d=B[a+298>>1];b=c<<16>>16;Wa:{if((d&65535)==16384){break Wa}e=B[a+300>>1];b=c>>16;if((e|0)==16384){break Wa}b=I(e,c>>16)+I(d,c<<16>>16)>>14}C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+564>>2]=b;e=(c&-65536)==1073741824;c=(c&65535)==16384;C[a+576>>2]=c?1130:e?1131:1133;C[a+572>>2]=c?1130:e?1131:1132;Xa:{if((b|0)!=16384){break Xa}Ya:{if((d|0)==16384){e=1137;c=1136;break Ya}if(E[a+300>>1]!=16384){break Xa}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 11:e=C[d+4>>2];b=e<<16>>16;f=C[d>>2];c=f<<16>>16;d=c>>31;Za:{_a:{if((c^d)-d>>>0>16383){break _a}d=b>>31;if((d^b)-d>>>0>16383){break _a}if(!(b|c)){break Za}b=e<<16>>2;c=f<<16>>2}d=c;c=Xi(c,b)<<2;K=a,L=Ze(d,c),B[K+298>>1]=L;K=a,L=Ze(b,c),B[K+300>>1]=L}d=E[u>>1];$a:{if((d|0)==16384){b=B[a+294>>1];C[a+564>>2]=b;f=b;break $a}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;f=E[a+294>>1];break $a}f=B[a+294>>1];b=I(b,B[a+296>>1])+I(f,d<<16>>16)>>14;C[a+564>>2]=b}c=1130;C[a+572>>2]=(f&65535)==16384?1130:E[a+296>>1]==16384?1131:1132;c=E[a+290>>1]!=16384?E[a+292>>1]==16384?1131:1133:c;C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+576>>2]=c;ab:{if((b|0)!=16384){break ab}bb:{if((d|0)==16384){e=1137;c=1136;break bb}if(E[a+300>>1]!=16384){break ab}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 12:C[d>>2]=B[a+294>>1];C[d+4>>2]=B[a+296>>1];break p;case 13:C[d>>2]=B[a+298>>1];C[d+4>>2]=B[a+300>>1];break p;case 14:d=E[z>>1]|E[z+2>>1]<<16;B[u>>1]=d;g=d>>>16|0;B[u+2>>1]=g;c=d<<16>>16;e=1130;h=d&65535;cb:{if((h|0)==16384){f=1130;b=c;break cb}f=1131;b=16384;if((g|0)==16384){break cb}f=1132;b=d>>16;b=I(c,c)+I(b,b)>>>14|0}C[a+572>>2]=f;C[a+564>>2]=b;e=E[a+290>>1]!=16384?E[a+292>>1]==16384?1131:1133:e;C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+576>>2]=e;db:{if((b|0)!=16384){break db}eb:{if((h|0)==16384){e=1137;c=1136;break eb}if((g|0)!=16384){break db}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 15:fb:{c=E[d+12>>1];b=E[a+44>>1];gb:{if(c>>>0>=b>>>0){break gb}e=E[d+16>>1];if(e>>>0>=b>>>0){break gb}f=E[d+4>>1];b=E[a+80>>1];if(f>>>0>=b>>>0){break gb}g=E[d+8>>1];if(g>>>0>=b>>>0){break gb}b=E[d>>1];if(b>>>0>1]){break fb}}if(!D[a+561|0]){break p}b=134;break i}h=C[a+52>>2];w=c<<3;c=h+w|0;d=C[c+4>>2];q=e<<3;i=q+h|0;j=C[i+4>>2];h=C[a+88>>2];e=f<<3;m=h+e|0;f=C[m>>2];v=g<<3;h=v+h|0;r=C[h>>2];g=C[m+4>>2];m=C[h+4>>2];h=C[c>>2];c=C[i>>2];i=b+C[a+132>>2]|0;A[i|0]=D[i|0]|24;i=r-f|0;s=j-d|0;G=0-s|0;j=m-g|0;m=c-h|0;c=of(i,G,64)+of(j,m,64)|0;r=c>>31;H=of(i,m,64)+of(j,s,64)|0;s=H>>31;if((s^H)-s>>>0>>0){d=of(h-f|0,G,64)+of(d-g|0,m,64)|0;f=of(d,i,c);c=of(d,j,c);b=C[a+124>>2]+(b<<3)|0;d=e+C[a+88>>2]|0;C[b>>2]=f+C[d>>2];C[b+4>>2]=c+C[d+4>>2];break p}b=C[a+124>>2]+(b<<3)|0;c=C[a+52>>2];d=c+w|0;f=C[a+88>>2];g=f+v|0;e=e+f|0;c=c+q|0;C[b>>2]=((C[d>>2]+(C[g>>2]+C[e>>2]|0)|0)+C[c>>2]|0)/4;C[b+4>>2]=(C[c+4>>2]+(C[d+4>>2]+(C[g+4>>2]+C[e+4>>2]|0)|0)|0)/4;break p;case 16:B[a+284>>1]=C[d>>2];break p;case 17:B[a+286>>1]=C[d>>2];break p;case 18:B[a+288>>1]=C[d>>2];break p;case 19:b=x;hb:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break hb}}c=C[b+4>>2];C[l>>2]=C[b>>2];C[l+4>>2]=c;C[l+32>>2]=C[b+32>>2];c=C[b+28>>2];C[l+24>>2]=C[b+24>>2];C[l+28>>2]=c;c=C[b+20>>2];C[l+16>>2]=C[b+16>>2];C[l+20>>2]=c;c=C[b+12>>2];C[l+8>>2]=C[b+8>>2];C[l+12>>2]=c;B[a+344>>1]=C[d>>2];break p;case 20:b=x;ib:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break ib}}c=C[b+4>>2];C[n>>2]=C[b>>2];C[n+4>>2]=c;C[n+32>>2]=C[b+32>>2];c=C[b+28>>2];C[n+24>>2]=C[b+24>>2];C[n+28>>2]=c;c=C[b+20>>2];C[n+16>>2]=C[b+16>>2];C[n+20>>2]=c;c=C[b+12>>2];C[n+8>>2]=C[b+8>>2];C[n+12>>2]=c;B[a+346>>1]=C[d>>2];break p;case 21:b=x;jb:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break jb}}c=C[b+4>>2];C[o>>2]=C[b>>2];C[o+4>>2]=c;C[o+32>>2]=C[b+32>>2];c=C[b+28>>2];C[o+24>>2]=C[b+24>>2];C[o+28>>2]=c;c=C[b+20>>2];C[o+16>>2]=C[b+16>>2];C[o+20>>2]=c;c=C[b+12>>2];C[o+8>>2]=C[b+8>>2];C[o+12>>2]=c;B[a+348>>1]=C[d>>2];break p;case 22:b=x;kb:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break kb}}g=C[b+4>>2];c=C[b>>2];C[l>>2]=c;C[l+4>>2]=g;m=C[b+32>>2];C[l+32>>2]=m;h=C[b+28>>2];e=C[b+24>>2];C[l+24>>2]=e;C[l+28>>2]=h;i=C[b+20>>2];f=C[b+16>>2];C[l+16>>2]=f;C[l+20>>2]=i;j=C[b+12>>2];b=C[b+8>>2];C[l+8>>2]=b;C[l+12>>2]=j;C[n+32>>2]=m;C[n+24>>2]=e;C[n+28>>2]=h;C[n+16>>2]=f;C[n+20>>2]=i;C[n+8>>2]=b;C[n+12>>2]=j;C[n>>2]=c;C[n+4>>2]=g;C[o+32>>2]=C[l+32>>2];b=C[l+28>>2];C[o+24>>2]=C[l+24>>2];C[o+28>>2]=b;b=C[l+20>>2];C[o+16>>2]=C[l+16>>2];C[o+20>>2]=b;b=C[l+12>>2];C[o+8>>2]=C[l+8>>2];C[o+12>>2]=b;b=C[l+4>>2];C[o>>2]=C[l>>2];C[o+4>>2]=b;b=E[d>>1];B[a+348>>1]=b;B[a+346>>1]=b;B[a+344>>1]=b;break p;case 23:b=C[d>>2];if((b|0)<0){b=132;break i}C[a+304>>2]=b;break p;case 24:C[a+568>>2]=1140;C[a+312>>2]=1;break p;case 25:C[a+568>>2]=1141;C[a+312>>2]=0;break p;case 26:C[a+308>>2]=C[d>>2];break p;case 27:b=C[a+360>>2];c=C[a+364>>2];d=1;while(1){b=b+f|0;C[a+360>>2]=b;if((b|0)>=(c|0)){b=131;break i}e=D[b+g|0];A[a+368|0]=e;f=A[e+284800|0];C[a+372>>2]=f;if((e&254)==64){h=b+1|0;if((h|0)>=(c|0)){b=131;break i}f=2-I(D[g+h|0],f)|0;C[a+372>>2]=f}if((c|0)<(b+f|0)){b=131;break i}lb:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break p;case 1:d=d-1|0;break;default:break lb}}if(d){continue}break};break p;case 28:b=C[d>>2];if(!(b|e)){C[a+12>>2]=132}b=b+C[a+360>>2]|0;C[a+360>>2]=b;mb:{if((b|0)>=0){c=C[a+428>>2];if((c|0)<=0|(b|0)<=C[C[(C[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break mb}}C[a+12>>2]=132}A[a+376|0]=0;break p;case 29:C[a+320>>2]=C[d>>2];break p;case 30:C[a+324>>2]=C[d>>2];break p;case 31:K=a,L=Te(C[d>>2],C[a+260>>2]),C[K+328>>2]=L;break p;case 32:C[d+4>>2]=C[d>>2];break p;case 34:C[a+32>>2]=0;break p;case 35:K=d,L=sT(C[d>>2],C[d+4>>2]),C[K>>2]=L;C[d+4>>2]=Ee;break p;case 36:C[d>>2]=C[a+16>>2];break p;case 37:b=C[d>>2];nb:{if(!((b|0)>0&b>>>0<=e>>>0)){b=0;if(!D[a+561|0]){break nb}C[a+12>>2]=134;C[d>>2]=0;break p}b=C[j+(e-b<<2)>>2]}C[d>>2]=b;break p;case 38:b=C[d>>2];if(!((b|0)>0&b>>>0<=e>>>0)){if(!D[a+561|0]){break p}b=134;break i}c=j+(e-b<<2)|0;d=C[c>>2];t(c,c+4|0,(b<<2)-4|0);C[(C[a+24>>2]+(C[a+28>>2]<<2)|0)-4>>2]=d;break p;case 39:ob:{b=E[d>>1];if(b>>>0>1]){c=E[d+4>>1];if(c>>>0>1]){break ob}}if(!D[a+561|0]){break p}b=134;break i}e=b;d=C[a+52>>2]+(c<<3)|0;b=C[a+88>>2]+(b<<3)|0;b=(Fe[C[a+572>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0)/2|0;Fe[C[a+584>>2]](a,n,e,b);Fe[C[a+584>>2]](a,l,c,0-b|0);break p;case 41:b=E[d>>1];if(b>>>0>=E[a+44>>1]){if(!D[a+561|0]){break p}b=134;break i}b=b+C[a+60>>2]|0;c=b;d=D[b|0];b=E[a+298>>1]?-9:-1;A[c|0]=d&(E[a+300>>1]?b&239:b);break p;case 42:b=134;f=C[d+4>>2];c=C[a+420>>2]+1|0;if(f>>>0>=c>>>0){break i}e=C[a+404>>2];g=C[a+396>>2];pb:{if((g|0)==(c|0)){c=e+I(f,24)|0;if((f|0)==C[c+12>>2]){break pb}}h=e+I(g,24)|0;c=e;qb:{if((g|0)<=0){break qb}while(1){if((f|0)==C[c+12>>2]){break qb}c=c+24|0;if(h>>>0>c>>>0){continue}break}}if((c|0)==(h|0)){break i}}if(!D[c+16|0]){break i}b=130;e=C[a+428>>2];if((e|0)>=C[a+432>>2]){break i}if(C[d>>2]<=0){break p}b=C[a+436>>2]+(e<<4)|0;C[b>>2]=C[a+352>>2];C[b+4>>2]=C[a+360>>2]+1;d=C[d>>2];C[b+12>>2]=c;C[b+8>>2]=d;C[a+428>>2]=e+1;b=C[c>>2];rb:{if(b-4>>>0<=4294967292){C[a+12>>2]=132;break rb}d=(b-1<<3)+a|0;e=C[d+444>>2];if(!e){C[a+12>>2]=138;break rb}d=C[d+448>>2];c=C[c+4>>2];if((d|0)<(c|0)){C[a+12>>2]=131;break rb}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=c;C[a+352>>2]=b}A[a+376|0]=0;break p;case 43:b=134;e=C[d>>2];c=C[a+420>>2]+1|0;if(e>>>0>=c>>>0){break i}d=C[a+404>>2];f=C[a+396>>2];sb:{if((f|0)==(c|0)){c=d+I(e,24)|0;if((e|0)==C[c+12>>2]){break sb}}g=d+I(f,24)|0;c=d;tb:{if((f|0)<=0){break tb}while(1){if((e|0)==C[c+12>>2]){break tb}c=c+24|0;if(g>>>0>c>>>0){continue}break}}if((c|0)==(g|0)){break i}}if(!D[c+16|0]){break i}b=130;d=C[a+428>>2];if((d|0)>=C[a+432>>2]){break i}b=C[a+436>>2]+(d<<4)|0;C[b>>2]=C[a+352>>2];e=C[a+360>>2];C[b+12>>2]=c;C[b+8>>2]=1;C[b+4>>2]=e+1;C[a+428>>2]=d+1;b=C[c>>2];ub:{if(b-4>>>0<=4294967292){C[a+12>>2]=132;break ub}d=(b-1<<3)+a|0;e=C[d+444>>2];if(!e){C[a+12>>2]=138;break ub}d=C[d+448>>2];c=C[c+4>>2];if((d|0)<(c|0)){C[a+12>>2]=131;break ub}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=c;C[a+352>>2]=b}A[a+376|0]=0;break p;case 44:c=C[a+404>>2];e=C[a+396>>2];h=c+I(e,24)|0;b=C[d>>2];vb:{if((e|0)<=0){break vb}while(1){if((b|0)==C[c+12>>2]){break vb}c=c+24|0;if(h>>>0>c>>>0){continue}break}}if((c|0)==(h|0)){if(e>>>0>=F[a+400>>2]){b=140;break i}C[a+396>>2]=e+1}if(b>>>0>65535){b=140;break i}d=C[a+352>>2];C[c+12>>2]=b;C[c>>2]=d;e=C[a+360>>2];C[c+20>>2]=0;B[c+16>>1]=1;C[c+4>>2]=e+1;if(b>>>0>F[a+420>>2]){C[a+420>>2]=b}h=C[a+364>>2];while(1){e=e+f|0;C[a+360>>2]=e;if((e|0)>=(h|0)){b=131;break i}d=D[e+g|0];A[a+368|0]=d;f=A[d+284800|0];C[a+372>>2]=f;if((d&254)==64){b=e+1|0;if((b|0)>=(h|0)){b=131;break i}f=2-I(D[b+g|0],f)|0;C[a+372>>2]=f}if((h|0)<(e+f|0)){b=131;break i}b=137;wb:{switch(d-44|0){case 1:C[c+8>>2]=e;break p;case 0:break i;default:break wb}}if((d|0)!=137){continue}break};break i;case 33:case 89:case 126:case 127:C[a+16>>2]=C[a+32>>2];break n;case 137:break Ca;case 138:break Da;case 139:break Ea;case 140:break Fa;case 141:break Ga;case 142:break Ha;case 40:case 123:case 131:case 132:case 143:break Ia;case 79:break i;case 45:break q;case 46:case 47:break r;case 48:case 49:break s;case 50:case 51:break t;case 52:case 53:break u;case 54:case 55:break v;case 56:break w;case 57:break x;case 58:case 59:break y;case 60:break z;case 61:break A;case 62:case 63:break B;case 64:break C;case 65:break D;case 66:break E;case 67:break F;case 68:break G;case 69:break H;case 70:case 71:break I;case 72:break J;case 73:case 74:break K;case 75:break L;case 76:break M;case 77:break N;case 78:break O;case 80:break P;case 81:break Q;case 82:break R;case 83:break S;case 84:break T;case 85:break U;case 86:break V;case 87:break W;case 88:break X;case 90:break Y;case 91:break Z;case 92:break _;case 93:break $;case 94:break aa;case 95:break ba;case 96:break ca;case 97:break da;case 98:break ea;case 99:break fa;case 100:break ga;case 101:break ha;case 102:break ia;case 103:break ja;case 104:case 105:case 106:case 107:break ka;case 108:case 109:case 110:case 111:break la;case 112:break ma;case 113:case 114:break na;case 115:case 116:case 117:break oa;case 118:break pa;case 119:break qa;case 120:break ra;case 121:break sa;case 122:break ta;case 124:break ua;case 125:break va;case 128:break wa;case 129:break xa;case 130:break ya;case 133:break za;case 134:case 135:break Aa;case 136:break Ba;default:break Ja}}if(c>>>0>=224){xb:{yb:{e=E[d>>1];zb:{if(e>>>0>=E[a+80>>1]){break zb}c=C[d+4>>2];d=c+1|0;if(d>>>0>=C[a+380>>2]+1>>>0){break zb}if(E[a+284>>1]>1]){break yb}}if(!D[a+561|0]){break xb}C[a+12>>2]=134;break xb}h=C[a+320>>2];f=C[a+308>>2];b=0;if(d){b=Fe[C[a+596>>2]](a,c)|0}c=C[a+328>>2];g=b-c|0;d=g>>31;b=C[a+324>>2]>((d^g)-d|0)?(b|0)<0?0-c|0:c:b;if(!E[a+346>>1]){d=B[a+298>>1];c=d>>31;i=(c^d)-c|0;c=b>>31;j=(c^b)-c|0;m=j>>>16|0;r=I(i,m);g=r<<16|8192;s=e<<3;c=s+C[a+84>>2]|0;w=C[a+48>>2]+(E[a+284>>1]<<3)|0;q=g;v=i;i=j&65535;g=g+I(v,i)|0;g=(r>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;C[c>>2]=C[w>>2]+((b^d)<0?0-g|0:g);d=B[a+300>>1];g=d>>31;j=(d^g)-g|0;m=I(j,m);g=m<<16|8192;q=g;g=g+I(i,j)|0;g=(m>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;C[c+4>>2]=C[w+4>>2]+((b^d)<0?0-g|0:g);g=C[c+4>>2];d=s+C[a+88>>2]|0;C[d>>2]=C[c>>2];C[d+4>>2]=g}c=e<<3;d=c+C[a+84>>2]|0;g=C[a+48>>2]+(E[a+284>>1]<<3)|0;d=Fe[C[a+576>>2]](a,C[d>>2]-C[g>>2]|0,C[d+4>>2]-C[g+4>>2]|0)|0;c=c+C[a+88>>2]|0;g=C[a+52>>2]+(E[a+284>>1]<<3)|0;i=Fe[C[a+572>>2]](a,C[c>>2]-C[g>>2]|0,C[c+4>>2]-C[g+4>>2]|0)|0;c=D[a+316|0]?(b^d)<0?0-b|0:b:b;b=D[a+368|0];Ab:{if(b&4){if(E[a+344>>1]==E[a+346>>1]){j=c-d|0;g=j>>31;c=(h|0)<((g^j)-g|0)?d:c}c=Fe[C[a+568>>2]](a,c,C[(((b&3)<<2)+a|0)+264>>2])|0;b=D[a+368|0];break Ab}g=C[(((b&3)<<2)+a|0)+264>>2];if((c|0)>=0){c=c+g|0;c=(c|0)>0?c:0;break Ab}c=c-g|0;c=c>>31&c}g=a+72|0;Bb:{if(!(b&8)){break Bb}if((d|0)>=0){c=(c|0)>(f|0)?c:f;break Bb}b=0-f|0;c=(b|0)>(c|0)?c:b}Fe[C[a+584>>2]](a,g,e,c-i|0)}B[a+286>>1]=E[a+284>>1];if(D[a+368|0]&16){B[a+284>>1]=e}B[a+288>>1]=e;break p}if(c>>>0>=192){Cb:{Db:{c=E[d>>1];if(c>>>0>1]){b=E[a+284>>1];if(b>>>0>1]){break Db}}if(!D[a+561|0]){break Cb}C[a+12>>2]=134;break Cb}f=C[a+308>>2];Eb:{if(!(E[a+346>>1]?E[a+344>>1]:0)){d=C[a+84>>2]+(c<<3)|0;b=C[a+48>>2]+(b<<3)|0;b=Fe[C[a+576>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0;break Eb}b=C[a+56>>2]+(b<<3)|0;d=C[a+92>>2]+(c<<3)|0;e=C[a+220>>2];if((e|0)==C[a+224>>2]){b=Te(Fe[C[a+576>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0,C[a+220>>2]);break Eb}b=(L=a,M=Te(C[d>>2]-C[b>>2]|0,e),N=Te(C[d+4>>2]-C[b+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](L|0,M|0,N|0)|0)}d=C[a+328>>2];g=b-d|0;e=g>>31;e=C[a+324>>2]>((e^g)-e|0)?(b|0)<0?0-d|0:d:b;d=D[a+368|0];Fb:{if(d&4){b=Fe[C[a+568>>2]](a,e,C[(((d&3)<<2)+a|0)+264>>2])|0;d=D[a+368|0];break Fb}b=C[(((d&3)<<2)+a|0)+264>>2];if((e|0)>=0){b=b+e|0;b=(b|0)>0?b:0;break Fb}b=e-b|0;b=b>>31&b}g=a+72|0;Gb:{if(!(d&8)){break Gb}if((e|0)>=0){b=(b|0)>(f|0)?b:f;break Gb}d=0-f|0;b=(b|0)<(d|0)?b:d}e=b;b=C[a+88>>2]+(c<<3)|0;d=C[a+52>>2]+(E[a+284>>1]<<3)|0;N=a,M=g,L=c,O=e-(Fe[C[a+572>>2]](a,C[b>>2]-C[d>>2]|0,C[b+4>>2]-C[d+4>>2]|0)|0)|0,K=C[a+584>>2],Fe[K](N|0,M|0,L|0,O|0)}B[a+288>>1]=c;B[a+286>>1]=E[a+284>>1];if(D[a+368|0]&16){B[a+284>>1]=c}break p}if(c>>>0>=184){b=D[a+368|0]+65353|0;c=b&65535;if(c>>>0>=(C[a+20>>2]-C[a+16>>2]|0)+1>>>0){C[a+12>>2]=130;break p}C[a+360>>2]=C[a+360>>2]+1;Hb:{if(!c){break Hb}f=b&1;e=C[a+356>>2];b=0;if((c|0)!=1){g=c-f|0;c=0;while(1){h=C[a+360>>2];C[a+360>>2]=h+2;i=b<<2;h=e+h|0;h=D[h|0]|D[h+1|0]<<8;C[i+d>>2]=(h<<8|h>>>8)<<16>>16;h=C[a+360>>2];C[a+360>>2]=h+2;h=e+h|0;h=D[h|0]|D[h+1|0]<<8;C[d+(i|4)>>2]=(h<<8|h>>>8)<<16>>16;b=b+2|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!f){break Hb}c=C[a+360>>2];C[a+360>>2]=c+2;d=d+(b<<2)|0;b=c+e|0;b=D[b|0]|D[b+1|0]<<8;C[d>>2]=(b<<8|b>>>8)<<16>>16}A[a+376|0]=0;break p}if(c>>>0<176){break Ia}e=D[a+368|0]+65361|0;b=e&65535;Ib:{if(b>>>0<(C[a+20>>2]-C[a+16>>2]|0)+1>>>0){if(b){f=C[a+356>>2];b=1;c=1;while(1){C[(d+(b<<2)|0)-4>>2]=D[f+(C[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(e&65535)>>>0){continue}break}}break Ib}C[a+12>>2]=130}break p}c=C[a+408>>2];Jb:{if((c|0)>0){b=C[a+416>>2];c=b+I(c,24)|0;d=D[a+368|0];while(1){if(!(!D[b+16|0]|(d|0)!=D[b+12|0])){c=C[a+428>>2];if((c|0)>=C[a+432>>2]){C[a+12>>2]=130;break Jb}C[a+428>>2]=c+1;c=C[a+436>>2]+(c<<4)|0;C[c>>2]=C[a+352>>2];d=C[a+360>>2];C[c+12>>2]=b;C[c+8>>2]=1;C[c+4>>2]=d+1;c=C[b>>2];Kb:{if(c-4>>>0<=4294967292){C[a+12>>2]=132;break Kb}d=(c-1<<3)+a|0;e=C[d+444>>2];if(!e){C[a+12>>2]=138;break Kb}d=C[d+448>>2];b=C[b+4>>2];if((d|0)<(b|0)){C[a+12>>2]=131;break Kb}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=b;C[a+352>>2]=c}A[a+376|0]=0;break Jb}b=b+24|0;if(c>>>0>b>>>0){continue}break}}C[a+12>>2]=128}break p}b=C[d+4>>2];if(b-4>>>0<=4294967292){if(!D[a+561|0]){break p}b=134;break i}c=C[d>>2];b=1<>2];if((b|0)<0){break p}C[a+340>>2]=b;break p}b=C[d+4>>2];if((b|0)>=C[d>>2]){break p}C[d>>2]=b;break p}b=C[d+4>>2];if((b|0)<=C[d>>2]){break p}C[d>>2]=b;break p}b=C[d+4>>2];c=C[d+8>>2];C[d+8>>2]=C[d>>2];C[d>>2]=b;C[d+4>>2]=c;break p}c=C[a+416>>2];e=C[a+408>>2];b=c+I(e,24)|0;Lb:{if((e|0)<=0){break Lb}h=C[d>>2];while(1){if((h|0)==C[c+12>>2]){break Lb}c=c+24|0;if(b>>>0>c>>>0){continue}break}}Mb:{if((b|0)==(c|0)){b=141;if(e>>>0>=F[a+412>>2]){break Mb}C[a+408>>2]=e+1}b=141;e=C[d>>2];if(e>>>0>255){break Mb}C[c+12>>2]=e;e=C[a+360>>2];C[c+4>>2]=e+1;b=C[a+352>>2];A[c+16|0]=1;C[c>>2]=b;b=C[d>>2];if(b>>>0>F[a+424>>2]){C[a+424>>2]=b&255}d=C[a+364>>2];while(1){e=e+f|0;C[a+360>>2]=e;b=131;if((d|0)<=(e|0)){break Mb}c=D[e+g|0];A[a+368|0]=c;f=A[c+284800|0];C[a+372>>2]=f;if((c&254)==64){h=e+1|0;if((h|0)>=(d|0)){break Mb}f=2-I(D[g+h|0],f)|0;C[a+372>>2]=f}if((d|0)<(e+f|0)){break Mb}b=137;Nb:{switch(c-44|0){case 0:break Mb;case 1:break p;default:break Nb}}if((c|0)!=137){continue}break}}C[a+12>>2]=b;break o}c=C[d>>2];b=0-(c&1)&35;b=c&2?D[a+281|0]?b|128:b:b;b=c&4?D[a+282|0]?b|256:b:b;if(c&32){b=D[a+608|0]?b|4096:b}C[d>>2]=b;break p}Ob:{b=E[d>>1];if(b>>>0>1]){d=E[d+4>>1];if(d>>>0>1]){break Ob}}if(!D[a+561|0]){break p}b=134;break i}f=C[a+84>>2]+(b<<3)|0;g=C[f+4>>2];h=C[a+120>>2]+(d<<3)|0;i=C[h+4>>2];e=g-i|0;j=C[f>>2];h=C[h>>2];f=(j|0)==(h|0)&(g|0)==(i|0);g=f?16384:j-h|0;f=f|!(c&1);c=f?e:g;e=f?g:0-e|0;g=e>>31;Pb:{Qb:{if((e^g)-g>>>0>16383){break Qb}g=c>>31;if((g^c)-g>>>0>16383){break Qb}if(!(c|e)){break Pb}c=c<<14;e=e<<14}g=e;e=Xi(e,c)<<2;K=a,O=Ze(g,e),B[K+290>>1]=O;K=a,O=Ze(c,e),B[K+292>>1]=O}b=C[a+88>>2]+(b<<3)|0;e=C[b+4>>2];d=C[a+124>>2]+(d<<3)|0;g=C[d+4>>2];c=e-g|0;h=C[b>>2];d=C[d>>2];b=(h|0)==(d|0)&(e|0)==(g|0);d=b?16384:h-d|0;e=b|f;b=e?c:d;c=e?d:0-c|0;d=c>>31;Rb:{Sb:{if((c^d)-d>>>0>16383){break Sb}d=b>>31;if((d^b)-d>>>0>16383){break Sb}if(!(b|c)){break Rb}b=b<<14;c=c<<14}d=c;c=Xi(c,b)<<2;K=a,O=Ze(d,c),B[K+294>>1]=O;K=a,O=Ze(b,c),B[K+296>>1]=O}d=E[u>>1];Tb:{if((d|0)==16384){b=B[a+294>>1];C[a+564>>2]=b;f=b;break Tb}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;f=E[a+294>>1];break Tb}f=B[a+294>>1];b=I(b,B[a+296>>1])+I(f,d<<16>>16)>>14;C[a+564>>2]=b}c=1130;C[a+572>>2]=(f&65535)==16384?1130:E[a+296>>1]==16384?1131:1132;c=E[a+290>>1]!=16384?E[a+292>>1]==16384?1131:1133:c;C[a+588>>2]=1134;C[a+584>>2]=1135;C[a+576>>2]=c;Ub:{if((b|0)!=16384){break Ub}Vb:{if((d|0)==16384){e=1137;c=1136;break Vb}if(E[a+300>>1]!=16384){break Ub}e=1139;c=1138}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p}b=C[d>>2];c=b&255;if((c|0)==255){A[a+337|0]=1;break p}if(!c){A[a+337|0]=0;break p}if(!(!(b&256)|c>>>0>1])){A[a+337|0]=1}if(!(!(b&512)|!D[a+281|0])){A[a+337|0]=1}if(!(!(b&1024)|!D[a+282|0])){A[a+337|0]=1}if(!(!(b&2048)|c>>>0>=E[a+252>>1])){A[a+337|0]=0}if(!(!(b&4096)|!D[a+281|0])){A[a+337|0]=0}if(!(b&8192)|!D[a+282|0]){break p}A[a+337|0]=0;break p}Wb:{f=E[d+4>>1];b=E[a+152>>1];if(f>>>0>=b>>>0){break Wb}c=E[d>>1];if(b>>>0<=c>>>0){break Wb}if(c>>>0>f>>>0){break p}e=0;b=c;d=f-b|0;g=d+1&3;if(g){while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]&254;b=b+1|0;c=b&65535;e=e+1|0;if((g|0)!=(e&65535)){continue}break}}if((d&65535)>>>0<3){break p}while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]&254;c=C[a+168>>2]+(b+1&65535)|0;A[c|0]=D[c|0]&254;c=C[a+168>>2]+(b+2&65535)|0;A[c|0]=D[c|0]&254;c=C[a+168>>2]+(b+3&65535)|0;A[c|0]=D[c|0]&254;b=b+4|0;c=b&65535;if(f>>>0>=c>>>0){continue}break}break p}if(!D[a+561|0]){break p}b=134;break i}Xb:{f=E[d+4>>1];b=E[a+152>>1];if(f>>>0>=b>>>0){break Xb}c=E[d>>1];if(b>>>0<=c>>>0){break Xb}if(c>>>0>f>>>0){break p}e=0;b=c;d=f-b|0;g=d+1&3;if(g){while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]|1;b=b+1|0;c=b&65535;e=e+1|0;if((g|0)!=(e&65535)){continue}break}}if((d&65535)>>>0<3){break p}while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]|1;c=C[a+168>>2]+(b+1&65535)|0;A[c|0]=D[c|0]|1;c=C[a+168>>2]+(b+2&65535)|0;A[c|0]=D[c|0]|1;c=C[a+168>>2]+(b+3&65535)|0;A[c|0]=D[c|0]|1;b=b+4|0;c=b&65535;if(f>>>0>=c>>>0){continue}break}break p}if(!D[a+561|0]){break p}b=134;break i}c=C[a+304>>2];Yb:{if((c|0)<=C[a+16>>2]){if((c|0)<=0){break Yb}while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];Zb:{if(b>>>0>=E[a+152>>1]){b=c;if(!D[a+561|0]){break Zb}b=134;break i}b=b+C[a+168>>2]|0;A[b|0]=D[b|0]^1;b=C[a+304>>2]}c=b-1|0;C[a+304>>2]=c;if((b|0)>1){continue}break}e=C[a+28>>2];break Yb}if(!D[a+561|0]){break Yb}C[a+12>>2]=129}C[a+32>>2]=e;C[a+304>>2]=1;break p}C[a+568>>2]=1142;C[a+312>>2]=3;break p}C[a+568>>2]=1143;C[a+312>>2]=4;break p}C[a+568>>2]=1144;C[a+312>>2]=5;break p}if(C[d+4>>2]){break p}b=C[d>>2];if(!(b|e)){C[a+12>>2]=132}b=b+C[a+360>>2]|0;C[a+360>>2]=b;_b:{if((b|0)>=0){c=C[a+428>>2];if((c|0)<=0|(b|0)<=C[C[(C[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break _b}}C[a+12>>2]=132}A[a+376|0]=0;break p}if(!C[d+4>>2]){break p}b=C[d>>2];if(!(b|e)){C[a+12>>2]=132}b=b+C[a+360>>2]|0;C[a+360>>2]=b;$b:{if((b|0)>=0){c=C[a+428>>2];if((c|0)<=0|(b|0)<=C[C[(C[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break $b}}C[a+12>>2]=132}A[a+376|0]=0;break p}d=C[d>>2];c=d>>>4|0;b=C[(c&12)+286184>>2];ac:{bc:{cc:{dc:{c=c&3;switch(c-1|0){case 2:break bc;case 1:break cc;case 0:break dc;default:break ac}}c=b>>>10|0;break ac}c=b>>>9|0;break ac}c=I(b,3)>>>10|0}C[a+480>>2]=c;C[a+568>>2]=1145;C[a+312>>2]=7;c=d&15;if(c){c=(I(b,c-4|0)|0)/8|0}else{c=b-1|0}C[a+484>>2]=c>>8;C[a+476>>2]=b>>>8;break p}d=C[d>>2];c=d>>>4|0;b=C[(c&12)+286168>>2];ec:{fc:{gc:{hc:{c=c&3;switch(c-1|0){case 2:break fc;case 1:break gc;case 0:break hc;default:break ec}}c=b>>>10|0;break ec}c=b>>>9|0;break ec}c=I(b,3)>>>10|0}C[a+480>>2]=c;C[a+568>>2]=1146;C[a+312>>2]=6;C[a+476>>2]=b>>>8;c=d&15;C[a+484>>2]=(c?I(b,c-4|0)>>3:b-1|0)>>8;break p}e=Fe[C[a+592>>2]](a)|0;c=1;d=C[d>>2];ic:{if(!d){break ic}while(1){b=C[a+28>>2];if((b|0)<=1){if(D[a+561|0]){C[a+12>>2]=129}C[a+28>>2]=0;break ic}f=b-2|0;C[a+28>>2]=f;g=b<<2;b=C[a+24>>2];g=C[(g+b|0)-4>>2];jc:{if(g>>>0>=F[a+380>>2]){if(!D[a+561|0]){break jc}b=134;break i}f=C[b+(f<<2)>>2];b=f>>>4&15;kc:{lc:{switch(D[a+368|0]-116|0){case 0:b=b|16;break kc;case 1:break lc;default:break kc}}b=b|32}if((e|0)!=(E[a+332>>1]+b|0)){break jc}b=f&15;Fe[C[a+604>>2]](a,g,(b>>>0>7?-7:-8)+b<<6-E[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}C[a+32>>2]=C[a+28>>2];break p}rw(a,d);break p}b=C[d>>2];if(b>>>0>=F[a+380>>2]){if(!D[a+561|0]){break p}b=134;break i}c=Te(C[d+4>>2],C[a+260>>2]);C[C[a+384>>2]+(b<<2)>>2]=c;break p}b=C[((c<<2)+a|0)-168>>2];c=C[d>>2];if((c|0)>=0){b=b+c|0;C[d>>2]=(b|0)>0?b:0;break p}b=c-b|0;C[d>>2]=b>>31&b;break p}K=d,O=Fe[C[a+568>>2]](a,C[d>>2],C[((c<<2)+a|0)-152>>2])|0,C[K>>2]=O;break p}C[d>>2]=C[d>>2]+63&-64;break p}C[d>>2]=C[d>>2]&-64;break p}C[d>>2]=0-C[d>>2];break p}c=C[d>>2];b=c>>31;C[d>>2]=(b^c)-b;break p}K=d,O=of(C[d>>2],C[d+4>>2],64),C[K>>2]=O;break p}b=C[d+4>>2];if(!b){b=133;break i}K=d,O=mq(C[d>>2],64,b),C[K>>2]=O;break p}C[d>>2]=C[d>>2]-C[d+4>>2];break p}C[d>>2]=C[d>>2]+C[d+4>>2];break p}b=C[d>>2];if(b>>>0>6){b=132;break i}B[a+334>>1]=b;break p}B[a+332>>1]=C[d>>2];break p}rw(a,d);break p}C[d>>2]=!C[d>>2];break p}C[d>>2]=C[d>>2]?1:C[d+4>>2]!=0;break p}if(!C[d>>2]){C[d>>2]=0;break p}C[d>>2]=C[d+4>>2]!=0;break p}if(C[d>>2]){break p}b=C[a+360>>2];e=C[a+364>>2];d=1;while(1){b=b+f|0;C[a+360>>2]=b;if((b|0)>=(e|0)){b=131;break i}c=D[b+g|0];A[a+368|0]=c;f=A[c+284800|0];C[a+372>>2]=f;if((c&254)==64){h=b+1|0;if((h|0)>=(e|0)){b=131;break i}f=2-I(D[g+h|0],f)|0;C[a+372>>2]=f}if((e|0)<(b+f|0)){b=131;break i}mc:{if((c|0)!=27){nc:{switch(c-88|0){case 1:break mc;case 0:break nc;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break p}d=d-1|0;if(d){continue}break}break p}K=d,O=!(Fe[C[a+568>>2]](a,C[d>>2],0)&127),C[K>>2]=O;break p}K=d,O=(Fe[C[a+568>>2]](a,C[d>>2],0)&127)==64,C[K>>2]=O;break p}C[d>>2]=C[d>>2]!=C[d+4>>2];break p}C[d>>2]=C[d>>2]==C[d+4>>2];break p}C[d>>2]=C[d>>2]>=C[d+4>>2];break p}C[d>>2]=C[d>>2]>C[d+4>>2];break p}C[d>>2]=C[d>>2]<=C[d+4>>2];break p}C[d>>2]=C[d>>2]>2];break p}A[a+316|0]=0;break p}A[a+316|0]=1;break p}K=d,O=Fe[C[a+592>>2]](a)|0,C[K>>2]=O;break p}K=d,O=Fe[C[a+592>>2]](a)|0,C[K>>2]=O;break p}oc:{pc:{e=E[d>>1];if(e>>>0>1]){b=E[d+4>>1];if(b>>>0>1]){break pc}}b=0;if(!D[a+561|0]){break oc}C[a+12>>2]=134;C[d>>2]=0;break p}if(c&1){c=C[a+52>>2]+(e<<3)|0;b=C[a+88>>2]+(b<<3)|0;K=d,O=Fe[C[a+572>>2]](a,C[c>>2]-C[b>>2]|0,C[c+4>>2]-C[b+4>>2]|0)|0,C[K>>2]=O;break p}if(!(E[a+346>>1]?E[a+344>>1]:0)){c=C[a+48>>2]+(e<<3)|0;b=C[a+84>>2]+(b<<3)|0;K=d,O=Fe[C[a+576>>2]](a,C[c>>2]-C[b>>2]|0,C[c+4>>2]-C[b+4>>2]|0)|0,C[K>>2]=O;break p}b=C[a+92>>2]+(b<<3)|0;c=C[a+56>>2]+(e<<3)|0;e=C[a+220>>2];if((e|0)==C[a+224>>2]){K=d,O=Te(Fe[C[a+576>>2]](a,C[c>>2]-C[b>>2]|0,C[c+4>>2]-C[b+4>>2]|0)|0,C[a+220>>2]),C[K>>2]=O;break p}b=(O=a,L=Te(C[c>>2]-C[b>>2]|0,e),M=Te(C[c+4>>2]-C[b+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](O|0,L|0,M|0)|0)}C[d>>2]=b;break p}b=E[d>>1];if(b>>>0>=E[a+116>>1]){if(!D[a+561|0]){break p}b=134;break i}c=b<<3;e=c+C[a+124>>2]|0;e=Fe[C[a+572>>2]](a,C[e>>2],C[e+4>>2])|0;Fe[C[a+584>>2]](a,o,b,C[d+4>>2]-e|0);if(E[a+348>>1]){break p}b=c+C[a+120>>2]|0;c=c+C[a+124>>2]|0;d=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=d;break p}b=C[d>>2];qc:{if(b>>>0>=E[a+116>>1]){b=0;if(!D[a+561|0]){break qc}C[a+12>>2]=134;C[d>>2]=0;break p}if(c&1){b=C[a+120>>2]+(b<<3)|0;K=d,M=Fe[C[a+576>>2]](a,C[b>>2],C[b+4>>2])|0,C[K>>2]=M;break p}b=C[a+124>>2]+(b<<3)|0;b=Fe[C[a+572>>2]](a,C[b>>2],C[b+4>>2])|0}C[d>>2]=b;break p}b=C[d>>2];rc:{if(b>>>0>=F[a+380>>2]){b=0;if(!D[a+561|0]){break rc}b=134;break i}b=Fe[C[a+596>>2]](a,b)|0}C[d>>2]=b;break p}b=C[d>>2];if(b>>>0>=F[a+380>>2]){if(!D[a+561|0]){break p}b=134;break i}Fe[C[a+600>>2]](a,b,C[d+4>>2]);break p}b=C[d>>2];sc:{if(b>>>0>=E[a+468>>1]){b=0;if(!D[a+561|0]){break sc}b=134;break i}b=C[C[a+472>>2]+(b<<2)>>2]}C[d>>2]=b;break p}b=C[d>>2];if(b>>>0>=E[a+468>>1]){if(!D[a+561|0]){break p}b=134;break i}C[C[a+472>>2]+(b<<2)>>2]=C[d+4>>2];break p}b=130;c=C[a+360>>2];e=D[(c+g|0)+1|0];if(e>>>0>=(h-C[a+16>>2]|0)+1>>>0){break i}C[a+360>>2]=c+2;if(e){b=0;if((e|0)!=1){f=e&254;c=0;while(1){h=C[a+360>>2];C[a+360>>2]=h+2;i=b<<2;h=g+h|0;h=D[h|0]|D[h+1|0]<<8;C[i+d>>2]=(h<<8|h>>>8)<<16>>16;h=C[a+360>>2];C[a+360>>2]=h+2;h=g+h|0;h=D[h|0]|D[h+1|0]<<8;C[d+(i|4)>>2]=(h<<8|h>>>8)<<16>>16;b=b+2|0;c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(e&1){c=C[a+360>>2];C[a+360>>2]=c+2;d=d+(b<<2)|0;b=c+g|0;b=D[b|0]|D[b+1|0]<<8;C[d>>2]=(b<<8|b>>>8)<<16>>16}i=C[a+32>>2]}A[a+376|0]=0;C[a+32>>2]=e+i;break p}b=130;e=D[(g+C[a+360>>2]|0)+1|0];if(e>>>0>=(h-C[a+16>>2]|0)+1>>>0){break i}if(e){b=1;if((e|0)!=1){f=e&254;c=0;while(1){h=d+(b<<2)|0;C[h-4>>2]=D[(g+(C[a+360>>2]+b|0)|0)+1|0];b=b+2|0;C[h>>2]=D[g+(b+C[a+360>>2]|0)|0];c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(e&1){C[(d+(b<<2)|0)-4>>2]=D[(g+(C[a+360>>2]+b|0)|0)+1|0]}i=C[a+32>>2]}C[a+32>>2]=e+i;break p}tc:{uc:{c=E[d>>1];if(c>>>0>1]){b=C[d+4>>2];if(b>>>0>2]){break uc}}if(!D[a+561|0]){break tc}C[a+12>>2]=134;break tc}g=C[a+320>>2];b=Fe[C[a+596>>2]](a,b)|0;if(!E[a+344>>1]){e=B[a+298>>1];d=e>>31;h=(d^e)-d|0;d=b>>31;i=(d^b)-d|0;j=i>>>16|0;m=I(h,j);f=m<<16|8192;r=c<<3;d=r+C[a+48>>2]|0;q=f;v=h;h=i&65535;f=f+I(v,h)|0;f=(m>>>16|0)+(q>>>0>f>>>0)<<18|f>>>14;C[d>>2]=(b^e)<0?0-f|0:f;e=B[a+300>>1];f=e>>31;i=(e^f)-f|0;j=I(i,j);f=j<<16|8192;q=f;f=f+I(h,i)|0;f=(j>>>16|0)+(q>>>0>f>>>0)<<18|f>>>14;C[d+4>>2]=(b^e)<0?0-f|0:f;f=C[d+4>>2];e=r+C[a+52>>2]|0;C[e>>2]=C[d>>2];C[e+4>>2]=f}d=C[a+52>>2]+(c<<3)|0;d=Fe[C[a+572>>2]](a,C[d>>2],C[d+4>>2])|0;if(A[a+368|0]&1){f=b-d|0;e=f>>31;b=Fe[C[a+568>>2]](a,(g|0)<((e^f)-e|0)?d:b,C[a+264>>2])|0}Fe[C[a+584>>2]](a,l,c,b-d|0)}B[a+286>>1]=c;B[a+284>>1]=c;break p}C[a+568>>2]=1147;C[a+312>>2]=2;break p}c=C[a+304>>2];vc:{if(!(E[a+284>>1]>1]&(c|0)<=C[a+16>>2])){if(!D[a+561|0]){break vc}C[a+12>>2]=134;break vc}if((c|0)<=0){break vc}while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];wc:{if(b>>>0>=E[a+80>>1]){b=c;if(!D[a+561|0]){break wc}b=134;break i}d=b;b=C[a+88>>2]+(b<<3)|0;c=C[a+52>>2]+(E[a+284>>1]<<3)|0;M=a,L=n,O=d,N=0-(Fe[C[a+572>>2]](a,C[b>>2]-C[c>>2]|0,C[b+4>>2]-C[c+4>>2]|0)|0)|0,K=C[a+584>>2],Fe[K](M|0,L|0,O|0,N|0);b=C[a+304>>2]}c=b-1|0;C[a+304>>2]=c;if((b|0)>1){continue}break}e=C[a+28>>2]}C[a+32>>2]=e;C[a+304>>2]=1;break p}xc:{b=E[d>>1];if(b>>>0>1]){c=E[a+284>>1];if(c>>>0>1]){break xc}}if(!D[a+561|0]){break p}b=134;break i}if(!E[a+346>>1]){c=C[a+48>>2]+(c<<3)|0;g=C[c+4>>2];e=b<<3;f=e+C[a+84>>2]|0;C[f>>2]=C[c>>2];C[f+4>>2]=g;Fe[C[a+588>>2]](a,n,b,C[d+4>>2]);c=e+C[a+88>>2]|0;e=e+C[a+84>>2]|0;f=C[e+4>>2];C[c>>2]=C[e>>2];C[c+4>>2]=f;c=E[a+284>>1]}e=C[a+88>>2]+(b<<3)|0;c=C[a+52>>2]+(c<<3)|0;c=Fe[C[a+572>>2]](a,C[e>>2]-C[c>>2]|0,C[e+4>>2]-C[c+4>>2]|0)|0;Fe[C[a+584>>2]](a,n,b,C[d+4>>2]-c|0);B[a+288>>1]=b;B[a+286>>1]=E[a+284>>1];if(!(A[a+368|0]&1)){break p}B[a+284>>1]=b;break p}yc:{zc:{c=C[a+304>>2];Ac:{if((c|0)>C[a+16>>2]){if(D[a+561|0]){break Ac}break yc}f=1;f=!E[a+344>>1]|!E[a+346>>1]?f:!E[a+348>>1];b=E[a+286>>1];if(b>>>0>1]){break zc}if(!D[a+561|0]){break yc}}C[a+12>>2]=134;break yc}g=C[(f?48:56)+a>>2];d=b<<3;e=g+d|0;i=C[a+52>>2];m=i+d|0;j=0;d=0;h=E[a+288>>1];if(h>>>0>1]){Bc:{if(f){c=C[a+84>>2]+(h<<3)|0;d=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[(g+(b<<3)|0)+4>>2]|0)|0;break Bc}c=C[a+220>>2];if((c|0)==C[a+224>>2]){c=C[a+92>>2]+(h<<3)|0;d=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[(g+(b<<3)|0)+4>>2]|0)|0;break Bc}d=(N=a,O=Te(C[C[a+92>>2]+(h<<3)>>2]-C[e>>2]|0,c),L=Te(C[(C[a+92>>2]+(E[a+288>>1]<<3)|0)+4>>2]-C[(g+(b<<3)|0)+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](N|0,O|0,L|0)|0)}c=C[a+88>>2]+(E[a+288>>1]<<3)|0;j=Fe[C[a+572>>2]](a,C[c>>2]-C[m>>2]|0,C[c+4>>2]-C[(i+(b<<3)|0)+4>>2]|0)|0;c=C[a+304>>2]}if((c|0)<=0){break yc}b=b<<3;h=b+i|0;g=b+g|0;while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=C[C[a+24>>2]+(b<<2)>>2];Cc:{if(b>>>0>=E[a+116>>1]){b=c;if(!D[a+561|0]){break Cc}b=134;break i}Dc:{if(f){c=C[a+120>>2]+(b<<3)|0;c=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[g+4>>2]|0)|0;break Dc}c=C[a+220>>2];if((c|0)==C[a+224>>2]){c=C[a+128>>2]+(b<<3)|0;c=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[g+4>>2]|0)|0;break Dc}i=b<<3;c=(L=a,O=Te(C[i+C[a+128>>2]>>2]-C[e>>2]|0,c),N=Te(C[(i+C[a+128>>2]|0)+4>>2]-C[g+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](L|0,O|0,N|0)|0)}i=C[a+124>>2]+(b<<3)|0;i=Fe[C[a+572>>2]](a,C[i>>2]-C[m>>2]|0,C[i+4>>2]-C[h+4>>2]|0)|0;q=a;b=b&65535;if(!(!c|!d)){c=of(c,j,d)}Fe[C[a+584>>2]](q,o,b,c-i|0);b=C[a+304>>2]}c=b-1|0;C[a+304>>2]=c;if((b|0)>1){continue}break}}C[a+304>>2]=1;C[a+32>>2]=C[a+28>>2];break p}b=C[a+304>>2];Ec:{if((b|0)>=C[a+16>>2]){if(!D[a+561|0]){break Ec}C[a+12>>2]=134;break Ec}if((b|0)<=0){break Ec}c=B[a+300>>1];e=c>>31;b=C[d>>2];d=b>>31;e=(c^e)-e|0;f=(b^d)-d|0;g=f>>>16|0;h=I(e,g);d=h<<16|8192;i=d;q=e;e=f&65535;d=d+I(q,e)|0;d=(h>>>16|0)+(i>>>0>d>>>0)<<18|d>>>14;f=(b^c)<0?0-d|0:d;c=B[a+298>>1];d=c>>31;h=g;g=(c^d)-d|0;h=I(h,g);d=h<<16|8192;i=d;d=d+I(e,g)|0;d=(h>>>16|0)+(i>>>0>d>>>0)<<18|d>>>14;c=(b^c)<0?0-d|0:d;while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];Fc:{if(b>>>0>=E[a+116>>1]){if(!D[a+561|0]){break Fc}b=134;break i}if(E[u>>1]){d=C[a+124>>2]+(b<<3)|0;C[d>>2]=c+C[d>>2];d=b+C[a+132>>2]|0;A[d|0]=D[d|0]|8}if(!E[a+300>>1]){break Fc}d=C[a+124>>2]+(b<<3)|0;C[d+4>>2]=f+C[d+4>>2];b=b+C[a+132>>2]|0;A[b|0]=D[b|0]|16}b=C[a+304>>2];C[a+304>>2]=b-1;if((b|0)>1){continue}break}e=C[a+28>>2]}C[a+32>>2]=e;C[a+304>>2]=1;break p}if(F[d>>2]>=2){if(!D[a+561|0]){break p}C[a+12>>2]=134;break p}if(up(a,k+4|0,k,k+12|0,k+10|0)){break p}Gc:{Hc:{switch(E[a+348>>1]){case 0:b=E[a+116>>1];break Gc;case 1:break Hc;default:break p}}b=B[a+118>>1];if((b|0)<=0){break p}b=E[(C[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break p}c=C[a+124>>2];b=0;e=E[k+10>>1];f=C[k+4>>2];g=C[k>>2];h=C[k+28>>2];while(1){Ic:{if((c|0)==(h|0)&(b|0)==(e|0)){break Ic}if(E[u>>1]){i=c+(b<<3)|0;C[i>>2]=f+C[i>>2]}if(!E[a+300>>1]){break Ic}i=c+(b<<3)|0;C[i+4>>2]=g+C[i+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break p}b=C[d>>2];c=b<<16>>16;if(c>>>0>=(E[a+348>>1]?B[a+118>>1]:1)>>>0){if(!D[a+561|0]){break p}C[a+12>>2]=134;break p}if(up(a,k+4|0,k,k+12|0,k+10|0)){break p}b=(b<<16?(E[(C[a+136>>2]+(c<<1)|0)-2>>1]-E[a+140>>1]|0)+1|0:0)&65535;if(E[a+348>>1]){c=(E[C[a+136>>2]+(c<<1)>>1]-E[a+140>>1]|0)+1|0}else{c=E[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break p}d=E[k+10>>1];e=C[k+4>>2];f=C[k>>2];g=C[k+28>>2];while(1){h=C[a+124>>2];Jc:{if((h|0)==(g|0)&(b|0)==(d|0)){break Jc}if(E[u>>1]){h=h+(b<<3)|0;C[h>>2]=e+C[h>>2];h=C[a+132>>2]+b|0;A[h|0]=D[h|0]|8}if(!E[a+300>>1]){break Jc}h=C[a+124>>2]+(b<<3)|0;C[h+4>>2]=f+C[h+4>>2];h=C[a+132>>2]+b|0;A[h|0]=D[h|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break p}Kc:{if(C[a+16>>2]>2]){if(!D[a+561|0]){break Kc}C[a+12>>2]=134;break Kc}if(up(a,k+4|0,k,k+12|0,k+10|0)){break p}if(C[a+304>>2]<=0){break Kc}c=C[k+4>>2];d=C[k>>2];while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];Lc:{if(b>>>0>=E[a+116>>1]){if(!D[a+561|0]){break Lc}C[a+12>>2]=134;break p}if(E[u>>1]){e=C[a+124>>2]+(b<<3)|0;C[e>>2]=c+C[e>>2];e=b+C[a+132>>2]|0;A[e|0]=D[e|0]|8}if(!E[a+300>>1]){break Lc}e=C[a+124>>2]+(b<<3)|0;C[e+4>>2]=d+C[e+4>>2];b=b+C[a+132>>2]|0;A[b|0]=D[b|0]|16}b=C[a+304>>2];C[a+304>>2]=b-1;if((b|0)>1){continue}break}}C[a+304>>2]=1;C[a+32>>2]=C[a+28>>2];break p}if(!E[a+154>>1]){break p}r=C[a+156>>2];Mc:{if(c&1){j=C[a+160>>2];i=8;b=C[a+164>>2];break Mc}r=r+4|0;j=C[a+160>>2]+4|0;i=16;b=C[a+164>>2]+4|0}C[k+20>>2]=b;C[k+16>>2]=j;C[k+12>>2]=r;C[k+24>>2]=E[a+152>>1];s=0;b=0;while(1){d=b;b=E[C[a+172>>2]+(s<<1)>>1]-E[a+176>>1]|0;c=E[a+152>>1];m=b>>>0>>0?b:c-1|0;Nc:{if(d>>>0>m>>>0){b=d;break Nc}e=C[a+168>>2];f=0;c=d;Oc:{Pc:{while(1){Qc:{b=c+1|0;if(D[c+e|0]&i){e=b;h=c;g=c;Rc:{w=b>>>0>m>>>0;if(!w){while(1){if(D[C[a+168>>2]+e|0]&i){tp(k+12|0,g+1|0,h,g,e);g=e}h=e;e=e+1|0;if(m>>>0>=e>>>0){continue}break}if((c|0)!=(g|0)){break Rc}}g=c<<3;h=C[g+j>>2];g=C[g+r>>2];if((h|0)==(g|0)){break Oc}g=h-g|0;if(c>>>0<=d>>>0){break Pc}h=0;q=f&3;if(q){while(1){v=(d<<3)+j|0;C[v>>2]=g+C[v>>2];d=d+1|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}}if(f-1>>>0>2){break Qc}break Pc}tp(k+12|0,g+1&65535,m,g,c);if(!c){break Oc}tp(k+12|0,d,c-1|0,g,c);break Oc}f=f+1|0;c=b;if(b>>>0<=m>>>0){continue}break Nc}break}while(1){f=(d<<3)+j|0;C[f>>2]=g+C[f>>2];C[f+8>>2]=g+C[f+8>>2];C[f+16>>2]=g+C[f+16>>2];C[f+24>>2]=g+C[f+24>>2];d=d+4|0;if((d|0)!=(c|0)){continue}break}}if(w){break Oc}while(1){c=(b<<3)+j|0;C[c>>2]=g+C[c>>2];b=b+1|0;if(m>>>0>=b>>>0){continue}break}}b=e}s=s+1|0;if((s|0)>1]){continue}break}break p}b=E[d>>1];if(b>>>0>=E[a+44>>1]){if(!D[a+561|0]){break p}b=134;break i}if(c&1){c=C[a+52>>2]+(b<<3)|0;c=Fe[C[a+572>>2]](a,C[c>>2],C[c+4>>2])|0;c=(Fe[C[a+568>>2]](a,c,C[a+264>>2])|0)-c|0}else{c=0}Fe[C[a+584>>2]](a,l,b,c);B[a+286>>1]=b;B[a+284>>1]=b;break p}c=C[a+428>>2];if((c|0)<=0){b=136;break i}b=c-1|0;C[a+428>>2]=b;b=C[a+436>>2]+(b<<4)|0;d=C[b+8>>2];C[b+8>>2]=d-1;A[a+376|0]=0;if((d|0)>=2){C[a+428>>2]=c;C[a+360>>2]=C[C[b+12>>2]+4>>2];break p}c=C[b>>2];if(c-4>>>0<4294967293){b=132;break i}d=(c-1<<3)+a|0;e=C[d+444>>2];if(!e){b=138;break i}d=C[d+448>>2];b=C[b+4>>2];if((d|0)<(b|0)){b=131;break i}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=b;C[a+352>>2]=c}b=C[a+12>>2]}if(b){if((b|0)!=128){break h}c=C[a+408>>2];if((c|0)<=0){b=128;break i}b=C[a+416>>2];c=b+I(c,24)|0;while(1){if(!(!D[b+16|0]|D[a+368|0]!=D[b+12|0])){c=C[a+428>>2];if((c|0)>=C[a+432>>2]){b=134;break i}c=C[a+436>>2]+(c<<4)|0;C[c>>2]=C[a+352>>2];d=C[a+360>>2];C[c+12>>2]=b;C[c+8>>2]=1;C[c+4>>2]=d+1;c=C[b>>2];if(c-4>>>0<4294967293){b=132;break i}d=(c-1<<3)+a|0;e=C[d+444>>2];if(!e){b=138;break i}d=C[d+448>>2];b=C[b+4>>2];if((d|0)>=(b|0)){break l}b=131;break i}b=b+24|0;if(c>>>0>b>>>0){continue}break}b=128;break i}C[a+16>>2]=C[a+32>>2];if(!D[a+376|0]){break m}}C[a+360>>2]=C[a+360>>2]+C[a+372>>2]}if((J|0)<=999999){J=J+1|0;break k}c=139;break g}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=b;C[a+352>>2]=c}b=C[a+360>>2];if((b|0)>=C[a+364>>2]){c=0;b=131;if(C[a+428>>2]>0){break i}break g}if(!D[a+488|0]){continue}break}c=0;break g}C[a+12>>2]=b}if(!(D[a+488|0]|C[a+352>>2]!=3)){a=C[a+4>>2];C[a+296>>2]=-1;C[a+300>>2]=-1}c=b}Ce=k+48|0;return c|0}function Hw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=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,B=0,E=0,G=0,J=0;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:{A:{B:{C:{D:{E:{F:{G:{H:{I:{switch(a-1|0){default:switch(a-255|0){case 38:break l;case 37:break m;case 36:break n;case 35:break o;case 0:break H;default:break k};case 10:if(D[b+16|0]){A[b+40|0]=1}a=C[b+92>>2];J:{K:{if(a){a=a-1|0;C[b+92>>2]=a;if(a>>>0>=F[b+100>>2]){break K}a=C[b+104>>2]+I(a,28)|0;break J}A[b+88|0]=1}C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}c=C[a+4>>2];C[b+44>>2]=C[a>>2];C[b+48>>2]=c;C[b+68>>2]=C[a+24>>2];c=C[a+20>>2];C[b+60>>2]=C[a+16>>2];C[b+64>>2]=c;c=C[a+12>>2];C[b+52>>2]=C[a+8>>2];C[b+56>>2]=c;c=C[a+8>>2];e=C[a+12>>2];f=C[a>>2];j=C[a+4>>2];A[b+16|0]=D[a+16|0];C[b+8>>2]=c;C[b+12>>2]=e;C[b>>2]=f;C[b+4>>2]=j;return;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break k;case 30:break p;case 29:break q;case 26:break r;case 25:break s;case 24:break t;case 23:break u;case 7:break v;case 6:break w;case 5:break x;case 4:break y;case 3:break z;case 21:break A;case 20:break B;case 18:case 19:break C;case 2:case 22:break D;case 0:case 17:break E;case 28:break F;case 9:break G;case 13:break I}}if(!D[b+144|0]){if(A[b+24|0]&1){L:{if(!C[b+32>>2]){c=C[21153];e=c;a=C[21152];C[104428]=a;C[104429]=c;break L}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}C[b+148>>2]=0;A[b+72|0]=1;C[b+24>>2]=0;return}if(D[b+16|0]){break j}e=C[b+12>>2];f=e+4|0;c=C[b+4>>2];if(f>>>0>c>>>0){break j}M:{if(c>>>0<=e>>>0){A[b+16|0]=1;a=84608;break M}a=e+C[b>>2]|0}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=C[b+24>>2];N:{if(a>>>0>2]){C[b+24>>2]=a+1;g=C[b+36>>2]+(a<<3)|0;a=c;break N}A[b+20|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;g=417712;a=C[b+4>>2]}H[g>>3]=+(j|0)*152587890625e-16;if(!(a>>>0>>0|c>>>0<=e>>>0|a>>>0>>0)){C[b+12>>2]=f;return}break a}Fw(b,b+116|0,2);return}Fw(b,b+108|0,1);return}if(D[b+144|0]|a>>>0>18){break e}if(1<>2];a=c>>>0>1;break f}O:{if(D[b+144|0]|a>>>0>23){break O}P:{Q:{c=1<>2];a=c>>>0>2;break P}c=C[b+24>>2];a=c&1;break P}c=C[b+24>>2];a=c>>>0>1}if(!(!a|!c)){R:{if(!C[b+32>>2]){c=C[21153];e=c;a=C[21152];C[104428]=a;C[104429]=c;break R}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}C[b+148>>2]=0;a=C[b+24>>2];C[b+24>>2]=0;C[b+80>>2]=C[b+80>>2]+(a>>>1|0);return}if(!D[b+144|0]){if(A[b+24|0]&1){S:{if(!C[b+32>>2]){c=C[21153];e=c;a=C[21152];C[104428]=a;C[104429]=c;break S}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}T:{if(D[b+74|0]){a=C[b+84>>2];break T}A[b+74|0]=1;a=C[b+80>>2]+(C[b+24>>2]>>>1|0)|0;C[b+80>>2]=a;a=(a+C[b+76>>2]|0)+7>>>3|0;C[b+84>>2]=a}if(D[b+16|0]){break j}c=C[b+12>>2];e=c+a|0;a=C[b+4>>2];if(e>>>0>a>>>0){break j}C[b+148>>2]=0;C[b+24>>2]=0;if(a>>>0>=c>>>0){C[b+12>>2]=e;return}break a}j=C[b+24>>2];if(!D[b+144|0]){if(j>>>0>=3){U:{if(!C[b+32>>2]){e=C[21153];a=C[21152];C[104428]=a;C[104429]=e;break U}e=C[b+36>>2];a=C[e>>2];e=C[e+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}p=H[b+136>>3];h=H[b+128>>3];if(!j){f=417712;break h}a=j-1|0;C[b+24>>2]=a;e=C[b+32>>2];V:{if(e>>>0<=a>>>0){f=C[21153];C[104428]=C[21152];C[104429]=f;f=417712;break V}f=C[b+36>>2]+(a<<3)|0}if(!a){break h}a=j-2|0;if(e>>>0<=a>>>0){j=C[21153];e=C[21152];C[104428]=e;C[104429]=j;l(0,e|0);l(1,j|0);i=+n();break g}i=H[C[b+36>>2]+(a<<3)>>3];break g}f=C[b+24>>2];if(!D[b+144|0]){if(f>>>0>=2){W:{if(!C[b+32>>2]){e=C[21153];a=C[21152];C[104428]=a;C[104429]=e;break W}e=C[b+36>>2];a=C[e>>2];e=C[e+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}p=H[b+136>>3];h=H[b+128>>3];X:{if(f){a=f-1|0;if(a>>>0>=F[b+32>>2]){f=C[21153];e=C[21152];C[104428]=e;C[104429]=f;l(0,e|0);l(1,f|0);i=+n();break X}i=H[C[b+36>>2]+(a<<3)>>3];break X}A[b+20|0]=1;a=0;f=C[21153];e=C[21152];C[104428]=e;C[104429]=f;l(0,e|0);l(1,f|0);i=+n()}A[c|0]=0;H[b+136>>3]=p;break d}f=C[b+24>>2];if(!D[b+144|0]){if(f>>>0>=2){Y:{if(!C[b+32>>2]){e=C[21153];a=C[21152];C[104428]=a;C[104429]=e;break Y}e=C[b+36>>2];a=C[e>>2];e=C[e+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}i=H[b+136>>3];p=H[b+128>>3];Z:{if(f){a=f-1|0;if(a>>>0>=F[b+32>>2]){f=C[21153];e=C[21152];C[104428]=e;C[104429]=f;l(0,e|0);l(1,f|0);h=+n();break Z}h=H[C[b+36>>2]+(a<<3)>>3];break Z}A[b+20|0]=1;a=0;f=C[21153];e=C[21152];C[104428]=e;C[104429]=f;l(0,e|0);l(1,f|0);h=+n()}A[c|0]=0;H[b+136>>3]=i+h;H[b+128>>3]=p;break c}a=0;d=C[b+24>>2];if(d>>>0>=2){g=C[b+36>>2];m=C[b+32>>2];e=C[21153];o=e;f=C[21152];l(0,f|0);l(1,e|0);p=+n();e=2;while(1){if(a>>>0>=d>>>0){A[b+20|0]=1}_:{if(a>>>0>=m>>>0){C[104428]=f;C[104429]=o;j=417712;break _}j=g+(a<<3)|0}a=a|1;if(a>>>0>=d>>>0){A[b+20|0]=1}h=H[b+128>>3];s=H[b+136>>3];$:{if(a>>>0>=m>>>0){C[104428]=f;C[104429]=o;i=p;break $}i=H[g+(a<<3)>>3]}q=s+i;i=h+H[j>>3];aa:{if(D[c|0]){break aa}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=q;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}a=e;e=a+2|0;if(d>>>0>=e>>>0){continue}break}}break b}a=0;d=C[b+24>>2];if(d>>>0>=2){g=C[b+36>>2];m=C[b+32>>2];a=C[21153];o=a;j=C[21152];l(0,j|0);l(1,a|0);s=+n();f=2;while(1){a=f;if(d>>>0<=e>>>0){A[b+20|0]=1}h=H[b+128>>3];ba:{if(e>>>0>=m>>>0){C[104428]=j;C[104429]=o;i=s;break ba}i=H[g+(e<<3)>>3]}t=H[b+136>>3];i=h+i;ca:{if(D[c|0]){break ca}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=t;H[b+128>>3]=i;h=i;p=H[c+8>>3];if(h>3]=i;p=i;h=H[b+128>>3]}q=H[c+24>>3];if(q>3]=h;q=h}u=H[c+16>>3];h=H[b+136>>3];if(u>h){H[c+16>>3]=h;u=h;h=H[b+136>>3]}v=H[c+32>>3];if(h>v){H[c+32>>3]=h;v=h}e=e|1;if(e>>>0>=d>>>0){A[b+20|0]=1}da:{if(e>>>0>=m>>>0){C[104428]=j;C[104429]=o;h=s;break da}h=H[g+(e<<3)>>3]}t=t+h;ea:{if(D[c|0]){break ea}A[c|0]=1;h=p;p=H[b+128>>3];if(h>p){H[c+8>>3]=p;p=H[b+128>>3]}if(p>q){H[c+24>>3]=p}p=H[b+136>>3];if(u>p){H[c+16>>3]=p;p=H[b+136>>3]}if(!(p>v)){break ea}H[c+32>>3]=p}H[b+136>>3]=t;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}e=a;f=a+2|0;if(d>>>0>=f>>>0){continue}break}}fa:{if(a>>>0>=d>>>0){break fa}h=H[b+128>>3];ga:{if(F[b+32>>2]<=a>>>0){e=C[21153];a=C[21152];C[104428]=a;C[104429]=e;l(0,a|0);l(1,e|0);i=+n();break ga}i=H[C[b+36>>2]+(a<<3)>>3]}p=H[b+136>>3];i=h+i;ha:{if(D[c|0]){break ha}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=p;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(!(H[c+32>>3]>3]=i}break b}a=0;d=C[b+24>>2];if(d>>>0>=2){g=C[b+36>>2];m=C[b+32>>2];a=C[21153];o=a;j=C[21152];l(0,j|0);l(1,a|0);s=+n();f=2;while(1){a=f;if(d>>>0<=e>>>0){A[b+20|0]=1}p=H[b+136>>3];ia:{if(e>>>0>=m>>>0){C[104428]=j;C[104429]=o;h=s;break ia}h=H[g+(e<<3)>>3]}i=H[b+128>>3];t=p+h;ja:{if(D[c|0]){break ja}A[c|0]=1;h=i;if(h>3]){H[c+8>>3]=i;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=t;H[b+128>>3]=i;h=i;p=H[c+8>>3];if(h>3]=i;p=i;h=H[b+128>>3]}q=H[c+24>>3];if(q>3]=h;q=h}u=H[c+16>>3];h=H[b+136>>3];if(u>h){H[c+16>>3]=h;u=h;h=H[b+136>>3]}v=H[c+32>>3];if(h>v){H[c+32>>3]=h;v=h}e=e|1;if(e>>>0>=d>>>0){A[b+20|0]=1}ka:{if(e>>>0>=m>>>0){C[104428]=j;C[104429]=o;h=s;break ka}h=H[g+(e<<3)>>3]}i=i+h;la:{if(D[c|0]){break la}A[c|0]=1;h=H[b+128>>3];if(p>h){H[c+8>>3]=h;h=H[b+128>>3]}if(h>q){H[c+24>>3]=h}h=H[b+136>>3];if(u>h){H[c+16>>3]=h;h=H[b+136>>3]}if(!(h>v)){break la}H[c+32>>3]=h}H[b+136>>3]=t;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}e=a;f=a+2|0;if(d>>>0>=f>>>0){continue}break}}ma:{if(a>>>0>=d>>>0){break ma}p=H[b+136>>3];na:{if(F[b+32>>2]<=a>>>0){e=C[21153];a=C[21152];C[104428]=a;C[104429]=e;l(0,a|0);l(1,e|0);h=+n();break na}h=H[C[b+36>>2]+(a<<3)>>3]}i=H[b+128>>3];p=p+h;oa:{if(D[c|0]){break oa}A[c|0]=1;h=i;if(h>3]){H[c+8>>3]=i;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=p;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(!(H[c+32>>3]>3]=i}break b}j=c;a=0;d=Ce-48|0;Ce=d;g=C[b+24>>2];if(g>>>0>=6){e=C[21152];m=C[21153];c=6;while(1){f=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=f;f=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=f;if(a>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];pa:{if(o>>>0<=a>>>0){C[104428]=e;C[104429]=m;f=417712;break pa}f=C[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=g>>>0){A[b+20|0]=1}qa:{if(o>>>0<=k>>>0){C[104428]=e;C[104429]=m;k=417712;break qa}k=C[b+36>>2]+(k<<3)|0}H[d+32>>3]=H[d+32>>3]+H[f>>3];H[d+40>>3]=H[d+40>>3]+H[k>>3];f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;f=a+2|0;if(f>>>0>=g>>>0){A[b+20|0]=1}ra:{if(f>>>0>=o>>>0){C[104428]=e;C[104429]=m;f=417712;break ra}f=C[b+36>>2]+(f<<3)|0}k=a+3|0;if(k>>>0>=g>>>0){A[b+20|0]=1}sa:{if(o>>>0<=k>>>0){C[104428]=e;C[104429]=m;k=417712;break sa}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[f>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];f=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=f;f=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=f;f=a+4|0;if(f>>>0>=g>>>0){A[b+20|0]=1}ta:{if(f>>>0>=o>>>0){C[104428]=e;C[104429]=m;f=417712;break ta}f=C[b+36>>2]+(f<<3)|0}a=a+5|0;if(a>>>0>=g>>>0){A[b+20|0]=1}ua:{if(a>>>0>=o>>>0){C[104428]=e;C[104429]=m;a=417712;break ua}a=C[b+36>>2]+(a<<3)|0}H[d>>3]=H[d>>3]+H[f>>3];H[d+8>>3]=H[d+8>>3]+H[a>>3];Bf(b,j,d+32|0,d+16|0,d);a=c;c=a+6|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}}Ce=d+48|0;break b}a=0;d=Ce-48|0;Ce=d;e=C[b+24>>2];va:{if(e>>>0<8){break va}r=e-2|0;f=C[21152];g=C[21153];e=6;while(1){j=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=j;j=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=j;m=C[b+24>>2];if(m>>>0<=a>>>0){A[b+20|0]=1}o=C[b+32>>2];wa:{if(o>>>0<=a>>>0){C[104428]=f;C[104429]=g;j=417712;break wa}j=C[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=m>>>0){A[b+20|0]=1}xa:{if(o>>>0<=k>>>0){C[104428]=f;C[104429]=g;k=417712;break xa}k=C[b+36>>2]+(k<<3)|0}H[d+32>>3]=H[d+32>>3]+H[j>>3];H[d+40>>3]=H[d+40>>3]+H[k>>3];j=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=j;j=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=j;j=a+2|0;if(j>>>0>=m>>>0){A[b+20|0]=1}ya:{if(j>>>0>=o>>>0){C[104428]=f;C[104429]=g;j=417712;break ya}j=C[b+36>>2]+(j<<3)|0}k=a+3|0;if(k>>>0>=m>>>0){A[b+20|0]=1}za:{if(o>>>0<=k>>>0){C[104428]=f;C[104429]=g;k=417712;break za}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[j>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];j=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=j;j=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=j;j=a+4|0;if(j>>>0>=m>>>0){A[b+20|0]=1}Aa:{if(j>>>0>=o>>>0){C[104428]=f;C[104429]=g;j=417712;break Aa}j=C[b+36>>2]+(j<<3)|0}a=a+5|0;if(a>>>0>=m>>>0){A[b+20|0]=1}Ba:{if(a>>>0>=o>>>0){C[104428]=f;C[104429]=g;a=417712;break Ba}a=C[b+36>>2]+(a<<3)|0}H[d>>3]=H[d>>3]+H[j>>3];H[d+8>>3]=H[d+8>>3]+H[a>>3];Bf(b,c,d+32|0,d+16|0,d);a=e;e=a+6|0;if(r>>>0>=e>>>0){continue}break}f=C[b+24>>2];if(f>>>0<=a>>>0){A[b+20|0]=1}j=C[b+32>>2];Ca:{if(j>>>0<=a>>>0){e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break Ca}e=C[b+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=f>>>0){A[b+20|0]=1}h=H[b+128>>3];p=H[b+136>>3];Da:{if(a>>>0>=j>>>0){f=C[21153];a=C[21152];C[104428]=a;C[104429]=f;l(0,a|0);l(1,f|0);i=+n();break Da}i=H[C[b+36>>2]+(a<<3)>>3]}p=p+i;i=h+H[e>>3];Ea:{if(D[c|0]){break Ea}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=p;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(!(H[c+32>>3]>3]=i}Ce=d+48|0;break b}a=0;d=Ce-48|0;Ce=d;g=C[b+24>>2];if(g>>>0>=8){r=g-6|0;m=C[b+36>>2];o=C[b+32>>2];e=C[21153];k=e;f=C[21152];l(0,f|0);l(1,e|0);p=+n();e=2;while(1){if(a>>>0>=g>>>0){A[b+20|0]=1}Fa:{if(a>>>0>=o>>>0){C[104428]=f;C[104429]=k;j=417712;break Fa}j=m+(a<<3)|0}a=a|1;if(a>>>0>=g>>>0){A[b+20|0]=1}h=H[b+128>>3];s=H[b+136>>3];Ga:{if(a>>>0>=o>>>0){C[104428]=f;C[104429]=k;i=p;break Ga}i=H[m+(a<<3)>>3]}q=s+i;i=h+H[j>>3];Ha:{if(D[c|0]){break Ha}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=q;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}a=e;e=a+2|0;if(r>>>0>=e>>>0){continue}break}f=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=f;f=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=f;if(a>>>0>=g>>>0){A[b+20|0]=1}j=C[b+32>>2];Ia:{if(j>>>0<=a>>>0){f=C[21153];C[104428]=C[21152];C[104429]=f;f=417712;break Ia}f=C[b+36>>2]+(a<<3)|0}m=a|1;if(m>>>0>=g>>>0){A[b+20|0]=1}Ja:{if(j>>>0<=m>>>0){m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712;break Ja}m=C[b+36>>2]+(m<<3)|0}H[d+32>>3]=H[d+32>>3]+H[f>>3];H[d+40>>3]=H[d+40>>3]+H[m>>3];f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;if(e>>>0>=g>>>0){A[b+20|0]=1}Ka:{if(e>>>0>=j>>>0){e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break Ka}e=C[b+36>>2]+(e<<3)|0}f=a+3|0;if(f>>>0>=g>>>0){A[b+20|0]=1}La:{if(f>>>0>=j>>>0){f=C[21153];C[104428]=C[21152];C[104429]=f;f=417712;break La}f=C[b+36>>2]+(f<<3)|0}H[d+16>>3]=H[d+16>>3]+H[e>>3];H[d+24>>3]=H[d+24>>3]+H[f>>3];e=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=e;e=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=e;e=a+4|0;if(e>>>0>=g>>>0){A[b+20|0]=1}Ma:{if(e>>>0>=j>>>0){e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break Ma}e=C[b+36>>2]+(e<<3)|0}a=a+5|0;if(a>>>0>=g>>>0){A[b+20|0]=1}Na:{if(a>>>0>=j>>>0){a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break Na}a=C[b+36>>2]+(a<<3)|0}H[d>>3]=H[d>>3]+H[e>>3];H[d+8>>3]=H[d+8>>3]+H[a>>3];Bf(b,c,d+32|0,d+16|0,d)}Ce=d+48|0;break b}j=c;a=0;d=Ce-48|0;Ce=d;c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;g=C[b+24>>2];if(g&1){Oa:{if(!C[b+32>>2]){c=C[21153];a=C[21152];C[104428]=a;C[104429]=c;l(0,a|0);l(1,c|0);h=+n();break Oa}h=H[C[b+36>>2]>>3]}H[d+32>>3]=H[d+32>>3]+h;a=1}c=a|4;if(g>>>0>=c>>>0){f=C[21153];m=f;e=C[21152];l(0,e|0);l(1,f|0);h=+n();while(1){if(a>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];Pa:{if(o>>>0<=a>>>0){C[104428]=e;C[104429]=m;i=h;break Pa}i=H[C[b+36>>2]+(a<<3)>>3]}H[d+40>>3]=H[d+40>>3]+i;f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;f=a+1|0;if(f>>>0>=g>>>0){A[b+20|0]=1}Qa:{if(f>>>0>=o>>>0){C[104428]=e;C[104429]=m;f=417712;break Qa}f=C[b+36>>2]+(f<<3)|0}k=a+2|0;if(k>>>0>=g>>>0){A[b+20|0]=1}Ra:{if(o>>>0<=k>>>0){C[104428]=e;C[104429]=m;k=417712;break Ra}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[f>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];f=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=f;f=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=f;f=a+3|0;if(f>>>0>=g>>>0){A[b+20|0]=1}a=c;Sa:{if(f>>>0>=o>>>0){C[104428]=e;C[104429]=m;i=h;break Sa}i=H[C[b+36>>2]+(f<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i;Bf(b,j,d+32|0,d+16|0,d);c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;c=a+4|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}}Ce=d+48|0;break b}j=c;a=0;d=Ce-48|0;Ce=d;c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;g=C[b+24>>2];if(g&1){Ta:{if(!C[b+32>>2]){c=C[21153];a=C[21152];C[104428]=a;C[104429]=c;l(0,a|0);l(1,c|0);h=+n();break Ta}h=H[C[b+36>>2]>>3]}H[d+40>>3]=H[d+40>>3]+h;a=1}c=a|4;if(g>>>0>=c>>>0){f=C[21153];m=f;e=C[21152];l(0,e|0);l(1,f|0);h=+n();while(1){if(a>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];Ua:{if(o>>>0<=a>>>0){C[104428]=e;C[104429]=m;i=h;break Ua}i=H[C[b+36>>2]+(a<<3)>>3]}H[d+32>>3]=H[d+32>>3]+i;f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;f=a+1|0;if(f>>>0>=g>>>0){A[b+20|0]=1}Va:{if(f>>>0>=o>>>0){C[104428]=e;C[104429]=m;f=417712;break Va}f=C[b+36>>2]+(f<<3)|0}k=a+2|0;if(k>>>0>=g>>>0){A[b+20|0]=1}Wa:{if(o>>>0<=k>>>0){C[104428]=e;C[104429]=m;k=417712;break Wa}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[f>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];f=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=f;f=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=f;f=a+3|0;if(f>>>0>=g>>>0){A[b+20|0]=1}a=c;Xa:{if(f>>>0>=o>>>0){C[104428]=e;C[104429]=m;i=h;break Xa}i=H[C[b+36>>2]+(f<<3)>>3]}H[d>>3]=H[d>>3]+i;Bf(b,j,d+32|0,d+16|0,d);c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;c=a+4|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}}Ce=d+48|0;break b}d=c;a=0;g=Ce-48|0;Ce=g;m=C[b+24>>2];Ya:{if(!(m&4)){if(m>>>0<8){break Ya}c=C[21153];j=c;f=C[21152];l(0,f|0);l(1,c|0);h=+n();c=8;while(1){e=a;a=c;c=C[b+140>>2];C[g+40>>2]=C[b+136>>2];C[g+44>>2]=c;c=C[b+132>>2];C[g+32>>2]=C[b+128>>2];C[g+36>>2]=c;if(e>>>0>=m>>>0){A[b+20|0]=1}o=C[b+32>>2];Za:{if(o>>>0<=e>>>0){C[104428]=f;C[104429]=j;i=h;break Za}i=H[C[b+36>>2]+(e<<3)>>3]}H[g+40>>3]=H[g+40>>3]+i;c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;c=e|1;if(c>>>0>=m>>>0){A[b+20|0]=1}_a:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=j;c=417712;break _a}c=C[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=m>>>0){A[b+20|0]=1}$a:{if(o>>>0<=k>>>0){C[104428]=f;C[104429]=j;k=417712;break $a}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[c>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;c=e|3;if(c>>>0>=m>>>0){A[b+20|0]=1}ab:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=j;i=h;break ab}i=H[C[b+36>>2]+(c<<3)>>3]}H[g>>3]=H[g>>3]+i;Bf(b,d,g+32|0,g+16|0,g);c=C[g+12>>2];C[g+40>>2]=C[g+8>>2];C[g+44>>2]=c;c=C[g+4>>2];C[g+32>>2]=C[g>>2];C[g+36>>2]=c;m=C[b+24>>2];c=e|4;if(m>>>0<=c>>>0){A[b+20|0]=1}o=C[b+32>>2];bb:{if(o>>>0<=c>>>0){C[104428]=f;C[104429]=j;i=h;break bb}i=H[C[b+36>>2]+(c<<3)>>3]}c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;H[g+32>>3]=H[g+32>>3]+i;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;c=e|5;if(c>>>0>=m>>>0){A[b+20|0]=1}cb:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=j;c=417712;break cb}c=C[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=m>>>0){A[b+20|0]=1}db:{if(o>>>0<=k>>>0){C[104428]=f;C[104429]=j;k=417712;break db}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[c>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;c=e|7;if(c>>>0>=m>>>0){A[b+20|0]=1}eb:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=j;i=h;break eb}i=H[C[b+36>>2]+(c<<3)>>3]}H[g+8>>3]=H[g+8>>3]+i;if(!(!(m&1)|m-e>>>0>15)){if(a>>>0>=m>>>0){A[b+20|0]=1}fb:{if(a>>>0>=o>>>0){C[104428]=f;C[104429]=j;i=h;break fb}i=H[C[b+36>>2]+(a<<3)>>3]}H[g>>3]=H[g>>3]+i}Bf(b,d,g+32|0,g+16|0,g);c=a+8|0;m=C[b+24>>2];if(c>>>0<=m>>>0){continue}break}break Ya}a=C[b+140>>2];C[g+40>>2]=C[b+136>>2];C[g+44>>2]=a;a=C[b+132>>2];C[g+32>>2]=C[b+128>>2];C[g+36>>2]=a;gb:{hb:{a=C[b+32>>2];ib:{if(!a){H[g+40>>3]=H[g+40>>3]+H[10576];c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;f=417712;break ib}H[g+40>>3]=H[g+40>>3]+H[C[b+36>>2]>>3];c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;if((a|0)==1){f=417712;break ib}f=C[b+36>>2]+8|0;if(a>>>0>2){break hb}}e=C[21153];c=C[21152];C[104428]=c;C[104429]=e;l(0,c|0);l(1,e|0);h=+n();break gb}h=H[C[b+36>>2]+16>>3]}i=H[f>>3];H[g+24>>3]=H[g+24>>3]+h;H[g+16>>3]=i+H[g+16>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;jb:{if(a>>>0<=3){e=C[21153];c=C[21152];C[104428]=c;C[104429]=e;l(0,c|0);l(1,e|0);h=+n();break jb}h=H[C[b+36>>2]+24>>3]}H[g>>3]=H[g>>3]+h;c=12;e=4;if(m>>>0>=12){a=C[21153];o=a;j=C[21152];l(0,j|0);l(1,a|0);h=+n();f=4;while(1){e=c;Bf(b,d,g+32|0,g+16|0,g);a=C[b+140>>2];C[g+40>>2]=C[b+136>>2];C[g+44>>2]=a;a=C[b+132>>2];C[g+32>>2]=C[b+128>>2];C[g+36>>2]=a;c=C[b+24>>2];if(c>>>0<=f>>>0){A[b+20|0]=1}m=C[b+32>>2];kb:{if(m>>>0<=f>>>0){C[104428]=j;C[104429]=o;i=h;break kb}i=H[C[b+36>>2]+(f<<3)>>3]}a=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=a;H[g+32>>3]=H[g+32>>3]+i;a=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=a;a=f|1;if(a>>>0>=c>>>0){A[b+20|0]=1}lb:{if(a>>>0>=m>>>0){C[104428]=j;C[104429]=o;a=417712;break lb}a=C[b+36>>2]+(a<<3)|0}k=f|2;if(k>>>0>=c>>>0){A[b+20|0]=1}mb:{if(m>>>0<=k>>>0){C[104428]=j;C[104429]=o;k=417712;break mb}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[a>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];a=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=a;a=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=a;a=f|3;if(a>>>0>=c>>>0){A[b+20|0]=1}nb:{if(a>>>0>=m>>>0){C[104428]=j;C[104429]=o;i=h;break nb}i=H[C[b+36>>2]+(a<<3)>>3]}H[g+8>>3]=H[g+8>>3]+i;Bf(b,d,g+32|0,g+16|0,g);a=C[g+12>>2];C[g+40>>2]=C[g+8>>2];C[g+44>>2]=a;a=C[g+4>>2];C[g+32>>2]=C[g>>2];C[g+36>>2]=a;m=C[b+24>>2];c=f+4|0;if(m>>>0<=c>>>0){A[b+20|0]=1}a=C[b+32>>2];ob:{if(c>>>0>=a>>>0){C[104428]=j;C[104429]=o;i=h;break ob}i=H[C[b+36>>2]+(c<<3)>>3]}H[g+40>>3]=H[g+40>>3]+i;c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;c=f+5|0;if(c>>>0>=m>>>0){A[b+20|0]=1}pb:{if(a>>>0<=c>>>0){C[104428]=j;C[104429]=o;c=417712;break pb}c=C[b+36>>2]+(c<<3)|0}k=f+6|0;if(k>>>0>=m>>>0){A[b+20|0]=1}qb:{if(a>>>0<=k>>>0){C[104428]=j;C[104429]=o;k=417712;break qb}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[c>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;c=f+7|0;if(c>>>0>=m>>>0){A[b+20|0]=1}rb:{if(a>>>0<=c>>>0){C[104428]=j;C[104429]=o;i=h;break rb}i=H[C[b+36>>2]+(c<<3)>>3]}H[g>>3]=H[g>>3]+i;f=e;c=e+8|0;if(m>>>0>=c>>>0){continue}break}}if(e>>>0>>0){sb:{if(a>>>0<=e>>>0){c=C[21153];a=C[21152];C[104428]=a;C[104429]=c;l(0,a|0);l(1,c|0);h=+n();break sb}h=H[C[b+36>>2]+(e<<3)>>3]}H[g+8>>3]=H[g+8>>3]+h}Bf(b,d,g+32|0,g+16|0,g)}Ce=g+48|0;break b}j=c;a=0;d=Ce-48|0;Ce=d;g=C[b+24>>2];tb:{if(!(g&4)){if(g>>>0<8){break tb}c=C[21153];m=c;f=C[21152];l(0,f|0);l(1,c|0);h=+n();c=8;while(1){e=a;a=c;c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;if(e>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];ub:{if(o>>>0<=e>>>0){C[104428]=f;C[104429]=m;i=h;break ub}i=H[C[b+36>>2]+(e<<3)>>3]}c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;H[d+32>>3]=H[d+32>>3]+i;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e|1;if(c>>>0>=g>>>0){A[b+20|0]=1}vb:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=m;c=417712;break vb}c=C[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=g>>>0){A[b+20|0]=1}wb:{if(o>>>0<=k>>>0){C[104428]=f;C[104429]=m;k=417712;break wb}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e|3;if(c>>>0>=g>>>0){A[b+20|0]=1}xb:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=m;i=h;break xb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i;Bf(b,j,d+32|0,d+16|0,d);c=C[d+12>>2];C[d+40>>2]=C[d+8>>2];C[d+44>>2]=c;c=C[d+4>>2];C[d+32>>2]=C[d>>2];C[d+36>>2]=c;g=C[b+24>>2];c=e|4;if(g>>>0<=c>>>0){A[b+20|0]=1}o=C[b+32>>2];yb:{if(o>>>0<=c>>>0){C[104428]=f;C[104429]=m;i=h;break yb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d+40>>3]=H[d+40>>3]+i;c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e|5;if(c>>>0>=g>>>0){A[b+20|0]=1}zb:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=m;c=417712;break zb}c=C[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=g>>>0){A[b+20|0]=1}Ab:{if(o>>>0<=k>>>0){C[104428]=f;C[104429]=m;k=417712;break Ab}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e|7;if(c>>>0>=g>>>0){A[b+20|0]=1}Bb:{if(c>>>0>=o>>>0){C[104428]=f;C[104429]=m;i=h;break Bb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d>>3]=H[d>>3]+i;if(!(!(g&1)|g-e>>>0>15)){if(a>>>0>=g>>>0){A[b+20|0]=1}Cb:{if(a>>>0>=o>>>0){C[104428]=f;C[104429]=m;i=h;break Cb}i=H[C[b+36>>2]+(a<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i}Bf(b,j,d+32|0,d+16|0,d);c=a+8|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}break tb}a=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=a;a=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=a;Db:{Eb:{m=C[b+32>>2];Fb:{if(!m){H[d+32>>3]=H[d+32>>3]+H[10576];a=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=a;a=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=a;e=417712;break Fb}H[d+32>>3]=H[d+32>>3]+H[C[b+36>>2]>>3];a=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=a;a=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=a;if((m|0)==1){e=417712;break Fb}e=C[b+36>>2]+8|0;if(m>>>0>2){break Eb}}c=C[21153];a=C[21152];C[104428]=a;C[104429]=c;l(0,a|0);l(1,c|0);h=+n();break Db}h=H[C[b+36>>2]+16>>3]}i=H[e>>3];H[d+24>>3]=H[d+24>>3]+h;H[d+16>>3]=i+H[d+16>>3];a=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=a;a=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=a;Gb:{if(m>>>0<=3){c=C[21153];a=C[21152];C[104428]=a;C[104429]=c;l(0,a|0);l(1,c|0);h=+n();break Gb}h=H[C[b+36>>2]+24>>3]}H[d+8>>3]=H[d+8>>3]+h;c=12;a=4;if(g>>>0>=12){a=C[21153];o=a;f=C[21152];l(0,f|0);l(1,a|0);h=+n();e=4;while(1){a=c;Bf(b,j,d+32|0,d+16|0,d);c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;g=C[b+24>>2];if(g>>>0<=e>>>0){A[b+20|0]=1}m=C[b+32>>2];Hb:{if(m>>>0<=e>>>0){C[104428]=f;C[104429]=o;i=h;break Hb}i=H[C[b+36>>2]+(e<<3)>>3]}H[d+40>>3]=H[d+40>>3]+i;c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e|1;if(c>>>0>=g>>>0){A[b+20|0]=1}Ib:{if(c>>>0>=m>>>0){C[104428]=f;C[104429]=o;c=417712;break Ib}c=C[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=g>>>0){A[b+20|0]=1}Jb:{if(m>>>0<=k>>>0){C[104428]=f;C[104429]=o;k=417712;break Jb}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e|3;if(c>>>0>=g>>>0){A[b+20|0]=1}Kb:{if(c>>>0>=m>>>0){C[104428]=f;C[104429]=o;i=h;break Kb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d>>3]=H[d>>3]+i;Bf(b,j,d+32|0,d+16|0,d);c=C[d+12>>2];C[d+40>>2]=C[d+8>>2];C[d+44>>2]=c;c=C[d+4>>2];C[d+32>>2]=C[d>>2];C[d+36>>2]=c;g=C[b+24>>2];c=e+4|0;if(g>>>0<=c>>>0){A[b+20|0]=1}m=C[b+32>>2];Lb:{if(c>>>0>=m>>>0){C[104428]=f;C[104429]=o;i=h;break Lb}i=H[C[b+36>>2]+(c<<3)>>3]}c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;H[d+32>>3]=H[d+32>>3]+i;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e+5|0;if(c>>>0>=g>>>0){A[b+20|0]=1}Mb:{if(c>>>0>=m>>>0){C[104428]=f;C[104429]=o;c=417712;break Mb}c=C[b+36>>2]+(c<<3)|0}k=e+6|0;if(k>>>0>=g>>>0){A[b+20|0]=1}Nb:{if(m>>>0<=k>>>0){C[104428]=f;C[104429]=o;k=417712;break Nb}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e+7|0;if(c>>>0>=g>>>0){A[b+20|0]=1}Ob:{if(c>>>0>=m>>>0){C[104428]=f;C[104429]=o;i=h;break Ob}i=H[C[b+36>>2]+(c<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i;e=a;c=a+8|0;if(g>>>0>=c>>>0){continue}break}}if(a>>>0>>0){Pb:{if(a>>>0>=m>>>0){c=C[21153];a=C[21152];C[104428]=a;C[104429]=c;l(0,a|0);l(1,c|0);h=+n();break Pb}h=H[C[b+36>>2]+(a<<3)>>3]}H[d>>3]=H[d>>3]+h}Bf(b,j,d+32|0,d+16|0,d)}Ce=d+48|0;break b}a=Ce-96|0;Ce=a;Qb:{if(C[b+24>>2]==7){e=C[b+140>>2];C[a+88>>2]=C[b+136>>2];C[a+92>>2]=e;e=C[b+132>>2];C[a+80>>2]=C[b+128>>2];C[a+84>>2]=e;Rb:{Sb:{e=C[b+32>>2];Tb:{if(!e){H[a+80>>3]=H[a+80>>3]+H[10576];f=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=f;f=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=f;f=417712;break Tb}H[a+80>>3]=H[a+80>>3]+H[C[b+36>>2]>>3];f=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=f;f=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=f;if((e|0)==1){f=417712;break Tb}f=C[b+36>>2]+8|0;if(e>>>0>2){break Sb}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break Rb}h=H[C[b+36>>2]+16>>3]}i=H[f>>3];H[a+72>>3]=H[a+72>>3]+h;H[a+64>>3]=i+H[a+64>>3];f=C[a+76>>2];C[a+56>>2]=C[a+72>>2];C[a+60>>2]=f;f=C[a+68>>2];C[a+48>>2]=C[a+64>>2];C[a+52>>2]=f;Ub:{Vb:{Wb:{Xb:{Yb:{if(e>>>0<=3){j=C[21153];f=C[21152];C[104428]=f;C[104429]=j;h=H[a+48>>3];l(0,f|0);l(1,j|0);G=a,J=h+ +n(),H[G+48>>3]=J;f=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=f;f=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=f;break Yb}H[a+48>>3]=H[a+48>>3]+H[C[b+36>>2]+24>>3];f=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=f;f=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=f;if((e|0)!=4){break Xb}}H[a+32>>3]=H[a+32>>3]+H[10576];f=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=f;f=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=f;break Wb}H[a+32>>3]=H[a+32>>3]+H[C[b+36>>2]+32>>3];f=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=f;f=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=f;if(e>>>0>5){break Vb}}j=C[21153];f=C[21152];C[104428]=f;C[104429]=j;l(0,f|0);l(1,j|0);h=+n();break Ub}h=H[C[b+36>>2]+40>>3]}j=C[a+92>>2];f=C[a+88>>2];C[a+24>>2]=f;C[a+28>>2]=j;H[a+16>>3]=H[a+16>>3]+h;C[a+8>>2]=f;C[a+12>>2]=j;f=C[a+20>>2];C[a>>2]=C[a+16>>2];C[a+4>>2]=f;Zb:{if(e>>>0<=6){f=C[21153];e=C[21152];C[104428]=e;C[104429]=f;l(0,e|0);l(1,f|0);h=+n();break Zb}h=H[C[b+36>>2]+48>>3]}H[a>>3]=H[a>>3]+h;Bf(b,c,a+80|0,a- -64|0,a+48|0);Bf(b,c,a+32|0,a+16|0,a);break Qb}A[b+40|0]=1}Ce=a+96|0;break b}a=Ce-96|0;Ce=a;_b:{if(C[b+24>>2]==13){e=C[b+140>>2];C[a+88>>2]=C[b+136>>2];C[a+92>>2]=e;e=C[b+132>>2];C[a+80>>2]=C[b+128>>2];C[a+84>>2]=e;$b:{ac:{f=C[b+32>>2];bc:{if(!f){e=417712;break bc}e=C[b+36>>2];if((f|0)!=1){break ac}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break $b}h=H[C[b+36>>2]+8>>3]}i=H[e>>3];H[a+88>>3]=H[a+88>>3]+h;H[a+80>>3]=i+H[a+80>>3];e=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=e;e=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=e;cc:{dc:{ec:{if(f>>>0<3){e=417712;break ec}e=C[b+36>>2]+16|0;if((f|0)!=3){break dc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break cc}h=H[C[b+36>>2]+24>>3]}i=H[e>>3];H[a+72>>3]=H[a+72>>3]+h;H[a+64>>3]=i+H[a+64>>3];e=C[a+76>>2];C[a+56>>2]=C[a+72>>2];C[a+60>>2]=e;e=C[a+68>>2];C[a+48>>2]=C[a+64>>2];C[a+52>>2]=e;fc:{gc:{hc:{if(f>>>0<5){e=417712;break hc}e=C[b+36>>2]+32|0;if((f|0)!=5){break gc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break fc}h=H[C[b+36>>2]+40>>3]}i=H[e>>3];H[a+56>>3]=H[a+56>>3]+h;H[a+48>>3]=i+H[a+48>>3];e=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=e;e=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=e;ic:{jc:{kc:{if(f>>>0<7){e=417712;break kc}e=C[b+36>>2]+48|0;if((f|0)!=7){break jc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break ic}h=H[C[b+36>>2]+56>>3]}i=H[e>>3];H[a+40>>3]=H[a+40>>3]+h;H[a+32>>3]=i+H[a+32>>3];e=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=e;e=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=e;lc:{mc:{nc:{if(f>>>0<9){e=417712;break nc}e=C[b+36>>2]- -64|0;if((f|0)!=9){break mc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break lc}h=H[C[b+36>>2]+72>>3]}i=H[e>>3];H[a+24>>3]=H[a+24>>3]+h;H[a+16>>3]=i+H[a+16>>3];e=C[a+28>>2];C[a+8>>2]=C[a+24>>2];C[a+12>>2]=e;e=C[a+20>>2];C[a>>2]=C[a+16>>2];C[a+4>>2]=e;oc:{pc:{qc:{if(f>>>0<11){e=417712;break qc}e=C[b+36>>2]+80|0;if((f|0)!=11){break pc}}j=C[21153];f=C[21152];C[104428]=f;C[104429]=j;l(0,f|0);l(1,j|0);h=+n();break oc}h=H[C[b+36>>2]+88>>3]}i=H[e>>3];H[a+8>>3]=H[a+8>>3]+h;H[a>>3]=i+H[a>>3];Bf(b,c,a+80|0,a- -64|0,a+48|0);Bf(b,c,a+32|0,a+16|0,a);break _b}A[b+40|0]=1}Ce=a+96|0;break b}a=Ce-96|0;Ce=a;rc:{if(C[b+24>>2]==9){e=C[b+140>>2];C[a+88>>2]=C[b+136>>2];C[a+92>>2]=e;e=C[b+132>>2];C[a+80>>2]=C[b+128>>2];C[a+84>>2]=e;sc:{tc:{f=C[b+32>>2];uc:{if(!f){e=417712;break uc}e=C[b+36>>2];if((f|0)!=1){break tc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break sc}h=H[C[b+36>>2]+8>>3]}i=H[e>>3];H[a+88>>3]=H[a+88>>3]+h;H[a+80>>3]=i+H[a+80>>3];e=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=e;e=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=e;vc:{wc:{xc:{if(f>>>0<3){e=417712;break xc}e=C[b+36>>2]+16|0;if((f|0)!=3){break wc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break vc}h=H[C[b+36>>2]+24>>3]}i=H[e>>3];H[a+72>>3]=H[a+72>>3]+h;H[a+64>>3]=i+H[a+64>>3];e=C[a+76>>2];C[a+56>>2]=C[a+72>>2];C[a+60>>2]=e;e=C[a+68>>2];C[a+48>>2]=C[a+64>>2];C[a+52>>2]=e;yc:{zc:{Ac:{Bc:{Cc:{if(f>>>0<=4){H[a+48>>3]=H[a+48>>3]+H[10576];e=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=e;e=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=e;break Cc}H[a+48>>3]=H[a+48>>3]+H[C[b+36>>2]+32>>3];e=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=e;e=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=e;if((f|0)!=5){break Bc}}j=C[21153];e=C[21152];C[104428]=e;C[104429]=j;h=H[a+32>>3];l(0,e|0);l(1,j|0);G=a,J=h+ +n(),H[G+32>>3]=J;e=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=e;e=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=e;e=417712;break Ac}H[a+32>>3]=H[a+32>>3]+H[C[b+36>>2]+40>>3];e=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=e;e=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=e;if(f>>>0<7){e=417712;break Ac}e=C[b+36>>2]+48|0;if((f|0)!=7){break zc}}d=C[21153];j=C[21152];C[104428]=j;C[104429]=d;l(0,j|0);l(1,d|0);h=+n();break yc}h=H[C[b+36>>2]+56>>3]}i=H[e>>3];H[a+24>>3]=H[a+24>>3]+h;H[a+16>>3]=i+H[a+16>>3];e=C[a+28>>2];C[a+8>>2]=C[a+24>>2];C[a+12>>2]=e;e=C[a+20>>2];C[a>>2]=C[a+16>>2];C[a+4>>2]=e;Dc:{if(f>>>0<=8){f=C[21153];e=C[21152];C[104428]=e;C[104429]=f;l(0,e|0);l(1,f|0);h=+n();break Dc}h=H[C[b+36>>2]+64>>3]}H[a>>3]=H[a>>3]+h;e=C[b+140>>2];C[a+8>>2]=C[b+136>>2];C[a+12>>2]=e;Bf(b,c,a+80|0,a- -64|0,a+48|0);Bf(b,c,a+32|0,a+16|0,a);break rc}A[b+40|0]=1}Ce=a+96|0;break b}j=c;d=Ce-96|0;Ce=d;Ec:{Fc:{Gc:{Hc:{Ic:{if(C[b+24>>2]==11){a=C[b+36>>2];e=C[21152];o=C[21153];g=417712;c=417712;Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{k=C[b+32>>2];switch(k|0){case 0:break Qc;case 1:break Rc;default:break Pc}}c=a}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);h=+n()+0;i=H[c>>3]+0;f=0;break Oc}h=H[a+8>>3]+0;i=H[a>>3]+0;f=1;if(k>>>0<3){break Oc}if((k|0)!=3){break Nc}g=a+16|0;m=1;f=1}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);h=h+ +n();i=i+H[g>>3];c=417712;break Mc}h=h+H[a+24>>3];i=i+H[a+16>>3];if(k>>>0<5){r=1;f=1;m=1;c=417712;break Mc}if((k|0)!=5){break Lc}r=1;f=1;m=1;w=1;c=a+32|0}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);h=h+ +n();p=i+H[c>>3];c=417712;break Kc}h=h+H[a+40>>3];p=i+H[a+32>>3];if(k>>>0<7){x=1;r=1;f=1;m=1;w=1;c=417712;break Kc}if((k|0)!=7){break Jc}x=1;r=1;f=1;m=1;w=1;y=1;c=a+48|0}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);i=h+ +n();h=p+H[c>>3];g=417712;break Hc}i=h+H[a+56>>3];h=p+H[a+48>>3];if(k>>>0<9){z=1;x=1;r=1;f=1;m=1;w=1;y=1;break Hc}if((k|0)!=9){break Ic}g=a- -64|0;z=1;x=1;r=1;f=1;m=1;w=1;y=1;E=1;break Hc}A[b+40|0]=1;break Ec}p=H[a+64>>3];q=H[a+72>>3];c=C[b+140>>2];C[d+88>>2]=C[b+136>>2];C[d+92>>2]=c;c=C[b+132>>2];C[d+80>>2]=C[b+128>>2];C[d+84>>2]=c;B=b+128|0;i=i+q;h=h+p;c=1;z=1;x=1;r=1;m=1;w=1;y=1;E=1;break Gc}c=0;C[104428]=e;C[104429]=o;q=H[g>>3];g=C[b+140>>2];C[d+88>>2]=C[b+136>>2];C[d+92>>2]=g;g=C[b+132>>2];C[d+80>>2]=C[b+128>>2];C[d+84>>2]=g;B=b+128|0;l(0,e|0);l(1,o|0);p=+n();i=i+p;h=h+q;if(f?k:0){break Gc}C[104428]=e;C[104429]=o;f=k?a:417712;break Fc}p=H[a+8>>3];f=a}q=H[f>>3];H[d+88>>3]=H[d+88>>3]+p;H[d+80>>3]=q+H[d+80>>3];f=C[d+92>>2];C[d+72>>2]=C[d+88>>2];C[d+76>>2]=f;f=C[d+84>>2];C[d+64>>2]=C[d+80>>2];C[d+68>>2]=f;Sc:{Tc:{Uc:{if(!m){g=417712;break Uc}g=a+16|0;if(r){break Tc}}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);p=+n();break Sc}p=H[a+24>>3]}q=H[g>>3];H[d+72>>3]=H[d+72>>3]+p;H[d+64>>3]=q+H[d+64>>3];f=C[d+76>>2];C[d+56>>2]=C[d+72>>2];C[d+60>>2]=f;f=C[d+68>>2];C[d+48>>2]=C[d+64>>2];C[d+52>>2]=f;Vc:{Wc:{Xc:{if(!w){g=417712;break Xc}g=a+32|0;if(x){break Wc}}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);p=+n();break Vc}p=H[a+40>>3]}q=H[g>>3];H[d+56>>3]=H[d+56>>3]+p;H[d+48>>3]=q+H[d+48>>3];f=C[d+60>>2];C[d+40>>2]=C[d+56>>2];C[d+44>>2]=f;f=C[d+52>>2];C[d+32>>2]=C[d+48>>2];C[d+36>>2]=f;Yc:{Zc:{_c:{if(!y){g=417712;break _c}g=a+48|0;if(z){break Zc}}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);p=+n();break Yc}p=H[a+56>>3]}q=H[g>>3];H[d+40>>3]=H[d+40>>3]+p;H[d+32>>3]=q+H[d+32>>3];f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;$c:{ad:{bd:{if(!E){g=417712;break bd}g=a- -64|0;if(c){break ad}}C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);p=+n();break $c}p=H[a+72>>3]}q=H[g>>3];H[d+24>>3]=H[d+24>>3]+p;H[d+16>>3]=q+H[d+16>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;cd:{if(K(h)>K(i)){dd:{if(k>>>0<=10){C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);h=+n();break dd}h=H[a+80>>3]}H[d>>3]=H[d>>3]+h;a=C[b+140>>2];C[d+8>>2]=C[b+136>>2];C[d+12>>2]=a;break cd}c=C[B+4>>2];C[d>>2]=C[B>>2];C[d+4>>2]=c;ed:{if(k>>>0<=10){C[104428]=e;C[104429]=o;l(0,e|0);l(1,o|0);h=+n();break ed}h=H[a+80>>3]}H[d+8>>3]=H[d+8>>3]+h}Bf(b,j,d+80|0,d- -64|0,d+48|0);Bf(b,j,d+32|0,d+16|0,d)}Ce=d+96|0;break b}Sj(a,b)}return}c=C[b+24>>2];a=c&1;break f}A[b+20|0]=1;a=0;j=C[21153];e=C[21152];C[104428]=e;C[104429]=j;l(0,e|0);l(1,j|0);i=+n()}q=H[f>>3];A[c|0]=0;H[b+136>>3]=p+q;break d}if(!(!a|!c)){fd:{if(!C[b+32>>2]){c=C[21153];e=c;a=C[21152];C[104428]=a;C[104429]=c;break fd}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}C[b+148>>2]=0;a=C[b+24>>2];C[b+24>>2]=0;C[b+76>>2]=C[b+76>>2]+(a>>>1|0);return}H[b+128>>3]=h+i}if(!D[b+73|0]){if(!D[b+74|0]){A[b+74|0]=1;a=C[b+80>>2]+(a>>>1|0)|0;C[b+80>>2]=a;C[b+84>>2]=(a+C[b+76>>2]|0)+7>>>3}A[b+73|0]=1}}C[b+24>>2]=0;C[b+148>>2]=0;return}A[b+16|0]=1;C[b+12>>2]=a}function cz(a,b,c,d,e,f,g,h){var 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,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=Ce-32|0;Ce=S;C[S+28>>2]=0;C[S+24>>2]=0;C[S+20>>2]=0;C[S+16>>2]=0;C[S+12>>2]=0;i=-1;a:{if((nk(b,c,d,e,S+28|0,S+24|0,S+20|0,S+16|0,S+12|0)|0)<0){break a}j=C[95623];w=(j|0)==3?(b|0)<577?1:2:j;if(w>>>0>=3){w=1;if((Qe(18659,0)|0)<0){break a}}z=C[S+12>>2];x=C[S+16>>2];p=C[S+20>>2];u=C[S+24>>2];y=C[S+28>>2];b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)<=1431918168){p:{switch(c-842094158|0){case 0:break m;case 11:break o;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break p}}if((c|0)==825382478){break m}if((c|0)==844715353){break n}break c}if((c|0)==1431918169|(c|0)==1498831189){break n}if((c|0)!=1448433993){break c}}q:{if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break l}if((f|0)!=370546692){break q}break d}if((f|0)!=371595268){if((f|0)==372645892){break d}if((f|0)!=373694468){break q}}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<24|D[(r+k>>>6&511)+202800|0]<<16;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<24|D[(o+r>>>6&511)+202800|0]<<16|D[(k+o>>>6&511)+202800|0]<<8|255;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(j+b>>>6&511)+202800|0]<<16|D[(i+b>>>6&511)+202800|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(b+j>>>6&511)+202800|0]<<16|D[(b+i>>>6&511)+202800|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}r:{if((f|0)!=(m|0)){break r}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;s:{if(!f){g=0;break s}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(m+j>>>6&511)+202800|0]<<16|D[(p+j>>>6&511)+202800|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(j+m>>>6&511)+202800|0]<<16|D[(j+p>>>6&511)+202800|0]<<8|255;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break r}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]<<24|D[((c+I(d,E[a+202758>>1])|0)+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<16|D[(c+I(d,E[a+202762>>1])>>>6&511)+202800|0]<<8|255}i=0;break a}t:{if((f|0)<=376840195){if((f|0)==374740996){break t}if((f|0)!=375789572){break q}break e}if((f|0)==376840196){break t}if((f|0)==377888772){break e}if((f|0)!=386930691){break q}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;d=y+I(f,x)|0;e=f|1;c=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0];l=D[i|0]-128|0;o=I(l,O)- -8192|0;k=I(q,D[d|0]-t|0);A[b+2|0]=D[(o+k>>>6&511)+202800|0];N=r-128|0;r=I(N,R)- -8192|0;A[b|0]=D[(r+k>>>6&511)+202800|0];F=k;k=(I(P,N)+I(l,Q)|0)- -8192|0;A[b+1|0]=D[(F+k>>>6&511)+202800|0];l=I(q,D[d+1|0]-t|0);A[b+5|0]=D[(l+o>>>6&511)+202800|0];A[b+4|0]=D[(k+l>>>6&511)+202800|0];A[b+3|0]=D[(l+r>>>6&511)+202800|0];l=I(q,D[e|0]-t|0);A[c+2|0]=D[(l+o>>>6&511)+202800|0];A[c+1|0]=D[(k+l>>>6&511)+202800|0];A[c|0]=D[(l+r>>>6&511)+202800|0];F=o;o=I(q,D[e+1|0]-t|0);A[c+5|0]=D[(F+o>>>6&511)+202800|0];A[c+4|0]=D[(k+o>>>6&511)+202800|0];A[c+3|0]=D[(o+r>>>6&511)+202800|0];j=j+1|0;i=i+1|0;e=e+2|0;d=d+2|0;c=c+6|0;b=b+6|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){j=D[j|0];q=E[G>>1];n=D[v|0];d=I(q,D[d|0]-n|0)- -8192|0;i=D[i|0]-128|0;t=I(i,E[H>>1]);A[b+2|0]=D[(d+t>>>6&511)+202800|0];j=j-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;A[b+1|0]=D[(i+d>>>6&511)+202800|0];k=d;d=I(j,E[L>>1]);A[b|0]=D[(k+d>>>6&511)+202800|0];b=I(q,D[e|0]-n|0)- -8192|0;A[c+2|0]=D[(b+t>>>6&511)+202800|0];A[c+1|0]=D[(b+i>>>6&511)+202800|0];A[c|0]=D[(b+d>>>6&511)+202800|0]}f=f+2|0;if(m>>>0>f>>>0){continue}break}}u:{if((f|0)!=(m|0)){break u}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;v:{if(!f){g=0;break v}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){p=D[d|0];j=I(h,D[c|0]-a|0)- -8192|0;u=D[e|0]-128|0;m=I(u,x);A[b+2|0]=D[(j+m>>>6&511)+202800|0];p=p-128|0;u=I(p,y)+I(n,u)|0;A[b+1|0]=D[(u+j>>>6&511)+202800|0];p=I(p,z);A[b|0]=D[(p+j>>>6&511)+202800|0];j=I(h,D[c+1|0]-a|0)- -8192|0;A[b+5|0]=D[(j+m>>>6&511)+202800|0];A[b+4|0]=D[(j+u>>>6&511)+202800|0];A[b+3|0]=D[(j+p>>>6&511)+202800|0];d=d+1|0;e=e+1|0;c=c+2|0;b=b+6|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break u}d=D[d|0];a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;e=D[e|0]-128|0;A[b+2|0]=D[(c+I(e,E[a+202762>>1])>>>6&511)+202800|0];d=d-128|0;A[b|0]=D[(c+I(d,E[a+202756>>1])>>>6&511)+202800|0];A[b+1|0]=D[((c+I(e,E[a+202758>>1])|0)+I(d,E[a+202760>>1])>>>6&511)+202800|0]}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<16|D[(r+k>>>6&511)+202800|0]<<8;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<16|D[(o+r>>>6&511)+202800|0]<<8|D[(k+o>>>6&511)+202800|0]|-16777216;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(i+b>>>6&511)+202800|0]<<8|D[(j+b>>>6&511)+202800|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(b+i>>>6&511)+202800|0]<<8|D[(b+j>>>6&511)+202800|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}w:{if((f|0)!=(m|0)){break w}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;x:{if(!f){g=0;break x}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(p+j>>>6&511)+202800|0]<<8|D[(m+j>>>6&511)+202800|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(j+p>>>6&511)+202800|0]<<8|D[(j+m>>>6&511)+202800|0]|-16777216;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break w}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+202762>>1])>>>6&511)+202800|0]<<16;g=c+I(b,E[a+202758>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<8|D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]|-16777216}i=0;break a}if((c|0)==1431918169){break n}if((c|0)!=844715353){break c}}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break k}if((f|0)!=370546692){break b}break f}if((f|0)!=371595268){if((f|0)==372645892){break f}if((f|0)!=373694468){break b}}c=0;if(b){d=I(w,12);i=d+202752|0;w=d+202754|0;n=d+202762|0;m=d+202760|0;v=d+202758|0;q=d+202756|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[e|0]-128|0;l=I(s,L);F=I(s,J);s=D[f|0]-128|0;M=F+I(s,K)|0;s=I(s,H);C[a>>2]=D[(k+l>>>6&511)+202800|0]<<24|D[(M+k>>>6&511)+202800|0]<<16|D[(s+k>>>6&511)+202800|0]<<8|255;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+202800|0]<<24|D[(k+M>>>6&511)+202800|0]<<16|D[(k+s>>>6&511)+202800|0]<<8|255;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;e=D[e|0]-128|0;d=D[f|0]-128|0;C[k>>2]=D[(a+I(e,E[q>>1])>>>6&511)+202800|0]<<24|D[((a+I(d,E[v>>1])|0)+I(e,E[m>>1])>>>6&511)+202800|0]<<16|D[(a+I(d,E[n>>1])>>>6&511)+202800|0]<<8|255}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}y:{if((f|0)<=376840195){if((f|0)==374740996){break y}if((f|0)!=375789572){break b}break g}if((f|0)==376840196){break y}if((f|0)==377888772){break g}if((f|0)!=386930691){break b}c=0;if(b){d=I(w,12);i=d+202752|0;w=d+202754|0;n=d+202762|0;m=d+202760|0;v=d+202758|0;q=d+202756|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){s=D[e|0];k=I(o,D[d|0]-r|0)- -8192|0;l=D[f|0]-128|0;M=I(l,H);A[a+2|0]=D[(k+M>>>6&511)+202800|0];s=s-128|0;l=I(s,J)+I(l,K)|0;A[a+1|0]=D[(l+k>>>6&511)+202800|0];s=I(s,L);A[a|0]=D[(s+k>>>6&511)+202800|0];k=I(o,D[d+2|0]-r|0)- -8192|0;A[a+5|0]=D[(k+M>>>6&511)+202800|0];A[a+4|0]=D[(k+l>>>6&511)+202800|0];A[a+3|0]=D[(k+s>>>6&511)+202800|0];e=e+4|0;f=f+4|0;d=d+4|0;a=a+6|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){e=D[e|0];d=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;A[a+2|0]=D[(d+I(f,E[n>>1])>>>6&511)+202800|0];e=e-128|0;A[a|0]=D[(d+I(e,E[q>>1])>>>6&511)+202800|0];A[a+1|0]=D[((d+I(f,E[v>>1])|0)+I(e,E[m>>1])>>>6&511)+202800|0]}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}c=0;if(b){d=I(w,12);i=d+202752|0;w=d+202754|0;n=d+202762|0;m=d+202760|0;v=d+202758|0;q=d+202756|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[f|0]-128|0;l=I(s,H);M=D[e|0]-128|0;s=I(M,J)+I(s,K)|0;M=I(L,M);C[a>>2]=D[(k+l>>>6&511)+202800|0]<<16|D[(s+k>>>6&511)+202800|0]<<8|D[(M+k>>>6&511)+202800|0]|-16777216;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+202800|0]<<16|D[(k+s>>>6&511)+202800|0]<<8|D[(k+M>>>6&511)+202800|0]|-16777216;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;d=D[e|0]-128|0;C[k>>2]=D[(a+I(f,E[n>>1])>>>6&511)+202800|0]<<16|D[((a+I(f,E[v>>1])|0)+I(d,E[m>>1])>>>6&511)+202800|0]<<8|D[(a+I(d,E[q>>1])>>>6&511)+202800|0]|-16777216}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break j}if((f|0)!=370546692){break b}break h}if((f|0)!=371595268){if((f|0)==372645892){break h}if((f|0)!=373694468){break b}}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<24|D[(r+k>>>6&511)+202800|0]<<16;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<24|D[(o+r>>>6&511)+202800|0]<<16|D[(k+o>>>6&511)+202800|0]<<8|255;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(j+b>>>6&511)+202800|0]<<16|D[(i+b>>>6&511)+202800|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(b+j>>>6&511)+202800|0]<<16|D[(b+i>>>6&511)+202800|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}z:{if((f|0)!=(m|0)){break z}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;A:{if(!f){g=0;break A}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(m+j>>>6&511)+202800|0]<<16|D[(p+j>>>6&511)+202800|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(j+m>>>6&511)+202800|0]<<16|D[(j+p>>>6&511)+202800|0]<<8|255;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break z}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]<<24|D[((c+I(d,E[a+202758>>1])|0)+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<16|D[(c+I(d,E[a+202762>>1])>>>6&511)+202800|0]<<8|255}i=0;break a}B:{if((f|0)<=376840195){if((f|0)==374740996){break B}if((f|0)!=375789572){break b}break i}if((f|0)==376840196){break B}if((f|0)==377888772){break i}if((f|0)!=386930691){break b}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;d=y+I(f,x)|0;e=f|1;c=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0];l=D[i|0]-128|0;o=I(l,O)- -8192|0;k=I(q,D[d|0]-t|0);A[b+2|0]=D[(o+k>>>6&511)+202800|0];N=r-128|0;r=I(N,R)- -8192|0;A[b|0]=D[(r+k>>>6&511)+202800|0];F=k;k=(I(P,N)+I(l,Q)|0)- -8192|0;A[b+1|0]=D[(F+k>>>6&511)+202800|0];l=I(q,D[d+1|0]-t|0);A[b+5|0]=D[(l+o>>>6&511)+202800|0];A[b+4|0]=D[(k+l>>>6&511)+202800|0];A[b+3|0]=D[(l+r>>>6&511)+202800|0];l=I(q,D[e|0]-t|0);A[c+2|0]=D[(l+o>>>6&511)+202800|0];A[c+1|0]=D[(k+l>>>6&511)+202800|0];A[c|0]=D[(l+r>>>6&511)+202800|0];F=o;o=I(q,D[e+1|0]-t|0);A[c+5|0]=D[(F+o>>>6&511)+202800|0];A[c+4|0]=D[(k+o>>>6&511)+202800|0];A[c+3|0]=D[(o+r>>>6&511)+202800|0];j=j+2|0;i=i+2|0;e=e+2|0;d=d+2|0;c=c+6|0;b=b+6|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){j=D[j|0];q=E[G>>1];n=D[v|0];d=I(q,D[d|0]-n|0)- -8192|0;i=D[i|0]-128|0;t=I(i,E[H>>1]);A[b+2|0]=D[(d+t>>>6&511)+202800|0];j=j-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;A[b+1|0]=D[(i+d>>>6&511)+202800|0];k=d;d=I(j,E[L>>1]);A[b|0]=D[(k+d>>>6&511)+202800|0];b=I(q,D[e|0]-n|0)- -8192|0;A[c+2|0]=D[(b+t>>>6&511)+202800|0];A[c+1|0]=D[(b+i>>>6&511)+202800|0];A[c|0]=D[(b+d>>>6&511)+202800|0]}f=f+2|0;if(m>>>0>f>>>0){continue}break}}C:{if((f|0)!=(m|0)){break C}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;D:{if(!f){g=0;break D}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){p=D[d|0];j=I(h,D[c|0]-a|0)- -8192|0;u=D[e|0]-128|0;m=I(u,x);A[b+2|0]=D[(j+m>>>6&511)+202800|0];p=p-128|0;u=I(p,y)+I(n,u)|0;A[b+1|0]=D[(u+j>>>6&511)+202800|0];p=I(p,z);A[b|0]=D[(p+j>>>6&511)+202800|0];j=I(h,D[c+1|0]-a|0)- -8192|0;A[b+5|0]=D[(j+m>>>6&511)+202800|0];A[b+4|0]=D[(j+u>>>6&511)+202800|0];A[b+3|0]=D[(j+p>>>6&511)+202800|0];d=d+2|0;e=e+2|0;c=c+2|0;b=b+6|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break C}d=D[d|0];a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;e=D[e|0]-128|0;A[b+2|0]=D[(c+I(e,E[a+202762>>1])>>>6&511)+202800|0];d=d-128|0;A[b|0]=D[(c+I(d,E[a+202756>>1])>>>6&511)+202800|0];A[b+1|0]=D[((c+I(e,E[a+202758>>1])|0)+I(d,E[a+202760>>1])>>>6&511)+202800|0]}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<16|D[(r+k>>>6&511)+202800|0]<<8;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<16|D[(o+r>>>6&511)+202800|0]<<8|D[(k+o>>>6&511)+202800|0]|-16777216;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(i+b>>>6&511)+202800|0]<<8|D[(j+b>>>6&511)+202800|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(b+i>>>6&511)+202800|0]<<8|D[(b+j>>>6&511)+202800|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}E:{if((f|0)!=(m|0)){break E}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;F:{if(!f){g=0;break F}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(p+j>>>6&511)+202800|0]<<8|D[(m+j>>>6&511)+202800|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(j+p>>>6&511)+202800|0]<<8|D[(j+m>>>6&511)+202800|0]|-16777216;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break E}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+202762>>1])>>>6&511)+202800|0]<<16;g=c+I(b,E[a+202758>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<8|D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]|-16777216}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;l=D[i|0]-128|0;o=(I(r,P)+I(l,Q)|0)- -8192|0;k=I(q,D[c|0]-t|0);r=I(r,R)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<3&2016|D[(r+k>>>6&511)+202800|0]<<8&63488;F=k;k=I(l,O)- -8192|0;B[b>>1]=N|D[(F+k>>>6&511)+202800|0]>>>3;l=I(q,D[c+1|0]-t|0);B[b+2>>1]=D[(l+o>>>6&511)+202800|0]<<3&2016|D[(l+r>>>6&511)+202800|0]<<8&63488|D[(k+l>>>6&511)+202800|0]>>>3;l=I(q,D[e|0]-t|0);B[d>>1]=D[(l+o>>>6&511)+202800|0]<<3&2016|D[(l+r>>>6&511)+202800|0]<<8&63488|D[(k+l>>>6&511)+202800|0]>>>3;F=o;o=I(q,D[e+1|0]-t|0);B[d+2>>1]=D[(F+o>>>6&511)+202800|0]<<3&2016|D[(o+r>>>6&511)+202800|0]<<8&63488|D[(k+o>>>6&511)+202800|0]>>>3;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+4|0;b=b+4|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;i=D[i|0]-128|0;q=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);i=I(i,E[H>>1]);B[k>>1]=D[(b+q>>>6&511)+202800|0]<<3&2016|D[(j+b>>>6&511)+202800|0]<<8&63488|D[(i+b>>>6&511)+202800|0]>>>3;b=I(n,D[e|0]-c|0)- -8192|0;B[d>>1]=D[(b+q>>>6&511)+202800|0]<<3&2016|D[(b+j>>>6&511)+202800|0]<<8&63488|D[(b+i>>>6&511)+202800|0]>>>3}f=f+2|0;if(m>>>0>f>>>0){continue}break}}G:{if((f|0)!=(m|0)){break G}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;H:{if(!f){g=0;break H}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=D[e|0]-128|0;m=I(p,y)+I(u,n)|0;p=I(p,z);u=I(x,u);B[b>>1]=D[(j+m>>>6&511)+202800|0]<<3&2016|D[(p+j>>>6&511)+202800|0]<<8&63488|D[(u+j>>>6&511)+202800|0]>>>3;j=I(h,D[c+1|0]-a|0)- -8192|0;B[b+2>>1]=D[(j+m>>>6&511)+202800|0]<<3&2016|D[(j+p>>>6&511)+202800|0]<<8&63488|D[(j+u>>>6&511)+202800|0]>>>3;d=d+1|0;e=e+1|0;c=c+2|0;b=b+4|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break G}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;d=D[d|0]-128|0;B[f>>1]=D[((c+I(b,E[a+202758>>1])|0)+I(d,E[a+202760>>1])>>>6&511)+202800|0]<<3&2016|D[(c+I(d,E[a+202756>>1])>>>6&511)+202800|0]<<8&63488|D[(c+I(b,E[a+202762>>1])>>>6&511)+202800|0]>>>3}i=0;break a}c=0;if(b){d=I(w,12);i=d+202752|0;w=d+202754|0;n=d+202762|0;m=d+202760|0;v=d+202758|0;q=d+202756|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[e|0]-128|0;l=D[f|0]-128|0;M=I(s,J)+I(l,K)|0;s=I(s,L);l=I(l,H);B[a>>1]=D[(k+M>>>6&511)+202800|0]<<3&2016|D[(s+k>>>6&511)+202800|0]<<8&63488|D[(l+k>>>6&511)+202800|0]>>>3;k=I(o,D[d+2|0]-r|0)- -8192|0;B[a+2>>1]=D[(k+M>>>6&511)+202800|0]<<3&2016|D[(k+s>>>6&511)+202800|0]<<8&63488|D[(k+l>>>6&511)+202800|0]>>>3;e=e+4|0;f=f+4|0;d=d+4|0;a=a+4|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;d=D[e|0]-128|0;B[k>>1]=D[((a+I(f,E[v>>1])|0)+I(d,E[m>>1])>>>6&511)+202800|0]<<3&2016|D[(a+I(d,E[q>>1])>>>6&511)+202800|0]<<8&63488|D[(a+I(f,E[n>>1])>>>6&511)+202800|0]>>>3}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;l=D[i|0]-128|0;o=(I(r,P)+I(l,Q)|0)- -8192|0;k=I(q,D[c|0]-t|0);r=I(r,R)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<3&2016|D[(r+k>>>6&511)+202800|0]<<8&63488;F=k;k=I(l,O)- -8192|0;B[b>>1]=N|D[(F+k>>>6&511)+202800|0]>>>3;l=I(q,D[c+1|0]-t|0);B[b+2>>1]=D[(l+o>>>6&511)+202800|0]<<3&2016|D[(l+r>>>6&511)+202800|0]<<8&63488|D[(k+l>>>6&511)+202800|0]>>>3;l=I(q,D[e|0]-t|0);B[d>>1]=D[(l+o>>>6&511)+202800|0]<<3&2016|D[(l+r>>>6&511)+202800|0]<<8&63488|D[(k+l>>>6&511)+202800|0]>>>3;F=o;o=I(q,D[e+1|0]-t|0);B[d+2>>1]=D[(F+o>>>6&511)+202800|0]<<3&2016|D[(o+r>>>6&511)+202800|0]<<8&63488|D[(k+o>>>6&511)+202800|0]>>>3;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+4|0;b=b+4|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;i=D[i|0]-128|0;q=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);i=I(i,E[H>>1]);B[k>>1]=D[(b+q>>>6&511)+202800|0]<<3&2016|D[(j+b>>>6&511)+202800|0]<<8&63488|D[(i+b>>>6&511)+202800|0]>>>3;b=I(n,D[e|0]-c|0)- -8192|0;B[d>>1]=D[(b+q>>>6&511)+202800|0]<<3&2016|D[(b+j>>>6&511)+202800|0]<<8&63488|D[(b+i>>>6&511)+202800|0]>>>3}f=f+2|0;if(m>>>0>f>>>0){continue}break}}I:{if((f|0)!=(m|0)){break I}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;J:{if(!f){g=0;break J}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=D[e|0]-128|0;m=I(p,y)+I(u,n)|0;p=I(p,z);u=I(x,u);B[b>>1]=D[(j+m>>>6&511)+202800|0]<<3&2016|D[(p+j>>>6&511)+202800|0]<<8&63488|D[(u+j>>>6&511)+202800|0]>>>3;j=I(h,D[c+1|0]-a|0)- -8192|0;B[b+2>>1]=D[(j+m>>>6&511)+202800|0]<<3&2016|D[(j+p>>>6&511)+202800|0]<<8&63488|D[(j+u>>>6&511)+202800|0]>>>3;d=d+2|0;e=e+2|0;c=c+2|0;b=b+4|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break I}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;d=D[d|0]-128|0;B[f>>1]=D[((c+I(b,E[a+202758>>1])|0)+I(d,E[a+202760>>1])>>>6&511)+202800|0]<<3&2016|D[(c+I(d,E[a+202756>>1])>>>6&511)+202800|0]<<8&63488|D[(c+I(b,E[a+202762>>1])>>>6&511)+202800|0]>>>3}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<24|D[(r+k>>>6&511)+202800|0]<<16;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<24|D[(o+r>>>6&511)+202800|0]<<16|D[(k+o>>>6&511)+202800|0]<<8|255;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(i+b>>>6&511)+202800|0]<<16|D[(j+b>>>6&511)+202800|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(b+i>>>6&511)+202800|0]<<16|D[(b+j>>>6&511)+202800|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}K:{if((f|0)!=(m|0)){break K}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;L:{if(!f){g=0;break L}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(p+j>>>6&511)+202800|0]<<16|D[(m+j>>>6&511)+202800|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(j+p>>>6&511)+202800|0]<<16|D[(j+m>>>6&511)+202800|0]<<8|255;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break K}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+202762>>1])>>>6&511)+202800|0]<<24;g=c+I(b,E[a+202758>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<16|D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]<<8|255}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<16|D[(r+k>>>6&511)+202800|0]<<8;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<16|D[(o+r>>>6&511)+202800|0]<<8|D[(k+o>>>6&511)+202800|0]|-16777216;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(j+b>>>6&511)+202800|0]<<8|D[(i+b>>>6&511)+202800|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(b+j>>>6&511)+202800|0]<<8|D[(b+i>>>6&511)+202800|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}M:{if((f|0)!=(m|0)){break M}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;N:{if(!f){g=0;break N}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(m+j>>>6&511)+202800|0]<<8|D[(p+j>>>6&511)+202800|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(j+m>>>6&511)+202800|0]<<8|D[(j+p>>>6&511)+202800|0]|-16777216;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break M}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]<<16|D[((c+I(d,E[a+202758>>1])|0)+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<8|D[(c+I(d,E[a+202762>>1])>>>6&511)+202800|0]|-16777216}i=0;break a}c=0;if(b){d=I(w,12);i=d+202752|0;w=d+202754|0;n=d+202762|0;m=d+202760|0;v=d+202758|0;q=d+202756|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[f|0]-128|0;l=I(s,H);M=D[e|0]-128|0;s=I(M,J)+I(s,K)|0;M=I(L,M);C[a>>2]=D[(k+l>>>6&511)+202800|0]<<24|D[(s+k>>>6&511)+202800|0]<<16|D[(M+k>>>6&511)+202800|0]<<8|255;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+202800|0]<<24|D[(k+s>>>6&511)+202800|0]<<16|D[(k+M>>>6&511)+202800|0]<<8|255;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;d=D[e|0]-128|0;C[k>>2]=D[(a+I(f,E[n>>1])>>>6&511)+202800|0]<<24|D[((a+I(f,E[v>>1])|0)+I(d,E[m>>1])>>>6&511)+202800|0]<<16|D[(a+I(d,E[q>>1])>>>6&511)+202800|0]<<8|255}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}c=0;if(b){d=I(w,12);i=d+202752|0;w=d+202754|0;n=d+202762|0;m=d+202760|0;v=d+202758|0;q=d+202756|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[e|0]-128|0;l=I(s,L);F=I(s,J);s=D[f|0]-128|0;M=F+I(s,K)|0;s=I(s,H);C[a>>2]=D[(k+l>>>6&511)+202800|0]<<16|D[(M+k>>>6&511)+202800|0]<<8|D[(s+k>>>6&511)+202800|0]|-16777216;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+202800|0]<<16|D[(k+M>>>6&511)+202800|0]<<8|D[(k+s>>>6&511)+202800|0]|-16777216;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;e=D[e|0]-128|0;d=D[f|0]-128|0;C[k>>2]=D[(a+I(e,E[q>>1])>>>6&511)+202800|0]<<16|D[((a+I(d,E[v>>1])|0)+I(e,E[m>>1])>>>6&511)+202800|0]<<8|D[(a+I(d,E[n>>1])>>>6&511)+202800|0]|-16777216}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<24|D[(r+k>>>6&511)+202800|0]<<16;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<24|D[(l+r>>>6&511)+202800|0]<<16|D[(k+l>>>6&511)+202800|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<24|D[(o+r>>>6&511)+202800|0]<<16|D[(k+o>>>6&511)+202800|0]<<8|255;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(i+b>>>6&511)+202800|0]<<16|D[(j+b>>>6&511)+202800|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<24|D[(b+i>>>6&511)+202800|0]<<16|D[(b+j>>>6&511)+202800|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}O:{if((f|0)!=(m|0)){break O}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;P:{if(!f){g=0;break P}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(p+j>>>6&511)+202800|0]<<16|D[(m+j>>>6&511)+202800|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<24|D[(j+p>>>6&511)+202800|0]<<16|D[(j+m>>>6&511)+202800|0]<<8|255;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break O}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+202762>>1])>>>6&511)+202800|0]<<24;g=c+I(b,E[a+202758>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<16|D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]<<8|255}i=0;break a}f=0;c=I(w,12);v=c+202752|0;m=b-1|0;if(m){G=c+202754|0;H=c+202762|0;J=c+202760|0;K=c+202758|0;L=c+202756|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+202800|0]<<16|D[(r+k>>>6&511)+202800|0]<<8;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+202800|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+202800|0]<<16|D[(l+r>>>6&511)+202800|0]<<8|D[(k+l>>>6&511)+202800|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+202800|0]<<16|D[(o+r>>>6&511)+202800|0]<<8|D[(k+o>>>6&511)+202800|0]|-16777216;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(j+b>>>6&511)+202800|0]<<8|D[(i+b>>>6&511)+202800|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+202800|0]<<16|D[(b+j>>>6&511)+202800|0]<<8|D[(b+i>>>6&511)+202800|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}Q:{if((f|0)!=(m|0)){break Q}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;R:{if(!f){g=0;break R}g=a&-2;a=I(w,12);h=E[a+202754>>1];x=E[a+202762>>1];y=E[a+202760>>1];n=E[a+202758>>1];z=E[a+202756>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(m+j>>>6&511)+202800|0]<<8|D[(p+j>>>6&511)+202800|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+202800|0]<<16|D[(j+m>>>6&511)+202800|0]<<8|D[(j+p>>>6&511)+202800|0]|-16777216;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break Q}a=I(w,12);c=I(E[a+202754>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+202756>>1])>>>6&511)+202800|0]<<16|D[((c+I(d,E[a+202758>>1])|0)+I(b,E[a+202760>>1])>>>6&511)+202800|0]<<8|D[(c+I(d,E[a+202762>>1])>>>6&511)+202800|0]|-16777216}i=0;break a}if((f|0)!=372645892){break b}i=Qe(12219,0);break a}w=a<<2;i=I(w,b);j=Fe[C[94762]](i>>>0<=1?1:i)|0;if(j){C[94766]=C[94766]+1}if(!j){i=_e(0);break a}i=cz(a,b,c,d,e,372645892,j,w);if((i|0)>=0){i=Zi(a,b,372645892,j,w,f,g,h)}if(j){Fe[C[94765]](j);C[94766]=C[94766]-1}}Ce=S+32|0;return i}function SJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=J(0),p=0,q=0,r=0,s=0,t=0,u=J(0),v=0,w=0,x=0,y=0,z=0,B=0,E=0,G=J(0),L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0;t=1;i=Ce-48|0;Ce=i;k=b+140|0;e=C[k>>2];a:{if(e){break a}q=k-140|0;while(1){l=C[q>>2];if(!l){e=84608;break a}e=df(1,8);if(!e){e=84608;C[k>>2]=84608;break a}C[i+8>>2]=0;C[i+12>>2]=0;C[i+16>>2]=0;C[i+20>>2]=0;A[i+24|0]=0;C[i>>2]=0;C[i+4>>2]=0;C[i+28>>2]=0;C[i+32>>2]=0;f=Qf(l);A[i+40|0]=1;C[i+36>>2]=f;r=Of(l,1935829368);p=Ce-16|0;Ce=p;b:{if(!r){break b}f=C[r>>2];if(!f){break b}C[r>>2]=f+1}A[i+24|0]=0;f=r;C[i+32>>2]=f;g=C[f+12>>2];C[i+4>>2]=g;m=C[f+16>>2];C[i+8>>2]=m+g;C[i+28>>2]=0;if(m>>>0>67108862){h=1073741823}else{h=m<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}C[i+12>>2]=h;C[i+20>>2]=0;C[i>>2]=0;c:{d:{if(!g){break d}e:{f:{g:{h:{if((m|0)<8){break h}C[i+12>>2]=h-8;if(!(D[g|0]|D[g+1|0]<<8)){break h}C[p+8>>2]=g;i:{if(so(g+4|0,i,p+8|0)){break i}if(D[i+24|0]|!C[i+28>>2]){break h}f=Pf(r);C[i+4>>2]=f;C[i+8>>2]=f+C[r+16>>2];if(!f){break h}while(1){A[i+24|0]=1;f=C[i+32>>2];g=C[f+12>>2];C[i+4>>2]=g;h=C[f+16>>2];C[i+8>>2]=h+g;m=1073741823;C[i+28>>2]=0;if(h>>>0<=67108862){m=h<<6;m=m>>>0<=16384?16384:m;m=m>>>0>=1073741823?1073741823:m}C[i+12>>2]=m;C[i+20>>2]=0;C[i>>2]=0;if(!g){break d}if((h|0)<=7){break h}C[i+12>>2]=m-8;if(!(D[g|0]|D[g+1|0]<<8)){break h}C[p+8>>2]=g;if(so(g+4|0,i,p+8|0)){break i}if(D[i+24|0]|!C[i+28>>2]){break h}f=Pf(r);C[i+4>>2]=f;C[i+8>>2]=f+C[r+16>>2];if(f){continue}break}break h}if(!C[i+28>>2]){break g}C[i+28>>2]=0;if(F[i+4>>2]>g>>>0){break h}f=C[i+8>>2];if(f>>>0>>0|f-g>>>0<=7){break h}f=C[i+12>>2]-8|0;C[i+12>>2]=f;if(!(D[g|0]|D[g+1|0]<<8)|(f|0)<=0){break h}C[p+12>>2]=g;f=so(g+4|0,i,p+12|0);if(C[i+28>>2]){break h}Ue(C[i+32>>2]);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;if(f){break f}break e}Ue(C[i+32>>2]);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;break e}Ue(C[i+32>>2]);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0}if(C[r+4>>2]){C[r+4>>2]=0}break c}Ue(r);r=84608;break c}Ue(f);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0}Ce=p+16|0;C[e>>2]=r;f=C[l+32>>2];if((f|0)==-1){f=Ng(l)}C[e+4>>2]=f;if(!C[k>>2]){C[k>>2]=e;break a}Ue(C[e>>2]);Re(e);e=C[k>>2];if(!e){continue}break}}Ce=i+48|0;p=a;r=c;h=Ce-16|0;Ce=h;a=C[e>>2];a=a?a:84608;a=F[a+16>>2]<8?84608:C[a+12>>2];if(D[a|0]|D[a+1|0]<<8){C[h+12>>2]=0;C[h+8>>2]=0;C[h+4>>2]=0;a=r;q=C[e+4>>2];i=C[e>>2];c=i?i:84608;k=F[c+16>>2]<8?84608:C[c+12>>2];c=D[k+4|0]|D[k+5|0]<<8|(D[k+6|0]<<16|D[k+7|0]<<24);l=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(l){f=0;if((l|0)!=1){c=C[p+48>>2];e=C[p+52>>2];c=c>>>0>e>>>0?c:e;m=c?c:1073741824;c=D[k+8|0]|D[k+9|0]<<8|(D[k+10|0]<<16|D[k+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+k|0:84608;c=D[c|0]|D[c+1|0]<<8;e=(c<<8|c>>>8)&65535;c=1;while(1){g=c>>>0>=l>>>0?84608:(k+(c<<2)|0)+8|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=g?g+k|0:84608;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!(!(g>>>0>=m>>>0&e>>>0>g>>>0)&(e>>>0>=m>>>0|e>>>0>=g>>>0))){f=c;e=g}c=c+1|0;if((l|0)!=(c|0)){continue}break}}c=f>>>0>=l>>>0?84608:(k+(f<<2)|0)+8|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c?c+k|0:84608}else{e=84608}k=D[e|0]|D[e+1|0]<<8;c=84608;j:{if(!k){break j}l=e+4|0;B=e-C[i+12>>2]|0;M=C[i+16>>2]-B|0;c=8;k:{while(1){f=c;l:{m:{if(a>>>0>=q>>>0){break m}c=a+1|0;c=(c|0)<0?84608:l+(c<<2)|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a=(a|0)<0?84608:l+(a<<2)|0;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);g=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(c>>>0<=g>>>0){break m}a=c-g|0;if(a>>>0<9){break m}if(c>>>0<=M>>>0){break l}}c=84608;break j}m=a-8|0;a=g?e+g|0:84608;c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);L=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((L|0)!=1685418085){break k}if(m>>>0>=2){a=D[a+8|0]|D[a+9|0]<<8;a=(a<<8|a>>>8)&65535;c=f-1|0;if(f){continue}}break}c=84608;break j}c=84608;if((L|0)!=1886283552){break j}c=h+4|0;if(c){C[c>>2]=(k<<8|k>>>8)&65535}c=h+12|0;if(c){e=c;c=D[a|0]|D[a+1|0]<<8;C[e>>2]=(c<<8|c>>>8)<<16>>16}c=h+8|0;if(c){a=D[a+2|0]|D[a+3|0]<<8;C[c>>2]=(a<<8|a>>>8)<<16>>16}c=xr(i,(g+B|0)+8|0,m)}i=c;a=C[i+12>>2];e=C[i+16>>2];c=C[h+12>>2];C[d>>2]=c;a=e>>>0<29?84608:a;e=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);f=C[h+8>>2]+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;C[d+4>>2]=f;e=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);C[d+8>>2]=k;l=(0-D[a+20|0]<<24)-(D[a+23|0]|(D[a+22|0]<<8|D[a+21|0]<<16))|0;C[d+12>>2]=l;q=d;g=C[h+4>>2];n:{if(g){f=C[p+16>>2];a=C[f+28>>2];o:{if(a){e=a;break o}e=Lf(f);c=C[d>>2];f=C[p+16>>2];a=C[f+28>>2];g=C[h+4>>2]}o=J(J(e>>>0)/J(g>>>0));u=J(o*J(c|0));g=C[p+20>>2];p:{if(a){c=a;break p}c=Lf(f);f=C[p+16>>2];a=C[f+28>>2]}u=J(O(J(J(J(u*J(g|0))/J(c>>>0))+J(.5))));q:{if(J(K(u))>2]=c;u=J(o*J(C[d+4>>2]));g=C[p+24>>2];r:{if(a){c=a;break r}c=Lf(f);f=C[p+16>>2];a=C[f+28>>2]}u=J(O(J(J(J(u*J(g|0))/J(c>>>0))+J(.5))));s:{if(J(K(u))>2]=c;u=J(o*J(C[d+8>>2]));g=C[p+20>>2];t:{if(a){c=a;break t}c=Lf(f);f=C[p+16>>2];a=C[f+28>>2]}u=J(O(J(J(J(u*J(g|0))/J(c>>>0))+J(.5))));u:{if(J(K(u))>2]=c;o=J(J(o*J(C[d+12>>2]))*J(C[p+24>>2]));if(!a){a=Lf(f)}o=J(O(J(J(o/J(a>>>0))+J(.5))));if(J(K(o))>2];m=C[p+36>>2];c=c<<16>>16;g=mT(e,m,c,c>>31);c=Ee;g=g+32768|0;C[d>>2]=((g>>>0<32768?c+1|0:c)&65535)<<16|g>>>16;a=C[p+40>>2];g=C[p+44>>2];c=e;e=k<<16>>16;k=mT(c,m,e,e>>31);e=Ee;k=k+32768|0;C[d+8>>2]=((k>>>0<32768?e+1|0:e)&65535)<<16|k>>>16;e=f<<16>>16;e=mT(a,g,e,e>>31);f=Ee;e=e+32768|0;C[d+4>>2]=((e>>>0<32768?f+1|0:f)&65535)<<16|e>>>16;c=a;a=l<<16>>16;a=mT(c,g,a,a>>31);c=Ee;a=a+32768|0;a=((a>>>0<32768?c+1|0:c)&65535)<<16|a>>>16}C[q+12>>2]=a;Ue(i);a=C[h+4>>2]!=0}else{a=0}Ce=h+16|0;v:{if(a){break v}e=C[b+52>>2];w:{if(e){break w}while(1){a=C[b>>2];if(!a){e=84608;break w}e=df(1,32);if(!e){e=84608;C[b+52>>2]=84608;break w}Cm(e,a);if(!C[b+52>>2]){C[b+52>>2]=e;break w}Ue(C[e+20>>2]);C[e+20>>2]=0;Ue(C[e+24>>2]);Re(e);e=C[b+52>>2];if(!e){continue}break}}if(Rv(e,p,r,d)){break v}e=C[b+56>>2];x:{if(e){break x}while(1){a=C[b>>2];if(!a){e=84608;break x}e=df(1,232);if(!e){e=84608;C[b+56>>2]=84608;break x}cp(e,a);if(!C[b+56>>2]){C[b+56>>2]=e;break x}Re(C[e+228>>2]);C[e+228>>2]=0;C[e+220>>2]=0;C[e+224>>2]=0;mg(e);Re(e);e=C[b+56>>2];if(!e){continue}break}}g=Ce-32|0;Ce=g;h=Gp(e,r,g,0);y:{if(!h){break y}x=H[g+16>>3];z=H[g>>3];z:{if(!(x>z)){C[d>>2]=0;C[d+8>>2]=0;break z}i=C[p+20>>2];o=J(z);e=C[p+16>>2];a=C[e+28>>2];A:{if(a){c=a;f=i;break A}c=Lf(e);e=C[p+16>>2];a=C[e+28>>2];f=C[p+20>>2]}o=J(O(J(J(J(o*J(i|0))/J(c>>>0))+J(.5))));B:{if(J(K(o))>2]=c;if(!a){a=Lf(e);c=C[d>>2]}o=J(O(J(J(J(J(x)*J(f|0))/J(a>>>0))+J(.5))));C:{if(J(K(o))>2]=a-c}x=H[g+24>>3];z=H[g+8>>3];if(!(x>z)){C[d+4>>2]=0;C[d+12>>2]=0;break y}i=C[p+24>>2];o=J(x);e=C[p+16>>2];a=C[e+28>>2];D:{if(a){c=a;f=i;break D}c=Lf(e);e=C[p+16>>2];a=C[e+28>>2];f=C[p+24>>2]}o=J(O(J(J(J(o*J(i|0))/J(c>>>0))+J(.5))));E:{if(J(K(o))>2]=c;if(!a){a=Lf(e);c=C[d+4>>2]}o=J(O(J(J(J(J(z)*J(f|0))/J(a>>>0))+J(.5))));F:{if(J(K(o))>2]=a-c}Ce=g+32|0;if(h){break v}e=C[b+60>>2];G:{if(e){break G}while(1){a=C[b>>2];if(!a){e=84608;break G}e=df(1,132);if(!e){e=84608;C[b+60>>2]=84608;break G}y=0;j=Ce-96|0;Ce=j;C[e+48>>2]=0;C[e+52>>2]=0;C[e+104>>2]=0;C[e+108>>2]=0;C[e+72>>2]=0;C[e+76>>2]=0;c=e- -64|0;C[c>>2]=0;C[c+4>>2]=0;C[e+56>>2]=0;C[e+60>>2]=0;C[e+112>>2]=0;C[e+116>>2]=0;C[e+120>>2]=0;C[e+124>>2]=0;if(!D[e+44|0]){c=Qf(a);A[e+44|0]=1;C[e+40>>2]=c}s=e+4|0;c=s;a=Of(a,1128678962);H:{if(!a){break H}f=C[a>>2];if(!f){break H}C[a>>2]=f+1}A[c+24|0]=0;C[c+32>>2]=a;i=C[a+12>>2];C[c+4>>2]=i;g=C[a+16>>2];C[c+8>>2]=g+i;C[c+28>>2]=0;if(g>>>0>67108862){f=1073741823}else{f=g<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}C[c+12>>2]=f;C[c+20>>2]=0;C[c>>2]=0;I:{if(!i){Ue(a);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break I}J:{if((g|0)>=5){C[c+12>>2]=f-5;f=D[i|0];Ue(a);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if((f|0)!=2){break J}if(C[a+4>>2]){C[a+4>>2]=0}break I}Ue(a);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}Ue(a);a=84608}C[e>>2]=a;K:{if(!a){break K}c=C[a>>2];if(!c){break K}C[a>>2]=c+1}A[e+28|0]=0;C[e+36>>2]=a;i=C[a+12>>2];C[e+8>>2]=i;a=C[a+16>>2];g=a+i|0;C[e+12>>2]=g;C[e+4>>2]=0;C[e+32>>2]=0;if(a>>>0>67108862){a=1073741823}else{a=a<<6;a=a>>>0<=16384?16384:a;a=a>>>0>=1073741823?1073741823:a}C[e+16>>2]=a;C[e+24>>2]=0;L:{M:{c=C[e>>2];if(F[c+16>>2]>=5){w=C[c+12>>2];if((w|0)!=84608){break M}}Kh(e);break L}h=D[w+3|0]|D[w+4|0]<<8;f=(h<<8|h>>>8)&65535;c=D[w+2|0]+w|0;N:{if(!h){break N}if(!(c>>>0>>0|c>>>0>g>>>0|f>>>0>g-c>>>0)){a=a-f|0;C[e+16>>2]=a;if((a|0)>0){break N}}Kh(e);break L}g=e+48|0;A[j+20|0]=0;C[j+4>>2]=f;C[j>>2]=c;a=kf(4744);C[j+32>>2]=0;C[j+36>>2]=0;C[j+24>>2]=0;C[j+28>>2]=0;A[j+16|0]=0;C[j+8>>2]=0;C[j+12>>2]=0;O:{if(!a){C[j+28>>2]=-1;break O}C[j+36>>2]=a;C[j+28>>2]=593;C[j+32>>2]=513;We(a,0,4104)}A[j+40|0]=0;a=g;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;i=D[84608];f=i|256;a=D[j+16|0];P:{if((i|0)!=12){c=C[j+12>>2];h=c+1|0;l=C[j+4>>2];k=(a|0)!=0|h>>>0>l>>>0;if(k){break P}a=i;Q:{R:{S:{if(c>>>0>=l>>>0){break S}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=l>>>0){break S}c=h;a=D[m+c|0]|256}if(c>>>0>>0){break R}}A[j+16|0]=1;C[j+12>>2]=l;break Q}C[j+12>>2]=c+1}cm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break P}while(1){c=C[j+12>>2];h=c+1|0;l=C[j+4>>2];k=h>>>0>l>>>0;if(k){break P}a=i;T:{U:{if(c>>>0>=l>>>0){break U}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=l>>>0){break U}c=h;a=D[m+c|0]|256}if(c>>>0>=l>>>0){break U}C[j+12>>2]=c+1;break T}A[j+16|0]=1;C[j+12>>2]=l}cm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break P}if(C[j+28>>2]>=0){continue}break}break P}c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];k=(a|0)!=0|i>>>0>h>>>0;if(k){break P}V:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break V}W:{l=C[j>>2];a=D[l+c|0];X:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break X}c=i;a=D[l+c|0]|256}if(c>>>0>>0){break W}}A[j+16|0]=1;C[j+12>>2]=h;break V}C[j+12>>2]=c+1}cm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break P}while(1){c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];k=i>>>0>h>>>0;if(k){break P}Y:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break Y}Z:{l=C[j>>2];a=D[l+c|0];_:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break _}c=i;a=D[l+c|0]|256}if(c>>>0>>0){break Z}}A[j+16|0]=1;C[j+12>>2]=h;break Y}C[j+12>>2]=c+1}cm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break P}if(C[j+28>>2]>=0){continue}break}}if(!k){Kh(e);Re(C[j+36>>2]);break L}Re(C[j+36>>2]);i=D[w+2|0];f=D[w+3|0]|D[w+4|0]<<8;a=C[e+72>>2];c=a?a+w|0:84608;C[e+84>>2]=c;a=C[e- -64>>2];a=a?a+w|0:84608;C[e+88>>2]=a;g=C[e+68>>2];C[e+92>>2]=g?g+w|0:84608;g=C[e+76>>2];C[e+96>>2]=g?g+w|0:84608;C[e+80>>2]=(i+((f<<8|f>>>8)&65535)|0)+w;$:{aa:{if((c|0)!=84608){a=0;h=Ce-16|0;Ce=h;ba:{if(c>>>0>2]){break ba}g=C[s+8>>2];if(g>>>0>>0|g-c>>>0<10){break ba}f=C[s+12>>2]-10|0;C[s+12>>2]=f;if((f|0)<=0){break ba}i=c+2|0;l=D[c|0]|D[c+1|0]<<8;ca:{if(!l){k=g-i|0;break ca}if(g>>>0>>0){break ba}k=g-i|0;l=(l<<8|l>>>8)&65535;if(k>>>0>>0){break ba}f=f-l|0;C[s+12>>2]=f;if((f|0)<=0){break ba}}if(!(k>>>0>7&g>>>0>=i>>>0)){break ba}C[s+12>>2]=f-8;if((D[i|0]|D[i+1|0]<<8)!=256|(f|0)<9){break ba}if(!Lo(c+4|0,s,i)){break ba}C[h+12>>2]=i;a=Ho(c+8|0,s,h+12|0)}Ce=h+16|0;if(!a){break aa}a=C[e+88>>2]}if((a|0)==84608){break aa}if(!dm(a,s)){break aa}a=C[e+80>>2];if((a|0)==84608){break aa}if(!dm(a,s)){break aa}a=C[e+92>>2];if((a|0)==84608){break aa}if(!dm(a,s)){break aa}c=C[e+96>>2];if((c|0)==84608){break $}a=C[e+92>>2];a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=0;h=C[s+4>>2];da:{ea:{if(h>>>0>c>>>0){break ea}g=C[s+8>>2];if(g>>>0>>0|g-c>>>0<2){break ea}m=C[s+12>>2];k=m-2|0;C[s+12>>2]=k;if((k|0)<=0){break ea}fa:{ga:{ha:{ia:{switch(D[c|0]){case 0:a=1;i=C[s+36>>2];if(!i){break da}l=c+1|0;if(l>>>0>>0|g>>>0<=l>>>0){break ea}a=m-3|0;if((a|0)>0){k=k-i|0;c=a;while(1){f=f+1|0;if((i|0)==(f|0)){break ha}m=f+l|0;if(m>>>0>>0|g>>>0<=m>>>0){break ga}c=c-1|0;if((c|0)>0){continue}break}f=f>>>0>=i>>>0}C[s+12>>2]=a&a>>31;a=f;break da;case 3:a=ou(c+1|0,s,i);break da;case 4:break ia;default:break ea}}a=0;g=Ce-16|0;Ce=g;C[g+12>>2]=i;i=c+1|0;ja:{if(i>>>0>2]){break ja}c=C[s+8>>2];if(c>>>0>>0|c-i>>>0<=3){break ja}c=C[s+12>>2]-4|0;C[s+12>>2]=c;if((c|0)<=0){break ja}C[g+8>>2]=0;c=0;ka:{la:{if(i>>>0>2]){break la}h=C[s+8>>2];if(h>>>0>>0|h-i>>>0<4){break la}k=C[s+12>>2]-4|0;C[s+12>>2]=k;if((k|0)<=0){break la}f=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(l>>>0>715827881){break la}f=1;if(!l){break ka}f=i+4|0;if(f>>>0>h>>>0){break la}h=h-f|0;f=I(l,6);if(h>>>0>>0){break la}f=k-f|0;C[s+12>>2]=f;if((f|0)<=0){break la}c=1;f=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!k){break la}l=C[g+12>>2];m=C[s+36>>2];f=0;while(1){ma:{c=i+I(f,6)|0;h=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);if(m>>>0<=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0){break ma}c=D[c+8|0]|D[c+9|0]<<8;if(l>>>0<=((c<<8|c>>>8)&65535)>>>0){break ma}c=1;f=f+1|0;if((k|0)!=(f|0)){continue}break la}break}c=0}f=c}if(!f){break ja}f=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);if(!f){break ja}c=D[i+4|0]|D[i+5|0]<<8|(D[i+6|0]<<16|D[i+7|0]<<24);if(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)){break ja}c=1;f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1){while(1){k=i+I(c,6)|0;h=f>>>0<=c-1>>>0?84608:k-2|0;h=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);q=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);h=c>>>0>=f>>>0?84608:k+4|0;h=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);if(q>>>0>=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0){break ja}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=(i+I(f,6)|0)+4|0;if(c>>>0>2]){break ja}f=C[s+8>>2];if(f>>>0>>0|f-c>>>0<4){break ja}c=C[s+12>>2]-4|0;C[s+12>>2]=c;if((c|0)<=0){break ja}a=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);a=a?(i+I(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24),6)|0)-2|0:84608;a=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);a=C[s+36>>2]==(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}Ce=g+16|0;break da}C[s+12>>2]=k;break fa}C[s+12>>2]=c}f=f>>>0>=i>>>0}a=f}if(a){break $}}Kh(e);break L}a=C[e+88>>2];a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);C[e+128>>2]=a;if((a|0)!=C[e+40>>2]){Kh(e);break L}a=C[e+92>>2];a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);C[e+100>>2]=a;na:{oa:{g=C[e+116>>2];if((g|0)>=0){a=(a|0)>0?a:0;if(a>>>0<=g>>>0){break na}while(1){g=((g>>>1|0)+g|0)+8|0;if(a>>>0>=g>>>0){continue}break}if(g>>>0<=153391688){c=lf(C[e+124>>2],I(g,28));if(c){break oa}}C[e+116>>2]=-1}Kh(e);break L}C[e+116>>2]=g;C[e+124>>2]=c}c=C[e+120>>2];if(c>>>0>>0){We(C[e+124>>2]+I(c,28)|0,0,I(a-c|0,28))}C[e+120>>2]=a;if(!C[e+100>>2]){break L}B=C[21154];M=C[21153];L=C[21152];while(1){c=L;a=M;f=B;h=C[e+92>>2];i=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);if(i>>>0>y>>>0){a=i+1|0;l=h+4|0;i=D[l|0];m=I(a,i);f=0;g=0;pa:{if(!i){break pa}k=i&3;a=(h+I(i,y)|0)+5|0;c=0;if(i>>>0<4){g=0}else{q=i&252;while(1){i=a;a=a+4|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}i=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);g=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24)}if(!k){break pa}while(1){g=D[a|0]|g<<8;a=a+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=(l+m|0)+g|0;a=mo(h,y)}qa:{ra:{sa:{switch(a+1|0){case 1:break qa;case 0:break ra;default:break sa}}if(F[e+8>>2]>c>>>0){break ra}i=C[e+12>>2];if(i>>>0>>0|i-c>>>0>>0){break ra}i=C[e+16>>2]-a|0;C[e+16>>2]=i;if((i|0)>0){break qa}}Kh(e);break L}A[j+72|0]=0;A[j+68|0]=0;C[j+64>>2]=0;C[j+60>>2]=f;C[j+56>>2]=a;C[j+52>>2]=c;a=kf(4744);C[j+84>>2]=0;C[j+88>>2]=0;C[j+76>>2]=0;C[j+80>>2]=0;ta:{if(!a){C[j+80>>2]=-1;break ta}C[j+88>>2]=a;C[j+80>>2]=593;C[j+84>>2]=513;We(a,0,4104)}A[j+92|0]=0;ua:{va:{wa:{xa:{c=C[e+104>>2];if((c|0)>=0){g=C[e+108>>2];a=g+1|0;a=(a|0)>0?a:0;if(a>>>0<=c>>>0){break wa}while(1){c=((c>>>1|0)+c|0)+8|0;if(a>>>0>=c>>>0){continue}break}if(c>>>0<=153391688){f=lf(C[e+112>>2],I(c,28));if(f){break xa}}C[e+104>>2]=-1}C[104434]=C[21158];a=C[21157];C[104432]=C[21156];C[104433]=a;a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;break va}C[e+104>>2]=c;C[e+112>>2]=f;g=C[e+108>>2]}if(a>>>0>g>>>0){We(C[e+112>>2]+I(g,28)|0,0,I(a-g|0,28))}C[e+108>>2]=a;c=C[e+112>>2];N=C[21158];C[104434]=N;f=C[21157];P=f;k=C[21156];C[104432]=k;C[104433]=f;f=C[21155];Q=f;l=C[21154];C[104430]=l;C[104431]=f;f=C[21153];R=f;m=C[21152];C[104428]=m;C[104429]=f;h=c+I(a-1|0,28)|0;if((h|0)==417712){break va}a=h;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;i=D[84608];f=i|256;n=j+52|0;a=D[n+16|0];ya:{if((i|0)!=12){c=C[n+12>>2];q=c+1|0;v=C[n+4>>2];g=(a|0)!=0|q>>>0>v>>>0;if(g){break ya}a=i;za:{Aa:{Ba:{if(c>>>0>=v>>>0){break Ba}E=C[n>>2];a=D[E+c|0];if((a|0)==12){a=f;if(q>>>0>=v>>>0){break Ba}c=q;a=D[E+c|0]|256}if(c>>>0>>0){break Aa}}A[n+16|0]=1;C[n+12>>2]=v;break za}C[n+12>>2]=c+1}bm(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])|C[n+28>>2]<0){break ya}while(1){c=C[n+12>>2];q=c+1|0;v=C[n+4>>2];g=q>>>0>v>>>0;if(g){break ya}a=i;Ca:{Da:{if(c>>>0>=v>>>0){break Da}E=C[n>>2];a=D[E+c|0];if((a|0)==12){a=f;if(q>>>0>=v>>>0){break Da}c=q;a=D[E+c|0]|256}if(c>>>0>=v>>>0){break Da}C[n+12>>2]=c+1;break Ca}A[n+16|0]=1;C[n+12>>2]=v}bm(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])){break ya}if(C[n+28>>2]>=0){continue}break}break ya}c=C[n+12>>2];i=c+1|0;q=C[n+4>>2];g=(a|0)!=0|i>>>0>q>>>0;if(g){break ya}Ea:{if(c>>>0>=q>>>0){A[n+16|0]=1;a=65535;break Ea}Fa:{v=C[n>>2];a=D[v+c|0];Ga:{if((a|0)==12){a=f;if(i>>>0>=q>>>0){break Ga}c=i;a=D[v+c|0]|256}if(c>>>0>>0){break Fa}}A[n+16|0]=1;C[n+12>>2]=q;break Ea}C[n+12>>2]=c+1}bm(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])|C[n+28>>2]<0){break ya}while(1){c=C[n+12>>2];i=c+1|0;q=C[n+4>>2];g=i>>>0>q>>>0;if(g){break ya}Ha:{if(c>>>0>=q>>>0){A[n+16|0]=1;a=65535;break Ha}Ia:{v=C[n>>2];a=D[v+c|0];Ja:{if((a|0)==12){a=f;if(i>>>0>=q>>>0){break Ja}c=i;a=D[v+c|0]|256}if(c>>>0>>0){break Ia}}A[n+16|0]=1;C[n+12>>2]=q;break Ha}C[n+12>>2]=c+1}bm(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])){break ya}if(C[n+28>>2]>=0){continue}break}}if(!g){break va}a=C[h+16>>2];q=a?a+w|0:84608;Ka:{La:{n=C[h+20>>2];switch(n+1|0){case 0:break va;case 1:break Ka;default:break La}}if(q>>>0>2]){break va}a=C[e+12>>2];if(a>>>0>>0|n>>>0>a-q>>>0){break va}a=C[e+16>>2]-n|0;C[e+16>>2]=a;if((a|0)<=0){break va}}A[j+20|0]=0;C[j+4>>2]=n;C[j>>2]=q;a=kf(4744);C[j+32>>2]=0;C[j+36>>2]=0;C[j+24>>2]=0;C[j+28>>2]=0;A[j+16|0]=0;C[j+8>>2]=0;C[j+12>>2]=0;if(a){C[j+32>>2]=513;C[j+36>>2]=a;We(a,0,4104);a=593}else{a=-1}A[j+48|0]=0;C[j+44>>2]=0;A[j+40|0]=0;C[j+28>>2]=a;Ma:{if(F[e+120>>2]<=y>>>0){C[104434]=N;C[104432]=k;C[104433]=P;C[104430]=l;C[104431]=Q;C[104428]=m;C[104429]=R;a=417712;break Ma}a=C[e+124>>2]+I(y,28)|0}C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+20>>2]=84608;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;Na:{if(F[e+120>>2]<=y>>>0){C[104434]=N;C[104432]=k;C[104433]=P;C[104430]=l;C[104431]=Q;C[104428]=m;C[104429]=R;g=417712;break Na}g=C[e+124>>2]+I(y,28)|0}a=g;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+20>>2]=84608;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;i=D[84608];f=i|256;a=D[j+16|0];Oa:{if((i|0)!=12){c=C[j+12>>2];h=c+1|0;k=C[j+4>>2];l=(a|0)!=0|h>>>0>k>>>0;if(l){break Oa}a=i;Pa:{Qa:{Ra:{if(c>>>0>=k>>>0){break Ra}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=k>>>0){break Ra}c=h;a=D[m+c|0]|256}if(c>>>0>>0){break Qa}}A[j+16|0]=1;C[j+12>>2]=k;break Pa}C[j+12>>2]=c+1}am(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break Oa}while(1){c=C[j+12>>2];h=c+1|0;k=C[j+4>>2];l=h>>>0>k>>>0;if(l){break Oa}a=i;Sa:{Ta:{if(c>>>0>=k>>>0){break Ta}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=k>>>0){break Ta}c=h;a=D[m+c|0]|256}if(c>>>0>=k>>>0){break Ta}C[j+12>>2]=c+1;break Sa}A[j+16|0]=1;C[j+12>>2]=k}am(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break Oa}if(C[j+28>>2]>=0){continue}break}break Oa}c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];l=(a|0)!=0|i>>>0>h>>>0;if(l){break Oa}Ua:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break Ua}Va:{k=C[j>>2];a=D[k+c|0];Wa:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break Wa}c=i;a=D[k+c|0]|256}if(c>>>0>>0){break Va}}A[j+16|0]=1;C[j+12>>2]=h;break Ua}C[j+12>>2]=c+1}am(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break Oa}while(1){c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];l=i>>>0>h>>>0;if(l){break Oa}Xa:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break Xa}Ya:{k=C[j>>2];a=D[k+c|0];Za:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break Za}c=i;a=D[k+c|0]|256}if(c>>>0>>0){break Ya}}A[j+16|0]=1;C[j+12>>2]=h;break Xa}C[j+12>>2]=c+1}am(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break Oa}if(C[j+28>>2]>=0){continue}break}}_a:{if(l){$a:{if(F[e+120>>2]>y>>>0){f=C[e+124>>2]+I(y,28)|0;a=C[f+16>>2];a=a?a+(n?q:84608)|0:84608;C[f+20>>2]=a;if((a|0)!=84608){break $a}a=0;break _a}a=C[21157];C[104432]=C[21156];C[104433]=a;C[104434]=C[21158];a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;f=417712;a=0;if(C[104433]==84608){break _a}}a=0;if(dm(C[f+20>>2],s)){break _a}}Kh(e);a=1}Re(C[j+36>>2]);break ua}Kh(e);a=1}Re(C[j+88>>2]);if(a){break L}y=y+1|0;if(y>>>0>2]){continue}break}}Ce=j+96|0;if(!C[b+60>>2]){C[b+60>>2]=e;break G}Kh(e);Re(e);e=C[b+60>>2];if(!e){continue}break}}i=d;f=0;d=0;h=Ce-240|0;Ce=h;if(!(!C[e>>2]|r>>>0>=F[e+128>>2])){c=0;a=C[e+96>>2];ab:{if((a|0)==84608){break ab}bb:{switch(D[a|0]){case 0:c=D[(a+r|0)+1|0];break ab;case 3:c=1;f=a+1|0;a=D[a+1|0]|D[a+2|0]<<8;a=(a<<8|a>>>8)&65535;cb:{if(a>>>0<2){break cb}while(1){g=f+I(c,3)|0;g=D[g+2|0]|D[g+3|0]<<8;if(r>>>0<((g<<8|g>>>8)&65535)>>>0){break cb}c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}c=c-1|0;c=D[(a>>>0<=c>>>0?84608:(f+I(c,3)|0)+2|0)+2|0];break ab;case 4:break bb;default:break ab}}c=1;g=a+1|0;a=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);db:{if(a>>>0<2){break db}while(1){f=a>>>0<=c>>>0?84608:(g+I(c,6)|0)+4|0;f=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);if(r>>>0<(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0){break db}c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}c=c-1|0;a=a>>>0<=c>>>0?84608:(g+I(c,6)|0)+4|0;a=D[a+4|0]|D[a+5|0]<<8;c=(a<<8|a>>>8)&65535}k=c;A[h+72|0]=0;a=h- -64|0;C[a>>2]=0;C[a+4>>2]=0;C[h+92>>2]=0;C[h+84>>2]=0;C[h+88>>2]=0;C[h+108>>2]=0;C[h+112>>2]=0;A[h+116|0]=0;C[h+228>>2]=0;C[h+160>>2]=0;C[h+152>>2]=0;C[h+156>>2]=0;C[h+56>>2]=0;C[h+60>>2]=0;C[h+100>>2]=0;C[h+104>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;c=C[e+88>>2];a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);eb:{if(a>>>0<=r>>>0){C[h+48>>2]=C[21154];a=C[21153];C[h+40>>2]=C[21152];C[h+44>>2]=a;break eb}f=c+5|0;g=a+1|0;a=D[c+4|0];m=f+I(g,a)|0;fb:{if(!a){break fb}l=a&3;f=f+I(a,r)|0;g=0;if(a>>>0<4){d=0}else{q=a&252;while(1){a=f;f=a+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(!l){break fb}while(1){d=D[f|0]|d<<8;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=mo(c,r);C[h+48>>2]=0;C[h+44>>2]=a;C[h+40>>2]=(d+m|0)-1}m=C[p+64>>2];q=C[p+60>>2];g=C[e+80>>2];B=I(k,28);l=C[(k>>>0>=F[e+120>>2]?84608:B+C[e+124>>2]|0)+20>>2];c=C[h+44>>2];a=h+56|0;C[a>>2]=C[h+40>>2];C[a+4>>2]=c;C[a+8>>2]=C[h+48>>2];A[a+20|0]=0;A[a+16|0]=0;C[a+12>>2]=0;c=kf(18976);C[a+32>>2]=0;C[a+36>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;gb:{if(!c){C[a+28>>2]=-1;break gb}C[a+36>>2]=c;f=We(c,0,16416);C[a+28>>2]=593;C[a+32>>2]=513;d=0;while(1){c=f+(d<<5)|0;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+56>>2]=0;C[c+48>>2]=0;C[c+52>>2]=0;C[c+88>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;c=c- -64|0;C[c>>2]=0;C[c+4>>2]=0;d=d+3|0;if((d|0)!=513){continue}break}}A[a+40|0]=0;c=C[h+40>>2];d=C[h+44>>2];C[a+52>>2]=C[h+48>>2];C[a+44>>2]=c;C[a+48>>2]=d;C[a+128>>2]=0;C[a+132>>2]=0;A[a+73|0]=1;A[a+74|0]=0;c=a- -64|0;C[c>>2]=0;C[c+4>>2]=0;A[a+60|0]=0;C[a+56>>2]=0;C[a+136>>2]=0;C[a+140>>2]=0;c=kf(560);C[a+100>>2]=0;C[a+104>>2]=0;C[a+92>>2]=0;C[a+96>>2]=0;C[a+76>>2]=0;C[a+80>>2]=0;A[a+81|0]=0;A[a+82|0]=0;A[a+83|0]=0;A[a+84|0]=0;A[a+85|0]=0;A[a+86|0]=0;A[a+87|0]=0;A[a+88|0]=0;hb:{if(!c){C[a+96>>2]=-1;break hb}C[a+104>>2]=c;We(c,0,280);C[a+96>>2]=20;C[a+100>>2]=10;f=10;d=0;while(1){ib:{if(d>>>0>=f>>>0){C[104434]=C[21158];c=C[21157];C[104432]=C[21156];C[104433]=c;c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break ib}c=C[a+104>>2]+I(d,28)|0}C[c>>2]=0;C[c+4>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;A[c+16|0]=0;C[c+8>>2]=0;C[c+12>>2]=0;d=d+1|0;f=C[a+100>>2];if(d>>>0>>0){continue}break}}C[a+112>>2]=g;d=107;c=107;jb:{if(!g){break jb}f=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=107;if(f>>>0<1240){break jb}c=f>>>0<33900?1131:32768}C[a+108>>2]=c;C[a+120>>2]=l;kb:{if(!l){break kb}c=D[l|0]|D[l+1|0]<<8|(D[l+2|0]<<16|D[l+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<1240){break kb}d=c>>>0<33900?1131:32768}C[a+116>>2]=d;C[h+204>>2]=q;C[h+200>>2]=m;c=C[e+84>>2];C[h+208>>2]=c;A[h+233|0]=0;A[h+234|0]=0;C[h+228>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;a=0;lb:{if(!m){break lb}a=0;if(!q){break lb}a=(D[c|0]|D[c+1|0]<<8)!=0}A[h+232|0]=a;C[h+216>>2]=C[(k>>>0>=F[e+120>>2]?84608:B+C[e+124>>2]|0)+24>>2];C[h+32>>2]=0;C[h+36>>2]=-1042284544;C[h+24>>2]=0;C[h+28>>2]=-1042284544;C[h+16>>2]=-4194304;C[h+20>>2]=1105199103;C[h+8>>2]=-4194304;C[h+12>>2]=1105199103;A[h|0]=0;g=h+56|0;A[g+72|0]=0;d=D[84608];e=d|256;mb:{nb:{if(!D[g+16|0]){a=C[g+12>>2];f=a+1|0;k=C[g+4>>2];if(f>>>0<=k>>>0){break nb}}c=C[g+92>>2]?11:14;break mb}ob:{pb:{if(a>>>0>=k>>>0){A[g+16|0]=1;c=65535;a=d;if((a|0)!=12){break pb}break mb}l=C[g>>2];c=D[l+a|0];if((c|0)==12){a=e;if(f>>>0>=k>>>0){break pb}c=D[f+l|0]|256;a=f}if(a>>>0>>0){break ob}a=c}A[g+16|0]=1;C[g+12>>2]=k;c=a;break mb}C[g+12>>2]=a+1}Bw(c,g,h);a=0;qb:{rb:{if(D[g+88|0]|C[g+96>>2]<0){break rb}f=0;if(D[g+40|0]|D[g+16|0]){break qb}f=0;if(D[g+20|0]){break qb}if(C[g+28>>2]<0){break rb}a=1;if(D[g+72|0]){break rb}while(1){a=C[g+12>>2];f=a+1|0;k=C[g+4>>2];sb:{if(f>>>0<=k>>>0){tb:{if(a>>>0>>0){l=C[g>>2];c=D[l+a|0];if((c|0)==12){a=e;if(f>>>0>=k>>>0){break tb}c=D[f+l|0]|256;a=f}if(a>>>0>=k>>>0){a=c;break tb}C[g+12>>2]=a+1;break sb}A[g+16|0]=1;c=65535;a=d;if((a|0)==12){break sb}}A[g+16|0]=1;C[g+12>>2]=k;c=a;break sb}c=C[g+92>>2]?11:14}Bw(c,g,h);a=0;if(D[g+88|0]|C[g+96>>2]<0|(D[g+20|0]|(D[g+40|0]|D[g+16|0]))){break rb}if(C[g+28>>2]<0){break rb}if(!D[g+72|0]){continue}break}a=1}f=a}ub:{if(!f){break ub}x=H[h+24>>3];z=H[h+8>>3];vb:{if(!(x>z)){C[i>>2]=0;C[i+8>>2]=0;break vb}g=C[p+20>>2];o=J(z);c=C[p+16>>2];d=C[c+28>>2];wb:{if(d){a=d;e=g;break wb}a=Lf(c);c=C[p+16>>2];d=C[c+28>>2];x=H[h+24>>3];e=C[p+20>>2]}o=J(O(J(J(J(o*J(g|0))/J(a>>>0))+J(.5))));xb:{if(J(K(o))>2]=g;if(!d){d=Lf(c);g=C[i>>2]}o=J(O(J(J(J(J(x)*J(e|0))/J(d>>>0))+J(.5))));yb:{if(J(K(o))>2]=a-g}x=H[h+16>>3];z=H[h+32>>3];if(!(x>2]=0;C[i+12>>2]=0;break ub}g=C[p+24>>2];o=J(z);c=C[p+16>>2];d=C[c+28>>2];zb:{if(d){a=d;e=g;break zb}a=Lf(c);c=C[p+16>>2];d=C[c+28>>2];x=H[h+16>>3];e=C[p+24>>2]}o=J(O(J(J(J(o*J(g|0))/J(a>>>0))+J(.5))));Ab:{if(J(K(o))>2]=g;if(!d){d=Lf(c);g=C[i+4>>2]}o=J(O(J(J(J(J(x)*J(e|0))/J(d>>>0))+J(.5))));Bb:{if(J(K(o))>2]=a-g}a=0;Re(C[h+228>>2]);C[h+228>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;d=C[h+88>>2];if(d){while(1){c=C[h+92>>2]+(a<<5)|0;Re(C[c+24>>2]);C[c+24>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}Re(C[h+92>>2]);C[h+92>>2]=0;C[h+84>>2]=0;C[h+88>>2]=0;Re(C[h+160>>2]);C[h+160>>2]=0;C[h+152>>2]=0;C[h+156>>2]=0;Re(C[h+228>>2]);C[h+228>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;Re(C[h+160>>2]);C[h+160>>2]=0;C[h+152>>2]=0;C[h+156>>2]=0;Re(C[h+92>>2]);C[h+92>>2]=0;C[h+84>>2]=0;C[h+88>>2]=0}Ce=h+240|0;if(f){break v}t=C[b+136>>2];Cb:{if(t){break Cb}while(1){h=C[b>>2];if(!h){t=84608;break Cb}a=Ce-48|0;Ce=a;f=df(1,12);if(f){C[a+8>>2]=0;C[a+12>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;A[a+24|0]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;c=Qf(h);A[a+40|0]=1;C[a+36>>2]=c;c=Of(h,1128418371);t=Ce-16|0;Ce=t;Db:{if(!c){break Db}d=C[c>>2];if(!d){break Db}C[c>>2]=d+1}d=c;A[a+24|0]=0;C[a+32>>2]=c;e=C[c+12>>2];C[a+4>>2]=e;k=C[c+16>>2];C[a+8>>2]=k+e;C[a+28>>2]=0;if(k>>>0>67108862){g=1073741823}else{g=k<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[a+12>>2]=g;C[a+20>>2]=0;C[a>>2]=0;Eb:{Fb:{if(!e){break Fb}Gb:{Hb:{Ib:{Jb:{if((k|0)<8){break Jb}C[a+12>>2]=g-8;if(((D[e|0]|D[e+1|0]<<8)&65279)!=512){break Jb}C[t+8>>2]=e;Kb:{if(lo(e+4|0,a,t+8|0)){break Kb}if(D[a+24|0]|!C[a+28>>2]){break Jb}d=Pf(c);C[a+4>>2]=d;C[a+8>>2]=d+C[c+16>>2];if(!d){break Jb}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;k=C[d+16>>2];C[a+8>>2]=k+e;g=1073741823;C[a+28>>2]=0;if(k>>>0<=67108862){g=k<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[a+12>>2]=g;C[a+20>>2]=0;C[a>>2]=0;if(!e){break Fb}if((k|0)<=7){break Jb}C[a+12>>2]=g-8;if(((D[e|0]|D[e+1|0]<<8)&65279)!=512){break Jb}C[t+8>>2]=e;if(lo(e+4|0,a,t+8|0)){break Kb}if(D[a+24|0]|!C[a+28>>2]){break Jb}d=Pf(c);C[a+4>>2]=d;C[a+8>>2]=d+C[c+16>>2];if(d){continue}break}break Jb}if(!C[a+28>>2]){break Ib}C[a+28>>2]=0;if(F[a+4>>2]>e>>>0){break Jb}d=C[a+8>>2];if(d>>>0>>0|d-e>>>0<=7){break Jb}d=C[a+12>>2]-8|0;C[a+12>>2]=d;if(((D[e|0]|D[e+1|0]<<8)&65279)!=512|(d|0)<=0){break Jb}C[t+12>>2]=e;d=lo(e+4|0,a,t+12|0);if(C[a+28>>2]){break Jb}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(d){break Hb}break Gb}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break Gb}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break Eb}Ue(c);c=84608;break Eb}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}Ce=t+16|0;C[f>>2]=c;C[a+8>>2]=0;C[a+12>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;A[a+24|0]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;c=Qf(h);A[a+40|0]=1;C[a+36>>2]=c;c=Of(h,1128416340);Lb:{if(!c){break Lb}d=C[c>>2];if(!d){break Lb}C[c>>2]=d+1}A[a+24|0]=0;C[a+32>>2]=c;e=C[c+12>>2];C[a+4>>2]=e;g=C[c+16>>2];C[a+8>>2]=g+e;C[a+28>>2]=0;if(g>>>0>67108862){d=1073741823}else{d=g<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[a+12>>2]=d;C[a+20>>2]=0;C[a>>2]=0;Mb:{if(!e){Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break Mb}Nb:{if((g|0)>=4){C[a+12>>2]=d-4;d=D[e|0]|D[e+1|0]<<8;Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if((d&65279)!=512){break Nb}if(C[c+4>>2]){C[c+4>>2]=0}break Mb}Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}Ue(c);c=84608}C[f+4>>2]=c;S=f,T=vl(h),C[S+8>>2]=T}Ce=a+48|0;a=f?f:84608;t=C[b+136>>2];if(!t){C[b+136>>2]=a;t=a;break Cb}if(!a|(a|0)==84608){break Cb}Ue(C[a>>2]);C[a>>2]=0;Ue(C[a+4>>2]);Re(a);t=C[b+136>>2];if(!t){continue}break}}g=Ce-16|0;Ce=g;b=84608;a=C[t>>2];a=a?a:84608;e=F[a+16>>2]<8?84608:C[a+12>>2];a=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);f=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f){b=0;if((f|0)!=1){a=C[p+48>>2];b=C[p+52>>2];a=a>>>0>b>>>0?a:b;h=a?a:1073741824;a=D[e+52|0];b=D[e+53|0];c=a>>>0>b>>>0?a:b;b=0;a=1;while(1){d=e+I(a,48)|0;k=D[d+52|0];d=D[d+53|0];d=d>>>0>>0?k:d;if(!(!(d>>>0>=h>>>0&c>>>0>d>>>0)&(c>>>0>=h>>>0|c>>>0>=d>>>0))){b=a;c=d}a=a+1|0;if((f|0)!=(a|0)){continue}break}}b=b>>>0>=f>>>0?84608:(e+I(b,48)|0)+8|0}a=0;c=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Ob:{if(!f){break Ob}c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=e+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;while(1){Pb:{c=(a|0)<0?84608:d+(a<<3)|0;e=D[c|0]|D[c+1|0]<<8;if(r>>>0<((e<<8|e>>>8)&65535)>>>0){break Pb}e=D[c+2|0]|D[c+3|0]<<8;if(r>>>0>((e<<8|e>>>8)&65535)>>>0){break Pb}a=0;if(!D[b+44|0]|!D[b+45|0]){break Ob}C[g+12>>2]=0;C[g+8>>2]=0;C[g+4>>2]=0;f=0;e=D[c|0]|D[c+1|0]<<8;e=(e<<8|e>>>8)&65535;Qb:{if(e>>>0>r>>>0){break Qb}h=D[c+2|0]|D[c+3|0]<<8;if(r>>>0>((h<<8|h>>>8)&65535)>>>0){break Qb}c=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+d|0:84608;d=D[c+2|0]|D[c+3|0]<<8;C[g+4>>2]=(d<<8|d>>>8)&65535;e=r-e|0;Rb:{Sb:{d=D[c|0]|D[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break Rb;case 0:break Sb;default:break Qb}}r=c+8|0;d=e+1|0;d=(d|0)<0?84608:r+(d<<2)|0;f=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=(e|0)<0?84608:r+(e<<2)|0;f=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(h>>>0>f>>>0){c=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);C[g+12>>2]=f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);C[g+8>>2]=d-(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))}f=f>>>0>>0;break Qb}r=c+8|0;d=e+1|0;d=(d|0)<0?84608:r+(d<<1)|0;d=D[d|0]|D[d+1|0]<<8;d=d<<8|d>>>8;e=(e|0)<0?84608:r+(e<<1)|0;e=D[e|0]|D[e+1|0]<<8;e=e<<8|e>>>8;if((d&65535)>>>0<=(e&65535)>>>0){break Qb}c=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=e&65535;C[g+12>>2]=f+c;C[g+8>>2]=(d&65535)-c;f=1}if(!f){break Ob}c=C[t+4>>2];f=c?c:84608;c=C[f+16>>2];d=C[g+12>>2];if(c>>>0>>0){break Ob}e=C[g+8>>2];if(e>>>0>c-d>>>0){break Ob}Tb:{Ub:{switch(C[g+4>>2]-17|0){case 0:if(e>>>0>=9){break Tb}break Ob;case 1:break Ub;default:break Ob}}if(e>>>0<12){break Ob}}u=J(F[t+8>>2]);o=J(u/J(D[b+45|0]));a=C[p+40>>2];t=C[p+44>>2];e=d+(c>>>0<4?84608:C[f+12>>2])|0;c=mT(a,t,D[e|0],0);d=32768-c|0;G=J(O(J(J(o*J((0-(Ee+(c>>>0>32768)|0)&65535)<<16|d>>>16))+J(.5))));Vb:{if(J(K(G))>31;d=A[e+3|0];k=d>>31;l=D[e+1|0];e=C[p+32>>2];r=C[p+36>>2];b=D[b+44|0];C[i+12>>2]=f;u=J(u/J(b>>>0));b=mT(l,0,e,r);f=Ee;b=b+32768|0;G=J(O(J(J(u*J(((b>>>0<32768?f+1|0:f)&65535)<<16|b>>>16))+J(.5))));Wb:{if(J(K(G))>2]=b;b=mT(d,k,a,t);a=Ee;b=b+32768|0;o=J(O(J(J(o*J(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+J(.5))));Xb:{if(J(K(o))>2]=a;b=mT(c,h,e,r);a=Ee;b=b+32768|0;o=J(O(J(J(u*J(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+J(.5))));Yb:{if(J(K(o))>2]=a;a=1;break Ob}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=0}Ce=g+16|0;t=a}return t|0}function FI(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,L=0,M=0,N=0,P=0,Q=0;a:{b:{c:{if(!(!a|!b)){d:{e=D[a+429|0];if(e>>>0>7){break d}C[a+772>>2]=17;c=b+32|0;d=8-e|0;Xf(a,c+e|0,d);A[a+429|0]=8;e:{if(Zo(c,e,d)){if(e>>>0<=3){if(Zo(c,e,4-e|0)){break e}}Af(a,12246);s()}if(e>>>0>2){break d}C[a+204>>2]=C[a+204>>2]|4096;break d}Af(a,17517);s()}d=Qo(a);c=C[a+372>>2];if((c|0)!=1229209940){while(1){e=C[a+204>>2];if(e&4){C[a+204>>2]=e|8200}f:{g:{if((c|0)!=1229278788){if((c|0)!=1229472850){break g}p=Ce-16|0;Ce=p;h:{i:{j:{k:{c=C[a+204>>2];if(!(c&1)){if((d|0)!=13){break k}C[a+204>>2]=c|1;d=p+3|0;Xf(a,d,13);_f(a,d,13);ef(a,0);d=D[p+3|0]|D[p+4|0]<<8|(D[p+5|0]<<16|D[p+6|0]<<24);r=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((r|0)<0){break j}d=D[p+7|0]|D[p+8|0]<<8|(D[p+9|0]<<16|D[p+10|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((j|0)<0){break i}k=D[p+15|0];d=D[p+12|0];g=D[p+14|0];f=D[p+13|0];e=D[p+11|0];A[a+424|0]=e;C[a+348>>2]=j;C[a+344>>2]=r;A[a+716|0]=f;A[a+684|0]=g;A[a+423|0]=d;A[a+420|0]=k;c=d<<3;n=c&31;c=d>>>0>=7?1:(c&63)>>>0>=32?262402>>>n|0:((1<>>n;A[a+427|0]=c;c=I(c,e);A[a+426|0]=c;c=c&255;l:{if(c>>>0>=8){c=I(r,c>>>3|0);break l}c=I(c,r)+7>>>3|0}C[a+360>>2]=c;if(!(!a|!b)){A[b+28|0]=k;A[b+27|0]=g;A[b+26|0]=f;A[b+25|0]=d;A[b+24|0]=e;C[b+4>>2]=j;C[b>>2]=r;yv(a,r,j,e,d,k,f,g);c=D[b+25|0];m:{if((c|0)==3){e=1}else{d=c&2;e=d|1;A[b+29|0]=e;if(!(c&4)){break m}e=d+2|0}A[b+29|0]=e}d=I(D[b+24|0],e);A[b+30|0]=d;d=d&255;n:{if(d>>>0>=8){d=I(r,d>>>3|0);break n}d=I(d,r)+7>>>3|0}C[b+12>>2]=d}Ce=p+16|0;break h}Kg(a,19111);s()}Kg(a,19763);s()}Af(a,18248);s()}Af(a,18248);s()}break f}o:{c=C[a+204>>2];if((c&5)==5){C[a+204>>2]=c|24;ef(a,d);if(d){ff(a,19763)}break o}Kg(a,19111);s()}break f}e=Av(a,c);if(e){Mo(a,b,d,e);if((c|0)!=1347179589){break f}C[a+204>>2]=C[a+204>>2]|2;break f}p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((c|0)<=1883455819){if((c|0)<=1732332864){if((c|0)<=1665684044){if((c|0)==1347179589){break A}if((c|0)!=1649100612){break p}f=Ce-16|0;Ce=f;B:{C:{D:{e=C[a+204>>2];if(e&1){E:{if(!(e&4)){c=D[a+423|0];if(e&2|(c|0)!=3){break E}}ef(a,d);ff(a,19111);break B}if(!(!b|!(D[b+8|0]&32))){ef(a,d);ff(a,16534);break B}if((((c|0)==3?1:c&2?6:2)|0)!=(d|0)){ef(a,d);ff(a,19763);break B}c=f+10|0;Xf(a,c,d);_f(a,c,d);if(ef(a,0)){break B}d=D[a+423|0];if((d|0)==3){c=D[f+10|0];A[f|0]=c;F:{G:{if(!b){break G}d=E[b+20>>1];if(!d){break G}if(d>>>0<=c>>>0){ff(a,1711);break B}d=C[a+404>>2]+I(c,3)|0;B[f+2>>1]=D[d|0];B[f+4>>1]=D[d+1|0];B[f+6>>1]=D[d+2|0];break F}B[f+6>>1]=0;B[f+2>>1]=0;B[f+4>>1]=0}B[f+8>>1]=0;Jo(a,b,f);break B}c=D[a+424|0];if(!(d&2)){d=D[f+10|0];H:{if(c>>>0>=9){e=D[f+11|0];break H}if(d){break D}e=D[f+11|0];if(e>>>c|0){break D}d=0}A[f|0]=0;d=d<<8|e;B[f+8>>1]=d;B[f+6>>1]=d;B[f+4>>1]=d;B[f+2>>1]=d;Jo(a,b,f);break B}d=D[f+10|0];if(c>>>0>=9){i=D[f+14|0];e=D[f+12|0];break C}if(!(D[f+12|0]|d)){i=0;e=0;d=0;if(!D[f+14|0]){break C}}ff(a,9301);break B}break a}ff(a,13525);break B}A[f|0]=0;B[f+8>>1]=0;B[f+2>>1]=D[f+11|0]|d<<8;B[f+4>>1]=D[f+13|0]|e<<8;B[f+6>>1]=D[f+15|0]|i<<8;Jo(a,b,f)}Ce=f+16|0;break f}if((c|0)==1665684045){break z}if((c|0)!=1700284774){break p}f=Ce-16|0;Ce=f;I:{if(A[a+204|0]&1){J:{if(d>>>0<=1){ef(a,d);ff(a,3664);break J}if(!(A[b+10|0]&1?0:b)){ef(a,d);ff(a,16534);break J}C[b+244>>2]=C[b+244>>2]|32768;c=ch(a,d);C[b+212>>2]=c;K:{if(c){c=f+15|0;Xf(a,c,1);_f(a,c,1);A[C[b+212>>2]]=D[f+15|0];Xf(a,c,1);_f(a,c,1);c=D[f+15|0];A[C[b+212>>2]+1|0]=c;L:{switch(c-73|0){default:if((c|0)!=D[C[b+212>>2]]){break K}break;case 0:case 4:break L}}e=2;if((d|0)!=2){while(1){c=f+15|0;Xf(a,c,1);_f(a,c,1);A[C[b+212>>2]+e|0]=D[f+15|0];e=e+1|0;if((e|0)!=(d|0)){continue}break}}if(ef(a,0)){break J}e=C[b+212>>2];M:{if(!a|!b){break M}c=C[b+208>>2];if(c){nf(a,c);C[b+208>>2]=0}C[b+204>>2]=d;d=ch(a,d);C[b+208>>2]=d;if(!d){break M}C[b+244>>2]=C[b+244>>2]|32768;if(C[b+204>>2]>0){d=0;while(1){A[C[b+208>>2]+d|0]=D[d+e|0];d=d+1|0;if((d|0)>2]){continue}break}}C[b+8>>2]=C[b+8>>2]|65536}nf(a,C[b+212>>2]);C[b+212>>2]=0;break J}ef(a,d);ff(a,1263);break J}ef(a,d);ff(a,10776);nf(a,C[b+212>>2]);C[b+212>>2]=0}Ce=f+16|0;break I}break a}break f}if((c|0)<=1766015823){if((c|0)==1732332865){break y}if((c|0)!=1749635924){break p}f=Ce-528|0;Ce=f;N:{O:{c=C[a+204>>2];if(c&1){if((c&6)!=2){ef(a,d);ff(a,19111);break N}if(!(!b|!(D[b+8|0]&64))){ef(a,d);ff(a,16534);break N}if(d>>>0>513){break O}c=d>>>1|0;if((c|0)!=E[a+408>>1]){break O}if(d>>>0>=2){e=c>>>0<=1?1:c;d=0;while(1){c=f+14|0;Xf(a,c,2);_f(a,c,2);c=D[f+14|0]|D[f+15|0]<<8;B[(f+16|0)+(d<<1)>>1]=c<<8|c>>>8;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(ef(a,0)){break N}c=f+16|0;P:{if(!a|!b|(E[b+20>>1]-257&65535)>>>0<65280){break P}Pk(a,b,8,0);e=ch(a,512);C[b+216>>2]=e;if(!e){break P}C[b+244>>2]=C[b+244>>2]|8;d=E[b+20>>1];if(d){jf(e,c,d<<1)}C[b+8>>2]=C[b+8>>2]|64}break N}break a}ef(a,d);ff(a,19763)}Ce=f+528|0;break f}if((c|0)==1766015824){break t}if((c|0)==1767135348){break q}if((c|0)!=1866876531){break p}g=Ce-16|0;Ce=g;Q:{c=C[a+204>>2];if(c&1){R:{if(c&4){ef(a,d);ff(a,19111);break R}if(!(!b|!(A[b+9|0]&1))){ef(a,d);ff(a,16534);break R}if((d|0)!=9){ef(a,d);ff(a,19763);break R}d=g+7|0;Xf(a,d,9);_f(a,d,9);if(ef(a,0)){break R}c=A[g+7|0];f=c&255;d=A[g+11|0];e=d&255;if((c|0)<0){c=0-(I(D[g+8|0],2147418112)-(D[g+10|0]|(D[g+9|0]<<8|f<<24))&2147483647)|0}else{c=D[g+10|0]|(D[g+8|0]<<16|f<<24|D[g+9|0]<<8)}if((d|0)<0){d=0-(I(D[g+12|0],2147418112)-(D[g+14|0]|(D[g+13|0]<<8|e<<24))&2147483647)|0}else{d=D[g+14|0]|(D[g+12|0]<<16|e<<24|D[g+13|0]<<8)}e=D[g+15|0];if(!(!a|!b)){A[b+188|0]=e;C[b+184>>2]=d;C[b+180>>2]=c;C[b+8>>2]=C[b+8>>2]|256}}Ce=g+16|0;break Q}break a}break f}if((c|0)<=1934772033){if((c|0)<=1933723987){if((c|0)==1883455820){break x}if((c|0)!=1883789683){break p}f=Ce-16|0;Ce=f;S:{c=C[a+204>>2];if(c&1){T:{if(c&4){ef(a,d);ff(a,19111);break T}if(!(!b|!(D[b+8|0]&128))){ef(a,d);ff(a,16534);break T}if((d|0)!=9){ef(a,d);ff(a,19763);break T}d=f+7|0;Xf(a,d,9);_f(a,d,9);if(ef(a,0)){break T}d=D[f+7|0]|D[f+8|0]<<8|(D[f+9|0]<<16|D[f+10|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[f+11|0]|D[f+12|0]<<8|(D[f+13|0]<<16|D[f+14|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[f+15|0];if(!(!a|!b)){A[b+200|0]=d;C[b+196>>2]=c;C[b+192>>2]=e;C[b+8>>2]=C[b+8>>2]|128}}Ce=f+16|0;break S}break a}break f}if((c|0)==1933723988){break v}if((c|0)==1933787468){break w}if((c|0)!=1934642260){break p}f=d;g=Ce-16|0;Ce=g;U:{V:{W:{X:{d=C[a+728>>2];switch(d|0){case 0:break V;case 1:break X;default:break W}}ef(a,f);break U}d=d-1|0;C[a+728>>2]=d;if((d|0)!=1){break V}ef(a,f);break U}Y:{d=C[a+204>>2];if(d&1){if(d&4){ef(a,f);ff(a,19111);break U}c=f+1|0;e=C[a+760>>2];Z:{if(e){if(c>>>0<=F[a+764>>2]){break Z}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=ih(a,c);if(!e){break Y}d=We(e,0,c);C[a+764>>2]=c;C[a+760>>2]=d}Xf(a,e,f);_f(a,e,f);if(ef(a,0)){break U}k=e+f|0;A[k|0]=0;d=e;while(1){c=d;d=d+1|0;if(D[c|0]){continue}break}if(f>>>0<2|k-2>>>0>>0){break U}j=D[c+1|0];A[g+4|0]=j;d=c+2|0;f=f+(e-d|0)|0;c=(j|0)==8?6:10;n=(f>>>0)/(c>>>0)|0;if(f-I(c,n)|n>>>0>429496729){break U}C[g+12>>2]=n;k=ch(a,I(n,10));C[g+8>>2]=k;if(!k){break U}if(c>>>0<=f>>>0){p=0;f=(j|0)!=8;while(1){j=k+I(p,10)|0;_:{if(!f){B[j>>1]=D[d|0];B[j+2>>1]=D[d+1|0];B[j+4>>1]=D[d+2|0];c=D[d+3|0];d=d+4|0;break _}c=D[d|0]|D[d+1|0]<<8;B[j>>1]=c<<8|c>>>8;c=D[d+2|0]|D[d+3|0]<<8;B[j+2>>1]=c<<8|c>>>8;c=D[d+4|0]|D[d+5|0]<<8;B[j+4>>1]=c<<8|c>>>8;c=D[d+6|0]|D[d+7|0]<<8;c=c<<8|c>>>8;d=d+8|0}B[j+6>>1]=c;c=D[d|0]|D[d+1|0]<<8;B[j+8>>1]=c<<8|c>>>8;d=d+2|0;p=p+1|0;if((n|0)!=(p|0)){continue}break}}C[g>>2]=e;e=1;d=g;$:{if(!b|(!d|!a)){break $}c=Ro(a,C[b+256>>2],C[b+260>>2],1,16);if(!c){xg(a,7251,1);break $}nf(a,C[b+256>>2]);C[b+256>>2]=c;C[b+244>>2]=C[b+244>>2]|32;c=c+(C[b+260>>2]<<4)|0;while(1){f=C[d>>2];aa:{if(!(C[d+8>>2]?f:0)){$j(a,23510);break aa}A[c+4|0]=D[d+4|0];f=af(f)+1|0;k=ih(a,f);C[c>>2]=k;ba:{if(k){jf(k,C[d>>2],f);f=0;ca:{j=C[d+12>>2];if((j|0)>0){mT(j,0,10,0);da:{if(Ee){break da}k=I(j,10);if(!k){break da}ea:{if(!a){break ea}f=C[a+692>>2];if(!f){break ea}f=Fe[f|0](a,k)|0;break ca}f=kf(k)}break ca}Af(a,21565);s()}C[c+8>>2]=f;if(f){break ba}nf(a,C[c>>2]);C[c>>2]=0}if((e|0)<=0){break $}xg(a,1203,1);break $}k=C[d+12>>2];C[c+12>>2]=k;jf(f,C[d+8>>2],I(k,10));C[b+8>>2]=C[b+8>>2]|8192;C[b+260>>2]=C[b+260>>2]+1;d=d+16|0;c=c+16|0}e=e-1|0;if(e){continue}break}}nf(a,C[g+8>>2]);break U}break a}ef(a,f);ff(a,1263)}Ce=g+16|0;break f}if((c|0)<=1950960964){if((c|0)==1934772034){break u}if((c|0)!=1950701684){break p}g=Ce-32|0;Ce=g;fa:{ga:{ha:{ia:{c=C[a+728>>2];switch(c|0){case 0:break ga;case 1:break ia;default:break ha}}ef(a,d);break fa}c=c-1|0;C[a+728>>2]=c;if((c|0)!=1){break ga}ef(a,d);ff(a,18116);break fa}ja:{c=C[a+204>>2];if(c&1){if(c&4){C[a+204>>2]=c|8}f=d+1|0;c=C[a+760>>2];ka:{if(c){if(f>>>0<=F[a+764>>2]){break ka}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,c)}c=ih(a,f);if(!c){break ja}e=We(c,0,f);C[a+764>>2]=f;C[a+760>>2]=e}Xf(a,c,d);_f(a,c,d);if(ef(a,0)){break fa}f=d+c|0;A[f|0]=0;d=c;while(1){e=d;d=d+1|0;if(D[e|0]){continue}break}C[g+28>>2]=0;C[g+8>>2]=c;C[g+4>>2]=-1;C[g+20>>2]=0;C[g+24>>2]=0;d=e+((e|0)!=(f|0))|0;C[g+12>>2]=d;N=g,P=af(d),C[N+16>>2]=P;Io(a,b,g+4|0);break fa}break a}ff(a,1263)}Ce=g+32|0;break f}if((c|0)==1950960965){break s}if((c|0)==1951551059){break r}if((c|0)!=2052348020){break p}g=Ce-32|0;Ce=g;la:{ma:{na:{oa:{c=C[a+728>>2];switch(c|0){case 0:break ma;case 1:break oa;default:break na}}ef(a,d);break la}c=c-1|0;C[a+728>>2]=c;if((c|0)!=1){break ma}ef(a,d);ff(a,18116);break la}pa:{c=C[a+204>>2];if(c&1){if(c&4){C[a+204>>2]=c|8}i=C[a+760>>2];qa:{if(i){if(F[a+764>>2]>=d>>>0){break qa}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,i)}i=ih(a,d);if(!i){break pa}c=We(i,0,d);C[a+764>>2]=d;C[a+760>>2]=c}Xf(a,i,d);_f(a,i,d);c=0;if(ef(a,0)){break la}f=19609;ra:{if(!d){break ra}sa:{while(1){if(!D[c+i|0]){break sa}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}if(c-80>>>0<4294967217){break ra}f=20406;if(c+3>>>0>d>>>0){break ra}f=16865;if(D[(c+i|0)+1|0]){break ra}C[g+28>>2]=-1;e=d;d=c+2|0;ta:{if((ov(a,e,d,g+28|0)|0)==1){e=C[a+760>>2];f=5801;if(!e){break ta}f=d;d=C[g+28>>2];A[e+(f+d|0)|0]=0;C[g+24>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+12>>2]=d;C[g+8>>2]=(c+e|0)+2;C[g+4>>2]=e;C[g>>2]=0;f=Io(a,b,g)?1090:0;break ta}f=C[a+244>>2]}if(!f){break la}}ff(a,f);break la}break a}ef(a,d);ff(a,1263)}Ce=g+32|0;break f}f=Ce-784|0;Ce=f;ua:{va:{wa:{xa:{c=C[a+204>>2];if(c&1){if(c&2){break xa}if(c&4){ef(a,d);ff(a,19111);break ua}C[a+204>>2]=c|2;c=D[a+423|0];if(!(c&2)){ef(a,d);ff(a,26129);break ua}if(!(!((d>>>0)%3|0)&d>>>0<=768)){ef(a,d);if(D[a+423|0]!=3){ff(a,19763);break ua}Kg(a,19763);s()}i=256;i=(c|0)==3?1<>>0)/3|0;g=(c|0)>(i|0)?i:c;if((g|0)>0){i=0;c=f+16|0;while(1){e=f+13|0;Xf(a,e,3);_f(a,e,3);A[c|0]=D[f+13|0];A[c+1|0]=D[f+14|0];A[c+2|0]=D[f+15|0];c=c+3|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}ef(a,I(g,-3)+d|0);c=f+16|0;ya:{if(!a|!b){break ya}za:{if(D[b+25|0]==3){if((g|0)<=1<=0){break za}Af(a,14730);s()}if(g>>>0>256){break ya}}if(!(!(g?c:1)|!(g|A[a+680|0]&1))){Pk(a,b,4096,0);d=qm(a,768);C[a+404>>2]=d;if(g){jf(d,c,I(g,3))}C[b+16>>2]=d;B[a+408>>1]=g;B[b+20>>1]=g;C[b+244>>2]=C[b+244>>2]|4096;C[b+8>>2]=C[b+8>>2]|8;break ya}Af(a,16308);s()}if(!E[a+416>>1]){if(!b){break ua}c=C[b+8>>2];if(!(c&16)){break va}B[a+416>>1]=0;break wa}B[a+416>>1]=0;if(b){break wa}ff(a,9569);break ua}break a}Kg(a,16534);s()}B[b+22>>1]=0;ff(a,9569);c=C[b+8>>2]}if(c&64){ff(a,9550)}if(!(D[b+8|0]&32)){break ua}ff(a,9588)}Ce=f+784|0;break f}l=Ce+-64|0;Ce=l;Aa:{c=C[a+204>>2];if(c&1){Ba:{if(c&6){ef(a,d);ff(a,19111);break Ba}if((d|0)!=32){ef(a,d);ff(a,19763);break Ba}d=l+32|0;Xf(a,d,32);_f(a,d,32);if(ef(a,0)){break Ba}d=C[l+32>>2];d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);n=(d|0)<0;C[l+24>>2]=n?-1:d;d=C[l+36>>2];j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);i=(j|0)<0;C[l+28>>2]=i?-1:j;d=C[l+40>>2];k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l>>2]=(k|0)<0?-1:k;d=C[l+44>>2];g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+4>>2]=(g|0)<0?-1:g;d=C[l+48>>2];f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+8>>2]=(f|0)<0?-1:f;d=C[l+52>>2];e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+12>>2]=(e|0)<0?-1:e;d=C[l+56>>2];c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+16>>2]=(c|0)<0?-1:c;d=C[l+60>>2];d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+20>>2]=(d|0)<0?-1:d;Ca:{Da:{if(i|n|(k|g)<0){break Da}if((f|e|c)<0){break Da}if((d|0)>=0){break Ca}}ff(a,7555);break Ba}d=B[a+870>>1];if((d|0)<0){break Ba}if(d&16){B[a+870>>1]=d|32768;Oi(a,b);ff(a,16534);break Ba}B[a+870>>1]=d|16;u=a+796|0;x=0;H=0;d=Ce-48|0;Ce=d;c=Ce-32|0;Ce=c;z=C[l>>2];Ea:{if(z>>>0>1e5){t=1;break Ea}G=C[l+4>>2];if((G|0)<0){t=1;break Ea}if((G|0)>(1e5-z|0)){t=1;break Ea}e=C[l+8>>2];if(e>>>0>1e5){t=1;break Ea}p=C[l+12>>2];if((p|0)<0){t=1;break Ea}if((p|0)>(1e5-e|0)){t=1;break Ea}y=C[l+16>>2];if(y>>>0>1e5){t=1;break Ea}w=C[l+20>>2];if((w|0)<0){t=1;break Ea}if((1e5-y|0)<(w|0)){t=1;break Ea}i=C[l+24>>2];if(i>>>0>1e5){t=1;break Ea}j=C[l+28>>2];if((j|0)<5){t=1;break Ea}if((1e5-i|0)<(j|0)){t=1;break Ea}m=G-w|0;n=e-y|0;e=(e|0)==(y|0);g=0;Fa:{if(e){break Fa}g=0;if((w|0)==(G|0)){break Fa}t=2;h=O(+(n|0)*+(m|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}g=~~h;if(K(h)<2147483648){break Fa}g=-2147483648}o=z-y|0;k=p-w|0;r=(y|0)==(z|0);Ga:{if(r|(p|0)==(w|0)){break Ga}t=2;h=O(+(o|0)*+(k|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){x=~~h;break Ga}x=-2147483648}v=j-w|0;f=0;Ha:{if(e){break Ha}f=0;if((j|0)==(w|0)){break Ha}t=2;h=O(+(n|0)*+(v|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Ha}f=-2147483648}q=i-y|0;Ia:{if((p|0)==(w|0)|(i|0)==(y|0)){break Ia}t=2;h=O(+(k|0)*+(q|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){H=~~h;break Ia}H=-2147483648}if((f|0)==(H|0)){t=1;break Ea}p=g-x|0;n=(g|0)==(x|0);g=0;Ja:{if(n){break Ja}h=O(+(j|0)*+(p|0)/+(f-H|0)+.5);if(!(h<=2147483647)){t=1;break Ea}if(!(h>=-2147483648)){t=1;break Ea}g=~~h;if(K(h)<2147483648){break Ja}g=-2147483648}f=g;if((f|0)<=(j|0)){t=1;break Ea}x=0;e=0;Ka:{if((w|0)==(G|0)){break Ka}e=0;if((i|0)==(y|0)){break Ka}t=2;h=O(+(m|0)*+(q|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}e=~~h;if(K(h)<2147483648){break Ka}e=-2147483648}La:{if((j|0)==(w|0)|r){break La}t=2;h=O(+(o|0)*+(v|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){x=~~h;break La}x=-2147483648}if((e|0)==(x|0)){t=1;break Ea}g=0;Ma:{if(n){break Ma}h=O(+(j|0)*+(p|0)/+(e-x|0)+.5);if(!(h<=2147483647)){t=1;break Ea}if(!(h>=-2147483648)){t=1;break Ea}g=~~h;if(K(h)<2147483648){break Ma}g=-2147483648}t=1;e=g;if((e|0)<=(j|0)){break Ea}J=+(e|0);L=O(1e10/J+.5);g=L>=-2147483648;M=+(f|0);h=O(1e10/M+.5);k=h>=-2147483648;if(K(L)<2147483648){i=~~L}else{i=-2147483648}i=L<=2147483647?g?i:0:0;if(K(h)<2147483648){g=~~h}else{g=-2147483648}k=i+(h<=2147483647?k?g:0:0)|0;h=O(1e10/+(j|0)+.5);g=h>=-2147483648;i=!f;if(K(h)<2147483648){f=~~h}else{f=-2147483648}k=(h<=2147483647?g?f:0:0)-k|0;if(i|(k|0)<=0){break Ea}g=0;f=0;Na:{if(!z){break Na}h=O(+(z|0)*1e5/M+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Na}f=-2147483648}C[d+12>>2]=f;f=C[l+4>>2];Oa:{if(!f){break Oa}h=O(+(f|0)*1e5/M+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Oa}g=-2147483648}C[d+16>>2]=g;f=C[l+4>>2]+C[l>>2]|0;g=0;Pa:{if((f|0)==1e5){break Pa}h=O(+(1e5-f|0)*1e5/M+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}g=~~h;if(K(h)<2147483648){break Pa}g=-2147483648}C[d+20>>2]=g;if(!e){break Ea}g=0;e=C[l+8>>2];f=0;Qa:{if(!e){break Qa}h=O(+(e|0)*1e5/J+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Qa}f=-2147483648}C[d+24>>2]=f;e=C[l+12>>2];Ra:{if(!e){break Ra}h=O(+(e|0)*1e5/J+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Ra}g=-2147483648}C[d+28>>2]=g;g=0;e=C[l+12>>2]+C[l+8>>2]|0;f=0;Sa:{if((e|0)==1e5){break Sa}h=O(+(1e5-e|0)*1e5/J+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Sa}f=-2147483648}C[d+32>>2]=f;e=C[l+16>>2];Ta:{if(!e){break Ta}h=O(+(k|0)*+(e|0)/1e5+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Ta}g=-2147483648}C[d+36>>2]=g;g=0;e=C[l+20>>2];f=0;Ua:{if(!e){break Ua}h=O(+(k|0)*+(e|0)/1e5+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Ua}f=-2147483648}C[d+40>>2]=f;e=C[l+20>>2]+C[l+16>>2]|0;Va:{if((e|0)==1e5){break Va}h=O(+(k|0)*+(1e5-e|0)/1e5+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Va}g=-2147483648}C[d+44>>2]=g;g=0;p=1;e=C[d+12>>2];o=C[d+20>>2]+(e+C[d+16>>2]|0)|0;Wa:{if(!o){break Wa}f=0;Xa:{if(!e){break Xa}h=O(+(e|0)*1e5/+(o|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}f=~~h;if(K(h)<2147483648){break Xa}f=-2147483648}C[c>>2]=f;e=C[d+16>>2];Ya:{if(!e){break Ya}h=O(+(e|0)*1e5/+(o|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){g=~~h;break Ya}g=-2147483648}C[c+4>>2]=g;e=C[d+24>>2];v=C[d+32>>2]+(e+C[d+28>>2]|0)|0;if(!v){break Wa}n=C[d+16>>2];j=C[d+12>>2];m=0;g=0;Za:{if(!e){break Za}h=O(+(e|0)*1e5/+(v|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}g=~~h;if(K(h)<2147483648){break Za}g=-2147483648}C[c+8>>2]=g;e=C[d+28>>2];_a:{if(!e){break _a}h=O(+(e|0)*1e5/+(v|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){m=~~h;break _a}m=-2147483648}C[c+12>>2]=m;f=C[d+36>>2];q=C[d+44>>2]+(f+C[d+40>>2]|0)|0;if(!q){break Wa}k=C[d+28>>2];g=C[d+24>>2];e=0;i=0;$a:{if(!f){break $a}h=O(+(f|0)*1e5/+(q|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}i=~~h;if(K(h)<2147483648){break $a}i=-2147483648}C[c+16>>2]=i;f=C[d+40>>2];ab:{if(!f){break ab}h=O(+(f|0)*1e5/+(q|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){e=~~h;break ab}e=-2147483648}C[c+20>>2]=e;r=q+(o+v|0)|0;if(!r){break Wa}f=C[d+40>>2];m=0;e=C[d+36>>2]+(g+j|0)|0;g=0;bb:{if(!e){break bb}h=O(+(e|0)*1e5/+(r|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}g=~~h;if(K(h)<2147483648){break bb}g=-2147483648}C[c+24>>2]=g;e=f+(k+n|0)|0;cb:{if(!e){break cb}h=O(+(e|0)*1e5/+(r|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){m=~~h;break cb}m=-2147483648}C[c+28>>2]=m;p=0}if(p){break Ea}t=!rm(l,c,5)}Ce=c+32|0;db:{eb:{fb:{switch(t|0){case 0:e=B[u+74>>1];if((e|0)<0){break db}if(!(e&2)){break eb}if(!rm(l,u+4|0,100)){B[u+74>>1]=e|32768;Uo(a,7861);break db}break eb;case 1:B[u+74>>1]=E[u+74>>1]|32768;Uo(a,7928);break db;default:break fb}}B[u+74>>1]=E[u+74>>1]|32768;Af(a,7889);s()}c=C[l+4>>2];C[u+4>>2]=C[l>>2];C[u+8>>2]=c;c=C[l+28>>2];C[u+28>>2]=C[l+24>>2];C[u+32>>2]=c;c=C[l+20>>2];C[u+20>>2]=C[l+16>>2];C[u+24>>2]=c;c=C[l+12>>2];C[u+12>>2]=C[l+8>>2];C[u+16>>2]=c;c=C[d+16>>2];C[u+36>>2]=C[d+12>>2];C[u+40>>2]=c;c=C[d+24>>2];C[u+44>>2]=C[d+20>>2];C[u+48>>2]=c;c=C[d+32>>2];C[u+52>>2]=C[d+28>>2];C[u+56>>2]=c;c=C[d+40>>2];C[u+60>>2]=C[d+36>>2];C[u+64>>2]=c;C[u+68>>2]=C[d+44>>2];N=u,P=rm(l,351148,1e3)?e|66:e&65469|2,B[N+74>>1]=P}Ce=d+48|0;Oi(a,b)}Ce=l- -64|0;break Aa}break a}break f}f=Ce-16|0;Ce=f;gb:{c=C[a+204>>2];if(c&1){hb:{if(c&6){ef(a,d);ff(a,19111);break hb}if((d|0)!=4){ef(a,d);ff(a,19763);break hb}d=f+12|0;Xf(a,d,4);_f(a,d,4);if(ef(a,0)){break hb}ib:{jb:{d=D[f+12|0]|D[f+13|0]<<8|(D[f+14|0]<<16|D[f+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=(d|0)<0?-1:d;if(e-625000001>>>0<=3669967310){d=E[a+870>>1];i=18282;break jb}c=E[a+870>>1];d=c<<16>>16;if(D[a+205|0]&128){i=16534;if(c&8){break jb}}kb:{if((d|0)>=0){lb:{if(!(d&1)){break lb}c=C[a+796>>2];mb:{if(!c){break mb}h=O(+(c|0)*1e5/+(e|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break mb}if(K(h)<2147483648){c=~~h}else{c=-2147483648}if(c-95e3>>>0<10001){break lb}}if(d&32){break kb}xg(a,16491,0)}C[a+796>>2]=e;B[a+870>>1]=d|9}break ib}xg(a,28698,2);break ib}B[a+870>>1]=d|32768;xg(a,i,1)}Oi(a,b)}Ce=f+16|0;break gb}break a}break f}p=0;nb:{ob:{pb:{c=C[a+204>>2];if(c&1){if(c&4){ef(a,d);ff(a,19111);break nb}if(!(!b|!(D[b+9|0]&4))){ef(a,d);ff(a,16534);break nb}f=d+1|0;e=C[a+760>>2];qb:{if(e){if(f>>>0<=F[a+764>>2]){break qb}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=ih(a,f);if(!e){break pb}c=We(e,0,f);C[a+764>>2]=f;C[a+760>>2]=c}Xf(a,e,d);_f(a,e,d);if(!ef(a,0)){j=d+e|0;A[j|0]=0;d=e;while(1){c=d;d=d+1|0;if(D[c|0]){continue}break}if((j-c|0)<=12){ff(a,19763);break nb}d=A[d|0];f=d&255;if((d|0)<0){g=0-(I(D[c+2|0],2147418112)-(D[c+4|0]|(D[c+3|0]<<8|f<<24))&2147483647)|0}else{g=D[c+4|0]|(D[c+2|0]<<16|f<<24|D[c+3|0]<<8)}d=A[c+5|0];f=d&255;if((d|0)<0){f=0-(I(D[c+6|0],2147418112)-(D[c+8|0]|(D[c+7|0]<<8|f<<24))&2147483647)|0}else{f=D[c+8|0]|(D[c+6|0]<<16|f<<24|D[c+7|0]<<8)}n=D[c+9|0];q=D[c+10|0];if(!(!(!n&(q|0)!=2|(q|0)!=3&(n-1&255)>>>0<=1)&((q|0)==4|(n|0)!=3))){ff(a,3729);break nb}if(n>>>0>=4){ff(a,16811)}k=c+11|0;d=k;while(1){c=d;d=d+1|0;if(D[c|0]){continue}break}r=ch(a,q<<2);if(!r){break ob}d=g;if(q){while(1){c=c+1|0;C[r+(p<<2)>>2]=c;rb:{if(c>>>0<=j>>>0){while(1){if(!D[c|0]){break rb}c=c+1|0;if(j>>>0>=c>>>0){continue}break}}nf(a,r);ff(a,21984);break nb}p=p+1|0;if((q|0)!=(p|0)){continue}break}}i=0;sb:{if(!a|!b|(!e|!k)){break sb}if(!r&(q|0)!=0){break sb}c=af(e);if(n>>>0>=4){xg(a,16838,1);break sb}tb:{ub:{if(q>>>0<=255){if(!q){break tb}break ub}xg(a,3753,1);break sb}while(1){vb:{g=C[r+(i<<2)>>2];if(!g){break vb}if(!Xo(g,af(g))){break vb}i=i+1|0;if((q|0)!=(i|0)){continue}break tb}break}xg(a,9607,1);break sb}c=c+1|0;g=ch(a,c);C[b+220>>2]=g;if(!g){xg(a,16544,1);break sb}jf(g,e,c);A[b+241|0]=q;A[b+240|0]=n;C[b+228>>2]=f;C[b+224>>2]=d;d=af(k)+1|0;c=ch(a,d);C[b+232>>2]=c;if(!c){break sb}jf(c,k,d);d=(q<<2)+4|0;e=ch(a,d);C[b+236>>2]=e;if(!e){break sb}c=0;We(e,0,d);if(q){while(1){g=c<<2;f=g+r|0;e=af(C[f>>2])+1|0;d=ch(a,e);C[g+C[b+236>>2]>>2]=d;d=C[g+C[b+236>>2]>>2];if(!d){break sb}jf(d,C[f>>2],e);c=c+1|0;if((q|0)!=(c|0)){continue}break}}C[b+8>>2]=C[b+8>>2]|1024;C[b+244>>2]=C[b+244>>2]|128}nf(a,r)}break nb}break a}ef(a,d);ff(a,1263);break nb}ff(a,1263)}break f}j=Ce-16|0;Ce=j;wb:{xb:{c=C[a+204>>2];if(c&1){if(c&4){ef(a,d);ff(a,19111);break wb}if(!(!b|!(D[b+9|0]&64))){ef(a,d);ff(a,16534);break wb}if(d>>>0<=3){ef(a,d);ff(a,19763);break wb}f=d+1|0;e=C[a+760>>2];yb:{if(e){if(f>>>0<=F[a+764>>2]){break yb}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=ih(a,f);if(!e){break xb}c=We(e,0,f);C[a+764>>2]=f;C[a+760>>2]=c}Xf(a,e,d);_f(a,e,d);A[d+e|0]=0;if(ef(a,0)){break wb}if((D[e|0]-1&255)>>>0>=2){ff(a,4247);break wb}C[j+8>>2]=0;C[j+12>>2]=1;zb:{Ab:{if(!Yo(e,d,j+8|0,j+12|0)){break Ab}f=C[j+12>>2];if(f>>>0>=d>>>0){break Ab}c=f+1|0;C[j+12>>2]=c;if(!D[e+f|0]){break zb}}ff(a,4999);break wb}if((C[j+8>>2]&392)!=264){ff(a,14788);break wb}C[j+8>>2]=0;if(!(N=Yo(e,d,j+8|0,j+12|0),P=0,Q=C[j+12>>2]==(d|0),Q?N:P)){ff(a,4810);break wb}if((C[j+8>>2]&392)!=264){ff(a,4349);break wb}f=D[e|0];k=e+1|0;g=c+e|0;Bb:{if(!a|!b){break Bb}Cb:{Db:{if(f-3>>>0>4294967293){if(!k){break Db}d=af(k);if(!d|D[k|0]==45){break Db}if(!Xo(k,d)){break Db}if(!g){break Cb}e=af(g);if(!e|D[g|0]==45){break Cb}if(!Xo(g,e)){break Cb}A[b+264|0]=f;d=d+1|0;c=ch(a,d);C[b+268>>2]=c;if(!c){break Bb}jf(c,k,d);d=e+1|0;c=ch(a,d);C[b+272>>2]=c;if(!c){nf(a,C[b+268>>2]);C[b+268>>2]=0;break Bb}jf(c,g,d);C[b+8>>2]=C[b+8>>2]|16384;C[b+244>>2]=C[b+244>>2]|256;break Bb}Af(a,4260);s()}Af(a,14807);s()}Af(a,4369);s()}break wb}break a}ff(a,1263);ef(a,d)}Ce=j+16|0;break f}f=Ce-16|0;Ce=f;Eb:{c=C[a+204>>2];if(c&1){Fb:{if(c&6){ef(a,d);ff(a,19111);break Fb}if(!(!b|!(D[b+8|0]&2))){ef(a,d);ff(a,16534);break Fb}i=3;c=8;if(D[a+423|0]!=3){i=D[a+427|0];c=D[a+424|0]}if(!((d|0)==(i|0)&d>>>0<=4)){ff(a,19763);ef(a,d);break Fb}C[f+12>>2]=I(c,16843009);e=f+12|0;Xf(a,e,d);_f(a,e,d);if(ef(a,0)){break Fb}Gb:{if(!d){break Gb}Hb:{if((D[f+12|0]-1&255)>>>0>=c>>>0){break Hb}if((d|0)==1){break Gb}if((D[f+13|0]-1&255)>>>0>=c>>>0){break Hb}if((d|0)==2){break Gb}if((D[f+14|0]-1&255)>>>0>=c>>>0){break Hb}if((d|0)==3|(D[f+15|0]-1&255)>>>0>>0){break Gb}}ff(a,19763);break Fb}d=D[f+12|0];Ib:{if(D[a+423|0]&2){i=f+12|3;c=D[f+13|0];e=D[f+14|0];break Ib}i=f+12|1;A[a+511|0]=d;c=d;e=d}A[a+512|0]=D[i|0];A[a+510|0]=e;A[a+509|0]=c;A[a+508|0]=d;c=a+508|0;if(!(!c|(!a|!b))){d=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[b+148|0]=d;A[b+149|0]=d>>>8;A[b+150|0]=d>>>16;A[b+151|0]=d>>>24;A[b+152|0]=D[c+4|0];C[b+8>>2]=C[b+8>>2]|2}}Ce=f+16|0;break Eb}break a}break f}e=Ce-16|0;Ce=e;Jb:{c=C[a+204>>2];if(c&1){Kb:{if(c&6){ef(a,d);ff(a,19111);break Kb}if((d|0)!=1){ef(a,d);ff(a,19763);break Kb}d=e+15|0;Xf(a,d,1);_f(a,d,1);if(ef(a,0)){break Kb}d=B[a+870>>1];if((d|0)<0){break Kb}if(d&4){B[a+870>>1]=d|32768;Oi(a,b);ff(a,7832);break Kb}zv(a,a+796|0,D[e+15|0]);Oi(a,b)}Ce=e+16|0;break Jb}break a}break f}o=Ce-1280|0;Ce=o;C[o+1276>>2]=d;Lb:{Mb:{c=C[a+204>>2];if(c&1){if(c&6){ef(a,d);ff(a,19111);break Lb}if(d>>>0<=13){ef(a,d);ff(a,3664);break Lb}e=B[a+870>>1];if((e|0)<0){ef(a,d);break Lb}c=7832;Nb:{Ob:{if(e&4){break Ob}c=o+1184|0;g=d>>>0>=81?81:d;Xf(a,c,g);_f(a,c,g);d=d-g|0;C[o+1276>>2]=d;if(d>>>0<11){break Mb}d=g-1|0;f=d>>>0>=79?79:d;c=f+1|0;d=0;Pb:{while(1){if(!D[(o+1184|0)+d|0]){break Pb}e=(d|0)!=(f|0);d=d+1|0;if(e){continue}break}d=c}c=19609;if(d-1>>>0>78){break Ob}c=19668;p=d+1|0;if(p>>>0>=g>>>0|D[p+(o+1184|0)|0]){break Ob}c=a+796|0;Qb:{Rb:{Sb:{Tb:{Ub:{if(!Po(a,1766015824)){e=o+1040|0;We(e,0,132);C[o+12>>2]=132;d=d+2|0;C[a+224>>2]=g-d;C[a+220>>2]=d+(o+1184|0);Oo(a,o+16|0,o+1276|0,e,o+12|0,0);if(C[o+12>>2]){break Qb}d=c;e=o+1184|0;c=C[o+1040>>2];v=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Vb:{Wb:{if(v>>>0<=131){tg(a,d,e,v,3664);break Wb}c=C[a+732>>2];g=1;if(!c|c>>>0>=v>>>0){break Vb}tg(a,d,e,v,6170)}g=0}if(!g){break Ub}f=o+1184|0;e=D[a+423|0];g=o+1040|0;c=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Xb:{Yb:{if((c|0)!=(v|0)){tg(a,d,f,c,17260);break Yb}if(!(!(v&3)|D[g+8|0]<4)){tg(a,d,f,v,14753);break Yb}c=D[g+128|0]|D[g+129|0]<<8|(D[g+130|0]<<16|D[g+131|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(c>>>0<=357913930&v>>>0>=I(c,12)+132>>>0)){tg(a,d,f,c,18140);break Yb}c=D[g+64|0]|D[g+65|0]<<8|(D[g+66|0]<<16|D[g+67|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>=65535){tg(a,d,f,c,3927);break Yb}if(c>>>0>=4){tg(a,0,f,c,18307)}c=D[g+36|0]|D[g+37|0]<<8|(D[g+38|0]<<16|D[g+39|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1633907568){tg(a,d,f,c,16736);break Yb}if(Jg(g+68|0,351180,12)){tg(a,0,f,0,29838)}Zb:{_b:{c=D[g+16|0]|D[g+17|0]<<8|(D[g+18|0]<<16|D[g+19|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1196573017){if((c|0)!=1380401696){break _b}if(e&2){break Zb}tg(a,d,f,1380401696,26082);break Yb}if(!(e&2)){break Zb}tg(a,d,f,1196573017,26154);break Yb}tg(a,d,f,c,19041);break Yb}$b:{ac:{bc:{cc:{c=D[g+12|0]|D[g+13|0]<<8|(D[g+14|0]<<16|D[g+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);dc:{if((c|0)<=1852662635){if((c|0)==1633842036){break cc}if((c|0)==1818848875){break bc}if((c|0)!=1835955314){break dc}break $b}if((c|0)<=1935896177){if((c|0)==1852662636){break ac}if((c|0)!=1886549106){break dc}break $b}if((c|0)==1935896178|(c|0)==1936744803){break $b}}tg(a,0,f,c,6396);break $b}tg(a,d,f,1633842036,17322);break Yb}tg(a,d,f,1818848875,6356);break Yb}tg(a,0,f,1852662636,6316)}e=D[g+20|0]|D[g+21|0]<<8|(D[g+22|0]<<16|D[g+23|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);c=1;if((e|0)==1281450528|(e|0)==1482250784){break Xb}tg(a,d,f,e,15362)}c=0}if(!c){break Ub}j=D[o+1171|0];k=D[o+1170|0];g=D[o+1169|0];f=D[o+1168|0];c=C[a+760>>2];ec:{if(c){if(v>>>0<=F[a+764>>2]){break ec}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,c)}c=ih(a,v);if(c){e=We(c,0,v);C[a+764>>2]=v;C[a+760>>2]=e;break ec}c=0}if(!c){c=1263;break Sb}m=jf(c,o+1040|0,132);r=I(j|(g<<16|f<<24|k<<8),12);C[o+12>>2]=r;c=0;k=m+132|0;Oo(a,o+16|0,o+1276|0,k,o+12|0,0);if(C[o+12>>2]){break Tb}q=0;e=D[m+128|0]|D[m+129|0]<<8|(D[m+130|0]<<16|D[m+131|0]<<24);g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=1;fc:{if(!g){break fc}n=o+1184|0;i=m+132|0;while(1){e=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);gc:{f=D[i+7|0];e=f|(D[i+5|0]<<16|D[i+4|0]<<24|D[i+6|0]<<8);if(e>>>0<=v>>>0){l=v-e|0;e=D[i+8|0]|D[i+9|0]<<8|(D[i+10|0]<<16|D[i+11|0]<<24);if(l>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){break gc}}tg(a,d,n,j,17290);e=0;break fc}if(f&3){tg(a,0,n,j,29441)}i=i+12|0;q=q+1|0;if((g|0)!=(q|0)){continue}break}e=1}if(!e){break Sb}C[o+12>>2]=(v-r|0)-132;Oo(a,o+16|0,o+1276|0,k+r|0,o+12|0,1);c=C[o+1276>>2];if(!(!c|D[a+210|0]&16)){C[a+216>>2]=0;c=21997;break Ob}if(C[o+12>>2]){break Tb}ef(a,c);g=C[a+268>>2];i=0;hc:{ic:{if((C[a+612>>2]&48)!=48){c=D[m+84|0]|D[m+85|0]<<8|(D[m+86|0]<<16|D[m+87|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);q=65536;c=0;while(1){jc:{k=c<<5;if((e|0)!=C[k+351212>>2]){break jc}f=D[m+88|0]|D[m+89|0]<<8|(D[m+90|0]<<16|D[m+91|0]<<24);if(C[k+351216>>2]!=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))){break jc}f=D[m+92|0]|D[m+93|0]<<8|(D[m+94|0]<<16|D[m+95|0]<<24);if(C[k+351220>>2]!=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))){break jc}f=D[m+96|0]|D[m+97|0]<<8|(D[m+98|0]<<16|D[m+99|0]<<24);if(C[k+351224>>2]!=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))){break jc}if(!i){f=D[m+64|0]|D[m+65|0]<<8|(D[m+66|0]<<16|D[m+67|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=D[m|0]|D[m+1|0]<<8|(D[m+2|0]<<16|D[m+3|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}if(C[k+351208>>2]!=(i|0)|E[k+351230>>1]!=(q|0)){break jc}kc:{if(!g){g=_j(_j(0,0,0),m,i)}if((g|0)!=C[(c<<5)+351200>>2]){break kc}if(C[(c<<5)+351204>>2]!=(Wg(Wg(0,0,0),m,i)|0)){break kc}if(c>>>0>=5){xg(a,17360,2);break ic}if(c-4>>>0>2){break ic}xg(a,16693,0);break ic}xg(a,20319,0);break hc}c=c+1|0;if((c|0)!=7){continue}break}}break hc}c=d;d=D[m+64|0]|D[m+65|0]<<8|(D[m+66|0]<<16|D[m+67|0]<<24);zv(a,c,d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))}if(b){Pk(a,b,16,0);d=ih(a,p);C[b+116>>2]=d;if(!d){break Rb}jf(d,o+1184|0,p);C[b+120>>2]=m;C[b+124>>2]=v;C[a+760>>2]=0;C[b+244>>2]=C[b+244>>2]|16;C[b+8>>2]=C[b+8>>2]|4096;Oi(a,b)}C[a+216>>2]=0;break Lb}c=C[a+244>>2];break Ob}c=0;C[a+216>>2]=0;break Ob}c=C[a+244>>2]}C[a+216>>2]=0;break Ob}B[a+870>>1]=E[a+870>>1]|32768;Oi(a,b);C[a+216>>2]=0;c=1263;break Nb}C[a+216>>2]=0;c=C[a+244>>2]}ef(a,C[o+1276>>2])}B[a+870>>1]=E[a+870>>1]|32768;Oi(a,b);if(!c){break Lb}ff(a,c);break Lb}break a}ef(a,d);ff(a,3664)}Ce=o+1280|0;break f}e=Ce-16|0;Ce=e;lc:{c=C[a+204>>2];if(c&1){mc:{if(!(!b|!(D[b+9|0]&2))){ef(a,d);ff(a,16534);break mc}if(c&4){C[a+204>>2]=c|8}if((d|0)!=7){ef(a,d);ff(a,19763);break mc}d=e+9|0;Xf(a,d,7);_f(a,d,7);if(ef(a,0)){break mc}A[e+6|0]=D[e+15|0];d=D[e+11|0]|D[e+12|0]<<8|(D[e+13|0]<<16|D[e+14|0]<<24);B[e+2>>1]=d;B[e+4>>1]=d>>>16;d=D[e+9|0]|D[e+10|0]<<8;B[e>>1]=d<<8|d>>>8;nc:{if(!a|!b|(!e|D[a+205|0]&2)){break nc}if((D[e+2|0]-13&255)>>>0<244|(D[e+3|0]-32&255)>>>0<225|(D[e+4|0]>23|D[e+5|0]>59)){break nc}if(D[e+6|0]>60){break nc}d=E[e+4>>1]|E[e+6>>1]<<16;C[b+140>>2]=E[e>>1]|E[e+2>>1]<<16;C[b+144>>2]=d;C[b+8>>2]=C[b+8>>2]|512}}Ce=e+16|0;break lc}break a}break f}g=Ce-256|0;Ce=g;oc:{c=C[a+204>>2];if(c&1){pc:{if(c&4){ef(a,d);ff(a,19111);break pc}if(!(!b|!(D[b+8|0]&16))){ef(a,d);ff(a,16534);break pc}qc:{rc:{sc:{switch(D[a+423|0]){case 0:if((d|0)==2){Xf(a,g,2);_f(a,g,2);B[a+416>>1]=1;d=D[g|0]|D[g+1|0]<<8;B[a+532>>1]=d<<8|d>>>8;break qc}ef(a,d);ff(a,19763);break pc;case 2:if((d|0)==6){Xf(a,g,6);_f(a,g,6);B[a+416>>1]=1;d=D[g|0]|D[g+1|0]<<8;B[a+526>>1]=d<<8|d>>>8;d=D[g+2|0]|D[g+3|0]<<8;B[a+528>>1]=d<<8|d>>>8;d=D[g+4|0]|D[g+5|0]<<8;B[a+530>>1]=d<<8|d>>>8;break qc}ef(a,d);ff(a,19763);break pc;case 3:if(!(c&2)){ef(a,d);ff(a,19111);break pc}if(d>>>0<=256&E[a+408>>1]>d-1>>>0){break rc}ef(a,d);ff(a,19763);break pc;default:break sc}}ef(a,d);ff(a,13544);break pc}Xf(a,g,d);_f(a,g,d);B[a+416>>1]=d}if(ef(a,0)){B[a+416>>1]=0;break pc}f=E[a+416>>1];e=a+524|0;tc:{if(!a|!b){break tc}if(g){Pk(a,b,8192,0);uc:{if(f-1>>>0>=256){i=C[b+156>>2];break uc}i=Mi(a,256);C[b+156>>2]=i;jf(i,g,f)}C[a+520>>2]=i}vc:{if(e){c=E[e+4>>1]|E[e+6>>1]<<16;d=E[e>>1]|E[e+2>>1]<<16;B[b+160>>1]=d;B[b+162>>1]=d>>>16;B[b+164>>1]=c;B[b+166>>1]=c>>>16;B[b+168>>1]=E[e+8>>1];B[b+22>>1]=f>>>0<=1?1:f;break vc}B[b+22>>1]=f;if(!f){break tc}}C[b+8>>2]=C[b+8>>2]|16;C[b+244>>2]=C[b+244>>2]|8192}}Ce=g+256|0;break oc}break a}break f}n=Ce-32|0;Ce=n;wc:{xc:{yc:{zc:{c=C[a+728>>2];switch(c|0){case 0:break xc;case 1:break zc;default:break yc}}ef(a,d);break wc}c=c-1|0;C[a+728>>2]=c;if((c|0)!=1){break xc}ef(a,d);ff(a,18116);break wc}Ac:{c=C[a+204>>2];if(c&1){if(c&4){C[a+204>>2]=c|8}f=d+1|0;e=C[a+760>>2];Bc:{if(e){if(f>>>0<=F[a+764>>2]){break Bc}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=ih(a,f);if(!e){break Ac}c=We(e,0,f);C[a+764>>2]=f;C[a+760>>2]=c}Xf(a,e,d);_f(a,e,d);c=0;if(ef(a,0)){break wc}f=19609;Cc:{if(!d){break Cc}Dc:{while(1){if(!D[c+e|0]){break Dc}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}if(c-80>>>0<4294967217){break Cc}f=20406;if(c+5>>>0>d>>>0){break Cc}f=11790;Ec:{Fc:{g=c+e|0;j=D[g+1|0];switch(j|0){case 0:break Ec;case 1:break Fc;default:break Cc}}if(D[g+2|0]){break Cc}}k=c+3|0;c=k;Gc:{if(c>>>0>=d>>>0){break Gc}while(1){if(!D[c+e|0]){break Gc}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}g=c+1|0;c=g;Hc:{if(c>>>0>=d>>>0){break Hc}while(1){if(!D[c+e|0]){break Hc}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}c=c+1|0;Ic:{if(!(c>>>0>d>>>0|j)){C[n+28>>2]=d-c;break Ic}f=20406;if(!j|d>>>0<=c>>>0){break Cc}C[n+28>>2]=-1;if((ov(a,d,c,n+28|0)|0)==1){e=C[a+760>>2];break Ic}f=C[a+244>>2];if(f){break Cc}}A[(c+C[n+28>>2]|0)+e|0]=0;C[n+24>>2]=e+g;C[n+20>>2]=e+k;C[n+4>>2]=e;C[n>>2]=j?2:1;C[n+12>>2]=0;C[n+8>>2]=c+e;C[n+16>>2]=C[n+28>>2];f=1090;if(!Io(a,b,n)){break wc}}ff(a,f);break wc}break a}ef(a,d);ff(a,1263)}Ce=n+32|0;break f}Mo(a,b,d,0)}d=Qo(a);c=C[a+372>>2];if((c|0)!=1229209940){continue}break}}c=C[a+204>>2];if(!(c&1)){break c}if(!(c&2)&D[a+423|0]==3){break b}if(c&8){ff(a,19691);c=C[a+204>>2]}C[a+204>>2]=c|4;c=Av(a,1229209940);if(c){Mo(a,b,d,c);d=0}C[a+396>>2]=d}return}Kg(a,23756);s()}Kg(a,23781);s()}Kg(a,24757);s()}function WG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,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,F=0,G=0,H=0,J=0,K=0;f=Ce-160|0;Ce=f;C[f+156>>2]=c;u=C[c+92>>2];C[f+152>>2]=u;i=u;a:{b:{p=C[c+80>>2];if(p){b=u+I(p,20)|0;d=p;while(1){if(E[i+12>>1]&16|(!(D[i+16|0]&32)|D[i+18|0]!=6)){break b}i=i+20|0;m=m+1|0;d=d-1|0;if(d){continue}break}i=b}k=f+152|0;b=k;w=f+156|0;o=w;m=p;j=m;break a}b=f+152|0;o=f+156|0;j=m;while(1){h=d;w=f+156|0;k=f+152|0;e=j;if(D[i+18|0]!=14){break a}while(1){e=e+1|0;if(p>>>0<=e>>>0){break a}d=u+I(e,20)|0;c:{if(D[d+18|0]!=6){g=E[d+16>>1];break c}g=E[d+16>>1];if(!(g&32)){break c}if(!(E[d+12>>1]&16)){continue}}break}if(!(1<>1]&16)){continue}}break}if(d){continue}break}h=0}C[f+140>>2]=50869;C[f+132>>2]=o;C[f+136>>2]=b;C[f+128>>2]=50868;C[f+120>>2]=m;C[f+116>>2]=h;C[f+112>>2]=i;C[f+96>>2]=0;C[f+100>>2]=1;C[f+104>>2]=j;C[f+108>>2]=1;d:{if(h){n=j;g=i;o=h;while(1){e=o;e:{while(1){n=n+1|0;b=(e|0)!=0;o=e-b|0;g=I(b,20)+g|0;if(!((b|0)==(e|0)|D[g+18|0]!=6|!(D[g+16|0]&32))){e=o;if(!(E[g+12>>1]&16)){continue}}if(!o){break e}e=n;f:{if(D[g+18|0]!=14){break f}while(1){e=e+1|0;if(p>>>0<=e>>>0){break f}b=u+I(e,20)|0;g:{if(D[b+18|0]!=6){m=E[b+16>>1];break g}m=E[b+16>>1];if(!(m&32)){break g}if(!(E[b+12>>1]&16)){continue}}break}e=o;if(1<>1]&16)){continue}}if(!o){z=1;break i}e=n;j:{if(D[g+18|0]!=14){break j}while(1){e=e+1|0;if(p>>>0<=e>>>0){break j}b=u+I(e,20)|0;k:{if(D[b+18|0]!=6){m=E[b+16>>1];break k}m=E[b+16>>1];if(!(m&32)){break k}if(!(E[b+12>>1]&16)){continue}}break}e=o;if(1<>2];l=C[f+136>>2];C[f+88>>2]=l;C[f+92>>2]=F;r=C[f+132>>2];o=C[f+128>>2];C[f+80>>2]=o;C[f+84>>2]=r;u=C[f+124>>2];g=C[f+120>>2];C[f+72>>2]=g;C[f+76>>2]=u;m=C[f+116>>2];e=C[f+112>>2];b=f- -64|0;C[b>>2]=e;C[b+4>>2]=m;p=C[f+108>>2];d=C[f+104>>2];J=f+56|0;b=J;C[b>>2]=d;C[b+4>>2]=p;n=C[f+100>>2];b=C[f+96>>2];C[f+48>>2]=b;C[f+52>>2]=n;C[f+40>>2]=l;C[f+44>>2]=F;C[f+32>>2]=o;C[f+36>>2]=r;C[f+24>>2]=g;C[f+28>>2]=u;C[f+16>>2]=e;C[f+20>>2]=m;C[f+8>>2]=d;C[f+12>>2]=p;C[f>>2]=b;C[f+4>>2]=n;e=C[f+48>>2];l:{if(!C[f+68>>2]){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;if(!e){break l}C[f+48>>2]=I(1-C[f+52>>2]|0,e);break l}if(!e){break l}C[f+48>>2]=I(1-C[f+52>>2]|0,e);while(1){kg(J);if(!C[f+68>>2]){break l}e=e-1|0;if(e){continue}break}}t=f+8|0;e=C[f>>2];b=C[f+20>>2];m:{if(!b){b=0;C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;if(!e){break m}C[f>>2]=I(1-C[f+4>>2]|0,e);break m}if(!e){break m}C[f>>2]=I(1-C[f+4>>2]|0,e);while(1){kg(t);b=C[f+20>>2];if(!b){break m}e=e-1|0;if(e){continue}break}}if(!h){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(z){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}v=f+104|0;n=0;x=1;s=1;q=1;r=0;e=!H;while(1){n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(!e){C:{if(D[r+52816|0]!=2){break C}if(!h){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}e=C[f+48>>2];l=C[f+68>>2];if(!l){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>>0){y=n-e|0;if(!y){break C}C[f+48>>2]=e+I(C[f+52>>2],y);if(!l){break C}o=C[f- -64>>2];K=C[f+72>>2];F=C[f+60>>2];u=C[f+88>>2];p=C[f+84>>2];g=C[f+56>>2];while(1){y=y-1|0;d=l;while(1){g=g+F|0;C[f+56>>2]=g;e=(d|0)!=0;K=e+K|0;C[f+72>>2]=K;l=d-e|0;C[f+68>>2]=l;o=I(e,20)+o|0;C[f+64>>2]=o;if(!(!(D[o+16|0]&32)|((d|0)==(e|0)|D[o+18|0]!=6))){d=l;if(!(E[o+12>>1]&16)){continue}}if(!l){break C}D:{if(D[o+18|0]!=14){break D}d=C[C[p>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break D}G=C[u>>2]+I(e,20)|0;E:{if(D[G+18|0]!=6){m=E[G+16>>1];break E}m=E[G+16>>1];if(!(m&32)){break E}if(!(E[G+12>>1]&16)){continue}}break}d=l;if(1<>>0<=n>>>0){break C}d=e-n|0;if(!d){break C}C[f+48>>2]=e-I(C[f+52>>2],d);if(!l){break C}while(1){kg(J);if(!C[f+68>>2]){break C}d=d-1|0;if(d){continue}break}}p=r<<1;e=B[p+52336>>1]+51008|0;l=A[r+52464|0];o=D[p+50880|0];F:{G:{if(!h){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;g=D[417730];if(o>>>0>g>>>0){break F}if(D[p+50881|0]>=g>>>0){break G}break F}g=D[i+18|0];if(o>>>0>g>>>0|D[p+50881|0]>>0){break F}}l=g-o|0}d=A[e+l|0];break B}if(!h){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(z){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(!r){break A}n=H;d=B[(r<<1)+52688>>1]-1|0}r=A[d+52528|0];d=A[d+52608|0];if(!d){break n}H:{switch(d-3|0){case 1:break p;case 0:break q;case 5:break r;case 6:break s;case 3:break t;case 8:break u;case 7:break v;case 2:break w;case 11:break x;case 9:break y;case 10:break z;case 4:break H;default:break n}}I:{J:{if(!h){break J}while(1){j=j+x|0;b=(h|0)!=0;d=h-b|0;i=I(b,20)+i|0;if(!((b|0)==(h|0)|D[i+18|0]!=6|!(D[i+16|0]&32))){h=d;if(!(E[i+12>>1]&16)){continue}}if(!d){break J}if(D[i+18|0]!=14){break I}g=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(g>>>0<=e>>>0){break I}h=C[k>>2]+I(e,20)|0;K:{if(D[h+18|0]!=6){b=E[h+16>>1];break K}b=E[h+16>>1];if(!(b&32)){break K}if(!(E[h+12>>1]&16)){continue}}break}h=d;if(1<>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}b=n+s|0;L:{if(b>>>0>e>>>0){j=b-e|0;if(!j){b=d;break L}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break L}i=C[f+16>>2];h=C[f+24>>2];k=C[f+12>>2];n=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+k|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break L}M:{if(D[i+18|0]!=14){break M}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break M}p=C[n>>2]+I(e,20)|0;N:{if(D[p+18|0]!=6){l=E[p+16>>1];break N}l=E[p+16>>1];if(!(l&32)){break N}if(!(E[p+12>>1]&16)){continue}}break}d=b;if(1<>>0>=e>>>0){b=d;break L}k=e-b|0;if(!k){b=d;break L}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break L}while(1){kg(t);b=C[f+20>>2];if(!b){break L}k=k-1|0;if(k){continue}break}}e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|2;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}O:{P:{h=C[c+80>>2];if(h){g=h-1|0;e=0;d=C[c+92>>2];b=D[d+15|0];while(1){Q:{if((e|0)==(g|0)){e=h;break Q}e=e+1|0;if((b|0)==D[(d+I(e,20)|0)+15|0]){continue}}break}d=0;if(h){break P}}b=0;break O}b=h;while(1){g=e;if(e-d>>>0>=2){Sf(c,d,g);b=C[c+80>>2]}d=g+1|0;d=b>>>0>d>>>0?b:d;j=C[c+92>>2];o=D[(j+I(g,20)|0)+15|0];while(1){R:{e=e+1|0;if(e>>>0>=b>>>0){e=d;break R}if((o|0)==D[(j+I(e,20)|0)+15|0]){continue}}break}d=g;if(h>>>0>d>>>0){continue}break}}j=C[a+112>>2];l=C[j>>2];if(!(!l|!b)){g=b-1|0;d=0;n=C[c+92>>2];e=D[n+15|0];while(1){S:{if((d|0)==(g|0)){d=b;break S}d=d+1|0;if((e|0)==D[(n+I(d,20)|0)+15|0]){continue}}break}e=0;while(1){g=d;d=d-e|0;i=D[(n+I(e,20)|0)+18|0]==18?1:d>>>0>=3?3:d;o=i+e|0;T:{if(o>>>0<=e>>>0){break T}d=0;if(i){while(1){h=n+I(e,20)|0;C[h+4>>2]=l|C[h+4>>2];e=e+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(i-1>>>0<=2){break T}while(1){d=n+I(e,20)|0;C[d+4>>2]=l|C[d+4>>2];C[d+24>>2]=l|C[d+24>>2];C[d+44>>2]=l|C[d+44>>2];d=d- -64|0;C[d>>2]=l|C[d>>2];e=e+4|0;if((o|0)!=(e|0)){continue}break}}d=g+1|0;e=b>>>0>d>>>0?b:d;o=e-1|0;h=D[(n+I(g,20)|0)+15|0];d=g;while(1){U:{if((d|0)==(o|0)){d=e;break U}d=d+1|0;if((h|0)==D[(n+I(d,20)|0)+15|0]){continue}}break}e=g;if(e>>>0>>0){continue}break}}V:{if(C[j+4>>2]){break V}d=C[a+44>>2];if((d|0)<=0){break V}o=C[a+36>>2];j=C[a+48>>2];l=0;d=d-1|0;k=d;W:{while(1){e=k+l>>>1|0;a=C[j+I(e,36)>>2];X:{if(a>>>0<=1769172844){g=C[(j+I(e,36)|0)+28>>2];if((a|0)==1769172844){break W}l=e+1|0;break X}k=e-1|0}if((k|0)>=(l|0)){continue}break}g=0}a=g;l=0;e=(a|0)!=(o|0)?a:0;C[f+96>>2]=e;k=d;Y:{while(1){g=k+l>>>1|0;a=C[j+I(g,36)>>2];Z:{if(a>>>0<=1768843636){h=C[(j+I(g,36)|0)+28>>2];if((a|0)==1768843636){break Y}l=g+1|0;break Z}k=g-1|0}if((k|0)>=(l|0)){continue}break}h=0}a=h;l=0;a=(a|0)!=(o|0)?a:0;C[f+100>>2]=a;e=a|e;k=d;_:{while(1){g=k+l>>>1|0;a=C[j+I(g,36)>>2];$:{if(a>>>0<=1835361385){h=C[(j+I(g,36)|0)+28>>2];if((a|0)==1835361385){break _}l=g+1|0;break $}k=g-1|0}if((k|0)>=(l|0)){continue}break}h=0}a=h;k=0;a=(a|0)!=(o|0)?a:0;C[f+104>>2]=a;g=a|e;i=f;aa:{while(1){h=d+k>>>1|0;e=C[j+I(h,36)>>2];ba:{if(e>>>0<=1718185569){a=C[(j+I(h,36)|0)+28>>2];if((e|0)==1718185569){break aa}k=h+1|0;break ba}d=h-1|0}if((d|0)>=(k|0)){continue}break}a=0}d=a;a=(d|0)!=(o|0)?d:0;C[i+108>>2]=a;a=a|g;if(!a|!b){break V}j=a^-1;d=b-1|0;e=0;h=C[c+92>>2];m=D[h+15|0];a=m;while(1){ca:{if((d|0)==(e|0)){e=b;break ca}e=e+1|0;if((a|0)==D[(h+I(e,20)|0)+15|0]){continue}}break}i=0;l=0;g=4;while(1){a=i;i=e;c=m&15;da:{if(c>>>0>8){break da}if(!(1<>>0<=l>>>0){break ea}e=a+(l^-1)|0;g=C[(f+96|((g|0)==3?8:4))>>2];m=0;d=a-l&3;if(d){while(1){c=h+I(l,20)|0;C[c+4>>2]=g|j&C[c+4>>2];l=l+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}if(e>>>0<3){break ea}while(1){c=h+I(l,20)|0;C[c+4>>2]=g|j&C[c+4>>2];C[c+24>>2]=g|j&C[c+24>>2];C[c+44>>2]=g|j&C[c+44>>2];c=c- -64|0;C[c>>2]=g|j&C[c>>2];l=l+4|0;if((a|0)!=(l|0)){continue}break}}ga:{if(a>>>0>=i>>>0){break ga}g=C[(f+96|o<<2)>>2];m=0;e=a;d=i-e&3;if(d){while(1){c=h+I(e,20)|0;C[c+4>>2]=g|j&C[c+4>>2];e=e+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}if((a^-1)+i>>>0<3){break ga}while(1){c=h+I(e,20)|0;C[c+4>>2]=g|j&C[c+4>>2];C[c+24>>2]=g|j&C[c+24>>2];C[c+44>>2]=g|j&C[c+44>>2];c=c- -64|0;C[c>>2]=g|j&C[c>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}g=o}c=i+1|0;c=b>>>0>c>>>0?b:c;m=D[(h+I(i,20)|0)+15|0];e=i;while(1){ha:{e=e+1|0;if(e>>>0>=b>>>0){e=c;break ha}if(D[(h+I(e,20)|0)+15|0]==(m&255)){continue}}break}l=a;if(b>>>0>i>>>0){continue}break}}Ce=f+160|0;return}if(!h){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}e=C[f>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}ia:{if(e>>>0>>0){j=n-e|0;if(!j){break ia}C[f>>2]=e+I(C[f+4>>2],j);if(!b){break ia}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break ia}ja:{if(D[i+18|0]!=14){break ja}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break ja}m=C[k>>2]+I(e,20)|0;ka:{if(D[m+18|0]!=6){l=E[m+16>>1];break ka}l=E[m+16>>1];if(!(l&32)){break ka}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){break ia}d=e-n|0;if(!d){break ia}C[f>>2]=e-I(C[f+4>>2],d);if(!b){break ia}while(1){kg(t);b=C[f+20>>2];if(!b){break ia}d=d-1|0;if(d){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|8;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)!=16){break n}break o}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}e=C[f>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}la:{if(e>>>0>>0){j=n-e|0;if(!j){break la}C[f>>2]=e+I(C[f+4>>2],j);if(!b){break la}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){break la}ma:{if(D[i+18|0]!=14){break ma}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break ma}m=C[k>>2]+I(e,20)|0;na:{if(D[m+18|0]!=6){l=E[m+16>>1];break na}l=E[m+16>>1];if(!(l&32)){break na}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){break la}d=e-n|0;if(!d){break la}C[f>>2]=e-I(C[f+4>>2],d);if(!b){break la}while(1){kg(t);if(!C[f+20>>2]){break la}d=d-1|0;if(d){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}h=q<<4|7;while(1){g=C[f+8>>2];b=C[f+20>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}oa:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break oa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break oa}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break oa}pa:{if(D[i+18|0]!=14){break pa}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break pa}m=C[k>>2]+I(e,20)|0;qa:{if(D[m+18|0]!=6){l=E[m+16>>1];break qa}l=E[m+16>>1];if(!(l&32)){break qa}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break oa}k=e-n|0;if(!k){b=d;break oa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break oa}while(1){kg(t);b=C[f+20>>2];if(!b){break oa}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|6;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}ra:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break ra}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break ra}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break ra}sa:{if(D[i+18|0]!=14){break sa}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break sa}m=C[k>>2]+I(e,20)|0;ta:{if(D[m+18|0]!=6){l=E[m+16>>1];break ta}l=E[m+16>>1];if(!(l&32)){break ta}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break ra}k=e-n|0;if(!k){b=d;break ra}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break ra}while(1){kg(t);b=C[f+20>>2];if(!b){break ra}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|5;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}ua:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break ua}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break ua}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break ua}va:{if(D[i+18|0]!=14){break va}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break va}m=C[k>>2]+I(e,20)|0;wa:{if(D[m+18|0]!=6){l=E[m+16>>1];break wa}l=E[m+16>>1];if(!(l&32)){break wa}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break ua}k=e-n|0;if(!k){b=d;break ua}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break ua}while(1){kg(t);b=C[f+20>>2];if(!b){break ua}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|4;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}xa:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break xa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break xa}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break xa}ya:{if(D[i+18|0]!=14){break ya}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break ya}m=C[k>>2]+I(e,20)|0;za:{if(D[m+18|0]!=6){l=E[m+16>>1];break za}l=E[m+16>>1];if(!(l&32)){break za}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break xa}k=e-n|0;if(!k){b=d;break xa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break xa}while(1){kg(t);b=C[f+20>>2];if(!b){break xa}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|3;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}Aa:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break Aa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Aa}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Aa}Ba:{if(D[i+18|0]!=14){break Ba}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ba}m=C[k>>2]+I(e,20)|0;Ca:{if(D[m+18|0]!=6){l=E[m+16>>1];break Ca}l=E[m+16>>1];if(!(l&32)){break Ca}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break Aa}k=e-n|0;if(!k){b=d;break Aa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Aa}while(1){kg(t);b=C[f+20>>2];if(!b){break Aa}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|2;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}Da:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break Da}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Da}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Da}Ea:{if(D[i+18|0]!=14){break Ea}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ea}m=C[k>>2]+I(e,20)|0;Fa:{if(D[m+18|0]!=6){l=E[m+16>>1];break Fa}l=E[m+16>>1];if(!(l&32)){break Fa}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break Da}k=e-n|0;if(!k){b=d;break Da}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Da}while(1){kg(t);b=C[f+20>>2];if(!b){break Da}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|1;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}Ga:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break Ga}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Ga}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Ga}Ha:{if(D[i+18|0]!=14){break Ha}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ha}m=C[k>>2]+I(e,20)|0;Ia:{if(D[m+18|0]!=6){l=E[m+16>>1];break Ia}l=E[m+16>>1];if(!(l&32)){break Ia}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break Ga}k=e-n|0;if(!k){b=d;break Ga}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Ga}while(1){kg(t);b=C[f+20>>2];if(!b){break Ga}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;kg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}Ja:{Ka:{if(!h){break Ka}while(1){j=j+x|0;b=(h|0)!=0;d=h-b|0;i=I(b,20)+i|0;if(!((b|0)==(h|0)|D[i+18|0]!=6|!(D[i+16|0]&32))){h=d;if(!(E[i+12>>1]&16)){continue}}if(!d){break Ka}if(D[i+18|0]!=14){break Ja}g=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(g>>>0<=e>>>0){break Ja}h=C[k>>2]+I(e,20)|0;La:{if(D[h+18|0]!=6){b=E[h+16>>1];break La}b=E[h+16>>1];if(!(b&32)){break La}if(!(E[h+12>>1]&16)){continue}}break}h=d;if(1<>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}b=n+s|0;Ma:{if(b>>>0>e>>>0){j=b-e|0;if(!j){b=d;break Ma}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Ma}i=C[f+16>>2];h=C[f+24>>2];k=C[f+12>>2];n=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+k|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Ma}Na:{if(D[i+18|0]!=14){break Na}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Na}p=C[n>>2]+I(e,20)|0;Oa:{if(D[p+18|0]!=6){l=E[p+16>>1];break Oa}l=E[p+16>>1];if(!(l&32)){break Oa}if(!(E[p+12>>1]&16)){continue}}break}d=b;if(1<>>0>=e>>>0){b=d;break Ma}k=e-b|0;if(!k){b=d;break Ma}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Ma}while(1){kg(t);b=C[f+20>>2];if(!b){break Ma}k=k-1|0;if(k){continue}break}}e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|8;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}Pa:{Qa:{if(!h){break Qa}while(1){j=j+x|0;b=(h|0)!=0;d=h-b|0;i=I(b,20)+i|0;if(!((b|0)==(h|0)|D[i+18|0]!=6|!(D[i+16|0]&32))){h=d;if(!(E[i+12>>1]&16)){continue}}if(!d){break Qa}if(D[i+18|0]!=14){break Pa}g=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(g>>>0<=e>>>0){break Pa}h=C[k>>2]+I(e,20)|0;Ra:{if(D[h+18|0]!=6){b=E[h+16>>1];break Ra}b=E[h+16>>1];if(!(b&32)){break Ra}if(!(E[h+12>>1]&16)){continue}}break}h=d;if(1<>2];d=C[f+20>>2];if(!d){C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}b=n+s|0;Sa:{if(b>>>0>e>>>0){j=b-e|0;if(!j){b=d;break Sa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Sa}i=C[f+16>>2];h=C[f+24>>2];k=C[f+12>>2];n=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+k|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Sa}Ta:{if(D[i+18|0]!=14){break Ta}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ta}p=C[n>>2]+I(e,20)|0;Ua:{if(D[p+18|0]!=6){l=E[p+16>>1];break Ua}l=E[p+16>>1];if(!(l&32)){break Ua}if(!(E[p+12>>1]&16)){continue}}break}d=b;if(1<>>0>=e>>>0){b=d;break Sa}k=e-b|0;if(!k){b=d;break Sa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Sa}while(1){kg(t);b=C[f+20>>2];if(!b){break Sa}k=k-1|0;if(k){continue}break}}e=C[f+56>>2];if(!C[f+68>>2]){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}h=q<<4|7;while(1){g=C[f+8>>2];if(!b){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}q=1}Va:{if(D[r+52880|0]!=1){break Va}n=C[f+48>>2];g=C[f+68>>2];if(!g){C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;if(!n){break Va}C[f+48>>2]=I(1-C[f+52>>2]|0,n);break Va}if(!n){break Va}C[f+48>>2]=I(1-C[f+52>>2]|0,n);i=C[f- -64>>2];h=C[f+72>>2];p=C[f+60>>2];k=C[f+88>>2];o=C[f+84>>2];j=C[f+56>>2];while(1){n=n-1|0;while(1){j=j-p|0;C[f+56>>2]=j;d=(h|0)!=0;h=h-d|0;C[f+72>>2]=h;g=d+g|0;C[f+68>>2]=g;i=I(d,-20)+i|0;C[f+64>>2]=i;if(!g){break Va}Wa:{Xa:{switch(D[i+18|0]-6|0){case 0:if(!(D[i+16|0]&32)){break Wa}if(!(E[i+12>>1]&16)){continue}break Wa;case 8:break Xa;default:break Wa}}d=C[C[o>>2]+80>>2];e=j;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Wa}m=C[k>>2]+I(e,20)|0;Ya:{if(D[m+18|0]!=6){l=E[m+16>>1];break Ya}l=E[m+16>>1];if(!(l&32)){break Ya}if(!(E[m+12>>1]&16)){continue}}break}if(1<>2];n=s+C[f+96>>2]|0;C[f+96>>2]=n;i=C[f+112>>2];g=C[f+120>>2];d=C[f+116>>2];x=C[f+108>>2];j=C[f+104>>2];k=C[f+136>>2];w=C[f+132>>2];Za:{while(1){j=j+x|0;C[f+104>>2]=j;e=(d|0)!=0;g=e+g|0;C[f+120>>2]=g;h=d-e|0;C[f+116>>2]=h;i=I(e,20)+i|0;C[f+112>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=h;if(!(E[i+12>>1]&16)){continue}}if(h){if(D[i+18|0]!=14){break Za}d=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Za}o=C[k>>2]+I(e,20)|0;_a:{if(D[o+18|0]!=6){m=E[o+16>>1];break _a}m=E[o+16>>1];if(!(m&32)){break _a}if(!(E[o+12>>1]&16)){continue}}break}d=h;if(1<>>0<=6){C[o+76>>2]=0;C[o+68>>2]=0;C[o+72>>2]=0;a:{b:{c:{d:{e:{f:{switch(C[a+20>>2]-1|0){case 1:g=C[a+16>>2]+10|0;v=C[a>>2];if(g>>>0>>0){break d}p=v+C[a+4>>2]|0;if(p>>>0>>0){break d}q=p-g|0;if(q>>>0<4){break d}n=D[g|0]|D[g+1|0]<<8;r=n<<8|n>>>8;k=r&1?8:6;l=k+2|0;g:{if(r&8){break g}l=k+4|0;r=r&65535;if(r&64){break g}l=r&128?k+8|0:k}if(l>>>0>q>>>0){break d}i=1;if(n&8192){while(1){h:{g=g+l|0;if(v>>>0>g>>>0|g>>>0>p>>>0){break h}i=p-g|0;if(i>>>0<4){break h}k=D[g|0]|D[g+1|0]<<8;n=k<<8|k>>>8;q=n&1?8:6;l=q+2|0;i:{if(n&8){break i}l=q+4|0;n=n&65535;if(n&64){break i}l=n&128?q+8|0:q}if(i>>>0>>0){break h}t=t+1|0;if(k&8192){continue}}break}g=t+1|0;i=(g|0)>0?g:0;if(t>>>0>2147483646){break d}}while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=i>>>0){continue}break};j:{if(h>>>0<=268435454){g=kf(h<<4);if(g){break j}}C[o+68>>2]=-1;l=0;break a}C[o+68>>2]=h;C[o+76>>2]=g;t=0;q=We(g,0,i<<4);C[o+72>>2]=i;g=0;if(i-1>>>0>=3){k=i&2147483644;while(1){l=g<<4;p=l+q|0;C[p+4>>2]=0;C[p+8>>2]=0;A[p|0]=0;A[p+12|0]=0;p=q+(l|16)|0;C[p+4>>2]=0;C[p+8>>2]=0;A[p|0]=0;A[p+12|0]=0;p=q+(l|32)|0;C[p+4>>2]=0;C[p+8>>2]=0;A[p|0]=0;A[p+12|0]=0;l=q+(l|48)|0;C[l+4>>2]=0;C[l+8>>2]=0;A[l|0]=0;A[l+12|0]=0;g=g+4|0;N=N+4|0;if((k|0)!=(N|0)){continue}break}}p=i&3;if(!p){break e}while(1){l=q+(g<<4)|0;C[l+4>>2]=0;C[l+8>>2]=0;A[l|0]=0;A[l+12|0]=0;g=g+1|0;t=t+1|0;if((p|0)!=(t|0)){continue}break};break e;case 0:break f;default:break c}}C[o+20>>2]=C[a+16>>2];C[o+32>>2]=C[a+8>>2];g=C[a+4>>2];C[o+24>>2]=C[a>>2];C[o+28>>2]=g;h=C[o+24>>2];g=C[o+20>>2];i=D[g|0]|D[g+1|0]<<8;i=(i<<8|i>>>8)<<16>>16;k=g+10|0;v=((i<<1)+k|0)+2|0;k:{l:{if(h>>>0>v>>>0){break l}g=h+C[o+28>>2]|0;if(g>>>0>>0|g-v>>>0<2){break l}g=(k+(i<<1)|0)-2|0;g=D[g|0]|D[g+1|0]<<8;p=(g<<8|g>>>8)&65535;g=C[o+68>>2];m:{if((g|0)<0){break m}h=p+1|0;if(g>>>0<=p>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(h>>>0>=g>>>0){continue}break}n:{if(g>>>0<=268435454){n=lf(C[o+76>>2],g<<4);if(n){break n}}C[o+68>>2]=-1;break m}C[o+68>>2]=g;C[o+76>>2]=n}g=C[o+72>>2];if(g>>>0<=p>>>0){We(C[o+76>>2]+(g<<4)|0,0,h-g<<4)}C[o+72>>2]=h}n=C[o+72>>2];o:{if(!n){break o}g=C[o+76>>2];h=0;if(n>>>0>=4){N=n&-4;while(1){r=h<<4;j=r+g|0;C[j+4>>2]=0;C[j+8>>2]=0;A[j|0]=0;A[j+12|0]=0;j=g+(r|16)|0;C[j+4>>2]=0;C[j+8>>2]=0;A[j|0]=0;A[j+12|0]=0;j=g+(r|32)|0;C[j+4>>2]=0;C[j+8>>2]=0;A[j|0]=0;A[j+12|0]=0;r=g+(r|48)|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;h=h+4|0;q=q+4|0;if((N|0)!=(q|0)){continue}break}}n=n&3;if(!n){break o}while(1){q=g+(h<<4)|0;C[q+4>>2]=0;C[q+8>>2]=0;A[q|0]=0;A[q+12|0]=0;h=h+1|0;t=t+1|0;if((n|0)!=(t|0)){continue}break}}q=1;if(e){break l}if((i|0)>0){h=0;while(1){g=k+(h<<1)|0;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;p:{if(g>>>0>=F[o+72>>2]){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712;break p}g=C[o+76>>2]+(g<<4)|0}A[g+12|0]=1;h=h+1|0;if((i|0)!=(h|0)){continue}break}}g=k+(i<<1)|0;g=D[g|0]|D[g+1|0]<<8;g=v+((g<<8|g>>>8)&65535)|0;q=0;h=0;while(1){i=C[o+24>>2];if(i>>>0>g>>>0|i+C[o+28>>2]>>>0<=g>>>0){break l}t=D[g|0];i=g+1|0;q:{if(F[o+72>>2]<=h>>>0){k=C[21155];C[104430]=C[21154];C[104431]=k;k=C[21153];C[104428]=C[21152];C[104429]=k;k=417712;break q}k=C[o+76>>2]+(h<<4)|0}A[k|0]=t;if(t&8){k=C[o+24>>2];if(k>>>0>i>>>0|k+C[o+28>>2]>>>0<=i>>>0){break l}i=g+2|0;g=D[g+1|0];r:{if(!g){break r}while(1){h=h+1|0;if(p>>>0>>0){break r}g=g-1|0;s:{if(F[o+72>>2]<=h>>>0){k=C[21155];C[104430]=C[21154];C[104431]=k;k=C[21153];C[104428]=C[21152];C[104429]=k;k=417712;break s}k=C[o+76>>2]+(h<<4)|0}A[k|0]=t;if(g){continue}break}}}g=i;h=h+1|0;if(p>>>0>=h>>>0){continue}break}t=C[o+72>>2];i=1;if(!t){break k}h=0;while(1){p=C[o+76>>2]+(h<<4)|0;k=D[p|0];t:{if(k&2){i=C[o+24>>2];if(i>>>0>g>>>0|i+C[o+28>>2]>>>0<=g>>>0){break l}i=g+1|0;u=J(D[g|0]);if(k&16){s=J(s+u);g=i;break t}s=J(s-u);g=i;break t}if(k&16){break t}i=C[o+24>>2];if(i>>>0>g>>>0){break l}i=i+C[o+28>>2]|0;if(i>>>0>>0|i-g>>>0<2){break l}i=D[g|0]|D[g+1|0]<<8;s=J(s+J((i<<8|i>>>8)<<16>>16));g=g+2|0}if(h>>>0>=t>>>0){i=C[21155];C[104430]=C[21154];C[104431]=i;i=C[21153];C[104428]=C[21152];C[104429]=i;p=417712;t=C[o+72>>2]}G[p+4>>2]=s;h=h+1|0;if(t>>>0>h>>>0){continue}break}i=1;if(!t){break k}s=J(0);h=0;while(1){p=C[o+76>>2]+(h<<4)|0;k=D[p|0];u:{if(k&4){q=0;i=C[o+24>>2];if(i>>>0>g>>>0|i+C[o+28>>2]>>>0<=g>>>0){break l}i=g+1|0;u=J(D[g|0]);if(k&32){s=J(s+u);g=i;break u}s=J(s-u);g=i;break u}if(k&32){break u}q=0;i=C[o+24>>2];if(i>>>0>g>>>0){break l}i=i+C[o+28>>2]|0;if(i>>>0>>0|i-g>>>0<2){break l}i=D[g|0]|D[g+1|0]<<8;s=J(s+J((i<<8|i>>>8)<<16>>16));g=g+2|0}if(h>>>0>=t>>>0){i=C[21155];C[104430]=C[21154];C[104431]=i;i=C[21153];C[104428]=C[21152];C[104429]=i;p=417712;t=C[o+72>>2]}G[p+8>>2]=s;q=1;h=h+1|0;if(t>>>0>h>>>0){continue}break}}i=q}if(!i){break a}h=C[o+68>>2];i=C[o+72>>2]}l=0;if((h|0)<0){break a}g=i+4|0;g=(g|0)>0?g:0;break b}C[o+72>>2]=i}g=i+4|0;g=(g|0)>0?g:0}if(g>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(g>>>0>=h>>>0){continue}break}v:{if(h>>>0<=268435454){i=lf(C[o+76>>2],h<<4);if(i){break v}}C[o+68>>2]=-1;l=0;break a}C[o+68>>2]=h;C[o+76>>2]=i;i=C[o+72>>2]}if(g>>>0>i>>>0){We(C[o+76>>2]+(i<<4)|0,0,g-i<<4)}C[o+72>>2]=g;j=C[o+76>>2];r=g-4|0;q=j+(r<<4)|0;w:{x:{y:{z:{h=g-r|0;h=g>>>0>=h>>>0?h:0;H=h>>>0>=4?4:h;if(H){A[q|0]=0;C[q+4>>2]=0;C[q+8>>2]=0;A[q+12|0]=0;if((H|0)!=1){break z}}h=C[21155];C[104430]=C[21154];C[104431]=h;h=C[21153];C[104428]=C[21152];C[104429]=h;C[104429]=0;C[104430]=0;A[417712]=0;A[417724]=0;N=0;break y}A[q+16|0]=0;C[q+20>>2]=0;C[q+24>>2]=0;A[q+28|0]=0;da=1;N=0;if(H>>>0<3){break y}A[q+32|0]=0;C[q+36>>2]=0;C[q+40>>2]=0;A[q+44|0]=0;if((H|0)!=3){break x}N=1}h=C[21155];C[104430]=C[21154];C[104431]=h;h=C[21153];C[104428]=C[21152];C[104429]=h;h=417712;break w}ea=1;N=1;h=q+48|0}C[h+4>>2]=0;C[h+8>>2]=0;A[h|0]=0;A[h+12|0]=0;k=C[a+16>>2];i=C[a+12>>2];t=C[c+4>>2];v=C[t+4>>2];A:{B:{if(i>>>0>>0){h=C[t+12>>2];h=((i|0)<0?84608:C[(h?h:84608)+12>>2]+(i<<2)|0)+2|0;break B}if(F[t>>2]<=i>>>0){break A}h=C[t+12>>2];h=(i-v<<1)+((v|0)<0?84608:C[(h?h:84608)+12>>2]+(v<<2)|0)|0}h=D[h|0]|D[h+1|0]<<8;w=(h<<8|h>>>8)<<16>>16}h=D[k+8|0]|D[k+9|0]<<8;z=h>>>8|0;M=h<<8;p=C[c+8>>2];n=C[p+4>>2];C:{D:{if(n>>>0>i>>>0){h=C[p+12>>2];h=((i|0)<0?84608:C[(h?h:84608)+12>>2]+(i<<2)|0)+2|0;break D}l=0;if(F[p>>2]<=i>>>0){break C}h=C[p+12>>2];h=(i-n<<1)+((n|0)<0?84608:C[(h?h:84608)+12>>2]+(n<<2)|0)|0}h=D[h|0]|D[h+1|0]<<8;l=(h<<8|h>>>8)<<16>>16}z=z|M;M=C[t>>2];E:{if(M>>>0<=i>>>0){h=0;if(M){break E}h=C[t+8>>2];break E}h=C[t+12>>2];t=C[(h?h:84608)+12>>2];h=v-1|0;h=h>>>0>i>>>0?i:h;h=(h|0)<0?84608:t+(h<<2)|0;h=D[h|0]|D[h+1|0]<<8;h=(h<<8|h>>>8)&65535}t=h;v=z<<16>>16;z=C[p>>2];F:{if(z>>>0<=i>>>0){h=0;if(z){break F}h=C[p+8>>2];break F}h=C[p+12>>2];p=C[(h?h:84608)+12>>2];h=n-1|0;h=h>>>0>i>>>0?i:h;h=(h|0)<0?84608:p+(h<<2)|0;h=D[h|0]|D[h+1|0]<<8;h=(h<<8|h>>>8)&65535}l=l+v|0;G:{H:{I:{J:{K:{if(!H){break K}p=D[k+2|0]|D[k+3|0]<<8;w=((p<<8|p>>>8)<<16>>16)-w|0;G[(j+(r<<4)|0)+4>>2]=w|0;if((H|0)==1){break K}G[q+20>>2]=t+w>>>0;if(N){break J}N=0}s=J(l-h|0);break I}G[q+40>>2]=l|0;s=J(l-h|0);if((H|0)!=3){break H}N=1}h=C[21155];C[104430]=C[21154];C[104431]=h;h=C[21153];C[104428]=C[21152];C[104429]=h;i=C[a+12>>2];h=417712;break G}N=1;h=q+48|0}G[h+8>>2]=s;v=C[c>>2];l=0;C[o- -64>>2]=0;C[o+16>>2]=0;C[o+60>>2]=g;C[o+56>>2]=j;g=C[o+60>>2];C[o+8>>2]=C[o+56>>2];C[o+12>>2]=g;M=0;j=Ce-160|0;Ce=j;h=1;W=b;g=C[b+60>>2];L:{if(!g){break L}w=C[v>>2];b=w?w:84608;b=F[b+16>>2]<20?84608:C[b+12>>2];t=D[b+4|0]|D[b+5|0]<<8;if((g|0)!=((t<<8|t>>>8)&65535)){break L}g=D[b+12|0]|D[b+13|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<=i>>>0){break L}g=b+20|0;M:{if(A[b+15|0]&1){g=g+(i<<2)|0;h=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);g=D[g+4|0]|D[g+5|0]<<8|(D[g+6|0]<<16|D[g+7|0]<<24);t=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);break M}g=g+(i<<1)|0;h=D[g|0]|D[g+1|0]<<8;h=((h<<8|h>>>8)&65535)<<1;g=D[g+2|0]|D[g+3|0]<<8;t=((g<<8|g>>>8)&65535)<<1}i=0;p=C[w+16>>2];g=D[b+16|0]|D[b+17|0]<<8|(D[b+18|0]<<16|D[b+19|0]<<24);g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+h|0;k=p-g|0;p=k>>>0<=p>>>0?k:0;h=t-h|0;p=h>>>0>p>>>0?p:h;N:{if(p>>>0<4){p=0;g=84608;break N}i=g+C[w+12>>2]|0;g=i}if(!(D[g|0]|D[g+1|0]<<8)){h=1;break L}C[j+112>>2]=0;C[j+156>>2]=0;C[j+148>>2]=0;C[j+152>>2]=0;C[j+140>>2]=0;C[j+108>>2]=p;C[j+104>>2]=i;C[j+132>>2]=0;C[j+136>>2]=0;g=D[b+4|0]|D[b+5|0]<<8;C[j+32>>2]=0;b=C[j+108>>2];C[j+24>>2]=C[j+104>>2];C[j+28>>2]=b;h=1;n=j+148|0;p=Ce-16|0;Ce=p;w=C[j+24>>2];t=C[j+28>>2];b=j+116|0;C[b+24>>2]=C[j+32>>2];C[b+20>>2]=t;C[b+16>>2]=w;C[b+8>>2]=(g<<8|g>>>8)&65535;i=0;C[b+4>>2]=0;C[b+12>>2]=0;k=84608;w=t>>>0<4?84608:w;C[b>>2]=w;C[b+28>>2]=w+4;g=0;t=D[w|0]|D[w+1|0]<<8;O:{if(t&128){g=D[w+2|0]|D[w+3|0]<<8;if(g){k=w+((g<<8|g>>>8)&65535)|0}C[p+12>>2]=k;if(!Pu(p+12|0,n,b+16|0)){break O}C[b+12>>2]=C[p+12>>2]-k;g=C[b>>2];t=D[g|0]|D[g+1|0]<<8;g=C[b+4>>2]}if(g>>>0>=((t<<8|(t&65280)>>>8)&4095)>>>0){break O}w=C[b+16>>2];g=C[b+28>>2];if(w>>>0>g>>>0){break O}w=w+C[b+20>>2]|0;if(w>>>0>>0){break O}w=w-g|0;if(w>>>0<4){break O}i=C[b+8>>2];b=D[g+2|0]|D[g+3|0]<<8;b=(I(i,b>>>5&2|b>>>7&1)<<1)+4|0;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;i=w>>>0>=(b>>>0>g>>>0?b:g)>>>0&(b|0)!=0}Ce=p+16|0;if(i){g=C[o+12>>2];P:{if((g|0)<=0){p=0;break P}p=(g|0)>0?g:0;while(1){x=((x>>>1|0)+x|0)+8|0;if(x>>>0<=p>>>0){continue}break}h=0;Q:{if(x>>>0>268435454){break Q}b=kf(x<<4);if(!b){break Q}S=We(b,0,p<<4);if((g|0)<=0){break Q}w=C[o+8>>2];x=0;while(1){R:{if(g>>>0<=x>>>0){b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break R}b=w+(x<<4)|0}t=C[b+4>>2];i=(x<<4)+S|0;C[i>>2]=C[b>>2];C[i+4>>2]=t;t=C[b+12>>2];C[i+8>>2]=C[b+8>>2];C[i+12>>2]=t;x=x+1|0;if((x|0)!=(p|0)){continue}break}O=p}S:{if((g|0)<=0){break S}while(1){h=((h>>>1|0)+h|0)+8|0;if(p>>>0>=h>>>0){continue}break}x=0;if(h>>>0>268435454){p=0;break P}x=kf(h<<4);if(!x){break S}We(x,0,p<<4);break P}p=0;x=0}w=C[21152];T:{if(!g){t=0;break T}b=0;t=0;i=0;while(1){U:{if(!D[(C[o+8>>2]+(b<<4)|0)+12|0]){break U}V:{if((i|0)<0){break V}g=M+1|0;k=(g|0)>0?g:0;W:{if(k>>>0<=i>>>0){h=i;g=t;break W}while(1){i=((i>>>1|0)+i|0)+8|0;if(k>>>0>=i>>>0){continue}break}if(i>>>0>1073741822){i=-1;break V}g=i<<2;h=i;i=-1;g=lf(t,g);if(!g){break V}}if(k>>>0>M>>>0){We((M<<2)+g|0,0,k-M<<2)}C[104428]=w;i=((k<<2)+g|0)-4|0;if((i|0)!=417712){C[i>>2]=b}i=h;M=k;t=g;break U}C[104428]=w}b=b+1|0;if(b>>>0>2]){continue}break}}b=C[v>>2];b=b?b:84608;b=F[b+16>>2]<20?84608:C[b+12>>2];g=D[b+4|0]|D[b+5|0]<<8;i=(g<<8|g>>>8)&65535;g=D[b+6|0]|D[b+7|0]<<8;fa=I(i,(g<<8|g>>>8)&65535);g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);ga=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;ha=p&2147483644;Z=p&3;L=C[W+60>>2];_=C[W+64>>2];b=C[j+144>>2];while(1){X:{C[j+100>>2]=0;C[j+16>>2]=0;C[j+96>>2]=fa;C[j+92>>2]=ga;g=C[j+96>>2];C[j+8>>2]=C[j+92>>2];C[j+12>>2]=g;i=D[b+2|0]|D[b+3|0]<<8;k=i&128;Y:{Z:{if(k){r=b+4|0;g=I(L,i>>>5&2|i>>>7&1);g=g>>>0>>0?g:L;break Z}u=J(0);g=I(L,(i<<8|i>>>8)&4095);h=C[j+12>>2];if(g>>>0>=h>>>0){break Y}r=C[j+8>>2]+(g<<1)|0;g=h-g|0;g=g>>>0<=h>>>0?g:0;g=g>>>0>>0?g:L}_:{if(!(i&64)){u=J(1);if(!L){break _}h=0;while(1){b=g>>>0<=h>>>0?84608:(h<<1)+r|0;b=D[b|0]|D[b+1|0]<<8;$:{if(!b){break $}s=u;i=C[_+(h<<2)>>2];b=(b<<8|b>>>8)<<16>>16;if((i|0)==(b|0)){break $}u=J(0);if(!i|(i|0)<(b&b>>31)|(i|0)>(((b|0)>0?b:0)|0)){break _}u=J(s*J(J(i|0)/J(b|0)))}h=h+1|0;if((L|0)!=(h|0)){continue}break}break _}u=J(1);if(!L){break _}h=0;i=I(L,i>>>5&2|i>>>7&1);k=k?L:0;v=k+L|0;n=i-v|0;n=i>>>0>=n>>>0?n:0;P=n>>>0>>0?n:L;n=i-k|0;i=i>>>0>=n>>>0?n:0;U=i>>>0>>0?i:L;b=b+4|0;T=b+(k<<1)|0;V=b+(v<<1)|0;while(1){n=h<<1;b=g>>>0<=h>>>0?84608:n+r|0;k=D[b|0]|D[b+1|0]<<8;aa:{if(!k){break aa}s=u;b=C[_+(h<<2)>>2];i=(k<<8|k>>>8)<<16>>16;if((b|0)==(i|0)){break aa}v=h>>>0>=U>>>0?84608:n+T|0;z=D[v|0]|D[v+1|0]<<8;v=(z<<8|z>>>8)<<16>>16;if((v|0)>(i|0)){break aa}n=h>>>0>=P>>>0?84608:n+V|0;m=D[n|0]|D[n+1|0]<<8;n=(m<<8|m>>>8)<<16>>16;if((n|0)<(i|0)){break aa}if(!((n|0)<=0|(v|0)>=0)){break aa}u=J(0);if((b|0)<(v|0)|(b|0)>(n|0)){break _}if((b|0)<(i|0)){u=s;if((k|0)==(z|0)){break aa}u=J(s*J(J(b-v|0)/J(i-v|0)));break aa}u=s;if((k|0)==(m|0)){break aa}u=J(s*J(J(n-b|0)/J(n-i|0)))}h=h+1|0;if((L|0)!=(h|0)){continue}break}}}ba:{if(u==J(0)){break ba}b=C[j+116>>2];g=D[b+2|0]|D[b+3|0]<<8;if(g){b=b+((g<<8|g>>>8)&65535)|0}else{b=84608}b=b+C[j+128>>2]|0;C[j+88>>2]=b;ca:{da:{ea:{fa:{ga:{g=C[j+132>>2];ha:{if(g>>>0>b>>>0){break ha}g=g+C[j+136>>2]|0;if(g>>>0>>0){break ha}k=g-b|0;h=C[j+144>>2];g=D[h|0]|D[h+1|0]<<8;i=(g<<8|g>>>8)&65535;if(k>>>0>>0){break ha}g=0;C[j+84>>2]=0;C[j+80>>2]=i;C[j+76>>2]=b;C[j+72>>2]=0;C[j+64>>2]=0;C[j+68>>2]=0;z=0;i=0;ia:{if(D[h+2|0]&32){if(!Pu(j+88|0,j- -64|0,j+76|0)){break ia}z=C[j+72>>2];i=C[j+68>>2]}U=C[o+12>>2];b=C[j+152>>2];m=C[j+156>>2];C[j+60>>2]=0;C[j+52>>2]=0;C[j+56>>2]=0;v=i?i:b;k=v?v:U;h=(k|0)>0?k:0;n=(k|0)<=0;ja:{if(!n){while(1){g=((g>>>1|0)+g|0)+8|0;if(h>>>0>=g>>>0){continue}break}ka:{if(g>>>0<=1073741822){b=kf(g<<2);if(b){break ka}}C[j+52>>2]=-1;break ja}C[j+52>>2]=g;C[j+60>>2]=b;We(b,0,h<<2)}C[j+56>>2]=h}b=1;if(!Mu(j+88|0,j+52|0,j+76|0)){break ca}b=0;C[j+48>>2]=0;C[j+40>>2]=0;C[j+44>>2]=0;la:{if(!n){while(1){b=((b>>>1|0)+b|0)+8|0;if(h>>>0>=b>>>0){continue}break}ma:{if(b>>>0<=1073741822){g=kf(b<<2);if(g){break ma}}C[j+40>>2]=-1;break la}C[j+40>>2]=b;C[j+48>>2]=g;We(g,0,h<<2)}C[j+44>>2]=h}b=1;if(!Mu(j+88|0,j+40|0,j+76|0)){break da}if(!p){break ea}g=0;b=0;h=0;if(p>>>0>3){break ga}break fa}Re(C[j+72>>2])}h=0;break X}while(1){n=b<<4;r=n+x|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;r=(n|16)+x|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;r=(n|32)+x|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;n=(n|48)+x|0;C[n+4>>2]=0;C[n+8>>2]=0;A[n|0]=0;A[n+12|0]=0;b=b+4|0;h=h+4|0;if((ha|0)!=(h|0)){continue}break}}if(!Z){break ea}while(1){h=(b<<4)+x|0;C[h+4>>2]=0;C[h+8>>2]=0;A[h|0]=0;A[h+12|0]=0;b=b+1|0;g=g+1|0;if((Z|0)!=(g|0)){continue}break}}if(k){n=i?z:m;b=0;r=C[j+48>>2];z=C[j+44>>2];m=C[j+60>>2];P=C[j+56>>2];while(1){g=b;na:{if(!v){break na}if(b>>>0>=v>>>0){C[104428]=w;g=w;break na}g=C[n+(b<<2)>>2]}i=g>>>0

>>0;oa:{if(!i){h=C[21155];C[104430]=C[21154];C[104431]=h;h=C[21153];C[104428]=C[21152];C[104429]=h;h=417712;break oa}h=(g<<4)+x|0}A[h|0]=1;pa:{if(b>>>0>=P>>>0){C[104428]=w;h=w;break pa}h=C[m+(b<<2)>>2]}s=J(h|0);qa:{if(!i){h=C[21155];C[104430]=C[21154];C[104431]=h;h=C[21153];C[104428]=C[21152];C[104429]=h;h=417712;break qa}h=(g<<4)+x|0}G[h+4>>2]=J(s*u)+G[h+4>>2];ra:{if(b>>>0>=z>>>0){C[104428]=w;h=w;break ra}h=C[r+(b<<2)>>2]}s=J(h|0);sa:{if(!i){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712;break sa}g=(g<<4)+x|0}G[g+8>>2]=J(s*u)+G[g+8>>2];b=b+1|0;if((k|0)!=(b|0)){continue}break}}T=0;h=0;if(M){while(1){z=0;b=h;P=C[(T<<2)+t>>2];if(b>>>0<=P>>>0){while(1){ta:{if(b>>>0>=p>>>0){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712;break ta}g=(b<<4)+x|0}z=!D[g|0]+z|0;b=b+1|0;if(P>>>0>=b>>>0){continue}break}}b=h;if(z-1>>>0>>0){ua:while(1){i=b;b=b>>>0

>>0?b+1|0:h;V=i>>>0

>>0;va:{if(!V){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712;break va}g=(i<<4)+x|0}if(!D[g|0]){continue}wa:{if(b>>>0>=p>>>0){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712;break wa}g=(b<<4)+x|0}if(D[g|0]){continue}b=i;while(1){k=b>>>0

>>0;v=b+1|0;xa:{if(b>>>0>=p>>>0){b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;g=417712;break xa}g=(b<<4)+x|0}b=k?v:h;if(D[g|0]){continue}X=b>>>0

>>0;ya:{if(!X){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712;break ya}g=(b<<4)+x|0}if(!D[g|0]){continue}break}g=b<<4;k=g+x|0;r=i<<4;v=r+x|0;n=g+S|0;r=r+S|0;g=i;while(1){g=g>>>0

>>0?g+1|0:h;if((g|0)==(b|0)){continue ua}$=g>>>0>>0;za:{if(!$){m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712;break za}m=(g<<4)+S|0}B=G[m+4>>2];aa=i>>>0>>0;if(aa){m=r}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}s=G[m+4>>2];ba=b>>>0>>0;if(ba){m=n}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}y=G[m+4>>2];if(V){m=v}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}K=G[m+4>>2];if(X){m=k}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}E=G[m+4>>2];u=E==K?K:J(0);Aa:{if(s==y){break Aa}u=sy?K:E;if(B>=(s>=y?s:y)){break Aa}u=J(J(B-s)/J(y-s));u=J(J(J(J(1)-u)*K)+J(u*E))}ca=g>>>0

>>0;Ba:{if(!ca){m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712;break Ba}m=(g<<4)+x|0}G[m+4>>2]=u;Ca:{if(!$){m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712;break Ca}m=(g<<4)+S|0}B=G[m+8>>2];if(aa){m=r}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}s=G[m+8>>2];if(ba){m=n}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}y=G[m+8>>2];if(V){m=v}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}K=G[m+8>>2];if(X){m=k}else{m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712}E=G[m+8>>2];u=E==K?K:J(0);Da:{if(s==y){break Da}u=sy?K:E;if(B>=(s>=y?s:y)){break Da}u=J(J(B-s)/J(y-s));u=J(J(J(J(1)-u)*K)+J(u*E))}Ea:{if(!ca){m=C[21155];C[104430]=C[21154];C[104431]=m;m=C[21153];C[104428]=C[21152];C[104429]=m;m=417712;break Ea}m=(g<<4)+x|0}G[m+8>>2]=u;z=z-1|0;if(z){continue}break}break}}h=P+1|0;T=T+1|0;if((T|0)!=(M|0)){continue}break}}if(U){n=C[o+8>>2];b=0;while(1){g=b<<4;i=g+n|0;Fa:{if(b>>>0>=p>>>0){k=C[21155];g=C[21154];C[104430]=g;C[104431]=k;v=C[21153];h=C[21152];C[104428]=h;C[104429]=v;G[i+4>>2]=G[104429]+G[i+4>>2];C[104430]=g;C[104431]=k;C[104428]=h;C[104429]=v;g=417712;break Fa}g=g+x|0;G[i+4>>2]=G[g+4>>2]+G[i+4>>2]}G[i+8>>2]=G[g+8>>2]+G[i+8>>2];b=b+1|0;if((U|0)!=(b|0)){continue}break}}b=0}Re(C[j+48>>2])}Re(C[j+60>>2]);Re(C[j+72>>2]);if(!b){break ba}h=0;break X}b=C[j+144>>2];g=D[b|0]|D[b+1|0]<<8;C[j+128>>2]=C[j+128>>2]+((g<<8|g>>>8)&65535);h=1;g=D[b+2|0]|D[b+3|0]<<8;i=g>>>5&2|g>>>7&1;g=C[j+124>>2]<<1;b=(b+I(i,g)|0)+4|0;C[j+144>>2]=b;i=C[j+120>>2]+1|0;C[j+120>>2]=i;k=C[j+116>>2];k=D[k|0]|D[k+1|0]<<8;if(i>>>0>=((k<<8|k>>>8)&4095)>>>0){break X}i=C[j+132>>2];if(i>>>0>b>>>0){break X}i=i+C[j+136>>2]|0;if(i>>>0>>0){break X}i=i-b|0;if(i>>>0<4){break X}k=D[b+2|0]|D[b+3|0]<<8;g=I(g,k>>>5&2|k>>>7&1)+4|0;k=D[b|0]|D[b+1|0]<<8;k=(k<<8|k>>>8)&65535;if(i>>>0<(g>>>0>k>>>0?g:k)>>>0){break X}if(g){continue}}break}Re(t);Re(x);Re(S)}Re(C[j+156>>2])}Ce=j+160|0;if(!h){break a}Ga:{Ha:{switch(C[a+20>>2]-1|0){case 0:b=C[d+4>>2];e=C[o+72>>2];h=C[o+76>>2];a=C[d>>2];Ia:{if((a|0)<0){break Ia}g=b;c=e+g|0;c=(c|0)>0?c:0;if(c>>>0>a>>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(c>>>0>=a>>>0){continue}break}Ja:{if(a>>>0<=268435454){g=lf(C[d+8>>2],a<<4);if(g){break Ja}}C[d>>2]=-1;break Ia}C[d>>2]=a;C[d+8>>2]=g;g=C[d+4>>2]}if(c>>>0>g>>>0){We(C[d+8>>2]+(g<<4)|0,0,c-g<<4)}C[d+4>>2]=c}if(!e){break Ga}i=0;while(1){a=h+(i<<4)|0;c=b+i|0;Ka:{if(c>>>0>=F[d+4>>2]){c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break Ka}c=C[d+8>>2]+(c<<4)|0}g=C[a+4>>2];C[c>>2]=C[a>>2];C[c+4>>2]=g;g=C[a+12>>2];C[c+8>>2]=C[a+8>>2];C[c+12>>2]=g;i=i+1|0;if((e|0)!=(i|0)){continue}break};break Ga;case 1:b=C[a+16>>2]+10|0;j=C[a>>2];La:{if(b>>>0>>0){break La}v=j+C[a+4>>2]|0;if(v>>>0>>0){break La}a=v-b|0;if(a>>>0<4){break La}g=D[b|0]|D[b+1|0]<<8;h=g<<8|g>>>8;g=h&1?8:6;w=g+2|0;Ma:{if(h&8){break Ma}w=g+4|0;h=h&65535;if(h&64){break Ma}w=h&128?g+8|0:g}if(a>>>0>>0){break La}t=q+48|0;p=q+32|0;k=q+16|0;z=f+1|0;while(1){C[o+52>>2]=0;C[o+44>>2]=0;C[o+48>>2]=0;a=o+20|0;g=D[b+2|0]|D[b+3|0]<<8;xo(a,c,(g<<8|g>>>8)&65535);g=Tu(a,W,c,o+44|0,e,z);a=C[o+48>>2];M=g&a>>>0>3;if(M){if(D[b|0]&2){h=C[o+52>>2]+(a<<4)|0;a=h+-64|0;g=q;if(!H){g=C[21155];C[104430]=C[21154];C[104431]=g;g=C[21153];C[104428]=C[21152];C[104429]=g;g=417712}i=C[a+4>>2];C[g>>2]=C[a>>2];C[g+4>>2]=i;i=C[a+12>>2];C[g+8>>2]=C[a+8>>2];C[g+12>>2]=i;g=k;if(!da){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;g=417712}a=h-48|0;i=C[a+4>>2];C[g>>2]=C[a>>2];C[g+4>>2]=i;i=C[a+12>>2];C[g+8>>2]=C[a+8>>2];C[g+12>>2]=i;g=p;if(!N){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;g=417712}a=h-32|0;i=C[a+4>>2];C[g>>2]=C[a>>2];C[g+4>>2]=i;i=C[a+12>>2];C[g+8>>2]=C[a+8>>2];C[g+12>>2]=i;i=t;if(!ea){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;i=417712}a=h-16|0;g=C[a+4>>2];C[i>>2]=C[a>>2];C[i+4>>2]=g;g=C[a+12>>2];C[i+8>>2]=C[a+8>>2];C[i+12>>2]=g}y=J(0);K=J(0);i=D[b|0]|D[b+1|0]<<8;a=i<<8|i>>>8;g=a&65535;Na:{if(a&1){a=D[b+4|0]|D[b+5|0]<<8;h=(a<<8|a>>>8)<<16>>16;a=b+6|0;l=D[a|0]|D[a+1|0]<<8;r=(l<<8|l>>>8)<<16>>16;break Na}a=b+4|0;h=A[b+4|0];r=A[b+5|0]}n=i<<22>>31;l=r&n;h=h&n;Oa:{Pa:{if(g&8){a=D[a+2|0]|D[a+3|0]<<8;s=J(J((a<<8|a>>>8)<<16>>16)*J(6103515625e-14));u=s;break Pa}if(g&64){g=D[a+4|0]|D[a+5|0]<<8;s=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));a=D[a+2|0]|D[a+3|0]<<8;u=J(J((a<<8|a>>>8)<<16>>16)*J(6103515625e-14));break Pa}if(g&128){g=D[a+8|0]|D[a+9|0]<<8;s=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));g=D[a+6|0]|D[a+7|0]<<8;K=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));g=D[a+4|0]|D[a+5|0]<<8;y=J(J((g<<8|g>>>8)<<16>>16)*J(6103515625e-14));a=D[a+2|0]|D[a+3|0]<<8;u=J(J((a<<8|a>>>8)<<16>>16)*J(6103515625e-14));break Pa}if(!(h|l)){break Oa}s=J(1);u=J(1)}B=J(l|0);E=J(h|0);g=C[o+48>>2];if((i&24)==8){if(!g){break Oa}n=g&1;h=C[o+52>>2];r=g-1|0;Qa:{if(!r){a=0;break Qa}O=g&-2;a=0;i=0;while(1){m=a<<4;l=m+h|0;G[l+4>>2]=G[l+4>>2]+E;G[l+8>>2]=G[l+8>>2]+B;l=h+(m|16)|0;G[l+4>>2]=G[l+4>>2]+E;G[l+8>>2]=G[l+8>>2]+B;a=a+2|0;i=i+2|0;if((O|0)!=(i|0)){continue}break}}if(n){a=h+(a<<4)|0;G[a+4>>2]=G[a+4>>2]+E;G[a+8>>2]=G[a+8>>2]+B}l=g&1;Ra:{if(!r){a=0;break Ra}n=g&-2;a=0;i=0;while(1){r=a<<4;g=r+h|0;B=G[g+4>>2];E=G[g+8>>2];G[g+8>>2]=J(B*y)+J(s*E);G[g+4>>2]=J(B*u)+J(K*E);g=h+(r|16)|0;B=G[g+4>>2];E=G[g+8>>2];G[g+8>>2]=J(B*y)+J(s*E);G[g+4>>2]=J(B*u)+J(K*E);a=a+2|0;i=i+2|0;if((n|0)!=(i|0)){continue}break}}if(!l){break Oa}a=h+(a<<4)|0;B=G[a+4>>2];Q=s;s=G[a+8>>2];G[a+8>>2]=J(B*y)+J(Q*s);G[a+4>>2]=J(B*u)+J(K*s);break Oa}if(!g){break Oa}n=g&1;h=C[o+52>>2];r=g-1|0;Sa:{if(!r){a=0;break Sa}O=g&-2;a=0;i=0;while(1){m=a<<4;l=m+h|0;R=G[l+4>>2];Q=G[l+8>>2];G[l+8>>2]=J(R*y)+J(s*Q);G[l+4>>2]=J(R*u)+J(K*Q);l=h+(m|16)|0;R=G[l+4>>2];Q=G[l+8>>2];G[l+8>>2]=J(R*y)+J(s*Q);G[l+4>>2]=J(R*u)+J(K*Q);a=a+2|0;i=i+2|0;if((O|0)!=(i|0)){continue}break}}if(n){a=h+(a<<4)|0;R=G[a+4>>2];Q=s;s=G[a+8>>2];G[a+8>>2]=J(R*y)+J(Q*s);G[a+4>>2]=J(R*u)+J(K*s)}l=g&1;Ta:{if(!r){a=0;break Ta}n=g&-2;a=0;i=0;while(1){r=a<<4;g=r+h|0;G[g+4>>2]=G[g+4>>2]+E;G[g+8>>2]=G[g+8>>2]+B;g=h+(r|16)|0;G[g+4>>2]=G[g+4>>2]+E;G[g+8>>2]=G[g+8>>2]+B;a=a+2|0;i=i+2|0;if((n|0)!=(i|0)){continue}break}}if(!l){break Oa}a=h+(a<<4)|0;G[a+4>>2]=G[a+4>>2]+E;G[a+8>>2]=G[a+8>>2]+B}Ua:{if(F[o+72>>2]<=Y>>>0){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;g=417712;break Ua}g=C[o+76>>2]+(Y<<4)|0}i=C[o+48>>2];Va:{if(!i){break Va}a=0;l=C[o+52>>2];if((i|0)!=1){r=i&-2;h=0;while(1){O=a<<4;n=O+l|0;G[n+4>>2]=G[g+4>>2]+G[n+4>>2];G[n+8>>2]=G[g+8>>2]+G[n+8>>2];n=l+(O|16)|0;G[n+4>>2]=G[g+4>>2]+G[n+4>>2];G[n+8>>2]=G[g+8>>2]+G[n+8>>2];a=a+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}if(!(i&1)){break Va}a=l+(a<<4)|0;G[a+4>>2]=G[g+4>>2]+G[a+4>>2];G[a+8>>2]=G[g+8>>2]+G[a+8>>2]}a=D[b|0]|D[b+1|0]<<8;Wa:{if(a&512){h=C[d+4>>2];break Wa}Xa:{if(a&256){a=D[b+4|0]|D[b+5|0]<<8;g=(a<<8|a>>>8)&65535;a=D[b+6|0]|D[b+7|0]<<8;a=(a<<8|a>>>8)&65535;break Xa}g=D[b+4|0];a=D[b+5|0]}h=C[d+4>>2];if(h>>>0<=g>>>0){break Wa}n=C[o+48>>2];if(n>>>0<=a>>>0){break Wa}g=C[d+8>>2]+(g<<4)|0;r=a<<4;a=C[o+52>>2];l=r+a|0;u=J(G[g+8>>2]-G[l+8>>2]);s=J(G[g+4>>2]-G[l+4>>2]);g=0;if((n|0)!=1){O=n&-2;l=0;while(1){m=g<<4;r=m+a|0;G[r+4>>2]=s+G[r+4>>2];G[r+8>>2]=u+G[r+8>>2];r=a+(m|16)|0;G[r+4>>2]=s+G[r+4>>2];G[r+8>>2]=u+G[r+8>>2];g=g+2|0;l=l+2|0;if((O|0)!=(l|0)){continue}break}}if(!(n&1)){break Wa}a=a+(g<<4)|0;G[a+4>>2]=s+G[a+4>>2];G[a+8>>2]=u+G[a+8>>2]}a=i-4|0;l=a>>>0>i>>>0?i:a;n=C[o+52>>2];a=C[d>>2];Ya:{if((a|0)<0){break Ya}g=h;i=l+g|0;i=(i|0)>0?i:0;if(i>>>0>a>>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(i>>>0>=a>>>0){continue}break}Za:{if(a>>>0<=268435454){g=lf(C[d+8>>2],a<<4);if(g){break Za}}C[d>>2]=-1;break Ya}C[d>>2]=a;C[d+8>>2]=g;g=C[d+4>>2]}if(g>>>0>>0){We(C[d+8>>2]+(g<<4)|0,0,i-g<<4)}C[d+4>>2]=i}i=0;if(l){while(1){g=n+(i<<4)|0;a=h+i|0;_a:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break _a}a=C[d+8>>2]+(a<<4)|0}r=C[g+4>>2];C[a>>2]=C[g>>2];C[a+4>>2]=r;r=C[g+12>>2];C[a+8>>2]=C[g+8>>2];C[a+12>>2]=r;i=i+1|0;if((l|0)!=(i|0)){continue}break}}Y=Y+1|0}Re(C[o+52>>2]);if(!M){l=0;break a}if(!(D[b+1|0]&32)){break La}b=b+w|0;if(j>>>0>b>>>0|b>>>0>v>>>0){break La}a=v-b|0;if(a>>>0<4){break La}g=D[b|0]|D[b+1|0]<<8;h=g<<8|g>>>8;g=h&1?8:6;w=g+2|0;$a:{if(h&8){break $a}w=g+4|0;h=h&65535;if(h&64){break $a}w=h&128?g+8|0:g}if(a>>>0>=w>>>0){continue}break}}b=C[d+4>>2];l=C[d>>2];ab:{if((l|0)<0){break ab}a=b;c=a+H|0;c=(c|0)>0?c:0;if(c>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}bb:{if(l>>>0<=268435454){a=lf(C[d+8>>2],l<<4);if(a){break bb}}C[d>>2]=-1;break ab}C[d>>2]=l;C[d+8>>2]=a;a=C[d+4>>2]}if(a>>>0>>0){We(C[d+8>>2]+(a<<4)|0,0,c-a<<4)}C[d+4>>2]=c}if(!H){break Ga}cb:{if(b>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break cb}a=C[d+8>>2]+(b<<4)|0}c=C[q+4>>2];C[a>>2]=C[q>>2];C[a+4>>2]=c;c=C[q+12>>2];C[a+8>>2]=C[q+8>>2];C[a+12>>2]=c;if((H|0)==1){break Ga}a=b+1|0;db:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break db}a=C[d+8>>2]+(a<<4)|0}c=C[q+20>>2];C[a>>2]=C[q+16>>2];C[a+4>>2]=c;c=C[q+28>>2];C[a+8>>2]=C[q+24>>2];C[a+12>>2]=c;if((H|0)==2){break Ga}a=b+2|0;eb:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break eb}a=C[d+8>>2]+(a<<4)|0}c=C[q+36>>2];C[a>>2]=C[q+32>>2];C[a+4>>2]=c;c=C[q+44>>2];C[a+8>>2]=C[q+40>>2];C[a+12>>2]=c;if((H|0)==3){break Ga}a=b+3|0;fb:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break fb}a=C[d+8>>2]+(a<<4)|0}b=C[q+52>>2];C[a>>2]=C[q+48>>2];C[a+4>>2]=b;b=C[q+60>>2];C[a+8>>2]=C[q+56>>2];C[a+12>>2]=b;break Ga;default:break Ha}}b=C[d+4>>2];l=C[d>>2];gb:{if((l|0)<0){break gb}a=b;c=a+H|0;c=(c|0)>0?c:0;if(c>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}hb:{if(l>>>0<=268435454){a=lf(C[d+8>>2],l<<4);if(a){break hb}}C[d>>2]=-1;break gb}C[d>>2]=l;C[d+8>>2]=a;a=C[d+4>>2]}if(a>>>0>>0){We(C[d+8>>2]+(a<<4)|0,0,c-a<<4)}C[d+4>>2]=c}if(!H){break Ga}ib:{if(b>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break ib}a=C[d+8>>2]+(b<<4)|0}c=C[q+4>>2];C[a>>2]=C[q>>2];C[a+4>>2]=c;c=C[q+12>>2];C[a+8>>2]=C[q+8>>2];C[a+12>>2]=c;if((H|0)==1){break Ga}a=b+1|0;jb:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break jb}a=C[d+8>>2]+(a<<4)|0}c=C[q+20>>2];C[a>>2]=C[q+16>>2];C[a+4>>2]=c;c=C[q+28>>2];C[a+8>>2]=C[q+24>>2];C[a+12>>2]=c;if((H|0)==2){break Ga}a=b+2|0;kb:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break kb}a=C[d+8>>2]+(a<<4)|0}c=C[q+36>>2];C[a>>2]=C[q+32>>2];C[a+4>>2]=c;c=C[q+44>>2];C[a+8>>2]=C[q+40>>2];C[a+12>>2]=c;if((H|0)==3){break Ga}a=b+3|0;lb:{if(a>>>0>=F[d+4>>2]){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712;break lb}a=C[d+8>>2]+(a<<4)|0}b=C[q+52>>2];C[a>>2]=C[q+48>>2];C[a+4>>2]=b;b=C[q+60>>2];C[a+8>>2]=C[q+56>>2];C[a+12>>2]=b}l=1;if(f){break a}if(!H){a=C[21155];C[104430]=C[21154];C[104431]=a;a=C[21153];C[104428]=C[21152];C[104429]=a;q=417712}u=G[q+4>>2];if(u==J(0)){break a}b=C[d+4>>2];if(!b){break a}c=C[d+8>>2];i=0;if((b|0)!=1){e=b&-2;a=0;while(1){f=i<<4;d=f+c|0;G[d+4>>2]=G[d+4>>2]-u;G[d+8>>2]=G[d+8>>2]+J(0);d=c+(f|16)|0;G[d+4>>2]=G[d+4>>2]-u;G[d+8>>2]=G[d+8>>2]+J(0);i=i+2|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}}if(!(b&1)){break a}a=c+(i<<4)|0;G[a+4>>2]=G[a+4>>2]-u;G[a+8>>2]=G[a+8>>2]+J(0)}Re(C[o+76>>2])}Ce=o+80|0;return l}function Pm(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;i=Ce-15792|0;Ce=i;C[i+15784>>2]=g;C[i+15788>>2]=f;v=C[a+132>>2];j=C[C[v+736>>2]+532>>2];E=C[a+48>>2];x=C[a>>2];f=i+15700|0;C[f>>2]=0;C[f+4>>2]=0;f=i+15708|0;C[f>>2]=0;C[f+4>>2]=0;C[i+15772>>2]=0;C[i+15776>>2]=0;C[i+15764>>2]=10;C[i+15768>>2]=0;C[i+15756>>2]=20;C[i+15760>>2]=0;z=a+4|0;C[i+15752>>2]=z;C[i+15748>>2]=x;C[i+15740>>2]=0;C[i+15744>>2]=0;C[i+15732>>2]=10;C[i+15736>>2]=0;C[i+15724>>2]=20;C[i+15728>>2]=0;C[i+15720>>2]=z;C[i+15716>>2]=x;C[i+15692>>2]=0;C[i+15696>>2]=0;C[i+15688>>2]=z;p(i+15528|0,0,160);C[i+15532>>2]=10;C[i+15524>>2]=8;C[i+15520>>2]=z;C[i+15516>>2]=x;C[i+3908>>2]=c;C[i+3904>>2]=a;p(i+11660|0,0,3856);f=D[a+140|0];C[i+11664>>2]=E;A[i+11661|0]=f;H=i+15516|0;C[i+11656>>2]=H;I=i+11648|0;C[i+11652>>2]=I;C[i+11648>>2]=a;p(i+7792|0,0,3856);C[i+7796>>2]=E;A[i+7793|0]=f;C[i+7788>>2]=H;C[i+7784>>2]=I;C[i+7780>>2]=a;p(i+3924|0,0,3856);C[i+3928>>2]=E;A[i+3925|0]=f;C[i+3920>>2]=H;C[i+3916>>2]=I;C[i+3912>>2]=a;C[i+15548>>2]=C[a+36>>2];f=C[a+44>>2];C[i+15556>>2]=E;C[i+15552>>2]=f;f=C[d+4>>2];l=C[d>>2];C[i+15588>>2]=a+196;C[i+15584>>2]=g;C[i+15560>>2]=l;C[i+15564>>2]=f;C[i+15580>>2]=i+15688;C[i+15576>>2]=i+15716;C[i+15572>>2]=i+15748;A[i+15570|0]=D[a+141|0];g=C[a+184>>2];C[i+15592>>2]=g;f=C[a+188>>2];C[i+15604>>2]=6554;C[i+15596>>2]=f;A[i+15569|0]=0;A[i+15783|0]=0;K=1;A[i+15571|0]=1;l=g;g=g>>31;g=(l^g)-g|0;l=f;f=f>>31;f=(l^f)-f|0;C[i+15600>>2]=(f>>>0>>0?g:f)<<1;C[h>>2]=C[C[v+736>>2]+528>>2]<<16;C[i+36>>2]=0;k=Wk(x,396,i+36|0);a:{b:{c:{d:{e:{if(!C[i+36>>2]){C[k+4>>2]=z;C[k>>2]=x;C[k+392>>2]=k+8;K=!k;break e}if(!k){break d}K=0}C[i+36>>2]=0;w=Ve(x,1,0,272,0,i+36|0);f:{if(!C[i+36>>2]){M=17;break f}if(C[a+4>>2]){break f}C[a+4>>2]=64}f=C[b+4>>2];C[w>>2]=C[b>>2];C[w+4>>2]=f;f=C[b+12>>2];C[w+8>>2]=C[b+8>>2];C[w+12>>2]=f;if(C[a+4>>2]){break a}J=j<<16;r=k+8|0;q=k+392|0;N=i+48|0;L=2e7;s=w;while(1){b=C[s+12>>2];j=C[s+8>>2];g:{if(b>>>0>=j>>>0){o=y?11:14;break g}f=b+1|0;C[s+12>>2]=f;o=D[b|0];b=f}if(C[a+4>>2]){break a}L=L-1|0;if(!L){b=18;break b}h:{i:{j:{k:{switch(o|0){case 1:case 18:if(D[i+15692|0]){break i}hq(a,k,i+15748|0,h,i+15783|0);if(!D[C[a+132>>2]+561|0]){break i}b=0;break c;case 3:case 23:if(D[i+15692|0]){break i}hq(a,k,i+15716|0,h,i+15783|0);if(!D[C[a+132>>2]+561|0]){break i}b=0;break c;case 4:f=C[q>>2];if(!(D[i+15783|0]|f-r>>>0<16)){l:{m:{switch(C[k+12>>2]-1|0){case 1:b=C[r>>2]<<16;break l;case 0:b=C[r>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break l}b=b- -8192>>>14|0;break l;default:break m}}b=C[r>>2]}C[h>>2]=b+J}A[i+15783|0]=1;if(D[C[a+132>>2]+561|0]){b=0;break c}n:{if((f|0)==(r|0)){b=0;f=C[k+4>>2];if(!f|C[f>>2]){break n}C[f>>2]=161;break n}b=f-8|0;C[q>>2]=b;o:{switch(C[b+4>>2]-1|0){case 1:b=C[b>>2]<<16;break n;case 0:b=C[b>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break n}b=b- -8192>>>14|0;break n;default:break o}}b=C[b>>2]}b=C[i+15784>>2]+b|0;C[i+15784>>2]=b;dl(i+3904|0,C[i+15788>>2],b);C[q>>2]=r;continue;case 5:f=C[i+15784>>2];j=C[i+15788>>2];b=C[q>>2];if((b|0)!=(r|0)){o=b-r>>3;b=0;while(1){l=C[q>>2]-r>>3;p:{if(l>>>0<=b>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break p}C[g>>2]=130;break p}q:{r:{s:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break r;case 1:break s;default:break q}}n=C[g+8>>2]<<16;break p}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break p}n=g- -8192>>>14|0;break p}n=C[g+8>>2]}j=j+n|0;g=b|1;t:{if(g>>>0>=l>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break t}C[g>>2]=130;break t}u:{v:{w:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break v;case 1:break w;default:break u}}l=C[g+8>>2]<<16;break t}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break t}l=g- -8192>>>14|0;break t}l=C[g+8>>2]}f=f+l|0;kk(i+3904|0,j,f);b=b+2|0;if(o>>>0>b>>>0){continue}break}}C[i+15784>>2]=f;C[i+15788>>2]=j;C[q>>2]=r;continue;case 6:case 7:l=C[i+15784>>2];n=C[i+15788>>2];b=C[q>>2];if((b|0)!=(r|0)){b=b-r>>3;m=b>>>0<=1?1:b;j=(o|0)==6;b=0;while(1){x:{if(C[q>>2]-r>>3>>>0<=b>>>0){f=0;g=C[k+4>>2];if(!g|C[g>>2]){break x}C[g>>2]=130;break x}y:{z:{A:{f=(b<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break z;case 1:break A;default:break y}}f=C[f+8>>2]<<16;break x}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break x}f=f- -8192>>>14|0;break x}f=C[f+8>>2]}g=j&255;n=(g?f:0)+n|0;l=(g?0:f)+l|0;kk(i+3904|0,n,l);j=j^1;b=b+1|0;if((m|0)!=(b|0)){continue}break}}C[i+15784>>2]=l;C[i+15788>>2]=n;C[q>>2]=r;continue;case 8:case 24:l=0;t=C[i+15784>>2];f=C[i+15788>>2];b=C[q>>2]-r|0;if(b>>>0>=48){G=b>>3;j=6;while(1){b=l;l=j;j=C[q>>2]-r>>3;B:{if(j>>>0<=b>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break B}C[g>>2]=130;break B}C:{D:{E:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break D;case 1:break E;default:break C}}n=C[g+8>>2]<<16;break B}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break B}n=g- -8192>>>14|0;break B}n=C[g+8>>2]}g=b|1;F:{if(g>>>0>=j>>>0){g=0;m=C[k+4>>2];if(!m|C[m>>2]){break F}C[m>>2]=130;break F}G:{H:{I:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=C[g+8>>2]<<16;break F}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break F}g=g- -8192>>>14|0;break F}g=C[g+8>>2]}m=b+2|0;J:{if(m>>>0>=j>>>0){m=0;u=C[k+4>>2];if(!u|C[u>>2]){break J}C[u>>2]=130;break J}K:{L:{M:{m=(m<<3)+k|0;switch(C[m+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}m=C[m+8>>2]<<16;break J}m=C[m+8>>2];if((m|0)<0){m=0-(8192-m>>14)|0;break J}m=m- -8192>>>14|0;break J}m=C[m+8>>2]}n=f+n|0;f=b+3|0;N:{if(f>>>0>=j>>>0){f=0;u=C[k+4>>2];if(!u|C[u>>2]){break N}C[u>>2]=130;break N}O:{P:{Q:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}f=C[f+8>>2]<<16;break N}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break N}f=f- -8192>>>14|0;break N}f=C[f+8>>2]}u=g+t|0;m=n+m|0;g=b+4|0;R:{if(g>>>0>=j>>>0){t=0;g=C[k+4>>2];if(!g|C[g>>2]){break R}C[g>>2]=130;break R}S:{T:{U:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 1:break U;case 0:break T;default:break S}}t=C[g+8>>2]<<16;break R}g=C[g+8>>2];if((g|0)<0){t=0-(8192-g>>14)|0;break R}t=g- -8192>>>14|0;break R}t=C[g+8>>2]}g=f+u|0;f=m+t|0;b=b+5|0;V:{if(b>>>0>=j>>>0){b=0;j=C[k+4>>2];if(!j|C[j>>2]){break V}C[j>>2]=130;break V}W:{X:{Y:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}b=C[b+8>>2]<<16;break V}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break V}b=b- -8192>>>14|0;break V}b=C[b+8>>2]}t=b+g|0;vj(i+3904|0,n,u,m,g,f,t);j=l+6|0;if(G>>>0>=j>>>0){continue}break}}C[i+15784>>2]=t;C[i+15788>>2]=f;if((o|0)==24){g=C[q>>2]-r>>3;Z:{if(g>>>0<=l>>>0){j=0;b=C[k+4>>2];if(!b|C[b>>2]){break Z}C[b>>2]=130;break Z}_:{$:{aa:{b=(l<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}j=C[b+8>>2]<<16;break Z}b=C[b+8>>2];if((b|0)<0){j=0-(8192-b>>14)|0;break Z}j=b- -8192>>>14|0;break Z}j=C[b+8>>2]}j=f+j|0;C[i+15788>>2]=j;b=l|1;ba:{if(b>>>0>=g>>>0){b=0;f=C[k+4>>2];if(!f|C[f>>2]){break ba}C[f>>2]=130;break ba}ca:{da:{ea:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break da;case 1:break ea;default:break ca}}b=C[b+8>>2]<<16;break ba}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break ba}b=b- -8192>>>14|0;break ba}b=C[b+8>>2]}b=b+t|0;C[i+15784>>2]=b;kk(i+3904|0,j,b)}C[q>>2]=r;continue;case 10:case 29:b=18;if((y|0)>16){break c}y=y+1|0;f=y;if(f>>>0>=M>>>0){C[a+4>>2]=130;f=0}s=(f<<4)+w|0;f=C[q>>2];fa:{if((f|0)==(r|0)){j=0;f=C[k+4>>2];if(!f|C[f>>2]){break fa}C[f>>2]=161;break fa}if(C[f-4>>2]!=2){j=0;f=C[k+4>>2];if(!f|C[f>>2]){break fa}C[f>>2]=160;break fa}f=f-8|0;C[q>>2]=f;j=C[f>>2]}C[s>>2]=0;C[s+4>>2]=0;C[s+8>>2]=0;C[s+12>>2]=0;if((o|0)==29){f=C[v+708>>2]+j|0;if(f>>>0>=F[v+700>>2]){break c}b=C[v+716>>2]+(f<<2)|0;f=C[b>>2];C[s+4>>2]=f;C[s+12>>2]=f;C[s+8>>2]=C[b+4>>2];continue}f=C[v+704>>2]+j|0;if(f>>>0>=F[v+696>>2]){break c}b=C[v+712>>2]+(f<<2)|0;f=C[b>>2];C[s+4>>2]=f;C[s+12>>2]=f;C[s+8>>2]=C[b+4>>2];continue;case 11:if((y|0)<=0){b=18;break c}y=y-1|0;b=y;if(b>>>0>=M>>>0){C[a+4>>2]=130;b=0}s=(b<<4)+w|0;continue;case 12:if(b>>>0>=j>>>0){b=C[s>>2];if(!b|C[b>>2]){break i}C[b>>2]=85;C[q>>2]=r;continue}C[s+12>>2]=b+1;ga:{switch(D[b|0]-34|0){case 0:Om(k,i+15788|0,i+15784|0,i+3904|0,207960,0);continue;case 2:Om(k,i+15788|0,i+15784|0,i+3904|0,207984,0);continue;case 3:break ga;case 1:break j;default:break i}}Om(k,i+15788|0,i+15784|0,i+3904|0,207996,1);continue;case 14:b=C[q>>2]-r|0;ha:{ia:{if((b|0)!=8){if((b|0)!=40){break ha}if(!D[i+15783|0]){break ia}break ha}if(D[i+15783|0]){break ha}}b=0;ja:{if(!((C[k+392>>2]-k|0)-8>>3)){f=C[k+4>>2];if(!f|C[f>>2]){break ja}C[f>>2]=130;break ja}ka:{switch(C[k+12>>2]-1|0){case 1:b=C[k+8>>2]<<16;break ja;case 0:b=C[k+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break ja}b=b- -8192>>>14|0;break ja;default:break ka}}b=C[k+8>>2]}C[h>>2]=b+J}b=0;if(D[C[a+132>>2]+561|0]){break c}g=Ce-16|0;Ce=g;f=i+3904|0;if(D[f+11664|0]){A[f+11665|0]=1;kk(f,C[f+11736>>2],C[f+11740>>2]);if(D[f+11744|0]){h=C[f+11716>>2];C[g+8>>2]=C[f+11712>>2];C[g+12>>2]=h;Nm(f,f+8|0,f+11704|0,g+8|0,1)}A[f+11744|0]=0;B[f+11664>>1]=0;A[f+11667|0]=1}Ce=g+16|0;if(C[q>>2]-r>>>0<9){break c}b=18;if(e){break c}b=sy(k);e=sy(k);f=py(k);g=py(k);b=oy(v,b,i+36|0);if(b){break c}b=i+36|0;Pm(a,b,c,d,1,g,f,i+8|0);ny(v,b);b=oy(v,e,b);if(b){break c}b=0;e=i+36|0;Pm(a,e,c,d,1,0,0,i+8|0);ny(v,e);break c;case 19:case 20:if(D[i+15692|0]?C[q>>2]-r>>>0>=16:0){break i}hq(a,k,i+15716|0,h,i+15783|0);if(D[C[a+132>>2]+561|0]){b=0;break c}if((o|0)==19){f=C[i+15736>>2]+C[i+15768>>2]|0;if(f>>>0>=97){b=C[i+15688>>2];if(!b|C[b>>2]){break i}C[b>>2]=18;C[q>>2]=r;continue}C[i+15696>>2]=f;B[i+15692>>1]=257;C[i+15700>>2]=f+7>>>3;b=0;if(!f){break i}while(1){f=C[s+12>>2];la:{if(f>>>0>2]){C[s+12>>2]=f+1;j=D[f|0];break la}j=0;f=C[s>>2];if(!f|C[f>>2]){break la}C[f>>2]=85}A[(b+i|0)+15704|0]=j;b=b+1|0;if(b>>>0>2]){continue}break}break i}p(N,0,3856);b=D[a+140|0];C[i+52>>2]=E;A[i+49|0]=b;C[i+44>>2]=H;C[i+40>>2]=I;C[i+36>>2]=a;C[i+28>>2]=0;C[i+32>>2]=0;C[i+20>>2]=0;C[i+24>>2]=0;C[i+12>>2]=0;C[i+16>>2]=0;C[i+8>>2]=z;f=C[i+15736>>2]+C[i+15768>>2]|0;ma:{if(f>>>0>=97){if(C[a+4>>2]){break ma}C[a+4>>2]=18;break ma}C[i+16>>2]=f;B[i+12>>1]=257;C[i+20>>2]=f+7>>>3;b=0;if(!f){break ma}while(1){f=C[s+12>>2];na:{if(f>>>0>2]){C[s+12>>2]=f+1;j=D[f|0];break na}j=0;f=C[s>>2];if(!f|C[f>>2]){break na}C[f>>2]=85}A[(b+i|0)+24|0]=j;b=b+1|0;if(b>>>0>2]){continue}break}}cl(i+36|0,i+15748|0,i+15716|0,i+8|0,0,0);C[q>>2]=r;continue;case 21:g=C[q>>2];if(!(D[i+15783|0]|g-r>>>0<24)){oa:{pa:{switch(C[k+12>>2]-1|0){case 1:b=C[r>>2]<<16;break oa;case 0:b=C[r>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break oa}b=b- -8192>>>14|0;break oa;default:break pa}}b=C[r>>2]}C[h>>2]=b+J}A[i+15783|0]=1;if(D[C[a+132>>2]+561|0]){b=0;break c}qa:{ra:{sa:{if((g|0)==(r|0)){b=C[k+4>>2];if(!(!b|C[b>>2])){C[b>>2]=161}f=C[i+15784>>2];break sa}b=g-8|0;C[q>>2]=b;ta:{ua:{switch(C[b+4>>2]-1|0){case 0:f=C[b>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break ta}f=f- -8192>>>14|0;break ta;default:f=C[b>>2];break ta;case 1:break ua}}f=C[b>>2]<<16}f=f+C[i+15784>>2]|0;C[i+15784>>2]=f;if((b|0)!=(r|0)){break ra}}b=0;g=C[k+4>>2];if(!g|C[g>>2]){break qa}C[g>>2]=161;break qa}b=g-16|0;C[q>>2]=b;va:{switch(C[b+4>>2]-1|0){case 1:b=C[b>>2]<<16;break qa;case 0:b=C[b>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break qa}b=b- -8192>>>14|0;break qa;default:break va}}b=C[b>>2]}b=C[i+15788>>2]+b|0;C[i+15788>>2]=b;dl(i+3904|0,b,f);C[q>>2]=r;continue;case 22:f=C[q>>2];if(!(D[i+15783|0]|f-r>>>0<16)){wa:{xa:{switch(C[k+12>>2]-1|0){case 1:b=C[r>>2]<<16;break wa;case 0:b=C[r>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break wa}b=b- -8192>>>14|0;break wa;default:break xa}}b=C[r>>2]}C[h>>2]=b+J}A[i+15783|0]=1;if(D[C[a+132>>2]+561|0]){b=0;break c}ya:{if((f|0)==(r|0)){b=0;f=C[k+4>>2];if(!f|C[f>>2]){break ya}C[f>>2]=161;break ya}b=f-8|0;C[q>>2]=b;za:{switch(C[b+4>>2]-1|0){case 1:b=C[b>>2]<<16;break ya;case 0:b=C[b>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break ya}b=b- -8192>>>14|0;break ya;default:break za}}b=C[b>>2]}b=C[i+15788>>2]+b|0;C[i+15788>>2]=b;dl(i+3904|0,b,C[i+15784>>2]);C[q>>2]=r;continue;case 25:f=C[q>>2]-r|0;o=f>>3;b=0;l=C[i+15784>>2];j=C[i+15788>>2];if(f>>>0<=48){break h}while(1){f=b;n=C[q>>2]-r>>3;Aa:{if(n>>>0<=b>>>0){b=0;g=C[k+4>>2];if(!g|C[g>>2]){break Aa}C[g>>2]=130;break Aa}Ba:{Ca:{Da:{b=(f<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}b=C[b+8>>2]<<16;break Aa}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break Aa}b=b- -8192>>>14|0;break Aa}b=C[b+8>>2]}j=b+j|0;b=f|1;Ea:{if(b>>>0>=n>>>0){b=0;g=C[k+4>>2];if(!g|C[g>>2]){break Ea}C[g>>2]=130;break Ea}Fa:{Ga:{Ha:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}b=C[b+8>>2]<<16;break Ea}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break Ea}b=b- -8192>>>14|0;break Ea}b=C[b+8>>2]}l=b+l|0;kk(i+3904|0,j,l);b=f+2|0;if(o>>>0>f+8>>>0){continue}break};break h;case 26:m=C[i+15784>>2];f=C[i+15788>>2];o=C[q>>2]-r>>3;t=o&-3;b=o&2;if(t>>>0>b>>>0){while(1){j=C[q>>2]-r>>3;if(o-b&1){Ia:{if(b>>>0>=j>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break Ia}C[g>>2]=130;break Ia}Ja:{Ka:{La:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}l=C[g+8>>2]<<16;break Ia}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break Ia}l=g- -8192>>>14|0;break Ia}l=C[g+8>>2]}b=b+1|0;f=f+l|0}g=f;Ma:{if(b>>>0>=j>>>0){f=0;l=C[k+4>>2];if(!l|C[l>>2]){break Ma}C[l>>2]=130;break Ma}Na:{Oa:{Pa:{f=(b<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}f=C[f+8>>2]<<16;break Ma}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break Ma}f=f- -8192>>>14|0;break Ma}f=C[f+8>>2]}l=b+1|0;Qa:{if(l>>>0>=j>>>0){n=0;l=C[k+4>>2];if(!l|C[l>>2]){break Qa}C[l>>2]=130;break Qa}Ra:{Sa:{Ta:{l=(l<<3)+k|0;switch(C[l+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}n=C[l+8>>2]<<16;break Qa}l=C[l+8>>2];if((l|0)<0){n=0-(8192-l>>14)|0;break Qa}n=l- -8192>>>14|0;break Qa}n=C[l+8>>2]}l=f+m|0;f=b+2|0;Ua:{if(f>>>0>=j>>>0){m=0;f=C[k+4>>2];if(!f|C[f>>2]){break Ua}C[f>>2]=130;break Ua}Va:{Wa:{Xa:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}m=C[f+8>>2]<<16;break Ua}f=C[f+8>>2];if((f|0)<0){m=0-(8192-f>>14)|0;break Ua}m=f- -8192>>>14|0;break Ua}m=C[f+8>>2]}f=g+n|0;n=l+m|0;m=j;j=b+3|0;Ya:{if(m>>>0<=j>>>0){j=0;m=C[k+4>>2];if(!m|C[m>>2]){break Ya}C[m>>2]=130;break Ya}Za:{_a:{$a:{j=(j<<3)+k|0;switch(C[j+12>>2]-1|0){case 0:break _a;case 1:break $a;default:break Za}}j=C[j+8>>2]<<16;break Ya}j=C[j+8>>2];if((j|0)<0){j=0-(8192-j>>14)|0;break Ya}j=j- -8192>>>14|0;break Ya}j=C[j+8>>2]}m=j+n|0;vj(i+3904|0,g,l,f,n,f,m);b=b+4|0;if(t>>>0>b>>>0){continue}break}}C[i+15784>>2]=m;C[i+15788>>2]=f;C[q>>2]=r;continue;case 27:m=C[i+15788>>2];f=C[i+15784>>2];o=C[q>>2]-r>>3;t=o&-3;b=o&2;if(t>>>0>b>>>0){while(1){j=C[q>>2]-r>>3;if(o-b&1){ab:{if(b>>>0>=j>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break ab}C[g>>2]=130;break ab}bb:{cb:{db:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break cb;case 1:break db;default:break bb}}l=C[g+8>>2]<<16;break ab}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break ab}l=g- -8192>>>14|0;break ab}l=C[g+8>>2]}b=b+1|0;f=f+l|0}g=f;eb:{if(b>>>0>=j>>>0){f=0;l=C[k+4>>2];if(!l|C[l>>2]){break eb}C[l>>2]=130;break eb}fb:{gb:{hb:{f=(b<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break gb;case 1:break hb;default:break fb}}f=C[f+8>>2]<<16;break eb}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break eb}f=f- -8192>>>14|0;break eb}f=C[f+8>>2]}l=b+1|0;ib:{if(l>>>0>=j>>>0){n=0;l=C[k+4>>2];if(!l|C[l>>2]){break ib}C[l>>2]=130;break ib}jb:{kb:{lb:{l=(l<<3)+k|0;switch(C[l+12>>2]-1|0){case 0:break kb;case 1:break lb;default:break jb}}n=C[l+8>>2]<<16;break ib}l=C[l+8>>2];if((l|0)<0){n=0-(8192-l>>14)|0;break ib}n=l- -8192>>>14|0;break ib}n=C[l+8>>2]}l=f+m|0;f=b+2|0;mb:{if(f>>>0>=j>>>0){f=0;m=C[k+4>>2];if(!m|C[m>>2]){break mb}C[m>>2]=130;break mb}nb:{ob:{pb:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break ob;case 1:break pb;default:break nb}}f=C[f+8>>2]<<16;break mb}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break mb}f=f- -8192>>>14|0;break mb}f=C[f+8>>2]}n=l+n|0;f=f+g|0;m=j;j=b+3|0;qb:{if(m>>>0<=j>>>0){j=0;m=C[k+4>>2];if(!m|C[m>>2]){break qb}C[m>>2]=130;break qb}rb:{sb:{tb:{j=(j<<3)+k|0;switch(C[j+12>>2]-1|0){case 0:break sb;case 1:break tb;default:break rb}}j=C[j+8>>2]<<16;break qb}j=C[j+8>>2];if((j|0)<0){j=0-(8192-j>>14)|0;break qb}j=j- -8192>>>14|0;break qb}j=C[j+8>>2]}m=j+n|0;vj(i+3904|0,l,g,n,f,m,f);b=b+4|0;if(t>>>0>b>>>0){continue}break}}C[i+15788>>2]=m;C[i+15784>>2]=f;C[q>>2]=r;continue;case 30:case 31:n=C[i+15784>>2];g=C[i+15788>>2];b=C[q>>2]-r>>3;u=b&-3;b=b&2;if(u>>>0>b>>>0){G=(o|0)==31;while(1){l=n;f=g;t=C[q>>2]-r>>3;ub:{if(G){vb:{if(b>>>0>=t>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break vb}C[g>>2]=130;break vb}wb:{xb:{yb:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break xb;case 1:break yb;default:break wb}}n=C[g+8>>2]<<16;break vb}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break vb}n=g- -8192>>>14|0;break vb}n=C[g+8>>2]}j=b+1|0;zb:{if(t>>>0<=j>>>0){g=0;o=C[k+4>>2];if(!o|C[o>>2]){break zb}C[o>>2]=130;break zb}Ab:{Bb:{Cb:{g=(j<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Bb;case 1:break Cb;default:break Ab}}g=C[g+8>>2]<<16;break zb}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break zb}g=g- -8192>>>14|0;break zb}g=C[g+8>>2]}o=b+2|0;Db:{if(o>>>0>=t>>>0){m=0;o=C[k+4>>2];if(!o|C[o>>2]){break Db}C[o>>2]=130;break Db}Eb:{Fb:{Gb:{o=(o<<3)+k|0;switch(C[o+12>>2]-1|0){case 0:break Fb;case 1:break Gb;default:break Eb}}m=C[o+8>>2]<<16;break Db}o=C[o+8>>2];if((o|0)<0){m=0-(8192-o>>14)|0;break Db}m=o- -8192>>>14|0;break Db}m=C[o+8>>2]}f=f+n|0;m=l+m|0;n=b+3|0;Hb:{if(n>>>0>=t>>>0){n=0;o=C[k+4>>2];if(!o|C[o>>2]){break Hb}C[o>>2]=130;break Hb}Ib:{Jb:{Kb:{n=(n<<3)+k|0;switch(C[n+12>>2]-1|0){case 0:break Jb;case 1:break Kb;default:break Ib}}n=C[n+8>>2]<<16;break Hb}n=C[n+8>>2];if((n|0)<0){n=0-(8192-n>>14)|0;break Hb}n=n- -8192>>>14|0;break Hb}n=C[n+8>>2]}o=f+g|0;n=n+m|0;G=0;if((u-b|0)!=5){j=b;g=o;break ub}b=b+4|0;Lb:{if(b>>>0>=t>>>0){g=C[k+4>>2];b=0;if(!g|C[g>>2]){break Lb}C[g>>2]=130;g=o;break ub}Mb:{Nb:{Ob:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break Nb;case 1:break Ob;default:break Mb}}g=(C[b+8>>2]<<16)+o|0;break ub}b=C[b+8>>2];if((b|0)<0){g=o-(8192-b>>14)|0;break ub}g=(b- -8192>>>14|0)+o|0;break ub}b=C[b+8>>2]}g=b+o|0;break ub}Pb:{if(b>>>0>=t>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break Pb}C[g>>2]=130;break Pb}Qb:{Rb:{Sb:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Rb;case 1:break Sb;default:break Qb}}n=C[g+8>>2]<<16;break Pb}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break Pb}n=g- -8192>>>14|0;break Pb}n=C[g+8>>2]}j=b+1|0;Tb:{if(t>>>0<=j>>>0){g=0;o=C[k+4>>2];if(!o|C[o>>2]){break Tb}C[o>>2]=130;break Tb}Ub:{Vb:{Wb:{g=(j<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Vb;case 1:break Wb;default:break Ub}}g=C[g+8>>2]<<16;break Tb}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break Tb}g=g- -8192>>>14|0;break Tb}g=C[g+8>>2]}o=b+2|0;Xb:{if(o>>>0>=t>>>0){m=0;o=C[k+4>>2];if(!o|C[o>>2]){break Xb}C[o>>2]=130;break Xb}Yb:{Zb:{_b:{o=(o<<3)+k|0;switch(C[o+12>>2]-1|0){case 0:break Zb;case 1:break _b;default:break Yb}}m=C[o+8>>2]<<16;break Xb}o=C[o+8>>2];if((o|0)<0){m=0-(8192-o>>14)|0;break Xb}m=o- -8192>>>14|0;break Xb}m=C[o+8>>2]}l=l+n|0;o=f+g|0;g=b+3|0;$b:{if(g>>>0>=t>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break $b}C[g>>2]=130;break $b}ac:{bc:{cc:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break bc;case 1:break cc;default:break ac}}n=C[g+8>>2]<<16;break $b}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break $b}n=g- -8192>>>14|0;break $b}n=C[g+8>>2]}m=l+m|0;g=n+o|0;G=1;if((u-b|0)!=5){j=b;n=m;break ub}b=b+4|0;dc:{if(b>>>0>=t>>>0){b=0;n=C[k+4>>2];if(!n|C[n>>2]){break dc}C[n>>2]=130;break dc}ec:{fc:{gc:{b=(b<<3)+k|0;switch(C[b+12>>2]-1|0){case 0:break fc;case 1:break gc;default:break ec}}b=C[b+8>>2]<<16;break dc}b=C[b+8>>2];if((b|0)<0){b=0-(8192-b>>14)|0;break dc}b=b- -8192>>>14|0;break dc}b=C[b+8>>2]}n=b+m|0}vj(i+3904|0,f,l,o,m,g,n);b=j+4|0;if(u>>>0>b>>>0){continue}break}}C[i+15784>>2]=n;C[i+15788>>2]=g;C[q>>2]=r;continue;case 28:hc:{if(b>>>0>>0){f=b+1|0;C[s+12>>2]=f;l=D[b|0];break hc}l=0;f=C[s>>2];if(!(!f|C[f>>2])){C[f>>2]=85}f=b}ic:{if(f>>>0>>0){C[s+12>>2]=f+1;j=D[f|0];break ic}j=0;b=C[s>>2];if(!b|C[b>>2]){break ic}C[b>>2]=85}b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=(j<<16|l<<24)>>16;b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break i;default:break k}}if(o>>>0<=246){b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=o-139;b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue}if(o>>>0<=250){jc:{if(b>>>0>>0){C[s+12>>2]=b+1;b=D[b|0];break jc}b=0;f=C[s>>2];if(!f|C[f>>2]){break jc}C[f>>2]=85}f=C[q>>2];if((f|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[f>>2]=((o<<8)+b|0)-63124;b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue}if((o|0)!=255){kc:{if(b>>>0>>0){C[s+12>>2]=b+1;j=D[b|0];break kc}j=0;b=C[s>>2];if(!b|C[b>>2]){break kc}C[b>>2]=85}b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=64148-(o<<8|j);b=C[q>>2];C[b+4>>2]=2;C[q>>2]=b+8;continue}lc:{if(b>>>0>>0){f=b+1|0;C[s+12>>2]=f;l=D[b|0];break lc}l=0;f=C[s>>2];if(!(!f|C[f>>2])){C[f>>2]=85}f=b}mc:{if(f>>>0>>0){b=f+1|0;C[s+12>>2]=b;n=D[f|0];break mc}n=0;b=C[s>>2];if(!(!b|C[b>>2])){C[b>>2]=85}b=f}nc:{if(b>>>0>>0){f=b+1|0;C[s+12>>2]=f;g=D[b|0];break nc}g=0;f=C[s>>2];if(!(!f|C[f>>2])){C[f>>2]=85}f=b}oc:{if(f>>>0>>0){C[s+12>>2]=f+1;j=D[f|0];break oc}j=0;b=C[s>>2];if(!b|C[b>>2]){break oc}C[b>>2]=85}b=C[q>>2];if((b|0)==(q|0)){b=C[k+4>>2];if(!b|C[b>>2]){continue}C[b>>2]=130;continue}C[b>>2]=n<<16|l<<24|g<<8|j;b=C[q>>2];C[b+4>>2]=0;C[q>>2]=b+8;continue}Om(k,i+15788|0,i+15784|0,i+3904|0,207972,0)}C[q>>2]=r;continue}if(b>>>0>>0){while(1){f=C[q>>2]-r>>3;pc:{if(f>>>0<=b>>>0){n=0;g=C[k+4>>2];if(!g|C[g>>2]){break pc}C[g>>2]=130;break pc}qc:{rc:{sc:{g=(b<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break rc;case 1:break sc;default:break qc}}n=C[g+8>>2]<<16;break pc}g=C[g+8>>2];if((g|0)<0){n=0-(8192-g>>14)|0;break pc}n=g- -8192>>>14|0;break pc}n=C[g+8>>2]}g=b|1;tc:{if(g>>>0>=f>>>0){g=0;m=C[k+4>>2];if(!m|C[m>>2]){break tc}C[m>>2]=130;break tc}uc:{vc:{wc:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break vc;case 1:break wc;default:break uc}}g=C[g+8>>2]<<16;break tc}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break tc}g=g- -8192>>>14|0;break tc}g=C[g+8>>2]}m=b+2|0;xc:{if(m>>>0>=f>>>0){m=0;t=C[k+4>>2];if(!t|C[t>>2]){break xc}C[t>>2]=130;break xc}yc:{zc:{Ac:{m=(m<<3)+k|0;switch(C[m+12>>2]-1|0){case 0:break zc;case 1:break Ac;default:break yc}}m=C[m+8>>2]<<16;break xc}m=C[m+8>>2];if((m|0)<0){m=0-(8192-m>>14)|0;break xc}m=m- -8192>>>14|0;break xc}m=C[m+8>>2]}n=j+n|0;j=b+3|0;Bc:{if(j>>>0>=f>>>0){j=0;t=C[k+4>>2];if(!t|C[t>>2]){break Bc}C[t>>2]=130;break Bc}Cc:{Dc:{Ec:{j=(j<<3)+k|0;switch(C[j+12>>2]-1|0){case 0:break Dc;case 1:break Ec;default:break Cc}}j=C[j+8>>2]<<16;break Bc}j=C[j+8>>2];if((j|0)<0){j=0-(8192-j>>14)|0;break Bc}j=j- -8192>>>14|0;break Bc}j=C[j+8>>2]}t=g+l|0;m=n+m|0;g=b+4|0;Fc:{if(g>>>0>=f>>>0){l=0;g=C[k+4>>2];if(!g|C[g>>2]){break Fc}C[g>>2]=130;break Fc}Gc:{Hc:{Ic:{g=(g<<3)+k|0;switch(C[g+12>>2]-1|0){case 0:break Hc;case 1:break Ic;default:break Gc}}l=C[g+8>>2]<<16;break Fc}g=C[g+8>>2];if((g|0)<0){l=0-(8192-g>>14)|0;break Fc}l=g- -8192>>>14|0;break Fc}l=C[g+8>>2]}g=j+t|0;j=l+m|0;l=f;f=b+5|0;Jc:{if(l>>>0<=f>>>0){f=0;l=C[k+4>>2];if(!l|C[l>>2]){break Jc}C[l>>2]=130;break Jc}Kc:{Lc:{Mc:{f=(f<<3)+k|0;switch(C[f+12>>2]-1|0){case 0:break Lc;case 1:break Mc;default:break Kc}}f=C[f+8>>2]<<16;break Jc}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break Jc}f=f- -8192>>>14|0;break Jc}f=C[f+8>>2]}l=f+g|0;vj(i+3904|0,n,t,m,g,j,l);b=b+6|0;if(o>>>0>b>>>0){continue}break}}C[i+15784>>2]=l;C[i+15788>>2]=j;C[q>>2]=r;continue}}b=64}if(C[a+4>>2]){break a}}C[a+4>>2]=b}a=i+15536|0;C[a>>2]=0;C[a+4>>2]=0;C[i+15528>>2]=0;a=C[i+15516>>2];b=i+15544|0;c=C[b>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b>>2]=0;C[i+15736>>2]=0;C[i+15740>>2]=0;C[i+15728>>2]=0;a=C[i+15716>>2];b=C[i+15744>>2];if(b){Fe[C[a+8>>2]](a,b)}C[i+15744>>2]=0;C[i+15768>>2]=0;C[i+15772>>2]=0;C[i+15760>>2]=0;a=C[i+15748>>2];b=C[i+15776>>2];if(b){Fe[C[a+8>>2]](a,b)}C[i+15776>>2]=0;if(w){Fe[C[x+8>>2]](x,w)}if(!K){a=C[k>>2];if(k){Fe[C[a+8>>2]](a,k)}}Ce=i+15792|0}function TI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=J(0),k=0,l=0,m=0,n=0,o=J(0),p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,L=0,M=0,N=0,O=0,P=0,Q=J(0),R=0,S=0,T=0,U=0,V=0,W=0,X=J(0),Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=J(0),fa=J(0),ga=J(0),ha=J(0),ia=J(0),ja=0,ka=J(0),la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0;t=C[a+36>>2];c=C[a+64>>2];E=C[c+104>>2];P=C[c+4>>2];W=C[P+28>>2];ja=C[a+104>>2];oa=Ce;c=C[P+4>>2]<<2;$=oa-(c+15&-16)|0;b=$;Ce=b;pa=rg(a,c);T=rg(a,C[P+4>>2]<<2);qa=rg(a,C[P+4>>2]<<2);X=G[ja+4>>2];c=C[P+4>>2];B=b-((c<<2)+15&-16)|0;Ce=B;da=C[a+28>>2];M=C[((da<<2)+W|0)+544>>2];b=C[E+56>>2];d=C[ja+8>>2];C[a+40>>2]=da;u=da?104:0;O=b+I(d,52)|0;a:{if((c|0)<=0){z=(t|0)/2|0;g=z<<2;break a}F=t-1|0;r=E+4|0;z=(t|0)/2|0;g=z<<2;ka=J(+J(J(J(((w(J(J(4)/J(t|0))),j(2))&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345);N=(t|0)<3;while(1){D=m<<2;k=C[D+C[a>>2]>>2];Ca=D+T|0,Da=rg(a,g),C[Ca>>2]=Da;l=D+pa|0;Ca=l,Da=rg(a,g),C[Ca>>2]=Da;c=0;b=C[a+28>>2];e=(b?C[a+32>>2]:0)<<2;s=C[e+W>>2];q=(s|0)/-4|0;d=(s|0)/2|0;n=(b?C[a+24>>2]:0)<<2;x=C[n+W>>2];p=(x|0)/-4|0;h=C[(b<<2)+W>>2];f=(h|0)/4|0;b=p+f|0;x=(x|0)/2|0;v=b+x|0;y=C[(C[e+r>>2]<<2)+317264>>2];e=C[(C[n+r>>2]<<2)+317264>>2];A=f+((h|0)/2|0)|0;if((b|0)>0){We(k,0,b<<2);c=b}b:{if((c|0)>=(v|0)){break b}b=x+(f+p|0)|0;n=b-c|0;x=n&1;f=0;if((b|0)!=(c+1|0)){p=n&-2;n=0;while(1){b=k+(c<<2)|0;v=f<<2;G[b>>2]=G[v+e>>2]*G[b>>2];G[b+4>>2]=G[e+(v|4)>>2]*G[b+4>>2];f=f+2|0;c=c+2|0;n=n+2|0;if((p|0)!=(n|0)){continue}break}}if(!x){break b}c=k+(c<<2)|0;G[c>>2]=G[e+(f<<2)>>2]*G[c>>2]}c=q+A|0;if((s|0)>1){b=c+d|0;while(1){f=k+(c<<2)|0;d=d-1|0;G[f>>2]=G[y+(d<<2)>>2]*G[f>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}if((c|0)<(h|0)){We(k+(c<<2)|0,0,h-c<<2)}x=C[l>>2];h=0;b=Ce;p=b;n=C[C[((C[a+28>>2]<<2)+E|0)+12>>2]>>2];s=C[n>>2];l=s>>1;f=l<<2;c=(f+k|0)+(s&-4)|0;b=b-((s<<2)+15&-16)|0;d=f+b|0;q=s>>3;Ce=b;f=f+C[n+8>>2]|0;if((s|0)>=8){e=c+4|0;while(1){v=c-8|0;y=h<<2;c=c-16|0;i=J(G[c>>2]+G[e+8>>2]);A=f-4|0;o=J(G[v>>2]+G[e>>2]);f=f-8|0;G[y+d>>2]=J(i*G[A>>2])+J(o*G[f>>2]);G[d+(y|4)>>2]=J(i*G[f>>2])-J(G[A>>2]*o);e=e+16|0;h=h+2|0;if((q|0)>(h|0)){continue}break}}e=k+4|0;q=l-q|0;if((q|0)>(h|0)){while(1){v=c-8|0;y=h<<2;c=c-16|0;i=J(G[c>>2]-G[e+8>>2]);A=f-4|0;o=J(G[v>>2]-G[e>>2]);f=f-8|0;G[y+d>>2]=J(i*G[A>>2])+J(o*G[f>>2]);G[d+(y|4)>>2]=J(i*G[f>>2])-J(G[A>>2]*o);e=e+16|0;h=h+2|0;if((q|0)>(h|0)){continue}break}}if((h|0)<(l|0)){c=k+(s<<2)|0;while(1){q=c-8|0;v=h<<2;c=c-16|0;i=J(J(-G[c>>2])-G[e+8>>2]);y=f-4|0;o=J(J(-G[q>>2])-G[e>>2]);f=f-8|0;G[v+d>>2]=J(i*G[y>>2])+J(o*G[f>>2]);G[d+(v|4)>>2]=J(i*G[f>>2])-J(G[y>>2]*o);e=e+16|0;h=h+2|0;if((l|0)>(h|0)){continue}break}}Zv(n,d,l);v=C[n+8>>2];c=C[n>>2];h=v+(c<<2)|0;e=C[n+12>>2];q=(c<<1&-4)+b|0;c=q;f=b;while(1){d=q+(C[e>>2]<<2)|0;i=G[d+4>>2];y=q+(C[e+4>>2]<<2)|0;o=G[y+4>>2];Q=J(J(i+o)*J(.5));ea=G[d>>2];fa=G[y>>2];ga=J(ea+fa);ha=G[h>>2];i=J(i-o);o=G[h+4>>2];ia=J(J(ga*ha)+J(i*o));G[f>>2]=Q+ia;G[c-8>>2]=Q-ia;Q=J(J(ea-fa)*J(.5));i=J(J(ga*o)-J(ha*i));G[f+4>>2]=Q+i;G[c-4>>2]=i-Q;d=q+(C[e+8>>2]<<2)|0;i=G[d+4>>2];y=q+(C[e+12>>2]<<2)|0;o=G[y+4>>2];Q=J(J(i+o)*J(.5));ea=G[d>>2];fa=G[y>>2];ga=J(ea+fa);ha=G[h+8>>2];i=J(i-o);o=G[h+12>>2];ia=J(J(ga*ha)+J(i*o));G[f+8>>2]=Q+ia;d=c-16|0;G[d>>2]=Q-ia;Q=J(J(ea-fa)*J(.5));i=J(J(ga*o)-J(ha*i));G[f+12>>2]=Q+i;G[c-12>>2]=i-Q;e=e+16|0;h=h+16|0;c=d;f=f+16|0;if(c>>>0>f>>>0){continue}break}if((s|0)>=4){c=s>>2;c=(c|0)<=1?1:c;d=l<<2;h=d+v|0;f=d+x|0;e=0;while(1){i=G[b>>2];o=G[b+4>>2];G[x+(e<<2)>>2]=G[n+16>>2]*J(J(i*G[h>>2])+J(o*G[h+4>>2]));f=f-4|0;G[f>>2]=G[n+16>>2]*J(J(i*G[h+4>>2])-J(o*G[h>>2]));h=h+8|0;b=b+8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}Ce=p;q=0;c=I(C[a+28>>2],12)+E|0;b=C[c+20>>2];c:{if((b|0)==1){break c}v=C[c+28>>2];l=C[v+4>>2];if((l|0)<=0){break c}y=l+1|0;f=C[c+24>>2];n=(f+(b<<2)|0)-4|0;h=1;c=b;e=b;while(1){d=(b|0)/(c|0)|0;s=C[v+(y-q<<2)>>2];c=(c|0)/(s|0)|0;e=e-I(d,s-1|0)|0;d:{e:{f:{g:{switch(s-2|0){case 2:s=n+(e<<2)|0;p=d+e|0;x=n+(p<<2)|0;p=n+(d+p<<2)|0;if(!h){Yv(d,c,f,k,s,x,p);break e}Yv(d,c,k,f,s,x,p);break f;case 0:s=n+(e<<2)|0;if(h){Xv(d,c,k,f,s);break f}Xv(d,c,f,k,s);break e;default:break g}}x=I(c,d);p=n+(e<<2)|0;if(!((d|0)==1?h:1-h|0)){Wv(d,s,c,x,k,k,k,f,f,p);break e}Wv(d,s,c,x,f,f,f,k,k,p)}h=0;d=1;break d}h=1;d=0}q=q+1|0;if((l|0)!=(q|0)){continue}break}if(!d|(b|0)<=0){break c}e=0;c=0;if(b>>>0>=4){n=b&-4;h=0;while(1){d=c<<2;G[d+k>>2]=G[d+f>>2];s=d|4;G[s+k>>2]=G[f+s>>2];s=d|8;G[s+k>>2]=G[f+s>>2];d=d|12;G[d+k>>2]=G[d+f>>2];c=c+4|0;h=h+4|0;if((n|0)!=(h|0)){continue}break}}b=b&3;if(!b){break c}while(1){d=c<<2;G[d+k>>2]=G[d+f>>2];c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}o=J(+J(J(J(J((C[k>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+ka)+.345);G[k>>2]=o;b=B+D|0;G[b>>2]=o;c=1;if(!N){while(1){i=G[k+(c<<2)>>2];Q=J(i*i);d=c+1|0;i=G[k+(d<<2)>>2];i=J(+J(J(J(J(J(((w(J(Q+J(i*i))),j(2))&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))*J(.5))+ka)+.345);G[k+(d<<1&-4)>>2]=i;o=i>o?i:o;c=c+2|0;if((F|0)>(c|0)){continue}break}G[b>>2]=o}if(o>J(0)){C[b>>2]=0;o=J(0)}X=o>X?o:X;m=m+1|0;if((m|0)>2]){continue}break}}s=u+O|0;q=rg(a,g);l=rg(a,g);c=C[P+4>>2];if((c|0)>0){N=z&-2;v=z&1;O=0;while(1){f=O<<2;x=C[f+pa>>2];y=C[(f+M|0)+4>>2];D=C[f+C[a>>2]>>2];C[a+40>>2]=da;g=f+qa|0;c=rg(a,60);C[g>>2]=c;C[c+56>>2]=0;C[c+48>>2]=0;C[c+52>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;n=D+(z<<2)|0;h:{if((t|0)<2){break h}c=0;m=0;if((z|0)!=1){while(1){b=c<<2;G[b+n>>2]=+J(J(J((C[b+x>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345;b=b|4;G[b+n>>2]=+J(J(J((C[b+x>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345;c=c+2|0;m=m+2|0;if((N|0)!=(m|0)){continue}break}}if(!v){break h}c=c<<2;G[c+n>>2]=+J(J(J((C[c+x>>2]&2147483647)>>>0)*J(7.177114298428933e-7))+J(-764.6162109375))+.345}c=0;m=0;b=Ce;e=b;b=C[s>>2];d=e-((b<<2)+15&-16)|0;Ce=d;aw(b,C[s+24>>2],n,q,J(140),-1);k=(b|0)<=0;i:{if(k){break i}if((b|0)!=1){r=b&-2;while(1){h=c<<2;G[h+d>>2]=G[h+n>>2]-G[h+q>>2];h=h|4;G[h+d>>2]=G[h+n>>2]-G[h+q>>2];c=c+2|0;m=m+2|0;if((r|0)!=(m|0)){continue}break}}if(!(b&1)){break i}c=c<<2;G[c+d>>2]=G[c+n>>2]-G[c+q>>2]}aw(b,C[s+24>>2],d,q,J(0),C[C[s+4>>2]+128>>2]);j:{if(k){break j}m=0;c=0;if(b>>>0>=4){r=b&-4;k=0;while(1){h=c<<2;p=h+d|0;G[p>>2]=G[h+n>>2]-G[p>>2];p=h|4;u=p+d|0;G[u>>2]=G[n+p>>2]-G[u>>2];p=h|8;u=p+d|0;G[u>>2]=G[n+p>>2]-G[u>>2];h=h|12;p=h+d|0;G[p>>2]=G[h+n>>2]-G[p>>2];c=c+4|0;k=k+4|0;if((r|0)!=(k|0)){continue}break}}h=b&3;if(h){while(1){k=c<<2;r=k+d|0;G[r>>2]=G[k+n>>2]-G[r>>2];c=c+1|0;m=m+1|0;if((h|0)!=(m|0)){continue}break}}if((b|0)<=0){break j}k=C[s+4>>2];c=0;while(1){m=c<<2;r=m+q|0;aa=+G[r>>2]+.5;k:{if(K(aa)<2147483648){h=~~aa;break k}h=-2147483648}h=(h|0)>=39?39:h;G[r>>2]=G[d+m>>2]+G[(k+(((h|0)>0?h:0)<<2)|0)+336>>2];c=c+1|0;if((b|0)!=(c|0)){continue}break}}Ce=e;i=G[f+B>>2];d=0;c=0;h=0;b=Ce;A=b;f=C[s>>2];m=C[s+40>>2];e=b-((m<<2)+15&-16)|0;Ce=e;l:{if((m|0)<=0){break l}if(m>>>0>=8){k=m&-8;while(1){b=d<<2;C[b+e>>2]=-971228160;C[e+(b|4)>>2]=-971228160;C[e+(b|8)>>2]=-971228160;C[e+(b|12)>>2]=-971228160;C[e+(b|16)>>2]=-971228160;C[e+(b|20)>>2]=-971228160;C[e+(b|24)>>2]=-971228160;C[e+(b|28)>>2]=-971228160;d=d+8|0;h=h+8|0;if((k|0)!=(h|0)){continue}break}}b=m&7;if(!b){break l}while(1){C[e+(d<<2)>>2]=-971228160;d=d+1|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}u=C[s+4>>2];m:{if((f|0)<=0){break m}o=G[u+8>>2];i=J(G[u+4>>2]+i);i=i>2];h=0;b=0;if(f>>>0>=4){r=f&-4;c=0;while(1){k=b<<2;G[k+l>>2]=i+G[d+k>>2];p=k|4;G[p+l>>2]=i+G[d+p>>2];p=k|8;G[p+l>>2]=i+G[d+p>>2];k=k|12;G[k+l>>2]=i+G[d+k>>2];b=b+4|0;c=c+4|0;if((r|0)!=(c|0)){continue}break}}c=f&3;if(c){while(1){k=b<<2;G[k+l>>2]=i+G[d+k>>2];b=b+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if((f|0)<=0){break m}ka=J(G[u+496>>2]-X);L=C[s+8>>2];h=f-1|0;r=C[s+20>>2];c=0;while(1){b=c<<2;d=C[b+r>>2];i=G[b+D>>2];b=c;c=b+1|0;n:{if((f|0)<=(c|0)|(d|0)!=C[r+(c<<2)>>2]){break n}while(1){o:{b=c;o=G[D+(b<<2)>>2];i=i>2]){continue}break n}break}b=h;c=f}R=b<<2;p:{if(!(G[R+l>>2]>C[s+32>>2];b=(b|0)>=16?16:b;d=C[L+(((b|0)>0?b:0)<<2)>>2];aa=(+J(ka+i)+-30)*.10000000149011612;q:{if(K(aa)<2147483648){b=~~aa;break q}b=-2147483648}b=(b|0)>0?b:0;p=C[d+((b>>>0>=7?7:b)<<2)>>2];o=G[p+4>>2];r:{if(J(K(o))>2];s:{if(J(K(o))>2];o=J(J(J(J(o+J(-16))*J(F|0))+J(C[r+R>>2]-C[s+28>>2]|0))-J(F>>1));t:{if(J(K(o))>2]);R=e+(b<<2)|0;if(!(o>G[R>>2])){break u}G[R>>2]=o}b=b+F|0;if((m|0)<=(b|0)){break p}d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((c|0)<(f|0)){continue}break}}F=C[s+36>>2];h=F;b=0;c=(m<<2)+15&-16;r=Ce-c|0;p=r-c|0;v:{if((m|0)<=0){break v}d=0;while(1){w:{if((d|0)>=2){o=G[e+(b<<2)>>2];while(1){c=d;d=c-1|0;k=d<<2;i=G[k+p>>2];if(i>o){C[r+(c<<2)>>2]=b;break w}x:{if(c>>>0<2|(h+C[k+r>>2]|0)<=(b|0)){break x}k=c-2<<2;if(!(i<=G[k+p>>2])){break x}if((h+C[k+r>>2]|0)>(b|0)){continue}}break}C[r+(c<<2)>>2]=b;break w}C[r+(d<<2)>>2]=b;o=G[e+(b<<2)>>2];c=d}G[p+(c<<2)>>2]=o;d=c+1|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}b=0;if((c|0)<0){break v}L=h+1|0;d=0;while(1){h=b;y:{z:{if((c|0)<=(b|0)){break z}b=h+1<<2;if(!(G[b+p>>2]>G[p+(h<<2)>>2])){break z}b=C[b+r>>2];break y}b=L+C[r+(h<<2)>>2]|0}k=(b|0)<(m|0)?b:m;if((k|0)>(d|0)){R=k+(d^-1)|0;i=G[p+(h<<2)>>2];b=0;S=k-d&7;if(S){while(1){G[e+(d<<2)>>2]=i;d=d+1|0;b=b+1|0;if((S|0)!=(b|0)){continue}break}}if(R>>>0>=7){while(1){b=e+(d<<2)|0;G[b>>2]=i;G[b+28>>2]=i;G[b+24>>2]=i;G[b+20>>2]=i;G[b+16>>2]=i;G[b+12>>2]=i;G[b+8>>2]=i;G[b+4>>2]=i;d=d+8|0;if((k|0)!=(d|0)){continue}break}}d=k}b=h+1|0;if((c|0)!=(h|0)){continue}break}}d=0;if((f|0)>=2){k=C[s+28>>2];p=k^-1;r=C[s+20>>2];c=C[r>>2]-(k+(F>>1)|0)|0;b=1;while(1){i=G[u+32>>2];o=G[e+(c<<2)>>2];o=i>2]+C[r+(d<<2)>>2]>>1;h=b-k|0;if((h|0)>(c|0)){F=b+p|0;A:{B:{if(!(b-(c+k|0)&1)){b=c;break B}b=c+1|0;i=G[e+(b<<2)>>2];if(!(i>J(-9999))){if(o!=J(-9999)){break B}break A}if(o==J(-9999)|i>2];C:{D:{if(o>J(-9999)){if(i==J(-9999)|i>o){break D}break C}if(i!=J(-9999)){break C}}i=o}b=b+2|0;o=G[e+(b<<2)>>2];E:{F:{if(!(o>J(-9999))){if(i==J(-9999)){break F}break E}if(i==J(-9999)){break F}if(!(i>o)){break E}}i=o}if((b|0)<(h|0)){continue}break}}o=i;c=h}G:{if((d|0)>=(f|0)){break G}b=c+k|0;while(1){h=d<<2;if((b|0)>2]){break G}h=h+l|0;if(G[h>>2]>2]=o}d=d+1|0;if((f|0)!=(d|0)){continue}break}d=f}b=d+1|0;if((f|0)>(b|0)){continue}break}}H:{if((d|0)>=(f|0)){break H}i=G[(e+(m<<2)|0)-4>>2];c=f+(d^-1)|0;h=f-d&3;if(h){b=0;while(1){k=l+(d<<2)|0;if(i>G[k>>2]){G[k>>2]=i}d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}if(c>>>0<3){break H}while(1){c=l+(d<<2)|0;if(i>G[c>>2]){G[c>>2]=i}if(i>G[c+4>>2]){G[c+4>>2]=i}if(i>G[c+8>>2]){G[c+8>>2]=i}if(i>G[c+12>>2]){G[c+12>>2]=i}d=d+4|0;if((f|0)!=(d|0)){continue}break}}Ce=A;kp(s,q,l,1,D,x,n);c=((y<<2)+M|0)+1028|0;b=C[c>>2]<<2;if(C[(b+W|0)+800>>2]!=1){Ce=oa;return-1}b=hp(a,C[b+C[E+48>>2]>>2],n,D);C[C[g>>2]+28>>2]=b;if(!(!C[C[C[a+64>>2]+104>>2]+80>>2]|!C[C[g>>2]+28>>2])){kp(s,q,l,2,D,x,n);b=hp(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],n,D);C[C[g>>2]+56>>2]=b;kp(s,q,l,0,D,x,n);b=hp(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],n,D);C[C[g>>2]>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],9362);C[C[g>>2]+4>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],18724);C[C[g>>2]+8>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],28086);C[C[g>>2]+12>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],37449);C[C[g>>2]+16>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],46811);C[C[g>>2]+20>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b>>2],C[b+28>>2],56173);C[C[g>>2]+24>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],9362);C[C[g>>2]+32>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],18724);C[C[g>>2]+36>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],28086);C[C[g>>2]+40>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],37449);C[C[g>>2]+44>>2]=b;b=C[g>>2];b=wh(a,C[C[E+48>>2]+(C[c>>2]<<2)>>2],C[b+28>>2],C[b+56>>2],46811);C[C[g>>2]+48>>2]=b;b=C[C[E+48>>2]+(C[c>>2]<<2)>>2];c=C[g>>2];c=wh(a,b,C[c+28>>2],C[c+56>>2],56173);C[C[g>>2]+52>>2]=c}c=C[P+4>>2];O=O+1|0;if((c|0)>(O|0)){continue}break}}G[ja+4>>2]=X;c=(c<<2)+15&-16;O=B-c|0;b=O;Ce=b;R=b-c|0;Ce=R;d=C[C[C[a+64>>2]+104>>2]+80>>2]?0:7;va=W+2868|0;while(1){F=d<<2;D=C[(F+ja|0)+12>>2];Kf(D,0,1);Kf(D,da,C[E+44>>2]);if(C[a+28>>2]){Kf(D,C[a+24>>2],1);Kf(D,C[a+32>>2],1)}n=0;c=C[P+4>>2];if((c|0)>0){while(1){b=n<<2;A=b+$|0;g=C[C[E+48>>2]+(C[((C[(b+M|0)+4>>2]<<2)+M|0)+1028>>2]<<2)>>2];x=C[b+T>>2];c=0;q=0;k=Ce-336|0;Ce=k;I:{J:{r=C[F+C[b+qa>>2]>>2];if(r){m=C[g+1296>>2];N=C[C[C[a+64>>2]+4>>2]+28>>2];v=C[N+2848>>2];l=C[g+1284>>2];K:{if((l|0)<=0){h=C[r>>2];C[k+64>>2]=h;c=C[r+4>>2];C[k+68>>2]=c;break K}while(1){b=r+(q<<2)|0;f=C[b>>2];c=f&32767;L:{M:{switch(C[m+832>>2]-1|0){case 0:c=c>>>2|0;break L;case 1:c=c>>>3|0;break L;case 2:c=(c>>>0)/12|0;break L;case 3:break M;default:break L}}c=c>>>4|0}C[b>>2]=f&32768|c;q=q+1|0;if((l|0)!=(q|0)){continue}break}h=C[r>>2];C[k+64>>2]=h;c=C[r+4>>2];C[k+68>>2]=c;if((l|0)<3){break K}q=m+836|0;b=2;while(1){f=b<<2;c=f+g|0;u=C[c+772>>2]<<2;t=u+r|0;B=C[c+1024>>2]<<2;y=B+r|0;p=C[y>>2]&32767;c=(C[t>>2]&32767)-p|0;e=c>>31;L=f+r|0;z=C[L>>2];U=(c^e)-e|0;e=C[q+B>>2];e=(I(U,C[f+q>>2]-e|0)|0)/(C[q+u>>2]-e|0)|0;c=p+((c|0)<0?0-e|0:e)|0;N:{if(!(!(z&32768)&(z|0)!=(c|0))){C[L>>2]=c|32768;C[f+(k- -64|0)>>2]=0;break N}e=C[g+1292>>2]-c|0;e=(c|0)>(e|0)?e:c;U=f+(k- -64|0)|0;c=z-c|0;O:{if((c|0)<0){f=e+(c^-1)|0;if((c|0)<(0-e|0)){break O}f=c<<1^-1;break O}f=c+e|0;if((c|0)>=(e|0)){break O}f=c<<1}C[U>>2]=f;C[y>>2]=p;C[t>>2]=C[t>>2]&32767}b=b+1|0;if((l|0)!=(b|0)){continue}break}c=C[k+68>>2]}e=1;Kf(D,1,1);C[g+1308>>2]=C[g+1308>>2]+1;b=ug(C[g+1292>>2]-1|0);C[g+1304>>2]=C[g+1304>>2]+(b<<1);Kf(D,h,ug(C[g+1292>>2]-1|0));Kf(D,c,ug(C[g+1292>>2]-1|0));if(C[m>>2]>0){z=N+1824|0;u=0;h=2;while(1){B=C[(m+(u<<2)|0)+4>>2];y=m+(B<<2)|0;t=C[y+128>>2];p=C[y+192>>2];C[k+56>>2]=0;C[k+60>>2]=0;C[k+48>>2]=0;C[k+52>>2]=0;C[k+40>>2]=0;C[k+44>>2]=0;C[k+32>>2]=0;C[k+36>>2]=0;if(p){l=1<>2]=0;C[k+28>>2]=0;C[k+16>>2]=0;C[k+20>>2]=0;C[k+8>>2]=0;C[k+12>>2]=0;C[k>>2]=0;C[k+4>>2]=0;L=(p|0)==31;P:{if(L){break P}b=(l|0)<=1?1:l;S=b&1;c=0;if((l|0)>=2){Y=b&2147483646;b=0;while(1){q=1;f=1;V=m+(B<<5)|0;ca=c<<2;ba=C[(V+ca|0)+320>>2];if((ba|0)>=0){f=C[C[z+(ba<<2)>>2]+4>>2]}C[k+ca>>2]=f;f=(c|1)<<2;V=C[(f+V|0)+320>>2];if((V|0)>=0){q=C[C[z+(V<<2)>>2]+4>>2]}C[f+k>>2]=q;c=c+2|0;b=b+2|0;if((Y|0)!=(b|0)){continue}break}}if(!S){break P}b=c<<2;c=C[(b+(m+(B<<5)|0)|0)+320>>2];if((c|0)<0){c=1}else{c=C[C[z+(c<<2)>>2]+4>>2]}C[b+k>>2]=c}Q:{if((t|0)<=0){l=0;break Q}q=(l|0)<=1?1:l;b=0;c=0;l=0;while(1){f=c;R:{if(L){break R}S=C[(k- -64|0)+(b+h<<2)>>2];c=0;while(1){if((S|0)>2]){C[(k+32|0)+(b<<2)>>2]=c;break R}c=c+1|0;if((q|0)!=(c|0)){continue}break}}c=f+p|0;l=C[(k+32|0)+(b<<2)>>2]<>2],56)|0,l,D)+C[g+1300>>2]|0,C[Ca+1300>>2]=Da}c=0;if((t|0)>0){while(1){b=C[((m+(B<<5)|0)+(C[(k+32|0)+(c<<2)>>2]<<2)|0)+320>>2];S:{if((b|0)<0){break S}f=C[(k- -64|0)+(c+h<<2)>>2];b=v+I(b,56)|0;if((f|0)>=C[b+4>>2]){break S}Ca=g,Da=wm(b,f,D)+C[g+1304>>2]|0,C[Ca+1304>>2]=Da}c=c+1|0;if((t|0)!=(c|0)){continue}break}}h=h+t|0;u=u+1|0;if((u|0)>2]){continue}break}}f=I(C[m+832>>2],C[r>>2]);N=C[N+(C[a+28>>2]<<2)>>2]/2|0;c=0;if(C[g+1284>>2]<=1){b=0;break J}b=0;while(1){q=C[(g+(e<<2)|0)+260>>2]<<2;h=C[q+r>>2];if(h>>>0<=32767){h=I(h,C[m+832>>2]);l=h-f|0;b=C[(m+q|0)+836>>2];t=b-c|0;p=(l|0)/(t|0)|0;z=(b|0)>(N|0)?N:b;if((z|0)>(c|0)){C[x+(c<<2)>>2]=f}q=c+1|0;T:{if((z|0)<=(q|0)){break T}v=l;l=l>>31;u=I(p,t);B=u>>31;u=(v^l)-l+(B-(u^B))|0;B=l|1;v=z+(c^-1)|0;y=v&1;l=0;if((z-2|0)!=(c|0)){z=v&-2;c=0;while(1){v=x+(q<<2)|0;U=f+p|0;f=l+u|0;l=(f|0)<(t|0);L=U+(l?0:B)|0;C[v>>2]=L;U=v;l=u+(f-(l?0:t)|0)|0;v=(l|0)<(t|0);f=(p+L|0)+(v?0:B)|0;C[U+4>>2]=f;l=l-(v?0:t)|0;q=q+2|0;c=c+2|0;if((z|0)!=(c|0)){continue}break}}if(!y){break T}C[x+(q<<2)>>2]=(f+p|0)+((t|0)<=(l+u|0)?B:0)}f=h;c=b}e=e+1|0;if((e|0)>2]){continue}break}break J}Kf(D,0,1);We(x,0,C[a+36>>2]/2<<2);break I}c=1;if((C[a+36>>2]/2|0)<=(b|0)){break I}while(1){C[x+(b<<2)>>2]=f;b=b+1|0;if((b|0)<(C[a+36>>2]/2|0)){continue}break}}Ce=k+336|0;C[A>>2]=c;c=C[P+4>>2];n=n+1|0;if((c|0)>(n|0)){continue}break}}k=d;wa=C[(F+(I(C[a+28>>2],60)+W|0)|0)+3240>>2];S=0;d=Ce;U=d;b=C[s+4>>2];if(C[b+500>>2]){f=C[b+508>>2]}else{f=16}h=C[s>>2];e=I(C[b>>2],60);b=va+(k<<2)|0;N=C[(e+b|0)+132>>2];z=C[b+252>>2];u=C[b+312>>2];V=c<<2;b=V+15&-16;q=d-b|0;d=q;Ce=d;r=d-b|0;d=r;Ce=d;x=d-b|0;d=x;Ce=d;p=d-b|0;d=p;Ce=d;ca=d-b|0;Ce=ca;g=C[M+1156>>2];ra=I(f,V);m=ra+15&-16;b=ca-m|0;Ce=b;C[q>>2]=b;d=b-m|0;Ce=d;C[r>>2]=d;e=d-m|0;Ce=e;C[x>>2]=e;F=e-m|0;Ce=F;C[p>>2]=F;U:{if((c|0)<2){break U}m=1;n=c-1|0;B=n&1;if((c|0)!=2){v=n&-2;l=0;while(1){n=m<<2;t=I(f,m)<<2;C[n+q>>2]=t+b;C[n+r>>2]=d+t;C[n+x>>2]=e+t;C[n+p>>2]=t+F;t=m+1|0;n=t<<2;t=I(f,t)<<2;C[n+q>>2]=t+b;C[n+r>>2]=d+t;C[n+x>>2]=e+t;C[n+p>>2]=t+F;m=m+2|0;l=l+2|0;if((v|0)!=(l|0)){continue}break}}if(!B){break U}n=m<<2;A=b;b=I(f,m)<<2;C[n+q>>2]=A+b;C[n+r>>2]=b+d;C[n+x>>2]=b+e;C[n+p>>2]=b+F}if((h|0)>0){aa=H[(u<<3)+((h|0)>1e3?292048:291968)>>3];xa=H[(z<<3)+291968>>3];ya=(c|0)<=0;b=h;n=0;while(1){v=jf(ca,$,V);We(F,0,ra);d=h-n|0;B=(d|0)>(f|0)?f:d;z=(b|0)>(f|0)?f:b;d=0;if(!ya){Y=z-1|0;ba=z&-2;la=z&1;ma=z&-4;L=z&3;na=N-n|0;y=0;while(1){A=n<<2;d=y<<2;t=A+C[d+T>>2]|0;V:{W:{X:{if(C[d+v>>2]){u=C[d+x>>2];Z=(B|0)<=0;Y:{if(Z){break Y}l=0;g=0;e=0;if(Y>>>0>=3){while(1){m=g<<2;G[m+u>>2]=G[(C[m+t>>2]<<2)+292128>>2];_=m|4;G[_+u>>2]=G[(C[t+_>>2]<<2)+292128>>2];_=m|8;G[_+u>>2]=G[(C[t+_>>2]<<2)+292128>>2];m=m|12;G[m+u>>2]=G[(C[m+t>>2]<<2)+292128>>2];g=g+4|0;e=e+4|0;if((ma|0)!=(e|0)){continue}break}}if(L){while(1){e=g<<2;G[e+u>>2]=G[(C[e+t>>2]<<2)+292128>>2];g=g+1|0;l=l+1|0;if((L|0)!=(l|0)){continue}break}}if(Z){break Y}e=A;A=d+pa|0;m=e+C[A>>2]|0;l=C[d+p>>2];g=0;while(1){e=g<<2;C[e+l>>2]=!(J((g|0)<(na|0)?xa:aa)>J(J(K(G[e+m>>2]))/G[e+u>>2]));g=g+1|0;if((B|0)!=(g|0)){continue}break}if((B|0)>0){break X}}l=C[d+r>>2];m=C[d+q>>2];break W}if((B|0)<=0){break V}e=C[d+p>>2];l=C[d+r>>2];u=C[d+q>>2];A=C[d+x>>2];g=0;m=0;if((z|0)!=1){while(1){d=g<<2;C[d+A>>2]=786163455;C[d+u>>2]=0;C[d+l>>2]=0;C[d+e>>2]=0;C[d+t>>2]=0;d=d|4;C[d+A>>2]=786163455;C[d+u>>2]=0;C[d+l>>2]=0;C[d+e>>2]=0;C[d+t>>2]=0;g=g+2|0;m=m+2|0;if((ba|0)!=(m|0)){continue}break}}if(!la){break V}d=g<<2;C[d+A>>2]=786163455;C[d+u>>2]=0;C[d+l>>2]=0;C[d+e>>2]=0;C[d+t>>2]=0;break V}l=C[d+r>>2];m=C[d+q>>2];A=C[A>>2];g=0;while(1){d=g<<2;e=d+m|0;Z=A+(g+n<<2)|0;i=G[Z>>2];i=J(i*i);G[e>>2]=i;G[d+l>>2]=i;if(G[Z>>2]>2]=-G[e>>2]}d=d+u|0;i=G[d>>2];G[d>>2]=i*i;g=g+1|0;if((z|0)!=(g|0)){continue}break}}$v(s,N,m,l,u,0,n,B,t)}y=y+1|0;if((y|0)!=(c|0)){continue}break}g=C[M+1156>>2];d=c}if((g|0)>0){za=N-n|0;Aa=wa-n|0;Y=0;while(1){m=(Y<<2)+M|0;e=C[m+2184>>2]<<2;l=C[e+T>>2];m=C[m+1160>>2]<<2;A=C[m+T>>2];ba=C[e+p>>2];la=C[m+p>>2];Ba=C[e+x>>2];ma=C[m+x>>2];na=C[e+r>>2];t=C[m+r>>2];u=C[e+q>>2];y=C[m+q>>2];m=m+v|0;if(C[m>>2]|C[e+v>>2]){g=n<<2;Z=g+A|0;C[e+v>>2]=1;C[m>>2]=1;if((B|0)>0){_=g+l|0;m=0;while(1){Z:{if((m|0)>=(Aa|0)){break Z}_:{g=m<<2;e=g+la|0;if(!C[e>>2]){l=g+ba|0;if(!C[l>>2]){break _}}l=g+y|0;G[l>>2]=J(K(G[l>>2]))+J(K(G[g+u>>2]));l=g+t|0;G[l>>2]=G[l>>2]+G[g+na>>2];C[g+ba>>2]=1;C[e>>2]=1;A=g+_|0;e=C[A>>2];L=g+Z|0;g=C[L>>2];sa=e-g|0;ta=g-e|0;l=e>>31;l=(l^e)-l|0;ua=g>>31;$:{if(l>>>0<(ua^g)-ua>>>0){g=(g|0)>0?ta:sa;C[A>>2]=g;l=C[L>>2];e=l>>31;l=(e^l)-e|0;break $}C[A>>2]=(e|0)>0?ta:sa;C[L>>2]=e;g=C[A>>2]}if(l<<1>(g|0)){break Z}C[A>>2]=0-g;C[L>>2]=0-C[L>>2];break Z}aa:{if((m|0)<(za|0)){e=g+y|0;i=J(G[g+u>>2]+G[e>>2]);G[e>>2]=i;G[g+t>>2]=K(i);break aa}e=g+y|0;o=G[e>>2];X=G[g+u>>2];i=J(J(K(o))+J(K(X)));G[g+t>>2]=i;if(J(o+X)>2]=-i;break aa}G[e>>2]=i}C[g+na>>2]=0;C[g+u>>2]=0;C[l>>2]=1;C[g+_>>2]=0}g=m<<2;e=g+Ba|0;g=g+ma|0;i=J(G[g>>2]+G[e>>2]);G[e>>2]=i;G[g>>2]=i;m=m+1|0;if((z|0)!=(m|0)){continue}break}}$v(s,N,y,t,ma,la,n,B,Z);g=C[M+1156>>2];d=d+1|0}Y=Y+1|0;if((Y|0)<(g|0)){continue}break}}b=b-f|0;n=f+n|0;if((h|0)>(n|0)){continue}break}}if((g|0)>0){while(1){c=(S<<2)+M|0;b=(C[c+1160>>2]<<2)+$|0;if(C[b>>2]|C[(C[c+2184>>2]<<2)+$>>2]){C[b>>2]=1;C[(C[c+2184>>2]<<2)+$>>2]=1;g=C[M+1156>>2]}S=S+1|0;if((S|0)<(g|0)){continue}break}}Ce=U;n=0;if(C[M>>2]>0){while(1){d=C[((n<<2)+M|0)+1092>>2];f=0;c=0;m=C[P+4>>2];if((m|0)>0){while(1){b=c<<2;if(C[(b+M|0)+4>>2]==(n|0)){h=f<<2;C[h+R>>2]=C[b+$>>2]!=0;C[h+O>>2]=C[b+T>>2];m=C[P+4>>2];f=f+1|0}c=c+1|0;if((m|0)>(c|0)){continue}break}}d=d<<2;h=(d+W|0)+1312|0;e=Fe[C[C[(C[h>>2]<<2)+317244>>2]+20>>2]](a,C[d+C[E+52>>2]>>2],O,R,f)|0;b=C[P+4>>2];ba:{if((b|0)<=0){g=0;break ba}g=0;c=0;if((b|0)!=1){m=b&-2;f=0;while(1){l=c<<2;if(C[(l+M|0)+4>>2]==(n|0)){C[(g<<2)+O>>2]=C[l+T>>2];g=g+1|0}l=(c|1)<<2;if(C[(l+M|0)+4>>2]==(n|0)){C[(g<<2)+O>>2]=C[l+T>>2];g=g+1|0}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(!(b&1)){break ba}c=c<<2;if(C[(c+M|0)+4>>2]!=(n|0)){break ba}C[(g<<2)+O>>2]=C[c+T>>2];g=g+1|0}Fe[C[C[(C[h>>2]<<2)+317244>>2]+24>>2]](D,a,C[d+C[E+52>>2]>>2],O,R,g,e,n)|0;n=n+1|0;if((n|0)>2]){continue}break}}d=k+1|0;if(k>>>0<(C[C[C[a+64>>2]+104>>2]+80>>2]?14:7)>>>0){continue}break}Ce=oa;return 0}function hH(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,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,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=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;W=Ce-160|0;Ce=W;a:{T=C[a+112>>2];if(!(A[T+36|0]&1)){break a}while(1){b:{e=C[T+32>>2];if(!e){K=0;O=0;g=Ce-1904|0;Ce=g;G=84608;H=df(1,168);c:{if(!H){break c}d:{j=C[a+44>>2];if((j|0)<=0){break d}ba=g+1052|0;Z=g+1496|0;ca=g+1448|0;da=g+464|0;while(1){e:{f:{if((j|0)>0){d=C[(O<<2)+48384>>2];h=C[a+48>>2];j=j-1|0;f=0;while(1){e=f+j>>>1|0;k=h+I(e,36)|0;m=C[k>>2];g:{if(m>>>0>d>>>0){j=e-1|0;break g}if(d>>>0<=m>>>0){break f}f=e+1|0}if((f|0)<=(j|0)){continue}break}}C[((K<<2)+H|0)+8>>2]=0;break e}_=(K<<2)+H|0;d=C[k+28>>2];C[_+8>>2]=d;if(!d){break e}h:{i:{j:{k:{l:{m:{if(O>>>0<=3){j=1569;f=0;while(1){d=E[((j<<3)+(O<<1)|0)+35864>>1];n:{if(!d){break n}e=g+208|0;C[e>>2]=0;k=e;e=C[b+72>>2];if(!(Fe[C[e+156>>2]](b,C[b+76>>2],j,k,C[e+20>>2])|0)){break n}e=g+112|0;C[e>>2]=0;k=d;d=C[b+72>>2];if(!(Fe[C[d+156>>2]](b,C[b+76>>2],k,e,C[d+20>>2])|0)){break n}d=C[g+208>>2];e=C[g+112>>2];if((d|0)==(e|0)|(d|e)>>>0>65535){break n}h=f<<1;B[h+(g+1056|0)>>1]=e<<8|(e&65280)>>>8;B[h+(g+1424|0)>>1]=d<<8|(d&65280)>>>8;f=f+1|0}j=j+1|0;if((j|0)!=1748){continue}break}d=1;e=0;o:{switch(f|0){default:while(1){i=d<<1;h=i+(g+1424|0)|0;e=d;while(1){p:{j=e;if(!e){break p}e=j-1|0;k=E[(g+1424|0)+(e<<1)>>1];m=E[h>>1];if(((k<<8|k>>>8)&65535)>>>0<((m<<8|m>>>8)&65535)>>>0){break p}if((k|0)!=(m|0)){continue}}break}if((d|0)!=(j|0)){m=E[h>>1];e=j<<1;h=e+2|0;l=g+1424|0;k=l+e|0;r=h+l|0;l=d-j<<1;Yf(r,k,l);B[k>>1]=m;j=g+1056|0;k=E[j+i>>1];e=e+j|0;Yf(h+j|0,e,l);B[e>>1]=k}d=d+1|0;if((f|0)!=(d|0)){continue}break};break;case 0:break h;case 1:break o}}C[g+124>>2]=ba;C[g+112>>2]=g+208;C[g+160>>2]=0;C[g+164>>2]=0;C[g+152>>2]=0;C[g+156>>2]=0;C[g+144>>2]=0;C[g+148>>2]=0;C[g+136>>2]=0;C[g+140>>2]=0;A[g+180|0]=1;C[g+176>>2]=0;C[g+168>>2]=1;C[g+172>>2]=1;C[g+200>>2]=0;C[g+192>>2]=0;C[g+196>>2]=0;C[g+184>>2]=0;C[g+188>>2]=0;e=g+112|0;gr(e);u=Ei(e);C[g+1864>>2]=0;C[g+1852>>2]=0;C[g+24>>2]=0;C[g+8>>2]=0;C[g+1860>>2]=f;C[g+1848>>2]=f;C[g+1856>>2]=g+1424;d=C[g+1860>>2];C[g+16>>2]=C[g+1856>>2];C[g+20>>2]=d;C[g+1844>>2]=g+1056;d=C[g+1848>>2];C[g>>2]=C[g+1844>>2];C[g+4>>2]=d;k=0;h=Ce-48|0;Ce=h;q:{if(!Is(u,e,1)){break q}r=Ei(e);C[h+32>>2]=C[g+24>>2];f=C[g+20>>2];d=C[g+16>>2];C[h+24>>2]=d;C[h+28>>2]=f;C[h+44>>2]=C[g+8>>2];j=C[g+4>>2];C[h+36>>2]=C[g>>2];C[h+40>>2]=j;j=C[h+36>>2];C[h+8>>2]=C[h+32>>2];C[h+12>>2]=j;j=C[h+44>>2];C[h+16>>2]=C[h+40>>2];C[h+20>>2]=j;C[h>>2]=d;C[h+4>>2]=f;d=0;i=Ce+-64|0;Ce=i;r:{if(C[e+20>>2]){break r}j=r+2|0;f=C[e+4>>2];m=j-f|0;if(!((m|0)>=0&(m|0)<=(C[e+8>>2]-f|0))){C[e+20>>2]=4;break r}d=j;if((f|0)!=(d|0)){We(f,0,m);d=C[e+4>>2]}C[e+4>>2]=d+m;if(!d){d=0;break r}s:{d=C[h+4>>2];if(!d){break s}l=C[h+16>>2];if(!l){break s}f=C[h+12>>2];m=D[f|0]|D[f+1|0]<<8;L=m<<8|m>>>8;o=C[h>>2];m=D[o|0]|D[o+1|0]<<8;m=L-(m<<8|m>>>8)|0;d=d-1|0;t:{if(!d){break t}M=l-1|0;if(!M){break t}while(1){l=D[f+2|0]|D[f+3|0]<<8;L=l<<8|l>>>8;l=D[o+2|0]|D[o+3|0]<<8;if((L-(l<<8|l>>>8)&65535)!=(m&65535)){break s}d=d-1|0;if(!d){break t}f=f+2|0;o=o+2|0;M=M-1|0;if(M){continue}break}}A[r|0]=0;A[r+1|0]=1;d=C[h+20>>2];C[i+48>>2]=C[h+16>>2];C[i+52>>2]=d;d=C[h+12>>2];C[i+40>>2]=C[h+8>>2];C[i+44>>2]=d;d=C[h+4>>2];C[i+32>>2]=C[h>>2];C[i+36>>2]=d;C[i+56>>2]=49848;if(C[e+20>>2]){d=0;break r}d=0;f=r+6|0;l=C[e+4>>2];n=f-l|0;if(!((n|0)<0|(n|0)>(C[e+8>>2]-l|0))){if((f|0)!=(l|0)){We(l,0,n);f=C[e+4>>2]}C[e+4>>2]=f+n;if(!f){break r}if(!Hs(j,e,i+32|0)){break r}d=m<<8|(m&65280)>>>8;A[r+4|0]=d;A[r+5|0]=d>>>8;d=1;break r}C[e+20>>2]=4;break r}A[r|0]=0;A[r+1|0]=2;d=C[h+20>>2];C[i+24>>2]=C[h+16>>2];C[i+28>>2]=d;d=C[h+12>>2];C[i+16>>2]=C[h+8>>2];C[i+20>>2]=d;d=C[h+4>>2];C[i+8>>2]=C[h>>2];C[i+12>>2]=d;f=0;n=Ce-32|0;Ce=n;m=C[i+24>>2];l=C[i+20>>2];p=C[i+12>>2];d=C[i+28>>2];C[n+16>>2]=C[i+24>>2];C[n+20>>2]=d;d=C[i+20>>2];C[n+8>>2]=C[i+16>>2];C[n+12>>2]=d;d=C[i+12>>2];C[n>>2]=C[i+8>>2];C[n+4>>2]=d;C[n+24>>2]=49848;u:{if(C[e+20>>2]){break u}d=r+6|0;o=C[e+4>>2];q=d-o|0;if(!((q|0)>=0&(q|0)<=(C[e+8>>2]-o|0))){C[e+20>>2]=4;break u}j=d;if((d|0)!=(o|0)){We(o,0,q);j=C[e+4>>2]}o=j+q|0;C[e+4>>2]=o;if(C[e+20>>2]|!j){break u}j=4;v:{q=d-o|0;if((q|0)<0|(q|0)>(C[e+8>>2]-o|0)){break v}if((d|0)!=(o|0)){We(o,0,q);d=C[e+4>>2]}C[e+4>>2]=d+q;if(!d){break u}o=r+4|0;d=m>>>0>p>>>0?p:m;q=d<<8|(d&65280)>>>8;A[o|0]=q;A[o+1|0]=q>>>8;q=C[e+20>>2];if(d>>>0>=65536){j=q|16;break v}if(q){break u}f=(o+(d<<1&131070)|0)+2|0;o=C[e+4>>2];q=f-o|0;if((q|0)<0|(q|0)>(C[e+8>>2]-o|0)){break v}if((f|0)!=(o|0)){We(o,0,q);f=C[e+4>>2]}C[e+4>>2]=f+q;if(!f){f=0;break u}w:{if(!d){break w}f=0;if((d|0)!=1){q=d&-2;j=0;while(1){o=r+(f<<1)|0;p=m?l:84608;p=D[p|0]|D[p+1|0]<<8;A[o+6|0]=p;A[o+7|0]=p>>>8;p=r+((f|1)<<1)|0;o=(m|0)!=0;l=(o<<1)+l|0;v=(m|0)==(o|0);t=v?84608:l;t=D[t|0]|D[t+1|0]<<8;A[p+6|0]=t;A[p+7|0]=t>>>8;f=f+2|0;p=!v;l=l+(p<<1)|0;m=m-(o+p|0)|0;j=j+2|0;if((q|0)!=(j|0)){continue}break}}if(!(d&1)){break w}d=r+(f<<1)|0;f=m?l:84608;f=D[f|0]|D[f+1|0]<<8;A[d+6|0]=f;A[d+7|0]=f>>>8}f=Hs(r+2|0,e,n);break u}C[e+20>>2]=j;f=0}Ce=n+32|0;d=f}Ce=i- -64|0;if(d){k=1;x:{if(!(D[u+4|0]|D[u+5|0]<<8)){B[208856]=E[42304];d=417712;break x}d=u+6|0}Pj(e,d,yi(e,1));break q}d=C[e+40>>2];if(C[e+20>>2]|!d){break q}C[e+40>>2]=C[d+32>>2];f=C[d+4>>2];C[e+4>>2]=C[d>>2];C[e+8>>2]=f;Oj(e);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[e+24>>2];C[e+24>>2]=d}Ce=h+48|0;j=C[g+132>>2];if(!j&C[g+156>>2]<0|!(j|D[g+180|0])){break m}y:{if(!C[g+152>>2]){break y}if(j){e=0;if(!(j&2)){break i}C[g+132>>2]=j|1;break i}j=0;if(F[g+160>>2]<2){break y}d=g+112|0;yi(d,0);fr(d);j=C[g+132>>2]}e=0;if(!(!j&k)){break i}f=C[g+120>>2];j=C[g+124>>2]-f|0;h=C[g+112>>2];d=C[g+116>>2]-h|0;k=j+d|0;if(!k){break i}k=kf(k);if(!k){break i}e=jf(k,h,d);jf(d+e|0,f,j);break i}d=g+208|0;C[d>>2]=0;e=d;d=C[b+72>>2];e=Fe[C[d+156>>2]](b,C[b+76>>2],65247,e,C[d+20>>2])|0;if(!e){break l}C[g+1884>>2]=0;C[g+1892>>2]=0;d=E[g+208>>1];B[g+1900>>1]=d<<8|d>>>8;j=1;d=g+208|0;C[d>>2]=0;k=d;d=C[b+72>>2];if(Fe[C[d+156>>2]](b,C[b+76>>2],65248,k,C[d+20>>2])|0){break k}d=1;break j}C[g+132>>2]=1;e=0;break i}j=0;d=g+208|0;C[d>>2]=0;k=d;d=C[b+72>>2];if(Fe[C[d+156>>2]](b,C[b+76>>2],65248,k,C[d+20>>2])|0){break k}e=0;break h}d=1;f=E[g+208>>1];B[(g+1900|0)+(j<<1)>>1]=f<<8|f>>>8;f=j<<2;C[f+(g+1884|0)>>2]=0;C[f+(g+1892|0)>>2]=1;if(!e){break j}d=2;e=E[g+1900>>1];f=E[g+1902>>1];if(((e<<8|e>>>8)&65535)>>>0<((f<<8|f>>>8)&65535)>>>0|(e|0)==(f|0)){break j}B[g+1900>>1]=f;B[g+1902>>1]=e;ma=g,na=sT(C[g+1892>>2],C[g+1896>>2]),C[ma+1892>>2]=na;C[g+1896>>2]=Ee}f=0;j=0;while(1){h=j<<2;e=h+(g+1884|0)|0;h=I(C[h+(g+1892|0)>>2],18);k=E[h+49858>>1];z:{if(!k){break z}m=E[h+49860>>1];i=g+208|0;C[i>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,i,C[k+20>>2])|0)){break z}k=g+1424|0;C[k>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],m,l,C[k+20>>2])|0)){break z}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;k=f<<1;m=E[g+1424>>1];B[k+(g+112|0)>>1]=m<<8|m>>>8;l=k+(g+1856|0)|0;k=E[g+208>>1];B[l>>1]=k<<8|k>>>8;f=f+1|0}k=E[h+49862>>1];A:{if(!k){break A}m=E[h+49864>>1];i=g+208|0;C[i>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,i,C[k+20>>2])|0)){break A}k=g+1424|0;C[k>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],m,l,C[k+20>>2])|0)){break A}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;k=f<<1;m=E[g+1424>>1];B[k+(g+112|0)>>1]=m<<8|m>>>8;l=k+(g+1856|0)|0;k=E[g+208>>1];B[l>>1]=k<<8|k>>>8;f=f+1|0}k=E[h+49866>>1];B:{if(!k){break B}m=E[h+49868>>1];i=g+208|0;C[i>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,i,C[k+20>>2])|0)){break B}k=g+1424|0;C[k>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],m,l,C[k+20>>2])|0)){break B}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;k=f<<1;m=E[g+1424>>1];B[k+(g+112|0)>>1]=m<<8|m>>>8;l=k+(g+1856|0)|0;k=E[g+208>>1];B[l>>1]=k<<8|k>>>8;f=f+1|0}k=E[h+49870>>1];C:{if(!k){break C}h=E[h+49872>>1];m=g+208|0;C[m>>2]=0;l=k;k=C[b+72>>2];if(!(Fe[C[k+156>>2]](b,C[b+76>>2],l,m,C[k+20>>2])|0)){break C}k=g+1424|0;C[k>>2]=0;l=h;h=C[b+72>>2];if(!(Fe[C[h+156>>2]](b,C[b+76>>2],l,k,C[h+20>>2])|0)){break C}C[e>>2]=C[e>>2]+1;C[(g+1056|0)+(f<<2)>>2]=2;e=f<<1;h=E[g+1424>>1];B[e+(g+112|0)>>1]=h<<8|h>>>8;k=e+(g+1856|0)|0;e=E[g+208>>1];B[k>>1]=e<<8|e>>>8;f=f+1|0}j=j+1|0;if((j|0)!=(d|0)){continue}break}if(!f){e=0;break h}C[g+1436>>2]=da;C[g+1424>>2]=g+208;e=ca;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;A[g+1492|0]=1;C[g+1488>>2]=0;C[g+1480>>2]=1;C[g+1484>>2]=1;C[Z+16>>2]=0;e=Z;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;i=g+1424|0;gr(i);U=Ei(i);C[g+1852>>2]=0;C[g+1840>>2]=0;C[g+1828>>2]=0;C[g+1816>>2]=0;C[g+1804>>2]=0;C[g+104>>2]=0;C[g+88>>2]=0;C[g+1848>>2]=d;C[g+1836>>2]=d;C[g+1824>>2]=f;C[g+1812>>2]=f;C[g+1800>>2]=f;C[g+1844>>2]=g+1900;d=C[g+1848>>2];C[g+96>>2]=C[g+1844>>2];C[g+100>>2]=d;C[g+1832>>2]=g+1884;d=C[g+1836>>2];C[g+80>>2]=C[g+1832>>2];C[g+84>>2]=d;C[g+1820>>2]=g+112;C[g+1808>>2]=g+1056;C[g+1796>>2]=g+1856;C[g+72>>2]=0;C[g+56>>2]=0;C[g+40>>2]=0;d=C[g+1824>>2];C[g+64>>2]=C[g+1820>>2];C[g+68>>2]=d;d=C[g+1812>>2];C[g+48>>2]=C[g+1808>>2];C[g+52>>2]=d;d=C[g+1800>>2];C[g+32>>2]=C[g+1796>>2];C[g+36>>2]=d;d=g- -64|0;r=0;M=0;n=Ce-160|0;Ce=n;D:{if(!Is(U,i,4)){break D}t=Ei(i);C[n+88>>2]=C[g+104>>2];e=C[g+100>>2];C[n+80>>2]=C[g+96>>2];C[n+84>>2]=e;C[n+104>>2]=C[g+88>>2];e=C[g+84>>2];C[n+96>>2]=C[g+80>>2];C[n+100>>2]=e;C[n+120>>2]=C[d+8>>2];e=C[d+4>>2];C[n+112>>2]=C[d>>2];C[n+116>>2]=e;C[n+136>>2]=C[g+56>>2];d=C[g+52>>2];C[n+128>>2]=C[g+48>>2];C[n+132>>2]=d;C[n+152>>2]=C[g+40>>2];d=C[g+36>>2];C[n+144>>2]=C[g+32>>2];C[n+148>>2]=d;E:{if(C[i+20>>2]){break E}q=t+2|0;d=C[i+4>>2];e=q-d|0;if(!((e|0)>=0&(e|0)<=(C[i+8>>2]-d|0))){C[i+20>>2]=4;break E}if((d|0)!=(q|0)){We(d,0,e);q=C[i+4>>2]}C[i+4>>2]=e+q;if(!q){break E}A[t|0]=0;A[t+1|0]=1;C[n+72>>2]=C[n+88>>2];C[n+56>>2]=C[n+104>>2];C[n+40>>2]=C[n+120>>2];C[n+24>>2]=C[n+136>>2];C[n+8>>2]=C[n+152>>2];d=C[n+84>>2];C[n+64>>2]=C[n+80>>2];C[n+68>>2]=d;d=C[n+100>>2];C[n+48>>2]=C[n+96>>2];C[n+52>>2]=d;d=C[n+116>>2];C[n+32>>2]=C[n+112>>2];C[n+36>>2]=d;d=C[n+132>>2];C[n+16>>2]=C[n+128>>2];C[n+20>>2]=d;d=C[n+148>>2];C[n>>2]=C[n+144>>2];C[n+4>>2]=d;Q=n- -64|0;q=0;u=Ce-32|0;Ce=u;F:{if(C[i+20>>2]){break F}d=t+6|0;e=C[i+4>>2];f=d-e|0;if(!((f|0)>=0&(f|0)<=(C[i+8>>2]-e|0))){C[i+20>>2]=4;break F}j=d;if((d|0)!=(e|0)){We(e,0,f);j=C[i+4>>2]}e=f+j|0;C[i+4>>2]=e;if(C[i+20>>2]|!j){break F}j=d-e|0;if(!((j|0)>=0&(j|0)<=(C[i+8>>2]-e|0))){C[i+20>>2]=4;break F}f=C[Q+4>>2];if((d|0)!=(e|0)){We(e,0,j);d=C[i+4>>2]}C[i+4>>2]=d+j;if(!d){break F}R=t+4|0;d=f<<8|(f&65280)>>>8;A[R|0]=d;A[R+1|0]=d>>>8;d=C[i+20>>2];if(f>>>0>=65536){C[i+20>>2]=d|16;break F}if(d){break F}d=((f<<1&131070)+R|0)+2|0;e=C[i+4>>2];f=d-e|0;if(!((f|0)>=0&(f|0)<=(C[i+8>>2]-e|0))){C[i+20>>2]=4;break F}if((d|0)!=(e|0)){We(e,0,f);d=C[i+4>>2]}C[i+4>>2]=d+f;if(!d){break F}$=C[Q+4>>2];if($){o=C[n+20>>2];j=C[n+36>>2];ea=E[42304];fa=C[n+48>>2];ga=C[n+52>>2];k=C[n+32>>2];X=C[n+16>>2];while(1){v=C[(q>>>0>=ga>>>0?84608:(q<<2)+fa|0)>>2];d=D[R|0]|D[R+1|0]<<8;G:{if(((d<<8|d>>>8)&65535)>>>0<=q>>>0){B[208856]=ea;e=417712;break G}e=(t+(q<<1)|0)+6|0}C[u+28>>2]=0;C[u+20>>2]=k;C[u+24>>2]=j>>>0>>0?j:v;C[u+16>>2]=0;C[u+12>>2]=o>>>0>>0?o:v;C[u+8>>2]=X;d=0;p=Ce-32|0;Ce=p;L=e;A[e|0]=0;A[e+1|0]=0;x=Ei(i);C[p+24>>2]=C[u+28>>2];e=C[u+24>>2];C[p+16>>2]=C[u+20>>2];C[p+20>>2]=e;C[p+8>>2]=C[u+16>>2];e=C[u+12>>2];C[p>>2]=C[u+8>>2];C[p+4>>2]=e;J=Ce-16|0;Ce=J;H:{if(C[i+20>>2]){break H}l=4;I:{f=x+2|0;h=C[i+4>>2];m=f-h|0;if((m|0)<0|(m|0)>(C[i+8>>2]-h|0)){break I}e=f;if((h|0)!=(e|0)){We(h,0,m);e=C[i+4>>2]}h=e+m|0;C[i+4>>2]=h;if(C[i+20>>2]|!e){break H}e=f-h|0;if((e|0)<0|(e|0)>(C[i+8>>2]-h|0)){break I}P=C[p+20>>2];if((f|0)!=(h|0)){We(h,0,e);f=C[i+4>>2]}C[i+4>>2]=e+f;if(!f){break H}e=P<<8|(P&65280)>>>8;A[x|0]=e;A[x+1|0]=e>>>8;e=C[i+20>>2];if(P>>>0>=65536){l=e|16;break I}if(e){break H}f=((P<<1&131070)+x|0)+2|0;e=C[i+4>>2];h=f-e|0;if((h|0)<0|(h|0)>(C[i+8>>2]-e|0)){break I}if((e|0)!=(f|0)){We(e,0,h);f=C[i+4>>2]}C[i+4>>2]=f+h;if(!f){break H}if(!P){d=1;break H}ha=C[p+16>>2];ia=E[42304];ja=C[p>>2];ka=C[p+4>>2];f=0;while(1){d=C[(f>>>0>=ka>>>0?84608:(f<<2)+ja|0)>>2];e=((d|0)<=1?1:d)-1|0;d=D[x|0]|D[x+1|0]<<8;J:{if(((d<<8|d>>>8)&65535)>>>0<=f>>>0){B[208856]=ia;h=417712;break J}h=((f<<1)+x|0)+2|0}d=C[n+4>>2];m=C[n>>2];C[J+12>>2]=0;C[J+4>>2]=m;C[J+8>>2]=d>>>0>>0?d:e;Y=0;d=Ce-16|0;Ce=d;la=h;A[h|0]=0;A[h+1|0]=0;N=Ei(i);h=(f<<1)+ha|0;h=D[h|0]|D[h+1|0]<<8;C[d+8>>2]=C[J+12>>2];l=C[J+8>>2];C[d>>2]=C[J+4>>2];C[d+4>>2]=l;l=d;m=0;K:{if(C[i+20>>2]){break K}w=(h<<8|h>>>8)&65535;V=4;L:{d=N+4|0;y=C[i+4>>2];s=d-y|0;if((s|0)<0|(s|0)>(C[i+8>>2]-y|0)){break L}h=d;if((d|0)!=(y|0)){We(y,0,s);h=C[i+4>>2]}C[i+4>>2]=h+s;M:{if(!h){break M}h=w<<8|(w&65280)>>>8;A[N|0]=h;A[N+1|0]=h>>>8;if(C[i+20>>2]){break M}s=C[i+4>>2];w=d-s|0;if((w|0)<0|(w|0)>(C[i+8>>2]-s|0)){break L}h=C[l+4>>2];y=C[l>>2];if((d|0)!=(s|0)){We(s,0,w);d=C[i+4>>2]}C[i+4>>2]=d+w;if(!d){break M}s=N+2|0;d=h+1|0;w=d<<8|(d&65280)>>>8;A[s|0]=w;A[s+1|0]=w>>>8;w=C[i+20>>2];if(d>>>0>=65536){V=w|16;break L}if(w){break M}d=s+(d&65535?d<<1&131070:2)|0;m=C[i+4>>2];s=d-m|0;if((s|0)<0|(s|0)>(C[i+8>>2]-m|0)){break L}if((d|0)!=(m|0)){We(m,0,s);d=C[i+4>>2]}C[i+4>>2]=d+s;m=0;if(!d){break K}m=1;if(!h){break M}w=h&1;d=0;N:{if((h|0)==1){h=1;break N}V=h&-2;while(1){s=(d<<1)+N|0;z=h?y:84608;z=D[z|0]|D[z+1|0]<<8;A[s+4|0]=z;A[s+5|0]=z>>>8;z=((d|1)<<1)+N|0;s=(h|0)!=0;y=(s<<1)+y|0;aa=(h|0)==(s|0);S=aa?84608:y;S=D[S|0]|D[S+1|0]<<8;A[z+4|0]=S;A[z+5|0]=S>>>8;d=d+2|0;z=!aa;y=y+(z<<1)|0;h=h-(s+z|0)|0;Y=Y+2|0;if((V|0)!=(Y|0)){continue}break}}if(!w){break M}d=(d<<1)+N|0;h=h?y:84608;h=D[h|0]|D[h+1|0]<<8;A[d+4|0]=h;A[d+5|0]=h>>>8}break K}C[i+20>>2]=V;m=0}d=m;O:{if(d){Pj(i,la,yi(i,1));break O}h=C[i+40>>2];if(C[i+20>>2]|!h){break O}C[i+40>>2]=C[h+32>>2];m=C[h+4>>2];C[i+4>>2]=C[h>>2];C[i+8>>2]=m;Oj(i);Re(C[h+16>>2]);C[h+16>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;Re(C[h+28>>2]);C[h+28>>2]=0;C[h+20>>2]=0;C[h+24>>2]=0;C[h>>2]=C[i+24>>2];C[i+24>>2]=h}Ce=l+16|0;if(!d){break H}h=C[n+4>>2];if(h>>>0>>0){e=h}C[n+4>>2]=h-e;C[n+8>>2]=C[n+8>>2]+e;C[n>>2]=C[n>>2]+(e<<1);f=f+1|0;if((P|0)!=(f|0)){continue}break}break H}C[i+20>>2]=l}Ce=J+16|0;P:{if(d){Pj(i,L,yi(i,1));break P}e=C[i+40>>2];if(C[i+20>>2]|!e){break P}C[i+40>>2]=C[e+32>>2];f=C[e+4>>2];C[i+4>>2]=C[e>>2];C[i+8>>2]=f;Oj(i);Re(C[e+16>>2]);C[e+16>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;Re(C[e+28>>2]);C[e+28>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e>>2]=C[i+24>>2];C[i+24>>2]=e}Ce=p+32|0;if(!d){break F}d=j>>>0>>0?j:v;j=j-d|0;k=(d<<1)+k|0;d=o>>>0>>0?o:v;o=o-d|0;X=(d<<2)+X|0;q=q+1|0;if($>>>0>q>>>0){continue}break}}f=0;l=0;p=0;o=Ce-16|0;Ce=o;v=t+2|0;A[v|0]=0;A[v+1|0]=0;r=Ei(i);C[o+8>>2]=C[Q+8>>2];d=C[Q+4>>2];C[o>>2]=C[Q>>2];C[o+4>>2]=d;q=Ce-16|0;Ce=q;Q:{if(C[i+20>>2]){break Q}m=r+2|0;d=C[i+4>>2];e=m-d|0;if(!((e|0)>=0&(e|0)<=(C[i+8>>2]-d|0))){C[i+20>>2]=4;break Q}f=m;if((d|0)!=(f|0)){We(d,0,e);f=C[i+4>>2]}C[i+4>>2]=e+f;if(!f){f=0;break Q}h=C[o>>2];R:{S:{d=C[o+4>>2];T:{if(d){f=(d<<1)+h|0;k=-2;j=d;e=h;while(1){L=k+1|0;k=j?e:84608;k=D[k|0]|D[k+1|0]<<8;k=(k<<8|k>>>8)&65535;l=((L|0)!=(k|0))+l|0;p=p+1|0;t=(j|0)!=0;j=j-t|0;e=(t<<1)+e|0;if(j|(f|0)!=(e|0)){continue}break}e=I(l,3)>>>0

>>0;f=e?512:256;A[r|0]=f;A[r+1|0]=f>>>8;if(e-1|0){break T}break S}A[r|0]=0;A[r+1|0]=1}if(C[i+20>>2]){f=0;break Q}k=4;j=r+4|0;e=C[i+4>>2];f=j-e|0;if((f|0)<0|(f|0)>(C[i+8>>2]-e|0)){break R}if((e|0)!=(j|0)){We(e,0,f);j=C[i+4>>2]}C[i+4>>2]=f+j;f=0;if(!j){break Q}e=d<<8|(d&65280)>>>8;A[m|0]=e;A[m+1|0]=e>>>8;e=C[i+20>>2];if(d>>>0>=65536){k=e|16;break R}if(e){break Q}j=(m+(d<<1&131070)|0)+2|0;e=C[i+4>>2];l=j-e|0;if((l|0)<0|(l|0)>(C[i+8>>2]-e|0)){break R}if((e|0)!=(j|0)){We(e,0,l);j=C[i+4>>2]}C[i+4>>2]=j+l;if(!j){break Q}f=1;if(!d){break Q}l=d&1;e=0;U:{if((d|0)==1){d=1;break U}r=d&-2;j=0;while(1){k=m+(e<<1)|0;p=d?h:84608;p=D[p|0]|D[p+1|0]<<8;A[k+2|0]=p;A[k+3|0]=p>>>8;p=m+((e|1)<<1)|0;k=(d|0)!=0;h=(k<<1)+h|0;t=(d|0)==(k|0);x=t?84608:h;x=D[x|0]|D[x+1|0]<<8;A[p+2|0]=x;A[p+3|0]=x>>>8;e=e+2|0;p=!t;h=h+(p<<1)|0;d=d-(k+p|0)|0;j=j+2|0;if((r|0)!=(j|0)){continue}break}}if(!l){break Q}e=m+(e<<1)|0;d=d?h:84608;d=D[d|0]|D[d+1|0]<<8;A[e+2|0]=d;A[e+3|0]=d>>>8;break Q}C[q+8>>2]=C[o+8>>2];d=C[o+4>>2];C[q>>2]=C[o>>2];C[q+4>>2]=d;l=0;k=0;V:{if(C[i+20>>2]){break V}W:{e=r+4|0;f=C[i+4>>2];j=e-f|0;if(!((j|0)>=0&(j|0)<=(C[i+8>>2]-f|0))){break W}d=e;if((f|0)!=(d|0)){We(f,0,j);d=C[i+4>>2]}p=d+j|0;C[i+4>>2]=p;if(!d){break V}f=C[q+4>>2];if(!f){A[r+2|0]=0;A[r+3|0]=0;k=1;break V}m=C[q>>2];t=m+(f<<1)|0;j=-2;d=f;h=m;while(1){k=j+1|0;j=d?h:84608;j=D[j|0]|D[j+1|0]<<8;j=(j<<8|j>>>8)&65535;l=((k|0)!=(j|0))+l|0;k=(d|0)!=0;d=d-k|0;h=(k<<1)+h|0;if(d|(t|0)!=(h|0)){continue}break}k=0;if(C[i+20>>2]){break V}d=e-p|0;if(!((d|0)>=0&(d|0)<=(C[i+8>>2]-p|0))){break W}if((e|0)!=(p|0)){We(p,0,d);e=C[i+4>>2]}C[i+4>>2]=d+e;X:{if(!e){break X}h=r+2|0;d=l<<8|(l&65280)>>>8;A[h|0]=d;A[h+1|0]=d>>>8;d=C[i+20>>2];if(l>>>0>=65536){C[i+20>>2]=d|16;break V}if(d){break X}d=(h+I(l,6)|0)+2|0;e=C[i+4>>2];j=d-e|0;if(!((j|0)>=0&(j|0)<=(C[i+8>>2]-e|0))){break W}if((d|0)!=(e|0)){We(e,0,j);d=C[i+4>>2]}C[i+4>>2]=d+j;if(!d){break X}e=-2;d=-1;j=0;while(1){l=e+1|0;e=f?m:84608;k=D[e|0]|D[e+1|0]<<8;e=(k<<8|k>>>8)&65535;if((l|0)!=(e|0)){d=d+1|0;l=D[h|0]|D[h+1|0]<<8;Y:{if(d>>>0>=((l<<8|l>>>8)&65535)>>>0){B[208858]=D[85002]|D[85003]<<8;C[104428]=D[84998]|D[84999]<<8|(D[85e3]<<16|D[85001]<<24);l=417712;break Y}l=(h+I(d,6)|0)+2|0}A[l|0]=k;A[l+1|0]=k>>>8;l=D[h|0]|D[h+1|0]<<8;Z:{if(((l<<8|l>>>8)&65535)>>>0<=d>>>0){B[208858]=D[85002]|D[85003]<<8;C[104428]=D[84998]|D[84999]<<8|(D[85e3]<<16|D[85001]<<24);l=417712;break Z}l=(h+I(d,6)|0)+2|0}r=j<<8|(j&65280)>>>8;A[l+4|0]=r;A[l+5|0]=r>>>8}l=D[h|0]|D[h+1|0]<<8;_:{if(((l<<8|l>>>8)&65535)>>>0<=d>>>0){B[208858]=D[85002]|D[85003]<<8;C[104428]=D[84998]|D[84999]<<8|(D[85e3]<<16|D[85001]<<24);l=417712;break _}l=(h+I(d,6)|0)+2|0}A[l+2|0]=k;A[l+3|0]=k>>>8;k=1;j=j+1|0;l=(f|0)!=0;f=f-l|0;m=(l<<1)+m|0;if(f|(t|0)!=(m|0)){continue}break}}break V}C[i+20>>2]=4}f=k;break Q}C[i+20>>2]=k;f=0}Ce=q+16|0;$:{if(f){Pj(i,v,yi(i,1));break $}d=C[i+40>>2];if(C[i+20>>2]|!d){break $}C[i+40>>2]=C[d+32>>2];e=C[d+4>>2];C[i+4>>2]=C[d>>2];C[i+8>>2]=e;Oj(i);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[i+24>>2];C[i+24>>2]=d}Ce=o+16|0;r=f}Ce=u+32|0;if(!r){break E}M=1;aa:{if(!(D[U+4|0]|D[U+5|0]<<8)){B[208856]=E[42304];d=417712;break aa}d=U+6|0}Pj(i,d,yi(i,1));break D}d=C[i+40>>2];if(C[i+20>>2]|!d){break D}C[i+40>>2]=C[d+32>>2];e=C[d+4>>2];C[i+4>>2]=C[d>>2];C[i+8>>2]=e;Oj(i);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[i+24>>2];C[i+24>>2]=d}Ce=n+160|0;j=C[g+1444>>2];ba:{if(!(!j&C[g+1468>>2]<0|!(j|D[g+1492|0]))){ca:{if(!C[g+1464>>2]){break ca}if(j){e=0;if(!(j&2)){break ba}C[g+1444>>2]=j|1;break ba}j=0;if(F[g+1472>>2]<2){break ca}d=g+1424|0;yi(d,0);fr(d);j=C[g+1444>>2]}e=0;if(!(!j&M)){break ba}f=C[g+1432>>2];j=C[g+1436>>2]-f|0;h=C[g+1424>>2];d=C[g+1428>>2]-h|0;k=j+d|0;if(!k){break ba}k=kf(k);if(!k){break ba}e=jf(k,h,d);jf(d+e|0,f,j);break ba}C[g+1444>>2]=1;e=0}ar(g+1424|0);break h}ar(g+112|0)}C[_+28>>2]=e;if(!e){break e}d=I(K,24)+H|0;C[d+56>>2]=0;f=d+48|0;C[f>>2]=0;C[f+4>>2]=0;C[g+212>>2]=f;C[g+208>>2]=0;zt(e,g+208|0);C[d+68>>2]=0;d=d+60|0;C[d>>2]=0;C[d+4>>2]=0;C[g+212>>2]=d;C[g+208>>2]=0;f=D[e+4|0]|D[e+5|0]<<8;if(f){d=D[e|0]|D[e+1|0]<<8;h=(d<<8|d>>>8)&65535;d=e+4|0;f=(f<<8|f>>>8)&65535;k=f>>>0<=1?1:f;j=0;while(1){f=D[d|0]|D[d+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=j>>>0?84608:(d+(j<<1)|0)+2|0;f=D[f|0]|D[f+1|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=84608}Qn(f,g+208|0,h);j=j+1|0;if((k|0)!=(j|0)){continue}break}}K=K+1|0}O=O+1|0;if((O|0)!=5){j=C[a+44>>2];continue}break}A[H+4|0]=1;C[H>>2]=K;if(!K){break d}G=H;break c}Re(H)}Ce=g+1904|0;e=G;if(C[T+32>>2]){break b}C[T+32>>2]=e}a=sh(W+12|0,0,b,c);b=C[e>>2];if(!b){break a}c=0;while(1){f=(c<<2)+e|0;d=C[f+28>>2];if(d){b=C[f+8>>2];C[a+36>>2]=0;C[a+120>>2]=b;C[a+28>>2]=0;C[a+32>>2]=0;f=C[a+132>>2];C[a+12>>2]=f;j=C[a+124>>2]==1;A[a+16|0]=j;C[a+80>>2]=0;C[a+20>>2]=b;A[a+17|0]=D[a+142|0];C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=f;C[a+64>>2]=-1;A[a+61|0]=1;A[a+60|0]=j|D[a+141|0]!=0;C[a+8>>2]=a;C[a+52>>2]=a;h=(I(c,24)+e|0)+48|0;f=C[a+100>>2];da:{if(!C[f+80>>2]){break da}b=C[a+120>>2];if(!b){break da}j=D[d+2|0]|D[d+3|0]<<8;k=j<<8|j>>>8;j=k&65535;if(k&16){k=j;j=D[d+4|0]|D[d+5|0]<<8;j=d+(((j<<8|j>>>8)&65535)<<1)|0;j=D[j+6|0]|D[j+7|0]<<8;j=k|(j<<24|j<<8&16711680)}C[a+132>>2]=j;C[a- -64>>2]=-1;A[a+61|0]=1;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+12>>2]=j;C[a+80>>2]=0;C[a+52>>2]=a;C[a+20>>2]=b;A[a+17|0]=D[a+142|0];C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=j;b=C[a+124>>2]==1;A[a+16|0]=b;A[a+60|0]=b|D[a+141|0]!=0;ea:{b=D[d|0]|D[d+1|0]<<8;fa:{if((b|0)!=1792){if((b|0)!=2048){break fa}break ea}j=E[42304];b=D[d+4|0]|D[d+5|0]<<8?D[d+6|0]|D[d+7|0]<<8:j;ga:{if(!(b&65535)){b=84608;break ga}b=d+((b<<8|(b&65280)>>>8)&65535)|0;j=D[b|0]|D[b+1|0]<<8}if((j&65535)!=256){break fa}if((D[b+2|0]|D[b+3|0]<<8)==2048){break ea}}C[f+84>>2]=0;C[f+76>>2]=0;A[f+73|0]=1;A[f+74|0]=0;C[f+96>>2]=C[f+92>>2];C[f+76>>2]=0;Xn(a,h);gh(f);break da}C[f+76>>2]=C[f+80>>2]-1;Dt(a,h)}b=C[e>>2]}c=c+1|0;if(c>>>0>>0){continue}break}break a}G=0;if(!(!e|!C[e>>2])){while(1){f=(G<<2)+e|0;ha:{if(!C[f+28>>2]){break ha}d=I(G,24)+e|0;Re(C[d+68>>2]);C[d+68>>2]=0;C[d+60>>2]=0;C[d+64>>2]=0;if(!D[e+4|0]){break ha}Re(C[f+28>>2])}G=G+1|0;if(G>>>0>2]){continue}break}Re(e)}continue}}Ce=W+160|0}function IA(a,b){a=a|0;b=b|0;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;if((a|0)>0){while(1){e=C[(c<<2)+b>>2];a:{if(Se(e,15822)){if(Se(e,12399)){break a}}C[97704]=1}c=c+1|0;if((c|0)!=(a|0)){continue}break}}C[97706]=0;C[97707]=0;We(390832,0,26616);h=Ce-160|0;Ce=h;b:{if(!Nj(48)){if(C[94434]){a=h+140|0;c=Ce-16|0;Ce=c;b=C[105780];c:{if(!b){Qe(19865,0);d=-1;break c}e=C[b+372>>2];if((e|0)<=0){d=-1;C[c>>2]=e-1;Qe(21451,c);break c}if(!a){break c}b=C[b+376>>2];e=C[b+20>>2];C[a>>2]=C[b+16>>2];C[a+4>>2]=e;C[a+16>>2]=C[b+32>>2];e=C[b+28>>2];C[a+8>>2]=C[b+24>>2];C[a+12>>2]=e}Ce=c+16|0;d:{if(d){C[105732]=128;C[105731]=422944;a=34979;e:{if(!C[105730]){break e}a=C[105731]}C[h+112>>2]=a;Tg(30188,h+112|0);d=C[h+148>>2];a=C[h+144>>2];break d}a=C[h+144>>2];if(C[97704]){C[94433]=a;d=C[h+148>>2];C[94432]=d;break d}k=+(a|0)*.8;f:{if(K(k)<2147483648){b=~~k;break f}b=-2147483648}C[94433]=b;d=C[h+148>>2];k=+(d|0)*.8;g:{if(K(k)<2147483648){b=~~k;break g}b=-2147483648}C[94432]=b}C[h+100>>2]=d;C[h+96>>2]=a;Tg(34476,h+96|0)}El(23984,29920);c=C[94433];e=C[94432];a=0;b=Ce-128|0;Ce=b;h:{if(!C[105780]){if((Nj(32)|0)<0){break h}}i:{d=(c|0)<=1?1:c;if(d>>>0<=16384){e=(e|0)<=1?1:e;if(e>>>0<16385){break i}}Qe(30151,0);break h}bg(23049,0);a=If(1,176);if(!a){a=0;_e(0);break h}c=C[105780];C[a>>2]=c+388;g=c;c=C[c+392>>2];C[g+392>>2]=c+1;C[a+28>>2]=e;C[a+24>>2]=d;C[a+20>>2]=536805376;C[a+16>>2]=536805376;C[a+4>>2]=c;c=Ch(a);f=C[105780];i=(c|0)>=0?C[f+376>>2]+I(c,72)|0:0;g=C[f+372>>2];j:{if((g|0)>0){f=C[f+376>>2];c=0;while(1){if((f+I(c,72)|0)==(i|0)){break j}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}rq(c,b+92|0);C[a+16>>2]=C[b+92>>2]+((C[b+100>>2]-d|0)/2|0);c=C[b+96>>2]+((C[b+104>>2]-e|0)/2|0)|0;C[a+20>>2]=c;e=C[a+24>>2];d=C[a+28>>2];C[a+60>>2]=C[a+16>>2];C[a+72>>2]=d;C[a+68>>2]=e;C[a- -64>>2]=c;C[a+96>>2]=1065353216;C[a+100>>2]=1065353216;C[a+52>>2]=40;C[a+48>>2]=40;c=C[C[105780]+380>>2];C[a+124>>2]=0;C[a+172>>2]=c;m=a,n=Ch(a),C[m+56>>2]=n;c=C[105780];e=C[c+380>>2];if(e){C[e+168>>2]=a}C[c+380>>2]=a;k:{e=C[c+36>>2];if(!e){break k}if((Fe[e|0](c,a)|0)>=0){break k}sq(a);a=0;break h}c=C[a+48>>2];if(c&64){C[a+48>>2]=c&-65}c=C[105780];l:{if(!c){Qe(19865,0);break l}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break l}c=C[a+8>>2];m:{if((c|0)==16024){break m}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}m=a,n=Sg(16024),C[m+8>>2]=n;c=C[105780];e=C[c+44>>2];if(!e){break m}Fe[e|0](c,a)}}kz(a,32);c=C[a+48>>2];ci(a,(c^-1)>>>6&1&(c&5)==5)}Ce=b+128|0;C[97707]=a;if(!a){break b}a=Zq(a,4);C[97706]=a;if(!a){a=Zq(C[97707],0);C[97706]=a;if(!a){break b}}if(C[97704]){jz(C[97707],1);a=C[97706]}b=Ce-16|0;Ce=b;n:{if(!(C[a>>2]==422837?a:0)){C[b>>2]=9675;Qe(19745,b);break n}G[a+368>>2]=2;G[a+372>>2]=2}Ce=b+16|0;C[h+88>>2]=0;C[h+92>>2]=1073741824;C[h+80>>2]=16024;Tg(30091,h+80|0);Bj(C[97706],0,0,0,0);if((Gs(3)&3)!=3){C[105732]=128;C[105731]=422944;a=34979;o:{if(!C[105730]){break o}a=C[105731]}C[h+64>>2]=a;Hj(34357,h- -64|0)}p:{q:{a=C[104420];if(!a){b=kf(16);if(b){C[b+12>>2]=869;C[b+4>>2]=870;C[b>>2]=0;C[b+8>>2]=871}a=7;r:{if(!b){break r}e=Ce-16|0;Ce=e;a=6;s:{if(!b){break s}c=hf(b,192,e+12|0);a=C[e+12>>2];if(a){break s}C[c>>2]=b;C[c+164>>2]=0;C[c+168>>2]=0;C[c+188>>2]=1;a=0;C[c+12>>2]=0;C[c+4>>2]=2;C[c+8>>2]=6;C[104421]=c}Ce=e+16|0;if(a){Re(b);break r}a=C[104421];Mg(a,207336);Mg(a,284628);Mg(a,286200);Mg(a,207656);Mg(a,288116);Mg(a,219044);Mg(a,290140);Mg(a,291040);Mg(a,218496);Mg(a,219696);Mg(a,220360);Mg(a,220292);Mg(a,282568);Mg(a,283212);Mg(a,284424);Mg(a,284484);Mg(a,284544);Mg(a,211552);a=0}if(a){break q}a=C[104420]}C[104420]=a+1;a=0;break p}Qe(17087,0);a=-1}if(!a){a=gi(15609,21803);if(a){t:{u:{v:{if(!C[104420]){Qe(19786,0);if(!a){break v}break u}if(!a){Qe(18774,0);a=0;break t}c=Fe[C[a+4>>2]](a,0,0,1)|0;if((Ee|0)<0){Qe(13198,0);break u}e=Fe[C[94762]](22132)|0;if(e){C[94766]=C[94766]+1}if(!e){Qe(1277,0);break u}mf(e,0,22132);C[e+22072>>2]=1;C[e+22068>>2]=a;b=Fe[C[94762]](40)|0;if(b){C[94766]=C[94766]+1}w:{if(!b){Qe(1277,0);break w}mf(b,0,40);C[b+12>>2]=a;C[b+20>>2]=84;C[b+8>>2]=c;m=b,n=(Fe[C[a>>2]](a)|0)-c|0,C[m+4>>2]=n;C[e+22092>>2]=b;C[e+22076>>2]=2;x:{y:{z:{if($p(C[104421],e+22076|0,0,e)){break z}b=C[e>>2];if(!b){break z}a=b;c=C[a+36>>2];if((c|0)<=0){break x}f=C[b+40>>2];a=0;while(1){d=C[f+(a<<2)>>2];if(E[d+8>>1]==3&E[d+10>>1]==10){break y}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=b;if((c|0)<=0){break x}f=C[b+40>>2];a=0;while(1){A:{B:{C:{d=C[f+(a<<2)>>2];switch(E[d+8>>1]){case 0:break y;case 3:break B;case 2:break C;default:break A}}if(E[d+10>>1]==1){break y}break A}if(E[d+10>>1]<2){break y}}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=b;break x}Qe(17409,0);break w}qj(b,d);a=C[e>>2]}C[e+22120>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e+28>>2]=1;a=C[a+8>>2];C[e+22112>>2]=0;C[e+22116>>2]=16;C[e+32>>2]=a>>>6&1;a=Fe[C[94762]](192)|0;if(a){C[94766]=C[94766]+1}C[e+22108>>2]=a;if(!a){Qe(1277,0);break w}a=C[b+104>>2];D:{if(!C[a+20>>2]){j=zr(C[a>>2],C[a+4>>2],1,b,0);a=j;i=C[b+4>>2];d=Ce-48|0;Ce=d;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;A[d+40|0]=0;C[d+36>>2]=65536;c=a?a:84608;E:{if(!c){break E}a=C[c>>2];if(!a){break E}C[c>>2]=a+1}F:{if(!c){break F}a=C[c>>2];if(!a){break F}C[c>>2]=a+1}A[d+24|0]=0;a=c;C[d+32>>2]=a;f=C[a+12>>2];C[d+4>>2]=f;g=C[a+16>>2];C[d+8>>2]=g+f;C[d+28>>2]=0;if(g>>>0>67108862){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[d+12>>2]=g;C[d+20>>2]=0;C[d>>2]=0;G:{H:{if(!f){break H}I:{J:{K:{L:{if(on(f,d)){break L}M:{if(D[d+24|0]|!C[d+28>>2]){break M}a=Pf(c);C[d+4>>2]=a;C[d+8>>2]=a+C[c+16>>2];if(!a){break M}while(1){A[d+24|0]=1;a=C[d+32>>2];f=C[a+12>>2];C[d+4>>2]=f;g=C[a+16>>2];C[d+8>>2]=g+f;C[d+28>>2]=0;if(g>>>0<=67108862){g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}else{g=1073741823}C[d+12>>2]=g;C[d+20>>2]=0;C[d>>2]=0;if(!f){break H}if(on(f,d)){break L}if(D[d+24|0]|!C[d+28>>2]){break M}a=Pf(c);C[d+4>>2]=a;C[d+8>>2]=a+C[c+16>>2];if(a){continue}break}}Ue(C[d+32>>2]);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;break K}if(!C[d+28>>2]){break J}C[d+28>>2]=0;a=on(f,d);f=C[d+28>>2];Ue(C[d+32>>2]);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;if(f){break K}if(a){break I}}Ue(c);c=84608;break G}Ue(C[d+32>>2]);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break G}Ue(a);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}f=df(1,8);N:{if(!f){Ue(c);a=378096;break N}C[f+4>>2]=i;C[f>>2]=c;a=df(1,204);O:{if(!a){Ue(c);Re(f);a=378096;break O}C[a+32>>2]=-1;C[a+20>>2]=87;C[a+16>>2]=f;C[a+12>>2]=88;C[a>>2]=1;C[a+4>>2]=1;C[a+36>>2]=a;C[a+48>>2]=a}C[a+24>>2]=i}Ce=d+48|0;Ue(j);break D}a=df(1,204);P:{if(!a){a=378096;break P}C[a+32>>2]=-1;C[a+20>>2]=0;C[a+16>>2]=b;C[a+12>>2]=125;C[a>>2]=1;C[a+4>>2]=1;C[a+36>>2]=a;C[a+48>>2]=a}}if(C[a+4>>2]){C[a+24>>2]=C[b+4>>2]}if(C[a+4>>2]){C[a+28>>2]=E[b+68>>1]}c=df(1,96);Q:{if(!c){yw(378736);c=378736;break Q}C[c>>2]=1;C[c+4>>2]=1;d=a?a:378096;if(C[d+4>>2]){C[d+4>>2]=0}C[c+12>>2]=378736;R:{if(!d){break R}f=C[d>>2];if(!f){break R}C[d>>2]=f+1}C[c+72>>2]=378516;C[c+16>>2]=d;C[c+84>>2]=c;d=vl(d);C[c+40>>2]=65536;C[c+44>>2]=0;C[c+20>>2]=d;C[c+24>>2]=d;C[c+32>>2]=65536;C[c+36>>2]=0;yw(c)}jr(a);a=C[b+92>>2];if(a){a=C[a+4>>2]==1937337698}else{a=0}d=df(1,1044);if(d){A[d+13|0]=0;A[d+12|0]=a;C[d+4>>2]=b;C[d+8>>2]=2;We(d+20|0,255,1024);while(1){S:{a=C[104423];if(a){break S}a=az();Iy(a,126);Ey(a,127);Ay(a,128);Vy(a,129);qy(a,130);if(C[a+4>>2]){b=C[a+104>>2];if(b){Fe[b|0](C[a+36>>2])}C[a+104>>2]=0;C[a+36>>2]=0;C[a+172>>2]=131}ky(a,132);if(C[a+4>>2]){b=C[a+124>>2];if(b){Fe[b|0](C[a+56>>2])}C[a+124>>2]=0;C[a+56>>2]=0;C[a+192>>2]=133}$x(a,134);if(C[a+4>>2]){b=C[a+136>>2];if(b){Fe[b|0](C[a+68>>2])}C[a+136>>2]=0;C[a+68>>2]=0;C[a+204>>2]=135}Sx(a,136);Px(a,137);if(C[a+4>>2]){C[a+4>>2]=0}b=a?a:378516;a=C[104423];if(!a){C[104423]=b;a=b;break S}if(!b){break S}if((b|0)==378516){continue}Vm(b);continue}break}wx(c,a,d,124)}if(C[c+80>>2]==124){a=C[C[c+76>>2]+4>>2];b=E[a+68>>1];d=C[a+88>>2];a=C[d+16>>2];f=mT(b,0,a,a>>31);a=Ee;d=C[d+20>>2];b=mT(d,d>>31,b,0);g=a+1|0;d=a;a=f+32768|0;g=((a>>>0<32768?g:d)&65535)<<16|a>>>16;a=Ee;j=a+1|0;d=a;a=b+32768|0;ux(c,g,((a>>>0<32768?j:d)&65535)<<16|a>>>16)}C[e+22128>>2]=c;if(!c){Qe(3801,0);break w}if(!(!C[c+4>>2]|C[c+80>>2]!=124)){C[C[c+76>>2]+8>>2]=C[e+22120>>2]}T:{U:{a=e;c=C[a>>2];if(A[c+8|0]&1){b=Ce-32|0;Ce=b;C[b+12>>2]=0;C[b+24>>2]=72;C[b+28>>2]=72;C[b+16>>2]=640;C[b+20>>2]=640;c=Xx(c,b+12|0);Ce=b+32|0;if(!c){break U}Qe(15958,0);b=-1;break T}b=C[c+28>>2];if((b|0)<=0){Qe(7483,0);b=-1;break T}b=b-1|0;if(!Yp(c,b>>>0>10?10:b)){break U}Qe(15981,0);b=-1;break T}ns(e);d=0;while(1){b=e+I(d,84)|0;V:{if(!C[b+52>>2]){break V}C[b+52>>2]=0;C[b+56>>2]=0;c=C[b+84>>2];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[b+84>>2]=0}c=C[b+60>>2];if(!c){break V}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[b+60>>2]=0}d=d+1|0;if((d|0)!=256){continue}break}b=C[e+22128>>2];if(C[b+80>>2]==124){c=C[C[b+76>>2]+4>>2];d=E[c+68>>1];f=C[c+88>>2];c=C[f+16>>2];i=mT(d,0,c,c>>31);c=Ee;f=C[f+20>>2];d=mT(f,f>>31,d,0);g=b;b=i+32768|0;j=((b>>>0<32768?c+1|0:c)&65535)<<16|b>>>16;b=Ee;f=b+1|0;c=b;b=d+32768|0;ux(g,j,((b>>>0<32768?f:c)&65535)<<16|b>>>16)}b=0}if((b|0)>=0){break t}Qe(15958,0)}rs(e)}a=0;break t}Fe[C[a+16>>2]](a)|0;a=0}}else{a=0}C[99551]=-754974721;C[99552]=-1274410486;C[99549]=a;C[h+140>>2]=0;d=0;while(1){C[h+32>>2]=d;a=h+140|0;km(a,4,14595,h+32|0);C[h+28>>2]=C[99551];m=398216,n=Jl(C[99549],a,h+28|0),C[m>>2]=n;Gl(C[99549],2);C[h+24>>2]=C[99552];m=398212,n=Jl(C[99549],a,h+24|0),C[m>>2]=n;Gl(C[99549],0);C[99555]=2;C[99556]=2;a=C[99554];C[99557]=C[a+8>>2];C[99558]=C[a+12>>2];if(a){zg(a,1)}di(C[99554],0,C[99553],398220);b=C[99553];c=C[b+4>>2];a=I(d,60)+398240|0;C[a>>2]=C[b>>2];C[a+4>>2]=c;C[a+56>>2]=C[b+56>>2];c=C[b+52>>2];C[a+48>>2]=C[b+48>>2];C[a+52>>2]=c;c=C[b+44>>2];C[a+40>>2]=C[b+40>>2];C[a+44>>2]=c;c=C[b+36>>2];C[a+32>>2]=C[b+32>>2];C[a+36>>2]=c;c=C[b+28>>2];C[a+24>>2]=C[b+24>>2];C[a+28>>2]=c;c=C[b+20>>2];C[a+16>>2]=C[b+16>>2];C[a+20>>2]=c;c=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=c;m=(d<<2)+416240|0,n=hn(C[97706],a),C[m>>2]=n;d=d+1|0;if((d|0)!=300){continue}break}C[h+16>>2]=-1;a=h+140|0;km(a,4,14595,h+16|0);C[h+12>>2]=C[99551];m=398216,n=Jl(C[99549],a,h+12|0),C[m>>2]=n;Gl(C[99549],2);C[h+8>>2]=C[99552];m=398212,n=Jl(C[99549],a,h+8|0),C[m>>2]=n;Gl(C[99549],0);C[99555]=2;C[99556]=2;a=C[99554];C[99557]=C[a+8>>2];C[99558]=C[a+12>>2];if(a){zg(a,1)}di(C[99554],0,C[99553],398220);a=C[99553];b=C[a+4>>2];C[104045]=C[a>>2];C[104046]=b;b=C[a+12>>2];C[104047]=C[a+8>>2];C[104048]=b;b=C[a+20>>2];C[104049]=C[a+16>>2];C[104050]=b;b=C[a+28>>2];C[104051]=C[a+24>>2];C[104052]=b;b=C[a+36>>2];C[104053]=C[a+32>>2];C[104054]=b;b=C[a+44>>2];C[104055]=C[a+40>>2];C[104056]=b;b=C[a+52>>2];C[104057]=C[a+48>>2];C[104058]=b;C[104059]=C[a+56>>2];m=417436,n=hn(C[97706],416180),C[m>>2]=n;Nf(C[99554]);Nf(C[99553]);C[104360]=0;C[104361]=-1;C[97742]=0;C[97743]=0;C[97740]=3008;C[97736]=0;C[97737]=0;C[97735]=2981;C[97734]=3247;Yn();Ns();C[97713]=0;C[97714]=0;C[97711]=0;C[97712]=0;C[97727]=2;m=390912,n=Es(C[97706],15131),C[m>>2]=n;m=390916,n=Es(C[97706],15159),C[m>>2]=n;b=0;d=0;g=Ce-16|0;Ce=g;f=Ce-32|0;Ce=f;W:{X:{if(En(16)){break X}if((Nj(16)|0)>=0){break X}a=-1;break W}a=C[104368];if(a){if(!(E[208740]!=32784|D[417482]!=2)){C[104368]=a+1;a=0;break W}while(1){oz();if(C[104368]){continue}break}}C[f+28>>2]=0;C[f+24>>2]=3;B[f+16>>1]=2048;A[f+14|0]=2;B[f+12>>1]=32784;C[f+8>>2]=44100;c=f+8|0;i=Ce-112|0;Ce=i;Y:{if(!C[104538]){Qe(19810,0);break Y}j=C[c+16>>2];d=1;Z:{while(1){if(!C[(d<<2)+418272>>2]){break Z}d=d+1|0;if((d|0)!=16){continue}break}d=0;Qe(7980,0);break Y}gf(417476,c,24);if(!C[c>>2]){a=Ug(22457);_:{if(a){a=Zf(a);if(a){break _}}a=22050}C[104369]=a}if(!E[c+4>>1]){a=Ug(23739);$:{aa:{if(!a){break aa}if(!uf(a,28847)){e=8;break $}if(!uf(a,28850)){e=32776;break $}e=16;if(!uf(a,28583)){break $}if(!uf(a,28590)){break aa}if(!uf(a,28503)){e=4112;break $}if(!uf(a,28510)){e=36880;break $}if(!uf(a,23811)){break $}if(!uf(a,23818)){break aa}if(!uf(a,29085)){break $}e=32784;if(!uf(a,29089)){break $}e=32800;if(!uf(a,28623)){break $}if(!uf(a,28543)){e=36896;break $}if(!uf(a,23825)){break $}if(!uf(a,29567)){break $}e=33056;if(!uf(a,28630)){break $}if(!uf(a,28550)){e=37152;break $}if(!uf(a,23832)){break $}if(!uf(a,29571)){break $}}e=32784}B[208740]=e}ba:{a=D[c+6|0];if(!a){a=Ug(24188);if(a){a=Zf(a);A[417482]=a;if(a&255){break ba}}A[417482]=2;break ba}if(a>>>0<9){break ba}d=0;Qe(30053,0);break Y}ca:{if(E[c+8>>1]){break ca}a=Ug(24414);if(a){a=Zf(a);B[208742]=a;if(a&65535){break ca}}e=I(C[104369]/1e3|0,46);a=1;while(1){c=a;a=a<<1;if((c|0)<(e|0)){continue}break}B[208742]=c}a=128;da:{ea:{fa:{c=E[208740];switch(c-8|0){case 0:case 8:break da;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break ea;default:break fa}}if((c|0)==4112){break da}}a=0}A[417483]=a;C[104372]=I(E[208742],I(D[417482],c>>>3&31));e=Ug(27015);ga:{ha:{if(C[104557]){ia:{if(!e){break ia}if(!uf(e,18890)){break ia}d=0;Qe(18969,0);break Y}a=C[104568];if(C[a+68>>2]?0:a){break ga}a=C[104569];if(C[a+68>>2]?0:a){break ga}a=C[104570];if(C[a+68>>2]?0:a){break ga}a=C[104571];if(C[a+68>>2]?0:a){break ga}a=C[104572];if(C[a+68>>2]?0:a){break ga}a=C[104573];if(C[a+68>>2]?0:a){break ga}a=C[104574];if(C[a+68>>2]?0:a){break ga}a=C[104575];if(C[a+68>>2]?0:a){break ga}a=C[104576];if(C[a+68>>2]?0:a){break ga}a=C[104577];if(C[a+68>>2]?0:a){break ga}a=C[104578];if(C[a+68>>2]?0:a){break ga}a=C[104579];if(C[a+68>>2]?0:a){break ga}a=C[104580];if(C[a+68>>2]?0:a){break ga}a=C[104581];if(C[a+68>>2]?0:a){break ga}e=0;a=C[104582];if(C[a+68>>2]?0:a){break ga}c=C[104583];if(!c){a=0;break ha}a=0;if(!C[c+68>>2]){break ga}break ha}if(!e){e=0;a=0;break ha}a=C[104566];c=0;ja:{if(!a){break ja}while(1){ka:{if(!C[a>>2]){break ka}if(uf(C[a+4>>2],e)){break ka}c=C[a>>2];break ja}a=C[a+40>>2];if(a){continue}break}c=0}a=c}if(!(!e|(a|C[104559]))){d=0;Qe(30172,0);break Y}c=If(1,104);if(!c){d=0;_e(0);break Y}C[c>>2]=d+1;l=C[104370];C[c+4>>2]=C[104369];C[c+8>>2]=l;l=C[104372];C[c+12>>2]=C[104371];C[c+16>>2]=l;l=C[104374];C[c+20>>2]=C[104373];C[c+24>>2]=l;C[c+100>>2]=a;C[c+68>>2]=0;C[c+56>>2]=0;C[c- -64>>2]=1;C[c+60>>2]=1;la:{if(C[104550]!=266){break la}a=zj();C[c+80>>2]=a;if(a){break la}qg(c);d=0;Qe(14084,0);break Y}ma:{if(C[104560]){break ma}a=E[c+12>>1];if(!a){break ma}if(a){a=a-1|0;a=a>>>1|a;a=a>>>2|a;a=a>>>4|a;a=a>>>8|a;a=(a>>>16|a)+1|0}else{a=1}B[c+12>>1]=a}na:{if((Fe[C[104541]](c,e)|0)<0){break na}a=C[c+4>>2];if((a|0)!=C[104369]){C[104369]=a}a=E[c+8>>1]!=E[208740];e=D[c+10|0];if((e|0)!=D[417482]){A[417482]=e}a=a|E[c+12>>1]!=E[208742];ms(417476);e=C[104370];C[c+28>>2]=C[104369];C[c+32>>2]=e;e=C[104374];C[c+44>>2]=C[104373];C[c+48>>2]=e;e=C[104372];C[c+36>>2]=C[104371];C[c+40>>2]=e;if(a){e=Bn(E[208740],D[417482],C[104369],E[c+8>>1],D[c+10|0],C[c+4>>2]);C[c+52>>2]=e;if(!e){break na}}if(!C[c+20>>2]){e=hs(8192,C[104372]<<1);C[c+92>>2]=e;if(!e){qg(c);d=0;Qe(16200,0);break Y}C[c+48>>2]=c;C[c+44>>2]=271}e=C[c+16>>2];a=a?C[c+40>>2]:0;a=a>>>0>>0?e:a;C[c+76>>2]=a;a=Fe[C[94762]](a>>>0<=1?1:a)|0;if(a){C[94766]=C[94766]+1}C[c+72>>2]=a;if(!a){qg(c);d=0;_e(0);break Y}C[(d<<2)+418272>>2]=c;oa:{if(C[104555]){break oa}C[i+4>>2]=C[c>>2];C[i>>2]=80;e=i+16|0;rf(e,64,21130,i);a=If(1,60);pa:{if(!a){_e(0);a=0;break pa}d=!j<<16;C[a+8>>2]=-1;C[a+12>>2]=0;qa:{if(!e){break qa}e=Sg(e);C[a+36>>2]=e;if(e){break qa}_e(0);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=0;break pa}C[a+48>>2]=c;C[a+44>>2]=273;C[a+40>>2]=d;if((Qe(12540,0)|0)>=0){break pa}e=C[a+36>>2];if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=0}C[c+84>>2]=a;if(a){break oa}qg(c);d=0;Qe(20965,0);break Y}d=C[c>>2];break Y}qg(c);d=0;break Y}d=0;Qe(12373,0)}Ce=i+112|0;C[104375]=d;a=-1;if(!d){break W}c=0;C[104376]=8;e=Fe[C[94762]](480)|0;if(e){C[94766]=C[94766]+1}C[104377]=e;d=C[104376];if((d|0)>0){while(1){a=e+I(c,60)|0;C[a>>2]=0;C[a+4>>2]=0;C[a+44>>2]=128;C[a+16>>2]=128;C[a+20>>2]=0;C[a+36>>2]=0;C[a+40>>2]=128;C[a+56>>2]=0;C[a+24>>2]=-1;C[a+28>>2]=0;C[a+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Uu(128);m=417460,n=(Ug(28153)|0)!=0,C[m>>2]=n;a=0;ra:{sa:{c=C[104366];if((c|0)>0){while(1){if(!uf(C[C[104367]+(a<<2)>>2],26537)){break sa}a=a+1|0;c=C[104366];if((a|0)<(c|0)){continue}break}}a=Rf(C[104367],(c<<2)+4|0);if(!a){break sa}C[104367]=a;e=C[104366];c=e+1|0;C[104366]=c;C[a+(e<<2)>>2]=26537;break ra}c=C[104366]}a=0;ta:{ua:{if((c|0)>0){while(1){if(!uf(C[C[104367]+(a<<2)>>2],26399)){break ua}a=a+1|0;c=C[104366];if((a|0)<(c|0)){continue}break}}a=Rf(C[104367],(c<<2)+4|0);if(!a){break ua}C[104367]=a;e=C[104366];c=e+1|0;C[104366]=c;C[a+(e<<2)>>2]=26399;break ta}c=C[104366]}a=0;va:{if((c|0)>0){while(1){if(!uf(C[C[104367]+(a<<2)>>2],28427)){break va}a=a+1|0;c=C[104366];if((a|0)<(c|0)){continue}break}}a=Rf(C[104367],(c<<2)+4|0);if(!a){break va}C[104367]=a;c=C[104366];C[104366]=c+1;C[a+(c<<2)>>2]=28427}xm(1);xm(2);a=C[104374];C[104391]=C[104373];C[104392]=a;a=C[104372];C[104389]=C[104371];C[104390]=a;a=C[104370];C[104387]=C[104369];C[104388]=a;To(0);C[94438]=128;ui();if(!(!C[104393]|!C[C[C[104393]>>2]+36>>2])){a=C[104393];Fe[C[C[a>>2]+36>>2]](C[a+4>>2],C[94438])}si();k=+E[208742]*1e3/+C[104369];wa:{if(K(k)<2147483648){a=~~k;break wa}a=-2147483648}C[104394]=a;C[104368]=1;xa:{ya:{a=C[104375]-1|0;if(a>>>0<=15){a=C[(a<<2)+418272>>2];if(a){break ya}}Qe(27615,0);break xa}Fe[C[104550]](a);C[a- -64>>2]=0;Fe[C[104551]](a)}a=0}Ce=f+32|0;za:{if(!a){Aa:{if(xm(5)){To(5);b=16;break Aa}Qe(17797,0)}if(!(b&16)){break za}Uu(25);e=Ce-16|0;Ce=e;Ba:{Ca:{Da:{if(!C[94463]){break Da}a=C[94467];if(!a){break Da}c=377836;a=Fe[a|0](15560)|0;if(a){break Ca}}Ea:{if(!C[94443]){break Ea}a=C[94447];if(!a){break Ea}c=377756;a=Fe[a|0](15560)|0;if(a){break Ca}}c=gi(15560,21803);if(!c){C[e>>2]=15560;Qe(34119,e);b=0;break Ba}a=0;b=to(15560,46);Fa:{if(!b){break Fa}b=b+1|0;if(!wf(b,22805)){a=2;break Fa}a=4;if(!wf(b,27607)){break Fa}if(!wf(b,25896)){break Fa}if(!wf(b,24770)){break Fa}if(!wf(b,26362)){a=5;break Fa}if(!wf(b,23839)){a=10;break Fa}if(!wf(b,28466)){a=8;break Fa}a=6;if(!wf(b,26074)){break Fa}if(!wf(b,26366)){break Fa}if(!wf(b,29495)){break Fa}if(!wf(b,28271)){break Fa}Ga:{if(!wf(b,28815)){break Ga}if(!wf(b,26382)){break Ga}if(!wf(b,24184)){break Ga}if(!wf(b,25653)){break Ga}if(!wf(b,25632)){break Ga}if(!wf(b,24805)){break Ga}if(!wf(b,23547)){break Ga}if(!wf(b,27993)){break Ga}if(!wf(b,25845)){break Ga}if(!wf(b,27453)){break Ga}if(!wf(b,25670)){break Ga}if(!wf(b,25628)){break Ga}if(!wf(b,23150)){break Ga}if(!wf(b,23537)){break Ga}if(!wf(b,25624)){break Ga}if(!wf(b,25657)){break Ga}if(!wf(b,25620)){break Ga}if(!wf(b,23506)){break Ga}if(!wf(b,22623)){break Ga}if(!wf(b,22668)){break Ga}a=0;if(wf(b,25587)){break Fa}}a=3}b=Ce-16|0;Ce=b;Ha:{if(!c){a=0;Qe(25674,0);break Ha}i=Fe[C[c+4>>2]](c,0,0,1)|0;j=Ee;Ia:{if(a){break Ia}Ja:{if((Fe[C[c+8>>2]](c,b+4|0,1,12)|0)==12){Fe[C[c+4>>2]](c,-12,-1,1)|0;if(!sg(b+4|0,26394,4)){if(!sg(b+12|0,26537,4)){break Ja}}if(!sg(b+4|0,25636,4)){break Ja}if(sg(b+4|0,23806,4)){if(!sg(b+4|0,28422,4)){a=8;break Ia}a=4;if(!sg(b+4|0,19777,4)){break Ia}a=6;if(!sg(b+4|0,29499,3)|D[b+4|0]==255&(D[b+5|0]&254)==250){break Ia}a=3;break Ia}a=Fe[C[c+4>>2]](c,0,0,1)|0;d=Ee;Fe[C[c+4>>2]](c,28,0,1)|0;f=b+4|0;Fe[C[c+8>>2]](c,f,1,8)|0;Fe[C[c+4>>2]](c,a,d,0)|0;a=5;if(sg(f,21002,8)){break Ia}a=10;break Ia}a=0;Qe(21899,0);Fe[C[c+16>>2]](c)|0;break Ha}a=2}C[105732]=128;C[105731]=422944;C[105730]=0;Ka:{La:{if(!xm(a)){break La}if(!To(a)){break La}Ma:{if(!C[94463]|C[94461]!=(a|0)){break Ma}d=377836;f=C[94466];if(!f){break Ma}f=Fe[f|0](c,1)|0;if(f){break Ka}Fe[C[c+4>>2]](c,i,j,0)|0}if(!C[94443]|C[94441]!=(a|0)){break La}d=377756;a=C[94446];if(!a){break La}f=Fe[a|0](c,1)|0;if(f){break Ka}Fe[C[c+4>>2]](c,i,j,0)|0}C[105732]=128;C[105731]=422944;a=34979;Na:{if(!C[105730]){break Na}a=C[105731]}if(!D[a|0]){Qe(4871,0)}Fe[C[c+16>>2]](c)|0;a=0;break Ha}a=If(1,24);if(!a){Fe[C[d+68>>2]](f);a=0;Qe(1277,0);break Ha}C[a+4>>2]=f;C[a>>2]=d;if(!bg(24518,0)){break Ha}C[b>>2]=C[d>>2];Tg(34335,b)}Ce=b+16|0;b=a;break Ba}b=If(1,24);if(!b){b=0;Qe(1277,0);break Ba}C[b+4>>2]=a;C[b>>2]=c}Ce=e+16|0;C[99548]=b;b=0;ui();if(C[104393]){if(C[C[C[104393]>>2]+44>>2]){a=C[104393];a=Fe[C[C[a>>2]+44>>2]](C[a+4>>2])|0;C[C[104393]+8>>2]=a}b=C[C[104393]+8>>2]!=0}si();if(b){break za}b=C[99548];a=C[104394];Oa:{if(!a){Qe(20546,0);break Oa}if(!b){Qe(25696,0);break Oa}C[b+16>>2]=0;C[b+20>>2]=0/(a|0);C[b+12>>2]=0;ui();Pa:{if(!C[104393]){break Pa}while(1){if(C[C[104393]+12>>2]!=1){break Pa}si();ph(100);ui();if(C[104393]){continue}break}}if(C[104393]){if(C[C[C[104393]>>2]+64>>2]){a=C[104393];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104393]+8>>2]=0;C[C[104393]+12>>2]=0;C[104393]=0}a=0;C[104393]=b;C[C[104393]+8>>2]=1;Qa:{Ra:{if(C[C[104393]+12>>2]==2){if(C[C[C[104393]>>2]+36>>2]){break Ra}break Qa}a=C[94438];if(!C[C[C[104393]>>2]+36>>2]){break Qa}}c=C[104393];Fe[C[C[c>>2]+36>>2]](C[c+4>>2],a)}a=Fe[C[C[b>>2]+40>>2]](C[b+4>>2],-1)|0;Sa:{if(!a){a=0;if(!C[C[C[104393]>>2]+52>>2]){break Sa}b=C[104393];Fe[C[C[b>>2]+52>>2]](C[b+4>>2],0)|0;break Sa}if((a|0)>=0){break Sa}C[b+8>>2]=0;C[104393]=0}C[94437]=!a;si()}break za}C[105732]=128;C[105731]=422944;a=34979;Ta:{if(!C[105730]){break Ta}a=C[105731]}C[g>>2]=a;Hj(34429,g)}Ce=g+16|0;ss();C[97710]=0;Gc(1,0,1);break b}C[105732]=128;C[105731]=422944;a=34979;Ua:{if(!C[105730]){break Ua}a=C[105731]}C[h+48>>2]=a;Hj(34371,h+48|0);ea(1);s()}C[105732]=128;C[105731]=422944;a=34979;Va:{if(!C[105730]){break Va}a=C[105731]}C[h+128>>2]=a;Hj(8953,h+128|0)}Ce=h+160|0;return 0}function pm(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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;s=Ce-16|0;Ce=s;y=-2;a:{if(!C[a+36>>2]|(!a|!C[a+32>>2])){break a}f=C[a+28>>2];if(!f|C[f>>2]!=(a|0)){break a}h=C[f+4>>2];if(h-16180>>>0>31){break a}p=C[a+12>>2];if(!p){break a}d=C[a>>2];if(!(C[a+4>>2]?d:1)){break a}if((h|0)==16191){C[f+4>>2]=16192;h=16192}P=b-5|0;Q=f+92|0;G=f+756|0;H=f+116|0;K=f+88|0;I=f+112|0;z=f+1332|0;g=C[f+64>>2];J=C[a+4>>2];e=J;i=C[f+60>>2];n=C[a+16>>2];u=n;b:{c:{d:{e:{f:{g:while(1){c=-3;k=1;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:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{switch(h-16180|0){case 23:m=C[f+76>>2];c=d;h=e;break G;case 21:k=C[f+76>>2];break I;case 18:h=C[f+108>>2];break L;case 27:h=C[f+12>>2];break h;case 16:if(g>>>0>=14){break U}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0<=5){break V}d=h;e=k;g=c;break U;case 9:if(g>>>0>=32){break aa}if(!e){break f}c=d+1|0;h=e-1|0;i=(D[d|0]<>>0<=23){break ba}d=c;e=h;break aa;case 1:if(g>>>0>=16){break la}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0<=7){break ma}d=h;e=k;g=c;break la;case 28:break i;case 8:break l;case 7:break m;case 6:break n;case 5:break o;case 24:break F;case 22:break H;case 20:break J;case 19:break K;case 30:break b;case 26:break R;case 25:break S;case 17:break T;case 29:break c;case 15:break W;case 14:break X;case 13:break Y;case 12:break Z;case 11:break _;case 10:break $;case 4:break ea;case 3:break ha;case 2:break ka;case 0:break na;default:break a}}j=C[f+12>>2];if(!j){break Q}oa:{if(g>>>0>=16){break oa}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0>7){d=h;e=k;g=c;break oa}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;e=e-2|0;i=(D[d+1|0]<>2]){C[f+40>>2]=15}i=0;c=Wg(0,0,0);C[f+28>>2]=c;A[s+12|0]=31;A[s+13|0]=139;X=f,Y=Wg(c,s+12|0,2),C[X+28>>2]=Y;C[f+4>>2]=16181;g=0;h=C[f+4>>2];continue}c=C[f+36>>2];if(c){C[c+48>>2]=-1}if(!(!(((i<<8&65280)+(i>>>8|0)>>>0)%31|0)&(j&1))){C[a+24>>2]=14266;C[f+4>>2]=16209;h=C[f+4>>2];continue}if((i&15)!=8){C[a+24>>2]=19641;C[f+4>>2]=16209;h=C[f+4>>2];continue}h=i>>>4|0;j=h&15;k=j+8|0;l=j>>>0<=7;c=C[f+40>>2];if(!c){C[f+40>>2]=k;c=k}if(!(c>>>0>=k>>>0&l)){g=g-4|0;C[a+24>>2]=15892;C[f+4>>2]=16209;i=h;h=C[f+4>>2];continue}g=0;C[f+20>>2]=0;C[f+24>>2]=256<>2]=c;C[a+48>>2]=c;C[f+4>>2]=i&8192?16189:16191;i=0;h=C[f+4>>2];continue}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;e=e-2|0;i=(D[d+1|0]<>2]=i;if((i&255)!=8){C[a+24>>2]=19641;C[f+4>>2]=16209;h=C[f+4>>2];continue}if(i&57344){C[a+24>>2]=4676;C[f+4>>2]=16209;h=C[f+4>>2];continue}c=C[f+36>>2];if(c){C[c>>2]=i>>>8&1}if(!(!(i&512)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;X=f,Y=Wg(C[f+28>>2],s+12|0,2),C[X+28>>2]=Y}C[f+4>>2]=16182;g=0;i=0;break ja}if(g>>>0>31){break ia}}if(!e){break f}c=d+1|0;h=e-1|0;i=(D[d|0]<>>0>23){d=c;e=h;break ia}k=g+8|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+2|0;h=e-2|0;i=(D[d+1|0]<>>0>15){d=c;e=h;break ia}k=g+16|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+3|0;h=e-3|0;i=(D[d+2|0]<>>0>7){d=c;e=h;break ia}g=g+24|0;if(!h){d=c;e=0;c=o;break c}e=e-4|0;i=(D[d+3|0]<>2];if(c){C[c+4>>2]=i}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;A[s+14|0]=i>>>16;A[s+15|0]=i>>>24;X=f,Y=Wg(C[f+28>>2],s+12|0,4),C[X+28>>2]=Y}C[f+4>>2]=16183;g=0;i=0;break ga}if(g>>>0>15){break fa}}if(!e){break f}c=d+1|0;h=e-1|0;i=(D[d|0]<>>0>7){d=c;e=h;break fa}g=g+8|0;if(!h){d=c;e=0;c=o;break c}e=e-2|0;i=(D[d+1|0]<>2];if(c){C[c+12>>2]=i>>>8;C[c+8>>2]=i&255}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;X=f,Y=Wg(C[f+28>>2],s+12|0,2),C[X+28>>2]=Y}C[f+4>>2]=16184;h=0;g=0;i=0;c=C[f+20>>2];if(c&1024){break da}break q}c=C[f+20>>2];if(!(c&1024)){h=g;break q}h=i;if(g>>>0>15){break ca}}if(!e){e=0;i=h;c=o;break c}k=d+1|0;j=e-1|0;i=(D[d|0]<>>0>7){d=k;e=j;break ca}g=g+8|0;if(!j){d=k;e=0;c=o;break c}e=e-2|0;i=(D[d+1|0]<>2]=i;g=C[f+36>>2];if(g){C[g+20>>2]=i}g=0;if(!(!(c&512)|!(D[f+12|0]&4))){A[s+12|0]=i;A[s+13|0]=i>>>8;X=f,Y=Wg(C[f+28>>2],s+12|0,2),C[X+28>>2]=Y}i=0;break p}k=g+8|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+2|0;h=e-2|0;i=(D[d+1|0]<>>0>15){d=c;e=h;break aa}k=g+16|0;if(!h){d=c;e=0;g=k;c=o;break c}c=d+3|0;h=e-3|0;i=(D[d+2|0]<>>0>7){d=c;e=h;break aa}g=g+24|0;if(!h){d=c;e=0;c=o;break c}e=e-4|0;i=(D[d+3|0]<>>8&65280|i>>>24);C[f+28>>2]=c;C[a+48>>2]=c;C[f+4>>2]=16190;i=0;g=0}if(!C[f+16>>2]){C[a+16>>2]=n;C[a+12>>2]=p;C[a+4>>2]=e;C[a>>2]=d;C[f+64>>2]=g;C[f+60>>2]=i;y=2;break a}c=_j(0,0,0);C[f+28>>2]=c;C[a+48>>2]=c;C[f+4>>2]=16191}if(P>>>0<2){break j}}pa:{qa:{if(!C[f+8>>2]){if(g>>>0<3){break qa}break pa}C[f+4>>2]=16206;i=i>>>(g&7)|0;g=g&-8;h=C[f+4>>2];continue}if(!e){break f}e=e-1|0;i=(D[d|0]<>2]=i&1;h=16193;ra:{sa:{ta:{switch((i>>>1&3)-1|0){case 0:C[f+80>>2]=357712;C[f+88>>2]=9;C[f+92>>2]=5;C[f+84>>2]=359760;C[f+4>>2]=16199;if((b|0)!=6){break ra}g=g-3|0;i=i>>>3|0;c=o;break c;case 1:h=16196;break sa;case 2:break ta;default:break sa}}C[a+24>>2]=16909;h=16209}C[f+4>>2]=h}g=g-3|0;i=i>>>3|0;h=C[f+4>>2];continue}i=i>>>(g&7)|0;g=g&-8;ua:{if(g>>>0>31){break ua}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0>23){d=h;e=k;g=c;break ua}if(!k){d=h;e=0;g=c;c=o;break c}h=g+16|0;k=d+2|0;j=e-2|0;i=(D[d+1|0]<>>0>15){d=k;e=j;g=h;break ua}if(!j){d=k;e=0;g=h;c=o;break c}c=g+24|0;k=d+3|0;j=e-3|0;i=(D[d+2|0]<>>16|0)){C[a+24>>2]=7361;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16194;C[f+68>>2]=c;i=0;g=0;if((b|0)!=6){break X}break j}C[f+4>>2]=16195}c=C[f+68>>2];if(c){c=c>>>0>>0?c:e;c=c>>>0>>0?c:n;if(!c){break j}h=jf(p,d,c);C[f+68>>2]=C[f+68>>2]-c;p=c+h|0;n=n-c|0;d=c+d|0;e=e-c|0;h=C[f+4>>2];continue}C[f+4>>2]=16191;h=C[f+4>>2];continue}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;e=e-2|0;i=(D[d+1|0]<>2]=c+257;h=i>>>5&31;C[f+104>>2]=h+1;j=(i>>>10&15)+4|0;C[f+96>>2]=j;g=g-14|0;i=i>>>14|0;if(!(h>>>0<30&c>>>0<=29)){C[a+24>>2]=6955;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16197;h=0;C[f+108>>2]=0;break N}h=C[f+108>>2];j=C[f+96>>2];if(h>>>0>>0){break N}break M}if(!n){break E}A[p|0]=C[f+68>>2];C[f+4>>2]=16200;n=n-1|0;p=p+1|0;h=C[f+4>>2];continue}h=C[f+12>>2];if(!h){h=0;break O}va:{if(g>>>0>31){k=d;break va}if(!e){break f}c=g+8|0;k=d+1|0;j=e-1|0;i=(D[d|0]<>>0>23){e=j;g=c;break va}if(!j){d=k;e=0;g=c;c=o;break c}j=g+16|0;k=d+2|0;l=e-2|0;i=(D[d+1|0]<>>0>15){e=l;g=j;break va}if(!l){d=k;e=0;g=j;c=o;break c}c=g+24|0;k=d+3|0;l=e-3|0;i=(D[d+2|0]<>>0>7){e=l;g=c;break va}if(!l){d=k;e=0;g=c;c=o;break c}g=g+32|0;k=d+4|0;e=e-4|0;i=(D[d+3|0]<>2]=d+C[a+20>>2];C[f+32>>2]=d+C[f+32>>2];c=h&4;if(!(!c|(n|0)==(u|0))){c=p-d|0;h=C[f+28>>2];wa:{if(C[f+20>>2]){d=Wg(h,c,d);break wa}d=_j(h,c,d)}C[f+28>>2]=d;C[a+48>>2]=d;h=C[f+12>>2];c=h&4}if(!c|C[f+28>>2]==((C[f+20>>2]?i:i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))|0)){break P}C[a+24>>2]=14312;C[f+4>>2]=16209;d=k;u=n;h=C[f+4>>2];continue}C[f+4>>2]=16192;break s}d=k;i=0;g=0;u=n}C[f+4>>2]=16207;break h}while(1){if(g>>>0<=2){if(!e){break f}e=e-1|0;i=(D[d|0]<>2]=c;B[((E[(h<<1)+357664>>1]<<1)+f|0)+116>>1]=i&7;g=g-3|0;i=i>>>3|0;h=c;if((c|0)!=(j|0)){continue}break}h=j}if(h>>>0<=18){k=0;c=h;o=3-c&3;if(o){while(1){B[((E[(c<<1)+357664>>1]<<1)+f|0)+116>>1]=0;c=c+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(h-16>>>0>=3){while(1){o=f+116|0;h=c<<1;B[o+(E[h+357664>>1]<<1)>>1]=0;B[o+(E[h+357666>>1]<<1)>>1]=0;B[o+(E[h+357668>>1]<<1)>>1]=0;B[o+(E[h+357670>>1]<<1)>>1]=0;c=c+4|0;if((c|0)!=19){continue}break}}C[f+108>>2]=19}C[f+88>>2]=7;C[f+80>>2]=z;C[f+112>>2]=z;h=0;o=Go(0,H,19,I,K,G);if(o){C[a+24>>2]=4651;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16198;C[f+108>>2]=0;o=0}x=C[f+100>>2];t=x+C[f+104>>2]|0;if(t>>>0>h>>>0){v=-1<>2]^-1;r=C[f+80>>2];while(1){m=g;k=e;j=d;q=i&v;l=D[(r+(q<<2)|0)+1|0];xa:{if(l>>>0<=g>>>0){c=g;break xa}while(1){if(!k){break C}l=D[j|0]<>>0>c>>>0){continue}break}d=j;e=k}g=E[(r+(q<<2)|0)+2>>1];ya:{if(g>>>0<=15){k=h+1|0;C[f+108>>2]=k;B[((h<<1)+f|0)+116>>1]=g;g=c-l|0;i=i>>>l|0;h=k;break ya}za:{Aa:{Ba:{switch(g-16|0){case 0:g=l+2|0;if(g>>>0>c>>>0){while(1){if(!e){break r}e=e-1|0;i=(D[d|0]<>>0>c>>>0){continue}break}}g=c-l|0;c=i>>>l|0;if(!h){C[a+24>>2]=5775;C[f+4>>2]=16209;i=c;h=C[f+4>>2];continue g}g=g-2|0;i=c>>>2|0;k=(c&3)+3|0;c=E[((h<<1)+f|0)+114>>1];break za;case 1:g=l+3|0;if(g>>>0>c>>>0){while(1){if(!e){break r}e=e-1|0;i=(D[d|0]<>>0>c>>>0){continue}break}}g=(c-l|0)-3|0;c=i>>>l|0;i=c>>>3|0;k=(c&7)+3|0;break Aa;default:break Ba}}g=l+7|0;if(g>>>0>c>>>0){while(1){if(!e){break r}e=e-1|0;i=(D[d|0]<>>0>c>>>0){continue}break}}g=(c-l|0)-7|0;c=i>>>l|0;i=c>>>7|0;k=(c&127)+11|0}c=0}if(t>>>0>>0){break v}l=k-1|0;j=0;m=k&3;if(m){while(1){B[((h<<1)+f|0)+116>>1]=c;h=h+1|0;k=k-1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(l>>>0>=3){while(1){j=(h<<1)+f|0;B[j+118>>1]=c;B[j+116>>1]=c;B[j+120>>1]=c;B[j+122>>1]=c;h=h+4|0;k=k-4|0;if(k){continue}break}}C[f+108>>2]=h}if(h>>>0>>0){continue}break}}if(!E[f+628>>1]){C[a+24>>2]=14047;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+88>>2]=9;C[f+80>>2]=z;C[f+112>>2]=z;o=Go(1,H,x,I,K,G);if(o){C[a+24>>2]=4623;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+92>>2]=6;C[f+84>>2]=C[f+112>>2];o=Go(2,(C[f+100>>2]<<1)+H|0,C[f+104>>2],I,Q,G);if(o){C[a+24>>2]=4701;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16199;o=0;if((b|0)!=6){break K}c=0;break c}C[f+4>>2]=16200}if(!(e>>>0<6|n>>>0<258)){C[a+16>>2]=n;C[a+12>>2]=p;C[a+4>>2]=e;C[a>>2]=d;C[f+64>>2]=g;C[f+60>>2]=i;j=C[a+12>>2];c=C[a+16>>2];d=j+c|0;t=d+(u^-1)|0;m=C[a+28>>2];p=C[m+52>>2];R=(d+(p^-1)|0)-u|0;v=p&7;L=C[m+44>>2];S=p+L|0;x=d-257|0;T=(c-u|0)+j|0;g=C[a>>2];M=(g+C[a+4>>2]|0)-5|0;U=-1<>2]^-1;V=-1<>2]^-1;N=C[m+84>>2];O=C[m+80>>2];i=C[m+64>>2];l=C[m+60>>2];k=C[m+56>>2];W=C[m+48>>2];Ca:{Da:{while(1){if(i>>>0<=14){l=((D[g|0]<>>d|0;Ea:{Fa:{Ga:{while(1){d=D[e|0];if(!d){A[j|0]=D[e+2|0];j=j+1|0;break Fa}if(d&16){n=E[e+2>>1];d=d&15;Ha:{if(!d){c=g;d=l;break Ha}if(d>>>0<=i>>>0){c=g}else{l=(D[g|0]<>>d|0}if(i>>>0<=14){d=((D[c|0]<>>g|0;d=D[e|0];if(d&16){break Ga}while(1){if(!(d&64)){e=((E[e+2>>1]<<2)+N|0)+(((-1<>>d|0;d=D[e|0];if(!(d&16)){continue}break Ga}break}n=18746;g=c;break Ea}if(!(d&64)){e=((E[e+2>>1]<<2)+O|0)+(((-1<>>d|0;continue}break}n=18718;c=16191;if(d&32){break Da}break Ea}q=E[e+2>>1];e=d&15;Ia:{if(e>>>0<=i>>>0){d=i;g=c;break Ia}l=(D[c|0]<>>0<=d>>>0){break Ia}l=(D[c+1|0]<>>e|0;Ja:{r=c+q|0;d=j-T|0;if(r>>>0>d>>>0){h=r-d|0;if(!(!C[m+7108>>2]|h>>>0<=W>>>0)){n=14475;break Ea}Ka:{La:{if(!p){e=k+(L-h|0)|0;if(h>>>0>=n>>>0){break Ka}q=(q+(c+t|0)|0)-j|0;c=0;d=h;w=d&7;if(w){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}if(q>>>0<7){break La}while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}break La}if(h>>>0>p>>>0){e=k+(S-h|0)|0;h=h-p|0;if(h>>>0>=n>>>0){break Ka}q=(q+(c+R|0)|0)-j|0;c=0;d=h;w=d&7;if(w){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}if(q>>>0>=7){while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}}n=n-h|0;if(p>>>0>=n>>>0){e=k;break Ka}c=0;d=p;e=k;if(v){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}}if(p>>>0>=8){while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}}e=j-r|0;n=n-p|0;break Ka}e=k+(p-h|0)|0;if(h>>>0>=n>>>0){break Ka}q=(q+(c+t|0)|0)-j|0;c=0;d=h;w=d&7;if(w){while(1){A[j|0]=D[e|0];d=d-1|0;j=j+1|0;e=e+1|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}if(q>>>0<7){break La}while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];j=j+8|0;e=e+8|0;d=d-8|0;if(d){continue}break}}e=j-r|0;n=n-h|0}Ma:{if(n>>>0<3){break Ma}d=0;c=n-3|0;h=((c>>>0)/3|0)+1&3;if(h){while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];n=n-3|0;j=j+3|0;e=e+3|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(c>>>0<9){break Ma}while(1){A[j|0]=D[e|0];A[j+1|0]=D[e+1|0];A[j+2|0]=D[e+2|0];A[j+3|0]=D[e+3|0];A[j+4|0]=D[e+4|0];A[j+5|0]=D[e+5|0];A[j+6|0]=D[e+6|0];A[j+7|0]=D[e+7|0];A[j+8|0]=D[e+8|0];A[j+9|0]=D[e+9|0];A[j+10|0]=D[e+10|0];A[j+11|0]=D[e+11|0];j=j+12|0;e=e+12|0;n=n-12|0;if(n>>>0>2){continue}break}}if(!n){break Fa}A[j|0]=D[e|0];if((n|0)!=1){break Ja}j=j+1|0;break Fa}c=j-r|0;while(1){e=c;d=j;A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];A[d+2|0]=D[c+2|0];j=d+3|0;c=c+3|0;n=n-3|0;if(n>>>0>2){continue}break}if(!n){break Fa}A[d+3|0]=D[c|0];if((n|0)==1){j=d+4|0;break Fa}A[d+4|0]=D[e+4|0];j=d+5|0;break Fa}A[j+1|0]=D[e+1|0];j=j+2|0}if(g>>>0>=M>>>0){break Ca}if(j>>>0>>0){continue}break Ca}break}C[a+24>>2]=n;c=16209}C[m+4>>2]=c}C[a+12>>2]=j;d=g-(i>>>3|0)|0;C[a>>2]=d;C[a+16>>2]=(x-j|0)+257;C[a+4>>2]=(M-d|0)+5;d=i&7;C[m+64>>2]=d;C[m+60>>2]=(-1<>2];i=C[f+60>>2];e=C[a+4>>2];d=C[a>>2];n=C[a+16>>2];p=C[a+12>>2];if(C[f+4>>2]!=16191){break s}C[f+7112>>2]=-1;h=C[f+4>>2];continue}C[f+7112>>2]=0;k=g;h=e;c=d;t=C[f+80>>2];q=-1<>2]^-1;l=t+((q&i)<<2)|0;m=D[l+1|0];Na:{if(m>>>0<=g>>>0){j=g;break Na}while(1){if(!h){break w}l=D[c|0]<>>0>j>>>0){continue}break}}q=E[l+2>>1];k=D[l|0];Oa:{if((k-1&255)>>>0>14){l=m;m=0;d=c;e=h;break Oa}e=h;d=c;g=j;v=-1<>>m|0)+q<<2)|0;l=D[r+1|0];Pa:{if(g>>>0>=l+m>>>0){k=j;break Pa}while(1){if(!e){break x}l=D[d|0]<>>m|0)+q<<2)|0;l=D[r+1|0];if(g>>>0>>0){continue}break}}j=k-m|0;i=i>>>m|0;k=D[r|0];q=E[r+2>>1]}C[f+68>>2]=q&65535;C[f+7112>>2]=l+m;g=j-l|0;i=i>>>l|0;c=k&255;if(!c){C[f+4>>2]=16205;h=C[f+4>>2];continue}if(c&32){C[f+4>>2]=16191;C[f+7112>>2]=-1;h=C[f+4>>2];continue}if(c&64){C[a+24>>2]=18718;C[f+4>>2]=16209;h=C[f+4>>2];continue}C[f+4>>2]=16201;k=c&15;C[f+76>>2]=k}l=d;j=e;Qa:{if(!k){c=C[f+68>>2];break Qa}h=g;c=d;if(g>>>0>>0){while(1){if(!e){break y}e=e-1|0;i=(D[c|0]<>>0>h>>>0){continue}break}}C[f+7112>>2]=C[f+7112>>2]+k;c=C[f+68>>2]+((-1<>2]=c;g=h-k|0;i=i>>>k|0}C[f+4>>2]=16202;C[f+7116>>2]=c}k=g;h=e;c=d;t=C[f+84>>2];q=-1<>2]^-1;l=t+((q&i)<<2)|0;m=D[l+1|0];Ra:{if(m>>>0<=g>>>0){j=g;break Ra}while(1){if(!h){break z}l=D[c|0]<>>0>j>>>0){continue}break}}q=E[l+2>>1];k=D[l|0];Sa:{if(k>>>0>=16){l=m;d=C[f+7112>>2];break Sa}e=h;d=c;g=j;v=-1<>>m|0)+q<<2)|0;l=D[r+1|0];Ta:{if(g>>>0>=l+m>>>0){k=j;break Ta}while(1){if(!e){break A}l=D[d|0]<>>m|0)+q<<2)|0;l=D[r+1|0];if(g>>>0>>0){continue}break}c=d;h=e}j=k-m|0;i=i>>>m|0;k=D[r|0];q=E[r+2>>1];d=C[f+7112>>2]+m|0}C[f+7112>>2]=d+l;g=j-l|0;i=i>>>l|0;if(k&64){C[a+24>>2]=18746;C[f+4>>2]=16209;d=c;e=h;h=C[f+4>>2];continue}C[f+4>>2]=16203;m=k&15;C[f+76>>2]=m;C[f+72>>2]=q&65535}Ua:{if(!m){d=c;e=h;break Ua}k=g;e=h;j=c;Va:{if(g>>>0>=m>>>0){d=c;break Va}while(1){if(!e){break B}e=e-1|0;i=(D[j|0]<>>0>k>>>0){continue}break}}C[f+7112>>2]=C[f+7112>>2]+m;C[f+72>>2]=C[f+72>>2]+((-1<>>m|0}C[f+4>>2]=16204}if(n){break D}}n=0;break j}c=C[f+72>>2];h=u-n|0;Wa:{if(c>>>0>h>>>0){c=c-h|0;if(!(!C[f+7108>>2]|c>>>0<=F[f+48>>2])){C[a+24>>2]=14475;C[f+4>>2]=16209;h=C[f+4>>2];continue}h=C[f+52>>2];Xa:{if(h>>>0>>0){c=c-h|0;h=C[f+56>>2]+(C[f+44>>2]-c|0)|0;break Xa}h=C[f+56>>2]+(h-c|0)|0}k=C[f+68>>2];c=c>>>0>>0?c:k;break Wa}h=p-c|0;k=C[f+68>>2];c=k}j=c>>>0>>0?c:n;C[f+68>>2]=k-j;l=j-1|0;k=0;m=j&7;if(!m){break u}c=j;while(1){A[p|0]=D[h|0];c=c-1|0;p=p+1|0;h=h+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break t}d=d+e|0;g=(e<<3)+g|0;break f}d=c+h|0;g=(h<<3)+g|0;break f}d=c+h|0;g=(h<<3)+j|0;break f}d=d+e|0;g=(e<<3)+g|0;break f}d=j+l|0;g=(j<<3)+g|0;break f}d=c+h|0;g=(h<<3)+j|0;break f}d=d+e|0;g=(e<<3)+g|0;break f}C[a+24>>2]=5775;C[f+4>>2]=16209;h=C[f+4>>2];continue}c=j}if(l>>>0>=7){while(1){A[p|0]=D[h|0];A[p+1|0]=D[h+1|0];A[p+2|0]=D[h+2|0];A[p+3|0]=D[h+3|0];A[p+4|0]=D[h+4|0];A[p+5|0]=D[h+5|0];A[p+6|0]=D[h+6|0];A[p+7|0]=D[h+7|0];p=p+8|0;h=h+8|0;c=c-8|0;if(c){continue}break}}n=n-j|0;if(C[f+68>>2]){break s}C[f+4>>2]=16200;h=C[f+4>>2];continue}h=C[f+4>>2];continue}e=0;g=c;c=o;break c}c=C[f+36>>2];if(c){C[c+16>>2]=0}g=h}C[f+4>>2]=16185}k=C[f+20>>2];if(k&1024){h=C[f+68>>2];c=e>>>0>h>>>0?h:e;if(c){j=C[f+36>>2];Ya:{if(!j){break Ya}m=C[j+16>>2];if(!m){break Ya}l=C[j+24>>2];h=C[j+20>>2]-h|0;if(l>>>0<=h>>>0){break Ya}jf(h+m|0,d,l>>>0>>0?l-h|0:c);k=C[f+20>>2]}if(!(!(k&512)|!(D[f+12|0]&4))){X=f,Y=Wg(C[f+28>>2],d,c),C[X+28>>2]=Y}h=C[f+68>>2]-c|0;C[f+68>>2]=h;e=e-c|0;d=c+d|0}if(h){break j}}C[f+4>>2]=16186;C[f+68>>2]=0}Za:{if(D[f+21|0]&8){h=0;if(!e){break k}while(1){c=D[d+h|0];k=C[f+36>>2];_a:{if(!k){break _a}j=C[k+28>>2];if(!j){break _a}l=C[k+32>>2];k=C[f+68>>2];if(l>>>0<=k>>>0){break _a}C[f+68>>2]=k+1;A[j+k|0]=c}h=h+1|0;if(h>>>0>>0?c:0){continue}break}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){X=f,Y=Wg(C[f+28>>2],d,h),C[X+28>>2]=Y}d=d+h|0;e=e-h|0;if(!c){break Za}break j}c=C[f+36>>2];if(!c){break Za}C[c+28>>2]=0}C[f+4>>2]=16187;C[f+68>>2]=0}$a:{if(D[f+21|0]&16){h=0;if(!e){break k}while(1){c=D[d+h|0];k=C[f+36>>2];ab:{if(!k){break ab}j=C[k+36>>2];if(!j){break ab}l=C[k+40>>2];k=C[f+68>>2];if(l>>>0<=k>>>0){break ab}C[f+68>>2]=k+1;A[j+k|0]=c}h=h+1|0;if(h>>>0>>0?c:0){continue}break}if(!(!(D[f+21|0]&2)|!(D[f+12|0]&4))){X=f,Y=Wg(C[f+28>>2],d,h),C[X+28>>2]=Y}d=d+h|0;e=e-h|0;if(!c){break $a}break j}c=C[f+36>>2];if(!c){break $a}C[c+36>>2]=0}C[f+4>>2]=16188}j=C[f+20>>2];if(j&512){bb:{if(g>>>0>15){h=d;break bb}if(!e){break f}c=g+8|0;h=d+1|0;k=e-1|0;i=(D[d|0]<>>0>7){e=k;g=c;break bb}if(!k){d=h;e=0;g=c;c=o;break c}g=g+16|0;h=d+2|0;e=e-2|0;i=(D[d+1|0]<>1]==(i|0))){C[a+24>>2]=15e3;C[f+4>>2]=16209;d=h;h=C[f+4>>2];continue}i=0;g=0;d=h}c=C[f+36>>2];if(c){C[c+48>>2]=1;C[c+44>>2]=j>>>9&1}c=Wg(0,0,0);C[f+28>>2]=c;C[a+48>>2]=c;C[f+4>>2]=16191;h=C[f+4>>2];continue}e=0}k=o}c=k;break c}if(!h|!C[f+20>>2]){break e}cb:{if(g>>>0>31){c=d;break cb}if(!e){break f}k=g+8|0;c=d+1|0;j=e-1|0;i=(D[d|0]<>>0>23){e=j;g=k;break cb}if(!j){d=c;e=0;g=k;c=o;break c}j=g+16|0;c=d+2|0;l=e-2|0;i=(D[d+1|0]<>>0>15){e=l;g=j;break cb}if(!l){d=c;e=0;g=j;c=o;break c}k=g+24|0;c=d+3|0;l=e-3|0;i=(D[d+2|0]<>>0>7){e=l;g=k;break cb}if(!l){d=c;e=0;g=k;c=o;break c}g=g+32|0;c=d+4|0;e=e-4|0;i=(D[d+3|0]<>2]==(i|0))){C[a+24>>2]=14289;C[f+4>>2]=16209;d=c;h=C[f+4>>2];continue}break}d=c;g=0;break d}e=0;c=o;break c}k=i}C[f+4>>2]=16208;c=1;i=k}C[a+16>>2]=n;C[a+12>>2]=p;C[a+4>>2]=e;C[a>>2]=d;C[f+64>>2]=g;C[f+60>>2]=i;db:{eb:{fb:{if(C[f+44>>2]){break fb}if((n|0)==(u|0)){break eb}d=C[f+4>>2];if(d>>>0>16208){break eb}if((b|0)!=4|d>>>0<=16205){break fb}break eb}g=u-n|0;d=C[a+28>>2];o=C[d+56>>2];gb:{if(!o){h=1;o=Fe[C[a+32>>2]](C[a+40>>2],1<>2],1)|0;C[d+56>>2]=o;if(!o){break gb}}e=C[d+44>>2];if(!e){C[d+48>>2]=0;C[d+52>>2]=0;e=1<>2];C[d+44>>2]=e}hb:{if(e>>>0<=g>>>0){jf(o,p-e|0,e);C[d+52>>2]=0;break hb}h=e;e=C[d+52>>2];k=h-e|0;h=k>>>0>>0;j=e+o|0;e=h?k:g;jf(j,p-g|0,e);if(h){g=g-e|0;jf(C[d+56>>2],p-g|0,g);C[d+52>>2]=g;break hb}h=0;g=e+C[d+52>>2]|0;k=g;g=C[d+44>>2];C[d+52>>2]=(k|0)!=(g|0)?k:0;k=g;g=C[d+48>>2];if(k>>>0<=g>>>0){break gb}C[d+48>>2]=e+g;break gb}C[d+48>>2]=C[d+44>>2];h=0}if(h){break db}n=C[a+16>>2];e=C[a+4>>2]}C[a+8>>2]=C[a+8>>2]+(J-e|0);d=u-n|0;C[a+20>>2]=d+C[a+20>>2];C[f+32>>2]=d+C[f+32>>2];if(!(!(D[f+12|0]&4)|(n|0)==(u|0))){g=C[a+12>>2]-d|0;h=C[f+28>>2];ib:{if(C[f+20>>2]){d=Wg(h,g,d);break ib}d=_j(h,g,d)}C[f+28>>2]=d;C[a+48>>2]=d}d=a;a=C[f+4>>2];C[d+44>>2]=((C[f+64>>2]+((C[f+8>>2]!=0)<<6)|0)+(((a|0)==16191)<<7)|0)+((a|0)==16199?256:((a|0)==16194)<<8);a=c?c:-5;y=(b|0)==4?a:(e|0)==(J|0)?(n|0)==(u|0)?a:c:c;break a}C[f+4>>2]=16210}y=-4}Ce=s+16|0;return y}function Mz(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;H=g^255;a:{b:{c:{d:{e:{f:{g:{h:{g=C[a+4>>2];switch(D[g+9|0]-2|0){case 2:break f;case 0:break h;default:break g}}i:{switch(c-1|0){case 1:break b;case 3:break c;case 7:break d;case 0:break i;default:break e}}c=0;J=C[b+12>>2];if(!J){break a}k=C[a+16>>2]/2|0;i=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];L=b&3;a=(b+3|0)/4|0;K=k-b<<1;j:while(1){J=J-1|0;k:{l:{m:{n:{o:{switch(L-1|0){case 0:A=D[g+30|0];q=C[(A<<2)+382144>>2];r=D[g+29|0];o=C[(r<<2)+382144>>2];j=D[g+28|0];p=C[(j<<2)+382144>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];F=D[g+34|0];w=F;u=A;y=D[g+33|0];x=y;k=r;z=D[g+32|0];G=z;l=j;n=a;break l;case 1:A=D[g+30|0];q=C[(A<<2)+382144>>2];r=D[g+29|0];o=C[(r<<2)+382144>>2];j=D[g+28|0];p=C[(j<<2)+382144>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];F=D[g+34|0];w=F;u=A;y=D[g+33|0];x=y;k=r;z=D[g+32|0];G=z;l=j;n=a;break m;case 2:A=D[g+30|0];q=C[(A<<2)+382144>>2];r=D[g+29|0];o=C[(r<<2)+382144>>2];j=D[g+28|0];p=C[(j<<2)+382144>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];F=D[g+34|0];w=F;u=A;y=D[g+33|0];x=y;k=r;z=D[g+32|0];G=z;l=j;n=a;break n;default:break o}}u=D[g+30|0];q=C[(u<<2)+382144>>2];k=D[g+29|0];o=C[(k<<2)+382144>>2];l=D[g+28|0];p=C[(l<<2)+382144>>2];m=C[g+24>>2];w=D[g+34|0];v=C[g+20>>2];x=D[g+33|0];t=C[g+16>>2];G=D[g+32|0];s=C[g+12>>2];n=a;h=0;break k}h=1;break k}h=2;break k}h=3}while(1){p:{switch(h|0){case 0:b=E[i>>1];y=x&255;r=k&255;z=G&255;j=l&255;F=w&255;A=u&255;B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<>1];B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<>1];B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<>1];B[i>>1]=((I(H,D[((b&t)>>>y|0)+o|0])>>>0)/255|0)+e>>>r<>>z|0)+p|0])>>>0)/255|0)+d>>>j<>>F|0)+q|0])>>>0)/255|0)+f>>>A<1){n=b;break q}i=i+K|0;if(J){continue j}break a}h=0;continue}}}c=_e(4);break a}r:{switch(c-1|0){case 0:c=0;v=C[b+12>>2];if(!v){break a}n=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(n,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];A=b&3;a=(b+3|0)/4|0;r=n-b<<2;s:while(1){v=v-1|0;t:{u:{v:{w:{x:{switch(A-1|0){case 0:u=D[g+30|0];q=C[(u<<2)+382144>>2];k=D[g+29|0];o=C[(k<<2)+382144>>2];w=D[g+28|0];p=C[(w<<2)+382144>>2];x=D[g+34|0];t=x;s=u;l=D[g+33|0];z=l;y=k;G=D[g+32|0];F=G;n=w;m=a;break u;case 1:u=D[g+30|0];q=C[(u<<2)+382144>>2];k=D[g+29|0];o=C[(k<<2)+382144>>2];w=D[g+28|0];p=C[(w<<2)+382144>>2];x=D[g+34|0];t=x;s=u;l=D[g+33|0];z=l;y=k;G=D[g+32|0];F=G;n=w;m=a;break v;case 2:u=D[g+30|0];q=C[(u<<2)+382144>>2];k=D[g+29|0];o=C[(k<<2)+382144>>2];w=D[g+28|0];p=C[(w<<2)+382144>>2];x=D[g+34|0];t=x;s=u;l=D[g+33|0];z=l;y=k;G=D[g+32|0];F=G;n=w;m=a;break w;default:break x}}s=D[g+30|0];q=C[(s<<2)+382144>>2];y=D[g+29|0];o=C[(y<<2)+382144>>2];n=D[g+28|0];p=C[(n<<2)+382144>>2];t=D[g+34|0];z=D[g+33|0];F=D[g+32|0];m=a;h=0;break t}h=1;break t}h=2;break t}h=3}while(1){y:{switch(h|0){case 0:b=C[i>>2];l=z&255;k=y&255;G=F&255;w=n&255;x=t&255;u=s&255;C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<>2];C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<>2];C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<>2];C[i>>2]=C[g+24>>2]|(((I(H,D[((b&C[g+16>>2])>>>l|0)+o|0])>>>0)/255|0)+e>>>k<>2])>>>G|0)+p|0])>>>0)/255|0)+d>>>w<>2])>>>x|0)+q|0])>>>0)/255|0)+f>>>u<1){m=b;break z}i=i+r|0;if(v){continue s}break a}h=0;continue}};default:c=0;q=C[b+12>>2];if(!q){break a}k=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];l=b&3;a=(b+3|0)/4|0;k=k-b<<2;A:while(1){q=q-1|0;B:{C:{D:{E:{F:{switch(l-1|0){case 0:o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];n=e>>>o<>>m<>>t<>>o<>>m<>>t<>>o<>>m<>>t<>>t<>>o<>>m<>2]=F|(n|C[g+24>>2]);j=j+4|0;i=1;continue;case 1:C[j>>2]=C[g+24>>2]|n|F;j=j+4|0;i=2;continue;case 2:C[j>>2]=C[g+24>>2]|n|F;j=j+4|0;i=3;continue;default:break G}}C[j>>2]=C[g+24>>2]|n|F;b=h-1|0;j=j+4|0;H:{if((h|0)>1){h=b;break H}j=j+k|0;if(q){continue A}break a}i=0;continue}};case 7:c=0;t=C[b+12>>2];if(!t){break a}u=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(u,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];A=b&3;a=(b+3|0)/4|0;r=u-b<<2;I:while(1){t=t-1|0;J:{K:{L:{M:{N:{switch(A-1|0){case 0:k=D[g+30|0];q=C[(k<<2)+382144>>2];l=D[g+29|0];o=C[(l<<2)+382144>>2];G=D[g+28|0];p=C[(G<<2)+382144>>2];w=D[g+34|0];s=w;z=k;J=D[g+33|0];y=J;F=l;n=D[g+32|0];u=n;x=G;m=a;break K;case 1:k=D[g+30|0];q=C[(k<<2)+382144>>2];l=D[g+29|0];o=C[(l<<2)+382144>>2];G=D[g+28|0];p=C[(G<<2)+382144>>2];w=D[g+34|0];s=w;z=k;J=D[g+33|0];y=J;F=l;n=D[g+32|0];u=n;x=G;m=a;break L;case 2:k=D[g+30|0];q=C[(k<<2)+382144>>2];l=D[g+29|0];o=C[(l<<2)+382144>>2];G=D[g+28|0];p=C[(G<<2)+382144>>2];w=D[g+34|0];s=w;z=k;J=D[g+33|0];y=J;F=l;n=D[g+32|0];u=n;x=G;m=a;break M;default:break N}}z=D[g+30|0];q=C[(z<<2)+382144>>2];F=D[g+29|0];o=C[(F<<2)+382144>>2];x=D[g+28|0];p=C[(x<<2)+382144>>2];s=D[g+34|0];y=D[g+33|0];u=D[g+32|0];m=a;h=0;break J}h=1;break J}h=2;break J}h=3}while(1){O:{switch(h|0){case 0:b=C[i>>2];n=u&255;k=D[((b&C[g+12>>2])>>>n|0)+p|0];k=((I(k,H)>>>0)/255|0)+((I(d,k)>>>0)/255|0)|0;G=x&255;w=C[g+24>>2]|(k>>>0>=255?255:k)>>>G<>2])>>>J|0)+o|0];k=((I(k,H)>>>0)/255|0)+((I(e,k)>>>0)/255|0)|0;l=F&255;h=w|(k>>>0>=255?255:k)>>>l<>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;k=z&255;C[i>>2]=h|(b>>>0>=255?255:b)>>>k<>2];h=D[((b&C[g+12>>2])>>>n|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;j=C[g+24>>2]|(h>>>0>=255?255:h)>>>G<>2])>>>J|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&C[g+20>>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;C[i>>2]=j|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>k<>2];h=D[((b&C[g+12>>2])>>>n|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;j=C[g+24>>2]|(h>>>0>=255?255:h)>>>G<>2])>>>J|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&C[g+20>>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;C[i>>2]=j|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>k<>2];h=D[((b&C[g+12>>2])>>>n|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;j=C[g+24>>2]|(h>>>0>=255?255:h)>>>G<>2])>>>J|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&C[g+20>>2])>>>w|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;C[i>>2]=j|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>k<1){m=b;break P}i=i+r|0;if(t){continue I}break a}h=0;continue}};case 3:c=0;s=C[b+12>>2];if(!s){break a}l=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(l,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];G=b&3;a=(b+3|0)/4|0;l=l-b<<2;Q:while(1){s=s-1|0;R:{S:{T:{U:{V:{switch(G-1|0){case 0:u=D[g+30|0];h=C[(u<<2)+382144>>2];k=D[g+29|0];q=C[(k<<2)+382144>>2];x=D[g+28|0];v=C[(x<<2)+382144>>2];m=D[g+34|0];z=m;y=u;p=D[g+33|0];F=p;n=k;o=D[g+32|0];J=o;w=x;t=a;break S;case 1:u=D[g+30|0];h=C[(u<<2)+382144>>2];k=D[g+29|0];q=C[(k<<2)+382144>>2];x=D[g+28|0];v=C[(x<<2)+382144>>2];m=D[g+34|0];z=m;y=u;p=D[g+33|0];F=p;n=k;o=D[g+32|0];J=o;w=x;t=a;break T;case 2:u=D[g+30|0];h=C[(u<<2)+382144>>2];k=D[g+29|0];q=C[(k<<2)+382144>>2];x=D[g+28|0];v=C[(x<<2)+382144>>2];m=D[g+34|0];z=m;y=u;p=D[g+33|0];F=p;n=k;o=D[g+32|0];J=o;w=x;t=a;break U;default:break V}}y=D[g+30|0];h=C[(y<<2)+382144>>2];n=D[g+29|0];q=C[(n<<2)+382144>>2];w=D[g+28|0];v=C[(w<<2)+382144>>2];z=D[g+34|0];F=D[g+33|0];J=D[g+32|0];t=a;i=0;break R}i=1;break R}i=2;break R}i=3}while(1){W:{switch(i|0){case 0:b=C[j>>2];p=F&255;k=n&255;o=J&255;x=w&255;m=z&255;u=y&255;C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<>2];C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<>2];C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<>2];C[j>>2]=C[g+24>>2]|((I(D[((b&C[g+16>>2])>>>p|0)+q|0],e)>>>0)/255>>>k<>2])>>>o|0)+v|0],d)>>>0)/255>>>x<>2])>>>m|0)+h|0],f)>>>0)/255>>>u<1){t=b;break X}j=j+l|0;if(s){continue Q}break a}i=0;continue}};case 1:break r}}c=0;v=C[b+12>>2];if(!v){break a}n=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(n,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];G=b&3;a=(b+3|0)/4|0;A=n-b<<2;Y:while(1){v=v-1|0;Z:{_:{$:{aa:{ba:{switch(G-1|0){case 0:m=D[g+30|0];h=C[(m<<2)+382144>>2];w=D[g+29|0];q=C[(w<<2)+382144>>2];l=D[g+28|0];o=C[(l<<2)+382144>>2];k=D[g+34|0];t=k;s=m;x=D[g+33|0];z=x;y=w;u=D[g+32|0];F=u;n=l;p=a;break _;case 1:m=D[g+30|0];h=C[(m<<2)+382144>>2];w=D[g+29|0];q=C[(w<<2)+382144>>2];l=D[g+28|0];o=C[(l<<2)+382144>>2];k=D[g+34|0];t=k;s=m;x=D[g+33|0];z=x;y=w;u=D[g+32|0];F=u;n=l;p=a;break $;case 2:m=D[g+30|0];h=C[(m<<2)+382144>>2];w=D[g+29|0];q=C[(w<<2)+382144>>2];l=D[g+28|0];o=C[(l<<2)+382144>>2];k=D[g+34|0];t=k;s=m;x=D[g+33|0];z=x;y=w;u=D[g+32|0];F=u;n=l;p=a;break aa;default:break ba}}s=D[g+30|0];h=C[(s<<2)+382144>>2];y=D[g+29|0];q=C[(y<<2)+382144>>2];n=D[g+28|0];o=C[(n<<2)+382144>>2];t=D[g+34|0];z=D[g+33|0];F=D[g+32|0];p=a;i=0;break Z}i=1;break Z}i=2;break Z}i=3}while(1){ca:{switch(i|0){case 0:b=C[j>>2];x=z&255;k=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;w=y&255;m=(k>>>0>=255?255:k)>>>w<>2])>>>u|0)+o|0]+d|0;l=n&255;r=C[g+24>>2]|(m|(k>>>0>=255?255:k)>>>l<>2])>>>k|0)+h|0]+f|0;m=s&255;C[j>>2]=r|(b>>>0>=255?255:b)>>>m<>2];r=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;J=(r>>>0>=255?255:r)>>>w<>2])>>>u|0)+o|0]+d|0;b=D[((b&C[g+20>>2])>>>k|0)+h|0]+f|0;C[j>>2]=C[g+24>>2]|(J|(r>>>0>=255?255:r)>>>l<>>0>=255?255:b)>>>m<>2];r=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;J=(r>>>0>=255?255:r)>>>w<>2])>>>u|0)+o|0]+d|0;b=D[((b&C[g+20>>2])>>>k|0)+h|0]+f|0;C[j>>2]=C[g+24>>2]|(J|(r>>>0>=255?255:r)>>>l<>>0>=255?255:b)>>>m<>2];r=D[((b&C[g+16>>2])>>>x|0)+q|0]+e|0;J=(r>>>0>=255?255:r)>>>w<>2])>>>u|0)+o|0]+d|0;b=D[((b&C[g+20>>2])>>>k|0)+h|0]+f|0;C[j>>2]=C[g+24>>2]|(J|(r>>>0>=255?255:r)>>>l<>>0>=255?255:b)>>>m<1){p=b;break da}j=j+A|0;if(v){continue Y}break a}i=0;continue}}}c=0;q=C[b+12>>2];if(!q){break a}k=C[a+16>>2]/2|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];l=b&3;a=(b+3|0)/4|0;k=k-b<<1;ea:while(1){q=q-1|0;fa:{ga:{ha:{ia:{ja:{switch(l-1|0){case 0:z=C[g+24>>2];o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];t=D[g+30|0];s=D[g+34|0];n=z|(e>>>o<>>m<>>t<>2];o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];t=D[g+30|0];s=D[g+34|0];n=z|(e>>>o<>>m<>>t<>2];o=D[g+29|0];p=D[g+33|0];m=D[g+28|0];v=D[g+32|0];t=D[g+30|0];s=D[g+34|0];n=z|(e>>>o<>>m<>>t<>2];s=D[g+34|0];t=D[g+30|0];p=D[g+33|0];o=D[g+29|0];v=D[g+32|0];m=D[g+28|0];h=a;i=0;break fa}i=1;break fa}i=2;break fa}i=3}while(1){ka:{switch(i|0){case 0:n=e>>>o<>>m<>>t<>1]=n;j=j+2|0;i=1;continue;case 1:B[j>>1]=n;j=j+2|0;i=2;continue;case 2:B[j>>1]=n;j=j+2|0;i=3;continue;default:break ka}}B[j>>1]=n;b=h-1|0;j=j+2|0;la:{if((h|0)>1){h=b;break la}j=j+k|0;if(q){continue ea}break a}i=0;continue}}}c=0;F=C[b+12>>2];if(!F){break a}k=C[a+16>>2]/2|0;i=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];L=b&3;a=(b+3|0)/4|0;K=k-b<<1;ma:while(1){F=F-1|0;na:{oa:{pa:{qa:{ra:{switch(L-1|0){case 0:y=D[g+30|0];q=C[(y<<2)+382144>>2];l=D[g+29|0];o=C[(l<<2)+382144>>2];G=D[g+28|0];p=C[(G<<2)+382144>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];A=D[g+34|0];n=A;J=y;r=D[g+33|0];w=r;u=l;j=D[g+32|0];x=j;k=G;z=a;break oa;case 1:y=D[g+30|0];q=C[(y<<2)+382144>>2];l=D[g+29|0];o=C[(l<<2)+382144>>2];G=D[g+28|0];p=C[(G<<2)+382144>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];A=D[g+34|0];n=A;J=y;r=D[g+33|0];w=r;u=l;j=D[g+32|0];x=j;k=G;z=a;break pa;case 2:y=D[g+30|0];q=C[(y<<2)+382144>>2];l=D[g+29|0];o=C[(l<<2)+382144>>2];G=D[g+28|0];p=C[(G<<2)+382144>>2];m=C[g+24>>2];v=C[g+20>>2];t=C[g+16>>2];s=C[g+12>>2];A=D[g+34|0];n=A;J=y;r=D[g+33|0];w=r;u=l;j=D[g+32|0];x=j;k=G;z=a;break qa;default:break ra}}J=D[g+30|0];q=C[(J<<2)+382144>>2];u=D[g+29|0];o=C[(u<<2)+382144>>2];k=D[g+28|0];p=C[(k<<2)+382144>>2];m=C[g+24>>2];n=D[g+34|0];v=C[g+20>>2];w=D[g+33|0];t=C[g+16>>2];x=D[g+32|0];s=C[g+12>>2];z=a;h=0;break na}h=1;break na}h=2;break na}h=3}while(1){sa:{switch(h|0){case 0:b=E[i>>1];j=x&255;l=D[((b&s)>>>j|0)+p|0];l=((I(l,H)>>>0)/255|0)+((I(d,l)>>>0)/255|0)|0;G=k&255;h=(l>>>0>=255?255:l)>>>G<>>r|0)+o|0];l=((I(l,H)>>>0)/255|0)+((I(e,l)>>>0)/255|0)|0;M=l>>>0>=255?255:l;l=u&255;A=n&255;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;y=J&255;B[i>>1]=h|M>>>l<>>0>=255?255:b)>>>y<>1];h=D[((b&s)>>>j|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;M=(h>>>0>=255?255:h)>>>G<>>r|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[i>>1]=M|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>y<>1];h=D[((b&s)>>>j|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;M=(h>>>0>=255?255:h)>>>G<>>r|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[i>>1]=M|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>y<>1];h=D[((b&s)>>>j|0)+p|0];h=((I(h,H)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;M=(h>>>0>=255?255:h)>>>G<>>r|0)+o|0];h=((I(h,H)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;b=D[((b&v)>>>A|0)+q|0];b=((I(b,H)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[i>>1]=M|(h>>>0>=255?255:h)>>>l<>>0>=255?255:b)>>>y<1){z=b;break ta}i=i+K|0;if(F){continue ma}break a}h=0;continue}}}c=0;n=C[b+12>>2];if(!n){break a}k=C[a+16>>2]/2|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];H=b&3;a=(b+3|0)/4|0;L=k-b<<1;ua:while(1){n=n-1|0;va:{wa:{xa:{ya:{za:{switch(H-1|0){case 0:l=D[g+30|0];p=C[(l<<2)+382144>>2];A=D[g+29|0];m=C[(A<<2)+382144>>2];r=D[g+28|0];v=C[(r<<2)+382144>>2];t=C[g+24>>2];s=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];q=D[g+34|0];J=q;w=l;h=D[g+33|0];u=h;x=A;i=D[g+32|0];k=i;G=r;F=a;break wa;case 1:l=D[g+30|0];p=C[(l<<2)+382144>>2];A=D[g+29|0];m=C[(A<<2)+382144>>2];r=D[g+28|0];v=C[(r<<2)+382144>>2];t=C[g+24>>2];s=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];q=D[g+34|0];J=q;w=l;h=D[g+33|0];u=h;x=A;i=D[g+32|0];k=i;G=r;F=a;break xa;case 2:l=D[g+30|0];p=C[(l<<2)+382144>>2];A=D[g+29|0];m=C[(A<<2)+382144>>2];r=D[g+28|0];v=C[(r<<2)+382144>>2];t=C[g+24>>2];s=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];q=D[g+34|0];J=q;w=l;h=D[g+33|0];u=h;x=A;i=D[g+32|0];k=i;G=r;F=a;break ya;default:break za}}w=D[g+30|0];p=C[(w<<2)+382144>>2];x=D[g+29|0];m=C[(x<<2)+382144>>2];G=D[g+28|0];v=C[(G<<2)+382144>>2];t=C[g+24>>2];J=D[g+34|0];s=C[g+20>>2];u=D[g+33|0];z=C[g+16>>2];k=D[g+32|0];y=C[g+12>>2];F=a;o=0;break va}o=1;break va}o=2;break va}o=3}while(1){Aa:{switch(o|0){case 0:b=E[j>>1];h=u&255;A=x&255;i=k&255;r=G&255;q=J&255;l=w&255;B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<>1];B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<>1];B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<>1];B[j>>1]=(I(D[((b&z)>>>h|0)+m|0],e)>>>0)/255>>>A<>>i|0)+v|0],d)>>>0)/255>>>r<>>q|0)+p|0],f)>>>0)/255>>>l<1){F=b;break Ba}j=j+L|0;if(n){continue ua}break a}o=0;continue}}}c=0;J=C[b+12>>2];if(!J){break a}k=C[a+16>>2]/2|0;j=(C[a+20>>2]+(I(k,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];H=b&3;a=(b+3|0)/4|0;L=k-b<<1;Ca:while(1){J=J-1|0;Da:{Ea:{Fa:{Ga:{Ha:{switch(H-1|0){case 0:n=D[g+30|0];h=C[(n<<2)+382144>>2];A=D[g+29|0];q=C[(A<<2)+382144>>2];r=D[g+28|0];o=C[(r<<2)+382144>>2];p=C[g+24>>2];m=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];s=D[g+34|0];w=s;u=n;t=D[g+33|0];x=t;k=A;v=D[g+32|0];G=v;l=r;F=a;break Ea;case 1:n=D[g+30|0];h=C[(n<<2)+382144>>2];A=D[g+29|0];q=C[(A<<2)+382144>>2];r=D[g+28|0];o=C[(r<<2)+382144>>2];p=C[g+24>>2];m=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];s=D[g+34|0];w=s;u=n;t=D[g+33|0];x=t;k=A;v=D[g+32|0];G=v;l=r;F=a;break Fa;case 2:n=D[g+30|0];h=C[(n<<2)+382144>>2];A=D[g+29|0];q=C[(A<<2)+382144>>2];r=D[g+28|0];o=C[(r<<2)+382144>>2];p=C[g+24>>2];m=C[g+20>>2];z=C[g+16>>2];y=C[g+12>>2];s=D[g+34|0];w=s;u=n;t=D[g+33|0];x=t;k=A;v=D[g+32|0];G=v;l=r;F=a;break Ga;default:break Ha}}u=D[g+30|0];h=C[(u<<2)+382144>>2];k=D[g+29|0];q=C[(k<<2)+382144>>2];l=D[g+28|0];o=C[(l<<2)+382144>>2];p=C[g+24>>2];w=D[g+34|0];m=C[g+20>>2];x=D[g+33|0];z=C[g+16>>2];G=D[g+32|0];y=C[g+12>>2];F=a;i=0;break Da}i=1;break Da}i=2;break Da}i=3}while(1){Ia:{switch(i|0){case 0:b=E[j>>1];t=x&255;n=D[((b&z)>>>t|0)+q|0]+e|0;A=k&255;s=(n>>>0>=255?255:n)>>>A<>>v|0)+o|0]+d|0;r=l&255;i=s|(n>>>0>=255?255:n)>>>r<>>s|0)+h|0]+f|0;n=u&255;B[j>>1]=i|(b>>>0>=255?255:b)>>>n<>1];i=D[((b&z)>>>t|0)+q|0]+e|0;K=(i>>>0>=255?255:i)>>>A<>>v|0)+o|0]+d|0;b=D[((b&m)>>>s|0)+h|0]+f|0;B[j>>1]=K|(i>>>0>=255?255:i)>>>r<>>0>=255?255:b)>>>n<>1];i=D[((b&z)>>>t|0)+q|0]+e|0;K=(i>>>0>=255?255:i)>>>A<>>v|0)+o|0]+d|0;b=D[((b&m)>>>s|0)+h|0]+f|0;B[j>>1]=K|(i>>>0>=255?255:i)>>>r<>>0>=255?255:b)>>>n<>1];i=D[((b&z)>>>t|0)+q|0]+e|0;K=(i>>>0>=255?255:i)>>>A<>>v|0)+o|0]+d|0;b=D[((b&m)>>>s|0)+h|0]+f|0;B[j>>1]=K|(i>>>0>=255?255:i)>>>r<>>0>=255?255:b)>>>n<1){F=b;break Ja}j=j+L|0;if(J){continue Ca}break a}i=0;continue}}}return c|0}function DC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=Ce-32|0;Ce=f;j=C[a+56>>2];g=C[a+40>>2];i=D[g+9|0];d=C[a+44>>2];q=C[d+24>>2];k=q?D[a+63|0]:0;s=C[a+36>>2];c=C[a+20>>2];t=C[a+16>>2];b=C[a>>2];o=C[a+28>>2];e=C[a+24>>2];l=C[g+24>>2]^-1;h=l&j;j=C[d>>2];p=C[g>>2];a:{b:{c:{d:{e:{f:{r=D[d+9|0];if(!((i|0)!=4|(r|0)!=4)){m=C[g+12>>2];if((m|0)!=C[d+12>>2]){break f}n=C[g+16>>2];if((n|0)!=C[d+16>>2]){break f}u=C[g+20>>2];if((u|0)!=C[d+20>>2]){break f}if(!q){break b}if(!o){break a}j=D[a+63|0]<>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}b=b+4|0;c=c+4|0;e=7;continue;default:break j}}e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e|j}e=a-1|0;b=b+4|0;c=c+4|0;k:{if((a|0)>1){a=e;break k}c=c+s|0;b=b+t|0;if(o){continue g}break a}e=0;continue}}}q=(j|0)==386930691;a=(p|0)==386930691;if((p|0)!=386930691){break e}if((j|0)==386930691){break d}break e}if(!((p|0)==372711428|(j|0)==372711428)){zi(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!o){break a}d=e&7;j=(e+7|0)/8|0;l:while(1){o=o-1|0;a=j;m:{n:{switch(d-1|0){default:e=0;break m;case 0:e=7;break m;case 1:e=6;break m;case 2:e=5;break m;case 3:e=4;break m;case 4:e=3;break m;case 5:e=2;break m;case 6:break n}}e=1}while(1){o:{switch(e|0){case 0:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+4|0;e=7;continue;default:break o}}if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}e=a-1|0;c=c+4|0;b=b+4|0;p:{if((a|0)>1){a=e;break p}c=c+s|0;b=b+t|0;if(o){continue l}break a}e=0;continue}}}q=(j|0)==386930691;a=(p|0)==386930691}if((p|0)!=390076419|(j|0)!=390076419){break c}}if(!o){break a}l=e&7;j=h>>>8|0;d=h>>>16|0;k=(e+7|0)/8|0;g=h&255;q:while(1){o=o-1|0;a=k;r:{s:{switch(l-1|0){default:e=0;break r;case 0:e=7;break r;case 1:e=6;break r;case 2:e=5;break r;case 3:e=4;break r;case 4:e=3;break r;case 5:e=2;break r;case 6:break s}}e=1}while(1){t:{switch(e|0){case 0:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}c=c+3|0;b=b+3|0;e=7;continue;default:break t}}e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=e;A[c+1|0]=h;A[c|0]=i}e=a-1|0;c=c+3|0;b=b+3|0;u:{if((a|0)>1){a=e;break u}c=c+s|0;b=b+t|0;if(o){continue q}break a}e=0;continue}}}if((j|0)==390076419&a|(p|0)==390076419&q){if(!o){break a}l=e&7;j=h>>>8|0;d=h>>>16|0;k=(e+7|0)/8|0;g=h&255;v:while(1){o=o-1|0;a=k;w:{x:{switch(l-1|0){default:e=0;break w;case 0:e=7;break w;case 1:e=6;break w;case 2:e=5;break w;case 3:e=4;break w;case 4:e=3;break w;case 5:e=2;break w;case 6:break x}}e=1}while(1){y:{switch(e|0){case 0:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break y}}e=D[b+2|0];i=D[b|0];h=D[b+1|0];if(!(!((i|0)!=(g|0)|(h|0)!=(j&255))&(e|0)==(d&255))){A[c+2|0]=i;A[c+1|0]=h;A[c|0]=e}e=a-1|0;c=c+3|0;b=b+3|0;z:{if((a|0)>1){a=e;break z}c=c+s|0;b=b+t|0;if(o){continue v}break a}e=0;continue}}}A:{if(!((i|0)!=4|(r|0)!=3)){if((p|0)==372711428){break A}zi(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!o){break a}j=e&7;k=(e+7|0)/8|0;B:while(1){o=o-1|0;a=k;C:{D:{switch(j-1|0){default:e=0;break C;case 0:e=7;break C;case 1:e=6;break C;case 2:e=5;break C;case 3:e=4;break C;case 4:e=3;break C;case 5:e=2;break C;case 6:break D}}e=1}while(1){E:{switch(e|0){case 0:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break E}}if((h|0)!=(l&C[b>>2])){A[c|0]=D[C[f+28>>2]+b|0];A[c+1|0]=D[C[f+24>>2]+b|0];A[c+2|0]=D[C[f+20>>2]+b|0]}e=a-1|0;c=c+3|0;b=b+4|0;F:{if((a|0)>1){a=e;break F}c=c+s|0;b=b+t|0;if(o){continue B}break a}e=0;continue}}}if((i|0)!=3|(r|0)!=4|(j|0)==372711428){break A}zi(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!o){break a}l=e&7;d=h>>>8|0;g=h>>>16|0;j=(e+7|0)/8|0;h=h&255;G:while(1){o=o-1|0;a=j;H:{I:{switch(l-1|0){default:e=0;break H;case 0:e=7;break H;case 1:e=6;break H;case 2:e=5;break H;case 3:e=4;break H;case 4:e=3;break H;case 5:e=2;break H;case 6:break I}}e=1}while(1){J:{switch(e|0){case 0:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}c=c+4|0;b=b+3|0;e=7;continue;default:break J}}if(!(!((h|0)!=D[b|0]|D[b+1|0]!=(d&255))&D[b+2|0]==(g&255))){A[c|0]=D[C[f+24>>2]+b|0];A[c+1|0]=D[C[f+20>>2]+b|0];A[c+2|0]=D[C[f+16>>2]+b|0];A[c+3|0]=D[C[f+12>>2]+b|0];A[C[f+28>>2]+c|0]=k}e=a-1|0;c=c+4|0;b=b+3|0;K:{if((a|0)>1){a=e;break K}c=c+s|0;b=b+t|0;if(o){continue G}break a}e=0;continue}}}if(!o){break a}u=e&7;j=(e+7|0)/8|0;p=i-1|0;q=r-1|0;while(1){o=o-1|0;e=j;L:{M:{switch(u-1|0){default:a=7;break L;case 0:a=6;break L;case 1:a=5;break L;case 2:a=4;break L;case 3:a=3;break L;case 4:a=2;break L;case 5:a=1;break L;case 6:break M}}a=0}while(1){N:{O:{switch(a|0){case 0:a=0;P:{Q:{switch(p|0){case 0:a=D[b|0];break P;case 1:a=E[b>>1];break P;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break P;case 3:break Q;default:break P}}a=C[b>>2]}R:{if((h|0)==(a&l)){break R}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];S:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break R;case 3:break S;default:break R}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break T;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break T;case 3:break U;default:break T}}a=C[b>>2]}V:{if((h|0)==(a&l)){break V}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];W:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break V;case 3:break W;default:break V}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break X;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break X;case 3:break Y;default:break X}}a=C[b>>2]}Z:{if((h|0)==(a&l)){break Z}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];_:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break Z;case 3:break _;default:break Z}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break $;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break $;case 3:break aa;default:break $}}a=C[b>>2]}ba:{if((h|0)==(a&l)){break ba}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];ca:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break ba;case 3:break ca;default:break ba}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break da;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break da;case 3:break ea;default:break da}}a=C[b>>2]}fa:{if((h|0)==(a&l)){break fa}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];ga:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break fa;case 3:break ga;default:break fa}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break ha;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break ha;case 3:break ia;default:break ha}}a=C[b>>2]}ja:{if((h|0)==(a&l)){break ja}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];ka:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break ja;case 3:break ka;default:break ja}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break la;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break la;case 3:break ma;default:break la}}a=C[b>>2]}na:{if((h|0)==(a&l)){break na}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];oa:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break na;case 3:break oa;default:break na}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1];break pa;case 2:a=D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16;break pa;case 3:break qa;default:break pa}}a=C[b>>2]}ra:{if((h|0)==(a&l)){break ra}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&a)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&a)>>>D[g+33|0]|0)|0];a=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&a)>>>D[g+32|0]|0)|0];sa:{switch(q|0){case 0:A[c|0]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=n;A[(D[d+34|0]>>>3|0)+c|0]=m;break ra;case 3:break sa;default:break ra}}C[c>>2]=n>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}b=b+4|0;c=c+4|0;e=7;continue;default:break wa}}e=C[b>>2];if((h|0)!=(e&l)){C[c>>2]=e&j}e=a-1|0;b=b+4|0;c=c+4|0;xa:{if((a|0)>1){a=e;break xa}c=c+s|0;b=b+t|0;if(o){continue ta}break a}e=0;continue}}}Ce=f+32|0}function yr(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,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,F=0,G=0,H=0,J=0,K=0,L=0,M=0;q=C[a+8>>2];a:{if(!(D[c|0]&2)){break a}if((qh(c)|0)>=0){break a}return-1}j=C[d>>2];i=C[a+4>>2];k=D[i+9|0];h=C[d+4>>2];l=C[c+16>>2];n=C[c+20>>2];m=C[a+52>>2];e=C[m+12>>2];b:{g=C[b+4>>2];c:{if(!g){break c}d:{switch(k-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=D[e|0]+d|0;e=D[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)!=(q|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=D[e|0]+d|0;e=D[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)!=(q|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=D[e|0]+d|0;e=D[e+1|0];g:{if(e){d=d+e|0;e=f+I(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(q|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=E[e>>1]+d|0;e=E[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)!=(q|0)){continue}break}g=g-1|0;if(g){continue}break}}j=(n+I(h,l)|0)+I(j,k)|0;d=D[m+79|0];i:{j:{k:{n=C[b>>2];if(!(!n&C[b+8>>2]==C[a+8>>2])){f=C[c+4>>2];a=D[f+9|0];if((d|0)==255){l:{switch(a-1|0){case 0:h=j-n|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+2|0;d=D[e|0]+d|0;a=D[e+1|0];m:{if(a){n:{if((d|0)>=(f|0)){break n}e=n-d|0;o:{if((e|0)<=0){e=0;b=a;break o}b=a-e|0;if((b|0)<=0){break n}}j=d+e|0;i=f-j|0;gf(h+j|0,e+g|0,(b|0)<(i|0)?b:i)}d=a+d|0;e=a+g|0;break m}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break};break b;case 1:h=j-(n<<1)|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+2|0;d=D[e|0]+d|0;a=D[e+1|0];p:{if(a){q:{if((d|0)>=(f|0)){break q}e=n-d|0;r:{if((e|0)<=0){e=0;b=a;break r}b=a-e|0;if((b|0)<=0){break q}}j=d+e|0;i=f-j|0;gf((j<<1)+h|0,g+(e<<1)|0,((b|0)<(i|0)?b:i)<<1)}d=a+d|0;e=g+(a<<1)|0;break p}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break};break b;case 2:h=I(n,-3)+j|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+2|0;d=D[e|0]+d|0;a=D[e+1|0];s:{if(a){t:{if((d|0)>=(f|0)){break t}e=n-d|0;u:{if((e|0)<=0){e=0;b=a;break u}b=a-e|0;if((b|0)<=0){break t}}j=d+e|0;i=f-j|0;gf(I(j,3)+h|0,g+I(e,3)|0,I((b|0)<(i|0)?b:i,3))}d=a+d|0;e=g+I(a,3)|0;break s}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break};break b;case 3:break l;default:break b}}h=j-(n<<2)|0;f=n+C[b+8>>2]|0;k=C[b+12>>2];while(1){d=0;while(1){g=e+4|0;d=E[e>>1]+d|0;a=E[e+2>>1];v:{if(a){w:{if((d|0)>=(f|0)){break w}e=n-d|0;x:{if((e|0)<=0){e=0;b=a;break x}b=a-e|0;if((b|0)<=0){break w}}j=d+e|0;i=f-j|0;gf((j<<2)+h|0,g+(e<<2)|0,((b|0)<(i|0)?b:i)<<2)}d=a+d|0;e=g+(a<<2)|0;break v}e=g;if(!d){break b}}if((d|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;k=k-1|0;if(k){continue}break}break b}y:{switch(a-2|0){case 0:z:{o=C[f+20>>2];h=C[f+16>>2];m=C[f+12>>2];a=o|(h|m);if((a|0)!=32767){if(!((h|0)==2016|(m|0)==2016)&(o|0)!=2016|(a|0)!=65535){break z}h=j-(n<<1)|0;k=n+C[b+8>>2]|0;j=C[b+12>>2];if((d|0)==128){while(1){g=0;while(1){i=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];A:{if(b){B:{if((g|0)>=(k|0)){break B}f=n-g|0;C:{if((f|0)<=0){f=0;d=b;break C}d=b-f|0;if((d|0)<=0){break B}}a=f+g|0;e=k-a|0;e=(d|0)<(e|0)?d:e;d=(a<<1)+h|0;f=i+(f<<1)|0;if((d^f)&3){if(!e){break B}if(e&1){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&63454)+(l&63454)>>>1|0)+(a&l&2081);d=d+2|0;f=f+2|0;a=e-1|0}else{a=e}if((e|0)==1){break B}while(1){e=E[d>>1];l=E[f>>1];B[d>>1]=((e&63454)+(l&63454)>>>1|0)+(e&l&2081);e=E[d+2>>1];l=E[f+2>>1];B[d+2>>1]=((e&63454)+(l&63454)>>>1|0)+(e&l&2081);d=d+4|0;f=f+4|0;a=a-2|0;if(a){continue}break}break B}if(f&3){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&63454)+(l&63454)>>>1|0)+(a&l&2081);e=e-1|0;f=f+2|0;d=d+2|0}D:{if(e>>>0<2){a=e;break D}a=e-2|0;if(!(a&2)){e=C[f>>2];l=C[d>>2];C[d>>2]=((e&l&136382497)+(e>>>1&2079292399)|0)+(l>>>1&2079292399);f=f+4|0;e=a;d=d+4|0}if(a>>>0<2){break D}while(1){a=C[f>>2];l=C[d>>2];C[d>>2]=((a&l&136382497)+(a>>>1&2079292399)|0)+(l>>>1&2079292399);a=C[f+4>>2];l=C[d+4>>2];C[d+4>>2]=((a&l&136382497)+(a>>>1&2079292399)|0)+(l>>>1&2079292399);d=d+8|0;f=f+8|0;e=e-4|0;a=e;if(e>>>0>1){continue}break}}if(!a){break B}e=d;a=E[d>>1];d=E[f>>1];B[e>>1]=((a&63454)+(d&63454)>>>1|0)+(a&d&2081)}g=b+g|0;e=i+(b<<1)|0;break A}e=i;if(!g){break b}}if((g|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;j=j-1|0;if(j){continue}break b}}i=d>>>3|0;while(1){a=0;while(1){g=e+2|0;a=D[e|0]+a|0;b=D[e+1|0];E:{if(b){F:{if((a|0)>=(k|0)){break F}d=n-a|0;G:{if((d|0)<=0){d=0;f=b;break G}f=b-d|0;if((f|0)<=0){break F}}e=a+d|0;m=k-e|0;m=(f|0)<(m|0)?f:m;if((m|0)<=0){break F}f=g+(d<<1)|0;d=(e<<1)+h|0;e=0;while(1){o=E[f>>1];p=(o<<16|o)&132184095;o=E[d>>1];o=(o<<16|o)&132184095;o=(I(i,p-o|0)>>>5|0)+o&132184095;B[d>>1]=o>>>16|o;d=d+2|0;f=f+2|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break E}e=g;if(!a){break b}}if((a|0)!=(q|0)){continue}break}h=h+l|0;j=j-1|0;if(j){continue}break}break b}if(!((h|0)==992|(m|0)==992)&(o|0)!=992){break z}h=j-(n<<1)|0;k=n+C[b+8>>2]|0;j=C[b+12>>2];if((d|0)==128){while(1){g=0;while(1){i=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];H:{if(b){I:{if((g|0)>=(k|0)){break I}f=n-g|0;J:{if((f|0)<=0){f=0;d=b;break J}d=b-f|0;if((d|0)<=0){break I}}a=f+g|0;e=k-a|0;e=(d|0)<(e|0)?d:e;d=(a<<1)+h|0;f=i+(f<<1)|0;if((d^f)&3){if(!e){break I}if(e&1){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&64478)+(l&64478)>>>1|0)+(a&l&1057);d=d+2|0;f=f+2|0;a=e-1|0}else{a=e}if((e|0)==1){break I}while(1){e=E[d>>1];l=E[f>>1];B[d>>1]=((e&64478)+(l&64478)>>>1|0)+(e&l&1057);e=E[d+2>>1];l=E[f+2>>1];B[d+2>>1]=((e&64478)+(l&64478)>>>1|0)+(e&l&1057);d=d+4|0;f=f+4|0;a=a-2|0;if(a){continue}break}break I}if(f&3){a=E[d>>1];l=E[f>>1];B[d>>1]=((a&64478)+(l&64478)>>>1|0)+(a&l&1057);e=e-1|0;f=f+2|0;d=d+2|0}K:{if(e>>>0<2){a=e;break K}a=e-2|0;if(!(a&2)){e=C[f>>2];l=C[d>>2];C[d>>2]=((e&l&69272609)+(e>>>1&2112847343)|0)+(l>>>1&2112847343);f=f+4|0;e=a;d=d+4|0}if(a>>>0<2){break K}while(1){a=C[f>>2];l=C[d>>2];C[d>>2]=((a&l&69272609)+(a>>>1&2112847343)|0)+(l>>>1&2112847343);a=C[f+4>>2];l=C[d+4>>2];C[d+4>>2]=((a&l&69272609)+(a>>>1&2112847343)|0)+(l>>>1&2112847343);d=d+8|0;f=f+8|0;e=e-4|0;a=e;if(e>>>0>1){continue}break}}if(!a){break I}e=d;a=E[d>>1];d=E[f>>1];B[e>>1]=((a&64478)+(d&64478)>>>1|0)+(a&d&1057)}g=b+g|0;e=i+(b<<1)|0;break H}e=i;if(!g){break b}}if((g|0)!=(q|0)){continue}break}h=C[c+16>>2]+h|0;j=j-1|0;if(j){continue}break b}}i=d>>>3|0;while(1){a=0;while(1){g=e+2|0;a=D[e|0]+a|0;b=D[e+1|0];L:{if(b){M:{if((a|0)>=(k|0)){break M}d=n-a|0;N:{if((d|0)<=0){d=0;f=b;break N}f=b-d|0;if((f|0)<=0){break M}}e=a+d|0;m=k-e|0;m=(f|0)<(m|0)?f:m;if((m|0)<=0){break M}f=g+(d<<1)|0;d=(e<<1)+h|0;e=0;while(1){o=E[f>>1];p=(o<<16|o)&65043487;o=E[d>>1];o=(o<<16|o)&65043487;o=(I(i,p-o|0)>>>5|0)+o&65043487;B[d>>1]=o>>>16|o;d=d+2|0;f=f+2|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break L}e=g;if(!a){break b}}if((a|0)!=(q|0)){continue}break}h=h+l|0;j=j-1|0;if(j){continue}break}break b}j=j-(n<<1)|0;F=n+C[b+8>>2]|0;r=C[b+12>>2];while(1){i=0;while(1){b=e+2|0;i=D[e|0]+i|0;a=D[e+1|0];O:{if(a){P:{if((i|0)>=(F|0)){break P}e=n-i|0;Q:{if((e|0)<=0){e=0;g=a;break Q}g=a-e|0;if((g|0)<=0){break P}}k=e+i|0;s=F-k|0;G=(g|0)<(s|0)?g:s;if((G|0)<=0){break P}g=b+(e<<1)|0;e=(k<<1)+j|0;J=D[f+30|0];v=C[(J<<2)+382144>>2];H=D[f+29|0];w=C[(H<<2)+382144>>2];K=D[f+28|0];u=C[(K<<2)+382144>>2];M=C[f+24>>2];s=D[f+34|0];y=D[f+33|0];p=D[f+32|0];k=0;while(1){x=E[g>>1];z=E[e>>1];t=D[u+((z&m)>>>p|0)|0];L=(I(d,D[u+((x&m)>>>p|0)|0]-t|0)>>>8|0)+t>>>K<>>y|0)|0];t=L|(I(d,D[w+((h&x)>>>y|0)|0]-t|0)>>>8|0)+t>>>H<>>s|0)|0];x=D[v+((o&z)>>>s|0)|0];B[e>>1]=t|(I(d,L-x|0)>>>8|0)+x>>>J<>2]|0;i=C[b+12>>2];while(1){j=0;while(1){b=e+2|0;j=D[e|0]+j|0;a=D[e+1|0];R:{if(a){S:{if((j|0)>=(l|0)){break S}e=n-j|0;T:{if((e|0)<=0){e=0;g=a;break T}g=a-e|0;if((g|0)<=0){break S}}h=e+j|0;m=l-h|0;v=(g|0)<(m|0)?g:m;if((v|0)<=0){break S}g=b+I(e,3)|0;e=I(h,3)+k|0;h=0;while(1){w=D[f+28|0];u=C[(w<<2)+382144>>2];r=C[f+12>>2];m=D[e|0]|(D[e+1|0]<<8|D[e+2|0]<<16);o=D[f+32|0];s=D[u+((r&m)>>>o|0)|0];z=D[f+29|0];G=C[(z<<2)+382144>>2];x=C[f+16>>2];y=D[f+33|0];p=D[G+((x&m)>>>y|0)|0];H=D[f+30|0];K=C[(H<<2)+382144>>2];J=C[f+20>>2];t=J&m;m=D[f+34|0];F=D[K+(t>>>m|0)|0];t=r;r=D[g|0]|(D[g+1|0]<<8|D[g+2|0]<<16);m=C[f+24>>2]|s+(I(d,D[u+((t&r)>>>o|0)|0]-s|0)>>>8|0)>>>w<>>y|0)|0]-p|0)>>>8|0)>>>z<>>m|0)|0]-F|0)>>>8|0)>>>H<>>16;A[e+1|0]=m>>>8;e=e+3|0;g=g+3|0;h=h+1|0;if((v|0)!=(h|0)){continue}break}}j=a+j|0;e=b+I(a,3)|0;break R}e=b;if(!j){break b}}if((j|0)!=(q|0)){continue}break}k=C[c+16>>2]+k|0;i=i-1|0;if(i){continue}break};break b;case 2:break y;default:break b}}i=C[f+20>>2];a=C[f+16>>2];g=C[f+12>>2];if(!((i|(a|g))!=16777215|!((a|0)==65280|(g|0)==65280)&(i|0)!=65280)){k=j-(n<<2)|0;i=n+C[b+8>>2]|0;j=C[b+12>>2];if((d|0)!=128){break k}while(1){g=0;while(1){b=e+4|0;g=E[e>>1]+g|0;a=E[e+2>>1];U:{if(a){V:{if((g|0)>=(i|0)){break V}d=n-g|0;W:{if((d|0)<=0){d=0;f=a;break W}f=a-d|0;if((f|0)<=0){break V}}e=d+g|0;h=i-e|0;h=(f|0)<(h|0)?f:h;if((h|0)<=0){break V}f=b+(d<<2)|0;d=(e<<2)+k|0;if((h|0)!=1){l=h&-2;e=0;while(1){m=C[d>>2];o=C[f>>2];C[d>>2]=((m&16711422)+(o&16711422)>>>1|0)+(m&o&65793);m=C[d+4>>2];o=C[f+4>>2];C[d+4>>2]=((m&16711422)+(o&16711422)>>>1|0)+(m&o&65793);d=d+8|0;f=f+8|0;e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(!(h&1)){break V}p=d;d=C[d>>2];e=C[f>>2];C[p>>2]=((d&16711422)+(e&16711422)>>>1|0)+(d&e&65793)}g=a+g|0;e=b+(a<<2)|0;break U}e=b;if(!g){break b}}if((g|0)!=(q|0)){continue}break}k=C[c+16>>2]+k|0;j=j-1|0;if(j){continue}break}break b}j=j-(n<<2)|0;s=n+C[b+8>>2]|0;h=C[b+12>>2];while(1){l=0;while(1){b=e+4|0;l=E[e>>1]+l|0;a=E[e+2>>1];X:{if(a){Y:{if((l|0)>=(s|0)){break Y}e=n-l|0;Z:{if((e|0)<=0){e=0;g=a;break Z}g=a-e|0;if((g|0)<=0){break Y}}i=e+l|0;k=s-i|0;x=(g|0)<(k|0)?g:k;if((x|0)<=0){break Y}g=b+(e<<2)|0;e=(i<<2)+j|0;z=D[f+30|0];y=C[(z<<2)+382144>>2];G=D[f+29|0];p=C[(G<<2)+382144>>2];J=D[f+28|0];F=C[(J<<2)+382144>>2];i=D[f+34|0];m=D[f+33|0];o=D[f+32|0];k=0;while(1){u=C[f+12>>2];r=C[e>>2];v=D[F+((u&r)>>>o|0)|0];H=C[f+16>>2];w=D[p+((H&r)>>>m|0)|0];K=C[f+20>>2];r=D[y+((K&r)>>>i|0)|0];t=u;u=C[g>>2];C[e>>2]=C[f+24>>2]|v+(I(d,D[F+((t&u)>>>o|0)|0]-v|0)>>>8|0)>>>J<>>m|0)|0]-w|0)>>>8|0)>>>G<>>i|0)|0]-r|0)>>>8|0)>>>z<>2]+j|0;h=h-1|0;if(h){continue}break}break b}if((d|0)==255){_:{switch(k-1|0){case 0:a=C[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=D[e|0]+d|0;e=D[e+1|0];$:{if(e){gf(d+j|0,b,e);d=d+e|0;e=b+e|0;break $}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break};break b;case 1:a=C[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=D[e|0]+d|0;e=D[e+1|0];aa:{if(e){g=e<<1;gf((d<<1)+j|0,b,g);d=d+e|0;e=b+g|0;break aa}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break};break b;case 2:a=C[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=D[e|0]+d|0;e=D[e+1|0];ba:{if(e){g=I(e,3);gf(I(d,3)+j|0,b,g);d=d+e|0;e=b+g|0;break ba}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break};break b;case 3:break _;default:break b}}a=C[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=E[e>>1]+d|0;e=E[e+2>>1];ca:{if(e){g=e<<2;gf((d<<2)+j|0,b,g);d=d+e|0;e=b+g|0;break ca}e=b;if(!d){break b}}if((d|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;a=a-1|0;if(a){continue}break}break b}da:{switch(k-2|0){case 0:ea:{m=C[i+20>>2];f=C[i+16>>2];n=C[i+12>>2];a=m|(f|n);if((a|0)!=32767){if(!((f|0)==2016|(n|0)==2016)&(m|0)!=2016|(a|0)!=65535){break ea}k=C[b+12>>2];if((d|0)==128){while(1){b=0;while(1){a=e+2|0;b=D[e|0]+b|0;i=D[e+1|0];fa:{if(i){d=(b<<1)+j|0;ga:{if((a^d)&3){ha:{if(!(i&1)){f=a;e=i;break ha}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&63454)+(f&63454)>>>1|0)+(f&g&2081);d=d+2|0;f=e+4|0;e=i-1|0}if((i|0)==1){break ga}while(1){g=E[d>>1];h=E[f>>1];B[d>>1]=((g&63454)+(h&63454)>>>1|0)+(g&h&2081);g=E[d+2>>1];h=E[f+2>>1];B[d+2>>1]=((g&63454)+(h&63454)>>>1|0)+(g&h&2081);d=d+4|0;f=f+4|0;e=e-2|0;if(e){continue}break}break ga}ia:{if(!(a&3)){f=a;g=i;break ia}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&63454)+(f&63454)>>>1|0)+(f&g&2081);d=d+2|0;f=e+4|0;g=i-1|0}ja:{if(g>>>0<2){e=g;break ja}e=g-2|0;if(!(e&2)){g=C[f>>2];h=C[d>>2];C[d>>2]=((g&h&136382497)+(g>>>1&2079292399)|0)+(h>>>1&2079292399);f=f+4|0;g=e;d=d+4|0}if(e>>>0<2){break ja}while(1){e=C[f>>2];h=C[d>>2];C[d>>2]=((e&h&136382497)+(e>>>1&2079292399)|0)+(h>>>1&2079292399);e=C[f+4>>2];h=C[d+4>>2];C[d+4>>2]=((e&h&136382497)+(e>>>1&2079292399)|0)+(h>>>1&2079292399);d=d+8|0;f=f+8|0;g=g-4|0;e=g;if(e>>>0>1){continue}break}}if(!e){break ga}g=d;d=E[d>>1];e=E[f>>1];B[g>>1]=((d&63454)+(e&63454)>>>1|0)+(d&e&2081)}b=b+i|0;e=a+(i<<1)|0;break fa}e=a;if(!b){break b}}if((b|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;k=k-1|0;if(k){continue}break b}}i=d>>>3|0;while(1){g=0;while(1){a=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];ka:{if(b){d=(g<<1)+j|0;e=0;f=a;while(1){h=E[f>>1];p=(h<<16|h)&132184095;h=E[d>>1];h=(h<<16|h)&132184095;h=(I(i,p-h|0)>>>5|0)+h&132184095;B[d>>1]=h>>>16|h;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)!=(q|0)){continue}break}j=j+l|0;k=k-1|0;if(k){continue}break}break b}if(!((f|0)==992|(n|0)==992)&(m|0)!=992){break ea}k=C[b+12>>2];if((d|0)==128){while(1){b=0;while(1){a=e+2|0;b=D[e|0]+b|0;i=D[e+1|0];la:{if(i){d=(b<<1)+j|0;ma:{if((a^d)&3){na:{if(!(i&1)){f=a;e=i;break na}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&64478)+(f&64478)>>>1|0)+(f&g&1057);d=d+2|0;f=e+4|0;e=i-1|0}if((i|0)==1){break ma}while(1){g=E[d>>1];h=E[f>>1];B[d>>1]=((g&64478)+(h&64478)>>>1|0)+(g&h&1057);g=E[d+2>>1];h=E[f+2>>1];B[d+2>>1]=((g&64478)+(h&64478)>>>1|0)+(g&h&1057);d=d+4|0;f=f+4|0;e=e-2|0;if(e){continue}break}break ma}oa:{if(!(a&3)){f=a;g=i;break oa}g=E[d>>1];f=E[e+2>>1];B[d>>1]=((g&64478)+(f&64478)>>>1|0)+(f&g&1057);d=d+2|0;f=e+4|0;g=i-1|0}pa:{if(g>>>0<2){e=g;break pa}e=g-2|0;if(!(e&2)){g=C[f>>2];h=C[d>>2];C[d>>2]=((g&h&69272609)+(g>>>1&2112847343)|0)+(h>>>1&2112847343);f=f+4|0;g=e;d=d+4|0}if(e>>>0<2){break pa}while(1){e=C[f>>2];h=C[d>>2];C[d>>2]=((e&h&69272609)+(e>>>1&2112847343)|0)+(h>>>1&2112847343);e=C[f+4>>2];h=C[d+4>>2];C[d+4>>2]=((e&h&69272609)+(e>>>1&2112847343)|0)+(h>>>1&2112847343);d=d+8|0;f=f+8|0;g=g-4|0;e=g;if(e>>>0>1){continue}break}}if(!e){break ma}g=d;d=E[d>>1];e=E[f>>1];B[g>>1]=((d&64478)+(e&64478)>>>1|0)+(d&e&1057)}b=b+i|0;e=a+(i<<1)|0;break la}e=a;if(!b){break b}}if((b|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;k=k-1|0;if(k){continue}break b}}i=d>>>3|0;while(1){g=0;while(1){a=e+2|0;g=D[e|0]+g|0;b=D[e+1|0];qa:{if(b){d=(g<<1)+j|0;e=0;f=a;while(1){h=E[f>>1];p=(h<<16|h)&65043487;h=E[d>>1];h=(h<<16|h)&65043487;h=(I(i,p-h|0)>>>5|0)+h&65043487;B[d>>1]=h>>>16|h;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 qa}e=a;if(!g){break b}}if((g|0)!=(q|0)){continue}break}j=j+l|0;k=k-1|0;if(k){continue}break}break b}h=C[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=D[e|0]+b|0;o=D[e+1|0];ra:{if(o){e=(b<<1)+j|0;x=D[i+30|0];F=C[(x<<2)+382144>>2];z=D[i+29|0];r=C[(z<<2)+382144>>2];G=D[i+28|0];v=C[(G<<2)+382144>>2];J=C[i+24>>2];s=D[i+34|0];y=D[i+33|0];p=D[i+32|0];k=0;g=a;while(1){w=E[g>>1];u=E[e>>1];H=D[v+((u&n)>>>p|0)|0];t=J|(I(d,D[v+((w&n)>>>p|0)|0]-H|0)>>>8|0)+H>>>G<>>y|0)|0];t=t|(I(d,D[r+((f&w)>>>y|0)|0]-H|0)>>>8|0)+H>>>z<>>s|0)|0];w=D[F+((m&u)>>>s|0)|0];B[e>>1]=t|(I(d,H-w|0)>>>8|0)+w>>>x<>2];while(1){k=0;while(1){a=e+2|0;k=D[e|0]+k|0;b=D[e+1|0];sa:{if(b){e=I(k,3)+j|0;h=0;g=a;while(1){F=D[i+28|0];r=C[(F<<2)+382144>>2];p=C[i+12>>2];f=D[e|0]|(D[e+1|0]<<8|D[e+2|0]<<16);n=D[i+32|0];m=D[r+((p&f)>>>n|0)|0];w=D[i+29|0];u=C[(w<<2)+382144>>2];v=C[i+16>>2];o=D[i+33|0];s=D[u+((v&f)>>>o|0)|0];z=D[i+30|0];G=C[(z<<2)+382144>>2];x=C[i+20>>2];t=x&f;f=D[i+34|0];y=D[G+(t>>>f|0)|0];t=p;p=D[g|0]|(D[g+1|0]<<8|D[g+2|0]<<16);f=C[i+24>>2]|m+(I(d,D[r+((t&p)>>>n|0)|0]-m|0)>>>8|0)>>>F<>>o|0)|0]-s|0)>>>8|0)>>>w<>>f|0)|0]-y|0)>>>8|0)>>>z<>>16;A[e+1|0]=f>>>8;e=e+3|0;g=g+3|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}k=b+k|0;e=a+I(b,3)|0;break sa}e=a;if(!k){break b}}if((k|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;l=l-1|0;if(l){continue}break};break b;case 2:break da;default:break b}}f=C[i+20>>2];a=C[i+16>>2];g=C[i+12>>2];if(!((f|(a|g))!=16777215|!((a|0)==65280|(g|0)==65280)&(f|0)!=65280)){h=C[b+12>>2];if((d|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=E[e>>1]+g|0;b=E[e+2>>1];ta:{if(b){i=b&1;d=(g<<2)+j|0;ua:{if((b|0)==1){f=a;break ua}k=b&65534;e=0;f=a;while(1){n=C[d>>2];l=C[f>>2];C[d>>2]=((n&16711422)+(l&16711422)>>>1|0)+(l&n&65793);n=C[d+4>>2];l=C[f+4>>2];C[d+4>>2]=((n&16711422)+(l&16711422)>>>1|0)+(l&n&65793);d=d+8|0;f=f+8|0;e=e+2|0;if((k|0)!=(e|0)){continue}break}}if(i){i=d;d=C[d>>2];e=C[f>>2];C[i>>2]=((d&16711422)+(e&16711422)>>>1|0)+(d&e&65793)}g=b+g|0;e=a+(b<<2)|0;break ta}e=a;if(!g){break b}}if((g|0)!=(q|0)){continue}break}j=C[c+16>>2]+j|0;h=h-1|0;if(h){continue}break}break b}m=C[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=E[e>>1]+b|0;f=E[e+2>>1];va:{if(f){e=(b<<2)+j|0;w=D[i+30|0];o=C[(w<<2)+382144>>2];u=D[i+29|0];s=C[(u<<2)+382144>>2];x=D[i+28|0];y=C[(x<<2)+382144>>2];h=D[i+34|0];n=D[i+33|0];l=D[i+32|0];k=0;g=a;while(1){v=C[i+12>>2];p=C[e>>2];F=D[y+((v&p)>>>l|0)|0];z=C[i+16>>2];r=D[s+((z&p)>>>n|0)|0];G=C[i+20>>2];p=D[o+((G&p)>>>h|0)|0];t=v;v=C[g>>2];C[e>>2]=C[i+24>>2]|F+(I(d,D[y+((t&v)>>>l|0)|0]-F|0)>>>8|0)>>>x<>>n|0)|0]-r|0)>>>8|0)>>>u<>>h|0)|0]-p|0)>>>8|0)>>>w<>2]+j|0;m=m-1|0;if(m){continue}break}break b}h=0;break i}k=0;while(1){a=e+4|0;k=E[e>>1]+k|0;b=E[e+2>>1];wa:{if(b){f=(k<<2)+j|0;g=0;e=a;while(1){i=C[e>>2];n=C[f>>2];l=n&16711935;p=(I(d,(i&16711935)-l|0)>>>8|0)+l&16711935;r=i&65280;i=n&65280;C[f>>2]=p|(I(d,r-i|0)>>>8|0)+i&65280;f=f+4|0;e=e+4|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}k=b+k|0;e=a+(b<<2)|0;break wa}e=a;if(!k){break b}}if((k|0)!=(q|0)){continue}j=C[c+16>>2]+j|0;h=h-1|0;if(!h){break b}k=0;continue}}while(1){b=e+4|0;h=E[e>>1]+h|0;a=E[e+2>>1];xa:{if(a){ya:{if((h|0)>=(i|0)){break ya}f=n-h|0;za:{if((f|0)<=0){f=0;e=a;break za}e=a-f|0;if((e|0)<=0){break ya}}g=f+h|0;l=i-g|0;l=(e|0)<(l|0)?e:l;if((l|0)<=0){break ya}e=b+(f<<2)|0;f=(g<<2)+k|0;g=0;while(1){m=C[e>>2];o=C[f>>2];s=o&16711935;p=(I(d,(m&16711935)-s|0)>>>8|0)+s&16711935;r=m&65280;m=o&65280;C[f>>2]=p|(I(d,r-m|0)>>>8|0)+m&65280;f=f+4|0;e=e+4|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}h=a+h|0;e=b+(a<<2)|0;break xa}e=b;if(!h){break b}}if((h|0)!=(q|0)){continue}k=C[c+16>>2]+k|0;j=j-1|0;if(!j){break b}h=0;continue}}if(D[c|0]&2){fh(c)}return 0}function Dj(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,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=0,F=0,G=0,J=0,K=0,L=0,M=0,N=0,O=0;y=Ce-1040|0;Ce=y;c=C[a+52>>2];if(D[a|0]&2){Fj(a,1)}if(c){e=C[c>>2];if(e){Al(e+32|0,c)}C[c>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;e=c- -64|0;g=C[e>>2];if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}C[e>>2]=0}C[c+4>>2]=0;g=c+4|0;e=C[b+4>>2];a:{b:{c:{d:{e:{i=C[a+4>>2];h=C[i>>2];f:{if(!(((h&-268435456)!=268435456?h:0)|(h>>>24&15)-1>>>0>2)){g:{h=C[e>>2];if((h&-268435456)!=268435456?h:0){break g}d=-1;if((h>>>24&15)-1>>>0>2){break g}h=$q(C[i+4>>2],C[e+4>>2],g);C[c- -64>>2]=h;if(!(h|C[c+4>>2])){break a}if(D[i+8|0]==D[e+8|0]){break d}C[g>>2]=0;break d}d=C[a+52>>2];z=D[d+79|0];o=D[d+78|0];f=D[d+77|0];k=D[d+76|0];n=C[i+4>>2];h:{d=D[e+9|0];h=(d|0)==3?4:d;g=If(256,h);if(g){d=0;if(C[n>>2]>0){break h}C[c- -64>>2]=g;break d}_e(0);C[c- -64>>2]=0;d=-1;break a}while(1){j=C[n+4>>2]+(d<<2)|0;t=(I(z,D[j+3|0])>>>0)/255|0;l=(I(o,D[j+2|0])>>>0)/255|0;m=(I(f,D[j+1|0])>>>0)/255|0;j=(I(k,D[j|0])>>>0)/255|0;i:{j:{switch(D[e+9|0]-1|0){case 0:A[g+I(d,h)|0]=m>>>D[e+29|0]<>>D[e+28|0]<>>D[e+30|0]<>>D[e+31|0]<>1]=m>>>D[e+29|0]<>>D[e+28|0]<>>D[e+30|0]<>>D[e+31|0]<>>3|0)|0]=j;A[t+(D[e+33|0]>>>3|0)|0]=m;A[t+(D[e+34|0]>>>3|0)|0]=l;break i;case 3:break j;default:break i}}C[g+I(d,h)>>2]=m>>>D[e+29|0]<>>D[e+28|0]<>>D[e+30|0]<>>D[e+31|0]<>2]){continue}break}C[c- -64>>2]=g;break f}h=C[e>>2];if(((h&-268435456)!=268435456?h:0)|(h>>>24&15)-1>>>0>2){break e}m=C[e+4>>2];C[y+1024>>2]=256;while(1){h=(d<<2)+y|0;A[h+3|0]=255;A[h+2|0]=I(d&3,85);l=d&224;A[h|0]=l>>>6|l>>>3|l;o=h;h=d<<3&224;A[o+1|0]=h>>>6|h>>>3|h;d=d+1|0;if((d|0)!=256){continue}break}C[y+1028>>2]=y;h=$q(y+1024|0,m,g);C[c- -64>>2]=h;if(!C[c+4>>2]){d=-1;if(!h){break a}}C[g>>2]=0}C[c>>2]=b;if(b){break c}break b}if((e|0)!=(i|0)){break d}C[g>>2]=1}C[c>>2]=b}d=Fe[C[94762]](8)|0;if(d){C[94766]=C[94766]+1}k:{if(!d){_e(0);break k}C[d>>2]=c;C[d+4>>2]=C[b+32>>2];C[b+32>>2]=d}}b=C[e+4>>2];if(b){b=C[b+8>>2]}else{b=0}C[c+80>>2]=b;b=C[i+4>>2];if(b){b=C[b+8>>2]}else{b=0}C[c+84>>2]=b;d=0;z=Ce-16|0;Ce=z;n=a;p=C[a+52>>2];E=C[p>>2];a=C[E+4>>2];l:{if(D[a+8|0]<=7){ag(p);d=Qe(20121,0);break l}if(D[n|0]&2){Fj(n,1);a=C[E+4>>2]}C[p+8>>2]=588;C[p+56>>2]=C[n+4>>2];b=C[n+16>>2];C[p+60>>2]=a;C[p+28>>2]=b;C[p+48>>2]=C[E+16>>2];m:{if(!(D[p+69|0]&16)){break m}if(yl(n)){break m}d=0;break l}n:{if(!(!C[p+4>>2]|C[p+68>>2]&-4097)){b=589;break n}b=590;a=C[n+4>>2];if(D[a+28|0]>8|D[C[E+4>>2]+28|0]>8){break n}o:{p:{if(D[a+8|0]>7){break p}b=C[a>>2];if(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2){break p}a=0;b=0;q:{r:{switch(D[C[n+4>>2]+8|0]-1|0){case 3:a=C[n+52>>2];if(D[C[C[a>>2]+4>>2]+9|0]!=4){break q}a=C[a+68>>2]&-28673;b=a?(a|0)==256?405:0:406;break q;case 0:break r;default:break q}}c=C[n+52>>2];d=C[C[c>>2]+4>>2];if(D[d+8|0]>=8){a=D[d+9|0]}s:{t:{u:{v:{w:{c=C[c+68>>2]&-28673;switch(c|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 q;case 18:break t;case 0:break v;default:break w}}c=c-256|0;if(!c){break u}if((c|0)==18){break s}break q}b=C[(a<<2)+174720>>2];break q}b=C[(a<<2)+174752>>2];break q}b=a>>>0>1?407:0;break q}b=a>>>0>1?408:0}break o}x:{if(D[a+9|0]!=1){break x}a=C[a>>2];if(((a&-268435456)!=268435456?a:0)|(a>>>24&15)-1>>>0>2){break x}a=0;b=0;c=C[n+52>>2];d=C[C[c>>2]+4>>2];if(D[d+8|0]>=8){a=D[d+9|0]}y:{z:{A:{B:{C:{D:{c=C[c+68>>2]&-28673;switch(c|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 y;case 18:break A;case 0:break C;default:break D}}c=c-256|0;if(!c){break B}if((c|0)==18){break z}break y}b=C[(a<<2)+174784>>2];break y}b=C[(a<<2)+174816>>2];break y}b=a>>>0>1?417:0;break y}b=a>>>0>1?418:0}break o}if(D[p+68|0]&16){a=C[n+4>>2];c=C[n+52>>2];b=C[C[c>>2]+4>>2];E:{F:{G:{H:{I:{e=C[c+68>>2]&-28673;switch(e-16|0){case 1:break F;case 2:break G;case 0:break H;default:break I}}if(C[a+24>>2]|(e|0)!=274){break F}d=427;if(D[b+9|0]!=1){break F}b=C[b+4>>2]?428:427;break E}d=429;J:{switch(D[b+9|0]-1|0){case 0:b=C[b+4>>2]?430:429;break E;case 1:if(D[a+9|0]!=4|C[a+24>>2]!=-16777216|C[a+16>>2]!=65280){break F}if(!(C[a+12>>2]==255&C[b+12>>2]==31)&(C[a+20>>2]!=255|C[b+20>>2]!=31)){break F}a=C[b+16>>2];b=(a|0)==2016?431:(a|0)==992?432:429;break E;case 3:break J;default:break F}}c=C[a+12>>2];d=C[b+12>>2];K:{if(!((c|0)!=(d|0)|C[a+16>>2]!=C[b+16>>2]|(C[a+20>>2]!=C[b+20>>2]|D[a+9|0]!=4))){d=433;if(C[a+24>>2]!=-16777216){break K}break F}if((c|0)!=C[b+20>>2]|C[a+16>>2]!=C[b+16>>2]|((d|0)!=C[a+20>>2]|D[a+9|0]!=4)){break K}d=434;if(C[a+24>>2]==-16777216){break F}}b=429;break E}if(C[a+24>>2]){break F}d=435;L:{switch(D[b+9|0]-1|0){case 0:b=C[b+4>>2]?436:435;break E;case 1:if(!C[c+4>>2]){break F}a=C[b+16>>2];b=(a|0)==2016?437:(a|0)==992?438:435;break E;case 3:break L;default:break F}}c=C[a+12>>2];M:{if((c|0)!=C[b+12>>2]){break M}e=C[a+16>>2];if((e|0)!=C[b+16>>2]){break M}d=C[b+20>>2];b=C[a+20>>2];if((d|0)!=(b|0)|D[a+9|0]!=4){break M}d=439;if((b|(c|e))==16777215){break F}}d=435}b=d}break o}a=C[n+52>>2];g=C[C[a>>2]+4>>2];c=D[g+8|0];N:{O:{if(c>>>0<8){break O}b=C[n+4>>2];e=C[a+68>>2]&-28673;if((e|0)!=256){if(e){break O}if((c|0)==8){P:{if(D[b+9|0]!=4){break P}a=C[b+12>>2];if((a|0)!=1072693248){if((a|0)!=16711680|C[b+16>>2]!=65280){break P}d=440;if(C[b+20>>2]!=255){break P}break O}if(C[b+16>>2]!=1047552){break P}d=441;if(C[b+20>>2]==1023){break O}}b=442;break N}a=C[g+24>>2]?C[b+24>>2]?4:2:1;i=C[(D[b+9|0]<<2)+174844>>2];c=C[i+12>>2];Q:{if(!c){e=0;break Q}e=0;while(1){d=i+I(e,40)|0;h=C[d>>2];R:{if(h?(h|0)!=C[b+12>>2]:0){break R}h=C[d+4>>2];if(h?(h|0)!=C[b+16>>2]:0){break R}h=C[d+8>>2];if(h?(h|0)!=C[b+20>>2]:0){break R}h=C[d+16>>2];if(h?(h|0)!=C[g+12>>2]:0){break R}h=C[d+20>>2];if(h?(h|0)!=C[g+16>>2]:0){break R}h=C[d+24>>2];if(!(a&C[d+36>>2])|(D[g+9|0]!=(c|0)|(h?(h|0)!=C[g+20>>2]:0))){break R}l=C[d+28>>2];m=Br();h=Ce-16|0;c=C[94768];S:{if((c|0)!=-1){break S}if(!D[422824]){A[422824]=1}c=0;C[94767]=4;C[94768]=0;C[h+12>>2]=0;if(!C[h+12>>2]){break S}C[94767]=16;c=2;C[94768]=2}if(C[d+28>>2]==(l&((c>>>13&1)<<3|(m|0)!=0))){break Q}}e=e+1|0;c=C[(i+I(e,40)|0)+12>>2];if(c){continue}break}}d=C[(i+I(e,40)|0)+32>>2];if((d|0)!=443){break O}d=444;if(C[b>>2]==372711428){break O}d=445;if(C[g>>2]==372711428){break O}T:{if(D[b+9|0]!=4|D[g+9|0]!=4|(C[b+12>>2]!=C[g+12>>2]|C[b+16>>2]!=C[g+16>>2])){break T}if(C[b+20>>2]!=C[g+20>>2]){break T}d=446;if((a|0)!=4){break O}b=C[b+24>>2]==C[g+24>>2]?447:448;break N}b=(a|0)==4?448:443;break N}if(D[b+9|0]==2){d=449;if(C[a+4>>2]){break O}}d=450;if(D[g+9|0]==1){break O}if(C[b+24>>2]){d=451;if(C[g+24>>2]){break O}}d=452}b=d}}if(b){break n}J=C[p+68>>2];K=C[C[E+4>>2]>>2];L=C[C[n+4>>2]>>2];U:{if(C[95407]!=2147483647){break U}a=Ug(24247);C[95407]=0;if(a){C[z>>2]=381628;F=Ce-16|0;Ce=F;C[F+12>>2]=z;b=Ce-144|0;Ce=b;f=We(b,0,144);C[f+76>>2]=-1;C[f+44>>2]=a;C[f+32>>2]=1478;C[f+84>>2]=a;t=z;c=0;a=0;m=0;g=2950;k=Ce-304|0;Ce=k;V:{W:{X:{if(C[f+4>>2]){break X}Ao(f);if(C[f+4>>2]){break X}break W}b=D[2950];if(!b){break V}Y:{Z:{_:{$:{while(1){aa:{b=b&255;ba:{if((b|0)==32|b-9>>>0<5){while(1){b=g;g=b+1|0;c=D[b+1|0];if((c|0)==32|c-9>>>0<5){continue}break}Fh(f,0,0);while(1){c=C[f+4>>2];ca:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break ca}c=Jf(f)}if((c|0)==32|c-9>>>0<5){continue}break}g=C[f+4>>2];c=C[f+116>>2];if((c|0)>0|(c|0)>=0){g=g-1|0;C[f+4>>2]=g}c=g-C[f+44>>2]|0;d=c;i=s+C[f+124>>2]|0;g=c>>31;c=q+C[f+120>>2]|0;i=g+(c>>>0>>0?i+1|0:i)|0;q=c+d|0;s=q>>>0>>0?i+1|0:i;break ba}da:{ea:{fa:{if(D[g|0]==37){b=D[g+1|0];if((b|0)==42){break fa}if((b|0)!=37){break ea}}Fh(f,0,0);ga:{if(D[g|0]==37){while(1){b=C[f+4>>2];ha:{if((b|0)!=C[f+104>>2]){C[f+4>>2]=b+1;b=D[b|0];break ha}b=Jf(f)}if((b|0)==32|b-9>>>0<5){continue}break}g=g+1|0;break ga}b=C[f+4>>2];if((b|0)!=C[f+104>>2]){C[f+4>>2]=b+1;b=D[b|0];break ga}b=Jf(f)}if(D[g|0]!=(b|0)){c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}if((b|0)>=0){break V}c=0;if(G){break V}break W}b=C[f+4>>2]-C[f+44>>2]|0;d=b;e=d>>31;b=s+C[f+124>>2]|0;c=q+C[f+120>>2]|0;j=(c>>>0>>0?b+1|0:b)+e|0;q=c+d|0;s=q>>>0>>0?j+1|0:j;b=g;break ba}l=0;b=g+2|0;break da}if(!(D[g+2|0]!=36|b-48>>>0>=10)){b=D[g+1|0]-48|0;c=Ce-16|0;C[c+12>>2]=t;b=(b>>>0>1?(b<<2)-4|0:0)+t|0;C[c+8>>2]=b+4;l=C[b>>2];b=g+3|0;break da}l=C[t>>2];t=t+4|0;b=g+1|0}h=0;g=0;if(D[b|0]-48>>>0<10){while(1){g=(D[b|0]+I(g,10)|0)-48|0;c=D[b+1|0];b=b+1|0;if(c-48>>>0<10){continue}break}}r=D[b|0];if((r|0)==109){m=0;h=(l|0)!=0;r=D[b+1|0];a=0;b=b+1|0}d=b;b=d+1|0;e=3;c=h;ia:{ja:{switch(r-65|0){case 39:c=D[d+1|0]==104;b=c?d+2|0:b;e=c?-2:-1;break ia;case 43:c=D[d+1|0]==108;b=c?d+2|0:b;e=c?3:1;break ia;case 51:case 57:e=1;break ia;case 11:e=2;break ia;case 41:break ia;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 ja;default:break Y}}e=0;b=d}c=D[b|0];d=(c&47)==3;w=d?1:e;v=d?c|32:c;ka:{if((v|0)==91){break ka}la:{if((v|0)!=110){if((v|0)!=99){break la}g=(g|0)<=1?1:g;break ka}wu(l,w,q,s);break ba}Fh(f,0,0);while(1){c=C[f+4>>2];ma:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break ma}c=Jf(f)}if((c|0)==32|c-9>>>0<5){continue}break}d=C[f+4>>2];c=C[f+116>>2];if((c|0)>0|(c|0)>=0){d=d-1|0;C[f+4>>2]=d}c=d-C[f+44>>2]|0;d=c;i=s+C[f+124>>2]|0;e=c>>31;c=q+C[f+120>>2]|0;s=e+(c>>>0>>0?i+1|0:i)|0;q=c+d|0;s=q>>>0>>0?s+1|0:s}o=g;u=g>>31;Fh(f,g,u);c=C[f+4>>2];na:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;break na}if((Jf(f)|0)<0){break Z}}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}d=16;oa:{pa:{qa:{ra:{sa:{switch(v-88|0){default:c=v-65|0;if(c>>>0>6|!(1<>2]-C[f+44>>2]|0;if(C[f+120>>2]!=(0-c|0)|C[f+124>>2]!=(0-((c>>31)+((c|0)!=0)|0)|0)){break qa}break _;case 3:case 11:case 27:if((v|16)==115){We(k+32|0,-1,257);A[k+32|0]=0;if((v|0)!=115){break pa}A[k+65|0]=0;A[k+46|0]=0;B[k+42>>1]=0;B[k+44>>1]=0;break pa}d=D[b+1|0];e=(d|0)==94;We(k+32|0,e,257);A[k+32|0]=0;c=e?b+2|0:b+1|0;ta:{ua:{va:{b=D[(e?2:1)+b|0];if((b|0)!=45){if((b|0)==93){break va}e=(d|0)!=94;b=c;break ta}e=(d|0)!=94;A[k+78|0]=e;break ua}e=(d|0)!=94;A[k+126|0]=e}b=c+1|0}while(1){d=D[b|0];wa:{if((d|0)!=45){if(!d){break Z}if((d|0)==93){break pa}break wa}d=45;c=D[b+1|0];if(!c|(c|0)==93){break wa}i=b+1|0;b=D[b-1|0];xa:{if(c>>>0<=b>>>0){d=c;break xa}while(1){b=b+1|0;A[b+(k+32|0)|0]=e;d=D[i|0];if(d>>>0>b>>>0){continue}break}}b=i}A[(d+k|0)+33|0]=e;b=b+1|0;continue};case 23:d=8;break ra;case 12:case 29:d=10;break ra;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 oa;case 0:case 24:case 32:break ra;case 17:break sa}}d=0}g=0;i=0;e=0;j=0;r=0;x=Ce-16|0;Ce=x;ya:{if(!((d|0)!=1&d>>>0<=36)){C[105782]=28;break ya}while(1){c=C[f+4>>2];za:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break za}c=Jf(f)}if((c|0)==32|c-9>>>0<5){continue}break}Aa:{Ba:{switch(c-43|0){case 0:case 2:break Ba;default:break Aa}}r=(c|0)==45?-1:0;c=C[f+4>>2];if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Aa}c=Jf(f)}Ca:{Da:{Ea:{Fa:{if(!((d|0)!=0&(d|0)!=16|(c|0)!=48)){c=C[f+4>>2];Ga:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ga}c=Jf(f)}if((c&-33)==88){d=16;c=C[f+4>>2];Ha:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ha}c=Jf(f)}if(D[c+377249|0]<16){break Ea}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}Fh(f,0,0);break ya}if(d){break Fa}d=8;break Ea}d=d?d:10;if(d>>>0>D[c+377249|0]){break Fa}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}Fh(f,0,0);C[105782]=28;break ya}if((d|0)!=10){break Ea}e=c-48|0;if(e>>>0<=9){d=0;while(1){d=I(d,10)+e|0;g=d>>>0<429496729;c=C[f+4>>2];Ia:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ia}c=Jf(f)}e=c-48|0;if(g&e>>>0<=9){continue}break}g=d}Ja:{if(e>>>0>9){break Ja}d=mT(g,0,10,0);j=Ee;while(1){i=j;g=d+e|0;i=g>>>0>>0?i+1|0:i;d=(i|0)==429496729&g>>>0>=2576980378|i>>>0>429496729;c=C[f+4>>2];Ka:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ka}c=Jf(f)}e=c-48|0;if(d|e>>>0>9){break Ja}d=mT(g,i,10,0);j=Ee;if((j|0)==-1&(e^-1)>>>0>=d>>>0|(j|0)!=-1){continue}break}d=10;break Da}d=10;if(e>>>0<=9){break Da}break Ca}if(d-1&d){j=D[c+377249|0];if(j>>>0>>0){while(1){e=I(d,e)+j|0;g=e>>>0<119304647;c=C[f+4>>2];La:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break La}c=Jf(f)}j=D[c+377249|0];if(g&j>>>0>>0){continue}break}g=e}if(d>>>0<=j>>>0){break Da}while(1){e=mT(g,i,d,0);o=Ee;j=j&255;if((o|0)==-1&(j^-1)>>>0>>0){break Da}i=o;g=e+j|0;i=g>>>0>>0?i+1|0:i;c=C[f+4>>2];Ma:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Ma}c=Jf(f)}j=D[c+377249|0];if(d>>>0<=j>>>0){break Da}Ag(x,d,0,0,0,g,i,0,0);if(!(C[x+8>>2]|C[x+12>>2])){continue}break}break Da}o=A[(I(d,23)>>>5&7)+377505|0];e=D[c+377249|0];if(e>>>0>>0){while(1){j=j<>>0<134217728;c=C[f+4>>2];Na:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Na}c=Jf(f)}e=D[c+377249|0];if(g&e>>>0>>0){continue}break}g=j}if(d>>>0<=e>>>0){break Da}u=o&31;if((o&63)>>>0>=32){j=0;u=-1>>>u|0}else{j=-1>>>u|0;u=j|(1<>>0>u>>>0){break Da}while(1){M=e&255;e=g;c=o&31;if((o&63)>>>0>=32){i=e<>>32-c|i<>2];Oa:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Oa}c=Jf(f)}e=D[c+377249|0];if(d>>>0<=e>>>0){break Da}if((i|0)==(j|0)&g>>>0<=u>>>0|i>>>0>>0){continue}break}}if(D[c+377249|0]>=d>>>0){break Ca}while(1){c=C[f+4>>2];Pa:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Pa}c=Jf(f)}if(D[c+377249|0]>>0){continue}break}C[105782]=68;r=0;g=-1;i=-1}c=C[f+116>>2];if((c|0)>0|(c|0)>=0){C[f+4>>2]=C[f+4>>2]-1}Qa:{if((g&i)!=-1){break Qa}}c=g^r;g=c-r|0;d=r>>31;i=(d^i)-((c>>>0>>0)+d|0)|0}Ce=x+16|0;c=C[f+4>>2]-C[f+44>>2]|0;if(C[f+120>>2]==(0-c|0)&C[f+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break _}if(!(!l|(v|0)!=112)){C[l>>2]=g;break oa}wu(l,w,g,i);break oa}if(!l){break oa}d=C[k+16>>2];c=C[k+20>>2];e=C[k+8>>2];j=C[k+12>>2];Ra:{switch(w|0){case 0:i=Ce-32|0;Ce=i;g=c&2147483647;h=g-1065418752|0;o=g-1082064896|0;Sa:{if((h|0)==(o|0)&0|h>>>0>>0){g=(c&33554431)<<7|d>>>25;h=0;o=h;d=d&33554431;if(!(!h&(d|0)==16777216?!(e|j):!h&d>>>0<16777216)){h=g+1073741825|0;break Sa}h=g+1073741824|0;if(d^16777216|e|(j|o)){break Sa}h=(g&1)+h|0;break Sa}if(!(!d&(g|0)==2147418112?!(e|j):g>>>0<2147418112)){h=((c&33554431)<<7|d>>>25)&4194303|2143289344;break Sa}h=2139095040;if(g>>>0>1082064895){break Sa}h=0;g=g>>>16|0;if(g>>>0<16145){break Sa}h=c&65535|65536;Hg(i+16|0,e,j,d,h,g-16129|0);ej(i,e,j,d,h,16257-g|0);d=C[i+8>>2];h=(C[i+12>>2]&33554431)<<7|d>>>25;g=C[i>>2]|(C[i+16>>2]|C[i+24>>2]|(C[i+20>>2]|C[i+28>>2]))!=0;j=C[i+4>>2];e=0;d=d&33554431;if(!(!e&(d|0)==16777216?!(g|j):!e&d>>>0<16777216)){h=h+1|0;break Sa}if(d^16777216|g|(e|j)){break Sa}h=(h&1)+h|0}Ce=i+32|0;C[l>>2]=c&-2147483648|h;break oa;case 1:N=l,O=qo(e,j,d,c),H[N>>3]=O;break oa;case 2:break Ra;default:break oa}}C[l>>2]=e;C[l+4>>2]=j;C[l+8>>2]=d;C[l+12>>2]=c;break oa}x=(v|0)!=99;e=x?31:g+1|0;Ta:{if((w|0)==1){d=l;if(h){d=kf(e<<2);if(!d){break $}}C[k+296>>2]=0;C[k+300>>2]=0;g=0;while(1){a=d;Ua:{while(1){c=C[f+4>>2];Va:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break Va}c=Jf(f)}if(!D[(c+k|0)+33|0]){break Ua}A[k+27|0]=c;i=k+28|0;c=k+296|0;m=c?c:432452;d=C[m>>2];Wa:{Xa:{j=k+27|0;Ya:{Za:{if(!j){if(d){break Za}c=0;break Wa}_a:{if(d){r=1;break _a}c=D[j|0];d=c<<24>>24;if((d|0)>=0){if(i){C[i>>2]=c}c=(d|0)!=0;break Wa}if(!C[C[105828]>>2]){c=1;if(!i){break Ya}C[i>>2]=d&57343;c=1;break Wa}c=c-194|0;if(c>>>0>50){break Za}d=C[(c<<2)+377520>>2];break Xa}c=D[j|0];w=c>>>3|0;if((w-16|w+(d>>26))>>>0>7){break Za}while(1){r=r-1|0;d=c-128|d<<6;if((d|0)>=0){C[m>>2]=0;if(i){C[i>>2]=d}c=1-r|0;break Wa}if(!r){break Xa}j=j+1|0;c=D[j|0];if((c&192)==128){continue}break}}C[m>>2]=0;C[105782]=25;c=-1}break Wa}C[m>>2]=d;c=-2}if((c|0)==-2){continue}m=0;if((c|0)==-1){break Z}if(a){C[(g<<2)+a>>2]=C[k+28>>2];g=g+1|0}if(!h|(e|0)!=(g|0)){continue}break}c=1;e=e<<1|1;d=lf(a,e<<2);if(d){continue}break Y}break}m=0;e=a;if(k+296|0?C[k+296>>2]:0){break Z}break Ta}if(h){g=0;d=kf(e);if(!d){break $}while(1){a=d;while(1){c=C[f+4>>2];$a:{if((c|0)!=C[f+104>>2]){C[f+4>>2]=c+1;c=D[c|0];break $a}c=Jf(f)}if(!D[(c+k|0)+33|0]){e=0;m=a;break Ta}A[a+g|0]=c;g=g+1|0;if((g|0)!=(e|0)){continue}break}c=1;e=e<<1|1;d=lf(a,e);if(d){continue}break}m=a;a=0;break Y}g=0;if(l){while(1){a=C[f+4>>2];ab:{if((a|0)!=C[f+104>>2]){C[f+4>>2]=a+1;a=D[a|0];break ab}a=Jf(f)}if(D[(a+k|0)+33|0]){A[g+l|0]=a;g=g+1|0;continue}else{e=0;a=l;m=a;break Ta}}}while(1){a=C[f+4>>2];bb:{if((a|0)!=C[f+104>>2]){C[f+4>>2]=a+1;a=D[a|0];break bb}a=Jf(f)}if(D[(a+k|0)+33|0]){continue}break}a=0;m=0;e=0}d=C[f+4>>2];c=C[f+116>>2];if((c|0)>0|(c|0)>=0){d=d-1|0;C[f+4>>2]=d}d=d-C[f+44>>2]|0;c=d+C[f+120>>2]|0;i=C[f+124>>2]+(d>>31)|0;i=c>>>0>>0?i+1|0:i;if(!(i|c)|!(x|(c|0)==(o|0)&(i|0)==(u|0))){break aa}if(h){C[l>>2]=a}cb:{if((v|0)==99){break cb}if(e){C[(g<<2)+e>>2]=0}if(!m){m=0;break cb}A[g+m|0]=0}a=e}c=C[f+4>>2]-C[f+44>>2]|0;d=c;j=s+C[f+124>>2]|0;g=c>>31;c=q+C[f+120>>2]|0;s=g+(c>>>0>>0?j+1|0:j)|0;q=c+d|0;s=q>>>0>>0?s+1|0:s;G=((l|0)!=0)+G|0}g=b+1|0;b=D[b+1|0];if(b){continue}break V}break}a=e;break _}c=1;m=0;a=0;break Y}c=h;break W}c=h}if(G){break W}}if(!c){break V}Re(m);Re(a)}Ce=k+304|0;Ce=f+144|0;Ce=F+16|0;break U}if(Br()){C[95407]=C[95407]|1}b=Ce-16|0;a=C[94768];db:{if((a|0)!=-1){break db}if(!D[422824]){A[422824]=1}a=0;C[94767]=4;C[94768]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break db}C[94767]=16;a=2;C[94768]=2}if(a>>>3&1){C[95407]=C[95407]|2}b=Ce-16|0;a=C[94768];eb:{if((a|0)!=-1){break eb}if(!D[422824]){A[422824]=1}a=0;C[94767]=4;C[94768]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break eb}C[94767]=16;a=2;C[94768]=2}if(a>>>4&1){C[95407]=C[95407]|4}b=Ce-16|0;a=C[94768];fb:{if((a|0)!=-1){break fb}if(!D[422824]){A[422824]=1}a=0;C[94767]=4;C[94768]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break fb}C[94767]=16;a=2;C[94768]=2}if(a>>>5&1){C[95407]=C[95407]|8}b=Ce-16|0;a=C[94768];gb:{if((a|0)!=-1){break gb}if(!D[422824]){A[422824]=1}a=0;C[94767]=4;C[94768]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break gb}C[94767]=16;a=2;C[94768]=2}if(!(a>>>1&1)){break U}C[95407]=C[95407]|16}b=C[94776];if(b){d=J&1011;a=0;e=C[95407];while(1){c=I(a,20)+379088|0;if(!((L|0)!=C[c>>2]|(K|0)!=C[c+4>>2]|(d|0)!=(d&C[c+8>>2]))){c=C[c+12>>2];if((c&e)==(c|0)){break n}}a=a+1|0;b=C[(I(a,20)+379088|0)+16>>2];if(b){continue}break}}a=C[C[E+4>>2]>>2];b=C[C[n+4>>2]>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0<3|((a>>>24&15)-1>>>0<3|((a&-268435456)!=268435456?a:0)))){C[p+12>>2]=590;d=0;break l}C[p+12>>2]=0;ag(p);d=Qe(20121,0);break l}C[p+12>>2]=b;d=0}Ce=z+16|0}Ce=y+1040|0;return d}function Ds(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(!(D[b+16|0]&16)){C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];f=C[b+80>>2];a:{b:{c:{a=C[b+56>>2];if((a|0)<=1332902240){if((a|0)>1198879348){break c}if((a|0)>1147500128){break b}if((a|0)!=1113943655){if((a|0)!=1114792296){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=69688;d:{e:{f:{g:{h:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-69637|0){case 0:break f;case 10:break g;case 6:break h;default:break e}}c=69694;break f}c=69698}e=C[d+I(e,20)>>2];i:{if(D[b+73|0]){j:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break j}}if(!$e(b,1,1)){break i}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break d}Fg(b);break d}if(D[b+73|0]){k:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break k}}if(!$e(b,1,1)){break d}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=2494;l:{m:{n:{o:{p:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-2437|0){case 0:break n;case 7:break o;case 6:break p;default:break m}}c=2499;break n}c=2530}e=C[d+I(e,20)>>2];q:{if(D[b+73|0]){r:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break r}}if(!$e(b,1,1)){break q}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break l}Fg(b);break l}if(D[b+73|0]){s:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break s}}if(!$e(b,1,1)){break l}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}if((a|0)<=1415671147){t:{u:{switch(a-1399418468|0){default:if((a|0)==1332902241){break t}if((a|0)!=1415670642){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}v:{w:{x:{y:{z:{e=C[b+92>>2];switch(C[e+I(a,20)>>2]-71296|0){case 6:break y;case 0:break z;default:break w}}c=C[e+I(c,20)>>2]-71341|0;if(c>>>0>8|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break A}}if(!$e(b,1,1)){break x}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;Fg(b);break v}d=C[e+I(c,20)>>2];B:{if(D[b+73|0]){C:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break C}}if(!$e(b,1,1)){break B}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if((d|0)!=71346){break v}}Fg(b);break v}if(D[b+73|0]){D:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break D}}if(!$e(b,1,1)){break v}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break};break a;case 0:a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}E:{F:{d=C[b+92>>2];if(C[d+I(a,20)>>2]!=70320){break F}c=C[d+I(c,20)>>2];if(c-70373>>>0>=4&(c|0)!=70368){break F}G:{if(D[b+73|0]){H:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break H}}if(!$e(b,1,1)){break G}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}Fg(b);break E}if(D[b+73|0]){I:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break I}}if(!$e(b,1,1)){break E}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break};break a;case 1:case 2:case 3:break a;case 4:break u}}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}J:{K:{L:{M:{N:{O:{P:{Q:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-3461|0){case 0:break N;case 12:break O;case 8:break P;case 6:case 10:case 15:break Q;default:break K}}c=C[d+I(c,20)>>2]==3551;break M}c=C[d+I(c,20)>>2]==3544;break M}c=C[d+I(c,20)>>2]-3530|0;if(c>>>0>20|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break R}}if(!$e(b,1,1)){break L}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;Fg(b);break J}c=C[d+I(c,20)>>2]-3535>>>0<3}S:{if(D[b+73|0]){T:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break T}}if(!$e(b,1,1)){break S}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break J}}Fg(b);break J}if(D[b+73|0]){U:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break U}}if(!$e(b,1,1)){break J}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=2878;V:{W:{X:{Y:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-2821|0){case 0:break X;case 10:case 14:break Y;default:break W}}c=2903}e=C[d+I(e,20)>>2];Z:{if(D[b+73|0]){_:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break _}}if(!$e(b,1,1)){break Z}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break V}Fg(b);break V}if(D[b+73|0]){$:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break $}}if(!$e(b,1,1)){break V}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}if((a|0)!=1415671148){if((a|0)!=1415933045){if((a|0)!=1416196712){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}aa:{ba:{ca:{da:{ea:{fa:{ga:{e=C[b+92>>2];d=C[e+I(a,20)>>2];switch(d-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break da;case 10:case 12:break fa;case 0:break ga;default:break ea}}c=C[e+I(c,20)>>2]==70832;break ba}c=C[e+I(c,20)>>2]==70842;break ba}if((d|0)==70826){break ca}}if(D[b+73|0]){ha:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break ha}}if(!$e(b,1,1)){break aa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;break aa}c=C[e+I(c,20)>>2]-70837>>>0<2}ia:{if(D[b+73|0]){ja:{if((e|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break ja}}if(!$e(b,1,1)){break ia}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break aa}Fg(b)}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}ka:{la:{g=C[b+92>>2];e=C[g+I(a,20)>>2];d=e-3135|0;ma:{if(!(d>>>0>11|!(1<>2]==3157;break ma}if((e|0)!=3090){break la}c=C[g+I(c,20)>>2];c=(c|0)==3148|(c|0)==3157}na:{if(D[b+73|0]){oa:{if((g|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break oa}}if(!$e(b,1,1)){break na}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break ka}Fg(b);break ka}if(D[b+73|0]){pa:{if((g|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break pa}}if(!$e(b,1,1)){break ka}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}e=C[b+92>>2];qa:{if(C[e+I(a,20)>>2]==2949){d=C[e+I(c,20)>>2];ra:{if(D[b+73|0]){sa:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break sa}}if(!$e(b,1,1)){break ra}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if((d|0)!=3010){break qa}Fg(b);break qa}if(D[b+73|0]){ta:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break ta}}if(!$e(b,1,1)){break qa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)<=1298954604){if((a|0)!=1198879349){if((a|0)!=1265525857){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}e=1;while(1){if(!D[b+72|0]){break a}c=3262;ua:{va:{wa:{xa:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-3209|0){case 0:case 2:break wa;case 9:break xa;default:break va}}c=3276}e=C[d+I(e,20)>>2];ya:{if(D[b+73|0]){za:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break za}}if(!$e(b,1,1)){break ya}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[d>>2];C[g+4>>2]=a;C[g+16>>2]=C[d+16>>2];a=C[d+12>>2];C[g+8>>2]=C[d+8>>2];C[g+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if((c|0)!=(e|0)){break ua}Fg(b);break ua}if(D[b+73|0]){Aa:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Aa}}if(!$e(b,1,1)){break ua}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];e=a+1|0;if(f>>>0>e>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}Ba:{Ca:{Da:{Ea:{Fa:{Ga:{e=C[b+92>>2];d=C[e+I(a,20)>>2];switch(d-2674|0){case 1:break Ea;case 0:break Fa;default:break Ga}}if((d|0)!=2565){break Ca}c=C[e+I(c,20)>>2]-2622|0;if(c>>>0>14|!(1<>2]-2623|0;if(c>>>0>8){break Ca}if(1<>2]-2625|0;if(c>>>0>10|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break Ia}}if(!$e(b,1,1)){break Ha}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}Fg(b);break Ba}if(D[b+73|0]){Ja:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Ja}}if(!$e(b,1,1)){break Ba}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)!=1298954605){if((a|0)!=1299145833){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}e=C[b+92>>2];Ka:{if((C[e+I(a,20)>>2]&-2)==71168){d=C[e+I(c,20)>>2]-71225|0;La:{if(D[b+73|0]){Ma:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Ma}}if(!$e(b,1,1)){break La}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if(d>>>0>1){break Ka}Fg(b);break Ka}if(D[b+73|0]){Na:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Na}}if(!$e(b,1,1)){break Ka}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-3335|0){case 11:break Ra;case 7:break Sa;case 0:case 2:break Ta;default:break Pa}}c=C[d+I(c,20)>>2]==3415;break Qa}c=C[d+I(c,20)>>2]==3398;break Qa}c=C[d+I(c,20)>>2];c=(c|0)==3390|(c|0)==3415}Ua:{if(D[b+73|0]){Va:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break Va}}if(!$e(b,1,1)){break Ua}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break Oa}Fg(b);break Oa}if(D[b+73|0]){Wa:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break Wa}}if(!$e(b,1,1)){break Oa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)!=1147500129){if((a|0)!=1198877298){break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}Xa:{Ya:{e=C[b+92>>2];d=C[e+I(a,20)>>2];Za:{if((d|0)!=2757){if((d|0)!=2693){break Ya}c=C[e+I(c,20)>>2]-2750|0;if(c>>>0>14|!(1<>2]){c=a;if(C[b+84>>2]==(a|0)){break _a}}if(!$e(b,1,1)){break Za}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1;Fg(b);break Xa}d=C[e+I(c,20)>>2];$a:{if(D[b+73|0]){ab:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break ab}}if(!$e(b,1,1)){break $a}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[c>>2];C[e+4>>2]=a;C[e+16>>2]=C[c+16>>2];a=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}if((d|0)!=2750){break Xa}}Fg(b);break Xa}if(D[b+73|0]){bb:{if((e|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break bb}}if(!$e(b,1,1)){break Xa}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}break a}a=0;C[b+76>>2]=0;if(f>>>0<2){break a}c=1;while(1){if(!D[b+72|0]){break a}cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{d=C[b+92>>2];switch(C[d+I(a,20)>>2]-2309|0){case 4:break gb;case 43:break ib;case 10:break jb;case 1:break kb;case 0:break lb;default:break db}}c=C[d+I(c,20)>>2]-2362|0;if(c>>>0>29|!(1<>2];if(c-2373>>>0<4|(c|0)==2362){break hb}break db}c=C[d+I(c,20)>>2]-2373>>>0<3;break fb}if(C[d+I(c,20)>>2]!=2381){break db}c=a+2|0;if(c>>>0>=f>>>0|C[d+I(c,20)>>2]!=2311){break db}Sl(b)}if(D[b+73|0]){mb:{if(C[b+96>>2]==C[b+92>>2]){a=C[b+84>>2];if((a|0)==C[b+76>>2]){break mb}}if(!$e(b,1,1)){break eb}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+84>>2]}C[b+84>>2]=a+1}C[b+76>>2]=C[b+76>>2]+1;break eb}c=C[d+I(c,20)>>2]==2369}nb:{if(D[b+73|0]){ob:{if((d|0)==C[b+96>>2]){d=a;if(C[b+84>>2]==(a|0)){break ob}}if(!$e(b,1,1)){break nb}d=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=a;C[e+16>>2]=C[d+16>>2];a=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=a;a=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=a+1}if(!c){break cb}}Fg(b);break cb}if(D[b+73|0]){pb:{if((d|0)==C[b+96>>2]){c=a;if(C[b+84>>2]==(a|0)){break pb}}if(!$e(b,1,1)){break cb}c=C[b+92>>2]+I(C[b+76>>2],20)|0;a=C[c+4>>2];d=C[b+96>>2]+I(C[b+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=a;C[d+16>>2]=C[c+16>>2];a=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=a;a=C[b+76>>2];c=C[b+84>>2]}C[b+84>>2]=c+1}C[b+76>>2]=a+1}a=C[b+76>>2];c=a+1|0;if(f>>>0>c>>>0){continue}break}}gh(b)}}function Ak(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,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0;q=Ce-32|0;Ce=q;e=$h(C[a>>2],C[b+4>>2],C[a+22120>>2]);a:{if(e){break a}h=C[C[a>>2]+84>>2];j=C[b>>2];if(!j){f=C[h+100>>2];C[b+56>>2]=f;g=C[h+104>>2];C[b+60>>2]=g;m=C[h+76>>2];C[b+68>>2]=m;e=C[h+80>>2];C[b+64>>2]=e;if(!(f|g|(e|m))){e=C[h+28>>2];f=C[h+32>>2];g=C[h+24>>2];C[b+60>>2]=C[h+36>>2]>>6;m=f>>6;C[b+56>>2]=m;C[b+68>>2]=e+63>>6;e=((f+g|0)+63>>6)-m|0;C[b+64>>2]=e}g=C[h+40>>2];C[b+72>>2]=g;b:{if(!C[a+22124>>2]){C[b+76>>2]=C[h+148>>2];f=C[h+144>>2];break b}C[b+76>>2]=C[h+144>>2]-C[h+148>>2];f=0}C[b+80>>2]=f;f=C[a+20>>2];if(f&1){m=C[a+36>>2];e=m+e|0;C[b+64>>2]=e;C[b+72>>2]=g+(m<<6)}if(!(!(f&2)|C[h+72>>2]!=1869968492)){e=(I(C[a+4>>2],13930)>>16)+e|0;C[b+64>>2]=e}if(C[a+22124>>2]){C[b+64>>2]=e+1}C[b>>2]=16;j=16}c:{d:{e:{u=c&1;f:{if(!(!u|j&1)){c=c&4;break f}if(!(c&2)){break e}c=c&4;if(c){break f}e=0;if(j&2){break a}}C[q+28>>2]=0;e=b+32|0;m=u?b+8|0:e;if(c){break d}break c}e=0;if(!(c&4)){break a}C[q+28>>2]=0;e=b+32|0;m=u?b+8|0:e}c=C[e>>2];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[e>>2]=0}Pg(h+108|0,d,0);C[b+80>>2]=d}if(!(!(D[a+20|0]&2)|C[h+72>>2]!=1869968492)){C[q+20>>2]=0;C[q+24>>2]=65536;C[q+12>>2]=65536;C[q+16>>2]=13930;Ui(h+108|0,q+12|0)}g:{if(!(C[h+72>>2]!=1869968492|C[a+24>>2]<=0)){j=q+28|0;g=Ce-16|0;Ce=g;h:{if(!h){d=37;break h}if(!j){d=6;break h}i:{e=C[h>>2];o=C[e>>2];k=C[h+72>>2];c=203312;j:{if((k|0)==1651078259){break j}c=203344;if((k|0)==1869968492){break j}k:{l:{if(!e){break l}d=C[e+148>>2];if(!d){break l}while(1){f=C[d+8>>2];if((k|0)==C[f+16>>2]){break k}d=C[d+4>>2];if(d){continue}break}}f=0}if(!f){break i}c=f+20|0}f=hf(o,C[c>>2],g+12|0);d=C[g+12>>2];if(d){break h}C[f+4>>2]=c;C[f>>2]=e;C[f+8>>2]=C[c+4>>2];C[f+12>>2]=C[h+64>>2]<<10;C[f+16>>2]=C[h+68>>2]<<10;d=Fe[C[c+8>>2]](f,h)|0;if(d){c=C[C[f>>2]>>2];e=C[C[f+4>>2]+12>>2];if(e){Fe[e|0](f)}if(f){Fe[C[c+8>>2]](c,f)}break h}C[j>>2]=f;d=0;break h}d=18}Ce=g+16|0;e=d;if(d){break a}f=q+12|0;d=Ce-16|0;Ce=d;e=C[104421];m:{if(!e){h=33;break m}if(!f){h=6;break m}g=C[e>>2];c=hf(g,132,d+12|0);h=C[d+12>>2];if(!h){C[c+128>>2]=e;C[c+64>>2]=0;C[c+68>>2]=0;C[c+88>>2]=g;C[c+72>>2]=0;C[c+76>>2]=0;C[c+120>>2]=g;A[c+92|0]=0;C[c+84>>2]=-1;C[c+96>>2]=0;C[c+100>>2]=0;C[c+104>>2]=0;C[c+108>>2]=0;A[c+124|0]=0;C[c+116>>2]=-1}C[f>>2]=c}Ce=d+16|0;e=h;if(e){break a}d=C[a+24>>2]<<6;c=C[q+12>>2];if(c){C[c+48>>2]=0;C[c+44>>2]=1;C[c+60>>2]=d;C[c+64>>2]=0;C[c+52>>2]=0;A[c+124|0]=0;C[c+116>>2]=-1;C[c+96>>2]=0;A[c+92|0]=0;C[c+84>>2]=-1;C[c+56>>2]=65536}i=C[q+12>>2];f=0;c=0;h=0;x=Ce-16|0;Ce=x;v=q+28|0;n:{if(!v){break n}e=C[v>>2];if(!e|C[e+4>>2]!=203344){break n}o=Ce-16|0;Ce=o;g=6;k=x+12|0;o:{if(!C[e+4>>2]|(!e|!k)){break o}C[k>>2]=0;j=C[e+4>>2];if(!j){break o}l=C[e>>2];d=hf(C[l>>2],C[j>>2],o+12|0);g=C[o+12>>2];if(g){break o}C[d+4>>2]=j;C[d>>2]=l;C[d+8>>2]=C[j+4>>2];g=C[e+16>>2];C[d+12>>2]=C[e+12>>2];C[d+16>>2]=g;C[d+8>>2]=C[e+8>>2];p:{g=C[j+16>>2];if(!g){break p}g=Fe[g|0](e,d)|0;if(!g){break p}j=C[C[d>>2]>>2];k=C[C[d+4>>2]+12>>2];if(k){Fe[k|0](d)}if(d){Fe[C[j+8>>2]](j,d)}break o}C[k>>2]=d;g=0}Ce=o+16|0;if(g){break n}w=g?e:C[x+12>>2];o=w+20|0;g=0;l=Ce-48|0;Ce=l;k=20;q:{if(!o){break q}if(!i){k=6;break q}k=0;C[i+64>>2]=0;A[i+124|0]=0;C[i+116>>2]=-1;C[i+96>>2]=0;A[i+92|0]=0;C[i+84>>2]=-1;if(B[o>>1]<=0){break q}r:{while(1){y=B[C[o+12>>2]+(G<<1)>>1];s:{if(y>>>0<=g>>>0){break s}n=C[o+4>>2];d=n+(g<<3)|0;j=C[d>>2];e=C[d+4>>2];k=e;C[l+32>>2]=j;C[l+36>>2]=e;n=n+(y<<3)|0;r=C[n+4>>2];s=C[n>>2];C[l+40>>2]=j;C[l+44>>2]=e;t:{u:{e=g;g=C[o+8>>2];e=e+g|0;switch(D[e|0]&3){case 2:break r;case 0:break u;default:break t}}v:{if((D[g+y|0]&3)==1){C[l+36>>2]=r;C[l+32>>2]=s;n=n-8|0;break v}C[l+36>>2]=(k+r|0)/2;C[l+32>>2]=(j+s|0)/2}e=e-1|0;d=d-8|0;j=C[l+32>>2];k=C[l+36>>2]}A[i+21|0]=0;C[i+8>>2]=j;C[i+12>>2]=k;A[i+20|0]=1;g=C[i+48>>2];r=(g|0)!=0;w:{if(g){break w}}C[i+28>>2]=j;C[i+32>>2]=k;A[i+40|0]=r;C[i>>2]=0;x:{if(d>>>0>=n>>>0){break x}while(1){j=e+1|0;g=d+8|0;y:{z:{A:{B:{switch(D[e+1|0]&3){case 1:C[l+24>>2]=C[d+8>>2];C[l+28>>2]=C[d+12>>2];d=g;e=j;k=Nx(i,l+24|0);if(k){break q}break y;case 0:C[l+40>>2]=C[d+8>>2];C[l+44>>2]=C[d+12>>2];if(g>>>0>>0){while(1){k=D[j+1|0];e=C[g+12>>2];d=C[g+8>>2];C[l+24>>2]=d;C[l+28>>2]=e;j=j+1|0;g=g+8|0;C:{k=k&3;D:{if(k){if((k|0)!=1){g=5;k=0;break z}k=Sp(i,l+40|0,l+24|0);if(k){break D}d=g;e=j;break y}C[l+16>>2]=(d+C[l+40>>2]|0)/2;C[l+20>>2]=(e+C[l+44>>2]|0)/2;k=Sp(i,l+40|0,l+16|0);if(!k){break C}}g=6;break z}d=C[l+28>>2];C[l+40>>2]=C[l+24>>2];C[l+44>>2]=d;if(g>>>0>>0){continue}break}}k=Sp(i,l+40|0,l+32|0);break A;default:break B}}g=5;k=0;if((D[e+2|0]&3)!=2|d+16>>>0>n>>>0){break z}g=C[d+12>>2];C[l+24>>2]=C[d+8>>2];C[l+28>>2]=g;g=C[d+20>>2];C[l+16>>2]=C[d+16>>2];C[l+20>>2]=g;d=d+24|0;if(n>>>0>=d>>>0){g=C[d+4>>2];C[l+8>>2]=C[d>>2];C[l+12>>2]=g;k=Kx(i,l+24|0,l+16|0,l+8|0);if(k){g=6;break z}e=e+3|0;break y}k=Kx(i,l+24|0,l+16|0,l+32|0)}if(k){break q}break x}if((g|0)!=5){break q}break r}if(d>>>0>>0){continue}break}}if(D[i+20|0]){break s}k=Ce-16|0;Ce=k;E:{if(!i){e=6;break E}if(D[i+21|0]){e=Jx(i,C[i>>2]);if(e){break E}r=C[i+96>>2];n=C[i+116>>2];s=r-n|0;if((s|0)>0){g=C[i+68>>2];j=C[i+64>>2];C[k+12>>2]=0;e=j+s|0;F:{if(e>>>0<=g>>>0){g=C[i+76>>2];break F}j=C[i+88>>2];d=g;while(1){d=((d>>>1|0)+d|0)+16|0;if(e>>>0>d>>>0){continue}break}J=i,K=Ve(j,8,g,d,C[i+72>>2],k+12|0),C[J+72>>2]=K;e=C[k+12>>2];if(e){break E}g=Ve(j,1,g,d,C[i+76>>2],k+12|0);C[i+76>>2]=g;e=C[k+12>>2];if(e){break E}C[i+68>>2]=d;n=C[i+116>>2];r=C[i+96>>2];j=C[i+64>>2]}e=C[i+104>>2];d=(e+(r<<3)|0)-8|0;if(d>>>0>=e+(n<<3)>>>0){e=C[i+72>>2]+(j<<3)|0;j=g+j|0;g=C[i+108>>2]+r|0;while(1){n=C[d+4>>2];C[e>>2]=C[d>>2];C[e+4>>2]=n;g=g-1|0;A[j|0]=D[g|0]&243;j=j+1|0;e=e+8|0;d=d-8|0;n=C[i+116>>2];if(d>>>0>=C[i+104>>2]+(n<<3)>>>0){continue}break}j=C[i+64>>2]}C[i+96>>2]=n;A[i+112|0]=0;A[i+80|0]=0;C[i+64>>2]=j+s}d=C[i+32>>2];C[i+8>>2]=C[i+28>>2];C[i+12>>2]=d;e=Jx(i,C[i+24>>2]+11796480|0);if(e){break E}e=C[i+64>>2];d=C[i+84>>2];G:{if(e>>>0<=d+1>>>0){C[i+64>>2]=d;break G}g=e-1|0;C[i+64>>2]=g;j=C[i+72>>2];n=j+(d<<3)|0;g=j+(g<<3)|0;j=C[g+4>>2];C[n>>2]=C[g>>2];C[n+4>>2]=j;d=d+C[i+76>>2]|0;A[d|0]=D[d|0]|4;d=(e+C[i+76>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[i+84>>2]=-1;e=0;A[i+80|0]=0;break E}if(!(C[i+8>>2]==C[i+28>>2]&C[i+12>>2]==C[i+32>>2])){e=Nx(i,i+28|0);if(e){break E}}d=C[i+24>>2];C[i+4>>2]=d;d=gg(C[i>>2],d);if(d){e=Mx(i,d>>>31|0,C[i+36>>2]);if(e){break E}e=gk(i,(d^-1)>>>31|0,C[i+36>>2]);if(e){break E}}e=C[i+64>>2];d=C[i+84>>2];H:{if(e>>>0<=d+1>>>0){C[i+64>>2]=d;break H}g=e-1|0;C[i+64>>2]=g;j=C[i+72>>2];n=j+(d<<3)|0;g=j+(g<<3)|0;j=C[g+4>>2];C[n>>2]=C[g>>2];C[n+4>>2]=j;d=d+C[i+76>>2]|0;A[d|0]=D[d|0]|4;d=(e+C[i+76>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[i+84>>2]=-1;A[i+80|0]=0;n=C[i+96>>2];j=C[i+116>>2];I:{if(n>>>0<=j+1>>>0){C[i+96>>2]=j;break I}r=n-1|0;C[i+96>>2]=r;d=C[i+104>>2];e=j<<3;g=d+e|0;s=r<<3;d=s+d|0;H=C[d+4>>2];C[g>>2]=C[d>>2];C[g+4>>2]=H;d=e;e=C[i+104>>2];d=(d+e|0)+8|0;e=(e+s|0)-8|0;if(d>>>0>>0){while(1){g=C[d>>2];s=C[d+4>>2];H=C[e+4>>2];C[d>>2]=C[e>>2];C[d+4>>2]=H;C[e>>2]=g;C[e+4>>2]=s;d=d+8|0;e=e-8|0;if(d>>>0>>0){continue}break}}g=C[i+108>>2];d=(g+j|0)+1|0;e=(g+r|0)-1|0;if(d>>>0>>0){while(1){g=D[d|0];A[d|0]=D[e|0];A[e|0]=g;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}g=C[i+108>>2]}d=g+j|0;A[d|0]=D[d|0]|4;d=(n+C[i+108>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[i+116>>2]=-1;e=0;A[i+112|0]=0}Ce=k+16|0;k=e;if(e){break q}}g=y+1|0;G=G+1|0;if((G|0)>1]){continue}break}k=0;break q}k=20}Ce=l+48|0;J:{K:{if(k){break K}L:{if(!i){g=0;d=0;break L}M:{N:{e=C[i+64>>2];if(e){g=C[i+76>>2];d=e;while(1){j=D[g|0];O:{if(j&4){if(!f){break O}break N}if(!f){break N}}g=g+1|0;j=j&8;c=(j>>>3|0)+c|0;f=!j;d=d-1|0;if(d){continue}break}d=0;if(!j){break M}}A[i+92|0]=1;h=c;d=e;break M}d=0}j=d;P:{Q:{e=C[i+96>>2];R:{if(!e){c=0;break R}g=C[i+108>>2];f=0;d=e;c=0;while(1){k=D[g|0];S:{if(k&4){if(!f){break S}break Q}if(!f){break Q}}g=g+1|0;k=k&8;c=(k>>>3|0)+c|0;f=!k;d=d-1|0;if(d){continue}break}f=0;d=0;if(!k){break P}}A[i+124|0]=1;f=c;d=e;break P}f=0;d=0}g=d+j|0;d=f+h|0}f=C[w>>2];c=o;T:{if(!f|!c){break T}f=C[f>>2];if(!f){break T}if(A[c+16|0]&1){e=C[c+4>>2];if(e){Fe[C[f+8>>2]](f,e)}C[c+4>>2]=0;e=C[c+8>>2];if(e){Fe[C[f+8>>2]](f,e)}C[c+8>>2]=0;e=C[c+12>>2];if(e){Fe[C[f+8>>2]](f,e)}}C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0}if(Wp(C[w>>2],g,d,c)){break K}C[w+20>>2]=0;e=0;h=c;U:{if(!i|!c){break U}V:{if(!D[i+92|0]){break V}t(C[h+4>>2]+(B[h+2>>1]<<3)|0,C[i+72>>2],C[i+64>>2]<<3);d=C[i+64>>2];if(!d){break V}g=C[h+8>>2]+B[h+2>>1]|0;f=C[i+76>>2];j=d&3;W:{if(!j){c=d;break W}c=d;while(1){k=D[f|0];A[g|0]=k&1?1:k&2;g=g+1|0;f=f+1|0;c=c-1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(d>>>0>=4){while(1){d=D[f|0];A[g|0]=d&1?1:d&2;d=D[f+1|0];A[g+1|0]=d&1?1:d&2;d=D[f+2|0];A[g+2|0]=d&1?1:d&2;d=D[f+3|0];A[g+3|0]=d&1?1:d&2;g=g+4|0;f=f+4|0;c=c-4|0;if(c){continue}break}}f=E[h+2>>1];d=C[i+64>>2];X:{if(!d){d=0;break X}c=C[h+12>>2]+(B[h>>1]<<1)|0;g=C[i+76>>2];if(d&1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+1|0;g=g+1|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}if(D[g+1|0]&8){B[c>>1]=f+1;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+2|0;g=g+2|0;e=e-2|0;if(e){continue}break}}f=E[h+2>>1]}B[h+2>>1]=d+f}if(!D[i+124|0]){break U}t(C[h+4>>2]+(B[h+2>>1]<<3)|0,C[i+104>>2],C[i+96>>2]<<3);f=B[h+2>>1];d=C[i+96>>2];Y:{if(!d){d=0;break Y}g=C[h+8>>2]+f|0;f=C[i+108>>2];j=d&3;Z:{if(!j){c=d;break Z}e=0;c=d;while(1){k=D[f|0];A[g|0]=k&1?1:k&2;g=g+1|0;f=f+1|0;c=c-1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(d>>>0>=4){while(1){d=D[f|0];A[g|0]=d&1?1:d&2;d=D[f+1|0];A[g+1|0]=d&1?1:d&2;d=D[f+2|0];A[g+2|0]=d&1?1:d&2;d=D[f+3|0];A[g+3|0]=d&1?1:d&2;g=g+4|0;f=f+4|0;c=c-4|0;if(c){continue}break}}f=E[h+2>>1];d=C[i+96>>2];if(!d){d=0;break Y}c=C[h+12>>2]+(B[h>>1]<<1)|0;g=C[i+108>>2];if(d&1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+1|0;g=g+1|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){if(D[g|0]&8){B[c>>1]=f;B[h>>1]=E[h>>1]+1;c=c+2|0}if(D[g+1|0]&8){B[c>>1]=f+1;B[h>>1]=E[h>>1]+1;c=c+2|0}f=f+2|0;g=g+2|0;e=e-2|0;if(e){continue}break}}f=E[h+2>>1]}B[h+2>>1]=d+f}hl(C[v>>2]);break J}hl(w);break n}C[v>>2]=w}Ce=x+16|0;c=C[q+12>>2];if(c){f=C[C[c+128>>2]>>2];d=C[c+88>>2];e=C[c+72>>2];if(e){Fe[C[d+8>>2]](d,e)}C[c+72>>2]=0;e=C[c+76>>2];if(e){Fe[C[d+8>>2]](d,e)}A[c+92|0]=0;C[c+84>>2]=-1;C[c+64>>2]=0;C[c+68>>2]=0;C[c+76>>2]=0;d=C[c+120>>2];e=C[c+104>>2];if(e){Fe[C[d+8>>2]](d,e)}C[c+104>>2]=0;e=C[c+108>>2];if(e){Fe[C[d+8>>2]](d,e)}C[c+128>>2]=0;A[c+124|0]=0;C[c+116>>2]=-1;C[c+96>>2]=0;C[c+100>>2]=0;C[c+108>>2]=0;if(c){Fe[C[f+8>>2]](f,c)}}o=u<<1;c=Ce-208|0;Ce=c;h=6;_:{if(!v){break _}g=C[v>>2];if(!g){break _}e=C[g>>2];if(!e){break _}d=C[g+4>>2];if(!d){break _}if((d|0)==203312){h=0;break _}if(!C[d+28>>2]){break _}p(c+52|0,0,152);C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c+204>>2]=c+8;C[c+48>>2]=e;C[c+120>>2]=C[d+4>>2];f=hf(C[e>>2],52,c);h=C[c>>2];if(h){break _}C[f+8>>2]=1651078259;C[f+4>>2]=203312;C[f>>2]=e;h=Fe[C[d+28>>2]](g,c+48|0)|0;if(!h){e=0;k=c+48|0;i=C[k+72>>2];$:{if((i|0)==1651078259){break $}h=C[g>>2];aa:{ba:{if((i|0)!=1869968492){e=7;if(!h){break $}j=C[h+148>>2];if(!j){break $}while(1){d=C[j+8>>2];if((i|0)==C[d+16>>2]){break ba}j=C[j+4>>2];if(j){continue}break}break $}d=C[h+156>>2];if(!d){break aa}j=C[h+148>>2]}e=0;d=Fe[C[d+60>>2]](d,k,o,0)|0;if(!d){break $}l=h+148|0;while(1){ca:{da:{if(!h|(d&255)!=19){break da}j=C[(j?j+4|0:l)>>2];if(!j){break da}e=C[k+72>>2];while(1){i=C[j+8>>2];if((e|0)==C[i+16>>2]){break ca}j=C[j+4>>2];if(j){continue}break}}e=d;break $}e=0;d=Fe[C[i+60>>2]](i,k,o,0)|0;if(d){continue}break}break $}e=7}h=e}ea:{if(h){break ea}h=Wy(f,c+48|0);if(h){break ea}d=C[g+16>>2];C[f+12>>2]=C[g+12>>2];C[f+16>>2]=d;hl(g);C[v>>2]=f;h=0;break _}d=C[C[f>>2]>>2];e=C[C[f+4>>2]+12>>2];if(e){Fe[e|0](f)}if(f){Fe[C[d+8>>2]](d,f)}}Ce=c+208|0;c=C[q+28>>2];e=h;if(e){hl(c);break a}C[m+4>>2]=C[c+20>>2];C[m+8>>2]=C[c+24>>2];g=c+28|0;break g}e=dy(h,u<<1);if(e){break a}C[m+4>>2]=C[h+100>>2];C[m+8>>2]=C[h+104>>2];g=h+76|0}f=C[g+4>>2];C[m+12>>2]=f;e=C[g>>2];C[m>>2]=0;C[m+16>>2]=e;if(!f){C[m+16>>2]=0;e=0}c=C[a+20>>2]&1;if(c){f=C[a+36>>2]+f|0;C[m+12>>2]=f}d=f+7|0;C[m+20>>2]=d;if(e){c=I(d,e)+7|0;c=Fe[C[94762]](c>>>0<=1?1:c)|0;if(c){C[94766]=C[94766]+1}C[m>>2]=c;if(!c){e=64;break a}mf(c,0,I(C[m+16>>2],C[m+20>>2])+7|0);C[m>>2]=C[m>>2]+7;if(C[g>>2]){while(1){f=I(C[m+20>>2],z);e=C[m>>2];k=I(C[g+8>>2],z);o=C[g+12>>2];fa:{ga:{ha:{ia:{ja:{j=D[g+18|0]-1|0;switch(j|0){case 3:break ha;case 2:break ia;case 0:break ja;default:break ga}}d=C[g+4>>2];h=d&7;c=d>>>3|0;break fa}d=C[g+4>>2];h=d&3;c=d>>>2|0;break fa}d=C[g+4>>2];h=d&1;c=d>>>1|0;break fa}h=0;d=C[g+4>>2];c=d}f=f+e|0;e=k+o|0;ka:{if(u){la:{switch(j|0){case 3:ma:{if(!c){break ma}j=c-1|0;d=0;k=c&3;if(k){while(1){o=D[e|0];A[f|0]=o>>>7;A[f+1|0]=o>>>3&1;e=e+1|0;f=f+2|0;c=c-1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(j>>>0<3){break ma}while(1){d=D[e|0];A[f|0]=d>>>7;A[f+1|0]=d>>>3&1;d=D[e+1|0];A[f+2|0]=d>>>7;A[f+3|0]=d>>>3&1;d=D[e+2|0];A[f+4|0]=d>>>7;A[f+5|0]=d>>>3&1;d=D[e+3|0];A[f+6|0]=d>>>7;A[f+7|0]=d>>>3&1;e=e+4|0;f=f+8|0;c=c-4|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c>>>3&1;if((h|0)==2){break ka}A[f+2|0]=0;if((h|0)==3){break ka}A[f+3|0]=0;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;case 2:na:{if(!c){break na}if(c&1){d=D[e|0];A[f|0]=d>>>7;A[f+3|0]=d>>>1&1;A[f+2|0]=d>>>3&1;A[f+1|0]=d>>>5&1;e=e+1|0;f=f+4|0;d=c-1|0}else{d=c}if((c|0)==1){break na}while(1){c=D[e|0];A[f|0]=c>>>7;A[f+3|0]=c>>>1&1;A[f+2|0]=c>>>3&1;A[f+1|0]=c>>>5&1;c=D[e+1|0];A[f+4|0]=c>>>7;A[f+7|0]=c>>>1&1;A[f+6|0]=c>>>3&1;A[f+5|0]=c>>>5&1;e=e+2|0;f=f+8|0;d=d-2|0;if(d){continue}break}}if(!h){break ka}c=D[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c>>>5&1;if((h|0)==2){break ka}A[f+2|0]=c>>>3&1;if((h|0)==3){break ka}A[f+3|0]=c>>>1&1;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;default:if(!c){break ka}j=0;d=c;h=d&3;if(h){while(1){A[f|0]=D[e|0]>>>7;f=f+1|0;e=e+1|0;d=d-1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(c>>>0<4){break ka}while(1){A[f|0]=D[e|0]>>>7;A[f+1|0]=D[e+1|0]>>>7;A[f+2|0]=D[e+2|0]>>>7;A[f+3|0]=D[e+3|0]>>>7;f=f+4|0;e=e+4|0;d=d-4|0;if(d){continue}break};break ka;case 0:break la}}if(c){while(1){d=D[e|0];A[f+7|0]=d&1;A[f|0]=d>>>7;A[f+6|0]=d>>>1&1;A[f+5|0]=d>>>2&1;A[f+4|0]=d>>>3&1;A[f+3|0]=d>>>4&1;A[f+2|0]=d>>>5&1;A[f+1|0]=d>>>6&1;e=e+1|0;f=f+8|0;c=c-1|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c>>>6&1;if((h|0)==2){break ka}A[f+2|0]=c>>>5&1;if((h|0)==3){break ka}A[f+3|0]=c>>>4&1;if((h|0)==4){break ka}A[f+4|0]=c>>>3&1;if((h|0)==5){break ka}A[f+5|0]=c>>>2&1;if((h|0)==6){break ka}A[f+6|0]=c>>>1&1;break ka}oa:{switch(j|0){case 0:if(c){while(1){d=D[e|0];A[f+7|0]=0-(d&1);A[f|0]=d<<24>>24>>>7;A[f+6|0]=d<<6<<24>>24>>>7;A[f+5|0]=d<<5<<24>>24>>>7;A[f+4|0]=d<<4<<24>>24>>>7;A[f+3|0]=d<<3<<24>>24>>>7;A[f+2|0]=d<<2<<24>>24>>>7;A[f+1|0]=d<<1<<24>>24>>>7;e=e+1|0;f=f+8|0;c=c-1|0;if(c){continue}break}}if(!h){break ka}c=A[e|0];A[f|0]=c>>>7;if((h|0)==1){break ka}A[f+1|0]=c<<1<<24>>24>>>7;if((h|0)==2){break ka}A[f+2|0]=c<<2<<24>>24>>>7;if((h|0)==3){break ka}A[f+3|0]=c<<3<<24>>24>>>7;if((h|0)==4){break ka}A[f+4|0]=c<<4<<24>>24>>>7;if((h|0)==5){break ka}A[f+5|0]=c<<5<<24>>24>>>7;if((h|0)==6){break ka}A[f+6|0]=c<<6<<24>>24>>>7;break ka;case 2:if(c){while(1){d=D[e|0];j=d>>>6&2;if(j){j=((j<<8>>>0)/3|0)-1|0}else{j=0}A[f|0]=j;j=d>>>4&2;if(j){j=((j<<8>>>0)/3|0)-1|0}else{j=0}A[f+1|0]=j;c=c-1|0;j=d>>>2&2;if(j){j=((j<<8>>>0)/3|0)-1|0}else{j=0}A[f+2|0]=j;d=d&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f+3|0]=d;e=e+1|0;f=f+4|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];d=c>>>6&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f|0]=d;if((h|0)==1){break ka}d=c>>>4&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f+1|0]=d;if((h|0)==2){break ka}d=c>>>2&2;if(d){d=((d<<8>>>0)/3|0)-1|0}else{d=0}A[f+2|0]=d;if((h|0)==3){break ka}c=c&2;if(c){c=((c<<8>>>0)/3|0)-1|0}else{c=0}A[f+3|0]=c;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;case 3:if(c){while(1){c=c-1|0;d=D[e|0];if(d>>>0>=16){j=(((d<<4&3840)>>>0)/15|0)-1|0}else{j=0}A[f|0]=j;d=d&15;if(d){d=((d<<8>>>0)/15|0)-1|0}else{d=0}A[f+1|0]=d;e=e+1|0;f=f+2|0;if(c){continue}break}}if(!h){break ka}c=D[e|0];if(c>>>0>=16){d=(((c<<4&3840)>>>0)/15|0)-1|0}else{d=0}A[f|0]=d;if((h|0)==1){break ka}c=c&15;if(c){c=((c<<8>>>0)/15|0)-1|0}else{c=0}A[f+1|0]=c;if((h|0)==2){break ka}A[f+2|0]=0;if((h|0)==3){break ka}A[f+3|0]=0;if((h|0)==4){break ka}A[f+4|0]=0;if((h|0)==5){break ka}A[f+5|0]=0;if((h|0)==6){break ka}A[f+6|0]=0;break ka;default:break oa}}gf(f,e,d)}z=z+1|0;if(z>>>0>2]){continue}break}}c=C[a+20>>2]&1}pa:{if(!c){break pa}d=C[m+16>>2];if((d|0)<=0){break pa}e=C[a+36>>2];while(1){h=d;d=d-1|0;j=1;if((e|0)>0){g=C[m>>2]+I(C[m+20>>2],d)|0;while(1){f=C[m+12>>2];if((f|0)>=2){while(1){c=f-1|0;qa:{if(u){e=c+g|0;A[e|0]=D[e|0]|D[(f+g|0)-2|0];break qa}k=c+g|0;e=D[(f+g|0)-2|0]+D[k|0]|0;A[k|0]=e>>>0>=255?255:e}e=f>>>0>2;f=c;if(e){continue}break}e=C[a+36>>2]}c=(e|0)>(j|0);j=j+1|0;if(c){continue}break}}if((h|0)>=2){continue}break}}a=C[m>>2];if(a){C[m>>2]=a-7}C[b>>2]=C[b>>2]|(u?1:2);a=C[q+28>>2];if(a){hl(a)}e=0}Ce=q+32|0;return e}function yx(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0;p=Ce-32|0;Ce=p;r=-2;a:{if(!a){break a}e=C[a+28>>2];if(!e|!C[a>>2]){break a}j=-5;q=(b|0)==4?-5:0;while(1){b=1;c=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(C[e>>2]){case 0:b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;b=D[b|0];C[e+4>>2]=b;e=C[a+28>>2];if((b&15)!=8){C[e>>2]=13;C[a+24>>2]=19641;break c}if(F[e+16>>2]<(C[e+4>>2]>>>4|0)+8>>>0){C[e>>2]=13;C[a+24>>2]=15892;break c}C[e>>2]=1;j=q;case 1:b=j;c=C[a+4>>2];if(!c){break e}c=c-1|0;C[a+4>>2]=c;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;b=D[b|0];if(((b|C[e+4>>2]<<8)>>>0)%31|0){C[e>>2]=13;C[a+24>>2]=14266;break c}if(!(b&32)){C[e>>2]=7;break b}C[e>>2]=2;j=q;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}}c=C[a+4>>2]}r=j;if(!c){break a}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=D[b|0]<<24;e=C[a+28>>2];C[e>>2]=3;j=q}r=j;b=C[a+4>>2];if(!b){break a}C[a+4>>2]=b-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<16);e=C[a+28>>2];C[e>>2]=4;j=q}r=j;b=C[a+4>>2];if(!b){break a}C[a+4>>2]=b-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<8);e=C[a+28>>2];C[e>>2]=5;j=q}r=j;b=C[a+4>>2];if(!b){break a}C[a+4>>2]=b-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+D[b|0];b=a;a=C[a+28>>2];C[b+48>>2]=C[a+8>>2];C[a>>2]=6;r=2;break a}C[e>>2]=13;C[a+24>>2]=1325;C[e+4>>2]=0;break a}d=C[e+20>>2];l=C[d+52>>2];b=C[d+48>>2];q:{if(l>>>0>>0){c=b+(l^-1)|0;break q}c=C[d+44>>2]-l|0}h=C[a+4>>2];e=C[a>>2];i=C[d+28>>2];b=C[d+32>>2];w=d+20|0;v=d+16|0;r:{s:{t:{u:{v:{w:{while(1){f=j;x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{switch(C[d>>2]){case 8:break v;case 7:break w;case 6:break F;case 5:break H;case 3:break M;case 1:break N;case 0:break O;case 4:break R;case 9:break S;case 2:break U;default:break T}}if(!h){break P}V:{if(c){f=l;break V}W:{if(C[d+44>>2]!=(l|0)){f=l;break W}f=C[d+40>>2];c=C[d+48>>2];if((f|0)==(c|0)){f=l;break W}c=c>>>0>f>>>0?c+(f^-1)|0:l-f|0;if(c){break V}}C[d+52>>2]=f;k=hg(d,a,j);j=C[d+52>>2];g=C[d+48>>2];X:{if(j>>>0>=g>>>0){f=C[d+44>>2];c=f-j|0;break X}f=C[d+44>>2];c=g+(j^-1)|0}Y:{if((f|0)!=(j|0)){f=j;break Y}f=C[d+40>>2];if((g|0)==(f|0)){f=j;break Y}c=f>>>0>>0?g+(f^-1)|0:j-f|0}if(!c){break Q}}j=C[d+4>>2];j=h>>>0>j>>>0?j:h;j=c>>>0>j>>>0?j:c;t(f,e,j);g=C[d+4>>2];C[d+4>>2]=g-j;c=c-j|0;l=f+j|0;h=h-j|0;e=e+j|0;if((g|0)!=(j|0)){while(1){f=C[d>>2];if((f|0)!=2){j=0;switch(f|0){case 8:break v;case 7:break w;case 6:break F;case 5:break H;case 3:break M;case 1:break N;case 0:break O;case 4:break R;case 9:break S;default:break T}}if(!h){j=0;break P}Z:{if(c){f=l;break Z}_:{if(C[d+44>>2]!=(l|0)){f=l;break _}f=C[d+40>>2];c=C[d+48>>2];if((f|0)==(c|0)){f=l;break _}c=c>>>0>f>>>0?c+(f^-1)|0:l-f|0;if(c){break Z}}C[d+52>>2]=f;k=hg(d,a,0);j=C[d+52>>2];g=C[d+48>>2];$:{if(j>>>0>>0){f=C[d+44>>2];c=g+(j^-1)|0;break $}f=C[d+44>>2];c=f-j|0}aa:{if((f|0)!=(j|0)){f=j;break aa}f=C[d+40>>2];if((g|0)==(f|0)){f=j;break aa}c=f>>>0>>0?g+(f^-1)|0:j-f|0}if(!c){break Q}}j=C[d+4>>2];j=h>>>0>j>>>0?j:h;j=c>>>0>j>>>0?j:c;t(f,e,j);g=C[d+4>>2];C[d+4>>2]=g-j;c=c-j|0;l=f+j|0;h=h-j|0;e=e+j|0;if((g|0)!=(j|0)){continue}break}}j=0;C[d>>2]=C[d+24>>2]?7:0;continue}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,-2);break r}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break E}c=C[d+8>>2];if(c>>>0<(C[d+4>>2]>>>10|0)+4>>>0){break J}break I}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=f;c=hg(d,a,k);break r}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break s}ba:{ca:{if(i>>>0>2){k=i;break ca}if(!h){break ba}k=i+8|0;h=h-1|0;b=D[e|0]<>2]=b&1;da:{ea:{switch((b>>>1&3)-1|0){case 0:f=Fe[C[a+32>>2]](C[a+40>>2],1,28)|0;if(!f){C[d+32>>2]=b;C[d+4>>2]=0;C[d+28>>2]=k;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=g;C[a+8>>2]=C[a+8>>2]+(g-b|0);break L}C[f+24>>2]=217712;C[f+20>>2]=213616;B[f+16>>1]=1289;C[f>>2]=0;C[d+4>>2]=f;i=k-3|0;b=b>>>3|0;f=6;break da;case 1:i=k-3|0;b=b>>>3|0;f=3;break da;case 2:C[d>>2]=9;C[a+24>>2]=16909;C[d+28>>2]=k-3;C[d+32>>2]=b>>>3;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=g;C[a+8>>2]=C[a+8>>2]+(g-b|0);break E;default:break ea}}f=k-3|0;b=b>>>3>>>(f&7)|0;i=f&-8;f=1}e=g;C[d>>2]=f;continue}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,f);break r}fa:{if(i>>>0>31){f=e;break fa}ga:{ha:{if(!h){f=e;g=i;break ha}g=i+8|0;f=e+1|0;k=h-1|0;b=D[e|0]<>>0>=24){i=g;h=k;break fa}if(k){k=i+16|0;f=e+2|0;n=h-2|0;b=D[e+1|0]<>>0>15){i=k;h=n;break fa}if(!n){g=k;break ha}g=i+24|0;f=e+3|0;n=h-3|0;b=D[e+2|0]<>>0>7){i=g;h=n;break fa}if(n){break ga}}}C[d+28>>2]=g;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break s}i=i+32|0;f=e+4|0;h=h-4|0;b=D[e+3|0]<>>16|0;if((e|0)!=(b&65535)){C[d>>2]=9;C[a+24>>2]=7361;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break E}C[d+4>>2]=e;if(b>>>0<4294901760){g=2}else{g=C[d+24>>2]?7:0}b=0;i=0;e=f;C[d>>2]=g;continue}ia:{if(i>>>0>13){f=e;break ia}ja:{ka:{if(!h){f=e;c=i;break ka}c=i+8|0;f=e+1|0;g=h-1|0;b=D[e|0]<>>0>=6){i=c;h=g;break ia}if(g){break ja}}C[d+28>>2]=c;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break s}h=h-2|0;f=e+2|0;i=i+16|0;b=D[e+1|0]<>2]=b&16383;la:{c=b&31;if(c>>>0<=29){e=b>>>5&31;if(e>>>0<30){break la}}C[d>>2]=9;C[a+24>>2]=6955;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0);break E}c=Fe[C[a+32>>2]](C[a+40>>2],(c+e|0)+258|0,4)|0;C[d+12>>2]=c;if(c){break K}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=f;C[a+8>>2]=C[a+8>>2]+(f-b|0)}C[d+52>>2]=l;c=hg(d,a,-4);break r}C[d>>2]=4;c=0;C[d+8>>2]=0;i=i-14|0;b=b>>>14|0;e=f}while(1){ma:{if(i>>>0<=2){if(!h){break ma}h=h-1|0;b=D[e|0]<>2]=c+1;C[C[d+12>>2]+(C[(c<<2)+213456>>2]<<2)>>2]=b&7;i=i-3|0;b=b>>>3|0;c=C[d+8>>2];if(c>>>0<(C[d+4>>2]>>>10|0)+4>>>0){continue}break I}break}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=0;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break s}if(c>>>0<19){while(1){C[d+8>>2]=c+1;C[C[d+12>>2]+(C[(c<<2)+213456>>2]<<2)>>2]=0;c=C[d+8>>2];if(c>>>0<19){continue}break}}C[d+16>>2]=7;f=C[d+12>>2];g=C[d+36>>2];C[p+28>>2]=0;c=Fe[C[a+32>>2]](C[a+40>>2],19,4)|0;na:{if(!c){f=-4;break na}k=18408;oa:{pa:{qa:{ra:{f=Mp(f,19,19,0,0,w,v,g,p+28|0,c);switch(f+5|0){case 0:break pa;case 2:break ra;default:break qa}}k=18444;break pa}if(!C[v>>2]){break pa}Fe[C[a+36>>2]](C[a+40>>2],c);if(f){if((f|0)!=-3){break na}break oa}C[d>>2]=5;C[d+8>>2]=0;c=0;break G}C[a+24>>2]=k;Fe[C[a+36>>2]](C[a+40>>2],c)}Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=9;f=-3}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,f);break r}c=C[d+8>>2]}g=C[d+4>>2];f=g&31;g=g>>>5&31;n=(f+g|0)+258|0;if(c>>>0>>0){while(1){o=C[v>>2];sa:{if(o>>>0<=i>>>0){f=i;k=e;g=h;break sa}if(!h){break t}k=e+1|0;g=h-1|0;b=D[e|0]<>>0<=f>>>0){break sa}while(1){if(!g){break t}g=g-1|0;b=D[k|0]<>>0>f>>>0){continue}break}}e=C[w>>2]+((C[(o<<2)+213536>>2]&b)<<3)|0;o=D[e+1|0];m=C[e+4>>2];ta:{if(m>>>0<=15){C[d+8>>2]=c+1;C[C[d+12>>2]+(c<<2)>>2]=m;i=f-o|0;b=b>>>o|0;c=C[d+8>>2];e=k;h=g;break ta}x=(m|0)==18;u=x?7:m-14|0;s=u+o|0;ua:{if(s>>>0<=f>>>0){i=f;e=k;h=g;break ua}if(!g){break u}e=k+1|0;h=g-1|0;b=D[k|0]<>>0<=i>>>0){break ua}while(1){if(!h){break u}h=h-1|0;b=D[e|0]<>>0>i>>>0){continue}break}}i=i-s|0;f=b>>>o|0;b=f>>>u|0;va:{g=(f&C[(u<<2)+213536>>2])+(x?11:3)|0;if(g+c>>>0<=n>>>0){n=(m|0)!=16;if(c|n){break va}}Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=9;C[a+24>>2]=5775;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break E}k=0;f=0;f=n?f:C[(C[d+12>>2]+(c<<2)|0)-4>>2];n=g-1|0;o=g&3;if(o){while(1){C[C[d+12>>2]+(c<<2)>>2]=f;g=g-1|0;c=c+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(n>>>0>=3){while(1){k=c<<2;C[k+C[d+12>>2]>>2]=f;C[(k+C[d+12>>2]|0)+4>>2]=f;C[(k+C[d+12>>2]|0)+8>>2]=f;C[(k+C[d+12>>2]|0)+12>>2]=f;c=c+4|0;g=g-4|0;if(g){continue}break}}C[d+8>>2]=c}g=C[d+4>>2];f=g&31;g=g>>>5&31;n=(f+g|0)+258|0;if(n>>>0>c>>>0){continue}break}}C[d+20>>2]=0;C[p+24>>2]=9;C[p+20>>2]=6;o=C[d+36>>2];m=C[d+12>>2];C[p+28>>2]=0;wa:{xa:{ya:{za:{Aa:{Ba:{k=Fe[C[a+32>>2]](C[a+40>>2],288,4)|0;if(k){n=18484;s=f+257|0;c=Mp(m,s,257,217968,218096,p+16|0,p+24|0,o,p+28|0,k);if(c){f=18515;switch(c+4|0){case 1:break Aa;case 0:break Ba;default:break za}}u=C[p+24>>2];if(!u){break za}c=7390;g=Mp(m+(s<<2)|0,g+1|0,0,218224,218352,p+12|0,p+20|0,o,p+28|0,k);if(g){n=18550;f=18575;switch(g+5|0){case 0:break za;case 2:break Aa;case 1:break Ba;default:break ya}}g=f;f=C[p+20>>2];if(f?0:g){break ya}Fe[C[a+36>>2]](C[a+40>>2],k);g=C[p+12>>2];k=C[p+16>>2];c=Fe[C[a+32>>2]](C[a+40>>2],1,28)|0;if(c){break wa}}c=-4;break xa}Fe[C[a+36>>2]](C[a+40>>2],k);c=-4;break xa}c=f;break ya}c=n}C[a+24>>2]=c;Fe[C[a+36>>2]](C[a+40>>2],k);Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=9;c=-3}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,c);break r}C[c+24>>2]=g;C[c+20>>2]=k;A[c+17|0]=f;A[c+16|0]=u;C[c>>2]=0;C[d+4>>2]=c;Fe[C[a+36>>2]](C[a+40>>2],C[d+12>>2]);C[d>>2]=6}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;c=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-c|0);C[d+52>>2]=l;m=C[d+4>>2];c=C[d+48>>2];Ca:{if(c>>>0>l>>>0){f=c+(l^-1)|0;break Ca}f=C[d+44>>2]-l|0}o=C[m>>2];while(1){Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{switch(o|0){case 1:n=C[m+12>>2];break Oa;case 3:n=C[m+12>>2];g=e;k=h;break Ma;case 5:o=C[m+12>>2];g=e;n=h;break Ka;case 9:break Ga;case 8:break Ha;case 7:break Ia;case 6:break Ja;case 4:break La;case 2:break Na;case 0:break Pa;default:break Ea}}C[m>>2]=1;n=D[m+16|0];C[m+12>>2]=n;C[m+8>>2]=C[m+20>>2]}Qa:{if(i>>>0>=n>>>0){g=i;c=e;k=h;break Qa}if(!h){break z}c=e+1|0;k=h-1|0;b=D[e|0]<>>0<=g>>>0){break Qa}while(1){if(!k){break z}k=k-1|0;b=D[c|0]<>>0>g>>>0){continue}break}}h=g;e=C[m+8>>2]+((C[(n<<2)+213536>>2]&b)<<3)|0;g=D[e+1|0];i=h-g|0;b=b>>>g|0;Ra:{g=D[e|0];Sa:{if(!g){e=C[e+4>>2];C[m>>2]=6;C[m+8>>2]=e;e=6;break Sa}if(g&16){C[m+8>>2]=g&15;e=C[e+4>>2];C[m>>2]=2;C[m+4>>2]=e;e=2;break Sa}if(!(g&64)){C[m+12>>2]=g;C[m+8>>2]=e+(C[e+4>>2]<<3);e=1;break Sa}if(!(g&32)){break Ra}C[m>>2]=7;e=7}o=e;e=c;h=k;continue}C[m>>2]=9;C[a+24>>2]=18718;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=k;b=C[a>>2];C[a>>2]=c;C[a+8>>2]=C[a+8>>2]+(c-b|0);break Fa}o=C[m+8>>2];Ta:{if(o>>>0<=i>>>0){c=i;g=e;k=h;break Ta}if(!h){break A}g=e+1|0;k=h-1|0;b=D[e|0]<>>0<=c>>>0){break Ta}while(1){if(!k){break A}k=k-1|0;b=D[g|0]<>>0>c>>>0){continue}break}}C[m>>2]=3;n=D[m+17|0];C[m+12>>2]=n;C[m+8>>2]=C[m+24>>2];C[m+4>>2]=C[m+4>>2]+(C[(o<<2)+213536>>2]&b);i=c-o|0;b=b>>>o|0}Ua:{if(i>>>0>=n>>>0){c=i;e=g;h=k;break Ua}if(!k){break B}e=g+1|0;h=k-1|0;b=D[g|0]<>>0<=c>>>0){break Ua}while(1){if(!h){break B}h=h-1|0;b=D[e|0]<>>0>c>>>0){continue}break}}i=c;k=C[(n<<2)+213536>>2]&b;n=C[m+8>>2];c=(k<<3)+n|0;g=D[c+1|0];i=i-g|0;b=b>>>g|0;g=D[c|0];if(g&16){C[m+8>>2]=g&15;c=C[c+4>>2];o=4;C[m>>2]=4;C[m+12>>2]=c;continue}if(!(g&64)){C[m+12>>2]=g;o=3;C[m+8>>2]=c+(C[(n+(k<<3)|0)+4>>2]<<3);continue}C[m>>2]=9;C[a+24>>2]=18746;C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);break Fa}k=C[m+8>>2];Va:{if(k>>>0<=i>>>0){c=i;g=e;n=h;break Va}if(!h){break C}g=e+1|0;n=h-1|0;b=D[e|0]<>>0<=c>>>0){break Va}while(1){if(!n){break C}n=n-1|0;b=D[g|0]<>>0>c>>>0){continue}break}}C[m>>2]=5;o=C[m+12>>2]+(C[(k<<2)+213536>>2]&b)|0;C[m+12>>2]=o;i=c-k|0;b=b>>>k|0}c=C[d+40>>2];e=l-o|0;if(c>>>0>e>>>0){h=C[d+44>>2]-c|0;while(1){e=e+h|0;if(e>>>0>>0){continue}break}}if(C[m+4>>2]){Wa:{if(f){c=l;break Wa}Xa:{if(C[d+44>>2]!=(l|0)){c=l;break Xa}f=C[d+48>>2];if((f|0)==(c|0)){c=l;break Xa}f=c>>>0>>0?f+(c^-1)|0:l-c|0;if(f){break Wa}}C[d+52>>2]=c;l=hg(d,a,j);j=C[d+52>>2];h=C[d+48>>2];Ya:{if(j>>>0>=h>>>0){c=C[d+44>>2];f=c-j|0;break Ya}c=C[d+44>>2];f=h+(j^-1)|0}Za:{if((c|0)!=(j|0)){c=j;break Za}c=C[d+40>>2];if((h|0)==(c|0)){c=j;break Za}f=c>>>0>>0?h+(c^-1)|0:j-c|0}if(!f){break D}}A[c|0]=D[e|0];e=e+1|0;k=C[d+44>>2];if((e|0)==(k|0)){e=C[d+40>>2]}f=f-1|0;c=c+1|0;h=C[m+4>>2]-1|0;C[m+4>>2]=h;j=0;if(h){while(1){_a:{if(f){break _a}$a:{if((c|0)!=(k|0)){break $a}c=C[d+40>>2];f=C[d+48>>2];if((c|0)==(f|0)){c=k;break $a}f=c>>>0>>0?f+(c^-1)|0:k-c|0;if(f){break _a}}C[d+52>>2]=c;l=hg(d,a,0);h=C[d+52>>2];k=C[d+48>>2];ab:{if(h>>>0>>0){c=C[d+44>>2];f=k+(h^-1)|0;break ab}c=C[d+44>>2];f=c-h|0}bb:{if((c|0)!=(h|0)){c=h;break bb}c=C[d+40>>2];if((k|0)==(c|0)){c=h;break bb}f=c>>>0>>0?k+(c^-1)|0:h-c|0}if(!f){break D}}A[c|0]=D[e|0];e=e+1|0;k=C[d+44>>2];if((e|0)==(k|0)){e=C[d+40>>2]}f=f-1|0;c=c+1|0;h=C[m+4>>2]-1|0;C[m+4>>2]=h;if(h){continue}break}}l=c}o=0;C[m>>2]=0;e=g;h=n;continue}if(f){c=l;break Da}cb:{if(C[d+44>>2]!=(l|0)){c=l;break cb}c=C[d+40>>2];f=C[d+48>>2];if((c|0)==(f|0)){c=l;break cb}f=c>>>0>>0?f+(c^-1)|0:l-c|0;if(f){break Da}}C[d+52>>2]=c;l=hg(d,a,j);j=C[d+52>>2];g=C[d+48>>2];db:{if(j>>>0>>0){c=C[d+44>>2];f=g+(j^-1)|0;break db}c=C[d+44>>2];f=c-j|0}eb:{if((c|0)!=(j|0)){c=j;break eb}c=C[d+40>>2];if((g|0)==(c|0)){c=j;break eb}f=c>>>0>>0?g+(c^-1)|0:j-c|0}if(f){break Da}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=c;b=hg(d,a,l);break x}C[d+52>>2]=l;c=i>>>0>7;i=c?i-8|0:i;h=c+h|0;e=e-c|0;c=hg(d,a,j);l=C[d+52>>2];if((l|0)!=C[d+48>>2]){C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);b=hg(d,a,c);break x}C[m>>2]=8}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;b=hg(d,a,1);break x}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0)}C[d+52>>2]=l;b=hg(d,a,-3);break x}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;b=hg(d,a,-2);break x}A[c|0]=C[m+8>>2];o=0;C[m>>2]=0;f=f-1|0;l=c+1|0;j=0;continue}}C[d+52>>2]=l;c=hg(d,a,-3);break r}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=n;b=C[a>>2];C[a>>2]=g;C[a+8>>2]=C[a+8>>2]+(g-b|0);C[d+52>>2]=c;b=hg(d,a,l);break x}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c;break y}C[d+32>>2]=b;C[d+28>>2]=(k<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=g+k|0;C[a>>2]=c;break y}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c;break y}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c}C[a+8>>2]=C[a+8>>2]+(c-b|0);C[d+52>>2]=l;b=hg(d,a,j)}if((b|0)!=1){c=hg(d,a,b);break r}Fe[C[a+36>>2]](C[a+40>>2],C[d+4>>2]);l=C[d+52>>2];b=C[d+48>>2];fb:{if(l>>>0>>0){c=b+(l^-1)|0;break fb}c=C[d+44>>2]-l|0}i=C[d+28>>2];b=C[d+32>>2];h=C[a+4>>2];e=C[a>>2];if(!C[d+24>>2]){j=0;C[d>>2]=0;continue}break}C[d>>2]=7;j=0}C[d+52>>2]=l;c=hg(d,a,j);l=C[d+52>>2];if((l|0)!=C[d+48>>2]){C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);c=hg(d,a,c);break r}C[d>>2]=8}C[d+28>>2]=i;C[d+32>>2]=b;C[a+4>>2]=h;b=C[a>>2];C[a>>2]=e;C[a+8>>2]=C[a+8>>2]+(e-b|0);C[d+52>>2]=l;c=hg(d,a,1);break r}C[d+32>>2]=b;C[d+28>>2]=(g<<3)+f;C[a+4>>2]=0;b=C[a>>2];c=g+k|0;C[a>>2]=c;C[a+8>>2]=C[a+8>>2]+(c-b|0);break s}C[d+32>>2]=b;C[d+28>>2]=(h<<3)+i;C[a+4>>2]=0;b=C[a>>2];c=e+h|0;C[a>>2]=c;C[a+8>>2]=C[a+8>>2]+(c-b|0)}C[d+52>>2]=l;c=hg(d,a,j)}b=q;gb:{switch(c+3|0){case 0:b=C[a+28>>2];C[b>>2]=13;C[b+4>>2]=0;j=-3;e=C[a+28>>2];continue;case 4:break gb;case 3:break e;default:break d}}b=C[a+28>>2];c=C[b+20>>2];C[b+4>>2]=C[c+60>>2];b=C[c>>2];if((b&-2)==4){Fe[C[a+36>>2]](C[a+40>>2],C[c+12>>2]);b=C[c>>2]}if((b|0)==6){Fe[C[a+36>>2]](C[a+40>>2],C[c+4>>2])}C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;b=C[c+40>>2];C[c+52>>2]=b;C[c+48>>2]=b;b=C[c+56>>2];if(b){b=Fe[b|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b}e=C[a+28>>2];if(C[e+12>>2]){C[e>>2]=12;break b}C[e>>2]=8;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=D[b|0]<<24;e=C[a+28>>2];C[e>>2]=9;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<16);e=C[a+28>>2];C[e>>2]=10;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+(D[b|0]<<8);e=C[a+28>>2];C[e>>2]=11;j=q}b=j;c=C[a+4>>2];if(!c){break e}C[a+4>>2]=c-1;C[a+8>>2]=C[a+8>>2]+1;b=C[a>>2];C[a>>2]=b+1;C[e+8>>2]=C[e+8>>2]+D[b|0];b=C[a+28>>2];if(C[b+4>>2]!=C[b+8>>2]){C[b>>2]=13;C[a+24>>2]=14312;C[b+4>>2]=5;break b}C[b>>2]=12;r=1;break a}r=b;break a}r=c;break a}C[e+4>>2]=5}e=C[a+28>>2];j=q;continue}}Ce=p+32|0;return r}function Jl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0;y=Ce-16|0;Ce=y;C[y+12>>2]=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);C[y+8>>2]=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);h=a;g=Ce-48|0;v=g;Ce=g;a:{if(!C[104420]){Qe(19786,0);break a}if(!h){Qe(9497,0);break a}if(!b){Qe(9497,0);break a}o=D[b|0];b:{if(o){e=1;a=o;c=b;while(1){e=(a<<24>>24<0?2:1)+e|0;a=D[c+1|0];c=c+1|0;if(a){continue}break}e=g-(e+15&-16)|0;Ce=e;c=e;while(1){b=b+1|0;if(o<<24>>24>=0){a=c+1|0}else{A[c+1|0]=o&63|128;o=(o&192)>>>6|-64;a=c+2|0}A[c|0]=o;c=a;o=D[b|0];if(o){continue}break}c=e;break b}a=g-16|0;Ce=a;c=a}A[a|0]=0;o=0;n=v+32|0;s=v+28|0;t=v+40|0;x=v+36|0;a=Ce-16|0;k=a;Ce=a;c:{d:{if(!C[104420]){Qe(19786,0);break d}if(!h){Qe(9497,0);break d}if(!c){Qe(9497,0);break d}C[h+22112>>2]=0;l=C[h+4>>2];b=df(1,172);if(b){C[b+40>>2]=1073741823;C[b+44>>2]=536870911;C[b>>2]=1;C[b+4>>2]=1;Nl(0);e=C[104524];e:{f:{if(e){break f}while(1){a=df(1,112);if(a){C[a>>2]=1;C[a+4>>2]=1;if(C[94709]){C[94709]=0}e=C[94708];if(e){C[94708]=e+1}C[a+12>>2]=378832;e=C[94713];C[a+16>>2]=C[94712];C[a+20>>2]=e;e=C[94715];C[a+24>>2]=C[94714];C[a+28>>2]=e;e=C[94717];C[a+32>>2]=C[94716];C[a+36>>2]=e;e=C[94719];C[a+40>>2]=C[94718];C[a+44>>2]=e;e=C[94721];C[a+48>>2]=C[94720];C[a+52>>2]=e;e=C[94723];C[a+56>>2]=C[94722];C[a+60>>2]=e;e=C[94725];g=a- -64|0;C[g>>2]=C[94724];C[g+4>>2]=e;e=C[94727];C[a+72>>2]=C[94726];C[a+76>>2]=e}else{a=378832}if(C[a+4>>2]){e=C[a+80>>2];if(e){Fe[e|0](C[a+48>>2])}C[a+16>>2]=241;C[a+80>>2]=0;C[a+48>>2]=0}if(C[a+4>>2]){e=C[a+88>>2];if(e){Fe[e|0](C[a+56>>2])}C[a+24>>2]=242;C[a+88>>2]=0;C[a+56>>2]=0}if(C[a+4>>2]){e=C[a+92>>2];if(e){Fe[e|0](C[a+60>>2])}C[a+28>>2]=243;C[a+92>>2]=0;C[a+60>>2]=0}if(C[a+4>>2]){e=C[a+96>>2];if(e){Fe[e|0](C[a- -64>>2])}C[a+32>>2]=244;C[a+96>>2]=0;C[a- -64>>2]=0}if(C[a+4>>2]){e=C[a+100>>2];if(e){Fe[e|0](C[a+68>>2])}C[a+36>>2]=245;C[a+100>>2]=0;C[a+68>>2]=0}if(C[a+4>>2]){e=C[a+104>>2];if(e){Fe[e|0](C[a+72>>2])}C[a+40>>2]=246;C[a+104>>2]=0;C[a+72>>2]=0}if(C[a+4>>2]){C[a+4>>2]=0}a=a?a:378832;e=C[104524];if(!e){C[104524]=a;break e}if(!a){break f}if((a|0)!=378832){Nl(a)}e=C[104524];if(!e){continue}break}}a=e}g:{if(!a){break g}e=C[a>>2];if(!e){break g}C[a>>2]=e+1}A[b+72|0]=1;C[b+24>>2]=65533;C[b+12>>2]=a}else{b=377924}e=b;if(!e){Qe(10928,0);break d}if(C[e+4>>2]){C[e+52>>2]=C[94479]}if(C[e+4>>2]){C[e+56>>2]=C[94480]}j=Ce-16|0;Ce=j;h:{if(!C[e+4>>2]){break h}p=C[e+24>>2];m=af(c);if(m>>>0>268435455){break h}a=C[e+80>>2]+(m>>>2|0)|0;if(!(!a|a>>>0>2])){if(!aj(e,a)){break h}}a=c;i:{if((m|0)<=0){b=a;break i}z=a+m|0;while(1){b=Lr(a,z,j+8|0,p);E=C[j+8>>2];d=C[e+80>>2];g=d+1|0;j:{if(!(!g|g>>>0>2])){if(!aj(e,g)){break j}d=C[e+80>>2]}g=C[e+92>>2]+I(d,20)|0;C[g+4>>2]=0;C[g+8>>2]=0;C[g>>2]=E;C[g+12>>2]=0;C[g+16>>2]=0;C[g+8>>2]=a-c;C[g+4>>2]=0;C[e+80>>2]=C[e+80>>2]+1}a=b;if(z>>>0>a>>>0){continue}break}}C[e+152>>2]=0;a=c+m|0;k:{if(a>>>0<=b>>>0){break k}while(1){b=Lr(b,a,j+4|0,p);c=C[j+4>>2];g=C[e+152>>2];C[e+152>>2]=g+1;C[(e+(g<<2)|0)+128>>2]=c;if(a>>>0<=b>>>0){break k}if(F[e+152>>2]<=4){continue}break}}C[e+48>>2]=1}Ce=j+16|0;d=C[h+22128>>2];m=C[d+16>>2];z=e+52|0;E=C[d+64>>2];J=C[d+60>>2];g=Ce-48|0;Ce=g;l:{if(C[m>>2]>0){while(1){c=C[m+200>>2];if(!vs(g+4|0,m,z,E,J)){a=84608;break l}b=c;if(b){while(1){a=0;m:{j=C[b>>2];if(C[j+16>>2]!=C[g+4>>2]|C[j+20>>2]!=C[g+8>>2]|(C[j+24>>2]!=C[g+12>>2]|C[j+28>>2]!=C[g+16>>2])){p=a}else{p=C[j+32>>2]==C[g+20>>2]}if(!p){break m}G=C[j+40>>2];if((G|0)!=C[g+28>>2]){break m}if(G){H=C[j+36>>2];p=C[g+24>>2];if(C[H>>2]!=C[p>>2]){break m}M=0;if(C[H+4>>2]!=C[p+4>>2]){break m}while(1){n:{o:{p:{w=a<<4;B=w+H|0;if(!C[B+8>>2]){B=C[B+12>>2];w=p+w|0;if(!C[w+8>>2]){break p}if((B|0)!=-1){break o}break n}w=p+w|0;if(C[w+8>>2]|C[w+12>>2]!=-1){break o}break n}if((B|0)==-1^C[w+12>>2]==-1){break n}}a=a+1|0;M=G>>>0<=a>>>0;if((a|0)==(G|0)){break n}w=a<<4;B=w+H|0;w=p+w|0;if(C[B>>2]!=C[w>>2]){break n}if(C[B+4>>2]==C[w+4>>2]){continue}}break}if(!M){break m}}if((D[g+32|0]|D[g+33|0]<<8|(D[g+34|0]<<16|D[g+35|0]<<24))!=(D[j+44|0]|D[j+45|0]<<8|(D[j+46|0]<<16|D[j+47|0]<<24))|(D[j+48|0]|D[j+49|0]<<8|(D[j+50|0]<<16|D[j+51|0]<<24))!=(D[g+36|0]|D[g+37|0]<<8|(D[g+38|0]<<16|D[g+39|0]<<24))|C[j+52>>2]!=C[g+40>>2]){break m}a=C[b>>2];if(!a){a=0;break l}b=C[a>>2];if(!b){break l}C[a>>2]=b+1;break l}b=C[b+4>>2];if(b){continue}break}}a=us(m,z,E,J);b=df(1,8);if(!b){break l}C[b+4>>2]=c;C[b>>2]=a;if((c|0)==C[m+200>>2]){C[m+200>>2]=b;if(!a){a=0;break l}b=C[a>>2];if(!b){break l}C[a>>2]=b+1;break l}Fn(a);Re(b);if(C[m>>2]>0){continue}break}}a=us(m,z,E,J)}Ce=g+48|0;q:{r:{if(!C[e+80>>2]){break r}if(C[a>>2]<=0){break q}b=C[a+52>>2];if((b|0)==239){s:{if(C[d+88>>2]){break s}while(1){if(!C[d+84>>2]){break q}if(!C[d+88>>2]){C[d+88>>2]=1;break s}if(!C[d+88>>2]){continue}break}}if(ws(a,d,e,0,0)){break r}break q}if((b|0)!=240){break q}t:{if(C[d+92>>2]){break t}while(1){if(!C[d+84>>2]){break q}if(!C[d+92>>2]){C[d+92>>2]=1;break t}if(!C[d+92>>2]){continue}break}}if(!ur(a,d,e,0,0)){break q}}if(C[e+48>>2]!=1){break q}C[e+48>>2]=2}Fn(a);a=k+12|0;if(a){C[a>>2]=C[e+80>>2]}j=C[e+92>>2];m=$r(e,a);u:{v:{if(C[k+12>>2]){while(1){b=I(K,20);a=b+m|0;p=C[a+12>>2];z=C[a+8>>2];E=C[a>>2];w:{g=C[b+j>>2];c=h+I(g&255,84)|0;a=c+52|0;x:{if(!C[a>>2]){break x}if((g|0)==C[c+56>>2]){break w}C[a>>2]=0;C[c+56>>2]=0;b=C[c+84>>2];if(b){if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[c+84>>2]=0}b=C[c+60>>2];if(!b){break x}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[c+60>>2]=0}C[c+56>>2]=g;if(!Ak(h,a,16,0)){break w}a=14881;break u}b=C[h+22108>>2];d=C[h+22112>>2];a=C[h+22116>>2];y:{if(d>>>0>>0){a=b;break y}C[h+22116>>2]=a<<1;a=Rf(b,I(a,24));C[h+22108>>2]=a;if(!a){break v}d=C[h+22112>>2]}b=C[h+8>>2];a=I(d,12)+a|0;z=z+L|0;C[a+4>>2]=z;C[a>>2]=g;g=a;a=(b<<6)-p|0;C[g+8>>2]=a;C[h+22112>>2]=d+1;a=(a>>6)-C[c+112>>2]|0;i=(a|0)>(i|0)?i:a;b=C[c+108>>2]+(z>>6)|0;u=(b|0)>(u|0)?u:b;a=a+C[c+120>>2]|0;l=(a|0)<(l|0)?l:a;a=b+C[c+116>>2]|0;r=(a|0)<(r|0)?r:a;L=E+L|0;K=K+1|0;if(K>>>0>2]){continue}break}a=L>>6}else{a=0}if(t){b=0-u&u>>31;C[t>>2]=b;C[t>>2]=b+C[h+24>>2]}if(x){b=0-i&i>>31;C[x>>2]=b;C[x>>2]=b+C[h+24>>2]}z:{if(!n){break z}a=(a|0)<(r|0)?r:a;b=a-u|0;C[n>>2]=b;if((a|0)==(u|0)){break z}C[n>>2]=b+(C[h+24>>2]<<1)}if(s){a=l-i|0;C[s>>2]=a;C[s>>2]=a+(C[h+24>>2]<<1)}bs(e);a=0;break c}C[h+22108>>2]=b;a=1277}Qe(a,0);bs(e)}a=-1}Ce=k+16|0;A:{if((a|0)>=0){a=C[v+32>>2];if(a){break A}}Qe(14768,0);break a}b=D[y+15|0];i=b?b:-1;A[y+15|0]=i;b=D[y+11|0];A[y+11|0]=b?b:-1;C[v+12>>2]=D[y+12|0]|D[y+13|0]<<8|(D[y+14|0]<<16|D[y+15|0]<<24);b=C[v+28>>2];m=D[v+14|0]|(D[v+13|0]<<8|D[v+12|0]<<16);k=D[v+15|0];C[v+44>>2]=m|k<<24;g=0;B:{if(!a){break B}c=(a<<2)+35&-8;u=I(c,b);e=u+11|0;C:{if((e|0)<0){break C}j=Fe[C[94762]](e>>>0<=1?1:e)|0;if(j){C[94766]=C[94766]+1}if(!j){break C}f=j+11&-8;C[f-4>>2]=j;e=0;d=Ce-48|0;Ce=d;g=a;D:{if((a|0)<0){C[d>>2]=14820;Qe(19745,d);break D}if((b|0)<0){C[d+16>>2]=4382;Qe(19745,d+16|0);break D}e=mT(g,0,4,0);a=-1;E:{if(Ee){break E}a=e}e=0;if(!(a>>>0<=c>>>0&(c|0)>=0)){C[d+32>>2]=14968;Qe(19745,d+32|0);break D}a=ei(0,0,372645892);if(!a){break D}C[a+20>>2]=f;C[a+36>>2]=0;C[a+40>>2]=0;C[a+16>>2]=c;C[a+12>>2]=b;C[a+8>>2]=g;C[a+48>>2]=b;C[a+44>>2]=g;C[a>>2]=C[a>>2]|1;e=a}Ce=d+48|0;b=e;if(!b){if(j){Fe[C[94765]](j);C[94766]=C[94766]-1}g=0;break B}C[b>>2]=C[b>>2]&-10|8;F:{if(!u){break F}d=(u>>2)+3>>>2|0;a=(u&8)!=0;while(1){if(!a){C[f+4>>2]=m;C[f>>2]=m;f=f+8|0;a=1;continue}C[f+4>>2]=m;C[f>>2]=m;f=f+8|0;d=d-1|0;if(!d){break F}a=0;continue}}if(b?(k|0)!=255:0){zg(b,1)}f=b}g=f}if(!g){break a}b=C[h+22124>>2];m=C[v+40>>2];u=C[v+36>>2];j=h;a=C[h+22112>>2];G:{H:{I:{h=i&255;if((h|0)==255){if(!b){if(!a){break H}while(1){b=C[j+22108>>2]+I(q,12)|0;a=C[b>>2];h=j+I(a&255,84)|0;f=C[b+8>>2];i=C[b+4>>2];b=h+52|0;c=C[b>>2];J:{K:{L:{if(c&2){c=C[h+56>>2];if((a|0)!=(c|0)){break L}break J}if(!c){break K}c=C[h+56>>2]}if((a|0)==(c|0)){break K}C[b>>2]=0;C[h+56>>2]=0;c=C[h+84>>2];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[h+84>>2]=0}c=C[h+60>>2];if(!c){break K}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[h+60>>2]=0}C[h+56>>2]=a;if(Ak(j,b,18,0)){break I}}e=C[h+96>>2];k=C[h+84>>2];d=k+7|0;C[h+84>>2]=d;a=C[h+88>>2]+(m+(i>>6)|0)|0;b=(u+(f>>6)|0)-C[h+92>>2]|0;f=C[g+8>>2];i=C[g+12>>2];c=C[h+100>>2];M:{if(!((a|b)<0|((f|0)<(a+e|0)|(i|0)<(b+c|0)))){i=d;f=b;b=C[g+16>>2];d=(C[g+20>>2]+I(f,b)|0)+(a<<2)|0;f=d>>>2&1;a=i-f|0;C[h+84>>2]=a;i=(e+f|0)+7&-8;C[h+96>>2]=i;if(c){f=i>>>2|0;l=b-(i<<2)|0;p=C[h+104>>2]-i|0;d=d&-8;while(1){c=c-1|0;b=f;if((i|0)>=4){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;r=(b|0)>1;b=b-1|0;if(r){continue}break}}d=d+l|0;a=a+p|0;if(c){continue}break}}C[h+96>>2]=e;break M}l=a>>31;e=e+(l&a)|0;p=(a|0)>0?a:0;f=e+(p-f|0)|0;f=e-((f|0)>0?f:0)|0;if((f|0)<=0){break M}r=b>>31;e=c+(r&b)|0;n=(b|0)>0?b:0;c=e+(n-i|0)|0;e=e-((c|0)>0?c:0)|0;if((e|0)<=0){break M}c=C[h+104>>2];f=(f|0)>0?f:0;s=c-f|0;i=C[g+16>>2];t=i-(f<<2)|0;a=(d+(l&0-a)|0)+(r&0-I(b,c))|0;d=(C[g+20>>2]+I(i,n)|0)+(p<<2)|0;i=f&3;l=f-1|0;while(1){c=0;b=f;if(i){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;b=b-1|0;d=d+4|0;a=a+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}if(l>>>0>=3){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;c=b-5|0;b=b-4|0;if(c>>>0<4294967294){continue}break}}d=d+t|0;a=a+s|0;e=e-1|0;if(e){continue}break}}C[h+84>>2]=k;d=0;q=q+1|0;if(q>>>0>2]){continue}break}break G}if(!a){break H}while(1){a=C[j+22108>>2]+I(q,12)|0;i=C[a+4>>2];b=i&63;k=C[a+8>>2];c=C[a>>2];h=j+I(c&255,84)|0;a=h+52|0;N:{if(!C[a>>2]|(c|0)==C[h+56>>2]){break N}C[a>>2]=0;C[h+56>>2]=0;f=C[h+84>>2];if(f){if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}C[h+84>>2]=0}f=C[h+60>>2];if(!f){break N}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}C[h+60>>2]=0}f=(b|0)==C[h+132>>2]?18:22;if((f&C[a>>2])!=(f|0)){C[h+56>>2]=c;if(Ak(j,a,f,b)){break I}}e=C[h+96>>2];l=C[h+84>>2];d=l+7|0;C[h+84>>2]=d;a=(u+(k>>6)|0)-C[h+92>>2]|0;b=C[h+88>>2]+(m+(i>>6)|0)|0;f=C[g+8>>2];i=C[g+12>>2];c=C[h+100>>2];O:{if(!((a|b)<0|((f|0)<(b+e|0)|(i|0)<(a+c|0)))){i=d;d=C[g+16>>2];b=(C[g+20>>2]+I(d,a)|0)+(b<<2)|0;f=b>>>2&1;a=i-f|0;C[h+84>>2]=a;i=(e+f|0)+7&-8;C[h+96>>2]=i;if(c){f=i>>>2|0;k=d-(i<<2)|0;p=C[h+104>>2]-i|0;d=b&-8;while(1){c=c-1|0;b=f;if((i|0)>=4){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;r=(b|0)>1;b=b-1|0;if(r){continue}break}}d=d+k|0;a=a+p|0;if(c){continue}break}}C[h+96>>2]=e;break O}k=b>>31;e=e+(k&b)|0;p=(b|0)>0?b:0;f=e+(p-f|0)|0;f=e-((f|0)>0?f:0)|0;if((f|0)<=0){break O}r=a>>31;e=c+(r&a)|0;n=(a|0)>0?a:0;c=e+(n-i|0)|0;e=e-((c|0)>0?c:0)|0;if((e|0)<=0){break O}c=C[h+104>>2];f=(f|0)>0?f:0;s=c-f|0;i=C[g+16>>2];t=i-(f<<2)|0;a=(d+(k&0-b)|0)+(r&0-I(a,c))|0;d=(C[g+20>>2]+I(i,n)|0)+(p<<2)|0;i=f&3;k=f-1|0;while(1){c=0;b=f;if(i){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;b=b-1|0;d=d+4|0;a=a+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}if(k>>>0>=3){while(1){C[d>>2]=C[d>>2]|D[a|0]<<24;C[d+4>>2]=C[d+4>>2]|D[a+1|0]<<24;C[d+8>>2]=C[d+8>>2]|D[a+2|0]<<24;C[d+12>>2]=C[d+12>>2]|D[a+3|0]<<24;d=d+16|0;a=a+4|0;c=b-5|0;b=b-4|0;if(c>>>0<4294967294){continue}break}}d=d+t|0;a=a+s|0;e=e-1|0;if(e){continue}break}}C[h+84>>2]=l;q=q+1|0;if(q>>>0>2]){continue}break}break H}if(!b){if(!a){break H}while(1){b=C[j+22108>>2]+I(q,12)|0;a=C[b>>2];f=j+I(a&255,84)|0;k=C[b+8>>2];l=C[b+4>>2];b=f+52|0;c=C[b>>2];P:{Q:{R:{if(c&2){e=C[f+56>>2];if((a|0)!=(e|0)){break R}break P}if(!c){break Q}e=C[f+56>>2]}if((a|0)==(e|0)){break Q}C[b>>2]=0;C[f+56>>2]=0;c=C[f+84>>2];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[f+84>>2]=0}c=C[f+60>>2];if(!c){break Q}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[f+60>>2]=0}C[f+56>>2]=a;if(Ak(j,b,18,0)){break I}}i=C[f+96>>2];p=C[f+84>>2];d=p+7|0;C[f+84>>2]=d;b=(u+(k>>6)|0)-C[f+92>>2]|0;c=C[f+88>>2]+(m+(l>>6)|0)|0;a=C[g+8>>2];k=C[g+12>>2];e=C[f+100>>2];S:{if(!((b|c)<0|((a|0)<(c+i|0)|(k|0)<(b+e|0)))){k=d;d=C[g+16>>2];c=(C[g+20>>2]+I(d,b)|0)+(c<<2)|0;a=c>>>2&1;b=k-a|0;C[f+84>>2]=b;k=(a+i|0)+7&-8;C[f+96>>2]=k;if(e){a=k>>>2|0;l=d-(k<<2)|0;r=C[f+104>>2]-k|0;d=c&-8;while(1){e=e-1|0;c=a;if((k|0)>=4){while(1){n=D[b+3|0];s=D[b+2|0];t=D[b+1|0];x=I(h,D[b|0]);C[d>>2]=C[d>>2]|((x>>>8|0)+x<<16)+65536&-16777216;t=I(h,t);C[d+4>>2]=C[d+4>>2]|((t>>>8|0)+t<<16)+65536&-16777216;s=I(h,s);C[d+8>>2]=C[d+8>>2]|((s>>>8|0)+s<<16)+65536&-16777216;n=I(h,n);C[d+12>>2]=C[d+12>>2]|((n>>>8|0)+n<<16)+65536&-16777216;d=d+16|0;b=b+4|0;n=(c|0)>1;c=c-1|0;if(n){continue}break}}d=d+l|0;b=b+r|0;if(e){continue}break}}C[f+96>>2]=i;break S}l=c>>31;i=i+(l&c)|0;r=(c|0)>0?c:0;a=i+(r-a|0)|0;a=i-((a|0)>0?a:0)|0;if((a|0)<=0){break S}i=b>>31;n=(i&b)+e|0;s=(b|0)>0?b:0;e=n+(s-k|0)|0;e=n-((e|0)>0?e:0)|0;if((e|0)<=0){break S}k=C[f+104>>2];a=(a|0)>0?a:0;n=k-a|0;t=C[g+16>>2];x=t-(a<<2)|0;b=(d+(l&0-c)|0)+(i&0-I(b,k))|0;d=(C[g+20>>2]+I(s,t)|0)+(r<<2)|0;i=a-1|0;k=a&1;while(1){if(k){c=I(h,D[b|0]);C[d>>2]=C[d>>2]|((c>>>8|0)+c<<16)+65536&-16777216;d=d+4|0;b=b+1|0;c=i}else{c=a}if((a|0)!=1){while(1){l=I(h,D[b|0]);C[d>>2]=C[d>>2]|((l>>>8|0)+l<<16)+65536&-16777216;l=I(h,D[b+1|0]);C[d+4>>2]=C[d+4>>2]|((l>>>8|0)+l<<16)+65536&-16777216;d=d+8|0;b=b+2|0;l=c-3|0;c=c-2|0;if(l>>>0<4294967294){continue}break}}d=d+x|0;b=b+n|0;e=e-1|0;if(e){continue}break}}C[f+84>>2]=p;q=q+1|0;if(q>>>0>2]){continue}break}break H}if(!a){break H}while(1){a=C[j+22108>>2]+I(q,12)|0;k=C[a+4>>2];b=k&63;l=C[a+8>>2];c=C[a>>2];f=j+I(c&255,84)|0;a=f+52|0;T:{if(!C[a>>2]|(c|0)==C[f+56>>2]){break T}C[a>>2]=0;C[f+56>>2]=0;e=C[f+84>>2];if(e){if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}C[f+84>>2]=0}e=C[f+60>>2];if(!e){break T}if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}C[f+60>>2]=0}e=(b|0)==C[f+132>>2]?18:22;if((e&C[a>>2])!=(e|0)){C[f+56>>2]=c;if(Ak(j,a,e,b)){break I}}i=C[f+96>>2];p=C[f+84>>2];d=p+7|0;C[f+84>>2]=d;b=(u+(l>>6)|0)-C[f+92>>2]|0;c=C[f+88>>2]+(m+(k>>6)|0)|0;a=C[g+8>>2];k=C[g+12>>2];e=C[f+100>>2];U:{if(!((b|c)<0|((a|0)<(c+i|0)|(k|0)<(b+e|0)))){k=d;d=C[g+16>>2];c=(C[g+20>>2]+I(d,b)|0)+(c<<2)|0;a=c>>>2&1;b=k-a|0;C[f+84>>2]=b;k=(a+i|0)+7&-8;C[f+96>>2]=k;if(e){a=k>>>2|0;l=d-(k<<2)|0;r=C[f+104>>2]-k|0;d=c&-8;while(1){e=e-1|0;c=a;if((k|0)>=4){while(1){n=D[b+3|0];s=D[b+2|0];t=D[b+1|0];x=I(h,D[b|0]);C[d>>2]=C[d>>2]|((x>>>8|0)+x<<16)+65536&-16777216;t=I(h,t);C[d+4>>2]=C[d+4>>2]|((t>>>8|0)+t<<16)+65536&-16777216;s=I(h,s);C[d+8>>2]=C[d+8>>2]|((s>>>8|0)+s<<16)+65536&-16777216;n=I(h,n);C[d+12>>2]=C[d+12>>2]|((n>>>8|0)+n<<16)+65536&-16777216;d=d+16|0;b=b+4|0;n=(c|0)>1;c=c-1|0;if(n){continue}break}}d=d+l|0;b=b+r|0;if(e){continue}break}}C[f+96>>2]=i;break U}l=c>>31;i=i+(l&c)|0;r=(c|0)>0?c:0;a=i+(r-a|0)|0;a=i-((a|0)>0?a:0)|0;if((a|0)<=0){break U}i=b>>31;n=(i&b)+e|0;s=(b|0)>0?b:0;e=n+(s-k|0)|0;e=n-((e|0)>0?e:0)|0;if((e|0)<=0){break U}k=C[f+104>>2];a=(a|0)>0?a:0;n=k-a|0;t=C[g+16>>2];x=t-(a<<2)|0;b=(d+(l&0-c)|0)+(i&0-I(b,k))|0;d=(C[g+20>>2]+I(s,t)|0)+(r<<2)|0;i=a-1|0;k=a&1;while(1){if(k){c=I(h,D[b|0]);C[d>>2]=C[d>>2]|((c>>>8|0)+c<<16)+65536&-16777216;d=d+4|0;b=b+1|0;c=i}else{c=a}if((a|0)!=1){while(1){l=I(h,D[b|0]);C[d>>2]=C[d>>2]|((l>>>8|0)+l<<16)+65536&-16777216;l=I(h,D[b+1|0]);C[d+4>>2]=C[d+4>>2]|((l>>>8|0)+l<<16)+65536&-16777216;d=d+8|0;b=b+2|0;l=c-3|0;c=c-2|0;if(l>>>0<4294967294){continue}break}}d=d+x|0;b=b+n|0;e=e-1|0;if(e){continue}break}}C[f+84>>2]=p;q=q+1|0;if(q>>>0>2]){continue}break}break H}Qe(14881,0);d=-1;break G}d=0}if((d|0)>=0){V:{if(!(D[j+20|0]&4)){break V}o=C[j+40>>2];a=C[j+44>>2]+C[v+36>>2]|0;c=(o+a|0)-C[g+12>>2]|0;b=C[g+16>>2];a=C[g+20>>2]+I(a,b)|0;q=o-((c|0)>0?c:0)|0;if(!q){break V}m=C[v+44>>2];c=C[g+8>>2];o=C[v+32>>2];u=(c|0)<(o|0)?c:o;i=u&3;c=u+3>>>2|0;while(1){q=q-1|0;if(u){h=c;e=a;o=a;f=a;d=a;W:{X:{switch(i-1|0){default:b=0;break W;case 0:b=3;break W;case 1:b=2;break W;case 2:break X}}b=1}while(1){Y:{switch(b|0){case 0:C[e>>2]=m;o=e+4|0;b=1;continue;case 1:C[o>>2]=m;f=o+4|0;b=2;continue;case 2:C[f>>2]=m;d=f+4|0;b=3;continue;default:break Y}}C[d>>2]=m;e=d+4|0;h=h-1|0;if(h){b=0;continue}else{b=C[g+16>>2]}break}}a=a+b|0;if(q){continue}break}}if(!(D[j+20|0]&8)){o=g;break a}o=C[j+40>>2];a=C[j+48>>2]+C[v+36>>2]|0;c=(o+a|0)-C[g+12>>2]|0;b=C[g+8>>2];f=C[v+32>>2];m=(b|0)<(f|0)?b:f;b=C[g+16>>2];a=C[g+20>>2]+I(a,b)|0;d=o-((c|0)>0?c:0)|0;if(!d){o=g;break a}q=C[v+44>>2];u=m&3;j=m+3>>>2|0;while(1){d=d-1|0;if(m){h=j;e=a;c=a;o=a;f=a;Z:{_:{switch(u-1|0){default:b=0;break Z;case 0:b=3;break Z;case 1:b=2;break Z;case 2:break _}}b=1}while(1){$:{switch(b|0){case 0:C[e>>2]=q;c=e+4|0;b=1;continue;case 1:C[c>>2]=q;o=c+4|0;b=2;continue;case 2:C[o>>2]=q;f=o+4|0;b=3;continue;default:break $}}C[f>>2]=q;e=f+4|0;h=h-1|0;if(h){b=0;continue}else{b=C[g+16>>2]}break}}a=a+b|0;if(d){continue}break}o=g;break a}Nf(g)}Ce=v+48|0;Ce=y+16|0;return o}function MC(a){a=a|0;var 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;g=Ce-32|0;Ce=g;b=C[a+40>>2];o=D[b+9|0];d=C[a+44>>2];j=C[d+24>>2]?D[a+63|0]:0;s=C[a+36>>2];c=C[a+20>>2];t=C[a+16>>2];e=C[a>>2];l=C[a+28>>2];a=C[a+24>>2];a:{b:{f=(o|0)!=4;n=D[d+9|0];if(!(f|(n|0)!=4)){if(C[b>>2]==372711428|C[d>>2]==372711428){break b}zi(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!l){break a}r=a&7;f=(a+7|0)/8|0;c:while(1){l=l-1|0;m=f;d:{e:{switch(r-1|0){default:a=0;break d;case 0:a=7;break d;case 1:a=6;break d;case 2:a=5;break d;case 3:a=4;break d;case 4:a=3;break d;case 5:a=2;break d;case 6:break e}}a=1}while(1){f:{switch(a|0){case 0:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=1;continue;case 1:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=2;continue;case 2:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=3;continue;case 3:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=4;continue;case 4:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=5;continue;case 5:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=6;continue;case 6:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+4|0;a=7;continue;default:break f}}A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;a=m-1|0;c=c+4|0;e=e+4|0;g:{if((m|0)>1){m=a;break g}c=c+s|0;e=e+t|0;if(l){continue c}break a}a=0;continue}}}if(!((n|0)!=3|f)){if(C[b>>2]==372711428){break b}zi(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!l){break a}j=a&7;f=(a+7|0)/8|0;h:while(1){l=l-1|0;m=f;i:{j:{switch(j-1|0){default:a=0;break i;case 0:a=7;break i;case 1:a=6;break i;case 2:a=5;break i;case 3:a=4;break i;case 4:a=3;break i;case 5:a=2;break i;case 6:break j}}a=1}while(1){k:{switch(a|0){case 0:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break k}}A[c|0]=D[C[g+28>>2]+e|0];A[c+1|0]=D[C[g+24>>2]+e|0];A[c+2|0]=D[C[g+20>>2]+e|0];a=m-1|0;c=c+3|0;e=e+4|0;l:{if((m|0)>1){m=a;break l}c=c+s|0;e=e+t|0;if(l){continue h}break a}a=0;continue}}}if((o|0)!=3|(n|0)!=4|C[d>>2]==372711428){break b}zi(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!l){break a}r=a&7;f=(a+7|0)/8|0;m:while(1){l=l-1|0;m=f;n:{o:{switch(r-1|0){default:a=0;break n;case 0:a=7;break n;case 1:a=6;break n;case 2:a=5;break n;case 3:a=4;break n;case 4:a=3;break n;case 5:a=2;break n;case 6:break o}}a=1}while(1){p:{switch(a|0){case 0:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=1;continue;case 1:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=2;continue;case 2:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=3;continue;case 3:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=4;continue;case 4:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=5;continue;case 5:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=6;continue;case 6:A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;c=c+4|0;e=e+3|0;a=7;continue;default:break p}}A[c|0]=D[C[g+24>>2]+e|0];A[c+1|0]=D[C[g+20>>2]+e|0];A[c+2|0]=D[C[g+16>>2]+e|0];A[c+3|0]=D[C[g+12>>2]+e|0];A[C[g+28>>2]+c|0]=j;a=m-1|0;c=c+4|0;e=e+3|0;q:{if((m|0)>1){m=a;break q}c=c+s|0;e=e+t|0;if(l){continue m}break a}a=0;continue}}}if(!l){break a}u=a&7;r=(a+7|0)/8|0;p=o-1|0;q=n-1|0;while(1){l=l-1|0;m=r;r:{s:{switch(u-1|0){default:a=7;break r;case 0:a=6;break r;case 1:a=5;break r;case 2:a=4;break r;case 3:a=3;break r;case 4:a=2;break r;case 5:a=1;break r;case 6:break s}}a=0}while(1){t:{u:{switch(a|0){case 0:a=0;h=0;f=0;v:{w:{x:{switch(p|0){case 0:f=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break w;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break w;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;f=(D[b+32|0]>>>3|0)+e|0;break w;case 3:break x;default:break v}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];h=D[h|0];f=D[f|0]}i=a&255;k=h&255;y:{z:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=f;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=a;break y;case 3:break z;default:break y}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break B;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break B;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}h=D[a|0];a=D[f|0];f=D[i|0]}i=a&255;k=h&255;D:{E:{switch(q|0){case 0:A[c|0]=i>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=i>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=f;A[(D[d+33|0]>>>3|0)+c|0]=a;A[(D[d+34|0]>>>3|0)+c|0]=h;break D;case 3:break E;default:break D}}C[c>>2]=i>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break G;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break G;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break G;case 3:break H;default:break F}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;I:{J:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break I;case 3:break J;default:break I}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;N:{O:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break N;case 3:break O;default:break N}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break Q;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break Q;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break Q;case 3:break R;default:break P}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;S:{T:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break S;case 3:break T;default:break S}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break V;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break V;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break V;case 3:break W;default:break U}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;X:{Y:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break X;case 3:break Y;default:break X}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 2:a=(D[b+34|0]>>>3|0)+e|0;i=(D[b+32|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[i|0];h=D[h|0]}i=a&255;k=h&255;aa:{ba:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=a;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=f;break aa;case 3:break ba;default:break aa}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break da;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break da;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;f=(D[b+32|0]>>>3|0)+e|0;break da;case 3:break ea;default:break ca}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];h=D[h|0];f=D[f|0]}i=a&255;k=h&255;fa:{ga:{switch(q|0){case 0:A[c|0]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>1]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>>3|0)+c|0]=f;A[(D[d+33|0]>>>3|0)+c|0]=h;A[(D[d+34|0]>>>3|0)+c|0]=a;break fa;case 3:break ga;default:break fa}}C[c>>2]=k>>>D[d+29|0]<>>D[d+28|0]<>>D[d+30|0]<>>D[d+31|0]<>2];k=C[b+24>>2]^-1;l=k&C[a+56>>2];t=C[a+36>>2];e=C[a+20>>2];u=C[a+16>>2];d=C[a>>2];m=C[a+28>>2];f=C[a+24>>2];a:{n=C[b>>2];c=C[a+44>>2];a=C[c>>2];if((n|0)==(a|0)){a=rT(n-372645892|0,12);if(!m|(a>>>0>5|!(1<>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=1;continue;case 1:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=2;continue;case 2:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=3;continue;case 3:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=4;continue;case 4:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=5;continue;case 5:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=6;continue;case 6:a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}e=e+4|0;d=d+4|0;a=7;continue;default:break e}}a=C[d>>2];if((a&k)!=(l|0)){C[e>>2]=a}a=f-1|0;e=e+4|0;d=d+4|0;f:{if((f|0)>1){f=a;break f}e=e+t|0;d=d+u|0;if(m){continue b}break a}a=0;continue}}}g:{o=D[b+9|0];p=D[c+9|0];if(!((o|0)!=4|(p|0)!=4|(n|0)==372711428)){if((a|0)!=372711428){break g}}if(!m){break a}v=f&7;s=(f+7|0)/8|0;q=o-1|0;r=p-1|0;while(1){m=m-1|0;n=s;h:{i:{switch(v-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;i=0;f=0;g=0;h=0;l:{m:{switch(q|0){case 0:a=D[d|0];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break l;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break l;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break l;case 3:break m;default:break l}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}n:{if((a&k)==(l|0)){break n}o:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break n;case 3:break o;default:break n}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break p;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break p;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break p;case 3:break q;default:break p}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}r:{if((a&k)==(l|0)){break r}s:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break r;case 3:break s;default:break r}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break t;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break t;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break t;case 3:break u;default:break t}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}v:{if((a&k)==(l|0)){break v}w:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break v;case 3:break w;default:break v}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break x;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break x;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break x;case 3:break y;default:break x}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}z:{if((a&k)==(l|0)){break z}A:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break z;case 3:break A;default:break z}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break B;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break B;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break B;case 3:break C;default:break B}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}D:{if((a&k)==(l|0)){break D}E:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break D;case 3:break E;default:break D}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break F;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break F;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break F;case 3:break G;default:break F}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}H:{if((a&k)==(l|0)){break H}I:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break H;case 3:break I;default:break H}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break J;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break J;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break J;case 3:break K;default:break J}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}L:{if((a&k)==(l|0)){break L}M:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break L;case 3:break M;default:break L}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break N;case 1:a=E[d>>1];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];break N;case 2:f=D[(D[b+34|0]>>>3|0)+d|0];g=D[(D[b+33|0]>>>3|0)+d|0];h=D[(D[b+32|0]>>>3|0)+d|0];i=255;break N;case 3:break O;default:break N}}a=C[d>>2];i=D[C[(D[b+31|0]<<2)+382144>>2]+((a&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0]}P:{if((a&k)==(l|0)){break P}Q:{switch(r|0){case 0:A[e|0]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>1]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>>3|0)+e|0]=h;A[(D[c+33|0]>>>3|0)+e|0]=g;A[(D[c+34|0]>>>3|0)+e|0]=f;break P;case 3:break Q;default:break P}}C[e>>2]=g>>>D[c+29|0]<>>D[c+28|0]<>>D[c+30|0]<>>D[c+31|0]<>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=1;continue;case 1:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=2;continue;case 2:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=3;continue;case 3:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=4;continue;case 4:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=5;continue;case 5:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=6;continue;case 6:if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}e=e+4|0;d=d+4|0;a=7;continue;default:break U}}if((C[d>>2]&k)!=(l|0)){A[e|0]=D[C[j+12>>2]+d|0];A[e+1|0]=D[C[j+8>>2]+d|0];A[e+2|0]=D[C[j+4>>2]+d|0];A[e+3|0]=D[C[j>>2]+d|0]}a=f-1|0;e=e+4|0;d=d+4|0;V:{if((f|0)>1){f=a;break V}e=e+t|0;d=d+u|0;if(m){continue R}break a}a=0;continue}}}Ce=j+16|0}function Vz(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0;l=C[a+4>>2];if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}o=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}m=D[l+31|0];n=C[(m<<2)+382144>>2];p=D[l+30|0];r=C[(p<<2)+382144>>2];s=D[l+29|0];t=C[(s<<2)+382144>>2];u=D[l+28|0];v=C[(u<<2)+382144>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];while(1){b=C[c>>2];C[c>>2]=((I(o,D[t+((b&C[l+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>s<>2])>>>k|0)|0])>>>0)/255|0)+g>>>u<>2])>>>e|0)|0])>>>0)/255|0)+i>>>p<>2])>>>d|0)|0])>>>0)/255|0)+j>>>m<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){j=d-b|0;m=a+(b<<2)|0;a=(k|0)!=0;break d}m=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}j=D[l+31|0];k=C[(j<<2)+382144>>2];n=D[l+30|0];o=C[(n<<2)+382144>>2];p=D[l+29|0];r=C[(p<<2)+382144>>2];s=D[l+28|0];t=C[(s<<2)+382144>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];while(1){a=C[m>>2];u=D[r+((a&C[l+16>>2])>>>e|0)|0]+h|0;q=(u>>>0>=255?255:u)>>>p<>2])>>>f|0)|0]+g|0;q=q|(u>>>0>=255?255:u)>>>s<>2])>>>d|0)|0]+i|0;C[m>>2]=q|(u>>>0>=255?255:u)>>>n<>2])>>>c|0)|0]>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){j=d-b|0;m=a+(b<<2)|0;a=(k|0)!=0;break e}m=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}j=D[l+31|0];k=C[(j<<2)+382144>>2];n=D[l+30|0];o=C[(n<<2)+382144>>2];p=D[l+29|0];r=C[(p<<2)+382144>>2];s=D[l+28|0];t=C[(s<<2)+382144>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];while(1){a=C[m>>2];C[m>>2]=(I(D[r+((a&C[l+16>>2])>>>e|0)|0],h)>>>0)/255>>>p<>2])>>>f|0)|0],g)>>>0)/255>>>s<>2])>>>d|0)|0],i)>>>0)/255>>>n<>2])>>>c|0)|0]>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}m=D[l+31|0];n=C[(m<<2)+382144>>2];p=D[l+30|0];r=C[(p<<2)+382144>>2];s=D[l+29|0];t=C[(s<<2)+382144>>2];u=D[l+28|0];v=C[(u<<2)+382144>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];while(1){b=C[c>>2];w=D[t+((b&C[l+16>>2])>>>f|0)|0];w=((I(w,h)>>>0)/255|0)+((I(o,w)>>>0)/255|0)|0;q=(w>>>0>=255?255:w)>>>s<>2])>>>k|0)|0];w=((I(w,g)>>>0)/255|0)+((I(o,w)>>>0)/255|0)|0;q=q|(w>>>0>=255?255:w)>>>u<>2])>>>e|0)|0];w=((I(w,i)>>>0)/255|0)+((I(o,w)>>>0)/255|0)|0;b=D[n+((b&C[l+24>>2])>>>d|0)|0];b=((I(b,j)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[c>>2]=q|(w>>>0>=255?255:w)>>>p<>>0>=255?255:b)>>>m<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;m=a+(b<<2)|0;a=(k|0)!=0;break g}m=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2]=a;m=m+4|0;b=b-1|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}if(c>>>0<7){break a}while(1){C[m+28>>2]=a;C[m+24>>2]=a;C[m+20>>2]=a;C[m+16>>2]=a;C[m+12>>2]=a;C[m+8>>2]=a;C[m+4>>2]=a;C[m>>2]=a;m=m+32|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}n=D[l+31|0];p=C[(n<<2)+382144>>2];r=D[l+30|0];s=C[(r<<2)+382144>>2];t=D[l+29|0];u=C[(t<<2)+382144>>2];v=D[l+28|0];w=C[(v<<2)+382144>>2];d=D[l+35|0];e=D[l+34|0];k=D[l+33|0];m=D[l+32|0];while(1){c=C[b>>2];C[b>>2]=((I(o,D[u+((c&C[l+16>>2])>>>k|0)|0])>>>0)/255|0)+h>>>t<>2])>>>m|0)|0])>>>0)/255|0)+g>>>v<>2])>>>e|0)|0])>>>0)/255|0)+i>>>r<>2])>>>d|0)|0])>>>0)/255|0)+j>>>n<>2]/D[l+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){m=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break j}m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+382144>>2];o=D[l+30|0];p=C[(o<<2)+382144>>2];r=D[l+29|0];s=C[(r<<2)+382144>>2];t=D[l+28|0];u=C[(t<<2)+382144>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];j=D[l+32|0];while(1){a=C[m>>2];v=D[s+((a&C[l+16>>2])>>>e|0)|0]+h|0;q=(v>>>0>=255?255:v)>>>r<>2])>>>j|0)|0]+g|0;q=q|(v>>>0>=255?255:v)>>>t<>2])>>>d|0)|0]+i|0;C[m>>2]=q|(v>>>0>=255?255:v)>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){m=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break k}m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+382144>>2];o=D[l+30|0];p=C[(o<<2)+382144>>2];r=D[l+29|0];s=C[(r<<2)+382144>>2];t=D[l+28|0];u=C[(t<<2)+382144>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];j=D[l+32|0];while(1){a=C[m>>2];C[m>>2]=(I(D[s+((a&C[l+16>>2])>>>e|0)|0],h)>>>0)/255>>>r<>2])>>>j|0)|0],g)>>>0)/255>>>t<>2])>>>d|0)|0],i)>>>0)/255>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}n=D[l+31|0];p=C[(n<<2)+382144>>2];r=D[l+30|0];s=C[(r<<2)+382144>>2];t=D[l+29|0];u=C[(t<<2)+382144>>2];v=D[l+28|0];w=C[(v<<2)+382144>>2];d=D[l+35|0];e=D[l+34|0];k=D[l+33|0];m=D[l+32|0];while(1){c=C[b>>2];q=D[u+((c&C[l+16>>2])>>>k|0)|0];q=((I(q,h)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=(q>>>0>=255?255:q)>>>t<>2])>>>m|0)|0];q=((I(q,g)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=x|(q>>>0>=255?255:q)>>>v<>2])>>>e|0)|0];q=((I(q,i)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;c=D[p+((c&C[l+24>>2])>>>d|0)|0];c=((I(c,j)>>>0)/255|0)+((I(c,o)>>>0)/255|0)|0;C[b>>2]=x|(q>>>0>=255?255:q)>>>r<>>0>=255?255:c)>>>n<>2]/D[l+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break m}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2]=a;c=c-1|0;b=b+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}if(d>>>0<7){break a}d=f<<2;while(1){C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;C[b>>2]=a;b=b+d|0;c=c-8|0;if(c){continue}break}break a}s=b-d|0;m=s>>31;n=c-e|0;r=n>>31;if(((m^s)-m|0)==((n^r)-r|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;n=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+n|0;if(!c){break a}m=D[l+31|0];n=C[(m<<2)+382144>>2];p=D[l+30|0];r=C[(p<<2)+382144>>2];s=D[l+29|0];t=C[(s<<2)+382144>>2];u=D[l+28|0];v=C[(u<<2)+382144>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];w=b<<2;while(1){b=C[a>>2];C[a>>2]=((I(o,D[t+((b&C[l+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>s<>2])>>>k|0)|0])>>>0)/255|0)+g>>>u<>2])>>>e|0)|0])>>>0)/255|0)+i>>>p<>2])>>>d|0)|0])>>>0)/255|0)+j>>>m<>2]/D[l+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){n=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;m=(a+(I(c,f)<<2)|0)+(b<<2)|0;break p}j=f+((b|0)<(d|0)?-1:1)|0;m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+n|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+382144>>2];o=D[l+30|0];p=C[(o<<2)+382144>>2];r=D[l+29|0];s=C[(r<<2)+382144>>2];t=D[l+28|0];u=C[(t<<2)+382144>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];j=j<<2;while(1){a=C[m>>2];v=D[s+((a&C[l+16>>2])>>>e|0)|0]+h|0;q=(v>>>0>=255?255:v)>>>r<>2])>>>f|0)|0]+g|0;q=q|(v>>>0>=255?255:v)>>>t<>2])>>>d|0)|0]+i|0;C[m>>2]=q|(v>>>0>=255?255:v)>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){n=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;m=(a+(I(c,f)<<2)|0)+(b<<2)|0;break q}j=f+((b|0)<(d|0)?-1:1)|0;m=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+n|0;if(!b){break a}k=D[l+31|0];n=C[(k<<2)+382144>>2];o=D[l+30|0];p=C[(o<<2)+382144>>2];r=D[l+29|0];s=C[(r<<2)+382144>>2];t=D[l+28|0];u=C[(t<<2)+382144>>2];c=D[l+35|0];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];j=j<<2;while(1){a=C[m>>2];C[m>>2]=(I(D[s+((a&C[l+16>>2])>>>e|0)|0],h)>>>0)/255>>>r<>2])>>>f|0)|0],g)>>>0)/255>>>t<>2])>>>d|0)|0],i)>>>0)/255>>>o<>2])>>>c|0)|0]>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;n=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+n|0;if(!c){break a}m=D[l+31|0];n=C[(m<<2)+382144>>2];p=D[l+30|0];r=C[(p<<2)+382144>>2];s=D[l+29|0];t=C[(s<<2)+382144>>2];u=D[l+28|0];v=C[(u<<2)+382144>>2];d=D[l+35|0];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];w=b<<2;while(1){b=C[a>>2];q=D[t+((b&C[l+16>>2])>>>f|0)|0];q=((I(q,h)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=(q>>>0>=255?255:q)>>>s<>2])>>>k|0)|0];q=((I(q,g)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;x=x|(q>>>0>=255?255:q)>>>u<>2])>>>e|0)|0];q=((I(q,i)>>>0)/255|0)+((I(o,q)>>>0)/255|0)|0;b=D[n+((b&C[l+24>>2])>>>d|0)|0];b=((I(b,j)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[a>>2]=x|(q>>>0>=255?255:q)>>>p<>>0>=255?255:b)>>>m<>2]/D[l+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;n=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break s}c=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:c)<<2)|0}m=0;b=((k|0)!=0)+n|0;if(!b){break a}d=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2]=d;b=b-1|0;a=a+g|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}if(e>>>0<7){break a}c=c<<2;while(1){C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;p=e-c|0;m=p>>31;n=(f^n)-f|0;m=(m^p)-m|0;u:{if(n>>>0>=m>>>0){p=m-n|0;s=m<<1;f=s-n|0;m=1;break u}p=n-m|0;t=1;s=n<<1;f=s-m|0;n=m;m=0}u=((k|0)!=0)+n|0;if(!u){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-m|0:m;w=e?-1:1;q=d?-1:1;p=p<<1;x=D[l+31|0];y=C[(x<<2)+382144>>2];z=D[l+30|0];A=C[(z<<2)+382144>>2];B=D[l+29|0];E=C[(B<<2)+382144>>2];G=D[l+28|0];F=C[(G<<2)+382144>>2];e=D[l+35|0];k=D[l+34|0];m=D[l+33|0];n=D[l+32|0];J=C[a+20>>2];r=0;while(1){H=(J+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[H>>2];C[H>>2]=((I(o,D[E+((d&C[l+16>>2])>>>m|0)|0])>>>0)/255|0)+h>>>B<>2])>>>n|0)|0])>>>0)/255|0)+g>>>G<>2])>>>k|0)|0])>>>0)/255|0)+i>>>z<>2])>>>e|0)|0])>>>0)/255|0)+j>>>x<>31;n=e-c|0;j=n>>31;m=(f^m)-f|0;f=(j^n)-j|0;v:{if(m>>>0>=f>>>0){r=f-m|0;p=f<<1;j=p-m|0;n=0;f=1;break v}r=m-f|0;n=1;p=m<<1;j=p-f|0;m=f;f=0}s=((k|0)!=0)+m|0;if(!s){break a}e=(c|0)>(e|0);t=e?0-n|0:n;d=(b|0)>(d|0);u=d?0-f|0:f;v=e?-1:1;w=d?-1:1;r=r<<1;q=D[l+31|0];x=C[(q<<2)+382144>>2];y=D[l+30|0];z=C[(y<<2)+382144>>2];A=D[l+29|0];B=C[(A<<2)+382144>>2];E=D[l+28|0];G=C[(E<<2)+382144>>2];e=D[l+35|0];f=D[l+34|0];k=D[l+33|0];m=D[l+32|0];F=C[a+20>>2];n=0;while(1){J=(F+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[J>>2];o=D[B+((d&C[l+16>>2])>>>k|0)|0]+h|0;H=(o>>>0>=255?255:o)>>>A<>2])>>>m|0)|0]+g|0;H=H|(o>>>0>=255?255:o)>>>E<>2])>>>f|0)|0]+i|0;C[J>>2]=H|(o>>>0>=255?255:o)>>>y<>2])>>>e|0)|0]>>>q<>31;n=e-c|0;j=n>>31;m=(f^m)-f|0;f=(j^n)-j|0;w:{if(m>>>0>=f>>>0){n=f-m|0;r=f<<1;j=r-m|0;f=1;break w}n=m-f|0;p=1;r=m<<1;j=r-f|0;m=f;f=0}o=((k|0)!=0)+m|0;if(!o){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);s=d?0-f|0:f;t=e?-1:1;u=d?-1:1;v=n<<1;w=D[l+31|0];q=C[(w<<2)+382144>>2];x=D[l+30|0];y=C[(x<<2)+382144>>2];z=D[l+29|0];A=C[(z<<2)+382144>>2];B=D[l+28|0];E=C[(B<<2)+382144>>2];e=D[l+35|0];f=D[l+34|0];k=D[l+33|0];m=D[l+32|0];G=C[a+20>>2];n=0;while(1){F=(G+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[F>>2];C[F>>2]=(I(D[A+((d&C[l+16>>2])>>>k|0)|0],h)>>>0)/255>>>z<>2])>>>m|0)|0],g)>>>0)/255>>>B<>2])>>>f|0)|0],i)>>>0)/255>>>x<>2])>>>e|0)|0]>>>w<>31;r=e-c|0;m=r>>31;n=(f^n)-f|0;m=(m^r)-m|0;x:{if(n>>>0>=m>>>0){s=m-n|0;t=m<<1;f=t-n|0;m=1;break x}s=n-m|0;p=1;t=n<<1;f=t-m|0;n=m;m=0}u=((k|0)!=0)+n|0;if(!u){break a}e=(c|0)>(e|0);v=e?0-p|0:p;d=(b|0)>(d|0);w=d?0-m|0:m;q=e?-1:1;x=d?-1:1;s=s<<1;y=D[l+31|0];z=C[(y<<2)+382144>>2];A=D[l+30|0];B=C[(A<<2)+382144>>2];E=D[l+29|0];G=C[(E<<2)+382144>>2];F=D[l+28|0];J=C[(F<<2)+382144>>2];e=D[l+35|0];k=D[l+34|0];m=D[l+33|0];n=D[l+32|0];H=C[a+20>>2];r=0;while(1){L=(H+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[L>>2];p=D[G+((d&C[l+16>>2])>>>m|0)|0];p=((I(p,h)>>>0)/255|0)+((I(o,p)>>>0)/255|0)|0;K=(p>>>0>=255?255:p)>>>E<>2])>>>n|0)|0];p=((I(p,g)>>>0)/255|0)+((I(o,p)>>>0)/255|0)|0;K=K|(p>>>0>=255?255:p)>>>F<>2])>>>k|0)|0];p=((I(p,i)>>>0)/255|0)+((I(o,p)>>>0)/255|0)|0;d=D[z+((d&C[l+24>>2])>>>e|0)|0];d=((I(d,j)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;C[L>>2]=K|(p>>>0>=255?255:p)>>>A<>>0>=255?255:d)>>>y<>31;o=e-c|0;m=o>>31;n=(f^n)-f|0;o=(m^o)-m|0;y:{if(n>>>0>=o>>>0){s=o-n|0;f=o<<1;m=f-n|0;o=1;break y}s=n-o|0;p=1;f=n<<1;m=f-o|0;n=o;o=0}k=((k|0)!=0)+n|0;if(!k){break a}g=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>>D[l+31|0]<>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;j=(b|0)>(d|0);d=j?0-o|0:o;i=i?-1:1;j=j?-1:1;o=s<<1;l=k&-2;n=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g;p=c;c=(m|0)<0;p=p+(c?e:i)|0;b=(c?d:j)+b|0;C[(h+I(p,C[a+16>>2])|0)+(b<<2)>>2]=g;m=(c?f:o)+m|0;c=(m|0)<0;m=(c?f:o)+m|0;b=b+(c?d:j)|0;c=p+(c?e:i)|0;n=n+2|0;if((l|0)!=(n|0)){continue}break}}if(!(k&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g}}function FC(a){a=a|0;var 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;b=C[a+40>>2];k=C[b+24>>2]^-1;m=k&C[a+56>>2];q=C[a+36>>2];h=C[a+20>>2];r=C[a+16>>2];c=C[a>>2];o=C[a+28>>2];f=C[a+24>>2];j=D[b+9|0];n=C[a+48>>2];a:{if(n){if(!o){break a}s=f&7;p=(f+7|0)/8|0;l=j-1|0;while(1){o=o-1|0;f=p;b:{c:{switch(s-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(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break g;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break g;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break g;case 3:break h;default:break f}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=1;continue;case 1:a=0;d=0;e=0;g=0;i:{j:{k:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break j;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break j;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break j;case 3:break k;default:break i}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=2;continue;case 2:a=0;d=0;e=0;g=0;l:{m:{n:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break m;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break m;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break m;case 3:break n;default:break l}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=3;continue;case 3:a=0;d=0;e=0;g=0;o:{p:{q:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break p;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break p;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break p;case 3:break q;default:break o}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=4;continue;case 4:a=0;d=0;e=0;g=0;r:{s:{t:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break s;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break s;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break s;case 3:break t;default:break r}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=5;continue;case 5:a=0;d=0;e=0;g=0;u:{v:{w:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break v;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break v;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break v;case 3:break w;default:break u}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=6;continue;case 6:a=0;d=0;e=0;g=0;x:{y:{z:{switch(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break y;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break y;case 2:d=(D[b+34|0]>>>3|0)+c|0;i=(D[b+32|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;break y;case 3:break z;default:break x}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;i=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}g=D[d|0];d=D[i|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+j|0;h=h+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(l|0){case 0:a=D[c|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break B;case 1:a=E[c>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break B;case 2:d=(D[b+34|0]>>>3|0)+c|0;g=(D[b+33|0]>>>3|0)+c|0;e=(D[b+32|0]>>>3|0)+c|0;break B;case 3:break C;default:break A}}a=C[c>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}d=D[d|0];e=D[e|0];g=D[g|0]}if((a&k)!=(m|0)){A[h|0]=D[n+(g>>>3&28|e&224|(d&192)>>>6)|0]}c=c+j|0;h=h+1|0;a=0;continue}break}h=h+q|0;c=c+r|0;if(o){continue}break}break a}if(!o){break a}i=f&7;n=(f+7|0)/8|0;l=j-1|0;while(1){o=o-1|0;p=n;D:{E:{switch(i-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(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break I;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break I;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break I;case 3:break J;default:break H}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=1;continue;case 1:a=0;f=0;d=0;e=0;K:{L:{M:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break L;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break L;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break L;case 3:break M;default:break K}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=2;continue;case 2:a=0;f=0;d=0;e=0;N:{O:{P:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break O;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break O;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break O;case 3:break P;default:break N}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=3;continue;case 3:a=0;f=0;d=0;e=0;Q:{R:{S:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break R;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break R;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break R;case 3:break S;default:break Q}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=4;continue;case 4:a=0;f=0;d=0;e=0;T:{U:{V:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break U;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break U;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break U;case 3:break V;default:break T}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=5;continue;case 5:a=0;f=0;d=0;e=0;W:{X:{Y:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break X;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break X;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break X;case 3:break Y;default:break W}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;a=6;continue;case 6:a=0;f=0;d=0;e=0;Z:{_:{$:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break _;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;break _;case 2:f=(D[b+34|0]>>>3|0)+c|0;g=(D[b+32|0]>>>3|0)+c|0;d=(D[b+33|0]>>>3|0)+c|0;break _;case 3:break $;default:break Z}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0}e=D[f|0];f=D[g|0];d=D[d|0]}if((a&k)!=(m|0)){A[h|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+j|0;h=h+1|0;if((p|0)<=1){break F}p=p-1|0;a=7;continue;default:break G}}a=0;d=0;e=0;f=0;aa:{ba:{ca:{switch(l|0){case 0:a=D[c|0];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break ba;case 1:a=E[c>>1];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break ba;case 2:f=(D[b+34|0]>>>3|0)+c|0;e=(D[b+33|0]>>>3|0)+c|0;d=(D[b+32|0]>>>3|0)+c|0;break ba;case 3:break ca;default:break aa}}a=C[c>>2];f=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}f=D[f|0];d=D[d|0];e=D[e|0]}if((a&k)!=(m|0)){A[h|0]=e>>>3&28|d&224|(f&192)>>>6}c=c+j|0;h=h+1|0;a=0;continue}break}h=h+q|0;c=c+r|0;if(o){continue}break}}}function xk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=J(0),m=J(0),n=0,o=0,p=0,q=0,r=J(0),s=J(0),t=0,u=J(0),v=0,w=0;g=Ce-1616|0;Ce=g;a:{if(!C[94750]){q=-1;if((c|0)!=2){break a}Qe(11830,0);break a}b:{if(!c){f=0;if((b|0)<=0){break b}v=g+1364|0;while(1){d=C[94751];c:{if((d|0)>=65535){C[g>>2]=d;Qe(32427,g);e=0;break c}j=C[94755];d:{if(!j){j=Fe[C[94762]](80)|0;if(j){C[94766]=C[94766]+1}if(j){break d}e=0;break c}C[94755]=C[j+72>>2]}h=I(f,56)+a|0;d=C[104863];e:{if((d|0)<=0){break e}f:{g:{if((d|0)==1){e=C[h>>2];if((e|0)<=1793){h:{switch(e-1623|0){case 0:case 2:break e;case 1:break g;default:break h}}if((e|0)!=1024){break g}break e}if((e|0)==1794){break e}if((e|0)!=4608){break g}break e}e=C[h>>2];if((d|0)!=2){break f}}if((e|0)==513){break e}}A[g+1456|0]=0;A[g+1584|0]=0;if((e&-32768)==32768){pf(g+1584|0,23334,32);d=C[h>>2];i:{if(d>>>0>=32769){C[g+1376>>2]=d-32768;rf(g+1392|0,16,2949,g+1376|0);break i}A[g+1392|0]=0}k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];C[v>>2]=C[h+20>>2];C[g+1356>>2]=e;C[g+1360>>2]=d;C[g+1348>>2]=k;C[g+1352>>2]=i;C[g+1344>>2]=g+1392;rf(g+1456|0,128,32729,g+1344|0);e=C[h>>2]}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:{ga:{ha:{ia:{ja:{ka:{la:{ma:{if((e|0)<=1535){if((e|0)<=511){switch(e-256|0){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 m;case 80:break aa;case 7:break fa;case 6:break ga;case 5:break ha;case 4:break ia;case 3:break ja;case 2:break ka;case 1:break la;case 0:break ma;default:break n}}na:{switch(e-768|0){case 3:break W;case 2:break X;case 1:break Y;case 0:break Z;case 4:break ea;default:break na}}oa:{switch(e-1024|0){case 3:break S;case 2:break T;case 1:break U;case 0:break V;default:break oa}}switch(e-512|0){case 1:break _;case 0:break $;default:break m}}if((e|0)<=2047){pa:{switch(e-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 m;case 89:break B;case 87:break C;case 88:break D;case 86:break E;case 85:break F;case 84:break G;case 83:break H;case 82:break I;case 81:break J;case 80:break K;case 6:break L;case 5:break M;case 4:break N;case 3:break O;case 2:break P;case 1:break Q;case 0:break R;default:break pa}}switch(e-1792|0){case 2:break y;case 1:break z;case 0:break A;default:break m}}if((e|0)<=4351){qa:{switch(e-4096|0){case 3:break r;case 2:break s;case 1:break t;case 0:break u;default:break qa}}switch(e-2048|0){case 2:break v;case 1:break w;case 0:break x;default:break da}}if((e|0)<=8191){switch(e-4352|0){case 1:break p;case 0:break q;default:break o}}ra:{switch(e+-8192|0){case 1:break ba;case 0:break ca;default:break ra}}if((e|0)!=32512){break m}break k}pf(g+1584|0,23541,32);C[g+48>>2]=C[h+4>>2];rf(g+1456|0,128,32255,g+48|0);break k}pf(g+1584|0,26212,32);break k}pf(g+1584|0,22403,32);break k}pf(g+1584|0,27480,32);break k}pf(g+1584|0,27508,32);break k}pf(g+1584|0,27535,32);break k}pf(g+1584|0,27563,32);break k}pf(g+1584|0,28135,32);break k}pf(g+1584|0,28117,32);break k}if((e|0)!=2304){break m}pf(g+1584|0,26674,32);break k}pf(g+1584|0,23626,32);break k}pf(g+1584|0,23651,32);break k}pf(g+1584|0,23286,32);i=g+1392|0;d=A[h+12|0];if(d>>>0<=3){d=C[(d<<2)+171800>>2]}else{d=33881}pf(i,d,64);e=C[h+4>>2];d=C[h+8>>2];C[g+76>>2]=C[h+16>>2];C[g+64>>2]=e;C[g+68>>2]=d;C[g+72>>2]=i;rf(g+1456|0,128,33764,g- -64|0);break k}pf(g+1584|0,23303,32);k=g+1392|0;d=A[h+12|0];if(d>>>0<=18){d=C[(d<<2)+171816>>2]}else{d=33881}pf(k,d,64);i=C[h+4>>2];e=C[h+8>>2];d=C[h+20>>2];C[g+92>>2]=C[h+16>>2];C[g+96>>2]=d;C[g+80>>2]=i;C[g+84>>2]=e;C[g+88>>2]=k;rf(g+1456|0,128,33709,g+80|0);break k}pf(g+1584|0,23348,32);C[g+112>>2]=C[h+4>>2];rf(g+1456|0,128,32255,g+112|0);break k}pf(g+1584|0,25056,32);o=D[h+12|0];n=D[h+13|0];k=C[h+4>>2];i=C[h+8>>2];e=C[h+16>>2];d=C[h+20>>2];C[g+152>>2]=E[h+24>>1];C[g+144>>2]=e;C[g+148>>2]=d;C[g+128>>2]=k;C[g+132>>2]=i;C[g+140>>2]=n?16019:16581;C[g+136>>2]=(o|0)==1?20416:20424;rf(g+1456|0,128,32312,g+128|0);break k}pf(g+1584|0,24809,32);o=D[h+12|0];n=D[h+13|0];k=C[h+4>>2];i=C[h+8>>2];e=C[h+16>>2];d=C[h+20>>2];C[g+184>>2]=E[h+24>>1];C[g+176>>2]=e;C[g+180>>2]=d;C[g+160>>2]=k;C[g+164>>2]=i;C[g+172>>2]=n?16019:16581;C[g+168>>2]=(o|0)==1?20416:20424;rf(g+1456|0,128,32312,g+160|0);break k}pf(g+1584|0,26196,32);i=C[h+4>>2];e=C[h+8>>2];d=C[h+48>>2];C[g+204>>2]=C[h+44>>2];C[g+208>>2]=d;C[g+192>>2]=i;C[g+196>>2]=e;C[g+200>>2]=h+12;rf(g+1456|0,128,33585,g+192|0);break k}pf(g+1584|0,23092,32);e=C[h+4>>2];d=C[h+8>>2];C[g+232>>2]=h+12;C[g+224>>2]=e;C[g+228>>2]=d;rf(g+1456|0,128,33986,g+224|0);break k}pf(g+1584|0,25315,32);t=C[h+4>>2];o=C[h+8>>2];n=C[h+12>>2];k=C[h+16>>2];i=C[h+20>>2];e=C[h+24>>2];d=C[h+32>>2];C[g+264>>2]=C[h+28>>2];C[g+268>>2]=d;C[g+256>>2]=i;C[g+260>>2]=e;C[g+248>>2]=n;C[g+252>>2]=k;C[g+240>>2]=t;C[g+244>>2]=o;rf(g+1456|0,128,33513,g+240|0);break k}pf(g+1584|0,25126,32);t=C[h+12>>2];o=C[h+4>>2];n=C[h+8>>2];k=D[h+16|0];i=D[h+17|0];e=C[h+20>>2];d=C[h+24>>2];C[g+292>>2]=D[h+18|0];C[g+296>>2]=e;C[g+300>>2]=d;C[g+288>>2]=(i|0)==1?20416:20424;C[g+284>>2]=k;C[g+272>>2]=o;C[g+276>>2]=n;C[g+280>>2]=t;rf(g+1456|0,128,33388,g+272|0);break k}pf(g+1584|0,24871,32);t=C[h+12>>2];o=C[h+4>>2];n=C[h+8>>2];k=D[h+16|0];i=D[h+17|0];e=C[h+20>>2];d=C[h+24>>2];C[g+324>>2]=D[h+18|0];C[g+328>>2]=e;C[g+332>>2]=d;C[g+320>>2]=(i|0)==1?20416:20424;C[g+316>>2]=k;C[g+304>>2]=o;C[g+308>>2]=n;C[g+312>>2]=t;rf(g+1456|0,128,33388,g+304|0);break k}pf(g+1584|0,25830,32);n=C[h+4>>2];k=C[h+8>>2];i=C[h+12>>2];e=C[h+16>>2];l=G[h+28>>2];m=G[h+32>>2];d=C[h+24>>2];C[g+352>>2]=C[h+20>>2];C[g+376>>2]=d?20504:13689;H[g+368>>3]=m;H[g+360>>3]=l;C[g+344>>2]=i;C[g+348>>2]=e;C[g+336>>2]=n;C[g+340>>2]=k;rf(g+1456|0,128,32459,g+336|0);break k}pf(g+1584|0,25237,32);i=C[h+4>>2];e=C[h+8>>2];d=D[h+12|0];C[g+396>>2]=B[h+16>>1];C[g+392>>2]=d;C[g+384>>2]=i;C[g+388>>2]=e;rf(g+1456|0,128,33667,g+384|0);break k}pf(g+1584|0,25297,32);k=C[h+4>>2];i=C[h+8>>2];e=D[h+12|0];d=B[h+16>>1];C[g+416>>2]=B[h+18>>1];C[g+412>>2]=d;C[g+408>>2]=e;C[g+400>>2]=k;C[g+404>>2]=i;rf(g+1456|0,128,33464,g+400|0);break k}pf(g+1584|0,25220,32);i=C[h+4>>2];e=C[h+8>>2];d=D[h+12|0];C[g+444>>2]=D[h+13|0];C[g+440>>2]=d;C[g+432>>2]=i;C[g+436>>2]=e;rf(g+1456|0,128,32271,g+432|0);break k}pf(g+1584|0,25083,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+456>>2]=D[h+12|0];C[g+448>>2]=e;C[g+452>>2]=d;C[g+460>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+448|0);break k}pf(g+1584|0,24832,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+472>>2]=D[h+12|0];C[g+464>>2]=e;C[g+468>>2]=d;C[g+476>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+464|0);break k}pf(g+1584|0,28173,32);d=C[h+8>>2];C[g+480>>2]=C[h+4>>2];C[g+484>>2]=d;rf(g+1456|0,128,33642,g+480|0);break k}pf(g+1584|0,27757,32);d=C[h+8>>2];C[g+496>>2]=C[h+4>>2];C[g+500>>2]=d;rf(g+1456|0,128,33642,g+496|0);break k}pf(g+1584|0,25255,32);i=C[h+4>>2];e=C[h+8>>2];d=D[h+12|0];C[g+524>>2]=B[h+16>>1];C[g+520>>2]=d;C[g+512>>2]=i;C[g+516>>2]=e;rf(g+1456|0,128,33667,g+512|0);break k}pf(g+1584|0,25101,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+536>>2]=D[h+12|0];C[g+528>>2]=e;C[g+532>>2]=d;C[g+540>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+528|0);break k}pf(g+1584|0,24848,32);i=D[h+13|0];e=C[h+4>>2];d=C[h+8>>2];C[g+552>>2]=D[h+12|0];C[g+544>>2]=e;C[g+548>>2]=d;C[g+556>>2]=(i|0)==1?20416:20424;rf(g+1456|0,128,32543,g+544|0);break k}pf(g+1584|0,28192,32);d=C[h+8>>2];C[g+560>>2]=C[h+4>>2];C[g+564>>2]=d;rf(g+1456|0,128,33642,g+560|0);break k}pf(g+1584|0,27778,32);d=C[h+8>>2];C[g+576>>2]=C[h+4>>2];C[g+580>>2]=d;rf(g+1456|0,128,33642,g+576|0);break k}pf(g+1584|0,27935,32);d=C[h+8>>2];C[g+592>>2]=C[h+4>>2];C[g+596>>2]=d;rf(g+1456|0,128,33642,g+592|0);break k}pf(g+1584|0,25146,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];l=G[h+20>>2];m=G[h+24>>2];H[g+640>>3]=G[h+28>>2];H[g+632>>3]=m;H[g+624>>3]=l;C[g+616>>2]=e;C[g+620>>2]=d;C[g+608>>2]=k;C[g+612>>2]=i;rf(g+1456|0,128,33092,g+608|0);break k}pf(g+1584|0,24889,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];l=G[h+20>>2];m=G[h+24>>2];H[g+688>>3]=G[h+28>>2];H[g+680>>3]=m;H[g+672>>3]=l;C[g+664>>2]=e;C[g+668>>2]=d;C[g+656>>2]=k;C[g+660>>2]=i;rf(g+1456|0,128,33092,g+656|0);break k}pf(g+1584|0,25331,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];d=C[h+16>>2];l=G[h+20>>2];m=G[h+24>>2];H[g+736>>3]=G[h+28>>2];H[g+728>>3]=m;H[g+720>>3]=l;C[g+712>>2]=e;C[g+716>>2]=d;C[g+704>>2]=k;C[g+708>>2]=i;rf(g+1456|0,128,33092,g+704|0);break k}pf(g+1584|0,26647,32);l=G[h+20>>2];i=C[h+4>>2];e=C[h+8>>2];d=C[h+12>>2];m=G[h+16>>2];H[g+784>>3]=G[h+24>>2];H[g+776>>3]=l;H[g+768>>3]=m;C[g+760>>2]=d;C[g+752>>2]=i;C[g+756>>2]=e;rf(g+1456|0,128,33252,g+752|0);break k}pf(g+1584|0,25068,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];u=G[h+24>>2];s=G[h+28>>2];r=G[h+32>>2];l=G[h+36>>2];m=G[h+40>>2];d=C[h+20>>2];C[g+816>>2]=C[h+16>>2];C[g+820>>2]=d;H[g+856>>3]=m;H[g+848>>3]=l;H[g+840>>3]=r;H[g+832>>3]=s;H[g+824>>3]=u;C[g+808>>2]=i;C[g+812>>2]=e;C[g+800>>2]=k;rf(g+1456|0,128,33015,g+800|0);break k}pf(g+1584|0,24819,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];u=G[h+24>>2];s=G[h+28>>2];r=G[h+32>>2];l=G[h+36>>2];m=G[h+40>>2];d=C[h+20>>2];C[g+880>>2]=C[h+16>>2];C[g+884>>2]=d;H[g+920>>3]=m;H[g+912>>3]=l;H[g+904>>3]=r;H[g+896>>3]=s;H[g+888>>3]=u;C[g+872>>2]=i;C[g+876>>2]=e;C[g+864>>2]=k;rf(g+1456|0,128,33015,g+864|0);break k}pf(g+1584|0,25280,32);k=C[h+4>>2];i=C[h+8>>2];e=C[h+12>>2];u=G[h+24>>2];s=G[h+28>>2];r=G[h+32>>2];l=G[h+36>>2];m=G[h+40>>2];d=C[h+20>>2];C[g+944>>2]=C[h+16>>2];C[g+948>>2]=d;H[g+984>>3]=m;H[g+976>>3]=l;H[g+968>>3]=r;H[g+960>>3]=s;H[g+952>>3]=u;C[g+936>>2]=i;C[g+940>>2]=e;C[g+928>>2]=k;rf(g+1456|0,128,33015,g+928|0);break k}pf(g+1584|0,26826,32);n=C[h+4>>2];k=C[h+8>>2];i=C[h+12>>2];r=G[h+28>>2];l=G[h+32>>2];m=G[h+36>>2];e=C[h+16>>2];d=C[h+20>>2];C[g+1016>>2]=C[h+24>>2];C[g+1008>>2]=e;C[g+1012>>2]=d;H[g+1040>>3]=m;H[g+1032>>3]=l;H[g+1024>>3]=r;C[g+1e3>>2]=k;C[g+1004>>2]=i;C[g+992>>2]=n;rf(g+1456|0,128,32938,g+992|0);break k}pf(g+1584|0,27418,32);o=C[h+4>>2];n=C[h+8>>2];k=C[h+12>>2];r=G[h+28>>2];l=G[h+32>>2];m=G[h+36>>2];i=C[h+16>>2];e=C[h+20>>2];C[g+1080>>2]=C[h+24>>2];d=g+1072|0;C[d>>2]=i;C[d+4>>2]=e;H[g+1104>>3]=m;H[g+1096>>3]=l;H[g+1088>>3]=r;C[g+1064>>2]=n;C[g+1068>>2]=k;C[g+1056>>2]=o;rf(g+1456|0,128,32938,g+1056|0);break k}pf(g+1584|0,26844,32);i=C[h+4>>2];e=C[h+8>>2];d=C[h+12>>2];s=G[h+16>>2];r=G[h+20>>2];l=G[h+24>>2];m=G[h+28>>2];C[g+1168>>2]=E[h+32>>1];H[g+1160>>3]=m;H[g+1152>>3]=l;H[g+1144>>3]=r;H[g+1136>>3]=s;C[g+1128>>2]=e;C[g+1132>>2]=d;C[g+1120>>2]=i;rf(g+1456|0,128,32183,g+1120|0);break k}pf(g+1584|0,27085,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1192>>2]=C[h+12>>2];C[g+1188>>2]=d;C[g+1184>>2]=e;rf(g+1456|0,128,32389,g+1184|0);break k}pf(g+1584|0,23036,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1208>>2]=C[h+12>>2];C[g+1204>>2]=d;C[g+1200>>2]=e;rf(g+1456|0,128,32389,g+1200|0);break k}pf(g+1584|0,25526,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1224>>2]=C[h+12>>2];C[g+1220>>2]=d;C[g+1216>>2]=e;rf(g+1456|0,128,32389,g+1216|0);break k}pf(g+1584|0,26613,32);e=C[h+8>>2];d=C[h+4>>2];C[g+1240>>2]=C[h+12>>2];C[g+1236>>2]=d;C[g+1232>>2]=e;rf(g+1456|0,128,32389,g+1232|0);break k}pf(g+1584|0,28218,32);e=D[h+12|0];d=C[h+8>>2];C[g+1248>>2]=C[h+4>>2];C[g+1252>>2]=d;C[g+1256>>2]=e?16019:16581;rf(g+1456|0,128,32587,g+1248|0);break k}pf(g+1584|0,27806,32);e=D[h+12|0];d=C[h+8>>2];C[g+1264>>2]=C[h+4>>2];C[g+1268>>2]=d;C[g+1272>>2]=e?16019:16581;rf(g+1456|0,128,32587,g+1264|0);break k}if((e|0)!=4608){break m}pf(g+1584|0,26630,32);u=G[h+16>>2];s=G[h+20>>2];r=G[h+24>>2];l=G[h+28>>2];m=G[h+12>>2];e=C[h+4>>2];d=C[h+8>>2];H[g+1328>>3]=G[h+32>>2];H[g+1320>>3]=l;H[g+1312>>3]=r;H[g+1304>>3]=s;H[g+1296>>3]=u;C[g+1280>>2]=e;C[g+1284>>2]=d;H[g+1288>>3]=m;rf(g+1456|0,128,33161,g+1280|0);break k}if(!e){break l}}if(D[g+1584|0]){break j}pf(g+1584|0,25026,32);C[g+32>>2]=C[h>>2];rf(g+1456|0,128,33903,g+32|0);break k}pf(g+1584|0,23319,32);pf(g+1456|0,34092,128)}if(!D[g+1584|0]){break e}}C[g+20>>2]=g+1456;C[g+16>>2]=g+1584;Tg(8169,g+16|0)}d=C[h+4>>2];C[j>>2]=C[h>>2];C[j+4>>2]=d;d=C[h+52>>2];C[j+48>>2]=C[h+48>>2];C[j+52>>2]=d;d=C[h+44>>2];C[j+40>>2]=C[h+40>>2];C[j+44>>2]=d;d=C[h+36>>2];C[j+32>>2]=C[h+32>>2];C[j+36>>2]=d;d=C[h+28>>2];C[j+24>>2]=C[h+24>>2];C[j+28>>2]=d;d=C[h+20>>2];C[j+16>>2]=C[h+16>>2];C[j+20>>2]=d;d=C[h+12>>2];C[j+8>>2]=C[h+8>>2];C[j+12>>2]=d;d=C[h>>2];sa:{if((d|0)!=513){if((d|0)!=32512){break sa}C[104597]=C[104597]+1;break sa}e=C[h+8>>2];d=C[e+4>>2];C[j+56>>2]=C[e>>2];C[j+60>>2]=d;C[j- -64>>2]=C[e+8>>2];C[j+8>>2]=j+56}d=C[94754];ta:{if(d){C[d+72>>2]=j;break ta}C[94753]=j}C[94754]=j;C[j+72>>2]=0;C[j+68>>2]=d;d=C[94751];C[94751]=d+1;e=1;if((d|0)>2];C[j+12>>2]=q;q=j;if(i){continue}break}}C[94757]=j;C[94756]=0}q=0;i=C[94753];if(!i){break b}v=(c|0)!=2;t=v|!a;while(1){if((b|0)<=(q|0)?a:0){break b}k=i;i=C[k+72>>2];w=C[k>>2];va:{if(w>>>0>>0|e>>>0>>0){break va}wa:{if(!a){break wa}j=C[k+4>>2];p=I(q,56)+a|0;C[p>>2]=C[k>>2];C[p+4>>2]=j;j=C[k+52>>2];C[p+48>>2]=C[k+48>>2];C[p+52>>2]=j;j=C[k+44>>2];C[p+40>>2]=C[k+40>>2];C[p+44>>2]=j;j=C[k+36>>2];C[p+32>>2]=C[k+32>>2];C[p+36>>2]=j;j=C[k+28>>2];C[p+24>>2]=C[k+24>>2];C[p+28>>2]=j;j=C[k+20>>2];C[p+16>>2]=C[k+16>>2];C[p+20>>2]=j;j=C[k+12>>2];C[p+8>>2]=C[k+8>>2];C[p+12>>2]=j;if(C[k>>2]==513){j=C[94757];xa:{if(j){C[94757]=C[j+12>>2];break xa}j=Fe[C[94762]](16)|0;if(j){C[94766]=C[94766]+1}}h=C[k+8>>2];o=C[h+4>>2];C[j>>2]=C[h>>2];C[j+4>>2]=o;C[j+8>>2]=C[h+8>>2];C[j+12>>2]=C[94756];C[94756]=j;C[p+8>>2]=j}if(v){break wa}o=C[k+68>>2];if(o){C[o+72>>2]=C[k+72>>2]}j=C[k+72>>2];if(j){C[j+68>>2]=o}if((k|0)==C[94753]){C[94753]=j}if((k|0)==C[94754]){C[94754]=C[k+68>>2]}if(C[k>>2]==32512){C[104597]=C[104597]-1}C[k+72>>2]=C[94755];C[94755]=k;C[94751]=C[94751]-1}if((w|0)==32512){if(!f){break va}n=n+t|0;if((n|0)>2]){break a}a=C[b+364>>2];if(a){Fe[C[b+276>>2]](b,a);C[b+364>>2]=0}if(!C[b+368>>2]){break a}}Ce=g+1616|0;return q}function NC(a){a=a|0;var 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;n=C[a+36>>2];g=C[a+20>>2];o=C[a+16>>2];e=C[a>>2];l=C[a+28>>2];c=C[a+24>>2];b=C[a+40>>2];i=D[b+9|0];k=C[a+48>>2];a:{if(k){if(!l){break a}p=c&7;m=(c+7|0)/8|0;j=i-1|0;while(1){l=l-1|0;c=m;b:{c:{switch(p-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;f=0;d=0;f:{g:{h:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break g;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break g;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break g;case 3:break h;default:break f}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=1;continue;case 1:a=0;f=0;d=0;i:{j:{k:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break j;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break j;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break j;case 3:break k;default:break i}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=2;continue;case 2:a=0;f=0;d=0;l:{m:{n:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break m;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break m;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break m;case 3:break n;default:break l}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=3;continue;case 3:a=0;f=0;d=0;o:{p:{q:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break p;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break p;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break p;case 3:break q;default:break o}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=4;continue;case 4:a=0;f=0;d=0;r:{s:{t:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break s;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break s;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break s;case 3:break t;default:break r}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=5;continue;case 5:a=0;f=0;d=0;u:{v:{w:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break v;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break v;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break v;case 3:break w;default:break u}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;a=6;continue;case 6:a=0;f=0;d=0;x:{y:{z:{switch(j|0){case 0:d=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break y;case 1:d=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;break y;case 2:a=(D[b+34|0]>>>3|0)+e|0;h=(D[b+32|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;break y;case 3:break z;default:break x}}d=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0}d=D[a|0];a=D[h|0];f=D[f|0]}A[g|0]=D[k+(f>>>3&28|a&224|(d&192)>>>6)|0];e=e+i|0;g=g+1|0;if((c|0)<=1){break d}c=c-1|0;a=7;continue;default:break e}}f=0;d=0;a=0;A:{B:{C:{switch(j|0){case 0:f=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break B;case 1:f=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0;break B;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+33|0]>>>3|0)+e|0;f=(D[b+32|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}f=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((f&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((f&C[b+16>>2])>>>D[b+33|0]|0)|0;f=C[(D[b+28|0]<<2)+382144>>2]+((f&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];f=D[f|0];d=D[d|0]}A[g|0]=D[k+(d>>>3&28|f&224|(a&192)>>>6)|0];e=e+i|0;g=g+1|0;a=0;continue}break}g=g+n|0;e=e+o|0;if(l){continue}break}break a}if(!l){break a}h=c&7;k=(c+7|0)/8|0;j=i-1|0;while(1){l=l-1|0;m=k;D:{E:{switch(h-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;c=0;f=0;H:{I:{J:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break I;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break I;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break I;case 3:break J;default:break H}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=1;continue;case 1:a=0;c=0;f=0;K:{L:{M:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break L;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=2;continue;case 2:a=0;c=0;f=0;N:{O:{P:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break O;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break O;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break O;case 3:break P;default:break N}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=3;continue;case 3:a=0;c=0;f=0;Q:{R:{S:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break R;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break R;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=4;continue;case 4:a=0;c=0;f=0;T:{U:{V:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break U;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break U;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break U;case 3:break V;default:break T}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=5;continue;case 5:a=0;c=0;f=0;W:{X:{Y:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break X;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break X;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break X;case 3:break Y;default:break W}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;a=6;continue;case 6:a=0;c=0;f=0;Z:{_:{$:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;break _;case 2:a=(D[b+34|0]>>>3|0)+e|0;d=(D[b+32|0]>>>3|0)+e|0;c=(D[b+33|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0}f=D[a|0];a=D[d|0];c=D[c|0]}A[g|0]=c>>>3&28|a&224|(f&192)>>>6;e=e+i|0;g=g+1|0;if((m|0)<=1){break F}m=m-1|0;a=7;continue;default:break G}}c=0;f=0;a=0;aa:{ba:{ca:{switch(j|0){case 0:c=D[e|0];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;break ba;case 1:c=E[e>>1];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;break ba;case 2:a=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break ba;case 3:break ca;default:break aa}}c=C[e>>2];a=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0}a=D[a|0];c=D[c|0];f=D[f|0]}A[g|0]=f>>>3&28|c&224|(a&192)>>>6;e=e+i|0;g=g+1|0;a=0;continue}break}g=g+n|0;e=e+o|0;if(l){continue}break}}}function kD(a){a=a|0;var 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;a:{q=C[a+28>>2];if(!q){break a}g=D[a+63|0];n=C[a+56>>2];r=C[a+36>>2];s=C[a+16>>2];o=C[C[C[a+40>>2]+4>>2]+4>>2];b=C[a+44>>2];p=C[a+24>>2];t=p&7;u=(p+7|0)/8|0;k=C[a>>2];a=C[a+20>>2];m=D[b+9|0];l=m-1|0;b:while(1){q=q-1|0;p=u;c:{d:{switch(t-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=D[k|0];f:{if((d|0)==(n|0)){break f}d=(d<<2)+o|0;h=D[d+2|0];i=D[d+1|0];j=D[d|0];d=0;e=0;f=0;c=0;g:{h:{switch(l|0){case 0:c=D[a|0];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break g;case 3:break h;default:break g}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;i:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break f;case 3:break i;default:break f}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break k;case 3:break l;default:break k}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;m:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break j;case 3:break m;default:break j}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break o;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break o;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break o;case 3:break p;default:break o}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;q:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break n;case 3:break q;default:break n}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break s;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break s;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break s;case 3:break t;default:break s}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;u:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break r;case 3:break u;default:break r}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break w;case 3:break x;default:break w}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;y:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break v;case 3:break y;default:break v}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break A;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break A;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break A;case 3:break B;default:break A}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;C:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break z;case 3:break C;default:break z}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break E;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break E;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break E;case 3:break F;default:break E}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;G:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break D;case 3:break G;default:break D}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break I;case 1:c=E[a>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break I;case 2:e=D[(D[b+34|0]>>>3|0)+a|0];f=D[(D[b+33|0]>>>3|0)+a|0];c=D[(D[b+32|0]>>>3|0)+a|0];d=255;break I;case 3:break J;default:break I}}c=C[a>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+g|0)-((I(d,g)>>>0)/255|0)&255;h=((I(h-e|0,g)|0)/255|0)+e|0;e=h&255;i=((I(i-f|0,g)|0)/255|0)+f|0;f=i&255;j=((I(j-c|0,g)|0)/255|0)+c|0;c=j&255;K:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=j;A[(D[b+33|0]>>>3|0)+a|0]=i;A[(D[b+34|0]>>>3|0)+a|0]=h;break H;case 3:break K;default:break H}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<1){p=d;break L}a=a+r|0;k=k+s|0;if(q){continue b}break a}d=0;continue}}}}function Zi(a,b,c,d,e,f,g,h){var 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,F=0;o=Ce-464|0;Ce=o;a:{if(!d){C[o>>2]=21531;i=Qe(19745,o);break a}if(!e){C[o+16>>2]=14964;i=Qe(19745,o+16|0);break a}if(!g){C[o+32>>2]=3524;i=Qe(19745,o+32|0);break a}if(!h){C[o+48>>2]=14954;i=Qe(19745,o+48|0);break a}b:{if(!c){i=f&-268435456;break b}m=c&-268435456;i=f&-268435456;if(!(!f|(i|0)==268435456|(m|0)==268435456)){j=a;l=e;i=Ce-96|0;Ce=i;c:{d:{if((c|0)==(f|0)){if((d|0)==(g|0)){break c}e:{f:{if((c|0)<=1431918168){g:{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 e;case 0:case 11:break f;default:break g}}if((c|0)==825382478){break f}if((c|0)!=844715353){break e}break d}if((c|0)==1431918169|(c|0)==1498831189){break d}if((c|0)!=1448433993){break e}}if(b){a=b;while(1){gf(g,d,j);g=g+h|0;d=d+l|0;a=a-1|0;if(a){continue}break}}h:{i:{switch(c-842094158|0){default:if((c|0)==825382478){break h}if((c|0)!=1448433993){break c}break;case 0:break h;case 11:break i;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c}}if(b+2>>>0<3){break c}c=(h+1|0)/2|0;e=(l+1|0)/2|0;f=(j+1|0)/2|0;a=(b+1|0)/2<<1;while(1){gf(g,d,f);g=c+g|0;d=d+e|0;a=a-1|0;if(a){continue}break}break c}if(b+2>>>0<3){break c}c=(h+1|0)/2<<1;e=(l+1|0)/2<<1;f=(j+1|0)/2<<1;a=(b+1|0)/2|0;while(1){gf(g,d,f);g=c+g|0;d=d+e|0;a=a-1|0;if(a){continue}break}break c}z=i,F=Rh(c),C[z>>2]=F;q=Qe(8636,i);break c}j:{k:{l:{m:{n:{o:{p:{if((c|0)<=1431918168){q:{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 k;case 0:case 11:break p;default:break q}}if((c|0)==825382478){break p}if((c|0)==844715353){break o}break k}if((c|0)==1431918169|(c|0)==1498831189){break o}if((c|0)!=1448433993){break k}}r:{s:{t:{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 r;case 0:case 11:break s;default:break t}}if((f|0)==1448433993){break s}if((f|0)!=825382478){break r}}if(!(!b|(d|0)==(g|0))){a=g;e=d;m=b;while(1){gf(a,e,j);a=a+h|0;e=e+l|0;m=m-1|0;if(m){continue}break}}u:{v:{w:{x:{y:{z:{A:{switch(c-842094158|0){default:if((c|0)==825382478){break w}if((c|0)!=1448433993){break u}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 u;case 0:break y;case 11:break z;default:break v};case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break u;case 0:break x;case 11:break A}}if((f|0)!=825382478){if((f|0)!=842094158){if((f|0)!=1448433993){break u}q=$y(j,b,d,l,g,h);break c}q=Xm(j,b,d,l,g,h,1);break c}q=Xm(j,b,d,l,g,h,0);break c}q=$y(j,b,d,l,g,h);break c}q=Xm(j,b,d,l,g,h,0);break c}if((f|0)!=825382478){if((f|0)!=1448433993){if((f|0)!=842094169){break u}q=Wm(j,b,d,l,g,h,1);break c}q=Wm(j,b,d,l,g,h,0);break c}if(b+2>>>0<3){break c}c=(j+1|0)/2|0;m=c&3;d=I(b,l)+d|0;g=I(b,h)+g|0;f=(b+1|0)/2|0;b=j+2>>>0<3;h=(((h+1|0)/2|0)-c&2147483647)<<1;j=(((l+1|0)/2|0)-c&2147483647)<<1;l=c-1>>>0<3;while(1){f=f-1|0;B:{if(b){break B}e=0;a=c;if(m){while(1){n=E[d>>1];B[g>>1]=n<<8|n>>>8;g=g+2|0;d=d+2|0;a=a-1|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}if(l){break B}while(1){e=E[d>>1];B[g>>1]=e<<8|e>>>8;e=E[d+2>>1];B[g+2>>1]=e<<8|e>>>8;e=E[d+4>>1];B[g+4>>1]=e<<8|e>>>8;e=E[d+6>>1];B[g+6>>1]=e<<8|e>>>8;g=g+8|0;d=d+8|0;a=a-4|0;if(a){continue}break}}g=g+h|0;d=d+j|0;if(f){continue}break}break c}C:{switch(f-842094158|0){case 11:q=Wm(j,b,d,l,g,h,0);break c;default:if((f|0)!=1448433993){break u}q=Wm(j,b,d,l,g,h,1);break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break u;case 0:break C}}if(b+2>>>0<3){break c}c=(j+1|0)/2|0;m=c&3;d=I(b,l)+d|0;g=I(b,h)+g|0;f=(b+1|0)/2|0;b=j+2>>>0<3;h=(((h+1|0)/2|0)-c&2147483647)<<1;j=(((l+1|0)/2|0)-c&2147483647)<<1;l=c-1>>>0<3;while(1){f=f-1|0;D:{if(b){break D}e=0;a=c;if(m){while(1){n=E[d>>1];B[g>>1]=n<<8|n>>>8;g=g+2|0;d=d+2|0;a=a-1|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}if(l){break D}while(1){e=E[d>>1];B[g>>1]=e<<8|e>>>8;e=E[d+2>>1];B[g+2>>1]=e<<8|e>>>8;e=E[d+4>>1];B[g+4>>1]=e<<8|e>>>8;e=E[d+6>>1];B[g+6>>1]=e<<8|e>>>8;g=g+8|0;d=d+8|0;a=a-4|0;if(a){continue}break}}g=g+h|0;d=d+j|0;if(f){continue}break}break c}if((f|0)==825382478){break j}}a=Rh(c);z=i,F=Rh(f),C[z+52>>2]=F;C[i+48>>2]=a;q=Qe(8486,i+48|0);break c}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 k;case 0:case 11:break m;default:break n}}if((c|0)==844715353){break o}if((c|0)==1448433993){break m}if((c|0)!=1431918169){break k}}if(!(!((f|0)==844715353|(f|0)==1498831189)&(f|0)!=1431918169)){E:{F:{if((c|0)!=1498831189){if((c|0)==1431918169){break F}if((c|0)!=844715353){break E}if((f|0)!=1431918169){if((f|0)!=1498831189){break E}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;G:{if(l){break G}if(m){a=D[d+1|0];n=D[d|0];k=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break G}while(1){n=D[d+1|0];k=D[d|0];p=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+5|0];k=D[d+4|0];p=D[d+7|0];A[g+7|0]=D[d+6|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;H:{if(l){break H}if(m){a=D[d|0];n=D[d+3|0];k=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break H}while(1){n=D[d|0];k=D[d+3|0];p=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+4|0];k=D[d+7|0];p=D[d+6|0];A[g+7|0]=D[d+5|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if((f|0)!=1431918169){if((f|0)!=844715353){break E}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;I:{if(l){break I}if(m){a=D[d+1|0];n=D[d|0];k=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break I}while(1){n=D[d+1|0];k=D[d|0];p=D[d+3|0];A[g+3|0]=D[d+2|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+5|0];k=D[d+4|0];p=D[d+7|0];A[g+7|0]=D[d+6|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;h=h-a|0;m=l-a|0;e=c-1|0;l=c&1;n=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;J:{if(n){break J}if(l){f=D[d+3|0];a=D[d+1|0]|D[d+2|0]<<8;A[g+3|0]=D[d|0];A[g|0]=a;A[g+1|0]=a>>>8;A[g+2|0]=f;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break J}while(1){k=D[d+3|0];f=D[d+1|0]|D[d+2|0]<<8;A[g+3|0]=D[d|0];A[g|0]=f;A[g+1|0]=f>>>8;A[g+2|0]=k;k=D[d+7|0];f=D[d+5|0]|D[d+6|0]<<8;A[g+7|0]=D[d+4|0];A[g+4|0]=f;A[g+5|0]=f>>>8;A[g+6|0]=k;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=g+h|0;d=d+m|0;if(b){continue}break}break c}if((f|0)!=1498831189){if((f|0)!=844715353){break E}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;K:{if(l){break K}if(m){a=D[d|0];n=D[d+3|0];k=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break K}while(1){n=D[d|0];k=D[d+3|0];p=D[d+2|0];A[g+3|0]=D[d+1|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+4|0];k=D[d+7|0];p=D[d+6|0];A[g+7|0]=D[d+5|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}if(!b){break c}c=(j+1|0)/2|0;a=c<<2;f=h-a|0;h=l-a|0;e=c-1|0;m=c&1;l=j+2>>>0<3;j=j-1>>>0<2;while(1){b=b-1|0;L:{if(l){break L}if(m){a=D[d+3|0];n=D[d|0];k=D[d+1|0];A[g+3|0]=D[d+2|0];A[g+2|0]=k;A[g+1|0]=n;A[g|0]=a;g=g+4|0;d=d+4|0;a=e}else{a=c}if(j){break L}while(1){n=D[d+3|0];k=D[d|0];p=D[d+1|0];A[g+3|0]=D[d+2|0];A[g+2|0]=p;A[g+1|0]=k;A[g|0]=n;n=D[d+7|0];k=D[d+4|0];p=D[d+5|0];A[g+7|0]=D[d+6|0];A[g+6|0]=p;A[g+5|0]=k;A[g+4|0]=n;g=g+8|0;d=d+8|0;a=a-2|0;if(a){continue}break}}g=f+g|0;d=d+h|0;if(b){continue}break}break c}a=Rh(c);z=i,F=Rh(f),C[z+36>>2]=F;C[i+32>>2]=a;q=Qe(8411,i+32|0);break c}if((c|0)<=1448433992){if((c|0)==844715353|(c|0)==1431918169){break l}break k}if((c|0)==1498831189){break l}if((c|0)!=1448433993){break k}break m}if((c|0)!=825382478){break k}}if(!(!((f|0)==844715353|(f|0)==1498831189)&(f|0)!=1431918169)){if((d|0)==(g|0)){q=Qe(19073,0);break c}q=-1;if((nk(b,c,d,l,i+92|0,i+88|0,i+84|0,i+80|0,i+76|0)|0)<0){break c}a=C[i+80>>2];k=C[i+92>>2];M:{if(!((c|0)!=842094158&(c|0)!=825382478)){l=2;c=C[i+76>>2]+((j+1|0)/-2<<1)|0;break M}l=1;c=C[i+76>>2]+((j+1|0)/-2|0)|0}d=0;if((nk(b,f,g,h,i+72|0,i+68|0,i- -64|0,i+60|0,i+56|0)|0)<0){break c}n=b-1|0;if((b|0)>=2){v=a-j|0;d=a+k|0;a=C[i+60>>2];t=a+((j+1|0)/-2<<2)|0;q=j&-2;u=j-1|0;g=a+C[i+72>>2]|0;m=C[i+68>>2];e=C[i+56>>2];a=m+e|0;h=C[i+64>>2];e=e+h|0;w=(j|0)<2;while(1){if(w){f=0}else{f=0;k=C[i+88>>2];while(1){h=C[i+72>>2];r=C[i+92>>2];A[h|0]=D[r|0];C[i+92>>2]=r+2;A[h+2|0]=D[r+1|0];C[i+72>>2]=h+4;A[m|0]=D[k|0];A[C[i+64>>2]]=D[C[i+84>>2]];A[g|0]=D[d|0];A[g+2|0]=D[d+1|0];A[a|0]=D[C[i+88>>2]];A[e|0]=D[C[i+84>>2]];k=l+C[i+88>>2]|0;C[i+88>>2]=k;C[i+84>>2]=l+C[i+84>>2];m=C[i+68>>2]+4|0;C[i+68>>2]=m;h=C[i+64>>2]+4|0;C[i+64>>2]=h;e=e+4|0;a=a+4|0;g=g+4|0;d=d+2|0;f=f+2|0;if((u|0)>(f|0)){continue}break}f=q}N:{if((f|0)!=(u|0)){k=C[i+88>>2];f=C[i+84>>2];break N}f=C[i+72>>2];h=C[i+92>>2];A[f|0]=D[h|0];C[i+92>>2]=h+1;A[f+2|0]=D[h|0];C[i+72>>2]=f+4;A[m|0]=D[C[i+88>>2]];A[C[i+64>>2]]=D[C[i+84>>2]];A[g|0]=D[d|0];A[g+2|0]=D[d|0];A[a|0]=D[C[i+88>>2]];A[e|0]=D[C[i+84>>2]];e=e+4|0;a=a+4|0;g=g+4|0;d=d+1|0;h=C[i+64>>2]+4|0;m=C[i+68>>2]+4|0;k=l+C[i+88>>2]|0;f=l+C[i+84>>2]|0}C[i+88>>2]=c+k;C[i+84>>2]=c+f;r=v+C[i+80>>2]|0;k=r+C[i+92>>2]|0;C[i+92>>2]=k;s=t+C[i+60>>2]|0;C[i+72>>2]=s+C[i+72>>2];f=t+C[i+56>>2]|0;m=f+m|0;C[i+68>>2]=m;h=f+h|0;C[i+64>>2]=h;e=e+f|0;a=a+f|0;g=g+s|0;d=d+r|0;p=p+2|0;if((n|0)>(p|0)){continue}break}d=b&-2}q=0;if((d|0)!=(n|0)){break c}c=j-1|0;g=C[i+64>>2];e=C[i+84>>2];a=C[i+68>>2];h=C[i+88>>2];d=C[i+72>>2];if((j|0)<2){b=0}else{b=j-2|0;f=(b>>>1|0)+1|0;m=f&1;if(b>>>0>=2){b=f&-2;f=0;while(1){A[d|0]=D[k|0];A[d+2|0]=D[k+1|0];A[a|0]=D[h|0];A[g|0]=D[e|0];A[d+4|0]=D[k+2|0];A[d+6|0]=D[k+3|0];h=h+l|0;A[a+4|0]=D[h|0];e=e+l|0;A[g+4|0]=D[e|0];g=g+8|0;a=a+8|0;d=d+8|0;k=k+4|0;e=e+l|0;h=h+l|0;f=f+2|0;if((b|0)!=(f|0)){continue}break}}if(m){A[d|0]=D[k|0];A[d+2|0]=D[k+1|0];A[a|0]=D[h|0];A[g|0]=D[e|0];g=g+4|0;e=e+l|0;h=h+l|0;k=k+2|0;d=d+4|0;a=a+4|0}b=j&-2}C[i+72>>2]=d;C[i+92>>2]=k;C[i+88>>2]=h;C[i+68>>2]=a;C[i+84>>2]=e;C[i+64>>2]=g;if((b|0)!=(c|0)){break c}A[d|0]=D[k|0];C[i+92>>2]=k+1;C[i+72>>2]=d+2;A[d+2|0]=D[k|0];A[C[i+68>>2]]=D[C[i+88>>2]];A[C[i+64>>2]]=D[C[i+84>>2]];break c}if((c|0)==1431918169){break l}if((c|0)!=844715353){break k}}O:{P:{switch(f-842094158|0){case 0:case 11:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break k;default:break P}}if((f|0)==1448433993){break O}if((f|0)!=825382478){break k}}if((d|0)==(g|0)){q=Qe(19073,0);break c}q=-1;if((nk(b,c,d,l,i+92|0,i+88|0,i+84|0,i+80|0,i+76|0)|0)<0){break c}n=C[i+80>>2];m=C[i+92>>2];k=C[i+88>>2];c=C[i+84>>2];d=C[i+76>>2];if((nk(b,f,g,h,i+72|0,i+68|0,i- -64|0,i+60|0,i+56|0)|0)<0){break c}g=(j+1|0)/2|0;Q:{if(!((f|0)!=842094158&(f|0)!=825382478)){p=C[i+56>>2]-(g<<1)|0;l=2;break Q}p=C[i+56>>2]-g|0;l=1}f=C[i+72>>2];t=b-1|0;q=0;if((b|0)<2){a=0}else{a=c+d|0;e=d+k|0;d=m+n|0;u=n-(g<<2)|0;g=C[i+60>>2];v=g-j|0;g=f+g|0;n=j&-2;r=j-1|0;w=(j|0)<2;while(1){m=0;if(w){f=0}else{while(1){c=C[i+72>>2];f=C[i+92>>2];A[c|0]=D[f|0];h=D[f+2|0];C[i+72>>2]=c+2;A[c+1|0]=h;C[i+92>>2]=f+4;A[g|0]=D[d|0];A[g+1|0]=D[d+2|0];f=C[i+68>>2];h=C[i+88>>2];A[f|0]=D[e|0]+D[h|0]>>>1;s=C[i+64>>2];c=C[i+84>>2];A[s|0]=D[a|0]+D[c|0]>>>1;c=c+4|0;C[i+84>>2]=c;k=h+4|0;C[i+88>>2]=k;C[i+68>>2]=f+l;C[i+64>>2]=l+s;a=a+4|0;e=e+4|0;d=d+4|0;g=g+2|0;m=m+2|0;if((r|0)>(m|0)){continue}break}f=n}R:{if((f|0)!=(r|0)){h=C[i+64>>2];f=C[i+68>>2];break R}c=C[i+72>>2];f=C[i+92>>2];A[c|0]=D[f|0];h=D[f+2|0];C[i+72>>2]=c+1;A[c|0]=h;C[i+92>>2]=f+4;A[g|0]=D[d|0];A[g|0]=D[d+2|0];f=C[i+68>>2];c=C[i+88>>2];A[f|0]=D[e|0]+D[c|0]>>>1;h=C[i+64>>2];m=C[i+84>>2];A[h|0]=D[a|0]+D[m|0]>>>1;a=a+4|0;e=e+4|0;d=d+4|0;g=g+1|0;k=c+4|0;h=h+l|0;c=m+4|0;f=f+l|0}C[i+68>>2]=f+p;C[i+64>>2]=h+p;s=u+C[i+80>>2]|0;m=s+C[i+92>>2]|0;C[i+92>>2]=m;h=u+C[i+76>>2]|0;k=h+k|0;C[i+88>>2]=k;c=c+h|0;C[i+84>>2]=c;x=v+C[i+60>>2]|0;f=x+C[i+72>>2]|0;C[i+72>>2]=f;g=g+x|0;a=a+h|0;e=e+h|0;d=d+s|0;y=y+2|0;if((t|0)>(y|0)){continue}break}a=b&-2}if((a|0)!=(t|0)){break c}b=j-1|0;d=C[i+64>>2];g=C[i+68>>2];if((j|0)<2){a=0}else{a=j-2|0;e=(a>>>1|0)+1|0;h=e&1;if(a>>>0>=2){e=e&-2;a=0;while(1){A[f|0]=D[m|0];A[f+1|0]=D[m+2|0];A[g|0]=D[k|0];A[d|0]=D[c|0];A[f+2|0]=D[m+4|0];A[f+3|0]=D[m+6|0];g=g+l|0;A[g|0]=D[k+4|0];d=d+l|0;A[d|0]=D[c+4|0];c=c+8|0;k=k+8|0;m=m+8|0;f=f+4|0;d=d+l|0;g=g+l|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}}if(h){A[f|0]=D[m|0];A[f+1|0]=D[m+2|0];A[g|0]=D[k|0];A[d|0]=D[c|0];d=d+l|0;g=g+l|0;k=k+4|0;f=f+2|0;m=m+4|0;c=c+4|0}a=j&-2}C[i+72>>2]=f;C[i+92>>2]=m;C[i+88>>2]=k;C[i+68>>2]=g;C[i+84>>2]=c;C[i+64>>2]=d;if((a|0)!=(b|0)){break c}A[f|0]=D[m|0];A[C[i+68>>2]]=D[C[i+88>>2]];A[C[i+64>>2]]=D[C[i+84>>2]];break c}a=Rh(c);z=i,F=Rh(f),C[z+20>>2]=F;C[i+16>>2]=a;q=Qe(8344,i+16|0);break c}q=Xm(j,b,d,l,g,h,1);break c}if(!b){break c}a=(j+1|0)/2<<2;while(1){gf(g,d,a);g=g+h|0;d=d+l|0;b=b-1|0;if(b){continue}break}}Ce=i+96|0;i=q;break a}if((m|0)==268435456){break b}i=cz(a,b,c,d,e,f,g,h);break a}if(!(!f|(i|0)==268435456)){S:{if((c|0)==372645892){i=bz(a,b,d,e,f,g,h);break S}j=a<<2;i=I(j,b);i=Fe[C[94762]](i>>>0<=1?1:i)|0;if(i){C[94766]=C[94766]+1}if(!i){i=_e(0);break S}m=-1;if((Zi(a,b,c,d,e,372645892,i,j)|0)!=-1){m=bz(a,b,i,j,f,g,h)}if(i){Fe[C[94765]](i);C[94766]=C[94766]-1}i=m}break a}m=!c|(c&-268435456)==268435456;if((c|0)==(f|0)){i=0;if(!b){break a}a=I(m?c&255:1,a);while(1){gf(g,d,a);g=g+h|0;d=d+e|0;b=b-1|0;if(b){continue}break}break a}T:{if(!m){break T}i=-1;if((c>>>24&15)-1>>>0>2){break T}Qe(19987,0);break a}if((ln(o+300|0,c)|0)<0){i=-1;break a}mf(o+404|0,0,60);C[o+424>>2]=d;C[o+404>>2]=1;C[o+420>>2]=e;C[o+416>>2]=b;C[o+412>>2]=a;C[o+408>>2]=o+300;c=o+168|0;mf(c,0,88);i=-1;C[o+244>>2]=-1;C[o+460>>2]=1;C[o+456>>2]=c;e=o+256|0;d=o+80|0;U:{if(!((f>>>24&15)-1>>>0>2|((f&-268435456)!=268435456?f:0))){Qe(19987,0);c=0;break U}if((ln(e,f)|0)>=0){c=o+344|0;mf(c,0,60);C[c+20>>2]=g;C[c+4>>2]=e;C[c>>2]=1;C[c+16>>2]=h;C[c+12>>2]=b;C[c+8>>2]=a;mf(d,0,88);C[d+76>>2]=-1;C[c+56>>2]=1;C[c+52>>2]=d;c=1}else{c=0}}if(!c){break a}C[o+76>>2]=b;C[o+72>>2]=a;C[o+64>>2]=0;C[o+68>>2]=0;d=o- -64|0;b=o+344|0;a=o+404|0;c=C[a+52>>2];V:{W:{X:{if((b|0)!=C[c>>2]){break X}e=C[C[b+4>>2]+4>>2];if(C[c+80>>2]!=C[e+8>>2]?e:0){break X}e=C[C[a+4>>2]+4>>2];if(!e|C[c+84>>2]==C[e+8>>2]){break W}}i=-1;if((Dj(a,b)|0)<0){break V}c=C[a+52>>2]}i=Fe[C[c+8>>2]](a,d,b,d)|0}ag(C[o+456>>2])}Ce=o+464|0;return i}function Fu(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,B=0,E=0,G=0,H=0,K=0,M=0;q=Ce-48|0;Ce=q;a:{if(c>>>0<=2){c=c<<2;E=C[c+376092>>2];G=C[c+376080>>2];while(1){c=C[b+4>>2];b:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break b}c=Jf(b)}if((c|0)==32|c-9>>>0<5){continue}break}n=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}n=(c|0)==45?-1:1;c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break c}c=Jf(b)}e:{f:{while(1){if(A[g+1033|0]==(c|32)){g:{if(g>>>0>6){break g}c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break g}c=Jf(b)}g=g+1|0;if((g|0)!=8){continue}break f}break}if((g|0)!=3){if((g|0)==8){break f}if(!d|g>>>0<4){break e}if((g|0)==8){break f}}c=C[b+116>>2];if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}if(!d|g>>>0<4){break f}c=(c|0)<0;while(1){if(!c){C[b+4>>2]=C[b+4>>2]-1}g=g-1|0;if(g>>>0>3){continue}break}}l=Ce-16|0;Ce=l;h=(w(J(J(n|0)*J(Infinity))),j(2));b=h&2147483647;h:{if(b-8388608>>>0<=2130706431){c=b;b=b>>>7|0;c=c<<25;d=b+1065353216|0;break h}c=h<<25;d=h>>>7|2147418112;if(b>>>0>=2139095040){break h}c=0;d=0;if(!b){break h}c=b;b=L(b);Hg(l,c,0,0,0,b+81|0);k=C[l>>2];i=C[l+4>>2];c=C[l+8>>2];d=C[l+12>>2]^65536|16265-b<<16}C[q>>2]=k;C[q+4>>2]=i;C[q+8>>2]=c;C[q+12>>2]=h&-2147483648|d;Ce=l+16|0;k=C[q+8>>2];i=C[q+12>>2];h=C[q>>2];m=C[q+4>>2];break a}i:{j:{k:{if(g){break k}g=0;while(1){if(A[g+12445|0]!=(c|32)){break k}l:{if(g>>>0>1){break l}c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break l}c=Jf(b)}g=g+1|0;if((g|0)!=3){continue}break}break j}m:{switch(g|0){case 0:n:{if((c|0)!=48){break n}g=C[b+4>>2];o:{if((g|0)!=C[b+104>>2]){C[b+4>>2]=g+1;g=D[g|0];break o}g=Jf(b)}if((g&-33)==88){f=Ce-432|0;Ce=f;c=C[b+4>>2];p:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;g=D[c|0];break p}g=Jf(b)}q:{r:{while(1){if((g|0)!=48){s:{if((g|0)!=46){break q}c=C[b+4>>2];if((c|0)==C[b+104>>2]){break s}C[b+4>>2]=c+1;g=D[c|0];break r}}else{c=C[b+4>>2];if((c|0)!=C[b+104>>2]){B=1;C[b+4>>2]=c+1;g=D[c|0]}else{B=1;g=Jf(b)}continue}break}g=Jf(b)}r=1;if((g|0)!=48){break q}while(1){c=s;s=c-1|0;t=t-!c|0;c=C[b+4>>2];t:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;g=D[c|0];break t}g=Jf(b)}if((g|0)==48){continue}break}B=1}m=1073676288;while(1){u:{c=g|32;v:{w:{H=g-48|0;if(H>>>0<10){break w}if((g|0)!=46&c-97>>>0>=6){break u}if((g|0)!=46){break w}if(r){break u}r=1;s=k;t=i;break v}c=(g|0)>57?c-87|0:H;x:{if((i|0)<=0&k>>>0<=7|(i|0)<0){e=c+(e<<4)|0;break x}if(!i&k>>>0<=28){hh(f+48|0,c);Uf(f+32|0,y,z,h,m,0,0,0,1073414144);y=C[f+32>>2];z=C[f+36>>2];h=C[f+40>>2];m=C[f+44>>2];Uf(f+16|0,C[f+48>>2],C[f+52>>2],C[f+56>>2],C[f+60>>2],y,z,h,m);ah(f,C[f+16>>2],C[f+20>>2],C[f+24>>2],C[f+28>>2],l,p,v,x);v=C[f+8>>2];x=C[f+12>>2];l=C[f>>2];p=C[f+4>>2];break x}if(o|!c){break x}Uf(f+80|0,y,z,h,m,0,0,0,1073610752);ah(f- -64|0,C[f+80>>2],C[f+84>>2],C[f+88>>2],C[f+92>>2],l,p,v,x);v=C[f+72>>2];x=C[f+76>>2];o=1;l=C[f+64>>2];p=C[f+68>>2]}k=k+1|0;i=k?i:i+1|0;B=1}c=C[b+4>>2];if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;g=D[c|0]}else{g=Jf(b)}continue}break}y:{if(!B){c=C[b+116>>2];z:{A:{if((c|0)>0|(c|0)>=0){c=C[b+4>>2];C[b+4>>2]=c-1;if(!d){break A}C[b+4>>2]=c-2;if(!r){break z}C[b+4>>2]=c-3;break z}if(d){break z}}Fh(b,0,0)}Sh(f+96|0,+(n|0)*0);l=C[f+96>>2];p=C[f+100>>2];c=C[f+108>>2];b=C[f+104>>2];break y}if((i|0)<=0&k>>>0<=7|(i|0)<0){h=k;m=i;while(1){e=e<<4;h=h+1|0;m=h?m:m+1|0;if((h|0)!=8|m){continue}break}}B:{C:{D:{if((g&-33)==80){h=Eu(b,d);c=Ee;m=c;if(h|(c|0)!=-2147483648){break B}if(d){c=C[b+116>>2];if((c|0)>0|(c|0)>=0){break D}break C}l=0;p=0;Fh(b,0,0);c=0;b=0;break y}h=0;m=0;if(C[b+116>>2]<0){break B}}C[b+4>>2]=C[b+4>>2]-1}h=0;m=0}if(!e){Sh(f+112|0,+(n|0)*0);l=C[f+112>>2];p=C[f+116>>2];c=C[f+124>>2];b=C[f+120>>2];break y}b=r?s:k;i=(r?t:i)<<2|b>>>30;c=h+(b<<2)|0;b=i+m|0;k=c-32|0;i=(c>>>0>>0?b+1|0:b)-(c>>>0<32)|0;b=i;if(k>>>0>0-E>>>0&(b|0)>=0|(b|0)>0){C[105782]=68;hh(f+160|0,n);Uf(f+144|0,C[f+160>>2],C[f+164>>2],C[f+168>>2],C[f+172>>2],-1,-1,-1,2147418111);Uf(f+128|0,C[f+144>>2],C[f+148>>2],C[f+152>>2],C[f+156>>2],-1,-1,-1,2147418111);l=C[f+128>>2];p=C[f+132>>2];c=C[f+140>>2];b=C[f+136>>2];break y}b=E-226|0;c=b>>31;if((i|0)>=(c|0)&b>>>0<=k>>>0|(c|0)<(i|0)){if((e|0)>=0){while(1){ah(f+416|0,l,p,v,x,0,0,0,-1073807360);b=tu(l,p,v,x,1073610752);c=(b|0)>=0;b=c;ah(f+400|0,l,p,v,x,b?C[f+416>>2]:l,b?C[f+420>>2]:p,b?C[f+424>>2]:v,b?C[f+428>>2]:x);b=k;k=b-1|0;i=i-!b|0;v=C[f+408>>2];x=C[f+412>>2];l=C[f+400>>2];p=C[f+404>>2];e=c|e<<1;if((e|0)>=0){continue}break}}b=i-((E>>31)+(k>>>0>>0)|0)|0;c=(k-E|0)+32|0;b=c>>>0<32?b+1|0:b;c=c>>>0>>0&(b|0)<=0|(b|0)<0?(c|0)>0?c:0:G;E:{if((c|0)>=113){hh(f+384|0,n);s=C[f+392>>2];t=C[f+396>>2];y=C[f+384>>2];z=C[f+388>>2];h=0;b=0;break E}Sh(f+352|0,Ki(1,144-c|0));hh(f+336|0,n);y=C[f+336>>2];z=C[f+340>>2];s=C[f+344>>2];t=C[f+348>>2];Iu(f+368|0,C[f+352>>2],C[f+356>>2],C[f+360>>2],C[f+364>>2],y,z,s,t);u=C[f+376>>2];K=C[f+380>>2];h=C[f+372>>2];b=C[f+368>>2]}d=!(e&1)&((fj(l,p,v,x,0,0,0,0)|0)!=0&(c|0)<32);Tj(f+320|0,d+e|0);Uf(f+304|0,y,z,s,t,C[f+320>>2],C[f+324>>2],C[f+328>>2],C[f+332>>2]);c=b;ah(f+272|0,C[f+304>>2],C[f+308>>2],C[f+312>>2],C[f+316>>2],b,h,u,K);b=d;Uf(f+288|0,y,z,s,t,b?0:l,b?0:p,b?0:v,b?0:x);ah(f+256|0,C[f+288>>2],C[f+292>>2],C[f+296>>2],C[f+300>>2],C[f+272>>2],C[f+276>>2],C[f+280>>2],C[f+284>>2]);ro(f+240|0,C[f+256>>2],C[f+260>>2],C[f+264>>2],C[f+268>>2],c,h,u,K);b=C[f+240>>2];d=C[f+244>>2];c=C[f+248>>2];h=C[f+252>>2];if(!fj(b,d,c,h,0,0,0,0)){C[105782]=68}Hu(f+224|0,b,d,c,h,k);l=C[f+224>>2];p=C[f+228>>2];c=C[f+236>>2];b=C[f+232>>2];break y}C[105782]=68;hh(f+208|0,n);Uf(f+192|0,C[f+208>>2],C[f+212>>2],C[f+216>>2],C[f+220>>2],0,0,0,65536);Uf(f+176|0,C[f+192>>2],C[f+196>>2],C[f+200>>2],C[f+204>>2],0,0,0,65536);l=C[f+176>>2];p=C[f+180>>2];c=C[f+188>>2];b=C[f+184>>2]}C[q+16>>2]=l;C[q+20>>2]=p;C[q+24>>2]=b;C[q+28>>2]=c;Ce=f+432|0;k=C[q+24>>2];i=C[q+28>>2];h=C[q+16>>2];m=C[q+20>>2];break a}if(C[b+116>>2]<0){break n}C[b+4>>2]=C[b+4>>2]-1}g=b;u=n;f=d;b=0;n=0;e=Ce-8976|0;Ce=e;H=0-E|0;K=H-G|0;F:{G:{while(1){if((c|0)!=48){H:{if((c|0)!=46){break F}c=C[g+4>>2];if((c|0)==C[g+104>>2]){break H}C[g+4>>2]=c+1;c=D[c|0];break G}}else{b=C[g+4>>2];if((b|0)!=C[g+104>>2]){C[g+4>>2]=b+1;c=D[b|0]}else{c=Jf(g)}b=1;continue}break}c=Jf(g)}o=1;if((c|0)!=48){break F}while(1){b=k;k=b-1|0;i=i-!b|0;b=C[g+4>>2];I:{if((b|0)!=C[g+104>>2]){C[g+4>>2]=b+1;c=D[b|0];break I}c=Jf(g)}if((c|0)==48){continue}break}b=1}C[e+784>>2]=0;J:{K:{d=(c|0)==46;l=c-48|0;L:{M:{N:{if(d|l>>>0<=9){while(1){O:{if(d&1){if(!o){k=h;i=m;o=1;break O}d=!b;break N}h=h+1|0;m=h?m:m+1|0;if((n|0)<=2044){B=(c|0)==48?B:h;b=(e+784|0)+(n<<2)|0;if(r){l=(I(C[b>>2],10)+c|0)-48|0}C[b>>2]=l;b=1;d=r+1|0;c=(d|0)==9;r=c?0:d;n=c+n|0;break O}if((c|0)==48){break O}C[e+8960>>2]=C[e+8960>>2]|1;B=18396}c=C[g+4>>2];P:{if((c|0)!=C[g+104>>2]){C[g+4>>2]=c+1;c=D[c|0];break P}c=Jf(g)}d=(c|0)==46;l=c-48|0;if(d|l>>>0<10){continue}break}}k=o?k:h;i=o?i:m;if(!(!b|(c&-33)!=69)){l=Eu(g,f);b=Ee;p=b;Q:{if(l|(b|0)!=-2147483648){break Q}if(!f){break L}l=0;p=0;if(C[g+116>>2]<0){break Q}C[g+4>>2]=C[g+4>>2]-1}i=i+p|0;k=k+l|0;i=k>>>0>>0?i+1|0:i;break K}d=!b;if((c|0)<0){break M}}if(C[g+116>>2]<0){break M}C[g+4>>2]=C[g+4>>2]-1}if(!d){break K}C[105782]=28}h=0;m=0;Fh(g,0,0);c=0;b=0;break J}b=C[e+784>>2];if(!b){Sh(e,+(u|0)*0);h=C[e>>2];m=C[e+4>>2];c=C[e+12>>2];b=C[e+8>>2];break J}if(!(h>>>0>9&(m|0)>=0|(m|0)>0|((h|0)!=(k|0)|(i|0)!=(m|0))|(b>>>G|0?(G|0)<=30:0))){hh(e+48|0,u);Tj(e+32|0,b);Uf(e+16|0,C[e+48>>2],C[e+52>>2],C[e+56>>2],C[e+60>>2],C[e+32>>2],C[e+36>>2],C[e+40>>2],C[e+44>>2]);h=C[e+16>>2];m=C[e+20>>2];c=C[e+28>>2];b=C[e+24>>2];break J}if(k>>>0>H>>>1>>>0&(i|0)>=0|(i|0)>0){C[105782]=68;hh(e+96|0,u);Uf(e+80|0,C[e+96>>2],C[e+100>>2],C[e+104>>2],C[e+108>>2],-1,-1,-1,2147418111);Uf(e- -64|0,C[e+80>>2],C[e+84>>2],C[e+88>>2],C[e+92>>2],-1,-1,-1,2147418111);h=C[e+64>>2];m=C[e+68>>2];c=C[e+76>>2];b=C[e+72>>2];break J}b=E-226|0;c=k>>>0>>0;b=b>>31;if(c&(i|0)<=(b|0)|(b|0)>(i|0)){C[105782]=68;hh(e+144|0,u);Uf(e+128|0,C[e+144>>2],C[e+148>>2],C[e+152>>2],C[e+156>>2],0,0,0,65536);Uf(e+112|0,C[e+128>>2],C[e+132>>2],C[e+136>>2],C[e+140>>2],0,0,0,65536);h=C[e+112>>2];m=C[e+116>>2];c=C[e+124>>2];b=C[e+120>>2];break J}if(r){if((r|0)<=8){b=(e+784|0)+(n<<2)|0;g=C[b>>2];while(1){g=I(g,10);r=r+1|0;if((r|0)!=9){continue}break}C[b>>2]=g}n=n+1|0}R:{o=k;if((B|0)>(k|0)|(B|0)>=9|(k|0)>17){break R}if((o|0)==9){hh(e+192|0,u);Tj(e+176|0,C[e+784>>2]);Uf(e+160|0,C[e+192>>2],C[e+196>>2],C[e+200>>2],C[e+204>>2],C[e+176>>2],C[e+180>>2],C[e+184>>2],C[e+188>>2]);h=C[e+160>>2];m=C[e+164>>2];c=C[e+172>>2];b=C[e+168>>2];break J}if((o|0)<=8){hh(e+272|0,u);Tj(e+256|0,C[e+784>>2]);Uf(e+240|0,C[e+272>>2],C[e+276>>2],C[e+280>>2],C[e+284>>2],C[e+256>>2],C[e+260>>2],C[e+264>>2],C[e+268>>2]);hh(e+224|0,C[(0-o<<2)+376080>>2]);su(e+208|0,C[e+240>>2],C[e+244>>2],C[e+248>>2],C[e+252>>2],C[e+224>>2],C[e+228>>2],C[e+232>>2],C[e+236>>2]);h=C[e+208>>2];m=C[e+212>>2];c=C[e+220>>2];b=C[e+216>>2];break J}b=(I(o,-3)+G|0)+27|0;c=C[e+784>>2];if(c>>>b|0?(b|0)<=30:0){break R}hh(e+352|0,u);Tj(e+336|0,c);Uf(e+320|0,C[e+352>>2],C[e+356>>2],C[e+360>>2],C[e+364>>2],C[e+336>>2],C[e+340>>2],C[e+344>>2],C[e+348>>2]);hh(e+304|0,C[(o<<2)+376008>>2]);Uf(e+288|0,C[e+320>>2],C[e+324>>2],C[e+328>>2],C[e+332>>2],C[e+304>>2],C[e+308>>2],C[e+312>>2],C[e+316>>2]);h=C[e+288>>2];m=C[e+292>>2];c=C[e+300>>2];b=C[e+296>>2];break J}while(1){c=n;n=c-1|0;if(!C[(e+784|0)+(n<<2)>>2]){continue}break}r=0;b=(o|0)%9|0;S:{if(!b){d=0;break S}d=0;b=(o|0)<0?b+9|0:b;T:{if(!c){c=0;break T}k=C[(0-b<<2)+376080>>2];i=1e9/(k|0)|0;l=0;g=0;while(1){h=l;l=(e+784|0)+(g<<2)|0;m=C[l>>2];n=(m>>>0)/(k>>>0)|0;h=h+n|0;C[l>>2]=h;h=!h&(d|0)==(g|0);d=h?d+1&2047:d;o=h?o-9|0:o;l=I(i,m-I(k,n)|0);g=g+1|0;if((g|0)!=(c|0)){continue}break}if(!l){break T}C[(e+784|0)+(c<<2)>>2]=l;c=c+1|0}o=(o-b|0)+9|0}while(1){g=(e+784|0)+(d<<2)|0;U:{while(1){if(((o|0)!=36|F[g>>2]>=10384593)&(o|0)>=36){break U}n=c+2047|0;l=0;b=c;while(1){c=b;h=n&2047;n=(e+784|0)+(h<<2)|0;b=C[n>>2];m=b>>>3|0;k=l;l=b<<29;k=k+l|0;b=m;i=k>>>0>>0?b+1|0:b;if(!i&k>>>0<1000000001){l=0}else{b=k;l=oT(b,i,1e9,0);k=b-mT(l,Ee,1e9,0)|0}C[n>>2]=k;b=(h|0)!=(c-1&2047)?c:(d|0)==(h|0)?c:k?c:h;n=h-1|0;if((d|0)!=(h|0)){continue}break}r=r-29|0;if(!l){continue}break}d=d-1&2047;if((d|0)==(b|0)){k=e+784|0;c=k+((b+2046&2047)<<2)|0;g=c;i=C[c>>2];c=b-1&2047;C[g>>2]=i|C[k+(c<<2)>>2]}o=o+9|0;C[(e+784|0)+(d<<2)>>2]=l;continue}break}V:{W:while(1){k=c+1&2047;l=(e+784|0)+((c-1&2047)<<2)|0;while(1){h=(o|0)>45?9:1;X:{while(1){b=d;g=0;Y:{while(1){Z:{d=b+g&2047;if((d|0)==(c|0)){break Z}d=C[(e+784|0)+(d<<2)>>2];i=C[(g<<2)+376032>>2];if(d>>>0>>0){break Z}if(d>>>0>i>>>0){break Y}g=g+1|0;if((g|0)!=4){continue}}break}if((o|0)!=36){break Y}k=0;i=0;g=0;h=0;m=0;while(1){d=b+g&2047;if((d|0)==(c|0)){c=c+1&2047;C[(e+(c<<2)|0)+780>>2]=0}Tj(e+768|0,C[(e+784|0)+(d<<2)>>2]);Uf(e+752|0,k,i,h,m,0,0,1342177280,1075633366);ah(e+736|0,C[e+752>>2],C[e+756>>2],C[e+760>>2],C[e+764>>2],C[e+768>>2],C[e+772>>2],C[e+776>>2],C[e+780>>2]);h=C[e+744>>2];m=C[e+748>>2];k=C[e+736>>2];i=C[e+740>>2];g=g+1|0;if((g|0)!=4){continue}break}hh(e+720|0,u);Uf(e+704|0,k,i,h,m,C[e+720>>2],C[e+724>>2],C[e+728>>2],C[e+732>>2]);h=C[e+712>>2];m=C[e+716>>2];k=0;i=0;l=C[e+704>>2];p=C[e+708>>2];f=r+113|0;g=f-E|0;n=(g|0)<(G|0);d=n?(g|0)>0?g:0:G;if((d|0)<=112){break X}break V}r=h+r|0;d=c;if((b|0)==(c|0)){continue}break}m=1e9>>>h|0;n=-1<>2];i=i+(f>>>h|0)|0;C[g>>2]=i;i=!i&(b|0)==(d|0);d=i?d+1&2047:d;o=i?o-9|0:o;g=I(m,f&n);b=b+1&2047;if((c|0)!=(b|0)){continue}break}if(!g){continue}if((d|0)!=(k|0)){C[(e+784|0)+(c<<2)>>2]=g;c=k;continue W}C[l>>2]=C[l>>2]|1;continue}break}break}Sh(e+656|0,Ki(1,225-d|0));Iu(e+688|0,C[e+656>>2],C[e+660>>2],C[e+664>>2],C[e+668>>2],l,p,h,m);y=C[e+696>>2];z=C[e+700>>2];v=C[e+688>>2];x=C[e+692>>2];Sh(e+640|0,Ki(1,113-d|0));Gu(e+672|0,l,p,h,m,C[e+640>>2],C[e+644>>2],C[e+648>>2],C[e+652>>2]);k=C[e+672>>2];i=C[e+676>>2];s=C[e+680>>2];t=C[e+684>>2];ro(e+624|0,l,p,h,m,k,i,s,t);ah(e+608|0,v,x,y,z,C[e+624>>2],C[e+628>>2],C[e+632>>2],C[e+636>>2]);h=C[e+616>>2];m=C[e+620>>2];l=C[e+608>>2];p=C[e+612>>2]}o=b+4&2047;_:{if((o|0)==(c|0)){break _}o=C[(e+784|0)+(o<<2)>>2];$:{if(o>>>0<=499999999){if(!o&(b+5&2047)==(c|0)){break $}Sh(e+496|0,+(u|0)*.25);ah(e+480|0,k,i,s,t,C[e+496>>2],C[e+500>>2],C[e+504>>2],C[e+508>>2]);s=C[e+488>>2];t=C[e+492>>2];k=C[e+480>>2];i=C[e+484>>2];break $}if((o|0)!=5e8){Sh(e+592|0,+(u|0)*.75);ah(e+576|0,k,i,s,t,C[e+592>>2],C[e+596>>2],C[e+600>>2],C[e+604>>2]);s=C[e+584>>2];t=C[e+588>>2];k=C[e+576>>2];i=C[e+580>>2];break $}M=+(u|0);if((b+5&2047)==(c|0)){Sh(e+528|0,M*.5);ah(e+512|0,k,i,s,t,C[e+528>>2],C[e+532>>2],C[e+536>>2],C[e+540>>2]);s=C[e+520>>2];t=C[e+524>>2];k=C[e+512>>2];i=C[e+516>>2];break $}Sh(e+560|0,M*.75);ah(e+544|0,k,i,s,t,C[e+560>>2],C[e+564>>2],C[e+568>>2],C[e+572>>2]);s=C[e+552>>2];t=C[e+556>>2];k=C[e+544>>2];i=C[e+548>>2]}if((d|0)>111){break _}Gu(e+464|0,k,i,s,t,0,0,0,1073676288);if(fj(C[e+464>>2],C[e+468>>2],C[e+472>>2],C[e+476>>2],0,0,0,0)){break _}ah(e+448|0,k,i,s,t,0,0,0,1073676288);s=C[e+456>>2];t=C[e+460>>2];k=C[e+448>>2];i=C[e+452>>2]}ah(e+432|0,l,p,h,m,k,i,s,t);ro(e+416|0,C[e+432>>2],C[e+436>>2],C[e+440>>2],C[e+444>>2],v,x,y,z);h=C[e+424>>2];m=C[e+428>>2];l=C[e+416>>2];p=C[e+420>>2];aa:{if((K-2|0)>=(f&2147483647)){break aa}C[e+408>>2]=h;C[e+412>>2]=m&2147483647;C[e+400>>2]=l;C[e+404>>2]=p;Uf(e+384|0,l,p,h,m,0,0,0,1073610752);b=tu(C[e+400>>2],C[e+404>>2],C[e+408>>2],C[e+412>>2],1081081856);b=(b|0)>=0;h=b?C[e+392>>2]:h;m=b?C[e+396>>2]:m;l=b?C[e+384>>2]:l;p=b?C[e+388>>2]:p;r=b+r|0;if(!((fj(k,i,s,t,0,0,0,0)|0)!=0&(b?n&(d|0)!=(g|0):n))&(r+110|0)<=(K|0)){break aa}C[105782]=68}Hu(e+368|0,l,p,h,m,r);h=C[e+368>>2];m=C[e+372>>2];c=C[e+380>>2];b=C[e+376>>2]}C[q+40>>2]=b;C[q+44>>2]=c;C[q+32>>2]=h;C[q+36>>2]=m;Ce=e+8976|0;k=C[q+40>>2];i=C[q+44>>2];h=C[q+32>>2];m=C[q+36>>2];break a;case 3:break j;default:break m}}c=C[b+116>>2];if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}break i}ba:{c=C[b+4>>2];ca:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break ca}c=Jf(b)}if((c|0)==40){g=1;break ba}i=2147450880;if(C[b+116>>2]<0){break a}C[b+4>>2]=C[b+4>>2]-1;break a}while(1){da:{c=C[b+4>>2];ea:{if((c|0)!=C[b+104>>2]){C[b+4>>2]=c+1;c=D[c|0];break ea}c=Jf(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break da}}g=g+1|0;continue}break}i=2147450880;if((c|0)==41){break a}c=C[b+116>>2];if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}fa:{if(d){if(g){break fa}break a}break i}while(1){g=g-1|0;if((c|0)>0|(c|0)>=0){C[b+4>>2]=C[b+4>>2]-1}if(g){continue}break}break a}C[105782]=28;Fh(b,0,0)}i=0}C[a>>2]=h;C[a+4>>2]=m;C[a+8>>2]=k;C[a+12>>2]=i;Ce=q+48|0}function cp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=Ce-16|0;Ce=s;f=Ce-128|0;Ce=f;C[a+88>>2]=0;C[a+92>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0;C[a+96>>2]=0;C[a+100>>2]=0;C[a+112>>2]=-1;C[a+116>>2]=-1;C[a+120>>2]=-1;C[a+124>>2]=-1;C[a+128>>2]=-1;C[a+132>>2]=-1;C[a+136>>2]=-1;C[a+140>>2]=-1;C[a+144>>2]=-1;C[a+148>>2]=-1;C[a+152>>2]=-1;C[a+168>>2]=0;C[a+172>>2]=0;C[a+160>>2]=0;C[a+164>>2]=8720;C[a+176>>2]=0;C[a+180>>2]=0;C[a+184>>2]=0;C[a+188>>2]=0;o=a+192|0;d=o;C[d>>2]=0;C[d+4>>2]=0;C[a+200>>2]=0;C[a+204>>2]=0;C[a+208>>2]=0;C[a+212>>2]=0;if(!D[a+44|0]){d=Qf(b);A[a+44|0]=1;C[a+40>>2]=d}i=a+4|0;b=Of(b,1128678944);a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}A[i+24|0]=0;C[i+32>>2]=b;e=C[b+12>>2];C[i+4>>2]=e;g=C[b+16>>2];C[i+8>>2]=g+e;C[i+28>>2]=0;if(g>>>0>67108862){d=1073741823}else{d=g<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[i+12>>2]=d;C[i+20>>2]=0;C[i>>2]=0;b:{if(!e){Ue(b);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;break b}c:{if((g|0)>=4){C[i+12>>2]=d-4;d=D[e|0];Ue(b);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;if((d|0)!=1){break c}if(C[b+4>>2]){C[b+4>>2]=0}break b}Ue(b);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0}Ue(b);b=84608}C[a>>2]=b;d:{if(!b){break d}d=C[b>>2];if(!d){break d}C[b>>2]=d+1}A[a+28|0]=0;C[a+36>>2]=b;d=C[b+12>>2];C[a+8>>2]=d;b=C[b+16>>2];C[a+12>>2]=b+d;C[a+4>>2]=0;C[a+32>>2]=0;if(b>>>0>67108862){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}C[a+16>>2]=b;C[a+24>>2]=0;e:{f:{b=C[a>>2];if(F[b+16>>2]>=4){p=C[b+12>>2];if((p|0)!=84608){break f}}mg(a);break e}b=D[p+2|0]+p|0;C[a+56>>2]=b;g:{if((b|0)!=84608){if(Ji(b,i)){break g}}mg(a);break e}e=C[a+56>>2];b=0;h:{if((e|0)==84608){break h}d=D[e|0]|D[e+1|0]<<8;b=2;if(!d){break h}b=(d<<8|d>>>8)&65535;d=D[e+2|0];k=I(b+1|0,d);i:{if(!d){break i}g=d&3;b=(e+I(b,d)|0)+3|0;if(d>>>0<4){c=0}else{j=d&252;while(1){d=b;b=b+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}c=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(!g){break i}while(1){c=D[b|0]|c<<8;b=b+1|0;q=q+1|0;if((g|0)!=(q|0)){continue}break}}b=(c+k|0)+2|0}b=b+e|0;C[a+60>>2]=b;j:{k:{if((b|0)==84608){break k}if(!Ji(b,i)){break k}b=C[a+60>>2];if(D[b|0]|D[b+1|0]<<8){break j}}mg(a);break e}uu(f,b,0);l:{m:{n:{b=C[f+4>>2];switch(b+1|0){case 1:break l;case 0:break m;default:break n}}c=C[f>>2];if(c>>>0>2]){break m}d=C[a+12>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break m}b=C[a+16>>2]-b|0;C[a+16>>2]=b;if((b|0)>0){break l}}mg(a);break e}b=a+88|0;C[f+80>>2]=C[f+8>>2];C[f+88>>2]=0;C[f+92>>2]=0;C[f+116>>2]=0;C[f+120>>2]=0;c=C[f+4>>2];C[f+72>>2]=C[f>>2];C[f+76>>2]=c;C[f+84>>2]=0;A[f+92|0]=0;c=kf(4744);C[f+104>>2]=0;C[f+108>>2]=0;C[f+96>>2]=0;C[f+100>>2]=0;o:{if(!c){C[f+100>>2]=-1;break o}C[f+108>>2]=c;C[f+100>>2]=593;C[f+104>>2]=513;We(c,0,4104)}A[f+112|0]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[a+152>>2]=-1;C[a+144>>2]=-1;C[a+148>>2]=-1;C[a+136>>2]=-1;C[a+140>>2]=-1;C[a+128>>2]=-1;C[a+132>>2]=-1;C[a+120>>2]=-1;C[a+124>>2]=-1;C[a+112>>2]=-1;C[a+116>>2]=-1;C[a+160>>2]=0;C[a+164>>2]=8720;C[a+184>>2]=0;C[a+188>>2]=0;C[a+176>>2]=0;C[a+180>>2]=0;C[a+168>>2]=0;C[a+172>>2]=0;k=b;C[b>>2]=0;C[b+4>>2]=0;C[b+24>>2]=-1;C[b+28>>2]=-1;C[b+80>>2]=0;C[b+84>>2]=0;C[b+72>>2]=0;C[b+76>>2]=8720;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+32>>2]=-1;C[b+36>>2]=-1;C[b+40>>2]=-1;C[b+44>>2]=-1;C[b+48>>2]=-1;C[b+52>>2]=-1;C[b+56>>2]=-1;C[b+60>>2]=-1;C[b- -64>>2]=-1;C[b+88>>2]=0;C[b+92>>2]=0;C[b+96>>2]=0;C[b+100>>2]=0;g=D[84608];d=g|256;h=f+72|0;b=D[h+16|0];p:{if((g|0)!=12){c=C[h+12>>2];j=c+1|0;m=C[h+4>>2];e=(b|0)!=0|j>>>0>m>>>0;if(e){break p}b=g;q:{r:{s:{if(c>>>0>=m>>>0){break s}r=C[h>>2];b=D[r+c|0];if((b|0)==12){b=d;if(j>>>0>=m>>>0){break s}c=j;b=D[r+c|0]|256}if(c>>>0>>0){break r}}A[h+16|0]=1;C[h+12>>2]=m;break q}C[h+12>>2]=c+1}gm(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])|C[h+28>>2]<0){break p}while(1){c=C[h+12>>2];j=c+1|0;m=C[h+4>>2];e=j>>>0>m>>>0;if(e){break p}b=g;t:{u:{if(c>>>0>=m>>>0){break u}r=C[h>>2];b=D[r+c|0];if((b|0)==12){b=d;if(j>>>0>=m>>>0){break u}c=j;b=D[r+c|0]|256}if(c>>>0>=m>>>0){break u}C[h+12>>2]=c+1;break t}A[h+16|0]=1;C[h+12>>2]=m}gm(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])){break p}if(C[h+28>>2]>=0){continue}break}break p}c=C[h+12>>2];g=c+1|0;j=C[h+4>>2];e=(b|0)!=0|g>>>0>j>>>0;if(e){break p}v:{if(c>>>0>=j>>>0){A[h+16|0]=1;b=65535;break v}w:{m=C[h>>2];b=D[m+c|0];x:{if((b|0)==12){b=d;if(g>>>0>=j>>>0){break x}c=g;b=D[m+c|0]|256}if(c>>>0>>0){break w}}A[h+16|0]=1;C[h+12>>2]=j;break v}C[h+12>>2]=c+1}gm(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])|C[h+28>>2]<0){break p}while(1){c=C[h+12>>2];g=c+1|0;j=C[h+4>>2];e=g>>>0>j>>>0;if(e){break p}y:{if(c>>>0>=j>>>0){A[h+16|0]=1;b=65535;break y}z:{m=C[h>>2];b=D[m+c|0];A:{if((b|0)==12){b=d;if(g>>>0>=j>>>0){break A}c=g;b=D[m+c|0]|256}if(c>>>0>>0){break z}}A[h+16|0]=1;C[h+12>>2]=j;break y}C[h+12>>2]=c+1}gm(b,h,k);if(D[h+20|0]|(D[h+40|0]|D[h+16|0])){break p}if(C[h+28>>2]>=0){continue}break}}if(!e){mg(a);Re(C[f+108>>2]);break e}Re(C[f+108>>2]);B:{b=C[a+172>>2];if(b>>>0<=2){C[a+52>>2]=84608;break B}e=b+p|0;C[a+52>>2]=e;if((e|0)!=84608){d=0;j=C[i+4>>2];C:{if(j>>>0>e>>>0){break C}g=C[i+8>>2];if(g>>>0<=e>>>0){break C}c=C[i+12>>2];b=c-1|0;C[i+12>>2]=b;if((b|0)<=0){break C}D:{E:{switch(D[e|0]){case 0:b=(e+(C[i+36>>2]<<1)|0)-1|0;if(b>>>0>>0|b>>>0>g>>>0|g-b>>>0<2){break C}b=c-3|0;C[i+12>>2]=b;d=(b|0)>0;break C;case 1:d=1;c=C[i+36>>2]-1|0;if(!c){break C}h=e+1|0;e=0;while(1){k=h+I(e,3)|0;if(k>>>0>>0|g>>>0>>0|g-k>>>0<3){break D}b=b-3|0;C[i+12>>2]=b;if((b|0)<=0){break D}k=D[k+2|0];if(k>>>0>=c>>>0){break D}e=e+1|0;c=(k^-1)+c|0;if(c){continue}break};break C;case 2:break E;default:break C}}d=1;c=C[i+36>>2]-1|0;if(!c){break C}h=e+1|0;e=0;while(1){k=h+(e<<2)|0;if(k>>>0>>0|g>>>0>>0|g-k>>>0<4){break D}b=b-4|0;C[i+12>>2]=b;if((b|0)<=0){break D}k=D[k+2|0]|D[k+3|0]<<8;k=(k<<8|k>>>8)&65535;if(k>>>0>=c>>>0){break D}e=e+1|0;c=(k^-1)+c|0;if(c){continue}break}break C}d=0}if(d){break B}}mg(a);break e}C[a+84>>2]=1;F:{G:{if(C[a+148>>2]!=-1){b=C[a+108>>2];b=b?b+p|0:84608;C[a+76>>2]=b;c=C[a+176>>2];C[a+80>>2]=c?c+p|0:84608;H:{I:{if((b|0)==84608){break I}if(!Ji(b,i)){break I}c=C[a+80>>2];if((c|0)==84608){break I}b=C[a+76>>2];b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;e=0;g=C[i+4>>2];J:{K:{if(g>>>0>c>>>0){break K}k=C[i+8>>2];if(k>>>0<=c>>>0){break K}m=C[i+12>>2];j=m-1|0;C[i+12>>2]=j;if((j|0)<=0){break K}L:{M:{N:{O:{switch(D[c|0]){case 0:d=C[i+36>>2];b=1;if(!d){break J}h=c+1|0;if(h>>>0>>0|h>>>0>=k>>>0){break K}c=m-2|0;if((c|0)>0){j=j-d|0;b=c;while(1){e=e+1|0;if((d|0)==(e|0)){break N}m=e+h|0;if(m>>>0>>0|k>>>0<=m>>>0){break M}b=b-1|0;if((b|0)>0){continue}break}e=d>>>0<=e>>>0}C[i+12>>2]=c&c>>31;b=e;break J;case 3:break O;default:break K}}b=ou(c+1|0,i,b);break J}C[i+12>>2]=j;break L}C[i+12>>2]=b}e=d>>>0<=e>>>0}b=e}if(b){break H}}mg(a);break e}b=C[a+76>>2];b=D[b|0]|D[b+1|0]<<8;C[a+48>>2]=84608;C[a+84>>2]=(b<<8|b>>>8)&65535;b=a+48|0;if(C[a+148>>2]==-1){break G}if(C[a+52>>2]!=84608){break F}mg(a);break e}C[a+80>>2]=84608;C[a+76>>2]=84608;C[a+48>>2]=84608;b=a+48|0}c=C[a+168>>2];if(c>>>0<2){break F}c=c+p|0;C[b>>2]=c;if((c|0)!=84608){P:{Q:{k=C[i+4>>2];if(k>>>0>c>>>0){break Q}d=C[i+8>>2];if(d>>>0<=c>>>0){break Q}e=C[i+12>>2];b=e-1|0;C[i+12>>2]=b;if((b|0)<=0){break Q}b=0;R:{S:{T:{U:{V:{j=D[c|0];h=j&127;switch(h|0){case 1:break U;case 0:break V;default:break R}}if(d>>>0<=c+1>>>0){break Q}e=e-2|0;C[i+12>>2]=e;if(!e){break Q}g=D[c+1|0];if(!g){break S}if(g>>>0<=d+(c+1^-1)>>>0){break T}break Q}if(d>>>0<=c+1>>>0){break Q}e=e-2|0;C[i+12>>2]=e;if(!e){break Q}b=D[c+1|0];if(!b){break S}b=b<<1;if(b>>>0>d+(c+1^-1)>>>0){break Q}e=e-b|0;C[i+12>>2]=e;if((e|0)>0){break S}break Q}e=e-g|0;C[i+12>>2]=e;if((e|0)<=0){break R}}b=1;if(j<<24>>24>=0){break R}b=84608;W:{X:{switch(h|0){case 0:b=D[c+1|0];b=(b?b+(c+1|0)|0:84608)+1|0;break W;case 1:break X;default:break W}}b=D[c+1|0];b=(b?c+(b<<1)|0:84608)+2|0}if(b>>>0>>0|b>>>0>=d>>>0){break Q}c=e-1|0;C[i+12>>2]=c;if(!c){break Q}e=D[b|0];if(e){d=d+(b^-1)|0;b=I(e,3);if(d>>>0>>0){break Q}c=c-b|0;C[i+12>>2]=c;b=0;if((c|0)<=0){break R}}b=1}break P}b=0}if(b){break F}}mg(a);break e}b=C[a+60>>2];b=ru(b)+b|0;C[a+64>>2]=b;Y:{if((b|0)!=84608){if(Ji(b,i)){break Y}}mg(a);break e}b=C[a+64>>2];b=ru(b)+b|0;C[a+68>>2]=b;Z:{if((b|0)==84608){break Z}if(Ji(b,i)){break Z}mg(a);break e}b=C[a+104>>2];b=b?b+p|0:84608;C[a+72>>2]=b;_:{if((b|0)!=84608){if(Ji(b,i)){break _}}mg(a);break e}b=C[a+72>>2];b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[a+216>>2]=b;if((b|0)!=C[a+40>>2]){mg(a);break e}$:{aa:{b=C[a+84>>2];c=C[a+204>>2];ba:{if((c|0)>=0){b=(b|0)>0?b:0;if(b>>>0>c>>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}ca:{if(c>>>0<=178956969){d=lf(C[a+212>>2],I(c,24));if(d){break ca}}C[a+204>>2]=-1;b=0;break ba}C[a+204>>2]=c;C[a+212>>2]=d}c=C[a+208>>2];if(c>>>0>>0){We(C[a+212>>2]+I(c,24)|0,0,I(b-c|0,24))}C[a+208>>2]=b;b=1}else{b=0}}if(b){if(!C[a+84>>2]){break aa}c=0;while(1){da:{if(F[a+208>>2]<=c>>>0){b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break da}b=C[a+212>>2]+I(c,24)|0}C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=84608;C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;c=c+1|0;b=C[a+84>>2];if(c>>>0>>0){continue}break}if(C[a+148>>2]==-1){break $}if(!b){break e}q=0;while(1){b=f+60|0;uu(b,C[a+76>>2],q);if(!po(b,i)){mg(a);break e}A[f+88|0]=0;C[f+80>>2]=0;C[f+84>>2]=0;C[f+72>>2]=0;C[f+76>>2]=0;C[f+108>>2]=0;C[f+100>>2]=0;C[f+104>>2]=0;no(f+72|0,f+60|0);ea:{fa:{ga:{d=C[o>>2];if((d|0)>=0){c=C[o+4>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break fa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=134217726){c=lf(C[o+8>>2],d<<5);if(c){break ga}}C[o>>2]=-1}b=C[21159];C[104434]=C[21158];C[104435]=b;b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;g=417712;break ea}C[o>>2]=d;C[o+8>>2]=c;c=C[o+4>>2]}if(b>>>0>c>>>0){We(C[o+8>>2]+(c<<5)|0,0,b-c<<5)}C[o+4>>2]=b;g=(C[o+8>>2]+(b<<5)|0)-32|0}b=C[21159];C[104434]=C[21158];C[104435]=b;c=C[21157];v=c;h=C[21156];C[104432]=h;C[104433]=c;c=C[21155];w=c;m=C[21154];C[104430]=m;C[104431]=c;c=C[21153];x=c;r=C[21152];C[104428]=r;C[104429]=c;ha:{ia:{if((g|0)==417712){break ia}C[g>>2]=0;C[g+4>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g+24>>2]=0;C[g+28>>2]=-1;C[g>>2]=0;C[g+4>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g+24>>2]=0;C[g+28>>2]=-1;k=D[84608];d=k|256;l=f+72|0;b=D[l+16|0];ja:{if((k|0)!=12){c=C[l+12>>2];j=c+1|0;n=C[l+4>>2];e=(b|0)!=0|j>>>0>n>>>0;if(e){break ja}b=k;ka:{la:{ma:{if(c>>>0>=n>>>0){break ma}t=C[l>>2];b=D[t+c|0];if((b|0)==12){b=d;if(j>>>0>=n>>>0){break ma}c=j;b=D[t+c|0]|256}if(c>>>0>>0){break la}}A[l+16|0]=1;C[l+12>>2]=n;break ka}C[l+12>>2]=c+1}fm(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])|C[l+28>>2]<0){break ja}while(1){c=C[l+12>>2];j=c+1|0;n=C[l+4>>2];e=j>>>0>n>>>0;if(e){break ja}b=k;na:{oa:{if(c>>>0>=n>>>0){break oa}t=C[l>>2];b=D[t+c|0];if((b|0)==12){b=d;if(j>>>0>=n>>>0){break oa}c=j;b=D[t+c|0]|256}if(c>>>0>=n>>>0){break oa}C[l+12>>2]=c+1;break na}A[l+16|0]=1;C[l+12>>2]=n}fm(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])){break ja}if(C[l+28>>2]>=0){continue}break}break ja}c=C[l+12>>2];k=c+1|0;j=C[l+4>>2];e=(b|0)!=0|k>>>0>j>>>0;if(e){break ja}pa:{if(c>>>0>=j>>>0){A[l+16|0]=1;b=65535;break pa}qa:{n=C[l>>2];b=D[n+c|0];ra:{if((b|0)==12){b=d;if(j>>>0<=k>>>0){break ra}c=k;b=D[n+c|0]|256}if(c>>>0>>0){break qa}}A[l+16|0]=1;C[l+12>>2]=j;break pa}C[l+12>>2]=c+1}fm(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])|C[l+28>>2]<0){break ja}while(1){c=C[l+12>>2];k=c+1|0;j=C[l+4>>2];e=k>>>0>j>>>0;if(e){break ja}sa:{if(c>>>0>=j>>>0){A[l+16|0]=1;b=65535;break sa}ta:{n=C[l>>2];b=D[n+c|0];ua:{if((b|0)==12){b=d;if(j>>>0<=k>>>0){break ua}c=k;b=D[n+c|0]|256}if(c>>>0>>0){break ta}}A[l+16|0]=1;C[l+12>>2]=j;break sa}C[l+12>>2]=c+1}fm(b,l,g);if(D[l+20|0]|(D[l+40|0]|D[l+16|0])){break ja}if(C[l+28>>2]>=0){continue}break}}if(!e){break ia}va:{if(F[a+208>>2]<=q>>>0){C[104432]=h;C[104433]=v;C[104430]=m;C[104431]=w;C[104428]=r;C[104429]=x;b=417712;break va}b=C[a+212>>2]+I(q,24)|0}c=C[g+20>>2];d=C[g+16>>2];C[f+56>>2]=0;C[f+52>>2]=c;C[f+48>>2]=d+p;if(!po(f+48|0,i)){break ia}A[f+16|0]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+36>>2]=0;C[f+28>>2]=0;C[f+32>>2]=0;no(f,f+48|0);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=84608;wa:{if(pu(f,b)){c=b;b=C[b+16>>2];b=b?b+C[f+48>>2]|0:84608;C[c+20>>2]=b;c=0;if((b|0)==84608){break wa}if(Ji(b,i)){break wa}}mg(a);c=1}Re(C[f+36>>2]);break ha}mg(a);c=1}Re(C[f+108>>2]);if(c){break e}q=q+1|0;if(q>>>0>2]){continue}break}break e}mg(a);break e}if(C[a+148>>2]!=-1){break e}}xa:{if(!C[a+208>>2]){b=C[21157];C[104432]=C[21156];C[104433]=b;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break xa}b=C[a+212>>2]}c=C[a+180>>2];d=C[a+184>>2];C[f+8>>2]=0;C[f+4>>2]=d;C[f>>2]=c+p;if(!po(f,i)){mg(a);break e}A[f+88|0]=0;C[f+80>>2]=0;C[f+84>>2]=0;C[f+108>>2]=0;C[f+100>>2]=0;C[f+104>>2]=0;C[f+72>>2]=0;C[f+76>>2]=0;c=f+72|0;no(c,f);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=84608;ya:{if(pu(c,b)){c=b;b=C[b+16>>2];b=b?b+C[f>>2]|0:84608;C[c+20>>2]=b;if((b|0)==84608){break ya}if(Ji(b,i)){break ya}}mg(a)}Re(C[f+108>>2])}Ce=f+128|0;za:{if(!C[a>>2]|C[a+148>>2]!=-1){break za}if(C[a+216>>2]){while(1){Aa:{Ba:{Ca:{g=Fv(a,u);Da:{if(g>>>0<=390){c=g<<2;b=C[c+40832>>2];k=C[c+40836>>2]+(b^-1)|0;c=b+37376|0;break Da}sm(s+4|0,C[a+64>>2],g-391|0);c=C[s+4>>2];if(!c){break Ca}k=C[s+8>>2]}b=C[a+220>>2];if((b|0)<0){b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;break Aa}e=C[a+224>>2];d=e+1|0;d=(d|0)>0?d:0;if(d>>>0>b>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0>268435454){break Ba}e=lf(C[a+228>>2],b<<4);if(!e){break Ba}C[a+220>>2]=b;C[a+228>>2]=e;e=C[a+224>>2]}if(d>>>0>e>>>0){We(C[a+228>>2]+(e<<4)|0,0,d-e<<4)}C[a+224>>2]=d;b=C[a+228>>2];e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;b=(b+(d<<4)|0)-16|0;if((b|0)==417712){break Aa}B[b+12>>1]=g;C[b+8>>2]=0;C[b+4>>2]=k;C[b>>2]=c;break Aa}Re(C[a+228>>2]);C[a+228>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;mg(a);break za}C[a+220>>2]=-1;b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b}u=u+1|0;if(u>>>0>2]){continue}break}}b=C[a+224>>2];if(!b){break za}zu(C[a+228>>2],b,16)}Ce=s+16|0}function Rz(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;l=C[a+4>>2];if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<1)|0;a=d-b|0;break c}c=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];r=C[(p<<2)+382144>>2];t=C[l+24>>2];b=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];while(1){f=E[c>>1];B[c>>1]=t|(((I(D[o+((f&v)>>>d|0)|0],n)>>>0)/255|0)+h>>>m<>>e|0)|0],n)>>>0)/255|0)+g>>>p<>>b|0)|0],n)>>>0)/255|0)+i>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<1)|0;a=(k|0)!=0;break d}j=(a+(d<<1)|0)+(!k<<1)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];b=D[l+33|0];u=C[l+16>>2];d=D[l+32|0];l=C[l+12>>2];while(1){e=E[j>>1];v=D[n+((e&u)>>>b|0)|0]+h|0;q=(v>>>0>=255?255:v)>>>m<>>d|0)|0]+g|0;e=D[k+((e&t)>>>a|0)|0]+i|0;B[j>>1]=r|(q|(v>>>0>=255?255:v)>>>o<>>0>=255?255:e)>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<1)|0;a=(k|0)!=0;break e}j=(a+(d<<1)|0)+(!k<<1)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];b=D[l+33|0];u=C[l+16>>2];d=D[l+32|0];l=C[l+12>>2];while(1){e=E[j>>1];B[j>>1]=r|((I(D[n+((e&u)>>>b|0)|0],h)>>>0)/255>>>m<>>d|0)|0],g)>>>0)/255>>>o<>>a|0)|0],i)>>>0)/255>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<1)|0;a=d-b|0;break f}c=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];r=C[(p<<2)+382144>>2];t=C[l+24>>2];b=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];while(1){f=E[c>>1];q=D[r+((f&l)>>>e|0)|0];q=((I(q,g)>>>0)/255|0)+((I(n,q)>>>0)/255|0)|0;s=t|(q>>>0>=255?255:q)>>>p<>>d|0)|0];q=((I(q,h)>>>0)/255|0)+((I(n,q)>>>0)/255|0)|0;f=D[k+((f&u)>>>b|0)|0];f=((I(f,i)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;B[c>>1]=s|(q>>>0>=255?255:q)>>>m<>>0>=255?255:f)>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<1)|0;g:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<1)|0;a=(k|0)!=0;break g}j=(a+(d<<1)|0)+(!k<<1)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>1]=a;j=j+2|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){B[j+14>>1]=a;B[j+12>>1]=a;B[j+10>>1]=a;B[j+8>>1]=a;B[j+6>>1]=a;B[j+4>>1]=a;B[j+2>>1]=a;B[j>>1]=a;j=j+16|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break i}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];r=C[(p<<2)+382144>>2];t=C[l+24>>2];c=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];q=f<<1;while(1){f=E[b>>1];B[b>>1]=t|(((I(D[o+((f&v)>>>d|0)|0],n)>>>0)/255|0)+h>>>m<>>e|0)|0],n)>>>0)/255|0)+g>>>p<>>c|0)|0],n)>>>0)/255|0)+i>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break j}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];q=D[n+((b&u)>>>d|0)|0]+h|0;s=(q>>>0>=255?255:q)>>>m<>>e|0)|0]+g|0;b=D[k+((b&t)>>>a|0)|0]+i|0;B[j>>1]=r|(s|(q>>>0>=255?255:q)>>>o<>>0>=255?255:b)>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break k}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];B[j>>1]=r|((I(D[n+((b&u)>>>d|0)|0],h)>>>0)/255>>>m<>>e|0)|0],g)>>>0)/255>>>o<>>a|0)|0],i)>>>0)/255>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break l}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];r=C[(p<<2)+382144>>2];t=C[l+24>>2];c=D[l+34|0];u=C[l+20>>2];d=D[l+33|0];v=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];q=f<<1;while(1){f=E[b>>1];s=D[r+((f&l)>>>e|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;w=t|(s>>>0>=255?255:s)>>>p<>>d|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;f=D[k+((f&u)>>>c|0)|0];f=((I(f,i)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;B[b>>1]=w|(s>>>0>=255?255:s)>>>m<>>0>=255?255:f)>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<1)|0)+(d<<1)|0;break m}j=c-e|0;b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0}a=0;c=((k|0)!=0)+j|0;if(!c){break a}d=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>1]=d;c=c-1|0;b=(f<<1)+b|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(e>>>0<7){break a}a=f<<1;while(1){B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;B[b>>1]=d;b=a+b|0;c=c-8|0;if(c){continue}break}break a}u=b-d|0;j=u>>31;m=c-e|0;p=m>>31;if(((j^u)-j|0)==((m^p)-p|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];r=C[(p<<2)+382144>>2];t=C[l+24>>2];d=D[l+34|0];u=C[l+20>>2];e=D[l+33|0];v=C[l+16>>2];f=D[l+32|0];l=C[l+12>>2];q=b<<1;while(1){b=E[a>>1];B[a>>1]=t|(((I(D[o+((b&v)>>>e|0)|0],n)>>>0)/255|0)+h>>>m<>>f|0)|0],n)>>>0)/255|0)+g>>>p<>>d|0)|0],n)>>>0)/255|0)+i>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];q=D[n+((b&u)>>>d|0)|0]+h|0;s=(q>>>0>=255?255:q)>>>m<>>e|0)|0]+g|0;b=D[k+((b&t)>>>a|0)|0]+i|0;B[j>>1]=r|(s|(q>>>0>=255?255:q)>>>o<>>0>=255?255:b)>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];r=C[l+24>>2];a=D[l+34|0];t=C[l+20>>2];d=D[l+33|0];u=C[l+16>>2];e=D[l+32|0];l=C[l+12>>2];v=b<<1;while(1){b=E[j>>1];B[j>>1]=r|((I(D[n+((b&u)>>>d|0)|0],h)>>>0)/255>>>m<>>e|0)|0],g)>>>0)/255>>>o<>>a|0)|0],i)>>>0)/255>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];r=C[(p<<2)+382144>>2];t=C[l+24>>2];d=D[l+34|0];u=C[l+20>>2];e=D[l+33|0];v=C[l+16>>2];f=D[l+32|0];l=C[l+12>>2];q=b<<1;while(1){b=E[a>>1];s=D[r+((b&l)>>>f|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;w=t|(s>>>0>=255?255:s)>>>p<>>e|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;b=D[k+((b&u)>>>d|0)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;B[a>>1]=w|(s>>>0>=255?255:s)>>>m<>>0>=255?255:b)>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<1)|0)+(b<<1)|0;break s}a=(a+(I(e,f)<<1)|0)+(d<<1)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<1)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>1]=d;b=b-1|0;a=(e<<1)+a|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<1;while(1){B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:m=d-b|0;f=m>>31;o=e-c|0;j=o>>31;m=(f^m)-f|0;j=(j^o)-j|0;u:{if(m>>>0>=j>>>0){p=j-m|0;t=1;r=j<<1;f=r-m|0;j=0;break u}p=m-j|0;r=m<<1;f=r-j|0;m=j;j=1}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-j|0:j;d=(b|0)>(d|0);t=d?0-t|0:t;u=e?-1:1;v=d?-1:1;p=p<<1;q=D[l+30|0];s=C[(q<<2)+382144>>2];w=D[l+29|0];x=C[(w<<2)+382144>>2];y=D[l+28|0];z=C[(y<<2)+382144>>2];F=C[l+24>>2];e=D[l+34|0];G=C[l+20>>2];j=D[l+33|0];H=C[l+16>>2];k=D[l+32|0];l=C[l+12>>2];J=C[a+16>>2];A=C[a+20>>2];a=0;while(1){K=(A+I(c,J)|0)+(b<<1)|0;d=E[K>>1];B[K>>1]=F|(((I(D[x+((d&H)>>>j|0)|0],n)>>>0)/255|0)+h>>>w<>>k|0)|0],n)>>>0)/255|0)+g>>>y<>>e|0)|0],n)>>>0)/255|0)+i>>>q<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;m=(j^n)-j|0;v:{if(f>>>0>=m>>>0){p=m-f|0;r=m<<1;j=r-f|0;m=1;break v}p=f-m|0;o=1;r=f<<1;j=r-m|0;f=m;m=0}n=((k|0)!=0)+f|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-o|0:o;d=(b|0)>(d|0);t=d?0-m|0:m;u=e?-1:1;v=d?-1:1;p=p<<1;q=D[l+30|0];s=C[(q<<2)+382144>>2];w=D[l+29|0];x=C[(w<<2)+382144>>2];y=D[l+28|0];z=C[(y<<2)+382144>>2];F=C[l+24>>2];d=D[l+34|0];G=C[l+20>>2];e=D[l+33|0];H=C[l+16>>2];f=D[l+32|0];l=C[l+12>>2];J=C[a+16>>2];A=C[a+20>>2];a=0;while(1){K=(A+I(c,J)|0)+(b<<1)|0;k=E[K>>1];m=D[x+((k&H)>>>e|0)|0]+h|0;L=(m>>>0>=255?255:m)>>>w<>>f|0)|0]+g|0;k=D[s+((k&G)>>>d|0)|0]+i|0;B[K>>1]=F|(L|(m>>>0>=255?255:m)>>>y<>>0>=255?255:k)>>>q<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;n=(j^n)-j|0;w:{if(f>>>0>=n>>>0){p=n-f|0;o=1;m=n<<1;j=m-f|0;n=0;break w}p=f-n|0;m=f<<1;j=m-n|0;f=n;n=1}r=((k|0)!=0)+f|0;if(!r){break a}e=(c|0)>(e|0);n=e?0-n|0:n;d=(b|0)>(d|0);o=d?0-o|0:o;t=e?-1:1;u=d?-1:1;p=p<<1;v=D[l+30|0];q=C[(v<<2)+382144>>2];s=D[l+29|0];w=C[(s<<2)+382144>>2];x=D[l+28|0];y=C[(x<<2)+382144>>2];z=C[l+24>>2];e=D[l+34|0];F=C[l+20>>2];f=D[l+33|0];G=C[l+16>>2];k=D[l+32|0];l=C[l+12>>2];H=C[a+16>>2];J=C[a+20>>2];a=0;while(1){A=(J+I(c,H)|0)+(b<<1)|0;d=E[A>>1];B[A>>1]=z|((I(D[w+((d&G)>>>f|0)|0],h)>>>0)/255>>>s<>>k|0)|0],g)>>>0)/255>>>x<>>e|0)|0],i)>>>0)/255>>>v<>31;o=e-c|0;j=o>>31;m=(f^m)-f|0;j=(j^o)-j|0;x:{if(m>>>0>=j>>>0){p=j-m|0;o=j<<1;f=o-m|0;j=1;break x}p=m-j|0;t=1;o=m<<1;f=o-j|0;m=j;j=0}r=((k|0)!=0)+m|0;if(!r){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);u=d?0-j|0:j;v=e?-1:1;q=d?-1:1;p=p<<1;s=D[l+30|0];w=C[(s<<2)+382144>>2];x=D[l+29|0];y=C[(x<<2)+382144>>2];z=D[l+28|0];F=C[(z<<2)+382144>>2];G=C[l+24>>2];d=D[l+34|0];H=C[l+20>>2];e=D[l+33|0];J=C[l+16>>2];j=D[l+32|0];l=C[l+12>>2];A=C[a+16>>2];K=C[a+20>>2];a=0;while(1){L=(K+I(c,A)|0)+(b<<1)|0;k=E[L>>1];m=D[F+((k&l)>>>j|0)|0];m=((I(m,g)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;M=G|(m>>>0>=255?255:m)>>>z<>>e|0)|0];m=((I(m,h)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;k=D[w+((k&H)>>>d|0)|0];k=((I(k,i)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;B[L>>1]=M|(m>>>0>=255?255:m)>>>x<>>0>=255?255:k)>>>s<>31;n=e-c|0;j=n>>31;m=(f^m)-f|0;n=(j^n)-j|0;y:{if(m>>>0>=n>>>0){p=n-m|0;o=1;f=n<<1;j=f-m|0;n=0;break y}p=m-n|0;f=m<<1;j=f-n|0;m=n;n=1}k=((k|0)!=0)+m|0;if(!k){break a}g=C[l+24>>2]|(h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2];a=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-n|0:n;m=(b|0)>(d|0);d=m?0-o|0:o;i=i?-1:1;m=m?-1:1;n=p<<1;l=k&-2;while(1){B[(a+I(c,h)|0)+(b<<1)>>1]=g;o=c;c=(j|0)<0;o=o+(c?e:i)|0;b=(c?d:m)+b|0;B[(a+I(o,h)|0)+(b<<1)>>1]=g;j=(c?f:n)+j|0;c=(j|0)<0;j=(c?f:n)+j|0;b=b+(c?d:m)|0;c=o+(c?e:i)|0;r=r+2|0;if((l|0)!=(r|0)){continue}break}}if(!(k&1)){break a}B[(a+I(c,h)|0)+(b<<1)>>1]=g}}function Ko(a){var 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,t=0,u=0,v=0;o=Ce-16|0;Ce=o;b=a;a=C[b+480>>2];a:{b:{c:{d:{c=C[b+796>>2];e:{if(c){if(a){f:{g:{if(!c|!a){break g}g=O(+(c|0)*+(a|0)/1e5+.5);if(!(g<=2147483647)|!(g>=-2147483648)){break f}if(K(g)<2147483648){e=~~g;break g}e=-2147483648}C[o+12>>2]=e;e=1}if(e){break d}B[b+870>>1]=E[b+870>>1]|1;break c}u=b,v=Ok(c),C[u+480>>2]=v;break e}if(a){u=b,v=Ok(a),C[u+796>>2]=v;break e}C[b+480>>2]=1e5;C[b+796>>2]=1e5}B[b+870>>1]=E[b+870>>1]|1;break b}a=C[o+12>>2]-105001>>>0<4294957295;B[b+870>>1]=E[b+870>>1]|1;if(!a){break b}}a=C[b+212>>2]|8192;break a}a=C[b+212>>2]&-8193}C[b+212>>2]=a;if((a&262272)==262144){B[b+416>>1]=0;C[b+212>>2]=a&-41943297;C[b+208>>2]=C[b+208>>2]&-8193}c=C[b+212>>2];if(C[b+480>>2]-105001>>>0>=4294957295){c=c&-8388609;C[b+212>>2]=c;C[b+208>>2]=C[b+208>>2]&-8193}if(c&6291456){c=0;h:{if(D[b+673|0]|!(D[b+870|0]&2)){break h}i:{j=C[b+860>>2];i=C[b+848>>2];e=C[b+836>>2];k=j+(i+e|0)|0;if((k|0)<=0|(e|0)<0){break i}j:{if(!e){a=1;break j}g=O(+(e|0)*32768/+(k|0)+.5);a=g<=2147483647&g>=-2147483648;if(K(g)<2147483648){c=~~g}else{c=-2147483648}c=a?c:e}if(!a|(c|0)<0|(c|0)>32768){break i}e=0;if((i|0)<0){break i}k:{if(!i){a=1;break k}g=O(+(i|0)*32768/+(k|0)+.5);a=g<=2147483647&g>=-2147483648;if(K(g)<2147483648){l=~~g}else{l=-2147483648}e=a?l:i}if(!a|(e|0)<0|(e|0)>32768){break i}a=0;if((j|0)<0){break i}if(j){g=O(+(j|0)*32768/+(k|0)+.5);i=g<=2147483647;if(K(g)<2147483648){a=~~g}else{a=-2147483648}if(!i|!(g>=-2147483648)|a>>>0>32768){break i}}j=(c+e|0)+a|0;if(j>>>0>32769){break i}i=-1;l:{if((j|0)!=32769){i=1;if(j>>>0>32767){break l}}if(!(c>>>0>e>>>0|a>>>0>e>>>0)){e=e+i|0;break l}if(!(c>>>0>>0|a>>>0>c>>>0)){c=c+i|0;break l}a=a+i|0}if(((c+e|0)+a|0)==32768){B[b+676>>1]=e;B[b+674>>1]=c;break h}Af(b,6092);s()}Af(b,22221);s()}c=C[b+212>>2]}m:{if(c&256){if(D[b+423|0]&2){break m}C[b+204>>2]=C[b+204>>2]|2048;break m}if((c&16512)!=16512){break m}a=E[b+446>>1];if((a|0)!=E[b+448>>1]|(a|0)!=E[b+450>>1]){break m}B[b+452>>1]=a;C[b+204>>2]=C[b+204>>2]|2048}e=D[b+423|0];n:{if((e|0)==3){e=E[b+416>>1];o:{p:{if(!e){C[b+208>>2]=C[b+208>>2]&-8193;break p}i=C[b+520>>2];a=0;while(1){j=D[a+i|0];if((j|0)!=255){if(j){a=c;break o}h=1}a=a+1|0;if((e|0)!=(a|0)){continue}break}a=c&-8388609;C[b+212>>2]=a;C[b+208>>2]=C[b+208>>2]&-8193;if(h){break o}}a=c&-8388993;C[b+212>>2]=a}if((a&4352)!=4352){break n}c=C[b+404>>2]+I(D[b+444|0],3)|0;B[b+446>>1]=D[c|0];B[b+448>>1]=D[c+1|0];B[b+450>>1]=D[c+2|0];if(!e|(a&34078720)!=524288){break n}c=C[b+520>>2];a=0;if(e>>>0>=4){i=e&65532;while(1){j=a+c|0;A[j|0]=D[j|0]^-1;j=c+(a|1)|0;A[j|0]=D[j|0]^-1;j=c+(a|2)|0;A[j|0]=D[j|0]^-1;j=c+(a|3)|0;A[j|0]=D[j|0]^-1;a=a+4|0;f=f+4|0;if((i|0)!=(f|0)){continue}break}}e=e&3;if(e){while(1){f=a+c|0;A[f|0]=D[f|0]^-1;a=a+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}a=C[b+212>>2];break n}q:{if(e&4){a=c;break q}a=c&-8388609;C[b+212>>2]=a;C[b+208>>2]=C[b+208>>2]&-8193;if(E[b+416>>1]){break q}a=c&-8388993;C[b+212>>2]=a}if(e&2|(a&4352)!=4352){break n}f=E[b+532>>1];c=E[b+452>>1];r:{s:{switch(D[b+424|0]-1|0){case 0:f=I(f,255);c=I(c,255);break r;case 1:f=I(f,85);c=I(c,85);break r;case 3:break s;default:break r}}f=I(f,17);c=I(c,17)}B[b+448>>1]=c;B[b+450>>1]=c;B[b+446>>1]=c;if(a&33554432){break n}B[b+528>>1]=f;B[b+530>>1]=f;B[b+526>>1]=f}if(!(D[b+424|0]==16|(a&896)!=640)){B[b+446>>1]=I(E[b+446>>1],255)+32895>>>16;B[b+448>>1]=I(E[b+448>>1],255)+32895>>>16;B[b+450>>1]=I(E[b+450>>1],255)+32895>>>16;B[b+452>>1]=I(E[b+452>>1],255)+32895>>>16}c=a&128;if(!(!(a&67109888)|!c|(a&256|D[b+424|0]!=16))){B[b+446>>1]=I(E[b+446>>1],257);B[b+448>>1]=I(E[b+448>>1],257);B[b+450>>1]=I(E[b+450>>1],257);B[b+452>>1]=I(E[b+452>>1],257)}d=E[b+448>>1]|E[b+450>>1]<<16;e=E[b+444>>1]|E[b+446>>1]<<16;B[b+454>>1]=e;B[b+456>>1]=e>>>16;B[b+458>>1]=d;B[b+460>>1]=d>>>16;B[b+462>>1]=E[b+452>>1];r=b;t:{u:{v:{if(a&8192){break v}if(a&6291456){if(C[b+796>>2]-105001>>>0<4294957295|C[b+480>>2]-105001>>>0<4294957295){break v}c=C[b+212>>2]&128}w:{if(!c){break w}if(C[b+796>>2]-105001>>>0<4294957295|C[b+480>>2]-105001>>>0<4294957295){break v}if(D[b+436|0]!=3){break w}if(C[b+440>>2]-105001>>>0<4294957295){break v}}d=C[b+212>>2];if(d&8388608){if(C[b+480>>2]-105001>>>0<4294957295){break v}d=C[b+212>>2]}if(!(d&128)|D[b+423|0]!=3){break t}k=E[b+416>>1];if(k){e=D[b+450|0];f=D[b+448|0];i=D[b+446|0];j=C[b+404>>2];a=0;while(1){h=C[b+520>>2]+a|0;d=D[h|0];x:{if((d|0)==255){break x}if(!d){c=j+I(a,3)|0;A[c+2|0]=e;A[c+1|0]=f;A[c|0]=i;break x}c=j+I(a,3)|0;d=(I(i,d^255)+I(d,D[c|0])|0)+128|0;A[c|0]=d+((d&65280)>>>8|0)>>>8;d=D[h|0];d=(I(f,d^255)+I(d,D[c+1|0])|0)+128|0;A[c+1|0]=((d&65280)>>>8|0)+d>>>8;l=c;d=D[h|0];c=(I(e,d^255)+I(d,D[c+2|0])|0)+128|0;A[l+2|0]=((c&65280)>>>8|0)+c>>>8}a=a+1|0;if((k|0)!=(a|0)){continue}break}d=C[b+212>>2]}d=d&-129;break u}a=D[b+424|0];e=0;if(C[b+484>>2]|C[b+488>>2]){xv(b)}y:{if(a>>>0<=8){a=C[b+480>>2];z:{if((a|0)<=0){a=1e5;break z}c=C[b+796>>2];A:{if(!c){break A}g=O(1e15/+(c|0)/+(a|0)+.5);c=g<=2147483647;if(K(g)<2147483648){a=~~g}else{a=-2147483648}if(!c){break A}if(g>=-2147483648){break z}}a=0}d=Mi(b,256);C[b+484>>2]=d;B:{if(a-95e3>>>0<10001){a=0;while(1){A[a+d|0]=a;c=a|1;A[c+d|0]=c;c=a|2;A[c+d|0]=c;c=a|3;A[c+d|0]=c;c=a|4;A[c+d|0]=c;c=a|5;A[c+d|0]=c;c=a|6;A[c+d|0]=c;c=a|7;A[c+d|0]=c;a=a+8|0;if((a|0)!=256){continue}break}break B}m=+(a|0)*1e-5;a=0;while(1){l=a+d|0;C:{if(a-1>>>0<=253){g=O(Gh(+(a|0)/255,m)*255+.5);if(g<4294967296&g>=0){c=~~g>>>0;break C}c=0;break C}c=a}A[l|0]=c;a=a+1|0;if((a|0)!=256){continue}break}}if(!(C[b+212>>2]&6291584)){break y}a=C[b+796>>2];d=Mi(b,256);C[b+496>>2]=d;g=O(1e10/+(a|0)+.5);e=g>=-2147483648;a=0;if(K(g)<2147483648){c=~~g}else{c=-2147483648}c=g<=2147483647?e?c:0:0;D:{if(c-95e3>>>0<10001){while(1){A[a+d|0]=a;c=a|1;A[c+d|0]=c;c=a|2;A[c+d|0]=c;c=a|3;A[c+d|0]=c;c=a|4;A[c+d|0]=c;c=a|5;A[c+d|0]=c;c=a|6;A[c+d|0]=c;c=a|7;A[c+d|0]=c;a=a+8|0;if((a|0)!=256){continue}break D}}m=+(c|0)*1e-5;while(1){l=a+d|0;E:{if(a-1>>>0<=253){g=O(Gh(+(a|0)/255,m)*255+.5);if(g<4294967296&g>=0){c=~~g>>>0;break E}c=0;break E}c=a}A[l|0]=c;a=a+1|0;if((a|0)!=256){continue}break}}a=C[b+480>>2];F:{if((a|0)>0){g=O(1e10/+(a|0)+.5);c=g>=-2147483648;if(K(g)<2147483648){a=~~g}else{a=-2147483648}a=g<=2147483647?c?a:0:0;break F}a=C[b+796>>2]}d=Mi(b,256);C[b+492>>2]=d;if(a-95e3>>>0<10001){a=0;while(1){A[a+d|0]=a;c=a|1;A[c+d|0]=c;c=a|2;A[c+d|0]=c;c=a|3;A[c+d|0]=c;c=a|4;A[c+d|0]=c;c=a|5;A[c+d|0]=c;c=a|6;A[c+d|0]=c;c=a|7;A[c+d|0]=c;a=a+8|0;if((a|0)!=256){continue}break}break y}m=+(a|0)*1e-5;a=0;while(1){l=a+d|0;G:{if(a-1>>>0<=253){g=O(Gh(+(a|0)/255,m)*255+.5);if(g<4294967296&g>=0){c=~~g>>>0;break G}c=0;break G}c=a}A[l|0]=c;a=a+1|0;if((a|0)!=256){continue}break}break y}H:{if(D[b+423|0]&2){c=D[b+510|0];d=D[b+509|0];f=D[b+508|0];d=d>>>0>f>>>0?d:f;c=c>>>0>d>>>0?c:d;break H}c=D[b+511|0]}a=(c-1&255)>>>0<15?16-c|0:0;c=a&255;d=C[b+212>>2]&67109888;a=(d?c>>>0<=5?5:c:a)&255;c=a>>>0>=8?8:a;C[b+476>>2]=c;a=C[b+480>>2];I:{J:{if(d){if((a|0)<=0){g=1}else{g=O(+C[b+796>>2]*1e-5*+(a|0)+.5);d=g>=-2147483648;if(K(g)<2147483648){a=~~g}else{a=-2147483648}g=g<=2147483647?d?+(a|0)*1e-5:0:0}d=8-c|0;f=qm(b,4<>2]=f;a=0;while(1){u=f+(a<<2)|0,v=Mi(b,512),C[u>>2]=v;a=a+1|0;if(!(a>>>d|0)){continue}break}i=255>>>c|0;n=16-c|0;a=0;while(1){j=I(e,257);m=O(Gh(+((j&65535)+128|0)/65535,g)*65535+.5);K:{if(m<4294967296&m>=0){l=~~m>>>0;break K}l=0}h=l;k=(((h<>>0)/65535|0;if(k>>>0>=a>>>0){h=0;p=k-a|0;q=p+1&3;if(q){while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=j;a=a+1|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}}if(p>>>0>=3){while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=j;h=a+1|0;B[C[f+((h&i)<<2)>>2]+(h>>>d<<1)>>1]=j;h=a+2|0;B[C[f+((h&i)<<2)>>2]+(h>>>d<<1)>>1]=j;h=a+3|0;B[C[f+((h&i)<<2)>>2]+(h>>>d<<1)>>1]=j;a=a+4|0;if((h|0)!=(k|0)){continue}break}}a=k+1|0}e=e+1|0;if((e|0)!=255){continue}break}break J}d=b+488|0;L:{if((a|0)<=0){a=1e5;break L}e=C[b+796>>2];M:{if(!e){break M}g=O(1e15/+(e|0)/+(a|0)+.5);e=g<=2147483647;if(K(g)<2147483648){a=~~g}else{a=-2147483648}if(!e){break M}if(g>=-2147483648){break L}}a=0}Vo(b,d,c,a);break I}j=256<>>0<=a>>>0){break I}e=0;h=j+(a^-1)|0;k=0-a&3;if(k){while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=65535;a=a+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(h>>>0<3){break I}while(1){B[C[f+((a&i)<<2)>>2]+(a>>>d<<1)>>1]=65535;e=a+1|0;B[C[f+((e&i)<<2)>>2]+(e>>>d<<1)>>1]=65535;e=a+2|0;B[C[f+((e&i)<<2)>>2]+(e>>>d<<1)>>1]=65535;e=a+3|0;B[C[f+((e&i)<<2)>>2]+(e>>>d<<1)>>1]=65535;a=a+4|0;if((j|0)!=(a|0)){continue}break}}if(!(C[b+212>>2]&6291584)){break y}g=O(1e10/+C[b+796>>2]+.5);e=g>=-2147483648;a=b+504|0;if(K(g)<2147483648){d=~~g}else{d=-2147483648}Vo(b,a,c,g<=2147483647?e?d:0:0);a=b+500|0;d=C[b+480>>2];N:{if((d|0)>0){g=O(1e10/+(d|0)+.5);f=g>=-2147483648;if(K(g)<2147483648){d=~~g}else{d=-2147483648}d=g<=2147483647?f?d:0:0;break N}d=C[b+796>>2]}Vo(b,a,c,d)}a=D[b+423|0];d=C[b+212>>2];if(d&128){if((a|0)==3){h=E[b+408>>1];j=C[b+404>>2];c=1e5;a=1e5;O:{P:{Q:{switch(D[b+436|0]-1|0){case 1:c=C[b+496>>2];d=E[b+450>>1];a=D[c+d|0];i=E[b+448>>1];f=D[i+c|0];k=E[b+446>>1];c=D[k+c|0];l=d;d=C[b+484>>2];e=D[l+d|0];i=D[d+i|0];d=D[d+k|0];break O;case 0:a=C[b+480>>2];break P;case 2:break Q;default:break P}}a=Ok(C[b+440>>2]);c=Wo(C[b+440>>2],C[b+480>>2])}d=E[b+446>>1];R:{if(c-105001>>>0<4294957295){d=ak(d,c);i=ak(E[b+448>>1],c);c=ak(E[b+450>>1],c);break R}i=D[b+448|0];c=D[b+450|0]}e=c;c=E[b+446>>1];if(a-105001>>>0<4294957295){c=ak(c,a);f=ak(E[b+448>>1],a);a=ak(E[b+450>>1],a);break O}a=D[b+450|0];f=D[b+448|0]}if(h){p=a&255;q=f&255;t=c&255;a=0;while(1){S:{T:{if(E[b+416>>1]<=a>>>0){break T}k=C[b+520>>2]+a|0;f=D[k|0];if((f|0)==255){break T}if(!f){c=j+I(a,3)|0;A[c+2|0]=e;A[c+1|0]=i;A[c|0]=d;break S}n=C[b+496>>2];c=j+I(a,3)|0;f=(I(f^255,t)+I(f,D[n+D[c|0]|0])|0)+128|0;l=f+(f>>>8&255)>>>8&255;f=C[b+492>>2];A[c|0]=D[l+f|0];l=D[k|0];l=(I(l^255,q)+I(l,D[n+D[c+1|0]|0])|0)+128|0;A[c+1|0]=D[f+((l>>>8&255)+l>>>8&255)|0];l=c;k=D[k|0];c=(I(p,k^255)+I(k,D[n+D[c+2|0]|0])|0)+128|0;A[l+2|0]=D[f+((c>>>8&255)+c>>>8&255)|0];break S}c=j+I(a,3)|0;f=C[b+484>>2];A[c|0]=D[f+D[c|0]|0];A[c+1|0]=D[f+D[c+1|0]|0];A[c+2|0]=D[f+D[c+2|0]|0]}a=a+1|0;if((h|0)!=(a|0)){continue}break}}d=C[b+212>>2]&-8321;break u}U:{V:{switch(D[b+436|0]-1|0){case 1:a=Ok(C[b+796>>2]);c=Wo(C[b+796>>2],C[b+480>>2]);break U;case 2:a=Ok(C[b+440>>2]);c=Wo(C[b+440>>2],C[b+480>>2]);break U;default:Af(b,16968);s();case 0:break V}}a=C[b+480>>2];c=1e5}e=c-105001>>>0<4294957295;f=a-105001>>>0<4294957295;if(f){u=b,v=Ni(b,E[b+452>>1],a),B[u+462>>1]=v}if(e){u=b,v=Ni(b,E[b+452>>1],c),B[u+452>>1]=v}d=E[b+446>>1];W:{if(!(!((d|0)!=E[b+448>>1]|(d|0)!=E[b+450>>1])&(d|0)==E[b+452>>1])){if(f){u=b,v=Ni(b,d,a),B[u+456>>1]=v;u=b,v=Ni(b,E[b+448>>1],a),B[u+458>>1]=v;u=b,v=Ni(b,E[b+450>>1],a),B[u+460>>1]=v}if(!e){break W}u=b,v=Ni(b,E[b+446>>1],c),B[u+446>>1]=v;u=b,v=Ni(b,E[b+448>>1],c),B[u+448>>1]=v;u=b,v=Ni(b,E[b+450>>1],c),B[u+450>>1]=v;break W}B[b+450>>1]=d;B[b+448>>1]=d;B[b+446>>1]=d;a=E[b+462>>1];B[b+460>>1]=a;B[b+458>>1]=a;B[b+456>>1]=a}A[b+436|0]=1;d=C[b+212>>2];break t}if((a|0)!=3|(d&6291456?d&4096:0)){break t}e=E[b+408>>1];if(e){i=C[b+404>>2];c=C[b+484>>2];f=0;while(1){a=i+I(f,3)|0;A[a|0]=D[c+D[a|0]|0];A[a+1|0]=D[c+D[a+1|0]|0];A[a+2|0]=D[c+D[a+2|0]|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}d=d&-8193}C[r+212>>2]=d}X:{if((d&4104)!=8|D[b+423|0]!=3){break X}C[b+212>>2]=d&-9;e=E[b+408>>1];a=D[b+508|0];Y:{if(!e|(a-1&255)>>>0>6){break Y}f=8-a|0;i=C[b+404>>2];d=0;a=0;if(e>>>0>=4){j=e&65532;c=0;while(1){h=i+I(a,3)|0;A[h|0]=D[h|0]>>>f;h=i+I(a|1,3)|0;A[h|0]=D[h|0]>>>f;h=i+I(a|2,3)|0;A[h|0]=D[h|0]>>>f;h=i+I(a|3,3)|0;A[h|0]=D[h|0]>>>f;a=a+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}c=e&3;if(!c){break Y}while(1){j=i+I(a,3)|0;A[j|0]=D[j|0]>>>f;a=a+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}a=D[b+509|0];Z:{if(!e|(a-1&255)>>>0>6){break Z}f=8-a|0;i=C[b+404>>2];d=0;a=0;if(e>>>0>=4){j=e&65532;c=0;while(1){h=i+I(a,3)|0;A[h+1|0]=D[h+1|0]>>>f;h=i+I(a|1,3)|0;A[h+1|0]=D[h+1|0]>>>f;h=i+I(a|2,3)|0;A[h+1|0]=D[h+1|0]>>>f;h=i+I(a|3,3)|0;A[h+1|0]=D[h+1|0]>>>f;a=a+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}c=e&3;if(!c){break Z}while(1){j=i+I(a,3)|0;A[j+1|0]=D[j+1|0]>>>f;a=a+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}a=D[b+510|0];if(!e|(a-1&255)>>>0>6){break X}c=8-a|0;i=C[b+404>>2];f=0;a=0;if(e>>>0>=4){j=e&65532;d=0;while(1){h=i+I(a,3)|0;A[h+2|0]=D[h+2|0]>>>c;h=i+I(a|1,3)|0;A[h+2|0]=D[h+2|0]>>>c;h=i+I(a|2,3)|0;A[h+2|0]=D[h+2|0]>>>c;h=i+I(a|3,3)|0;A[h+2|0]=D[h+2|0]>>>c;a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}d=e&3;if(!d){break X}while(1){e=i+I(a,3)|0;A[e+2|0]=D[e+2|0]>>>c;a=a+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}Ce=o+16|0;_:{if(D[b+420|0]){a=C[b+348>>2];c=C[b+212>>2];C[b+352>>2]=c&2?a:a+7>>>3|0;f=C[b+344>>2];a=D[b+421|0];d=D[a+351761|0];C[b+364>>2]=((f+d|0)+(D[a+351754|0]^-1)>>>0)/(d>>>0);break _}C[b+352>>2]=C[b+348>>2];f=C[b+344>>2];C[b+364>>2]=f;c=C[b+212>>2]}d=D[b+426|0];d=c&4?D[b+424|0]<8?8:d:d;a=d&255;$:{if(c&4096){aa:{ba:{switch(D[b+423|0]){case 3:a=E[b+416>>1]?32:24;break aa;case 0:a=(a>>>0<=8?8:a)<<(E[b+416>>1]!=0);break aa;case 2:break ba;default:break aa}}if(!E[b+416>>1]){break aa}a=((d&255)<<2>>>0)/3|0}if(!(c&512)){break $}a=a<<(D[b+424|0]<16);break $}if(!(c&512)){break $}C[b+212>>2]=c&-513}c=C[b+212>>2];d=c&32768;ca:{if(!d){break ca}da:{switch(D[b+423|0]){case 0:a=a>>>0<9?16:32;break ca;case 2:case 3:break da;default:break ca}}a=a>>>0>32?64:32}ea:{if(!(c&16384)){break ea}fa:{if(!((c&4096)>>>12&E[b+416>>1]!=0|d)){d=D[b+423|0];if((d|0)!=4){break fa}}a=a>>>0<17?32:64;break ea}if(a>>>0<=8){a=(d|0)==6?32:24;break ea}a=(d|0)==6?64:48}if(c&1048576){c=I(D[b+201|0],D[b+200|0]);a=a>>>0>>0?c:a}A[b+431|0]=0;A[b+430|0]=a;c=f+7&-8;a=((a+7>>>3|0)+(a>>>0>7?I(c,a>>>3|0):I(a,c)>>>3|0)|0)+49|0;if(a>>>0>F[b+756>>2]){nf(b,C[b+700>>2]);nf(b,C[b+776>>2]);ga:{if(D[b+420|0]){c=qm(b,a);break ga}c=Mi(b,a)}C[b+700>>2]=c;c=Mi(b,a);C[b+776>>2]=c;C[b+756>>2]=a;a=c+32|0;C[b+376>>2]=(a^-1|-16)+a;a=C[b+700>>2]+32|0;C[b+380>>2]=(a^-1|-16)+a}ha:{a=C[b+360>>2];if((a|0)!=-1){We(C[b+376>>2],0,a+1|0);a=C[b+760>>2];if(a){C[b+760>>2]=0;C[b+764>>2]=0;nf(b,a)}if(Po(b,1229209940)){break ha}C[b+208>>2]=C[b+208>>2]|64;return}Af(b,1158);s()}Af(b,C[b+244>>2]);s()}function XQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,L=0;k=Ce-80|0;Ce=k;f=11;j=C[C[b+96>>2]+4>>2];s=vi(j,3922);a:{if(!s){break a}y=Vi(C[b+96>>2],6758);J=vi(j,9541);f=bf(a,0);if(f){break a}G=Fe[C[s+4>>2]](a,b,c,d,e)|0;b:{if(!G){f=2;if(C[b+148>>2]!=1330926671){break a}f=0;if((c|0)<0){break a}c:{if(!(Fe[C[b+508>>2]](b,1751474532,a,0)|0)){f=Fe[C[s+8>>2]](a,b,c,d,e)|0;if(!f){break c}break a}f=Fe[C[s+32>>2]](b,a)|0;if(f){break a}v=1}f=Fe[C[b+508>>2]](b,1128678944,a,0)|0;C[k+4>>2]=f;if(!f){break b}break a}f=bf(a,0);if(f){break a}C[k+4>>2]=0;v=1}z=C[b+100>>2];g=hf(z,2980,k+4|0);f=C[k+4>>2];if(f){break a}C[b+656>>2]=g;f=C[a+28>>2];p(g+8|0,0,2972);d=k- -64|0;C[d>>2]=0;C[d+4>>2]=0;C[k+56>>2]=0;C[k+60>>2]=0;C[k+48>>2]=0;C[k+52>>2]=0;C[k+40>>2]=0;C[k+44>>2]=0;C[g+4>>2]=f;C[g>>2]=a;q=C[a+8>>2];d=Ff(a,208528,g);C[k+76>>2]=d;d:{if(d){break d}e:{f:{if(D[g+16|0]!=1){break f}d=D[g+18|0];if(d>>>0<4){break f}if(D[g+19|0]<5){break e}}C[k+76>>2]=2;break d}d=ng(a,d-4|0);C[k+76>>2]=d;if(d){break d}d=wj(g+20|0,a,0);C[k+76>>2]=d;if(d){break d}s=g+1208|0;d=wj(s,a,0);C[k+76>>2]=d;if(d){break d}d=wj(k+40|0,a,1);C[k+76>>2]=d;if(d){break d}l=g+84|0;d=wj(l,a,1);C[k+76>>2]=d;if(d){break d}d=jq(k+40|0,g+1316|0,g+1320|0);C[k+76>>2]=d;if(d){break d}C[g+1312>>2]=C[k+48>>2];e=C[g+28>>2];g:{h:{if(v){if(c>>>0>>0){break h}C[k+76>>2]=6;break d}d=0;if(e>>>0<2){break g}C[k+76>>2]=3;break d}C[g+8>>2]=e;d=c}if((c|0)<0){break d}e=s;s=d;d=Dy(g+1324|0,e,d,a,q,j);C[k+76>>2]=d;if(d){break d}d=bf(a,q+C[g+1436>>2]|0);C[k+76>>2]=d;if(d){break d}d=wj(g+1176|0,a,0);C[k+76>>2]=d;if(d){break d}i:{if(C[g+1456>>2]!=65535){d=bf(a,q+C[g+1488>>2]|0);C[k+76>>2]=d;if(d){break d}d=wj(k+8|0,a,0);C[k+76>>2]=d;if(d){break d}d=C[k+16>>2];j:{if(d>>>0>256){break j}C[g+1896>>2]=d;d=Ve(f,572,0,d,0,k+76|0);if(C[k+76>>2]){break j}m=C[k+16>>2];if(m){f=0;if(m>>>0>=4){o=m&-4;e=g+1900|0;while(1){C[e+(f<<2)>>2]=d+I(f,572);n=f|1;C[e+(n<<2)>>2]=d+I(n,572);n=f|2;C[e+(n<<2)>>2]=d+I(n,572);n=f|3;C[e+(n<<2)>>2]=d+I(n,572);f=f+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}e=m&3;if(e){while(1){C[(g+(f<<2)|0)+1900>>2]=d+I(f,572);f=f+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}f=0;while(1){d=Dy(C[(g+(f<<2)|0)+1900>>2],k+8|0,f,a,q,j);C[k+76>>2]=d;if(d){break j}f=f+1|0;if(f>>>0>2]){continue}break}}h=g+2924|0;f=C[g+1184>>2];d=Ce-16|0;Ce=d;e=bf(a,q+C[g+1492>>2]|0);C[d+12>>2]=e;k:{if(e){break k}j=oh(a,d+12|0);e=C[d+12>>2];if(e){break k}C[h+20>>2]=0;A[h|0]=j;e=3;l:{switch(j&255){case 3:j=$f(a,d+12|0);e=C[d+12>>2];if(e){break k}e=3;if(!j){break k}f=I(j,3)+2|0;break;case 0:break l;default:break k}}C[h+12>>2]=f;e=eh(a,f,h+8|0)}Ce=d+16|0;C[k+76>>2]=e}d=k+8|0;e=C[d>>2];if(e){h=C[e+28>>2];if(C[d+28>>2]){Wf(e,d+28|0)}e=C[d+24>>2];if(e){Fe[C[h+8>>2]](h,e)}C[d+24>>2]=0;C[d+28>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0}if(!C[k+76>>2]){break i}break d}C[g+1896>>2]=0}if(!C[g+1436>>2]){C[k+76>>2]=3;break d}C[g+12>>2]=C[g+1184>>2];d=jq(l,g+1308|0,0);C[k+76>>2]=d;if(d){break d}d=C[g+12>>2];m:{if(!d){break m}j=g+1152|0;e=C[g+1428>>2];l=C[g+1456>>2]!=65535&v;i=Ce-16|0;Ce=i;m=C[a+28>>2];C[i+8>>2]=0;n:{o:{p:{q:{if(e>>>0>=3){e=e+q|0;C[j+4>>2]=e;e=bf(a,e);C[i+8>>2]=e;if(e){break o}K=j,L=oh(a,i+8|0)&255,C[K>>2]=L;if(C[i+8>>2]){break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}B[e>>1]=0;r:{switch(C[j>>2]){case 0:h=1;e=Cf(a,(d<<1)-2|0);C[i+8>>2]=e;if(e){break o}if(d>>>0>=2){while(1){e=Gf(a);B[C[j+8>>2]+(h<<1)>>1]=e;h=h+1|0;if((d|0)!=(h|0)){continue}break}}xf(a);break q;case 1:case 2:h=1;if(d>>>0<=1){break q}while(1){f=$f(a,i+8|0);if(C[i+8>>2]){break o}s:{if(C[j>>2]==2){e=$f(a,i+8|0);if(!C[i+8>>2]){break s}break o}e=oh(a,i+8|0);if(C[i+8>>2]){break o}e=e&255}t:{if(d>>>0<=h>>>0){break t}o=(e^65535)>>>0>>0?f^65535:e;n=C[j+8>>2];e=0;while(1){B[n+(h<<1)>>1]=f;h=h+1|0;if(d>>>0<=h>>>0){break t}f=f+1|0;r=e>>>0>>0;e=e+1|0;if(r){continue}break}}if(d>>>0>h>>>0){continue}break};break q;default:break r}}C[i+8>>2]=3;break o}C[j+4>>2]=e;u:{switch(e|0){case 0:if(d>>>0>=230){C[i+8>>2]=3;break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}t(e,210064,d<<1);break q;case 1:if(d>>>0>=167){C[i+8>>2]=3;break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}t(e,210528,d<<1);break q;case 2:break u;default:break p}}if(d>>>0>=88){C[i+8>>2]=3;break o}e=Ve(m,2,0,d,0,i+8|0);C[j+8>>2]=e;if(C[i+8>>2]){break o}t(e,210864,d<<1)}v:{if(!l){h=C[i+8>>2];break v}h=0;C[i+12>>2]=0;w:{if(C[j+16>>2]){break w}f=0;if(d){n=d&3;l=C[j+8>>2];r=0;x:{if(d>>>0<4){e=0;break x}u=d&-4;e=0;while(1){o=h<<1;w=E[l+(o|6)>>1];x=E[l+(o|4)>>1];H=E[l+(o|2)>>1];o=E[l+o>>1];e=e&65535;e=e>>>0>>0?o:e;e=e>>>0>>0?H:e;e=e>>>0>>0?x:e;e=e>>>0>>0?w:e;h=h+4|0;f=f+4|0;if((u|0)!=(f|0)){continue}break}}if(n){while(1){f=E[l+(h<<1)>>1];e=e&65535;e=e>>>0>>0?f:e;h=h+1|0;r=r+1|0;if((n|0)!=(r|0)){continue}break}}f=e&65535}l=Ve(m,2,0,f+1|0,0,i+12|0);C[j+12>>2]=l;h=C[i+12>>2];if(h){break w}y:{if((d|0)<=0){break y}o=C[j+8>>2];h=d;n=d&3;if(n){e=0;while(1){h=h-1|0;B[l+(E[o+(h<<1)>>1]<<1)>>1]=h;e=e+1|0;if((n|0)!=(e|0)){continue}break}}if(d>>>0<4){break y}while(1){e=h-1|0;B[l+(E[o+(e<<1)>>1]<<1)>>1]=e;e=h-2|0;B[l+(E[o+(e<<1)>>1]<<1)>>1]=e;e=h-3|0;B[l+(E[o+(e<<1)>>1]<<1)>>1]=e;h=h-4|0;B[l+(E[o+(h<<1)>>1]<<1)>>1]=h;if(e>>>0>1){continue}break}}C[j+20>>2]=d;C[j+16>>2]=f;h=0}C[i+8>>2]=h}if(h){break o}d=0;break n}C[i+8>>2]=3}d=C[j+8>>2];if(d){Fe[C[m+8>>2]](m,d)}C[j+8>>2]=0;d=C[j+12>>2];if(d){Fe[C[m+8>>2]](m,d)}C[j+8>>2]=0;C[j+12>>2]=0;C[j>>2]=0;C[j+4>>2]=0;d=C[i+8>>2]}Ce=i+16|0;C[k+76>>2]=d;if(d){break d}if(C[g+1456>>2]!=65535){break m}l=g+116|0;h=C[g+12>>2];f=a;a=C[g+1432>>2];o=0;m=Ce-16|0;Ce=m;e=3;z:{if(!C[j+8>>2]){break z}d=l+12|0;p(d,0,1024);if(a>>>0>=2){a=a+q|0;C[l+4>>2]=a;e=bf(f,a);C[m+8>>2]=e;if(e){break z}K=l,L=oh(f,m+8|0)&255,C[K>>2]=L;e=C[m+8>>2];if(e){break z}a=oh(f,m+8|0);e=C[m+8>>2];if(e){break z}q=a&255;e=3;A:{B:{switch(C[l>>2]&127){case 0:C[l+8>>2]=q+1;e=Cf(f,q);C[m+8>>2]=e;if(e){break z}C:{if(!a){break C}e=1;i=C[f+32>>2];if((a|0)!=1){o=q&254;d=0;while(1){if(e>>>0>>0){a=l+(D[i|0]<<1)|0;B[a+524>>1]=e;B[a+12>>1]=E[C[j+8>>2]+(e<<1)>>1]}a=e+1|0;if(a>>>0>>0){n=l+(D[i+1|0]<<1)|0;B[n+524>>1]=a;B[n+12>>1]=E[C[j+8>>2]+(a<<1)>>1]}i=i+2|0;e=e+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}if(!(q&1)|e>>>0>=h>>>0){break C}a=l+(D[i|0]<<1)|0;B[a+524>>1]=e;B[a+12>>1]=E[C[j+8>>2]+(e<<1)>>1]}xf(f);break A;case 1:break B;default:break z}}C[l+8>>2]=0;if(!a){break A}d=1;while(1){i=d;u=oh(f,m+8|0);e=C[m+8>>2];if(e){break z}n=oh(f,m+8|0);e=C[m+8>>2];if(e){break z}r=n&255;d=r+1|0;a=C[l+8>>2];if(r>>>0>=a>>>0){C[l+8>>2]=d;a=d}d=d+i|0;D:{if(i>>>0>=d>>>0){break D}e=u&255;if(!(r&1)){if(h>>>0>i>>>0){r=l+(e<<1)|0;B[r+524>>1]=i;B[r+12>>1]=E[C[j+8>>2]+(i<<1)>>1]}i=i+1|0;e=e+1|0}if(!n){break D}while(1){if(!(h>>>0<=i>>>0|e>>>0>255)){n=l+(e<<1)|0;B[n+524>>1]=i;B[n+12>>1]=E[C[j+8>>2]+(i<<1)>>1]}n=i+1|0;E:{if(n>>>0>=h>>>0){break E}r=e+1|0;if(r>>>0>255){break E}r=l+(r<<1)|0;B[r+524>>1]=n;B[r+12>>1]=E[C[j+8>>2]+(n<<1)>>1]}e=e+2|0;i=i+2|0;if((i|0)!=(d|0)){continue}break}}o=o+1|0;if((q|0)!=(o|0)){continue}break}if(a>>>0<257){break A}C[l+8>>2]=256}if(!(D[l|0]&128)){e=C[m+8>>2];break z}a=oh(f,m+8|0);e=C[m+8>>2];if(e|!a){break z}d=a&255;i=0;while(1){q=oh(f,m+8|0);e=C[m+8>>2];if(e){break z}a=$f(f,m+8|0);e=C[m+8>>2];if(e){break z}q=l+((q&255)<<1)|0;B[q+12>>1]=a;F:{if(!h){break F}o=C[j+8>>2];e=0;while(1){if((a|0)==E[o+(e<<1)>>1]){B[q+524>>1]=e;break F}e=e+1|0;if((h|0)!=(e|0)){continue}break}}e=0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break z}G:{H:{switch(a|0){case 0:t(d,208016,512);break G;case 1:break H;default:break z}}t(d,211040,512)}C[l+8>>2]=0;a=C[f+28>>2];C[m+12>>2]=0;i=C[j+16>>2];if(!i){i=0;f=a;if(h){n=h&3;q=C[j+8>>2];I:{if(h>>>0<4){a=0;e=0;break I}r=h&-4;a=0;e=0;d=0;while(1){o=e<<1;u=E[q+(o|6)>>1];w=E[q+(o|4)>>1];x=E[q+(o|2)>>1];o=E[o+q>>1];a=a&65535;a=a>>>0>>0?o:a;a=a>>>0>>0?x:a;a=a>>>0>>0?w:a;a=a>>>0>>0?u:a;e=e+4|0;d=d+4|0;if((r|0)!=(d|0)){continue}break}}if(n){while(1){d=E[q+(e<<1)>>1];a=a&65535;a=a>>>0>>0?d:a;e=e+1|0;i=i+1|0;if((n|0)!=(i|0)){continue}break}}i=a&65535}a=Ve(f,2,0,i+1|0,0,m+12|0);C[j+12>>2]=a;e=C[m+12>>2];if(e){break z}J:{if((h|0)<=0){break J}f=C[j+8>>2];e=h;q=e&3;if(q){d=0;while(1){e=e-1|0;B[a+(E[f+(e<<1)>>1]<<1)>>1]=e;d=d+1|0;if((q|0)!=(d|0)){continue}break}}if(h>>>0<4){break J}while(1){d=e-1|0;B[a+(E[f+(d<<1)>>1]<<1)>>1]=d;d=e-2|0;B[a+(E[f+(d<<1)>>1]<<1)>>1]=d;d=e-3|0;B[a+(E[f+(d<<1)>>1]<<1)>>1]=d;e=e-4|0;B[a+(E[f+(e<<1)>>1]<<1)>>1]=e;if(d>>>0>1){continue}break}}C[j+20>>2]=h;C[j+16>>2]=i}e=0;while(1){K:{L:{a=l+(e<<1)|0;d=E[a+12>>1];if(!d|d>>>0>i>>>0){break L}d=E[C[j+12>>2]+(d<<1)>>1];if(!d){break L}B[a+524>>1]=d;e=e+1|0;C[l+8>>2]=e;break K}B[a+524>>1]=0;B[a+12>>1]=0;e=e+1|0}if((e|0)!=256){continue}break}e=0}Ce=m+16|0;C[k+76>>2]=e;if(e){break d}}K=g,L=Cy(g,s),C[K+1304>>2]=L}a=C[k+40>>2];if(a){d=C[a+28>>2];if(C[k+68>>2]){Wf(a,k+68|0)}a=C[k+64>>2];if(a){Fe[C[d+8>>2]](d,a)}}f=C[k+76>>2];C[k+4>>2]=f;if(f){break a}C[g+2956>>2]=y;C[g+2952>>2]=J;C[b+4>>2]=c;C[b+16>>2]=C[g+12>>2];if(C[g+1456>>2]==65535){f=11;if(!y){break a}}if(!D[g+1388|0]){C[g+1392>>2]=v?1e3:E[b+68>>1]}f=g+1400|0;e=C[g+1384>>2];a=e>>31;a=(a^e)-a|0;d=C[g+1400>>2];M:{if((a|0)==65536){break M}K=g,L=Ze(C[g+1392>>2],a),C[K+1392>>2]=L;K=g,L=Ze(C[g+1372>>2],a),C[K+1372>>2]=L;e=g+1380|0;K=e,L=Ze(C[e>>2],a),C[K>>2]=L;e=g+1376|0;K=e,L=Ze(C[e>>2],a),C[K>>2]=L;K=g,L=Ze(C[g+1384>>2],a),C[K+1384>>2]=L;K=g,L=Ze(C[g+1396>>2],a),C[K+1396>>2]=L;d=Ze(C[g+1400>>2],a)}C[f>>2]=d>>16;C[g+1396>>2]=B[g+1398>>1];e=C[g+1896>>2];if(e){h=g+1372|0;while(1){e=e-1|0;d=C[(g+(e<<2)|0)+1900>>2];N:{if(D[d+64|0]){if(!D[g+1388|0]){break N}a=1;j=C[g+1392>>2];if(j>>>0>=2){a=C[d+68>>2];a=a>>>0<=1?1:a>>>0>j>>>0?j:a}j=d+48|0;if(!(!h|!j)){f=C[h>>2];s=C[j>>2];i=a<<16;m=of(f,s,i);l=C[h+4>>2];q=C[j+8>>2];o=of(l,q,i);n=f;f=C[j+4>>2];y=of(n,f,i);n=l;l=C[j+12>>2];n=of(n,l,i);r=C[h+8>>2];u=of(r,s,i);s=C[h+12>>2];K=j,L=u+of(s,q,i)|0,C[K+8>>2]=L;C[j+4>>2]=n+y;C[j>>2]=m+o;K=j,L=of(r,f,i)+of(s,l,i)|0,C[K+12>>2]=L}if(!(!h|(d|0)==-72)){i=C[h+8>>2];f=C[h+12>>2];s=C[d+72>>2];j=a<<16;l=of(s,C[h>>2],j);m=C[d+76>>2];K=d,L=l+of(m,C[h+4>>2],j)|0,C[K+72>>2]=L;K=d,L=of(s,i,j)+of(m,f,j)|0,C[K+76>>2]=L}K=d,L=of(C[d+68>>2],C[g+1392>>2],a),C[K+68>>2]=L;break N}a=C[h+4>>2];C[d+48>>2]=C[h>>2];C[d+52>>2]=a;a=C[h+12>>2];C[d+56>>2]=C[h+8>>2];C[d+60>>2]=a;a=C[g+1400>>2];C[d+72>>2]=C[g+1396>>2];C[d+76>>2]=a;C[d+68>>2]=C[g+1392>>2]}j=C[d+60>>2];a=j>>31;a=(a^j)-a|0;f=C[d+76>>2];O:{if((a|0)==65536){break O}K=d,L=Ze(C[d+68>>2],a),C[K+68>>2]=L;K=d,L=Ze(C[d+48>>2],a),C[K+48>>2]=L;K=d,L=Ze(C[d+56>>2],a),C[K+56>>2]=L;K=d,L=Ze(C[d+52>>2],a),C[K+52>>2]=L;K=d,L=Ze(C[d+60>>2],a),C[K+60>>2]=L;K=d,L=Ze(C[d+72>>2],a),C[K+72>>2]=L;f=Ze(C[d+76>>2],a)}C[d+76>>2]=f>>16;C[d+72>>2]=B[d+74>>1];if(e){continue}break}}P:{Q:{R:{S:{T:{U:{if(v){C[b>>2]=C[g+8>>2];if(C[g+1456>>2]!=65535){a=C[g+1168>>2]+1|0}else{a=C[g+1184>>2]}C[b+16>>2]=a;C[b+52>>2]=B[g+1410>>1];a=B[g+1414>>1];C[b+56>>2]=a;C[b+60>>2]=C[g+1416>>2]+65535>>16;d=C[g+1420>>2]+65535>>16;C[b- -64>>2]=d;e=C[g+1392>>2];B[b+72>>1]=a;B[b+70>>1]=d;B[b+68>>1]=e;a=d-a|0;d=(I(e&65535,12)>>>0)/10|0;B[b+74>>1]=(a|0)>d<<16>>16?a:d;B[b+80>>1]=E[g+1358>>1];B[b+82>>1]=E[g+1362>>1];a=Cy(g,c);C[b+20>>2]=a;if(!a){break U}e=Rm(g,C[g+1336>>2]);c=C[b+20>>2];a=af(c);V:{if((a|0)<6){break V}h=c+7|0;d=a+1|0;while(1){if(D[c+6|0]!=43|(D[c+5|0]-91&255)>>>0<230|((D[c+4|0]-91&255)>>>0<230|(D[c+3|0]-91&255)>>>0<230)){break V}if((D[c+2|0]-91&255)>>>0<230|(D[c+1|0]-91&255)>>>0<230|(D[c|0]-91&255)>>>0<230){break V}a=d-7|0;if((d|0)>=8){t(c,h,a)}j=(d|0)>13;d=a;if(j){continue}break}}a=C[g+1340>>2];if(a){a=Rm(g,a);c=a?a:c}if(!e|!c){break T}f=D[e|0];if(!f){break T}while(1){h=f&255;W:{X:{a=c;f=D[a|0];if((h|0)==(f|0)){d=c;break X}while(1){d=h-32|0;if(!d|(d|0)==13){break W}Y:{Z:{d=f&255;switch(d-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 T;case 0:case 13:break Z;default:break Y}}f=D[a+1|0];d=a+1|0;a=d;if((f|0)==(h|0)){break X}continue}break}if(d){break T}f=nh(z,e,k+40|0);c=C[b+20>>2];d=af(c);a=af(f);_:{if((d|0)<=(a|0)){break _}h=1;if((a|0)>0){while(1){if(D[c+(d-h|0)|0]!=D[(a-h|0)+f|0]){break _}e=(a|0)==(h|0);h=h+1|0;if(!e){continue}break}}h=d+(a^-1)|0;if((h|0)<=0){break _}while(1){a=c+h|0;d=D[a|0];e=d-32|0;if(!((1<>>0<=13:0)|(d|0)==95)){A[a+1|0]=0;break _}a=(h|0)>1;h=h-1|0;if(a){continue}break}}if(f){break S}break T}c=d+1|0}f=D[e+1|0];e=e+1|0;if(f){continue}break}break T}if(C[g+1456>>2]==65535){break R}e=1;a=0;break P}a=Rm(g,C[g+1496>>2]);if(!a){break T}K=b,L=nh(z,a,k+40|0),C[K+20>>2]=L}f=nh(z,11228,k+40|0)}C[b+24>>2]=f;a=G?2065:2073;C[b+8>>2]=C[b+8>>2]|(D[g+1348|0]?a|4:a);f=C[g+1352>>2]!=0;a=Rm(g,C[g+1344>>2]);$:{if(!a){break $}if(Se(a,19740)){if(Se(a,14379)){break $}}f=f|2}aa:{if(f&2){break aa}a=C[b+24>>2];if(!a){break aa}if(cf(a,19740,4)){if(cf(a,14379,5)){break aa}}f=f|2}C[b+12>>2]=f;if(C[g+1456>>2]!=65535){break Q}}C[b+8>>2]=C[b+8>>2]|512;e=0;a=v;break P}C[b+8>>2]=C[b+8>>2]|4096;e=1;a=1}c=C[b+36>>2];ba:{ca:{if(c){d=C[b+40>>2];f=0;while(1){da:{ea:{h=C[d+(f<<2)>>2];switch(E[h+8>>1]){case 0:break ca;case 3:break ea;default:break da}}if(E[h+10>>1]==1){break ca}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}if(a&e){break ba}C[k+40>>2]=b;C[k+44>>2]=1970170211;C[k+48>>2]=65539;a=yh(207792,0,k+40|0,0);C[k+4>>2]=a;if((a&255)!=163?a:0){break ba}C[k+4>>2]=0;if(C[b+92>>2]|(c|0)==C[b+36>>2]){break ca}C[b+92>>2]=C[C[b+40>>2]+(c<<2)>>2]}if(!C[g+124>>2]){break ba}B[k+48>>1]=7;C[k+40>>2]=b;b=1094995778;f=0;fa:{ga:{switch(C[g+120>>2]){case 1:b=1094992453;f=1;break fa;case 0:break fa;default:break ga}}b=1094992451;f=2}C[k+44>>2]=b;B[k+50>>1]=f;K=k,L=yh(207752,0,k+40|0,0),C[K+4>>2]=L}f=C[k+4>>2]}Ce=k+80|0;return f|0}function Uz(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,E=0,F=0,G=0;l=C[a+4>>2];if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];q=C[(p<<2)+382144>>2];b=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[c>>2];C[c>>2]=C[l+24>>2]|(((I(n,D[o+((f&C[l+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>m<>2])>>>e|0)|0])>>>0)/255|0)+g>>>p<>2])>>>b|0)|0])>>>0)/255|0)+i>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break d}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];a=D[l+34|0];b=D[l+33|0];d=D[l+32|0];while(1){e=C[j>>2];q=D[n+((e&C[l+16>>2])>>>b|0)|0]+h|0;r=(q>>>0>=255?255:q)>>>m<>2])>>>d|0)|0]+g|0;e=D[k+((e&C[l+20>>2])>>>a|0)|0]+i|0;C[j>>2]=C[l+24>>2]|(r|(q>>>0>=255?255:q)>>>o<>>0>=255?255:e)>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break e}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];a=D[l+34|0];b=D[l+33|0];d=D[l+32|0];while(1){e=C[j>>2];C[j>>2]=C[l+24>>2]|((I(D[n+((e&C[l+16>>2])>>>b|0)|0],h)>>>0)/255>>>m<>2])>>>d|0)|0],g)>>>0)/255>>>o<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];q=C[(p<<2)+382144>>2];b=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[c>>2];r=D[q+((f&C[l+12>>2])>>>e|0)|0];r=((I(r,g)>>>0)/255|0)+((I(n,r)>>>0)/255|0)|0;s=C[l+24>>2]|(r>>>0>=255?255:r)>>>p<>2])>>>d|0)|0];r=((I(r,h)>>>0)/255|0)+((I(n,r)>>>0)/255|0)|0;f=D[k+((f&C[l+20>>2])>>>b|0)|0];f=((I(f,i)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;C[c>>2]=s|(r>>>0>=255?255:r)>>>m<>>0>=255?255:f)>>>j<>2]+(I(C[a+16>>2]/D[l+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break g}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2]=c|(a|C[l+24>>2]);j=j+4|0;b=b-1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(d>>>0<3){break a}while(1){C[j>>2]=c|(a|C[l+24>>2]);C[j+4>>2]=c|(a|C[l+24>>2]);C[j+8>>2]=c|(a|C[l+24>>2]);C[j+12>>2]=c|(a|C[l+24>>2]);j=j+16|0;b=b-4|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}k=D[l+30|0];m=C[(k<<2)+382144>>2];o=D[l+29|0];p=C[(o<<2)+382144>>2];q=D[l+28|0];r=C[(q<<2)+382144>>2];c=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){j=C[b>>2];C[b>>2]=C[l+24>>2]|(((I(n,D[p+((j&C[l+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>o<>2])>>>e|0)|0])>>>0)/255|0)+g>>>q<>2])>>>c|0)|0])>>>0)/255|0)+i>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break j}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}k=D[l+30|0];m=C[(k<<2)+382144>>2];n=D[l+29|0];o=C[(n<<2)+382144>>2];p=D[l+28|0];q=C[(p<<2)+382144>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[j>>2];r=D[o+((f&C[l+16>>2])>>>d|0)|0]+h|0;s=(r>>>0>=255?255:r)>>>n<>2])>>>e|0)|0]+g|0;f=D[m+((f&C[l+20>>2])>>>a|0)|0]+i|0;C[j>>2]=C[l+24>>2]|(s|(r>>>0>=255?255:r)>>>p<>>0>=255?255:f)>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break k}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}k=D[l+30|0];m=C[(k<<2)+382144>>2];n=D[l+29|0];o=C[(n<<2)+382144>>2];p=D[l+28|0];q=C[(p<<2)+382144>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){f=C[j>>2];C[j>>2]=C[l+24>>2]|((I(D[o+((f&C[l+16>>2])>>>d|0)|0],h)>>>0)/255>>>n<>2])>>>e|0)|0],g)>>>0)/255>>>p<>2])>>>a|0)|0],i)>>>0)/255>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}k=D[l+30|0];m=C[(k<<2)+382144>>2];o=D[l+29|0];p=C[(o<<2)+382144>>2];q=D[l+28|0];r=C[(q<<2)+382144>>2];c=D[l+34|0];d=D[l+33|0];e=D[l+32|0];while(1){j=C[b>>2];s=D[r+((j&C[l+12>>2])>>>e|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;t=C[l+24>>2]|(s>>>0>=255?255:s)>>>q<>2])>>>d|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;j=D[m+((j&C[l+20>>2])>>>c|0)|0];j=((I(j,i)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;C[b>>2]=t|(s>>>0>=255?255:s)>>>o<>>0>=255?255:j)>>>k<>2]/D[l+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break m}j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}c=0;b=a+((k|0)!=0)|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2]=d|(a|C[l+24>>2]);b=b-1|0;j=h+j|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(e>>>0<3){break a}c=f<<2;while(1){C[j>>2]=d|(a|C[l+24>>2]);e=c+j|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);j=c+e|0;b=b-4|0;if(b){continue}break}break a}s=b-d|0;j=s>>31;m=c-e|0;q=m>>31;if(((j^s)-j|0)==((m^q)-q|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[l+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];q=C[(p<<2)+382144>>2];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];r=b<<2;while(1){b=C[a>>2];C[a>>2]=C[l+24>>2]|(((I(n,D[o+((b&C[l+16>>2])>>>e|0)|0])>>>0)/255|0)+h>>>m<>2])>>>f|0)|0])>>>0)/255|0)+g>>>p<>2])>>>d|0)|0])>>>0)/255|0)+i>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];q=b<<2;while(1){b=C[j>>2];r=D[n+((b&C[l+16>>2])>>>d|0)|0]+h|0;s=(r>>>0>=255?255:r)>>>m<>2])>>>e|0)|0]+g|0;b=D[k+((b&C[l+20>>2])>>>a|0)|0]+i|0;C[j>>2]=C[l+24>>2]|(s|(r>>>0>=255?255:r)>>>o<>>0>=255?255:b)>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}f=D[l+30|0];k=C[(f<<2)+382144>>2];m=D[l+29|0];n=C[(m<<2)+382144>>2];o=D[l+28|0];p=C[(o<<2)+382144>>2];a=D[l+34|0];d=D[l+33|0];e=D[l+32|0];q=b<<2;while(1){b=C[j>>2];C[j>>2]=C[l+24>>2]|((I(D[n+((b&C[l+16>>2])>>>d|0)|0],h)>>>0)/255>>>m<>2])>>>e|0)|0],g)>>>0)/255>>>o<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]/D[l+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}j=D[l+30|0];k=C[(j<<2)+382144>>2];m=D[l+29|0];o=C[(m<<2)+382144>>2];p=D[l+28|0];q=C[(p<<2)+382144>>2];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];r=b<<2;while(1){b=C[a>>2];s=D[q+((b&C[l+12>>2])>>>f|0)|0];s=((I(s,g)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;t=C[l+24>>2]|(s>>>0>=255?255:s)>>>p<>2])>>>e|0)|0];s=((I(s,h)>>>0)/255|0)+((I(n,s)>>>0)/255|0)|0;b=D[k+((b&C[l+20>>2])>>>d|0)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;C[a>>2]=t|(s>>>0>=255?255:s)>>>m<>>0>=255?255:b)>>>j<>2]/D[l+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;j=(a+(I(c,f)<<2)|0)+(b<<2)|0;break s}a=(a+(I(e,f)<<2)|0)+(d<<2)|0;e=f+((b|0)<(d|0)?-1:1)|0;j=a+((k?0:e)<<2)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}a=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2]=d|(a|C[l+24>>2]);b=b-1|0;j=h+j|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<3){break a}c=e<<2;while(1){C[j>>2]=d|(a|C[l+24>>2]);e=c+j|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);e=c+e|0;C[e>>2]=d|(a|C[l+24>>2]);j=c+e|0;b=b-4|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:m=d-b|0;f=m>>31;p=e-c|0;j=p>>31;m=(f^m)-f|0;j=(j^p)-j|0;u:{if(m>>>0>=j>>>0){q=j-m|0;r=1;p=j<<1;f=p-m|0;j=0;break u}q=m-j|0;p=m<<1;f=p-j|0;m=j;j=1}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);s=e?0-j|0:j;d=(b|0)>(d|0);r=d?0-r|0:r;B=e?-1:1;y=d?-1:1;q=q<<1;t=D[l+30|0];u=C[(t<<2)+382144>>2];v=D[l+29|0];w=C[(v<<2)+382144>>2];x=D[l+28|0];z=C[(x<<2)+382144>>2];e=D[l+34|0];j=D[l+33|0];k=D[l+32|0];A=C[a+20>>2];while(1){E=(A+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[E>>2];C[E>>2]=C[l+24>>2]|(((I(n,D[w+((d&C[l+16>>2])>>>j|0)|0])>>>0)/255|0)+h>>>v<>2])>>>k|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>t<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;m=(j^n)-j|0;v:{if(f>>>0>=m>>>0){q=m-f|0;o=1;p=m<<1;j=p-f|0;m=0;break v}q=f-m|0;p=f<<1;j=p-m|0;f=m;m=1}r=((k|0)!=0)+f|0;if(!r){break a}e=(c|0)>(e|0);s=e?0-m|0:m;d=(b|0)>(d|0);o=d?0-o|0:o;B=e?-1:1;y=d?-1:1;q=q<<1;t=D[l+30|0];u=C[(t<<2)+382144>>2];v=D[l+29|0];w=C[(v<<2)+382144>>2];x=D[l+28|0];z=C[(x<<2)+382144>>2];d=D[l+34|0];e=D[l+33|0];f=D[l+32|0];A=C[a+20>>2];m=0;while(1){E=(A+I(C[a+16>>2],c)|0)+(b<<2)|0;k=C[E>>2];n=D[w+((k&C[l+16>>2])>>>e|0)|0]+h|0;F=(n>>>0>=255?255:n)>>>v<>2])>>>f|0)|0]+g|0;k=D[u+((k&C[l+20>>2])>>>d|0)|0]+i|0;C[E>>2]=C[l+24>>2]|(F|(n>>>0>=255?255:n)>>>x<>>0>=255?255:k)>>>t<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;m=(j^n)-j|0;w:{if(f>>>0>=m>>>0){n=m-f|0;o=m<<1;j=o-f|0;m=1;break w}n=f-m|0;p=1;o=f<<1;j=o-m|0;f=m;m=0}q=((k|0)!=0)+f|0;if(!q){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);r=d?0-m|0:m;s=e?-1:1;B=d?-1:1;n=n<<1;y=D[l+30|0];t=C[(y<<2)+382144>>2];u=D[l+29|0];v=C[(u<<2)+382144>>2];w=D[l+28|0];x=C[(w<<2)+382144>>2];e=D[l+34|0];f=D[l+33|0];k=D[l+32|0];z=C[a+20>>2];m=0;while(1){A=(z+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[A>>2];C[A>>2]=C[l+24>>2]|((I(D[v+((d&C[l+16>>2])>>>f|0)|0],h)>>>0)/255>>>u<>2])>>>k|0)|0],g)>>>0)/255>>>w<>2])>>>e|0)|0],i)>>>0)/255>>>y<>31;o=e-c|0;j=o>>31;m=(f^m)-f|0;j=(j^o)-j|0;x:{if(m>>>0>=j>>>0){p=j-m|0;q=j<<1;f=q-m|0;j=1;break x}p=m-j|0;r=1;q=m<<1;f=q-j|0;m=j;j=0}s=((k|0)!=0)+m|0;if(!s){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);B=d?0-j|0:j;y=e?-1:1;t=d?-1:1;p=p<<1;u=D[l+30|0];v=C[(u<<2)+382144>>2];w=D[l+29|0];x=C[(w<<2)+382144>>2];z=D[l+28|0];A=C[(z<<2)+382144>>2];d=D[l+34|0];e=D[l+33|0];j=D[l+32|0];E=C[a+20>>2];o=0;while(1){F=(E+I(C[a+16>>2],c)|0)+(b<<2)|0;k=C[F>>2];m=D[A+((k&C[l+12>>2])>>>j|0)|0];m=((I(m,g)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;G=C[l+24>>2]|(m>>>0>=255?255:m)>>>z<>2])>>>e|0)|0];m=((I(m,h)>>>0)/255|0)+((I(m,n)>>>0)/255|0)|0;k=D[v+((k&C[l+20>>2])>>>d|0)|0];k=((I(k,i)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;C[F>>2]=G|(m>>>0>=255?255:m)>>>w<>>0>=255?255:k)>>>u<>31;n=e-c|0;j=n>>31;f=(f^m)-f|0;n=(j^n)-j|0;y:{if(f>>>0>=n>>>0){q=n-f|0;o=1;m=n<<1;j=m-f|0;n=0;break y}q=f-n|0;m=f<<1;j=m-n|0;f=n;n=1}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-o|0:o;e=e?-1:1;o=d?-1:1;p=q<<1;g=h>>>D[l+29|0]<>>D[l+28|0]<>>D[l+30|0]<>2];i=0;while(1){C[(q+I(C[a+16>>2],c)|0)+(b<<2)>>2]=h|(g|C[l+24>>2]);d=(j|0)<0;j=(d?m:p)+j|0;b=(d?n:o)+b|0;c=(d?k:e)+c|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}}function bz(a,b,c,d,e,f,g){var h=J(0),i=0,j=J(0),k=J(0),l=J(0),m=J(0),n=J(0),o=0,p=0,q=0,r=0,s=J(0),t=J(0),u=0,v=0,w=0,x=0,y=0,z=0,B=0,D=0,E=J(0),F=J(0),H=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=J(0),T=J(0),U=J(0),V=0,W=0,X=0;x=Ce-48|0;Ce=x;u=C[95623];r=(u|0)==3?(b|0)<577?1:2:u;M=I(r,40)+196544|0;O=a&1;u=(a|0)/2|0;V=(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}}nk(b,e,f,g,x+44|0,x+40|0,x+36|0,x+32|0,x+28|0);f=C[x+32>>2];y=I(f,b);i=C[x+44>>2];if((b|0)>0){z=f-a|0;f=I(r,40);B=f+196556|0;D=f+196552|0;v=f+196548|0;w=(a|0)<=0;q=c;f=i;while(1){if(!w){o=C[M>>2];h=G[B>>2];l=G[D>>2];m=G[v>>2];g=0;while(1){H=C[(g<<2)+q>>2];j=J(J(J(h*J((H&255)>>>0))+J(J(m*J((H>>>16&255)>>>0))+J(l*J((H>>>8&255)>>>0))))+J(.5));f:{if(J(K(j))>2];i=C[x+40>>2];if((b|0)>=2){e=C[x+28>>2]+((a+1|0)/-2|0)|0;b=I(r,40);y=b+196580|0;z=b+196576|0;B=b+196572|0;D=b+196568|0;v=b+196564|0;w=b+196560|0;d=0;N=(a|0)<2;while(1){if(N){b=0}else{h=G[y>>2];l=G[z>>2];m=G[B>>2];j=G[D>>2];E=G[v>>2];F=G[w>>2];q=0;while(1){b=q<<3;p=b|4;o=C[p+c>>2];L=C[b+c>>2];b=C[b+g>>2];p=C[g+p>>2];n=J((((o&255)+(L&255)|0)+(b&255)|0)+(p&255)>>>2>>>0);s=J((((o&16711680)+(L&16711680)|0)+(b&16711680)|0)+(p&16711680)>>>18>>>0);t=J((((o&65280)+(L&65280)|0)+(b&65280)|0)+(p&65280)>>>10>>>0);k=J(J(J(j*n)+J(J(F*s)+J(E*t)))+J(.5));j:{if(J(K(k))>2];q=C[c+q>>2];h=J((b&255)+(q&255)>>>1>>>0);l=J((b&16711680)+(q&16711680)>>>17>>>0);m=J((b&65280)+(q&65280)>>>9>>>0);j=J(J(J(G[D>>2]*h)+J(J(G[w>>2]*l)+J(G[v>>2]*m)))+J(.5));l:{if(J(K(j))>2]*h)+J(J(G[B>>2]*l)+J(G[z>>2]*m)))+J(.5));m:{if(J(K(h))=2){a=I(r,40);h=G[a+196580>>2];l=G[a+196576>>2];m=G[a+196572>>2];j=G[a+196568>>2];E=G[a+196564>>2];F=G[a+196560>>2];while(1){b=(g<<3)+c|0;a=C[b+4>>2];b=C[b>>2];n=J((a&255)+(b&255)>>>1>>>0);s=J((a&16711680)+(b&16711680)>>>17>>>0);t=J((a&65280)+(b&65280)>>>9>>>0);k=J(J(J(j*n)+J(J(F*s)+J(E*t)))+J(.5));n:{if(J(K(k))>2]=f;if(!O){break g}a=I(r,40);b=C[(g<<2)+c>>2];h=J((b&255)>>>0);l=J((b>>>16&255)>>>0);m=J((b>>>8&255)>>>0);j=J(J(J(G[a+196568>>2]*h)+J(J(G[a+196560>>2]*l)+J(G[a+196564>>2]*m)))+J(.5));p:{if(J(K(j))>2];h=J(J(J(G[a+196580>>2]*h)+J(J(G[a+196572>>2]*l)+J(G[a+196576>>2]*m)))+J(.5));q:{if(J(K(h))=2){L=C[x+28>>2]+((a+1|0)/-2<<1)|0;b=I(r,40);d=b+196580|0;q=b+196576|0;y=b+196572|0;z=b+196568|0;B=b+196564|0;D=b+196560|0;e=0;p=(a|0)<2;while(1){if(p){b=0}else{h=G[d>>2];l=G[q>>2];m=G[y>>2];j=G[z>>2];E=G[B>>2];F=G[D>>2];i=0;while(1){b=i<<3;o=b|4;v=C[o+c>>2];w=C[b+c>>2];b=C[b+g>>2];o=C[g+o>>2];n=J((((v&255)+(w&255)|0)+(b&255)|0)+(o&255)>>>2>>>0);s=J((((v&16711680)+(w&16711680)|0)+(b&16711680)|0)+(o&16711680)>>>18>>>0);t=J((((v&65280)+(w&65280)|0)+(b&65280)|0)+(o&65280)>>>10>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));r:{if(J(K(k))>2];i=C[c+i>>2];h=J((b&255)+(i&255)>>>1>>>0);l=J((b&16711680)+(i&16711680)>>>17>>>0);m=J((b&65280)+(i&65280)>>>9>>>0);j=J(J(J(G[d>>2]*h)+J(J(G[y>>2]*l)+J(G[q>>2]*m)))+J(.5));t:{if(J(K(j))>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));u:{if(J(K(h))=2){a=I(r,40);h=G[a+196580>>2];l=G[a+196576>>2];m=G[a+196572>>2];j=G[a+196568>>2];E=G[a+196564>>2];F=G[a+196560>>2];g=0;while(1){b=(g<<3)+c|0;a=C[b+4>>2];b=C[b>>2];n=J((a&255)+(b&255)>>>1>>>0);s=J((a&16711680)+(b&16711680)>>>17>>>0);t=J((a&65280)+(b&65280)>>>9>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));v:{if(J(K(k))>2];h=J((b&255)>>>0);l=J((b>>>16&255)>>>0);m=J((b>>>8&255)>>>0);j=J(J(J(G[a+196580>>2]*h)+J(J(G[a+196572>>2]*l)+J(G[a+196576>>2]*m)))+J(.5));x:{if(J(K(j))>2]*h)+J(J(G[a+196560>>2]*l)+J(G[a+196564>>2]*m)))+J(.5));y:{if(J(K(h))=2){L=C[x+28>>2]+((a+1|0)/-2<<1)|0;b=I(r,40);d=b+196568|0;q=b+196564|0;y=b+196560|0;z=b+196580|0;B=b+196576|0;D=b+196572|0;e=0;p=(a|0)<2;while(1){if(p){b=0}else{h=G[d>>2];l=G[q>>2];m=G[y>>2];j=G[z>>2];E=G[B>>2];F=G[D>>2];i=0;while(1){b=i<<3;o=b|4;v=C[o+c>>2];w=C[b+c>>2];b=C[b+g>>2];o=C[g+o>>2];n=J((((v&255)+(w&255)|0)+(b&255)|0)+(o&255)>>>2>>>0);s=J((((v&16711680)+(w&16711680)|0)+(b&16711680)|0)+(o&16711680)>>>18>>>0);t=J((((v&65280)+(w&65280)|0)+(b&65280)|0)+(o&65280)>>>10>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));z:{if(J(K(k))>2];i=C[c+i>>2];h=J((b&255)+(i&255)>>>1>>>0);l=J((b&16711680)+(i&16711680)>>>17>>>0);m=J((b&65280)+(i&65280)>>>9>>>0);j=J(J(J(G[d>>2]*h)+J(J(G[y>>2]*l)+J(G[q>>2]*m)))+J(.5));B:{if(J(K(j))>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));C:{if(J(K(h))=2){a=I(r,40);h=G[a+196568>>2];l=G[a+196564>>2];m=G[a+196560>>2];j=G[a+196580>>2];E=G[a+196576>>2];F=G[a+196572>>2];g=0;while(1){b=(g<<3)+c|0;a=C[b+4>>2];b=C[b>>2];n=J((a&255)+(b&255)>>>1>>>0);s=J((a&16711680)+(b&16711680)>>>17>>>0);t=J((a&65280)+(b&65280)>>>9>>>0);k=J(J(J(h*n)+J(J(m*s)+J(l*t)))+J(.5));D:{if(J(K(k))>2];h=J((b&255)>>>0);l=J((b>>>16&255)>>>0);m=J((b>>>8&255)>>>0);j=J(J(J(G[a+196568>>2]*h)+J(J(G[a+196560>>2]*l)+J(G[a+196564>>2]*m)))+J(.5));F:{if(J(K(j))>2]*h)+J(J(G[a+196572>>2]*l)+J(G[a+196576>>2]*m)))+J(.5));G:{if(J(K(h))(g|0)){C[x+16>>2]=i;g=Qe(34523,x+16|0);break a}V=g-i|0;g=0;H:{if((e|0)!=844715353){if((e|0)==1498831189){break H}if((e|0)!=1431918169|(b|0)<=0){break a}e=I(r,40);r=e+196568|0;H=e+196564|0;y=e+196560|0;z=e+196580|0;B=e+196576|0;D=e+196572|0;v=e+196556|0;w=e+196552|0;e=e+196548|0;L=(a|0)<2;while(1){if(L){a=0}else{j=G[r>>2];E=G[H>>2];F=G[y>>2];n=G[z>>2];s=G[B>>2];t=G[D>>2];g=C[M>>2];h=G[v>>2];l=G[w>>2];m=G[e>>2];i=0;while(1){p=(i<<3)+c|0;a=C[p>>2];N=a&255;P=a>>>16&255;Q=a>>>8&255;k=J(J(J(h*J(N>>>0))+J(J(m*J(P>>>0))+J(l*J(Q>>>0))))+J(.5));I:{if(J(K(k))>2];A[f|0]=g+o;o=a&255;p=a>>>16&255;a=a>>>8&255;k=J(J(J(h*J(o>>>0))+J(J(m*J(p>>>0))+J(l*J(a>>>0))))+J(.5));J:{if(J(K(k))>>1>>>0);S=J(p+P>>>1>>>0);T=J(a+Q>>>1>>>0);U=J(J(J(j*k)+J(J(F*S)+J(E*T)))+J(.5));K:{if(J(K(U))>2];h=J((a&255)>>>0);l=J((a>>>16&255)>>>0);m=J((a>>>8&255)>>>0);j=J(J(J(G[r>>2]*h)+J(J(G[y>>2]*l)+J(G[H>>2]*m)))+J(.5));M:{if(J(K(j))>2]*h)+J(J(G[e>>2]*l)+J(G[w>>2]*m)))+J(.5));N:{if(J(K(j))>2]|0;A[f+2|0]=g;h=J(J(J(G[z>>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));O:{if(J(K(h))>2];E=G[H>>2];F=G[y>>2];n=G[z>>2];s=G[B>>2];t=G[D>>2];g=C[M>>2];h=G[v>>2];l=G[w>>2];m=G[e>>2];i=0;while(1){p=(i<<3)+c|0;a=C[p>>2];N=a&255;P=a>>>16&255;Q=a>>>8&255;k=J(J(J(h*J(N>>>0))+J(J(m*J(P>>>0))+J(l*J(Q>>>0))))+J(.5));P:{if(J(K(k))>2];A[f|0]=g+o;o=a&255;p=a>>>16&255;a=a>>>8&255;k=J(J(J(h*J(o>>>0))+J(J(m*J(p>>>0))+J(l*J(a>>>0))))+J(.5));Q:{if(J(K(k))>>1>>>0);S=J(p+P>>>1>>>0);T=J(a+Q>>>1>>>0);U=J(J(J(j*k)+J(J(F*S)+J(E*T)))+J(.5));R:{if(J(K(U))>2];h=J((a&255)>>>0);l=J((a>>>16&255)>>>0);m=J((a>>>8&255)>>>0);j=J(J(J(G[r>>2]*h)+J(J(G[y>>2]*l)+J(G[H>>2]*m)))+J(.5));T:{if(J(K(j))>2]*h)+J(J(G[e>>2]*l)+J(G[w>>2]*m)))+J(.5));U:{if(J(K(j))>2]|0;A[f+2|0]=g;h=J(J(J(G[z>>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));V:{if(J(K(h))>2];E=G[H>>2];F=G[y>>2];g=C[M>>2];h=G[z>>2];l=G[B>>2];m=G[D>>2];n=G[v>>2];s=G[w>>2];t=G[e>>2];i=0;while(1){p=(i<<3)+c|0;a=C[p>>2];N=a&255;P=a>>>16&255;Q=a>>>8&255;k=J(J(J(h*J(N>>>0))+J(J(m*J(P>>>0))+J(l*J(Q>>>0))))+J(.5));W:{if(J(K(k))>2];A[f+1|0]=g+o;o=a&255;p=a>>>16&255;a=a>>>8&255;k=J(J(J(h*J(o>>>0))+J(J(m*J(p>>>0))+J(l*J(a>>>0))))+J(.5));X:{if(J(K(k))>>1>>>0);S=J(p+P>>>1>>>0);T=J(a+Q>>>1>>>0);U=J(J(J(j*k)+J(J(F*S)+J(E*T)))+J(.5));Y:{if(J(K(U))>2];h=J((a&255)>>>0);l=J((a>>>16&255)>>>0);m=J((a>>>8&255)>>>0);j=J(J(J(G[z>>2]*h)+J(J(G[D>>2]*l)+J(G[B>>2]*m)))+J(.5));_:{if(J(K(j))>2]|0;A[f+3|0]=g;j=J(J(J(G[r>>2]*h)+J(J(G[y>>2]*l)+J(G[H>>2]*m)))+J(.5));$:{if(J(K(j))>2]*h)+J(J(G[e>>2]*l)+J(G[w>>2]*m)))+J(.5));aa:{if(J(K(h))>2]=X;g=Qe(8597,x)}Ce=x+48|0;return g}function $t(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,o=0,p=0,q=0,r=0,s=0,t=0;i=Ce-48|0;Ce=i;a:{b:{switch(D[a+7|0]){case 0:C[i+12>>2]=0;C[i+16>>2]=0;A[i+8|0]=0;e=C[b+12>>2];C[i+40>>2]=C[b+16>>2];C[i+36>>2]=a+12;a=C[e+32>>2];if((a|0)==-1){a=Ng(e)}C[i+44>>2]=a;h=i+8|0;e=i+36|0;a=C[e+4>>2];C[a+76>>2]=0;c:{if(!D[a+72|0]){break c}while(1){c=C[a+76>>2];b=0;d:{if(c>>>0>=F[a+80>>2]){break d}f=C[C[a+92>>2]+I(c,20)>>2];b=2;if((f|0)==65535){break d}a=C[e>>2];c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Vg((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,f,C[e+8>>2]);b=1;if(!a){break d}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}c=C[e+4>>2];a=C[e>>2];f=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);o=j>>>0>b>>>0;p=I(d,j);f=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);l=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((o?b:1)+p<<1)+l|0;f=D[f|0]|D[f+1|0]<<8;g=((f<<8|f>>>8)&65535)<<2;f=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);k=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=g+k|0;g=D[f|0]|D[f+1|0]<<8;m=D[f+2|0]|D[f+3|0]<<8;n=C[h+4>>2];q=C[h+8>>2];e:{f:{if(n>>>0>>0?m&3840:0){break f}if(!(!d|!(m&64?g:1))){a=l+((o?b:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=k+(((a<<8|a>>>8)&65535)<<2)|0;b=D[a+2|0]|D[a+3|0]<<8;if((n>>>0>>0?b&3840:0)|(g|0)!=(D[a|0]|D[a+1|0]<<8)|(b^m)&64){break f}}a=l+(p+!j<<1)|0;a=D[a|0]|D[a+1|0]<<8;if(!(D[(k+(((a<<8|a>>>8)&65535)<<2)|0)+3|0]&15)|n>>>0>=q>>>0){break e}}a=C[c+76>>2];b=D[c+73|0]?C[c+84>>2]:a;if(!b|a>>>0>=F[c+80>>2]){break e}Zg(c,b-1|0,a+1|0)}Zt(h,e,f);a=C[e+4>>2];d=C[a+76>>2];if((d|0)==C[a+80>>2]|!D[a+72|0]){break c}c=g<<8|g>>>8;g:{if(D[f+2|0]&64){b=C[a+44>>2];C[a+44>>2]=b-1;if((b|0)>0){break g}}if(D[a+73|0]){h:{if(C[a+96>>2]==C[a+92>>2]){b=d;if(C[a+84>>2]==(b|0)){break h}}if(!$e(a,1,1)){break g}d=C[a+92>>2]+I(C[a+76>>2],20)|0;f=C[d+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[d>>2];C[b+4>>2]=f;C[b+16>>2]=C[d+16>>2];f=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=f;d=C[a+76>>2];b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=d+1}d=c&65535;a=C[e+4>>2];if(D[a+72|0]){continue}break}}break a;case 1:A[i+8|0]=0;C[i+12>>2]=b;e=C[b+68>>2];A[i+20|0]=0;C[i+16>>2]=e;c=D[e+4|0]|D[e+5|0]<<8;e=a+12|0;C[i+28>>2]=e;C[i+24>>2]=0;A[i+21|0]=(c|0)!=0;a=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);C[i+32>>2]=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24));c=C[b+12>>2];C[i+40>>2]=C[b+16>>2];C[i+36>>2]=e;a=C[c+32>>2];if((a|0)==-1){a=Ng(c)}C[i+44>>2]=a;e=i+8|0;f=i+36|0;a=C[f+4>>2];C[a+76>>2]=0;i:{if(!D[a+72|0]){break i}while(1){c=C[a+76>>2];b=0;j:{if(c>>>0>=F[a+80>>2]){break j}g=C[C[a+92>>2]+I(c,20)>>2];b=2;if((g|0)==65535){break j}a=C[f>>2];c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Vg((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,g,C[f+8>>2]);b=1;if(!a){break j}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=C[f>>2];c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=o>>>0>b>>>0;q=I(d,o);c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);k=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((l?b:1)+q<<1)+k|0;c=D[c|0]|D[c+1|0]<<8;h=((c<<8|c>>>8)&65535)<<3;c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);m=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=h+m|0;g=D[c|0]|D[c+1|0]<<8;h=C[f+4>>2];j=C[h+76>>2];p=C[h+80>>2];n=!D[e+12|0]&(j|0)==(p|0);k:{l:{if(!n&((D[c+4|0]|D[c+5|0]<<8)!=65535|(D[c+6|0]|D[c+7|0]<<8)!=65535)){break l}m:{if(!d){break m}d=D[c+2|0]|D[c+3|0]<<8;if(!(d&64?g:1)){break m}a=k+((l?b:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;if(!n&((D[a+4|0]|D[a+5|0]<<8)!=65535|(D[a+6|0]|D[a+7|0]<<8)!=65535)|((d^(D[a+2|0]|D[a+3|0]<<8))&64|(g|0)!=(D[a|0]|D[a+1|0]<<8))){break l}}if(n){break k}a=k+(q+!o<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;if((D[a+4|0]|D[a+5|0]<<8)!=65535){break l}if((D[a+6|0]|D[a+7|0]<<8)==65535){break k}}a=D[h+73|0]?C[h+84>>2]:j;if(!a|j>>>0>=p>>>0){break k}Zg(h,a-1|0,j+1|0)}a=C[f+4>>2];n:{if(!D[e+12|0]&C[a+76>>2]==C[a+80>>2]){break n}b=D[c+4|0]|D[c+5|0]<<8;o:{if((b|0)==65535){break o}d=C[e+24>>2];b=d+(((b<<8|b>>>8)&65535)<<2)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=Vg((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0,C[C[a+92>>2]+I(C[e+16>>2],20)>>2],C[f+8>>2]);if(!b){break o}d=C[a+76>>2]+1|0;h=C[a+80>>2];h=d>>>0>>0?d:h;d=C[e+16>>2];if(h-d>>>0>=2){Sf(a,d,h);d=C[e+16>>2]}d=C[a+92>>2]+I(d,20)|0;b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[d>>2]=b;if(D[e+13|0]){s=d,t=_g(C[e+8>>2],b),B[s+12>>1]=t}A[e|0]=1}b=D[c+6|0]|D[c+7|0]<<8;p:{if((b|0)==65535){break p}d=C[e+24>>2];b=d+(((b<<8|b>>>8)&65535)<<2)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);j=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0;b=C[a+76>>2];d=C[a+80>>2]-1|0;d=b>>>0>>0?b:d;h=I(d,20);b=Vg(j,C[h+C[a+92>>2]>>2],C[f+8>>2]);if(!b){break p}j=h;h=C[a+92>>2];b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[j+h>>2]=b;if(D[e+13|0]){s=h+I(d,20)|0,t=_g(C[e+8>>2],b),B[s+12>>1]=t}A[e|0]=1}if(!(D[c+2|0]&128)){break n}A[e+12|0]=1;C[e+16>>2]=C[a+76>>2]}a=C[f+4>>2];d=C[a+76>>2];if((d|0)==C[a+80>>2]|!D[a+72|0]){break i}g=g<<8|g>>>8;q:{if(D[c+2|0]&64){b=C[a+44>>2];C[a+44>>2]=b-1;if((b|0)>0){break q}}if(D[a+73|0]){r:{if(C[a+96>>2]==C[a+92>>2]){b=d;if(C[a+84>>2]==(b|0)){break r}}if(!$e(a,1,1)){break q}d=C[a+92>>2]+I(C[a+76>>2],20)|0;c=C[d+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[d>>2];C[b+4>>2]=c;C[b+16>>2]=C[d+16>>2];c=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=c;d=C[a+76>>2];b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=d+1}d=g&65535;a=C[f+4>>2];if(D[a+72|0]){continue}break}}break a;case 2:e=Ce-304|0;Ce=e;a=a+12|0;C[e+28>>2]=a;A[e+20|0]=0;C[e+24>>2]=b;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);C[e+32>>2]=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);C[e+36>>2]=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);C[e+44>>2]=0;C[e+40>>2]=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=C[b+12>>2];C[e+12>>2]=C[b+16>>2];C[e+8>>2]=a;a=C[c+32>>2];if((a|0)==-1){a=Ng(c)}C[e+16>>2]=a;b=e+20|0;a=C[e+12>>2];C[a+84>>2]=0;C[a+76>>2]=0;A[a+73|0]=1;A[a+74|0]=0;C[a+96>>2]=C[a+92>>2];a=C[e+12>>2];C[a+76>>2]=0;s:{if(!D[a+72|0]){break s}while(1){f=C[a+76>>2];c=0;t:{if(f>>>0>=F[a+80>>2]){break t}g=C[C[a+92>>2]+I(f,20)>>2];c=2;if((g|0)==65535){break t}a=C[e+8>>2];f=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Vg((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0,g,C[e+16>>2]);c=1;if(!a){break t}a=D[a|0]|D[a+1|0]<<8;c=(a<<8|a>>>8)&65535}f=C[e+12>>2];a=C[e+8>>2];g=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);l=j>>>0>c>>>0;n=I(d,j);g=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);k=a+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;g=((l?c:1)+n<<1)+k|0;g=D[g|0]|D[g+1|0]<<8;h=I((g<<8|g>>>8)&65535,6);g=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);g=a+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;h=h+g|0;o=D[h|0]|D[h+1|0]<<8;m=D[h+2|0]|D[h+3|0]<<8;u:{v:{if(m&32){break v}if(!(!d|!(m&64?o:1))){a=k+((l?c:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=g+I((a<<8|a>>>8)&65535,6)|0;d=D[a+2|0]|D[a+3|0]<<8;if(d&32|(o|0)!=(D[a|0]|D[a+1|0]<<8)|(d^m)&64){break v}}a=k+(n+!j<<1)|0;a=D[a|0]|D[a+1|0]<<8;if(!(D[(g+I((a<<8|a>>>8)&65535,6)|0)+2|0]&32)){break u}}a=C[f+76>>2];d=D[f+73|0]?C[f+84>>2]:a;if(!d|a>>>0>=F[f+80>>2]){break u}Zg(f,d-1|0,a+1|0)}l=0;f=C[e+12>>2];d=D[h+2|0]|D[h+3|0]<<8;if(d&128){a=C[b+24>>2];w:{if(!a){j=C[f+84>>2];a=0;break w}j=C[f+84>>2];a=a-((j|0)==C[(b+((a-1&63)<<2)|0)+28>>2])|0}C[b+24>>2]=a+1;C[(b+((a&63)<<2)|0)+28>>2]=j}x:{if(!(d&32)){break x}j=C[b+24>>2];if(!j|F[f+76>>2]>=F[f+80>>2]){break x}q=C[f+84>>2];a=D[h+4|0]|D[h+5|0]<<8;c=C[b+12>>2]+(((a<<8|a>>>8)&65535)<<2)|0;while(1){y:{if(!j){C[b+24>>2]=0;break y}j=j-1|0;p=b+((j&63)<<2)|0;if(!kh(f,C[p+28>>2])){break x}a=C[b+4>>2];k=C[a+24>>2];if(k>>>0>c>>>0){break y}d=C[a+28>>2];if(d>>>0>>0|d-c>>>0<4){break y}m=C[a+32>>2];g=m-4|0;C[a+32>>2]=g;if((g|0)<=0){break y}g=D[c|0];n=D[c+3|0]|(D[c+1|0]<<16|g<<24|D[c+2|0]<<8);g=C[C[f+92>>2]+I(C[f+76>>2],20)>>2]+(n&1073741823|g<<26>>31&-1073741824)|0;g=(g|0)<0?84608:C[b+16>>2]+(g<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break y}r=m-6|0;C[a+32>>2]=r;if((r|0)<=0){break y}g=D[g|0]|D[g+1|0]<<8;l=((g<<8|g>>>8)&65535)+l|0;if(n>>>0>=1073741824){g=(l|0)<0?84608:C[b+20>>2]+(l<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break y}d=a;a=m-8|0;C[d+32>>2]=a;if((a|0)<=0){break y}a=D[g|0]|D[g+1|0]<<8;if(!$e(f,1,1)){break x}k=(a<<8|a>>>8)&65535;a=C[f+76>>2];z:{if(a>>>0>2]){g=C[f+84>>2];d=C[f+96>>2];a=C[f+92>>2]+I(a,20)|0;break z}d=C[f+96>>2];g=C[f+84>>2];a=g-1|0;a=d+I(a>>>0<=g>>>0?a:0,20)|0}d=I(g,20)+d|0;g=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=g;C[d+16>>2]=C[a+16>>2];g=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=g;C[d>>2]=k;C[f+76>>2]=C[f+76>>2]+1;C[f+84>>2]=C[f+84>>2]+1;g=C[b+24>>2]-1|0;k=C[(b+((g&63)<<2)|0)+28>>2];if(g>>>0>j>>>0){while(1){C[b+24>>2]=g;if(!kh(f,C[(b+((g&63)<<2)|0)+28>>2])){break x}if(!$e(f,1,1)){break x}a=C[f+76>>2];A:{if(a>>>0>2]){g=C[f+84>>2];d=C[f+96>>2];a=C[f+92>>2]+I(a,20)|0;break A}d=C[f+96>>2];g=C[f+84>>2];a=g-1|0;a=d+I(a>>>0<=g>>>0?a:0,20)|0}d=I(g,20)+d|0;g=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=g;C[d+16>>2]=C[a+16>>2];g=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=g;C[d>>2]=65535;C[f+76>>2]=C[f+76>>2]+1;C[f+84>>2]=C[f+84>>2]+1;g=C[b+24>>2]-1|0;if(j>>>0>>0){continue}break}}if(!kh(f,k+1|0)){break x}Ci(f,C[p+28>>2],C[f+84>>2])}c=c+4|0;if((n|0)>=0){continue}}break}kh(f,q)}a=C[e+12>>2];c=C[a+76>>2];if((c|0)==C[a+80>>2]|!D[a+72|0]){break s}f=o<<8|o>>>8;B:{if(D[h+2|0]&64){d=C[a+44>>2];C[a+44>>2]=d-1;if((d|0)>0){break B}}if(D[a+73|0]){C:{if(C[a+96>>2]==C[a+92>>2]){d=c;if(C[a+84>>2]==(c|0)){break C}}if(!$e(a,1,1)){break B}c=C[a+92>>2]+I(C[a+76>>2],20)|0;g=C[c+4>>2];d=C[a+96>>2]+I(C[a+84>>2],20)|0;C[d>>2]=C[c>>2];C[d+4>>2]=g;C[d+16>>2]=C[c+16>>2];g=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=g;c=C[a+76>>2];d=C[a+84>>2]}C[a+84>>2]=d+1}C[a+76>>2]=c+1}d=f&65535;a=C[e+12>>2];if(D[a+72|0]){continue}break}}gh(a);Ce=e+304|0;break a;case 4:_t(a+12|0,b);break a;case 5:break b;default:break a}}C[i+16>>2]=0;A[i+8|0]=0;C[i+12>>2]=b;e=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);a=a+12|0;C[i+20>>2]=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a;e=C[b+12>>2];C[i+40>>2]=C[b+16>>2];C[i+36>>2]=a;a=C[e+32>>2];if((a|0)==-1){a=Ng(e)}C[i+44>>2]=a;m=i+8|0;c=i+36|0;a=C[c+4>>2];C[a+84>>2]=0;C[a+76>>2]=0;A[a+73|0]=1;A[a+74|0]=0;C[a+96>>2]=C[a+92>>2];a=C[c+4>>2];C[a+76>>2]=0;D:{if(!D[a+72|0]){break D}while(1){e=C[a+76>>2];b=0;E:{if(e>>>0>=F[a+80>>2]){break E}f=C[C[a+92>>2]+I(e,20)>>2];b=2;if((f|0)==65535){break E}a=C[c>>2];e=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=Vg((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0,f,C[c+8>>2]);b=1;if(!a){break E}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}f=C[c+4>>2];a=C[c>>2];e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=h>>>0>b>>>0;n=I(d,h);e=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);o=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;e=((j?b:1)+n<<1)+o|0;e=D[e|0]|D[e+1|0]<<8;g=((e<<8|e>>>8)&65535)<<3;e=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);l=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;e=g+l|0;g=D[e|0]|D[e+1|0]<<8;k=D[e+2|0]|D[e+3|0]<<8;F:{G:{if((D[e+4|0]|D[e+5|0]<<8)!=65535|(D[e+6|0]|D[e+7|0]<<8)!=65535?k&65283:0){break G}if(!(!d|!(k&64?g:1))){a=o+((j?b:1)<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=l+(((a<<8|a>>>8)&65535)<<3)|0;b=D[a+2|0]|D[a+3|0]<<8;if(((D[a+4|0]|D[a+5|0]<<8)!=65535|(D[a+6|0]|D[a+7|0]<<8)!=65535?b&65283:0)|((b^k)&64|(g|0)!=(D[a|0]|D[a+1|0]<<8))){break G}}a=o+(n+!h<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=l+(((a<<8|a>>>8)&65535)<<3)|0;if(!((D[a+2|0]|D[a+3|0]<<8)&65283)){break F}if((D[a+4|0]|D[a+5|0]<<8)!=65535){break G}if((D[a+6|0]|D[a+7|0]<<8)==65535){break F}}a=C[f+76>>2];b=D[f+73|0]?C[f+84>>2]:a;if(!b|a>>>0>=F[f+80>>2]){break F}Zg(f,b-1|0,a+1|0)}Yt(m,c,e);a=C[c+4>>2];d=C[a+76>>2];if((d|0)==C[a+80>>2]|!D[a+72|0]){break D}f=g<<8|g>>>8;H:{if(D[e+2|0]&64){b=C[a+44>>2];C[a+44>>2]=b-1;if((b|0)>0){break H}}if(D[a+73|0]){I:{if(C[a+96>>2]==C[a+92>>2]){b=d;if(C[a+84>>2]==(b|0)){break I}}if(!$e(a,1,1)){break H}d=C[a+92>>2]+I(C[a+76>>2],20)|0;e=C[d+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[d>>2];C[b+4>>2]=e;C[b+16>>2]=C[d+16>>2];e=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=e;d=C[a+76>>2];b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=d+1}d=f&65535;a=C[c+4>>2];if(D[a+72|0]){continue}break}}gh(a)}Ce=i+48|0}function jT(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;a:{b:{c:{d:{e:{h=C[a+4>>2];if(D[h+9|0]==4){A=g^255;f:{switch(c-1|0){case 1:break b;case 3:break c;case 7:break d;case 0:break f;default:break e}}c=0;u=C[b+12>>2];if(!u){break a}n=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(n,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];M=b&3;a=(b+3|0)/4|0;L=n-b<<2;g:while(1){u=u-1|0;h:{i:{j:{k:{l:{switch(M-1|0){case 0:l=D[h+31|0];t=C[(l<<2)+382144>>2];p=D[h+30|0];q=C[(p<<2)+382144>>2];z=D[h+29|0];r=C[(z<<2)+382144>>2];j=D[h+28|0];m=C[(j<<2)+382144>>2];F=D[h+35|0];o=F;x=l;B=D[h+34|0];J=B;H=p;G=D[h+33|0];v=G;w=z;y=D[h+32|0];E=y;n=j;s=a;break i;case 1:l=D[h+31|0];t=C[(l<<2)+382144>>2];p=D[h+30|0];q=C[(p<<2)+382144>>2];z=D[h+29|0];r=C[(z<<2)+382144>>2];j=D[h+28|0];m=C[(j<<2)+382144>>2];F=D[h+35|0];o=F;x=l;B=D[h+34|0];J=B;H=p;G=D[h+33|0];v=G;w=z;y=D[h+32|0];E=y;n=j;s=a;break j;case 2:l=D[h+31|0];t=C[(l<<2)+382144>>2];p=D[h+30|0];q=C[(p<<2)+382144>>2];z=D[h+29|0];r=C[(z<<2)+382144>>2];j=D[h+28|0];m=C[(j<<2)+382144>>2];F=D[h+35|0];o=F;x=l;B=D[h+34|0];J=B;H=p;G=D[h+33|0];v=G;w=z;y=D[h+32|0];E=y;n=j;s=a;break k;default:break l}}x=D[h+31|0];t=C[(x<<2)+382144>>2];H=D[h+30|0];q=C[(H<<2)+382144>>2];w=D[h+29|0];r=C[(w<<2)+382144>>2];n=D[h+28|0];m=C[(n<<2)+382144>>2];o=D[h+35|0];J=D[h+34|0];v=D[h+33|0];E=D[h+32|0];s=a;k=0;break h}k=1;break h}k=2;break h}k=3}while(1){m:{switch(k|0){case 0:b=C[i>>2];G=v&255;z=w&255;y=E&255;j=n&255;B=J&255;p=H&255;F=o&255;l=x&255;C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<>2];C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<>2];C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<>2];C[i>>2]=((I(A,D[((b&C[h+16>>2])>>>G|0)+r|0])>>>0)/255|0)+e>>>z<>2])>>>y|0)+m|0])>>>0)/255|0)+d>>>j<>2])>>>B|0)+q|0])>>>0)/255|0)+f>>>p<>2])>>>F|0)+t|0])>>>0)/255|0)+g>>>l<1){s=b;break n}i=i+L|0;if(u){continue g}break a}k=0;continue}}}c=_e(4);break a}c=0;t=C[b+12>>2];if(!t){break a}l=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(l,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];n=b&3;a=(b+3|0)/4|0;l=l-b<<2;o:while(1){t=t-1|0;p:{q:{r:{s:{t:{switch(n-1|0){case 0:q=D[h+29|0];r=D[h+33|0];m=D[h+28|0];s=D[h+32|0];u=D[h+30|0];o=D[h+34|0];x=D[h+31|0];y=D[h+35|0];v=e>>>q<>>m<>>u<>>x<>>q<>>m<>>u<>>x<>>q<>>m<>>u<>>x<>>q<>>m<>>u<>>x<>2]=v;j=j+4|0;i=1;continue;case 1:C[j>>2]=v;j=j+4|0;i=2;continue;case 2:C[j>>2]=v;j=j+4|0;i=3;continue;default:break u}}C[j>>2]=v;b=k-1|0;j=j+4|0;v:{if((k|0)>1){k=b;break v}j=j+l|0;if(t){continue o}break a}i=0;continue}}}c=0;x=C[b+12>>2];if(!x){break a}v=C[a+16>>2]/4|0;i=(C[a+20>>2]+(I(v,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];M=b&3;a=(b+3|0)/4|0;L=v-b<<2;w:while(1){x=x-1|0;x:{y:{z:{A:{B:{switch(M-1|0){case 0:w=D[h+30|0];t=C[(w<<2)+382144>>2];l=D[h+29|0];q=C[(l<<2)+382144>>2];p=D[h+28|0];s=C[(p<<2)+382144>>2];y=w;m=D[h+33|0];G=m;B=l;r=D[h+32|0];F=r;v=p;u=a;break y;case 1:E=D[h+31|0];j=C[(E<<2)+382144>>2];w=D[h+30|0];t=C[(w<<2)+382144>>2];l=D[h+29|0];q=C[(l<<2)+382144>>2];p=D[h+28|0];s=C[(p<<2)+382144>>2];H=D[h+35|0];J=D[h+34|0];y=w;m=D[h+33|0];G=m;B=l;r=D[h+32|0];F=r;v=p;u=a;break z;case 2:E=D[h+31|0];j=C[(E<<2)+382144>>2];w=D[h+30|0];t=C[(w<<2)+382144>>2];l=D[h+29|0];q=C[(l<<2)+382144>>2];p=D[h+28|0];s=C[(p<<2)+382144>>2];H=D[h+35|0];J=D[h+34|0];y=w;m=D[h+33|0];G=m;B=l;r=D[h+32|0];F=r;v=p;u=a;break A;default:break B}}n=D[h+31|0];j=C[(n<<2)+382144>>2];y=D[h+30|0];t=C[(y<<2)+382144>>2];B=D[h+29|0];q=C[(B<<2)+382144>>2];v=D[h+28|0];s=C[(v<<2)+382144>>2];o=D[h+35|0];z=D[h+34|0];G=D[h+33|0];F=D[h+32|0];u=a;k=0;break x}k=1;break x}k=2;break x}k=3}while(1){C:{switch(k|0){case 0:J=z;E=n;H=C[i>>2];m=G&255;b=D[((H&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;l=B&255;w=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;p=v&255;k=w|(b>>>0>=255?255:b)>>>p<>2])>>>z|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;w=y&255;k=k|(b>>>0>=255?255:b)>>>w<>2];H=o;b=D[(b>>>o|0)+j|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=k|(b>>>0>=255?255:b)>>>n<>2];b=D[((k&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;K=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>p<>2])>>>J|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>w<>2])>>>H|0)+j|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=K|(b>>>0>=255?255:b)>>>E<>2];b=D[((k&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;K=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>p<>2])>>>J|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;K=K|(b>>>0>=255?255:b)>>>w<>2])>>>H|0)+j|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=K|(b>>>0>=255?255:b)>>>E<>2];b=D[((k&C[h+16>>2])>>>m|0)+q|0];b=((I(b,A)>>>0)/255|0)+((I(b,e)>>>0)/255|0)|0;o=(b>>>0>=255?255:b)>>>l<>2])>>>r|0)+s|0];b=((I(b,A)>>>0)/255|0)+((I(b,d)>>>0)/255|0)|0;o=o|(b>>>0>=255?255:b)>>>p<>2])>>>z|0)+t|0];b=((I(b,A)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;K=o|(b>>>0>=255?255:b)>>>w<>2];o=D[h+35|0];b=D[j+((k&C[h+24>>2])>>>o|0)|0];b=((I(b,g)>>>0)/255|0)+((I(b,A)>>>0)/255|0)|0;C[i>>2]=K|(b>>>0>=255?255:b)>>>n<1){u=b;break D}i=i+L|0;if(x){continue w}break a}k=0;continue}}}c=0;x=C[b+12>>2];if(!x){break a}g=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(g,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];L=b&3;a=(b+3|0)/4|0;z=g-b<<2;E:while(1){x=x-1|0;F:{G:{H:{I:{J:{switch(L-1|0){case 0:n=D[h+31|0];r=C[(n<<2)+382144>>2];E=D[h+30|0];m=C[(E<<2)+382144>>2];w=D[h+29|0];s=C[(w<<2)+382144>>2];v=D[h+28|0];u=C[(v<<2)+382144>>2];q=D[h+35|0];y=q;G=n;t=D[h+34|0];B=t;F=E;k=D[h+33|0];J=k;H=w;i=D[h+32|0];p=i;l=v;o=a;break G;case 1:n=D[h+31|0];r=C[(n<<2)+382144>>2];E=D[h+30|0];m=C[(E<<2)+382144>>2];w=D[h+29|0];s=C[(w<<2)+382144>>2];v=D[h+28|0];u=C[(v<<2)+382144>>2];q=D[h+35|0];y=q;G=n;t=D[h+34|0];B=t;F=E;k=D[h+33|0];J=k;H=w;i=D[h+32|0];p=i;l=v;o=a;break H;case 2:n=D[h+31|0];r=C[(n<<2)+382144>>2];E=D[h+30|0];m=C[(E<<2)+382144>>2];w=D[h+29|0];s=C[(w<<2)+382144>>2];v=D[h+28|0];u=C[(v<<2)+382144>>2];q=D[h+35|0];y=q;G=n;t=D[h+34|0];B=t;F=E;k=D[h+33|0];J=k;H=w;i=D[h+32|0];p=i;l=v;o=a;break I;default:break J}}G=D[h+31|0];r=C[(G<<2)+382144>>2];F=D[h+30|0];m=C[(F<<2)+382144>>2];H=D[h+29|0];s=C[(H<<2)+382144>>2];l=D[h+28|0];u=C[(l<<2)+382144>>2];y=D[h+35|0];B=D[h+34|0];J=D[h+33|0];p=D[h+32|0];o=a;g=0;break F}g=1;break F}g=2;break F}g=3}while(1){K:{switch(g|0){case 0:b=C[j>>2];k=J&255;w=H&255;i=p;v=l&255;t=B&255;E=F&255;q=y&255;n=G&255;C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<>2];C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<>2];C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<>2];C[j>>2]=(I(D[((b&C[h+16>>2])>>>k|0)+s|0],e)>>>0)/255>>>w<>2])>>>i|0)+u|0],d)>>>0)/255>>>v<>2])>>>t|0)+m|0],f)>>>0)/255>>>E<>2])>>>q|0)+r|0]>>>n<1){o=b;break L}j=j+z|0;if(x){continue E}break a}g=0;continue}}}c=0;y=C[b+12>>2];if(!y){break a}g=C[a+16>>2]/4|0;j=(C[a+20>>2]+(I(g,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;b=C[b+8>>2];M=b&3;a=(b+3|0)/4|0;L=g-b<<2;M:while(1){y=y-1|0;N:{O:{P:{Q:{R:{switch(M-1|0){case 0:n=D[h+31|0];g=C[(n<<2)+382144>>2];l=D[h+30|0];k=C[(l<<2)+382144>>2];p=D[h+29|0];t=C[(p<<2)+382144>>2];z=D[h+28|0];q=C[(z<<2)+382144>>2];x=D[h+35|0];G=x;B=n;o=D[h+34|0];F=o;J=l;u=D[h+33|0];H=u;v=p;s=D[h+32|0];w=s;E=z;r=a;break O;case 1:n=D[h+31|0];g=C[(n<<2)+382144>>2];l=D[h+30|0];k=C[(l<<2)+382144>>2];p=D[h+29|0];t=C[(p<<2)+382144>>2];z=D[h+28|0];q=C[(z<<2)+382144>>2];x=D[h+35|0];G=x;B=n;o=D[h+34|0];F=o;J=l;u=D[h+33|0];H=u;v=p;s=D[h+32|0];w=s;E=z;r=a;break P;case 2:n=D[h+31|0];g=C[(n<<2)+382144>>2];l=D[h+30|0];k=C[(l<<2)+382144>>2];p=D[h+29|0];t=C[(p<<2)+382144>>2];z=D[h+28|0];q=C[(z<<2)+382144>>2];x=D[h+35|0];G=x;B=n;o=D[h+34|0];F=o;J=l;u=D[h+33|0];H=u;v=p;s=D[h+32|0];w=s;E=z;r=a;break Q;default:break R}}B=D[h+31|0];g=C[(B<<2)+382144>>2];J=D[h+30|0];k=C[(J<<2)+382144>>2];v=D[h+29|0];t=C[(v<<2)+382144>>2];E=D[h+28|0];q=C[(E<<2)+382144>>2];G=D[h+35|0];F=D[h+34|0];H=D[h+33|0];w=D[h+32|0];r=a;i=0;break N}i=1;break N}i=2;break N}i=3}while(1){S:{switch(i|0){case 0:n=C[j>>2];u=H&255;b=D[((n&C[h+16>>2])>>>u|0)+t|0]+e|0;p=v&255;o=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;z=E&255;m=o|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;l=J&255;x=G&255;i=D[((n&C[h+24>>2])>>>x|0)+g|0];n=B&255;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>>n<>2];b=D[((i&C[h+16>>2])>>>u|0)+t|0]+e|0;m=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;m=m|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>2])>>>x|0)+g|0]>>>n<>2];b=D[((i&C[h+16>>2])>>>u|0)+t|0]+e|0;m=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;m=m|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>2])>>>x|0)+g|0]>>>n<>2];b=D[((i&C[h+16>>2])>>>u|0)+t|0]+e|0;m=(b>>>0>=255?255:b)>>>p<>2])>>>s|0)+q|0]+d|0;m=m|(b>>>0>=255?255:b)>>>z<>2])>>>o|0)+k|0]+f|0;C[j>>2]=m|(b>>>0>=255?255:b)>>>l<>2])>>>x|0)+g|0]>>>n<1){r=b;break T}j=j+L|0;if(y){continue M}break a}i=0;continue}}}return c|0}function Xt(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=Ce-304|0;Ce=i;a:{b:{switch(D[a+3|0]){case 0:C[i+12>>2]=0;C[i+16>>2]=0;A[i+8|0]=0;c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=a+8;a=C[c+32>>2];if((a|0)==-1){a=Ng(c)}C[i+300>>2]=a;k=i+8|0;a=0;t=i+292|0;c=C[t+4>>2];C[c+76>>2]=0;c:{if(!D[c+72|0]){break c}while(1){d=a;q=C[c+76>>2];h=q>>>0>=F[c+80>>2];b=0;d:{if(h){break d}a=C[C[c+92>>2]+I(q,20)>>2];b=2;if((a|0)==65535){break d}e=C[t>>2];b=D[e+2|0]|D[e+3|0]<<8;f=a;o=((b<<8|b>>>8)&65535)+e|0;a=D[o|0]|D[o+1|0]<<8;e=f-((a<<8|a>>>8)&65535)|0;a=D[o+2|0]|D[o+3|0]<<8;b=1;if(e>>>0>=((a<<8|a>>>8)&65535)>>>0){break d}b=D[(e+o|0)+4|0]}o=C[t>>2];n=D[o|0]|D[o+1|0]<<8;m=(n<<8|n>>>8)&65535;s=m>>>0>b>>>0;e=I(d,m);a=D[o+4|0]|D[o+5|0]<<8;l=(a<<8|a>>>8)&65535;p=l+o|0;a=D[o+6|0]|D[o+7|0]<<8;f=o+((a<<8|a>>>8)&65535)|0;j=(D[((s?b:1)+e|0)+p|0]<<2)+f|0;a=D[j|0]|D[j+1|0]<<8;a=(((a<<8|a>>>8)&65535)-l|0)/(m|0)|0;r=D[j+2|0]|D[j+3|0]<<8;g=C[k+4>>2];o=C[k+8>>2];e:{f:{if(g>>>0>>0?r&3840:0){break f}if(!(!d|!(r&64?a:1))){b=f+(D[p+(s?b:1)|0]<<2)|0;d=D[b+2|0]|D[b+3|0]<<8;if(g>>>0>>0?d&3840:0){break f}b=D[b|0]|D[b+1|0]<<8;if((d^r)&64|((((b<<8|b>>>8)&65535)-l|0)/(m|0)|0)!=(a|0)){break f}}if(!(D[(f+(D[p+(e+!n|0)|0]<<2)|0)+3|0]&15)|g>>>0>=o>>>0){break e}}if(h){break e}b=D[c+73|0]?C[c+84>>2]:q;if(!b){break e}Zg(c,b-1|0,q+1|0)}Zt(k,t,j);b=C[t+4>>2];c=C[b+76>>2];if((c|0)==C[b+80>>2]|!D[b+72|0]){break c}g:{if(D[j+2|0]&64){d=C[b+44>>2];C[b+44>>2]=d-1;if((d|0)>0){break g}}if(D[b+73|0]){h:{if(C[b+96>>2]==C[b+92>>2]){d=c;if(C[b+84>>2]==(c|0)){break h}}if(!$e(b,1,1)){break g}d=C[b+92>>2]+I(C[b+76>>2],20)|0;c=C[d+4>>2];e=C[b+96>>2]+I(C[b+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=c;C[e+16>>2]=C[d+16>>2];c=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=c;c=C[b+76>>2];d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=c+1}c=C[t+4>>2];if(D[c+72|0]){continue}break}}break a;case 1:A[i+8|0]=0;C[i+12>>2]=b;c=C[b+68>>2];A[i+20|0]=0;C[i+16>>2]=c;c=D[c+4|0]|D[c+5|0]<<8;d=a+8|0;C[i+28>>2]=d;C[i+24>>2]=0;A[i+21|0]=(c|0)!=0;a=D[a+16|0]|D[a+17|0]<<8;C[i+32>>2]=d+((a<<8|a>>>8)&65535);c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=d;a=C[c+32>>2];if((a|0)==-1){a=Ng(c)}C[i+300>>2]=a;k=i+8|0;a=0;q=i+292|0;c=C[q+4>>2];C[c+76>>2]=0;i:{if(!D[c+72|0]){break i}while(1){d=a;m=C[c+76>>2];g=C[c+80>>2];o=m>>>0>=g>>>0;b=0;j:{if(o){break j}a=C[C[c+92>>2]+I(m,20)>>2];b=2;if((a|0)==65535){break j}e=C[q>>2];b=D[e+2|0]|D[e+3|0]<<8;f=a;h=((b<<8|b>>>8)&65535)+e|0;a=D[h|0]|D[h+1|0]<<8;e=f-((a<<8|a>>>8)&65535)|0;a=D[h+2|0]|D[h+3|0]<<8;b=1;if(e>>>0>=((a<<8|a>>>8)&65535)>>>0){break j}b=D[(e+h|0)+4|0]}e=C[q>>2];s=D[e|0]|D[e+1|0]<<8;n=(s<<8|s>>>8)&65535;l=n>>>0>b>>>0;h=I(d,n);a=D[e+4|0]|D[e+5|0]<<8;p=(a<<8|a>>>8)&65535;f=p+e|0;a=D[e+6|0]|D[e+7|0]<<8;r=e+((a<<8|a>>>8)&65535)|0;e=(D[((l?b:1)+h|0)+f|0]<<3)+r|0;a=D[e|0]|D[e+1|0]<<8;a=(((a<<8|a>>>8)&65535)-p|0)/(n|0)|0;g=!D[k+12|0]&(g|0)==(m|0);k:{l:{if(!g&((D[e+4|0]|D[e+5|0]<<8)!=65535|(D[e+6|0]|D[e+7|0]<<8)!=65535)){break l}m:{if(!d){break m}d=D[e+2|0]|D[e+3|0]<<8;if(!(d&64?a:1)){break m}l=r+(D[f+(l?b:1)|0]<<3)|0;if(!g&((D[l+4|0]|D[l+5|0]<<8)!=65535|(D[l+6|0]|D[l+7|0]<<8)!=65535)){break l}b=D[l|0]|D[l+1|0]<<8;if((d^(D[l+2|0]|D[l+3|0]<<8))&64|((((b<<8|b>>>8)&65535)-p|0)/(n|0)|0)!=(a|0)){break l}}if(g){break k}b=r+(D[f+(h+!s|0)|0]<<3)|0;if((D[b+4|0]|D[b+5|0]<<8)!=65535){break l}if((D[b+6|0]|D[b+7|0]<<8)==65535){break k}}if(o){break k}b=D[c+73|0]?C[c+84>>2]:m;if(!b){break k}Zg(c,b-1|0,m+1|0)}b=e;l=C[q+4>>2];h=C[l+76>>2];n:{if(!D[k+12|0]&(h|0)==C[l+80>>2]){break n}m=C[k+4>>2];e=C[m+24>>2];g=C[k+24>>2];d=C[k+20>>2];r=C[l+92>>2];p=C[k+16>>2];c=D[b+4|0]|D[b+5|0]<<8;f=g+(d+((C[r+I(p,20)>>2]+((c<<8|c>>>8)&65535)<<1)-g|0)&-2)|0;o:{if(e>>>0>f>>>0){break o}c=C[m+28>>2];if(c>>>0>>0|c-f>>>0<2){break o}c=C[m+32>>2]-2|0;C[m+32>>2]=c;if((c|0)<=0){break o}o=D[f|0]|D[f+1|0]<<8;if(!o){break o}d=h+1|0;c=C[l+80>>2];c=c>>>0>d>>>0?d:c;if(c-p>>>0>=2){Sf(l,p,c);p=C[k+16>>2];r=C[l+92>>2];o=D[f|0]|D[f+1|0]<<8}d=I(p,20)+r|0;c=(o<<8|(o&65280)>>>8)&65535;C[d>>2]=c;if(D[k+13|0]){u=d,v=_g(C[k+8>>2],c),B[u+12>>1]=v;r=C[l+92>>2]}A[k|0]=1;m=C[k+4>>2];e=C[m+24>>2];d=C[k+20>>2];g=C[k+24>>2]}t=e;f=d;d=C[l+76>>2];c=C[l+80>>2]-1|0;e=c>>>0>d>>>0?d:c;d=I(e,20)+r|0;c=D[b+6|0]|D[b+7|0]<<8;h=(f+((C[d>>2]+((c<<8|c>>>8)&65535)<<1)-g|0)&-2)+g|0;p:{if(t>>>0>h>>>0){break p}c=C[m+28>>2];if(c>>>0>>0|c-h>>>0<2){break p}c=C[m+32>>2]-2|0;C[m+32>>2]=c;if((c|0)<=0){break p}c=D[h|0]|D[h+1|0]<<8;if(!c){break p}c=(c<<8|c>>>8)&65535;C[d>>2]=c;if(D[k+13|0]){u=I(e,20)+r|0,v=_g(C[k+8>>2],c),B[u+12>>1]=v}A[k|0]=1}if(!(D[b+2|0]&128)){break n}A[k+12|0]=1;C[k+16>>2]=C[l+76>>2]}e=C[q+4>>2];c=C[e+76>>2];if((c|0)==C[e+80>>2]|!D[e+72|0]){break i}q:{if(D[b+2|0]&64){b=C[e+44>>2];C[e+44>>2]=b-1;if((b|0)>0){break q}}if(D[e+73|0]){b=e;r:{if(C[b+96>>2]==C[b+92>>2]){d=c;if(C[e+84>>2]==(c|0)){break r}}if(!$e(e,1,1)){break q}d=C[e+92>>2]+I(C[e+76>>2],20)|0;c=C[d+4>>2];h=C[e+96>>2]+I(C[e+84>>2],20)|0;C[h>>2]=C[d>>2];C[h+4>>2]=c;C[h+16>>2]=C[d+16>>2];c=C[d+12>>2];C[h+8>>2]=C[d+8>>2];C[h+12>>2]=c;c=C[e+76>>2];d=C[e+84>>2]}C[b+84>>2]=d+1}C[e+76>>2]=c+1}c=C[q+4>>2];if(D[c+72|0]){continue}break}}break a;case 2:A[i+8|0]=0;d=a+8|0;C[i+16>>2]=d;C[i+12>>2]=b;c=D[a+16|0]|D[a+17|0]<<8;C[i+20>>2]=d+((c<<8|c>>>8)&65535);c=D[a+18|0]|D[a+19|0]<<8;C[i+24>>2]=d+((c<<8|c>>>8)&65535);a=D[a+20|0]|D[a+21|0]<<8;C[i+32>>2]=0;C[i+28>>2]=d+((a<<8|a>>>8)&65535);c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=d;a=C[c+32>>2];if((a|0)==-1){a=Ng(c)}C[i+300>>2]=a;e=i+8|0;a=0;k=i+292|0;b=C[k+4>>2];C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];c=C[k+4>>2];C[c+76>>2]=0;s:{if(!D[c+72|0]){break s}while(1){d=a;m=C[c+76>>2];o=m>>>0>=F[c+80>>2];b=0;t:{if(o){break t}a=C[C[c+92>>2]+I(m,20)>>2];b=2;if((a|0)==65535){break t}h=C[k>>2];b=D[h+2|0]|D[h+3|0]<<8;f=a;g=((b<<8|b>>>8)&65535)+h|0;a=D[g|0]|D[g+1|0]<<8;h=f-((a<<8|a>>>8)&65535)|0;a=D[g+2|0]|D[g+3|0]<<8;b=1;if(h>>>0>=((a<<8|a>>>8)&65535)>>>0){break t}b=D[(g+h|0)+4|0]}g=C[k>>2];s=D[g|0]|D[g+1|0]<<8;n=(s<<8|s>>>8)&65535;l=n>>>0>b>>>0;h=I(d,n);a=D[g+4|0]|D[g+5|0]<<8;p=(a<<8|a>>>8)&65535;f=p+g|0;a=D[g+6|0]|D[g+7|0]<<8;r=g+((a<<8|a>>>8)&65535)|0;q=(D[((l?b:1)+h|0)+f|0]<<2)+r|0;a=D[q|0]|D[q+1|0]<<8;a=(((a<<8|a>>>8)&65535)-p|0)/(n|0)|0;g=D[q+2|0]|D[q+3|0]<<8;u:{v:{if(g&65343){break v}if(!(!d|!(g&64?a:1))){b=r+(D[f+(l?b:1)|0]<<2)|0;d=D[b+2|0]|D[b+3|0]<<8;if(d&65343){break v}b=D[b|0]|D[b+1|0]<<8;if((d^g)&64|((((b<<8|b>>>8)&65535)-p|0)/(n|0)|0)!=(a|0)){break v}}b=r+(D[f+(h+!s|0)|0]<<2)|0;if(!((D[b+2|0]|D[b+3|0]<<8)&65343)){break u}}if(o){break u}b=D[c+73|0]?C[c+84>>2]:m;if(!b){break u}Zg(c,b-1|0,m+1|0)}j=C[k+4>>2];c=D[q+2|0]|D[q+3|0]<<8;if(c&128){b=e;d=C[b+24>>2];w:{if(!d){n=C[j+84>>2];d=0;break w}n=C[j+84>>2];d=d-((n|0)==C[(e+((d-1&63)<<2)|0)+28>>2])|0}C[b+24>>2]=d+1;C[(e+((d&63)<<2)|0)+28>>2]=n}b=c&65343;x:{if(!b){break x}m=C[e+24>>2];if(!m|F[j+76>>2]>=F[j+80>>2]){break x}g=C[j+84>>2];d=C[e+8>>2]+((b<<8|b>>>8)&65535)|0;b=C[e+12>>2];s=(d-b&-4)+b|0;n=0;while(1){y:{if(!m){C[e+24>>2]=0;break y}m=m-1|0;o=e+((m&63)<<2)|0;if(!kh(j,C[o+28>>2])){break x}l=C[e+4>>2];h=C[l+24>>2];if(h>>>0>s>>>0){break y}p=C[l+28>>2];if(p>>>0>>0|p-s>>>0<4){break y}d=C[l+32>>2];b=d-4|0;C[l+32>>2]=b;if((b|0)<=0){break y}b=D[s|0];r=D[s+3|0]|(D[s+1|0]<<16|b<<24|D[s+2|0]<<8);f=(C[C[j+92>>2]+I(C[j+76>>2],20)>>2]+(b<<25&1073741824)|0)+(r&1073741823)|0;c=C[e+8>>2];b=C[e+16>>2];f=(f+(c-b>>>1|0)<<1)+b|0;if(f>>>0>>0|f>>>0>p>>>0|p-f>>>0<2){break y}b=d-6|0;C[l+32>>2]=b;if((b|0)<=0){break y}b=D[f|0]|D[f+1|0]<<8;n=((b<<8|b>>>8)&65535)+n|0;if(r>>>0>=1073741824){f=h;b=C[e+20>>2];h=(c+n|0)-b|0;c=(h&-2)+b|0;if(f>>>0>c>>>0|c>>>0>p>>>0|p-c>>>0<2){break y}b=d-8|0;C[l+32>>2]=b;if((b|0)<=0){break y}b=D[c|0]|D[c+1|0]<<8;if(!$e(j,1,1)){break x}d=(b<<8|b>>>8)&65535;b=C[j+76>>2];z:{if(b>>>0>2]){p=C[j+84>>2];n=C[j+96>>2];b=C[j+92>>2]+I(b,20)|0;break z}n=C[j+96>>2];p=C[j+84>>2];b=p-1|0;b=n+I(b>>>0<=p>>>0?b:0,20)|0}c=C[b+4>>2];f=I(p,20)+n|0;C[f>>2]=C[b>>2];C[f+4>>2]=c;C[f+16>>2]=C[b+16>>2];c=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=c;C[f>>2]=d;C[j+76>>2]=C[j+76>>2]+1;C[j+84>>2]=C[j+84>>2]+1;c=C[e+24>>2]-1|0;d=C[(e+((c&63)<<2)|0)+28>>2];if(c>>>0>m>>>0){while(1){C[e+24>>2]=c;if(!kh(j,C[(e+((c&63)<<2)|0)+28>>2])){break x}if(!$e(j,1,1)){break x}b=C[j+76>>2];A:{if(b>>>0>2]){c=C[j+84>>2];n=C[j+96>>2];b=C[j+92>>2]+I(b,20)|0;break A}n=C[j+96>>2];c=C[j+84>>2];b=c-1|0;b=n+I(b>>>0<=c>>>0?b:0,20)|0}f=I(c,20)+n|0;c=C[b+4>>2];C[f>>2]=C[b>>2];C[f+4>>2]=c;C[f+16>>2]=C[b+16>>2];c=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=c;C[f>>2]=65535;C[j+76>>2]=C[j+76>>2]+1;C[j+84>>2]=C[j+84>>2]+1;c=C[e+24>>2]-1|0;if(m>>>0>>0){continue}break}}if(!kh(j,d+1|0)){break x}Ci(j,C[o+28>>2],C[j+84>>2]);n=h>>>1|0}s=s+4|0;if((r|0)>=0){continue}}break}kh(j,g)}c=C[k+4>>2];b=C[c+76>>2];if((b|0)==C[c+80>>2]|!D[c+72|0]){break s}B:{if(D[q+2|0]&64){d=C[c+44>>2];C[c+44>>2]=d-1;if((d|0)>0){break B}}if(D[c+73|0]){C:{if(C[c+96>>2]==C[c+92>>2]){d=b;if(C[c+84>>2]==(b|0)){break C}}if(!$e(c,1,1)){break B}d=C[c+92>>2]+I(C[c+76>>2],20)|0;b=C[d+4>>2];h=C[c+96>>2]+I(C[c+84>>2],20)|0;C[h>>2]=C[d>>2];C[h+4>>2]=b;C[h+16>>2]=C[d+16>>2];b=C[d+12>>2];C[h+8>>2]=C[d+8>>2];C[h+12>>2]=b;b=C[c+76>>2];d=C[c+84>>2]}C[c+84>>2]=d+1}C[c+76>>2]=b+1}c=C[k+4>>2];if(D[c+72|0]){continue}break}}gh(c);break a;case 4:_t(a+8|0,b);break a;case 5:break b;default:break a}}C[i+16>>2]=0;A[i+8|0]=0;C[i+12>>2]=b;c=D[a+16|0]|D[a+17|0]<<8;a=a+8|0;C[i+20>>2]=((c<<8|c>>>8)&65535)+a;c=C[b+12>>2];C[i+296>>2]=C[b+16>>2];C[i+292>>2]=a;a=C[c+32>>2];if((a|0)==-1){a=Ng(c)}C[i+300>>2]=a;o=i+8|0;a=0;q=i+292|0;b=C[q+4>>2];C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];c=C[q+4>>2];C[c+76>>2]=0;D:{if(!D[c+72|0]){break D}while(1){d=a;m=C[c+76>>2];h=m>>>0>=F[c+80>>2];b=0;E:{if(h){break E}a=C[C[c+92>>2]+I(m,20)>>2];b=2;if((a|0)==65535){break E}e=C[q>>2];b=D[e+2|0]|D[e+3|0]<<8;f=a;g=((b<<8|b>>>8)&65535)+e|0;a=D[g|0]|D[g+1|0]<<8;e=f-((a<<8|a>>>8)&65535)|0;a=D[g+2|0]|D[g+3|0]<<8;b=1;if(e>>>0>=((a<<8|a>>>8)&65535)>>>0){break E}b=D[(e+g|0)+4|0]}g=C[q>>2];s=D[g|0]|D[g+1|0]<<8;n=(s<<8|s>>>8)&65535;l=n>>>0>b>>>0;e=I(d,n);a=D[g+4|0]|D[g+5|0]<<8;p=(a<<8|a>>>8)&65535;f=p+g|0;a=D[g+6|0]|D[g+7|0]<<8;r=g+((a<<8|a>>>8)&65535)|0;k=(D[((l?b:1)+e|0)+f|0]<<3)+r|0;a=D[k|0]|D[k+1|0]<<8;a=(((a<<8|a>>>8)&65535)-p|0)/(n|0)|0;g=D[k+2|0]|D[k+3|0]<<8;F:{G:{if((D[k+4|0]|D[k+5|0]<<8)!=65535|(D[k+6|0]|D[k+7|0]<<8)!=65535?g&65283:0){break G}if(!(!d|!(g&64?a:1))){b=r+(D[f+(l?b:1)|0]<<3)|0;d=D[b+2|0]|D[b+3|0]<<8;if((D[b+4|0]|D[b+5|0]<<8)!=65535|(D[b+6|0]|D[b+7|0]<<8)!=65535?d&65283:0){break G}b=D[b|0]|D[b+1|0]<<8;if((d^g)&64|((((b<<8|b>>>8)&65535)-p|0)/(n|0)|0)!=(a|0)){break G}}b=r+(D[f+(e+!s|0)|0]<<3)|0;if(!((D[b+2|0]|D[b+3|0]<<8)&65283)){break F}if((D[b+4|0]|D[b+5|0]<<8)!=65535){break G}if((D[b+6|0]|D[b+7|0]<<8)==65535){break F}}if(h){break F}b=D[c+73|0]?C[c+84>>2]:m;if(!b){break F}Zg(c,b-1|0,m+1|0)}Yt(o,q,k);c=C[q+4>>2];b=C[c+76>>2];if((b|0)==C[c+80>>2]|!D[c+72|0]){break D}H:{if(D[k+2|0]&64){d=C[c+44>>2];C[c+44>>2]=d-1;if((d|0)>0){break H}}if(D[c+73|0]){I:{if(C[c+96>>2]==C[c+92>>2]){d=b;if(C[c+84>>2]==(b|0)){break I}}if(!$e(c,1,1)){break H}d=C[c+92>>2]+I(C[c+76>>2],20)|0;b=C[d+4>>2];e=C[c+96>>2]+I(C[c+84>>2],20)|0;C[e>>2]=C[d>>2];C[e+4>>2]=b;C[e+16>>2]=C[d+16>>2];b=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=b;b=C[c+76>>2];d=C[c+84>>2]}C[c+84>>2]=d+1}C[c+76>>2]=b+1}c=C[q+4>>2];if(D[c+72|0]){continue}break}}gh(c)}Ce=i+304|0}function Jv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,G=0,H=0,I=0,J=0,L=0,N=0,Q=0,R=0;s=Ce-48|0;Ce=s;y=b;t=c;o=Ce+-64|0;Ce=o;d=a;p=bk(d,-1);w=Ee;a=-131;a:{if(C[d+88>>2]<2){break a}if(!C[d+4>>2]){a=-138;break a}if(p>>>0>>0&(t|0)>=(w|0)|(t|0)>(w|0)|(t|0)<0){break a}a=C[d+52>>2];g=a&a>>31;u=g-1|0;b:{while(1){f=a;if((a|0)<=0){r=C[d+68>>2];a=r+(u<<4)|0;b=C[a+8>>2];c=C[a+12>>2];a=u<<1;break b}i=p;r=C[d+68>>2];a=f-1|0;c=r+(a<<4)|0;b=C[c+8>>2];p=i-b|0;c=C[c+12>>2];w=w-(c+(b>>>0>i>>>0)|0)|0;i=w;if(y>>>0

>>0&(t|0)<=(i|0)|(i|0)>(t|0)){continue}break}g=f;u=a;a=a<<1}a=(a<<3)+r|0;B=C[a>>2];I=C[a+4>>2];i=C[d+60>>2]+(u<<3)|0;n=C[i>>2];f=C[d+56>>2]+(g<<3)|0;a=C[f>>2];j=C[i+4>>2];m=C[f+4>>2];c:{if((n|0)==(a|0)&(j|0)==(m|0)){g=C[d>>2];if(!g){e=-129;break c}if(C[d+8>>2]!=(a|0)|C[d+12>>2]!=(m|0)){e=-128;f=C[d+708>>2];if(!f){break c}if((Fe[f|0](g,a,m,0)|0)==-1){break c}C[d+8>>2]=a;C[d+12>>2]=m;if(C[d+28>>2]>=0){C[d+32>>2]=0;C[d+36>>2]=0;C[d+48>>2]=0;C[d+40>>2]=0;C[d+44>>2]=0}}v=1;e=Lg(d,o+48|0,1,0);f=Ee;if((f|0)<0){break c}}d:{e:{f:{g:{if((m|0)<=(j|0)&a>>>0<=n>>>0|(m|0)<(j|0)){b=e;break g}z=(t-((p>>>0>y>>>0)+w|0)|0)+I|0;e=y-p|0;f=e;e=e+B|0;z=f>>>0>e>>>0?z+1|0:z;J=e;q=c+I|0;L=b+B|0;k=L>>>0>>0?q+1|0:q;x=d+24|0;N=u<<2;G=-1;H=-1;while(1){f=n;b=a-f|0;l=j;c=m-(j+(a>>>0>>0)|0)|0;g=c;if((c|0)>=0&b>>>0>=65536|(c|0)>0){E=(+(b>>>0)+ +(g|0)*4294967296)*(+(J-B>>>0)+ +(z-((B>>>0>J>>>0)+I|0)|0)*4294967296)/(+(L-B>>>0)+ +(k-((B>>>0>L>>>0)+I|0)|0)*4294967296);h:{if(K(E)<0x8000000000000000){e=~~E>>>0;b=K(E)>=1?~~(E>0?M(O(E*2.3283064365386963e-10),4294967295):P((E-+(~~E>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break h}e=0;b=-2147483648}c=b+j|0;e=e+n|0;c=e>>>0>>0?c+1|0:c;b=e-65536|0;c=c-(e>>>0<65536)|0;e=n+65536|0;q=e>>>0<65536?j+1|0:j;f=b;b=b>>>0>>0&(c|0)<=(q|0)|(c|0)<(q|0);f=b?n:f;l=b?j:c}c=C[d>>2];if(!c){e=-129;break c}if(C[d+8>>2]!=(f|0)|C[d+12>>2]!=(l|0)){e=-128;b=C[d+708>>2];if(!b){break c}if((Fe[b|0](c,f,l,0)|0)==-1){break c}C[d+8>>2]=f;C[d+12>>2]=l;if(C[x+4>>2]>=0){C[x+8>>2]=0;C[x+12>>2]=0;C[x+24>>2]=0;C[x+16>>2]=0;C[x+20>>2]=0}}b=0;i:{j:{if((m|0)<=(j|0)&a>>>0<=n>>>0|(m|0)<(j|0)){break j}while(1){i=m;g=a;b=C[d+8>>2];b=Lg(d,o+48|0,a-b|0,i-(C[d+12>>2]+(b>>>0>a>>>0)|0)|0);a=Ee;c=a;if((b|0)==-128&(a|0)==-1){e=-128;break c}k:{l:{m:{n:{if((c|0)<0){break n}o:{a=C[o+48>>2];if(C[N+C[d+64>>2]>>2]==(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){a=C[o+48>>2];e=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);a=D[a+10|0]|D[a+11|0]<<8|(D[a+12|0]<<16|D[a+13|0]<<24);h=a;if((a&e)!=-1){break o}}e=-128;b=C[d+8>>2];b=Lg(d,o+48|0,g-b|0,i-(C[d+12>>2]+(b>>>0>g>>>0)|0)|0);a=Ee;c=a;if((b|0)==-128&(a|0)==-1){break c}while(1){if((c|0)<0){v=1;break n}a=C[o+48>>2];if(C[N+C[d+64>>2]>>2]==(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){a=C[o+48>>2];e=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);a=D[a+10|0]|D[a+11|0]<<8|(D[a+12|0]<<16|D[a+13|0]<<24);h=a;if((a&e)!=-1){break o}}e=-128;b=C[d+8>>2];b=Lg(d,o+48|0,g-b|0,i-(C[d+12>>2]+(b>>>0>g>>>0)|0)|0);a=Ee;c=a;if((b|0)!=-128|(a|0)!=-1){continue}break}break c}if(e>>>0>>0&(h|0)<=(z|0)|(h|0)<(z|0)){v=1;r=b;G=b;H=c;l=C[d+12>>2];j=l;n=C[d+8>>2];f=n;B=e;I=h;c=J-e|0;m=i;a=g;e=z-((e>>>0>J>>>0)+h|0)|0;if((e|0)<=0&c>>>0<=44100|(e|0)<0){break k}break j}m=n+1|0;q=m?j:j+1|0;if((l|0)<=(q|0)&f>>>0<=m>>>0|(l|0)<(q|0)){v=1;break i}if((g|0)!=C[d+8>>2]|(i|0)!=C[d+12>>2]){v=1;a=f;m=l;L=e;k=h;break j}a=C[d>>2];if(!a){e=-129;break c}e=f-65536|0;r=e;v=e>>>0>n>>>0;h=l-(f>>>0<65536)|0;e=h;e=v&(j|0)<=(e|0)|(e|0)>(j|0);f=e?r:m;l=e?h:q;if((g|0)==(f|0)&(i|0)==(l|0)){v=1;r=0;f=g;l=i;i=c;a=b;break k}r=C[d+708>>2];if(!r){e=-128;break c}v=1;g=b;i=c;break m}e=b;h=j;m=n+1|0;h=m?h:h+1|0;if((l|0)<=(h|0)&f>>>0<=m>>>0|(h|0)>(l|0)){break i}if(!(f|l)){break c}a=C[d>>2];if(!a){e=-129;break c}b=f-65536|0;e=b;q=b>>>0>n>>>0;c=l-(f>>>0<65536)|0;b=c;b=q&(j|0)<=(b|0)|(b|0)>(j|0);f=b?e:m;l=b?c:h;if((f|0)==C[d+8>>2]&(l|0)==C[d+12>>2]){break l}r=C[d+708>>2];if(!r){e=-128;break c}}e=-128;if((Fe[r|0](a,f,l,0)|0)==-1){break c}C[d+8>>2]=f;C[d+12>>2]=l;if(C[x+4>>2]>=0){C[x+8>>2]=0;C[x+12>>2]=0;C[x+24>>2]=0;C[x+16>>2]=0;C[x+20>>2]=0}}r=0;a=g}m=i;if(a>>>0>n>>>0&(j|0)<=(i|0)|(i|0)>(j|0)){continue}break}b=r}if(a>>>0>n>>>0&(m|0)>=(j|0)|(m|0)>(j|0)){continue}}break}if((G&H)!=-1){break f}}if(!v){e=b;break c}e=C[d+60>>2]+(u<<3)|0;if((n|0)!=C[e>>2]|(j|0)!=C[e+4>>2]){e=b;break c}e=b;a=C[o+48>>2];if(C[C[d+64>>2]+(u<<2)>>2]!=(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){break c}C[d+80>>2]=p;C[d+84>>2]=w;a=d+480|0;p:{if(C[d+96>>2]!=(u|0)){Jh(a);ri(d+592|0);C[d+96>>2]=u;v=C[C[d+64>>2]+(u<<2)>>2];C[d+92>>2]=v;C[d+88>>2]=3;break p}dp(a);v=C[d+92>>2]}a=d+120|0;Pi(a,v);Th(a,o+48|0);p=C[d+80>>2];w=C[d+84>>2];break e}b=C[d>>2];if(!b){e=-129;break d}if(C[d+8>>2]!=(G|0)|C[d+12>>2]!=(H|0)){e=-128;a=C[d+708>>2];if(!a){break d}if((Fe[a|0](b,G,H,0)|0)==-1){break d}C[d+8>>2]=G;C[d+12>>2]=H;if(C[d+28>>2]>=0){C[d+32>>2]=0;C[d+36>>2]=0;C[d+48>>2]=0;C[d+40>>2]=0;C[d+44>>2]=0}}C[d+80>>2]=-1;C[d+84>>2]=-1;e=Lg(d,o+32|0,-1,-1);if((Ee|0)<0){break c}a=d+480|0;q:{if(C[d+96>>2]!=(u|0)){Jh(a);ri(d+592|0);C[d+96>>2]=u;a=C[C[d+64>>2]+(u<<2)>>2];C[d+92>>2]=a;C[d+88>>2]=3;break q}dp(a);a=C[d+92>>2]}n=d+120|0;Pi(n,a);Th(n,o+32|0);k=d+24|0;q=u<<3;while(1){r:{s:{e=Dv(n,o);if(e){h=e>>31;break s}c=H;h=c;a=q+C[d+60>>2]|0;e=C[a>>2];a=C[a+4>>2];b=G;if((a|0)>=(c|0)&e>>>0>=b>>>0|(a|0)>(c|0)){break s}while(1){h=b;j=c;f=b;l=c;while(1){b=C[d>>2];if(!b){e=-129;break c}a=(l|0)<=0&f>>>0<=65536|(l|0)<0;c=a?65536:f;f=c-65536|0;g=f;i=(a?0:l)-(c>>>0<65536)|0;l=i;if(C[d+8>>2]!=(f|0)|(i|0)!=C[d+12>>2]){e=-128;a=C[d+708>>2];if(!a){break c}if((Fe[a|0](b,f,l,0)|0)==-1){break c}C[d+8>>2]=f;C[d+12>>2]=l;if(C[k+4>>2]>=0){C[k+8>>2]=0;C[k+12>>2]=0;C[k+24>>2]=0;C[k+16>>2]=0;C[k+20>>2]=0}i=C[d+12>>2];g=C[d+8>>2]}a=-1;m=-1;t:{u:{if((i|0)>=(j|0)&g>>>0>=h>>>0|(i|0)>(j|0)){break u}while(1){C[o+40>>2]=0;C[o+44>>2]=0;C[o+32>>2]=0;C[o+36>>2]=0;e=-128;b=Lg(d,o+32|0,h-g|0,j-((g>>>0>h>>>0)+i|0)|0);c=Ee;if((b|0)==-128&(c|0)==-1){break c}if((c|0)<0){break u}a=b;m=c;g=C[d+8>>2];i=C[d+12>>2];e=i;if(g>>>0>>0&(e|0)<=(j|0)|(e|0)<(j|0)){continue}break}break t}b=a;c=m;if((a&c)==-1){continue}}break}if(!C[o+36>>2]){f=C[d>>2];if(!f){e=-129;break c}if(C[d+8>>2]!=(b|0)|C[d+12>>2]!=(c|0)){e=-128;a=C[d+708>>2];if(!a){break c}if((Fe[a|0](f,b,c,0)|0)==-1){break c}C[d+8>>2]=b;C[d+12>>2]=c;if(C[k+4>>2]>=0){C[k+8>>2]=0;C[k+12>>2]=0;C[k+24>>2]=0;C[k+16>>2]=0;C[k+20>>2]=0}}e=-129;Lg(d,o+32|0,65536,0);if((Ee|0)<0){break c}}v:{a=C[o+32>>2];if(C[d+92>>2]==(D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24))){a=C[o+32>>2];a=D[a+10|0]|D[a+11|0]<<8|(D[a+12|0]<<16|D[a+13|0]<<24);if(!(A[C[o+32>>2]+5|0]&1)|((a|0)>0|(a|0)>=0)){break v}}a=q+C[d+60>>2]|0;e=F[a>>2]>>0;a=C[a+4>>2];if(e&(a|0)<=(c|0)|(a|0)<(c|0)){continue}break r}break}a=Kv(d,b,c);break a}if((h|0)>0|(h|0)>=0){break r}e=-136;break c}b=C[o+20>>2];e=b;a=C[o+16>>2];if((b&a)==-1){vh(n,0);continue}break}c=C[d+68>>2]+(C[d+96>>2]<<4)|0;b=C[c>>2];f=a-b|0;c=e-(C[c+4>>2]+(a>>>0>>0)|0)|0;b=!!f&(c|0)>=0|(c|0)>0;a=b?f:0;c=w+(b?c:0)|0;b=p;p=a+p|0;c=b>>>0>p>>>0?c+1|0:c;C[d+80>>2]=p;w=c;C[d+84>>2]=c}e=-129;if((t|0)<=(w|0)&p>>>0>y>>>0|(t|0)<(w|0)){break c}b=bk(d,-1)>>>0>>0;a=Ee;if(b&(t|0)>=(a|0)|(a|0)<(t|0)){break c}C[d+104>>2]=0;C[d+108>>2]=0;C[d+112>>2]=0;C[d+116>>2]=0;a=0;break a}C[d+80>>2]=-1;C[d+84>>2]=-1}C[d+80>>2]=-1;C[d+84>>2]=-1;Jh(d+480|0);ri(d+592|0);C[d+88>>2]=2;a=e}Ce=o- -64|0;g=a;w:{if((a|0)<0){break w}a=C[d+88>>2];if((a|0)<=3){g=-129;if((a|0)!=3){break w}b=d+480|0;a=C[d+72>>2];x:{if(C[d+4>>2]){g=-137;if(!ck(b,a+(C[d+96>>2]<<5)|0)){break x}break w}g=-137;if(ck(b,a)){break w}}ep(b,d+592|0);C[d+104>>2]=0;C[d+108>>2]=0;C[d+88>>2]=4;C[d+112>>2]=0;C[d+116>>2]=0}k=d+592|0;n=d+480|0;q=d+120|0;a=0;while(1){y:{z:{A:{b=Dv(q,s+16|0);if((b|0)>0){e=bp(C[d+72>>2]+(C[d+96>>2]<<5)|0,s+16|0);if((e|0)<0){vh(q,0);continue}B:{if(!a){b=C[d+80>>2];c=C[d+84>>2];break B}a=a+e>>2;b=a+C[d+80>>2]|0;h=C[d+84>>2]+(a>>31)|0;C[d+80>>2]=b;c=a>>>0>b>>>0?h+1|0:h;C[d+84>>2]=c}a=C[C[d+72>>2]+28>>2];if(a){a=C[a+4>>2]}else{a=-1}a=a+e>>2;b=a+b|0;c=(a>>31)+c|0;c=a>>>0>b>>>0?c+1|0:c;if((t|0)<=(c|0)&b>>>0>=y>>>0|(c|0)>(t|0)){break A}vh(q,0);a=C[k+64>>2];f=C[a+104>>2];c=C[C[a+4>>2]+28>>2];Qv(k);b=C[s+20>>2];g=k+4|0;a=C[s+16>>2];C[g+12>>2]=a;C[g>>2]=0;C[g+4>>2]=0;C[g+16>>2]=b;C[g+8>>2]=a;C:{if(Ye(g,1)){break C}a=Ye(g,C[f+44>>2]);if((a|0)==-1){break C}C[k+40>>2]=a;a=C[(c+(a<<2)|0)+32>>2];if(!a){break C}a=C[a>>2];C[k+28>>2]=a;D:{if(a){Q=k,R=Ye(g,1),C[Q+24>>2]=R;a=Ye(g,1);C[k+32>>2]=a;if((a|0)!=-1){break D}break C}C[k+32>>2]=0;C[k+24>>2]=0}a=C[s+36>>2];C[k+48>>2]=C[s+32>>2];C[k+52>>2]=a;a=C[s+44>>2];C[k+56>>2]=C[s+40>>2];C[k+60>>2]=a;a=C[s+28>>2];C[k+36>>2]=0;C[k+44>>2]=a;C[k>>2]=0}Pv(n,k);a=C[s+32>>2];b=C[s+36>>2];f=b;E:{if((b|0)<0){break E}l=C[d+68>>2];h=C[d+96>>2];c=l+(h<<4)|0;b=C[c>>2];g=a-b|0;c=f-(C[c+4>>2]+(a>>>0>>0)|0)|0;a=!!g&(c|0)>=0|(c|0)>0;b=a?g:0;a=a?c:0;c=a;C[d+80>>2]=b;C[d+84>>2]=a;if((h|0)<=0){break E}m=h&3;r=0;F:{if(h>>>0<4){g=0;break F}i=h&-4;g=0;a=0;while(1){h=b;j=g<<4;f=j+l|0;b=C[f+8>>2];h=h+b|0;c=C[f+12>>2]+c|0;C[d+80>>2]=h;c=b>>>0>h>>>0?c+1|0:c;C[d+84>>2]=c;f=(j|24)+l|0;b=C[f>>2];h=b+h|0;c=C[f+4>>2]+c|0;C[d+80>>2]=h;c=b>>>0>h>>>0?c+1|0:c;C[d+84>>2]=c;f=(j|40)+l|0;b=C[f>>2];p=b+h|0;h=C[f+4>>2]+c|0;C[d+80>>2]=p;h=b>>>0>p>>>0?h+1|0:h;C[d+84>>2]=h;c=(j|56)+l|0;f=C[c>>2];b=f+p|0;c=C[c+4>>2]+h|0;C[d+80>>2]=b;c=b>>>0>>0?c+1|0:c;C[d+84>>2]=c;g=g+4|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(!m){break E}while(1){f=(g<<4)+l|0;a=C[f+8>>2];b=a+b|0;c=C[f+12>>2]+c|0;C[d+80>>2]=b;c=a>>>0>b>>>0?c+1|0:c;C[d+84>>2]=c;g=g+1|0;r=r+1|0;if((m|0)!=(r|0)){continue}break}}a=e;continue}G:{switch(b+3|0){case 0:case 3:break G;default:break A}}Lg(d,s,-1,-1);if((Ee|0)<0){break A}H:{if(D[C[s>>2]+5|0]&2){Jh(n);ri(k);C[d+88>>2]=2;break H}if(C[d+88>>2]>2){break y}}b=C[s>>2];e=D[b+14|0]|D[b+15|0]<<8|(D[b+16|0]<<16|D[b+17|0]<<24);c=C[d+52>>2];if((c|0)<=0){g=0;break z}b=C[d+64>>2];g=0;while(1){if((e|0)==C[b+(g<<2)>>2]){break z}g=g+1|0;if((c|0)!=(g|0)){continue}break}continue}C[d+112>>2]=0;C[d+116>>2]=0;C[d+104>>2]=0;C[d+108>>2]=0;g=0;b=C[d+80>>2];a=C[d+84>>2];c=a;e=C[C[C[d+72>>2]+28>>2]+3656>>2];f=e&31;if((e&63)>>>0>=32){z=-1<>>32-f}h=h&y;m=t&z;f=m;if((f|0)<=(a|0)&b>>>0>=h>>>0|(a|0)>(f|0)){break w}while(1){a=y-b|0;f=Rk(n,0);b=t-((b>>>0>y>>>0)+c|0)|0;i=e&31;if((e&63)>>>0>=32){c=b>>31;i=b>>i}else{c=b>>i;i=((1<>>i}a=c;b=f>>31;p=(a|0)<=(b|0)&f>>>0>i>>>0|(a|0)<(b|0)?i:f;b=p+C[n+24>>2]|0;if(!((b|0)>C[n+20>>2]?p:0)){C[n+24>>2]=b}c=p<>2]|0;c=C[d+84>>2]+(c>>31)|0;C[d+80>>2]=b;c=b>>>0>>0?c+1|0:c;C[d+84>>2]=c;f=p>>31;I:{if(i>>>0<=p>>>0&(f|0)>=(a|0)|(a|0)<(f|0)){break I}if((Iv(d)|0)>0){b=C[d+80>>2];c=C[d+84>>2];break I}b=bk(d,-1);a=Ee;c=a;C[d+80>>2]=b;C[d+84>>2]=a}if(b>>>0>>0&(c|0)<=(m|0)|(c|0)<(m|0)){continue}break}break w}if((c|0)==(g|0)){continue}C[d+88>>2]=3;C[d+96>>2]=g;a=C[s>>2];C[d+92>>2]=D[a+14|0]|D[a+15|0]<<8|(D[a+16|0]<<16|D[a+17|0]<<24);Pi(q,e);a=0;b=C[d+88>>2];if((b|0)>3){break y}if((b|0)!=3){g=-129;break w}b=C[d+72>>2];J:{if(C[d+4>>2]){if(!ck(n,b+(C[d+96>>2]<<5)|0)){break J}g=-137;break w}if(!ck(n,b)){break J}g=-137;break w}ep(n,k);C[d+88>>2]=4;C[d+112>>2]=0;C[d+116>>2]=0;C[d+104>>2]=0;C[d+108>>2]=0}Th(q,s);continue}}Ce=s+48|0;return g}function Sz(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[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=(k|0)!=0;break c}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}e=a+e|0;if(!e){break a}d=C[95538];a=C[95539];while(1){b=E[c>>1];B[c>>1]=((I(n,D[d+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[a+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[a+(b&31)|0])>>>0)/255|0)+i>>>3;c=c+2|0;e=e-1|0;if(e){continue}break};break a;case 1:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break d}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}d=C[95538];a=C[95539];while(1){b=E[j>>1];e=D[d+(b>>>5&63)|0]+h|0;f=(e>>>0>=255?255:e)<<3&2016;e=D[a+(b>>>11|0)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=f|(e>>>0>=255?255:e)<<8&63488|(b>>>0>=255?255:b)>>>3;j=j+2|0;c=c-1|0;if(c){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break e}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}d=C[95538];a=C[95539];while(1){b=E[j>>1];B[j>>1]=(I(D[d+(b>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[a+(b>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=j+2|0;c=c-1|0;if(c){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(k|0)!=0;break f}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}e=a+e|0;if(!e){break a}d=C[95538];a=C[95539];while(1){b=E[c>>1];f=D[d+(b>>>5&63)|0];f=((I(f,h)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;j=(f>>>0>=255?255:f)<<3&2016;f=D[a+(b>>>11|0)|0];f=((I(f,g)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;b=D[a+(b&31)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;B[c>>1]=j|(f>>>0>=255?255:f)<<8&63488|(b>>>0>=255?255:b)>>>3;c=c+2|0;e=e-1|0;if(e){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;g:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break g}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}a=g<<8&63488|(h<<3&4064|i>>>3);c=b-1|0;d=b&7;if(d){i=0;while(1){B[j>>1]=a;j=j+2|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){B[j+14>>1]=a;B[j+12>>1]=a;B[j+10>>1]=a;B[j+8>>1]=a;B[j+6>>1]=a;B[j+4>>1]=a;B[j+2>>1]=a;B[j>>1]=a;j=j+16|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break i}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}d=C[95538];a=C[95539];f=f<<1;while(1){c=E[b>>1];B[b>>1]=((I(n,D[d+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[a+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[a+(c&31)|0])>>>0)/255|0)+i>>>3;b=b+f|0;e=e-1|0;if(e){continue}break};break a;case 1:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break j}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}d=C[95538];a=C[95539];e=b<<1;while(1){b=E[j>>1];f=D[d+(b>>>5&63)|0]+h|0;k=(f>>>0>=255?255:f)<<3&2016;f=D[a+(b>>>11|0)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=k|(f>>>0>=255?255:f)<<8&63488|(b>>>0>=255?255:b)>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 3:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break k}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}d=C[95538];a=C[95539];e=b<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[d+(b>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[a+(b>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break l}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}d=C[95538];a=C[95539];f=f<<1;while(1){c=E[b>>1];j=D[d+(c>>>5&63)|0];j=((I(j,h)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;k=(j>>>0>=255?255:j)<<3&2016;j=D[a+(c>>>11|0)|0];j=((I(j,g)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;c=D[a+(c&31)|0];c=((I(c,i)>>>0)/255|0)+((I(c,n)>>>0)/255|0)|0;B[b>>1]=k|(j>>>0>=255?255:j)<<8&63488|(c>>>0>=255?255:c)>>>3;b=b+f|0;e=e-1|0;if(e){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<1)|0)+(d<<1)|0;break m}j=c-e|0;b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0}e=0;c=((k|0)!=0)+j|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|i>>>3);d=c-1|0;g=c&7;if(g){while(1){B[b>>1]=a;c=c-1|0;b=(f<<1)+b|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(d>>>0<7){break a}d=f<<1;while(1){B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;c=c-8|0;if(c){continue}break}break a}o=b-d|0;j=o>>31;m=c-e|0;l=m>>31;if(((j^o)-j|0)==((l^m)-l|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}e=C[95538];d=C[95539];f=b<<1;while(1){b=E[a>>1];B[a>>1]=((I(n,D[e+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[d+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[d+(b&31)|0])>>>0)/255|0)+i>>>3;a=a+f|0;c=c-1|0;if(c){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=C[95538];a=C[95539];e=b<<1;while(1){b=E[j>>1];f=D[d+(b>>>5&63)|0]+h|0;k=(f>>>0>=255?255:f)<<3&2016;f=D[a+(b>>>11|0)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=k|(f>>>0>=255?255:f)<<8&63488|(b>>>0>=255?255:b)>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=C[95538];a=C[95539];e=b<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[d+(b>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[a+(b>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=e+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0}c=((k|0)!=0)+m|0;if(!c){break a}e=C[95538];d=C[95539];f=b<<1;while(1){b=E[a>>1];j=D[e+(b>>>5&63)|0];j=((I(j,h)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;k=(j>>>0>=255?255:j)<<3&2016;j=D[d+(b>>>11|0)|0];j=((I(j,g)>>>0)/255|0)+((I(j,n)>>>0)/255|0)|0;b=D[d+(b&31)|0];b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;B[a>>1]=k|(j>>>0>=255?255:j)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+f|0;c=c-1|0;if(c){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<1)|0)+(b<<1)|0;break s}a=(a+(I(e,f)<<1)|0)+(d<<1)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<1)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=g<<8&63488|(h<<3&4064|i>>>3);f=b-1|0;g=b&7;if(g){while(1){B[a>>1]=d;b=b-1|0;a=(e<<1)+a|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<1;while(1){B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:j=d-b|0;f=j>>31;l=e-c|0;m=l>>31;j=(f^j)-f|0;l=(l^m)-m|0;u:{if(j>>>0>=l>>>0){o=l-j|0;m=l<<1;f=m-j|0;l=1;break u}o=j-l|0;p=1;m=j<<1;f=m-l|0;j=l;l=0}j=((k|0)!=0)+j|0;if(!j){break a}e=(c|0)>(e|0);k=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;s=C[95538];e=C[95539];t=C[a+16>>2];r=C[a+20>>2];a=0;while(1){u=(r+I(c,t)|0)+(b<<1)|0;d=E[u>>1];B[u>>1]=((I(n,D[s+(d>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((I(n,D[e+(d>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((I(n,D[e+(d&31)|0])>>>0)/255|0)+i>>>3;d=(f|0)<0;f=(d?m:o)+f|0;b=(d?l:q)+b|0;c=(d?k:p)+c|0;a=a+1|0;if((j|0)!=(a|0)){continue}break};break a;case 1:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;v:{if(f>>>0>=l>>>0){o=l-f|0;m=l<<1;j=m-f|0;l=1;break v}o=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}k=((k|0)!=0)+f|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;s=C[95538];d=C[95539];t=C[a+16>>2];r=C[a+20>>2];a=0;while(1){u=(r+I(c,t)|0)+(b<<1)|0;e=E[u>>1];f=D[s+(e>>>5&63)|0]+h|0;v=(f>>>0>=255?255:f)<<3&2016;f=D[d+(e>>>11|0)|0]+g|0;e=D[d+(e&31)|0]+i|0;B[u>>1]=v|(f>>>0>=255?255:f)<<8&63488|(e>>>0>=255?255:e)>>>3;e=(j|0)<0;j=(e?m:o)+j|0;b=(e?l:q)+b|0;c=(e?n:p)+c|0;a=a+1|0;if((k|0)!=(a|0)){continue}break};break a;case 3:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;w:{if(f>>>0>=l>>>0){p=l-f|0;m=l<<1;j=m-f|0;l=1;break w}p=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;n=e?-1:1;o=d?-1:1;p=p<<1;q=C[95538];e=C[95539];s=C[a+16>>2];t=C[a+20>>2];a=0;while(1){r=(t+I(c,s)|0)+(b<<1)|0;d=E[r>>1];B[r>>1]=(I(D[q+(d>>>5&63)|0],h)>>>0)/255<<3&8160|(I(D[e+(d>>>11|0)|0],g)>>>0)/255<<8&63488|(I(D[e+(d&31)|0],i)>>>0)/255>>>3;d=(j|0)<0;j=(d?m:p)+j|0;b=(d?l:o)+b|0;c=(d?k:n)+c|0;a=a+1|0;if((f|0)!=(a|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;x:{if(m>>>0>=l>>>0){o=l-m|0;j=l<<1;f=j-m|0;l=1;break x}o=m-l|0;p=1;j=m<<1;f=j-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;s=d?-1:1;o=o<<1;t=C[95538];d=C[95539];r=C[a+16>>2];u=C[a+20>>2];a=0;while(1){v=(u+I(c,r)|0)+(b<<1)|0;e=E[v>>1];k=D[t+(e>>>5&63)|0];k=((I(k,h)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;w=(k>>>0>=255?255:k)<<3&2016;k=D[d+(e>>>11|0)|0];k=((I(k,g)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;e=D[d+(e&31)|0];e=((I(e,i)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;B[v>>1]=w|(k>>>0>=255?255:k)<<8&63488|(e>>>0>=255?255:e)>>>3;e=(f|0)<0;f=(e?j:o)+f|0;b=(e?l:s)+b|0;c=(e?p:q)+c|0;a=a+1|0;if((m|0)!=(a|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;y:{if(m>>>0>=l>>>0){o=l-m|0;f=l<<1;j=f-m|0;l=1;break y}o=m-l|0;p=1;f=m<<1;j=f-l|0;m=l;l=0}k=((k|0)!=0)+m|0;if(!k){break a}g=g<<8&63488|(h<<3&4064|i>>>3);h=C[a+16>>2];a=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;m=(b|0)>(d|0);d=m?0-l|0:l;i=i?-1:1;m=m?-1:1;l=o<<1;o=k&-2;n=0;while(1){B[(a+I(c,h)|0)+(b<<1)>>1]=g;p=c;c=(j|0)<0;p=p+(c?e:i)|0;b=(c?d:m)+b|0;B[(a+I(p,h)|0)+(b<<1)>>1]=g;j=(c?f:l)+j|0;c=(j|0)<0;j=(c?f:l)+j|0;b=b+(c?d:m)|0;c=p+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}B[(a+I(c,h)|0)+(b<<1)>>1]=g}}function Tz(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[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=(k|0)!=0;break c}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}a=a+e|0;if(!a){break a}b=C[95539];while(1){d=E[c>>1];B[c>>1]=((I(n,D[b+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[b+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[b+(d&31)|0])>>>0)/255|0)+i>>>3;c=c+2|0;a=a-1|0;if(a){continue}break};break a;case 1:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break d}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=C[95539];while(1){b=E[j>>1];c=D[a+(b>>>5&31)|0]+h|0;d=(c>>>0>=255?255:c)<<2&992;c=D[a+(b>>>10&31)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=d|(c>>>0>=255?255:c)<<7&31744|(b>>>0>=255?255:b)>>>3;j=j+2|0;e=e-1|0;if(e){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break e}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=C[95539];while(1){b=E[j>>1];B[j>>1]=(I(D[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=j+2|0;e=e-1|0;if(e){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(k|0)!=0;break f}c=(a+(d<<1)|0)+(!k<<1)|0;e=b-d|0;a=(k|0)!=0}a=a+e|0;if(!a){break a}b=C[95539];while(1){d=E[c>>1];e=D[b+(d>>>5&31)|0];e=((I(e,h)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<2&992;e=D[b+(d>>>10&31)|0];e=((I(e,g)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;d=D[b+(d&31)|0];d=((I(d,i)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;B[c>>1]=f|(e>>>0>=255?255:e)<<7&31744|(d>>>0>=255?255:d)>>>3;c=c+2|0;a=a-1|0;if(a){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;g:{if((b|0)<=(d|0)){e=(k|0)!=0;j=a+(b<<1)|0;a=d-b|0;break g}j=(a+(d<<1)|0)+(!k<<1)|0;e=(k|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}a=g<<7&64512|(h<<2&2016|i>>>3);c=b-1|0;d=b&7;if(d){i=0;while(1){B[j>>1]=a;j=j+2|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){B[j+14>>1]=a;B[j+12>>1]=a;B[j+10>>1]=a;B[j+8>>1]=a;B[j+6>>1]=a;B[j+4>>1]=a;B[j+2>>1]=a;B[j>>1]=a;j=j+16|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break i}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}c=C[95539];e=f<<1;while(1){d=E[b>>1];B[b>>1]=((I(n,D[c+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[c+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[c+(d&31)|0])>>>0)/255|0)+i>>>3;b=b+e|0;a=a-1|0;if(a){continue}break};break a;case 1:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break j}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}a=C[95539];c=b<<1;while(1){b=E[j>>1];d=D[a+(b>>>5&31)|0]+h|0;f=(d>>>0>=255?255:d)<<2&992;d=D[a+(b>>>10&31)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=f|(d>>>0>=255?255:d)<<7&31744|(b>>>0>=255?255:b)>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 3:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<1)|0)+(d<<1)|0;a=e-c|0;break k}j=((a+(I(b,e)<<1)|0)+(d<<1)|0)+((k?0:b)<<1)|0;a=c-e|0}e=a+((k|0)!=0)|0;if(!e){break a}a=C[95539];c=b<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<1)|0)+(d<<1)|0;a=e-c|0;break l}b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}c=C[95539];e=f<<1;while(1){d=E[b>>1];f=D[c+(d>>>5&31)|0];f=((I(f,h)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;j=(f>>>0>=255?255:f)<<2&992;f=D[c+(d>>>10&31)|0];f=((I(f,g)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;d=D[c+(d&31)|0];d=((I(d,i)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;B[b>>1]=j|(f>>>0>=255?255:f)<<7&31744|(d>>>0>=255?255:d)>>>3;b=b+e|0;a=a-1|0;if(a){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<1)|0)+(d<<1)|0;break m}j=c-e|0;b=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:f)<<1)|0}e=0;c=((k|0)!=0)+j|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|i>>>3);d=c-1|0;g=c&7;if(g){while(1){B[b>>1]=a;c=c-1|0;b=(f<<1)+b|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(d>>>0<7){break a}d=f<<1;while(1){B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;B[b>>1]=a;b=b+d|0;c=c-8|0;if(c){continue}break}break a}o=b-d|0;j=o>>31;m=c-e|0;l=m>>31;if(((j^o)-j|0)==((l^m)-l|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}c=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}b=C[95539];d=c<<1;while(1){c=E[a>>1];B[a>>1]=((I(n,D[b+(c>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[b+(c>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[b+(c&31)|0])>>>0)/255|0)+i>>>3;a=a+d|0;e=e-1|0;if(e){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break p}c=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}a=C[95539];c=c<<1;while(1){b=E[j>>1];d=D[a+(b>>>5&31)|0]+h|0;f=(d>>>0>=255?255:d)<<2&992;d=D[a+(b>>>10&31)|0]+g|0;b=D[a+(b&31)|0]+i|0;B[j>>1]=f|(d>>>0>=255?255:d)<<7&31744|(b>>>0>=255?255:b)>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break q}c=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}a=C[95539];c=c<<1;while(1){b=E[j>>1];B[j>>1]=(I(D[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[a+(b&31)|0],i)>>>0)/255>>>3;j=c+j|0;e=e-1|0;if(e){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<1)|0)+(b<<1)|0;m=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break r}c=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<1)|0)+(d<<1)|0)+((k?0:c)<<1)|0}e=((k|0)!=0)+m|0;if(!e){break a}b=C[95539];d=c<<1;while(1){c=E[a>>1];f=D[b+(c>>>5&31)|0];f=((I(f,h)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;j=(f>>>0>=255?255:f)<<2&992;f=D[b+(c>>>10&31)|0];f=((I(f,g)>>>0)/255|0)+((I(f,n)>>>0)/255|0)|0;c=D[b+(c&31)|0];c=((I(c,i)>>>0)/255|0)+((I(c,n)>>>0)/255|0)|0;B[a>>1]=j|(f>>>0>=255?255:f)<<7&31744|(c>>>0>=255?255:c)>>>3;a=a+d|0;e=e-1|0;if(e){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<1)|0)+(b<<1)|0;break s}a=(a+(I(e,f)<<1)|0)+(d<<1)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<1)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=g<<7&64512|(h<<2&2016|i>>>3);f=b-1|0;g=b&7;if(g){while(1){B[a>>1]=d;b=b-1|0;a=(e<<1)+a|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<1;while(1){B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;B[a>>1]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:j=d-b|0;f=j>>31;l=e-c|0;m=l>>31;j=(f^j)-f|0;l=(l^m)-m|0;u:{if(j>>>0>=l>>>0){o=l-j|0;m=l<<1;f=m-j|0;l=1;break u}o=j-l|0;p=1;m=j<<1;f=m-l|0;j=l;l=0}j=((k|0)!=0)+j|0;if(!j){break a}e=(c|0)>(e|0);k=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;e=C[95539];s=C[a+16>>2];r=C[a+20>>2];d=0;while(1){t=(r+I(c,s)|0)+(b<<1)|0;a=E[t>>1];B[t>>1]=((I(n,D[e+(a>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((I(n,D[e+(a>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((I(n,D[e+(a&31)|0])>>>0)/255|0)+i>>>3;a=(f|0)<0;f=(a?m:o)+f|0;b=(a?l:q)+b|0;c=(a?k:p)+c|0;d=d+1|0;if((j|0)!=(d|0)){continue}break};break a;case 1:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;v:{if(f>>>0>=l>>>0){o=l-f|0;m=l<<1;j=m-f|0;l=1;break v}o=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}k=((k|0)!=0)+f|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;e=C[95539];s=C[a+16>>2];r=C[a+20>>2];d=0;while(1){t=(r+I(c,s)|0)+(b<<1)|0;a=E[t>>1];f=D[e+(a>>>5&31)|0]+h|0;u=(f>>>0>=255?255:f)<<2&992;f=D[e+(a>>>10&31)|0]+g|0;a=D[e+(a&31)|0]+i|0;B[t>>1]=u|(f>>>0>=255?255:f)<<7&31744|(a>>>0>=255?255:a)>>>3;a=(j|0)<0;j=(a?m:o)+j|0;b=(a?l:q)+b|0;c=(a?n:p)+c|0;d=d+1|0;if((k|0)!=(d|0)){continue}break};break a;case 3:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;w:{if(f>>>0>=l>>>0){p=l-f|0;m=l<<1;j=m-f|0;l=1;break w}p=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;n=e?-1:1;o=d?-1:1;p=p<<1;e=C[95539];q=C[a+16>>2];s=C[a+20>>2];d=0;while(1){r=(s+I(c,q)|0)+(b<<1)|0;a=E[r>>1];B[r>>1]=(I(D[e+(a>>>5&31)|0],h)>>>0)/255<<2&4064|(I(D[e+(a>>>10&31)|0],g)>>>0)/255<<7&64512|(I(D[e+(a&31)|0],i)>>>0)/255>>>3;a=(j|0)<0;j=(a?m:p)+j|0;b=(a?l:o)+b|0;c=(a?k:n)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;x:{if(m>>>0>=l>>>0){o=l-m|0;j=l<<1;f=j-m|0;l=1;break x}o=m-l|0;p=1;j=m<<1;f=j-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;s=d?-1:1;o=o<<1;e=C[95539];r=C[a+16>>2];t=C[a+20>>2];d=0;while(1){u=(t+I(c,r)|0)+(b<<1)|0;a=E[u>>1];k=D[e+(a>>>5&31)|0];k=((I(k,h)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;v=(k>>>0>=255?255:k)<<2&992;k=D[e+(a>>>10&31)|0];k=((I(k,g)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;a=D[e+(a&31)|0];a=((I(a,i)>>>0)/255|0)+((I(a,n)>>>0)/255|0)|0;B[u>>1]=v|(k>>>0>=255?255:k)<<7&31744|(a>>>0>=255?255:a)>>>3;a=(f|0)<0;f=(a?j:o)+f|0;b=(a?l:s)+b|0;c=(a?p:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;y:{if(m>>>0>=l>>>0){o=l-m|0;f=l<<1;j=f-m|0;l=1;break y}o=m-l|0;p=1;f=m<<1;j=f-l|0;m=l;l=0}k=((k|0)!=0)+m|0;if(!k){break a}g=g<<7&64512|(h<<2&2016|i>>>3);h=C[a+16>>2];a=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;m=(b|0)>(d|0);d=m?0-l|0:l;i=i?-1:1;m=m?-1:1;l=o<<1;o=k&-2;n=0;while(1){B[(a+I(c,h)|0)+(b<<1)>>1]=g;p=c;c=(j|0)<0;p=p+(c?e:i)|0;b=(c?d:m)+b|0;B[(a+I(p,h)|0)+(b<<1)>>1]=g;j=(c?f:l)+j|0;c=(j|0)<0;j=(c?f:l)+j|0;b=b+(c?d:m)|0;c=p+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}B[(a+I(c,h)|0)+(b<<1)>>1]=g}}function UC(a){a=a|0;var 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;a:{j=D[a+63|0];if(!j){break a}q=C[a+28>>2];if(!q){break a}s=C[a+36>>2];g=C[a+20>>2];t=C[a+16>>2];i=C[a>>2];c=C[a+24>>2];u=c&3;v=(c+3|0)/4|0;d=C[a+40>>2];o=D[d+9|0];r=o-1|0;b=C[a+44>>2];p=D[b+9|0];n=p-1|0;while(1){q=q-1|0;a=v;b:{c:{switch(u-1|0){default:h=3;break b;case 0:h=2;break b;case 1:h=1;break b;case 2:break c}}h=0}while(1){d:{e:{switch(h|0){case 0:h=0;e=0;f=0;c=0;f:{g:{h:{switch(r|0){case 0:c=D[i|0];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break g;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break g;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break g;case 3:break h;default:break f}}c=C[i>>2];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;i:{j:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break i;case 3:break j;default:break i}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;k:{l:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break k;case 3:break l;default:break k}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break n;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break n;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break n;case 3:break o;default:break m}}c=C[i>>2];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;p:{q:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break p;case 3:break q;default:break p}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;r:{s:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break r;case 3:break s;default:break r}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break u;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break u;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break u;case 3:break v;default:break t}}c=C[i>>2];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;w:{x:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break w;case 3:break x;default:break w}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;y:{z:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break y;case 3:break z;default:break y}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break B;case 1:c=E[i>>1];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0;break B;case 2:e=(D[d+34|0]>>>3|0)+i|0;f=(D[d+33|0]>>>3|0)+i|0;c=(D[d+32|0]>>>3|0)+i|0;break B;case 3:break C;default:break A}}c=C[i>>2];e=C[(D[d+30|0]<<2)+382144>>2]+((c&C[d+20>>2])>>>D[d+34|0]|0)|0;f=C[(D[d+29|0]<<2)+382144>>2]+((c&C[d+16>>2])>>>D[d+33|0]|0)|0;c=C[(D[d+28|0]<<2)+382144>>2]+((c&C[d+12>>2])>>>D[d+32|0]|0)|0}e=D[e|0];f=D[f|0];c=D[c|0]}k=e&255;l=f&255;m=c;e=0;f=0;c=0;D:{E:{switch(n|0){case 0:c=D[g|0];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 1:c=E[g>>1];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 2:e=D[(D[b+34|0]>>>3|0)+g|0];f=D[(D[b+33|0]>>>3|0)+g|0];c=D[(D[b+32|0]>>>3|0)+g|0];h=255;break D;case 3:break E;default:break D}}c=C[g>>2];h=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];e=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];f=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}h=(h+j|0)-((I(h,j)>>>0)/255|0)&255;k=((I(k-(e&255)|0,j)|0)/255|0)+e|0;e=k&255;l=((I(l-(f&255)|0,j)|0)/255|0)+f|0;f=l&255;m=((I(m-c|0,j)|0)/255|0)+c|0;c=m&255;F:{G:{switch(n|0){case 0:A[g|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+g|0]=m;A[(D[b+33|0]>>>3|0)+g|0]=l;A[(D[b+34|0]>>>3|0)+g|0]=k;break F;case 3:break G;default:break F}}C[g>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}o=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];C[c>>2]=((I(o,b>>>24|0)>>>0)/255|0)+j<<24|((I(o,b&255)>>>0)/255|0)+i|((I(o,b>>>16&255)>>>0)/255|0)+g<<16|((I(o,b>>>8&255)>>>0)/255|0)+h<<8;c=c+4|0;a=a-1|0;if(a){continue}break};break a;case 1:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){j=d-b|0;l=a+(b<<2)|0;a=(k|0)!=0;break d}l=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}while(1){a=C[l>>2];c=(a>>>16&255)+g|0;d=(c>>>0>=255?255:c)<<16|a&-16777216;c=(a>>>8&255)+h|0;a=(a&255)+i|0;C[l>>2]=d|(c>>>0>=255?255:c)<<8|(a>>>0>=255?255:a);l=l+4|0;b=b-1|0;if(b){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){j=d-b|0;l=a+(b<<2)|0;a=(k|0)!=0;break e}l=(a+(d<<2)|0)+(!k<<2)|0;j=b-d|0;a=(k|0)!=0}b=a+j|0;if(!b){break a}while(1){a=C[l>>2];C[l>>2]=(I(a&255,i)>>>0)/255|a&-16777216|(I(a>>>16&255,g)>>>0)/255<<16|(I(a>>>8&255,h)>>>0)/255<<8;l=l+4|0;b=b-1|0;if(b){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];d=b>>>16&255;d=((I(d,g)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;e=(d>>>0>=255?255:d)<<16;d=b>>>24|0;d=((I(d,j)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;e=e|(d>>>0>=255?255:d)<<24;d=b>>>8&255;d=((I(d,h)>>>0)/255|0)+((I(d,o)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[c>>2]=e|(d>>>0>=255?255:d)<<8|(b>>>0>=255?255:b);c=c+4|0;a=a-1|0;if(a){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(k|0)!=0;break g}l=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=j<<24|h<<8|g<<16|i;c=b-1|0;d=b&7;if(d){i=0;while(1){C[l>>2]=a;l=l+4|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){C[l+28>>2]=a;C[l+24>>2]=a;C[l+20>>2]=a;C[l+16>>2]=a;C[l+12>>2]=a;C[l+8>>2]=a;C[l+4>>2]=a;C[l>>2]=a;l=l+32|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];C[b>>2]=((I(o,c>>>24|0)>>>0)/255|0)+j<<24|((I(o,c&255)>>>0)/255|0)+i|((I(o,c>>>16&255)>>>0)/255|0)+g<<16|((I(o,c>>>8&255)>>>0)/255|0)+h<<8;b=b+d|0;a=a-1|0;if(a){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break j}l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}c=f<<2;while(1){a=C[l>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16|a&-16777216;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[l>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break k}l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}b=a+((k|0)!=0)|0;if(!b){break a}c=f<<2;while(1){a=C[l>>2];C[l>>2]=(I(a&255,i)>>>0)/255|a&-16777216|(I(a>>>16&255,g)>>>0)/255<<16|(I(a>>>8&255,h)>>>0)/255<<8;l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];e=c>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=c>>>24|0;e=((I(e,j)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=f|(e>>>0>=255?255:e)<<24;e=c>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;c=c&255;c=((I(c,i)>>>0)/255|0)+((I(c,o)>>>0)/255|0)|0;C[b>>2]=f|(e>>>0>=255?255:e)<<8|(c>>>0>=255?255:c);b=b+d|0;a=a-1|0;if(a){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){l=e-c|0;b=(a+(I(c,f)<<2)|0)+(d<<2)|0;break m}l=c-e|0;b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0}a=0;c=((k|0)!=0)+l|0;if(!c){break a}d=j<<24|h<<8|g<<16|i;e=c-1|0;g=c&7;if(g){h=f<<2;while(1){C[b>>2]=d;c=c-1|0;b=b+h|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(e>>>0<7){break a}a=f<<2;while(1){C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;c=c-8|0;if(c){continue}break}break a}r=b-d|0;l=r>>31;m=c-e|0;n=m>>31;if(((l^r)-l|0)==((m^n)-n|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];C[a>>2]=((I(o,b>>>24|0)>>>0)/255|0)+j<<24|((I(o,b&255)>>>0)/255|0)+i|((I(o,b>>>16&255)>>>0)/255|0)+g<<16|((I(o,b>>>8&255)>>>0)/255|0)+h<<8;a=a+d|0;c=c-1|0;if(c){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){m=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;l=(a+(I(c,f)<<2)|0)+(b<<2)|0;break p}j=f+((b|0)<(d|0)?-1:1)|0;l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+m|0;if(!b){break a}c=j<<2;while(1){a=C[l>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16|a&-16777216;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[l>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){m=e-c|0;j=f+((b|0)>(d|0)?-1:1)|0;l=(a+(I(c,f)<<2)|0)+(b<<2)|0;break q}j=f+((b|0)<(d|0)?-1:1)|0;l=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:j)<<2)|0}b=((k|0)!=0)+m|0;if(!b){break a}c=j<<2;while(1){a=C[l>>2];C[l>>2]=(I(a&255,i)>>>0)/255|a&-16777216|(I(a>>>16&255,g)>>>0)/255<<16|(I(a>>>8&255,h)>>>0)/255<<8;l=c+l|0;b=b-1|0;if(b){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];e=b>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=b>>>24|0;e=((I(e,j)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;f=f|(e>>>0>=255?255:e)<<24;e=b>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,o)>>>0)/255|0)|0;C[a>>2]=f|(e>>>0>=255?255:e)<<8|(b>>>0>=255?255:b);a=a+d|0;c=c-1|0;if(c){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<2)|0)+(b<<2)|0;break s}a=(a+(I(e,f)<<2)|0)+(d<<2)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<2)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=j<<24|h<<8|g<<16|i;f=b-1|0;g=b&7;if(g){h=e<<2;while(1){C[a>>2]=d;b=b-1|0;a=a+h|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<2;while(1){C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:m=d-b|0;f=m>>31;p=e-c|0;l=p>>31;n=(f^m)-f|0;l=(l^p)-l|0;u:{if(n>>>0>=l>>>0){p=l-n|0;m=l<<1;f=m-n|0;l=1;break u}p=n-l|0;q=1;m=n<<1;f=m-l|0;n=l;l=0}k=((k|0)!=0)+n|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;r=d?-1:1;p=p<<1;s=C[a+20>>2];d=0;while(1){t=(s+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[t>>2];C[t>>2]=((I(o,e&255)>>>0)/255|0)+i|((I(o,e>>>24|0)>>>0)/255|0)+j<<24|((I(o,e>>>16&255)>>>0)/255|0)+g<<16|((I(o,e>>>8&255)>>>0)/255|0)+h<<8;e=(f|0)<0;f=(e?m:p)+f|0;b=(e?l:r)+b|0;c=(e?n:q)+c|0;d=d+1|0;if((k|0)!=(d|0)){continue}break};break a;case 1:l=d-b|0;f=l>>31;m=e-c|0;j=m>>31;l=(f^l)-f|0;f=(j^m)-j|0;v:{if(l>>>0>=f>>>0){q=f-l|0;m=f<<1;j=m-l|0;n=0;f=1;break v}q=l-f|0;n=1;m=l<<1;j=m-f|0;l=f;f=0}k=((k|0)!=0)+l|0;if(!k){break a}e=(c|0)>(e|0);l=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-f|0:f;o=e?-1:1;p=d?-1:1;q=q<<1;r=C[a+20>>2];e=0;while(1){s=(r+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[s>>2];f=(d>>>16&255)+g|0;t=d&-16777216|(f>>>0>=255?255:f)<<16;f=(d>>>8&255)+h|0;d=(d&255)+i|0;C[s>>2]=t|(f>>>0>=255?255:f)<<8|(d>>>0>=255?255:d);d=(j|0)<0;j=(d?m:q)+j|0;b=(d?n:p)+b|0;c=(d?l:o)+c|0;e=e+1|0;if((k|0)!=(e|0)){continue}break};break a;case 3:l=d-b|0;f=l>>31;m=e-c|0;j=m>>31;l=(f^l)-f|0;f=(j^m)-j|0;w:{if(l>>>0>=f>>>0){p=f-l|0;m=f<<1;j=m-l|0;n=0;f=1;break w}p=l-f|0;n=1;m=l<<1;j=m-f|0;l=f;f=0}k=((k|0)!=0)+l|0;if(!k){break a}e=(c|0)>(e|0);l=e?0-n|0:n;d=(b|0)>(d|0);f=d?0-f|0:f;n=e?-1:1;o=d?-1:1;q=p<<1;p=C[a+20>>2];e=0;while(1){r=(p+I(C[a+16>>2],c)|0)+(b<<2)|0;d=C[r>>2];C[r>>2]=(I(d&255,i)>>>0)/255|d&-16777216|(I(d>>>16&255,g)>>>0)/255<<16|(I(d>>>8&255,h)>>>0)/255<<8;d=(j|0)<0;j=(d?m:q)+j|0;b=(d?f:o)+b|0;c=(d?l:n)+c|0;e=e+1|0;if((k|0)!=(e|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;n=e-c|0;l=n>>31;m=(f^m)-f|0;l=(l^n)-l|0;x:{if(m>>>0>=l>>>0){p=l-m|0;n=l<<1;f=n-m|0;l=1;break x}p=m-l|0;q=1;n=m<<1;f=n-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;r=e?-1:1;s=d?-1:1;p=p<<1;t=C[a+20>>2];d=0;while(1){v=(t+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[v>>2];k=e>>>16&255;k=((I(k,g)>>>0)/255|0)+((I(k,o)>>>0)/255|0)|0;u=(k>>>0>=255?255:k)<<16;k=e>>>24|0;k=((I(k,j)>>>0)/255|0)+((I(k,o)>>>0)/255|0)|0;u=u|(k>>>0>=255?255:k)<<24;k=e>>>8&255;k=((I(k,h)>>>0)/255|0)+((I(k,o)>>>0)/255|0)|0;e=e&255;e=((I(e,i)>>>0)/255|0)+((I(e,o)>>>0)/255|0)|0;C[v>>2]=u|(k>>>0>=255?255:k)<<8|(e>>>0>=255?255:e);e=(f|0)<0;f=(e?n:p)+f|0;b=(e?l:s)+b|0;c=(e?q:r)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;n=e-c|0;l=n>>31;m=(f^m)-f|0;n=(l^n)-l|0;y:{if(m>>>0>=n>>>0){q=n-m|0;f=n<<1;l=f-m|0;n=1;break y}q=m-n|0;p=1;f=m<<1;l=f-n|0;m=n;n=0}k=((k|0)!=0)+m|0;if(!k){break a}g=j<<24|h<<8|g<<16|i;h=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;j=(b|0)>(d|0);d=j?0-n|0:n;i=i?-1:1;j=j?-1:1;m=q<<1;o=k&-2;n=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g;p=c;c=(l|0)<0;q=p+(c?e:i)|0;b=(c?d:j)+b|0;C[(h+I(q,C[a+16>>2])|0)+(b<<2)>>2]=g;l=(c?f:m)+l|0;c=(l|0)<0;l=(c?f:m)+l|0;b=b+(c?d:j)|0;c=q+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g}}function kO(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,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Ce-208|0;Ce=h;e=B[b+2>>1];if(!(!e|!E[b>>1])){p(h+12|0,0,128);w=C[c>>2];C[h+28>>2]=w;y=h,z=Ve(w,40,0,e,0,h+144|0),C[y+20>>2]=z;s=C[h+144>>2];a:{if(s){break a}f=Ve(w,8,0,B[b>>1],0,h+144|0);C[h+24>>2]=f;s=C[h+144>>2];if(s){break a}r=B[b+2>>1];C[h+12>>2]=r;e=B[b>>1];C[h+16>>2]=e;u=C[h+20>>2];if(e){m=e>>>0<=1?1:e;v=C[b+12>>2];while(1){o=B[v+(l<<1)>>1];n=u+I(k,40)|0;C[f>>2]=n;t=o+1|0;j=t-k|0;C[f+4>>2]=j;if(j){C[n>>2]=u+I(o,40);C[n+8>>2]=f;g=n;b:{if((j|0)==1){break b}i=0;e=n;q=o-k&3;if(q){while(1){C[e+48>>2]=f;g=e+40|0;C[e+4>>2]=g;C[e+40>>2]=e;j=j-1|0;e=g;i=i+1|0;if((q|0)!=(i|0)){continue}break}}if(o+(k^-1)>>>0<3){break b}while(1){C[e+48>>2]=f;g=e+40|0;C[e+4>>2]=g;C[e+88>>2]=f;C[e+80>>2]=g;g=e+80|0;C[e+44>>2]=g;C[e+128>>2]=f;C[e+120>>2]=g;g=e+120|0;C[e+84>>2]=g;C[e+168>>2]=f;C[e+160>>2]=g;g=e+160|0;C[e+124>>2]=g;C[e+40>>2]=e;e=g;j=j-4|0;if(j>>>0>1){continue}break}}C[g+4>>2]=n}f=f+8|0;k=t;l=l+1|0;if((m|0)!=(l|0)){continue}break}}c:{if(!r){C[h+36>>2]=c;C[h+32>>2]=b;break c}v=C[b+4>>2];f=0;e=u;while(1){l=(C[e+4>>2]-u|0)/40|0;g=(C[e>>2]-u|0)/40|0;if(!(A[C[b+8>>2]+f|0]&1)){C[e+12>>2]=1}i=v+(f<<3)|0;n=C[i+4>>2];g=v+(g<<3)|0;q=n-C[g+4>>2]|0;k=q>>31;j=C[i>>2];t=j-C[g>>2]|0;g=t>>31;i=(g^t)-g|0;k=(k^q)-k|0;g=(t|0)>=0?2:-2;d:{if(i>>>0>I(k,12)>>>0){break d}g=4;if(k>>>0<=I(i,12)>>>0){break d}g=(q|0)>=0?-1:1}A[e+20|0]=g;i=v+(l<<3)|0;l=C[i+4>>2]-n|0;k=l>>31;n=C[i>>2]-j|0;i=n>>31;j=(k^l)-k|0;k=(i^n)-i|0;i=(n|0)>=0?2:-2;e:{if(I(j,12)>>>0>>0){break e}i=4;if(j>>>0<=I(k,12)>>>0){break e}i=(l|0)>=0?-1:1}A[e+21|0]=i;o=C[e+12>>2];f:{g:{if(o&1){break g}if((g|0)!=(i|0)){break f}if((i|0)!=4){break g}if(!Yy(t,q,n,l)){break f}o=C[e+12>>2]}C[e+12>>2]=o|2}e=e+40|0;f=f+1|0;g=C[h+12>>2];if(f>>>0>>0){continue}break}C[h+36>>2]=c;C[h+32>>2]=b;if(!g){break c}f=C[b+4>>2];e=C[h+20>>2];k=g&3;h:{if(!k){j=g;break h}i=0;j=g;while(1){C[e+24>>2]=0;C[e+16>>2]=0;b=C[f+4>>2];C[e+28>>2]=C[f>>2];C[e+32>>2]=b;f=f+8|0;e=e+40|0;j=j-1|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}if(g>>>0<4){break c}while(1){C[e+24>>2]=0;C[e+16>>2]=0;g=C[f+4>>2];b=C[f>>2];C[e- -64>>2]=0;C[e+56>>2]=0;C[e+28>>2]=b;C[e+32>>2]=g;g=C[f+12>>2];b=C[f+8>>2];C[e+96>>2]=0;C[e+104>>2]=0;C[e+68>>2]=b;C[e+72>>2]=g;g=C[f+20>>2];b=C[f+16>>2];C[e+136>>2]=0;C[e+144>>2]=0;C[e+108>>2]=b;C[e+112>>2]=g;b=C[f+28>>2];C[e+148>>2]=C[f+24>>2];C[e+152>>2]=b;f=f+32|0;e=e+160|0;j=j-4|0;if(j){continue}break}}if(C[h+16>>2]){r=0;while(1){b=C[h+24>>2]+(r<<3)|0;i:{if(F[b+4>>2]<4){break i}b=C[b>>2];e=b;while(1){e=C[e+4>>2];if((b|0)==(e|0)){break i}k=C[e+28>>2];i=C[b+28>>2];g=C[b+32>>2];f=C[e+32>>2];if((k|0)==(i|0)&(g|0)==(f|0)){continue}break}l=f-g|0;i=k-i|0;k=b;while(1){n=k;k=C[k>>2];if((b|0)==(k|0)){break i}f=C[n+28>>2]-C[k+28>>2]|0;j=C[n+32>>2]-C[k+32>>2]|0;if(!(f|j)){continue}g=Zy(i,l,f,j);if(!g){continue}break}b=n;while(1){m=g;v=j;q=f;l=b;k=0;while(1){g=C[e+32>>2];i=C[e+28>>2];while(1){b=e;e=C[e+4>>2];u=C[e+32>>2];j=u-g|0;t=C[e+28>>2];f=t-i|0;k=(e|0)==(n|0)?1:k;g=u;i=t;if(!(f|j)){continue}break}g=Zy(q,v,f,j);if(!g){continue}break}if((g^m)<0){while(1){C[l+12>>2]=C[l+12>>2]|4;l=C[l+4>>2];if((l|0)!=(b|0)){continue}break}C[b+12>>2]=C[b+12>>2]|4}if(!k){continue}break}}r=r+1|0;if(r>>>0>2]){continue}break}}s=ix(h+40|0,a+16|0,a+28|0,w);C[h+144>>2]=s;if(s){break a}s=ix(h+80|0,a+52|0,a- -64|0,w);if(s){break a}a=C[h+36>>2];w=C[a+200>>2];n=c+416|0;v=C[a+404>>2];e=Te(C[n>>2],v);b=e+32&-64;u=!b|(b|0)==(e|0);if(!u){a=of(v,b,e);Ip(C[h+36>>2],(b|0)<(e|0)?w+((w|0)/-50|0)|0:w,a,0,0)}B[h+132>>1]=257;A[h+136|0]=(d|0)!=1;A[h+135|0]=(d|0)==2|(d|0)==4;A[h+134|0]=(d&-2)==2;t=c+932|0;s=1;g=0;while(1){k=C[h+12>>2];j:{if(!k){break j}f=C[C[h+32>>2]+4>>2];e=C[h+20>>2];if(k&1){C[e+24>>2]=0;C[e+16>>2]=0;b=s&1;a=C[(b?0:4)+f>>2];C[e+32>>2]=C[(b?4:0)+f>>2];C[e+28>>2]=a;f=f+8|0;e=e+40|0;i=k-1|0}else{i=k}if((k|0)==1){break j}while(1){C[e+24>>2]=0;C[e+16>>2]=0;a=f+4|0;d=s&1;b=C[(d?f:a)>>2];a=C[(d?a:f)>>2];C[e- -64>>2]=0;C[e+56>>2]=0;C[e+32>>2]=a;C[e+28>>2]=b;a=C[(d?8:12)+f>>2];C[e+72>>2]=C[(d?12:8)+f>>2];C[e+68>>2]=a;f=f+16|0;e=e+80|0;i=i-2|0;if(i){continue}break}}l=C[h+16>>2];k:{if(!l){d=0;break k}b=0;i=C[h+24>>2];while(1){l:{a=i+(b<<3)|0;if(!C[a+4>>2]){break l}a=C[a>>2];f=a;while(1){f=C[f>>2];if((a|0)==(f|0)){d=b+1|0;break k}if(C[f+28>>2]==C[a+28>>2]){continue}break}a=C[f+4>>2];e=a;while(1){j=e;while(1){e=C[e+4>>2];if((a|0)==(e|0)){break l}d=C[e+28>>2];q=C[j+28>>2];if((d|0)==(q|0)){continue}break}m:{n:{if((q|0)>C[f+28>>2]){if((d|0)<(q|0)){break n}break m}if((d|0)<=(q|0)){break m}}while(1){C[j+16>>2]=C[j+16>>2]|64;j=C[j+4>>2];if((j|0)!=(e|0)){continue}break}}f=C[e>>2];continue}}d=0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}while(1){if(d>>>0>>0){e=C[h+20>>2];b=I(d,40);a=e+b|0;f=C[a+16>>2];o:{if(!(f&64)){break o}b=b+e|0;e=a;while(1){e=C[e>>2];if((a|0)==(e|0)){break o}i=C[e+32>>2];j=C[b+32>>2];if((i|0)==(j|0)){continue}break}e=a;while(1){e=C[e+4>>2];if((a|0)==(e|0)){break o}b=C[e+32>>2];if((b|0)==(j|0)){continue}break}p:{if((j|0)>(i|0)){e=128;if((b|0)>(j|0)){break p}}if((j|0)>=(i|0)){break o}e=256;if((b|0)>=(j|0)){break o}}C[a+16>>2]=e|f}d=d+1|0;continue}break}j=C[h+36>>2];l=(h+12|0)+I(g,40)|0;m=l+28|0;f=C[m>>2];if(f){e=C[l+36>>2];while(1){hx(e,j,g,h+12|0);e=e+28|0;f=f-1|0;if(f){continue}break}j=C[h+36>>2]}a=C[l+60>>2];e=C[a+8>>2];i=C[a>>2];o=I(g,204);a=Ze(32,C[(o+j|0)+200>>2]);k=(a|0)>=30?30:a;q=s&1;d=q?1:2;q:{r:{s:{if(i>>>0>=2){b=C[h+12>>2];if(!b){a=0;break q}a=C[e+12>>2];f=a>>>0>>0?a:b;while(1){a=e;e=e+16|0;b=C[a+28>>2];a=C[h+12>>2];a=a>>>0>b>>>0?b:a;if(a>>>0>f>>>0){b=C[h+20>>2];gx(m,e);fx(m,b+I(f,40)|0,a-f|0,k,d)}f=a;i=i-1|0;if(i>>>0>1){continue}break}break s}if((i|0)!=1){break r}}b=C[h+20>>2];a=C[h+12>>2];gx(m,C[C[l+60>>2]+8>>2]);fx(m,b,a,k,d)}a=C[h+12>>2];if(!a){a=0;break q}e=C[h+20>>2];if(a&1){t:{if(!C[e+24>>2]){break t}b=C[e+16>>2];if(b&16){break t}C[e+16>>2]=b|16}e=e+40|0;f=a-1|0}else{f=a}if((a|0)==1){break q}while(1){u:{if(!C[e+24>>2]){break u}b=C[e+16>>2];if(b&16){break u}C[e+16>>2]=b|16}v:{if(!C[e- -64>>2]){break v}b=C[e+56>>2];if(b&16){break v}C[e+56>>2]=b|16}e=e+80|0;f=f-2|0;if(f){continue}break}}w:{if(g&1){b=0;if(!a){break w}j=C[h+20>>2];l=a;while(1){b=D[j+20|0];x:{y:{if((b|0)==2|(b|0)==254){break y}b=D[j+21|0];if((b|0)==254){break y}if((b|0)!=2){break x}}k=C[j+16>>2];if(k&16){break x}m=C[j+28>>2];g=C[c+412>>2];z:{if(!g){break z}f=C[c+2488>>2];d=0-f|0;e=n;while(1){b=m-C[e+12>>2]|0;if((b|0)<(d|0)){break z}if(!(!D[c+2492|0]&(b|0)>C[c+2484>>2]|(m|0)>(f+C[e+8>>2]|0))){b=C[e+24>>2];k=k|48;C[j+16>>2]=k;C[j+36>>2]=b}e=e+32|0;g=g-1|0;if(g){continue}break}}g=C[c+928>>2];if(!g){break x}f=C[c+2488>>2];e=0-f|0;i=(g<<5)+t|0;while(1){b=i;i=b-32|0;d=C[i+8>>2]-m|0;if((d|0)<(e|0)){break x}if(!(!D[c+2492|0]&(d|0)>=C[c+2484>>2]|(m|0)<(C[b-20>>2]-f|0))){b=C[b-4>>2];k=k|48;C[j+16>>2]=k;C[j+36>>2]=b}g=g-1|0;if(g){continue}break}}j=j+40|0;l=l-1|0;if(l){continue}break}}b=0;if(!a){break w}g=C[(o+C[h+36>>2]|0)+200>>2];e=C[h+20>>2];while(1){k=C[e+24>>2];if(k){b=C[e+16>>2];d=C[k+8>>2];A:{if(b&512){break A}d=C[k+12>>2]+C[k+8>>2]|0;if(b&1024){break A}i=C[e+28>>2]-C[k>>2]|0;if((i|0)<=0){d=C[k+8>>2]+Te(i,g)|0;break A}f=C[k+12>>2];d=C[k+8>>2];b=C[k+4>>2];if((b|0)<=(i|0)){d=Te(i-b|0,g)+(d+f|0)|0;break A}d=of(i,f,b)+d|0}C[e+36>>2]=d;C[e+16>>2]=C[e+16>>2]|32}e=e+40|0;a=a-1|0;if(a){continue}break}b=C[h+12>>2]}a=b;B:{if((a|0)<=0){break B}d=C[h+20>>2];r=d+I(a,40)|0;f=0;e=d;while(1){f=(C[e+16>>2]>>>4&1)+f|0;e=e+40|0;if(r>>>0>e>>>0){continue}break}if(!f){break B}k=C[(o+C[h+36>>2]|0)+200>>2];m=C[h+28>>2];j=h+144|0;if(f>>>0>=17){j=Ve(m,4,0,f,0,h+140|0);if(C[h+140>>2]){break B}}i=0;b=d;while(1){if(D[b+16|0]&16){e=(i<<2)+j|0;C:{if((i|0)<=0){f=e;break C}g=C[b+28>>2];while(1){f=e-4|0;a=C[f>>2];if((g|0)>=C[a+28>>2]){f=e;break C}C[e>>2]=a;e=f;if(j>>>0>>0){continue}break}}C[f>>2]=b;i=i+1|0}b=b+40|0;if(r>>>0>b>>>0){continue}break}f=((i<<2)+j|0)-4|0;while(1){b=C[d+16>>2];D:{if(b&16){break D}e=C[d+12>>2];if(e&2){a=D[d+20|0];if(!(b&64|e&4)|((a|0)==4|(a|0)!=D[d+21|0])){break D}C[d+12>>2]=e&-3}x=C[d+28>>2];e=0;E:{F:{if(i){G:{while(1){if((x|0)>2]+28>>2]){break G}e=e+1|0;if((i|0)!=(e|0)){continue}break}e=i}if(e){break F}}a=C[j>>2];b=C[a+36>>2]+Te(x-C[a+28>>2]|0,k)|0;break E}l=C[((e<<2)+j|0)-4>>2];g=i;while(1){a=g;if(a){g=a-1|0;if((x|0)<=C[C[(g<<2)+j>>2]+28>>2]){continue}}break}if((a|0)==(i|0)){a=C[f>>2];b=C[a+36>>2]+Te(x-C[a+28>>2]|0,k)|0;break E}e=C[l+28>>2];b=C[l+36>>2];if((e|0)==(x|0)){break E}a=C[(a<<2)+j>>2];b=C[a+28>>2];if((b|0)==(x|0)){b=C[a+36>>2];break E}g=C[a+36>>2];a=C[l+36>>2];b=of(x-e|0,g-a|0,b-e|0)+a|0}C[d+36>>2]=b;C[d+16>>2]=C[d+16>>2]|32}d=d+40|0;if(r>>>0>d>>>0){continue}break}if((h+144|0)==(j|0)){break B}if(j){Fe[C[m+8>>2]](m,j)}}r=C[h+16>>2];if(r){a=o+C[h+36>>2]|0;m=C[a+200>>2];l=C[a+204>>2];o=C[h+24>>2];while(1){a=C[o+4>>2];H:{if((a|0)<=0){break H}f=C[o>>2];b=f+I(a,40)|0;j=0;e=f;k=0;while(1){a=C[e+16>>2]&32;k=a?k?k:e:k;j=(a>>>5|0)+j|0;e=e+40|0;if(b>>>0>e>>>0){continue}break}e=k;if(j>>>0<=1){if((j|0)==1){l=C[k+36>>2]-Te(C[k+28>>2],m)|0}while(1){if((f|0)!=(k|0)){y=f,z=Te(C[f+28>>2],m)+l|0,C[y+36>>2]=z}f=f+40|0;if(b>>>0>f>>>0){continue}break}break H}while(1){d=e;e=C[e+4>>2];if((k|0)==(e|0)){break H}if(D[e+16|0]&32){continue}f=e;while(1){f=C[f+4>>2];if(!(D[f+16|0]&32)){continue}break}g=C[d+28>>2];a=C[f+28>>2];I:{if((g|0)<=(a|0)){i=a-g|0;b=f;a=d;break I}i=g-a|0;b=d;g=a;a=f}b=C[b+36>>2];j=C[a+36>>2];J:{if((i|0)<=0){a=65536;break J}a=Ze(b-j|0,i);e=C[d+4>>2]}while(1){d=C[e+28>>2]-g|0;K:{if((d|0)<=0){d=Te(d,m)+j|0;break K}if((d|0)>=(i|0)){d=Te(d-i|0,m)+b|0;break K}d=Te(d,a)+j|0}C[e+36>>2]=d;e=C[e+4>>2];if((f|0)!=(e|0)){continue}break}e=f;if((k|0)!=(e|0)){continue}break}}o=o+8|0;r=r-1|0;if(r){continue}break}}g=C[h+12>>2];if(g){a=C[h+32>>2];i=C[a+8>>2];d=C[a+4>>2];b=q?32:64;f=0;e=C[h+20>>2];while(1){a=d+(f<<3)|0;C[(q?a:a+4|0)>>2]=C[e+36>>2];if(D[e+16|0]&16){a=f+i|0;A[a|0]=b|D[a|0];g=C[h+12>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!u){Ip(C[h+36>>2],w,v,0,0)}g=1;a=s&1;s=0;if(a){continue}break}}b=C[h+28>>2];a=C[h+104>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+108>>2]=0;C[h+100>>2]=0;C[h+104>>2]=0;a=C[h+92>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+92>>2]=0;a=C[h+88>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+88>>2]=0;C[h+96>>2]=0;C[h+80>>2]=0;C[h+84>>2]=0;a=C[h- -64>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+68>>2]=0;C[h+60>>2]=0;C[h+64>>2]=0;a=C[h+52>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+52>>2]=0;a=C[h+48>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+48>>2]=0;C[h+56>>2]=0;C[h+40>>2]=0;C[h+44>>2]=0;a=C[h+20>>2];if(a){Fe[C[b+8>>2]](b,a)}C[h+20>>2]=0;a=C[h+24>>2];if(a){Fe[C[b+8>>2]](b,a)}}Ce=h+208|0;return s|0}function vx(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;f=Ce-32|0;Ce=f;s=C[b+100>>2];a:{b:{if(bf(a,0)){break b}d=Ff(a,218672,b+184|0);C[f+28>>2]=d;if(d){break b}g=b;if(C[b+184>>2]!=1885562369){break b}b=C[g+188>>2];if(b+-134217728>>>0<4160749569){break b}b=Ve(s,16,0,b,0,f+28|0);C[g+192>>2]=b;if(C[f+28>>2]){break b}c:{d:{e:{f:{if(C[g+188>>2]){while(1){d=Ff(a,218688,b);C[f+28>>2]=d;if(d){break d}b=b+16|0;c=c+1|0;d=C[g+188>>2];if(c>>>0>>0){continue}break}c=1;b=C[g+192>>2];if((d|0)==1){break f}c=d}d=0;g:{h:{while(1){h=d+1|0;if((h|0)==(c|0)){j=c-1|0;i=C[a+4>>2];b=C[g+192>>2];break h}l=d^-1;e=C[b+12>>2];k=0;i=0;while(1){c=(i<<4)+b|0;i=i+1|0;j=(i<<4)+b|0;d=C[j+12>>2];if(e>>>0>d>>>0){d=C[c+12>>2];C[f+16>>2]=C[c+8>>2];C[f+20>>2]=d;d=C[c+4>>2];C[f+8>>2]=C[c>>2];C[f+12>>2]=d;d=C[j+12>>2];C[c+8>>2]=C[j+8>>2];C[c+12>>2]=d;d=C[j+4>>2];C[c>>2]=C[j>>2];C[c+4>>2]=d;d=C[f+20>>2];C[j+8>>2]=C[f+16>>2];C[j+12>>2]=d;d=C[f+12>>2];C[j>>2]=C[f+8>>2];C[j+4>>2]=d;k=1;d=C[j+12>>2]}e=C[c+8>>2];if(e>>>0>d>>>0|F[c+12>>2]>d-e>>>0){break g}e=d;c=C[g+188>>2];if(l+c>>>0>i>>>0){continue}break}j=c-1|0;if(k){d=h;if(j>>>0>d>>>0){continue}}break}i=C[a+4>>2];b=C[g+192>>2];k=b;if(!j){break e}}k=((c<<4)+b|0)-16|0;e=0;d=b;while(1){h=C[d+8>>2];if(!(h>>>0<=i>>>0&F[d+12>>2]<=i-h>>>0)){C[f+28>>2]=8;break d}d=d+16|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break e}C[f+28>>2]=9;break d}i=C[a+4>>2];k=b}d=C[k+12>>2];if(d>>>0>i>>>0){C[f+28>>2]=8;break d}d=i-d|0;if(d>>>0>2]){C[k+8>>2]=d}C[f+4>>2]=0;break c}b=C[g+192>>2];if(b){Fe[C[s+8>>2]](s,b)}b=0;C[g+192>>2]=0;if(C[f+28>>2]){break b}c=C[g+188>>2]}k=C[g+100>>2];j=3;i:{j:{k:{if(!c){break k}d=0;while(1){if(C[(d<<4)+b>>2]==1){j=83;c=C[((d<<4)+b|0)+12>>2];e=C[a+8>>2];if(c>>>0>>0){break k}if(ng(a,c-e|0)){break k}i=C[((d<<4)+b|0)+8>>2];c=0;C[f+8>>2]=0;b=dh(a,f+8|0);if(!C[f+8>>2]){break j}b=0;break i}d=d+1|0;if((d|0)!=(c|0)){continue}break}}C[f+8>>2]=j;c=0;b=0;break i}if(b>>>0>255){b=0;break i}e=b&4;l:{if(e){d=cg(a,f+8|0);break l}d=dh(a,f+8|0)}if(C[f+8>>2]){b=0;break i}if(d>>>0>(i>>>0)/9>>>0){C[f+8>>2]=8;b=0;break i}C[g+280>>2]=d;b=Ve(k,12,0,d,0,f+8|0);if(C[f+8>>2]){break i}m:{if(!d){break m}while(1){h=I(c,12)+b|0;n:{if(e){h=Ff(a,218720,h);C[f+8>>2]=h;if(!h){break n}c=0;break i}h=Ff(a,218752,h);C[f+8>>2]=h;if(!h){break n}c=0;break i}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d&3;if(!c){break m}c=ng(a,4-c|0);C[f+8>>2]=c;if(!c){break m}C[f+8>>2]=83;c=0;break i}o:{if(e){e=cg(a,f+8|0);break o}e=dh(a,f+8|0)}c=0;if(C[f+8>>2]){break i}if(e>>>0>i+I(d,-9)>>>0){C[f+8>>2]=8;break i}c=Ve(k,1,0,e+1|0,0,f+8|0);if(C[f+8>>2]){break i}i=jg(a,c,e);C[f+8>>2]=i;if(i){break i}j=0;l=Ve(k,12,0,d,0,f+8|0);if(C[f+8>>2]){break i}C[g+284>>2]=l;if(d){while(1){h=I(j,12);i=h+b|0;m=C[i>>2];if(!((m|0)>=0&e>>>0>=m>>>0)){C[f+8>>2]=9;break i}h=h+l|0;v=h,w=nh(k,c+m|0,f+8|0),C[v>>2]=w;if(C[f+8>>2]){break i}m=D[i+4|0];A[h+4|0]=m;i=C[i+8>>2];p:{if(m){if(!((i|0)>=0&e>>>0>=i>>>0)){C[f+8>>2]=9;break i}v=h,w=nh(k,c+i|0,f+8|0),C[v+8>>2]=w;if(!C[f+8>>2]){break p}break i}C[h+8>>2]=i}j=j+1|0;if((d|0)!=(j|0)){continue}break}}C[f+8>>2]=0}if(b){Fe[C[k+8>>2]](k,b)}if(c){Fe[C[k+8>>2]](k,c)}if(C[f+8>>2]){break b}q:{r:{c=C[g+188>>2];if(!c){break r}d=C[g+192>>2];b=0;while(1){if(C[(b<<4)+d>>2]!=256){b=b+1|0;if((c|0)!=(b|0)){continue}break r}break}k=0;break q}b=tx(a,g,2);C[f+4>>2]=b;if(b){break b}c=C[g+188>>2];d=C[g+192>>2];k=1}if(!c){break b}i=C[g+100>>2];b=0;s:{while(1){t:{if(C[(b<<4)+d>>2]==4){c=C[((b<<4)+d|0)+12>>2];e=C[a+8>>2];if(c>>>0>>0){break b}if(ng(a,c-e|0)){break b}c=C[((b<<4)+d|0)+8>>2];C[f+28>>2]=0;b=dh(a,f+28|0);if(C[f+28>>2]|((b|256)&-256)!=256){break b}e=b&4;u:{if(b>>>0<=255){if(e){d=cg(a,f+28|0);break u}d=dh(a,f+28|0);break u}if(e){d=$f(a,f+28|0);break u}d=Ox(a,f+28|0)}if(C[f+28>>2]){break b}C[g+288>>2]=d;if(!d){break b}v:{if(b>>>0<=255){if(d>>>0<=(c>>>0)/12>>>0){break v}break b}if(d>>>0>(c>>>0)/5>>>0){break b}}c=Ve(i,16,0,d,0,f+28|0);C[g+292>>2]=c;if(C[f+28>>2]){break b}h=e?218912:218944;j=b>>>0>255;e=0;while(1){w:{if(!j){b=Ff(a,h,c);break w}b=Ff(a,218976,f+8|0);if(b){break w}B[c>>1]=D[f+8|0]-128;B[c+2>>1]=D[f+9|0]-128;B[c+4>>1]=D[f+10|0]-128;B[c+6>>1]=D[f+11|0]-128;l=D[f+12|0];B[c+10>>1]=0;B[c+8>>1]=l-128}C[f+28>>2]=b;C[c+12>>2]=0;if(b){break t}if(!(B[c+2>>1]>=B[c>>1]&(B[c+8>>1]+B[c+6>>1]|0)>=0)){C[c>>2]=0;C[c+4>>2]=0;B[c+8>>1]=0}c=c+16|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break s}b=b+1|0;if((c|0)!=(b|0)){continue}break b}break}b=C[g+292>>2];if(b){Fe[C[i+8>>2]](i,b)}C[g+292>>2]=0;if(C[f+28>>2]){break b}}d=C[g+188>>2];if(!d){break b}c=C[g+192>>2];i=C[g+100>>2];b=0;x:{while(1){y:{if(C[c+(b<<4)>>2]==8){d=C[(c+(b<<4)|0)+12>>2];e=C[a+8>>2];if(d>>>0>>0){break b}if(ng(a,d-e|0)){break b}h=C[(c+(b<<4)|0)+8>>2];b=Cf(a,8);C[f+8>>2]=b;if(b){break b}j=Up(a);d=j&4;z:{if(d){c=wg(a);break z}c=Up(a)}xf(a);if((c|0)!=C[g+288>>2]|j>>>0>255){break b}b=0;e=Ve(i,4,0,c,0,f+8|0);if(C[f+8>>2]){break b}A:{if(c){while(1){m=e+(b<<2)|0;B:{if(d){l=cg(a,f+8|0);break B}l=dh(a,f+8|0)}C[m>>2]=l;b=b+1|0;if((c|0)!=(b|0)){continue}break}if(C[f+8>>2]){break A}}C:{if(!d){dh(a,f+8|0);if(C[f+8>>2]){break A}dh(a,f+8|0);if(C[f+8>>2]){break A}dh(a,f+8|0);if(C[f+8>>2]){break A}dh(a,f+8|0);break C}cg(a,f+8|0);if(C[f+8>>2]){break A}cg(a,f+8|0);if(C[f+8>>2]){break A}cg(a,f+8|0);if(C[f+8>>2]){break A}cg(a,f+8|0)}if(C[f+8>>2]){break A}D:{if(!c){break D}b=0;if((c|0)!=1){m=c&-2;d=0;while(1){l=C[e+(b<<2)>>2];if(!((l|0)<0|h>>>0>>0)){C[(C[g+292>>2]+(b<<4)|0)+12>>2]=l+C[a+8>>2]}n=b|1;l=C[e+(n<<2)>>2];if(!((l|0)<0|h>>>0>>0)){C[(C[g+292>>2]+(n<<4)|0)+12>>2]=l+C[a+8>>2]}b=b+2|0;d=d+2|0;if((m|0)!=(d|0)){continue}break}}if(!(c&1)){break D}c=C[e+(b<<2)>>2];if((c|0)<0|c>>>0>h>>>0){break D}C[(C[g+292>>2]+(b<<4)|0)+12>>2]=c+C[a+8>>2]}C[g+308>>2]=j}if(e){Fe[C[i+8>>2]](i,e)}if(C[f+8>>2]){break b}b=0;h=Ce-16|0;Ce=h;d=3;e=C[g+188>>2];E:{if(!e){break E}c=C[g+192>>2];m=C[g+100>>2];while(1){if(C[c+(b<<4)>>2]==32){d=83;b=C[(c+(b<<4)|0)+12>>2];c=C[a+8>>2];if(b>>>0>>0){break E}if(ng(a,b-c|0)){break E}d=Cf(a,14);C[h+12>>2]=d;if(d){break E}i=Up(a);u=i&4;F:{if(u){b=Gf(a);l=Gf(a);e=Gf(a);j=Gf(a);c=Gf(a);break F}b=xh(a);l=xh(a);e=xh(a);j=xh(a);c=xh(a)}B[g+304>>1]=c;xf(a);d=3;if(i>>>0>255){break E}d=8;c=b<<16>>16;if((c|0)<0){break E}n=l<<16>>16;if((n|0)<(c|0)|(n|0)>255){break E}c=e<<16>>16;if((c|0)<0){break E}p=j<<16>>16;if((p|0)<(c|0)|(p|0)>255){break E}d=64;l=0;j=e<<16>>16;i=b<<16>>16;r=I((p-j|0)+1|0,(n-i|0)+1|0);e=Ve(m,8,0,r,0,h+12|0);if(C[h+12>>2]){break E}b=Cf(a,r<<1);C[h+12>>2]=b;G:{if(b){break G}while(1){d=j<<8;b=i;while(1){H:{if(u){c=Gf(a);break H}c=xh(a)}if(c<<16>>16>=0){q=(l<<3)+e|0;B[q+4>>1]=c;C[q>>2]=b+d;l=l+1|0}c=(b|0)!=(n|0);b=b+1|0;if(c){continue}break}b=(j|0)!=(p|0);j=j+1|0;if(b){continue}break}xf(a);e=Ve(m,8,r,l,e,h+12|0);if(C[h+12>>2]){break G}C[g+300>>2]=e;C[g+296>>2]=l;d=0;break E}if(e){Fe[C[m+8>>2]](m,e)}d=C[h+12>>2];break E}b=b+1|0;if((e|0)!=(b|0)){continue}break}}Ce=h+16|0;if(d){break b}if(!k){if(tx(a,g,256)){break b}}C[g>>2]=1;C[g+4>>2]=0;a=C[g+8>>2];C[g+8>>2]=a|146;if(D[g+199|0]){C[g+8>>2]=a|150}a=0;h=0;d=0;k=0;l=0;n=0;j=0;p=0;r=0;m=Ce-16|0;Ce=m;C[m+12>>2]=0;C[g+12>>2]=0;u=1;q=C[g+100>>2];e=C[g+280>>2];I:{J:{if((e|0)<=0){i=1;k=1;break J}d=C[g+284>>2];while(1){K:{c=Se(C[d+I(a,12)>>2],23494);b=a+1|0;if((b|0)>=(e|0)){break K}a=b;if(c){continue}}break}a=0;i=2;L:{if(c){break L}b=(d+I(b,12)|0)-12|0;if(!D[b+4|0]){break L}M:{switch(D[C[b+8>>2]]-73|0){case 0:case 6:case 32:case 38:break M;default:break L}}C[g+12>>2]=1;k=(D[C[b+8>>2]]&223)==79?16031:21653;i=3}while(1){N:{h=Se(C[d+I(a,12)>>2],26964);c=a+1|0;if((c|0)>=(e|0)){break N}a=c;if(h){continue}}break}a=0;b=1;O:{if(h){break O}c=(d+I(c,12)|0)-12|0;b=1;if(!D[c+4|0]){break O}b=1;if((D[C[c+8>>2]]|32)!=98){break O}C[g+12>>2]=i;n=19740;b=0}i=b;while(1){P:{h=Se(C[d+I(a,12)>>2],26986);c=a+1|0;if((c|0)>=(e|0)){break P}a=c;if(h){continue}}break}a=0;b=0;Q:{if(h){break Q}c=(d+I(c,12)|0)-12|0;b=0;if(!D[c+4|0]){break Q}c=C[c+8>>2];h=D[c|0];b=0;if(!h){break Q}b=0;if((h|0)==78){break Q}b=0;if((h|0)==110){break Q}b=c}while(1){R:{h=Se(C[d+I(a,12)>>2],27e3);a=a+1|0;if((e|0)<=(a|0)){break R}if(h){continue}}break}c=0;e=0;S:{if(h){break S}T:{a=(d+I(a,12)|0)-12|0;if(!D[a+4|0]){break T}a=C[a+8>>2];d=D[a|0];if(!d|(d|0)==78){break T}e=0;if((d|0)==110){break S}c=a;l=af(c);e=l+1|0;break S}e=0}U:{if(i){n=0;break U}p=af(n);e=(p+e|0)+1|0}d=0;if(k){r=af(k);e=(r+e|0)+1|0;h=k}else{h=0}V:{if(!b){a=0;break V}a=af(b);e=(e+a|0)+1|0;d=b}u=!k;k=!b;if(e){break I}}e=8;l=7;c=11228}b=hf(q,e,m+12|0);C[g+24>>2]=b;Ce=m+16|0;e=C[m+12>>2];if(!e){if(c){t(b,c,l);W:{if(!l){break W}e=0;if(l>>>0>=4){q=l&-4;c=0;while(1){o=b+e|0;if(D[o|0]==32){A[o|0]=45}o=(e|1)+b|0;if(D[o|0]==32){A[o|0]=45}o=(e|2)+b|0;if(D[o|0]==32){A[o|0]=45}o=(e|3)+b|0;if(D[o|0]==32){A[o|0]=45}e=e+4|0;c=c+4|0;if((q|0)!=(c|0)){continue}break}}c=l&3;if(!c){break W}while(1){q=b+e|0;if(D[q|0]==32){A[q|0]=45}e=e+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}b=b+l|0}if(!i){if(C[g+24>>2]!=(b|0)){A[b|0]=32;b=b+1|0}t(b,n,p);b=b+p|0}if(!u){if(C[g+24>>2]!=(b|0)){A[b|0]=32;b=b+1|0}t(b,h,r);b=b+r|0}if(!k){if(C[g+24>>2]!=(b|0)){A[b|0]=32;b=b+1|0}t(b,d,a);X:{if(!a){break X}j=0;e=0;if(a>>>0>=4){d=a&-4;c=0;while(1){k=b+e|0;if(D[k|0]==32){A[k|0]=45}k=(e|1)+b|0;if(D[k|0]==32){A[k|0]=45}k=(e|2)+b|0;if(D[k|0]==32){A[k|0]=45}k=(e|3)+b|0;if(D[k|0]==32){A[k|0]=45}e=e+4|0;c=c+4|0;if((d|0)!=(c|0)){continue}break}}c=a&3;if(!c){break X}while(1){d=b+e|0;if(D[d|0]==32){A[d|0]=45}e=e+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}b=a+b|0}A[b|0]=0;e=C[m+12>>2]}C[f+4>>2]=e;if(e){break b}a=Si(g,26935);if(!a|!D[a+4|0]){break y}v=g,w=nh(s,C[a+8>>2],f+4|0),C[v+20>>2]=w;if(!C[f+4>>2]){break x}break b}b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}C[g+20>>2]=0}C[g+28>>2]=1;C[g+16>>2]=C[g+288>>2]+1;a=Ve(s,16,0,1,0,f+4|0);C[g+32>>2]=a;if(C[f+4>>2]){break b}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;b=C[g+208>>2]+C[g+204>>2]|0;B[a>>1]=b;c=Si(g,25989);Y:{if(c){b=(C[c+8>>2]+5|0)/10|0;break Y}b=(b<<16>>15)/3|0}B[a+2>>1]=b;b=0;c=0;d=Si(g,26464);if(d){c=(I(C[d+8>>2],460800)+36135|0)/72270|0;C[a+4>>2]=c}d=Si(g,26498);if(d){b=C[d+8>>2]<<16>>10;C[a+12>>2]=b}d=Si(g,22587);if(d){d=B[d+8>>1]}else{d=0}Z:{_:{$:{e=Si(g,22289);if(e){e=C[e+8>>2];if(b){break _}C[a+12>>2]=c;if(e&65535){break $}b=c;break Z}if(b){break Z}C[a+12>>2]=c;b=c;break Z}b=(I(e<<16>>16,c)|0)/72|0;C[a+12>>2]=b}if(!d|!(e&65535)){break Z}b=(I(b,d)|0)/(e<<16>>16)|0}C[a+8>>2]=b;a=Si(g,22351);b=Si(g,26297);if(!(!a|!D[a+4|0]|(!b|!D[b+4|0]))){v=g,w=nh(s,C[b+8>>2],f+4|0),C[v+176>>2]=w;if(C[f+4>>2]){break b}v=g,w=nh(s,C[a+8>>2],f+4|0),C[v+180>>2]=w}if(C[f+4>>2]){break b}a=0;break a}a=3}Ce=f+32|0;return a}function zp(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;f=Ce-144|0;Ce=f;s=C[a+12>>2];w=C[a>>2];a:{if(!(c>>>0<2|E[w+290>>1]>=c>>>0)){C[f+140>>2]=21;break a}C[a+20>>2]=b;h=65536;r=65536;if(!(A[a+16|0]&1)){e=C[a+4>>2];h=C[e+52>>2];r=C[e+48>>2]}z=C[C[w+128>>2]+48>>2];b:{if(z){e=Fe[C[C[z>>2]>>2]](C[z+4>>2],b,f+88|0)|0;C[f+140>>2]=e;if(e){break a}g=C[f+92>>2];C[a+28>>2]=g;C[f+128>>2]=0;C[f+132>>2]=0;C[f+120>>2]=0;C[f+124>>2]=0;C[f+112>>2]=0;C[f+116>>2]=0;C[f+104>>2]=0;C[f+108>>2]=0;C[f+96>>2]=0;C[f+100>>2]=0;e=C[f+88>>2];k=f+96|0;C[k+32>>2]=0;C[k+8>>2]=0;C[k+4>>2]=g;C[k>>2]=e;C[k+20>>2]=0;C[k+24>>2]=0;C[a+24>>2]=k;e=0;break b}e=pp(w,b,a+28|0)}c:{d:{e:{f:{g=C[a+28>>2];if((g|0)>0){k=C[a+84>>2];if(!(k|C[C[w+128>>2]+48>>2])){C[f+140>>2]=8;break c}e=Fe[C[w+512>>2]](a,b,e+k|0,g)|0;C[f+140>>2]=e;if(e){break c}e=Fe[C[w+520>>2]](a)|0;C[f+140>>2]=e;if(e){break d}e=nw(a,b);C[f+140>>2]=e;if(d|e){break d}e=C[a+28>>2]}else{e=g}if(e){n=E[a+32>>1];if(n){break f}}C[a+36>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0;C[a+48>>2]=0;c=nw(a,b);C[f+140>>2]=c;if(c|d){break e}C[a+184>>2]=0;C[a+192>>2]=0;C[a+72>>2]=0;C[a+80>>2]=0;l=C[a+52>>2];c=C[a+36>>2]-l|0;C[a+68>>2]=c;e=C[a+56>>2];C[a+76>>2]=e+c;c=C[a+176>>2]+C[a+48>>2]|0;C[a+188>>2]=c;C[a+196>>2]=c-C[a+180>>2];c=C[a>>2];k=C[C[c+128>>2]+48>>2];g:{if(!k){break g}d=C[C[k>>2]+8>>2];if(!d){break g}C[f+60>>2]=0;C[f+56>>2]=e;C[f+52>>2]=0;C[f+48>>2]=l;h:{if(Fe[d|0](C[k+4>>2],b,0,f+48|0)|0){break h}c=B[f+48>>1];d=E[f+56>>1];C[a+176>>2]=0;C[a+180>>2]=0;C[a+56>>2]=d;C[a+52>>2]=c;if(D[a+64|0]){break h}C[a+60>>2]=d;A[a+64|0]=1}c=C[a>>2]}if(D[c+672|0]){C[f+44>>2]=16843009;C[f+32>>2]=65536;C[f+36>>2]=196610;C[f+48>>2]=C[a+68>>2];C[f+52>>2]=C[a+72>>2];C[f+56>>2]=C[a+76>>2];C[f+60>>2]=C[a+80>>2];C[f+64>>2]=C[a+184>>2];C[f+68>>2]=C[a+188>>2];C[f+72>>2]=C[a+192>>2];C[f+76>>2]=C[a+196>>2];C[f+12>>2]=262148;C[f+24>>2]=f+32;C[f+20>>2]=f+44;C[f+16>>2]=f+48;b=op(c,b,f+12|0,4);C[f+140>>2]=b;if(b){break e}C[a+68>>2]=C[f+48>>2];C[a+72>>2]=C[f+52>>2];C[a+76>>2]=C[f+56>>2];C[a+80>>2]=C[f+60>>2];C[a+184>>2]=C[f+64>>2];C[a+188>>2]=C[f+68>>2];C[a+192>>2]=C[f+72>>2];C[a+196>>2]=C[f+76>>2]}if(!(A[a+16|0]&1)){L=a,M=Te(C[a+68>>2],r),C[L+68>>2]=M;L=a,M=Te(C[a+76>>2],r),C[L+76>>2]=M;L=a,M=Te(C[a+184>>2],r),C[L+184>>2]=M;L=a,M=Te(C[a+188>>2],h),C[L+188>>2]=M;L=a,M=Te(C[a+192>>2],r),C[L+192>>2]=M;L=a,M=Te(C[a+196>>2],h),C[L+196>>2]=M}C[f+140>>2]=0;break e}C[a+184>>2]=0;C[a+192>>2]=0;C[a+72>>2]=0;C[a+80>>2]=0;k=C[a+52>>2];d=C[a+36>>2]-k|0;C[a+68>>2]=d;e=C[a+56>>2];C[a+76>>2]=e+d;d=C[a+176>>2]+C[a+48>>2]|0;C[a+188>>2]=d;C[a+196>>2]=d-C[a+180>>2];u=C[C[C[a>>2]+128>>2]+48>>2];i:{if(!u){break i}d=C[C[u>>2]+8>>2];if(!d){break i}C[f+60>>2]=0;C[f+56>>2]=e;C[f+52>>2]=0;C[f+48>>2]=k;j:{if(Fe[d|0](C[u+4>>2],b,0,f+48|0)|0){break j}d=B[f+48>>1];e=E[f+56>>1];C[a+176>>2]=0;C[a+180>>2]=0;C[a+56>>2]=e;C[a+52>>2]=d;if(D[a+64|0]){break j}C[a+60>>2]=e;A[a+64|0]=1}n=E[a+32>>1]}if(n<<16>>16>0){b=Fe[C[w+524>>2]](a)|0;C[f+140>>2]=b;if(b){break e}Fe[C[w+516>>2]](a);h=C[a+12>>2];m=B[h+58>>1];b=C[a+72>>2];c=C[h+60>>2]+(m<<3)|0;C[c>>2]=C[a+68>>2];C[c+4>>2]=b;b=C[a+80>>2];u=m+1|0;c=C[h+60>>2]+(u<<3)|0;C[c>>2]=C[a+76>>2];C[c+4>>2]=b;b=C[a+188>>2];k=m+2|0;c=C[h+60>>2]+(k<<3)|0;C[c>>2]=C[a+184>>2];C[c+4>>2]=b;b=C[a+196>>2];l=m+3|0;c=C[h+60>>2]+(l<<3)|0;C[c>>2]=C[a+192>>2];C[c+4>>2]=b;b=h- -64|0;A[m+C[b>>2]|0]=0;A[u+C[b>>2]|0]=0;A[k+C[b>>2]|0]=0;A[l+C[b>>2]|0]=0;g=m+4|0;b=C[a>>2];k:{if(D[b+672|0]){c=op(b,C[a+20>>2],h+56|0,g);if(c){break k}}n=C[a+16>>2];if(!(n&2)){e=E[h+58>>1];B[a+132>>1]=e;B[a+134>>1]=E[h+56>>1];C[a+136>>2]=C[h+76>>2];d=C[h+60>>2];C[a+140>>2]=d;c=C[h+80>>2];C[a+144>>2]=c;C[a+148>>2]=C[h+64>>2];b=C[h+68>>2];B[a+156>>1]=0;C[a+152>>2]=b;t(c,d,(e<<3)+32|0);n=C[a+16>>2]}if(!(n&1)){c=C[h+60>>2];if((m|0)>=-3){e=(g<<3)+c|0;b=C[a+4>>2];d=C[b+52>>2];b=C[b+48>>2];while(1){L=c,M=Te(C[c>>2],b),C[L>>2]=M;L=c,M=Te(C[c+4>>2],d),C[L+4>>2]=M;c=c+8|0;if(e>>>0>c>>>0){continue}break}n=C[a+16>>2];c=C[h+60>>2]}c=(m<<3)+c|0;b=C[c+4>>2];C[a+68>>2]=C[c>>2];C[a+72>>2]=b;c=C[h+60>>2]+(u<<3)|0;b=C[c+4>>2];C[a+76>>2]=C[c>>2];C[a+80>>2]=b;c=C[h+60>>2]+(k<<3)|0;b=C[c+4>>2];C[a+184>>2]=C[c>>2];C[a+188>>2]=b;c=C[h+60>>2]+(l<<3)|0;b=C[c+4>>2];C[a+192>>2]=C[c>>2];C[a+196>>2]=b}c=0;if(n&2){break k}B[a+132>>1]=E[a+132>>1]+4;c=lw(a,0)}C[f+140>>2]=c;if(c){break c}lk(s);break c}if((n|0)==65535){u=B[s+22>>1];k=B[s+20>>1];d=Fe[C[w+528>>2]](a)|0;C[f+140>>2]=d;if(d){break e}H=C[a+168>>2];Fe[C[w+516>>2]](a);if(D[w+672|0]){v=C[w+100>>2];p=C[s+84>>2];d=p+4|0;B[f+48>>1]=d;B[f+50>>1]=d;n=d<<16>>16;o=Ve(v,8,0,n,0,f+140|0);l:{if(C[f+140>>2]){break l}i=Ve(v,1,0,n,0,f+140|0);if(C[f+140>>2]){break l}d=Ve(v,2,0,n,0,f+140|0);if(C[f+140>>2]){break l}m:{if(!p){break m}q=C[s+88>>2]+(C[s+48>>2]<<5)|0;if((p|0)!=1){g=p&-2;while(1){e=o+(j<<3)|0;C[e>>2]=C[q+8>>2];C[e+4>>2]=C[q+12>>2];A[i+j|0]=1;B[(j<<1)+d>>1]=j;m=j|1;e=o+(m<<3)|0;C[e>>2]=C[q+40>>2];C[e+4>>2]=C[q+44>>2];A[i+m|0]=1;B[(m<<1)+d>>1]=m;q=q- -64|0;j=j+2|0;l=l+2|0;if((g|0)!=(l|0)){continue}break}}if(!(p&1)){break m}e=o+(j<<3)|0;C[e>>2]=C[q+8>>2];C[e+4>>2]=C[q+12>>2];A[i+j|0]=1;B[(j<<1)+d>>1]=j}e=o+(p<<3)|0;C[e>>2]=C[a+68>>2];C[e+4>>2]=C[a+72>>2];A[i+p|0]=1;B[(p<<1)+d>>1]=p;g=p+1|0;e=o+(g<<3)|0;C[e>>2]=C[a+76>>2];C[e+4>>2]=C[a+80>>2];A[g+i|0]=1;B[(g<<1)+d>>1]=g;g=p+2|0;e=o+(g<<3)|0;C[e>>2]=C[a+184>>2];C[e+4>>2]=C[a+188>>2];A[g+i|0]=1;B[(g<<1)+d>>1]=g;g=p+3|0;e=o+(g<<3)|0;C[e>>2]=C[a+192>>2];C[e+4>>2]=C[a+196>>2];A[g+i|0]=1;B[(g<<1)+d>>1]=g;C[f+60>>2]=d;C[f+56>>2]=i;C[f+52>>2]=o;b=op(w,b,f+48|0,n);C[f+140>>2]=b;if(b){break l}n:{if(!p){break n}b=C[s+88>>2]+(C[s+48>>2]<<5)|0;j=0;if((p|0)!=1){l=p&-2;q=0;while(1){g=j<<3;e=g+o|0;C[b+8>>2]=B[e>>1];C[b+12>>2]=B[e+4>>1];e=o+(g|8)|0;C[b+40>>2]=B[e>>1];C[b+44>>2]=B[e+4>>1];b=b- -64|0;j=j+2|0;q=q+2|0;if((l|0)!=(q|0)){continue}break}}if(!(p&1)){break n}e=o+(j<<3)|0;C[b+8>>2]=B[e>>1];C[b+12>>2]=B[e+4>>1]}b=o+(p<<3)|0;C[a+68>>2]=C[b>>2];C[a+72>>2]=C[b+4>>2];C[a+76>>2]=C[b+8>>2];C[a+80>>2]=C[b+12>>2];C[a+184>>2]=C[b+16>>2];C[a+188>>2]=C[b+20>>2];C[a+192>>2]=C[b+24>>2];C[a+196>>2]=C[b+28>>2]}if(o){Fe[C[v+8>>2]](v,o)}if(i){Fe[C[v+8>>2]](v,i)}if(d){Fe[C[v+8>>2]](v,d)}if(C[f+140>>2]){break c}}b=C[a+16>>2];if(!(b&1)){L=a,M=Te(C[a+68>>2],r),C[L+68>>2]=M;L=a,M=Te(C[a+76>>2],r),C[L+76>>2]=M;L=a,M=Te(C[a+184>>2],r),C[L+184>>2]=M;L=a,M=Te(C[a+188>>2],h),C[L+188>>2]=M;L=a,M=Te(C[a+192>>2],r),C[L+192>>2]=M;L=a,M=Te(C[a+196>>2],h),C[L+196>>2]=M;b=C[a+16>>2]}if(b&1024){lk(s);C[C[a+8>>2]+72>>2]=1668246896;break c}I=C[s+48>>2];G=C[s+84>>2];J=C[a+28>>2];K=C[a+24>>2];lk(s);o:{if(!G){c=0;b=u;break o}p=c+1|0;b=0;while(1){m=B[s+22>>1];l=C[a+192>>2];j=C[a+196>>2];g=C[a+184>>2];o=C[a+188>>2];e=C[a+76>>2];q=C[a+80>>2];d=C[a+68>>2];v=C[a+72>>2];n=b<<5;h=I<<5;c=zp(a,C[n+(h+C[s+52>>2]|0)>>2],p,0);C[f+140>>2]=c;if(c){break c}c=n+(h+C[s+52>>2]|0)|0;if(!(D[c+5|0]&2)){C[a+192>>2]=l;C[a+196>>2]=j;C[a+184>>2]=g;C[a+188>>2]=o;C[a+76>>2]=e;C[a+80>>2]=q;C[a+68>>2]=d;C[a+72>>2]=v}n=E[s+22>>1];if((n|0)!=(m&65535)){o=0;h=C[a+12>>2];j=B[h+22>>1];l=C[h+24>>2];d=E[c+4>>1];g=d&200;if(!(!g|j>>>0<=m>>>0)){e=c+16|0;d=m;while(1){Yh(l+(d<<3)|0,e);d=d+1|0;if((j|0)!=(d|0)){continue}break}d=E[c+4>>1]}x=C[c+12>>2];i=C[c+8>>2];p:{q:{if(!(d&2)){o=21;d=i+u|0;if(d>>>0>=m>>>0){break p}g=m+x|0;if(g>>>0>=j>>>0){break p}e=d<<3;d=C[h+24>>2];e=e+d|0;d=d+(g<<3)|0;x=C[e+4>>2]-C[d+4>>2]|0;i=C[e>>2]-C[d>>2]|0;break q}if(!(i|x)){break p}if(!(!g|!(d&2048))){e=Xi(C[c+16>>2],C[c+20>>2]);d=Xi(C[c+28>>2],C[c+24>>2]);i=Te(i,e);x=Te(x,d)}if(A[a+16|0]&1){break q}e=C[a+4>>2];d=C[e+52>>2];g=Te(i,C[e+48>>2]);e=Te(x,d);d=D[c+4|0]&4;i=d?g+32&-64:g;x=d?e+32&-64:e}o=0;if(!(i|x)){break p}q=j-m|0;y=l+(m<<3)|0;l=(j|0)==(m|0);r:{if(l|!i){break r}r=0;d=0;if(j+(m^-1)>>>0>=3){g=q&-4;h=0;while(1){v=d<<3;e=v+y|0;C[e>>2]=C[e>>2]+i;e=y+(v|8)|0;C[e>>2]=C[e>>2]+i;e=y+(v|16)|0;C[e>>2]=C[e>>2]+i;e=y+(v|24)|0;C[e>>2]=C[e>>2]+i;d=d+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}g=q&3;if(!g){break r}while(1){e=y+(d<<3)|0;C[e>>2]=C[e>>2]+i;d=d+1|0;r=r+1|0;if((g|0)!=(r|0)){continue}break}}if(!x|l){break p}d=0;if(j+(m^-1)>>>0>=3){g=q&-4;i=0;while(1){l=d<<3;e=l+y|0;C[e+4>>2]=C[e+4>>2]+x;e=y+(l|8)|0;C[e+4>>2]=C[e+4>>2]+x;e=y+(l|16)|0;C[e+4>>2]=C[e+4>>2]+x;e=y+(l|24)|0;C[e+4>>2]=C[e+4>>2]+x;d=d+4|0;i=i+4|0;if((g|0)!=(i|0)){continue}break}}g=q&3;if(!g){break p}r=0;while(1){e=y+(d<<3)|0;C[e+4>>2]=C[e+4>>2]+x;d=d+1|0;r=r+1|0;if((g|0)!=(r|0)){continue}break}}C[f+140>>2]=o;if(o){break c}}b=b+1|0;if((G|0)!=(b|0)){continue}break}b=n<<16>>16}C[a+168>>2]=H;C[a+28>>2]=J;C[a+24>>2]=K;if(!(A[c+5|0]&1)|D[a+16|0]&2|b>>>0<=u>>>0){break c}g=Ce-16|0;Ce=g;e=C[a+12>>2];d=B[e+22>>1];b=d+4|0;s:{if(!(!b|F[e+4>>2]>=B[e+58>>1]+(b+d|0)>>>0)){d=Qg(e,b,0);if(d){break s}d=B[e+22>>1]}b=C[a+72>>2];c=C[e+24>>2]+(d<<3)|0;C[c>>2]=C[a+68>>2];C[c+4>>2]=b;b=C[a+80>>2];c=C[e+24>>2]+(B[e+22>>1]<<3)|0;C[c+8>>2]=C[a+76>>2];C[c+12>>2]=b;b=C[a+188>>2];c=C[e+24>>2]+(B[e+22>>1]<<3)|0;C[c+16>>2]=C[a+184>>2];C[c+20>>2]=b;b=C[a+196>>2];c=C[e+24>>2]+(B[e+22>>1]<<3)|0;C[c+24>>2]=C[a+192>>2];C[c+28>>2]=b;A[C[e+28>>2]+B[e+22>>1]|0]=0;A[(B[e+22>>1]+C[e+28>>2]|0)+1|0]=0;A[(B[e+22>>1]+C[e+28>>2]|0)+2|0]=0;A[(B[e+22>>1]+C[e+28>>2]|0)+3|0]=0;c=C[a+24>>2];d=bf(c,C[a+168>>2]);C[g+12>>2]=d;if(d){break s}e=$f(c,g+12|0);d=C[g+12>>2];if(d){break s}t:{if(e>>>0>E[C[a>>2]+286>>1]){d=22;if((e|0)>C[a+28>>2]){break s}b=C[a+160>>2];C[g+8>>2]=C[b+388>>2];d=mw(C[b+8>>2],g+8|0,b+392|0,e);C[g+12>>2]=d;b=C[a+160>>2];C[b+388>>2]=E[g+8>>1];if(!d){break t}break s}if(!e){d=0;break s}b=C[a+160>>2]}d=jg(c,C[b+392>>2],e);C[g+12>>2]=d;if(d){break s}c=C[C[a+160>>2]+392>>2];b=C[a+8>>2];C[b+140>>2]=e;C[b+136>>2]=c;d=C[a+12>>2];c=E[d+22>>1];B[a+132>>1]=c-u;B[a+134>>1]=E[d+20>>1]-k;b=u<<3;C[a+136>>2]=b+C[d+40>>2];C[a+140>>2]=b+C[d+24>>2];C[a+144>>2]=b+C[d+44>>2];C[a+148>>2]=u+C[d+28>>2];b=C[d+32>>2];B[a+156>>1]=u;C[a+152>>2]=b+(k<<1);if((c|0)!=(u&65535)){b=0;while(1){c=C[a+148>>2]+b|0;A[c|0]=D[c|0]&231;b=b+1|0;c=E[a+132>>1];if(b>>>0>>0){continue}break}b=c+4|0}else{b=4}B[a+132>>1]=b;d=lw(a,1)}Ce=g+16|0;C[f+140>>2]=d;break c}C[f+140>>2]=20}if((g|0)<=0){break c}}Fe[C[w+516>>2]](a)}if(!z){break a}a=C[C[w+128>>2]+48>>2];Fe[C[C[a>>2]+4>>2]](C[a+4>>2],f+88|0)}Ce=f+144|0;return C[f+140>>2]}function bt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=1;a:{b:{switch(c-1|0){case 0:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;c:{d:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=0;e:{f:{if(F[b+4>>2]>a>>>0){break f}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<6){break f}f=C[b+12>>2];d=f-6|0;C[b+12>>2]=d;if((d|0)<=0){break f}d=a+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break f}e=f-8|0;C[b+12>>2]=e;if((e|0)<=0){break f}e=D[d|0]|D[d+1|0]<<8;g:{if(!e){break g}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break g}e=C[b+28>>2];if(e>>>0>31){break f}C[b+28>>2]=e+1;if(!D[b+24|0]){break f}A[d|0]=0;A[d+1|0]=0}e=D[a+4|0]|D[a+5|0]<<8;d=1;if(!e){break e}d=a+6|0;if(d>>>0>2]){break f}f=C[b+8>>2];if(f>>>0>>0){break f}g=f-d|0;f=qT(e)<<1;if(g>>>0>>0){break f}f=C[b+12>>2]-f|0;C[b+12>>2]=f;if((f|0)<=0){break f}c=1;if(e>>>0<4096){break f}c=Qj(a+4|0,b,a,d)}d=c}return d}d=0;h:{if(F[b+4>>2]>a>>>0){break h}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break h}f=C[b+12>>2];c=f-8|0;C[b+12>>2]=c;if((c|0)<=0){break h}c=a+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break h}e=f-10|0;C[b+12>>2]=e;if((e|0)<=0){break h}e=D[c|0]|D[c+1|0]<<8;i:{if(!e){break i}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break i}e=C[b+28>>2];if(e>>>0>31){break h}C[b+28>>2]=e+1;if(!D[b+24|0]){break h}A[c|0]=0;A[c+1|0]=0}c=a+8|0;g=D[a+4|0]|D[a+5|0]<<8;i=qT(g);e=D[a+6|0]|D[a+7|0]<<8;h=(e<<8|e>>>8)&65535;f=I(i,h)<<1;if(f){if(F[b+4>>2]>c>>>0){break h}j=C[b+8>>2];if(j>>>0>>0|f>>>0>j-c>>>0){break h}f=C[b+12>>2]-f|0;C[b+12>>2]=f;if((f|0)<=0){break h}}d=1;if(!e){break h}if(g>>>0<4096){break h}f=a+4|0;e=0;while(1){d=Qj(f,b,a,c);if(!d){break h}c=(i<<1)+c|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}return d;case 1:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;j:{k:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break j;case 0:break k;default:break a}}d=0;e=Ce-32|0;Ce=e;l:{if(F[b+4>>2]>a>>>0){break l}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break l}g=C[b+12>>2];c=g-10|0;C[b+12>>2]=c;if((c|0)<=0){break l}c=D[a+6|0]|D[a+7|0]<<8;d=D[a+4|0]|D[a+5|0]<<8;C[e+20>>2]=a+4;d=qT(d);C[e+24>>2]=d;q=e,r=(qT(c)+d|0)+1|0,C[q+28>>2]=r;m:{c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break m}d=g-12|0;C[b+12>>2]=d;if((d|0)<=0){break m}d=D[c|0]|D[c+1|0]<<8;n:{if(!d){break n}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break n}d=C[b+28>>2];if(d>>>0>31){break m}C[b+28>>2]=d+1;if(!D[b+24|0]){break m}A[c|0]=0;A[c+1|0]=0}C[e+16>>2]=a;C[e+12>>2]=e+20;c=0;o:{p:{i=a+8|0;q:{if(i>>>0>2]){break q}a=C[b+8>>2];if(a>>>0>>0|a-i>>>0<2){break q}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break q}g=D[i|0]|D[i+1|0]<<8;d=1;if(!g){break o}d=i+2|0;if(d>>>0>a>>>0){break q}h=a-d|0;a=(g<<8|g>>>8)&65535;d=a<<1;if(h>>>0>>0){break q}d=f-d|0;C[b+12>>2]=d;if((d|0)<=0){break q}p=a>>>0<=1?1:a;while(1){h=(i+(n<<1)|0)+2|0;if(h>>>0>2]){break p}a=C[b+8>>2];if(a>>>0>>0|a-h>>>0<2){break p}d=C[e+16>>2];a=C[b+12>>2]-2|0;C[b+12>>2]=a;if((a|0)<=0){break p}c=D[h|0]|D[h+1|0]<<8;r:{if(!c){break r}j=C[e+12>>2];a=0;f=d+((c<<8|c>>>8)&65535)|0;s:{t:{if(f>>>0>2]){break t}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break t}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break t}k=C[j+8>>2];m=D[f|0]|D[f+1|0]<<8;o=(m<<8|m>>>8)&65535;g=o<<1;if(g>>>0>=4294967295/(k>>>0)>>>0?k:0){break t}g=I(g,k);if(g){l=f+2|0;if(c>>>0>>0|g>>>0>c-l>>>0){break t}c=d-g|0;C[b+12>>2]=c;if((c|0)<=0){break t}}c=f+4|0;g=C[j>>2];if(!(!m|(D[g|0]|D[g+1|0]<<8)>>>0<4096)){l=0;a=c;while(1){d=0;if(!Qj(g,b,f,a)){break s}a=(k<<1)+a|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}k=C[j+8>>2];g=C[j>>2]}a=1;if(!m|(D[g+2|0]|D[g+3|0]<<8)>>>0<4096){break t}d=g+2|0;l=0;a=C[j+4>>2];c=(a|0)<0?84608:c+(a<<1)|0;g=k<<1;while(1){a=Qj(d,b,f,c);if(!a){break t}c=c+g|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}}d=a}if(d){break r}a=C[b+28>>2];if(a>>>0>31){break p}C[b+28>>2]=a+1;if(!D[b+24|0]){break p}A[h|0]=0;A[h+1|0]=0}c=1;n=n+1|0;if((p|0)!=(n|0)){continue}break}}d=c;break o}d=0}break l}d=0}Ce=e+32|0;return d}c=0;u:{v:{if(F[b+4>>2]>a>>>0){break v}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<16){break v}f=C[b+12>>2];d=f-16|0;C[b+12>>2]=d;if((d|0)<=0){break v}d=a+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break v}e=f-18|0;C[b+12>>2]=e;if((e|0)<=0){break v}e=D[d|0]|D[d+1|0]<<8;w:{if(!e){break w}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break w}e=C[b+28>>2];if(e>>>0>31){break v}C[b+28>>2]=e+1;if(!D[b+24|0]){break v}A[d|0]=0;A[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break v}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break v}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break v}e=D[d|0]|D[d+1|0]<<8;x:{if(!e){break x}if(Gi(((e<<8|e>>>8)&65535)+a|0,b)){break x}e=C[b+28>>2];if(e>>>0>31){break v}C[b+28>>2]=e+1;if(!D[b+24|0]){break v}A[d|0]=0;A[d+1|0]=0}d=a+10|0;if(d>>>0>2]){break v}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break v}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break v}e=D[d|0]|D[d+1|0]<<8;y:{if(!e){break y}if(Gi(((e<<8|e>>>8)&65535)+a|0,b)){break y}e=C[b+28>>2];if(e>>>0>31){break v}C[b+28>>2]=e+1;if(!D[b+24|0]){break v}A[d|0]=0;A[d+1|0]=0}d=D[a+14|0]|D[a+15|0]<<8;e=(d<<8|d>>>8)&65535;d=D[a+12|0]|D[a+13|0]<<8;g=I(e,(d<<8|d>>>8)&65535);k=D[a+4|0]|D[a+5|0]<<8;j=qT(k);e=D[a+6|0]|D[a+7|0]<<8;i=qT(e)+j|0;f=i<<1;if(g>>>0>=4294967295/(f>>>0)>>>0?i:0){break v}d=a+16|0;f=I(f,g);if(f){if(d>>>0>2]){break v}h=C[b+8>>2];if(h>>>0>>0|f>>>0>h-d>>>0){break v}f=C[b+12>>2]-f|0;C[b+12>>2]=f;if((f|0)<=0){break v}}h=a+6|0;if(!(!g|k>>>0<4096)){k=a+4|0;e=0;c=d;while(1){f=0;if(!Qj(k,b,a,c)){break u}c=(i<<1)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}e=D[h|0]|D[h+1|0]<<8}c=1;if(!g|e>>>0<4096){break v}e=d+(j<<1)|0;d=0;while(1){c=Qj(h,b,a,e);if(!c){break v}e=(i<<1)+e|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}f=c}return f;case 2:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}z:{A:{c=a+2|0;if(c>>>0>2]){break A}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break A}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break A}d=D[c|0]|D[c+1|0]<<8;B:{if(!d){break B}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break B}d=C[b+28>>2];if(d>>>0>31){break A}C[b+28>>2]=d+1;if(!D[b+24|0]){break A}A[c|0]=0;A[c+1|0]=0}d=a+4|0;if(d>>>0>2]){break A}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break A}f=C[b+12>>2]-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break A}d=D[d|0]|D[d+1|0]<<8;if(!d){break z}c=a+6|0;if(c>>>0>e>>>0){break A}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<2;if(e>>>0>>0){break A}e=f-c|0;C[b+12>>2]=e;c=0;if((e|0)<=0){break z}e=d>>>0<=1?1:d;d=0;while(1){c=(d<<2)+a|0;if(!Vl(c+6|0,b,a)){break A}if(!Vl(c+8|0,b,a)){break A}c=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break z}c=0}return c;case 3:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}return at(a,b);case 4:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}g=Ce-16|0;Ce=g;C:{if(F[b+4>>2]>a>>>0){break C}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<=11){break C}f=C[b+12>>2];c=f-12|0;C[b+12>>2]=c;if((c|0)<=0){break C}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break C}d=f-14|0;C[b+12>>2]=d;if((d|0)<=0){break C}d=D[c|0]|D[c+1|0]<<8;D:{if(!d){break D}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break D}d=C[b+28>>2];if(d>>>0>31){break C}C[b+28>>2]=d+1;if(!D[b+24|0]){break C}A[c|0]=0;A[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break C}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break C}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break C}d=D[c|0]|D[c+1|0]<<8;E:{if(!d){break E}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break E}d=C[b+28>>2];if(d>>>0>31){break C}C[b+28>>2]=d+1;if(!D[b+24|0]){break C}A[c|0]=0;A[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break C}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break C}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break C}d=D[c|0]|D[c+1|0]<<8;F:{if(!d){break F}d=((d<<8|d>>>8)&65535)+a|0;C[g+12>>2]=d;if($s(d,b,g+12|0)){break F}d=C[b+28>>2];if(d>>>0>31){break C}C[b+28>>2]=d+1;if(!D[b+24|0]){break C}A[c|0]=0;A[c+1|0]=0}c=D[a+6|0]|D[a+7|0]<<8;C[g+8>>2]=(c<<8|c>>>8)&65535;i=C[b+4>>2];f=a+10|0;c=0;G:{if(i>>>0>f>>>0){break G}d=C[b+8>>2];c=0;if(d>>>0>>0){break G}c=0;if(d-f>>>0<2){break G}h=C[b+12>>2];j=h-2|0;C[b+12>>2]=j;e=1;c=0;if((j|0)<=0){break G}j=g+8|0;c=D[f|0]|D[f+1|0]<<8;H:{if(!c){break H}I:{a=((c<<8|c>>>8)&65535)+a|0;if(a>>>0>>0|a>>>0>d>>>0|d-a>>>0<2){break I}c=h-4|0;C[b+12>>2]=c;if((c|0)<=0){break I}i=D[a|0]|D[a+1|0]<<8;if(!i){break H}e=a+2|0;if(e>>>0>d>>>0){break I}h=d-e|0;d=(i<<8|i>>>8)&65535;e=d<<1;if(h>>>0>>0){break I}c=c-e|0;C[b+12>>2]=c;if((c|0)<=0){break I}c=d>>>0<=1?1:d;d=0;while(1){if(!_s((a+(d<<1)|0)+2|0,b,a,j)){break I}e=1;d=d+1|0;if((c|0)!=(d|0)){continue}break}break H}a=C[b+28>>2];c=0;if(a>>>0>31){break G}C[b+28>>2]=a+1;e=0;if(!D[b+24|0]){break H}A[f|0]=0;A[f+1|0]=0;e=1}c=e}e=c}Ce=g+16|0;return e;case 5:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}return at(a,b);case 6:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;J:{K:{L:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break J;case 1:break K;case 0:break L;default:break a}}return rt(a,b)}return qt(a,b)}return pt(a,b);case 7:return ot(a,b);case 8:break b;default:break a}}c=0;M:{if(F[b+4>>2]>a>>>0){break M}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break M}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break M}c=1;if((D[a|0]|D[a+1|0]<<8)!=256){break M}c=0;N:{if(F[b+4>>2]>a>>>0){break N}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break N}d=C[b+12>>2]-8|0;C[b+12>>2]=d;if((d|0)<=0){break N}d=D[a+2|0]|D[a+3|0]<<8;if((d|0)==2304){break N}c=a;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c=bt(a?c+a|0:84608,b,(d<<8|(d&65280)>>>8)&65535)}}d=c}return d}function Xz(a,b,c,d,e,f,g,h,i,j,k){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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(f-1>>>0<=1){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0}n=j^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];C[c>>2]=((I(n,b>>>8&255)>>>0)/255|0)+h<<8|((I(n,b&255)>>>0)/255|0)+i|((I(n,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=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break d}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}while(1){a=C[j>>2];b=(a>>>16&255)+g|0;d=(b>>>0>=255?255:b)<<16;b=(a>>>8&255)+h|0;a=(a&255)+i|0;C[j>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);j=j+4|0;c=c-1|0;if(c){continue}break};break a;case 3:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break e}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}c=a+c|0;if(!c){break a}while(1){a=C[j>>2];C[j>>2]=(I(a>>>8&255,h)>>>0)/255<<8|(I(a&255,i)>>>0)/255|(I(a>>>16&255,g)>>>0)/255<<16;j=j+4|0;c=c-1|0;if(c){continue}break};break a;case 7:a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){e=(k|0)!=0;c=a+(b<<2)|0;a=d-b|0;break f}c=(a+(d<<2)|0)+(!k<<2)|0;e=(k|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=C[c>>2];d=b>>>16&255;d=((I(d,g)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;e=(d>>>0>=255?255:d)<<16;d=b>>>8&255;d=((I(d,h)>>>0)/255|0)+((I(d,n)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;C[c>>2]=e|(d>>>0>=255?255:d)<<8|(b>>>0>=255?255:b);c=c+4|0;a=a-1|0;if(a){continue}break};break a;default:break b}}a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;g:{if((b|0)<=(d|0)){c=d-b|0;j=a+(b<<2)|0;a=(k|0)!=0;break g}j=(a+(d<<2)|0)+(!k<<2)|0;c=b-d|0;a=(k|0)!=0}b=a+c|0;if(!b){break a}a=h<<8|g<<16|i;c=b-1|0;d=b&7;if(d){i=0;while(1){C[j>>2]=a;j=j+4|0;b=b-1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(c>>>0<7){break a}while(1){C[j+28>>2]=a;C[j+24>>2]=a;C[j+20>>2]=a;C[j+16>>2]=a;C[j+12>>2]=a;C[j+8>>2]=a;C[j+4>>2]=a;C[j>>2]=a;j=j+32|0;b=b-8|0;if(b){continue}break}break a}if((b|0)==(d|0)){h:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];i:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break i}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];C[b>>2]=((I(n,c>>>8&255)>>>0)/255|0)+h<<8|((I(n,c&255)>>>0)/255|0)+i|((I(n,c>>>16&255)>>>0)/255|0)+g<<16;b=b+d|0;a=a-1|0;if(a){continue}break};break a;case 1:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];j:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break j}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[j>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 3:b=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];k:{if((c|0)<=(e|0)){j=(a+(I(b,c)<<2)|0)+(d<<2)|0;a=e-c|0;break k}j=((a+(I(b,e)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0;a=c-e|0}c=a+((k|0)!=0)|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];C[j>>2]=(I(a>>>8&255,h)>>>0)/255<<8|(I(a&255,i)>>>0)/255|(I(a>>>16&255,g)>>>0)/255<<16;j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];l:{if((c|0)<=(e|0)){b=(a+(I(c,f)<<2)|0)+(d<<2)|0;a=e-c|0;break l}b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0;a=c-e|0}a=a+((k|0)!=0)|0;if(!a){break a}d=f<<2;while(1){c=C[b>>2];e=c>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=c>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;c=c&255;c=((I(c,i)>>>0)/255|0)+((I(c,n)>>>0)/255|0)|0;C[b>>2]=f|(e>>>0>=255?255:e)<<8|(c>>>0>=255?255:c);b=b+d|0;a=a-1|0;if(a){continue}break};break a;default:break h}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];m:{if((c|0)<=(e|0)){j=e-c|0;b=(a+(I(c,f)<<2)|0)+(d<<2)|0;break m}j=c-e|0;b=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:f)<<2)|0}a=0;c=((k|0)!=0)+j|0;if(!c){break a}d=h<<8|g<<16|i;e=c-1|0;g=c&7;if(g){h=f<<2;while(1){C[b>>2]=d;c=c-1|0;b=b+h|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(e>>>0<7){break a}a=f<<2;while(1){C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;C[b>>2]=d;b=a+b|0;c=c-8|0;if(c){continue}break}break a}o=b-d|0;j=o>>31;m=c-e|0;l=m>>31;if(((j^o)-j|0)==((l^m)-l|0)){n:{switch(f-1|0){case 0:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];o:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];C[a>>2]=((I(n,b>>>8&255)>>>0)/255|0)+h<<8|((I(n,b&255)>>>0)/255|0)+i|((I(n,b>>>16&255)>>>0)/255|0)+g<<16;a=a+d|0;c=c-1|0;if(c){continue}break};break a;case 1:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];p:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];d=(a>>>16&255)+g|0;e=(d>>>0>=255?255:d)<<16;d=(a>>>8&255)+h|0;a=(a&255)+i|0;C[j>>2]=e|(d>>>0>=255?255:d)<<8|(a>>>0>=255?255:a);j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 3:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];q:{if((c|0)<=(e|0)){j=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break q}b=f+((b|0)<(d|0)?-1:1)|0;j=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}b=b<<2;while(1){a=C[j>>2];C[j>>2]=(I(a>>>8&255,h)>>>0)/255<<8|(I(a&255,i)>>>0)/255|(I(a>>>16&255,g)>>>0)/255<<16;j=b+j|0;c=c-1|0;if(c){continue}break};break a;case 7:f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];r:{if((c|0)<=(e|0)){a=(a+(I(c,f)<<2)|0)+(b<<2)|0;m=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break r}b=f+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,f)<<2)|0)+(d<<2)|0)+((k?0:b)<<2)|0}c=((k|0)!=0)+m|0;if(!c){break a}d=b<<2;while(1){b=C[a>>2];e=b>>>16&255;e=((I(e,g)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;f=(e>>>0>=255?255:e)<<16;e=b>>>8&255;e=((I(e,h)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;b=b&255;b=((I(b,i)>>>0)/255|0)+((I(b,n)>>>0)/255|0)|0;C[a>>2]=f|(e>>>0>=255?255:e)<<8|(b>>>0>=255?255:b);a=a+d|0;c=c-1|0;if(c){continue}break};break a;default:break n}}f=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];s:{if((c|0)<=(e|0)){m=e-c|0;e=f+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,f)<<2)|0)+(b<<2)|0;break s}a=(a+(I(e,f)<<2)|0)+(d<<2)|0;e=f+((b|0)<(d|0)?-1:1)|0;a=a+((k?0:e)<<2)|0}c=0;b=((k|0)!=0)+m|0;if(!b){break a}d=h<<8|g<<16|i;f=b-1|0;g=b&7;if(g){h=e<<2;while(1){C[a>>2]=d;b=b-1|0;a=a+h|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break a}c=e<<2;while(1){C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;C[a>>2]=d;a=a+c|0;b=b-8|0;if(b){continue}break}break a}t:{switch(f-1|0){case 0:j=d-b|0;f=j>>31;l=e-c|0;m=l>>31;j=(f^j)-f|0;l=(l^m)-m|0;u:{if(j>>>0>=l>>>0){o=l-j|0;m=l<<1;f=m-j|0;l=1;break u}o=j-l|0;p=1;m=j<<1;f=m-l|0;j=l;l=0}j=((k|0)!=0)+j|0;if(!j){break a}e=(c|0)>(e|0);k=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;r=C[a+20>>2];d=0;while(1){s=(r+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[s>>2];C[s>>2]=((I(n,e&255)>>>0)/255|0)+i|((I(n,e>>>8&255)>>>0)/255|0)+h<<8|((I(n,e>>>16&255)>>>0)/255|0)+g<<16;e=(f|0)<0;f=(e?m:o)+f|0;b=(e?l:q)+b|0;c=(e?k:p)+c|0;d=d+1|0;if((j|0)!=(d|0)){continue}break};break a;case 1:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;v:{if(f>>>0>=l>>>0){o=l-f|0;m=l<<1;j=m-f|0;l=1;break v}o=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}k=((k|0)!=0)+f|0;if(!k){break a}e=(c|0)>(e|0);n=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;p=e?-1:1;q=d?-1:1;o=o<<1;r=C[a+20>>2];d=0;while(1){s=(r+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[s>>2];f=(e>>>16&255)+g|0;t=(f>>>0>=255?255:f)<<16;f=(e>>>8&255)+h|0;e=(e&255)+i|0;C[s>>2]=t|(f>>>0>=255?255:f)<<8|(e>>>0>=255?255:e);e=(j|0)<0;j=(e?m:o)+j|0;b=(e?l:q)+b|0;c=(e?n:p)+c|0;d=d+1|0;if((k|0)!=(d|0)){continue}break};break a;case 3:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;f=(f^m)-f|0;l=(j^l)-j|0;w:{if(f>>>0>=l>>>0){p=l-f|0;m=l<<1;j=m-f|0;l=1;break w}p=f-l|0;q=1;m=f<<1;j=m-l|0;f=l;l=0}f=((k|0)!=0)+f|0;if(!f){break a}e=(c|0)>(e|0);k=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;n=e?-1:1;o=d?-1:1;p=p<<1;q=C[a+20>>2];d=0;while(1){r=(q+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[r>>2];C[r>>2]=(I(e&255,i)>>>0)/255|(I(e>>>8&255,h)>>>0)/255<<8|(I(e>>>16&255,g)>>>0)/255<<16;e=(j|0)<0;j=(e?m:p)+j|0;b=(e?l:o)+b|0;c=(e?k:n)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break};break a;case 7:m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;x:{if(m>>>0>=l>>>0){o=l-m|0;j=l<<1;f=j-m|0;l=1;break x}o=m-l|0;p=1;j=m<<1;f=j-l|0;m=l;l=0}m=((k|0)!=0)+m|0;if(!m){break a}e=(c|0)>(e|0);p=e?0-p|0:p;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;r=d?-1:1;o=o<<1;s=C[a+20>>2];d=0;while(1){t=(s+I(C[a+16>>2],c)|0)+(b<<2)|0;e=C[t>>2];k=e>>>16&255;k=((I(k,g)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;u=(k>>>0>=255?255:k)<<16;k=e>>>8&255;k=((I(k,h)>>>0)/255|0)+((I(k,n)>>>0)/255|0)|0;e=e&255;e=((I(e,i)>>>0)/255|0)+((I(e,n)>>>0)/255|0)|0;C[t>>2]=u|(k>>>0>=255?255:k)<<8|(e>>>0>=255?255:e);e=(f|0)<0;f=(e?j:o)+f|0;b=(e?l:r)+b|0;c=(e?p:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break};break a;default:break t}}m=d-b|0;f=m>>31;l=e-c|0;j=l>>31;m=(f^m)-f|0;l=(j^l)-j|0;y:{if(m>>>0>=l>>>0){o=l-m|0;f=l<<1;j=f-m|0;l=1;break y}o=m-l|0;p=1;f=m<<1;j=f-l|0;m=l;l=0}k=((k|0)!=0)+m|0;if(!k){break a}g=h<<8|g<<16|i;h=C[a+20>>2];if((k|0)!=1){i=(c|0)>(e|0);e=i?0-p|0:p;m=(b|0)>(d|0);d=m?0-l|0:l;i=i?-1:1;m=m?-1:1;l=o<<1;o=k&-2;n=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g;p=c;c=(j|0)<0;p=p+(c?e:i)|0;b=(c?d:m)+b|0;C[(h+I(p,C[a+16>>2])|0)+(b<<2)>>2]=g;j=(c?f:l)+j|0;c=(j|0)<0;j=(c?f:l)+j|0;b=b+(c?d:m)|0;c=p+(c?e:i)|0;n=n+2|0;if((o|0)!=(n|0)){continue}break}}if(!(k&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=g}}function EO(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0;n=Ce-16|0;Ce=n;C[n+8>>2]=b;C[n+12>>2]=a;d=n+4^(n+8^n+12);d=(d>>20^d>>>10^d)&65535;C[n+4>>2]=d?d:29572;o=a+1140|0;C[a+1344>>2]=o;C[a+1136>>2]=a+112;C[a+64>>2]=0;l=C[a+72>>2];d=C[a+1488>>2];a:{if(!d){break a}k=C[a+1492>>2];if(!k){break a}p(d,0,k<<2);b=C[n+8>>2]}C[a+1140>>2]=b;u=b+c|0;C[a+1148>>2]=u;C[a+1144>>2]=b;i=C[a+28>>2];h=C[a+24>>2];if(l){Fe[C[l+4>>2]](C[l>>2])}b:{c:{if((c|0)<=0){break c}e=C[n+12>>2];v=h;k=0;while(1){m=b+1|0;s=C[e+1136>>2];j=0;d=0;x=0;c=0;f=16;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{w=D[b|0];switch(w-1|0){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 h;case 11:break j;case 30:break k;case 29:break l;case 21:break m;case 20:break n;case 14:break o;case 13:break p;case 12:break q;case 10:break r;case 9:break s;case 8:break t;case 7:break u;case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 2:break z;case 0:break d;default:break i}}f=18;break e}f=14;break e}f=9;break e}f=6;break e}f=13;break e}f=11;break e}f=5;break e}f=22;break e}f=24;break e}f=2;break e}f=1;break e}f=26;break e}f=10;break e}f=7;break e}f=12;break e}f=8;break e}m=b+2|0;f=15;g=160;A:{B:{C:{D:{E:{F:{G:{H:{j=D[b+1|0];switch(j|0){case 33:break A;case 17:break B;case 16:break C;case 12:break D;case 7:break E;case 6:break F;case 2:break G;case 1:break H;case 0:break d;default:break b}}f=19;break e}f=17;break e}f=3;break e}f=4;break e}f=20;x=1;j=0;break d}f=21;c=1;j=0;break d}f=23;break e}f=25;break e}if((w|0)==255){break g}}g=160;if(w>>>0<32){break b}if(w>>>0<=246){c=w-139|0}else{b=b+2|0;if(b>>>0>u>>>0){break b}c=D[m|0];m=b;b=w<<8;c=w>>>0<=250?(b+c|0)-63124|0:64148-(b|c)|0}b=c;d=b<<16;b=q&255;j=b?c:d;q=(b|0)!=0;break f}m=b+5|0;if(u>>>0>>0){g=160;break b}b=D[b+1|0]|D[b+2|0]<<8|(D[b+3|0]<<16|D[b+4|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(j-32001>>>0<4294903295){d=1;f=0;q=1;break d}b=q&255;j=b?j:j<<16;q=(b|0)!=0}d=1;c=0;f=0;break d}j=0}if(1<>>0>24:1){k=0}I:{if(d){if(((s-e|0)-112|0)>1020){g=160;break b}C[s>>2]=j;C[e+1136>>2]=s+4;break I}q=d?q:x?q:q&255?0:q;J:{K:{L:{if(c){g=161;b=e+112|0;if((s-b|0)<8){break b}d=s-8|0;f=C[d>>2];c=f>>16;if((c|0)>d-b>>2){break b}d=d-(c<<2)|0;k=0;r=0;M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{s=C[s-4>>2];j=s>>16;switch(j|0){case 12:case 13:break J;case 28:break N;case 27:break O;case 25:break P;case 24:break Q;case 23:break R;case 22:break S;case 21:break T;case 20:break U;case 19:break V;case 14:case 15:case 16:case 17:case 18:break W;case 3:break X;case 2:break Y;case 1:break Z;case 0:break _;default:break M}}g=160;if(!C[e+1400>>2]|(c|0)!=3|C[e+1404>>2]!=7){break b}C[d+4>>2]=i;C[d>>2]=h;r=2;b=d;break J}if(f>>>0>65535){g=160;break b}C[e+1400>>2]=1;C[e+1404>>2]=0;g=Ri(a,h,i);if(g){break b}b=d;g=Vk(a,6);if(!g){break J}break b}g=160;if(!C[e+1400>>2]|f>>>0>65535){break b}b=C[e+1404>>2];C[e+1404>>2]=b+1;if(b-1>>>0>5){break K}Lh(a,h,i,(b|0)==3|(b|0)==6);break K}if((c|0)!=1){g=160;break b}r=1;if(!l){b=d;break J}Fe[C[l+20>>2]](C[l>>2],B[C[a+20>>2]+2>>1]);b=d;break J}g=160;k=C[e+1464>>2];if(!k){break b}e=C[k>>2];r=(j+((j|0)==18)|0)-13|0;if((c|0)!=(I(e,r)|0)){break b}c=d+(r<<2)|0;x=0;j=d;while(1){f=C[j>>2];b=1;if(e>>>0>=2){while(1){f=Te(C[c>>2],C[C[k+136>>2]+(b<<2)>>2])+f|0;c=c+4|0;b=b+1|0;e=C[k>>2];if(b>>>0>>0){continue}break}}C[j>>2]=f;j=j+4|0;x=x+1|0;if((x|0)!=(r|0)){continue}break}k=0;b=d;break J}g=160;if((c|0)!=1){break b}b=C[e+1464>>2];if(!b){break b}c=C[d>>2];if((c|0)<0){break b}f=C[b>>2];c=c>>16;if(F[e+1492>>2]>>0){break b}t(C[e+1488>>2]+(c<<2)|0,C[b+136>>2],f<<2);break K}if((c|0)!=2){g=160;break b}C[d>>2]=C[d>>2]+C[d+4>>2];break L}if((c|0)!=2){g=160;break b}C[d>>2]=C[d>>2]-C[d+4>>2];break L}if((c|0)!=2){g=160;break b}y=d,z=Te(C[d>>2],C[d+4>>2]),C[y>>2]=z;break L}g=160;if((c|0)!=2){break b}b=C[d+4>>2];if(!b){break b}y=d,z=Ze(C[d>>2],b),C[y>>2]=z;break L}g=160;if(!C[e+1464>>2]|(c|0)!=2){break b}b=C[d+4>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=F[e+1492>>2]){break b}C[C[e+1488>>2]+(b<<2)>>2]=C[d>>2];break K}g=160;if(!C[e+1464>>2]|(c|0)!=1){break b}b=C[d>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=F[e+1492>>2]){break b}C[d>>2]=C[C[e+1488>>2]+(b<<2)>>2];break L}if((c|0)!=4){g=160;break b}r=1;if(C[d+8>>2]<=C[d+12>>2]){b=d;break J}C[d>>2]=C[d+4>>2];b=d;break J}if(f>>>0>65535){g=160;break b}b=C[n+4>>2];C[d>>2]=((b|0)>32767)+b;b=C[n+4>>2];b=Te(b,65536-b|0);C[n+4>>2]=b?b:10355;break L}g=160;if((f|0)<0){break b}b=d;k=c;if((s|0)<0){break b}break J}b=C[(f<<2)+219872>>2];if((b|0)>(s-e|0)-112>>2){g=161;break b}b=s-(b<<2)|0;g=160;$:{aa:{ba:{ca:{switch(f-1|0){case 0:b=C[a+20>>2];da:{if(!b){break da}c=0;d=E[b>>1];k=d<<16>>16;if((k|0)>=2){c=B[(C[b+12>>2]+(d<<1)|0)-4>>1]+1|0}m=E[b+2>>1];d=m<<16>>16;ea:{if((d|0)<2){break ea}f=C[b+4>>2];h=f+(c<<3)|0;f=(f+(m<<3)|0)-8|0;if(C[h>>2]!=C[f>>2]|C[h+4>>2]!=C[f+4>>2]|D[(m+C[b+8>>2]|0)-1|0]!=1){break ea}d=d-1|0;B[b+2>>1]=d}if((k|0)<=0){break da}h=c;c=(d<<16>>16)-1|0;if((h|0)==(c|0)){B[b+2>>1]=d-1;B[b>>1]=k-1;break da}B[(C[b+12>>2]+(k<<1)|0)-2>>1]=c}if(l){if(Fe[C[l+8>>2]](C[l>>2],B[b+2>>1])|0){break b}g=Fe[C[l+24>>2]](C[l>>2],C[a+20>>2],C[a+76>>2],C[C[n+12>>2]+1468>>2])|0;if(g){break b}}lk(C[a+12>>2]);break c;case 1:C[a+64>>2]=1;C[a+32>>2]=C[a+32>>2]+C[b>>2];c=C[b+4>>2];g=0;C[a+44>>2]=0;C[a+40>>2]=c;if(D[a+70|0]){break b}i=C[a+28>>2];v=C[b>>2]+C[a+24>>2]|0;h=v;break aa;case 2:if(D[e+1496|0]|D[e+70|0]){break b}h=C[b+16>>2];c=h>>16;j=C[b+12>>2];f=j>>16;d=C[b+8>>2];q=C[b+4>>2];m=C[b>>2];u=C[e+32>>2];a=C[C[C[e+4>>2]+128>>2]+48>>2];if(!C[e+1356>>2]){if(!a){break b}break $}if(a){break $}k=-1;fa:{if(j>>>0>16777215){break fa}a=C[e+1348>>2];a=Fe[C[a+20>>2]](E[C[a+24>>2]+(f<<1)>>1])|0;j=C[e+1352>>2];if(!j){break fa}v=C[e+1356>>2];b=0;while(1){ga:{f=C[v+(b<<2)>>2];if(!f|D[f|0]!=D[a|0]){break ga}if(Se(f,a)){break ga}k=b;break fa}b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(h>>>0>16777215){break b}a=C[e+1348>>2];a=Fe[C[a+20>>2]](E[C[a+24>>2]+(c<<1)>>1])|0;f=C[e+1352>>2];if(!f){break b}h=C[e+1356>>2];c=0;while(1){ha:{b=C[h+(c<<2)>>2];if(!b|D[b|0]!=D[a|0]){break ha}if(Se(b,a)){break ha}f=k;break $}c=c+1|0;if((f|0)!=(c|0)){continue}break};break b;case 3:C[a+64>>2]=1;C[a+32>>2]=C[a+32>>2]+C[b>>2];C[a+36>>2]=C[a+36>>2]+C[b+4>>2];C[a+40>>2]=C[b+8>>2];C[a+44>>2]=C[b+12>>2];if(D[a+70|0]){break c}i=C[b+4>>2]+C[a+28>>2]|0;h=C[b>>2]+C[a+24>>2]|0;break aa;case 4:if((C[a+64>>2]&-2)==2){kx(a)}C[a+64>>2]=1;break aa;case 5:g=Ri(a,h,i);if(g){break b}h=C[b>>2]+h|0;break ba;case 6:h=C[b>>2]+h|0;if(C[e+1400>>2]){break aa}if(!C[a+64>>2]){break b}C[a+64>>2]=2;break aa;case 7:g=Ri(a,h,i);if(g){break b}g=Vk(a,3);if(g){break b}c=C[b>>2]+h|0;Lh(a,c,i,0);h=c+C[b+4>>2]|0;c=C[b+8>>2]+i|0;Lh(a,h,c,0);i=c+C[b+12>>2]|0;Lh(a,h,i,1);break aa;case 8:g=Ri(a,h,i);if(g){break b}i=C[b+4>>2]+i|0;h=C[b>>2]+h|0;break ba;case 9:i=C[b+4>>2]+i|0;h=C[b>>2]+h|0;if(C[e+1400>>2]){break aa}if(!C[a+64>>2]){break b}C[a+64>>2]=2;break aa;case 10:g=Ri(a,h,i);if(g){break b}g=Vk(a,3);if(g){break b}c=C[b>>2]+h|0;d=C[b+4>>2]+i|0;Lh(a,c,d,0);c=c+C[b+8>>2]|0;d=d+C[b+12>>2]|0;Lh(a,c,d,0);h=c+C[b+16>>2]|0;i=d+C[b+20>>2]|0;Lh(a,h,i,1);break aa;case 11:g=Ri(a,h,i);if(g){break b}g=Vk(a,3);if(g){break b}c=C[b>>2]+i|0;Lh(a,h,c,0);d=C[b+4>>2]+h|0;i=c+C[b+8>>2]|0;Lh(a,d,i,0);h=d+C[b+12>>2]|0;Lh(a,h,i,1);break aa;case 12:g=Ri(a,h,i);if(g){break b}i=C[b>>2]+i|0;break ba;case 13:i=C[b>>2]+i|0;if(C[e+1400>>2]){break aa}if(!C[a+64>>2]){break b}C[a+64>>2]=2;break aa;case 19:y=b,z=Ze(C[b>>2],C[b+4>>2]),C[y>>2]=z;b=b+4|0;q=0;break aa;case 21:c=C[b>>2];if((c|0)<0){break b}d=c>>16;if(((o-e|0)-1140|0)>180|(d|0)>=C[e+1364>>2]){break b}C[o>>2]=m;d=d<<2;c=C[n+12>>2];f=d+C[c+1368>>2]|0;m=C[f>>2];C[o+16>>2]=m;j=C[c+1372>>2];ia:{if(j){u=C[d+j>>2]+m|0;break ia}d=C[c+1360>>2];m=((d|0)>0?d:0)+m|0;C[o+16>>2]=m;u=C[f+4>>2]}C[o+12>>2]=m;C[o+20>>2]=u;if(!m){break b}o=o+12|0;C[c+1344>>2]=o;break aa;case 22:if((r|0)>0){r=r-1|0;break aa}if(!k){break b}b=b+4|0;k=k-1|0;break aa;case 23:if(e+1140>>>0>=o>>>0){break b}o=o-12|0;m=C[o>>2];u=C[o+8>>2];C[e+1344>>2]=o;break aa;case 15:if(!l){break aa}Fe[C[l+12>>2]](C[l>>2],1,b);break aa;case 16:if(!l){break aa}Fe[C[l+16>>2]](C[l>>2],1,b);break aa;case 17:if(!l){break aa}C[b>>2]=C[b>>2]+v;Fe[C[l+12>>2]](C[l>>2],0,b);break aa;case 18:if(!l){break aa}C[b>>2]=C[b>>2]+v;C[b+8>>2]=C[b+8>>2]+v;C[b+16>>2]=C[b+16>>2]+v;Fe[C[l+16>>2]](C[l>>2],0,b);break aa;case 14:case 25:break aa;case 24:break ca;default:break b}}i=C[b+4>>2];h=C[b>>2];C[e+1400>>2]=0;break aa}c=C[a+12>>2];if((B[c+22>>1]+B[c+58>>1]|0)+1>>>0>F[c+4>>2]){g=Qg(c,1,0);if(g){break b}}d=C[a+20>>2];if(D[a+68|0]){j=C[d+8>>2];e=B[d+2>>1];c=C[d+4>>2]+(e<<3)|0;C[c>>2]=((h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0)>>16;C[c+4>>2]=((i|0)>=0?i+32768&-65536:0-(32768-i&-65536)|0)>>16;A[e+j|0]=1}B[d+2>>1]=E[d+2>>1]+1}e=C[n+12>>2];C[e+1136>>2]=b;break I}if((f|c)<0){break b}h=q+u|0;if(D[e+69|0]){b=C[e+8>>2];k=C[C[b+156>>2]>>2];g=Fy(k,2);if(g){break b}a=C[k+88>>2];C[a+32>>2]=c;C[a+8>>2]=0;C[a+12>>2]=0;B[a+4>>1]=514;C[a>>2]=f;B[a+36>>1]=2;c=h-m|0;C[a+40>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;C[a+44>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;C[b+128>>2]=2;a=C[k+52>>2];C[b+72>>2]=1668246896;C[b+132>>2]=a;C[k+84>>2]=2;break c}a=C[e+12>>2];C[a+56>>2]=0;C[a+84>>2]=0;b=B[a+22>>1];C[a- -64>>2]=b+C[a+28>>2];C[a+68>>2]=C[a+32>>2]+(B[a+20>>1]<<1);b=b<<3;C[a+60>>2]=b+C[a+24>>2];if(D[a+16|0]){C[a+76>>2]=b+C[a+40>>2];C[a+80>>2]=b+C[a+44>>2]}C[a+88>>2]=C[a+52>>2]+(C[a+48>>2]<<5);A[e+1496|0]=1;g=Fe[C[e+1472>>2]](e,f)|0;A[e+1496|0]=0;if(g){break b}A[e+1496|0]=1;C[e+28>>2]=d;a=C[e+32>>2];d=C[e+36>>2];C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=h-m;b=C[e+40>>2];k=C[e+44>>2];g=Fe[C[e+1472>>2]](e,c)|0;A[e+1496|0]=0;if(g){break b}C[e+40>>2]=b;C[e+44>>2]=k;C[e+32>>2]=a;C[e+36>>2]=d;C[e+24>>2]=0;C[e+28>>2]=0;break c}r=1;b=d;break J}b=d}e=C[n+12>>2];C[e+1136>>2]=(r<<2)+b}b=m;if(u>>>0>b>>>0){continue}break}}g=0}Ce=n+16|0;return g|0}function KC(a){a=a|0;var 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;m=C[a+28>>2];if(m){o=C[a+36>>2];p=C[a+16>>2];b=C[a+40>>2];c=C[a+24>>2];q=c&7;r=(c+7|0)/8|0;f=C[a>>2];a=C[a+20>>2];k=D[b+9|0];l=k-1|0;while(1){m=m-1|0;n=r;a:{b:{switch(q-1|0){default:d=7;break a;case 0:d=6;break a;case 1:d=5;break a;case 2:d=4;break a;case 3:d=3;break a;case 4:d=2;break a;case 5:d=1;break a;case 6:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=0;e=0;c=0;h=0;g=0;e:{f:{g:{h:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break g;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break g;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break g;case 3:break h;default:break f}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break e}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=1;continue;case 1:d=0;e=0;c=0;h=0;g=0;i:{j:{k:{l:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break k;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break k;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break k;case 3:break l;default:break j}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break i}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=2;continue;case 2:d=0;e=0;c=0;h=0;g=0;m:{n:{o:{p:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break o;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break o;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break o;case 3:break p;default:break n}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break m}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=3;continue;case 3:d=0;e=0;c=0;h=0;g=0;q:{r:{s:{t:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break s;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break s;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break s;case 3:break t;default:break r}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break q}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=4;continue;case 4:d=0;e=0;c=0;h=0;g=0;u:{v:{w:{x:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break w;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break w;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break w;case 3:break x;default:break v}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break u}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=5;continue;case 5:d=0;e=0;c=0;h=0;g=0;y:{z:{A:{B:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break A;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break A;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break A;case 3:break B;default:break z}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break y}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;d=6;continue;case 6:d=0;e=0;c=0;h=0;g=0;C:{D:{E:{F:{switch(l|0){case 0:c=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break E;case 1:c=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];break E;case 2:d=(D[b+34|0]>>>3|0)+f|0;g=(D[b+33|0]>>>3|0)+f|0;e=(D[b+32|0]>>>3|0)+f|0;c=255;break E;case 3:break F;default:break D}}c=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0]}i=D[e|0];j=i<<22|3145728;e=D[d|0];h=e;d=D[g|0];g=d;if(i){break C}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(h?e<<2|3:0)|(g?d<<12|3072:0);f=f+k|0;a=a+4|0;if((n|0)<=1){break c}n=n-1|0;d=7;continue;default:break d}}h=0;d=0;c=0;e=0;g=0;G:{H:{I:{J:{switch(l|0){case 0:e=D[f|0];d=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((e&C[b+24>>2])>>>D[b+35|0]|0)|0];e=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break I;case 1:e=E[f>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((e&C[b+24>>2])>>>D[b+35|0]|0)|0];e=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break I;case 2:d=(D[b+34|0]>>>3|0)+f|0;h=(D[b+33|0]>>>3|0)+f|0;c=255;e=(D[b+32|0]>>>3|0)+f|0;break I;case 3:break J;default:break H}}e=C[f>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;c=D[C[(D[b+31|0]<<2)+382144>>2]+((e&C[b+24>>2])>>>D[b+35|0]|0)|0];e=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0}i=D[e|0];j=i<<22|3145728;d=D[d|0];e=d;h=D[h|0];g=h;if(i){break G}}j=0}C[a>>2]=(c>>>0)/85<<30|j|(e?d<<2|3:0)|(g?h<<12|3072:0);f=f+k|0;a=a+4|0;d=0;continue}break}a=a+o|0;f=f+p|0;if(m){continue}break}}}function ck(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=J(0),z=0,B=J(0),E=0,H=0,L=0,M=0,N=0;z=1;o=C[b+28>>2];a:{if(!o){break a}b:{if(C[o+8>>2]<=0){break b}d=C[o>>2];if((d|0)<64|(d|0)>C[o+4>>2]){break b}e=C[o+3656>>2];u=We(a,0,112);w=df(1,136);C[u+4>>2]=b;C[u+104>>2]=w;M=w,N=ug(C[o+8>>2]-1|0),C[M+44>>2]=N;d=df(1,4);C[w+12>>2]=d;c=df(1,4);C[w+16>>2]=c;f=d;d=df(1,20);C[f>>2]=d;M=c,N=df(1,20),C[M>>2]=N;_v(d,C[o>>2]>>e);_v(C[C[w+16>>2]>>2],C[o+4>>2]>>e);M=w,N=ug(C[o>>2])-7|0,C[M+4>>2]=N;M=w,N=ug(C[o+4>>2])-7|0,C[M+8>>2]=N;c:{if(C[o+2848>>2]){break c}c=C[o+24>>2];M=o,N=df(c,56),C[M+2848>>2]=N;if((c|0)<=0){break c}l=C[o+1824>>2];d:{if(!l){break d}z=o+1824|0;while(1){c=0;d=0;e=0;j=0;p=Ce;L=p;h=C[o+2848>>2]+I(E,56)|0;C[h>>2]=0;C[h+4>>2]=0;C[h+48>>2]=0;C[h+52>>2]=0;C[h+40>>2]=0;C[h+44>>2]=0;C[h+32>>2]=0;C[h+36>>2]=0;C[h+24>>2]=0;C[h+28>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;e:{f:{k=C[l+4>>2];if((k|0)<=0){C[h+8>>2]=0;C[h+4>>2]=k;C[h>>2]=C[l>>2];break f}f=C[l+8>>2];if(k>>>0>=4){g=k&-4;while(1){d=((((A[c+f|0]>0)+d|0)+(A[f+(c|1)|0]>0)|0)+(A[f+(c|2)|0]>0)|0)+(A[f+(c|3)|0]>0)|0;c=c+4|0;j=j+4|0;if((g|0)!=(j|0)){continue}break}}g=k&3;if(g){while(1){d=(A[c+f|0]>0)+d|0;c=c+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}C[h+8>>2]=d;C[h+4>>2]=k;C[h>>2]=C[l>>2];if(!d){break f}s=C[l+8>>2];j=0;m=0;c=Ce-144|0;Ce=c;q=kf((d?d:k)<<2);x=We(c,0,132);r=1;g:{h:{i:{j:{if((k|0)<=0){break j}f=!d;while(1){e=f;c=A[j+s|0];k:{if((c|0)<=0){break k}t=C[(c<<2)+x>>2];if(t>>>c|0?c>>>0<=31:0){break i}C[(m<<2)+q>>2]=t;e=c;while(1){l:{i=e<<2;n=i+x|0;g=C[n>>2];if(g&1){if((e|0)==1){C[x+4>>2]=C[x+4>>2]+1;break l}C[n>>2]=C[(i+x|0)-4>>2]<<1;break l}C[n>>2]=g+1;g=(e|0)>1;e=e-1|0;if(g){continue}}break}e=1;if((c|0)>31){break k}while(1){n=t;g=c+1|0;i=(g<<2)+x|0;t=C[i>>2];if((n|0)!=(t>>>1|0)){break k}C[i>>2]=C[(c<<2)+x>>2]<<1;c=g;if((c|0)!=32){continue}break}}m=e+m|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}if((m|0)!=1){break j}if(C[x+8>>2]==2){break h}}while(1){c=r<<2;if(C[c+x>>2]<<32-r|C[(c+x|0)+4>>2]<<31-r){break i}r=r+2|0;if((r|0)!=33){continue}break}break h}Re(q);q=0;break g}if((k|0)<=0){break g}r=0;i=0;while(1){f=A[r+s|0];m:{if((f|0)<=0){j=0;break m}n=C[(i<<2)+q>>2];c=0;j=0;e=0;if(f>>>0>=4){g=f&-4;t=0;while(1){j=n>>>(e|3)&1|(n>>>(e|2)<<1&2|(n>>>(e|1)&1|(n>>>e<<1&2|j<<2))<<2);e=e+4|0;t=t+4|0;if((g|0)!=(t|0)){continue}break}}g=f&3;if(!g){break m}while(1){j=n>>>e&1|j<<1;e=e+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(!(f?0:d)){C[(i<<2)+q>>2]=j;i=i+1|0}r=r+1|0;if((r|0)!=(k|0)){continue}break}}Ce=x+144|0;t=d<<2;m=p-(t+15&-16)|0;Ce=m;n:{o:{if(q){g=0;f=0;if(d>>>0>=4){k=d&-4;j=0;while(1){p=f<<2;e=p+q|0;c=C[e>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[e>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[m+p>>2]=e;e=p|4;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;e=p|8;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;e=p|12;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;f=f+4|0;j=j+4|0;if((k|0)!=(j|0)){continue}break}}k=d&3;if(k){while(1){e=f<<2;i=e+q|0;c=C[i>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;C[i>>2]=c>>>1&1431655765|(c&1431655765)<<1;C[e+m>>2]=i;f=f+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}lh(m,d,4,1263);k=m-(t+15&-16)|0;Ce=k;s=kf(t);C[h+20>>2]=s;n=d>>>0<=1?1:d;p=n&3;j=0;f=0;i=n-1|0;if(i>>>0>=3){e=n&-4;g=0;while(1){C[k+(C[m+(f<<2)>>2]-q|0)>>2]=f;c=f|1;C[k+(C[m+(c<<2)>>2]-q|0)>>2]=c;c=f|2;C[k+(C[m+(c<<2)>>2]-q|0)>>2]=c;c=f|3;C[k+(C[m+(c<<2)>>2]-q|0)>>2]=c;f=f+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}if(p){while(1){C[k+(C[m+(f<<2)>>2]-q|0)>>2]=f;f=f+1|0;j=j+1|0;if((p|0)!=(j|0)){continue}break}}j=0;f=0;if(i>>>0>=3){e=n&-4;g=0;while(1){i=f<<2;C[s+(C[i+k>>2]<<2)>>2]=C[i+q>>2];c=i|4;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];c=i|8;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];c=i|12;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];f=f+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}e=n&3;if(e){while(1){c=f<<2;C[s+(C[c+k>>2]<<2)>>2]=C[c+q>>2];f=f+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}Re(q);f=0;q=0;c=C[l+12>>2]-1|0;p:{if(c>>>0>1){break p}e=C[l+16>>2];v=+(e&2097151);y=J(Wu((e|0)<0?-v:v,(e>>>21&1023)-788|0));e=C[l+20>>2];v=+(e&2097151);B=J(Wu((e|0)<0?-v:v,(e>>>21&1023)-788|0));r=C[l>>2];q=df(I(d,r),4);q:{switch(c|0){case 1:m=C[l+4>>2];if((m|0)<=0){break p}H=+y;v=+B;g=0;s=(r|0)<=0;while(1){if(!(D[C[l+8>>2]+g|0]?0:k)){if(!s){n=I(f,r);p=I(g,r);i=k+(f<<2)|0;e=C[l+28>>2];d=C[l+32>>2];c=0;y=J(0);while(1){B=J(+J(K(J(C[d+(c+p<<2)>>2])))*v+H+ +y);y=e?B:y;G[((k?I(r,C[i>>2])+c|0:c+n|0)<<2)+q>>2]=B;c=c+1|0;if((r|0)!=(c|0)){continue}break}}f=f+1|0}g=g+1|0;if((m|0)!=(g|0)){continue}break};break p;case 0:break q;default:break p}}m=C[l+4>>2];v=O(Gh(+J(m|0),+J(J(1)/J(r|0))));r:{if(K(v)<2147483648){c=~~v;break r}c=-2147483648}i=r&-8;p=r&7;e=r>>>0<8;while(1){g=1;j=1;s:{if((r|0)<=0){break s}d=c+1|0;f=0;if(!e){while(1){j=I(d,I(d,I(d,I(d,I(d,I(d,I(d,I(d,j))))))));g=I(I(I(I(I(I(I(I(c,g),c),c),c),c),c),c),c);f=f+8|0;if((i|0)!=(f|0)){continue}break}}f=0;if(!p){break s}while(1){j=I(d,j);g=I(c,g);f=f+1|0;if((p|0)!=(f|0)){continue}break}}d=(g|0)>(m|0);if(d|(j|0)<=(m|0)){c=(d?-1:1)+c|0;continue}else{if((m|0)<=0){break p}H=+y;v=+B;f=0;s=(r|0)<=0;e=0;while(1){if(!(D[C[l+8>>2]+f|0]?0:k)){if(!s){n=I(e,r);p=k+(e<<2)|0;i=C[l+28>>2];d=C[l+32>>2];j=0;y=J(0);g=1;while(1){B=J(+J(K(J(C[(((f|0)/(g|0)|0)%(c|0)<<2)+d>>2])))*v+H+ +y);y=i?B:y;G[((k?I(r,C[p>>2])+j|0:j+n|0)<<2)+q>>2]=B;g=I(c,g);j=j+1|0;if((r|0)!=(j|0)){continue}break}}e=e+1|0}f=f+1|0;if((m|0)!=(f|0)){continue}break}}break}}C[h+16>>2]=q;p=kf(t);C[h+24>>2]=p;g=0;n=C[l+4>>2];if((n|0)<=0){d=kf(0);C[h+40>>2]=0;C[h+28>>2]=d;j=h+28|0;break o}g=n&1;i=C[l+8>>2];t:{if((n|0)==1){c=0;f=0;break t}e=n&-2;c=0;f=0;j=0;while(1){if(A[c+i|0]>0){C[p+(C[k+(f<<2)>>2]<<2)>>2]=c;f=f+1|0}d=c|1;if(A[d+i|0]>0){C[p+(C[k+(f<<2)>>2]<<2)>>2]=d;f=f+1|0}c=c+2|0;j=j+2|0;if((e|0)!=(j|0)){continue}break}}if(!(!g|A[c+i|0]<=0)){C[p+(C[k+(f<<2)>>2]<<2)>>2]=c;f=f+1|0}g=0;d=kf(f);C[h+40>>2]=0;C[h+28>>2]=d;j=h+28|0;if((n|0)<=0){break o}d=C[l+8>>2];e=0;c=0;f=0;while(1){g=A[c+d|0];u:{if((g|0)<=0){break u}A[C[h+28>>2]+C[k+(f<<2)>>2]|0]=g;f=f+1|0;d=C[l+8>>2];e=A[d+c|0];g=C[h+40>>2];if((e|0)<=(g|0)){e=g;break u}C[h+40>>2]=e}c=c+1|0;if((c|0)>2]){continue}break}g=1;if((f|0)!=1){g=f;break o}if((e|0)!=1){break o}C[h+36>>2]=1;d=df(2,4);C[h+32>>2]=d;C[d>>2]=1;C[d+4>>2]=1;break f}d=C[h+16>>2];if(d){Re(d)}d=C[h+20>>2];if(d){Re(d)}d=C[h+24>>2];if(d){Re(d)}d=C[h+28>>2];if(d){Re(d)}d=C[h+32>>2];if(d){Re(d)}C[h>>2]=0;C[h+4>>2]=0;C[h+48>>2]=0;C[h+52>>2]=0;C[h+40>>2]=0;C[h+44>>2]=0;C[h+32>>2]=0;C[h+36>>2]=0;C[h+24>>2]=0;C[h+28>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;c=-1;break n}d=5;c=C[h+8>>2];v:{if(!c){break v}f=0;while(1){e=f;f=e+1|0;k=c>>>0>1;c=c>>>1|0;if(k){continue}break}if(e>>>0<8){break v}d=e>>>0>11?8:e-3|0}C[h+36>>2]=d;n=1<>2]=s;if((g|0)>0){p=C[j>>2];l=0;while(1){i=l+p|0;f=A[i|0];if(!((d|0)<(f|0)|(d-f|0)==31)){c=C[C[h+20>>2]+(l<<2)>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;k=c>>>1&1431655765|(c&1431655765)<<1;e=l+1|0;c=0;while(1){C[s+((k|c<>2]=e;c=c+1|0;f=A[i|0];if((c|0)<1<>>8&65280|m>>>24);d=d>>>4&252645135|(d&252645135)<<4;d=d>>>2&858993459|(d&858993459)<<2;k=s+((d&357913941)<<3|d<<1&1431655764)|0;if(!C[k>>2]){d=c+1|0;f=((d|0)<(g|0)?g:d)-1|0;d=c;while(1){w:{c=d;if((f|0)==(c|0)){c=f;break w}d=c+1|0;if(m>>>0>=F[C[h+20>>2]+(d<<2)>>2]){continue}}break}x:{if((e|0)>=(g|0)){break x}d=C[h+20>>2];while(1){if(m>>>0<(i&C[d+(e<<2)>>2])>>>0){break x}e=e+1|0;if((e|0)!=(g|0)){continue}break}e=g}d=g-e|0;C[k>>2]=(c>>>0>=32767?32767:c)<<15|(d>>>0>=32767?32767:d)|-2147483648}l=l+1|0;if((n|0)!=(l|0)){continue}break}break f}Ce=L;break e}Ce=L;c=0}if(c){c=C[o+24>>2];break d}ym(C[z>>2]);C[z>>2]=0;c=C[o+24>>2];E=E+1|0;if((c|0)<=(E|0)){break c}z=((E<<2)+o|0)+1824|0;l=C[z>>2];if(l){continue}break}}if((c|0)>0){b=0;while(1){e=((b<<2)+o|0)+1824|0;d=C[e>>2];if(d){ym(d);C[e>>2]=0;c=C[o+24>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}Jh(u);z=-1;break a}d=C[o+4>>2];C[u+16>>2]=d;e=C[b+4>>2];b=e<<2;M=u,N=kf(b),C[M+8>>2]=N;M=u,N=kf(b),C[M+12>>2]=N;if((e|0)>0){c=0;while(1){b=df(d,4);C[C[u+8>>2]+(c<<2)>>2]=b;c=c+1|0;if((e|0)!=(c|0)){continue}break}}C[u+36>>2]=0;C[u+40>>2]=0;b=C[o+4>>2]/2|0;C[u+20>>2]=b;C[u+48>>2]=b;d=C[o+16>>2];M=w,N=df(d,4),C[M+48>>2]=N;b=C[o+20>>2];M=w,N=df(b,4),C[M+52>>2]=N;c=0;z=0;if((d|0)>0){while(1){d=c<<2;b=d+o|0;b=Fe[C[C[(C[b+800>>2]<<2)+317236>>2]+8>>2]](u,C[b+1056>>2])|0;C[d+C[w+48>>2]>>2]=b;c=c+1|0;if((c|0)>2]){continue}break}b=C[o+20>>2]}if((b|0)<=0){break b}c=0;while(1){d=c<<2;b=d+o|0;b=Fe[C[C[(C[b+1312>>2]<<2)+317244>>2]+8>>2]](u,C[b+1568>>2])|0;C[d+C[w+52>>2]>>2]=b;c=c+1|0;if((c|0)>2]){continue}break}}}if(z){Jh(a);return 1}e=C[a+104>>2];y:{if(!e){break y}b=C[a+4>>2];if(!b){break y}b=C[b+28>>2];if(!b){break y}d=C[b+4>>2];c=C[b+3656>>2];C[a+56>>2]=-1;C[a+60>>2]=-1;C[a+24>>2]=-1;b=a- -64|0;C[b>>2]=-1;C[b+4>>2]=-1;C[a+32>>2]=0;b=d>>c+1;C[a+48>>2]=b;C[a+20>>2]=b>>c;C[e+128>>2]=-1;C[e+132>>2]=-1}return 0}function kf(a){a=a|0;var 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;l=Ce-16|0;Ce=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(a>>>0<=244){g=C[108114];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=g>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+432496|0;d=C[a+432504>>2];a=C[d+8>>2];j:{if((b|0)==(a|0)){m=432456,n=rT(-2,c)&g,C[m>>2]=n;break j}C[a+12>>2]=b;C[b+8>>2]=a}a=d+8|0;b=c<<3;C[d+4>>2]=b|3;b=b+d|0;C[b+4>>2]=C[b+4>>2]|1;break a}k=C[108116];if(k>>>0>=h>>>0){break i}if(b){a=2<>2];a=C[e+8>>2];k:{if((b|0)==(a|0)){g=rT(-2,d)&g;C[108114]=g;break k}C[a+12>>2]=b;C[b+8>>2]=a}C[e+4>>2]=h|3;c=e+h|0;a=d<<3;d=a-h|0;C[c+4>>2]=d|1;C[a+e>>2]=d;if(k){b=(k&-8)+432496|0;f=C[108119];a=1<<(k>>>3);l:{if(!(a&g)){C[108114]=a|g;a=b;break l}a=C[b+8>>2]}C[b+8>>2]=f;C[a+12>>2]=f;C[f+12>>2]=b;C[f+8>>2]=a}a=e+8|0;C[108119]=c;C[108116]=d;break a}j=C[108115];if(!j){break i}c=C[(lT(0-j&j)<<2)+432760>>2];f=(C[c+4>>2]&-8)-h|0;b=c;while(1){m:{a=C[b+16>>2];if(!a){a=C[b+20>>2];if(!a){break m}}b=(C[a+4>>2]&-8)-h|0;d=b>>>0>>0;f=d?b:f;c=d?a:c;b=a;continue}break}i=C[c+24>>2];d=C[c+12>>2];if((d|0)!=(c|0)){a=C[c+8>>2];C[a+12>>2]=d;C[d+8>>2]=a;break b}b=c+20|0;a=C[b>>2];if(!a){a=C[c+16>>2];if(!a){break h}b=c+16|0}while(1){e=b;d=a;b=a+20|0;a=C[b>>2];if(a){continue}b=d+16|0;a=C[d+16>>2];if(a){continue}break}C[e>>2]=0;break b}h=-1;if(a>>>0>4294967231){break i}a=a+11|0;h=a&-8;j=C[108115];if(!j){break i}f=0-h|0;g=0;n:{if(h>>>0<256){break n}g=31;if(h>>>0>16777215){break n}a=L(a>>>8|0);g=((h>>>38-a&1)-(a<<1)|0)+62|0}b=C[(g<<2)+432760>>2];o:{p:{q:{if(!b){a=0;break q}a=0;c=h<<((g|0)!=31?25-(g>>>1|0)|0:0);while(1){r:{e=(C[b+4>>2]&-8)-h|0;if(e>>>0>=f>>>0){break r}d=b;f=e;if(e){break r}f=0;a=b;break p}e=C[b+20>>2];b=C[((c>>>29&4)+b|0)+16>>2];a=e?(e|0)==(b|0)?a:e:a;c=c<<1;if(b){continue}break}}if(!(a|d)){d=0;a=2<>2]}if(!a){break o}}while(1){b=(C[a+4>>2]&-8)-h|0;c=b>>>0>>0;f=c?b:f;d=c?a:d;b=C[a+16>>2];if(b){a=b}else{a=C[a+20>>2]}if(a){continue}break}}if(!d|C[108116]-h>>>0<=f>>>0){break i}g=C[d+24>>2];c=C[d+12>>2];if((d|0)!=(c|0)){a=C[d+8>>2];C[a+12>>2]=c;C[c+8>>2]=a;break c}b=d+20|0;a=C[b>>2];if(!a){a=C[d+16>>2];if(!a){break g}b=d+16|0}while(1){e=b;c=a;b=a+20|0;a=C[b>>2];if(a){continue}b=c+16|0;a=C[c+16>>2];if(a){continue}break}C[e>>2]=0;break c}a=C[108116];if(a>>>0>=h>>>0){d=C[108119];b=a-h|0;s:{if(b>>>0>=16){c=d+h|0;C[c+4>>2]=b|1;C[a+d>>2]=b;C[d+4>>2]=h|3;break s}C[d+4>>2]=a|3;a=a+d|0;C[a+4>>2]=C[a+4>>2]|1;c=0;b=0}C[108116]=b;C[108119]=c;a=d+8|0;break a}i=C[108117];if(i>>>0>h>>>0){b=i-h|0;C[108117]=b;c=C[108120];a=c+h|0;C[108120]=a;C[a+4>>2]=b|1;C[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;if(C[108232]){c=C[108234]}else{C[108235]=-1;C[108236]=-1;C[108233]=4096;C[108234]=4096;C[108232]=l+12&-16^1431655768;C[108237]=0;C[108225]=0;c=4096}e=j+c|0;f=0-c|0;b=e&f;if(b>>>0<=h>>>0){break a}d=C[108224];if(d){c=C[108222];g=c+b|0;if(d>>>0>>0|c>>>0>=g>>>0){break a}}t:{if(!(D[432900]&4)){u:{v:{w:{x:{d=C[108120];if(d){a=432904;while(1){c=C[a>>2];if(c>>>0<=d>>>0&d>>>0>2]>>>0){break x}a=C[a+8>>2];if(a){continue}break}}c=Vj(0);if((c|0)==-1){break u}g=b;d=C[108233];a=d-1|0;if(a&c){g=(b-c|0)+(a+c&0-d)|0}if(g>>>0<=h>>>0){break u}d=C[108224];if(d){a=C[108222];f=a+g|0;if(d>>>0>>0|a>>>0>=f>>>0){break u}}a=Vj(g);if((c|0)!=(a|0)){break w}break t}g=f&e-i;c=Vj(g);if((c|0)==(C[a>>2]+C[a+4>>2]|0)){break v}a=c}if((a|0)==-1){break u}if(h+48>>>0<=g>>>0){c=a;break t}c=C[108234];c=c+(j-g|0)&0-c;if((Vj(c)|0)==-1){break u}g=c+g|0;c=a;break t}if((c|0)!=-1){break t}}C[108225]=C[108225]|4}c=Vj(b);a=Vj(0);if((c|0)==-1|(a|0)==-1|a>>>0<=c>>>0){break d}g=a-c|0;if(g>>>0<=h+40>>>0){break d}}a=C[108222]+g|0;C[108222]=a;if(a>>>0>F[108223]){C[108223]=a}y:{e=C[108120];if(e){a=432904;while(1){d=C[a>>2];b=C[a+4>>2];if((d+b|0)==(c|0)){break y}a=C[a+8>>2];if(a){continue}break}break f}a=C[108118];if(!(a>>>0<=c>>>0?a:0)){C[108118]=c}a=0;C[108227]=g;C[108226]=c;C[108122]=-1;C[108123]=C[108232];C[108229]=0;while(1){d=a<<3;b=d+432496|0;C[d+432504>>2]=b;C[d+432508>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;C[108117]=b;a=a+c|0;C[108120]=a;C[a+4>>2]=b|1;C[(c+d|0)+4>>2]=40;C[108121]=C[108236];break e}if(D[a+12|0]&8|d>>>0>e>>>0|c>>>0<=e>>>0){break f}C[a+4>>2]=b+g;a=e+8&7?-8-e&7:0;c=a+e|0;C[108120]=c;b=C[108117]+g|0;a=b-a|0;C[108117]=a;C[c+4>>2]=a|1;C[(b+e|0)+4>>2]=40;C[108121]=C[108236];break e}d=0;break b}c=0;break c}if(F[108118]>c>>>0){C[108118]=c}b=c+g|0;a=432904;z:{A:{B:{C:{D:{E:{while(1){if((b|0)!=C[a>>2]){a=C[a+8>>2];if(a){continue}break E}break}if(!(D[a+12|0]&8)){break D}}a=432904;while(1){b=C[a>>2];if(b>>>0<=e>>>0){f=b+C[a+4>>2]|0;if(f>>>0>e>>>0){break C}}a=C[a+8>>2];continue}}C[a>>2]=c;C[a+4>>2]=C[a+4>>2]+g;j=(c+8&7?-8-c&7:0)+c|0;C[j+4>>2]=h|3;g=b+(b+8&7?-8-b&7:0)|0;i=h+j|0;a=g-i|0;if((e|0)==(g|0)){C[108120]=i;a=C[108117]+a|0;C[108117]=a;C[i+4>>2]=a|1;break A}if(C[108119]==(g|0)){C[108119]=i;a=C[108116]+a|0;C[108116]=a;C[i+4>>2]=a|1;C[a+i>>2]=a;break A}f=C[g+4>>2];if((f&3)==1){e=f&-8;F:{if(f>>>0<=255){c=C[g+12>>2];b=C[g+8>>2];if((c|0)==(b|0)){m=432456,n=C[108114]&rT(-2,f>>>3|0),C[m>>2]=n;break F}C[b+12>>2]=c;C[c+8>>2]=b;break F}h=C[g+24>>2];c=C[g+12>>2];G:{if((g|0)!=(c|0)){b=C[g+8>>2];C[b+12>>2]=c;C[c+8>>2]=b;break G}H:{f=g+20|0;b=C[f>>2];if(b){break H}f=g+16|0;b=C[f>>2];if(b){break H}c=0;break G}while(1){d=f;c=b;f=c+20|0;b=C[f>>2];if(b){continue}f=c+16|0;b=C[c+16>>2];if(b){continue}break}C[d>>2]=0}if(!h){break F}d=C[g+28>>2];b=(d<<2)+432760|0;I:{if(C[b>>2]==(g|0)){C[b>>2]=c;if(c){break I}m=432460,n=C[108115]&rT(-2,d),C[m>>2]=n;break F}C[h+(C[h+16>>2]==(g|0)?16:20)>>2]=c;if(!c){break F}}C[c+24>>2]=h;b=C[g+16>>2];if(b){C[c+16>>2]=b;C[b+24>>2]=c}b=C[g+20>>2];if(!b){break F}C[c+20>>2]=b;C[b+24>>2]=c}g=e+g|0;f=C[g+4>>2];a=a+e|0}C[g+4>>2]=f&-2;C[i+4>>2]=a|1;C[a+i>>2]=a;if(a>>>0<=255){b=(a&-8)+432496|0;c=C[108114];a=1<<(a>>>3);J:{if(!(c&a)){C[108114]=a|c;a=b;break J}a=C[b+8>>2]}C[b+8>>2]=i;C[a+12>>2]=i;C[i+12>>2]=b;C[i+8>>2]=a;break A}f=31;if(a>>>0<=16777215){b=L(a>>>8|0);f=((a>>>38-b&1)-(b<<1)|0)+62|0}C[i+28>>2]=f;C[i+16>>2]=0;C[i+20>>2]=0;b=(f<<2)+432760|0;d=C[108115];c=1<>2]=i;break K}f=a<<((f|0)!=31?25-(f>>>1|0)|0:0);c=C[b>>2];while(1){b=c;if((C[c+4>>2]&-8)==(a|0)){break B}c=f>>>29|0;f=f<<1;d=(c&4)+b|0;c=C[d+16>>2];if(c){continue}break}C[d+16>>2]=i}C[i+24>>2]=b;C[i+12>>2]=i;C[i+8>>2]=i;break A}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;C[108117]=b;a=a+c|0;C[108120]=a;C[a+4>>2]=b|1;C[(c+d|0)+4>>2]=40;C[108121]=C[108236];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?e:a;C[d+4>>2]=27;a=C[108229];C[d+16>>2]=C[108228];C[d+20>>2]=a;a=C[108227];C[d+8>>2]=C[108226];C[d+12>>2]=a;C[108228]=d+8;C[108227]=g;C[108226]=c;C[108229]=0;a=d+24|0;while(1){C[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(e|0)){break e}C[d+4>>2]=C[d+4>>2]&-2;f=d-e|0;C[e+4>>2]=f|1;C[d>>2]=f;if(f>>>0<=255){b=(f&-8)+432496|0;c=C[108114];a=1<<(f>>>3);L:{if(!(c&a)){C[108114]=a|c;a=b;break L}a=C[b+8>>2]}C[b+8>>2]=e;C[a+12>>2]=e;C[e+12>>2]=b;C[e+8>>2]=a;break e}a=31;if(f>>>0<=16777215){a=L(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}C[e+28>>2]=a;C[e+16>>2]=0;C[e+20>>2]=0;b=(a<<2)+432760|0;d=C[108115];c=1<>2]=e;break M}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);d=C[b>>2];while(1){b=d;if((f|0)==(C[b+4>>2]&-8)){break z}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;d=C[c+16>>2];if(d){continue}break}C[c+16>>2]=e}C[e+24>>2]=b;C[e+12>>2]=e;C[e+8>>2]=e;break e}a=C[b+8>>2];C[a+12>>2]=i;C[b+8>>2]=i;C[i+24>>2]=0;C[i+12>>2]=b;C[i+8>>2]=a}a=j+8|0;break a}a=C[b+8>>2];C[a+12>>2]=e;C[b+8>>2]=e;C[e+24>>2]=0;C[e+12>>2]=b;C[e+8>>2]=a}a=C[108117];if(a>>>0<=h>>>0){break d}b=a-h|0;C[108117]=b;c=C[108120];a=c+h|0;C[108120]=a;C[a+4>>2]=b|1;C[c+4>>2]=h|3;a=c+8|0;break a}C[105782]=48;a=0;break a}N:{if(!g){break N}b=C[d+28>>2];a=(b<<2)+432760|0;O:{if(C[a>>2]==(d|0)){C[a>>2]=c;if(c){break O}j=rT(-2,b)&j;C[108115]=j;break N}C[g+(C[g+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break N}}C[c+24>>2]=g;a=C[d+16>>2];if(a){C[c+16>>2]=a;C[a+24>>2]=c}a=C[d+20>>2];if(!a){break N}C[c+20>>2]=a;C[a+24>>2]=c}P:{if(f>>>0<=15){a=f+h|0;C[d+4>>2]=a|3;a=a+d|0;C[a+4>>2]=C[a+4>>2]|1;break P}C[d+4>>2]=h|3;e=d+h|0;C[e+4>>2]=f|1;C[e+f>>2]=f;if(f>>>0<=255){b=(f&-8)+432496|0;c=C[108114];a=1<<(f>>>3);Q:{if(!(c&a)){C[108114]=a|c;a=b;break Q}a=C[b+8>>2]}C[b+8>>2]=e;C[a+12>>2]=e;C[e+12>>2]=b;C[e+8>>2]=a;break P}a=31;if(f>>>0<=16777215){a=L(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}C[e+28>>2]=a;C[e+16>>2]=0;C[e+20>>2]=0;b=(a<<2)+432760|0;R:{c=1<>2]=e;break S}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);h=C[b>>2];while(1){b=h;if((C[b+4>>2]&-8)==(f|0)){break R}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=C[c+16>>2];if(h){continue}break}C[c+16>>2]=e}C[e+24>>2]=b;C[e+12>>2]=e;C[e+8>>2]=e;break P}a=C[b+8>>2];C[a+12>>2]=e;C[b+8>>2]=e;C[e+24>>2]=0;C[e+12>>2]=b;C[e+8>>2]=a}a=d+8|0;break a}T:{if(!i){break T}b=C[c+28>>2];a=(b<<2)+432760|0;U:{if(C[a>>2]==(c|0)){C[a>>2]=d;if(d){break U}m=432460,n=rT(-2,b)&j,C[m>>2]=n;break T}C[i+(C[i+16>>2]==(c|0)?16:20)>>2]=d;if(!d){break T}}C[d+24>>2]=i;a=C[c+16>>2];if(a){C[d+16>>2]=a;C[a+24>>2]=d}a=C[c+20>>2];if(!a){break T}C[d+20>>2]=a;C[a+24>>2]=d}V:{if(f>>>0<=15){a=f+h|0;C[c+4>>2]=a|3;a=a+c|0;C[a+4>>2]=C[a+4>>2]|1;break V}C[c+4>>2]=h|3;d=c+h|0;C[d+4>>2]=f|1;C[d+f>>2]=f;if(k){b=(k&-8)+432496|0;e=C[108119];a=1<<(k>>>3);W:{if(!(a&g)){C[108114]=a|g;a=b;break W}a=C[b+8>>2]}C[b+8>>2]=e;C[a+12>>2]=e;C[e+12>>2]=b;C[e+8>>2]=a}C[108119]=d;C[108116]=f}a=c+8|0}Ce=l+16|0;return a|0}function _C(a){a=a|0;var 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;q=C[a+28>>2];if(q){s=C[a+36>>2];t=C[a+16>>2];d=C[a+24>>2];u=d&3;v=(d+3|0)/4|0;j=C[a>>2];f=C[a+20>>2];e=C[a+40>>2];o=D[e+9|0];r=o-1|0;b=C[a+44>>2];p=D[b+9|0];m=p-1|0;while(1){q=q-1|0;a=v;a:{b:{switch(u-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=C[(D[e+30|0]<<2)+382144>>2];e:{f:{g:{h:{switch(r|0){case 0:d=D[j|0];break g;case 1:d=E[j>>1];break g;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break f;case 3:break h;default:break e}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+382144>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+382144>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+382144>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break e}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;i:{j:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break i;case 3:break j;default:break i}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;k:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break e;case 3:break k;default:break e}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];l:{m:{n:{o:{switch(r|0){case 0:d=D[j|0];break n;case 1:d=E[j>>1];break n;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break m;case 3:break o;default:break l}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+382144>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+382144>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+382144>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break l}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;p:{q:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break p;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break p;case 3:break q;default:break p}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;r:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break l;case 3:break r;default:break l}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];s:{t:{u:{v:{switch(r|0){case 0:d=D[j|0];break u;case 1:d=E[j>>1];break u;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break t;case 3:break v;default:break s}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+382144>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+382144>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+382144>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break s}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;w:{x:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break w;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break w;case 3:break x;default:break w}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;y:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break s;case 3:break y;default:break s}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];z:{A:{B:{C:{switch(r|0){case 0:d=D[j|0];break B;case 1:d=E[j>>1];break B;case 2:g=(D[e+34|0]>>>3|0)+j|0;h=(D[e+33|0]>>>3|0)+j|0;i=(D[e+32|0]>>>3|0)+j|0;d=255;break A;case 3:break C;default:break z}}d=C[j>>2]}g=c+((d&C[e+20>>2])>>>D[e+34|0]|0)|0;h=C[(D[e+29|0]<<2)+382144>>2]+((d&C[e+16>>2])>>>D[e+33|0]|0)|0;i=C[(D[e+28|0]<<2)+382144>>2]+((d&C[e+12>>2])>>>D[e+32|0]|0)|0;d=D[C[(D[e+31|0]<<2)+382144>>2]+((d&C[e+24>>2])>>>D[e+35|0]|0)|0];if(!d){break z}}k=D[g|0];l=D[h|0];n=D[i|0];g=0;h=0;i=0;c=0;D:{E:{switch(m|0){case 0:c=D[f|0];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 1:c=E[f>>1];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break D;case 2:h=D[(D[b+34|0]>>>3|0)+f|0];i=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];g=255;break D;case 3:break E;default:break D}}c=C[f>>2];g=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];h=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}g=(d+g|0)-((I(g&255,d)>>>0)/255|0)&255;k=((I(k-(h&255)|0,d)|0)/255|0)+h|0;h=k&255;l=((I(l-(i&255)|0,d)|0)/255|0)+i|0;i=l&255;c=((I(n-c|0,d)|0)/255|0)+c|0;d=c&255;F:{switch(m|0){case 0:A[f|0]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+f|0]=c;A[(D[b+33|0]>>>3|0)+f|0]=l;A[(D[b+34|0]>>>3|0)+f|0]=k;break z;case 3:break F;default:break z}}C[f>>2]=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];if(p){i=D[a+63|0];m=C[a+56>>2];j=C[a+48>>2];r=C[a+36>>2];s=C[a+16>>2];g=C[a+24>>2];t=g&7;u=(g+7|0)/8|0;e=C[a>>2];g=C[a+20>>2];n=C[a+44>>2];b=C[a+40>>2];l=D[b+9|0];o=l-1|0;while(1){p=p-1|0;q=u;a:{b:{switch(t-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;d=0;c=0;h=0;e:{f:{g:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break f;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break f;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break f;case 3:break g;default:break e}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=1;continue;case 1:a=0;d=0;c=0;h=0;h:{i:{j:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break i;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break i;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break i;case 3:break j;default:break h}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=2;continue;case 2:a=0;d=0;c=0;h=0;k:{l:{m:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break l;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break l;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break l;case 3:break m;default:break k}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=3;continue;case 3:a=0;d=0;c=0;h=0;n:{o:{p:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break o;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break o;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break o;case 3:break p;default:break n}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=4;continue;case 4:a=0;d=0;c=0;h=0;q:{r:{s:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break r;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break r;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break r;case 3:break s;default:break q}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=5;continue;case 5:a=0;d=0;c=0;h=0;t:{u:{v:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break u;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break u;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break u;case 3:break v;default:break t}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=6;continue;case 6:a=0;d=0;c=0;h=0;w:{x:{y:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break x;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break x;case 2:d=(D[b+34|0]>>>3|0)+e|0;f=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;f=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}h=D[d|0];d=D[c|0];c=D[f|0]}if((a|0)!=(m|0)){f=c;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;c=D[a+1|0];k=d&255;d=D[a|0];a=D[a+2|0];a=((I(f-c|0,i)|0)/255|0)+c>>>3&28|((I(k-d|0,i)|0)/255|0)+d&-32|(((I((h&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;if((q|0)<=1){break c}q=q-1|0;a=7;continue;default:break d}}a=0;c=0;h=0;d=0;z:{A:{B:{switch(o|0){case 0:a=D[e|0];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break A;case 1:a=E[e>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0;break A;case 2:d=(D[b+34|0]>>>3|0)+e|0;h=(D[b+33|0]>>>3|0)+e|0;c=(D[b+32|0]>>>3|0)+e|0;break A;case 3:break B;default:break z}}a=C[e>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((a&C[b+20>>2])>>>D[b+34|0]|0)|0;h=C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0;c=C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0}d=D[d|0];c=D[c|0];h=D[h|0]}if((a|0)!=(m|0)){k=h&255;a=C[C[n+4>>2]+4>>2]+(D[g|0]<<2)|0;h=D[a+1|0];f=c;c=D[a|0];a=D[a+2|0];a=((I(k-h|0,i)|0)/255|0)+h>>>3&28|((I(f-c|0,i)|0)/255|0)+c&-32|(((I((d&255)-a|0,i)|0)/255|0)+a&192)>>>6;if(j){a=D[(a&255)+j|0]}A[g|0]=a}e=e+l|0;g=g+1|0;a=0;continue}break}g=g+r|0;e=e+s|0;if(p){continue}break}}}function Bs(a,b,c,d,e){var 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;m=Ce-32|0;Ce=m;k=C[c+92>>2];g=d+3|0;a:{if(C[c+56>>2]!=1265525857|g>>>0>e>>>0){break a}i=I(d,20)+k|0;if(D[i+12|0]&32|D[i+18|0]!=16){break a}f=d+1|0;j=I(f,20)+k|0;if(D[j+12|0]&32|D[j+18|0]!=4){break a}i=I(d,20)+k|0;if(D[i+52|0]&32){break a}h=i+40|0;if(D[h+18|0]!=6){break a}fg(c,f,g);C[m+24>>2]=C[j+16>>2];i=C[j+12>>2];C[m+16>>2]=C[j+8>>2];C[m+20>>2]=i;i=C[j+4>>2];C[m+8>>2]=C[j>>2];C[m+12>>2]=i;C[j+16>>2]=C[h+16>>2];i=C[h+12>>2];C[j+8>>2]=C[h+8>>2];C[j+12>>2]=i;i=C[h+4>>2];C[j>>2]=C[h>>2];C[j+4>>2]=i;C[h+16>>2]=C[m+24>>2];i=C[m+20>>2];C[h+8>>2]=C[m+16>>2];C[h+12>>2]=i;i=C[m+12>>2];C[h>>2]=C[m+8>>2];C[h+4>>2]=i}l=C[a>>2];h=C[l+20>>2];b:{c:{d:{e:{f:{g:{if(!(!C[a+80>>2]|e>>>0>>0)){i=e;g=d;h:{i:{switch(h|0){case 0:i=I(d,20)+k|0;if(D[i+52|0]&32){break h}f=D[i+58|0];if(f>>>0>31){break h}i=e;if(!(1<>2]=C[i>>2];C[m+12>>2]=C[i+20>>2];j:{if((h|0)==1){C[m+16>>2]=C[i+40>>2];h=a+16|0;if(C[h>>2]){break j}break c}C[m+16>>2]=0;h=a+16|0;i=e;if(!C[h>>2]){break d}}f=0;k:{while(1){if(th(b,E[C[a+12>>2]+(f<<3)>>1],m+8|0,2,D[a+20|0])){break k}f=f+1|0;j=C[h>>2];if(f>>>0>>0){continue}break}if(C[C[a>>2]+20>>2]!=1){break c}i=e;if(!j){break d}f=0;while(1){if(th(b,E[C[a+12>>2]+(f<<3)>>1],m+8|0,3,D[a+20|0])){break k}f=f+1|0;if(f>>>0>2]){continue}break}break c}n=1;g=d+2|0;if(g>>>0>=e>>>0){i=d;l=C[a>>2];break b}while(1){i=I(g,20)+k|0;if(D[i+12|0]&32){i=d;l=C[a>>2];break b}i=D[i+18|0];if(i>>>0>31|!(1<>>0>i>>>0?e:i;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){i=d;break b}i=I(f,20)+k|0;if(D[i+12|0]&32){i=d;g=f;break b}i=D[i+18|0];if(1<>>0<=31:0){continue}break}i=d;g=f;break b}i=e;g=d;break b}i=d}l=C[a>>2];break b}i=e;l=C[a>>2]}j=0;f=e;l:{m:{switch(C[l+12>>2]){case 1:while(1){h=f;n:{o:{f=f-1|0;l=I(f,20)+k|0;if(D[l+12|0]&32){break o}l=D[l+18|0];if(l>>>0>31|!(1<>>0>=f>>>0){break n}if(D[(I(h,20)+k|0)-22|0]==4){break l}}if(f>>>0>g>>>0){continue}break};break l;case 0:break m;default:break l}}h=n?i:g;r:{if(e>>>0<=g>>>0){i=h;break r}f=g;while(1){i=h;j=I(f,20)+k|0;s:{if(D[j+12|0]&32){break s}h=D[j+18|0];if(h>>>0>31){h=i;break s}if(!(1<>>0<=g>>>0){break s}if(D[j-2|0]==6){break r}}i=h;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>=e>>>0){break l}while(1){j=I(f,20)+k|0;t:{if(D[j+12|0]&32){break t}h=D[j+18|0];if(h>>>0>31|!(1<>>0>2:0;u:{if(d>>>0>=i>>>0){break u}f=d;j=i-f&3;if(j){h=0;while(1){g=I(f,20)+k|0;n=D[g+19|0];A[g+19|0]=n>>>0>=3?3:n;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((d^-1)+i>>>0<=2){break u}while(1){h=I(f,20)+k|0;g=D[h+19|0];A[h+19|0]=g>>>0>=3?3:g;g=D[h+39|0];A[h+39|0]=g>>>0>=3?3:g;g=D[h+59|0];A[h+59|0]=g>>>0>=3?3:g;g=D[h+79|0];A[h+79|0]=g>>>0>=3?3:g;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(e>>>0>i>>>0){A[(I(i,20)+k|0)+19|0]=4}f=i;v:{while(1){g=f;f=f+1|0;if(f>>>0>=e>>>0){break v}if(D[(I(f,20)+k|0)+18|0]!=7){continue}break}f=g+2|0;if(f>>>0>=e>>>0){break v}while(1){w:{g=I(f,20)+k|0;if(D[g+12|0]&32){break w}g=D[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}}if(l){A[(I(d,20)+k|0)+19|0]=1}x:{if(!D[a+4|0]){break x}f=i;while(1){h=f;f=f+1|0;if(f>>>0>=e>>>0){break x}if(D[(I(f,20)+k|0)+18|0]!=4){continue}break}g=e-1|0;if(g>>>0<=f>>>0){break x}j=C[c+56>>2]!=1265525857;while(1){y:{n=I(g,20)+k|0;z:{if(D[n+12|0]&32){break z}l=D[n+18|0];if(l>>>0>31){break z}if(1<>>0>f>>>0){continue}break x}g=g-1|0;if(g>>>0>f>>>0){continue}break x}break}if((l|0)==4){break x}l=I(f,20)+k|0;C[m+24>>2]=C[l+16>>2];j=C[l+12>>2];C[m+16>>2]=C[l+8>>2];C[m+20>>2]=j;j=C[l+4>>2];C[m+8>>2]=C[l>>2];C[m+12>>2]=j;Yf(l,(I(h,20)+k|0)+40|0,I(g-f|0,20));C[n+16>>2]=C[m+24>>2];f=C[m+20>>2];C[n+8>>2]=C[m+16>>2];C[n+12>>2]=f;f=C[m+12>>2];C[n>>2]=C[m+8>>2];C[n+4>>2]=f}r=d>>>0>>0;if(r){l=0;f=d;while(1){j=I(f,20)+k|0;g=D[j+18|0];A:{if(!(g>>>0>31|!(1<>>0>=h>>>0){break A}h=h-1|0;g=D[(I(h,20)+k|0)+19|0];if((g|0)==2){continue}break}A[j+19|0]=g;break A}g=D[j+19|0];l=(g|0)==14?l:g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>>0){n=i-1|0;l=0;j=i;while(1){g=j;B:{C:{o=I(f,20)+k|0;if(D[o+12|0]&32){h=D[o+18|0];break C}h=D[o+18|0];if(h>>>0>31|!(1<>>0>=f>>>0){break B}if((i+l|0)-g&1){h=I(h,20)+k|0;if(D[h+19|0]<=13){A[h+19|0]=D[o+19|0]}h=g+2|0}j=f;if((g|0)==(l+n|0)){break B}while(1){g=I(h,20)+k|0;if(D[g+19|0]<=13){A[g+19|0]=D[o+19|0]}if(D[g+39|0]<=13){A[g+39|0]=D[o+19|0]}h=h+2|0;if(h>>>0>>0){continue}break}j=f;break B}j=(h&255)==7?f:g}l=l+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}j=I(d,20)+k|0;p=D[j+15|0];o=d>>>0>=e>>>0;D:{if(o){break D}f=d;i=e-f&3;if(i){h=0;while(1){A[(I(f,20)+k|0)+15|0]=f-d;f=f+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if((d^-1)+e>>>0<3){break D}while(1){g=I(f,20)+k|0;i=f-d|0;A[g+35|0]=i+1;A[g+15|0]=i;A[g+55|0]=i+2;A[g+75|0]=i+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}q=e-d|0;if(q>>>0>=2){l=1;while(1){g=j+I(l,20)|0;h=l;while(1){i=h;if(h){h=i-1|0;if(D[(j+I(h,20)|0)+19|0]>D[g+19|0]){continue}}break}if((i|0)!=(l|0)){C[m+24>>2]=C[g+16>>2];f=C[g+12>>2];C[m+16>>2]=C[g+8>>2];C[m+20>>2]=f;f=C[g+4>>2];C[m+8>>2]=C[g>>2];C[m+12>>2]=f;f=j+I(i,20)|0;Yf(f+20|0,f,I(l-i|0,20));C[f+16>>2]=C[m+24>>2];i=C[m+20>>2];C[f+8>>2]=C[m+16>>2];C[f+12>>2]=i;i=C[m+12>>2];C[f>>2]=C[m+8>>2];C[f+4>>2]=i}l=l+1|0;if((q|0)!=(l|0)){continue}break}}i=e;E:{if(!r){break E}i=d;while(1){if(D[(I(i,20)+k|0)+19|0]==4){break E}i=i+1|0;if((i|0)!=(e|0)){continue}break}i=e}F:{if(!(D[a+4|0]|q>>>0>127)){if(e>>>0<=i>>>0){break F}j=i;while(1){f=D[(I(j,20)+k|0)+15|0];G:{if((f|0)==255){break G}f=d+f|0;g=j;h=g;if((f|0)!=(g|0)){while(1){n=I(f,20)+k|0;l=D[n+15|0];A[n+15|0]=255;g=f>>>0>>0?g:f;h=f>>>0>h>>>0?h:f;f=d+l|0;if((j|0)!=(f|0)){continue}break}}g=g+1|0;f=i>>>0>h>>>0?i:h;if(g-f>>>0<2){break G}fg(c,f,g)}j=j+1|0;if((j|0)!=(e|0)){continue}break}break F}if(e-i>>>0<2){break F}fg(c,i,e)}H:{if(o){break H}h=d;g=q&7;if(g){f=0;while(1){A[(I(h,20)+k|0)+15|0]=p;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if((d^-1)+e>>>0>6){while(1){f=I(h,20)+k|0;A[f+35|0]=p;A[f+15|0]=p;A[f+55|0]=p;A[f+75|0]=p;A[f+95|0]=p;A[f+115|0]=p;A[f+135|0]=p;A[f+155|0]=p;h=h+8|0;if((h|0)!=(e|0)){continue}break}}if(!r){break H}f=d;while(1){g=I(f,20)+k|0;if(D[g+19|0]!=1){break H}C[g+4>>2]=C[g+4>>2]|C[a+80>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=C[a+100>>2];n=D[a+4|0];h=n|C[C[a>>2]+24>>2]?h:C[a+92>>2]|h;I:{if(d>>>0>=i>>>0){break I}f=d;l=i-f&3;if(l){g=0;while(1){j=I(f,20)+k|0;C[j+4>>2]=C[j+4>>2]|h;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+i>>>0<=2){break I}while(1){g=I(f,20)+k|0;C[g+4>>2]=C[g+4>>2]|h;C[g+24>>2]=C[g+24>>2]|h;C[g+44>>2]=C[g+44>>2]|h;g=g- -64|0;C[g>>2]=C[g>>2]|h;f=f+4|0;if((i|0)!=(f|0)){continue}break}}f=i+1|0;J:{if(f>>>0>=e>>>0){break J}l=C[a+104>>2]|(C[a+96>>2]|C[a+92>>2]);j=(i^-1)+e&3;if(j){g=0;while(1){h=I(f,20)+k|0;C[h+4>>2]=l|C[h+4>>2];f=f+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((e-i|0)-2>>>0<3){break J}while(1){g=I(f,20)+k|0;C[g+4>>2]=l|C[g+4>>2];C[g+24>>2]=l|C[g+24>>2];C[g+44>>2]=l|C[g+44>>2];g=g- -64|0;C[g>>2]=l|C[g>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}K:{if(!n|C[c+56>>2]!=1147500129){break K}g=d+1|0;if(i>>>0<=g>>>0){break K}f=d;while(1){c=f;f=g;h=I(c,20)+k|0;L:{if(D[h+18|0]!=16){break L}g=I(f,20)+k|0;if(D[g+18|0]!=4){break L}c=c+2|0;if((c|0)!=(i|0)&D[(I(c,20)+k|0)+18|0]==6){break L}C[h+4>>2]=C[h+4>>2]|C[a+92>>2];C[g+4>>2]=C[g+4>>2]|C[a+92>>2]}g=f+1|0;if((i|0)!=(g|0)){continue}break}}M:{if(!C[a+88>>2]|i+2>>>0>=e>>>0){break M}h=C[a+28>>2];while(1){c=I(i,20)+k|0;C[m+8>>2]=C[c+20>>2];C[m+12>>2]=C[c+40>>2];c=i+1|0;f=0;N:{if(!h){h=0;break N}g=i+2|0;while(1){if(!th(b,E[C[a+24>>2]+(f<<3)>>1],m+8|0,2,D[a+32|0])){f=f+1|0;h=C[a+28>>2];if(f>>>0>>0){continue}break N}break}b=I(c,20)+k|0;C[b+4>>2]=C[b+4>>2]|C[a+88>>2];b=I(g,20)+k|0;C[b+4>>2]=C[b+4>>2]|C[a+88>>2];break M}f=i+3|0;i=c;if(e>>>0>f>>>0){continue}break}}h=d+1|0;if(h>>>0>>0){g=d;while(1){f=g;g=h;b=I(g,20)+k|0;O:{if(D[b+12|0]&32){break O}b=D[b+18|0];if((b|0)!=5|!(1<>2]=C[b+4>>2]&(C[a+100>>2]^-1);if(d>>>0>=f>>>0){break O}while(1){b=I(f,20)+k|0;P:{if(D[b+12|0]&32){break P}b=D[b+18|0];if(b>>>0>31){break P}if(1<>2]=C[b+4>>2]&(C[a+100>>2]^-1);if(d>>>0>>0){continue}break}}h=g+1|0;if((h|0)!=(e|0)){continue}break}}Ce=m+32|0}function Vw(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,o=0,p=0,q=0,r=0,s=0,t=0;j=Ce-16|0;Ce=j;c=C[a+1020>>2];d=0;a:{if((c|0)<0){break a}b:{c:{while(1){d=C[a+4>>2];c=(c<<2)+a|0;C[a+80>>2]=I(d,B[c+958>>1]);c=B[c+956>>1];C[a+44>>2]=0;C[a+48>>2]=0;C[a+92>>2]=0;g=C[a+28>>2];C[a+40>>2]=g;B[a+86>>1]=0;C[a+88>>2]=g;k=C[a+32>>2]-32|0;C[a+36>>2]=k;C[a+76>>2]=I(c,d);C[g+8>>2]=g;B[a+84>>1]=0;d:{e:{f:{g:{h:{i:{j:{if(B[a+128>>1]<=0){break j}e=C[a+8>>2];f=C[a+140>>2];c=0;n=0;while(1){C[a+96>>2]=0;C[a+100>>2]=0;d=C[a+132>>2];k=c&65535;c=d+(k<<3)|0;l=C[a+24>>2];i=(C[c+4>>2]<>2]<>1];q=d+(m<<3)|0;g=(C[q+4>>2]<>2]<>2];e=f+k|0;g=D[e|0];if(g&4){A[a+176|0]=g>>>5;g=D[e|0]}l:{switch(g&3){case 0:m:{if((D[f+m|0]&3)==1){q=q-8|0;break m}d=(d+h|0)/2|0;i=(i+l|0)/2|0}l=i;h=d;e=e-1|0;c=c-8|0;break;case 2:break b;default:break l}}C[a+72>>2]=h;C[a+68>>2]=l;n:{if(c>>>0>>0){while(1){g=e+1|0;i=c+8|0;o:{p:{q:{switch(D[e+1|0]&3){case 1:m=C[c+8>>2];d=c;e=g;c=i;f=C[a+24>>2];i=C[d+12>>2]<>2];g=i-d|0;d=(m<>2];d=C[a+8>>2];e=(C[c+8>>2]<>2]<>>0>=q>>>0){break p}m=C[a+24>>2];e=C[a+8>>2];i=(C[c+8>>2]<>2]<>>0>q>>>0){break b}k=c+24|0;s=C[a+24>>2];o=C[a+8>>2];f=(C[c+16>>2]<>2]<>2]<>2]<>>0<=q>>>0){d=(C[c+28>>2]<>2]<>>0>>0){continue}break}}if(Uw(a,l,h)){break f}}f=C[a+140>>2];l=E[r+f>>1];m=C[a+4>>2];g=m-1|0;k=C[a+72>>2];h=g&k;s:{if(h|(k|0)>2]|(k|0)>C[a+80>>2]){break s}c=C[a+96>>2];if(!c|(E[C[a+88>>2]+12>>1]^E[c+12>>1])&8){break s}C[a+40>>2]=C[a+40>>2]-4}t:{u:{v:{c=C[a+40>>2];p=C[a+88>>2];e=C[p+8>>2];d=(c|0)==(e|0);if(D[p+12|0]&8?d:1){i=c-e|0;if((i|0)>=0){break v}break c}i=c-e|0;if((i|0)<0){break c}e=C[a+8>>2];d=(h|0)>=(e|0);break u}e=C[a+8>>2];if(d){g=c;break t}d=((g+k&0-m)-k|0)>=(e|0)}C[p+16>>2]=i>>>2;if(d){d=E[p+12>>1];B[p+12>>1]=(d&8?16:32)|d}C[a+88>>2]=c;g=c+32|0;C[a+40>>2]=g;C[c+8>>2]=g;C[c+16>>2]=0;C[p+28>>2]=c;B[a+84>>1]=E[a+84>>1]+1}k=C[a+36>>2];if(k>>>0<=g>>>0){break e}A[a+87|0]=0;c=C[a+96>>2];if(c){C[p+28>>2]=c}c=l+1|0;n=n+1|0;if((n|0)>1]){continue}break}p=E[a+84>>1];if(p>>>0<2){break j}i=C[a+92>>2];c=i;if(!c){break j}while(1){w:{x:{switch(p&65535){case 1:f=C[c+16>>2];m=0;break w;case 0:break i;default:break x}}f=C[c+16>>2];m=C[c+8>>2]+(f<<2)|0}C[c+4>>2]=m;d=C[c+20>>2];y:{if(D[c+12|0]&8){e=d;d=(f+e|0)-1|0;break y}e=(d-f|0)+1|0;C[c+20>>2]=e;C[c+8>>2]=(C[c+8>>2]+(f<<2)|0)-4}r=d;d=0;f=C[a+48>>2];h=0-f|0;s=C[a+32>>2];t=s-(f<<2)|0;c=f;z:{A:{while(1){n=d;l=c;if((c|0)<=0){d=e;break A}d=n+1|0;c=l-1|0;o=C[t+(c<<2)>>2];if((o|0)>(e|0)){continue}break}if((e|0)<=(o|0)){n=f;break z}q=0;n=f-n&3;if(n){while(1){h=t+(c<<2)|0;d=C[h>>2];C[h>>2]=e;c=c-1|0;e=d;q=q+1|0;if((n|0)!=(q|0)){continue}break}}if(l>>>0<4){break A}while(1){l=t+(c<<2)|0;d=l-4|0;h=C[d>>2];d=C[d+4>>2];C[l>>2]=e;e=l-8|0;l=C[e>>2];C[e>>2]=h;C[e+4>>2]=d;h=c-3|0;d=t+(h<<2)|0;e=C[d>>2];C[d>>2]=l;c=c-4|0;d=e;if(h){continue}break}}k=k-4|0;C[a+36>>2]=k;if(g>>>0>=k>>>0){break e}n=f+1|0;C[a+48>>2]=n;h=f^-1;C[s+(h<<2)>>2]=d}e=r+1|0;o=s+(h<<2)|0;d=0;c=n;B:{C:{while(1){f=d;h=c;if((c|0)<=0){d=e;break C}d=f+1|0;c=h-1|0;l=C[o+(c<<2)>>2];if((l|0)>(e|0)){continue}break}if((l|0)>(r|0)){break B}q=0;l=n-f&3;if(l){while(1){f=o+(c<<2)|0;d=C[f>>2];C[f>>2]=e;c=c-1|0;e=d;q=q+1|0;if((l|0)!=(q|0)){continue}break}}if(h>>>0<4){break C}while(1){f=o+(c<<2)|0;d=f-4|0;h=C[d>>2];d=C[d+4>>2];C[f>>2]=e;e=f-8|0;f=C[e>>2];C[e>>2]=h;C[e+4>>2]=d;h=c-3|0;d=o+(h<<2)|0;e=C[d>>2];C[d>>2]=f;c=c-4|0;d=e;if(h){continue}break}}k=k-4|0;C[a+36>>2]=k;if(g>>>0>=k>>>0){break e}C[a+48>>2]=n+1;C[s+((n^-1)<<2)>>2]=d}p=p-1|0;c=m;continue}}C[a+92>>2]=0;if(g>>>0>>0){break h}break f}if(g>>>0>=k>>>0){break f}C[j+8>>2]=0;C[j+4>>2]=0;C[j>>2]=0;c=C[a>>2];d=C[a+76>>2]>>c;B[j+12>>1]=d;f=C[a+80>>2]>>c;B[j+14>>1]=f;while(1){h=i;e=C[h+20>>2];c=(e+C[h+16>>2]|0)-1<<16>>16;if(e<<16>>16>16){B[j+14>>1]=e;f=e}if((c|0)>d<<16>>16){B[j+12>>1]=c;d=c}i=C[h+4>>2];C[h>>2]=0;g=j+8|0;c=C[j+8>>2];D:{if(!c){c=0;break D}if(C[c>>2]>0){break D}E:{while(1){e=c;c=C[c+4>>2];if(c){if(C[c>>2]<=0){continue}break E}break}c=0}g=e+4|0}C[h+4>>2]=c;C[g>>2]=h;if(i){continue}break}if(!C[a+48>>2]){break g}Fe[C[a+160>>2]](a,j+14|0,j+12|0);k=B[j+14>>1];c=C[j+8>>2];if(c){while(1){C[c+24>>2]=C[c+20>>2]-k;c=C[c+4>>2];if(c){continue}break}}i=C[a+48>>2];F:{if((i|0)<=0){break F}if(C[C[a+32>>2]-(i<<2)>>2]==(k|0)){i=i-1|0;C[a+48>>2]=i;if(!i){break F}}c=0;while(1){e=C[j+8>>2];if(e){g=c<<16>>16;while(1){c=C[e+24>>2];C[e+24>>2]=c-g;h=C[e+4>>2];if((c|0)==(g|0)){c=C[j+8>>2];G:{if(!c){break G}if((c|0)==(e|0)){C[j+8>>2]=h;break G}while(1){d=c;c=C[c+4>>2];if(!c){break G}if((c|0)!=(e|0)){continue}break}C[d+4>>2]=h}m=C[e>>2];H:{if(D[e+12|0]&8){f=j+4|0;c=C[j+4>>2];if(!c){c=0;break H}if((m|0)>2]){break H}I:{while(1){d=c;c=C[c+4>>2];if(c){if((m|0)>=C[c>>2]){continue}break I}break}c=0}f=d+4|0;break H}f=j;c=C[f>>2];if(!c){c=0;break H}if((m|0)>2]){break H}J:{while(1){d=c;c=C[c+4>>2];if(c){if((m|0)>=C[c>>2]){continue}break J}break}c=0}f=d+4|0}C[e+4>>2]=c;C[f>>2]=e}e=h;if(e){continue}break}}m=k;e=C[j+4>>2];c=e;K:{if(!c){break K}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}c=C[e+4>>2];if(!c){break K}g=e+4|0;d=j+4|0;while(1){L:{if(C[e>>2]<=C[c>>2]){e=c;d=g;break L}C[d>>2]=c;C[g>>2]=C[c+4>>2];C[c+4>>2]=e;e=C[j+4>>2];d=j+4|0}g=e+4|0;c=C[e+4>>2];if(c){continue}break}}h=C[j>>2];c=h;M:{if(!c){h=0;break M}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}e=C[h+4>>2];if(!e){break M}g=h+4|0;d=j;c=h;while(1){N:{if(C[c>>2]<=C[e>>2]){d=g;c=e;break N}C[d>>2]=e;C[g>>2]=C[e+4>>2];C[e+4>>2]=c;d=j;h=C[d>>2];c=h}g=c+4|0;e=C[c+4>>2];if(e){continue}break}}C[a+48>>2]=i-1;p=C[C[a+32>>2]-(i<<2)>>2];i=p<<16>>16;O:{if((i|0)>m<<16>>16){k=m;while(1){f=C[j+4>>2];P:{if(!f){break P}l=0;g=j;c=f;while(1){Q:{R:{e=C[c>>2];n=C[g>>2];d=C[n>>2];o=(d|0)<(e|0)?e:d;r=(d|0)>(e|0)?e:d;g=C[a+4>>2];if((o-r|0)>(g|0)){break R}d=0-g|0;e=d&r;if((e|0)==(r|0)){break R}d=d&(g+o|0)-1;if((d|0)==(o|0)|(d|0)!=(e+g|0)&(d|0)>=(e|0)){break R}if((E[c+12>>1]&7)==2){break Q}C[c>>2]=r;C[n>>2]=o;C[c+24>>2]=1;l=l+1|0;break Q}Fe[C[a+164>>2]](a,k<<16>>16,r,o,c,n)}g=n+4|0;c=C[c+4>>2];if(c){continue}break}e=j;c=f;if(l<<16>>16<=0){break P}while(1){d=C[e>>2];if(C[c+24>>2]){C[c+24>>2]=0;Fe[C[a+168>>2]](a,k<<16>>16,C[c>>2],C[d>>2],c,d)}e=d+4|0;c=C[c+4>>2];if(c){continue}break}}Fe[C[a+172>>2]](a);k=k+1|0;if((i|0)<=k<<16>>16){break O}c=f;S:{if(!c){break S}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}c=C[f+4>>2];if(!c){break S}e=f+4|0;g=j+4|0;while(1){if(!(C[f>>2]<=C[c>>2])){C[g>>2]=c;C[e>>2]=C[c+4>>2];C[c+4>>2]=f;e=j+4|0;c=C[j+4>>2]}f=c;g=e;e=f+4|0;c=C[f+4>>2];if(c){continue}break}h=C[j>>2]}d=h;h=0;f=d;c=d;if(!c){continue}while(1){d=C[c+8>>2];C[c>>2]=C[d>>2];C[c+16>>2]=C[c+16>>2]-1;C[c+8>>2]=d+(E[c+12>>1]&8?4:-4);c=C[c+4>>2];if(c){continue}break}g=f+4|0;d=j;h=f;c=f;e=C[c+4>>2];if(!e){continue}while(1){T:{if(C[c>>2]<=C[e>>2]){d=g;c=e;break T}C[d>>2]=e;C[g>>2]=C[e+4>>2];C[e+4>>2]=c;d=j;f=C[d>>2];c=f}g=c+4|0;e=C[c+4>>2];if(e){continue}break}h=f;continue}}f=C[j+4>>2];k=m}if(f){while(1){e=f;f=C[e+4>>2];U:{if(C[e+16>>2]){break U}c=C[j+4>>2];if(!c){break U}if((c|0)==(e|0)){C[j+4>>2]=f;break U}while(1){d=c;c=C[c+4>>2];if(!c){break U}if((c|0)!=(e|0)){continue}break}C[d+4>>2]=f}if(f){continue}break}}V:{if(!h){break V}while(1){e=h;h=C[e+4>>2];W:{if(C[e+16>>2]){break W}c=C[j>>2];if(!c){break W}if((c|0)==(e|0)){C[j>>2]=h;if(!h){break V}continue}while(1){d=c;c=C[c+4>>2];if(!c){break W}if((c|0)!=(e|0)){continue}break}C[d+4>>2]=h;if(!h){break V}continue}if(h){continue}break}}c=p-m|0;i=C[a+48>>2];if((i|0)>0){continue}break}}if(B[j+12>>1]>16){break h}while(1){Fe[C[a+172>>2]](a);k=k+1<<16>>16;if((k|0)<=B[j+12>>1]){continue}break}}c=C[a+1020>>2]-1|0;break d}C[a+44>>2]=20;d=20;break a}if(C[a+44>>2]==98){break e}d=1;break a}C[a+44>>2]=0;d=C[a+1020>>2];c=(d<<2)+a|0;h=c;e=B[c+958>>1];c=B[c+956>>1];g=(e+c|0)/2|0;if(!((d|0)<=6&(c|0)<=(g|0))){C[a+44>>2]=20;C[a+1020>>2]=0;d=20;break a}c=d+1|0;d=(c<<2)+a|0;B[d+958>>1]=e;B[d+956>>1]=g;B[h+958>>1]=g-1}C[a+1020>>2]=c;if((c|0)>=0){continue}break}d=0;break a}C[a+44>>2]=99;d=1;break a}C[a+44>>2]=20;d=1}Ce=j+16|0;return d}function aD(a){a=a|0;var 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;s=C[a+28>>2];if(s){k=D[a+63|0];t=C[a+56>>2];w=C[a+36>>2];x=C[a+16>>2];u=C[a+24>>2];y=u&3;u=(u+3|0)/4|0;h=C[a>>2];e=C[a+20>>2];g=C[a+40>>2];q=D[g+9|0];v=q-1|0;b=C[a+44>>2];r=D[b+9|0];p=r-1|0;while(1){s=s-1|0;a=u;a:{b:{switch(y-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;e:{f:{switch(v|0){case 0:c=D[h|0];break e;case 1:c=E[h>>1];break e;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break e;case 3:break f;default:break e}}c=C[h>>2]}g:{if(!k|(c|0)==(t|0)){break g}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;h:{i:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break h;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break h;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break h;case 3:break i;default:break h}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;j:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break g;case 3:break j;default:break g}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1];break k;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break k;case 3:break l;default:break k}}c=C[h>>2]}m:{if(!k|(c|0)==(t|0)){break m}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;n:{o:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break n;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break n;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break n;case 3:break o;default:break n}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;p:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break m;case 3:break p;default:break m}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1];break q;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break q;case 3:break r;default:break q}}c=C[h>>2]}s:{if(!k|(c|0)==(t|0)){break s}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;t:{u:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break t;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break t;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break t;case 3:break u;default:break t}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;v:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break s;case 3:break v;default:break s}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1];break w;case 2:c=D[h|0]|D[h+1|0]<<8|D[h+2|0]<<16;break w;case 3:break x;default:break w}}c=C[h>>2]}y:{if(!k|(c|0)==(t|0)){break y}m=D[C[(D[g+30|0]<<2)+382144>>2]+((C[g+20>>2]&c)>>>D[g+34|0]|0)|0];n=D[C[(D[g+29|0]<<2)+382144>>2]+((C[g+16>>2]&c)>>>D[g+33|0]|0)|0];l=D[C[(D[g+28|0]<<2)+382144>>2]+((C[g+12>>2]&c)>>>D[g+32|0]|0)|0];c=0;f=0;i=0;j=0;z:{A:{switch(p|0){case 0:d=D[e|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break z;case 1:d=E[e>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break z;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];i=D[(D[b+33|0]>>>3|0)+e|0];j=D[(D[b+32|0]>>>3|0)+e|0];c=255;break z;case 3:break A;default:break z}}d=C[e>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];i=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];j=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}o=(c+k|0)-((I(c&255,k)>>>0)/255|0)&255;m=((I(m-f|0,k)|0)/255|0)+f|0;f=m&255;n=((I(n-i|0,k)|0)/255|0)+i|0;d=n&255;c=((I(l-j|0,k)|0)/255|0)+j|0;l=c&255;B:{switch(p|0){case 0:A[e|0]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=c;A[(D[b+33|0]>>>3|0)+e|0]=n;A[(D[b+34|0]>>>3|0)+e|0]=m;break y;case 3:break B;default:break y}}C[e>>2]=d>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];d=bf(a,0);C[h+36>>2]=d;a:{if(d){break a}C[h+28>>2]=0;C[h+32>>2]=8;C[h+20>>2]=1;C[h+24>>2]=1;C[h+40>>2]=0;i=hf(q,139324,h+40|0);b:{c:{d:{d=C[h+40>>2];if(!d){C[i+139320>>2]=q;B[i+12>>1]=32767;C[i+139304>>2]=0;C[i+139308>>2]=0;C[i+139312>>2]=0;C[i+139316>>2]=q;C[i+36>>2]=h+20;r=C[a+28>>2];C[h+44>>2]=0;d=1024;k=Ve(r,1,0,1024,0,h+44|0);e:{if(C[h+44>>2]){break e}C[h+8>>2]=838;A[k|0]=0;s=256;e=0;u=1;while(1){n=d;f:while(1){f=0;g=0;while(1){if(!(f&1)){l=Vp(a,j+k|0,n-j|0);e=l+j|0;j=0}if((e|0)>(g|0)){d=A[g+k|0]==(s|0);s=d?256:s;g=d+g|0}g:{h:{d=g;if((e|0)>(d|0)){while(1){i:{o=d+k|0;v=D[o|0];switch(v-10|0){case 0:case 3:break h;default:break i}}d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(!l){break e}if(!g){if(n>>>0<65536){break g}C[h+44>>2]=6;break e}l=e-g|0;t(k,g+k|0,l);j=l;e=g;continue f}A[o|0]=0;j:{k:{p=g+k|0;switch(D[p|0]-26|0){case 0:case 9:break j;default:break k}}if((d|0)<=(g|0)){break j}m=d-g|0;g=Fe[C[h+8>>2]](p,m,u,h+8|0,i)|0;C[h+44>>2]=g;if((g|0)==-1){g=Fe[C[h+8>>2]](p,m,u,h+8|0,i)|0;C[h+44>>2]=g}if(g){break e}}A[o|0]=v;s=(v|0)==10?13:(v|0)==13?10:256;f=1;g=d+1|0;u=u+1|0;continue}break}break}d=n<<1;k=Ve(r,1,n,d,k,h+44|0);j=n;if(!C[h+44>>2]){continue}break}}if(k){Fe[C[r+8>>2]](r,k)}a=C[h+44>>2];C[h+40>>2]=a;f=C[i+32>>2];if(a){break d}l:{m:{if(f){if(C[f+28>>2]!=8){B[f+32>>1]=E[f+4>>1]}d=C[f+64>>2];a=C[f+52>>2];if(C[i+4>>2]!=(d+a|0)){B[f+278660>>1]=1}n:{if(!C[C[i+36>>2]>>2]|!(a|d)){break n}d=B[i+12>>1];a=B[i+16>>1]-d|0;if((a|0)!=E[f+4>>1]){B[f+278660>>1]=1;B[f+4>>1]=a}if(E[f+8>>1]!=(d&65535)){B[f+278660>>1]=1;B[f+8>>1]=d}d=E[i+18>>1];if((d|0)!=E[f+12>>1]){B[f+278660>>1]=1;B[f+12>>1]=d}e=E[i+20>>1];a=e<<16>>16;if((e|0)!=E[f+14>>1]){B[f+278660>>1]=1;B[f+14>>1]=e;B[f+10>>1]=0-e}a=a+(d<<16>>16)|0;if((a|0)==E[f+6>>1]){break n}B[f+6>>1]=a}d=C[i>>2];if(d&1){break m}a=C[f+88>>2];if(!a){break c}a=Ve(C[f+278664>>2],1,a,a+1|0,C[f+84>>2],h+40|0);f=C[i+32>>2];C[f+84>>2]=a;if(C[h+40>>2]){break d}A[a+C[f+88>>2]|0]=0;f=C[i+32>>2];break c}d=C[i>>2];if(!(d&1)){break l}}if(!(d&32)){C[h+40>>2]=185;f=0;break c}C[h+40>>2]=186;f=0;break c}C[h+40>>2]=3;f=0;break c}if(!i){break b}break c}jy(f);a=C[i+32>>2];if(a){Fe[C[q+8>>2]](q,a)}f=0;C[i+32>>2]=0}d=C[i+139316>>2];if(d){a=C[i+139304>>2];if(a){Fe[C[d+8>>2]](d,a)}a=i+139312|0;C[a>>2]=0;C[a+4>>2]=0;C[i+139304>>2]=0;C[i+139308>>2]=0}if(i){Fe[C[q+8>>2]](q,i)}d=C[h+40>>2]}C[h+36>>2]=d;o:{p:{if((d&255)!=176){if(d){break a}C[b+140>>2]=f;if((c|0)>0){eq(b);d=6;break a}C[b>>2]=1;C[b+4>>2]=0;j=C[b+8>>2];C[b+8>>2]=j|146;if(!f){break p}e=C[f+72>>2];if(!e){break p}a=C[f+128>>2];g=C[a+12>>2];a=C[a+4>>2];k=g+(3000791075%(a>>>0)<<2)|0;d=C[k>>2];if(d){c=(g+(a<<2)|0)-4|0;q:{while(1){r:{a=C[d>>2];if(D[a|0]==83){if(!Se(a,26314)){break r}}a=k-4|0;k=a>>>0>>0?c:a;d=C[k>>2];if(d){continue}break q}break}a=C[f+80>>2];if(!a){break q}a=a+(C[d+4>>2]<<4)|0;if(C[a+4>>2]!=1){break q}a=C[a+12>>2];if(!a){break q}s:{t:{a=D[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 q;case 0:case 10:break s;default:break t}}switch(a-99|0){case 0:case 10:break s;default:break q}}C[b+8>>2]=j|150}if(!e){break p}}a=C[f+128>>2];e=C[a+12>>2];a=C[a+4>>2];k=e+(1183963782%(a>>>0)<<2)|0;d=C[k>>2];if(!d){break p}c=(e+(a<<2)|0)-4|0;while(1){u:{a=C[d>>2];if(D[a|0]==70){if(!Se(a,26935)){break u}}a=k-4|0;k=a>>>0>>0?c:a;d=C[k>>2];if(d){continue}break p}break}a=C[f+80>>2];if(!a){break p}a=C[(a+(C[d+4>>2]<<4)|0)+12>>2];if(!a){break p}w=b,x=nh(q,a,h+36|0),C[w+20>>2]=x;d=C[h+36>>2];if(d){break a}break o}eq(b);d=2;break a}C[b+20>>2]=0}c=0;j=0;g=0;l=0;k=0;s=0;u=0;i=Ce-16|0;Ce=i;C[i+12>>2]=0;C[b+12>>2]=0;o=C[b+100>>2];p=1;v:{w:{x:{m=C[b+140>>2];if(!m){break x}l=C[m+72>>2];if(!l){l=0;break x}a=C[m+128>>2];n=C[a+12>>2];y:{z:{a=C[a+4>>2];e=n+(78981326%(a>>>0)<<2)|0;d=C[e>>2];if(!d){p=0;break z}c=(n+(a<<2)|0)-4|0;A:{B:{while(1){C:{a=C[d>>2];if(D[a|0]==83){if(!Se(a,23494)){break C}}a=e-4|0;e=a>>>0>>0?c:a;d=C[e>>2];if(d){continue}break B}break}a=C[m+80>>2];if(!a){break B}p=0;c=a+(C[d+4>>2]<<4)|0;if(C[c+4>>2]!=1){break A}a=C[c+12>>2];if(!a){break B}D:{switch(D[a|0]-73|0){case 0:case 6:case 32:case 38:break D;default:break A}}j=1;C[b+12>>2]=1;p=(D[C[c+12>>2]]&223)==79?16031:21653;break A}p=0}if(l){break z}j=0;a=0;d=0;m=1;break y}a=C[m+128>>2];g=C[a+12>>2];E:{F:{G:{a=C[a+4>>2];e=g+(4260511730%(a>>>0)<<2)|0;d=C[e>>2];if(!d){break G}c=(g+(a<<2)|0)-4|0;H:{I:{while(1){a=C[d>>2];if(D[a|0]==87){if(!Se(a,26964)){break I}}a=e-4|0;e=a>>>0>>0?c:a;d=C[e>>2];if(d){continue}break}break H}a=C[m+80>>2];if(!a){break H}a=a+(C[d+4>>2]<<4)|0;if(C[a+4>>2]!=1){break H}a=C[a+12>>2];if(!a|(D[a|0]|32)!=98){break H}C[b+12>>2]=j|2;k=19740}if(l){break G}a=0;g=0;break F}g=0;a=0;c=C[m+128>>2];j=C[c+12>>2];J:{c=C[c+4>>2];e=j+(41411398%(c>>>0)<<2)|0;d=C[e>>2];if(d){c=(j+(c<<2)|0)-4|0;K:{L:{while(1){a=C[d>>2];if(D[a|0]==83){if(!Se(a,26986)){break L}}a=e-4|0;e=a>>>0>>0?c:a;d=C[e>>2];if(d){continue}break}a=0;break K}a=0;c=C[m+80>>2];if(!c){break K}c=c+(C[d+4>>2]<<4)|0;if(C[c+4>>2]!=1){break K}c=C[c+12>>2];if(!c){break K}d=D[c|0];if(!d|(d|0)==78|(d|0)==110){break K}a=c}if(!l){break J}}c=C[m+128>>2];n=C[c+12>>2];c=C[c+4>>2];e=n+(657458935%(c>>>0)<<2)|0;d=C[e>>2];if(!d){break F}j=(n+(c<<2)|0)-4|0;while(1){M:{c=C[d>>2];if(D[c|0]==65){if(!Se(c,27e3)){break M}}c=e-4|0;e=c>>>0>>0?j:c;d=C[e>>2];if(d){continue}break J}break}c=C[m+80>>2];if(!c){break J}c=c+(C[d+4>>2]<<4)|0;if(C[c+4>>2]!=1){break F}g=C[c+12>>2];if(!g){break J}j=0;c=D[g|0];if(!(!c|(c|0)==78|(c|0)==110)){j=af(g);d=j+1|0;break E}g=0;d=0;break E}g=0}j=0;d=0}if(!k){k=0;m=1;break y}s=af(k);d=(s+d|0)+1|0;m=0}c=0;if(p){u=af(p);d=(u+d|0)+1|0;n=p}else{n=0}N:{if(!a){l=0;break N}l=af(a);d=(l+d|0)+1|0;c=a}p=!p;a=!a;if(d){break v}break w}n=0;m=1;a=1}d=8;j=7;g=11228}d=hf(o,d,i+12|0);C[b+24>>2]=d;Ce=i+16|0;e=C[i+12>>2];if(e){d=e}else{if(g){t(d,g,j);O:{if(!j){break O}g=0;e=0;if(j>>>0>=4){v=j&-4;r=0;while(1){o=d+e|0;if(D[o|0]==32){A[o|0]=45}o=(e|1)+d|0;if(D[o|0]==32){A[o|0]=45}o=(e|2)+d|0;if(D[o|0]==32){A[o|0]=45}o=(e|3)+d|0;if(D[o|0]==32){A[o|0]=45}e=e+4|0;r=r+4|0;if((v|0)!=(r|0)){continue}break}}v=j&3;if(!v){break O}while(1){o=d+e|0;if(D[o|0]==32){A[o|0]=45}e=e+1|0;g=g+1|0;if((v|0)!=(g|0)){continue}break}}d=d+j|0}if(!m){if(C[b+24>>2]!=(d|0)){A[d|0]=32;d=d+1|0}t(d,k,s);d=d+s|0}if(!p){if(C[b+24>>2]!=(d|0)){A[d|0]=32;d=d+1|0}t(d,n,u);d=d+u|0}if(!a){if(C[b+24>>2]!=(d|0)){A[d|0]=32;d=d+1|0}t(d,c,l);P:{if(!l){break P}g=0;e=0;if(l>>>0>=4){c=l&-4;r=0;while(1){a=d+e|0;if(D[a|0]==32){A[a|0]=45}a=(e|1)+d|0;if(D[a|0]==32){A[a|0]=45}a=(e|2)+d|0;if(D[a|0]==32){A[a|0]=45}a=(e|3)+d|0;if(D[a|0]==32){A[a|0]=45}e=e+4|0;r=r+4|0;if((c|0)!=(r|0)){continue}break}}c=l&3;if(!c){break P}while(1){a=d+e|0;if(D[a|0]==32){A[a|0]=45}e=e+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+l|0}A[d|0]=0;d=C[i+12>>2]}C[h+36>>2]=d;if(d){break a}a=C[f+48>>2];C[b+28>>2]=1;C[b+16>>2]=a+1;c=Ve(q,16,0,1,0,h+36|0);C[b+32>>2]=c;d=C[h+36>>2];if(d){break a}C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;d=C[f+44>>2]+C[f+40>>2]|0;B[c>>1]=d;a=tj(f,25989);Q:{if(a){a=(C[a+12>>2]+5|0)/10|0;break Q}a=(d<<16>>15)/3|0}B[c+2>>1]=a;d=tj(f,26464);R:{if(d){a=(I(C[d+12>>2],460800)+36135|0)/72270|0;break R}a=a<<16>>10}C[c+4>>2]=a;g=0;d=0;e=tj(f,26498);if(e){d=C[e+12>>2]<<16>>10;C[c+12>>2]=d}e=tj(f,22587);if(e){g=C[e+12>>2]}S:{T:{U:{e=tj(f,22289);if(e){e=C[e+12>>2];if(d){break T}C[c+12>>2]=a;if(e&65535){break U}d=a;break S}if(d){break S}C[c+12>>2]=a;d=a;break S}d=(I(a,e<<16>>16)|0)/72|0;C[c+12>>2]=d}a=g<<16;if(!a|!(e&65535)){break S}d=(I(a>>16,d)|0)/(e<<16>>16)|0}C[c+8>>2]=d;p=C[f+56>>2];m=Ve(q,8,0,C[f+48>>2],0,h+36|0);C[b+144>>2]=m;d=C[h+36>>2];if(d){break a}C[b+164>>2]=0;l=C[f+48>>2];V:{if(!l){break V}n=C[f+36>>2];d=0;if((l|0)!=1){c=l&-2;j=0;while(1){e=C[(p+I(d,36)|0)+4>>2];a=m+(d<<3)|0;B[a+4>>1]=d;C[a>>2]=e;if((e|0)==(n|0)){C[b+164>>2]=d}g=d|1;e=C[(p+I(g,36)|0)+4>>2];a=m+(g<<3)|0;B[a+4>>1]=g;C[a>>2]=e;if((e|0)==(n|0)){C[b+164>>2]=g}d=d+2|0;j=j+2|0;if((c|0)!=(j|0)){continue}break}}if(!(l&1)){break V}c=C[(p+I(d,36)|0)+4>>2];a=m+(d<<3)|0;B[a+4>>1]=d;C[a>>2]=c;if((c|0)!=(n|0)){break V}C[b+164>>2]=d}W:{c=tj(f,22351);a=tj(f,26297);if(!c|!a|(C[c+4>>2]!=1|C[a+4>>2]!=1)){break W}if(!C[c+12>>2]){break W}a=C[a+12>>2];if(!a){break W}w=b,x=nh(q,a,h+36|0),C[w+132>>2]=x;d=C[h+36>>2];if(d){break a}a=nh(q,C[c+12>>2],h+36|0);C[b+136>>2]=a;d=C[h+36>>2];if(d){break a}X:{Y:{Z:{if((D[a|0]|32)!=105|(D[a+1|0]|32)!=115|(D[a+2|0]|32)!=111){break Z}a=a+3|0;if(!Se(a,29056)){break Y}if(Se(a,28819)){break Z}if(!Se(C[b+132>>2],29773)){break Y}}C[h+12>>2]=0;C[h+16>>2]=0;break X}C[h+12>>2]=1970170211;C[h+16>>2]=65539}C[h+8>>2]=b;d=yh(211680,0,h+8|0,0);break a}C[h+12>>2]=1094995778;C[h+16>>2]=7;C[h+8>>2]=b;d=yh(211680,0,h+8|0,0);if(!C[b+36>>2]){break a}C[b+92>>2]=C[C[b+40>>2]>>2]}Ce=h+48|0;return d|0}function PK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;f=Ce-1520|0;Ce=f;C[b>>2]=1;m=Vi(C[b+96>>2],6758);C[b+484>>2]=m;l=vi(C[C[b+96>>2]+4>>2],1608);C[b+488>>2]=l;a:{if(!l){a=11;break a}r=b,s=vi(C[C[b+96>>2]+4>>2],9541),C[r+548>>2]=s;j=C[b+488>>2];a=f+12|0;p(a,0,376);C[b+540>>2]=0;C[b+532>>2]=-1;C[b+536>>2]=-1;C[b+284>>2]=1;C[b+348>>2]=3932;C[b+172>>2]=4;C[b+276>>2]=2596864;C[b+280>>2]=7;d=C[b+104>>2];e=C[b+100>>2];Fe[C[C[j+4>>2]>>2]](a,0,0,e);C[f+96>>2]=0;C[f+100>>2]=0;A[f+103|0]=0;A[f+104|0]=0;A[f+105|0]=0;A[f+106|0]=0;C[f+88>>2]=0;C[f+92>>2]=0;C[f+84>>2]=d;a=kw(d,3858,14);C[f+8>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=kw(d,17010,10);C[f+8>>2]=a;if(a){break d}}a=bf(d,0);C[f+8>>2]=a;if(a){break d}h=$f(d,f+1512|0);e:{f:{g:{h:{a=C[f+1512>>2];if(!a){if((h+32767&65535)>>>0>=2){break g}g=dh(d,f+1512|0);a=C[f+1512>>2];if(!a){break h}}C[f+8>>2]=a;break d}C[f+8>>2]=0;if((h|0)==32769){break f}}a=bf(d,0);C[f+8>>2]=a;if(a){break d}g=C[d+4>>2];break e}A[f+104|0]=1}i:{if(!C[d+20>>2]){a=C[d+8>>2];h=C[d>>2];A[f+105|0]=1;C[f+92>>2]=g;C[f+88>>2]=a+h;a=ng(d,g);C[f+8>>2]=a;if(a){break d}g=C[f+92>>2];break i}h=hf(e,g,f+8|0);C[f+88>>2]=h;a=C[f+8>>2];if(a){break d}a=jg(d,h,g);C[f+8>>2]=a;if(a){break d}C[f+92>>2]=g}d=C[f+88>>2];C[f+16>>2]=d;C[f+12>>2]=d;C[f+20>>2]=d+g;break c}if(D[f+105|0]){C[f+4>>2]=a;break b}a=C[f+88>>2];if(a){Fe[C[e+8>>2]](e,a)}d=0;C[f+88>>2]=0;a=C[f+8>>2];C[f+4>>2]=a;if(a){break b}g=C[f+92>>2]}a=jw(b,f+12|0,d,g);C[f+4>>2]=a;if(a){break b}h=C[f+28>>2];d=C[f+84>>2];C[f+8>>2]=0;j:{k:{l:{m:{if(D[f+104|0]){i=C[d+8>>2];C[f+100>>2]=0;while(1){e=$f(d,f+1512|0);a=C[f+1512>>2];if(a){break k}if((e+32767&65535)>>>0>=2){C[f+8>>2]=0;break m}g=dh(d,f+1512|0);a=C[f+1512>>2];if(a){break k}C[f+8>>2]=0;if((e|0)!=32770){break m}C[f+100>>2]=g+C[f+100>>2];a=ng(d,g);C[f+8>>2]=a;if(!a){continue}break}break k}e=C[f+88>>2];g=C[f+92>>2];d=e+g|0;a=e;while(1){n:{o:{if(D[a|0]!=101|a+9>>>0>=d>>>0|(D[a+1|0]!=101|D[a+2|0]!=120)){break o}if(D[a+3|0]!=101){break o}if(D[a+4|0]==99){break n}}a=a+1|0;if(d>>>0>a>>>0){continue}C[f+4>>2]=3;break b}a=a+10|0;C[f+20>>2]=a;C[f+12>>2]=e;p:{if(a>>>0>e>>>0){while(1){if(D[e|0]==101){if(!cf(e,21660,5)){break p}}Fe[C[f+44>>2]](f+12|0);if(!C[f+24>>2]){Fe[C[f+40>>2]](f+12|0);e=C[f+12>>2];if(e>>>0>>0){continue}}break}g=C[f+92>>2];e=C[f+88>>2]}d=e+g|0;continue}break}C[f+20>>2]=C[f+88>>2]+C[f+92>>2];Fe[C[f+44>>2]](f+12|0);i=C[f+20>>2];d=C[f+12>>2];g=i-d|0;a=ij(d,10,g);if(a){e=ij(d,13,g)>>>0>>0}else{e=1}a=3;if(d>>>0>=i>>>0){break k}k=d+g|0;while(1){q:{g=D[d|0];if(!((g|0)==9|(g|0)==32|(g|0)==10)){if(!(e&(g|0)==13)){break q}}d=d+1|0;if((k|0)!=(d|0)){continue}break k}break}g=C[f+88>>2];e=C[f+92>>2]+(g-d|0)|0;r:{if(D[f+105|0]){g=hf(h,e+1|0,f+8|0);C[f+96>>2]=g;a=C[f+8>>2];if(a){break k}C[f+100>>2]=e;break r}C[f+100>>2]=e;C[f+96>>2]=g;A[f+106|0]=1;C[f+88>>2]=0;C[f+92>>2]=0}s:{if(i>>>0<=d+3>>>0){break s}t:{a=D[d|0];if(a-48>>>0<10){break t}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 t;default:break s}}u:{a=D[d+1|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 s}}v:{a=D[d+2|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 s}}w:{a=D[d+3|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 s}}C[f+12>>2]=d;Fe[C[C[j+4>>2]+24>>2]](f+12|0,g,e,f+1512|0,0)|0;a=C[f+1512>>2];C[f+100>>2]=a;A[a+C[f+96>>2]|0]=0;break l}t(g,d,e);break l}if(!C[f+100>>2]){C[f+4>>2]=3;break b}a=bf(d,i);C[f+8>>2]=a;if(a){break k}r=f,s=hf(h,C[f+100>>2],f+8|0),C[r+96>>2]=s;a=C[f+8>>2];if(a){break k}C[f+100>>2]=0;a=$f(d,f+1512|0);x:{if(C[f+1512>>2]){break x}while(1){if((a+32767&65535)>>>0>1){break x}e=dh(d,f+1512|0);if(C[f+1512>>2]){break x}C[f+8>>2]=0;if((a&65535)!=32770){break x}a=jg(d,C[f+96>>2]+C[f+100>>2]|0,e);C[f+8>>2]=a;if(a){break k}C[f+100>>2]=e+C[f+100>>2];a=$f(d,f+1512|0);if(!C[f+1512>>2]){continue}break}}C[f+8>>2]=0}Fe[C[j+16>>2]](C[f+96>>2],C[f+100>>2],55665);a=3;if(F[f+100>>2]>3){break j}}C[f+4>>2]=a;break b}A[C[f+96>>2]]=32;A[C[f+96>>2]+1|0]=32;A[C[f+96>>2]+2|0]=32;A[C[f+96>>2]+3|0]=32;a=C[f+96>>2];C[f+16>>2]=a;C[f+12>>2]=a;d=C[f+100>>2];C[f+20>>2]=d+a;e=C[f+8>>2];C[f+4>>2]=e;if(e){break b}a=jw(b,f+12|0,a,d);C[f+4>>2]=a;if(a){break b}A[b+176|0]=D[b+176|0]&254;y:{z:{d=C[b+528>>2];if(!d){break z}a=C[d+416>>2];if(!(!a|(a|0)==C[d+4>>2])){C[d+416>>2]=0}A:{B:{if(C[d>>2]){e=C[d+4>>2];if(e){break B}}mp(b);d=C[b+528>>2];if(!d){break z}e=C[d+4>>2];if(!e){break A}}a=0;while(1){if(D[(I(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break A}break}mp(b);if(!C[b+528>>2]){break z}}a=C[b+540>>2];if(!a){break y}r=b,s=Ve(C[b+100>>2],4,0,a,0,f+4|0),C[r+544>>2]=s;if(!C[f+4>>2]){break y}C[b+540>>2]=0;break b}C[b+540>>2]=0}j=C[f+164>>2];C[b+416>>2]=j;if(C[f+340>>2]){C[f+340>>2]=0;C[b+404>>2]=C[f+324>>2];C[b+392>>2]=C[f+328>>2];C[b+408>>2]=C[f+352>>2];C[b+412>>2]=C[f+356>>2]}if(!(C[C[b+128>>2]+48>>2]|C[f+232>>2])){C[f+4>>2]=3}e=0;C[f+232>>2]=0;C[b+396>>2]=C[f+220>>2];C[b+424>>2]=C[f+244>>2];C[b+428>>2]=C[f+248>>2];C[b+400>>2]=C[f+168>>2];C[b+420>>2]=C[f+192>>2];C[f+192>>2]=0;C[f+168>>2]=0;if(C[b+368>>2]!=1){break b}g=0;k=C[f+128>>2];if((k|0)>0){d=0;while(1){n=d<<1;B[n+C[b+384>>2]>>1]=0;h=d<<2;C[h+C[b+388>>2]>>2]=15690;o=C[h+C[f+136>>2]>>2];C:{if(!o|(j|0)<=0){break C}q=C[b+420>>2];a=0;while(1){i=C[(a<<2)+q>>2];if(!Se(o,i)){B[C[b+384>>2]+n>>1]=a;C[h+C[b+388>>2]>>2]=i;if(!Se(15690,i)){break C}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e;break C}a=a+1|0;if((j|0)!=(a|0)){continue}break}}d=d+1|0;if((k|0)!=(d|0)){continue}break}}C[b+380>>2]=g;C[b+376>>2]=e;C[b+372>>2]=C[f+108>>2]}a=C[f+160>>2];if(a){Fe[a|0](f+112|0)}a=C[f+268>>2];if(a){Fe[a|0](f+220|0)}a=C[f+216>>2];if(a){Fe[a|0](f+168|0)}a=C[f+320>>2];if(a){Fe[a|0](f+272|0)}a=C[f+376>>2];if(a){Fe[a|0](f+328|0)}a=C[f+28>>2];d=C[f+96>>2];if(d){Fe[C[a+8>>2]](a,d)}C[f+96>>2]=0;if(!D[f+105|0]){d=C[f+88>>2];if(d){Fe[C[a+8>>2]](a,d)}C[f+88>>2]=0}Fe[C[f+36>>2]](f+12|0);a=C[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}C[b+4>>2]=0;C[b+16>>2]=C[b+416>>2];c=C[b+8>>2];a=c|2577;C[b+8>>2]=a;if(D[b+156|0]){a=c|2581;C[b+8>>2]=a}e=C[b+528>>2];if(e){C[b+8>>2]=a|256}C[b+24>>2]=0;d=C[b+144>>2];C[b+20>>2]=d;D:{E:{if(d){a=C[b+140>>2];if(!a){break E}c=D[a|0];if(!c){a=11228;break D}while(1){F:{G:{g=c&255;c=D[d|0];if((g|0)==(c|0)){a=a+1|0;break G}g=g-32|0;if(!((g|0)!=13?g:0)){a=a+1|0;break F}H:{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 E;case 0:case 13:break G;default:break H}}if(c){break E}break D}d=d+1|0}c=D[a|0];if(c){continue}break}a=11228;break D}a=C[b+364>>2];if(!a){break E}C[b+20>>2]=a}a=C[b+148>>2];a=a?a:11228}C[b+24>>2]=a;c=C[b+152>>2]!=0;C[b+12>>2]=c;a=C[b+148>>2];I:{if(!a){break I}if(Se(a,19740)){if(Se(a,14379)){break I}}C[b+12>>2]=c|2}C[b+28>>2]=0;C[b+32>>2]=0;C[b+52>>2]=B[b+462>>1];a=B[b+466>>1];C[b+56>>2]=a;g=C[b+468>>2]+65535>>16;C[b+60>>2]=g;d=C[b+472>>2]+65535>>16;C[b- -64>>2]=d;c=E[b+68>>1];if(!c){B[b+68>>1]=1e3;c=1e3}B[b+76>>1]=g;B[b+72>>1]=a;B[b+70>>1]=d;a=d-a|0;c=(I(c,12)>>>0)/10|0;B[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;c=e;e=C[b+488>>2];if(!(Fe[C[C[e+12>>2]>>2]](f+12|0,b,0,0,C[b+420>>2],c,0,0,1167)|0)){A[f+80|0]=0;A[f+82|0]=1;C[f+1376>>2]=C[b+404>>2];C[f+1380>>2]=C[b+408>>2];C[f+1384>>2]=C[b+412>>2];C[f+1500>>2]=C[b+544>>2];C[f+1504>>2]=C[b+540>>2];J:{if(C[b+416>>2]<=0){break J}K:{if(Tk(f+12|0,0,f+1512|0)){break K}a=C[C[C[f+16>>2]+128>>2]+48>>2];if(!a){break K}Fe[C[C[a>>2]+4>>2]](C[a+4>>2],f+1512|0)}a=C[f+52>>2];if(C[b+416>>2]<2){break J}d=1;while(1){L:{if(Tk(f+12|0,d,f+1512|0)){break L}c=C[C[C[f+16>>2]+128>>2]+48>>2];if(!c){break L}Fe[C[C[c>>2]+4>>2]](C[c+4>>2],f+1512|0)}c=C[f+52>>2];a=(a|0)<(c|0)?c:a;d=d+1|0;if((d|0)>2]){continue}break}}Fe[C[C[e+12>>2]+4>>2]](f+12|0);B[b+76>>1]=((a|0)>=0?a+32768&-65536:0-(32768-a&-65536)|0)>>>16}B[b+78>>1]=E[b+74>>1];C[b+80>>2]=E[b+158>>1]|E[b+160>>1]<<16;if(!m){a=0;break a}d=C[l+20>>2];C[f+12>>2]=b;C[f+16>>2]=1970170211;C[f+20>>2]=65539;a=yh(C[d+12>>2],0,f+12|0,0);if((a&255)!=163?a:0){break a}B[f+20>>1]=7;a=0;M:{N:{switch(C[b+368>>2]-1|0){case 1:B[f+22>>1]=0;C[f+16>>2]=1094995778;break M;case 3:B[f+22>>1]=1;C[f+16>>2]=1094992453;d=d+4|0;break M;case 0:B[f+22>>1]=2;C[f+16>>2]=1094992451;d=d+8|0;break M;case 2:break N;default:break a}}d=d+12|0;B[f+22>>1]=3;C[f+16>>2]=1818326065}b=C[d>>2];if(!b){break a}a=yh(b,0,f+12|0,0)}Ce=f+1520|0;return a|0}function Cn(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;r=Ce-16|0;Ce=r;a:{if(!a){C[r>>2]=3208;i=Qe(19745,r);break a}mf(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){i=Qe(7063,0);break a}t=f-1|0;if(t>>>0>=8){i=Qe(7034,0);break a}if((d|0)<=0){i=Qe(11459,0);break a}if((g|0)<=0){i=Qe(11412,0);break a}if(d>>>0>=4194303){i=Qe(14930,0);break a}if(g>>>0>=4194303){i=Qe(14901,0);break a}A[a+6|0]=e;A[a+7|0]=e>>>8;A[a+4|0]=b;A[a+5|0]=b>>>8;A[a+80|0]=0;A[a+81|0]=0;A[a+82|0]=0;A[a+83|0]=0;A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0;mf(a+40|0,0,40);A[a+32|0]=0;A[a+33|0]=0;A[a+34|0]=0;A[a+35|0]=0;A[a+36|0]=0;A[a+37|0]=0;A[a+38|0]=240;A[a+39|0]=63;A[a+28|0]=1;A[a+29|0]=0;A[a+30|0]=0;A[a+31|0]=0;o(+(+(g|0)/+(d|0)));i=j(1)|0;p=j(0)|0;A[a+8|0]=p;A[a+9|0]=p>>>8;A[a+10|0]=p>>>16;A[a+11|0]=p>>>24;A[a+12|0]=i;A[a+13|0]=i>>>8;A[a+14|0]=i>>>16;A[a+15|0]=i>>>24;if(!D[418384]){C[104587]=339;C[104586]=340;C[104588]=341;C[104589]=342;C[104590]=343;C[104591]=344;C[104592]=345;C[104593]=346;C[104594]=347;C[104595]=348;A[418384]=1}n:{o:{if((c|0)!=(f|0)|(d|0)!=(g|0)){break o}i=0;if((b|0)==(e|0)){break a}if((e&61439)!=(b&61439)){break o}if((e&255)==8){break a}if((ls(a,274)|0)<0){i=-1;break a}i=1;break n}i=-1;p=Ce-32|0;Ce=p;p:{q:{if(!(b&4096)|(b&255)>>>0<9){break q}m=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);if((m|0)<=8){h=1;k=m+1|0;A[a+80|0]=k;A[a+81|0]=k>>>8;A[a+82|0]=k>>>16;A[a+83|0]=k>>>24;q=a+40|0;m=q+(m<<2)|0;A[m|0]=18;A[m+1|0]=1;A[m+2|0]=0;A[m+3|0]=0;k=q+(k<<2)|0;A[k|0]=0;A[k+1|0]=0;A[k+2|0]=0;A[k+3|0]=0;break q}C[p+16>>2]=9;h=1;if((Qe(21233,p+16|0)|0)>=0){break q}h=-1;break p}if(b&256){break p}h=418344;r:{s:{t:{u:{v:{w:{x:{k=b&61439;switch(k-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 s;case 0:break t;case 24:break u;case 8:break w;default:break x}}y:{switch(k-8|0){case 8:break v;case 0:break y;default:break s}}h=418348;break t}h=418352;break t}h=418356;break t}h=418360}h=C[h>>2];if(h){break r}}h=Qe(17951,0);break p}z:{m=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);if((m|0)<=8){k=m+1|0;A[a+80|0]=k;A[a+81|0]=k>>>8;A[a+82|0]=k>>>16;A[a+83|0]=k>>>24;q=a+40|0;m=q+(m<<2)|0;A[m|0]=h;A[m+1|0]=h>>>8;A[m+2|0]=h>>>16;A[m+3|0]=h>>>24;h=q+(k<<2)|0;A[h|0]=0;A[h+1|0]=0;A[h+2|0]=0;A[h+3|0]=0;break z}C[p>>2]=9;if((Qe(21233,p)|0)>=0){break z}h=-1;break p}k=b&255;if(k>>>0<=31){h=32/((b&255)>>>0)|0;b=I(h,D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24));A[a+28|0]=b;A[a+29|0]=b>>>8;A[a+30|0]=b>>>16;A[a+31|0]=b>>>24;b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);k=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,k|0);l(1,b|0);o(+(+n()*+(h>>>0)));b=j(1)|0;h=j(0)|0;A[a+32|0]=h;A[a+33|0]=h>>>8;A[a+34|0]=h>>>16;A[a+35|0]=h>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24;h=1;break p}h=1;if((k|0)==32){break p}b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);m=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,m|0);l(1,b|0);o(+(+n()/+(k>>>5>>>0)));b=j(1)|0;k=j(0)|0;A[a+32|0]=k;A[a+33|0]=k>>>8;A[a+34|0]=k>>>16;A[a+35|0]=k>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24}Ce=p+32|0;if((h|0)<0){break a}b=C[((s<<5)+(t<<2)|0)+150992>>2];if(!((c|0)==(f|0)^(b|0)!=0)){i=Qe(12077,0);break a}if(b){if((ls(a,b)|0)<0){break a}if(c>>>0>>0){b=(I(D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24),f)+s|0)/(c|0)|0;A[a+28|0]=b;A[a+29|0]=b>>>8;A[a+30|0]=b>>>16;A[a+31|0]=b>>>24}b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);h=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,h|0);l(1,b|0);o(+(+n()*+(f>>>0)/+(c>>>0)));b=j(1)|0;c=j(0)|0;A[a+32|0]=c;A[a+33|0]=c>>>8;A[a+34|0]=c>>>16;A[a+35|0]=c>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24}h=Ce-32|0;Ce=h;b=0;A:{if((d|0)==(g|0)){break A}f=f-1|0;if(!(f>>>0>=8|!(171>>>f&1))){b=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);B:{if((b|0)<=8){c=b+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;p=a+40|0;b=p+(b<<2)|0;f=C[(f<<2)+171748>>2];A[b|0]=f;A[b+1|0]=f>>>8;A[b+2|0]=f>>>16;A[b+3|0]=f>>>24;b=p+(c<<2)|0;A[b|0]=0;A[b+1|0]=0;A[b+2|0]=0;A[b+3|0]=0;break B}C[h+16>>2]=9;b=-1;if((Qe(21233,h+16|0)|0)<0){break A}c=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24)}if((c|0)>=7){C[h>>2]=7;b=Qe(21233,h);break A}A[a+76|0]=g;A[a+77|0]=g>>>8;A[a+78|0]=g>>>16;A[a+79|0]=g>>>24;A[a+72|0]=d;A[a+73|0]=d>>>8;A[a+74|0]=d>>>16;A[a+75|0]=d>>>24;b=a;b=a;C:{if((d|0)<(g|0)){u=+(g|0)/+(d|0);v=P(u);c=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);d=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,d|0);l(1,c|0);o(+(u*+n()));c=j(1)|0;d=j(0)|0;A[a+32|0]=d;A[a+33|0]=d>>>8;A[a+34|0]=d>>>16;A[a+35|0]=d>>>24;A[a+36|0]=c;A[a+37|0]=c>>>8;A[a+38|0]=c>>>16;A[a+39|0]=c>>>24;if(K(v)<2147483648){c=~~v}else{c=-2147483648}c=I(c,D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24));break C}c=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);f=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,f|0);l(1,c|0);o(+(+n()/(+(d|0)/+(g|0))));c=j(1)|0;d=j(0)|0;A[a+32|0]=d;A[a+33|0]=d>>>8;A[a+34|0]=d>>>16;A[a+35|0]=d>>>24;A[a+36|0]=c;A[a+37|0]=c>>>8;A[a+38|0]=c>>>16;A[a+39|0]=c>>>24;c=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24)}c=c<<1;A[b+28|0]=c;A[b+29|0]=c>>>8;A[b+30|0]=c>>>16;A[b+31|0]=c>>>24;b=1;break A}b=Qe(7664,0)}Ce=h+32|0;if((b|0)<0){break a}b=0;c=Ce-48|0;Ce=c;D:{E:{F:{if(e&256){break F}b=418364;G:{H:{I:{J:{K:{L:{M:{d=e&61439;switch(d-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 H;case 0:break I;case 24:break J;case 8:break L;default:break M}}N:{switch(d-8|0){case 8:break K;case 0:break N;default:break H}}b=418368;break I}b=418372;break I}b=418376;break I}b=418380}b=C[b>>2];if(b){break G}}C[c>>2]=e;b=Qe(17664,c);break D}f=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);O:{if((f|0)<=8){d=f+1|0;A[a+80|0]=d;A[a+81|0]=d>>>8;A[a+82|0]=d>>>16;A[a+83|0]=d>>>24;g=a+40|0;f=g+(f<<2)|0;A[f|0]=b;A[f+1|0]=b>>>8;A[f+2|0]=b>>>16;A[f+3|0]=b>>>24;b=g+(d<<2)|0;A[b|0]=0;A[b+1|0]=0;A[b+2|0]=0;A[b+3|0]=0;break O}C[c+32>>2]=9;if((Qe(21233,c+32|0)|0)<0){break E}}d=e&255;if(d>>>0>=33){d=d>>>5|0;b=I(d,D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24));A[a+28|0]=b;A[a+29|0]=b>>>8;A[a+30|0]=b>>>16;A[a+31|0]=b>>>24;b=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);f=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,f|0);l(1,b|0);o(+(+n()*+(d>>>0)));b=j(1)|0;d=j(0)|0;A[a+32|0]=d;A[a+33|0]=d>>>8;A[a+34|0]=d>>>16;A[a+35|0]=d>>>24;A[a+36|0]=b;A[a+37|0]=b>>>8;A[a+38|0]=b>>>16;A[a+39|0]=b>>>24;b=1;break F}b=1;if((d|0)==32){break F}d=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);f=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);l(0,f|0);l(1,d|0);o(+(+n()/+(32/((e&255)>>>0)>>>0)));d=j(1)|0;f=j(0)|0;A[a+32|0]=f;A[a+33|0]=f>>>8;A[a+34|0]=f>>>16;A[a+35|0]=f>>>24;A[a+36|0]=d;A[a+37|0]=d>>>8;A[a+38|0]=d>>>16;A[a+39|0]=d>>>24}if(!(e&4096)|(e&255)>>>0<9){break D}e=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);if((e|0)<=8){b=1;d=e+1|0;A[a+80|0]=d;A[a+81|0]=d>>>8;A[a+82|0]=d>>>16;A[a+83|0]=d>>>24;f=a+40|0;e=f+(e<<2)|0;A[e|0]=18;A[e+1|0]=1;A[e+2|0]=0;A[e+3|0]=0;d=f+(d<<2)|0;A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0;break D}C[c+16>>2]=9;b=1;if((Qe(21233,c+16|0)|0)>=0){break D}}b=-1}Ce=c+48|0;if((b|0)<0){break a}i=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))!=0}A[a|0]=i;A[a+1|0]=i>>>8;A[a+2|0]=i>>>16;A[a+3|0]=i>>>24}Ce=r+16|0;return i}function iK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,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;f=Ce-384|0;Ce=f;C[b>>2]=1;a:{if(!C[b+136>>2]){d=vi(C[C[b+96>>2]+4>>2],1608);if(!d){a=11;break a}C[b+136>>2]=d}if(!C[b+320>>2]){x=b,y=vi(C[C[b+96>>2]+4>>2],9541),C[x+320>>2]=y}a=bf(a,0);if(a){break a}m=C[b+100>>2];C[f+108>>2]=0;j=C[b+104>>2];a=C[b+136>>2];d=f+8|0;p(d,0,100);Fe[C[C[a+4>>2]>>2]](d,0,0,m);C[f+80>>2]=j;h=C[j+8>>2];b:{c:{d:{d=Cf(j,31);e:{if(d){break e}a=cf(C[j+32>>2],3883,31);xf(j);if(a){C[f+4>>2]=2;break b}k=f+84|0;n=f+112|10;while(1){f:{i=C[j+8>>2];e=i;g=C[j+4>>2];if((e|0)!=(g|0)){d=266;a=f+112|0;while(1){g=g-i|0;g=d>>>0>>0?d:g;d=jg(j,a,g);if(d){break e}if(g>>>0<=255){A[a+g|0]=0}d=f+112|0;g=(a+g|0)-10|0;if(d>>>0>>0){a=f+112|0;d=D[f+112|0];while(1){g:{if((d&255)!=83){break g}if(cf(a,22059,9)){break g}g=10;break f}h:{d=D[a+1|0];if((d|0)!=115){break h}if(cf(a,6039,6)){break h}g=7;break f}a=a+1|0;if((g|0)!=(a|0)){continue}break}d=g}a=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);g=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);B[f+120>>1]=D[d+8|0]|D[d+9|0]<<8;C[f+112>>2]=g;C[f+116>>2]=a;d=256;e=e+256|0;a=n;i=C[j+8>>2];g=C[j+4>>2];if((i|0)!=(g|0)){continue}break}}C[f+4>>2]=3;break b}d=bf(j,h);if(d){break e}g=((e-(f+112|0)|0)+a|0)+g|0;a=g-h|0;d=eh(j,a,k);if(d){break e}C[f+92>>2]=g;i=C[f+84>>2];C[f+12>>2]=i;C[f+104>>2]=-1;C[f+8>>2]=i;C[f+88>>2]=a;C[f+16>>2]=a+i;d=f+8|0;Fe[C[f+40>>2]](d);Fe[C[f+36>>2]](d);a=C[f+8>>2];Fe[C[f+40>>2]](d);Fe[C[f+36>>2]](d);d=C[f+8>>2];l=C[f+16>>2];if(d>>>0>>0){while(1){e=a;a=d;d=C[f+20>>2];if(d){break e}i:{if(D[a|0]!=83){break i}if(cf(a,22059,9)){break i}if(cf(i,32177,5)){break c}a=Zf(e);if((a|0)>=0){break d}C[f+4>>2]=3;break b}j:{if(D[a+1|0]!=115){break j}if(cf(a,6039,6)){break j}C[f+4>>2]=2;break b}d=f+8|0;Fe[C[f+40>>2]](d);Fe[C[f+36>>2]](d);i=e;d=C[f+8>>2];if(l>>>0>d>>>0){continue}break}}Wf(j,k);d=bf(j,g);if(!d){continue}break}}C[f+4>>2]=d;break b}C[f+96>>2]=a}C[f+4>>2]=0;C[f+20>>2]=0;a=C[f+84>>2];k=a+C[f+88>>2]|0;C[f+16>>2]=k;g=b+164|0;i=b+312|0;n=b+196|0;j=b+140|0;t=k-1|0;k:{l:{m:while(1){C[f+8>>2]=a;Fe[C[f+36>>2]](f+8|0);e=C[f+8>>2];d=e>>>0>>0;l=(d?e:t)-17|0;if(l>>>0>a>>>0){h=C[f+104>>2];while(1){n:{if(D[a|0]!=37){break n}if(cf(a,4775,17)|C[b+300>>2]<=0){break n}h=h+1|0;C[f+104>>2]=h}a=a+1|0;if((l|0)!=(a|0)){continue}break}}if(!d){d=C[f+20>>2];break k}Fe[C[f+40>>2]](f+8|0);d=C[f+20>>2];a=C[f+8>>2];if(d|k>>>0<=a>>>0){break k}if(D[e|0]!=47|k>>>0<=e+2>>>0){continue}l=e+1|0;if((l|0)==(a|0)){continue}o=a-l|0;if(o>>>0>21){continue}s=D[l|0];d=288304;h=17213;while(1){o:{e=d;p:{if((s|0)!=D[h|0]){break p}if((af(h)|0)!=(o|0)){break p}d=1;if(o>>>0<=1){break o}while(1){if(D[d+l|0]!=D[d+h|0]){break p}d=d+1|0;if((o|0)!=(d|0)){continue}break}break o}d=e+36|0;h=C[e+36>>2];if(h){continue}continue m}break}q:{h=C[e+8>>2];r:{if((h|0)==11){Fe[C[e+12>>2]](b,f+8|0);a=C[f+20>>2];break r}d=j;s:{t:{switch(C[e+4>>2]){case 3:d=g;break s;case 2:d=i;break s;case 5:d=n;break s;case 0:break s;default:break t}}a=C[f+104>>2];if((a|0)<0|(a|0)>=C[b+300>>2]){break q}d=C[b+304>>2]+I(a,252)|0}C[f+112>>2]=d;if(h-9>>>0<=1){a=Fe[C[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break r}a=Fe[C[f+72>>2]](f+8|0,e,f+112|0,0,0)|0}C[f+20>>2]=a;if(a){break l}a=C[f+8>>2];continue}break}a=160;C[f+20>>2]=160}C[f+4>>2]=a;break b}C[f+4>>2]=d;if(d|(c|0)<0){break b}a=hf(m,40,f+4|0);C[b+328>>2]=a;if(C[f+4>>2]){break b}d=C[f+96>>2];u:{if(d){d=hf(m,d,f+4|0);C[b+324>>2]=d;if(C[f+4>>2]){break b}a=C[f+96>>2];e=Ce-256|0;Ce=e;j=C[b+104>>2];n=bf(j,C[f+92>>2]);v:{if(n){break v}if((a|0)>0){l=a+d|0;h=1;a=e;m=a;while(1){while(1){if(a>>>0>=m>>>0){g=C[j+8>>2];a=C[j+4>>2];if((g|0)==(a|0)){n=160;break v}a=a-g|0;n=jg(j,e,a>>>0>=256?256:a);if(n){break v}a=e;m=(a+C[j+8>>2]|0)-g|0}w:{x:{g=D[a|0];i=g-48|0;if(i>>>0>9){i=g-97|0;k=(i&255)>>>0<6;if(k){break w}if((g-65&255)>>>0>5){break x}i=g-55|0}k=1;break w}i=0;n=160;y:{switch(g|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break y;default:break v}}a=a+1|0;continue}break}z:{if(h&255){i=i<<4;g=d;break z}i=D[d|0]+i|0;g=d+1|0}A[d|0]=i;a=a+1|0;h=1-h|0;d=g;if(l>>>0>d>>>0&k){continue}break}}n=0}Ce=e+256|0;if(n){break b}d=C[b+324>>2];e=C[f+96>>2];a=C[b+328>>2];C[a+32>>2]=0;C[a+8>>2]=0;C[a+4>>2]=e;C[a>>2]=d;C[a+20>>2]=0;C[a+24>>2]=0;a=0;break u}d=C[b+104>>2];e=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=e;e=C[d+36>>2];C[a+32>>2]=C[d+32>>2];C[a+36>>2]=e;e=C[d+28>>2];C[a+24>>2]=C[d+24>>2];C[a+28>>2]=e;e=C[d+20>>2];C[a+16>>2]=C[d+16>>2];C[a+20>>2]=e;e=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=e;a=C[f+92>>2]}C[b+308>>2]=a;o=C[b+328>>2];t=C[b+136>>2];e=0;l=C[b+100>>2];k=Ve(l,8,0,C[b+300>>2],0,f+112|0);C[b+316>>2]=k;A:{if(C[f+112>>2]|C[b+300>>2]<=0){break A}s=0;n=0;while(1){B:{d=C[b+304>>2]+I(s,252)|0;m=C[d+240>>2];if((m|0)==-1){C[f+112>>2]=160;break B}v=C[d+4>>2];if(m>>>0>=n>>>0){a=(m&-4)+4|0;if(a>>>0<=n>>>0){C[f+112>>2]=160;break B}e=Ve(l,4,n,a,e,f+112|0);n=a;if(C[f+112>>2]){break B}}a=bf(o,C[d+244>>2]+C[b+308>>2]|0);C[f+112>>2]=a;if(a){break B}u=m+1|0;a=Cf(o,I(u,C[d+248>>2]));C[f+112>>2]=a;if(a){break B}a=C[d+248>>2];w=a&252;r=a&3;q=a&255;g=C[o+32>>2];i=0;while(1){C:{if(!q){d=0;break C}d=0;a=g;if(q>>>0>=4){while(1){j=a;a=a+4|0;d=d+4|0;if((d&255)!=(w|0)){continue}break}d=D[j|0]|D[j+1|0]<<8|(D[j+2|0]<<16|D[j+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}h=0;if(r){while(1){d=D[a|0]|d<<8;a=a+1|0;h=h+1|0;if((h&255)!=(r|0)){continue}break}}g=g+q|0}C[(i<<2)+e>>2]=d;a=(i|0)!=(m|0);i=i+1|0;if(a){continue}break}xf(o);a=1;g=C[e>>2];d=g;if(m){while(1){i=d;d=C[(a<<2)+e>>2];if(i>>>0>d>>>0){break B}i=(a|0)==(m|0);a=a+1|0;if(!i){continue}break}}a=C[(m<<2)+e>>2];x=k,y=Ve(l,4,0,u,0,f+112|0),C[x+4>>2]=y;if(C[f+112>>2]){break B}a=a-g|0;d=hf(l,a,f+112|0);C[C[k+4>>2]>>2]=d;if(C[f+112>>2]){break B}d=bf(o,C[e>>2]+C[b+308>>2]|0);C[f+112>>2]=d;if(d){break B}a=jg(o,C[C[k+4>>2]>>2],a);C[f+112>>2]=a;if(a){break B}D:{if(!m){break D}d=1;h=C[e>>2];if((m|0)!=1){i=m&-2;g=0;while(1){a=d<<2;j=a+C[k+4>>2]|0;q=j;r=C[j-4>>2];j=C[a+e>>2];C[q>>2]=r+(j-h|0);q=a+4|0;h=C[q+e>>2];r=C[k+4>>2];C[q+r>>2]=C[a+r>>2]+(h-j|0);d=d+2|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(m&1){a=d<<2;d=a+C[k+4>>2]|0;C[d>>2]=C[d-4>>2]+(C[a+e>>2]-h|0)}if((v|0)<0){break D}a=0;if((m|0)!=1){i=m&-2;h=0;while(1){d=a<<2;j=d|4;g=j+e|0;Fe[C[t+16>>2]](C[d+C[k+4>>2]>>2],C[g>>2]-C[d+e>>2]|0,4330);a=a+2|0;Fe[C[t+16>>2]](C[j+C[k+4>>2]>>2],C[(a<<2)+e>>2]-C[g>>2]|0,4330);h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(!(m&1)){break D}d=a<<2;a=d+e|0;Fe[C[t+16>>2]](C[d+C[k+4>>2]>>2],C[a+4>>2]-C[a>>2]|0,4330)}C[k>>2]=m;k=k+8|0;s=s+1|0;if((s|0)>2]){continue}break A}break}g=C[b+316>>2];if(!g){break A}if(C[b+300>>2]>0){d=0;while(1){i=d<<3;a=C[(i+g|0)+4>>2];if(a){a=C[a>>2];if(a){Fe[C[l+8>>2]](l,a)}C[C[(i+C[b+316>>2]|0)+4>>2]>>2]=0;a=C[(i+C[b+316>>2]|0)+4>>2]}else{a=0}if(a){Fe[C[l+8>>2]](l,a)}g=C[b+316>>2];C[(i+g|0)+4>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}if(g){Fe[C[l+8>>2]](l,g)}C[b+316>>2]=0}if(e){Fe[C[l+8>>2]](l,e)}C[f+4>>2]=C[f+112>>2]}if(C[f+84>>2]){Wf(C[f+80>>2],f+84|0)}Fe[C[f+32>>2]](f+8|0);a=C[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}C[b+36>>2]=0;C[b+4>>2]=0;C[b+16>>2]=C[b+296>>2];a=C[b+8>>2];C[b+8>>2]=a|2065;if(D[b+188|0]){C[b+8>>2]=a|2069}C[b+24>>2]=11228;d=C[b+176>>2];C[b+20>>2]=d;E:{if(d){a=C[b+172>>2];if(!a){break E}h=D[a|0];if(!h){break E}while(1){e=h&255;c=D[d|0];F:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break F}e=e-32|0;if(!(!e|(e|0)==13)){G:{switch(c-32|0){case 0:case 13:d=d+1|0;break F;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 G}}if(c){break E}C[b+24>>2]=a;break E}a=a+1|0}h=D[a|0];if(h){continue}break}break E}a=C[b+140>>2];if(!a){break E}C[b+20>>2]=a}c=C[b+184>>2]!=0;C[b+12>>2]=c;a=C[b+180>>2];H:{if(!a){break H}if(Se(a,19740)){if(Se(a,14379)){break H}}C[b+12>>2]=c|2}C[b+28>>2]=0;C[b+32>>2]=0;C[b+52>>2]=B[b+198>>1];a=B[b+202>>1];C[b+56>>2]=a;C[b+60>>2]=C[b+204>>2]+65535>>16;c=C[b+208>>2]+65535>>16;C[b- -64>>2]=c;h=E[b+68>>1];if(!h){B[b+68>>1]=1e3;h=1e3}B[b+72>>1]=a;B[b+70>>1]=c;C[b+80>>2]=E[b+190>>1]|E[b+192>>1]<<16;d=b;a=c-a|0;b=(I(h,12)>>>0)/10|0;B[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}Ce=f+384|0;return a|0}function zL(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,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0;g=Ce-240|0;Ce=g;a:{if(!b){e=36;break a}e=C[a+4>>2];if(!e){e=35;break a}if(!(C[C[e+128>>2]+48>>2]|F[e+16>>2]>c>>>0)){e=6;break a}if(d&2){d=D[e+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(D[e+9|0]&32?9:11)|d}b:{if(d&8){break b}f=C[b+112>>2];if((f|0)==-1){break b}if(Fe[C[C[e+532>>2]+72>>2]](e,f,c,d,C[e+104>>2],a+76|0,g)|0){break b}e=0;C[a+108>>2]=0;C[a+24>>2]=E[g+2>>1]<<6;C[a+28>>2]=E[g>>1]<<6;f=B[g+4>>1];C[a+32>>2]=f<<6;i=B[g+6>>1];C[a+36>>2]=i<<6;C[a+40>>2]=E[g+8>>1]<<6;h=B[g+10>>1];C[a+44>>2]=h<<6;m=B[g+12>>1];C[a+48>>2]=m<<6;k=E[g+14>>1];j=i;i=d&16;C[a+104>>2]=i?m:j;C[a+100>>2]=i?h:f;C[a+72>>2]=1651078259;C[a+52>>2]=k<<6;f=C[a+4>>2];if(!(A[f+8|0]&1)){break a}e=C[f+104>>2];p(g,0,208);i=0;c:{d:{if(C[C[f+128>>2]+48>>2]){break d}h=Fe[C[f+508>>2]](f,1735162214,e,0)|0;i=0;if((h&255)==142){break d}if(h){break c}i=C[e+8>>2]}C[g+16>>2]=d;C[g+84>>2]=i;C[g+24>>2]=e;C[g+8>>2]=a;C[g+4>>2]=b;C[g>>2]=f}e=0;zp(g,c,0,1);c=C[g+60>>2];C[a+56>>2]=c;C[a+60>>2]=C[g+180>>2];if(!(C[a+40>>2]|!c)){v=a,w=Te(c,C[b+16>>2]),C[v+40>>2]=w}if(C[a+52>>2]){break a}c=C[a+60>>2];if(!c){break a}v=a,w=Te(c,C[b+20>>2]),C[v+52>>2]=w;break a}s=d&1;if(!(s|D[b+108|0])){e=36;break a}e=6;if(d&16384){break a}k=C[a+4>>2];r=C[k+104>>2];p(g,0,208);u=d&2;if(!u){q=d&128;e=C[b+296>>2];e:{f:{if((e|0)>=0){f=C[b+300>>2];if((f|0)<0){break f}if(e){break a}e=f;if(!e){break e}break a}i=C[b>>2];f=C[i+100>>2];e=f;h=C[b+124>>2];if(h){Fe[C[e+8>>2]](e,h)}C[b+124>>2]=0;e=C[b+136>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b+136>>2]=0;e=C[b+244>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b+244>>2]=0;e=C[b+252>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b+252>>2]=0;e=C[b+292>>2];if(e){C[e+440>>2]=0;h=C[e+8>>2];j=C[e+24>>2];if(j){Fe[C[h+8>>2]](h,j)}C[e+20>>2]=0;C[e+24>>2]=0;j=C[e+436>>2];if(j){Fe[C[h+8>>2]](h,j)}C[e+436>>2]=0;C[e+428>>2]=0;C[e+432>>2]=0;j=C[e+392>>2];if(j){Fe[C[h+8>>2]](h,j)}C[e+388>>2]=0;C[e+392>>2]=0;C[e>>2]=0;C[e+4>>2]=0;if(e){Fe[C[h+8>>2]](h,e)}}l=b+256|0;yp(l);C[b+296>>2]=-1;C[b+300>>2]=-1;j=Ce-16|0;Ce=j;e=C[i+96>>2];g:{h:{if(!e){break h}h=C[e+8>>2];e=hf(h,612,j+8|0);if(C[j+8>>2]){break h}C[e+432>>2]=32;C[e+8>>2]=h;v=e,w=Ve(h,16,0,32,0,j+12|0),C[v+436>>2]=w;if(!C[j+12>>2]){C[e+440>>2]=0;C[e+388>>2]=0;C[e+392>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e>>2]=0;C[e+4>>2]=0;break g}C[e+440>>2]=0;h=C[e+8>>2];n=C[e+24>>2];if(n){Fe[C[h+8>>2]](h,n)}C[e+20>>2]=0;C[e+24>>2]=0;n=C[e+436>>2];if(n){Fe[C[h+8>>2]](h,n)}C[e+436>>2]=0;C[e+428>>2]=0;C[e+432>>2]=0;n=C[e+392>>2];if(n){Fe[C[h+8>>2]](h,n)}C[e+388>>2]=0;C[e+392>>2]=0;C[e>>2]=0;C[e+4>>2]=0;if(e){Fe[C[h+8>>2]](h,e)}if(!C[j+12>>2]){break g}}e=0}Ce=j+16|0;C[b+292>>2]=e;e=E[i+280>>1];C[b+120>>2]=e;h=E[i+282>>1];C[b+140>>2]=0;C[b+144>>2]=0;C[b+128>>2]=0;C[b+116>>2]=0;C[b+132>>2]=h;C[b+240>>2]=C[i+644>>2];h=E[i+278>>1];A[b+109|0]=0;A[b+110|0]=0;B[b+248>>1]=h;C[b+92>>2]=0;C[b+96>>2]=0;C[b+100>>2]=0;C[b+104>>2]=0;v=b,w=Ve(f,24,0,e,0,g+208|0),C[v+124>>2]=w;i:{j:{if(C[g+208>>2]){break j}v=b,w=Ve(f,24,0,C[b+132>>2],0,g+208|0),C[v+136>>2]=w;if(C[g+208>>2]){break j}v=b,w=Ve(f,4,0,C[b+240>>2],0,g+208|0),C[v+244>>2]=w;if(C[g+208>>2]){break j}v=b,w=Ve(f,4,0,E[b+248>>1],0,g+208|0),C[v+252>>2]=w;if(C[g+208>>2]){break j}e=E[i+276>>1];C[b+284>>2]=0;C[b+288>>2]=0;C[b+276>>2]=0;C[b+280>>2]=0;C[b+268>>2]=0;C[b+272>>2]=0;C[b+260>>2]=0;C[b+264>>2]=0;C[b+256>>2]=f;h=e+4|0;e=h&65535;v=b,w=Ve(f,8,0,e,0,g+224|0),C[v+268>>2]=w;k:{l:{if(C[g+224>>2]){break l}v=b,w=Ve(f,8,0,e,0,g+224|0),C[v+272>>2]=w;if(C[g+224>>2]){break l}v=b,w=Ve(f,8,0,e,0,g+224|0),C[v+276>>2]=w;if(C[g+224>>2]){break l}v=b,w=Ve(f,1,0,e,0,g+224|0),C[v+280>>2]=w;if(C[g+224>>2]){break l}v=b,w=Ve(f,2,0,0,0,g+224|0),C[v+284>>2]=w;if(C[g+224>>2]){break l}B[b+260>>1]=h;B[b+262>>1]=0;C[g+208>>2]=0;break k}yp(l);e=C[g+224>>2];C[g+208>>2]=e;if(e){break j}}B[b+264>>1]=h;t(b+172|0,284724,68);e=C[C[C[i+96>>2]+4>>2]+172>>2];C[i+652>>2]=e?e:1121;e=C[b+292>>2];i=C[b>>2];f=xp(e,i,b);m:{if(f){break m}C[e+480>>2]=0;C[e+484>>2]=0;C[e+476>>2]=64;C[e+16>>2]=0;C[e+428>>2]=0;C[e+564>>2]=16384;A[e+561|0]=q;C[e+216>>2]=0;C[e+220>>2]=0;A[e+488|0]=0;B[e+252>>1]=0;C[e+224>>2]=0;C[e+256>>2]=65536;C[e+260>>2]=0;h=C[i+632>>2];f=C[i+628>>2];C[e+452>>2]=0;C[e+456>>2]=0;C[e+448>>2]=f;C[e+444>>2]=h;C[e+460>>2]=0;C[e+464>>2]=0;n:{if(!f){C[b+296>>2]=0;break n}C[e+364>>2]=f;C[e+356>>2]=h;C[e+360>>2]=0;C[e+352>>2]=1;f=Fe[C[i+652>>2]](e)|0;C[b+296>>2]=f;if(f){break m}}C[b+116>>2]=C[e+396>>2];C[b+128>>2]=C[e+408>>2];C[b+140>>2]=C[e+420>>2];C[b+144>>2]=C[e+424>>2];f=C[e+448>>2];C[b+148>>2]=C[e+444>>2];C[b+152>>2]=f;f=C[e+456>>2];C[b+156>>2]=C[e+452>>2];C[b+160>>2]=f;f=C[e+464>>2];C[b+164>>2]=C[e+460>>2];C[b+168>>2]=f;f=0}C[g+208>>2]=f;if(!f){break i}}ww(b);e=C[g+208>>2];if(e){break a}}e=C[b+296>>2]}if(C[b+300>>2]>=0|e){break e}if(C[b+240>>2]){f=C[b>>2];e=0;while(1){i=Te(B[C[f+648>>2]+(e<<1)>>1],C[b+88>>2]);C[C[b+244>>2]+(e<<2)>>2]=i;e=e+1|0;if(e>>>0>2]){continue}break}}f=E[b+264>>1];o:{if(!f){break o}i=C[b+272>>2];h=C[b+268>>2];e=0;if((f|0)!=1){n=f&65534;j=0;while(1){l=e<<3;o=l+h|0;C[o>>2]=0;C[o+4>>2]=0;o=i+l|0;C[o>>2]=0;C[o+4>>2]=0;l=l|8;o=l+h|0;C[o>>2]=0;C[o+4>>2]=0;l=i+l|0;C[l>>2]=0;C[l+4>>2]=0;e=e+2|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!(f&1)){break o}e=e<<3;f=e+h|0;C[f>>2]=0;C[f+4>>2]=0;e=e+i|0;C[e>>2]=0;C[e+4>>2]=0}e=E[b+248>>1];if(e){p(C[b+252>>2],0,e<<2)}t(b+172|0,284724,68);e=vw(b,q);if(e){break a}}f=C[b+292>>2];if(!f){e=153;break a}e=xp(f,k,b);if(e){break a}e=(d&983040)!=131072;if((e|0)!=D[f+608|0]){A[f+608|0]=e;if(C[b+240>>2]){e=0;while(1){i=Te(B[C[k+648>>2]+(e<<1)>>1],C[b+88>>2]);C[C[b+244>>2]+(e<<2)>>2]=i;e=e+1|0;if(e>>>0>2]){continue}break}}e=vw(b,q);if(e){break a}}e=D[f+336|0];i=e<<1&2;if(e&2){t(f+284|0,284724,68)}A[f+561|0]=q;C[g+160>>2]=f;C[g+164>>2]=C[f+392>>2];d=d|i}p:{if(C[C[k+128>>2]+48>>2]){break p}e=Fe[C[k+508>>2]](k,1735162214,r,0)|0;if((e&255)==142){break p}if(e){break a}m=C[r+8>>2]}C[g+84>>2]=m;e=C[C[a+156>>2]>>2];Wi(e);C[g+16>>2]=d;C[g+12>>2]=e;C[g+24>>2]=r;C[g+8>>2]=a;C[g+4>>2]=b;C[g>>2]=k;C[a+72>>2]=1869968492;C[a+124>>2]=0;C[a+128>>2]=0;e=zp(g,c,0,0);q:{if(e){break q}d=C[g+12>>2];r:{if(C[a+72>>2]==1668246896){C[a+128>>2]=C[d+48>>2];C[a+132>>2]=C[d+52>>2];break r}f=C[d+24>>2];e=a+108|0;C[e>>2]=C[d+20>>2];C[e+4>>2]=f;C[e+16>>2]=C[d+36>>2];f=C[d+32>>2];C[e+8>>2]=C[d+28>>2];C[e+12>>2]=f;C[a+124>>2]=C[a+124>>2]&-513;d=C[g+68>>2];if(!d){break r}Pg(e,0-d|0,0)}s:{if(u){break s}d=8;e=C[g+160>>2];t:{if(!D[e+337|0]){break t}d=32;u:{switch(C[e+340>>2]){case 4:d=48;break t;case 5:d=16;break t;case 1:break s;case 0:break t;default:break u}}d=8}C[a+124>>2]=C[a+124>>2]|d}m=65536;f=C[g+4>>2];d=C[g+8>>2];m=A[g+16|0]&1?m:C[f+20>>2];i=C[g>>2];v:{if(C[d+72>>2]!=1668246896){Zh(d+108|0,g+224|0);break v}e=C[g+48>>2];C[g+232>>2]=C[g+44>>2];C[g+236>>2]=e;e=C[g+40>>2];C[g+224>>2]=C[g+36>>2];C[g+228>>2]=e}C[d+56>>2]=C[g+60>>2];j=C[g+224>>2];C[d+32>>2]=j;h=C[g+236>>2];C[d+36>>2]=h;C[d+40>>2]=C[g+76>>2]-C[g+68>>2];w:{if(C[i+480>>2]|D[g+16|0]&2){break w}q=C[i+712>>2];if(!q){break w}r=C[i+704>>2]+8|0;k=C[i+716>>2];l=C[i+720>>2];e=0;f=E[f+12>>1];while(1){if((f|0)==D[e+l|0]){f=c+2|0;if(f>>>0>=k>>>0){break w}C[d+40>>2]=D[f+(r+I(e,k)|0)|0]<<6;break w}e=e+1|0;if((q|0)!=(e|0)){continue}break}}C[d+24>>2]=C[g+232>>2]-j;e=h-C[g+228>>2]|0;C[d+28>>2]=e;x:{if(!(!D[i+292|0]|!E[i+330>>1])){f=Ze(C[g+188>>2]-h|0,m)<<16>>16;e=0;h=C[g+188>>2];k=C[g+196>>2];if((h|0)<=(k|0)){break x}e=Ze(h-k|0,m)&65535;break x}f=Ze(e,m);e=E[i+364>>1]==65535;e=B[i+(e?220:434)>>1]-B[i+(e?222:436)>>1]|0;f=(e-(f<<16>>16)|0)/2|0}i=C[C[i+128>>2]+48>>2];y:{if(!i){break y}h=C[C[i>>2]+8>>2];if(!h){break y}C[g+216>>2]=e;C[g+212>>2]=f;C[g+208>>2]=0;e=Fe[h|0](C[i+4>>2],c,1,g+208|0)|0;if(e){break q}e=C[g+216>>2];f=C[g+212>>2]}C[d+60>>2]=e;if(!(A[g+16|0]&1)){f=Te(f,m);e=Te(e,m)}C[d+52>>2]=e;C[d+48>>2]=f;C[d+44>>2]=C[d+32>>2]+(C[d+40>>2]/-2|0);e=0}if(E[b+14>>1]>23|s){break a}C[a+124>>2]=C[a+124>>2]|256}Ce=g+240|0;return e|0}function Kz(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,H=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=J(0),ga=J(0);s=Ce-16|0;Ce=s;C[s+4>>2]=0;a:{if(!a){break a}b:{c:{d:{e:{f:{g:{if(!(a?C[C[a+52>>2]+68>>2]>>>8&1:0)){k=C[a+4>>2];l=D[k+8|0];break g}o=xz(a,s+4|0);y=!o;k=C[a+4>>2];l=D[k+8|0];if(o){break g}if((l&255)==8){break f}}if((l&255)!=32){break a}o=C[k+24>>2];if(!o){break a}n=wi(0,C[f+8>>2],C[f+12>>2]+2|0,32,C[k+12>>2],C[k+16>>2],C[k+20>>2],o);if(!n){break a}C[n+12>>2]=C[f+12>>2];if(a){k=s+8|0;if(k){Ik(a,k)}}o=n+12|0;h=h*65536;k=0;g=g*65536;if(y){break e}switch(C[s+8>>2]){case 4:case 8:break c;case 0:break d;default:break b}}n=ei(C[f+8>>2],C[f+12>>2]+2|0,C[k>>2]);if(!n){break a}k=C[C[a+4>>2]+4>>2];h:{if(k){l=C[k>>2];if((l|0)>0){while(1){m=j<<2;o=m+C[C[C[n+4>>2]+4>>2]+4>>2]|0;k=m+C[k+4>>2]|0;k=D[k|0]|D[k+1|0]<<8|(D[k+2|0]<<16|D[k+3|0]<<24);A[o|0]=k;A[o+1|0]=k>>>8;A[o+2|0]=k>>>16;A[o+3|0]=k>>>24;j=j+1|0;k=C[C[a+4>>2]+4>>2];l=C[k>>2];if((j|0)<(l|0)){continue}break}}C[C[C[n+4>>2]+4>>2]>>2]=l;C[n+12>>2]=C[f+12>>2];o=n+12|0;break h}C[n+12>>2]=C[f+12>>2];o=n+12|0}h=h*65536;if(a){k=s+8|0;if(k){Ik(a,k)}}k=1;g=g*65536}an(n,1,C[s+4>>2]);Gj(n,C[s+4>>2]);break b}C[s+8>>2]=1;break b}j=Dh(C[n+4>>2],255,255,255,0);C[s+4>>2]=j;Gj(n,j);an(n,1,C[s+4>>2])}j=C[s+8>>2];if(n){zg(n,j)}if(D[a|0]&2){qh(a)}i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{b=b/90;s:{if(K(b)<2147483648){j=~~b;break s}j=-2147483648}if(+(j|0)==b){c=(j|0)%4|0;j=(c|0)<0?c+4|0:c;m=C[n+8>>2];p=C[n+16>>2];if(!k){break m}c=1;f=-1;k=d?-1:1;q=C[a+16>>2];i=e?0-q|0:q;switch(j|0){case 2:break p;case 1:break q;case 0:break r;default:break o}}p=C[a+8>>2];if(K(g)<2147483648){t=~~g}else{t=-2147483648}E=t;if(!(K(h)<2147483648)){break l}y=~~h;if(!k){break k}break j}r=i-I(C[a+8>>2],k)|0;f=1;break n}r=I(i,C[a+12>>2])+k|0;k=0-i|0;break n}r=I(C[a+8>>2],k)-i|0;k=d?1:-1;c=-1;break n}c=-1;f=1;r=(d?1:-1)-I(i,C[a+12>>2])|0;k=i}l=C[a+20>>2];l=((d?0-c|0:c)|0)<0?(C[a+8>>2]+l|0)-1|0:l;l=((e?0-f|0:f)|0)<0?I(q,C[a+12>>2]-1|0)+l|0:l;if(C[o>>2]<=0){break i}i=p-m|0;f=C[n+20>>2];d=0;m=(k|0)!=1;while(1){e=C[n+8>>2];t:{if(!m){gf(f,l,e);c=C[n+8>>2];f=c+f|0;l=c+l|0;break t}if(!e){break t}c=0;j=f;p=e&7;if(p){while(1){A[j|0]=D[l|0];j=j+1|0;l=k+l|0;c=c+1|0;if((p|0)!=(c|0)){continue}break}}f=e+f|0;if(e>>>0<8){break t}while(1){A[j|0]=D[l|0];c=k+l|0;A[j+1|0]=D[c|0];c=c+k|0;A[j+2|0]=D[c|0];c=c+k|0;A[j+3|0]=D[c|0];c=c+k|0;A[j+4|0]=D[c|0];c=c+k|0;A[j+5|0]=D[c|0];c=c+k|0;A[j+6|0]=D[c|0];c=c+k|0;A[j+7|0]=D[c|0];l=c+k|0;j=j+8|0;if((j|0)!=(f|0)){continue}break}}f=f+i|0;l=l+r|0;d=d+1|0;if((d|0)>2]){continue}break}break i}k=d?-4:4;f=C[a+16>>2];c=e?0-f|0:f;u:{v:{switch(j|0){case 0:r=c-I(C[a+8>>2],k)|0;j=1;c=1;break u;case 1:r=I(c,C[a+12>>2])+k|0;j=1;k=0-c|0;c=-1;break u;case 2:r=I(C[a+8>>2],k)-c|0;j=-1;k=d?4:-4;c=-1;break u;default:break v}}r=(d?4:-4)-I(c,C[a+12>>2])|0;j=-1;k=c;c=1}l=C[a+20>>2];l=((d?0-j|0:j)|0)<0?((C[a+8>>2]<<2)+l|0)-4|0:l;l=((e?0-c|0:c)|0)<0?I(f,C[a+12>>2]-1|0)+l|0:l;if(C[o>>2]<=0){break i}m=p-(m<<2)|0;f=C[n+20>>2];d=0;p=(k|0)!=4;while(1){e=C[n+8>>2]<<2;w:{if(!p){gf(f,l,e);c=C[n+8>>2]<<2;f=c+f|0;l=c+l|0;break w}if(!e){break w}c=0;j=f;q=e-4|0;w=(q>>>2|0)+1&7;if(w){while(1){i=D[l|0]|D[l+1|0]<<8|(D[l+2|0]<<16|D[l+3|0]<<24);A[j|0]=i;A[j+1|0]=i>>>8;A[j+2|0]=i>>>16;A[j+3|0]=i>>>24;j=j+4|0;l=k+l|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}f=e+f|0;if(q>>>0<28){break w}while(1){c=D[l|0]|D[l+1|0]<<8|(D[l+2|0]<<16|D[l+3|0]<<24);A[j|0]=c;A[j+1|0]=c>>>8;A[j+2|0]=c>>>16;A[j+3|0]=c>>>24;c=k+l|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+4|0]=e;A[j+5|0]=e>>>8;A[j+6|0]=e>>>16;A[j+7|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+8|0]=e;A[j+9|0]=e>>>8;A[j+10|0]=e>>>16;A[j+11|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+12|0]=e;A[j+13|0]=e>>>8;A[j+14|0]=e>>>16;A[j+15|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+16|0]=e;A[j+17|0]=e>>>8;A[j+18|0]=e>>>16;A[j+19|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+20|0]=e;A[j+21|0]=e>>>8;A[j+22|0]=e>>>16;A[j+23|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+24|0]=e;A[j+25|0]=e>>>8;A[j+26|0]=e>>>16;A[j+27|0]=e>>>24;c=c+k|0;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[j+28|0]=e;A[j+29|0]=e>>>8;A[j+30|0]=e>>>16;A[j+31|0]=e>>>24;l=c+k|0;j=j+32|0;if((j|0)!=(f|0)){continue}break}}f=f+m|0;l=l+r|0;d=d+1|0;if((d|0)>2]){continue}break}break i}y=-2147483648;if(k){break j}}q=C[a+12>>2];H=C[n+8>>2];w=C[n+16>>2];L=+G[i+4>>2];b=L*65536;x:{if(K(b)<2147483648){k=~~b;break x}k=-2147483648}z=H<<2;b=+G[i>>2];g=b*65536;y:{if(K(g)<2147483648){m=~~g;break y}m=-2147483648}W=p-1|0;X=q-1|0;_=w-z|0;R=C[o>>2];j=C[n+20>>2];if(c){if((R|0)<=0){break i}b=+C[f>>2]+.5-b;v=+(k|0);B=+(m|0);g=+(y|0);h=+(E|0);da=C[f+4>>2];ea=(H|0)<=0;while(1){if(!ea){x=+(Y+da|0)+.5-L;$=h*b-g*x+B+-32768;z:{if(K($)<2147483648){l=~~$;break z}l=-2147483648}x=g*b+x*h+v+-32768;A:{if(K(x)<2147483648){c=~~x;break A}c=-2147483648}r=0;while(1){f=l>>16;f=d?W-f|0:f;B:{if((f|0)<0){break B}i=c>>16;i=e?X-i|0:i;if((i|0)<0|(f|0)>=(W|0)|(i|0)>=(X|0)){break B}k=i;i=C[a+16>>2];f=(C[a+20>>2]+I(k,i)|0)+(f<<2)|0;p=D[f+4|0];k=D[f+3|0];u=D[f+2|0];M=D[f+1|0];N=D[f|0];q=D[f+7|0];w=D[f+6|0];z=D[f+5|0];i=(f+4|0)+((i|0)/4<<2)|0;m=D[i+3|0];o=D[i+2|0];f=D[i+1|0];O=D[i|0];i=i-4|0;P=D[i+3|0];Q=D[i+2|0];t=D[i+1|0];i=D[i|0];C:{if(!d){S=i;T=m;U=o;V=f;i=O;f=t;o=Q;m=P;O=p;P=z;Q=w;t=q;p=N;z=M;w=u;q=k;break C}S=O;T=P;U=Q;V=t;O=N;P=M;Q=u;t=k}D:{if(!e){u=S;k=T;aa=U;ba=V;ca=i;M=f;N=o;Z=m;i=O;V=P;U=Q;T=t;S=p;f=z;o=w;m=q;break D}u=p;k=t;aa=Q;ba=P;ca=O;M=z;N=w;Z=q}p=m&255;m=l&65535;p=(I((T&255)-p|0,m)>>>16|0)+p|0;t=((I(m,(k&255)-(Z&255)|0)>>>16|0)+Z&255)-(p&255)|0;k=c&65535;A[j+3|0]=p+(I(t,k)>>>16|0);o=o&255;o=(I(m,(U&255)-o|0)>>>16|0)+o|0;A[j+2|0]=(I(k,((I(m,(aa&255)-(N&255)|0)>>>16|0)+N&255)-(o&255)|0)>>>16|0)+o;f=f&255;f=(I(m,(V&255)-f|0)>>>16|0)+f|0;A[j+1|0]=(I(k,((I(m,(ba&255)-(M&255)|0)>>>16|0)+M&255)-(f&255)|0)>>>16|0)+f;f=S&255;f=(I(m,(i&255)-f|0)>>>16|0)+f|0;A[j|0]=(I(k,((I(m,(ca&255)-(u&255)|0)>>>16|0)+u&255)-(f&255)|0)>>>16|0)+f}j=j+4|0;c=c+y|0;l=l+E|0;r=r+1|0;if((H|0)!=(r|0)){continue}break}}j=j+_|0;Y=Y+1|0;if((Y|0)!=(R|0)){continue}break}break i}if((R|0)<=0){break i}h=+(k|0);L=+(m|0);b=+(y|0);g=+(E|0);while(1){if((H|0)>0){v=+C[f>>2]+.5-+G[i>>2];B=+(C[f+4>>2]+u|0)+.5-+G[i+4>>2];x=g*v-b*B+L+-32768;E:{if(K(x)<2147483648){k=~~x;break E}k=-2147483648}v=b*v+B*g+h+-32768;F:{if(K(v)<2147483648){l=~~v;break F}l=-2147483648}c=0;while(1){m=k>>16;G:{if(m>>>0>=F[a+8>>2]){break G}p=l>>16;if(p>>>0>=F[a+12>>2]){break G}m=(C[a+20>>2]+I(C[a+16>>2],e?X-p|0:p)|0)+((d?W-m|0:m)<<2)|0;m=D[m|0]|D[m+1|0]<<8|(D[m+2|0]<<16|D[m+3|0]<<24);A[j|0]=m;A[j+1|0]=m>>>8;A[j+2|0]=m>>>16;A[j+3|0]=m>>>24;H=C[n+8>>2]}j=j+4|0;l=l+y|0;k=k+E|0;c=c+1|0;if((H|0)>(c|0)){continue}break}R=C[o>>2]}j=j+_|0;u=u+1|0;if((R|0)>(u|0)){continue}break}break i}l=C[n+20>>2];w=C[a+12>>2];fa=G[i>>2];ga=G[i+4>>2];m=C[n+8>>2];q=C[n+16>>2];C[s+12>>2]=0;b=+ga*65536;H:{if(K(b)<2147483648){c=~~b;break H}c=-2147483648}b=+fa*65536;I:{if(K(b)<2147483648){k=~~b;break I}k=-2147483648}if(a?C[C[a+52>>2]+68>>2]>>>8&1:0){xz(a,s+12|0);t=D[s+12|0]}else{t=0}mf(l,t,I(C[o>>2],C[n+16>>2]));j=C[o>>2];if((j|0)<=0){break i}z=q-m|0;r=C[n+8>>2];h=+(c|0);L=+(k|0);b=+(y|0);g=+(E|0);while(1){if((r|0)>0){v=+C[f>>2]+.5-+G[i>>2];B=+(C[f+4>>2]+u|0)+.5-+G[i+4>>2];x=g*v-b*B+L+-32768;J:{if(K(x)<2147483648){j=~~x;break J}j=-2147483648}v=b*v+B*g+h+-32768;K:{if(K(v)<2147483648){k=~~v;break K}k=-2147483648}c=0;while(1){m=j>>16;L:{if(m>>>0>=F[a+8>>2]){break L}q=k>>16;if(q>>>0>=F[a+12>>2]){break L}A[l|0]=D[(C[a+20>>2]+I(C[a+16>>2],e?w+(q^-1)|0:q)|0)+(d?p+(m^-1)|0:m)|0];r=C[n+8>>2]}l=l+1|0;k=k+y|0;j=j+E|0;c=c+1|0;if((r|0)>(c|0)){continue}break}j=C[o>>2]}l=l+z|0;u=u+1|0;if((u|0)<(j|0)){continue}break}}if(D[a|0]&2){fh(a)}j=n}Ce=s+16|0;return j}function qG(a){a=a|0;var 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;f=Ce+-64|0;Ce=f;h=kf(40);C[h>>2]=0;a:{if(!a){break a}j=4;C[108238]=0;p=Kb(71,a|0)|0;q=De;b=C[108238];C[108238]=0;i=-1;b:{c:{if(!b){break c}c=C[108239];if(!c){break c}i=Mf(C[b>>2],h,4);if(!i){break b}De=c}b=De;d:{e:{if((i|0)==1){break e}C[108238]=0;d=$(72,2)|0;b=C[108238];C[108238]=0;i=-1;f:{if(!b){break f}c=C[108239];if(!c){break f}i=Mf(C[b>>2],h,4);if(!i){break b}De=c}b=De;if((i|0)==1){break e}if(!d){b=0;break a}C[f+28>>2]=0;C[f+52>>2]=0;C[108238]=0;C[f+60>>2]=0;i=_(C[104401],29049,0,0,0)|0;b=C[108238];C[108238]=0;d=-1;g:{if(!b){break g}c=C[108239];if(!c){break g}d=Mf(C[b>>2],h,4);if(!d){break b}De=c}b=De;h:{if((d|0)!=1){C[f+56>>2]=i;if(!i){k=13265;c=0;break d}C[108238]=0;m=$(C[104400],i|0)|0;b=C[108238];C[108238]=0;d=-1;i:{if(!b){break i}c=C[108239];if(!c){break i}d=Mf(C[b>>2],h,4);if(!d){break b}De=c}b=De;if((d|0)==1){break e}C[f+52>>2]=m;if(!m){k=17470;break h}C[108238]=0;e=Y(C[104418],i|0,73,156)|0;b=C[108238];C[108238]=0;d=-1;j:{if(!b){break j}c=C[108239];if(!c){break j}d=Mf(C[b>>2],h,4);if(!d){break b}De=c}b=De;if((d|0)==1){break e}b=0;h=Uj(e,1,h,4);j=De;break e}break e}c=2;break d}c=1}while(1){k:{l:{m:{n:{o:{p:{switch(c|0){case 0:if(C[f+28>>2]){C[108238]=0;T(74,C[f+28>>2]);b=C[108238];C[108238]=0;d=-1;q:{if(!b){break q}c=C[108239];if(!c){break q}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}if(k){C[108238]=0;Jb(75,a|0,p|0,q|0,0)|0;b=C[108238];C[108238]=0;d=-1;r:{if(!b){break r}c=C[108239];if(!c){break r}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}if(C[f+60>>2]){C[108238]=0;T(76,C[f+60>>2]);b=C[108238];C[108238]=0;d=-1;s:{if(!b){break s}c=C[108239];if(!c){break s}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[f+60>>2]=0}C[108238]=0;X(77,k|0,0)|0;b=C[108238];C[108238]=0;d=-1;t:{if(!b){break t}c=C[108239];if(!c){break t}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}b=C[f+60>>2];break a;case 1:k=30123;if(b){break m}C[108238]=0;Ka(C[104415],i|0,a|0,78);b=C[108238];C[108238]=0;d=-1;u:{if(!b){break u}c=C[108239];if(!c){break u}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108238]=0;Z(C[104410],i|0,m|0);b=C[108238];C[108238]=0;d=-1;v:{if(!b){break v}c=C[108239];if(!c){break v}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108238]=0;Ja(C[104403],i|0,m|0,f+48|0,f+44|0,f+40|0,f+36|0,f+32|0,0,0)|0;b=C[108238];C[108238]=0;d=-1;w:{if(!b){break w}c=C[108239];if(!c){break w}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108238]=0;T(C[104416],i|0);b=C[108238];C[108238]=0;d=-1;x:{if(!b){break x}c=C[108239];if(!c){break x}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}C[108238]=0;T(C[104414],i|0);b=C[108238];C[108238]=0;d=-1;if(!b){break n}c=C[108239];if(!c){break n}d=Mf(C[b>>2],h,j);if(d){break o}break b;default:break p}}C[108238]=0;Ka(C[104402],f+56|0,(C[f+52>>2]?f+52|0:0)|0,0);b=C[108238];C[108238]=0;d=-1;y:{if(!b){break y}c=C[108239];if(!c){break y}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)!=1){break l}break k}De=c}b=De;if((d|0)==1){break k}if(!C[f+36>>2]){C[108238]=0;T(C[104412],i|0);b=C[108238];C[108238]=0;d=-1;z:{if(!b){break z}c=C[108239];if(!c){break z}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}C[108238]=0;e=Y(C[104408],i|0,m|0,16)|0;b=C[108238];C[108238]=0;d=-1;A:{if(!b){break A}c=C[108239];if(!c){break A}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}d=-1;B:{if(!e){break B}C[108238]=0;Zd(C[104407],i|0,m|0,f+16|0,f+20|0,f+24|0)|0;b=C[108238];C[108238]=0;C:{if(!b){break C}c=C[108239];if(!c){break C}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}d=0;if(C[f+36>>2]!=3){break B}d=-1;b=0;D:{e=C[f+20>>2];if((e|0)<=0){break D}g=C[f+16>>2];c=-1;while(1){E:{d=D[b+g|0];if((d|0)==255){d=c;break E}if(!d){d=b;if((c|0)<0){break E}}d=c;break D}c=d;b=b+1|0;if((e|0)!=(b|0)){continue}break}break B}if((b|0)==(e|0)){break B}C[108238]=0;T(C[104412],i|0);b=C[108238];C[108238]=0;d=-1;e=-1;F:{if(!b){break F}c=C[108239];if(!c){break F}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}}if(C[f+36>>2]==4){C[108238]=0;T(C[104413],i|0);b=C[108238];C[108238]=0;e=-1;G:{if(!b){break G}c=C[108239];if(!c){break G}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}}C[108238]=0;Z(C[104411],i|0,m|0);b=C[108238];C[108238]=0;e=-1;H:{if(!b){break H}c=C[108239];if(!c){break H}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[108238]=0;Ja(C[104403],i|0,m|0,f+48|0,f+44|0,f+40|0,f+36|0,f+32|0,0,0)|0;b=C[108238];C[108238]=0;e=-1;I:{if(!b){break I}c=C[108239];if(!c){break I}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[108238]=0;n=X(C[104405],i|0,m|0)|0;b=C[108238];C[108238]=0;e=-1;J:{if(!b){break J}c=C[108239];if(!c){break J}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}b=0;c=0;e=0;g=0;if(n>>>0>=3){g=(n|0)==4?-16777216:0;e=16711680;b=255;c=65280}C[108238]=0;g=Od(79,0,C[f+48>>2],C[f+44>>2],I(n,C[f+40>>2])|0,b|0,c|0,e|0,g|0)|0;b=C[108238];C[108238]=0;e=-1;K:{if(!b){break K}c=C[108239];if(!c){break K}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[f+60>>2]=g;L:{if(!C[f+60>>2]){C[108238]=0;C[105732]=128;C[105731]=422944;k=34979;M:{if(!C[105730]){break M}k=C[105731]}b=C[108238];C[108238]=0;d=-1;N:{if(!b){break N}c=C[108239];if(!c){break N}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}d=i;break L}e=-1;if((d|0)!=-1){if(C[f+36>>2]!=3){d=C[f+24>>2];c=D[d+6|0];b=D[d+4|0];d=D[d+2|0];g=C[C[f+60>>2]+4>>2];C[108238]=0;d=cr(g,d,b,c);b=C[108238];C[108238]=0;g=-1;O:{if(!b){break O}c=C[108239];if(!c){break O}g=Mf(C[b>>2],h,j);if(!g){break b}De=c}b=De;if((g|0)==1){break k}}C[108238]=0;Y(82,C[f+60>>2],1,d|0)|0;b=C[108238];C[108238]=0;d=-1;P:{if(!b){break P}c=C[108239];if(!c){break P}d=Mf(C[b>>2],h,j);if(!d){break b}De=c}b=De;if((d|0)==1){break k}}C[108238]=0;d=$(83,C[f+44>>2]<<2)|0;b=C[108238];C[108238]=0;Q:{if(!b){break Q}c=C[108239];if(!c){break Q}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}C[f+28>>2]=d;k=1277;if(!C[f+28>>2]){d=i;break L}d=i;e=C[f+44>>2];if((e|0)>0){b=0;if((e|0)!=1){d=e&-2;c=0;while(1){g=C[f+60>>2];C[C[f+28>>2]+(b<<2)>>2]=I(C[g+16>>2],b)+C[g+20>>2];g=b|1;C[C[f+28>>2]+(g<<2)>>2]=C[C[f+60>>2]+20>>2]+I(g,C[C[f+60>>2]+16>>2]);b=b+2|0;c=c+2|0;if((d|0)!=(c|0)){continue}break}}if(e&1){d=C[f+60>>2];C[C[f+28>>2]+(b<<2)>>2]=I(C[d+16>>2],b)+C[d+20>>2]}d=C[f+56>>2]}C[108238]=0;Z(C[104409],d|0,C[f+28>>2]);b=C[108238];C[108238]=0;e=-1;R:{if(!b){break R}c=C[108239];if(!c){break R}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}k=0;g=C[C[C[f+60>>2]+4>>2]+4>>2];if(!g){break L}C[108238]=0;_(C[104406],d|0,C[f+52>>2],f+8|0,f+12|0)|0;b=C[108238];C[108238]=0;e=-1;S:{if(!b){break S}c=C[108239];if(!c){break S}e=Mf(C[b>>2],h,j);if(!e){break b}De=c}b=De;if((e|0)==1){break k}T:{if(!C[f+36>>2]){C[g>>2]=256;k=C[g+4>>2];c=0;while(1){e=k+(c<<2)|0;A[e+2|0]=c;A[e+1|0]=c;A[e|0]=c;e=c|1;g=k+(e<<2)|0;A[g+2|0]=e;A[g+1|0]=e;A[g|0]=e;e=c|2;g=k+(e<<2)|0;A[g+2|0]=e;A[g+1|0]=e;A[g|0]=e;e=c|3;g=k+(e<<2)|0;A[g+2|0]=e;A[g+1|0]=e;A[g|0]=e;c=c+4|0;if((c|0)!=256){continue}break}break T}c=C[f+12>>2];if((c|0)<=0){break T}C[g>>2]=c;k=C[f+12>>2];if((k|0)<=0){break T}e=C[g+4>>2];c=0;n=C[f+8>>2];if((k|0)!=1){r=k&-2;g=0;while(1){o=e+(c<<2)|0;l=n+I(c,3)|0;A[o+2|0]=D[l+2|0];A[o+1|0]=D[l+1|0];A[o|0]=D[l|0];l=c|1;o=e+(l<<2)|0;l=n+I(l,3)|0;A[o+2|0]=D[l+2|0];A[o+1|0]=D[l+1|0];A[o|0]=D[l|0];c=c+2|0;g=g+2|0;if((r|0)!=(g|0)){continue}break}}if(!(k&1)){break T}k=e+(c<<2)|0;c=n+I(c,3)|0;A[k+2|0]=D[c+2|0];A[k+1|0]=D[c+1|0];A[k|0]=D[c|0]}k=0}if(!d){break l}}c=2;continue}c=0;continue}c=1;continue}}Re(h);Ii(b,c);s()}Re(h);Ce=f- -64|0;return b|0}function Ht(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{f:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}if(C[b+12>>2]!=1){break b}d=D[a+2|0]|D[a+3|0]<<8;c=84608;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0;break d}if(C[b+12>>2]!=1){break b}d=D[a+2|0]|D[a+3|0]<<8;c=84608;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0}return(zf(c,C[C[b+8>>2]>>2])|0)!=-1;case 1:if((D[a|0]|D[a+1|0]<<8)!=256|C[b+12>>2]!=1){break b}break a;case 2:if((D[a|0]|D[a+1|0]<<8)!=256|C[b+12>>2]!=1){break b}break a;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break b}c=D[a+2|0]|D[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}c=zf(c,C[C[b+8>>2]>>2]);g:{h:{if((c|0)==-1){break h}f=84608;d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=D[f|0]|D[f+1|0]<<8;if(!a){break h}g=(a<<8|a>>>8)&65535;c=f+2|0;d=C[b+12>>2];if(d>>>0<2){while(1){a=D[c|0]|D[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=84608}a=D[a+2|0]|D[a+3|0]<<8;h=((a<<8|a>>>8)&65535)==(d|0);if(h){break g}c=c+2|0;g=g-1|0;if(g){continue}break g}}i=C[b+8>>2];while(1){a=D[c|0]|D[c+1|0]<<8;if(a){b=((a<<8|a>>>8)&65535)+f|0}else{b=84608}a=D[b+2|0]|D[b+3|0]<<8;i:{if(((a<<8|a>>>8)&65535)!=(d|0)){break i}h=1;a=1;e=D[b+4|0]|D[b+5|0]<<8;if(C[i+4>>2]!=((e<<8|e>>>8)&65535)){break i}while(1){e=a+1|0;if((e|0)==(d|0)){break g}j=a<<1;a=e;e=b+j|0;e=D[e+4|0]|D[e+5|0]<<8;if(C[i+(a<<2)>>2]==((e<<8|e>>>8)&65535)){continue}break}if(a>>>0>=d>>>0){break g}}c=c+2|0;g=g-1|0;if(g){continue}break}}h=0}return h;case 4:f=b;b=0;c=a;j:{k:{l:{m:{a=D[a|0]|D[a+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break j}}g=84608;a=D[c+2|0]|D[c+3|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=84608}a=zf(a,C[C[f+8>>2]>>2]);b=D[c+4|0]|D[c+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?84608:(c+(a<<1)|0)+6|0;a=D[a|0]|D[a+1|0]<<8;if(a){g=c+((a<<8|a>>>8)&65535)|0}a=D[g|0]|D[g+1|0]<<8;n:{o:{if(a){h=(a<<8|a>>>8)&65535;c=g+2|0;d=C[f+12>>2];while(1){a=D[c|0]|D[c+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+g|0}else{e=84608}a=D[e|0]|D[e+1|0]<<8;a=(a<<8|a>>>8)&65535;p:{if((a|0)!=(d|0)){break p}b=1;if(a>>>0<2){break n}i=1;a=1;j=C[f+8>>2];e=e+4|0;b=D[e|0]|D[e+1|0]<<8;if(C[j+4>>2]!=((b<<8|b>>>8)&65535)){break p}while(1){b=a+1|0;if((b|0)==(d|0)){break o}k=a<<1;a=b;b=e+k|0;b=D[b|0]|D[b+1|0]<<8;if(C[j+(a<<2)>>2]==((b<<8|b>>>8)&65535)){continue}break}if(a>>>0>=d>>>0){break o}}c=c+2|0;h=h-1|0;if(h){continue}break}}i=0}b=i}break j}k=C[f+8>>2];a=C[k>>2];q:{r:{s:{t:{d=D[c+4|0]|D[c+5|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=84608}e=D[d|0]|D[d+1|0]<<8;n=e<<8|e>>>8;switch((n&65535)-1|0){case 1:break s;case 0:break t;default:break q}}b=a;a=D[d+2|0]|D[d+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=D[d+4|0]|D[d+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?84608:(d+(a<<1)|0)+6|0;break r}h=84998;b=D[d+2|0]|D[d+3|0]<<8;u:{if(!b){break u}j=d+4|0;b=((b<<8|b>>>8)&65535)-1|0;e=0;while(1){i=b+e>>>1|0;g=j+I(i,6)|0;l=D[g|0]|D[g+1|0]<<8;v:{if(a>>>0>=((l<<8|l>>>8)&65535)>>>0){e=D[g+2|0]|D[g+3|0]<<8;if(a>>>0>((e<<8|e>>>8)&65535)>>>0){e=i+1|0;break v}h=j+I(i,6)|0;break u}b=i-1|0}if((b|0)>=(e|0)){continue}break}}a=h+4|0}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}i=84608;a=D[c+6|0]|D[c+7|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=b>>>0?84608:(c+(b<<1)|0)+8|0;a=D[a|0]|D[a+1|0]<<8;if(a){i=c+((a<<8|a>>>8)&65535)|0}a=D[i|0]|D[i+1|0]<<8;w:{x:{if(a){h=(a<<8|a>>>8)&65535;l=d+4|0;c=i+2|0;f=C[f+12>>2];while(1){b=84608;a=D[c|0]|D[c+1|0]<<8;if(a){b=((a<<8|a>>>8)&65535)+i|0}a=D[b|0]|D[b+1|0]<<8;e=(a<<8|a>>>8)&65535;y:{if((e|0)!=(f|0)){break y}a=1;if(e>>>0<2){break w}g=b+4|0;j=C[k+4>>2];b=0;z:{A:{B:{switch((n&65535)-1|0){case 0:a=D[d+2|0]|D[d+3|0]<<8;a=j-((a<<8|a>>>8)&65535)|0;b=D[d+4|0]|D[d+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?84608:(l+(a<<1)|0)+2|0;break A;case 1:break B;default:break z}}a=D[d+2|0]|D[d+3|0]<<8;C:{if(a){b=((a<<8|a>>>8)&65535)-1|0;e=0;while(1){m=b+e>>>1|0;a=l+I(m,6)|0;o=D[a|0]|D[a+1|0]<<8;D:{if(j>>>0>=((o<<8|o>>>8)&65535)>>>0){e=D[a+2|0]|D[a+3|0]<<8;if(j>>>0<=((e<<8|e>>>8)&65535)>>>0){break C}e=m+1|0;break D}b=m-1|0}if((b|0)>=(e|0)){continue}break}}a=84998}a=a+4|0}a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}e=1;a=1;j=b;b=D[g|0]|D[g+1|0]<<8;if((j|0)!=((b<<8|b>>>8)&65535)){break y}while(1){b=a+1|0;if((b|0)==(f|0)){break x}j=a<<1;a=b;if(Bt(C[k+(a<<2)>>2],g+j|0,d)){continue}break}if(a>>>0>=f>>>0){break x}}c=c+2|0;h=h-1|0;if(h){continue}break}}e=0}a=e}b=a;break j}a=D[c+2|0]|D[c+3|0]<<8;a=a<<8|a>>>8;d=a&65535;if((d|0)!=C[f+12>>2]){break j}b=1;if((a&65535)>>>0<2){break j}i=C[C[f+8>>2]+4>>2];b=0;e=c+8|0;a=D[e|0]|D[e+1|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=84608}if((zf(a,i)|0)==-1){break j}b=1;while(1){E:{a=b+1|0;if((d|0)==(a|0)){a=d;break E}h=C[C[f+8>>2]+(a<<2)>>2];b=e+(b<<1)|0;b=D[b|0]|D[b+1|0]<<8;if(b){i=c+((b<<8|b>>>8)&65535)|0}else{i=84608}b=a;if((zf(i,h)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}return b;case 5:c=0;i=Ce-16|0;Ce=i;F:{G:{H:{I:{d=D[a|0]|D[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break F}}c=84608;d=D[a+2|0]|D[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=84608}d=zf(e,C[C[b+8>>2]>>2]);e=D[a+4|0]|D[a+5|0]<<8;d=d>>>0>=((e<<8|e>>>8)&65535)>>>0?84608:((d<<1)+a|0)+6|0;d=D[d|0]|D[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=C[11637];C[i+8>>2]=C[11636];C[i+12>>2]=a;a=C[11635];C[i>>2]=C[11634];C[i+4>>2]=a;c=Ct(c,b,i);break F}h=Ce-16|0;Ce=h;c=84608;l=84608;d=D[a+4|0]|D[a+5|0]<<8;if(d){l=((d<<8|d>>>8)&65535)+a|0}d=D[a+6|0]|D[a+7|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}d=D[a+8|0]|D[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=84608}g=C[C[b+8>>2]>>2];J:{K:{L:{M:{e=D[c|0]|D[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break L;case 0:break M;default:break J}}e=D[c+2|0]|D[c+3|0]<<8;e=g-((e<<8|e>>>8)&65535)|0;f=D[c+4|0]|D[c+5|0]<<8;e=e>>>0>=((f<<8|f>>>8)&65535)>>>0?84608:((e<<1)+c|0)+6|0;break K}m=84998;e=D[c+2|0]|D[c+3|0]<<8;N:{if(!e){break N}n=c+4|0;f=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){j=e+f>>>1|0;k=n+I(j,6)|0;o=D[k|0]|D[k+1|0]<<8;O:{if(g>>>0>=((o<<8|o>>>8)&65535)>>>0){e=D[k+2|0]|D[k+3|0]<<8;if(g>>>0>((e<<8|e>>>8)&65535)>>>0){e=j+1|0;break O}m=n+I(j,6)|0;break N}f=j-1|0}if((e|0)<=(f|0)){continue}break}}e=m+4|0}e=D[e|0]|D[e+1|0]<<8;f=(e<<8|e>>>8)&65535}e=84608;g=((f<<1)+a|0)+12|0;j=f;f=D[a+10|0]|D[a+11|0]<<8;f=j>>>0>=((f<<8|f>>>8)&65535)>>>0?84608:g;f=D[f|0]|D[f+1|0]<<8;if(f){e=((f<<8|f>>>8)&65535)+a|0}C[h+12>>2]=d;C[h+8>>2]=c;C[h+4>>2]=l;C[h>>2]=153;c=Ct(e,b,h);Ce=h+16|0;break F}c=b;b=0;e=a;d=a+2|0;a=D[a+2|0]|D[a+3|0]<<8;h=d+(((a<<8|a>>>8)&65535)<<1)|0;f=h+2|0;d=D[f|0]|D[f+1|0]<<8;g=d<<8|d>>>8;d=g&65535;f=(d<<1)+f|0;P:{if((D[c+16|0]?D[f+2|0]|D[f+3|0]<<8|a:0)|(d|0)!=C[c+12>>2]){break P}b=1;if((g&65535)>>>0<2){break P}g=C[C[c+8>>2]+4>>2];b=0;f=h+6|0;a=D[f|0]|D[f+1|0]<<8;if(a){a=e+((a<<8|a>>>8)&65535)|0}else{a=84608}if((zf(a,g)|0)==-1){break P}b=1;while(1){Q:{a=b+1|0;if((d|0)==(a|0)){a=d;break Q}g=C[C[c+8>>2]+(a<<2)>>2];b=f+(b<<1)|0;b=D[b|0]|D[b+1|0]<<8;if(b){h=e+((b<<8|b>>>8)&65535)|0}else{h=84608}b=a;if((zf(h,g)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}c=b}Ce=i+16|0;return c;case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;a=Ht(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break c;default:break b}}if((D[a|0]|D[a+1|0]<<8)!=256|C[b+12>>2]!=1){break b}c=D[a+2|0]|D[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}f=(zf(a,C[C[b+8>>2]>>2])|0)!=-1}return f}c=D[a+2|0]|D[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}return(zf(a,C[C[b+8>>2]>>2])|0)!=-1}function kP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Ce-32|0;Ce=g;d=bf(a,0);a:{if(d){break a}d=Ff(a,219200,b+132|0);if(d){break a}C[b+168>>2]=C[b+168>>2]+(C[b+204>>2]<<16);d=2;if(C[b+132>>2]!=1346785840|F[b+136>>2]>4|(C[b+140>>2]!=3338|F[b+144>>2]<58)){break a}d=bf(a,C[b+152>>2]);C[g+12>>2]=d;if(d){break a}e=$f(a,g+12|0);d=C[g+12>>2];C[g+24>>2]=d;if(d){break a}C[b>>2]=e;d=0;if((c|0)<0){break a}d=6;if(c>>>0>=e>>>0){break a}n=C[b+204>>2];d=bf(a,C[b+152>>2]);C[g+12>>2]=d;if(d){break a}e=$f(a,g+12|0);d=C[g+12>>2];if(d){break a}d=6;if(c>>>0>=e>>>0){break a}d=ng(a,I(c,5));C[g+12>>2]=d;if(d){break a}h=$f(a,g+12|0);d=C[g+12>>2];if(d){break a}e=Ce-16|0;Ce=e;C[g+12>>2]=0;i=a;b:{c:{d:{e:{d=C[a+4>>2];a=C[a+8>>2];if(d>>>0<=a+2>>>0){break e}d=C[i+20>>2];f:{if(d){if((Fe[d|0](i,a,e+13|0,3)|0)!=3){break e}a=C[i+8>>2];d=e+13|0;break f}d=C[i>>2];if(!d){break d}d=a+d|0}f=D[d+2|0]|(D[d+1|0]<<8|D[d|0]<<16);break c}C[g+12>>2]=85;break b}f=0}C[i+8>>2]=a+3}Ce=e+16|0;d=C[g+12>>2];if(d){break a}C[b+240>>2]=h;C[b+244>>2]=f;d=bf(i,f);C[g+12>>2]=d;if(d){break a}d=Cf(i,h);C[g+12>>2]=d;if(d){break a}g:{h:{i:{if(h>>>0<13){break i}k=C[i+32>>2];l=k+h|0;C[b+248>>2]=D[k+2|0]|(D[k+1|0]<<8|D[k|0]<<16);C[b+252>>2]=D[k+5|0]|(D[k+4|0]<<8|D[k+3|0]<<16);C[b+256>>2]=D[k+8|0]|(D[k+7|0]<<8|D[k+6|0]<<16);C[b+260>>2]=D[k+11|0]|(D[k+10|0]<<8|D[k+9|0]<<16);e=0;f=k+13|0;j=D[k+12|0];d=j&4;if(d){a=j&8?2:1;e=j&3?a:a+3|0}h=j&32;if(l>>>0>31&(h?2:1))|0)>>>0){break i}a=j&16;j:{if(!d){break j}e=D[f|0];k:{if(j&8){e=(D[k+14|0]|e<<8)<<16>>16;f=k+15|0;break k}f=k+14|0}C[b+268>>2]=e;if(j&3){break j}C[b+276>>2]=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);f=f+3|0}l:{if(!a){e=f;break l}d=D[f|0];m:{if(h){d=(D[f+1|0]|d<<8)<<16>>16;e=f+2|0;break m}e=f+1|0}C[b+272>>2]=d}n:{if(!(j&64)){d=e;break n}d=e+1|0;if(l>>>0>>0){break h}m=D[e|0];if(m){while(1){a=d+2|0;if(a>>>0>l>>>0){break h}d=a+D[d|0]|0;if(l>>>0>>0){break h}m=m-1|0;if(m){continue}break}}C[g+12>>2]=0}if(l>>>0>>0){break i}a=D[d+1|0]|D[d|0]<<8;C[b+280>>2]=a;C[b+284>>2]=D[d+4|0]|(D[d+3|0]<<8|D[d+2|0]<<16);if(!n){break g}if(l>>>0>>0){break i}C[b+280>>2]=a|D[d+5|0]<<16;break g}C[g+12>>2]=8;break g}C[g+12>>2]=8}xf(i);d=C[g+12>>2];C[g+24>>2]=d;if(d){break a}e=C[b+280>>2];p=C[b+284>>2];m=C[i+28>>2];C[b+428>>2]=b+424;C[b+424>>2]=0;C[b+292>>2]=p;C[b+288>>2]=m;d=bf(i,p);if(d){break a}d=Cf(i,e);C[g+12>>2]=d;if(d){break a}d=C[i+32>>2];C[b+436>>2]=d;o:{p:{if((e|0)<15){break p}C[b+296>>2]=D[d+1|0]|D[d|0]<<8;C[b+300>>2]=D[d+3|0]|D[d+2|0]<<8;C[b+304>>2]=D[d+5|0]|D[d+4|0]<<8;a=D[d+6|0]|D[d+7|0]<<8;C[b+308>>2]=(a<<8|a>>>8)<<16>>16;a=D[d+8|0]|D[d+9|0]<<8;C[b+312>>2]=(a<<8|a>>>8)<<16>>16;a=D[d+10|0]|D[d+11|0]<<8;C[b+316>>2]=(a<<8|a>>>8)<<16>>16;a=D[d+12|0]|D[d+13|0]<<8;C[b+320>>2]=(a<<8|a>>>8)<<16>>16;f=d+15|0;C[g+28>>2]=f;q=D[d+14|0];C[b+324>>2]=q;s=q&4;if(!s){if(e>>>0<17){break p}f=d+17|0;C[g+28>>2]=f;a=D[d+15|0]|D[d+16|0]<<8;C[b+328>>2]=(a<<8|a>>>8)<<16>>16}o=d+e|0;j=o;if(q<<24>>24<0){l=b+288|0;e=8;d=C[g+28>>2];a=d+1|0;q:{r:{if(o>>>0>>0){break r}f=D[d|0];if(f){while(1){h=a;d=a+2|0;if(o>>>0>>0){C[g+28>>2]=h;e=8;break q}a=D[h|0]+d|0;if(o>>>0>>0){C[g+28>>2]=d;e=8;break q}k=C[54833];s:{if(!k){break s}e=219328;n=D[h+1|0];if((n|0)!=C[54832]){while(1){k=C[e+12>>2];if(!k){break s}h=C[e+8>>2];e=e+8|0;if((h|0)!=(n|0)){continue}break}}e=Fe[k|0](d,a,l)|0;if(e){break r}}f=f-1|0;if(f){continue}break}}d=a;e=0}C[g+28>>2]=d}C[g+12>>2]=e;if(e){break o}f=C[g+28>>2]}a=f+3|0;if(j>>>0>>0){break p}C[g+28>>2]=a;e=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);if(e){f=a+e|0;if(f>>>0>o>>>0){break p}C[g+28>>2]=f;n=b+372|0;h=b+376|0;while(1){t:{l=a+4|0;if(l>>>0>f>>>0){break t}j=D[a+1|0]|D[a|0]<<8;if(j>>>0<4|e>>>0>>0){break t}u:{v:{w:{x:{y:{d=D[a+2|0]|D[a+3|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break w;case 1:break x;case 0:break y;default:break u}}d=sx(l,j-4|0,m,n);break v}if(j>>>0<36){break u}d=D[a+14|0]|D[a+15|0]<<8;C[b+332>>2]=(d<<8|d>>>8)<<16>>16;d=D[a+16|0]|D[a+17|0]<<8;C[b+336>>2]=(d<<8|d>>>8)<<16>>16;d=D[a+18|0]|D[a+19|0]<<8;C[b+340>>2]=(d<<8|d>>>8)<<16>>16;break u}d=sx(l,j-4|0,m,h)}C[g+12>>2]=d;if(d){break a}}a=a+j|0;e=e-j|0;if(e){continue}}break}a=f}d=a+1|0;if(o>>>0>>0){break p}C[g+28>>2]=d;a=D[a|0];C[b+392>>2]=a;if(o>>>0<(a<<1)+d>>>0){break p}j=Ve(m,4,0,a,0,g+12|0);C[b+396>>2]=j;if(C[g+12>>2]){break o}z:{if(!a){break z}l=a&1;A:{if((a|0)==1){a=0;break A}n=a&254;a=0;e=0;while(1){h=a<<2;f=D[d|0]|D[d+1|0]<<8;C[h+j>>2]=(f<<8|f>>>8)<<16>>16;f=D[d+2|0]|D[d+3|0]<<8;C[j+(h|4)>>2]=(f<<8|f>>>8)<<16>>16;a=a+2|0;d=d+4|0;e=e+2|0;if((n|0)!=(e|0)){continue}break}}if(!l){break z}e=j+(a<<2)|0;a=D[d|0]|D[d+1|0]<<8;C[e>>2]=(a<<8|a>>>8)<<16>>16;d=d+2|0}a=d+8|0;if(o>>>0>>0){break p}C[g+28>>2]=d+1;C[b+400>>2]=D[d|0];C[g+28>>2]=d+2;C[b+404>>2]=D[d+1|0];C[g+28>>2]=d+4;C[b+356>>2]=D[d+3|0]|D[d+2|0]<<8;C[b+344>>2]=D[d+5|0]|D[d+4|0]<<8;C[g+28>>2]=a;r=D[d+7|0]|D[d+6|0]<<8;C[b+408>>2]=r;C[b+412>>2]=(a+p|0)-C[i+32>>2];k=Ve(m,16,0,r,0,g+12|0);C[b+416>>2]=k;if(C[g+12>>2]){break o}j=q>>>3&1;l=q&16;n=q&32;h=q&2;if(o>>>0>>1)+(l>>>4|0)+(n>>>5)|0)+(h?5:4)|0)+a>>>0){break p}if(!r){break o}m=0;while(1){p=k+(m<<4)|0;f=D[a|0];B:{if(h){f=D[a+1|0]|f<<8;e=a+2|0;break B}e=a+1|0}C[p>>2]=f;C:{if(s){a=D[e|0]|D[e+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;e=e+2|0;break C}a=C[b+328>>2]}C[p+4>>2]=a;d=e+j|0;a=D[d|0];D:{if(l){a=D[d+1|0]|a<<8;d=d+2|0;break D}d=d+1|0}C[p+8>>2]=a;e=D[d+1|0];a=D[d|0];E:{if(n){f=D[d+2|0]|(e<<8|a<<16);a=d+3|0;break E}f=e|a<<8;a=d+2|0}C[p+12>>2]=f;m=m+1|0;if((r|0)!=(m|0)){continue}break}break o}C[g+12>>2]=8}xf(i);e=0;a=C[i+8>>2];C[b+436>>2]=0;C[b+432>>2]=a;d=C[g+12>>2];C[g+24>>2]=d;if(d){break a}C[b+4>>2]=c;c=C[b+8>>2]|1;C[b+8>>2]=c;d=C[b+408>>2];C[b+16>>2]=d+1;F:{G:{H:{if(!d){break H}a=C[b+416>>2];while(1){if(C[(a+(e<<4)|0)+12>>2]){break H}e=e+1|0;if((d|0)!=(e|0)){continue}break}break G}if((d|0)!=(e|0)){break F}}c=0;if(C[b+380>>2]){break F}d=3;break a}a=C[b+324>>2];d=(a^-1)&4|c|(a&1?32:16);C[b+8>>2]=d;i=C[b+380>>2];if(i){d=d|2;C[b+8>>2]=d}if(C[b+420>>2]){C[b+8>>2]=d|64}c=C[b+372>>2];C[b+20>>2]=c;if(!c){C[b+20>>2]=C[b+368>>2]}C[b+28>>2]=0;C[b+32>>2]=0;C[b+24>>2]=C[b+376>>2];c=C[b+312>>2];C[b+52>>2]=C[b+308>>2];C[b+56>>2]=c;c=C[b+320>>2];C[b+60>>2]=C[b+316>>2];C[b+64>>2]=c;e=C[b+300>>2];B[b+68>>1]=e;d=C[b+320>>2];B[b+70>>1]=d;c=C[b+312>>2];B[b+72>>1]=c;d=(d<<16>>16)-(c<<16>>16)|0;c=(I(e&65535,12)>>>0)/10|0;B[b+74>>1]=(d|0)>c<<16>>16?d:c;if(i){a=Ve(C[C[b+104>>2]+28>>2],16,0,i,0,g+24|0);C[b+32>>2]=a;d=C[g+24>>2];if(d){break a}d=C[b+388>>2];if((i|0)!=1){f=i&-2;e=0;while(1){c=C[d+4>>2];B[a>>1]=c;h=C[d>>2];c=c<<6;C[a+12>>2]=c;C[a+4>>2]=c;B[a+2>>1]=h;C[a+8>>2]=h<<6;c=C[d+40>>2];B[a+16>>1]=c;h=C[d+36>>2];c=c<<6;C[a+28>>2]=c;C[a+20>>2]=c;B[a+18>>1]=h;C[a+24>>2]=h<<6;d=d+72|0;a=a+32|0;e=e+2|0;if((f|0)!=(e|0)){continue}break}}if(i&1){c=C[d+4>>2];B[a>>1]=c;d=C[d>>2];c=c<<6;C[a+12>>2]=c;C[a+4>>2]=c;B[a+2>>1]=d;C[a+8>>2]=d<<6}C[b+28>>2]=i;a=C[b+324>>2]}I:{if(!(a&4)){a=C[b+328>>2];break I}a=C[b+408>>2];if(!a){a=0;break I}i=a&3;d=C[b+416>>2];c=0;J:{if(a>>>0<4){a=0;break J}h=a&-4;a=0;e=0;while(1){f=C[d+4>>2];f=(a|0)>(f|0)?a:f;a=C[d+20>>2];f=(a|0)<(f|0)?f:a;a=C[d+36>>2];f=(a|0)<(f|0)?f:a;a=C[d+52>>2];a=(a|0)<(f|0)?f:a;d=d- -64|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}if(!i){break I}while(1){e=C[d+4>>2];a=(a|0)>(e|0)?a:e;d=d+16|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}B[b+76>>1]=a;B[b+78>>1]=E[b+74>>1];a=E[b+68>>1];B[b+82>>1]=(a>>>0)/30;B[b+80>>1]=0-((a>>>0)/10|0);C[g+12>>2]=b;C[g+16>>2]=1970170211;C[g+20>>2]=65539;d=yh(219004,0,g+12|0,0);if(!C[b+420>>2]){break a}C[b+8>>2]=C[b+8>>2]|64}Ce=g+32|0;return d|0}function _G(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,k=0,l=0,m=0,n=0,o=0;h=Ce-32|0;Ce=h;C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];C[b+76>>2]=0;m=C[b+80>>2];while(1){a:{a=C[b+76>>2];if(!D[b+72|0]|a>>>0>=m>>>0){break a}f=C[b+92>>2];d=C[f+I(a,20)>>2];b:{if((d&-2)==12334){c:{if(!(C[b+84>>2]!=(g|0)|g>>>0<=i>>>0)){Zg(b,i,a);if(D[b+73|0]){d:{if(C[b+96>>2]==C[b+92>>2]){a=C[b+84>>2];if((a|0)==C[b+76>>2]){break d}}if(!$e(b,1,1)){break a}e=C[b+92>>2]+I(C[b+76>>2],20)|0;f=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=f;C[a+16>>2]=C[e+16>>2];f=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=f;a=C[b+84>>2]}C[b+84>>2]=a+1}C[b+76>>2]=C[b+76>>2]+1;a=h+8|0;C[a>>2]=0;e=a;a=C[c+72>>2];if(Fe[C[a+156>>2]](c,C[c+76>>2],d,e,C[a+20>>2])|0){a=C[c+72>>2];if(!(Fe[C[a+168>>2]](c,C[c+76>>2],C[h+8>>2],C[a+32>>2])|0)){break c}}Ci(b,i,g+1|0);e=C[b+96>>2];a=e+I(g,20)|0;C[h+24>>2]=C[a+16>>2];d=C[a+12>>2];C[h+16>>2]=C[a+8>>2];C[h+20>>2]=d;d=C[a+4>>2];C[h+8>>2]=C[a>>2];C[h+12>>2]=d;a=e+I(i,20)|0;Yf(a+20|0,a,I(g-i|0,20));C[a+16>>2]=C[h+24>>2];e=C[h+20>>2];C[a+8>>2]=C[h+16>>2];C[a+12>>2]=e;e=C[h+12>>2];C[a>>2]=C[h+8>>2];C[a+4>>2]=e;break c}e:{if(D[b+16|0]&16){break e}C[h+8>>2]=0;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],9676,h+8|0,C[a+20>>2])|0)){break e}a=h+8|0;C[a>>2]=0;e=a;a=C[c+72>>2];f:{if(!(Fe[C[a+156>>2]](c,C[c+76>>2],d,e,C[a+20>>2])|0)){g=9676;break f}a=C[c+72>>2];a=Fe[C[a+168>>2]](c,C[c+76>>2],C[h+8>>2],C[a+32>>2])|0;g=a?9676:d;d=a?d:9676}if(!$e(b,1,2)){break c}a=C[b+76>>2];g:{if(a>>>0>2]){i=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];f=C[b+96>>2];break g}f=C[b+96>>2];a=C[b+84>>2];e=a-1|0;i=f+I(a>>>0>=e>>>0?e:0,20)|0}e=C[i+4>>2];a=I(a,20)+f|0;C[a>>2]=C[i>>2];C[a+4>>2]=e;C[a+16>>2]=C[i+16>>2];e=C[i+12>>2];C[a+8>>2]=C[i+8>>2];C[a+12>>2]=e;C[a>>2]=d;e=C[i+4>>2];C[a+20>>2]=C[i>>2];C[a+24>>2]=e;e=C[i+12>>2];C[a+28>>2]=C[i+8>>2];C[a+32>>2]=e;C[a+36>>2]=C[i+16>>2];C[a+20>>2]=g;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+2;break c}if(D[b+73|0]){h:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break h}}if(!$e(b,1,1)){break c}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}d=3;g=C[b+84>>2];i=g;break b}i=C[b+84>>2];i:{l=d-4352|0;j:{if(!(d-43360>>>0>28&l>>>0>=96)){e=a+1|0;if(e>>>0>=m>>>0){break j}e=C[f+I(e,20)>>2];if(e-4448>>>0>=72&e-55216>>>0>22){break j}k=0;g=0;j=a+2|0;if(j>>>0>>0){f=C[f+I(j,20)>>2];k=f-4520>>>0<88|f-55243>>>0<49;g=k?f:0;k=k?f-4519|0:0}f=g?3:2;Sf(b,a,f+a|0);k:{if(l>>>0>18|e-4449>>>0>20|(g-4520>>>0>26?g:0)){break k}C[h+8>>2]=0;e=((I(d,588)+I(e,28)|0)+k|0)-2639516|0;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],e,h+8|0,C[a+20>>2])|0)){break k}if(!$e(b,f,1)){break i}a=C[b+76>>2];fg(b,a,a+f|0);a=C[b+76>>2];l:{if(a>>>0>2]){d=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];g=C[b+96>>2];break l}g=C[b+96>>2];a=C[b+84>>2];d=a-1|0;d=g+I(a>>>0>=d>>>0?d:0,20)|0}a=I(a,20)+g|0;g=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=g;C[a+16>>2]=C[d+16>>2];g=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=g;C[a>>2]=e;C[b+76>>2]=f+C[b+76>>2];C[b+84>>2]=C[b+84>>2]+1;break i}A[(C[b+92>>2]+I(C[b+76>>2],20)|0)+19|0]=1;m:{if(D[b+73|0]){n:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break n}}if(!$e(b,1,1)){d=C[b+76>>2];break m}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}d=C[b+76>>2]+1|0;C[b+76>>2]=d}A[(C[b+92>>2]+I(d,20)|0)+19|0]=2;o:{if(D[b+73|0]){p:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break p}}if(!$e(b,1,1)){break o}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}if(g){A[(C[b+92>>2]+I(C[b+76>>2],20)|0)+19|0]=3;q:{if(D[b+73|0]){r:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break r}}if(!$e(b,1,1)){break q}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}a=3}else{a=2}if(!D[b+72|0]){break a}g=a+i|0;d=3;if(C[b+20>>2]){break b}Ci(b,i,g);break b}a=d-44032|0;if(a>>>0>11171){break j}C[h+8>>2]=0;a=a&65535;e=(a>>>0)/588|0;f=C[c+72>>2];k=Fe[C[f+156>>2]](c,C[c+76>>2],d,h+8|0,C[f+20>>2])|0;f=(a>>>0)%588|0;a=(f>>>0)/28|0;f=f-I(a,28)|0;l=f&65535;s:{t:{if(!l){j=C[b+76>>2]+1|0;u:{if(j>>>0>=m>>>0){break u}j=C[C[b+92>>2]+I(j,20)>>2];if(j-4520>>>0>26){break u}C[h+8>>2]=0;j=(d+j|0)-4519|0;d=C[c+72>>2];if(Fe[C[d+156>>2]](c,C[c+76>>2],j,h+8|0,C[d+20>>2])|0){if(!$e(b,2,1)){break i}a=C[b+76>>2];fg(b,a,a+2|0);a=C[b+76>>2];v:{if(a>>>0>2]){d=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];g=C[b+96>>2];break v}g=C[b+96>>2];a=C[b+84>>2];e=a-1|0;d=g+I(a>>>0>=e>>>0?e:0,20)|0}e=C[d+4>>2];a=I(a,20)+g|0;C[a>>2]=C[d>>2];C[a+4>>2]=e;C[a+16>>2]=C[d+16>>2];e=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=e;C[a>>2]=j;C[b+76>>2]=C[b+76>>2]+2;C[b+84>>2]=C[b+84>>2]+1;break i}d=C[b+76>>2];Sf(b,d,d+2|0)}if(!k){break t}d=C[b+76>>2]+1|0;if(d>>>0>=m>>>0){break s}d=C[C[b+92>>2]+I(d,20)>>2];if(d-4520>>>0<88){break t}if(d-55243>>>0>48){break s}break t}if(k){break s}}C[h+8>>2]=0;w:{n=e|4352;e=C[c+72>>2];if(!(Fe[C[e+156>>2]](c,C[c+76>>2],n,h+8|0,C[e+20>>2])|0)){break w}C[h+8>>2]=0;o=a+4449|0;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],o,h+8|0,C[a+20>>2])|0)){break w}j=f+4519&65535;x:{if(!l){f=2;break x}C[h+8>>2]=0;f=3;a=C[c+72>>2];if(!(Fe[C[a+156>>2]](c,C[c+76>>2],j,h+8|0,C[a+20>>2])|0)){break s}}if($e(b,1,f)){e=C[b+76>>2];y:{if(e>>>0>2]){d=C[b+84>>2];a=C[b+96>>2];e=C[b+92>>2]+I(e,20)|0;break y}a=C[b+96>>2];d=C[b+84>>2];e=d-1|0;e=a+I(d>>>0>=e>>>0?e:0,20)|0}d=I(d,20)+a|0;a=e;e=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=e;C[d+16>>2]=C[a+16>>2];e=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=e;C[d>>2]=n;e=C[a+4>>2];C[d+20>>2]=C[a>>2];C[d+24>>2]=e;e=C[a+12>>2];C[d+28>>2]=C[a+8>>2];C[d+32>>2]=e;C[d+36>>2]=C[a+16>>2];C[d+20>>2]=o;if(l){e=C[a+4>>2];C[d+40>>2]=C[a>>2];C[d+44>>2]=e;C[d+56>>2]=C[a+16>>2];e=C[a+12>>2];C[d+48>>2]=C[a+8>>2];C[d+52>>2]=e;C[d+40>>2]=j}C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+f}if(!(!k|l)){z:{if(D[b+73|0]){A:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break A}}if(!$e(b,1,1)){break z}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}f=f+1|0}if(!D[b+72|0]){d=2;break b}a=C[b+96>>2];e=a+I(i,20)|0;A[e+39|0]=2;A[e+19|0]=1;g=f+i|0;e=i+2|0;if(g>>>0>e>>>0){A[(a+I(e,20)|0)+19|0]=3}d=3;if(C[b+20>>2]){break b}Ci(b,i,g);break b}if(l){break s}a=C[b+76>>2];e=a+1|0;if(e>>>0>=m>>>0){break s}e=C[C[b+92>>2]+I(e,20)>>2];if(e-4520>>>0>=88&e-55243>>>0>48){break s}Sf(b,a,a+2|0)}g=k?i+1|0:g}B:{if(D[b+73|0]){C:{if(C[b+96>>2]==C[b+92>>2]){d=C[b+84>>2];if((d|0)==C[b+76>>2]){break C}}if(!$e(b,1,1)){break B}e=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[e+4>>2];a=C[b+96>>2]+I(C[b+84>>2],20)|0;C[a>>2]=C[e>>2];C[a+4>>2]=d;C[a+16>>2]=C[e+16>>2];d=C[e+12>>2];C[a+8>>2]=C[e+8>>2];C[a+12>>2]=d;d=C[b+84>>2]}C[b+84>>2]=d+1}C[b+76>>2]=C[b+76>>2]+1}d=0;break b}g=i+1|0;d=3}if((d|0)!=2){continue}}break}gh(b);Ce=h+32|0}function lD(a){a=a|0;var 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=C[a+28>>2];if(o){h=D[a+63|0];q=C[a+36>>2];r=C[a+16>>2];p=C[C[C[a+40>>2]+4>>2]+4>>2];d=C[a+24>>2];s=d&3;t=(d+3|0)/4|0;l=C[a>>2];e=C[a+20>>2];b=C[a+44>>2];n=D[b+9|0];m=n-1|0;while(1){o=o-1|0;a=t;a:{b:{switch(s-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=(D[l|0]<<2)+p|0;i=D[d+2|0];j=D[d+1|0];k=D[d|0];d=0;f=0;g=0;c=0;e:{f:{switch(m|0){case 0:c=D[e|0];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break e;case 3:break f;default:break e}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;g:{h:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break g;case 3:break h;default:break g}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break i;case 3:break j;default:break i}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;k:{l:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break k;case 3:break l;default:break k}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break m;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break m;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break m;case 3:break n;default:break m}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;o:{p:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break o;case 3:break p;default:break o}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break q;case 1:c=E[e>>1];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break q;case 2:f=D[(D[b+34|0]>>>3|0)+e|0];g=D[(D[b+33|0]>>>3|0)+e|0];c=D[(D[b+32|0]>>>3|0)+e|0];d=255;break q;case 3:break r;default:break q}}c=C[e>>2];d=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];f=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}d=(d+h|0)-((I(d,h)>>>0)/255|0)&255;i=((I(i-f|0,h)|0)/255|0)+f|0;f=i&255;j=((I(j-g|0,h)|0)/255|0)+g|0;g=j&255;k=((I(k-c|0,h)|0)/255|0)+c|0;c=k&255;s:{t:{switch(m|0){case 0:A[e|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+e|0]=k;A[(D[b+33|0]>>>3|0)+e|0]=j;A[(D[b+34|0]>>>3|0)+e|0]=i;break s;case 3:break t;default:break s}}C[e>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];C[a+40>>2]=E[b+68>>1];if(!Km(b)){c=C[b+100>>2];p(g+3216|4,0,2996);C[g+3216>>2]=c;C[a+1624>>2]=0;C[a+52>>2]=0;j=C[(C[C[a>>2]+8>>2]<<2)+206096>>2];e=C[j+8>>2];c=0;d=C[C[a+36>>2]>>2];a:{if(!d){break a}d=C[d+92>>2];if(!d){break a}c=Fe[C[C[d+12>>2]+12>>2]](d,e)|0}b:{c:{if(c){break c}d=C[j+12>>2];if(!d){break b}e=0;c=C[C[a+36>>2]>>2];d:{if(!c){break d}c=C[c+92>>2];if(!c){break d}e=Fe[C[C[c+12>>2]+12>>2]](c,d)|0}c=e;if(c){break c}e=C[j+16>>2];if(!e){break b}d=0;c=C[C[a+36>>2]>>2];e:{if(!c){break e}c=C[c+92>>2];if(!c){break e}d=Fe[C[C[c+12>>2]+12>>2]](c,e)|0}c=d;if(!c){break b}}if($h(b,c,1)){break b}e=C[b+84>>2];if(B[e+110>>1]<=0){break b}d=g+16|0;p(d,0,3188);c=C[a+40>>2];C[g+24>>2]=65536;C[g+28>>2]=65536;C[g+56>>2]=c;C[g+20>>2]=b;C[g+6196>>2]=0;C[g+6204>>2]=d;if(gl(g+3216|0,e+108|0)){break b}if(mk(g+3216|0,0)){break b}fl(g+3216|0,0,0,0);d=C[g+3260>>2];if((d|0)>0){c=C[g+3268>>2];e=c+I(d,48)|0;while(1){d=C[c+20>>2];if(!(!d|C[d+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=d>>>0))){d=B[c+2>>1]-B[d+2>>1]|0;j=d>>31;C[(I(h,12)+a|0)+56>>2]=(d^j)-j;h=h+1|0}c=c+48|0;if(e>>>0>c>>>0){continue}break}}C[g+12>>2]=h;Um(g+12|0,a+56|0,F[g+56>>2]/100|0);C[a+52>>2]=C[g+12>>2];if(mk(g+3216|0,1)){break b}h=0;fl(g+3216|0,0,0,1);d=C[g+4728>>2];if((d|0)>0){c=C[g+4736>>2];e=c+I(d,48)|0;while(1){d=C[c+20>>2];if(!(!d|C[d+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=d>>>0))){d=B[c+2>>1]-B[d+2>>1]|0;j=d>>31;C[(I(h,12)+a|0)+1628>>2]=(d^j)-j;h=h+1|0}c=c+48|0;if(e>>>0>c>>>0){continue}break}}C[g+12>>2]=h;Um(g+12|0,a+1628|0,F[g+56>>2]/100|0);C[a+1624>>2]=C[g+12>>2]}if(C[a+52>>2]){c=C[a+56>>2]}else{c=(I(C[a+40>>2],50)|0)/2048|0}A[a+256|0]=0;C[a+252>>2]=c;C[a+248>>2]=(c|0)/5;if(C[a+1624>>2]){c=C[a+1628>>2]}else{c=(I(C[a+40>>2],50)|0)/2048|0}A[a+1828|0]=0;C[a+1824>>2]=c;C[a+1820>>2]=(c|0)/5;lq(g+3216|0);c=(C[C[a>>2]+12>>2]<<3)+204144|0;i=C[c>>2];if((i|0)!=759){while(1){H=c;J=i+203376|0;c=D[J|0];f:{if(!c){break f}s=0;r=0;while(1){i=c&255;J=J+1|0;if(c<<24>>24<0){d=i>>>0<240;c=i>>>0<224;e=c?1:d?2:3;i=(c?31:d?15:7)&i;h=0;c=J;while(1){i=D[c|0]&63|i<<6;c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}J=e+J|0}c=0;d=C[C[a+36>>2]>>2];g:{if(!d){break g}d=C[d+92>>2];if(!d){break g}c=Fe[C[C[d+12>>2]+12>>2]](d,i)|0}h:{if(!c){break h}if($h(b,c,1)){break h}y=C[b+84>>2];if(B[y+110>>1]<3){break h}i=0;m=B[y+108>>1];i:{if((m|0)<=0){break i}t=C[y+120>>2];n=C[y+112>>2];d=-1;u=0;v=0;f=0;j=0;while(1){q=B[t+(j<<1)>>1];j:{if((q|0)<=(f|0)){c=d;break j}k:{if(A[H+4|0]&1){l:{if(!((q-f|0)+1&1)){h=f;c=d;break l}c=C[((f<<3)+n|0)+4>>2];e=(d|0)<0|(c|0)>(i|0);i=e?c:i;h=f+1|0;c=e?f:d}if((f|0)==(q|0)){break k}while(1){e=c;l=C[((h<<3)+n|0)+4>>2];c=(c|0)<0|(l|0)>(i|0);k=c?h:e;w=h+1|0;e=C[((w<<3)+n|0)+4>>2];c=c?l:i;l=(k|0)<0|(e|0)>(c|0);i=l?e:c;c=l?w:k;h=h+2|0;if((q|0)!=(w|0)){continue}break}break k}m:{if(!((q-f|0)+1&1)){h=f;c=d;break m}c=C[((f<<3)+n|0)+4>>2];e=(d|0)<0|(c|0)<(i|0);i=e?c:i;h=f+1|0;c=e?f:d}if((f|0)==(q|0)){break k}while(1){e=c;l=C[((h<<3)+n|0)+4>>2];c=(c|0)<0|(l|0)<(i|0);k=c?h:e;w=h+1|0;e=C[((w<<3)+n|0)+4>>2];c=c?l:i;l=(k|0)<0|(e|0)<(c|0);i=l?e:c;c=l?w:k;h=h+2|0;if((q|0)!=(w|0)){continue}break}}d=(c|0)==(d|0);u=d?u:f;v=d?v:q;d=c}f=q+1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}if((c|0)<0){break i}K=C[(c<<3)+n>>2];j=c;z=C[y+116>>2];h=(D[z+c|0]&3)!=1?-1:c;t=h;n:{while(1){d=(j|0)>(u|0)?j-1|0:v;k=(d<<3)+n|0;e=C[k+4>>2]-i|0;f=e>>31;f=(e^f)-f|0;if(f>>>0>=6){e=C[k>>2]-K|0;k=e>>31;if((e^k)-k>>>0<=I(f,20)>>>0){break n}}e=(D[d+z|0]&3)==1;t=e?(t|0)<0?d:t:t;h=e?d:h;j=d;if((d|0)!=(c|0)){continue}break}j=c}d=c;o:{while(1){e=(d|0)<(v|0)?d+1|0:u;L=(e<<3)+n|0;f=C[L+4>>2]-i|0;k=f>>31;k=(f^k)-k|0;if(k>>>0>=6){f=C[L>>2]-K|0;l=f>>31;if((f^l)-l>>>0<=I(k,20)>>>0){break o}}d=(D[e+z|0]&3)==1;h=d?(h|0)<0?e:h:h;t=d?e:t;d=e;if((d|0)!=(c|0)){continue}break}d=c}O=E[H+4>>1];p:{q:{if(!(O&8)){break q}e=C[(d<<3)+n>>2]-C[(j<<3)+n>>2]|0;k=e>>31;f=C[a+40>>2];q=(f>>>0)/25|0;if(q>>>0<=(e^k)-k>>>0){break q}e=c;if(((d-j|0)+2|0)>(v-u|0)){break q}while(1){e=(e|0)>(u|0)?e-1|0:v;y=C[(e<<3)+n>>2];if((K|0)==(y|0)&(c|0)!=(e|0)){continue}break}if((c|0)==(e|0)){break h}w=f>>>2|0;M=0;k=d;c=d;e=0;f=0;while(1){if(!M){k=c;e=(D[c+z|0]&3)!=1?-1:c;f=e}c=(c|0)<(v|0)?c+1|0:u;M=0;x=(k<<3)+n|0;l=C[x+4>>2];m=i-l|0;o=m>>31;r:{if((o^m)-o>>>0>w>>>0){break r}G=(c<<3)+n|0;m=C[G+4>>2]-l|0;o=m>>31;N=(o^m)-o|0;s:{if(N>>>0<=5){G=C[G>>2];x=C[x>>2];m=G-x|0;o=m>>31;o=(o^m)-o|0;break s}G=C[G>>2];x=C[x>>2];m=G-x|0;o=m>>31;o=(o^m)-o|0;if(o>>>0<=I(N,20)>>>0){break r}}M=1;m=(D[c+z|0]&3)==1;e=m?(e|0)<0?c:e:e;f=m?c:f;if((x|0)<(G|0)^(y|0)<(K|0)|(o|0)<(q|0)){break r}h=I(N,20);while(1){c=(c|0)<(v|0)?c+1|0:u;d=C[((c<<3)+n|0)+4>>2]-l|0;i=d>>31;t:{if((d^i)-i>>>0<6){break t}d=C[L>>2]-x|0;i=d>>31;if(h>>>0<(d^i)-i>>>0){break t}d=(c|0)>(u|0)?c-1|0:v;break p}e=(D[c+z|0]&3)==1?(e|0)<0?c:e:e;f=c;if((c|0)!=(j|0)){continue}break}d=j;f=d;break p}if((c|0)!=(j|0)){continue}break}}k=j;e=h;f=t;l=i}u:{if((e|f)>=0){c=C[(f<<3)+n>>2]-C[(e<<3)+n>>2]|0;e=c>>31;if((c^e)-e>>>0>C[a+40>>2]>>>3>>>0){break u}}if((D[k+z|0]&3)==1&(D[d+z|0]&3)==1){break u}if(O&2){break h}C[(g+16|0)+(r<<2)>>2]=l;r=r+1|0;break h}i=l}C[(g+3216|0)+(s<<2)>>2]=i;s=s+1|0}c=D[J|0];if(c){continue}break}if(!(r|s)){break f}v:{if(r>>>0<2){break v}e=1;c=r-1|0;l=c&1;if((r|0)!=2){h=c&-2;j=0;while(1){i=C[(g+16|0)+(e<<2)>>2];c=e;while(1){d=c-1|0;k=(g+16|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+16|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}c=e+1|0;i=C[(g+16|0)+(c<<2)>>2];while(1){d=c-1|0;k=(g+16|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+16|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}e=e+2|0;j=j+2|0;if((h|0)!=(j|0)){continue}break}}if(!l){break v}f=C[(g+16|0)+(e<<2)>>2];while(1){c=e-1|0;j=(g+16|0)+(c<<2)|0;d=C[j>>2];if((d|0)<=(f|0)){break v}C[(g+16|0)+(e<<2)>>2]=d;C[j>>2]=f;e=c;if(c){continue}break}}w:{if(s>>>0<2){break w}e=1;c=s-1|0;l=c&1;if((s|0)!=2){h=c&-2;j=0;while(1){i=C[(g+3216|0)+(e<<2)>>2];c=e;while(1){d=c-1|0;k=(g+3216|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+3216|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}c=e+1|0;i=C[(g+3216|0)+(c<<2)>>2];while(1){d=c-1|0;k=(g+3216|0)+(d<<2)|0;f=C[k>>2];if((f|0)>(i|0)){C[(g+3216|0)+(c<<2)>>2]=f;C[k>>2]=i;c=d;if(c){continue}}break}e=e+2|0;j=j+2|0;if((h|0)!=(j|0)){continue}break}}if(!l){break w}f=C[(g+3216|0)+(e<<2)>>2];while(1){c=e-1|0;j=(g+3216|0)+(c<<2)|0;d=C[j>>2];if((d|0)<=(f|0)){break w}C[(g+3216|0)+(e<<2)>>2]=d;C[j>>2]=f;e=c;if(c){continue}break}}c=C[a+1832>>2];C[a+1832>>2]=c+1;d=I(c,28)+a|0;f=d+1848|0;j=d+1836|0;x:{y:{if(!s){c=C[(g+16|0)+(r<<1&-4)>>2];break y}c=C[(g+3216|0)+(s<<1&-4)>>2];if(!r){break y}C[j>>2]=c;e=C[(g+16|0)+(r<<1&-4)>>2];C[f>>2]=e;if((c|0)==(e|0)){h=E[H+4>>1];break x}h=E[H+4>>1];if((h^(c|0)>=(e|0))&1){break x}c=(c+e|0)/2|0;C[f>>2]=c;C[j>>2]=c;break x}C[f>>2]=c;C[j>>2]=c;h=E[H+4>>1]}d=d+1860|0;c=h<<1&6;C[d>>2]=c;if(!(h&4)){break f}C[d>>2]=c|8}c=H+8|0;i=C[H+8>>2];if((i|0)!=759){continue}break}}c=48;h=0;while(1){z:{d=c;c=0;e=C[C[a+36>>2]>>2];A:{if(!e){break A}e=C[e+92>>2];if(!e){break A}c=Fe[C[C[e+12>>2]+12>>2]](e,d)|0}B:{if(!c){break B}if(il(b,c,2051,g+3216|0)){break B}e=h&255;h=1;c=C[g+3216>>2];if(!e){Q=c;break B}if((c|0)==(Q|0)){break B}i=0;break z}i=1;c=d+1|0;if((c|0)!=58){continue}}break}A[a+32|0]=i}qj(b,P);Ce=g+10096|0;return 0}function Wv(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=J(0),E=J(0),F=0,H=J(0),K=0,L=J(0),M=J(0),N=J(0),O=J(0),P=0,Q=J(0);z=I(a,c);B=a-1>>1;v=b+1>>1;K=+J(J(6.2831854820251465)/J(b|0));P=pi(K);K=mh(K);a:{if((a|0)==1){break a}b:{if((d|0)<=0){break b}if(d>>>0>=4){m=d&-4;while(1){l=k<<2;G[l+i>>2]=G[g+l>>2];n=l|4;G[n+i>>2]=G[g+n>>2];n=l|8;G[n+i>>2]=G[g+n>>2];l=l|12;G[l+i>>2]=G[g+l>>2];k=k+4|0;q=q+4|0;if((m|0)!=(q|0)){continue}break}}l=d&3;if(!l){break b}while(1){m=k<<2;G[m+i>>2]=G[g+m>>2];k=k+1|0;o=o+1|0;if((l|0)!=(o|0)){continue}break}}c:{if((b|0)<2){break c}t=c&-4;n=c&3;m=0;r=c-1>>>0<3;q=1;while(1){m=m+z|0;d:{if((c|0)<=0){break d}l=0;k=m;if(!r){while(1){p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;l=l+4|0;if((t|0)!=(l|0)){continue}break}}l=0;if(!n){break d}while(1){p=k<<2;G[p+h>>2]=G[f+p>>2];k=a+k|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}q=q+1|0;if((q|0)!=(b|0)){continue}break}w=0-a|0;if((c|0)>=(B|0)){if((b|0)<2){break c}x=(a|0)<3;y=1;while(1){s=s+z|0;w=a+w|0;if(!x){k=w-1|0;p=2;n=s;while(1){n=n+2|0;l=k+2|0;if((c|0)>0){m=(l<<2)+j|0;q=(k<<2)+j|0;t=0;k=n;while(1){r=k<<2;u=r-4|0;o=u+f|0;A=h+u|0;u=f+r|0;G[A>>2]=J(G[q+4>>2]*G[o>>2])+J(G[m>>2]*G[u>>2]);G[h+r>>2]=J(G[q+4>>2]*G[u>>2])-J(G[o>>2]*G[m>>2]);k=a+k|0;t=t+1|0;if((t|0)!=(c|0)){continue}break}}k=l;p=p+2|0;if((p|0)<(a|0)){continue}break}}y=y+1|0;if((y|0)!=(b|0)){continue}break}break c}if((b|0)<2){break c}q=(a|0)<3;n=1;while(1){w=a+w|0;x=x+z|0;if((c|0)>0){m=w-1|0;r=x-a|0;p=0;while(1){o=2;k=m;r=a+r|0;l=r;if(!q){while(1){s=(l<<2)+4|0;t=s+f|0;A=h+s|0;s=(k<<2)+j|0;k=k+2|0;y=(k<<2)+j|0;l=l+2|0;u=l<<2;C=u+f|0;G[A>>2]=J(G[s+4>>2]*G[t>>2])+J(G[y>>2]*G[C>>2]);G[h+u>>2]=J(G[s+4>>2]*G[C>>2])-J(G[t>>2]*G[y>>2]);o=o+2|0;if((o|0)<(a|0)){continue}break}}p=p+1|0;if((p|0)!=(c|0)){continue}break}}n=n+1|0;if((n|0)!=(b|0)){continue}break}}w=I(b,z);if((c|0)<=(B|0)){if((b|0)<3){break a}t=(v|0)<=2?2:v;x=0;q=(a|0)<3;n=1;while(1){s=0;x=x+z|0;r=x;w=w-z|0;p=w;if((c|0)>0){while(1){j=2;k=p;l=r;if(!q){while(1){o=(l<<2)+4|0;m=o+h|0;A=f+o|0;o=(k<<2)+4|0;y=o+h|0;G[A>>2]=G[m>>2]+G[y>>2];A=f+o|0;l=l+2|0;o=l<<2;u=o+h|0;k=k+2|0;C=k<<2;F=C+h|0;G[A>>2]=G[u>>2]-G[F>>2];G[f+o>>2]=G[u>>2]+G[F>>2];G[f+C>>2]=G[y>>2]-G[m>>2];j=j+2|0;if((j|0)<(a|0)){continue}break}}p=a+p|0;r=a+r|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}n=n+1|0;if((t|0)!=(n|0)){continue}break}break a}if((b|0)<3){break a}n=(v|0)<=2?2:v;y=0;t=(a|0)<3;x=1;while(1){s=2;y=z+y|0;r=y;w=w-z|0;p=w;if(!t){while(1){p=p+2|0;r=r+2|0;if((c|0)>0){j=r-a|0;o=p-a|0;q=0;while(1){j=a+j|0;k=j<<2;m=k-4|0;l=m+h|0;A=f+m|0;o=a+o|0;m=o<<2;u=m-4|0;C=u+h|0;G[A>>2]=G[l>>2]+G[C>>2];A=f+u|0;u=h+k|0;F=h+m|0;G[A>>2]=G[u>>2]-G[F>>2];G[f+k>>2]=G[u>>2]+G[F>>2];G[f+m>>2]=G[C>>2]-G[l>>2];q=q+1|0;if((q|0)!=(c|0)){continue}break}}s=s+2|0;if((s|0)<(a|0)){continue}break}}x=x+1|0;if((n|0)!=(x|0)){continue}break}}e:{if((d|0)<=0){break e}j=0;k=0;if(d>>>0>=4){m=d&-4;o=0;while(1){l=k<<2;G[l+g>>2]=G[i+l>>2];n=l|4;G[n+g>>2]=G[i+n>>2];n=l|8;G[n+g>>2]=G[i+n>>2];l=l|12;G[l+g>>2]=G[i+l>>2];k=k+4|0;o=o+4|0;if((m|0)!=(o|0)){continue}break}}l=d&3;if(!l){break e}while(1){m=k<<2;G[m+g>>2]=G[i+m>>2];k=k+1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}}f:{if((b|0)<3){break f}p=(v|0)<=2?2:v;m=0;r=1;n=I(b,d);q=n;while(1){q=q-z|0;m=m+z|0;if((c|0)>0){k=m-a|0;l=q-a|0;j=0;while(1){k=a+k|0;s=k<<2;t=s+h|0;w=f+s|0;l=a+l|0;s=l<<2;o=s+h|0;G[w>>2]=G[t>>2]+G[o>>2];G[f+s>>2]=G[o>>2]-G[t>>2];j=j+1|0;if((j|0)!=(c|0)){continue}break}}r=r+1|0;if((p|0)!=(r|0)){continue}break}if((b|0)<3){break f}M=J(P);N=J(K);p=I(b-1|0,d);x=(v|0)<=2?2:v;w=(v|0)<=3?3:v;D=J(1);y=b>>>0<5;s=1;r=0;while(1){H=J(J(N*E)+J(D*M));D=J(J(N*D)-J(M*E));f=0;r=d+r|0;k=r;j=p;l=d;n=n-l|0;o=n;if((l|0)>0){while(1){G[(k<<2)+i>>2]=J(D*G[(l<<2)+g>>2])+G[(f<<2)+g>>2];G[(o<<2)+i>>2]=H*G[(j<<2)+g>>2];o=o+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}}if(!y){Q=J(-H);t=2;E=D;L=H;m=d;q=p;while(1){O=J(J(D*L)+J(H*E));E=J(J(D*E)+J(L*Q));o=0;q=q-d|0;f=q;m=d+m|0;k=m;l=n;j=r;if((d|0)>0){while(1){u=(j<<2)+i|0;G[u>>2]=J(E*G[(k<<2)+g>>2])+G[u>>2];u=(l<<2)+i|0;G[u>>2]=J(O*G[(f<<2)+g>>2])+G[u>>2];l=l+1|0;f=f+1|0;j=j+1|0;k=k+1|0;o=o+1|0;if((o|0)!=(d|0)){continue}break}}L=O;t=t+1|0;if((w|0)!=(t|0)){continue}break}}E=H;s=s+1|0;if((x|0)!=(s|0)){continue}break}if((b|0)<3){break f}j=(v|0)<=2?2:v;n=d&-2;t=d&1;m=0;q=1;while(1){m=d+m|0;g:{if((d|0)<=0){break g}f=0;k=m;l=0;if((d|0)!=1){while(1){r=f<<2;p=r+i|0;s=(k<<2)+g|0;G[p>>2]=G[s>>2]+G[p>>2];r=(r|4)+i|0;G[r>>2]=G[s+4>>2]+G[r>>2];f=f+2|0;k=k+2|0;l=l+2|0;if((n|0)!=(l|0)){continue}break}}if(!t){break g}f=(f<<2)+i|0;G[f>>2]=G[(k<<2)+g>>2]+G[f>>2]}q=q+1|0;if((j|0)!=(q|0)){continue}break}}o=I(a,b);h:{if((a|0)>=(c|0)){if((c|0)<=0){break h}q=a&-4;n=a&3;m=0;r=(a|0)<=0;p=a>>>0<4;d=0;t=0;while(1){i:{if(r){break i}g=0;f=d;k=t;if(!p){while(1){i=(k<<2)+e|0;j=(f<<2)+h|0;G[i>>2]=G[j>>2];G[i+4>>2]=G[j+4>>2];G[i+8>>2]=G[j+8>>2];G[i+12>>2]=G[j+12>>2];k=k+4|0;f=f+4|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}}l=0;if(!n){break i}while(1){G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+1|0;f=f+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}t=o+t|0;d=a+d|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}break h}if((a|0)<=0){break h}g=c&-4;d=c&3;i=0;j=(c|0)<=0;m=c-1>>>0<3;while(1){j:{if(j){break j}l=0;f=i;k=f;if(!m){while(1){G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;l=l+4|0;if((g|0)!=(l|0)){continue}break}}l=0;if(!d){break j}while(1){G[(k<<2)+e>>2]=G[(f<<2)+h>>2];k=k+o|0;f=a+f|0;l=l+1|0;if((d|0)!=(l|0)){continue}break}}i=i+1|0;if((i|0)!=(a|0)){continue}break}}p=I(b,z);g=a<<1;if((b|0)>=3){i=(v|0)<=2?2:v;n=c&-2;r=c&1;q=0;m=1;d=0;t=p;while(1){t=t-z|0;d=d+z|0;q=g+q|0;k:{if((c|0)<=0){break k}j=0;f=t;k=d;l=q;if((c|0)!=1){while(1){s=(l<<2)+e|0;G[s-4>>2]=G[(k<<2)+h>>2];G[s>>2]=G[(f<<2)+h>>2];l=l+o|0;s=(l<<2)+e|0;k=a+k|0;G[s-4>>2]=G[(k<<2)+h>>2];f=a+f|0;G[s>>2]=G[(f<<2)+h>>2];f=a+f|0;k=a+k|0;l=l+o|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!r){break k}j=(l<<2)+e|0;G[j-4>>2]=G[(k<<2)+h>>2];G[j>>2]=G[(f<<2)+h>>2]}m=m+1|0;if((i|0)!=(m|0)){continue}break}}l:{if((a|0)==1){break l}if((c|0)<=(B|0)){if((b|0)<3){break l}k=(v|0)<=2?2:v;s=0;y=0-a|0;l=(a|0)<3;b=1;x=0;while(1){n=0;p=p-z|0;d=p;x=x+z|0;t=x;s=g+s|0;m=s;y=g+y|0;q=y;if((c|0)>0){while(1){f=2;if(!l){while(1){r=(f+m<<2)+e|0;i=(f+t<<2)+h|0;v=i-4|0;j=(d+f<<2)+h|0;w=j-4|0;G[r-4>>2]=G[v>>2]+G[w>>2];B=((a-f|0)+q<<2)+e|0;G[B-4>>2]=G[v>>2]-G[w>>2];G[r>>2]=G[i>>2]+G[j>>2];G[B>>2]=G[j>>2]-G[i>>2];f=f+2|0;if((f|0)<(a|0)){continue}break}}d=a+d|0;t=a+t|0;m=m+o|0;q=o+q|0;n=n+1|0;if((n|0)!=(c|0)){continue}break}}b=b+1|0;if((k|0)!=(b|0)){continue}break}break l}if((b|0)<3){break l}m=(v|0)<=2?2:v;r=0;b=0-a|0;t=(a|0)<3;x=1;s=0;while(1){p=p-z|0;s=s+z|0;r=g+r|0;b=b+g|0;if(!t){v=a+b|0;n=2;while(1){if((c|0)>0){f=v-n|0;k=n+r|0;l=n+s|0;j=n+p|0;q=0;while(1){w=(k<<2)+e|0;d=(l<<2)+h|0;y=d-4|0;i=(j<<2)+h|0;B=i-4|0;G[w-4>>2]=G[y>>2]+G[B>>2];u=(f<<2)+e|0;G[u-4>>2]=G[y>>2]-G[B>>2];G[w>>2]=G[d>>2]+G[i>>2];G[u>>2]=G[i>>2]-G[d>>2];j=a+j|0;l=a+l|0;k=k+o|0;f=f+o|0;q=q+1|0;if((q|0)!=(c|0)){continue}break}}n=n+2|0;if((n|0)<(a|0)){continue}break}}x=x+1|0;if((m|0)!=(x|0)){continue}break}}}function su(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;k=Ce-336|0;Ce=k;n=h;p=i&65535;o=d;m=e&65535;u=(e^i)&-2147483648;s=i>>>16&32767;q=e>>>16&32767;a:{b:{if(s-32767>>>0>4294934529&q-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){r=d;u=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){r=h;u=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;u=2147450880;break a}u=u|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));r=b?0:r;u=b?2147450880:u;b=0;c=0;break a}if(!(f|h|(e|g))){u=u|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){d=!(m|o);i=d;j=d?b:o;d=d<<6;i=L(i?c:m);d=d+((i|0)==32?L(j)+32|0:i)|0;Hg(k+320|0,b,c,o,m,d-15|0);v=16-d|0;o=C[k+328>>2];m=C[k+332>>2];c=C[k+324>>2];b=C[k+320>>2]}if(e>>>0>65535){break b}d=!(n|p);h=d;i=d?f:n;d=d<<6;h=L(h?g:p);d=d+((h|0)==32?L(i)+32|0:h)|0;Hg(k+304|0,f,g,n,p,d-15|0);v=(d+v|0)-16|0;n=C[k+312>>2];p=C[k+316>>2];f=C[k+304>>2];g=C[k+308>>2]}e=p|65536;A=e;B=n;d=n;j=e<<15|d>>>17;e=d<<15|g>>>17;d=e;i=0-d|0;h=j;j=1963258675-(j+((d|0)!=0)|0)|0;Ag(k+288|0,d,h,0,0,i,j,0,0);d=C[k+296>>2];Ag(k+272|0,0-d|0,0-(C[k+300>>2]+((d|0)!=0)|0)|0,0,0,i,j,0,0);d=C[k+280>>2];i=d<<1|C[k+276>>2]>>>31;d=C[k+284>>2]<<1|d>>>31;Ag(k+256|0,i,d,0,0,e,h,0,0);j=C[k+264>>2];Ag(k+240|0,i,d,0,0,0-j|0,0-(C[k+268>>2]+((j|0)!=0)|0)|0,0,0);i=C[k+248>>2];j=i<<1|C[k+244>>2]>>>31;d=C[k+252>>2]<<1|i>>>31;Ag(k+224|0,j,d,0,0,e,h,0,0);i=C[k+232>>2];Ag(k+208|0,j,d,0,0,0-i|0,0-(C[k+236>>2]+((i|0)!=0)|0)|0,0,0);d=C[k+216>>2];i=d<<1|C[k+212>>2]>>>31;d=C[k+220>>2]<<1|d>>>31;Ag(k+192|0,i,d,0,0,e,h,0,0);j=C[k+200>>2];Ag(k+176|0,i,d,0,0,0-j|0,0-(C[k+204>>2]+((j|0)!=0)|0)|0,0,0);i=e;e=C[k+184>>2];d=h;n=e<<1|C[k+180>>2]>>>31;h=n-1|0;e=(C[k+188>>2]<<1|e>>>31)-!n|0;Ag(k+160|0,i,d,0,0,h,e,0,0);d=h;Ag(k+144|0,f<<15,g<<15|f>>>17,0,0,d,e,0,0);t=k+112|0;y=C[k+168>>2];h=C[k+172>>2];n=C[k+160>>2];i=C[k+152>>2];l=n+i|0;p=C[k+164>>2];j=p+C[k+156>>2]|0;j=i>>>0>l>>>0?j+1|0:j;i=j;j=(p|0)==(j|0)&l>>>0>>0|j>>>0

>>0;p=j+y|0;j=j>>>0>p>>>0?h+1|0:h;n=!i&l>>>0>1|(i|0)!=0;h=n+p|0;j=n>>>0>h>>>0?j+1|0:j;Ag(t,d,e,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);Ag(k+128|0,1-l|0,0-((l>>>0>1)+i|0)|0,0,0,d,e,0,0);J=(q-s|0)+v|0;e=C[k+116>>2];t=e;d=C[k+112>>2];j=e<<1|d>>>31;n=d<<1;q=j;d=j;h=C[k+140>>2];z=h;e=C[k+136>>2];j=h<<1|e>>>31;i=e<<1|C[k+132>>2]>>>31;h=i+n|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;e=d;d=d-(h>>>0<13927)|0;x=d;y=d;l=0;j=m|65536;K=j;M=o;d=o;j=j<<1|d>>>31;O=d<<1;P=j;E=j;d=mT(x,l,j,0);j=Ee;G=d;w=j;v=b<<1;d=c<<1|b>>>31;s=d;j=0;p=j;i=h-13927|0;x=(e|0)==(x|0)&i>>>0>>0|e>>>0>x>>>0;e=(e|0)==(q|0)&h>>>0>>0|e>>>0>>0;d=C[k+120>>2];h=C[k+124>>2]<<1|d>>>31;d=d<<1|t>>>31;j=h;l=z>>>31|0;d=l+d|0;j=d>>>0>>0?j+1|0:j;h=d;d=d+e|0;l=h>>>0>d>>>0?j+1|0:j;e=d;d=d+x|0;l=e>>>0>d>>>0?l+1|0:l;e=d-1|0;x=l-!d|0;q=0;j=mT(s,p,x,q);d=j+G|0;h=Ee+w|0;h=d>>>0>>0?h+1|0:h;t=(w|0)==(h|0)&d>>>0>>0|h>>>0>>0;j=0;z=e;N=c>>>31|0;D=N|o<<1;w=0;e=mT(e,j,D,w);o=e+d|0;j=Ee+h|0;l=0;j=e>>>0>o>>>0?j+1|0:j;n=j;d=(j|0)==(h|0)&d>>>0>o>>>0|h>>>0>j>>>0;e=d;d=d+t|0;l=e>>>0>d>>>0?1:l;e=mT(E,p,x,q);d=e+d|0;j=Ee+l|0;t=d;d=d>>>0>>0?j+1|0:j;e=mT(E,p,z,w);m=Ee;h=e;e=mT(D,w,x,q);l=h+e|0;j=Ee+m|0;j=e>>>0>l>>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&h>>>0>l>>>0|j>>>0>>0;m=t+e|0;d=d+j|0;d=m>>>0>>0?d+1|0:d;t=m;m=d;e=0;d=e+o|0;j=l+n|0;j=d>>>0>>0?j+1|0:j;e=j;h=(j|0)==(n|0)&d>>>0>>0|j>>>0>>0;j=m;l=h;h=h+t|0;j=l>>>0>h>>>0?j+1|0:j;H=h;l=j;t=d;m=d;o=e;G=i;d=mT(i,0,D,w);h=Ee;e=d;i=mT(y,r,s,r);d=d+i|0;j=Ee+h|0;j=d>>>0>>0?j+1|0:j;i=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=j;I=v&-2;e=mT(z,w,I,0);n=e+d|0;j=Ee+j|0;j=e>>>0>n>>>0?j+1|0:j;e=j;d=(j|0)==(h|0)&d>>>0>n>>>0|h>>>0>j>>>0;h=0;i=d+i|0;d=(i>>>0>>0?1:h)+o|0;j=l;m=i+m|0;d=m>>>0>>0?d+1|0:d;i=d;d=(d|0)==(o|0)&m>>>0>>0|d>>>0>>0;h=d;d=d+H|0;j=h>>>0>d>>>0?j+1|0:j;Q=d;t=j;d=mT(E,p,G,r);H=Ee;E=d;h=mT(x,q,I,r);d=d+h|0;j=Ee+H|0;o=d;p=mT(y,r,D,w);l=d+p|0;h=d>>>0>>0?j+1|0:j;d=h+Ee|0;d=l>>>0

>>0?d+1|0:d;q=l;j=mT(s,r,z,w);p=l+j|0;l=Ee+d|0;l=j>>>0>p>>>0?l+1|0:l;z=0;D=(d|0)==(l|0)&p>>>0>>0|d>>>0>l>>>0;j=(h|0)==(H|0)&o>>>0>>0|h>>>0>>0;d=(d|0)==(h|0)&o>>>0>q>>>0|d>>>0>>0;d=d+j|0;d=d+D|0;h=l;q=h+m|0;j=(d|z)+i|0;j=h>>>0>q>>>0?j+1|0:j;o=j;d=(i|0)==(j|0)&m>>>0>q>>>0|i>>>0>j>>>0;j=t;h=d;d=d+Q|0;j=h>>>0>d>>>0?j+1|0:j;z=d;i=j;d=mT(y,r,I,r);y=Ee;m=d;h=mT(s,r,G,r);d=d+h|0;j=Ee+y|0;j=d>>>0>>0?j+1|0:j;t=0;h=(j|0)==(y|0)&d>>>0>>0|j>>>0>>0;m=j;d=j+n|0;j=(h|t)+e|0;j=d>>>0>>0?j+1|0:j;h=j;m=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;j=p;p=0;n=p+d|0;l=h+j|0;j=0;l=n>>>0

>>0?l+1|0:l;d=(h|0)==(l|0)&d>>>0>n>>>0|h>>>0>l>>>0;e=d;d=d+m|0;j=(e>>>0>d>>>0?1:j)+o|0;l=i;e=d;d=d+q|0;j=e>>>0>d>>>0?j+1|0:j;e=j;h=(o|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=h;h=h+z|0;l=i>>>0>h>>>0?l+1|0:l;i=l;c:{if((l|0)==131071|l>>>0<131071){M=O|N;K=w|P;Ag(k+80|0,d,e,h,i,f,g,B,A);l=C[k+84>>2];p=l;j=b<<17;n=0;m=C[k+88>>2];c=n-m|0;b=C[k+80>>2];l=(l|b)!=0;o=c-l|0;m=(j-(C[k+92>>2]+(m>>>0>n>>>0)|0)|0)-(c>>>0>>0)|0;n=0-b|0;p=0-(((b|0)!=0)+p|0)|0;b=J+16382|0;break c}d=(e&1)<<31|d>>>1;e=h<<31|e>>>1;h=(i&1)<<31|h>>>1;i=i>>>1|0;Ag(k+96|0,d,e,h,i,f,g,B,A);o=C[k+100>>2];s=o;v=C[k+104>>2];n=0-v|0;l=C[k+96>>2];m=(o|l)!=0;o=n-m|0;m=((b<<16)-(C[k+108>>2]+(p>>>0>>0)|0)|0)-(m>>>0>n>>>0)|0;n=0-l|0;p=0-(((l|0)!=0)+s|0)|0;v=b;s=c;b=J+16383|0}if((b|0)>=32767){u=u|2147418112;b=0;c=0;break a}d:{if((b|0)>0){l=m<<1|o>>>31;o=o<<1|p>>>31;m=l;v=h;s=i&65535|b<<16;l=p<<1|n>>>31;i=n<<1;break d}if((b|0)<=-113){b=0;c=0;break a}ej(k- -64|0,d,e,h,i,1-b|0);Hg(k+48|0,v,s,M,K,b+112|0);d=C[k+64>>2];e=C[k+68>>2];v=C[k+72>>2];s=C[k+76>>2];Ag(k+32|0,f,g,B,A,d,e,v,s);b=C[k+40>>2];c=C[k+56>>2];l=C[k+36>>2];o=b<<1|l>>>31;n=c-o|0;m=C[k+60>>2]-((C[k+44>>2]<<1|b>>>31)+(c>>>0>>0)|0)|0;b=C[k+32>>2];h=l<<1|b>>>31;j=b<<1;i=C[k+52>>2];c=C[k+48>>2];b=(h|0)==(i|0)&j>>>0>c>>>0|h>>>0>i>>>0;o=n-b|0;m=m-(b>>>0>n>>>0)|0;l=i-((c>>>0>>0)+h|0)|0;i=c-j|0}b=i;Ag(k+16|0,f,g,B,A,3,0,0,0);Ag(k,f,g,B,A,5,0,0,0);c=0;h=l+c|0;j=d&1;b=b+j|0;h=i>>>0>b>>>0?h+1|0:h;i=b;g=(g|0)==(h|0)&b>>>0>f>>>0|g>>>0>>0;l=m;b=(c|0)==(h|0)&b>>>0>>0|c>>>0>h>>>0;f=b+o|0;l=b>>>0>f>>>0?l+1|0:l;j=e;b=(l|0)==(A|0);b=b&(f|0)==(B|0)?g:b&f>>>0>B>>>0|l>>>0>A>>>0;c=b;b=b+d|0;j=c>>>0>b>>>0?j+1|0:j;c=j;d=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;j=s;e=d;d=d+v|0;j=e>>>0>d>>>0?j+1|0:j;g=d;e=C[k+20>>2];m=(e|0)==(h|0)&F[k+16>>2]>>0|e>>>0>>0;e=C[k+28>>2];d=C[k+24>>2];e=j>>>0<2147418112&((d|0)==(f|0)&(e|0)==(l|0)?m:(e|0)==(l|0)&d>>>0>>0|e>>>0>>0);d=c;m=e;e=b+e|0;d=m>>>0>e>>>0?d+1|0:d;b=(c|0)==(d|0)&b>>>0>e>>>0|c>>>0>d>>>0;c=b;b=b+g|0;j=c>>>0>b>>>0?j+1|0:j;g=b;c=C[k+4>>2];h=(c|0)==(h|0)&F[k>>2]>>0|c>>>0>>0;c=C[k+12>>2];b=C[k+8>>2];b=j>>>0<2147418112&((b|0)==(f|0)&(c|0)==(l|0)?h:(c|0)==(l|0)&b>>>0>>0|c>>>0>>0);c=b;b=b+e|0;l=c>>>0>b>>>0?d+1|0:d;c=l;e=(d|0)==(l|0)&b>>>0>>0|d>>>0>l>>>0;d=j;f=e;e=e+g|0;d=f>>>0>e>>>0?d+1|0:d;r=e|r;u=d|u}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=r;C[a+12>>2]=u;Ce=k+336|0}function xn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ce-1472|0;Ce=e;a:{b:{if((a|0)>=0){if((Fe[C[95601]]()|0)>(a|0)){break b}}k=e,l=Fe[C[95601]]()|0,C[k>>2]=l;Qe(18003,e);break a}b=Ce-16|0;Ce=b;c:{d:{if((a|0)>=0){d=Fe[C[95601]]()|0;if((d|0)>(a|0)){break d}}C[b>>2]=d;Qe(18003,b);i=0;break c}i=Fe[C[95603]](a)|0}Ce=b+16|0;d=0;b=Ce-16|0;Ce=b;f=e+272|0;e:{f:{if((a|0)<0){break f}d=Fe[C[95601]]()|0;if((d|0)<=(a|0)){break f}Fe[C[95607]](f,a);break e}C[b>>2]=d;Qe(18003,b);mf(f,0,16)}Ce=b+16|0;b=D[e+284|0]|D[e+285|0]<<8|(D[e+286|0]<<16|D[e+287|0]<<24);C[e+56>>2]=D[e+280|0]|D[e+281|0]<<8|(D[e+282|0]<<16|D[e+283|0]<<24);C[e+60>>2]=b;b=D[e+276|0]|D[e+277|0]<<8|(D[e+278|0]<<16|D[e+279|0]<<24);C[e+48>>2]=D[e+272|0]|D[e+273|0]<<8|(D[e+274|0]<<16|D[e+275|0]<<24);C[e+52>>2]=b;b=e+48|0;f=0;c=Ce-1216|0;Ce=c;d=C[104866];g:{if(d){while(1){if(!sg(b,d,16)){f=d;break g}d=C[d+28>>2];if(d){continue}break}}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+144>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+148>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+136>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+140>>2]=d;h:{i:{j:{if(D[c+150|0]==104){d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+168>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+172>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+160>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+164>>2]=d;pf(c+176|0,32166,1024);b=C[c+172>>2];C[c+128>>2]=C[c+168>>2];C[c+132>>2]=b;b=C[c+164>>2];C[c+120>>2]=C[c+160>>2];C[c+124>>2]=b;b=c+158|0;d=c+156|0;k:{if(!(E[c+130>>1]|(E[c+122>>1]|E[c+126>>1]))){if(b){B[b>>1]=E[c+124>>1]}if(d){B[d>>1]=E[c+128>>1]}break k}if(b){B[b>>1]=0}if(d){B[d>>1]=0}}d=31532;b=E[c+158>>1];f=E[c+156>>1];if((b|0)==1406&(f|0)==823|(b|0)==121&(f|0)==6214){break i}l:{if((b|0)!=1406){break l}d=30393;m:{switch(D[c+175|0]){case 11:d=31687;break i;case 12:d=31089;break i;case 13:d=30973;break i;case 9:case 10:break i;case 0:case 3:break l;default:break m}}d=32062;break i}_i(c+176|0,31842);f=1;d=E[c+158>>1];b=E[c+156>>1];n:{if((d|0)==1118&(b&65534)==2834){break n}o:{if((d|0)!=8406){if((d|0)!=3695){break o}h=b-726|0;if(h>>>0>4|!(1<>>0<26|(b-16385&65535)>>>0<2){break n}}f=(d|0)==11720&(b|0)==8194}if(f){d=31274;break i}d=30344;b=E[c+156>>1];p:{q:{if(E[c+158>>1]!=1118){break q}f=1;r:{switch(b-2816|0){case 0:case 5:break p;case 1:case 2:case 3:case 4:break q;default:break r}}if((b|0)==739){break p}}f=0}if(f){break i}d=30948;if((_y(E[c+158>>1],E[c+156>>1])&-2)==2){break i}if(E[c+158>>1]==1406&E[c+156>>1]==8200){d=31274;break i}b=C[c+172>>2];C[c+112>>2]=C[c+168>>2];C[c+116>>2]=b;b=C[c+164>>2];C[c+104>>2]=C[c+160>>2];C[c+108>>2]=b;d=0;b=D[c+114|0]|D[c+115|0]<<8|(D[c+106|0]|D[c+107|0]<<8|(D[c+110|0]|D[c+111|0]<<8));f=(b?0:D[c+108|0]|D[c+109|0]<<8)&65535;b=(b?0:D[c+112|0]|D[c+113|0]<<8)&65535;s:{t:{if(!(f|b)|(f|0)==1&(b|0)==1){break t}d=2;if((f|0)==1118&(b|0)==766){break t}if(!((f|0)!=6473&(f|0)!=369)){d=8;if((b|0)==1049){break t}}if((f|0)==6353){d=9;if((b|0)==37888){break t}}d=11;h=(f|0)!=1406;if(!h&(b|0)==8198){break t}g=12;if(!((b|0)!=8199|h)){break s}d=(f|0)!=1406;g=12;if(!(d|(b|0)!=8206)){break s}if(!d){d=13;if((b|0)==8200){break t}}if((f|0)==2389){d=10;if((b|0)==29204){break t}}d=0;u:{switch(_y(f,b)-31|0){case 0:g=1;break s;case 1:g=2;break s;case 2:g=3;break s;case 3:g=4;break s;case 14:g=7;break s;case 15:g=4;break s;case 7:case 11:g=5;break s;case 13:break u;default:break t}}d=5}g=d}b=g;v:{if(b){d=b;break v}d=2;w:{switch(D[c+118|0]-118|0){default:d=b;break v;case 0:d=6;break;case 2:break w}}}b=d-4|0;if(b>>>0>=7|!(123>>>b&1)){break j}d=C[(b<<2)+171992>>2];break i}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+80>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+84>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+72>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+76>>2]=d;if(D[c+86|0]==114){d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+168>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+172>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+160>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+164>>2]=d;b=c+176|0;pf(b,32166,1024);_i(b,30710);f=C[c+172>>2];d=c- -64|0;C[d>>2]=C[c+168>>2];C[d+4>>2]=f;d=C[c+164>>2];C[c+56>>2]=C[c+160>>2];C[c+60>>2]=d;f=vk(c+56|0,b,c+1212|0,0);break g}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+48>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+52>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+40>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+44>>2]=d;if(D[c+54|0]==119){d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+168>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+172>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+160>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+164>>2]=d;if(D[c+175|0]!=1){break g}b=c+176|0;pf(b,32166,1024);_i(b,30498);d=C[c+172>>2];C[c+32>>2]=C[c+168>>2];C[c+36>>2]=d;d=C[c+164>>2];C[c+24>>2]=C[c+160>>2];C[c+28>>2]=d;f=vk(c+24|0,b,c+1212|0,0);break g}d=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);C[c+16>>2]=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);C[c+20>>2]=d;d=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);C[c+8>>2]=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[c+12>>2]=d;break g}d=31274;if(E[c+158>>1]|E[c+156>>1]){break h}}_i(c+176|0,d)}b=C[c+172>>2];C[c+96>>2]=C[c+168>>2];C[c+100>>2]=b;b=C[c+164>>2];C[c+88>>2]=C[c+160>>2];C[c+92>>2]=b;f=vk(c+88|0,c+176|0,c+1212|0,0)}Ce=c+1216|0;d=f?f:C[104874];if(d){break a}f=e- -64|0;mf(f,0,208);d=0;b=Ce-16|0;Ce=b;x:{y:{if((a|0)>=0){d=Fe[C[95601]]()|0;if((d|0)>(a|0)){break y}}C[b>>2]=d;Qe(18003,b);a=0;break x}a=Fe[C[95619]](a,f)|0}Ce=b+16|0;z:{if(!a){break z}a=D[e+284|0]|D[e+285|0]<<8|(D[e+286|0]<<16|D[e+287|0]<<24);C[e+296>>2]=D[e+280|0]|D[e+281|0]<<8|(D[e+282|0]<<16|D[e+283|0]<<24);C[e+300>>2]=a;a=D[e+276|0]|D[e+277|0]<<8|(D[e+278|0]<<16|D[e+279|0]<<24);C[e+288>>2]=D[e+272|0]|D[e+273|0]<<8|(D[e+274|0]<<16|D[e+275|0]<<24);C[e+292>>2]=a;a=e+1328|0;pf(a,i,128);while(1){b=D[a|0];A:{if((b|0)!=44){if(b){break A}C[e+32>>2]=e+1328;a=e+304|0;rf(a,1024,30335,e+32|0);eg(a,22170,e- -64|0);eg(a,21845,e+72|0);eg(a,1771,e+80|0);eg(a,1601,e+88|0);eg(a,14500,e+96|0);eg(a,18768,e+104|0);eg(a,3686,e+112|0);eg(a,14182,e+120|0);eg(a,14171,e+128|0);eg(a,11057,e+136|0);eg(a,11043,e+144|0);eg(a,11259,e+152|0);eg(a,11823,e+160|0);eg(a,4434,e+168|0);eg(a,4323,e+176|0);eg(a,29678,e+184|0);eg(a,29670,e+192|0);eg(a,29520,e+200|0);eg(a,29483,e+208|0);eg(a,29239,e+216|0);eg(a,1621,e+224|0);eg(a,1049,e+232|0);eg(a,1614,e+240|0);eg(a,1042,e+248|0);eg(a,10820,e+256|0);eg(a,10807,e+264|0);a=af(a);B:{if((a|0)<=0){break B}a=a+e|0;if(D[a+303|0]!=44){break B}A[a+303|0]=0}a=C[e+300>>2];C[e+24>>2]=C[e+296>>2];C[e+28>>2]=a;a=C[e+292>>2];C[e+16>>2]=C[e+288>>2];C[e+20>>2]=a;j=vk(e+16|0,e+304|0,e+1468|0,0);break z}A[a|0]=32}a=a+1|0;continue}}d=j}Ce=e+1472|0;return d}function NG(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,k=0,l=0,m=0,n=0;i=C[c+92>>2];k=39;g=1;a=0;m=C[c+80>>2];b=!m;while(1){a:{b:{c:{if(!b){a=D[k+68816|0]==10?h:a;d=k<<1;f=B[d+67776>>1]+66416|0;b=A[k+68064|0];k=D[(I(h,20)+i|0)+18|0];j=D[d+66128|0];if(k>>>0>=j>>>0){b=k>>>0>D[d+66129|0]?b:k-j|0}b=D[b+f|0];break c}if((k|0)==39){break b}h=m;b=B[(k<<1)+68528>>1]-1|0}k=D[b+68208|0];b=A[b+68368|0];d:{if(!b){break d}e:{switch(b-1|0){case 1:e=h+1|0;break d;case 10:e=h+1|0;f:{if(e>>>0<=a>>>0){break f}f=g<<4|5;d=a;j=h-d|0;n=j+1&7;if(n){b=0;while(1){A[(I(d,20)+i|0)+15|0]=f;d=d+1|0;b=b+1|0;if((n|0)!=(b|0)){continue}break}}if(j>>>0<=6){break f}while(1){b=I(d,20)+i|0;A[b+35|0]=f;A[b+15|0]=f;A[b+55|0]=f;A[b+75|0]=f;A[b+95|0]=f;A[b+115|0]=f;A[b+135|0]=f;A[b+155|0]=f;b=d+7|0;d=d+8|0;if((b|0)!=(h|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 12:g:{if(a>>>0>=h>>>0){break g}b=g<<4;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break g}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 13:h:{if(a>>>0>=h>>>0){break h}b=g<<4|1;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break h}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 16:i:{if(a>>>0>=h>>>0){break i}b=g<<4|2;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break i}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 18:j:{if(a>>>0>=h>>>0){break j}b=g<<4|3;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break j}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 14:k:{if(a>>>0>=h>>>0){break k}b=g<<4|4;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break k}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 15:l:{if(a>>>0>=h>>>0){break l}b=g<<4|5;d=a;f=h-d&7;if(f){e=0;while(1){A[(I(d,20)+i|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+h>>>0<=6){break l}while(1){e=I(d,20)+i|0;A[e+35|0]=b;A[e+15|0]=b;A[e+55|0]=b;A[e+75|0]=b;A[e+95|0]=b;A[e+115|0]=b;A[e+135|0]=b;A[e+155|0]=b;d=d+8|0;if((h|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}e=h;h=e-1|0;break d;case 0:h=e-1|0;m:{if(a>>>0>=e>>>0){break m}f=g<<4;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 2:h=e-1|0;n:{if(a>>>0>=e>>>0){break n}f=g<<4|1;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break n}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 6:h=e-1|0;o:{if(a>>>0>=e>>>0){break o}f=g<<4|2;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 7:h=e-1|0;p:{if(a>>>0>=e>>>0){break p}f=g<<4|3;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 3:h=e-1|0;q:{if(a>>>0>=e>>>0){break q}f=g<<4|4;b=a;j=e-b&7;if(j){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break q}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 5:r:{switch(l-1|0){case 0:h=e-1|0;s:{if(a>>>0>=e>>>0){break s}f=g<<4;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break s}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=1;g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 4:h=e-1|0;t:{if(a>>>0>=e>>>0){break t}f=g<<4|4;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break t}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=5;g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 5:break r;default:break d}}h=e-1|0;u:{if(a>>>0>=e>>>0){break u}f=g<<4|5;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break u}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=6;g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 17:l=1;e=h+1|0;break d;case 4:e=h+1|0;l=5;break d;case 11:break e;default:break d}}e=h+1|0;l=6}a=D[k+68960|0]!=9?a:0;h=h+1|0;if((m|0)!=(h|0)){break a}b=1;continue}a=C[c+80>>2];v:{if(!a){break v}b=a-1|0;h=0;d=C[c+92>>2];e=D[d+15|0];while(1){w:{if((b|0)==(h|0)){h=a;break w}h=h+1|0;if((e|0)==D[(d+I(h,20)|0)+15|0]){continue}}break}if(!a){break v}k=0;g=a;while(1){b=h;if(b-k>>>0>=2){Sf(c,k,b);g=C[c+80>>2]}d=b+1|0;d=d>>>0>>0?g:d;e=d-1|0;k=C[c+92>>2];m=D[(k+I(b,20)|0)+15|0];while(1){x:{if((e|0)==(h|0)){h=d;break x}h=h+1|0;if((m|0)==D[(k+I(h,20)|0)+15|0]){continue}}break}k=b;if(b>>>0>>0){continue}break}}return}b=0;continue}}function rx(a,b,c,d,e){var 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;k=Ce-48|0;Ce=k;d=bf(b,c+d|0);a:{if(d){break a}d=Cf(b,e);if(d){break a}b:{c:{if(!e){break c}g=C[b+32>>2];j=g+e|0;if(A[g|0]<0){o=C[a+16>>2];n=C[a+28>>2];C[k>>2]=0;d=8;if((e|0)<=0){break b}h=A[g|0];if((h|0)>=0){break b}f=g+1|0;m=C[n>>2];i=h&255;d:{if(!(i&8)){e=f;break d}if(e>>>0<2){break b}e=g+2|0;h=D[f|0];if(!h){break d}while(1){f=e+2|0;if(f>>>0>j>>>0){break b}e=f+D[e|0]|0;if(j>>>0>>0){break b}h=h-1|0;if(h){continue}break}}r=i&63;f=r+o|0;h=C[a+20>>2];e:{if(f>>>0<=h>>>0){h=C[a+24>>2];break e}f=f+3&-4;if(f>>>0>64){break b}h=Ve(m,24,h,f,C[a+24>>2],k);C[a+24>>2]=h;d=C[k>>2];if(d){break b}C[a+20>>2]=f}if(r){h=I(o,24)+h|0;d=8;while(1){f=e+1|0;if(j>>>0>>0){break b}i=D[e|0];C[h>>2]=65536;if(i&16){f=e+3|0;if(j>>>0>>0){break b}e=D[e+1|0]|D[e+2|0]<<8;C[h>>2]=(e<<8|e>>>8)<<16>>16<<4}C[h+4>>2]=65536;f:{if(!(i&32)){e=f;break f}e=f+2|0;if(j>>>0>>0){break b}f=D[f|0]|D[f+1|0]<<8;C[h+4>>2]=(f<<8|f>>>8)<<16>>16<<4}m=0;f=0;g:{h:{switch((i&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=D[e|0]|D[e+1|0]<<8;f=(e<<8|e>>>8)<<16>>16;e=g;break g;case 1:break h;default:break g}}g=e+1|0;if(g>>>0>j>>>0){break b}f=A[e|0];e=g}i:{j:{switch((i>>>2&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=D[e|0]|D[e+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=g;break i;case 1:break j;default:break i}}g=e+1|0;if(g>>>0>j>>>0){break b}m=A[e|0];e=g}C[h+12>>2]=m;C[h+8>>2]=f;k:{if(i&64){f=e+2|0;if(j>>>0>>0){break b}e=D[e+1|0]|D[e|0]<<8;break k}f=e+1|0;if(j>>>0>>0){break b}e=D[e|0]}C[h+20>>2]=e;l:{if(i<<24>>24<0){e=f+3|0;if(j>>>0>>0){break b}l=D[f+1|0]<<8|D[f|0]<<16;g=2;break l}e=f+2|0;if(j>>>0>>0){break b}l=D[f|0]<<8;g=1}C[h+16>>2]=D[f+g|0]|l;C[a+16>>2]=C[a+16>>2]+1;h=h+24|0;q=q+1|0;if((r|0)!=(q|0)){continue}break}}xf(b);d=0;e=C[a+16>>2];if((e|0)==(o|0)){break a}j=e-o|0;m=0;while(1){h=B[n+22>>1];g=I(m,24);e=I(o,24);d=g+(e+C[a+24>>2]|0)|0;d=rx(a,b,c,C[d+16>>2],C[d+20>>2]);if(d){break a}i=B[n+22>>1];f=i-h|0;e=g+(e+C[a+24>>2]|0)|0;m:{if(!(C[e>>2]==65536&C[e+4>>2]==65536)){if((f|0)<=0){break m}d=C[n+24>>2]+(h<<3)|0;h=0;while(1){t=d,u=Te(C[d>>2],C[e>>2])+C[e+8>>2]|0,C[t>>2]=u;t=d,u=Te(C[d+4>>2],C[e+4>>2])+C[e+12>>2]|0,C[t+4>>2]=u;d=d+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}break m}if((f|0)<=0){break m}d=C[n+24>>2]+(h<<3)|0;g=C[e+12>>2];e=C[e+8>>2];if(i+(h^-1)>>>0>=3){i=f&-4;h=0;while(1){C[d>>2]=e+C[d>>2];C[d+4>>2]=g+C[d+4>>2];C[d+8>>2]=e+C[d+8>>2];C[d+16>>2]=e+C[d+16>>2];C[d+24>>2]=e+C[d+24>>2];C[d+12>>2]=g+C[d+12>>2];C[d+20>>2]=g+C[d+20>>2];C[d+28>>2]=g+C[d+28>>2];d=d+32|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}h=0;f=f&3;if(!f){break m}while(1){C[d>>2]=e+C[d>>2];C[d+4>>2]=g+C[d+4>>2];d=d+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}d=0;m=m+1|0;if((j|0)!=(m|0)){continue}break}break a}C[k+44>>2]=0;d=8;if((e|0)<=0){break b}c=A[g|0];if((c|0)<0){break b}i=C[C[a+28>>2]>>2];l=c&255;n:{if(l&4){if(e>>>0<2){break b}f=g+2|0;c=D[g+1|0];q=c>>>4|0;m=c&15;break n}if(l&2){if(e>>>0<2){break b}m=D[g+1|0];c=g+2|0}else{c=g+1|0}if(!(l&1)){f=c;break n}f=c+1|0;if(j>>>0>>0){break b}q=D[c|0]}g=m+q|0;c=C[a+4>>2];o:{p:{if(g>>>0>c>>>0){d=c;c=g+7&1016;i=Ve(i,4,d,c,C[a+8>>2],k+44|0);C[a+8>>2]=i;d=C[k+44>>2];if(d){break b}C[a+4>>2]=c;C[a+12>>2]=(m<<2)+i;o=a+12|0;break p}i=C[a+8>>2];C[a+12>>2]=i+(m<<2);o=a+12|0;if(!g){break o}}c=0;d=0;while(1){q:{if(d&7){e=f;break q}e=f+1|0;if(j>>>0>>0){break c}c=D[f|0]}n=(d<<2)+i|0;r:{if(c&1){f=e+2|0;if(j>>>0>>0){break c}e=D[e|0]|D[e+1|0]<<8;h=(e<<8|e>>>8)<<16>>16;break r}f=e+1|0;if(j>>>0>>0){break c}h=D[e|0]+h|0}C[n>>2]=h;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;s:{if(!(l&8)){c=f;break s}c=f+1|0;if(j>>>0>>0){break b}e=D[f|0];if(e){while(1){f=c+2|0;if(f>>>0>j>>>0){break b}c=f+D[c|0]|0;if(j>>>0>>0){break b}e=e-1|0;if(e){continue}break}}C[k+44>>2]=0}A[a+32|0]=0;C[k+24>>2]=0;C[k+28>>2]=0;C[k>>2]=0;C[k+4>>2]=0;n=k+16|0;r=k|8;f=0;h=0;while(1){g=c+1|0;if(g>>>0>j>>>0){break c}c=D[c|0];e=c&15;i=1;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{p=c>>>4|0;switch(p|0){case 0:break w;case 1:case 4:case 5:break x;case 7:break z;case 6:break A;case 3:break C;case 2:break D;default:break y}}if(e>>>0>=m>>>0){break c}C[k>>2]=C[C[a+8>>2]+(e<<2)>>2];break B}if(e>>>0>=q>>>0){break c}C[k>>2]=h;f=C[C[o>>2]+(e<<2)>>2]}C[k+4>>2]=f;f=C[k+4>>2];h=C[k>>2];C[k+24>>2]=h;C[k+28>>2]=f;c=g;break v}e=2958;i=3;break x}e=3627;i=3;break x}i=4}d=k;l=0;c=g;while(1){E:{F:{switch(e&3){case 0:g=c+1|0;if(g>>>0>j>>>0){break c}c=D[c|0];if(c>>>0>=m>>>0){break c}h=C[C[a+8>>2]+(c<<2)>>2];c=g;break E;case 1:g=c+2|0;if(g>>>0>j>>>0){break c}c=D[c|0]|D[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16;c=g;break E;case 2:break F;default:break E}}g=c+1|0;if(g>>>0>j>>>0){break c}h=A[c|0]+h|0;c=g}C[d>>2]=h;G:{H:{switch(e>>>2&3){case 0:h=c+1|0;if(h>>>0>j>>>0){break c}c=D[c|0];if(c>>>0>=q>>>0){break c}f=C[C[o>>2]+(c<<2)>>2];c=h;break G;case 1:h=c+2|0;if(h>>>0>j>>>0){break c}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=h;break G;case 2:break H;default:break G}}h=c+1|0;if(h>>>0>j>>>0){break c}f=A[c|0]+f|0;c=h}C[d+4>>2]=f;I:{if(!((i|0)!=4|l)){f=c+1|0;if(f>>>0>j>>>0){break c}e=D[c|0];i=3;c=f;break I}e=e>>>4|0}f=C[d+4>>2];h=C[d>>2];C[k+24>>2]=h;C[k+28>>2]=f;d=d+8|0;l=l+1|0;if(l>>>0>>0){continue}break}J:{switch(p|0){case 4:case 5:e=C[a+28>>2];K:{if(!D[a+32|0]){break K}i=B[e+58>>1];d=i-1|0;g=E[e+56>>1];l=g<<16>>16;if((l|0)<=0){g=0}else{g=B[(C[e+68>>2]+(g<<1)|0)-2>>1]}L:{if((d|0)<=(g|0)){break L}p=C[e+60>>2];s=p+(g<<3)|0;p=p+(d<<3)|0;if(C[s>>2]!=C[p>>2]|C[s+4>>2]!=C[p+4>>2]){break L}B[e+58>>1]=i-1;d=i-2|0}if((d|0)<(g|0)){break K}B[e+56>>1]=l+1;B[C[e+68>>2]+(l<<1)>>1]=d}A[a+32|0]=1;i=C[e+4>>2];d=B[e+58>>1];l=(d+B[e+22>>1]|0)+1|0;if(!(i>>>0>=l>>>0&F[e+8>>2]>=(B[e+20>>1]+B[e+56>>1]|0)+1>>>0)){d=Qg(e,1,1);if(d){break t}if(!D[a+32|0]){d=8;break t}e=C[a+28>>2];d=B[e+58>>1];l=(d+B[e+22>>1]|0)+1|0;i=C[e+4>>2]}if(i>>>0>>0){d=Qg(e,1,0);if(d){break t}d=B[e+58>>1]}break u;case 1:case 2:case 3:break v;case 0:break w;default:break J}}if(D[a+32|0]){d=C[a+28>>2];e=B[d+58>>1];M:{if((e+B[d+22>>1]|0)+3>>>0>F[d+4>>2]){e=Qg(d,3,0);if(e){break M}e=B[d+58>>1]}i=C[d- -64>>2];l=C[k+4>>2];g=C[d+60>>2]+(e<<3)|0;C[g>>2]=C[k>>2];C[g+4>>2]=l;l=C[r+4>>2];C[g+8>>2]=C[r>>2];C[g+12>>2]=l;l=C[n+4>>2];C[g+16>>2]=C[n>>2];C[g+20>>2]=l;e=e+i|0;A[e+2|0]=1;A[e|0]=2;A[e+1|0]=2;B[d+58>>1]=E[d+58>>1]+3;e=0}d=e}else{d=8}break t}e=C[a+28>>2];if(D[a+32|0]){f=B[e+58>>1];d=f-1|0;c=E[e+56>>1];h=c<<16>>16;if((h|0)<=0){c=0}else{c=B[(C[e+68>>2]+(c<<1)|0)-2>>1]}N:{if((d|0)<=(c|0)){break N}g=C[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(C[j>>2]!=C[g>>2]|C[j+4>>2]!=C[g+4>>2]){break N}B[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){B[e+56>>1]=h+1;B[C[e+68>>2]+(h<<1)>>1]=d}A[a+32|0]=0}lk(e);d=C[k+44>>2];break b}if(!D[a+32|0]){d=8;break t}e=C[a+28>>2];d=B[e+58>>1];if(F[e+4>>2]<(d+B[e+22>>1]|0)+1>>>0){d=Qg(e,1,0);if(d){break t}d=B[e+58>>1]}}i=C[k+4>>2];g=C[e+60>>2]+(d<<3)|0;C[g>>2]=C[k>>2];C[g+4>>2]=i;A[d+C[e- -64>>2]|0]=1;B[e+58>>1]=E[e+58>>1]+1;d=0}C[k+44>>2]=d;if(!d){continue}break}break b}d=8}xf(b)}Ce=k+48|0;return d}function yD(a){a=a|0;var 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,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;c=C[a+40>>2];o=1;b=C[a+44>>2];if(C[b>>2]!=372711428){o=C[b+24>>2]?0:-1}m=C[c+24>>2];z=C[a+56>>2];F=D[a+63|0];G=D[a+62|0];H=D[a+61|0];J=D[a+60|0];j=C[a+52>>2];e=C[c>>2];u=D[b+9|0];s=D[c+9|0];p=C[a+28>>2];f=p-1|0;C[a+28>>2]=f;v=(C[a+4>>2]<<16)/C[a+24>>2]|0;w=(C[a+8>>2]<<16)/(p|0)|0;if(p){K=m^-1;L=j&48;M=j&2;N=j&1;x=j&256;p=(v|0)/2|0;t=(w|0)/2|0;O=j>>>4&15;m=!m;P=m&(e|0)!=372711428;Q=m|(e|0)==372711428;i=C[a+20>>2];y=s-1|0;q=u-1|0;while(1){r=C[a+24>>2];if(r){R=t>>>16|0;m=p;while(1){g=(C[a>>2]+I(C[a+12>>2],R)|0)+I(m>>>16|0,s)|0;r=r-1|0;a:{b:{c:{d:{e:{f:{if(!Q){f=0;l=0;j=0;k=0;d=0;g:{switch(y|0){case 0:d=D[g|0];f=D[C[(D[c+31|0]<<2)+382144>>2]+((d&C[c+24>>2])>>>D[c+35|0]|0)|0];l=D[C[(D[c+30|0]<<2)+382144>>2]+((C[c+20>>2]&d)>>>D[c+34|0]|0)|0];j=D[C[(D[c+29|0]<<2)+382144>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0];k=D[C[(D[c+28|0]<<2)+382144>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0];break f;case 1:d=E[g>>1];f=D[C[(D[c+31|0]<<2)+382144>>2]+((d&C[c+24>>2])>>>D[c+35|0]|0)|0];l=D[C[(D[c+30|0]<<2)+382144>>2]+((C[c+20>>2]&d)>>>D[c+34|0]|0)|0];j=D[C[(D[c+29|0]<<2)+382144>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0];k=D[C[(D[c+28|0]<<2)+382144>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0];break f;case 2:break e;case 3:break g;default:break f}}d=C[g>>2];f=D[C[(D[c+31|0]<<2)+382144>>2]+((d&C[c+24>>2])>>>D[c+35|0]|0)|0];l=D[C[(D[c+30|0]<<2)+382144>>2]+((C[c+20>>2]&d)>>>D[c+34|0]|0)|0];j=D[C[(D[c+29|0]<<2)+382144>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0];k=D[C[(D[c+28|0]<<2)+382144>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0];break f}if(P){l=0;j=0;k=0;d=0;h:{i:{j:{switch(y|0){case 0:d=D[g|0];f=C[(D[c+30|0]<<2)+382144>>2]+((d&C[c+20>>2])>>>D[c+34|0]|0)|0;k=C[(D[c+28|0]<<2)+382144>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0;e=C[(D[c+29|0]<<2)+382144>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0;break i;case 1:d=E[g>>1];f=C[(D[c+30|0]<<2)+382144>>2]+((d&C[c+20>>2])>>>D[c+34|0]|0)|0;k=C[(D[c+28|0]<<2)+382144>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0;e=C[(D[c+29|0]<<2)+382144>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0;break i;case 2:f=g+(D[c+34|0]>>>3|0)|0;k=g+(D[c+32|0]>>>3|0)|0;e=g+(D[c+33|0]>>>3|0)|0;break i;case 3:break j;default:break h}}d=C[g>>2];f=C[(D[c+30|0]<<2)+382144>>2]+((d&C[c+20>>2])>>>D[c+34|0]|0)|0;k=C[(D[c+28|0]<<2)+382144>>2]+((C[c+12>>2]&d)>>>D[c+32|0]|0)|0;e=C[(D[c+29|0]<<2)+382144>>2]+((C[c+16>>2]&d)>>>D[c+33|0]|0)|0}l=D[f|0];j=D[e|0];k=D[k|0]}f=255;l=l&255;j=j&255;k=k&255;break f}d=C[g>>2];l=d>>>2&255;j=d>>>12&255;k=d>>>22&255;f=D[C[95542]+(d>>>30|0)|0]}f=f&255;if(!x){break b}if((s|0)!=3){break c}d=D[c+34|0];h=D[c+33|0];e=D[c+32|0];break d}d=D[c+34|0];l=D[g+(d>>>3|0)|0];h=D[c+33|0];j=D[g+(h>>>3|0)|0];e=D[c+32|0];k=D[g+(e>>>3|0)|0];f=255;if(!x){break b}}d=j<>2]+((h&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+382144>>2]+((h&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((h&C[b+16>>2])>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((h&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 1:h=E[i>>1];e=D[C[(D[b+31|0]<<2)+382144>>2]+((h&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+382144>>2]+((h&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((h&C[b+16>>2])>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((h&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 2:d=D[(D[b+34|0]>>>3|0)+i|0];g=D[(D[b+33|0]>>>3|0)+i|0];h=D[(D[b+32|0]>>>3|0)+i|0];e=255;break k;case 3:break l;default:break k}}h=C[i>>2];e=D[C[(D[b+31|0]<<2)+382144>>2]+((h&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+382144>>2]+((h&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((h&C[b+16>>2])>>>D[b+33|0]|0)|0];h=D[C[(D[b+28|0]<<2)+382144>>2]+((h&C[b+12>>2])>>>D[b+32|0]|0)|0];break k}if((o|0)<0){d=0;g=0;h=0;m:{n:{o:{switch(q|0){case 0:e=D[i|0];d=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break n;case 1:e=E[i>>1];d=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;break n;case 2:d=(D[b+34|0]>>>3|0)+i|0;g=(D[b+33|0]>>>3|0)+i|0;e=(D[b+32|0]>>>3|0)+i|0;break n;case 3:break o;default:break m}}e=C[i>>2];d=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;e=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0}d=D[d|0];g=D[g|0];h=D[e|0]}e=255;d=d&255;g=g&255;h=h&255;break k}e=C[i>>2];d=e>>>2&255;g=e>>>12&255;h=e>>>22&255;e=D[C[95542]+(e>>>30|0)|0]}if(N){l=(I(l,G)>>>0)/255|0;k=(I(k,J)>>>0)/255|0;j=(I(j,H)>>>0)/255|0}f=M?(I(f,F)>>>0)/255|0:f;if(!(!L|f>>>0>254)){l=(I(f,l)>>>0)/255|0;k=(I(f,k)>>>0)/255|0;j=(I(f,j)>>>0)/255|0}e=e&255;p:{q:{switch(O|0){case 0:e=f;d=l;g=j;h=k;break p;case 1:n=255-f|0;e=f+(((I(n,e)&65535)>>>0)/255|0)|0;d=(((I(d,n)&65535)>>>0)/255|0)+l|0;g=(((I(g,n)&65535)>>>0)/255|0)+j|0;h=(((I(h,n)&65535)>>>0)/255|0)+k|0;break p;case 2:f=d+l|0;d=f>>>0>=255?255:f;f=g+j|0;g=f>>>0>=255?255:f;f=h+k|0;h=f>>>0>=255?255:f;break p;case 4:d=(I(d,l)>>>0)/255|0;g=(I(g,j)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;break p;case 8:break q;default:break p}}n=l;l=255-f|0;f=(I(n+l|0,d)>>>0)/255|0;d=f>>>0>=255?255:f;f=(I(j+l|0,g)>>>0)/255|0;g=f>>>0>=255?255:f;f=(I(k+l|0,h)>>>0)/255|0;h=f>>>0>=255?255:f}if(!o){r:{switch(q|0){case 0:A[i|0]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+i|0]=h;A[(D[b+33|0]>>>3|0)+i|0]=g;A[(D[b+34|0]>>>3|0)+i|0]=d;break a;case 3:break r;default:break a}}C[i>>2]=g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]|(g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>1]=C[b+24>>2]|(g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>3|0)+i|0]=h;A[(D[b+33|0]>>>3|0)+i|0]=g;A[(D[b+34|0]>>>3|0)+i|0]=d;break a;case 3:break s;default:break a}}C[i>>2]=C[b+24>>2]|(g>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>2]=(e>>>0)/85<<30|(d?d<<2|3:0)|(g?g<<12|3072:0)|(h?h<<22|3145728:0)}m=m+v|0;i=i+u|0;if(r){continue}break}i=C[a+20>>2];f=C[a+28>>2]}m=f;f=m-1|0;C[a+28>>2]=f;i=C[a+32>>2]+i|0;C[a+20>>2]=i;t=t+w|0;if(m){continue}break}}}function DM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ce-32|0;Ce=i;m=1;j=C[b+532>>2];a:{if((d|0)<=0){c=0;break a}n=d&3;b:{if(d>>>0<4){c=0;d=0;break b}p=d&-4;c=0;d=0;while(1){g=1;l=d<<3;f=C[l+e>>2]-1768386662|0;if(f){if((f|0)==13){k=1}}else{c=1}f=c;c=C[(l|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}g=f}c=1;f=C[(l|16)+e>>2]-1768386662|0;if(f){if((f|0)==13){k=1}f=g}else{f=1}g=C[(l|24)+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}c=f}d=d+4|0;o=o+4|0;if((o|0)!=(p|0)){continue}break}}if(!n){break a}f=c;while(1){g=C[(d<<3)+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}c=f}else{c=1}d=d+1|0;f=c;h=h+1|0;if((n|0)!=(h|0)){continue}break}}c:{if(C[C[b+128>>2]+48>>2]){break c}d=E[b+152>>1];if(d){e=C[b+156>>2];f=e+(d<<4)|0;d=e;while(1){if(C[d+12>>2]?C[d>>2]==1735162214:0){break c}d=d+16|0;if(f>>>0>d>>>0){continue}break}while(1){if(C[e+12>>2]?C[e>>2]==1128678944:0){break c}e=e+16|0;if(f>>>0>e>>>0){continue}break}}m=0}d=1;f=Fe[C[b+508>>2]](b,1935829368,a,0)|0;h=(f|0)!=0&m;d:{e:{f:{if(h){break f}g=C[j+68>>2];if(!g){break f}e=0;g=Fe[g|0](b,a)|0;d=(g|0)!=0;if(!f){break f}if(!g){break e}}e=d;d=Fe[C[j+24>>2]](b,a)|0;if(d){break d}}if(!E[b+178>>1]){d=8;break d}Fe[C[j+36>>2]](b,a)|0;Fe[C[j+32>>2]](b,a)|0;Fe[C[j+48>>2]](b,a)|0;f=Fe[C[j+44>>2]](b,a)|0;g:{if(!e){break g}h:{i:{d=Fe[C[j+28>>2]](b,a,0)|0;if(!d){d=Fe[C[j+92>>2]](b,a,0)|0;if((d&255)!=142){break i}d=147;e=C[C[b+128>>2]+48>>2];if(!e|!C[C[e>>2]+8>>2]){break d}B[b+250>>1]=0;break h}if((d&255)!=142){break d}if(C[b+148>>2]==1953658213){h=0;C[i+28>>2]=0;break h}d=143;e=C[C[b+128>>2]+48>>2];if(!e|!C[C[e>>2]+8>>2]){break d}B[b+250>>1]=0;C[i+28>>2]=0;break h}if(d){break d}}j:{k:{d=Fe[C[j+28>>2]](b,a,1)|0;if(d){break k}d=Fe[C[j+92>>2]](b,a,1)|0;C[i+28>>2]=d;if(d){break k}A[b+292|0]=1;break j}if((d&255)!=142){break d}}if(!(Fe[C[j+40>>2]](b,a)|0)){break g}B[b+364>>1]=65535}d=C[j+96>>2];l:{if(!d){break l}d=Fe[d|0](b,a)|0;if(!d){break l}if((d&255)!=142){break d}}d=Fe[C[j+64>>2]](b,a)|0;if(d){if((d&255)!=142){break d}C[b+548>>2]=0}Fe[C[j+60>>2]](b,a)|0;Fe[C[j+56>>2]](b,a)|0;C[b+20>>2]=0;C[b+24>>2]=0;C[b+16>>2]=E[b+264>>1];a=b+24|0;e=b+20|0;m:{n:{if(!(!(A[b+429|0]&1)|E[b+364>>1]==65535)){o:{if(!(c&255)){d=Vh(b,16,e);C[i+28>>2]=d;if(d){break d}if(C[e>>2]){break o}}d=Vh(b,1,e);C[i+28>>2]=d;if(d){break d}}if(!k){d=Vh(b,17,a);C[i+28>>2]=d;if(d){break d}}if(C[a>>2]){break m}d=Vh(b,2,a);break n}d=Vh(b,21,e);if(d){break d}d=C[e>>2];if(!(d|c&255)){d=Vh(b,16,e);if(d){break d}d=C[e>>2]}if(!d){d=Vh(b,1,e);if(d){break d}}d=Vh(b,22,a);C[i+28>>2]=d;if(d){break d}d=C[a>>2];if(!(k|d)){d=Vh(b,17,a);C[i+28>>2]=d;if(d){break d}d=C[a>>2]}if(d){break m}d=Vh(b,2,a)}C[i+28>>2]=d;if(d){break d}}a=C[b+8>>2];a=((C[b+732>>2]&-2)==2?a|16384:a)|h;d=a|24;d=f?d:C[b+468>>2]==196608?d:a|536;a=C[b+480>>2]?d|4:d;a=D[b+292|0]?a|32:a;f=C[b+752>>2]?a|64:a;a=E[b+152>>1];p:{if(!a){break p}e=C[b+156>>2];a=e+(a<<4)|0;d=e;while(1){if(!(!C[d+12>>2]|C[d>>2]!=1735162214)){d=e;while(1){q:{if(!(!C[d+12>>2]|C[d>>2]!=1719034226)){while(1){if(C[e+12>>2]?C[e>>2]==1735811442:0){break q}e=e+16|0;if(a>>>0>e>>>0){continue}break}break p}d=d+16|0;if(a>>>0>d>>>0){continue}break p}break}f=f|256;break p}d=d+16|0;if(a>>>0>d>>>0){continue}break}}C[b+8>>2]=f;r:{if(!(!h|E[b+364>>1]==65535)){a=E[b+428>>1];a=a>>>4&2|(a&513)!=0;break r}a=E[b+204>>1];a=(a<<1|(a&2)>>>1)&3}C[b+12>>2]=a;a=Ce-224|0;Ce=a;e=kf(40);C[e>>2]=0;c=C[b+504>>2];h=C[b+500>>2];C[a+216>>2]=h;s:{t:{u:{if(!C[a+216>>2]){break u}k=c+h|0;if(k>>>0>2]+4>>>0){break u}C[a+216>>2]=C[a+216>>2]+2;if(D[C[a+216>>2]-1|0]|D[C[a+216>>2]-2|0]<<8){break u}C[a+216>>2]=C[a+216>>2]+2;C[a+220>>2]=D[C[a+216>>2]-1|0]|D[C[a+216>>2]-2|0]<<8;if(!C[a+220>>2]){break u}g=4;while(1){if(k>>>0>2]+8>>>0){break u}C[a+216>>2]=C[a+216>>2]+2;c=D[C[a+216>>2]-2|0];d=D[C[a+216>>2]-1|0];C[a+216>>2]=C[a+216>>2]+2;B[a+212>>1]=d|c<<8;c=D[C[a+216>>2]-2|0];d=D[C[a+216>>2]-1|0];C[a+216>>2]=C[a+216>>2]+4;C[a+204>>2]=b;C[a+208>>2]=0;B[a+214>>1]=d|c<<8;c=D[C[a+216>>2]-1|0]|(D[C[a+216>>2]-3|0]<<16|D[C[a+216>>2]-4|0]<<24|D[C[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>C[b+504>>2]-2>>>0)){C[a+200>>2]=c+h;c=C[a+200>>2];C[a+196>>2]=D[c+1|0]|D[c|0]<<8;C[a+192>>2]=283328;v:{if(!C[C[a+192>>2]>>2]){break v}while(1){w:{C[a+188>>2]=C[C[a+192>>2]>>2];if(C[C[a+188>>2]+40>>2]==C[a+196>>2]){C[108238]=0;C[a+8>>2]=0;C[a+168>>2]=C[a+200>>2];C[a+172>>2]=k;C[a+176>>2]=0;C[a+180>>2]=0;c=C[108238];C[108238]=0;d=-1;x:{if(!c){break x}f=C[108239];if(!f){break x}d=Mf(C[c>>2],e,g);if(!d){break t}De=f}c=De;if((d|0)!=1){C[a+184>>2]=E[b+264>>1];e=Uj(a+12|0,1,e,g);g=De;c=0}while(1){if(!c){c=C[C[a+188>>2]+44>>2];C[108238]=0;l=X(c|0,C[a+200>>2],a+12|0)|0;c=C[108238];C[108238]=0;d=-1;y:{if(!c){break y}f=C[108239];if(!f){break y}d=Mf(C[c>>2],e,g);if(!d){break t}De=f}c=De;if((d|0)==1){continue}C[a+8>>2]=l}if(C[a+180>>2]){break v}C[108238]=0;l=_(1009,C[a+188>>2],C[a+200>>2],a+204|0,a+4|0)|0;c=C[108238];C[108238]=0;d=-1;z:{if(!c){break z}f=C[108239];if(!f){break z}d=Mf(C[c>>2],e,g);if(!d){break t}De=f}c=De;if((d|0)==1){continue}break}break w}C[a+192>>2]=C[a+192>>2]+4;if(C[C[a+192>>2]>>2]){continue}break v}break}if(l){break v}C[C[a+4>>2]+20>>2]=C[a+8>>2]}}C[a+220>>2]=C[a+220>>2]-1;if(C[a+220>>2]){continue}break}}Re(e);Ce=a+224|0;break s}Re(e);Ii(c,f);s()}f=C[b+36>>2];if((f|0)>0){g=C[b+40>>2];c=0;while(1){e=C[g+(c<<2)>>2];a=B[e+10>>1];h=283376;d=0;A:{B:{switch(E[e+8>>1]){case 0:d=C[70849];break A;case 1:if(a){break A}d=C[70852];break A;case 3:if(!(1151>>>a&1)|a>>>0>=11){break A}h=C[(a<<2)+284356>>2];break;case 2:break B;default:break A}}d=C[h+8>>2]}C[e+4>>2]=d;c=c+1|0;if((f|0)!=(c|0)){continue}break}}e=C[b+736>>2];C:{if(!e){c=C[b+8>>2];break C}d=C[C[b+104>>2]+28>>2];h=E[b+178>>1];if(!h|E[b+364>>1]==65535){h=1;a=1}else{a=E[b+366>>1]}c=0;q=b,r=Ve(d,16,0,e,0,i+28|0),C[q+32>>2]=r;d=C[i+28>>2];if(d){break d}f=h>>>1|0;g=a<<16>>16;while(1){a=C[b+32>>2];d=Fe[C[j+108>>2]](b,c,i)|0;C[i+28>>2]=d;if(d){break d}a=a+(c<<4)|0;B[a>>1]=C[i+20>>2]>>>6;d=E[i>>1];C[a+8>>2]=d<<6;B[a+2>>1]=(f+I(d,g)|0)/(h|0);d=E[i+2>>1]<<6;C[a+4>>2]=d;C[a+12>>2]=d;c=c+1|0;if((e|0)!=(c|0)){continue}break}C[b+28>>2]=e;c=C[b+8>>2]|2;C[b+8>>2]=c}if(!(c&3)){c=c|1;C[b+8>>2]=c}d=0;if(!(c&1)){break d}B[b+68>>1]=E[b+178>>1];C[b+52>>2]=B[b+196>>1];C[b+56>>2]=B[b+198>>1];C[b+60>>2]=B[b+200>>1];C[b- -64>>2]=B[b+202>>1];a=E[b+220>>1];B[b+70>>1]=a;c=E[b+222>>1];B[b+72>>1]=c;B[b+74>>1]=E[b+224>>1]+(a-c|0);if(!(a|c|E[b+364>>1]==65535)){a=E[b+434>>1];c=E[b+436>>1];D:{if(a|c){B[b+72>>1]=c;B[b+70>>1]=a;a=E[b+438>>1]+(a-c|0)|0;break D}a=E[b+440>>1];B[b+70>>1]=a;c=E[b+442>>1];B[b+72>>1]=0-c;a=a+c|0}B[b+74>>1]=a}B[b+76>>1]=E[b+226>>1];B[b+78>>1]=E[(D[b+292|0]?306:74)+b>>1];a=B[b+478>>1];B[b+82>>1]=a;B[b+80>>1]=E[b+476>>1]+((a|0)/-2|0)}Ce=i+32|0;return d|0}function BO(a){a=a|0;var 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;e=Ce-80|0;Ce=e;j=C[a+8>>2];a:{if(!j){b=6;break a}l=C[a>>2];c=C[a+4>>2];b:{if(C[c+12>>2]>1){break b}ti(c);if(C[c+12>>2]>1){break b}g=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=g>>>0){break b}d=b+1|0;C[c>>2]=d;f=D[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){c:{C[c+12>>2]=0;d=Qi(c);if(d){break c}b=2;if(C[c+12>>2]==2){continue}break a}break}b=2;if((C[c>>2]+(d^-1)|0)!=16){break a}if(cf(d,8097,16)){break a}f=160;d:while(1){c=C[a+4>>2];e:{if(C[c+12>>2]>1){break e}ti(c);if(C[c+12>>2]>1){break e}h=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=h>>>0){break e}d=b+1|0;C[c>>2]=d;g=D[b|0];b=d;if(!(1<>>0>26){continue}break}}f:{while(1){g:{C[c+12>>2]=0;g=Qi(c);if(g){break g}if(C[c+12>>2]==2){continue}break f}break}h=C[c>>2]+(g^-1)|0;c=D[g|0];b=0;while(1){h:{if((c|0)==D[C[(b<<2)+219984>>2]]){d=b;break h}d=b|1;if((c|0)==D[C[(d<<2)+219984>>2]]){break h}b=b+2|0;if((b|0)!=74){continue}continue d}break}b=(d|0)<=73?73:d;while(1){i=C[(d<<2)+219984>>2];if((c|0)!=D[i|0]){continue d}if(cf(i,g,h)){i=(b|0)==(d|0);d=d+1|0;if(i){continue d}continue}break}b=0;i:{j:{switch(d|0){case 40:C[e+32>>2]=3;if((Wh(a,e+32|0,1)|0)!=1){break f}if(!(C[e+36>>2]&-3)){continue}f=7;break f;case 30:C[e>>2]=4;if((Wh(a,e,1)|0)!=1){break f}A[j|0]=D[e+4|0];continue;case 26:C[e+24>>2]=2;C[e+16>>2]=2;C[e+8>>2]=2;C[e>>2]=2;if((Wh(a,e,4)|0)!=4){break f}C[j+4>>2]=C[e+4>>2];C[j+8>>2]=C[e+12>>2];C[j+12>>2]=C[e+20>>2];C[j+16>>2]=C[e+28>>2];continue;case 0:C[e>>2]=2;if((Wh(a,e,1)|0)!=1){break f}C[j+20>>2]=C[e+4>>2];continue;case 14:C[e>>2]=2;if((Wh(a,e,1)|0)!=1){break f}C[j+24>>2]=C[e+4>>2];continue;case 45:C[e+32>>2]=3;if((Wh(a,e+32|0,1)|0)!=1){break f}c=C[e+36>>2];if((c|0)<=0){break i}while(1){f=C[a+4>>2];k:{if(C[f+12>>2]>1){break k}ti(f);if(C[f+12>>2]>1){break k}h=C[f+8>>2];b=C[f>>2];while(1){if(b>>>0>=h>>>0){break k}d=b+1|0;C[f>>2]=d;g=D[b|0];b=d;if(!(1<>>0>26){continue}break}}b=c-1|0;l:{while(1){C[f+12>>2]=0;if(Qi(f)){break l}if(C[f+12>>2]==2){continue}break}b=160;break a}d=(c|0)<2;c=b;if(!d){continue}break};break i;case 20:break a;case 49:break j;default:continue}}m:while(1){c=C[a+4>>2];n:{if(C[c+12>>2]>1){break n}ti(c);if(C[c+12>>2]>1){break n}g=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=g>>>0){break n}d=b+1|0;C[c>>2]=d;f=D[b|0];b=d;if(!(1<>>0>26){continue}break}}o:{while(1){C[c+12>>2]=0;f=Qi(c);if(f){break o}if(C[c+12>>2]==2){continue}break}f=160;break f}g=C[c>>2]+(f^-1)|0;c=D[f|0];b=0;while(1){p:{if((c|0)==D[C[(b<<2)+219984>>2]]){d=b;break p}d=b|1;if((c|0)==D[C[(d<<2)+219984>>2]]){break p}b=b+2|0;if((b|0)!=74){continue}continue m}break}b=(d|0)<=73?73:d;while(1){h=C[(d<<2)+219984>>2];if((c|0)!=D[h|0]){continue m}if(cf(h,f,g)){h=(b|0)==(d|0);d=d+1|0;if(h){continue m}continue}break}b=0;f=160;q:{switch(d-20|0){case 33:g=C[a+8>>2];C[e+32>>2]=3;if((Wh(a,e+32|0,1)|0)!=1){break f}b=C[e+36>>2];if((b|0)<0){break f}C[g+32>>2]=b;if(b){m=g,n=Ve(C[a>>2],20,0,b,0,e+32|0),C[m+28>>2]=n;f=C[e+32>>2];if(f){break f}}f=-1;r:{s:while(1){c=C[a+4>>2];t:{if(C[c+12>>2]>1){break t}ti(c);if(C[c+12>>2]>1){break t}i=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=i>>>0){break t}d=b+1|0;C[c>>2]=d;h=D[b|0];b=d;if(!(1<>>0>26){continue}break}}u:{while(1){C[c+12>>2]=0;h=Qi(c);if(h){break u}if(C[c+12>>2]==2){continue}break}f=160;break f}i=C[c>>2]+(h^-1)|0;c=D[h|0];b=0;while(1){v:{if((c|0)==D[C[(b<<2)+219984>>2]]){d=b;break v}d=b|1;if((c|0)==D[C[(d<<2)+219984>>2]]){break v}b=b+2|0;if((b|0)!=74){continue}continue s}break}b=(d|0)<=73?73:d;while(1){k=C[(d<<2)+219984>>2];if((c|0)!=D[k|0]){continue s}if(cf(k,h,i)){k=(b|0)==(d|0);d=d+1|0;if(k){continue s}continue}break}w:{x:{switch(d-20|0){case 36:f=f+1|0;if((f|0)>=C[g+32>>2]){break w}b=C[g+28>>2];C[e+64>>2]=2;C[e+56>>2]=2;C[e+48>>2]=2;C[e+40>>2]=2;C[e+32>>2]=3;if((Wh(a,e+32|0,5)|0)!=5){break w}b=b+I(f,20)|0;C[b>>2]=C[e+36>>2];C[b+4>>2]=C[e+44>>2];C[b+8>>2]=C[e+52>>2];C[b+12>>2]=C[e+60>>2];C[b+16>>2]=C[e+68>>2];continue;case 0:case 1:case 3:break r;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 w;default:break x}}if((d|0)==75){continue}}break}f=160;break f}C[g+32>>2]=f+1;continue;case 0:case 1:break a;case 55:continue;case 30:case 31:break q;default:break f}}h=C[a+8>>2];C[e+32>>2]=3;if((Wh(a,e+32|0,1)|0)!=1){break f}b=C[e+36>>2];if((b|0)<0){break f}C[h+40>>2]=b;if(b){m=h,n=Ve(C[a>>2],16,0,b,0,e+32|0),C[m+36>>2]=n;f=C[e+32>>2];if(f){break f}}f=-1;y:{z:while(1){c=C[a+4>>2];A:{if(C[c+12>>2]>1){break A}ti(c);if(C[c+12>>2]>1){break A}i=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=i>>>0){break A}d=b+1|0;C[c>>2]=d;g=D[b|0];b=d;if(!(1<>>0>26){continue}break}}B:{while(1){C[c+12>>2]=0;g=Qi(c);if(g){break B}if(C[c+12>>2]==2){continue}break}f=160;break f}i=C[c>>2]+(g^-1)|0;c=D[g|0];b=0;while(1){C:{if((c|0)==D[C[(b<<2)+219984>>2]]){d=b;break C}d=b|1;if((c|0)==D[C[(d<<2)+219984>>2]]){break C}b=b+2|0;if((b|0)!=74){continue}continue z}break}b=(d|0)<=73?73:d;while(1){k=C[(d<<2)+219984>>2];if((c|0)!=D[k|0]){continue z}if(cf(k,g,i)){k=(b|0)==(d|0);d=d+1|0;if(k){continue z}continue}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){f=160;break f}b=1<=C[h+40>>2]){break D}b=C[h+36>>2];C[e+56>>2]=3;C[e+48>>2]=3;C[e+40>>2]=5;C[e+32>>2]=5;i=Wh(a,e+32|0,4);if((i|0)<3){break D}g=b+(f<<4)|0;C[g>>2]=C[e+36>>2];C[g+4>>2]=C[e+44>>2];b=0;c=C[e+52>>2];if((d|0)!=37){b=c;c=(d|0)==34?(i|0)==4?C[e+60>>2]:0:0}C[g+12>>2]=c;C[g+8>>2]=b;continue}break}f=160;break f}b=f+1|0;C[h+40>>2]=b;lh(C[h+36>>2],b,16,911);continue}}while(1){c=C[a+4>>2];E:{if(C[c+12>>2]>1){break E}ti(c);if(C[c+12>>2]>1){break E}g=C[c+8>>2];b=C[c>>2];while(1){if(b>>>0>=g>>>0){break E}d=b+1|0;C[c>>2]=d;f=D[b|0];b=d;if(!(1<>>0>26){continue}break}}F:{while(1){C[c+12>>2]=0;f=Qi(c);if(f){break F}if(C[c+12>>2]==2){continue}break}b=160;break a}h=C[c>>2]+(f^-1)|0;g=D[f|0];b=0;G:{H:{while(1){if((g|0)==D[C[(b<<2)+219984>>2]]){d=b;break H}d=b|1;if((g|0)==D[C[(d<<2)+219984>>2]]){break H}b=b+2|0;if((b|0)!=74){continue}break}c=75;break G}b=(d|0)<=73?73:d;while(1){c=75;i=C[(d<<2)+219984>>2];if((g|0)!=D[i|0]){break G}if(!cf(i,f,h)){c=d;break G}i=(b|0)==(d|0);d=d+1|0;if(!i){continue}break}}f=0;switch(c-17|0){case 0:case 3:continue d;default:continue}}}break}a=C[j+28>>2];if(a){Fe[C[l+8>>2]](l,a)}C[j+28>>2]=0;C[j+32>>2]=0;a=C[j+36>>2];if(a){Fe[C[l+8>>2]](l,a)}A[j|0]=0;C[j+36>>2]=0;C[j+40>>2]=0;b=f}Ce=e+80|0;return b|0}function eR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;c=Ce-6992|0;Ce=c;h=C[C[a+4>>2]>>2];f=c- -64|0;p(f|4,0,2996);C[c+16>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+48>>2]=0;C[c+52>>2]=0;C[c+56>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+64>>2]=h;C[c+8>>2]=f;b=C[b+4>>2];h=C[b+88>>2];a:{if(!h){f=36;break a}C[c+6940>>2]=b;f=C[h+16>>2];C[c+6952>>2]=0;C[c+6944>>2]=f;h=C[h+20>>2];C[c+6964>>2]=0;C[c+6960>>2]=e>>>16&15;C[c+6956>>2]=0;C[c+6948>>2]=h;C[c>>2]=b;h=C[b+116>>2];C[c+4>>2]=h;if(!h){f=Sm(b,c|4,a);if(f){break a}h=C[c+4>>2];C[b+116>>2]=h;C[b+120>>2]=775}C[c+6976>>2]=0;f=6;if(F[h+4>>2]<=d>>>0){break a}f=(D[C[h+8>>2]+d|0]&127)<<2;m=f+h|0;b=C[m+16>>2];b:{if(b){break b}a=C[C[h>>2]+100>>2];n=C[f+206192>>2];g=C[(C[n+4>>2]<<2)+206064>>2];b=hf(a,C[g+4>>2],c+6976|0);f=C[c+6976>>2];if(f){break a}C[b+36>>2]=h;C[b>>2]=n;c:{f=C[g+8>>2];if(!f){break c}h=Fe[f|0](b,C[h>>2])|0;C[c+6976>>2]=h;if(!h){break c}h=C[g+16>>2];if(h){Fe[h|0](b)}if(b){Fe[C[a+8>>2]](a,b)}f=C[c+6976>>2];if(f){break a}b=0;break b}C[m+16>>2]=b}a=C[C[b>>2]+4>>2];C[c+12>>2]=b;a=C[(a<<2)+206064>>2];h=C[a+12>>2];d:{if(h){Fe[h|0](b,c+6940|0);break d}h=C[c+6944>>2];C[b+4>>2]=C[c+6940>>2];C[b+8>>2]=h;C[b+28>>2]=C[c+6964>>2];h=c+6956|0;f=C[h+4>>2];C[b+20>>2]=C[h>>2];C[b+24>>2]=f;h=c+6948|0;f=C[h+4>>2];C[b+12>>2]=C[h>>2];C[b+16>>2]=f}a=C[a+20>>2];if(a){f=Fe[a|0](C[c+8>>2],b)|0;if(f){break a}}a=C[c>>2];h=C[a+84>>2];g=C[h+156>>2];t=C[g>>2];m=C[c+8>>2];q=C[c+12>>2];f=$h(a,d,e&-10246|10241);if(f){break a}a=D[g+8|0];A[c+16|0]=a;e:{if(!a){break e}e=C[g+24>>2];a=C[g+20>>2];C[c+28>>2]=a;C[c+32>>2]=e;f=C[g+16>>2];b=C[g+12>>2];C[c+20>>2]=b;C[c+24>>2]=f;n=C[g+28>>2];g=C[g+32>>2];j=c+6984|0;C[j>>2]=a;C[j+4>>2]=e;C[c+6976>>2]=b;C[c+6980>>2]=f;C[c+36>>2]=n;C[c+40>>2]=g;g=6;n=c+6976|0;f:{if(!n){break f}r=C[n>>2];e=r;j=C[n+12>>2];if(!(!e|(j|0)==65536)){b=r>>31;b=(b^r)-b|0;a=j>>31;a=(a^j)-a|0;g:{if(b+(a>>>8|0)>>>0<=8190){a=I(a,b)+32768>>>16|0;break g}e=b&65535;a=I(e,a>>>16|0)+I(a,b>>>16|0)+(I(e,a&65535)+32768>>>16)|0}e=(j^r)<0?0-a|0:a}f=C[n+4>>2];b=f;i=C[n+8>>2];if(!(!b|(i|0)==65536)){b=f>>31;b=(b^f)-b|0;a=i>>31;a=(a^i)-a|0;h:{if(b+(a>>>8|0)>>>0<=8190){a=I(a,b)+32768>>>16|0;break h}o=b&65535;a=I(o,a>>>16|0)+I(a,b>>>16|0)+(I(o,a&65535)+32768>>>16)|0}b=(f^i)<0?0-a|0:a}if((b|0)==(e|0)){break f}o=e-b|0;a=o>>31;a=(a^o)-a|0;u=a>>>17^65535;b=f>>31;b=(b^f)-b|0;i:{if(u>>>0>=b>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break i}e=2147483647;g=a>>>1|0;s=g+(b<<16)|0;b=(b>>>16|0)+(g>>>0>s>>>0)|0;if(b>>>0>=a>>>0){break i}k=L(b);g=32-k|0;b=s>>>g|b<>>0)/(a>>>0)|0;l=b-I(a,e)|0;b=s<>>31;g=l>>>0>=a>>>0;l=l-(g?a:0)|0;e=g|e<<1;g=31-k|0;b=b<<1}if((k|0)==31){break i}while(1){l=l<<1|b>>>31;k=l>>>0>=a>>>0;l=b>>>30&1|l-(k?a:0)<<1;s=l>>>0>=a>>>0;l=l-(s?a:0)|0;e=e<<2|k<<1|s;b=b<<2;g=g-2|0;if(g){continue}break}}b=f>>31|1;C[n+4>>2]=(((o|0)<0?0-b|0:b)|0)<0?e:0-e|0;b=i>>31;b=(b^i)-b|0;j:{if(b>>>0<=u>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break j}e=2147483647;f=a>>>1|0;l=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>l>>>0)|0;if(b>>>0>=a>>>0){break j}k=L(b);f=32-k|0;b=l>>>f|b<>>0)/(a>>>0)|0;g=b-I(a,e)|0;b=l<>>31;f=g>>>0>=a>>>0;g=g-(f?a:0)|0;e=f|e<<1;f=31-k|0;b=b<<1}if((k|0)==31){break j}while(1){g=g<<1|b>>>31;k=g>>>0>=a>>>0;g=b>>>30&1|g-(k?a:0)<<1;l=g>>>0>=a>>>0;g=g-(l?a:0)|0;e=l|(e<<2|k<<1);b=b<<2;f=f-2|0;if(f){continue}break}}b=i>>31|1;C[n+8>>2]=(((o|0)<0?0-b|0:b)|0)<0?e:0-e|0;b=j>>31;b=(b^j)-b|0;k:{if(b>>>0<=u>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break k}e=2147483647;f=a>>>1|0;k=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>k>>>0)|0;if(b>>>0>=a>>>0){break k}g=L(b);f=32-g|0;b=k>>>f|b<>>0)/(a>>>0)|0;i=b-I(a,e)|0;b=k<>>31;f=i>>>0>=a>>>0;i=i-(f?a:0)|0;e=f|e<<1;f=31-g|0;b=b<<1}if((g|0)==31){break k}while(1){i=i<<1|b>>>31;g=i>>>0>=a>>>0;i=b>>>30&1|i-(g?a:0)<<1;k=i>>>0>=a>>>0;i=i-(k?a:0)|0;e=k|(e<<2|g<<1);b=b<<2;f=f-2|0;if(f){continue}break}}b=j>>31|1;C[n>>2]=(((o|0)<0?0-b|0:b)|0)<0?0-e|0:e;b=r>>31;b=(b^r)-b|0;l:{if(b>>>0<=u>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break l}e=2147483647;f=a>>>1|0;i=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>i>>>0)|0;if(b>>>0>=a>>>0){break l}g=L(b);f=32-g|0;b=i>>>f|b<>>0)/(a>>>0)|0;j=b-I(a,e)|0;b=i<>>31;f=j>>>0>=a>>>0;j=j-(f?a:0)|0;e=f|e<<1;f=31-g|0;b=b<<1}if((g|0)==31){break l}while(1){j=j<<1|b>>>31;g=j>>>0>=a>>>0;j=b>>>30&1|j-(g?a:0)<<1;i=j>>>0>=a>>>0;j=j-(i?a:0)|0;e=i|(e<<2|g<<1);b=b<<2;f=f-2|0;if(f){continue}break}}g=0;a=r>>31|1;C[n+12>>2]=(((o|0)<0?0-a|0:a)|0)<0?0-e|0:e}if(g){break e}Yh(c+36|0,c+6976|0)}f=7;m:{if(C[h+72>>2]!=1869968492){break m}if(D[c+16|0]){Pg(h+108|0,C[c+36>>2],C[c+40>>2])}C[c+44>>2]=C[m+8>>2];C[c+48>>2]=C[m+16>>2];v=c,w=Te(C[h+40>>2],C[m+4>>2])+C[m+8>>2]|0,C[v+52>>2]=w;C[c+56>>2]=C[m+16>>2];f=0;if(!E[h+110>>1]){break m}a=C[C[(C[C[q>>2]+4>>2]<<2)+206064>>2]+24>>2];if(a){Fe[a|0](m,t+20|0,q)|0}n:{if(C[c+6960>>2]!=1){a=C[m+56>>2];if(!(D[m+2980|0]&4|(a|0)<2)){b=I(a,48);a=C[m- -64>>2];e=(b+a|0)-48|0;b=C[e+8>>2];e=C[e+4>>2];n=C[a+8>>2];g=C[a+4>>2];a=n-g|0;j=(g|0)<24?a-8|0:a;a=j+32&-64;C[c+44>>2]=a;m=C[c+52>>2]-e|0;e=m+b|0;i=(m|0)<24?e+8|0:e;e=i+32&-64;C[c+52>>2]=e;if(!((a|0)<(n|0)|(g|0)<=0)){a=a+-64|0;C[c+44>>2]=a}if(!((b|0)<(e|0)|(m|0)<=0)){e=e- -64|0;C[c+52>>2]=e}C[h+144>>2]=a-j;a=e-i|0;break n}a=C[c+52>>2];b=a+32&-64;C[c+52>>2]=b;e=C[c+44>>2];g=e+32&-64;C[c+44>>2]=g;C[h+144>>2]=g-e;a=b-a|0;break n}a=C[c+44>>2];b=(a+C[m+2992>>2]|0)+32&-64;C[c+44>>2]=b;e=C[c+52>>2];g=(e+C[m+2996>>2]|0)+32&-64;C[c+52>>2]=g;C[h+144>>2]=b-a;a=g-e|0}C[h+148>>2]=a}a=C[h+36>>2];b=C[h+48>>2];v=c,w=Te(C[h+44>>2]-C[h+32>>2]|0,C[q+8>>2]),C[v+6968>>2]=w;v=c,w=Te(b-a|0,C[q+12>>2]),C[v+6972>>2]=w;if(D[c+16|0]){a=c+20|0;Ui(t+20|0,a);Yh(c+6968|0,a)}a=C[c+44>>2];if(a){Pg(t+20|0,0-a|0,0)}Zh(t+20|0,c+6976|0);a=C[c+6976>>2]&-64;C[c+6976>>2]=a;b=C[c+6988>>2]+63&-64;C[c+6988>>2]=b;e=C[c+6984>>2]+63&-64;C[c+6984>>2]=e;g=C[c+6980>>2]&-64;C[c+6980>>2]=g;C[h+36>>2]=b;C[h+32>>2]=a;C[h+28>>2]=b-g;C[h+24>>2]=e-a;C[h+44>>2]=a+C[c+6968>>2]&-64;C[h+48>>2]=b+C[c+6972>>2]&-64;o:{p:{if(C[c+6960>>2]==1){break p}if(!(D[C[h+4>>2]+8|0]&4)){a=C[c+4>>2];if(!D[q+32|0]|(F[a+4>>2]<=d>>>0|A[C[a+8>>2]+d|0]>=0)){break p}}a=Te(C[h+40>>2],C[q+8>>2]);C[h+144>>2]=0;C[h+148>>2]=0;C[h+40>>2]=a;break o}if(!C[h+40>>2]){break o}C[h+40>>2]=C[c+52>>2]-C[c+44>>2]}a=Te(C[h+52>>2],C[q+12>>2]);C[h+72>>2]=1869968492;C[h+52>>2]=a+32&-64;C[h+40>>2]=C[h+40>>2]+32&-64}C[c+8>>2]=0;C[c>>2]=0;C[c+4>>2]=0;lq(c- -64|0);Ce=c+6992|0;return f|0}function PD(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=J(0),l=0,m=0,n=J(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,B=0,E=0;f=Ce-128|0;Ce=f;a:{if(!D[398236]){c=C[97714];d=c+15|0;b:{if((d|0)>C[97719]){a=1;if((d|0)>C[97720]){break b}}a=0}C[97715]=a;d=C[97713];b=d+17|0;c:{if((b|0)>2];e:{if((a|0)!=1025){if((a|0)!=768){if((a|0)!=256){break e}C[97710]=1;break e}f:{switch(C[f+44>>2]-101|0){case 12:C[97710]=1;break e;case 0:if(D[398236]){A[398236]=0;break e}A[398236]=1;break e;case 7:break f;default:break e}}if(!D[398236]){break e}B=390940,E=Se(C[97735],2953)?2953:2981,C[B>>2]=E;Yn();break e}if(!D[398236]){break e}k=G[94435];n=J(J(C[f+44>>2])/k);d=C[97735];g:{if(!Se(d,2953)){k=J(J(C[f+48>>2])/k);break g}n=J(n+J(C[97713]-C[97711]|0));k=J(J(J(C[f+48>>2])/k)+J(C[97714]-C[97712]|0))}k=J(k*J(.0625));h:{if(J(K(k))=C[97731]))){c=C[C[C[97733]+(a<<2)>>2]+(b<<2)>>2]}j:{switch(D[f+40|0]-1|0){case 0:if(Se(d,2981)){break e}d=C[97732];c=C[97730];if((c|0)>(a|0)){e=C[d+(a<<2)>>2]}else{C[d+(c<<2)>>2]=0;a=c;e=0}c=a<<2;a=c+d|0;c=C[c+C[97733]>>2];if(!((b|0)<=0|e)){We(c,255,b<<2)}C[c+(b<<2)>>2]=C[104361];d=C[a>>2];e=b+1|0;k:{if((d|0)>(e|0)){e=d;break k}if((b|0)>=(d|0)){while(1){C[c+(d<<2)>>2]=C[104361];g=C[a>>2];d=g+1|0;C[a>>2]=d;if((b|0)>(g|0)){continue}break}}C[c+(e<<2)>>2]=10;C[a>>2]=e}if(C[97731]<(e|0)){C[97731]=e}g=0;c=0;a=Ce-176|0;Ce=a;if(Yj(22191,a- -64|0)){d=af(C[97735]);l=df(d+5|0,1);b=C[97734];e=C[104360];C[a+56>>2]=3034;C[a+52>>2]=e;C[a+48>>2]=b;km(l,d+4|0,8185,a+48|0);b=gi(C[97735],3205);j=gi(l,3205);h=gi(22191,3205);i=C[97730];d=df(I(i,C[97731])+1|0,1);l:{if((i|0)<=0){break l}o=C[97732];e=0;while(1){p=c<<2;g=C[p+o>>2];if((g|0)>C[97731]){break l}m:{if((g|0)<=0){break m}g=0;if(C[o+p>>2]<=0){break m}while(1){C[a+64>>2]=0;i=C[C[p+C[97733]>>2]+(g<<2)>>2];n:{if((i|0)==-1){C[a+64>>2]=6234144;break n}C[a+32>>2]=i;km(a- -64|0,4,14600,a+32|0)}i=af(a- -64|0);if(i){jf(e+d|0,a- -64|0,i);e=e+i|0}g=g+1|0;o=C[97732];i=p+o|0;if((g|0)!=C[i>>2]){A[e+d|0]=44;e=e+1|0;if(C[i>>2]>(g|0)){continue}}break}i=C[97730]}A[e+d|0]=10;e=e+1|0;c=c+1|0;if((i|0)>(c|0)){continue}break}}c=af(d);e=Fe[C[b+12>>2]](b,d,1,c)|0;if((c|0)!=(e|0)){C[a+20>>2]=c;C[a+16>>2]=e;Hj(34299,a+16|0)}g=1;e=C[104360];C[104360]=(e|0)!=99?e+1|0:0;Fe[C[b+16>>2]](b)|0;b=Fe[C[j+12>>2]](j,d,1,c)|0;if((b|0)!=(c|0)){C[a+4>>2]=c;C[a>>2]=b;Hj(34299,a)}Fe[C[j+16>>2]](j)|0;Re(l);Re(d);Fe[C[h+16>>2]](h)|0;Qu()}Ce=a+176|0;if(!g){break e}C[f>>2]=C[104360];Tg(34783,f);break e;case 2:break j;default:break e}}a=(c|0)<0?-1:c;C[104361]=a;C[f+16>>2]=a;Tg(34504,f+16|0)}if(es(f+24|0)){continue}break}}o:{p:{q:{if(Se(C[97735],2981)){break q}j=0;a=C[97713];d=(a+8|0)/16|0;u=d-1|0;c=C[97714];b=(c+28|0)/16|0;v=b+1|0;w=d+1|0;x=b-1|0;r=(a|0)>=8?d:0;d=C[97733];t=(c|0)>=-12?b:0;b=C[d+(t<<2)>>2];g=C[(r<<2)+b>>2];if((g|0)<0){break q}j=(c|0)>=4?C[C[d+(x<<2)>>2]+(r<<2)>>2]:j;e=0;m=(a|0)>=-23?C[b+(w<<2)>>2]:m;e=(c|0)>=-43?C[C[d+(v<<2)>>2]+(r<<2)>>2]:e;q=(a|0)>=24?C[b+(u<<2)>>2]:q;c=I(g,24)+390832|0;g=C[c+172>>2];a=C[c+164>>2];d=C[c+168>>2];l=d;c=C[c+160>>2];b=c;if((j|0)<0){break o}break p}g=C[97751];d=C[97750];a=C[97749];c=C[97748];j=0;e=0}if(C[99546]<(j|0)){l=d;b=c;break o}b=I(j,24)+390832|0;l=C[b+168>>2];b=C[b+160>>2]}i=b;j=g;b=a;r:{if((m|0)<0){break r}b=a;if(C[99546]<(m|0)){break r}b=I(m,24)+390832|0;j=C[b+172>>2];b=C[b+164>>2]}o=b;m=d;b=c;s:{if((e|0)<0){break s}b=c;if(C[99546]<(e|0)){break s}b=I(e,24)+390832|0;m=C[b+168>>2];b=C[b+160>>2]}p=b;e=g;b=a;t:{if((q|0)<0){break t}b=a;if(C[99546]<(q|0)){break t}b=I(q,24)+390832|0;e=C[b+172>>2];b=C[b+164>>2]}q=b;ss();if(!Se(C[97735],2981)){z=C[97727];y=C[97728];b=C[97711];h=C[97712];C[f+116>>2]=h;C[f+112>>2]=b;C[f+100>>2]=h;C[f+96>>2]=b;C[f+104>>2]=16;C[f+108>>2]=28;C[f+84>>2]=h;C[f+80>>2]=b;s=(h|0)%4|0;h=s>>31;h=(h^s)-h|0;s=(b|0)%4|0;b=s>>31;b=(b^s)-b|0;u:{v:{w:{switch(z|0){case 0:C[f+80>>2]=h<<4;b=64;break v;case 1:C[f+80>>2]=b<<4;b=32;break v;case 2:C[f+80>>2]=h<<4;b=0;break v;case 3:break w;default:break u}}C[f+80>>2]=b<<4;b=96}C[f+84>>2]=b}C[f+88>>2]=16;C[f+92>>2]=28;Wq(y,f+120|0,f+124|0);ql(C[97706],y,f+80|0,f+96|0)}b=Ph();h=b-C[97705]|0;if((h|0)<=19){ph(20-h|0);b=Ph()}C[97705]=b;if(D[420144]){C[97719]=0;C[97720]=0;if((c|0)<=0){c=0}else{C[97719]=(t<<4)+c;c=1}if((l|0)>0){C[(c<<2)+390876>>2]=i+(x<<4)}if(C[97715]){C[97712]=C[97712]-1;C[97714]=C[97714]-3}C[97727]=0}if(D[420141]){c=C[97731]<<4;C[97722]=c;C[97721]=c;if((a|0)<=0){a=0}else{C[97721]=((r<<4)-a|0)+16;a=1}if((j|0)>0){C[((a<<2)+390832|0)+52>>2]=((w<<4)+16|0)-o}if(C[97716]){C[97711]=C[97711]+1;C[97713]=C[97713]+3}C[97727]=1}if(D[420143]){a=C[97730]<<4;C[97724]=a;C[97723]=a;if((d|0)<=0){a=0}else{C[97723]=((t<<4)-d|0)+16;a=1}if((p|0)>0){C[((a<<2)+390832|0)+60>>2]=((v<<4)+16|0)-m}if(C[97717]){C[97712]=C[97712]+1;C[97714]=C[97714]+3}C[97727]=2}if(D[420142]){C[97725]=0;C[97726]=0;if((g|0)<=0){a=0}else{C[97725]=(r<<4)+g;a=1}if((q|0)>0){C[((a<<2)+390832|0)+68>>2]=(u<<4)+e}if(C[97718]){C[97711]=C[97711]-1;C[97713]=C[97713]-3}C[97727]=3}c=Ce-16|0;Ce=c;a=C[97706];x:{if(!(C[a>>2]==422837?a:0)){C[c>>2]=9675;Qe(19745,c);break x}d=C[a+436>>2];if(d){Fe[C[a+52>>2]](a,d,C[a+536>>2],C[a+540>>2])|0;d=C[a+440>>2];if(d){C[d+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Fe[C[a+88>>2]](a)}Ce=c+16|0;c=Ce-16|0;Ce=c;a=C[97706];y:{if(!(C[a>>2]==422837?a:0)){C[c>>2]=9675;Qe(19745,c);break y}z:{e=C[a+444>>2];if(e){C[a+444>>2]=C[e+24>>2];C[e+24>>2]=0;break z}e=If(1,28);if(e){break z}_e(0);break y}d=C[a+440>>2];C[(d?d+24|0:a+436|0)>>2]=e;C[a+440>>2]=e;C[e>>2]=4;C[e+4>>2]=0;A[e+8|0]=D[a+420|0];A[e+9|0]=D[a+421|0];A[e+10|0]=D[a+422|0];A[e+11|0]=D[a+423|0];if(C[a+432>>2]){break y}d=C[a+436>>2];if(!d){break y}Fe[C[a+52>>2]](a,d,C[a+536>>2],C[a+540>>2])|0;d=C[a+440>>2];if(d){C[d+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Ce=c+16|0;Ce=f+128|0}function zy(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,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;e=Ce-800|0;Ce=e;a:{if(!a){d=37;break a}g=d|3;f=b?d:g;k=f&1?0:b;b:{if(!k){b=C[a+4>>2];break b}d=35;b=C[b>>2];if((b|0)!=C[a+4>>2]){break a}}c:{d:{i=C[b+656>>2];if(C[i+1456>>2]==65535){break d}h=C[i+1164>>2];if(!h){break d}if(!c){c=0;break c}d=6;if(F[i+1168>>2]>>0){break a}c=E[h+(c<<1)>>1];if(c){break c}break a}d=6;if(F[i+12>>2]<=c>>>0){break a}}C[a+164>>2]=65536;C[a+168>>2]=65536;l=f&1024?g:f;e:{f:{if(!k){break f}C[a+164>>2]=C[k+16>>2];C[a+168>>2]=C[k+20>>2];d=C[k+44>>2];if(l&8|(d|0)==-1){break f}f=C[k>>2];g=C[f+532>>2];if(!C[g+96>>2]){break f}if(Fe[C[g+72>>2]](b,d,c,l,C[f+104>>2],a+76|0,e+60|0)|0){break f}C[a+108>>2]=0;C[a+24>>2]=E[e+62>>1]<<6;C[a+28>>2]=E[e+60>>1]<<6;d=B[e+64>>1];C[a+32>>2]=d<<6;f=B[e+66>>1];C[a+36>>2]=f<<6;C[a+40>>2]=E[e+68>>1]<<6;g=B[e+70>>1];C[a+44>>2]=g<<6;h=B[e+72>>1];C[a+48>>2]=h<<6;i=E[e+74>>1];j=f;f=l&16;C[a+104>>2]=f?h:j;C[a+100>>2]=f?g:d;C[a+72>>2]=1651078259;C[a+52>>2]=i<<6;Fe[C[C[b+532>>2]+112>>2]](b,0,c,e+20|0,e+40|0);C[a+56>>2]=E[e+40>>1];if(!(!D[b+292|0]|!E[b+330>>1])){Fe[C[C[b+532>>2]+112>>2]](b,1,c,e+20|0,e+40|0);C[a+60>>2]=E[e+40>>1];break e}if(E[b+364>>1]!=65535){C[a+60>>2]=B[b+434>>1]-B[b+436>>1];break e}C[a+60>>2]=B[b+220>>1]-B[b+222>>1];break e}d=6;if(l&16384){break a}h=C[i+1896>>2];g:{if(h){d=0;h:{i:{switch(D[i+2924|0]){case 0:d=D[C[i+2932>>2]+c|0];break h;case 3:break i;default:break h}}if(F[i+2944>>2]>c-C[i+2940>>2]>>>0){d=D[i+2948|0];break h}d=C[i+2932>>2];j=d+C[i+2936>>2]|0;f=D[d+1|0]|D[d|0]<<8;d=d+2|0;while(1){if(c>>>0>=f>>>0){g=D[d+2|0]|D[d+1|0]<<8;if(g>>>0>c>>>0){d=D[d|0];A[i+2948|0]=d;C[i+2944>>2]=g-f;C[i+2940>>2]=f;break h}f=g;d=d+3|0;if(j>>>0>d>>>0){continue}}break}d=0}h=(i+(((h>>>0>(d&255)>>>0?d:h-1|0)&255)<<2)|0)+1900|0;d=C[h>>2];f=C[d+68>>2];g=C[i+1392>>2];j=C[d+60>>2];C[e+48>>2]=C[d+56>>2];C[e+52>>2]=j;j=C[d+52>>2];C[e+40>>2]=C[d+48>>2];C[e+44>>2]=j;d=C[h>>2];m=C[d+72>>2];n=C[d+76>>2];if((f|0)==(g|0)){break g}u=a,v=of(C[a+164>>2],g,f),C[u+164>>2]=v;u=a,v=of(C[a+168>>2],g,f),C[u+168>>2]=v;q=1;break g}d=i+1380|0;f=C[d+4>>2];C[e+48>>2]=C[d>>2];C[e+52>>2]=f;d=i+1372|0;f=C[d+4>>2];C[e+40>>2]=C[d>>2];C[e+44>>2]=f;n=C[i+1400>>2];m=C[i+1396>>2]}f=0;C[a+108>>2]=0;C[a+72>>2]=1869968492;r=l&1;A[a+161|0]=!r;h=l&2;o=!h;A[a+160|0]=o;d=C[b+656>>2];p(e+72|0,0,728);C[e+68>>2]=a;C[e+64>>2]=b;A[e+125|0]=1;C[e+60>>2]=C[b+100>>2];g=C[C[a+156>>2]>>2];C[e+72>>2]=g;C[e+80>>2]=g+56;C[e+76>>2]=g+20;Wi(g);C[e+128>>2]=0;C[e+132>>2]=0;g=l>>>16|0;if(!(h|!k)){C[e+132>>2]=C[C[k+40>>2]>>2];C[e+128>>2]=C[C[a+156>>2]+36>>2]}h=g&15;C[e+100>>2]=0;C[e+104>>2]=0;C[e+92>>2]=0;C[e+96>>2]=0;C[e+84>>2]=0;C[e+88>>2]=0;C[e+136>>2]=d;g=C[d+92>>2];C[e+760>>2]=g;C[e+776>>2]=C[d+1308>>2];j:{if(C[d+1368>>2]==1){break j}f=107;if(g>>>0<1240){break j}f=g>>>0<33900?1131:32768}C[e+788>>2]=h;C[e+768>>2]=f;if(l&256){A[e+621|0]=1}A[e+126|0]=0;d=C[C[b+128>>2]+48>>2];k:{if(d){d=Fe[C[C[d>>2]>>2]](C[d+4>>2],c,e+20|0)|0;C[e+12>>2]=C[e+20>>2];C[e+36>>2]=C[e+24>>2];break k}d=Qm(C[b+656>>2]+1176|0,c,e+12|0,e+36|0)}if(d){break a}j=C[C[e+64>>2]+656>>2];s=C[j+1896>>2];l:{if(!s){d=j+1324|0;break l}g=0;m:{n:{switch(D[j+2924|0]){case 0:g=D[C[j+2932>>2]+c|0];break m;case 3:break n;default:break m}}if(F[j+2944>>2]>c-C[j+2940>>2]>>>0){g=D[j+2948|0];break m}d=C[j+2932>>2];t=d+C[j+2936>>2]|0;f=D[d+1|0]|D[d|0]<<8;d=d+2|0;while(1){if(c>>>0>>0){break m}h=D[d+2|0]|D[d+1|0]<<8;if(h>>>0>c>>>0){g=D[d|0];A[j+2948|0]=g;C[j+2944>>2]=h-f;C[j+2940>>2]=f;break m}f=h;d=d+3|0;if(t>>>0>d>>>0){continue}break}}d=3;if(g>>>0>=s>>>0){break a}d=C[(j+(g<<2)|0)+1900>>2];if(!k|!C[e+128>>2]){break l}C[e+132>>2]=C[(C[k+40>>2]+(g<<2)|0)+4>>2]}g=C[d+544>>2];C[e+756>>2]=g;C[e+772>>2]=C[d+568>>2];f=0;o:{if(C[C[e+136>>2]+1368>>2]==1){break o}f=107;if(g>>>0<1240){break o}f=g>>>0<33900?1131:32768}C[e+764>>2]=f;C[e+612>>2]=C[d+528>>2];f=C[d+532>>2];C[e+796>>2]=d;C[e+616>>2]=f;h=C[e+36>>2];d=yy(e+60|0,C[e+12>>2],h);if((d&255)==164){o=0;A[a+160|0]=0;q=1;d=yy(e+60|0,C[e+12>>2],h)}f=C[C[b+128>>2]+48>>2];p:{if(f){C[e+24>>2]=h;C[e+20>>2]=C[e+12>>2];Fe[C[C[f>>2]+4>>2]](C[f+4>>2],e+20|0);break p}f=C[b+656>>2];if(C[f+1204>>2]){break p}Wf(C[f+1176>>2],e+12|0)}if(d){break a}f=0;g=0;d=C[C[b+128>>2]+48>>2];q:{if(!d){f=C[i+1200>>2];if(!f){break q}g=h;f=(C[i+1204>>2]+C[f+(c<<2)>>2]|0)-1|0}C[a+140>>2]=g;C[a+136>>2]=f}f=C[e+68>>2];if(f){d=C[e+76>>2];g=C[d+4>>2];C[f+108>>2]=C[d>>2];C[f+112>>2]=g;C[f+124>>2]=C[d+16>>2];g=C[d+12>>2];C[f+116>>2]=C[d+8>>2];C[f+120>>2]=g;d=C[C[b+128>>2]+48>>2]}r:{if(!d){break r}f=C[C[d>>2]+8>>2];if(!f){break r}C[e+24>>2]=0;C[e+20>>2]=C[e+92>>2];g=C[e+104>>2];C[e+28>>2]=C[e+100>>2];C[e+32>>2]=g;d=Fe[f|0](C[d+4>>2],c,0,e+20|0)|0;C[e+92>>2]=C[e+20>>2];f=C[e+32>>2];C[e+100>>2]=C[e+28>>2];C[e+104>>2]=f;if(d){break a}}if(l&1024){C[a+32>>2]=C[e+92>>2];C[a+40>>2]=C[e+612>>2];b=C[e+48>>2];c=C[e+52>>2];d=C[e+40>>2];f=C[e+44>>2];a=C[a+156>>2];C[a+28>>2]=m;C[a+32>>2]=n;A[a+8|0]=1;C[a+20>>2]=b;C[a+24>>2]=c;C[a+12>>2]=d;C[a+16>>2]=f;break e}s:{if(E[b+250>>1]){B[e+20>>1]=0;B[e+12>>1]=0;Fe[C[C[b+532>>2]+112>>2]](b,0,c,e+20|0,e+12|0);d=E[e+12>>1];C[a+32>>2]=B[e+20>>1];break s}d=C[e+612>>2]}C[a+56>>2]=d;C[a+40>>2]=d;A[C[a+156>>2]+8|0]=0;t:{if(!(!D[b+292|0]|!E[b+330>>1])){B[e+20>>1]=0;B[e+12>>1]=0;Fe[C[C[b+532>>2]+112>>2]](b,1,c,e+20|0,e+12|0);C[a+48>>2]=B[e+20>>1];d=E[e+12>>1];C[a+52>>2]=d;f=1;break t}if(E[b+364>>1]!=65535){d=B[b+434>>1]-B[b+436>>1]|0}else{d=B[b+220>>1]-B[b+222>>1]|0}C[a+52>>2]=d;f=0}C[a+72>>2]=1869968492;C[a+60>>2]=d;g=a+108|0;C[a+124>>2]=k?E[k+14>>1]<24?260:4:4;u:{if(!(C[e+44>>2]|(C[e+40>>2]!=65536|C[e+52>>2]!=65536))){if(!C[e+48>>2]){break u}}Ui(g,e+40|0)}if(m|n){Pg(g,m,n)}c=C[a+40>>2];C[e+16>>2]=0;C[e+12>>2]=c;c=e+12|0;d=e+40|0;Yh(c,d);C[a+40>>2]=C[e+12>>2]+m;C[e+12>>2]=0;C[e+16>>2]=C[a+52>>2];Yh(c,d);C[a+52>>2]=C[e+16>>2]+n;if(!(!q&r)){h=C[a+168>>2];i=C[a+164>>2];v:{if(C[e+128>>2]?o:0){break v}c=B[a+110>>1];if((c|0)<=0){break v}c=c&65535;d=C[a+112>>2];while(1){u=d,v=Te(C[d>>2],i),C[u>>2]=v;u=d,v=Te(C[d+4>>2],h),C[u+4>>2]=v;d=d+8|0;j=c>>>0>1;c=c-1|0;if(j){continue}break}}u=a,v=Te(C[a+40>>2],i),C[u+40>>2]=v;u=a,v=Te(C[a+52>>2],h),C[u+52>>2]=v}Zh(g,e+20|0);c=C[e+20>>2];C[a+24>>2]=C[e+28>>2]-c;d=C[e+32>>2];C[a+28>>2]=d-C[e+24>>2];if(!E[b+250>>1]){C[a+32>>2]=c}C[a+36>>2]=d;if(f){C[a+44>>2]=C[a+32>>2]+(C[a+40>>2]/-2|0);break e}if(!(l&16)){break e}ik(a+24|0,C[a+52>>2])}d=0}Ce=e+800|0;return d|0}function LG(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ce-32|0;Ce=k;a:{if(!C[c+80>>2]){break a}if(!Hf(c,b,13633,0)){break a}p=C[c+80>>2];b:{if(!p){break b}e=p-1|0;f=C[c+92>>2];i=D[f+15|0];while(1){c:{if((d|0)==(e|0)){d=p;break c}d=d+1|0;if((i|0)==D[(f+I(d,20)|0)+15|0]){continue}}break}if(!p){break b}j=C[c+92>>2];i=0;while(1){o=C[a+112>>2];h=d;d:{if(d>>>0<=i>>>0){break d}d=i;f=C[o+8>>2];if(!f){break d}while(1){e=I(d,20)+j|0;e:{if((f|0)!=C[e>>2]){break e}m=E[e+12>>1];if((m&96)!=96){break e}B[e+12>>1]=m&65439;A[e+18|0]=4}d=d+1|0;if((h|0)!=(d|0)){continue}break}}m=C[o+88>>2];q=(m|0)!=0;f=i;f:{g:{if(h>>>0<=f>>>0){m=i+1|0;if(m>>>0>>0){break g}break f}h:{while(1){d=f+1|0;if(D[(I(f,20)+j|0)+19|0]>=4){i:{if(!m){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){g=I(e,20)+j|0;if(m&C[g+4>>2]){q=1;if((E[g+12>>1]&112)==48){break i}j:{while(1){d=I(e,20)+j|0;if(D[d+12|0]&32|D[d+18|0]!=4){break j}e=e+1|0;if(h>>>0>e>>>0){continue}break}e=h}f=e;A[(I(e,20)+j|0)+19|0]=4;d=e+1|0;q=0;break i}q=1;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k:{if(C[c+56>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){l:{if(d>>>0>=h>>>0){break l}while(1){e=I(d,20)+j|0;if(D[e+12|0]&32){break l}e=D[e+18|0];if(e>>>0>31|!(1<>>0>>0?h:e)-1|0;m:{while(1){m=d;d=d+1|0;if(h>>>0<=d>>>0){m=e;break m}g=I(d,20)+j|0;if(D[g+12|0]&32){break m}n=D[g+18|0];l=1<>>0>31;if(!(l&96?n:1)){continue}break}if(!(l&727046)|n|D[g+19|0]!=8){break m}A[g+19|0]=4;f=d}d=m+2|0;if(h>>>0>d>>>0){continue}break}}if(f>>>0<=i>>>0){break h}f=f-(D[(I(f,20)+j|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(h|0)){continue}break}f=h}n:{if(!((f|0)!=(h|0)|f>>>0<=i>>>0)){f=h;d=f-1|0;e=I(d,20)+j|0;if(D[e+12|0]&32){break n}f=D[e+18|0]==6?d:h}if(f>>>0<=i>>>0|f>>>0>=h>>>0){break n}while(1){d=I(f,20)+j|0;if(D[d+12|0]&32){break n}d=D[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}m=i+1|0;f=i;break g}m=i+1|0;n=m>>>0>=h>>>0;o:{if(n|f>>>0<=i>>>0){break o}d=((f|0)==(h|0)?-2:-1)+f|0;p:{q:{e=C[c+56>>2];if((e|0)==1298954605|(e|0)==1415671148){break q}while(1){e=1;r:{if(d>>>0<=i>>>0){break r}while(1){s:{g=I(d,20)+j|0;if(D[g+12|0]&32){break s}g=D[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}d=i}g=I(d,20)+j|0;if(D[g+12|0]&32|D[g+18|0]!=4|D[g+19|0]==2){break p}g=d+1|0;if(g>>>0>=h>>>0|(D[(I(g,20)+j|0)+18|0]!=6|e)){break q}d=d-1|0;continue}}if(D[(I(d,20)+j|0)+19|0]==2|d>>>0<=i>>>0){break p}e=d;while(1){l=d-1|0;g=I(l,20)+j|0;if(D[g+19|0]==2){C[k+24>>2]=C[g+16>>2];r=C[g+12>>2];C[k+16>>2]=C[g+8>>2];C[k+20>>2]=r;r=C[g+4>>2];C[k+8>>2]=C[g>>2];C[k+12>>2]=r;Yf(g,I(d,20)+j|0,I(e-l|0,20));d=I(e,20)+j|0;C[d+16>>2]=C[k+24>>2];g=C[k+20>>2];C[d+8>>2]=C[k+16>>2];C[d+12>>2]=g;g=C[k+12>>2];C[d>>2]=C[k+8>>2];C[d+4>>2]=g;f=f-(f>>>0>l>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>h>>>0?h:d;if(d-e>>>0>=2){fg(c,e,d)}e=e-1|0}d=l;if(i>>>0>>0){continue}break}break o}e=i;while(1){if(D[(I(e,20)+j|0)+19|0]==2){d=f+1|0;d=d>>>0>h>>>0?h:d;if(d-e>>>0<2){break o}fg(c,e,d);break g}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(n){break f}}l=I(i,20)+j|0;if(D[l+19|0]!=1|(D[l+18|0]==15|0)==((E[l+12>>1]&96)==32|0)){break f}g=C[C[o>>2]+16>>2];t:{u:{if((g|0)==12){break u}v:{w:{x:{d=m;if(f>>>0>d>>>0){while(1){e=d+1|0;n=I(d,20)+j|0;if(!(D[n+12|0]&32)&D[n+18|0]==4){break x}d=e;if((f|0)!=(d|0)){continue}break}}switch(g-5|0){case 4:break v;case 0:break w;default:break u}}if(e>>>0>=f>>>0){break t}g=I(e,20)+j|0;if(D[g+12|0]&32){break t}n=d;d=D[g+18|0];d=d>>>0<32&(1<>>0>>0?h:d)-1|0;e=f;while(1){y:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break y}if(D[(I(e,20)+j|0)+19|0]<6){continue}}break}if(d>>>0>=h>>>0){break u}break t}d=f+1|0;g=(d>>>0>>0?h:d)-1|0;e=f;while(1){z:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break z}n=D[(I(e,20)+j|0)+19|0];if(n>>>0>31|!(1<>>0>>0){break t}}A:{d=m;if(f>>>0<=d>>>0){break A}while(1){B:{e=d+1|0;g=I(d,20)+j|0;if(!(D[g+12|0]&32)&D[g+18|0]==4){break B}d=e;if((f|0)!=(d|0)){continue}break A}break}if(e>>>0>=f>>>0){break t}g=I(e,20)+j|0;if(D[g+12|0]&32){break t}n=d;d=D[g+18|0];d=d>>>0<32&(1<>>0>i>>>0?i:d;d=h;while(1){C:{d=d-1|0;if(i>>>0>=d>>>0){d=e;break C}if(D[(I(d,20)+j|0)+19|0]==14){continue}}break}if(D[o+5|0]){break t}e=I(d,20)+j|0;if(D[e+12|0]&32|D[e+18|0]!=4){break t}e=f+1|0;if(e>>>0>=d>>>0){break t}while(1){d=d-(D[(I(e,20)+j|0)+18|0]==7)|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}e=d+1|0;if(e-i>>>0>=2){fg(c,i,e)}C[k+24>>2]=C[l+16>>2];e=C[l+12>>2];C[k+16>>2]=C[l+8>>2];C[k+20>>2]=e;e=C[l+4>>2];C[k+8>>2]=C[l>>2];C[k+12>>2]=e;Yf(l,I(m,20)+j|0,I(d-i|0,20));e=I(d,20)+j|0;C[e+16>>2]=C[k+24>>2];g=C[k+20>>2];C[e+8>>2]=C[k+16>>2];C[e+12>>2]=g;g=C[k+12>>2];C[e>>2]=C[k+8>>2];C[e+4>>2]=g;f=f-(f>>>0>i>>>0&d>>>0>=f>>>0)|0}D:{if(!q){break D}d=f+1|0;if(h>>>0<=d>>>0){break D}e=C[o+88>>2];E:{F:{while(1){G:{g=I(d,20)+j|0;if(e&C[g+4>>2]){if((E[g+12>>1]&96)!=32){break D}e=C[c+56>>2];if((e|0)==1298954605|(e|0)==1415671148){break G}e=f;if(i>>>0>=e>>>0){break F}while(1){e=f;f=e-1|0;l=I(f,20)+j|0;H:{if(D[l+12|0]&32){break H}l=D[l+18|0];if(l>>>0>31){break H}if(1<>>0>i>>>0){continue}break}e=i;break E}d=d+1|0;if((h|0)!=(d|0)){continue}break D}break}e=f}if(e>>>0<=i>>>0){break E}f=I(e,20)+j|0;l=f-20|0;if(D[l+12|0]&32|D[l+18|0]!=4|(D[f+12|0]&32|e>>>0>=h>>>0)){break E}l=e;e=D[f+18|0];e=l+(e>>>0<32&(1<>>0>=2){fg(c,e,f)}C[k+24>>2]=C[g+16>>2];f=C[g+12>>2];C[k+16>>2]=C[g+8>>2];C[k+20>>2]=f;f=C[g+4>>2];C[k+8>>2]=C[g>>2];C[k+12>>2]=f;f=I(e,20)+j|0;Yf(f+20|0,f,I(d-e|0,20));C[f+16>>2]=C[k+24>>2];d=C[k+20>>2];C[f+8>>2]=C[k+16>>2];C[f+12>>2]=d;d=C[k+12>>2];C[f>>2]=C[k+8>>2];C[f+4>>2]=d}d=I(i,20)+j|0;I:{if(D[d+19|0]!=2){break I}J:{if(i){e=i-1|0;if(1<>1]&8190){break J}}C[d+4>>2]=C[d+4>>2]|C[o+116>>2];break I}Sf(c,e,m)}K:{if(!D[o+5|0]){break K}d=C[a+4>>2];if((d|0)==1399418472|(d|0)==1415671148|h-i>>>0<2){break K}fg(c,i,h)}f=C[c+80>>2];d=h+1|0;e=d>>>0>>0?f:d;j=C[c+92>>2];i=D[(j+I(h,20)|0)+15|0];d=h;while(1){L:{d=d+1|0;if(f>>>0<=d>>>0){d=e;break L}if((i|0)==D[(I(d,20)+j|0)+15|0]){continue}}break}i=h;if(h>>>0

>>0){continue}break}}Hf(c,b,13662,0)}Ce=k+32|0}function Nj(a){var 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;if(!C[105657]){m=422628,n=zj(),C[m>>2]=n}C[105732]=128;C[105731]=422944;C[105730]=0;uz();a=a>>>4&512|a;i=a&560?a|16384:a;if(i&16384){a=D[418126];if(!a){Yg(24207,367,0);Yg(24068,368,0);Yg(26279,369,0);Yg(25812,370,0);qf(771,0);qf(770,0);qf(513,0);C[94750]=1;a=Ce-144|0;Ce=a;a:{if(bg(24092,0)){break a}qi(2,0,a+4|0);if(!C[a+4>>2]){C[a+4>>2]=591;qi(2,a+4|0,0)}qi(15,0,a+4|0);if(C[a+4>>2]){break a}C[a+4>>2]=591;qi(15,a+4|0,0)}Ce=a+144|0;a=D[418126]}A[418126]=a+1;h=16384}if(i&1){a=D[418112];if(!a){a=D[418112]}A[418112]=a+1;h=h|1}b:{if(i&32){a=D[418117];if(!a){g=Ce-16|0;Ce=g;if(C[105780]){Zm()}uz();e=-1;c:{if((Nj(16384)|0)<0){break c}a=Ce-2048|0;Ce=a;gf(a,172112,2048);C[a+144>>2]=55;C[a+148>>2]=56;C[a+136>>2]=53;C[a+140>>2]=54;C[a+128>>2]=51;C[a+132>>2]=52;C[a+120>>2]=49;C[a+124>>2]=50;C[a+152>>2]=57;C[a+156>>2]=48;if(sg(420576,a,2048)){gf(420576,a,2048)}Ce=a+2048|0;mf(422640,0,180);Yg(26907,380,422640);Yg(23844,381,422640);Yg(27212,382,422640);Yg(27241,383,422640);Yg(23924,384,422640);Yg(23901,385,422640);Yg(26861,386,422640);Yg(25189,387,422640);C[105703]=1;C[105692]=0;d:{e:{b=Eg(24626);f:{if(b){g:{if(D[b|0]){if(!D[b|0]){break g}a=b;while(1){f=jh(a,44);h:{if(f){d=f-a|0;break h}d=af(a)}j=1;c=0;i:{if((af(C[95620])|0)!=(d|0)){break i}c=0;if(Rg(C[95620],a,d)){break i}j=0;c=Fe[C[95622]]()|0}if(!f|!D[f+1|0]){break g}a=f+1|0;if(!c){continue}break}break g}c=Fe[C[95622]]()|0}if(c){break f}C[g>>2]=b;Qe(17902,g);break d}c=Fe[C[95622]]()|0;if(!c){break e}}C[105780]=c;C[c>>2]=C[C[(j<<2)+196524>>2]>>2];C[C[105780]+392>>2]=1;a=C[105780];C[a+348>>2]=0;C[a+408>>2]=3;C[a+412>>2]=3;C[a+776>>2]=0;C[a+416>>2]=2;C[a+420>>2]=0;C[a+440>>2]=0;C[a+444>>2]=0;C[a+432>>2]=0;C[a+436>>2]=1;C[a+424>>2]=16;C[a+428>>2]=0;C[a+448>>2]=0;C[a+452>>2]=0;C[a+456>>2]=0;C[a+460>>2]=0;C[a+464>>2]=0;C[a+468>>2]=0;C[a+512>>2]=1;C[a+516>>2]=0;b=a+488|0;C[b>>2]=4;c=a+480|0;C[c>>2]=0;C[a+472>>2]=-1;C[a+476>>2]=2;d=C[a+232>>2];if(d){Fe[d|0](a,b,a+476|0,c);a=C[105780]}C[a+508>>2]=0;C[a+484>>2]=0;C[a+500>>2]=0;C[a+504>>2]=0;C[a+492>>2]=0;C[a+496>>2]=1;a=C[105728];C[105728]=a+1;C[C[105780]+788>>2]=a+1;b=C[105728];C[105728]=b+1;a=C[105780];C[a+792>>2]=b+1;if((Fe[C[a+4>>2]](a)|0)<0){Zm();break c}if(!C[C[105780]+372>>2]){Zm();e=Qe(5912,0);break c}j:{k:{if(bg(24642,0)){break k}a=C[105780];if(!a){break j}if(C[a+360>>2]){break k}C[a+360>>2]=1;b=C[a+284>>2];if(!b){break k}Fe[b|0](a)}a=C[105780];if(!a){break j}b=C[a+308>>2];if(!b){break j}e=0;if(Fe[b|0](a)|0){break c}}qf(771,1);qf(770,1);a=C[105780];l:{if(!a){break l}b=C[a+380>>2];m:{if(!b){break m}n:{while(1){if(!(D[b+49|0]&2)){b=C[b+172>>2];if(b){continue}break n}break}c=C[a+312>>2];if(!c){break m}Fe[c|0](a,b);a=C[105780]}if(!a){break l}}b=C[a+288>>2];if(!b){break l}Fe[b|0](a)}e=0;break c}Qe(18943,0)}qz();Gr();Mj(16384)}Ce=g+16|0;if((e|0)<0){break b}a=D[418117]}A[418117]=a+1;h=h|32}if(i&16){a=D[418116];if(!a){c=0;e=0;f=Ce-16|0;Ce=f;if(C[104538]){os()}mf(418272,0,64);o:{p:{q:{r:{s:{t:{u:{b=Eg(24610);if(!b){b=0;e=1;break u}if(!D[b|0]){break u}a=b;while(1){if(!(c|!D[a|0])){g=jh(a,44);v:{if(g){c=g-a|0;break v}c=af(a)}w:{x:{y:{if((af(C[94745])|0)!=(c|0)){break y}if(Rg(C[94745],a,c)){break y}a=378980;break x}z:{if((af(C[94737])|0)!=(c|0)){break z}if(Rg(C[94737],a,c)){break z}a=378948;break x}d=0;if((af(C[94741])|0)!=(c|0)){break w}d=0;if(Rg(C[94741],a,c)){break w}a=378964}mf(418152,0,120);C[104538]=C[a>>2];C[104539]=C[a+4>>2];e=1;d=Fe[C[a+8>>2]](418160)|0}c=d;a=g+1|0;if(g){continue}}break}if(c){break p}if(!e){break t}break q}a=C[94748];if(!a){mf(418152,0,120);c=C[94746];C[104538]=C[94745];C[104539]=c;if(Fe[C[94747]](418160)|0){break p}}if(!C[94740]){mf(418152,0,120);a=C[94738];C[104538]=C[94737];C[104539]=a;if(Fe[C[94739]](418160)|0){break p}if(C[94744]){break q}break r}if(!C[94744]){break r}if(!a){break q}if(e){break s}}C[f>>2]=b;Qe(17919,f);break q}Qe(18917,0);break q}mf(418152,0,120);a=C[94742];C[104538]=C[94741];C[104539]=a;if(Fe[C[94743]](418160)|0){break p}}mf(418152,0,120);a=-1;break o}m=418244,n=zj(),C[m>>2]=n;a=C[104540];if(!a){C[104540]=256;a=256}if(!C[104541]){C[104541]=257}if(!C[104542]){C[104542]=258}if(!C[104543]){C[104543]=259}if(!C[104544]){C[104544]=260}if(!C[104545]){C[104545]=261}if(!C[104546]){C[104546]=262}if(!C[104547]){C[104547]=263}if(!C[104548]){C[104548]=264}if(!C[104549]){C[104549]=265}if(!C[104550]){C[104550]=266}if(!C[104551]){C[104551]=267}if(!C[104552]){C[104552]=268}if(!C[104553]){C[104553]=269}Fe[a|0]();a=0}Ce=f+16|0;if((a|0)<0){break b}a=D[418116]}A[418116]=a+1;h=h|16}if(i&512){a=D[418121];if(!a){f=Ce-1024|0;Ce=f;wk(31285,0);wk(31833,0);a=Eg(27055);A:{if(!a|!D[a|0]){break A}if(pf(f,a,1024)>>>0>1023){break A}c=gi(f,21803);g=Ce+-64|0;Ce=g;B:{if(!c){Qe(6735,0);break B}a=Fe[C[c>>2]](c)|0;b=a+1|0;b=Fe[C[94762]](b>>>0<=1?1:b)|0;if(b){C[94766]=C[94766]+1}if(!b){Fe[C[c+16>>2]](c)|0;Qe(1110,0);break B}if((Fe[C[c+8>>2]](c,b,a,1)|0)!=1){Fe[C[c+16>>2]](c)|0;if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}Qe(28730,0);break B}Fe[C[c+16>>2]](c)|0;c=a+b|0;A[c|0]=0;if((a|0)>0){e=b;while(1){a=c;d=jh(e,10);if(d){A[d|0]=0;a=d}d=fi(e,28805);C:{if(!d){break C}d=af(28805)+d|0;j=jh(d,44);if(!j){break C}j=j-d|0;if(j+2>>>0>63){break C}k=d;d=j+1|0;pf(g,k,d);if(Rg(g,12362,d)){break C}l=((wk(e,1)|0)>0)+l|0}e=a+1|0;if(c>>>0>e>>>0){continue}break}}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}Ce=g- -64|0}b=Eg(26337);if(!(!b|!D[b|0])){c=af(b);a=c+1|0;a=Fe[C[94762]](a>>>0<=1?1:a)|0;if(a){C[94766]=C[94766]+1}gf(a,b,c);A[a+c|0]=0;b=a;e=jh(a,10);if(e){while(1){A[e|0]=0;wk(b,2);b=e+1|0;e=jh(b,10);if(e){continue}break}}wk(b,2);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}Yg(24484,371,0);Yg(23215,372,0);Ce=f+1024|0;if(!C[104880]){m=419520,n=zj(),C[m>>2]=n}Yg(23947,374,0);a=-1;D:{if((Nj(16384)|0)<0){break D}a=Fe[C[95600]]()>>31}if((a|0)<0){break b}a=D[418121]}A[418121]=a+1;h=h|512}if(i&8192){a=D[418125];if(!a){a=0;b=Ce+-64|0;Ce=b;ds(373,0);if((Fe[C[95601]]()|0)>0){while(1){if(xn(a)){C[b+16>>2]=a;C[b+8>>2]=1619;Df(b+8|0)}a=a+1|0;if((Fe[C[95601]]()|0)>(a|0)){continue}break}}Ce=b- -64|0;a=D[418125]}A[418125]=a+1;h=h|8192}if(i&4096){Qe(3581,0);break b}if(i&32768){a=D[418127];if(!a){if(!C[105710]){m=422840,n=zj(),C[m>>2]=n}a=-1;E:{if((Nj(16384)|0)<0){break E}a=Fe[C[95589]]()>>31}if((a|0)<0){break b}a=D[418127]}A[418127]=a+1}return 0}Mj(h);return-1}function cQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ce-16|0;Ce=g;C[g+4>>2]=0;f=C[e+32>>2];j=C[f+278664>>2];a:{b:{c:{d:{if(cf(a,23363,7)){break d}e:{c=D[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}C[g+12>>2]=0;d=C[f+88>>2];i=d;d=(c?-8:-7)+b|0;h=d+1|0;i=Ve(j,1,i,i+h|0,C[f+84>>2],g+12|0);C[f+84>>2]=i;b=C[g+12>>2];if(!b){b=i+C[f+88>>2]|0;t(b,c?a+8|0:a+7|0,d);A[b+d|0]=10;C[f+88>>2]=h+C[f+88>>2];b=C[g+12>>2]}C[g+4>>2]=b;break c}f:{g:{h:{i:{j:{k:{l:{d=C[e>>2];if(!(d&32)){if(cf(a,24115,5)){break l}m:{switch(D[a+5|0]){case 0:case 9:case 10:case 13:case 32:break m;default:break l}}c=e+139304|0;b=Ah(c,32174,a,b);C[g+4>>2]=b;if(b){break b}b=C[C[c>>2]+4>>2];if(!b){break k}d=D[b|0];if(!d){break k}c=213104;h=10;n:{if((d|0)!=48){break n}if((D[b+1|0]|32)!=120){d=48;break n}d=D[b+2|0];c=213072;h=16;b=b+2|0}a=d<<24>>24;if(!(D[((d&248)>>>3|0)+c|0]>>>(a&7)&1)){break k}d=0;while(1){d=D[a+213136|0]+I(d,h)|0;a=A[b+1|0];b=b+1|0;if(D[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}C[f+48>>2]=d;C[e+4>>2]=d;if(!d){break h}if(d>>>0<1114112){break g}c=6;break i}o:{p:{if(cf(a,23266,7)){break p}q:{switch(D[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(cf(a,24797,7)){break r}s:{switch(D[a+7|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}C[e+28>>2]=0;C[e>>2]=d&-4033;break f}h=d&64;if(!(!h|C[e+28>>2]!=-1|C[C[e+36>>2]+4>>2])){break f}t:{if(cf(a,24787,9)){break t}u:{switch(D[a+9|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}c=C[e+24>>2];if(c){Fe[C[j+8>>2]](j,c)}C[e+24>>2]=0;c=e+139304|0;b=Ah(c,32174,a,b);C[g+4>>2]=b;if(b){break b}iy(c);a=hy(c,g+8|0);if(!a){break j}c=C[g+8>>2]+1|0;d=Ve(j,1,0,c,0,g+4|0);C[e+24>>2]=d;b=C[g+4>>2];if(b){break b}t(d,a,c);C[e>>2]=C[e>>2]|64;break f}v:{if(cf(a,26305,8)){break v}w:{switch(D[a+8|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break v}}c=181;if(!h){break i}b=Ah(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}d=C[e+139304>>2];a=gy(C[d+4>>2]);c=(a|0)>=0;b=c?a:-1;C[e+28>>2]=b;x:{y:{z:{A:{if(c){break A}a=b;if(F[e+139312>>2]<3){break A}b=gy(C[d+8>>2]);C[e+28>>2]=b;a=b;if((a|0)<-1){break z}}if((a|0)>1114111){break j}if((a|0)>=0){c=(a>>>3&536870908)+e|0;d=C[c+40>>2];a=1<>2]=-1;B[f+278660>>1]=1;break y}C[c+40>>2]=a|d}if((b|0)<0){break y}a=C[f+52>>2];B:{if((a|0)!=C[f+48>>2]){d=C[f+56>>2];break B}d=Ve(j,36,a,a- -64|0,C[f+56>>2],g+4|0);C[f+56>>2]=d;b=C[g+4>>2];if(b){break b}C[f+48>>2]=C[f+48>>2]- -64;a=C[f+52>>2];b=C[e+28>>2]}C[f+52>>2]=a+1;c=C[e+24>>2];a=I(a,36)+d|0;C[a+4>>2]=b;C[a>>2]=c;break x}C[e+28>>2]=-1}if(C[C[e+36>>2]+4>>2]){a=C[f+64>>2];C:{if((a|0)!=C[f+60>>2]){d=C[f+68>>2];break C}d=Ve(j,36,a,a+4|0,C[f+68>>2],g+4|0);C[f+68>>2]=d;b=C[g+4>>2];if(b){break b}C[f+60>>2]=C[f+60>>2]+4;a=C[f+64>>2]}b=I(a,36)+d|0;C[b>>2]=C[e+24>>2];C[f+64>>2]=a+1;C[b+4>>2]=a;break x}a=C[e+24>>2];if(a){Fe[C[j+8>>2]](j,a)}}C[e+24>>2]=0;C[e>>2]=C[e>>2]&1073741695|128;break f}c=C[e+28>>2]==-1;h=C[(c?64:52)+f>>2]-1|0;i=C[(c?68:56)+f>>2];if(d&2048){b=C[e+8>>2];i=i+I(h,36)|0;if(b>>>0>=E[i+14>>1]){if((d|0)<0){break f}C[e>>2]=d|-2147483648;B[f+278660>>1]=1;break f}c=C[i+28>>2];b=C[i+24>>2]+I(c,b)|0;d=0;h=c<<1;D:{if(!h){c=0;break D}E:{while(1){c=d;k=D[c+a|0];d=k<<24>>24;if(!(D[(k>>>3|0)+213072|0]>>>(d&7)&1)){break E}A[b|0]=D[d+213136|0]+(D[b|0]<<4);d=c+1|0;if(!(!(c&1)|h>>>0<=d>>>0)){A[b+1|0]=0;b=b+1|0}if((d|0)!=(h|0)){continue}break}c=h;break D}d=C[e>>2];if(d&1073741824){break D}C[e>>2]=d|1073741824;B[f+278660>>1]=1}d=E[i+12>>1];if(d){A[b|0]=D[b|0]&D[(I(d,E[C[e+32>>2]+278662>>1])&7)+213264|0]}F:{if((c|0)!=(h|0)){break F}a=D[a+h|0];if(!(D[(a>>>3|0)+213072|0]>>>(a&7)&1)){break F}a=C[e>>2];if(a&1073741824){break F}C[e>>2]=a|1073741824;B[f+278660>>1]=1}C[e+8>>2]=C[e+8>>2]+1;break f}G:{H:{if(cf(a,26036,6)){break H}I:{switch(D[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}if(!(d&128)){break G}b=Ah(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}n=i+I(h,36)|0,o=$k(C[C[e+139304>>2]+4>>2]),B[n+8>>1]=o;C[e>>2]=C[e>>2]|256;break f}J:{if(cf(a,26043,6)){break J}K:{switch(D[a+6|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}if(!(d&128)){break G}b=Ah(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}b=i+I(h,36)|0;c=$k(C[C[e+139304>>2]+4>>2]);B[b+10>>1]=c;a=C[e>>2];if(!(a&256)){n=b,o=of(c&65535,72e3,I(C[f+20>>2],C[f+16>>2])),B[n+8>>1]=o;a=C[e>>2]}C[e>>2]=a|512;break f}L:{if(cf(a,22631,3)){break L}M:{switch(D[a+3|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break L}}if(!(d&128)){break G}b=Ah(e+139304|0,32174,a,b);C[g+4>>2]=b;if(b){break b}a=i+I(h,36)|0;c=C[e+139304>>2];d=Mm(C[c+4>>2]);B[a+12>>1]=d;k=Mm(C[c+8>>2]);B[a+14>>1]=k;b=al(C[c+12>>2]);B[a+16>>1]=b;c=al(C[c+16>>2]);B[a+18>>1]=c;l=0-c|0;B[a+22>>1]=l;c=c+k|0;B[a+20>>1]=c;k=b+d|0;B[e+22>>1]=k;c=c<<16>>16;m=B[e+18>>1];B[e+18>>1]=(c|0)>(m|0)?c:m;c=B[e+20>>1];l=l<<16>>16;B[e+20>>1]=(c|0)>(l|0)?c:l;c=k<<16>>16;k=B[e+16>>1];B[e+16>>1]=(c|0)>(k|0)?c:k;c=B[e+12>>1];B[e+12>>1]=(b|0)<(c|0)?b:c;c=B[e+14>>1];B[e+14>>1]=(b|0)>(c|0)?b:c;b=C[e>>2];if(!(b&512)){B[a+10>>1]=d}N:{if(!C[C[e+36>>2]>>2]){break N}a=i+I(h,36)|0;b=of(E[a+10>>1],72e3,I(C[f+20>>2],C[f+16>>2]));if(E[a+8>>1]==(b&65535)){b=C[e>>2];break N}B[a+8>>1]=b;O:{if(C[e+28>>2]==-1){b=C[f+64>>2]-1|0;a=((b>>>3&536870908)+f|0)+139396|0;break O}b=C[(i+I(h,36)|0)+4>>2];a=((b>>5<<2)+f|0)+132|0}C[a>>2]=C[a>>2]|1<>2];B[f+278660>>1]=1;b=a|4096}C[e>>2]=b|1024;break f}if(cf(a,24981,6)){break j}P:{switch(D[a+6|0]){case 0:case 9:case 10:case 13:case 32:break P;default:break j}}c=183;if(!(d&1024)){break i}a=i+I(h,36)|0;c=I(E[f+278662>>1],E[a+12>>1]);b=c+7>>>3|0;C[a+28>>2]=b;Q:{if(c>>>0<=524280){a=I(b,E[a+14>>1]);if(a>>>0<65536){break Q}}c=184;break i}b=i+I(h,36)|0;B[b+32>>1]=a;n=b,o=Ve(j,1,0,a,0,g+4|0),C[n+24>>2]=o;b=C[g+4>>2];if(b){break b}C[e+8>>2]=0;C[e>>2]=C[e>>2]|2048;break f}c=182;break i}lh(C[f+56>>2],C[f+52>>2],36,841);C[e>>2]=C[e>>2]&-2;break f}c=180;break i}C[e+4>>2]=0;break h}c=3}b=c;C[g+4>>2]=b;break b}d=64;C[f+48>>2]=64}n=f,o=Ve(j,36,0,d,0,g+4|0),C[n+56>>2]=o;b=C[g+4>>2];if(b){break b}C[e>>2]=C[e>>2]|32}b=C[g+4>>2]}if(b){break b}b=0;break a}if(!(D[e|0]&64)){break a}a=C[e+24>>2];if(a){Fe[C[j+8>>2]](j,a)}C[e+24>>2]=0;b=C[g+4>>2]}Ce=g+16|0;return b|0}function cl(a,b,c,d,e,f){var 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,E=0;g=Ce-80|0;Ce=g;o=C[a>>2];a:{if(f){break a}h=C[a+4>>2];if(D[h+12|0]){break a}i=C[d>>2];C[g+68>>2]=0;C[g+72>>2]=0;C[g+60>>2]=0;C[g+64>>2]=0;C[g+52>>2]=0;C[g+56>>2]=0;C[g+48>>2]=i;cl(h,b,c,g+48|0,e,1)}b:{c:{if(D[d+4|0]){break c}h=C[c+20>>2]+C[b+20>>2]|0;if(h>>>0>=97){a=C[d>>2];if(!a|C[a>>2]){break b}C[a>>2]=18;break b}C[d+8>>2]=h;B[d+4>>1]=257;C[d+12>>2]=h+7>>>3;if(!h){break c}c=0;h=-1<<(0-h&7);while(1){A[(c+d|0)+16|0]=255;c=c+1|0;i=C[d+12>>2];if(c>>>0>>0){continue}break}c=d+i|0;A[c+15|0]=h&D[c+15|0];if(!D[d+4|0]){break b}}C[a+20>>2]=0;C[a+24>>2]=0;C[g+72>>2]=C[d+24>>2];h=C[d+20>>2];q=g- -64|0;c=q;C[c>>2]=C[d+16>>2];C[c+4>>2]=h;c=C[d+12>>2];C[g+56>>2]=C[d+8>>2];C[g+60>>2]=c;c=C[d+4>>2];C[g+48>>2]=C[d>>2];C[g+52>>2]=c;s=C[b+20>>2];if(s>>>0>F[d+8>>2]){break b}if(D[o+205|0]){C[g+40>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;c=g+24|0;bl(a,o+244|0,c);bl(a,c,o+224|0)}d:{e:{if(s){m=q;t=128;h=0;while(1){f:{if(!(D[m|0]&t)){break f}n=C[a+16>>2];C[g+40>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;c=h;l=C[b+20>>2];g:{if(c>>>0>>0){break g}c=0;i=C[b+4>>2];if(!i|C[i>>2]){break g}C[i>>2]=130}h:{i:{c=C[b+28>>2]+I(C[b+8>>2],c)|0;j=C[c+8>>2];k=C[c+4>>2];i=j-k|0;if((i|0)==-1376256){k=1}else{if((i|0)==-1310720){C[g+40>>2]=n;C[g+32>>2]=e;k=0;C[g+24>>2]=0;C[g+28>>2]=h;i=e;break i}j=(i|0)<0?j:k;k=4}C[g+40>>2]=n;C[g+24>>2]=k;C[g+28>>2]=h;i=e+j|0;C[g+32>>2]=i;if(!D[c|0]){break i}r=C[c+12>>2];k=k|16;C[g+24>>2]=k;C[g+36>>2]=r;break h}r=Te(i,n);C[g+36>>2]=r;l=C[b+20>>2]}p=C[a+16>>2];C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;c=h;j:{if(l>>>0>c>>>0){break j}c=0;j=C[b+4>>2];if(!j|C[j>>2]){break j}C[j>>2]=130}k:{l:{c=C[b+28>>2]+I(C[b+8>>2],c)|0;n=C[c+8>>2];l=C[c+4>>2];j=n-l|0;if((j|0)==-1310720){n=2}else{if((j|0)==-1376256){C[g+16>>2]=p;C[g+8>>2]=e;n=0;C[g>>2]=0;C[g+4>>2]=h;j=e;break l}l=(j|0)<0?l:n;n=8}C[g>>2]=n;j=C[o+188>>2];C[g+16>>2]=p;C[g+4>>2]=h;j=(e+l|0)+(j<<1)|0;C[g+8>>2]=j;if(!D[c|0]){break l}p=C[c+16>>2];n=n|16;C[g>>2]=n;break k}p=Te(j,p)}C[g+12>>2]=p;m:{if((k|n)&16){break m}w=C[o+200>>2];if(!w){break f}v=C[o+216>>2];x=n&10;y=k&5;c=0;n:{while(1){o:{p:{l=o+I(c,20)|0;if(D[l+280|0]){if(!y|(C[l+264>>2]-v|0)>(i|0)){break p}u=C[l+268>>2];if((u+v|0)<(i|0)){break p}if(D[o+204|0]){c=C[l+276>>2];break o}c=r+32768&-65536;if(C[o+212>>2]>(u-i|0)){break o}i=C[l+276>>2]-65536|0;c=(c|0)<(i|0)?c:i;break o}if(!x){break p}u=C[l+264>>2];if((C[l+268>>2]+v|0)<(j|0)|(u-v|0)>(j|0)){break p}c=C[l+276>>2];q:{if(D[o+204|0]){break q}c=p+32768&-65536;if(C[o+212>>2]>(j-u|0)){break q}i=C[l+276>>2]+65536|0;c=(c|0)>(i|0)?c:i}c=c-p|0;if(!k){break n}C[g+24>>2]=k|16;C[g+36>>2]=c+r;break n}c=c+1|0;if((w|0)!=(c|0)){continue}break f}break}C[g+24>>2]=k|16;C[g+36>>2]=c;if(!n){break m}c=c-r|0}C[g>>2]=n|16;C[g+12>>2]=c+p}bl(a,g+24|0,g);A[m|0]=D[m|0]&(t^-1)}c=(h&7)==7;t=c?128:t>>>1&127;m=c+m|0;h=h+1|0;if((s|0)!=(h|0)){continue}break}if(f){break e}if(!s){break d}l=128;c=0;while(1){if(D[q|0]&l){m=C[a+16>>2];C[g+40>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;i=c;j=C[b+20>>2];r:{if(j>>>0>c>>>0){break r}i=0;h=C[b+4>>2];if(!h|C[h>>2]){break r}C[h>>2]=130}s:{t:{k=C[b+28>>2]+I(C[b+8>>2],i)|0;h=C[k+8>>2];n=C[k+4>>2];i=h-n|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){C[g+40>>2]=m;C[g+32>>2]=e;C[g+24>>2]=0;C[g+28>>2]=c;h=e;break t}h=(i|0)<0?h:n;i=4}C[g+40>>2]=m;C[g+24>>2]=i;C[g+28>>2]=c;h=e+h|0;C[g+32>>2]=h;if(!D[k|0]){break t}h=C[k+12>>2];C[g+24>>2]=i|16;C[g+36>>2]=h;break s}z=g,E=Te(h,m),C[z+36>>2]=E;j=C[b+20>>2]}m=C[a+16>>2];C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;i=c;u:{if(c>>>0>>0){break u}i=0;h=C[b+4>>2];if(!h|C[h>>2]){break u}C[h>>2]=130}v:{w:{i=C[b+28>>2]+I(C[b+8>>2],i)|0;k=C[i+8>>2];j=C[i+4>>2];h=k-j|0;if((h|0)==-1310720){h=2}else{if((h|0)==-1376256){C[g+16>>2]=m;C[g+8>>2]=e;C[g>>2]=0;C[g+4>>2]=c;j=e;break w}j=(h|0)<0?j:k;h=8}C[g>>2]=h;k=C[o+188>>2];C[g+16>>2]=m;C[g+4>>2]=c;j=(e+j|0)+(k<<1)|0;C[g+8>>2]=j;if(!D[i|0]){break w}i=C[i+16>>2];C[g>>2]=h|16;C[g+12>>2]=i;break v}z=g,E=Te(j,m),C[z+12>>2]=E}bl(a,g+24|0,g)}h=(c&7)==7;l=h?128:l>>>1&127;q=h+q|0;c=c+1|0;if((s|0)!=(c|0)){continue}break}break d}if(!f){break d}}c=C[a+20>>2];if(!(!c|C[a+36>>2]>0)&C[(I(c,20)+a|0)+16>>2]>=0){break d}C[g+36>>2]=0;C[g+28>>2]=0;C[g+32>>2]=0;C[g+24>>2]=49;c=C[a+16>>2];C[g+8>>2]=0;C[g+12>>2]=0;C[g+16>>2]=0;C[g>>2]=0;C[g+4>>2]=0;C[g+40>>2]=c;bl(a,g+24|0,g)}C[C[a+8>>2]+20>>2]=0;m=C[a+20>>2];x:{if(!m){break x}c=0;while(1){j=c+1|0;o=I(c,20);n=o+a|0;e=C[n+28>>2];r=e&12;k=r?j:c;y:{if(e&16){break y}h=a+28|0;p=h+o|0;q=C[p+12>>2];e=q&65535;l=e?65536-e|0:0;s=h+I(k,20)|0;t=C[s+12>>2];i=t&65535;h=i?65536-i|0:0;h=h>>>0>l>>>0?l:h;l=(e|0)<(i|0)?e:i;i=0-l|0;z:{A:{if(k>>>0>>0){m=I(k+1|0,20)+a|0;if(C[m+40>>2]<((h+t|0)+32768|0)){break A}}if(!(!c|C[n+20>>2]<=((q-l|0)-32768|0))){e=h;break z}e=h>>>0>l>>>0?i:h;break z}B:{if(c){e=0;if(C[n+20>>2]>((q-l|0)-32768|0)){break B}}e=i;if(h>>>0>>0){break B}break z}if(D[m+28|0]&16){break z}C[g+24>>2]=k;C[g+28>>2]=h-e;my(C[a+8>>2],g+24|0);q=C[p+12>>2]}C[p+12>>2]=e+q;if(!r){break y}C[s+12>>2]=C[s+12>>2]+e}C:{if(!c){break C}e=C[n+36>>2];h=C[n+16>>2];if((e|0)==(h|0)){break C}i=a+28|0;m=i+I(c-1|0,20)|0;z=m,E=Ze(C[(i+o|0)+12>>2]-C[m+12>>2]|0,e-h|0),C[z+16>>2]=E}if(r){c=I(k,20);e=c+a|0;h=C[e+36>>2];e=C[e+16>>2];if((h|0)!=(e|0)){i=a+28|0;m=i+I(k-1|0,20)|0;z=m,E=Ze(C[(c+i|0)+12>>2]-C[m+12>>2]|0,h-e|0),C[z+16>>2]=E}c=j}c=c+1|0;m=C[a+20>>2];if(c>>>0>>0){continue}break}i=C[a+8>>2];e=C[i+20>>2];if(!e){break x}j=C[i+8>>2];m=C[i+28>>2];c=e;while(1){c=c-1|0;l=c;D:{if(c>>>0>>0){break D}l=0;h=C[i+4>>2];if(!h|C[h>>2]){break D}C[h>>2]=130}k=m+I(j,l)|0;h=I(C[k>>2],20)+a|0;k=C[k+4>>2];n=k+C[h+40>>2]|0;E:{if(C[h+60>>2]<(n+32768|0)){break E}C[h+40>>2]=n;if(!(D[h+28|0]&12)){break E}C[h+20>>2]=k+C[h+20>>2]}if(c){continue}break}}F:{if(f){break F}h=C[a+20>>2];if(!h){break F}c=0;while(1){e=I(c,20)+a|0;i=C[e+28>>2];if(!(i&32)){h=C[e+32>>2];G:{if(h>>>0>2]){break G}h=0;f=C[b+4>>2];if(!f|C[f>>2]){break G}C[f>>2]=130;i=C[e+28>>2]}f=C[b+28>>2]+I(C[b+8>>2],h)|0;C[f+(i&10?16:12)>>2]=C[e+40>>2];A[f|0]=1;h=C[a+20>>2]}c=c+1|0;if(h>>>0>c>>>0){continue}break}}A[a+12|0]=1;A[d+5|0]=0}Ce=g+80|0}function hp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=J(0),n=0,o=0,p=0,q=0,r=0,t=J(0),u=0,v=J(0),w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,L=0,M=0,N=0,O=0,P=0,Q=0;g=Ce-4976|0;Ce=g;z=C[b+1288>>2];r=C[b+1296>>2];a:{b:{c:{l=C[b+1284>>2];d:{if((l|0)<=0){break d}if(l>>>0>=8){k=l&-8;while(1){e=f<<2;i=g+1120|0;C[e+i>>2]=-200;C[i+(e|4)>>2]=-200;C[i+(e|8)>>2]=-200;C[i+(e|12)>>2]=-200;C[i+(e|16)>>2]=-200;C[i+(e|20)>>2]=-200;C[i+(e|24)>>2]=-200;C[i+(e|28)>>2]=-200;f=f+8|0;n=n+8|0;if((k|0)!=(n|0)){continue}break}}e=l&7;if(e){while(1){C[(g+1120|0)+(f<<2)>>2]=-200;f=f+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if((l|0)<=0){break d}h=0;f=0;if(l>>>0>=8){k=l&-8;n=0;while(1){e=f<<2;i=g+848|0;C[e+i>>2]=-200;C[i+(e|4)>>2]=-200;C[i+(e|8)>>2]=-200;C[i+(e|12)>>2]=-200;C[i+(e|16)>>2]=-200;C[i+(e|20)>>2]=-200;C[i+(e|24)>>2]=-200;C[i+(e|28)>>2]=-200;f=f+8|0;n=n+8|0;if((k|0)!=(n|0)){continue}break}}e=l&7;if(e){while(1){C[(g+848|0)+(f<<2)>>2]=-200;f=f+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}f=0;if((l|0)<=0){break d}We(g+576|0,0,l<<2);if(l>>>0>=8){k=l&-8;h=0;while(1){e=f<<2;i=g+304|0;C[e+i>>2]=1;C[i+(e|4)>>2]=1;C[i+(e|8)>>2]=1;C[i+(e|12)>>2]=1;C[i+(e|16)>>2]=1;C[i+(e|20)>>2]=1;C[i+(e|24)>>2]=1;C[i+(e|28)>>2]=1;f=f+8|0;h=h+8|0;if((k|0)!=(h|0)){continue}break}}h=l&7;if(h){e=0;while(1){C[(g+304|0)+(f<<2)>>2]=1;f=f+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}h=0;if((l|0)>0){break c}}h=0;if(l){break a}e=0;C[g+1392>>2]=0;C[g+1396>>2]=z;n=0;if((z|0)>0){z=z-1|0;f=0;while(1){h=f;A=f<<2;m=G[A+d>>2];t=J(J(m*J(7.314285755157471))+J(1023.5));e:{if(J(K(t))0?f:0;f=(f|0)>=1023?1023:f;f:{if(!f){break f}i=I(f,h);k=I(f,f);j=I(h,h);if(m<=J(G[c+A>>2]+G[r+1112>>2])){o=o+1|0;q=i+q|0;n=k+n|0;p=j+p|0;u=f+u|0;e=e+h|0;break f}B=B+1|0;x=i+x|0;w=k+w|0;D=j+D|0;y=f+y|0;E=h+E|0}f=h+1|0;if((h|0)!=(z|0)){continue}break}}C[g+1444>>2]=B;C[g+1440>>2]=x;C[g+1436>>2]=w;C[g+1432>>2]=D;C[g+1428>>2]=y;C[g+1424>>2]=E;C[g+1420>>2]=o;C[g+1416>>2]=q;C[g+1412>>2]=n;C[g+1408>>2]=p;C[g+1404>>2]=u;C[g+1400>>2]=e;break b}We(g+32|0,255,l<<2);if((l|0)==1){break a}L=l-2|0;Q=z-1|0;f=C[b>>2];e=0;while(1){k=e+1|0;i=C[(k<<2)+b>>2];j=(g+1392|0)+I(e,56)|0;C[j+48>>2]=0;C[j+52>>2]=0;C[j+40>>2]=0;C[j+44>>2]=0;C[j+32>>2]=0;C[j+36>>2]=0;C[j+24>>2]=0;C[j+28>>2]=0;C[j+16>>2]=0;C[j+20>>2]=0;C[j+8>>2]=0;C[j+12>>2]=0;C[j+4>>2]=i;C[j>>2]=f;p=0;n=0;q=0;E=0;y=0;D=0;u=0;w=0;x=0;B=0;A=0;H=0;O=(i|0)<(z|0)?i:Q;if((O|0)>=(f|0)){while(1){h=f;P=f<<2;m=G[P+d>>2];t=J(J(m*J(7.314285755157471))+J(1023.5));g:{if(J(K(t))0?f:0;f=(f|0)>=1023?1023:f;h:{if(!f){break h}M=I(f,h);N=I(f,f);F=I(h,h);if(m<=J(G[c+P>>2]+G[r+1112>>2])){u=u+1|0;w=w+M|0;x=x+N|0;B=B+F|0;A=f+A|0;H=h+H|0;break h}p=p+1|0;n=n+M|0;q=q+N|0;E=E+F|0;y=f+y|0;D=h+D|0}f=h+1|0;if((h|0)!=(O|0)){continue}break}}C[j+52>>2]=p;C[j+48>>2]=n;C[j+44>>2]=q;C[j+40>>2]=E;C[j+36>>2]=y;C[j+32>>2]=D;C[j+28>>2]=u;C[j+24>>2]=w;C[j+20>>2]=x;C[j+16>>2]=B;C[j+12>>2]=A;C[j+8>>2]=H;o=o+u|0;h=(e|0)!=(L|0);f=i;e=k;if(h){continue}break}}if(!o){h=0;break a}C[g+28>>2]=-200;C[g+24>>2]=-200;gp(g+1392|0,l-1|0,g+28|0,g+24|0,r);e=C[g+28>>2];C[g+1120>>2]=e;C[g+848>>2]=e;f=C[g+24>>2];C[g+852>>2]=f;C[g+1124>>2]=f;f=e;if((l|0)>=3){B=r+836|0;u=2;while(1){n=u<<2;i=C[(n+b|0)+520>>2];e=i<<2;x=C[e+(g+576|0)>>2];k=x<<2;f=k+(g+32|0)|0;w=C[e+(g+304|0)>>2];i:{if(C[f>>2]==(w|0)){break i}e=b+520|0;o=w<<2;z=C[e+o>>2];D=C[e+k>>2];C[f>>2]=w;j:{A=k+(g+848|0)|0;h=C[A>>2];e=C[k+(g+1120|0)>>2];f=h;k:{if((e|0)<0){break k}f=e;if((h|0)<0){break k}f=e+h>>>1|0}p=(f|0)==-1;j=C[o+(g+848|0)>>2];H=o+(g+1120|0)|0;h=C[H>>2];e=j;l:{if((h|0)<0){break l}e=h;if((j|0)<0){break l}e=h+j>>>1|0}j=e;if(!(p|(j|0)==-1)){q=j-f|0;y=C[o+B>>2];h=C[k+B>>2];k=y-h|0;E=(q|0)/(k|0)|0;o=h<<2;m=G[o+d>>2];t=J(J(m*J(7.314285755157471))+J(1023.5));m:{if(J(K(t))0?e:0;e=(e|0)>=1023?1023:e;n:{t=G[r+1112>>2];o:{if(m<=J(G[c+o>>2]+t)){v=J(e|0);m=J(f|0);if(v>J(G[r+1096>>2]+m)|v>2])){break o}}e=f-e|0;o=I(e,e);e=1;h=h+1|0;if((y|0)>(h|0)){e=q>>31;F=(e^q)-e|0;q=I(k,E);p=q>>31;M=F+(p-(q^p)|0)|0;N=e|1;q=0;e=f;while(1){F=h<<2;m=G[F+d>>2];v=J(J(m*J(7.314285755157471))+J(1023.5));p:{if(J(K(v))0?p:0;p=(p|0)>=1023?1023:p;if(!(!(m<=J(t+G[c+F>>2]))|!p)){v=J(p|0);m=J(e|0);if(v>J(G[r+1096>>2]+m)|v>2])){break o}}F=o;o=e-p|0;o=F+I(o,o)|0;q=q-(L?0:k)|0;h=h+1|0;if((y|0)!=(h|0)){continue}break}e=k}m=G[r+1096>>2];t=J(e|0);v=J(J(m*m)/t);m=G[r+1104>>2];if(v>m){break n}v=G[r+1100>>2];if(!(m>>0)/(e>>>0)|0))|m>2]=-200;C[g+16>>2]=-200;C[g+12>>2]=-200;C[g+8>>2]=-200;e=g+1392|0;h=gp(e+I(D,56)|0,i-D|0,g+20|0,g+16|0,r);e=gp(e+I(i,56)|0,z-i|0,g+12|0,g+8|0,r);q:{if(!h){if(!e){break q}C[g+12>>2]=C[g+16>>2];C[g+8>>2]=j;break q}C[g+20>>2]=f;C[g+16>>2]=C[g+12>>2];if(e){break j}}e=C[g+20>>2];C[A>>2]=e;if(!x){C[g+1120>>2]=e}e=C[g+16>>2];C[n+(g+1120|0)>>2]=e;f=C[g+12>>2];C[n+(g+848|0)>>2]=f;h=C[g+8>>2];C[H>>2]=h;if((w|0)==1){C[g+852>>2]=h}if((e&f)<0){break i}e=i;r:{if((e|0)<=0){break r}while(1){f=e-1|0;h=(g+304|0)+(f<<2)|0;if((w|0)!=C[h>>2]){break r}C[h>>2]=u;h=e>>>0>1;e=f;if(h){continue}break}}e=i+1|0;if((l|0)<=(e|0)){break i}while(1){f=(g+576|0)+(e<<2)|0;if((x|0)!=C[f>>2]){break i}C[f>>2]=u;e=e+1|0;if((l|0)!=(e|0)){continue}break}break i}C[n+(g+848|0)>>2]=-200;C[n+(g+1120|0)>>2]=-200;break i}ea(1);s()}C[n+(g+848|0)>>2]=-200;C[n+(g+1120|0)>>2]=-200}u=u+1|0;if((u|0)!=(l|0)){continue}break}f=C[g+1120>>2];e=C[g+848>>2]}h=rg(a,l<<2);s:{if((f|0)<0){break s}if((e|0)<0){e=f;break s}e=e+f>>>1|0}C[h>>2]=e;d=C[g+852>>2];c=C[g+1124>>2];a=d;t:{if((c|0)<0){break t}a=c;if((d|0)<0){break t}a=c+d>>>1|0}C[h+4>>2]=a;if((l|0)<3){break a}d=2;f=r+836|0;while(1){e=d<<2;a=e+b|0;i=C[a+772>>2]<<2;k=C[a+1024>>2]<<2;j=C[k+h>>2]&32767;a=(C[i+h>>2]&32767)-j|0;c=a>>31;o=(a^c)-c|0;c=C[f+k>>2];c=(I(o,C[e+f>>2]-c|0)|0)/(C[f+i>>2]-c|0)|0;i=j+((a|0)<0?0-c|0:c)|0;k=C[e+(g+848|0)>>2];c=C[e+(g+1120|0)>>2];a=k;u:{if((c|0)<0){break u}a=c;if((k|0)<0){break u}a=c+k>>>1|0}c=i|32768;C[e+h>>2]=(a|0)<0?c:(a|0)==(i|0)?c:a;d=d+1|0;if((l|0)!=(d|0)){continue}break}}Ce=g+4976|0;return h}function fo(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,o=0,p=0,q=0,r=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=C[b+12>>2];e=d-2|0;C[b+12>>2]=e;if(!(D[a|0]|D[a+1|0]<<8)|(e|0)<=0){break a}e=a+4|0;if(e>>>0>c>>>0|c-e>>>0<4){break a}c=d-6|0;C[b+12>>2]=c;if((c|0)<=0){break a}n=1;c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!o){break a}h=a+8|0;while(1){c=0;i=C[b+4>>2];d=h+4|0;b:{if(i>>>0>d>>>0){break b}a=C[b+8>>2];if(a>>>0>>0|a-d>>>0<4){break b}e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break b}d=D[h+4|0]|D[h+5|0]<<8|(D[h+6|0]<<16|D[h+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<16|h>>>0>>0|(a>>>0>>0|d>>>0>a-h>>>0)){break b}e=e-d|0;C[b+12>>2]=e;if((e|0)<=0){break b}d=D[h+8|0]|D[h+9|0]<<8|(D[h+10|0]<<16|D[h+11|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(i>>>0>357913940){break b}d=h+16|0;if(i){if(a>>>0>>0){break b}f=a-d|0;a=I(i,12);if(f>>>0>>0){break b}a=e-a|0;C[b+12>>2]=a;if((a|0)<=0){break b}a=D[h+8|0]|D[h+9|0]<<8|(D[h+10|0]<<16|D[h+11|0]<<24);e=I(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24),12)}else{e=0}c=1;a=D[h+12|0]|D[h+13|0]<<8|(D[h+14|0]<<16|D[h+15|0]<<24);p=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!p){break b}g=d+e|0;n=0;while(1){c=0;c:{if(F[b+4>>2]>g>>>0){break c}a=C[b+8>>2];if(a>>>0>>0){break c}e=a-g|0;if(e>>>0<4){break c}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break c}a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>e>>>0){break c}a=d-a|0;C[b+12>>2]=a;if((a|0)<=0){break c}c=C[b+32>>2];a=C[c+12>>2];c=a+C[c+16>>2]|0;C[b+8>>2]=c;d:{if(!(a>>>0<=g>>>0&c>>>0>g>>>0)){C[b+4>>2]=0;a=0;break d}C[b+4>>2]=g;c=c-g|0;a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=(a>>>0>c>>>0?c:a)+g|0}C[b+8>>2]=a;a=1;e:{f:{switch(D[g+7|0]){case 0:f=0;a=g+12|0;g:{h:{if(a>>>0>2]){break h}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break h}e=C[b+12>>2];d=e-16|0;C[b+12>>2]=d;if((d|0)<=0){break h}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<4){break h}d=a+4|0;if(d>>>0>c>>>0|c-d>>>0<4){break h}c=e-20|0;C[b+12>>2]=c;if((c|0)<=0){break h}c=A[d|0];if((c|0)<0){break h}e=0;if(!Eh(a+(D[a+7|0]|(D[a+5|0]<<16|(c&255)<<24|D[a+6|0]<<8))|0,b)){break g}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);k=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(k>>>0>2147483646){break h}c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);m=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);l=a+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;q=k<<1;d=0;j=0;a=0;while(1){c=a;i:{j:{k:{l:{if((d|0)<=(j|0)){i=j+1|0;e=0;if(!(!k|i>>>0<4294967295/(q>>>0)>>>0)){break g}a=I(i,q);m:{if(!a){e=C[b+12>>2];break m}if(l>>>0>2]){break h}e=C[b+8>>2];if(e>>>0>>0|a>>>0>e-l>>>0){break h}e=C[b+12>>2]-a|0;C[b+12>>2]=e;if((e|0)<=0){break h}}a=((j^-1)+d|0)+e|0;C[b+12>>2]=a;if((a|0)<=0|(i>>>0>=4294967295/(k>>>0)>>>0?k:0)){break h}a=I(i,k);if((a|0)<0){break h}d=I(d,k);if((d|0)<(a|0)){break l}d=i}if(!c){break j}a=c;break k}f=l+(a<<1)|0;e=l+(d<<1)|0;a=c;while(1){d=D[e|0]|D[e+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;a=a>>>0>d>>>0?a:d;e=e+2|0;if(f>>>0>e>>>0){continue}break}d=i}f=0;if(m>>>0>2]){break h}e=C[b+8>>2];if(e>>>0>>0){break h}i=e-m|0;e=a<<2;if(i>>>0>>0){break h}e=C[b+12>>2]-e|0;C[b+12>>2]=e;if((e|0)<=0){break h}break i}e=C[b+12>>2];a=c}i=(c-a|0)+e|0;C[b+12>>2]=i;e=0;if((i|0)<=0){break g}if((a|0)>(c|0)){i=m+(a<<2)|0;e=m+(c<<2)|0;while(1){c=D[e|0]|D[e+1|0]<<8;c=(c<<8|c>>>8)&65535;j=(c|0)<(j|0)?j:c;e=e+4|0;if(i>>>0>e>>>0){continue}break}}if((d|0)<=(j|0)){continue}break}f=1}e=f}a=e;break e;case 1:a=0;d=0;e=0;i=Ce-16|0;Ce=i;C[i+12>>2]=0;c=g+12|0;n:{if(!cu(c,b,i+12|0)){break n}k=C[i+12>>2];if(k){a=D[c+12|0]|D[c+13|0]<<8|(D[c+14|0]<<16|D[c+15|0]<<24);m=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=0;while(1){f=m+(d<<3)|0;j=D[f+4|0]|D[f+5|0]<<8;l=((j<<8|j>>>8)&65535)+1|0;a=(j|0)==65535?a:a>>>0>l>>>0?a:l;f=D[f+6|0]|D[f+7|0]<<8;j=((f<<8|f>>>8)&65535)+1|0;a=(f|0)==65535?a:a>>>0>j>>>0?a:j;d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=c+16|0;if(d>>>0>2]){break n}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break n}f=C[b+12>>2]-4|0;C[b+12>>2]=f;if((f|0)<=0){break n}d=A[d|0];if((d|0)<0){break n}d=c+(D[c+19|0]|(D[c+17|0]<<16|(d&255)<<24|D[c+18|0]<<8))|0;c=0;o:{p:{if(a>>>0>1073741822){break p}e=1;if(!a){break o}if(d>>>0>2]){break p}e=C[b+8>>2];if(e>>>0>>0){break p}f=e-d|0;e=a<<2;if(f>>>0>>0){break p}c=C[b+12>>2]-e|0;C[b+12>>2]=c;e=0;q:{if((c|0)<=0){break q}while(1){c=d+(e<<2)|0;if(c>>>0>2]){break q}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break q}f=C[b+12>>2]-4|0;C[b+12>>2]=f;if((f|0)<=0){break q}f=A[c|0];if((f|0)<0){break q}if(!Eh(d+(D[c+3|0]|(D[c+1|0]<<16|(f&255)<<24|D[c+2|0]<<8))|0,b)){break q}c=1;e=e+1|0;if((e|0)!=(a|0)){continue}break}break p}c=0}e=c}}Ce=i+16|0;a=e;break e;case 2:d=0;a=g+12|0;r:{if(a>>>0>2]){break r}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break r}c=C[b+12>>2]-28|0;C[b+12>>2]=c;if((c|0)<=0){break r}if(!bu(a,b)){break r}c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);if(!(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break r}c=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);if(!(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break r}a=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);d=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))!=0}a=d;break e;case 4:a=Eh(g+12|0,b);break e;case 5:break f;default:break e}}a=0;c=g+12|0;if(c>>>0>2]){break e}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<20){break e}d=C[b+12>>2]-20|0;C[b+12>>2]=d;if((d|0)<=0){break e}if(!cu(c,b,0)){break e}a=D[g+28|0]|D[g+29|0]<<8|(D[g+30|0]<<16|D[g+31|0]<<24);a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))!=0}c=a;a=C[b+32>>2];d=C[a+12>>2];C[b+4>>2]=d;C[b+8>>2]=d+C[a+16>>2]}if(!c){break b}a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+g|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}}n=c;if(!c){break a}a=D[h+4|0]|D[h+5|0]<<8|(D[h+6|0]<<16|D[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;r=r+1|0;if((r|0)!=(o|0)){continue}break}}return n}function qA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ce-288|0;Ce=e;g=C[a+548>>2];f=ai();c=C[g>>2];a:{if((f|0)!=(c|0)){C[g+468>>2]=0;if((Bh(C[a+204>>2],c)|0)<0){break a}}c=C[a+548>>2];if(!C[c+4>>2]){break a}while(1){if(Fe[C[c+100>>2]]()|0){continue}break}}C[g+412>>2]=0;k=5121;b:{c:{d:{e:{f:{c=C[b+4>>2];if((c|0)<=825382477){j=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}}j=6409;break e}if(C[b+8>>2]){break d}k=0;j=0}f=If(1,44);if(!f){d=_e(0);break b}C[f>>2]=0;d=C[b+4>>2];C[f+12>>2]=k;C[f+8>>2]=j;C[f+32>>2]=0;C[f+36>>2]=0;C[f+28>>2]=(d|0)==842094158|(d|0)==825382478;C[f+24>>2]=(d|0)==1448433993|(d|0)==842094169;C[f+4>>2]=(d|0)==542328143?36197:3553;m=C[b+28>>2];i:{if(C[b+8>>2]!=1){break i}i=C[b+12>>2];j:{if(!(!d|(d&-268435456)==268435456)){c=2;if((d|0)==844715353|(d|0)==1498831189){break j}c=(d|0)==1431918169?2:1;break j}c=d&255}i=I(c,i);C[f+20>>2]=i;h=C[b+16>>2];c=I(h,i);k:{l:{m:{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 l;case 11:break m}}c=(I((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0;break k}c=(I((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0}c=If(1,c);C[f+16>>2]=c;if(c){break i}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}d=_e(0);break b}h=C[a+548>>2];n:{if(!C[h+4>>2]){break n}c=Fe[C[h+100>>2]]()|0;if(!c){break n}d=34979;while(1){d=D[d|0]?d:21640;i=25026;l=c-1280|0;if(l>>>0<=5){i=C[(l<<2)+184380>>2]}C[e+276>>2]=c;C[e+272>>2]=i;C[e+268>>2]=16639;C[e+264>>2]=1498;C[e+260>>2]=21666;C[e+256>>2]=d;Qe(33817,e+256|0);c=Fe[C[h+100>>2]]()|0;if(c){continue}break}}i=m?9729:9728;c=f+36|0;o:{if(C[f+24>>2]){Fe[C[g+92>>2]](1,f+32|0);p:{h=C[a+548>>2];if(!C[h+4>>2]){break p}d=Fe[C[h+100>>2]]()|0;if(!d){break p}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+184380>>2]}C[e+244>>2]=d;C[e+240>>2]=c;C[e+236>>2]=16639;C[e+232>>2]=1503;C[e+228>>2]=21666;C[e+224>>2]=33938;Qe(33817,e+224|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}Fe[C[g+8>>2]](33986);Fe[C[g+20>>2]](C[f+4>>2],C[f+32>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);Fe[C[g+148>>2]](C[f+4>>2],0,j,(C[b+12>>2]+1|0)/2|0,(C[b+16>>2]+1|0)/2|0,0,j,k,0);Fe[C[g+92>>2]](1,c);q:{h=C[a+548>>2];if(!C[h+4>>2]){break q}d=Fe[C[h+100>>2]]()|0;if(!d){break q}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+184380>>2]}C[e+212>>2]=d;C[e+208>>2]=c;C[e+204>>2]=16639;C[e+200>>2]=1515;C[e+196>>2]=21666;C[e+192>>2]=33938;Qe(33817,e+192|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}Fe[C[g+8>>2]](33985);Fe[C[g+20>>2]](C[f+4>>2],C[f+36>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);Fe[C[g+148>>2]](C[f+4>>2],0,j,(C[b+12>>2]+1|0)/2|0,(C[b+16>>2]+1|0)/2|0,0,j,k,0);h=C[a+548>>2];if(!C[h+4>>2]){break o}d=Fe[C[h+100>>2]]()|0;if(!d){break o}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+184380>>2]}C[e+180>>2]=d;C[e+176>>2]=c;C[e+172>>2]=16639;C[e+168>>2]=1525;C[e+164>>2]=21666;C[e+160>>2]=33953;Qe(33817,e+160|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}if(!C[f+28>>2]){break o}Fe[C[g+92>>2]](1,c);r:{h=C[a+548>>2];if(!C[h+4>>2]){break r}d=Fe[C[h+100>>2]]()|0;if(!d){break r}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+184380>>2]}C[e+148>>2]=d;C[e+144>>2]=c;C[e+140>>2]=16639;C[e+136>>2]=1530;C[e+132>>2]=21666;C[e+128>>2]=33938;Qe(33817,e+128|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}Fe[C[g+8>>2]](33985);Fe[C[g+20>>2]](C[f+4>>2],C[f+36>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);Fe[C[g+148>>2]](C[f+4>>2],0,6410,(C[b+12>>2]+1|0)/2|0,(C[b+16>>2]+1|0)/2|0,0,6410,5121,0);h=C[a+548>>2];if(!C[h+4>>2]){break o}c=Fe[C[h+100>>2]]()|0;if(!c){break o}while(1){d=25026;a=c-1280|0;if(a>>>0<=5){d=C[(a<<2)+184380>>2]}C[e+116>>2]=c;C[e+112>>2]=d;C[e+108>>2]=16639;C[e+104>>2]=1540;C[e+100>>2]=21666;C[e+96>>2]=33953;Qe(33817,e+96|0);d=-1;c=Fe[C[h+100>>2]]()|0;if(c){continue}break}break b}Fe[C[g+92>>2]](1,f);s:{h=C[a+548>>2];if(!C[h+4>>2]){break s}d=Fe[C[h+100>>2]]()|0;if(!d){break s}while(1){c=25026;a=d-1280|0;if(a>>>0<=5){c=C[(a<<2)+184380>>2]}C[e+84>>2]=d;C[e+80>>2]=c;C[e+76>>2]=16639;C[e+72>>2]=1547;C[e+68>>2]=21666;C[e+64>>2]=33938;Qe(33817,e- -64|0);d=Fe[C[h+100>>2]]()|0;if(d){continue}break}d=-1;break b}C[b+80>>2]=f;Fe[C[g+8>>2]](33984);Fe[C[g+20>>2]](C[f+4>>2],C[f>>2]);Fe[C[g+152>>2]](C[f+4>>2],10241,i);Fe[C[g+152>>2]](C[f+4>>2],10240,i);Fe[C[g+152>>2]](C[f+4>>2],10242,33071);Fe[C[g+152>>2]](C[f+4>>2],10243,33071);t:{if(C[b+4>>2]==542328143){break t}Fe[C[g+148>>2]](C[f+4>>2],0,j,C[b+12>>2],C[b+16>>2],0,j,k,0);g=C[a+548>>2];if(!C[g+4>>2]){break t}c=Fe[C[g+100>>2]]()|0;if(!c){break t}while(1){d=25026;a=c-1280|0;if(a>>>0<=5){d=C[(a<<2)+184380>>2]}C[e+52>>2]=c;C[e+48>>2]=d;C[e+44>>2]=16639;C[e+40>>2]=1559;C[e+36>>2]=21666;C[e+32>>2]=33953;Qe(33817,e+32|0);d=-1;c=Fe[C[g+100>>2]]()|0;if(c){continue}break}break b}d=0;c=0;u:{if(C[b+8>>2]!=2){break u}g=C[b+16>>2];j=C[b+12>>2];b=C[a+548>>2];c=C[b+228>>2];if(c){while(1){if((j|0)==C[c>>2]&(g|0)==C[c+4>>2]){break u}c=C[c+12>>2];if(c){continue}break}}c=Fe[C[94762]](16)|0;if(c){C[94766]=C[94766]+1}C[c+4>>2]=g;C[c>>2]=j;Fe[C[b+88>>2]](1,c+8|0);C[c+12>>2]=C[b+228>>2];C[b+228>>2]=c}C[f+40>>2]=c;a=C[a+548>>2];if(!C[a+4>>2]){break b}i=Fe[C[a+100>>2]]()|0;if(!i){break b}c=34979;while(1){c=D[c|0]?c:21640;d=25026;b=i-1280|0;if(b>>>0<=5){d=C[(b<<2)+184380>>2]}C[e+20>>2]=i;C[e+16>>2]=d;C[e+12>>2]=16639;C[e+8>>2]=1570;C[e+4>>2]=21666;C[e>>2]=c;Qe(33817,e);d=-1;i=Fe[C[a+100>>2]]()|0;if(i){continue}break}break b}d=Qe(24354,0);break b}d=Qe(19958,0)}Ce=e+288|0;return d|0}function Un(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}g=C[b+12>>2];c=g-4|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=g-6|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[c|0]|D[c+1|0]<<8;b:{if(!d){break b}if(Gi(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[c|0]=0;A[c+1|0]=0}g=0;e=Ce-16|0;Ce=e;h=C[b+4>>2];d=a+6|0;c:{if(h>>>0>d>>>0){break c}k=C[b+8>>2];if(k>>>0>>0|k-d>>>0<2){break c}i=C[b+12>>2];c=i-2|0;C[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break c}c=D[d|0]|D[d+1|0]<<8;if(!c){break c}c=((c<<8|c>>>8)&65535)+a|0;d:{if(c>>>0>>0|c>>>0>k>>>0|k-c>>>0<2){break d}g=i-4|0;C[b+12>>2]=g;if((g|0)<=0){break d}g=D[c|0]|D[c+1|0]<<8;e:{if(!g){break e}if(og(c+((g<<8|g>>>8)&65535)|0,b)){break e}g=C[b+28>>2];if(g>>>0>31){break d}C[b+28>>2]=g+1;if(!D[b+24|0]){break d}A[c|0]=0;A[c+1|0]=0}C[e+12>>2]=c;g=1;if(At(c+2|0,b,e+12|0)){break c}}c=C[b+28>>2];if(c>>>0>31){g=0;break c}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break c}A[d|0]=0;A[d+1|0]=0;g=1}Ce=e+16|0;if(!g){break a}g=0;o=Ce-16|0;Ce=o;e=C[b+4>>2];k=a+8|0;f:{if(e>>>0>k>>>0){break f}d=C[b+8>>2];if(d>>>0>>0|d-k>>>0<2){break f}h=C[b+12>>2];c=h-2|0;C[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break f}c=D[k|0]|D[k+1|0]<<8;if(!c){break f}c=((c<<8|c>>>8)&65535)+a|0;g:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=h-4|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;h:{if(!d){break h}if(og(c+((d<<8|d>>>8)&65535)|0,b)){break h}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}C[o+12>>2]=c;d=0;p=Ce-16|0;Ce=p;h=c+2|0;i:{if(h>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-h>>>0<2){break i}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break i}i=D[h|0]|D[h+1|0]<<8;if(!i){d=1;break i}f=h+2|0;if(f>>>0>c>>>0){break i}f=c-f|0;c=(i<<8|i>>>8)&65535;i=c<<1;if(f>>>0>>0){break i}e=e-i|0;C[b+12>>2]=e;if((e|0)<=0){break i}t=c>>>0<=1?1:c;while(1){i=(h+(r<<1)|0)+2|0;if(i>>>0>2]){d=0;break i}c=C[b+8>>2];if(c>>>0>>0){d=0;break i}if(c-i>>>0<2){d=0;break i}d=C[o+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){d=0;break i}c=D[i|0]|D[i+1|0]<<8;j:{if(!c){break j}e=d+((c<<8|c>>>8)&65535)|0;C[p+12>>2]=e;d=0;k:{l:{m:{if(e>>>0>2]){break m}f=C[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break m}j=C[b+12>>2]-2|0;C[b+12>>2]=j;if((j|0)<=0){break m}m=D[e|0]|D[e+1|0]<<8;c=1;if(!m){break k}c=e+2|0;if(c>>>0>f>>>0){break m}l=f-c|0;c=(m<<8|m>>>8)&65535;f=c<<1;if(l>>>0>>0){break m}f=j-f|0;C[b+12>>2]=f;if((f|0)<=0){break m}u=c>>>0<=1?1:c;m=0;while(1){d=(e+(m<<1)|0)+2|0;if(d>>>0>2]){break l}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break l}f=C[p+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break l}c=D[d|0]|D[d+1|0]<<8;n:{if(!c){break n}o:{p:{q:{f=f+((c<<8|c>>>8)&65535)|0;if(f>>>0>2]){break q}l=C[b+8>>2];if(l>>>0>>0){break q}j=l-f|0;if(j>>>0<2){break q}q=C[b+12>>2];n=q-2|0;C[b+12>>2]=n;c=1;if((n|0)<=0){break q}r:{s:{t:{u:{n=D[f|0]|D[f+1|0]<<8;switch(((n<<8|n>>>8)&65535)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}c=0;if(j>>>0<4){break r}break p}c=0;if(j>>>0<4){break r}break p}if(j>>>0<6){break q}c=q-8|0;C[b+12>>2]=c;if((c|0)<=0){break q}j=f+4|0;if(j>>>0>l>>>0|l-j>>>0<2){break q}l=q-10|0;C[b+12>>2]=l;c=1;if((l|0)<=0){break q}l=D[j|0]|D[j+1|0]<<8;if(!l){break r}if(dj(f+((l<<8|l>>>8)&65535)|0,b)){break r}c=C[b+28>>2];if(c>>>0>31){break q}C[b+28>>2]=c+1;c=0;if(!D[b+24|0]){break r}A[j|0]=0;A[j+1|0]=0;c=1}break o}c=0;break o}c=q-6|0;C[b+12>>2]=c;c=(c|0)>0}if(c){break n}c=C[b+28>>2];if(c>>>0>31){break l}C[b+28>>2]=c+1;if(!D[b+24|0]){break l}A[d|0]=0;A[d+1|0]=0}d=1;m=m+1|0;if((u|0)!=(m|0)){continue}break}}c=d;break k}c=0}if(c){break j}c=C[b+28>>2];if(c>>>0>31){d=0;break i}C[b+28>>2]=c+1;if(!D[b+24|0]){d=0;break i}A[i|0]=0;A[i+1|0]=0}d=1;r=r+1|0;if((t|0)!=(r|0)){continue}break}}Ce=p+16|0;if(d){break f}}c=C[b+28>>2];if(c>>>0>31){g=0;break f}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break f}A[k|0]=0;A[k+1|0]=0;g=1}Ce=o+16|0;if(!g){break a}c=a+10|0;if(c>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[c|0]|D[c+1|0]<<8;v:{if(!d){break v}if(Gi(((d<<8|d>>>8)&65535)+a|0,b)){break v}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[c|0]=0;A[c+1|0]=0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){return 1}g=0;k=Ce-16|0;Ce=k;h=C[b+4>>2];d=a+12|0;w:{if(h>>>0>d>>>0){break w}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break w}i=C[b+12>>2];c=i-2|0;C[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break w}c=D[d|0]|D[d+1|0]<<8;if(!c){break w}c=((c<<8|c>>>8)&65535)+a|0;x:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break x}e=i-4|0;C[b+12>>2]=e;if((e|0)<=0){break x}if((D[c|0]|D[c+1|0]<<8)!=256){break w}C[k+12>>2]=c;y:{z:{e=c+2|0;if(e>>>0>2]){break z}h=C[b+8>>2];if(h>>>0>>0|h-e>>>0<2){break z}i=C[b+12>>2]-2|0;C[b+12>>2]=i;c=1;if((i|0)<=0){break z}f=D[e|0]|D[e+1|0]<<8;A:{if(!f){break A}c=e+2|0;if(c>>>0>h>>>0){break z}j=h-c|0;h=(f<<8|f>>>8)&65535;c=h<<2;if(j>>>0>>0){break z}i=i-c|0;C[b+12>>2]=i;c=0;if((i|0)<=0){break A}i=h>>>0<=1?1:h;h=0;while(1){c=(e+(h<<2)|0)+2|0;if(c>>>0>2]){break z}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break z}f=C[k+12>>2];j=C[b+12>>2]-4|0;C[b+12>>2]=j;if((j|0)<=0){break z}j=A[c|0];if((j|0)<0){break z}j=D[c+3|0]|(D[c+1|0]<<16|(j&255)<<24|D[c+2|0]<<8);B:{if(!j){break B}if(og(f+j|0,b)){break B}f=C[b+28>>2];if(f>>>0>31){break z}C[b+28>>2]=f+1;if(!D[b+24|0]){break z}A[c|0]=0;A[c+1|0]=0;A[c+2|0]=0;A[c+3|0]=0}c=1;h=h+1|0;if((i|0)!=(h|0)){continue}break}}break y}c=0}if(c){break w}}c=C[b+28>>2];if(c>>>0>31){g=0;break w}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break w}A[d|0]=0;A[d+1|0]=0;g=1}Ce=k+16|0;if(!g){break a}s=1;c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break a}s=sv(a+14|0,b,a)}return s}function yy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=Ce+-64|0;Ce=g;C[g+48>>2]=0;f=C[a+76>>2];d=C[f+2972>>2];a:{if(!d){e=C[a>>2];C[f+2976>>2]=796;d=hf(e,504,g+48|0);C[C[a+76>>2]+2972>>2]=d;f=64;if(C[g+48>>2]){break a}C[d+108>>2]=0;C[d+112>>2]=0;C[d+116>>2]=0;C[d+120>>2]=0;f=d+124|0;C[f>>2]=0;C[f+4>>2]=0;C[d>>2]=e;C[d+100>>2]=797;C[d+104>>2]=798;C[d+112>>2]=799;C[d+120>>2]=e;C[d+124>>2]=d+4}C[d+132>>2]=a;C[d+128>>2]=a;e=C[C[a+4>>2]+96>>2];C[g+20>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;C[g+44>>2]=b;C[g+32>>2]=0;C[g+40>>2]=b+c;C[g+36>>2]=b;C[g+12>>2]=0;C[g+16>>2]=0;b=C[a+8>>2];f=D[b+161|0];h=D[b+160|0];b:{if(!h){c=1024;b=1024;break b}c=(C[b+168>>2]+32|0)/64|0;b=(C[b+164>>2]+32|0)/64|0}C[g+20>>2]=c;C[g+8>>2]=b;h=(h|0)!=0;C[d+8>>2]=h;if(!(D[e+32|0]|!f)){C[d+8>>2]=h|2}C[d+144>>2]=C[e+36>>2];C[d+148>>2]=C[e+40>>2];C[d+152>>2]=C[e+44>>2];C[d+156>>2]=C[e+48>>2];C[d+160>>2]=C[e+52>>2];C[d+164>>2]=C[e+56>>2];C[d+168>>2]=C[e+60>>2];C[d+172>>2]=C[e- -64>>2];e=E[C[a+4>>2]+68>>1];C[d+88>>2]=e;if(f){f=36;if((b|0)<=0|(c|0)<=0){break a}f=164;if(e<<16>>16<0){break a}a=Ze(131072e3,e<<16);if((a|0)<(b|0)|(a|0)<(c|0)){break a}a=C[d+132>>2]}C[g+56>>2]=0;C[g+60>>2]=0;f=0;C[g+52>>2]=0;C[d+4>>2]=0;b=C[a+736>>2];if((b|0)!=C[d+136>>2]){C[d+136>>2]=b;f=1}h=E[C[C[a+4>>2]+88>>2]+14>>1]<<16;if((h|0)!=C[d+84>>2]){C[d+84>>2]=h;f=1}q=C[d+96>>2];b=C[d+92>>2];c=C[d+8>>2];A[d+140|0]=c&1;c:{d:{e:{if(!Jg(g+8|0,d+12|0,16)){m=d+142|0;e=c&2;if((e|0)!=D[d+142|0]){break e}if(f){break d}break c}e=C[g+12>>2];C[d+12>>2]=C[g+8>>2];C[d+16>>2]=e;e=C[g+20>>2];C[d+20>>2]=C[g+16>>2];C[d+24>>2]=e;C[d+28>>2]=0;C[d+32>>2]=0;e=C[g+12>>2];C[d+36>>2]=C[g+8>>2];C[d+40>>2]=e;e=C[g+20>>2];C[d+44>>2]=C[g+16>>2];C[d+48>>2]=e;e=C[g+28>>2];C[d+52>>2]=C[g+24>>2];C[d+56>>2]=e;C[d+68>>2]=0;C[d+72>>2]=65536;C[d+60>>2]=65536;C[d+64>>2]=0;m=d+142|0;e=c&2;if((e|0)==D[d+142|0]){break d}}A[m|0]=e}e=C[C[a+736>>2]+388>>2]<<16;C[d+176>>2]=e;c=C[d+88>>2];l=c?c:1e3;c=65536e3/(l|0)|0;if((e|0)<=0){e=Ze(4915200,c);C[d+176>>2]=e}i=d+144|0;f=(h|0)<=262144?262144:h;f:{if((b|0)>0){e=l<<16;if((Ze(e,f)|0)>=(b|0)){b=Ze(e,f)}C[d+184>>2]=0;if(!b|(c|0)<655){break f}C[d+184>>2]=(b|0)/2;break f}uy(c,f,e,d+184|0,0,D[d+142|0],i)}b=C[C[a+736>>2]+384>>2];g:{if(b<<16>0){a=4915200;if(C[d+176>>2]>b<<17){break g}}a=7208960}a=Ze(a,c);C[d+180>>2]=a;uy(c,f,a,d+188|0,q,D[d+142|0],i);a=1;a=C[d+184>>2]?a:C[d+188>>2]!=0;i=0;A[d+192|0]=0;A[d+141|0]=a;a=C[d+132>>2];p(d+200|0,0,304);C[d+196>>2]=C[d+48>>2];w=d,x=Ze(C[C[a+736>>2]+372>>2],65536e3),C[w+208>>2]=x;h=C[a+736>>2];C[d+212>>2]=C[h+376>>2]<<16;C[d+216>>2]=C[h+380>>2]<<16;c=h+180|0;r=D[h+179|0];q=D[h+178|0];l=D[h+177|0];b=D[h+176|0];h:{i:{if(C[h+512>>2]==1){j:{switch(b|0){case 4:if(C[c>>2]<<16>-7864321|C[h+184>>2]<<16>-7864321|(C[h+188>>2]<<16<57671681|C[h+192>>2]<<16<57671681)){break i}break;case 0:break j;default:break i}}C[d+252>>2]=-7864321;a=Te(-7864321,C[d+196>>2]);C[d+244>>2]=49;b=C[d+196>>2];C[d+260>>2]=b;C[d+256>>2]=(a+32768&-65536)-32768;a=(C[d+188>>2]<<1)+57671681|0;C[d+232>>2]=a;a=Te(a,b);C[d+224>>2]=50;A[d+205|0]=1;C[d+240>>2]=C[d+196>>2];C[d+236>>2]=a+32768&-65536|32768;break c}if(!b){break h}}e=C[d+200>>2];a=I(e,20)+d|0;i=C[h+180>>2]<<16;C[a+264>>2]=i;f=C[h+184>>2]<<16;C[a+268>>2]=f;i=f-i|0;k:{if((i|0)<0){i=0;break k}C[a+272>>2]=f;A[a+280|0]=1;e=e+1|0;C[d+200>>2]=e}f=2;if(b>>>0<=2){break h}while(1){a=I(e,20)+d|0;j=f<<2;k=C[j+c>>2]<<16;C[a+264>>2]=k;j=C[c+(j|4)>>2]<<16;C[a+268>>2]=j;n=j-k|0;if((n|0)>=0){o=j;j=C[d+188>>2]<<1;C[a+268>>2]=o+j;k=k+j|0;C[a+264>>2]=k;C[a+272>>2]=k;A[a+280|0]=0;e=e+1|0;C[d+200>>2]=e;i=(i|0)<(n|0)?n:i}f=f+2|0;if(b>>>0>f>>>0){continue}break}}if(l){b=h+236|0;c=C[d+200>>2];f=0;while(1){a=I(c,20)+d|0;e=f<<2;k=C[e+b>>2]<<16;C[a+264>>2]=k;e=C[b+(e|4)>>2]<<16;C[a+268>>2]=e;k=e-k|0;if((k|0)>=0){C[a+272>>2]=e;A[a+280|0]=1;c=c+1|0;C[d+200>>2]=c;i=(i|0)<(k|0)?k:i}f=f+2|0;if(l>>>0>f>>>0){continue}break}}f=Ze(65536,C[d+196>>2]);n=C[d+200>>2];if(n){t=h+332|0;u=h+276|0;l=0;v=q>>>0<3;while(1){a=I(l,20)+d|0;k=a;c=C[a+272>>2];l:{if(D[a+280|0]){a=0;e=2147483647;m:{if(!r){break m}while(1){j=C[(a<<2|4)+t>>2]<<16;o=c-j|0;b=o>>31;n:{b=(b^o)-b|0;if((b|0)>=(e|0)|(b|0)>=(f|0)){break n}C[k+272>>2]=j;e=b;if((c|0)!=(j|0)){break n}e=0;break m}a=a+2|0;if(r>>>0>a>>>0){continue}break}}if(q>>>0<2){break l}b=C[h+280>>2]<<16;c=c-b|0;a=c>>31;a=(a^c)-a|0;if((a|0)>=(e|0)|(a|0)>=(f|0)){break l}C[k+272>>2]=b;break l}if(v){break l}o=C[d+188>>2]<<1;a=2;e=2147483647;while(1){j=(C[(a<<2)+u>>2]<<16)+o|0;s=c-j|0;b=s>>31;b=(b^s)-b|0;if(!((b|0)>=(e|0)|(b|0)>=(f|0))){C[k+272>>2]=j;e=b;if((c|0)==(j|0)){break l}}a=a+2|0;if(q>>>0>a>>>0){continue}break}}l=l+1|0;if((n|0)!=(l|0)){continue}break}}o:{if((i|0)<=0){break o}if(C[d+208>>2]<=(Ze(65536,i)|0)){break o}w=d,x=Ze(65536,i),C[w+208>>2]=x}a=C[d+196>>2];b=C[d+208>>2];if((a|0)<(b|0)){A[d+204|0]=1;a=of(39322,a,b);C[d+220>>2]=(a|0)<6555?32767:39322-a|0}if(D[m|0]){C[d+220>>2]=0}if(!C[d+200>>2]){break c}c=d+196|0;a=0;while(1){b=c+I(a,20)|0;e=D[b+84|0];j=b;k=Te(C[b+76>>2],C[d+196>>2]);b=C[d+220>>2];C[j+80>>2]=(k+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}p:{q:{if(C[d+4>>2]){break q}A[d+192|0]=0;C[d+116>>2]=0;a=D[d+141|0];Wi(C[C[d+128>>2]+12>>2]);b=d+100|0;Pm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(C[d+4>>2]){break q}if(!(!a|C[d+116>>2]>=0)){A[d+192|0]=1;C[d+116>>2]=0;Wi(C[C[d+128>>2]+12>>2]);Pm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(C[d+4>>2]){break q}}h=C[d+128>>2];a=C[h+20>>2];r:{if(!a){break r}c=0;e=E[a>>1];b=e<<16>>16;if((b|0)>=2){c=B[(C[a+12>>2]+(e<<1)|0)-4>>1]+1|0}f=E[a+2>>1];e=f<<16>>16;s:{if((e|0)<2){break s}i=C[a+4>>2];m=i+(c<<3)|0;i=(i+(f<<3)|0)-8|0;if(C[m>>2]!=C[i>>2]|C[m+4>>2]!=C[i+4>>2]|D[(f+C[a+8>>2]|0)-1|0]!=1){break s}e=e-1|0;B[a+2>>1]=e}if((b|0)<=0){break r}j=c;c=(e<<16>>16)-1|0;if((j|0)==(c|0)){B[a+2>>1]=e-1;B[a>>1]=b-1;break r}B[(C[a+12>>2]+(b<<1)|0)-2>>1]=c}lk(C[h+12>>2]);if(!C[d+4>>2]){break p}}f=3;break a}a=C[g+52>>2];f=0;C[d+4>>2]=0;C[C[d+128>>2]+552>>2]=a+32768>>16}Ce=g- -64|0;return f}function FM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0;f=Ce+-64|0;Ce=f;u=C[b+532>>2];a:{if(!u){u=vi(C[C[b+96>>2]+4>>2],3922);if(!u){i=11;break a}C[b+532>>2]=u;C[b+508>>2]=C[u>>2]}x=b,y=Vi(C[b+96>>2],6758),C[x+536>>2]=y;v=C[a+28>>2];C[b+140>>2]=0;C[b+132>>2]=0;C[b+136>>2]=0;e=C[a+8>>2];d=cg(a,f+8|0);i=C[f+8>>2];if(i){break a}w=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}i=2;if((d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}i=2;if((d|0)!=1954115633){break a}}C[w>>2]=1953784678;if((d|0)!=1953784678){break f}i=Ff(a,283248,w);C[f+8>>2]=i;if(i){break a}d=C[b+140>>2];if(d){break g}i=8;break a}i=bf(a,e);C[f+8>>2]=i;if(i){break a}r=C[a+28>>2];i=Ff(a,283264,f+16|0);C[f+60>>2]=i;if(i){break a}i=8;d=C[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}e=C[f+24>>2];if((e|0)!=C[a+4>>2]){break a}d=E[f+28>>1];if(!d|e>>>0<=I(d,20)+44>>>0){break a}e=d<<4|12;d=C[f+32>>2];if(e>>>0>=d>>>0|d&3){break a}e=C[f+44>>2];i:{if(!C[f+40>>2]){if(!(e|C[f+48>>2])){break i}break a}if(!e){break i}if(!C[f+48>>2]){break a}}if(!(C[f+56>>2]?C[f+52>>2]:1)){break a}i=0;n=hf(r,d,f+60|0);if(C[f+60>>2]){q=0;e=0;break b}q=hf(r,40,f+60|0);if(C[f+60>>2]){e=0;break b}e=0;l=E[f+28>>1];i=l;j:{if(!i){d=-1;break j}while(1){d=e;e=d+1|0;g=i>>>0>1;i=i>>>1|0;if(g){continue}break}}A[n|0]=D[f+23|0];A[n+1|0]=E[f+22>>1];A[n+2|0]=C[f+20>>2]>>>8;A[n+3|0]=C[f+20>>2];A[n+4|0]=D[f+29|0];g=D[f+28|0];e=16<>>8;A[n+9|0]=d;A[n+8|0]=d>>>8;A[n+7|0]=e;A[n+6|0]=e>>>8;A[n+5|0]=g;i=0;e=Ve(r,24,0,E[f+28>>1],0,f+60|0);if(C[f+60>>2]){break b}i=Ve(r,4,0,E[f+28>>1],0,f+60|0);if(C[f+60>>2]){break b}d=Cf(a,I(E[f+28>>1],20));C[f+60>>2]=d;if(d){break b}l=0;d=0;if(E[f+28>>1]){while(1){g=I(d,24)+e|0;x=g,y=wg(a),C[x>>2]=y;x=g,y=wg(a),C[x+4>>2]=y;x=g,y=wg(a),C[x+8>>2]=y;x=g,y=wg(a),C[x+12>>2]=y;x=g,y=wg(a),C[x+16>>2]=y;h=l;l=C[g>>2];if(h>>>0>=l>>>0){xf(a);break c}C[(d<<2)+i>>2]=g;d=d+1|0;if(d>>>0>1]){continue}break}}xf(a);lh(i,E[f+28>>1],4,1004);h=E[f+28>>1];d=h<<4|12;g=I(h,20)+44|0;if(h){l=0;o=C[f+32>>2];s=C[f+24>>2];while(1){k=C[(l<<2)+i>>2];if(C[k+4>>2]!=(g|0)){break c}j=C[k+8>>2];if(j>>>0>s>>>0|s-j>>>0>>0){break c}m=C[k+12>>2];if(m>>>0>o>>>0|o-m>>>0>>0|j>>>0>m>>>0){break c}C[k+20>>2]=d;d=(m+3&-4)+d|0;g=(j+3&-4)+g|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}}l=C[f+40>>2];if(l){if((g|0)!=(l|0)){break c}g=C[f+44>>2]+g|0;if(g>>>0>F[f+24>>2]){break c}}l=C[f+52>>2];if(!l){l=C[f+24>>2];break d}if((l|0)!=(g+3&-4)){break c}g=l+C[f+56>>2]|0;l=C[f+24>>2];if(g>>>0<=l>>>0){break d}break c}i=10;if(d>>>0>C[a+4>>2]>>>5>>>0){break a}x=b,y=Ve(v,4,0,d,0,f+8|0),C[x+144>>2]=y;i=C[f+8>>2];if(i){break a}i=Cf(a,C[b+140>>2]<<2);C[f+8>>2]=i;if(i){break a}if(C[b+140>>2]>0){i=0;while(1){d=wg(a);C[C[b+144>>2]+(i<<2)>>2]=d;i=i+1|0;if((i|0)>2]){continue}break}}xf(a);i=C[f+8>>2];if(!i){break e}break a}C[b+136>>2]=65536;C[b+140>>2]=1;a=hf(v,4,f+8|0);C[b+144>>2]=a;i=C[f+8>>2];if(i){break a}C[a>>2]=e}i=6;a=(c|0)>0?c:0;if((a|0)>=C[b+140>>2]){break a}c=C[b+104>>2];i=bf(c,C[C[b+144>>2]+(a<<2)>>2]);if(i){break a}i=Fe[C[u+88>>2]](b,c)|0;if(i){break a}C[b+4>>2]=a;C[b>>2]=C[b+140>>2];i=0;break a}if(C[f+32>>2]!=(d|0)|(g|0)!=(l|0)){break c}if(h){d=n+12|0;l=0;while(1){k=I(l,24)+e|0;A[d|0]=D[k+3|0];A[d+1|0]=E[k+2>>1];A[d+2|0]=C[k>>2]>>>8;A[d+3|0]=C[k>>2];A[d+4|0]=D[k+19|0];A[d+5|0]=E[k+18>>1];A[d+6|0]=C[k+16>>2]>>>8;A[d+7|0]=C[k+16>>2];A[d+8|0]=D[k+23|0];A[d+9|0]=E[k+22>>1];A[d+10|0]=C[k+20>>2]>>>8;A[d+11|0]=C[k+20>>2];A[d+12|0]=D[k+15|0];A[d+13|0]=E[k+14>>1];A[d+14|0]=C[k+12>>2]>>>8;A[d+15|0]=C[k+12>>2];g=bf(a,C[k+4>>2]);C[f+60>>2]=g;if(g){break b}g=Cf(a,C[k+8>>2]);C[f+60>>2]=g;if(g){break b}g=C[k+8>>2];h=C[k+12>>2];k:{if((g|0)==(h|0)){t(C[k+20>>2]+n|0,C[a+32>>2],g);break k}C[f+12>>2]=h;g=f+12|0;j=C[a+32>>2];o=C[k+8>>2];h=Ce+-64|0;Ce=h;m=6;s=C[k+20>>2]+n|0;l:{if(!g|(!s|!r)){break l}C[h+20>>2]=s;C[h+12>>2]=o;C[h+8>>2]=j;j=C[g>>2];C[h+48>>2]=r;C[h+44>>2]=872;C[h+40>>2]=873;C[h+24>>2]=j;if(Bx(h+8|0,15)){break l}s=yx(h+8|0,4);if((s|0)!=1){m=C[h+36>>2];m:{if(!m){break m}o=C[h+44>>2];if(!o){break m}j=C[m+20>>2];if(j){g=C[j>>2];if((g&-2)==4){Fe[o|0](C[h+48>>2],C[j+12>>2]);g=C[j>>2]}if((g|0)==6){Fe[C[h+44>>2]](C[h+48>>2],C[j+4>>2])}C[j+28>>2]=0;C[j+32>>2]=0;C[j>>2]=0;m=C[j+40>>2];C[j+52>>2]=m;C[j+48>>2]=m;g=C[j+56>>2];if(g){g=Fe[g|0](0,0,0)|0;C[j+60>>2]=g;C[h+56>>2]=g;m=C[j+40>>2]}Fe[C[h+44>>2]](C[h+48>>2],m);Fe[C[h+44>>2]](C[h+48>>2],C[j+36>>2]);Fe[C[h+44>>2]](C[h+48>>2],j);o=C[h+44>>2];m=C[h+36>>2]}Fe[o|0](C[h+48>>2],m)}m=0;g=s+5|0;if(g>>>0>=6){break l}m=C[(g<<2)+218472>>2];break l}C[g>>2]=C[h+28>>2];m=0;g=C[h+36>>2];if(!g){break l}o=C[h+44>>2];if(!o){break l}j=C[g+20>>2];if(j){g=C[j>>2];if((g&-2)==4){Fe[o|0](C[h+48>>2],C[j+12>>2]);g=C[j>>2]}if((g|0)==6){Fe[C[h+44>>2]](C[h+48>>2],C[j+4>>2])}C[j+28>>2]=0;C[j+32>>2]=0;C[j>>2]=0;g=C[j+40>>2];C[j+52>>2]=g;C[j+48>>2]=g;o=C[j+56>>2];if(o){g=Fe[o|0](0,0,0)|0;C[j+60>>2]=g;C[h+56>>2]=g;g=C[j+40>>2]}Fe[C[h+44>>2]](C[h+48>>2],g);Fe[C[h+44>>2]](C[h+48>>2],C[j+36>>2]);Fe[C[h+44>>2]](C[h+48>>2],j);o=C[h+44>>2];g=C[h+36>>2]}Fe[o|0](C[h+48>>2],g)}Ce=h- -64|0;C[f+60>>2]=m;if(m){break b}if(C[f+12>>2]!=C[k+12>>2]){break c}}xf(a);g=C[k+12>>2];h=C[k+20>>2];k=g+h|0;if(k&3){p(k+n|0,0,((g^-1)-h&3)+1|0)}d=d+16|0;l=l+1|0;if(l>>>0>1]){continue}break}d=C[f+32>>2]}C[q+32>>2]=0;C[q+8>>2]=0;C[q+4>>2]=d;C[q>>2]=n;C[q+20>>2]=0;C[q+24>>2]=0;a=C[a+28>>2];C[q+24>>2]=1005;C[q+28>>2]=a;rj(C[b+104>>2],C[b+8>>2]>>>10&1);C[b+104>>2]=q;C[b+8>>2]=C[b+8>>2]&-1025;break b}C[f+60>>2]=8}if(e){Fe[C[r+8>>2]](r,e)}if(i){Fe[C[r+8>>2]](r,i)}n:{if(!C[f+60>>2]){C[f+8>>2]=0;break n}if(n){Fe[C[r+8>>2]](r,n)}o:{if(!q){break o}a=C[q+24>>2];if(!a){break o}Fe[a|0](q)}if(q){Fe[C[r+8>>2]](r,q)}i=C[f+60>>2];C[f+8>>2]=i;if(i){break a}}a=C[b+104>>2];e=C[a+8>>2];d=cg(a,f+8|0);i=C[f+8>>2];if(!i){continue}break}}Ce=f- -64|0;return i|0}function qI(a){a=a|0;var b=0;b=Lu(kf(af(a)+1|0),a);a=lg(b,23088);if(a){A[a|0]=0}a=lg(b,28663);if(a){A[a|0]=0}a=lg(b,24410);if(a){A[a|0]=0}a=lg(b,27206);if(a){A[a|0]=0}a=lg(b,25806);if(a){A[a|0]=0}a=1328;a:{if(!Se(b,16623)){break a}a=1329;if(!Se(b,11081)){break a}a=1330;if(!Se(b,12198)){break a}a=1331;if(!Se(b,10985)){break a}a=1332;if(!Se(b,10910)){break a}a=1333;if(!Se(b,10875)){break a}a=1334;if(!Se(b,16679)){break a}a=1335;if(!Se(b,9328)){break a}a=1336;if(!Se(b,12061)){break a}a=1337;if(!Se(b,16403)){break a}a=1338;if(!Se(b,21619)){break a}a=1339;if(!Se(b,16471)){break a}a=1340;if(!Se(b,22069)){break a}a=1341;if(!Se(b,22130)){break a}a=1342;if(!Se(b,5954)){break a}a=1343;if(!Se(b,11251)){break a}a=1344;if(!Se(b,9315)){break a}a=1345;if(!Se(b,15658)){break a}a=1346;if(!Se(b,13471)){break a}a=1347;if(!Se(b,13761)){break a}a=1348;if(!Se(b,11141)){break a}a=1349;if(!Se(b,28337)){break a}a=1350;if(!Se(b,28396)){break a}a=1351;if(!Se(b,28307)){break a}a=1352;if(!Se(b,28360)){break a}a=1353;if(!Se(b,13013)){break a}a=1354;if(!Se(b,11126)){break a}a=1355;if(!Se(b,19598)){break a}a=1356;if(!Se(b,6692)){break a}a=1357;if(!Se(b,6629)){break a}a=1358;if(!Se(b,12997)){break a}a=1359;if(!Se(b,6528)){break a}a=1360;if(!Se(b,11111)){break a}a=1361;if(!Se(b,7718)){break a}a=1362;if(!Se(b,21607)){break a}a=1363;if(!Se(b,13787)){break a}a=1364;if(!Se(b,15676)){break a}a=1365;if(!Se(b,11096)){break a}a=1366;if(!Se(b,17645)){break a}a=1367;if(!Se(b,1516)){break a}a=1368;if(!Se(b,5872)){break a}a=1369;if(!Se(b,6077)){break a}a=1370;if(!Se(b,17655)){break a}a=1371;if(!Se(b,1543)){break a}a=1372;if(!Se(b,14872)){break a}a=1373;if(!Se(b,14864)){break a}a=1374;if(!Se(b,10849)){break a}a=1375;if(!Se(b,28284)){break a}a=1376;if(!Se(b,19586)){break a}a=1377;if(!Se(b,6679)){break a}a=1378;if(!Se(b,11282)){break a}a=1379;if(!Se(b,6611)){break a}a=1380;if(!Se(b,6509)){break a}a=1381;if(!Se(b,7704)){break a}a=1382;if(!Se(b,21806)){break a}a=1383;if(!Se(b,12909)){break a}a=1384;if(!Se(b,6708)){break a}a=1385;if(!Se(b,12178)){break a}a=1386;if(!Se(b,2308)){break a}a=1387;if(!Se(b,2478)){break a}a=1388;if(!Se(b,9271)){break a}a=1389;if(!Se(b,2256)){break a}a=1390;if(!Se(b,2411)){break a}a=1391;if(!Se(b,2294)){break a}a=1392;if(!Se(b,2530)){break a}a=1393;if(!Se(b,15111)){break a}a=1394;if(!Se(b,2449)){break a}a=1395;if(!Se(b,2501)){break a}a=1396;if(!Se(b,15092)){break a}a=1397;if(!Se(b,5748)){break a}a=1398;if(!Se(b,18857)){break a}a=1399;if(!Se(b,15221)){break a}a=1400;if(!Se(b,2617)){break a}a=1401;if(!Se(b,2374)){break a}a=1402;if(!Se(b,2654)){break a}a=1403;if(!Se(b,2515)){break a}a=1404;if(!Se(b,12157)){break a}a=1405;if(!Se(b,2669)){break a}a=1406;if(!Se(b,2545)){break a}a=1407;if(!Se(b,2268)){break a}a=1408;if(!Se(b,3915)){break a}a=1409;if(!Se(b,10974)){break a}a=1410;if(!Se(b,20645)){break a}a=1411;if(!Se(b,10894)){break a}a=1412;if(!Se(b,12971)){break a}a=1413;if(!Se(b,10832)){break a}a=1414;if(!Se(b,11070)){break a}a=1415;if(!Se(b,16611)){break a}a=1416;if(!Se(b,14836)){break a}a=1417;if(!Se(b,12983)){break a}a=1418;if(!Se(b,14557)){break a}a=1419;if(!Se(b,4566)){break a}a=1420;if(!Se(b,7021)){break a}a=1421;if(!Se(b,10752)){break a}a=1422;if(!Se(b,18336)){break a}a=1423;if(!Se(b,18358)){break a}a=1424;if(!Se(b,9032)){break a}a=1425;if(!Se(b,1363)){break a}a=1426;if(!Se(b,18875)){break a}a=1427;if(!Se(b,21593)){break a}a=1428;if(!Se(b,16449)){break a}a=1429;if(!Se(b,13773)){break a}a=1430;if(!Se(b,16427)){break a}a=1431;if(!Se(b,11334)){break a}a=1432;if(!Se(b,16383)){break a}a=1433;if(!Se(b,28324)){break a}a=1434;if(!Se(b,15638)){break a}a=1435;if(!Se(b,2637)){break a}a=1436;if(!Se(b,14528)){break a}a=1437;if(!Se(b,2394)){break a}a=1438;if(!Se(b,28380)){break a}a=1439;if(!Se(b,15793)){break a}a=1440;if(!Se(b,2839)){break a}a=1441;if(!Se(b,14616)){break a}a=1442;if(!Se(b,2604)){break a}a=1443;if(!Se(b,15764)){break a}a=1444;if(!Se(b,2808)){break a}a=1445;if(!Se(b,14604)){break a}a=1446;if(!Se(b,2591)){break a}a=1447;if(!Se(b,15735)){break a}a=1448;if(!Se(b,2758)){break a}a=1449;if(!Se(b,14583)){break a}a=1450;if(!Se(b,2578)){break a}a=1451;if(!Se(b,15706)){break a}a=1452;if(!Se(b,2708)){break a}a=1453;if(!Se(b,14571)){break a}a=1454;if(!Se(b,2565)){break a}a=1455;if(!Se(b,2789)){break a}a=1456;if(!Se(b,2739)){break a}a=1457;if(!Se(b,2689)){break a}a=1458;if(!Se(b,13047)){break a}a=1459;if(!Se(b,13029)){break a}a=1460;if(!Se(b,15805)){break a}a=1461;if(!Se(b,2852)){break a}a=1462;if(!Se(b,15776)){break a}a=1463;if(!Se(b,2821)){break a}a=1464;if(!Se(b,15747)){break a}a=1465;if(!Se(b,2771)){break a}a=1466;if(!Se(b,15718)){break a}a=1467;if(!Se(b,2721)){break a}a=1468;if(!Se(b,9519)){break a}a=1469;if(!Se(b,3551)){break a}a=1309;if(!Se(b,22983)){break a}a=1310;if(!Se(b,22999)){break a}a=1311;if(!Se(b,22830)){break a}a=1312;if(!Se(b,22843)){break a}a=1313;if(!Se(b,22859)){break a}a=1314;if(!Se(b,23018)){break a}a=1315;if(!Se(b,22873)){break a}a=1316;if(!Se(b,22912)){break a}a=1317;if(!Se(b,22889)){break a}a=1318;if(!Se(b,22959)){break a}a=1319;if(!Se(b,22934)){break a}a=1320;if(!Se(b,24288)){break a}a=1321;if(!Se(b,24330)){break a}a=1322;if(!Se(b,24309)){break a}a=1323;if(!Se(b,24269)){break a}a=1324;if(!Se(b,25793)){break a}a=1325;if(!Se(b,27143)){break a}a=1326;if(!Se(b,27170)){break a}a=Se(b,27116)?0:1327}if(!a){a=1309;b:{if(!Se(b,7951)){break b}a=1310;if(!Se(b,7964)){break b}a=1311;if(!Se(b,1291)){break b}a=1312;if(!Se(b,1301)){break b}a=1313;if(!Se(b,1314)){break b}a=1314;if(!Se(b,9482)){break b}a=1315;if(!Se(b,2322)){break b}a=1316;if(!Se(b,2355)){break b}a=1317;if(!Se(b,2335)){break b}a=1318;if(!Se(b,2916)){break b}a=1319;if(!Se(b,2894)){break b}a=1320;if(!Se(b,1480)){break b}a=1321;if(!Se(b,5851)){break b}a=1322;if(!Se(b,5833)){break b}a=1323;if(!Se(b,1464)){break b}a=1324;if(!Se(b,6650)){break b}a=1325;if(!Se(b,20798)){break b}a=1326;if(!Se(b,20820)){break b}a=Se(b,9042)?0:1327}}Re(b);return a|0}function Aq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;f=1;if((e|0)<=0){break a}g=D[a|0]|D[a+1|0]<<8;b:{if(!g){break b}f=a+2|0;if(f>>>0>d>>>0){break a}h=d-f|0;d=(g<<8|g>>>8)&65535;f=d<<3;if(h>>>0>>0){break a}e=e-f|0;C[b+12>>2]=e;f=0;if((e|0)<=0){break b}s=d>>>0<=1?1:d;while(1){d=(q<<3)+a|0;e=d+2|0;if(e>>>0>2]){break a}f=C[b+8>>2];if(f>>>0>>0|f-e>>>0<8){break a}e=C[c>>2];g=C[b+12>>2];h=g-8|0;C[b+12>>2]=h;if((h|0)<=0){break a}m=d+6|0;if(f>>>0>>0|f-m>>>0<4){break a}f=g-12|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=A[m|0];if((f|0)<0){break a}f=D[d+9|0]|(D[d+7|0]<<16|(f&255)<<24|D[d+8|0]<<8);c:{if(!f){break c}d=0;o=Ce-16|0;Ce=o;e=e+f|0;d:{if(e>>>0>2]){break d}f=C[b+8>>2];if(f>>>0>>0){break d}h=f-e|0;if(h>>>0<2){break d}g=C[b+12>>2];i=g-2|0;C[b+12>>2]=i;d=1;if((i|0)<=0){d=0;break d}e:{f:{g:{h:{i:{j:{k:{i=D[e|0]|D[e+1|0]<<8;switch((i<<8|i>>>8)&65535){case 10:break h;case 6:break i;case 4:break j;case 0:break k;case 14:break e;case 13:break f;case 12:break g;default:break d}}d=0;if(h>>>0<262){break d}d=g-264|0;C[b+12>>2]=d;d=(d|0)>0;break d}if(h>>>0<14){d=0;break d}f=g-16|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}d=D[e+2|0]|D[e+3|0]<<8;l:{if(!d){d=0;break l}g=(d<<8|d>>>8)&65535;if(g>>>0<=h>>>0){f=f-g|0;C[b+12>>2]=f;if((f|0)>0){break l}}d=0;f=C[b+28>>2];if(f>>>0>31){break d}C[b+28>>2]=f+1;if(!D[b+24|0]){break d}d=h>>>0>=65535?65535:h;d=d<<8|(d&65280)>>>8;A[e+2|0]=d;A[e+3|0]=d>>>8}f=D[e+6|0]|D[e+7|0]<<8;d=(((f<<8|f>>>8)&65535)<<2)+16>>>0<=((d<<8|(d&65280)>>>8)&65535)>>>0;break d}if(h>>>0<10){d=0;break d}d=g-12|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+8|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<2){d=0;break d}g=g-14|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[d|0]|D[d+1|0]<<8;if(d){e=e+10|0;if(e>>>0>f>>>0){d=0;break d}d=((d<<8|d>>>8)&65535)<<1;if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<20){d=0;break d}d=g-22|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+16|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<4){d=0;break d}g=g-26|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[e+16|0]|D[e+17|0]<<8|(D[e+18|0]<<16|D[e+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>2147483646){d=0;break d}if(d){e=e+20|0;if(e>>>0>f>>>0){d=0;break d}d=d<<1;if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<16){d=0;break d}d=g-18|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+12|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<4){d=0;break d}g=g-22|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>357913940){d=0;break d}if(d){e=e+16|0;if(e>>>0>f>>>0){d=0;break d}d=I(d,12);if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<16){d=0;break d}d=g-18|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}d=e+12|0;if(d>>>0>f>>>0){d=0;break d}if(f-d>>>0<4){d=0;break d}g=g-22|0;C[b+12>>2]=g;if((g|0)<=0){d=0;break d}d=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>357913940){d=0;break d}if(d){e=e+16|0;if(e>>>0>f>>>0){d=0;break d}d=I(d,12);if(d>>>0>f-e>>>0){d=0;break d}f=g-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break d}}d=1;break d}if(h>>>0<=9){d=0;break d}d=g-12|0;C[b+12>>2]=d;if((d|0)<=0){d=0;break d}C[o+12>>2]=e;f=0;p=0;e=e+6|0;m:{n:{if(e>>>0>2]){break n}g=C[b+8>>2];if(g>>>0>>0|g-e>>>0<4){break n}h=C[b+12>>2]-4|0;C[b+12>>2]=h;if((h|0)<=0){break n}d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(i>>>0>390451571){break n}d=1;if(!i){break m}d=e+4|0;if(d>>>0>g>>>0){break n}j=g-d|0;d=I(i,11);if(j>>>0>>0){break n}d=h-d|0;C[b+12>>2]=d;if((d|0)<=0){break n}f=1;d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);r=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!r){break n}while(1){f=0;l=e+I(p,11)|0;d=l+4|0;if(d>>>0>2]){break n}g=C[b+8>>2];if(g>>>0>>0|g-d>>>0<11){break n}n=C[o+12>>2];d=C[b+12>>2]-11|0;C[b+12>>2]=d;if((d|0)<=0){break n}d=0;g=l+7|0;h=C[b+4>>2];o:{if(g>>>0>>0){break o}i=C[b+8>>2];if(i>>>0>>0|i-g>>>0<4){break o}k=C[b+12>>2];j=k-4|0;C[b+12>>2]=j;if((j|0)<=0){break o}j=A[g|0];if((j|0)<0){break o}d=D[g+3|0]|(D[g+1|0]<<16|(j&255)<<24|D[g+2|0]<<8);if(d){j=h;h=d+n|0;p:{if(j>>>0>h>>>0|h>>>0>i>>>0|i-h>>>0<4){break p}k=k-8|0;C[b+12>>2]=k;if((k|0)<=0){break p}d=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(j>>>0>1073741822){break p}d=1;if(!j){break o}h=h+4|0;if(h>>>0>i>>>0){break p}i=i-h|0;h=j<<2;if(i>>>0>>0){break p}h=k-h|0;C[b+12>>2]=h;if((h|0)>0){break o}}d=0;h=C[b+28>>2];if(h>>>0>31){break o}C[b+28>>2]=h+1;if(!D[b+24|0]){break o}A[g|0]=0;A[g+1|0]=0;A[g+2|0]=0;A[g+3|0]=0}d=1}if(!d){break n}d=0;g=l+11|0;h=C[b+4>>2];q:{if(g>>>0>>0){break q}i=C[b+8>>2];if(i>>>0>>0|i-g>>>0<4){break q}l=C[b+12>>2];k=l-4|0;C[b+12>>2]=k;if((k|0)<=0){break q}k=A[g|0];if((k|0)<0){break q}d=D[g+3|0]|(D[g+1|0]<<16|(k&255)<<24|D[g+2|0]<<8);if(d){j=h;h=d+n|0;r:{if(j>>>0>h>>>0|h>>>0>i>>>0|i-h>>>0<4){break r}l=l-8|0;C[b+12>>2]=l;if((l|0)<=0){break r}d=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);n=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(n>>>0>858993458){break r}d=1;if(!n){break q}h=h+4|0;if(h>>>0>i>>>0){break r}j=i-h|0;h=I(n,5);if(j>>>0>>0){break r}h=l-h|0;C[b+12>>2]=h;if((h|0)>0){break q}}d=0;h=C[b+28>>2];if(h>>>0>31){break q}C[b+28>>2]=h+1;if(!D[b+24|0]){break q}A[g|0]=0;A[g+1|0]=0;A[g+2|0]=0;A[g+3|0]=0}d=1}if(!d){break n}f=1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}d=f}}Ce=o+16|0;if(d){break c}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[m|0]=0;A[m+1|0]=0;A[m+2|0]=0;A[m+3|0]=0}f=1;q=q+1|0;if((s|0)!=(q|0)){continue}break}}return f}return 0}function Pz(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,j=0,k=0,l=0,m=0,n=0,o=0;g=g^255;a:{b:{switch(c-1|0){case 0:l=C[b+12>>2];if(!l){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];n=b&3;c=(b+3|0)/4|0;m=C[95538];i=C[95539];k=j-b<<1;c:while(1){l=l-1|0;j=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=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=3;continue;default:break f}}b=E[a>>1];B[a>>1]=((I(g,D[m+(b>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((I(g,D[i+(b>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;b=j-1|0;a=a+2|0;g:{if((j|0)>1){j=b;break g}a=a+k|0;if(l){continue c}break a}b=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=e<<3&2016|d<<8&63488|f>>>3;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(e,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;j=e-a<<1;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:B[g>>1]=d;g=g+2|0;a=1;continue;case 1:B[g>>1]=d;g=g+2|0;a=2;continue;case 2:B[g>>1]=d;g=g+2|0;a=3;continue;default:break k}}B[g>>1]=d;a=e-1|0;g=g+2|0;l:{if((e|0)>1){e=a;break l}g=g+j|0;if(c){continue h}break a}a=0;continue}};case 7:m=C[b+12>>2];if(!m){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];n=b&3;c=(b+3|0)/4|0;l=C[95538];i=C[95539];k=j-b<<1;m:while(1){m=m-1|0;j=c;n:{o:{switch(n-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=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=3;continue;default:break p}}b=E[a>>1];h=D[l+(b>>>5&63)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;o=(h>>>0>=255?255:h)<<3&2016;h=D[i+(b>>>11|0)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=o|(h>>>0>=255?255:h)<<8&63488|(b>>>0>=255?255:b)>>>3;b=j-1|0;a=a+2|0;q:{if((j|0)>1){j=b;break q}a=a+k|0;if(m){continue m}break a}b=0;continue}};case 3:j=C[b+12>>2];if(!j){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];m=a&3;b=(a+3|0)/4|0;l=C[95538];i=C[95539];n=c-a<<1;r:while(1){j=j-1|0;a=b;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=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=3;continue;default:break u}}c=E[g>>1];B[g>>1]=(I(D[l+(c>>>5&63)|0],e)>>>0)/255<<3&4064|(I(D[i+(c>>>11|0)|0],d)>>>0)/255<<8&63488|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;c=a-1|0;g=g+2|0;v:{if((a|0)>1){a=c;break v}g=g+n|0;if(j){continue r}break a}c=0;continue}};case 1:break b}}l=C[b+12>>2];if(!l){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];m=a&3;b=(a+3|0)/4|0;i=C[95538];j=C[95539];n=c-a<<1;w:while(1){l=l-1|0;a=b;x:{y:{switch(m-1|0){default:c=0;break x;case 0:c=3;break x;case 1:c=2;break x;case 2:break y}}c=1}while(1){z:{switch(c|0){case 0:c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=3;continue;default:break z}}c=E[g>>1];k=D[i+(c>>>5&63)|0]+e|0;h=(k>>>0>=255?255:k)<<3&2016;k=D[j+(c>>>11|0)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<8&63488|(c>>>0>=255?255:c)>>>3;c=a-1|0;g=g+2|0;A:{if((a|0)>1){a=c;break A}g=g+n|0;if(l){continue w}break a}c=0;continue}}}return 0}function Qz(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,j=0,k=0,l=0,m=0,n=0;g=g^255;a:{b:{switch(c-1|0){case 0:l=C[b+12>>2];if(!l){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];m=b&3;c=(b+3|0)/4|0;i=C[95539];k=j-b<<1;c:while(1){l=l-1|0;j=c;d:{e:{switch(m-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=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;b=3;continue;default:break f}}b=E[a>>1];B[a>>1]=((I(g,D[i+(b>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((I(g,D[i+(b>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((I(g,D[i+(b&31)|0])>>>0)/255|0)+f>>>3;b=j-1|0;a=a+2|0;g:{if((j|0)>1){j=b;break g}a=a+k|0;if(l){continue c}break a}b=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=e<<2&992|d<<7&31744|f>>>3;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(e,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;j=e-a<<1;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:B[g>>1]=d;g=g+2|0;a=1;continue;case 1:B[g>>1]=d;g=g+2|0;a=2;continue;case 2:B[g>>1]=d;g=g+2|0;a=3;continue;default:break k}}B[g>>1]=d;a=e-1|0;g=g+2|0;l:{if((e|0)>1){e=a;break l}g=g+j|0;if(c){continue h}break a}a=0;continue}};case 7:l=C[b+12>>2];if(!l){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];m=b&3;c=(b+3|0)/4|0;i=C[95539];k=j-b<<1;m:while(1){l=l-1|0;j=c;n:{o:{switch(m-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=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=1;continue;case 1:b=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=2;continue;case 2:b=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;a=a+2|0;b=3;continue;default:break p}}b=E[a>>1];h=D[i+(b>>>5&31)|0];h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;n=(h>>>0>=255?255:h)<<2&992;h=D[i+(b>>>10&31)|0];h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;b=D[i+(b&31)|0];b=((I(b,g)>>>0)/255|0)+((I(b,f)>>>0)/255|0)|0;B[a>>1]=n|(h>>>0>=255?255:h)<<7&31744|(b>>>0>=255?255:b)>>>3;b=j-1|0;a=a+2|0;q:{if((j|0)>1){j=b;break q}a=a+k|0;if(l){continue m}break a}b=0;continue}};case 3:j=C[b+12>>2];if(!j){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];l=b&3;a=(b+3|0)/4|0;i=C[95539];m=c-b<<1;r:while(1){j=j-1|0;b=a;s:{t:{switch(l-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=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;g=g+2|0;c=3;continue;default:break u}}c=E[g>>1];B[g>>1]=(I(D[i+(c>>>5&31)|0],e)>>>0)/255<<2&2016|(I(D[i+(c>>>10&31)|0],d)>>>0)/255<<7&64512|(I(D[i+(c&31)|0],f)>>>0)/255>>>3;c=b-1|0;g=g+2|0;v:{if((b|0)>1){b=c;break v}g=g+m|0;if(j){continue r}break a}c=0;continue}};case 1:break b}}l=C[b+12>>2];if(!l){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<1)|0)+(C[b>>2]<<1)|0;b=C[b+8>>2];i=b&3;a=(b+3|0)/4|0;j=C[95539];m=c-b<<1;w:while(1){l=l-1|0;b=a;x:{y:{switch(i-1|0){default:c=0;break x;case 0:c=3;break x;case 1:c=2;break x;case 2:break y}}c=1}while(1){z:{switch(c|0){case 0:c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=1;continue;case 1:c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=2;continue;case 2:c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;g=g+2|0;c=3;continue;default:break z}}c=E[g>>1];k=D[j+(c>>>5&31)|0]+e|0;h=(k>>>0>=255?255:k)<<2&992;k=D[j+(c>>>10&31)|0]+d|0;c=D[j+(c&31)|0]+f|0;B[g>>1]=h|(k>>>0>=255?255:k)<<7&31744|(c>>>0>=255?255:c)>>>3;c=b-1|0;g=g+2|0;A:{if((b|0)>1){b=c;break A}g=g+m|0;if(l){continue w}break a}c=0;continue}}}return 0}function bo(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,o=0,p=0;a:{if(F[b+4>>2]>a>>>0){break a}f=C[b+8>>2];if(f>>>0>>0){break a}j=f-a|0;if(j>>>0<12){break a}e=C[b+12>>2]-12|0;C[b+12>>2]=e;if(D[a|0]|D[a+1|0]<<8|(e|0)<=0){break a}c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c){if(c>>>0>j>>>0){break a}e=e-c|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}else{c=0}n=a+4|0;if(f>>>0>>0){return 0}if(f-n>>>0<4){return 0}C[b+12>>2]=e-4;if((e|0)<5){return 0}e=A[n|0];if((e|0)<0){break a}p=1;e=D[a+7|0]|(D[a+5|0]<<16|(e&255)<<24|D[a+6|0]<<8);if(!e){break a}f=a+c|0;c=0;j=Ce-16|0;Ce=j;e=a+e|0;b:{if(e>>>0>2]){break b}a=C[b+8>>2];if(a>>>0>>0){break b}a=a-e|0;if(a>>>0<2){break b}d=C[b+12>>2];h=d-2|0;C[b+12>>2]=h;if((h|0)<=0){break b}c:{d:{e:{f:{g:{h:{h=D[e|0]|D[e+1|0]<<8;switch((h<<8|h>>>8)&65535){case 6:break e;case 4:break f;case 2:break g;case 0:break h;case 10:break b;case 8:break d;default:break c}}C[j+12>>2]=f;c=ao(e+2|0,b,C[b+36>>2],j+12|0);break b}C[j+12>>2]=f;a=0;f=e+2|0;i:{if(f>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<10){break i}h=C[b+12>>2]-10|0;C[b+12>>2]=h;if((h|0)<=0){break i}e=D[f|0]|D[f+1|0]<<8;g=(e<<8|e>>>8)&65535;if(g>>>0<6){break i}a=D[f+2|0]|D[f+3|0]<<8;e=(a<<8|a>>>8)&65535;d=0;j:{if(!a){break j}a=0;d=f+10|0;if(d>>>0>c>>>0){break i}d=c-d|0;c=I(e,g);if(d>>>0>>0){break i}c=h-c|0;C[b+12>>2]=c;if((c|0)<=0){break i}a=f+I(g,e-1|0)|0;d=0;if((D[a+10|0]|D[a+11|0]<<8)!=65535){break j}d=(D[a+12|0]|D[a+13|0]<<8)==65535?-1:0}a=1;l=e+d|0;if(!l){break i}h=f+10|0;e=0;while(1){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535;k=C[j+12>>2];a=0;c=0;k:{if(!d){break k}d=D[f|0]|D[f+1|0]<<8;d=h+I(g-1|0,(d<<8|d>>>8)&65535)|0;c=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break k}c=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}if(c+g>>>0<=e>>>0){c=84608}else{c=D[f|0]|D[f+1|0]<<8;c=h+I((c<<8|c>>>8)&65535,e)|0}m=C[b+4>>2];l:{if(c>>>0>>0){break l}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break l}g=C[b+12>>2];i=g-6|0;C[b+12>>2]=i;if((i|0)<=0){break l}c=c+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break l}i=g-8|0;C[b+12>>2]=i;if((i|0)<=0){break l}a=D[c|0]|D[c+1|0]<<8;c=k+((a<<8|a>>>8)&65535)|0;m:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break m}g=g-12|0;C[b+12>>2]=g;if((g|0)<=0){break m}a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);k=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(k>>>0>1073741822){break m}a=1;if(!k){break l}c=c+4|0;if(c>>>0>d>>>0){break m}d=d-c|0;c=k<<2;if(d>>>0>>0){break m}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break l}}a=0}if(!a){break i}e=e+1|0;if((l|0)!=(e|0)){continue}break}}c=a;break b}C[j+12>>2]=f;C[j+8>>2]=e;k=j+12|0;f=e+2|0;n:{if(f>>>0>2]){break n}a=C[b+8>>2];if(a>>>0>>0|a-f>>>0<10){break n}h=C[b+12>>2]-10|0;C[b+12>>2]=h;if((h|0)<=0){break n}e=D[f|0]|D[f+1|0]<<8;g=(e<<8|e>>>8)&65535;if(g>>>0<6){break n}c=D[f+2|0]|D[f+3|0]<<8;e=(c<<8|c>>>8)&65535;d=0;o:{if(!c){break o}c=0;d=f+10|0;if(d>>>0>a>>>0){break n}d=a-d|0;a=I(e,g);if(d>>>0>>0){break n}a=h-a|0;C[b+12>>2]=a;if((a|0)<=0){break n}a=f+I(g,e-1|0)|0;d=0;if((D[a+10|0]|D[a+11|0]<<8)!=65535){break o}d=(D[a+12|0]|D[a+13|0]<<8)==65535?-1:0}c=1;l=e+d|0;if(!l){break n}h=f+10|0;e=0;while(1){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535;c=0;a=0;p:{if(!d){break p}d=D[f|0]|D[f+1|0]<<8;d=h+I(g-1|0,(d<<8|d>>>8)&65535)|0;a=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break p}a=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}if(a+g>>>0<=e>>>0){a=84608}else{a=D[f|0]|D[f+1|0]<<8;a=h+I((a<<8|a>>>8)&65535,e)|0}if(a>>>0>2]){break n}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break n}g=C[j+8>>2];m=C[b+12>>2];i=m-6|0;C[b+12>>2]=i;if((i|0)<=0){break n}i=D[a|0]|D[a+1|0]<<8;i=(i<<8|i>>>8)&65535;o=D[a+2|0]|D[a+3|0]<<8;o=(o<<8|o>>>8)&65535;if(i>>>0>>0){break n}a=a+4|0;if(a>>>0>d>>>0|d-a>>>0<2){break n}d=m-8|0;C[b+12>>2]=d;if((d|0)<=0){break n}a=D[a|0]|D[a+1|0]<<8;if(!ao(g+((a<<8|a>>>8)&65535)|0,b,(i-o|0)+1|0,k)){break n}c=1;e=e+1|0;if((l|0)!=(e|0)){continue}break}}break b}C[j+12>>2]=f;a=0;f=e+2|0;q:{if(f>>>0>2]){break q}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<10){break q}d=C[b+12>>2]-10|0;C[b+12>>2]=d;if((d|0)<=0){break q}e=D[f|0]|D[f+1|0]<<8;h=(e<<8|e>>>8)&65535;if(h>>>0<4){break q}a=D[f+2|0]|D[f+3|0]<<8;e=(a<<8|a>>>8)&65535;if(a){a=0;g=f+10|0;if(g>>>0>c>>>0){break q}g=c-g|0;c=I(e,h);if(g>>>0>>0){break q}c=d-c|0;C[b+12>>2]=c;if((c|0)<=0){break q}a=f+I(h,e-1|0)|0;c=(D[a+10|0]|D[a+11|0]<<8)==65535?-1:0}else{c=0}a=1;l=c+e|0;if(!l){break q}h=f+10|0;e=0;while(1){c=D[f+2|0]|D[f+3|0]<<8;d=(c<<8|c>>>8)&65535;k=C[j+12>>2];a=0;if(c){c=D[f|0]|D[f+1|0]<<8;c=h+I(d-1|0,(c<<8|c>>>8)&65535)|0;c=(D[c|0]|D[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+d>>>0<=e>>>0){c=84608}else{c=D[f|0]|D[f+1|0]<<8;c=h+I((c<<8|c>>>8)&65535,e)|0}m=C[b+4>>2];r:{if(c>>>0>>0){break r}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break r}g=C[b+12>>2];i=g-4|0;C[b+12>>2]=i;if((i|0)<=0){break r}c=c+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break r}i=g-6|0;C[b+12>>2]=i;if((i|0)<=0){break r}a=D[c|0]|D[c+1|0]<<8;c=k+((a<<8|a>>>8)&65535)|0;s:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break s}g=g-10|0;C[b+12>>2]=g;if((g|0)<=0){break s}a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);k=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(k>>>0>1073741822){break s}a=1;if(!k){break r}c=c+4|0;if(c>>>0>d>>>0){break s}d=d-c|0;c=k<<2;if(d>>>0>>0){break s}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break r}}a=0}if(!a){break q}e=e+1|0;if((l|0)!=(e|0)){continue}break}}c=a;break b}C[j+12>>2]=f;if(a>>>0<6){break b}a=d-8|0;C[b+12>>2]=a;if((a|0)<=0){break b}a=D[e+4|0]|D[e+5|0]<<8;c=ao(e+6|0,b,(a<<8|a>>>8)&65535,j+12|0);break b}c=1}Ce=j+16|0;if(c){break a}p=0;a=C[b+28>>2];if(a>>>0>31){break a}C[b+28>>2]=a+1;if(!D[b+24|0]){break a}A[n|0]=0;A[n+1|0]=0;A[n+2|0]=0;A[n+3|0]=0;p=1}return p}function fP(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,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;m=Ce-48|0;Ce=m;i=6;p=C[a+4>>2];a:{if(!p){break a}e=c-1|0;v=c>>>0>=e>>>0?e:0;if(v>>>0>=F[p+408>>2]){break a}b:{if(d&9){break b}h=C[p+380>>2];if(!h){break b}s=C[p+416>>2];t=C[p+104>>2];i=C[p+388>>2];e=E[b+12>>1];c=0;while(1){if(!((e|0)==C[i>>2]&C[i+4>>2]==E[b+14>>1])){i=i+36|0;c=c+1|0;if((h|0)!=(c|0)){continue}break b}break}e=C[i+8>>2];if(bf(t,C[i+24>>2]+C[p+432>>2]|0)){break b}c=e&1;if(Cf(t,I(C[i+28>>2],(e>>>2&1)+(e&2?c+5|0:c|4)|0))){break b}e=s+(v<<4)|0;c:{c=C[i+28>>2];d:{if(!c){break d}h=C[i+8>>2];u=h&1;o=h&2;i=h&4;r=(o?u+5|0:u|4)+(i>>>2|0)|0;j=C[e>>2];n=C[t+36>>2];k=C[t+32>>2];while(1){l=c+f>>>1|0;g=k+I(l,r)|0;if(n>>>0>>0){break d}e:{if(u){e=g+2|0;h=D[g+1|0]|D[g|0]<<8;break e}e=g+1|0;h=D[g|0]}if((h|0)==(j|0)){break c}e=h>>>0>>0;f=e?l:f;c=e?c:l;if(f>>>0>>0){continue}break}}xf(t);break b}c=D[e|0];f:{if(o){c=D[e+1|0]|c<<8;e=e+2|0;break f}e=e+1|0}f=D[e+1|0];h=D[e|0];if(i){h=D[e+2|0]|(f<<8|h<<16)}else{h=f|h<<8}xf(t);if(!c){break b}C[m+8>>2]=0;C[m+44>>2]=0;C[m+36>>2]=0;C[m+32>>2]=0;C[m+28>>2]=0;g=s+(v<<4)|0;i=C[g+4>>2];f=C[p+304>>2];e=C[p+300>>2];g:{if((f|0)==(e|0)){e=i;break g}e=of(i,e,f);f=C[p+304>>2];i=C[g+4>>2]}C[a+56>>2]=e;e=of(E[b+12>>1]<<8,i,f);C[m+40>>2]=e;if(bf(t,h+C[p+188>>2]|0)){break b}if(Cf(t,c)){break b}C[m+24>>2]=C[t+32>>2];h=8;k=C[t+36>>2];g=C[m+24>>2];h:{if(k>>>0>>0){break h}i:{j:{k:{l:{m:{j=D[g|0];switch((j&3)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}c=g+2|0;if(k>>>0>>0){break h}f=A[g+1|0];g=f>>4;i=f<<28>>28;break i}c=g+3|0;if(k>>>0>>0){break h}i=A[g+2|0];g=A[g+1|0];break i}c=g+5|0;if(k>>>0>>0){break h}f=D[g+3|0]|D[g+4|0]<<8;i=(f<<8|f>>>8)<<16>>16;f=D[g+1|0]|D[g+2|0]<<8;g=(f<<8|f>>>8)<<16>>16;break i}c=g+7|0;if(k>>>0>>0){break h}i=D[g+6|0]|(D[g+5|0]<<8|D[g+4|0]<<16);g=D[g+3|0]|(D[g+2|0]<<8|D[g+1|0]<<16)}n=j>>>2&3;l=n;n:{o:{switch(n-1|0){case 0:f=c+1|0;if(f>>>0>k>>>0){break h}c=D[c|0];l=c&15;n=c>>>4|0;c=f;break n;case 1:f=c+2|0;if(f>>>0>k>>>0){break h}l=D[c+1|0];n=D[c|0];c=f;break n;case 2:break o;default:break n}}f=c+4|0;if(f>>>0>k>>>0){break h}l=D[c+3|0]|D[c+2|0]<<8;n=D[c+1|0]|D[c|0]<<8;c=f}p:{q:{r:{s:{j=j>>>4|0;switch((j&3)-1|0){case 2:break q;case 1:break r;case 0:break s;default:break p}}f=c+1|0;if(f>>>0>k>>>0){break h}e=A[c|0]<<8;c=f;break p}f=c+2|0;if(f>>>0>k>>>0){break h}c=D[c|0]|D[c+1|0]<<8;e=(c<<8|c>>>8)<<16>>16;c=f;break p}f=c+3|0;if(f>>>0>k>>>0){break h}e=D[c+2|0]|(D[c+1|0]<<8|D[c|0]<<16);c=f}C[m+8>>2]=g;C[m+44>>2]=i;C[m+36>>2]=n;C[m+32>>2]=l;C[m+40>>2]=e;C[m+28>>2]=j>>>2;C[m+24>>2]=c;h=0}t:{j=C[m+32>>2];u:{if((j|0)<0){break u}g=C[m+44>>2];if(h|(g|0)>(j^2147483647)){break u}C[a+72>>2]=1651078259;c=C[m+36>>2];A[a+94|0]=1;C[a+76>>2]=j;C[a+80>>2]=c;C[a+28>>2]=j<<6;h=c<<6;C[a+24>>2]=h;e=c+7>>3;C[a+84>>2]=e;f=C[m+8>>2];C[a+36>>2]=g<<6;C[a+32>>2]=f<<6;c=C[m+40>>2];i=0;C[a+48>>2]=0;C[a+44>>2]=0-h>>1;C[a+40>>2]=(c>>2)+32&-64;c=C[b+32>>2];C[a+104>>2]=g+j;C[a+100>>2]=f;C[a+52>>2]=c;if(!bq(a,I(e,j))){break t}}xf(t);break b}k=C[m+24>>2];r=C[t+36>>2];h=C[m+28>>2];g=C[p+208>>2]&2;e=0;f=C[a+76>>2];v:{if(!f){break v}c=C[a+80>>2];if(!c){break v}e=C[a+84>>2];u=g?e:0-e|0;s=I(c,f);g=C[a+88>>2]+(g?0:I(e,f-1|0))|0;e=3;w:{x:{y:{switch(h|0){case 0:e=0;h=r-k<<3;o=h>>>0>>0?h:s;if(!o){break v}j=128;l=0;n=g;f=c;h=o;while(1){if(!((h^o)&7)){l=D[k|0];k=k+1|0}q=l<<24>>31&j|q;f=f-1|0;z:{if(!f){A[n|0]=q;q=0;f=c;g=g+u|0;n=g;r=128;break z}r=j>>>1|0;if(j>>>0>1){break z}A[n|0]=q;n=n+1|0;q=0;r=128}j=r;l=l<<1;h=h-1|0;if(h){continue}break};if((j|0)!=128){break x}break v;case 1:if(!s){break w}o=1;h=128;n=g;e=c;f=0;l=0;j=1;while(1){A:{B:{if(!o){break B}C:{if(!j){l=f;j=1;break C}j=1;o=h;if(k>>>0>=r>>>0){break A}j=D[k|0];f=j&15;l=j>>>4|0;k=k+1|0;j=0}if(l){break B}while(1){D:{if(!j){l=f;j=1;break D}if(k>>>0>=r>>>0){j=1;l=0;o=h;break A}j=D[k|0];f=j&15;l=j>>>4|0;k=k+1|0;j=0}if(!l){continue}break}}o=j?h:0}q=o|q;e=e-1|0;E:{if(!e){A[n|0]=q;q=0;e=c;g=g+u|0;n=g;o=128;break E}o=h>>>1|0;if(h>>>0>1){break E}A[n|0]=q;n=n+1|0;q=0;o=128}h=o;o=(l|0)<2;l=l-1|0;s=s-1|0;if(s){continue}break};e=0;if((h|0)!=128){break x}break v;case 2:break y;default:break v}}if(!s){break w}l=1;h=128;n=g;e=c;f=0;j=1;while(1){F:{if(!(l&1)|k>>>0>=r>>>0){break F}G:{while(1){j=j^1;o=k+1|0;f=D[k|0];if(f){break G}k=o;if((r|0)!=(k|0)){continue}break}f=0;k=r;break F}k=o}q=(j?h:0)|q;e=e-1|0;H:{if(!e){A[n|0]=q;q=0;e=c;g=g+u|0;n=g;l=128;break H}l=h>>>1|0;if(h>>>0>1){break H}A[n|0]=q;n=n+1|0;q=0;l=128}h=l;l=(f|0)<2;f=f-1|0;s=s-1|0;if(s){continue}break}e=0;if((h|0)==128){break v}}A[n|0]=q}e=0}xf(t);if(!e){break a}}i=6;if(d&16384){break a}g=C[p+416>>2];C[a+72>>2]=1869968492;C[a+108>>2]=0;c=g+(v<<4)|0;f=C[c+8>>2];h=C[c+12>>2];e=C[p+188>>2];c=C[p+104>>2];Wi(C[a+188>>2]);C[a+176>>2]=0;i=rx(a+160|0,c,e,h,f);if(i){break a}e=C[a+188>>2];c=C[e+24>>2];h=a+108|0;C[h>>2]=C[e+20>>2];C[h+4>>2]=c;C[h+16>>2]=C[e+36>>2];c=C[e+32>>2];C[h+8>>2]=C[e+28>>2];C[h+12>>2]=c;c=C[a+124>>2]&-6;C[a+124>>2]=c|4;if(!(!b|E[b+14>>1]>23)){C[a+124>>2]=c|260}C[a+52>>2]=0;C[a+40>>2]=0;i=C[(g+(v<<4)|0)+4>>2];e=C[p+304>>2];c=C[p+300>>2];if((e|0)!=(c|0)){i=of(i,c,e)}e=d&1;I:{if(A[p+324|0]&1){C[a+52>>2]=i;d=i;c=C[a+40>>2];break I}C[a+40>>2]=i;d=C[a+52>>2];c=i}C[a+60>>2]=d;C[a+56>>2]=c;C[a+44>>2]=0;C[a+48>>2]=0;if(!e){d=C[b+20>>2];b=C[b+16>>2];if(B[a+110>>1]>0){i=C[a+112>>2];c=0;while(1){w=i,x=Te(C[i>>2],b),C[w>>2]=x;w=i,x=Te(C[i+4>>2],d),C[w+4>>2]=x;i=i+8|0;c=c+1|0;if((c|0)>1]){continue}break}c=C[a+40>>2]}w=a,x=Te(c,b),C[w+40>>2]=x;w=a,x=Te(C[a+52>>2],d),C[w+52>>2]=x}Zh(h,m+8|0);d=C[m+8>>2];C[a+24>>2]=C[m+16>>2]-d;c=C[m+20>>2];b=C[m+12>>2];C[a+36>>2]=b;C[a+32>>2]=d;C[a+28>>2]=c-b;i=0}Ce=m+48|0;return i|0}function Nz(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,j=0,k=0,l=0,m=0,n=0;h=g^255;a:{b:{switch(c-1|0){case 0:m=C[b+12>>2];if(!m){break a}k=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(k,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];j=c&3;b=(c+3|0)/4|0;n=k-c<<2;c:while(1){m=m-1|0;k=b;d:{e:{switch(j-1|0){default:c=0;break d;case 0:c=3;break d;case 1:c=2;break d;case 2:break e}}c=1}while(1){f:{switch(c|0){case 0:c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;c=1;continue;case 1:c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;c=2;continue;case 2:c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;c=3;continue;default:break f}}c=C[a>>2];C[a>>2]=((I(h,c>>>24|0)>>>0)/255|0)+g<<24|((I(h,c&255)>>>0)/255|0)+f|((I(h,c>>>16&255)>>>0)/255|0)+d<<16|((I(h,c>>>8&255)>>>0)/255|0)+e<<8;c=k-1|0;a=a+4|0;g:{if((k|0)>1){k=c;break g}a=a+n|0;if(m){continue c}break a}c=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=g<<24|d<<16|e<<8|f;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;h=(C[a+20>>2]+(I(e,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;g=e-a<<2;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:C[h>>2]=d;h=h+4|0;a=1;continue;case 1:C[h>>2]=d;h=h+4|0;a=2;continue;case 2:C[h>>2]=d;h=h+4|0;a=3;continue;default:break k}}C[h>>2]=d;a=e-1|0;h=h+4|0;l:{if((e|0)>1){e=a;break l}h=g+h|0;if(c){continue h}break a}a=0;continue}};case 7:m=C[b+12>>2];if(!m){break a}k=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(k,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];j=c&3;b=(c+3|0)/4|0;n=k-c<<2;m:while(1){m=m-1|0;k=b;n:{o:{switch(j-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=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);a=a+4|0;c=1;continue;case 1:c=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);a=a+4|0;c=2;continue;case 2:c=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);a=a+4|0;c=3;continue;default:break p}}c=C[a>>2];i=c>>>16&255;i=((I(i,h)>>>0)/255|0)+((I(d,i)>>>0)/255|0)|0;l=(i>>>0>=255?255:i)<<16;i=c>>>24|0;i=((I(i,g)>>>0)/255|0)+((I(h,i)>>>0)/255|0)|0;l=l|(i>>>0>=255?255:i)<<24;i=c>>>8&255;i=((I(i,h)>>>0)/255|0)+((I(e,i)>>>0)/255|0)|0;c=c&255;c=((I(c,h)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=l|(i>>>0>=255?255:i)<<8|(c>>>0>=255?255:c);c=k-1|0;a=a+4|0;q:{if((k|0)>1){k=c;break q}a=a+n|0;if(m){continue m}break a}c=0;continue}};case 3:c=C[b+12>>2];if(!c){break a}g=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;h=(C[a+20>>2]+(I(g,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];k=a&3;b=(a+3|0)/4|0;m=g-a<<2;r:while(1){c=c-1|0;g=b;s:{t:{switch(k-1|0){default:a=0;break s;case 0:a=3;break s;case 1:a=2;break s;case 2:break t}}a=1}while(1){u:{switch(a|0){case 0:a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;h=h+4|0;a=1;continue;case 1:a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;h=h+4|0;a=2;continue;case 2:a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;h=h+4|0;a=3;continue;default:break u}}a=C[h>>2];C[h>>2]=a&-16777216|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16|(I(a>>>8&255,e)>>>0)/255<<8;a=g-1|0;h=h+4|0;v:{if((g|0)>1){g=a;break v}h=h+m|0;if(c){continue r}break a}a=0;continue}};case 1:break b}}k=C[b+12>>2];if(!k){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;h=(C[a+20>>2]+(I(c,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];m=a&3;b=(a+3|0)/4|0;c=c-a<<2;w:while(1){k=k-1|0;g=b;x:{y:{switch(m-1|0){default:a=0;break x;case 0:a=3;break x;case 1:a=2;break x;case 2:break y}}a=1}while(1){z:{switch(a|0){case 0:a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);h=h+4|0;a=1;continue;case 1:a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);h=h+4|0;a=2;continue;case 2:a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);h=h+4|0;a=3;continue;default:break z}}a=C[h>>2];j=(a>>>16&255)+d|0;i=(j>>>0>=255?255:j)<<16|a&-16777216;j=(a>>>8&255)+e|0;a=(a&255)+f|0;C[h>>2]=i|(j>>>0>=255?255:j)<<8|(a>>>0>=255?255:a);a=g-1|0;h=h+4|0;A:{if((g|0)>1){g=a;break A}h=c+h|0;if(k){continue w}break a}a=0;continue}}}return 0}function on(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,o=0,p=0,q=0;n=Ce-16|0;Ce=n;a:{if(F[b+4>>2]>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0){break a}g=e-a|0;if(g>>>0<4){break a}f=C[b+12>>2];d=f-4|0;C[b+12>>2]=d;c=1;if((d|0)<=0){c=0;break a}b:{c:{d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d:{if((d|0)<=1953658212){if((d|0)==256){break b}if((d|0)==65536|(d|0)==1330926671){break d}break a}if((d|0)==1954115633){break d}if((d|0)==1953784678){break c}if((d|0)!=1953658213){break a}}if(g>>>0<12){c=0;break a}c=f-16|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}c=a+4|0;if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<8){c=0;break a}d=f-24|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;if(c){a=a+12|0;if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=((c<<8|c>>>8)&65535)<<4;if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1;break a}d=a+4|0;if(d>>>0>e>>>0){c=0;break a}if(e-d>>>0<4){c=0;break a}e=f-8|0;C[b+12>>2]=e;c=0;if((e|0)<=0){break a}c=1;e=D[d|0]|D[d+1|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break a}C[n+12>>2]=a;c=0;d=a+8|0;e:{f:{if(d>>>0>2]){break f}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break f}h=C[b+12>>2]-4|0;C[b+12>>2]=h;if((h|0)<=0){break f}a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f>>>0>1073741822){break f}a=1;if(!f){break e}a=d+4|0;if(a>>>0>e>>>0){break f}e=e-a|0;a=f<<2;if(e>>>0>>0){break f}a=h-a|0;C[b+12>>2]=a;if((a|0)<=0){break f}c=1;a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!l){break f}while(1){h=C[n+12>>2];e=0;a=(d+(i<<2)|0)+4|0;f=C[b+4>>2];g:{if(a>>>0>>0){break g}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break g}g=C[b+12>>2];j=g-4|0;C[b+12>>2]=j;if((j|0)<=0){break g}j=A[a|0];if((j|0)<0){break g}e=D[a+3|0]|(D[a+1|0]<<16|(j&255)<<24|D[a+2|0]<<8);if(e){h=e+h|0;h:{if(h>>>0>>0|c>>>0>>0|c-h>>>0<12){break h}e=g-16|0;C[b+12>>2]=e;if((e|0)<=0){break h}f=h+4|0;if(f>>>0>c>>>0|c-f>>>0<8){break h}g=g-24|0;C[b+12>>2]=g;e=1;if((g|0)<=0){break h}f=D[f|0]|D[f+1|0]<<8;if(!f){break g}h=h+12|0;if(h>>>0>c>>>0){break h}h=c-h|0;c=((f<<8|f>>>8)&65535)<<4;if(h>>>0>>0){break h}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break g}}e=0;c=C[b+28>>2];if(c>>>0>31){break g}C[b+28>>2]=c+1;if(!D[b+24|0]){break g}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}e=1}c=e;if(!c){break f}i=i+1|0;if((l|0)!=(i|0)){continue}break}}a=c}c=a;break a}e=0;i:{j:{g=C[b+4>>2];k:{if(g>>>0>a>>>0){break k}i=C[b+8>>2];if(i>>>0>>0|i-a>>>0<16){break k}c=C[b+12>>2];d=c-16|0;C[b+12>>2]=d;if((d|0)<=0){break k}c=c-20|0;C[b+12>>2]=c;if((c|0)<=0){break k}d=A[a|0];if((d|0)<0){break k}d=D[a+3|0]|(D[a+1|0]<<16|(d&255)<<24|D[a+2|0]<<8);l:{m:{f=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);switch(f+1|0){case 0:break k;case 1:break l;default:break m}}e=a+d|0;if(e>>>0>>0|e>>>0>i>>>0|f>>>0>i-e>>>0){break j}c=c-f|0;C[b+12>>2]=c;if((c|0)<=0){break j}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}f=a+4|0;if(f>>>0>i>>>0|i-f>>>0<4){break j}C[b+12>>2]=c-4;if((c|0)<5){break j}e=0;c=A[f|0];if((c|0)<0){break k}p=a+d|0;c=(D[a+7|0]|(D[a+5|0]<<16|(c&255)<<24|D[a+6|0]<<8))+a|0;i=C[b+4>>2];n:{o:{if(c>>>0>>0){break o}a=C[b+8>>2];if(a>>>0>>0|a-c>>>0<28){break o}e=C[b+12>>2];d=e-28|0;C[b+12>>2]=d;if((d|0)<=0){break o}d=c+24|0;if(d>>>0>a>>>0|a-d>>>0<2){break o}d=D[c+24|0]|D[c+25|0]<<8;f=e-30|0;C[b+12>>2]=f;if((f|0)<=0){break o}c=c+((d<<8|d>>>8)&65535)|0;if(i>>>0>c>>>0|a>>>0>>0|a-c>>>0<2){break o}e=e-32|0;C[b+12>>2]=e;if((e|0)<=0){break o}d=c+2|0;if(d>>>0>a>>>0){break o}d=a-d|0;a=D[c|0]|D[c+1|0]<<8;q=(a<<8|a>>>8)&65535;a=(q<<3)+8|0;if(d>>>0>>0){break o}a=e-a|0;C[b+12>>2]=a;e=0;if((a|0)<=0){break n}while(1){d=0;a=((e<<3)+c|0)+2|0;g=C[b+4>>2];p:{if(a>>>0>>0){break p}h=C[b+8>>2];if(h>>>0>>0|h-a>>>0<8){break p}f=C[b+12>>2];i=f-8|0;C[b+12>>2]=i;if((i|0)<=0){break p}i=0;d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==1936092788){d=D[a+4|0]|D[a+5|0]<<8;i=((d<<8|d>>>8)&65535)+1|0}q:{a=a+6|0;if(a>>>0>h>>>0|h-a>>>0<2){break q}f=f-10|0;C[b+12>>2]=f;d=1;if((f|0)<=0){break q}if(!i){break p}a=D[a|0]|D[a+1|0]<<8;l=((a<<8|a>>>8)&65535)+c|0;if(l>>>0>>0|h>>>0>>0){break q}d=0;a=I(i,12);if(a>>>0>h-l>>>0){break p}a=f-a|0;C[b+12>>2]=a;h=0;if((a|0)<=0){break q}while(1){j=0;d=0;f=l+I(h,12)|0;r:{if(f>>>0>2]){break r}a=C[b+8>>2];if(a>>>0>>0|a-f>>>0<12){break r}a=C[b+12>>2]-12|0;C[b+12>>2]=a;if((a|0)<=0){break r}a=f+5|0;k=C[b+4>>2];s:{if(a>>>0>>0){break s}g=C[b+8>>2];if(a>>>0>g>>>0|g-a>>>0<3){break s}m=C[b+12>>2];o=m-3|0;C[b+12>>2]=o;if((o|0)<=0){break s}a=p+(D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16))|0;t:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<4){break t}m=m-7|0;C[b+12>>2]=m;j=1;if((m|0)<=0){break t}u:{k=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);switch(k+1|0){case 1:break s;case 0:break t;default:break u}}a=a+4|0;if(a>>>0>g>>>0|k>>>0>g-a>>>0){break t}a=m-k|0;C[b+12>>2]=a;if((a|0)>0){break s}}j=0}if(!j){break r}f=(p+(D[f+7|0]|(D[f+6|0]<<8|D[f+5|0]<<16))|0)+4|0;if(f>>>0>2]){break r}a=C[b+8>>2];if(a>>>0>>0|a-f>>>0<12){break r}j=C[b+12>>2];g=j-12|0;C[b+12>>2]=g;if((g|0)<=0){break r}g=f+4|0;if(g>>>0>a>>>0|a-g>>>0<8){break r}j=j-20|0;C[b+12>>2]=j;if((j|0)<=0){break r}g=D[g|0]|D[g+1|0]<<8;if(g){f=f+12|0;if(f>>>0>a>>>0){break r}o=a-f|0;a=((g<<8|g>>>8)&65535)<<4;if(o>>>0>>0){break r}a=j-a|0;C[b+12>>2]=a;if((a|0)<=0){break r}}d=1}if(!d){break p}h=h+1|0;if((h|0)!=(i|0)){continue}break}break p}d=0}h=d;if(!d){break o}a=(e|0)!=(q|0);e=e+1|0;if(a){continue}break}}e=h}}break i}e=0}c=e}Ce=n+16|0;return c}function yA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ce+-64|0;Ce=g;C[g+52>>2]=0;C[g+48>>2]=0;C[g+44>>2]=0;a:{if((Yi(21,g+52|0)|0)<0){break a}if((Yi(17,g+48|0)|0)<0){break a}if((Yi(18,g+44|0)|0)<0){break a}j=kl(a);k=!(j&2)|C[g+52>>2]!=4|C[g+48>>2]<2;b:{if(k){ok(21,4);ok(17,2);ok(18,0);if((iz(a,j&-805306371|2)|0)<0){break b}}f=If(1,552);c:{if(!f){_e(0);break c}d=If(1,540);if(!d){if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}_e(0);break c}jf(f+120|0,382184,84);C[f+548>>2]=d;C[f+124>>2]=10;C[f+204>>2]=a;c=C[105780];d:{if(!c){Qe(19865,0);e=0;break d}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);e=0;break d}if(!(D[a+48|0]&2)){Qe(2183,0);e=0;break d}c=Fe[C[c+204>>2]](c,a)|0;e=0;if(!c){break d}e=C[105780];C[e+784>>2]=c;C[e+780>>2]=a;$m(C[e+788>>2],a);$m(C[C[105780]+792>>2],c);e=c}C[d>>2]=e;e:{if(!e){break e}if((Bh(a,e)|0)<0){Ym(C[d>>2]);break e}e=16623;c=vf(16623);C[d+8>>2]=c;f:{g:{if(!c){break g}e=11081;c=vf(11081);C[d+12>>2]=c;if(!c){break g}e=12198;c=vf(12198);C[d+16>>2]=c;if(!c){break g}e=16679;c=vf(16679);C[d+20>>2]=c;if(!c){break g}e=16403;c=vf(16403);C[d+24>>2]=c;if(!c){break g}e=16471;c=vf(16471);C[d+28>>2]=c;if(!c){break g}e=11251;c=vf(11251);C[d+32>>2]=c;if(!c){break g}e=9315;c=vf(9315);C[d+36>>2]=c;if(!c){break g}e=11141;c=vf(11141);C[d+40>>2]=c;if(!c){break g}e=13013;c=vf(13013);C[d+44>>2]=c;if(!c){break g}e=11126;c=vf(11126);C[d+48>>2]=c;if(!c){break g}e=12997;c=vf(12997);C[d+52>>2]=c;if(!c){break g}e=11111;c=vf(11111);C[d+56>>2]=c;if(!c){break g}e=7718;c=vf(7718);C[d+60>>2]=c;if(!c){break g}e=17645;c=vf(17645);C[d+64>>2]=c;if(!c){break g}e=1516;c=vf(1516);C[d+68>>2]=c;if(!c){break g}e=5872;c=vf(5872);C[d+72>>2]=c;if(!c){break g}e=17655;c=vf(17655);C[d+76>>2]=c;if(!c){break g}e=1543;c=vf(1543);C[d+80>>2]=c;if(!c){break g}e=14872;c=vf(14872);C[d+84>>2]=c;if(!c){break g}e=6611;c=vf(6611);C[d+88>>2]=c;if(!c){break g}e=7704;c=vf(7704);C[d+92>>2]=c;if(!c){break g}e=15221;c=vf(15221);C[d+96>>2]=c;if(!c){break g}e=9271;c=vf(9271);C[d+100>>2]=c;if(!c){break g}e=2294;c=vf(2294);C[d+104>>2]=c;if(!c){break g}e=2530;c=vf(2530);C[d+108>>2]=c;if(!c){break g}e=15092;c=vf(15092);C[d+112>>2]=c;if(!c){break g}e=2501;c=vf(2501);C[d+116>>2]=c;if(!c){break g}e=12157;c=vf(12157);C[d+120>>2]=c;if(!c){break g}e=12983;c=vf(12983);C[d+124>>2]=c;if(!c){break g}e=14557;c=vf(14557);C[d+128>>2]=c;if(!c){break g}e=7021;c=vf(7021);C[d+132>>2]=c;if(!c){break g}e=9032;c=vf(9032);C[d+136>>2]=c;if(!c){break g}e=1363;c=vf(1363);C[d+140>>2]=c;if(!c){break g}e=18875;c=vf(18875);C[d+144>>2]=c;if(!c){break g}e=28324;c=vf(28324);C[d+148>>2]=c;if(!c){break g}e=14528;c=vf(14528);C[d+152>>2]=c;if(!c){break g}e=28380;c=vf(28380);C[d+156>>2]=c;if(!c){break g}e=14616;c=vf(14616);C[d+160>>2]=c;if(!c){break g}e=15706;c=vf(15706);C[d+164>>2]=c;if(!c){break g}e=2689;c=vf(2689);C[d+168>>2]=c;if(!c){break g}e=13047;c=vf(13047);C[d+172>>2]=c;if(!c){break g}e=9519;c=vf(9519);C[d+176>>2]=c;if(!c){break g}e=3551;c=vf(3551);C[d+180>>2]=c;if(!c){break g}e=10910;c=vf(10910);C[d+184>>2]=c;if(!c){break g}e=28284;c=vf(28284);C[d+188>>2]=c;if(!c){break g}e=5954;c=vf(5954);C[d+192>>2]=c;if(!c){break g}e=6629;c=vf(6629);C[d+196>>2]=c;if(!c){break g}e=12178;c=vf(12178);C[d+200>>2]=c;if(!c){break g}e=15111;c=vf(15111);C[d+204>>2]=c;if(!c){break g}e=6679;c=vf(6679);C[d+208>>2]=c;if(!c){break g}e=6692;c=vf(6692);C[d+212>>2]=c;if(!c){break g}e=10985;c=vf(10985);C[d+216>>2]=c;if(!c){break g}e=22069;c=vf(22069);C[d+220>>2]=c;if(!c){break g}e=22130;c=vf(22130);C[d+224>>2]=c;if(c){break f}}C[105732]=128;C[105731]=422944;c=34979;h:{if(!C[105730]){break h}c=C[105731]}C[g+36>>2]=c;C[g+32>>2]=e;if((Qe(8785,g+32|0)|0)>=0){break f}Ym(C[d>>2]);break e}e=0;i:{j:{c=Eg(25486);if(!c){break j}h=4;if(!uf(c,20512)){break i}h=3;if(!uf(c,14949)){break i}if(uf(c,12468)){break j}h=2;break i}h=1}C[d+536>>2]=h;k:{l:{while(1){if(!ol(d,e,e?35632:35633)){break l}e=e+1|0;if((e|0)!=17){continue}break}e=0;break k}e=-1}if((e|0)<0){Ym(C[d>>2]);break e}ez(b>>>2&1);if((dz()|0)>0){C[f+124>>2]=C[f+124>>2]|4}if(!(Yi(20,g+56|0)|!(A[g+56|0]&1))){C[d+4>>2]=1}C[g+56>>2]=0;a=g+56|0;Fe[C[d+104>>2]](3379,a);C[f+196>>2]=C[g+56>>2];C[g+56>>2]=0;Fe[C[d+104>>2]](3379,a);C[f+200>>2]=C[g+56>>2];Fe[C[d+208>>2]](8,d+324|0);C[d+228>>2]=0;Fe[C[d+104>>2]](36006,g+60|0);C[d+232>>2]=C[g+60>>2];C[f+80>>2]=593;C[f+76>>2]=594;C[f+72>>2]=595;C[f+68>>2]=596;C[f+64>>2]=597;C[f+60>>2]=598;C[f+56>>2]=599;C[f+16>>2]=600;C[f+12>>2]=601;C[f+8>>2]=602;C[f+4>>2]=603;C[f+108>>2]=604;C[f+104>>2]=605;C[f+100>>2]=606;C[f+96>>2]=607;C[f+92>>2]=608;C[f+88>>2]=609;C[f+84>>2]=610;C[f+52>>2]=611;C[f+48>>2]=612;C[f+32>>2]=613;C[f+28>>2]=614;C[f+24>>2]=615;C[f+20>>2]=615;a=C[f+128>>2];C[f+128>>2]=a+1;b=a<<2;a=f+132|0;C[b+a>>2]=842094169;b=C[f+128>>2];C[f+128>>2]=b+1;C[a+(b<<2)>>2]=1448433993;b=C[f+128>>2];C[f+128>>2]=b+1;C[a+(b<<2)>>2]=842094158;b=C[f+128>>2];C[f+128>>2]=b+1;C[a+(b<<2)>>2]=825382478;if(ol(d,17,35632)){a=C[f+128>>2];C[f+128>>2]=a+1;C[((a<<2)+f|0)+132>>2]=542328143}Fe[C[d+8>>2]](33984);Fe[C[d+128>>2]](3333,1);Fe[C[d+128>>2]](3317,1);Fe[C[d+80>>2]](0);Fe[C[d+80>>2]](1);Fe[C[d+68>>2]](2);Fe[C[d+36>>2]](J(1),J(1),J(1),J(1));C[d+532>>2]=1065353216;C[d+520>>2]=-1082130432;C[d+456>>2]=-1;C[d+420>>2]=2147483647;d=C[f+548>>2];m:{if(!C[d+4>>2]){break m}a=Fe[C[d+100>>2]]()|0;if(!a){break m}i=34979;while(1){i=D[i|0]?i:21640;b=25026;e=a-1280|0;if(e>>>0<=5){b=C[(e<<2)+184380>>2]}C[g+20>>2]=a;C[g+16>>2]=b;C[g+12>>2]=9706;C[g+8>>2]=2233;C[g+4>>2]=21666;C[g>>2]=i;Qe(33817,g);a=Fe[C[d+100>>2]]()|0;if(a){continue}break}}i=f;break a}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}}if(!k){break a}}ok(21,C[g+52>>2]);ok(17,C[g+48>>2]);ok(18,C[g+44>>2]);iz(a,j)}Ce=g- -64|0;return i|0}function tt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=1;a:{b:{switch(c-1|0){case 0:c:{d:{if(F[b+4>>2]>a>>>0){break d}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break d}f=C[b+12>>2];c=f-2|0;C[b+12>>2]=c;if((c|0)<=0){break d}e:{f:{g:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break e}}c=a+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break d}e=f-4|0;C[b+12>>2]=e;if((e|0)<=0){break d}e=D[c|0]|D[c+1|0]<<8;h:{if(!e){break h}if(og(((e<<8|e>>>8)&65535)+a|0,b)){break h}e=C[b+28>>2];if(e>>>0>31){break d}C[b+28>>2]=e+1;if(!D[b+24|0]){break d}A[c|0]=0;A[c+1|0]=0}a=a+4|0;if(a>>>0>2]){break d}c=C[b+8>>2];if(c>>>0>>0){break d}d=0;if(c-a>>>0<2){break e}a=C[b+12>>2]-2|0;C[b+12>>2]=a;d=(a|0)>0;break c}e=0;c=a+2|0;i:{if(c>>>0>2]){break i}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break i}d=D[c|0]|D[c+1|0]<<8;j:{if(!d){break j}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=C[b+28>>2];if(d>>>0>31){break i}C[b+28>>2]=d+1;if(!D[b+24|0]){break i}A[c|0]=0;A[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break i}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break i}c=D[c|0]|D[c+1|0]<<8;if(c){a=a+6|0;if(a>>>0>d>>>0){break i}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break i}a=f-a|0;C[b+12>>2]=a;if((a|0)<=0){break i}}e=1}d=e}break c}d=0}return d;case 1:return st(a,b);case 2:return st(a,b);case 3:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=a+2|0;k:{l:{if(c>>>0>2]){break l}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break l}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break l}d=D[c|0]|D[c+1|0]<<8;m:{if(!d){break m}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break m}d=C[b+28>>2];if(d>>>0>31){break l}C[b+28>>2]=d+1;if(!D[b+24|0]){break l}A[c|0]=0;A[c+1|0]=0}d=a+4|0;if(d>>>0>2]){break l}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break l}g=C[b+12>>2]-2|0;C[b+12>>2]=g;if((g|0)<=0){break l}d=D[d|0]|D[d+1|0]<<8;c=1;if(!d){break k}c=a+6|0;if(c>>>0>f>>>0){break l}h=f-c|0;c=(d<<8|d>>>8)&65535;d=c<<1;if(h>>>0>>0){break l}d=g-d|0;C[b+12>>2]=d;if((d|0)<=0){break l}n=c>>>0<=1?1:c;c=0;while(1){f=C[b+4>>2];k=((c<<1)+a|0)+6|0;e=0;n:{if(f>>>0>k>>>0){break n}g=C[b+8>>2];e=0;if(g>>>0>>0){break n}e=0;if(g-k>>>0<2){break n}i=C[b+12>>2];l=i-2|0;C[b+12>>2]=l;d=1;e=0;if((l|0)<=0){break n}e=D[k|0]|D[k+1|0]<<8;o:{if(!e){break o}p:{h=f;f=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>f>>>0|f>>>0>g>>>0|g-f>>>0<2){break p}e=i-4|0;C[b+12>>2]=e;if((e|0)<=0){break p}i=D[f|0]|D[f+1|0]<<8;if(!i){break o}d=f+2|0;if(d>>>0>g>>>0){break p}h=g-d|0;d=(i<<8|i>>>8)&65535;g=d<<1;if(h>>>0>>0){break p}e=e-g|0;C[b+12>>2]=e;if((e|0)<=0){break p}o=d>>>0<=1?1:d;l=0;while(1){j=C[b+4>>2];i=(f+(l<<1)|0)+2|0;h=0;q:{if(j>>>0>i>>>0){break q}g=C[b+8>>2];h=0;if(g>>>0>>0){break q}h=0;if(g-i>>>0<2){break q}m=C[b+12>>2];e=m-2|0;C[b+12>>2]=e;d=1;h=0;if((e|0)<=0){break q}e=D[i|0]|D[i+1|0]<<8;r:{if(!e){break r}e=f+((e<<8|e>>>8)&65535)|0;s:{if(e>>>0>>0|e>>>0>g>>>0|g-e>>>0<2){break s}d=m-4|0;C[b+12>>2]=d;if((d|0)<=0){break s}j=e+2|0;if(j>>>0>g>>>0|g-j>>>0<2){break s}m=m-6|0;C[b+12>>2]=m;d=1;if((m|0)<=0){break s}j=D[j|0]|D[j+1|0]<<8;if(!j){break r}j=((j<<8|j>>>8)&65535)-1|0;if(!j){break r}e=e+4|0;if(e>>>0>g>>>0){break s}h=g-e|0;e=j<<1;if(h>>>0>>0){break s}e=m-e|0;C[b+12>>2]=e;if((e|0)>0){break r}}d=C[b+28>>2];h=0;if(d>>>0>31){break q}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break r}A[i|0]=0;A[i+1|0]=0;d=1}h=d}if(!h){break p}d=1;l=l+1|0;if((o|0)!=(l|0)){continue}break}break o}d=C[b+28>>2];e=0;if(d>>>0>31){break n}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break o}A[k|0]=0;A[k+1|0]=0;d=1}e=d}if(!e){break l}c=c+1|0;if((n|0)!=(c|0)){continue}break}}c=e}return c;case 4:d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;t:{u:{v:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break a}}return rt(a,b)}return qt(a,b)}return pt(a,b);case 5:return ot(a,b);case 6:c=0;w:{if(F[b+4>>2]>a>>>0){break w}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break w}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break w}c=1;if((D[a|0]|D[a+1|0]<<8)!=256){break w}c=0;x:{if(F[b+4>>2]>a>>>0){break x}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break x}e=C[b+12>>2]-8|0;C[b+12>>2]=e;if((e|0)<=0){break x}e=D[a+2|0]|D[a+3|0]<<8;if((e|0)==1792){break x}c=a;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c=tt(a?c+a|0:84608,b,(e<<8|(e&65280)>>>8)&65535)}}return c;case 7:break b;default:break a}}d=0;if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}d=Ce-16|0;Ce=d;c=a+2|0;y:{if(c>>>0>2]){break y}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break y}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break y}f=D[c|0]|D[c+1|0]<<8;z:{if(!f){break z}if(og(((f<<8|f>>>8)&65535)+a|0,b)){break z}f=C[b+28>>2];if(f>>>0>31){break y}C[b+28>>2]=f+1;if(!D[b+24|0]){break y}A[c|0]=0;A[c+1|0]=0}C[d+12>>2]=a;f=a+4|0;if(!Ek(f,b,d+12|0)){break y}c=D[a+4|0]|D[a+5|0]<<8;C[d+8>>2]=a;a=(f+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Ek(a,b,d+8|0)){break y}c=D[a|0]|D[a+1|0]<<8;a=(a+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){break y}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break y}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break y}g=D[a|0]|D[a+1|0]<<8;if(g){a=a+2|0;if(a>>>0>c>>>0){break y}c=c-a|0;a=((g<<8|g>>>8)&65535)<<1;if(c>>>0>>0){break y}a=f-a|0;C[b+12>>2]=a;if((a|0)<=0){break y}}e=1}Ce=d+16|0;d=e}return d}function yl(a){var 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;if(D[a|0]&2){Fj(a,1)}t=-1;d=C[a+4>>2];a:{if(!C[a+20>>2]|D[d+8|0]<8){break a}c=C[a+52>>2];b=C[c+68>>2];b:{if(!(b&256)){if(!(b&16)|!C[d+24>>2]){break a}if(!(b&1)){break b}break a}if(b&1){break a}}c:{if(b&2){if(!(C[d+24>>2]|b&224)){break c}break a}if(b&224){break a}}if(b&512){break a}d:{if(!(b&16?C[d+24>>2]:0)){if(!C[c+4>>2]){break a}c=-1;e:{f:{g:{h:{i:{h=D[C[a+4>>2]+9|0];switch(h-1|0){case 3:break g;case 1:case 2:break h;case 0:break i;default:break e}}b=I(I(C[a+12>>2],(C[a+8>>2]/2|0)+1|0),3)+2|0;break f}b=C[a+8>>2];b=I(C[a+12>>2],(I(b,h)+((b|0)/255<<1)|0)+2|0)+2|0;break f}b=C[a+8>>2];b=I(C[a+12>>2],(((b|0)/65535|0)+b<<2)+4|0)+4|0}e=Fe[C[94762]](b>>>0<=1?1:b)|0;if(e){C[94766]=C[94766]+1}if(!e){c=_e(0);break e}m=e;u=C[a+12>>2];if((u|0)>0){p=C[C[a+4>>2]+24>>2]^-1;n=p&C[C[a+52>>2]+72>>2];j=(h|0)==4?65535:255;q=C[(h<<2)+174700>>2];i=C[a+8>>2];l=C[a+20>>2];r=(h|0)!=4;c=e;while(1){g=0;s=0;while(1){j:{k:{b=g;if((i|0)<=(b|0)){break k}while(1){if((n|0)!=(Fe[q|0](I(b,h)+l|0)&p)){break k}b=b+1|0;if((i|0)!=(b|0)){continue}break}o=0;b=i;d=b;break j}o=0;if((b|0)>=(i|0)){d=b;break j}o=1;f=b;if((n|0)==(Fe[q|0](I(b,h)+l|0)&p)){d=b;break j}l:{m:{while(1){f=f+1|0;if((i|0)==(f|0)){break m}if((n|0)!=(Fe[q|0](I(h,f)+l|0)&p)){continue}break}d=f;break l}d=i}o=(f|0)<(i|0)}v=b-g|0;f=v;if((j|0)<(f|0)){while(1){n:{if(!r){B[c+2>>1]=0;B[c>>1]=j;g=4;break n}A[c|0]=255;A[c+1|0]=0;g=2}c=g+c|0;f=f-j|0;if((j|0)<(f|0)){continue}break}}g=d-b|0;k=(g|0)<(j|0)?g:j;s=(i|0)==(v|0)?1:s;o:{if(!r){B[c+2>>1]=k;B[c>>1]=f;f=4;break o}A[c+1|0]=k;A[c|0]=f;f=2}c=f+c|0;f=I(h,k);gf(c,I(b,h)+l|0,f);c=c+f|0;g=g-k|0;if(g){b=b+k|0;while(1){f=(g|0)<(j|0)?g:j;p:{if(!r){B[c+2>>1]=f;B[c>>1]=0;v=4;break p}A[c+1|0]=f;A[c|0]=0;v=2}c=v+c|0;k=I(h,f);gf(c,I(b,h)+l|0,k);c=c+k|0;b=b+f|0;g=g-f|0;if(g){continue}break}}m=s?m:c;g=d;if(o){continue}break}l=C[a+16>>2]+l|0;w=w+1|0;if((w|0)!=(u|0)){continue}break}}q:{if((h|0)==4){B[m>>1]=0;B[m+2>>1]=0;b=4;break q}A[m|0]=0;A[m+1|0]=0;b=2}c=C[a>>2];if(!(c&1)){d=C[a+20>>2];r:{if(c&8){if(d){d=C[d-4>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}}C[a>>2]=C[a>>2]&-9;break r}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}}C[a+20>>2]=0}b=Rf(e,(b+m|0)-e|0);C[C[a+52>>2]+12>>2]=b?b:e;c=0}if((c|0)<0){break a}t=8192;b=392;break d}e=-1;b=C[C[a+52>>2]>>2];s:{if(!b|D[C[a+4>>2]+8|0]!=32){break s}h=C[b+4>>2];d=C[h+16>>2];c=C[h+12>>2];g=C[h+20>>2];b=d|c|g;t:{u:{switch(D[h+9|0]-2|0){case 0:v:{if((b|0)!=32767){if((b|0)!=65535){break s}p=397;if((d|0)==2016|(c|0)==2016|(g|0)==2016){break v}break s}p=398;if((d|0)==992|(c|0)==992){break v}if((g|0)!=992){break s}}q=399;b=I(C[a+12>>2],I(C[a+8>>2],6)+8|0)+2|0;break t;case 2:break u;default:break s}}if((b|0)!=16777215){break s}q=400;p=400;b=I(C[a+12>>2],C[a+8>>2]+1|0)<<3|4}b=b+28|0;j=Fe[C[94762]](b>>>0<=1?1:b)|0;if(j){C[94766]=C[94766]+1}if(!j){e=_e(0);break s}e=D[h+9|0];A[j|0]=e;C[j+4>>2]=C[h+12>>2];C[j+8>>2]=C[h+16>>2];C[j+12>>2]=C[h+20>>2];C[j+16>>2]=C[h+24>>2];A[j+20|0]=D[h+28|0];A[j+21|0]=D[h+29|0];A[j+22|0]=D[h+30|0];A[j+23|0]=D[h+31|0];A[j+24|0]=D[h+32|0];A[j+25|0]=D[h+33|0];A[j+26|0]=D[h+34|0];A[j+27|0]=D[h+35|0];m=j+28|0;r=C[a+12>>2];if((r|0)>0){l=C[a+4>>2];f=C[a+8>>2];k=C[a+20>>2];e=m;while(1){d=0;o=0;while(1){w:{x:{b=d;if((f|0)<=(b|0)){break x}c=D[l+35|0];g=C[l+24>>2];while(1){if(((g&C[(b<<2)+k>>2])>>>c|0)==255){break x}b=b+1|0;if((f|0)!=(b|0)){continue}break}n=0;b=f;g=b;break w}n=0;if((b|0)>=(f|0)){g=b;break w}n=1;c=b;g=C[l+24>>2];i=D[l+35|0];if(((g&C[(b<<2)+k>>2])>>>i|0)!=255){g=b;break w}y:{z:{while(1){c=c+1|0;if((f|0)==(c|0)){break z}if(((g&C[(c<<2)+k>>2])>>>i|0)==255){continue}break}g=c;break y}g=f}n=(c|0)<(f|0)}s=b-d|0;c=s;if((c|0)>=256){while(1){A:{if(D[h+9|0]==4){B[e>>1]=255;B[e+2>>1]=0;d=4;break A}A[e|0]=255;A[e+1|0]=0;d=2}e=d+e|0;d=(c|0)>510;c=c-255|0;if(d){continue}break}}i=g-b|0;d=(i|0)>=255?255:i;B:{if(D[h+9|0]==4){B[e+2>>1]=d;B[e>>1]=c;c=4;break B}A[e+1|0]=d;A[e|0]=c;c=2}c=c+e|0;e=(Fe[q|0](c,(b<<2)+k|0,d,l,h)|0)+c|0;i=i-d|0;if(i){b=b+d|0;while(1){d=(i|0)>=255?255:i;C:{if(D[h+9|0]==4){B[e+2>>1]=d;B[e>>1]=0;c=4;break C}A[e+1|0]=d;A[e|0]=0;c=2}c=c+e|0;e=(Fe[q|0](c,(b<<2)+k|0,d,l,h)|0)+c|0;b=b+d|0;i=i-d|0;if(i){continue}break}}o=(f|0)==(s|0)?1:o;d=g;if(n){continue}break}e=(e&2)+e|0;d=0;while(1){D:{E:{b=d;if((f|0)<=(b|0)){break E}c=D[l+35|0];g=C[l+24>>2];while(1){if(((g&C[(b<<2)+k>>2])>>>c|0)-255>>>0>4294967041){break E}b=b+1|0;if((f|0)!=(b|0)){continue}break}g=0;b=f;i=b;break D}g=0;if((b|0)>=(f|0)){i=b;break D}g=1;c=b;i=C[l+24>>2];n=D[l+35|0];if(((i&C[(b<<2)+k>>2])>>>n|0)-1>>>0>=254){i=b;break D}F:{G:{while(1){c=c+1|0;if((f|0)==(c|0)){break G}if(((i&C[(c<<2)+k>>2])>>>n|0)-1>>>0<=253){continue}break}i=c;break F}i=f}g=(c|0)<(f|0)}c=b-d|0;d=(f|0)==(c|0);if((c|0)>=65536){while(1){B[e>>1]=65535;B[e+2>>1]=0;e=e+4|0;n=c>>>0>131070;c=c-65535|0;if(n){continue}break}}o=d&o;B[e>>1]=c;c=i-b|0;d=(c|0)>=65535?65535:c;B[e+2>>1]=d;e=e+4|0;e=(Fe[p|0](e,(b<<2)+k|0,d,l,h)|0)+e|0;c=c-d|0;if(c){b=b+d|0;while(1){B[e>>1]=0;d=(c|0)>=65535?65535:c;B[e+2>>1]=d;e=e+4|0;e=(Fe[p|0](e,(b<<2)+k|0,d,l,h)|0)+e|0;b=b+d|0;c=c-d|0;if(c){continue}break}}m=o?m:e;d=i;if(g){continue}break}k=(C[a+16>>2]&-4)+k|0;u=u+1|0;if((r|0)!=(u|0)){continue}break}e=D[h+9|0]}c=4;H:{if((e&255)==4){B[m>>1]=0;B[m+2>>1]=0;break H}A[m|0]=0;A[m+1|0]=0;c=2}d=C[a>>2];if(!(d&1)){b=C[a+20>>2];I:{if(d&8){if(b){b=C[b-4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}C[a>>2]=C[a>>2]&-9;break I}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}C[a+20>>2]=0}b=Rf(j,(c+m|0)-j|0);C[C[a+52>>2]+12>>2]=b?b:j;e=0}if((e|0)<0){break a}t=16384;b=393}d=C[a+52>>2];C[d+8>>2]=b;C[d+68>>2]=C[d+68>>2]|t;C[a>>2]=C[a>>2]|2;t=0}return t}function zA(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=J(0),h=0,i=J(0),j=0,k=0,l=0,m=J(0),n=0,o=0,p=0,q=0,r=0;h=Ce-32|0;Ce=h;a:{b:{c:{d:{e:{d=C[b>>2];switch(d-1024|0){case 1:case 2:break c;case 0:break d;default:break e}}if(d-1792>>>0<3){break b}if((d|0)!=512){break a}c=oq(C[b+8>>2]);if((c|0)!=C[a+204>>2]){break a}d=C[a+4>>2];if(d){Fe[d|0](a,b)}f:{switch(D[b+12|0]-1|0){case 5:case 17:g:{h:{i:{if(C[a>>2]!=422837){C[h>>2]=9675;Qe(19745,h);break i}o=C[a+412>>2];if(o){break h}}o=0;p=1;break g}jn(a,0);p=0}j:{if(!c){break j}b=C[a+8>>2];if(!b){break j}if(Fe[b|0](a,h+20|0,h+16|0)|0){break j}bi(C[a+204>>2],h+28|0,h+24|0);G[a+384>>2]=J(C[h+28>>2])/J(C[h+20>>2]);G[a+388>>2]=J(C[h+24>>2])/J(C[h+16>>2])}k:{if(C[a+212>>2]){c=0;b=Ce-48|0;Ce=b;C[b+44>>2]=1;C[b+40>>2]=1;l:{if(!C[a+212>>2]|!C[a+216>>2]){break l}if((tl(a,b+44|0,b+40|0)|0)<0){break l}d=Eg(27272);m:{if(!d){break m}if(D[d|0]!=49){if(wf(d,12449)){break m}}c=1}m=J(C[b+40>>2]);i=J(C[b+44>>2]);e=J(C[a+216>>2]);g=J(C[a+212>>2]);n:{if(C[a>>2]!=422837){C[b+16>>2]=9675;Qe(19745,b+16|0);break n}C[a+368>>2]=1065353216;C[a+372>>2]=1065353216}i=J(i/m);g=J(g/e);o:{if(C[a+228>>2]){p:{if(g>i){d=C[a+212>>2];c=C[b+44>>2]/(d|0)|0;break p}d=C[a+212>>2];c=C[b+40>>2]/C[a+216>>2]|0}e=J(((c|0)<=1?1:c)|0);f=O(+J(e*J(d|0)));q:{if(K(f)<2147483648){c=~~f;break q}c=-2147483648}C[b+32>>2]=c;l=(C[b+44>>2]-c|0)/2|0;C[b+24>>2]=l;f=O(+J(e*J(C[a+216>>2])));r:{if(K(f)<2147483648){d=~~f;break r}d=-2147483648}C[b+36>>2]=d;j=(C[b+40>>2]-d|0)/2|0;C[b+28>>2]=j;break o}if(K(+J(g-i))<1e-4){c=C[a+212>>2];d=C[b+44>>2];mf(b+24|0,0,16);tl(a,b+32|0,b+36|0);e=J(J(d|0)/J(c|0));d=C[b+36>>2];c=C[b+32>>2];j=C[b+28>>2];l=C[b+24>>2];break o}k=b;s:{if(g>i){if(c){c=C[a+216>>2];d=C[b+40>>2];C[b+36>>2]=d;C[b+28>>2]=0;e=J(J(d|0)/J(c|0));f=O(+J(e*J(C[a+212>>2])));t:{if(K(f)<2147483648){c=~~f;break t}c=-2147483648}C[b+32>>2]=c;l=(C[b+44>>2]-c|0)/2|0;break s}d=C[a+212>>2];c=C[b+44>>2];C[b+32>>2]=c;C[b+24>>2]=0;e=J(J(c|0)/J(d|0));f=O(+J(e*J(C[a+216>>2])));u:{if(K(f)<2147483648){d=~~f;break u}d=-2147483648}C[b+36>>2]=d;j=(C[b+40>>2]-d|0)/2|0;C[b+28>>2]=j;break o}if(c){d=C[a+212>>2];c=C[b+44>>2];C[b+32>>2]=c;C[b+24>>2]=0;e=J(J(c|0)/J(d|0));f=O(+J(e*J(C[a+216>>2])));v:{if(K(f)<2147483648){d=~~f;break v}d=-2147483648}C[b+36>>2]=d;j=(C[b+40>>2]-d|0)/2|0;C[b+28>>2]=j;break o}c=C[a+216>>2];d=C[b+40>>2];C[b+36>>2]=d;C[b+28>>2]=0;e=J(J(d|0)/J(c|0));f=O(+J(e*J(C[a+212>>2])));w:{if(K(f)<2147483648){c=~~f;break w}c=-2147483648}C[b+32>>2]=c;l=(C[b+44>>2]-c|0)/2|0}C[k+24>>2]=l}f=+G[a+368>>2];H[a+232>>3]=+(l|0)*f;H[a+248>>3]=f*+(c|0);f=+G[a+372>>2];H[a+256>>3]=f*+(d|0);H[a+240>>3]=+(j|0)*f;tk(a);x:{if(C[a+432>>2]){break x}d=C[a+436>>2];if(!d){break x}Fe[C[a+52>>2]](a,d,C[a+536>>2],C[a+540>>2])|0;d=C[a+440>>2];if(d){C[d+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}y:{if(C[a>>2]!=422837){C[b>>2]=9675;Qe(19745,b);break y}G[a+372>>2]=e;G[a+368>>2]=e}}Ce=b+48|0;break k}b=C[a+8>>2];z:{if(b){Fe[b|0](a,h+28|0,h+24|0)|0;break z}bi(C[a+204>>2],h+28|0,h+24|0)}C[a+232>>2]=0;C[a+236>>2]=0;C[a+240>>2]=0;C[a+244>>2]=0;H[a+248>>3]=C[h+28>>2];H[a+256>>3]=C[h+24>>2];tk(a);Xq(a)}if(p){break a}jn(a,o);break a;case 1:C[a+208>>2]=1;break a;case 0:if(kl(c)&64){break a}C[a+208>>2]=0;break a;case 6:C[a+208>>2]=1;break a;case 7:case 8:break f;default:break a}}if(kl(c)&8){break a}C[a+208>>2]=0;break a}if((oq(C[b+8>>2])|0)!=C[a+204>>2]){break a}c=C[a+412>>2];if(!C[(c?220:212)+a>>2]){break a}i=G[(c?a+376|0:a+368|0)+4>>2];n=H[(c?a+264|0:a+232|0)+8>>3];e=G[(c?376:368)+a>>2];d=C[b+20>>2];f=H[(c?264:232)+a>>3]*+G[a+384>>2];A:{if(K(f)<2147483648){c=~~f;break A}c=-2147483648}c=d-c|0;C[b+20>>2]=c;d=C[b+24>>2];f=n*+G[a+388>>2];B:{if(K(f)<2147483648){k=~~f;break B}k=-2147483648}d=d-k|0;C[b+24>>2]=d;g=J(J(c|0)/J(e*G[a+384>>2]));C:{if(J(K(g))>2]=c;g=J(J(d|0)/J(i*G[a+388>>2]));D:{if(J(K(g))>2]=c;d=C[b+28>>2];if(!(!d|!C[a+392>>2])){g=J(G[a+400>>2]+J(J(d|0)/J(e*G[a+384>>2])));e=J(Q(g));G[a+400>>2]=g-e;if(J(K(e))>2]=c}d=C[b+32>>2];if(!d|!C[a+392>>2]){break a}g=J(G[a+404>>2]+J(J(d|0)/J(i*G[a+388>>2])));e=J(Q(g));G[a+404>>2]=g-e;if(J(K(e))>2]=~~e;break a}C[b+32>>2]=-2147483648;break a}if((oq(C[b+8>>2])|0)!=C[a+204>>2]){break a}c=C[a+412>>2];if(!C[(c?220:212)+a>>2]){break a}e=G[(c?a+376|0:a+368|0)+4>>2];n=H[(c?a+264|0:a+232|0)+8>>3];g=G[(c?376:368)+a>>2];d=C[b+20>>2];f=H[(c?264:232)+a>>3]*+G[a+384>>2];E:{if(K(f)<2147483648){c=~~f;break E}c=-2147483648}c=d-c|0;C[b+20>>2]=c;d=C[b+24>>2];f=n*+G[a+388>>2];F:{if(K(f)<2147483648){k=~~f;break F}k=-2147483648}d=d-k|0;C[b+24>>2]=d;g=J(J(c|0)/J(g*G[a+384>>2]));G:{if(J(K(g))>2]=c;g=J(J(d|0)/J(e*G[a+388>>2]));if(J(K(g))>2]=~~g;break a}C[b+24>>2]=-2147483648;break a}d=C[a+412>>2];c=d?a+264|0:a+232|0;q=H[c+24>>3];r=H[c+16>>3];n=H[c+8>>3];f=H[(d?264:232)+a>>3];d=C[a+8>>2];H:{if(d){Fe[d|0](a,h+28|0,h+24|0)|0;e=J(C[h+28>>2]);g=J(C[h+24>>2]);break H}bi(C[a+204>>2],h+28|0,h+24|0);e=J(G[a+384>>2]*J(C[h+28>>2]));g=J(G[a+388>>2]*J(C[h+24>>2]))}I:{if(e==J(0)){C[b+24>>2]=1056964608;break I}m=G[b+24>>2];i=J(J(f)/e);if(m<=i){C[b+24>>2]=0;break I}e=J(J(r)/e);if(m>=J(i+e)){C[b+24>>2]=1065353216;break I}G[b+24>>2]=J(m-i)/e}if(g==J(0)){C[b+28>>2]=1056964608;break a}i=G[b+28>>2];e=J(J(n)/g);if(i<=e){C[b+28>>2]=0;break a}g=J(J(q)/g);if(i>=J(e+g)){C[b+28>>2]=1065353216;break a}G[b+28>>2]=J(i-e)/g}Ce=h+32|0;return 0}function LC(a){a=a|0;var 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;m=C[a+28>>2];if(m){p=C[a+36>>2];q=C[a+16>>2];b=C[a+44>>2];n=C[a+24>>2];r=n&7;n=(n+7|0)/8|0;h=C[a>>2];a=C[a+20>>2];k=D[b+9|0];l=k-1|0;while(1){m=m-1|0;o=n;a:{b:{switch(r-1|0){default:d=7;break a;case 0:d=6;break a;case 1:d=5;break a;case 2:d=4;break a;case 3:d=3;break a;case 4:d=2;break a;case 5:d=1;break a;case 6:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:c=C[h>>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];e:{f:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break e;case 3:break f;default:break e}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];g:{h:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break g;case 3:break h;default:break g}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];i:{j:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break i;case 3:break j;default:break i}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];k:{l:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break k;case 3:break l;default:break k}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];m:{n:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break m;case 3:break n;default:break m}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];o:{p:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break o;case 3:break p;default:break o}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];q:{r:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break q;case 3:break r;default:break q}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2];i=c>>>2|0;e=i&255;j=c>>>12|0;f=j&255;d=c>>>22|0;g=d&255;c=D[C[95542]+(c>>>30|0)|0];s:{t:{switch(l|0){case 0:A[a|0]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>1]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>>3|0)+a|0]=d;A[(D[b+33|0]>>>3|0)+a|0]=j;A[(D[b+34|0]>>>3|0)+a|0]=i;break s;case 3:break t;default:break s}}C[a>>2]=f>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>>D[b+31|0]<>2]=0;o(+b);g=j(1)|0;j(0)|0;a:{if((g|0)<0){u=1;z=1749;b=-b;o(+b);g=j(1)|0;j(0)|0;break a}if(e&2048){u=1;z=1752;break a}u=e&1;z=u?1755:1750;B=!u}b:{if((g&2146435072)==2146435072){g=u+3|0;Ig(a,32,c,g,e&-65537);Bg(a,z,u);d=f&32;Bg(a,b!=b?d?12445:25583:d?15654:26378,3);Ig(a,32,c,g,e^8192);p=(c|0)<(g|0)?g:c;break b}w=n+16|0;c:{d:{e:{b=$u(b,n+44|0);b=b+b;if(b!=0){g=C[n+44>>2];C[n+44>>2]=g-1;x=f|32;if((x|0)!=97){break e}break c}x=f|32;if((x|0)==97){break c}l=C[n+44>>2];m=(d|0)<0?6:d;break d}l=g-29|0;C[n+44>>2]=l;b=b*268435456;m=(d|0)<0?6:d}s=(n+48|0)+((l|0)>=0?288:0)|0;h=s;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}C[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((l|0)<=0){d=l;g=h;i=s;break f}i=s;d=l;while(1){q=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){k=C[g>>2];y=d;d=q&31;if((q&63)>>>0>=32){p=k<>>32-d;d=k<>>0>y>>>0?k+1|0:k,1e9,0);E=g,F=y-mT(d,Ee,1e9,0)|0,C[E>>2]=F;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;C[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!C[h>>2]){continue}}break}d=C[n+44>>2]-q|0;C[n+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){v=((m+25>>>0)/9|0)+1|0;r=(x|0)==102;while(1){d=0-d|0;p=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=C[i>>2];break h}q=1e9>>>p|0;k=-1<>2];C[h>>2]=y+(d>>>p|0);d=I(q,d&k);h=h+4|0;if(h>>>0>>0){continue}break}h=C[i>>2];if(!d){break h}C[g>>2]=d;g=g+4|0}d=p+C[n+44>>2]|0;C[n+44>>2]=d;i=(!h<<2)+i|0;h=r?s:i;g=g-h>>2>(v|0)?h+(v<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=I(s-i>>2,9);h=10;k=C[i>>2];if(k>>>0<10){break i}while(1){d=d+1|0;h=I(h,10);if(k>>>0>=h>>>0){continue}break}}h=(m-((x|0)!=102?d:0)|0)-((x|0)==103&(m|0)!=0)|0;if((h|0)<(I(g-s>>2,9)-9|0)){q=h+9216|0;k=(q|0)/9|0;l=((((l|0)<0?4:292)+n|0)+(k<<2)|0)-4048|0;h=10;p=q-I(k,9)|0;if((p|0)<=7){while(1){h=I(h,10);p=p+1|0;if((p|0)!=8){continue}break}}q=C[l>>2];v=(q>>>0)/(h>>>0)|0;r=q-I(h,v)|0;k=l+4|0;j:{if(!r&(k|0)==(g|0)){break j}k:{if(!(v&1)){b=9007199254740992;if(!(A[l-4|0]&1)|((h|0)!=1e9|i>>>0>=l>>>0)){break k}}b=9007199254740994}t=(g|0)==(k|0)?1:1.5;k=h>>>1|0;t=k>>>0>r>>>0?.5:(k|0)==(r|0)?t:1.5;if(!(D[z|0]!=45|B)){t=-t;b=-b}k=q-r|0;C[l>>2]=k;if(b+t==b){break j}d=h+k|0;C[l>>2]=d;if(d>>>0>=1e9){while(1){C[l>>2]=0;l=l-4|0;if(l>>>0>>0){i=i-4|0;C[i>>2]=0}d=C[l>>2]+1|0;C[l>>2]=d;if(d>>>0>999999999){continue}break}}d=I(s-i>>2,9);h=10;k=C[i>>2];if(k>>>0<10){break j}while(1){d=d+1|0;h=I(h,10);if(k>>>0>=h>>>0){continue}break}}h=l+4|0;g=g>>>0>h>>>0?h:g}while(1){k=g;q=g>>>0<=i>>>0;if(!q){g=k-4|0;if(!C[g>>2]){continue}}break}l:{if((x|0)!=103){l=e&8;break l}h=m?m:1;g=(h|0)>(d|0)&(d|0)>-5;m=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;l=e&8;if(l){break l}g=-9;m:{if(q){break m}l=C[k-4>>2];if(!l){break m}p=10;g=0;if((l>>>0)%10|0){break m}while(1){h=g;g=g+1|0;p=I(p,10);if(!((l>>>0)%(p>>>0)|0)){continue}break}g=h^-1}h=I(k-s>>2,9);if((f&-33)==70){l=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break l}l=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}p=-1;q=l|m;if(((q?2147483645:2147483646)|0)<(m|0)){break b}r=(((q|0)!=0)+m|0)+1|0;h=f&-33;n:{if((h|0)==70){if((r^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=Xj((g^d)-g|0,0,w);if((w-g|0)<=1){while(1){g=g-1|0;A[g|0]=48;if((w-g|0)<2){continue}break}}v=g-2|0;A[v|0]=f;A[g-1|0]=(d|0)<0?45:43;g=w-v|0;if((g|0)>(r^2147483647)){break b}}d=g+r|0;if((d|0)>(u^2147483647)){break b}r=d+u|0;Ig(a,32,c,r,e);Bg(a,z,u);Ig(a,48,c,r,e^65536);o:{p:{q:{if((h|0)==70){f=n+16|0;d=f|8;l=f|9;h=i>>>0>s>>>0?s:i;i=h;while(1){g=Xj(C[i>>2],0,l);r:{if((h|0)!=(i|0)){if(n+16>>>0>=g>>>0){break r}while(1){g=g-1|0;A[g|0]=48;if(n+16>>>0>>0){continue}break}break r}if((g|0)!=(l|0)){break r}A[n+24|0]=48;g=d}Bg(a,g,l-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}if(q){Bg(a,30281,1)}if((m|0)<=0|i>>>0>=k>>>0){break q}while(1){g=Xj(C[i>>2],0,l);if(g>>>0>n+16>>>0){while(1){g=g-1|0;A[g|0]=48;if(n+16>>>0>>0){continue}break}}Bg(a,g,(m|0)>=9?9:m);g=m-9|0;i=i+4|0;if(k>>>0<=i>>>0){break p}d=(m|0)>9;m=g;if(d){continue}break}break p}s:{if((m|0)<0){break s}s=i>>>0>>0?k:i+4|0;f=n+16|0;d=f|8;k=f|9;h=i;while(1){g=Xj(C[h>>2],0,k);if((k|0)==(g|0)){A[n+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(n+16>>>0>=g>>>0){break t}while(1){g=g-1|0;A[g|0]=48;if(n+16>>>0>>0){continue}break}break t}Bg(a,g,1);g=g+1|0;if(!(l|m)){break t}Bg(a,30281,1)}f=k-g|0;Bg(a,g,(f|0)>(m|0)?m:f);m=m-f|0;h=h+4|0;if(s>>>0<=h>>>0){break s}if((m|0)>=0){continue}break}}Ig(a,48,m+18|0,18,0);Bg(a,v,w-v|0);break o}g=m}Ig(a,48,g+9|0,9,0)}Ig(a,32,c,r,e^8192);p=(c|0)<(r|0)?r:c;break b}l=(f<<26>>31&9)+z|0;u:{if(d>>>0>11){break u}g=12-d|0;t=16;while(1){t=t*16;g=g-1|0;if(g){continue}break}if(D[l|0]==45){b=-(t+(-b-t));break u}b=b+t-t}g=C[n+44>>2];h=g>>31;g=Xj((g^h)-h|0,0,w);if((w|0)==(g|0)){A[n+15|0]=48;g=n+15|0}s=u|2;i=f&32;h=C[n+44>>2];m=g-2|0;A[m|0]=f+15;A[g-1|0]=(h|0)<0?45:43;g=e&8;h=n+16|0;while(1){f=h;if(K(b)<2147483648){k=~~b}else{k=-2147483648}A[h|0]=i|D[k+377088|0];b=(b-+(k|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(n+16|0)|0)!=1)){A[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}p=-1;g=w-m|0;f=g+s|0;if((2147483645-f|0)<(d|0)){break b}v:{w:{if(!d){break w}i=h-(n+16|0)|0;if((i-2|0)>=(d|0)){break w}d=d+2|0;break v}i=h-(n+16|0)|0;d=i}f=d+f|0;Ig(a,32,c,f,e);Bg(a,l,s);Ig(a,48,c,f,e^65536);Bg(a,n+16|0,i);Ig(a,48,d-i|0,0,0);Bg(a,m,g);Ig(a,32,c,f,e^8192);p=(c|0)<(f|0)?f:c}Ce=n+560|0;return p|0}function ZC(a){a=a|0;var 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;n=C[a+28>>2];if(n){k=C[a+48>>2];q=C[a+36>>2];r=C[a+16>>2];h=C[a+24>>2];s=h&3;t=(h+3|0)/4|0;f=C[a>>2];h=C[a+20>>2];o=C[a+44>>2];b=C[a+40>>2];m=D[b+9|0];p=m-1|0;while(1){n=n-1|0;a=t;a:{b:{switch(s-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:d=0;e=0;g=0;c=0;e:{f:{switch(p|0){case 0:d=D[f|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 1:d=E[f>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break e;case 2:g=D[(D[b+34|0]>>>3|0)+f|0];e=D[(D[b+33|0]>>>3|0)+f|0];d=D[(D[b+32|0]>>>3|0)+f|0];c=255;break e;case 3:break f;default:break e}}d=C[f>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=e;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[e+1|0];l=d;d=D[e|0];i=((I(i-j|0,c)|0)/255|0)+j>>>3&28|((I(l-d|0,c)|0)/255|0)+d&-32;d=c;c=D[e+2|0];c=i|(((I(d,g-c|0)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=1;continue;case 1:d=0;e=0;g=0;c=0;g:{h:{switch(p|0){case 0:d=D[f|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 1:d=E[f>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break g;case 2:g=D[(D[b+34|0]>>>3|0)+f|0];e=D[(D[b+33|0]>>>3|0)+f|0];d=D[(D[b+32|0]>>>3|0)+f|0];c=255;break g;case 3:break h;default:break g}}d=C[f>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=e;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[e+1|0];l=d;d=D[e|0];i=((I(i-j|0,c)|0)/255|0)+j>>>3&28|((I(l-d|0,c)|0)/255|0)+d&-32;d=c;c=D[e+2|0];c=i|(((I(d,g-c|0)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=2;continue;case 2:d=0;e=0;g=0;c=0;i:{j:{switch(p|0){case 0:d=D[f|0];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 1:d=E[f>>1];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0];break i;case 2:g=D[(D[b+34|0]>>>3|0)+f|0];e=D[(D[b+33|0]>>>3|0)+f|0];d=D[(D[b+32|0]>>>3|0)+f|0];c=255;break i;case 3:break j;default:break i}}d=C[f>>2];c=D[C[(D[b+31|0]<<2)+382144>>2]+((d&C[b+24>>2])>>>D[b+35|0]|0)|0];g=D[C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0];e=D[C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0];d=D[C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=e;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[e+1|0];l=d;d=D[e|0];i=((I(i-j|0,c)|0)/255|0)+j>>>3&28|((I(l-d|0,c)|0)/255|0)+d&-32;d=c;c=D[e+2|0];c=i|(((I(d,g-c|0)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;if((a|0)<=1){break c}a=a-1|0;c=3;continue;default:break d}}c=0;g=0;d=0;e=0;k:{l:{switch(p|0){case 0:c=D[f|0];e=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 1:c=E[f>>1];e=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0];break k;case 2:d=D[(D[b+34|0]>>>3|0)+f|0];g=D[(D[b+33|0]>>>3|0)+f|0];c=D[(D[b+32|0]>>>3|0)+f|0];e=255;break k;case 3:break l;default:break k}}c=C[f>>2];e=D[C[(D[b+31|0]<<2)+382144>>2]+((c&C[b+24>>2])>>>D[b+35|0]|0)|0];d=D[C[(D[b+30|0]<<2)+382144>>2]+((c&C[b+20>>2])>>>D[b+34|0]|0)|0];g=D[C[(D[b+29|0]<<2)+382144>>2]+((c&C[b+16>>2])>>>D[b+33|0]|0)|0];c=D[C[(D[b+28|0]<<2)+382144>>2]+((c&C[b+12>>2])>>>D[b+32|0]|0)|0]}i=g;g=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;j=D[g+1|0];l=c;c=D[g|0];i=((I(i-j|0,e)|0)/255|0)+j>>>3&28|((I(l-c|0,e)|0)/255|0)+c&-32;c=D[g+2|0];c=i|(((I(d-c|0,e)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=0;continue}break}h=h+q|0;f=f+r|0;if(n){continue}break}}}function jR(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,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;s=Ce-80|0;Ce=s;g=gl(a,b);a:{if(g){break a}d=C[a+2980>>2];if(!(!(!(d&8)&C[c+24>>2]==1)&(d&1))){g=Ty(a,C[c+52>>2],c+56|0,0);if(g){break a}d=C[a+2980>>2]}b:{if(d&2){break b}g=Ty(a,C[c+1624>>2],c+1628|0,1);if(g){break a}d=C[a+1524>>2];if((d|0)<=0){break b}g=C[a+1532>>2];t=g+I(d,48)|0;k=C[c+1616>>2];p=c+1836|0;while(1){d=Te(F[c+40>>2]/40|0,k);c:{if(!C[c+1832>>2]){break c}e=(d|0)>=32?32:d;d=0;j=0;n=0;while(1){f=p+I(d,28)|0;i=C[f+24>>2];d:{if(!(i&1)){break d}q=i>>>2&1;u=i&2;if(!(q|u>>>1^C[a+1536>>2]==A[g+13|0])){break d}h=B[g>>1]-C[f>>2]|0;i=h>>31;h=Te((h^i)-i|0,k);i=(h|0)<(e|0);e=i?h:e;j=i?f:j;n=i?q:n;if(q|(!(A[g+12|0]&1)|!h)){break d}i=B[g>>1];if((u|0)!=0^(i|0)>=C[f>>2]){break d}q=i-C[f+12>>2]|0;i=q>>31;i=Te((i^q)-i|0,k);if((i|0)>=(e|0)){break d}j=f+12|0;n=0;e=i}d=d+1|0;if(d>>>0>2]){continue}break}if(!j){break c}C[g+20>>2]=j;if(!(n&255)){break c}A[g+12|0]=D[g+12|0]|8}g=g+48|0;if(t>>>0>g>>>0){continue}break}}q=1;n=0;while(1){e:{f:{g:{if(q){d=C[a+2980>>2];if(!(d&8|C[c+24>>2]!=1)){Sy(s+20|0,a,s+16|0,s+12|0);e=C[a+24>>2];if((e|0)<=0){break f}d=C[a+28>>2];e=d+I(e,40)|0;i=C[s+12>>2];f=C[s+16>>2];while(1){y=d,z=Te(B[d+12>>1],f)+i|0,C[y+16>>2]=z;d=d+40|0;if(e>>>0>d>>>0){continue}break}break f}if(!(d&1)){break g}break f}if(D[a+2980|0]&2){break e}}u=I(n,1468)+a|0;i=C[u- -64>>2];p=C[u+56>>2];t=i+I(p,48)|0;v=0;d=i;k=0;if((p|0)>0&n){while(1){j=D[d+12|0];h:{if(j&4){break h}i:{j:{k:{l:{m:{f=C[d+20>>2];e=C[d+24>>2];n:{if(!f|!e){break n}h=C[e+20>>2];if(!h){break m}g=D[e+12|0];if(g&8){C[e+20>>2]=0;A[e+12|0]=g&247;f=C[d+20>>2];break n}if(!(j&8)){break m}f=0;C[d+20>>2]=0;A[d+12|0]=j&247}if(!e|f){break l}f=C[e+20>>2];if(!f){break h}f=C[f+8>>2];C[e+8>>2]=f;g=D[e+12|0]|4;A[e+12|0]=g;j=e;e=d;break j}f=C[f+8>>2];g=j|4;A[d+12|0]=g;C[d+8>>2]=f;break k}if(!f){break h}f=C[f+8>>2];C[d+8>>2]=f;g=D[d+12|0]|4;A[d+12|0]=g;if(!e){break i}h=C[e+20>>2]}j=d;if(h){break i}}h=C[e+4>>2]-C[j+4>>2]|0;j=D[e+12|0];h=el(a,1,h,g&255,j);A[e+12|0]=j|4;C[e+8>>2]=f+h}k=k?k:d}d=d+48|0;if(t>>>0>d>>>0){continue}break}}d=i;w=(p|0)<=0;if(!w){while(1){j=D[d+12|0];o:{if(j&4){break o}e=C[d+24>>2];if(!e){v=v+1|0;break o}if(C[e+20>>2]){f=el(a,n,C[d+4>>2]-C[e+4>>2]|0,D[e+12|0],j);e=C[e+8>>2];A[d+12|0]=j|4;C[d+8>>2]=e+f;break o}h=C[d+4>>2];if(!k){k=C[e+4>>2]-h|0;f=el(a,n,k,j,D[e+12|0]);p:{if((f|0)<=95){h=h+(k>>1)|0;o=h+32&-64;l=(f|0)<65;g=o+(l?-32:-38)|0;r=h-g|0;m=r>>31;l=o|(l?32:26);o=h-l|0;h=o>>31;h=((f|0)/-2|0)+((m^r)-m>>>0<(h^o)-h>>>0?g:l)|0;C[d+8>>2]=h;g=f+h|0;f=e;break p}g=h+32&-64;f=d}C[f+8>>2]=g;f=j|4;A[d+12|0]=f;y=e,z=C[d+8>>2]+el(a,n,k,f,D[e+12|0])|0,C[y+8>>2]=z;k=d;break o}m=C[k+4>>2];l=C[k+8>>2];g=C[e+4>>2]-h|0;o=D[e+12|0];f=el(a,n,g,j,o);q:{if(o&4){h=C[e+8>>2]-f|0;f=d;break q}m=l+(h-m|0)|0;h=m+(g>>1)|0;r:{if((f|0)<=95){l=h+32&-64;m=(f|0)<65;o=l+(m?-32:-38)|0;r=h-o|0;g=r>>31;m=l|(m?32:26);l=h-m|0;h=l>>31;h=(g^r)-g>>>0<(h^l)-h>>>0?o:m;f=(f|0)/2|0;C[d+8>>2]=h-f;h=f+h|0;break r}l=m+32|0;o=l&-64;r=f>>>1|0;x=(o+r|0)-h|0;m=x>>31;g=(g+l&-64)-f|0;l=g+(r-h|0)|0;h=l>>31;h=(m^x)-m>>>0<(h^l)-h>>>0?o:g;C[d+8>>2]=h;h=f+h|0}f=e}C[f+8>>2]=h;A[d+12|0]=j|4;A[e+12|0]=D[e+12|0]|4;if(d>>>0<=i>>>0){break o}e=C[d-40>>2];if((e|0)<=C[d+8>>2]){break o}C[d+8>>2]=e}d=d+48|0;if(t>>>0>d>>>0){continue}break}}s:{if(!q){break s}d=4;f=2;e=i;t:{switch(p-6|0){case 6:e=i+48|0;d=9;f=5;break;case 0:break t;default:break s}}j=i+I(f,48)|0;d=i+I(d,48)|0;h=(C[j+4>>2]<<1)-(C[e+4>>2]+C[d+4>>2]|0)|0;f=h>>31;if((f^h)-f>>>0>7){break s}f=C[d+8>>2];e=(C[j+8>>2]<<1)-C[e+8>>2]|0;C[d+8>>2]=e;f=f-e|0;e=C[d+24>>2];if(e){C[e+8>>2]=C[e+8>>2]-f}if((p|0)==12){C[i+392>>2]=C[i+392>>2]-f;C[i+536>>2]=C[i+536>>2]-f}A[d+12|0]=D[d+12|0]|4;if(!e){break s}A[e+12|0]=D[e+12|0]|4}u:{if(!(!k|(v|0)!=0)){break u}d=i;if(w){break u}while(1){j=D[d+12|0];v:{if(j&4){break v}w:{x:{y:{e=C[d+28>>2];if(!e){break y}h=C[e+4>>2];g=C[d+4>>2];p=h-g|0;f=p>>31;if((f^p)-f>>>0>79){break y}e=C[e+8>>2]+(g-h|0)|0;break x}e=d;if(!k){e=C[d+4>>2]+32&-64;C[d+8>>2]=e;k=d;break w}while(1){g=e;e=e-48|0;p=i>>>0>e>>>0;if(!(p|D[g-36|0]&4)){continue}break}f=d;z:{while(1){h=f;f=f+48|0;if(t>>>0<=f>>>0){break z}if(!(D[h+60|0]&4)){continue}break}if(d>>>0<=e>>>0|p|d>>>0>=f>>>0){break z}f=g-48|0;e=C[f+8>>2];g=C[h+52>>2];f=C[f+4>>2];if((g|0)==(f|0)){break x}e=of(C[d+4>>2]-f|0,C[h+56>>2]-e|0,g-f|0)+e|0;C[d+8>>2]=e;j=D[d+12|0];break w}e=C[k+8>>2]+((C[d+4>>2]-C[k+4>>2]|0)+16&-32)|0}C[d+8>>2]=e}A[d+12|0]=j|4;A:{if(d>>>0<=i>>>0){break A}f=C[d-40>>2];if((f|0)<=(e|0)){break A}C[d+8>>2]=f;e=f}if(!(D[d+60|0]&4)|t>>>0<=d+48>>>0){break v}f=e;e=C[d+56>>2];if((f|0)<=(e|0)){break v}C[d+8>>2]=e}d=d+48|0;if(t>>>0>d>>>0){continue}break}}g=C[u+52>>2];d=C[u+44>>2];i=g+I(d,48)|0;B:{if(!q){if((d|0)<=0){break B}while(1){d=C[g+12>>2];if(d){e=g+40|0;f=C[d+8>>2];k=C[g+44>>2];while(1){d=C[e>>2];C[d+20>>2]=f;B[d>>1]=E[d>>1]|8;e=d+32|0;if((d|0)!=(k|0)){continue}break}}g=g+48|0;if(i>>>0>g>>>0){continue}break}break B}if((d|0)<=0){break B}while(1){d=C[g+12>>2];if(d){e=g+40|0;f=C[d+8>>2];k=C[g+44>>2];while(1){d=C[e>>2];C[d+16>>2]=f;B[d>>1]=E[d>>1]|4;e=d+32|0;if((d|0)!=(k|0)){continue}break}}g=g+48|0;if(i>>>0>g>>>0){continue}break}}Ry(a,n);Qy(a,n)}n=1;d=q;q=0;if(d){continue}}break}c=C[a+24>>2];if((c|0)<=0){g=0;break a}d=C[a+28>>2];c=d+I(c,40)|0;e=C[b+4>>2];a=C[b+8>>2];while(1){C[e>>2]=C[d+16>>2];C[e+4>>2]=C[d+20>>2];g=0;b=E[d>>1];A[a|0]=b&1?0:b&2?2:1;a=a+1|0;e=e+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}Ce=s+80|0;return g|0}function gm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ce-32|0;Ce=i;C[i+24>>2]=0;C[i+16>>2]=0;C[i+20>>2]=0;C[i+28>>2]=C[b+48>>2]+(C[c>>2]^-1);a:{b:{c:{d:{switch(a|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:h=b+24|0;e=C[h>>2];e:{if(e){e=e-1|0;if(e>>>0>=F[b+32>>2]){e=C[21153];g=C[21152];C[104428]=g;C[104429]=e;l(0,g|0);l(1,e|0);f=+n();break e}f=H[C[b+36>>2]+(e<<3)>>3];break e}A[b+20|0]=1;e=C[21153];g=C[21152];C[104428]=g;C[104429]=e;l(0,g|0);l(1,e|0);f=+n()}f:{if(K(f)<2147483648){e=~~f;break f}e=-2147483648}if((e|0)<0){A[b+20|0]=1;e=0}g=c+24|0;g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(a-1|0){default:switch(a-256|0){case 22:break h;case 38:break i;case 21:break j;case 0:break n;default:break g};case 3:break k;case 2:break l;case 1:break m;case 0:break o}}d=1;break g}d=2;break g}d=3;break g}d=4;break g}d=5;break g}d=6;break g}d=7;break g}d=8}C[g+(d<<2)>>2]=e;break c;case 290:h=b+24|0;d=C[h>>2];p:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break p}f=H[C[b+36>>2]+(d<<3)>>3];break p}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}q:{if(K(f)<2147483648){d=~~f;break q}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+76>>2]=d;break c;case 286:h=b+24|0;d=C[h>>2];r:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;l(0,g|0);l(1,d|0);f=+n();break r}f=H[C[b+36>>2]+(e<<3)>>3];break r}A[b+20|0]=1;d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;l(0,g|0);l(1,d|0);f=+n()}s:{if(K(f)<2147483648){d=~~f;break s}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+72>>2]=d;g=c- -64|0;t:{if(e){d=e-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break t}f=H[C[b+36>>2]+(d<<3)>>3];break t}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}u:{if(K(f)<2147483648){d=~~f;break u}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[g>>2]=d;d=C[b+24>>2];v:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break v}f=H[C[b+36>>2]+(d<<3)>>3];break v}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}w:{if(K(f)<2147483648){d=~~f;break w}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+60>>2]=d;break c;case 16:d=C[b+24>>2];x:{if(d){d=d-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break x}f=H[C[b+36>>2]+(d<<3)>>3];break x}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}y:{if(K(f)<2147483648){d=~~f;break y}d=-2147483648}if((d|0)<0){A[b+20|0]=1;C[c+80>>2]=0;C[b+24>>2]=0;break a}C[c+80>>2]=d;C[b+24>>2]=0;if(d){break b}break a;case 15:d=C[b+24>>2];z:{if(d){d=d-1|0;C[b+24>>2]=d;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break z}f=H[C[b+36>>2]+(d<<3)>>3];break z}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}A:{if(K(f)<2147483648){d=~~f;break A}d=-2147483648}if((d|0)<0){A[b+20|0]=1;C[c+84>>2]=0;C[b+24>>2]=0;break a}C[c+84>>2]=d;C[b+24>>2]=0;if(d){break b}break a;case 293:h=b+24|0;d=C[h>>2];B:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break B}f=H[C[b+36>>2]+(d<<3)>>3];break B}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}C:{if(K(f)<2147483648){d=~~f;break C}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+88>>2]=d;break c;case 18:h=b+24|0;d=C[h>>2];D:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;l(0,g|0);l(1,d|0);f=+n();break D}f=H[C[b+36>>2]+(e<<3)>>3];break D}A[b+20|0]=1;d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;l(0,g|0);l(1,d|0);f=+n()}E:{if(K(f)<2147483648){d=~~f;break E}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+92>>2]=d;F:{if(e){d=e-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break F}f=H[C[b+36>>2]+(d<<3)>>3];break F}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n()}G:{if(K(f)<2147483648){d=~~f;break G}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+96>>2]=d;break c;default:C[b+48>>2]=C[b+12>>2];nu(a,b,c);if(!C[b+24>>2]){break b}break a;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break d}}h=b+24|0}C[h>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}H:{I:{J:{e=C[c+4>>2];if((e|0)>=0){h=C[c+8>>2];d=h+1|0;g=(d|0)>0?d:0;if(g>>>0<=e>>>0){break I}while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(e>>>0<=214748363){d=lf(C[c+12>>2],I(e,20));if(d){break J}}C[c+4>>2]=-1}C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;j=417712;break H}C[c+4>>2]=e;C[c+12>>2]=d;h=C[c+8>>2]}if(g>>>0>h>>>0){We(C[c+12>>2]+I(h,20)|0,0,I(g-h|0,20))}C[c+8>>2]=g;e=C[c+12>>2];C[104432]=C[21156];d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;e=(e+I(g,20)|0)-20|0;j=417712;if((e|0)==417712){break H}d=C[i+16>>2];C[e>>2]=C[i+12>>2];C[e+4>>2]=d;C[e+16>>2]=C[i+28>>2];d=C[i+24>>2];C[e+8>>2]=C[i+20>>2];C[e+12>>2]=d;j=e}d=j;C[d>>2]=a;h=C[b+12>>2];e=C[b+4>>2];g=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+g;d=e-a|0;d=d>>>0<=e>>>0?d:0;a=h-a|0;C[j+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}Ce=i+32|0}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,j=0,k=0,l=0,m=0,n=J(0),o=0,p=0,q=0;f=Ce+-64|0;Ce=f;g=d;d=C[a+72>>2];p=g,q=(Fe[C[d+168>>2]](a,C[a+76>>2],c,C[d+32>>2])|0)/2|0,C[p>>2]=q;h=Ce-48|0;Ce=h;k=b+48|0;d=C[k>>2];a:{if(d){break a}m=k-48|0;while(1){d=C[m>>2];if(!d){d=84608;break a}C[h+8>>2]=0;C[h+12>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;A[h+24|0]=0;C[h>>2]=0;C[h+4>>2]=0;C[h+28>>2]=0;C[h+32>>2]=0;g=Qf(d);A[h+40|0]=1;C[h+36>>2]=g;d=Of(d,1448038983);b:{if(!d){break b}g=C[d>>2];if(!g){break b}C[d>>2]=g+1}A[h+24|0]=0;C[h+32>>2]=d;i=C[d+12>>2];C[h+4>>2]=i;l=C[d+16>>2];C[h+8>>2]=l+i;C[h+28>>2]=0;if(l>>>0>67108862){g=1073741823}else{g=l<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[h+12>>2]=g;C[h+20>>2]=0;C[h>>2]=0;c:{if(!i){Ue(d);C[h+32>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;break c}d:{e:{if((l|0)<8){break e}C[h+12>>2]=g-8;if((l&-2)==6|(D[i|0]|D[i+1|0]<<8)!=256){break e}j=g-10|0;C[h+12>>2]=j;g=D[i+6|0]|D[i+7|0]<<8;if(!g){break d}g=((g<<8|g>>>8)&65535)<<2;if(g>>>0>l-8>>>0){break e}g=j-g|0;C[h+12>>2]=g;if((g|0)>0){break d}}Ue(d);C[h+32>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;Ue(d);d=84608;break c}Ue(d);C[h+32>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;if(C[d+4>>2]){C[d+4>>2]=0}}g=d;if(!d){g=84608}d=C[k>>2];if(!d){C[k>>2]=g;d=g;break a}if(!g){break a}if((g|0)!=84608){Ue(g)}d=C[k>>2];if(!d){continue}break}}Ce=h+48|0;g=F[d+16>>2]<8?84608:C[d+12>>2];f:{if(D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24)){i=C[a+40>>2];h=C[a+44>>2];g:{h:{a=D[g+6|0]|D[g+7|0]<<8;if(a){l=g+8|0;k=g+6|0;m=(a<<8|a>>>8)&65535;b=m-1|0;d=0;while(1){a=b+d>>>1|0;j=l+(a<<2)|0;j=D[j|0]|D[j+1|0]<<8;j=(j<<8|j>>>8)&65535;i:{if(j>>>0>c>>>0){b=a-1|0;break i}if((c|0)==(j|0)){break h}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=g+4|0;break g}a=(a>>>0>=m>>>0?84608:(k+(a<<2)|0)+2|0)+2|0}a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;b=mT(i,h,a,a>>31);a=Ee;b=b+32768|0;C[e>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16;break f}C[f+56>>2]=0;C[f+60>>2]=0;C[f+48>>2]=0;C[f+52>>2]=0;d=C[b+52>>2];j:{if(d){break j}while(1){g=C[b>>2];if(!g){d=84608;break j}d=df(1,32);if(!d){d=84608;C[b+52>>2]=84608;break j}Cm(d,g);if(!C[b+52>>2]){C[b+52>>2]=d;break j}Ue(C[d+20>>2]);C[d+20>>2]=0;Ue(C[d+24>>2]);Re(d);d=C[b+52>>2];if(!d){continue}break}}if(Rv(d,a,c,f+48|0)){d=C[b+44>>2];k:{if(d){break k}while(1){g=C[b>>2];if(!g){d=84608;break k}d=df(1,20);if(!d){d=84608;C[b+44>>2]=84608;break k}fp(d,g);if(!C[b+44>>2]){C[b+44>>2]=d;break k}Ue(C[d+12>>2]);C[d+12>>2]=0;Ue(C[d+16>>2]);Re(d);d=C[b+44>>2];if(!d){continue}break}}h=C[d+4>>2];l:{m:{if(h>>>0>c>>>0){g=C[d>>2];b=C[d+12>>2];b=((c|0)<0?84608:C[(b?b:84608)+12>>2]+(c<<2)|0)+2|0;break m}g=C[d>>2];b=0;if(g>>>0<=c>>>0){break l}b=C[d+12>>2];b=(c-h<<1)+((h|0)<0?84608:C[(b?b:84608)+12>>2]+(h<<2)|0)|0}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}n:{if(c>>>0>=g>>>0){break n}i=C[a+60>>2];if(!i){break n}d=C[d+16>>2];d=d?d:84608;g=C[d+16>>2];if(g){l=C[a+64>>2];d=g>>>0<20?84608:C[d+12>>2];g=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);o:{if(!h){break o}g=D[d+16|0]|D[d+17|0]<<8|(D[d+18|0]<<16|D[d+19|0]<<24);if(!(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))){break o}g=d+h|0;p:{if(D[g|0]){break p}h=D[g+2|0]|D[g+3|0]<<8;if(!h){break p}h=(h<<8|h>>>8)&65535;c=c>>>0>>0?c:h-1|0;k=D[g+1|0];m=k>>>4&3;h=m+1|0;g=g+I(c,h)|0;c=D[g+4|0];q:{if(!m){break q}c=D[g+5|0]|c<<8;if((h|0)==2){break q}c=D[g+6|0]|c<<8;if((h|0)==3){break q}c=D[g+7|0]|c<<8}g=(k&15)+1|0;c=c>>>g<<16|(-1<>>8&65280|d>>>24);d=d?g+d|0:84608;g=D[d+6|0]|D[d+7|0]<<8;h=(g<<8|g>>>8)&65535;g=c>>>16|0;if(h>>>0<=g>>>0){break o}g=d+(g<<2)|0;g=D[g+8|0]|D[g+9|0]<<8|(D[g+10|0]<<16|D[g+11|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h=c&65535;c=D[d+2|0]|D[d+3|0]<<8|(D[d+4|0]<<16|D[d+5|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);n=Lk(g?g+d|0:84608,h,l,i,c?c+d|0:84608)}n=J(n+J(b|0));if(J(K(n))>2];d=C[b+100>>2];r:{if(d){break r}while(1){h=C[b+48>>2];if(!h){d=84608;break r}d=df(1,32);if(!d){d=84608;C[b+100>>2]=84608;break r}Cm(d,h);if(!C[b+100>>2]){C[b+100>>2]=d;break r}Ue(C[d+20>>2]);C[d+20>>2]=0;Ue(C[d+24>>2]);Re(d);d=C[b+100>>2];if(!d){continue}break}}b=0;s:{if(F[d+16>>2]<=c>>>0){break s}C[g+52>>2]=2139095039;C[g+56>>2]=-8388609;C[g+60>>2]=-8388609;C[g+24>>2]=2139095039;C[g+28>>2]=-8388609;C[g+32>>2]=-8388609;C[g+48>>2]=2139095039;C[g+44>>2]=g- -64;b=C[g+48>>2];C[g+16>>2]=C[g+44>>2];C[g+20>>2]=b;C[g+36>>2]=a;C[g+40>>2]=g+128;b=C[g+40>>2];C[g+8>>2]=C[g+36>>2];C[g+12>>2]=b;if(!Ap(d,a,c,g+8|0)){d=C[d+8>>2];h=C[d+4>>2];t:{if(h>>>0>c>>>0){b=C[d+12>>2];b=((c|0)<0?84608:C[(b?b:84608)+12>>2]+(c<<2)|0)+2|0;break t}b=0;if(F[d>>2]<=c>>>0){break s}b=C[d+12>>2];b=(c-h<<1)+((h|0)<0?84608:C[(b?b:84608)+12>>2]+(h<<2)|0)|0}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;break s}n=J(J(P(G[g+104>>2]))-J(C[g+132>>2]));if(J(K(n))>2];g=C[a+40>>2];d=C[a+44>>2];a=b<<16>>16;b=mT(g,d,a,a>>31);a=Ee;b=b+32768|0;C[e>>2]=(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16)+c;break f}C[f+40>>2]=0;C[f+44>>2]=0;C[f+32>>2]=0;C[f+36>>2]=0;C[f+24>>2]=0;C[f+28>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f>>2]=0;C[f+4>>2]=0;b=C[a+72>>2];u:{if(Fe[C[b+148>>2]](a,C[a+76>>2],f,C[b+12>>2])|0){a=C[f>>2];break u}o=+C[a+24>>2]*.8;if(K(o)<2147483648){a=~~o;break u}a=-2147483648}C[e>>2]=a}Ce=f- -64|0;return 1}function Ov(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Ce-32|0;Ce=j;a:{if(!c){d=-133;break a}f=C[c+4>>2];d=j+12|0;e=C[c>>2];C[d+12>>2]=e;C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=f;C[d+8>>2]=e;f=Ye(d,8);r=j,s=Ye(d,8),A[r+6|0]=s;r=j,s=Ye(d,8),A[r+7|0]=s;r=j,s=Ye(d,8),A[r+8|0]=s;r=j,s=Ye(j+12|0,8),A[r+9|0]=s;r=j,s=Ye(j+12|0,8),A[r+10|0]=s;r=j,s=Ye(j+12|0,8),A[r+11|0]=s;d=-132;if(Jg(j+6|0,7354,6)){break a}d=-133;b:{switch(f-1|0){case 0:if(C[a+8>>2]|!C[c+8>>2]){break a}c=C[a+28>>2];if(c){b=j+12|0;f=Ye(b,32);C[a>>2]=f;d=-134;c:{if(f){break c}r=a,s=Ye(b,8),C[r+4>>2]=s;r=a,s=Ye(b,32),C[r+8>>2]=s;r=a,s=Ye(b,32),C[r+12>>2]=s;r=a,s=Ye(b,32),C[r+16>>2]=s;r=a,s=Ye(b,32),C[r+20>>2]=s;r=c,s=1<>2]=s;d=1<>2]=d;d:{if(C[a+8>>2]<=0|C[a+4>>2]<=0){break d}c=C[c>>2];if((c|0)<64|(c|0)>(d|0)|(d|0)>8192){break d}d=0;if((Ye(b,1)|0)==1){break c}}Qk(a);d=-133}}else{d=-129}break a;case 2:if(C[b+12>>2]|!C[a+8>>2]){break a}f=0;c=j+12|0;a=Ye(c,32);e:{f:{if((a|0)<0|(C[c+16>>2]-8|0)<(a|0)){break f}d=df(a+1|0,1);C[b+12>>2]=d;if(a){while(1){r=d,s=Ye(c,8),A[r|0]=s;d=d+1|0;a=a-1|0;if(a){continue}break}}a=Ye(c,32);if((a|0)<0|(a|0)>C[c+16>>2]-(C[c>>2]+((C[c+4>>2]+7|0)/8|0)|0)>>2){break f}C[b+8>>2]=a;d=a+1|0;r=b,s=df(d,4),C[r>>2]=s;r=b,s=df(d,4),C[r+4>>2]=s;if(a){while(1){a=Ye(c,32);if((a|0)<0|(C[c+16>>2]-(C[c>>2]+((C[c+4>>2]+7|0)/8|0)|0)|0)<(a|0)){break f}d=f<<2;C[d+C[b+4>>2]>>2]=a;e=df(a+1|0,1);C[d+C[b>>2]>>2]=e;if(a){d=C[d+C[b>>2]>>2];while(1){r=d,s=Ye(c,8),A[r|0]=s;d=d+1|0;a=a-1|0;if(a){continue}break}}f=f+1|0;if((f|0)>2]){continue}break}}d=0;if((Ye(c,1)|0)==1){break e}}vm(b);d=-133}break a;case 4:break b;default:break a}}if(!C[a+8>>2]|!C[b+12>>2]){break a}b=C[a+28>>2];if(!b){d=-129;break a}if(C[b+24>>2]>0){break a}b=0;k=C[a+28>>2];e=j+12|0;c=Ye(e,8);C[k+24>>2]=c+1;g:{h:{if((c|0)<0){break h}while(1){h=0;g=df(1,40);C[g+36>>2]=1;i:{j:{if((Ye(e,24)|0)!=5653314){break j}d=Ye(e,16);C[g>>2]=d;c=Ye(e,24);C[g+4>>2]=c;if((c|0)==-1){break j}if((ug(d)+ug(c)|0)>24){break j}k:{l:{m:{switch(Ye(e,1)|0){case 0:d=Ye(e,1);if(I(d?1:5,c)+7>>3>(C[e+16>>2]-(C[e>>2]+((C[e+4>>2]+7|0)/8|0)|0)|0)){break j}r=g,s=kf(c),C[r+8>>2]=s;if(!d){break l}if((c|0)<=0){break k}while(1){if(Ye(e,1)){c=Ye(e,5);if((c|0)==-1){break j}c=c+1|0}else{c=0}A[C[g+8>>2]+h|0]=c;c=C[g+4>>2];h=h+1|0;if((c|0)>(h|0)){continue}break};break k;case 1:break m;default:break j}}h=Ye(e,5)+1|0;if(!h){break j}r=g,s=kf(c),C[r+8>>2]=s;if((c|0)<=0){break k}d=0;while(1){f=c-d|0;i=Ye(e,ug(f));if((i|0)==-1|(h|0)>32|(f|0)<(i|0)){break j}if((i|0)>0){if(i-1>>>h-1>>>0>1){break j}f=0;c=d;l=i&3;if(l){while(1){A[C[g+8>>2]+c|0]=h;c=c+1|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}}d=d+i|0;if(i>>>0>=4){while(1){A[C[g+8>>2]+c|0]=h;A[(C[g+8>>2]+c|0)+1|0]=h;A[(C[g+8>>2]+c|0)+2|0]=h;A[(C[g+8>>2]+c|0)+3|0]=h;c=c+4|0;if((d|0)!=(c|0)){continue}break}}c=C[g+4>>2]}h=h+1|0;if((c|0)>(d|0)){continue}break}break k}if((c|0)<=0){break k}while(1){c=Ye(e,5);if((c|0)==-1){break j}A[C[g+8>>2]+h|0]=c+1;c=C[g+4>>2];h=h+1|0;if((c|0)>(h|0)){continue}break}}h=Ye(e,4);C[g+12>>2]=h;n:{switch(h|0){case 0:break i;case 1:case 2:break n;default:break j}}r=g,s=Ye(e,32),C[r+16>>2]=s;r=g,s=Ye(e,32),C[r+20>>2]=s;d=Ye(e,4)+1|0;C[g+24>>2]=d;f=Ye(e,1);C[g+28>>2]=f;if((f|0)==-1){break j}f=0;o:{p:{switch(h-1|0){case 0:if(!C[g>>2]){break o}m=C[g+4>>2];l=C[g>>2];n=O(Gh(+J(m|0),+J(J(1)/J(l|0))));q:{if(K(n)<2147483648){c=~~n;break q}c=-2147483648}p=l&-8;o=l&7;q=l>>>0<8;while(1){h=1;f=1;r:{if((l|0)<=0){break r}i=c+1|0;d=0;if(!q){while(1){f=I(I(I(I(I(I(I(I(f,i),i),i),i),i),i),i),i);h=I(I(I(I(I(I(I(I(c,h),c),c),c),c),c),c),c);d=d+8|0;if((p|0)!=(d|0)){continue}break}}d=0;if(!o){break r}while(1){f=I(f,i);h=I(c,h);d=d+1|0;if((o|0)!=(d|0)){continue}break}}d=(h|0)>(m|0);if(!(!d&(f|0)>(m|0))){c=(d?-1:1)+c|0;continue}break};f=c;d=C[g+24>>2];break o;case 1:break p;default:break o}}f=I(C[g>>2],c)}if((C[e+16>>2]-(C[e>>2]+((C[e+4>>2]+7|0)/8|0)|0)|0)>3){break j}d=kf(f<<2);C[g+32>>2]=d;if((f|0)>0){c=0;while(1){h=Ye(e,C[g+24>>2]);d=C[g+32>>2];C[d+(c<<2)>>2]=h;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!f|C[((f<<2)+d|0)-4>>2]!=-1){break i}}ym(g);g=0}C[((b<<2)+k|0)+1824>>2]=g;if(!g){break h}b=b+1|0;if((b|0)>2]){continue}break}b=0;c=Ye(e,6);if((c|0)<0){break h}while(1){if(Ye(e,16)){break h}d=(b|0)==(c|0);b=b+1|0;if(!d){continue}break}c=Ye(e,6);C[k+16>>2]=c+1;b=0;if((c|0)<0){break h}while(1){d=(b<<2)+k|0;c=Ye(e,16);C[d+800>>2]=c;if(c>>>0>1){break h}c=Fe[C[C[(c<<2)+317236>>2]+4>>2]](a,e)|0;C[d+1056>>2]=c;if(!c){break h}b=b+1|0;if((b|0)>2]){continue}break}c=Ye(e,6);C[k+20>>2]=c+1;b=0;if((c|0)<0){break h}while(1){d=(b<<2)+k|0;c=Ye(e,16);C[d+1312>>2]=c;if(c>>>0>2){break h}c=Fe[C[C[(c<<2)+317244>>2]+4>>2]](a,e)|0;C[d+1568>>2]=c;if(!c){break h}b=b+1|0;if((b|0)>2]){continue}break}c=Ye(e,6);C[k+12>>2]=c+1;b=0;if((c|0)<0){break h}while(1){c=(b<<2)+k|0;d=Ye(e,16);C[c+288>>2]=d;if(d){break h}d=c;c=Fe[C[C[79314]+4>>2]](a,e)|0;C[d+544>>2]=c;if(!c){break h}b=b+1|0;if((b|0)>2]){continue}break}b=Ye(e,6);C[k+8>>2]=b+1;f=0;if((b|0)<0){break h}while(1){b=(f<<2)+k|0;r=b,s=df(1,16),C[r+32>>2]=s;c=Ye(e,1);C[C[b+32>>2]>>2]=c;c=Ye(e,16);C[C[b+32>>2]+4>>2]=c;c=Ye(e,16);C[C[b+32>>2]+8>>2]=c;c=Ye(e,8);b=C[b+32>>2];C[b+12>>2]=c;if(C[b+4>>2]>0|C[b+8>>2]>0|((c|0)<0|(c|0)>=C[k+12>>2])){break h}f=f+1|0;if((f|0)>2]){continue}break}d=0;if((Ye(e,1)|0)==1){break g}}Qk(a);d=-133}}Ce=j+32|0;return d}function Az(a,b,c,d,e){var 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,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;t=Ce-32|0;Ce=t;i=C[a+4>>2];k=C[i>>2];a:{if((k|0)!=C[C[c+4>>2]>>2]){u=Qe(8008,0);break a}if(!(!e|D[i+9|0]==4&(k|0)!=372711428)){u=Qe(5016,0);break a}b:{if(b){i=C[b>>2];c:{if((i|0)<0){break c}k=C[b+4>>2];if((k|0)<0){break c}f=C[b+8>>2];if(C[a+8>>2]<(i+f|0)){break c}h=C[b+12>>2];if(C[a+12>>2]>=(k+h|0)){break b}}u=Qe(17567,0);break a}C[t+16>>2]=0;C[t+20>>2]=0;f=C[a+8>>2];C[t+24>>2]=f;h=C[a+12>>2];C[t+28>>2]=h;b=t+16|0}d:{if(d){k=C[d>>2];e:{if((k|0)<0){break e}m=C[d+4>>2];if((m|0)<0){break e}i=C[d+8>>2];if(C[c+8>>2]<(k+i|0)){break e}k=C[d+12>>2];if(C[c+12>>2]>=(m+k|0)){break d}}u=Qe(17532,0);break a}C[t>>2]=0;C[t+4>>2]=0;i=C[c+8>>2];C[t+8>>2]=i;k=C[c+12>>2];C[t+12>>2]=k;d=t}if((i|0)<=0|(k|0)<=0){break a}f:{if(!((f|0)>65535|(h|0)>65535|i>>>0>65535)){if(k>>>0<65536){break f}}u=Qe(15335,0);break a}g:{z=C[c>>2]&2;if(!z){break g}if((qh(c)|0)>=0){break g}u=Qe(19332,0);break a}h:{F=C[a>>2]&2;if(!F){break h}if((qh(a)|0)>=0){break h}if(z){fh(c)}u=Qe(19460,0);break a}i:{if(!e){h=0;i=D[C[c+4>>2]+9|0];e=C[c+16>>2];f=(C[c+20>>2]+I(i,C[d>>2])|0)+I(e,C[d+4>>2])|0;o=C[a+16>>2];p=(C[a+20>>2]+I(i,C[b>>2])|0)+I(o,C[b+4>>2])|0;l=C[d+12>>2];d=C[d+8>>2];m=C[b+12>>2];b=C[b+8>>2];j:{k:{switch(i-2|0){case 2:if((l|0)<=0){break j}r=e-(d<<2)|0;n=d&3;g=(b<<16)/(d|0)|0;i=g>>>1|0;q=(m<<16)/(l|0)|0;h=q>>>1|0;k=0;s=d-1>>>0<3;while(1){l:{if(!d){break l}j=p+I(o,h>>>16|0)|0;m=0;e=d;b=i;if(n){while(1){C[f>>2]=C[j+(b>>>14&262140)>>2];f=f+4|0;b=b+g|0;e=e-1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(s){break l}while(1){C[f>>2]=C[j+(b>>>14&262140)>>2];b=b+g|0;C[f+4>>2]=C[j+(b>>>14&262140)>>2];b=b+g|0;C[f+8>>2]=C[j+(b>>>14&262140)>>2];b=b+g|0;C[f+12>>2]=C[j+(b>>>14&262140)>>2];f=f+16|0;b=b+g|0;e=e-4|0;if(e){continue}break}}h=h+q|0;f=f+r|0;k=k+1|0;if((l|0)!=(k|0)){continue}break};break j;case 1:if((l|0)<=0){break j}q=e+I(d,-3)|0;k=d-1|0;s=d&1;v=(m<<16)/(l|0)|0;j=v>>>1|0;g=(b<<16)/(d|0)|0;i=g>>>1|0;m=g+i|0;w=I(g>>>17|0,3);while(1){m:{if(!d){break m}n=p+I(o,j>>>16|0)|0;n:{if(!s){e=d;b=i;break n}b=n+w|0;A[f|0]=D[b|0];A[f+1|0]=D[b+1|0];A[f+2|0]=D[b+2|0];f=f+3|0;e=k;b=m}if((d|0)==1){break m}while(1){r=n+I(b>>>16|0,3)|0;A[f|0]=D[r|0];A[f+1|0]=D[r+1|0];A[f+2|0]=D[r+2|0];r=b+g|0;b=n+I(r>>>16|0,3)|0;A[f+3|0]=D[b|0];A[f+4|0]=D[b+1|0];A[f+5|0]=D[b+2|0];f=f+6|0;b=g+r|0;e=e-2|0;if(e){continue}break}}j=j+v|0;f=f+q|0;h=h+1|0;if((l|0)!=(h|0)){continue}break};break j;case 0:if((l|0)<=0){break j}r=e-(d<<1)|0;n=d&3;g=(b<<16)/(d|0)|0;i=g>>>1|0;q=(m<<16)/(l|0)|0;h=q>>>1|0;k=0;s=d>>>0<4;while(1){o:{if(!d){break o}j=p+I(o,h>>>16|0)|0;m=0;e=d;b=i;if(n){while(1){B[f>>1]=E[j+(b>>>15&131070)>>1];f=f+2|0;b=b+g|0;e=e-1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(s){break o}while(1){B[f>>1]=E[j+(b>>>15&131070)>>1];b=b+g|0;B[f+2>>1]=E[j+(b>>>15&131070)>>1];b=b+g|0;B[f+4>>1]=E[j+(b>>>15&131070)>>1];b=b+g|0;B[f+6>>1]=E[j+(b>>>15&131070)>>1];f=f+8|0;b=b+g|0;e=e-4|0;if(e){continue}break}}h=h+q|0;f=f+r|0;k=k+1|0;if((l|0)!=(k|0)){continue}break};break j;default:break k}}if((l|0)<=0){break j}r=e-d|0;n=d&3;g=(b<<16)/(d|0)|0;i=g>>>1|0;q=(m<<16)/(l|0)|0;h=q>>>1|0;k=0;s=d>>>0<4;while(1){p:{if(!d){break p}j=p+I(o,h>>>16|0)|0;m=0;e=d;b=i;if(n){while(1){A[f|0]=D[j+(b>>>16|0)|0];f=f+1|0;b=b+g|0;e=e-1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}if(s){break p}while(1){A[f|0]=D[j+(b>>>16|0)|0];b=b+g|0;A[f+1|0]=D[j+(b>>>16|0)|0];b=b+g|0;A[f+2|0]=D[j+(b>>>16|0)|0];b=b+g|0;A[f+3|0]=D[j+(b>>>16|0)|0];f=f+4|0;b=b+g|0;e=e-4|0;if(e){continue}break}}h=h+q|0;f=f+r|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}break i}f=Ce-32|0;Ce=f;h=C[d+4>>2];g=C[d>>2];j=C[c+20>>2];i=C[c+16>>2];k=C[a+20>>2];m=C[b>>2];v=C[a+16>>2];o=C[b+4>>2];l=C[b+8>>2];e=C[d+8>>2];b=C[b+12>>2];w=C[d+12>>2];zz(b,w,f+28|0,f+24|0,f+20|0,f+16|0);zz(l,e,f+12|0,f+8|0,f+4|0,f);if((w|0)>0){J=(k+(m<<2)|0)+I(o,v)|0;K=i-(e<<2)|0;k=e;d=C[f+4>>2];e=C[f>>2];k=k-(d+e|0)|0;G=C[f+8>>2];m=C[f+12>>2]+I(d,G)|0;h=(j+(g<<2)|0)+I(h,i)|0;L=b-1|0;H=(l<<2)-8|0;M=C[f+24>>2];N=C[f+20>>2];r=C[f+28>>2];while(1){b=(w+(C[f+16>>2]^-1)|0)<(y|0);i=(y|0)<(N|0);j=I(v,i?0:b?L:r>>>16|0)+J|0;b=b|i;n=j+(b?0:v)|0;l=b?0:r>>>9&127;g=128-l|0;b=d;if(b){while(1){i=D[n|0];o=D[j|0];p=D[n+1|0];q=D[j+1|0];s=D[n+2|0];x=D[j+2|0];A[h+3|0]=I(l,D[n+3|0])+I(g,D[j+3|0])>>>7;A[h+2|0]=I(l,s)+I(g,x)>>>7;A[h+1|0]=I(l,p)+I(g,q)>>>7;A[h|0]=I(i,l)+I(g,o)>>>7;h=h+4|0;b=b-1|0;if(b){continue}break}}b=m;i=k;if(i){while(1){p=b>>>14&262140;o=p+n|0;x=D[o+4|0];p=j+p|0;O=D[p+4|0];P=D[o|0];Q=D[p|0];R=D[o+5|0];S=D[p+5|0];T=D[o+1|0];U=D[p+1|0];V=D[o+6|0];W=D[p+6|0];X=D[o+2|0];Y=D[p+2|0];q=b>>>9&127;s=128-q|0;A[h+3|0]=I(q,I(l,D[o+7|0])+I(g,D[p+7|0])>>>7&255)+I(s,I(l,D[o+3|0])+I(g,D[p+3|0])>>>7&255)>>>7;A[h+2|0]=I(q,I(l,V)+I(g,W)>>>7&255)+I(s,I(l,X)+I(g,Y)>>>7&255)>>>7;A[h+1|0]=I(q,I(l,R)+I(g,S)>>>7&255)+I(s,I(l,T)+I(g,U)>>>7&255)>>>7;A[h|0]=I(q,I(l,x)+I(g,O)>>>7&255)+I(s,I(l,P)+I(g,Q)>>>7&255)>>>7;h=h+4|0;b=b+G|0;i=i-1|0;if(i){continue}break}}if(e){i=n+H|0;j=j+H|0;b=e;while(1){o=D[i+4|0];p=D[j+4|0];n=D[i+5|0];q=D[j+5|0];s=D[i+6|0];x=D[j+6|0];A[h+3|0]=I(l,D[i+7|0])+I(g,D[j+7|0])>>>7;A[h+2|0]=I(l,s)+I(g,x)>>>7;A[h+1|0]=I(l,n)+I(g,q)>>>7;A[h|0]=I(l,o)+I(g,p)>>>7;h=h+4|0;b=b-1|0;if(b){continue}break}}r=r+M|0;h=h+K|0;y=y+1|0;if((w|0)!=(y|0)){continue}break}}Ce=f+32|0}if(z){fh(c)}if(!F){break a}fh(a)}Ce=t+32|0;return u}function BJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ce-144|0;Ce=f;j=C[b+100>>2];g=C[b+104>>2];C[b+132>>2]=0;d=bf(g,0);C[f+140>>2]=d;a:{b:{c:{if(d){break c}d=Ff(g,291216,f+136|0);if(d){break c}C[f+140>>2]=2;d:{e:{if(E[f+136>>1]!=23117){break e}d=bf(g,E[f+138>>1]);C[f+140>>2]=d;if(d){break d}d=Ff(g,291248,f+130|0);C[f+140>>2]=d;if(d){break d}d=2;C[f+140>>2]=2;f:{g:{h:{i:{switch(E[f+130>>1]-17742|0){case 0:d=bf(g,E[f+132>>1]+E[f+138>>1]|0);C[f+140>>2]=d;if(d){break d}d=Cf(g,E[f+134>>1]-E[f+132>>1]|0);C[f+140>>2]=d;if(d){break d}i=xh(g);h=xh(g);j:{if(h){while(1){d=xh(g);e=((C[g+8>>2]+C[g+32>>2]|0)-C[g+36>>2]|0)+4|0;if((h&65535)==32776){break j}C[g+32>>2]=(C[g+32>>2]+I(d,12)|0)+4;h=xh(g);if(h){continue}break}}d=0;e=0}xf(g);if(!(e?d:0)){C[f+140>>2]=3;break d}if(F[g+4>>2]>>0){C[f+140>>2]=3;break d}C[b>>2]=d;if((c|0)>=(d|0)){C[f+140>>2]=6;break d}if((c|0)<0){break d}o=b,p=hf(j,172,f+140|0),C[o+132>>2]=p;if(C[f+140>>2]){break d}d=bf(g,e+I(c,12)|0);C[f+140>>2]=d;if(d){break e}d=Cf(g,12);C[f+140>>2]=d;if(d){break e}d=xh(g);C[C[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=C[g+32>>2]+8;xf(g);d=lp(C[b+132>>2],g);C[f+140>>2]=d;break h;case 2:break i;default:break h}}d=bf(g,E[f+138>>1]);C[f+140>>2]=d;if(d){break d}d=Ff(g,291280,f+108|0);C[f+140>>2]=d;if(d){break d}k:{if(!(C[f+108>>2]!=17744|E[f+112>>1]!=332|E[f+116>>1]!=224)){if(E[f+118>>1]==267){break k}}C[f+140>>2]=3;break d}d=0;C[b>>2]=0;if(!E[f+114>>1]){break g}while(1){e=Ff(g,291344,f+88|0);C[f+140>>2]=e;if(e){break d}if(C[f+120>>2]!=C[f+96>>2]){d=d+1|0;if(E[f+114>>1]<=(d&65535)>>>0){break g}continue}break}d=bf(g,C[f+104>>2]);C[f+140>>2]=d;if(d){break d}d=Ff(g,291376,f+72|0);C[f+140>>2]=d;if(d){break d}if(E[f+86>>1]!=(0-E[f+84>>1]|0)){k=C[f+104>>2];l=k+16|0;d=0;while(1){d=bf(g,(d<<3)+l|0);C[f+140>>2]=d;if(d){break d}d=Ff(g,291408,f+32|0);C[f+140>>2]=d;if(d){break d}d=C[f+36>>2];if((d|0)>=0){C[f+140>>2]=3;break d}d=d&2147483647;C[f+36>>2]=d;d=d+C[f+104>>2]|0;e=bf(g,d);C[f+140>>2]=e;if(e){break d}e=Ff(g,291376,f+56|0);C[f+140>>2]=e;if(e){break d}if(E[f+70>>1]!=(0-E[f+68>>1]|0)){m=d+16|0;d=0;e=0;while(1){d=bf(g,(d<<3)+m|0);C[f+140>>2]=d;if(d){break d}d=Ff(g,291408,f+24|0);C[f+140>>2]=d;if(d){break d}d=C[f+28>>2];if((d|0)>=0){C[f+140>>2]=3;break d}d=d&2147483647;C[f+28>>2]=d;d=d+C[f+104>>2]|0;h=bf(g,d);C[f+140>>2]=h;if(h){break d}h=Ff(g,291376,f+40|0);C[f+140>>2]=h;if(h){break d}if(E[f+54>>1]!=(0-E[f+52>>1]|0)){n=d+16|0;d=0;h=0;while(1){d=bf(g,(d<<3)+n|0);C[f+140>>2]=d;if(d){break d}d=Ff(g,291408,f+16|0);C[f+140>>2]=d;if(d){break d}if(C[f+28>>2]<0){C[f+140>>2]=3;break d}if(C[f+32>>2]==8){d=bf(g,C[f+20>>2]+k|0);C[f+140>>2]=d;if(d){break d}d=Ff(g,291424,f);C[f+140>>2]=d;if(d){break d}d=C[b>>2];if((d|0)==(c|0)){d=hf(j,172,f+140|0);C[b+132>>2]=d;if(C[f+140>>2]){break d}C[d>>2]=(C[f>>2]+C[f+104>>2]|0)-C[f+96>>2];C[d+164>>2]=C[f+4>>2];d=lp(d,g);C[f+140>>2]=d;if(d){break e}d=C[b>>2]}C[b>>2]=d+1}h=h+1|0;d=h&65535;if(d>>>0>1]+E[f+52>>1]>>>0){continue}break}}e=e+1|0;d=e&65535;if(d>>>0>1]+E[f+68>>1]>>>0){continue}break}}i=i+1|0;d=i&65535;if(d>>>0>1]+E[f+84>>1]>>>0){continue}break}}d=0}e=C[b>>2];if(!e){C[f+140>>2]=3;break d}if((c|0)<(e|0)){break f}C[f+140>>2]=6;break d}C[f+140>>2]=3;break d}if(!d){break d}}d=C[b+132>>2];if(!d){break d}e=C[b+100>>2];if(C[d+160>>2]){Wf(C[b+104>>2],d+160|0)}g=C[d+168>>2];if(g){Fe[C[e+8>>2]](e,g)}C[d+168>>2]=0;if(d){Fe[C[e+8>>2]](e,d)}C[b+132>>2]=0}d=C[f+140>>2];C[f+88>>2]=d;i=c>>>31|0;h=!d;if((c|0)>=0){break b}e=0;if(!d){break a}break b}C[f+88>>2]=d;i=c>>>31|0}l:{m:{n:{if((d&255)==2){d=hf(j,172,f+88|0);C[b+132>>2]=d;e=C[f+88>>2];if(e){break a}C[b>>2]=1;C[d>>2]=0;C[d+164>>2]=C[a+4>>2];a=lp(d,a);C[f+88>>2]=a;if(a){break l}if((c|0)>0){C[f+88>>2]=6;break l}e=0;if(!i){break n}break a}if(!h){break m}}C[b+4>>2]=c;c=C[b+8>>2];C[b+8>>2]=c|18;a=C[b+132>>2];if(E[a+100>>1]==E[a+102>>1]){C[b+8>>2]=c|22}if(D[a+86|0]){C[b+12>>2]=C[b+12>>2]|1}if(E[a+90>>1]>=800){C[b+12>>2]=C[b+12>>2]|2}c=Ve(j,16,0,1,0,f+88|0);C[b+32>>2]=c;if(C[f+88>>2]){break l}C[b+28>>2]=1;B[c+2>>1]=E[a+100>>1];B[c>>1]=E[a+84>>1]+E[a+96>>1];e=E[a+74>>1]<<6;C[c+4>>2]=e;d=E[a+78>>1];g=e;e=E[a+76>>1];e=e?e:72;g=of(g,e,72)+32&-64;C[c+12>>2]=g;i=d?d:72;d=E[a+96>>1]<<6;o:{if((d|0)>=(g|0)){h=C[c+4>>2];break o}C[c+12>>2]=d;h=of(d,72,e);C[c+4>>2]=h}o=c,p=of(h,i,72)+32&-64,C[o+8>>2]=p;C[f+108>>2]=b;C[f+112>>2]=0;C[f+116>>2]=0;if(D[a+92|0]==77){B[f+116>>1]=1;C[f+112>>2]=1634889070}c=yh(291164,0,f+108|0,0);C[f+88>>2]=c;if(c){break l}if(C[b+36>>2]){C[b+92>>2]=C[C[b+40>>2]>>2]}c=D[a+105|0];d=D[a+104|0];if(c>>>0>>0){C[f+88>>2]=3;break l}C[b+16>>2]=(c-d|0)+2;c=C[a+8>>2];d=C[a+116>>2];if(c>>>0<=d>>>0){C[f+88>>2]=3;break l}c=c-d|0;d=hf(j,c+1|0,f+88|0);C[a+168>>2]=d;if(C[f+88>>2]){break l}t(d,C[a+160>>2]+C[a+116>>2]|0,c);A[c+C[a+168>>2]|0]=0;d=a;a=C[a+168>>2];a=Ve(j,1,c,af(a)+1|0,a,f+88|0);C[d+168>>2]=a;if(C[f+88>>2]){break l}C[b+24>>2]=11228;C[b+20>>2]=a;c=C[b+12>>2];a=c&1;if(c&2){if(a){C[b+24>>2]=21648;e=0;break a}C[b+24>>2]=19740;e=0;break a}e=0;if(!a){break a}C[b+24>>2]=21653;break a}e=d;if(!b){break a}}a=C[b+100>>2];c=C[b+132>>2];if(c){if(C[c+160>>2]){Wf(C[b+104>>2],c+160|0)}d=C[c+168>>2];if(d){Fe[C[a+8>>2]](a,d)}C[c+168>>2]=0;if(c){Fe[C[a+8>>2]](a,c)}C[b+132>>2]=0}c=C[b+32>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+28>>2]=0;C[b+32>>2]=0;e=C[f+88>>2]}Ce=f+144|0;return e|0}function QJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;a=Ce-320|0;Ce=a;C[b>>2]=1;C[b+500>>2]=0;r=Vi(C[b+96>>2],6758);C[b+484>>2]=r;m=vi(C[C[b+96>>2]+4>>2],1608);C[b+488>>2]=m;a:{if(!m){f=11;break a}i=C[b+100>>2];p(a+4|0,0,304);t=b,u=hf(i,12,a),C[t+492>>2]=u;b:{if(C[a>>2]){break b}C[b+496>>2]=12;f=C[b+104>>2];Fe[C[C[m+4>>2]>>2]](a+4|0,0,0,i);A[a+88|0]=0;C[a+80>>2]=0;C[a+84>>2]=0;C[a+76>>2]=f;g=bf(f,0);C[a+308>>2]=g;c:{d:{if(g){break d}g=Cf(f,17);C[a+308>>2]=g;if(g){break d}if(Jg(C[f+32>>2],3840,17)){g=2;C[a+308>>2]=2;xf(f);break d}xf(f);g=bf(f,0);C[a+308>>2]=g;if(g){break d}h=C[f+4>>2];e:{if(!C[f+20>>2]){g=C[f+8>>2];j=C[f>>2];A[a+88|0]=1;C[a+84>>2]=h;C[a+80>>2]=g+j;g=ng(f,h);C[a+308>>2]=g;if(g){break d}h=C[a+84>>2];break e}j=hf(i,h,a+308|0);C[a+80>>2]=j;g=C[a+308>>2];if(g){break d}g=jg(f,j,h);C[a+308>>2]=g;if(g){break d}C[a+84>>2]=h}g=C[a+80>>2];C[a+8>>2]=g;C[a>>2]=0;break c}if(D[a+88|0]){C[a>>2]=g;break b}f=C[a+80>>2];if(f){Fe[C[i+8>>2]](i,f)}g=0;C[a+80>>2]=0;f=C[a+308>>2];C[a>>2]=f;if(f){break b}h=C[a+84>>2]}C[a+16>>2]=0;C[a+4>>2]=g;h=g+h|0;C[a+12>>2]=h;Fe[C[a+32>>2]](a+4|0);f:{f=C[a+4>>2];if(h>>>0>f>>>0){n=b+132|0;o=b+164|0;q=b+460|0;while(1){g:{h:{g=D[f|0];if(!((g|0)!=70|h>>>0<=f+25>>>0)){if(cf(f,1076,13)){break h}f=a+4|0;Fe[C[a+36>>2]](f);Fe[C[a+32>>2]](f);g=C[a+4>>2];f=g;i:{if(h>>>0<=f>>>0){break i}while(1){j:{if(!(D[f|0]!=107|h>>>0<=f+5>>>0)){if(!cf(f,11817,5)){break j}}Fe[C[a+36>>2]](a+4|0);f=C[a+16>>2];if(f){break f}Fe[C[a+32>>2]](a+4|0);f=C[a+4>>2];if(h>>>0>f>>>0){continue}break i}break}f=a+4|0;Fe[C[a+36>>2]](f);Fe[C[a+60>>2]](f,a+308|0);g=C[a+316>>2]==3?C[a+4>>2]:g}C[a+4>>2]=g;break g}if((g|0)!=47|h>>>0<=f+2>>>0){break h}g=f+1|0;C[a+4>>2]=g;Fe[C[a+36>>2]](a+4|0);f=C[a+16>>2];if(f){break f}i=C[a+4>>2];if((i|0)==(g|0)){break g}k=i-g|0;if(k>>>0>21){break g}f=0;if(h>>>0<=i>>>0){break g}while(1){k:{i=I(f,36);l=i+290320|0;j=C[l>>2];if(!j|D[g|0]!=D[j|0]){break k}if((af(j)|0)!=(k|0)){break k}if(Jg(g,j,k)){break k}l:{if(f-15>>>0<=3){Fe[C[i+290332>>2]](b,a+4|0);f=C[a+16>>2];break l}f=C[i+290328>>2];m:{n:{switch(C[i+290324>>2]-2|0){case 0:C[a+308>>2]=o;break m;case 3:C[a+308>>2]=q;break m;default:break n}}C[a+308>>2]=n}if(f-9>>>0<=1){f=Fe[C[a+72>>2]](a+4|0,l,a+308|0,0,0)|0;break l}f=Fe[C[a+68>>2]](a+4|0,l,a+308|0,0,0)|0}C[a+16>>2]=f;if(!f){break g}C[a>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}Fe[C[a+36>>2]](a+4|0);f=C[a+16>>2];if(f){break f}}Fe[C[a+32>>2]](a+4|0);f=C[a+4>>2];if(h>>>0>f>>>0){continue}break}}f=C[a+16>>2];C[a>>2]=f;if(f){break b}if(D[b+433|0]!=42){C[a>>2]=2;break b}j=C[a+148>>2];C[b+416>>2]=j;if(!C[a+216>>2]){C[a>>2]=3}h=0;C[a+216>>2]=0;C[b+396>>2]=C[a+204>>2];C[b+424>>2]=C[a+228>>2];C[b+428>>2]=C[a+232>>2];C[b+400>>2]=C[a+152>>2];C[b+420>>2]=C[a+176>>2];C[a+176>>2]=0;C[a+152>>2]=0;if(C[b+368>>2]!=1){break b}i=0;n=C[a+112>>2];if((n|0)>0){g=0;while(1){o=g<<1;B[o+C[b+384>>2]>>1]=0;k=g<<2;C[k+C[b+388>>2]>>2]=15690;q=C[k+C[a+120>>2]>>2];o:{if(!q|(j|0)<=0){break o}s=C[b+420>>2];f=0;while(1){l=C[(f<<2)+s>>2];if(!Se(q,l)){B[o+C[b+384>>2]>>1]=f;C[k+C[b+388>>2]>>2]=l;if(!Se(15690,l)){break o}i=(g|0)<(i|0)?i:g+1|0;h=(g|0)<(h|0)?g:h;break o}f=f+1|0;if((j|0)!=(f|0)){continue}break}}g=g+1|0;if((n|0)!=(g|0)){continue}break}}C[b+380>>2]=i;C[b+376>>2]=h;C[b+372>>2]=C[a+92>>2];break b}C[a>>2]=f}f=C[a+144>>2];if(f){Fe[f|0](a+96|0)}f=C[a+252>>2];if(f){Fe[f|0](a+204|0)}f=C[a+200>>2];if(f){Fe[f|0](a+152|0)}f=C[a+304>>2];if(f){Fe[f|0](a+256|0)}if(!D[a+88|0]){f=C[a+20>>2];g=C[a+80>>2];if(g){Fe[C[f+8>>2]](f,g)}C[a+80>>2]=0}Fe[C[a+28>>2]](a+4|0);f=C[a>>2];if(f|(c|0)<0){break a}f=6;if(c){break a}C[b+36>>2]=0;C[b+4>>2]=0;C[b+24>>2]=11228;C[b+16>>2]=C[b+416>>2];c=C[b+144>>2];C[b+20>>2]=c;C[b+8>>2]=C[b+8>>2]|(D[b+156|0]?533:529)|2048;p:{if(c){f=C[b+140>>2];if(!f){break p}g=D[f|0];if(!g){break p}while(1){h=g&255;g=D[c|0];q:{if((h|0)==(g|0)){f=f+1|0;c=c+1|0;break q}h=h-32|0;if(!(!h|(h|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}C[b+24>>2]=f;break p}f=f+1|0}g=D[f|0];if(g){continue}break}break p}c=C[b+364>>2];if(!c){break p}C[b+20>>2]=c}C[b+28>>2]=0;C[b+32>>2]=0;C[a+4>>2]=9;t=a,u=Dg(C[C[b+96>>2]+4>>2],16802),C[t+24>>2]=u;C[a+8>>2]=C[b+492>>2];C[a+12>>2]=C[b+496>>2];if(d){C[a+32>>2]=e;C[a+28>>2]=d;C[a+4>>2]=25}f=$p(C[C[b+96>>2]+4>>2],a+4|0,0,b+500|0);if(f){break a}Zx(C[C[b+500>>2]+88>>2]);c=C[b+500>>2];d=C[c+56>>2];C[b+52>>2]=C[c+52>>2];C[b+56>>2]=d;d=C[c+64>>2];C[b+60>>2]=C[c+60>>2];C[b+64>>2]=d;B[b+68>>1]=E[c+68>>1];B[b+70>>1]=E[c+70>>1];B[b+72>>1]=E[c+72>>1];B[b+74>>1]=E[c+74>>1];B[b+76>>1]=E[c+76>>1];B[b+78>>1]=E[c+78>>1];B[b+80>>1]=E[b+158>>1];B[b+82>>1]=E[b+160>>1];d=C[b+152>>2]!=0;C[b+12>>2]=d;if(D[c+12|0]&2){C[b+12>>2]=d|2}if(D[c+8|0]&32){C[b+8>>2]=C[b+8>>2]|32}if(!r){f=0;break a}c=C[m+20>>2];C[a+4>>2]=b;C[a+8>>2]=1970170211;C[a+12>>2]=65539;f=yh(C[c+12>>2],0,a+4|0,0);if((f&255)!=163?f:0){break a}B[a+12>>1]=7;f=0;s:{t:{switch(C[b+368>>2]-1|0){case 1:B[a+14>>1]=0;C[a+8>>2]=1094995778;break s;case 3:B[a+14>>1]=1;C[a+8>>2]=1094992453;c=c+4|0;break s;case 0:B[a+14>>1]=2;C[a+8>>2]=1094992451;c=c+8|0;break s;case 2:break t;default:break a}}c=c+12|0;B[a+14>>1]=3;C[a+8>>2]=1818326065}b=C[c>>2];if(!b){break a}f=yh(b,0,a+4|0,0)}Ce=a+320|0;return f|0}function xq(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Ce-80|0;Ce=h;a:{if(!a){C[h>>2]=19555;Qe(19745,h);break a}if(!b){C[h+16>>2]=5741;Qe(19745,h+16|0);break a}b:{c:{d=C[b+4>>2];if(d){d:{o=C[d>>2];if((o|0)<=0){break d}d=C[d+4>>2];while(1){e=d+(c<<2)|0;if(D[e|0]!=255|D[e+1|0]!=255|D[e+2|0]!=255){break d}c=c+1|0;if((o|0)!=(c|0)){continue}break}break c}if((c|0)==(o|0)){break c}}e=C[a+12>>2];c=C[a+8>>2];d=ul(D[b+8|0],C[b+12>>2],C[b+16>>2],C[b+20>>2],C[b+24>>2]);if(d){break b}Qe(4953,0);break a}Qe(16282,0);break a}f=ei(c,e,d);if(!f){f=0;break a}c=C[b+4>>2];e:{if(!c){break e}d=C[C[f+4>>2]+4>>2];if(!d){break e}gf(C[d+4>>2],C[c+4>>2],C[c>>2]<<2);C[C[C[f+4>>2]+4>>2]>>2]=C[C[b+4>>2]>>2]}d=C[a+52>>2];l=D[d+79|0];q=D[d+78|0];p=D[d+77|0];r=D[d+76|0];C[d+76>>2]=-1;s=C[d+68>>2];C[d+68>>2]=s&24576;ag(d);C[h+48>>2]=0;C[h+52>>2]=0;C[h+56>>2]=C[a+8>>2];C[h+60>>2]=C[a+12>>2];d=C[C[a+4>>2]+4>>2];f:{if(!(!d|!C[b+24>>2])){dr(d,h- -64|0,h+44|0);d=0;i=C[h+64>>2];g:{if(!i){break g}if(C[h+44>>2]){break g}u=C[a+4>>2];c=C[u+4>>2];j=C[c>>2];d=h-(j+15&-16)|0;Ce=d;if((j|0)<=0){break g}g=C[c+4>>2];c=0;if((j|0)!=1){n=j&-2;while(1){e=c<<2;A[c+d|0]=D[(e+g|0)+3|0];o=C[C[u+4>>2]+4>>2];A[(o+e|0)+3|0]=255;e=c|1;m=e<<2;A[d+e|0]=D[(m+o|0)+3|0];g=C[C[u+4>>2]+4>>2];A[(m+g|0)+3|0]=255;c=c+2|0;t=t+2|0;if((n|0)!=(t|0)){continue}break}}if(!(j&1)){break g}e=c+d|0;c=c<<2;A[e|0]=D[(c+g|0)+3|0];A[(c+C[C[u+4>>2]+4>>2]|0)+3|0]=255}o=!i;break f}d=0;o=0}g=1;i=s&256;h:{if(!i){break h}c=C[C[a+4>>2]+4>>2];if(C[b+4>>2]|!c){break h}c=C[c+4>>2]+(C[C[a+52>>2]+72>>2]<<2)|0;k=D[c+3|0];g=0;A[c+3|0]=0;o=1}c=C[a+52>>2];i:{j:{k:{if(C[c>>2]!=(f|0)){break k}e=C[C[f+4>>2]+4>>2];if(C[c+80>>2]!=C[e+8>>2]?e:0){break k}e=C[C[a+4>>2]+4>>2];if(!e|C[c+84>>2]==C[e+8>>2]){break j}}e=-1;if((Dj(a,f)|0)<0){break i}c=C[a+52>>2]}e=h+48|0;e=Fe[C[c+8>>2]](a,e,f,e)|0}if(!g){A[(C[C[C[a+4>>2]+4>>2]+4>>2]+(C[C[a+52>>2]+72>>2]<<2)|0)+3|0]=k}l:{if(!d|(j|0)<=0){break l}m=C[C[C[a+4>>2]+4>>2]+4>>2];k=0;c=0;if(j>>>0>=4){n=j&-4;t=0;while(1){A[(m+(c<<2)|0)+3|0]=D[c+d|0];g=c|1;A[(m+(g<<2)|0)+3|0]=D[d+g|0];g=c|2;A[(m+(g<<2)|0)+3|0]=D[d+g|0];g=c|3;A[(m+(g<<2)|0)+3|0]=D[d+g|0];c=c+4|0;t=t+4|0;if((n|0)!=(t|0)){continue}break}}g=j&3;if(!g){break l}while(1){A[(m+(c<<2)|0)+3|0]=D[c+d|0];c=c+1|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}}d=C[f+52>>2];A[d+79|0]=l;A[d+78|0]=q;A[d+77|0]=p;A[d+76|0]=r;C[d+68>>2]=s&-28945;d=C[a+52>>2];A[d+79|0]=l;A[d+78|0]=q;A[d+77|0]=p;A[d+76|0]=r;C[d+68>>2]=s;ag(d);if((e|0)<0){Nf(f);f=0;break a}m:{if(!i){break m}g=C[C[a+4>>2]+4>>2];d=0;n:{if(!g){break n}e=C[b+4>>2];if(e){c=C[g>>2];d=0;if((c|0)>C[e>>2]){break n}if(!sg(C[g+4>>2],C[e+4>>2],c<<2)){an(f,1,C[C[a+52>>2]+72>>2]);break m}d=0;if(C[b+4>>2]){break n}}if(C[b+24>>2]){break m}d=1}C[h+64>>2]=0;c=C[a+4>>2];c=ul(D[c+8|0],C[c+12>>2],C[c+16>>2],C[c+20>>2],C[c+24>>2]);o:{if(!c){Qe(4953,0);c=0;break o}c=ei(1,1,c)}e=C[C[a+4>>2]+4>>2];if(e){yz(c,e)}Gj(c,C[C[a+52>>2]+72>>2]);e=C[c+52>>2];C[e+68>>2]=C[e+68>>2]&-257;e=xq(c,b);gf(h- -64|0,C[e+20>>2],D[C[e+4>>2]+9|0]);Nf(c);Nf(e);c=C[C[f+4>>2]+4>>2];e=C[h+64>>2];p:{if(!(!c|e>>>0>2])){C[h+32>>2]=1412;Qe(19745,h+32|0);break p}g=C[f+52>>2];C[g+72>>2]=e;e=C[g+68>>2];c=e|256;C[g+68>>2]=c;if((c|0)==(e|0)){break p}ag(g)}if(d){break m}m=Ce-16|0;Ce=m;q:{if(!(A[C[f+52>>2]+69|0]&1)){break q}d=C[f+4>>2];if(!C[d+24>>2]){break q}d=D[d+9|0];c=C[f+28>>2];r:{if(c){break r}c=0;if(!(D[f|0]&2)){break r}Fj(f,1);C[f>>2]=C[f>>2]|2;c=C[f+28>>2]}r=c+1|0;C[f+28>>2]=r;s:{t:{switch(d-2|0){case 0:k=C[f+12>>2];if(!k){break s}q=E[C[f+4>>2]+24>>1]^65535;l=q&C[C[f+52>>2]+72>>2];e=C[f+8>>2];i=e&3;g=C[f+20>>2];n=C[f+16>>2]/2<<1;j=e>>>0<4;while(1){k=k-1|0;u:{if(!e){break u}p=0;d=e;c=g;if(i){while(1){if((l|0)==(q&E[c>>1])){B[c>>1]=l}d=d-1|0;c=c+2|0;p=p+1|0;if((i|0)!=(p|0)){continue}break}}if(j){break u}while(1){if((l|0)==(q&E[c>>1])){B[c>>1]=l}if((l|0)==(q&E[c+2>>1])){B[c+2>>1]=l}if((l|0)==(q&E[c+4>>1])){B[c+4>>1]=l}d=d-4|0;if((l|0)==(q&E[c+6>>1])){B[c+6>>1]=l}c=c+8|0;if(d){continue}break}}g=g+n|0;if(k){continue}break};break s;case 2:break t;default:break s}}k=C[f+12>>2];if(!k){break s}n=C[C[f+4>>2]+24>>2]^-1;i=n&C[C[f+52>>2]+72>>2];j=C[f+20>>2];while(1){k=k-1|0;e=C[f+8>>2];v:{if(!e){break v}p=0;c=j;d=e;g=d&3;if(g){while(1){if((i|0)==(n&C[c>>2])){C[c>>2]=i}d=d-1|0;c=c+4|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}}if(e>>>0<4){break v}while(1){if((i|0)==(n&C[c>>2])){C[c>>2]=i}if((i|0)==(n&C[c+4>>2])){C[c+4>>2]=i}if((i|0)==(n&C[c+8>>2])){C[c+8>>2]=i}d=d-4|0;if((i|0)==(n&C[c+12>>2])){C[c+12>>2]=i}c=c+16|0;if(d){continue}break}}j=(C[f+16>>2]/4<<2)+j|0;if(k){continue}break}r=C[f+28>>2]}w:{if(!r){break w}C[f+28>>2]=r-1;if((r|0)>1){break w}d=C[f>>2];if(!(d&2)){break w}C[f>>2]=d&-3;yl(f)}d=C[C[f+4>>2]+4>>2];x:{if(!(!d|C[d>>2])){C[m>>2]=1412;Qe(19745,m);break x}e=C[f+52>>2];d=C[e+68>>2];c=d&-257;C[e+68>>2]=c;if((c|0)==(d|0)){break x}ag(e)}e=C[f+52>>2];d=C[e+68>>2];c=d&-241|16;C[e+68>>2]=c;if((c|0)==(d|0)){break q}ag(e)}Ce=m+16|0}C[h+64>>2]=0;C[h+68>>2]=0;C[h+72>>2]=C[f+8>>2];C[h+76>>2]=C[f+12>>2];yg(a+36|0,h- -64|0,f+36|0);y:{z:{if(C[b+24>>2]?C[C[a+4>>2]+24>>2]:0){break z}if(o){if(C[b+24>>2]|s&2){break z}break y}if(!(s&2)){break y}}d=C[f+52>>2];a=C[d+68>>2];b=a&-241|16;C[d+68>>2]=b;if((a|0)==(b|0)){break y}ag(d)}if(!(s&4096)){break a}d=C[f+52>>2];a=C[d+68>>2];b=a|4096;C[d+68>>2]=b;if((a|0)==(b|0)){break a}ag(d)}Ce=h+80|0;return f}function Zv(a,b,c){var d=0,e=J(0),f=J(0),g=J(0),h=0,i=0,j=J(0),k=J(0),l=J(0),m=0,n=J(0),o=J(0),p=J(0),q=J(0),r=J(0),s=J(0),t=J(0),u=J(0),v=J(0),w=J(0),x=J(0),y=J(0),z=J(0),A=J(0),B=J(0),D=J(0),E=J(0),F=J(0),H=J(0),K=J(0),L=J(0),M=J(0),N=J(0),O=J(0),P=J(0),Q=J(0),R=J(0),S=J(0),T=J(0),U=J(0),V=J(0),W=J(0),X=J(0),Y=J(0),Z=J(0),_=J(0),$=J(0),aa=J(0),ba=J(0),ca=0,da=0,ea=0,fa=0,ga=0,ha=J(0),ia=J(0),ja=J(0),ka=J(0),la=J(0),ma=J(0),na=J(0),oa=J(0),pa=J(0),qa=J(0),ra=J(0),sa=J(0),ta=J(0),ua=J(0),va=0,wa=0,xa=0,ya=0;m=C[a+4>>2];a:{if((m|0)<7){break a}d=(c<<2)+b|0;h=((c<<1&-4)+b|0)-32|0;ga=C[a+8>>2];a=ga;while(1){j=G[h+28>>2];i=d-8|0;e=G[i>>2];g=G[h+24>>2];G[i>>2]=e+g;i=d-4|0;f=G[i>>2];G[i>>2]=f+G[h+28>>2];f=J(f-j);e=J(e-g);G[h+24>>2]=J(f*G[a+4>>2])+J(e*G[a>>2]);G[h+28>>2]=J(f*G[a>>2])-J(G[a+4>>2]*e);j=G[h+20>>2];i=d-16|0;e=G[i>>2];g=G[h+16>>2];G[i>>2]=e+g;i=d-12|0;f=G[i>>2];G[i>>2]=f+G[h+20>>2];f=J(f-j);e=J(e-g);G[h+16>>2]=J(f*G[a+20>>2])+J(e*G[a+16>>2]);G[h+20>>2]=J(f*G[a+16>>2])-J(G[a+20>>2]*e);j=G[h+12>>2];i=d-24|0;e=G[i>>2];g=G[h+8>>2];G[i>>2]=e+g;i=d-20|0;f=G[i>>2];G[i>>2]=f+G[h+12>>2];f=J(f-j);e=J(e-g);G[h+8>>2]=J(f*G[a+36>>2])+J(e*G[a+32>>2]);G[h+12>>2]=J(f*G[a+32>>2])-J(G[a+36>>2]*e);j=G[h+4>>2];i=d-32|0;e=G[i>>2];g=G[h>>2];G[i>>2]=e+g;d=d-28|0;f=G[d>>2];G[d>>2]=f+G[h+4>>2];f=J(f-j);e=J(e-g);G[h>>2]=J(f*G[a+52>>2])+J(e*G[a+48>>2]);G[h+4>>2]=J(f*G[a+48>>2])-J(G[a+52>>2]*e);a=a- -64|0;d=i;h=h-32|0;if(h>>>0>=b>>>0){continue}break}if((m|0)<8){break a}va=m-7|0;m=1;while(1){if((m|0)!=31){a=1<>m;ya=ea>>1;ca=0;while(1){fa=(I(ca,ea)<<2)+b|0;a=fa+(ea<<2)|0;h=((ya<<2)+fa|0)-32|0;d=ga;while(1){j=G[h+28>>2];i=a-8|0;e=G[i>>2];g=G[h+24>>2];G[i>>2]=e+g;i=a-4|0;f=G[i>>2];G[i>>2]=f+G[h+28>>2];f=J(f-j);e=J(e-g);G[h+24>>2]=J(f*G[d+4>>2])+J(e*G[d>>2]);G[h+28>>2]=J(f*G[d>>2])-J(G[d+4>>2]*e);j=G[h+20>>2];i=a-16|0;e=G[i>>2];g=G[h+16>>2];G[i>>2]=e+g;i=a-12|0;f=G[i>>2];G[i>>2]=f+G[h+20>>2];f=J(f-j);da=xa<<2;d=da+d|0;e=J(e-g);G[h+16>>2]=J(f*G[d+4>>2])+J(e*G[d>>2]);G[h+20>>2]=J(f*G[d>>2])-J(G[d+4>>2]*e);j=G[h+12>>2];i=a-24|0;e=G[i>>2];g=G[h+8>>2];G[i>>2]=e+g;i=a-20|0;f=G[i>>2];G[i>>2]=f+G[h+12>>2];f=J(f-j);d=d+da|0;e=J(e-g);G[h+8>>2]=J(f*G[d+4>>2])+J(e*G[d>>2]);G[h+12>>2]=J(f*G[d>>2])-J(G[d+4>>2]*e);j=G[h+4>>2];i=a-32|0;e=G[i>>2];g=G[h>>2];G[i>>2]=e+g;a=a-28|0;f=G[a>>2];G[a>>2]=f+G[h+4>>2];f=J(f-j);a=d+da|0;e=J(e-g);G[h>>2]=J(f*G[a+4>>2])+J(e*G[a>>2]);G[h+4>>2]=J(f*G[a>>2])-J(G[a+4>>2]*e);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}}a=(m|0)==(va|0);m=m+1|0;if(!a){continue}break}}a=0;if((c|0)>0){while(1){d=(a<<2)+b|0;e=G[d+60>>2];f=G[d+124>>2];j=G[d+24>>2];g=G[d+88>>2];n=G[d+120>>2];s=G[d+56>>2];k=J(n-s);t=G[d+28>>2];o=G[d+92>>2];u=J(t-o);p=J(k+u);F=G[d+104>>2];H=G[d+40>>2];q=J(F-H);K=G[d+108>>2];v=G[d+44>>2];r=J(K-v);L=J(J(q-r)*J(.7071067690849304));M=G[d+8>>2];N=G[d+72>>2];l=J(M-N);w=G[d+12>>2];O=G[d+76>>2];x=J(w-O);P=J(J(l+x)*J(.7071067690849304));y=J(L+P);Q=J(p+y);z=G[d+112>>2];R=G[d+48>>2];A=J(z-R);S=G[d+116>>2];T=G[d+52>>2];B=J(S-T);ha=J(J(A*J(.9238795042037964))+J(B*J(-.3826834261417389)));U=G[d+20>>2];V=G[d+84>>2];W=J(U-V);X=G[d+16>>2];Y=G[d+80>>2];Z=J(X-Y);ia=J(J(W*J(.9238795042037964))+J(Z*J(.3826834261417389)));D=J(ha+ia);_=G[d+96>>2];$=G[d+32>>2];E=J(_-$);ja=G[d+100>>2];ka=G[d+36>>2];aa=J(ja-ka);la=J(J(E*J(.3826834261417389))+J(aa*J(-.9238795042037964)));ma=G[d+4>>2];na=G[d+68>>2];oa=J(ma-na);pa=G[d>>2];qa=G[d+64>>2];ra=J(pa-qa);sa=J(J(oa*J(.3826834261417389))+J(ra*J(.9238795042037964)));ta=J(la+sa);ba=J(D+ta);G[d+56>>2]=Q+ba;G[d+48>>2]=Q-ba;Q=J(f-e);ba=J(g-j);ua=J(Q+ba);q=J(J(q+r)*J(.7071067690849304));r=J(J(x-l)*J(.7071067690849304));l=J(q+r);x=J(ua-l);D=J(D-ta);G[d+44>>2]=x+D;p=J(p-y);y=J(J(A*J(.3826834261417389))+J(B*J(.9238795042037964)));A=J(J(W*J(.3826834261417389))+J(Z*J(-.9238795042037964)));B=J(y+A);W=J(J(aa*J(.3826834261417389))+J(E*J(.9238795042037964)));Z=J(J(oa*J(.9238795042037964))+J(ra*J(-.3826834261417389)));E=J(W+Z);aa=J(B-E);G[d+40>>2]=p-aa;G[d+32>>2]=p+aa;p=J(ua+l);l=J(B+E);G[d+60>>2]=p+l;G[d+36>>2]=x-D;n=J(n+s);j=J(g+j);g=J(n-j);s=J(w+O);K=J(K+v);v=J(s-K);w=J(g+v);O=J(z+R);x=J(X+Y);z=J(O-x);R=J(S+T);S=J(U+V);T=J(R-S);B=J(J(z-T)*J(.7071067690849304));U=J(pa+qa);V=J(_+$);X=J(U-V);Y=J(ma+na);D=J(ja+ka);_=J(Y-D);$=J(J(X+_)*J(.7071067690849304));E=J(B+$);G[d+88>>2]=w+E;G[d+52>>2]=p-l;G[d+80>>2]=w-E;e=J(f+e);f=J(t+o);t=J(e-f);o=J(F+H);p=J(M+N);F=J(o-p);H=J(t-F);M=J(B-$);G[d+76>>2]=H+M;g=J(g-v);v=J(J(z+T)*J(.7071067690849304));N=J(J(_-X)*J(.7071067690849304));l=J(v-N);G[d+72>>2]=g-l;G[d+64>>2]=g+l;g=J(k-u);k=J(r-q);u=J(g+k);q=J(ha-ia);r=J(y-A);l=J(J(q-r)*J(.7071067690849304));w=J(Z-W);y=J(sa-la);z=J(J(w+y)*J(.7071067690849304));A=J(l+z);G[d+16>>2]=u-A;G[d+24>>2]=u+A;u=J(Q-ba);L=J(L-P);P=J(u-L);l=J(l-z);G[d+12>>2]=P+l;g=J(g-k);k=J(J(q+r)*J(.7071067690849304));q=J(J(w-y)*J(.7071067690849304));r=J(k-q);G[d+8>>2]=g-r;G[d>>2]=g+r;g=J(u+L);k=J(k+q);G[d+28>>2]=g+k;G[d+4>>2]=P-l;G[d+20>>2]=g-k;g=J(t+F);k=J(v+N);G[d+92>>2]=g+k;G[d+68>>2]=H-M;G[d+84>>2]=g-k;j=J(n+j);g=J(o+p);n=J(j+g);k=J(O+x);t=J(V+U);o=J(k+t);G[d+120>>2]=n+o;G[d+112>>2]=n-o;j=J(j-g);g=J(R+S);n=J(D+Y);o=J(g-n);G[d+96>>2]=j+o;G[d+104>>2]=j-o;e=J(e+f);f=J(K+s);j=J(e-f);s=J(k-t);G[d+108>>2]=j+s;G[d+100>>2]=j-s;e=J(e+f);f=J(g+n);G[d+124>>2]=e+f;G[d+116>>2]=e-f;a=a+32|0;if((c|0)>(a|0)){continue}break}}}function oM(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ce-48|0;Ce=h;i=2;a:{b:{c:{switch(C[a+732>>2]-1|0){case 0:case 1:e=C[a+104>>2];d:{if(!(Fe[C[a+508>>2]](a,1128416340,e,h+44|0)|0)){break d}if(!(Fe[C[a+508>>2]](a,1161970772,e,h+44|0)|0)){break d}i=Fe[C[a+508>>2]](a,1650745716,e,h+44|0)|0;if(i){break a}}C[h+4>>2]=e;C[h>>2]=a;i=C[a+84>>2];B[h+16>>1]=0;C[h+12>>2]=g;C[h+8>>2]=i+76;C[h+20>>2]=C[e+8>>2];C[h+24>>2]=C[h+44>>2];g=C[a+724>>2];C[h+36>>2]=g;e=C[a+728>>2];C[h+40>>2]=e+g;i=3;b=I(b,48);if(e>>>0>>0){break a}b=b+g|0;g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);j=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);C[h+28>>2]=j;g=D[b+16|0]|D[b+17|0]<<8|(D[b+18|0]<<16|D[b+19|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);C[h+32>>2]=g;A[h+18|0]=D[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}i=Ew(h,c,0,0);if(i){break a}if(!(d&1048576)){break b}i=0;break a;case 2:break c;default:break a}}B[g>>1]=0;B[g+2>>1]=0;b=C[a+724>>2]+(b<<2)|0;b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);i=Fe[C[a+508>>2]](a,1935829368,e,h)|0;if(i){break a}d=C[e+8>>2];if(F[a+16>>2]>>0){i=6;break a}f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=f+d|0;j=g+4|0;d=0;while(1){b=C[h>>2];if(b>>>0<=f>>>0){i=3;break a}c=c<<2;if(c+12>>>0>b-f>>>0){i=3;break a}i=bf(e,c+j|0);if(i){break a}i=Cf(e,8);if(i){break a}b=wg(e);c=wg(e);xf(e);if((b|0)==(c|0)){i=6;break a}if(b>>>0>c>>>0){i=3;break a}k=c-b|0;if(k>>>0<8){i=3;break a}i=3;if(c>>>0>C[h>>2]-f>>>0){break a}i=bf(e,b+g|0);if(i){break a}i=Cf(e,k);if(i){break a}Gf(e);Gf(e);b=wg(e);if((b|0)!=1685418085){e:{if(!((b|0)==1785751328|(b|0)==1919378028)){i=7;if((b|0)!=1953064550){break e}}i=2}xf(e);break a}if((d|0)==4){i=3;xf(e);break a}c=Gf(e);xf(e);d=d+1|0;if(F[a+16>>2]>=c>>>0){continue}break}i=6;break a}i=0;if(D[f+18|0]!=7){break a}n=C[C[a+84>>2]>>2];if(h){C[h>>2]=0;C[h+4>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0}g=f;l=Ce-16|0;Ce=l;C[l+12>>2]=0;f:{if(!n){d=33;break f}d=6;if(!g|!h){break f}g:{if((D[g+18|0]-1&255)>>>0<=6){f=C[n>>2];A[h+18|0]=2;i=C[h>>2];e=C[g>>2];C[h>>2]=e;C[h+4>>2]=C[g+4>>2];c=C[h+8>>2];b=C[g+4>>2];j=(b|0)>0;mT(b,0,e,0);if(Ee?j:0){break f}j=0-b|0;d=I(b,e);e=c>>31;e=I(i,(e^c)-e|0);if(d>>>0>e>>>0){p=h,q=Gx(f,e,d,C[h+12>>2],l+12|0),C[p+12>>2]=q;d=C[l+12>>2];if(d){break f}c=C[h+8>>2]}C[h+8>>2]=(c|0)<0?j:b;break g}C[l+12>>2]=6}b=C[g+12>>2];f=C[g+8>>2];if((f|0)<0){b=I(1-C[g>>2]|0,f)+b|0}c=C[h+12>>2];k=C[h+8>>2];if((k|0)<0){c=I(1-C[h>>2]|0,k)+c|0}h:{i:{switch(D[g+18|0]-1|0){case 0:B[h+16>>1]=2;k=C[g>>2];if(!k){break h}while(1){e=C[g+4>>2];j:{if(e>>>0<8){f=b;d=c;break j}j=e>>>3|0;d=c;f=b;while(1){e=D[f|0];A[d+7|0]=e&1;A[d|0]=e>>>7;A[d+6|0]=e>>>1&1;A[d+5|0]=e>>>2&1;A[d+4|0]=e>>>3&1;A[d+3|0]=e>>>4&1;A[d+2|0]=e>>>5&1;A[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;j=j-1|0;if(j){continue}break}e=C[g+4>>2]}e=e&7;k:{if(!e){break k}f=D[f|0];A[d|0]=f>>>7;if((e|0)==1){break k}A[d+1|0]=f>>>6&1;if((e|0)==2){break k}A[d+2|0]=f>>>5&1;if((e|0)==3){break k}A[d+3|0]=f>>>4&1;if((e|0)==4){break k}A[d+4|0]=f>>>3&1;if((e|0)==5){break k}A[d+5|0]=f>>>2&1;if((e|0)==6){break k}A[d+6|0]=f>>>1&1}c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;k=k-1|0;if(k){continue}break};break h;case 1:case 4:case 5:f=C[g+4>>2];B[h+16>>1]=256;d=C[g>>2];if(!d){break h}if(d&1){t(c,b,f);c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;e=d-1|0}else{e=d}if((d|0)==1){break h}while(1){t(c,b,f);c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;t(c,b,f);c=c+C[h+8>>2]|0;b=b+C[g+8>>2]|0;e=e-2|0;if(e){continue}break};break h;case 2:B[h+16>>1]=4;k=C[g>>2];if(!k){break h}while(1){f=C[g+4>>2];l:{if(f>>>0<4){e=b;d=c;break l}i=f>>>2|0;j=i;d=c;e=b;if(f&4){d=D[b|0];A[c+3|0]=d&3;A[c|0]=d>>>6;A[c+2|0]=d>>>2&3;A[c+1|0]=d>>>4&3;j=i-1|0;e=b+1|0;d=c+4|0}if((i|0)!=1){while(1){f=D[e|0];A[d+3|0]=f&3;A[d|0]=f>>>6;A[d+2|0]=f>>>2&3;A[d+1|0]=f>>>4&3;f=D[e+1|0];A[d+7|0]=f&3;A[d+4|0]=f>>>6;A[d+6|0]=f>>>2&3;A[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;j=j-2|0;if(j){continue}break}}f=C[g+4>>2]}f=f&3;m:{if(!f){break m}e=D[e|0];A[d|0]=e>>>6;if((f|0)==1){break m}A[d+1|0]=e>>>4&3;if((f|0)==2){break m}A[d+2|0]=e>>>2&3}c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;k=k-1|0;if(k){continue}break};break h;case 3:B[h+16>>1]=16;i=C[g>>2];if(!i){break h}while(1){f=C[g+4>>2];n:{if(f>>>0<2){e=b;d=c;break n}f=f>>>1|0;k=f-1|0;j=0;d=c;e=b;m=f&3;if(m){while(1){o=D[e|0];A[d+1|0]=o&15;A[d|0]=o>>>4;f=f-1|0;d=d+2|0;e=e+1|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(k>>>0>=3){while(1){j=D[e|0];A[d+1|0]=j&15;A[d|0]=j>>>4;j=D[e+1|0];A[d+3|0]=j&15;A[d+2|0]=j>>>4;j=D[e+2|0];A[d+5|0]=j&15;A[d+4|0]=j>>>4;j=D[e+3|0];A[d+7|0]=j&15;A[d+6|0]=j>>>4;d=d+8|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=C[g+4>>2]}if(f&1){A[d|0]=D[e|0]>>>4}c=C[h+8>>2]+c|0;b=C[g+8>>2]+b|0;i=i-1|0;if(i){continue}break};break h;case 6:break i;default:break h}}B[h+16>>1]=256;i=C[g>>2];if(!i){break h}while(1){e=c;d=b;j=C[g+4>>2];if(j){while(1){f=D[d+3|0];if(f){k=D[d+1|0];m=I(I(k,k),46871);k=D[d|0];m=m+I(I(k,k),4732)|0;k=D[d+2|0];f=f-((m+I(I(k,k),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}A[e|0]=f;e=e+1|0;d=d+4|0;j=j-1|0;if(j){continue}break}k=C[h+8>>2];f=C[g+8>>2]}c=c+k|0;b=b+f|0;i=i-1|0;if(i){continue}break}}d=C[l+12>>2]}Ce=l+16|0;i=d;if(d){if(h?n:0){qu(n,h)}break a}A[g+18|0]=D[h+18|0];C[g+8>>2]=C[h+8>>2];B[g+16>>1]=E[h+16>>1];fy(C[a+84>>2],C[h+12>>2]);a=C[C[a+84>>2]+156>>2];C[a+4>>2]=C[a+4>>2]|1}Ce=h+48|0;return i|0}function sj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ce-16|0;Ce=j;k=C[a+278664>>2];C[j+8>>2]=0;i=C[a+128>>2];h=C[i+12>>2];g=D[b|0];if(g){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}a:{b:{c:{d:{e:{f:{d=f;f=C[i+4>>2];d=h+((d>>>0)%(f>>>0)<<2)|0;e=C[d>>2];if(e){f=(h+(f<<2)|0)-4|0;while(1){i=C[e>>2];if(D[i|0]==(g|0)){if(!Se(i,b)){break f}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}h=C[a+278688>>2];f=0;if(g){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}i=C[a+278680>>2];d=((f>>>0)%(i>>>0)<<2)+h|0;e=C[d>>2];g:{if(e){f=((i<<2)+h|0)-4|0;while(1){l=C[e>>2];if(D[l|0]==(g|0)){if(!Se(l,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}f=0;C[j+12>>2]=0;if(g){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}d=((f>>>0)%(i>>>0)<<2)+h|0;e=C[d>>2];h:{if(e){f=((i<<2)+h|0)-4|0;while(1){e=C[e>>2];if(D[e|0]==(g|0)){if(!Se(e,b)){break h}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}d=C[a+278672>>2];d=Ve(k,16,d,d+1|0,C[a+278668>>2],j+12|0);C[a+278668>>2]=d;e=C[j+12>>2];if(e){break e}d=d+(C[a+278672>>2]<<4)|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;g=af(b)+1|0;f=Ve(k,1,0,g,0,j+12|0);C[d>>2]=f;e=C[j+12>>2];if(e){break e}t(f,b,g);C[d+4>>2]=1;C[d+8>>2]=0;e=dq(C[d>>2],C[a+278672>>2]+83|0,a+278676|0,k);if(e){break e}C[a+278672>>2]=C[a+278672>>2]+1;h=C[a+278688>>2];g=D[b|0]}C[j+8>>2]=0;f=0;if(g&255){e=g;d=b;while(1){f=(e<<24>>24)+I(f,31)|0;e=D[d+1|0];d=d+1|0;if(e){continue}break}}d=f;f=C[a+278680>>2];d=((d>>>0)%(f>>>0)<<2)+h|0;e=C[d>>2];if(e){f=((f<<2)+h|0)-4|0;g=g&255;while(1){i=C[e>>2];if((g|0)==D[i|0]){if(!Se(i,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=C[d>>2];if(e){continue}break}}e=0}d=C[a+76>>2];if((d|0)!=C[a+72>>2]){break b}if(d){break d}d=Ve(k,16,0,1,0,j+8|0);C[a+80>>2]=d;if(!C[j+8>>2]){break c}break a}i:{j:{k:{i=C[a+80>>2];b=C[e+4>>2];a=i+(b<<4)|0;switch(C[a+4>>2]-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}b=C[a+12>>2];if(b){Fe[C[k+8>>2]](k,b)}C[a+12>>2]=0;if(!c|!D[c|0]){break a}o=a,p=nh(k,c,j+8|0),C[o+12>>2]=p;break a}e=0;l:{if(!c){break l}a=D[c|0];if(!a){break l}g=213104;h=10;d=((a|0)==45)+c|0;e=D[d|0];m:{if((e|0)!=48){break m}if((D[d+1|0]|32)!=120){e=48;break m}e=D[d+2|0];g=213072;h=16;d=d+2|0}f=0;c=D[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=D[e+213136|0]+I(f,h)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}e=(a|0)==45?0-f|0:f}C[(i+(b<<4)|0)+12>>2]=e;break a}n:{if(!c){f=0;break n}f=D[c|0];if(!f){break n}g=213104;h=10;o:{if((f|0)!=48){break o}if((D[c+1|0]|32)!=120){f=48;break o}f=D[c+2|0];g=213072;h=16;c=c+2|0}d=c;e=f<<24>>24;a=f&248;f=0;if(!(D[(a>>>3|0)+g|0]>>>(e&7)&1)){break n}while(1){f=D[e+213136|0]+I(f,h)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}C[(i+(b<<4)|0)+12>>2]=f;break a}C[j+8>>2]=e;break a}d=Ve(k,16,d,d+1|0,C[a+80>>2],j+8|0);C[a+80>>2]=d;if(C[j+8>>2]){break a}}d=(C[a+72>>2]<<4)+d|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[a+72>>2]=C[a+72>>2]+1}g=C[a+80>>2];i=C[a+76>>2];l=g+(i<<4)|0;f=l;d=C[e+4>>2];p:{if(d>>>0>=83){d=(C[a+278668>>2]+(d<<4)|0)-1328|0;break p}d=(d<<4)+211728|0}C[f>>2]=C[d>>2];C[l+4>>2]=C[d+4>>2];C[l+8>>2]=C[d+8>>2];q:{r:{s:{switch(C[d+4>>2]-1|0){case 0:C[l+12>>2]=0;if(!c|!D[c|0]){break q}o=l,p=nh(k,c,j+8|0),C[o+12>>2]=p;if(!C[j+8>>2]){break q}break a;case 1:f=0;if(!c){break r}n=D[c|0];if(!n){break r}h=213104;m=10;d=((n|0)==45)+c|0;e=D[d|0];t:{if((e|0)!=48){break t}if((D[d+1|0]|32)!=120){e=48;break t}e=D[d+2|0];h=213072;m=16;d=d+2|0}c=D[((e&248)>>>3|0)+h|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=D[e+213136|0]+I(f,m)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+h|0]>>>(e&7)&1){continue}break}}f=(n|0)==45?0-f|0:f;break r;case 2:break s;default:break q}}if(!c){f=0;break r}f=D[c|0];if(!f){break r}h=213104;m=10;u:{if((f|0)!=48){break u}if((D[c+1|0]|32)!=120){f=48;break u}f=D[c+2|0];h=213072;m=16;c=c+2|0}d=c;e=f<<24>>24;c=f&248;f=0;if(!(D[(c>>>3|0)+h|0]>>>(e&7)&1)){break r}while(1){f=D[e+213136|0]+I(f,m)|0;e=A[d+1|0];d=d+1|0;if(D[((e&248)>>>3|0)+h|0]>>>(e&7)&1){continue}break}}C[((i<<4)+g|0)+12>>2]=f}v:{w:{if(cf(b,23363,7)){break w}switch(D[b+7|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break w}}c=dq(C[l>>2],C[a+76>>2],C[a+128>>2],k);C[j+8>>2]=c;if(c){break a}}C[a+76>>2]=C[a+76>>2]+1;x:{if(cf(b,24774,12)){break x}y:{switch(D[b+12|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}C[a+36>>2]=C[((i<<4)+g|0)+12>>2];break a}z:{if(cf(b,23482,11)){break z}A:{switch(D[b+11|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}C[a+40>>2]=C[((i<<4)+g|0)+12>>2];break a}B:{if(cf(b,23437,12)){break B}C:{switch(D[b+12|0]){case 0:case 9:case 10:case 13:case 32:break C;default:break B}}C[a+44>>2]=C[((i<<4)+g|0)+12>>2];break a}if(cf(b,26314,7)){break a}D:{switch(D[b+7|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break a}}b=C[((i<<4)+g|0)+12>>2];if(!b){C[j+8>>2]=3;break a}E:{switch(D[b|0]-67|0){case 13:case 45:C[a+28>>2]=8;break a;case 10:case 42:C[a+28>>2]=16;break a;case 0:case 32:break E;default:break a}}C[a+28>>2]=32}Ce=j+16|0;return C[j+8>>2]}function Oz(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,j=0,k=0,l=0,m=0;g=g^255;a:{b:{switch(c-1|0){case 0:k=C[b+12>>2];if(!k){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];l=c&3;b=(c+3|0)/4|0;i=j-c<<2;c:while(1){k=k-1|0;j=b;d:{e:{switch(l-1|0){default:c=0;break d;case 0:c=3;break d;case 1:c=2;break d;case 2:break e}}c=1}while(1){f:{switch(c|0){case 0:c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;c=1;continue;case 1:c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;c=2;continue;case 2:c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;c=3;continue;default:break f}}c=C[a>>2];C[a>>2]=((I(g,c>>>8&255)>>>0)/255|0)+e<<8|((I(g,c&255)>>>0)/255|0)+f|((I(g,c>>>16&255)>>>0)/255|0)+d<<16;c=j-1|0;a=a+4|0;g:{if((j|0)>1){j=c;break g}a=a+i|0;if(k){continue c}break a}c=0;continue}};default:c=C[b+12>>2];if(!c){break a}d=e<<8|d<<16|f;e=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(e,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];f=a&3;b=(a+3|0)/4|0;j=e-a<<2;h:while(1){c=c-1|0;e=b;i:{j:{switch(f-1|0){default:a=0;break i;case 0:a=3;break i;case 1:a=2;break i;case 2:break j}}a=1}while(1){k:{switch(a|0){case 0:C[g>>2]=d;g=g+4|0;a=1;continue;case 1:C[g>>2]=d;g=g+4|0;a=2;continue;case 2:C[g>>2]=d;g=g+4|0;a=3;continue;default:break k}}C[g>>2]=d;a=e-1|0;g=g+4|0;l:{if((e|0)>1){e=a;break l}g=g+j|0;if(c){continue h}break a}a=0;continue}};case 7:k=C[b+12>>2];if(!k){break a}j=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=(C[a+20>>2]+(I(j,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;c=C[b+8>>2];l=c&3;b=(c+3|0)/4|0;i=j-c<<2;m:while(1){k=k-1|0;j=b;n:{o:{switch(l-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=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);a=a+4|0;c=1;continue;case 1:c=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);a=a+4|0;c=2;continue;case 2:c=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);a=a+4|0;c=3;continue;default:break p}}c=C[a>>2];h=c>>>16&255;h=((I(h,g)>>>0)/255|0)+((I(d,h)>>>0)/255|0)|0;m=(h>>>0>=255?255:h)<<16;h=c>>>8&255;h=((I(h,g)>>>0)/255|0)+((I(e,h)>>>0)/255|0)|0;c=c&255;c=((I(c,g)>>>0)/255|0)+((I(c,f)>>>0)/255|0)|0;C[a>>2]=m|(h>>>0>=255?255:h)<<8|(c>>>0>=255?255:c);c=j-1|0;a=a+4|0;q:{if((j|0)>1){j=c;break q}a=a+i|0;if(k){continue m}break a}c=0;continue}};case 3:j=C[b+12>>2];if(!j){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];k=a&3;b=(a+3|0)/4|0;l=c-a<<2;r:while(1){j=j-1|0;c=b;s:{t:{switch(k-1|0){default:a=0;break s;case 0:a=3;break s;case 1:a=2;break s;case 2:break t}}a=1}while(1){u:{switch(a|0){case 0:a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;g=g+4|0;a=1;continue;case 1:a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;g=g+4|0;a=2;continue;case 2:a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;g=g+4|0;a=3;continue;default:break u}}a=C[g>>2];C[g>>2]=(I(a>>>8&255,e)>>>0)/255<<8|(I(a&255,f)>>>0)/255|(I(a>>>16&255,d)>>>0)/255<<16;a=c-1|0;g=g+4|0;v:{if((c|0)>1){c=a;break v}g=g+l|0;if(j){continue r}break a}a=0;continue}};case 1:break b}}k=C[b+12>>2];if(!k){break a}c=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;g=(C[a+20>>2]+(I(c,C[b+4>>2])<<2)|0)+(C[b>>2]<<2)|0;a=C[b+8>>2];j=a&3;b=(a+3|0)/4|0;l=c-a<<2;w:while(1){k=k-1|0;c=b;x:{y:{switch(j-1|0){default:a=0;break x;case 0:a=3;break x;case 1:a=2;break x;case 2:break y}}a=1}while(1){z:{switch(a|0){case 0:a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);g=g+4|0;a=1;continue;case 1:a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);g=g+4|0;a=2;continue;case 2:a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);g=g+4|0;a=3;continue;default:break z}}a=C[g>>2];i=(a>>>16&255)+d|0;h=(i>>>0>=255?255:i)<<16;i=(a>>>8&255)+e|0;a=(a&255)+f|0;C[g>>2]=h|(i>>>0>=255?255:i)<<8|(a>>>0>=255?255:a);a=c-1|0;g=g+4|0;A:{if((c|0)>1){c=a;break A}g=g+l|0;if(k){continue w}break a}a=0;continue}}}return 0}function KD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=C[c+4>>2];m=C[a+8>>2];a:{if(!(D[c|0]&2)){break a}if((qh(c)|0)>=0){break a}return-1}f=D[j+9|0];h=C[d>>2];n=C[d+4>>2];p=C[c+16>>2];o=C[c+20>>2];d=C[C[a+52>>2]+12>>2]+28|0;k=C[b+4>>2];b:{c:{if(!k){break c}if((f|0)==2){while(1){e=0;while(1){g=d+2|0;e=D[d|0]+e|0;d=D[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)<(m|0)){continue}break}e=(d&2)+d|0;i=0;while(1){g=E[e>>1];l=E[e+2>>1];d=((l<<2)+e|0)+4|0;e=d;i=l+(g+i|0)|0;if((m|0)>(i|0)){continue}break}k=k-1|0;if(k){continue}break c}}k=k<<1;while(1){e=0;while(1){g=d+4|0;e=E[d>>1]+e|0;d=E[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)<(m|0)){continue}break}k=k-1|0;if(k){continue}break}}g=(o+I(n,p)|0)+I(f,h)|0;i=C[b>>2];if(!(!i&C[b+8>>2]==C[a+8>>2])){f:{g:{a=C[c+4>>2];switch(D[a+9|0]-2|0){case 2:break f;case 0:break g;default:break b}}if(!(!(C[a+16>>2]==2016|C[a+12>>2]==2016)&C[a+20>>2]!=2016)){g=g-(i<<1)|0;j=i+C[b+8>>2]|0;k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];h:{if(b){f=i-e|0;d=(f|0)>0;f=b-(d?f:0)|0;d=d?i:e;h=j-d|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){gf((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)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){a=d+4|0;b=E[d>>1]+b|0;e=E[d+2>>1];if(e){f=i-b|0;d=(f|0)>0;f=e-(d?f:0)|0;d=d?i:b;h=j-d|0;h=(f|0)<(h|0)?f:h;if((h|0)>0){n=(d<<1)+g|0;p=a+(d-b<<2)|0;d=0;while(1){f=C[p+(d<<2)>>2];o=n+(d<<1)|0;l=E[o>>1];l=(l<<16|l)&132184095;f=(I((f&132184095)-l|0,f>>>5&31)>>>5|0)+l&132184095;B[o>>1]=f|f>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;a=a+(e<<2)|0}d=a;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break}break b}g=g-(i<<1)|0;j=i+C[b+8>>2]|0;k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];i:{if(b){f=i-e|0;d=(f|0)>0;f=b-(d?f:0)|0;d=d?i:e;h=j-d|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){gf((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break i}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){a=d+4|0;b=E[d>>1]+b|0;e=E[d+2>>1];if(e){f=i-b|0;d=(f|0)>0;f=e-(d?f:0)|0;d=d?i:b;h=j-d|0;h=(f|0)<(h|0)?f:h;if((h|0)>0){n=(d<<1)+g|0;p=a+(d-b<<2)|0;d=0;while(1){f=C[p+(d<<2)>>2];o=n+(d<<1)|0;l=E[o>>1];l=(l<<16|l)&65043487;f=(I((f&65043487)-l|0,f>>>5&31)>>>5|0)+l&65043487;B[o>>1]=f|f>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;a=a+(e<<2)|0}d=a;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break}break b}g=g-(i<<2)|0;k=i+C[b+8>>2]|0;j=C[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=E[d>>1]+e|0;b=E[d+2>>1];j:{if(b){f=i-e|0;d=(f|0)>0;f=b-(d?f:0)|0;d=d?i:e;h=k-d|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){gf((d<<2)+g|0,a+(d-e<<2)|0,f<<2)}e=b+e|0;d=a+(b<<2)|0;break j}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}b=0;while(1){a=d+4|0;b=E[d>>1]+b|0;e=E[d+2>>1];if(e){f=i-b|0;d=(f|0)>0;f=e-(d?f:0)|0;d=d?i:b;h=k-d|0;n=(f|0)<(h|0)?f:h;if((n|0)>0){p=(d<<2)+g|0;o=a+(d-b<<2)|0;d=0;while(1){h=d<<2;l=h+p|0;r=C[l>>2];f=r&16711935;q=l;h=C[h+o>>2];l=h>>>24|0;s=f+(I(l,(h&16711935)-f|0)>>>8|0)&16711935;f=r&65280;C[q>>2]=s|(I((h&65280)-f|0,l)>>>8|0)+f&65280|-16777216;d=d+1|0;if((n|0)!=(d|0)){continue}break}}b=b+e|0;a=a+(e<<2)|0}d=a;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;j=j-1|0;if(j){continue}break}break b}k:{switch(f-2|0){case 0:if(!(!(C[j+16>>2]==2016|C[j+12>>2]==2016)&C[j+20>>2]!=2016)){k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];l:{if(b){d=b<<1;gf((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break l}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=E[d>>1]+b|0;a=E[d+2>>1];if(a){d=(b<<1)+g|0;i=0;while(1){j=C[e>>2];f=E[d>>1];f=(f<<16|f)&132184095;j=(I((j&132184095)-f|0,j>>>5&31)>>>5|0)+f&132184095;B[d>>1]=j>>>16|j;d=d+2|0;e=e+4|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}b=a+b|0}d=e;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break}break b}k=C[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=D[d|0]+e|0;b=D[d+1|0];m:{if(b){d=b<<1;gf((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break m}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=E[d>>1]+b|0;a=E[d+2>>1];if(a){d=(b<<1)+g|0;i=0;while(1){j=C[e>>2];f=E[d>>1];f=(f<<16|f)&65043487;j=(I((j&65043487)-f|0,j>>>5&31)>>>5|0)+f&65043487;B[d>>1]=j>>>16|j;d=d+2|0;e=e+4|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}b=a+b|0}d=e;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;k=k-1|0;if(k){continue}break};break b;case 2:break k;default:break b}}i=C[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=E[d>>1]+e|0;b=E[d+2>>1];n:{if(b){d=b<<2;gf((e<<2)+g|0,a,d);e=b+e|0;d=a+d|0;break n}d=a;if(!e){break b}}if((e|0)<(m|0)){continue}break}b=0;while(1){e=d+4|0;b=E[d>>1]+b|0;a=E[d+2>>1];if(a){d=(b<<2)+g|0;k=0;while(1){j=C[e>>2];f=j>>>24|0;h=C[d>>2];n=h&65280;l=(I(f,(j&65280)-n|0)>>>8|0)+n&65280;q=j&16711935;j=h&16711935;C[d>>2]=l|(I(f,q-j|0)>>>8|0)+j&16711935|-16777216;d=d+4|0;e=e+4|0;k=k+1|0;if((a|0)!=(k|0)){continue}break}b=a+b|0}d=e;if((b|0)<(m|0)){continue}break}g=C[c+16>>2]+g|0;i=i-1|0;if(i){continue}break}}if(D[c|0]&2){fh(c)}return 0}function co(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=C[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}g=D[a|0]|D[a+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<2){break a}g=a+4|0;if(g>>>0>d>>>0|d-g>>>0<4){break a}f=f-6|0;C[b+12>>2]=f;if((f|0)<=0){break a}c=1;f=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!g){break a}k=g-1|0;a=a+8|0;f=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<12){return 0}i=C[b+12>>2];d=i-12|0;C[b+12>>2]=d;if((d|0)<=0){return 0}c=C[b+32>>2];d=C[c+12>>2];C[b+4>>2]=d;h=C[c+16>>2];c=h+d|0;C[b+8>>2]=c;b:{c:{d:{e:{if(f>>>0>>0){e=f>>>0>>0?a:0;if(e>>>0>=d>>>0&c>>>0>e>>>0){break e}C[b+4>>2]=0;C[b+8>>2]=0;c=0;break d}if(a>>>0>=d>>>0){break d}break c}C[b+4>>2]=e;j=c-e|0;c=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=e+(c>>>0>j>>>0?j:c)|0;C[b+8>>2]=c}if(a>>>0>c>>>0){break c}j=c-a|0;if(j>>>0<12){break c}e=i-24|0;C[b+12>>2]=e;if((e|0)<=0){break c}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<13|c>>>0>j>>>0){break c}c=e-c|0;C[b+12>>2]=c;if((c|0)<=0){break c}d=1;f:{g:{h:{switch(D[a+7|0]){case 0:d=0;e=a+12|0;if(e>>>0>2]){break f}c=C[b+8>>2];if(c>>>0>>0|c-e>>>0<8){break f}h=C[b+12>>2]-8|0;C[b+12>>2]=h;if((h|0)<=0){break f}e=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>715827881){break f}if(e){i=a+28|0;if(i>>>0>c>>>0){break f}i=c-i|0;c=I(e,6);if(i>>>0>>0){break f}c=h-c|0;C[b+12>>2]=c;if((c|0)<=0){break f}}d=1;break f;case 1:d=0;if(F[b+4>>2]>a>>>0){break f}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break f}c=C[b+12>>2]-32|0;C[b+12>>2]=c;if((c|0)<=0){break f}break g;case 2:d=0;i:{if(F[b+4>>2]>a>>>0){break i}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break i}h=C[b+12>>2];e=h-28|0;C[b+12>>2]=e;if((e|0)<=0){break i}e=a+16|0;if(e>>>0>c>>>0|c-e>>>0<4){break i}c=h-32|0;C[b+12>>2]=c;if((c|0)<=0){break i}c=A[e|0];if((c|0)<0){break i}j:{if(!Eh((D[a+19|0]|(D[a+17|0]<<16|(c&255)<<24|D[a+18|0]<<8))+a|0,b)){break j}c=a+20|0;if(c>>>0>2]){break j}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break j}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break j}d=0;c=A[c|0];if((c|0)<0){break i}if(!Eh((D[a+23|0]|(D[a+21|0]<<16|(c&255)<<24|D[a+22|0]<<8))+a|0,b)){break j}d=1;c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!c){break i}if(F[b+4>>2]>a>>>0){break j}e=C[b+8>>2];if(e>>>0>>0){break j}d=0;if(c>>>0>e-a>>>0){break i}d=C[b+12>>2]-c|0;C[b+12>>2]=d;d=(d|0)>0;break i}d=0}break f;case 4:d=0;if(F[b+4>>2]>a>>>0){break f}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break f}c=C[b+12>>2]-32|0;C[b+12>>2]=c;if((c|0)<=0){break f}break g;case 6:break h;default:break f}}k:{l:{if(F[b+4>>2]>a>>>0){break l}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<36){break l}e=C[b+12>>2];c=e-36|0;C[b+12>>2]=c;if((c|0)<=0){break l}c=a+20|0;d=c>>>0>d>>>0|d-c>>>0<4;m:{n:{if(A[a+15|0]&1){if(d){break l}d=e-40|0;C[b+12>>2]=d;if((d|0)<=0){break l}d=0;c=A[c|0];if((c|0)<0){break l}if(!Vt((D[a+23|0]|(D[a+21|0]<<16|(c&255)<<24|D[a+22|0]<<8))+a|0,b)){break m}c=a+24|0;if(c>>>0>2]){break m}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break m}e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break m}c=A[c|0];if((c|0)<0){break m}if(!Vt((D[a+27|0]|(D[a+25|0]<<16|(c&255)<<24|D[a+26|0]<<8))+a|0,b)){break l}d=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!c){break n}if(F[b+4>>2]>a>>>0){break l}e=C[b+8>>2];if(e>>>0>>0){break l}d=0;if(c>>>0>e-a>>>0){break m}c=C[b+12>>2]-c|0;C[b+12>>2]=c;if((c|0)>0){break n}break m}if(d){break l}d=e-40|0;C[b+12>>2]=d;if((d|0)<=0){break l}d=0;c=A[c|0];if((c|0)<0){break l}if(!Eh((D[a+23|0]|(D[a+21|0]<<16|(c&255)<<24|D[a+22|0]<<8))+a|0,b)){break m}c=a+24|0;if(c>>>0>2]){break m}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break m}e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break m}c=A[c|0];if((c|0)<0){break m}if(!Eh((D[a+27|0]|(D[a+25|0]<<16|(c&255)<<24|D[a+26|0]<<8))+a|0,b)){break l}d=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!d){break n}if(F[b+4>>2]>a>>>0){break l}c=C[b+8>>2];if(c>>>0>>0|d>>>0>c-a>>>0){break l}c=C[b+12>>2]-d|0;C[b+12>>2]=c;d=0;if((c|0)<=0){break m}}d=1;c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);if(!(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break m}c=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!c){break m}if(F[b+4>>2]>a>>>0){break l}e=C[b+8>>2];if(e>>>0>>0){break l}d=0;if(c>>>0>e-a>>>0){break m}d=C[b+12>>2]-c|0;C[b+12>>2]=d;d=(d|0)>0}break k}d=0}break f}d=bu(a+12|0,b)}if(d){break b}a=C[b+32>>2];h=C[a+16>>2];d=C[a+12>>2]}C[b+4>>2]=d;C[b+8>>2]=d+h;return 0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=C[b+32>>2];e=C[d+12>>2];C[b+4>>2]=e;d=C[d+16>>2]+e|0;C[b+8>>2]=d;a=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;c=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return c}function Bu(a,b,c,d,e,f,g){var 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,E=0;j=Ce-80|0;Ce=j;C[j+76>>2]=b;y=j+55|0;s=j+56|0;a:{b:{c:{d:{e:while(1){k=b;if((p^2147483647)<(h|0)){break d}p=h+p|0;f:{g:{h:{h=k;i=D[h|0];if(i){while(1){i:{b=i&255;j:{if(!b){b=h;break j}if((b|0)!=37){break i}i=h;while(1){if(D[i+1|0]!=37){b=i;break j}h=h+1|0;m=D[i+2|0];b=i+2|0;i=b;if((m|0)==37){continue}break}}h=h-k|0;x=p^2147483647;if((h|0)>(x|0)){break d}if(a){Bg(a,k,h)}if(h){continue e}C[j+76>>2]=b;h=b+1|0;q=-1;if(!(D[b+2|0]!=36|A[b+1|0]-48>>>0>=10)){q=A[b+1|0]-48|0;u=1;h=b+3|0}C[j+76>>2]=h;n=0;i=A[h|0];b=i-32|0;k:{if(b>>>0>31){o=h;break k}o=h;b=1<>2]=o;n=b|n;i=A[h+1|0];b=i-32|0;if(b>>>0>=32){break k}h=o;b=1<>>0>=10)){C[((A[o+1|0]<<2)+e|0)-192>>2]=10;i=o+3|0;u=1;b=C[((A[o+1|0]<<3)+d|0)-384>>2];break m}if(u){break h}i=o+1|0;if(!a){C[j+76>>2]=i;u=0;r=0;break l}b=C[c>>2];C[c>>2]=b+4;u=0;b=C[b>>2]}C[j+76>>2]=i;r=b;if((b|0)>=0){break l}r=0-r|0;n=n|8192;break l}r=Au(j+76|0);if((r|0)<0){break d}i=C[j+76>>2]}h=0;l=-1;n:{if(D[i|0]!=46){b=i;w=0;break n}if(D[i+1|0]==42){o:{if(!(D[i+3|0]!=36|A[i+2|0]-48>>>0>=10)){C[((A[i+2|0]<<2)+e|0)-192>>2]=10;b=i+4|0;l=C[((A[i+2|0]<<3)+d|0)-384>>2];break o}if(u){break h}b=i+2|0;l=0;if(!a){break o}i=C[c>>2];C[c>>2]=i+4;l=C[i>>2]}C[j+76>>2]=b;w=(l^-1)>>>31|0;break n}C[j+76>>2]=i+1;l=Au(j+76|0);b=C[j+76>>2];w=1}while(1){t=h;o=28;m=b;h=A[b|0];if(h-123>>>0<4294967238){break c}b=m+1|0;h=D[(h+I(t,58)|0)+376559|0];if(h-1>>>0<8){continue}break}C[j+76>>2]=b;p:{q:{if((h|0)!=27){if(!h){break c}if((q|0)>=0){C[(q<<2)+e>>2]=h;i=(q<<3)+d|0;h=C[i+4>>2];C[j+64>>2]=C[i>>2];C[j+68>>2]=h;break q}if(!a){break f}yu(j- -64|0,h,c,g);break p}if((q|0)>=0){break c}}h=0;if(!a){continue e}}i=n&-65537;n=n&8192?i:n;q=0;v=1739;o=s;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{h=A[m|0];h=t?(h&15)==3?h&-33:h:h;switch(h-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 g;default:break G}}H:{switch(h-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((h|0)==83){break w}break g}i=C[j+64>>2];m=C[j+68>>2];v=1739;break z}h=0;I:{switch(t&255){case 0:C[C[j+64>>2]>>2]=p;continue e;case 1:C[C[j+64>>2]>>2]=p;continue e;case 2:k=C[j+64>>2];C[k>>2]=p;C[k+4>>2]=p>>31;continue e;case 3:B[C[j+64>>2]>>1]=p;continue e;case 4:A[C[j+64>>2]]=p;continue e;case 6:C[C[j+64>>2]>>2]=p;continue e;case 7:break I;default:continue e}}k=C[j+64>>2];C[k>>2]=p;C[k+4>>2]=p>>31;continue e}l=l>>>0<=8?8:l;n=n|8;h=120}k=s;z=h&32;i=C[j+64>>2];m=C[j+68>>2];if(i|m){while(1){k=k-1|0;A[k|0]=z|D[(i&15)+377088|0];E=!m&i>>>0>15|(m|0)!=0;t=m;m=m>>>4|0;i=(t&15)<<28|i>>>4;if(E){continue}break}}if(!(C[j+64>>2]|C[j+68>>2])|!(n&8)){break y}v=(h>>>4|0)+1739|0;q=2;break y}h=s;k=C[j+68>>2];m=k;i=C[j+64>>2];if(k|i){while(1){h=h-1|0;A[h|0]=i&7|48;t=!m&i>>>0>7|(m|0)!=0;k=m;m=k>>>3|0;i=(k&7)<<29|i>>>3;if(t){continue}break}}k=h;if(!(n&8)){break y}h=s-k|0;l=(h|0)<(l|0)?l:h+1|0;break y}i=C[j+64>>2];h=C[j+68>>2];m=h;if((h|0)<0){k=0-(m+((i|0)!=0)|0)|0;m=k;i=0-i|0;C[j+64>>2]=i;C[j+68>>2]=k;q=1;v=1739;break z}if(n&2048){q=1;v=1740;break z}q=n&1;v=q?1741:1739}k=Xj(i,m,s)}if((l|0)<0?w:0){break d}n=w?n&-65537:n;h=C[j+64>>2];i=C[j+68>>2];if(!(l|(h|i)!=0)){k=s;l=0;break g}h=!(h|i)+(s-k|0)|0;l=(h|0)<(l|0)?l:h;break g}h=C[j+64>>2];k=h?h:32785;h=Ju(k,l>>>0>=2147483647?2147483647:l);o=h+k|0;if((l|0)>=0){n=i;l=h;break g}n=i;l=h;if(D[o|0]){break d}break g}if(l){i=C[j+64>>2];break u}h=0;Ig(a,32,r,0,n);break t}C[j+12>>2]=0;C[j+8>>2]=C[j+64>>2];i=j+8|0;C[j+64>>2]=i;l=-1}h=0;J:{while(1){k=C[i>>2];if(!k){break J}m=vu(j+4|0,k);k=(m|0)<0;if(!(k|m>>>0>l-h>>>0)){i=i+4|0;h=h+m|0;if(l>>>0>h>>>0){continue}break J}break}if(k){break b}}o=61;if((h|0)<0){break c}Ig(a,32,r,h,n);if(!h){h=0;break t}o=0;i=C[j+64>>2];while(1){k=C[i>>2];if(!k){break t}k=vu(j+4|0,k);o=k+o|0;if(o>>>0>h>>>0){break t}Bg(a,j+4|0,k);i=i+4|0;if(h>>>0>o>>>0){continue}break}}Ig(a,32,r,h,n^8192);h=(h|0)<(r|0)?r:h;continue e}if((l|0)<0?w:0){break d}o=61;h=Fe[f|0](a,H[j+64>>3],r,l,n,h)|0;if((h|0)>=0){continue e}break c}A[j+55|0]=C[j+64>>2];l=1;k=y;n=i;break g}i=D[h+1|0];h=h+1|0;continue}}if(a){break a}if(!u){break f}h=1;while(1){a=C[(h<<2)+e>>2];if(a){yu((h<<3)+d|0,a,c,g);p=1;h=h+1|0;if((h|0)!=10){continue}break a}break}p=1;if(h>>>0>=10){break a}while(1){if(C[(h<<2)+e>>2]){break h}h=h+1|0;if((h|0)!=10){continue}break}break a}o=28;break c}m=o-k|0;i=(l|0)>(m|0)?l:m;if((i|0)>(q^2147483647)){break d}o=61;l=i+q|0;h=(l|0)<(r|0)?r:l;if((x|0)<(h|0)){break c}Ig(a,32,h,l,n);Bg(a,v,q);Ig(a,48,h,l,n^65536);Ig(a,48,i,m,0);Bg(a,k,m);Ig(a,32,h,l,n^8192);continue}break}p=0;break a}o=61}C[105782]=o}p=-1}Ce=j+80|0;return p}function UL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ce-17824|0;Ce=i;a:{if(!a){a=6;break a}a=20;d=C[b+4>>2];if(!d){break a}e=B[d+2>>1];if(!e){a=0;break a}g=B[d>>1];if((g|0)<=0){a=0;break a}h=C[d+12>>2];if(!h|!C[d+4>>2]|(e|0)!=(B[(h+(g<<1)|0)-2>>1]+1|0)){break a}e=C[b>>2];g=C[b+8>>2];h=g&2;b:{if(!h){if(!e){a=6;break a}j=C[e+4>>2];if(!j){a=0;break a}a=0;k=C[e>>2];if(!k){break a}a=6;if(!C[e+12>>2]){break a}a=19;if(!(g&1)){break a}C[i+17576>>2]=k;C[i+17572>>2]=j;C[i+17564>>2]=0;C[i+17568>>2]=0;break b}a=19;if(!(g&1)){break a}if(g&4){g=C[b+36>>2];a=i+17564|0;C[a>>2]=C[b+32>>2];C[a+4>>2]=g;g=C[b+44>>2];C[a+8>>2]=C[b+40>>2];C[a+12>>2]=g;break b}a=i+17572|0;C[a>>2]=32767;C[a+4>>2]=32767;C[i+17564>>2]=-32768;C[i+17568>>2]=-32768}C[i+17800>>2]=16384;C[i+16584>>2]=0;C[i+16588>>2]=0;C[i+16572>>2]=0;C[i+16576>>2]=0;C[i+17804>>2]=i;C[i+17796>>2]=i;g=C[d+12>>2];a=i+17528|0;C[a>>2]=C[d+8>>2];C[a+4>>2]=g;C[i+17536>>2]=C[d+16>>2];a=C[d+4>>2];C[i+17520>>2]=C[d>>2];C[i+17524>>2]=a;C[i+16592>>2]=0;C[i+16580>>2]=1;C[i+17784>>2]=0;C[i+17788>>2]=128;C[i+17772>>2]=0;c:{if(h){a=C[b+28>>2];b=C[b+12>>2];break c}b=C[e+20>>2];a=i+17556|0;C[a>>2]=C[e+16>>2];C[a+4>>2]=b;b=C[e+12>>2];a=i+17548|0;C[a>>2]=C[e+8>>2];C[a+4>>2]=b;a=C[e+4>>2];C[i+17540>>2]=C[e>>2];C[i+17544>>2]=a;a=i+16384|0;b=1097}C[i+17780>>2]=a;C[i+17776>>2]=b;b=0;a=0;d=0;f=Ce-352|0;Ce=f;c=i+16384|0;e=B[c+1138>>1];d:{if((e|0)<=0){C[c+164>>2]=0;C[c+168>>2]=0;C[c+172>>2]=0;C[c+176>>2]=0;e=0;break d}g=C[c+1140>>2];a=C[g+4>>2];h=C[g>>2];e:{if((e|0)==1){b=a;e=h;break e}k=(e<<3)+g|0;d=g+8|0;b=a;e=h;while(1){j=C[g+12>>2];a=(a|0)<(j|0)?j:a;b=(b|0)>(j|0)?j:b;g=C[g+8>>2];h=(g|0)>(h|0)?g:h;e=(e|0)>(g|0)?g:e;g=d;d=d+8|0;if(k>>>0>d>>>0){continue}break}}b=b>>6;C[c+172>>2]=b;e=e>>6;C[c+164>>2]=e;a=a+63>>6;C[c+176>>2]=a;d=h+63>>6;C[c+168>>2]=d}g=0;h=C[c+1180>>2];f:{if((h|0)>=(d|0)){break f}j=C[c+1188>>2];if((j|0)<=(e|0)){break f}k=C[c+1184>>2];if((k|0)>=(a|0)){break f}l=C[c+1192>>2];if((l|0)<=(b|0)){break f}if((e|0)<(h|0)){C[c+164>>2]=h;e=h}if((b|0)<(k|0)){C[c+172>>2]=k;b=k}if((d|0)>(j|0)){C[c+168>>2]=j;d=j}if((a|0)>(l|0)){C[c+176>>2]=l;a=l}h=a-b|0;C[c+184>>2]=h;C[c+180>>2]=d-e;C[f+20>>2]=(h|0)/C[c+1404>>2];if(!C[f+20>>2]){C[f+20>>2]=1}if(C[f+20>>2]>=39){C[f+20>>2]=39}C[c+1408>>2]=0;C[f+16>>2]=b;C[f+8>>2]=a;C[f+24>>2]=0;if(C[f+24>>2]>=C[f+20>>2]){break f}k=c+1196|0;while(1){C[f+12>>2]=C[f+16>>2]+C[c+1404>>2];if(!(C[f+24>>2]!=(C[f+20>>2]-1|0)&C[f+12>>2]<=C[f+8>>2])){C[f+12>>2]=C[f+8>>2]}C[f+32>>2]=C[f+16>>2];C[f+36>>2]=C[f+12>>2];a=f+32|0;C[f+28>>2]=a;if(a>>>0<=F[f+28>>2]){while(1){a=C[c+1412>>2];C[c+1420>>2]=a;b=C[f+28>>2];e=C[b+4>>2];g=C[b>>2];b=e-g|0;C[c+1424>>2]=b;d=b<<2;h=(d|0)%16|0;d=((h|0)>0?16-h|0:0)+d|0;h=d+a|0;C[c+200>>2]=h;g:{h:{j=d;d=C[c+1416>>2];d=d-((d|0)%16|0)|0;if((j|0)>=(d|0)){break h}a=(a+d|0)-h|0;C[c+204>>2]=a>>4;if((a|0)<32){break h}i:{if((b|0)<=0){break i}a=0;d=0;if(e+(g^-1)>>>0>=3){g=b&-4;h=0;while(1){e=d<<2;C[e+C[c+1420>>2]>>2]=0;C[C[c+1420>>2]+(e|4)>>2]=0;C[C[c+1420>>2]+(e|8)>>2]=0;C[C[c+1420>>2]+(e|12)>>2]=0;d=d+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}b=b&3;if(!b){break i}while(1){C[C[c+1420>>2]+(d<<2)>>2]=0;d=d+1|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}}g=1;C[c+196>>2]=1;C[c+208>>2]=0;C[c+172>>2]=C[C[f+28>>2]>>2];C[c+176>>2]=C[C[f+28>>2]+4>>2];C[c+184>>2]=C[C[f+28>>2]+4>>2]-C[C[f+28>>2]>>2];b=Ce-16|0;Ce=b;a=kf(40);C[a>>2]=0;C[b+12>>2]=0;d=Uj(c,1,a,4);j=De;l=c+1136|0;a=0;while(1){j:{k:{l:{if(!a){C[108238]=0;m=Y(1098,l|0,284604,c|0)|0;a=C[108238];C[108238]=0;e=-1;m:{n:{if(!a){break n}h=C[108239];if(!h){break n}e=Mf(C[a>>2],d,j);if(!e){break m}De=h}a=De;if((e|0)==1){continue}C[b+12>>2]=m;if(C[c+196>>2]){break j}C[108238]=0;T(1099,c|0);a=C[108238];C[108238]=0;e=-1;if(!a){break k}h=C[108239];if(!h){break k}e=Mf(C[a>>2],d,j);if(e){break l}}Re(d);Ii(a,h);s()}C[b+12>>2]=64;break j}De=h}a=De;if((e|0)==1){continue}}break}a=C[b+12>>2];Re(d);Ce=b+16|0;if((a|0)==64){break h}if(a){break f}o:{if(!C[c+208>>2]){break o}b=0;C[c+1388>>2]=0;if(C[c+1424>>2]>0){while(1){a=0;g=0;d=C[C[c+1420>>2]+(b<<2)>>2];p:{if(!d){break p}while(1){e=C[d>>2];if(!(!g|(e|0)<=(a|0))){Cp(c,a,b,g<<9,e-a|0)}g=C[d+4>>2]+g|0;e=g<<9;a=C[d+8>>2];q:{if((e|0)==(a|0)){break q}h=C[d>>2];if((h|0)<0){break q}Cp(c,h,b,e-a|0,1)}a=C[d>>2]+1|0;d=C[d+12>>2];if(d){continue}break}if(!g){break p}Cp(c,a,b,e,C[c+180>>2]-a|0)}b=b+1|0;if((b|0)>2]){continue}break}}a=C[c+1392>>2];if(!a){break o}b=C[c+1388>>2];if((b|0)<=0){break o}Fe[a|0](C[c+1400>>2],b,k,C[c+1396>>2])}C[f+28>>2]=C[f+28>>2]-8;break g}g=1;a=C[f+28>>2];b=C[a+4>>2];a=C[a>>2];e=b-a|0;if(e>>>0<2){break f}if(C[c+1404>>2]<=(a-b|0)){C[c+1408>>2]=C[c+1408>>2]+1}C[C[f+28>>2]+8>>2]=a;a=a+(e>>1)|0;C[C[f+28>>2]+12>>2]=a;C[C[f+28>>2]>>2]=a;C[C[f+28>>2]+4>>2]=b;C[f+28>>2]=C[f+28>>2]+8}if(F[f+28>>2]>=f+32>>>0){continue}break}}C[f+24>>2]=C[f+24>>2]+1;C[f+16>>2]=C[f+12>>2];if(C[f+24>>2]>2]){continue}break}g=0;if(C[c+1408>>2]<9){break f}a=C[c+1404>>2];if((a|0)<17){break f}C[c+1404>>2]=a>>>1}Ce=f+352|0;a=g}Ce=i+17824|0;return a|0}function cE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=J(0),m=0,n=0;a=Ce+-64|0;Ce=a;a:{b:{switch(C[b>>2]-1536|0){case 6:c=C[104873];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)==C[C[c>>2]>>2]){d=0;while(1){i=0;c:{if(!(!c|C[c+12>>2]<=0)){while(1){d:{f=C[c+16>>2];e=f+(i<<5)|0;if(C[e+16>>2]!=1|C[e+20>>2]!=(d|0)){break d}e:{switch(C[e>>2]-1|0){case 1:f=Ur(C[c>>2],C[e+4>>2]);g=C[e+12>>2];e=C[e+8>>2];if((g|0)>(e|0)){if((f|0)<(e|0)|(f|0)>(g|0)){break d}e=(f|0)>=(e+((g-e|0)/2|0)|0);break c}if((f|0)<(g|0)|(f|0)>(e|0)){break d}e=(f|0)<=(e+((g-e|0)/2|0)|0);break c;case 0:e=Sr(C[c>>2],C[(f+(i<<5)|0)+4>>2]);break c;case 2:break e;default:break d}}f=f+(i<<5)|0;e=(Tr(C[c>>2],C[f+4>>2])&C[f+8>>2])!=0;break c}i=i+1|0;if((i|0)>2]){continue}break}}e=0}f:{if(!e){break f}C[a+8>>2]=1618;if((d|0)==5){e=Ph();f=C[c>>2];if(((C[c+28>>2]-e|0)+250|0)>0){C[f+120>>2]=1;break f}C[f+120>>2]=0}if((qf(1618,-1)|0)!=1){break f}f=C[C[c>>2]>>2];A[a+21|0]=0;A[a+20|0]=d;C[a+16>>2]=f;Df(a+8|0)}d=d+1|0;if((d|0)!=21){continue}break}g:{if(!Jj(c,0)){break g}if((qf(1616,-1)|0)!=1){break g}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=0;C[a+16>>2]=d;Df(a+8|0)}h:{if(!Jj(c,1)){break h}if((qf(1616,-1)|0)!=1){break h}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=1;C[a+16>>2]=d;Df(a+8|0)}i:{if(!Jj(c,2)){break i}if((qf(1616,-1)|0)!=1){break i}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=2;C[a+16>>2]=d;Df(a+8|0)}j:{if(!Jj(c,3)){break j}if((qf(1616,-1)|0)!=1){break j}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=3;C[a+16>>2]=d;Df(a+8|0)}k:{if(!Jj(c,4)){break k}if((qf(1616,-1)|0)!=1){break k}C[a+8>>2]=1616;d=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=4;C[a+16>>2]=d;Df(a+8|0)}l:{if(!Jj(c,5)){break l}if((qf(1616,-1)|0)!=1){break l}C[a+8>>2]=1616;c=C[C[c>>2]>>2];B[a+24>>1]=0;A[a+20|0]=5;C[a+16>>2]=c;Df(a+8|0)}C[a+8>>2]=1620;C[a+16>>2]=C[b+8>>2];Df(a+8|0);b=Ce;g=b;c=Kj(0,0,1,1619,1619);m:{if((c|0)<=0){break m}f=I(c,56);n:{if(f>>>0<=127){b=b-(f+15&-16)|0;Ce=b;break n}b=Fe[C[94762]](f>>>0<=1?1:f)|0;if(b){C[94766]=C[94766]+1}if(!b){break m}}d=Kj(b,c,2,1619,1619);if((d|0)>0){c=0;while(1){e=I(c,56)+b|0;i=C[e+8>>2];o:{if((i|0)<(h|0)){break o}if((h|0)==(i|0)){i=e;e=c+1|0;Qh(i,I(e,56)+b|0,I(d-e|0,56));d=d-1|0;c=c-1|0;break o}C[e+8>>2]=i-1}c=c+1|0;if((d|0)>(c|0)){continue}break}}Kj(b,d,0,0,0);if(f>>>0<128){break m}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}Ce=g;break a}h=h+1|0;c=C[c+32>>2];if(c){continue}break};break a;case 5:if(!xn(C[b+8>>2])){break a}C[a+8>>2]=1619;C[a+16>>2]=C[b+8>>2];Df(a+8|0);break a;case 3:case 4:c=C[104873];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)==C[C[c>>2]>>2]){e=C[c+12>>2];if((e|0)<=0){break a}f=D[b+13|0];h=D[b+12|0];b=C[c+16>>2];d=0;while(1){i=b+(d<<5)|0;if(!(C[i>>2]!=1|(h|0)!=C[i+4>>2])){b=b+(d<<5)|0;if(C[b+16>>2]==2){d=C[(b+20|0)+(f?8:4)>>2];b=C[b+20>>2];if((qf(1616,-1)|0)!=1){break a}C[a+8>>2]=1616;c=C[C[c>>2]>>2];B[a+24>>1]=d;A[a+20|0]=b;C[a+16>>2]=c;Df(a+8|0);break a}_r(c,C[b+20>>2],f);break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}c=C[c+32>>2];if(c){continue}break};break a;case 0:c=C[104873];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)==C[C[c>>2]>>2]){i=D[b+12|0];e=C[C[c+20>>2]+(i<<2)>>2];f=B[b+16>>1];k=C[c+12>>2];p:{if((k|0)>0){h=C[c+16>>2];d=0;while(1){g=d<<5;b=g+h|0;q:{if(C[b>>2]!=2){break q}g=h+g|0;if((i|0)!=C[g+4>>2]){break q}j=C[g+8>>2];g=C[g+12>>2];if((j|0)<(g|0)){if((f|0)<(j|0)|(f|0)>(g|0)){break q}break p}if((f|0)<(g|0)){break q}if((f|0)<=(j|0)){break p}}d=d+1|0;if((k|0)!=(d|0)){continue}break}}b=0}r:{s:{if(e){t:{if(!b){break t}h=C[e+16>>2];if((h|0)!=C[b+16>>2]){break t}if(C[e+20>>2]==C[b+20>>2]){break s}}Zr(c,e)}if(!b){break r}h=C[b+16>>2]}d=C[b+8>>2];if((h|0)==2){e=C[b+24>>2];h=C[b+28>>2];g=C[b+12>>2];if(!((e|0)==(d|0)&(h|0)==(g|0))){l=J(J(J(f-d|0)/J(g-d|0))*J(h-e|0));u:{if(J(K(l))>2];if((qf(1616,-1)|0)!=1){break r}C[a+8>>2]=1616;e=C[C[c>>2]>>2];B[a+24>>1]=f;A[a+20|0]=d;C[a+16>>2]=e;Df(a+8|0);break r}e=C[b+12>>2];h=d+((e-d|0)/2|0)|0;_r(c,C[b+20>>2],(d|0)>(e|0)?(h|0)>=(f|0):(f|0)>=(h|0))}C[C[c+20>>2]+(i<<2)>>2]=b;break a}c=C[c+32>>2];if(c){continue}break};break a;case 2:break b;default:break a}}c=C[104873];if(!c){break a}d=C[b+8>>2];while(1){if((d|0)!=C[C[c>>2]>>2]){c=C[c+32>>2];if(c){continue}break a}break}e=D[b+13|0];h=D[b+12|0];if(C[c+12>>2]>0){i=e^D[h+C[c+24>>2]|0];d=0;while(1){b=C[c+16>>2]+(d<<5)|0;v:{if(C[b>>2]!=3|(h|0)!=C[b+4>>2]){break v}f=C[b+8>>2];if(!(f&i)){break v}if(f&e){f=C[b+20>>2];if(C[b+16>>2]==2){b=C[b+28>>2];if((qf(1616,-1)|0)!=1){break v}C[a+8>>2]=1616;g=C[C[c>>2]>>2];B[a+24>>1]=b;A[a+20|0]=f;C[a+16>>2]=g;Df(a+8|0);break v}if((f|0)==-1){break v}C[a+8>>2]=1617;if((f|0)==5){m=c,n=Ph(),C[m+28>>2]=n;if(C[C[c>>2]+120>>2]){break v}}if((qf(1617,-1)|0)!=1){break v}b=C[C[c>>2]>>2];A[a+21|0]=1;A[a+20|0]=f;C[a+16>>2]=b;Df(a+8|0);break v}Zr(c,b)}d=d+1|0;if((d|0)>2]){continue}break}}A[h+C[c+24>>2]|0]=e}Ce=a- -64|0;return 1}function nn(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;c=Ce-48|0;Ce=c;C[c+8>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;A[c+24|0]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;d=C[b+32>>2];if((d|0)==-1){d=Ng(b)}A[c+40|0]=1;C[c+36>>2]=d;d=C[b+12>>2];a:{if(d){b=Fe[d|0](b,1668112752,C[b+16>>2])|0;if(b){break a}}b=84608}f=Ce-16|0;Ce=f;d=b;b:{if(!b){break b}e=C[b>>2];if(!e){break b}C[b>>2]=e+1}A[c+24|0]=0;e=b;C[c+32>>2]=b;h=C[b+12>>2];C[c+4>>2]=h;g=C[b+16>>2];C[c+8>>2]=g+h;C[c+28>>2]=0;if(g>>>0>67108862){b=1073741823}else{b=g<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}C[c+12>>2]=b;C[c+20>>2]=0;C[c>>2]=0;c:{d:{if(!h){break d}e:{f:{g:{h:{if((g|0)<4){break h}C[c+12>>2]=b-4;if(D[h|0]|D[h+1|0]<<8){break h}C[f+8>>2]=h;i:{if(Aq(h+2|0,c,f+8|0)){break i}if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(!b){break h}while(1){A[c+24|0]=1;e=C[c+32>>2];h=C[e+12>>2];C[c+4>>2]=h;b=C[e+16>>2];C[c+8>>2]=b+h;g=1073741823;C[c+28>>2]=0;if(b>>>0<=67108862){g=b<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[c+12>>2]=g;C[c+20>>2]=0;C[c>>2]=0;if(!h){break d}if((b|0)<=3){break h}C[c+12>>2]=g-4;if(D[h|0]|D[h+1|0]<<8){break h}C[f+8>>2]=h;if(Aq(h+2|0,c,f+8|0)){break i}if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(b){continue}break}break h}if(!C[c+28>>2]){break g}C[c+28>>2]=0;if(F[c+4>>2]>h>>>0){break h}b=C[c+8>>2];if(b>>>0>>0|b-h>>>0<=3){break h}b=C[c+12>>2]-4|0;C[c+12>>2]=b;if(D[h|0]|D[h+1|0]<<8|(b|0)<=0){break h}C[f+12>>2]=h;b=Aq(h+2|0,c,f+12|0);if(C[c+28>>2]){break h}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if(b){break f}break e}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break e}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);d=84608;break c}Ue(e);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}Ce=f+16|0;C[a+44>>2]=d;h=84608;b=d?d:84608;g=F[b+16>>2]<4?84608:C[b+12>>2];if(c){A[c|0]=0}k=g+4|0;e=84608;f=D[g+2|0]|D[g+3|0]<<8;j:{if(!f){break j}b=((f<<8|f>>>8)&65535)-1|0;while(1){k:{l:{d=b+i>>>1|0;j=k+(d<<3)|0;l=D[j|0]|D[j+1|0]<<8;m=(l<<8|l>>>8)&65535;m:{if(!(m>>>0>3|(l|0)!=768)){if(D[j+2|0]|D[j+3|0]<<8){break m}e=k+(d<<3)|0;break j}if(m>>>0<4){break l}}b=d-1|0;break k}i=d+1|0}if((b|0)>=(i|0)){continue}break}}b=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);n:{if(b){b=b+g|0;if(!c){break n}A[c|0]=1;break n}d=84608;o:{if(!f){break o}e=((f<<8|f>>>8)&65535)-1|0;i=0;while(1){p:{q:{r:{b=e+i>>>1|0;j=k+(b<<3)|0;l=D[j|0]|D[j+1|0]<<8;m=(l<<8|l>>>8)&65535;s:{if(!(m>>>0>3|(l|0)!=768)){j=D[j+2|0]|D[j+3|0]<<8;if(((j<<8|j>>>8)&65535)>>>0>10){break s}if((j|0)==2560){break r}break q}if(m>>>0<4){break q}}e=b-1|0;break p}d=k+(b<<3)|0;break o}i=b+1|0}if((e|0)>=(i|0)){continue}break}}t:{b=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(d){break t}d=84608;u:{if(!f){break u}b=((f<<8|f>>>8)&65535)-1|0;e=0;while(1){v:{w:{x:{i=b+e>>>1|0;j=k+(i<<3)|0;if(!(D[j|0]|D[j+1|0]<<8)){j=D[j+2|0]|D[j+3|0]<<8;if(((j<<8|j>>>8)&65535)>>>0<7){break x}}b=i-1|0;break w}if((j|0)==1536){break v}e=i+1|0}if((b|0)>=(e|0)){continue}break u}break}d=k+(i<<3)|0}b=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(d){break t}d=84608;y:{if(!f){break y}b=((f<<8|f>>>8)&65535)-1|0;e=0;while(1){z:{A:{B:{f=b+e>>>1|0;i=k+(f<<3)|0;if(!(D[i|0]|D[i+1|0]<<8)){i=D[i+2|0]|D[i+3|0]<<8;if(((i<<8|i>>>8)&65535)>>>0<5){break B}}b=f-1|0;break A}if((i|0)==1024){break z}e=f+1|0}if((b|0)>=(e|0)){continue}break y}break}d=k+(f<<3)|0}b=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(d){break t}b=nl(g,3,1);if(b){break n}b=nl(g,0,3);if(b){break n}b=nl(g,0,2);if(b){break n}b=nl(g,0,1);if(b){break n}b=nl(g,0,0);b=b?b:84608;break n}b=d+g|0}C[a+4>>2]=84608;e=b;C[a>>2]=b;b=C[a+44>>2];b=b?b:84608;f=F[b+16>>2]<4?84608:C[b+12>>2];b=D[f+2|0]|D[f+3|0]<<8;C:{if(!b){break C}i=f+4|0;b=((b<<8|b>>>8)&65535)-1|0;d=0;while(1){D:{E:{F:{g=b+d>>>1|0;k=i+(g<<3)|0;if(!(D[k|0]|D[k+1|0]<<8)){k=D[k+2|0]|D[k+3|0]<<8;if(((k<<8|k>>>8)&65535)>>>0<6){break F}}b=g-1|0;break E}if((k|0)==1280){break D}d=g+1|0}if((b|0)>=(d|0)){continue}break C}break}h=i+(g<<3)|0}b=h;b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);G:{if(!b){break G}b=b+f|0;if((D[b|0]|D[b+1|0]<<8)!=3584){break G}C[a+4>>2]=b}b=e?e:84608;C[a+12>>2]=b;H:{if(D[c|0]){d=89;break H}d=90;I:{J:{e=D[b|0]|D[b+1|0]<<8;switch(((e<<8|e>>>8)&65535)-4|0){case 0:break I;case 8:break J;default:break H}}d=91;break H}d=D[b+6|0]|D[b+7|0]<<8;e=b+14|0;C[a+16>>2]=e;d=(d<<8|d>>>8)&65534;h=d>>>1|0;C[a+36>>2]=h;e=(d+e|0)+2|0;C[a+20>>2]=e;e=d+e|0;C[a+24>>2]=e;e=d+e|0;C[a+28>>2]=e;C[a+32>>2]=d+e;b=D[b+2|0]|D[b+3|0]<<8;C[a+12>>2]=a+16;C[a+40>>2]=(((b<<8|b>>>8)&65535)-(h<<3)|0)-16>>>1;d=92}C[a+8>>2]=d;Ce=c+48|0} +function Aj(a,b,c,d,e){var 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,B=0,E=0;h=Ce+-64|0;Ce=h;a:{if(!(c?a:0)){C[h>>2]=3321;d=Qe(19745,h);break a}if(C[a+28>>2]|C[c+28>>2]){d=Qe(4278,0);break a}f=d?d:c;g=C[f+12>>2];l=b?b:a;k=C[l+12>>2];f=C[f+8>>2];l=C[l+8>>2];if(!((f|0)!=(l|0)|(g|0)!=(k|0))){d=di(a,b,c,d);break a}j=+(k|0);v=+(l|0);i=+(f|0);m=i;q=+(g|0);p=q;if(d){n=+C[d+4>>2];p=q+n;o=+C[d>>2];m=i+o}q=q/j;w=i/v;b:{if(!b){break b}g=C[b+4>>2];t=+(g|0);n=(g|0)<0?n-t*q:n;i=+C[a+8>>2];b=C[b>>2];u=+(b|0);r=v+u;k=i0?g:0)|0);u=+(((b|0)>0?b:0)|0);i=j+t;j=+C[a+12>>2];if(!(i>j)){j=i;break b}p=p-(i-j)*q}x=+C[c+36>>2];i=m-x;t=+C[c+40>>2];m=0;o=o-x;c:{if(!(o<0)){m=o;break c}u=u-o/w}n=n-t;o=+C[c+44>>2];d:{if(!(i>o)){o=i;break d}v=v-(i-o)/w}i=p-t;p=0;e:{if(!(n<0)){p=n;break e}r=r-n/q}n=+C[c+48>>2];f:{if(!(i>n)){n=i;break f}j=j-(i-n)/q}i=$i(u);g:{if(K(i)<2147483648){b=~~i;break g}b=-2147483648}C[h+48>>2]=b;i=$i(r);h:{if(K(i)<2147483648){b=~~i;break h}b=-2147483648}C[h+52>>2]=b;i=$i(v-u);i:{if(K(i)<2147483648){b=~~i;break i}b=-2147483648}C[h+56>>2]=b;j=$i(j-r);j:{if(K(j)<2147483648){b=~~j;break j}b=-2147483648}C[h+60>>2]=b;j=m+x;m=$i(j);k:{if(K(m)<2147483648){b=~~m;break k}b=-2147483648}C[h+32>>2]=b;m=p+t;p=$i(m);l:{if(K(p)<2147483648){b=~~p;break l}b=-2147483648}C[h+36>>2]=b;g=c+36|0;j=$i(o+x-j);m:{if(K(j)<2147483648){b=~~j;break m}b=-2147483648}C[h+40>>2]=b;j=$i(n+t-m);n:{if(K(j)<2147483648){b=~~j;break n}b=-2147483648}C[h+44>>2]=b;C[h+16>>2]=0;C[h+20>>2]=0;C[h+24>>2]=C[a+8>>2];C[h+28>>2]=C[a+12>>2];b=h+48|0;yg(h+16|0,b,b);b=h+32|0;yg(g,b,b);if(d){b=C[h+36>>2];C[d>>2]=C[h+32>>2];C[d+4>>2]=b;b=C[h+44>>2];C[d+8>>2]=C[h+40>>2];C[d+12>>2]=b}d=0;if(!C[h+40>>2]|!C[h+44>>2]|(C[h+56>>2]<=0|C[h+60>>2]<=0)){break a}k=h+32|0;g=Ce-32|0;Ce=g;o:{p:{d=h+48|0;if(!(C[d+8>>2]>65535|C[d+12>>2]>65535|C[k+8>>2]>65535)){if(C[k+12>>2]<65536){break p}}d=Qe(15335,0);break o}b=C[a+52>>2];f=C[b+68>>2];if(!(f&512)){C[b+68>>2]=f|512;ag(b)}b=C[a+52>>2];f=C[b+68>>2];B=f&499;if(!e){q:{if(B){break q}e=C[C[a+4>>2]>>2];if((e|0)!=C[C[c+4>>2]>>2]|!((e&-268435456)!=268435456?e:0)&(e>>>24&15)-1>>>0<3){break q}d=Bz(a,d,c,k);break o}r:{s:{if(C[b>>2]!=(c|0)){break s}e=C[C[c+4>>2]+4>>2];if(C[b+80>>2]!=C[e+8>>2]?e:0){break s}e=C[C[a+4>>2]+4>>2];if(!e|C[b+84>>2]==C[e+8>>2]){break r}}if((Dj(a,c)|0)<0){d=-1;break o}b=C[a+52>>2]}d=Fe[C[b+8>>2]](a,d,c,k)|0;break o}t:{if(B){break t}l=C[a+4>>2];e=C[l>>2];if((e|0)!=C[C[c+4>>2]>>2]|!((e&-268435456)!=268435456?e:0)&(e>>>24&15)-1>>>0<3|((e|0)==372711428|D[l+9|0]!=4)){break t}d=yq(a,d,c,k);break o}e=(f&240)-16|0;if(e>>>0<=127){E=C[(e>>>2|0)+195492>>2]}f=D[b+79|0];l=D[b+78|0];y=D[b+77|0];z=D[b+76|0];C[g+16>>2]=C[d>>2];C[g+20>>2]=C[d+4>>2];C[g+24>>2]=C[d+8>>2];C[g+28>>2]=C[d+12>>2];e=C[a+4>>2];u:{if(D[e+9|0]==4){b=0;if(C[e>>2]!=372711428){break u}}C[g>>2]=0;C[g+4>>2]=0;b=C[a+8>>2];C[g+8>>2]=b;s=C[a+12>>2];C[g+12>>2]=s;e=C[c+4>>2];v:{if(D[e+9|0]==4){e=C[e>>2];if((e|0)!=372711428){break v}}e=372645892}b=ei(b,s,e);e=C[a+52>>2];w:{x:{y:{if((b|0)!=C[e>>2]){break y}s=C[C[b+4>>2]+4>>2];if(C[e+80>>2]!=C[s+8>>2]?s:0){break y}s=C[C[a+4>>2]+4>>2];if(!s|C[e+84>>2]==C[s+8>>2]){break x}}if((Dj(a,b)|0)<0){break w}e=C[a+52>>2]}Fe[C[e+8>>2]](a,d,b,g)|0}C[g+16>>2]=0;C[g+20>>2]=0;z:{if(!b){break z}d=C[b+52>>2];A[d+78|0]=l;A[d+77|0]=y;A[d+76|0]=z;a=C[d+68>>2];e=a&-2|(l&(y&z))!=255;C[d+68>>2]=e;if((a|0)!=(e|0)){ag(d);d=C[b+52>>2];a=C[d+68>>2]}A[d+79|0]=f;e=a&-3|((f|0)!=255)<<1;C[d+68>>2]=e;if((a|0)!=(e|0)){ag(d);d=C[b+52>>2];a=C[d+68>>2]}e=a&-241;C[d+68>>2]=e;A:{B:{switch(E|0){case 1:e=e|16;C[d+68>>2]=e;break A;case 2:e=e|32;C[d+68>>2]=e;break A;case 4:e=e|64;C[d+68>>2]=e;break A;case 8:e=e|128;C[d+68>>2]=e;break A;case 0:break A;default:break B}}_e(4);d=C[b+52>>2];e=C[d+68>>2]}if((a|0)==(e|0)){break z}ag(d)}a=b}d=C[C[a+4>>2]>>2];C:{if(!(!B&(d|0)==C[C[c+4>>2]>>2])){e=ei(C[k+8>>2],C[k+12>>2],d);yq(a,g+16|0,e,0);D:{if(!e){break D}d=C[e+52>>2];A[d+78|0]=l;A[d+77|0]=y;A[d+76|0]=z;a=C[d+68>>2];l=a&-2|(l&(y&z))!=255;C[d+68>>2]=l;if((a|0)!=(l|0)){ag(d);d=C[e+52>>2];a=C[d+68>>2]}A[d+79|0]=f;f=a&-3|((f|0)!=255)<<1;C[d+68>>2]=f;if((a|0)!=(f|0)){ag(d);d=C[e+52>>2];a=C[d+68>>2]}f=a&-241;C[d+68>>2]=f;E:{F:{switch(E|0){case 1:f=f|16;C[d+68>>2]=f;break E;case 2:f=f|32;C[d+68>>2]=f;break E;case 4:f=f|64;C[d+68>>2]=f;break E;case 8:f=f|128;C[d+68>>2]=f;break E;case 0:break E;default:break F}}_e(4);d=C[e+52>>2];f=C[d+68>>2]}if((a|0)==(f|0)){break D}ag(d)}C[g>>2]=0;C[g+4>>2]=0;C[g+8>>2]=C[k+8>>2];C[g+12>>2]=C[k+12>>2];d=C[e+52>>2];G:{H:{if(C[d>>2]!=(c|0)){break H}a=C[C[c+4>>2]+4>>2];if(C[d+80>>2]!=C[a+8>>2]?a:0){break H}a=C[C[e+4>>2]+4>>2];if(!a|C[d+84>>2]==C[a+8>>2]){break G}}if((Dj(e,c)|0)<0){d=-1;Nf(e);break C}d=C[e+52>>2]}d=Fe[C[d+8>>2]](e,g,c,k)|0;Nf(e);break C}d=yq(a,g+16|0,c,k)}Nf(b)}Ce=g+32|0}Ce=h- -64|0;return d}function ct(a,b,c){var d=0,e=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}f:{g:{h:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break h}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break f}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,172);break c}i:{j:{k:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break k}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break i}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,173)}return;case 1:l:{m:{n:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break l}}o:{p:{q:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break q}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break o}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,174);break l}r:{s:{t:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break t}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break r}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,175)}return;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}u:{v:{w:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break v}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break w}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break u}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,168);return;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}x:{y:{z:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break y}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break z}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break x}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,169);return;case 4:if((D[a|0]|D[a+1|0]<<8)!=256){break a}A:{B:{C:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break B}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break C}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break A}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,170);return;case 5:if((D[a|0]|D[a+1|0]<<8)!=256){break a}D:{E:{F:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break E}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break F}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break D}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,171);return;case 6:kt(a,b);return;case 7:jt(a,b);return;case 8:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;ct(c,b,(a<<8|a>>>8)&65535)}}}function TC(a){a=a|0;var 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;n=C[a+28>>2];if(n){j=D[a+63|0];k=C[a+48>>2];q=C[a+36>>2];r=C[a+16>>2];h=C[a+24>>2];s=h&3;t=(h+3|0)/4|0;f=C[a>>2];h=C[a+20>>2];o=C[a+44>>2];b=C[a+40>>2];m=D[b+9|0];p=m-1|0;while(1){n=n-1|0;a=t;a:{b:{switch(s-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(p|0){case 0:e=D[f|0];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break f;case 1:e=E[f>>1];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break f;case 2:c=(D[b+34|0]>>>3|0)+f|0;g=(D[b+32|0]>>>3|0)+f|0;d=(D[b+33|0]>>>3|0)+f|0;break f;case 3:break g;default:break e}}e=C[f>>2];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0}e=D[c|0];c=D[g|0];d=D[d|0]}l=d&255;d=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[d+1|0];i=c;c=D[d|0];i=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(i-c|0,j)|0)/255|0)+c&-32;c=D[d+2|0];c=i|(((I((e&255)-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=1;continue;case 1:c=0;d=0;e=0;h:{i:{j:{switch(p|0){case 0:e=D[f|0];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break i;case 1:e=E[f>>1];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break i;case 2:c=(D[b+34|0]>>>3|0)+f|0;g=(D[b+32|0]>>>3|0)+f|0;d=(D[b+33|0]>>>3|0)+f|0;break i;case 3:break j;default:break h}}e=C[f>>2];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0}e=D[c|0];c=D[g|0];d=D[d|0]}l=d&255;d=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[d+1|0];i=c;c=D[d|0];i=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(i-c|0,j)|0)/255|0)+c&-32;c=D[d+2|0];c=i|(((I((e&255)-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=2;continue;case 2:c=0;d=0;e=0;k:{l:{m:{switch(p|0){case 0:e=D[f|0];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break l;case 1:e=E[f>>1];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0;break l;case 2:c=(D[b+34|0]>>>3|0)+f|0;g=(D[b+32|0]>>>3|0)+f|0;d=(D[b+33|0]>>>3|0)+f|0;break l;case 3:break m;default:break k}}e=C[f>>2];c=C[(D[b+30|0]<<2)+382144>>2]+((e&C[b+20>>2])>>>D[b+34|0]|0)|0;g=C[(D[b+28|0]<<2)+382144>>2]+((e&C[b+12>>2])>>>D[b+32|0]|0)|0;d=C[(D[b+29|0]<<2)+382144>>2]+((e&C[b+16>>2])>>>D[b+33|0]|0)|0}e=D[c|0];c=D[g|0];d=D[d|0]}l=d&255;d=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[d+1|0];i=c;c=D[d|0];i=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(i-c|0,j)|0)/255|0)+c&-32;c=D[d+2|0];c=i|(((I((e&255)-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+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(p|0){case 0:d=D[f|0];c=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;break o;case 1:d=E[f>>1];c=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0;break o;case 2:c=(D[b+34|0]>>>3|0)+f|0;e=(D[b+33|0]>>>3|0)+f|0;d=(D[b+32|0]>>>3|0)+f|0;break o;case 3:break p;default:break n}}d=C[f>>2];c=C[(D[b+30|0]<<2)+382144>>2]+((d&C[b+20>>2])>>>D[b+34|0]|0)|0;e=C[(D[b+29|0]<<2)+382144>>2]+((d&C[b+16>>2])>>>D[b+33|0]|0)|0;d=C[(D[b+28|0]<<2)+382144>>2]+((d&C[b+12>>2])>>>D[b+32|0]|0)|0}c=D[c|0];d=D[d|0];e=D[e|0]}l=e&255;e=C[C[o+4>>2]+4>>2]+(D[h|0]<<2)|0;g=D[e+1|0];u=d&255;d=D[e|0];i=c;c=D[e+2|0];c=((I(l-g|0,j)|0)/255|0)+g>>>3&28|((I(u-d|0,j)|0)/255|0)+d&-32|(((I(i-c|0,j)|0)/255|0)+c&192)>>>6;if(k){c=D[(c&255)+k|0]}A[h|0]=c;f=f+m|0;h=h+1|0;c=0;continue}break}h=h+q|0;f=f+r|0;if(n){continue}break}}}function ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=b<<1;o=f+a|0;if(b>>>0>=10){while(1){g=a+2|0;j=(b&-2)+a|0;h=(io(g,j,c)|0)>0;b=h?g:j;f=f-2|0;l=f+a|0;e=l-2|0;if((io(b,e,c)|0)>0){b=h?j:g;b=(io(b,e,c)|0)>0?b:e}if((b|0)!=(l|0)){g=D[b|0];A[b|0]=D[l|0];A[l|0]=g;g=D[b+1|0];A[b+1|0]=D[l+1|0];A[l+1|0]=g}j=l;h=j;g=a;b=g;a:{if((f|0)<=0){e=0;break a}while(1){b:{if(b>>>0>=h>>>0){break b}while(1){c:{k=E[b>>1];d=E[l>>1];d:{e:{f:{g:{h:{f=C[c+4>>2];if((f|0)!=131072){if((f|0)!=65536){break e}f=0;i=0;e=0;if(d>>>0<=257){e=d<<2;d=C[e+44256>>2];i=d+42400|0;e=C[e+44260>>2]+(d^-1)|0}if(k>>>0<=257){break h}d=0;break f}f=0;i=0;m=C[c+8>>2];n=D[m|0]|D[m+1|0]<<8;n=(n<<8|n>>>8)&65535;e=0;i:{if(n>>>0<=d>>>0){break i}e=m+(d<<1)|0;e=D[e+2|0]|D[e+3|0]<<8;d=(e<<8|e>>>8)&65535;if(d>>>0<=257){e=d<<2;d=C[e+44256>>2];i=d+42400|0;e=C[e+44260>>2]+(d^-1)|0;break i}d=d-258|0;e=0;if(d>>>0>=F[c+16>>2]){break i}e=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;i=e+1|0;e=D[e|0]}if(k>>>0>>0){break g}d=0;break f}d=k<<2;f=C[d+44256>>2];d=C[d+44260>>2]+(f^-1)|0;f=f+42400|0;break f}f=m+(k<<1)|0;f=D[f+2|0]|D[f+3|0]<<8;d=(f<<8|f>>>8)&65535;if(d>>>0<=257){d=d<<2;f=C[d+44256>>2];d=C[d+44260>>2]+(f^-1)|0;f=f+42400|0;break f}f=0;d=d-258|0;if(d>>>0>=F[c+16>>2]){d=0;break f}d=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;f=d+1|0;d=D[d|0]}if((d|0)!=(e|0)){f=d-e|0}else{if(!e){break e}f=Jg(f,i,e)}if((f|0)>0){break c}if(f){break d}}if(b>>>0>g>>>0){f=D[g|0];A[g|0]=k;A[b|0]=f;f=D[g+1|0];A[g+1|0]=k>>>8;A[b+1|0]=f}g=g+2|0}b=b+2|0;if(h>>>0>b>>>0){continue}break b}break}while(1){j:{f=h;h=f-2|0;k=E[h>>1];q=k>>>8|0;d=E[l>>1];k:{l:{m:{n:{o:{p:{e=C[c+4>>2];if((e|0)!=131072){if((e|0)!=65536){break m}i=0;m=0;e=0;if(d>>>0<=257){e=d<<2;d=C[e+44256>>2];m=d+42400|0;e=C[e+44260>>2]+(d^-1)|0}if(k>>>0<=257){break p}d=0;break n}i=0;m=0;n=C[c+8>>2];p=D[n|0]|D[n+1|0]<<8;p=(p<<8|p>>>8)&65535;e=0;q:{if(p>>>0<=d>>>0){break q}e=(d<<1)+n|0;e=D[e+2|0]|D[e+3|0]<<8;d=(e<<8|e>>>8)&65535;if(d>>>0<=257){e=d<<2;d=C[e+44256>>2];m=d+42400|0;e=C[e+44260>>2]+(d^-1)|0;break q}d=d-258|0;e=0;if(d>>>0>=F[c+16>>2]){break q}e=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;m=e+1|0;e=D[e|0]}if(k>>>0

>>0){break o}d=0;break n}d=k<<2;i=C[d+44256>>2];d=C[d+44260>>2]+(i^-1)|0;i=i+42400|0;break n}d=(k<<1)+n|0;d=D[d+2|0]|D[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){d=d<<2;i=C[d+44256>>2];d=C[d+44260>>2]+(i^-1)|0;i=i+42400|0;break n}d=d-258|0;if(d>>>0>=F[c+16>>2]){d=0;break n}d=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;i=d+1|0;d=D[d|0]}if((d|0)!=(e|0)){e=d-e|0}else{if(!e){break m}e=Jg(i,m,e)}if(e){break l}}e=j-2|0;if(f>>>0>>0){A[h|0]=D[e|0];A[e|0]=k;j=j-1|0;A[f-1|0]=D[j|0];A[j|0]=q}j=e;break k}if((e|0)>=0){break k}if(b>>>0>>0){e=D[b|0];A[b|0]=k;A[h|0]=e;e=D[b+1|0];A[b+1|0]=q;A[f-1|0]=e}b=b+2|0;break j}if(b>>>0>>0){continue}}break}if(b>>>0>>0){continue}}break}f=h-g|0;r:{if((a|0)==(g|0)|(g|0)==(h|0)){break r}b=g-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break r}l=a+f|0;b=a+b|0;g=a;while(1){e=D[g|0];A[g|0]=D[b|0];A[b|0]=e;b=b+1|0;g=g+1|0;if(l>>>0>g>>>0){continue}break}break r}if((b|0)<=0){break r}l=a+b|0;b=a+f|0;g=a;while(1){e=D[g|0];A[g|0]=D[b|0];A[b|0]=e;b=b+1|0;g=g+1|0;if(l>>>0>g>>>0){continue}break}}e=j-h|0;if((h|0)==(j|0)|(j|0)==(o|0)){break a}b=o-j|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+h|0;b=e+h|0;while(1){j=D[h|0];A[h|0]=D[b|0];A[b|0]=j;b=b+1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}break a}if((e|0)<=0){break a}g=e+h|0;b=b+h|0;while(1){j=D[h|0];A[h|0]=D[b|0];A[b|0]=j;b=b+1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}ko(a,f>>>1|0,c);a=o-e|0;f=e&-2;o=a+f|0;b=e>>>1|0;if(e>>>0>=20){continue}break}}j=a+2|0;if(o>>>0>j>>>0){while(1){b=j;s:{if(b>>>0<=a>>>0){break s}while(1){h=E[b>>1];g=b-2|0;l=E[g>>1];t:{u:{v:{f=C[c+4>>2];if((f|0)!=131072){if((f|0)!=65536){break s}i=0;f=0;e=0;if(h>>>0<=257){e=h<<2;f=C[e+44256>>2];e=C[e+44260>>2]+(f^-1)|0;f=f+42400|0}if(l>>>0<=257){break v}d=0;break t}i=0;f=0;e=0;d=C[c+8>>2];k=D[d|0]|D[d+1|0]<<8;m=(k<<8|k>>>8)&65535;w:{if(m>>>0<=h>>>0){break w}f=d+(h<<1)|0;f=D[f+2|0]|D[f+3|0]<<8;k=(f<<8|f>>>8)&65535;if(k>>>0<=257){e=k<<2;f=C[e+44256>>2];e=C[e+44260>>2]+(f^-1)|0;f=f+42400|0;break w}f=0;k=k-258|0;if(k>>>0>=F[c+16>>2]){break w}e=C[c+24>>2]+C[C[c+20>>2]+(k<<2)>>2]|0;f=e+1|0;e=D[e|0]}if(l>>>0>>0){break u}d=0;break t}d=l<<2;i=C[d+44256>>2];d=C[d+44260>>2]+(i^-1)|0;i=i+42400|0;break t}d=d+(l<<1)|0;d=D[d+2|0]|D[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){d=d<<2;i=C[d+44256>>2];d=C[d+44260>>2]+(i^-1)|0;i=i+42400|0;break t}d=d-258|0;if(d>>>0>=F[c+16>>2]){d=0;break t}d=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;i=d+1|0;d=D[d|0]}if((d|0)!=(e|0)){e=d-e|0}else{if(!e){break s}e=Jg(i,f,e)}if((e|0)<=0){break s}A[g|0]=h;A[b+1|0]=l>>>8;A[b-1|0]=h>>>8;A[b|0]=l;b=g;if(b>>>0>a>>>0){continue}break}}j=j+2|0;if(o>>>0>j>>>0){continue}break}}}function Gp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-240|0;Ce=e;C[c+16>>2]=0;C[c+20>>2]=-1042284544;C[c+8>>2]=-4194304;C[c+12>>2]=1105199103;C[c>>2]=-4194304;C[c+4>>2]=1105199103;C[c+24>>2]=0;C[c+28>>2]=-1042284544;if(!(!C[a>>2]|F[a+216>>2]<=b>>>0)){g=C[a+80>>2];a:{if((g|0)==84608){break a}b:{c:{switch(D[g|0]){case 0:f=(b+g|0)+1|0;break b;case 3:break c;default:break a}}f=1;h=g+1|0;g=D[g+1|0]|D[g+2|0]<<8;g=(g<<8|g>>>8)&65535;d:{if(g>>>0<2){break d}while(1){j=h+I(f,3)|0;j=D[j+2|0]|D[j+3|0]<<8;if(((j<<8|j>>>8)&65535)>>>0>b>>>0){break d}f=f+1|0;if((g|0)!=(f|0)){continue}break}f=g}f=f-1|0;f=(f>>>0>=g>>>0?84608:(h+I(f,3)|0)+2|0)+2|0}f=D[f|0]}A[e+88|0]=0;C[e+80>>2]=0;C[e+84>>2]=0;C[e+108>>2]=0;C[e+100>>2]=0;C[e+104>>2]=0;C[e+124>>2]=0;C[e+128>>2]=0;A[e+132|0]=0;C[e+176>>2]=0;C[e+168>>2]=0;C[e+172>>2]=0;C[e+72>>2]=0;C[e+76>>2]=0;C[e+116>>2]=0;C[e+120>>2]=0;sm(e+60|0,C[a+72>>2],b);g=C[(F[a+208>>2]<=f>>>0?84608:C[a+212>>2]+I(f,24)|0)+20>>2];h=C[a+68>>2];C[e+80>>2]=C[e+68>>2];A[e+88|0]=0;b=C[e+64>>2];C[e+72>>2]=C[e+60>>2];C[e+76>>2]=b;A[e+92|0]=0;C[e+84>>2]=0;b=kf(4744);C[e+104>>2]=0;C[e+108>>2]=0;C[e+96>>2]=0;C[e+100>>2]=0;if(b){C[e+104>>2]=513;C[e+108>>2]=b;We(b,0,4104);b=593}else{b=-1}A[e+112|0]=0;C[e+100>>2]=b;b=C[e+64>>2];C[e+116>>2]=C[e+60>>2];C[e+120>>2]=b;C[e+124>>2]=C[e+68>>2];C[e+136>>2]=0;C[e+140>>2]=0;A[e+132|0]=0;C[e+128>>2]=0;C[e+208>>2]=0;C[e+212>>2]=0;C[e+200>>2]=0;C[e+204>>2]=0;A[e+145|0]=1;A[e+146|0]=0;b=kf(560);C[e+172>>2]=0;C[e+176>>2]=0;C[e+164>>2]=0;C[e+168>>2]=0;A[e+153|0]=0;A[e+154|0]=0;A[e+155|0]=0;A[e+156|0]=0;A[e+157|0]=0;A[e+158|0]=0;A[e+159|0]=0;A[e+160|0]=0;C[e+148>>2]=0;C[e+152>>2]=0;e:{if(!b){C[e+168>>2]=-1;break e}C[e+176>>2]=b;We(b,0,280);C[e+168>>2]=20;C[e+172>>2]=10;f=10;b=0;while(1){f:{if(b>>>0>=f>>>0){C[104434]=C[21158];f=C[21157];C[104432]=C[21156];C[104433]=f;f=C[21155];C[104430]=C[21154];C[104431]=f;f=C[21153];C[104428]=C[21152];C[104429]=f;f=417712;break f}f=C[e+176>>2]+I(b,28)|0}C[f>>2]=0;C[f+4>>2]=0;C[f+20>>2]=0;C[f+24>>2]=0;A[f+16|0]=0;C[f+8>>2]=0;C[f+12>>2]=0;b=b+1|0;f=C[e+172>>2];if(b>>>0>>0){continue}break}}C[e+184>>2]=h;b=107;f=107;g:{if(!h){break g}h=D[h|0]|D[h+1|0]<<8;h=(h<<8|h>>>8)&65535;f=107;if(h>>>0<1240){break g}f=h>>>0<33900?1131:32768}C[e+192>>2]=g;C[e+180>>2]=f;h:{if(!g){break h}f=D[g|0]|D[g+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0<1240){break h}b=f>>>0<33900?1131:32768}A[e+232|0]=d;C[e+220>>2]=0;B[e+216>>1]=0;C[e+188>>2]=b;C[e+40>>2]=0;C[e+44>>2]=-1042284544;C[e+32>>2]=0;C[e+36>>2]=-1042284544;C[e+24>>2]=-4194304;C[e+28>>2]=1105199103;A[e+144|0]=0;C[e+48>>2]=a;A[e+8|0]=0;C[e+16>>2]=-4194304;C[e+20>>2]=1105199103;h=D[84608];j=h|256;d=C[21152];g=C[21153];a=65535;i:{j:{if(D[e+88|0]){break j}f=C[e+84>>2];k=f+1|0;i=C[e+76>>2];if(k>>>0>i>>>0){break j}k:{l:{m:{if(f>>>0>=i>>>0){A[e+88|0]=1;b=h;if((b|0)!=12){break m}break j}a=C[e+72>>2];b=D[a+f|0];if((b|0)==12){b=j;if(i>>>0<=k>>>0){break m}f=k;b=D[a+f|0]|256}if(f>>>0>>0){break l}}A[e+88|0]=1;C[e+84>>2]=i;break k}C[e+84>>2]=f+1}if((b|0)!=256){a=b;if((b|0)!=14){break j}f=C[e+96>>2];if(!D[e+216|0]){if(f&1){n:{if(C[e+104>>2]){b=C[e+108>>2];a=C[b>>2];b=C[b+4>>2];break n}C[104428]=d;C[104429]=g;a=d;b=g}C[e+220>>2]=1;A[e+217|0]=1;C[e+224>>2]=a;C[e+228>>2]=b}A[e+216|0]=1}if(f>>>0>=4){Jw(e+72|0,e+8|0)}A[e+144|0]=1;C[e+96>>2]=0;C[e+220>>2]=0;break i}C[e+96>>2]=0;C[e+220>>2]=0;break i}Hw(a,e+72|0,e+8|0)}f=0;o:{if(D[e+160|0]|C[e+168>>2]<0|(D[e+92|0]|(D[e+112|0]|D[e+88|0]))){break o}if(C[e+100>>2]<0){break o}if(!D[e+144|0]){while(1){a=65535;p:{q:{r:{f=C[e+84>>2];k=f+1|0;i=C[e+76>>2];if(k>>>0>i>>>0){break r}s:{t:{if(f>>>0>>0){a=C[e+72>>2];b=D[a+f|0];if((b|0)==12){b=j;if(i>>>0<=k>>>0){break t}f=k;b=D[a+f|0]|256}if(f>>>0>=i>>>0){break t}C[e+84>>2]=f+1;break s}A[e+88|0]=1;b=h;if((b|0)==12){break r}}A[e+88|0]=1;C[e+84>>2]=i}if((b|0)!=14){a=b;if((b|0)!=256){break r}break q}f=C[e+96>>2];if(!D[e+216|0]){if(f&1){u:{if(!C[e+104>>2]){C[104428]=d;C[104429]=g;a=d;b=g;break u}b=C[e+108>>2];a=C[b>>2];b=C[b+4>>2]}C[e+220>>2]=1;A[e+217|0]=1;C[e+224>>2]=a;C[e+228>>2]=b}A[e+216|0]=1}if(f>>>0>=4){Jw(e+72|0,e+8|0)}A[e+144|0]=1;break q}Hw(a,e+72|0,e+8|0);break p}C[e+96>>2]=0;C[e+220>>2]=0}f=0;if(D[e+160|0]|C[e+168>>2]<0|(D[e+92|0]|(D[e+112|0]|D[e+88|0]))){break o}if(C[e+100>>2]<0){break o}if(!D[e+144|0]){continue}break}}a=C[e+20>>2];C[c>>2]=C[e+16>>2];C[c+4>>2]=a;a=C[e+44>>2];C[c+24>>2]=C[e+40>>2];C[c+28>>2]=a;a=C[e+36>>2];C[c+16>>2]=C[e+32>>2];C[c+20>>2]=a;a=C[e+28>>2];C[c+8>>2]=C[e+24>>2];C[c+12>>2]=a;f=1}Re(C[e+108>>2]);C[e+108>>2]=0;C[e+100>>2]=0;C[e+104>>2]=0;Re(C[e+176>>2]);C[e+176>>2]=0;C[e+168>>2]=0;C[e+172>>2]=0;Re(C[e+108>>2])}Ce=e+240|0;return f}function gl(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=Ce-16|0;Ce=o;C[o+12>>2]=0;C[a+1524>>2]=0;C[a+1512>>2]=0;C[a+56>>2]=0;C[a+44>>2]=0;C[a+36>>2]=0;C[a+24>>2]=0;f=C[a>>2];n=C[a+16>>2];u=C[a+8>>2];s=C[a+12>>2];q=C[a+4>>2];e=B[b>>1];a:{b:{c:{if(e>>>0<=8){if(C[a+40>>2]){break b}C[a+40>>2]=a+3e3;c=8;break c}c=C[a+32>>2];if(c>>>0>=e>>>0){break b}d=c;c=e+3&-4;e=C[a+40>>2];if((e|0)==(a+3e3|0)){C[a+40>>2]=0;e=0}y=a,z=Ve(f,4,d,c,e,o+12|0),C[y+40>>2]=z;if(C[o+12>>2]){break a}}C[a+32>>2]=c}c=B[b+2>>1];e=c+2|0;d:{if(e>>>0<=96){if(C[a+28>>2]){break d}C[a+20>>2]=96;C[a+28>>2]=a+3032;break d}g=e;e=C[a+20>>2];if(g>>>0<=e>>>0){break d}d=c+11&-8;c=C[a+28>>2];if((c|0)==(a+3032|0)){C[a+28>>2]=0;c=0}y=a,z=Ve(f,40,e,d,c,o+12|0),C[y+28>>2]=z;if(C[o+12>>2]){break a}C[a+20>>2]=d;c=B[b+2>>1]}C[a+24>>2]=c;c=B[b>>1];C[a+1536>>2]=-1;C[a+68>>2]=2;C[a+36>>2]=c;j=b;e:{if(!b){break e}b=E[j+2>>1];c=b<<16>>16;if((c|0)<=0){break e}h=2;if((c|0)==1){break e}k=C[j+4>>2];l=k+(b<<3)|0;d=k+8|0;f=C[k>>2];b=f;c=k;i=C[c+4>>2];g=i;while(1){e=C[c+12>>2];g=(e|0)>(g|0)?e:g;i=(e|0)<(i|0)?e:i;c=C[c+8>>2];b=(b|0)<(c|0)?c:b;f=(c|0)<(f|0)?c:f;c=d;d=c+8|0;if(l>>>0>d>>>0){continue}break}if((b|0)==(f|0)|(g|0)==(i|0)){break e}v=B[j>>1];if((v|0)>0){c=0;d=b;b=b>>31;d=(d^b)-b|0;b=f>>31;b=17-L(d|(b^f)-b)|0;l=(b|0)>0?b:0;b=17-L(g-i|0)|0;p=(b|0)>0?b:0;x=C[j+12>>2];g=0;while(1){h=B[(r<<1)+x>>1];f:{if((h|0)<(g|0)){break f}b=k+(h<<3)|0;f=C[b>>2];e=C[b+4>>2];g:{if(!((h-g|0)+1&1)){b=e;i=g;break g}d=f;i=c;c=k+(g<<3)|0;b=C[c+4>>2];f=C[c>>2];c=i+I(b-e>>p,d+f>>l)|0;i=g+1|0}if((h|0)==(g|0)){break f}while(1){g=i+1|0;d=k+(g<<3)|0;e=C[d+4>>2];m=k+(i<<3)|0;w=C[m+4>>2];d=C[d>>2];m=C[m>>2];c=I(e-w>>p,d+m>>l)+(I(w-b>>p,f+m>>l)+c|0)|0;i=i+2|0;f=d;b=e;if((h|0)!=(g|0)){continue}break}}g=h+1|0;r=r+1|0;if((v|0)!=(r|0)){continue}break}h=1;if((c|0)>0){break e}h=0;if(c){break e}}h=2}if((h|0)==1){C[a+1536>>2]=1;C[a+68>>2]=-2}C[a+12>>2]=s;C[a+4>>2]=q;C[a+2992>>2]=0;C[a+2996>>2]=0;C[a+16>>2]=n;C[a+8>>2]=u;l=C[a+24>>2];if(!l){break a}f=C[a+28>>2];p=f+I(l,40)|0;b=C[j+12>>2];if((l|0)>0){h=C[j+4>>2];e=C[j+8>>2];c=f;k=c+I(B[b>>1],40)|0;b=k;while(1){B[c+2>>1]=1028;d=C[h>>2];B[c+12>>1]=d;B[c+14>>1]=C[h+4>>2];d=Te(d,q)+u|0;C[c+4>>2]=d;C[c+16>>2]=d;d=Te(C[h+4>>2],s)+n|0;C[c+8>>2]=d;C[c+20>>2]=d;d=D[e|0];C[c+36>>2]=b;d=d&3;B[c>>1]=d?((d|0)==2)<<1:1;C[b+32>>2]=c;h:{if((c|0)!=(k|0)){b=c;break h}t=t+1|0;if((t|0)>=B[j>>1]){b=c;k=c;break h}b=I(B[C[j+12>>2]+(t<<1)>>1],40)+f|0;k=b}e=e+1|0;h=h+8|0;c=c+40|0;if(p>>>0>c>>>0){continue}break}b=C[j+12>>2]}e=C[a+36>>2];d=e<<2;i=C[a+40>>2];if((e|0)>0){g=d+i|0;c=0;while(1){C[i>>2]=I(c<<16>>16,40)+f;c=E[b>>1]+1|0;b=b+2|0;i=i+4|0;if(g>>>0>i>>>0){continue}break}i=C[a+40>>2]}if((e|0)>0){s=d+i|0;q=I(E[C[C[a+2988>>2]+4>>2]+68>>1],20)>>>11|0;r=(q<<1)-1|0;while(1){g=C[i>>2];c=g;while(1){i:{e=c;a=B[c+12>>1];c=C[c+36>>2];if((g|0)==(c|0)){k=E[e+14>>1];break i}k=B[e+14>>1];j=k-B[c+14>>1]|0;b=j>>31;h=a-B[c+12>>1]|0;d=h>>31;if((r|0)>((b^j)-b+((d^h)-d)|0)){continue}}break}C[e+24>>2]=0;C[e+28>>2]=0;c=0;b=e;g=b;h=0;while(1){j=a<<16>>16;a=k<<16>>16;b=C[b+32>>2];k=B[b+14>>1];h=(k-a|0)+h|0;d=h>>31;a=B[b+12>>1];c=(a-j|0)+c|0;j=c>>31;d=(d^h)-d|0;j=(c^j)-j|0;j:{if(q>>>0>d+j>>>0){B[b>>1]=E[b>>1]|16;break j}n=(b-g|0)/40|0;C[g+24>>2]=n;C[b+28>>2]=0-n;n=0-c|0;k:{if((c|0)<=(h|0)){j=(h|0)<(n|0);d=j?h:c;c=d>>31;d=(c^d)-c|0;c=j?n:h;m=j?-1:2;break k}m=1;if((h|0)>=(n|0)){break k}c=0-h|0;d=j;m=254}d=(I(d,14)|0)>=(c|0)?4:m;A[g+3|0]=d;c=C[g+32>>2];if((c|0)!=(b|0)){while(1){A[c+3|0]=d;A[c+2|0]=d;c=C[c+32>>2];if((c|0)!=(b|0)){continue}break}}A[b+2|0]=d;d=(e-b|0)/40|0;C[b+24>>2]=d;c=0;C[e+28>>2]=0-d;g=b;h=0}if((b|0)!=(e|0)){continue}break}i=i+4|0;if(s>>>0>i>>>0){continue}break}}if((l|0)<=0){break a}c=f;while(1){e=E[c>>1];l:{if(e&16|D[c+2|0]!=4|D[c+3|0]!=4){break l}d=C[c+24>>2];a=I(d,40)+c|0;b=B[c+12>>1];i=B[a+12>>1]-b|0;k=b;g=C[c+28>>2];b=I(g,40)+c|0;if((i^k-B[b+12>>1])<0){break l}i=B[c+14>>1];if((i-B[b+14>>1]^B[a+14>>1]-i)<0){break l}B[c>>1]=e|16;e=b;b=(I(d-g|0,40)|0)/40|0;C[e+24>>2]=b;C[a+28>>2]=0-b}c=c+40|0;if(p>>>0>c>>>0){continue}break}if((l|0)<=0){break a}while(1){c=E[f>>1];m:{if(c&16){break m}n:{if(c&3){break n}a=D[f+3|0];b=D[f+2|0];if((a|0)==(b|0)){if((a|0)!=4){break n}c=B[f+12>>1];e=C[f+28>>2];a=I(e,40)+f|0;d=B[f+14>>1];g=C[f+24>>2];b=I(g,40)+f|0;if(!Yy(c-B[a+12>>1]|0,d-B[a+14>>1]|0,B[b+12>>1]-c|0,B[b+14>>1]-d|0)){break m}c=a;a=(I(g-e|0,40)|0)/40|0;C[c+24>>2]=a;C[b+28>>2]=0-a;c=E[f>>1];break n}if(b<<24>>24!=(0-(a<<24>>24)|0)){break m}}B[f>>1]=c|16}f=f+40|0;if(p>>>0>f>>>0){continue}break}}Ce=o+16|0;return C[o+12>>2]}function kQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-176|0;Ce=g;C[g+172>>2]=0;f=C[e+32>>2];if(f){i=C[f+278664>>2]}a:{b:{if(cf(a,23363,7)){break b}c:{h=D[a+7|0];switch(h|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!C[C[e+36>>2]+8>>2]){break a}c=C[f+278664>>2];C[g+32>>2]=0;e=c;c=C[f+88>>2];b=(h?-8:-7)+b|0;d=b+1|0;e=Ve(e,1,c,d+c|0,C[f+84>>2],g+32|0);C[f+84>>2]=e;c=C[g+32>>2];if(c){break a}c=e+C[f+88>>2]|0;t(c,h?a+8|0:a+7|0,b);A[b+c|0]=10;C[f+88>>2]=d+C[f+88>>2];c=C[g+32>>2];break a}h=C[e>>2];if(!(h&1)){d=C[e+139320>>2];c=176;if(cf(a,23256,9)){break a}d:{switch(D[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;C[e+32>>2]=0;C[e>>2]=1;b=hf(d,278692,g+172|0);c=C[g+172>>2];if(c){break a}C[e+32>>2]=b;C[b+278664>>2]=C[e+139320>>2];C[e+139320>>2]=0;C[g+32>>2]=0;C[b+278684>>2]=0;C[b+278676>>2]=80;C[b+278680>>2]=241;k=b+278688|0,l=Ve(d,4,0,241,0,g+32|0),C[k>>2]=l;c=C[g+32>>2];C[g+172>>2]=c;if(c){break a}b=b+278676|0;f=211728;while(1){c=dq(C[f>>2],a,b,d);C[g+172>>2]=c;if(c){break a}f=f+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=hf(d,16,g+172|0);C[C[e+32>>2]+128>>2]=a;c=C[g+172>>2];if(c){break a}b=Ce-16|0;Ce=b;C[b+12>>2]=0;C[a+8>>2]=0;C[a>>2]=80;C[a+4>>2]=241;k=a,l=Ve(d,4,0,241,0,b+12|0),C[k+12>>2]=l;Ce=b+16|0;c=C[b+12>>2];if(c){break a}a=C[C[e+36>>2]+12>>2];b=C[e+32>>2];C[b+36>>2]=-1;C[b+28>>2]=a;c=0;break a}e:{if(cf(a,24432,15)){break e}f:{switch(D[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(h&8)){break a}h=e+139304|0;c=Ah(h,32174,a,b);C[g+172>>2]=c;if(c){break a}f=0;c=C[C[h>>2]+4>>2];g:{if(!c){break g}f=D[c|0];if(!f){break g}b=213104;h=10;h:{if((f|0)!=48){break h}if((D[c+1|0]|32)!=120){f=48;break h}f=D[c+2|0];b=213072;h=16;c=c+2|0}a=f<<24>>24;j=f&248;f=0;if(!(D[(j>>>3|0)+b|0]>>>(a&7)&1)){break g}while(1){f=D[a+213136|0]+I(f,h)|0;a=A[c+1|0];c=c+1|0;if(D[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}C[C[e+32>>2]+72>>2]=f;C[e+4>>2]=f;a=Ve(i,16,0,f,0,g+172|0);b=C[e+32>>2];C[b+80>>2]=a;c=C[g+172>>2];if(c){C[b+72>>2]=0;break a}C[e>>2]=C[e>>2]|16;C[d>>2]=839;c=0;break a}i:{if(cf(a,22607,15)){break i}j:{switch(D[a+15|0]){case 0:case 9:case 10:case 13:case 32:break j;default:break i}}c=178;if(!(h&4)){break a}c=Ah(e+139304|0,32174,a,b);if(c){break a}a=C[e+32>>2];b=C[e+139304>>2];k=a,l=Mm(C[b+4>>2]),B[k+4>>1]=l;d=Mm(C[b+8>>2]);B[a+6>>1]=d;k=a,l=al(C[b+12>>2]),B[k+8>>1]=l;b=al(C[b+16>>2]);B[a+10>>1]=b;c=0;B[a+14>>1]=0-b;B[a+12>>1]=b+d;C[e>>2]=C[e>>2]|8;break a}k:{if(cf(a,23269,4)){break k}l:{switch(D[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+139304|0;c=Ah(d,32174,a,b);C[g+172>>2]=c;if(c){break a}iy(d);b=hy(d,g+32|0);if(!b){c=3;break a}a=C[C[e+32>>2]>>2];if(a){Fe[C[i+8>>2]](i,a)}C[C[e+32>>2]>>2]=0;d=C[g+32>>2]+1|0;a=Ve(i,1,0,d,0,g+172|0);C[C[e+32>>2]>>2]=a;c=C[g+172>>2];if(c){break a}t(a,b,d);f=C[e+36>>2];a=Ce-272|0;Ce=a;d=6;b=C[e+32>>2];m:{if(!b){break m}c=C[b>>2];if(!c|!D[c|0]){break m}i=C[b+278664>>2];C[a+8>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+12>>2]=i;C[b+28>>2]=C[f+12>>2];f=af(c)+1|0;if(f>>>0>255){break m}d=a+16|0;t(d,c,f);d=Ah(a,30333,d,f);n:{if(d|C[a+8>>2]!=15){break n}c=32;o:{p:{switch(A[C[C[a>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}C[b+28>>2]=c}b=C[a+12>>2];if(!b){break m}c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}}Ce=a+272|0;c=d;if(c){break a}C[e>>2]=C[e>>2]|2;c=0;break a}q:{if(cf(a,26532,4)){break q}r:{switch(D[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(h&2)){break a}c=Ah(e+139304|0,32174,a,b);if(c){break a}d=C[e+32>>2];a=C[e+139304>>2];k=d,l=$k(C[a+4>>2]),C[k+16>>2]=l;k=d,l=$k(C[a+8>>2]),C[k+20>>2]=l;k=d,l=$k(C[a+12>>2]),C[k+24>>2]=l;s:{if(C[e+139312>>2]==5){b=al(C[a+16>>2]);B[d+278662>>1]=b;a=0;t:{if(!b){c=1;break t}c=b;f=0;while(1){f=c&1?a:f;i=c&65535;c=i>>>1|0;a=a+1|0;if(i>>>0>1){continue}break}a=f&65535;c=a>>>0>3?8:1<>1]=c<<1;break s}B[d+278662>>1]=1}C[e>>2]=C[e>>2]|4;c=0;break a}c=3;if(cf(a,24115,5)){break a}u:{switch(D[a+5|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break a}}c=179;if(!(h&8)){break a}a=B[f+12>>1];C[f+40>>2]=a;C[g+16>>2]=a;a=g+32|0;jm(a,g+16|0);c=sj(C[e+32>>2],23482,a);C[g+172>>2]=c;if(c){break a}b=C[e+32>>2];a=B[b+14>>1];C[b+44>>2]=a;C[g>>2]=a;a=g+32|0;jm(a,g);c=sj(C[e+32>>2],23437,a);if(c){break a}B[C[e+32>>2]+278660>>1]=1;C[d>>2]=840;c=-1}Ce=g+176|0;return c|0}function $p(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=Ce-272|0;Ce=e;C[e+4>>2]=0;C[e>>2]=0;g=6;a:{if(!b|!((d|0)!=0|(c|0)<0)){break a}l=D[b|0]&2?C[b+16>>2]!=0:l;g=_k(a,b,e+4|0);C[e+8>>2]=g;b:{c:{d:{e:{f:{g:{h:{i:{j:{if(g){break j}q=C[a>>2];k:{f=C[b>>2];if(!(f&8)){break k}i=C[b+20>>2];if(!i){break k}l:{if(A[C[i>>2]]&1){h=e+4|0;if(f&16){m=C[b+28>>2];a=C[b+24>>2]}else{a=0}a=cy(i,h,l,c,a,m,e);C[e+8>>2]=a;if(a){break l}break d}C[e+8>>2]=32}a=C[e+4>>2];if(!a){break c}b=C[a+28>>2];m:{if(!a){break m}c=C[a+24>>2];if(!c){break m}Fe[c|0](a)}if(l){break c}if(a){Fe[C[b+8>>2]](b,a)}break c}g=11;C[e+8>>2]=11;i=C[a+16>>2];if((i|0)<=0){i=0;f=C[e+4>>2];break e}m=a+20|0;j=m+(i<<2)|0;f=0;while(1){i=C[m>>2];if(A[C[i>>2]]&1){h=0;g=e+4|0;if(D[b|0]&16){h=C[b+28>>2];f=C[b+24>>2]}else{f=0}g=cy(i,g,l,c,f,h,e);C[e+8>>2]=g;if(!g){break d}h=g&255;if(!(Se(C[C[C[m>>2]>>2]+8>>2],16802)|(h|0)!=142)){f=C[e+4>>2];if(bf(f,0)){break j}g=by(a,f,c,d);C[e+8>>2]=g;if(!g){break i}h=g&255}f=i;if((h|0)!=2){break j}}m=m+4|0;if(j>>>0>m>>>0){continue}break}i=f}f=g&255;switch(f-81|0){case 0:case 4:break f;case 1:case 2:case 3:break g;default:break h}}g=0;if(!f){break a}a=C[f+28>>2];n:{if(!f){break n}b=C[f+24>>2];if(!b){break n}Fe[b|0](f)}if(l){break a}if(f){Fe[C[a+8>>2]](a,f)}break a}if((f|0)==2){break f}}f=C[e+4>>2];break e}o:{p:{q:{r:{f=C[e+4>>2];s:{if(!f){g=85;break s}g=bf(f,0);t:{u:{v:{if(g){break v}g=jg(f,e+144|0,128);if(g){break v}if(D[e+226|0]|(D[e+144|0]|D[e+218|0])){break u}h=D[e+145|0];if(!h|h>>>0>33|(D[e+207|0]|D[(e+h|0)+146|0])){break u}h=D[e+227|0]|D[e+228|0]<<8|(D[e+229|0]<<16|D[e+230|0]<<24);g=_p(a,f,((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+127&-128)+128|0,c,d)}if((g&255)!=2){break t}}g=_p(a,f,0,c,d)}h=g&255;if((h|0)==85){break s}if((h|0)!=2){break r}}if(!(D[b|0]&4)){break r}k=C[a>>2];m=0;C[e+12>>2]=0;h=a;o=C[b+12>>2];p=e+144|0;t=e+96|0;g=e+48|0;a=0;while(1){j=a<<2;r=j+p|0;C[r>>2]=0;w:{x:{if(!f){n=g+j|0;C[n>>2]=0;break x}n=g+j|0;s=bf(f,0);C[n>>2]=s;if(s){break w}}u=n,v=Fe[C[(a<<3)+213280>>2]](h,f,o,r,j+t|0)|0,C[u>>2]=v}a=a+1|0;if((a|0)!=9){continue}break}n=2;g=0;while(1){y:{a=C[(g<<3)+213284>>2]-3>>>0<2&g>>>0<=8;z:{if(m&255?a:0){break z}o=g<<2;if(C[o+(e+48|0)>>2]){break z}C[e+16>>2]=4;j=C[o+(e+144|0)>>2];if(!j){j=C[b+12>>2]}C[e+28>>2]=j;n=_k(h,e+16|0,e+12|0);m=a?(n&255)==81?1:m:m;if(n){break z}j=C[e+12>>2];n=_p(h,j,C[o+(e+96|0)>>2],c,d);if(j){o=C[j+28>>2];A:{if(!j){break A}p=C[j+24>>2];if(!p){break A}Fe[p|0](j)}if(j){Fe[C[o+8>>2]](o,j)}}if(!n){n=0;break y}m=a?1:m}g=g+1|0;if((g|0)!=9){continue}}break}a=C[e+144>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+144>>2]=0}a=C[e+148>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+148>>2]=0}a=C[e+152>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+152>>2]=0}a=C[e+156>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+156>>2]=0}a=C[e+160>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+160>>2]=0}a=C[e+164>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+164>>2]=0}a=C[e+168>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+168>>2]=0}a=C[e+172>>2];if(a){if(a){Fe[C[k+8>>2]](k,a)}C[e+172>>2]=0}a=C[e+176>>2];if(a){Fe[C[k+8>>2]](k,a)}if(n){break o}C[e+8>>2]=0;break q}C[e+8>>2]=g;if(g){break p}}if(!f){break b}a=C[f+28>>2];B:{if(!f){break B}b=C[f+24>>2];if(!b){break B}Fe[b|0](f)}if(l){break b}if(f){Fe[C[a+8>>2]](a,f)}break b}if((g&255)!=2){break e}}C[e+8>>2]=2}if(!f){break c}a=C[f+28>>2];C:{if(!f){break C}b=C[f+24>>2];if(!b){break C}Fe[b|0](f)}if(l){break c}if(f){Fe[C[a+8>>2]](a,f)}break c}a=hf(q,12,e+8|0);D:{if(!C[e+8>>2]){b=C[e>>2];C[a+8>>2]=b;Pp(C[b+96>>2]+16|0,a);if((c|0)>=0){a=ey(b,0);C[e+8>>2]=a;if(a){break D}a=ay(b,e+144|0);C[e+8>>2]=a;if(a){break D}C[b+88>>2]=C[e+144>>2]}c=C[b+8>>2];E:{if(!(c&1)){break E}a=B[b+74>>1];if((a|0)<0){a=0-a|0;B[b+74>>1]=a}if(c&32){break E}B[b+78>>1]=a}F:{if(!(c&2)){break F}i=C[b+28>>2];if((i|0)<=0){break F}f=C[b+32>>2];a=0;while(1){c=f+(a<<4)|0;l=B[c>>1];if((l|0)<0){B[c>>1]=0-l}l=C[c+8>>2];if((l|0)<0){C[c+8>>2]=0-(l<<16)>>16}l=C[c+12>>2];if((l|0)<0){C[c+12>>2]=0-l}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=C[b+128>>2];C[a+56>>2]=1;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=65536;C[a>>2]=65536;C[a+4>>2]=0;if(d){C[d>>2]=b;break b}Lm(b);break b}if(!a){break c}b=C[e>>2];if(!b){break b}}a=C[b+96>>2];if(!a){break b}d=C[b+128>>2];c=C[d+56>>2];C[d+56>>2]=c-1;if((c|0)>1){break b}c=C[a+8>>2];i=a+16|0;d=Ti(i,b);if(!d){break b}oj(i,d);if(d){Fe[C[c+8>>2]](c,d)}jk(c,b,a);break b}a=C[e>>2];if(!a){break b}jk(q,a,i)}g=C[e+8>>2]}Ce=e+272|0;return g}function JL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;h=vi(C[C[b+96>>2]+4>>2],3922);if(!h){return 11}f=bf(a,0);a:{if(f){break a}f=Fe[C[h+4>>2]](a,b,c,d,e)|0;if(f){break a}g=C[b+104>>2];a=C[b+148>>2];if(!((a|0)==65536|(a|0)==1953658213)){f=2;if((a|0)!=131072){break a}}C[b+8>>2]=C[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=Fe[C[h+8>>2]](g,b,c,d,e)|0;if(f){break a}h=0;j=Ce-80|0;Ce=j;b:{c:{if(!b){break c}a=C[b+20>>2];if(a){e=1;if(lg(a,285536)){break b}if(lg(a,285556)){break b}if(lg(a,285576)){break b}if(lg(a,285596)){break b}if(lg(a,285616)){break b}if(lg(a,285636)){break b}if(lg(a,285656)){break b}if(lg(a,285676)){break b}if(lg(a,285696)){break b}}p(j,0,68);c=0;d:{f=E[b+152>>1];if(f){while(1){d=1;a=0;l=k<<4;e=C[l+C[b+156>>2]>>2];e:{if((e|0)!=1668707360){f:{if((e|0)!=1886545264){if((e|0)!=1718642541){break e}a=1;break f}a=2}d=c}e=0;c=0;while(1){f=C[b+156>>2]+l|0;i=I(e,24)+(a<<3)|0;if(C[f+12>>2]==C[i+285732>>2]){n=i+285728|0;g:{if(c){break g}i=C[b+508>>2];if(!i){c=0;break g}c=0;if(Fe[i|0](b,C[f>>2],C[b+104>>2],0)|0){break g}i=C[b+104>>2];f=C[(C[b+156>>2]+l|0)+12>>2];if(Cf(i,f)){break g}if(f>>>0>3){while(1){c=wg(i)+c|0;f=f-4|0;if(f>>>0>3){continue}break}}m=3;if(f){while(1){o=c;c=C[i+32>>2];if(c>>>0>2]){C[i+32>>2]=c+1;c=D[c|0]}else{c=0}c=o+((c<<24>>24&255)<<(m<<3))|0;m=m-1|0;f=f-1|0;if(f){continue}break}}xf(i)}i=j+(e<<2)|0;f=C[i>>2];if(C[n>>2]==(c|0)){f=f+1|0;C[i>>2]=f}if((f|0)==3){break d}}e=e+1|0;if((e|0)!=17){continue}break}f=E[b+152>>1];c=d}k=k+1|0;if(k>>>0<(f&65535)>>>0){continue}break}}a=c&255;while(1){c=j+(h<<2)|0;e=C[c>>2];if(!(h-5>>>0>11|a)){e=e+1|0;C[c>>2]=e}if((e|0)==3){break d}c=h|1;if((c|0)==17){break c}c=j+(c<<2)|0;e=C[c>>2];if(!(h-4>>>0>11|a)){e=e+1|0;C[c>>2]=e}if((e|0)==3){break d}h=h+2|0;continue}}e=1;break b}e=0}Ce=j+80|0;if(e){C[b+8>>2]=C[b+8>>2]|8192}c=0;f=Ce-16|0;Ce=f;j=C[g+28>>2];h:{if(Fe[C[b+508>>2]](b,1751412088,g,f+8|0)|0){break h}a=C[f+8>>2];if(a>>>0<8){break h}e=b+704|0;a=eh(g,a,e);C[f+12>>2]=a;i:{if(a){break i}j:{k:{d=C[e>>2];l:{if(D[d|0]<<8|D[d+1|0]){break l}a=D[d+3|0]|D[d+2|0]<<8;if(a>>>0>255){break l}c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0>4294901759?c&65535:c;if(h>>>0>65537){break l}if(h>>>0>3){break k}}C[f+12>>2]=3;break j}i=C[f+8>>2];c=0;q=b,r=Ve(j,1,0,a,0,f+12|0),C[q+720>>2]=r;if(C[f+12>>2]){break j}m:{if(!a){break m}j=d+i|0;e=d+8|0;while(1){d=e+h|0;if(d>>>0>j>>>0){break m}A[C[b+720>>2]+c|0]=D[e|0];e=d;c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}C[b+712>>2]=c;a=C[f+8>>2];C[b+716>>2]=h;C[b+708>>2]=a;break i}Wf(g,e);C[b+708>>2]=0}c=C[f+12>>2]}Ce=f+16|0;f=c;if(c){break a}f=0;n:{if(!(A[b+8|0]&1)){break n}o:{if(!C[C[b+128>>2]+48>>2]){a=Ce-16|0;Ce=a;c=Fe[C[b+508>>2]](b,1735162214,g,b+668|0)|0;p:{q:{if((c&255)==142){C[b+668>>2]=0;break q}if(c){break p}}c=144;if(Fe[C[b+508>>2]](b,1819239265,g,a+12|0)|0){break p}d=C[a+12>>2];r:{if(E[b+210>>1]){h=2;c=8;if(d>>>0<=262143){break r}break p}h=1;c=8;if(d>>>0>131071){break p}}c=d>>>h|0;C[b+696>>2]=c;e=C[b+16>>2];s:{if(e>>>0>>0){break s}i=e+1|0;if((i|0)==(c|0)){break s}f=C[b+156>>2];d=E[b+152>>1];e=f+(d<<4)|0;c=2147483647;j=C[g+8>>2];if(d){while(1){d=C[f+8>>2]-j|0;c=(d|0)>0?(c|0)>(d|0)?d:c:c;f=f+16|0;if(e>>>0>f>>>0){continue}break}}d=i<>2]-j|0}if(c>>>0>>0){d=C[a+12>>2];break s}C[b+696>>2]=C[b+16>>2]+1;C[a+12>>2]=d}c=eh(g,d,b+700|0)}Ce=a+16|0;f=c;if(c){break o}}f=xw(b,g);if(f){break o}a=Ce-16|0;Ce=a;t:{if(Fe[C[b+508>>2]](b,1718642541,g,a+12|0)|0){C[b+628>>2]=0;C[b+632>>2]=0;f=0;break t}c=C[a+12>>2];C[b+628>>2]=c;f=eh(g,c,b+632|0)}Ce=a+16|0;if(f){break o}a=Ce-16|0;Ce=a;u:{if(Fe[C[b+508>>2]](b,1886545264,g,a+12|0)|0){C[b+636>>2]=0;C[b+640>>2]=0;f=0;break u}c=C[a+12>>2];C[b+636>>2]=c;f=eh(g,c,b+640|0)}Ce=a+16|0}if(!C[b+700>>2]|(C[C[b+128>>2]+48>>2]|!C[b+28>>2])){break n}d=0;e=0;g=Ce-16|0;Ce=g;a=0;h=C[b+696>>2];v:{if(!h){break v}while(1){pp(b,d,g+12|0);w:{if(!C[g+12>>2]){c=a;break w}c=1;e=d;if(!a){break w}a=0;break v}a=c;d=d+1|0;if((h|0)!=(d|0)){continue}break}a=0;if((c|0)!=1){break v}a=1;if(!e){break v}a=0;if(Xp(b,e,g+4|0,8)|D[g+4|0]!=46){break v}a=(D[g+4|0]|D[g+5|0]<<8|(D[g+6|0]<<16|D[g+7|0]<<24))==1953459758&(D[g+8|0]|D[g+9|0]<<8|(D[g+10|0]<<16|D[g+11|0]<<24))==6710628}Ce=g+16|0;if(!a){break n}C[b+8>>2]=C[b+8>>2]&-2}C[b+528>>2]=1116;C[b+524>>2]=1117;C[b+520>>2]=1118;C[b+512>>2]=1119;C[b+516>>2]=1120}return f|0}function vz(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,k=0,l=0,m=0;a:{c=C[b+1300>>2];b:{c:{if((c|0)<0){break c}a=C[105716];if(!a){break c}while(1){if((c|0)==C[a>>2]){break b}a=C[a+1320>>2];if(a){continue}break}}h=Fe[C[94762]](1328)|0;if(h){C[94766]=C[94766]+1}if(!h){break b}mf(h,0,1328);C[h>>2]=C[b+1300>>2];d=b+1304|0;a=0;j=Ce-32|0;Ce=j;d:{e:{while(1){if(!C[I(a,12)+196672>>2]){c=a;break e}c=a|1;if(!C[I(c,12)+196672>>2]){break e}a=a+2|0;if((a|0)!=506){continue}break}a=0;break d}a=C[I(c,12)+196680>>2]}f:{if(a){d=Sg(a);break f}a=34979;while(1){c=a;a=a+1|0;e=D[c|0];if((e|0)==32){continue}break}f=d?d:34979;while(1){a=f;f=a+1|0;d=D[a|0];if((d|0)==32){continue}break}g:{h:{if(!(!e|!d)){e=(af(c)+af(a)|0)+2|0;d=Fe[C[94762]](e>>>0<=1?1:e)|0;if(d){C[94766]=C[94766]+1}if(d){break h}d=0;break f}d=Sg(d?a:10741);if(d){break g}d=0;break f}C[j+20>>2]=a;C[j+16>>2]=c;rf(d,e,8247,j+16|0)}a=af(d);i:{j:{while(1){c=a;if(!a){c=0;A[d|0]=0;e=-1;break j}a=c-1|0;if(D[d+a|0]==32){continue}break}A[c+d|0]=0;e=c-1|0;if(e){break j}c=1;break i}a=0;while(1){f=a+1|0;g=a+d|0;k:{if(D[g|0]!=32){a=f;break k}k=d+f|0;if(D[k|0]!=32){a=f;break k}Qh(g,k,c-a|0);c=e}e=c-1|0;if(e>>>0>a>>>0){continue}break}}a=af(34275);e=0;l:{m:{if(!Rg(d,34275,a)){break m}a=af(6209);e=1;if(!Rg(d,6209,a)){break m}a=af(30269);e=2;if(!Rg(d,30269,a)){break m}a=af(27405);e=3;if(!Rg(d,27405,a)){break m}a=af(34266);if(Rg(d,34266,a)){break l}e=4}f=C[(e<<3)+172036>>2];e=af(f);if(e>>>0>a>>>0){break l}gf(d,f,e);f=a+d|0;a=c-a|0;Qh(d+e|0,f,a+1|0);c=a+e|0}i=c-1|0;n:{if(i>>>0<2){break n}k=1;while(1){o:{f=D[d|0];if(!f){break o}a=d+k|0;g=0;e=d;p:{while(1){q:{if(!D[a|0]){break q}f=f&255;m=f-65>>>0<26?f|32:f;f=D[a|0];if((m|0)!=((f-65>>>0<26?f|32:f)|0)){break q}g=g+1|0;a=a+1|0;f=D[e+1|0];e=e+1|0;if(f){continue}break p}break}if(!g){break o}}a=d+g|0;if(D[a-1|0]==32){Qh(d,a,(c-g|0)+1|0);break n}if(D[a|0]!=32){break o}Qh(d,a+1|0,c-g|0);break n}k=k+1|0;if((i|0)!=(k|0)){continue}break}}}Ce=j+32|0;C[h+4>>2]=d;if(!d){break a}a=Sg(b+1368|0);C[h+8>>2]=a;if(!a){a=C[h+4>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}break a}d=C[b+8>>2];C[h+24>>2]=d;e=C[b+12>>2];C[h+20>>2]=e;a=0;c=C[105714];C[105714]=c+1;C[h+12>>2]=c;H[h+32>>3]=H[b>>3];r:{if((d|0)<=0){break r}if(d>>>0>=4){k=d&-4;f=h+40|0;while(1){g=a<<3;j=b+16|0;H[g+f>>3]=H[j+g>>3];i=g|8;H[i+f>>3]=H[j+i>>3];i=g|16;H[i+f>>3]=H[j+i>>3];g=g|24;H[g+f>>3]=H[g+j>>3];a=a+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}f=d&3;if(!f){break r}d=0;while(1){g=a<<3;H[(g+h|0)+40>>3]=H[(b+g|0)+16>>3];a=a+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}s:{if((e|0)<=0){break s}a=0;if((e|0)!=1){k=e&-2;d=h+552|0;f=b+528|0;g=h+1064|0;j=b+1040|0;l=0;while(1){i=a<<3;H[i+d>>3]=H[f+i>>3];i=a<<2;C[i+g>>2]=C[j+i>>2];i=a|1;m=i<<3;H[m+d>>3]=H[f+m>>3];i=i<<2;C[i+g>>2]=C[j+i>>2];a=a+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}}if(!(e&1)){break s}d=a<<3;H[(d+h|0)+552>>3]=H[(b+d|0)+528>>3];a=a<<2;C[(a+h|0)+1064>>2]=C[(a+b|0)+1040>>2]}a=C[105715];t:{if(!a){C[105716]=h;break t}C[a+1320>>2]=h}C[105715]=h;C[105713]=C[105713]+1;f=Ce+-64|0;Ce=f;b=c;h=Rr(c);u:{if((h|0)<0){break u}a=Fe[C[95601]]()|0;v:{w:{x:{if((a|0)<=(h|0)){C[f>>2]=a;Qe(18003,f);break x}a=Fe[C[95605]](h)|0;if((a|0)>=0){break w}}if(!xn(h)){break v}a=0;c=C[104884];if((c|0)<=0){break w}d=C[104883];y:{while(1){if(C[d+(a<<2)>>2]==-1){break y}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}if((a|0)<0){break v}}g=Ce-16|0;Ce=g;c=C[104884];z:while(1){j=(a|0)<0;e=-1;A:{if(j){break A}e=-1;if((a|0)>=(c|0)){break A}e=C[C[104883]+(a<<2)>>2]}B:{C:{if((a|0)>=(c|0)){c=a+1|0;d=Rf(C[104883],c<<2);if(!d){_e(0);break B}C[104883]=d;l=C[104884];mf(d+(l<<2)|0,255,(a-l<<2)+4|0);C[104884]=c;break C}if(j){break C}if(C[C[104883]+(a<<2)>>2]==(b|0)){break B}}d=0;D:{E:{if((c|0)<=0){break E}l=C[104883];while(1){if(C[l+(d<<2)>>2]==(b|0)){break E}d=d+1|0;if((d|0)!=(c|0)){continue}break}break D}c=(c|0)==(d|0)?-1:d;if((c|0)<0){break D}C[C[104883]+(c<<2)>>2]=-1}if(!j){C[C[104883]+(a<<2)>>2]=b}d=0;F:{G:{b=Rr(b);if((b|0)>=0){d=Fe[C[95601]]()|0;if((b|0)<(d|0)){break G}}C[g>>2]=d;Qe(18003,g);break F}Fe[C[95606]](b,a)}if((e|0)<0){break B}a=0;b=e;c=C[104884];if((c|0)<=0){continue}d=C[104883];while(1){if(C[d+(a<<2)>>2]==-1){continue z}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c;continue}break}Ce=g+16|0}C[f+8>>2]=1541;if((qf(1541,-1)|0)!=1){break u}C[f+16>>2]=h;Df(f+8|0)}Ce=f- -64|0}return 1}if(h){Fe[C[94765]](h);C[94766]=C[94766]-1}return 1}function FE(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=C[97706];if(b){c=Ce-16|0;Ce=c;a:{if(!(C[b>>2]==422837?b:0)){C[c>>2]=9675;Qe(19745,c);break a}cs(592,b);a=C[b+440>>2];if(a){C[a+24>>2]=C[b+444>>2];a=b+436|0}else{a=b+444|0}a=C[a>>2];C[b+444>>2]=0;C[b+436>>2]=0;C[b+440>>2]=0;if(a){while(1){d=C[a+24>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=d;if(a){continue}break}}a=C[b+536>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}while(1){a=C[b+408>>2];if(a){Cj(a);continue}break}a=C[b+204>>2];if(a){hz(a,0)}C[b>>2]=0;a=C[b+416>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[b+416>>2]=0;Fe[C[b+96>>2]](b)}Ce=c+16|0}a=C[97707];if(a){sq(a)}a=C[97728];if(a){Cj(a)}a=C[97729];if(a){Cj(a)}a=C[99548];if(a){ui();b:{if((a|0)!=C[104393]){break b}if(C[a+12>>2]==1){while(1){si();ph(100);ui();if(C[a+12>>2]==1){continue}break}}if((a|0)!=C[104393]){break b}if(C[C[C[104393]>>2]+64>>2]){d=C[104393];Fe[C[C[d>>2]+64>>2]](C[d+4>>2])}C[C[104393]+8>>2]=0;C[C[104393]+12>>2]=0;C[104393]=0}si();Fe[C[C[a>>2]+68>>2]](C[a+4>>2]);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}a=C[99549];if(a){rs(a)}Qu();Re(C[97732]);Re(C[97733]);Re(C[97738]);Re(C[97744]);a=C[104397];if(a&1){a=C[104397]}if(a&2){a=C[104398];if(a){C[104398]=a-1}a=C[104397]}C[104397]=0;oz();if(C[94462]){a=C[94478];if(a){Fe[a|0]()}C[94462]=0}if(C[94442]){a=C[94458];if(a){Fe[a|0]()}C[94442]=0}a=C[104420];c:{if(!a){break c}a=a-1|0;C[104420]=a;if(a){break c}a=0;d=C[104421];if(d){l=C[d>>2];if(d){b=C[d+188>>2];C[d+188>>2]=b-1;if((b|0)<=1){i=C[d>>2];b=C[d+16>>2];d:{if(!b){break d}while(1){g=C[(d+(a<<2)|0)+20>>2];c=C[g>>2];e:{if(Se(C[c+8>>2],29552)|!(A[c|0]&1)){break e}c=C[g+16>>2];if(!c){break e}while(1){b=C[c+8>>2];f:{if(!b){break f}c=C[b+96>>2];if(!c){break f}f=C[b+128>>2];e=C[f+56>>2];C[f+56>>2]=e-1;if((e|0)>1){break f}e=C[c+8>>2];h=c+16|0;f=Ti(h,b);if(!f){break f}oj(h,f);if(f){Fe[C[e+8>>2]](e,f)}jk(e,b,c)}c=C[g+16>>2];if(c){continue}break}b=C[d+16>>2]}a=a+1|0;if(a>>>0>>0){continue}break}if(!b){break d}a=0;while(1){g=C[(d+(a<<2)|0)+20>>2];g:{if(!(A[C[g>>2]]&1)){break g}c=C[g+16>>2];if(!c){break g}while(1){b=C[c+8>>2];h:{if(!b){break h}c=C[b+96>>2];if(!c){break h}f=C[b+128>>2];e=C[f+56>>2];C[f+56>>2]=e-1;if((e|0)>1){break h}e=C[c+8>>2];h=c+16|0;f=Ti(h,b);if(!f){break h}oj(h,f);if(f){Fe[C[e+8>>2]](e,f)}jk(e,b,c)}c=C[g+16>>2];if(c){continue}break}b=C[d+16>>2]}a=a+1|0;if(a>>>0>>0){continue}break}if(!b){break d}while(1){b=C[(d+(b<<2)|0)+16>>2];i:{if(!d){break i}j:{if(!b){break j}c=C[d+16>>2];if((c|0)<=0){break j}a=d+20|0;e=a+(c<<2)|0;while(1){if((b|0)==C[a>>2]){C[d+16>>2]=c-1;c=e-4|0;if(c>>>0>a>>>0){while(1){C[a>>2]=C[a+4>>2];a=a+4|0;if(c>>>0>a>>>0){continue}break}}C[c>>2]=0;e=C[b>>2];f=C[b+8>>2];c=C[b+4>>2];k:{if(!c){break k}if((b|0)==C[c+160>>2]){C[c+160>>2]=0}if(!(D[e|0]&2)){break k}g=C[c>>2];h=c+148|0;a=Ti(h,b);if(!a){break k}j=C[b+12>>2];l:{if(C[j+36>>2]!=1869968492){break l}k=C[b+52>>2];if(!k){break l}Fe[C[C[j+56>>2]+20>>2]](k)}oj(h,a);if(a){Fe[C[g+8>>2]](g,a)}a=C[h>>2];m:{if(a){while(1){g=C[a+8>>2];if(C[g+16>>2]==1869968492){break m}a=C[a+4>>2];if(a){continue}break}}g=0}C[c+156>>2]=g}if(A[C[b>>2]]&1){Op(b+16|0,856,C[b+8>>2],b)}a=C[e+28>>2];if(a){Fe[a|0](b)}if(b){Fe[C[f+8>>2]](f,b)}break i}a=a+4|0;if(e>>>0>a>>>0){continue}break}}}b=C[d+16>>2];if(b){continue}break}}if(d){Fe[C[i+8>>2]](i,d)}}}Re(l)}}A[418144]=1;Mj(62001);A[422868]=0;while(1){b=C[104879];if(b){C[104879]=C[b+16>>2];a=C[b>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[b+4>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[b+12>>2];if(a){while(1){d=C[a+8>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=d;if(a){continue}break}}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}continue}break}b=Ce-32|0;Ce=b;a=C[104537];if(!(!a|C[94736]==255)){Bk(34683,0);Bk(34935,0);while(1){d=C[a+8>>2];c=C[a+16>>2];e=C[a+12>>2];f=C[a+20>>2];i=C[a>>2];g=C[a+4>>2];C[b+16>>2]=g;C[b+24>>2]=i?7525:11511;C[b+20>>2]=(g|0)==1?34979:8980;C[b+4>>2]=f;C[b+8>>2]=e;C[b+12>>2]=c;C[b>>2]=d;Bk(34708,b);a=C[a+24>>2];if(a){continue}break}Bk(34978,0);a=C[104537];if(a){while(1){C[a>>2]=0;C[a+4>>2]=0;d=C[a+24>>2];C[a+24>>2]=0;a=d;if(a){continue}break}}C[104537]=0}Ce=b+32|0;while(1){a=C[105658];if(a){C[105658]=C[a+8>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}continue}break}C[94759]=4;C[94758]=6;C[94760]=3;a=C[105657];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[105657]=0}mf(418112,0,32);A[418144]=0}function Df(a){var b=0,c=0,d=J(0),e=J(0),f=0,g=0,h=J(0),i=0,j=J(0),k=J(0),l=0,m=0,n=0,o=J(0),p=0,q=0,r=J(0),s=J(0),t=0,u=J(0),v=0,w=0,x=0,y=0,z=0;y=a,z=Ph(),C[y+4>>2]=z;c=C[104858];b=C[104857];a:{b:{if(!c&(b|0)<=0){break b}if(c){if(!(Fe[c|0](C[104859],a)|0)){break a}b=C[104857]}if((b|0)<=0){break b}A[419444]=1;g=b&1;f=C[104856];if((b|0)!=1){m=b&-2;b=0;while(1){c=I(i,12)+f|0;if(!C[c+8>>2]){Fe[C[c>>2]](C[c+4>>2],a)|0;f=C[104856]}c=I(i|1,12)+f|0;if(!C[c+8>>2]){Fe[C[c>>2]](C[c+4>>2],a)|0;f=C[104856]}i=i+2|0;b=b+2|0;if((m|0)!=(b|0)){continue}break}}c:{if(!g){break c}i=I(i,12)+f|0;if(C[i+8>>2]){break c}Fe[C[i>>2]](C[i+4>>2],a)|0;f=C[104856]}A[419444]=0;if(!D[419448]){break b}i=C[104857];if(i){while(1){b=i;i=b-1|0;c=I(i,12)+f|0;d:{if(!C[c+8>>2]){break d}g=C[104857];m=g-1|0;C[104857]=m;if((b|0)>=(g|0)){break d}Qh(c,I(b,12)+f|0,I(m-i|0,12));f=C[104856]}if(i){continue}break}}A[419448]=0}i=1;if((xk(a,1,0,0,0,0)|0)<=0){return-1}f=0;c=Ce-576|0;Ce=c;l=C[a>>2];e:{if(l-1792>>>0>2){break e}p=C[104877];if((p|0)<=0){break e}b=C[a+8>>2];n=C[a+12>>2];m=C[104878];while(1){g=m+I(f,8232)|0;if(C[g>>2]!=(b|0)|C[g+4>>2]!=(n|0)){f=f+1|0;if((p|0)!=(f|0)){continue}break e}break}r=G[a+28>>2];s=G[a+24>>2];f:{g:{h:{i:{switch(l-1792|0){case 1:b=m+I(f,8232)|0;B[b+8216>>1]=E[b+8216>>1]-1;w=b+8216|0;if(C[b+8228>>2]){C[b+8228>>2]=0;Wr(b+16|0,c- -64|0,1);if(!D[419504]){break h}p=Xr(0,c- -64|0);n=C[104877];if((n|0)<=0){break g}l=0;b=C[104878];a=0;if(n>>>0>=8){t=n&-8;while(1){C[(b+I(a,8232)|0)+8228>>2]=0;C[(b+I(a|1,8232)|0)+8228>>2]=0;C[(b+I(a|2,8232)|0)+8228>>2]=0;C[(b+I(a|3,8232)|0)+8228>>2]=0;C[(b+I(a|4,8232)|0)+8228>>2]=0;C[(b+I(a|5,8232)|0)+8228>>2]=0;C[(b+I(a|6,8232)|0)+8228>>2]=0;C[(b+I(a|7,8232)|0)+8228>>2]=0;a=a+8|0;x=x+8|0;if((t|0)!=(x|0)){continue}break}}n=n&7;if(!n){break g}while(1){C[(b+I(a,8232)|0)+8228>>2]=0;a=a+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}break g}a=0;l=c- -64|0;mf(l,0,512);Wr(b+16|0,l,0);if(C[b+8220>>2]<=0){break f}n=b+8220|0;p=(m+I(f,8232)|0)+8224|0;u=J(1e4);l=-1;while(1){h=J(.185407355427742);j=J(-.185407355427742);t=c- -64|0;b=C[p>>2]+I(a,516)|0;k=Fl(t,b,J(-.185407355427742));e=Fl(t,b,J(.185407355427742));q=.7853981633974483;v=-.7853981633974483;while(1){j:{if(e>k){q=+h;o=J(v*.618033989+q*.38196601100000005);d=Fl(c- -64|0,b,o);h=j;break j}o=h;d=e;v=+j;h=J(v*.38196601100000005+q*.618033989);k=Fl(c- -64|0,b,h)}e=k;k=d;j=o;if(K(v-q)>.03490658503988659){continue}break}e=e>d?d:e;b=e>2]){continue}break};if((l|0)<0){break f}a=C[(C[p>>2]+I(l,516)|0)+512>>2];if((qf(2048,-1)|0)!=1){break f}C[c+64>>2]=2048;b=C[g+4>>2];C[c+72>>2]=C[g>>2];C[c+76>>2]=b;b=m+I(f,8232)|0;G[c+96>>2]=G[b+8>>2];e=G[b+12>>2];G[c+92>>2]=u;C[c+80>>2]=a;C[c+84>>2]=0;G[c+100>>2]=e;C[c+88>>2]=E[w>>1]+1;Df(c- -64|0);break f;case 2:e=G[a+36>>2];h=G[a+32>>2];a=m+I(f,8232)|0;b=C[a+20>>2];if((b|0)<=1023){b=(a+16|0)+(b<<3)|0;d=G[a+8>>2];G[b+8>>2]=d;j=G[a+12>>2];G[b+12>>2]=j;d=J(d-G[b>>2]);k=J(d*d);d=J(j-G[b+4>>2]);G[a+16>>2]=G[a+16>>2]+J(R(+J(k+J(d*d))));C[a+20>>2]=C[a+20>>2]+1}j=G[a+12>>2];b=E[a+8216>>1];d=J(b>>>0);G[a+12>>2]=j+J(e/d);k=G[a+8>>2];G[a+8>>2]=k+J(h/d);if(b>>>0<2){break e}d=J(J(s-h)-k);j=J(J(r-e)-j);e=J(R(+J(J(d*d)+J(j*j))));k=J(s-G[a+8>>2]);o=J(r-G[a+12>>2]);h=J(R(+J(J(k*k)+J(o*o))));d=J(d/e);o=J(o/h);k=J(k/h);j=J(j/e);q=Ez(+J(J(d*o)-J(k*j)),+J(J(d*k)+J(j*o)));if((qf(2050,-1)|0)!=1){break e}C[c+64>>2]=2050;b=C[g+4>>2];C[c+72>>2]=C[g>>2];C[c+76>>2]=b;G[c+88>>2]=G[a+8>>2];d=G[a+12>>2];b=e==J(0);G[c+84>>2]=b?J(0):J(h-e);G[c+80>>2]=b?J(0):J(q);G[c+92>>2]=d;B[c+96>>1]=E[a+8216>>1];Df(c- -64|0);break e;case 0:break i;default:break e}}a=m+I(f,8232)|0;C[a+16>>2]=0;C[a+20>>2]=1;G[a+28>>2]=r;G[a+24>>2]=s;b=E[a+8216>>1]+1|0;B[a+8216>>1]=b;b=b&65535;e=J(b-1|0);h=J(b>>>0);G[a+8>>2]=J(J(G[a+8>>2]*e)+s)/h;G[a+12>>2]=J(J(G[a+12>>2]*e)+r)/h;break e}p=Xr(g,c- -64|0)}if((p|0)>=0){a=C[(C[(m+I(f,8232)|0)+8224>>2]+I(p,516)|0)+512>>2];if((qf(2049,-1)|0)!=1){break f}C[c+8>>2]=2049;b=C[g>>2];g=C[g+4>>2];C[c+24>>2]=a;C[c+28>>2]=0;C[c+16>>2]=b;C[c+20>>2]=g;Df(c+8|0);break f}if((qf(2049,-1)|0)!=1){break f}C[c+8>>2]=2049;a=C[g>>2];b=C[g+4>>2];C[c+24>>2]=-1;C[c+28>>2]=-1;C[c+16>>2]=a;C[c+20>>2]=b;Df(c+8|0)}b=E[w>>1];if(!b){break e}a=m+I(f,8232)|0;e=J(b+1|0);h=J(b>>>0);G[a+8>>2]=J(J(G[a+8>>2]*e)-s)/h;G[a+12>>2]=J(J(G[a+12>>2]*e)-r)/h}Ce=c+576|0}return i}function EG(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,k=0,l=0,m=0,n=0;i=C[c+92>>2];j=20;h=1;a=0;m=C[c+80>>2];b=!m;while(1){a:{b:{c:{if(!b){a=D[j+70736|0]==7?g:a;d=j<<1;f=B[d+70464>>1]+69616|0;b=A[j+70544|0];j=D[(I(g,20)+i|0)+18|0];k=D[d+69520|0];if(j>>>0>=k>>>0){b=j>>>0>D[d+69521|0]?b:j-k|0}b=A[b+f|0];break c}if((j|0)==20){break b}g=m;b=D[j+70688|0]-1|0}j=A[b+70592|0];d=b&31;d:{if(((b&63)>>>0>=32?12095>>>d|0:((1<>>d)&1){break d}e:{switch(A[b+70640|0]-1|0){case 1:e=g+1|0;break d;case 7:e=g+1|0;f:{if(e>>>0<=a>>>0){break f}f=h<<4|2;d=a;k=g-d|0;n=k+1&7;if(n){b=0;while(1){A[(I(d,20)+i|0)+15|0]=f;d=d+1|0;b=b+1|0;if((n|0)!=(b|0)){continue}break}}if(k>>>0<=6){break f}while(1){b=I(d,20)+i|0;A[b+35|0]=f;A[b+15|0]=f;A[b+55|0]=f;A[b+75|0]=f;A[b+95|0]=f;A[b+115|0]=f;A[b+135|0]=f;A[b+155|0]=f;b=d+7|0;d=d+8|0;if((b|0)!=(g|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 9:g:{if(a>>>0>=g>>>0){break g}e=h<<4;b=a;f=g-b&7;if(f){d=0;while(1){A[(I(b,20)+i|0)+15|0]=e;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break g}while(1){d=I(b,20)+i|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 11:h:{if(a>>>0>=g>>>0){break h}e=h<<4|1;b=a;f=g-b&7;if(f){d=0;while(1){A[(I(b,20)+i|0)+15|0]=e;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break h}while(1){d=I(b,20)+i|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 10:i:{if(a>>>0>=g>>>0){break i}e=h<<4|2;b=a;f=g-b&7;if(f){d=0;while(1){A[(I(b,20)+i|0)+15|0]=e;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break i}while(1){d=I(b,20)+i|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 0:g=e-1|0;j:{if(a>>>0>=e>>>0){break j}f=h<<4;b=a;k=e-b&7;if(k){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break j}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 4:g=e-1|0;k:{if(a>>>0>=e>>>0){break k}f=h<<4|1;b=a;k=e-b&7;if(k){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break k}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:l:{switch(l-2|0){case 0:g=e-1|0;m:{if(a>>>0>=e>>>0){break m}f=h<<4|1;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=2;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 1:break l;default:break d}}g=e-1|0;n:{if(a>>>0>=e>>>0){break n}f=h<<4|2;b=a;l=e-b&7;if(l){d=0;while(1){A[(I(b,20)+i|0)+15|0]=f;b=b+1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break n}while(1){d=I(b,20)+i|0;A[d+35|0]=f;A[d+15|0]=f;A[d+55|0]=f;A[d+75|0]=f;A[d+95|0]=f;A[d+115|0]=f;A[d+135|0]=f;A[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}l=3;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 3:e=g+1|0;l=2;break d;case 8:break e;default:break d}}e=g+1|0;l=3}a=D[j+70784|0]!=6?a:0;g=g+1|0;if((m|0)!=(g|0)){break a}b=1;continue}b=C[c+80>>2];o:{if(!b){break o}a=b-1|0;g=0;e=C[c+92>>2];d=D[e+15|0];while(1){p:{if((a|0)==(g|0)){g=b;break p}g=g+1|0;if((d|0)==D[(e+I(g,20)|0)+15|0]){continue}}break}if(!b){break o}j=0;d=b;while(1){a=g;if(g-j>>>0>=2){Sf(c,j,a);d=C[c+80>>2]}g=a+1|0;e=d>>>0>g>>>0?d:g;j=e-1|0;m=C[c+92>>2];h=D[(m+I(a,20)|0)+15|0];g=a;while(1){q:{if((g|0)==(j|0)){g=e;break q}g=g+1|0;if((h|0)==D[(m+I(g,20)|0)+15|0]){continue}}break}j=a;if(a>>>0>>0){continue}break}}return}b=0;continue}}function eA(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=Ce-32|0;Ce=h;f=C[a+548>>2];e=C[a+412>>2];if(e){e=C[e+4>>2];o=(e|0)==372645892|(e|0)==370546692}else{o=0}j=C[f+388>>2];g=C[((j<<2)+f|0)+324>>2];m=ai();e=C[f>>2];a:{b:{if((m|0)!=(e|0)){C[f+468>>2]=0;if((Bh(C[a+204>>2],e)|0)<0){break b}}e=C[a+548>>2];if(C[e+4>>2]){while(1){if(Fe[C[e+100>>2]]()|0){continue}break}}e=C[a+412>>2];C[f+416>>2]=e;c:{if(e){break c}fz(C[a+204>>2],h+28|0,h+24|0);e=C[h+28>>2];l=C[h+24>>2];if((e|0)==C[f+460>>2]&(l|0)==C[f+464>>2]){break c}C[f+460>>2]=e;C[f+464>>2]=l;C[f+432>>2]=1;C[f+408>>2]=1}Fe[C[f+216>>2]](34962,g);e=(j<<2)+f|0;d:{if(F[e+356>>2]>>0){Fe[C[f+220>>2]](34962,d,c,35040);C[e+356>>2]=d;break d}Fe[C[f+224>>2]](34962,0,d,c)}c=C[f+388>>2]+1|0;C[f+388>>2]=c>>>0<=7?c:0;if(b){m=f+392|0;l=f+436|0;while(1){e:{f:{g:{h:{i:{j:{n=C[b>>2];switch(n-1|0){case 4:case 9:break f;case 5:break g;case 3:break h;case 1:break i;case 0:break j;default:break e}}c=b+8|0;if(!sg(m,c,16)){break e}gf(m,c,16);C[f+408>>2]=1;break e}c=C[b+4>>2];if((c|0)!=C[f+428>>2]){C[f+424>>2]=1;C[f+428>>2]=c}c=b+8|0;if(!sg(l,c,16)){break e}gf(l,c,16);C[f+432>>2]=1;break e}e=D[(o?8:10)+b|0];j=D[b+9|0];g=D[(o?10:8)+b|0];d=D[b+11|0];c=e|(j<<8|g<<16)|d<<24;if((c|0)!=C[f+456>>2]){Fe[C[f+36>>2]](J(J(g>>>0)*J(.003921568859368563)),J(J(j>>>0)*J(.003921568859368563)),J(J(e>>>0)*J(.003921568859368563)),J(J(d>>>0)*J(.003921568859368563)));C[f+456>>2]=c}if(C[f+428>>2]|C[f+424>>2]){Fe[C[f+64>>2]](3089);C[f+424>>2]=C[f+428>>2]}Fe[C[f+32>>2]](16384);break e}if(fn(f,b,1)){break e}d=C[b+8>>2];if(d>>>0>=3){Fe[C[f+72>>2]](3,0,d);break e}c=C[b+24>>2];k:{if(!c|C[c>>2]!=6){break k}g=C[b+16>>2];e=b;while(1){b=c;if(C[b+8>>2]!=2){b=e;break k}if((g|0)!=C[b+16>>2]){b=e;break k}d=d+2|0;c=C[b+24>>2];if(!c){break k}e=b;if(C[c>>2]==6){continue}break}}Fe[C[f+72>>2]](1,0,d);break e}j=C[b+8>>2];k=C[b+20>>2];d=C[b+24>>2];l:{if(!d){c=b;break l}if(C[d>>2]!=(n|0)){c=b;break l}g=C[b+16>>2];e=b;while(1){c=d;if((k|0)!=C[d+20>>2]){c=e;break l}if((g|0)!=C[c+16>>2]){c=e;break l}j=C[c+8>>2]+j|0;d=C[c+24>>2];if(!d){break l}e=c;if(C[d>>2]==(n|0)){continue}break}}m:{n:{if(k){g=C[a+548>>2];o:{p:{d=C[a+412>>2];if(d){e=2;i=C[d+4>>2];d=C[k+4>>2];if((i|0)==(d|0)){break o}q:{r:{s:{t:{u:{if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break t}if((d|0)!=372645892){break u}e=(i|0)==376840196?3:(i|0)==374740996?3:2;break o}if((d|0)==374740996){break s}if((d|0)==376840196){break p}if((d|0)!=542328143){break u}e=9;break o}e=6;v:{switch(d-842094158|0){case 11:break o;case 0:break r;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break u;default:break v}}if((d|0)==825382478){break q}if((d|0)==1448433993){break o}}e=Qe(5075,0);break m}w:{if((i|0)!=372645892){if((i|0)==374740996){break w}if((i|0)!=376840196){break o}e=3;break o}e=5;break o}e=3;break o}if((i|0)!=370546692){if((i|0)!=372645892){if((i|0)!=376840196){break o}e=5;break o}e=4;break o}e=3;break o}e=7;break o}e=8;break o}x:{y:{z:{A:{B:{d=C[k+4>>2];if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break A}e=3;if((d|0)==372645892){break o}break n}if((d|0)==374740996){break z}if((d|0)==376840196){break B}if((d|0)!=542328143){break n}e=9;break o}C:{switch(d-842094158|0){default:if((d|0)==825382478){break x}if((d|0)!=1448433993){break n}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break n;case 0:break y;case 11:break C}}e=6;break o}e=2;break o}e=4;break o}e=5;break o}e=7;break o}e=8;break o}e=(i|0)==372645892?3:(i|0)==370546692?3:2}e=fn(g,b,e);if((k|0)==C[g+412>>2]){break m}b=C[k+80>>2];D:{E:{if(C[b+24>>2]){Fe[C[g+8>>2]](33986);Fe[C[g+20>>2]](C[b+4>>2],C[b+32>>2]);break E}if(!C[b+28>>2]){break D}}Fe[C[g+8>>2]](33985);Fe[C[g+20>>2]](C[b+4>>2],C[b+36>>2]);Fe[C[g+8>>2]](33984)}Fe[C[g+20>>2]](C[b+4>>2],C[b>>2]);C[g+412>>2]=k;break m}e=fn(f,b,1);break m}e=Qe(5075,0)}if(!e){Fe[C[f+72>>2]](((n|0)!=5)<<2,0,j)}b=c}b=C[b+24>>2];if(b){continue}break}}e=C[a+548>>2];if(!C[e+4>>2]){break a}c=Fe[C[e+100>>2]]()|0;if(!c){break a}b=34979;while(1){b=D[b|0]?b:21640;d=25026;a=c-1280|0;if(a>>>0<=5){d=C[(a<<2)+184380>>2]}C[h+20>>2]=c;C[h+16>>2]=d;C[h+12>>2]=16235;C[h+8>>2]=1353;C[h+4>>2]=21666;C[h>>2]=b;Qe(33817,h);c=Fe[C[e+100>>2]]()|0;if(c){continue}break}}p=-1}Ce=h+32|0;return p|0}function SI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0,j=0,k=0,l=0,m=J(0),n=J(0),o=0,p=0,q=0,r=0,s=0,t=J(0),u=J(0),v=J(0),w=J(0),x=J(0),y=0,z=0;c=C[a+64>>2];y=C[c+104>>2];o=C[c+4>>2];d=C[o+28>>2];i=C[d+(C[a+28>>2]<<2)>>2];C[a+36>>2]=i;z=Ce;g=C[o+4>>2];c=(g<<2)+15&-16;k=z-c|0;e=k;Ce=e;j=e-c|0;e=j;Ce=e;e=e-c|0;Ce=e;p=e-c|0;Ce=p;if((g|0)>0){l=i<<1&2147483646;c=0;while(1){g=c<<2;h=C[((C[(g+b|0)+4>>2]<<2)+b|0)+1028>>2]<<2;h=Fe[C[C[(C[(d+h|0)+800>>2]<<2)+317236>>2]+20>>2]](a,C[h+C[y+48>>2]>>2])|0;C[g+p>>2]=h;C[e+g>>2]=(h|0)!=0;We(C[g+C[a>>2]>>2],0,l);c=c+1|0;if((c|0)>2]){continue}break}}h=0;c=C[b+1156>>2];if((c|0)>0){while(1){l=(h<<2)+b|0;g=C[l+2184>>2];l=e+(C[l+1160>>2]<<2)|0;if(C[l>>2]|C[e+(g<<2)>>2]){C[l>>2]=1;C[e+(g<<2)>>2]=1}h=h+1|0;if((h|0)!=(c|0)){continue}break}}if(C[b>>2]>0){c=0;while(1){h=0;g=0;l=C[o+4>>2];if((l|0)>0){while(1){q=h<<2;if(C[(q+b|0)+4>>2]==(c|0)){l=g<<2;C[l+j>>2]=C[e+q>>2]!=0;C[k+l>>2]=C[q+C[a>>2]>>2];l=C[o+4>>2];g=g+1|0}h=h+1|0;if((l|0)>(h|0)){continue}break}}h=C[((c<<2)+b|0)+1092>>2]<<2;Fe[C[C[(C[(d+h|0)+1312>>2]<<2)+317244>>2]+28>>2]](a,C[h+C[y+52>>2]>>2],k,j,g)|0;c=c+1|0;if((c|0)>2]){continue}break}c=C[b+1156>>2]}if((c|0)>0){l=(i|0)/2|0;k=C[a>>2];while(1){e=c;c=c-1|0;if((i|0)>=2){g=(c<<2)+b|0;q=C[k+(C[g+2184>>2]<<2)>>2];r=C[k+(C[g+1160>>2]<<2)>>2];h=0;while(1){j=h<<2;g=j+q|0;f=G[g>>2];j=j+r|0;m=G[j>>2];a:{if(m>J(0)){if(f>J(0)){G[g>>2]=m-f;break a}G[g>>2]=m;G[j>>2]=m+f;break a}if(f>J(0)){G[g>>2]=m+f;break a}G[g>>2]=m;G[j>>2]=m-f}h=h+1|0;if((l|0)!=(h|0)){continue}break}}if((e|0)>1){continue}break}}b:{if(C[o+4>>2]<=0){break b}h=0;while(1){c=h<<2;e=C[((C[(c+b|0)+4>>2]<<2)+b|0)+1028>>2]<<2;Fe[C[C[(C[(d+e|0)+800>>2]<<2)+317236>>2]+24>>2]](a,C[e+C[y+48>>2]>>2],C[c+p>>2],C[c+C[a>>2]>>2])|0;h=h+1|0;c=C[o+4>>2];if((h|0)<(c|0)){continue}break}h=0;if((c|0)<=0){break b}while(1){j=C[C[((C[a+28>>2]<<2)+y|0)+12>>2]>>2];b=C[j>>2];q=b>>2;p=b>>1;c=p<<2;g=C[C[a>>2]+(h<<2)>>2];r=c+g|0;d=r-28|0;l=c+g|0;c=b&-4;b=l+c|0;e=b;i=c+C[j+8>>2]|0;c=i;while(1){k=e-16|0;G[k>>2]=J(J(-G[d+8>>2])*G[c+12>>2])-J(G[c+8>>2]*G[d>>2]);G[e-12>>2]=J(G[d>>2]*G[c+12>>2])-J(G[c+8>>2]*G[d+8>>2]);G[e-8>>2]=J(J(-G[d+24>>2])*G[c+4>>2])-J(G[c>>2]*G[d+16>>2]);G[e-4>>2]=J(G[d+16>>2]*G[c+4>>2])-J(G[c>>2]*G[d+24>>2]);c=c+16|0;e=k;d=d-32|0;if(g>>>0<=d>>>0){continue}break}d=r-32|0;c=b;while(1){e=i-4|0;k=i-8|0;G[c>>2]=J(G[d+16>>2]*G[e>>2])+J(G[d+24>>2]*G[k>>2]);G[c+4>>2]=J(G[d+16>>2]*G[k>>2])-J(G[e>>2]*G[d+24>>2]);e=i-12|0;i=i-16|0;G[c+8>>2]=J(G[d>>2]*G[e>>2])+J(G[d+8>>2]*G[i>>2]);G[c+12>>2]=J(G[d>>2]*G[i>>2])-J(G[e>>2]*G[d+8>>2]);c=c+16|0;d=d-32|0;if(g>>>0<=d>>>0){continue}break}Zv(j,l,p);r=C[j+8>>2];e=C[j>>2];d=r+(e<<2)|0;c=C[j+12>>2];j=g+(e<<1&-4)|0;i=j;e=g;while(1){k=j+(C[c>>2]<<2)|0;f=G[k+4>>2];s=j+(C[c+4>>2]<<2)|0;m=G[s+4>>2];n=J(J(f+m)*J(.5));t=G[k>>2];u=G[s>>2];v=J(t+u);w=G[d>>2];f=J(f-m);m=G[d+4>>2];x=J(J(v*w)+J(f*m));G[e>>2]=n+x;G[i-8>>2]=n-x;n=J(J(t-u)*J(.5));f=J(J(v*m)-J(w*f));G[e+4>>2]=n+f;G[i-4>>2]=f-n;k=j+(C[c+8>>2]<<2)|0;f=G[k+4>>2];s=j+(C[c+12>>2]<<2)|0;m=G[s+4>>2];n=J(J(f+m)*J(.5));t=G[k>>2];u=G[s>>2];v=J(t+u);w=G[d+8>>2];f=J(f-m);m=G[d+12>>2];x=J(J(v*w)+J(f*m));G[e+8>>2]=n+x;k=i-16|0;G[k>>2]=n-x;n=J(J(t-u)*J(.5));f=J(J(v*m)-J(w*f));G[e+12>>2]=n+f;G[i-12>>2]=f-n;c=c+16|0;d=d+16|0;e=e+16|0;i=k;if(e>>>0>>0){continue}break}d=r+(p<<2)|0;e=b;i=e;c=g;while(1){G[e-4>>2]=J(G[c>>2]*G[d+4>>2])-J(G[d>>2]*G[c+4>>2]);G[i>>2]=-J(J(G[c>>2]*G[d>>2])+J(G[c+4>>2]*G[d+4>>2]));G[e-8>>2]=J(G[c+8>>2]*G[d+12>>2])-J(G[d+8>>2]*G[c+12>>2]);G[i+4>>2]=-J(J(G[c+8>>2]*G[d+8>>2])+J(G[c+12>>2]*G[d+12>>2]));G[e-12>>2]=J(G[c+16>>2]*G[d+20>>2])-J(G[d+16>>2]*G[c+20>>2]);G[i+8>>2]=-J(J(G[c+16>>2]*G[d+16>>2])+J(G[c+20>>2]*G[d+20>>2]));e=e-16|0;G[e>>2]=J(G[c+24>>2]*G[d+28>>2])-J(G[d+24>>2]*G[c+28>>2]);G[i+12>>2]=-J(J(G[c+24>>2]*G[d+24>>2])+J(G[c+28>>2]*G[d+28>>2]));d=d+32|0;i=i+16|0;c=c+32|0;if(e>>>0>c>>>0){continue}break}e=g+(q<<2)|0;d=e;c=b;while(1){f=G[c-4>>2];G[e-4>>2]=f;G[d>>2]=-f;f=G[c-8>>2];G[e-8>>2]=f;G[d+4>>2]=-f;f=G[c-12>>2];G[e-12>>2]=f;G[d+8>>2]=-f;e=e-16|0;c=c-16|0;f=G[c>>2];G[e>>2]=f;G[d+12>>2]=-f;d=d+16|0;if(d>>>0>>0){continue}break}d=b;while(1){c=b-16|0;G[c>>2]=G[d+12>>2];G[b-12>>2]=G[d+8>>2];G[b-8>>2]=G[d+4>>2];G[b-4>>2]=G[d>>2];d=d+16|0;b=c;if(c>>>0>l>>>0){continue}break}h=h+1|0;if((h|0)>2]){continue}break}}Ce=z;return 0}function uh(a){var 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;b=C[a>>2];if(!b){s=a-92|0;while(1){b=C[s>>2];if(!b){return 84608}g=df(1,12);if(!g){C[a>>2]=84608;return 84608}e=Ce-48|0;Ce=e;C[e+8>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;A[e+24|0]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+28>>2]=0;C[e+32>>2]=0;c=Qf(b);A[e+40|0]=1;C[e+36>>2]=c;b=Of(b,1196445523);a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}A[e+24|0]=0;c=b;C[e+32>>2]=b;d=C[b+12>>2];C[e+4>>2]=d;f=C[b+16>>2];C[e+8>>2]=f+d;C[e+28>>2]=0;if(f>>>0>67108862){h=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}C[e+12>>2]=h;C[e+20>>2]=0;C[e>>2]=0;b:{c:{if(!d){break c}d:{e:{f:{g:{if(Ln(d,e)){break g}h:{if(D[e+24|0]|!C[e+28>>2]){break h}c=Pf(b);C[e+4>>2]=c;C[e+8>>2]=c+C[b+16>>2];if(!c){break h}while(1){A[e+24|0]=1;c=C[e+32>>2];d=C[c+12>>2];C[e+4>>2]=d;f=C[c+16>>2];C[e+8>>2]=f+d;C[e+28>>2]=0;if(f>>>0<=67108862){f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}else{h=1073741823}C[e+12>>2]=h;C[e+20>>2]=0;C[e>>2]=0;if(!d){break c}if(Ln(d,e)){break g}if(D[e+24|0]|!C[e+28>>2]){break h}c=Pf(b);C[e+4>>2]=c;C[e+8>>2]=c+C[b+16>>2];if(c){continue}break}}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;break f}if(!C[e+28>>2]){break e}C[e+28>>2]=0;c=Ln(d,e);d=C[e+28>>2];Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;if(d){break f}if(c){break d}}Ue(b);b=84608;break b}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}break b}Ue(c);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}C[g>>2]=b;h=g;c=b?b:84608;c=F[c+16>>2]<10?84608:C[c+12>>2];d=D[c+8|0]|D[c+9|0]<<8;if(d){c=c+((d<<8|d>>>8)&65535)|0}else{c=84608}c=D[c|0]|D[c+1|0]<<8;c=(c<<8|c>>>8)&65535;C[h+4>>2]=c;d=df(c,24);C[g+8>>2]=d;if(!d){C[g+4>>2]=0;Ue(b);C[g>>2]=0;C[g>>2]=84608;c=C[g+4>>2]}if(c){l=0;while(1){b=84608;c=84608;j=C[g+8>>2]+I(l,24)|0;d=C[g>>2];d=d?d:84608;d=F[d+16>>2]<10?84608:C[d+12>>2];f=D[d+8|0]|D[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=D[c|0]|D[c+1|0]<<8;i:{if(((d<<8|d>>>8)&65535)>>>0<=l>>>0){break i}d=(l<<1)+c|0;d=D[d+2|0]|D[d+3|0]<<8;if(!d){break i}b=((d<<8|d>>>8)&65535)+c|0}C[j>>2]=0;C[j+4>>2]=0;C[j+8>>2]=0;C[e+4>>2]=j;C[e>>2]=0;o=0;f=b;b=D[b+4|0]|D[b+5|0]<<8;if(b){c=D[f|0]|D[f+1|0]<<8;t=(c<<8|c>>>8)&65535;q=f+4|0;b=(b<<8|b>>>8)&65535;u=b>>>0<=1?1:b;while(1){b=D[q|0]|D[q+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=o>>>0?84608:((o<<1)+q|0)+2|0;b=D[b|0]|D[b+1|0]<<8;if(b){c=f+((b<<8|b>>>8)&65535)|0}else{c=84608}b=Zs(c,e,t);k=C[e+4>>2];j:{k:{l:{c=D[b|0]|D[b+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break k;case 0:break l;default:break j}}d=D[b+2|0]|D[b+3|0]<<8;if(!d){break j}c=b+4|0;m=(d<<8|d>>>8)&65535;n=m&1;d=C[k>>2];p=m-1|0;m:{if(!p){b=c;break m}r=m&65534;i=0;b=c;while(1){h=d;d=D[b|0]|D[b+1|0]<<8;h=h|1<<(d>>>12|d<<4);d=D[b+2|0]|D[b+3|0]<<8;d=h|1<<(d>>>12|d<<4);b=b+4|0;i=i+2|0;if((r|0)!=(i|0)){continue}break}}if(n){b=D[b|0]|D[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}C[k>>2]=d;n=m&3;d=C[k+4>>2];p=p>>>0<3;n:{if(p){b=c;break n}r=m&65532;i=0;b=c;while(1){d=1<>2]=d;b=C[k+8>>2];if(!p){i=m&65532;d=0;while(1){b=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|b|1<<((D[c+2|0]|D[c+3|0]<<8)>>>1)|1<<((D[c+4|0]|D[c+5|0]<<8)>>>1)|1<<((D[c+6|0]|D[c+7|0]<<8)>>>1);c=c+8|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}d=0;if(n){while(1){b=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}C[k+8>>2]=b;break j}Dk(b,k)}o=o+1|0;if((u|0)!=(o|0)){continue}break}}C[j+20>>2]=0;C[j+12>>2]=0;C[j+16>>2]=0;C[e+4>>2]=j+12;C[e>>2]=0;b=D[f+4|0]|D[f+5|0]<<8;if(b){c=D[f|0]|D[f+1|0]<<8;k=(c<<8|c>>>8)&65535;c=f+4|0;b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){d=D[c|0]|D[c+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=b>>>0?84608:(c+(b<<1)|0)+2|0;d=D[d|0]|D[d+1|0]<<8;if(d){h=f+((d<<8|d>>>8)&65535)|0}else{h=84608}ct(h,e,k);b=b+1|0;if((j|0)!=(b|0)){continue}break}}l=l+1|0;if(l>>>0>2]){continue}break}}Ce=e+48|0;if(!C[a>>2]){C[a>>2]=g;return g}if(C[g+4>>2]){b=0;while(1){c=C[g+8>>2]+I(b,24)|0;Re(C[c+20>>2]);C[c+20>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}Re(C[g+8>>2]);Ue(C[g>>2]);Re(g);b=C[a>>2];if(!b){continue}break}}return b}function Uf(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;k=Ce-96|0;Ce=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;z=r;R=i>>>16&32767;S=e>>>16&32767;a:{b:{if(R-32767>>>0>4294934529&S-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=h;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=L(i)+32|0;i=L(j?c:r);i=s+((i|0)==32?e:i)|0;Hg(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=C[k+88>>2];z=C[k+92>>2];c=C[k+84>>2];b=C[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=L(e)+32|0;e=L(i?g:u);e=r+((e|0)==32?j:e)|0;Hg(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=C[k+72>>2];u=C[k+76>>2];f=C[k+64>>2];g=C[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;K=c;s=mT(v,e,c,0);e=Ee;y=e;M=f;q=b;b=mT(f,0,b,0);i=b+s|0;f=Ee+e|0;c=b>>>0>i>>>0?f+1|0:f;j=0;b=mT(q,l,v,l);p=j+b|0;f=i;e=f+Ee|0;e=b>>>0>p>>>0?e+1|0:e;r=e;N=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0>>0;O=d;w=mT(v,l,d,0);P=Ee;b=mT(K,l,M,l);x=b+w|0;j=Ee+P|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=mT(A,0,q,l);B=d+x|0;f=Ee+j|0;f=d>>>0>B>>>0?f+1|0:f;D=f;d=(c|0)==(y|0)&i>>>0>>0|c>>>0>>0;E=c+B|0;f=d+f|0;f=c>>>0>E>>>0?f+1|0:f;u=f;g=E;c=f;F=z|65536;z=mT(v,l,F,n);Q=Ee;d=mT(O,m,M,l);G=d+z|0;e=Ee+Q|0;e=d>>>0>G>>>0?e+1|0:e;i=e;H=b|-2147483648;b=mT(H,0,q,l);I=b+G|0;f=Ee+e|0;f=b>>>0>I>>>0?f+1|0:f;b=mT(A,m,K,l);y=b+I|0;J=f;f=f+Ee|0;s=b>>>0>y>>>0?f+1|0:f;b=0;q=b+g|0;e=c+y|0;v=b>>>0>q>>>0?e+1|0:e;f=v;b=q+N|0;c=b>>>0>>0?f+1|0:f;t=((S+R|0)+t|0)-16383|0;d=mT(H,m,K,l);h=Ee;e=mT(F,m,M,l);g=e+d|0;f=Ee+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0>>0;h=f;e=mT(A,m,O,m);d=e+g|0;f=Ee+f|0;f=d>>>0>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0>>0|f>>>0>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=mT(H,m,F,m);h=h+g|0;f=Ee+f|0;N=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(P|0)&w>>>0>x>>>0|j>>>0

>>0;f=0;j=(j|0)==(D|0)&x>>>0>B>>>0|j>>>0>D>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0>>0|e>>>0>>0;e=d;d=d+N|0;f=e>>>0>d>>>0?f+1|0:f;j=d;g=f;e=mT(A,m,F,m);l=Ee;d=mT(H,m,O,m);h=d+e|0;f=Ee+l|0;f=d>>>0>h>>>0?f+1|0:f;d=f;f=(l|0)==(f|0)&e>>>0>h>>>0|f>>>0>>0;x=d+j|0;e=f+g|0;e=d>>>0>x>>>0?e+1|0:e;l=x;g=e;e=0;d=e+w|0;f=h+n|0;f=d>>>0>>0?f+1|0:f;e=f;h=(n|0)==(f|0)&d>>>0>>0|f>>>0>>0;f=g;g=h+l|0;f=g>>>0>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(J|0)&y>>>0>>0|s>>>0>>0;d=(i|0)==(Q|0)&z>>>0>G>>>0|i>>>0>>0;i=(i|0)==(J|0)&G>>>0>I>>>0|i>>>0>J>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(D|0)&B>>>0>E>>>0|u>>>0>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0>>0|e>>>0>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;Hg(k+48|0,p,r,b,c,f);Hg(k+32|0,d,e,h,i,f);ej(k+16|0,p,r,b,c,g);ej(k,d,e,h,i,g);p=C[k+32>>2]|C[k+16>>2]|(C[k+48>>2]|C[k+56>>2]|(C[k+52>>2]|C[k+60>>2]))!=0;r=C[k+36>>2]|C[k+20>>2];b=C[k+40>>2]|C[k+24>>2];c=C[k+44>>2]|C[k+28>>2];d=C[k>>2];e=C[k+4>>2];g=C[k+8>>2];f=C[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;c=b?e:e+1|0;d=(e|0)==(c|0)&b>>>0>>0|c>>>0>>0;e=o;m=d+m|0;o=m>>>0>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}j=o;f=e;b=d&1;c=b;b=b+d|0;c=c>>>0>b>>>0?f+1|0:f;d=(f|0)==(c|0)&b>>>0>>0|c>>>0>>0;m=d+m|0;o=d>>>0>m>>>0?j+1|0:j}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=m;C[a+12>>2]=o;Ce=k+96|0}function fn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-48|0;Ce=j;g=C[b+16>>2];f=C[b+20>>2];if(C[a+408>>2]){e=C[a+180>>2];d=C[a+392>>2];a:{if(C[a+416>>2]){i=C[a+404>>2];k=C[a+396>>2];break a}i=C[a+404>>2];k=C[a+464>>2]-(i+C[a+396>>2]|0)|0}Fe[e|0](d,k,C[a+400>>2],i);d=C[a+400>>2];b:{if(!d){break b}e=C[a+404>>2];if(!e){break b}G[a+472>>2]=J(2)/J(d|0);d=C[a+416>>2];G[a+524>>2]=d?J(-1):J(1);G[a+492>>2]=(d?J(2):J(-2))/J(e|0)}C[a+408>>2]=0}if(C[a+424>>2]){Fe[C[(C[a+428>>2]?76:64)+a>>2]](3089);C[a+424>>2]=0}if(!(!C[a+428>>2]|!C[a+432>>2])){e=C[a+136>>2];d=C[a+436>>2]+C[a+392>>2]|0;c:{if(C[a+416>>2]){i=C[a+448>>2];k=C[a+440>>2]+C[a+396>>2]|0;break c}i=C[a+448>>2];k=C[a+464>>2]-(i+(C[a+396>>2]+C[a+440>>2]|0)|0)|0}Fe[e|0](d,k,C[a+444>>2],i);C[a+432>>2]=0}d:{e:{f:{g:{if(C[a+452>>2]!=((f|0)!=0|0)){if(f){break f}Fe[C[a+68>>2]](2);C[a+452>>2]=0;break g}if(f){break e}}i=12;d=0;break d}Fe[C[a+80>>2]](2);C[a+452>>2]=1}i=20;Fe[C[a+176>>2]](2,2,5126,0,20,C[b+4>>2]+12|0);d=C[f+16>>2]}h=-1;h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(c-1|0){case 3:c=5;break n;case 4:c=4;break n;case 5:c=C[95623];c=(c|0)==3?(d|0)<577?1:2:c;if(c>>>0<3){break p}b=C[95623];C[j>>2]=(b|0)==3?(d|0)<577?1:2:b;Qe(34646,j);break l;case 6:c=9;r:{s:{e=C[95623];switch(((e|0)==3?(d|0)<577?1:2:e)|0){case 0:break n;case 2:break r;case 1:break s;default:break m}}c=bg(24710,0)?11:10;break n}c=bg(24710,0)?13:12;break n;case 7:c=C[95623];c=(c|0)==3?(d|0)<577?1:2:c;if(c>>>0<3){break o}b=C[95623];C[j+32>>2]=(b|0)==3?(d|0)<577?1:2:b;Qe(34646,j+32|0);break l;case 0:case 1:case 2:break n;case 8:break q;default:break l}}c=17;break n}c=c+6|0;break n}c=c+14|0}f=C[a+236>>2];if(!f){f=ol(a,0,35633);if(!f){break l}}e=C[((c<<2)+a|0)+236>>2];if(!e){e=ol(a,c,35632);if(!e){break l}}c=C[a+468>>2];if(!(!(!c|C[c+4>>2]!=(f|0))&C[c+8>>2]==(e|0))){t:{u:{v:{w:{d=C[a+312>>2];if(d){c=d;while(1){if(C[c+4>>2]==(f|0)&C[c+8>>2]==(e|0)){break w}c=C[c+144>>2];if(c){continue}break}}c=If(1,148);if(c){break v}_e(0);break l}if((c|0)==(d|0)){break u}h=C[c+144>>2];if(h){C[h+140>>2]=C[c+140>>2]}e=C[c+140>>2];if(e){C[e+144>>2]=h}C[c+144>>2]=d;C[c+140>>2]=0;C[d+140>>2]=c;C[a+312>>2]=c;break t}C[c+8>>2]=e;C[c+4>>2]=f;d=Fe[C[a+44>>2]]()|0;C[c>>2]=d;Fe[C[a+12>>2]](d,f);Fe[C[a+12>>2]](C[c>>2],e);Fe[C[a+16>>2]](C[c>>2],0,11964);Fe[C[a+16>>2]](C[c>>2],1,9293);Fe[C[a+16>>2]](C[c>>2],2,19630);Fe[C[a+124>>2]](C[c>>2]);Fe[C[a+108>>2]](C[c>>2],35714,j+44|0);d=C[c>>2];if(!C[j+44>>2]){Fe[C[a+52>>2]](d);if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}Qe(12941,0);break l}l=c,m=Fe[C[a+120>>2]](d,12048)|0,C[l+12>>2]=m;l=c,m=Fe[C[a+120>>2]](C[c>>2],2882)|0,C[l+24>>2]=m;l=c,m=Fe[C[a+120>>2]](C[c>>2],2937)|0,C[l+20>>2]=m;l=c,m=Fe[C[a+120>>2]](C[c>>2],16601)|0,C[l+16>>2]=m;Fe[C[a+172>>2]](C[c>>2]);d=C[c+24>>2];if((d|0)!=-1){Fe[C[a+160>>2]](d,2)}d=C[c+20>>2];if((d|0)!=-1){Fe[C[a+160>>2]](d,1)}d=C[c+16>>2];if((d|0)!=-1){Fe[C[a+160>>2]](d,0)}d=C[c+12>>2];if((d|0)!=-1){Fe[C[a+168>>2]](d,1,0,c+76|0)}d=C[a+312>>2];x:{if(d){C[c+144>>2]=d;d=d+140|0;break x}d=a+316|0}C[d>>2]=c;C[a+312>>2]=c;d=C[a+308>>2];C[a+308>>2]=d+1;if((d|0)<8){break t}Fe[C[a+52>>2]](C[C[a+316>>2]>>2]);d=C[C[a+316>>2]+140>>2];C[a+316>>2]=d;if(d){d=C[d+144>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}C[C[a+316>>2]+144>>2]=0}C[a+308>>2]=C[a+308>>2]-1;break t}c=d}Fe[C[a+172>>2]](C[c>>2]);C[a+468>>2]=c}y:{if(C[c+12>>2]==-1){break y}d=c+76|0;e=a+472|0;if(!sg(d,e,64)){break y}Fe[C[a+168>>2]](C[c+12>>2],1,0,e);gf(d,e,64)}if(C[a+420>>2]==(g|0)){break i}if(g){break k}Fe[C[a+64>>2]](3042);break j}b=C[95623];C[j+16>>2]=(b|0)==3?(d|0)<577?1:2:b;Qe(34646,j+16|0)}C[a+468>>2]=0;break h}Fe[C[a+76>>2]](3042);f=C[a+28>>2];c=Nq(g)-1|0;if(c>>>0<=9){k=C[(c<<2)+184404>>2]}else{k=1280}c=Mq(g)-1|0;if(c>>>0<=9){d=C[(c<<2)+184404>>2]}else{d=1280}c=Kq(g)-1|0;if(c>>>0<=9){c=C[(c<<2)+184404>>2]}else{c=1280}h=Jq(g)-1|0;if(h>>>0<=9){h=C[(h<<2)+184404>>2]}else{h=1280}Fe[f|0](k,d,c,h);e=C[a+24>>2];if(!(279>>>g&1)|g>>>0>=9){c=g&15}else{c=1}c=c-1|0;if(c>>>0<=2){c=C[(c<<2)+184444>>2]}else{c=1280}if(!(279>>>g&1)|g>>>0>=9){d=g>>>16&15}else{d=1}d=d-1|0;if(d>>>0<=2){d=C[(d<<2)+184444>>2]}else{d=1280}Fe[e|0](c,d)}C[a+420>>2]=g}h=0;b=C[b+4>>2];Fe[C[a+176>>2]](0,2,5126,0,i,b);Fe[C[a+176>>2]](1,4,5121,1,i,b+8|0)}Ce=j+48|0;return h}function wG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=C[c+92>>2];g=1;a=0;l=C[c+80>>2];b=!l;while(1){a:{b:{c:{if(!b){a=D[k+73056|0]==2?f:a;d=k<<1;h=B[d+72640>>1]+71088|0;b=A[k+72752|0];e=D[(I(f,20)+j|0)+18|0];k=D[d+70960|0];if(e>>>0>=k>>>0){b=e>>>0>D[d+70961|0]?b:e-k|0}b=A[b+h|0];break c}if(!k){break b}f=l;b=B[(k<<1)+72944>>1]-1|0}k=A[b+72816|0];d=b&31;d:{if(((b&63)>>>0>=32?536674303>>>d|0:((1<>>d)&1){break d}e:{switch(A[b+72880|0]-3|0){case 3:f:{if(f+1>>>0<=a>>>0){break f}e=g<<4;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break f}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 1:g:{if(f+1>>>0<=a>>>0){break g}e=g<<4|3;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break g}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 7:h:{if(f+1>>>0<=a>>>0){break h}e=g<<4|1;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break h}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 5:i:{if(f+1>>>0<=a>>>0){break i}e=g<<4|2;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break i}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 0:j:{if(f+1>>>0<=a>>>0){break j}e=g<<4|3;b=a;h=f-b|0;i=h+1&7;if(i){d=0;while(1){A[(I(b,20)+j|0)+15|0]=e;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(h>>>0<=6){break j}while(1){d=I(b,20)+j|0;A[d+35|0]=e;A[d+15|0]=e;A[d+55|0]=e;A[d+75|0]=e;A[d+95|0]=e;A[d+115|0]=e;A[d+135|0]=e;A[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=16){break d}g=1;break d;case 2:e=f-1|0;k:{if(a>>>0>=f>>>0){break k}h=g<<4;d=a;i=f-d&7;if(i){b=0;while(1){A[(I(d,20)+j|0)+15|0]=h;d=d+1|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){b=I(d,20)+j|0;A[b+35|0]=h;A[b+15|0]=h;A[b+55|0]=h;A[b+75|0]=h;A[b+95|0]=h;A[b+115|0]=h;A[b+135|0]=h;A[b+155|0]=h;d=d+8|0;if((f|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)!=16){f=e;break d}g=1;f=e;break d;case 4:e=f-1|0;l:{if(a>>>0>=f>>>0){break l}h=g<<4|2;d=a;i=f-d&7;if(i){b=0;while(1){A[(I(d,20)+j|0)+15|0]=h;d=d+1|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break l}while(1){b=I(d,20)+j|0;A[b+35|0]=h;A[b+15|0]=h;A[b+55|0]=h;A[b+75|0]=h;A[b+95|0]=h;A[b+115|0]=h;A[b+135|0]=h;A[b+155|0]=h;d=d+8|0;if((f|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)!=16){f=e;break d}g=1;f=e;break d;case 6:break e;default:break d}}m:{if(a>>>0>=f>>>0){break m}e=g<<4|3;d=a;h=f-d&7;if(h){b=0;while(1){A[(I(d,20)+j|0)+15|0]=e;d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){b=I(d,20)+j|0;A[b+35|0]=e;A[b+15|0]=e;A[b+55|0]=e;A[b+75|0]=e;A[b+95|0]=e;A[b+115|0]=e;A[b+135|0]=e;A[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}g=g+1|0;if((g|0)==16){g=1}f=f-1|0}a=D[k+73120|0]!=1?a:0;f=f+1|0;if((l|0)!=(f|0)){break a}b=1;continue}b=C[c+80>>2];n:{if(!b){break n}a=b-1|0;f=0;d=C[c+92>>2];e=D[d+15|0];while(1){o:{if((a|0)==(f|0)){f=b;break o}f=f+1|0;if((e|0)==D[(d+I(f,20)|0)+15|0]){continue}}break}if(!b){break n}k=0;g=b;while(1){a=f;if(f-k>>>0>=2){Sf(c,k,a);g=C[c+80>>2]}f=a+1|0;d=f>>>0>>0?g:f;e=d-1|0;k=C[c+92>>2];l=D[(k+I(a,20)|0)+15|0];f=a;while(1){p:{if((e|0)==(f|0)){f=d;break p}f=f+1|0;if((l|0)==D[(k+I(f,20)|0)+15|0]){continue}}break}k=a;if(a>>>0>>0){continue}break}}return}b=0;continue}}function Mp(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,E=0,F=0,G=0,H=0,I=0,J=0;k=Ce-192|0;Ce=k;C[k+144>>2]=0;C[k+148>>2]=0;C[k+152>>2]=0;C[k+156>>2]=0;C[k+160>>2]=0;C[k+164>>2]=0;C[k+168>>2]=0;C[k+172>>2]=0;C[k+176>>2]=0;C[k+180>>2]=0;C[k+184>>2]=0;C[k+188>>2]=0;C[k+128>>2]=0;C[k+132>>2]=0;C[k+136>>2]=0;C[k+140>>2]=0;l=a;m=b;p=m&3;if(p){while(1){n=(k+128|0)+(C[l>>2]<<2)|0;C[n>>2]=C[n>>2]+1;m=m-1|0;l=l+4|0;r=r+1|0;if((p|0)!=(r|0)){continue}break}}if(b-1>>>0>=3){while(1){p=k+128|0;n=p+(C[l>>2]<<2)|0;C[n>>2]=C[n>>2]+1;n=p+(C[l+4>>2]<<2)|0;C[n>>2]=C[n>>2]+1;n=p+(C[l+8>>2]<<2)|0;C[n>>2]=C[n>>2]+1;p=p+(C[l+12>>2]<<2)|0;C[p>>2]=C[p>>2]+1;l=l+16|0;m=m-4|0;if(m){continue}break}}a:{if(C[k+128>>2]==(b|0)){C[f>>2]=0;C[g>>2]=0;break a}l=C[g>>2];o=1;b:{c:{d:{e:{f:{g:{h:{m=C[k+132>>2];if(m){break h}o=2;if(C[k+136>>2]){break h}o=3;if(C[k+140>>2]){break h}o=4;if(C[k+144>>2]){break h}o=5;if(C[k+148>>2]){break h}o=6;if(C[k+152>>2]){break h}o=7;if(C[k+156>>2]){break h}o=8;if(C[k+160>>2]){break h}o=9;if(C[k+164>>2]){break h}o=10;if(C[k+168>>2]){break h}o=11;if(C[k+172>>2]){break h}o=12;if(C[k+176>>2]){break h}o=13;if(C[k+180>>2]){break h}o=14;if(C[k+184>>2]){break h}if(!C[k+188>>2]){break g}o=15;l=l>>>0<=15?15:l;q=15;z=1;break e}l=l>>>0>o>>>0?l:o;if(!C[k+188>>2]){break f}q=15;t=l>>>0>=15?15:l;C[g>>2]=t;v=1<>>0<=16?16:l}q=14;if(C[k+184>>2]){break d}q=13;if(C[k+180>>2]){break d}q=12;if(C[k+176>>2]){break d}q=11;if(C[k+172>>2]){break d}q=10;if(C[k+168>>2]){break d}q=9;if(C[k+164>>2]){break d}q=8;if(C[k+160>>2]){break d}q=7;if(C[k+156>>2]){break d}q=6;if(C[k+152>>2]){break d}q=5;if(C[k+148>>2]){break d}q=4;if(C[k+144>>2]){break d}q=3;if(C[k+140>>2]){break d}q=2;if(C[k+136>>2]){break d}q=(m|0)!=0;z=!m}t=l>>>0>>0?l:q;C[g>>2]=t;v=1<>>0>>0?l:q;C[g>>2]=t;z=1;v=1<>>0>=q>>>0){break b}}l=o;while(1){g=v-C[(k+128|0)+(l<<2)>>2]|0;if((g|0)<0){E=-3;break a}z=1;v=g<<1;l=l+1|0;if((q|0)!=(l|0)){continue}break}}E=-3;g=(k+128|0)+(q<<2)|0;F=C[g>>2];if((v-F|0)<0){break a}C[g>>2]=v;C[k+4>>2]=0;g=q-1|0;i:{if(!g){break i}l=k+128|4;n=g&3;m=k|8;j:{if(q-2>>>0<3){r=0;break j}g=g&-4;r=0;p=0;while(1){s=C[l>>2]+r|0;C[m>>2]=s;s=s+C[l+4>>2]|0;C[m+4>>2]=s;s=s+C[l+8>>2]|0;C[m+8>>2]=s;r=s+C[l+12>>2]|0;C[m+12>>2]=r;m=m+16|0;l=l+16|0;p=p+4|0;if((g|0)!=(p|0)){continue}break}}if(!n){break i}while(1){r=C[l>>2]+r|0;C[m>>2]=r;m=m+4|0;l=l+4|0;u=u+1|0;if((n|0)!=(u|0)){continue}break}}g=b>>>0<=1?1:b;p=g&1;l=0;if(b>>>0>=2){g=g&-2;m=0;while(1){b=C[a>>2];if(b){n=(b<<2)+k|0;b=C[n>>2];C[n>>2]=b+1;C[(b<<2)+j>>2]=l}b=C[a+4>>2];if(b){n=(b<<2)+k|0;b=C[n>>2];C[n>>2]=b+1;C[(b<<2)+j>>2]=l|1}a=a+8|0;l=l+2|0;m=m+2|0;if((g|0)!=(m|0)){continue}break}}k:{if(!p){break k}a=C[a>>2];if(!a){break k}b=(a<<2)+k|0;a=C[b>>2];C[b>>2]=a+1;C[(a<<2)+j>>2]=l}C[k+64>>2]=0;a=C[(q<<2)+k>>2];C[k>>2]=0;if(o>>>0<=q>>>0){p=0-t|0;I=(a<<2)+j|0;g=0;u=0;a=0;l=-1;while(1){G=(k+128|0)+(o<<2)|0;x=C[G>>2];if(x){J=1<>>0<=x>>>0){break m}g=q-p|0;u=g>>>0>>0?g:t;if(u>>>0<=b>>>0){break m}m=b+1|0;if(u>>>0<=m>>>0){break m}g=t>>>0>>0?t:B;r=l-x|0;l=G;while(1){r=r<<1;y=C[l+4>>2];if(r>>>0<=y>>>0){break m}l=l+4|0;r=r-y|0;m=m+1|0;if(u>>>0>m>>>0){continue}break}m=g}g=1<>2];y=g+r|0;if(y>>>0>1440){break a}l=n+1|0;H=l<<2;u=(r<<3)+h|0;C[H+(k- -64|0)>>2]=u;C[i>>2]=y;n:{if(l){C[k+H>>2]=a;r=C[(k- -64|0)+(n<<2)>>2];s=a>>>s|0;n=r+(s<<3)|0;A[n+1|0]=t;A[n|0]=m;w=(u-r>>3)-s|0;C[n+4>>2]=w;break n}C[f>>2]=u}B=B-t|0;s=p;n=l;m=p+t|0;if((o|0)>(m|0)){continue}break}}n=192;o:{if(j>>>0>=I>>>0){break o}w=C[j>>2];if(w>>>0>>0){n=w>>>0>=256?96:0;j=j+4|0;break o}j=j+4|0;m=w-c<<2;n=D[m+e|0]+80|0;w=C[d+m>>2]}m=a>>>p|0;if(m>>>0>>0){r=1<>2]=w;A[s+1|0]=b;A[s|0]=n;m=m+r|0;if(m>>>0>>0){continue}break}}m=J;if(m&a){while(1){a=a^m;m=m>>>1|0;if(a&m){continue}break}}x=x-1|0;a=a^m;if(C[(l<<2)+k>>2]!=(a&(-1<>2]!=((-1<>2];C[a+40>>2]=E[b+68>>1];if(!Km(b)){Py(a,b);c=(C[C[a>>2]+12>>2]<<3)+204144|0;f=C[c>>2];if((f|0)!=759){x=a+1616|0;y=a+44|0;while(1){t=c;j=f+203376|0;c=D[j|0];a:{if(!c){break a}s=E[t+4>>1];m=s&2;r=1;u=s&1;p=0;q=0;while(1){f=c&255;j=j+1|0;if(c<<24>>24<0){c=f>>>0<240;e=f>>>0<224;d=e?1:c?2:3;f=(e?31:c?15:7)&f;h=0;c=j;while(1){f=D[c|0]&63|f<<6;c=c+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}j=d+j|0}b:{if((f|0)==124){r=0;break b}c=0;d=C[C[a+36>>2]>>2];c:{if(!d){break c}d=C[d+92>>2];if(!d){break c}c=Fe[C[C[d+12>>2]+12>>2]](d,f)|0}if(!c){break b}if($h(b,c,1)){break b}c=C[b+84>>2];if(B[c+110>>1]<=0){break b}d=0;v=B[c+108>>1];d:{if((v|0)<=0){c=0;break d}z=C[c+120>>2];k=C[c+112>>2];f=-1;l=0;c=0;while(1){h=B[(l<<1)+z>>1];e:{if((h|0)<=(d|0)){break e}if(m){if(u){if((h-d|0)+1&1){e=C[k+(d<<3)>>2];g=(f|0)<0|(e|0)>(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[k+(e<<3)>>2];g=g|(f|0)>(c|0);n=g?e:d;d=e+1|0;o=C[k+(d<<3)>>2];g=g?f:c;c=(n|0)<0|(o|0)>(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}break e}if((h-d|0)+1&1){e=C[k+(d<<3)>>2];g=(f|0)<0|(e|0)<(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[k+(e<<3)>>2];g=g|(f|0)<(c|0);n=g?e:d;d=e+1|0;o=C[k+(d<<3)>>2];g=g?f:c;c=(n|0)<0|(o|0)<(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}break e}if(u){if((h-d|0)+1&1){e=C[(k+(d<<3)|0)+4>>2];g=(f|0)<0|(e|0)>(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[(k+(e<<3)|0)+4>>2];g=g|(f|0)>(c|0);n=g?e:d;d=e+1|0;o=C[(k+(d<<3)|0)+4>>2];g=g?f:c;c=(n|0)<0|(o|0)>(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}break e}if((h-d|0)+1&1){e=C[(k+(d<<3)|0)+4>>2];g=(f|0)<0|(e|0)<(c|0);f=g?d:f;c=g?e:c;e=d+1|0}else{e=d}if((d|0)==(h|0)){break e}while(1){d=f;g=(f|0)<0;f=C[(k+(e<<3)|0)+4>>2];g=g|(f|0)<(c|0);n=g?e:d;d=e+1|0;o=C[(k+(d<<3)|0)+4>>2];g=g?f:c;c=(n|0)<0|(o|0)<(g|0);f=c?d:n;c=c?o:g;e=e+2|0;if((d|0)!=(h|0)){continue}break}}d=h+1|0;l=l+1|0;if((v|0)!=(l|0)){continue}break}}C[(r?(i+208|0)+(p<<2)|0:(q<<2)+i|0)>>2]=c;p=p+r|0;q=!r+q|0}c=D[j|0];if(c){continue}break}if(!(p|q)){break a}j=m?y:x;f:{if(p>>>0<2){break f}d=1;c=p-1|0;k=c&1;if((p|0)!=2){r=c&-2;f=0;while(1){h=C[(i+208|0)+(d<<2)>>2];c=d;while(1){e=c-1|0;l=(i+208|0)+(e<<2)|0;m=C[l>>2];if((m|0)>(h|0)){C[(i+208|0)+(c<<2)>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}c=d+1|0;h=C[(i+208|0)+(c<<2)>>2];while(1){e=c-1|0;l=(i+208|0)+(e<<2)|0;m=C[l>>2];if((m|0)>(h|0)){C[(i+208|0)+(c<<2)>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}d=d+2|0;f=f+2|0;if((r|0)!=(f|0)){continue}break}}if(!k){break f}e=C[(i+208|0)+(d<<2)>>2];while(1){c=d-1|0;f=(i+208|0)+(c<<2)|0;h=C[f>>2];if((h|0)<=(e|0)){break f}C[(i+208|0)+(d<<2)>>2]=h;C[f>>2]=e;d=c;if(c){continue}break}}g:{if(q>>>0<2){break g}d=1;c=q-1|0;k=c&1;if((q|0)!=2){r=c&-2;f=0;while(1){h=C[(d<<2)+i>>2];c=d;while(1){e=c-1|0;l=(e<<2)+i|0;m=C[l>>2];if((m|0)>(h|0)){C[(c<<2)+i>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}c=d+1|0;h=C[(c<<2)+i>>2];while(1){e=c-1|0;l=(e<<2)+i|0;m=C[l>>2];if((m|0)>(h|0)){C[(c<<2)+i>>2]=m;C[l>>2]=h;c=e;if(c){continue}}break}d=d+2|0;f=f+2|0;if((r|0)!=(f|0)){continue}break}}if(!k){break g}e=C[(d<<2)+i>>2];while(1){c=d-1|0;f=(c<<2)+i|0;h=C[f>>2];if((h|0)<=(e|0)){break g}C[(d<<2)+i>>2]=h;C[f>>2]=e;d=c;if(c){continue}break}}c=C[j+216>>2];C[j+216>>2]=c+1;c=I(c,28)+j|0;d=C[(i+208|0)+(p<<1&-4)>>2];h:{i:{if(!q){break i}d=C[(q<<1&-4)+i>>2];if(!p){break i}d=C[(i+208|0)+(p<<1&-4)>>2];C[c+220>>2]=d;e=C[(q<<1&-4)+i>>2];C[c+232>>2]=e;if(((d|0)<=(e|0)^s)&1|(d|0)==(e|0)){break h}d=(d+e|0)/2|0}C[c+232>>2]=d;C[c+220>>2]=d}C[c+244>>2]=s<<1&2}c=t+8|0;f=C[t+8>>2];if((f|0)!=759){continue}break}}c=48;e=0;h=0;while(1){j:{d=c;c=0;j=C[C[a+36>>2]>>2];k:{if(!j){break k}j=C[j+92>>2];if(!j){break k}c=Fe[C[C[j+12>>2]+12>>2]](j,d)|0}l:{if(!c){break l}if(il(b,c,2051,i+208|0)){break l}j=h&255;h=1;c=C[i+208>>2];if(!j){e=c;break l}if((c|0)==(e|0)){break l}f=0;break j}f=1;c=d+1|0;if((c|0)!=58){continue}}break}A[a+32|0]=f}qj(b,w);Ce=i+416|0;return 0}function yi(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,o=0;m=Ce-16|0;Ce=m;g=C[a+40>>2];a:{if(C[a+20>>2]|!g){break a}C[a+40>>2]=C[g+32>>2];k=C[a+4>>2];C[g+32>>2]=0;C[g+4>>2]=k;h=C[g>>2];C[a+4>>2]=h;if((h|0)==(k|0)){break a}c=h;b:{if(b){c=0;i=a+56|0;if(C[i+32>>2]){j=C[g+4>>2];d=C[g>>2];c:{if((j|0)==(d|0)){break c}l=j-d|0;n=l&3;if(j+(d^-1)>>>0>=3){l=l&-4;j=0;while(1){f=I(A[d+(c|3)|0],-1640531535)+I(I(A[d+(c|2)|0],-1640531535)+I(I(A[d+(c|1)|0],-1640531535)+I(I(A[c+d|0],-1640531535)+I(f,31)|0,31)|0,31)|0,31)|0;c=c+4|0;j=j+4|0;if((l|0)!=(j|0)){continue}break}}if(!n){break c}while(1){f=I(A[c+d|0],-1640531535)+I(f,31)|0;c=c+1|0;o=o+1|0;if((n|0)!=(o|0)){continue}break}}j=C[g+12>>2]<<4;d:{if(!j){c=0;break d}d=C[g+16>>2];c=0;while(1){c=I(A[d+(e|3)|0],-1640531535)+I(I(A[d+(e|2)|0],-1640531535)+I(I(A[d+(e|1)|0],-1640531535)+I(I(A[d+e|0],-1640531535)+I(c,31)|0,31)|0,31)|0,31)|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}d=Lq(i,g,c^f);c=0;d=C[i+32>>2]+I(d,12)|0;f=C[d>>2];e:{if(!f){break e}d=C[d+4>>2];if(!d){break e}j=C[f+4>>2];e=C[f>>2];n=j-e|0;i=C[g>>2];if((n|0)!=(C[g+4>>2]-i|0)){break e}l=C[f+12>>2];if((l|0)!=C[g+12>>2]){break e}if((e|0)!=(j|0)){if(Jg(e,i,n)){break e}}i=l<<4;f:{if(!i){break f}f=C[f+16>>2];j=C[g+16>>2];if(D[f|0]!=D[j|0]){break e}e=0;while(1){e=e+1|0;if((i|0)==(e|0)){break f}if(D[e+f|0]==D[e+j|0]){continue}break}if(e>>>0>>0){break e}}c=d}}d=c;if(c){break b}c=C[g>>2]}d=k-h|0;h=C[a+8>>2]-d|0;C[a+8>>2]=h;Yf(h,c,d);c=C[a+8>>2];C[g>>2]=c;C[g+4>>2]=c+d;g:{h:{i:{c=C[a+44>>2];if((c|0)>=0){h=C[a+48>>2];d=h+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break h}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=1073741822){h=lf(C[a+52>>2],c<<2);if(h){break i}}C[a+44>>2]=-1}C[104428]=C[21152];break g}C[a+44>>2]=c;C[a+52>>2]=h;h=C[a+48>>2]}if(d>>>0>h>>>0){We(C[a+52>>2]+(h<<2)|0,0,d-h<<2)}C[a+48>>2]=d;c=C[a+52>>2];C[104428]=C[21152];c=(c+(d<<2)|0)-4|0;if((c|0)==417712){break g}C[c>>2]=g}j:{c=C[a+20>>2];k:{if(!(c|C[a+44>>2]>=0)){C[a+20>>2]=1;break k}if(!c){break j}}Re(C[g+16>>2]);C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;Re(C[g+28>>2]);C[g+28>>2]=0;C[g+20>>2]=0;C[g+24>>2]=0;d=0;break a}C[m+12>>2]=C[a+48>>2]-1;d=0;if(b){b=0;f=C[g+4>>2];e=C[g>>2];l:{if((f|0)==(e|0)){break l}i=f-e|0;k=i&3;c=0;h=0;if(f+(e^-1)>>>0>=3){i=i&-4;f=0;while(1){b=I(A[e+(h|3)|0],-1640531535)+I(I(A[e+(h|2)|0],-1640531535)+I(I(A[e+(h|1)|0],-1640531535)+I(I(A[e+h|0],-1640531535)+I(b,31)|0,31)|0,31)|0,31)|0;h=h+4|0;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(!k){break l}while(1){b=I(A[e+h|0],-1640531535)+I(b,31)|0;h=h+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}f=a+56|0;e=C[g+12>>2]<<4;m:{if(!e){c=0;break m}h=C[g+16>>2];c=0;while(1){c=I(A[h+(d|3)|0],-1640531535)+I(I(A[h+(d|2)|0],-1640531535)+I(I(A[h+(d|1)|0],-1640531535)+I(I(A[d+h|0],-1640531535)+I(c,31)|0,31)|0,31)|0,31)|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}}gn(f,g,b^c,m+12|0);d=C[a+20>>2]!=0}if(!(d|D[a+68|0])){C[a+20>>2]=1}d=C[m+12>>2];break a}n:{if(F[a+48>>2]<=d>>>0){C[104428]=C[21152];a=417712;break n}a=C[a+52>>2]+(d<<2)|0}b=C[g+24>>2];o:{if(!b){break o}h=C[g+28>>2];k=h+(b<<4)|0;a=C[a>>2];if(C[a+20>>2]<0){a=C[21154];f=C[21155];c=C[21152];e=C[21153];while(1){C[104430]=a;C[104431]=f;C[104428]=c;C[104429]=e;i=(b|0)!=0;b=b-i|0;h=(i<<4)+h|0;if((k|0)!=(h|0)){continue}break}break o}while(1){p:{q:{r:{c=C[a+20>>2];if((c|0)>=0){f=C[a+24>>2];e=f+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=268435454){f=lf(C[a+28>>2],c<<4);if(f){break r}}C[a+20>>2]=-1}c=C[21155];C[104430]=C[21154];C[104431]=c;c=C[21153];C[104428]=C[21152];C[104429]=c;break p}C[a+20>>2]=c;C[a+28>>2]=f;f=C[a+24>>2]}if(e>>>0>f>>>0){We(C[a+28>>2]+(f<<4)|0,0,e-f<<4)}C[a+24>>2]=e;c=C[a+28>>2];f=C[21155];C[104430]=C[21154];C[104431]=f;f=C[21153];C[104428]=C[21152];C[104429]=f;c=(c+(e<<4)|0)-16|0;if((c|0)==417712){break p}f=b?h:84608;e=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=e;e=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=e}c=(b|0)!=0;b=b-c|0;h=(c<<4)+h|0;if((k|0)!=(h|0)){continue}break}}Re(C[g+16>>2]);C[g+16>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;Re(C[g+28>>2]);C[g+28>>2]=0;C[g+20>>2]=0;C[g+24>>2]=0}Ce=m+16|0;return d}function Ky(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=Ce-16|0;Ce=s;k=I(b,1468)+a|0;m=k+44|0;e=C[m>>2];i=C[k+52>>2];d=mk(a,b);a:{if(d){break a}if((e|0)>0){e=I(e,48)+i|0;while(1){d=C[i+40>>2];c=E[d>>1];g=D[i|0];A[i|0]=g&254;f=C[i+44>>2];b:{if((f|0)==(d|0)){break b}c=c&3;while(1){j=c;d=C[d+32>>2];c=E[d>>1]&3;if(!((j|c)&65535)){break b}if((d|0)!=(f|0)){continue}break}A[i|0]=g|1}i=i+48|0;if(e>>>0>i>>>0){continue}break}}n=C[C[a+2988>>2]+40>>2]/256|0;c=C[m>>2];e=C[k+52>>2];q=I(b,1468)+a|0;i=C[q+68>>2];t=(b?12:4)+a|0;p=Ze(192,C[t>>2]);if((c|0)>0){j=I(c,48)+e|0;c=e;while(1){if((i|0)==A[c+1|0]){d=e;while(1){c:{if((c|0)==(d|0)|(i|0)!=(0-A[d+1|0]|0)){break c}f=B[d+2>>1]-B[c+2>>1]|0;if((f|0)<0){break c}g=B[c+6>>1];h=B[d+6>>1];r=(g|0)<(h|0)?g:h;g=B[c+4>>1];h=B[d+4>>1];g=r-((g|0)>(h|0)?g:h)|0;if((g|0)<(n|0)){break c}h=f<<3;l=C[c+32>>2];if(!((h|0)>=(I(l,9)|0)|(g|0)<=C[c+36>>2]&(h|0)>=(I(l,7)|0))){C[c+36>>2]=g;C[c+32>>2]=f;C[c+20>>2]=d}l=C[d+32>>2];if((h|0)>=(I(l,9)|0)|(g|0)<=C[d+36>>2]&(h|0)>=(I(l,7)|0)){break c}C[d+36>>2]=g;C[d+32>>2]=f;C[d+20>>2]=c}d=d+48|0;if(j>>>0>d>>>0){continue}break}}c=c+48|0;if(j>>>0>c>>>0){continue}break}c=e;while(1){f=C[c+20>>2];d:{if(!f|C[f+20>>2]!=(c|0)){break d}n=B[f+2>>1];l=B[c+2>>1];if((n|0)<=(l|0)){break d}o=C[c+32>>2];if((o|0)>=(p|0)){break d}v=o<<2;d=e;while(1){e:{g=B[d+2>>1];f:{if((c|0)==(d|0)|(g|0)>(l|0)){break f}i=C[d+20>>2];if(!i|C[i+20>>2]!=(d|0)){break f}h=B[i+2>>1];if((h|0)<(n|0)|(g|0)==(l|0)&(h|0)==(n|0)){break f}g=C[d+32>>2];if((g|0)<=(o|0)|(g|0)>=(v|0)){break f}h=e;if(C[c+36>>2]<(I(C[d+36>>2],3)|0)){break e}while(1){g=f;u=C[h+20>>2];g:{if((u|0)!=(d|0)){g=c;if((i|0)!=(u|0)){break g}}C[h+24>>2]=g;C[h+20>>2]=0}h=h+48|0;if(j>>>0>h>>>0){continue}break}}d=d+48|0;if(j>>>0>d>>>0){continue}break d}break}C[f+20>>2]=0;C[c+20>>2]=0}c=c+48|0;if(j>>>0>c>>>0){continue}break}while(1){c=C[e+20>>2];h:{if(!c){break h}g=C[c+28>>2];C[c+28>>2]=g+1;if(C[c+20>>2]==(e|0)){break h}C[e+20>>2]=0;f=C[c+32>>2];if(!((f|0)>=(p|0)&C[e+32>>2]>=f<<2)){C[e+24>>2]=C[c+20>>2];break h}C[c+28>>2]=g}e=e+48|0;if(j>>>0>e>>>0){continue}break}}v=C[a>>2];f=C[k+52>>2];e=C[m>>2];c=C[a+2988>>2];C[q+56>>2]=0;c=c+I(b,1572)|0;n=C[t>>2];i:{if((Te(C[c+248>>2],n)|0)>=17){h=Ze(16,n);break i}h=C[c+248>>2]}if((e|0)>0){t=I(e,48)+f|0;u=(I(b,1468)+a|0)- -64|0;while(1){j:{k:{w=C[q+56>>2];l:{if((w|0)<=0){p=D[f+1|0];break l}p=D[f+1|0];l=C[u>>2];e=0;g=65535;i=0;while(1){d=I(i,48);j=d+l|0;m:{if(D[j+13|0]!=(p|0)){break m}k=B[f+2>>1]-B[j>>1]|0;c=k>>31;k=(c^k)-c|0;if((k|0)>=(h|0)|(g|0)<=(k|0)){break m}x=C[f+20>>2];if(x){c=0;r=C[(d+l|0)+40>>2];d=r;while(1){n:{o=C[d+20>>2];if(o){c=B[x+2>>1];o=B[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((h|0)<=(c|0)){break n}}d=C[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(h|0)){break m}}g=k;e=j}i=i+1|0;if((w|0)!=(i|0)){continue}break}if(e){break k}}d=Gy(m,B[f+2>>1],p<<24>>24,v,s+12|0);if(d){break a}e=C[s+12>>2];C[e>>2]=0;C[e+4>>2]=0;C[e+44>>2]=f;C[e+40>>2]=f;C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;A[e+13|0]=D[f+1|0];c=B[f+2>>1];B[e>>1]=c;c=Te(c,n);C[e+8>>2]=c;C[e+4>>2]=c;C[f+16>>2]=f;break j}C[f+16>>2]=C[e+40>>2];C[C[e+44>>2]+16>>2]=f;C[e+44>>2]=f}f=f+48|0;if(t>>>0>f>>>0){continue}break}}e=C[q+56>>2];if((e|0)>0){g=C[(I(b,1468)+a|0)- -64>>2];k=g+I(e,48)|0;c=g;while(1){a=C[c+40>>2];d=a;if(d){while(1){C[d+12>>2]=c;d=C[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+48|0;if(k>>>0>c>>>0){continue}break}while(1){j=g+28|0;a=g+24|0;q=C[g+40>>2];d=q;i=0;h=0;while(1){p=A[d|0]&1;n=!p;c=C[d+24>>2];o:{p:{if(c){b=C[d+20>>2];e=C[c+12>>2];if(!b&(e|0)==(g|0)){break o}if((e|0)==(g|0)){e=0;f=a;break p}e=1;f=j;b=c;break p}e=0;f=a;b=C[d+20>>2];if(!b){break o}}c=C[f>>2];q:{if(c){m=B[g>>1]-B[c>>1]|0;f=m>>31;r=(f^m)-f|0;f=B[d+2>>1];m=B[b+2>>1];if((r|0)<=(((f|0)>(m|0)?f-m|0:m-f|0)|0)){break q}}c=C[b+12>>2]}if(e){C[j>>2]=c;A[c+12|0]=D[c+12|0]|2;break o}C[a>>2]=c}i=i+p|0;h=h+n|0;d=C[d+16>>2];if((q|0)!=(d|0)){continue}break}A[g+12|0]=(i|0)!=0&i>>>0>=h>>>0;if(!(!C[g+28>>2]|!C[a>>2])){C[j>>2]=0}g=g+48|0;if(k>>>0>g>>>0){continue}break}}d=0}Ce=s+16|0;return d}function AK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=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)<=0){break c}A[d|0]=D[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=C[a>>2]}C[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=C[a>>2]}C[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+432|0];break b;case 4:a=C[a+364>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+416>>2];break c;case 7:if(F[a+416>>2]<=c>>>0){break e}a=C[C[a+420>>2]+(c<<2)>>2];c=af(a);b=c+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);A[c+d|0]=0;break f;case 8:if(F[a+416>>2]<=c>>>0){break e}e=C[C[a+428>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}t(d,C[C[a+424>>2]+(c<<2)>>2],e);A[d+e|0]=0;break f;case 9:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+368>>2];break c;case 10:if(C[a+368>>2]!=1|F[a+372>>2]<=c>>>0){break e}c=C[C[a+388>>2]+(c<<2)>>2];a=af(c);b=a+1|0;if(!d|f>>>0>>0){break f}t(d,c,a);A[a+d|0]=0;break f;case 11:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+404>>2];break c;case 12:if(F[a+404>>2]<=c>>>0){break e}e=C[C[a+412>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}t(d,C[C[a+408>>2]+(c<<2)>>2],e);A[d+e|0]=0;break f;case 13:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+176|0];break b;case 16:if(D[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+177|0];break b;case 19:if(D[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+178|0];break b;case 21:if(D[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+179|0];break b;case 23:if(D[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+292|0];break b;case 27:if(D[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+293|0];break b;case 29:if(D[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}A[d|0]=D[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}B[d>>1]=E[a+164>>1];break a;case 36:a=C[a+132>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 37:a=C[a+136>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 38:a=C[a+140>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 39:a=C[a+144>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=C[a+148>>2];b=af(a)+1|0;if(!d|f>>>0>>0){break f}t(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}C[d>>2]=C[a+152>>2]}return b|0}return 1}return 2}function Dq(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,j=0;j=h^255;a:{b:{c:{d:{h=C[a+4>>2];switch(D[h+9|0]-2|0){case 2:break c;case 0:break d;default:break b}}e:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];d=b;b=D[h+28|0];c=D[h+32|0];e=C[h+24>>2]|((I(D[C[(b<<2)+382144>>2]+((a&C[h+12>>2])>>>c|0)|0],j)>>>0)/255|0)+e>>>b<>2]+((a&C[h+16>>2])>>>c|0)|0],j)>>>0)/255|0)+f>>>b<>2];a=D[h+34|0];B[d>>1]=c|((I(D[C[(b<<2)+382144>>2]+(e>>>a|0)|0],j)>>>0)/255|0)+g>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];f=D[h+33|0];b=i+D[C[(d<<2)+382144>>2]+((a&C[h+16>>2])>>>f|0)|0]|0;i=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+12>>2])>>>c|0)|0]+e|0;d=C[h+24>>2]|(f|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+382144>>2]+(c>>>a|0)|0]+g|0;B[i>>1]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];d=b;b=D[h+29|0];c=D[h+33|0];f=(I(D[C[(b<<2)+382144>>2]+((a&C[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(I(D[C[(b<<2)+382144>>2]+((a&C[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=D[h+34|0];B[d>>1]=c|(I(D[C[(b<<2)+382144>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];e=D[h+32|0];b=D[C[(d<<2)+382144>>2]+((a&C[h+12>>2])>>>e|0)|0];b=((I(i,b)>>>0)/255|0)+((I(b,j)>>>0)/255|0)|0;i=c;e=C[h+24>>2]|(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+16>>2])>>>c|0)|0];d=((I(d,f)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;d=e|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+382144>>2]+(c>>>a|0)|0];c=((I(c,g)>>>0)/255|0)+((I(c,j)>>>0)/255|0)|0;B[i>>1]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<1)>>1]=C[h+24>>2]|(f>>>D[h+29|0]<>>D[h+28|0]<>>D[h+30|0]<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[h+28|0];c=D[h+32|0];e=C[h+24>>2]|((I(D[C[(b<<2)+382144>>2]+((a&C[h+12>>2])>>>c|0)|0],j)>>>0)/255|0)+e>>>b<>2]+((a&C[h+16>>2])>>>c|0)|0],j)>>>0)/255|0)+f>>>b<>2];a=D[h+34|0];C[d>>2]=c|((I(D[C[(b<<2)+382144>>2]+(e>>>a|0)|0],j)>>>0)/255|0)+g>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];f=D[h+33|0];b=i+D[C[(d<<2)+382144>>2]+((a&C[h+16>>2])>>>f|0)|0]|0;i=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+12>>2])>>>c|0)|0]+e|0;d=C[h+24>>2]|(f|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+382144>>2]+(c>>>a|0)|0]+g|0;C[i>>2]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[h+29|0];c=D[h+33|0];f=(I(D[C[(b<<2)+382144>>2]+((a&C[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(I(D[C[(b<<2)+382144>>2]+((a&C[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=D[h+34|0];C[d>>2]=c|(I(D[C[(b<<2)+382144>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];e=D[h+32|0];b=D[C[(d<<2)+382144>>2]+((a&C[h+12>>2])>>>e|0)|0];b=((I(i,b)>>>0)/255|0)+((I(b,j)>>>0)/255|0)|0;i=c;e=C[h+24>>2]|(b>>>0>=255?255:b)>>>d<>2]+((a&C[h+16>>2])>>>c|0)|0];d=((I(d,f)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;d=e|(d>>>0>=255?255:d)>>>b<>2];a=D[h+34|0];c=D[C[(b<<2)+382144>>2]+(c>>>a|0)|0];c=((I(c,g)>>>0)/255|0)+((I(c,j)>>>0)/255|0)|0;C[i>>2]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=C[h+24>>2]|(f>>>D[h+29|0]<>>D[h+28|0]<>>D[h+30|0]<>2];d=D[i+6|0]|D[i+7|0]<<8|(D[i+8|0]<<16|D[i+9|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(!d){c=0;break a}j=i+13|0;b:{while(1){e=d+g>>>1|0;f=j+I(e,11)|0;h=f-3|0;h=D[h+1|0]<<8|D[h|0]<<16|D[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}c=0;break a}c=0;if(!f){break a}d=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=D[f+4|0]|D[f+5|0]<<8|(D[f+6|0]<<16|D[f+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(!(d|e)){break a}d:{if(!d){d=e+i|0;e=D[d+3|0];g=D[d+2|0];f=D[d+1|0];h=D[d|0];c=C[a+28>>2];C[l+4>>2]=0;f=e|(f<<16|h<<24|g<<8);g=f+1|0;e:{if(g>>>0<=c>>>0){c=C[a+32>>2];break e}C[a+36>>2]=b;c=Ve(b,4,c,g,C[a+32>>2],l+4|0);C[a+32>>2]=c;if(C[l+4>>2]){break d}C[a+28>>2]=g}f:{if(!f){break f}a=e&1;e=d+4|0;d=0;if((f|0)!=1){b=f-a|0;g=0;while(1){h=d<<2;C[h+c>>2]=D[e+2|0]|(D[e+1|0]<<8|D[e|0]<<16);C[(h|4)+c>>2]=D[e+7|0]|(D[e+6|0]<<8|D[e+5|0]<<16);d=d+2|0;e=e+10|0;g=g+2|0;if((b|0)!=(g|0)){continue}break}}if(!a){break f}C[(d<<2)+c>>2]=D[e+2|0]|(D[e+1|0]<<8|D[e|0]<<16)}C[(f<<2)+c>>2]=0;break a}if(!e){c=Iw(a,d+i|0,b);break a}c=e+i|0;m=D[c+3|0];h=m|(D[c+1|0]<<16|D[c|0]<<24|D[c+2|0]<<8);f=c+4|0;j=d+i|0;c=D[j+3|0];g:{h:{n=c|(D[j+1|0]<<16|D[j|0]<<24|D[j+2|0]<<8);i:{if(n){k=c&3;e=j+7|0;c=0;j:{if(n-1>>>0<3){g=0;d=e;break j}o=n-k|0;g=0;i=0;while(1){g=(D[e+12|0]+(D[e+8|0]+(D[e+4|0]+(D[e|0]+g|0)|0)|0)|0)+4|0;d=e+16|0;e=d;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(k){while(1){g=(D[d|0]+g|0)+1|0;d=d+4|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(!h){break i}if(g){break h}break g}if(h){break g}}c=Iw(a,j,b);break a}c=C[a+28>>2];C[l+12>>2]=0;d=(g+h|0)+1|0;k:{if(d>>>0<=c>>>0){c=C[a+32>>2];break k}C[a+36>>2]=b;c=Ve(b,4,c,d,C[a+32>>2],l+12|0);C[a+32>>2]=c;if(C[l+12>>2]){break d}C[a+28>>2]=d}o=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);d=j+4|0;g=D[d+1|0]<<8|D[d|0]<<16|D[d+2|0];a=f+5|0;b=d+4|0;j=D[d+3|0];d=0;k=1;m=1;while(1){l:{if(g+j>>>0>>0){e=j+1|0;q=e&3;i=0;m:{if(j>>>0<3){e=0;break m}r=e&-4;e=0;f=0;while(1){p=(d<<2)+c|0;C[p>>2]=e+g;C[p+12>>2]=(e|3)+g;C[p+8>>2]=(e|2)+g;C[p+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;f=f+4|0;if((r|0)!=(f|0)){continue}break}}if(q){while(1){C[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;i=i+1|0;if((q|0)!=(i|0)){continue}break}}k=k+1|0;if(n>>>0>>0){break l}g=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16);j=D[b+3|0];b=b+4|0;continue}if(g>>>0>o>>>0){C[(d<<2)+c>>2]=o;d=d+1|0}m=m+1|0;if(h>>>0>>0){break l}o=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);a=a+5|0;continue}break}n:{if(h>>>0>=m>>>0){C[(d<<2)+c>>2]=o;d=d+1|0;if(h>>>0<=m>>>0){break n}while(1){C[(d<<2)+c>>2]=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);d=d+1|0;a=a+5|0;m=m+1|0;if(h>>>0>m>>>0){continue}break}break n}if(k>>>0>n>>>0){break n}a=j+1|0;h=a&3;i=0;o:{if(j>>>0<3){e=0;break o}j=a&-4;e=0;f=0;while(1){a=(d<<2)+c|0;C[a>>2]=e+g;C[a+12>>2]=(e|3)+g;C[a+8>>2]=(e|2)+g;C[a+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(h){while(1){C[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(k>>>0>=n>>>0){break n}while(1){a=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16);e=D[b+3|0];g=e+1|0;h=g&3;i=0;p:{if(e>>>0<3){e=0;break p}j=g&508;e=0;f=0;while(1){g=(d<<2)+c|0;C[g>>2]=a+e;C[g+12>>2]=a+(e|3);C[g+8>>2]=a+(e|2);C[g+4>>2]=a+(e|1);e=e+4|0;d=d+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(h){while(1){C[(d<<2)+c>>2]=a+e;e=e+1|0;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}b=b+4|0;k=k+1|0;if(n>>>0>k>>>0){continue}break}}C[(d<<2)+c>>2]=0;break a}c=C[a+28>>2];C[l+8>>2]=0;d=h+1|0;q:{if(d>>>0<=c>>>0){c=C[a+32>>2];break q}C[a+36>>2]=b;c=Ve(b,4,c,d,C[a+32>>2],l+8|0);C[a+32>>2]=c;if(C[l+8>>2]){break d}C[a+28>>2]=d}a=m&1;e=0;if((h|0)!=1){b=h-a|0;d=0;while(1){g=e<<2;C[g+c>>2]=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16);C[(g|4)+c>>2]=D[f+7|0]|(D[f+6|0]<<8|D[f+5|0]<<16);e=e+2|0;f=f+10|0;d=d+2|0;if((b|0)!=(d|0)){continue}break}}if(a){C[(e<<2)+c>>2]=D[f+2|0]|(D[f+1|0]<<8|D[f|0]<<16)}C[(h<<2)+c>>2]=0;break a}c=0}Ce=l+16|0;return c|0}function wt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=Ce-16|0;Ce=n;d=C[b+4>>2];a:{if(d>>>0>a>>>0){break a}i=C[b+8>>2];if(i>>>0>>0|i-a>>>0<4){break a}e=C[b+12>>2];g=e-4|0;C[b+12>>2]=g;if((g|0)<=0){break a}g=A[a|0];if((g|0)<0){break a}g=D[a+3|0]|(D[a+1|0]<<16|(g&255)<<24|D[a+2|0]<<8);if(g){m=d;d=c+g|0;b:{if(m>>>0>d>>>0|d>>>0>i>>>0|i-d>>>0<=3){break b}c=e-8|0;C[b+12>>2]=c;if((D[d|0]|D[d+1|0]<<8)!=256|(c|0)<=0){break b}C[n+12>>2]=d;p=1;c=0;i=d+4|0;c:{d:{if(i>>>0>2]){break d}e=C[b+8>>2];if(e>>>0>>0|e-i>>>0<4){break d}g=C[b+12>>2]-4|0;C[b+12>>2]=g;if((g|0)<=0){break d}d=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>536870910){break d}d=1;if(!f){break c}d=i+4|0;if(d>>>0>e>>>0){break d}e=e-d|0;d=f<<3;if(e>>>0>>0){break d}d=g-d|0;C[b+12>>2]=d;if((d|0)<=0){break d}c=1;d=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);s=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!s){break d}while(1){e:{o=i+(q<<3)|0;c=o+4|0;if(c>>>0>2]){break e}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}k=C[n+12>>2];d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break e}d=A[c|0];if((d|0)<0){break e}d=D[c+3|0]|(D[c+1|0]<<16|(d&255)<<24|D[c+2|0]<<8);f:{if(!d){break f}g:{h:{g=d+k|0;if(g>>>0>2]){break h}d=C[b+8>>2];if(d>>>0>>0|d-g>>>0<2){break h}f=C[b+12>>2]-2|0;C[b+12>>2]=f;e=1;if((f|0)<=0){break h}j=D[g|0]|D[g+1|0]<<8;if(!j){break g}e=g+2|0;if(e>>>0>d>>>0){break h}m=d-e|0;d=(j<<8|j>>>8)&65535;e=d<<2;if(m>>>0>>0){break h}f=f-e|0;C[b+12>>2]=f;e=0;if((f|0)<=0){break g}r=d>>>0<=1?1:d;f=0;while(1){e=C[b+4>>2];d=(g+(f<<2)|0)+2|0;if(e>>>0>d>>>0){break h}j=C[b+8>>2];if(j>>>0>>0|j-d>>>0<4){break h}h=C[b+12>>2];l=h-4|0;C[b+12>>2]=l;if((l|0)<=0){break h}l=A[d|0];if((l|0)<0){break h}l=D[d+3|0]|(D[d+1|0]<<16|(l&255)<<24|D[d+2|0]<<8);i:{if(!l){break i}m=e;e=g+l|0;j:{if(m>>>0>e>>>0|e>>>0>j>>>0){break j}j=j-e|0;if(j>>>0<2){break j}l=h-6|0;C[b+12>>2]=l;if((l|0)<=0){break j}if((D[e|0]|D[e+1|0]<<8)!=256){break i}if(j>>>0<8){break j}e=h-14|0;C[b+12>>2]=e;if((e|0)>0){break i}}e=C[b+28>>2];if(e>>>0>31){break h}C[b+28>>2]=e+1;if(!D[b+24|0]){break h}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=1;f=f+1|0;if((r|0)!=(f|0)){continue}break}break g}e=0}if(e){break f}d=C[b+28>>2];if(d>>>0>31){break e}C[b+28>>2]=d+1;if(!D[b+24|0]){break e}A[c|0]=0;A[c+1|0]=0;A[c+2|0]=0;A[c+3|0]=0}e=0;j=Ce-16|0;Ce=j;d=o+8|0;c=C[b+4>>2];k:{if(d>>>0>>0){break k}g=C[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break k}f=C[b+12>>2];h=f-4|0;C[b+12>>2]=h;if((h|0)<=0){break k}h=A[d|0];if((h|0)<0){break k}e=D[d+3|0]|(D[d+1|0]<<16|(h&255)<<24|D[d+2|0]<<8);if(e){m=c;c=e+k|0;l:{if(m>>>0>c>>>0|c>>>0>g>>>0|g-c>>>0<=3){break l}e=f-8|0;C[b+12>>2]=e;if((D[c|0]|D[c+1|0]<<8)!=256|(e|0)<=0){break l}C[j+12>>2]=c;e=1;m:{n:{g=c+4|0;if(g>>>0>2]){break n}f=C[b+8>>2];if(f>>>0>>0|f-g>>>0<2){break n}k=C[b+12>>2]-2|0;C[b+12>>2]=k;c=1;if((k|0)<=0){break n}h=D[g|0]|D[g+1|0]<<8;o:{if(!h){break o}c=g+2|0;if(c>>>0>f>>>0){break n}m=f-c|0;f=(h<<8|h>>>8)&65535;c=I(f,6);if(m>>>0>>0){break n}k=k-c|0;C[b+12>>2]=k;c=0;if((k|0)<=0){break o}o=f>>>0<=1?1:f;k=0;while(1){f=g+I(k,6)|0;c=f+2|0;if(c>>>0>2]){break n}h=C[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break n}r=C[j+12>>2];l=C[b+12>>2];c=l-6|0;C[b+12>>2]=c;if((c|0)<=0){break n}c=f+4|0;if(c>>>0>h>>>0|h-c>>>0<4){break n}h=l-10|0;C[b+12>>2]=h;if((h|0)<=0){break n}h=A[c|0];if((h|0)<0){break n}f=D[f+7|0]|(D[f+5|0]<<16|(h&255)<<24|D[f+6|0]<<8);p:{if(!f){break p}if(vt(f+r|0,b,0)){break p}f=C[b+28>>2];if(f>>>0>31){break n}C[b+28>>2]=f+1;if(!D[b+24|0]){break n}A[c|0]=0;A[c+1|0]=0;A[c+2|0]=0;A[c+3|0]=0}c=1;k=k+1|0;if((o|0)!=(k|0)){continue}break}}break m}c=0}if(c){break k}}e=0;c=C[b+28>>2];if(c>>>0>31){break k}C[b+28>>2]=c+1;if(!D[b+24|0]){break k}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=1}Ce=j+16|0;if(!e){break e}c=1;q=q+1|0;if((s|0)!=(q|0)){continue}break d}break}c=0}d=c}if(d){break a}}p=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}p=1}Ce=n+16|0;return p}function ci(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-80|0;Ce=f;c=C[105780];a:{if(!c){Qe(19865,0);c=-1;break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);c=-1;break a}if(b){c=0;if(C[a+120>>2]){break a}}c=Ch(a);if((c|0)>=0){e=C[C[105780]+376>>2]+I(c,72)|0}b:{if(!b){break b}c=C[e+60>>2];if(!c|(a|0)==(c|0)){break b}qq(c)}c:{if(!((C[a+48>>2]^C[a+52>>2])&4097)&(C[e+60>>2]==(a|0)|0)==(b|0)){break c}g=C[C[105780]+380>>2];if(g){while(1){d:{e:{if((a|0)!=(g|0)){if((C[g+48>>2]&69)!=5){break d}c=Ch(g);if((c|0)>=0){c=C[C[105780]+376>>2]+I(c,72)|0}else{c=0}if((c|0)==(e|0)){break e}break d}if(!b){break d}}h=f+12|0;mf(h,0,20);d=Ce-32|0;Ce=d;c=C[105780];f:{if(!c){Qe(19865,0);c=-1;break f}if(!(C[g>>2]==(c+388|0)?g:0)){Qe(2168,0);c=-1;break f}if(!h){C[d>>2]=18685;c=Qe(19745,d);break f}C[d+24>>2]=C[g+92>>2];c=C[g+88>>2];C[d+16>>2]=C[g+84>>2];C[d+20>>2]=c;c=C[g+80>>2];C[d+8>>2]=C[g+76>>2];C[d+12>>2]=c;if(!C[d+12>>2]){C[d+12>>2]=C[g+68>>2]}if(!C[d+16>>2]){C[d+16>>2]=C[g+72>>2]}c=0;i=Ch(g);if((i|0)>=0){c=C[C[105780]+376>>2]+I(i,72)|0}g:{if((C[g+48>>2]&4097)==4097){C[d+24>>2]=C[c+32>>2];i=C[c+28>>2];C[d+16>>2]=C[c+24>>2];C[d+20>>2]=i;i=C[c+20>>2];C[d+8>>2]=C[c+16>>2];C[d+12>>2]=i;break g}c=Ch(g);if((c|0)>=0){i=C[C[105780]+376>>2]+I(c,72)|0}else{i=0}c=d+8|0;if(lz(i,c,c)){break g}mf(h,0,20);c=Qe(15020,0);break f}c=C[d+12>>2];C[h>>2]=C[d+8>>2];C[h+4>>2]=c;C[h+16>>2]=C[d+24>>2];c=C[d+20>>2];C[h+8>>2]=C[d+16>>2];C[h+12>>2]=c;c=0}Ce=d+32|0;if(c){break d}b=0;b=C[g+24>>2]==C[f+16>>2]?C[g+28>>2]==C[f+20>>2]:b;h:{if(A[C[105780]+404|0]&1){break h}if((C[a+48>>2]&4097)!=4097){d=Ce+-64|0;Ce=d;c=f+12|0;i:{j:{if(c){C[d+56>>2]=C[c+16>>2];h=C[c+12>>2];C[d+48>>2]=C[c+8>>2];C[d+52>>2]=h;h=C[c+4>>2];c=C[c>>2];C[d+40>>2]=c;C[d+44>>2]=h;if(!c){C[d+40>>2]=C[e+36>>2]}if(!C[d+44>>2]){C[d+44>>2]=C[e+40>>2]}if(!C[d+48>>2]){C[d+48>>2]=C[e+44>>2]}if(!C[d+52>>2]){C[d+52>>2]=C[e+48>>2]}c=d+40|0;if(lz(e,c,c)){break j}c=C[d+48>>2];C[d>>2]=C[d+44>>2];C[d+4>>2]=c;c=Qe(21053,d);break i}C[d+56>>2]=C[e+32>>2];c=C[e+28>>2];C[d+48>>2]=C[e+24>>2];C[d+52>>2]=c;c=C[e+20>>2];C[d+40>>2]=C[e+16>>2];C[d+44>>2]=c}C[d+32>>2]=C[e+52>>2];c=C[e+48>>2];C[d+24>>2]=C[e+44>>2];C[d+28>>2]=c;c=C[e+40>>2];C[d+16>>2]=C[e+36>>2];C[d+20>>2]=c;if(sg(d+40|0,d+16|0,20)){c=C[105780];h=C[c+32>>2];if(!h){c=Qe(18604,0);break i}C[c+400>>2]=1;h=Fe[h|0](c,e,d+40|0)|0;C[C[105780]+400>>2]=0;c=-1;if((h|0)<0){break i}gf(e+36|0,d+40|0,20)}c=0}Ce=d- -64|0;if((c|0)>=0){break h}c=-1;break a}d=C[e+28>>2];c=f- -64|0;C[c>>2]=C[e+24>>2];C[c+4>>2]=d;C[f+72>>2]=C[e+32>>2];c=C[e+20>>2];C[f+56>>2]=C[e+16>>2];C[f+60>>2]=c;c=C[e+48>>2];C[f+40>>2]=C[e+44>>2];C[f+44>>2]=c;C[f+48>>2]=C[e+52>>2];c=C[e+40>>2];C[f+32>>2]=C[e+36>>2];C[f+36>>2]=c;if(!sg(f+56|0,f+32|0,20)){break h}c=C[105780];d=C[c+32>>2];if(d){C[c+400>>2]=1;d=Fe[d|0](c,e,f+56|0)|0;C[C[105780]+400>>2]=0;c=-1;if((d|0)<0){break a}gf(e+36|0,f+56|0,20);break h}if((Qe(18604,0)|0)>=0){break h}c=-1;break a}c=C[105780];d=C[c+120>>2];if(d){Fe[d|0](c,g,e,1)}C[e+60>>2]=g;k:{if(!b){dg(g,5,C[f+16>>2],C[f+20>>2]);break k}b=Ch(g);C[g+116>>2]=0;if(C[g+124>>2]){break k}dg(g,6,C[g+24>>2],C[g+28>>2]);if((b|0)==-1|(b|0)==C[g+56>>2]){break k}C[g+56>>2]=b;dg(g,18,b,0)}if(C[105671]==(g|0)){Er(f+56|0,f+32|0);Cr(g,C[f+56>>2],C[f+32>>2])}C[a+52>>2]=C[a+48>>2];break c}g=C[g+172>>2];if(g){continue}break}}c=C[e+28>>2];b=f- -64|0;C[b>>2]=C[e+24>>2];C[b+4>>2]=c;C[f+72>>2]=C[e+32>>2];b=C[e+20>>2];C[f+56>>2]=C[e+16>>2];C[f+60>>2]=b;b=C[e+48>>2];C[f+40>>2]=C[e+44>>2];C[f+44>>2]=b;C[f+48>>2]=C[e+52>>2];b=C[e+40>>2];C[f+32>>2]=C[e+36>>2];C[f+36>>2]=b;l:{if(!sg(f+56|0,f+32|0,20)){break l}b=C[105780];c=C[b+32>>2];if(!c){Qe(18604,0);break l}C[b+400>>2]=1;b=Fe[c|0](b,e,f+56|0)|0;C[C[105780]+400>>2]=0;if((b|0)<0){break l}gf(e+36|0,f+56|0,20)}b=C[105780];c=C[b+120>>2];if(c){Fe[c|0](b,a,e,0)}C[e+60>>2]=0;b=Ch(a);C[a+116>>2]=0;m:{if(C[a+124>>2]){break m}dg(a,6,C[a+24>>2],C[a+28>>2]);if((b|0)==-1|(b|0)==C[a+56>>2]){break m}C[a+56>>2]=b;dg(a,18,b,0)}if(C[105671]==(a|0)){Er(f+56|0,f+32|0);Cr(a,C[f+56>>2],C[f+32>>2])}C[a+52>>2]=C[a+48>>2]}c=0}Ce=f+80|0;return c}function Pv(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;a:{if(!b){break a}g=C[a+20>>2];m=C[a+24>>2];if((g|0)>(m|0)&(m|0)!=-1){break a}k=C[a+104>>2];t=C[a+4>>2];n=C[t+28>>2];o=C[n+3656>>2];C[a+36>>2]=C[a+40>>2];p=C[b+28>>2];C[a+44>>2]=-1;C[a+40>>2]=p;d=C[a+64>>2];c=C[a+68>>2];b:{c:{if((d&c)==-1){d=C[b+56>>2];f=C[b+60>>2];break c}e=d+1|0;c=e?c:c+1|0;d=C[b+56>>2];f=C[b+60>>2];if((d|0)==(e|0)&(f|0)==(c|0)){break b}}C[a+56>>2]=-1;C[a+60>>2]=-1;C[k+128>>2]=-1;C[k+132>>2]=-1;e=d;c=f}C[a+64>>2]=e;C[a+68>>2]=c;d:{if(!C[b>>2]){d=m;break d}l=C[(p<<2)+n>>2];e=C[n>>2];g=C[n+4>>2];d=C[b+88>>2];f=d;c=d+C[a+72>>2]|0;d=C[a+76>>2]+(d>>31)|0;C[a+72>>2]=c;C[a+76>>2]=c>>>0>>0?d+1|0:d;c=C[b+92>>2];f=c;d=c+C[a+80>>2]|0;c=C[a+84>>2]+(c>>31)|0;C[a+80>>2]=d;C[a+84>>2]=d>>>0>>0?c+1|0:c;d=C[b+96>>2];f=d;c=d+C[a+88>>2]|0;d=C[a+92>>2]+(d>>31)|0;C[a+88>>2]=c;C[a+92>>2]=c>>>0>>0?d+1|0:d;d=C[b+100>>2];f=d;c=d+C[a+96>>2]|0;d=C[a+100>>2]+(d>>31)|0;C[a+96>>2]=c;C[a+100>>2]=c>>>0>>0?d+1|0:d;f=g;g=o+1|0;f=f>>g;c=C[a+48>>2];d=c?f:0;p=c?0:f;if(C[t+4>>2]>0){u=(f|0)/2|0;e=e>>g;c=(e|0)/2|0;s=u+c|0;m=(e|0)>0?e:0;v=s-m&3;q=l>>g;z=q&-4;w=q&3;x=(e|0)<=0;A=0-c<<2;B=(m^-1)+s>>>0<3;D=(e|0)/-2<<2;while(1){c=C[a+40>>2];e:{if(C[a+36>>2]){if(c){c=r<<2;m=C[c+C[a+8>>2]>>2];g=C[c+C[b>>2]>>2];if((f|0)<=0){break e}l=C[(C[k+8>>2]-o<<2)+317264>>2];j=(p<<2)+m|0;c=0;while(1){h=c<<2;i=h+j|0;G[i>>2]=J(G[i>>2]*G[l+((c^-1)+f<<2)>>2])+J(G[g+h>>2]*G[h+l>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}break e}c=r<<2;m=C[c+C[a+8>>2]>>2];g=C[c+C[b>>2]>>2];if(x){break e}l=C[(C[k+4>>2]-o<<2)+317264>>2];j=(((p<<2)+m|0)+(u<<2)|0)+D|0;c=0;while(1){h=c<<2;i=h+j|0;G[i>>2]=J(G[i>>2]*G[l+(e+(c^-1)<<2)>>2])+J(G[g+h>>2]*G[h+l>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}j=C[(C[k+4>>2]-o<<2)+317264>>2];g=r<<2;m=C[g+C[a+8>>2]>>2];l=m+(p<<2)|0;g=C[g+C[b>>2]>>2];f:{if(c){h=((u<<2)+g|0)+A|0;c=0;if((e|0)<=0){break f}while(1){i=c<<2;y=i+l|0;G[y>>2]=J(G[y>>2]*G[j+(e+(c^-1)<<2)>>2])+J(G[h+i>>2]*G[j+i>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break f}c=0;if(x){break e}while(1){h=c<<2;i=h+l|0;G[i>>2]=J(G[i>>2]*G[j+(e+(c^-1)<<2)>>2])+J(G[g+h>>2]*G[h+j>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}if((c|0)>=(s|0)){break e}j=0;if(v){while(1){i=c<<2;G[i+l>>2]=G[h+i>>2];c=c+1|0;j=j+1|0;if((v|0)!=(j|0)){continue}break}}if(B){break e}while(1){j=c<<2;G[j+l>>2]=G[h+j>>2];i=j+4|0;G[i+l>>2]=G[h+i>>2];i=j+8|0;G[i+l>>2]=G[h+i>>2];j=j+12|0;G[j+l>>2]=G[h+j>>2];c=c+4|0;if((s|0)!=(c|0)){continue}break}}g:{if((q|0)<=0){break g}g=(q<<2)+g|0;l=(d<<2)+m|0;m=0;c=0;j=0;if(q>>>0>=4){while(1){h=c<<2;G[h+l>>2]=G[g+h>>2];i=h|4;G[i+l>>2]=G[g+i>>2];i=h|8;G[i+l>>2]=G[g+i>>2];h=h|12;G[h+l>>2]=G[g+h>>2];c=c+4|0;j=j+4|0;if((z|0)!=(j|0)){continue}break}}if(!w){break g}while(1){h=c<<2;G[h+l>>2]=G[g+h>>2];c=c+1|0;m=m+1|0;if((w|0)!=(m|0)){continue}break}}r=r+1|0;if((r|0)>2]){continue}break}m=C[a+24>>2];c=C[a+48>>2]}C[a+48>>2]=c?0:f;g=d;if((m|0)!=-1){g=((C[(C[a+40>>2]<<2)+n>>2]/4|0)+(C[(C[a+36>>2]<<2)+n>>2]/4|0)>>o)+p|0;d=p}C[a+20>>2]=g;C[a+24>>2]=d}c=C[k+128>>2];e=C[k+132>>2];if((c&e)==-1){c=0;e=0}else{f=(C[(C[a+40>>2]<<2)+n>>2]/4|0)+(C[(C[a+36>>2]<<2)+n>>2]/4|0)|0;c=f+c|0;e=(f>>31)+e|0;e=c>>>0>>0?e+1|0:e}f=c;C[k+128>>2]=c;C[k+132>>2]=e;c=C[a+56>>2];k=C[a+60>>2];h:{if((c&k)==-1){c=C[b+48>>2];k=C[b+52>>2];if((c&k)==-1){break h}C[a+56>>2]=c;C[a+60>>2]=k;if((e|0)<=(k|0)&c>>>0>=f>>>0|(e|0)<(k|0)){break h}c=f-c|0;c=(c|0)>0?c:0;if(C[b+44>>2]){d=g-d<>2]=g-(((c|0)<(d|0)?c:d)>>o);break h}d=(c>>>o|0)+d|0;C[a+24>>2]=(d|0)<(g|0)?d:g;break h}e=c;c=(C[(C[a+40>>2]<<2)+n>>2]/4|0)+(C[(C[a+36>>2]<<2)+n>>2]/4|0)|0;f=c;e=e+c|0;c=(c>>31)+k|0;C[a+56>>2]=e;k=e>>>0>>0?c+1|0:c;C[a+60>>2]=k;c=C[b+48>>2];f=C[b+52>>2];if((c&f)==-1|(c|0)==(e|0)&(f|0)==(k|0)){break h}i:{if((f|0)>=(k|0)&c>>>0>=e>>>0|(f|0)>(k|0)){break i}e=e-c|0;if(!e|!C[b+44>>2]){break i}d=g-d<>2]=g-(((d|0)>0?d:0)>>>o|0)}C[a+56>>2]=c;C[a+60>>2]=f}if(!C[b+44>>2]){break a}C[a+32>>2]=1}}function un(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,m=0,n=J(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}if(d>>>0<4){break a}n=J(e|0);d=d>>>2|0;while(1){k=34028234663852886e22;d=d-1|0;c=C[a>>2];i=+(l(2,c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)),v());c=C[b>>2];i=i+ +J(J(n*(l(2,c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)),v()))*J(.0078125));o:{if(i>34028234663852886e22){break o}k=i;if(!(i<-34028234663852886e22)){break o}k=-34028234663852886e22}b=b+4|0;c=(w(J(k)),j(2));C[a>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a=a+4|0;if(d){continue}break}break a}if(!d){break a}while(1){c=A[a|0]+((I(A[b|0],e)|0)/128<<24>>24)|0;c=(c|0)>=127?127:c;A[a|0]=(c|0)<=-128?-128:c;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(!d){break a}while(1){A[a|0]=D[(D[a|0]+((I(D[b|0]-128|0,e)|0)/128&255^128)|0)+174192|0];b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<2){break a}d=d>>>1|0;while(1){c=B[a>>1]+((I(B[b>>1],e)|0)/128<<16>>16)|0;c=(c|0)>=32767?32767:c;B[a>>1]=(c|0)<=-32768?-32768:c;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<2){break a}d=d>>>1|0;while(1){c=E[b>>1];g=(I((c<<8|c>>>8)<<16>>16,e)|0)/128<<16>>16;c=E[a>>1];c=g+((c<<8|c>>>8)<<16>>16)|0;c=(c|0)>=32767?32767:c;c=(c|0)<=-32768?-32768:c;B[a>>1]=c<<8|(c&65280)>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<2){break a}c=d>>>1|0;while(1){d=E[a>>1]+((I(E[b>>1]-32768|0,e)|0)/128&65535^32768)|0;B[a>>1]=d>>>0>98303?-1:(d>>>0<=32768?32768:d)^32768;a=a+2|0;b=b+2|0;c=c-1|0;if(c){continue}break}break a}if(d>>>0<4){break a}c=d>>>2|0;g=e;m=e>>31;if(d&4){f=C[a>>2];d=C[b>>2];h=nT(mT(d,d>>31,g,m),Ee,128,0);e=f+h|0;d=Ee+(f>>31)|0;d=e>>>0>>0?d+1|0:d;f=(d|0)<0&e>>>0<=2147483648|(d|0)<-1;e=f?-2147483648:e;d=f?-1:d;C[a>>2]=(d|0)>=0&e>>>0>=2147483647|(d|0)>0?2147483647:e;a=a+4|0;b=b+4|0;e=c-1|0}else{e=c}if((c|0)==1){break a}while(1){f=C[a>>2];c=C[b>>2];h=nT(mT(c,c>>31,g,m),Ee,128,0);d=f+h|0;c=Ee+(f>>31)|0;c=d>>>0>>0?c+1|0:c;f=(c|0)<0&d>>>0<=2147483648|(c|0)<-1;d=f?-2147483648:d;c=f?-1:c;C[a>>2]=(c|0)>=0&d>>>0>=2147483647|(c|0)>0?2147483647:d;f=C[a+4>>2];c=C[b+4>>2];h=nT(mT(c,c>>31,g,m),Ee,128,0);d=f+h|0;c=Ee+(f>>31)|0;c=d>>>0>>0?c+1|0:c;f=(c|0)<0&d>>>0<=2147483648|(c|0)<-1;d=f?-2147483648:d;c=f?-1:c;C[a+4>>2]=(c|0)>=0&d>>>0>=2147483647|(c|0)>0?2147483647:d;a=a+8|0;b=b+8|0;e=e-2|0;if(e){continue}break}break a}if(d>>>0<4){break a}d=d>>>2|0;m=e>>31;while(1){c=C[a>>2];f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=C[b>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=nT(mT(c,c>>31,e,m),Ee,128,0);g=f+h|0;c=Ee+(f>>31)|0;c=g>>>0>>0?c+1|0:c;f=(c|0)<0&g>>>0<=2147483648|(c|0)<-1;g=f?-2147483648:g;c=f?-1:c;c=(c|0)>=0&g>>>0>=2147483647|(c|0)>0?2147483647:g;C[a>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}if(d>>>0<4){break a}n=J(e|0);e=d>>>2|0;while(1){e=e-1|0;k=34028234663852886e22;i=+G[a>>2]+ +J(J(G[b>>2]*n)*J(.0078125));p:{if(i>34028234663852886e22){break p}k=i;if(!(i<-34028234663852886e22)){break p}k=-34028234663852886e22}b=b+4|0;G[a>>2]=k;a=a+4|0;if(e){continue}break}break a}if((c|0)==4112){break b}}Qe(4828,0);break a}if(d>>>0<2){break a}c=d>>>1|0;while(1){d=E[a>>1];g=(d<<8|d>>>8)&65535;d=E[b>>1];d=g+((I(((d<<8|d>>>8)&65535)-32768|0,e)|0)/128&65535^32768)|0;d=d>>>0>98303?-1:(d>>>0<=32768?32768:d)^-32768;B[a>>1]=d<<8|(d&65280)>>>8;a=a+2|0;b=b+2|0;c=c-1|0;if(c){continue}break}}}function _l(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-48|0;Ce=e;C[e+8>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;A[e+24|0]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+28>>2]=0;C[e+32>>2]=0;c=Qf(b);A[e+40|0]=1;C[e+36>>2]=c;c=Of(b,1195656518);a:{if(!c){break a}d=C[c>>2];if(!d){break a}C[c>>2]=d+1}d=c;A[e+24|0]=0;C[e+32>>2]=c;g=C[c+12>>2];C[e+4>>2]=g;f=C[c+16>>2];C[e+8>>2]=f+g;C[e+28>>2]=0;if(f>>>0>67108862){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}C[e+12>>2]=f;C[e+20>>2]=0;C[e>>2]=0;b:{c:{if(!g){break c}d:{e:{f:{g:{if(Un(g,e)){break g}h:{if(D[e+24|0]|!C[e+28>>2]){break h}d=Pf(c);C[e+4>>2]=d;C[e+8>>2]=d+C[c+16>>2];if(!d){break h}while(1){A[e+24|0]=1;d=C[e+32>>2];g=C[d+12>>2];C[e+4>>2]=g;f=C[d+16>>2];C[e+8>>2]=f+g;C[e+28>>2]=0;if(f>>>0<=67108862){f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}else{f=1073741823}C[e+12>>2]=f;C[e+20>>2]=0;C[e>>2]=0;if(!g){break c}if(Un(g,e)){break g}if(D[e+24|0]|!C[e+28>>2]){break h}d=Pf(c);C[e+4>>2]=d;C[e+8>>2]=d+C[c+16>>2];if(d){continue}break}}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;break f}if(!C[e+28>>2]){break e}C[e+28>>2]=0;d=Un(g,e);g=C[e+28>>2];Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;if(g){break f}if(d){break d}}Ue(c);c=84608;break b}Ue(C[e+32>>2]);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break b}Ue(d);C[e+32>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0}C[a>>2]=c;c=C[c+16>>2];f=1;d=C[$g(b+136|0)>>2];d=C[(d?d:84608)+16>>2];g=d>>>11|0;b=C[uh(b+140|0)>>2];d=C[(b?b:84608)+16>>2]|d<<21;b=c<<10|g;c=b;i:{j:{if((c|0)<=987147&d>>>0<=2743134887|(c|0)<987147){if((c|0)<=452609&d>>>0<=1732289589|(c|0)<452609){if((c|0)<=196614&d>>>0<=843062357|(c|0)<196614){if((c|0)<=192512&d>>>0<=553651553|(c|0)<192512){if((d|0)==1606425686&(c|0)==184326){break i}if((d|0)!=520097548|(c|0)!=192512){break j}break i}if((d|0)==553651554&(c|0)==192512){break i}if((d|0)!=734010454|(c|0)!=196614){break j}break i}if((c|0)<=440321&d>>>0<=1732288213|(c|0)<440321){if((d|0)==843062358&(c|0)==196614){break i}if((d|0)!=1732286926|(c|0)!=440321){break j}break i}if((d|0)==1732288214&(c|0)==440321){break i}if((d|0)!=1732286668|(c|0)!=452609){break j}break i}if((c|0)<=864259&d>>>0<=2428547489|(c|0)<864259){if((c|0)<=501761&d>>>0<=2092999333|(c|0)<501761){if((d|0)==1732289590&(c|0)==452609){break i}if((d|0)!=2092999598|(c|0)!=489473){break j}break i}if((d|0)==2092999334&(c|0)==501761){break i}if((d|0)!=-1820280774|(c|0)!=851971){break j}break i}if((c|0)<=931846&d>>>0<=583055987|(c|0)<931846){if((d|0)==-1866419806&(c|0)==864259){break i}if((d|0)!=557888902|(c|0)!=919558){break j}break i}if((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283){break i}if((d|0)!=1640033596|(c|0)!=962571){break j}break i}k:{if((c|0)<=1071126&d>>>0<=4139790647|(c|0)<1071126){if((c|0)<=1030155&d>>>0<=4072730923|(c|0)<1030155){if((c|0)<=1017867&d>>>0<=4081118127|(c|0)<1017867){if((d|0)==-1551832408&(c|0)==987147){break i}if((d|0)!=-1560219632|(c|0)!=999435){break j}break i}if((d|0)==-213849168&(c|0)==1017867){break i}if((d|0)!=-629130764|(c|0)!=1028124){break j}break i}b=d-61346|0;if(((d>>>0<61346)+1030156|0)==(c|0)&b>>>0<=6){break k}g=c-((d>>>0<4286641516)+1042443|0)|0;b=d+8325780|0;if(!g&b>>>0>6|g){if((d|0)!=-222236372|(c|0)!=1030155){break j}break i}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break j;default:break i}}if((c|0)<=1083427&d>>>0<=239092841|(c|0)<1083427){if((c|0)<=1071139&d>>>0<=230704581|(c|0)<1071139){if((d|0)==-155176648&(c|0)==1071126){break i}if((d|0)!=226509528|(c|0)!=1071139){break j}break i}if((d|0)==230704582&(c|0)==1071139){break i}if((d|0)!=-150983126|(c|0)!=1083414){break j}break i}if((c|0)<=1361973&d>>>0<=2852184657|(c|0)<1361973){if((d|0)==239092842&(c|0)==1083427){break i}if((d|0)!=243286402|(c|0)!=1083427){break j}break i}b=(c|0)==1361973;if(b&(d|0)==-1442782638|b&(d|0)==-1442781604){break i}break j}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break j;default:break i}}f=0}if(f){Ue(C[a>>2]);C[a>>2]=84608}Ce=e+48|0}function fv(a,b,c,d,e){var 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;h=Ce-560|0;Ce=h;g=c;c=(c-3|0)/24|0;s=(c|0)>0?c:0;l=g+I(s,-24)|0;o=C[(e<<2)+360336>>2];j=d-1|0;if((o+j|0)>=0){g=d+o|0;c=s-j|0;while(1){H[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+C[(c<<2)+360352>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}p=l-24|0;g=0;i=(o|0)>0?o:0;n=(d|0)<=0;while(1){a:{if(n){f=0;break a}k=g+j|0;c=0;f=0;while(1){f=H[(c<<3)+a>>3]*H[(h+320|0)+(k-c<<3)>>3]+f;c=c+1|0;if((d|0)!=(c|0)){continue}break}}H[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}x=47-l|0;t=48-l|0;y=l-25|0;g=o;b:{while(1){f=H[(g<<3)+h>>3];c=0;i=g;k=(g|0)<=0;if(!k){while(1){n=(h+480|0)+(c<<2)|0;m=f*5.960464477539063e-8;c:{if(K(m)<2147483648){j=~~m;break c}j=-2147483648}m=+(j|0);f=m*-16777216+f;d:{if(K(f)<2147483648){j=~~f;break d}j=-2147483648}C[n>>2]=j;i=i-1|0;f=H[(i<<3)+h>>3]+m;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Ki(f,p);f=f+O(f*.125)*-8;e:{if(K(f)<2147483648){n=~~f;break e}n=-2147483648}f=f-+(n|0);f:{g:{h:{u=(p|0)<=0;i:{if(!u){i=(g<<2)+h|0;j=C[i+476>>2];c=j>>t;r=i;i=j-(c<>2]=i;n=c+n|0;j=i>>x;break i}if(p){break h}j=C[((g<<2)+h|0)+476>>2]>>23}if((j|0)<=0){break f}break g}j=2;if(f>=.5){break g}j=0;break f}c=0;i=0;if(!k){while(1){r=(h+480|0)+(c<<2)|0;v=C[r>>2];k=16777215;j:{k:{if(i){break k}k=16777216;if(v){break k}i=0;break j}C[r>>2]=k-v;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(u){break l}c=8388607;m:{switch(y|0){case 1:c=4194303;break;case 0:break m;default:break l}}k=(g<<2)+h|0;C[k+476>>2]=C[k+476>>2]&c}n=n+1|0;if((j|0)!=2){break f}f=1-f;j=2;if(!i){break f}f=f-Ki(1,p)}if(f==0){i=0;c=g;n:{if((g|0)<=(o|0)){break n}while(1){c=c-1|0;i=C[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(o|0)){continue}break}if(!i){break n}l=p;while(1){l=l-24|0;g=g-1|0;if(!C[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!C[(h+480|0)+(o-i<<2)>>2]){continue}break}i=g+i|0;while(1){j=d+g|0;g=g+1|0;H[(h+320|0)+(j<<3)>>3]=C[(s+g<<2)+360352>>2];c=0;f=0;if((d|0)>0){while(1){f=H[(c<<3)+a>>3]*H[(h+320|0)+(j-c<<3)>>3]+f;c=c+1|0;if((d|0)!=(c|0)){continue}break}}H[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Ki(f,24-l|0);o:{if(f>=16777216){d=(h+480|0)+(g<<2)|0;m=f*5.960464477539063e-8;p:{if(K(m)<2147483648){c=~~m;break p}c=-2147483648}f=+(c|0)*-16777216+f;q:{if(K(f)<2147483648){a=~~f;break q}a=-2147483648}C[d>>2]=a;g=g+1|0;break o}if(K(f)<2147483648){c=~~f}else{c=-2147483648}l=p}C[(h+480|0)+(g<<2)>>2]=c}f=Ki(1,l);r:{if((g|0)<0){break r}d=g;while(1){a=d;H[(d<<3)+h>>3]=f*+C[(h+480|0)+(d<<2)>>2];d=d-1|0;f=f*5.960464477539063e-8;if(a){continue}break}k=0;if((g|0)<0){break r}a=(o|0)>0?o:0;i=g;while(1){d=a>>>0>>0?a:k;l=g-i|0;c=0;f=0;while(1){f=H[(c<<3)+363120>>3]*H[(c+i<<3)+h>>3]+f;p=(c|0)!=(d|0);c=c+1|0;if(p){continue}break}H[(h+160|0)+(l<<3)>>3]=f;i=i-1|0;c=(g|0)!=(k|0);k=k+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<=0){break v}f=H[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;w=H[e>>3];f=w+f;H[d+(c<<3)>>3]=m+(w-f);H[e>>3]=f;d=c>>>0>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=H[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;q=H[e>>3];f=q+f;H[d+(c<<3)>>3]=m+(q-f);H[e>>3]=f;d=c>>>0>2;c=a;if(d){continue}break}q=0;if((g|0)<=1){break v}while(1){q=q+H[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=H[h+160>>3];if(j){break t}H[b>>3]=f;f=H[h+168>>3];H[b+16>>3]=q;H[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){a=g;g=g-1|0;f=f+H[(h+160|0)+(a<<3)>>3];if(a){continue}break}}H[b>>3]=j?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){d=g;while(1){a=d;d=d-1|0;f=f+H[(h+160|0)+(a<<3)>>3];if(a){continue}break}}H[b>>3]=j?-f:f;f=H[h+160>>3]-f;c=1;if((g|0)>0){while(1){f=f+H[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}H[b+8>>3]=j?-f:f;break s}H[b>>3]=-f;f=H[h+168>>3];H[b+16>>3]=-q;H[b+8>>3]=-f}Ce=h+560|0;return n&7}function xs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;c=C[a+4>>2];d=C[C[c+92>>2]+I(C[c+76>>2],20)>>2];a:{b:{c:{d:{if(b){b=C[a+8>>2];C[e+12>>2]=C[a+16>>2];f=b;g=C[b+76>>2];b=C[b+72>>2];if(!(Fe[C[b+156>>2]](f,g,d,e+12|0,C[b+20>>2])|0)){break d}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+12>>2];if(D[c+73|0]){e:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break e}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}if(Gn(a,0,d)){break b}b=C[a+8>>2];C[e+12>>2]=C[a+16>>2];f=b;g=C[b+76>>2];b=C[b+72>>2];if(!(Fe[C[b+156>>2]](f,g,d,e+12|0,C[b+20>>2])|0)){break c}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+12>>2];if(D[c+73|0]){f:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break f}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}if(Gn(a,1,d)){break b}}g:{if((E[(C[c+92>>2]+I(C[c+76>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{switch(d+-8192|0){case 0:case 2:b=512;break h;case 4:b=768;break h;case 5:b=1024;break h;case 6:b=1536;break h;case 7:b=4864;break h;case 8:b=5120;break h;case 9:b=1280;break h;case 10:b=4096;break h;case 47:b=5376;break h;case 95:b=4352;break h;default:if((d|0)!=12288){break g}break;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 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:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break g;case 1:case 3:break i}}b=256}f=C[a+8>>2];C[e+8>>2]=0;g=f;h=C[f+76>>2];f=C[f+72>>2];if(!(Fe[C[f+156>>2]](g,h,32,e+8|0,C[f+20>>2])|0)){break g}a=C[c+92>>2];d=C[c+76>>2];f=a+I(d,20)|0;g=E[f+16>>1];if((g&31)==29){B[f+16>>1]=g&255|b;d=C[c+76>>2];a=C[c+92>>2]}C[(a+I(d,20)|0)+12>>2]=C[e+8>>2];j:{if(D[c+73|0]){k:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break k}}if(!$e(c,1,1)){break j}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1}C[c+36>>2]=C[c+36>>2]|4;break a}l:{if((d|0)!=8209){break l}a=C[a+8>>2];C[e+4>>2]=0;b=a;f=C[a+76>>2];a=C[a+72>>2];if(!(Fe[C[a+156>>2]](b,f,8208,e+4|0,C[a+20>>2])|0)){break l}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+4>>2];if(D[c+73|0]){m:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break m}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}C[(C[c+92>>2]+I(C[c+76>>2],20)|0)+12>>2]=C[e+12>>2];if(D[c+73|0]){n:{if(C[c+96>>2]==C[c+92>>2]){a=C[c+84>>2];if((a|0)==C[c+76>>2]){break n}}if(!$e(c,1,1)){break a}b=C[c+92>>2]+I(C[c+76>>2],20)|0;d=C[b+4>>2];a=C[c+96>>2]+I(C[c+84>>2],20)|0;C[a>>2]=C[b>>2];C[a+4>>2]=d;C[a+16>>2]=C[b+16>>2];d=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=d;a=C[c+84>>2]}C[c+84>>2]=a+1}C[c+76>>2]=C[c+76>>2]+1;break a}C[c+76>>2]=C[c+76>>2]+1}Ce=e+16|0}function sk(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,o=0;e=Ce-80|0;Ce=e;a:{if(!(C[a>>2]==422838?a:0)){C[e>>2]=16603;Qe(19745,e);break a}if(!c){C[e+16>>2]=6991;Qe(19745,e+16|0);break a}if(!d){C[e+32>>2]=14968;Qe(19745,e+32|0);break a}C[e+40>>2]=0;C[e+44>>2]=0;g=C[a+12>>2];C[e+48>>2]=g;n=C[a+16>>2];C[e+52>>2]=n;if(b){f=b;b=e+40|0;if(!yg(f,b,b)){break a}n=C[e+52>>2];g=C[e+48>>2]}if(!g|!n){break a}o=C[a+40>>2];h=C[a+44>>2];if(h){b:{c:{d:{e:{f:{b=C[h>>2];g:{if((b|0)<=1431918168){h:{switch(b-842094158|0){case 0:break f;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 b;default:break h}}if((b|0)==825382478){break f}if((b|0)!=844715353){break b}break c}if((b|0)==1431918169|(b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}f=C[e+44>>2];i=C[e+40>>2];i:{if(f|i){break i}f=0;j=C[e+48>>2];if((j|0)!=C[h+8>>2]){break i}b=C[e+52>>2];if((b|0)==C[h+12>>2]){break e}}if(C[e+52>>2]<=0){break b}g=C[e+48>>2];f=i+(C[h+16>>2]+I(C[h+8>>2],f)|0)|0;j=0;b=c;while(1){gf(f,b,g);b=b+d|0;k=C[h+8>>2];f=k+f|0;j=j+1|0;i=C[e+52>>2];if((j|0)<(i|0)){continue}break}if((i|0)<=0){break b}g=(C[e+48>>2]+1|0)/2|0;f=C[h+16>>2]+I(k,C[h+12>>2])+(I(C[e+44>>2]/2|0,(k+1|0)/2|0)+(C[e+40>>2]/2|0))|0;n=(d+1|0)/2|0;b=I(d,i)+c|0;j=0;while(1){gf(f,b,g);b=b+n|0;k=C[h+8>>2];l=(k+1|0)/2|0;f=l+f|0;j=j+1|0;m=C[e+52>>2];i=(m+1|0)/2|0;if((j|0)<(i|0)){continue}break}if((m|0)<=0){break b}g=(C[e+48>>2]+1|0)/2|0;b=C[h+12>>2];f=(C[h+16>>2]+I(b,k)|0)+I(l,(b+1|0)/2|0)+(I(l,C[e+44>>2]/2|0)+(C[e+40>>2]/2|0))|0;c=(I(d,m)+c|0)+I(i,n)|0;d=0;while(1){gf(f,c,g);c=c+n|0;f=((C[h+8>>2]+1|0)/2|0)+f|0;d=d+1|0;if((d|0)<((C[e+52>>2]+1|0)/2|0)){continue}break}break b}f=C[e+44>>2];i=C[e+40>>2];if(f|i){break d}f=0;j=C[e+48>>2];if((j|0)!=C[h+8>>2]){break d}b=C[e+52>>2];if((b|0)!=C[h+12>>2]){break d}}gf(C[h+16>>2],c,I(b,j)+(I((j+1|0)/2|0,(b+1|0)/2|0)<<1)|0);break b}if(C[e+52>>2]<=0){break b}g=C[e+48>>2];f=i+(C[h+16>>2]+I(C[h+8>>2],f)|0)|0;j=0;b=c;while(1){gf(f,b,g);b=b+d|0;k=C[h+8>>2];f=k+f|0;j=j+1|0;i=C[e+52>>2];if((j|0)<(i|0)){continue}break}if((i|0)<=0){break b}g=(C[e+48>>2]+1|0)/2<<1;f=(C[h+16>>2]+I(k,C[h+12>>2])|0)+(I((C[e+44>>2]+1|0)/2|0,(k+1|0)/2|0)+(C[e+40>>2]/2|0)<<1)|0;c=I(d,i)+c|0;b=(d+1|0)/2<<1;d=0;while(1){gf(f,c,g);c=b+c|0;f=((C[h+8>>2]+1|0)/2<<1)+f|0;d=d+1|0;if((d|0)<((C[e+52>>2]+1|0)/2|0)){continue}break}break b}if(C[e+52>>2]<=0){break b}g=(C[e+48>>2]+1|0)/2<<2;f=(C[h+28>>2]+I(C[e+44>>2],E[h+20>>1])|0)+(C[e+40>>2]<<1)|0;b=0;while(1){gf(f,c,g);c=c+d|0;f=E[h+20>>1]+f|0;b=b+1|0;if((b|0)>2]){continue}break}}C[e+64>>2]=0;C[e+68>>2]=0;g=C[a+12>>2];C[e+72>>2]=g;d=C[a+16>>2];C[e+76>>2]=d;j:{if(C[a+8>>2]==1){C[e+60>>2]=0;C[e+56>>2]=0;if((sl(o,e- -64|0,e+60|0,e+56|0)|0)<0){break j}nq(C[a+44>>2],e- -64|0,C[o+4>>2],C[e+72>>2],C[e+76>>2],C[e+60>>2],C[e+56>>2]);rl(o);break a}b=C[o+4>>2];k:{if(!(!b|(b&-268435456)==268435456)){c=2;if((b|0)==844715353|(b|0)==1498831189){break k}c=(b|0)==1431918169?2:1;break k}c=b&255}c=I(c,g)+3&-4;b=I(c,d);if(!b){break a}b=Fe[C[94762]](b>>>0<=1?1:b)|0;if(b){C[94766]=C[94766]+1}if(b){f=C[a+44>>2];a=e- -64|0;nq(f,a,C[o+4>>2],g,d,b,c);sk(o,a,b,c);if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}break a}_e(0);break a}break a}if(o){l=Ce-16|0;Ce=l;m=e+40|0;g=C[m+8>>2];l:{if(!g){break l}b=C[m+12>>2];if(!b){break l}k=C[a+40>>2];m:{if(C[a+8>>2]==1){C[l+12>>2]=0;C[l+8>>2]=0;if((sl(k,m,l+12|0,l+8|0)|0)<0){break m}Zi(C[m+8>>2],C[m+12>>2],C[a+4>>2],c,d,C[k+4>>2],C[l+12>>2],C[l+8>>2]);rl(k);break l}i=C[k+4>>2];n:{if(!(!i|(i&-268435456)==268435456)){f=2;if((i|0)==844715353|(i|0)==1498831189){break n}f=(i|0)==1431918169?2:1;break n}f=i&255}g=I(f,g)+3&-4;if(!g){break l}b=I(b,g);b=Fe[C[94762]](b>>>0<=1?1:b)|0;if(b){C[94766]=C[94766]+1}if(b){Zi(C[m+8>>2],C[m+12>>2],C[a+4>>2],c,d,C[k+4>>2],b,g);sk(k,m,b,g);if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}break l}_e(0)}}Ce=l+16|0;break a}b=C[a+36>>2];if((Uq(a)|0)<0){break a}Fe[C[b+56>>2]](b,a,e+40|0,c,d)|0}Ce=e+80|0}function Go(a,b,c,d,e,f){var 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,F=0,G=0,H=0;i=Ce+-64|0;C[i+48>>2]=0;C[i+52>>2]=0;C[i+56>>2]=0;C[i+60>>2]=0;C[i+32>>2]=0;C[i+36>>2]=0;C[i+40>>2]=0;C[i+44>>2]=0;a:{b:{c:{d:{e:{if(c){if(c>>>0>=4){n=c&-4;while(1){m=i+32|0;l=k<<1;h=m+(E[l+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;h=m+(E[(l|2)+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;h=m+(E[(l|4)+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;h=m+(E[(l|6)+b>>1]<<1)|0;B[h>>1]=E[h>>1]+1;k=k+4|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}h=c&3;if(h){while(1){g=(i+32|0)+(E[(k<<1)+b>>1]<<1)|0;B[g>>1]=E[g>>1]+1;k=k+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}k=C[e>>2];l=15;g=E[i+62>>1];if(g){break d}break e}k=C[e>>2]}l=14;g=0;if(E[i+60>>1]){break d}l=13;if(E[i+58>>1]){break d}l=12;if(E[i+56>>1]){break d}l=11;if(E[i+54>>1]){break d}l=10;if(E[i+52>>1]){break d}l=9;if(E[i+50>>1]){break d}l=8;if(E[i+48>>1]){break d}l=7;if(E[i+46>>1]){break d}l=6;if(E[i+44>>1]){break d}l=5;if(E[i+42>>1]){break d}l=4;if(E[i+40>>1]){break d}l=3;if(E[i+38>>1]){break d}l=2;if(E[i+36>>1]){break d}if(!E[i+34>>1]){a=C[d>>2];C[d>>2]=a+4;B[a>>1]=320;B[a+2>>1]=0;a=C[d>>2];C[d>>2]=a+4;B[a>>1]=320;B[a+2>>1]=0;m=1;break b}r=(k|0)!=0;l=1;k=1;break c}r=k>>>0>>0?k:l;p=1;k=1;while(1){if(E[(i+32|0)+(k<<1)>>1]){break c}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l}j=-1;o=E[i+34>>1];if(o>>>0>2){break a}s=E[i+36>>1];h=s+(o<<1)|0;if(h>>>0>4){break a}q=E[i+38>>1];h=q+(h<<1)|0;if(h>>>0>8){break a}t=E[i+40>>1];h=t+(h<<1)|0;if((h|0)>16){break a}u=E[i+42>>1];h=32-(u+(h<<1)|0)|0;if((h|0)<0){break a}w=E[i+44>>1];h=(h<<1)-w|0;if((h|0)<0){break a}x=E[i+46>>1];h=(h<<1)-x|0;if((h|0)<0){break a}z=E[i+48>>1];h=(h<<1)-z|0;if((h|0)<0){break a}F=E[i+50>>1];h=(h<<1)-F|0;if((h|0)<0){break a}y=E[i+52>>1];h=(h<<1)-y|0;if((h|0)<0){break a}G=E[i+54>>1];h=(h<<1)-G|0;if((h|0)<0){break a}v=E[i+56>>1];h=(h<<1)-v|0;if((h|0)<0){break a}m=E[i+58>>1];h=(h<<1)-m|0;if((h|0)<0){break a}n=E[i+60>>1];h=(h<<1)-n|0;if((h|0)<0){break a}h=h<<1;if(h>>>0>>0|(!a|p?(g|0)!=(h|0):0)){break a}H=k>>>0>>0;j=0;B[i+2>>1]=0;B[i+4>>1]=o;g=o+s|0;B[i+6>>1]=g;g=g+q|0;B[i+8>>1]=g;g=g+t|0;B[i+10>>1]=g;g=g+u|0;B[i+12>>1]=g;g=g+w|0;B[i+14>>1]=g;g=g+x|0;B[i+16>>1]=g;g=g+z|0;B[i+18>>1]=g;g=g+F|0;B[i+20>>1]=g;g=g+y|0;B[i+22>>1]=g;g=g+G|0;B[i+24>>1]=g;g=g+v|0;B[i+26>>1]=g;g=g+m|0;B[i+28>>1]=g;B[i+30>>1]=g+n;f:{if(!c){break f}if((c|0)!=1){m=c&-2;g=0;while(1){h=E[(j<<1)+b>>1];if(h){h=(h<<1)+i|0;n=E[h>>1];B[h>>1]=n+1;B[(n<<1)+f>>1]=j}n=j|1;h=E[(n<<1)+b>>1];if(h){h=(h<<1)+i|0;v=E[h>>1];B[h>>1]=v+1;B[(v<<1)+f>>1]=n}j=j+2|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}if(!(c&1)){break f}c=E[(j<<1)+b>>1];if(!c){break f}c=(c<<1)+i|0;g=E[c>>1];B[c>>1]=g+1;B[(g<<1)+f>>1]=j}m=H?r:k;s=20;z=0;n=f;w=n;F=0;g:{h:{switch(a|0){case 1:j=1;if(m>>>0>9){break a}s=257;w=359952;n=359888;F=1;break g;case 0:break g;default:break h}}z=(a|0)==2;s=0;w=360080;n=360016;if((a|0)!=2){break g}j=1;if(m>>>0>9){break a}}q=1<>2];u=0;g=m;o=0;p=0;a=-1;while(1){h=1<>1];c=0;j:{if(g+1>>>0>>0){break j}if(g>>>0>>0){g=0;c=96;break j}c=g-s<<1;g=E[c+n>>1];c=D[c+w|0]}v=p>>>o|0;H=-1<>1]=g;A[y+1|0]=x;A[y|0]=c;if(j){continue}break}g=1<>>1|0;if(c&p){continue}break}g=(i+32|0)+(k<<1)|0;j=E[g>>1]-1|0;B[g>>1]=j;p=c?c+(c-1&p)|0:0;u=u+1|0;if(!(j&65535)){if((k|0)==(l|0)){break i}k=E[(E[(u<<1)+f>>1]<<1)+b>>1]}if(k>>>0<=m>>>0){continue}c=p&G;if((c|0)==(a|0)){continue}break}o=o?o:m;g=k-o|0;r=1<>>0>>0){a=l-o|0;j=k;k:{while(1){j=r-E[(i+32|0)+(j<<1)>>1]|0;if((j|0)<=0){break k}r=j<<1;g=g+1|0;j=o+g|0;if(l>>>0>j>>>0){continue}break}g=a}r=1<>>0>852&F|q>>>0>592&z){break a}a=C[d>>2];j=a+(c<<2)|0;A[j+1|0]=m;A[j|0]=g;t=(h<<2)+t|0;B[j+2>>1]=t-a>>>2;a=c;continue}break}if(p){a=(p<<2)+t|0;B[a+2>>1]=0;A[a+1|0]=x;A[a|0]=64}C[d>>2]=C[d>>2]+(q<<2)}C[e>>2]=m;j=0}return j}function op(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;k=Ce-16|0;Ce=k;m=C[a+676>>2];i=C[a+104>>2];l=C[i+28>>2];C[k+4>>2]=0;n=6;a:{if(!D[a+672|0]|!m){break a}n=0;if(F[m+32>>2]<=b>>>0){break a}a=C[m+36>>2];e=b+1|0;if(C[a+(b<<2)>>2]==C[a+(e<<2)>>2]){break a}a=0;q=Ve(l,8,0,d,0,k+12|0);b:{if(C[k+12>>2]){break b}a=Ve(l,1,0,d,0,k+12|0);if(C[k+12>>2]){break b}b=b<<2;f=bf(i,C[b+C[m+36>>2]>>2]);C[k+12>>2]=f;if(f){break b}f=e<<2;e=C[m+36>>2];b=Cf(i,C[f+e>>2]-C[b+e>>2]|0);C[k+12>>2]=b;if(b){break b}b=C[i>>2];e=C[i+32>>2];s=Ve(l,4,0,C[m>>2],0,k+12|0);c:{if(C[k+12>>2]){break c}y=Ve(l,4,0,C[m>>2],0,k+12|0);if(C[k+12>>2]){break c}z=Ve(l,4,0,C[m>>2],0,k+12|0);if(C[k+12>>2]){break c}f=Gf(i);u=Gf(i)+(e-b|0)|0;b=f<<16>>16;if((b|0)<0){e=C[i+32>>2];f=C[i>>2];C[i+32>>2]=f+u;M=rp(i,k+4|0);n=C[i+32>>2];f=e-f|0;e=C[i>>2];C[i+32>>2]=f+e;u=n-e|0}H=b&4095;if(!H){break c}N=d&-2;O=d&1;J=C[k+4>>2];e=0;while(1){P=Gf(i);d:{e:{f:{g:{h:{f=Gf(i);n=f<<16>>16;i:{if((n|0)<0){b=0;if(!C[m>>2]){break i}while(1){R=(b<<2)+s|0,S=Gf(i)<<16>>16<<2,C[R>>2]=S;b=b+1|0;if(b>>>0>2]){continue}break}break i}b=f&4095;if(b>>>0>=F[m+24>>2]){break h}h=b;b=C[m>>2];t(s,C[m+28>>2]+(I(h,b)<<2)|0,b<<2)}j:{if(!(f&16384)){break j}b=0;if(!C[m>>2]){break j}while(1){R=(b<<2)+y|0,S=Gf(i)<<16>>16<<2,C[R>>2]=S;b=b+1|0;h=C[m>>2];if(b>>>0>>0){continue}break}b=0;if(!h){break j}while(1){R=(b<<2)+z|0,S=Gf(i)<<16>>16<<2,C[R>>2]=S;b=b+1|0;if(b>>>0>2]){continue}break}}h=ow(m,n&65535,s,y,z);if(!h){break d}K=C[i>>2];Q=C[i+32>>2];k:{if(f&8192){C[i+32>>2]=u+K;n=rp(i,k+8|0);f=C[k+8>>2];b=n;break k}C[k+8>>2]=J;f=J;n=e;b=M}e=f?f:d;v=qp(i,e);w=qp(i,e);if(!v|(!b|!w)){break e}l:{if((b|0)!=-1){if(!d){break f}b=0;e=0;if((d|0)!=1){break l}break g}b=0;if(!d){break e}while(1){e=b<<1;f=Te(B[e+v>>1],h);g=b<<3;j=g+C[c+4>>2]|0;C[j>>2]=f+C[j>>2];e=Te(B[e+w>>1],h);f=g+C[c+4>>2]|0;C[f+4>>2]=e+C[f+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}break e}while(1){g=b<<3;j=g+q|0;g=g+C[c+4>>2]|0;o=C[g+4>>2];C[j>>2]=C[g>>2];C[j+4>>2]=o;A[a+b|0]=0;g=b|1;j=g<<3;o=j+q|0;j=j+C[c+4>>2]|0;r=C[j+4>>2];C[o>>2]=C[j>>2];C[o+4>>2]=r;A[a+g|0]=0;b=b+2|0;e=e+2|0;if((N|0)!=(e|0)){continue}break}break g}C[k+12>>2]=8;break c}if(!O){break f}e=b<<3;g=e+q|0;e=e+C[c+4>>2]|0;j=C[e+4>>2];C[g>>2]=C[e>>2];C[g+4>>2]=j;A[a+b|0]=0}b=0;if(f){while(1){e=b<<1;g=E[e+n>>1];if(g>>>0>>0){A[a+g|0]=1;j=Te(B[e+v>>1],h);g=g<<3;o=g+C[c+4>>2]|0;C[o>>2]=j+C[o>>2];e=Te(B[e+w>>1],h);g=g+C[c+4>>2]|0;C[g+4>>2]=e+C[g+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=0;G=0;if(E[c>>1]){j=C[c+4>>2];while(1){r=0;g=b;e=b;o=B[C[c+12>>2]+(G<<1)>>1];m:{if(o>>>0>>0){break m}while(1){n:{b=e+1|0;if(D[a+e|0]){break n}r=r+1|0;e=b;if(b>>>0<=o>>>0){continue}break m}break}f=e;h=e;o:{p:{q:{if(b>>>0<=o>>>0){while(1){if(D[a+b|0]){np(h+1|0,f,h,b,q,j);h=b}f=b;b=b+1|0;if(o>>>0>=b>>>0){continue}break}if((e|0)!=(h|0)){break q}}h=e<<3;p=h+q|0;f=C[p+4>>2];x=h+j|0;h=C[x+4>>2];x=C[x>>2];p=C[p>>2];if((x|0)==(p|0)&(f|0)==(h|0)){break m}h=h-f|0;p=x-p|0;if((e|0)<=(g|0)){break o}if(r&1){f=j+(g<<3)|0;C[f>>2]=p+C[f>>2];C[f+4>>2]=h+C[f+4>>2];g=g+1|0}if((r|0)!=1){break p}break o}np(h+1|0,o,h,e,q,j);if(!e){break m}np(g,e-1|0,h,e,q,j);break m}while(1){f=j+(g<<3)|0;C[f>>2]=p+C[f>>2];C[f+4>>2]=h+C[f+4>>2];C[f+12>>2]=h+C[f+12>>2];C[f+8>>2]=p+C[f+8>>2];g=g+2|0;if((g|0)!=(e|0)){continue}break}}if((e|0)>=(o|0)){break m}while(1){e=e+1|0;f=j+(e<<3)|0;C[f>>2]=p+C[f>>2];C[f+4>>2]=h+C[f+4>>2];if((e|0)!=(o|0)){continue}break}}G=G+1|0;if((G|0)>1]){continue}break}}}e=-1;if((n|0)!=-1){if(n){Fe[C[l+8>>2]](l,n)}e=0}if(v){Fe[C[l+8>>2]](l,v)}if(w){Fe[C[l+8>>2]](l,w)}C[i+32>>2]=C[i>>2]+(Q-K|0)}u=u+P|0;L=L+1|0;if((L|0)!=(H|0)){continue}break}}if(s){Fe[C[l+8>>2]](l,s)}if(y){Fe[C[l+8>>2]](l,y)}if(z){Fe[C[l+8>>2]](l,z)}xf(i)}if(q){Fe[C[l+8>>2]](l,q)}if(a){Fe[C[l+8>>2]](l,a)}n=C[k+12>>2]}Ce=k+16|0;return n}function mx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;g=Ce-32|0;Ce=g;nj(a,g+20|0);h=C[g+28>>2];a:{if(!h){f=3;break a}j=C[g+20>>2];C[g+16>>2]=j;i=C[g+24>>2];b:{c:{d:{e=C[b+8>>2];if((e|0)==7){e=C[a+8>>2];C[a+8>>2]=i-1;o=1;f=C[a>>2];C[a>>2]=j+1;nj(a,g);C[a+8>>2]=e;C[a>>2]=f;f=3;if(C[g+8>>2]==3){break d}e=7;break b}f=3;if((h|0)==3){break c}o=1;break b}if(!d){break a}C[g+16>>2]=j+1;i=i-1|0;e=8;p=1;break b}if(!d){break a}p=1;C[g+16>>2]=j+1;i=i-1|0;o=d}q=I(d,3);r=d<<1;s=d<<2;u=e-1|0;v=h-2|0;while(1){e=C[(p<<2)+c>>2];j=C[b+16>>2];vg(g+16|0,i);j=e+j|0;f=3;e:{f:{g:{h:{i:{j:{switch(u|0){case 0:k:{e=C[g+16>>2];if(e+3>>>0>=i>>>0|D[e|0]!=116|(D[e+1|0]!=114|D[e+2|0]!=117)){break k}if(D[e+3|0]!=101){break k}f=1;C[g+16>>2]=e+5;break i}f=0;l:{if(D[e|0]!=102|e+4>>>0>=i>>>0|(D[e+1|0]!=97|D[e+2|0]!=108)){break l}if(D[e+3|0]!=115){break l}e=(D[e+4|0]==101?6:0)+e|0}C[g+16>>2]=e;break i;case 2:f=Mh(g+16|0,i,0);break i;case 3:f=Mh(g+16|0,i,3);break i;case 6:break g;case 4:case 5:break h;case 1:break j;case 7:break f;default:break a}}k=C[g+16>>2];C[g>>2]=k;h=Xh(g,i,10);f=0;e=C[g>>2];if((k|0)==(e|0)){break i}if(!(D[e|0]!=35|e>>>0>=i>>>0)){k=e+1|0;C[g>>2]=k;h=Xh(g,i,h);e=C[g>>2];if((k|0)==(e|0)){break i}}C[g+16>>2]=e;f=h}m:{switch(D[b+20|0]-1|0){case 0:A[j|0]=f;break e;case 1:B[j>>1]=f;break e;default:break m}}C[j>>2]=f;break e}e=C[g+16>>2];if(e>>>0>=i>>>0){break e}l=i-e|0;k=C[a+16>>2];n:{o:{switch(v|0){case 2:h=e+1|0;C[g+16>>2]=h;e=l-1|0;break n;case 0:break o;default:break a}}h=e+1|0;C[g+16>>2]=h;e=l-2|0}f=C[j>>2];if(f){if(f){Fe[C[k+8>>2]](k,f)}C[j>>2]=0}k=hf(k,e+1|0,g+12|0);f=C[g+12>>2];if(f){break a}t(k,h,e);A[e+k|0]=0;C[j>>2]=k;break e}f=C[g+16>>2];C[g>>2]=f;p:{q:{r:{s:{t:{if(f>>>0>=i>>>0){break t}h=D[f|0];u:{if((h|0)==91){e=93}else{e=0;k=0;if((h|0)!=123){break u}e=125}f=f+1|0;C[g>>2]=f;k=1}if(f>>>0>=i>>>0){break t}vg(g,i);f=C[g>>2];if(f>>>0>=i>>>0){break t}if(D[f|0]==(e|0)){break r}h=Mh(g,i,0);l=f;f=C[g>>2];if((l|0)==(f|0)|!(k&f>>>0>>0)){break t}vg(g,i);f=C[g>>2];if(f>>>0>=i>>>0){break t}if(D[f|0]==(e|0)){break r}k=Mh(g,i,0);l=f;f=C[g>>2];if((l|0)==(f|0)|f>>>0>=i>>>0){break t}vg(g,i);f=C[g>>2];if(f>>>0>=i>>>0){break t}if(D[f|0]==(e|0)){break r}l=Mh(g,i,0);m=f;f=C[g>>2];if((m|0)==(f|0)|f>>>0>=i>>>0){break t}vg(g,i);n=C[g>>2];if(n>>>0>=i>>>0){break t}if(D[n|0]==(e|0)){break r}m=Mh(g,i,0);f=C[g>>2];if((n|0)==(f|0)){break t}if(f>>>0>=i>>>0){break s}vg(g,i);f=C[g>>2];if(i>>>0<=f>>>0){break s}if(D[f|0]==(e|0)){break q}C[g+16>>2]=f;break p}f=3;break a}C[g+16>>2]=f;break p}f=3;break a}C[g+16>>2]=f+1}C[j>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;C[j+4>>2]=(k|0)>=0?k+32768&-65536:0-(32768-k&-65536)|0;C[j+8>>2]=(l|0)>=0?l+32768&-65536:0-(32768-l&-65536)|0;C[j+12>>2]=(m|0)>=0?m+32768&-65536:0-(32768-m&-65536)|0;break e}n=C[a+16>>2];j=Ve(n,4,0,s,0,g+12|0);f=C[g+12>>2];if(f){break a}m=0;while(1){e=C[g+16>>2];C[g>>2]=e;v:{if(e>>>0>=i>>>0){f=0;break v}l=I(d,m)<<2;h=D[e|0];w:{if((h|0)==91){h=93}else{if((h|0)!=123){h=0;k=1;break w}h=125}e=e+1|0;C[g>>2]=e;k=0}w=j+l|0;f=0;while(1){if(e>>>0>=i>>>0){break v}vg(g,i);e=C[g>>2];if(i>>>0<=e>>>0){break v}if(D[e|0]==(h|0)){e=e+1|0;break v}if(!(!j|(d|0)>(f|0))){break v}l=Mh(g,i,0);if(j){C[w+(f<<2)>>2]=l}l=e;e=C[g>>2];if((l|0)==(e|0)){f=3;break a}f=f+1|0;if(!k){continue}break}}C[g+16>>2]=e;if(d>>>0>f>>>0){f=3;break a}vg(g+16|0,i);m=m+1|0;if((m|0)!=4){continue}break}f=0;if(d){while(1){h=f<<2;e=C[h+c>>2];h=C[h+j>>2];C[e>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;h=C[j+(d+f<<2)>>2];C[e+4>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;h=C[j+(f+r<<2)>>2];C[e+8>>2]=(h|0)>=0?h+32768&-65536:0-(32768-h&-65536)|0;h=e;e=C[j+(f+q<<2)>>2];C[h+12>>2]=(e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}if(j){Fe[C[n+8>>2]](n,j)}}p=p+1|0;o=o-1|0;if(o){continue}break}f=0}Ce=g+32|0;return f|0}function Ly(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,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;p=Ce-80|0;Ce=p;f=gl(a,b);a:{if(f){break a}d=C[a+2980>>2];if(!(!(!(d&8)&C[c+24>>2]==1)&(d&1))){f=Ky(a,0);if(f){break a}Jy(a,c,0);d=C[a+2980>>2]}if(!(d&2)){f=Ky(a,1);if(f){break a}Jy(a,c,1)}k=1;while(1){b:{d=C[a+2980>>2];c:{d:{if(k){if(d&1){break c}if(d&8|C[c+24>>2]!=1){break d}Sy(p+20|0,a,p+16|0,p+12|0);e=C[a+24>>2];if((e|0)<=0){break c}d=C[a+28>>2];e=d+I(e,40)|0;j=C[p+12>>2];f=C[p+16>>2];while(1){v=d,w=Te(B[d+12>>1],f)+j|0,C[v+16>>2]=w;d=d+40|0;if(e>>>0>d>>>0){continue}break}break c}if(d&2){break b}}s=I(l,1468)+a|0;u=s- -64|0;j=C[u>>2];q=C[s+56>>2];n=j+I(q,48)|0;g=0;d=j;o=(q|0)<=0;if(!o){while(1){f=D[d+12|0];e:{if(f&4){break e}e=C[d+24>>2];i=C[d+20>>2];f:{g:{if(!i){if(!e){break e}f=C[e+20>>2];if(!f){break e}i=C[f+8>>2];C[e+8>>2]=i;A[e+12|0]=D[e+12|0]|4;f=e;e=d;break g}i=C[i+8>>2];A[d+12|0]=f|4;C[d+8>>2]=i;if(!e){break f}f=d;if(C[e+20>>2]){break f}}f=Tm(a,l,C[e+4>>2]-C[f+4>>2]|0);A[e+12|0]=D[e+12|0]|4;C[e+8>>2]=f+i}g=g?g:d}i=0;d=d+48|0;if(n>>>0>d>>>0){continue}break}d=j;f=g;m=0;e=0;g=0;while(1){t=D[d+12|0];h:{if(t&4){break h}h=C[d+24>>2];if(!h){g=g+1|0;break h}i:{if(!(e&255)){break i}r=m- -64|0;if((r|0)<=C[d+8>>2]&(r|0)<=C[h+8>>2]){break i}g=g+1|0;break h}if(C[h+20>>2]){r=Tm(a,l,C[d+4>>2]-C[h+4>>2]|0);h=C[h+8>>2];A[d+12|0]=t|4;C[d+8>>2]=h+r;break h}if(d>>>0>h>>>0){e=Tm(a,l,C[d+4>>2]-C[h+4>>2]|0);h=C[h+8>>2];A[d+12|0]=t|4;m=e+h|0;C[d+8>>2]=m;e=1;break h}j:{if(!((f|0)!=0|l)){i=Hy(a,d,h,0,0);break j}Hy(a,d,h,i,l)}A[d+12|0]=D[d+12|0]|4;A[h+12|0]=D[h+12|0]|4;m=C[h+8>>2];e=1;f=d}d=d+48|0;if(n>>>0>d>>>0){continue}break}}k:{if(!k){break k}f=4;e=2;d=j;l:{switch(q-6|0){case 6:d=j+48|0;f=9;e=5;break;case 0:break l;default:break k}}if(C[d+24>>2]!=(d+48|0)){break k}i=j+I(e,48)|0;if(C[i+24>>2]!=(i+48|0)){break k}h=I(f,48);f=h+j|0;e=C[f+24>>2];if((e|0)!=(h+(j+48|0)|0)){break k}m=(C[i+4>>2]<<1)-(C[d+4>>2]+C[f+4>>2]|0)|0;h=m>>31;if((h^m)-h>>>0>7){break k}h=C[f+8>>2];d=(C[i+8>>2]<<1)-C[d+8>>2]|0;C[f+8>>2]=d;d=h-d|0;if(e){C[e+8>>2]=C[e+8>>2]-d}if((q|0)==12){C[j+392>>2]=C[j+392>>2]-d;C[j+536>>2]=C[j+536>>2]-d}A[f+12|0]=D[f+12|0]|4;if(!e){break k}A[e+12|0]=D[e+12|0]|4}m:{if(o){break m}d=j;if(!g){break m}while(1){f=D[d+12|0];n:{if(f&4){break n}e=C[d+28>>2];if(!e){break n}i=C[e+4>>2];e=C[e+8>>2];A[d+12|0]=f|4;C[d+8>>2]=(e+C[d+4>>2]|0)-i;g=g-1|0}d=d+48|0;if(n>>>0>d>>>0){continue}break}e=j;if(!g){break m}while(1){d=e;o:{if(D[d+12|0]&4){break o}while(1){f=d;d=d-48|0;h=j>>>0>d>>>0;if(!(h|D[f-36|0]&4)){continue}break}g=e;p:{q:{r:{while(1){i=g;g=g+48|0;if(n>>>0<=g>>>0){break r}if(!(D[i+60|0]&4)){continue}break}if(d>>>0>=j>>>0){break q}o=(C[e+4>>2]+C[i+56>>2]|0)-C[i+52>>2]|0;break p}if(h){break o}d=f-48|0;o=(C[e+4>>2]+C[d+8>>2]|0)-C[d+4>>2]|0;break p}g=E[g>>1];d=E[d>>1];o=C[f-40>>2];if((g|0)==(d|0)){break p}d=d<<16>>16;f=C[f-40>>2];o=of(B[e>>1]-d|0,C[i+56>>2]-f|0,(g<<16>>16)-d|0)+f|0}C[e+8>>2]=o}e=e+48|0;if(n>>>0>e>>>0){continue}break}}d=C[s+56>>2];j=C[u>>2];h=0;h=k|l?(C[a+2984>>2]&(k?1:2))!=0:h;if((d|0)>0){q=I(d,48)+j|0;n=k?4:8;while(1){d=C[j+40>>2];e=d;s:{if(h){while(1){g=e+40|0;i=C[e+44>>2];while(1){f=C[g>>2];C[f+(k?16:20)>>2]=C[j+8>>2];B[f>>1]=n|E[f>>1];g=f+32|0;if((f|0)!=(i|0)){continue}break}e=C[e+16>>2];if((d|0)!=(e|0)){continue}break s}}f=C[j+8>>2]-C[j+4>>2]|0;i=d;while(1){g=i+40|0;m=C[i+44>>2];while(1){e=C[g>>2];g=e+(k?16:20)|0;C[g>>2]=f+C[g>>2];B[e>>1]=n|E[e>>1];g=e+32|0;if((e|0)!=(m|0)){continue}break}i=C[i+16>>2];if((d|0)!=(i|0)){continue}break}}j=j+48|0;if(q>>>0>j>>>0){continue}break}}Ry(a,l);Qy(a,l)}l=1;d=k;k=0;if(d){continue}}break}c=C[a+24>>2];if((c|0)<=0){f=0;break a}d=C[a+28>>2];c=d+I(c,40)|0;g=C[b+4>>2];a=C[b+8>>2];while(1){C[g>>2]=C[d+16>>2];C[g+4>>2]=C[d+20>>2];f=0;b=E[d>>1];A[a|0]=b&1?0:b&2?2:1;a=a+1|0;g=g+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}Ce=p+80|0;return f|0}function Vq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ce-32|0;Ce=i;a:{b:{c:{if(!(C[a>>2]==422837?a:0)){C[i>>2]=9675;Qe(19745,i);break c}b=b?b:C[a+132>>2];j=b&255;k=!b|(b&-268435456)==268435456;if(!(j|!k)){Qe(5052,0);break a}d:{if(!k|(b>>>24&15)-1>>>0>2){break d}f=C[a+128>>2];if(!f){break b}while(1){if(C[((g<<2)+a|0)+132>>2]==(b|0)){break d}g=g+1|0;if((f|0)!=(g|0)){continue}break}break b}if(!((d|0)>0&(e|0)>0)){g=0;Qe(29892,0);break a}g=C[a+200>>2];f=C[a+196>>2];if(!(!((d|0)>(f|0)?f:0)&(!g|(e|0)<=(g|0)))){C[i+20>>2]=g;C[i+16>>2]=f;Qe(21090,i+16|0);break c}g=If(1,96);if(!g){g=0;_e(0);break a}C[g+32>>2]=-1;C[g+16>>2]=e;C[g+12>>2]=d;C[g+8>>2]=c;C[g+4>>2]=b;C[g>>2]=422838;f=Eg(22326);e:{if(!f){break e}if(!wf(f,3283)){break e}h=1;if(!wf(f,11244)){break e}h=2;if(!wf(f,3291)){break e}h=Zf(f)}C[g+36>>2]=a;C[g+28>>2]=h;f=C[a+408>>2];C[g+92>>2]=f;if(f){C[f+88>>2]=g}C[a+408>>2]=g;f:{g:{h:{i:{if((c|0)!=2){break i}f=C[g+4>>2];if(!f){break i}if((f&-268435456)!=268435456){break h}}j:{h=C[a+128>>2];if(!h){break j}f=0;while(1){if(C[((f<<2)+a|0)+132>>2]!=(b|0)){f=f+1|0;if((h|0)!=(f|0)){continue}break j}break}if((Fe[C[a+16>>2]](a,g)|0)<0){break f}break a}h=0;f=b;k:{l:{if(!(!b|(b&-268435456)==268435456)){l=C[a+128>>2];if(!l){break l}while(1){if(C[((h<<2)+a|0)+132>>2]==(f|0)){break k}h=h+1|0;if((l|0)!=(h|0)){continue}break}break l}h=f>>>24&15;m:{if(h-4>>>0<=2){n=!((f>>>20&15)-3&-6);break m}if(h-7>>>0>4){break m}f=f>>>20&15;if(f>>>0>6){break m}n=108>>>f&1}o=C[a+128>>2];if(!o){break l}h=0;while(1){f=C[((h<<2)+a|0)+132>>2];if(!((f&-268435456)!=268435456?f:0)){m=f>>>24&15;n:{if(m-4>>>0<=2){l=!((f>>>20&15)-3&-6);break n}l=0;if(m-7>>>0>4){break n}m=(f>>>20&15)-2|0;if(m>>>0>4){break n}l=C[(m<<2)+184216>>2]}if((l|0)==(n|0)){break k}}h=h+1|0;if((o|0)!=(h|0)){continue}break}}f=C[a+132>>2]}break g}f=C[a+132>>2]}f=Vq(a,f,c,d,e);C[g+40>>2]=f;if(!f){break f}h=C[g+92>>2];C[f+92>>2]=h;if(h){C[h+88>>2]=f}h=C[f+88>>2];C[g+88>>2]=h;if(h){C[h+92>>2]=g}C[f+88>>2]=g;C[g+92>>2]=f;C[a+408>>2]=g;a=C[g+4>>2];if(!(!a|(a&-268435456)==268435456)){c=0;o:{p:{q:{if((b|0)<=1431918168){r:{switch(b-842094158|0){case 0:case 11:break p;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((b|0)==825382478){break p}if((b|0)!=844715353){break q}break p}if((b|0)==1431918169|(b|0)==1448433993|(b|0)==1498831189){break p}}Qe(5669,0);a=0;break o}a=If(1,48);if(!a){_e(0);a=0;break o}C[a+12>>2]=e;C[a+8>>2]=d;C[a+4>>2]=0;C[a>>2]=b;j=(e+1|0)/2|0;f=(d+1|0)/2|0;h=I(j,f);k=I(d,e);s:{t:{u:{v:{if((b|0)<=1431918168){w:{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 s;case 0:break u;case 11:break v;default:break w}}if((b|0)==825382478){break u}if((b|0)!=844715353){break s}break t}if((b|0)==1431918169|(b|0)==1498831189){break t}if((b|0)!=1448433993){break s}}c=k+(h<<1)|0;break s}c=k+(h<<1)|0;break s}c=I(e,f)<<2}c=zl(c);C[a+16>>2]=c;if(!c){Nf(C[a+40>>2]);Nf(C[a+44>>2]);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}_e(0);a=0;break o}x:{y:{z:{if((b|0)<=1431918168){A:{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 o;case 0:break y;case 11:break z;default:break A}}if((b|0)==825382478){break y}if((b|0)!=844715353){break o}break x}if((b|0)==1431918169|(b|0)==1498831189){break x}if((b|0)!=1448433993){break o}}C[a+28>>2]=c;B[a+20>>1]=d;b=d&65535;c=c+I(b,e)|0;C[a+32>>2]=c;b=b+1>>>1|0;B[a+24>>1]=b;B[a+22>>1]=b;C[a+36>>2]=c+I(b,j);break o}C[a+28>>2]=c;B[a+20>>1]=d;B[a+22>>1]=d+1&65534;C[a+32>>2]=c+I(d&65535,e);break o}C[a+28>>2]=c;B[a+20>>1]=f<<2}C[g+44>>2]=a;if(!a){break f}break a}if((c|0)!=1){break a}B:{if(k){break B}j=2;if((b|0)==844715353|(b|0)==1498831189){break B}j=(b|0)==1431918169?2:1}a=I(d,j)+3&-4;C[g+52>>2]=a;a=If(1,I(a,e));C[g+48>>2]=a;if(a){break a}}Cj(g)}g=0;break a}g=0;Qe(20191,0)}Ce=i+32|0;return g}function sp(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0,u=0;e=Ce-48|0;Ce=e;m=C[a+100>>2];h=C[a+104>>2];C[e+40>>2]=0;a:{b:{if(C[a+676>>2]){break b}c=Fe[C[a+508>>2]](a,1735811442,h,e+44|0)|0;C[e+40>>2]=c;if(c){break a}c=Fe[C[a+508>>2]](a,1719034226,h,e+44|0)|0;C[e+40>>2]=c;if(c){break a}q=C[h+8>>2];c=Ff(h,285456,e+24|0);C[e+40>>2]=c;if(c){break a}c:{d:{if(C[e+24>>2]!=65536|E[e+34>>1]!=20){break d}c=E[e+32>>1];if(c>>>0>16382){break d}d=E[e+38>>1];if((d|0)!=((c<<2)+4|0)){break d}g=E[e+36>>1];if(g>>>0>32511){break d}if(F[e+44>>2]>=E[e+28>>1]+(I(d,g)+I(c,20)|0)>>>0){break c}}C[e+40>>2]=8;break a}c=hf(m,40,e+40|0);C[a+676>>2]=c;if(C[e+40>>2]){break a}d=c;c=E[e+36>>1];c=((c<<3)+I(E[e+32>>1],(c<<2)+29|0)|0)+20|0;C[d+12>>2]=c;j=hf(m,c,e+40|0);if(C[e+40>>2]){break a}C[C[a+676>>2]+8>>2]=j;f=E[e+32>>1];C[j+4>>2]=-1;C[j>>2]=f;d=E[e+36>>1];g=j+20|0;i=g+I(f,24)|0;C[j+16>>2]=i;C[j+12>>2]=g;C[j+8>>2]=d;c=i+(d<<3)|0;e:{if(!d){break e}n=d&3;f:{if(d>>>0<4){d=0;break f}r=d&65532;d=0;k=f<<2;while(1){l=d<<3;C[l+i>>2]=c;c=c+k|0;C[i+(l|8)>>2]=c;c=c+k|0;C[i+(l|16)>>2]=c;c=c+k|0;C[i+(l|24)>>2]=c;c=c+k|0;d=d+4|0;o=o+4|0;if((o|0)!=(r|0)){continue}break}}if(!n){break e}k=f<<2;while(1){C[i+(d<<3)>>2]=c;d=d+1|0;c=c+k|0;p=p+1|0;if((n|0)!=(p|0)){continue}break}}g:{if(!f){break g}k=f&7;i=0;h:{if(f>>>0<8){d=0;break h}l=f&65528;d=0;f=0;while(1){C[g+I(d,24)>>2]=c;C[g+I(d|1,24)>>2]=c+5;C[g+I(d|2,24)>>2]=c+10;C[g+I(d|3,24)>>2]=c+15;C[g+I(d|4,24)>>2]=c+20;C[g+I(d|5,24)>>2]=c+25;C[g+I(d|6,24)>>2]=c+30;C[g+I(d|7,24)>>2]=c+35;d=d+8|0;c=c+40|0;f=f+8|0;if((l|0)!=(f|0)){continue}break}}if(!k){break g}while(1){C[g+I(d,24)>>2]=c;d=d+1|0;c=c+5|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}c=bf(h,E[e+28>>1]+q|0);C[e+40>>2]=c;if(c){break a}if(E[e+32>>1]){c=C[j+12>>2];d=0;while(1){g=Ff(h,285504,e+4|0);C[e+40>>2]=g;if(g){break a}g=C[e+4>>2];C[c+16>>2]=g;C[c+4>>2]=C[e+8>>2];C[c+8>>2]=C[e+12>>2];C[c+12>>2]=C[e+16>>2];C[c+20>>2]=E[e+22>>1];A[C[c>>2]]=g>>>24;A[C[c>>2]+1|0]=E[c+18>>1];A[C[c>>2]+2|0]=C[c+16>>2]>>>8;A[C[c>>2]+3|0]=C[c+16>>2];A[C[c>>2]+4|0]=0;c=c+24|0;d=d+1|0;if(d>>>0>1]){continue}break}}if(!E[e+36>>1]){break b}d=C[j+16>>2];f=0;while(1){c=Cf(h,(E[e+32>>1]<<2)+4|0);C[e+40>>2]=c;if(c){break a}s=d,u=Gf(h),C[s+4>>2]=u;Gf(h);c=0;if(E[e+32>>1]){while(1){g=wg(h);C[C[d>>2]+(c<<2)>>2]=g;c=c+1|0;if(c>>>0>1]){continue}break}}xf(h);d=d+8|0;f=f+1|0;if(f>>>0>1]){continue}break}}if(!b){break a}g=hf(m,C[C[a+676>>2]+12>>2],e+40|0);if(C[e+40>>2]){break a}a=C[a+676>>2];t(g,C[a+8>>2],C[a+12>>2]);h=g+20|0;C[g+12>>2]=h;j=C[g>>2];c=I(j,24)+h|0;C[g+16>>2]=c;d=C[g+8>>2];a=c+(d<<3)|0;i:{if(!d){break i}l=d&3;f=0;j:{if(d>>>0<4){d=0;break j}n=d&-4;d=0;k=j<<2;i=0;while(1){m=d<<3;C[m+c>>2]=a;a=a+k|0;C[c+(m|8)>>2]=a;a=a+k|0;C[c+(m|16)>>2]=a;a=a+k|0;C[c+(m|24)>>2]=a;a=a+k|0;d=d+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!l){break i}i=j<<2;while(1){C[c+(d<<3)>>2]=a;d=d+1|0;a=a+i|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}}k:{if(!j){break k}if((j|0)!=1){i=j&-2;c=0;while(1){C[h>>2]=a;l:{m:{n:{d=C[h+16>>2];if((d|0)<=2003072103){if((d|0)==1869640570){break n}if((d|0)!=1936486004){break l}f=4130;break m}f=4389;if((d|0)==2003265652){break m}if((d|0)!=2003072104){break l}f=14854;break m}f=16002}C[h>>2]=f}C[h+24>>2]=a+5;o:{p:{q:{r:{d=C[h+40>>2];if((d|0)<=2003072103){if((d|0)==1869640570){break r}if((d|0)!=1936486004){break o}f=4130;break p}if((d|0)==2003072104){break q}f=4389;if((d|0)==2003265652){break p}break o}f=16002;break p}f=14854}C[h+24>>2]=f}h=h+48|0;a=a+10|0;c=c+2|0;if((i|0)!=(c|0)){continue}break}}if(!(j&1)){break k}C[h>>2]=a;s:{t:{u:{a=C[h+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break u}if((a|0)!=1936486004){break k}c=4130;break s}if((a|0)==2003072104){break t}c=4389;if((a|0)==2003265652){break s}break k}c=16002;break s}c=14854}C[h>>2]=c}C[b>>2]=g}Ce=e+48|0;return C[e+40>>2]}function As(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=I(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){l=I(b-1|0,c);j=l+a|0;k=n+j|0;g=a+c|0;d=C[g>>2];i=I(b>>>1|0,c)+a|0;b=C[i>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(D[g+8|0]){break b}d=C[i+4>>2];b=C[g+4>>2];if((d^b)>>>0<2){break b}b=(b|0)<(d|0)?-1:1;break a}d=C[g+12>>2];b=C[i+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}f=(b|0)>0;b=f?g:i;d=C[b>>2];h=C[k>>2];c:{d:{if((d|0)!=(h|0)){if((d|0)>=(h|0)){break d}break c}e:{if(D[b+8|0]){break e}e=C[k+4>>2];d=C[b+4>>2];if((e^d)>>>0<2){break e}if((d|0)>=(e|0)){break d}break c}if(F[b+12>>2]<=F[k+12>>2]){break c}}e=f?i:g;b=C[e>>2];f:{if((b|0)!=(h|0)){b=(b|0)<(h|0)?-1:1;break f}g:{if(D[e+8|0]){break g}d=C[k+4>>2];b=C[e+4>>2];if((d^b)>>>0<2){break g}b=(b|0)<(d|0)?-1:1;break f}d=C[e+12>>2];b=C[k+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}b=(b|0)>0?e:k}if(!((b|0)==(j|0)|(c|0)<=0)){f=b+c|0;d=j;while(1){e=D[b|0];A[b|0]=D[d|0];A[d|0]=e;d=d+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}h:{if((l|0)<=0){g=0;break h}i=j;e=i;f=a;g=f;while(1){i:{if(e>>>0<=g>>>0){break i}while(1){j:{d=C[g>>2];b=C[j>>2];k:{if((d|0)!=(b|0)){if((b|0)>(d|0)){break k}break j}l:{if(D[g+8|0]){break l}d=C[j+4>>2];b=C[g+4>>2];if((d^b)>>>0<2){break l}if((b|0)>=(d|0)){break j}break k}d=C[g+12>>2];b=C[j+12>>2];if(d>>>0>>0){break k}if(b>>>0>>0){break j}if(!((c|0)<=0|g>>>0<=f>>>0)){k=c+f|0;b=f;d=g;while(1){h=D[b|0];A[b|0]=D[d|0];A[d|0]=h;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}}f=c+f|0}g=c+g|0;if(g>>>0>>0){continue}break i}break}m:{while(1){n:{k=e;e=e+n|0;d=C[e>>2];b=C[j>>2];o:{if((d|0)!=(b|0)){if((b|0)<=(d|0)){break o}break n}p:{if(D[e+8|0]){break p}d=C[j+4>>2];b=C[e+4>>2];if((d^b)>>>0<2){break p}if((b|0)<(d|0)){break n}break o}d=C[e+12>>2];b=C[j+12>>2];if(d>>>0>>0){break n}if(b>>>0>>0){break o}h=i+n|0;q:{if(i>>>0<=k>>>0){break q}b=e;d=h;if((c|0)<=0){break q}while(1){i=D[b|0];A[b|0]=D[d|0];A[d|0]=i;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}}i=h}if(e>>>0>g>>>0){continue}break m}break}if(!((c|0)<=0|e>>>0<=g>>>0)){k=c+g|0;b=g;d=e;while(1){h=D[b|0];A[b|0]=D[d|0];A[d|0]=h;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}}g=c+g|0}if(e>>>0>g>>>0){continue}}break}l=e-f|0;r:{if((a|0)==(f|0)|(e|0)==(f|0)){break r}b=f-a|0;if(b>>>0>l>>>0){if((l|0)<=0){break r}h=a+l|0;b=a+b|0;d=a;while(1){f=D[d|0];A[d|0]=D[b|0];A[b|0]=f;b=b+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}break r}if((b|0)<=0){break r}h=a+b|0;b=a+l|0;d=a;while(1){f=D[d|0];A[d|0]=D[b|0];A[b|0]=f;b=b+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}}g=i-e|0;if((e|0)==(i|0)|(i|0)==(m|0)){break h}b=m-i|0;if(b>>>0>>0){if((b|0)<=0){break h}f=b+e|0;b=e+g|0;while(1){d=D[e|0];A[e|0]=D[b|0];A[b|0]=d;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}break h}if((g|0)<=0){break h}f=e+g|0;b=b+e|0;while(1){d=D[e|0];A[e|0]=D[b|0];A[b|0]=d;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}As(a,(l>>>0)/(c>>>0)|0,c);a=m-g|0;b=(g>>>0)/(c>>>0)|0;m=a+I(c,b)|0;if(b>>>0>=10){continue}break}}f=a+c|0;s:{if(m>>>0<=f>>>0){break s}j=0-c|0;if((c|0)>0){while(1){e=f;t:{if(e>>>0<=a>>>0){break t}while(1){h=e+j|0;d=C[h>>2];b=C[e>>2];u:{if((d|0)!=(b|0)){if((b|0)>(d|0)){break t}break u}v:{if(D[h+8|0]){break v}d=C[e+4>>2];b=C[h+4>>2];if((d^b)>>>0<2){break v}if((b|0)<(d|0)){break t}break u}if(F[h+12>>2]<=F[e+12>>2]){break t}}b=h;d=e;while(1){i=D[b|0];A[b|0]=D[d|0];A[d|0]=i;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=h;if(e>>>0>a>>>0){continue}break}}f=c+f|0;if(m>>>0>f>>>0){continue}break s}}while(1){w:{if(a>>>0>=f>>>0){break w}d=C[f>>2];b=f;while(1){h=d;e=b;b=b+j|0;d=C[b>>2];x:{if((h|0)!=(d|0)){if((d|0)>=(h|0)){break x}break w}y:{if(D[b+8|0]){break y}i=C[e+4>>2];h=C[b+4>>2];if((i^h)>>>0<2){break y}if((h|0)>=(i|0)){break x}break w}if(F[b+12>>2]<=F[e+12>>2]){break w}}if(a>>>0>>0){continue}break}}f=c+f|0;if(m>>>0>f>>>0){continue}break}}}function Kx(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=Ce-352|0;Ce=e;g=6;a:{if(!a|!b|(!c|!d)){break a}b:{c:{h=C[b>>2];if((C[a+8>>2]-h|0)+1>>>0>2){break c}i=C[b+4>>2];if((C[a+12>>2]-i|0)+1>>>0>2){break c}f=h;h=C[c>>2];if((f-h|0)+1>>>0>2){break c}f=i;i=C[c+4>>2];if((f-i|0)+1>>>0>2|(h-C[d>>2]|0)+1>>>0>2|(i-C[d+4>>2]|0)+1>>>0>2){break c}break b}h=C[d+4>>2];C[e+48>>2]=C[d>>2];C[e+52>>2]=h;h=C[c+4>>2];C[e+56>>2]=C[c>>2];C[e+60>>2]=h;c=C[b+4>>2];C[e+64>>2]=C[b>>2];C[e+68>>2]=c;b=C[a+12>>2];C[e+72>>2]=C[a+8>>2];C[e+76>>2]=b;x=a- -64|0;b=e+48|0;g=1;while(1){c=C[a>>2];y=e+48|0;d:{e:{if(o>>>0>31){h=c;i=c;break e}l=C[b+20>>2];s=C[b+28>>2];h=l-s|0;n=C[b+8>>2];q=C[b+16>>2];i=n-q|0;r=C[b+12>>2];t=r-l|0;w=i+1>>>0<3&t+1>>>0<3;p=C[b>>2];f=p-n|0;u=C[((e+48|0)+(o<<3)|0)+4>>2];j=u-r|0;k=f+1>>>0<3&j+1>>>0<3;f:{g:{h:{m=C[b+24>>2];v=q-m|0;i:{if(!(v+1>>>0>2|h+1>>>0>2)){if(w){h=c;i=c;if(k){break f}c=Cg(f,j);break i}c=Cg(i,t);if(k){break i}i=Cg(f,j);h=c;break f}c=Cg(v,h);if(!w){break g}if(!k){break h}}h=c;i=c;break f}i=Cg(f,j);h=((gg(c,i)|0)/2|0)+c|0;break f}h=Cg(i,t);if(k){i=h;break f}i=Cg(f,j)}f=gg(c,h);j=gg(h,i);k=f;f=f>>31;if((k^f)-f>>>0<=1474559){f=j>>31;if((f^j)-f>>>0<1474560){break e}}if(D[a+20|0]){C[a>>2]=c}C[b+48>>2]=m;C[b+52>>2]=s;c=(m+q|0)/2|0;C[b+40>>2]=c;h=(n+p|0)/2|0;C[b+8>>2]=h;i=(l+s|0)/2|0;C[b+44>>2]=i;f=(r+u|0)/2|0;C[b+12>>2]=f;j=c;c=(n+q|0)/2|0;j=(j+c|0)/2|0;C[b+32>>2]=j;c=(c+h|0)/2|0;C[b+16>>2]=c;h=(l+r|0)/2|0;i=(h+i|0)/2|0;C[b+36>>2]=i;h=(f+h|0)/2|0;C[b+20>>2]=h;C[b+24>>2]=(c+j|0)/2;C[b+28>>2]=(h+i|0)/2;o=o+3|0;break d}j:{k:{if(g&255){if(D[a+20|0]){g=Tp(a,c,0);break k}C[a+4>>2]=c;f=gg(C[a>>2],c);if(!f){break j}gg(C[a>>2],C[a+4>>2]);g=e+344|0;Vf(g,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[e+344>>2]=C[e+344>>2]+C[a+8>>2];C[e+348>>2]=C[e+348>>2]+C[a+12>>2];j=(f>>>26&32)+x|0;A[j+16|0]=0;g=ig(j,g,0);if(g){break a}g=gk(a,(f^-1)>>>31|0,0);break k}f=gg(C[a>>2],c);g=f>>31;if((g^f)-g>>>0<368641){break j}f=C[b+28>>2];j=C[b+24>>2];g=0;C[a+48>>2]=0;C[a+4>>2]=c;C[a+8>>2]=j;C[a+12>>2]=f;f=gg(C[a>>2],c);l:{if(!f){break l}gg(C[a>>2],C[a+4>>2]);g=e+344|0;Vf(g,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[e+344>>2]=C[e+344>>2]+C[a+8>>2];C[e+348>>2]=C[e+348>>2]+C[a+12>>2];j=(f>>>26&32)+x|0;A[j+16|0]=0;g=ig(j,g,0);if(g){break l}g=gk(a,(f^-1)>>>31|0,0)}C[a+48>>2]=C[a+52>>2]}if(g){break a}}g=gg(c,h);f=gg(h,i);k=(gg(c,h)|0)/2|0;l=(gg(h,i)|0)/2|0;q=Ze(C[a+60>>2],fk((g|0)/2|0));r=Ze(C[a+60>>2],fk((f|0)/2|0));if(D[a+40|0]){j=Cg(C[b>>2]-C[b+24>>2]|0,C[((e+48|0)+(o<<3)|0)+4>>2]-C[b+28>>2]|0)}else{j=0}s=c+k|0;t=h+l|0;w=(e+48|0)+(o<<3)|4;g=5898240;h=1;c=x;while(1){Vf(e+344|0,q,g+s|0);C[e+344>>2]=C[e+344>>2]+C[b+16>>2];C[e+348>>2]=C[e+348>>2]+C[b+20>>2];Vf(e+40|0,r,g+t|0);C[e+40>>2]=C[e+40>>2]+C[b+8>>2];C[e+44>>2]=C[e+44>>2]+C[b+12>>2];Vf(e+32|0,C[a+60>>2],g+i|0);l=C[b>>2];k=l+C[e+32>>2]|0;C[e+32>>2]=k;n=C[w>>2];m=n+C[e+36>>2]|0;C[e+36>>2]=m;m:{n:{if(!D[a+40|0]){break n}f=(C[c+8>>2]+(C[c>>2]<<3)|0)-8|0;g=C[f>>2];f=C[f+4>>2];C[e+24>>2]=g;C[e+28>>2]=f;m=Cg(k-g|0,m-f|0);p=gg(j,m);k=p>>31;if((k^p)-k>>>0<=5898240){break n}k=Cg(C[b+24>>2]-g|0,C[b+28>>2]-f|0);l=Cg(l-C[e+32>>2]|0,n-C[e+36>>2]|0);C[e+16>>2]=C[e+32>>2]-g;C[e+20>>2]=C[e+36>>2]-f;p=Im(e+16|0);m=ek(m-l|0);n=m>>31;u=ek(k-l|0);l=u>>31;v=e+8|0;Vf(v,of(p,(n^m)-n|0,(l^u)-l|0),k);C[e+8>>2]=g+C[e+8>>2];C[e+12>>2]=f+C[e+12>>2];A[c+16|0]=0;g=ig(c,v,0);if(g){break a}g=ig(c,e+32|0,0);if(g){break a}g=Rp(c,e+40|0,e+344|0,e+24|0);if(g){break a}g=ig(c,e+32|0,0);if(!g){break m}break a}g=Rp(c,e+344|0,e+40|0,e+32|0);if(g){break a}}c=c+32|0;f=h&1;g=-5898240;h=0;if(f){continue}break}C[a>>2]=i;g=0;o=o-3|0}b=y+(o<<3)|0;if((o|0)>=0){continue}break}}b=C[d+4>>2];C[a+8>>2]=C[d>>2];C[a+12>>2]=b;g=0}Ce=e+352|0;return g}function Yt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ce-32|0;Ce=h;e=D[c+2|0]|D[c+3|0]<<8;k=e<<8|e>>>8;p=k&65535;d=C[b+4>>2];j=C[d+84>>2];b=D[c+6|0]|D[c+7|0]<<8;a:{if((b|0)!=65535){g=p&31;e=C[d+44>>2]-g|0;C[d+44>>2]=e;if((e|0)<=0){break a}o=C[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;b:{c:{if(!g){break c}b=C[a+4>>2];if(o>>>0>2]){break c}e=C[b+28>>2];if(e>>>0>>0){break c}f=e-o|0;e=g<<1;if(f>>>0>>0){break c}f=b;b=C[b+32>>2]-e|0;C[f+32>>2]=b;if((b|0)>0){break b}}g=0}if(!kh(d,C[a+8>>2])){break a}q=p&1024;d:{if(q){break d}b=C[d+76>>2];if(b>>>0>=F[d+80>>2]){break d}b=C[d+92>>2]+I(b,20)|0;C[h+24>>2]=C[b+16>>2];e=C[b+12>>2];C[h+16>>2]=C[b+8>>2];C[h+20>>2]=e;e=C[b+4>>2];C[h+8>>2]=C[b>>2];C[h+12>>2]=e;if(!$e(d,0,1)){break a}e=C[h+12>>2];b=C[d+96>>2]+I(C[d+84>>2],20)|0;C[b>>2]=C[h+8>>2];C[b+4>>2]=e;C[b+16>>2]=C[h+24>>2];e=C[h+20>>2];C[b+8>>2]=C[h+16>>2];C[b+12>>2]=e;C[d+84>>2]=C[d+84>>2]+1}if(!$e(d,0,g)){break a}b=C[d+76>>2];f=C[d+80>>2];e:{if(b>>>0>>0){i=C[d+84>>2];m=C[d+96>>2];e=C[d+92>>2]+I(b,20)|0;break e}m=C[d+96>>2];i=C[d+84>>2];e=i-1|0;e=m+I(e>>>0<=i>>>0?e:0,20)|0}f:{if(!g){C[d+84>>2]=i;break f}b=I(i,20)+m|0;i=0;if((g|0)!=1){m=g&30;f=0;while(1){l=C[e+4>>2];C[b>>2]=C[e>>2];C[b+4>>2]=l;C[b+16>>2]=C[e+16>>2];l=e+8|0;n=C[l+4>>2];C[b+8>>2]=C[l>>2];C[b+12>>2]=n;l=i<<1;n=l+o|0;n=D[n|0]|D[n+1|0]<<8;C[b>>2]=(n<<8|n>>>8)&65535;C[b+36>>2]=C[e+16>>2];n=C[e+12>>2];C[b+28>>2]=C[e+8>>2];C[b+32>>2]=n;n=C[e+4>>2];C[b+20>>2]=C[e>>2];C[b+24>>2]=n;l=o+(l|2)|0;l=D[l|0]|D[l+1|0]<<8;C[b+20>>2]=(l<<8|l>>>8)&65535;i=i+2|0;b=b+40|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(g&1){f=C[e+4>>2];C[b>>2]=C[e>>2];C[b+4>>2]=f;C[b+16>>2]=C[e+16>>2];f=C[e+12>>2];C[b+8>>2]=C[e+8>>2];C[b+12>>2]=f;e=b;b=o+(i<<1)|0;b=D[b|0]|D[b+1|0]<<8;C[e>>2]=(b<<8|b>>>8)&65535}C[d+84>>2]=C[d+84>>2]+g;f=C[d+80>>2];b=C[d+76>>2]}if(!(b>>>0>=f>>>0|q)){C[d+76>>2]=b+1}if(!kh(d,g+j|0)){break a}b=C[d+76>>2]+1|0;e=C[d+80>>2];Zg(d,C[a+8>>2],b>>>0>>0?b:e)}if(k<<16>>16<0){C[a+8>>2]=j}b=D[c+4|0]|D[c+5|0]<<8;if((b|0)==65535){break a}g=p>>>5&31;c=C[d+44>>2]-g|0;C[d+44>>2]=c;if((c|0)<=0){break a}c=C[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;g:{h:{if(!g){break h}a=C[a+4>>2];if(c>>>0>2]){break h}b=C[a+28>>2];if(b>>>0>>0){break h}e=b-c|0;b=g<<1;if(e>>>0>>0){break h}e=a;a=C[a+32>>2]-b|0;C[e+32>>2]=a;if((a|0)>0){break g}}g=0}e=C[d+84>>2];o=p&2048;i:{if(o){break i}a=C[d+76>>2];if(a>>>0>=F[d+80>>2]){break i}a=C[d+92>>2]+I(a,20)|0;C[h+24>>2]=C[a+16>>2];b=C[a+12>>2];C[h+16>>2]=C[a+8>>2];C[h+20>>2]=b;b=C[a+4>>2];C[h+8>>2]=C[a>>2];C[h+12>>2]=b;if(!$e(d,0,1)){break a}b=C[h+12>>2];a=C[d+96>>2]+I(C[d+84>>2],20)|0;C[a>>2]=C[h+8>>2];C[a+4>>2]=b;C[a+16>>2]=C[h+24>>2];b=C[h+20>>2];C[a+8>>2]=C[h+16>>2];C[a+12>>2]=b;C[d+84>>2]=C[d+84>>2]+1}if(!$e(d,0,g)){break a}b=C[d+76>>2];f=C[d+80>>2];j:{if(b>>>0>>0){i=C[d+84>>2];m=C[d+96>>2];a=C[d+92>>2]+I(b,20)|0;break j}m=C[d+96>>2];i=C[d+84>>2];a=i-1|0;a=m+I(a>>>0<=i>>>0?a:0,20)|0}k:{if(!g){C[d+84>>2]=i;break k}b=I(i,20)+m|0;i=0;if((g|0)!=1){m=g&30;f=0;while(1){j=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=j;C[b+16>>2]=C[a+16>>2];j=a+8|0;k=C[j+4>>2];C[b+8>>2]=C[j>>2];C[b+12>>2]=k;j=i<<1;k=j+c|0;k=D[k|0]|D[k+1|0]<<8;C[b>>2]=(k<<8|k>>>8)&65535;C[b+36>>2]=C[a+16>>2];k=C[a+12>>2];C[b+28>>2]=C[a+8>>2];C[b+32>>2]=k;k=C[a+4>>2];C[b+20>>2]=C[a>>2];C[b+24>>2]=k;j=c+(j|2)|0;j=D[j|0]|D[j+1|0]<<8;C[b+20>>2]=(j<<8|j>>>8)&65535;i=i+2|0;b=b+40|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}}if(g&1){f=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=f;C[b+16>>2]=C[a+16>>2];f=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=f;a=c+(i<<1)|0;a=D[a|0]|D[a+1|0]<<8;C[b>>2]=(a<<8|a>>>8)&65535}C[d+84>>2]=C[d+84>>2]+g;f=C[d+80>>2];b=C[d+76>>2]}if(!(b>>>0>=f>>>0|o)){C[d+76>>2]=b+1}kh(d,e+(p&16384?0:g)|0)}Ce=h+32|0}function Sv(a,b,c,d,e){var 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,B=0,D=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;f=Ce-1024|0;Ce=f;y=C[C[b+16>>2]>>2];w=C[b>>2];J=C[w+12>>2];B=C[w+8>>2];i=C[w>>2];j=C[w+4>>2];We(f+512|0,0,512);K=We(f,0,512);u=(j-i|0)/(B|0)|0;l=C[b+8>>2];if((l|0)>0){f=y-1|0;Q=f&-2;R=f&1;while(1){if((u|0)>0){p=0;L=(d|0)<=0;S=L|(x|0)!=0;T=1<>2];l=C[g+(p<<2)>>2];a:{if((y|0)<2){break a}i=0;t=1;if((y|0)!=2){while(1){j=I(l,J);h=p+t|0;if((h|0)<(u|0)){j=j+C[g+(h<<2)>>2]|0}l=I(j,J);j=h+1|0;if((j|0)<(u|0)){l=C[g+(j<<2)>>2]+l|0}t=t+2|0;i=i+2|0;if((Q|0)!=(i|0)){continue}break}}if(!R){break a}l=I(l,J);i=p+t|0;if((i|0)>=(u|0)){break a}l=C[g+(i<<2)>>2]+l|0}i=C[b+16>>2];if(C[i+4>>2]>(l|0)){Y=b,Z=wm(i,l,a)+C[b+36>>2]|0,C[Y+36>>2]=Z}f=f+1|0;if((f|0)!=(d|0)){continue}break}}b:{if((y|0)<=0){break b}t=0;if((p|0)>=(u|0)){break b}while(1){if(!L){U=C[w>>2]+I(p,B)|0;l=0;while(1){M=p<<2;i=l<<2;N=i+e|0;f=C[M+C[N>>2]>>2];if(!x){j=(f<<2)+K|0;C[j>>2]=C[j>>2]+B}f=f<<2;c:{if(!(C[(f+w|0)+24>>2]&T)){break c}r=C[C[f+C[b+20>>2]>>2]+(x<<2)>>2];if(!r){break c}V=C[c+i>>2]+(U<<2)|0;D=0;E=0;g=Ce+-64|0;Ce=g;O=C[r>>2];P=(B|0)/(O|0)|0;if((P|0)>0){while(1){v=C[r+48>>2];j=C[r>>2];s=C[r+52>>2];m=C[r+44>>2];C[g+56>>2]=0;C[g+60>>2]=0;C[g+48>>2]=0;C[g+52>>2]=0;C[g+40>>2]=0;C[g+44>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;n=m>>1;k=(I(E,O)<<2)+V|0;d:{e:{f:{if((s|0)!=1){if((j|0)>0){break f}o=0;break d}if((j|0)>0){break e}o=0;break d}F=m-1|0;G=(s>>1)-v|0;f=0;i=j;o=0;while(1){i=i-1|0;H=i<<2;q=(G+C[H+k>>2]|0)/(s|0)|0;g:{if((q|0)<(n|0)){h=(n-q<<1)-1|0;break g}h=q-n<<1}C[H+(g+32|0)>>2]=v+I(s,q);o=I(m,o)+((h|0)>=0?(h|0)<(m|0)?h:F:0)|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}jf(g+32|0,k,j<<2);q=m-1|0;i=0;f=j;o=0;while(1){o=I(m,o);f=f-1|0;h=C[(f<<2)+k>>2]-v|0;h:{if((h|0)<(n|0)){h=(n-h<<1)-1|0;break h}h=h-n<<1}o=o+((h|0)>=0?(h|0)<(m|0)?h:q:0)|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}F=C[C[r+12>>2]+8>>2];i:{if(A[F+o|0]>0){break i}C[g+24>>2]=0;C[g+28>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;G=C[r+4>>2];if((G|0)<=0){break i}v=v+I(s,m-1|0)|0;H=j&-2;W=j&1;m=-1;i=0;while(1){j:{if(A[i+F|0]<=0){break j}k:{if((j|0)<=0){h=0;break k}h=0;f=0;n=0;if((j|0)!=1){while(1){q=f<<2;z=q|4;z=C[z+g>>2]-C[k+z>>2]|0;X=h;h=C[g+q>>2]-C[k+q>>2]|0;h=I(z,z)+(X+I(h,h)|0)|0;f=f+2|0;n=n+2|0;if((H|0)!=(n|0)){continue}break}}if(!W){break k}f=f<<2;f=C[f+g>>2]-C[f+k>>2]|0;h=I(f,f)+h|0}if((m|0)!=-1&(h|0)>=(m|0)){break j}f=C[g+28>>2];C[g+56>>2]=C[g+24>>2];C[g+60>>2]=f;f=C[g+20>>2];C[g+48>>2]=C[g+16>>2];C[g+52>>2]=f;f=C[g+12>>2];C[g+40>>2]=C[g+8>>2];C[g+44>>2]=f;f=C[g+4>>2];C[g+32>>2]=C[g>>2];C[g+36>>2]=f;o=i;m=h}f=g;h=C[g>>2];if((v|0)<=(h|0)){n=0;while(1){C[f>>2]=0;n=n+1|0;f=g+(n<<2)|0;h=C[f>>2];if((v|0)<=(h|0)){continue}break}}C[f>>2]=0-(((h|0)>=0?s:0)+h|0);i=i+1|0;if((G|0)!=(i|0)){continue}break}}l:{if((o|0)<0|(j|0)<=0){break l}s=j&3;h=0;m:{if(j>>>0<4){f=0;break m}n=j&-4;f=0;i=0;while(1){j=f<<2;m=g+32|0;C[k>>2]=C[k>>2]-C[j+m>>2];C[k+4>>2]=C[k+4>>2]-C[m+(j|4)>>2];C[k+8>>2]=C[k+8>>2]-C[m+(j|8)>>2];C[k+12>>2]=C[k+12>>2]-C[m+(j|12)>>2];f=f+4|0;k=k+16|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!s){break l}while(1){C[k>>2]=C[k>>2]-C[(g+32|0)+(f<<2)>>2];f=f+1|0;k=k+4|0;h=h+1|0;if((s|0)!=(h|0)){continue}break}}D=wm(r,o,a)+D|0;E=E+1|0;if((P|0)!=(E|0)){continue}break}}Ce=g- -64|0;C[b+32>>2]=C[b+32>>2]+D;f=(K+512|0)+(C[C[N>>2]+M>>2]<<2)|0;C[f>>2]=C[f>>2]+D}l=l+1|0;if((l|0)!=(d|0)){continue}break}}p=p+1|0;t=t+1|0;if((y|0)<=(t|0)){break b}if((p|0)<(u|0)){continue}break}}if((p|0)<(u|0)){continue}break}l=C[b+8>>2]}x=x+1|0;if((x|0)<(l|0)){continue}break}}Ce=K+1024|0}function Tn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=C[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}g=C[b+12>>2];e=g-4|0;C[b+12>>2]=e;if(!(D[a+1|0]<<16|D[a|0]<<24)|(e|0)<=0){break a}e=a+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break a}e=g-8|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=1;e=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(!k){break a}l=k-1|0;a=a+8|0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<8){return 0}g=C[b+12>>2];c=g-8|0;C[b+12>>2]=c;if((c|0)<=0){return 0}d=C[b+32>>2];c=C[d+12>>2];C[b+4>>2]=c;h=C[d+16>>2];d=h+c|0;C[b+8>>2]=d;b:{c:{d:{e:{if(j>>>0>>0){f=j>>>0>>0?a:0;if(f>>>0>=c>>>0&d>>>0>f>>>0){break e}C[b+4>>2]=0;C[b+8>>2]=0;d=0;break d}if(a>>>0>=c>>>0){break d}break c}C[b+4>>2]=f;e=d-f|0;d=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=f+(d>>>0>e>>>0?e:d)|0;C[b+8>>2]=d}if(a>>>0>d>>>0){break c}d=d-a|0;if(d>>>0<8){break c}g=g-16|0;C[b+12>>2]=g;if((g|0)<=0){break c}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0<8|d>>>0>>0){break c}d=g-e|0;C[b+12>>2]=d;if((d|0)<=0){break c}d=1;f:{g:{h:{switch(D[a+5|0]){case 0:d=0;c=a+8|0;if(c>>>0>2]){break g}f=C[b+8>>2];if(f>>>0>>0|f-c>>>0<8){break g}g=C[b+12>>2]-8|0;C[b+12>>2]=g;if((g|0)<=0){break g}e=D[c|0]|D[c+1|0]<<8;if(e){c=a+16|0;if(c>>>0>f>>>0){break g}f=f-c|0;c=I((e<<8|e>>>8)&65535,6);if(f>>>0>>0){break g}c=g-c|0;C[b+12>>2]=c;if((c|0)<=0){break g}}c=1;break f;case 1:d=0;if(F[b+4>>2]>a>>>0){break g}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<18){break g}c=C[b+12>>2]-18|0;C[b+12>>2]=c;if((c|0)<=0){break g}c=Rn(a+8|0,b);break f;case 2:i:{j:{f=C[b+4>>2];if(f>>>0>a>>>0){break j}i=C[b+8>>2];if(i>>>0>>0){break j}e=i-a|0;if(e>>>0<16){break j}g=C[b+12>>2];c=g-16|0;C[b+12>>2]=c;if((c|0)<=0){break j}c=a+10|0;if(c>>>0>i>>>0|i-c>>>0<2){break j}c=g-18|0;C[b+12>>2]=c;if((c|0)<=0){break j}c=D[a+10|0]|D[a+11|0]<<8;h=((c<<8|c>>>8)&65535)+a|0;if(h>>>0>>0|i>>>0>>0|i-h>>>0<4){break j}c=g-22|0;C[b+12>>2]=c;if((c|0)<=0){break j}d=h+2|0;if(d>>>0>i>>>0|i-d>>>0<2){break j}c=g-24|0;C[b+12>>2]=c;if((c|0)<=0){break j}k:{g=D[d|0]|D[d+1|0]<<8;if(!g){break k}d=h+4|0;if(d>>>0>i>>>0){break j}h=i-d|0;d=((g<<8|g>>>8)&65535)<<1;if(h>>>0>>0){break j}c=c-d|0;C[b+12>>2]=c;if((c|0)>0){break k}break j}d=a+12|0;if(d>>>0>i>>>0|i-d>>>0<2){break j}C[b+12>>2]=c-2;if((c|0)<3){break j}g=f;d=D[a+12|0]|D[a+13|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|f>>>0>i>>>0|i-f>>>0<4){break j}C[b+12>>2]=c-6;if((c|0)<7){break j}d=f+2|0;if(d>>>0>i>>>0|i-d>>>0<2){break j}h=c-8|0;C[b+12>>2]=h;if((c|0)<9){break j}c=1;l:{g=D[d|0]|D[d+1|0]<<8;if(!g){break l}d=f+4|0;if(d>>>0>i>>>0){break j}f=i-d|0;d=((g<<8|g>>>8)&65535)<<1;if(f>>>0>>0){break j}h=h-d|0;C[b+12>>2]=h;if((h|0)>0){break l}break j}d=D[a+14|0]|D[a+15|0]<<8;m:{if(!d){break m}c=0;d=(d<<8|d>>>8)&65535;if(d>>>0>e>>>0){break m}c=h-d|0;C[b+12>>2]=c;c=(c|0)>0}break i}c=0}break f;case 3:break h;default:break g}}c=0;if(F[b+4>>2]>a>>>0){break f}h=C[b+8>>2];if(h>>>0>>0){break f}if(h-a>>>0<14){break f}f=C[b+12>>2]-14|0;C[b+12>>2]=f;if((f|0)<=0){break f}c=D[a+8|0]|D[a+9|0]<<8;g=I(D[a+12|0],D[a+11|0])+(D[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!g){break g}c=0;e=a+14|0;if(e>>>0>h>>>0){break f}d=0;if(g>>>0>h-e>>>0){break g}c=f-g|0;C[b+12>>2]=c;d=(c|0)>0}c=d}if(c){break b}a=C[b+32>>2];h=C[a+16>>2];c=C[a+12>>2]}C[b+4>>2]=c;C[b+8>>2]=c+h;return 0}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=C[b+32>>2];f=C[c+12>>2];C[b+4>>2]=f;d=C[c+16>>2]+f|0;C[b+8>>2]=d;a=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;c=1;j=j+1|0;if((k|0)!=(j|0)){continue}break}}return c}function JG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=df(1,140);a:{if(!f){break a}e=69104;C[f>>2]=69104;b:{c:{d:{e:{f:{g:{h:{i:{c=C[a+4>>2];if((c|0)<=1298954604){if((c|0)<=1198877297){if((c|0)==1113943655){break i}b=69132;if((c|0)==1147500129){break c}break b}if((c|0)==1198877298){break g}if((c|0)==1198879349){break h}if((c|0)!=1265525857){break b}b=69328;break c}if((c|0)<=1399418471){if((c|0)==1298954605){break e}if((c|0)!=1332902241){break b}b=69244;break c}if((c|0)==1399418472){break d}if((c|0)==1415671148){break f}if((c|0)!=1415933045){break b}b=69300;break c}b=69160;break c}b=69188;break c}b=69216;break c}b=69272;break c}b=69356;break c}b=69384}C[f>>2]=b;e=b}c=0;c=D[e+4|0]?D[a+24|0]!=50:c;A[f+4|0]=c;e=C[104422];if(!e){Hr();e=C[104422]}b=-1;C[f+8>>2]=-1;A[f+5|0]=e>>>2&1;g=c?g:C[a+4>>2]!=1298954605;A[f+20|0]=g;j=C[a+48>>2];h=C[a+44>>2];j:{if((h|0)<=0){break j}b=h-1|0;c=0;k:{while(1){e=b+c>>>1|0;d=C[I(e,36)+j>>2];l:{if(d>>>0>=1919969383){b=e-1|0;break l}if((d|0)==1919969382){break k}c=e+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break j}b=C[(I(e,36)+j|0)+12>>2]}e=C[a+80>>2];m:{if(e>>>0>>0){C[f+12>>2]=0;b=0;break m}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?84608:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+12>>2]=b;b=d-c|0}A[f+32|0]=g;C[f+16>>2]=b;b=-1;n:{if((h|0)<=0){break n}b=h-1|0;c=0;o:{while(1){d=b+c>>>1|0;i=C[I(d,36)+j>>2];p:{if(i>>>0>=1886545255){b=d-1|0;break p}if((i|0)==1886545254){break o}c=d+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break n}b=C[(I(d,36)+j|0)+12>>2]}q:{if(b>>>0>e>>>0){C[f+24>>2]=0;b=0;break q}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?84608:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+24>>2]=b;b=d-c|0}A[f+44|0]=g;C[f+28>>2]=b;b=-1;r:{if((h|0)<=0){break r}b=h-1|0;c=0;s:{while(1){d=b+c>>>1|0;i=C[I(d,36)+j>>2];t:{if(i>>>0>=1651275623){b=d-1|0;break t}if((i|0)==1651275622){break s}c=d+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break r}b=C[(I(d,36)+j|0)+12>>2]}u:{if(b>>>0>e>>>0){C[f+36>>2]=0;b=0;break u}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?84608:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+36>>2]=b;b=d-c|0}A[f+56|0]=g;C[f+40>>2]=b;b=-1;v:{if((h|0)<=0){break v}b=h-1|0;c=0;w:{while(1){d=b+c>>>1|0;i=C[I(d,36)+j>>2];x:{if(i>>>0>=1886614631){b=d-1|0;break x}if((i|0)==1886614630){break w}c=d+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break v}b=C[(I(d,36)+j|0)+12>>2]}y:{if(b>>>0>e>>>0){C[f+48>>2]=0;b=0;break y}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}d=C[b>>2];if((c|0)!=(d|0)){b=c>>>0>=F[a+56>>2]?84608:C[a+60>>2]+(c<<3)|0}else{b=0}C[f+48>>2]=b;b=d-c|0}A[f+68|0]=g;C[f+52>>2]=b;d=f- -64|0;b=-1;z:{if((h|0)<=0){break z}b=h-1|0;c=0;A:{while(1){g=b+c>>>1|0;i=C[I(g,36)+j>>2];B:{if(i>>>0>=1986098294){b=g-1|0;break B}if((i|0)==1986098293){break A}c=g+1|0}if((b|0)>=(c|0)){continue}break}b=-1;break z}b=C[(I(g,36)+j|0)+12>>2]}C:{if(b>>>0>e>>>0){C[f+60>>2]=0;a=0;break C}c=b?C[(C[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){b=C[a+84>>2]+(b<<3)|0}else{b=a+56|0}e=C[b>>2];if((c|0)!=(e|0)){a=c>>>0>=F[a+56>>2]?84608:C[a+60>>2]+(c<<3)|0}else{a=0}C[f+60>>2]=a;a=e-c|0}C[d>>2]=a;if((h|0)<=0){break a}a=h-1|0;e=0;while(1){k=(e<<2)+f|0;c=0;D:{if(!(2548>>>e&1)){break D}h=C[(e<<3)+65984>>2];c=0;b=a;while(1){g=b+c>>>1|0;i=I(g,36)+j|0;d=C[i>>2];E:{if(d>>>0<=h>>>0){c=C[i+28>>2];if(d>>>0>=h>>>0){break D}c=g+1|0;break E}b=g-1|0}if((b|0)>=(c|0)){continue}break}c=0}C[k+72>>2]=c;e=e+1|0;if((e|0)!=17){continue}break}}return f|0}function Hs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;A[a|0]=0;A[a+1|0]=0;n=Ei(b);a:{b:{if(C[b+20>>2]){break b}o=4;c:{h=n+2|0;f=C[b+4>>2];d=h-f|0;if((d|0)<0|(d|0)>(C[b+8>>2]-f|0)){break c}l=C[c+16>>2];p=C[c+12>>2];j=C[c+4>>2];m=C[c>>2];c=h;if((f|0)!=(c|0)){We(f,0,d);c=C[b+4>>2]}C[b+4>>2]=c+d;if(!c){break b}d:{e:{f:{g:{if(!(!j|!l)){s=(l<<1)+p|0;t=(j<<1)+m|0;f=-2;d=l;o=p;c=j;e=m;while(1){g=c?e:84608;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;i=(c|0)!=0;c=c-i|0;q=((f+1|0)!=(g|0))+q|0;k=k+1|0;e=(i<<1)+e|0;if(!((t|0)!=(e|0)|(c|0)!=0)){break g}i=(d|0)!=0;d=d-i|0;f=g;o=(i<<1)+o|0;if((s|0)!=(o|0)){continue}break}break g}A[n|0]=0;A[n+1|0]=1;break f}d=I(q,3)>>>0>>0;c=d?512:256;A[n|0]=c;A[n+1|0]=c>>>8;if(d-1|0){break f}break e}if(C[b+20>>2]){break b}o=4;c=n+4|0;f=C[b+4>>2];d=c-f|0;if((d|0)<0|(d|0)>(C[b+8>>2]-f|0)){break c}if((c|0)!=(f|0)){We(f,0,d);c=C[b+4>>2]}C[b+4>>2]=c+d;if(!c){break b}i=j>>>0>>0?j:l;c=i<<8|(i&65280)>>>8;A[h|0]=c;A[h+1|0]=c>>>8;c=C[b+20>>2];if(i>>>0>=65536){o=c|16;break c}if(c){break b}e=((i<<1&131070)+h|0)+2|0;d=C[b+4>>2];c=e-d|0;if((c|0)<0|(c|0)>(C[b+8>>2]-d|0)){break c}if((d|0)!=(e|0)){We(d,0,c);e=C[b+4>>2]}C[b+4>>2]=c+e;if(!e){break b}if(!i){break d}e=0;if((i|0)!=1){g=i&-2;d=0;while(1){f=(e<<1)+h|0;c=j?m:84608;c=D[c|0]|D[c+1|0]<<8;A[f+2|0]=c;A[f+3|0]=c>>>8;l=((e|1)<<1)+h|0;k=(j|0)!=0;p=(k<<1)+m|0;f=(j|0)==(k|0);c=f?84608:p;c=D[c|0]|D[c+1|0]<<8;A[l+2|0]=c;A[l+3|0]=c>>>8;e=e+2|0;c=!f;m=p+(c<<1)|0;j=j-(c+k|0)|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(i&1)){break d}d=(e<<1)+h|0;c=j?m:84608;c=D[c|0]|D[c+1|0]<<8;A[d+2|0]=c;A[d+3|0]=c>>>8;break d}if(C[b+20>>2]){break b}o=4;g=n+4|0;d=C[b+4>>2];c=g-d|0;if((c|0)<0|(c|0)>(C[b+8>>2]-d|0)){break c}f=g;if((d|0)!=(f|0)){We(d,0,c);f=C[b+4>>2]}r=c+f|0;C[b+4>>2]=r;if(!f){break b}q=0;f=-2;d=l;k=p;c=j;e=m;while(1){n=(d|0)!=0;i=f+1|0;f=c?e:84608;f=D[f|0]|D[f+1|0]<<8;f=(f<<8|f>>>8)&65535;q=((i|0)!=(f|0))+q|0;i=(c|0)!=0;c=c-i|0;e=(i<<1)+e|0;if(c|(t|0)!=(e|0)){d=d-n|0;k=(n<<1)+k|0;if((s|0)!=(k|0)){continue}}break}if(C[b+20>>2]){break b}c=g-r|0;if((c|0)<0|(c|0)>(C[b+8>>2]-r|0)){break c}if((g|0)!=(r|0)){We(r,0,c);g=C[b+4>>2]}C[b+4>>2]=c+g;if(!g){break b}c=q<<8|(q&65280)>>>8;A[h|0]=c;A[h+1|0]=c>>>8;c=C[b+20>>2];if(q>>>0>=65536){o=c|16;break c}if(c){break b}c=(I(q,6)+h|0)+2|0;f=C[b+4>>2];d=c-f|0;if((d|0)<0|(d|0)>(C[b+8>>2]-f|0)){break c}if((c|0)!=(f|0)){We(f,0,d);c=C[b+4>>2]}C[b+4>>2]=c+d;if(!c){break b}d=-2;f=0;c=-1;while(1){e=d+1|0;d=j?m:84608;k=D[d|0]|D[d+1|0]<<8;d=(k<<8|k>>>8)&65535;if((e|0)!=(d|0)){c=c+1|0;e=D[h|0]|D[h+1|0]<<8;h:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){B[208858]=D[85002]|D[85003]<<8;C[104428]=D[84998]|D[84999]<<8|(D[85e3]<<16|D[85001]<<24);e=417712;break h}e=(I(c,6)+h|0)+2|0}A[e|0]=k;A[e+1|0]=k>>>8;e=D[h|0]|D[h+1|0]<<8;i:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){B[208858]=D[85002]|D[85003]<<8;C[104428]=D[84998]|D[84999]<<8|(D[85e3]<<16|D[85001]<<24);g=417712;break i}g=(I(c,6)+h|0)+2|0}e=f<<8|(f&65280)>>>8;A[g+4|0]=e;A[g+5|0]=e>>>8}e=D[h|0]|D[h+1|0]<<8;j:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){B[208858]=D[85002]|D[85003]<<8;C[104428]=D[84998]|D[84999]<<8|(D[85e3]<<16|D[85001]<<24);e=417712;break j}e=(I(c,6)+h|0)+2|0}A[e+2|0]=k;A[e+3|0]=k>>>8;e=(j|0)!=0;j=j-e|0;m=(e<<1)+m|0;if(!((t|0)!=(m|0)|(j|0)!=0)){break d}f=f+1|0;e=(l|0)!=0;l=l-e|0;p=(e<<1)+p|0;if((s|0)!=(p|0)){continue}break}}u=1;Pj(b,a,yi(b,1));break a}C[b+20>>2]=o}d=C[b+40>>2];if(C[b+20>>2]|!d){break a}C[b+40>>2]=C[d+32>>2];c=C[d+4>>2];a=C[d>>2];C[b+4>>2]=a;C[b+8>>2]=c;Oj(b);Re(C[d+16>>2]);C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;Re(C[d+28>>2]);C[d+28>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=C[b+24>>2];C[b+24>>2]=d;return 0}return u}function wC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=C[a+36>>2];c=C[a+20>>2];l=C[a+16>>2];b=C[a>>2];j=C[a+28>>2];f=C[a+24>>2];g=C[a+40>>2];e=D[g+9|0];a:{i=C[a+44>>2];if(!C[i+24>>2]){if(!j){break a}d=D[i+9|0];i=f&7;f=(f+7|0)/8|0;b:while(1){j=j-1|0;g=f;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=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=D[b+2|0];h=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=h;A[c|0]=a;a=g-1|0;b=b+e|0;c=c+d|0;f:{if((g|0)>1){g=a;break f}c=c+k|0;b=b+l|0;if(j){continue b}break a}a=0;continue}}}if(C[g+24>>2]){if(!j){break a}h=f&7;e=(f+7|0)/8|0;g:while(1){j=j-1|0;h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(h-1|0){case 0:d=D[i+35|0];g=d;f=e;break i;case 1:d=D[i+35|0];g=d;f=e;break j;case 2:d=D[i+35|0];g=d;f=e;break k;case 3:d=D[i+35|0];g=d;f=e;break l;case 4:d=D[i+35|0];g=d;f=e;break m;case 5:d=D[i+35|0];g=d;f=e;break n;case 6:d=D[i+35|0];g=d;f=e;break o;default:break p}}g=D[i+35|0];f=e;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=g&255;C[c>>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<>2]=D[b+2|0]|(D[b+1|0]<<8|D[b|0]<<16)|D[b+3|0]<1){f=a;break r}c=c+k|0;b=b+l|0;if(j){continue g}break a}a=0;continue}}}if(!j){break a}d=D[a+63|0]<>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=1;continue;case 1:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=2;continue;case 2:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=3;continue;case 3:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=4;continue;case 4:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=5;continue;case 5:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=6;continue;case 6:C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));b=b+e|0;c=c+4|0;a=7;continue;default:break v}}C[c>>2]=d|(D[b+2|0]|(D[b|0]<<16|D[b+1|0]<<8));a=g-1|0;b=b+e|0;c=c+4|0;w:{if((g|0)>1){g=a;break w}c=c+k|0;b=b+l|0;if(j){continue s}break a}a=0;continue}}}}function Qn(a,b,c){var d=0,e=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}f:{g:{h:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){d=C[c+4>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){d=lf(C[c+8>>2],I(b,20));if(d){break h}}C[c>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break f}C[c>>2]=b;C[c+8>>2]=d;d=C[c+4>>2]}if(d>>>0>>0){We(C[c+8>>2]+I(d,20)|0,0,I(e-d|0,20))}C[c+4>>2]=e;b=(C[c+8>>2]+I(e,20)|0)-20|0}Gg(b,a,158);break c}i:{j:{k:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){d=C[c+4>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){d=lf(C[c+8>>2],I(b,20));if(d){break k}}C[c>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break i}C[c>>2]=b;C[c+8>>2]=d;d=C[c+4>>2]}if(d>>>0>>0){We(C[c+8>>2]+I(d,20)|0,0,I(e-d|0,20))}C[c+4>>2]=e;b=(C[c+8>>2]+I(e,20)|0)-20|0}Gg(b,a,159)}return;case 1:if((D[a|0]|D[a+1|0]<<8)!=256){break a}l:{m:{n:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break m}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break n}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break l}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,154);return;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}o:{p:{q:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break q}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break o}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,155);return;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}r:{s:{t:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break t}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break r}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,156);return;case 4:kt(a,b);return;case 5:jt(a,b);return;case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;Qn(c,b,(a<<8|a>>>8)&65535)}return;case 7:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)!=256){break a}u:{v:{w:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){c=C[d+4>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break v}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){c=lf(C[d+8>>2],I(b,20));if(c){break w}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break u}C[d>>2]=b;C[d+8>>2]=c;c=C[d+4>>2]}if(c>>>0>>0){We(C[d+8>>2]+I(c,20)|0,0,I(e-c|0,20))}C[d+4>>2]=e;b=(C[d+8>>2]+I(e,20)|0)-20|0}Gg(b,a,157)}}function Ew(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;l=Ce-16|0;Ce=l;g=6;f=C[a+32>>2];a:{if(!f){break a}h=C[a+40>>2];j=C[a+36>>2]+C[a+28>>2]|0;e=j;while(1){i=D[e+1|0]|D[e|0]<<8;if(!(i>>>0<=b>>>0&(D[e+3|0]|D[e+2|0]<<8)>>>0>=b>>>0)){e=e+8|0;f=f-1|0;if(f){continue}break a}break}g=8;f=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>h-j>>>0){break a}e=f+j|0;f=e+8|0;if(f>>>0>h>>>0){g=6;break a}j=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);k=D[e+2|0];m=D[e+3|0];g=6;b:{c:{d:{e:{f:{g:{e=D[e|0]|D[e+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break f;case 0:break g;case 4:case 18:break c;case 3:break d;case 2:break e;default:break a}}b=f+(b-i<<2)|0;if(h>>>0>>0){break a}f=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);e=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((e|0)!=(f|0)){break b}break a}if(h>>>0>>0){break a}C[l+12>>2]=f+4;g=D[f+3|0];e=D[f+2|0];n=D[f+1|0];f=D[f|0];if(Aw(a,l+12|0,h)){g=6;break a}h=b-i|0;b=g|(n<<16|f<<24|e<<8);e=I(h,b);f=e+b|0;break b}b=f+(b-i<<1)|0;if(h>>>0>>0){break a}e=D[b+1|0]|D[b|0]<<8;f=D[b+3|0]|D[b+2|0]<<8;if((e|0)!=(f|0)){break b}break a}e=f+4|0;if(h>>>0>>0|h>>>0>>0){break a}g=e-4|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g-1>>>0>=(h-e>>2)-1>>>0){g=6;break a}f=0;while(1){if((D[e+1|0]|D[e|0]<<8)==(b|0)){f=D[e+7|0]|D[e+6|0]<<8;e=D[e+3|0]|D[e+2|0]<<8;break b}e=e+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}g=6;break a}if(h>>>0>>0){break a}C[l+12>>2]=f+4;f=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);if(Aw(a,l+12|0,h)){break a}g=C[l+12>>2];e=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=g+4|0;if(i-1>>>0>=h-e>>1>>>0){g=6;break a}g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=0;h:{while(1){if((D[e+1|0]|D[e|0]<<8)==(b|0)){break h}e=e+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}g=6;break a}e=I(f,g);f=g+e|0}g=6;if(e>>>0>f>>>0){break a}k=m|k<<8;i=Ce-16|0;Ce=i;b=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+e|0;f=f-e|0;i:{if(F[a+24>>2]>>0){break i}m=C[a+4>>2];g=bf(m,b+C[a+20>>2]|0);if(g){break i}g=eh(m,f,i+12|0);if(g){break i}b=C[i+12>>2];h=b;j:{k:{if(k>>>0>18){break k}g=1<>2];B[e>>1]=D[b|0];B[e+2>>1]=D[b+1|0];B[e+4>>1]=A[b+2|0];B[e+6>>1]=A[b+3|0];B[e+8>>1]=D[b+4|0];if(f>>>0<8){break j}B[e+10>>1]=A[b+5|0];B[e+12>>1]=A[b+6|0];h=b+8|0;g=D[b+7|0];break l}g=6;if((f|0)<5){break j}e=C[a+12>>2];B[e>>1]=D[b|0];B[e+2>>1]=D[b+1|0];B[e+4>>1]=A[b+2|0];B[e+6>>1]=A[b+3|0];h=D[b+4|0];B[e+10>>1]=0;B[e+12>>1]=0;B[e+8>>1]=h;h=b+5|0;g=0}B[e+14>>1]=g;A[a+16|0]=1}j=b+f|0;g=7;b=1010;m:{n:{switch(k-1|0){case 4:b=1011;break m;case 7:g=0;h=h+1|0;if(j>>>0>>0){break j}case 8:b=1012;break m;default:g=8;break j;case 16:case 17:case 18:break j;case 0:case 5:break m;case 1:case 6:break n}}b=C[a+12>>2];g=E[b+2>>1];b=E[b>>1];f=I(g+7>>>3|0,b);b=f>>>0<=I(b,g)+7>>>3>>>0?1011:(f|0)==(j-h|0)?1010:1011}if(!D[a+17|0]){if(D[a+16|0]){f=C[a+12>>2];e=E[f+2>>1];g=C[a+8>>2];k=E[f>>1];C[g>>2]=k;C[g+4>>2]=e;f=3;o:{p:{q:{r:{switch(D[a+18|0]-1|0){case 0:A[g+18|0]=1;e=e+7>>>3|0;f=2;break p;case 1:A[g+18|0]=3;e=e+3>>>2|0;f=4;break p;case 3:A[g+18|0]=4;e=e+1>>>1|0;f=16;break p;case 7:A[g+18|0]=2;break q;case 31:break r;default:break o}}A[g+18|0]=7;e=e<<2}f=256}B[g+16>>1]=f;C[g+8>>2]=e;f=0;g=I(e,k);if(!g){break o}f=bq(C[C[a>>2]+84>>2],g);if(f){break o}A[a+17|0]=1;f=0}g=f}else{g=6}if(g){break j}}g=Fe[b|0](a,h,j,c,d)|0}Wf(m,i+12|0)}Ce=i+16|0}Ce=l+16|0;return g}function cH(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,k=0,l=0,m=0,n=0,o=0;j=Ce-32|0;Ce=j;C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];C[b+76>>2]=0;i=C[b+80>>2];a:{if(!i){break a}while(1){f=C[b+92>>2];e=C[f+I(d,20)>>2];b:{if((e&-129)!=3635){if(D[b+73|0]){c:{if((f|0)==C[b+96>>2]){e=d;if(C[b+84>>2]==(d|0)){break c}}if(!$e(b,1,1)){break a}f=C[b+92>>2]+I(C[b+76>>2],20)|0;d=C[f+4>>2];g=C[b+96>>2]+I(C[b+84>>2],20)|0;C[g>>2]=C[f>>2];C[g+4>>2]=d;C[g+16>>2]=C[f+16>>2];d=C[f+12>>2];C[g+8>>2]=C[f+8>>2];C[g+12>>2]=d;d=C[b+76>>2];e=C[b+84>>2]}C[b+84>>2]=e+1}C[b+76>>2]=d+1;break b}if($e(b,0,1)){h=e+26|0;f=C[b+76>>2];d:{if(f>>>0>2]){d=C[b+84>>2];g=C[b+96>>2];f=C[b+92>>2]+I(f,20)|0;break d}g=C[b+96>>2];d=C[b+84>>2];f=d-1|0;f=g+I(d>>>0>=f>>>0?f:0,20)|0}g=I(d,20)+g|0;d=C[f+4>>2];C[g>>2]=C[f>>2];C[g+4>>2]=d;C[g+16>>2]=C[f+16>>2];d=C[f+12>>2];C[g+8>>2]=C[f+8>>2];C[g+12>>2]=d;C[g>>2]=h;C[b+84>>2]=C[b+84>>2]+1}f=C[b+84>>2];d=f-1|0;d=C[b+96>>2]+I(d>>>0<=f>>>0?d:0,20)|0;B[d+16>>1]=E[d+16>>1]|128;e=e-1|0;g=$e(b,1,1);if(g){f=C[b+76>>2];e:{if(f>>>0>2]){d=C[b+84>>2];h=C[b+96>>2];f=C[b+92>>2]+I(f,20)|0;break e}h=C[b+96>>2];d=C[b+84>>2];f=d-1|0;f=h+I(d>>>0>=f>>>0?f:0,20)|0}h=I(d,20)+h|0;d=C[f+4>>2];C[h>>2]=C[f>>2];C[h+4>>2]=d;C[h+16>>2]=C[f+16>>2];d=C[f+12>>2];C[h+8>>2]=C[f+8>>2];C[h+12>>2]=d;C[h>>2]=e;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+1}if(!g){break a}k=C[b+84>>2];e=k-2|0;h=I(e,20);d=h+C[b+96>>2]|0;B[d+16>>1]=E[d+16>>1]&224|12;f:{g:{while(1){d=e;if(!d){break g}e=d-1|0;g=C[C[b+96>>2]+I(e,20)>>2];f=g&-129;if((f|0)==3633|(g&-132)==3636|f-3655>>>0<8){continue}break}if(k>>>0>d+2>>>0){break f}if(C[b+20>>2]){break b}Ci(b,e,k);break b}if(k>>>0<=2){break b}}Ci(b,d,k);g=C[b+96>>2];h=g+h|0;C[j+24>>2]=C[h+16>>2];f=C[h+12>>2];C[j+16>>2]=C[h+8>>2];C[j+20>>2]=f;f=C[h+4>>2];C[j+8>>2]=C[h>>2];C[j+12>>2]=f;e=g;g=I(d,20);f=e+g|0;Yf(f+20|0,f,I(k-d|0,20)-40|0);d=C[j+12>>2];f=g+C[b+96>>2]|0;C[f>>2]=C[j+8>>2];C[f+4>>2]=d;C[f+16>>2]=C[j+24>>2];d=C[j+20>>2];C[f+8>>2]=C[j+16>>2];C[f+12>>2]=d}d=C[b+76>>2];if(i>>>0>d>>>0){continue}break}}gh(b);h:{if(D[a+32|0]|C[a+4>>2]!=1416126825){break h}n=C[b+80>>2];if(!n){break h}o=C[b+92>>2];f=0;a=2;m=3;g=0;while(1){d=0;i:{j:{k=o+I(g,20)|0;e=C[k>>2];if((e|0)==3633|(e&-4)==3636){break j}h=e-3655|0;if(1<>>0<=7:0){break j}d=1;if(e-3640>>>0<3){break j}d=2;if(e-3656>>>0<5){break j}k:{l:{a=e-3597|0;if(a>>>0<=18){a=1<>>0>45)<<2;break k}d=2}d=d<<2;a=C[d+49984>>2];m=C[d+49952>>2];f=g;break i}e=I(a,24);a=d<<3;i=e+a|0;h=i+50116|0;a=a+I(m,24)|0;d=a+50020|0;e=C[a+50016>>2];if(!e){e=C[i+50112>>2]}a=C[h>>2];m=C[d>>2];if(g-f>>>0>=2){Sf(b,f,g)}if((e|0)==4){e=50544;m:{n:{o:{k=o+I(f,20)|0;d=C[k>>2];switch(d-3597|0){case 0:break n;case 3:break o;default:break m}}e=50556}h=C[e+4>>2];i=j+8|0;C[i>>2]=0;l=i;i=C[c+72>>2];if(!(Fe[C[i+156>>2]](c,C[c+76>>2],h,l,C[i+20>>2])|0)){h=C[e+8>>2];e=j+8|0;C[e>>2]=0;i=e;e=C[c+72>>2];if(!(Fe[C[e+156>>2]](c,C[c+76>>2],h,i,C[e+20>>2])|0)){break m}}d=h}C[k>>2]=d;break i}h=C[k>>2];d=0;p:{q:{r:{switch(e|0){case 1:d=50192;break q;case 3:d=50304;break q;case 0:break p;case 2:break r;default:break q}}d=50384}e=C[d>>2];if(!e){break p}while(1){if((e|0)==(h|0)){i=C[d+4>>2];e=j+8|0;C[e>>2]=0;l=e;e=C[c+72>>2];if(Fe[C[e+156>>2]](c,C[c+76>>2],i,l,C[e+20>>2])|0){h=C[d+4>>2];break p}i=C[d+8>>2];e=j+8|0;C[e>>2]=0;l=e;e=C[c+72>>2];if(!(Fe[C[e+156>>2]](c,C[c+76>>2],i,l,C[e+20>>2])|0)){break p}h=C[d+8>>2];break p}e=C[d+12>>2];d=d+12|0;if(e){continue}break}}C[k>>2]=h}g=g+1|0;if((n|0)!=(g|0)){continue}break}}Ce=j+32|0}function YH(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;l=Ce-32|0;Ce=l;i=If(1,824);a:{if(!i){i=0;_e(0);break a}C[i+800>>2]=0;C[i+804>>2]=0;C[i+792>>2]=-1;C[i+796>>2]=-1;C[i+784>>2]=-1;C[i+768>>2]=-1;C[i+12>>2]=128;C[i>>2]=a;j=i+808|0;f=j;C[f>>2]=0;C[f+4>>2]=0;mf(l+16|0,0,16);C[l+28>>2]=5;f=l;c=C[f+28>>2];e=C[f+24>>2];C[f+8>>2]=e;C[f+12>>2]=c;C[f+20>>2]=6;C[f+16>>2]=7;c=C[f+20>>2];C[f>>2]=C[f+16>>2];C[f+4>>2]=c;h=Ce-16|0;Ce=h;c=C[f+12>>2];C[h+8>>2]=C[f+8>>2];C[h+12>>2]=c;c=C[f+4>>2];C[h>>2]=C[f>>2];C[h+4>>2]=c;d=i+16|0;e=Ce-16|0;Ce=e;f=-1;b:{if(!a){break b}c=C[h+4>>2];if(!c){break b}f=Fe[c|0](a,0,0,1)|0}C[e+12>>2]=0;C[e+8>>2]=0;c=We(d,0,704);C[c>>2]=a;a=C[h+4>>2];C[c+704>>2]=C[h>>2];C[c+708>>2]=a;a=C[h+12>>2];C[c+712>>2]=C[h+8>>2];C[c+716>>2]=a;if(c+24|0){C[c+24>>2]=0;C[c+28>>2]=0;C[c+48>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0}if((f|0)!=-1){C[c+4>>2]=1}C[c+52>>2]=1;r=c,s=df(1,32),C[r+72>>2]=s;r=c,s=df(1,16),C[r+76>>2]=s;Ev(c+120|0,-1);f=ap(c,C[c+72>>2],C[c+76>>2],e+12|0,e+8|0,0);c:{if((f|0)<0){C[c>>2]=0;um(c);a=C[e+12>>2];break c}g=C[e+8>>2];a=df(g+2|0,4);C[c+64>>2]=a;k=C[c+456>>2];C[c+92>>2]=k;C[a+4>>2]=g;C[a>>2]=k;m=a+8|0;a=C[e+12>>2];jf(m,a,g<<2);r=c,s=df(1,8),C[r+56>>2]=s;g=df(1,8);C[c+60>>2]=g;k=C[c+12>>2];C[g>>2]=C[c+8>>2];C[g+4>>2]=k;C[c+88>>2]=1}if(a){Re(a)}Ce=e+16|0;a=f;if(!a){g=Ce-16|0;Ce=g;a=-131;d:{if(C[d+88>>2]!=1){break d}C[d+88>>2]=2;e:{if(C[d+4>>2]){a=C[d+60>>2];f=C[a>>2];k=C[a+4>>2];C[g+8>>2]=-1;C[g+12>>2]=-1;n=C[d+456>>2];C[g+4>>2]=n;c=Nv(d,C[d+72>>2]);p=Ee;a=C[d+708>>2];f:{if(!(C[d+716>>2]?a:0)){C[d+8>>2]=-1;C[d+12>>2]=-1;C[d+16>>2]=-1;C[d+20>>2]=-1;a=-131;break f}Fe[a|0](C[d>>2],0,0,2)|0;e=Fe[C[d+716>>2]](C[d>>2])|0;a=e>>31;C[d+8>>2]=e;C[d+12>>2]=a;C[d+16>>2]=e;C[d+20>>2]=a;if((e|0)==-1){a=-131;break f}m=a;a=C[d+64>>2];a=$o(d,e,m,a+8|0,C[a+4>>2],g+4|0,g+8|0);e=Ee;if((e|0)>=0){m=a;a=C[d+64>>2];if((Lv(d,0,0,f,k,m,e,C[g+8>>2],C[g+12>>2],C[g+4>>2],a+8|0,C[a+4>>2],0)|0)<0){a=-128;break f}a=C[d+56>>2];C[a>>2]=0;C[a+4>>2]=0;C[C[d+64>>2]>>2]=n;a=C[d+60>>2];C[a>>2]=f;C[a+4>>2]=k;a=C[d+68>>2];C[a>>2]=c;C[a+4>>2]=p;e=C[a+8>>2];n=e-c|0;c=C[a+12>>2]-((c>>>0>e>>>0)+p|0)|0;e=!!n&(c|0)>=0|(c|0)>0;C[a+8>>2]=e?n:0;C[a+12>>2]=e?c:0;a=Kv(d,f,k)}if(!a){break e}}C[d>>2]=0;um(d);break d}C[d+88>>2]=3}a=0}Ce=g+16|0}Ce=h+16|0;g:{h:{if((a|0)<0){Qe(13167,0);break h}if((Wt(i)|0)>=0){break g}um(d);a=C[i+772>>2];if(a){Di(a)}a=C[i+776>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(!C[i+4>>2]){break h}a=C[i>>2];Fe[C[a+16>>2]](a)|0}if(i){Fe[C[94765]](i);C[94766]=C[94766]-1}i=0;break a}f=i+800|0;c=i+792|0;i:{j:{k:{if(C[d+4>>2]){a=C[d+76>>2];if(C[d+88>>2]<3){break k}a=a+(C[d+96>>2]<<4)|0;break k}a=C[d+76>>2]}e=a;if(C[e+8>>2]<=0){break j}while(1){g=Sg(C[C[e>>2]+(o<<2)>>2]);a=jh(g,61);l:{if(!a){h=af(g)+g|0;break l}A[a|0]=0;h=a+1|0}a=c;m:{n:{if(!wf(g,23205)){break n}if(!wf(g,25911)){q=1;a=j;break n}if(wf(g,27590)){break m}q=0;a=f}r=a,s=Du(h,0,-1,-1),C[r>>2]=s;C[a+4>>2]=Ee}if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}o=o+1|0;if((o|0)>2]){continue}break}if(!q){break j}a=C[j+4>>2]+C[c+4>>2]|0;h=C[c>>2];e=h+C[j>>2]|0;C[f>>2]=e;C[f+4>>2]=e>>>0>>0?a+1|0:a;break i}a=C[f>>2];e=C[c>>2];h=a-e|0;a=C[f+4>>2]-(C[c+4>>2]+(a>>>0>>0)|0)|0;C[j>>2]=h;C[j+4>>2]=a}j=bk(d,-1);d=Ee;a=C[f>>2];h=C[f+4>>2];g=C[c+4>>2];e=C[c>>2];if(!((!a&(h|0)<=0|(h|0)<0)&(g|0)<0|(a>>>0<=e>>>0&(g|0)>=(h|0)|(g|0)>(h|0))&(a|h)!=0|((d|0)<=(g|0)&e>>>0>=j>>>0|(d|0)<(g|0)|((d|0)<=(h|0)&a>>>0>j>>>0|(d|0)<(h|0))))){if((g|0)<0){C[c>>2]=0;C[c+4>>2]=0}if(!(a|h)){C[f>>2]=j;C[f+4>>2]=d}C[i+784>>2]=1}C[i+4>>2]=b}Ce=l+32|0;return i|0}function $z(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=Ce-16|0;Ce=p;a:{if((c|0)==(e|0)){a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<1)|0;b:{if((b|0)<=(d|0)){j=(g|0)!=0;c=a+(b<<1)|0;a=d-b|0;break b}c=(a+(d<<1)|0)+(!g<<1)|0;j=(g|0)!=0;a=b-d|0}a=a+j|0;if(!a){break a}d=a-1|0;e=a&7;if(e){b=0;while(1){B[c>>1]=f;c=c+2|0;a=a-1|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(d>>>0<7){break a}while(1){B[c+14>>1]=f;B[c+12>>1]=f;B[c+10>>1]=f;B[c+8>>1]=f;B[c+6>>1]=f;B[c+4>>1]=f;B[c+2>>1]=f;B[c>>1]=f;c=c+16|0;a=a-8|0;if(a){continue}break}break a}if((b|0)==(d|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];c:{if((c|0)<=(e|0)){b=e-c|0;a=(a+(I(c,h)<<1)|0)+(d<<1)|0;break c}b=c-e|0;a=((a+(I(e,h)<<1)|0)+(d<<1)|0)+((g?0:h)<<1)|0}c=0;b=((g|0)!=0)+b|0;if(!b){break a}d=b-1|0;e=b&7;if(e){while(1){B[a>>1]=f;b=b-1|0;a=(h<<1)+a|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=h<<1;while(1){B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}j=b-d|0;h=j>>31;k=c-e|0;i=k>>31;if(((h^j)-h|0)==((i^k)-i|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];d:{if((c|0)<=(e|0)){k=e-c|0;j=h+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,h)<<1)|0)+(b<<1)|0;break d}j=h+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,h)<<1)|0)+(d<<1)|0)+((g?0:j)<<1)|0}c=0;b=((g|0)!=0)+k|0;if(!b){break a}d=b-1|0;e=b&7;if(e){while(1){B[a>>1]=f;b=b-1|0;a=(j<<1)+a|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=j<<1;while(1){B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;B[a>>1]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}h=C[a+4>>2];br(f,h,p+15|0,p+14|0,p+13|0,p+12|0);e:{h=C[h+12>>2];if((h|0)!=63488){if((h|0)!=31744){break e}i=d-b|0;h=i>>31;j=e-c|0;k=j>>31;h=(h^i)-h|0;i=(j^k)-k|0;f:{if(h>>>0>=i>>>0){m=i-h|0;k=i<<1;j=k-h|0;i=1;break f}m=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+16>>2];o=C[a+20>>2];if((g|0)!=1){a=(c|0)>(e|0);e=a?0-l|0:l;l=(b|0)>(d|0);d=l?0-i|0:i;i=a?-1:1;l=l?-1:1;m=m<<1;q=g&-2;a=0;while(1){B[(o+I(c,h)|0)+(b<<1)>>1]=f;n=c;c=(j|0)<0;n=n+(c?e:i)|0;b=(c?d:l)+b|0;B[(o+I(n,h)|0)+(b<<1)>>1]=f;j=(c?k:m)+j|0;c=(j|0)<0;j=(c?k:m)+j|0;b=b+(c?d:l)|0;c=n+(c?e:i)|0;a=a+2|0;if((q|0)!=(a|0)){continue}break}}if(!(g&1)){break a}B[(o+I(c,h)|0)+(b<<1)>>1]=f;break a}i=d-b|0;h=i>>31;j=e-c|0;k=j>>31;h=(h^i)-h|0;i=(j^k)-k|0;g:{if(h>>>0>=i>>>0){m=i-h|0;k=i<<1;j=k-h|0;i=1;break g}m=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+16>>2];o=C[a+20>>2];if((g|0)!=1){a=(c|0)>(e|0);e=a?0-l|0:l;l=(b|0)>(d|0);d=l?0-i|0:i;i=a?-1:1;l=l?-1:1;m=m<<1;q=g&-2;a=0;while(1){B[(o+I(c,h)|0)+(b<<1)>>1]=f;n=c;c=(j|0)<0;n=n+(c?e:i)|0;b=(c?d:l)+b|0;B[(o+I(n,h)|0)+(b<<1)>>1]=f;j=(c?k:m)+j|0;c=(j|0)<0;j=(c?k:m)+j|0;b=b+(c?d:l)|0;c=n+(c?e:i)|0;a=a+2|0;if((q|0)!=(a|0)){continue}break}}if(!(g&1)){break a}B[(o+I(c,h)|0)+(b<<1)>>1]=f;break a}k=d-b|0;h=k>>31;j=e-c|0;i=j>>31;k=(h^k)-h|0;i=(i^j)-i|0;h:{if(k>>>0>=i>>>0){m=i-k|0;h=i<<1;j=h-k|0;i=1;break h}m=k-i|0;l=1;h=k<<1;j=h-i|0;k=i;i=0}g=((g|0)!=0)+k|0;if(!g){break a}k=C[a+16>>2];o=C[a+20>>2];if((g|0)!=1){a=(c|0)>(e|0);e=a?0-l|0:l;l=(b|0)>(d|0);d=l?0-i|0:i;i=a?-1:1;l=l?-1:1;m=m<<1;q=g&-2;a=0;while(1){B[(o+I(c,k)|0)+(b<<1)>>1]=f;n=c;c=(j|0)<0;n=n+(c?e:i)|0;b=(c?d:l)+b|0;B[(o+I(n,k)|0)+(b<<1)>>1]=f;j=(c?h:m)+j|0;c=(j|0)<0;j=(c?h:m)+j|0;b=b+(c?d:l)|0;c=n+(c?e:i)|0;a=a+2|0;if((q|0)!=(a|0)){continue}break}}if(!(g&1)){break a}B[(o+I(c,k)|0)+(b<<1)>>1]=f}Ce=p+16|0}function _z(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=Ce-16|0;Ce=p;a:{if((c|0)==(e|0)){a=C[a+20>>2]+(I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)<<2)|0;b:{if((b|0)<=(d|0)){e=(g|0)!=0;c=a+(b<<2)|0;a=d-b|0;break b}c=(a+(d<<2)|0)+(!g<<2)|0;e=(g|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}d=a-1|0;e=a&7;if(e){b=0;while(1){C[c>>2]=f;c=c+4|0;a=a-1|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(d>>>0<7){break a}while(1){C[c+28>>2]=f;C[c+24>>2]=f;C[c+20>>2]=f;C[c+16>>2]=f;C[c+12>>2]=f;C[c+8>>2]=f;C[c+4>>2]=f;C[c>>2]=f;c=c+32|0;a=a-8|0;if(a){continue}break}break a}if((b|0)==(d|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];c:{if((c|0)<=(e|0)){b=e-c|0;a=(a+(I(c,h)<<2)|0)+(d<<2)|0;break c}b=c-e|0;a=((a+(I(e,h)<<2)|0)+(d<<2)|0)+((g?0:h)<<2)|0}c=0;b=((g|0)!=0)+b|0;if(!b){break a}d=b-1|0;e=b&7;if(e){g=h<<2;while(1){C[a>>2]=f;b=b-1|0;a=a+g|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=h<<2;while(1){C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}k=b-d|0;h=k>>31;j=c-e|0;i=j>>31;if(((h^k)-h|0)==((i^j)-i|0)){h=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];d:{if((c|0)<=(e|0)){j=e-c|0;k=h+((b|0)>(d|0)?-1:1)|0;a=(a+(I(c,h)<<2)|0)+(b<<2)|0;break d}k=h+((b|0)<(d|0)?-1:1)|0;a=((a+(I(e,h)<<2)|0)+(d<<2)|0)+((g?0:k)<<2)|0}c=0;b=((g|0)!=0)+j|0;if(!b){break a}d=b-1|0;e=b&7;if(e){g=k<<2;while(1){C[a>>2]=f;b=b-1|0;a=a+g|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break a}c=k<<2;while(1){C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;C[a>>2]=f;a=a+c|0;b=b-8|0;if(b){continue}break}break a}j=C[a+4>>2];br(f,j,p+15|0,p+14|0,p+13|0,p+12|0);if(C[j+12>>2]==16711680){i=e-c|0;h=i>>31;i=(h^i)-h|0;k=d-b|0;h=k>>31;h=(h^k)-h|0;if(!C[j+24>>2]){e:{if(h>>>0>=i>>>0){n=i-h|0;k=i<<1;j=k-h|0;i=1;break e}n=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+20>>2];if((g|0)!=1){o=0-l|0;m=l;l=(c|0)>(e|0);e=l?o:m;d=(b|0)>(d|0);i=d?0-i|0:i;l=l?-1:1;o=d?-1:1;n=n<<1;q=g&-2;d=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;m=c;c=(j|0)<0;m=m+(c?e:l)|0;b=(c?i:o)+b|0;C[(h+I(m,C[a+16>>2])|0)+(b<<2)>>2]=f;j=(c?k:n)+j|0;c=(j|0)<0;j=(c?k:n)+j|0;b=b+(c?i:o)|0;c=m+(c?e:l)|0;d=d+2|0;if((q|0)!=(d|0)){continue}break}}if(!(g&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;break a}f:{if(h>>>0>=i>>>0){n=i-h|0;k=i<<1;j=k-h|0;i=1;break f}n=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+20>>2];if((g|0)!=1){o=0-l|0;m=l;l=(c|0)>(e|0);e=l?o:m;d=(b|0)>(d|0);i=d?0-i|0:i;l=l?-1:1;o=d?-1:1;n=n<<1;q=g&-2;d=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;m=c;c=(j|0)<0;m=m+(c?e:l)|0;b=(c?i:o)+b|0;C[(h+I(m,C[a+16>>2])|0)+(b<<2)>>2]=f;j=(c?k:n)+j|0;c=(j|0)<0;j=(c?k:n)+j|0;b=b+(c?i:o)|0;c=m+(c?e:l)|0;d=d+2|0;if((q|0)!=(d|0)){continue}break}}if(!(g&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;break a}j=d-b|0;h=j>>31;k=e-c|0;i=k>>31;h=(h^j)-h|0;i=(i^k)-i|0;g:{if(h>>>0>=i>>>0){n=i-h|0;k=i<<1;j=k-h|0;i=1;break g}n=h-i|0;l=1;k=h<<1;j=k-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}h=C[a+20>>2];if((g|0)!=1){o=0-l|0;m=l;l=(c|0)>(e|0);e=l?o:m;d=(b|0)>(d|0);i=d?0-i|0:i;l=l?-1:1;o=d?-1:1;n=n<<1;q=g&-2;d=0;while(1){C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f;m=c;c=(j|0)<0;m=m+(c?e:l)|0;b=(c?i:o)+b|0;C[(h+I(m,C[a+16>>2])|0)+(b<<2)>>2]=f;j=(c?k:n)+j|0;c=(j|0)<0;j=(c?k:n)+j|0;b=b+(c?i:o)|0;c=m+(c?e:l)|0;d=d+2|0;if((q|0)!=(d|0)){continue}break}}if(!(g&1)){break a}C[(h+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f}Ce=p+16|0}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ce-32|0;Ce=d;f=C[a+80>>2];i=f;a:{b:{switch(f|0){default:i=1;while(1){j=e;f=C[a+92>>2]+I(i,20)|0;c:{if(Fe[b|0](f-20|0,f)|0){break c}if(!(!c|i-j>>>0<2)){fg(a,j,i)}e=C[a+80>>2];f=e>>>0>>0?e:i;g=e>>>0>>0?e:j;d:{if(f>>>0>>0){break d}h=f-1|0;if(h>>>0<=g>>>0){break d}k=C[a+92>>2];while(1){e=I(h,20)+k|0;C[d+24>>2]=C[e+16>>2];f=C[e+12>>2];C[d+16>>2]=C[e+8>>2];C[d+20>>2]=f;f=C[e+4>>2];C[d+8>>2]=C[e>>2];C[d+12>>2]=f;f=I(g,20)+k|0;C[e+16>>2]=C[f+16>>2];l=C[f+12>>2];C[e+8>>2]=C[f+8>>2];C[e+12>>2]=l;l=C[f+4>>2];C[e>>2]=C[f>>2];C[e+4>>2]=l;C[f+16>>2]=C[d+24>>2];e=C[d+20>>2];C[f+8>>2]=C[d+16>>2];C[f+12>>2]=e;e=C[d+12>>2];C[f>>2]=C[d+8>>2];C[f+4>>2]=e;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}e=i;if(!D[a+74|0]){break c}f=C[a+80>>2];h=f>>>0>>0?f:i;g=f>>>0>>0?f:j;e=i;if(h>>>0>>0){break c}h=h-1|0;e=i;if(h>>>0<=g>>>0){break c}j=C[a+100>>2];while(1){e=j+I(h,20)|0;C[d+24>>2]=C[e+16>>2];f=C[e+12>>2];C[d+16>>2]=C[e+8>>2];C[d+20>>2]=f;f=C[e+4>>2];C[d+8>>2]=C[e>>2];C[d+12>>2]=f;f=j+I(g,20)|0;C[e+16>>2]=C[f+16>>2];k=C[f+12>>2];C[e+8>>2]=C[f+8>>2];C[e+12>>2]=k;k=C[f+4>>2];C[e>>2]=C[f>>2];C[e+4>>2]=k;C[f+16>>2]=C[d+24>>2];e=C[d+20>>2];C[f+8>>2]=C[d+16>>2];C[f+12>>2]=e;e=C[d+12>>2];C[f>>2]=C[d+8>>2];C[f+4>>2]=e;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}e=i}f=C[a+80>>2];i=i+1|0;if(f>>>0>i>>>0){continue}break};break;case 0:break a;case 1:break b}}if(!(!c|i-e>>>0<2)){fg(a,e,i);f=C[a+80>>2]}b=f>>>0>>0?f:i;g=f>>>0>>0?f:e;e:{if(b>>>0>>0){break e}h=b-1|0;if(h>>>0<=g>>>0){break e}f=C[a+92>>2];while(1){b=f+I(h,20)|0;C[d+24>>2]=C[b+16>>2];c=C[b+12>>2];C[d+16>>2]=C[b+8>>2];C[d+20>>2]=c;c=C[b+4>>2];C[d+8>>2]=C[b>>2];C[d+12>>2]=c;c=f+I(g,20)|0;C[b+16>>2]=C[c+16>>2];j=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=j;j=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=j;C[c+16>>2]=C[d+24>>2];b=C[d+20>>2];C[c+8>>2]=C[d+16>>2];C[c+12>>2]=b;b=C[d+12>>2];C[c>>2]=C[d+8>>2];C[c+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}f:{if(!D[a+74|0]){break f}b=C[a+80>>2];c=b>>>0>>0?b:i;g=b>>>0>>0?b:e;if(c>>>0>>0){break f}h=c-1|0;if(h>>>0<=g>>>0){break f}e=C[a+100>>2];while(1){b=e+I(h,20)|0;C[d+24>>2]=C[b+16>>2];c=C[b+12>>2];C[d+16>>2]=C[b+8>>2];C[d+20>>2]=c;c=C[b+4>>2];C[d+8>>2]=C[b>>2];C[d+12>>2]=c;c=e+I(g,20)|0;C[b+16>>2]=C[c+16>>2];i=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=i;i=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=i;C[c+16>>2]=C[d+24>>2];b=C[d+20>>2];C[c+8>>2]=C[d+16>>2];C[c+12>>2]=b;b=C[d+12>>2];C[c>>2]=C[d+8>>2];C[c+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}e=C[a+80>>2];if(e>>>0>=2){i=C[a+92>>2];g=e-1|0;h=0;while(1){b=i+I(g,20)|0;C[d+24>>2]=C[b+16>>2];c=C[b+12>>2];C[d+16>>2]=C[b+8>>2];C[d+20>>2]=c;c=C[b+4>>2];C[d+8>>2]=C[b>>2];C[d+12>>2]=c;c=i+I(h,20)|0;C[b+16>>2]=C[c+16>>2];f=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=f;f=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=f;C[c+16>>2]=C[d+24>>2];b=C[d+20>>2];C[c+8>>2]=C[d+16>>2];C[c+12>>2]=b;b=C[d+12>>2];C[c>>2]=C[d+8>>2];C[c+4>>2]=b;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}if(!D[a+74|0]){break a}b=C[a+80>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break a}c=C[a+100>>2];g=b-1|0;h=0;while(1){a=c+I(g,20)|0;C[d+24>>2]=C[a+16>>2];b=C[a+12>>2];C[d+16>>2]=C[a+8>>2];C[d+20>>2]=b;b=C[a+4>>2];C[d+8>>2]=C[a>>2];C[d+12>>2]=b;b=c+I(h,20)|0;C[a+16>>2]=C[b+16>>2];e=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=e;e=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=e;C[b+16>>2]=C[d+24>>2];a=C[d+20>>2];C[b+8>>2]=C[d+16>>2];C[b+12>>2]=a;a=C[d+12>>2];C[b>>2]=C[d+8>>2];C[b+4>>2]=a;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}Ce=d+32|0}function Mj(a){var b=0,c=0,d=0,e=0;a:{if(!(a&32768)){break a}b=D[418127];if(!(!b|!((D[418144]|(b|0)==1)&1))){b=C[105711];if(b){while(1){C[b+88>>2]=1;Gz(b);b=C[105711];if(b){continue}break}}Fe[C[95599]]();Mj(16384);c=C[105710];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[105710]=0}b=D[418127]}if(!b){break a}A[418127]=b-1}b:{if(!(a&8192)){break b}a=a|512;b=D[418125];if(!(!b|!((D[418144]|(b|0)==1)&1))){b=C[104873];if(b){while(1){C[b+4>>2]=1;d=0;if(b){c=C[b+4>>2];C[b+4>>2]=c-1;if((c|0)<=1){wn(C[b>>2]);c=C[104873];c:{if(!c){break c}if((b|0)!=(c|0)){while(1){e=C[c+32>>2];if(!e){break c}d=c;c=e;if((c|0)!=(b|0)){continue}break}}C[(d?d+32|0:419492)>>2]=C[b+32>>2]}c=C[b+16>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}c=C[b+20>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}c=C[b+24>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}}b=C[104873];if(b){continue}break}}b=D[418125]}if(!b){break b}A[418125]=b-1}d:{if(!(a&512)){break d}a=a|16384;b=D[418121];if(!(!b|!((D[418144]|(b|0)==1)&1))){if(D[419528]){while(1){ph(1);if(D[419528]){continue}break}}b=C[104881];if(b){while(1){C[b+136>>2]=1;wn(b);b=C[104881];if(b){continue}break}}Fe[C[95618]]();c=C[104883];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[104884]=0;C[104883]=0}Mj(16384);Xg(23947,374,0);c=C[104880];if(c){C[104880]=0;if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}}while(1){c=C[104866];if(c){C[104866]=C[c+28>>2];d=C[c+16>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}d=C[c+20>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}continue}break}cs(373,0);Xg(24484,371,0);Xg(23215,372,0);c=C[104869];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}mf(419468,0,12)}c=C[104872];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}mf(419480,0,12)}b=D[418121]}if(!b){break d}A[418121]=b-1}e:{if(!(a&16)){break e}b=D[418116];if(!(!b|!((D[418144]|(b|0)==1)&1))){os();b=D[418116]}if(!b){break e}A[418116]=b-1}f:{if(!(a&32)){break f}a=a|16384;b=D[418117];if(!(!b|!((D[418144]|(b|0)==1)&1))){Zm();b=D[418117]}if(!b){break f}A[418117]=b-1}g:{if(!(a&1)){break g}b=D[418112];if(!(!b|!((D[418144]|(b|0)==1)&1))){while(1){c=C[105768];if(c){C[105768]=C[c+8>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}continue}break}b=D[418112]}if(!b){break g}A[418112]=b-1}h:{if(!(a&16384)){break h}a=D[418126];if(!(!a|!((D[418144]|(a|0)==1)&1))){a=Ce-144|0;Ce=a;qi(2,0,a+4|0);if(C[a+4>>2]==591){C[a+4>>2]=0;qi(2,a+4|0,0)}qi(15,0,a+4|0);if(C[a+4>>2]==591){C[a+4>>2]=0;qi(15,a+4|0,0)}Ce=a+144|0;d=Ce-16|0;Ce=d;a=Eg(24551);C[94750]=0;i:{if(!a){break i}if(!Zf(a)){break i}C[d>>2]=C[94752];Tg(34599,d)}a=C[94753];if(a){while(1){c=C[a+72>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}a=C[94755];if(a){while(1){c=C[a+72>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}a=C[94756];if(a){while(1){c=C[a+12>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}a=C[94757];if(a){while(1){c=C[a+12>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}C[94751]=0;C[94756]=0;C[94757]=0;C[94754]=0;C[94755]=0;C[94752]=0;C[94753]=0;C[104597]=0;a=0;while(1){c=(a<<2)+418400|0;e=C[c>>2];if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}C[c>>2]=0;a=a+1|0;if((a|0)!=256){continue}break}a=C[104856];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104857]=0;C[104856]=0}mf(419432,0,12);if(C[94749]){a=C[94749];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[94749]=0}Ce=d+16|0;Xg(25812,370,0);Xg(26279,369,0);Xg(24207,367,0);Xg(24068,368,0);a=D[418126]}if(!(a&255)){break h}A[418126]=a-1}}function Rs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{switch(c-1|0){case 0:c:{d:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=C[b+100>>2];c=C[C[c+92>>2]+I(C[c+76>>2],20)>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=84608}f=zf(d,c);e:{if((f|0)==-1){break e}a=D[a+4|0]|D[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;c=E[a+12>>1]&96;h=a,i=_g(C[b+108>>2],e)|c|16,B[h+12>>1]=i}c=C[b+100>>2];if(!$e(c,1,1)){break e}a=C[c+76>>2];f:{if(a>>>0>2]){b=C[c+84>>2];d=C[c+96>>2];a=C[c+92>>2]+I(a,20)|0;break f}d=C[c+96>>2];b=C[c+84>>2];a=b-1|0;a=d+I(a>>>0<=b>>>0?a:0,20)|0}b=I(b,20)+d|0;d=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=d;C[b+16>>2]=C[a+16>>2];d=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=d;C[b>>2]=e;C[c+76>>2]=C[c+76>>2]+1;C[c+84>>2]=C[c+84>>2]+1}return(f|0)!=-1}c=0;d=D[a+2|0]|D[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=84608}d=C[b+100>>2];d=zf(e,C[C[d+92>>2]+I(C[d+76>>2],20)>>2]);g:{if((d|0)==-1){break g}e=D[a+4|0]|D[a+5|0]<<8;if(d>>>0>=((e<<8|e>>>8)&65535)>>>0){break g}c=1;a=(d<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;e=(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;d=E[a+12>>1]&96;h=a,i=_g(C[b+108>>2],e)|d|16,B[h+12>>1]=i}a=C[b+100>>2];if(!$e(a,1,1)){break g}b=C[a+76>>2];h:{if(b>>>0>2]){c=C[a+92>>2]+I(b,20)|0;b=C[a+84>>2];d=C[a+96>>2];break h}d=C[a+96>>2];b=C[a+84>>2];c=b-1|0;c=d+I(b>>>0>=c>>>0?c:0,20)|0}b=I(b,20)+d|0;d=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;C[b>>2]=e;c=1;C[a+76>>2]=C[a+76>>2]+1;C[a+84>>2]=C[a+84>>2]+1}return c;case 1:if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=84608}c=C[b+100>>2];c=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)==-1){break a}d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}return ht(a,b);case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=84608}c=C[b+100>>2];c=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)==-1){break a}d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}return gt(a,b);case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=84608}c=C[b+100>>2];e=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);i:{if((e|0)==-1){break i}c=84608;f=D[a+4|0]|D[a+5|0]<<8;e=e>>>0>=((f<<8|f>>>8)&65535)>>>0?84608:((e<<1)+a|0)+6|0;e=D[e|0]|D[e+1|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}a=D[c|0]|D[c+1|0]<<8;if(!a){break i}e=(a<<8|a>>>8)&65535;g=e>>>0<=1?1:e;a=0;d=1;while(1){f=D[c|0]|D[c+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=a>>>0?84608:((a<<1)+c|0)+2|0;f=D[f|0]|D[f+1|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+c|0}else{f=84608}if(ft(f,b)){break i}a=a+1|0;d=e>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return d;case 4:return Qs(a,b);case 5:j:{k:{l:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break a}}return Ps(b,a)}return Nn(a,b)}return Mn(a,b);case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;a=Rs(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)!=256){break a}d=dt(a,b)}return d}function xH(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0;h=Ce-32|0;Ce=h;c=If(1,72);a:{if(!c){c=0;_e(0);break a}C[c+32>>2]=128;C[c>>2]=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{a=xi(a);if((a|0)!=1163280727){if((a|0)==1297239878){break k}if((a|0)!=1179011410){break j}}i=C[c>>2];xi(i);xi(i);a=xi(i);l:{d=xi(i);if(d){while(1){m:{n:{if((a|0)!=1819307379){if((a|0)!=1635017060){if((a|0)!=544501094){break n}if(d>>>0<=15){Qe(13327,0);break b}a=Fe[C[94762]](d>>>0<=1?1:d)|0;if(a){C[94766]=C[94766]+1}if(!a){Qe(1277,0);break b}e=C[c>>2];if(!(Fe[C[e+8>>2]](e,a,d,1)|0)){C[h>>2]=d;Qe(17433,h);break b}if(E[a>>1]!=1){g=5644;break c}C[c+8>>2]=C[a+4>>2];m=1;g=5620;d=1;o:{p:{j=E[a+14>>1];switch(j-8|0){case 0:break o;case 8:break p;default:break c}}d=2;j=32784}B[c+12>>1]=j;e=E[a+2>>1];B[c+16>>1]=4096;A[c+14|0]=e;C[c+20>>2]=I(e&255,d)<<12;if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}break m}a=C[c>>2];e=Fe[C[a+4>>2]](a,0,0,1)|0;C[c+40>>2]=e;a=Ee;C[c+44>>2]=a;e=d+e|0;a=e>>>0>>0?a+1|0:a;C[c+48>>2]=e;C[c+52>>2]=a;n=1;a=C[c>>2];Fe[C[a+4>>2]](a,d,0,1)|0;break m}e=Fe[C[94762]](d>>>0<=1?1:d)|0;if(e){C[94766]=C[94766]+1}if(!e){Qe(1277,0);break b}a=C[c>>2];if(!(Fe[C[a+8>>2]](a,e,d,1)|0)){break f}a=0;if(C[e+28>>2]){while(1){d=e+I(a,24)|0;q:{if(C[d+40>>2]){break q}k=C[d+48>>2];f=C[d+44>>2];g=C[d+56>>2];j=Rf(C[c+68>>2],I(C[c+64>>2],20)+20|0);if(!j){Qe(1277,0);break q}l=C[c+64>>2];d=j+I(l,20)|0;C[d+16>>2]=g;C[d+12>>2]=g;C[d+8>>2]=k;C[d+4>>2]=f;C[c+64>>2]=l+1;C[c+68>>2]=j}a=a+1|0;if(a>>>0>2]){continue}break}}if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}break m}Fe[C[i+4>>2]](i,d,0,1)|0}a=xi(i);d=xi(i);if(d){continue}break}if(m){break l}}Qe(32792,0);break b}if(n){break g}Qe(32880,0);break b}a=C[c>>2];ml(a);if((xi(a)|0)!=1179011393){break d}o=c+8|0;r:{while(1){s:{f=xi(a);k=ml(a);i=Fe[C[a+4>>2]](a,0,0,1)|0;e=Ee;if(!k){break s}t:{if((f|0)!=1296912195){if((f|0)!=1145983827){break t}f=ml(a);ml(a);p=Fe[C[a+4>>2]](a,0,0,1)|0;g=Ee;q=f;f=f+p|0;g=q>>>0>f>>>0?g+1|0:g;C[c+40>>2]=f;C[c+44>>2]=g;g=1;break t}l=1;m=Iz(a);n=ml(a);j=Iz(a);Fe[C[a+8>>2]](a,h+22|0,10,1)|0;d=0;f=A[h+22|0];if((f|0)<0){break t}if(f>>>0<64){d=1;break t}d=67108864;if((f|0)!=64){break t}d=8e8;f=D[h+23|0];if(f>>>0>28){break t}d=(D[h+25|0]<<15|D[h+24|0]<<23|D[h+26|0]<<7|D[h+27|0]>>>1)>>>29-f|0}if(l?g:0){break r}i=i+k|0;e=i>>>0>>0?e+1|0:e;if((Fe[C[a+4>>2]](a,i,e,0)&Ee)!=-1){continue}}break}if(!g){Qe(32850,0);break b}if(l){break r}Qe(32820,0);break b}a=C[c+44>>2];g=j&65535;e=I(I(m&65535,n),g>>>3|0);f=e;e=e+C[c+40>>2]|0;a=f>>>0>e>>>0?a+1|0:a;C[c+48>>2]=e;C[c+52>>2]=a;mf(o,0,24);C[c+8>>2]=d;a=32776;u:{switch(g-8|0){case 8:break i;case 0:break h;default:break u}}Qe(5586,0);break b}Qe(5692,0);break b}a=36880}B[c+16>>1]=4096;A[c+14|0]=m;B[c+12>>1]=a}a=C[c+20>>2];a=Fe[C[94762]](a>>>0<=1?1:a)|0;if(a){C[94766]=C[94766]+1}C[c+56>>2]=a;if(a){break e}a=C[c+68>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[c+60>>2];if(a){Di(a)}a=C[c+56>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(!C[c+4>>2]){break b}a=C[c>>2];Fe[C[a+16>>2]](a)|0;break b}C[h+16>>2]=d;Qe(17433,h+16|0);break b}a=Bn(E[c+12>>1],D[c+14|0],C[c+8>>2],E[208776],D[417554],C[104387]);C[c+60>>2]=a;if(!a){a=C[c+68>>2];v:{if(!a){break v}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[c+60>>2];if(!a){break v}Di(a)}a=C[c+56>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(!C[c+4>>2]){break b}a=C[c>>2];Fe[C[a+16>>2]](a)|0;break b}C[c+4>>2]=b;break a}Qe(33847,0);break b}Qe(g,0);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}c=0}Ce=h+32|0;return c|0}function Pn(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=Ce-16|0;Ce=q;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break a}if(!yt(a+4|0,b,a)){break a}if(!xt(a+6|0,b,a)){break a}m=a+8|0;if(m>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-m>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[m|0]|D[m+1|0]<<8;b:{if(!c){break b}k=((c<<8|c>>>8)&65535)+a|0;C[q+12>>2]=k;c:{d:{e:{if(F[b+4>>2]>k>>>0){break e}e=C[b+8>>2];if(e>>>0>>0|e-k>>>0<2){break e}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break e}h=D[k|0]|D[k+1|0]<<8;i=1;if(!h){break c}c=k+2|0;if(c>>>0>e>>>0){break e}i=e-c|0;c=(h<<8|h>>>8)&65535;e=c<<1;if(i>>>0>>0){break e}e=f-e|0;C[b+12>>2]=e;if((e|0)<=0){break e}u=c>>>0<=1?1:c;while(1){n=((r<<1)+k|0)+2|0;if(n>>>0>2]){break d}d=C[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break d}c=C[q+12>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break d}d=D[n|0]|D[n+1|0]<<8;f:{if(!d){break f}f=0;o=Ce-16|0;Ce=o;e=c+((d<<8|d>>>8)&65535)|0;l=C[b+4>>2];g:{if(e>>>0>>0){break g}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<6){break g}c=C[b+12>>2];h=c-6|0;C[b+12>>2]=h;if((h|0)<=0){break g}h=e+4|0;if(h>>>0>d>>>0|d-h>>>0<2){break g}c=c-8|0;C[b+12>>2]=c;if((c|0)<=0){break g}p=D[h|0]|D[h+1|0]<<8;t=p<<8|p>>>8;s=t&65535;g=s<<1;if(p){j=e+6|0;if(j>>>0>d>>>0|g>>>0>d-j>>>0){break g}c=c-g|0;C[b+12>>2]=c;if((c|0)<=0){break g}}j=C[b+16>>2]+s|0;C[b+16>>2]=j;if((j|0)>16383){break g}if(D[e+3|0]&16){g=(g+h|0)+2|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break g}C[b+12>>2]=c-2;if((c|0)<3){break g}}C[o+12>>2]=e;d=D[e|0]|D[e+1|0]<<8;C[o+8>>2]=(d<<8|d>>>8)&65535;c=0;h:{i:{j:{if(h>>>0>2]){break j}g=C[b+8>>2];if(g>>>0>>0|g-h>>>0<2){break j}l=C[b+12>>2]-2|0;C[b+12>>2]=l;if((l|0)<=0){break j}j=D[h|0]|D[h+1|0]<<8;i=1;if(!j){break h}i=h+2|0;if(i>>>0>g>>>0){break j}d=(j<<8|j>>>8)&65535;j=d<<1;if(j>>>0>g-i>>>0){break j}g=l-j|0;C[b+12>>2]=g;if((g|0)<=0){break j}l=d>>>0<=1?1:d;g=0;while(1){d=(h+(g<<1)|0)+2|0;if(d>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break i}j=C[o+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break i}c=D[d|0]|D[d+1|0]<<8;k:{if(!c){break k}if(tt(j+((c<<8|c>>>8)&65535)|0,b,C[o+8>>2])){break k}c=C[b+28>>2];if(c>>>0>31){break i}C[b+28>>2]=c+1;if(!D[b+24|0]){break i}A[d|0]=0;A[d+1|0]=0}c=1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}i=c;break h}i=0}if(!i){break g}f=1;if(C[b+28>>2]|(!p|(D[e|0]|D[e+1|0]<<8)!=1792)){break g}g=0;d=E[42304];c=D[e+4|0]|D[e+5|0]<<8;f=c?D[e+6|0]|D[e+7|0]<<8:d;l:{if(!(f&65535)){f=84608;break l}f=e+((f<<8|(f&65280)>>>8)&65535)|0;d=D[f|0]|D[f+1|0]<<8}if((d&65535)==256){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535}d=1;if((t&65535)>>>0<2){f=1;break g}p=(c<<8|c>>>8)&65535;while(1){f=84608;c=d>>>0>=p>>>0?84608:(h+(d<<1)|0)+2|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=e+((c<<8|c>>>8)&65535)|0}c=0;if((D[f|0]|D[f+1|0]<<8)==256){c=D[f+2|0]|D[f+3|0]<<8;c=(c<<8|c>>>8)&65535}f=(c|0)==(g|0);if((c|0)!=(g|0)){break g}d=d+1|0;if((s|0)!=(d|0)){continue}break}}Ce=o+16|0;if(f){break f}d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[n|0]=0;A[n+1|0]=0}d=1;r=r+1|0;if((u|0)!=(r|0)){continue}break}}i=d;break c}i=0}if(i){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[m|0]=0;A[m+1|0]=0}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=65537){if(!wt(a+10|0,b,a)){break a}}v=1}Ce=q+16|0;return v}function Ln(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=Ce-16|0;Ce=q;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break a}if(!yt(a+4|0,b,a)){break a}if(!xt(a+6|0,b,a)){break a}m=a+8|0;if(m>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-m>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[m|0]|D[m+1|0]<<8;b:{if(!c){break b}k=((c<<8|c>>>8)&65535)+a|0;C[q+12>>2]=k;c:{d:{e:{if(F[b+4>>2]>k>>>0){break e}e=C[b+8>>2];if(e>>>0>>0|e-k>>>0<2){break e}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break e}h=D[k|0]|D[k+1|0]<<8;i=1;if(!h){break c}c=k+2|0;if(c>>>0>e>>>0){break e}i=e-c|0;c=(h<<8|h>>>8)&65535;e=c<<1;if(i>>>0>>0){break e}e=f-e|0;C[b+12>>2]=e;if((e|0)<=0){break e}u=c>>>0<=1?1:c;while(1){n=((r<<1)+k|0)+2|0;if(n>>>0>2]){break d}d=C[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break d}c=C[q+12>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break d}d=D[n|0]|D[n+1|0]<<8;f:{if(!d){break f}f=0;o=Ce-16|0;Ce=o;e=c+((d<<8|d>>>8)&65535)|0;l=C[b+4>>2];g:{if(e>>>0>>0){break g}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<6){break g}c=C[b+12>>2];h=c-6|0;C[b+12>>2]=h;if((h|0)<=0){break g}h=e+4|0;if(h>>>0>d>>>0|d-h>>>0<2){break g}c=c-8|0;C[b+12>>2]=c;if((c|0)<=0){break g}p=D[h|0]|D[h+1|0]<<8;t=p<<8|p>>>8;s=t&65535;g=s<<1;if(p){j=e+6|0;if(j>>>0>d>>>0|g>>>0>d-j>>>0){break g}c=c-g|0;C[b+12>>2]=c;if((c|0)<=0){break g}}j=C[b+16>>2]+s|0;C[b+16>>2]=j;if((j|0)>16383){break g}if(D[e+3|0]&16){g=(g+h|0)+2|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break g}C[b+12>>2]=c-2;if((c|0)<3){break g}}C[o+12>>2]=e;d=D[e|0]|D[e+1|0]<<8;C[o+8>>2]=(d<<8|d>>>8)&65535;c=0;h:{i:{j:{if(h>>>0>2]){break j}g=C[b+8>>2];if(g>>>0>>0|g-h>>>0<2){break j}l=C[b+12>>2]-2|0;C[b+12>>2]=l;if((l|0)<=0){break j}j=D[h|0]|D[h+1|0]<<8;i=1;if(!j){break h}i=h+2|0;if(i>>>0>g>>>0){break j}d=(j<<8|j>>>8)&65535;j=d<<1;if(j>>>0>g-i>>>0){break j}g=l-j|0;C[b+12>>2]=g;if((g|0)<=0){break j}l=d>>>0<=1?1:d;g=0;while(1){d=(h+(g<<1)|0)+2|0;if(d>>>0>2]){break i}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break i}j=C[o+12>>2];c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break i}c=D[d|0]|D[d+1|0]<<8;k:{if(!c){break k}if(bt(j+((c<<8|c>>>8)&65535)|0,b,C[o+8>>2])){break k}c=C[b+28>>2];if(c>>>0>31){break i}C[b+28>>2]=c+1;if(!D[b+24|0]){break i}A[d|0]=0;A[d+1|0]=0}c=1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}i=c;break h}i=0}if(!i){break g}f=1;if(C[b+28>>2]|(!p|(D[e|0]|D[e+1|0]<<8)!=2304)){break g}g=0;d=E[42304];c=D[e+4|0]|D[e+5|0]<<8;f=c?D[e+6|0]|D[e+7|0]<<8:d;l:{if(!(f&65535)){f=84608;break l}f=e+((f<<8|(f&65280)>>>8)&65535)|0;d=D[f|0]|D[f+1|0]<<8}if((d&65535)==256){d=D[f+2|0]|D[f+3|0]<<8;g=(d<<8|d>>>8)&65535}d=1;if((t&65535)>>>0<2){f=1;break g}p=(c<<8|c>>>8)&65535;while(1){f=84608;c=d>>>0>=p>>>0?84608:(h+(d<<1)|0)+2|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=e+((c<<8|c>>>8)&65535)|0}c=0;if((D[f|0]|D[f+1|0]<<8)==256){c=D[f+2|0]|D[f+3|0]<<8;c=(c<<8|c>>>8)&65535}f=(c|0)==(g|0);if((c|0)!=(g|0)){break g}d=d+1|0;if((s|0)!=(d|0)){continue}break}}Ce=o+16|0;if(f){break f}d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[n|0]=0;A[n+1|0]=0}d=1;r=r+1|0;if((u|0)!=(r|0)){continue}break}}i=d;break c}i=0}if(i){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[m|0]=0;A[m+1|0]=0}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=65537){if(!wt(a+10|0,b,a)){break a}}v=1}Ce=q+16|0;return v}function Iv(a){var 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;g=Ce-48|0;Ce=g;n=a+120|0;c=a+592|0;h=a+480|0;a:{while(1){b:{c:{d:{e:{b=C[a+88>>2];switch(b-3|0){case 1:break d;case 0:break e;default:break c}}e=C[a+72>>2];f:{if(C[a+4>>2]){if(!ck(h,e+(C[a+96>>2]<<5)|0)){break f}break b}if(ck(h,e)){break b}}ep(h,c);C[a+88>>2]=4;C[a+112>>2]=0;C[a+116>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0}o=C[C[C[a+72>>2]+28>>2]+3656>>2];l=-3;b=vh(n,g);if((b|0)==-1){break a}while(1){if((b|0)>0){e=C[g+16>>2];f=C[g+20>>2];k=0;b=0;i=0;j=0;g:{h:{if(!c){break h}d=C[c+64>>2];if(!d){break h}k=C[d+104>>2];i=C[d+4>>2];if(!i){i=0;d=1;break g}j=C[i+28>>2];b=1;d=1;break g}d=0}i:{j:{if(!c|!b|(!d|!k)){break j}if(!j){break j}Qv(c);d=C[g+4>>2];b=c?c+4|0:0;m=C[g>>2];C[b+12>>2]=m;C[b>>2]=0;C[b+4>>2]=0;C[b+16>>2]=d;C[b+8>>2]=m;d=-135;k:{if(Ye(b,1)){break k}d=Ye(b,C[k+44>>2]);if((d|0)==-1){break j}C[c+40>>2]=d;k=(d<<2)+j|0;d=C[k+32>>2];if(!d){break j}d=C[d>>2];C[c+28>>2]=d;l:{if(d){r=c,s=Ye(b,1),C[r+24>>2]=s;b=Ye(b,1);C[c+32>>2]=b;d=-136;if((b|0)==-1){break k}d=C[c+28>>2];break l}C[c+32>>2]=0;C[c+24>>2]=0;d=0}b=C[g+20>>2];C[c+48>>2]=C[g+16>>2];C[c+52>>2]=b;b=C[g+28>>2];C[c+56>>2]=C[g+24>>2];C[c+60>>2]=b;C[c+44>>2]=C[g+12>>2];C[c+36>>2]=C[(d<<2)+j>>2];r=c,s=rg(c,C[i+4>>2]<<2),C[r>>2]=s;if(C[i+4>>2]>0){b=0;while(1){d=rg(c,C[c+36>>2]<<2);C[C[c>>2]+(b<<2)>>2]=d;b=b+1|0;if((b|0)>2]){continue}break}}d=(C[C[k+32>>2]+12>>2]<<2)+j|0;d=Fe[C[C[(C[d+288>>2]<<2)+317256>>2]+16>>2]](c,C[d+544>>2])|0}break i}d=-136}if(!d){l=-129;if(Rk(h,0)){break a}Pv(h,c);d=Rk(h,0);H[a+112>>3]=H[a+112>>3]+ +(d<>3]=H[a+104>>3]+ +(C[g+4>>2]<<3);l=1;if(C[g+12>>2]|(e&f)==-1){break a}m:{if(!C[a+4>>2]){b=0;break m}b=C[a+96>>2];if((b|0)<=0){break m}d=e;c=C[a+68>>2]+(b<<4)|0;j=C[c>>2];e=e-j|0;f=f-(C[c+4>>2]+(d>>>0>>0)|0)|0}d=!!e&(f|0)>=0|(f|0)>0;c=d?e:0;h=Rk(h,0)<>31)+(c>>>0>>0)|0)|0;n:{if((b|0)<=0){break n}h=b&3;d=C[a+68>>2];j=0;o:{if(b>>>0<4){b=0;break o}n=b&-4;b=0;i=0;while(1){c=b<<4;k=d+(c|56)|0;o=C[k>>2];k=C[k+4>>2];m=d+(c|40)|0;q=C[m>>2];m=C[m+4>>2];p=d+(c|24)|0;c=c+d|0;f=f+C[c+12>>2]|0;c=e+C[c+8>>2]|0;e=C[p+4>>2]+(c>>>0>>0?f+1|0:f)|0;f=c+C[p>>2]|0;e=(f>>>0>>0?e+1|0:e)+m|0;c=f+q|0;f=(c>>>0>>0?e+1|0:e)+k|0;e=c+o|0;f=e>>>0>>0?f+1|0:f;b=b+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!h){break n}while(1){c=d+(b<<4)|0;i=C[c+8>>2];f=f+C[c+12>>2]|0;c=e;e=e+i|0;f=c>>>0>e>>>0?f+1|0:f;b=b+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}C[a+80>>2]=e;C[a+84>>2]=f;break a}b=vh(n,g);if((b|0)!=-1){continue}break a}break}b=C[a+88>>2]}p:{q:{r:{s:{if((b|0)>=2){t:{u:{while(1){l=-2;Lg(a,g+32|0,-1,-1);if((Ee|0)<0){break a}H[a+104>>3]=H[a+104>>3]+ +(C[g+36>>2]<<3);b=C[a+88>>2];if((b|0)!=4){break t}e=C[g+32>>2];if(C[a+92>>2]==(D[e+14|0]|D[e+15|0]<<8|(D[e+16|0]<<16|D[e+17|0]<<24))){break u}if(!(D[C[g+32>>2]+5|0]&2)){continue}break}Jh(h);ri(c);C[a+88>>2]=2;if(C[a+4>>2]){break s}Qk(C[a+72>>2]);vm(C[a+76>>2])}b=C[a+88>>2];if((b|0)==4){break p}}if((b|0)>2){break p}}if(!C[a+4>>2]){break r}}e=C[g+32>>2];e=D[e+14|0]|D[e+15|0]<<8|(D[e+16|0]<<16|D[e+17|0]<<24);f=C[a+52>>2];if((f|0)<=0){b=0;break q}d=C[a+64>>2];b=0;while(1){if((e|0)==C[d+(b<<2)>>2]){break q}b=b+1|0;if((f|0)!=(b|0)){continue}break}continue}l=ap(a,C[a+72>>2],C[a+76>>2],0,0,g+32|0);if(l){break a}C[a+92>>2]=C[a+456>>2];C[a+96>>2]=C[a+96>>2]+1;break p}if((b|0)==(f|0)){continue}C[a+96>>2]=b;C[a+92>>2]=e;Pi(n,e);C[a+88>>2]=3}Th(n,g+32|0);continue}break}l=-137}Ce=g+48|0;return l}function yt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=C[b+4>>2];if(k>>>0>a>>>0){return 0}f=C[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=C[b+12>>2];e=i-2|0;C[b+12>>2]=e;d=1;if((e|0)<=0){return 0}e=D[a|0]|D[a+1|0]<<8;a:{if(!e){break a}b:{h=k;k=((e<<8|e>>>8)&65535)+c|0;if(h>>>0>k>>>0|f>>>0>>0|f-k>>>0<2){break b}c=i-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}e=D[k|0]|D[k+1|0]<<8;if(!e){break a}d=k+2|0;if(d>>>0>f>>>0){break b}h=f-d|0;d=(e<<8|e>>>8)&65535;f=I(d,6);if(h>>>0>>0){break b}c=c-f|0;C[b+12>>2]=c;if((c|0)<=0){break b}s=d>>>0<=1?1:d;while(1){p=Ce-16|0;Ce=p;c=(k+I(q,6)|0)+2|0;c:{if(c>>>0>2]){f=0;break c}d=C[b+8>>2];if(d>>>0>>0){f=0;break c}if(d-c>>>0<6){f=0;break c}f=C[b+12>>2];e=f-6|0;C[b+12>>2]=e;if((e|0)<=0){f=0;break c}o=c+4|0;if(d>>>0>>0){f=0;break c}if(d-o>>>0<2){f=0;break c}c=f-8|0;C[b+12>>2]=c;f=1;if((c|0)<=0){f=0;break c}d=D[o|0]|D[o+1|0]<<8;if(!d){break c}g=C[b+4>>2];e=k+((d<<8|d>>>8)&65535)|0;c=0;d:{if(g>>>0>e>>>0){break d}i=C[b+8>>2];c=0;if(i>>>0>>0){break d}c=0;if(i-e>>>0<2){break d}j=C[b+12>>2];m=j-2|0;C[b+12>>2]=m;d=1;c=0;if((m|0)<=0){break d}c=D[e|0]|D[e+1|0]<<8;e:{if(!c){break e}c=e+((c<<8|c>>>8)&65535)|0;f:{if(c>>>0>>0|c>>>0>i>>>0|i-c>>>0<6){break f}d=j-8|0;C[b+12>>2]=d;if((d|0)<=0){break f}g=c+4|0;if(g>>>0>i>>>0|i-g>>>0<2){break f}j=j-10|0;C[b+12>>2]=j;d=1;if((j|0)<=0){break f}g=D[g|0]|D[g+1|0]<<8;if(!g){break e}c=c+6|0;if(c>>>0>i>>>0){break f}h=i-c|0;c=((g<<8|g>>>8)&65535)<<1;if(h>>>0>>0){break f}c=j-c|0;C[b+12>>2]=c;if((c|0)>0){break e}}d=C[b+28>>2];c=0;if(d>>>0>31){break d}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break e}A[e|0]=0;A[e+1|0]=0;d=1}c=d}if(c){C[p+12>>2]=e;d=0;j=Ce-16|0;Ce=j;i=e+2|0;g:{if(i>>>0>2]){break g}c=C[b+8>>2];if(c>>>0>>0|c-i>>>0<2){break g}e=C[b+12>>2]-2|0;C[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break g}g=D[i|0]|D[i+1|0]<<8;if(!g){break g}d=i+2|0;if(d>>>0>c>>>0){d=0;break g}h=c-d|0;c=(g<<8|g>>>8)&65535;d=I(c,6);if(h>>>0>>0){d=0;break g}e=e-d|0;C[b+12>>2]=e;d=0;if((e|0)<=0){break g}t=c>>>0<=1?1:c;m=0;while(1){e=i+I(m,6)|0;c=e+2|0;d=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);l=C[p+12>>2];C[j+12>>2]=l;C[j+8>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);h:{i:{if(c>>>0>2]){break i}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<=5){break i}c=C[b+12>>2]-6|0;C[b+12>>2]=c;if((c|0)>0){break h}}d=0;break g}C[j+4>>2]=j+8;r=C[b+4>>2];g=e+6|0;h=0;j:{if(r>>>0>g>>>0){break j}e=C[b+8>>2];h=0;if(e>>>0>>0){break j}h=0;if(e-g>>>0<2){break j}n=C[b+12>>2];c=n-2|0;C[b+12>>2]=c;d=1;h=0;if((c|0)<=0){break j}c=D[g|0]|D[g+1|0]<<8;k:{if(!c){break k}c=l+((c<<8|c>>>8)&65535)|0;l:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<6){break l}d=n-8|0;C[b+12>>2]=d;if((d|0)<=0){break l}l=c+4|0;if(l>>>0>e>>>0|e-l>>>0<2){break l}n=n-10|0;C[b+12>>2]=n;d=1;if((n|0)<=0){break l}l=D[l|0]|D[l+1|0]<<8;if(!l){break k}c=c+6|0;if(c>>>0>e>>>0){break l}h=e-c|0;c=((l<<8|l>>>8)&65535)<<1;if(h>>>0>>0){break l}c=n-c|0;C[b+12>>2]=c;if((c|0)>0){break k}}d=C[b+28>>2];h=0;if(d>>>0>31){break j}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break k}A[g|0]=0;A[g+1|0]=0;d=1}h=d}d=h;if(!d){break g}m=m+1|0;if((t|0)!=(m|0)){continue}break}}Ce=j+16|0;if(d){break c}}c=C[b+28>>2];if(c>>>0>31){f=0;break c}C[b+28>>2]=c+1;f=0;if(!D[b+24|0]){break c}A[o|0]=0;A[o+1|0]=0;f=1}Ce=p+16|0;if(!f){break b}d=1;q=q+1|0;if((s|0)!=(q|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;d=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;d=1}return d}function dQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=Ce-160|0;Ce=k;a:{b:{if(cf(a,24448,13)){break b}c:{switch(D[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}h=C[e+32>>2];d:{e:{f:{g:{if(!h|!C[h+72>>2]){break g}b=C[h+128>>2];a=C[b+12>>2];b=C[b+4>>2];c=a+(1895527114%(b>>>0)<<2)|0;f=C[c>>2];if(!f){break g}b=(a+(b<<2)|0)-4|0;while(1){h:{f=C[f>>2];if(D[f|0]==70){if(!Se(f,23482)){break h}}c=c-4|0;c=a>>>0>c>>>0?b:c;f=C[c>>2];if(f){continue}break g}break}if(C[h+80>>2]){break f}}a=B[h+12>>1];C[h+40>>2]=a;C[k+16>>2]=a;a=k+32|0;jm(a,k+16|0);f=sj(C[e+32>>2],23482,a);if(f){break a}h=C[e+32>>2];B[h+278660>>1]=1;if(!C[h+72>>2]){break e}}b=C[h+128>>2];a=C[b+12>>2];b=C[b+4>>2];c=a+(908209322%(b>>>0)<<2)|0;f=C[c>>2];if(!f){break e}b=(a+(b<<2)|0)-4|0;while(1){i:{f=C[f>>2];if(D[f|0]==70){if(!Se(f,23437)){break i}}c=c-4|0;c=a>>>0>c>>>0?b:c;f=C[c>>2];if(f){continue}break e}break}if(C[h+80>>2]){break d}}a=B[h+14>>1];C[h+44>>2]=a;C[k>>2]=a;a=k+32|0;jm(a,k);f=sj(C[e+32>>2],23437,a);if(f){break a}B[C[e+32>>2]+278660>>1]=1}C[e>>2]=C[e>>2]&-17;C[d>>2]=840;f=0;break a}j:{if(cf(a,24462,21)){break j}switch(D[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(cf(a,23363,7)){break k}f=a+7|0;l:{switch(D[a+7|0]){case 9:case 10:case 13:case 32:A[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=sj(C[e+32>>2],a,f);break a}n=C[e+32>>2];f=a;m:{while(1){n:{d=-1;o:{p:{c=D[f|0];switch(c|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((c|0)==32){break n}}f=f+1|0;continue}break}A[f|0]=0;d=c}q:{if(!a){break q}l=D[a|0];if(!l){break q}o=C[n+278688>>2];c=l;g=a;while(1){h=(c<<24>>24)+I(h,31)|0;c=D[g+1|0];g=g+1|0;if(c){continue}break}c=h;h=C[n+278680>>2];g=o+((c>>>0)%(h>>>0)<<2)|0;c=C[g>>2];if(!c){break q}h=(o+(h<<2)|0)-4|0;while(1){r:{m=C[c>>2];if((l|0)==D[m|0]){if(!Se(m,a)){break r}}c=g-4|0;g=c>>>0>>0?h:c;c=C[g>>2];if(c){continue}break q}break}c=C[c+4>>2];if(c>>>0>=83){i=(C[n+278668>>2]+(c<<4)|0)-1328|0;break q}i=(c<<4)+211728|0}if((d|0)!=-1){A[f|0]=d;j=d}if(!(C[i+4>>2]!=1?i:0)){if(j&255){A[f|0]=0;f=f+1|0}g=a+b|0;while(1){b=D[f|0];if(!((b|0)!=32&(b|0)!=9)){f=f+1|0;continue}break}b=((b|0)==34)+f|0;s:{if(b>>>0>=g>>>0){break s}while(1){t:{u:{g=g-1|0;switch(D[g|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}A[g|0]=0;if(b>>>0>>0){continue}break s}break}A[g|0]=0}f=sj(C[e+32>>2],a,b);break a}d=e+139304|0;f=Ah(d,32174,a,b);if(f){break a}n=C[C[e+139304>>2]>>2];c=0;v:{w:{x:{b=C[e+139312>>2];switch(b|0){case 0:break v;case 1:break x;default:break w}}C[e+139312>>2]=0;break v}j=b-1|0;l=j&3;a=0;f=1;if(b-2>>>0>=3){o=j&-4;h=0;while(1){g=C[d>>2];b=c<<2;i=g+b|0;m=g;g=f<<2;C[i>>2]=C[m+g>>2];i=C[d>>2];C[i+(b|4)>>2]=C[(g+i|0)+4>>2];i=C[d>>2];C[i+(b|8)>>2]=C[(g+i|0)+8>>2];m=b|12;b=C[d>>2];C[m+b>>2]=C[(b+g|0)+12>>2];f=f+4|0;c=c+4|0;h=h+4|0;if((o|0)!=(h|0)){continue}break}}if(l){while(1){b=C[d>>2];C[b+(c<<2)>>2]=C[b+(f<<2)>>2];f=f+1|0;c=c+1|0;a=a+1|0;if((l|0)!=(a|0)){continue}break}}C[e+139312>>2]=j;if(!j){c=0;break v}b=C[C[d>>2]>>2];f=0;a=0;while(1){c=C[C[d>>2]+(a<<2)>>2];g=D[c|0];if(g){while(1){A[b+f|0]=g;f=f+1|0;g=D[c+1|0];c=c+1|0;if(g){continue}break}j=C[e+139312>>2]}a=a+1|0;if(j>>>0>a>>>0){A[b+f|0]=32;j=C[e+139312>>2];f=f+1|0}if(a>>>0>>0){continue}break}c=213056;if((b|0)==213056){break v}A[b+f|0]=0;c=b}f=sj(C[e+32>>2],n,c)}Ce=k+160|0;return f|0}function HC(a){a=a|0;var 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;e=Ce-16|0;Ce=e;o=C[a+36>>2];b=C[a+20>>2];p=C[a+16>>2];c=C[a>>2];h=C[a+28>>2];k=C[a+24>>2];d=C[a+40>>2];m=D[d+9|0];f=C[a+44>>2];n=D[f+9|0];a:{if(!((m|0)!=4|(n|0)!=4|(C[d>>2]==372711428|C[f>>2]==372711428))){zi(d,f,e+12|0,e+8|0,e+4|0,e,0);if(!h){break a}l=k&7;k=(k+7|0)/8|0;b:while(1){h=h-1|0;g=k;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[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=1;continue;case 1:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=2;continue;case 2:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=3;continue;case 3:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=4;continue;case 4:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=5;continue;case 5:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=6;continue;case 6:A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];b=b+4|0;c=c+4|0;a=7;continue;default:break e}}A[b|0]=D[C[e+12>>2]+c|0];A[b+1|0]=D[C[e+8>>2]+c|0];A[b+2|0]=D[C[e+4>>2]+c|0];A[b+3|0]=D[C[e>>2]+c|0];a=g-1|0;b=b+4|0;c=c+4|0;f:{if((g|0)>1){g=a;break f}b=b+o|0;c=c+p|0;if(h){continue b}break a}a=0;continue}}}if(!h){break a}q=n-1|0;while(1){h=h-1|0;l=k;if(k){while(1){a=0;g=0;i=0;j=0;g:{h:{switch(m-1|0){case 0:a=D[c|0];j=D[C[(D[d+31|0]<<2)+382144>>2]+((a&C[d+24>>2])>>>D[d+35|0]|0)|0];i=D[C[(D[d+30|0]<<2)+382144>>2]+((a&C[d+20>>2])>>>D[d+34|0]|0)|0];g=D[C[(D[d+29|0]<<2)+382144>>2]+((a&C[d+16>>2])>>>D[d+33|0]|0)|0];a=D[C[(D[d+28|0]<<2)+382144>>2]+((a&C[d+12>>2])>>>D[d+32|0]|0)|0];break g;case 1:a=E[c>>1];j=D[C[(D[d+31|0]<<2)+382144>>2]+((a&C[d+24>>2])>>>D[d+35|0]|0)|0];i=D[C[(D[d+30|0]<<2)+382144>>2]+((a&C[d+20>>2])>>>D[d+34|0]|0)|0];g=D[C[(D[d+29|0]<<2)+382144>>2]+((a&C[d+16>>2])>>>D[d+33|0]|0)|0];a=D[C[(D[d+28|0]<<2)+382144>>2]+((a&C[d+12>>2])>>>D[d+32|0]|0)|0];break g;case 2:i=D[(D[d+34|0]>>>3|0)+c|0];g=D[(D[d+33|0]>>>3|0)+c|0];a=D[(D[d+32|0]>>>3|0)+c|0];j=255;break g;case 3:break h;default:break g}}a=C[c>>2];j=D[C[(D[d+31|0]<<2)+382144>>2]+((a&C[d+24>>2])>>>D[d+35|0]|0)|0];i=D[C[(D[d+30|0]<<2)+382144>>2]+((a&C[d+20>>2])>>>D[d+34|0]|0)|0];g=D[C[(D[d+29|0]<<2)+382144>>2]+((a&C[d+16>>2])>>>D[d+33|0]|0)|0];a=D[C[(D[d+28|0]<<2)+382144>>2]+((a&C[d+12>>2])>>>D[d+32|0]|0)|0]}i:{j:{switch(q|0){case 0:A[b|0]=g>>>D[f+29|0]<>>D[f+28|0]<>>D[f+30|0]<>>D[f+31|0]<>1]=g>>>D[f+29|0]<>>D[f+28|0]<>>D[f+30|0]<>>D[f+31|0]<>>3|0)+b|0]=a;A[(D[f+33|0]>>>3|0)+b|0]=g;A[(D[f+34|0]>>>3|0)+b|0]=i;break i;case 3:break j;default:break i}}C[b>>2]=g>>>D[f+29|0]<>>D[f+28|0]<>>D[f+30|0]<>>D[f+31|0]<>2];f=Ce-48|0;Ce=f;j=b;b=bf(b,c);a:{if(b){break a}b=jg(j,f+16|0,16);if(b){break a}b=C[f+16>>2];i=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+c|0;C[g+20>>2]=i;b=2;h=C[f+20>>2];k=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!k){break a}c=c+k|0;h=C[f+24>>2];if((c|0)!=(i+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0)){break a}b=bf(j,c);if(b){break a}A[f+15|0]=D[f+31|0]+1;b=jg(j,f,16);if(b){break a}t=D[f|0];u=D[f+1|0];v=D[f+2|0];w=D[f+3|0];x=D[f+4|0];y=D[f+5|0];z=D[f+6|0];h=D[f+7|0];i=D[f+8|0];k=D[f+9|0];n=D[f+10|0];o=D[f+11|0];p=D[f+12|0];q=D[f+13|0];B=D[f+15|0];E=D[f+14|0];if(t|(u|(v|(w|(x|(y|(z|(h|(i|(k|(n|(o|(p|(q|(B|E))))))))))))))){b=2;if(!(D[f+31|0]==(B|0)&D[f+30|0]==(E|0)&D[f+29|0]==(q|0)&D[f+28|0]==(p|0)&D[f+27|0]==(o|0)&D[f+26|0]==(n|0)&D[f+25|0]==(k|0)&D[f+24|0]==(i|0)&D[f+23|0]==(h|0)&(z|0)==D[f+22|0]&(y|0)==D[f+21|0]&(x|0)==D[f+20|0]&(w|0)==D[f+19|0]&(v|0)==D[f+18|0]&(u|0)==D[f+17|0]&(t|0)==D[f+16|0])){break a}}F=f,G=ng(j,8),C[F+44>>2]=G;h=$f(j,f+44|0);b=C[f+44>>2];if(b){break a}c=c+h|0;b=bf(j,c);if(b){break a}C[g+24>>2]=c;b=0}Ce=f+48|0;c=b;b:{if(b){break b}c=1;c:{if(!Rx(a,j,C[g+24>>2],C[g+20>>2],1347375956,1,g+16|0,g+12|0)){o=C[g+12>>2];q=C[g+16>>2];C[g+28>>2]=1;d:{if(d+1>>>0>1){break d}c=10;if((o|0)<=0){break d}p=C[a>>2];while(1){c=bf(j,C[q+(l<<2)>>2]);C[g+28>>2]=c;if(c){break d}b=cg(j,g+28|0);c=C[g+28>>2];if(c){break d}c=9;if((b|0)<0|-7-b>>>0>>0){break d}r=(b+r|0)+6|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}c=10;n=r+2|0;if(n>>>0<6){break d}i=hf(p,n,g+28|0);c=C[g+28>>2];if(c){break d}A[i+2|0]=0;A[i+3|0]=0;A[i+4|0]=0;A[i+5|0]=0;A[i|0]=128;A[i+1|0]=1;d=1;b=6;e:{f:{g:{h:{if((o|0)<=0){k=2;break h}k=2;c=0;while(1){f=bf(j,C[q+(c<<2)>>2]);C[g+28>>2]=f;if(f){break f}f=cg(j,g+28|0);if(C[g+28>>2]|(f|0)<0){break f}h=$f(j,g+28|0);if(C[g+28>>2]){break f}C[g+28>>2]=10;if(h>>>0>=256){l=f-2|0;f=f>>>0>=l>>>0?l:0;l=h>>>8|0;i:{if((l|0)==(d|0)){h=b;b=f+m|0;break i}h=k+3|0;if(h>>>0>n>>>0){break g}d=i+k|0;A[d|0]=m;A[d+2|0]=m>>>16;A[d+1|0]=m>>>8;A[i+h|0]=m>>>24;if((l|0)==5){break h}h=b+6|0;if(n>>>0>>0){break g}d=b+i|0;A[d|0]=128;k=b+2|0;b=i+k|0;A[b|0]=0;A[b+1|0]=0;A[b+2|0]=0;A[b+3|0]=0;A[d+1|0]=l;d=l;b=f}m=b;if(h>>>0>r>>>0){break g}b=f+h|0;if(r>>>0>>0){break g}f=jg(j,i+h|0,f);C[g+28>>2]=f;if(f){break f}}c=c+1|0;if((o|0)!=(c|0)){continue}break}}C[g+28>>2]=10;c=b+2|0;if(c>>>0>n>>>0){break f}b=b+i|0;A[b|0]=128;A[b+1|0]=3;d=k+3|0;if(d>>>0>n>>>0){break g}b=i+k|0;A[b|0]=m;A[b+2|0]=m>>>16;A[b+1|0]=m>>>8;A[d+i|0]=m>>>24;c=Zp(a,i,c,0,29664,e);break d}if(!C[g+28>>2]){break e}}C[g+28>>2]=1}if(i){Fe[C[p+8>>2]](p,i)}c=C[g+28>>2]}a=C[g+16>>2];if(a){Fe[C[s+8>>2]](s,a)}if(c){break b}a=1;break c}c=Rx(a,j,C[g+24>>2],C[g+20>>2],1936092788,0,g+16|0,g+12|0);if(c){break b}c=1;b=d;d=C[g+12>>2];b=(b|0)%(d|0)|0;b=(b|0)!=-1?b:0;j:{if((b|0)>=(d|0)){break j}m=C[a>>2];f=C[C[g+16>>2]+(b<<2)>>2];c=bf(j,f);C[g+28>>2]=c;if(c){break j}d=cg(j,g+28|0);c=C[g+28>>2];if(c){break j}c=1;if((d|0)==-1){break j}b=by(a,j,b,e);C[g+28>>2]=b;if(!b){c=0;break j}if(bf(j,f+4|0)){c=C[g+28>>2];break j}b=hf(m,d,g+28|0);c=C[g+28>>2];if(c){break j}c=jg(j,b,d);C[g+28>>2]=c;if(c){break j}c=Zp(a,b,d,0,(d|0)<5?16802:(D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24))==1330926671?15672:16802,e)}a=C[g+16>>2];if(a){Fe[C[s+8>>2]](s,a)}if(c){break b}a=C[g+12>>2]}C[C[e>>2]>>2]=a;c=0}Ce=g+32|0;return c}function mk(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;g=Ce+-64|0;Ce=g;q=C[a>>2];l=C[a+40>>2];h=C[a+36>>2];A[g+47|0]=0;A[g+48|0]=0;A[g+49|0]=0;A[g+50|0]=0;A[g+51|0]=0;A[g+52|0]=0;A[g+53|0]=0;A[g+54|0]=0;C[g+40>>2]=0;C[g+44>>2]=0;C[g+32>>2]=0;C[g+36>>2]=0;C[g+16>>2]=0;C[g+24>>2]=0;C[g+28>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;d=I(b,1468)+a|0;o=d;C[d+44>>2]=0;c=C[d+68>>2];d=C[a+28>>2];i=C[a+24>>2];j=d+I(i,40)|0;a:{if(!b){if((i|0)<=0){break a}while(1){C[d+24>>2]=B[d+12>>1];C[d+28>>2]=B[d+14>>1];d=d+40|0;if(j>>>0>d>>>0){continue}break}break a}if((i|0)<=0){break a}while(1){C[d+24>>2]=B[d+14>>1];C[d+28>>2]=B[d+12>>1];d=d+40|0;if(j>>>0>d>>>0){continue}break}}b:{if((h|0)<=0){break b}u=(h<<2)+l|0;k=I(b,1468)+a|0;p=k+72|0;d=c>>31;m=(d^c)-d|0;r=m;while(1){h=C[l>>2];d=C[h+36>>2];c:{if((d|0)==(h|0)){break c}c=A[d+3|0];d=c>>31;d:{if(((c^d)-d|0)!=(m|0)){break d}d=h;f=A[d+3|0];c=f>>31;if(((c^f)-c|0)!=(m|0)){break d}while(1){d=C[d+36>>2];f=A[d+3|0];c=f>>31;if(((c^f)-c|0)!=(m|0)){h=C[d+32>>2];break d}if((d|0)!=(h|0)){continue}break}}c=0;i=-32e3;f=32e3;d=h;s=0;while(1){j=1;e:{if(!c){break e}c=C[d+24>>2];i=(c|0)>(i|0)?c:i;f=(c|0)<(f|0)?c:f;if(!((d|0)==(h|0)|A[d+3|0]!=(r|0))){j=0;break e}C[e+44>>2]=d;B[e+2>>1]=f+i>>>1;c=C[e+40>>2];if((E[d>>1]|E[c>>1])&3){A[e|0]=D[e|0]|1}c=C[c+28>>2];f=C[d+28>>2];i=(c|0)>(f|0)?c:f;B[e+6>>1]=i;f=(c|0)<(f|0)?c:f;B[e+4>>1]=f;B[e+8>>1]=i-f;e=0}if((d|0)==(h|0)){c=s;s=1;if(c){break c}}n=1;f:{if(!j){break f}j=A[d+3|0];c=j>>31;n=0;if(((c^j)-c|0)!=(m|0)){break f}C[g+60>>2]=0;e=C[o+44>>2];g:{if((e|0)<=17){if(C[k+52>>2]){break g}C[k+52>>2]=p;C[k+48>>2]=18;break g}c=C[k+48>>2];if((c|0)>(e|0)){break g}if((c|0)>44739241){f=64;break b}h:{if((c|0)>=-16){e=(c+(c>>2)|0)+4|0;if((e|0)<44739243){break h}}e=44739242}f=C[k+52>>2];i:{if((f|0)==(p|0)){c=Ve(q,48,0,e,0,g+60|0);C[k+52>>2]=c;f=C[g+60>>2];if(f){break b}t(c,p,864);break i}v=k,w=Ve(q,48,c,e,f,g+60|0),C[v+52>>2]=w;f=C[g+60>>2];if(f){break b}}C[k+48>>2]=e;e=C[o+44>>2]}c=C[k+52>>2];C[o+44>>2]=e+1;e=c+I(e,48)|0;A[e|0]=0;c=C[g+28>>2];f=C[g+24>>2];A[e+1|0]=f;A[e+2|0]=f>>>8;A[e+3|0]=f>>>16;A[e+4|0]=f>>>24;A[e+5|0]=c;A[e+6|0]=c>>>8;A[e+7|0]=c>>>16;A[e+8|0]=c>>>24;c=C[g+36>>2];f=C[g+32>>2];A[e+9|0]=f;A[e+10|0]=f>>>8;A[e+11|0]=f>>>16;A[e+12|0]=f>>>24;A[e+13|0]=c;A[e+14|0]=c>>>8;A[e+15|0]=c>>>16;A[e+16|0]=c>>>24;c=C[g+44>>2];f=C[g+40>>2];A[e+17|0]=f;A[e+18|0]=f>>>8;A[e+19|0]=f>>>16;A[e+20|0]=f>>>24;A[e+21|0]=c;A[e+22|0]=c>>>8;A[e+23|0]=c>>>16;A[e+24|0]=c>>>24;c=D[g+51|0]|D[g+52|0]<<8|(D[g+53|0]<<16|D[g+54|0]<<24);f=D[g+47|0]|D[g+48|0]<<8|(D[g+49|0]<<16|D[g+50|0]<<24);A[e+24|0]=f;A[e+25|0]=f>>>8;A[e+26|0]=f>>>16;A[e+27|0]=f>>>24;A[e+28|0]=c;A[e+29|0]=c>>>8;A[e+30|0]=c>>>16;A[e+31|0]=c>>>24;C[e+32>>2]=32e3;c=C[g+12>>2];C[e+36>>2]=C[g+8>>2];C[e+40>>2]=c;C[e+44>>2]=C[g+16>>2];A[e+1|0]=j;f=C[d+24>>2];C[e+44>>2]=d;C[e+40>>2]=d;i=f;r=j;n=1}c=n;d=C[d+32>>2];continue}}l=l+4|0;if(u>>>0>l>>>0){continue}break}f=0;h=C[o+44>>2];if((h|0)<=0){break b}d=C[(I(b,1468)+a|0)+52>>2];i=d+I(h,48)|0;while(1){b=C[d+40>>2];a=C[C[b+36>>2]+28>>2];b=C[b+28>>2];c=C[d+44>>2];h=C[c+28>>2];j:{k:{if((b|0)<(h|0)){if((a|0)<(b|0)){B[d+8>>1]=E[d+8>>1]+(b-a>>>1|0)}a=C[C[c+32>>2]+28>>2];if((a|0)<=(h|0)){break j}a=a-h|0;break k}if((a|0)>(b|0)){B[d+8>>1]=E[d+8>>1]+(a-b>>>1|0)}a=C[C[c+32>>2]+28>>2];if((a|0)>=(h|0)){break j}a=h-a|0}B[d+8>>1]=E[d+8>>1]+(a>>>1|0)}d=d+48|0;if(i>>>0>d>>>0){continue}break}}Ce=g- -64|0;return f}function jw(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,o=0,p=0;g=Ce-16|0;Ce=g;C[b+12>>2]=0;C[b>>2]=c;h=c+d|0;C[b+8>>2]=h;Fe[C[b+28>>2]](b);c=C[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+460|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=D[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)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(D[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)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(D[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(cf(c,17389,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Fe[C[b+32>>2]](b);e=1;l=c;if(!C[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|D[c+1|0]!=68){break d}C[b>>2]=l;e=C[C[a+128>>2]+48>>2];d=C[b+8>>2];Fe[C[b+28>>2]](b);n:{c=C[b>>2];o:{if(c>>>0>=d>>>0|D[c|0]-48>>>0>9){break o}c=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((c|0)<0){break o}f=d;d=C[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}C[b>>2]=(c+d|0)+1;e=0;if(!C[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|D[c+1|0]!=124){break d}C[b>>2]=l;e=C[C[a+128>>2]+48>>2];d=C[b+8>>2];Fe[C[b+28>>2]](b);p:{c=C[b>>2];q:{if(c>>>0>=d>>>0|D[c|0]-48>>>0>9){break q}c=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((c|0)<0){break q}f=d;d=C[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}C[b>>2]=(c+d|0)+1;e=0;if(!C[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;C[b>>2]=i;Fe[C[b+32>>2]](b);if(C[b+12>>2]){break b}e=0;c=C[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=D[i|0];c=286416;f=12322;while(1){d=c;r:{if(D[f|0]!=(p|0)){break r}if((af(f)|0)!=(j|0)){break r}if(Jg(i,f,j)){break r}c=C[b+372>>2];if(!(C[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(Se(f,7471)){break c}}f=C[a+528>>2];if(f){c=C[f>>2]?f:0}else{c=0}i=C[d+8>>2];s:{if((i|0)==11){Fe[C[d+12>>2]](a,b);c=C[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(C[d+4>>2]-2|0){case 1:C[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:C[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:C[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:C[g+12>>2]=b;e=g+12|0;break u;case 5:C[g+12>>2]=a;e=g+12|0;break u;case 6:C[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}C[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=C[e>>2];c=C[c>>2]}if(f){break t}break g}C[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Fe[C[b+68>>2]](b,d,e,c,0)|0;break s}c=Fe[C[b+64>>2]](b,d,e,c,0)|0}C[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=C[d+36>>2];if(f){continue}break}break c}if(!cf(c,21660,5)){break b}break d}e=0;C[b+12>>2]=0;break c}C[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(D[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 A;default:break d}}if(cf(c,1076,13)){break d}d=C[b+372>>2];if(d&1){C[b+372>>2]=d|2}C[b>>2]=c+13;break c}Fe[C[b+32>>2]](b);e=0;if(C[b+12>>2]){break b}}Fe[C[b+28>>2]](b);c=C[b>>2];if(h>>>0>c>>>0){continue}break}}c=C[b+12>>2]}Ce=g+16|0;return c}function rK(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0;d=Ce-16|0;Ce=d;k=C[b+16>>2];m=C[b+8>>2];n=C[a+488>>2];a:{b:{e=Fe[C[b+36>>2]](b)|0;if((e|0)<0){c=3;break b}if(C[b+12>>2]|!e){break a}i=b+260|0;l=b+156|0;j=b+208|0;if(!C[b+152>>2]){f=e+6|0;c=Fe[C[C[n>>2]>>2]](j,f,k)|0;if(c){break b}c=Fe[C[C[n>>2]>>2]](l,f,k)|0;if(c){break b}c=Fe[C[C[n>>2]>>2]](i,4,k)|0;C[d+12>>2]=c;if(c){break b}}Fe[C[b+28>>2]](b);c:{c=C[b>>2];if(m>>>0<=c>>>0){C[b+152>>2]=0;break c}u=e+5|0;d:{while(1){e:{f:{if(c+3>>>0>=m>>>0){break f}g:{switch(D[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(D[c|0]-100|0){case 0:if(!g|(D[c+1|0]!=101|D[c+2|0]!=102)){break f}break e;case 1:break h;default:break f}}if(D[c+1|0]!=110){break f}if(D[c+2|0]==100){break e}}Fe[C[b+32>>2]](b);h=C[b>>2];if(h>>>0>=m>>>0){c=3;break b}if(C[b+12>>2]){break a}i:{if(D[c|0]!=47){break i}if(c+2>>>0>=m>>>0){C[d+12>>2]=3;break d}o=C[C[a+128>>2]+48>>2];f=C[b+8>>2];Fe[C[b+28>>2]](b);j:{e=C[b>>2];k:{if(e>>>0>=f>>>0|D[e|0]-48>>>0>9){break k}e=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((e|0)<0){break k}q=f;r=C[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break j}}if(o){break a}C[b+12>>2]=3;break a}C[b>>2]=(e+r|0)+1;if(C[b+12>>2]){break a}if(C[b+152>>2]){break i}c=c+1|0;h=h-c|0;o=Fe[C[b+200>>2]](l,g,c,h+1|0)|0;C[d+12>>2]=o;if(o){break d}q=h;h=g<<2;A[q+C[h+C[b+180>>2]>>2]|0]=0;if(D[c|0]==46){c=Se(15690,C[h+C[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=C[a+172>>2];l:{if(!((c|0)<0|(g|0)>=(u|0))){if(c>>>0>=e>>>0){C[d+12>>2]=3;c=C[d+12>>2];break b}c=hf(k,e,d+12|0);if(C[d+12>>2]){break d}t(c,f,e);Fe[C[n+16>>2]](c,e,4330);f=C[a+172>>2];v=d,w=Fe[C[b+252>>2]](j,g,f+c|0,e-f|0)|0,C[v+12>>2]=w;if(c){Fe[C[k+8>>2]](k,c)}c=C[d+12>>2];break l}c=Fe[C[b+252>>2]](j,g,f,e)|0;C[d+12>>2]=c}if(c){break d}g=g+1|0}Fe[C[b+28>>2]](b);c=C[b>>2];if(m>>>0>c>>>0){continue}}break}C[b+152>>2]=g;if(!(s&255)){break c}a=C[C[b+180>>2]>>2];if(!Se(15690,a)){break a}c=Fe[C[b+304>>2]](i,0,a,C[C[b+184>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+304>>2]](i,1,C[C[b+232>>2]>>2],C[C[b+236>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}a=p<<2;c=Fe[C[b+304>>2]](i,2,C[a+C[b+180>>2]>>2],C[a+C[b+184>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+304>>2]](i,3,C[a+C[b+232>>2]>>2],C[a+C[b+236>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,p,C[C[b+284>>2]>>2],C[C[b+288>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,p,C[C[b+284>>2]+4>>2],C[C[b+288>>2]+4>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,0,C[C[b+284>>2]+8>>2],C[C[b+288>>2]+8>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,0,C[C[b+284>>2]+12>>2],C[C[b+288>>2]+12>>2])|0;if(!c){break a}break b}c=C[d+12>>2];break b}A[d+8|0]=D[288112];C[d+4>>2]=D[288108]|D[288109]<<8|(D[288110]<<16|D[288111]<<24);c=Fe[C[b+304>>2]](i,0,C[C[b+180>>2]>>2],C[C[b+184>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+304>>2]](i,1,C[C[b+232>>2]>>2],C[C[b+236>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,0,15690,8)|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,0,d+4|0,5)|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+200>>2]](l,g,C[C[b+284>>2]>>2],C[C[b+288>>2]>>2])|0;C[d+12>>2]=c;if(c){break b}c=Fe[C[b+252>>2]](j,g,C[C[b+284>>2]+4>>2],C[C[b+288>>2]+4>>2])|0;if(c){break b}C[b+152>>2]=C[b+152>>2]+1;break a}C[b+12>>2]=c}Ce=d+16|0}function zs(a,b,c,d,e,f){var 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,A=0,B=0,F=0,G=0,H=0,J=0;h=Ce-32|0;Ce=h;if(!(e-d>>>0<2|d>>>0>=e>>>0)){F=C[c+92>>2];while(1){l=I(d,20);a:{if(1<>1]&7168){o=d;break a}g=d+1|0;i=e>>>0>g>>>0?e:g;k=i-1|0;j=d;while(1){b:{o=j;j=j+1|0;if(j>>>0>=e>>>0){o=k;j=i;break b}if(1<>1]&7168){continue}}break}if(j-d>>>0>=2){Sf(c,d,j)}i=C[l+C[c+92>>2]>>2];C[h+8>>2]=0;C[h+12>>2]=0;C[h>>2]=0;C[h+4>>2]=0;k=i;i=C[b+72>>2];if(!(Fe[C[i+200>>2]](b,C[b+76>>2],k,h,C[i- -64>>2])|0)){if(g>>>0>=j>>>0){break a}j=C[c+92>>2];if(!f){if(o-d&1){i=I(g,20);if((E[(i+j|0)+16>>1]&31)==12){i=i+C[c+100>>2]|0;C[i>>2]=0;C[i+4>>2]=0}g=d+2|0}if((d+1|0)==(o|0)){break a}while(1){d=I(g,20);if((E[(d+j|0)+16>>1]&31)==12){d=d+C[c+100>>2]|0;C[d>>2]=0;C[d+4>>2]=0}d=g+1|0;i=I(d,20);if((E[(i+j|0)+16>>1]&31)==12){i=i+C[c+100>>2]|0;C[i>>2]=0;C[i+4>>2]=0}g=g+2|0;if((d|0)!=(o|0)){continue}break}break a}while(1){d=I(g,20);if((E[(d+j|0)+16>>1]&31)==12){d=d+C[c+100>>2]|0;i=C[d+4>>2];C[d+4>>2]=0;k=C[d>>2];C[d>>2]=0;C[d+8>>2]=C[d+8>>2]-k;C[d+12>>2]=C[d+12>>2]-i}d=(g|0)==(o|0);g=g+1|0;if(!d){continue}break}break a}d=C[(l+C[c+100>>2]|0)+12>>2];s=0;C[h>>2]=0;C[h+4>>2]=d+C[h+4>>2];d=C[b+72>>2];i=Fe[C[d+168>>2]](b,C[b+76>>2],C[l+C[c+92>>2]>>2],C[d+32>>2])|0;C[h+8>>2]=i;t=0;if((C[c+52>>2]&-3)==4){d=l+C[c+100>>2]|0;s=0-C[d+4>>2]|0;t=0-C[d>>2]|0}if(g>>>0>=j>>>0){break a}G=C[c+92>>2];d=l+G|0;y=D[d+14|0];p=D[d+12|0]&4?y&16?y&15:1:1;H=-1;v=255;w=0;z=C[h>>2];u=z;A=C[h+4>>2];l=A;j=i;B=C[h+12>>2];k=B;while(1){J=g;x=I(g,20);g=G+x|0;d=E[g+16>>1];q=1<>>0<256)){m=g;d:{if(p>>>0<2){break d}g=D[g+14|0];n=g&16?0:g&15;n=y>>>0<32?p:(g^y)>>>0>31?p:n>>>0>p>>>0?p:n;g=n-1|0;if((g|0)==(H|0)){break d}B=C[h+12>>2];i=C[h+8>>2];A=C[h+4>>2];v=C[h>>2];e:{if(w){break e}w=C[a>>2];if((w&-2)==4){break e}w=Dr(C[a+4>>2]);d=E[m+16>>1];q=1<>>8|0:0;if((d|0)!=(v|0)){k=B;l=A;u=z;v=d;j=i}g=C[C[c+92>>2]+x>>2];C[h+24>>2]=0;C[h+28>>2]=0;C[h+16>>2]=0;C[h+20>>2]=0;m=g;g=C[b+72>>2];f:{if(!(Fe[C[g+200>>2]](b,C[b+76>>2],m,h+16|0,C[g- -64>>2])|0)){q=C[c+100>>2];break f}m=C[b+24>>2];q=C[c+100>>2];g=x+q|0;C[g+12>>2]=0;n=(m|0)/16|0;g:{h:{i:{j:{k:{d=d-200|0;switch(d|0){case 16:case 22:case 32:break h;case 0:case 18:case 28:break i;case 33:case 34:break k;default:break j}}l:{switch(C[c+52>>2]-4|0){case 0:r=((j+u|0)+(C[h+24>>2]/-2|0)|0)-C[h+16>>2]|0;break g;case 1:break l;default:break j}}r=((C[h+24>>2]/-2|0)+u|0)-C[h+16>>2]|0;break g}r=(u-C[h+16>>2]|0)+((j-C[h+24>>2]|0)/2|0)|0;break g}r=u-C[h+16>>2]|0;break g}r=j+u-(C[h+24>>2]+C[h+16>>2])|0}C[g+8>>2]=r;m:{switch(d|0){case 18:case 20:case 22:case 33:k=k-n|0;case 0:case 2:d=(k+l|0)-C[h+20>>2]|0;m=(m|0)<16^(d|0)>0;C[g+12>>2]=m?0:d;k=(C[h+28>>2]+k|0)-(m?d:0)|0;break f;case 28:case 30:case 32:case 34:k=k-n|0;l=l+n|0;break;case 14:case 16:break m;default:break f}}r=(m|0)<16;m=C[h+28>>2];d=l-(m+C[h+20>>2]|0)|0;if(!(r^(d|0)>0)){n=(d|0)/-2|0;d=n+d|0;l=l+n|0;k=k-n|0}C[g+12>>2]=d;k=k+m|0;l=l-m|0}d=q+x|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=C[d+8>>2]+t;C[d+12>>2]=C[d+12>>2]+s;break c}g=C[c+100>>2]+x|0;d=C[g+4>>2];g=C[g>>2];if((C[c+52>>2]&-3)==4){s=s-d|0;t=t-g|0;break c}s=d+s|0;t=g+t|0}g=J+1|0;if((o|0)!=(J|0)){continue}break}}d=o+1|0;if(e>>>0>d>>>0){continue}break}}Ce=h+32|0}function Ai(a,b,c,d,e){var f=0,g=0,h=0,i=J(0),j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=J(0),s=0,t=0;f=Ce-80|0;Ce=f;a:{b:{c:{if(!C[105691]|!a|(c|(b|0)==-1)){break c}if(!(A[422820]&1)){break c}rz(-1,-1,0,0,a,J(J(d|0)/J(C[a+24>>2])),J(J(e|0)/J(C[a+28>>2])));break b}p=(b|0)==-1;if((b|0)!=-1){break b}if(!C[105690]){break a}}d:{if(!C[105682]|p){break d}C[f>>2]=0;C[f+56>>2]=0;bi(a,f,f+56|0);j=C[f>>2]/2|0;C[f>>2]=j;l=C[f+56>>2]/2|0;C[f+56>>2]=l;if(!((d|0)!=(j|0)|(e|0)!=(l|0))){C[105677]=e;C[105676]=d;if(C[105683]){break d}break a}if(!a|!(D[a+49|0]&2)){break d}g=C[105665];if(g){Fe[g|0](a,j,l);break d}Ai(a,b,0,j,l)}e:{f:{g:{if(c){h:{if(C[105681]){i=G[105685];if(i==J(1)){break g}i=J(J(i*J(d|0))+G[105686]);G[105686]=i;r=G[105686];k=+i;k=i>=J(0)?O(k):P(k);i:{if(K(k)<2147483648){l=~~k;break i}l=-2147483648}G[105686]=r-J(l|0);i=G[105685];if(i==J(1)){j=e;break f}i=J(J(i*J(e|0))+G[105687]);G[105687]=i;k=+i;q=O(k);if(i>=J(0)){break h}q=P(k);break h}i=G[105684];if(i==J(1)){break g}i=J(J(i*J(d|0))+G[105686]);G[105686]=i;r=G[105686];k=+i;k=i>=J(0)?O(k):P(k);j:{if(K(k)<2147483648){l=~~k;break j}l=-2147483648}G[105686]=r-J(l|0);i=G[105684];if(i==J(1)){j=e;break f}i=J(J(i*J(e|0))+G[105687]);G[105687]=i;k=+i;q=O(k);if(i>=J(0)){break h}q=P(k)}k=q;i=G[105687];if(K(k)<2147483648){j=~~k}else{j=-2147483648}G[105687]=i-J(j|0);break f}j=e-C[105677]|0;l=d-C[105676]|0;break e}j=e;l=d}e=C[105677]+j|0;d=C[105676]+l|0}k:{if(!C[105680]){C[105680]=1;C[105673]=e;C[105672]=d;break k}if(!(j|l)){break a}}if(p){g=1;s=j;o=C[105696];if((o|0)>0){m=C[105697];g=0;if(o>>>0>=4){t=o&-4;while(1){j=g<<3;n=C[(m+(j|24)|0)+4>>2]|(C[(m+(j|16)|0)+4>>2]|(C[(m+(j|8)|0)+4>>2]|(C[(j+m|0)+4>>2]|n)));g=g+4|0;h=h+4|0;if((t|0)!=(h|0)){continue}break}}o=o&3;if(o){h=0;while(1){n=C[(m+(g<<3)|0)+4>>2]|n;g=g+1|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}g=!n}j=g?0:s;l=g?0:l}g=C[105681];C[105673]=g?C[105673]+j|0:e;C[105672]=g?C[105672]+l|0:d;if(!(!a|D[a+49|0]&64)){C[f+76>>2]=0;C[f+72>>2]=0;h=C[105780];l:{if(!h){Qe(19865,0);h=0;break l}if(!(C[a>>2]==(h+388|0)?a:0)){Qe(2168,0);h=0;break l}h=0;if(C[a+140>>2]<=0){break l}h=C[a+144>>2]>0?a+132|0:0}bi(a,f+76|0,f+72|0);m=C[f+76>>2];g=m-1|0;C[f+76>>2]=g;o=C[f+72>>2];C[f+72>>2]=o-1;a=0;n=0;m:{if(!h){break m}C[f+12>>2]=o;C[f+8>>2]=m;C[f>>2]=0;C[f+4>>2]=0;if(!yg(h,f,f+56|0)){g=C[f+76>>2];break m}a=C[f+56>>2];g=(a+C[f+64>>2]|0)-1|0;C[f+76>>2]=g;n=C[f+60>>2];C[f+72>>2]=(n+C[f+68>>2]|0)-1}h=C[105672];m=(g|0)>(h|0)?h:g;if(!((m|0)>=(a|0)&(g|0)>=(h|0))){C[105672]=(a|0)<(m|0)?m:a}h=C[105673];g=C[f+72>>2];a=(g|0)>(h|0)?h:g;if(!((g|0)>=(h|0)&(a|0)>=(n|0))){C[105673]=(a|0)>(n|0)?a:n}g=C[105681]}C[105674]=C[105674]+l;C[105675]=C[105675]+j;n:{if(g|!C[105703]){break n}a=C[105663];if(!a){break n}h=C[105702];if(!h){break n}Fe[a|0](h)}g=0;if((qf(1024,-1)|0)==1){C[f>>2]=1024;n=0;a=C[105671];if(a){g=C[a+4>>2]}C[105692]=p;C[f+12>>2]=b;C[f+8>>2]=g;m=C[105696];o:{if((m|0)<=0){break o}h=0;b=C[105697];g=0;if(m>>>0>=4){o=m&-4;a=0;while(1){p=g<<3;n=C[(b+(p|24)|0)+4>>2]|(C[(b+(p|16)|0)+4>>2]|(C[(b+(p|8)|0)+4>>2]|(C[(b+p|0)+4>>2]|n)));g=g+4|0;a=a+4|0;if((o|0)!=(a|0)){continue}break}}a=m&3;if(!a){break o}while(1){n=C[(b+(g<<3)|0)+4>>2]|n;g=g+1|0;h=h+1|0;if((a|0)!=(h|0)){continue}break}}C[f+16>>2]=n;C[f+32>>2]=j;C[f+28>>2]=l;a=C[105673];C[f+20>>2]=C[105672];C[f+24>>2]=a;Df(f)}C[105677]=c?C[105673]:e;C[105676]=c?C[105672]:d}Ce=f+80|0}function Eh(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,o=0,p=0,q=0;l=Ce-16|0;Ce=l;a:{if(F[b+4>>2]>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0){break a}f=g-a|0;if(f>>>0<2){break a}d=C[b+12>>2];i=d-2|0;C[b+12>>2]=i;c=1;if((i|0)<=0){c=0;break a}b:{c:{d:{e:{f:{g:{h:{e=D[a|0]|D[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=C[b+36>>2];if(c>>>0>2147483646){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=c<<1;if(e>>>0>>0){c=0;break a}a=i-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<6){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}C[l+12>>2]=a;c=0;g=C[b+4>>2];d=a+2|0;i:{if(g>>>0>d>>>0){break i}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break i}a=C[b+12>>2]-10|0;C[b+12>>2]=a;if((a|0)<=0){break i}i=D[d|0]|D[d+1|0]<<8;j=(i<<8|i>>>8)&65535;if(j>>>0<6){break i}m=D[d+2|0]|D[d+3|0]<<8;i=(m<<8|m>>>8)&65535;e=0;j:{if(!m){break j}e=d+10|0;if(e>>>0>f>>>0){break i}h=f-e|0;e=I(i,j);if(h>>>0>>0){break i}a=a-e|0;C[b+12>>2]=a;if((a|0)<=0){break i}c=d+I(j,i-1|0)|0;e=0;if((D[c+10|0]|D[c+11|0]<<8)!=65535){break j}e=(D[c+12|0]|D[c+13|0]<<8)==65535?-1:0}c=1;n=e+i|0;if(!n){break i}o=d+10|0;c=D[d|0]|D[d+1|0]<<8;p=(c<<8|c>>>8)&65535;e=o+I(p,i-1|0)|0;q=C[l+12>>2];j=0;while(1){c=0;h=I(j,p)+o|0;d=0;k:{if(!m){break k}d=0;if((D[e|0]|D[e+1|0]<<8)!=65535){break k}d=(D[e+2|0]|D[e+3|0]<<8)==65535?-1:0}d=d+i>>>0<=j>>>0?84608:h;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break i}h=a-6|0;C[b+12>>2]=h;if((h|0)<=0){break i}h=D[d|0]|D[d+1|0]<<8;h=(h<<8|h>>>8)&65535;k=D[d+2|0]|D[d+3|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0>>0){break i}d=d+4|0;if(d>>>0>f>>>0|f-d>>>0<2){break i}a=a-8|0;C[b+12>>2]=a;if((a|0)<=0){break i}h=(h-k|0)+1|0;if(h>>>0>2147483646){break i}if(h){d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+q|0;if(d>>>0>>0|d>>>0>f>>>0){break i}k=f-d|0;d=h<<1;if(k>>>0>>0){break i}a=a-d|0;C[b+12>>2]=a;if((a|0)<=0){break i}}c=1;j=j+1|0;if((n|0)!=(j|0)){continue}break}}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<4){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+4|0]|D[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=((d<<8|d>>>8)&65535)<<1;if(e>>>0>>0){c=0;break a}a=c-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=D[a+6|0]|D[a+7|0]<<8;d=I(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>g>>>0){c=0;break a}if(d>>>0>g-a>>>0){c=0;break a}a=c-d|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Ce=l+16|0;return c}function Vt(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,o=0,p=0,q=0;l=Ce-16|0;Ce=l;a:{if(F[b+4>>2]>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0){break a}f=g-a|0;if(f>>>0<2){break a}d=C[b+12>>2];i=d-2|0;C[b+12>>2]=i;if((i|0)<=0){break a}c=1;b:{c:{d:{e:{f:{g:{h:{e=D[a|0]|D[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=C[b+36>>2];if(c>>>0>1073741822){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=c<<2;if(e>>>0>>0){c=0;break a}a=i-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<8){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}C[l+12>>2]=a;c=0;g=C[b+4>>2];d=a+2|0;i:{if(g>>>0>d>>>0){break i}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break i}a=C[b+12>>2]-10|0;C[b+12>>2]=a;if((a|0)<=0){break i}i=D[d|0]|D[d+1|0]<<8;j=(i<<8|i>>>8)&65535;if(j>>>0<6){break i}m=D[d+2|0]|D[d+3|0]<<8;i=(m<<8|m>>>8)&65535;e=0;j:{if(!m){break j}e=d+10|0;if(e>>>0>f>>>0){break i}h=f-e|0;e=I(i,j);if(h>>>0>>0){break i}a=a-e|0;C[b+12>>2]=a;if((a|0)<=0){break i}c=d+I(j,i-1|0)|0;e=0;if((D[c+10|0]|D[c+11|0]<<8)!=65535){break j}e=(D[c+12|0]|D[c+13|0]<<8)==65535?-1:0}c=1;n=e+i|0;if(!n){break i}o=d+10|0;c=D[d|0]|D[d+1|0]<<8;p=(c<<8|c>>>8)&65535;e=o+I(p,i-1|0)|0;q=C[l+12>>2];j=0;while(1){c=0;h=I(j,p)+o|0;d=0;k:{if(!m){break k}d=0;if((D[e|0]|D[e+1|0]<<8)!=65535){break k}d=(D[e+2|0]|D[e+3|0]<<8)==65535?-1:0}d=d+i>>>0<=j>>>0?84608:h;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break i}h=a-6|0;C[b+12>>2]=h;if((h|0)<=0){break i}h=D[d|0]|D[d+1|0]<<8;h=(h<<8|h>>>8)&65535;k=D[d+2|0]|D[d+3|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0>>0){break i}d=d+4|0;if(d>>>0>f>>>0|f-d>>>0<2){break i}a=a-8|0;C[b+12>>2]=a;if((a|0)<=0){break i}h=(h-k|0)+1|0;if(h>>>0>1073741822){break i}if(h){d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+q|0;if(d>>>0>>0|d>>>0>f>>>0){break i}k=f-d|0;d=h<<2;if(k>>>0>>0){break i}a=a-d|0;C[b+12>>2]=a;if((a|0)<=0){break i}}c=1;j=j+1|0;if((n|0)!=(j|0)){continue}break}}break a}c=a+2|0;if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<10){c=0;break a}d=d-12|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=D[c|0]|D[c+1|0]<<8;f=(c<<8|c>>>8)&65535;if(f>>>0<6){c=0;break a}c=D[a+4|0]|D[a+5|0]<<8;if(!c){break b}a=a+12|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=I(f,(c<<8|c>>>8)&65535);if(e>>>0>>0){c=0;break a}a=d-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+4|0]|D[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>g>>>0){c=0;break a}e=g-a|0;a=((d<<8|d>>>8)&65535)<<2;if(e>>>0>>0){c=0;break a}a=c-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;C[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=D[a+6|0]|D[a+7|0]<<8;d=I(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>g>>>0){c=0;break a}if(d>>>0>g-a>>>0){c=0;break a}a=c-d|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Ce=l+16|0;return c}function Oq(a,b){var c=0,d=J(0),e=0,f=J(0),g=0,h=0,i=0,j=0,k=J(0),l=0,m=0,n=0,o=0,p=J(0),q=0,r=0,s=0,t=J(0),u=0,v=0,w=J(0),x=J(0),y=0;o=Ce-16|0;Ce=o;if(b){G[o>>2]=C[b>>2];G[o+4>>2]=C[b+4>>2];G[o+8>>2]=C[b+8>>2];G[o+12>>2]=C[b+12>>2];b=o}else{b=0}g=Ce+-64|0;Ce=g;a:{if(!(C[a>>2]==422837?a:0)){C[g>>2]=9675;Qe(19745,g);break a}b:{if(b){k=G[b+12>>2];p=G[b+8>>2];d=G[b>>2];f=G[b+4>>2];break b}k=J(H[a+256>>3]/+G[a+372>>2]);p=J(H[a+248>>3]/+G[a+368>>2]);f=J(0)}G[g+52>>2]=f;k=J(J(f+k)+J(-1));G[g+44>>2]=k;G[g+36>>2]=k;G[g+48>>2]=d;G[g+40>>2]=d;G[g+28>>2]=f;G[g+20>>2]=f;G[g+16>>2]=d;d=J(J(d+p)+J(-1));G[g+32>>2]=d;G[g+24>>2]=d;l=g+16|0;f=J(0);d=J(0);b=Ce-32|0;r=b;Ce=b;c:{if(!(C[a>>2]==422837?a:0)){C[r>>2]=9675;Qe(19745,r);break c}if(!l){C[r+16>>2]=6008;Qe(19745,r+16|0);break c}d:{e:{switch(C[a+396>>2]){case 0:e=Qq(a,l);break d;case 2:w=G[a+372>>2];x=G[a+368>>2];q=Fe[C[94762]](160)|0;if(q){C[94766]=C[94766]+1}b=Fe[C[94762]](312)|0;if(b){C[94766]=C[94766]+1}v=b;if(!(!q|!b)){y=G[l>>2]==G[l+32>>2]?G[l+4>>2]==G[l+36>>2]:y;h=-4;e=q;while(1){p=f;k=d;c=(s<<3)+l|0;f=G[c+4>>2];d=J(x*G[c>>2]);G[e+24>>2]=d;f=J(w*f);G[e+12>>2]=f;G[e+4>>2]=f;G[e>>2]=d;t=J(w+f);G[e+28>>2]=t;G[e+20>>2]=t;t=J(x+d);G[e+16>>2]=t;G[e+8>>2]=t;c=h;h=c+4|0;f:{if(!s&y){break f}C[b+12>>2]=h;C[b>>2]=h;j=c+7|0;C[b+20>>2]=j;i=c+6|0;C[b+16>>2]=i;C[b+8>>2]=i;m=c+5|0;C[b+4>>2]=m;if(!s){n=n+6|0;b=b+24|0;break f}g:{if(f==p){if(d>k){C[b+40>>2]=j;C[b+32>>2]=j;C[b+28>>2]=h;C[b+44>>2]=c|2;c=c|1;C[b+36>>2]=c;C[b+24>>2]=c;break g}C[b+44>>2]=i;C[b+36>>2]=m;C[b+28>>2]=c;C[b+24>>2]=m;c=c|3;C[b+40>>2]=c;C[b+32>>2]=c;break g}if(d==k){if(f>p){C[b+40>>2]=h;C[b+32>>2]=h;C[b+28>>2]=m;C[b+44>>2]=c|3;c=c|2;C[b+36>>2]=c;C[b+24>>2]=c;break g}C[b+44>>2]=j;C[b+40>>2]=c;C[b+36>>2]=i;C[b+32>>2]=c;C[b+24>>2]=i;C[b+28>>2]=c|1;break g}if(f>p){h:{if(d>k){C[b+64>>2]=j;C[b+56>>2]=j;C[b+52>>2]=h;C[b+40>>2]=h;C[b+32>>2]=h;C[b+28>>2]=m;C[b+68>>2]=c|3;u=c|2;C[b+60>>2]=u;C[b+48>>2]=u;C[b+44>>2]=u;c=c|1;C[b+36>>2]=c;C[b+24>>2]=c;break h}C[b+60>>2]=i;C[b+56>>2]=i;C[b+48>>2]=m;C[b+40>>2]=c;C[b+36>>2]=m;C[b+32>>2]=m;C[b+28>>2]=c;C[b+24>>2]=h;C[b+68>>2]=c|2;c=c|3;C[b+64>>2]=c;C[b+52>>2]=c;C[b+44>>2]=c}n=n+18|0;b=b+72|0;break f}n=n+18|0;u=b+72|0;i:{if(d>k){C[b+64>>2]=i;C[b+56>>2]=i;C[b+52>>2]=j;C[b+40>>2]=j;C[b+36>>2]=c;C[b+32>>2]=j;C[b+28>>2]=h;C[b+24>>2]=c;C[b+68>>2]=c|2;c=c|1;C[b+60>>2]=c;C[b+48>>2]=c;C[b+44>>2]=c;break i}C[b+64>>2]=c;C[b+60>>2]=j;C[b+56>>2]=c;C[b+52>>2]=i;C[b+48>>2]=j;C[b+44>>2]=c;C[b+36>>2]=i;C[b+28>>2]=m;C[b+24>>2]=i;C[b+68>>2]=c|3;c=c|1;C[b+40>>2]=c;C[b+32>>2]=c}b=u;break f}n=n+12|0;b=b+48|0}e=e+32|0;s=s+1|0;if((s|0)!=5){continue}break}e=Pq(a,0,q,a+420|0,0,0,20,v,n,J(1),J(1))}if(q){Fe[C[94765]](q);C[94766]=C[94766]-1}if(v){Fe[C[94765]](v);C[94766]=C[94766]-1}break d;default:break e}}if(!(G[a+368>>2]==J(1)&G[a+372>>2]==J(1))){e=Qq(a,l);break d}b=rk(a,6,0);if(b){e=Fe[C[a+32>>2]](a,b,l,5)|0;if((e|0)<0){C[b>>2]=0}}else{e=-1}}if(C[a+432>>2]|(e|0)<0){break c}b=C[a+436>>2];if(!b){break c}Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Ce=r+32|0}Ce=g- -64|0;Ce=o+16|0}function To(a){var b=0,c=0,d=0,e=0,f=0;d=Ce-32|0;Ce=d;if(E[208776]){a:{b:{c:{d:{e:{if(!C[94462]){break e}if(C[94461]!=(a|0)?a:0){break d}f=1;if(C[94463]){break e}f:{b=C[94465];if(!b){break f}if((Fe[b|0](417548)|0)>=0){break f}f=0;if(!bg(24518,0)){break e}c=C[94459];C[105732]=128;C[105731]=422944;b=34979;g:{if(!C[105730]){break g}b=C[105731]}C[d+20>>2]=b;C[d+16>>2]=c;Tg(34385,d+16|0);break e}C[94463]=1;b=0;c=C[94459];h:{e=C[104384];if((e|0)<=0){break h}while(1){if(uf(C[C[104385]+(b<<2)>>2],c)){b=b+1|0;e=C[104384];if((b|0)<(e|0)){continue}break h}break}break e}b=Rf(C[104385],(e<<2)+4|0);if(!b){break e}C[104385]=b;e=C[104384];C[104384]=e+1;C[b+(e<<2)>>2]=c}if(!C[94442]){break a}if(!a){break b}break c}if(!C[94442]){break a}}if(C[94441]!=(a|0)){break a}}i:{if(C[94443]){break i}j:{a=C[94445];if(!a){break j}if((Fe[a|0](417548)|0)>=0){break j}if(!bg(24518,0)){break a}b=C[94439];C[105732]=128;C[105731]=422944;a=34979;k:{if(!C[105730]){break k}a=C[105731]}C[d+4>>2]=a;C[d>>2]=b;Tg(34385,d);break a}C[94443]=1;a=0;b=C[94439];c=C[104384];if((c|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],b)){break i}a=a+1|0;c=C[104384];if((a|0)<(c|0)){continue}break}}a=Rf(C[104385],(c<<2)+4|0);if(!a){break i}C[104385]=a;c=C[104384];C[104384]=c+1;C[a+(c<<2)>>2]=b}f=f+1|0}a=C[94461];b=C[94463];if(!(!(b?(a|0)==3:0)&(!C[94443]|C[94441]!=3))){a=0;b=C[104384];l:{if((b|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],27453)){break l}a=a+1|0;b=C[104384];if((a|0)<(b|0)){continue}break}}a=Rf(C[104385],(b<<2)+4|0);if(!a){break l}C[104385]=a;b=C[104384];C[104384]=b+1;C[a+(b<<2)>>2]=27453}qk(27453);b=C[94463];a=C[94461]}if(!(!(b?(a|0)==4:0)&(!C[94443]|C[94441]!=4))){a=0;b=C[104384];m:{if((b|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],25896)){break m}a=a+1|0;b=C[104384];if((a|0)<(b|0)){continue}break}}a=Rf(C[104385],(b<<2)+4|0);if(!a){break m}C[104385]=a;b=C[104384];C[104384]=b+1;C[a+(b<<2)>>2]=25896}qk(27607);b=C[94463];a=C[94461]}if(!(!(b?(a|0)==5:0)&(!C[94443]|C[94441]!=5))){a=0;b=C[104384];n:{if((b|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],26362)){break n}a=a+1|0;b=C[104384];if((a|0)<(b|0)){continue}break}}a=Rf(C[104385],(b<<2)+4|0);if(!a){break n}C[104385]=a;b=C[104384];C[104384]=b+1;C[a+(b<<2)>>2]=26362}qk(26362);b=C[94463];a=C[94461]}if(!(!(b?(a|0)==10:0)&(!C[94443]|C[94441]!=10))){a=0;b=C[104384];o:{if((b|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],23839)){break o}a=a+1|0;b=C[104384];if((a|0)<(b|0)){continue}break}}a=Rf(C[104385],(b<<2)+4|0);if(!a){break o}C[104385]=a;b=C[104384];C[104384]=b+1;C[a+(b<<2)>>2]=23839}qk(23839);b=C[94463];a=C[94461]}if(!(!(b?(a|0)==6:0)&(!C[94443]|C[94441]!=6))){a=0;b=C[104384];p:{if((b|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],29495)){break p}a=a+1|0;b=C[104384];if((a|0)<(b|0)){continue}break}}a=Rf(C[104385],(b<<2)+4|0);if(!a){break p}C[104385]=a;b=C[104384];C[104384]=b+1;C[a+(b<<2)>>2]=29495}qk(29495);b=C[94463];a=C[94461]}if(!(!(b?(a|0)==8:0)&(!C[94443]|C[94441]!=8))){a=0;b=C[104384];q:{if((b|0)>0){while(1){if(!uf(C[C[104385]+(a<<2)>>2],28466)){break q}a=a+1|0;b=C[104384];if((a|0)<(b|0)){continue}break}}a=Rf(C[104385],(b<<2)+4|0);if(!a){break q}C[104385]=a;b=C[104384];C[104384]=b+1;C[a+(b<<2)>>2]=28466}qk(28466)}a=(f|0)>0}else{a=0}Ce=d+32|0;return a}function lJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=J(0),h=0,i=0,k=0,m=0,p=J(0),q=0,r=0,s=0,t=0,u=J(0),v=0,w=0,x=0,y=0,z=J(0),A=J(0),B=0,D=0,E=0,F=0,I=0,L=J(0),M=0,N=0;m=C[b+20>>2];h=C[b+8>>2];k=C[a+28>>2];i=k<<2;q=h+i|0;if(!C[q>>2]){h=C[m+4>>2];s=C[b>>2];a=C[i+C[C[C[a+64>>2]+4>>2]+28>>2]>>2];i=(a|0)/2|0;M=q,N=kf((i<<2)+4|0),C[M>>2]=N;a:{if((a|0)<=1){h=C[b+8>>2];q=C[h+(k<<2)>>2];a=0;break a}g=J(J(h|0)*J(.5));e=+J(+(s|0)/(Zj(+J(g*J(.0007399999885819852)))*13.100000381469727+Zj(+J(J(g*g)*J(1.8499999754340024e-8)))*2.240000009536743+ +J(g*J(9999999747378752e-20))));p=J(g/J(i|0));h=C[b+8>>2];q=C[h+(k<<2)>>2];a=0;while(1){x=(a<<2)+q|0;g=J(p*J(a|0));f=O((Zj(+J(g*J(.0007399999885819852)))*13.100000381469727+Zj(+J(J(g*g)*J(1.8499999754340024e-8)))*2.240000009536743+ +J(g*J(9999999747378752e-20)))*e);b:{if(K(f)<2147483648){s=~~f;break b}s=-2147483648}r=C[b>>2];C[x>>2]=(s|0)<(r|0)?s:r-1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}a=i}C[(a<<2)+q>>2]=-1;C[((k<<2)+b|0)+12>>2]=i}if(c){a=k<<2;q=C[a+h>>2];s=C[(a+b|0)+12>>2];k=C[b>>2];a=C[b+4>>2];i=a;g=G[(a<<2)+c>>2];p=J(C[m+16>>2]);a=0;h=0;c:{if((i|0)<=0){break c}if((i|0)!=1){b=i&-2;while(1){m=a<<2;r=m+c|0;e=mh(+G[r>>2]);G[r>>2]=e+e;m=(m|4)+c|0;e=mh(+G[m>>2]);G[m>>2]=e+e;a=a+2|0;h=h+2|0;if((b|0)!=(h|0)){continue}break}}if(!(i&1)){break c}a=(a<<2)+c|0;e=mh(+G[a>>2]);G[a>>2]=e+e}if((s|0)>0){A=J(3.141592653589793/+(k|0));m=i|1;B=((i<<2)+c|0)-4|0;y=i-2|0;a=(y>>>1|0)+1|0;D=a&-2;E=a&1;F=+p;I=+g;a=0;while(1){b=a<<2;r=C[b+q>>2];e=mh(+J(A*J(r|0)));g=J(e+e);u=J(.5);p=J(.5);b=b+d|0;x=b;L=G[b>>2];k=0;b=1;d:{if((i|0)<2){break d}t=0;h=1;if(y>>>0>=2){while(1){b=(h<<2)+c|0;u=J(J(u*J(g-G[b>>2]))*J(g-G[b+8>>2]));p=J(J(p*J(g-G[b-4>>2]))*J(g-G[b+4>>2]));h=h+4|0;t=t+2|0;if((D|0)!=(t|0)){continue}break}}b=m;if(!E){break d}b=(h<<2)+c|0;u=J(u*J(g-G[b>>2]));p=J(p*J(g-G[b-4>>2]));b=m}e:{if((b|0)==(i|0)){z=J(J(4)-J(g*g));g=J(p*J(g-G[B>>2]));g=J(g*g);break e}z=J(J(2)-g);g=J(p*J(J(g+J(2))*p))}e=(I/R(+J(g+J(u*J(u*z))))-F)*.1151292473077774;o(+e);b=j(1)|0;j(0)|0;f:{g:{h:{b=b>>>20&2047;if(b-969>>>0<63){k=b;break h}f=e+1;if(b>>>0<969){break f}if(b>>>0<1033){break h}o(+e);k=j(1)|0;f=0;if(!(j(0)|0)&(k|0)==-1048576){break g}f=e+1;if(b>>>0>=2047){break f}if((k|0)<0){b=Ce-16|0;H[b+8>>3]=12882297539194267e-247;f=H[b+8>>3]*12882297539194267e-247;break f}b=Ce-16|0;H[b+8>>3]=3105036184601418e216;f=H[b+8>>3]*3105036184601418e216;break f}f=H[45399];v=H[45398]*e+f;f=v-f;e=f*H[45401]+(f*H[45400]+e);f=e*e;w=f*f*(e*H[45405]+H[45404]);f=f*(e*H[45403]+H[45402]);o(+v);j(1)|0;t=j(0)|0;b=t<<4&2032;e=w+(f+(H[b+363296>>3]+e));h=b+363304|0;b=C[h>>2];h=C[h+4>>2]+(t<<13)|0;if(!k){i:{if(!(t&-2147483648)){l(0,b|0);l(1,h-1058013184|0);f=+n();f=(f*e+f)*5486124068793689e288;break i}l(0,b|0);l(1,h+1071644672|0);f=+n();v=f*e;e=v+f;if(e<1){b=Ce-16|0;C[b+8>>2]=0;C[b+12>>2]=1048576;H[b+8>>3]=H[b+8>>3]*22250738585072014e-324;w=e+1;e=w+(v+(f-e)+(e+(1-w)))+-1;e=e==0?0:e}f=e*22250738585072014e-324}break f}l(0,b|0);l(1,h|0);f=+n();f=f*e+f}}g=J(f);G[x>>2]=L*g;a=a+1|0;if((r|0)==C[q+(a<<2)>>2]){while(1){b=(a<<2)+d|0;G[b>>2]=G[b>>2]*g;a=a+1|0;if((r|0)==C[q+(a<<2)>>2]){continue}break}}if((a|0)<(s|0)){continue}break}}return 1}We(d,0,C[((k<<2)+b|0)+12>>2]<<2);return 0}function vk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-80|0;Ce=j;a:{b:{f=jh(b,44);c:{if(!f){break c}i=f+1|0;g=jh(i,44);if(!g){break c}g=g-f|0;f=g;f=Fe[C[94762]](f>>>0<=1?1:f)|0;if(f){C[94766]=C[94766]+1}if(f){break b}_e(0)}C[j>>2]=b;Qe(8270,j);break a}gf(f,i,g);A[(f+g|0)-1|0]=0;d:{g=jh(b,44);e:{if(!g){break e}g=jh(g+1|0,44);if(!g){break e}g=Sg(g+1|0);if(g){break d}}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}C[j+16>>2]=b;Qe(8326,j+16|0);break a}b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);C[j+32>>2]=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[j+36>>2]=b;b=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);C[j+24>>2]=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);C[j+28>>2]=b;f:{g:{h:{e=C[104866];if(e){while(1){if(!sg(j+24|0,e,16)){break h}e=C[e+28>>2];if(e){continue}break}}e=Fe[C[94762]](32)|0;if(e){C[94766]=C[94766]+1}if(e){break g}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}e=0;_e(0);break a}if(F[e+24>>2]<=d>>>0){a=C[e+16>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[e+16>>2]=f;a=C[e+20>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[e+24>>2]=d;C[e+20>>2]=g;a=1;b=C[104873];if(!b){break f}while(1){if(!sg(C[b>>2]+16|0,e,16)){f=C[e+16>>2];l=C[e+20>>2];d=0;h=Ce-96|0;Ce=h;C[b+12>>2]=0;C[b+8>>2]=f;f=C[C[b>>2]+36>>2];if(f){mf(C[b+20>>2],0,f<<2)}mf(h- -64|0,0,20);mf(h+32|0,0,20);i:{j:{if(!l){break j}i=1;while(1){f=0;g=0;k:{l:{m:{n:{o:{k=D[l|0];switch(k-32|0){case 26:break k;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 l;case 0:break n;case 12:break o;default:break m}}d=h- -64|0;f=h+32|0;Yr(b,d,f);mf(d,0,20);mf(f,0,20);f=1;break k}f=i;g=d;break k}if(!k){break j}}if(i){if(d>>>0>=20){C[h+16>>2]=h- -64;Qe(8894,h+16|0);break i}A[(h- -64|0)+d|0]=k;f=1;g=d+1|0;break k}if(d>>>0>=20){C[h>>2]=h+32;Qe(8859,h);break i}A[(h+32|0)+d|0]=k;g=d+1|0}l=l+1|0;d=g;i=f;continue}}if(!(D[h+64|0]|D[h+32|0])){break i}Yr(b,h- -64|0,h+32|0)}f=C[b+12>>2];if((f|0)>0){g=C[b+16>>2];l=0;while(1){d=g+(l<<5)|0;p:{if(C[d>>2]!=2|C[d+16>>2]!=2|(C[d+20>>2]&-2)!=4){break p}k=C[d+4>>2];i=C[b>>2];if((k|0)>=C[i+36>>2]){break p}i=C[i+40>>2];m=i+I(k,24)|0;k=E[d+8>>1];B[m+4>>1]=k;B[(i+I(C[d+4>>2],24)|0)+2>>1]=k}l=l+1|0;if((f|0)!=(l|0)){continue}break}}Ce=h+96|0;C[j+24>>2]=1621;C[j+32>>2]=C[C[b>>2]>>2];Df(j+24|0)}b=C[b+32>>2];if(b){continue}break}break f}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}a=1;break f}b=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);i=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);A[e|0]=i;A[e+1|0]=i>>>8;A[e+2|0]=i>>>16;A[e+3|0]=i>>>24;A[e+4|0]=b;A[e+5|0]=b>>>8;A[e+6|0]=b>>>16;A[e+7|0]=b>>>24;b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);A[e+8|0]=a;A[e+9|0]=a>>>8;A[e+10|0]=a>>>16;A[e+11|0]=a>>>24;A[e+12|0]=b;A[e+13|0]=b>>>8;A[e+14|0]=b>>>16;A[e+15|0]=b>>>24;a=0;C[e+28>>2]=0;C[e+20>>2]=g;C[e+16>>2]=f;C[e+24>>2]=d;b=C[104866];if(b){while(1){a=b;b=C[a+28>>2];if(b){continue}break}C[a+28>>2]=e;a=0;break f}C[104866]=e}C[c>>2]=a}Ce=j+80|0;return e}function Nm(a,b,c,d,e){var 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;i=Ce-48|0;Ce=i;j=C[a+11748>>2]==2;n=j?a+11760|0:a+11776|0;m=C[n+4>>2];s=1;h=(j?11760:11776)+a|0;o=C[h>>2];k=C[c>>2];f=C[c+4>>2];a:{if(!((o|0)!=(k|0)|(f|0)!=(m|0))){j=0;break a}g=C[d>>2];t=j?a+11752|0:a+11768|0;p=C[t+4>>2];q=o;o=(j?11752:11768)+a|0;j=C[o>>2];d=C[d+4>>2];u=(d-f|0)+16>>5;q=Te((q-j|0)+16>>5,u);r=(m-p|0)+16>>5;m=(g-k|0)+16>>5;r=Te(r,m);if((q|0)==(r|0)){j=0;break a}l=Ze(Te((k-j|0)+16>>5,u)-Te((f-p|0)+16>>5,m)|0,q-r|0);j=C[o>>2];j=Te(l,C[h>>2]-j|0)+j|0;m=C[t+4>>2];k=Te(l,C[n+4>>2]-m|0);l=C[o>>2];p=C[h>>2];if((l|0)==(p|0)){o=j-l|0;f=o>>31;j=C[a+11700>>2]>((f^o)-f|0)?l:j}l=k+m|0;f=C[t+4>>2];m=C[n+4>>2];if((f|0)==(m|0)){k=l-f|0;n=k>>31;l=C[a+11700>>2]>((k^n)-n|0)?f:l}n=C[c>>2];if((n|0)==(g|0)){k=j-g|0;f=k>>31;j=C[a+11700>>2]>((f^k)-f|0)?g:j}f=C[c+4>>2];if((f|0)==(d|0)){k=l-d|0;g=k>>31;l=C[a+11700>>2]>((g^k)-g|0)?d:l}g=((n+p|0)/-2|0)+j|0;d=g>>31;d=(d^g)-d|0;g=C[a+11696>>2];if((d|0)>(g|0)){break a}f=((f+m|0)/-2|0)+l|0;d=f>>31;if(((d^f)-d|0)>(g|0)){break a}C[h>>2]=j;C[h+4>>2]=l;s=0}h=C[a+11732>>2];d=C[a+11728>>2];C[i+8>>2]=d;C[i+12>>2]=h;b:{c:{d:{switch(C[a+11748>>2]-2|0){case 0:C[i+40>>2]=2;e:{if(e){f=C[a+11764>>2];g=Te(C[a+11644>>2],C[a+11760>>2])+Te(C[a+11648>>2],f)|0;f=Oh(a+3876|0,f);break e}f=C[a+11764>>2];g=Te(C[a+11644>>2],C[a+11760>>2])+Te(C[a+11648>>2],f)|0;f=Oh(b,f)}n=Te(C[C[a>>2]+60>>2],g);m=Te(C[C[a>>2]+68>>2],f);k=C[a+11656>>2];g=(Te(C[C[a>>2]- -64>>2],g)+Te(C[C[a>>2]+72>>2],f)|0)+C[a+11660>>2]|0;C[i+20>>2]=g;f=k+(m+n|0)|0;C[i+16>>2]=f;if((d|0)==(f|0)&(g|0)==(h|0)){break b}g=i+16|0;d=C[a+4>>2];h=d+4|0;break c;case 2:break d;default:break b}}C[i+40>>2]=4;d=C[a+11764>>2];h=Te(C[a+11644>>2],C[a+11760>>2]);g=Te(C[a+11648>>2],d);d=Oh(b,d);h=g+h|0;v=i,w=(Te(C[C[a>>2]+60>>2],h)+Te(C[C[a>>2]+68>>2],d)|0)+C[a+11656>>2]|0,C[v+16>>2]=w;f=Te(C[C[a>>2]- -64>>2],h)+Te(C[C[a>>2]+72>>2],d)|0;d=a+11660|0;C[i+20>>2]=f+C[d>>2];h=C[a+11772>>2];g=Te(C[a+11644>>2],C[a+11768>>2]);f=Te(C[a+11648>>2],h);h=Oh(b,h);g=g+f|0;v=i,w=(Te(C[C[a>>2]+60>>2],g)+Te(C[C[a>>2]+68>>2],h)|0)+C[a+11656>>2]|0,C[v+24>>2]=w;v=i,w=(Te(C[C[a>>2]- -64>>2],g)+Te(C[C[a>>2]+72>>2],h)|0)+C[d>>2]|0,C[v+28>>2]=w;h=C[a+11780>>2];g=Te(C[a+11644>>2],C[a+11776>>2]);f=Te(C[a+11648>>2],h);h=Oh(b,h);g=g+f|0;v=i,w=(Te(C[C[a>>2]+60>>2],g)+Te(C[C[a>>2]+68>>2],h)|0)+C[a+11656>>2]|0,C[v+32>>2]=w;v=i,w=(Te(C[C[a>>2]- -64>>2],g)+Te(C[C[a>>2]+72>>2],h)|0)+C[d>>2]|0,C[v+36>>2]=w;g=i+32|0;d=C[a+4>>2];h=d+12|0}Fe[C[h>>2]](d,i+8|0);d=C[g+4>>2];C[a+11728>>2]=C[g>>2];C[a+11732>>2]=d}f:{if(e|s){g:{if(e){b=C[c+4>>2];e=Te(C[a+11644>>2],C[c>>2])+Te(C[a+11648>>2],b)|0;b=Oh(a+3876|0,b);break g}d=C[c+4>>2];e=Te(C[a+11644>>2],C[c>>2])+Te(C[a+11648>>2],d)|0;b=Oh(b,d)}v=i,w=(Te(C[C[a>>2]+60>>2],e)+Te(C[C[a>>2]+68>>2],b)|0)+C[a+11656>>2]|0,C[v+16>>2]=w;b=(Te(C[C[a>>2]- -64>>2],e)+Te(C[C[a>>2]+72>>2],b)|0)+C[a+11660>>2]|0;C[i+20>>2]=b;if(!(C[i+16>>2]==C[a+11728>>2]&(b|0)==C[a+11732>>2])){C[i+40>>2]=2;b=C[a+11732>>2];C[i+8>>2]=C[a+11728>>2];C[i+12>>2]=b;b=C[a+4>>2];Fe[C[b+4>>2]](b,i+8|0);b=C[i+20>>2];C[a+11728>>2]=C[i+16>>2];C[a+11732>>2]=b}if(s){break f}}C[c>>2]=j;C[c+4>>2]=l}Ce=i+48|0}function Th(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,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(!a){break a}f=C[a>>2];if(!f){break a}e=C[b>>2];o=D[e+5|0];l=C[b+12>>2];p=C[b+8>>2];j=D[e+26|0];r=D[e+18|0]|D[e+19|0]<<8|(D[e+20|0]<<16|D[e+21|0]<<24);n=D[e+14|0]|D[e+15|0]<<8|(D[e+16|0]<<16|D[e+17|0]<<24);s=D[e+6|0]|D[e+7|0]<<8|(D[e+8|0]<<16|D[e+9|0]<<24);t=D[e+10|0]|D[e+11|0]<<8|(D[e+12|0]<<16|D[e+13|0]<<24);g=D[e+4|0];b=C[a+36>>2];i=C[a+12>>2];if(i){d=C[a+8>>2];c=d-i|0;C[a+8>>2]=c;if((d|0)!=(i|0)){Yf(f,f+i|0,c)}C[a+12>>2]=0}if(b){d=b;f=C[a+28>>2];if((b|0)!=(f|0)){c=C[a+16>>2];Yf(c,c+(b<<2)|0,f-b<<2);c=C[a+20>>2];Yf(c,c+(b<<3)|0,C[a+28>>2]-b<<3);d=C[a+28>>2]}C[a+36>>2]=0;C[a+28>>2]=d-b;C[a+32>>2]=C[a+32>>2]-b}if(g|(n|0)!=C[a+336>>2]){break a}b:{c:{c=C[a+24>>2];b=j+1|0;if(C[a+28>>2]>=(c-b|0)){if((c|0)>(b^2147483647)){break c}b=b+c|0;c=(b|0)<2147483615?b+32|0:b;b=lf(C[a+16>>2],c<<2);if(!b){break c}C[a+16>>2]=b;b=lf(C[a+20>>2],c<<3);if(!b){break c}C[a+24>>2]=c;C[a+20>>2]=b}b=0;break b}b=C[a>>2];if(b){Re(b)}b=C[a+16>>2];if(b){Re(b)}b=C[a+20>>2];if(b){Re(b)}We(a,0,360);b=-1}if(b){break a}q=o&1;i=C[a+340>>2];d:{if((i|0)==(r|0)){break d}k=C[a+28>>2];c=C[a+32>>2];if((k|0)>(c|0)){n=k+(c^-1)|0;b=C[a+8>>2];m=C[a+16>>2];f=k-c&3;e:{if(!f){d=c;break e}g=c;while(1){b=b-D[m+(g<<2)|0]|0;d=g+1|0;g=d;h=h+1|0;if((h|0)!=(f|0)){continue}break}}if(n>>>0>=3){while(1){g=b;b=m+(d<<2)|0;b=g-(((D[b|0]+D[b+4|0]|0)+D[b+8|0]|0)+D[b+12|0]|0)|0;d=d+4|0;if((k|0)!=(d|0)){continue}break}}C[a+8>>2]=b}C[a+28>>2]=c;if((i|0)==-1){break d}b=c+1|0;C[a+28>>2]=b;C[C[a+16>>2]+(c<<2)>>2]=1024;C[a+32>>2]=b}b=o&2;d=0;f:{if(!q){break f}c=C[a+28>>2];if((c|0)>0&C[(C[a+16>>2]+(c<<2)|0)-4>>2]!=1024){break f}b=0;if(!j){break f}while(1){d=b+1|0;b=D[(b+e|0)+27|0];l=l-b|0;p=b+p|0;if((b|0)!=255){b=0;break f}b=d;if((j|0)!=(b|0)){continue}break}b=0;d=j}if(l){g:{h:{c=C[a+4>>2];if(C[a+8>>2]>=(c-l|0)){if((c|0)>(l^2147483647)){break h}c=c+l|0;h=(c|0)<2147482623?c+1024|0:c;c=lf(C[a>>2],h);if(!c){break h}C[a>>2]=c;C[a+4>>2]=h}c=0;break g}c=C[a>>2];if(c){Re(c)}c=C[a+16>>2];if(c){Re(c)}c=C[a+20>>2];if(c){Re(c)}We(a,0,360);c=-1}if(c){break a}jf(C[a>>2]+C[a+8>>2]|0,p,l);C[a+8>>2]=C[a+8>>2]+l}q=o&4;i:{if((d|0)>=(j|0)){break i}k=C[a+20>>2];m=C[a+16>>2];f=C[a+28>>2];h=m+(f<<2)|0;i=d+e|0;g=D[i+27|0];C[h>>2]=g;c=k+(f<<3)|0;C[c>>2]=-1;C[c+4>>2]=-1;if(b){C[h>>2]=g|256}h=f+1|0;if((g|0)==255){c=-1}else{C[a+32>>2]=h;c=f}C[a+28>>2]=h;g=d+1|0;j:{if((j|0)==(g|0)){break j}n=j-2|0;k:{if(!((d^-1)+j&1)){b=h;break k}g=D[i+28|0];C[m+(h<<2)>>2]=g;b=k+(h<<3)|0;C[b>>2]=-1;C[b+4>>2]=-1;b=f+2|0;if((g|0)!=255){C[a+32>>2]=b;c=h}C[a+28>>2]=b;g=d+2|0}if((d|0)==(n|0)){break j}while(1){f=e+g|0;h=D[f+27|0];C[m+(b<<2)>>2]=h;d=k+(b<<3)|0;C[d>>2]=-1;C[d+4>>2]=-1;d=b+1|0;if((h|0)!=255){C[a+32>>2]=d;c=b}C[a+28>>2]=d;f=D[f+28|0];C[m+(d<<2)>>2]=f;h=k+(d<<3)|0;C[h>>2]=-1;C[h+4>>2]=-1;b=b+2|0;if((f|0)!=255){C[a+32>>2]=b;c=d}C[a+28>>2]=b;g=g+2|0;if((j|0)!=(g|0)){continue}break}}if((c|0)==-1){break i}b=C[a+20>>2]+(c<<3)|0;C[b>>2]=s;C[b+4>>2]=t}l:{if(!q){break l}C[a+328>>2]=1;b=C[a+28>>2];if((b|0)<=0){break l}b=(C[a+16>>2]+(b<<2)|0)-4|0;C[b>>2]=C[b>>2]|512}C[a+340>>2]=r+1}}function ft(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,o=0;h=Ce-272|0;Ce=h;a:{b:{c:{c=D[a+2|0]|D[a+3|0]<<8;j=(c<<8|c>>>8)&65535;switch(j|0){case 0:break a;case 1:break c;default:break b}}a=D[a|0]|D[a+1|0]<<8;it(b,(a<<8|a>>>8)&65535);m=1;break a}C[h+268>>2]=0;C[h+264>>2]=0;m=Ck(b,j,a+4|0,167,0,h+264|0,h,h+268|0);if(!m){break a}a=D[a|0]|D[a+1|0]<<8;i=(a<<8|a>>>8)&65535;f=C[h+268>>2];a=b;d=C[a+100>>2];b=C[h+264>>2];if(b>>>0>=2){c=C[d+76>>2];fg(d,c,b+c|0)}c=1;b=C[d+92>>2];e=E[(b+I(C[h>>2],20)|0)+12>>1];n=!(e&8);e=!(e&2);d:{if(j>>>0<=1){break d}while(1){if(D[(b+I(C[(c<<2)+h>>2],20)|0)+12|0]&8){c=c+1|0;if((j|0)!=(c|0)){continue}break d}break}n=1;e=1}l=e&n;if(l){c=C[d+104>>2];while(1){e=c&7;c=c+1|0;if(!e){continue}break}C[d+104>>2]=c;o=e<<5}b=b+I(C[d+76>>2],20)|0;e=D[b+14|0];g=e&16?e&15:1;k=D[b+12|0]&4;e:{f:{g:{if(l){A[b+14|0]=f&15|o|16;b=C[d+92>>2]+I(C[d+76>>2],20)|0;c=E[b+16>>1];if((c&31)==12){B[b+16>>1]=c&224|7}c=C[a+100>>2];b=(C[c+92>>2]+I(C[c+76>>2],20)|0)+12|0;if(D[a+140|0]){break g}f=52;if(l){break f}break e}c=C[a+100>>2];if(!D[a+140|0]){break e}b=(C[c+92>>2]+I(C[c+76>>2],20)|0)+12|0}f=_g(C[a+108>>2],i)|48}B[b>>1]=f;c=C[a+100>>2]}b=k?g:1;if($e(c,1,1)){a=C[c+76>>2];h:{if(a>>>0>2]){f=C[c+84>>2];g=C[c+96>>2];a=C[c+92>>2]+I(a,20)|0;break h}g=C[c+96>>2];f=C[c+84>>2];a=f-1|0;a=g+I(a>>>0<=f>>>0?a:0,20)|0}f=I(f,20)+g|0;g=C[a+4>>2];C[f>>2]=C[a>>2];C[f+4>>2]=g;C[f+16>>2]=C[a+16>>2];g=C[a+12>>2];C[f+8>>2]=C[a+8>>2];C[f+12>>2]=g;C[f>>2]=i;C[c+76>>2]=C[c+76>>2]+1;C[c+84>>2]=C[c+84>>2]+1}f=0-b|0;i:{if(j>>>0<2){a=b;break i}c=C[d+76>>2];g=1;a=b;while(1){j:{i=(g<<2)+h|0;if(F[i>>2]<=c>>>0){break j}if(l){f=b+f|0;while(1){if(!D[d+72|0]){break j}e=C[d+92>>2]+I(c,20)|0;c=D[e+14|0];c=c&16?0:c&15;c=c?c:a;A[e+14|0]=f+(a>>>0>c>>>0?c:a)&15|o;k:{if(D[d+73|0]){l:{if(C[d+96>>2]==C[d+92>>2]){c=C[d+84>>2];if((c|0)==C[d+76>>2]){break l}}if(!$e(d,1,1)){c=C[d+76>>2];break k}e=C[d+92>>2]+I(C[d+76>>2],20)|0;k=C[e+4>>2];c=C[d+96>>2]+I(C[d+84>>2],20)|0;C[c>>2]=C[e>>2];C[c+4>>2]=k;C[c+16>>2]=C[e+16>>2];k=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=k;c=C[d+84>>2]}C[d+84>>2]=c+1}c=C[d+76>>2]+1|0;C[d+76>>2]=c}if(F[i>>2]>c>>>0){continue}break}break j}if(!D[d+72|0]){break j}a=1;if(!D[d+73|0]){while(1){c=c+1|0;C[d+76>>2]=c;if(F[i>>2]>c>>>0){continue}break j}}while(1){m:{if(a&255){n:{if(C[d+96>>2]==C[d+92>>2]){a=c;if(C[d+84>>2]==(c|0)){break n}}if(!$e(d,1,1)){c=C[d+76>>2];break m}c=C[d+92>>2]+I(C[d+76>>2],20)|0;e=C[c+4>>2];a=C[d+96>>2]+I(C[d+84>>2],20)|0;C[a>>2]=C[c>>2];C[a+4>>2]=e;C[a+16>>2]=C[c+16>>2];e=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=e;c=C[d+76>>2];a=C[d+84>>2]}C[d+84>>2]=a+1}c=c+1|0;C[d+76>>2]=c}if(!D[d+72|0]|F[i>>2]<=c>>>0){break j}a=D[d+73|0];continue}}a=C[d+92>>2]+I(c,20)|0;f=E[a+12>>1];e=D[a+14|0];c=c+1|0;C[d+76>>2]=c;a=f&4?e&16?e&15:1:1;f=0-a|0;b=a+b|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}o:{if(!(e>>>0>31&n)){break o}c=C[d+76>>2];if(c>>>0>=F[d+80>>2]){break o}f=b+f|0;while(1){g=C[d+92>>2]+I(c,20)|0;b=D[g+14|0];if((b^e)>>>0>31|b&16){break o}b=b&15;if(!b){break o}A[g+14|0]=f+(a>>>0>>0?a:b)&15|o;c=c+1|0;if(c>>>0>2]){continue}break}}}Ce=h+272|0;return m}function eo(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,o=0,p=0,q=0;a:{if(F[b+4>>2]>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<2){break a}d=C[b+12>>2];f=d-2|0;C[b+12>>2]=f;if(!(D[a|0]|D[a+1|0]<<8)|(f|0)<=0){break a}f=a+4|0;if(f>>>0>g>>>0|g-f>>>0<4){break a}g=d-6|0;C[b+12>>2]=g;if((g|0)<=0){break a}c=1;g=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);n=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(!n){break a}f=a+8|0;while(1){g=0;b:{c:{h=C[b+4>>2];a=f+4|0;d:{if(h>>>0>a>>>0){break d}c=C[b+8>>2];if(a>>>0>c>>>0|c-a>>>0<4){break d}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((d|0)<=0){break d}a=D[f+4|0]|D[f+5|0]<<8|(D[f+6|0]<<16|D[f+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<12|f>>>0>>0|(c>>>0>>0|a>>>0>c-f>>>0)){break d}a=d-a|0;C[b+12>>2]=a;if((a|0)<=0){break d}i=D[f+8|0]|D[f+9|0]<<8;d=I((i<<8|i>>>8)&65535,12);e=f+12|0;if(i){if(c>>>0>>0|d>>>0>c-e>>>0){break d}a=a-d|0;C[b+12>>2]=a;if((a|0)<=0){break d}}g=D[f+10|0]|D[f+11|0]<<8;a=1;if(!g){break b}a=(g<<8|g>>>8)&65535;q=a>>>0<=1?1:a;d=d+e|0;l=0;while(1){if(d>>>0>>0|c>>>0>>0){break c}g=c-d|0;if(g>>>0<2){break c}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break c}a=D[d|0]|D[d+1|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<9|a>>>0>g>>>0){break c}c=c-a|0;C[b+12>>2]=c;if((c|0)<=0){break c}g=0;c=C[b+32>>2];h=C[c+12>>2];c=h+C[c+16>>2]|0;h=h>>>0>d>>>0|c>>>0<=d>>>0;C[b+4>>2]=h?0:d;c=c-d|0;C[b+8>>2]=h?0:(a>>>0>c>>>0?c:a)+d|0;h=Ce-16|0;Ce=h;a=1;e:{f:{switch(D[d+3|0]){case 0:a=Rn(d+8|0,b);break e;case 1:a=0;C[h+12>>2]=0;o=d+8|0;if(!au(o,b,h+12|0)){break e}C[h+8>>2]=0;c=C[b+4>>2];e=d+16|0;g:{h:{if(c>>>0>e>>>0){break h}i=C[b+8>>2];if(i>>>0>>0|i-e>>>0<2){break h}m=C[b+12>>2]-2|0;C[b+12>>2]=m;if((m|0)<=0){break h}k=C[h+8>>2];if(k>>>0>2147483646){break h}j=1;if(!k){break g}j=c;c=D[e|0]|D[e+1|0]<<8;c=o+((c<<8|c>>>8)&65535)|0;if(j>>>0>c>>>0|c>>>0>i>>>0){break h}e=k<<1;if(e>>>0>i-c>>>0){break h}a=m-e|0;C[b+12>>2]=a;i:{if((a|0)<=0){break i}e=0;while(1){a=c+(e<<1)|0;if(a>>>0>2]){break i}i=C[b+8>>2];if(i>>>0>>0|i-a>>>0<2){break i}i=C[b+12>>2]-2|0;C[b+12>>2]=i;if((i|0)<=0){break i}a=D[a|0]|D[a+1|0]<<8;if(!Eh(c+((a<<8|a>>>8)&65535)|0,b)){break i}a=1;e=e+1|0;if((k|0)!=(e|0)){continue}break}break h}a=0}j=a}a=j;break e;case 2:a=0;c=d+8|0;if(c>>>0>2]){break e}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<28){break e}e=C[b+12>>2]-28|0;C[b+12>>2]=e;if((e|0)<=0){break e}if(!Rn(c,b)|!(D[d+16|0]|D[d+17|0]<<8)|!(D[d+18|0]|D[d+19|0]<<8)){break e}a=(D[d+20|0]|D[d+21|0]<<8)!=0;break e;case 4:a=Eh(d+8|0,b);break e;case 5:break f;default:break e}}a=0;c=d+8|0;if(c>>>0>2]){break e}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<20){break e}e=C[b+12>>2]-20|0;C[b+12>>2]=e;if((e|0)<=0){break e}if(!au(c,b,0)){break e}a=(D[d+16|0]|D[d+17|0]<<8)!=0}Ce=h+16|0;c=C[b+32>>2];h=C[c+12>>2];C[b+4>>2]=h;c=C[c+16>>2]+h|0;C[b+8>>2]=c;if(!a){break d}a=D[d|0]|D[d+1|0]<<8;d=((a<<8|a>>>8)&65535)+d|0;g=1;l=l+1|0;if((q|0)!=(l|0)){continue}break}}a=g;break b}a=0}c=a;if(!c){break a}a=D[f+4|0]|D[f+5|0]<<8|(D[f+6|0]<<16|D[f+7|0]<<24);f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0;p=p+1|0;if((p|0)!=(n|0)){continue}break}}return c}function Kv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ce-416|0;Ce=h;d=-131;j=C[a+88>>2];a:{if((j|0)<2){break a}if(!C[a+4>>2]){d=-138;break a}if((c|0)<0){break a}e=C[a+20>>2];if(b>>>0>F[a+16>>2]&(c|0)>=(e|0)|(c|0)>(e|0)){break a}b:{if(j>>>0<3){break b}j=C[a+56>>2];i=C[a+96>>2];d=j+(i<<3)|0;e=C[d>>2];d=C[d+4>>2];if((d|0)<=(c|0)&b>>>0>=e>>>0|(c|0)>(d|0)){e=j+(i<<3)|0;d=C[e+12>>2];if(b>>>0>2]&(c|0)<=(d|0)|(c|0)<(d|0)){break b}}Jh(a+480|0);ri(a+592|0);C[a+88>>2]=2}C[a+80>>2]=-1;C[a+84>>2]=-1;k=a+120|0;Pi(k,C[a+92>>2]);n=a+480|0;dp(n);c:{d:{e=C[a>>2];if(!e){break d}if(C[a+8>>2]!=(b|0)|C[a+12>>2]!=(c|0)){d=C[a+708>>2];if(!d){break d}if((Fe[d|0](e,b,c,0)|0)==-1){break d}C[a+8>>2]=b;C[a+12>>2]=c;if(C[a+28>>2]>=0){C[a+32>>2]=0;C[a+36>>2]=0;C[a+48>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0}}b=h+56|0;Ev(b,C[a+92>>2]);j=a+592|0;if(!(!b|!C[b>>2])){C[b+344>>2]=0;C[b+348>>2]=0;C[b+340>>2]=-1;C[b+332>>2]=0;C[b+324>>2]=0;C[b+328>>2]=0;C[b+36>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+352>>2]=0;C[b+356>>2]=0}while(1){e:{if(C[a+88>>2]<3){break e}if((vh(h+56|0,h+8|0)|0)<=0){break e}b=C[a+72>>2]+(C[a+96>>2]<<5)|0;if(C[b+28>>2]){b=bp(b,h+8|0);f:{if((b|0)<0){vh(k,0);b=0;break f}g:{if(!(g|!p)){vh(k,0);break g}if(!f){break g}o=(b+f>>>2|0)+o|0}}f=b;c=C[h+28>>2];d=c;b=C[h+24>>2];if((c&b)==-1){continue}l=C[a+68>>2];g=C[a+96>>2];f=l+(g<<4)|0;c=C[f>>2];e=b-c|0;f=d-(C[f+4>>2]+(b>>>0>>0)|0)|0;c=!!e&(f|0)>=0|(f|0)>0;b=c?e:0;c=c?f:0;h:{if((g|0)<=0){break h}q=g&3;i:{if(g>>>0<4){d=0;break i}s=g&-4;d=0;f=0;while(1){g=d<<4;e=l+(g|56)|0;k=C[e>>2];m=C[e+4>>2];e=l+(g|40)|0;n=C[e>>2];i=C[e+4>>2];e=l+(g|24)|0;j=C[e>>2];p=C[e+4>>2];g=g+l|0;e=C[g+8>>2];c=c+C[g+12>>2]|0;g=b;b=b+e|0;c=(g>>>0>b>>>0?c+1|0:c)+p|0;g=b;b=b+j|0;c=(g>>>0>b>>>0?c+1|0:c)+i|0;i=b;b=b+n|0;c=(i>>>0>b>>>0?c+1|0:c)+m|0;i=b;b=b+k|0;c=i>>>0>b>>>0?c+1|0:c;d=d+4|0;f=f+4|0;if((s|0)!=(f|0)){continue}break}}if(!q){break h}while(1){e=l+(d<<4)|0;f=C[e+8>>2];c=c+C[e+12>>2]|0;i=b;b=b+f|0;c=i>>>0>b>>>0?c+1|0:c;d=d+1|0;r=r+1|0;if((q|0)!=(r|0)){continue}break}}f=b-o|0;d=f;i=!!f;f=c-((o>>31)+(b>>>0>>0)|0)|0;c=i&(f|0)>=0|(f|0)>0;b=c?d:0;c=c?f:0;break c}vh(k,0)}if(f){b=-1;c=-1;break c}b=Lg(a,h+40|0,-1,-1);c=Ee;i=c;if((c|0)<0){b=bk(a,-1);c=Ee;break c}j:{if(C[a+88>>2]>=3){c=C[h+40>>2];if(!(!(D[C[h+40>>2]+5|0]&2)|C[a+92>>2]==(D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24)))){Jh(n);ri(j);C[a+88>>2]=2;tm(h+56|0)}if(C[a+88>>2]>2){break j}}c=C[h+40>>2];m=D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24);f=0;d=0;c=C[a+52>>2];k:{if((c|0)<=0){break k}e=C[a+64>>2];while(1){if((m|0)==C[(d<<2)+e>>2]){break k}d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}if((c|0)==(d|0)){continue}C[a+92>>2]=m;C[a+96>>2]=d;Pi(k,m);Pi(h+56|0,m);C[a+88>>2]=3;c=C[a+60>>2]+(d<<3)|0;f=C[c>>2];c=C[c+4>>2];g=b>>>0<=f>>>0&(c|0)>=(i|0)|(c|0)>(i|0)}b=h+40|0;Th(k,b);Th(h+56|0,b);f=0;p=D[C[b>>2]+5|0]&4;continue}}C[a+80>>2]=-1;C[a+84>>2]=-1;tm(h+56|0);Jh(n);ri(a+592|0);C[a+88>>2]=2;d=-137;break a}C[a+80>>2]=b;C[a+84>>2]=c;tm(h+56|0);C[a+112>>2]=0;C[a+116>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0;d=0}Ce=h+416|0;return d}function $h(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=35;a:{if(!a|!C[a+88>>2]){break a}d=C[a+84>>2];if(!d){break a}e=C[d+156>>2];b:{if(!(!e|!(A[e+4|0]&1))){e=C[C[d+4>>2]+100>>2];f=C[d+88>>2];if(f){Fe[C[e+8>>2]](e,f)}C[d+88>>2]=0;e=C[d+156>>2];C[e+4>>2]=C[e+4>>2]&-2;break b}C[d+88>>2]=0}C[d+24>>2]=0;C[d+28>>2]=0;C[d+72>>2]=0;C[d+76>>2]=0;C[d+100>>2]=0;C[d+104>>2]=0;A[d+94|0]=0;C[d+32>>2]=0;C[d+36>>2]=0;C[d+40>>2]=0;C[d+44>>2]=0;C[d+48>>2]=0;C[d+52>>2]=0;C[d+56>>2]=0;C[d+60>>2]=0;C[d+80>>2]=0;C[d+84>>2]=0;C[d+108>>2]=0;C[d+112>>2]=0;C[d+116>>2]=0;C[d+120>>2]=0;C[d+124>>2]=0;C[d+128>>2]=0;C[d+132>>2]=0;C[d+136>>2]=0;C[d+140>>2]=0;C[d+144>>2]=0;C[d+148>>2]=0;C[d+152>>2]=0;c=c&1024?c|2049:c;h=c&1?c&-15|10:c;g=h&2;c:{d:{c=C[a+96>>2];e=C[C[c+4>>2]+160>>2];if(h&32768|(g|!e)){break d}j=C[C[c>>2]>>2];if((j&768)!=256){break d}f=C[a+8>>2];if(f&8192){break d}e:{if(h&2048){break e}k=C[a+128>>2];i=C[k>>2];if(!C[k+8>>2]){if(i){break e}break d}if(i){break d}}if(!(!(j&1024)|h&32|(D[C[a+128>>2]+52|0]|(h&983040)==65536))){if(!(f&8)|!C[a+696>>2]|(E[a+286>>1]|C[a+628>>2])){break d}if(C[a+636>>2]){break d}}f:{if(!(f&2)|h&8){break f}if(Fe[C[C[c+12>>2]+72>>2]](d,C[a+88>>2],b,h|16384)|0){break f}c=0;if(C[d+72>>2]==1651078259){break c}}f=C[a+128>>2];g=C[f+24>>2];C[f+24>>2]=0;c=Fe[C[C[C[e>>2]+20>>2]+12>>2]](e,d,C[a+88>>2],b,h)|0;C[f+24>>2]=g;break c}e=Fe[C[C[c+12>>2]+72>>2]](d,C[a+88>>2],b,h)|0;if(e){break a}c=0;if(C[d+72>>2]!=1869968492){break c}e=d+108|0;g:{h:{if(!e){break h}f=B[e+2>>1];i=B[e>>1];b=0;if(!((f|i)&65535)){break g}if((f|0)<=0|(i|0)<=0){break h}j=C[e+12>>2];e=-1;b=0;while(1){k=e;e=B[j+(b<<1)>>1];if((k|0)>=(e|0)|(e|0)>=(f|0)){break h}b=b+1|0;if((i|0)!=(b|0)){continue}break}b=0;if((f-1|0)==(e|0)){break g}}b=6}e=b;if(e){break a}if(g){break c}i:{if(h&16){C[d+32>>2]=C[d+32>>2]&-64;b=C[d+44>>2];e=b&-64;C[d+44>>2]=e;f=C[d+48>>2];g=f&-64;C[d+48>>2]=g;C[d+36>>2]=C[d+36>>2]+63&-64;C[d+24>>2]=((b+C[d+24>>2]|0)+63&-64)-e;C[d+28>>2]=((f+C[d+28>>2]|0)+63&-64)-g;break i}C[d+44>>2]=C[d+44>>2]&-64;C[d+48>>2]=C[d+48>>2]&-64;b=C[d+32>>2];e=b&-64;C[d+32>>2]=e;f=C[d+36>>2];g=f+63&-64;C[d+36>>2]=g;C[d+28>>2]=g-(f-C[d+28>>2]&-64);C[d+24>>2]=((b+C[d+24>>2]|0)+63&-64)-e}C[d+40>>2]=C[d+40>>2]+32&-64;C[d+52>>2]=C[d+52>>2]+32&-64}j:{if(h&16){e=C[d+52>>2];b=0;break j}e=0;b=C[d+40>>2]}C[d+64>>2]=b;C[d+68>>2]=e;if(!(!(A[a+8|0]&1)|h&8192)){b=C[a+88>>2];l=d,m=of(C[d+56>>2],C[b+16>>2],64),C[l+56>>2]=m;l=d,m=of(C[d+60>>2],C[b+20>>2],64),C[l+60>>2]=m}k:{if(h&2048){break k}g=C[a+128>>2];f=C[g+24>>2];if(!f){break k}i=d- -64|0;l:{m:{a=C[C[C[d+4>>2]+96>>2]+4>>2];e=C[a+156>>2];n:{if(!e){b=C[d+72>>2];break n}b=C[d+72>>2];if((b|0)==C[e+16>>2]){break m}}a=C[a+148>>2];if(a){while(1){e=C[a+8>>2];if(C[e+16>>2]==(b|0)){break m}a=C[a+4>>2];if(a){continue}break}}o:{if((b|0)!=1869968492){break o}if(f&1){Ui(d+108|0,g);f=C[g+24>>2]}if(!(f&2)){break o}Pg(d+108|0,C[g+16>>2],C[g+20>>2])}break l}c=Fe[C[C[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}Yh(i,g)}e=c;if(e){break a}e=0;a=C[d+72>>2];if(!(h&4)|((a|0)==1651078259|(a|0)==1668246896)){break a}a=h>>>16&15;e=dy(d,a?a:h>>>11&2)}return e}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,j=0,k=0,l=0,m=0,n=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}}c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(c>>>0<2){break a}i=c>>>1|0;d=i-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=i&3;if(f){while(1){e=E[c>>1];B[c>>1]=e<<8|e>>>8;c=c+2|0;i=i-1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}if(d>>>0<3){break a}while(1){d=E[c>>1];B[c>>1]=d<<8|d>>>8;d=E[c+2>>1];B[c+2>>1]=d<<8|d>>>8;d=E[c+4>>1];B[c+4>>1]=d<<8|d>>>8;d=E[c+6>>1];B[c+6>>1]=d<<8|d>>>8;c=c+8|0;i=i-4|0;if(i){continue}break}break a}c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(c>>>0<4){break a}h=c>>>2|0;f=h-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h&3;if(e){while(1){d=C[c>>2];C[c>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0;h=h-1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(f>>>0<3){break a}while(1){d=C[c>>2];C[c>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=C[c+4>>2];C[c+4>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=C[c+8>>2];C[c+8>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=C[c+12>>2];C[c+12>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+16|0;h=h-4|0;if(h){continue}break}break a}if((c|0)!=64){break a}c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(c>>>0<8){break a}i=c>>>3|0;m=i-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);k=i&3;if(k){while(1){e=C[c>>2];l=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;n=g<<24;j=e&-16777216;g=j>>>24|0;f=C[c+4>>2];C[c>>2]=n|j<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|l;d=0;C[c+4>>2]=e|(d|d);c=c+8|0;i=i-1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}if(m>>>0<3){break a}while(1){e=C[c>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;l=g<<24;h=e&-16777216;g=h>>>24|0;f=C[c+4>>2];C[c>>2]=l|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;l=0;d=0;C[c+4>>2]=e|(l|(d|d));e=C[c+8>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;f=C[c+12>>2];k=g<<24;h=e&-16777216;g=h>>>24|0;C[c+8>>2]=k|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;d=0;C[c+12>>2]=e|(d|d|l);e=C[c+16>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;f=C[c+20>>2];k=g<<24;h=e&-16777216;g=h>>>24|0;C[c+16>>2]=k|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;d=0;C[c+20>>2]=e|(d|d|l);e=C[c+24>>2];j=e<<24|(e&65280)<<8;g=e&16711680;d=g>>>8|0;f=C[c+28>>2];k=g<<24;h=e&-16777216;g=h>>>24|0;C[c+24>>2]=k|h<<8|(((f&255)<<24|e>>>8)&-16777216|((f&16777215)<<8|e>>>24)&16711680|(f>>>8&65280|f>>>24));e=d|g|j;d=0;C[c+28>>2]=e|(d|d|l);c=c+32|0;i=i-4|0;if(i){continue}break}}c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b^4096)}}function Lv(a,b,c,d,e,f,g,h,i,j,k,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;n=Ce-112|0;Ce=n;C[n+104>>2]=h;C[n+108>>2]=i;C[n+88>>2]=-1;C[n+92>>2]=-1;w=C[a+456>>2];a:{b:{c:{x=!k|!l;if(x){break c}o=l;p=k;while(1){if(C[p>>2]!=(j|0)){p=p+4|0;o=o-1|0;if(o){continue}break c}break}if((j|0)!=(w|0)){q=f;r=g;while(1){C[n+100>>2]=w;q=$o(a,q,r,k,l,n+100|0,n+104|0);r=Ee;if(C[n+100>>2]!=(w|0)){continue}break}}h=m+1|0;C[a+52>>2]=h;d=C[a+56>>2];if(d){Re(d)}d=C[a+64>>2];if(d){Re(d)}d=C[a+60>>2];if(d){Re(d)}d=C[a+52>>2];A=a,B=kf((d<<3)+8|0),C[A+56>>2]=B;A=a,B=lf(C[a+72>>2],d<<5),C[A+72>>2]=B;A=a,B=lf(C[a+76>>2],C[a+52>>2]<<4),C[A+76>>2]=B;d=C[a+52>>2];A=a,B=kf(d<<2),C[A+64>>2]=B;A=a,B=kf(d<<3),C[A+60>>2]=B;e=kf(d<<4);C[a+68>>2]=e;d=C[a+56>>2];a=d+(h<<3)|0;C[a>>2]=f;C[a+4>>2]=g;a=d+(m<<3)|0;C[a>>2]=b;C[a+4>>2]=c;b=e+(m<<4)|0;a=C[n+104>>2];d=a;c=C[n+108>>2];a=!!a&(c|0)>=0|(c|0)>0;C[b+8>>2]=a?d:0;C[b+12>>2]=a?c:0;break b}C[n+68>>2]=0;C[n+64>>2]=0;u=f;s=g;if(d>>>0>>0&(e|0)<=(s|0)|(e|0)<(s|0)){v=a+24|0;b=f;c=g;while(1){r=e;t=c-(e+(b>>>0>>0)|0)|0;q=d;if((t|0)>=0&b-d>>>0>=65536|(t|0)>0){r=c+e|0;q=b+d|0;r=q>>>0>>0?r+1|0:r;q=nT(q,r,2,0);r=Ee}p=C[a>>2];if(!p){o=-129;break a}if(C[a+8>>2]!=(q|0)|C[a+12>>2]!=(r|0)){o=-128;t=C[a+708>>2];if(!t){break a}if((Fe[t|0](p,q,r,0)|0)==-1){break a}C[a+8>>2]=q;C[a+12>>2]=r;if(C[v+4>>2]>=0){C[v+8>>2]=0;C[v+12>>2]=0;C[v+24>>2]=0;C[v+16>>2]=0;C[v+20>>2]=0}}t=Lg(a,n+72|0,-1,-1);p=Ee;y=p;if((t|0)==-128&(p|0)==-1){o=-128;break a}d:{if((y|0)<0){b=q;c=r;break d}p=C[n+72>>2];z=D[p+14|0]|D[p+15|0]<<8|(D[p+16|0]<<16|D[p+17|0]<<24);o=l;p=k;e:{if(x){break e}while(1){if((z|0)!=C[p>>2]){p=p+4|0;o=o-1|0;if(o){continue}break e}break}d=C[a+8>>2];e=C[a+12>>2];break d}b=q;c=r;u=t;s=y}if(b>>>0>d>>>0&(c|0)>=(e|0)|(c|0)>(e|0)){continue}break}}q=u;r=s;while(1){C[n+12>>2]=w;q=$o(a,q,r,k,l,n+12|0,n+88|0);r=Ee;if(C[n+12>>2]!=(w|0)){continue}break}c=C[a>>2];if(!c){o=-129;break a}if(C[a+8>>2]!=(u|0)|C[a+12>>2]!=(s|0)){o=-128;b=C[a+708>>2];if(!b){break a}if((Fe[b|0](c,u,s,0)|0)==-1){break a}C[a+8>>2]=u;C[a+12>>2]=s;if(C[a+28>>2]>=0){C[a+32>>2]=0;C[a+36>>2]=0;C[a+48>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0}}o=ap(a,n+32|0,n+16|0,n+68|0,n- -64|0,0);if(o){break a}c=C[a+8>>2];l=C[a+12>>2];k=C[a+456>>2];b=Nv(a,n+32|0);q=Ee;d=f;f=m+1|0;o=Lv(a,u,s,C[a+8>>2],C[a+12>>2],d,g,h,i,j,C[n+68>>2],C[n+64>>2],f);if(o){break a}d=C[n+68>>2];if(d){Re(d)}e=f<<3;d=e+C[a+56>>2]|0;C[d>>2]=u;C[d+4>>2]=s;C[C[a+64>>2]+(f<<2)>>2]=k;d=e+C[a+60>>2]|0;C[d>>2]=c;C[d+4>>2]=l;c=C[n+36>>2];d=C[a+72>>2]+(f<<5)|0;C[d>>2]=C[n+32>>2];C[d+4>>2]=c;c=C[n+60>>2];C[d+24>>2]=C[n+56>>2];C[d+28>>2]=c;c=C[n+52>>2];C[d+16>>2]=C[n+48>>2];C[d+20>>2]=c;c=C[n+44>>2];C[d+8>>2]=C[n+40>>2];C[d+12>>2]=c;c=C[n+20>>2];d=C[a+76>>2]+(f<<4)|0;C[d>>2]=C[n+16>>2];C[d+4>>2]=c;c=C[n+28>>2];C[d+8>>2]=C[n+24>>2];C[d+12>>2]=c;d=C[n+88>>2];c=C[n+92>>2];e=C[a+68>>2]+(m<<4)|0;C[e+16>>2]=b;C[e+20>>2]=q;C[e+8>>2]=d;C[e+12>>2]=c;c=C[e+24>>2];a=c-b|0;d=a;b=C[e+28>>2]-((b>>>0>c>>>0)+q|0)|0;a=!!a&(b|0)>=0|(b|0)>0;C[e+24>>2]=a?d:0;C[e+28>>2]=a?b:0}o=0}Ce=n+112|0;return o}function Gh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;r=Ce-16|0;Ce=r;o(+b);g=j(1)|0;h=j(0)|0;o(+a);e=j(1)|0;c=j(0)|0;t=g>>>20|0;u=t&2047;v=u-1086|0;k=e>>>20|0;a:{b:{if(v>>>0>4294967167&k-2047>>>0>=4294965250){break b}f=(g<<1|h>>>31)+2097152|0;if(!(h<<1)&(f|0)==2097152|f>>>0<2097152){d=1;if(!c&(e|0)==1072693248){break a}f=g<<1|h>>>31;h=h<<1;if(!(f|h)){break a}h=!h&(f|0)==-2097152|f>>>0<4292870144;f=e<<1|c>>>31;c=c<<1;if(!(h&(!c&(f|0)==-2097152|f>>>0<4292870144))){d=a+b;break a}if(!c&(f|0)==2145386496){break a}d=((g|0)>0|(g|0)>=0)^f>>>0>2145386495?0:b*b;break a}f=(e<<1|c>>>31)+2097152|0;if(!(c<<1)&(f|0)==2097152|f>>>0<2097152){d=a*a;if((e|0)<0){d=(Vu(h,g)|0)==1?-d:d}if((g|0)>0|(g|0)>=0){break a}c=Ce-16|0;H[c+8>>3]=1/d;d=H[c+8>>3];break a}if((e|0)<0){f=Vu(h,g);if(!f){a=a-a;d=a/a;break a}k=k&2047;s=((f|0)==1)<<18;e=e&2147483647}if(v>>>0<=4294967167){d=1;if(!c&(e|0)==1072693248){break a}if(u>>>0<=957){d=((e|0)==1072693248&(c|0)!=0|e>>>0>1072693248?b:-b)+1;break a}if((!c&(e|0)==1072693248|e>>>0<1072693248)!=(t>>>0<2048|0)){c=Ce-16|0;H[c+8>>3]=3105036184601418e216;d=H[c+8>>3]*3105036184601418e216;break a}c=Ce-16|0;H[c+8>>3]=12882297539194267e-247;d=H[c+8>>3]*12882297539194267e-247;break a}if(k){break b}o(+(a*4503599627370496));e=j(1)|0;c=j(0)|0;e=(e&2147483647)-54525952|0}l(0,h&-134217728);l(1,g|0);w=+n();g=e-1072076117|0;h=g;m=+(g>>20);f=(g>>>13&127)<<5;z=m*H[46199]+H[f+369680>>3];k=0;g=c-k|0;e=e-((h&-1048576)+(c>>>0>>0)|0)|0;c=e;l(0,0);l(1,(g- -2147483648>>>0<2147483648?c+1|0:c)|0);a=+n();i=H[f+369656>>3];d=a*i+-1;l(0,g|0);l(1,c|0);x=(+n()-a)*i;a=d+x;p=H[46200];i=a*p;y=m*H[46198]+H[f+369672>>3];m=a+y;q=d;d=d*p;q=q*d;p=m+q;q=z+(a+(y-m))+x*(i+d)+(q+(m-p));d=a*i;a=q+a*d*(d*(d*(a*H[46206]+H[46205])+(a*H[46204]+H[46203]))+(a*H[46202]+H[46201]));d=p+a;H[r+8>>3]=a+(p-d);o(+d);c=j(1)|0;l(0,j(0)&-134217728);l(1,c|0);i=+n();a=w*i;b=(b-w)*i+(H[r+8>>3]+(d-i))*b;o(+a);c=j(1)|0;j(0)|0;c:{d:{k=c>>>20&2047;if(k-969>>>0<63){break d}if(k>>>0<969){a=a+1;d=s?-a:a;break c}c=k>>>0<1033;k=0;if(c){break d}o(+a);c=j(1)|0;j(0)|0;if((c|0)<0){c=Ce-16|0;H[c+8>>3]=s?-12882297539194267e-247:12882297539194267e-247;d=H[c+8>>3]*12882297539194267e-247;break c}c=Ce-16|0;H[c+8>>3]=s?-3105036184601418e216:3105036184601418e216;d=H[c+8>>3]*3105036184601418e216;break c}d=H[45399];i=H[45398]*a+d;d=i-d;a=d*H[45401]+(d*H[45400]+a)+b;b=a*a;d=b*b*(a*H[45405]+H[45404]);b=b*(a*H[45403]+H[45402]);o(+i);j(1)|0;g=j(0)|0;e=g<<4&2032;a=d+(b+(H[e+363296>>3]+a));e=e+363304|0;f=C[e>>2];h=C[e+4>>2];e=g+s|0;c=f;f=e<<13;e=0;c=c+e|0;f=f+h|0;f=c>>>0>>0?f+1|0:f;if(!k){e:{if(!(g&-2147483648)){l(0,c|0);l(1,f-1058013184|0);b=+n();d=(b*a+b)*5486124068793689e288;break e}l(0,c|0);e=f+1071644672|0;l(1,e|0);b=+n();i=b*a;a=i+b;if(K(a)<1){c=Ce-16|0;H[c+8>>3]=22250738585072014e-324;H[c+8>>3]=H[c+8>>3]*22250738585072014e-324;l(0,0);l(1,e&-2147483648);d=a<0?-1:1;m=a+d;a=m+(i+(b-a)+(a+(d-m)))-d;a=(A=+n(),B=a,D=a==0,D?A:B)}d=a*22250738585072014e-324}break c}l(0,c|0);l(1,f|0);b=+n();d=b*a+b}}Ce=r+16|0;return d}function lv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{j=D[a+431|0];if(j){d=C[a+344>>2];g=C[a+392>>2];if((g|0)!=((j>>>0>=8?I(j>>>3|0,d):I(d,j)+7>>>3|0)|0)?g:0){break c}if(!d){break b}g=C[a+380>>2];l=D[a+421|0];k=I(d,j);e=k&7;h=0;d:{if(!e){break d}i=((j>>>0>7?I(j>>>3|0,d):k+7>>>3|0)+b|0)-1|0;m=D[i|0];h=255<>>e|0}g=g+1|0;e:{f:{g:{if(!D[a+420|0]){break g}f=C[a+212>>2];if(!(f&2)|l>>>0>5){break g}h:{i:{switch(c|0){case 0:e=l&1;break h;case 1:break i;default:break g}}e=1;if(!(l&1)){break g}}k=e<<3-(l+1>>>1|0)&7;if(k>>>0>=d>>>0){break e}if(j>>>0<=7){k=(j|0)!=1?(j|0)==2?1:2:0;e=8/(j>>>0)|0;j:{if(f&65536){a=(I(k,12)+(l<<1&508)|0)+351632|0;if(c){break j}a=(I(k,24)+(l<<2)|0)+351488|0;break j}a=(I(k,12)+(l<<1&508)|0)+351668|0;if(c){break j}a=(I(k,24)+(l<<2)|0)+351560|0}a=C[a>>2];while(1){c=a&255;if(c){if((c|0)!=255){c=D[g|0]&a|D[b|0]&(a^-1)}else{c=D[g|0]}A[b|0]=c}if(d>>>0<=e>>>0){break f}a=rT(a,24);g=g+1|0;b=b+1|0;d=d-e|0;continue}}if(j&7){break a}e=j>>>3|0;h=I(e,d-k|0);i=e;if(c){a=e<<(6-l>>>1);i=a>>>0>>0?a:h}c=I(e,k);a=c+g|0;d=b+c|0;f=e<<(7-l>>>1);k:{switch(i-1|0){case 2:A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];if(f>>>0>=h>>>0){break e}while(1){d=d+f|0;a=a+f|0;A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];h=h-f|0;if(f>>>0>>0){continue}break};break e;case 0:A[d|0]=D[a|0];if(f>>>0>=h>>>0){break e}while(1){d=d+f|0;a=a+f|0;A[d|0]=D[a|0];h=h-f|0;if(f>>>0>>0){continue}break};break e;case 1:while(1){A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];if(f>>>0>=h>>>0){break e}d=d+f|0;a=a+f|0;h=h-f|0;if(h>>>0>1){continue}break};A[d|0]=D[a|0];return;default:break k}}if(!((f|(a|i))&1|(d&1|i>>>0>15))){b=f-i|0;if(!(f&3|((d|i)&3|a&3))){g=0;b=b&-4;e=h;while(1){c=g;g=i;while(1){C[d>>2]=C[a>>2];d=d+4|0;a=a+4|0;g=g-4|0;if(g){continue}break}if(f>>>0>=e>>>0){break e}g=c+1|0;d=b+d|0;a=a+b|0;e=e-f|0;if(i>>>0<=e>>>0){continue}break}g=e&7;if(g){b=0;while(1){A[d|0]=D[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(((f^-1)+h|0)-I(c,f)>>>0<7){break e}while(1){A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];A[d+3|0]=D[a+3|0];A[d+4|0]=D[a+4|0];A[d+5|0]=D[a+5|0];A[d+6|0]=D[a+6|0];A[d+7|0]=D[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}g=0;b=b&-2;e=h;while(1){c=g;g=i;while(1){B[d>>1]=E[a>>1];d=d+2|0;a=a+2|0;g=g-2|0;if(g){continue}break}if(f>>>0>=e>>>0){break e}g=c+1|0;d=b+d|0;a=a+b|0;e=e-f|0;if(i>>>0<=e>>>0){continue}break}g=e&7;if(g){b=0;while(1){A[d|0]=D[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(((f^-1)+h|0)-I(c,f)>>>0<7){break e}while(1){A[d|0]=D[a|0];A[d+1|0]=D[a+1|0];A[d+2|0]=D[a+2|0];A[d+3|0]=D[a+3|0];A[d+4|0]=D[a+4|0];A[d+5|0]=D[a+5|0];A[d+6|0]=D[a+6|0];A[d+7|0]=D[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}jf(d,a,i);if(f>>>0>=h>>>0){break e}while(1){d=d+f|0;a=a+f|0;h=h-f|0;i=h>>>0>i>>>0?i:h;jf(d,a,i);if(f>>>0>>0){continue}break}break e}jf(b,g,j>>>0>7?I(j>>>3|0,d):k+7>>>3|0)}if(!i){break e}A[i|0]=D[i|0]&(h^-1)|h&m}return}Af(a,9204);s()}Af(a,9096);s()}Af(a,9179);s()}Af(a,14688);s()}function cA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=J(0),g=0,h=0,i=0,k=J(0),m=0,n=0,o=0,p=0,q=0,r=J(0),s=J(0),t=0;g=C[a+412>>2];if(g){h=C[g+4>>2];h=(h|0)==372645892|(h|0)==370546692}a=ii(a,I(d,12),b+4|0);if(!a){return-1}n=D[b+15|0];o=D[b+13|0];C[b+8>>2]=d;g=D[b+12|0];f=G[c>>2];e=G[c+4>>2];b=D[b+14|0];A[a+11|0]=n;p=h?g:b;A[a+10|0]=p;A[a+9|0]=o;q=h?b:g;A[a+8|0]=q;e=J(e+J(.5));G[a+4>>2]=e;k=J(f+J(.5));G[a>>2]=k;if((d|0)>=2){b=1;while(1){h=(b<<3)+c|0;r=J(G[h+4>>2]+J(.5));f=J(r-e);s=J(G[h>>2]+J(.5));k=J(s-k);e=J(f+k);a:{if(!(((w(f),j(2))&2147483647)>>>0<2139095041&((w(k),j(2))&2147483647)>>>0<=2139095040)){break a}i=(w(k),j(2));if((i|0)==1065353216){e=hv(f);break a}t=i>>>30&2;g=(w(f),j(2));h=t|g>>>31;b:{g=g&2147483647;c:{if(!g){d:{switch(h-2|0){case 0:e=J(3.1415927410125732);break a;case 1:break d;default:break c}}e=J(-3.1415927410125732);break a}i=i&2147483647;if((i|0)!=2139095040){e=(l(2,(w(f),j(2))&-2147483648|1070141403),v());if(!i){break a}e=(l(2,(w(f),j(2))&-2147483648|1070141403),v());if(!((g|0)!=2139095040&i+218103808>>>0>=g>>>0)){break a}e:{if(t){e=J(0);if(i>>>0>g+218103808>>>0){break e}}e=hv(J(K(J(f/k))))}f=e;f:{switch(h|0){case 1:e=J(-f);break a;case 2:e=J(J(3.1415927410125732)-J(f+J(8.742277657347586e-8)));break a;case 0:break c;default:break f}}e=J(J(f+J(8.742277657347586e-8))+J(-3.1415927410125732));break a}if((g|0)==2139095040){break b}f=G[(h<<2)+360288>>2]}e=f;break a}e=G[(h<<2)+360272>>2]}h=Ce-16|0;Ce=h;i=(w(e),j(2));g=i&2147483647;g:{if(g>>>0<=1061752794){f=J(1);if(g>>>0<964689920){break g}f=Ih(+e);break g}if(g>>>0<=1081824209){if(g>>>0>=1075235812){f=J(-Ih(((i|0)<0?3.141592653589793:-3.141592653589793)+ +e));break g}m=+e;if((i|0)<0){f=Hh(m+1.5707963267948966);break g}f=Hh(1.5707963267948966-m);break g}if(g>>>0<=1088565717){if(g>>>0>=1085271520){f=Ih(((i|0)<0?6.283185307179586:-6.283185307179586)+ +e);break g}if((i|0)<0){f=Hh(-4.71238898038469-+e);break g}f=Hh(+e+-4.71238898038469);break g}f=J(e-e);if(g>>>0>=2139095040){break g}h:{switch(dv(e,h+8|0)&3){case 0:f=Ih(H[h+8>>3]);break g;case 1:f=Hh(-H[h+8>>3]);break g;case 2:f=J(-Ih(H[h+8>>3]));break g;default:break h}}f=Hh(H[h+8>>3])}Ce=h+16|0;h=Ce-16|0;Ce=h;i=(w(e),j(2));g=i&2147483647;i:{if(g>>>0<=1061752794){if(g>>>0<964689920){break i}e=Hh(+e);break i}if(g>>>0<=1081824209){m=+e;if(g>>>0<=1075235811){if((i|0)<0){e=J(-Ih(m+1.5707963267948966));break i}e=Ih(m+-1.5707963267948966);break i}e=Hh(-(((i|0)>=0?-3.141592653589793:3.141592653589793)+m));break i}if(g>>>0<=1088565717){if(g>>>0<=1085271519){m=+e;if((i|0)<0){e=Ih(m+4.71238898038469);break i}e=J(-Ih(m+-4.71238898038469));break i}e=Hh(((i|0)<0?6.283185307179586:-6.283185307179586)+ +e);break i}if(g>>>0>=2139095040){e=J(e-e);break i}j:{switch(dv(e,h+8|0)&3){case 0:e=Hh(H[h+8>>3]);break i;case 1:e=Ih(H[h+8>>3]);break i;case 2:e=Hh(-H[h+8>>3]);break i;default:break j}}e=J(-Ih(H[h+8>>3]))}Ce=h+16|0;A[a+23|0]=n;A[a+22|0]=p;A[a+21|0]=o;A[a+20|0]=q;k=J(J(f*J(.25))+s);G[a+12>>2]=k;e=J(J(e*J(.25))+r);G[a+16>>2]=e;a=a+12|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Sp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=Ce-320|0;Ce=d;e=6;a:{if(!c|(!a|!b)){break a}b:{c:{h=C[b>>2];if((C[a+8>>2]-h|0)+1>>>0>2){break c}o=C[b+4>>2];if((C[a+12>>2]-o|0)+1>>>0>2|(h-C[c>>2]|0)+1>>>0>2|(o-C[c+4>>2]|0)+1>>>0>2){break c}break b}h=C[c+4>>2];C[d+32>>2]=C[c>>2];C[d+36>>2]=h;h=C[b+4>>2];C[d+40>>2]=C[b>>2];C[d+44>>2]=h;b=C[a+12>>2];C[d+48>>2]=C[a+8>>2];C[d+52>>2]=b;o=a- -64|0;g=d+32|0;e=1;while(1){b=C[a>>2];v=d+32|0;d:{e:{if(m>>>0>29){h=b;break e}f=C[g+12>>2];p=C[g+20>>2];h=f-p|0;r=C[g>>2];i=C[g+8>>2];j=r-i|0;s=C[((d+32|0)+(m<<3)|0)+4>>2];k=s-f|0;n=j+1>>>0<3&k+1>>>0<3;q=C[g+16>>2];l=i-q|0;f:{if(!(l+1>>>0>2|h+1>>>0>2)){h=b;if(n){break f}b=Cg(j,k);h=b;break f}b=Cg(l,h);h=b;if(n){break f}h=Cg(j,k)}k=gg(b,h);j=k>>31;if((j^k)-j>>>0<1966080){break e}if(D[a+20|0]){C[a>>2]=b}C[g+32>>2]=q;C[g+36>>2]=p;b=(i+q|0)/2|0;C[g+24>>2]=b;h=(i+r|0)/2|0;C[g+8>>2]=h;i=(f+p|0)/2|0;C[g+28>>2]=i;f=(f+s|0)/2|0;C[g+12>>2]=f;C[g+16>>2]=(b+h|0)/2;C[g+20>>2]=(f+i|0)/2;m=m+2|0;break d}g:{h:{if(e&255){if(D[a+20|0]){e=Tp(a,b,0);break h}C[a+4>>2]=b;f=gg(C[a>>2],b);if(!f){break g}gg(C[a>>2],C[a+4>>2]);e=d+312|0;Vf(e,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[d+312>>2]=C[d+312>>2]+C[a+8>>2];C[d+316>>2]=C[d+316>>2]+C[a+12>>2];i=o+(f>>>26&32)|0;A[i+16|0]=0;e=ig(i,e,0);if(e){break a}e=gk(a,(f^-1)>>>31|0,0);break h}e=gg(C[a>>2],b);f=e>>31;if((e^f)-f>>>0<491521){break g}f=C[g+20>>2];i=C[g+16>>2];e=0;C[a+48>>2]=0;C[a+4>>2]=b;C[a+8>>2]=i;C[a+12>>2]=f;f=gg(C[a>>2],b);i:{if(!f){break i}gg(C[a>>2],C[a+4>>2]);e=d+312|0;Vf(e,C[a+60>>2],C[a+4>>2]+((f|0)<0?-5898240:5898240)|0);C[d+312>>2]=C[d+312>>2]+C[a+8>>2];C[d+316>>2]=C[d+316>>2]+C[a+12>>2];i=o+(f>>>26&32)|0;A[i+16|0]=0;e=ig(i,e,0);if(e){break i}e=gk(a,(f^-1)>>>31|0,0)}C[a+48>>2]=C[a+52>>2]}if(e){break a}}f=gg(b,h);e=(f|0)/2|0;q=Ze(C[a+60>>2],fk(e));if(D[a+40|0]){p=Cg(C[g>>2]-C[g+16>>2]|0,C[((d+32|0)+(m<<3)|0)+4>>2]-C[g+20>>2]|0)}else{p=0}r=b+e|0;s=(d+32|0)+(m<<3)|4;e=5898240;i=1;b=o;while(1){Vf(d+312|0,q,e+r|0);C[d+312>>2]=C[d+312>>2]+C[g+8>>2];C[d+316>>2]=C[d+316>>2]+C[g+12>>2];Vf(d+24|0,C[a+60>>2],e+h|0);k=C[g>>2];j=k+C[d+24>>2]|0;C[d+24>>2]=j;n=C[s>>2];l=n+C[d+28>>2]|0;C[d+28>>2]=l;j:{k:{if(!D[a+40|0]){break k}e=(C[b+8>>2]+(C[b>>2]<<3)|0)-8|0;f=C[e>>2];e=C[e+4>>2];C[d+16>>2]=f;C[d+20>>2]=e;l=Cg(j-f|0,l-e|0);t=gg(p,l);j=t>>31;if((j^t)-j>>>0<=5898240){break k}j=Cg(C[g+16>>2]-f|0,C[g+20>>2]-e|0);k=Cg(k-C[d+24>>2]|0,n-C[d+28>>2]|0);C[d+8>>2]=C[d+24>>2]-f;C[d+12>>2]=C[d+28>>2]-e;t=Im(d+8|0);l=ek(l-k|0);n=l>>31;u=ek(j-k|0);k=u>>31;Vf(d,of(t,(n^l)-n|0,(k^u)-k|0),j);C[d>>2]=f+C[d>>2];C[d+4>>2]=e+C[d+4>>2];A[b+16|0]=0;e=ig(b,d,0);if(e){break a}e=ig(b,d+24|0,0);if(e){break a}e=Lx(b,d+312|0,d+16|0);if(e){break a}e=ig(b,d+24|0,0);if(!e){break j}break a}e=Lx(b,d+312|0,d+24|0);if(e){break a}}b=b+32|0;f=i;e=-5898240;i=0;if(f){continue}break}C[a>>2]=h;e=0;m=m-2|0}g=v+(m<<3)|0;if((m|0)>=0){continue}break}}b=C[c+4>>2];C[a+8>>2]=C[c>>2];C[a+12>>2]=b;e=0}Ce=d+320|0;return e}function jt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e=D[a|0]|D[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}e:{f:{g:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break f}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=lf(C[d+8>>2],I(b,20));if(e){break g}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break e}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Gg(b,a,163);return}h:{i:{j:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break i}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=lf(C[d+8>>2],I(b,20));if(e){break j}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break h}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Gg(b,a,164);return}k:{l:{m:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){e=C[c+4>>2];f=e+1|0;f=(f|0)>0?f:0;if(f>>>0<=b>>>0){break l}while(1){b=((b>>>1|0)+b|0)+8|0;if(f>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=lf(C[c+8>>2],I(b,20));if(e){break m}}C[c>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;e=417712;break k}C[c>>2]=b;C[c+8>>2]=e;e=C[c+4>>2]}if(e>>>0>>0){We(C[c+8>>2]+I(e,20)|0,0,I(f-e|0,20))}C[c+4>>2]=f;e=(C[c+8>>2]+I(f,20)|0)-20|0}C[e+8>>2]=0;C[e+12>>2]=0;C[e+4>>2]=165;C[e>>2]=a;C[e+16>>2]=0;b=84608;c=e+8|0;f=D[a+2|0]|D[a+3|0]<<8;f=(a+2|0)+(((f<<8|f>>>8)&65535)<<1)|0;f=D[f+2|0]|D[f+3|0]<<8?f+4|0:84608;f=D[f|0]|D[f+1|0]<<8;if(f){b=((f<<8|f>>>8)&65535)+a|0}n:{o:{p:{q:{a=D[b|0]|D[b+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}f=D[b+2|0]|D[b+3|0]<<8;if(!f){break n}a=b+4|0;f=(f<<8|f>>>8)&65535;h=f&1;i=f-1|0;r:{if(!i){b=a;break r}k=f&65534;b=a;while(1){j=d;d=D[b|0]|D[b+1|0]<<8;j=j|1<<(d>>>12|d<<4);d=D[b+2|0]|D[b+3|0]<<8;d=j|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(h){b=D[b|0]|D[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}C[c>>2]=d;g=0;b=a;d=0;if(i>>>0>=3){h=f&65532;c=0;while(1){d=1<>2]=d;c=f&3;d=0;if(i>>>0<3){b=0;break o}f=f&65532;b=0;g=0;while(1){b=1<<((D[a|0]|D[a+1|0]<<8)>>>1)|b|1<<((D[a+2|0]|D[a+3|0]<<8)>>>1)|1<<((D[a+4|0]|D[a+5|0]<<8)>>>1)|1<<((D[a+6|0]|D[a+7|0]<<8)>>>1);a=a+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}Dk(b,c);break n}if(c){while(1){b=1<<((D[a|0]|D[a+1|0]<<8)>>>1)|b;a=a+2|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}C[e+16>>2]=b}}}function qv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=C[a>>2];e=D[a+8|0];a:{b:{if(!e){i=c?E[c+8>>1]:0;d=D[a+9|0];if(d>>>0<=7){c:{d:{switch(d-1|0){case 0:i=0-(i&1)&255;if(!g){break c}e=b+g|0;d=0-g&7;h=g-1|0;f=(h>>>3|0)+b|0;if(h){k=g&-2;h=0;while(1){A[e-1|0]=D[f|0]>>>d&1?-1:0;e=e-2|0;j=f;f=(d|0)==7;j=j-f|0;d=f?0:d+1|0;A[e|0]=D[j|0]>>>d&1?-1:0;f=(d|0)==7;d=f?0:d+1|0;f=j-f|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!(g&1)){break c}A[e-1|0]=D[f|0]>>>d&1?-1:0;break c;case 1:i=I(i&3,85);if(!g){break c}e=b+g|0;h=g-1|0;f=(h>>>2|0)+b|0;d=((g<<1)+6^-1)&6;if(h){k=g&-2;h=0;while(1){A[e-1|0]=I(D[f|0]>>>d&3,85);e=e-2|0;j=f;f=(d|0)==6;j=j-f|0;d=f?0:d+2|0;A[e|0]=I(D[j|0]>>>d&3,85);f=(d|0)==6;d=f?0:d+2|0;f=j-f|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!(g&1)){break c}A[e-1|0]=I(D[f|0]>>>d&3,85);break c;case 3:break d;default:break c}}i=I(i&15,17);if(!g){break c}e=b+g|0;d=g<<2&4;h=g-1|0;f=(h>>>1|0)+b|0;if(h){k=g&-2;h=0;while(1){A[e-1|0]=I(D[f|0]>>>d&15,17);e=e-2|0;j=(d|0)==4;f=f-j|0;d=(d|0)!=4;A[e|0]=I(D[f|0]>>>(d<<2)&15,17);f=f-d|0;d=j<<2;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!(g&1)){break c}A[e-1|0]=I(D[f|0]>>>d&15,17)}A[a+11|0]=8;A[a+9|0]=8;C[a+4>>2]=g;d=8}if(!c){break a}e:{f:{switch(d-8|0){case 0:if(!g){break e}e=b+g|0;d=(g<<1)+b|0;if((g|0)!=1){c=g&-2;b=i&255;f=0;while(1){h=e-1|0;A[d-1|0]=(b|0)!=D[h|0]?-1:0;A[d-2|0]=D[h|0];e=e-2|0;A[d-3|0]=(b|0)!=D[e|0]?-1:0;d=d-4|0;A[d|0]=D[e|0];f=f+2|0;if((c|0)!=(f|0)){continue}break}}if(!(g&1)){break e}b=e-1|0;A[d-1|0]=D[b|0]!=(i&255)?-1:0;A[d-2|0]=D[b|0];break e;case 8:break f;default:break e}}if(!g){break e}f=i>>>8|0;c=C[a+4>>2];e=c+b|0;d=(c<<1)+b|0;b=0;h=i&255;while(1){i=e-1|0;j=d-1|0;e=e-2|0;g:{if((f|0)==D[e|0]){c=0;if((h|0)==D[i|0]){break g}}c=255}A[j|0]=c;A[d-2|0]=c;A[d-3|0]=D[i|0];d=d-4|0;A[d|0]=D[e|0];b=b+1|0;if((g|0)!=(b|0)){continue}break}}A[a+10|0]=2;A[a+8|0]=4;b=D[a+9|0]<<1;A[a+11|0]=b;b=b&254;if(b>>>0>=8){b=I(b>>>3|0,g);break b}b=I(b,g)+7>>>3|0;break b}if(!c|(e|0)!=2){break a}h:{i:{switch(D[a+9|0]-8|0){case 0:if(!g){break h}e=C[a+4>>2]+b|0;d=(g<<2)+b|0;f=E[c+2>>1]&255;k=E[c+4>>1]&255;j=E[c+6>>1]&255;while(1){c=e-1|0;l=d-1|0;b=e-3|0;j:{if(!((f|0)!=D[b|0]|(k|0)!=D[e-2|0])){i=0;if((j|0)==D[c|0]){break j}}i=255}A[l|0]=i;A[d-2|0]=D[c|0];A[d-3|0]=D[e-2|0];d=d-4|0;A[d|0]=D[b|0];e=b;h=h+1|0;if((h|0)!=(g|0)){continue}break};break h;case 8:break i;default:break h}}if(!g){break h}h=E[c+6>>1];k=h>>>8|0;j=E[c+4>>1];l=j>>>8|0;c=E[c+2>>1];m=c>>>8|0;e=C[a+4>>2]+b|0;d=(g<<3)+b|0;b=0;n=c&255;while(1){f=e-1|0;o=d-1|0;c=e-6|0;k:{l:{if(D[c|0]!=(m|0)|D[e-5|0]!=(n|0)|(D[e-4|0]!=(l|0)|D[e-3|0]!=(j&255))){break l}if((k|0)!=D[e-2|0]){break l}i=0;if(D[f|0]==(h&255)){break k}}i=255}A[o|0]=i;A[d-2|0]=i;A[d-3|0]=D[f|0];A[d-4|0]=D[e-2|0];A[d-5|0]=D[e-3|0];A[d-6|0]=D[e-4|0];A[d-7|0]=D[e-5|0];d=d-8|0;A[d|0]=D[c|0];e=c;b=b+1|0;if((g|0)!=(b|0)){continue}break}}A[a+10|0]=4;A[a+8|0]=6;b=D[a+9|0]<<2;A[a+11|0]=b;b=b&252;if(b>>>0>=8){b=I(b>>>3|0,g);break b}b=I(b,g)+7>>>3|0}C[a+4>>2]=b}}function Cm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C[a+24>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+28>>2]=b;A[a+5|0]=0;A[a+6|0]=0;A[a+7|0]=0;A[a+8|0]=0;A[a+9|0]=0;A[a+10|0]=0;A[a+11|0]=0;A[a+12|0]=0;b=lu(b+52|0);c=D[b+50|0]|D[b+51|0]<<8;if(!(((c<<8|c>>>8)&65535)>>>0>1|(D[b+52|0]|D[b+53|0]<<8))){A[a+12|0]=!c;b=C[a+28>>2];Qf(b);b=Of(b,1819239265);a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}c=C[b+12>>2];Ue(b);if(C[b+4>>2]?c:0){C[b+4>>2]=0}C[a+20>>2]=b;b=C[a+28>>2];Qf(b);b=Of(b,1735162214);b:{if(!b){break b}c=C[b>>2];if(!c){break b}C[b>>2]=c+1}c=C[b+12>>2];Ue(b);if(C[b+4>>2]?c:0){C[b+4>>2]=0}C[a+24>>2]=b;c=Ce-48|0;Ce=c;h=C[a+28>>2]+120|0;e=C[h>>2];c:{if(e){break c}i=h-72|0;while(1){b=C[i>>2];if(!b){e=84608;break c}e=df(1,4);if(!e){e=84608;C[h>>2]=84608;break c}C[c+8>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;A[c+24|0]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;f=Qf(b);A[c+40|0]=1;C[c+36>>2]=f;b=Of(b,1735811442);d:{if(!b){break d}f=C[b>>2];if(!f){break d}C[b>>2]=f+1}f=b;A[c+24|0]=0;C[c+32>>2]=b;g=C[b+12>>2];C[c+4>>2]=g;d=C[b+16>>2];C[c+8>>2]=d+g;C[c+28>>2]=0;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[c+12>>2]=d;C[c+20>>2]=0;C[c>>2]=0;e:{f:{if(!g){break f}g:{h:{i:{j:{if(ho(g,c)){break j}k:{if(D[c+24|0]|!C[c+28>>2]){break k}f=Pf(b);C[c+4>>2]=f;C[c+8>>2]=f+C[b+16>>2];if(!f){break k}while(1){A[c+24|0]=1;f=C[c+32>>2];g=C[f+12>>2];C[c+4>>2]=g;d=C[f+16>>2];C[c+8>>2]=d+g;C[c+28>>2]=0;if(d>>>0<=67108862){d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}else{d=1073741823}C[c+12>>2]=d;C[c+20>>2]=0;C[c>>2]=0;if(!g){break f}if(ho(g,c)){break j}if(D[c+24|0]|!C[c+28>>2]){break k}f=Pf(b);C[c+4>>2]=f;C[c+8>>2]=f+C[b+16>>2];if(f){continue}break}}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break i}if(!C[c+28>>2]){break h}C[c+28>>2]=0;f=ho(g,c);g=C[c+28>>2];Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if(g){break i}if(f){break g}}Ue(b);b=84608;break e}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}break e}Ue(f);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}C[e>>2]=b;if(!C[h>>2]){C[h>>2]=e;break c}Ue(C[e>>2]);Re(e);e=C[h>>2];if(!e){continue}break}}Ce=c+48|0;C[a>>2]=e;c=C[a+28>>2];b=C[c- -64>>2];l:{if(b){break l}while(1){e=C[c+48>>2];if(!e){b=84608;break l}b=df(1,20);if(!b){b=84608;C[c+64>>2]=84608;break l}Vv(b,e);if(!C[c+64>>2]){C[c+64>>2]=b;break l}Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b);b=C[c+64>>2];if(!b){continue}break}}C[a+4>>2]=b;c=C[a+28>>2];b=C[c+92>>2];m:{if(b){break m}while(1){e=C[c+48>>2];if(!e){b=84608;break m}b=df(1,20);if(!b){b=84608;C[c+92>>2]=84608;break m}fp(b,e);if(!C[c+92>>2]){C[c+92>>2]=b;break m}Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b);b=C[c+92>>2];if(!b){continue}break}}C[a+8>>2]=b;b=C[a+20>>2];b=C[(b?b:84608)+16>>2]>>>(D[a+12|0]?1:2)|0;b=(b>>>0<=1?1:b)-1|0;C[a+16>>2]=b;c=C[a+28>>2];e=C[c+32>>2];if((e|0)==-1){e=Ng(c);b=C[a+16>>2]}C[a+16>>2]=b>>>0>>0?b:e}}function MR(a){a=a|0;var 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;i=Ce-32|0;Ce=i;C[i+12>>2]=370546692;rb(i+16|0,i+20|0);C[i+24>>2]=0;C[i+28>>2]=0;g=Ce-80|0;Ce=g;mf(g+8|0,0,72);if(i+12|0){C[g+40>>2]=C[i+28>>2];b=C[i+24>>2];C[g+32>>2]=C[i+20>>2];C[g+36>>2]=b;b=C[i+16>>2];C[g+24>>2]=C[i+12>>2];C[g+28>>2]=b}C[g+60>>2]=C[g+40>>2];b=C[g+36>>2];C[g+52>>2]=C[g+32>>2];C[g+56>>2]=b;b=C[g+28>>2];C[g+44>>2]=C[g+24>>2];C[g+48>>2]=b;c=g+8|0;h=Ce-32|0;Ce=h;b=C[105780];d=Rf(C[b+376>>2],I(C[b+372>>2],72)+72|0);a:{if(d){b=C[105780];j=C[b+372>>2];C[b+372>>2]=j+1;l=jf(d+I(j,72)|0,c,72);C[l+64>>2]=b;C[b+376>>2]=d;b=C[c>>2];b:{if(b){p=l,q=Sg(b),C[p>>2]=q;break b}c=h;b=j;c:{if((b|0)<0){A[c|0]=45;b=0-b|0;d=c+1|0;f=d;while(1){e=(b>>>0)/10|0;A[f|0]=D[(b-I(e,10)|0)+195456|0];f=f+1|0;k=b>>>0>=10;b=e;if(k){continue}break}e=0;A[f|0]=0;b=af(d);if(b>>>0<2){break c}c=b+c|0;b=b>>>1|0;f=b-1|0;k=b&3;if(k){while(1){m=D[d|0];A[d|0]=D[c|0];A[c|0]=m;c=c-1|0;d=d+1|0;b=b-1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(f>>>0<3){break c}while(1){e=D[d|0];A[d|0]=D[c|0];A[c|0]=e;e=D[d+1|0];f=c-1|0;A[d+1|0]=D[f|0];A[f|0]=e;e=D[d+2|0];f=c-2|0;A[d+2|0]=D[f|0];A[f|0]=e;e=D[d+3|0];f=c-3|0;A[d+3|0]=D[f|0];A[f|0]=e;c=c-4|0;d=d+4|0;b=b-4|0;if(b){continue}break}break c}d:{if(b){d=c;while(1){e=(b>>>0)/10|0;A[d|0]=D[(b-I(e,10)|0)+195456|0];d=d+1|0;f=b>>>0<10;b=e;if(!f){continue}break}break d}A[c|0]=48;d=c+1|0}f=0;A[d|0]=0;b=af(c);if(b>>>0<2){break c}d=b>>>1|0;e=d-1|0;b=(b+c|0)-1|0;k=d&3;if(k){while(1){m=D[c|0];A[c|0]=D[b|0];A[b|0]=m;b=b-1|0;c=c+1|0;d=d-1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(e>>>0<3){break c}while(1){e=D[c|0];A[c|0]=D[b|0];A[b|0]=e;e=D[c+1|0];f=b-1|0;A[c+1|0]=D[f|0];A[f|0]=e;e=D[c+2|0];f=b-2|0;A[c+2|0]=D[f|0];A[f|0]=e;e=D[c+3|0];f=b-3|0;A[c+3|0]=D[f|0];A[f|0]=e;b=b-4|0;c=c+4|0;d=d-4|0;if(d){continue}break}}p=l,q=Sg(h),C[p>>2]=q}break a}_e(0);j=-1}Ce=h+32|0;Ce=g+80|0;e:{if((j|0)<0){o=-1;break e}b=i+12|0;a=C[a+376>>2];j=C[a+12>>2];c=C[a+8>>2];f:{if((c|0)>0){while(1){d=I(n,20)+j|0;if((d|0)==(b|0)){break f}h=C[d+4>>2];e=C[b+4>>2];g:{if((h|0)!=(e|0)){if(h-e|0){break g}break f}h=C[d+8>>2];e=C[b+8>>2];if((h|0)!=(e|0)){if(h-e|0){break g}break f}h=C[d>>2];e=h>>>8&255;g=C[b>>2];f=g>>>8&255;if((e|0)!=(f|0)){if(e-f|0){break g}break f}h=h>>>16&15;e=g>>>16&15;if((h|0)!=(e|0)){if(h-e|0){break g}break f}d=C[d+12>>2];h=C[b+12>>2];if((d|0)==(h|0)|(d|0)==(h|0)){break f}}n=n+1|0;if((c|0)!=(n|0)){continue}break}}if((c|0)==C[a+4>>2]){j=Rf(j,I(c,20)+640|0);if(!j){break f}C[a+12>>2]=j;C[a+4>>2]=C[a+4>>2]+32}d=C[b+4>>2];c=I(c,20)+j|0;C[c>>2]=C[b>>2];C[c+4>>2]=d;C[c+16>>2]=C[b+16>>2];d=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=d;b=C[a+8>>2]+1|0;C[a+8>>2]=b;mz(C[a+12>>2],b)}C[105665]=715;C[105664]=716;C[105662]=717;C[105660]=718;C[105667]=719;C[105661]=720;a=If(1,8);h:{if(a){b=If(1,8);if(!b){_e(0);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}tn(0);break h}C[b+4>>2]=0;C[b>>2]=4239;C[a+4>>2]=b;tn(a);break h}_e(0);tn(0)}}Ce=i+32|0;return o|0}function Lg(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,o=0,p=0;if(!!c&(d|0)>=0|(d|0)>0){d=d+C[a+12>>2]|0;e=c;c=c+C[a+8>>2]|0;d=e>>>0>c>>>0?d+1|0:d}g=a+24|0;a:{b:{c:{while(1){d:{if(!c&(d|0)<=0|(d|0)<0){break d}e=C[a+12>>2];if(c>>>0>F[a+8>>2]&(d|0)>=(e|0)|(d|0)>(e|0)){break d}Ee=-1;return-1}f=0;m=Ce-16|0;Ce=m;e:{if(C[g+4>>2]<0){break e}e=C[g+12>>2];n=C[g+8>>2]-e|0;h=e+C[g>>2]|0;f:{j=C[g+20>>2];g:{if(!j){if((n|0)<27){break e}if((D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24))!=1399285583){break g}e=D[h+26|0];j=e+27|0;if(n>>>0>>0){break e}if(e){k=C[g+24>>2];e=0;while(1){k=D[(e+h|0)+27|0]+k|0;C[g+24>>2]=k;e=e+1|0;if(e>>>0>2]=j}if((C[g+24>>2]+j|0)>(n|0)){break e}i=D[h+22|0]|D[h+23|0]<<8|(D[h+24|0]<<16|D[h+25|0]<<24);C[m+12>>2]=i;A[h+22|0]=0;A[h+23|0]=0;A[h+24|0]=0;A[h+25|0]=0;l=C[g+24>>2];k=C[g+20>>2];A[h+22|0]=0;A[h+23|0]=0;A[h+24|0]=0;A[h+25|0]=0;h:{if((k|0)<=0){break h}o=k&1;i:{if((k|0)==1){e=0;break i}p=k&-2;e=0;j=0;while(1){f=C[((D[e+h|0]^f>>>24)<<2)+350080>>2]^f<<8;f=C[((D[h+(e|1)|0]^f>>>24)<<2)+350080>>2]^f<<8;e=e+2|0;j=j+2|0;if((p|0)!=(j|0)){continue}break}}if(!o){break h}f=C[((D[e+h|0]^f>>>24)<<2)+350080>>2]^f<<8}j:{if((l|0)<=0){break j}j=h+k|0;o=l&1;k:{if((l|0)==1){e=0;break k}l=l&-2;e=0;k=0;while(1){f=C[((D[e+j|0]^f>>>24)<<2)+350080>>2]^f<<8;f=C[((D[j+(e|1)|0]^f>>>24)<<2)+350080>>2]^f<<8;e=e+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}if(!o){break j}f=C[((D[e+j|0]^f>>>24)<<2)+350080>>2]^f<<8}A[h+22|0]=f;A[h+23|0]=f>>>8;A[h+24|0]=f>>>16;A[h+25|0]=f>>>24;if(C[m+12>>2]==(D[h+22|0]|D[h+23|0]<<8|(D[h+24|0]<<16|D[h+25|0]<<24))){break f}e=i;A[h+22|0]=e;A[h+23|0]=e>>>8;A[h+24|0]=e>>>16;A[h+25|0]=e>>>24}C[g+20>>2]=0;C[g+24>>2]=0;e=C[g>>2];f=ij(h+1|0,79,n-1|0);if(!f){f=e+C[g+8>>2]|0}C[g+12>>2]=f-e;f=h-f|0;break e}l:{if(!b){e=C[g+12>>2];i=C[g+24>>2];f=C[g+20>>2];break l}e=C[g+12>>2];i=e+C[g>>2]|0;C[b>>2]=i;f=C[g+20>>2];C[b+4>>2]=f;C[b+8>>2]=f+i;i=C[g+24>>2];C[b+12>>2]=i}C[g+24>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;f=f+i|0;C[g+12>>2]=e+f}Ce=m+16|0;if((f|0)<0){e=C[a+8>>2];i=e-f|0;e=C[a+12>>2]-((f>>31)+(e>>>0>>0)|0)|0;C[a+8>>2]=i;C[a+12>>2]=e;continue}if(f){break b}if(!(c|d)){Ee=-1;return-1}C[105782]=0;i=-128;h=-1;if(!C[a+704>>2]){break a}if(!C[a>>2]){break c}f=C[g+4>>2];if((f|0)>=0){e=C[g+12>>2];if(e){j=C[g+8>>2]-e|0;C[g+8>>2]=j;if((j|0)>0){f=C[g>>2];Yf(f,e+f|0,j);f=C[g+4>>2]}C[g+12>>2]=0}e=f;f=C[g+8>>2];m:{n:{if((e-f|0)>=2048){e=C[g>>2];break n}f=f+6144|0;e=C[g>>2];o:{if(e){e=lf(e,f);break o}e=kf(f)}if(!e){e=C[g>>2];if(e){Re(e)}C[g>>2]=0;C[g+4>>2]=0;C[g+24>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;e=0;break m}C[g+4>>2]=f;C[g>>2]=e;f=C[g+8>>2]}e=e+f|0}}else{e=0}e=Fe[C[a+704>>2]](e,1,2048,C[a>>2])|0;if((e|0)>0){i=C[g+4>>2];if((i|0)<0){continue}e=e+C[g+8>>2]|0;if((e|0)>(i|0)){continue}C[g+8>>2]=e;continue}break}if(C[105782]|e){break a}}Ee=-1;return-2}h=C[a+12>>2];i=C[a+8>>2];c=i+f|0;b=c>>>0>>0?h+1|0:h;C[a+8>>2]=c;C[a+12>>2]=b}Ee=h;return i}function xx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ce-16|0;Ce=j;l=C[a+72>>2];k=C[a+64>>2];i=C[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(C[a>>2]){case 0:if(bf(C[a+164>>2],2)){break f}if((Vp(C[a+164>>2],j+12|0,1)|0)!=1){break f}g=D[j+12|0];C[a+44>>2]=g&128;f=g&31;C[a+40>>2]=f;d=1<>2]=d-256;if(f>>>0>16){break f}C[a+52>>2]=9;C[a+56>>2]=g>>>7;C[a+60>>2]=f>>>0>9?256:d-255|0;l=0;f=Gm(a);if(f>>>0>255){break f}if(b){A[b|0]=f}if(c>>>0<2){break e}g=1;C[a>>2]=1;i=f;k=f;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}g=0;break b}d=1;i=f;k=f;break a}d=1}while(1){h:{i:{j:{k:{if(!d){e=Gm(a);if((e|0)<0){break b}if((e|0)!=256){break k}if(!C[a+44>>2]){l=256;break j}A[a+32|0]=1;i=0;C[a+56>>2]=0;e=Gm(a);if((e|0)<0){break h}while(1){if((e|0)!=256){k=0;break k}if(!C[a+44>>2]){k=0;l=256;break j}A[a+32|0]=1;C[a+56>>2]=0;e=Gm(a);if((e|0)>=0){continue}break}break h}l:{while(1){g=C[a+92>>2];if(!g){break l}g=g-1|0;C[a+92>>2]=g;if(b){A[b+e|0]=D[g+C[a+88>>2]|0]}e=e+1|0;if((e|0)!=(c|0)){continue}break}d=c;break a}d=C[a+56>>2];if(d>>>0>2]){f=C[a+84>>2];if(f>>>0<=d>>>0){d=f?f+(f>>>2|0)|0:512;h=Ve(C[a+168>>2],3,f,d,C[a+76>>2],j+12|0);C[a+76>>2]=h;g=e;if(C[j+12>>2]){break b}g=h+(d<<1)|0;C[a+80>>2]=g;t(g,h+(f<<1)|0,f);C[a+84>>2]=d;d=C[a+56>>2]}B[C[a+76>>2]+(d<<1)>>1]=k;A[C[a+80>>2]+d|0]=i;C[a+56>>2]=C[a+56>>2]+1}C[a>>2]=1;k=l;g=e;d=0;continue}l=e;f=e;if(e>>>0<256){break i}}m:{f=l;e=f-256|0;d=C[a+56>>2];if(e>>>0>>0){break m}if(d>>>0>>0){break b}d=C[a+96>>2];e=C[a+92>>2];n:{if(d>>>0>e>>>0){d=C[a+88>>2];break n}f=((d>>>1|0)+d|0)+4|0;m=C[a+168>>2];o:{p:{h=C[a+88>>2];if((h|0)!=(a+100|0)){e=65536;if(f>>>0>65536){break p}e=f;break o}h=0;C[a+88>>2]=0;e=f>>>0>=65536?65536:f;d=0;break o}if((d|0)==65536){break b}}d=Ve(m,1,d,e,h,j+12|0);C[a+88>>2]=d;q:{if(!C[j+12>>2]){break q}break b}C[a+96>>2]=e;e=C[a+92>>2]}C[a+92>>2]=e+1;A[d+e|0]=i;f=k;if(f>>>0>=256){break m}break i}m=a+100|0;e=C[a+76>>2];while(1){if(!e){break b}d=C[a+96>>2];e=C[a+92>>2];r:{if(d>>>0>e>>>0){d=C[a+88>>2];break r}e=((d>>>1|0)+d|0)+4|0;n=C[a+168>>2];h=C[a+88>>2];s:{if((m|0)!=(h|0)){if(e>>>0<=65536){break s}e=65536;if((d|0)==65536){break b}break s}h=0;C[a+88>>2]=0;e=e>>>0>=65536?65536:e;d=0}d=Ve(n,1,d,e,h,j+12|0);C[a+88>>2]=d;t:{if(!C[j+12>>2]){break t}break b}C[a+96>>2]=e;e=C[a+92>>2]}f=f-256|0;h=D[f+C[a+80>>2]|0];C[a+92>>2]=e+1;A[d+e|0]=h;e=C[a+76>>2];f=E[e+(f<<1)>>1];if(f>>>0>255){continue}break}}d=C[a+96>>2];e=C[a+92>>2];u:{if(d>>>0>e>>>0){d=C[a+88>>2];break u}i=((d>>>1|0)+d|0)+4|0;m=C[a+168>>2];v:{w:{x:{y:{h=C[a+88>>2];if((h|0)!=(a+100|0)){e=65536;if(i>>>0>65536){break y}e=i;break x}h=0;C[a+88>>2]=0;e=i>>>0>=65536?65536:i;d=0;break x}if((d|0)==65536){break w}}d=Ve(m,1,d,e,h,j+12|0);C[a+88>>2]=d;if(!C[j+12>>2]){break v}}i=f;break b}C[a+96>>2]=e;e=C[a+92>>2]}C[a+92>>2]=e+1;A[d+e|0]=f;C[a>>2]=2;i=f;e=g;d=1;continue}break}k=0}d=g;C[a>>2]=3}C[a+72>>2]=l;C[a+68>>2]=i;C[a+64>>2]=k;Ce=j+16|0;return d}function uR(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,k=0,l=0,m=0,n=0,o=0;mf(b,D[417483],c);Fe[C[94436]](C[104380],b,c);n=Ph();if(C[104376]>0){a=C[104377];m=128;while(1){h=I(i,60);d=h+a|0;a:{if(C[d+8>>2]){break a}e=C[d+28>>2];b:{if(!(!e|e>>>0>=n>>>0)){C[d+36>>2]=0;C[d+20>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;d=C[104381];if(d){Fe[d|0](i);a=C[104377]}a=a+h|0;e=a;a=C[a+56>>2];if(a){while(1){d=C[a+12>>2];g=C[a+4>>2];if(g){Fe[g|0](i,C[a+8>>2])}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=d;if(a){continue}break}}C[e+56>>2]=0;break b}g=C[d+36>>2];if(!g){break b}a=C[d+48>>2];e=n-C[d+52>>2]|0;if(a>>>0<=e>>>0){Jm(i,C[d+44>>2]);d=C[104377];a=h+d|0;if(C[a+36>>2]==1){C[a+28>>2]=0;C[a+20>>2]=0;C[a+4>>2]=0;a=C[104381];if(a){Fe[a|0](i);d=C[104377]}a=d+h|0;e=a;a=C[a+56>>2];if(a){while(1){d=C[a+12>>2];g=C[a+4>>2];if(g){Fe[g|0](i,C[a+8>>2])}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=d;if(a){continue}break}d=C[104377]}C[e+56>>2]=0}C[(d+h|0)+36>>2]=0;break b}d=C[d+40>>2];if((g|0)==1){Jm(i,(I(d,a-e|0)>>>0)/(a>>>0)|0);break b}Jm(i,(I(d,e)>>>0)/(a>>>0)|0)}a=C[104377];d=C[(h+a|0)+4>>2];if((d|0)<=0){break a}g=0;c:{if((c|0)<=0){break c}while(1){e=c-g|0;f=(d|0)<(e|0)?d:e;a=a+h|0;m=(I(C[a+16>>2],D[C[a>>2]+12|0])|0)/128|0;d=C[a+12>>2];a=C[a+56>>2];d:{if(!a){break d}e=Fe[C[94762]](f>>>0<=1?1:f)|0;if(e){C[94766]=C[94766]+1}if(!e){break d}gf(e,d,f);while(1){d=C[a>>2];if(d){Fe[d|0](i,e,f,C[a+8>>2])}a=C[a+12>>2];if(a){continue}break}d=e}un(b+g|0,d,E[208740],f,m);a=C[104377];if(C[(h+a|0)+12>>2]!=(d|0)){if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}a=C[104377];d=C[(h+a|0)+12>>2]}e=a+h|0;C[e+12>>2]=d+f;j=C[e+4>>2];d=j-f|0;C[e+4>>2]=d;g=f+g|0;if(!(C[e+20>>2]|(f|0)!=(j|0))){d=C[104381];if(d){Fe[d|0](i);a=C[104377]}a=a+h|0;e=a;a=C[a+56>>2];if(a){while(1){d=C[a+12>>2];j=C[a+4>>2];if(j){Fe[j|0](i,C[a+8>>2])}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=d;if(a){continue}break}}C[e+56>>2]=0;a=C[104377];d=C[(h+a|0)+4>>2]}if((d|0)<=0){break c}if((c|0)>(g|0)){continue}break}}e=a+h|0;o=e+20|0;f=C[e+20>>2];l=(f|0)!=0;e:{if(!f|(c|0)<=(g|0)){break e}d=C[e>>2];e=C[d+4>>2];k=C[d+8>>2];while(1){d=c-g|0;j=(d|0)<(k|0)?d:k;a=C[(a+h|0)+56>>2];f:{if(!a){break f}d=Fe[C[94762]](j>>>0<=1?1:j)|0;if(d){C[94766]=C[94766]+1}if(!d){break f}gf(d,e,j);while(1){e=C[a>>2];if(e){Fe[e|0](i,d,j,C[a+8>>2])}a=C[a+12>>2];if(a){continue}break}e=d}un(b+g|0,e,E[208740],j,m);a=C[104377];if(C[C[h+a>>2]+4>>2]!=(e|0)){if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}a=C[104377]}d=a+h|0;o=d+20|0;f=C[d+20>>2];if((f|0)>0){f=f-1|0;C[d+20>>2]=f}k=C[d>>2];e=C[k+4>>2];C[d+12>>2]=j+e;l=d;k=C[k+8>>2];d=k-j|0;C[l+4>>2]=d;l=(f|0)!=0;if(!f){break e}g=g+j|0;if((g|0)<(c|0)){continue}break}}if(!l|d){break a}if((f|0)>0){C[o>>2]=f-1}d=a+h|0;e=C[d>>2];C[d+12>>2]=C[e+4>>2];C[d+4>>2]=C[e+8>>2]}i=i+1|0;if((i|0)>2];if(d){Fe[d|0](-2,b,c,C[a+8>>2])}a=C[a+12>>2];if(a){continue}break}}a=C[104379];if(a){Fe[a|0](C[104378],b,c)}}function ah(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ce-112|0;Ce=j;k=i&2147483647;a:{b:{l=e&2147483647;m=!(b|c);if(!(d|l?l-2147418112>>>0<2147549184:m)){o=k-2147418112|0;if(!h&(o|0)==-2147418112?f|g:(o|0)==-2147418112&(h|0)!=0|o>>>0>2147549184){break b}}if(!(!d&(l|0)==2147418112?m:l>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(l^2147418112|c))){n=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:n;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(k^2147418112|g))){break a}if(!(b|d|(c|l))){if(f|h|(g|k)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}n=(k|0)==(l|0);r=n&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:n&d>>>0>>0|k>>>0>l>>>0;m=r;l=m?f:b;o=m?g:c;n=m?i:e;s=n;m=m?h:d;q=n&65535;d=r?d:h;e=r?e:i;t=e;n=e>>>16&32767;p=s>>>16&32767;if(!p){e=!(m|q);i=e;k=e?l:m;e=e<<6;i=L(i?o:q);e=e+((i|0)==32?L(k)+32|0:i)|0;Hg(j+96|0,l,o,m,q,e-15|0);m=C[j+104>>2];q=C[j+108>>2];o=C[j+100>>2];p=16-e|0;l=C[j+96>>2]}f=r?b:f;g=r?c:g;h=d;i=t&65535;if(!n){b=!(h|i);e=b;k=b?f:h;b=b<<6;e=L(e?g:i);b=b+((e|0)==32?L(k)+32|0:e)|0;Hg(j+80|0,f,g,h,i,b-15|0);n=16-b|0;h=C[j+88>>2];i=C[j+92>>2];g=C[j+84>>2];f=C[j+80>>2]}c=i<<3|h>>>29;b=h<<3|g>>>29;c=c|524288;h=m<<3|o>>>29;i=q<<3|m>>>29;r=s^t;e=g<<3|f>>>29;d=f<<3;c:{if((n|0)==(p|0)){break c}f=p-n|0;if(f>>>0>127){b=0;c=0;e=0;d=1;break c}Hg(j- -64|0,d,e,b,c,128-f|0);ej(j+48|0,d,e,b,c,f);b=C[j+56>>2];c=C[j+60>>2];e=C[j+52>>2];d=C[j+48>>2]|(C[j+64>>2]|C[j+72>>2]|(C[j+68>>2]|C[j+76>>2]))!=0}m=d;k=e;n=h;q=i|524288;e=o<<3|l>>>29;o=l<<3;l=e;d:{if((r|0)<0){f=0;g=0;h=0;i=0;if(!(m^o|b^n|(k^l|c^q))){break a}d=o-m|0;e=l-((m>>>0>o>>>0)+k|0)|0;f=n-b|0;g=(k|0)==(l|0)&m>>>0>o>>>0|k>>>0>l>>>0;h=f-g|0;b=(q-((b>>>0>n>>>0)+c|0)|0)-(f>>>0>>0)|0;i=b;if(b>>>0>524287){break d}b=!(h|i);f=b;g=b?d:h;b=b<<6;f=L(f?e:i);b=b+((f|0)==32?L(g)+32|0:f)|0;b=b-12|0;Hg(j+32|0,d,e,h,i,b);p=p-b|0;h=C[j+40>>2];i=C[j+44>>2];d=C[j+32>>2];e=C[j+36>>2];break d}e=k+l|0;d=m+o|0;e=d>>>0>>0?e+1|0:e;f=(k|0)==(e|0)&d>>>0>>0|e>>>0>>0;k=c+q|0;b=b+n|0;k=b>>>0>>0?k+1|0:k;h=b+f|0;i=h>>>0>>0?k+1|0:k;if(!(i&1048576)){break d}d=m&1|((e&1)<<31|d>>>1);e=h<<31|e>>>1;p=p+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}c=0;l=s&-2147483648;if((p|0)>=32767){h=c;i=l|2147418112;f=0;g=0;break a}n=0;e:{if((p|0)>0){n=p;break e}Hg(j+16|0,d,e,h,i,p+127|0);ej(j,d,e,h,i,1-p|0);d=C[j>>2]|(C[j+16>>2]|C[j+24>>2]|(C[j+20>>2]|C[j+28>>2]))!=0;e=C[j+4>>2];h=C[j+8>>2];i=C[j+12>>2]}o=d&7;d=(e&7)<<29|d>>>3;f=(o>>>0>4)+d|0;b=h<<29|e>>>3;g=d>>>0>f>>>0?b+1|0:b;d=(b|0)==(g|0)&d>>>0>f>>>0|b>>>0>g>>>0;b=c|((i&7)<<29|h>>>3);h=d+b|0;i=l|(i>>>3&65535|n<<16);i=b>>>0>h>>>0?i+1|0:i;f:{if((o|0)==4){b=0;k=g+b|0;d=f;c=f&1;f=f+c|0;g=d>>>0>f>>>0?k+1|0:k;b=(b|0)==(g|0)&c>>>0>f>>>0|b>>>0>g>>>0;h=b+h|0;i=b>>>0>h>>>0?i+1|0:i;break f}if(!o){break a}}}C[a>>2]=f;C[a+4>>2]=g;C[a+8>>2]=h;C[a+12>>2]=i;Ce=j+112|0}function Re(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=C[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=C[d>>2];d=d-b|0;if(d>>>0>>0<=255){b=b>>>3|0;e=C[d+12>>2];c=C[d+8>>2];if((e|0)==(c|0)){i=432456,j=C[108114]&rT(-2,b),C[i>>2]=j;break b}C[c+12>>2]=e;C[e+8>>2]=c;break b}h=C[d+24>>2];b=C[d+12>>2];c:{if((d|0)!=(b|0)){c=C[d+8>>2];C[c+12>>2]=b;C[b+8>>2]=c;break c}d:{e=d+20|0;c=C[e>>2];if(c){break d}e=d+16|0;c=C[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=C[e>>2];if(c){continue}e=b+16|0;c=C[b+16>>2];if(c){continue}break}C[g>>2]=0}if(!h){break b}e=C[d+28>>2];c=(e<<2)+432760|0;e:{if(C[c>>2]==(d|0)){C[c>>2]=b;if(b){break e}i=432460,j=C[108115]&rT(-2,e),C[i>>2]=j;break b}C[h+(C[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}C[b+24>>2]=h;c=C[d+16>>2];if(c){C[b+16>>2]=c;C[c+24>>2]=b}c=C[d+20>>2];if(!c){break b}C[b+20>>2]=c;C[c+24>>2]=b;break b}b=C[f+4>>2];if((b&3)!=3){break b}C[108116]=a;C[f+4>>2]=b&-2;C[d+4>>2]=a|1;C[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=C[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(C[108120]==(f|0)){C[108120]=d;a=C[108117]+a|0;C[108117]=a;C[d+4>>2]=a|1;if(C[108119]!=(d|0)){break a}C[108116]=0;C[108119]=0;return}if(C[108119]==(f|0)){C[108119]=d;a=C[108116]+a|0;C[108116]=a;C[d+4>>2]=a|1;C[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){b=b>>>3|0;e=C[f+12>>2];c=C[f+8>>2];if((e|0)==(c|0)){i=432456,j=C[108114]&rT(-2,b),C[i>>2]=j;break g}C[c+12>>2]=e;C[e+8>>2]=c;break g}h=C[f+24>>2];b=C[f+12>>2];h:{if((f|0)!=(b|0)){c=C[f+8>>2];C[c+12>>2]=b;C[b+8>>2]=c;break h}i:{e=f+20|0;c=C[e>>2];if(c){break i}e=f+16|0;c=C[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=C[e>>2];if(c){continue}e=b+16|0;c=C[b+16>>2];if(c){continue}break}C[g>>2]=0}if(!h){break g}e=C[f+28>>2];c=(e<<2)+432760|0;j:{if(C[c>>2]==(f|0)){C[c>>2]=b;if(b){break j}i=432460,j=C[108115]&rT(-2,e),C[i>>2]=j;break g}C[h+(C[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}C[b+24>>2]=h;c=C[f+16>>2];if(c){C[b+16>>2]=c;C[c+24>>2]=b}c=C[f+20>>2];if(!c){break g}C[b+20>>2]=c;C[c+24>>2]=b}C[d+4>>2]=a|1;C[a+d>>2]=a;if(C[108119]!=(d|0)){break f}C[108116]=a;return}C[f+4>>2]=b&-2;C[d+4>>2]=a|1;C[a+d>>2]=a}if(a>>>0<=255){b=(a&-8)+432496|0;c=C[108114];a=1<<(a>>>3);k:{if(!(c&a)){C[108114]=a|c;a=b;break k}a=C[b+8>>2]}C[b+8>>2]=d;C[a+12>>2]=d;C[d+12>>2]=b;C[d+8>>2]=a;return}e=31;if(a>>>0<=16777215){b=L(a>>>8|0);e=((a>>>38-b&1)-(b<<1)|0)+62|0}C[d+28>>2]=e;C[d+16>>2]=0;C[d+20>>2]=0;g=(e<<2)+432760|0;l:{m:{c=C[108115];b=1<>2]=d;C[d+24>>2]=g;break n}e=a<<((e|0)!=31?25-(e>>>1|0)|0:0);b=C[g>>2];while(1){c=b;if((C[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=C[g+16>>2];if(b){continue}break}C[g+16>>2]=d;C[d+24>>2]=c}C[d+12>>2]=d;C[d+8>>2]=d;break l}a=C[c+8>>2];C[a+12>>2]=d;C[c+8>>2]=d;C[d+24>>2]=0;C[d+12>>2]=c;C[d+8>>2]=a}a=C[108122]-1|0;C[108122]=a?a:-1}}function bw(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;g=Ce-32|0;Ce=g;i=C[a+4>>2];n=C[i+328>>2];C[g+28>>2]=0;p=C[i+136>>2];o=C[i+100>>2];l=C[C[i+128>>2]+48>>2];a:{b:{if(l){c=Fe[C[C[l>>2]>>2]](C[l+4>>2],b,g+12|0)|0;C[g+28>>2]=c;if(c){break a}f=C[i+288>>2];d=f&255;c:{if(!d){break c}j=f&3;c=C[g+12>>2];if(d>>>0<4){h=0}else{m=f&252;while(1){d=c;c=c+4|0;h=h+4|0;if((m|0)!=(h&255)){continue}break}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(!j){break c}while(1){h=D[c|0]|h<<8;c=c+1|0;k=k+1|0;if((j|0)!=(k&255)){continue}break}}c=C[g+16>>2];d:{if(!c){f=0;break d}e=c-f|0;f=hf(o,e,g+28|0);if(C[g+28>>2]){break d}t(f,C[g+12>>2]+C[i+288>>2]|0,e)}Fe[C[C[l>>2]+4>>2]](C[l+4>>2],g+12|0);c=C[g+28>>2];if(!c){break b}break a}d=C[i+292>>2]+C[i+288>>2]|0;c=bf(n,(C[i+284>>2]+C[i+308>>2]|0)+I(d,b)|0);if(c){break a}c=Cf(n,d<<1);C[g+28>>2]=c;if(c){break a}d=C[n+32>>2];k=C[i+288>>2];e=k&255;if(e){c=d;if(e>>>0>=4){j=k&252;while(1){e=c;c=c+4|0;h=h+4|0;if((j|0)!=(h&255)){continue}break}h=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24)}e=k&3;if(e){while(1){h=D[c|0]|h<<8;c=c+1|0;f=f+1|0;if((e|0)!=(f&255)){continue}break}}d=(k&255)+d|0}f=0;j=D[i+292|0];e:{if(!j){break e}c=d;if(j>>>0>=4){q=j&252;while(1){e=c;c=c+4|0;m=m+4|0;if((m&255)!=(q|0)){continue}break}e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);m=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}e=j&3;if(e){while(1){m=D[c|0]|m<<8;c=c+1|0;f=f+1|0;if((e|0)!=(f&255)){continue}break}}e=j&3;c=k+(d+j|0)|0;k=0;if(j>>>0<4){f=0}else{j=j&252;f=0;while(1){d=c;c=c+4|0;f=f+4|0;if((j|0)!=(f&255)){continue}break}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(!e){break e}while(1){f=D[c|0]|f<<8;c=c+1|0;k=k+1|0;if((e|0)!=(k&255)){continue}break}}xf(n);c=9;if(F[i+300>>2]<=h>>>0){break a}e=f-m|0;if(!e){c=0;break a}f=hf(o,e,g+28|0);c=C[g+28>>2];if(c){break a}c=Qx(n,C[i+308>>2]+m|0,f,e);C[g+28>>2]=c;if(c){break a}}c=C[i+316>>2]+(h<<3)|0;C[a+1364>>2]=C[c>>2];c=C[c+4>>2];C[a+1372>>2]=0;C[a+1368>>2]=c;c=C[i+304>>2]+I(h,252)|0;d=C[c+220>>2];C[a+1376>>2]=C[c+216>>2];C[a+1380>>2]=d;h=C[c+228>>2];d=a+1384|0;C[d>>2]=C[c+224>>2];C[d+4>>2]=h;d=C[c+236>>2];C[a+1392>>2]=C[c+232>>2];C[a+1396>>2]=d;c=C[c+4>>2];C[a+1360>>2]=c;if((c|0)>=0){Fe[C[p+16>>2]](f,e,4330)}c=(c|0)>=0?c:0;r=g,s=Fe[C[a+1484>>2]](a,c+f|0,e-c|0)|0,C[r+28>>2]=s;if(f){Fe[C[o+8>>2]](o,f)}c=C[g+28>>2];if(c|!l){break a}if(!C[C[l>>2]+8>>2]){c=0;break a}c=C[a+32>>2];C[g+16>>2]=0;C[g+12>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+40>>2];C[g+20>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+44>>2];C[g+24>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=Fe[C[C[l>>2]+8>>2]](C[l+4>>2],b,0,g+12|0)|0;C[a+32>>2]=C[g+12>>2]<<16;C[a+40>>2]=C[g+20>>2]<<16;C[a+44>>2]=C[g+24>>2]<<16}Ce=g+32|0;return c|0}function Sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}g=a+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break a}f=f-4|0;C[b+12>>2]=f;if((f|0)<=0){break a}c=1;g=D[g|0]|D[g+1|0]<<8;if(!g){break a}c=(g<<8|g>>>8)&65535;l=c>>>0<=1?1:c;j=c-1|0;a=a+4|0;g=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>e>>>0){return 0}if(e-a>>>0<6){return 0}c=C[b+12>>2]-6|0;C[b+12>>2]=c;if((c|0)<=0){return 0}e=C[b+32>>2];c=C[e+12>>2];C[b+4>>2]=c;e=c+C[e+16>>2]|0;C[b+8>>2]=e;b:{if(g>>>0>=j>>>0){break b}i=c;c=g>>>0>>0?a:0;if(!(i>>>0<=c>>>0&c>>>0>>0)){C[b+4>>2]=0;C[b+8>>2]=0;break b}C[b+4>>2]=c;e=e-c|0;d=D[c+2|0]|D[c+3|0]<<8;d=(d<<8|d>>>8)&65535;C[b+8>>2]=c+(e>>>0>>0?e:d)}c:{d:{if(F[b+4>>2]>a>>>0){break d}e=C[b+8>>2];if(e>>>0>>0){break d}f=e-a|0;if(f>>>0<6){break d}c=C[b+12>>2]-6|0;C[b+12>>2]=c;if((c|0)<=0){break d}d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<6|d>>>0>f>>>0){break d}d=c-d|0;C[b+12>>2]=d;if((d|0)<=0){break d}c=1;e:{f:{switch(D[a+4|0]){case 0:c=a+6|0;if(c>>>0>e>>>0|e-c>>>0<8){break d}f=d-8|0;C[b+12>>2]=f;if((d|0)<9){break d}c=D[c|0]|D[c+1|0]<<8;if(c){d=a+14|0;if(d>>>0>e>>>0){break d}c=I((c<<8|c>>>8)&65535,6);if(c>>>0>e-d>>>0){break d}e=f-c|0;C[b+12>>2]=e;c=0;if((e|0)<=0){break e}}c=1;break c;case 2:break f;default:break e}}g:{h:{h=C[b+4>>2];if(h>>>0>a>>>0){break h}e=C[b+8>>2];if(e>>>0>>0){break h}k=e-a|0;if(k>>>0<14){break h}c=C[b+12>>2];d=c-14|0;C[b+12>>2]=d;if((d|0)<=0){break h}d=a+8|0;if(d>>>0>e>>>0|e-d>>>0<2){break h}d=c-16|0;C[b+12>>2]=d;if((d|0)<=0){break h}d=D[a+8|0]|D[a+9|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|e>>>0>>0|e-d>>>0<4){break h}f=c-20|0;C[b+12>>2]=f;if((f|0)<=0){break h}f=d+2|0;if(f>>>0>e>>>0|e-f>>>0<2){break h}c=c-22|0;C[b+12>>2]=c;if((c|0)<=0){break h}i:{f=D[f|0]|D[f+1|0]<<8;if(!f){break i}d=d+4|0;if(d>>>0>e>>>0){break h}i=e-d|0;d=((f<<8|f>>>8)&65535)<<1;if(i>>>0>>0){break h}c=c-d|0;C[b+12>>2]=c;if((c|0)>0){break i}break h}d=a+10|0;if(d>>>0>e>>>0|e-d>>>0<2){break h}C[b+12>>2]=c-2;if((c|0)<3){break h}d=D[a+10|0]|D[a+11|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|e>>>0>>0|e-d>>>0<4){break h}C[b+12>>2]=c-6;if((c|0)<7){break h}h=d+2|0;if(h>>>0>e>>>0|e-h>>>0<2){break h}f=c-8|0;C[b+12>>2]=f;if((c|0)<9){break h}c=1;j:{h=D[h|0]|D[h+1|0]<<8;if(!h){break j}d=d+4|0;if(d>>>0>e>>>0){break h}i=e-d|0;e=((h<<8|h>>>8)&65535)<<1;if(i>>>0>>0){break h}f=f-e|0;C[b+12>>2]=f;if((f|0)>0){break j}break h}e=D[a+12|0]|D[a+13|0]<<8;k:{if(!e){break k}c=0;e=(e<<8|e>>>8)&65535;if(e>>>0>k>>>0){break k}c=f-e|0;C[b+12>>2]=c;c=(c|0)>0}break g}c=0}}break c}c=0}if(!c){a=C[b+32>>2];c=C[a+12>>2];C[b+4>>2]=c;C[b+8>>2]=c+C[a+16>>2];return 0}c=D[a+2|0]|D[a+3|0]<<8;e=C[b+32>>2];d=C[e+12>>2];C[b+4>>2]=d;e=C[e+16>>2]+d|0;C[b+8>>2]=e;a=((c<<8|c>>>8)&65535)+a|0;c=1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}return c}function lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=C[b+4>>2];a:{if(i>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}j=C[b+12>>2]-4|0;C[b+12>>2]=j;if((j|0)<=0){break a}f=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>89478484){break a}if(!f){return 1}e=a+4|0;if(e>>>0>d>>>0){break a}f=I(f,48);if(f>>>0>d-e>>>0){break a}e=j-f|0;C[b+12>>2]=e;if((e|0)<=0){break a}p=1;f=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);r=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!r){break a}while(1){p=0;j=I(q,48)+a|0;f=j+4|0;if(f>>>0>>0|f>>>0>d>>>0|d-f>>>0<48){break a}m=C[c>>2];C[b+12>>2]=e-48;if((e|0)<49){break a}i=0;h=C[b+4>>2];b:{c:{if(h>>>0>f>>>0){break c}e=C[b+8>>2];if(e>>>0>>0|e-f>>>0<4){break c}l=C[b+12>>2]-4|0;C[b+12>>2]=l;if((l|0)<=0){break c}k=A[f|0];if((k|0)<0){break c}g=D[j+12|0]|D[j+13|0]<<8|(D[j+14|0]<<16|D[j+15|0]<<24);o=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);d=0;if(o>>>0>536870910){break b}d=1;if(!o){break b}m=m+(D[f+3|0]|(D[f+1|0]<<16|(k&255)<<24|D[f+2|0]<<8))|0;d=0;if(m>>>0>>0){break b}d=0;if(e>>>0>>0){break b}d=o<<3;if(d>>>0>e-m>>>0){break c}i=l-d|0;C[b+12>>2]=i;l=0;d=0;if((i|0)<=0){break b}while(1){i=0;d=m+(l<<3)|0;d:{if(d>>>0>2]){break d}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<8){break d}g=C[b+12>>2];f=g-8|0;C[b+12>>2]=f;if((f|0)<=0){break d}f=D[d+2|0]|D[d+3|0]<<8;h=(f<<8|f>>>8)&65535;f=D[d|0]|D[d+1|0]<<8;k=(f<<8|f>>>8)&65535;if(h>>>0>>0){break d}f=d+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break d}e=g-12|0;C[b+12>>2]=e;if((e|0)<=0){break d}e=A[f|0];if((e|0)<0){break d}i=1;d=D[d+7|0]|(D[d+5|0]<<16|(e&255)<<24|D[d+6|0]<<8);if(!d){break d}h=(h-k|0)+1|0;e:{f:{e=d+m|0;if(e>>>0>2]){break f}g=C[b+8>>2];if(g>>>0>>0|g-e>>>0<8){break f}k=C[b+12>>2];n=k-8|0;C[b+12>>2]=n;d=1;if((n|0)<=0){break f}g:{h:{i:{j:{n=D[e|0]|D[e+1|0]<<8;switch(((n<<8|n>>>8)&65535)-1|0){case 2:break i;case 0:break j;default:break g}}d=k-16|0;C[b+12>>2]=d;if((d|0)<=0){break f}h=h+1|0;if(h>>>0>1073741822){break f}if(!h){break h}e=e+8|0;if(e>>>0>g>>>0){break f}g=g-e|0;e=h<<2;if(g>>>0>>0){break f}e=d-e|0;C[b+12>>2]=e;d=0;if((e|0)>0){break h}break g}d=k-16|0;C[b+12>>2]=d;if((d|0)<=0){break f}h=h+1|0;if(h>>>0>2147483646){break f}if(!h){break h}e=e+8|0;if(e>>>0>g>>>0){break f}g=g-e|0;e=h<<1;if(g>>>0>>0){break f}e=d-e|0;C[b+12>>2]=e;d=0;if((e|0)<=0){break g}}d=1}break e}d=0}if(d){break d}i=0;d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[f|0]=0;A[f+1|0]=0;A[f+2|0]=0;A[f+3|0]=0;i=1}if(!i){break c}l=l+1|0;if((o|0)!=(l|0)){continue}break}}d=i}if(!d){break a}i=C[b+4>>2];f=j+20|0;if(i>>>0>f>>>0){break a}d=C[b+8>>2];if(f>>>0>d>>>0|d-f>>>0<12){break a}f=C[b+12>>2];e=f-12|0;C[b+12>>2]=e;if((e|0)<=0){break a}j=j+32|0;if(j>>>0>d>>>0|d-j>>>0<12){break a}e=f-24|0;C[b+12>>2]=e;if((e|0)<=0){break a}p=1;q=q+1|0;if((r|0)!=(q|0)){continue}break}}return p}function kt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e=D[a|0]|D[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}e:{f:{g:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break f}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=lf(C[d+8>>2],I(b,20));if(e){break g}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break e}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Gg(b,a,160);return}h:{i:{j:{d=C[b+4>>2];b=C[d>>2];if((b|0)>=0){e=C[d+4>>2];c=e+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break i}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=lf(C[d+8>>2],I(b,20));if(e){break j}}C[d>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break h}C[d>>2]=b;C[d+8>>2]=e;e=C[d+4>>2]}if(c>>>0>e>>>0){We(C[d+8>>2]+I(e,20)|0,0,I(c-e|0,20))}C[d+4>>2]=c;b=(C[d+8>>2]+I(c,20)|0)-20|0}Gg(b,a,161);return}k:{l:{m:{c=C[b+4>>2];b=C[c>>2];if((b|0)>=0){e=C[c+4>>2];f=e+1|0;f=(f|0)>0?f:0;if(f>>>0<=b>>>0){break l}while(1){b=((b>>>1|0)+b|0)+8|0;if(f>>>0>=b>>>0){continue}break}if(b>>>0<=214748363){e=lf(C[c+8>>2],I(b,20));if(e){break m}}C[c>>2]=-1}C[104432]=C[21156];b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;e=417712;break k}C[c>>2]=b;C[c+8>>2]=e;e=C[c+4>>2]}if(e>>>0>>0){We(C[c+8>>2]+I(e,20)|0,0,I(f-e|0,20))}C[c+4>>2]=f;e=(C[c+8>>2]+I(f,20)|0)-20|0}C[e+8>>2]=0;C[e+12>>2]=0;C[e+4>>2]=162;C[e>>2]=a;C[e+16>>2]=0;c=e+8|0;n:{o:{p:{q:{b=D[a+6|0]|D[a+7|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=84608}b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}f=D[a+2|0]|D[a+3|0]<<8;if(!f){break n}b=a+4|0;f=(f<<8|f>>>8)&65535;h=f&1;i=f-1|0;r:{if(!i){a=b;break r}k=f&65534;a=b;while(1){j=d;d=D[a|0]|D[a+1|0]<<8;j=j|1<<(d>>>12|d<<4);d=D[a+2|0]|D[a+3|0]<<8;d=j|1<<(d>>>12|d<<4);a=a+4|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(h){a=D[a|0]|D[a+1|0]<<8;d=1<<(a>>>12|a<<4)|d}C[c>>2]=d;g=0;a=b;d=0;if(i>>>0>=3){h=f&65532;c=0;while(1){d=1<>2]=d;c=f&3;d=0;if(i>>>0<3){a=0;break o}f=f&65532;a=0;g=0;while(1){a=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|a|1<<((D[b+2|0]|D[b+3|0]<<8)>>>1)|1<<((D[b+4|0]|D[b+5|0]<<8)>>>1)|1<<((D[b+6|0]|D[b+7|0]<<8)>>>1);b=b+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}Dk(a,c);break n}if(c){while(1){a=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|a;b=b+2|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}C[e+16>>2]=a}}}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,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=Ce-16|0;Ce=m;h=hf(a,2496,m+12|0);d=C[m+12>>2];if(!d){C[h>>2]=a;C[h+212>>2]=E[b+120>>1];g=D[b+124|0];a:{if(!g){break a}a=h+224|0;d=b+128|0;i=g&7;b:{if(!i){e=g;break b}e=g;while(1){C[a>>2]=B[d>>1];e=e-1|0;d=d+2|0;a=a+12|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(g>>>0<8){break a}while(1){C[a>>2]=B[d>>1];C[a+12>>2]=B[d+2>>1];C[a+24>>2]=B[d+4>>1];C[a+36>>2]=B[d+6>>1];C[a+48>>2]=B[d+8>>1];C[a+60>>2]=B[d+10>>1];C[a+72>>2]=B[d+12>>1];C[a+84>>2]=B[d+14>>1];d=d+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}e=1;C[h+208>>2]=g+1;C[h+8>>2]=E[b+122>>1];g=D[b+125|0];c:{if(!g){break c}a=h+20|0;d=b+154|0;k=g&7;d:{if(!k){f=g;break d}i=0;f=g;while(1){C[a>>2]=B[d>>1];f=f-1|0;d=d+2|0;a=a+12|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}if(g>>>0<8){break c}while(1){C[a>>2]=B[d>>1];C[a+12>>2]=B[d+2>>1];C[a+24>>2]=B[d+4>>1];C[a+36>>2]=B[d+6>>1];C[a+48>>2]=B[d+8>>1];C[a+60>>2]=B[d+10>>1];C[a+72>>2]=B[d+12>>1];C[a+84>>2]=B[d+14>>1];d=d+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}C[h+4>>2]=g+1;a=0;d=h+412|0;f=b+12|0;g=b+40|0;dx(d,D[b+8|0],f,D[b+9|0],g,C[b+116>>2],0);i=b+60|0;k=b+88|0;dx(d,D[b+10|0],i,D[b+11|0],k,C[b+116>>2],1);d=D[b+8|0];e:{if(!d){break e}j=(d-1>>>1|0)+1|0;l=j&1;if(d>>>0>=3){n=j&-2;j=0;while(1){d=a<<1;o=E[f+(d|6)>>1]-E[f+(d|4)>>1]<<16>>16;d=E[f+(d|2)>>1]-E[d+f>>1]<<16>>16;e=e<<16>>16;e=(d|0)>(e|0)?d:e;e=(e|0)<(o|0)?o:e;a=a+4|0;j=j+2|0;if((n|0)!=(j|0)){continue}break}}if(!l){break e}a=a<<1;a=E[f+(a|2)>>1]-E[a+f>>1]<<16>>16;e=(a|0)>(e|0)?a:e}a=D[b+9|0];f:{if(!a){break f}f=(a-1>>>1|0)+1|0;j=f&1;g:{if(a>>>0<3){f=0;break g}l=f&-2;f=0;a=0;while(1){d=f<<1;n=E[g+(d|6)>>1]-E[g+(d|4)>>1]<<16>>16;d=E[g+(d|2)>>1]-E[d+g>>1]<<16>>16;e=e<<16>>16;e=(d|0)>(e|0)?d:e;e=(e|0)<(n|0)?n:e;f=f+4|0;a=a+2|0;if((l|0)!=(a|0)){continue}break}}if(!j){break f}a=f<<1;a=E[g+(a|2)>>1]-E[a+g>>1]<<16>>16;e=e<<16>>16;e=(a|0)>(e|0)?a:e}a=D[b+10|0];h:{if(!a){break h}f=(a-1>>>1|0)+1|0;g=f&1;i:{if(a>>>0<3){d=0;break i}j=f&-2;d=0;f=0;while(1){a=d<<1;l=E[i+(a|6)>>1]-E[i+(a|4)>>1]<<16>>16;a=E[i+(a|2)>>1]-E[a+i>>1]<<16>>16;e=e<<16>>16;a=(a|0)>(e|0)?a:e;e=(a|0)<(l|0)?l:a;d=d+4|0;f=f+2|0;if((j|0)!=(f|0)){continue}break}}if(!g){break h}a=d<<1;a=E[i+(a|2)>>1]-E[a+i>>1]<<16>>16;e=e<<16>>16;e=(a|0)>(e|0)?a:e}a=D[b+11|0];j:{if(!a){break j}f=(a-1>>>1|0)+1|0;g=f&1;k:{if(a>>>0<3){d=0;break k}i=f&-2;d=0;f=0;while(1){a=d<<1;j=E[k+(a|6)>>1]-E[k+(a|4)>>1]<<16>>16;a=E[k+(a|2)>>1]-E[a+k>>1]<<16>>16;e=e<<16>>16;a=(a|0)>(e|0)?a:e;e=(a|0)<(j|0)?j:a;d=d+4|0;f=f+2|0;if((i|0)!=(f|0)){continue}break}}if(!g){break j}a=d<<1;a=E[k+(a|2)>>1]-E[a+k>>1]<<16>>16;e=e<<16>>16;e=(a|0)>(e|0)?a:e}a=Ze(1e3,e&65535);e=C[b+108>>2];C[h+2476>>2]=(a|0)>(e|0)?e:a;C[h+2480>>2]=C[b+112>>2];a=C[b+116>>2];C[h+404>>2]=0;C[h+408>>2]=0;C[h+200>>2]=0;C[h+204>>2]=0;C[h+2488>>2]=a;d=C[m+12>>2]}C[c>>2]=h;Ce=m+16|0;return d|0}function xJ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=d;j=Mv(b+24|0);a=C[j+4>>2];a:{if((a|0)==65536){g=258}else{if((a|0)!=131072){break a}a=C[j+8>>2];a=D[a|0]|D[a+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535}if((f|0)<0){f=af(c)}if(!f){break a}a=C[j+28>>2];b:{if(a){break b}a=kf(g<<1);c:{d:{if(g){if(!a){break a}if(g>>>0>=8){m=g&65528;while(1){B[(h<<1)+a>>1]=h;i=h|1;B[(i<<1)+a>>1]=i;i=h|2;B[(i<<1)+a>>1]=i;i=h|3;B[(i<<1)+a>>1]=i;i=h|4;B[(i<<1)+a>>1]=i;i=h|5;B[(i<<1)+a>>1]=i;i=h|6;B[(i<<1)+a>>1]=i;i=h|7;B[(i<<1)+a>>1]=i;h=h+8|0;l=l+8|0;if((m|0)!=(l|0)){continue}break}}l=g&7;if(l){while(1){B[(h<<1)+a>>1]=h;h=h+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}ko(a,g,j);h=C[j+28>>2];if(!h){break d}Re(a);a=h;break b}if(!a){break a}ko(a,0,j);h=C[j+28>>2];if(h){break c}}C[j+28>>2]=a;break b}Re(a);a=h}l=g-1|0;o=C[j+20>>2];p=C[j+16>>2];q=C[j+24>>2];m=C[j+8>>2];h=0;g=C[j+4>>2];r=(g|0)==131072;s=(g|0)!=65536;e:{while(1){n=h+l|0;j=E[(n&-2)+a>>1];f:{if(!r){k=0;g=0;if(j>>>0>257|s){break f}g=j<<2;k=C[g+44256>>2];g=C[g+44260>>2]+(k^-1)|0;k=k+42400|0;break f}k=0;g=0;i=D[m|0]|D[m+1|0]<<8;if(j>>>0>=((i<<8|i>>>8)&65535)>>>0){break f}g=m+(j<<1)|0;g=D[g+2|0]|D[g+3|0]<<8;i=(g<<8|g>>>8)&65535;if(i>>>0<=257){g=i<<2;k=C[g+44256>>2];g=C[g+44260>>2]+(k^-1)|0;k=k+42400|0;break f}g=0;i=i-258|0;if(i>>>0>=p>>>0){break f}g=C[(i<<2)+o>>2]+q|0;k=g+1|0;g=D[g|0]}i=n>>>1|0;if((f|0)!=(g|0)){g=f-g|0}else{g=Jg(c,k,f)}g:{if((g|0)<0){l=i-1|0;break g}if(!g){break e}h=i+1|0}if((h|0)<=(l|0)){continue}break}h=0;break a}C[e>>2]=j;h=1}if(h){b=1}else{a=C[b+56>>2];h:{if(a){break h}while(1){f=C[b>>2];if(!f){a=84608;break h}a=df(1,232);if(!a){a=84608;C[b+56>>2]=84608;break h}cp(a,f);if(!C[b+56>>2]){C[b+56>>2]=a;break h}Re(C[a+228>>2]);C[a+228>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;mg(a);Re(a);a=C[b+56>>2];if(!a){continue}break}}b=0;if((d|0)<0){d=af(c)}i:{if(!d){break i}f=C[a+224>>2];if((f|0)<=0){break i}j=C[a+228>>2];b=f-1|0;f=0;j:{while(1){h=b+f>>>1|0;k=j+(h<<4)|0;g=C[k+4>>2];k=cf(c,C[k>>2],d>>>0>>0?d:g);g=k?k:d-g|0;k:{if((g|0)<0){b=h-1|0;break k}if(!g){break j}f=h+1|0}if((b|0)>=(f|0)){continue}break}b=0;break i}f=j+(h<<4)|0;d=E[f+12>>1];l:{b=C[a+52>>2];m:{n:{if((b|0)!=84608){d=jo(b,d,C[a+216>>2]);break n}o:{switch(C[a+172>>2]){case 0:b=0;if(d>>>0<229){break n}break i;case 1:a=0;b=164;d=d&65535;p:{q:{while(1){c=a+b>>>1|0;h=E[(c<<2)+36096>>1];r:{if(h>>>0>d>>>0){b=c-1|0;break r}if((d|0)==(h|0)){break q}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break p}d=D[(c<<2)+36098|0]}break n;case 2:break o;default:break m}}a=0;b=85;d=d&65535;s:{t:{while(1){c=a+b>>>1|0;h=E[(c<<2)+36768>>1];u:{if(h>>>0>d>>>0){b=c-1|0;break u}if((d|0)==(h|0)){break t}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break s}d=D[(c<<2)+36770|0]}}if(d){break l}d=E[f+12>>1]}a=d&65535;d=0;if(!a){break l}b=0;break i}C[e>>2]=d;b=1}}return b|0} +function $g(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=C[a>>2];if(!d){j=a-88|0;while(1){d=C[j>>2];if(!d){return 84608}h=df(1,12);if(!h){C[a>>2]=84608;return 84608}c=Ce-48|0;Ce=c;C[c+8>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;A[c+24|0]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;b=Qf(d);A[c+40|0]=1;C[c+36>>2]=b;d=Of(d,1196643650);a:{if(!d){break a}b=C[d>>2];if(!b){break a}C[d>>2]=b+1}A[c+24|0]=0;b=d;C[c+32>>2]=b;f=C[b+12>>2];C[c+4>>2]=f;e=C[b+16>>2];C[c+8>>2]=e+f;C[c+28>>2]=0;if(e>>>0>67108862){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}C[c+12>>2]=e;C[c+20>>2]=0;C[c>>2]=0;b:{c:{if(!f){break c}d:{e:{f:{g:{if(Pn(f,c)){break g}h:{if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(!b){break h}while(1){A[c+24|0]=1;b=C[c+32>>2];f=C[b+12>>2];C[c+4>>2]=f;e=C[b+16>>2];C[c+8>>2]=e+f;C[c+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}else{e=1073741823}C[c+12>>2]=e;C[c+20>>2]=0;C[c>>2]=0;if(!f){break c}if(Pn(f,c)){break g}if(D[c+24|0]|!C[c+28>>2]){break h}b=Pf(d);C[c+4>>2]=b;C[c+8>>2]=b+C[d+16>>2];if(b){continue}break}}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break f}if(!C[c+28>>2]){break e}C[c+28>>2]=0;b=Pn(f,c);f=C[c+28>>2];Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if(f){break f}if(b){break d}}Ue(d);d=84608;break b}Ue(C[c+32>>2]);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}if(C[d+4>>2]){C[d+4>>2]=0}break b}Ue(b);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}C[h>>2]=d;b=d?d:84608;b=F[b+16>>2]<10?84608:C[b+12>>2];f=D[b+8|0]|D[b+9|0]<<8;if(f){b=b+((f<<8|f>>>8)&65535)|0}else{b=84608}b=D[b|0]|D[b+1|0]<<8;b=(b<<8|b>>>8)&65535;C[h+4>>2]=b;f=df(b,24);C[h+8>>2]=f;if(!f){C[h+4>>2]=0;Ue(d);C[h>>2]=0;C[h>>2]=84608;b=C[h+4>>2]}if(b){f=0;while(1){d=84608;i=C[h+8>>2];e=84608;b=C[h>>2];b=b?b:84608;b=F[b+16>>2]<10?84608:C[b+12>>2];g=D[b+8|0]|D[b+9|0]<<8;if(g){e=b+((g<<8|g>>>8)&65535)|0}b=i+I(f,24)|0;g=D[e|0]|D[e+1|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=f>>>0){break i}g=(f<<1)+e|0;g=D[g+2|0]|D[g+3|0]<<8;if(!g){break i}d=((g<<8|g>>>8)&65535)+e|0}C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[c+4>>2]=b;C[c>>2]=0;zt(d,c);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[c+4>>2]=b+12;C[c>>2]=0;b=D[d+4|0]|D[d+5|0]<<8;if(b){e=D[d|0]|D[d+1|0]<<8;i=(e<<8|e>>>8)&65535;e=d+4|0;b=(b<<8|b>>>8)&65535;k=b>>>0<=1?1:b;b=0;while(1){g=D[e|0]|D[e+1|0]<<8;g=((g<<8|g>>>8)&65535)>>>0<=b>>>0?84608:(e+(b<<1)|0)+2|0;g=D[g|0]|D[g+1|0]<<8;if(g){g=((g<<8|g>>>8)&65535)+d|0}else{g=84608}Qn(g,c,i);b=b+1|0;if((k|0)!=(b|0)){continue}break}}f=f+1|0;if(f>>>0>2]){continue}break}}Ce=c+48|0;if(!C[a>>2]){C[a>>2]=h;return h}if(C[h+4>>2]){d=0;while(1){c=C[h+8>>2]+I(d,24)|0;Re(C[c+20>>2]);C[c+20>>2]=0;C[c+12>>2]=0;C[c+16>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}Re(C[h+8>>2]);Ue(C[h>>2]);Re(h);d=C[a>>2];if(!d){continue}break}}return d}function zu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=I(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){g=a+c|0;j=C[g>>2];i=I(b>>>1|0,c)+a|0;k=C[i>>2];d=C[g+4>>2];f=C[i+4>>2];e=cf(j,k,d>>>0>>0?d:f);e=((e?e:d-f|0)|0)>0;f=I(b-1|0,c);h=f+a|0;n=h+m|0;p=C[n>>2];b=e?g:i;o=C[b+4>>2];d=C[n+4>>2];q=cf(e?j:k,p,d>>>0>o>>>0?o:d);if(((q?q:o-d|0)|0)>0){g=e?i:g;b=C[g+4>>2];e=cf(e?k:j,p,b>>>0>>0?b:d);b=((e?e:b-d|0)|0)>0?g:n}if(!((b|0)==(h|0)|(c|0)<=0)){e=b+c|0;d=h;while(1){g=D[b|0];A[b|0]=D[d|0];A[d|0]=g;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}a:{if((f|0)<=0){d=0;break a}i=h;e=h;g=a;f=g;while(1){b:{if(e>>>0<=f>>>0){break b}while(1){b=C[f+4>>2];d=C[h+4>>2];j=cf(C[f>>2],C[h>>2],b>>>0>>0?b:d);b=j?j:b-d|0;if((b|0)<=0){if(!b){if(!((c|0)<=0|f>>>0<=g>>>0)){j=c+g|0;b=g;d=f;while(1){k=D[b|0];A[b|0]=D[d|0];A[d|0]=k;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}g=c+g|0}f=c+f|0;if(f>>>0>>0){continue}break b}break}while(1){c:{k=e;e=e+m|0;b=C[e+4>>2];d:{e:{d=C[h+4>>2];j=cf(C[e>>2],C[h>>2],b>>>0>>0?b:d);b=j?j:b-d|0;if(!b){j=i+m|0;if(i>>>0<=k>>>0){break e}b=e;d=j;if((c|0)<=0){break e}while(1){i=D[b|0];A[b|0]=D[d|0];A[d|0]=i;d=d+1|0;b=b+1|0;if(k>>>0>b>>>0){continue}break}break e}if((b|0)>=0){break d}if(!((c|0)<=0|e>>>0<=f>>>0)){j=c+f|0;b=f;d=e;while(1){k=D[b|0];A[b|0]=D[d|0];A[d|0]=k;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}f=c+f|0;break c}i=j}if(e>>>0>f>>>0){continue}}break}if(e>>>0>f>>>0){continue}}break}f=e-g|0;f:{if((a|0)==(g|0)|(e|0)==(g|0)){break f}b=g-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break f}g=a+f|0;b=a+b|0;d=a;while(1){h=D[d|0];A[d|0]=D[b|0];A[b|0]=h;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break f}if((b|0)<=0){break f}g=a+b|0;b=a+f|0;d=a;while(1){h=D[d|0];A[d|0]=D[b|0];A[b|0]=h;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=i-e|0;if((e|0)==(i|0)|(i|0)==(l|0)){break a}b=l-i|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+e|0;b=d+e|0;while(1){h=D[e|0];A[e|0]=D[b|0];A[b|0]=h;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}g=d+e|0;b=b+e|0;while(1){h=D[e|0];A[e|0]=D[b|0];A[b|0]=h;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}}zu(a,(f>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+I(c,b)|0;if(b>>>0>=10){continue}break}}e=a+c|0;g:{if(l>>>0<=e>>>0){break g}i=0-c|0;if((c|0)>0){while(1){f=e;h:{if(a>>>0>=e>>>0){break h}while(1){g=f+i|0;b=C[g+4>>2];d=C[f+4>>2];h=cf(C[g>>2],C[f>>2],b>>>0>>0?b:d);if(((h?h:b-d|0)|0)<=0){break h}b=g;d=f;while(1){h=D[b|0];A[b|0]=D[d|0];A[d|0]=h;d=d+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}f=g;if(f>>>0>a>>>0){continue}break}}e=c+e|0;if(l>>>0>e>>>0){continue}break g}}while(1){i:{if(a>>>0>=e>>>0){break i}f=C[e>>2];b=C[e+4>>2];d=e;while(1){d=d+i|0;h=C[d>>2];g=C[d+4>>2];f=cf(h,f,b>>>0>g>>>0?g:b);if(((f?f:g-b|0)|0)<=0){break i}f=h;b=g;if(a>>>0>>0){continue}break}}e=c+e|0;if(l>>>0>e>>>0){continue}break}}}function jr(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;e=C[a+8>>2];if(e){c=C[e+8>>2];if(c){while(1){c=c-1|0;b=C[e+12>>2]+I(c,12)|0;d=C[b+8>>2];b=C[b+4>>2];C[e+8>>2]=c;if(d){Fe[d|0](b);c=C[e+8>>2]}if(c){continue}break}}Re(C[e+12>>2]);Re(e)}c=C[a+200>>2];if(c){while(1){b=C[c+4>>2];Fn(C[c>>2]);Re(c);c=b;if(b){continue}break}}d=0;b=C[a+52>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+56>>2];if(!(!b|(b|0)==84608)){Ue(C[b+44>>2]);Re(b)}b=C[a+60>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+64>>2];if(!(!b|(b|0)==84608)){Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b)}b=C[a+68>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+72>>2];if(!(!b|(b|0)==84608)){Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;Re(C[b+28>>2]);Ue(C[b>>2]);Re(b)}b=C[a+76>>2];if(!(!b|(b|0)==84608)){Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;Ue(C[b+8>>2]);Re(b)}b=C[a+80>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+84>>2];if(!(!b|(b|0)==84608)){Ue(C[b>>2]);Re(b)}b=C[a+88>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+92>>2];if(!(!b|(b|0)==84608)){Ue(C[b+12>>2]);C[b+12>>2]=0;Ue(C[b+16>>2]);Re(b)}b=C[a+96>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+100>>2];if(!(!b|(b|0)==84608)){Ue(C[b+20>>2]);C[b+20>>2]=0;Ue(C[b+24>>2]);Re(b)}b=C[a+104>>2];if(!(!b|(b|0)==84608)){Re(C[b+228>>2]);C[b+228>>2]=0;C[b+220>>2]=0;C[b+224>>2]=0;mg(b);Re(b)}b=C[a+108>>2];if(!(!b|(b|0)==84608)){Kh(b);Re(b)}b=C[a+112>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+116>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+120>>2];if(!(!b|(b|0)==84608)){Ue(C[b>>2]);Re(b)}b=C[a+124>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+128>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+132>>2];if(!(!b|(b|0)==84608)){Ue(C[b>>2]);Re(b)}c=C[a+136>>2];if(!(!c|(c|0)==84608)){if(C[c+4>>2]){while(1){b=C[c+8>>2]+I(d,24)|0;Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}Re(C[c+8>>2]);Ue(C[c>>2]);Re(c)}c=C[a+140>>2];if(!(!c|(c|0)==84608)){if(C[c+4>>2]){d=0;while(1){b=C[c+8>>2]+I(d,24)|0;Re(C[b+20>>2]);C[b+20>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}Re(C[c+8>>2]);Ue(C[c>>2]);Re(c)}b=C[a+144>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+148>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+152>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+156>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+160>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+164>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+168>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+172>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+176>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+180>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+184>>2];if(!(!b|(b|0)==84608)){Ue(C[b>>2]);C[b>>2]=0;Ue(C[b+4>>2]);Re(b)}b=C[a+188>>2];if(!(!b|(b|0)==84608)){Ue(C[b>>2]);Re(b)}b=C[a+192>>2];if(!(!b|(b|0)==84608)){Ue(C[b>>2]);Re(b)}b=C[a+196>>2];if(!(!b|(b|0)==84608)){Ue(b)}b=C[a+20>>2];if(b){Fe[b|0](C[a+16>>2])}Re(a)}}function bG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ce-464|0;Ce=c;C[c+424>>2]=C[37694];b=C[37693];C[c+416>>2]=C[37692];C[c+420>>2]=b;b=C[37691];C[c+408>>2]=C[37690];C[c+412>>2]=b;b=C[37689];C[c+400>>2]=C[37688];C[c+404>>2]=b;b=C[37687];C[c+392>>2]=C[37686];C[c+396>>2]=b;b=C[37685];C[c+384>>2]=C[37684];C[c+388>>2]=b;b=C[37683];C[c+376>>2]=C[37682];C[c+380>>2]=b;b=C[37681];C[c+368>>2]=C[37680];C[c+372>>2]=b;e=C[a+20>>2];d=C[a+12>>2];g=C[a+16>>2];b=C[a+4>>2];C[c+84>>2]=C[a+8>>2];C[c+80>>2]=(b|0)==1?17125:7750;C[c+76>>2]=b;C[c+72>>2]=g;C[c+68>>2]=d;C[c+64>>2]=e;b=c+96|0;e=b;a:{b:{c:{b=rf(b,256,34138,c- -64|0);if((b|0)>=256){d=b+1|0;b=d;e=Fe[C[94762]](b>>>0<=1?1:b)|0;if(e){C[94766]=C[94766]+1}if(!e){e=c+96|0;break c}g=C[a+20>>2];f=C[a+12>>2];i=C[a+16>>2];b=C[a+4>>2];C[c+52>>2]=C[a+8>>2];C[c+48>>2]=(b|0)==1?17125:7750;C[c+44>>2]=b;C[c+40>>2]=i;C[c+36>>2]=f;C[c+32>>2]=g;b=rf(e,d,34138,c+32|0)}if((b|0)>=0){break c}b=2;if((c+96|0)!=(e|0)){break b}break a}C[c+16>>2]=e;Bk(34928,c+16|0);a=Ug(23194);if(a){if(e?(c+96|0)!=(e|0):0){Fe[C[94765]](e);C[94766]=C[94766]-1}if(!uf(a,3674)){b=2;break a}if(!uf(a,14510)){b=1;break a}if(!uf(a,1064)){b=0;break a}if(!uf(a,16772)){b=3;break a}b=uf(a,16765)?2:4;break a}a=C[105780];d:{e:{if(!a){break e}a=C[a+380>>2];if(!a){break e}while(1){b=a;if(D[b+49|0]&2){break d}a=C[a+172>>2];if(a){continue}break}}b=0}a=0;f:{if(!b){break f}a=0;if(!(kl(b)&1)){break f}qq(b);a=b}b=c+436|0;mf(b,0,28);C[c+452>>2]=5;C[c+448>>2]=e;C[c+444>>2]=20628;C[c+440>>2]=a;C[c+436>>2]=32;C[c+456>>2]=c+368;f=c+364|0;d=Ce-48|0;Ce=d;g:{if(!b){C[d>>2]=21851;b=Qe(19745,d);break g}if(C[b+16>>2]<0){b=Qe(6775,0);break g}C[105781]=C[105781]+1;g=C[104886];i=C[105681];ji(0);qn(0);j=Fr(1);Nr();gf(d+16|0,b,28);if(!C[d+24>>2]){C[d+24>>2]=34979}if(!C[d+28>>2]){C[d+28>>2]=34979}C[105732]=128;C[105731]=422944;C[105730]=0;b=C[105780];h:{i:{if(!b){break i}h=C[b+336>>2];if(!h){break i}b=Fe[h|0](b,d+16|0,f?f:d+44|0)|0;if((b|0)!=-1){break h}}b=-1;C[105732]=128;C[105731]=422944;f=34979;j:{if(!C[105730]){break j}f=C[105731]}if(D[f|0]){break h}Qe(18078,0)}C[105781]=C[105781]-1;k:{if(!g){break k}f=C[105780];if(!f){Qe(19865,0);break k}if(C[g>>2]!=(f+388|0)){Qe(2168,0);break k}if(!(D[g+48|0]&4)){break k}h=C[f+92>>2];if(!h){break k}Fe[h|0](f,g)}Fr(j);qn(i);ji(0)}Ce=d+48|0;l:{if(b){while(1){C[c>>2]=e;A[c+94|0]=105;A[c+95|0]=0;b=Ia(382648,c+94|0,c|0)|0;if(!uf(b,22170)){Re(b);b=2;break l}if(!uf(b,11257)){Re(b);b=0;break l}if(!uf(b,14663)){Re(b);b=3;break l}d=uf(b,28750);Re(b);if(d){continue}break}b=4;break l}b=C[c+364>>2];b=(b|0)==-1?3:b}if(a){m:{d=C[105780];if(!d){Qe(19865,0);break m}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);break m}n:{if(!(D[a+48|0]&192)){break n}g=C[d+104>>2];if(!g){break n}Fe[g|0](d,a)}}}if((c+96|0)==(e|0)){break a}}if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}}Ce=c+464|0;return b|0}function Ut(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if((D[a|0]|D[a+1|0]<<8)==2560){a:{c=D[a+4|0]|D[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=b>>>0){d=D[a+6|0]|D[a+7|0]<<8;f=(d<<8|d>>>8)&65535;d=b-c|0;if(f>>>0>d>>>0){break a}}a=C[21152];return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}b=D[a+2|0]|D[a+3|0]<<8;if(!b){return 0}c=0;f=a;b=(b<<8|b>>>8)&65535;a=I(b,d);a=(a|0)<0?84608:(f+a|0)+8|0;b=b>>>0<=1?1:b;e=b&3;if(b-1>>>0<3){b=0}else{g=b&65532;b=0;while(1){d=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(e){while(1){b=D[a|0]|b<<8;a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return b}b:{c:{d:{e:{f:{g:{e=D[a|0]|D[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 4:break c;case 6:break d;case 8:break e;case 2:break f;case 0:break g;default:break b}}d=b>>>0>>0?(b|0)<0?84608:((b<<2)+a|0)+2|0:0;break b}g=a+12|0;e=0;c=D[a+4|0]|D[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=d;h:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;c=0;break h}a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;d=g+I(a,d-1|0)|0;c=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break h}c=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}c=f+c|0;i:{if((c|0)<=0){break i}c=c-1|0;d=0;while(1){h=c+d>>>1|0;e=g+I(h,a)|0;f=D[e+2|0]|D[e+3|0]<<8;j:{if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){d=D[e|0]|D[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){break i}d=h+1|0;break j}c=h-1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+4|0:0;break b}c=D[a+2|0]|D[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break b}b=b-c|0;e=D[a+4|0]|D[a+5|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){break b}d=(b|0)<0?84608:((b<<2)+a|0)+6|0;break b}g=a+12|0;e=0;c=D[a+4|0]|D[a+5|0]<<8;d=(c<<8|c>>>8)&65535;k:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;c=0;break k}a=D[a+2|0]|D[a+3|0]<<8;a=(a<<8|a>>>8)&65535;c=g+I(a,d-1|0)|0;c=(D[c|0]|D[c+1|0]<<8)==65535?-1:0}c=d+c|0;l:{if((c|0)<=0){break l}c=c-1|0;d=0;while(1){h=c+d>>>1|0;e=g+I(h,a)|0;f=D[e|0]|D[e+1|0]<<8;f=(f<<8|f>>>8)&65535;m:{if(f>>>0>b>>>0){c=h-1|0;break m}if((b|0)==(f|0)){break l}d=h+1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+2|0:0;break b}c=D[a+4|0]|D[a+5|0]<<8;g=(c<<8|c>>>8)&65535;h=a+12|0;n:{if(!c){c=D[a+2|0]|D[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break n}e=D[a+2|0]|D[a+3|0]<<8;f=(e<<8|e>>>8)&65535;e=h+I(f,g-1|0)|0;c=0;if((D[e|0]|D[e+1|0]<<8)!=65535){break n}c=(D[e+2|0]|D[e+3|0]<<8)==65535?-1:0}c=c+g|0;if((c|0)<=0){break b}c=c-1|0;while(1){g=c+d>>>1|0;e=h+I(g,f)|0;i=D[e+2|0]|D[e+3|0]<<8;i=(i<<8|i>>>8)&65535;o:{if(i>>>0<=b>>>0){d=D[e|0]|D[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=g+1|0;break o}c=a;a=D[e+4|0]|D[e+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;d=(a|0)<0?84608:c+(a<<2)|0;break b}c=g-1|0}if((c|0)>=(d|0)){continue}break}d=0}a=d?d:84608;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function ZI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0;a:{if((e|0)<=0){break a}f=e&1;b:{if((e|0)==1){e=0;break b}k=e&-2;e=0;while(1){i=e<<2;if(C[i+d>>2]){C[(j<<2)+c>>2]=C[c+i>>2];j=j+1|0}i=(e|1)<<2;if(C[i+d>>2]){C[(j<<2)+c>>2]=C[c+i>>2];j=j+1|0}e=e+2|0;m=m+2|0;if((k|0)!=(m|0)){continue}break}}c:{if(!f){break c}v=d;d=e<<2;if(!C[v+d>>2]){break c}C[(j<<2)+c>>2]=C[c+d>>2];j=j+1|0}if(!j){break a}d=Ce;v=d;n=C[b>>2];e=C[n+4>>2];f=C[a+36>>2]>>1;e=((e|0)<(f|0)?e:f)-C[n>>2]|0;d:{if((e|0)<=0){break d}r=C[C[b+16>>2]>>2];o=C[n+8>>2];p=(e|0)/(o|0)|0;s=d-((j<<2)+15&-16)|0;Ce=s;if((j|0)>0){e=((p+r|0)-1|0)/(r|0)<<2;d=0;while(1){F=(d<<2)+s|0,H=rg(a,e),C[F>>2]=H;d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=C[b+8>>2];if((d|0)<=0){break d}w=a+4|0;z=(p|0)<=0;while(1){if(!z){a=0;x=(j|0)<=0;A=x|(q|0)!=0;B=1<>2],w);if((e|0)==-1|(e|0)>=C[n+16>>2]){break d}e=C[C[b+28>>2]+(e<<2)>>2];C[C[(d<<2)+s>>2]+(m<<2)>>2]=e;if(!e){break d}d=d+1|0;if((j|0)!=(d|0)){continue}break}}e:{if((r|0)<=0){break e}t=0;if((a|0)>=(p|0)){break e}while(1){if(!x){D=I(a,o);d=0;while(1){e=d<<2;f=C[C[C[e+s>>2]+(m<<2)>>2]+(t<<2)>>2]<<2;f:{if(!(C[(f+n|0)+24>>2]&B)){break f}i=C[C[f+C[b+20>>2]>>2]+(q<<2)>>2];if(!i){break f}k=C[c+e>>2]+(C[n>>2]+D<<2)|0;e=0;l=0;g:{if(C[i+8>>2]<=0){break g}h:{if(C[i>>2]<=8){if((o|0)<=0){break g}l=-1;while(1){f=dk(i,w);if((f|0)==-1){break g}g=C[i>>2];h=C[i+16>>2]+(I(g,f)<<2)|0;f=0;i:{switch(g-1|0){case 7:f=(e<<2)+k|0;G[f>>2]=G[h>>2]+G[f>>2];f=1;e=e+1|0;case 6:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 5:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 4:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 3:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 2:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 1:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;f=f+1|0;case 0:g=(e<<2)+k|0;G[g>>2]=G[h+(f<<2)>>2]+G[g>>2];e=e+1|0;break;default:break i}}if((e|0)<(o|0)){continue}break}break h}if((o|0)<=0){break g}while(1){l=-1;f=dk(i,w);if((f|0)==-1){break g}h=C[i>>2];j:{if((h|0)<=0){break j}g=C[i+16>>2]+(I(f,h)<<2)|0;f=0;if((h|0)!=1){E=h&-2;l=0;while(1){u=(e<<2)+k|0;y=f<<2;G[u>>2]=G[g+y>>2]+G[u>>2];G[u+4>>2]=G[g+(y|4)>>2]+G[u+4>>2];e=e+2|0;f=f+2|0;l=l+2|0;if((E|0)!=(l|0)){continue}break}}if(!(h&1)){break j}h=(e<<2)+k|0;G[h>>2]=G[g+(f<<2)>>2]+G[h>>2];e=e+1|0}if((e|0)<(o|0)){continue}break}}l=0}if((l|0)==-1){break d}}d=d+1|0;if((j|0)!=(d|0)){continue}break}}a=a+1|0;t=t+1|0;if((t|0)>=(r|0)){break e}if((a|0)<(p|0)){continue}break}}m=m+1|0;if((a|0)<(p|0)){continue}break}d=C[b+8>>2]}q=q+1|0;if((q|0)<(d|0)){continue}break}}Ce=v}return 0}function PG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=C[C[a+112>>2]+4>>2];if(c){Js(c,b,C[a+4>>2])}d=C[b+80>>2];if(d){g=C[b+92>>2];a=0;while(1){e=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=I(a,20)+g|0;b=C[f>>2];c=b>>>12|0;switch(c|0){case 19:break g;case 17:break h;case 16:break i;case 15:break j;case 10:break k;case 2:break l;case 1:break m;case 0:break n;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 18:case 20:case 21:case 23:case 25:case 26:case 28:case 29:break a;case 30:break c;case 27:break d;case 24:break e;case 22:break f;default:break o}}if((c|0)!=224|b-917760>>>0>239){break a}c=b-908608|0;break b}c=b-40|0;if(c>>>0<24){break b}if(b-160>>>0<=55){c=b-136|0;break b}p:{c=b&-8;if((c|0)!=1600){if((c|0)!=840){break p}c=b-760|0;break b}c=b-1512|0;break b}if(b-1992>>>0<=55){c=b-1896|0;break b}if((b&-32)==2112){c=b-1960|0;break b}if(b-2304>>>0<=1271){c=b-2120|0;break b}if(b-3840>>>0>199){break a}c=b-2384|0;break b}if(b-4096>>>0<=159){c=b-2440|0;break b}if(b-5888>>>0<=431){c=b-4072|0;break b}if(b-6400>>>0<=415){c=b-4152|0;break b}if(b-6912>>>0<=335){c=b-4248|0;break b}if(b-7376>>>0<=47){c=b-4376|0;break b}if((b&-8)!=7672){break a}c=b-4624|0;break b}if(b-8200>>>0<=15){c=b-5144|0;break b}if(b-8304>>>0<=23){c=b-5232|0;break b}q:{c=b&-8;if((c|0)!=9672){if((c|0)!=8432){break q}c=b-5336|0;break b}c=b-6568|0;break b}if(b-11568>>>0>79){break a}c=b-8456|0;break b}if(b-43008>>>0<=759){c=b-39816|0;break b}if((b&-64)!=43968){break a}c=b-40016|0;break b}if((b&-16)!=65024){break a}c=b-61008|0;break b}if(b-66928>>>0<=79){c=b-62896|0;break b}if(b-68096>>>0<=79){c=b-63984|0;break b}if(b-68288>>>0<=47){c=b-64096|0;break b}if(b-68480>>>0<=47){c=b-64240|0;break b}if((b&-64)==68864){c=b-64576|0;break b}if(b-69248>>>0<=55){c=b-64896|0;break b}if(b-69424>>>0>407){break a}c=b-65016|0;break b}if(b-69424>>>0<=407){c=b-65016|0;break b}if(b-69888>>>0<=319){c=b-65072|0;break b}if(b-70272>>>0<=247){c=b-65136|0;break b}if(b-70656>>>0<=223){c=b-65272|0;break b}if(b-71040>>>0<=455){c=b-65432|0;break b}if((b&-64)==71680){c=b-65616|0;break b}if(b-71936>>>0<=95){c=b-65808|0;break b}if(b-72096>>>0<=255){c=b-65872|0;break b}if(b-72704>>>0<=183){c=b-66224|0;break b}if(b-72960>>>0<=175){c=b-66296|0;break b}if(b-73440>>>0>23){break a}c=b-66600|0;break b}if(b-77824>>>0>1087){break a}c=b-70960|0;break b}if(b-92864>>>0<=119){c=b-84912|0;break b}if(b-93952>>>0<=151){c=b-85880|0;break b}if((b&-8)!=94176){break a}c=b-85952|0;break b}if(b-101120>>>0>471){break a}c=b-92888|0;break b}if(b-113664>>>0>159){break a}c=b-104960|0;break b}if(b-123136>>>0<=79){c=b-114272|0;break b}if(b-123536>>>0<=111){c=b-114592|0;break b}if(b-125184>>>0>95){break a}c=b-116128|0}e=D[c+52944|0]}A[f+18|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function ss(){var 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;a=Ce-192|0;Ce=a;b=C[97735];if(!Se(b,2953)){g=C[97714]-C[97712]|0;k=C[97713]-C[97711]|0}Yj(b,a+48|0);c=C[a+124>>2];b=C[97737];if(F[a+120>>2]>F[97736]&(c|0)>=(b|0)|(b|0)<(c|0)){Yj(C[97735],a+48|0);b=C[a+124>>2];C[97736]=C[a+120>>2];C[97737]=b;Yn()}if(!(C[97742]|C[97743])){Yj(C[97740],a+48|0);b=C[a+124>>2];C[97742]=C[a+120>>2];C[97743]=b}Yj(C[97740],a+48|0);c=C[a+124>>2];b=C[97743];if(F[a+120>>2]>F[97742]&(c|0)>=(b|0)|(b|0)<(c|0)){Yj(C[97740],a+48|0);b=C[a+124>>2];C[97742]=C[a+120>>2];C[97743]=b;Tg(34852,0);Ns()}Bj(C[97706],0,0,0,0);a:{if(!C[97739]){break a}l=a+44|0;m=a+40|0;b=44;d=k;while(1){if(C[97730]==(h|0)){break a}c=b;b:{c:{d:{e=C[97738]+j|0;i=A[e|0];b=i;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((i|0)!=10){if((i|0)!=95){break c}Bj(C[97706],255,255,255,40);if(D[398236]){C[a+48>>2]=0;C[a+52>>2]=0;C[a+56>>2]=16;C[a+60>>2]=16;c=C[97708]+d|0;C[a+176>>2]=c+2;b=C[97709];C[a+184>>2]=10;C[a+188>>2]=9;b=b+g|0;C[a+180>>2]=b+2;C[a+164>>2]=b;C[a+160>>2]=c;C[a+168>>2]=16;C[a+172>>2]=16;Sq(C[97706]);Oq(C[97706],a+160|0);ql(C[97706],C[104359],a+48|0,a+176|0)}Bj(C[97706],0,0,0,0);C[C[C[97733]+(h<<2)>>2]+(f<<2)>>2]=-1;f=f+1|0;d=d+16|0;b=D[C[97738]+j|0];break b}C[C[97732]+(h<<2)>>2]=f;g=g+16|0;f=0;h=h+1|0;if((h|0)==C[97730]){d=k;b=c;break b}b=D[e|0];d=k;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|0)!=12?c:0){break b}}g:{h:{i:{j:{b=D[e+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}}C[a+48>>2]=0;b=2;k:{l:{m:{c=D[e+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}c=a+48|0;jf(c,e,b);b=Zf(c);break g}b=i-48|0}c=I(b,24)+390832|0;e=C[c+152>>2];c=C[c+156>>2];C[a+36>>2]=g;C[a+32>>2]=d;C[a+16>>2]=e;C[a+20>>2]=c;C[a+24>>2]=16;C[a+28>>2]=16;C[a>>2]=C[97708]+d;c=C[97709];C[a+8>>2]=16;C[a+12>>2]=16;C[a+4>>2]=c+g;Wq(C[97729],m,l);ql(C[97706],C[97729],a+16|0,a);Bj(C[97706],255,255,255,40);if(D[398236]){C[a+48>>2]=0;C[a+52>>2]=0;C[a+56>>2]=16;C[a+60>>2]=16;e=C[97708]+d|0;C[a+176>>2]=e+2;c=C[97709];C[a+184>>2]=10;C[a+188>>2]=9;c=c+g|0;C[a+180>>2]=c+2;C[a+164>>2]=c;C[a+160>>2]=e;C[a+168>>2]=16;C[a+172>>2]=16;Sq(C[97706]);Oq(C[97706],a+160|0);ql(C[97706],C[(((b|0)<0?b+300|0:b)<<2)+416240>>2],a+48|0,a+176|0)}Bj(C[97706],0,0,0,0);C[C[C[97733]+(h<<2)>>2]+(f<<2)>>2]=b;f=f+1|0;d=d+16|0;b=i}j=j+1|0;if(j>>>0>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}e=C[a>>2];b=e+b|0;c:{a=a-e|0;if((a|0)!=C[108119]){if(e>>>0<=255){d=C[a+8>>2];c=C[a+12>>2];if((d|0)!=(c|0)){break c}i=432456,j=C[108114]&rT(-2,e>>>3|0),C[i>>2]=j;break b}h=C[a+24>>2];c=C[a+12>>2];d:{if((c|0)!=(a|0)){d=C[a+8>>2];C[d+12>>2]=c;C[c+8>>2]=d;break d}e:{e=a+20|0;d=C[e>>2];if(d){break e}e=a+16|0;d=C[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=C[e>>2];if(d){continue}e=c+16|0;d=C[c+16>>2];if(d){continue}break}C[g>>2]=0}if(!h){break b}e=C[a+28>>2];d=(e<<2)+432760|0;f:{if(C[d>>2]==(a|0)){C[d>>2]=c;if(c){break f}i=432460,j=C[108115]&rT(-2,e),C[i>>2]=j;break b}C[h+(C[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}C[c+24>>2]=h;d=C[a+16>>2];if(d){C[c+16>>2]=d;C[d+24>>2]=c}d=C[a+20>>2];if(!d){break b}C[c+20>>2]=d;C[d+24>>2]=c;break b}c=C[f+4>>2];if((c&3)!=3){break b}C[108116]=b;C[f+4>>2]=c&-2;C[a+4>>2]=b|1;C[f>>2]=b;return}C[d+12>>2]=c;C[c+8>>2]=d}c=C[f+4>>2];g:{if(!(c&2)){if(C[108120]==(f|0)){C[108120]=a;b=C[108117]+b|0;C[108117]=b;C[a+4>>2]=b|1;if(C[108119]!=(a|0)){break a}C[108116]=0;C[108119]=0;return}if(C[108119]==(f|0)){C[108119]=a;b=C[108116]+b|0;C[108116]=b;C[a+4>>2]=b|1;C[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){c=c>>>3|0;e=C[f+12>>2];d=C[f+8>>2];if((e|0)==(d|0)){i=432456,j=C[108114]&rT(-2,c),C[i>>2]=j;break h}C[d+12>>2]=e;C[e+8>>2]=d;break h}h=C[f+24>>2];c=C[f+12>>2];i:{if((f|0)!=(c|0)){d=C[f+8>>2];C[d+12>>2]=c;C[c+8>>2]=d;break i}j:{d=f+20|0;e=C[d>>2];if(e){break j}d=f+16|0;e=C[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=C[d>>2];if(e){continue}d=c+16|0;e=C[c+16>>2];if(e){continue}break}C[g>>2]=0}if(!h){break h}e=C[f+28>>2];d=(e<<2)+432760|0;k:{if(C[d>>2]==(f|0)){C[d>>2]=c;if(c){break k}i=432460,j=C[108115]&rT(-2,e),C[i>>2]=j;break h}C[h+(C[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}C[c+24>>2]=h;d=C[f+16>>2];if(d){C[c+16>>2]=d;C[d+24>>2]=c}d=C[f+20>>2];if(!d){break h}C[c+20>>2]=d;C[d+24>>2]=c}C[a+4>>2]=b|1;C[a+b>>2]=b;if(C[108119]!=(a|0)){break g}C[108116]=b;return}C[f+4>>2]=c&-2;C[a+4>>2]=b|1;C[a+b>>2]=b}if(b>>>0<=255){c=(b&-8)+432496|0;d=C[108114];b=1<<(b>>>3);l:{if(!(d&b)){C[108114]=b|d;b=c;break l}b=C[c+8>>2]}C[c+8>>2]=a;C[b+12>>2]=a;C[a+12>>2]=c;C[a+8>>2]=b;return}e=31;if(b>>>0<=16777215){c=L(b>>>8|0);e=((b>>>38-c&1)-(c<<1)|0)+62|0}C[a+28>>2]=e;C[a+16>>2]=0;C[a+20>>2]=0;g=(e<<2)+432760|0;m:{d=C[108115];c=1<>2]=a;C[a+24>>2]=g;break n}e=b<<((e|0)!=31?25-(e>>>1|0)|0:0);c=C[g>>2];while(1){d=c;if((C[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=C[g+16>>2];if(c){continue}break}C[g+16>>2]=a;C[a+24>>2]=d}C[a+12>>2]=a;C[a+8>>2]=a;return}b=C[d+8>>2];C[b+12>>2]=a;C[d+8>>2]=a;C[a+24>>2]=0;C[a+12>>2]=d;C[a+8>>2]=b}}function Ws(a,b){var c=0,d=J(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ce-16|0;Ce=h;j=C[b+100>>2];f=D[a+2|0]|D[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=84608}f=zf(c,C[C[j+92>>2]+I(C[j+76>>2],20)>>2]);e=D[a+4|0]|D[a+5|0]<<8;g=f>>>0>=((e<<8|e>>>8)&65535)>>>0?84608:((f<<2)+a|0)+6|0;a:{if(!(D[g|0]|D[g+1|0]<<8)){f=0;break a}e=C[j+76>>2];C[b+40>>2]=1;C[b+4>>2]=e;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];f=0;A[b+24|0]=(e|0)==C[c+76>>2]?D[(C[c+92>>2]+I(e,20)|0)+15|0]:0;k=b+4|0;if(!ki(k)){break a}e=D[a+2|0]|D[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=84608}e=zf(c,C[C[j+92>>2]+I(C[k>>2],20)>>2]);c=D[a+4|0]|D[a+5|0]<<8;i=e>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:((e<<2)+a|0)+6|0;c=D[i+2|0]|D[i+3|0]<<8;if(!c){break a}b:{c:{e=C[j+76>>2];f=C[k>>2];k=e-f|0;if(k>>>0<=1){break c}Sf(j,f,e);c=D[i+2|0]|D[i+3|0]<<8;if(c){break c}c=84608;break b}c=((c<<8|c>>>8)&65535)+a|0}Ul(c,b,C[C[j+92>>2]+I(f,20)>>2],h+4|0,h);c=D[g|0]|D[g+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}Ul(a,b,C[C[j+92>>2]+I(e,20)>>2],h+12|0,h+8|0);i=C[j+100>>2];d:{e:{f:{g:{h:{l=C[b+116>>2];switch(l-4|0){case 3:break e;case 2:break f;case 1:break g;case 0:break h;default:break d}}c=i+I(f,20)|0;d=J(J(O(J(G[h+4>>2]+J(.5))))+J(C[c+8>>2]));i:{if(J(K(d))>2]=a;a=i+I(e,20)|0;g=C[a+8>>2];d=J(J(O(J(G[h+12>>2]+J(.5))))+J(g|0));j:{if(J(K(d))>2]=g-c;C[a>>2]=C[a>>2]-c;break d}a=i+I(f,20)|0;g=C[a+8>>2];d=J(J(O(J(G[h+4>>2]+J(.5))))+J(g|0));k:{if(J(K(d))>2]=g-c;C[a>>2]=C[a>>2]-c;a=i+I(e,20)|0;d=J(J(O(J(G[h+12>>2]+J(.5))))+J(C[a+8>>2]));if(J(K(d))>2]=~~d;break d}C[a>>2]=-2147483648;break d}c=i+I(f,20)|0;d=J(J(O(J(G[h>>2]+J(.5))))+J(C[c+12>>2]));l:{if(J(K(d))>2]=a;a=i+I(e,20)|0;g=C[a+12>>2];d=J(J(O(J(G[h+8>>2]+J(.5))))+J(g|0));m:{if(J(K(d))>2]=g-c;C[a+4>>2]=C[a+4>>2]-c;break d}a=i+I(f,20)|0;g=C[a+12>>2];d=J(J(O(J(G[h>>2]+J(.5))))+J(g|0));n:{if(J(K(d))>2]=g-c;C[a+4>>2]=C[a+4>>2]-c;c=i+I(e,20)|0;d=J(O(J(G[h+8>>2]+J(.5))));o:{if(J(K(d))>2]=a}a=D[b+132|0];d=J(G[h+8>>2]-G[h>>2]);p:{if(J(K(d))>2]-G[h+4>>2]);q:{if(J(K(d))>1]=k;A[a+18|0]=2;C[j+36>>2]=C[j+36>>2]|8;s:{if((C[b+116>>2]&-2)==4){C[a+12>>2]=c;break s}C[a+8>>2]=g}b=i+I(f,20)|0;if(B[b+16>>1]==(0-B[a+16>>1]|0)){B[b+16>>1]=0}f=1;C[j+76>>2]=C[j+76>>2]+1}Ce=h+16|0;return f}function nz(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;d=Ce-800|0;Ce=d;C[d+540>>2]=0;C[d+544>>2]=12324;c=C[a+408>>2];C[d+552>>2]=12323;C[d+548>>2]=c;c=C[a+412>>2];C[d+560>>2]=12322;C[d+556>>2]=c;C[d+564>>2]=C[a+416>>2];if(b){C[d+568>>2]=12327;C[d+572>>2]=12344;b=8}else{b=6}c=C[a+420>>2];if(c){e=b<<2;f=d+544|0;C[e+f>>2]=12321;C[f+(e|4)>>2]=c;b=b+2|0}c=C[a+428>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12320;C[e+4>>2]=c;b=b+2|0}c=C[a+424>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12325;C[e+4>>2]=c;b=b+2|0}c=C[a+432>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12326;C[e+4>>2]=c;b=b+2|0}c=C[a+460>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12338;C[e+4>>2]=c;b=b+2|0}c=C[a+464>>2];if(c){e=(d+544|0)+(b<<2)|0;C[e>>2]=12337;C[e+4>>2]=c;b=b+2|0}if(C[a+468>>2]){c=(d+544|0)+(b<<2)|0;C[c>>2]=13113;C[c+4>>2]=13115;b=b+2|0}c=C[a+1080>>2];if(C[c+36>>2]){e=(d+544|0)+(b<<2)|0;C[e>>2]=12339;C[e+4>>2]=1;b=b+2|0}C[(d+544|0)+(b<<2)>>2]=12352;e=b+1|0;a:{if(C[a+488>>2]==4){c=C[a+476>>2];b:{if((c|0)>=3){if(pk(a,3094)){C[(d+544|0)+(e<<2)>>2]=64;break b}c=C[a+476>>2]}e=(d+544|0)+(e<<2)|0;if((c|0)>=2){C[e>>2]=4;break b}C[e>>2]=1}c=C[a+1080>>2];f=12448;break a}C[(d+544|0)+(e<<2)>>2]=8;f=12450}Fe[C[c+124>>2]](f)|0;c=b+2|0;f=d+544|0;e=C[a+1080>>2];if(C[e+20>>2]){C[(d+544|0)+(c<<2)>>2]=12339;C[((b<<2)+d|0)+556>>2]=C[e+20>>2];c=b+4|0}C[(c<<2)+f>>2]=12344;b=-1;c:{if(!(Fe[C[e+68>>2]](C[e+8>>2],f,d+16|0,128,d+540|0)|0)){break c}e=C[d+540>>2];if(!e){break c}b=C[a+1080>>2];d:{if(!C[b+32>>2]){l=1;break d}l=1;if((e|0)<=0){break d}c=0;while(1){e:{Fe[C[b+112>>2]](C[b+8>>2],C[(d+16|0)+(c<<2)>>2],12334,d+536|0)|0;b=C[a+1080>>2];if(C[b+32>>2]==C[d+536>>2]){break e}c=c+1|0;e=C[d+540>>2];if((c|0)<(e|0)){continue}break d}break}l=0;e=C[d+540>>2]}j=-1;if((e|0)>0){k=-1;e=-1;while(1){b=C[a+1080>>2];f:{if(!(!C[b+32>>2]|l)){Fe[C[b+112>>2]](C[b+8>>2],C[(d+16|0)+(g<<2)>>2],12334,d+12|0)|0;b=C[a+1080>>2];if(C[b+32>>2]!=C[d+12>>2]){break f}}h=(d+16|0)+(g<<2)|0;Fe[C[b+112>>2]](C[b+8>>2],C[h>>2],12324,d+536|0)|0;n=1;g:{if(C[d+536>>2]!=8){break g}b=C[a+1080>>2];Fe[C[b+112>>2]](C[b+8>>2],C[h>>2],12323,d+536|0)|0;if(C[d+536>>2]!=8){break g}b=C[a+1080>>2];Fe[C[b+112>>2]](C[b+8>>2],C[h>>2],12322,d+536|0)|0;n=C[d+536>>2]!=8}b=0;c=0;while(1){i=c<<2;m=C[i+(d+544|0)>>2];if((m|0)!=12344){f=c;c=(d+544|0)+(i|4)|0;if(!(C[c>>2]==-1|m-12321>>>0>5)){i=C[a+1080>>2];Fe[C[i+112>>2]](C[i+8>>2],C[h>>2],m,d+536|0)|0;b=(C[d+536>>2]+b|0)-C[c>>2]|0}c=f+2|0;if(f>>>0<61){continue}}break}if(!((e|0)!=-1&(b|0)>=(e|0))){C[C[a+1080>>2]+12>>2]=C[h>>2];e=b}if(n){break f}c=(k|0)==-1|(b|0)<(k|0);j=c?g:j;k=c?b:k}g=g+1|0;if((g|0)>2]){continue}break}}b=0;if((j|0)==-1|(C[a+412>>2]+(C[a+416>>2]+C[a+408>>2]|0)|0)>16){break c}C[C[a+1080>>2]+12>>2]=C[(d+16|0)+(j<<2)>>2]}Ce=d+800|0;return b}function By(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;p(b,0,196);e=D[a+176|0];A[b+8|0]=e;a:{if(!e){break a}if(e>>>0>=4){h=e&252;f=b+12|0;g=a+180|0;while(1){B[f+(c<<1)>>1]=C[g+(c<<2)>>2];j=c|1;B[f+(j<<1)>>1]=C[g+(j<<2)>>2];j=c|2;B[f+(j<<1)>>1]=C[g+(j<<2)>>2];j=c|3;B[f+(j<<1)>>1]=C[g+(j<<2)>>2];c=c+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}e=e&3;if(!e){break a}i=0;while(1){B[((c<<1)+b|0)+12>>1]=C[((c<<2)+a|0)+180>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+177|0];A[b+9|0]=f;b:{if(!f){break b}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+40|0;h=a+236|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break b}while(1){B[((c<<1)+b|0)+40>>1]=C[((c<<2)+a|0)+236>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+178|0];A[b+10|0]=f;c:{if(!f){break c}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+60|0;h=a+276|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break c}while(1){B[((c<<1)+b|0)+60>>1]=C[((c<<2)+a|0)+276>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+179|0];A[b+11|0]=f;d:{if(!f){break d}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+88|0;h=a+332|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break d}while(1){B[((c<<1)+b|0)+88>>1]=C[((c<<2)+a|0)+332>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}C[b+108>>2]=C[a+372>>2];C[b+112>>2]=C[a+376>>2];C[b+116>>2]=C[a+380>>2];B[b+120>>1]=C[a+384>>2];B[b+122>>1]=C[a+388>>2];f=D[a+392|0];A[b+124|0]=f;e:{if(!f){break e}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+128|0;h=a+396|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break e}while(1){B[((c<<1)+b|0)+128>>1]=C[((c<<2)+a|0)+396>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=D[a+393|0];A[b+125|0]=f;f:{if(!f){break f}i=0;c=0;if(f>>>0>=4){j=f&252;g=b+154|0;h=a+448|0;e=0;while(1){B[g+(c<<1)>>1]=C[h+(c<<2)>>2];d=c|1;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|2;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];d=c|3;B[g+(d<<1)>>1]=C[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break f}while(1){B[((c<<1)+b|0)+154>>1]=C[((c<<2)+a|0)+448>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}A[b+126|0]=D[a+500|0];C[b+184>>2]=C[a+512>>2];C[b+4>>2]=C[a+508>>2]}function hJ(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;l=Ce-272|0;Ce=l;j=df(1,1312);C[j+1296>>2]=b;C[j+1288>>2]=C[b+840>>2];f=C[b>>2];a:{b:{if((f|0)>0){a=0;if(f>>>0>=4){k=f&-4;d=b+128|0;while(1){c=b+4|0;i=a<<2;o=C[d+(C[c+(i|12)>>2]<<2)>>2]+(C[d+(C[c+(i|8)>>2]<<2)>>2]+(C[d+(C[c+(i|4)>>2]<<2)>>2]+(C[d+(C[c+i>>2]<<2)>>2]+o|0)|0)|0)|0;a=a+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=f&3;if(e){while(1){o=C[((C[((a<<2)+b|0)+4>>2]<<2)+b|0)+128>>2]+o|0;a=a+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}d=o+2|0;C[j+1284>>2]=d;if((o|0)>-2){break b}lh(l,d,4,1270);break a}d=2;C[j+1284>>2]=2}f=b+836|0;i=(d|0)<=1?1:d;h=i&3;e=0;a=0;k=i-1|0;if(k>>>0>=3){m=i&2147483644;g=0;while(1){c=a<<2;C[c+l>>2]=c+f;n=c|4;C[n+l>>2]=f+n;n=c|8;C[n+l>>2]=f+n;c=c|12;C[c+l>>2]=c+f;a=a+4|0;g=g+4|0;if((m|0)!=(g|0)){continue}break}}if(h){while(1){g=a<<2;C[g+l>>2]=f+g;a=a+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}lh(l,d,4,1270);g=0;a=0;if(k>>>0>=3){h=i&2147483644;d=j+260|0;e=0;while(1){c=a<<2;C[c+d>>2]=C[c+l>>2]-f>>2;m=c|4;C[m+d>>2]=C[l+m>>2]-f>>2;m=c|8;C[m+d>>2]=C[l+m>>2]-f>>2;c=c|12;C[c+d>>2]=C[c+l>>2]-f>>2;a=a+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}e=i&3;if(e){while(1){d=a<<2;C[(d+j|0)+260>>2]=C[d+l>>2]-f>>2;a=a+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=0;a=0;if(k>>>0>=3){c=i&2147483644;d=j+260|0;f=j+520|0;g=0;while(1){C[f+(C[d+(a<<2)>>2]<<2)>>2]=a;h=a|1;C[f+(C[d+(h<<2)>>2]<<2)>>2]=h;h=a|2;C[f+(C[d+(h<<2)>>2]<<2)>>2]=h;h=a|3;C[f+(C[d+(h<<2)>>2]<<2)>>2]=h;a=a+4|0;g=g+4|0;if((c|0)!=(g|0)){continue}break}}g=i&3;if(g){while(1){C[((C[((a<<2)+j|0)+260>>2]<<2)+j|0)+520>>2]=a;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}g=0;a=0;if(k>>>0>=3){k=i&2147483644;d=j+260|0;f=b+836|0;e=0;while(1){c=a<<2;C[c+j>>2]=C[f+(C[c+d>>2]<<2)>>2];h=c|4;C[h+j>>2]=C[f+(C[d+h>>2]<<2)>>2];h=c|8;C[h+j>>2]=C[f+(C[d+h>>2]<<2)>>2];c=c|12;C[c+j>>2]=C[f+(C[c+d>>2]<<2)>>2];a=a+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=i&3;if(!e){break a}while(1){d=(a<<2)+j|0;C[d>>2]=C[((C[d+260>>2]<<2)+b|0)+836>>2];a=a+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}a=C[b+832>>2]-1|0;if(a>>>0<=3){C[j+1292>>2]=C[(a<<2)+317104>>2]}if((o|0)>0){m=0;h=2;n=b+836|0;while(1){u=h&-2;f=1;v=h&1;s=m<<2;i=C[(s+b|0)+844>>2];g=C[j+1288>>2];a=0;e=0;d=0;q=0;while(1){c=C[n+(a<<2)>>2];p=(c|0)>(i|0)&(c|0)<(g|0);r=a|1;k=C[n+(r<<2)>>2];g=p?c:g;t=(k|0)<(g|0)&(i|0)<(k|0);g=t?k:g;f=t?r:p?a:f;p=(c|0)<(i|0)&(c|0)>(e|0);e=p?c:e;c=(e|0)<(k|0)&(i|0)>(k|0);e=c?k:e;d=c?r:p?a:d;a=a+2|0;q=q+2|0;if((u|0)!=(q|0)){continue}break}if(v){c=C[((a<<2)+b|0)+836>>2];f=(c|0)<(g|0)?(c|0)>(i|0)?a:f:f;d=(c|0)>(e|0)?(c|0)<(i|0)?a:d:d}a=j+s|0;C[a+780>>2]=f;C[a+1032>>2]=d;h=h+1|0;m=m+1|0;if((m|0)!=(o|0)){continue}break}}Ce=l+272|0;return j|0}function Rj(a,b,c){var d=0,e=0,f=0,g=J(0),h=J(0);e=C[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)<=1986098018){if((b|0)==1751216995){break h}if((b|0)==1751413603){break g}if((b|0)!=1751934832){break a}d=e+68|0;b=ni(d);if((D[b+62|0]|D[b+63|0]<<8)<<16>>16>=0){break f}b=ni(d);if(!(D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]|D[b+7|0]<<8)|(D[b+64|0]|D[b+65|0]<<8))){if(!(D[b+66|0]|D[b+67|0]<<8)){break f}}if(!c){break b}b=ni(d);b=D[b+72|0]|D[b+73|0]<<8;g=J(li(mi(e+124|0),1751934832,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16));h=J(C[a+24>>2]);break c}if((b|0)==1986098019){break e}if((b|0)==1986294627){break d}if((b|0)!=1986815856){break a}b=e+88|0;f=jj(b);d=D[f|0]|D[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=jj(b);b=D[b+8|0]|D[b+9|0]<<8;g=J(li(mi(e+124|0),1986815856,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16));h=J(C[a+20>>2]);break c}i:{d=e+68|0;b=ni(d);if((D[b+62|0]|D[b+63|0]<<8)<<16>>16>=0){break i}b=ni(d);if(!(D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]|D[b+7|0]<<8)|(D[b+64|0]|D[b+65|0]<<8))){if(!(D[b+66|0]|D[b+67|0]<<8)){break i}}if(!c){break b}b=ni(d);b=D[b+68|0]|D[b+69|0]<<8;g=J(K(J(li(mi(e+124|0),1751216995,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16))));h=J(C[a+24>>2]);break c}b=e+60|0;d=kj(b);if(!(D[d|0]|D[d+1|0]<<8)){break a}if(!c){break b}b=kj(b);b=D[b+4|0]|D[b+5|0]<<8;g=J(K(J(li(mi(e+124|0),1751216995,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16))));h=J(C[a+24>>2]);break c}j:{d=e+68|0;b=ni(d);if((D[b+62|0]|D[b+63|0]<<8)<<16>>16>=0){break j}b=ni(d);if(!(D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]|D[b+7|0]<<8)|(D[b+64|0]|D[b+65|0]<<8))){if(!(D[b+66|0]|D[b+67|0]<<8)){break j}}if(!c){break b}b=ni(d);b=D[b+70|0]|D[b+71|0]<<8;h=J(-J(K(J(li(mi(e+124|0),1751413603,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16)))));g=J(C[a+24>>2]);break c}b=e+60|0;d=kj(b);if(!(D[d|0]|D[d+1|0]<<8)){break a}if(!c){break b}b=kj(b);b=D[b+6|0]|D[b+7|0]<<8;h=J(-J(K(J(li(mi(e+124|0),1751413603,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16)))));g=J(C[a+24>>2]);break c}b=e+60|0;d=kj(b);if(!(D[d|0]|D[d+1|0]<<8)){break a}if(!c){break b}b=kj(b);b=D[b+8|0]|D[b+9|0]<<8;g=J(li(mi(e+124|0),1751934832,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16));h=J(C[a+24>>2]);break c}b=e+88|0;f=jj(b);d=D[f|0]|D[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=jj(b);b=D[b+4|0]|D[b+5|0]<<8;g=J(K(J(li(mi(e+124|0),1986098019,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16))));h=J(C[a+20>>2]);break c}b=e+88|0;f=jj(b);d=D[f|0]|D[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=jj(b);b=D[b+6|0]|D[b+7|0]<<8;h=J(-J(K(J(li(mi(e+124|0),1986294627,C[a+64>>2],C[a+60>>2])+J((b<<8|b>>>8)<<16>>16)))));g=J(C[a+20>>2])}b=C[a+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}g=J(O(J(J(J(g*h)/J(a>>>0))+J(.5))));k:{if(J(K(g))>2]=a}f=1}return f}function nt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;p=Ce-16|0;Ce=p;a:{if(F[b+4>>2]>a>>>0){break a}j=C[b+8>>2];if(j>>>0>>0|j-a>>>0<2){break a}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break a}e=D[a|0]|D[a+1|0]<<8;if(!e){h=1;break a}d=a+2|0;if(d>>>0>j>>>0){break a}g=j-d|0;e=(e<<8|e>>>8)&65535;d=e<<1;if(g>>>0>>0){break a}d=f-d|0;C[b+12>>2]=d;if((d|0)<=0){break a}t=e>>>0<=1?1:e;while(1){l=((s<<1)+a|0)+2|0;if(l>>>0>2]){h=0;break a}d=C[b+8>>2];if(d>>>0>>0){h=0;break a}if(d-l>>>0<2){h=0;break a}e=C[c>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=D[l|0]|D[l+1|0]<<8;b:{if(!d){break b}k=e+((d<<8|d>>>8)&65535)|0;C[p+12>>2]=k;e=0;c:{d:{e:{if(k>>>0>2]){break e}h=C[b+8>>2];if(h>>>0>>0|h-k>>>0<2){break e}j=C[b+12>>2]-2|0;C[b+12>>2]=j;if((j|0)<=0){break e}f=D[k|0]|D[k+1|0]<<8;d=1;if(!f){break c}d=k+2|0;if(d>>>0>h>>>0){break e}g=h-d|0;f=(f<<8|f>>>8)&65535;d=f<<1;if(g>>>0>>0){break e}d=j-d|0;C[b+12>>2]=d;if((d|0)<=0){break e}j=f>>>0<=1?1:f;q=0;while(1){m=(k+(q<<1)|0)+2|0;if(m>>>0>2]){break d}d=C[b+8>>2];if(d>>>0>>0|d-m>>>0<2){break d}e=C[p+12>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break d}d=D[m|0]|D[m+1|0]<<8;f:{if(!d){break f}h=0;r=C[b+4>>2];g=e+((d<<8|d>>>8)&65535)|0;g:{if(r>>>0>g>>>0){break g}i=C[b+8>>2];if(i>>>0>>0|i-g>>>0<2){break g}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break g}d=D[g|0]|D[g+1|0]<<8;f=((d<<8|d>>>8)&65535)<<1;if(d){d=g+2|0;if(d>>>0>i>>>0|f>>>0>i-d>>>0){break g}e=e-f|0;C[b+12>>2]=e;if((e|0)<=0){break g}}n=(f+g|0)+2|0;if(n>>>0>>0|i>>>0>>0|i-n>>>0<2){break g}o=e-2|0;C[b+12>>2]=o;if((e|0)<3){break g}g=D[n|0]|D[n+1|0]<<8;f=(g<<8|g>>>8)&65535;h:{if(!g){break h}e=f-1|0;if(!e){f=1;break h}d=n+2|0;if(i>>>0>>0){break g}u=i-d|0;d=e<<1;if(u>>>0>>0){break g}o=o-d|0;C[b+12>>2]=o;if((o|0)<=0){break g}}g=n+(g?f<<1:2)|0;if(g>>>0>>0|g>>>0>i>>>0|i-g>>>0<2){break g}e=o-2|0;C[b+12>>2]=e;if((o|0)<3){break g}d=D[g|0]|D[g+1|0]<<8;f=((d<<8|d>>>8)&65535)<<1;if(d){d=g+2|0;if(d>>>0>i>>>0|f>>>0>i-d>>>0){break g}e=e-f|0;C[b+12>>2]=e;if((e|0)<=0){break g}}d=(f+g|0)+2|0;if(d>>>0>>0|d>>>0>i>>>0|i-d>>>0<2){break g}f=e-2|0;C[b+12>>2]=f;if((e|0)<3){break g}e=D[d|0]|D[d+1|0]<<8;if(e){d=d+2|0;if(d>>>0>i>>>0){break g}g=i-d|0;d=((e<<8|e>>>8)&65535)<<2;if(g>>>0>>0){break g}d=f-d|0;C[b+12>>2]=d;if((d|0)<=0){break g}}h=1}if(h){break f}d=C[b+28>>2];if(d>>>0>31){break d}C[b+28>>2]=d+1;if(!D[b+24|0]){break d}A[m|0]=0;A[m+1|0]=0}e=1;q=q+1|0;if((j|0)!=(q|0)){continue}break}}d=e;break c}d=0}if(d){break b}d=C[b+28>>2];if(d>>>0>31){h=0;break a}C[b+28>>2]=d+1;if(!D[b+24|0]){h=0;break a}A[l|0]=0;A[l+1|0]=0}h=1;s=s+1|0;if((t|0)!=(s|0)){continue}break}}Ce=p+16|0;return h}function xP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-16|0;Ce=d;a:{b:{if(vx(a,b)){Fm(b);g=Ce-16|0;Ce=g;e=b+132|0;c:{if(!(a?e:0)){C[g+8>>2]=40;break c}i=C[a+28>>2];f=Ex(a);C[g+8>>2]=f;if(f){break c}C[e+24>>2]=0;C[e+28>>2]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e+28>>2]=i;f=Wk(i,8276,g+8|0);if(!C[g+8>>2]){C[f>>2]=a;C[f+4>>2]=e;h=C[e+28>>2];j=f+8264|0;C[f+8272>>2]=j;C[f+8>>2]=h;C[f+8268>>2]=j;C[f+8264>>2]=0;d:{h=Ex(a);e:{if(h){break e}h=C[a+8>>2];C[f+48>>2]=872;C[f+44>>2]=873;C[f+68>>2]=h;h=C[a+28>>2];C[f+16>>2]=0;C[f+52>>2]=h;C[f+12>>2]=f+4168;h=3;if(Bx(f+12|0,-15)){break e}if(C[f+12>>2]){break d}}C[g+8>>2]=h;if(f){Fe[C[i+8>>2]](i,f)}break c}C[g+8>>2]=0;C[e+12>>2]=f}h=C[a+8>>2];f:{g:{if(bf(a,C[a+4>>2]-4|0)){break g}j=cg(a,g+12|0);k=C[g+12>>2];bf(a,h);h=k?0:j;if(h-1>>>0>40958){break g}j=hf(i,h,g+8|0);if(!C[g+8>>2]){if((Np(f,0,j,h)|0)==(h|0)){break f}Np(f,0,0,0);if(j){Fe[C[i+8>>2]](i,j)}}C[g+8>>2]=0}C[e+8>>2]=0;C[e>>2]=0;C[e+4>>2]=2147483647;C[e+24>>2]=874;C[e+20>>2]=875;break c}Hm(f+12|0);C[f+52>>2]=0;C[f+44>>2]=0;C[f+48>>2]=0;C[f+24>>2]=0;C[f+28>>2]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;if(f){Fe[C[i+8>>2]](i,f)}C[e+4>>2]=h;C[e+8>>2]=0;C[e+12>>2]=0;C[e+24>>2]=874;C[e+20>>2]=0;C[e>>2]=j}Ce=g+16|0;f=C[g+8>>2];if((f&255)==7){break b}if(f){i=Ce-16|0;Ce=i;f=40;h:{if(!e|!a){break h}h=C[a+28>>2];f=bf(a,0);if(f){break h}f=jg(a,i+12|0,2);if(f){break h}f=3;if(D[i+12|0]!=31|D[i+13|0]!=157){break h}C[i+8>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;C[e+28>>2]=h;g=hf(h,4292,i+8|0);f=C[i+8>>2];if(!f){C[g>>2]=a;C[g+4>>2]=e;j=C[e+28>>2];k=g+4280|0;C[g+4288>>2]=k;C[g+8>>2]=j;C[g+4284>>2]=k;C[g+4280>>2]=0;i:{j=bf(a,0);j:{if(j){break j}j=jg(a,i+14|0,2);if(j){break j}j=3;if(D[i+14|0]!=31){break j}if(D[i+15|0]==157){break i}}C[i+8>>2]=j;if(g){Fe[C[h+8>>2]](h,g)}f=C[i+8>>2];break h}p(g+12|0,0,172);C[g+176>>2]=a;h=C[a+28>>2];C[g+108>>2]=64;C[g+100>>2]=g+112;C[g+180>>2]=h;C[g+36>>2]=0;C[g+40>>2]=0;A[g+44|0]=0;C[g- -64>>2]=9;C[e+12>>2]=g}C[e+8>>2]=0;C[e>>2]=0;C[e+4>>2]=2147483647;C[e+24>>2]=879;C[e+20>>2]=880}Ce=i+16|0;if((f&255)==7|f){break b}}C[b+104>>2]=e;C[b+172>>2]=a;if(vx(e,b)){break b}}if((c|0)>0){Fm(b);a=6;break a}k:{l:{a=C[b+180>>2];m:{if(!a){break m}c=C[b+176>>2];if(!c|(D[a|0]|32)!=105|((D[a+1|0]|32)!=115|(D[a+2|0]|32)!=111)){break m}a=a+3|0;if(!Se(a,29056)){break l}if(Se(a,28819)){break m}if(!Se(c,29773)){break l}}C[d+8>>2]=0;C[d+12>>2]=0;break k}C[d+8>>2]=1970170211;C[d+12>>2]=65539}C[d+4>>2]=b;a=yh(218624,0,d+4|0,0);break a}Fm(b);a=2}Ce=d+16|0;return a|0}function dg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ce+-64|0;Ce=f;a:{if(!a){break a}b:{c:{switch(b-1|0){case 0:e=C[a+48>>2];if(e&4){break a}C[a+48>>2]=e&-77|4;gz(a);break b;case 1:e=C[a+48>>2];if(!(e&4)){break a}C[a+48>>2]=e&-13|8;ci(a,0);break b;case 3:if((c&-65536)==536805376|(d&-65536)==536805376){break a}if(!(A[a+48|0]&1)){C[a+60>>2]=c;C[a- -64>>2]=d}if(C[a+16>>2]==(c|0)&C[a+20>>2]==(d|0)){break a}C[a+20>>2]=d;C[a+16>>2]=c;e=Ch(a);if(!(C[a+124>>2]|(e|0)==-1|(e|0)==C[a+56>>2])){C[a+56>>2]=e;dg(a,18,e,0)}break b;case 4:if(!(A[a+48|0]&1)){C[a+72>>2]=d;C[a+68>>2]=c}if(C[a+24>>2]==(c|0)&C[a+28>>2]==(d|0)){break a}C[a+28>>2]=d;C[a+24>>2]=c;e=Ch(a);C[a+116>>2]=0;d:{if(C[a+124>>2]){break d}dg(a,6,C[a+24>>2],C[a+28>>2]);if((e|0)==-1|(e|0)==C[a+56>>2]){break d}C[a+56>>2]=e;dg(a,18,e,0)}break b;case 6:e=C[a+48>>2];if(e&64){break a}C[a+48>>2]=e&-193|64;if(!(D[C[105780]+404|0]&2)){ci(a,0)}break b;case 7:e=C[a+48>>2];if(e&128){break a}C[a+48>>2]=e&-193|128;break b;case 8:e=C[a+48>>2];if(!(e&192)){break a}C[a+48>>2]=e&-193;gz(a);break b;case 9:e=C[a+48>>2];if(e&1024){break a}C[a+48>>2]=e|1024;e=C[105780];g=C[e+168>>2];if(g){Fe[g|0](e,a)}break b;case 10:e=C[a+48>>2];if(!(e&1024)){break a}C[a+48>>2]=e&-1025;break b;case 11:e=C[a+48>>2];if(e&512){break a}C[a+48>>2]=e|512;e=C[a+104>>2];e:{if(!e){break e}g=C[105780];h=C[g+124>>2];if(!h){break e}Fe[h|0](g,a,e)|0}f:{if(!C[105681]){break f}Cl(a);if(!C[105682]){break f}e=C[a+24>>2]/2|0;g=C[a+28>>2]/2|0;h=a?a:C[105671];g:{if(!h|D[h+48|0]&64){break g}C[105677]=g;C[105676]=e;C[105680]=0;i=C[105665];if(!(!i|(C[105682]?0:C[105681]))){Fe[i|0](h,e,g);break g}Ai(h,C[105670],0,e,g)}}xj(a);break b;case 12:break c;default:break b}}e=C[a+48>>2];if(!(e&512)){break a}C[a+48>>2]=e&-513;h:{if(!C[a+104>>2]){break h}e=C[105780];g=C[e+124>>2];if(!g){break h}Fe[g|0](e,a,C[a+108>>2])|0}xj(a);i:{if(C[a+124>>2]|!(A[a+48|0]&1)){break i}j:{k:{e=Eg(23984);if(!(!e|!D[e|0])){if(wf(e,11396)){break k}}if((C[a+48>>2]&4097)==4097){break i}e=(C[C[105780]+404>>2]^-1)&1;break j}e=bg(23984,0)}if(!e){break i}e=C[105780];if(!e){Qe(19865,0);break i}if(C[a>>2]!=(e+388|0)){Qe(2168,0);break i}if(D[a+48|0]&64){break i}g=C[e+100>>2];if(!g){break i}if(!(D[e+404|0]&2)){ci(a,0);e=C[105780];g=C[e+100>>2];if(!g){break i}}Fe[g|0](e,a)}}l:{if((qf(512,-1)|0)==1){C[f+28>>2]=d;C[f+24>>2]=c;C[f+8>>2]=512;A[f+20|0]=b;C[f+16>>2]=C[a+4>>2];m:{n:{switch(b-3|0){case 3:C[f+4>>2]=0;C[f>>2]=f+8;zn(762,f);if(!C[f+4>>2]){break m}A[f+20|0]=5;if((Df(f+8|0)|0)<=0){break l}A[f+20|0]=6;break m;case 1:zn(763,f+8|0);break m;case 0:break n;default:break m}}zn(764,f+8|0)}Df(f+8|0)}if(C[a+172>>2]|(C[a+168>>2]|(b|0)!=14)){break a}if(!bg(26757,1)){break a}A[422836]=0;yn(256)}}Ce=f- -64|0}function Ap(a,b,c,d){var e=0,f=J(0),g=0,h=0,i=J(0),j=0,k=0,l=J(0),m=J(0),n=J(0),o=0;j=Ce-48|0;Ce=j;if(F[a+16>>2]>c>>>0){C[j+44>>2]=0;C[j+36>>2]=0;C[j+40>>2]=0;h=C[d+4>>2];g=j+12|0;xo(g,a,c);o=Tu(g,b,a,j+36|0,!h,0);a:{if(!o){break a}if(h){e=C[j+40>>2];if(e>>>0>=5){g=e-5|0;l=G[d+24>>2];m=G[d+20>>2];n=G[d+16>>2];f=G[d+12>>2];c=C[j+44>>2];a=0;while(1){b:{if(a>>>0>=e>>>0){b=C[21155];C[104430]=C[21154];C[104431]=b;b=C[21153];C[104428]=C[21152];C[104429]=b;b=417712;break b}b=c+(a<<4)|0}i=G[b+4>>2];f=f<=i?f:i;G[d+12>>2]=f;i=G[b+8>>2];n=i>=n?n:i;G[d+16>>2]=n;i=G[b+4>>2];m=i<=m?m:i;G[d+20>>2]=m;i=G[b+8>>2];l=i<=l?l:i;G[d+24>>2]=l;b=(a|0)==(g|0);a=a+1|0;if(!b){continue}break}}k=C[d>>2];f=G[d+20>>2];i=G[d+12>>2];c:{if(f<=i|G[d+16>>2]>=G[d+24>>2]){C[h>>2]=0;C[h+4>>2]=0;C[h+8>>2]=0;C[h+12>>2]=0;break c}g=C[k+20>>2];e=C[k+16>>2];b=C[e+28>>2];d:{if(b){a=b;c=g;break d}a=Lf(e);f=G[d+20>>2];e=C[k+16>>2];b=C[e+28>>2];c=C[k+20>>2]}i=J(O(J(J(J(i*J(g|0))/J(a>>>0))+J(.5))));e:{if(J(K(i))>2]=g;f:{if(b){a=b;break f}a=Lf(e);g=C[h>>2];e=C[k+16>>2];b=C[e+28>>2]}f=J(O(J(J(J(f*J(c|0))/J(a>>>0))+J(.5))));g:{if(J(K(f))>2]=a-g;g=C[k+24>>2];f=G[d+24>>2];h:{if(b){a=b;c=g;break h}a=Lf(e);e=C[k+16>>2];b=C[e+28>>2];c=C[k+24>>2]}f=J(O(J(J(J(f*J(g|0))/J(a>>>0))+J(.5))));i:{if(J(K(f))>2]=a;f=G[d+16>>2];if(!b){b=Lf(e);a=C[h+4>>2]}f=J(O(J(J(J(f*J(c|0))/J(b>>>0))+J(.5))));j:{if(J(K(f))>2]=b-a}}c=C[d+8>>2];if(!c){break a}g=C[j+44>>2];k:{l:{m:{n:{o:{e=C[j+40>>2];p:{if(e>>>0>=4){b=(g+(e<<4)|0)+-64|0;a=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=a;a=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=a;break p}d=C[21155];h=d;b=C[21154];C[104430]=b;C[104431]=d;d=C[21153];a=C[21152];C[104428]=a;C[104429]=d;C[c>>2]=a;C[c+4>>2]=d;C[c+8>>2]=b;C[c+12>>2]=h;if((e|0)!=3){break o}}b=(g+(e<<4)|0)-48|0;a=C[b+4>>2];C[c+16>>2]=C[b>>2];C[c+20>>2]=a;a=C[b+12>>2];C[c+24>>2]=C[b+8>>2];C[c+28>>2]=a;break n}C[104430]=b;C[104431]=h;C[104428]=a;C[104429]=d;C[c+16>>2]=a;C[c+20>>2]=d;C[c+24>>2]=b;C[c+28>>2]=h;if(e>>>0<2){break m}}b=(g+(e<<4)|0)-32|0;a=C[b+4>>2];C[c+32>>2]=C[b>>2];C[c+36>>2]=a;a=C[b+12>>2];C[c+40>>2]=C[b+8>>2];C[c+44>>2]=a;break l}d=C[21155];h=d;b=C[21154];C[104430]=b;C[104431]=d;d=C[21153];a=C[21152];C[104428]=a;C[104429]=d;C[c+32>>2]=a;C[c+36>>2]=d;C[c+40>>2]=b;C[c+44>>2]=h;if(e){break l}C[104430]=b;C[104431]=h;C[104428]=a;C[104429]=d;a=417712;break k}a=(g+(e<<4)|0)-16|0}b=C[a+4>>2];C[c+48>>2]=C[a>>2];C[c+52>>2]=b;b=C[a+12>>2];C[c+56>>2]=C[a+8>>2];C[c+60>>2]=b}Re(C[j+44>>2])}Ce=j+48|0;return o}function Sm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-16|0;Ce=j;e=hf(C[a+100>>2],C[a+16>>2]+216|0,j+8|0);d=C[j+8>>2];if(!d){C[e>>2]=a;d=C[a+16>>2];C[e+212>>2]=c;f=e+216|0;C[e+8>>2]=f;C[e+4>>2]=d;l=C[a+92>>2];p(f,127,d);a:{if(Km(a)){break a}d=204960;while(1){c=C[C[(C[d+8>>2]<<2)+206096>>2]+4>>2];b:{if(!c|C[d+16>>2]!=10){break b}d=C[c>>2];if(!d){break b}while(1){k=c;c=0;c:{if(!a){break c}g=C[a+92>>2];if(!g){break c}c=Fe[C[C[g+12>>2]+12>>2]](g,d)|0}C[j+12>>2]=c;d:{if(!c|F[e+4>>2]<=c>>>0){break d}c=c+f|0;if(D[c|0]!=127){break d}A[c|0]=i}d=Wx(a,d,j+12|0);while(1){c=C[j+12>>2];if(!(!c|F[k+4>>2]>>0)){e:{if(c>>>0>=F[e+4>>2]){break e}c=c+f|0;if(D[c|0]!=127){break e}A[c|0]=i}d=Wx(a,d,j+12|0);continue}break}c=k+8|0;d=C[k+8>>2];if(d){continue}break}}i=i+1|0;d=C[(i<<2)+206192>>2];if((i|0)!=49){continue}break}c=0;f:{if(!a){break f}d=C[a+92>>2];if(!d){break f}c=Fe[C[C[d+12>>2]+12>>2]](d,48)|0}if(!(!c|F[e+4>>2]<=c>>>0)){c=c+f|0;A[c|0]=D[c|0]|128}d=0;g:{if(!a){break g}c=C[a+92>>2];if(!c){break g}d=Fe[C[C[c+12>>2]+12>>2]](c,49)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;h:{if(!a){break h}c=C[a+92>>2];if(!c){break h}d=Fe[C[C[c+12>>2]+12>>2]](c,50)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;i:{if(!a){break i}c=C[a+92>>2];if(!c){break i}d=Fe[C[C[c+12>>2]+12>>2]](c,51)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;j:{if(!a){break j}c=C[a+92>>2];if(!c){break j}d=Fe[C[C[c+12>>2]+12>>2]](c,52)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;k:{if(!a){break k}c=C[a+92>>2];if(!c){break k}d=Fe[C[C[c+12>>2]+12>>2]](c,53)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;l:{if(!a){break l}c=C[a+92>>2];if(!c){break l}d=Fe[C[C[c+12>>2]+12>>2]](c,54)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;m:{if(!a){break m}c=C[a+92>>2];if(!c){break m}d=Fe[C[C[c+12>>2]+12>>2]](c,55)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;n:{if(!a){break n}c=C[a+92>>2];if(!c){break n}d=Fe[C[C[c+12>>2]+12>>2]](c,56)|0}if(!(!d|F[e+4>>2]<=d>>>0)){c=d+f|0;A[c|0]=D[c|0]|128}d=0;o:{if(!a){break o}c=C[a+92>>2];if(!c){break o}d=Fe[C[C[c+12>>2]+12>>2]](c,57)|0}if(!d|d>>>0>=F[e+4>>2]){break a}c=d+f|0;A[c|0]=D[c|0]|128}k=C[e+212>>2];p:{if(C[k+12>>2]==127){break p}i=C[e+4>>2];if((i|0)<=0){break p}d=0;if((i|0)!=1){m=i&-2;c=0;while(1){g=d+f|0;h=D[g|0];if((h&127)==127){h=h&128;A[g|0]=h;A[g|0]=h|D[k+12|0]}g=(d|1)+f|0;h=D[g|0];if((h&127)==127){h=h&128;A[g|0]=h;A[g|0]=h|D[k+12|0]}d=d+2|0;c=c+2|0;if((m|0)!=(c|0)){continue}break}}if(!(i&1)){break p}c=d+f|0;d=D[c|0];if((d&127)!=127){break p}d=d&128;A[c|0]=d;A[c|0]=d|D[k+12|0]}qj(a,l);C[e+12>>2]=0;d=0}C[b>>2]=e;Ce=j+16|0;return d}function Wg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(b){d=a^-1;if(c>>>0>=23){a:{if(!(b&3)){break a}d=C[(((D[b|0]^d)&255)<<2)+352544>>2]^d>>>8;a=c-1|0;e=b+1|0;if(!(!a|!(e&3))){d=C[(((D[b+1|0]^d)&255)<<2)+352544>>2]^d>>>8;a=c-2|0;e=b+2|0;if(!(!a|!(e&3))){d=C[(((D[b+2|0]^d)&255)<<2)+352544>>2]^d>>>8;a=c-3|0;e=b+3|0;if(!(!a|!(e&3))){d=C[(((D[b+3|0]^d)&255)<<2)+352544>>2]^d>>>8;b=b+4|0;c=c-4|0;break a}c=a;b=e;break a}c=a;b=e;break a}c=a;b=e}a=(c>>>0)/20|0;c=I(a,-20)+c|0;j=a-1|0;if(j){e=I(a,20)-20|0;a=b;while(1){f=C[a+16>>2]^f;f=C[(f>>>22&1020)+356640>>2]^(C[(f>>>14&1020)+355616>>2]^(C[(f>>>6&1020)+354592>>2]^C[((f&255)<<2)+353568>>2]));g=C[a+12>>2]^g;g=C[(g>>>22&1020)+356640>>2]^(C[(g>>>14&1020)+355616>>2]^(C[(g>>>6&1020)+354592>>2]^C[((g&255)<<2)+353568>>2]));h=C[a+8>>2]^h;h=C[(h>>>22&1020)+356640>>2]^(C[(h>>>14&1020)+355616>>2]^(C[(h>>>6&1020)+354592>>2]^C[((h&255)<<2)+353568>>2]));i=C[a+4>>2]^i;i=C[(i>>>22&1020)+356640>>2]^(C[(i>>>14&1020)+355616>>2]^(C[(i>>>6&1020)+354592>>2]^C[((i&255)<<2)+353568>>2]));d=C[a>>2]^d;d=C[(d>>>22&1020)+356640>>2]^(C[(d>>>14&1020)+355616>>2]^(C[(d>>>6&1020)+354592>>2]^C[((d&255)<<2)+353568>>2]));a=a+20|0;j=j-1|0;if(j){continue}break}b=b+e|0}a=C[b>>2]^d;a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=C[b+4>>2]^(C[((a&255)<<2)+352544>>2]^i)^a>>>8;a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=C[b+8>>2]^(C[((a&255)<<2)+352544>>2]^h)^a>>>8;a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=C[b+12>>2]^(C[((a&255)<<2)+352544>>2]^g)^a>>>8;a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=C[b+16>>2]^(C[((a&255)<<2)+352544>>2]^f)^a>>>8;a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];a=a>>>8^C[((a&255)<<2)+352544>>2];d=a>>>8^C[((a&255)<<2)+352544>>2];b=b+20|0}if(c>>>0>7){while(1){a=C[(((D[b|0]^d)&255)<<2)+352544>>2]^d>>>8;a=a>>>8^C[(((a^D[b+1|0])&255)<<2)+352544>>2];a=a>>>8^C[(((a^D[b+2|0])&255)<<2)+352544>>2];a=a>>>8^C[(((a^D[b+3|0])&255)<<2)+352544>>2];a=a>>>8^C[(((a^D[b+4|0])&255)<<2)+352544>>2];a=a>>>8^C[(((a^D[b+5|0])&255)<<2)+352544>>2];a=a>>>8^C[(((a^D[b+6|0])&255)<<2)+352544>>2];d=a>>>8^C[(((a^D[b+7|0])&255)<<2)+352544>>2];b=b+8|0;c=c-8|0;if(c>>>0>7){continue}break}}b:{if(!c){break b}if(c&1){d=C[(((D[b|0]^d)&255)<<2)+352544>>2]^d>>>8;b=b+1|0;a=c-1|0}else{a=c}if((c|0)==1){break b}while(1){c=C[(((D[b|0]^d)&255)<<2)+352544>>2]^d>>>8;d=C[(((c^D[b+1|0])&255)<<2)+352544>>2]^c>>>8;b=b+2|0;a=a-2|0;if(a){continue}break}}a=d^-1}else{a=0}return a}function lg(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,o=0;c=A[b|0];if(!c){return a}a=bh(a,c);a:{if(!a){break a}if(!D[b+1|0]){return a}if(!D[a+1|0]){break a}if(!D[b+2|0]){c=D[a+1|0];e=(c|0)!=0;b:{if(!c){break b}c=c|D[a|0]<<8;h=D[b+1|0]|D[b|0]<<8;if((c|0)==(h|0)){break b}b=a+1|0;while(1){a=b;d=D[a+1|0];e=(d|0)!=0;if(!d){break b}b=a+1|0;c=d|c<<8&65280;if((h|0)!=(c|0)){continue}break}}return e?a:0}if(!D[a+2|0]){break a}if(!D[b+3|0]){d=b;b=a+2|0;c=D[a+2|0];e=(c|0)!=0;c:{d:{if(!c){break d}c=D[a+1|0]<<16|D[a|0]<<24|c<<8;h=D[d+1|0]<<16|D[d|0]<<24|D[d+2|0]<<8;if((c|0)==(h|0)){break d}while(1){a=b+1|0;d=D[b+1|0];e=(d|0)!=0;if(!d){break c}b=a;c=(c|d)<<8;if((h|0)!=(c|0)){continue}break}break c}a=b}return e?a-2|0:0}if(!D[a+3|0]){break a}if(!D[b+4|0]){d=b;b=a+3|0;c=D[a+3|0];e=(c|0)!=0;e:{f:{if(!c){break f}c=c|(D[a+1|0]<<16|D[a|0]<<24|D[a+2|0]<<8);a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);h=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((c|0)==(h|0)){break f}while(1){a=b+1|0;d=D[b+1|0];e=(d|0)!=0;if(!d){break e}b=a;c=d|c<<8;if((h|0)!=(c|0)){continue}break}break e}a=b}return e?a-3|0:0}h=a;i=Ce-1056|0;Ce=i;a=i+1048|0;C[a>>2]=0;C[a+4>>2]=0;a=i+1040|0;C[a>>2]=0;C[a+4>>2]=0;C[i+1032>>2]=0;C[i+1036>>2]=0;C[i+1024>>2]=0;C[i+1028>>2]=0;k=b;g:{h:{i:{j:{c=D[b|0];k:{if(!c){j=-1;a=1;break k}while(1){if(!D[f+h|0]){break h}f=f+1|0;C[((c&255)<<2)+i>>2]=f;a=(i+1024|0)+(c>>>3&28)|0;C[a>>2]=C[a>>2]|1<>>0>1){break j}}g=-1;d=1;break i}b=1;c=1;while(1){g=D[(c+j|0)+k|0];e=D[a+k|0];l:{if((g|0)==(e|0)){if((b|0)==(c|0)){d=b+d|0;c=1;break l}c=c+1|0;break l}if(e>>>0>>0){b=a-j|0;d=a;c=1;break l}j=d;d=d+1|0;b=1;c=1}a=c+d|0;if(f>>>0>a>>>0){continue}break}d=1;g=-1;if(f>>>0<=1){a=b;break i}a=0;e=1;c=1;while(1){m=D[(c+g|0)+k|0];l=D[d+k|0];m:{if((m|0)==(l|0)){if((c|0)==(e|0)){a=a+e|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){e=d-g|0;a=d;c=1;break m}g=a;a=a+1|0;e=1;c=1}d=a+c|0;if(f>>>0>d>>>0){continue}break}a=b;d=e}b=a;a=g+1>>>0>j+1>>>0;e=a?d:b;l=a?g:j;m=l+1|0;n:{if(Jg(k,e+k|0,m)){a=(l^-1)+f|0;e=(a>>>0>>0?l:a)+1|0;b=0;break n}b=f-e|0}o=f-1|0;n=f|63;g=0;a=h;while(1){o:{if(h-a>>>0>=f>>>0){break o}c=ij(h,0,n);if(c){h=c;if(c-a>>>0>>0){break h}break o}h=h+n|0}d=D[a+o|0];c=f;p:{q:{if(!(C[(i+1024|0)+(d>>>3&28)>>2]>>>d&1)){break q}c=C[(d<<2)+i>>2];if((c|0)!=(f|0)){c=f-c|0;c=c>>>0>g>>>0?c:g;break q}r:{c=m;d=c>>>0>g>>>0?c:g;j=D[k+d|0];if(j){while(1){if(D[a+d|0]!=(j&255)){break r}d=d+1|0;j=D[k+d|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break g}c=c-1|0;if(D[k+c|0]==D[a+c|0]){continue}break}c=e;g=b;break p}c=d-l|0}g=0}a=a+c|0;continue}}a=0}Ce=i+1056|0;d=a}return d}function ot(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Ce-16|0;Ce=g;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}e=C[b+12>>2];d=e-2|0;C[b+12>>2]=d;f=1;if((d|0)<=0){f=0;break a}b:{c:{d:{e:{d=D[a|0]|D[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}f=a+2|0;if(f>>>0>c>>>0|c-f>>>0<2){break b}c=e-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}c=D[f|0]|D[f+1|0]<<8;f:{if(!c){break f}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break f}c=C[b+28>>2];if(c>>>0>31){break b}C[b+28>>2]=c+1;if(!D[b+24|0]){break b}A[f|0]=0;A[f+1|0]=0}C[g+12>>2]=a;f=nt(a+4|0,b,g+12|0);break a}e=Ce-16|0;Ce=e;g:{h:{f=a+2|0;if(f>>>0>2]){break h}c=C[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break h}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break h}c=D[f|0]|D[f+1|0]<<8;i:{if(!c){break i}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break i}c=C[b+28>>2];if(c>>>0>31){break h}C[b+28>>2]=c+1;if(!D[b+24|0]){break h}A[f|0]=0;A[f+1|0]=0}f=0;c=a+4|0;if(c>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;j:{if(!d){break j}if(Gi(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}c=a+6|0;if(c>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;k:{if(!d){break k}if(Gi(((d<<8|d>>>8)&65535)+a|0,b)){break k}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;l:{if(!d){break l}if(Gi(((d<<8|d>>>8)&65535)+a|0,b)){break l}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}C[e+12>>2]=a;f=nt(a+10|0,b,e+12|0);break g}f=0}Ce=e+16|0;break a}f=0;c=Ce-16|0;Ce=c;C[c+12>>2]=a;d=a+2|0;m:{if(!Ek(d,b,c+12|0)){break m}e=D[a+2|0]|D[a+3|0]<<8;C[c+8>>2]=a;e=(d+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(!Ek(e,b,c+8|0)){break m}d=D[e|0]|D[e+1|0]<<8;if(!d){break m}C[c+4>>2]=a;a=(e+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!Ek(a,b,c+4|0)){break m}e=D[a|0]|D[a+1|0]<<8;a=(a+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){break m}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break m}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break m}h=D[a|0]|D[a+1|0]<<8;if(h){a=a+2|0;if(a>>>0>e>>>0){break m}e=e-a|0;a=((h<<8|h>>>8)&65535)<<2;if(e>>>0>>0){break m}a=d-a|0;C[b+12>>2]=a;if((a|0)<=0){break m}}f=1}Ce=c+16|0;break a}f=0}Ce=g+16|0;return f}function aw(a,b,c,d,e,f){var g=J(0),h=J(0),i=J(0),j=0,k=J(0),l=0,m=0,n=J(0),o=J(0),p=J(0),q=0,r=0,s=0,t=0,u=0,v=J(0),w=J(0);j=(a<<2)+15&-16;q=Ce-j|0;r=q-j|0;s=r-j|0;t=s-j|0;u=t-j|0;k=J(1);g=J(G[c>>2]+e);i=g>2]=g;G[r>>2]=g;C[s>>2]=0;h=J(J(o*i)+J(0));G[t>>2]=h;C[u>>2]=0;l=1;if((a|0)>1){i=g;while(1){p=i;j=l<<2;i=J(G[j+c>>2]+e);o=i>2]=i;p=J(n*k);g=J(p+g);G[j+r>>2]=g;v=J(J(p*k)+v);G[j+s>>2]=v;h=J(J(n*o)+h);G[j+t>>2]=h;w=J(J(p*o)+w);G[j+u>>2]=w;k=J(k+J(1));l=l+1|0;if((l|0)!=(a|0)){continue}break}}g=J(1);k=J(0);l=C[b>>2];a:{if((l|0)>=0){i=J(0);o=J(0);break a}while(1){c=l<<2&262140;j=l>>16<<2;h=J(G[c+q>>2]+G[q-j>>2]);i=J(G[c+u>>2]-G[u-j>>2]);n=J(G[c+t>>2]+G[t-j>>2]);g=J(G[c+r>>2]-G[r-j>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[c+s>>2]+G[s-j>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(k*o)+i)/g);G[(m<<2)+d>>2]=(h>2];if((l|0)<0){continue}break}}c=l&65535;if((c|0)<(a|0)){while(1){c=c<<2;j=l>>16<<2;h=J(G[c+q>>2]-G[j+q>>2]);i=J(G[c+u>>2]-G[j+u>>2]);n=J(G[c+t>>2]-G[j+t>>2]);g=J(G[c+r>>2]-G[j+r>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[c+s>>2]-G[j+s>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(k*o)+i)/g);G[(m<<2)+d>>2]=(h>2];c=l&65535;if((c|0)<(a|0)){continue}break}}b:{if((a|0)<=(m|0)){break b}b=m^-1;if(a-m&1){h=J(J(J(k*o)+i)/g);G[(m<<2)+d>>2]=(h>2]=(h>2]=(h>>1|0;l=j-f|0;d:{if((l|0)>=0){k=J(0);m=0;break d}m=f-j|0;b=0;k=J(0);c=j;while(1){c=c<<2;l=l<<2;h=J(G[c+q>>2]+G[q-l>>2]);i=J(G[c+u>>2]-G[u-l>>2]);n=J(G[c+t>>2]+G[t-l>>2]);g=J(G[c+r>>2]-G[r-l>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[c+s>>2]+G[s-l>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(J(k*o)+i)/g)-e);c=(b<<2)+d|0;if(h>2]){G[c>>2]=h}k=J(k+J(1));b=b+1|0;c=j+b|0;l=c-f|0;if((b|0)!=(m|0)){continue}break}}l=j+m|0;if((l|0)<(a|0)){while(1){b=l<<2;c=l-f<<2;h=J(G[b+q>>2]-G[c+q>>2]);i=J(G[b+u>>2]-G[c+u>>2]);n=J(G[b+t>>2]-G[c+t>>2]);g=J(G[b+r>>2]-G[c+r>>2]);o=J(J(h*i)-J(n*g));p=n;n=J(G[b+s>>2]-G[c+s>>2]);i=J(J(p*n)-J(i*g));g=J(J(h*n)-J(g*g));h=J(J(J(J(k*o)+i)/g)-e);c=(m<<2)+d|0;if(h>2]){G[c>>2]=h}k=J(k+J(1));m=m+1|0;l=j+m|0;if((l|0)<(a|0)){continue}break}}if((a|0)<=(m|0)){break c}while(1){h=J(J(J(J(k*o)+i)/g)-e);b=(m<<2)+d|0;if(h>2]){G[b>>2]=h}k=J(k+J(1));m=m+1|0;if((m|0)!=(a|0)){continue}break}}}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=J(0),k=0,l=0,m=0,n=0,o=0,p=0;i=Ce-16|0;Ce=i;c=If(1,36);a:{if(!c){a=_e(0);break a}o=c,p=Sg(8161),C[o+12>>2]=p;j=J(1);if(D[b+49|0]&32){j=J(+W())}G[c+16>>2]=j;h=O(+J(j*J(C[b+24>>2])));k=O(+J(G[c+16>>2]*J(C[b+28>>2])));d=1;V(C[c+12>>2],1,1)|0;U(C[c+12>>2],i+8|0,i|0)|0;d=O(H[i+8>>3])==1?O(H[i>>3])!=1:d;C[c+20>>2]=d;if(!(!(D[b+48|0]&32)|!d)){j=G[c+16>>2];h=H[i>>3];b:{if(K(h)<2147483648){d=~~h;break b}d=-2147483648}m=H[i+8>>3];c:{if(K(m)<2147483648){f=~~m;break c}f=-2147483648}dg(b,5,f,d);k=h;h=+j;k=k*h;h=m*h}f=C[c+12>>2];if(K(k)<2147483648){d=~~k}else{d=-2147483648}if(K(h)<2147483648){e=~~h}else{e=-2147483648}V(f|0,e|0,d|0)|0;if(!(C[c+20>>2]|G[c+16>>2]==J(1))){aa(C[c+12>>2],+C[b+24>>2],+C[b+28>>2])|0}d:{if(!(D[b+48|0]&2)){break d}e:{if(C[a+1080>>2]){break e}f=Ce-16|0;Ce=f;d=C[105780];f:{if(!d){d=Qe(19865,0);break f}g:{if(!C[d+516>>2]){e=C[d+192>>2];if(!e){C[f>>2]=C[d>>2];d=Qe(32625,f);break f}d=Fe[e|0](d,0)|0;if(d){break g}}d=0;e=C[105780];C[e+516>>2]=C[e+516>>2]+1;break f}e=C[105780];g=C[e+200>>2];if(!g){break f}Fe[g|0](e)}Ce=f+16|0;if((d|0)>=0){break e}a=-1;break a}d=0;e=0;f=Ce-96|0;Ce=f;g=Ce+-64|0;Ce=g;h:{if(!C[a+1080>>2]){e=Qe(19845,0);break h}if(!nz(a,1)){break h}if(!nz(a,0)){Tg(15464,0);break h}e=34979;l=Fe[C[C[a+1080>>2]+128>>2]]()|0;n=l-12288|0;if(n>>>0<=14){e=C[(n<<2)+195524>>2]}if(!D[e|0]){C[g+16>>2]=l;e=g+32|0;rf(e,32,1768,g+16|0)}C[g+8>>2]=e;C[g+4>>2]=15544;C[g>>2]=15510;e=Qe(32680,g)}Ce=g- -64|0;i:{if(e){break i}j:{if(C[a+504>>2]){if(!pk(a,19019)){break j}C[f+32>>2]=12445;C[f+36>>2]=12425;d=2}e=f+32|0;if(pk(a,16039)){g=bg(22477,0);l=f+32|d<<2;C[l>>2]=12767;C[(l|4)>>2]=!g;d=d+2|0}C[(d<<2)+e>>2]=12344;d=C[a+1080>>2];d=Fe[C[d+84>>2]](C[d+8>>2],C[d+12>>2],0,e)|0;if(d){break i}d=34979;a=Fe[C[C[a+1080>>2]+128>>2]]()|0;e=a-12288|0;if(e>>>0<=14){d=C[(e<<2)+195524>>2]}if(!D[d|0]){C[f+16>>2]=a;d=f- -64|0;rf(d,32,1768,f+16|0)}C[f+8>>2]=d;C[f+4>>2]=19563;C[f>>2]=19161;Qe(32680,f);d=0;break i}Qe(6550,0)}Ce=f+96|0;C[c>>2]=d;if(d){break d}a=Qe(19124,0);break a}C[c+4>>2]=b;C[b+164>>2]=c;Cl(b);Mr(b);ya(C[c+12>>2],c|0,0,721,2)|0;xa(C[c+12>>2],c|0,0,722,2)|0;wa(1,c|0,0,722,2)|0;va(C[c+12>>2],c|0,0,723,2)|0;ua(C[c+12>>2],c|0,0,723,2)|0;ta(C[c+12>>2],c|0,0,724,2)|0;sa(2,c|0,0,725,2)|0;ra(2,c|0,0,725,2)|0;qa(C[c+12>>2],c|0,0,726,2)|0;pa(C[c+12>>2],c|0,0,726,2)|0;oa(C[c+12>>2],c|0,0,726,2)|0;na(C[c+12>>2],c|0,0,726,2)|0;ma(1,c|0,0,727,2)|0;a=Eg(23371);a=a?a:2;la(a|0,c|0,0,728,2)|0;ka(a|0,c|0,0,728,2)|0;ja(a|0,c|0,0,729,2)|0;ia(1,c|0,0,730,2)|0;ha(2,c|0,0,731,2)|0;ga(c|0,0,732,2)|0;fa(c|0,733,1)|0;a=0}Ce=i+16|0;return a|0}function WB(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,k=0,l=0,m=0,n=0;j=Ce-16|0;Ce=j;a=C[c>>2];a:{if(!b){if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b+1;break a}k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=F[a+16>>2]<4?84608:C[a+12>>2];g=C[c+4>>2];h=j+12|0;if(h){C[h>>2]=0}b:{c:{d:{e:{f:{d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((e|0)<=1953658212){if((e|0)==256){break f}if((e|0)!=65536){break e}break b}if((e|0)==1953658213|(e|0)==1954115633){break b}if((e|0)!=1953784678){break d}e=D[a+4|0]|D[a+5|0]<<8;d=84608;if(((e<<8|e>>>8)&65535)-1>>>0>1){break c}d=a;e=(a+(g<<2)|0)+12|0;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);a=g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0?84608:e;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=a?d+a|0:84608;break b}d=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);d=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;e=D[d+24|0]|D[d+25|0]<<8;i=((e<<8|e>>>8)&65535)+d|0;d=D[i|0]|D[i+1|0]<<8;m=(d<<8|d>>>8)&65535;d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);n=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;e=0;g:{while(1){h:{d=i+(e<<3)|0;f=D[d+2|0]|D[d+3|0]<<8|(D[d+4|0]<<16|D[d+5|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))!=1936092788){break h}f=D[d+6|0]|D[d+7|0]<<8;if(g>>>0>((f<<8|f>>>8)&65535)>>>0){break h}d=D[d+8|0]|D[d+9|0]<<8;d=(i+((d<<8|d>>>8)&65535)|0)+I(g,12)|0;d=((D[d+6|0]<<8|D[d+5|0]<<16|D[d+7|0])+n|0)+4|0;break g}d=(e|0)!=(m|0);e=e+1|0;if(d){continue}break}d=84608}if(h){C[h>>2]=d-a}a=d;break b}d=a;if((e|0)==1330926671){break c}}d=84608}a=d}d=a+12|0;i=a+4|0;a=D[a+4|0]|D[a+5|0]<<8;g=(a<<8|a>>>8)&65535;i:{j:{if(g>>>0<=15){if(!a){break j}a=0;e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>=b>>>0&(e|0)==(k|0)){break i}while(1){a=a+1|0;if((g|0)==(a|0)){break j}e=d+(a<<4)|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>>0|(e|0)!=(k|0)){continue}break}break i}if(!a){break j}h=g-1|0;while(1){a=h+l>>>1|0;e=d+(a<<4)|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>>0;k:{if(!(f|(e|0)==(k|0))){h=a-1|0;break k}if(!f&(e|0)==(k|0)){break i}l=a+1|0}if((h|0)>=(l|0)){continue}break}}a=65535}a=a>>>0>=g>>>0?84608:(i+(a<<4)|0)+8|0;b=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);a=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);a=xr(C[c>>2],C[j+12>>2]+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}Ce=j+16|0;return a|0}function Sy(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,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;u=Ce-272|0;Ce=u;s=C[b+4>>2];g=C[b+8>>2];C[a+52>>2]=-2147483648;C[a+56>>2]=0;C[a+48>>2]=g;C[a+44>>2]=s;y=C[b+52>>2];e=C[b+24>>2];h=C[b+28>>2];x=C[b+44>>2];C[c>>2]=s;C[d>>2]=g;a:{if((e|0)<2|(x|0)<=0){break a}f=e-1|0;n=f&3;j=B[h+12>>1];b:{if(e-2>>>0<3){e=1;k=j;break b}w=f&-4;f=0;e=1;k=j;while(1){i=h+I(e,40)|0;m=B[i+12>>1];k=(k|0)>(m|0)?k:m;l=B[i+52>>1];k=(k|0)>(l|0)?k:l;o=B[i+92>>1];k=(k|0)>(o|0)?k:o;i=B[i+132>>1];k=(i|0)<(k|0)?k:i;j=(j|0)<(m|0)?j:m;j=(j|0)<(l|0)?j:l;j=(j|0)<(o|0)?j:o;j=(i|0)>(j|0)?j:i;e=e+4|0;f=f+4|0;if((w|0)!=(f|0)){continue}break}}if(n){f=0;while(1){i=B[(h+I(e,40)|0)+12>>1];k=(i|0)<(k|0)?k:i;j=(i|0)>(j|0)?j:i;e=e+1|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}}if((j|0)>=(k|0)){break a}z=a,A=Te(j,s)+g|0,C[z>>2]=A;e=Te(k,s)+g|0;C[a+4>>2]=e;i=e&-32;C[a+24>>2]=i;f=C[a>>2];m=f&-32;C[a+16>>2]=m;C[a+8>>2]=f&-64;l=i+32|0;C[a+28>>2]=l;g=m+32|0;C[a+20>>2]=g;C[a+12>>2]=e+63&-64;if((e|0)<(g|0)){C[a+20>>2]=e;g=e}if((f|0)>(i|0)){C[a+24>>2]=f;i=f}h=e-f|0;C[a+32>>2]=h;if((h|0)>=65){e=i-g|0}else{C[a+24>>2]=e;C[a+20>>2]=f;e=h}C[a+36>>2]=e;f=l-m|0;C[a+40>>2]=f;i=(h|0)>=129?16:(h|0)<97?4:8;g=h-i|0;if((g|0)>(e|0)){C[a+36>>2]=g;e=g}g=h+i|0;if((g|0)<(f|0)){C[a+40>>2]=g;f=g}g=(I(h,3)|0)/4|0;if((g|0)>(e|0)){C[a+36>>2]=g;e=g}g=(I(h,5)|0)/4|0;if((g|0)<(f|0)){C[a+40>>2]=g;f=g}if((e|0)<=(f|0)){w=k-j|0;while(1){i=e;m=C[a>>2];g=C[a+32>>2];f=m+(g-e|0)|0;h=C[a+4>>2];c:{d:{if((e|0)>=(g|0)){e=C[a+16>>2];if((f|0)>=(e|0)){break d}f=(h-f|0)+e|0;break c}e=C[a+20>>2];if((f|0)<=(e|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}o=Ze(i-g|0,w)+s|0;v=Te(j,o);p(u,0,260);g=C[a+24>>2];l=f-e|0;n=C[a+16>>2];q=(g|0)>(l+n|0)?g-l|0:n;n=C[a+8>>2];g=q-n|0;e:{if((g|0)<0){break e}t=q;q=C[a+28>>2];r=C[a+20>>2];l=(q|0)<(l+r|0)?q-l|0:r;if((t|0)>(l|0)){break e}l=l-n|0;if((l|0)>64){break e}q=I(((f|0)<(h|0)?h-f|0:f-h|0)+((e|0)<(m|0)?m-e|0:e-m|0)|0,10);v=e-v|0;n=e-n|0;m=(v-n|0)+g|0;f=0;while(1){e=I(f,48)+y|0;r=B[e+6>>1]-B[e+4>>1]|0;h=Te(B[e+2>>1],o)+m|0;e=g;while(1){t=(e<<2)+u|0;C[t>>2]=C[t>>2]+I(r,C[((h&63)<<2)+207376>>2]);h=h+1|0;t=(e|0)<(l|0);e=e+1|0;if(t){continue}break}f=f+1|0;if((x|0)!=(f|0)){continue}break}f=C[a+52>>2];while(1){r=g-n|0;m=r+q|0;h=g;e=C[(g<<2)+u>>2];if(!((e|0)<=(f|0)&((e|0)!=(f|0)|(m|0)>=C[a+56>>2]))){C[a+56>>2]=m;C[a+52>>2]=e;C[a+44>>2]=o;C[a+48>>2]=r+v;f=e}g=h+1|0;if((h|0)<(l|0)){continue}break}}e=i+1|0;if((i|0)>2]){continue}break}}e=C[a+48>>2];a=C[a+44>>2];f=a-s|0;z=b,A=Te(j,f)+e|0,C[z+2992>>2]=A;z=b,A=Te(k,f)+e|0,C[z+2996>>2]=A;C[c>>2]=a;C[d>>2]=e}Ce=u+272|0}function GK(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0;g=Ce-32|0;Ce=g;j=C[b+28>>2];C[g+8>>2]=2;d=hf(j,44,g+8|0);a:{if(C[g+8>>2]){break a}c=Cf(b,C[b+4>>2]);C[g+8>>2]=c;if(c){break a}c=C[a+472>>2];C[d+12>>2]=C[a+468>>2];C[d+16>>2]=c;c=C[a+464>>2];C[d+4>>2]=C[a+460>>2];C[d+8>>2]=c;C[d+20>>2]=C[a+472>>2];C[d+24>>2]=C[a+464>>2];e=C[a+488>>2];c=C[e+24>>2];b:{if(c){c=Fe[C[c>>2]](g+12|0,C[b+28>>2],C[b+32>>2],C[b+36>>2])|0;C[g+8>>2]=c;if(!c){C[g+28>>2]=a+132;C[g+24>>2]=1168;C[g+20>>2]=d;c=g+12|0;q=g,r=Fe[C[C[e+24>>2]+8>>2]](c)|0,C[q+8>>2]=r;Fe[C[C[e+24>>2]+4>>2]](c);c=C[g+8>>2]}if((c&255)==2){e=C[b+4>>2];if(e>>>0<7){break b}c=C[b+32>>2];if(D[c+1|0]>3|(e|0)!=(D[c+2|0]|D[c+3|0]<<8|(D[c+4|0]<<16|D[c+5|0]<<24))){break b}c=Ce-16|0;Ce=c;C[c+12>>2]=0;m=C[b+28>>2];c:{d:{k=C[b+36>>2];h=C[b+32>>2];if(k>>>0>>0){C[c+12>>2]=2;break d}e=(h+99|0)+(D[h+99|0]|D[h+100|0]<<8)|0;if(k>>>0>>0|(D[e+18|0]|D[e+19|0]<<8)>>>0<18){break c}e=D[e+32|0]|D[e+33|0]<<8|(D[e+34|0]<<16|D[e+35|0]<<24);if(!e){break c}i=e+h|0;h=i+2|0;if(k>>>0>>0){C[c+12>>2]=2;break d}e=D[i|0]|D[i+1|0]<<8;C[d+40>>2]=e;if(k>>>0<(e<<2)+h>>>0){C[c+12>>2]=2;break d}if(!e){break c}e=Ve(m,16,0,e,0,c+12|0);C[d+36>>2]=e;if(C[c+12>>2]){break d}n=C[d+40>>2];k=C[a+92>>2];l=C[a+36>>2];e:{if((l|0)<=0){break e}p=C[a+40>>2];while(1){o=C[(f<<2)+p>>2];if(E[o+8>>1]!=7){f=f+1|0;if((l|0)!=(f|0)){continue}break e}break}f=qj(a,o);C[c+12>>2]=f;if(f){break d}}f=n<<2;if((f|0)>0){n=(f+i|0)+2|0;while(1){l=D[h|0];f=0;f:{if(!a){break f}i=C[a+92>>2];if(!i){break f}f=Fe[C[C[i+12>>2]+12>>2]](i,l)|0}C[e>>2]=f;l=D[h+1|0];f=0;g:{if(!a){break g}i=C[a+92>>2];if(!i){break g}f=Fe[C[C[i+12>>2]+12>>2]](i,l)|0}C[e+4>>2]=f;f=(D[h+2|0]|D[h+3|0]<<8)<<16>>16;C[e+12>>2]=0;C[e+8>>2]=f;e=e+16|0;h=h+4|0;if(n>>>0>h>>>0){continue}break}}h:{if(k){e=qj(a,k);C[c+12>>2]=e;break h}e=C[c+12>>2]}if(e){break d}lh(C[d+36>>2],C[d+40>>2],16,1169);if(C[c+12>>2]){break d}f=0;break c}f=C[d+36>>2];if(f){Fe[C[m+8>>2]](m,f)}C[d+36>>2]=0;C[d+40>>2]=0;f=C[c+12>>2]}Ce=c+16|0;c=f;C[g+8>>2]=c}if(c){break b}}f=C[d+8>>2];C[a+460>>2]=C[d+4>>2];C[a+464>>2]=f;f=C[d+16>>2];C[a+468>>2]=C[d+12>>2];C[a+472>>2]=f;C[a+52>>2]=B[d+6>>1];C[a+56>>2]=B[d+10>>1];C[a+60>>2]=C[d+12>>2]+65535>>16;C[a- -64>>2]=C[d+16>>2]+65535>>16;B[a+70>>1]=C[d+20>>2]+32768>>>16;B[a+72>>1]=C[d+24>>2]+32768>>>16;if(!C[d+40>>2]){break b}C[a+492>>2]=d;C[a+8>>2]=C[a+8>>2]|64;d=0}xf(b)}if(d){a=C[d+36>>2];if(a){Fe[C[j+8>>2]](j,a)}C[d+36>>2]=0;C[d+40>>2]=0;a=C[d+28>>2];if(a){Fe[C[j+8>>2]](j,a)}C[d+28>>2]=0;C[d+32>>2]=0;if(d){Fe[C[j+8>>2]](j,d)}}Ce=g+32|0;return C[g+8>>2]}function hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-96|0;Ce=e;a:{if(!(C[a>>2]==422837?a:0)){C[e>>2]=9675;Qe(19745,e);break a}if(!b){C[e+16>>2]=19523;Qe(19745,e+16|0);break a}g=1;c=C[b+4>>2];g=C[c+24>>2]?g:b?C[C[b+52>>2]+68>>2]>>>8&1:0;d=C[c+4>>2];if(d){dr(d,e+92|0,e+88|0);g=C[e+92>>2]?g:1}b:{c:{d:{if(!(C[c+24>>2]|!(b?C[C[b+52>>2]+68>>2]>>>8&1:0))){e:{c=C[c>>2];if((c|0)!=370546692){if((c|0)!=374740996){f=C[a+128>>2];break d}c=0;f=C[a+128>>2];if((f|0)<=0){break c}break e}c=0;f=C[a+128>>2];if((f|0)<=0){break c}while(1){d=372645892;if(C[((c<<2)+a|0)+132>>2]==372645892){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}break d}while(1){d=376840196;if(C[((c<<2)+a|0)+132>>2]==376840196){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}break d}f=C[a+128>>2];if((f|0)<=0){break c}d=C[c>>2];c=0;while(1){if(C[((c<<2)+a|0)+132>>2]!=(d|0)){c=c+1|0;if((f|0)!=(c|0)){continue}break d}break}if(d){break b}}h=C[a+132>>2];if((f|0)>0){c=0;while(1){d=C[((c<<2)+a|0)+132>>2];if(!((d&-268435456)!=268435456?d:0)){i=d>>>24&15;f:{if(i-4>>>0<=2){j=!((d>>>20&15)-3&-6);break f}j=0;if(i-7>>>0>4){break f}i=(d>>>20&15)-2|0;if(i>>>0>4){break f}j=C[(i<<2)+184216>>2]}if((g|0)==(j|0)){break b}}c=c+1|0;if((f|0)!=(c|0)){continue}break}}d=h;break b}d=C[a+132>>2]}c=Vq(a,d,0,C[b+8>>2],C[b+12>>2]);if(!c){c=0;break a}g:{h:{i:{a=C[b+4>>2];if(!(C[a>>2]!=(d|0)|((b?C[C[b+52>>2]+68>>2]>>>8&1:0)?C[a+24>>2]:0))){if(!(D[b|0]&2)){break i}qh(b);sk(c,0,C[b+20>>2],C[b+16>>2]);fh(b);break h}d=mn(d);if(!d){break g}a=xq(b,d);kn(d);if(!a){break g}sk(c,0,C[a+20>>2],C[a+16>>2]);Nf(a);break h}sk(c,0,C[b+20>>2],C[b+16>>2])}if(b){oo(b,e+88|0,e+87|0,e+86|0)}h=D[e+86|0];d=D[e+87|0];g=D[e+88|0];f=(h&(d&g))!=255;a=c;while(1){j:{if(C[a>>2]!=422838){C[e+80>>2]=16603;Qe(19745,e+80|0);break j}A[a+32|0]=g;A[a+34|0]=h;A[a+33|0]=d;C[a+20>>2]=f|C[a+20>>2]&-2;a=C[a+40>>2];if(a){continue}}break}a=e+85|0;if(a?b:0){A[a|0]=D[C[b+52>>2]+79|0]}d=D[e+85|0];g=((d|0)!=255)<<1;a=c;while(1){k:{if(!(C[a>>2]==422838?a:0)){C[e+64>>2]=16603;Qe(19745,e- -64|0);break k}A[a+35|0]=d;C[a+20>>2]=g|C[a+20>>2]&-3;a=C[a+40>>2];if(a){continue}}break}if(b?C[C[b+52>>2]+68>>2]>>>8&1:0){a=c;while(1){if(!(C[a>>2]==422838?a:0)){C[e+48>>2]=16603;Qe(19745,e+48|0);break a}C[a+24>>2]=1;a=C[a+40>>2];if(a){continue}break}break a}if(b){a=e+92|0;if(a){Ik(b,a)}}b=C[e+92>>2];g=b>>>0>8;a=c;while(1){if(!(C[a>>2]==422838?a:0)){C[e+32>>2]=16603;Qe(19745,e+32|0);break a}d=C[a+36>>2];l:{if(!(1<>2];if(h){if(Fe[h|0](d,b)|0){break l}}_e(4);break a}C[a+24>>2]=b;a=C[a+40>>2];if(a){continue}break}break a}Cj(c);c=0}Ce=e+96|0;return c}function iz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-48|0;Ce=g;a:{b:{h=b&2;if(!h){break b}e=C[105780];if(C[e+204>>2]){break b}C[g+32>>2]=C[e>>2];b=Qe(12800,g+32|0);break a}i=C[a+48>>2]&2048;if(!i){c:{e=C[105780];if(!e){Qe(19865,0);break c}if(!(C[a>>2]==(e+388|0)?a:0)){Qe(2168,0);break c}if(D[a+48|0]&4){C[a+120>>2]=1;ci(a,0);e=C[105780];c=C[e+88>>2];if(c){Fe[c|0](e,a)}C[a+120>>2]=0;dg(a,2,0,0)}}}e=C[a+112>>2];if(e){C[e>>2]=C[e>>2]&-5;Nf(e);C[a+112>>2]=0;C[a+116>>2]=0}c=C[105780];d:{if(!C[c+352>>2]){break d}e=C[c+164>>2];if(!e){break d}Fe[e|0](c,a);c=C[105780]}e=C[c+152>>2];if(!(i|!e)){Fe[e|0](c,a)}d=C[a+48>>2];c=d&268435456;e=b&268435456;e:{if((c|0)!=(e|0)){c=(e|0)!=0;e=!e;break e}c=!c;e=c}if((b&268435458)==268435458){b=Qe(2075,0);break a}if((b&536870914)==536870914){b=Qe(2122,0);break a}if((b&805306368)==805306368){b=Qe(2029,0);break a}f:{if(!h^(h|0)!=(d&2)){break f}d=C[105780];if(!d){Qe(19865,0);break f}f=C[d+516>>2];if((f|0)<=0){break f}C[d+516>>2]=f-1;if((f|0)!=1){break f}f=C[d+200>>2];if(!f){break f}Fe[f|0](d)}g:{if(c){break g}c=C[105780];if(!c){Qe(19865,0);break g}d=C[c+808>>2];if((d|0)<=0){break g}C[c+808>>2]=d-1;if((d|0)!=1){break g}d=C[c+240>>2];if(!d){break g}Fe[d|0](c)}h:{if(!h){break h}c=C[105780];i:{if(!c){d=Qe(19865,0);break i}j:{d=C[c+516>>2];if(!d){d=C[c+192>>2];if(!d){C[g+16>>2]=C[c>>2];d=Qe(32625,g+16|0);break i}d=Fe[d|0](c,0)|0;c=C[105780];if(d){break j}d=C[c+516>>2]}C[c+516>>2]=d+1;break h}f=C[c+200>>2];if(!f){break i}Fe[f|0](c)}if((d|0)>=0){break h}b=-1;break a}k:{if(e){break k}c=C[105780];if(!c){Qe(19865,0);b=-1;break a}l:{d=C[c+808>>2];if(!d){d=C[c+236>>2];if(!d){C[g>>2]=C[c>>2];c=Qe(12583,g);break l}c=Fe[d|0](c,0)|0;if(c){break l}c=C[105780];d=C[c+808>>2]}C[c+808>>2]=d+1;break k}if((c|0)>=0){break k}b=-1;break a}C[a+124>>2]=0;d=b&806330482;c=d|8;C[a+52>>2]=c;C[a+48>>2]=c;c=C[105780];f=C[c+36>>2];m:{if(!(i|!f)){if((Fe[f|0](c,a)|0)>=0){c=C[105780];break m}if(h){b=C[105780];n:{if(!b){Qe(19865,0);break n}c=C[b+516>>2];o:{if((c|0)<=0){break o}C[b+516>>2]=c-1;if((c|0)!=1){break o}c=C[b+200>>2];if(!c){break o}Fe[c|0](b)}}C[a+48>>2]=C[a+48>>2]&-3}b=-1;if(e){break a}e=C[105780];p:{if(!e){Qe(19865,0);break p}c=C[e+808>>2];q:{if((c|0)<=0){break q}C[e+808>>2]=c-1;if((c|0)!=1){break q}c=C[e+240>>2];if(!c){break q}Fe[c|0](e)}}C[a+48>>2]=C[a+48>>2]&-268435457;break a}if(!i){break m}C[a+48>>2]=d|2056}e=C[c+44>>2];if(!(!e|!C[a+8>>2])){Fe[e|0](c,a);c=C[105780]}e=C[c+48>>2];r:{if(!e){break r}d=C[a+12>>2];if(!d){break r}Fe[e|0](c,a,d)}if(C[a+152>>2]){Fe[C[C[105780]+340>>2]](a,1)|0}kz(a,b&-2049|i);b=0}Ce=g+48|0;return b}function Jn(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,o=0;m=I(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){j=a+c|0;f=I(b>>>1|0,c)+a|0;h=(Fe[d|0](j,f)|0)>0;e=h?j:f;k=I(b-1|0,c);l=k+a|0;g=n+l|0;if((Fe[d|0](e,g)|0)>0){b=h?f:j;e=(Fe[d|0](b,g)|0)>0?b:g}if(!((e|0)==(l|0)|(c|0)<=0)){h=c+e|0;b=l;while(1){g=D[e|0];A[e|0]=D[b|0];A[b|0]=g;b=b+1|0;e=e+1|0;if(h>>>0>e>>>0){continue}break}}h=l;f=h;i=a;g=a;a:{if((k|0)<=0){i=0;break a}while(1){b:{if(g>>>0>=f>>>0){break b}c:{o=(c|0)<=0;if(!o){while(1){b=Fe[d|0](g,l)|0;if((b|0)>0){break c}if(!b){if(g>>>0>i>>>0){k=c+i|0;e=i;b=g;while(1){j=D[e|0];A[e|0]=D[b|0];A[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}i=c+i|0}g=c+g|0;if(f>>>0>g>>>0){continue}break b}}while(1){b=Fe[d|0](g,l)|0;if((b|0)>0){break c}i=b?i:c+i|0;g=c+g|0;if(f>>>0>g>>>0){continue}break}break b}d:{if(g>>>0>=f>>>0){break d}while(1){k=f;e:{f:{f=f+n|0;b=Fe[d|0](f,l)|0;if(!b){j=h+n|0;if(h>>>0<=k>>>0){break f}e=f;b=j;if(o){break f}while(1){h=D[e|0];A[e|0]=D[b|0];A[b|0]=h;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}break f}if((b|0)>=0){break e}if(!(o|g>>>0>=f>>>0)){k=c+g|0;e=g;b=f;while(1){j=D[e|0];A[e|0]=D[b|0];A[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}g=c+g|0;break d}h=j}if(g>>>0>>0){continue}break}}if(g>>>0>>0){continue}}break}k=f-i|0;g:{if((a|0)==(i|0)|(f|0)==(i|0)){break g}b=i-a|0;if(b>>>0>k>>>0){if((k|0)<=0){break g}j=a+k|0;e=a+b|0;b=a;while(1){g=D[b|0];A[b|0]=D[e|0];A[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break g}if((b|0)<=0){break g}j=a+b|0;e=a+k|0;b=a;while(1){g=D[b|0];A[b|0]=D[e|0];A[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}i=h-f|0;if((f|0)==(h|0)|(h|0)==(m|0)){break a}b=m-h|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+f|0;e=f+i|0;while(1){b=D[f|0];A[f|0]=D[e|0];A[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break a}if((i|0)<=0){break a}g=f+i|0;e=b+f|0;while(1){b=D[f|0];A[f|0]=D[e|0];A[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}Jn(a,(k>>>0)/(c>>>0)|0,c,d);a=m-i|0;b=(i>>>0)/(c>>>0)|0;m=a+I(c,b)|0;if(b>>>0>=10){continue}break}}h=a+c|0;h:{if(m>>>0<=h>>>0){break h}l=0-c|0;if((c|0)>0){while(1){g=h;i:{if(g>>>0<=a>>>0){break i}while(1){f=g+l|0;if((Fe[d|0](f,g)|0)<=0){break i}e=f;b=g;while(1){j=D[e|0];A[e|0]=D[b|0];A[b|0]=j;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}g=f;if(f>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break h}}while(1){e=h;j:{if(e>>>0<=a>>>0){break j}while(1){b=e+l|0;if((Fe[d|0](b,e)|0)<=0){break j}e=b;if(b>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break}}}function IK(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,j=0,k=0,l=0;e=Ce-1552|0;Ce=e;h=C[a+4>>2];f=C[C[h+488>>2]+12>>2];a:{if(!(C[C[h+128>>2]+48>>2]|F[h+16>>2]>c>>>0)){d=6;break a}g=d&1024?d|3:d;b:{if(!b){i=65536;d=65536;break b}i=C[b+16>>2];d=C[b+20>>2]}C[a+176>>2]=d;C[a+172>>2]=i;C[a+108>>2]=0;C[a+72>>2]=1869968492;i=g&3;d=Fe[C[f>>2]](e+52|0,h,b,a,C[h+420>>2],C[h+528>>2],!i,g>>>16&15,1167)|0;if(d){break a}j=g&1024;A[e+121|0]=j>>>10;C[e+1416>>2]=C[h+404>>2];C[e+1420>>2]=C[h+408>>2];C[e+1424>>2]=C[h+412>>2];C[e+1540>>2]=C[h+544>>2];C[e+1544>>2]=C[h+540>>2];d=Tk(e+52|0,c,e+24|0);if(!d){c=e+1436|0;d=C[c+4>>2];C[e+40>>2]=C[c>>2];C[e+44>>2]=d;c=C[e+1432>>2];C[e+32>>2]=C[e+1428>>2];C[e+36>>2]=c;c=C[e+1448>>2];d=C[e+1444>>2];Fe[C[f+4>>2]](e+52|0);C[a+124>>2]=C[a+124>>2]&1|4;c:{if(j){b=C[a+156>>2];g=C[e+84>>2];C[a+32>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;g=C[e+92>>2];C[a+40>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;g=C[e+44>>2];C[b+20>>2]=C[e+40>>2];C[b+24>>2]=g;g=C[e+36>>2];C[b+12>>2]=C[e+32>>2];C[b+16>>2]=g;C[b+32>>2]=c;C[b+28>>2]=d;A[b+8|0]=1;break c}f=C[e+92>>2];C[a+40>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;f=C[e+92>>2];C[a+56>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;A[C[a+156>>2]+8|0]=0;j=g&16;d:{if(j){f=C[h+472>>2]-C[h+464>>2]>>16;C[a+52>>2]=f;break d}f=C[e+96>>2];C[a+52>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;f=C[e+96>>2];f=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16}C[a+72>>2]=1869968492;C[a+60>>2]=f;if(!(!b|E[b+14>>1]>23)){C[a+124>>2]=C[a+124>>2]|256}f=a+108|0;e:{if(!(C[e+36>>2]|(C[e+32>>2]!=65536|C[e+44>>2]!=65536))){if(!C[e+40>>2]){break e}}Ui(f,e+32|0)}if(c|d){Pg(f,d,c)}b=C[a+40>>2];C[e+4>>2]=0;C[e>>2]=b;b=e+32|0;Yh(e,b);C[a+40>>2]=d+C[e>>2];C[e>>2]=0;C[e+4>>2]=C[a+52>>2];Yh(e,b);C[a+52>>2]=c+C[e+4>>2];if(!(g&1)){c=C[a+176>>2];g=C[a+172>>2];f:{if(!(C[e+124>>2]?i:1)){break f}b=C[e+68>>2];d=B[b+2>>1];if((d|0)<=0){break f}d=d&65535;b=C[b+4>>2];while(1){k=b,l=Te(C[b>>2],g),C[k>>2]=l;k=b,l=Te(C[b+4>>2],c),C[k+4>>2]=l;b=b+8|0;i=d>>>0>1;d=d-1|0;if(i){continue}break}}k=a,l=Te(C[a+40>>2],g),C[k+40>>2]=l;k=a,l=Te(C[a+52>>2],c),C[k+52>>2]=l}Zh(f,e+8|0);b=C[e+8>>2];C[a+24>>2]=C[e+16>>2]-b;c=C[e+12>>2];d=C[e+20>>2];C[a+36>>2]=d;C[a+32>>2]=b;C[a+28>>2]=d-c;if(!j){break c}ik(a+24|0,C[a+52>>2])}C[a+136>>2]=C[e+24>>2];C[a+140>>2]=C[e+28>>2];d=0;b=C[C[h+128>>2]+48>>2];if(!b){break a}Fe[C[C[b>>2]+4>>2]](C[b+4>>2],e+24|0);C[a+136>>2]=0;C[a+140>>2]=0;break a}Fe[C[f+4>>2]](e+52|0)}Ce=e+1552|0;return d|0}function DG(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=Ce-48|0;Ce=g;if(Hf(c,b,9727,0)){Rl(b,c,1,12,15,-1);o=C[c+80>>2];a:{if(!o){break a}j=o-1|0;k=C[c+92>>2];l=D[k+15|0];while(1){b:{if((e|0)==(j|0)){e=o;break b}e=e+1|0;if((l|0)==D[(k+I(e,20)|0)+15|0]){continue}}break}if(!o){break a}m=C[c+92>>2];h=D[m+15|0];l=0;d=o;while(1){j=e;c:{if(h&14){break c}k=l+1|0;if(j>>>0<=k>>>0){break c}n=C[a+112>>2];h=C[n+8>>2]|C[n+4>>2]|C[n+12>>2];f=0;e=k;d=j+(l^-1)&3;if(d){while(1){i=I(e,20)+m|0;C[i+4>>2]=h|C[i+4>>2];e=e+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}if((j-l|0)-2>>>0>2){while(1){d=I(e,20)+m|0;C[d+4>>2]=h|C[d+4>>2];C[d+24>>2]=h|C[d+24>>2];C[d+44>>2]=h|C[d+44>>2];d=d- -64|0;C[d>>2]=h|C[d>>2];e=e+4|0;if((j|0)!=(e|0)){continue}break}}r=j-3|0;s=j+2|0;p=I(k,20)+m|0;h=I(l,20)+m|0;t=h+40|0;e=0;while(1){d=k;f=I(d,20)+m|0;i=D[f+18|0];d:{if(!((i|0)!=14|e>>>0>2)){k=d+1|0;if(j>>>0<=k>>>0){break d}i=I(k,20)+m|0;if(D[i+18|0]!=16){e=e+1|0;break d}C[f+4>>2]=C[f+4>>2]|C[n>>2];C[i+4>>2]=C[i+4>>2]|C[n>>2];e=d+2|0;if(e-l>>>0>=2){fg(c,l,e)}C[g+40>>2]=C[f+16>>2];q=C[f+12>>2];C[g+32>>2]=C[f+8>>2];C[g+36>>2]=q;q=C[f+4>>2];C[g+24>>2]=C[f>>2];C[g+28>>2]=q;C[g+16>>2]=C[i+16>>2];f=C[i+12>>2];C[g+8>>2]=C[i+8>>2];C[g+12>>2]=f;f=C[i+4>>2];C[g>>2]=C[i>>2];C[g+4>>2]=f;Yf(t,h,I(d-l|0,20));C[h+16>>2]=C[g+40>>2];f=C[g+36>>2];C[h+8>>2]=C[g+32>>2];C[h+12>>2]=f;f=C[g+28>>2];C[h>>2]=C[g+24>>2];C[h+4>>2]=f;C[p+16>>2]=C[g+16>>2];f=C[g+12>>2];C[p+8>>2]=C[g+8>>2];C[p+12>>2]=f;f=C[g+4>>2];C[p>>2]=C[g>>2];C[p+4>>2]=f;e:{if(!C[n+16>>2]|e>>>0>=j>>>0){break e}f=0;i=s-d&3;if(i){while(1){q=I(e,20)+m|0;C[q+4>>2]=C[q+4>>2]|C[n+16>>2];e=e+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(r-d>>>0<3){break e}while(1){d=I(e,20)+m|0;C[d+4>>2]=C[d+4>>2]|C[n+16>>2];C[d+24>>2]=C[d+24>>2]|C[n+16>>2];C[d+44>>2]=C[d+44>>2]|C[n+16>>2];d=d- -64|0;C[d>>2]=C[d>>2]|C[n+16>>2];e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=2;break d}k=d+1|0;if((i|0)!=28){break d}if(k-l>>>0>=2){fg(c,l,k)}C[g+40>>2]=C[f+16>>2];i=C[f+12>>2];C[g+32>>2]=C[f+8>>2];C[g+36>>2]=i;i=C[f+4>>2];C[g+24>>2]=C[f>>2];C[g+28>>2]=i;Yf(p,h,I(d-l|0,20));C[h+16>>2]=C[g+40>>2];d=C[g+36>>2];C[h+8>>2]=C[g+32>>2];C[h+12>>2]=d;d=C[g+28>>2];C[h>>2]=C[g+24>>2];C[h+4>>2]=d}if((j|0)!=(k|0)){continue}break}m=C[c+92>>2];d=C[c+80>>2]}e=j+1|0;k=d>>>0>e>>>0?d:e;h=D[(I(j,20)+m|0)+15|0];e=j;while(1){f:{e=e+1|0;if(d>>>0<=e>>>0){e=k;break f}if(D[(I(e,20)+m|0)+15|0]==(h|0)){continue}}break}l=j;if(j>>>0>>0){continue}break}}Hf(c,b,9750,0)}Ce=g+48|0}function ev(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0;h=Ce-48|0;Ce=h;o(+a);d=j(1)|0;i=j(0)|0;a:{b:{e=d;k=e&2147483647;c:{if(k>>>0<=1074752122){if((d&1048575)==598523){break c}if(k>>>0<=1073928572){if((e|0)>0|(e|0)>=0){a=a+-1.5707963267341256;c=a+-6077100506506192e-26;H[b>>3]=c;H[b+8>>3]=a-c+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;c=a+6077100506506192e-26;H[b>>3]=c;H[b+8>>3]=a-c+6077100506506192e-26;d=-1;break a}if((e|0)>0|(e|0)>=0){a=a+-3.1415926534682512;c=a+-1.2154201013012384e-10;H[b>>3]=c;H[b+8>>3]=a-c+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;H[b>>3]=c;H[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(k>>>0<=1075594811){if(k>>>0<=1075183036){if((k|0)==1074977148){break c}if((e|0)>0|(e|0)>=0){a=a+-4.712388980202377;c=a+-1.8231301519518578e-10;H[b>>3]=c;H[b+8>>3]=a-c+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;H[b>>3]=c;H[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((k|0)==1075388923){break c}if((e|0)>0|(e|0)>=0){a=a+-6.2831853069365025;c=a+-2.430840202602477e-10;H[b>>3]=c;H[b+8>>3]=a-c+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;H[b>>3]=c;H[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(k>>>0>1094263290){break b}}f=a*.6366197723675814+6755399441055744+-6755399441055744;c=a+f*-1.5707963267341256;g=f*6077100506506192e-26;p=c-g;e=p<-.7853981633974483;if(K(f)<2147483648){d=~~f}else{d=-2147483648}d:{if(e){d=d-1|0;f=f+-1;g=f*6077100506506192e-26;c=a+f*-1.5707963267341256;break d}if(!(p>.7853981633974483)){break d}d=d+1|0;f=f+1;g=f*6077100506506192e-26;c=a+f*-1.5707963267341256}a=c-g;H[b>>3]=a;o(+a);e=j(1)|0;j(0)|0;i=k>>>20|0;e:{if((i-(e>>>20&2047)|0)<17){break e}g=c;a=f*6077100506303966e-26;c=c-a;g=f*20222662487959506e-37-(g-c-a);a=c-g;H[b>>3]=a;o(+a);e=j(1)|0;j(0)|0;if((i-(e>>>20&2047)|0)<50){break e}g=c;a=f*20222662487111665e-37;c=c-a;g=f*84784276603689e-45-(g-c-a);a=c-g;H[b>>3]=a}H[b+8>>3]=c-a-g;break a}if(k>>>0>=2146435072){a=a-a;H[b>>3]=a;H[b+8>>3]=a;d=0;break a}l(0,i|0);l(1,e&1048575|1096810496);a=+n();d=0;i=1;while(1){m=(h+16|0)+(d<<3)|0;if(K(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);H[m>>3]=c;a=(a-c)*16777216;d=1;m=i;i=0;if(m){continue}break}H[h+32>>3]=a;d=2;while(1){i=d;d=d-1|0;if(H[(h+16|0)+(i<<3)>>3]==0){continue}break}d=fv(h+16|0,h,(k>>>20|0)-1046|0,i+1|0,1);a=H[h>>3];if((e|0)<0){H[b>>3]=-a;H[b+8>>3]=-H[h+8>>3];d=0-d|0;break a}H[b>>3]=a;H[b+8>>3]=H[h+8>>3]}Ce=h+48|0;return d}function Qq(a,b){var c=0,d=0,e=0,f=0,g=0,h=J(0),i=0,j=0,k=0,l=J(0),m=J(0),n=J(0),o=0,p=J(0),q=0,r=0,s=J(0),t=0,u=0,v=0,w=J(0),x=J(0),y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,I=0,L=0,M=0;c=Ce;M=c;w=G[a+372>>2];x=G[a+368>>2];D=c+-64|0;Ce=D;while(1){d=(y|0)!=3;c=(y<<3)+b|0;l=G[c+4>>2];m=G[c>>2];y=y+1|0;c=(y<<3)+b|0;n=G[c+4>>2];h=G[c>>2];a:{b:{if(!d){if(!(!e|h!=G[b>>2])&n==G[b+4>>2]){break b}q=1;break b}if(h!=m){break b}if(l==n){break a}}if(h==m){d=(r<<4)+D|0;G[d+8>>2]=x;G[d>>2]=x*m;p=l>2]=s;c=l>n;G[d+12>>2]=w*J(J((c?l:n)-p)+J(q>>>0));e=1;r=r+1|0;if(q){break a}q=0;if(!c){break a}G[d+4>>2]=w+s;break a}if(l==n){d=(r<<4)+D|0;G[d+12>>2]=w;G[d+4>>2]=w*l;p=h>m?m:h;s=J(x*p);G[d>>2]=s;c=h>2]=x*J(J((c?m:h)-p)+J(q>>>0));e=1;r=r+1|0;if(q){break a}q=0;if(!c){break a}G[d>>2]=x+s;break a}if(J(K(n))>31;d=o-e|0;j=d>>31;f=(f^t)-t|0;d=(d^j)-j|0;c:{if((f|0)>=(d|0)){v=d-f|0;u=1;z=d<<1;E=z-f|0;d=0;break c}v=f-d|0;z=f<<1;E=z-d|0;f=d;d=1}d:{e:{k=f+q|0;A=k<<3;f:{if(A>>>0<=127){i=F-(A+15&-16)|0;Ce=i;break f}i=Fe[C[94762]](A>>>0<=1?1:A)|0;if(i){C[94766]=C[94766]+1}if(!i){break e}}g:{if((k|0)<=0){break g}f=0;if((k|0)!=1){t=0-d|0;j=d;d=(e|0)>(o|0);H=d?t:j;c=(c|0)<(g|0);I=c?0-u|0:u;L=d?-1:1;u=c?-1:1;t=v<<1;o=k&-2;v=0;while(1){d=f<<3;c=d+i|0;G[c+4>>2]=e|0;G[c>>2]=g|0;c=(d|8)+i|0;d=e;e=(E|0)<0;d=d+(e?H:L)|0;G[c+4>>2]=d|0;j=c;c=(e?I:u)+g|0;G[j>>2]=c|0;e=(e?z:t)+E|0;j=(e|0)<0;E=(j?z:t)+e|0;g=c+(j?I:u)|0;e=(j?H:L)+d|0;f=f+2|0;v=v+2|0;if((o|0)!=(v|0)){continue}break}}if(!(k&1)){break g}c=(f<<3)+i|0;G[c+4>>2]=e|0;G[c>>2]=g|0}h:{if(!(G[a+368>>2]==J(1)&G[a+372>>2]==J(1))){e=0;c=Ce;o=c;i:{if((k|0)<=0){Ce=o;break i}j:{g=k<<4;k:{if(g>>>0<=127){f=c-(g+15&-16)|0;Ce=f;break k}f=Fe[C[94762]](g>>>0<=1?1:g)|0;if(f){C[94766]=C[94766]+1}if(!f){break j}}h=G[a+372>>2];p=G[a+368>>2];while(1){d=(e<<4)+f|0;c=(e<<3)+i|0;G[d>>2]=G[c>>2]*p;s=G[c+4>>2];G[d+12>>2]=h;G[d+8>>2]=p;G[d+4>>2]=s*h;e=e+1|0;if((k|0)!=(e|0)){continue}break}e=Rq(a,f,k);if(f?g>>>0>=128:0){Fe[C[94765]](f);C[94766]=C[94766]-1}Ce=o;break i}e=_e(0);Ce=o}break h}c=rk(a,5,0);if(!c){e=-1;break h}e=Fe[C[a+28>>2]](a,c,i,k)|0;if((e|0)>=0){break h}C[c>>2]=0}if(i?A>>>0>=128:0){Fe[C[94765]](i);C[94766]=C[94766]-1}break d}e=_e(0)}Ce=F;B=e+B|0;e=1}if((y|0)!=4){continue}break}if(r){B=Rq(a,D,r)+B|0}Ce=M;return(B|0)<0?-1:B}function rS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=C[C[b+164>>2]>>2];b=0;g=Ce-128|0;Ce=g;a:{if(!C[a+1080>>2]){Qe(19845,0);break a}d=C[a+480>>2];e=C[a+476>>2];f=C[a+488>>2];if(C[a+492>>2]){c=ai()}else{c=0}i=g+32|0;b:{c:{d:{if(C[a+484>>2]|!(!d&(f|0)==4)&(e|0)>=3){break d}e:{switch(f|0){case 0:case 4:break e;default:break d}}if((f|0)!=4){break b}C[g+32>>2]=12440;e=(e|0)<=1?1:e;b=2;d=1;break c}f:{if(pk(a,3094)){C[g+44>>2]=d;C[g+40>>2]=12539;C[g+36>>2]=e;C[g+32>>2]=12440;if(f&-5){C[g+52>>2]=f;C[g+48>>2]=12541;d=6}else{d=4}e=C[a+484>>2];if(e){break f}b=d;break b}Qe(33320,0);break a}C[(g+32|0)+(d<<2)>>2]=12540;b=d+2|0;d=d|1}C[i+(d<<2)>>2]=e}g:{if(!C[a+508>>2]){break g}if(!pk(a,9064)){break g}d=(g+32|0)+(b<<2)|0;C[d>>2]=12723;C[d+4>>2]=C[a+508>>2];b=b+2|0}e=g+32|0;C[e+(b<<2)>>2]=12344;d=C[a+1080>>2];b=(f|0)==4?12448:12450;C[d+40>>2]=b;Fe[C[d+124>>2]](b)|0;b=C[a+1080>>2];d=Fe[C[b+72>>2]](C[b+8>>2],C[b+12>>2],c,e)|0;c=C[a+1080>>2];if(!d){a=34979;d=Fe[C[c+128>>2]]()|0;b=d-12288|0;if(b>>>0<=14){a=C[(b<<2)+195524>>2]}if(!D[a|0]){C[g+16>>2]=d;a=g+96|0;rf(a,32,1768,g+16|0)}C[g+8>>2]=a;C[g+4>>2]=3146;C[g>>2]=3117;Qe(32680,g);b=0;break a}b=0;C[c+16>>2]=0;c=tq(a,h,d);e=C[a+1080>>2];if((c|0)<0){if(!e){break a}Fe[C[e+76>>2]](C[e+8>>2],d)|0;break a}b=C[e+24>>2];h:{i:{if(!((b|0)>1|(b|0)==1&C[e+28>>2]>4)){if(!pk(a,3066)){break h}if((f|0)==4){break i}break h}if((f|0)!=4){break h}}h=0;f=Ce-48|0;Ce=f;j:{if(jh(3039,32)|!D[3039]){break j}b=Ug(3039);if(D[b|0]==48?b:0){break j}c=C[105780];if(!c){Qe(19865,0);break j}k:{b=C[c+196>>2];if(b){if(C[c+516>>2]){break k}Qe(20769,0);break j}C[f>>2]=C[c>>2];Qe(32625,f);break j}c=Fe[b|0](c,15221)|0;if(!c){break j}l:{b=Fe[c|0](7938)|0;if(!b){break l}if((Zf(b)|0)<3){break l}e=0;C[f+44>>2]=0;c=C[105780];m:{if(!c){Qe(19865,0);break m}b=C[c+196>>2];if(b){if(C[c+516>>2]){e=Fe[b|0](c,14544)|0;break m}Qe(20769,0);break m}C[f+32>>2]=C[c>>2];Qe(32625,f+32|0)}c=C[105780];if(!c){Qe(19865,0);break j}n:{b=C[c+196>>2];if(b){if(C[c+516>>2]){break n}Qe(20769,0);break j}C[f+16>>2]=C[c>>2];Qe(32625,f+16|0);break j}b=Fe[b|0](c,2294)|0;if(!e|!b){break j}Fe[b|0](33309,f+44|0);if(C[f+44>>2]<=0){break j}b=0;while(1){if(uf(Fe[e|0](7939,b)|0,3039)){b=b+1|0;if((b|0)>2]){continue}break j}break}h=1;break j}e=Fe[c|0](7939)|0;if(!e){break j}b=fi(e,3039);if(!b){break j}while(1){c=af(3039)+b|0;if(!((b|0)!=(e|0)&D[b-1|0]!=32|(D[c|0]|32)!=32)){h=1;break j}b=fi(c,3039);if(b){continue}break}}Ce=f+48|0;if(!h){break h}C[a+796>>2]=1}b=d}Ce=g+128|0;return b|0}function RN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ce-96|0;Ce=h;C[h+80>>2]=0;C[h+84>>2]=0;C[h+72>>2]=0;C[h+76>>2]=0;j=h- -64|0;C[j>>2]=0;C[j+4>>2]=0;C[h+56>>2]=0;C[h+60>>2]=0;C[h+48>>2]=0;C[h+52>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;g=Ve(a,8,0,c+10|0,0,h+92|0);C[b+20>>2]=g;j=C[h+92>>2];if(!j){a:{if(!c){break a}while(1){j=Fe[d|0](f,l)|0;b:{if(!j){break b}i=0;c:{d:{if(!Se(277424,j)){break d}i=1;if(!Se(277430,j)){break d}i=2;if(!Se(277436,j)){break d}i=3;if(!Se(277445,j)){break d}i=4;if(!Se(277452,j)){break d}i=5;if(!Se(277459,j)){break d}i=6;if(!Se(277462,j)){break d}i=7;if(!Se(277477,j)){break d}i=8;if(!Se(277483,j)){break d}if(Se(277496,j)){break c}i=9}k=i<<2;i=k+(h+48|0)|0;if(C[i>>2]){break c}C[i>>2]=1;C[h+k>>2]=l}i=bx(j);if(i&2147483647){m=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}}k=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}}k=1;break f}k=2;break f}k=3;break f}if((i|0)!=713){break e}k=4;break f}k=5;break f}k=6;break f}k=7;break f}k=8;break f}k=9}C[m+(k<<2)>>2]=2}C[g+4>>2]=l;C[g>>2]=i;g=g+8|0}if(!e){break b}Fe[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(C[h+48>>2]!=1){break a}C[g>>2]=916;C[g+4>>2]=C[h>>2];g=g+8|0}if(C[h+52>>2]==1){C[g>>2]=937;C[g+4>>2]=C[h+4>>2];g=g+8|0}if(C[h+56>>2]==1){C[g>>2]=8725;C[g+4>>2]=C[h+8>>2];g=g+8|0}if(C[h+60>>2]==1){C[g>>2]=173;C[g+4>>2]=C[h+12>>2];g=g+8|0}if(C[h+64>>2]==1){C[g>>2]=713;C[g+4>>2]=C[h+16>>2];g=g+8|0}if(C[h+68>>2]==1){C[g>>2]=956;C[g+4>>2]=C[h+20>>2];g=g+8|0}if(C[h+72>>2]==1){C[g>>2]=8729;C[g+4>>2]=C[h+24>>2];g=g+8|0}if(C[h+76>>2]==1){C[g>>2]=160;C[g+4>>2]=C[h+28>>2];g=g+8|0}if(C[h+80>>2]==1){C[g>>2]=538;C[g+4>>2]=C[h+32>>2];g=g+8|0}if(C[h+84>>2]==1){C[g>>2]=539;C[g+4>>2]=C[h+36>>2];g=g+8|0}j=C[b+20>>2];d=g-j>>3;r:{if((g|0)==(j|0)){if(g){Fe[C[a+8>>2]](a,g)}C[b+20>>2]=0;a=C[h+92>>2];j=a?a:163;break r}if(d>>>0>>1>>>0){j=Ve(a,8,c,d,j,h+92|0);C[b+20>>2]=j;C[h+92>>2]=0}lh(j,d,8,976);j=C[h+92>>2]}C[b+16>>2]=d}Ce=h+96|0;return j|0}function Mv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=C[a>>2];if(!b){k=a-24|0;while(1){b=C[k>>2];if(!b){return 84608}e=df(1,32);if(!e){C[a>>2]=84608;return 84608}d=Ce-48|0;Ce=d;C[e+12>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;c=Qf(b);A[d+40|0]=1;C[d+36>>2]=c;b=Of(b,1886352244);a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}A[d+24|0]=0;C[d+32>>2]=b;f=C[b+12>>2];C[d+4>>2]=f;g=C[b+16>>2];i=g+f|0;C[d+8>>2]=i;C[d+28>>2]=0;if(g>>>0>67108862){c=1073741823}else{c=g<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[d+12>>2]=c;C[d+20>>2]=0;C[d>>2]=0;b:{if(!f){Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;break b}c:{if((g|0)>=32){C[d+12>>2]=c-32;d:{e:{h=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);j=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((j|0)==65536){break e}if((j|0)==131072){f:{if((g&-2)==32){break f}h=c-34|0;C[d+12>>2]=h;c=D[f+32|0]|D[f+33|0]<<8;if(!c){break e}if(i>>>0>>0){break f}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>g-34>>>0){break f}c=h-c|0;C[d+12>>2]=c;if((c|0)>0){break e}}h=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24)}Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;if((h|0)==768){break d}break c}Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}break b}Ue(b);C[d+32>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0}Ue(b);b=84608}C[e>>2]=b;b=b?b:84608;g=C[b+16>>2];b=g>>>0<32?84608:C[b+12>>2];c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[e+4>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);g:{if((c|0)!=512){break g}c=b+32|0;C[e+8>>2]=c;f=D[b+32|0]|D[b+33|0]<<8;f=(c+(((f<<8|f>>>8)&65535)<<1)|0)+2|0;C[e+24>>2]=f;c=C[e+16>>2];if(c>>>0>65534){break g}i=b+g|0;if(i>>>0<=f>>>0){break g}j=C[21152];while(1){if(i>>>0<=D[f|0]+f>>>0){break g}h:{i:{j:{g=C[e+12>>2];if((g|0)>=0){h=c+1|0;l=C[e+24>>2];b=c;if(b>>>0>>0){break i}while(1){g=((g>>>1|0)+g|0)+8|0;if(h>>>0>=g>>>0){continue}break}if(g>>>0<=1073741822){b=lf(C[e+20>>2],g<<2);if(b){break j}}C[e+12>>2]=-1}C[104428]=j;break h}C[e+12>>2]=g;C[e+20>>2]=b;b=C[e+16>>2]}if(b>>>0<=c>>>0){We(C[e+20>>2]+(b<<2)|0,0,h-b<<2)}C[e+16>>2]=h;b=C[e+20>>2];C[104428]=j;b=b+(c<<2)|0;if((b|0)==417712){break h}C[b>>2]=f-l}c=C[e+16>>2];if(c>>>0>65534){break g}f=(D[f|0]+f|0)+1|0;if(i>>>0>f>>>0){continue}break}}Ce=d+48|0;if(!C[a>>2]){C[a>>2]=e;return e}Re(C[e+20>>2]);C[e+20>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;Re(C[e+28>>2]);Ue(C[e>>2]);Re(e);b=C[a>>2];if(!b){continue}break}}return b}function JS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=J(0),j=J(0),k=J(0),l=0,m=0,n=0,o=J(0),p=0;c=0;a=C[105716];a:{if(!a){break a}b=C[b+1300>>2];if((b|0)!=C[a>>2]){while(1){c=a;a=C[c+1320>>2];if(!a){break a}if((b|0)!=C[a>>2]){continue}break}}b=C[a+16>>2];if(b){C[b+132>>2]=0}b=C[a+1320>>2];b:{if(c){C[c+1320>>2]=b;break b}C[105716]=b}if(C[105715]==(a|0)){C[105715]=c}C[105713]=C[105713]-1;l=C[a+12>>2];b=0;h=Ce+-64|0;Ce=h;c=C[104881];c:{if(!c){break c}while(1){if(C[c>>2]==(l|0)){d=C[c+36>>2];if((d|0)>0){while(1){e=C[c+40>>2]+I(b,24)|0;if(C[e+8>>2]){vn(c,b&255,B[e+4>>1]);d=C[c+36>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}b=0;if(C[c+60>>2]>0){while(1){Qr(c,b&255,0);b=b+1|0;if((b|0)>2]){continue}break}}b=0;if(C[c+44>>2]>0){while(1){d=Ce+-64|0;Ce=d;e=b&255;d:{if((e|0)>=C[c+44>>2]|!D[e+C[c+48>>2]|0]){break d}e:{if(D[419540]){break e}f=C[105780];if(f){f=C[f+380>>2]!=0}else{f=0}if(!f){break e}}A[e+C[c+48>>2]|0]=0;if((qf(1538,-1)|0)!=1){break d}C[d+8>>2]=1538;f=C[c>>2];A[d+21|0]=0;A[d+20|0]=e;C[d+16>>2]=f;Df(d+8|0)}Ce=d- -64|0;b=b+1|0;if((b|0)>2]){continue}break}}e=C[c+68>>2];if((e|0)>0){d=0;while(1){b=0;n=C[c+72>>2]+(d<<3)|0;if(C[n>>2]>0){while(1){j=J(0);k=J(0);e=Ce+-64|0;Ce=e;f:{if((d|0)<0|C[c+68>>2]<=(d|0)|(b|0)<0){break f}f=C[c+72>>2]+(d<<3)|0;if(C[f>>2]<=(b|0)){break f}f=C[f+4>>2];g=f+(b<<4)|0;i=G[g+8>>2];o=G[g+4>>2];g:{if(oJ(1))){break g}j=J(1)}h:{if(iJ(1))){break h}k=J(1)}i=J(0);p=f+(b<<4)|0;if(!D[p|0]){break f}i:{if(D[419540]){break i}g=C[105780];if(g){g=C[g+380>>2]!=0}else{g=0}if(!g){break i}}A[p|0]=0;f=f+(b<<4)|0;G[f+12>>2]=i;G[f+8>>2]=k;G[f+4>>2]=j;if((qf(1624,-1)|0)!=1){break f}C[e+8>>2]=1624;f=C[c>>2];G[e+36>>2]=i;G[e+32>>2]=k;G[e+28>>2]=j;C[e+24>>2]=b;C[e+20>>2]=d;C[e+16>>2]=f;Df(e+8|0)}Ce=e- -64|0;b=b+1|0;if((b|0)>2]){continue}break}e=C[c+68>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}}C[c+112>>2]=0;break c}m=m+1|0;c=C[c+140>>2];if(c){continue}break}}mf(h+8|0,0,56);C[h+8>>2]=1542;if((qf(1542,-1)|0)==1){C[h+16>>2]=l;Df(h+8|0)}Pr(m,1541);Pr(m,1619);b=0;j:{k:{c=C[104884];if((c|0)<=0){break k}d=C[104883];while(1){if(C[d+(b<<2)>>2]==(l|0)){break k}b=b+1|0;if((c|0)!=(b|0)){continue}break}break j}b=(b|0)==(c|0)?-1:b;if((b|0)<0){break j}C[C[104883]+(b<<2)>>2]=-1}Ce=h- -64|0;b=C[a+4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}return 1}function Cq(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,j=0,k=0;i=C[a+4>>2];if(D[i+9|0]==4){j=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[i+29|0];c=D[i+33|0];f=((I(D[C[(b<<2)+382144>>2]+((a&C[i+16>>2])>>>c|0)|0],j)>>>0)/255|0)+f>>>b<>2]+((a&C[i+12>>2])>>>c|0)|0],j)>>>0)/255|0)+e>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0],j)>>>0)/255|0)+g>>>b<>2];a=D[i+35|0];C[d>>2]=c|((I(D[C[(b<<2)+382144>>2]+(e>>>a|0)|0],j)>>>0)/255|0)+h>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];f=D[i+33|0];b=h+D[C[(d<<2)+382144>>2]+((a&C[i+16>>2])>>>f|0)|0]|0;h=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[i+12>>2])>>>c|0)|0]+e|0;e=f|(d>>>0>=255?255:d)>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0]+g|0;c=e|(d>>>0>=255?255:d)>>>b<>2];a=D[i+35|0];C[h>>2]=c|D[C[(b<<2)+382144>>2]+(d>>>a|0)|0]>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];d=b;b=D[i+29|0];c=D[i+33|0];f=(I(D[C[(b<<2)+382144>>2]+((a&C[i+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]+((a&C[i+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0],g)>>>0)/255>>>b<>2];a=D[i+35|0];C[d>>2]=c|D[C[(b<<2)+382144>>2]+(e>>>a|0)|0]>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];f=D[i+33|0];b=D[C[(d<<2)+382144>>2]+((a&C[i+16>>2])>>>f|0)|0];b=((I(k,b)>>>0)/255|0)+((I(b,j)>>>0)/255|0)|0;k=c;f=(b>>>0>=255?255:b)>>>d<>2]+((a&C[i+12>>2])>>>c|0)|0];d=((I(d,e)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;e=f|(d>>>0>=255?255:d)>>>b<>2]+((a&C[i+20>>2])>>>c|0)|0];d=((I(d,g)>>>0)/255|0)+((I(d,j)>>>0)/255|0)|0;d=e|(d>>>0>=255?255:d)>>>b<>2];a=D[i+35|0];c=D[C[(b<<2)+382144>>2]+(c>>>a|0)|0];c=((I(c,h)>>>0)/255|0)+((I(c,j)>>>0)/255|0)|0;C[k>>2]=d|(c>>>0>=255?255:c)>>>b<>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f>>>D[i+29|0]<>>D[i+28|0]<>>D[i+30|0]<>>D[i+31|0]<>2];c=C[a+532>>2];if(c){Fe[C[c+12>>2]](a)}c=C[a+656>>2];if(!c){break a}f=C[c+4>>2];b=C[c+84>>2];if(b){e=C[b+28>>2];d=c+112|0;if(C[d>>2]){Wf(b,d)}b=C[c+108>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+108>>2]=0;C[c+112>>2]=0;C[c+100>>2]=0;C[c+104>>2]=0;C[c+92>>2]=0;C[c+96>>2]=0;C[c+84>>2]=0;C[c+88>>2]=0}b=C[c+1208>>2];if(b){e=C[b+28>>2];d=c+1236|0;if(C[d>>2]){Wf(b,d)}b=C[c+1232>>2];if(b){Fe[C[e+8>>2]](e,b)}b=c+1208|0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}b=C[c+20>>2];if(b){e=C[b+28>>2];d=c+48|0;if(C[d>>2]){Wf(b,d)}b=C[c+44>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+44>>2]=0;C[c+48>>2]=0;C[c+36>>2]=0;C[c+40>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0}b=C[c+1176>>2];if(b){e=C[b+28>>2];d=c+1204|0;if(C[d>>2]){Wf(b,d)}b=C[c+1200>>2];if(b){Fe[C[e+8>>2]](e,b)}b=c+1176|0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}d=C[c+1896>>2];if(d){e=0;while(1){b=C[(c+(e<<2)|0)+1900>>2];if(b){d=C[b+536>>2];if(d){g=C[d+28>>2];i=b+564|0;if(C[i>>2]){Wf(d,i)}d=C[b+560>>2];if(d){Fe[C[g+8>>2]](g,d)}C[b+560>>2]=0;C[b+564>>2]=0;C[b+552>>2]=0;C[b+556>>2]=0;C[b+544>>2]=0;C[b+548>>2]=0;C[b+536>>2]=0;C[b+540>>2]=0}d=C[b+568>>2];if(d){Fe[C[f+8>>2]](f,d)}C[b+568>>2]=0;d=C[c+1896>>2]}e=e+1|0;if(d>>>0>e>>>0){continue}break}b=C[c+1900>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1900>>2]=0}C[c+116>>2]=0;C[c+120>>2]=0;C[c+124>>2]=0;b=C[C[c>>2]+28>>2];e=c+1164|0;d=C[e>>2];if(d){Fe[C[b+8>>2]](b,d)}C[e>>2]=0;C[e+4>>2]=0;e=c+1160|0;d=C[e>>2];if(d){Fe[C[b+8>>2]](b,d)}C[c+1152>>2]=0;C[c+1156>>2]=0;C[e>>2]=0;b=c+1860|0;e=C[b>>2];if(e){d=C[e+28>>2];g=c+1888|0;if(C[g>>2]){Wf(e,g)}e=C[c+1884>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}b=c+1892|0;e=C[b>>2];if(e){Fe[C[f+8>>2]](f,e)}C[b>>2]=0;b=c+2932|0;if(C[b>>2]){Wf(C[c>>2],b)}A[c+2924|0]=0;C[c+2928>>2]=0;C[c+2936>>2]=0;b=C[c+2960>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+2960>>2]=0;b=C[c+1304>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1304>>2]=0;b=C[c+1308>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1308>>2]=0;b=C[c+1316>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1316>>2]=0;b=C[c+1320>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+1320>>2]=0;b=C[c+2976>>2];if(b){Fe[b|0](C[c+2972>>2]);b=C[c+2972>>2];if(b){Fe[C[f+8>>2]](f,b)}C[c+2972>>2]=0}c=C[a+656>>2];if(c){Fe[C[h+8>>2]](h,c)}C[a+656>>2]=0}}function Uw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(C[a+100>>2]){case 0:h=C[a+72>>2];if((h|0)<(c|0)){d=C[a+40>>2];if(!C[a+92>>2]){C[a+92>>2]=d;C[a+88>>2]=d;d=d+32|0;C[a+40>>2]=d}if(F[a+36>>2]>d>>>0){g=C[a+4>>2];f=C[a+8>>2];e=C[a+88>>2];C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=d;C[e+28>>2]=0;C[e+4>>2]=0;B[e+12>>1]=D[a+176|0]|((f|0)>(((g+h|0)-1&0-g)-h|0)?8:40);break f}break a}if((c|0)>=(h|0)){break c}d=C[a+40>>2];if(!C[a+92>>2]){C[a+92>>2]=d;C[a+88>>2]=d;d=d+32|0;C[a+40>>2]=d}if(F[a+36>>2]>d>>>0){g=C[a+4>>2];f=C[a+8>>2];e=C[a+88>>2];C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=d;C[e+28>>2]=0;C[e+4>>2]=0;d=D[a+176|0];B[e+12>>1]=(f|0)>(h&g-1)?d:d|16;break h}break a;case 2:break g;case 1:break i;default:break c}}d=C[a+72>>2];if((d|0)<=(c|0)){break e}f=C[a+40>>2];e=C[a+88>>2];h=C[e+8>>2];g=f-h|0;if((g|0)<0){C[a+44>>2]=99;return 1}i=C[a+4>>2]-1&d;j=C[a+8>>2];j:{if((f|0)==(h|0)){d=f;break j}C[e+16>>2]=g>>2;if((i|0)>=(j|0)){d=E[e+12>>1];B[e+12>>1]=(d&8?16:32)|d}C[a+88>>2]=f;d=f+32|0;C[a+40>>2]=d;C[f+8>>2]=d;C[f+16>>2]=0;C[e+28>>2]=f;B[a+84>>1]=E[a+84>>1]+1;e=f}g=C[a+36>>2];if(g>>>0<=d>>>0){break a}A[a+87|0]=0;k:{if(C[a+92>>2]){f=d;break k}C[a+92>>2]=d;C[a+88>>2]=d;f=d+32|0;C[a+40>>2]=f;e=d}if(f>>>0>=g>>>0){break a}C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=f;C[e+28>>2]=0;C[e+4>>2]=0;d=D[a+176|0];B[e+12>>1]=(i|0)<(j|0)?d:d|16}if(!C[a+96>>2]){C[a+96>>2]=e}A[a+86|0]=1;C[a+100>>2]=2;A[a+87|0]=0;d=C[a+72>>2];break d}d=C[a+72>>2];if((d|0)>=(c|0)){break d}f=C[a+40>>2];e=C[a+88>>2];j=C[e+8>>2];h=f-j|0;if((h|0)<0){C[a+44>>2]=99;return 1}g=C[a+4>>2];k=((g+d|0)-1&0-g)-d|0;i=C[a+8>>2];l:{if((f|0)==(j|0)){d=f;break l}C[e+16>>2]=h>>2;if((i|0)<=(k|0)){d=E[e+12>>1];B[e+12>>1]=(d&8?16:32)|d}C[a+88>>2]=f;d=f+32|0;C[a+40>>2]=d;C[f+8>>2]=d;C[f+16>>2]=0;C[e+28>>2]=f;B[a+84>>1]=E[a+84>>1]+1;e=f}g=C[a+36>>2];if(g>>>0<=d>>>0){break a}A[a+87|0]=0;m:{if(C[a+92>>2]){f=d;break m}C[a+92>>2]=d;C[a+88>>2]=d;f=d+32|0;C[a+40>>2]=f;e=d}if(f>>>0>=g>>>0){break a}C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=f;C[e+28>>2]=0;C[e+4>>2]=0;B[e+12>>1]=D[a+176|0]|((i|0)>(k|0)?8:40)}if(!C[a+96>>2]){C[a+96>>2]=e}A[a+86|0]=1;C[a+100>>2]=1;A[a+87|0]=0;d=C[a+72>>2]}f=1;if(Sw(a,C[a+68>>2],d,b,c,C[a+76>>2],C[a+80>>2])){break b}break c}e=D[a+86|0];d=Sw(a,C[a+68>>2],0-d|0,b,0-c|0,0-C[a+80>>2]|0,0-C[a+76>>2]|0);if(!(D[a+86|0]|!e)){e=C[a+88>>2];C[e+20>>2]=0-C[e+20>>2]}f=1;if(d){break b}}C[a+72>>2]=c;C[a+68>>2]=b;f=0}return f}C[a+44>>2]=98;return 1}function EJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=C[a+488>>2];i=C[b+16>>2];e=C[b+8>>2];Fe[C[b+28>>2]](b);c=3;a=C[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=D[a|0];c:{if(a-48>>>0<=9){a=Fe[C[b+36>>2]](b)|0;C[b+144>>2]=a;if(C[b+12>>2]){break a}if((a|0)<0){break b}a=C[b>>2];break c}if((a|0)!=60){break b}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}Fe[C[b+28>>2]](b);d=C[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=D[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}C[b>>2]=d;C[b+144>>2]=h;a=d;break c}h=h+1|0}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}Fe[C[b+28>>2]](b);a=C[b>>2];if(e>>>0>a>>>0){continue}break}}if(a>>>0>=e>>>0){break b}j=b+200|0;c=Fe[C[C[f>>2]>>2]](j,C[b+144>>2],i)|0;if(c){break b}k=b+148|0;c=Fe[C[C[f>>2]>>2]](k,C[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Fe[C[C[f>>2]>>2]](h,4,i)|0;if(c){break b}Fe[C[b+28>>2]](b);a=C[b>>2];if(e>>>0<=a>>>0){C[b+144>>2]=0;c=3;break b}i=0;f=0;d=0;while(1){e:{f:{c=D[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(D[a+1|0]!=110|a+3>>>0>=e>>>0|D[a+2|0]!=100){break f}switch(D[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Fe[C[b+32>>2]](b);c=3;g=C[b>>2];if(g>>>0>=e>>>0){break b}if(C[b+12>>2]){break a}if(D[a|0]==47){if(a+2>>>0>=e>>>0){break b}a=a+1|0;g=g-a|0;c=Fe[C[b+192>>2]](k,d,a,g+1|0)|0;if(c){break b}c=g;g=d<<2;A[c+C[g+C[b+172>>2]>>2]|0]=0;if(D[a|0]==46){a=Se(15690,C[g+C[b+172>>2]>>2]);i=a?i:1;f=a?f:d}Fe[C[b+28>>2]](b);a=C[b>>2];Fe[C[b+36>>2]](b)|0;c=3;l=C[b>>2];if(l>>>0>=e>>>0){break b}c=a;a=l-a|0;c=Fe[C[b+244>>2]](j,d,c,a+1|0)|0;if(c){break b}A[a+C[g+C[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=C[b+144>>2]){break e}}Fe[C[b+28>>2]](b);a=C[b>>2];if(e>>>0>a>>>0){continue}}break}C[b+144>>2]=d;if(!(i&255)){c=3;break b}a=C[C[b+172>>2]>>2];if(!Se(15690,a)){break a}c=Fe[C[b+296>>2]](h,0,a,C[C[b+176>>2]>>2])|0;if(c){break b}c=Fe[C[b+296>>2]](h,1,C[C[b+224>>2]>>2],C[C[b+228>>2]>>2])|0;if(c){break b}a=f<<2;c=Fe[C[b+296>>2]](h,2,C[a+C[b+172>>2]>>2],C[a+C[b+176>>2]>>2])|0;if(c){break b}c=Fe[C[b+296>>2]](h,3,C[a+C[b+224>>2]>>2],C[a+C[b+228>>2]>>2])|0;if(c){break b}c=Fe[C[b+192>>2]](k,f,C[C[b+276>>2]>>2],C[C[b+280>>2]>>2])|0;if(c){break b}c=Fe[C[b+244>>2]](j,f,C[C[b+276>>2]+4>>2],C[C[b+280>>2]+4>>2])|0;if(c){break b}c=Fe[C[b+192>>2]](k,0,C[C[b+276>>2]+8>>2],C[C[b+280>>2]+8>>2])|0;if(c){break b}c=Fe[C[b+244>>2]](j,0,C[C[b+276>>2]+12>>2],C[C[b+280>>2]+12>>2])|0;if(!c){break a}}C[b+12>>2]=c}}function Zg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if(!D[a+73|0]){if(b>>>0>=c>>>0){break a}k=C[a+92>>2];i=c-b|0;g=i&3;e=-1;d=b;l=(d^-1)+c|0;if(l>>>0>=3){m=i&-4;while(1){j=k+I(d,20)|0;h=C[j+8>>2];e=e>>>0>>0?e:h;h=C[j+28>>2];e=e>>>0>>0?e:h;h=C[j+48>>2];e=e>>>0>>0?e:h;j=C[j+68>>2];e=e>>>0>>0?e:j;d=d+4|0;f=f+4|0;if((m|0)!=(f|0)){continue}break}}if(g){f=0;while(1){j=C[(k+I(d,20)|0)+8>>2];e=e>>>0>>0?e:j;d=d+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}d=C[a+36>>2];if(i&1){f=k+I(b,20)|0;if(C[f+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[f+4>>2]=C[f+4>>2]|1}b=b+1|0}if(!l){break a}while(1){f=k+I(b,20)|0;if(C[f+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[f+4>>2]=C[f+4>>2]|1}f=k+I(b+1|0,20)|0;if(C[f+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[f+4>>2]=C[f+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}break a}k=C[a+96>>2];e=-1;j=C[a+84>>2];l=j>>>0<=b>>>0;b:{if(l){break b}i=j-b|0;g=i&3;d=b;if(j+(d^-1)>>>0>=3){m=i&-4;while(1){i=k+I(d,20)|0;h=C[i+8>>2];e=e>>>0>>0?e:h;h=C[i+28>>2];e=e>>>0>>0?e:h;h=C[i+48>>2];e=e>>>0>>0?e:h;i=C[i+68>>2];e=e>>>0>>0?e:i;d=d+4|0;f=f+4|0;if((m|0)!=(f|0)){continue}break}}if(!g){break b}f=0;while(1){i=C[(k+I(d,20)|0)+8>>2];e=e>>>0>>0?e:i;d=d+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}i=C[a+92>>2];f=C[a+76>>2];m=f>>>0>=c>>>0;c:{if(m){break c}h=(f^-1)+c|0;n=c-f&3;d:{if(!n){d=f;break d}g=0;d=f;while(1){o=C[(i+I(d,20)|0)+8>>2];e=e>>>0>>0?e:o;d=d+1|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(h>>>0<3){break c}while(1){g=i+I(d,20)|0;h=C[g+8>>2];e=e>>>0>>0?e:h;h=C[g+28>>2];e=e>>>0>>0?e:h;h=C[g+48>>2];e=e>>>0>>0?e:h;g=C[g+68>>2];e=e>>>0>>0?e:g;d=d+4|0;if((d|0)!=(c|0)){continue}break}}e:{if(l){break e}l=b+1|0;d=C[a+36>>2];if(j-b&1){g=k+I(b,20)|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+1|0}if((j|0)==(l|0)){break e}while(1){g=k+I(b,20)|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}g=k+I(b+1|0,20)|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(m){break a}k=f^-1;b=C[a+36>>2];if(c-f&1){d=i+I(f,20)|0;if(C[d+8>>2]!=(e|0)){b=b|16;C[a+36>>2]=b;C[d+4>>2]=C[d+4>>2]|1}f=f+1|0}if((k|0)==(0-c|0)){break a}while(1){d=i+I(f,20)|0;if(C[d+8>>2]!=(e|0)){b=b|16;C[a+36>>2]=b;C[d+4>>2]=C[d+4>>2]|1}d=i+I(f+1|0,20)|0;if(C[d+8>>2]!=(e|0)){b=b|16;C[a+36>>2]=b;C[d+4>>2]=C[d+4>>2]|1}f=f+2|0;if((f|0)!=(c|0)){continue}break}}}function MG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ce-16|0;Ce=h;if(Hf(c,b,13696,0)){e=C[a+112>>2];d=C[e>>2];a:{if(C[d+12>>2]!=1){break a}f=C[e+8>>2];if((f|0)==-1){f=C[d+8>>2];if(f){C[h+4>>2]=0;d=f;f=C[b+72>>2];f=Fe[C[f+156>>2]](b,C[b+76>>2],d,h+4|0,C[f+20>>2])|0;f=f?C[h+4>>2]:0}else{f=0}C[e+8>>2]=f}if(!f){break a}n=C[c+80>>2];if(!n){break a}o=C[c+92>>2];g=C[b+16>>2];j=h+8|0;while(1){m=I(l,20)+o|0;if(D[m+19|0]==4){d=C[m>>2];C[h+12>>2]=f;C[h+8>>2]=d;C[h+4>>2]=f;d=0;b:{c:{if(!C[e+40>>2]){break c}while(1){i=8;if(th(g,E[C[e+36>>2]+(d<<3)>>1],h+4|0,2,D[e+44|0])){break b}d=d+1|0;k=C[e+40>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break c}while(1){if(th(g,E[C[e+36>>2]+(d<<3)>>1],j,2,D[e+44|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;d:{if(!C[e+64>>2]){break d}while(1){i=8;if(th(g,E[C[e+60>>2]+(d<<3)>>1],h+4|0,2,D[e+68|0])){break b}d=d+1|0;k=C[e+64>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break d}while(1){if(th(g,E[C[e+60>>2]+(d<<3)>>1],j,2,D[e+68|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;e:{if(!C[e+52>>2]){break e}while(1){i=11;if(th(g,E[C[e+48>>2]+(d<<3)>>1],h+4|0,2,D[e+56|0])){break b}d=d+1|0;k=C[e+52>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break e}while(1){if(th(g,E[C[e+48>>2]+(d<<3)>>1],j,2,D[e+56|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;i=4;if(!C[e+28>>2]){break b}f:{while(1){if(th(g,E[C[e+24>>2]+(d<<3)>>1],h+4|0,2,D[e+32|0])){break f}d=d+1|0;k=C[e+28>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break b}while(1){if(th(g,E[C[e+24>>2]+(d<<3)>>1],j,2,D[e+32|0])){break f}d=d+1|0;if(d>>>0>2]){continue}break}break b}i=11}A[m+19|0]=i}l=l+1|0;if((n|0)!=(l|0)){continue}break}}Rl(b,c,4,12,15,15);g=C[c+80>>2];g:{if(!g){break g}f=g-1|0;e=0;d=C[c+92>>2];i=D[d+15|0];while(1){h:{if((e|0)==(f|0)){e=g;break h}e=e+1|0;if((i|0)==D[(d+I(e,20)|0)+15|0]){continue}}break}if(!g){break g}i=C[c+92>>2];j=D[i+15|0];d=0;while(1){f=e;e=C[b+16>>2];i:{j:{switch(j&15){case 0:case 1:Bs(C[a+112>>2],e,c,d,f);break i;case 2:case 4:break j;default:break i}}j=C[a+112>>2];if(D[(I(f,20)+i|0)-2|0]==12?D[j+5|0]:0){break i}Bs(j,e,c,d,f)}l=C[c+80>>2];e=f+1|0;d=e>>>0>>0?l:e;i=C[c+92>>2];j=D[(i+I(f,20)|0)+15|0];e=f;while(1){k:{e=e+1|0;if(l>>>0<=e>>>0){e=d;break k}if(D[(I(e,20)+i|0)+15|0]==(j|0)){continue}}break}d=f;if(g>>>0>d>>>0){continue}break}}Hf(c,b,13727,0)}Ce=h+16|0}function wP(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,j=0,k=0,l=0;f=C[b>>2];if(!f){return 35}d=6;a:{if(F[f+16>>2]<=c>>>0){break a}e=C[f+104>>2];k=C[f+292>>2];b=c-1|0;l=b>>>0<=c>>>0?b:0;h=k+(l<<4)|0;c=B[h+8>>1]+B[h+6>>1]|0;C[a+76>>2]=c;b=B[h>>1];d=B[h+2>>1];A[a+94|0]=1;B[a+92>>1]=1;b=d-b|0;C[a+80>>2]=b;d=3;b:{c:{switch((1<<(C[f+308>>2]&3))-1|0){case 0:b=b+7>>>3|0;break b;case 1:b=b+15>>>3&536870910;break b;case 3:b=b+31>>>3&536870908;break b;case 7:break c;default:break a}}b=b+63>>>3&536870904}C[a+84>>2]=b;b=I(b,c);d=bq(a,b);if(d){break a}d=bf(e,C[((l<<4)+k|0)+12>>2]);if(d){break a}d=jg(e,C[a+88>>2],b);if(d){break a}c=C[f+308>>2];if(!(!b|c&8)){i=b-1|0;c=C[a+88>>2];j=b&3;d:{if(!j){d=b;break d}e=0;d=b;while(1){g=D[c|0];g=g>>>4|(g&15)<<4;g=g>>>2&51|(g&51)<<2;A[c|0]=g>>>1&85|(g&85)<<1;c=c+1|0;d=d-1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(i>>>0>=3){while(1){e=D[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c|0]=e>>>1&85|(e&85)<<1;e=D[c+1|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c+1|0]=e>>>1&85|(e&85)<<1;e=D[c+2|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c+2|0]=e>>>1&85|(e&85)<<1;e=D[c+3|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;A[c+3|0]=e>>>1&85|(e&85)<<1;c=c+4|0;d=d-4|0;if(d){continue}break}}c=C[f+308>>2]}e:{if(!((c>>>2^c>>>3)&1)){break e}f:{switch((1<<(c>>>4&3))-2|0){case 0:if(b>>>0<2){break e}c=C[a+88>>2];e=b-2|0;i=(e>>>1|0)+1&3;if(i){d=0;while(1){j=D[c+1|0];A[c+1|0]=D[c|0];A[c|0]=j;c=c+2|0;b=b-2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(e>>>0<6){break e}while(1){d=D[c+1|0];A[c+1|0]=D[c|0];A[c|0]=d;d=D[c+2|0];A[c+2|0]=D[c+3|0];A[c+3|0]=d;d=D[c+4|0];A[c+4|0]=D[c+5|0];A[c+5|0]=d;d=D[c+6|0];A[c+6|0]=D[c+7|0];A[c+7|0]=d;c=c+8|0;b=b-8|0;if(b>>>0>1){continue}break};break e;case 2:break f;default:break e}}if(b>>>0<4){break e}c=C[a+88>>2];d=b-4|0;if(!(d&4)){b=D[c+3|0];A[c+3|0]=D[c|0];A[c|0]=b;b=D[c+1|0];A[c+1|0]=D[c+2|0];A[c+2|0]=b;c=c+4|0;b=d}if(d>>>0<4){break e}while(1){d=D[c+3|0];A[c+3|0]=D[c|0];A[c|0]=d;d=D[c+1|0];A[c+1|0]=D[c+2|0];A[c+2|0]=d;d=D[c+4|0];A[c+4|0]=D[c+7|0];A[c+7|0]=d;d=D[c+5|0];A[c+5|0]=D[c+6|0];A[c+6|0]=d;c=c+8|0;b=b-8|0;if(b>>>0>3){continue}break}}C[a+72>>2]=1651078259;b=B[h>>1];C[a+100>>2]=b;c=B[h+6>>1];C[a+104>>2]=c;d=B[((l<<4)+k|0)+4>>1];C[a+36>>2]=c<<6;C[a+32>>2]=b<<6;C[a+40>>2]=d<<6;c=B[h+2>>1];C[a+28>>2]=C[a+76>>2]<<6;C[a+24>>2]=c-b<<6;ik(a+24|0,C[f+208>>2]+C[f+204>>2]<<6);d=0}return d|0}function xC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=C[a+36>>2];c=C[a+20>>2];k=C[a+16>>2];b=C[a>>2];g=C[a+28>>2];f=C[a+24>>2];e=D[C[a+40>>2]+9|0];a:{h=C[a+44>>2];if(!C[h+24>>2]){if(!g){break a}d=D[h+9|0];i=f&7;h=(f+7|0)/8|0;b:while(1){g=g-1|0;f=h;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=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=D[b|0]|D[b+1|0]<<8;A[c+2|0]=D[b+2|0];A[c|0]=a;A[c+1|0]=a>>>8;a=f-1|0;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=a;break f}c=c+j|0;b=b+k|0;if(g){continue b}break a}a=0;continue}}}if(!g){break a}d=D[a+63|0]<>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=1;continue;case 1:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=2;continue;case 2:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=3;continue;case 3:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=4;continue;case 4:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=5;continue;case 5:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=6;continue;case 6:C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);b=b+e|0;c=c+4|0;a=7;continue;default:break j}}C[c>>2]=d|(D[b|0]|D[b+1|0]<<8|D[b+2|0]<<16);a=f-1|0;b=b+e|0;c=c+4|0;k:{if((f|0)>1){f=a;break k}c=c+j|0;b=b+k|0;if(g){continue g}break a}a=0;continue}}}}function xp(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;C[a+4>>2]=c;C[a>>2]=b;C[a+396>>2]=C[c+116>>2];C[a+400>>2]=C[c+120>>2];C[a+408>>2]=C[c+128>>2];C[a+412>>2]=C[c+132>>2];C[a+404>>2]=C[c+124>>2];C[a+416>>2]=C[c+136>>2];d=C[c+108>>2];C[a+276>>2]=C[c+104>>2];C[a+280>>2]=d;d=C[c+100>>2];C[a+268>>2]=C[c+96>>2];C[a+272>>2]=d;d=C[c+92>>2];C[a+260>>2]=C[c+88>>2];C[a+264>>2]=d;d=C[c+84>>2];C[a+252>>2]=C[c+80>>2];C[a+256>>2]=d;d=C[c+76>>2];C[a+244>>2]=C[c+72>>2];C[a+248>>2]=d;d=C[c+48>>2];C[a+216>>2]=C[c+44>>2];C[a+220>>2]=d;d=C[c+56>>2];C[a+224>>2]=C[c+52>>2];C[a+228>>2]=d;d=C[c+64>>2];C[a+232>>2]=C[c+60>>2];C[a+236>>2]=d;C[a+240>>2]=C[c+68>>2];C[a+420>>2]=C[c+140>>2];C[a+424>>2]=C[c+144>>2];d=C[c+152>>2];C[a+444>>2]=C[c+148>>2];C[a+448>>2]=d;d=C[c+160>>2];C[a+452>>2]=C[c+156>>2];C[a+456>>2]=d;d=C[c+168>>2];C[a+460>>2]=C[c+164>>2];C[a+464>>2]=d;t(a+284|0,c+172|0,68);C[a+380>>2]=C[c+240>>2];C[a+384>>2]=C[c+244>>2];B[a+468>>1]=E[c+248>>1];C[a+472>>2]=C[c+252>>2];d=C[c+260>>2];C[a+180>>2]=C[c+256>>2];C[a+184>>2]=d;d=C[c+268>>2];C[a+188>>2]=C[c+264>>2];C[a+192>>2]=d;d=C[c+276>>2];C[a+196>>2]=C[c+272>>2];C[a+200>>2]=d;d=C[c+284>>2];C[a+204>>2]=C[c+280>>2];C[a+208>>2]=d;C[a+212>>2]=C[c+288>>2];p(a+36|0,0,108);e=C[a+8>>2];a:{b:{c:{c=E[b+284>>1]+32|0;d=C[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}g=a,h=Ve(e,1,d<<2,c<<2,C[a+24>>2],f+8|0),C[g+24>>2]=h;e=C[f+8>>2];if(e){break c}e=C[a+8>>2]}C[a+20>>2]=c;b=E[b+286>>1];c=C[a+388>>2];if(b>>>0<=c>>>0){b=c;break b}g=a,h=Ve(e,1,c,b,C[a+392>>2],f+12|0),C[g+392>>2]=h;e=C[f+12>>2];if(!e){break b}C[a+388>>2]=c&65535;break a}C[a+20>>2]=d;break a}e=0;C[a+152>>2]=0;C[a+388>>2]=b&65535;C[a+104>>2]=C[a+176>>2];b=C[a+172>>2];C[a+96>>2]=C[a+168>>2];C[a+100>>2]=b;b=C[a+164>>2];C[a+88>>2]=C[a+160>>2];C[a+92>>2]=b;b=C[a+148>>2];C[a+72>>2]=C[a+144>>2];C[a+76>>2]=b;b=C[a+156>>2];C[a+80>>2]=C[a+152>>2];C[a+84>>2]=b;C[a+140>>2]=C[a+176>>2];b=C[a+172>>2];C[a+132>>2]=C[a+168>>2];C[a+136>>2]=b;b=C[a+164>>2];C[a+124>>2]=C[a+160>>2];C[a+128>>2]=b;b=C[a+156>>2];C[a+116>>2]=C[a+152>>2];C[a+120>>2]=b;b=C[a+148>>2];C[a+108>>2]=C[a+144>>2];C[a+112>>2]=b;C[a+68>>2]=C[a+176>>2];b=C[a+172>>2];C[a+60>>2]=C[a+168>>2];C[a+64>>2]=b;b=C[a+164>>2];C[a+52>>2]=C[a+160>>2];C[a+56>>2]=b;b=C[a+156>>2];C[a+44>>2]=C[a+152>>2];C[a+48>>2]=b;b=C[a+148>>2];C[a+36>>2]=C[a+144>>2];C[a+40>>2]=b;A[a+488|0]=0}Ce=f+16|0;return e}function Jw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0;c=Ce+-64|0;Ce=c;d=C[a+24>>2];e=d-4|0;if(d>>>0<=3){A[a+20|0]=1}g=C[a+32>>2];a:{if(g>>>0<=e>>>0){e=C[21153];h=C[21152];C[104428]=h;C[104429]=e;l(0,h|0);l(1,e|0);m=+n();break a}m=H[C[a+36>>2]+(e<<3)>>3]}if(d>>>0<=2){A[a+20|0]=1}e=d-3|0;b:{if(e>>>0>=g>>>0){e=C[21153];h=C[21152];C[104428]=h;C[104429]=e;l(0,h|0);l(1,e|0);o=+n();break b}o=H[C[a+36>>2]+(e<<3)>>3]}h=C[b+40>>2];if(d>>>0<=1){A[a+20|0]=1}e=d-2|0;c:{if(e>>>0>=g>>>0){e=C[21153];g=C[21152];C[104428]=g;C[104429]=e;l(0,g|0);l(1,e|0);f=+n();break c}f=H[C[a+36>>2]+(e<<3)>>3]}d:{if(K(f)<2147483648){e=~~f;break d}e=-2147483648}g=0;e:{if(e>>>0<=255){g=D[e+37120|0];p=C[h+52>>2];if((p|0)!=84608){g=jo(p,g,C[h+216>>2]);h=C[b+40>>2];e=C[a+24>>2];break e}g=e>>>0<229?C[h+172>>2]?0:g:0}e=d}d=d-1|0;if(e>>>0<=d>>>0){A[a+20|0]=1}f:{g:{h:{if(d>>>0>=F[a+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);f=+n();break h}f=H[C[a+36>>2]+(d<<3)>>3]}i:{if(K(f)<2147483648){d=~~f;break i}d=-2147483648}if(d>>>0>=256){break g}e=D[d+37120|0];p=C[h+52>>2];j:{if((p|0)!=84608){d=jo(p,e,C[h+216>>2]);break j}d=d>>>0<229?C[h+172>>2]?0:e:0}if(!d|!g|D[a+160|0]){break g}if(!Gp(C[b+40>>2],g,c+32|0,1)){break g}if(!Gp(C[b+40>>2],d,c,1)){break g}a=b+8|0;k:{l:{q=H[b+24>>3];r=H[b+8>>3];if(q>r){s=H[b+32>>3];t=H[b+16>>3];if(s>t){break l}}d=C[c+36>>2];C[a>>2]=C[c+32>>2];C[a+4>>2]=d;d=C[c+60>>2];C[a+24>>2]=C[c+56>>2];C[a+28>>2]=d;d=C[c+52>>2];C[a+16>>2]=C[c+48>>2];C[a+20>>2]=d;d=C[c+44>>2];C[a+8>>2]=C[c+40>>2];C[a+12>>2]=d;break k}f=H[c+48>>3];i=H[c+32>>3];if(!(f>i)){break k}j=H[c+56>>3];k=H[c+40>>3];if(!(j>k)){break k}if(i>3]=i}if(f>q){H[b+24>>3]=f}if(k>3]=k}if(!(j>s)){break k}H[b+32>>3]=j}j=H[c+16>>3];k=H[c>>3];f=H[c+24>>3];i=H[c+8>>3];if(!(!(j>k)|!(f>i))){f=o+f;H[c+24>>3]=f;j=m+j;H[c+16>>3]=j;i=o+i;H[c+8>>3]=i;k=m+k;H[c>>3]=k}m:{m=H[b+24>>3];o=H[b+8>>3];if(m>o){q=H[b+32>>3];r=H[b+16>>3];if(q>r){break m}}b=C[c+4>>2];C[a>>2]=C[c>>2];C[a+4>>2]=b;b=C[c+28>>2];C[a+24>>2]=C[c+24>>2];C[a+28>>2]=b;b=C[c+20>>2];C[a+16>>2]=C[c+16>>2];C[a+20>>2]=b;b=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=b;break f}if(!(j>k)|!(f>i)){break f}if(k>3]=k}if(j>m){H[b+24>>3]=j}if(i>3]=i}if(!(f>q)){break f}H[b+32>>3]=f;break f}A[a+40|0]=1}Ce=c- -64|0}function ap(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ce-48|0;Ce=j;a:{b:{if(f){break b}h=-128;f=(Lg(a,j+32|0,65536,0)|0)==-128;g=Ee;if(f&(g|0)==-1){break a}f=j+32|0;if((g|0)>0|(g|0)>=0){break b}h=-132;break a}C[b>>2]=0;C[b+4>>2]=0;C[b+24>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;m=b,n=df(1,3664),C[m+28>>2]=n;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[a+88>>2]=2;c:{d:{if(!(D[C[f>>2]+5|0]&2)){break d}i=a+120|0;while(1){if(d){h=C[f>>2];k=D[h+14|0]|D[h+15|0]<<8|(D[h+16|0]<<16|D[h+17|0]<<24);e:{h=C[d>>2];g=C[e>>2];if(!h|!g){break e}while(1){if((k|0)!=C[h>>2]){h=h+4|0;g=g-1|0;if(g){continue}break e}break}f=C[d>>2];if(f){Re(f)}C[d>>2]=0;C[e>>2]=0;d=-133;break c}g=C[f>>2];k=D[g+14|0]|D[g+15|0]<<8|(D[g+16|0]<<16|D[g+17|0]<<24);g=C[e>>2];h=g+1|0;C[e>>2]=h;l=C[d>>2];f:{if(l){h=lf(l,h<<2);g=C[e>>2]-1|0;break f}h=kf(4)}C[d>>2]=h;C[(g<<2)+h>>2]=k}g:{if(C[a+88>>2]>2){break g}g=C[f>>2];Pi(i,D[g+14|0]|D[g+15|0]<<8|(D[g+16|0]<<16|D[g+17|0]<<24));Th(i,f);if((vh(i,j)|0)<=0){break g}h=0;g=Ce-32|0;Ce=g;h:{if(!j){break h}k=C[j+4>>2];l=C[j>>2];C[g+24>>2]=l;C[g+12>>2]=0;C[g+16>>2]=0;C[g+28>>2]=k;C[g+20>>2]=l;if(!C[j+8>>2]){break h}if((Ye(g+12|0,8)|0)!=1){break h}m=g,n=Ye(g+12|0,8),A[m+6|0]=n;m=g,n=Ye(g+12|0,8),A[m+7|0]=n;m=g,n=Ye(g+12|0,8),A[m+8|0]=n;m=g,n=Ye(g+12|0,8),A[m+9|0]=n;m=g,n=Ye(g+12|0,8),A[m+10|0]=n;m=g,n=Ye(g+12|0,8),A[m+11|0]=n;h=!Jg(g+6|0,7354,6)}Ce=g+32|0;if(!h){break g}C[a+88>>2]=3;if(!Ov(b,c,j)){break g}d=-133;break c}g=(Lg(a,f,65536,0)|0)==-128;h=Ee;if(g&(h|0)==-1){d=-128;break c}if((h|0)<0){d=-132;break c}i:{if(C[a+88>>2]!=3){break i}g=C[f>>2];if(C[a+456>>2]!=(D[g+14|0]|D[g+15|0]<<8|(D[g+16|0]<<16|D[g+17|0]<<24))){break i}Th(i,f);break d}if(D[C[f>>2]+5|0]&2){continue}break}}d=-132;if(C[a+88>>2]!=3){break c}k=a+120|0;e=0;g=0;while(1){d=-133;j:{switch(vh(k,j)+1|0){default:d=Ov(b,c,j);if(d){break c}h=0;e=e+1|0;if((e|0)!=2){continue}break a;case 1:break j;case 0:break c}}h=0;if((e|0)>1){break a}Lg(a,f,65536,0);if((Ee|0)<0){break c}while(1){i=C[f>>2];if(C[a+456>>2]!=(D[i+14|0]|D[i+15|0]<<8|(D[i+16|0]<<16|D[i+17|0]<<24))){k:{if(!(D[C[f>>2]+5|0]&2)){i=g;break k}i=1;if(g){break c}}g=i;Lg(a,f,65536,0);i=Ee;if((i|0)>0|(i|0)>=0){continue}break c}break}Th(k,f);if((e|0)<2){continue}break}break a}Qk(b);vm(c);C[a+88>>2]=2;h=d}Ce=j+48|0;return h}function sm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=D[b|0]|D[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0<=c>>>0){C[a+8>>2]=C[21154];b=C[21153];C[a>>2]=C[21152];C[a+4>>2]=b;return}k=b+3|0;f=D[b+2|0];m=k+I(f,l+1|0)|0;d=0;a:{if(!f){break a}d=0;b=k+I(c,f)|0;g=b;if(f>>>0>=4){i=f&252;while(1){e=g;g=e+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}e=f&3;if(e){while(1){h=D[g|0]|h<<8;g=g+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;g=k+I(f,c+1|0)|0;d=g;if(f>>>0>=4){j=f&252;while(1){c=d;d=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}j=0;i=0;d=b;if(f>>>0>=4){n=f&252;while(1){c=d;d=c+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){i=D[d|0]|i<<8;d=d+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}m=h+m|0;d=0;if(e>>>0>>0){break a}e=0;h=0;d=g;if(f>>>0>=4){i=f&252;while(1){c=d;d=c+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){h=D[d|0]|h<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}j=f&3;d=k+I(f,l)|0;i=0;if(f>>>0<4){e=0}else{k=f&252;e=0;while(1){c=d;d=c+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(j){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}e=f&3;h=0;if(f>>>0<4){d=0}else{i=f&252;d=0;while(1){c=g;g=c+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){d=D[g|0]|d<<8;g=g+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}e=f&3;h=0;if(f>>>0<4){g=0}else{f=f&252;g=0;while(1){c=b;b=c+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){g=D[b|0]|g<<8;b=b+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}d=d-g|0}C[a+8>>2]=0;C[a+4>>2]=d;C[a>>2]=m-1}function uu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=D[b|0]|D[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0>c>>>0){k=b+3|0;f=D[b+2|0];m=k+I(f,l+1|0)|0;d=0;a:{if(!f){break a}d=0;b=k+I(c,f)|0;g=b;if(f>>>0>=4){i=f&252;while(1){e=g;g=e+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}e=f&3;if(e){while(1){h=D[g|0]|h<<8;g=g+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;g=k+I(f,c+1|0)|0;d=g;if(f>>>0>=4){j=f&252;while(1){c=d;d=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}j=0;i=0;d=b;if(f>>>0>=4){n=f&252;while(1){c=d;d=c+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){i=D[d|0]|i<<8;d=d+1|0;j=j+1|0;if((c|0)!=(j|0)){continue}break}}m=h+m|0;d=0;if(e>>>0>>0){break a}e=0;h=0;d=g;if(f>>>0>=4){i=f&252;while(1){c=d;d=c+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}c=f&3;if(c){while(1){h=D[d|0]|h<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}j=f&3;d=k+I(f,l)|0;i=0;if(f>>>0<4){e=0}else{k=f&252;e=0;while(1){c=d;d=c+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(j){while(1){e=D[d|0]|e<<8;d=d+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}e=f&3;h=0;if(f>>>0<4){d=0}else{i=f&252;d=0;while(1){c=g;g=c+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){d=D[g|0]|d<<8;g=g+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}e=f&3;h=0;if(f>>>0<4){g=0}else{f=f&252;g=0;while(1){c=b;b=c+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(e){while(1){g=D[b|0]|g<<8;b=b+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}d=d-g|0}C[a+8>>2]=0;C[a+4>>2]=d;C[a>>2]=m-1;return}C[a+8>>2]=C[21154];b=C[21153];C[a>>2]=C[21152];C[a+4>>2]=b}function Bq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{h:{d=D[a|0]|D[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 13:break c;case 12:break d;case 10:break e;case 6:break f;case 4:break g;case 0:break h;default:break b}}if(b>>>0>255){break b}a=D[(a+b|0)+6|0];if(!a){break b}C[c>>2]=a;return 1}d=0;e=D[a+6|0]|D[a+7|0]<<8;f=e<<8|e>>>8;e=f&65535;i:{if(e>>>0<2){break i}d=D[a+2|0]|D[a+3|0]<<8;e=e>>>1|0;i=(((d<<8|d>>>8)&65535)-(e<<3)|0)-16>>>1|0;j=a+14|0;a=f&65534;k=(j+a|0)+2|0;l=k+a|0;m=l+a|0;o=m+a|0;d=e-1|0;a=0;p=e+1<<1;j:{while(1){g=a+d|0;f=g>>>1|0;g=g&-2;h=g+j|0;n=D[h|0]|D[h+1|0]<<8;k:{if(((n<<8|n>>>8)&65535)>>>0>=b>>>0){d=h+p|0;d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break j}d=f-1|0;break k}a=f+1|0}if((a|0)<=(d|0)){continue}break}d=0;break i}a=g>>1;d=g+m|0;f=D[d|0]|D[d+1|0]<<8;if(f){d=0;e=a+(b-e|0)+(((f<<8|f>>>8)&65534)>>>1)|0;b=(a<<1)+k|0;b=D[b|0]|D[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=i>>>0){break i}b=(b<<1)+o|0;b=D[b|0]|D[b+1|0]<<8;if(!b){break i}b=(b<<8|b>>>8)&65535}d=0;a=(a<<1)+l|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break i}C[c>>2]=a;d=1}return d}d=b;b=D[a+6|0]|D[a+7|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;d=((b<<1)+a|0)+10|0;a=D[a+8|0]|D[a+9|0]<<8;a=b>>>0>=((a<<8|a>>>8)&65535)>>>0?84608:d;a=D[a|0]|D[a+1|0]<<8;if(!a){break b}break a}d=b;b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);b=d-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;d=((b<<1)+a|0)+20|0;a=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a=b>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0?84608:d;a=D[a|0]|D[a+1|0]<<8;if(!a){break b}break a}return Jz(a,b,c)}f=85004;d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);l:{if((d|0)<=0){break l}i=a+16|0;a=d-1|0;d=0;while(1){g=a+d>>>1|0;e=i+I(g,12)|0;h=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);m:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){d=g+1|0;break m}f=i+I(g,12)|0;break l}a=g-1|0}if((a|0)>=(d|0)){continue}break}}a=D[f+8|0]|D[f+9|0]<<8|(D[f+10|0]<<16|D[f+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a){C[c>>2]=a}e=(a|0)!=0}return e}C[c>>2]=(a<<8|a>>>8)&65535;return 1}function aJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,J=0,K=0,L=0,M=0;a:{if((e|0)<=0){break a}f=e&1;b:{if((e|0)==1){e=0;break b}j=e&-2;e=0;while(1){i=e<<2;if(C[i+d>>2]){C[(g<<2)+c>>2]=C[c+i>>2];g=g+1|0}i=(e|1)<<2;if(C[i+d>>2]){C[(g<<2)+c>>2]=C[c+i>>2];g=g+1|0}e=e+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}c:{if(!f){break c}u=d;d=e<<2;if(!C[u+d>>2]){break c}C[(g<<2)+c>>2]=C[c+d>>2];g=g+1|0}if(!g){break a}d=Ce;B=d;i=C[b>>2];e=C[i+4>>2];f=C[a+36>>2]>>1;e=((e|0)<(f|0)?e:f)-C[i>>2]|0;d:{if((e|0)<=0){break d}r=C[C[b+16>>2]>>2];v=C[i+8>>2];m=(e|0)/(v|0)|0;s=d-((g<<2)+15&-16)|0;Ce=s;if((g|0)>0){e=((m+r|0)-1|0)/(r|0)<<2;d=0;while(1){L=(d<<2)+s|0,M=rg(a,e),C[L>>2]=M;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=C[b+8>>2];if((d|0)<=0){break d}x=a+4|0;D=(m|0)<=0;while(1){if(!D){a=0;y=(g|0)<=0;E=y|(n|0)!=0;F=1<>2],x);if((e|0)==-1|(e|0)>=C[i+16>>2]){break d}e=C[C[b+28>>2]+(e<<2)>>2];C[C[(d<<2)+s>>2]+(l<<2)>>2]=e;if(!e){break d}d=d+1|0;if((g|0)!=(d|0)){continue}break}}e:{if((r|0)<=0){break e}t=0;if((a|0)>=(m|0)){break e}while(1){if(!y){H=I(a,v);d=0;while(1){f=d<<2;e=C[C[C[f+s>>2]+(l<<2)>>2]+(t<<2)>>2]<<2;f:{if(!(C[(e+i|0)+24>>2]&F)){break f}e=C[C[e+C[b+20>>2]>>2]+(n<<2)>>2];if(!e){break f}w=C[c+f>>2]+(C[i>>2]+H<<2)|0;f=Ce;u=f;h=0;g:{if(C[e+8>>2]<=0){break g}o=C[e>>2];j=(v|0)/(o|0)|0;p=f-((j<<2)+15&-16)|0;Ce=p;if((j|0)>0){f=0;while(1){k=dk(e,x);h=-1;if((k|0)==-1){break g}o=C[e>>2];C[(f<<2)+p>>2]=C[e+16>>2]+(I(k,o)<<2);f=f+1|0;if((j|0)!=(f|0)){continue}break}}h=0;if((o|0)<=0){break g}J=j&-2;K=j&1;f=0;h=0;while(1){h:{if((j|0)<=0){break h}e=0;k=0;if((j|0)!=1){while(1){q=(e+f<<2)+w|0;z=h<<2;G[q>>2]=G[z+C[(e<<2)+p>>2]>>2]+G[q>>2];q=e|1;A=(q+f<<2)+w|0;G[A>>2]=G[C[(q<<2)+p>>2]+z>>2]+G[A>>2];e=e+2|0;k=k+2|0;if((J|0)!=(k|0)){continue}break}}if(!K){break h}k=(e+f<<2)+w|0;G[k>>2]=G[C[(e<<2)+p>>2]+(h<<2)>>2]+G[k>>2]}f=f+j|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}h=0}Ce=u;if((h|0)==-1){break d}}d=d+1|0;if((g|0)!=(d|0)){continue}break}}a=a+1|0;t=t+1|0;if((t|0)>=(r|0)){break e}if((a|0)<(m|0)){continue}break}}l=l+1|0;if((a|0)<(m|0)){continue}break}d=C[b+8>>2]}n=n+1|0;if((n|0)<(d|0)){continue}break}}Ce=B}return 0}function NH(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,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;m=Ce-16|0;Ce=m;c=bj(C[a+772>>2],b,c);a:{if(c){break a}b:{if(!C[a+8>>2]){C[d>>2]=1;break b}C[m+12>>2]=C[a+768>>2];c=-1;t=C[a+776>>2];f=C[a+780>>2];p=m+12|0;k=Ce-16|0;Ce=k;b=-131;d=a+16|0;e=C[d+88>>2];c:{if((e|0)<2){break c}h=d+480|0;d:{while(1){if((e|0)==4){b=Rk(h,k+12|0);if(b){break d}}b=Iv(d);if((b|0)!=-2){if((b|0)<=0){break c}e=C[d+88>>2];continue}break}b=0;break c}if((b|0)<=0){break c}e:{if(C[d+4>>2]){e=C[d+72>>2];if(C[d+88>>2]<3){break e}e=e+(C[d+96>>2]<<5)|0;break e}e=C[d+72>>2]}j=C[e+4>>2];q=j<<1;f=(f|0)/(q|0)|0;f=(b|0)<(f|0)?b:f;b=-131;if((f|0)<=0){break c}if((j|0)>0){u=f&-2;v=f&1;w=C[k+12>>2];while(1){b=(l<<1)+t|0;n=C[(l<<2)+w>>2];e=0;o=0;if((f|0)!=1){while(1){r=e<<2;i=O(+J(G[r+n>>2]*J(32768))+.5);f:{if(K(i)<2147483648){g=~~i;break f}g=-2147483648}g=(g|0)<=-32768?-32768:g;B[b>>1]=(g|0)>=32767?32767:g;g=j<<1;s=g+b|0;i=O(+J(G[(r|4)+n>>2]*J(32768))+.5);g:{if(K(i)<2147483648){b=~~i;break g}b=-2147483648}b=(b|0)<=-32768?-32768:b;B[s>>1]=(b|0)>=32767?32767:b;b=g+s|0;e=e+2|0;o=o+2|0;if((u|0)!=(o|0)){continue}break}}if(v){g=b;i=O(+J(G[(e<<2)+n>>2]*J(32768))+.5);h:{if(K(i)<2147483648){e=~~i;break h}e=-2147483648}b=(e|0)<=-32768?-32768:e;B[g>>1]=(b|0)>=32767?32767:b}l=l+1|0;if((j|0)!=(l|0)){continue}break}}b=f+C[h+24>>2]|0;if(!((b|0)>C[h+20>>2]?f:0)){C[h+24>>2]=b}b=f<>2]+28>>2]+3656>>2];h=b;e=b+C[d+80>>2]|0;b=C[d+84>>2]+(b>>31)|0;C[d+80>>2]=e;C[d+84>>2]=e>>>0>>0?b+1|0:b;if(p){C[p>>2]=C[d+96>>2]}b=I(f,q)}Ce=k+16|0;if((b|0)<0){Zl(20994,b);break a}i:{c=C[m+12>>2];if((c|0)==C[a+768>>2]){break i}C[a+768>>2]=c;if((Wt(a)|0)>=0){break i}c=-1;break a}if(C[d+88>>2]>=2){e=C[d+84>>2];f=C[d+80>>2]}else{e=-1;f=-131}j:{k:{if(C[a+784>>2]!=1){break k}h=C[a+800>>2];j=C[a+804>>2];c=j;if(f>>>0>>0&(e|0)<=(c|0)|(c|0)>(e|0)){break k}k=C[a+816>>2];l=C[a+820>>2];c=-1;d=Jv(d,C[a+792>>2],C[a+796>>2]);if((d|0)<0){Zl(14022,d);break a}b=(mT(k,l,h-f|0,j-(e+(f>>>0>h>>>0)|0)|0)<<1)+b|0;if((b|0)<=0){break b}break j}if(b){break j}b=C[a+8>>2];if((b|0)==1){C[a+8>>2]=0;js(C[a+772>>2]);break b}c=-1;if((Kt(a,(b|0)<=0?-1:b-1|0)|0)<0){break a}break b}if((Lj(C[a+772>>2],C[a+776>>2],b)|0)>=0){break b}c=-1;break a}c=0}Ce=m+16|0;return c|0}function fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{switch(a-18|0){default:h:{switch(a-261|0){case 0:case 2:break d;case 1:break f;default:break h}}if((a|0)!=294){break f}f=b+24|0;d=C[f>>2];i:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n();break i}g=H[C[b+36>>2]+(d<<3)>>3];break i}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n()}j:{if(K(g)<2147483648){d=~~g;break j}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+28>>2]=d;break c;case 0:f=b+24|0;d=C[f>>2];k:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[21153];h=C[21152];C[104428]=h;C[104429]=d;l(0,h|0);l(1,d|0);g=+n();break k}g=H[C[b+36>>2]+(e<<3)>>3];break k}A[b+20|0]=1;d=C[21153];h=C[21152];C[104428]=h;C[104429]=d;l(0,h|0);l(1,d|0);g=+n()}l:{if(K(g)<2147483648){d=~~g;break l}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;m:{if(e){d=e-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n();break m}g=H[C[b+36>>2]+(d<<3)>>3];break m}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n()}n:{if(K(g)<2147483648){d=~~g;break n}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+20>>2]=d;break c;case 11:Hk(b+20|0,b);break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break f;case 12:break g}}g=Gk(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=g;break e}A[b+20|0]=1;d=C[21153];C[104428]=C[21152];C[104429]=d;H[52214]=g;break e}Sj(a,b)}if(!C[b+24>>2]){break b}break a}f=b+24|0}C[f>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}o:{p:{q:{d=C[c+4>>2];if((d|0)>=0){f=C[c+8>>2];e=f+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break p}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=268435454){f=lf(C[c+12>>2],d<<4);if(f){break q}}C[c+4>>2]=-1}d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;i=417712;break o}C[c+4>>2]=d;C[c+12>>2]=f;f=C[c+8>>2]}if(e>>>0>f>>>0){We(C[c+12>>2]+(f<<4)|0,0,e-f<<4)}C[c+8>>2]=e;i=(C[c+12>>2]+(e<<4)|0)-16|0}d=i;C[d>>2]=a;e=C[b+12>>2];f=C[b+4>>2];h=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+h;d=f-a|0;d=d>>>0<=f>>>0?d:0;a=e-a|0;C[i+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}}function lw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=C[C[a+8>>2]+140>>2];if((e|0)>0){t(C[a+136>>2],C[a+140>>2],E[a+132>>1]<<3)}t(C[a+160>>2]+284|0,C[a+4>>2]+172|0,68);a:{if(b){c=C[a+160>>2];C[c+220>>2]=65536;C[c+224>>2]=65536;t(C[a+144>>2],C[a+140>>2],E[a+132>>1]<<3);break a}c=C[a+160>>2];d=C[a+4>>2];C[c+220>>2]=C[d+48>>2];C[c+224>>2]=C[d+52>>2]}c=C[a+140>>2];d=E[a+132>>1];i=d-4|0;f=c+(i<<3)|0;C[f>>2]=C[f>>2]+32&-64;f=d-3|0;g=(f<<3)+c|0;C[g>>2]=C[g>>2]+32&-64;g=d-2|0;h=(g<<3)+c|0;C[h+4>>2]=C[h+4>>2]+32&-64;d=d-1|0;h=(d<<3)+c|0;C[h+4>>2]=C[h+4>>2]+32&-64;b:{if((e|0)>0){d=C[C[a+12>>2]- -64>>2];c=C[a+160>>2];A[c+560|0]=b;C[c+464>>2]=e;C[c+460>>2]=C[c+392>>2];b=C[a+128>>2];C[c+144>>2]=C[a+124>>2];C[c+148>>2]=b;b=C[a+136>>2];C[c+152>>2]=C[a+132>>2];C[c+156>>2]=b;b=C[a+144>>2];C[c+160>>2]=C[a+140>>2];C[c+164>>2]=b;b=C[a+152>>2];C[c+168>>2]=C[a+148>>2];C[c+172>>2]=b;C[c+176>>2]=C[a+156>>2];b=C[a+160>>2];C[b+360>>2]=0;C[b+352>>2]=3;c=C[b+148>>2];C[b+36>>2]=C[b+144>>2];C[b+40>>2]=c;C[b+364>>2]=C[b+464>>2];c=C[b+156>>2];C[b+44>>2]=C[b+152>>2];C[b+48>>2]=c;c=C[b+164>>2];C[b+52>>2]=C[b+160>>2];C[b+56>>2]=c;c=C[b+172>>2];C[b+60>>2]=C[b+168>>2];C[b+64>>2]=c;C[b+68>>2]=C[b+176>>2];C[b+356>>2]=C[b+460>>2];c=C[b+148>>2];C[b+72>>2]=C[b+144>>2];C[b+76>>2]=c;c=C[b+156>>2];C[b+80>>2]=C[b+152>>2];C[b+84>>2]=c;c=C[b+164>>2];C[b+88>>2]=C[b+160>>2];C[b+92>>2]=c;c=C[b+172>>2];C[b+96>>2]=C[b+168>>2];C[b+100>>2]=c;C[b+104>>2]=C[b+176>>2];C[b+140>>2]=C[b+176>>2];c=C[b+172>>2];C[b+132>>2]=C[b+168>>2];C[b+136>>2]=c;c=C[b+164>>2];C[b+124>>2]=C[b+160>>2];C[b+128>>2]=c;c=C[b+156>>2];C[b+116>>2]=C[b+152>>2];C[b+120>>2]=c;c=C[b+148>>2];C[b+108>>2]=C[b+144>>2];C[b+112>>2]=c;B[b+348>>1]=1;C[b+344>>2]=65537;B[b+294>>1]=16384;B[b+296>>1]=0;B[b+298>>1]=16384;B[b+300>>1]=0;C[b+312>>2]=1;B[b+290>>1]=16384;B[b+292>>1]=0;C[b+304>>2]=1;C[b+428>>2]=0;C[b+16>>2]=0;c=Fe[C[C[b>>2]+652>>2]](b)|0;b=C[a+160>>2];if(D[b+561|0]?c:0){break b}A[d|0]=D[d|0]|D[b+340|0]<<5|4;b=E[a+132>>1];d=b-1|0;g=b-2|0;f=b-3|0;i=b-4|0;c=C[a+140>>2]}b=(i<<3)+c|0;e=C[b+4>>2];C[a+68>>2]=C[b>>2];C[a+72>>2]=e;b=(f<<3)+c|0;e=C[b+4>>2];C[a+76>>2]=C[b>>2];C[a+80>>2]=e;b=(g<<3)+c|0;e=C[b+4>>2];C[a+184>>2]=C[b>>2];C[a+188>>2]=e;b=(d<<3)+c|0;c=C[b+4>>2];C[a+192>>2]=C[b>>2];C[a+196>>2]=c;c=0}return c}function Pk(a,b,c,d){var e=0,f=0;if(!(!a|!b)){f=C[b+136>>2];a:{if(!f|!(C[b+244>>2]&c&16384)){break a}if((d|0)==-1){if(C[b+128>>2]>0){while(1){nf(a,C[(C[b+136>>2]+I(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}f=C[b+136>>2]}nf(a,f);C[b+128>>2]=0;C[b+132>>2]=0;C[b+136>>2]=0;break a}e=f;f=I(d,28);nf(a,C[(e+f|0)+4>>2]);C[(f+C[b+136>>2]|0)+4>>2]=0}e=C[b+244>>2];if(e&c&8192){C[b+8>>2]=C[b+8>>2]&-17;nf(a,C[b+156>>2]);B[b+22>>1]=0;C[b+156>>2]=0;e=C[b+244>>2]}if(c&e&256){nf(a,C[b+268>>2]);nf(a,C[b+272>>2]);C[b+268>>2]=0;C[b+272>>2]=0;C[b+8>>2]=C[b+8>>2]&-16385;e=C[b+244>>2]}if(c&e&128){nf(a,C[b+220>>2]);nf(a,C[b+232>>2]);e=0;C[b+232>>2]=0;C[b+220>>2]=0;f=C[b+236>>2];if(f){if(D[b+241|0]){while(1){nf(a,C[C[b+236>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}nf(a,f);C[b+236>>2]=0}C[b+8>>2]=C[b+8>>2]&-1025;e=C[b+244>>2]}if(e&c&16){nf(a,C[b+116>>2]);nf(a,C[b+120>>2]);C[b+116>>2]=0;C[b+120>>2]=0;C[b+8>>2]=C[b+8>>2]&-4097}f=C[b+256>>2];b:{if(!f|!(C[b+244>>2]&c&32)){break b}if((d|0)==-1){e=0;if(C[b+260>>2]>0){while(1){f=e<<4;nf(a,C[f+C[b+256>>2]>>2]);nf(a,C[(f+C[b+256>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}f=C[b+256>>2]}nf(a,f);C[b+256>>2]=0;C[b+260>>2]=0;C[b+8>>2]=C[b+8>>2]&-8193;break b}e=f;f=d<<4;nf(a,C[e+f>>2]);nf(a,C[(f+C[b+256>>2]|0)+8>>2]);f=f+C[b+256>>2]|0;C[f+8>>2]=0;C[f>>2]=0}f=C[b+248>>2];c:{if(!f|!(C[b+244>>2]&c&512)){break c}if((d|0)==-1){e=0;if(C[b+252>>2]>0){while(1){nf(a,C[(C[b+248>>2]+I(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}f=C[b+248>>2]}nf(a,f);C[b+248>>2]=0;C[b+252>>2]=0;break c}e=f;f=I(d,20);nf(a,C[(e+f|0)+8>>2]);C[(f+C[b+248>>2]|0)+8>>2]=0}e=C[b+244>>2];if(e&c&32768){f=C[b+212>>2];if(f){nf(a,f);C[b+212>>2]=0}f=C[b+208>>2];if(f){nf(a,f);C[b+208>>2]=0}C[b+8>>2]=C[b+8>>2]&-65537;e=C[b+244>>2]}if(c&e&8){nf(a,C[b+216>>2]);C[b+216>>2]=0;C[b+8>>2]=C[b+8>>2]&-65;e=C[b+244>>2]}if(c&e&4096){nf(a,C[b+16>>2]);C[b+16>>2]=0;B[b+20>>1]=0;C[b+8>>2]=C[b+8>>2]&-9;e=C[b+244>>2]}if(c&e&64){f=C[b+276>>2];if(f){if(C[b+4>>2]){e=0;while(1){nf(a,C[C[b+276>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}f=C[b+276>>2]}nf(a,f);C[b+276>>2]=0;e=C[b+244>>2]}C[b+8>>2]=C[b+8>>2]&-32769}C[b+244>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function jn(a,b){var c=0,d=0,e=0;d=Ce-16|0;Ce=d;a:{if(D[a+124|0]&8?!a|!C[a+80>>2]:1){_e(4);break a}if(b){if(C[b>>2]!=422838){C[d>>2]=16603;Qe(19745,d);break a}if(C[b+36>>2]!=(a|0)){Qe(9641,0);break a}if(C[b+8>>2]!=2){Qe(23689,0);break a}c=C[b+40>>2];c=c?c:b}if(C[a+412>>2]==(c|0)){break a}b=C[a+436>>2];if(b){Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}if(!(C[a+412>>2]|!c)){b=C[a+236>>2];C[a+264>>2]=C[a+232>>2];C[a+268>>2]=b;b=C[a+300>>2];C[a+328>>2]=C[a+296>>2];C[a+332>>2]=b;b=C[a+260>>2];C[a+288>>2]=C[a+256>>2];C[a+292>>2]=b;b=C[a+252>>2];C[a+280>>2]=C[a+248>>2];C[a+284>>2]=b;b=C[a+244>>2];C[a+272>>2]=C[a+240>>2];C[a+276>>2]=b;b=C[a+308>>2];C[a+336>>2]=C[a+304>>2];C[a+340>>2]=b;b=C[a+316>>2];C[a+344>>2]=C[a+312>>2];C[a+348>>2]=b;b=C[a+324>>2];C[a+352>>2]=C[a+320>>2];C[a+356>>2]=b;C[a+364>>2]=C[a+360>>2];b=C[a+372>>2];C[a+376>>2]=C[a+368>>2];C[a+380>>2]=b;b=C[a+216>>2];C[a+220>>2]=C[a+212>>2];C[a+224>>2]=b}C[a+412>>2]=c;if((Fe[C[a+80>>2]](a,c)|0)<0){break a}b:{if(c){C[a+232>>2]=0;C[a+236>>2]=0;C[a+240>>2]=0;C[a+244>>2]=0;H[a+248>>3]=C[c+12>>2];H[a+256>>3]=C[c+16>>2];mf(a+296|0,0,32);C[a+368>>2]=1065353216;C[a+372>>2]=1065353216;b=c+16|0;c=c+12|0;break b}b=C[a+268>>2];C[a+232>>2]=C[a+264>>2];C[a+236>>2]=b;b=C[a+292>>2];C[a+256>>2]=C[a+288>>2];C[a+260>>2]=b;b=C[a+284>>2];C[a+248>>2]=C[a+280>>2];C[a+252>>2]=b;b=C[a+276>>2];C[a+240>>2]=C[a+272>>2];C[a+244>>2]=b;b=C[a+332>>2];C[a+296>>2]=C[a+328>>2];C[a+300>>2]=b;b=C[a+340>>2];C[a+304>>2]=C[a+336>>2];C[a+308>>2]=b;b=C[a+348>>2];C[a+312>>2]=C[a+344>>2];C[a+316>>2]=b;b=C[a+356>>2];C[a+320>>2]=C[a+352>>2];C[a+324>>2]=b;b=C[a+380>>2];C[a+368>>2]=C[a+376>>2];C[a+372>>2]=b;b=a+224|0;e=C[a+364>>2];c=a+220|0}c=C[c>>2];C[a+216>>2]=C[b>>2];C[a+212>>2]=c;C[a+360>>2]=e;if((tk(a)|0)<0){break a}if((Tq(a)|0)<0|C[a+432>>2]){break a}b=C[a+436>>2];if(!b){break a}Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}Ce=d+16|0}function Mg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ce-16|0;Ce=h;a:{if(!a|!b|C[b+16>>2]>131078){break a}c=C[a+16>>2];b:{if(!c){f=C[a>>2];C[h+12>>2]=0;break b}f=C[b+8>>2];c:{while(1){d=C[((e<<2)+a|0)+20>>2];g=C[d>>2];if(Se(C[g+8>>2],f)){e=e+1|0;if((e|0)!=(c|0)){continue}break c}break}if(C[b+12>>2]<=C[g+12>>2]){break a}if(a){d:{if(!d){break d}e=C[a+16>>2];if((e|0)<=0){break d}c=a+20|0;f=c+(e<<2)|0;while(1){if((d|0)==C[c>>2]){C[a+16>>2]=e-1;e=f-4|0;if(e>>>0>c>>>0){while(1){C[c>>2]=C[c+4>>2];c=c+4|0;if(e>>>0>c>>>0){continue}break}}C[e>>2]=0;g=C[d>>2];k=C[d+8>>2];e=C[d+4>>2];e:{if(!e){break e}if((d|0)==C[e+160>>2]){C[e+160>>2]=0}if(!(D[g|0]&2)){break e}f=C[e>>2];i=e+148|0;c=Ti(i,d);if(!c){break e}l=C[d+12>>2];f:{if(C[l+36>>2]!=1869968492){break f}j=C[d+52>>2];if(!j){break f}Fe[C[C[l+56>>2]+20>>2]](j)}oj(i,c);if(c){Fe[C[f+8>>2]](f,c)}c=C[i>>2];g:{if(c){while(1){f=C[c+8>>2];if(C[f+16>>2]==1869968492){break g}c=C[c+4>>2];if(c){continue}break}}f=0}C[e+156>>2]=f}if(A[C[d>>2]]&1){Op(d+16|0,856,C[d+8>>2],d)}c=C[g+28>>2];if(c){Fe[c|0](d)}if(d){Fe[C[k+8>>2]](k,d)}break d}c=c+4|0;if(f>>>0>c>>>0){continue}break}}}c=C[a+16>>2]}f=C[a>>2];C[h+12>>2]=0;if(c>>>0>31){break a}}d=hf(f,C[b+4>>2],h+12|0);if(C[h+12>>2]){break a}C[d+8>>2]=f;C[d+4>>2]=a;C[d>>2]=b;h:{c=b;e=C[c>>2];if(e&2){g=Ce-16|0;Ce=g;i=C[d+4>>2];l=C[i>>2];k=hf(l,12,g+12|0);e=C[g+12>>2];i:{if(e){break i}c=C[d>>2];C[d+12>>2]=c;e=C[c+36>>2];C[d+16>>2]=e;j:{k:{if((e|0)!=1869968492){break k}e=C[C[c+56>>2]+4>>2];if(!e){break k}e=Fe[e|0](l,d+52|0)|0;C[g+12>>2]=e;if(e){break j}C[d+56>>2]=C[C[c+56>>2]+16>>2];C[d+60>>2]=C[c+40>>2]}C[k+8>>2]=d;Pp(i+148|0,k);e=0;c=0;j=C[i+148>>2];l:{if(!j){break l}while(1){c=C[j+8>>2];if(C[c+16>>2]==1869968492){break l}j=C[j+4>>2];if(j){continue}break}c=0}C[i+156>>2]=c;if(!C[g+12>>2]){break i}}if(k){Fe[C[l+8>>2]](l,k)}e=C[g+12>>2]}Ce=g+16|0;C[h+12>>2]=e;if(e){break h}c=C[d>>2];e=C[c>>2]}if(e&4){C[a+160>>2]=d}if(e&1){C[d+12>>2]=c}b=C[b+24>>2];if(b){b=Fe[b|0](d)|0;C[h+12>>2]=b;if(b){break h}}b=C[a+16>>2];C[a+16>>2]=b+1;C[((b<<2)+a|0)+20>>2]=d;break a}m:{if(!(D[C[d>>2]]&2)){break m}a=C[d+12>>2];if(!a|C[a+36>>2]!=1869968492){break m}b=C[d+52>>2];if(!b){break m}Fe[C[C[a+56>>2]+20>>2]](b)}if(d){Fe[C[f+8>>2]](f,d)}}Ce=h+16|0}function qw(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,k=0,l=0,m=0,n=0,o=0;e=Ce-32|0;Ce=e;C[e>>2]=0;A[a+672|0]=0;m=C[a+100>>2];f=C[a+676>>2];a:{if(!f){f=sp(a,0);C[e>>2]=f;if(f){break a}f=C[a+676>>2]}b:{l=C[f+8>>2];g=C[l>>2];b=b>>>0>g>>>0?g:b;if(!b){break b}while(1){if(C[(d<<2)+c>>2]-65537>>>0>4294836222){d=d+1|0;if((b|0)!=(d|0)){continue}break b}break}C[e>>2]=6;break a}c:{if(!C[f+36>>2]){g=C[a+104>>2];h=C[g+28>>2];d=Fe[C[a+508>>2]](a,1735811442,g,e+24|0)|0;C[e+28>>2]=d;if(d){break c}i=C[g+8>>2];d=Ff(g,285408,e+4|0);C[e+28>>2]=d;if(d){break c}C[f+24>>2]=E[e+10>>1];j=E[e+16>>1];C[f+32>>2]=j;d=8;if(C[e+4>>2]!=65536|E[e+8>>1]!=E[C[f+8>>2]>>1]){break c}k=C[e+20>>2];n=f,o=Ve(h,4,0,j+1|0,0,e+28|0),C[n+36>>2]=o;d=C[e+28>>2];if(d){break c}j=i+k|0;d=C[f+32>>2];d:{if(A[e+18|0]&1){d=Cf(g,(d<<2)+4|0);C[e+28>>2]=d;if(d){break c}d=0;while(1){k=wg(g);C[C[f+36>>2]+(d<<2)>>2]=j+k;d=d+1|0;if(d>>>0<=F[f+32>>2]){continue}break}break d}d=Cf(g,(d<<1)+2|0);C[e+28>>2]=d;if(d){break c}d=0;while(1){k=Gf(g);C[C[f+36>>2]+(d<<2)>>2]=j+(k<<1);d=d+1|0;if(d>>>0<=F[f+32>>2]){continue}break}}xf(g);d=C[f+24>>2];if(d){n=f,o=Ve(h,4,0,I(d,E[e+8>>1]),0,e+28|0),C[n+28>>2]=o;d=C[e+28>>2];if(d){break c}d=bf(g,i+C[e+12>>2]|0);C[e+28>>2]=d;if(d){break c}d=Cf(g,I(C[f+24>>2],E[e+8>>1])<<1);C[e+28>>2]=d;if(d){break c}i=C[f+24>>2];if(i){j=0;h=E[e+8>>1];while(1){d=0;e:{if(!(h&65535)){h=0;break e}while(1){i=Gf(g);h=E[e+8>>1];C[C[f+28>>2]+(I(j,h)+d<<2)>>2]=i<<16>>16<<2;d=d+1|0;if(h>>>0>d>>>0){continue}break}i=C[f+24>>2]}j=j+1|0;if(j>>>0>>0){continue}break}}xf(g)}d=C[e+28>>2];C[e>>2]=d;if(d){break a}}f:{g:{h:{g=C[f+4>>2];if(g){i=0;if(b){break h}d=0;break g}g=Ve(m,4,0,C[l>>2],0,e);C[f+4>>2]=g;if(C[e>>2]){break a}h=C[l>>2];i=1;break f}d=0;while(1){h=d<<2;if(C[h+g>>2]!=C[c+h>>2]){i=2;break g}d=d+1|0;if((b|0)!=(d|0)){continue}break}d=b}h=C[l>>2];if(h>>>0<=d>>>0){break f}while(1){if(!C[(d<<2)+g>>2]){d=d+1|0;if((h|0)!=(d|0)){continue}break f}break}i=2}C[f>>2]=h;t(g,c,b<<2);A[a+672|0]=1;b=C[a+648>>2];if(!b){break a}i:{switch(i-1|0){case 1:if(b){Fe[C[m+8>>2]](m,b)}C[a+648>>2]=0;n=e,o=xw(a,C[a+104>>2]),C[n>>2]=o;break a;case 0:break i;default:break a}}n=e,o=pw(a,C[a+104>>2]),C[n>>2]=o;break a}C[e>>2]=d}Ce=e+32|0;return C[e>>2]}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,j=0,k=0,l=0,m=0,n=0,o=0;i=Ce-16|0;Ce=i;f=C[a+488>>2];g=C[b+8>>2];Fe[C[b+28>>2]](b);d=C[b>>2];a:{if(g>>>0<=d>>>0){C[b+12>>2]=3;break a}l=D[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){h=C[b+16>>2];b:{if((l|0)==91){C[b>>2]=d+1;c=256;break b}c=Fe[C[b+36>>2]](b)|0}Fe[C[b+28>>2]](b);if(F[b>>2]>=g>>>0){break a}j=c;C[a+372>>2]=c;C[b+96>>2]=c;n=a,o=Ve(h,2,0,c,0,i+12|0),C[n+384>>2]=o;c:{e=C[i+12>>2];if(e){break c}n=a,o=Ve(h,4,0,j,0,i+12|0),C[n+388>>2]=o;e=C[i+12>>2];if(e){break c}k=b+100|0;e=Fe[C[C[f>>2]>>2]](k,j,h)|0;C[i+12>>2]=e;if(e){break c}d:{if((j|0)<=0){break d}f=0;c=0;if(j>>>0>=4){h=j&-4;e=0;while(1){Fe[C[b+144>>2]](k,c,15690,8)|0;Fe[C[b+144>>2]](k,c|1,15690,8)|0;Fe[C[b+144>>2]](k,c|2,15690,8)|0;Fe[C[b+144>>2]](k,c|3,15690,8)|0;c=c+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}e=j&3;if(!e){break d}while(1){Fe[C[b+144>>2]](k,c,15690,8)|0;c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}Fe[C[b+28>>2]](b);c=C[b>>2];e:{if(g>>>0<=c>>>0){break e}m=(l|0)==91;e=0;while(1){f:{g:{h:{f=D[c|0];switch(f-93|0){case 0:break g;case 7:break h;default:break f}}d=c+3|0;if(D[c+1|0]!=101|g>>>0<=d>>>0|D[c+2|0]!=102){break f}switch(D[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 e;default:break f}}d=c+1|0;break e}i:{j:{if(!(!m&f-48>>>0>9)){if(m){d=c;f=e;break j}f=Fe[C[b+36>>2]](b)|0;Fe[C[b+28>>2]](b);d=C[b>>2];if((d|0)!=(c|0)){break j}C[b+12>>2]=2;break a}Fe[C[b+32>>2]](b);d=c;if(C[b+12>>2]){break a}break i}if(!(D[d|0]!=47|d+2>>>0>=g>>>0|(e|0)>=(j|0))){d=d+1|0;C[b>>2]=d;Fe[C[b+32>>2]](b);c=C[b>>2];if(C[b+12>>2]|c>>>0>=g>>>0){break a}h=c-d|0;c=Fe[C[b+144>>2]](k,f,d,h+1|0)|0;C[b+12>>2]=c;if(c){break a}A[h+C[C[b+124>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break i}if((l|0)!=91){break i}C[b+12>>2]=2;break a}Fe[C[b+28>>2]](b);c=C[b>>2];if(g>>>0>c>>>0){continue}break}}C[a+368>>2]=1;C[b>>2]=d;break a}C[b+12>>2]=e;break a}k:{if(d+17>>>0>=g>>>0){break k}if(cf(d,15405,16)){break k}C[a+368>>2]=2;break a}l:{if(d+15>>>0>=g>>>0){break l}if(cf(d,15390,14)){break l}C[a+368>>2]=4;break a}m:{if(d+18>>>0>=g>>>0){break m}if(cf(d,15422,17)){break m}C[a+368>>2]=3;break a}C[b+12>>2]=162}Ce=i+16|0}function vs(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=C[c+4>>2];C[a>>2]=C[c>>2];C[a+4>>2]=f;C[a+16>>2]=C[c+16>>2];f=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=f;C[a+24>>2]=0;C[a+20>>2]=0;C[a+36>>2]=0;C[a+40>>2]=0;Jt(b,1196643650,d,e,a+28|0);Jt(b,1196445523,d,e,a+32|0);c=C[104425];a:{if(c){break a}while(1){d=0;e=0;g=Ce-32|0;Ce=g;i=vo(23154);b:{if(!i|!D[i|0]){break b}h=df(1,40);if(!h){break b}c=C[21149];C[h+32>>2]=C[21148];C[h+36>>2]=c;c=C[21147];C[h+24>>2]=C[21146];C[h+28>>2]=c;c=C[21145];C[h+16>>2]=C[21144];C[h+20>>2]=c;c=C[21143];C[h+8>>2]=C[21142];C[h+12>>2]=c;c=C[21141];C[h>>2]=C[21140];C[h+4>>2]=c;j=h+20|0;while(1){e=bh(i,44);if(!e){e=af(i)+i|0}c:{if(d>>>0>1){break c}c=d;f=h+I(c,20)|0;k=e-i|0;d:{if((af(f)|0)!=(k|0)){break d}c=d;if(cf(f,i,k)){break d}l=C[f+16>>2];C[g+24>>2]=l;m=C[f+12>>2];n=C[f+8>>2];C[g+16>>2]=n;C[g+20>>2]=m;o=C[f+4>>2];c=C[f>>2];C[g+8>>2]=c;C[g+12>>2]=o;C[f+16>>2]=l;C[f+8>>2]=n;C[f+12>>2]=m;C[f>>2]=c;C[f+4>>2]=o;c=d+1|0}e:{if(d){break e}if((af(j)|0)!=(k|0)){break e}if(cf(j,i,k)){break e}C[g+24>>2]=C[j+16>>2];d=C[j+12>>2];C[g+16>>2]=C[j+8>>2];C[g+20>>2]=d;d=C[j+4>>2];C[g+8>>2]=C[j>>2];C[g+12>>2]=d;f=h+I(c,20)|0;Yf(f+20|0,f,I(1-c|0,20));C[f+16>>2]=C[g+24>>2];d=C[g+20>>2];C[f+8>>2]=C[g+16>>2];C[f+12>>2]=d;d=C[g+12>>2];C[f>>2]=C[g+8>>2];C[f+4>>2]=d;d=c+1|0;break c}d=c}i=e+1|0;if(D[e|0]){continue}break}e=h}Ce=g+32|0;d=e?e:84560;c=C[104425];if(!c){C[104425]=d;c=d;break a}if(!d|(d|0)==84560){break a}Re(d);c=C[104425];if(!c){continue}break}}f:{g:{h:{i:{j:{d=C[c+16>>2];if((d|0)==239){if(C[b+40>>2]){break g}while(1){if(!C[b+36>>2]){break j}if(!C[b+40>>2]){break h}if(!C[b+40>>2]){continue}break}break g}if((d|0)!=240){break j}if(C[b+44>>2]){break f}while(1){if(!C[b+36>>2]){break j}if(!C[b+44>>2]){break i}if(!C[b+44>>2]){continue}break}break f}k:{c=C[c+36>>2];if((c|0)!=239){if((c|0)!=240){break k}if(C[b+44>>2]){break f}while(1){if(!C[b+36>>2]){break k}if(!C[b+44>>2]){break i}if(!C[b+44>>2]){continue}break}break f}if(C[b+40>>2]){break g}while(1){if(!C[b+36>>2]){break k}if(!C[b+40>>2]){break h}if(!C[b+40>>2]){continue}break}break g}Re(0);return 0}C[b+44>>2]=1;break f}C[b+40>>2]=1}C[a+40>>2]=3726;C[a+36>>2]=239;return 1}C[a+40>>2]=14385;C[a+36>>2]=240;return 1}function uD(a){a=a|0;var 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;i=C[a+24>>2];c=(i+7|0)/-8|0;j=C[a+28>>2];if(j){r=C[a+16>>2]+(c+i|0)|0;s=C[a+56>>2];g=D[a+63|0];t=C[a+36>>2];u=C[C[C[a+40>>2]+4>>2]+4>>2];h=C[a>>2];c=C[a+20>>2];v=(i|0)<=0;a=C[a+44>>2];p=D[a+9|0];q=p-1|0;while(1){j=j-1|0;k=0;l=0;if(!v){while(1){if(!(l&7)){k=D[h|0];h=h+1|0}b=k>>>7&1;a:{if((b|0)==(s|0)){break a}b=(b<<2)+u|0;m=D[b+2|0];n=D[b+1|0];o=D[b|0];b=0;d=0;e=0;f=0;b:{c:{switch(q|0){case 0:b=D[c|0];f=D[C[(D[a+31|0]<<2)+382144>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+382144>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+382144>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+382144>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break b;case 1:b=E[c>>1];f=D[C[(D[a+31|0]<<2)+382144>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+382144>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+382144>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+382144>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break b;case 2:e=D[(D[a+34|0]>>>3|0)+c|0];d=D[(D[a+33|0]>>>3|0)+c|0];b=D[(D[a+32|0]>>>3|0)+c|0];f=255;break b;case 3:break c;default:break b}}b=C[c>>2];f=D[C[(D[a+31|0]<<2)+382144>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+382144>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+382144>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+382144>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0]}f=(f+g|0)-((I(f,g)>>>0)/255|0)&255;m=((I(m-e|0,g)|0)/255|0)+e|0;e=m&255;n=((I(n-d|0,g)|0)/255|0)+d|0;d=n&255;o=((I(o-b|0,g)|0)/255|0)+b|0;b=o&255;d:{switch(q|0){case 0:A[c|0]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>1]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>>3|0)+c|0]=o;A[(D[a+33|0]>>>3|0)+c|0]=n;A[(D[a+34|0]>>>3|0)+c|0]=m;break a;case 3:break d;default:break a}}C[c>>2]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>2];if(g){d=C[g+28>>2]}else{d=0}c=C[a+104>>2];if(c){b=C[c>>2];if(b){ip(b+16|0);Re(C[b+48>>2]);Re(C[b- -64>>2]);Re(C[b+80>>2]);Re(C[b+96>>2]);Re(C[b+112>>2]);Re(C[b+128>>2]);Re(C[b+144>>2]);Re(C[b+36>>2]);Re(C[b+152>>2]);Re(C[b+160>>2]);We(b,0,180);Re(C[c>>2])}b=C[c+12>>2];if(b){ip(C[b>>2]);Re(C[C[c+12>>2]>>2]);Re(C[c+12>>2])}b=C[c+16>>2];if(b){ip(C[b>>2]);Re(C[C[c+16>>2]>>2]);Re(C[c+16>>2])}e=C[c+48>>2];if(e){if(!(!d|C[d+16>>2]<=0)){e=0;while(1){b=e<<2;Fe[C[C[(C[(b+d|0)+800>>2]<<2)+317236>>2]+16>>2]](C[b+C[c+48>>2]>>2]);e=e+1|0;if((e|0)>2]){continue}break}e=C[c+48>>2]}Re(e)}e=C[c+52>>2];if(e){if(!(!d|C[d+20>>2]<=0)){e=0;while(1){b=e<<2;Fe[C[C[(C[(b+d|0)+1312>>2]<<2)+317244>>2]+16>>2]](C[b+C[c+52>>2]>>2]);e=e+1|0;if((e|0)>2]){continue}break}e=C[c+52>>2]}Re(e)}e=C[c+56>>2];if(e){if(!(!d|C[d+28>>2]<=0)){e=0;while(1){h=0;b=C[c+56>>2]+I(e,52)|0;if(b){f=C[b+16>>2];if(f){Re(f)}f=C[b+20>>2];if(f){Re(f)}f=C[b+24>>2];if(f){Re(f)}if(C[b+8>>2]){while(1){f=h<<2;Re(C[C[f+C[b+8>>2]>>2]>>2]);Re(C[C[f+C[b+8>>2]>>2]+4>>2]);Re(C[C[f+C[b+8>>2]>>2]+8>>2]);Re(C[C[f+C[b+8>>2]>>2]+12>>2]);Re(C[C[f+C[b+8>>2]>>2]+16>>2]);Re(C[C[f+C[b+8>>2]>>2]+20>>2]);Re(C[C[f+C[b+8>>2]>>2]+24>>2]);Re(C[C[f+C[b+8>>2]>>2]+28>>2]);Re(C[f+C[b+8>>2]>>2]);h=h+1|0;if((h|0)!=17){continue}break}Re(C[b+8>>2])}f=C[b+12>>2];if(f){Re(C[f>>2]);Re(C[C[b+12>>2]+4>>2]);Re(C[C[b+12>>2]+8>>2]);Re(C[b+12>>2])}C[b>>2]=0;C[b+4>>2]=0;C[b+48>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;C[b+32>>2]=0;C[b+36>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}e=e+1|0;if((e|0)>2]){continue}break}e=C[c+56>>2]}Re(e)}d=C[c+60>>2];if(d){mj(d)}C[c+80>>2]=0;C[c+84>>2]=0;C[c+120>>2]=0;C[c+124>>2]=0;C[c+112>>2]=0;C[c+116>>2]=0;C[c+104>>2]=0;C[c+108>>2]=0;C[c+96>>2]=0;C[c+100>>2]=0;C[c+88>>2]=0;C[c+92>>2]=0;Uv(c+20|0);Uv(c+32|0)}d=C[a+8>>2];a:{if(!d){break a}b:{if(!g){break b}e=C[g+4>>2];if((e|0)<=0){break b}d=0;while(1){b=C[C[a+8>>2]+(d<<2)>>2];if(b){Re(b);e=C[g+4>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}d=C[a+8>>2]}Re(d);d=C[a+12>>2];if(!d){break a}Re(d)}if(c){d=C[c+64>>2];if(d){Re(d)}d=C[c+68>>2];if(d){Re(d)}d=C[c+72>>2];if(d){Re(d)}Re(c)}We(a,0,112)}}function Ck(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(b>>>0>64){return 0}o=C[a+100>>2];k=C[o+76>>2];C[a+40>>2]=b-1;C[a+4>>2]=k;j=C[C[a+8>>2]+100>>2];C[a+44>>2]=C[j+80>>2];n=(k|0)==C[j+76>>2]?D[(C[j+92>>2]+I(k,20)|0)+15|0]:n;C[a+36>>2]=c;C[a+32>>2]=e;C[a+28>>2]=d;A[a+24|0]=n;c=C[o+92>>2]+I(k,20)|0;j=D[c+14|0];e=j&16;a:{b:{c:{if(D[c+12|0]&4){if(!e){d=(j&224)>>>5|0;break c}d=(j&224)>>>5|0;e=j&15;break a}d=(j&224)>>>5|0;if(!e){break c}p=0;break b}p=j&15}e=1}l=a+4|0;C[g>>2]=k;d:{e:{if(b>>>0<2){break e}k=1;f:{if(!(!p|j>>>0<32)){j=1;while(1){if(!Og(l)){break d}C[(j<<2)+g>>2]=C[l>>2];n=C[o+92>>2];c=C[l>>2];a=D[(n+I(c,20)|0)+14|0];if((a>>>5|0)==(d|0)){a=((a&16?0:a&15)|0)==(p|0)}else{a=0}g:{if(a){break g}h:{switch(m|0){case 0:break h;case 1:break d;default:break g}}i=C[o+84>>2];a=C[o+96>>2];while(1){if(!i){break f}i=i-1|0;m=a+I(i,20)|0;c=D[m+14|0];if((c>>>5|0)!=(d|0)){break f}if(!(c&15?c&16:1)){continue}break}n=1;i=E[m+12>>1];c=C[l+8>>2];i:{if(i&c&14){break i}j:{if(!(i&8)){break j}if(c&16){i=C[C[l+4>>2]+108>>2];a=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65538){break i}a=D[i+12|0]|D[i+13|0]<<8;if(a){a=i+((a<<8|a>>>8)&65535)|0}else{a=84608}if((D[a|0]|D[a+1|0]<<8)!=256){break i}i=a;c=c>>>16|0;q=(a+(c<<2)|0)+4|0;a=D[a+2|0]|D[a+3|0]<<8;a=c>>>0>=((a<<8|a>>>8)&65535)>>>0?84608:q;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((zf(a?i+a|0:84608,C[m>>2])|0)==-1){break i}i=E[m+12>>1];break j}a=c&65280;if(!a){break j}if((a|0)!=(i&65280)){break i}}n=0;a=E[m+16>>1];if(i&16|(a&96)!=32|!D[l+12|0]&(a&543)==513){break i}n=(a&287)!=257?2:D[l+13|0]<<1}if((n|0)!=1){break f}c=C[l>>2];n=C[o+92>>2];m=2}i=1;a=I(c,20)+n|0;k:{if(!(D[a+12|0]&4)){break k}a=D[a+14|0];if(!(a&16)){break k}i=a&15}e=e+i|0;j=j+1|0;k=j>>>0>>0;if((b|0)!=(j|0)){continue}break}break e}while(1){if(!Og(l)){break d}C[(k<<2)+g>>2]=C[l>>2];a=C[o+92>>2]+I(C[l>>2],20)|0;m=D[a+14|0];p=m&15;c=m&16;if(!(c|((m>>>5|0)==(d|0)|m>>>0<32))){if(p){break d}}e=(D[a+12|0]&4?c?p:1:1)+e|0;k=k+1|0;if((k|0)!=(b|0)){continue}break}break e}if(k&1){break d}}r=1;C[f>>2]=(C[l>>2]-C[o+76>>2]|0)+1;if(!h){break d}C[h>>2]=e}return r}function cm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{if((a|0)!=24){if((a|0)==293){break e}if((a|0)!=263){break c}f:{g:{h:{f=C[c+4>>2];if((f|0)>=0){d=C[c+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break g}while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}if(f>>>0<=268435454){d=lf(C[c+12>>2],f<<4);if(d){break h}}C[c+4>>2]=-1}d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;h=417712;break f}C[c+4>>2]=f;C[c+12>>2]=d;d=C[c+8>>2]}if(d>>>0>>0){We(C[c+12>>2]+(d<<4)|0,0,e-d<<4)}C[c+8>>2]=e;h=(C[c+12>>2]+(e<<4)|0)-16|0}d=h;C[d>>2]=263;i=C[b+12>>2];e=C[b+4>>2];j=C[b>>2];f=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=f+j;d=e-f|0;d=d>>>0<=e>>>0?d:0;f=i-f|0;C[h+8>>2]=d>>>0>>0?d:f;C[c>>2]=C[b+12>>2];f=b+24|0;break d}f=b+24|0;d=C[f>>2];i:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n();break i}g=H[C[b+36>>2]+(d<<3)>>3];break i}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n()}j:{if(K(g)<2147483648){d=~~g;break j}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+24>>2]=d;break d}f=b+24|0;d=C[f>>2];k:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n();break k}g=H[C[b+36>>2]+(d<<3)>>3];break k}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n()}l:{if(K(g)<2147483648){d=~~g;break l}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+28>>2]=d}C[f>>2]=0;break b}nu(a,b,c);if(C[b+24>>2]){break a}}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}m:{n:{o:{f=C[c+4>>2];if((f|0)>=0){d=C[c+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break n}while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}if(f>>>0<=268435454){d=lf(C[c+12>>2],f<<4);if(d){break o}}C[c+4>>2]=-1}d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;h=417712;break m}C[c+4>>2]=f;C[c+12>>2]=d;d=C[c+8>>2]}if(d>>>0>>0){We(C[c+12>>2]+(d<<4)|0,0,e-d<<4)}C[c+8>>2]=e;h=(C[c+12>>2]+(e<<4)|0)-16|0}d=h;C[d>>2]=a;e=C[b+12>>2];f=C[b+4>>2];i=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+i;d=f-a|0;d=d>>>0<=f>>>0?d:0;a=e-a|0;C[h+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}}function HL(a){a=a|0;var 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=Ce-16|0;Ce=m;g=C[a+12>>2];j=C[a+204>>2];b=C[a+200>>2];l=B[a+32>>1];a:{if(l){if(F[g+8>>2]>1]+(B[g+20>>1]+l|0)>>>0){e=Qg(g,0,l);if(e){break a}}e=20;if((l|0)>4094){break a}}e=20;d=l<<1;if((d+b|0)+2>>>0>j>>>0){break a}c=C[g+68>>2];h=D[b|0]<<8;f=h|D[b+1|0];if((l|0)>0){B[c>>1]=f}if(h<<16>>16<0){break a}h=c+d|0;while(1){d=c+2|0;if(d>>>0>>0){c=D[b+2|0]|D[b+3|0]<<8;i=c<<8|c>>>8;B[d>>1]=i;k=f<<16>>16;c=d;d=i<<16>>16;f=d;b=b+2|0;if((d|0)>(k|0)){continue}break a}break}d=C[g+4>>2];f=B[g+58>>1];if((l|0)<=0){h=0}else{c=B[c>>1];if((c|0)<-1){break a}h=c+1|0}c=h+4|0;if(d>>>0>1]|0)>>>0){e=Qg(g,c,0);if(e){break a}}c=C[a+8>>2];C[c+136>>2]=0;C[c+140>>2]=0;c=b+4|0;if(c>>>0>j>>>0){e=20;break a}e=22;b=D[b+3|0]|D[b+2|0]<<8;if((b|0)>(j-c|0)){break a}if(!(D[a+16|0]&2)){d=C[a+160>>2];C[m+12>>2]=C[d+388>>2];e=mw(C[d+8>>2],m+12|0,d+392|0,b);d=C[a+160>>2];C[d+388>>2]=E[m+12>>1];if(e){break a}e=C[a+8>>2];C[e+140>>2]=b;d=C[d+392>>2];C[e+136>>2]=d;t(d,c,b)}b=b+c|0;b:{c:{if((h|0)>0){d=C[g- -64>>2];e=h+d|0;while(1){f=b+1|0;if(f>>>0>j>>>0){e=20;break a}i=D[b|0];A[d|0]=i;c=d+1|0;d:{if(!(i&8)){b=f;break d}b=b+2|0;if(j>>>0>>0){e=20;break a}f=D[f|0];if(e>>>0>>0){e=20;break a}if(!f){break d}p(c,i,f);c=((f-1&255)+d|0)+2|0}d=c;if(e>>>0>c>>>0){continue}break}if(b>>>0<=j>>>0){break c}e=20;break a}e=20;if(b>>>0<=j>>>0){break b}break a}if((h|0)<=0){break b}f=C[g+60>>2];n=f+(h<<3)|0;d=C[g+64>>2];i=0;while(1){k=D[d|0];e:{if(k&2){c=b+1|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0];e=k&16?b:0-b|0;b=c;break e}e=0;if(k&16){break e}c=b+2|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0]|D[b+1|0]<<8;e=(b<<8|b>>>8)<<16>>16;b=c}i=e+i|0;C[f>>2]=i;A[d|0]=k&237;d=d+1|0;f=f+8|0;if(n>>>0>f>>>0){continue}break}if((h|0)<=0){break b}f=C[g+60>>2];n=f+(h<<3)|0;d=C[g+64>>2];i=0;while(1){k=D[d|0];f:{if(k&4){c=b+1|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0];e=k&32?b:0-b|0;b=c;break f}e=0;if(k&32){break f}c=b+2|0;if(c>>>0>j>>>0){e=20;break a}b=D[b|0]|D[b+1|0]<<8;e=(b<<8|b>>>8)<<16>>16;b=c}i=e+i|0;C[f+4>>2]=i;A[d|0]=k&1;d=d+1|0;f=f+8|0;if(n>>>0>f>>>0){continue}break}}B[g+56>>1]=l;B[g+58>>1]=h;C[a+200>>2]=b;e=0}Ce=m+16|0;return e|0}function PC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=C[a+16>>2]/4|0;i=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];d=C[a+24>>2];a:{e=C[a+48>>2];if(e){if(!f){break a}j=d&7;h=(d+7|0)/8|0;g=g<<2;b:while(1){f=f-1|0;d=h;c:{d:{switch(j-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=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=D[e+(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=C[c>>2];A[b|0]=D[e+(a>>>16&224|a>>>11&28|a>>>6&3)|0];a=d-1|0;c=c+4|0;b=b+1|0;f:{if((d|0)>1){d=a;break f}b=b+i|0;c=c+g|0;if(f){continue b}break a}a=0;continue}}}if(!f){break a}e=d&7;h=(d+7|0)/8|0;g=g<<2;g:while(1){f=f-1|0;d=h;h:{i:{switch(e-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=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=7;continue;default:break j}}a=C[c>>2];A[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;a=d-1|0;b=b+1|0;k:{if((d|0)>1){d=a;break k}b=b+i|0;c=c+g|0;if(f){continue g}break a}a=0;continue}}}}function OC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=C[a+16>>2]/4|0;i=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];d=C[a+24>>2];a:{e=C[a+48>>2];if(e){if(!f){break a}j=d&7;h=(d+7|0)/8|0;g=g<<2;b:while(1){f=f-1|0;d=h;c:{d:{switch(j-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=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=D[e+(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=C[c>>2];A[b|0]=D[e+(a>>>22&224|a>>>15&28|a>>>8&3)|0];a=d-1|0;c=c+4|0;b=b+1|0;f:{if((d|0)>1){d=a;break f}b=b+i|0;c=c+g|0;if(f){continue b}break a}a=0;continue}}}if(!f){break a}e=d&7;h=(d+7|0)/8|0;g=g<<2;g:while(1){f=f-1|0;d=h;h:{i:{switch(e-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=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=1;continue;case 1:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=2;continue;case 2:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=3;continue;case 3:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=4;continue;case 4:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=5;continue;case 5:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=6;continue;case 6:a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=7;continue;default:break j}}a=C[c>>2];A[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;a=d-1|0;b=b+1|0;k:{if((d|0)>1){d=a;break k}b=b+i|0;c=c+g|0;if(f){continue g}break a}a=0;continue}}}}function Dw(a){var 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;c=Ce-16|0;Ce=c;e=C[a+104>>2];b=Fe[C[a+508>>2]](a,1886352244,e,c+4|0)|0;a:{if(b){break a}i=C[e+8>>2];l=C[c+4>>2];d=C[a+468>>2];b=ng(e,32);if(b){break a}b:{c:{d:{e:{f:{if((d|0)!=163840){b=3;if((d|0)!=131072){break b}g=C[e+28>>2];h=$f(e,c+8|0);b=C[c+8>>2];if(b){break b}b=3;if(h>>>0>E[a+264>>1]){break b}d=0;k=Ve(g,2,0,h,0,c+8|0);if(C[c+8>>2]){break c}b=Cf(e,h<<1);C[c+8>>2]=b;if(b){break c}if(!h){break f}b=0;while(1){r=k+(b<<1)|0,s=Gf(e),B[r>>1]=s;b=b+1|0;if((h|0)!=(b|0)){continue}break}xf(e);m=h&1;g:{if((h|0)==1){b=0;break g}n=h&65534;b=0;while(1){j=d<<1;o=E[k+(j|2)>>1];p=o-257|0;j=E[k+j>>1];q=j-257|0;b=j>>>0>257?(b&65535)<(q|0)?q:b:b;b=o>>>0>257?(b&65535)<(p|0)?p:b:b;d=d+2|0;f=f+2|0;if((n|0)!=(f|0)){continue}break}}if(!m){break d}d=E[k+(d<<1)>>1];f=d-257|0;b=d>>>0>257?(f|0)>(b&65535)?f:b:b;break d}h=C[e+28>>2];d=$f(e,c+12|0);b=C[c+12>>2];if(b){break b}b=3;if(d>>>0>258|d>>>0>E[a+264>>1]){break b}g=Ve(h,1,0,d,0,c+12|0);h:{if(C[c+12>>2]){break h}b=jg(e,g,d);C[c+12>>2]=b;if(b){break h}if(!d){break e}b=0;while(1){e=A[b+g|0]+b|0;if(!((e|0)<0|(d|0)<(e|0))){b=b+1|0;if((d|0)!=(b|0)){continue}break e}break}C[c+12>>2]=3}if(g){Fe[C[h+8>>2]](h,g)}b=C[c+12>>2];break b}xf(e);b=0;break d}C[a+620>>2]=g;B[a+616>>1]=d;b=0;break b}f=0;m=b&65535;d=Ve(g,4,0,m,0,c+8|0);if(C[c+8>>2]){break c}i:{j:{if(!m){break j}l=i+l|0;while(1){if(l>>>0<=F[e+8>>2]){if((b&65535)>>>0<=(f&65535)>>>0){break j}while(1){e=Ve(g,1,0,1,0,c+8|0);C[(f<<2)+d>>2]=e;if(C[c+8>>2]){break i}A[e|0]=0;f=f+1|0;if((m|0)!=(f|0)){continue}break}break j}i=oh(e,c+8|0);if(C[c+8>>2]){break i}i=i&255;if(!(l>>>0>=i>>>0&F[e+8>>2]<=l-i>>>0)){i=l-C[e+8>>2]|0;i=(i|0)>0?i:0}n=(f<<2)+d|0;j=Ve(g,1,0,i+1|0,0,c+8|0);C[n>>2]=j;if(C[c+8>>2]){break i}j=jg(e,j,i);C[c+8>>2]=j;if(j){break i}A[C[n>>2]+i|0]=0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}C[a+624>>2]=d;C[a+620>>2]=k;B[a+618>>1]=b;B[a+616>>1]=h;b=0;break b}b=b&65535;e=b>>>0<=1?1:b;b=0;while(1){h=(b<<2)+d|0;f=C[h>>2];if(f){Fe[C[g+8>>2]](g,f)}C[h>>2]=0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(d){Fe[C[g+8>>2]](g,d)}if(k){Fe[C[g+8>>2]](g,k)}b=C[c+8>>2]}A[a+612|0]=1}Ce=c+16|0;return b}function vD(a){a=a|0;var 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;i=C[a+24>>2];c=(i+7|0)/-8|0;j=C[a+28>>2];if(j){r=C[a+16>>2]+(c+i|0)|0;g=D[a+63|0];s=C[a+36>>2];t=C[C[C[a+40>>2]+4>>2]+4>>2];h=C[a>>2];c=C[a+20>>2];u=(i|0)<=0;a=C[a+44>>2];p=D[a+9|0];q=p-1|0;while(1){j=j-1|0;k=0;l=0;if(!u){while(1){if(!(l&7)){k=D[h|0];h=h+1|0}b=((k&128)>>>5|0)+t|0;m=D[b+2|0];n=D[b+1|0];o=D[b|0];b=0;d=0;e=0;f=0;a:{b:{switch(q|0){case 0:b=D[c|0];f=D[C[(D[a+31|0]<<2)+382144>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+382144>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+382144>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+382144>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break a;case 1:b=E[c>>1];f=D[C[(D[a+31|0]<<2)+382144>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+382144>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+382144>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+382144>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0];break a;case 2:e=D[(D[a+34|0]>>>3|0)+c|0];d=D[(D[a+33|0]>>>3|0)+c|0];b=D[(D[a+32|0]>>>3|0)+c|0];f=255;break a;case 3:break b;default:break a}}b=C[c>>2];f=D[C[(D[a+31|0]<<2)+382144>>2]+((b&C[a+24>>2])>>>D[a+35|0]|0)|0];e=D[C[(D[a+30|0]<<2)+382144>>2]+((b&C[a+20>>2])>>>D[a+34|0]|0)|0];d=D[C[(D[a+29|0]<<2)+382144>>2]+((b&C[a+16>>2])>>>D[a+33|0]|0)|0];b=D[C[(D[a+28|0]<<2)+382144>>2]+((b&C[a+12>>2])>>>D[a+32|0]|0)|0]}f=(f+g|0)-((I(f,g)>>>0)/255|0)&255;m=((I(m-e|0,g)|0)/255|0)+e|0;e=m&255;n=((I(n-d|0,g)|0)/255|0)+d|0;d=n&255;o=((I(o-b|0,g)|0)/255|0)+b|0;b=o&255;c:{d:{switch(q|0){case 0:A[c|0]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>1]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>>3|0)+c|0]=o;A[(D[a+33|0]>>>3|0)+c|0]=n;A[(D[a+34|0]>>>3|0)+c|0]=m;break c;case 3:break d;default:break c}}C[c>>2]=d>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>>D[a+31|0]<>2]){break a}d=6;b:{if(C[a+12>>2]!=1){break b}m=(b|0)!=0;b=(I(m,36)+a|0)+16|0;d=C[c>>2];f=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;d=C[c+4>>2];j=C[a>>2];d=Uk(b,f,((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16,j,e);if(d){break b}d=C[c+8>>2];f=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;d=C[c+12>>2];d=Uk(b,f,((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16,j,e+4|0);if(d){break b}d=b;b=C[c+16>>2];f=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;b=C[c+20>>2];d=Uk(d,f,((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16,j,e+8|0);if(d){break b}g=C[e+8>>2];h=C[e+4>>2];i=C[e>>2];k=I(m,36)+a|0;f=C[k+40>>2];c:{if(f){l=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=C[k+48>>2];d=f;while(1){b=C[c>>2];if((D[C[c+8>>2]+o|0]&r?i>>>0>>0:0)|(D[C[c+8>>2]+n|0]&q?b>>>0>h>>>0:0)|(D[l+C[c+8>>2]|0]&p?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}l=f+1|0;b=C[k+44>>2];d:{if(l>>>0<=b>>>0){c=C[(I(m,36)+a|0)+48>>2];break d}C[e+12>>2]=0;c=b;b=(f&-8)+8|0;d=I(m,36)+a|0;c=Ve(j,16,c,b,C[d+48>>2],e+12|0);C[d+48>>2]=c;d=C[e+12>>2];if(d){break b}C[k+44>>2]=b}b=0;c=((l<<4)+c|0)-16|0;C[c+12>>2]=0;C[c>>2]=0;C[k+40>>2]=l}if((i|0)>=0){if(b>>>0<=i>>>0){b=C[c+4>>2];C[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Ve(j,1,f,b,C[c+8>>2],e+12|0),C[s+8>>2]=t;d=C[e+12>>2];if(d){break b}C[c+4>>2]=b<<3}C[c>>2]=i+1}b=C[c+8>>2]+(i>>>3|0)|0;A[b|0]=D[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(F[c>>2]<=h>>>0){b=C[c+4>>2];C[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Ve(j,1,f,b,C[c+8>>2],e+12|0),C[s+8>>2]=t;d=C[e+12>>2];if(d){break b}C[c+4>>2]=b<<3}C[c>>2]=h+1}b=C[c+8>>2]+(h>>>3|0)|0;A[b|0]=D[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(F[c>>2]<=g>>>0){b=C[c+4>>2];C[e+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Ve(j,1,f,b,C[c+8>>2],e+12|0),C[s+8>>2]=t;d=C[e+12>>2];if(d){break b}C[c+4>>2]=b<<3}C[c>>2]=g+1}a=C[c+8>>2]+(g>>>3|0)|0;A[a|0]=D[a|0]|128>>>(g&7);break a}C[a+4>>2]=d}Ce=e+16|0}function dx(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=(g?1032:0)+a|0;C[p>>2]=0;q=(g?1548:516)+a|0;C[q>>2]=0;m=g?a+1548|0:a+516|0;n=g?a+1032|0:a;if(b>>>0>=2){while(1){a=c+2|0;k=h&1;o=B[(k?c:a)>>1];j=B[(k?a:c)>>1]-o|0;h=(k?n:m)+4|0;g=k?l:i;a:{b:{if(!g){break b}a=(g<<5)+h|0;c:{while(1){r=C[h>>2];if((r|0)>(o|0)){break c}if((o|0)==(r|0)){a=C[h+4>>2];if((j|0)<0){if((a|0)<=(j|0)){break a}C[h+4>>2]=j;break a}if((a|0)>=(j|0)){break a}C[h+4>>2]=j;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}t(h+32|0,h,g<<5)}C[h+4>>2]=j;C[h>>2]=o;if(k){l=l+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}C[p>>2]=l;C[q>>2]=i;if(d>>>0>=2){a=m+4|0;while(1){j=B[e+2>>1];c=B[e>>1]-j|0;h=a;d:{e:{if(!i){break e}b=a+(i<<5)|0;g=i;f:{while(1){k=C[h>>2];if((k|0)>(j|0)){break f}if((j|0)==(k|0)){b=C[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}C[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}C[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}t(h+32|0,h,g<<5)}C[h+4>>2]=c;C[h>>2]=j;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}C[p>>2]=l;C[q>>2]=i;g:{if(!l){break g}h=n+4|0;a=l;while(1){h:{i:{switch(a|0){case 1:b=C[h+4>>2];g=C[h>>2];break h;case 0:break g;default:break i}}g=C[h>>2];b=C[h+32>>2]-g|0;c=C[h+4>>2];if((b|0)>=(c|0)){b=c;break h}C[h+4>>2]=b}C[h+12>>2]=g;C[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=m+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=C[h+4>>2];g=C[h>>2];break k;case 0:break j;default:break l}}g=C[h>>2];b=g-C[h+32>>2]|0;c=C[h+4>>2];if((b|0)<=(c|0)){b=c;break k}C[h+4>>2]=b}C[h+8>>2]=g;C[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}d=f<<1;if(l){C[n+16>>2]=C[n+16>>2]-f;h=n+4|0;a=C[n+12>>2];b=l-1|0;m:{if(!b){c=h;break m}while(1){c=C[h+44>>2];e=c-a|0;n:{if((e|0)<(d|0)){c=((e|0)/2|0)+a|0;a=c;break n}c=c-f|0;a=a+f|0}C[h+8>>2]=a;C[h+44>>2]=c;a=C[h+40>>2];c=h+32|0;h=c;b=b-1|0;if(b){continue}break}}C[c+8>>2]=a+f}if(i){C[m+16>>2]=C[m+16>>2]-f;h=m+4|0;a=C[m+12>>2];b=i-1|0;o:{if(!b){i=h;break o}while(1){c=C[h+44>>2];e=c-a|0;p:{if((e|0)>=(d|0)){i=c-f|0;a=a+f|0;break p}i=((e|0)/2|0)+a|0;a=i}C[h+8>>2]=a;C[h+44>>2]=i;a=C[h+40>>2];i=h+32|0;h=i;b=b-1|0;if(b){continue}break}}C[i+8>>2]=a+f}}function $l(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}i=a-124|0;while(1){c=C[i>>2];if(!c){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=Of(c,1717920116);h=Ce-16|0;Ce=h;b:{if(!d){break b}c=C[d>>2];if(!c){break b}C[d>>2]=c+1}e=d;A[b+24|0]=0;C[b+32>>2]=d;c=C[d+12>>2];C[b+4>>2]=c;f=C[d+16>>2];C[b+8>>2]=f+c;C[b+28>>2]=0;if(f>>>0>67108862){g=1073741823}else{g=f<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[b+12>>2]=g;C[b+20>>2]=0;C[b>>2]=0;c:{d:{if(!c){break d}e:{f:{g:{h:{if((f|0)<12){break h}C[b+12>>2]=g-12;if((D[c|0]|D[c+1|0]<<8)!=256){break h}e=D[c+4|0]|D[c+5|0]<<8;C[h+8>>2]=c;i:{if(_n(c+12|0,b,(e<<8|e>>>8)&65535,h+8|0)){break i}if(D[b+24|0]|!C[b+28>>2]){break h}c=Pf(d);C[b+4>>2]=c;C[b+8>>2]=c+C[d+16>>2];if(!c){break h}while(1){A[b+24|0]=1;e=C[b+32>>2];c=C[e+12>>2];C[b+4>>2]=c;g=C[e+16>>2];C[b+8>>2]=g+c;f=1073741823;C[b+28>>2]=0;if(g>>>0<=67108862){f=g<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}C[b+12>>2]=f;C[b+20>>2]=0;C[b>>2]=0;if(!c){break d}if((g|0)<=11){break h}C[b+12>>2]=f-12;if((D[c|0]|D[c+1|0]<<8)!=256){break h}e=D[c+4|0]|D[c+5|0]<<8;C[h+8>>2]=c;if(_n(c+12|0,b,(e<<8|e>>>8)&65535,h+8|0)){break i}if(D[b+24|0]|!C[b+28>>2]){break h}c=Pf(d);C[b+4>>2]=c;C[b+8>>2]=c+C[d+16>>2];if(c){continue}break}break h}if(!C[b+28>>2]){break g}C[b+28>>2]=0;if(F[b+4>>2]>c>>>0){break h}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<=11){break h}e=C[b+12>>2]-12|0;C[b+12>>2]=e;if((D[c|0]|D[c+1|0]<<8)!=256|(e|0)<=0){break h}e=D[c+4|0]|D[c+5|0]<<8;C[h+12>>2]=c;c=_n(c+12|0,b,(e<<8|e>>>8)&65535,h+12|0);if(C[b+28>>2]){break h}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(c){break f}break e}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break e}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);d=84608;break c}Ue(e);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}Ce=h+16|0;d=d?d:84608;c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<12?84608:C[c+12>>2]}function ll(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=J(0),q=0;k=Ce+-64|0;Ce=k;l=uq(a,b);a:{if(!l){break a}b:{c:{if(!(!C[105690]|(a&b)==-1)){d:{if(e){m=D[423084];if(f){if(m&1){break b}m=C[e+28>>2];p=J(J(m|0)*h);e:{if(J(K(p))0?j:0;m=(j|0)<(m|0)?j:m-1|0;q=C[e+24>>2];p=J(J(q|0)*g);f:{if(J(K(p))0?j:0;Bl(e,-1,0,(j|0)<(q|0)?j:q-1|0,m);rn(e,-1,1,1);break d}if(!(m&((a|0)==C[105772]&(b|0)==C[105773]))|((c|0)!=C[105774]|(d|0)!=C[105775])){break c}rn(e,-1,0,1);break c}if(!f){break c}}if(D[423084]){break b}C[105772]=a;C[105773]=b;A[423084]=1;C[105774]=c;C[105775]=d;break b}if((a&b)!=-1){break b}if(!C[105691]){break a}break b}if(!D[423084]|((a|0)!=C[105772]|(b|0)!=C[105773])){break b}if((c|0)!=C[105774]|(d|0)!=C[105775]){break b}A[423084]=0}o=C[l+12>>2];j=0;g:{if((o|0)<=0){break g}q=C[l+20>>2];h:{while(1){m=C[q+(n<<2)>>2];if((c|0)==C[m>>2]&(d|0)==C[m+4>>2]){break h}n=n+1|0;if((o|0)!=(n|0)){continue}break}j=0;break g}j=(n|0)<(o|0)?m:0}if(f){if(j){ll(a,b,c,d,e,0,g,h,i);o=C[l+12>>2]}n=C[l+20>>2];i:{j:{if(C[l+16>>2]==(o|0)){f=Rf(n,(o<<2)+4|0);if(!f){break j}C[l+20>>2]=f;m=Fe[C[94762]](24)|0;if(m){C[94766]=C[94766]+1}j=C[l+16>>2];f=j<<2;C[f+C[l+20>>2]>>2]=m;n=C[l+20>>2];if(!C[f+n>>2]){break j}C[l+16>>2]=j+1;o=C[l+12>>2]}C[l+12>>2]=o+1;f=C[(o<<2)+n>>2];G[f+16>>2]=i;G[f+12>>2]=h;G[f+8>>2]=g;C[f>>2]=c;C[f+4>>2]=d;break i}if((_e(0)|0)<0){break a}}if((qf(1792,-1)|0)!=1){break a}G[k+48>>2]=i;C[k+40>>2]=0;C[k+44>>2]=0;G[k+36>>2]=h;G[k+32>>2]=g;C[k+24>>2]=c;C[k+28>>2]=d;C[k+16>>2]=a;C[k+20>>2]=b;C[k+8>>2]=1792;if(e){a=pq(e)}else{a=0}C[k+52>>2]=a;Df(k+8|0);break a}if(!j){break a}if((qf(1793,-1)|0)==1){C[k+24>>2]=c;C[k+28>>2]=d;C[k+16>>2]=a;C[k+20>>2]=b;C[k+8>>2]=1793;G[k+32>>2]=G[j+8>>2];g=G[j+12>>2];G[k+48>>2]=i;C[k+40>>2]=0;C[k+44>>2]=0;G[k+36>>2]=g;if(e){a=pq(e)}else{a=0}C[k+52>>2]=a;Df(k+8|0)}j=C[l+12>>2];if((j|0)<=0){break a}f=C[l+20>>2];n=0;while(1){e=f+(n<<2)|0;b=C[e>>2];a=b;if(C[a>>2]!=(c|0)|C[a+4>>2]!=(d|0)){n=n+1|0;if((j|0)!=(n|0)){continue}break a}break}a=j-1|0;C[l+12>>2]=a;a=a<<2;C[e>>2]=C[a+f>>2];C[a+C[l+20>>2]>>2]=b}Ce=k- -64|0}function Bp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=C[a+228>>2];g=d>>8;m=c>>8;a:{if(C[a+176>>2]<=(((g|0)<(m|0)?g:m)|0)){break a}i=C[a+172>>2];if((i|0)>(((g|0)>(m|0)?g:m)|0)){break a}o=c&255;f=C[a+220>>2];h=C[a+224>>2];d=h-d|0;if((g|0)==(m|0)){Bm(a,g,f,d,b,o);break a}j=c-h|0;if((b|0)==(f|0)){o=(j^-1)>>>23&256;d=o-d|0;h=d+C[a+192>>2]|0;C[a+192>>2]=h;e=b<<1&510;l=C[a+188>>2]+I(e,d)|0;C[a+188>>2]=l;n=j>>31|1;g=n+g|0;k=g-i|0;d=C[a+168>>2];j=b>>8;d=((d|0)<(j|0)?d:j)-C[a+164>>2]|0;d=(d|0)<0?-1:d;if(!((d|0)==C[a+156>>2]&C[a+160>>2]==(k|0))){if(!C[a+196>>2]){Uh(a)}C[a+160>>2]=k;C[a+156>>2]=d;l=0;h=0}f=1;i=C[a+184>>2];f=i>>>0>k>>>0?C[a+180>>2]<=(d|0):f;C[a+196>>2]=f;if((g|0)!=(m|0)){p=(o<<1)-256|0;q=I(p,e);while(1){h=h+p|0;C[a+192>>2]=h;l=l+q|0;C[a+188>>2]=l;r=d;d=C[a+168>>2];d=((d|0)<(j|0)?d:j)-C[a+164>>2]|0;d=(d|0)<0?-1:d;s=k;g=g+n|0;k=g-C[a+172>>2]|0;if(!((r|0)==(d|0)&(s|0)==(k|0))){if(!f){Uh(a);i=C[a+184>>2]}C[a+160>>2]=k;C[a+156>>2]=d;C[a+188>>2]=0;C[a+192>>2]=0;l=0;h=0}f=1;f=i>>>0>k>>>0?(d|0)>=C[a+180>>2]:f;C[a+196>>2]=f;if((g|0)!=(m|0)){continue}break}}d=o+(c|-256)|0;C[a+192>>2]=d+h;C[a+188>>2]=I(d,e)+l;break a}i=b-f|0;h=d;b:{if((j|0)>=0){k=256;d=256-d|0;l=1;break b}j=0-j|0;l=-1}r=f;s=h;d=I(d,i);f=(d|0)/(j|0)|0;h=d-I(f,j)|0;f=(r+f|0)+(h>>31)|0;Bm(a,g,r,s,f,k);e=C[a+168>>2];n=f>>8;e=((e|0)<(n|0)?e:n)-C[a+164>>2]|0;e=(e|0)<0?-1:e;g=g+l|0;d=g-C[a+172>>2]|0;if(!((e|0)==C[a+156>>2]&(d|0)==C[a+160>>2])){if(!C[a+196>>2]){Uh(a)}C[a+160>>2]=d;C[a+156>>2]=e;C[a+188>>2]=0;C[a+192>>2]=0}C[a+196>>2]=(e|0)>=C[a+180>>2]|d>>>0>=F[a+184>>2];c:{if((g|0)==(m|0)){i=256-k|0;break c}i=i<<8;d=(i|0)/(j|0)|0;i=i-I(d,j)|0;e=i>>31;n=(e&j)+i|0;p=d+e|0;i=256-k|0;h=h-((h|0)>=0?j:0)|0;while(1){d=f;h=h+n|0;q=(h|0)>=0;f=q+(f+p|0)|0;Bm(a,g,d,i,f,k);e=C[a+168>>2];d=f>>8;e=((d|0)>(e|0)?e:d)-C[a+164>>2]|0;e=(e|0)<0?-1:e;g=g+l|0;d=g-C[a+172>>2]|0;if(!((e|0)==C[a+156>>2]&(d|0)==C[a+160>>2])){if(!C[a+196>>2]){Uh(a)}C[a+160>>2]=d;C[a+156>>2]=e;C[a+188>>2]=0;C[a+192>>2]=0}h=h-(q?j:0)|0;C[a+196>>2]=(e|0)>=C[a+180>>2]|d>>>0>=F[a+184>>2];if((g|0)!=(m|0)){continue}break}}Bm(a,m,f,i,b,o)}C[a+224>>2]=c;C[a+220>>2]=b;C[a+228>>2]=c&-256}function ul(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(!((c|0)!=240|e|(b|0)!=3840)){if((d|0)==15){break a}}if((c|0)!=240|e|(b|0)!=15){break b}f=357698562;if((d|0)!=3840){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&(d|0)==31744&(b|0)==31;if(!e){f=357764866;if(a){break a}}if(!((e|0)!=61440|(c|0)!=240|(b|0)!=3840)){f=355602434;if((d|0)==15){break a}}if(!((e|0)!=15|(c|0)!=3840|(b|0)!=61440)){f=356651010;if((d|0)==240){break a}}if(!((e|0)!=61440|(c|0)!=240|(b|0)!=15)){f=359796738;if((d|0)==3840){break a}}if(!((e|0)!=15|(c|0)!=3840|(b|0)!=240)){f=360845314;if((d|0)==61440){break a}}f=355667970;if(g&(e|0)==32768){break a}if(!((e|0)!=1|(b|0)!=63488|(c|0)!=1984)){f=356782082;if((d|0)==62){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&(d|0)==255&(c|0)==65280;if(!e){f=370546692;if(a){break a}}g=(b|0)==-16777216&(d|0)==65280&(c|0)==16711680;if(!e){f=371595268;if(g){break a}}h=(b|0)==255&(d|0)==16711680&(c|0)==65280;if(!e){f=374740996;if(h){break a}}i=(b|0)==65280&(d|0)==-16777216&(c|0)==16711680;if(!e){f=375789572;if(i){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 dH(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,j=0,k=0,l=0;j=Ce-640|0;Ce=j;i=C[b+92>>2];a:{b:{a=c;if(d>>>0<=a>>>0){break b}while(1){f=E[(I(a,20)+i|0)+16>>1];if(f>>>0>56319?1<>1];c:{if(!(!(1<>>0<56576)){f=a;break c}if(a>>>0>=d>>>0){f=a;break c}f=a;d:{while(1){e=I(f,20)+i|0;g=E[e+16>>1];if(!(1<>2];e:{if((e|0)<=1755){e=e-1620|0;if(e>>>0>4){break d}if(1<>>0<=12:0)){break e}if((e|0)!=2259){break d}}f=f+1|0;if((f|0)!=(d|0)){continue}break}f=d}if((a|0)==(f|0)){f=a;break c}if(f-c>>>0>=2){fg(b,c,f)}e=h;h=f-a|0;g=I(h,20);l=jf(j,e,g);e=(c-a|0)+f|0;k=I(c,20)+i|0;Yf(I(e,20)+i|0,k,I(a-c|0,20));jf(k,l,g);if(c>>>0>=e>>>0){break c}if(h&1){h=I(c,20)+i|0;g=E[h+16>>1];if(1<>1]=g&255|6400}c=c+1|0}if((a+1|0)!=(f|0)){while(1){a=I(c,20)+i|0;h=E[a+16>>1];if(1<>1]=h&255|6400}h=E[a+36>>1];if(1<>1]=h&255|6400}c=c+2|0;if((e|0)!=(c|0)){continue}break}}c=e}f:{if(d>>>0<=f>>>0){break f}while(1){a=E[(I(f,20)+i|0)+16>>1];if(a>>>0>58879?1<>1];if(!(!(1<>>0<59136)|d>>>0<=f>>>0){break a}a=f;g:{while(1){e=I(a,20)+i|0;g=E[e+16>>1];if(!(1<>2];h:{if((e|0)<=1755){e=e-1620|0;if(e>>>0>4){break g}if(1<>>0<=12:0)){break h}if((e|0)!=2259){break g}}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}if((a|0)==(f|0)){break a}if(a-c>>>0>=2){fg(b,c,a)}d=a-f|0;e=I(d,20);h=jf(j,h,e);b=(c-f|0)+a|0;g=I(c,20)+i|0;Yf(I(b,20)+i|0,g,I(f-c|0,20));jf(g,h,e);if(b>>>0<=c>>>0){break a}if(d&1){d=I(c,20)+i|0;e=E[d+16>>1];if(1<>1]=e&255|6656}c=c+1|0}if((f+1|0)==(a|0)){break a}while(1){a=I(c,20)+i|0;d=E[a+16>>1];if(1<>1]=d&255|6656}d=E[a+36>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}Ce=j+640|0}function _v(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=J(0),v=0,w=0,x=0,y=0,z=0,A=J(0);q=(b|0)/4|0;t=kf(q<<2);i=kf(b+q<<2);C[a+12>>2]=t;C[a+8>>2]=i;C[a>>2]=b;u=J(b|0);c=+u;o(+c);d=j(1)|0;h=j(0)|0;f=d-1072562176|0;a:{if((f|0)==198911|f>>>0<198911){g=0;if(!h&(d|0)==1072693248){break a}c=c+-1;g=c*134217728;g=c+g-g;s=H[45675];v=g*g*s;w=c+v;m=c*c;k=c*m;g=w+(k*(k*(k*(k*H[45685]+(m*H[45684]+(c*H[45683]+H[45682])))+(m*H[45681]+(c*H[45680]+H[45679])))+(m*H[45678]+(c*H[45677]+H[45676])))+((c-g)*s*(c+g)+(v+(c-w))));break a}f=d>>>16|0;b:{if(f-32752>>>0<=4294934559){if(!(d&2147483647|h)){d=Ce-16|0;H[d+8>>3]=-1;g=H[d+8>>3]/0;break a}if(!h&(d|0)==2146435072){break b}if(!(!(f&32768)&(f&32752)!=32752)){c=c-c;g=c/c;break a}o(+(c*4503599627370496));d=j(1)|0;h=j(0)|0;d=d-54525952|0}f=d-1072037888|0;r=f;m=+(f>>20);f=(f>>>13&127)<<4;k=m*H[45668]+H[f+365496>>3];c=H[f+365488>>3];l(0,h|0);l(1,d-(r&-1048576)|0);c=c*(+n()-H[f+367536>>3]-H[f+367544>>3]);s=k+c;g=c*c;c=s+(c*g*(g*(c*H[45674]+H[45673])+(c*H[45672]+H[45671]))+(g*H[45670]+(m*H[45669]+(c+(k-s)))))}g=c}c=pT(g/.6931471805599453);c:{if(K(c)<2147483648){h=~~c;break c}h=-2147483648}C[a+4>>2]=h;d:{if((b|0)<4){break d}d=b>>1;c=+(b|0);g=3.141592653589793/c;m=3.141592653589793/+(b<<1);while(1){k=g*+(e<<2);z=i+(e<<3)|0,A=J(mh(k)),G[z>>2]=A;f=e<<1;r=f|1;z=i+(r<<2)|0,A=J(-J(pi(k))),G[z>>2]=A;f=i+(d+f<<2)|0;k=m*+(r|0);z=f,A=J(pi(k)),G[z+4>>2]=A;z=f,A=J(mh(k)),G[z>>2]=A;e=e+1|0;if((q|0)!=(e|0)){continue}break}if((b|0)<8){break d}f=(b|0)/8|0;c=3.141592653589793/c;e=0;while(1){d=i+((e<<1)+b<<2)|0;g=c*+(e<<2|2);z=d,A=J(pi(g)*-.5),G[z+4>>2]=A;z=d,A=J(mh(g)*.5),G[z>>2]=A;e=e+1|0;if((f|0)!=(e|0)){continue}break}if((b|0)<8){break d}b=h-2|0;d=1<0?b:0;b=x+1|0;y=b&-4;q=b&3;while(1){e=0;i=d;h=0;b=0;if(x>>>0>=3){while(1){h=(i&p?1<>(e|1)&p?2<>(e|2)&p?4<>i&p?1<>e;b=b+4|0;if((y|0)!=(b|0)){continue}break}}b=0;if(q){while(1){h=(i&p?1<>e;b=b+1|0;if((q|0)!=(b|0)){continue}break}}b=(p<<3)+t|0;C[b>>2]=-2-(h|r);C[b+4>>2]=h;p=p+1|0;if((f|0)!=(p|0)){continue}break}}G[a+16>>2]=J(4)/u}function ql(a,b,c,d){var e=0,f=J(0),g=J(0),h=J(0),i=0,j=J(0),k=0,l=J(0),m=J(0),n=0,o=0;k=Ce-16|0;Ce=k;if(d){G[k>>2]=C[d>>2];G[k+4>>2]=C[d+4>>2];G[k+8>>2]=C[d+8>>2];G[k+12>>2]=C[d+12>>2];d=k}else{d=0}e=Ce-160|0;Ce=e;a:{if(!(C[a>>2]==422837?a:0)){C[e>>2]=9675;Qe(19745,e);break a}if(!(C[b>>2]==422838?b:0)){C[e+16>>2]=16603;Qe(19745,e+16|0);break a}if(C[b+36>>2]!=(a|0)){Qe(9641,0);break a}n=C[a+40>>2];C[e+144>>2]=0;C[e+148>>2]=0;C[e+152>>2]=C[b+12>>2];C[e+156>>2]=C[b+16>>2];b:{if(!c){break b}i=c;c=e+144|0;if(yg(i,c,c)){break b}break a}C[e+128>>2]=0;C[e+132>>2]=0;G[e+136>>2]=H[a+248>>3]/+G[a+368>>2];G[e+140>>2]=H[a+256>>3]/+G[a+372>>2];if(d){c=e+128|0;i=Ce-32|0;Ce=i;c:{if(!d){C[i>>2]=28750;Qe(19745,i);break c}if(!c){C[i+16>>2]=28746;Qe(19745,i+16|0);break c}g=G[d+8>>2];if(g<=J(0)){break c}h=G[d+12>>2];if(h<=J(0)){break c}f=G[c+8>>2];if(f<=J(0)){break c}j=G[c+12>>2];if(j<=J(0)){break c}l=f;f=G[c>>2];m=J(l+f);l=g;g=G[d>>2];l=J(l+g);if((mg?f:g)){break c}f=G[c+4>>2];j=J(f+j);g=G[d+4>>2];h=J(g+h);if((h>j?j:h)<=(f>g?f:g)){break c}o=1}Ce=i+32|0;if(!o){break a}c=C[d+12>>2];C[e+136>>2]=C[d+8>>2];C[e+140>>2]=c;c=C[d+4>>2];C[e+128>>2]=C[d>>2];C[e+132>>2]=c}c=C[b+40>>2];c=c?c:b;C[c+76>>2]=C[a+448>>2];d:{if(!n){b=C[46053];C[e+48>>2]=C[46052];C[e+52>>2]=b;b=C[46051];C[e+40>>2]=C[46050];C[e+44>>2]=b;b=C[46049];C[e+32>>2]=C[46048];C[e+36>>2]=b;b=C[c+16>>2];d=C[e+144>>2];f=J(C[c+12>>2]);g=J(J(d|0)/f);G[e+64>>2]=g;i=C[e+148>>2];h=J(b|0);j=J(J(i|0)/h);G[e+68>>2]=j;f=J(J(d+C[e+152>>2]|0)/f);G[e+72>>2]=f;G[e+76>>2]=j;G[e+80>>2]=f;f=J(J(i+C[e+156>>2]|0)/h);G[e+84>>2]=f;G[e+88>>2]=g;G[e+92>>2]=f;h=G[e+136>>2];f=G[e+128>>2];g=G[e+132>>2];j=J(g+G[e+140>>2]);G[e+124>>2]=j;G[e+120>>2]=f;G[e+116>>2]=j;h=J(f+h);G[e+112>>2]=h;G[e+108>>2]=g;G[e+104>>2]=h;G[e+100>>2]=g;G[e+96>>2]=f;b=Pq(a,c,e+96|0,c+32|0,e- -64|0,8,4,e+32|0,6,G[a+368>>2],G[a+372>>2]);break d}g=G[a+368>>2];G[e+128>>2]=g*G[e+128>>2];f=G[a+372>>2];G[e+136>>2]=g*G[e+136>>2];G[e+132>>2]=f*G[e+132>>2];G[e+140>>2]=f*G[e+140>>2];b=-1;d=rk(a,8,c);if(d){b=Fe[C[a+40>>2]](a,d,c,e+144|0,e+128|0)|0;if((b|0)<0){C[d>>2]=0}}}if((b|0)<0){break a}Xq(a)}Ce=e+160|0;Ce=k+16|0}function Qw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=C[a+16>>2];n=D[d+6|0]<<8|D[d+7|0]&254;if(!n){return 0}t=n+2|0;q=d+14|0;m=C[b>>2]+((c|0)!=0)|0;u=n>>>1|0;j=u;a:{b:{c:{while(1){d:{h=f+j|0;e=(h&-2)+q|0;k=D[e|0]<<8|D[e+1|0];d=h>>>1|0;e=e+t|0;r=D[e|0]<<8|D[e+1|0];if(r>>>0<=m>>>0){if(k>>>0>=m>>>0){break d}f=d+1|0}else{j=d}if(f>>>0>>0){continue}break c}break}f=e+n|0;w=D[f|0]<<8|D[f+1|0];o=w;g=f+n|0;v=D[g|0]<<8|D[g+1|0];j=v;e:{f:{g:{h:{i:{j:{k:{l:{if(!((r|0)!=65535|u-1>>>0>d>>>0|(k|0)!=65535)){if(!v){break l}f=C[a>>2];f=(g+v|0)+2>>>0>C[f+500>>2]+C[f+504>>2]>>>0;j=f?0:v;o=f?1:w}if(!(D[a+20|0]&2)){break j}l=d+1|0;f=(j|0)==65535?l:d;break k}if(!(D[a+20|0]&2)){k=65535;break f}l=d+1|0;j=0;f=d}if(h>>>0<2){break i}i=d-1|0;p=i<<1;h=p+q|0;s=D[h|0]<<8|D[h+1|0];if(s>>>0>>0){break i}y=q+t|0;m:{while(1){n:{h=s;e=i;x=p+y|0;o=x+n|0;g=o+n|0;j=D[g|0]<<8|D[g+1|0];f=(j|0)==65535?f:e;if(!e){break n}i=e-1|0;p=i<<1;s=p+q|0;s=D[s|0]<<8|D[s+1|0];if(s>>>0>=m>>>0){continue}break m}break}e=0}o=D[o+1|0]|D[o|0]<<8;p=D[x+1|0]|D[x|0]<<8;break h}e=d;if((j|0)==65535){break a}break g}e=d;h=k;p=r}o:{if((f|0)!=(l|0)){k=h;break o}if((d|0)!=(e|0)){o=w;j=v;p=r;h=k}p:{q:{if(l>>>0>>0){e=(l<<1)+q|0;g=t+e|0;i=D[g|0]<<8|D[g+1|0];if(m>>>0>>0){f=d;break p}f=d;break q}i=0;k=h;e=l-1|0;break a}r:{while(1){s:{p=i;h=e;k=(e+t|0)+n|0;g=k+n|0;j=D[g|0]<<8|D[g+1|0];f=(j|0)==65535?f:l;l=l+1|0;if((u|0)==(l|0)){break s}e=(l<<1)+q|0;g=t+e|0;i=D[g|0]<<8|D[g+1|0];if(m>>>0>=i>>>0){continue}break r}break}l=u}o=D[k+1|0]|D[k|0]<<8;h=D[h+1|0]|D[h|0]<<8}k=h;i=0;e=l-1|0;if((d|0)==(f|0)){break a}}if((f|0)==(e|0)){d=f;r=p;break g}d=(f<<1)+q|0;k=D[d|0]<<8|D[d+1|0];d=d+t|0;r=D[d|0]<<8|D[d+1|0];d=d+n|0;o=D[d|0]<<8|D[d+1|0];g=d+n|0;j=D[g|0]<<8|D[g+1|0];d=f}if(j){break e}}i=m+o&65535;e=d;break a}h=((m-r<<1)+j|0)+g|0;h=D[h|0]<<8|D[h+1|0];if(!h){break c}i=h+o&65535;break b}i=0}e=d}if(!c){return i}t:{if(k>>>0>>0){g=0;e=e+1|0;if((u|0)==(e|0)){break t}}u:{if(Gw(a,e)){g=i;if(g){break u}return 0}C[a+24>>2]=m;if(i){C[a+28>>2]=i;g=i;break u}Pw(a);g=C[a+28>>2];if(!g){return 0}m=C[a+24>>2]}C[b>>2]=m}return g}function es(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce+-64|0;Ce=e;if(!C[104597]){f=Ce+-64|0;Ce=f;c=C[105780];if(C[105656]){while(1){if(D[b+419550|0]==2){Dl(2,0,b)}b=b+1|0;if((b|0)!=512){continue}break}C[105656]=0}if(c){Fe[C[c+280>>2]](c)}if(!D[419456]){a:{if(!En(512)){break a}b:{if(D[419528]){if(C[104880]){break b}break a}A[419528]=1;b=C[104881];if(b){while(1){c:{d:{if(!C[b+112>>2]){break d}c=C[b+128>>2];if(!c){break c}Fe[C[c+64>>2]](b);if(!C[b+120>>2]){break d}d=Ce+-64|0;Ce=d;c=C[104873];e:{if(!c){break e}while(1){if(C[c>>2]==(b|0)){C[d+8>>2]=1618;h=Ph();g=C[c>>2];if(((C[c+28>>2]-h|0)+250|0)>0){C[g+120>>2]=1;break e}C[g+120>>2]=0;if((qf(1618,-1)|0)!=1){break e}c=C[C[c>>2]>>2];B[d+20>>1]=5;C[d+16>>2]=c;Df(d+8|0);break e}c=C[c+32>>2];if(c){continue}break}}Ce=d- -64|0}c=C[b+92>>2];f:{if(!c){break f}g:{if(C[104880]){c=C[b+92>>2];if(!c){break g}}if((c-Ph()|0)>0){break g}h:{if(E[b+88>>1]|E[b+90>>1]){if(Fe[C[C[b+128>>2]+40>>2]](b,0,0)|0){break h}}C[b+88>>2]=0;C[b+92>>2]=0}if(!C[104880]){break f}}if(!C[104880]){break f}}c=C[b+100>>2];if(!c){break c}i:{if(C[104880]){c=C[b+100>>2];if(!c){break i}}if((c-Ph()|0)>0){break i}j:{if(E[b+96>>1]|E[b+98>>1]){if(Fe[C[C[b+128>>2]+44>>2]](b,0,0)|0){break j}}C[b+96>>2]=0;C[b+100>>2]=0}if(!C[104880]){break c}}if(!C[104880]){break c}}b=C[b+140>>2];if(b){continue}break}}A[419528]=0;b=C[104881];if(b){while(1){c=C[b+140>>2];if(C[b+136>>2]<=0){wn(b)}b=c;if(b){continue}break}}Fe[C[95602]]();if(!C[104880]){break a}}}}if(!D[419460]){k:{if(!En(32768)){break k}l:{if(D[422848]){if(C[105710]){break l}break k}A[422848]=1;b=C[105711];if(b){while(1){Fe[C[C[b+80>>2]+32>>2]](b);b=C[b+92>>2];if(b){continue}break}}A[422848]=0;b=C[105711];if(b){while(1){c=C[b+92>>2];if(C[b+88>>2]<=0){Gz(b)}b=c;if(b){continue}break}}Fe[C[95591]]();if(!C[105710]){break k}}}}if(D[422836]){A[422836]=0;yn(256)}b=C[104727];if(!(A[b|0]&1?b:0)){b=f+8|0;mf(b,0,56);C[f+8>>2]=32512;Df(b)}Ce=f- -64|0}b=xk(a,1,2,0,65535,1);m:{if((b|0)<0){break m}n:{if(a){if(C[a>>2]==32512){break m}break n}if(!xk(e+8|0,1,1,0,65535,1)|C[e+8>>2]!=32512){break n}xk(e+8|0,1,2,32512,32512,1);break m}i=(b|0)!=0}Ce=e- -64|0;return i}function Ns(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a=Ce-288|0;Ce=a;uv(a+16|0,C[97740]);c=C[a+20>>2];b=C[a+16>>2];C[97744]=b;C[97745]=c;j=c;if(c){h=b;while(1){We(a+16|0,0,257);a:{if(D[e+h|0]!=58){break a}C[a+12>>2]=0;d=58;b=e;while(1){c=d&255;if((c|0)==47){break a}if((c|0)==10){d=0;c=b+1|0;e=D[h+c|0];if((e|0)!=58){while(1){A[(a+12|0)+d|0]=e;d=d+1|0;b=c;c=b+1|0;e=D[h+c|0];if((e|0)!=58){continue}break}}c=a+12|0;A[c+d|0]=0;g=Zf(c);if((g|0)>C[99546]){C[99546]=g}d=0;f=0;e=b+3|0;b=D[h+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}}A[(a+16|0)+f|0]=b;f=f+1|0}e=e+1|0;b=D[h+e|0];if((b|0)!=10){continue}break}}A[(a+16|0)+f|0]=0;A[a+8|0]=0;C[a>>2]=0;C[a+4>>2]=0;c=1;b=D[a+16|0];e:{if((b|0)==44){i=0;break e}while(1){A[a+d|0]=b;d=d+1|0;b=D[d+(a+16|0)|0];if((b|0)!=44){continue}break}i=D[a|0];if((i|0)!=42){break e}b=D[a+5|0]|D[a+6|0]<<8|(D[a+7|0]<<16|D[a+8|0]<<24);i=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);C[a>>2]=i;C[a+4>>2]=b;c=16}g=I(g,24)+390832|0;k=g,l=I(Zf(a),c),C[k+152>>2]=l;b=0;c=d+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){while(1){A[a+b|0]=f;b=b+1|0;d=c;c=c+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){continue}break}i=D[a|0]}b=1;if((i&255)==42){b=D[a+5|0]|D[a+6|0]<<8|(D[a+7|0]<<16|D[a+8|0]<<24);C[a>>2]=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);C[a+4>>2]=b;b=16}k=g,l=I(b,Zf(a)),C[k+156>>2]=l;c=0;b=d+2|0;d=D[b+(a+16|0)|0];if((d|0)!=44){while(1){A[a+c|0]=d;c=c+1|0;b=b+1|0;d=D[b+(a+16|0)|0];if((d|0)!=44){continue}break}}k=g,l=Zf(a),C[k+160>>2]=l;d=0;c=b+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){while(1){A[a+d|0]=f;d=d+1|0;b=c;c=b+1|0;f=D[c+(a+16|0)|0];if((f|0)!=44){continue}break}}k=g,l=Zf(a),C[k+164>>2]=l;d=0;c=b+2|0;b=D[c+(a+16|0)|0];if((b|0)!=44){while(1){A[a+d|0]=b;d=d+1|0;c=c+1|0;b=D[c+(a+16|0)|0];if((b|0)!=44){continue}break}}k=g,l=Zf(a),C[k+168>>2]=l;b=0;d=c+1|0;c=D[d+(a+16|0)|0];if((c|0)!=44){while(1){A[a+b|0]=c;b=b+1|0;d=d+1|0;c=D[d+(a+16|0)|0];if((c|0)!=44){continue}break}}k=g,l=Zf(a),C[k+172>>2]=l}else{b=b-1|0;d=D[h+b|0];continue}break}}e=e+1|0;if(j>>>0>e>>>0){continue}break}}Ce=a+288|0}function Ep(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,k=0,l=0,m=0,n=0,o=0;o=C[a+88>>2];C[c>>2]=0;g=a+760|0;a:{if(!D[a+780|0]){n=C[a+104>>2];C[g+16>>2]=0;C[g+20>>2]=0;h=8;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;e=E[a+152>>1];if(!e){break a}d=C[a+156>>2];e=d+(e<<4)|0;while(1){b:{if(C[d>>2]==1111770656){f=C[d+12>>2];if(f){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}if(bf(n,C[d+8>>2])|f>>>0<8){break a}if(eh(n,f,g)){break a}d=C[a+760>>2];C[a+764>>2]=d+f;c:{d:{if((D[d+1|0]|D[d|0]<<8)!=1){break d}e=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0<8){break d}l=D[d+2|0]<<8;k=D[d+3|0];h=l|k;if(f>>>0>>0|h>>>0>e-8>>>2>>>0){break d}C[a+772>>2]=f-e;m=d+e|0;C[a+768>>2]=m;C[a+776>>2]=h;d=d+8|0;j=d+(h<<2)|0;e:{if(!h){break e}f=k&3;if(f){e=d;while(1){h=h-1|0;j=I(D[e+3|0]|D[e+2|0]<<8,10)+j|0;d=e+4|0;e=d;i=i+1|0;if((f|0)!=(i|0)){continue}break}}if((k|l)-1>>>0<3){break e}while(1){j=(((I(D[d+3|0]|D[d+2|0]<<8,10)+j|0)+I(D[d+7|0]|D[d+6|0]<<8,10)|0)+I(D[d+11|0]|D[d+10|0]<<8,10)|0)+I(D[d+15|0]|D[d+14|0]<<8,10)|0;d=d+16|0;h=h-4|0;if(h){continue}break}}if(j>>>0<=m>>>0){break c}}Wf(n,g);C[g+16>>2]=0;C[g+20>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0;C[g>>2]=0;C[g+4>>2]=0;return 8}A[a+780|0]=1}h=6;if(!b|!o){break a}f=C[a+776>>2];m=af(b);if(!m|!f){break a}d=C[g>>2]+8|0;e=d+(f<<2)|0;i=E[o+14>>1];while(1){j=D[d+3|0]|D[d+2|0]<<8;if((i|0)==(D[d+1|0]|D[d|0]<<8)){if(!j){break a}while(1){f:{f=D[e+5|0];if(!(f&16)){break f}l=C[a+772>>2];d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(l>>>0<=d>>>0){break f}i=l-d|0;if(i>>>0<=m>>>0){break f}k=D[e+6|0]|D[e+7|0]<<8|(D[e+8|0]<<16|D[e+9|0]<<24);g=d;d=C[a+768>>2];if(cf(b,g+d|0,i)){break f}i=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);g:{switch(f&15){case 0:case 1:if(i>>>0>=l>>>0){break f}d=d+i|0;if(!ij(d,0,l)){break f}C[c+4>>2]=d;C[c>>2]=1;return 0;case 2:C[c+4>>2]=i;C[c>>2]=2;return 0;case 3:break g;default:break f}}C[c+4>>2]=i;C[c>>2]=3;return 0}e=e+10|0;j=j-1|0;if(j){continue}break}break a}d=d+4|0;e=I(j,10)+e|0;f=f-1|0;if(f){continue}break}}return h|0}function Rt(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{if((b|0)!=1196445523){j=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;j=F[a+16>>2]<10?84608:C[a+12>>2]}h=D[j+4|0]|D[j+5|0]<<8;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(c){a=h?((h<<8|h>>>8)&65535)+j|0:84608;l=D[a|0]|D[a+1|0]<<8;b=((l<<8|l>>>8)&65535)-1|0;p=a+2|0;while(1){if(l){n=(m<<2)+d|0;o=C[n>>2];g=0;a=b;while(1){k=a+g>>>1|0;i=I(k,6)+p|0;i=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);p:{if(i>>>0>o>>>0){a=k-1|0;break p}if((i|0)==(o|0)){break o}g=k+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}m=m+1|0;if((m|0)!=(c|0)){continue}break}}if(h){break n}a=84608;break m}if(e){C[e>>2]=k}if(!f){return 1}a=C[n>>2];b=1;break d}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=D[a|0]|D[a+1|0]<<8;if(b){c=a+2|0;a=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){d=a+g>>>1|0;b=c+I(d,6)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);q:{if(b>>>0>=1145457749){a=d-1|0;break q}if((b|0)==1145457748){break l}g=d+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}if(h){break k}a=84608;break j}if(e){C[e>>2]=d}a=1145457748;break e}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=D[a|0]|D[a+1|0]<<8;if(b){c=a+2|0;a=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){d=a+g>>>1|0;b=c+I(d,6)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);r:{if(b>>>0>=1684434037){a=d-1|0;break r}if((b|0)==1684434036){break i}g=d+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}if(h){break h}a=84608;break g}if(e){C[e>>2]=d}a=1684434036;break e}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=D[a|0]|D[a+1|0]<<8;if(b){c=a+2|0;a=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){d=a+g>>>1|0;b=c+I(d,6)|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);s:{if(b>>>0>=1818326127){a=d-1|0;break s}if((b|0)==1818326126){break f}g=d+1|0}if((a|0)>=(g|0)){continue}break}}if(e){C[e>>2]=65535}a=65535;break e}if(e){C[e>>2]=d}a=1818326126}b=0;if(!f){break c}}C[f>>2]=a}return b}function fg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(C[a+20>>2]==2){g=c-b|0;if(g>>>0<2|b>>>0>=c>>>0){break a}h=C[a+92>>2];e=-1;d=b;j=(d^-1)+c|0;if(j>>>0>=3){k=g&-4;while(1){f=I(d,20)+h|0;i=C[f+8>>2];e=e>>>0>>0?e:i;i=C[f+28>>2];e=e>>>0>>0?e:i;i=C[f+48>>2];e=e>>>0>>0?e:i;f=C[f+68>>2];e=e>>>0>>0?e:f;d=d+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}k=g&3;if(k){f=0;while(1){i=C[(I(d,20)+h|0)+8>>2];e=e>>>0>>0?e:i;d=d+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}d=C[a+36>>2];if(g&1){g=I(b,20)+h|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+1|0}if(!j){break a}while(1){g=I(b,20)+h|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}g=I(b+1|0,20)+h|0;if(C[g+8>>2]!=(e|0)){d=d|16;C[a+36>>2]=d;C[g+4>>2]=C[g+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}break a}g=C[a+92>>2];j=C[(g+I(b,20)|0)+8>>2];e=j;d=b+1|0;b:{if(d>>>0>=c>>>0){break b}h=(c-b|0)-2|0;k=(b^-1)+c&3;if(k){while(1){i=C[(g+I(d,20)|0)+8>>2];e=e>>>0>>0?e:i;d=d+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(h>>>0<=2){break b}while(1){h=g+I(d,20)|0;f=C[h+8>>2];e=e>>>0>>0?e:f;f=C[h+28>>2];e=e>>>0>>0?e:f;f=C[h+48>>2];e=e>>>0>>0?e:f;h=C[h+68>>2];e=e>>>0>>0?e:h;d=d+4|0;if((d|0)!=(c|0)){continue}break}}d=C[a+80>>2];c:{if(d>>>0<=c>>>0){break c}while(1){h=g+I(c,20)|0;if(C[h-12>>2]!=C[h+8>>2]){break c}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}f=C[a+76>>2];h=b>>>0>f>>>0?f:b;while(1){d:{d=b;if(f>>>0>=d>>>0){d=h;break d}b=d-1|0;if((j|0)==C[(g+I(b,20)|0)+8>>2]){continue}}break}e:{if((d|0)!=(f|0)){break e}b=C[a+84>>2];if(!b){break e}h=g+I(f,20)|0;f=C[a+96>>2];while(1){b=b-1|0;a=f+I(b,20)|0;j=C[a+8>>2];if((j|0)!=C[h+8>>2]){break e}if((e|0)!=(j|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;if(b){continue}break}}if(c>>>0<=d>>>0){break a}b=d+1|0;if(c-d&1){a=g+I(d,20)|0;if(C[a+8>>2]!=(e|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;d=d+1|0}if((b|0)==(c|0)){break a}while(1){a=g+I(d,20)|0;if(C[a+8>>2]!=(e|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;a=g+I(d+1|0,20)|0;if(C[a+8>>2]!=(e|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=e;d=d+2|0;if((d|0)!=(c|0)){continue}break}}}function Gk(a){var 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;i=Ce-48|0;Ce=i;Ce=i+48|0;a:{if(!D[a+16|0]){g=C[a+12>>2];h=C[a>>2];o=D[84608];j=C[a+4>>2];while(1){b:{c:{d:{e:{if(!(k&1)){if(l){break b}e=g+1|0;if(e>>>0>j>>>0){break b}f:{if(g>>>0>>0){c=D[g+h|0];C[a+12>>2]=e;l=0;break f}A[a+16|0]=1;C[a+12>>2]=j;c=o;e=j;l=1}g=e;e=(c&240)>>>4|0;break e}e=c&15}switch(e-13|0){case 0:break b;case 2:break d;default:break c}}e=i+16|0;C[i+12>>2]=e;g=0;k=0;l=0;j=C[i+12>>2];e=e+f|0;g:{if(j>>>0>=e>>>0){f=j;break g}f=j;while(1){c=D[f|0];if(c-9>>>0>=5&(c|0)!=32){break g}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}h:{if((e|0)==(f|0)){f=e;break h}o=(e-f|0)+f|0;m=1;i:{while(1){c=A[m+35544|0];p=m<<1;q=D[p+35312|0];h=A[f|0];if((q|0)<=(h|0)){c=(h|0)>D[p+35313|0]?c:h-q|0}c=A[(D[m+35535|0]+35344|0)+c|0];j:{if(587>>>c&1){break j}k:{switch(A[c+35563|0]-1|0){case 0:k=1;break j;case 3:r=1;break j;case 1:b=b*10+ +(h-48|0);break j;case 2:if(!(d<=450359962737049)){break j}d=d*10+ +(h-48|0);n=n+1;break j;case 4:break k;default:break j}}m=(h+I(g,10)|0)-48|0;h=m>>>0>2047;g=h?g:m;l=h|l}if((c|0)==1){break i}m=A[c+35553|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}f=o}l:{m:{n:{o:{p:{if(n!=0){s=b;if(n<4294967296&n>=0){c=~~n>>>0}else{c=0}b=c&256?1e256:1;b=c&128?b*1e128:b;b=c&64?b*1e64:b;b=c&32?b*1e32:b;b=c&16?b*1e16:b;b=c&8?b*1e8:b;b=c&4?b*1e4:b;b=c&2?b*100:b;b=s+d/(c&1?b*10:b);if(k){break p}break o}if(!k){break o}}b=-b;if(!(l&1)){break n}break m}if(l&1){break m}}if(!g){break h}d=g&256?1e256:1;d=g&128?d*1e128:d;d=g&64?d*1e64:d;d=g&32?d*1e32:d;d=g&16?d*1e16:d;d=g&8?d*1e8:d;d=g&4?d*1e4:d;d=g&2?d*100:d;d=g&1?d*10:d;if(!r){break l}b=b/d;break h}if(b==0){break h}if(r){b=k?-22250738585072014e-324:22250738585072014e-324;break h}b=k?-17976931348623157e292:17976931348623157e292;break h}b=d*b}H[i>>3]=b;c=0;q:{if((f|0)==(j|0)){break q}C[i+12>>2]=f;c=(e|0)==(f|0)}if(!c){break b}b=H[i>>3];break a}A[(i+16|0)+f|0]=D[e+28752|0];r:{if((e|0)!=12){e=f;break r}e=f+1|0;if((e|0)==32){break b}A[(i+16|0)+e|0]=45}f=e+1|0;k=k+1|0;if(e>>>0<31){continue}}break}A[a+16|0]=1}b=0}return b}function Rh(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:{x:{y:{if((a|0)<=370546691){if((a|0)<=355667969){if((a|0)<=336660480){if((a|0)<=303039487){b=28637;if((a|0)==286261504){break a}if((a|0)!=287310080){break b}return 28557}if((a|0)==303039488){break y}if((a|0)==304088064){break x}if((a|0)!=318769153){break b}return 28824}if((a|0)<=353570561){if((a|0)==336660481){break w}if((a|0)!=353504258){break b}return 29274}if((a|0)==353570562){break u}if((a|0)==353701890){break p}if((a|0)!=355602434){break b}return 29322}if((a|0)<=357896193){if((a|0)<=356782081){if((a|0)==355667970){break s}if((a|0)!=356651010){break b}return 29372}if((a|0)==356782082){break r}if((a|0)==357698562){break v}if((a|0)!=357764866){break b}return 29143}if((a|0)<=359862273){if((a|0)==357896194){break o}if((a|0)!=359796738){break b}return 29297}if((a|0)==359862274){break q}if((a|0)==360845314){break t}if((a|0)!=360976386){break b}return 29693}if((a|0)<=390076418){if((a|0)<=374740995){if((a|0)<=372645891){if((a|0)==370546692){break m}if((a|0)!=371595268){break b}return 28924}if((a|0)==372645892){break k}if((a|0)==372711428){break h}if((a|0)!=373694468){break b}return 29024}if((a|0)<=376840195){if((a|0)==374740996){break l}if((a|0)!=375789572){break b}return 28899}if((a|0)==376840196){break j}if((a|0)==377888772){break i}if((a|0)!=386930691){break b}return 29419}if((a|0)<=844715352){if((a|0)<=842094157){if((a|0)==390076419){break n}if((a|0)==542328143){break c}if((a|0)!=825382478){break b}return 29743}switch(a-842094158|0){case 0:break d;case 11:break g;default:break b}}if((a|0)<=1448433992){if((a|0)==844715353){break e}if((a|0)!=1431918169){break b}return 22809}if((a|0)==1448433993){break f}if((a|0)!=1498831189){break b}return 22305}return 28597}return 28517}return 29575}return 29251}return 29166}return 29347}return 29214}return 29718}return 29189}return 29120}return 29097}return 29397}return 28876}return 28853}return 28974}return 28949}return 28999}return 29864}return 29598}return 22748}return 29528}return 29619}return 24385}b=25010}return b}function FJ(a,b){a=a|0;b=b|0;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,o=0;i=Ce-16|0;Ce=i;f=C[a+488>>2];g=C[b+8>>2];Fe[C[b+28>>2]](b);d=C[b>>2];a:{if(g>>>0<=d>>>0){C[b+12>>2]=3;break a}b:{l=D[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){h=C[b+16>>2];c:{if((l|0)==91){C[b>>2]=d+1;c=256;break c}c=Fe[C[b+36>>2]](b)|0}Fe[C[b+28>>2]](b);if(F[b>>2]>=g>>>0){break a}j=c;C[a+372>>2]=c;C[b+88>>2]=c;n=a,o=Ve(h,2,0,c,0,i+12|0),C[n+384>>2]=o;e=C[i+12>>2];if(e){break b}n=a,o=Ve(h,4,0,j,0,i+12|0),C[n+388>>2]=o;e=C[i+12>>2];if(e){break b}k=b+92|0;e=Fe[C[C[f>>2]>>2]](k,j,h)|0;C[i+12>>2]=e;if(e){break b}d:{if((j|0)<=0){break d}f=0;c=0;if(j>>>0>=4){h=j&-4;e=0;while(1){Fe[C[b+136>>2]](k,c,15690,8)|0;Fe[C[b+136>>2]](k,c|1,15690,8)|0;Fe[C[b+136>>2]](k,c|2,15690,8)|0;Fe[C[b+136>>2]](k,c|3,15690,8)|0;c=c+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}e=j&3;if(!e){break d}while(1){Fe[C[b+136>>2]](k,c,15690,8)|0;c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}Fe[C[b+28>>2]](b);c=C[b>>2];e:{if(g>>>0<=c>>>0){break e}m=(l|0)==91;e=0;while(1){f:{g:{h:{f=D[c|0];switch(f-93|0){case 0:break g;case 7:break h;default:break f}}d=c+3|0;if(D[c+1|0]!=101|g>>>0<=d>>>0|D[c+2|0]!=102){break f}switch(D[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}d=c+1|0;break e}i:{if(!(!m&f-48>>>0>9)){f=e;if(!m){f=Fe[C[b+36>>2]](b)|0;Fe[C[b+28>>2]](b);c=C[b>>2]}d=c;if(!(d+2>>>0>=g>>>0|D[d|0]!=47|(e|0)>=(j|0))){d=d+1|0;C[b>>2]=d;Fe[C[b+32>>2]](b);c=C[b>>2];if(C[b+12>>2]|c>>>0>=g>>>0){break a}h=c-d|0;c=Fe[C[b+136>>2]](k,f,d,h+1|0)|0;C[b+12>>2]=c;if(c){break a}A[h+C[C[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break i}if((l|0)!=91){break i}C[b+12>>2]=2;break a}Fe[C[b+32>>2]](b);d=c;if(C[b+12>>2]){break a}}Fe[C[b+28>>2]](b);c=C[b>>2];if(g>>>0>c>>>0){continue}break}}C[a+368>>2]=1;C[b>>2]=d;break a}j:{if(d+17>>>0>=g>>>0){break j}if(cf(d,15405,16)){break j}C[a+368>>2]=2;break a}k:{if(d+15>>>0>=g>>>0){break k}if(cf(d,15390,14)){break k}C[a+368>>2]=4;break a}l:{if(d+18>>>0>=g>>>0){break l}if(cf(d,15422,17)){break l}C[a+368>>2]=3;break a}C[b+12>>2]=162;break a}C[b+12>>2]=e}Ce=i+16|0}function Vg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=D[a|0]|D[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}return b>>>0>>0?(b|0)<0?84608:((b<<1)+a|0)+2|0:0}c=D[a+4|0]|D[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+I(d,e-1|0)|0;c=0;if((D[a|0]|D[a+1|0]<<8)!=65535){break g}c=(D[a+2|0]|D[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+I(h,d)|0;g=D[a+2|0]|D[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=D[a|0]|D[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=D[a+2|0]|D[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=D[a+4|0]|D[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=(b|0)<0?84608:((b<<1)+a|0)+6|0;break a}c=D[a+4|0]|D[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+I(d,e-1|0)|0;c=(D[a|0]|D[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+I(h,d)|0;g=D[a|0]|D[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=D[a+4|0]|D[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=D[a+2|0]|D[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=D[a+2|0]|D[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+I(g,f-1|0)|0;c=0;if((D[d|0]|D[d+1|0]<<8)!=65535){break m}c=(D[d+2|0]|D[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+I(f,g)|0;i=D[d+2|0]|D[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=D[d|0]|D[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}c=a;a=D[d+4|0]|D[d+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;return(a|0)<0?84608:c+(a<<1)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function wK(a,b){a=a|0;b=b|0;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,o=0,p=0;f=Ce-80|0;Ce=f;j=C[a+528>>2];a:{if(!j){a=6;break a}i=C[a+100>>2];k=C[j+4>>2];if(k){d=j+88|0;h=f+32|0;a=0;while(1){e=I(a,12);c=e+h|0;C[c>>2]=C[((a<<2)+j|0)+8>>2];e=d+e|0;g=C[e+4>>2];C[c+4>>2]=C[g>>2];C[c+8>>2]=C[(g+(D[e|0]<<2)|0)-4>>2];a=a+1|0;if((k|0)!=(a|0)){continue}break}}d=C[j>>2];c=0;C[f+20>>2]=0;i=hf(i,I(k,24)+20|0,f+20|0);a=C[f+20>>2];if(a){break a}C[i+16>>2]=0;C[i+8>>2]=-1;C[i+4>>2]=d;C[i>>2]=k;h=i+20|0;C[i+12>>2]=h;if(k){while(1){a=I(c,24)+h|0;e=(f+24|0)+I(c,12)|0;d=C[e+8>>2];C[a>>2]=d;g=C[e+12>>2]<<16;C[a+4>>2]=g;e=C[e+16>>2];C[a+16>>2]=-1;C[a+20>>2]=-1;e=e<<16;C[a+12>>2]=e;C[a+8>>2]=e+g>>1;e=2003265652;b:{c:{if(!Se(d,4389)){break c}e=2003072104;if(!Se(d,14854)){break c}if(Se(d,16002)){break b}e=1869640570}C[a+16>>2]=e}c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=C[j+4>>2];d:{if(C[j>>2]!=1<>2];e:{f:{switch(c-1|0){case 0:C[f>>2]=C[a+4>>2];break e;case 1:c=C[a+12>>2];C[f>>2]=c+C[a+4>>2];C[f+4>>2]=c+C[a+8>>2];break e;case 2:e=C[a+12>>2];c=C[a+20>>2];d=C[a+28>>2];C[f>>2]=C[a+4>>2]+(e+(c+d|0)|0);d=d+C[a+24>>2]|0;C[f+4>>2]=C[a+8>>2]+(d+e|0);C[f+8>>2]=C[a+16>>2]+(d+c|0);break e;default:break f}}l=C[a+12>>2];m=C[a+20>>2];c=C[a+28>>2];n=C[a+52>>2];d=C[a+44>>2];e=d+C[a+36>>2]|0;g=C[a+60>>2];C[f>>2]=C[a+4>>2]+(l+(m+(c+(n+(e+g|0)|0)|0)|0)|0);o=C[a+24>>2];p=C[a+40>>2];l=l+(d+c|0)|0;d=g+C[a+56>>2]|0;C[f+4>>2]=C[a+8>>2]+(o+(p+(l+d|0)|0)|0);g=(c+m|0)+o|0;c=C[a+48>>2]+(d+n|0)|0;C[f+8>>2]=C[a+16>>2]+(g+c|0);C[f+12>>2]=C[a+32>>2]+(c+(e+p|0)|0)}if(!k){break d}c=0;while(1){g=C[(c<<2)+f>>2];d=I(c,12)+j|0;e=C[d+96>>2];g:{if((g|0)>C[e>>2]){a=1;n=D[d+88|0];if(n>>>0>1){while(1){m=a<<2;l=C[m+e>>2];if((l|0)>=(g|0)){d=C[d+92>>2];h=m-4|0;a=C[d+h>>2];d=C[d+m>>2];h=C[e+h>>2];a=I(Ze(g-h|0,l-h|0),d-a|0)+(a<<16)|0;h=C[i+12>>2];break g}a=a+1|0;if((n|0)!=(a|0)){continue}break}}a=C[(C[d+92>>2]+(n<<2)|0)-4>>2]<<16;break g}a=C[C[d+92>>2]>>2]<<16}C[(I(c,24)+h|0)+8>>2]=a;c=c+1|0;if((k|0)!=(c|0)){continue}break}}C[b>>2]=i;a=C[f+20>>2]}Ce=f+80|0;return a|0}function eD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=C[a+56>>2];i=C[a+36>>2];b=C[a+20>>2];j=C[a+16>>2];c=C[a>>2];g=C[a+28>>2];e=C[a+24>>2];a:{f=C[a+48>>2];if(f){if(!g){break a}k=e&7;h=(e+7|0)/8|0;b:while(1){g=g-1|0;e=h;c:{d:{switch(k-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=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}c=c+1|0;b=b+1|0;a=7;continue;default:break e}}a=D[c|0];if((a|0)!=(d|0)){A[b|0]=D[a+f|0]}a=e-1|0;c=c+1|0;b=b+1|0;f:{if((e|0)>1){e=a;break f}b=b+i|0;c=c+j|0;if(g){continue b}break a}a=0;continue}}}if(!g){break a}f=e&7;h=(e+7|0)/8|0;g:while(1){g=g-1|0;e=h;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=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}c=c+1|0;b=b+1|0;a=7;continue;default:break j}}a=D[c|0];if((a|0)!=(d|0)){A[b|0]=a}a=e-1|0;c=c+1|0;b=b+1|0;k:{if((e|0)>1){e=a;break k}b=b+i|0;c=c+j|0;if(g){continue g}break a}a=0;continue}}}}function au(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=C[b+4>>2];a:{if(o>>>0>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<8){break a}h=C[b+12>>2];d=h-8|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[a|0]|D[a+1|0]<<8;m=(d<<8|d>>>8)&65535;if(m>>>0<4){break a}d=a+2|0;if(d>>>0>g>>>0|g-d>>>0<2){break a}d=h-10|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[a+2|0]|D[a+3|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<4){break a}f=h-14|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=d+2|0;if(f>>>0>g>>>0|g-f>>>0<2){break a}e=h-16|0;C[b+12>>2]=e;if((e|0)<=0){break a}h=D[f|0]|D[f+1|0]<<8;if(h){d=d+4|0;if(d>>>0>g>>>0){break a}f=g-d|0;d=(h<<8|h>>>8)&65535;if(f>>>0>>0){break a}e=e-d|0;C[b+12>>2]=e;if((e|0)<=0){break a}}d=D[a+6|0]|D[a+7|0]<<8;p=((d<<8|d>>>8)&65535)+a|0;t=p>>>0>>0|g>>>0

>>0;d=a;a=D[a+4|0]|D[a+5|0]<<8;r=(a<<8|a>>>8)&65535;k=d+r|0;u=o>>>0>k>>>0|g>>>0>>0;v=g-p|0;w=g-k|0;a=0;h=0;while(1){b:{if(!(a&1)){d=h;break b}i=0;if(4294967295/(m>>>0)>>>0<=l>>>0){break a}f=I(l,m);q=f+k|0;if(f){if(g>>>0>>0|o>>>0>q>>>0|g-q>>>0<0-f>>>0){break a}e=e+f|0;C[b+12>>2]=e;if((e|0)<=0){break a}}e=(l-s|0)+e|0;C[b+12>>2]=e;if((e|0)<=0|(f|0)>0){break a}a=k;d=h;if((f|0)<0){while(1){a=a-1|0;f=D[a|0]+1|0;d=d>>>0>f>>>0?d:f;if(a>>>0>q>>>0){continue}break}}s=l}c:{d:{e:{if((j|0)<=(n|0)){i=0;f=n+1|0;a=I(f,m);if(a>>>0>w>>>0|u){break a}e=e-a|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=e+((n^-1)+j|0)|0;C[b+12>>2]=e;if((a|0)<0|(e|0)<=0){break a}j=I(j,m);if((j|0)<(a|0)){break e}j=f}if(d){break d}d=0;break c}i=a+k|0;a=j+k|0;while(1){j=D[a|0]+1|0;d=d>>>0>j>>>0?d:j;a=a+1|0;if(i>>>0>a>>>0){continue}break}j=f}i=0;a=d<<3;if(a>>>0>v>>>0|t){break a}e=e-a|0;C[b+12>>2]=e;if((e|0)<=0){break a}}e=(h-d|0)+e|0;C[b+12>>2]=e;if((e|0)<=0){return 0}if((d|0)>(h|0)){f=(d<<3)+p|0;i=(h<<3)+p|0;while(1){a=D[i|0]|D[i+1|0]<<8;a=(((a<<8|a>>>8)&65535)-r|0)/(m|0)|0;n=(a|0)<(n|0)?n:a;l=(a|0)>(l|0)?l:a;i=i+8|0;if(f>>>0>i>>>0){continue}break}}h=d;a=(l|0)<(s|0);if(a|(j|0)<=(n|0)){continue}break}i=1;if(!c){break a}C[c>>2]=h}return i}function _q(a,b,c,d,e){var 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;p=Ce-80|0;Ce=p;a:{if(!a){C[p>>2]=4793;Qe(19745,p);a=0;break a}if(!b){C[p+16>>2]=29687;Qe(19745,p+16|0);a=0;break a}if(!c){C[p+32>>2]=29684;Qe(19745,p+32|0);a=0;break a}if(!d){C[p+48>>2]=29549;Qe(19745,p+48|0);a=0;break a}if(!e){C[p+64>>2]=29546;Qe(19745,p- -64|0);a=0;break a}h=C[a+8>>2];if((h|0)<=0){a=0;break a}i=C[a+12>>2];if((i|0)<=0){a=0;break a}n=C[a+4>>2];r=i+n|0;o=C[a>>2];t=h+o|0;k=C[e>>2];m=C[d>>2];f=C[c>>2];g=C[b>>2];s=(o|0)>(g|0);b:{if(s|(g|0)>=(t|0)|((m|0)<(o|0)|(m|0)>=(t|0))){break b}if((f|0)<(n|0)|(f|0)>=(r|0)|(k|0)<(n|0)){break b}a=1;if((k|0)<(r|0)){break a}}v=(g|0)>=(o|0);w=(m|0)>=(o|0);if(!(v|w)){a=0;break a}x=(m|0)<(t|0);l=(g|0)<(t|0);if(!(x|l)){a=0;break a}q=(f|0)>=(n|0);j=(k|0)>=(n|0);if(!(q|j)){a=0;break a}a=0;h=(f|0)<(r|0);i=(k|0)<(r|0);if(!(h|i)){break a}u=t-1|0;c:{if((f|0)==(k|0)){if(l?s:1){C[b>>2]=v?u:o}if(!w){C[d>>2]=o;break c}a=1;if(x){break a}C[d>>2]=u;break a}s=r-1|0;if((g|0)==(m|0)){if(!(h&(f|0)>=(n|0))){C[c>>2]=q?s:n}if(!j){C[e>>2]=n;break c}a=1;if(i){break a}C[e>>2]=s;break a}a=q?(f|0)>=(r|0):2;l=v?l?a:a|8:a|4;a=j?(k|0)>=(r|0):2;q=w?x?a:a|8:a|4;if(l|q){h=0;j=(l|0)!=0;a=0;i=0;while(1){if(l&q){break a}d:{e:{if(j){f:{g:{if(l&2){h=((I(m-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;i=n;break g}h:{if(l&1){h=((I(m-g|0,s-f|0)|0)/(k-f|0)|0)+g|0;i=s;break h}if(l&4){i=((I(o-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=o;break h}if(!(l&8)){break h}i=((I(u-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=u}j=2;if((i|0)<(n|0)){break f}}j=(i|0)>=(r|0)}if((h|0)<(o|0)){l=j|4;break e}l=(h|0)<(t|0)?j:j|8;break e}i:{j:{if(q&2){h=((I(m-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;i=n;break j}k:{if(q&1){h=((I(m-g|0,s-f|0)|0)/(k-f|0)|0)+g|0;i=s;break k}if(q&4){i=((I(o-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=o;break k}if(!(q&8)){break k}i=((I(u-g|0,k-f|0)|0)/(m-g|0)|0)+f|0;h=u}j=2;if((i|0)<(n|0)){break i}}j=(i|0)>=(r|0)}q=(h|0)<(o|0)?j|4:(h|0)<(t|0)?j:j|8;l=0;m=h;k=i;break d}f=i;g=h}j=(l|0)!=0;if(l|q){continue}break}}C[b>>2]=g;C[c>>2]=f;C[d>>2]=m;C[e>>2]=k}a=1}Ce=p+80|0;return a}function Ip(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(C[a+200>>2]==(b|0)&C[a+204>>2]==(d|0)){break a}C[a+200>>2]=b;C[a+204>>2]=d;d=C[a+4>>2];if(!d){break a}h=Te(C[a+8>>2],b);C[a+12>>2]=h;C[a+16>>2]=h+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){i=Te(C[d>>2],b);j=C[a+12>>2];g=i-j|0;h=g>>31;h=(h^g)-h>>>0<128?j:i;C[d+4>>2]=h;C[d+8>>2]=h+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(C[a+404>>2]==(c|0)&C[a+408>>2]==(e|0)){break b}C[a+404>>2]=c;C[a+408>>2]=e;b=C[a+208>>2];c:{if(!b){break c}d=Te(C[a+212>>2],c);C[a+216>>2]=d;C[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){h=Te(C[d>>2],c);i=C[a+216>>2];j=h-i|0;b=j>>31;b=(b^j)-b>>>0<128?i:h;C[d+4>>2]=b;C[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}A[a+2492|0]=(I(c,125)|0)>2]<<3&(c|0)<=34359737;d=C[a+2480>>2];d:{if((d|0)<=0){break d}while(1){if((Te(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}b=a+412|0;C[a+2484>>2]=d;h=a+1960|0;i=a+928|0;j=a+1444|0;f=0;while(1){d=b;e:{f:{switch(f|0){case 1:d=i;break e;case 2:d=j;break e;case 0:break e;default:break f}}d=h}g=C[d>>2];if(g){d=d+4|0;while(1){m=d,n=Te(C[d+8>>2],c)+e|0,C[m+28>>2]=n;m=d,n=Te(C[d+12>>2],c)+e|0,C[m+24>>2]=n;m=d,n=Te(C[d>>2],c)+e|0,C[m+16>>2]=n;m=d,n=Te(C[d+4>>2],c),C[m+20>>2]=n;C[d+16>>2]=C[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=C[b>>2];if(g){b=a+1448|0;f=a+416|0;while(1){d=b;e=C[j>>2];g:{if(!e){break g}while(1){k=C[f>>2]-C[d>>2]|0;l=k>>31;if((Te((l^k)-l|0,c)|0)<=63){C[f+28>>2]=C[d+28>>2];C[f+24>>2]=C[d+24>>2];C[f+16>>2]=C[d+16>>2];C[f+20>>2]=C[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=C[i>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){d=b;e=C[h>>2];h:{if(!e){break h}while(1){i=C[f>>2]-C[d>>2]|0;a=i>>31;if((Te((a^i)-a|0,c)|0)>=64){d=d+32|0;e=e-1|0;if(e){continue}break h}break}C[f+28>>2]=C[d+28>>2];C[f+24>>2]=C[d+24>>2];C[f+16>>2]=C[d+16>>2];C[f+20>>2]=C[d+20>>2]}f=f+32|0;g=g-1|0;if(g){continue}break}}}function Xl(a,b,c,d,e,f){var 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;m=C[a+100>>2];h=C[m+76>>2];n=D[m+73|0]?C[m+84>>2]:h;a:{if(!b){break a}h=n-h|0;if(b>>>0>=4){o=b&-4;while(1){g=j<<2;k=g+c|0;C[k>>2]=h+C[k>>2];k=(g|4)+c|0;C[k>>2]=h+C[k>>2];k=(g|8)+c|0;C[k>>2]=h+C[k>>2];g=(g|12)+c|0;C[g>>2]=h+C[g>>2];j=j+4|0;l=l+4|0;if((o|0)!=(l|0)){continue}break}}g=b&3;if(!g){break a}while(1){l=(j<<2)+c|0;C[l>>2]=h+C[l>>2];j=j+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}f=f+n|0;b:{if(!d){break b}o=0;while(1){if(!D[m+72|0]){break b}h=(o<<2)+e|0;g=D[h|0]|D[h+1|0]<<8;l=(g<<8|g>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}if(!g){g=D[h+2|0]|D[h+3|0]<<8;if(C[a+128>>2]==((g<<8|g>>>8)&65535)){break c}}k=(l<<2)+c|0;if(!kh(m,C[k>>2])|C[m+44>>2]<=0){break b}i=C[a+136>>2];if(!i){break c}j=C[a+104>>2];if(!j){break c}p=D[m+73|0];g=C[m+76>>2];q=C[m+84>>2];h=D[h+2|0]|D[h+3|0]<<8;s=C[m+80>>2];r=C[a+100>>2];n=C[r+44>>2];C[r+44>>2]=n-1;if((n|0)<=0){break c}C[a+136>>2]=i-1;h=Fe[j|0](a,(h<<8|h>>>8)&65535)|0;C[a+136>>2]=C[a+136>>2]+1;if(!h){break c}h=C[m+76>>2];h=(C[m+80>>2]-h|0)+(D[m+73|0]?C[m+84>>2]:h)|0;g=(s-g|0)+(p?q:g)|0;if((h|0)==(g|0)){break c}i=h-g|0;h=i+f|0;f=C[k>>2];if((h|0)<=(f|0)){break b}f=l+1|0;d:{if((i|0)>0){n=b+i|0;g=f;if(n>>>0<=64){break d}f=h;break b}g=f-b|0;i=(g|0)<(i|0)?i:g;n=i+b|0;g=f-i|0}j=(g<<2)+c|0;Yf(j+(i<<2)|0,j,b-g<<2);j=g+i|0;e:{if(j>>>0<=f>>>0){break e}p=(g+i|0)-l|0;q=p-2|0;b=C[k>>2];l=0;k=p-1&3;if(k){while(1){b=b+1|0;C[(f<<2)+c>>2]=b;f=f+1|0;l=l+1|0;if((k|0)!=(l|0)){continue}break}}if(q>>>0<=2){break e}while(1){k=(f<<2)+c|0;C[k>>2]=b+1;l=b+4|0;C[k+12>>2]=l;C[k+8>>2]=b+3;C[k+4>>2]=b+2;b=l;f=f+4|0;if((j|0)!=(f|0)){continue}break}}f:{if(j>>>0>=n>>>0){break f}b=0;f=n-(g+i|0)&3;if(f){while(1){l=(j<<2)+c|0;C[l>>2]=C[l>>2]+i;j=j+1|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(((i^-1)+n|0)-g>>>0<3){break f}while(1){b=(j<<2)+c|0;C[b>>2]=C[b>>2]+i;C[b+4>>2]=C[b+4>>2]+i;C[b+8>>2]=C[b+8>>2]+i;C[b+12>>2]=C[b+12>>2]+i;j=j+4|0;if((n|0)!=(j|0)){continue}break}}f=h;b=n}o=o+1|0;if((o|0)!=(d|0)){continue}break}}kh(m,f);return 1}function TP(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=Ce-48|0;Ce=d;a:{b:{if(!a){break b}if(!b){e=6;break a}if(B[a>>1]<=0){break a}h=C[b+20>>2];i=C[b+16>>2];while(1){m=B[C[a+12>>2]+(o<<1)>>1];if((m|0)<0){break b}j=C[a+4>>2];f=j+(g<<3)|0;k=C[f>>2];e=C[f+4>>2];C[d+32>>2]=(k<>2]=p;l=j+(m<<3)|0;e=C[l>>2];q=C[l+4>>2];n=C[d+36>>2];k=C[d+32>>2];C[d+40>>2]=k;C[d+44>>2]=n;c:{d:{n=C[a+8>>2];j=n+g|0;switch(D[j|0]&3){case 2:break b;case 0:break d;default:break c}}g=(q<>2]=g;C[d+32>>2]=e;l=l-8|0;break e}C[d+36>>2]=(g+p|0)/2;C[d+32>>2]=(e+k|0)/2}j=j-1|0;f=f-8|0}e=Fe[C[b>>2]](d+32|0,c)|0;if(e){break a}f:{if(f>>>0>>0){while(1){k=j+1|0;g=f+8|0;g:{h:{i:{switch(D[j+1|0]&3){case 1:C[d+24>>2]=(C[f+8>>2]<>2]=(C[f+12>>2]<>2]](d+24|0,c)|0;if(e){break a}break g;case 0:C[d+40>>2]=(C[f+8>>2]<>2]=(C[f+12>>2]<>>0>>0){while(1){f=D[k+1|0];j=(C[g+8>>2]<>2]=j;e=(C[g+12>>2]<>2]=e;k=k+1|0;g=g+8|0;j:{f=f&3;k:{if(f){if((f|0)!=1){g=7;e=0;break h}e=Fe[C[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;j=k;break g}C[d+16>>2]=(j+C[d+40>>2]|0)/2;C[d+20>>2]=(e+C[d+44>>2]|0)/2;e=Fe[C[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}g=10;break h}f=C[d+28>>2];C[d+40>>2]=C[d+24>>2];C[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=Fe[C[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;e=0;if((D[j+2|0]&3)!=2|f+16>>>0>l>>>0){break h}C[d+24>>2]=(C[f+8>>2]<>2]=(C[f+12>>2]<>2]=(C[f+16>>2]<>2]=(C[f+20>>2]<>>0<=l>>>0){C[d+8>>2]=(C[f+24>>2]<>2]=(C[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){g=10;break h}j=j+3|0;f=g;break g}e=Fe[C[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(f>>>0>>0){continue}break}}e=Fe[C[b+4>>2]](d+32|0,c)|0}if(e){break a}g=m+1|0;e=0;o=o+1|0;if((o|0)>1]){continue}break}break a}e=20}Ce=d+48|0;return e|0}function Gu(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ce-128|0;Ce=j;a:{b:{c:{if(!fj(f,g,h,i,0,0,0,0)){break c}l=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){k=4;if(n){break e}k=f|h|(g|l)?3:2;break d}k=!(f|h|(g|l))}}s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(k){break b}}Uf(j+16|0,b,c,d,e,f,g,h,i);b=C[j+16>>2];d=C[j+20>>2];e=C[j+24>>2];c=C[j+28>>2];su(j,b,d,e,c,b,d,e,c);d=C[j+8>>2];e=C[j+12>>2];h=C[j>>2];i=C[j+4>>2];break a}k=d;p=e&2147483647;n=h;m=i&2147483647;if((fj(b,c,k,p,f,g,h,m)|0)<=0){if(fj(b,c,k,p,f,g,n,m)){h=b;i=c;break a}Uf(j+112|0,b,c,d,e,0,0,0,0);d=C[j+120>>2];e=C[j+124>>2];h=C[j+112>>2];i=C[j+116>>2];break a}q=i>>>16&32767;if(o){i=c;h=b}else{Uf(j+96|0,b,c,k,p,0,0,0,1081540608);k=C[j+104>>2];h=C[j+108>>2];p=h;o=(h>>>16|0)-120|0;i=C[j+100>>2];h=C[j+96>>2]}if(!q){Uf(j+80|0,f,g,n,m,0,0,0,1081540608);n=C[j+88>>2];f=C[j+92>>2];m=f;q=(f>>>16|0)-120|0;g=C[j+84>>2];f=C[j+80>>2]}r=n;t=m&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;f:{if((l|0)>0|(l|0)>=0){k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(!(h|n|(i|l))){Uf(j+32|0,b,c,d,e,0,0,0,0);d=C[j+40>>2];e=C[j+44>>2];h=C[j+32>>2];i=C[j+36>>2];break a}l=l<<1|n>>>31;k=n<<1|i>>>31;break f}l=p<<1|k>>>31;k=k<<1|i>>>31}p=l;l=i<<1|h>>>31;h=h<<1;i=l;o=o-1|0;if((o|0)>(q|0)){continue}break}o=q}m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;m=l;g:{if((l|0)<0){n=k;m=p;break g}k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(h|n|(i|m)){break g}Uf(j+48|0,b,c,d,e,0,0,0,0);d=C[j+56>>2];e=C[j+60>>2];h=C[j+48>>2];i=C[j+52>>2];break a}if((m|0)==65535|m>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m<<1|n>>>31;n=c|n<<1;m=b;if(b>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){Uf(j- -64|0,h,i,n,m&65535|(b|o+120)<<16,0,0,0,1065811968);d=C[j+72>>2];e=C[j+76>>2];h=C[j+64>>2];i=C[j+68>>2];break a}d=n;e=m&65535|(b|o)<<16}C[a>>2]=h;C[a+4>>2]=i;C[a+8>>2]=d;C[a+12>>2]=e;Ce=j+128|0}function hx(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,o=0,p=0,q=0,r=0,s=0;if(!(D[a+16|0]&8)){f=I(c,204)+b|0;n=C[f+200>>2];g=C[f+204>>2]+Te(C[a>>2],n)|0;e=Te(C[a+4>>2],n);a:{b:{c:{d:{e:{switch(c|0){case 1:if(D[d+121|0]){break d}break b;case 0:if(!D[d+120|0]){break b}k=D[d+122|0]!=0;break;default:break e}}C[a+12>>2]=e;break c}o=D[d+123|0];C[a+12>>2]=e;p=C[a>>2];r=D[b+2492|0];k=2;f=C[b+412>>2];f:{g:{if(!f){break g}i=C[a+4>>2]+p|0;h=b+416|0;j=C[b+2488>>2];l=0-j|0;while(1){m=i-C[h+12>>2]|0;if((m|0)<(l|0)){break g}if((i|0)<=(j+C[h+8>>2]|0)){if(!r){f=0;if((m|0)>C[b+2484>>2]){break f}}q=C[h+16>>2];k=3;f=1;break f}h=h+32|0;f=f-1|0;if(f){continue}break}}f=0}j=C[b+928>>2];h:{if(!j){i=0;break h}i=0;l=C[b+2488>>2];m=0-l|0;h=((j<<5)+b|0)+932|0;while(1){s=C[h-24>>2]-p|0;if((m|0)>(s|0)){break h}if((C[h-20>>2]-l|0)>(p|0)){h=h-32|0;j=j-1|0;if(j){continue}break h}break}if(!r&C[b+2484>>2]<=(s|0)){break h}i=C[h-16>>2];f=k}k=(o|0)!=0;i:{switch(f-1|0){case 1:C[a+8>>2]=i;if(!o){break a}C[a+12>>2]=(e|0)<64?64:e+32&-64;break a;case 2:C[a+8>>2]=i;C[a+12>>2]=q-i;break a;case 0:break i;default:break c}}C[a+8>>2]=q-e;if(!o){break a}b=(e|0)<64?64:e+32&-64;C[a+12>>2]=b;C[a+8>>2]=q-b;break a}f=C[a+20>>2];if(f){if(!(D[f+16|0]&8)){hx(f,b,c,d)}g=((C[f+8>>2]-(e>>1)|0)+(C[f+12>>2]>>1)|0)+Te((C[a>>2]-(C[f>>2]+(C[f+4>>2]>>1)|0)|0)+(C[a+4>>2]>>1)|0,n)|0}j:{if(!D[d+124|0]){break j}if((e|0)<=64){if((e|0)>=32){g=(e>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((e|0)<=0){g=b;break j}f=b-g|0;c=f>>31;d=e+g|0;g=d+32&-64;h=g-d|0;d=h>>31;g=(c^f)-c>>>0>(d^h)-d>>>0?g:b;break j}b=C[(I(c,204)+b|0)+12>>2];d=e-b|0;c=d>>31;e=(c^d)-c>>>0<40?(b|0)<=48?48:b:e;if(e>>>0<=191){b=e&63;if(b>>>0<10){break j}c=e&-64;if(b>>>0<=31){e=c|10;break j}e=b>>>0<54?c|54:e;break j}e=e+32&-64}C[a+12>>2]=e;b=(g+32&-64)-g|0;c=b>>31;d=e+g|0;d=(d+32&-64)-d|0;f=d>>31;c=((b^c)-c>>>0>(d^f)-f>>>0?d:b)+g|0;C[a+8>>2]=c;if(!k){break a}d=(e|0)<64?64:e+32&-64;b=d>>1;C[a+12>>2]=d;C[a+8>>2]=(d&64?b+c&-64|32:(b+c|0)+32&-64)-b;break a}C[a+12>>2]=e;C[a+8>>2]=g}C[a+16>>2]=C[a+16>>2]|8}}function Tw(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;C[a+180>>2]=f;m=a+180|0;C[a+52>>2]=m;f=C[a+72>>2];C[a+204>>2]=C[a+68>>2];C[a+208>>2]=f;C[a+200>>2]=c;C[a+196>>2]=b;C[a+192>>2]=e;C[a+188>>2]=d;C[a+184>>2]=g;f=m;while(1){n=C[f>>2];a:{b:{c:{d:{k=C[f+20>>2];i=C[f+12>>2];e=C[f+28>>2];g=C[f+4>>2];if((((i|0)>(k|0)?k:i)|0)>=(((e|0)<(g|0)?e:g)|0)){j=(e|0)>(g|0);if((((i|0)<(k|0)?k:i)|0)<=((j?e:g)|0)){break d}}b=C[f+24>>2];C[f+48>>2]=b;C[f+52>>2]=e;c=(e+k|0)+1>>1;C[f+44>>2]=c;d=i+1|0;e=d+g>>1;C[f+12>>2]=e;i=C[f+8>>2]+1|0;j=i+n>>1;C[f+8>>2]=j;l=b;b=C[f+16>>2];h=(l+b|0)+1>>1;C[f+40>>2]=h;l=c;c=(d+k>>1)+1|0;d=l+c>>1;C[f+36>>2]=d;c=c+e>>1;C[f+20>>2]=c;b=(b+i>>1)+1|0;e=b+j>>1;C[f+16>>2]=e;b=b+h>>1;C[f+32>>2]=b;C[f+28>>2]=(c+d|0)+1>>1;C[f+24>>2]=(b+e|0)+1>>1;b=f+24|0;break c}if((e|0)!=(g|0)){break b}b=f-24|0}C[a+52>>2]=b;break a}o=j?2:1;h=C[a+100>>2];if((o|0)!=(h|0)){b=C[a+4>>2];d=j?e&b-1:((b+e|0)-1&0-b)-e|0;c=C[a+40>>2];l=C[a+8>>2];e:{if(!h){b=c;break e}h=C[a+88>>2];b=C[h+8>>2];p=c-b|0;if((p|0)<0){C[a+44>>2]=99;return 1}f:{if((b|0)==(c|0)){b=c;break f}C[h+16>>2]=p>>2;if((d|0)>=(l|0)){b=E[h+12>>1];B[h+12>>1]=(b&8?16:32)|b}C[a+88>>2]=c;b=c+32|0;C[a+40>>2]=b;C[c+8>>2]=b;C[c+16>>2]=0;C[h+28>>2]=c;B[a+84>>1]=E[a+84>>1]+1}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}A[a+87|0]=0}if(!C[a+92>>2]){C[a+92>>2]=b;C[a+88>>2]=b;b=b+32|0;C[a+40>>2]=b}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}c=C[a+88>>2];C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=b;C[c+28>>2]=0;C[c+4>>2]=0;b=D[a+176|0];B[c+12>>1]=b;g:{h:{if(!j){B[c+12>>1]=b|8;h=40;if((d|0)>=(l|0)){break h}break g}h=16;if((d|0)<(l|0)){break g}}B[c+12>>1]=b|h}if(!C[a+96>>2]){C[a+96>>2]=c}B[a+86>>1]=1;C[a+100>>2]=o}b=C[a+80>>2];c=C[a+76>>2];i:{if(!j){if(!Dm(a,3,993,c,b)){break a}break i}C[f+28>>2]=0-e;C[f+20>>2]=0-k;C[f+12>>2]=0-i;C[f+4>>2]=0-g;d=D[a+86|0];b=Dm(a,3,993,0-b|0,0-c|0);if(!(D[a+86|0]|!d)){c=C[a+88>>2];C[c+20>>2]=0-C[c+20>>2]}C[f+4>>2]=0-C[f+4>>2];if(!b){break a}}return 1}f=C[a+52>>2];if(m>>>0<=f>>>0){continue}break}C[a+72>>2]=g;C[a+68>>2]=n;return 0}function Rn(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=C[b+4>>2];a:{if(n>>>0>a>>>0){break a}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}g=C[b+12>>2];c=g-8|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[a|0]|D[a+1|0]<<8;l=(c<<8|c>>>8)&65535;if(l>>>0<4){break a}c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}c=g-10|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[a+2|0]|D[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break a}e=g-14|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=c+2|0;if(e>>>0>f>>>0|f-e>>>0<2){break a}d=g-16|0;C[b+12>>2]=d;if((d|0)<=0){break a}g=D[e|0]|D[e+1|0]<<8;if(g){c=c+4|0;if(c>>>0>f>>>0){break a}e=f-c|0;c=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}d=d-c|0;C[b+12>>2]=d;if((d|0)<=0){break a}}c=D[a+6|0]|D[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;s=o>>>0>>0|f>>>0>>0;c=a;a=D[a+4|0]|D[a+5|0]<<8;q=(a<<8|a>>>8)&65535;j=c+q|0;t=j>>>0>>0|f>>>0>>0;u=f-o|0;v=f-j|0;a=0;g=0;while(1){b:{if(!(a&1)){c=g;break b}h=0;if(4294967295/(l>>>0)>>>0<=k>>>0){break a}e=I(k,l);p=e+j|0;if(e){if(f>>>0

>>0|n>>>0>p>>>0|f-p>>>0<0-e>>>0){break a}d=d+e|0;C[b+12>>2]=d;if((d|0)<=0){break a}}d=(k-r|0)+d|0;C[b+12>>2]=d;if((d|0)<=0|(e|0)>0){break a}a=j;c=g;if((e|0)<0){while(1){a=a-1|0;e=D[a|0]+1|0;c=c>>>0>e>>>0?c:e;if(a>>>0>p>>>0){continue}break}}r=k}c:{d:{e:{if((i|0)<=(m|0)){h=0;e=m+1|0;a=I(e,l);if(a>>>0>v>>>0|t){break a}d=d-a|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=d+((m^-1)+i|0)|0;C[b+12>>2]=d;if((a|0)<0|(d|0)<=0){break a}i=I(i,l);if((i|0)<(a|0)){break e}i=e}if(c){break d}c=0;break c}h=a+j|0;a=i+j|0;while(1){i=D[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}i=e}h=0;a=c<<2;if(a>>>0>u>>>0|s){break a}d=d-a|0;C[b+12>>2]=d;if((d|0)<=0){break a}}d=(g-c|0)+d|0;C[b+12>>2]=d;if((d|0)<=0){return 0}if((c|0)>(g|0)){e=(c<<2)+o|0;h=(g<<2)+o|0;while(1){a=D[h|0]|D[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-q|0)/(l|0)|0;m=(a|0)<(m|0)?m:a;k=(a|0)>(k|0)?k:a;h=h+4|0;if(e>>>0>h>>>0){continue}break}}g=c;a=(k|0)<(r|0);if(a|(i|0)<=(m|0)){continue}break}h=1}return h}function ix(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=Ce-16|0;Ce=i;g=C[b>>2];e=g<<1;u=a,v=Ve(d,4,0,e,0,i+12|0),C[u+12>>2]=v;a:{if(C[i+12>>2]){break a}u=a,v=Ve(d,28,0,g,0,i+12|0),C[u+8>>2]=v;if(C[i+12>>2]){break a}u=a,v=Ve(d,16,0,e|1,0,i+12|0),C[u+24>>2]=v;if(C[i+12>>2]){break a}C[a>>2]=g;C[a+28>>2]=0;C[a+20>>2]=0;C[a+4>>2]=0;C[a+16>>2]=C[a+12>>2]+(g<<2);b:{if(!g){break b}d=C[a+8>>2];b=C[b+8>>2];h=g&3;c:{if(!h){f=g;break c}e=0;f=g;while(1){C[d>>2]=C[b>>2];C[d+4>>2]=C[b+4>>2];C[d+16>>2]=C[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(g>>>0<4){break b}while(1){C[d>>2]=C[b>>2];C[d+4>>2]=C[b+4>>2];C[d+16>>2]=C[b+8>>2];C[d+28>>2]=C[b+12>>2];C[d+32>>2]=C[b+16>>2];C[d+44>>2]=C[b+20>>2];C[d+56>>2]=C[b+24>>2];C[d+60>>2]=C[b+28>>2];C[d+72>>2]=C[b+32>>2];C[d+84>>2]=C[b+36>>2];C[d+88>>2]=C[b+40>>2];C[d+100>>2]=C[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}j=C[c>>2];k=C[c+8>>2];C[a+32>>2]=c;if(!j){break d}while(1){p=C[k>>2];if(p){m=C[k+8>>2];b=0;l=0;q=0;while(1){if(!b){q=D[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=C[a+8>>2]+I(l,28)|0;c=C[h+16>>2];if(c&4){break e}C[h+16>>2]=c|4;c=C[a+16>>2];C[h+20>>2]=0;f:{if(!e){break f}r=C[h>>2];t=r+C[h+4>>2]|0;f=e;d=c;while(1){n=C[d>>2];s=C[n>>2];if(!((s|0)>(t|0)|(C[n+4>>2]+s|0)<(r|0))){C[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;C[a+4>>2]=d;C[c+(e<<2)>>2]=h;e=d}b=b>>>1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=C[a+8>>2]+I(o,28)|0;b=C[f+16>>2];g:{if(b&4){break g}C[f+16>>2]=b|4;c=C[a+16>>2];C[f+20>>2]=0;h:{if(!e){break h}k=C[f>>2];l=k+C[f+4>>2]|0;b=e;d=c;while(1){h=C[d>>2];j=C[h>>2];if(!((j|0)>(l|0)|(k|0)>(j+C[h+4>>2]|0))){C[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;C[a+4>>2]=b;C[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Ce=i+16|0;return C[i+12>>2]}function Zq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ce+-64|0;Ce=d;a:{if(!a){C[d>>2]=2220;Qe(19745,d);break a}f=Ce-16|0;Ce=f;e=C[105780];b:{if(!e){Qe(19865,0);break b}if(!(C[a>>2]==(e+388|0)?a:0)){Qe(2168,0);break b}if(!D[22082]){C[f>>2]=17197;Qe(19745,f);break b}e=C[a+160>>2];if(!e){break b}while(1){c:{g=C[e>>2];if(!g){break c}if(uf(g,22082)){break c}h=C[e+4>>2];break b}e=C[e+8>>2];if(e){continue}break}}Ce=f+16|0;if(h){Qe(1938,0);break a}c=Eg(28445);d:{if(!c|!D[c|0]){break d}if(bg(28445,1)){b=b|4;break d}b=b&-5}e=1;e:{c=Eg(24592);f:{if(!c){break f}f=382180;if(wf(c,C[95546])){f=382268;if(wf(c,C[95568])){break f}}c=Fe[C[f>>2]](a,b)|0;e=!c;if(c){break e}}if((C[95547]&b)==(b|0)){c=Fe[C[95545]](a,b)|0;if(c){break e}}if((C[95569]&b)==(b|0)){c=Fe[C[95567]](a,b)|0;if(c){break e}}c=0;Qe(9355,0);break a}b=1;g:{if(C[c+428>>2]){break g}b=e;if(!Eg(26259)){break g}b=bg(26259,1)}C[c+204>>2]=a;C[c>>2]=422837;C[c+432>>2]=b;b=zj();C[c+448>>2]=1;C[c+384>>2]=1065353216;C[c+388>>2]=1065353216;C[c+368>>2]=1065353216;C[c+372>>2]=1065353216;C[c+416>>2]=b;b=C[c+8>>2];h:{if(!b){break h}if(Fe[b|0](c,d+52|0,d+48|0)|0){break h}bi(C[c+204>>2],d+60|0,d+56|0);G[c+384>>2]=J(C[d+60>>2])/J(C[d+52>>2]);G[c+388>>2]=J(C[d+56>>2])/J(C[d+48>>2])}i=c,j=bg(26232,1),C[i+392>>2]=j;b=Eg(27457);if(b){b=Zf(b);b=(b|0)==3?2:(b|0)==2}else{b=0}C[c+396>>2]=b;i=c,j=(kl(a)&72)!=0,C[i+208>>2]=j;hz(a,c);a=Ce-16|0;Ce=a;i:{if(!(C[c>>2]==422837?c:0)){C[a>>2]=9675;Qe(19745,a);break i}if((tl(c,a+12|0,a+8|0)|0)<0){break i}C[c+232>>2]=0;C[c+236>>2]=0;C[c+240>>2]=0;C[c+244>>2]=0;H[c+248>>3]=C[a+12>>2];H[c+256>>3]=C[a+8>>2];if((tk(c)|0)<0|C[c+432>>2]){break i}b=C[c+436>>2];if(!b){break i}Fe[C[c+52>>2]](c,b,C[c+536>>2],C[c+540>>2])|0;b=C[c+440>>2];if(b){C[b+24>>2]=C[c+444>>2];C[c+444>>2]=C[c+436>>2];C[c+436>>2]=0;C[c+440>>2]=0}C[c+540>>2]=0;C[c+532>>2]=0;C[c+524>>2]=0;C[c+528>>2]=0;C[c+448>>2]=C[c+448>>2]+1}Ce=a+16|0;ds(592,c);C[d+16>>2]=C[c+120>>2];a=Ce-16|0;Ce=a;b=d+16|0;C[a+12>>2]=b;Ij(6,3,8838,b);Ce=a+16|0}Ce=d- -64|0;return c}function gH(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,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;a:{if(!(A[b+39|0]&1)){break a}v=C[c+20>>2]>>31|1;s=1;while(1){p=C[b+80>>2];w=p+t|0;if(p){o=C[b+100>>2];k=C[b+92>>2];l=w;a=p;while(1){m=0;i=0;g=0;d=a;j=I(d-1|0,20);e=j+k|0;b:{if((D[e+19|0]&254)!=8){if(!y){break b}h=C[e+4>>2];l=l-1|0;g=I(l,20);d=g+k|0;C[d>>2]=C[e>>2];C[d+4>>2]=h;C[d+16>>2]=C[e+16>>2];h=C[e+12>>2];C[d+8>>2]=C[e+8>>2];C[d+12>>2]=h;d=g+o|0;g=j+o|0;C[d+16>>2]=C[g+16>>2];e=C[g+12>>2];C[d+8>>2]=C[g+8>>2];C[d+12>>2]=e;e=C[g+4>>2];C[d>>2]=C[g>>2];C[d+4>>2]=e;break b}c:{while(1){h=d-1|0;e=I(h,20)+k|0;if((D[e+19|0]&254)==8){j=0;d=C[c+72>>2];f=Fe[C[d+168>>2]](c,C[c+76>>2],C[e>>2],C[d+32>>2])|0;d=D[e+19|0]!=8;m=(d?0:f)+m|0;g=(d?f:0)+g|0;i=d+i|0;f=0;e=0;d=h;if(d){continue}break c}break}e=d;f=0;d:{while(1){j=e-1|0;q=I(j,20);h=q+k|0;if((D[h+19|0]&254)==8){break d}r=E[h+16>>1];if(!((D[h+12|0]&16?0:r&32)|1<>2]+f|0;e=j;if(e){continue}break}e=0}j=d}h=I(f-m|0,v);m=0;f=I(g,v);d=0;e:{if((f|0)<=0){break e}d=0;if((f|0)>=(h|0)){break e}d=((h|0)/(f|0)|0)-1|0}g=d+1|0;f:{if((h|0)<=(I(g,f)|0)){g=d;break f}if((i|0)<=0){g=d;break f}d=I(f,d+2|0)-h|0;if((d|0)<=0){break f}m=(d|0)/(I(g,i)|0)|0}d=j+1|0;if(s){t=I(g,i)+t|0;a=d;break b}if(a-e>>>0>=2){Sf(b,e,a)}if(a>>>0<=j>>>0){a=d;break b}q=g+1|0;g=0;while(1){a=a-1|0;e=I(a,20);h=e+k|0;i=C[c+72>>2];r=Fe[C[i+168>>2]](c,C[c+76>>2],C[h>>2],C[i+32>>2])|0;x=D[h+19|0]!=9?1:q;if(x){i=e+o|0;e=0;while(1){g=(g-r|0)+(e?m:0)|0;C[i+8>>2]=g;l=l-1|0;n=I(l,20);f=n+k|0;C[f+16>>2]=C[h+16>>2];u=C[h+12>>2];C[f+8>>2]=C[h+8>>2];C[f+12>>2]=u;u=C[h+4>>2];C[f>>2]=C[h>>2];C[f+4>>2]=u;f=o+n|0;C[f+16>>2]=C[i+16>>2];n=C[i+12>>2];C[f+8>>2]=C[i+8>>2];C[f+12>>2]=n;n=C[i+4>>2];C[f>>2]=C[i>>2];C[f+4>>2]=n;e=e+1|0;if((x|0)!=(e|0)){continue}break}}if(a>>>0>j>>>0){continue}break}a=d}a=a-1|0;if(a){continue}break}}if(s){s=0;y=1;a=t+p|0;if(!a|a>>>0>2]){continue}if(aj(b,a)){continue}break a}break}C[b+80>>2]=w}}function oz(){var a=0,b=0,c=0,d=0,e=0;a:{b:{c:{b=C[104368];switch(b|0){case 0:break a;case 1:break c;default:break b}}if(C[104376]>0){while(1){Ll(C[104375]);d=417528;b=a;d:{if((a|0)!=-2){if(!((b|0)=0)){Qe(11157,0);break d}d=(C[104377]+I(b,60)|0)+56|0}a=C[d>>2];if(a){while(1){c=C[a+12>>2];e=C[a+4>>2];if(e){Fe[e|0](b,C[a+8>>2])}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}C[d>>2]=0}Kl(C[104375]);a=b+1|0;if((a|0)>2];c=C[a+4>>2];if(c){Fe[c|0](-2,C[a+8>>2])}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=b;if(a){continue}break}}C[104382]=0;Kl(C[104375]);ui();e:{if(!C[104393]){break e}if(C[C[C[104393]>>2]+64>>2]){a=C[104393];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104393]+8>>2]=0;C[C[104393]+12>>2]=0;C[104393]=0;a=C[104386];if(!a){break e}Fe[a|0]()}si();if(C[94463]){a=C[94477];if(a){Fe[a|0]()}C[94463]=0}if(C[94443]){a=C[94457];if(a){Fe[a|0]()}C[94443]=0}a=C[104395];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104395]=0}a=C[104385];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104385]=0}C[104394]=0;C[104384]=0;ui();f:{if(!C[104393]){break f}if(C[C[C[104393]>>2]+64>>2]){a=C[104393];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104393]+8>>2]=0;C[C[104393]+12>>2]=0;C[104393]=0;a=C[104386];if(!a){break f}Fe[a|0]()}si();a=C[104383];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104383]=0}ry(-1);a=0;if(C[104362]>0){while(1){b=C[C[104363]+(a<<2)>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}a=a+1|0;if((a|0)>>0<=15){a=C[(a<<2)+418272>>2];if(a){break g}}a=0;Qe(27615,0)}qg(a);C[104375]=0;a=C[104377];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104377]=0;a=C[104367];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104366]=0;C[104367]=0;b=C[104368]}C[104368]=b-1}}function QC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=C[a+36>>2]>>2;m=C[a+16>>2]>>2;i=C[a+28>>2];a:{g=D[a+63|0];if((g|0)==128){if(!i){break a}b=C[a+24>>2];g=b&3;k=(b+3|0)/4|0;c=C[a>>2];a=C[a+20>>2];b:while(1){i=i-1|0;b=k;c:{d:{switch(g-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=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;a=a+4|0;c=c+4|0;d=1;continue;case 1:d=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;a=a+4|0;c=c+4|0;d=2;continue;case 2:d=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;a=a+4|0;c=c+4|0;d=3;continue;default:break e}}d=C[a>>2];f=C[c>>2];C[a>>2]=((d&16711422)+(f&16711422)>>>1|0)+(d&f&65793)|-16777216;d=b-1|0;a=a+4|0;c=c+4|0;f:{if((b|0)>1){b=d;break f}a=(l<<2)+a|0;c=(m<<2)+c|0;if(i){continue b}break a}d=0;continue}}}if(!i){break a}b=C[a+24>>2];f=b&3;k=(b+3|0)/4|0;c=C[a>>2];a=C[a+20>>2];g:while(1){i=i-1|0;d=k;h:{i:{switch(f-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=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=1;continue;case 1:b=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=2;continue;case 2:b=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=3;continue;default:break j}}b=C[c>>2];h=C[a>>2];e=h&65280;j=(I(g,(b&65280)-e|0)>>>8|0)+e&65280;e=b&16711935;b=h&16711935;C[a>>2]=j|(I(g,e-b|0)>>>8|0)+b&16711935|-16777216;b=d-1|0;a=a+4|0;c=c+4|0;k:{if((d|0)>1){d=b;break k}a=(l<<2)+a|0;c=(m<<2)+c|0;if(i){continue g}break a}b=0;continue}}}}function WK(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;i=Ce-16|0;Ce=i;C[i+4>>2]=0;o=C[a+100>>2];j=C[a+676>>2];a:{if(!j){e=sp(a,0);C[i+4>>2]=e;if(e){break a}j=C[a+676>>2]}n=C[j+8>>2];d=C[n>>2];m=Ve(o,4,0,d,0,i+4|0);if(C[i+4>>2]){break a}e=b>>>0>d>>>0?d:b;if(e){b=C[n+12>>2];while(1){b:{d=f<<2;g=C[d+c>>2];k=C[b+12>>2];if((g|0)<=(k|0)){h=C[b+4>>2];if((h|0)<=(g|0)){break b}}C[i+4>>2]=6;break a}l=d+m|0;d=C[b+8>>2];c:{if((d|0)>(g|0)){h=0-Ze(g-d|0,h-d|0)|0;break c}h=0;if((d|0)==(k|0)){break c}h=Ze(g-d|0,k-d|0)}C[l>>2]=h;b=b+24|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}b=C[n>>2];if(b>>>0>e>>>0){p((e<<2)+m|0,0,b-e<<2)}d:{if(D[j+16|0]){break d}e=C[a+104>>2];g=C[e+28>>2];h=C[a+676>>2];A[h+16|0]=1;if(Fe[C[a+508>>2]](a,1635148146,e,i+8|0)|0){break d}b=Cf(e,C[i+8>>2]);C[i+12>>2]=b;if(b){break d}b=wg(e);d=wg(e);e:{if((b|0)!=65536|(d|0)!=C[C[h+8>>2]>>2]){break e}c=0;b=Ve(g,8,0,d,0,i+12|0);C[h+20>>2]=b;if(C[i+12>>2]|(d|0)<=0){break e}while(1){f:{f=Gf(e);B[b>>1]=f;r=b,s=Ve(g,8,0,f,0,i+12|0),C[r+4>>2]=s;if(C[i+12>>2]){break f}f=0;if(E[b>>1]){while(1){k=Gf(e);l=f<<3;C[l+C[b+4>>2]>>2]=k<<16>>16<<2;k=Gf(e);C[(l+C[b+4>>2]|0)+4>>2]=k<<16>>16<<2;f=f+1|0;if(f>>>0>1]){continue}break}}b=b+8|0;c=c+1|0;if((d|0)!=(c|0)){continue}break e}break}b=C[h+20>>2];if(c){while(1){d=c-1|0;f=d<<3;b=C[(f+b|0)+4>>2];if(b){Fe[C[g+8>>2]](g,b)}b=C[h+20>>2];C[(f+b|0)+4>>2]=0;f=(c|0)>1;c=d;if(f){continue}break}}if(b){Fe[C[g+8>>2]](g,b)}C[h+20>>2]=0}xf(e)}d=C[n>>2];c=C[j+20>>2];g:{if(!c){break g}e=0;if(!d){d=0;break g}while(1){j=E[c>>1];h:{if(j>>>0<2){break h}f=(e<<2)+m|0;g=C[f>>2];h=C[c+4>>2];b=1;while(1){k=b<<3;l=k+h|0;q=C[l>>2];if((g|0)<(q|0)){j=g;b=k-8|0;d=b+h|0;g=C[d>>2];r=f,s=of(j-g|0,C[l+4>>2]-C[d+4>>2]|0,q-g|0)+C[(b+C[c+4>>2]|0)+4>>2]|0,C[r>>2]=s;d=C[n>>2];break h}b=b+1|0;if((j|0)!=(b|0)){continue}break}}c=c+8|0;e=e+1|0;if(e>>>0>>0){continue}break}}r=i,s=qw(a,d,m),C[r+4>>2]=s}if(m){Fe[C[o+8>>2]](o,m)}Ce=i+16|0;return C[i+4>>2]}function Om(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=Ce+-64|0;Ce=h;C[h>>2]=C[b>>2];C[h+4>>2]=C[c>>2];m=D[e+9|0];o=m?10:9;l=a+8|0;while(1){g=(i<<2)+h|0;p=g;n=C[g>>2];C[g+8>>2]=n;if(D[e+i|0]){a:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){g=0;k=C[a+4>>2];if(!k|C[k>>2]){break a}C[k>>2]=130;break a}b:{c:{d:{g=(j<<3)+a|0;switch(C[g+12>>2]-1|0){case 0:break c;case 1:break d;default:break b}}g=C[g+8>>2]<<16;break a}g=C[g+8>>2];if((g|0)<0){g=0-(8192-g>>14)|0;break a}g=g- -8192>>>14|0;break a}g=C[g+8>>2]}C[p+8>>2]=g+n;j=j+1|0}i=i+1|0;if((o|0)!=(i|0)){continue}break}if(!m){C[h+44>>2]=C[c>>2]}e:{if(f){f=C[h+44>>2];i=f-C[c>>2]|0;e=i>>31;i=(e^i)-e|0;g=C[h+40>>2];k=g-C[b>>2]|0;e=k>>31;k=(e^k)-e|0;f:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){j=0;e=C[a+4>>2];if(!e|C[e>>2]){break f}C[e>>2]=130;break f}g:{h:{i:{e=(j<<3)+a|0;switch(C[e+12>>2]-1|0){case 0:break h;case 1:break i;default:break g}}j=C[e+8>>2]<<16;break f}e=C[e+8>>2];if((e|0)<0){j=0-(8192-e>>14)|0;break f}j=e- -8192>>>14|0;break f}j=C[e+8>>2]}if(i>>>0>>0){i=g+j|0;e=C[c>>2];break e}i=C[b>>2];e=f+j|0;break e}j:{if(D[e+10|0]){g=C[h+40>>2];k:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){f=0;i=C[a+4>>2];if(!i|C[i>>2]){break k}C[i>>2]=130;break k}l:{m:{n:{f=(j<<3)+a|0;switch(C[f+12>>2]-1|0){case 0:break m;case 1:break n;default:break l}}f=C[f+8>>2]<<16;break k}f=C[f+8>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break k}f=f- -8192>>>14|0;break k}f=C[f+8>>2]}j=j+1|0;i=f+g|0;break j}i=C[b>>2]}if(D[e+11|0]){f=C[h+44>>2];o:{if(C[a+392>>2]-l>>3>>>0<=j>>>0){e=C[a+4>>2];g=0;if(!e|C[e>>2]){break o}C[e>>2]=130;e=f;break e}p:{q:{r:{e=(j<<3)+a|0;switch(C[e+12>>2]-1|0){case 0:break q;case 1:break r;default:break p}}e=(C[e+8>>2]<<16)+f|0;break e}e=C[e+8>>2];if((e|0)<0){e=f-(8192-e>>14)|0;break e}e=(e- -8192>>>14|0)+f|0;break e}g=C[e+8>>2]}e=f+g|0;break e}f=C[h+44>>2];e=C[c>>2]}vj(d,C[h+8>>2],C[h+12>>2],C[h+16>>2],C[h+20>>2],C[h+24>>2],C[h+28>>2]);vj(d,C[h+32>>2],C[h+36>>2],C[h+40>>2],f,i,e);C[a+392>>2]=l;C[b>>2]=i;C[c>>2]=e;Ce=h- -64|0}function Ty(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,o=0,p=0,q=0,r=0,s=0,t=0;n=Ce-16|0;Ce=n;e=mk(a,d);a:{if(e){break a}fl(a,b,c,d);e=C[a+2988>>2];k=C[a>>2];b=I(d,1468)+a|0;h=b;C[b+56>>2]=0;l=b+44|0;g=C[l>>2];c=C[b+52>>2];i=C[(d?12:4)+a>>2];if(!d){f=Ze(64,C[a+12>>2])}b=Te(C[(e+I(d,1572)|0)+248>>2],i);o=Ze((b|0)>=16?16:b,i);if((g|0)>0){p=I(g,48)+c|0;r=I(f,3);q=(I(d,1468)+a|0)- -64|0;while(1){b=B[c+8>>1];b:{if((b|0)<(f|0)|((r|0)>b<<1?C[c+24>>2]:0)){break b}c:{m=C[h+56>>2];d:{if((m|0)<=0){j=B[c+2>>1];break d}j=B[c+2>>1];t=C[q>>2];e=0;while(1){b=I(e,48)+t|0;s=j-B[b>>1]|0;g=s>>31;if(D[b+13|0]==D[c+1|0]&(o|0)>((g^s)-g|0)){break c}e=e+1|0;if((m|0)!=(e|0)){continue}break}}e=Gy(l,j,A[c+1|0],k,n+12|0);if(e){break a}b=C[n+12>>2];C[b>>2]=0;C[b+4>>2]=0;C[b+44>>2]=c;C[b+40>>2]=c;C[b+32>>2]=0;C[b+36>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;A[b+13|0]=D[c+1|0];g=B[c+2>>1];B[b>>1]=g;g=Te(g,i);C[b+8>>2]=g;C[b+4>>2]=g;C[c+16>>2]=c;break b}C[c+16>>2]=C[b+40>>2];C[C[b+44>>2]+16>>2]=c;C[b+44>>2]=c}c=c+48|0;if(p>>>0>c>>>0){continue}break}}b=C[h+56>>2];if((b|0)>0){f=C[(I(d,1468)+a|0)- -64>>2];l=f+I(b,48)|0;c=f;while(1){a=C[c+40>>2];e=a;if(e){while(1){C[e+12>>2]=c;e=C[e+16>>2];if((a|0)!=(e|0)){continue}break}}c=c+48|0;if(l>>>0>c>>>0){continue}break}while(1){a=f+28|0;i=f+24|0;o=C[f+40>>2];e=o;k=0;j=0;while(1){p=A[e|0]&1;r=!p;h=C[e+24>>2];e:{f:{g:{h:{if(h){b=C[h+12>>2];b=(b|0)!=0&(b|0)!=(f|0);c=C[e+20>>2];if(c){break h}if(b){break g}break e}b=0;c=C[e+20>>2];if(!c){break e}}if(!(b|C[c+12>>2])){break e}g=0;d=i;if(!b){break f}}c=h;g=1;d=a}b=C[d>>2];i:{if(b){q=B[e+2>>1]-B[c+2>>1]|0;d=q>>31;m=B[f>>1]-B[b>>1]|0;h=m>>31;if((d^q)-d>>>0>=(h^m)-h>>>0){break i}}b=C[c+12>>2]}if(g){C[a>>2]=b;A[b+12|0]=D[b+12|0]|2;break e}C[i>>2]=b}k=k+p|0;j=j+r|0;e=C[e+16>>2];if((o|0)!=(e|0)){continue}break}A[f+12|0]=(k|0)!=0&j>>>0<=k>>>0;if(!(!C[f+28>>2]|!C[i>>2])){C[a>>2]=0}f=f+48|0;if(l>>>0>f>>>0){continue}break}}e=0}Ce=n+16|0;return e}function mo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=D[a+4|0];if(!g){return 0}k=I(b+1|0,g);i=a+5|0;e=k+i|0;d=e;if(g>>>0>=4){j=g&252;while(1){h=d;d=h+4|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}c=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}h=g&3;if(h){while(1){c=D[d|0]|c<<8;d=d+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}h=g&3;j=I(b,g);d=j+i|0;i=0;if(g>>>0<4){f=0}else{l=g&252;f=0;while(1){b=d;d=b+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(h){while(1){f=D[d|0]|f<<8;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(c>>>0>>0){return 0}f=g&3;c=0;if(g>>>0<4){d=0}else{h=g&252;d=0;while(1){b=e;e=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(f){while(1){d=D[e|0]|d<<8;e=e+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!g){return 0}b=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=I(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),g);b=a+5|0;e=e+b|0;h=g&3;f=0;if(g>>>0<4){c=0}else{i=g&252;c=0;while(1){a=e;e=a+4|0;c=c+4|0;if((i|0)!=(c|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(h){while(1){c=D[e|0]|c<<8;e=e+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(c>>>0>>0){return 0}f=g&3;e=b+k|0;c=0;if(g>>>0<4){d=0}else{h=g&252;d=0;while(1){a=e;e=a+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(f){while(1){d=D[e|0]|d<<8;e=e+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}h=g&3;e=b+j|0;f=0;if(g>>>0<4){c=0}else{b=g&252;c=0;while(1){a=e;e=a+4|0;c=c+4|0;if((b|0)!=(c|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);c=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(h){while(1){c=D[e|0]|c<<8;e=e+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}return d-c|0}function pw(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=Ce-16|0;Ce=e;f=C[b+28>>2];a:{b:{i=C[a+676>>2];if(!i|!C[a+648>>2]){break b}if(Fe[C[a+508>>2]](a,1668702578,b,e+8|0)|0){break b}d=Cf(b,C[e+8>>2]);C[e+12>>2]=d;if(d){break b}d=C[b>>2];c=C[b+32>>2];c:{if((wg(b)|0)!=65536){C[e+12>>2]=0;break c}l=Ve(f,4,0,C[i>>2],0,e+12|0);if(C[e+12>>2]){break c}m=Ve(f,4,0,C[i>>2],0,e+12|0);if(C[e+12>>2]){break c}n=Ve(f,4,0,C[i>>2],0,e+12|0);if(C[e+12>>2]){break c}j=Gf(b);g=Gf(b);r=j&4095;if(!r){break c}p=g+(c-d|0)|0;while(1){t=Gf(b);d:{e:{f:{g:{h:{d=Gf(b);j=d<<16>>16;if((j|0)<0){c=0;i:{if(!C[i>>2]){break i}while(1){w=(c<<2)+l|0,x=Gf(b)<<16>>16<<2,C[w>>2]=x;c=c+1|0;g=C[i>>2];if(c>>>0>>0){continue}break}if(!(d&16384)){break i}c=0;if(!g){break i}while(1){w=(c<<2)+m|0,x=Gf(b)<<16>>16<<2,C[w>>2]=x;c=c+1|0;g=C[i>>2];if(c>>>0>>0){continue}break}c=0;if(!g){break i}while(1){w=(c<<2)+n|0,x=Gf(b)<<16>>16<<2,C[w>>2]=x;c=c+1|0;if(c>>>0>2]){continue}break}}q=ow(i,j&65535,l,m,n);if(!q|!(d&8192)){break d}d=C[b+32>>2];c=C[b>>2];C[b+32>>2]=c+p;u=d-c|0;j=rp(b,e+4|0);k=!j;d=C[e+4>>2];if(d){h=d}else{h=C[a+644>>2]}g=qp(b,h);if(k|!g){break g}if((j|0)==-1){break h}if(!d){break f}h=C[a+648>>2];c=0;while(1){k=h;h=c<<1;o=E[h+j>>1]<<1;k=E[k+o>>1];v=Te(B[g+h>>1],q);h=C[a+648>>2];B[o+h>>1]=k+v;c=c+1|0;if((d|0)!=(c|0)){continue}break}break g}if(!(d&16384)){break d}c=0;if(!(C[i>>2]&2147483647)){break d}while(1){Gf(b);c=c+1|0;if(c>>>0>2]<<1>>>0){continue}break}break d}if(!C[a+644>>2]){break e}d=C[a+648>>2];c=0;while(1){h=c<<1;o=E[h+d>>1];k=Te(B[g+h>>1],q);d=C[a+648>>2];B[h+d>>1]=o+k;c=c+1|0;if(c>>>0>2]){continue}break}}if((j|0)==-1){break e}}if(j){Fe[C[f+8>>2]](f,j)}}if(g){Fe[C[f+8>>2]](f,g)}C[b+32>>2]=C[b>>2]+u}p=p+t|0;s=s+1|0;if((s|0)!=(r|0)){continue}break}}xf(b);break a}C[e+12>>2]=0}if(l){Fe[C[f+8>>2]](f,l)}if(m){Fe[C[f+8>>2]](f,m)}if(n){Fe[C[f+8>>2]](f,n)}Ce=e+16|0;return C[e+12>>2]}function vG(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,k=0,l=0;if(Hf(c,b,11180,0)){Rl(b,c,2,11,-1,-1);k=C[c+80>>2];a:{if(!k){break a}f=k-1|0;a=0;d=C[c+92>>2];g=D[d+15|0];while(1){b:{if((a|0)==(f|0)){a=k;break b}a=a+1|0;if((g|0)==D[(d+I(a,20)|0)+15|0]){continue}}break}if(!k){break a}h=C[c+92>>2];d=D[h+15|0];g=0;e=k;while(1){f=a;c:{switch(d&15){case 0:case 2:d:{e:{a=g+3|0;if(f>>>0>>0){break e}d=I(g,20)+h|0;if(D[d+18|0]!=16|D[d+38|0]!=18|D[d+58|0]!=4){break e}i=3;j=0;break d}i=0;a=g;j=1}d=g;f:{if(a>>>0>=f>>>0){break f}while(1){g:{d=I(a,20)+h|0;if(D[d+12|0]&32){break g}d=D[d+18|0];if(d>>>0>31|!(1<>>0>>0){a=0;e=g;if(!j){while(1){A[(I(e,20)+h|0)+19|0]=5;e=e+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(i-1>>>0>6){while(1){a=I(e,20)+h|0;A[a+39|0]=5;A[a+19|0]=5;A[a+59|0]=5;A[a+79|0]=5;A[a+99|0]=5;A[a+119|0]=5;A[a+139|0]=5;A[a+159|0]=5;e=e+8|0;if((l|0)!=(e|0)){continue}break}}a=l}if(a>>>0>>0){l=d+(a^-1)|0;e=0;j=d-a&7;if(j){while(1){A[(I(a,20)+h|0)+19|0]=3;a=a+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(l>>>0>=7){while(1){e=I(a,20)+h|0;A[e+39|0]=3;A[e+19|0]=3;A[e+59|0]=3;A[e+79|0]=3;A[e+99|0]=3;A[e+119|0]=3;A[e+139|0]=3;A[e+159|0]=3;a=a+8|0;if((d|0)!=(a|0)){continue}break}}a=d}if(a>>>0>>0){A[(I(a,20)+h|0)+19|0]=4;a=a+1|0}d=5;if(a>>>0>>0){while(1){i=3;e=I(a,20)+h|0;j=D[e+18|0];h:{i:{if((j|0)==22){break i}if(D[e+19|0]<4){break h}if((j|0)==30){i=D[e-1|0];break i}i=8;if(!((d|0)!=5|(j|0)!=27)){d=8;break i}if((d|0)==8){i=7;d=8;if((j|0)==10){break i}i=(j|0)==27?8:9;d=i;break i}i=d}A[e+19|0]=i}a=a+1|0;if((f|0)!=(a|0)){continue}break}}Ir(c,g,f,231);h=C[c+92>>2];e=C[c+80>>2];break;default:break c}}a=f+1|0;g=a>>>0>>0?e:a;d=D[(I(f,20)+h|0)+15|0];a=f;while(1){j:{a=a+1|0;if(e>>>0<=a>>>0){a=g;break j}if((d|0)==D[(I(a,20)+h|0)+15|0]){continue}}break}g=f;if(f>>>0>>0){continue}break}}Hf(c,b,11205,0)}}function Zz(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,j=0,k=0,l=0,m=0,n=0,o=0;if((c|0)==(e|0)){a=C[a+20>>2]+I(C[a+16>>2]/D[C[a+4>>2]+9|0]|0,e)|0;a:{if((b|0)<=(d|0)){c=(g|0)!=0;h=a+b|0;a=d-b|0;break a}c=(g|0)!=0;h=!g+(a+d|0)|0;a=b-d|0}mf(h,f,a+c|0);return}b:{if((b|0)==(d|0)){d=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+I(c,d)|0)+b|0;b=e-c|0;break c}a=((a+I(d,e)|0)+b|0)+(g?0:d)|0;b=c-e|0}c=0;b=b+((g|0)!=0)|0;if(!b){break b}e=b-1|0;g=b&7;if(g){while(1){A[a|0]=f;a=a+d|0;b=b-1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(e>>>0<7){break b}while(1){A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;A[a|0]=f;a=a+d|0;b=b-8|0;if(b){continue}break}break b}h=b-d|0;i=h>>31;k=c-e|0;j=k>>31;if(((h^i)-i|0)==((j^k)-j|0)){i=C[a+16>>2]/D[C[a+4>>2]+9|0]|0;a=C[a+20>>2];d:{if((c|0)<=(e|0)){k=e-c|0;h=i+((b|0)>(d|0)?-1:1)|0;a=(a+I(c,i)|0)+b|0;break d}h=i+((b|0)<(d|0)?-1:1)|0;a=((a+I(e,i)|0)+d|0)+(g?0:h)|0}c=0;b=((g|0)!=0)+k|0;if(!b){break b}d=b-1|0;e=b&7;if(e){while(1){A[a|0]=f;a=a+h|0;b=b-1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(d>>>0<7){break b}while(1){A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;A[a|0]=f;a=a+h|0;b=b-8|0;if(b){continue}break}break b}h=d-b|0;i=h>>31;k=e-c|0;j=k>>31;i=(h^i)-i|0;j=(j^k)-j|0;e:{if(i>>>0>=j>>>0){n=j-i|0;k=j<<1;h=k-i|0;j=1;break e}n=i-j|0;l=1;k=i<<1;h=k-j|0;i=j;j=0}g=((g|0)!=0)+i|0;if(!g){break b}if((g|0)!=1){i=(c|0)>(e|0);e=i?0-l|0:l;l=0-j|0;m=j;j=(b|0)>(d|0);d=j?l:m;i=i?-1:1;j=j?-1:1;n=n<<1;o=g&-2;l=0;while(1){A[(C[a+20>>2]+I(C[a+16>>2],c)|0)+b|0]=f;m=c;c=(h|0)<0;m=m+(c?e:i)|0;b=(c?d:j)+b|0;A[(C[a+20>>2]+I(m,C[a+16>>2])|0)+b|0]=f;h=(c?k:n)+h|0;c=(h|0)<0;h=(c?k:n)+h|0;b=b+(c?d:j)|0;c=(c?e:i)+m|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}if(!(g&1)){break b}A[(C[a+20>>2]+I(C[a+16>>2],c)|0)+b|0]=f}}function cx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ce-16|0;Ce=i;d=C[a+12>>2];if(d){C[(C[a+20>>2]+(d<<4)|0)-4>>2]=b}l=C[a+24>>2];a:{if((l|0)<2){break a}o=l;while(1){p=o;j=o-2|0;g=C[a+32>>2];o=o-1|0;b=g+(o<<4)|0;m=C[b>>2];d=C[b+8>>2];while(1){b:{h=g+(j<<4)|0;b=C[h+8>>2];c:{h=C[h>>2];f=h>>>0>m>>>0?m:h;d:{e:{if(f>>>0<8){n=d;break e}n=(f-8>>>3|0)+1|0;h=n+b|0;n=d+n|0;e=d;while(1){if(D[b|0]&D[e|0]){break d}b=b+1|0;e=e+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=h}if(!f|!(D[b|0]&D[n|0]&-256>>f)){break c}}b=j>>>0>>0?j:o;n=j>>>0>o>>>0?j:o;if(b>>>0>=n>>>0|n>>>0>=l>>>0){break b}k=g+(n<<4)|0;m=C[k>>2];f:{if(!m){break f}g=g+(b<<4)|0;b=C[g>>2];g:{if(m>>>0<=b>>>0){l=m+7|0;f=l>>>3|0;break g}d=C[g+4>>2];C[i>>2]=0;l=m+7|0;f=l>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;q=g,r=Ve(c,1,e,d,C[g+8>>2],i),C[q+8>>2]=r;e=C[i>>2];if(e){break a}C[g+4>>2]=d<<3}d=b+1|0;if(m-b&1){if(F[g>>2]>b>>>0){h=C[g+8>>2]+(b>>>3|0)|0;A[h|0]=D[h|0]&-129>>(b&7)}b=d}if((d|0)==(m|0)){break g}while(1){if(F[g>>2]>b>>>0){d=C[g+8>>2]+(b>>>3|0)|0;A[d|0]=D[d|0]&-129>>(b&7)}h=b+1|0;if(h>>>0>2]){d=C[g+8>>2]+(h>>>3|0)|0;A[d|0]=D[d|0]&-129>>(h&7)}b=b+2|0;if((m|0)!=(b|0)){continue}break}}if(l>>>0<8){break f}h=f-1|0;e=C[k+8>>2];b=C[g+8>>2];j=0;d=f&3;if(d){while(1){A[b|0]=D[e|0]|D[b|0];f=f-1|0;e=e+1|0;b=b+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}if(h>>>0<3){break f}while(1){A[b|0]=D[e|0]|D[b|0];A[b+1|0]=D[e+1|0]|D[b+1|0];A[b+2|0]=D[e+2|0]|D[b+2|0];A[b+3|0]=D[e+3|0]|D[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}C[k>>2]=0;C[k+12>>2]=0;b=C[a+24>>2];d=b+(n^-1)|0;if((d|0)>0){b=C[k+12>>2];C[i+8>>2]=C[k+8>>2];C[i+12>>2]=b;b=C[k+4>>2];C[i>>2]=C[k>>2];C[i+4>>2]=b;b=d<<4;t(k,k+16|0,b);d=b+k|0;b=C[i+12>>2];C[d+8>>2]=C[i+8>>2];C[d+12>>2]=b;b=C[i+4>>2];C[d>>2]=C[i>>2];C[d+4>>2]=b;b=C[a+24>>2]}l=b-1|0;C[a+24>>2]=l;break b}b=(j|0)>0;j=j-1|0;if(b){continue}}break}if((p|0)>2){continue}break}e=0}Ce=i+16|0;return e}function am(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-32|0;Ce=f;C[f+28>>2]=0;C[f+20>>2]=0;C[f+24>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(a-6|0){default:d=a-265|0;if(d>>>0>9){break f}d=1<>2];if(d){d=d-1|0;if(d>>>0>2]){break d}d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;C[f+24>>2]=g;C[f+28>>2]=d;break c}A[b+20|0]=1;d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;C[f+24>>2]=g;C[f+28>>2]=d;break c}e=b+24|0;d=C[e>>2];m:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;l(0,g|0);l(1,d|0);h=+n();break m}h=H[C[b+36>>2]+(d<<3)>>3];break m}A[b+20|0]=1;d=C[21153];g=C[21152];C[104428]=g;C[104429]=d;l(0,g|0);l(1,d|0);h=+n()}n:{if(K(h)<2147483648){d=~~h;break n}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;break c}o:{if(D[b+48|0]){e=C[b+44>>2];break o}d=C[b+24>>2];p:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);h=+n();break p}h=H[C[b+36>>2]+(d<<3)>>3];break p}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);h=+n()}q:{if(K(h)<2147483648){e=~~h;break q}e=-2147483648}if((e|0)<0){A[b+20|0]=1;e=0}C[b+44>>2]=e}A[b+48|0]=1;C[c+24>>2]=e;e=b+24|0;break c}Hk(b+20|0,b);break e}h=Gk(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=h;break e}A[b+20|0]=1;d=C[21153];C[104428]=C[21152];C[104429]=d;H[52214]=h;break e}Sj(a,b)}if(!C[b+24>>2]){break b}break a}d=C[b+36>>2]+(d<<3)|0;g=C[d+4>>2];C[f+24>>2]=C[d>>2];C[f+28>>2]=g}C[e>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}mu(c,a,b,f+8|0)}Ce=f+32|0}function Gn(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;C[f+8>>2]=0;C[f+4>>2]=0;C[f>>2]=0;e=C[a+8>>2];d=C[a+4>>2];a:{if(!(Fe[C[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break a}c=C[f+8>>2];if(c){C[f>>2]=0;h=c;c=C[e+72>>2];if(!(Fe[C[c+156>>2]](e,C[e+76>>2],h,f,C[c+20>>2])|0)){break a}}C[f+4>>2]=0;c=C[e+72>>2];c=Fe[C[c+156>>2]](e,C[e+76>>2],C[f+12>>2],f+4|0,C[c+20>>2])|0;g=C[f+12>>2];if(!c|!b){g=Gn(a,b,g);if(g){c=C[f+8>>2];if(!c){break a}C[(C[d+92>>2]+I(C[d+76>>2],20)|0)+12>>2]=C[f>>2];b:{if(!$e(d,0,1)){a=C[d+84>>2];break b}a=C[d+76>>2];c:{if(a>>>0>2]){e=C[d+84>>2];b=C[d+96>>2];a=C[d+92>>2]+I(a,20)|0;break c}b=C[d+96>>2];e=C[d+84>>2];a=e-1|0;a=b+I(a>>>0<=e>>>0?a:0,20)|0}b=I(e,20)+b|0;e=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=e;C[b+16>>2]=C[a+16>>2];e=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=e;C[b>>2]=c;a=C[d+84>>2]+1|0;C[d+84>>2]=a}b=a-1|0;cj(C[d+96>>2]+I(a>>>0>=b>>>0?b:0,20)|0,d);g=g+1|0;break a}if(!c){g=0;break a}g=C[f+12>>2]}C[(C[d+92>>2]+I(C[d+76>>2],20)|0)+12>>2]=C[f+4>>2];d:{if(!$e(d,0,1)){a=C[d+84>>2];break d}a=C[d+76>>2];e:{if(a>>>0>2]){e=C[d+84>>2];c=C[d+96>>2];a=C[d+92>>2]+I(a,20)|0;break e}c=C[d+96>>2];e=C[d+84>>2];a=e-1|0;a=c+I(a>>>0<=e>>>0?a:0,20)|0}b=I(e,20)+c|0;c=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=c;C[b+16>>2]=C[a+16>>2];c=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=c;C[b>>2]=g;a=C[d+84>>2]+1|0;C[d+84>>2]=a}b=a-1|0;cj(C[d+96>>2]+I(a>>>0>=b>>>0?b:0,20)|0,d);g=C[f+8>>2];if(!g){g=1;break a}C[(C[d+92>>2]+I(C[d+76>>2],20)|0)+12>>2]=C[f>>2];f:{if(!$e(d,0,1)){a=C[d+84>>2];break f}a=C[d+76>>2];g:{if(a>>>0>2]){e=C[d+84>>2];c=C[d+96>>2];a=C[d+92>>2]+I(a,20)|0;break g}c=C[d+96>>2];e=C[d+84>>2];a=e-1|0;a=c+I(a>>>0<=e>>>0?a:0,20)|0}b=I(e,20)+c|0;c=C[a+4>>2];C[b>>2]=C[a>>2];C[b+4>>2]=c;C[b+16>>2]=C[a+16>>2];c=C[a+12>>2];C[b+8>>2]=C[a+8>>2];C[b+12>>2]=c;C[b>>2]=g;a=C[d+84>>2]+1|0;C[d+84>>2]=a}b=a-1|0;cj(C[d+96>>2]+I(a>>>0>=b>>>0?b:0,20)|0,d);g=2}Ce=f+16|0;return g}function Dp(a,b,c,d,e){var 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,u=0,v=0,w=0,x=0,y=0,z=0,E=0;f=Ce-80|0;Ce=f;a:{if(C[b+72>>2]!=C[a+16>>2]){C[f+76>>2]=6;break a}if((c|0)!=(e|0)){C[f+76>>2]=19;break a}p=b+108|0;b:{if(!d){e=0;d=0;break b}e=C[d+4>>2];d=C[d>>2]}r=C[a+8>>2];Zh(p,f+60|0);q=d+C[f+60>>2]|0;m=q&-64;C[f+60>>2]=m;h=C[f+64>>2]+e&-64;C[f+64>>2]=h;k=(d+C[f+68>>2]|0)+63|0;C[f+68>>2]=k&-64;l=(C[f+72>>2]+e|0)+63|0;C[f+72>>2]=l&-64;c:{u=k-m|0;k=u>>>6|0;g=I(k,3);n=(c|0)==3;v=n?g:k;if(v>>>0<=32767){w=l-h|0;o=w>>>6|0;s=(c|0)!=4?o:I(o,3);if(s>>>0<32768){break c}}C[f+76>>2]=98;break a}if(A[C[b+156>>2]+4|0]&1){i=C[b+88>>2];if(i){Fe[C[r+8>>2]](r,i)}C[b+88>>2]=0;i=C[b+156>>2];C[i+4>>2]=C[i+4>>2]&-2}g=n?g+3&536870908:k;z=b,E=hf(r,I(g,s),f+76|0),C[z+88>>2]=E;if(C[f+76>>2]){break a}n=e-h|0;i=d-m|0;j=C[b+156>>2];C[j+4>>2]=C[j+4>>2]|1;C[b+104>>2]=l>>6;C[b+100>>2]=q>>6;C[b+72>>2]=1651078259;A[b+94|0]=2;B[b+92>>1]=256;C[b+80>>2]=v;C[b+84>>2]=g;C[b+76>>2]=s;l=(d|0)==(m|0)&(e|0)==(h|0);if(!l){Pg(p,i,n)}C[f+20>>2]=1;C[f+16>>2]=p;C[f+12>>2]=b+76;q=Fe[C[a+56>>2]](C[a+52>>2],f+12|0)|0;C[f+76>>2]=q;d:{if(!q){e:{if((c|0)==3){if(w>>>0<64){break e}m=k-1|0;x=u&64;h=C[b+88>>2];y=(k|0)==1;e=o;while(1){f:{if(u>>>0<64){break f}a=h+v|0;if(x){d=D[h+m|0];A[a-1|0]=d;A[a-2|0]=d;a=a-3|0;A[a|0]=d;d=m}else{d=k}if(y){break f}while(1){j=D[(d+h|0)-1|0];A[a-1|0]=j;A[a-2|0]=j;A[a-3|0]=j;d=d-2|0;j=D[h+d|0];A[a-4|0]=j;A[a-5|0]=j;a=a-6|0;A[a|0]=j;if(d){continue}break}}h=g+h|0;e=e-1|0;if(e){continue}break}}if(!((c|0)!=4|w>>>0<64)){d=C[b+88>>2];a=d+I(g,s-o|0)|0;while(1){t(d,a,g);c=d+g|0;t(c,a,g);c=c+g|0;t(c,a,g);a=a+g|0;d=c+g|0;o=o-1|0;if(o){continue}break}}C[f+76>>2]=0;if(!l){Pg(p,0-i|0,0-n|0)}if(q){break d}break a}C[f+76>>2]=0;if(l){break a}Pg(p,0-i|0,0-n|0);break a}if(l){break d}Pg(p,0-i|0,0-n|0)}a=C[b+88>>2];if(a){Fe[C[r+8>>2]](r,a)}C[b+88>>2]=0;a=C[b+156>>2];C[a+4>>2]=C[a+4>>2]&-2}Ce=f+80|0;return C[f+76>>2]}function dK(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,j=0,k=0,l=0;e=Ce-1552|0;Ce=e;f=6;h=C[a+4>>2];a:{if(F[h+16>>2]<=c>>>0){break a}g=C[h+136>>2];C[a+164>>2]=C[b+16>>2];C[a+168>>2]=C[b+20>>2];C[a+108>>2]=0;C[a+72>>2]=1869968492;d=d&1024?d|3:d;i=d&3;f=Fe[C[C[g+12>>2]>>2]](e+52|0,h,b,a,0,0,!i,d>>>16&15,1208)|0;if(f){break a}j=d&1024;A[e+121|0]=j>>>10;f=bw(e+52|0,c);if(f){break a}c=e+1436|0;f=C[c+4>>2];C[e+40>>2]=C[c>>2];C[e+44>>2]=f;c=C[e+1432>>2];C[e+32>>2]=C[e+1428>>2];C[e+36>>2]=c;c=C[e+1448>>2];f=C[e+1444>>2];Fe[C[C[g+12>>2]+4>>2]](e+52|0);C[a+124>>2]=C[a+124>>2]&1|4;b:{if(j){b=C[a+156>>2];d=C[e+84>>2];C[a+32>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;d=a;a=C[e+92>>2];C[d+40>>2]=((a|0)>=0?a+32768&-65536:0-(32768-a&-65536)|0)>>16;a=C[e+44>>2];C[b+20>>2]=C[e+40>>2];C[b+24>>2]=a;a=C[e+36>>2];C[b+12>>2]=C[e+32>>2];C[b+16>>2]=a;C[b+32>>2]=c;C[b+28>>2]=f;A[b+8|0]=1;break b}g=C[e+92>>2];C[a+40>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;g=C[e+92>>2];C[a+56>>2]=((g|0)>=0?g+32768&-65536:0-(32768-g&-65536)|0)>>16;A[C[a+156>>2]+8|0]=0;g=C[h+200>>2];h=C[h+208>>2];C[a+72>>2]=1869968492;h=h-g>>16;C[a+60>>2]=h;C[a+52>>2]=h;if(E[b+14>>1]<=23){C[a+124>>2]=C[a+124>>2]|256}h=a+108|0;b=e+32|0;Ui(h,b);Pg(h,f,c);g=C[a+40>>2];C[e+12>>2]=0;C[e+8>>2]=g;g=e+8|0;Yh(g,b);C[a+40>>2]=f+C[e+8>>2];C[e+8>>2]=0;C[e+12>>2]=C[a+52>>2];Yh(g,b);C[a+52>>2]=c+C[e+12>>2];if(!(d&1)){c=C[a+168>>2];g=C[a+164>>2];c:{if(!(C[e+124>>2]?i:1)){break c}f=C[e+68>>2];b=B[f+2>>1];if((b|0)<=0){break c}b=b&65535;f=C[f+4>>2];while(1){k=f,l=Te(C[f>>2],g),C[k>>2]=l;k=f,l=Te(C[f+4>>2],c),C[k+4>>2]=l;f=f+8|0;i=b>>>0>1;b=b-1|0;if(i){continue}break}}k=a,l=Te(C[a+40>>2],g),C[k+40>>2]=l;k=a,l=Te(C[a+52>>2],c),C[k+52>>2]=l}Zh(h,e+16|0);b=C[e+16>>2];C[a+24>>2]=C[e+24>>2]-b;c=C[e+20>>2];f=C[e+28>>2];C[a+36>>2]=f;C[a+32>>2]=b;C[a+28>>2]=f-c;if(!(d&16)){break b}ik(a+24|0,C[a+52>>2])}f=0}Ce=e+1552|0;return f|0}function lf(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,o=0;if(!a){return kf(b)}if(b>>>0>=4294967232){C[105782]=48;return 0}f=b>>>0<11?16:b+11&-8;e=a-8|0;j=C[e+4>>2];d=j&-8;a:{if(!(j&3)){if(f>>>0<256){break a}if(d>>>0>=f+4>>>0){c=e;if(d-f>>>0<=C[108234]<<1>>>0){break a}}c=0;break a}g=d+e|0;b:{if(d>>>0>=f>>>0){d=d-f|0;if(d>>>0<16){break b}C[e+4>>2]=j&1|f|2;c=e+f|0;C[c+4>>2]=d|3;C[g+4>>2]=C[g+4>>2]|1;hm(c,d);break b}if(C[108120]==(g|0)){h=d+C[108117]|0;if(h>>>0<=f>>>0){break a}C[e+4>>2]=j&1|f|2;d=e+f|0;c=h-f|0;C[d+4>>2]=c|1;C[108117]=c;C[108120]=d;break b}if(C[108119]==(g|0)){d=d+C[108116]|0;if(d>>>0>>0){break a}c=d-f|0;c:{if(c>>>0>=16){C[e+4>>2]=j&1|f|2;h=e+f|0;C[h+4>>2]=c|1;d=d+e|0;C[d>>2]=c;C[d+4>>2]=C[d+4>>2]&-2;break c}C[e+4>>2]=d|j&1|2;c=d+e|0;C[c+4>>2]=C[c+4>>2]|1;c=0}C[108119]=h;C[108116]=c;break b}h=C[g+4>>2];if(h&2){break a}k=d+(h&-8)|0;if(k>>>0>>0){break a}m=k-f|0;d:{if(h>>>0<=255){d=C[g+12>>2];c=C[g+8>>2];if((d|0)==(c|0)){n=432456,o=C[108114]&rT(-2,h>>>3|0),C[n>>2]=o;break d}C[c+12>>2]=d;C[d+8>>2]=c;break d}l=C[g+24>>2];i=C[g+12>>2];e:{if((i|0)!=(g|0)){c=C[g+8>>2];C[c+12>>2]=i;C[i+8>>2]=c;break e}f:{h=g+20|0;c=C[h>>2];if(c){break f}h=g+16|0;c=C[h>>2];if(c){break f}i=0;break e}while(1){d=h;i=c;h=c+20|0;c=C[h>>2];if(c){continue}h=i+16|0;c=C[i+16>>2];if(c){continue}break}C[d>>2]=0}if(!l){break d}d=C[g+28>>2];c=(d<<2)+432760|0;g:{if(C[c>>2]==(g|0)){C[c>>2]=i;if(i){break g}n=432460,o=C[108115]&rT(-2,d),C[n>>2]=o;break d}C[(C[l+16>>2]==(g|0)?16:20)+l>>2]=i;if(!i){break d}}C[i+24>>2]=l;c=C[g+16>>2];if(c){C[i+16>>2]=c;C[c+24>>2]=i}c=C[g+20>>2];if(!c){break d}C[i+20>>2]=c;C[c+24>>2]=i}if(m>>>0<=15){C[e+4>>2]=j&1|k|2;c=e+k|0;C[c+4>>2]=C[c+4>>2]|1;break b}C[e+4>>2]=j&1|f|2;d=e+f|0;C[d+4>>2]=m|3;c=e+k|0;C[c+4>>2]=C[c+4>>2]|1;hm(d,m)}c=e}if(c){return c+8|0}e=kf(b);if(!e){return 0}c=C[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;jf(e,a,b>>>0>c>>>0?c:b);Re(a);return e}function _j(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=a&65535;f=a>>>16|0;a:{if((c|0)==1){a=D[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+f|0;c=b<<16;a=(b>>>0>65520?c+983040|0:c)|a;break a}if(b){if(c>>>0>=16){b:{c:{d:{if(c>>>0>5551){while(1){c=c-5552|0;e=347;a=b;while(1){g=D[a|0]+d|0;h=g+D[a+1|0]|0;i=h+D[a+2|0]|0;j=i+D[a+3|0]|0;k=j+D[a+4|0]|0;l=k+D[a+5|0]|0;m=l+D[a+6|0]|0;n=m+D[a+7|0]|0;o=n+D[a+8|0]|0;p=o+D[a+9|0]|0;q=p+D[a+10|0]|0;r=q+D[a+11|0]|0;s=r+D[a+12|0]|0;t=s+D[a+13|0]|0;u=t+D[a+14|0]|0;d=u+D[a+15|0]|0;f=d+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(f+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;e=e-1|0;if(e){continue}break}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break b}if(c>>>0<16){break d}}while(1){a=D[b|0]+d|0;e=a+D[b+1|0]|0;g=e+D[b+2|0]|0;h=g+D[b+3|0]|0;i=h+D[b+4|0]|0;j=i+D[b+5|0]|0;k=j+D[b+6|0]|0;l=k+D[b+7|0]|0;m=l+D[b+8|0]|0;n=m+D[b+9|0]|0;o=n+D[b+10|0]|0;p=o+D[b+11|0]|0;q=p+D[b+12|0]|0;r=q+D[b+13|0]|0;s=r+D[b+14|0]|0;d=s+D[b+15|0]|0;f=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(e+(a+f|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 c}}g=c-1|0;h=c&3;if(h){e=0;a=b;while(1){c=c-1|0;d=D[a|0]+d|0;f=f+d|0;b=a+1|0;a=b;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(g>>>0<3){break c}while(1){a=D[b|0]+d|0;e=a+D[b+1|0]|0;g=e+D[b+2|0]|0;d=g+D[b+3|0]|0;f=d+(g+(e+(a+f|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0}a=f<<16|d;break a}e:{if(!c){break e}g=c&3;f:{if(!g){a=c;break f}a=c;e=b;while(1){a=a-1|0;d=D[e|0]+d|0;f=f+d|0;b=e+1|0;e=b;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(c>>>0<4){break e}while(1){c=D[b|0]+d|0;e=c+D[b+1|0]|0;g=e+D[b+2|0]|0;d=g+D[b+3|0]|0;f=d+(g+(e+(c+f|0)|0)|0)|0;b=b+4|0;a=a-4|0;if(a){continue}break}}a=(f>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}}return a}function cu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}g=C[b+12>>2];e=g-16|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<4){break a}e=a+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break a}d=g-20|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=A[e|0];if((d|0)<0){break a}if(!Eh((D[a+7|0]|(D[a+5|0]<<16|(d&255)<<24|D[a+6|0]<<8))+a|0,b)){return 0}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(i>>>0>2147483646){break a}d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);j=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0;e=a;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=i<<1;g=0;a=0;d=0;while(1){e=d;b:{c:{d:{e:{if((a|0)>=(g|0)){h=a+1|0;if(!(!i|h>>>0<4294967295/(m>>>0)>>>0)){return 0}d=I(h,m);f:{if(!d){f=C[b+12>>2];break f}if(F[b+4>>2]>k>>>0){break a}f=C[b+8>>2];if(f>>>0>>0|d>>>0>f-k>>>0){break a}f=C[b+12>>2]-d|0;C[b+12>>2]=f;if((f|0)<=0){break a}}d=((a^-1)+g|0)+f|0;C[b+12>>2]=d;if((d|0)<=0|(h>>>0>=4294967295/(i>>>0)>>>0?i:0)){break a}d=I(h,i);if((d|0)<0){break a}g=I(g,i);if((g|0)<(d|0)){break e}g=h}if(!e){break c}d=e;break d}l=(d<<1)+k|0;f=(g<<1)+k|0;d=e;while(1){g=D[f|0]|D[f+1|0]<<8;g=((g<<8|g>>>8)&65535)+1|0;d=d>>>0>g>>>0?d:g;f=f+2|0;if(l>>>0>f>>>0){continue}break}g=h}l=0;if(F[b+4>>2]>j>>>0){break a}h=C[b+8>>2];if(h>>>0>>0){break a}f=h-j|0;h=d<<3;if(f>>>0>>0){break a}f=C[b+12>>2]-h|0;C[b+12>>2]=f;if((f|0)<=0){break a}break b}f=C[b+12>>2];d=e}h=(e-d|0)+f|0;C[b+12>>2]=h;if((h|0)<=0){return 0}if((d|0)>(e|0)){h=(d<<3)+j|0;f=(e<<3)+j|0;while(1){e=D[f|0]|D[f+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;f=f+8|0;if(h>>>0>f>>>0){continue}break}}if((a|0)>=(g|0)){continue}break}l=1;if(!c){break a}C[c>>2]=d}return l}function kH(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,j=0,k=0,l=0,m=0,n=0,o=0;b=bj(C[a+60>>2],b,c);a:{if(b){break a}b:{if(!C[a+36>>2]){C[d>>2]=1;break b}b=C[a>>2];d=Fe[C[b+4>>2]](b,0,0,1)|0;h=Ee;j=C[a+48>>2];l=C[a+52>>2];m=C[a+64>>2];c:{if((m|0)>0){n=C[a+68>>2];c=0;while(1){e=I(c,20);b=e+n|0;d:{if(!C[b>>2]){break d}i=I(D[a+14|0],E[a+12>>1]>>>3&31);o=e+n|0;k=I(i,C[o+4>>2]);e=C[a+44>>2];g=k;f=C[a+40>>2];k=k+f|0;g=g>>>0>k>>>0?e+1|0:e;if(d>>>0>>0&(g|0)>=(h|0)|(g|0)>(h|0)){break d}i=I(i,C[o+8>>2]+1|0);f=f+i|0;e=i>>>0>f>>>0?e+1|0:e;if(d>>>0>>0&(e|0)>=(h|0)|(e|0)>(h|0)){break c}}c=c+1|0;if((m|0)!=(c|0)){continue}break}}b=0;f=j;e=l}e:{j=C[a>>2];l=f-d|0;c=C[a+20>>2];i=c;m=c>>>0>l>>>0;d=e-(h+(d>>>0>f>>>0)|0)|0;c=c>>31;c=Fe[C[j+8>>2]](j,C[a+56>>2],1,m&(d|0)<=(c|0)|(c|0)>(d|0)?l:i)|0;if((c|0)<=0){break e}if((Lj(C[a+60>>2],C[a+56>>2],c)|0)>=0){break e}return-1}f:{if(!b){break f}c=C[a>>2];d=Fe[C[c+4>>2]](c,0,0,1)>>>0>>0;c=Ee;if(d&(e|0)>=(c|0)|(c|0)<(e|0)){break f}g:{h:{i:{c=C[b+16>>2];switch(c|0){case 1:break g;case 0:break h;default:break i}}C[b+16>>2]=c-1}a=C[a>>2];Fe[C[a+4>>2]](a,k,g,0)|0;break b}C[b>>2]=0}b=C[a>>2];d=Fe[C[b+4>>2]](b,0,0,1)|0;c=Ee;b=C[a+52>>2];if(d>>>0>2]&(c|0)<=(b|0)|(b|0)>(c|0)){break b}c=C[a+36>>2];if((c|0)==1){C[a+36>>2]=0;js(C[a+60>>2]);break b}b=-1;j=(c|0)<=0?-1:c-1|0;h=C[a+64>>2];j:{if((h|0)<=0){break j}g=C[a+68>>2];c=0;if(h>>>0>=4){d=h&-4;f=0;while(1){e=g+I(c,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];e=g+I(c|1,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];e=g+I(c|2,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];e=g+I(c|3,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];c=c+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=h&3;if(!d){break j}f=0;while(1){e=g+I(c,20)|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}C[a+36>>2]=j;c=C[a>>2];Fe[C[c+4>>2]](c,C[a+40>>2],C[a+44>>2],0)|0;if((Ee|0)<0){break a}}b=0}return b|0}function SG(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,k=0,l=0,m=0,n=0,o=0;f=Ce-32|0;Ce=f;if(Hf(c,b,26694,0)){Rl(b,c,7,1,18,-1);l=C[c+80>>2];a:{if(!l){break a}i=l-1|0;a=0;g=C[c+92>>2];d=D[g+15|0];while(1){b:{if((a|0)==(i|0)){a=l;break b}a=a+1|0;if((d|0)==D[(g+I(a,20)|0)+15|0]){continue}}break}if(!l){break a}j=C[c+92>>2];d=D[j+15|0];g=0;while(1){i=a;c:{if(!(1<<(d&15)&135)){break c}d:{if(i-g>>>0<2){break d}d=I(g,20)+j|0;if(D[d+18|0]!=18){break d}e=g+1|0;if(e>>>0>=i>>>0){break d}o=i-1|0;a=e;while(1){e:{n=I(a,20)+j|0;m=D[n+18|0];if(m>>>0<=63){h=m&31;if((m&63)>>>0>=32){h=1<>>32-h}k=(k&2143289344|h&238)!=0}else{k=0}f:{if(!k){h=!(D[n+12|0]&32)&(m|32)==44;if(!h&(a|0)!=(o|0)){break e}if(!h){break f}}a=a-1|0}h=a+1|0;if(h-g>>>0>=2){fg(c,g,h)}C[f+24>>2]=C[d+16>>2];h=C[d+12>>2];C[f+16>>2]=C[d+8>>2];C[f+20>>2]=h;h=C[d+4>>2];C[f+8>>2]=C[d>>2];C[f+12>>2]=h;Yf(d,I(e,20)+j|0,I(a-g|0,20));a=I(a,20)+j|0;C[a+16>>2]=C[f+24>>2];d=C[f+20>>2];C[a+8>>2]=C[f+16>>2];C[a+12>>2]=d;d=C[f+12>>2];C[a>>2]=C[f+8>>2];C[a+4>>2]=d;break d}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=g;if(i>>>0<=a>>>0){break c}while(1){d=I(g,20)+j|0;e=D[d+18|0];g:{if(!((e|32)!=44|D[d+12|0]&32)){a=g+1|0;break g}if(!(1<>>0>31){break g}e=D[d+14|0];if(!(e&16)&(e&15)!=0|a>>>0>=g>>>0){break g}e=g+1|0;if(e-a>>>0>=2){fg(c,a,e)}C[f+24>>2]=C[d+16>>2];e=C[d+12>>2];C[f+16>>2]=C[d+8>>2];C[f+20>>2]=e;e=C[d+4>>2];C[f+8>>2]=C[d>>2];C[f+12>>2]=e;d=I(a,20)+j|0;Yf(d+20|0,d,I(g-a|0,20));C[d+16>>2]=C[f+24>>2];e=C[f+20>>2];C[d+8>>2]=C[f+16>>2];C[d+12>>2]=e;e=C[f+12>>2];C[d>>2]=C[f+8>>2];C[d+4>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}e=C[c+80>>2];a=i+1|0;g=a>>>0>>0?e:a;j=C[c+92>>2];d=D[(j+I(i,20)|0)+15|0];a=i;while(1){h:{a=a+1|0;if(e>>>0<=a>>>0){a=g;break h}if(D[(I(a,20)+j|0)+15|0]==(d|0)){continue}}break}g=i;if(l>>>0>g>>>0){continue}break}}Hf(c,b,26715,0)}Ce=f+32|0}function jy(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=C[a+278664>>2];b=c;d=C[a>>2];if(d){Fe[C[b+8>>2]](b,d)}C[a>>2]=0;d=C[a+128>>2];if(d){b=C[d+12>>2];f=C[d+4>>2];if(f){while(1){g=C[b>>2];if(g){Fe[C[c+8>>2]](c,g)}C[b>>2]=0;b=b+4|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}b=C[d+12>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[d+12>>2]=0;b=C[a+128>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+128>>2]=0}b=C[a+84>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+84>>2]=0;e=C[a+72>>2];if(e){b=0;while(1){d=b<<4;f=d+C[a+80>>2]|0;if(C[f+4>>2]==1){e=C[f+12>>2];if(e){Fe[C[c+8>>2]](c,e)}C[(d+C[a+80>>2]|0)+12>>2]=0;e=C[a+72>>2]}b=b+1|0;if(e>>>0>b>>>0){continue}break}}b=C[a+80>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+80>>2]=0;if(C[a+52>>2]){b=C[a+56>>2];e=0;while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;d=C[b+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+24>>2]=0;b=b+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}if(C[a+64>>2]){b=C[a+68>>2];e=0;while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;d=C[b+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+24>>2]=0;b=b+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=C[a+56>>2];if(b){Fe[C[c+8>>2]](c,b)}e=0;C[a+56>>2]=0;b=C[a+68>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+68>>2]=0;b=C[a+104>>2];if(C[a+112>>2]){while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;d=C[b+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+24>>2]=0;b=b+36|0;e=e+1|0;if(e>>>0>2]){continue}break}b=C[a+104>>2]}if(b){Fe[C[c+8>>2]](c,b)}e=0;C[a+104>>2]=0;b=C[a+278688>>2];d=C[a+278680>>2];if(d){while(1){f=C[b>>2];if(f){Fe[C[c+8>>2]](c,f)}C[b>>2]=0;b=b+4|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}b=C[a+278688>>2]}if(b){Fe[C[c+8>>2]](c,b)}e=0;C[a+278688>>2]=0;b=C[a+278668>>2];if(C[a+278672>>2]){while(1){d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;if(C[b+4>>2]==1){d=C[b+12>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+12>>2]=0}b=b+16|0;e=e+1|0;if(e>>>0>2]){continue}break}b=C[a+278668>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+278668>>2]=0}}function ei(a,b,c){var d=0,e=0,f=0,g=0;e=Ce-32|0;Ce=e;a:{if((a|0)<0){C[e>>2]=14820;Qe(19745,e);break a}if((b|0)<0){C[e+16>>2]=4382;Qe(19745,e+16|0);break a}b:{c:{d:{e:{f:{if(!((c&-268435456)!=268435456?c:0)){d=c>>>8&255;if(d>>>0<=7){break e}d=c&255;break f}d=2;if((c|0)==844715353|(c|0)==1498831189){break f}d=(c|0)==1431918169?2:1}d=mT(a,0,d,0);if(Ee){break c}break d}d=mT(a,0,d,0);if(Ee){break c}f=d;d=d+7|0;if(f>>>0>d>>>0){break c}d=d>>>3|0}f=d;d=d+3|0;if(f>>>0>d>>>0){break c}g=d&-4;if((g|0)>=0){break b}}d=0;_e(0);break a}d=If(1,60);if(!d){d=0;_e(0);break a}c=mn(c);C[d+4>>2]=c;g:{if(!c){break g}C[d+36>>2]=0;C[d+40>>2]=0;C[d+16>>2]=g;C[d+12>>2]=b;C[d+8>>2]=a;C[d+48>>2]=b;C[d+44>>2]=a;b=C[c>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2)){a=0;b=Ce-16|0;Ce=b;g=1<>2]=6427;Qe(19745,b);break h}a=Fe[C[94762]](16)|0;if(a){C[94766]=C[94766]+1}if(!a){a=0;_e(0);break h}f=g<<2;c=f;c=Fe[C[94762]](c>>>0<=1?1:c)|0;if(c){C[94766]=C[94766]+1}C[a+4>>2]=c;if(!c){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=0;break h}C[a+8>>2]=1;C[a+12>>2]=1;C[a>>2]=g;mf(c,255,f)}Ce=b+16|0;if(!a){break g}if(C[a>>2]==2){b=C[a+4>>2];A[b+4|0]=0;A[b+5|0]=0;A[b+2|0]=255;A[b|0]=255;A[b+1|0]=255;A[b+6|0]=0}yz(d,a);b=Ce-16|0;Ce=b;i:{if(!a){C[b>>2]=16316;Qe(19745,b);break i}c=C[a+12>>2];C[a+12>>2]=c-1;if((c|0)>1){break i}c=C[a+4>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}Ce=b+16|0;a=C[d+8>>2]}j:{if(!a){break j}a=C[d+12>>2];if(!a){break j}a=mT(C[d+16>>2],0,a,0);if(Ee){Nf(d);d=0;_e(0);break a}b=zl(a);C[d+20>>2]=b;if(!b){Nf(d);d=0;_e(0);break a}C[d>>2]=C[d>>2]|8;mf(b,0,a)}a=If(1,88);k:{if(!a){_e(0);break k}C[a+76>>2]=-1}C[d+52>>2]=a;if(!a){break g}l:{if(!C[C[d+4>>2]+24>>2]){break l}b=C[a+68>>2];c=b&-241|16;C[a+68>>2]=c;if((b|0)==(c|0)){break l}ag(a)}C[d+56>>2]=1;break a}Nf(d);d=0}Ce=e+32|0;return d}function bu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}f=C[b+12>>2];d=f-16|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<4){break a}d=a+4|0;if(d>>>0>c>>>0|c-d>>>0<4){break a}c=f-20|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}if(!Eh((D[a+7|0]|(D[a+5|0]<<16|(c&255)<<24|D[a+6|0]<<8))+a|0,b)){return 0}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(h>>>0>2147483646){break a}c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);i=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;d=a;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);j=d+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;l=h<<1;f=0;a=0;c=0;while(1){d=c;b:{c:{d:{e:{if((a|0)>=(f|0)){g=a+1|0;if(!(!h|g>>>0<4294967295/(l>>>0)>>>0)){return 0}c=I(g,l);f:{if(!c){e=C[b+12>>2];break f}if(F[b+4>>2]>j>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|c>>>0>e-j>>>0){break a}e=C[b+12>>2]-c|0;C[b+12>>2]=e;if((e|0)<=0){break a}}c=((a^-1)+f|0)+e|0;C[b+12>>2]=c;if((c|0)<=0|(g>>>0>=4294967295/(h>>>0)>>>0?h:0)){break a}c=I(g,h);if((c|0)<0){break a}f=I(f,h);if((f|0)<(c|0)){break e}f=g}if(!d){break c}c=d;break d}k=(c<<1)+j|0;e=(f<<1)+j|0;c=d;while(1){f=D[e|0]|D[e+1|0]<<8;f=((f<<8|f>>>8)&65535)+1|0;c=c>>>0>f>>>0?c:f;e=e+2|0;if(k>>>0>e>>>0){continue}break}f=g}k=0;if(F[b+4>>2]>i>>>0){break a}g=C[b+8>>2];if(g>>>0>>0){break a}e=g-i|0;g=I(c,6);if(e>>>0>>0){break a}e=C[b+12>>2]-g|0;C[b+12>>2]=e;if((e|0)<=0){break a}break b}e=C[b+12>>2];c=d}g=(d-c|0)+e|0;C[b+12>>2]=g;if((g|0)<=0){return 0}if((c|0)>(d|0)){g=I(c,6)+i|0;e=I(d,6)+i|0;while(1){d=D[e|0]|D[e+1|0]<<8;d=(d<<8|d>>>8)&65535;a=(a|0)>(d|0)?a:d;e=e+6|0;if(g>>>0>e>>>0){continue}break}}if((a|0)>=(f|0)){continue}break}k=1}return k}function Ah(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ce-48|0;Ce=f;C[a+8>>2]=0;i=C[a+4>>2];if(i){C[C[a>>2]>>2]=213056;C[C[a>>2]+4>>2]=213056;C[C[a>>2]+8>>2]=213056;C[C[a>>2]+12>>2]=213056;C[C[a>>2]+16>>2]=213056}a:{if(!d){break a}e=D[c|0];if(!e){break a}j=6;if(!b){break a}h=D[b|0];if(!h){break a}C[f+24>>2]=0;C[f+28>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0;C[f>>2]=0;C[f+4>>2]=0;while(1){b:{c:{d:{g=h&255;if((g|0)!=43){if(!g){break d}g=D[b+1|0];break c}g=D[b+1|0];if(g){break c}k=1;g=0;break b}e:{if((d|0)<=0){d=0;b=0;break e}i=c+d|0;while(1){h=c;while(1){f:{if(D[((e&248)>>>3|0)+f|0]>>>(e&7)&1){g=h;break f}e=D[h+1|0];g=h+1|0;h=g;if(e){continue}}break}e=C[a+8>>2];g:{if((e|0)!=C[a+4>>2]){break g}C[f+44>>2]=0;if((e|0)==-1){break g}if((e|0)==536870911){j=64;break a}b=((e>>>1|0)+e|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Ve(C[a+12>>2],4,e,b,C[a>>2],f+44|0),C[l>>2]=m;j=C[f+44>>2];if(j){break a}C[a+4>>2]=b;e=C[a+8>>2]}C[a+8>>2]=e+1;C[C[a>>2]+(e<<2)>>2]=c>>>0>=g>>>0?213056:c;h=D[g|0];h:{i:{if(k){d=0;b=g;if(!(h&255)){e=0;c=g;break h}while(1){j:{if(!(D[((h&248)>>>3|0)+f|0]>>>(h&7)&1)){e=h;c=b;break j}e=0;A[b|0]=0;h=D[b+1|0];c=b+1|0;b=c;if(h){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(h&255)){e=0;c=g;d=0;break h}A[g|0]=0;c=g+1|0;e=D[g+1|0]}d=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}i=C[a+4>>2];b=C[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}C[f+44>>2]=0;if(b+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Ve(C[a+12>>2],4,i,b,C[a>>2],f+44|0),C[l>>2]=m;j=C[f+44>>2];if(j){break a}C[a+4>>2]=b}l:{if(!d){e=C[a+8>>2];break l}b=C[a+8>>2];e=b+1|0;C[a+8>>2]=e;C[C[a>>2]+(b<<2)>>2]=213056}j=0;C[C[a>>2]+(e<<2)>>2]=0;break a}j=((h&248)>>>3|0)+f|0;A[j|0]=D[j|0]|1<<(h&7)}b=b+1|0;h=g;continue}}Ce=f+48|0;return j}function DJ(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;e=Ce-16|0;Ce=e;j=C[b+16>>2];k=C[b+8>>2];Fe[C[b+28>>2]](b);a:{b:{c:{d:{c=C[b>>2];if(c>>>0>>0){C[b>>2]=c+1;if(D[c|0]==91){break d}}c=3;C[e+12>>2]=3;break c}Fe[C[b+28>>2]](b);e:{d=C[b>>2];f:{if(k>>>0<=d>>>0){break f}while(1){g:{h:{i:{c=D[d|0];if((c|0)!=60){if((c|0)!=93){break i}C[b>>2]=d+1;break b}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break b}c=C[b>>2];f=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break f}g=Ve(j,1,o,f,g,e+12|0);c=C[e+12>>2];if(c){break c}C[b>>2]=d;m=1;Fe[C[b+44>>2]](b,g,f,e+8|0,1)|0;h=C[e+8>>2];break h}if(c-48>>>0>9){f=o;break h}if(m){break f}j:{h=Fe[C[b+36>>2]](b)|0;if((h|0)<0){break j}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}c=C[b>>2];g=c+1|0;if(k-c>>>0>>0){break j}C[b>>2]=(c+h|0)+1;m=0;break g}c=3;C[e+12>>2]=3;m=0;break c}if(!g){break e}o=f}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(D[g+c|0]){break k}}h=c;if(!c){break f}}f=0;while(1){m:{n:{o:{switch(i|0){case 0:i=0;if((l|0)<12){break n}c=C[a+492>>2];n=(D[c+4|0]<<4)+D[c+5|0]|0;d=n<<4|12;C[a+496>>2]=d;if((d|0)>(k-C[b>>2]|0)){break f}r=a,s=Ve(j,1,12,d,c,e+12|0),C[r+492>>2]=s;c=C[e+12>>2];if(c){break c}case 1:i=1;d=C[a+496>>2];if((l|0)<(d|0)){break n}i=C[a+492>>2];if(n){p=i+24|0;c=0;while(1){q=d;d=(c<<4)+p|0;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=q+((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+3&-4)|0;C[a+496>>2]=d;c=c+1|0;if((n|0)!=(c|0)){continue}break}}r=a,s=Ve(j,1,n<<4|12,d+1|0,i,e+12|0),C[r+492>>2]=s;c=C[e+12>>2];if(c){break c}break;case 2:break o;default:break m}}i=2;if(C[a+496>>2]<=(l|0)){break f}}A[C[a+492>>2]+l|0]=D[g+f|0];l=l+1|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}Fe[C[b+28>>2]](b);d=C[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;C[e+12>>2]=3;break c}c=3;C[e+12>>2]=3;g=0}C[b+12>>2]=c}if(!m){break a}if(g){Fe[C[j+8>>2]](j,g)}}Ce=e+16|0}function zm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Ce-16|0;Ce=g;i=C[a+100>>2];C[g+12>>2]=0;e=C[a+528>>2];a:{if(!e){e=hf(i,420,g+12|0);if(C[g+12>>2]){break a}C[e+416>>2]=0;C[a+528>>2]=e}b:{c:{if(!b){break c}d=C[e>>2];if(!d){r=e,s=Ve(i,32,0,b,0,g+12|0),C[r+148>>2]=s;if(C[g+12>>2]){break a}r=e,s=Ve(i,196,0,b,0,g+12|0),C[r+216>>2]=s;if(C[g+12>>2]){break a}r=e,s=Ve(i,16,0,b,0,g+12|0),C[r+288>>2]=s;if(C[g+12>>2]){break a}d=Ve(i,4,0,b<<1,0,g+12|0);C[e+136>>2]=d;if(C[g+12>>2]){break a}C[e+284>>2]=a+460;C[e+212>>2]=a+168;C[e+144>>2]=a+132;j=2;C[e+140>>2]=d+(b<<2);d:{if(b>>>0<2){break d}f=b-1|0;o=f&3;a=C[e+288>>2];d=C[e+216>>2];h=C[e+148>>2];if(b-2>>>0>=3){q=f&-4;k=e+144|0;m=e+212|0;n=e+284|0;while(1){f=j<<2;C[f+k>>2]=h+32;C[f+m>>2]=d+196;C[f+n>>2]=a+16;l=f|4;C[l+k>>2]=h- -64;C[l+m>>2]=d+392;C[l+n>>2]=a+32;l=f+8|0;C[l+k>>2]=h+96;C[l+m>>2]=d+588;C[l+n>>2]=a+48;f=f+12|0;h=h+128|0;C[f+k>>2]=h;d=d+784|0;C[f+m>>2]=d;a=a- -64|0;C[f+n>>2]=a;j=j+4|0;p=p+4|0;if((q|0)!=(p|0)){continue}break}}if(!o){break d}f=0;while(1){k=(j<<2)+e|0;a=a+16|0;C[k+284>>2]=a;d=d+196|0;C[k+212>>2]=d;h=h+32|0;C[k+144>>2]=h;j=j+1|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}C[e>>2]=b;break c}if((b|0)!=(d|0)){break b}}a=C[e+4>>2];e:{if(!c){c=a;break e}if((a|0)!=(c|0)?a:0){break b}C[e+4>>2]=c}d=C[e>>2];if(C[e+24>>2]|(!d|!c)){break a}b=Ve(i,4,0,I(c,d),0,g+12|0);C[e+24>>2]=b;if(C[g+12>>2]|d>>>0<2){break a}h=d-1|0;i=h&3;a=1;if(d-2>>>0>=3){j=h&-4;d=0;h=e+24|0;while(1){C[h+(a<<2)>>2]=b+(I(a,c)<<2);f=a+1|0;C[h+(f<<2)>>2]=b+(I(c,f)<<2);f=a+2|0;C[h+(f<<2)>>2]=b+(I(c,f)<<2);f=a+3|0;C[h+(f<<2)>>2]=b+(I(c,f)<<2);a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}d=0;while(1){C[((a<<2)+e|0)+24>>2]=b+(I(a,c)<<2);a=a+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break a}C[g+12>>2]=3}Ce=g+16|0;return C[g+12>>2]}function Py(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-10096|0;Ce=d;e=C[b+100>>2];p(d+3216|4,0,2996);C[d+3216>>2]=e;C[a+1624>>2]=0;C[a+52>>2]=0;c=C[(C[C[a>>2]+8>>2]<<2)+206096>>2];g=C[c+8>>2];e=0;f=C[C[a+36>>2]>>2];a:{if(!f){break a}f=C[f+92>>2];if(!f){break a}e=Fe[C[C[f+12>>2]+12>>2]](f,g)|0}b:{c:{if(e){break c}g=C[c+12>>2];if(!g){break b}e=0;f=C[C[a+36>>2]>>2];d:{if(!f){break d}f=C[f+92>>2];if(!f){break d}e=Fe[C[C[f+12>>2]+12>>2]](f,g)|0}if(e){break c}f=C[c+16>>2];if(!f){break b}e=0;c=C[C[a+36>>2]>>2];e:{if(!c){break e}c=C[c+92>>2];if(!c){break e}e=Fe[C[C[c+12>>2]+12>>2]](c,f)|0}if(!e){break b}}if($h(b,e,1)){break b}e=C[b+84>>2];if(B[e+110>>1]<=0){break b}c=d+16|0;p(c,0,3188);f=C[a+40>>2];C[d+36>>2]=0;C[d+44>>2]=0;C[d+24>>2]=65536;C[d+28>>2]=65536;C[d+56>>2]=f;C[d+20>>2]=b;C[d+6196>>2]=0;C[d+6204>>2]=c;if(gl(d+3216|0,e+108|0)){break b}if(mk(d+3216|0,0)){break b}e=0;fl(d+3216|0,0,0,0);c=C[d+3260>>2];if((c|0)>0){b=C[d+3268>>2];f=b+I(c,48)|0;while(1){c=C[b+20>>2];if(!(!c|C[c+20>>2]!=(b|0)|(e>>>0>15|b>>>0>=c>>>0))){g=B[b+2>>1]-B[c+2>>1]|0;c=g>>31;C[(I(e,12)+a|0)+56>>2]=(c^g)-c;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}}C[d+12>>2]=e;Um(d+12|0,a+56|0,F[d+56>>2]/100|0);C[a+52>>2]=C[d+12>>2];if(mk(d+3216|0,1)){break b}e=0;fl(d+3216|0,0,0,1);c=C[d+4728>>2];if((c|0)>0){b=C[d+4736>>2];f=b+I(c,48)|0;while(1){c=C[b+20>>2];if(!(!c|C[c+20>>2]!=(b|0)|(e>>>0>15|b>>>0>=c>>>0))){g=B[b+2>>1]-B[c+2>>1]|0;c=g>>31;C[(I(e,12)+a|0)+1628>>2]=(c^g)-c;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}}C[d+12>>2]=e;Um(d+12|0,a+1628|0,F[d+56>>2]/100|0);C[a+1624>>2]=C[d+12>>2]}if(C[a+52>>2]){b=C[a+56>>2]}else{b=(I(C[a+40>>2],50)|0)/2048|0}A[a+256|0]=0;C[a+252>>2]=b;C[a+248>>2]=(b|0)/5;if(C[a+1624>>2]){b=C[a+1628>>2]}else{b=(I(C[a+40>>2],50)|0)/2048|0}A[a+1828|0]=0;C[a+1824>>2]=b;C[a+1820>>2]=(b|0)/5;lq(d+3216|0);Ce=d+10096|0}function Dr(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|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((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function JC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=C[a+36>>2];b=C[a+20>>2];j=C[a+16>>2];c=C[a>>2];f=C[a+28>>2];e=C[a+24>>2];a:{g=C[a+44>>2];if(C[g+24>>2]){if(!f){break a}d=D[a+63|0]>>>D[g+31|0]<>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:C[b>>2]=d|C[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break e}}C[b>>2]=d|C[c>>2];a=e-1|0;c=c+4|0;b=b+4|0;f:{if((e|0)>1){e=a;break f}b=b+i|0;c=c+j|0;if(f){continue b}break a}a=0;continue}}}if(!f){break a}a=C[a+40>>2];d=C[a+16>>2]|C[a+12>>2]|C[a+20>>2];h=e&7;g=(e+7|0)/8|0;g:while(1){f=f-1|0;e=g;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:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:C[b>>2]=d&C[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break j}}C[b>>2]=d&C[c>>2];a=e-1|0;c=c+4|0;b=b+4|0;k:{if((e|0)>1){e=a;break k}b=b+i|0;c=c+j|0;if(f){continue g}break a}a=0;continue}}}} +function Hp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;C[a+180>>2]=d;j=a+180|0;C[a+52>>2]=j;d=C[a+72>>2];C[a+196>>2]=C[a+68>>2];C[a+200>>2]=d;C[a+192>>2]=c;C[a+188>>2]=b;C[a+184>>2]=e;d=j;while(1){l=C[d>>2];a:{b:{h=C[d+4>>2];f=C[d+20>>2];b=(h|0)>(f|0);i=C[d+12>>2];c:{if(!((i|0)>=((b?f:h)|0)&(i|0)<=(((f|0)>(h|0)?f:h)|0))){b=C[d+16>>2];C[d+32>>2]=b;C[d+36>>2]=f;c=(f+i|0)/2|0;C[d+28>>2]=c;e=(h+i|0)/2|0;C[d+12>>2]=e;f=C[d+8>>2];i=(f+l|0)/2|0;C[d+8>>2]=i;b=(b+f|0)/2|0;C[d+24>>2]=b;C[d+20>>2]=(c+e|0)/2;C[d+16>>2]=(b+i|0)/2;b=d+16|0;break c}if((f|0)!=(h|0)){break b}b=d-16|0}C[a+52>>2]=b;break a}m=b?1:2;g=C[a+100>>2];if((m|0)!=(g|0)){b=C[a+4>>2];n=(f|0)>=(h|0);e=n?f&b-1:((b+f|0)-1&0-b)-f|0;c=C[a+40>>2];k=C[a+8>>2];d:{if(!g){b=c;break d}g=C[a+88>>2];b=C[g+8>>2];o=c-b|0;if((o|0)<0){C[a+44>>2]=99;return 1}e:{if((b|0)==(c|0)){b=c;break e}C[g+16>>2]=o>>2;if((e|0)>=(k|0)){b=E[g+12>>1];B[g+12>>1]=(b&8?16:32)|b}C[a+88>>2]=c;b=c+32|0;C[a+40>>2]=b;C[c+8>>2]=b;C[c+16>>2]=0;C[g+28>>2]=c;B[a+84>>1]=E[a+84>>1]+1}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}A[a+87|0]=0}if(!C[a+92>>2]){C[a+92>>2]=b;C[a+88>>2]=b;b=b+32|0;C[a+40>>2]=b}if(F[a+36>>2]<=b>>>0){C[a+44>>2]=98;return 1}c=C[a+88>>2];C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=b;C[c+28>>2]=0;C[c+4>>2]=0;b=D[a+176|0];B[c+12>>1]=b;f:{g:{if(!n){B[c+12>>1]=b|8;g=40;if((e|0)>=(k|0)){break g}break f}g=16;if((e|0)<(k|0)){break f}}B[c+12>>1]=b|g}if(!C[a+96>>2]){C[a+96>>2]=c}B[a+86>>1]=1;C[a+100>>2]=m}b=C[a+80>>2];c=C[a+76>>2];h:{if((f|0)<(h|0)){if(!Dm(a,2,992,c,b)){break a}break h}C[d+20>>2]=0-f;C[d+12>>2]=0-i;C[d+4>>2]=0-h;e=D[a+86|0];b=Dm(a,2,992,0-b|0,0-c|0);if(!(D[a+86|0]|!e)){c=C[a+88>>2];C[c+20>>2]=0-C[c+20>>2]}C[d+4>>2]=0-C[d+4>>2];if(!b){break a}}return 1}d=C[a+52>>2];if(j>>>0<=d>>>0){continue}break}C[a+72>>2]=h;C[a+68>>2]=l;return 0}function Mh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ce-16|0;Ce=g;e=C[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{f=D[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}m=(f|0)==45;f=D[e|0]}d:{if((f&255)==46){d=e;break d}C[g+8>>2]=e;f=Xh(g+8|0,b,10);e:{d=C[g+8>>2];if((d|0)!=(e|0)){if(D[d|0]!=35|b>>>0<=d>>>0){break e}h=d+1|0;C[g+8>>2]=h;f=Xh(g+8|0,b,f);d=C[g+8>>2];if((h|0)!=(d|0)){break e}}f=0;break a}if((e|0)==(d|0)){f=0;break a}l=(f|0)>32767;h=l?f:f<<16}f:{if(!(D[d|0]!=46|b>>>0<=d>>>0)){i=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;while(1){g:{f=D[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-58>>>0<4294967286){break f}h:{if((i|0)>214748363|(e|0)>214748363){break h}e=A[f+219744|0]+I(e,10)|0;if(!((c|0)<=0|h)){c=c-1|0;break h}i=I(i,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b;break f}e=0;i=1}i:{j:{k:{l:{k=d+1|0;if(!((D[d|0]|32)!=101|k>>>0>=b>>>0)){C[g+12>>2]=k;j=Xh(g+12|0,b,10);m:{d=C[g+12>>2];if((k|0)!=(d|0)){if(D[d|0]!=35|b>>>0<=d>>>0){break m}f=d+1|0;C[g+12>>2]=f;j=Xh(g+12|0,b,j);d=C[g+12>>2];if((f|0)!=(d|0)){break m}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break l}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}C[a>>2]=d;f=0;if(!(e|h)){break a}b=2147483647;if(l){break i}if(j){break a}if((c|0)<=0){break k}while(1){if((h|0)>214748363){break i}n:{if((e|0)>=214748364){if((i|0)==1){break i}i=(i|0)/10|0;break n}e=I(e,10)}h=I(h,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break j}C[a>>2]=d;b=2147483647;if(e|h){break i}break a}if((c|0)>=0){break j}while(1){a=h;h=(h|0)/10|0;o:{if((i|0)<=214748363){i=I(i,10);break o}e=(e|0)/10|0}if(!(!e&a-10>>>0>=4294967277)){c=c+1|0;if(!c){break j}continue}break}break a}if(!e){b=h;break i}b=Ze(e,i)+h|0}f=m?0-b|0:b}Ce=g+16|0;return f}function Yv(a,b,c,d,e,f,g){var h=0,i=0,j=J(0),k=0,l=J(0),m=0,n=0,o=0,p=J(0),q=0,r=0,s=0,t=0,u=0,v=0,w=J(0),x=J(0),y=J(0),z=0,A=0,B=J(0),C=J(0),D=J(0),E=J(0),F=J(0),H=J(0),K=J(0),L=J(0),M=J(0),N=J(0),O=J(0),P=J(0),Q=J(0);t=I(a,b);A=t<<1;if((b|0)>0){v=a<<1;k=I(t,3);m=t;h=A;while(1){r=(m<<2)+c|0;u=(k<<2)+c|0;l=J(G[r>>2]+G[u>>2]);n=i<<2;o=n+c|0;s=(h<<2)+c|0;j=J(G[o>>2]+G[s>>2]);G[(i<<4)+d>>2]=l+j;i=a+i|0;G[((i<<4)+d|0)-4>>2]=j-l;n=(n+v<<2)+d|0;G[n-4>>2]=G[o>>2]-G[s>>2];G[n>>2]=G[u>>2]-G[r>>2];h=a+h|0;k=a+k|0;m=a+m|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>0){z=a<<1;q=0;s=0;while(1){i=s<<2;k=z+i|0;m=2;h=s;while(1){n=h+2|0;B=G[(n<<2)+c>>2];r=m<<2;v=r-8|0;C=G[v+e>>2];u=n+t|0;o=(u<<2)+c|0;D=G[o-4>>2];r=r-4|0;E=G[r+e>>2];p=G[o>>2];F=J(J(C*D)+J(E*p));H=G[g+v>>2];u=t+u|0;o=(u+t<<2)+c|0;K=G[o-4>>2];w=G[g+r>>2];l=G[o>>2];L=J(J(H*K)+J(w*l));M=J(F+L);N=G[f+v>>2];o=(u<<2)+c|0;O=G[o-4>>2];x=G[f+r>>2];j=G[o>>2];P=J(J(N*O)+J(x*j));y=G[((h<<2)+c|0)+4>>2];Q=J(P+y);G[(i<<2|4)+d>>2]=M+Q;i=i+2|0;p=J(J(C*p)-J(D*E));l=J(J(H*l)-J(K*w));w=J(p+l);j=J(J(N*j)-J(O*x));x=J(B+j);G[(i<<2)+d>>2]=w+x;y=J(y-P);p=J(p-l);G[((k<<2)+d|0)-12>>2]=y-p;k=k-2|0;l=J(L-F);j=J(B-j);G[(k<<2)+d>>2]=l-j;h=(i+z<<2)+d|0;G[h>>2]=j+l;G[h-4>>2]=p+y;h=(k+z<<2)+d|0;G[h>>2]=w-x;G[h-4>>2]=Q-M;h=n;m=m+2|0;if((m|0)<(a|0)){continue}break}s=a+s|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}}if(a&1){break a}}if((b|0)<=0){break a}s=a<<1;n=a<<2;i=(a+t|0)-1|0;m=A+i|0;q=0;k=a;h=a;while(1){g=(k<<2)+d|0;e=((h<<2)+c|0)-4|0;p=G[(i<<2)+c>>2];l=G[(m<<2)+c>>2];j=J(J(p-l)*J(.7071067690849304));G[g-4>>2]=G[e>>2]+j;f=(k+s<<2)+d|0;G[f-4>>2]=G[e>>2]-j;j=J(J(p+l)*J(-.7071067690849304));e=(i+t<<2)+c|0;G[g>>2]=j-G[e>>2];G[f>>2]=j+G[e>>2];h=a+h|0;k=k+n|0;m=a+m|0;i=a+i|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}}}function St(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}c=b;A[a+24|0]=0;C[a+32>>2]=c;e=C[c+12>>2];C[a+4>>2]=e;f=C[c+16>>2];C[a+8>>2]=f+e;C[a+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[a+12>>2]=d;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{g:{h:{if((f|0)<4){break h}C[a+12>>2]=d-4;i:{j:{c=D[e|0]|D[e+1|0]<<8;switch((c<<8|c>>>8)&65535){case 0:break i;case 1:break j;default:break g}}if(!Tn(e,a)){break h}break g}if(Sn(e,a)){break g}}if(D[a+24|0]|!C[a+28>>2]){break f}c=Pf(b);C[a+4>>2]=c;C[a+8>>2]=c+C[b+16>>2];if(!c){break f}while(1){A[a+24|0]=1;c=C[a+32>>2];e=C[c+12>>2];C[a+4>>2]=e;f=C[c+16>>2];C[a+8>>2]=f+e;d=1073741823;C[a+28>>2]=0;if(f>>>0<=67108862){d=f<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[a+12>>2]=d;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}k:{if((f|0)<4){break k}C[a+12>>2]=d-4;l:{m:{c=D[e|0]|D[e+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break l;case 0:break m;default:break g}}if(!Sn(e,a)){break k}break g}if(Tn(e,a)){break g}}if(D[a+24|0]|!C[a+28>>2]){break f}c=Pf(b);C[a+4>>2]=c;C[a+8>>2]=c+C[b+16>>2];if(c){continue}break}break f}if(!C[a+28>>2]){break e}d=0;C[a+28>>2]=0;if(F[a+4>>2]>e>>>0){break f}c=C[a+8>>2];n:{if(c>>>0>>0|c-e>>>0<4){break n}c=C[a+12>>2]-4|0;C[a+12>>2]=c;if((c|0)<=0){break n}d=1;o:{p:{c=D[e|0]|D[e+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break o;case 0:break p;default:break n}}d=Sn(e,a);break n}d=Tn(e,a)}c=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(c){break c}if(d){break d}break c}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break c}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(b);return 84608}Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function zw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=C[a+24>>2];a:{b:{if(d){d=d-1|0;C[a+24>>2]=d;if(d>>>0>=F[a+32>>2]){break b}d=C[a+36>>2]+(d<<5)|0;break a}A[a+20|0]=1}d=C[21159];C[104434]=C[21158];C[104435]=d;d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712}e=C[b>>2];c:{i=H[d>>3];d:{if(K(i)<2147483648){d=~~i;break d}d=-2147483648}h=d+e|0;e:{if((h|0)<0){break e}d=C[b+4>>2];if(!d){break e}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=h>>>0){break e}e=C[a+92>>2];if(e>>>0<10){break c}}A[a+40|0]=1;return}d=C[a+4>>2];C[a+44>>2]=C[a>>2];C[a+48>>2]=d;A[a+60|0]=D[a+16|0];d=C[a+12>>2];C[a+52>>2]=C[a+8>>2];C[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){C[a+92>>2]=e+1;f=C[d+4>>2];e=C[a+104>>2]+I(e,28)|0;C[e>>2]=C[d>>2];C[e+4>>2]=f;C[e+24>>2]=C[d+24>>2];f=C[d+20>>2];C[e+16>>2]=C[d+16>>2];C[e+20>>2]=f;f=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=f;break f}A[a+88|0]=1}g:{h:{g=C[b+4>>2];if(g){b=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}l=C[21154];e=C[21152];b=C[21153];break g}f=D[g+4|0];e=I(f,b+1|0);b=g+5|0;m=e+b|0;e=0;i:{if(!f){break i}j=f&3;b=b+I(f,h)|0;if(f>>>0<4){e=0}else{n=f&252;while(1){f=b;b=b+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(!j){break i}while(1){e=D[b|0]|e<<8;b=b+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}e=(e+m|0)-1|0;b=mo(g,h)}C[a+44>>2]=e;C[a+68>>2]=h;C[a- -64>>2]=c;A[a+60|0]=0;C[a+56>>2]=0;C[a+52>>2]=l;C[a+48>>2]=b;b=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=b;b=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=b;A[a+16|0]=D[d+16|0]}function Ul(a,b,c,d,e){var f=0,g=0,h=J(0),i=0,j=0,k=0,l=0;C[e>>2]=0;C[d>>2]=0;a:{b:{c:{d:{f=D[a|0]|D[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=D[a+2|0]|D[a+3|0]<<8;i=c<<8|c>>>8;f=C[b+92>>2];j=C[f+20>>2];g=C[f+16>>2];b=C[g+28>>2];e:{if(b){c=b;break e}c=Lf(g);g=C[f+16>>2];b=C[g+28>>2]}G[d>>2]=J(J(i<<16>>16)*J(j|0))/J(c>>>0);a=D[a+4|0]|D[a+5|0]<<8;h=J(J((a<<8|(a&65280)>>>8)<<16>>16)*J(C[f+24>>2]));if(!b){b=Lf(g)}G[e>>2]=h/J(b>>>0);return}f=Ce-16|0;Ce=f;g=C[b+92>>2];i=C[g+52>>2];j=C[g+48>>2];C[f+4>>2]=0;C[f>>2]=0;f:{g:{b=0;h:{if(!(i|j)){break h}k=D[a+6|0]|D[a+7|0]<<8;C[f+4>>2]=0;l=(k<<8|k>>>8)&65535;k=C[g+72>>2];b=0;if(!(Fe[C[k+204>>2]](g,C[g+76>>2],c,l,f+4|0,f,C[k+68>>2])|0)){break h}pj(g,c,f+12|0,f+8|0);b=C[f+4>>2]-C[f+12>>2]|0;C[f+4>>2]=b;C[f>>2]=C[f>>2]-C[f+8>>2];if(j){break g}b=1}c=b;b=D[a+2|0]|D[a+3|0]<<8;h=J(J((b<<8|b>>>8)<<16>>16)*J(C[g+20>>2]));j=C[g+16>>2];b=C[j+28>>2];if(!b){b=Lf(j)}h=J(h/J(b>>>0));break f}c=1;h=J(b|0)}G[d>>2]=h;if(!c|!i){a=D[a+4|0]|D[a+5|0]<<8;h=J(J((a<<8|a>>>8)<<16>>16)*J(C[g+24>>2]));b=C[g+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}h=J(h/J(a>>>0))}else{h=J(C[f>>2])}G[e>>2]=h;Ce=f+16|0;return}c=D[a+2|0]|D[a+3|0]<<8;j=c<<8|c>>>8;c=b;g=C[b+92>>2];k=C[g+20>>2];i=C[g+16>>2];b=C[i+28>>2];i:{if(b){f=b;break i}f=Lf(i);i=C[g+16>>2];b=C[i+28>>2]}G[d>>2]=J(J(j<<16>>16)*J(k|0))/J(f>>>0);f=D[a+4|0]|D[a+5|0]<<8;h=J(J((f<<8|f>>>8)<<16>>16)*J(C[g+24>>2]));if(!b){b=Lf(i)}G[e>>2]=h/J(b>>>0);if(C[g+48>>2]|C[g+60>>2]){b=D[a+6|0]|D[a+7|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+a|0}else{b=84608}b=Vn(b,g,C[c+112>>2]);G[d>>2]=G[d>>2]+J(b|0)}if(C[g+52>>2]|C[g+60>>2]){b=D[a+8|0]|D[a+9|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=84608}a=Wn(a,g,C[c+112>>2]);G[e>>2]=G[e>>2]+J(a|0)}}}function Rv(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,o=0;f=Ce-80|0;Ce=f;g=0;a:{if(F[a+16>>2]<=c>>>0){break a}b:{g=C[b+60>>2];if(!g){break b}e=C[C[a>>2]>>2];e=e?e:84608;e=F[e+16>>2]<20?84608:C[e+12>>2];e=D[e+4|0]|D[e+5|0]<<8;if((g|0)!=((e<<8|e>>>8)&65535)){break b}C[f+76>>2]=-8388609;C[f+68>>2]=2139095039;C[f+72>>2]=-8388609;C[f+60>>2]=0;C[f+64>>2]=2139095039;C[f+56>>2]=d;C[f+52>>2]=b;if(d){C[f+76>>2]=-8388609}C[f+24>>2]=C[f+76>>2];d=C[f+72>>2];C[f+16>>2]=C[f+68>>2];C[f+20>>2]=d;d=C[f+64>>2];C[f+8>>2]=C[f+60>>2];C[f+12>>2]=d;d=C[f+56>>2];C[f>>2]=C[f+52>>2];C[f+4>>2]=d;g=Ap(a,b,c,f);break a}xo(f+28|0,a,c);g=1;if(!C[f+48>>2]){break a}g=C[f+44>>2];e=C[a+4>>2];i=C[e+4>>2];c=C[f+40>>2];c:{d:{if(i>>>0>c>>>0){a=C[e+12>>2];a=((c|0)<0?84608:C[(a?a:84608)+12>>2]+(c<<2)|0)+2|0;break d}a=0;h=0;if(c>>>0>=F[e>>2]){break c}a=C[e+12>>2];a=(c-i<<1)+((i|0)<0?84608:C[(a?a:84608)+12>>2]+(i<<2)|0)|0}a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;h=a>>31}c=C[b+32>>2];j=C[b+36>>2];e=mT(a,h,c,j);a=Ee;e=e+32768|0;C[d>>2]=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;e=D[g+4|0]|D[g+5|0]<<8;i=(e<<8|e>>>8)<<16>>16;h=D[g+8|0]|D[g+9|0]<<8;k=(h<<8|h>>>8)<<16>>16;a=C[b+40>>2];l=C[b+44>>2];e=(i|0)<(k|0)?h:e;h=e<<8|e>>>8;b=h<<16>>16;e=mT(a,l,b,b>>31);b=Ee;e=e+32768|0;C[d+4>>2]=((e>>>0<32768?b+1|0:b)&65535)<<16|e>>>16;b=D[g+2|0]|D[g+3|0]<<8;m=(b<<8|b>>>8)<<16>>16;e=D[g+6|0]|D[g+7|0]<<8;n=(e<<8|e>>>8)<<16>>16;o=c;c=(m|0)<(n|0)?e:b;b=(m|0)>(n|0)?e:b;b=(c<<8|c>>>8)-(b<<8|b>>>8)<<16>>16;c=mT(o,j,b,b>>31);b=Ee;c=c+32768|0;C[d+8>>2]=((c>>>0<32768?b+1|0:b)&65535)<<16|c>>>16;c=a;b=(i|0)>(k|0)?g+8|0:g+4|0;b=D[b|0]|D[b+1|0]<<8;a=(b<<8|b>>>8)-h<<16>>16;b=mT(c,l,a,a>>31);a=Ee;b=b+32768|0;C[d+12>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16;g=1}Ce=f+80|0;return g}function Mt(a,b,c,d,e,f,g){var h=0,i=0;a:{b:{if((b|0)!=1196445523){h=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;h=F[a+16>>2]<10?84608:C[a+12>>2]}c:{d:{e:{if((d|0)==-1){break e}a=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65537){break e}a=D[h+10|0]|D[h+11|0]<<8|(D[h+12|0]<<16|D[h+13|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=a?a+h|0:84608;a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<=d>>>0?84608:(b+(d<<3)|0)+8|0;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);i=a?a+b|0:84608;a=D[i+4|0]|D[i+5|0]<<8;if(!a){break e}a=(a<<8|a>>>8)&65535;d=a>>>0<=1?1:a;a=0;while(1){b=i+I(a,6)|0;b=D[b+6|0]|D[b+7|0]<<8;if(((b<<8|b>>>8)&65535)==(c|0)){break d}a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=84608;b=D[h+6|0]|D[h+7|0]<<8;if(b){a=h+((b<<8|b>>>8)&65535)|0}b=D[a|0]|D[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?84608:(I(c,6)+a|0)+2|0;b=D[b+4|0]|D[b+5|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=84608}break c}a=i+I(a,6)|0;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=a?a+i|0:84608}f:{if(!f){break f}b=D[a+2|0]|D[a+3|0]<<8;c=(b<<8|b>>>8)&65535;b=c-e|0;c=b>>>0<=c>>>0?b:0;b=C[f>>2];c=b>>>0>c>>>0?c:b;C[f>>2]=c;if(!c){break f}b=(a+(e<<1)|0)+4|0;if(c&1){a=D[b|0]|D[b+1|0]<<8;C[g>>2]=(a<<8|a>>>8)&65535;b=b+2|0;g=g+4|0;f=c-1|0}else{f=c}if((c|0)==1){break f}d=f;while(1){a=D[b|0]|D[b+1|0]<<8;C[(f?g:417712)>>2]=(a<<8|a>>>8)&65535;h=(f|0)!=0;c=(h<<2)+g|0;e=(f|0)!=(h|0);a=D[b+2|0]|D[b+3|0]<<8;C[(e?c:417712)>>2]=(a<<8|a>>>8)&65535;g=c+(e<<2)|0;f=f-(e+h|0)|0;b=b+4|0;d=d-2|0;if(d){continue}break}}}function Zs(a,b,c){var d=0;d=84608;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 1:f:{g:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 4:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 5:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 6:h:{i:{j:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+6|0]|D[a+7|0]<<8;if(!b){break b}break a;case 7:k:{l:{m:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=D[b+2|0]|D[b+3|0]<<8?b+4|0:84608;b=D[b|0]|D[b+1|0]<<8;if(!b){break b}break a;case 8:break c;default:break b}}if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;d=Zs(c,b,(a<<8|a>>>8)&65535)}else{d=84608}}return d}return((b<<8|b>>>8)&65535)+a|0}function Ch(a){var 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;e=C[105780];if(!e){Qe(19865,0);return-1}if(!(C[a>>2]==(e+388|0)?a:0)){Qe(2168,0);return-1}a:{b=C[e+136>>2];b:{if(b){c=Fe[b|0](e,a)|0;if((c|0)>=0){break b}}g=C[a+16>>2];b=g&-65536;if(!((b|0)!=805240832&(b|0)!=536805376)){a=g&65535;return(a|0)>2]?a:0}d=C[a+20>>2];b=d&-65536;if((b|0)==536805376|(b|0)==805240832){break a}c=0;b=C[105780];e=C[b+372>>2];if((e|0)>0){b=C[b+376>>2];while(1){if(C[(b+I(c,72)|0)+60>>2]==(a|0)){break b}c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=C[a+24>>2];f=Ce-32|0;Ce=f;C[f+28>>2]=d+(C[a+28>>2]/2|0);C[f+24>>2]=g+((b|0)/2|0);c:{d:{e:{if(C[C[105780]+372>>2]<=0){e=-1;break e}o=2147483647;g=0;e=-1;while(1){d=f+8|0;rq(g,d);c=0;k=0;p=0;l=0;q=0;m=Ce-32|0;Ce=m;r=f+24|0;f:{if(!r){C[m>>2]=6032;Qe(19745,m);break f}if(d){g:{b=C[d+8>>2];if((b|0)<=0){break f}a=C[d+12>>2];if((a|0)<=0){break f}s=C[d+4>>2];t=a+s|0;h=C[d>>2];d=h+b|0;n=0;while(1){a=(l<<3)+r|0;i=C[a>>2];h:{if((h|0)>(i|0)|(d|0)<=(i|0)){break h}j=C[a+4>>2];if((s|0)>(j|0)|(j|0)>=(t|0)){break h}if(!c){c=1;break f}b=(j|0)<(p|0);n=b?n:(j|0)>(n|0)?j:n;a=(i|0)<(q|0);k=a?k:(i|0)>(k|0)?i:k;p=b?j:p;q=a?i:q;c=1}l=l+1|0;if((l|0)!=1){continue}break}if(c){break g}c=0;break f}}c=1}Ce=m+32|0;if(c){break d}c=C[f+12>>2];b=C[f+28>>2];d=C[f+8>>2];a=C[f+24>>2];i:{if((d|0)>(a|0)){break i}h=C[f+16>>2]+d|0;d=a;if((a|0)<(h|0)){break i}d=h-1|0}j:{if((b|0)<(c|0)){break j}h=C[f+20>>2]+c|0;c=b;if((h|0)>(b|0)){break j}c=h-1|0}b=b-c|0;a=a-d|0;a=I(b,b)+I(a,a)|0;b=(a|0)<(o|0);o=b?a:o;e=b?g:e;g=g+1|0;if((g|0)>2]){continue}break}if((e|0)>=0){break c}}Qe(5885,0);break c}e=g}Ce=f+32|0;c=e}return c}a=d&65535;return(a|0)>2]?a:0}function eu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=J(0),k=J(0);d=D[a|0]|D[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;d=d>>>0<=1?1:d;h=a+8|0;a:{while(1){i=h+(f<<3)|0;e=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);if(J(J(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*J(152587890625e-16))==J(0)){break a}f=f+1|0;if((d|0)!=(f|0)){continue}break}return 0}b:{c:{d:{d=D[a+2|0]|D[a+3|0]<<8;g=(d<<8|d>>>8)&65535;switch(g|0){case 0:break b;case 1:break d;default:break c}}a=h+(f<<3)|0;a=D[a+6|0]|D[a+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=D[a|0]|D[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}f=0;d=g-1|0;e:{if(!d){break e}f=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);h=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+b|0;f=0;while(1){e=f>>>0>=g>>>0?84608:h+(f<<2)|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if(J(J(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*J(152587890625e-16))>=c){break e}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d}d=f-1|0;g=d>>>0<=f>>>0?d:0;d=D[a+2|0]|D[a+3|0]<<8;d=(d<<8|d>>>8)&65535;h=g>>>0>>0;f=g+1|0;d=f>>>0>>0;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+b|0;e=h?a+(g<<2)|0:84608;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);k=J(J(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*J(152587890625e-16));a=d?a+(f<<2)|0:84608;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=J(J(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*J(152587890625e-16));if(k==j){c=J(0)}else{c=J(J(c-k)/J(j-k))}a=D[i+6|0]|D[i+7|0]<<8;b=((a<<8|a>>>8)&65535)+b|0;a=d?b+(f<<1)|0:84608;a=D[a|0]|D[a+1|0]<<8;j=J(c*J((a<<8|a>>>8)<<16>>16));a=h?b+(g<<1)|0:84608;a=D[a|0]|D[a+1|0]<<8;c=J(O(J(J(j+J(J(J(1)-c)*J((a<<8|a>>>8)<<16>>16)))+J(.5))));if(J(K(c))>2];C[b+48>>2]=g;A[b+78|0]=105;A[b+79|0]=0;a:{if((S(383254,b+78|0,b+48|0)|0)<0){c=Qe(34234,0);break a}e=a+4|0;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{d=E[a+8>>1];if(d>>>0<=33055){n:{switch(d-32776|0){case 8:break l;case 0:break m;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 h;default:break n}}switch(d-8|0){case 8:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 0:break d;default:break i}}o:{switch(d-36880|0){case 0:break k;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 g;default:break o}}if((d|0)==33056){break f}if((d|0)==37152){break e}break c}c=1;break d}c=2;break d}c=3;break d}c=4;break d}if((d|0)!=4112){break c}c=5;break d}c=6;break d}c=7;break d}c=8;break d}c=9}C[104585]=1;C[104584]=c;c=E[I(c,20)+150784>>1];break b}C[104584]=10;C[104585]=0;c=0}p:{while(1){c=c&65535;if(c){if((c|0)==33056){break p}c=0;d=C[104584];q:{if((d|0)==10){break q}f=C[104585];if((f|0)==10){break q}C[104585]=f+1;c=E[(I(d,20)+(f<<1)|0)+150784>>1]}continue}break}C[b>>2]=12351;c=Qe(4897,b);break a}C[a+96>>2]=1;B[a+8>>1]=33056;c=0;A[b+77|0]=0;h=a,i=Ia(383747,b+77|0,0)|0,C[h+4>>2]=i;ms(e);if(g){A[b+76|0]=0;C[b+72>>2]=1768515945;e=E[a+12>>1];d=D[a+10|0];C[b+44>>2]=a;C[b+40>>2]=364;C[b+36>>2]=e;C[b+32>>2]=d;S(383815,b+72|0,b+32|0)|0;break a}A[b+68|0]=0;C[b+64>>2]=1768515945;e=E[a+12>>1];d=D[a+10|0];C[b+28>>2]=a;C[b+24>>2]=365;C[b+20>>2]=e;C[b+16>>2]=d;S(385467,b- -64|0,b+16|0)|0}Ce=b+80|0;return c|0}function jq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ce-16|0;Ce=f;C[f+8>>2]=0;h=C[C[a>>2]+28>>2];C[b>>2]=0;a:{b:{if(C[a+24>>2]){break b}C[f+12>>2]=0;c:{d=C[a+8>>2];if(d){l=D[a+12|0];i=C[a>>2];k=C[i+28>>2];d=d+1|0;o=a,p=Ve(k,4,0,d,0,f+12|0),C[o+24>>2]=p;if(C[f+12>>2]){break c}g=bf(i,C[a+4>>2]+3|0);C[f+12>>2]=g;if(g){break c}g=I(d,l);d=Cf(i,g);C[f+12>>2]=d;if(d){break c}e=C[i+32>>2];j=g+e|0;d=C[a+24>>2];d:{e:{switch(l-1|0){case 2:if((g|0)<=0){break d}while(1){C[d>>2]=D[e+2|0]|(D[e+1|0]<<8|D[e|0]<<16);d=d+4|0;e=e+3|0;if(j>>>0>e>>>0){continue}break};break d;case 1:if((g|0)<=0){break d}while(1){C[d>>2]=D[e+1|0]|D[e|0]<<8;d=d+4|0;e=e+2|0;if(j>>>0>e>>>0){continue}break};break d;case 0:if((g|0)<=0){break d}while(1){C[d>>2]=D[e|0];d=d+4|0;e=e+1|0;if(j>>>0>e>>>0){continue}break};break d;default:break e}}if((g|0)<=0){break d}while(1){g=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);C[d>>2]=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);d=d+4|0;e=e+4|0;if(j>>>0>e>>>0){continue}break}}xf(i);if(C[f+12>>2]){break c}}C[f+8>>2]=0;break b}d=C[a+24>>2];if(d){Fe[C[k+8>>2]](k,d)}C[a+24>>2]=0;d=C[f+12>>2];C[f+8>>2]=d;if(d){break a}}d=C[a+8>>2];if(!d){break a}i=0;j=Ve(h,4,0,d+1|0,0,f+8|0);if(C[f+8>>2]){break a}if(c){i=hf(h,C[a+8>>2]+C[a+20>>2]|0,f+8|0);if(C[f+8>>2]){break a}}k=C[a+28>>2];C[j>>2]=c?i:k;m=C[a+8>>2];if(m){l=0;d=0;e=1;while(1){g=d;h=e<<2;n=C[h+C[a+24>>2]>>2]-1|0;if(n>>>0>=d>>>0){d=C[a+20>>2];d=d>>>0>n>>>0?n:d}f:{if(!c){C[h+j>>2]=d+k;break f}h=h+j|0;n=(d+i|0)+l|0;C[h>>2]=n;if((d|0)==(g|0)){break f}m=C[h-4>>2];t(m,g+k|0,n-m|0);A[C[h>>2]]=0;C[h>>2]=C[h>>2]+1;l=l+1|0;m=C[a+8>>2]}e=e+1|0;if(m>>>0>=e>>>0){continue}break}}C[b>>2]=j;if(!c){break a}C[c>>2]=i}Ce=f+16|0;return C[f+8>>2]}function bm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{switch(a-18|0){case 0:d=C[b+24>>2];e:{if(d){e=d-1|0;C[b+24>>2]=e;if(F[b+32>>2]<=e>>>0){d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;l(0,f|0);l(1,d|0);g=+n();break e}g=H[C[b+36>>2]+(e<<3)>>3];break e}A[b+20|0]=1;d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;l(0,f|0);l(1,d|0);g=+n()}f:{if(K(g)<2147483648){d=~~g;break f}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;g:{if(e){d=e-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n();break g}g=H[C[b+36>>2]+(d<<3)>>3];break g}A[b+20|0]=1;d=C[21153];e=C[21152];C[104428]=e;C[104429]=d;l(0,e|0);l(1,d|0);g=+n()}h:{if(K(g)<2147483648){d=~~g;break h}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+20>>2]=d;C[b+24>>2]=0;break b;case 11:Hk(b+20|0,b);break c;case 12:g=Gk(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=g;break c}A[b+20|0]=1;d=C[21153];C[104428]=C[21152];C[104429]=d;H[52214]=g;break c;default:break d}}Sj(a,b)}if(C[b+24>>2]){break a}}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}i:{j:{k:{e=C[c+4>>2];if((e|0)>=0){f=C[c+8>>2];d=f+1|0;d=(d|0)>0?d:0;if(d>>>0<=e>>>0){break j}while(1){e=((e>>>1|0)+e|0)+8|0;if(d>>>0>=e>>>0){continue}break}if(e>>>0<=268435454){f=lf(C[c+12>>2],e<<4);if(f){break k}}C[c+4>>2]=-1}d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;h=417712;break i}C[c+4>>2]=e;C[c+12>>2]=f;f=C[c+8>>2]}if(d>>>0>f>>>0){We(C[c+12>>2]+(f<<4)|0,0,d-f<<4)}C[c+8>>2]=d;h=(C[c+12>>2]+(d<<4)|0)-16|0}d=h;C[d>>2]=a;f=C[b+12>>2];e=C[b+4>>2];i=C[b>>2];a=C[c>>2];C[d+12>>2]=0;C[d+4>>2]=a+i;d=e-a|0;d=d>>>0<=e>>>0?d:0;a=f-a|0;C[h+8>>2]=a>>>0>d>>>0?d:a;C[c>>2]=C[b+12>>2]}}function fq(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,o=0,p=0;if(d){C[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=D[a|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=I(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=D[a|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=I(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=D[a|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+I(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=Ze(f,10);C[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)>=5?5:a;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=I(C[(e<<2)+210016>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}C[d>>2]=a;e=f<<16;break a}b=b<<2;c=C[b+209996>>2];if(((f|0)/(c|0)|0)>=32768){e=Ze(f,C[b+21e4>>2]);C[d>>2]=a-4;break a}e=Ze(f,c);C[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=m-a|0}else{f=(f|0)/C[210016-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=C[(a<<2)+210016>>2];if(((b|0)/(a|0)|0)>32767){break a}e=Ze(b,a);break a}a=I(b,C[210016-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function rn(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;g=Ce+-64|0;Ce=g;h=C[105697];f=C[105696];a:{b:{if((f|0)>0){while(1){i=h+(e<<3)|0;if(C[i>>2]==(b|0)){break b}e=e+1|0;if((f|0)!=(e|0)){continue}break}}h=Rf(h,(f<<3)+8|0);if(!h){break a}C[105697]=h;f=C[105696];C[105696]=f+1;i=h+(f<<3)|0;C[i+4>>2]=0;C[i>>2]=b}f=C[i+4>>2];c:{if(!(!C[105691]|(b|0)==-1|(d|0)!=1)){A[422820]=(c|0)==1;if(!a){break c}ll(-1,-1,0,0,a,(c|0)==1,J(J(C[105672])/J(C[a+24>>2])),J(J(C[105673])/J(C[a+28>>2])),J(1));break c}if((b|0)!=-1){break c}if(!C[105690]){break a}}d:{e:{switch(c|0){case 0:e=rT(-2,d-1|0)&f;n=1026;h=(a|0)!=0;break d;case 1:break e;default:break a}}m=1;e=f|1<>2]==(e|0)){break a}C[i+4>>2]=e;f:{if(C[105698]<=(d|0)){k=d+1|0;j=Rf(C[105699],k<<4);f=1;if(!j){break f}C[105699]=j;e=C[105698];if((e|0)<=(d|0)){while(1){mf(C[105699]+(e<<4)|0,0,16);f=(d|0)!=(e|0);e=e+1|0;if(f){continue}break}}C[105698]=k}l=C[105699];f=1;if(!l){break f}g:{if(!m){e=D[(l+(d<<4)|0)+12|0];break g}f=Ph();i=0;h:{i:{e=l+(d<<4)|0;if((C[105688]+(C[e+8>>2]-f|0)|0)<=0){break i}j=C[105672]-C[e>>2]|0;k=j>>31;if(C[105689]<((j^k)-k|0)){break i}m=l+(d<<4)|0;k=C[105673]-C[m+4>>2]|0;j=k>>31;if(C[105689]<((j^k)-j|0)){break i}i=D[m+12|0];break h}A[e+12|0]=0}C[e+8>>2]=f;C[e>>2]=C[105672];f=l+(d<<4)|0;C[f+4>>2]=C[105673];e=255;if((i|0)==255){break g}e=i+1|0;A[f+12|0]=e}f=e&255}e=0;if((qf(n,-1)|0)==1){C[g+8>>2]=n;j=C[105671];if(j){e=C[j+4>>2]}A[g+25|0]=c;C[g+20>>2]=b;C[g+16>>2]=e;A[g+24|0]=d;b=C[105673];C[g+28>>2]=C[105672];C[g+32>>2]=b;A[g+26|0]=f>>>0>=255?255:f;Df(g+8|0)}if(!(!h|(c|0)!=0)){sn(a,C[105672],C[105673],1)}if(!C[105693]){break a}ji(0)}Ce=g- -64|0}function WI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=C[b>>2];f=C[l+4>>2];g=I(C[a+36>>2],e)>>1;f=((f|0)<(g|0)?f:g)-C[l>>2]|0;a:{if((f|0)<=0){break a}q=C[l+8>>2];m=(f|0)/(q|0)|0;o=C[C[b+16>>2]>>2];t=rg(a,((m+o|0)-1|0)/(o|0)<<2);b:{if((e|0)<=0){break b}while(1){if(C[(h<<2)+d>>2]){break b}h=h+1|0;if((h|0)!=(e|0)){continue}break}break a}if((e|0)==(h|0)){break a}h=C[b+8>>2];if((h|0)<=0){break a}u=a+4|0;a=0;y=(m|0)<=0;while(1){if(!y){z=1<>2],u);if((d|0)==-1|(d|0)>=C[l+16>>2]){break a}d=C[C[b+28>>2]+(d<<2)>>2];C[(p<<2)+t>>2]=d;if(!d){break a}}c:{if((o|0)<=0|(h|0)>=(m|0)){break c}A=(p<<2)+t|0;d=0;while(1){f=C[C[A>>2]+(d<<2)>>2]<<2;d:{if(!(C[(f+l|0)+24>>2]&z)){break d}n=C[C[f+C[b+20>>2]>>2]+(a<<2)>>2];if(!n){break d}g=C[l>>2]+I(h,q)|0;i=0;e:{if(C[n+8>>2]<=0){break e}f=(g|0)/(e|0)|0;v=(g+q|0)/(e|0)|0;if((f|0)>=(v|0)){break e}g=0;while(1){i=-1;k=dk(n,u);if((k|0)==-1){break e}i=C[n>>2];f:{if((i|0)<=0){break f}r=C[n+16>>2]+(I(i,k)<<2)|0;k=0;if((i|0)!=1){B=i&-2;s=0;while(1){j=C[(g<<2)+c>>2]+(f<<2)|0;w=k<<2;G[j>>2]=G[w+r>>2]+G[j>>2];j=g+1|0;g=(j|0)==(e|0);j=g?0:j;x=f+g|0;f=C[(j<<2)+c>>2]+(x<<2)|0;G[f>>2]=G[(w|4)+r>>2]+G[f>>2];g=j+1|0;f=(g|0)==(e|0);g=f?0:g;f=f+x|0;k=k+2|0;s=s+2|0;if((B|0)!=(s|0)){continue}break}}if(!(i&1)){break f}i=C[(g<<2)+c>>2]+(f<<2)|0;G[i>>2]=G[(k<<2)+r>>2]+G[i>>2];g=g+1|0;i=(g|0)==(e|0);g=i?0:g;f=f+i|0}if((f|0)<(v|0)){continue}break}i=0}if((i|0)==-1){break a}}h=h+1|0;d=d+1|0;if((o|0)<=(d|0)){break c}if((h|0)<(m|0)){continue}break}}p=p+1|0;if((h|0)<(m|0)){continue}break}h=C[b+8>>2]}a=a+1|0;if((h|0)>(a|0)){continue}break}}return 0}function jJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ce-272|0;Ce=h;i=C[a+28>>2];f=df(1,1120);e=Ye(b,5);C[f>>2]=e;a:{b:{if((e|0)>0){g=-1;while(1){a=Ye(b,4);C[((c<<2)+f|0)+4>>2]=a;if((a|0)<0){break b}g=(a|0)<(g|0)?g:a;c=c+1|0;if((e|0)>(c|0)){continue}break}e=0;while(1){c=(e<<2)+f|0;l=c,m=Ye(b,3)+1|0,C[l+128>>2]=m;d=Ye(b,2);C[c+192>>2]=d;if((d|0)<0){break b}c:{if(!d){a=C[c+256>>2];break c}a=Ye(b,8);C[c+256>>2]=a}if((a|0)<0|C[i+24>>2]<=(a|0)){break b}a=0;if((d|0)!=31){while(1){d=Ye(b,8);C[(((e<<5)+f|0)+(a<<2)|0)+320>>2]=d-1;if((d|0)<0|(d|0)>C[i+24>>2]){break b}a=a+1|0;if((a|0)<1<>2]){continue}break}}a=(e|0)!=(g|0);e=e+1|0;if(a){continue}break}}l=f,m=Ye(b,2)+1|0,C[l+832>>2]=m;g=0;i=Ye(b,4);if((i|0)<0){break b}d=1<>2];d:{if((c|0)>0){a=0;e=0;while(1){e=C[((C[((g<<2)+f|0)+4>>2]<<2)+f|0)+128>>2]+e|0;if((e|0)>63){break b}if((a|0)<(e|0)){while(1){c=Ye(b,i);C[((a<<2)+f|0)+844>>2]=c;if((c|0)<0|(c|0)>=(d|0)){break b}a=a+1|0;if((e|0)!=(a|0)){continue}break}c=C[f>>2];a=e}g=g+1|0;if((g|0)<(c|0)){continue}break}C[f+836>>2]=0;C[f+840>>2]=d;a=e+2|0;if((e|0)>-2){break d}lh(h,a,4,1270);break a}e=0;C[f+836>>2]=0;C[f+840>>2]=d;a=2}g=a;b=(g|0)<=1?1:g;i=b&3;a=0;if(b-1>>>0>=3){c=f+836|0;k=b&2147483644;b=0;while(1){d=a<<2;C[d+h>>2]=c+d;j=d|4;C[j+h>>2]=c+j;j=d|8;C[j+h>>2]=c+j;d=d|12;C[d+h>>2]=c+d;a=a+4|0;b=b+4|0;if((k|0)!=(b|0)){continue}break}}if(i){b=f+836|0;c=0;while(1){d=a<<2;C[d+h>>2]=b+d;a=a+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}lh(h,g,4,1270);if((e|0)<0){break a}b=(g|0)<=2?2:g;c=C[C[h>>2]>>2];a=1;while(1){g=c;c=C[C[(a<<2)+h>>2]>>2];if((g|0)==(c|0)){break b}a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}Re(f);f=0}Ce=h+272|0;return f|0}function dt(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;g=Ce-16|0;Ce=g;a:{if(C[b+136>>2]!=6){break a}c=D[a+2|0]|D[a+3|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+a|0}else{h=84608}c=C[b+100>>2];h=zf(h,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((h|0)==-1){break a}c=D[a+4|0]|D[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=((e<<1)+a|0)+6|0;c=D[f|0]|D[f+1|0]<<8;i=((((c<<8|c>>>8)&65535)<<1)+f|0)+2|0;c=D[i|0]|D[i+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=h>>>0){break a}C[g+12>>2]=0;C[g+8>>2]=0;c=0;d=C[b+100>>2];d=C[(D[d+73|0]?84:76)+d>>2];C[b+84>>2]=e;C[b+48>>2]=d;j=C[C[b+52>>2]+100>>2];C[b+88>>2]=C[j+80>>2];c=C[j+76>>2]==(d|0)?D[(C[j+92>>2]+I(d,20)|0)+15|0]:c;C[b+80>>2]=a+6;C[b+76>>2]=a;C[b+72>>2]=166;A[b+68|0]=c;b:{if(e){c=0;d=b+48|0;if(!ki(d)){break b}c:{while(1){c=c+1|0;if((e|0)==(c|0)){break c}if(ki(d)){continue}break}c=c>>>0>=e>>>0;break b}d=C[d>>2];c=c>>>0>=e>>>0}else{c=1}C[g+12>>2]=d}if(!c){break a}j=f+2|0;d=0;c=C[C[b+100>>2]+76>>2];e=D[f|0]|D[f+1|0]<<8;e=(e<<8|e>>>8)&65535;C[b+84>>2]=e;C[b+48>>2]=c;f=C[C[b+52>>2]+100>>2];C[b+88>>2]=C[f+80>>2];d=C[f+76>>2]==(c|0)?D[(C[f+92>>2]+I(c,20)|0)+15|0]:d;C[b+80>>2]=j;C[b+76>>2]=a;C[b+72>>2]=166;A[b+68|0]=d;a=1;d:{if(e){a=0;c=b+48|0;if(!Og(c)){break d}e:{while(1){a=a+1|0;if((e|0)==(a|0)){break e}if(Og(c)){continue}break}a=a>>>0>=e>>>0;break d}c=C[c>>2];a=a>>>0>=e>>>0}C[g+8>>2]=c+1}if(!a){break a}Zg(C[b+100>>2],C[g+12>>2],C[g+8>>2]);a=D[i|0]|D[i+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=h>>>0?84608:((h<<1)+i|0)+2|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(D[b+140|0]){c=C[b+100>>2];c=C[c+92>>2]+I(C[c+76>>2],20)|0;d=E[c+12>>1]&96;l=c,m=_g(C[b+108>>2],a)|d|16,B[l+12>>1]=m}b=C[b+100>>2];C[C[b+92>>2]+I(C[b+76>>2],20)>>2]=a;k=1}Ce=g+16|0;return k}function ho(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=C[b+4>>2];b:{if(i>>>0>a>>>0){break b}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<20){break b}f=C[b+12>>2];c=f-20|0;C[b+12>>2]=c;if((D[a|0]|D[a+1|0]<<8)!=256|(c|0)<=0){break b}c=D[a+12|0]|D[a+13|0]<<8;c=(c<<8|c>>>8)&65535;if((c|0)!=C[b+36>>2]){break b}d=a+8|0;if(d>>>0>g>>>0|g-d>>>0<4){break b}h=D[a+4|0]|D[a+5|0]<<8;j=D[a+6|0]|D[a+7|0]<<8;f=f-24|0;C[b+12>>2]=f;if((f|0)<=0){break b}d=A[d|0];if((d|0)<0){break b}e=I((j<<8|j>>>8)&65535,(h<<8|h>>>8)&65535);if(e>>>0>2147483646){break a}c:{if(!e){break c}d=(D[a+11|0]|(D[a+9|0]<<16|(d&255)<<24|D[a+10|0]<<8))+a|0;if(d>>>0>>0|d>>>0>g>>>0){break a}e=e<<1;if(e>>>0>g-d>>>0){break a}f=f-e|0;C[b+12>>2]=f;if((f|0)>0){break c}break a}e=a+20|0;d=g-e|0;d:{e:{h=(D[a+14|0]|D[a+15|0]<<8)&256;if(h){if(e>>>0>g>>>0){break a}e=(c<<2)+4|0;if(e>>>0<=d>>>0){break e}break a}if(e>>>0>g>>>0){break a}e=(c<<1)+2|0;if(e>>>0>d>>>0){break a}f=f-e|0;C[b+12>>2]=f;if((f|0)>0){break d}break a}f=f-e|0;C[b+12>>2]=f;e=0;if((f|0)<=0){break b}}e=a+20|0;f:{if(h){d=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=e+(c<<2)|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break f}d=D[e|0]|D[e+1|0]<<8;d=((d<<8|d>>>8)&65535)<<1;c=e+(c<<1)|0;c=D[c|0]|D[c+1|0]<<8;c=((c<<8|c>>>8)&65535)<<1}e=0;g:{h:{c=c-d|0;switch(c+1|0){case 0:break b;case 1:break g;default:break h}}h=a;a=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=(a?h+a|0:84608)+d|0;if(a>>>0>>0|a>>>0>g>>>0){break a}if(c>>>0>g-a>>>0){break b}a=f-c|0;C[b+12>>2]=a;return(a|0)>0}e=1}return e}return 0}function Yi(a,b){var c=0,d=0,e=0,f=0;c=Ce-80|0;Ce=c;a:{if(!b){C[c>>2]=16082;e=Qe(19745,c);break a}C[b>>2]=0;d=C[105780];if(!d){e=Qe(19865,0);break a}f=3410;b:{c:{switch(a|0){case 1:f=3411;break b;case 3:f=3413;break b;case 5:C[b>>2]=C[d+436>>2];break a;case 6:f=3414;break b;case 7:f=3415;break b;case 13:f=32936;break b;case 14:f=32937;break b;case 24:f=33531;break b;case 4:C[c+76>>2]=0;C[c+72>>2]=0;C[c+68>>2]=0;C[c+64>>2]=0;e=-1;if((Yi(0,c+76|0)|0)<0){break a}if((Yi(1,c+72|0)|0)<0){break a}if((Yi(2,c+68|0)|0)<0){break a}if((Yi(3,c- -64|0)|0)<0){break a}C[b>>2]=C[c+64>>2]+(C[c+68>>2]+(C[c+72>>2]+C[c+76>>2]|0)|0);e=0;break a;case 15:C[b>>2]=C[d+472>>2]!=0;break a;case 16:C[b>>2]=C[d+512>>2];break a;case 17:C[b>>2]=C[d+476>>2];break a;case 18:C[b>>2]=C[d+480>>2];break a;case 19:C[b>>2]=C[d+488>>2]==4;break a;case 20:C[b>>2]=C[d+484>>2];break a;case 21:C[b>>2]=C[d+488>>2];break a;case 22:C[b>>2]=C[d+492>>2];break a;case 23:C[b>>2]=C[d+504>>2];break a;case 26:C[b>>2]=C[d+508>>2];break a;default:e=Qe(16257,0);break a;case 8:case 9:case 10:case 11:case 12:break a;case 0:break b;case 2:break c}}f=3412}d:{a=C[d+196>>2];if(a){if(C[d+516>>2]){break d}Qe(20769,0);e=-1;break a}C[c+16>>2]=C[d>>2];Qe(32625,c+16|0);e=-1;break a}e=-1;a=Fe[a|0](d,2294)|0;if(!a){break a}Fe[a|0](f,b);a=C[105780];if(!a){Qe(19865,0);break a}e:{b=C[a+196>>2];if(b){if(C[a+516>>2]){break e}Qe(20769,0);break a}C[c+32>>2]=C[a>>2];Qe(32625,c+32|0);break a}a=Fe[b|0](a,9271)|0;if(!a){break a}f:{g:{h:{e=Fe[a|0]()|0;switch(e-1280|0){case 1:break f;case 0:break g;default:break h}}if(!e){break a}C[c+48>>2]=e;e=Qe(22635,c+48|0);break a}e=Qe(25590,0);break a}e=Qe(26564,0)}Ce=c+80|0;return e}function lM(a,b){a=a|0;b=b|0;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,o=0,p=0;d=Ce-48|0;Ce=d;i=C[b+28>>2];C[d+24>>2]=C[b+8>>2];o=d,p=cg(b,d+8|0),C[o+12>>2]=p;c=C[d+8>>2];a:{if(c){break a}c=Ff(b,284208,d+12|0);C[d+8>>2]=c;if(c){break a}c=1330926671;b:{if(C[d+12>>2]==1330926671){e=E[d+16>>1];break b}e=C[d+24>>2];c=bf(b,e+12|0);C[d+44>>2]=c;if(c){break a}c=2;if(!E[d+16>>1]){break a}j=e+28|0;e=0;while(1){c:{c=Ff(b,284240,d+28|0);C[d+44>>2]=c;if(c){break c}c=C[b+4>>2];f=C[d+36>>2];d:{if(c>>>0>>0){break d}h=C[d+40>>2];k=h>>>0<=c-f>>>0;c=C[d+28>>2];if(!(k|(c|0)==1986884728)&(c|0)!=1752003704){break d}e=e+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1751474532&(c|0)!=1651008868){break d}if(h>>>0<54){c=142;break a}c=bf(b,f+12|0);C[d+44>>2]=c;if(c){break a}cg(b,d+44|0);c=C[d+44>>2];if(c){break a}c=bf(b,(g<<4)+j|0);C[d+44>>2]=c;m=1;if(!c){break d}break a}n=1}g=g+1|0;if(g>>>0>1]){continue}}break}B[d+16>>1]=e;c=2;if(!(e&65535)){break a}if(!m){c=142;if(!l|!n){break a}}C[d+8>>2]=0;c=C[d+12>>2]}C[a+148>>2]=c;B[a+152>>1]=e;o=a,p=Ve(i,16,0,e&65535,0,d+8|0),C[o+156>>2]=p;c=C[d+8>>2];if(c){break a}c=bf(b,C[d+24>>2]+12|0);C[d+8>>2]=c;if(c){break a}c=Cf(b,E[a+152>>1]<<4);C[d+8>>2]=c;if(c){break a}if(E[d+16>>1]){c=C[a+156>>2];a=0;while(1){o=c,p=wg(b),C[o>>2]=p;o=c,p=wg(b),C[o+4>>2]=p;o=c,p=wg(b),C[o+8>>2]=p;e=wg(b);C[c+12>>2]=e;f=C[b+4>>2];g=C[c+8>>2];f:{if(f>>>0>>0){break f}h=e;e=f-g|0;if(h>>>0>e>>>0){f=C[c>>2];if((f|0)!=1986884728&(f|0)!=1752003704){break f}C[c+12>>2]=e&-4}c=c+16|0}a=a+1|0;if(a>>>0>1]){continue}break}}xf(b);c=C[d+8>>2]}Ce=d+48|0;return c|0}function bl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!C[b>>2]){b=c;m=1;break a}m=!C[c>>2]}d=C[a+20>>2];b:{c:{if(!d){break c}f=C[b+8>>2];d:{while(1){h=C[(I(g,20)+a|0)+36>>2];if((h|0)>=(f|0)){break d}g=g+1|0;if((d|0)!=(g|0)){continue}break}g=d;break c}if(D[(I(g,20)+a|0)+28|0]&8|(!m&(h|0)<=C[c+8>>2]|(f|0)==(h|0))){break b}}d=C[a+4>>2];if(!(!D[d+12|0]|D[b|0]&16)){e:{if(!m){d=Oh(d,(C[b+8>>2]+C[c+8>>2]|0)/2|0);f=Te((C[c+8>>2]-C[b+8>>2]|0)/2|0,C[a+16>>2]);C[b+12>>2]=d-f;f=d+f|0;d=c;break e}f=Oh(d,C[b+8>>2]);d=b}C[d+12>>2]=f}if(C[b+12>>2]>2]?g:0){break b}d=C[a+20>>2];f:{if(d>>>0<=g>>>0){break f}f=C[(I(g,20)+a|0)+40>>2];if(!m){if((f|0)>=C[c+12>>2]){break f}break b}if((f|0)>2]){break b}}h=d+!m|0;if(h>>>0>191){break b}k=d-g|0;g:{if(!k){break g}i=g+1|0;h:{if(!(k&1)){f=d;break h}e=a+28|0;j=e+I(h,20)|0;f=d-1|0;e=e+I(f,20)|0;l=C[e+4>>2];C[j>>2]=C[e>>2];C[j+4>>2]=l;C[j+16>>2]=C[e+16>>2];l=C[e+12>>2];C[j+8>>2]=C[e+8>>2];C[j+12>>2]=l;h=h-1|0;k=k-1|0}if((d|0)==(i|0)){break g}j=a+28|0;while(1){i=j+I(f,20)|0;e=i-20|0;l=C[e+4>>2];d=j+I(h,20)|0;C[d>>2]=C[e>>2];C[d+4>>2]=l;C[d+16>>2]=C[e+16>>2];l=C[e+12>>2];C[d+8>>2]=C[e+8>>2];C[d+12>>2]=l;e=i-40|0;i=C[e+4>>2];d=d-20|0;C[d>>2]=C[e>>2];C[d+4>>2]=i;i=C[e+12>>2];C[d+8>>2]=C[e+8>>2];C[d+12>>2]=i;C[d+16>>2]=C[e+16>>2];h=h-2|0;f=f-2|0;k=k-2|0;if(k){continue}break}}d=I(g,20)+a|0;C[d+44>>2]=C[b+16>>2];g=C[b+12>>2];C[d+36>>2]=C[b+8>>2];C[d+40>>2]=g;g=C[b+4>>2];C[d+28>>2]=C[b>>2];C[d+32>>2]=g;C[a+20>>2]=C[a+20>>2]+1;if(m){break b}C[d- -64>>2]=C[c+16>>2];b=C[c+12>>2];C[d+56>>2]=C[c+8>>2];C[d+60>>2]=b;b=C[c+4>>2];C[d+48>>2]=C[c>>2];C[d+52>>2]=b;C[a+20>>2]=C[a+20>>2]+1}}function Bn(a,b,c,d,e,f){var g=0,h=0,i=0,j=J(0);a:{g=If(1,264);b:{if(!g){break b}C[g+236>>2]=4096;C[g+216>>2]=f;A[g+214|0]=e;B[g+212>>1]=d;C[g+204>>2]=c;A[g+202|0]=b;B[g+200>>1]=a;C[g+172>>2]=1;i=b>>>0>>0?b:e;A[g+232|0]=i;H[g+224>>3]=+(f|0)/+(c|0);C[g+208>>2]=I(d>>>3&31,e);C[g+196>>2]=I(a>>>3&31,b);h=0;c:{if((c|0)==(f|0)){break c}h=512;if((c|0)<=(f|0)){break c}j=J(P(J(J(c<<9)/J(f|0))));if(J(K(j))>2]=h;h=If(h>>>0<=1?1:h,4);C[g+244>>2]=h;d:{if(!h){break d}h=I(C[g+196>>2],C[g+240>>2]/D[g+232|0]|0);C[g+180>>2]=h;e:{if((h|0)<=0){break e}h=Fe[C[94762]](h>>>0<=1?1:h)|0;if(h){C[94766]=C[94766]+1}C[g+176>>2]=h;if(h){break e}break d}f:{g:{if((c|0)==(f|0)){C[g>>2]=0;if((Cn(g+84|0,a,b,f,d,e,f)|0)>=0){break g}break f}if((Cn(g,a,b,c,33056,i,c)|0)<0){break f}if(!C[g+252>>2]){a=If(C[g+240>>2],4);C[g+248>>2]=a;if(!a){Di(g);break b}C[g+260>>2]=275;C[g+256>>2]=276;C[g+252>>2]=277}if((Cn(g+84|0,33056,i,f,d,e,f)|0)>=0){break g}break f}a=hs(4096,8192);C[g+168>>2]=a;if(a){return g}a=C[g+260>>2];if(a){Fe[a|0](g);a=C[g+168>>2]}else{a=0}yk(a);break a}a=C[g+260>>2];if(a){Fe[a|0](g)}yk(C[g+168>>2]);break a}a=C[g+260>>2];if(a){Fe[a|0](g)}yk(C[g+168>>2]);a=C[g+176>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[g+188>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[g+244>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}}_e(0);return 0}a=C[g+176>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[g+188>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[g+244>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}return 0}function lN(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;if(F[b+160>>2]>>0){tf(b,8)}d=D[a+3|0]|D[a+2|0]<<8;if(F[b+160>>2]>>0){if(C[b+164>>2]){tf(b,8)}d=C[b+160>>2]-a|0}if(d>>>0<=15){tf(b,8)}c=D[a+7|0];k=c|D[a+6|0]<<8;if(!(!(c&1)|F[b+164>>2]<2)){tf(b,8)}h=k&65534;if((h<<2)+16>>>0>d>>>0){tf(b,8)}g=k>>>1|0;a:{if(F[b+164>>2]<2){break a}l=D[a+12|0];i=D[a+10|0];e=D[a+11|0];c=D[a+9|0];q=c|D[a+8|0]<<8;f=c;c=D[a+13|0];if((f|c)&1){tf(b,8)}f=q>>>1|0;if(!(f>>>0>g>>>0|g>>>0>(q&65534)>>>0|(g|0)!=(f+((c|l<<8)>>>1|0)|0))){if((f|0)==1<<(e|i<<8)){break a}}tf(b,8)}m=a+14|0;b:{if(F[b+164>>2]<2){break b}c=(h+m|0)-2|0;if((D[c|0]<<8|D[c+1|0])==65535){break b}tf(b,8)}if(k>>>0>=2){n=(a+h|0)+16|0;o=h+n|0;j=h+o|0;s=h+j|0;h=g>>>0<=1?1:g;k=a+d|0;g=g-1|0;e=0;c=0;while(1){a=c;d=e;q=D[j|0]<<8;f=D[j+1|0];l=D[o|0];i=D[o+1|0];c=D[n+1|0]|D[n|0]<<8;e=D[m+1|0]|D[m|0]<<8;if(c>>>0>e>>>0){tf(b,8)}f=f|q;c:{if(!p|c>>>0>d>>>0){break c}if(C[b+164>>2]){tf(b,8);break c}if(!(a>>>0<=c>>>0&e>>>0>=d>>>0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+j|0;e:{f:{if(C[b+164>>2]){if(a>>>0>>0|k>>>0<((e-c<<1)+a|0)+2>>>0){break f}break e}if(!((g|0)!=(p|0)|(c|0)!=65535)&(e|0)==65535){break e}if(a>>>0>>0){break f}if(F[b+160>>2]>=((e-c<<1)+a|0)+2>>>0){break e}}tf(b,8)}if(!C[b+164>>2]|c>>>0>=e>>>0){break d}l=i|l<<8;d=c;while(1){i=D[a+1|0]|D[a|0]<<8;if(!(!i|F[b+172>>2]>(l+i&65535)>>>0)){tf(b,16)}a=a+2|0;d=d+1|0;if(d>>>0>>0){continue}break}break d}if(!((g|0)!=(p|0)|F[b+164>>2]>1|(c|0)!=65535)){if((e|0)==65535){break d}}tf(b,8)}j=j+2|0;o=o+2|0;m=m+2|0;n=n+2|0;p=p+1|0;if((h|0)!=(p|0)){continue}break}}return r|0}function Fi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=D[a|0]|D[a+1|0]<<8;if(!l){return 0}g=C[b+116>>2];h=C[b+92>>2];a=0;m=(l<<8|l>>>8)&65535;if(m&1){k=C[e+8>>2];a=D[d|0]|D[d+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;i=mT(C[h+32>>2],C[h+36>>2],f,f>>31);f=Ee;i=i+32768|0;C[e+8>>2]=(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16)+k;d=d+2|0;a=(a|0)!=0}if(m&2){i=C[e+12>>2];k=D[d|0]|D[d+1|0]<<8;f=(k<<8|k>>>8)<<16>>16;j=mT(C[h+40>>2],C[h+44>>2],f,f>>31);f=Ee;j=j+32768|0;C[e+12>>2]=(((j>>>0<32768?f+1|0:f)&65535)<<16|j>>>16)+i;d=d+2|0;a=(k|0)!=0|a}k=g&-2;if(m&4){if((k|0)==4){i=C[e>>2];g=D[d|0]|D[d+1|0]<<8;f=(g<<8|g>>>8)<<16>>16;j=mT(C[h+32>>2],C[h+36>>2],f,f>>31);f=Ee;j=j+32768|0;C[e>>2]=(((j>>>0<32768?f+1|0:f)&65535)<<16|j>>>16)+i;a=(g|0)!=0|a}d=d+2|0}if(m&8){if((k|0)!=4){i=C[e+4>>2];g=D[d|0]|D[d+1|0]<<8;f=(g<<8|g>>>8)<<16>>16;j=mT(C[h+40>>2],C[h+44>>2],f,f>>31);f=Ee;j=j+32768|0;C[e+4>>2]=i-(((j>>>0<32768?f+1|0:f)&65535)<<16|j>>>16);a=(g|0)!=0|a}d=d+2|0}a:{if(l>>>0<4096){break a}l=1;f=1;f=C[h+48>>2]?f:C[h+60>>2]!=0;if(!C[h+52>>2]){l=C[h+60>>2]!=0;if((l|f)!=1){break a}}b=C[b+112>>2];if(m&16){if(f){g=D[d|0]|D[d+1|0]<<8;i=(g|0)!=0;n=e,o=Vn(g?((g<<8|g>>>8)&65535)+c|0:84608,h,b)+C[e+8>>2]|0,C[n+8>>2]=o;a=a|i}d=d+2|0}if(m&32){if(l){g=D[d|0]|D[d+1|0]<<8;i=(g|0)!=0;n=e,o=Wn(g?((g<<8|g>>>8)&65535)+c|0:84608,h,b)+C[e+12>>2]|0,C[n+12>>2]=o;a=a|i}d=d+2|0}if(m&64){if((k|0)==4&f){f=D[d|0]|D[d+1|0]<<8;g=(f|0)!=0;n=e,o=Vn(f?((f<<8|f>>>8)&65535)+c|0:84608,h,b)+C[e>>2]|0,C[n>>2]=o;a=a|g}d=d+2|0}if(!l|(!(m&128)|(k|0)==4)){break a}d=D[d|0]|D[d+1|0]<<8;a=(d|0)!=0|a;b=Wn(d?((d<<8|d>>>8)&65535)+c|0:84608,h,b);C[e+4>>2]=C[e+4>>2]-b}return a}function Js(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=C[b+92>>2];j=C[b+80>>2];a:{if(!C[b+148>>2]){break a}f=b+108|0;while(1){e=C[f+(g<<2)>>2];i=C[b+12>>2];e=In(e,Fe[C[i+24>>2]](i,e,C[i+56>>2])|0);if((e|0)==7){g=g+1|0;if(g>>>0>2]){continue}break a}break}h=E[(e<<2)+46770>>1]}e=-1;if(j){while(1){g=I(d,20)+k|0;f=In(C[g>>2],E[g+16>>1]&31);b:{if((f|0)==7){A[g+19|0]=7;break b}i=I(h,24)+(f<<2)|0;f=D[i+46768|0];c:{if((f|0)==7|(e|0)==-1){break c}A[(I(e,20)+k|0)+19|0]=f;f=d+1|0;if(f-e>>>0<2){break c}Sf(b,e,f)}A[g+19|0]=D[i+46769|0];h=E[i+46770>>1];e=d}d=d+1|0;if((j|0)!=(d|0)){continue}break}}d:{if(!C[b+152>>2]){break d}g=0;while(1){d=C[((g<<2)+b|0)+128>>2];f=C[b+12>>2];d=In(d,Fe[C[f+24>>2]](f,d,C[f+56>>2])|0);if((d|0)==7){g=g+1|0;if(g>>>0>2]){continue}break d}break}d=D[(I(h,24)+(d<<2)|0)+46768|0];if((d|0)==7|(e|0)==-1){break d}A[(I(e,20)+k|0)+19|0]=d}e:{f:{if((c|0)!=1299148391){break f}e=C[b+80>>2];if(e>>>0<2){break e}g=C[b+92>>2];d=1;c=e-1|0;i=c&1;if((e|0)!=2){f=c&-2;h=0;while(1){j=g+I(d,20)|0;c=C[j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){A[j+19|0]=D[j-1|0]}e=g+I(d+1|0,20)|0;c=C[e>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){A[e+19|0]=D[j+19|0]}d=d+2|0;h=h+2|0;if((f|0)!=(h|0)){continue}break}}if(!i){break f}c=C[g+I(d,20)>>2]-6155|0;if(c>>>0>4|(c|0)==3){break f}c=g+I(d,20)|0;A[c+19|0]=D[c-1|0]}e=C[b+80>>2]}g:{if(!e){break g}f=C[b+92>>2];d=0;if((e|0)!=1){b=e&-2;h=0;while(1){c=f+I(d,20)|0;C[c+4>>2]=C[c+4>>2]|C[(D[c+19|0]<<2)+a>>2];c=f+I(d|1,20)|0;C[c+4>>2]=C[c+4>>2]|C[(D[c+19|0]<<2)+a>>2];d=d+2|0;h=h+2|0;if((b|0)!=(h|0)){continue}break}}if(!(e&1)){break g}b=f+I(d,20)|0;C[b+4>>2]=C[b+4>>2]|C[(D[b+19|0]<<2)+a>>2]}}function fu(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;e=C[a>>2];a:{if(e){break a}g=a-116|0;while(1){c=C[g>>2];if(!c){e=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;e=Qf(c);A[b+40|0]=1;C[b+36>>2]=e;e=Of(c,1953653099);f=e;b:{if(!e){break b}c=C[f>>2];if(!c){break b}C[f>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=f;c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;c:{d:{if(!c){break d}e:{f:{g:{h:{if($n(c,b)){break h}i:{if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(!c){break i}while(1){A[b+24|0]=1;f=C[b+32>>2];c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0<=67108862){d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}else{d=1073741823}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;if(!c){break d}if($n(c,b)){break h}if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(c){continue}break}}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break g}if(!C[b+28>>2]){break f}C[b+28>>2]=0;f=$n(c,b);c=C[b+28>>2];Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(c){break g}if(f){break e}}Ue(e);e=84608;break c}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}if(C[e+4>>2]){C[e+4>>2]=0}break c}Ue(f);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}c=e;if(!c){c=84608}e=C[a>>2];if(!e){C[a>>2]=c;e=c;break a}if(!c){break a}if((c|0)!=84608){Ue(c)}e=C[a>>2];if(!e){continue}break}}Ce=b+48|0;return F[e+16>>2]<12?84608:C[e+12>>2]}function mi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;e=C[a>>2];a:{if(e){break a}g=a-76|0;while(1){c=C[g>>2];if(!c){e=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;e=Qf(c);A[b+40|0]=1;C[b+36>>2]=e;e=Of(c,1297498450);f=e;b:{if(!e){break b}c=C[f>>2];if(!c){break b}C[f>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=f;c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;c:{d:{if(!c){break d}e:{f:{g:{h:{if(go(c,b)){break h}i:{if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(!c){break i}while(1){A[b+24|0]=1;f=C[b+32>>2];c=C[f+12>>2];C[b+4>>2]=c;d=C[f+16>>2];C[b+8>>2]=d+c;C[b+28>>2]=0;if(d>>>0<=67108862){d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}else{d=1073741823}C[b+12>>2]=d;C[b+20>>2]=0;C[b>>2]=0;if(!c){break d}if(go(c,b)){break h}if(D[b+24|0]|!C[b+28>>2]){break i}c=Pf(e);C[b+4>>2]=c;C[b+8>>2]=c+C[e+16>>2];if(c){continue}break}}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break g}if(!C[b+28>>2]){break f}C[b+28>>2]=0;f=go(c,b);c=C[b+28>>2];Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(c){break g}if(f){break e}}Ue(e);e=84608;break c}Ue(C[b+32>>2]);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}if(C[e+4>>2]){C[e+4>>2]=0}break c}Ue(f);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}c=e;if(!c){c=84608}e=C[a>>2];if(!e){C[a>>2]=c;e=c;break a}if(!c){break a}if((c|0)!=84608){Ue(c)}e=C[a>>2];if(!e){continue}break}}Ce=b+48|0;return F[e+16>>2]<12?84608:C[e+12>>2]}function GI(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,j=0;e=Ce-1040|0;Ce=e;i=kf(40);C[i>>2]=0;d=e+168|0;We(d,0,872);C[e+896>>2]=1e3;C[e+900>>2]=8e6;C[e+888>>2]=1e6;C[e+892>>2]=1e6;C[108238]=0;if(d){C[d+696>>2]=0;C[d+692>>2]=0;C[d+688>>2]=0}d=C[108238];C[108238]=0;f=-1;j=4;a:{b:{c:{if(!d){break c}g=C[108239];if(!g){break c}f=Mf(C[d>>2],i,4);if(!f){break b}De=g}d=De;d:{if((f|0)==1){break d}C[108238]=0;if(e+168|0){C[e+336>>2]=c;C[e+340>>2]=b}d=C[108238];C[108238]=0;f=-1;e:{if(!d){break e}g=C[108239];if(!g){break e}f=Mf(C[d>>2],i,4);if(!f){break b}De=g}d=De;if((f|0)==1){break d}i=Uj(e,1,i,4);j=De;d=0}f:{while(1){b=0;if(d){break f}C[e+332>>2]=0;C[e+324>>2]=73;C[e+328>>2]=e;if(!a){break f}d=C[e+376>>2];c=d|131072;f=D[a|0];d=(f|0)==49?d:c;g:{if(!f){break g}g=D[a+1|0];h=(g|0)==46;d=h?d:c;f=h+((f|0)==46)|0;if(!g|f>>>0>1){break g}h=c;c=D[a+2|0];d=(c|0)==54?d:h;f=f+((c|0)==46)|0;if(!c|f>>>0>1){break g}c=d|131072;g=D[a+3|0];h=(g|0)==46;d=h?d:c;h=f+h|0;if(!g|h>>>0>1){break g}f=D[a+4|0];d=(f|0)==51?d:c;g=h+((f|0)==46)|0;if(!f|g>>>0>1){break g}h=c;c=D[a+5|0];d=(c|0)==55?d:h;if(!c|g+((c|0)==46)>>>0>1){break g}d=D[a+6|0]?d|131072:d}C[e+376>>2]=d;if(d&131072){break f}C[108238]=0;b=X(1297,e+168|0,872)|0;d=C[108238];C[108238]=0;f=-1;h:{if(!d){break h}g=C[108239];if(!g){break h}f=Mf(C[d>>2],i,j);if(!f){break b}De=g}d=De;if((f|0)==1){continue}break}if(!b){b=0;break f}C[e+428>>2]=b;C[e+424>>2]=1298;C[e+420>>2]=1299;C[e+332>>2]=0;C[e+324>>2]=0;C[e+328>>2]=0;jf(b,e+168|0,872)}Re(i);Ce=e+1040|0;break a}Re(i);Ii(d,g);s()}if(b){C[b+768>>2]=8192;C[b+204>>2]=32768;C[b+208>>2]=C[b+208>>2]|3145728;rv(b,0,0)}return b|0}function Qg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-16|0;Ce=e;g=C[a>>2];C[e+12>>2]=0;a:{b:{c:{d:{e:{b=B[a+58>>1]+(B[a+22>>1]+b|0)|0;d=C[a+4>>2];h=b>>>0<=d>>>0;f:{if(!h){b=b+7&-8;f=10;if(b>>>0>32767){break a}j=a,k=Ve(g,8,d,b,C[a+24>>2],e+12|0),C[j+24>>2]=k;if(C[e+12>>2]){break b}j=a,k=Ve(g,1,d,b,C[a+28>>2],e+12|0),C[j+28>>2]=k;if(C[e+12>>2]){break b}if(D[a+16|0]){f=Ve(g,8,d<<1,b<<1,C[a+40>>2],e+12|0);C[a+40>>2]=f;if(C[e+12>>2]){break b}i=b<<3;d=d<<3;t(f+i|0,d+f|0,d);C[a+44>>2]=C[a+40>>2]+i}C[a+4>>2]=b;b=B[a+20>>1];c=B[a+56>>1]+(c+b|0)|0;d=C[a+8>>2];if(c>>>0<=d>>>0){break e}b=a+8|0;break f}c=B[a+56>>1]+(B[a+20>>1]+c|0)|0;d=C[a+8>>2];if(c>>>0<=d>>>0){break c}b=a+8|0}c=c+3&-4;f=10;if(c>>>0>32767){break a}d=Ve(g,2,d,c,C[a+32>>2],e+12|0);C[a+32>>2]=d;if(C[e+12>>2]){break b}C[b>>2]=c;b=B[a+20>>1];break d}if(h){break c}d=C[a+32>>2]}C[a+68>>2]=(b<<1)+d;c=B[a+22>>1];b=c<<3;C[a+60>>2]=b+C[a+24>>2];C[a- -64>>2]=c+C[a+28>>2];if(!D[a+16|0]){break c}C[a+76>>2]=b+C[a+40>>2];C[a+80>>2]=b+C[a+44>>2]}if(C[e+12>>2]){break b}f=0;break a}b=C[a>>2];c=C[a+24>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+24>>2]=0;c=C[a+28>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+28>>2]=0;c=C[a+32>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+32>>2]=0;c=C[a+40>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+40>>2]=0;c=C[a+52>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+44>>2]=0;C[a+48>>2]=0;C[a+52>>2]=0;C[a+12>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a+20>>2]=0;C[a+88>>2]=C[a+52>>2];b=C[a+48>>2];C[a+80>>2]=C[a+44>>2];C[a+84>>2]=b;b=C[a+40>>2];C[a+72>>2]=C[a+36>>2];C[a+76>>2]=b;b=C[a+32>>2];C[a+64>>2]=C[a+28>>2];C[a+68>>2]=b;b=C[a+24>>2];C[a+56>>2]=C[a+20>>2];C[a+60>>2]=b;f=C[e+12>>2]}Ce=e+16|0;return f}function ly(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;C[a+12>>2]=b;C[a+8>>2]=c;C[a+4>>2]=b;i=a+16|0;C[a+404>>2]=i;l=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}e=D[b|0];c:{d:{if(!(e>>>0<27|(e|0)==31)){f=C[a+404>>2];d=4;if((f-i|0)>380){break c}C[a+404>>2]=f+4;C[f>>2]=b;e:{switch(e-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break c}d=D[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=(e>>>0>246)+b|0;break d}j=C[a+404>>2];C[j>>2]=b;if((e|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break c}e=D[b|0]|256}h=208560;g=4;d=208560;e=C[a+408>>2]|e;f:{g:{if((e|0)==4096){break g}h:{while(1){if((e|0)==C[d+32>>2]){break h}if((e|0)!=C[d+60>>2]){g=C[d+84>>2];if(!g){break f}f=d;h=d+84|0;d=h;if((e|0)!=C[f+88>>2]){continue}break g}break}h=d+56|0;g=C[d+56>>2];break g}h=d+28|0;g=C[d+28>>2]}e=C[h+8>>2];f=C[a+412>>2];if((g|0)!=6){d=12;if((i|0)==(j|0)){break c}}d=e+f|0;i:{j:{k:{l:{m:{switch(g-1|0){case 0:case 3:case 4:f=uj(i);break l;case 1:f=Nh(i,0);break l;case 5:break k;case 2:break m;default:break j}}f=Nh(i,3)}n:{switch(D[h+12|0]-1|0){case 1:B[d>>1]=f;break f;case 0:break i;default:break n}}C[d>>2]=f;break f}m=f+C[h+24>>2]|0;f=j-i>>2;e=C[h+20>>2];g=e>>>0>f>>>0?f:e;A[m|0]=g;if(!g){break f}e=0;f=i;while(1){j=D[h+12|0];e=uj(f)+e|0;o:{p:{switch(j-1|0){case 0:A[d|0]=e;break o;case 1:B[d>>1]=e;break o;default:break p}}C[d>>2]=e}f=f+4|0;d=d+j|0;g=g-1|0;if(g){continue}break}break f}k=Fe[C[h+16>>2]](a)|0;d=7;if(k){break c}k=0;break f}A[d|0]=f}C[a+404>>2]=i}b=b+1|0;d=0}if(!d){continue}break}if(rT(d,30)-1>>>0<3){break a}}l=k}return l}function Zt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Ce-80|0;Ce=j;c=D[c+2|0]|D[c+3|0]<<8;d=c<<8|c>>>8;c=d&65535;e=C[b+4>>2];if(d<<16>>16<0){C[a+4>>2]=C[e+76>>2]}if(c&8192){b=C[e+76>>2]+1|0;d=C[e+80>>2];C[a+8>>2]=b>>>0>>0?b:d}b=c&15;a:{if(!b){break a}c=C[a+4>>2];d=C[a+8>>2];if(c>>>0>=d>>>0){break a}b=D[b+46512|0];k=b>>>4|0;f=k>>>0>=2?2:k;l=b&15;i=l>>>0>=2?2:l;n=f+i|0;b=d-c|0;if(n>>>0>b>>>0){break a}g=C[e+76>>2]+1|0;h=C[e+80>>2];g=g>>>0>>0?g:h;if(g-c>>>0>=2){fg(e,c,g);d=C[a+8>>2];c=C[a+4>>2];b=d-c|0}if(b>>>0>=2){fg(e,c,d);d=C[a+8>>2];c=C[a+4>>2]}b=C[e+92>>2];g=b+I(c,20)|0;h=I(f,20);e=jf(j,g,h);m=I(i,20);o=jf(e+40|0,(b+I(d,20)|0)+I(i,-20)|0,m);if((f|0)!=(i|0)){Yf(g+m|0,g+h|0,I(d-(c+n|0)|0,20));c=C[a+4>>2]}jf(I(c,20)+b|0,o,m);jf((b+I(C[a+8>>2],20)|0)+I(f,-20)|0,e,h);if((k|0)==3){d=b+I(C[a+8>>2],20)|0;c=d-20|0;C[e+16>>2]=C[c+16>>2];f=C[c+4>>2];C[e>>2]=C[c>>2];C[e+4>>2]=f;f=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=f;d=d-40|0;f=C[d+4>>2];C[c>>2]=C[d>>2];C[c+4>>2]=f;f=C[d+12>>2];C[c+8>>2]=C[d+8>>2];C[c+12>>2]=f;C[c+16>>2]=C[d+16>>2];d=C[e+4>>2];c=(b+I(C[a+8>>2],20)|0)-40|0;C[c>>2]=C[e>>2];C[c+4>>2]=d;C[c+16>>2]=C[e+16>>2];d=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=d}if((l|0)!=3){break a}c=b+I(C[a+4>>2],20)|0;C[e+16>>2]=C[c+16>>2];d=C[c+4>>2];C[e>>2]=C[c>>2];C[e+4>>2]=d;d=C[c+12>>2];C[e+8>>2]=C[c+8>>2];C[e+12>>2]=d;d=C[c+24>>2];C[c>>2]=C[c+20>>2];C[c+4>>2]=d;d=C[c+32>>2];C[c+8>>2]=C[c+28>>2];C[c+12>>2]=d;C[c+16>>2]=C[c+36>>2];a=b+I(C[a+4>>2],20)|0;C[a+36>>2]=C[e+16>>2];b=C[e+12>>2];C[a+28>>2]=C[e+8>>2];C[a+32>>2]=b;b=C[e+4>>2];C[a+20>>2]=C[e>>2];C[a+24>>2]=b}Ce=j+80|0}function Iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ce-32|0;Ce=i;g=C[b+80>>2];h=C[a+548>>2];j=ai();f=C[h>>2];a:{if((j|0)!=(f|0)){C[h+468>>2]=0;if((Bh(C[a+204>>2],f)|0)<0){break a}}f=C[a+548>>2];if(!C[f+4>>2]){break a}while(1){if(Fe[C[f+100>>2]]()|0){continue}break}}f=0;b:{if(C[c+8>>2]<=0|C[c+12>>2]<=0){break b}C[h+412>>2]=0;Fe[C[h+20>>2]](C[g+4>>2],C[g>>2]);k=C[g+4>>2];l=C[c>>2];m=C[c+4>>2];n=C[c+8>>2];o=C[c+12>>2];p=C[g+8>>2];q=C[g+12>>2];f=C[b+4>>2];c:{if(!(!f|(f&-268435456)==268435456)){j=2;if((f|0)==844715353|(f|0)==1498831189){break c}j=(f|0)==1431918169?2:1;break c}j=f&255}hi(h,k,l,m,n,o,p,q,d,e,j);d:{if(C[g+24>>2]){f=C[c+12>>2];Fe[C[h+20>>2]](C[g+4>>2],C[(C[b+4>>2]==842094169?32:36)+g>>2]);f=I(e,f)+d|0;d=(e+1|0)/2|0;hi(h,C[g+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[g+8>>2],C[g+12>>2],f,d,1);e=C[c+12>>2];Fe[C[h+20>>2]](C[g+4>>2],C[(C[b+4>>2]==842094169?36:32)+g>>2]);hi(h,C[g+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[g+8>>2],C[g+12>>2],f+I(d,(e+1|0)/2|0)|0,d,1);break d}if(!C[g+28>>2]){break d}b=C[c+12>>2];Fe[C[h+20>>2]](C[g+4>>2],C[g+36>>2]);hi(h,C[g+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,6410,5121,I(b,e)+d|0,(e+1|0)/2<<1,2)}f=0;b=C[a+548>>2];if(!C[b+4>>2]){break b}a=Fe[C[b+100>>2]]()|0;if(!a){break b}while(1){c=25026;d=a-1280|0;if(d>>>0<=5){c=C[(d<<2)+184380>>2]}C[i+20>>2]=a;C[i+16>>2]=c;C[i+12>>2]=16659;C[i+8>>2]=1712;C[i+4>>2]=21666;C[i>>2]=33968;Qe(33817,i);a=Fe[C[b+100>>2]]()|0;if(a){continue}break}f=-1}Ce=i+32|0;return f|0}function Tt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Ce-16|0;Ce=k;C[k+12>>2]=c;d=C[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break a}g=C[b+12>>2];f=g-8|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=a+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break a}g=g-12|0;C[b+12>>2]=g;if((g|0)<=0){break a}i=A[f|0];if((i|0)<0){break a}f=D[a+2|0]|D[a+3|0]<<8;if(f){c=(D[a+7|0]|(D[a+5|0]<<16|(i&255)<<24|D[a+6|0]<<8))+c|0;if(c>>>0>>0|c>>>0>e>>>0){break a}d=e-c|0;c=((f<<8|f>>>8)&65535)<<2;if(d>>>0>>0){break a}c=g-c|0;C[b+12>>2]=c;if((c|0)<=0){break a}}e=D[a|0]|D[a+1|0]<<8;f=(e<<8|e>>>8)&65535;c=1;b:{if(!f){break b}e=a+8|0;c:{if(e>>>0>2]){break c}c=C[b+8>>2];if(c>>>0>>0){break c}d=c-e|0;c=f<<3;if(d>>>0>>0){break c}c=C[b+12>>2]-c|0;C[b+12>>2]=c;if((c|0)<=0){break c}g=C[b+4>>2];c=0;a=D[a+2|0]|D[a+3|0]<<8;if(!a){while(1){j=0;a=e+(c<<3)|0;if(a>>>0>>0){break c}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break c}i=C[b+12>>2];h=i-8|0;C[b+12>>2]=h;if((h|0)<=0){break c}a=a+6|0;if(a>>>0>d>>>0|d-a>>>0<2){break c}a=i-10|0;C[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((f|0)!=(c|0)){continue}break c}}i=((a<<8|a>>>8)&65535)<<1;m=C[k+12>>2];while(1){j=0;d=e+(c<<3)|0;if(d>>>0>>0){break c}a=C[b+8>>2];if(a>>>0>>0|a-d>>>0<8){break c}h=C[b+12>>2];l=h-8|0;C[b+12>>2]=l;if((l|0)<=0){break c}d=d+6|0;if(d>>>0>a>>>0|a-d>>>0<2){break c}h=h-10|0;C[b+12>>2]=h;if((h|0)<=0){break c}d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+m|0;if(d>>>0>>0|a>>>0>>0|i>>>0>a-d>>>0){break c}a=h-i|0;C[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=j}j=c}Ce=k+16|0;return j}function Sj(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{switch(a-247|0){default:if((a|0)!=28){break c}d=C[b+12>>2];a=C[b+4>>2];e:{if(d>>>0>=a>>>0){A[b+16|0]=1;c=84608;break e}c=d+C[b>>2]|0}e=D[c|0]<<8;c=a;a=d+1|0;f:{if(c>>>0<=a>>>0){A[b+16|0]=1;a=84608;break f}a=a+C[b>>2]|0}c=e|D[a|0];a=C[b+24>>2];g:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break g}A[b+20|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}H[a>>3]=c<<16>>16;h:{a=C[b+4>>2];if(D[b+16|0]|d>>>0>a>>>0){break h}c=d+2|0;if(c>>>0>a>>>0){break h}break b}break a;case 0:case 1:case 2:case 3:d=C[b+12>>2];i:{if(d>>>0>=F[b+4>>2]){A[b+16|0]=1;c=84608;break i}c=d+C[b>>2]|0}c=(D[c|0]+(a<<8)|0)+2412&65535;a=C[b+24>>2];j:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break j}A[b+20|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}H[a>>3]=c|0;k:{a=C[b+4>>2];if(D[b+16|0]|d>>>0>a>>>0){break k}c=d+1|0;if(c>>>0>a>>>0){break k}break b}break a;case 4:case 5:case 6:case 7:break d}}d=C[b+12>>2];l:{if(d>>>0>=F[b+4>>2]){A[b+16|0]=1;c=84608;break l}c=d+C[b>>2]|0}c=-108-(D[c|0]|(a<<16)-16449536>>>8)|0;a=C[b+24>>2];m:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break m}A[b+20|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}H[a>>3]=c|0;n:{a=C[b+4>>2];if(D[b+16|0]|d>>>0>a>>>0){break n}c=d+1|0;if(c>>>0>a>>>0){break n}break b}break a}if(a-32>>>0<=214){c=a-139|0;a=C[b+24>>2];o:{if(a>>>0>2]){C[b+24>>2]=a+1;a=C[b+36>>2]+(a<<3)|0;break o}A[b+20|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}H[a>>3]=c|0;return}A[b+40|0]=1;C[b+24>>2]=0;return}C[b+12>>2]=c;return}A[b+16|0]=1;C[b+12>>2]=a}function ZL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-16|0;Ce=g;c=C[a+664>>2];if(!c){d=E[a+340>>1];a:{if(!d){c=0;break a}h=C[a+356>>2];c=0;f=-1;e=-1;while(1){b=h+I(c,20)|0;b:{if(E[b+6>>1]!=6|!E[b+8>>1]){break b}c:{switch(E[b>>1]-1|0){case 2:if(E[b+2>>1]!=1){break b}f=E[b+4>>1]==1033?c:f;break b;case 0:break c;default:break b}}if(E[b+2>>1]){break b}e=E[b+4>>1]?e:c}c=c+1|0;if((d|0)!=(c|0)){continue}break}if((f|0)!=-1){i=C[a+356>>2];e=i+I(f,20)|0;d=E[e+8>>1];b=C[a+100>>2];C[g+12>>2]=0;c=hf(b,d+1|0,g+12|0);if(C[g+12>>2]){break a}h=C[a+360>>2];j=bf(h,C[e+12>>2]);C[g+12>>2]=j;d:{if(j){break d}j=Cf(h,E[e+8>>1]);C[g+12>>2]=j;if(j){break d}b=c;e:{if(d>>>0<2){break e}f=C[h+32>>2];d=d>>>1|0;f:{if(!(d&1)){e=d;break f}b=c;g:{if(D[f|0]){break g}e=A[f+1|0];b=c;if((e|0)<32){break g}A[c|0]=e;b=c+1|0}f=f+2|0;e=d-1|0}if((d|0)==1){break e}while(1){h:{if(D[f|0]){break h}d=A[f+1|0];if((d|0)<32){break h}A[b|0]=d;b=b+1|0}i:{if(D[f+2|0]){break i}d=A[f+3|0];if((d|0)<32){break i}A[b|0]=d;b=b+1|0}f=f+4|0;e=e-2|0;if(e){continue}break}}A[b|0]=0;xf(h);break a}if(c){Fe[C[b+8>>2]](b,c)}c=0;B[e+8>>1]=0;C[e+12>>2]=0;e=i+I(f,20)|0;d=C[e+16>>2];if(d){Fe[C[b+8>>2]](b,d)}C[e+16>>2]=0;break a}if((e|0)==-1){c=0;break a}h=C[a+356>>2];f=h+I(e,20)|0;c=E[f+8>>1];d=C[a+100>>2];C[g+8>>2]=0;b=hf(d,c+1|0,g+8|0);if(C[g+8>>2]){c=b;break a}i=C[a+360>>2];j=bf(i,C[f+12>>2]);C[g+8>>2]=j;j:{if(j){break j}i=jg(i,b,c);C[g+8>>2]=i;if(i){break j}A[b+c|0]=0;c=b;break a}c=0;C[f+12>>2]=0;B[f+8>>1]=0;e=h+I(e,20)|0;f=C[e+16>>2];if(f){Fe[C[d+8>>2]](d,f)}C[e+16>>2]=0;if(b){Fe[C[d+8>>2]](d,b)}}C[a+664>>2]=c}Ce=g+16|0;return c|0}function GG(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;g=C[b+80>>2];if(g){i=C[b+92>>2];while(1){d=8;f=I(e,20)+i|0;c=C[f>>2];h=Hn(c);b=h>>>8|0;a:{b:{c:{if(c-2387>>>0<2){break c}d=1;d:{e:{f:{a=c-7394|0;if(a>>>0>20){break f}a=1<>>0<6){break e}if(c-2674>>>0<2){break c}if(c-7406>>>0<4){d=18;break c}if((c|0)==2641){a=12;d=7;break a}d=8;if((c&-3)==70401){break c}d=3;if(c-70459>>>0<2){break c}g:{if((c|0)<=2810){if((c|0)==2432|(c|0)==2556){break g}break d}if((c|0)==2811|(c|0)==2901){break c}if((c|0)!=3200){break d}}d=11;break c}d=18;break c}if((c&-2)==8208){d=11;break c}if((c|0)==9676){d=12;break c}a=0;d=h&255;if(d>>>0>=32){break b}}a=1<>>7|0){case 5:a=c>>>0<3139?7:9;break a;case 6:a=c-3287>>>0<4294967276?7:9;break a;case 0:case 1:case 2:case 3:case 4:case 7:break j;default:break a}}a=12;break a;case 3:a=9;b=(c&-128)-2560|0;if(b>>>0>=768){break a}a=C[(b>>>5|0)+69412>>2];break a;case 5:a=9;b=(c&-128)-2560|0;if(b>>>0>=896){break a}a=C[(b>>>5|0)+69436>>2];break a;case 0:break a;default:break i}}a=b;break a}a=a&263424?14:b}A[f+19|0]=(c|0)==2817?7:a;A[f+18|0]=d;e=e+1|0;if((g|0)!=(e|0)){continue}break}}}function pu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;C[b>>2]=0;C[b+4>>2]=0;C[b+20>>2]=84608;C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;g=D[84608];j=g|256;d=D[a+16|0];a:{if((g|0)!=12){c=C[a+12>>2];f=c+1|0;h=C[a+4>>2];i=(d|0)!=0|f>>>0>h>>>0;if(i){break a}d=g;b:{c:{d:{if(c>>>0>=h>>>0){break d}e=C[a>>2];d=D[e+c|0];if((d|0)==12){d=j;if(f>>>0>=h>>>0){break d}c=f;d=D[e+c|0]|256}if(c>>>0>>0){break c}}A[a+16|0]=1;C[a+12>>2]=h;break b}C[a+12>>2]=c+1}em(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])|C[a+28>>2]<0){break a}while(1){c=C[a+12>>2];f=c+1|0;h=C[a+4>>2];i=f>>>0>h>>>0;if(i){break a}d=g;e:{f:{if(c>>>0>=h>>>0){break f}e=C[a>>2];d=D[e+c|0];if((d|0)==12){d=j;if(f>>>0>=h>>>0){break f}c=f;d=D[e+c|0]|256}if(c>>>0>=h>>>0){break f}C[a+12>>2]=c+1;break e}A[a+16|0]=1;C[a+12>>2]=h}em(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])){break a}if(C[a+28>>2]>=0){continue}break}break a}c=C[a+12>>2];g=c+1|0;e=C[a+4>>2];i=(d|0)!=0|g>>>0>e>>>0;if(i){break a}g:{if(c>>>0>=e>>>0){A[a+16|0]=1;d=65535;break g}h:{f=C[a>>2];d=D[f+c|0];i:{if((d|0)==12){d=j;if(e>>>0<=g>>>0){break i}c=g;d=D[f+c|0]|256}if(c>>>0>>0){break h}}A[a+16|0]=1;C[a+12>>2]=e;break g}C[a+12>>2]=c+1}em(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])|C[a+28>>2]<0){break a}while(1){c=C[a+12>>2];g=c+1|0;e=C[a+4>>2];i=g>>>0>e>>>0;if(i){break a}j:{if(c>>>0>=e>>>0){A[a+16|0]=1;d=65535;break j}k:{f=C[a>>2];d=D[f+c|0];l:{if((d|0)==12){d=j;if(e>>>0<=g>>>0){break l}c=g;d=D[f+c|0]|256}if(c>>>0>>0){break k}}A[a+16|0]=1;C[a+12>>2]=e;break j}C[a+12>>2]=c+1}em(d,a,b);if(D[a+20|0]|(D[a+40|0]|D[a+16|0])){break a}if(C[a+28>>2]>=0){continue}break}}return i}function fr(a){var 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;a:{b:{if(C[a+20>>2]){break b}b=C[a+48>>2];if(!b|(b|0)==1){break b}i=C[a+52>>2];m=i+(b<<2)|0;k=b-1|0;l=i+4|0;i=C[21152];while(1){f=C[(k?l:84608)>>2];h=C[f+12>>2];if(h){j=C[f+16>>2];n=j+(h<<4)|0;while(1){c=h?j:84608;b=C[c+12>>2];c:{if(b>>>0>=F[a+48>>2]){C[104428]=i;b=i;break c}b=C[C[a+52>>2]+(b<<2)>>2]}if(!b){break a}d=0;d:{e:{f:{g:{e=D[c|0];switch(e>>>4&3){case 1:break f;case 0:break g;case 2:break e;default:break d}}d=C[b>>2]-C[f>>2]|0;break d}d=C[b>>2]-C[f+4>>2]|0;break d}d=C[a+4>>2]+C[b>>2]-(C[a>>2]+C[a+8>>2])|0}g=e&7;b=d-C[c+8>>2]|0;h:{i:{if(e&8){c=C[f>>2]+(C[c+4>>2]&268435455)|0;if((g|0)==4){e=b&65280;g=b>>>8&65280;d=b<<24|e<<8|(g|b>>>24);A[c|0]=d;A[c+1|0]=d>>>8;A[c+2|0]=d>>>16;A[c+3|0]=d>>>24;c=b&255|(e|(b&-16777216|g<<8));if((c|0)!=(b|0)|c>>31){break i}break h}d=b<<8|(b&65280)>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=b<<16>>16;if((c|0)!=(b|0)|c>>31){break i}break h}j:{switch(g-3|0){case 1:c=C[f>>2]+(C[c+4>>2]&268435455)|0;e=b&65280;g=b>>>8&65280;d=b<<24|e<<8|(g|b>>>24);A[c|0]=d;A[c+1|0]=d>>>8;A[c+2|0]=d>>>16;A[c+3|0]=d>>>24;if((b|0)!=(b&255|(e|(b&-16777216|g<<8)))){break i}break h;case 0:c=C[f>>2]+(C[c+4>>2]&268435455)|0;A[c+2|0]=b;A[c+1|0]=b>>>8;A[c|0]=b>>>16;if(b>>>0>=16777216){break i}break h;default:break j}}c=C[f>>2]+(C[c+4>>2]&268435455)|0;d=b<<8|(b&65280)>>>8;A[c|0]=d;A[c+1|0]=d>>>8;if(b>>>0<65536){break h}}C[a+20>>2]=C[a+20>>2]|2}b=(h|0)!=0;h=h-b|0;j=(b<<4)+j|0;if((n|0)!=(j|0)){continue}break}}b=(k|0)!=0;k=k-b|0;l=(b<<2)+l|0;if((m|0)!=(l|0)){continue}break}}return}C[a+20>>2]=C[a+20>>2]|1}function Os(a,b,c){var d=0,e=0,f=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{f:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break c}}c=C[b+100>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=84608}if((zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2])|0)==-1){break c}Fi(a+4|0,b,a,a+6|0,C[c+100>>2]+I(C[c+76>>2],20)|0);a=c+76|0;break d}c=C[b+100>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=84608}d=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((d|0)==-1){break c}f=D[a+6|0]|D[a+7|0]<<8;if(d>>>0>=((f<<8|f>>>8)&65535)>>>0){break c}f=a+4|0;e=a;a=I(qT(D[a+4|0]|D[a+5|0]<<8),d);Fi(f,b,e,(a|0)<0?84608:(e+(a<<1)|0)+8|0,C[c+100>>2]+I(C[c+76>>2],20)|0);a=c+76|0}e=1;C[a>>2]=C[a>>2]+1}return e;case 1:g:{h:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break g;case 0:break h;default:break a}}return Ys(a,b)}return Xs(a,b);case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ws(a,b);case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Us(a,b);case 4:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ts(a,b);case 5:if((D[a|0]|D[a+1|0]<<8)!=256){break a}return Ss(a,b);case 6:return Qs(a,b);case 7:i:{j:{k:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}return Ps(b,a)}return Nn(a,b)}return Mn(a,b);case 8:break b;default:break a}}if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;e=Os(c,b,(a<<8|a>>>8)&65535)}else{e=0}}return e}function uG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=C[b+80>>2];if(g){h=C[b+92>>2];while(1){e=I(d,20)+h|0;c=C[e>>2];a=Hn(c);b=(c&-16)==65024?30:a&255;f=a>>>8|0;a=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if((c|0)<=8209){if((c|0)<=4099){if((c|0)==45|(c|0)==160){break c}if((c|0)!=215){break d}break c}switch(c-4100|0){case 70:case 71:break f;case 52:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 139:case 150:case 151:case 152:break g;case 95:case 96:case 101:case 102:case 103:case 104:case 105:break h;case 55:case 90:case 91:break i;case 57:case 126:break j;case 56:break k;case 92:break l;case 58:break m;case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:break n;case 54:break o;case 53:break p;case 46:case 50:break q;case 0:case 23:case 86:break r;case 74:break a;default:break d}}if((c|0)<=9722){a=c-8210|0;if(a>>>0>16|!(1<>>0>=4){break d}break c}a=16;break a}a=10;break a}a=4;break a}a=18;break a}a=32;break a}a=21;break a}a=33;break a}a=22;break a}a=23;break a}a=24;break a}a=25;break a}a=8;break a}a=31;break a}if((c|0)==9676){break c}}if((b|0)==7){break b}a=b;break a}a=11;break a}a=7;b=f-3|0;c=b&255;if(c>>>0>8|!(297>>>c&1)){break a}a=b<<24>>24<<2;f=C[a+73212>>2];a=C[a+73176>>2]}A[e+19|0]=f;A[e+18|0]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function Xn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=C[a+100>>2];c=C[d+76>>2];if(c>>>0>=F[d+80>>2]){break a}while(1){if(!D[d+72|0]){break a}c=C[d+92>>2]+I(c,20)|0;e=C[c>>2];b:{c:{if(!(C[b>>2]>>>(e>>>4)&1)|!(C[b+4>>2]>>>e&1)|(!(C[b+8>>2]>>>(e>>>9)&1)|!(C[a+120>>2]&C[c+4>>2]))){break c}g=C[a+132>>2];c=E[c+12>>1];if(g&c&14){break c}d:{if(!(c&8)){break d}if(g&16){c=C[a+108>>2];f=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<65538){break c}f=D[c+12|0]|D[c+13|0]<<8;if(f){c=c+((f<<8|f>>>8)&65535)|0}else{c=84608}if((D[c|0]|D[c+1|0]<<8)!=256){break c}f=c;g=g>>>16|0;h=(c+(g<<2)|0)+4|0;c=D[c+2|0]|D[c+3|0]<<8;c=g>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:h;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((zf(c?f+c|0:84608,e)|0)!=-1){break d}break c}e=g&65280;if(!e){break d}if((e|0)!=(c&65280)){break c}}c=0;g=C[b+16>>2];if(!g){break c}while(1){e=c>>>0>=g>>>0?84608:C[b+20>>2]+I(c,20)|0;f=C[a+100>>2];f=C[C[f+92>>2]+I(C[f+76>>2],20)>>2];if(!(!(C[e+8>>2]>>>(f>>>4)&1)|!(C[e+12>>2]>>>f&1)|!(C[e+16>>2]>>>(f>>>9)&1))){if(Fe[C[e+4>>2]](C[e>>2],a)|0){break b}g=C[b+16>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}if(D[d+73|0]){e:{if(C[d+96>>2]==C[d+92>>2]){c=C[d+84>>2];if((c|0)==C[d+76>>2]){break e}}if(!$e(d,1,1)){break b}e=C[d+92>>2]+I(C[d+76>>2],20)|0;g=C[e+4>>2];c=C[d+96>>2]+I(C[d+84>>2],20)|0;C[c>>2]=C[e>>2];C[c+4>>2]=g;C[c+16>>2]=C[e+16>>2];g=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=g;c=C[d+84>>2]}C[d+84>>2]=c+1}C[d+76>>2]=C[d+76>>2]+1}c=C[d+76>>2];if(c>>>0>2]){continue}break}}}function VC(a){a=a|0;var 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;a:{i=C[a+28>>2];if(!i){break a}d=C[a+24>>2];k=d&3;l=(d+3|0)/4|0;e=C[a>>2];d=C[a+20>>2];m=C[a+36>>2]&-4;n=C[a+16>>2]&-4;b:while(1){i=i-1|0;j=l;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=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}d=d+4|0;e=e+4|0;a=1;continue;case 1:a=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}d=d+4|0;e=e+4|0;a=2;continue;case 2:a=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}d=d+4|0;e=e+4|0;a=3;continue;default:break e}}a=C[e>>2];if(a>>>0>=16777216){c=a&65280;b=rT(a&16711935,16);a=a>>>24|0;if((a|0)==255){a=b|c|-16777216}else{g=b;b=C[d>>2];f=b&16711935;h=c;c=b&65280;a=(I(a,g-f|0)>>>8|0)+f&16711935|(I(a,h-c|0)>>>8|0)+c&65280|a+(I(a^255,b>>>24|0)>>>8|0)<<24}C[d>>2]=a}a=j-1|0;d=d+4|0;e=e+4|0;f:{if((j|0)>1){j=a;break f}d=d+m|0;e=e+n|0;if(i){continue b}break a}a=0;continue}}}}function lt(a,b,c){var d=0;d=84608;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 1:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 2:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 3:if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a;case 4:f:{g:{h:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+6|0]|D[a+7|0]<<8;if(!b){break b}break a;case 5:i:{j:{k:{b=D[a|0]|D[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break b}}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}break a}b=D[a+2|0]|D[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=D[b+2|0]|D[b+3|0]<<8?b+4|0:84608;b=D[b|0]|D[b+1|0]<<8;if(!b){break b}break a;case 6:if((D[a|0]|D[a+1|0]<<8)==256){c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+a|0:84608;a=D[a+2|0]|D[a+3|0]<<8;a=lt(c,b,(a<<8|a>>>8)&65535)}else{a=84608}return a;case 7:break c;default:break b}}if((D[a|0]|D[a+1|0]<<8)!=256){break b}b=D[a+2|0]|D[a+3|0]<<8;if(!b){break b}d=((b<<8|b>>>8)&65535)+a|0}return d}return((b<<8|b>>>8)&65535)+a|0}function Pt(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if((b|0)!=1196445523){h=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;h=F[a+16>>2]<10?84608:C[a+12>>2]}i=84608;b=84608;a=D[h+4|0]|D[h+5|0]<<8;if(a){b=h+((a<<8|a>>>8)&65535)|0}a=D[b|0]|D[b+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=c>>>0?84608:(I(c,6)+b|0)+2|0;a=D[a+4|0]|D[a+5|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+b|0}c:{d:{e:{f:{g:{h:{if(!d){j=D[i+2|0]|D[i+3|0]<<8;break h}h=65535;j=D[i+2|0]|D[i+3|0]<<8;if(!j){break g}b=((j<<8|j>>>8)&65535)-1|0;m=i+4|0;if(!f){while(1){l=C[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=I(h,6)+m|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break f}a=h+1|0;break i}c=h-1|0}if((a|0)<=(c|0)){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break h}}while(1){l=C[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=I(h,6)+m|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j:{if(g>>>0>l>>>0){c=h-1|0;break j}if((g|0)==(l|0)){break f}a=h+1|0}if((a|0)<=(c|0)){continue}break}C[f>>2]=65535;k=k+1|0;if((k|0)!=(d|0)){continue}break}}h=65535;if(!j){break g}e=i+4|0;c=((j<<8|(j&65280)>>>8)&65535)-1|0;a=0;while(1){b=a+c>>>1|0;d=e+I(b,6)|0;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k:{if(d>>>0>=1684434037){c=b-1|0;break k}if((d|0)==1684434036){break e}a=b+1|0}if((a|0)<=(c|0)){continue}break}}if(!f){break c}break d}if(f){break d}break c}h=b;if(!f){break c}}C[f>>2]=h}}function sl(a,b,c,d){var e=0,f=0,g=0,h=0;h=Ce-32|0;Ce=h;a:{if(!(C[a>>2]==422838?a:0)){C[h>>2]=16603;Qe(19745,h);e=-1;break a}if(C[a+8>>2]!=1){e=Qe(15290,0);break a}if(!b){C[h+16>>2]=0;C[h+20>>2]=0;C[h+24>>2]=C[a+12>>2];C[h+28>>2]=C[a+16>>2];b=h+16|0}f=C[a+44>>2];if(f){e=C[a+36>>2];b:{if(C[a+76>>2]!=C[e+448>>2]){break b}g=C[e+436>>2];if(!g){break b}f=Fe[C[e+52>>2]](e,g,C[e+536>>2],C[e+540>>2])|0;g=C[e+440>>2];if(g){C[g+24>>2]=C[e+444>>2];C[e+444>>2]=C[e+436>>2];C[e+436>>2]=0;C[e+440>>2]=0}C[e+540>>2]=0;C[e+532>>2]=0;C[e+524>>2]=0;C[e+528>>2]=0;C[e+448>>2]=C[e+448>>2]+1;e=-1;if((f|0)<0){break a}f=C[a+44>>2]}e=c;c:{d:{e:{f:{g:{h:{i:{a=C[f>>2];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 g;case 0:case 11:break h;default:break i}}if((a|0)==1448433993){break h}if((a|0)!=825382478){break g}}if(!b){break e}if(!(C[b>>2]|C[b+4>>2]|C[b+8>>2]!=C[f+8>>2])){c=0;g=0;if(C[b+12>>2]==C[f+12>>2]){break f}}e=Qe(7272,0);break c}if(!b){break e}c=C[b+4>>2];g=C[b>>2]<<1}a=E[f+20>>1];b=g+(C[f+28>>2]+I(c,a)|0)|0;break d}a=E[f+20>>1];b=C[f+28>>2]}C[e>>2]=b;C[d>>2]=a;e=0}break a}if(C[a+40>>2]){e=C[b+4>>2];C[a+56>>2]=C[b>>2];C[a+60>>2]=e;f=C[b+12>>2];e=a- -64|0;C[e>>2]=C[b+8>>2];C[e+4>>2]=f;g=C[b>>2];e=C[a+52>>2];f=C[a+48>>2]+I(e,C[b+4>>2])|0;a=C[a+4>>2];j:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break j}b=(a|0)==1431918169?2:1;break j}b=a&255}C[c>>2]=f+I(b,g);C[d>>2]=e;e=0;break a}f=C[a+36>>2];e=-1;if((Uq(a)|0)<0){break a}e=Fe[C[f+68>>2]](f,a,b,c,d)|0}Ce=h+32|0;return e}function JM(a,b){a=a|0;b=b|0;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;d=a+10|0;if(d>>>0>F[b+160>>2]){tf(b,8)}c=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);k=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(!(g>>>0<10|C[b+160>>2]-a>>>0>>0)&(g-10>>>0)/11>>>0>=k>>>0)){tf(b,8)}if(k){l=a+4|0;c=1;while(1){m=D[d+2|0]|(D[d+1|0]<<8|D[d|0]<<16);a=D[d+7|0]|D[d+8|0]<<8|(D[d+9|0]<<16|D[d+10|0]<<24);e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=D[d+3|0]|D[d+4|0]<<8|(D[d+5|0]<<16|D[d+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!(e>>>0>>0&a>>>0>>0)){tf(b,8)}if(c>>>0>m>>>0){tf(b,8)}a:{if(!a){break a}a=a+l|0;c=a-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b:{if(f>>>0>C[b+160>>2]-a>>>2>>>0){tf(b,8);break b}if(!f){break a}}c=0;h=0;while(1){i=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);j=i+D[a+3|0]|0;if(j>>>0>=1114112){tf(b,8)}if(h>>>0>i>>>0){tf(b,8)}a=a+4|0;h=j+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c:{if(!e){break c}a=e+l|0;c=a-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d:{if(c>>>0>C[b+160>>2]-a>>>2>>>0){tf(b,8);break d}if(!c){break c}}h=0;f=0;while(1){i=D[a+3|0];j=D[a+4|0];e=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);if(e>>>0>=1114112){tf(b,8)}if(e>>>0>>0){tf(b,8)}if(!(!C[b+164>>2]|F[b+172>>2]>(j|i<<8)>>>0)){tf(b,16)}a=a+5|0;h=e+1|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function HQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=Ce-16|0;Ce=h;d=C[a+656>>2];C[h+12>>2]=0;a:{if(!d){break a}f=C[d+2960>>2];if(!f){f=hf(C[a+100>>2],32,h+12|0);c=C[h+12>>2];if(c){break a}a=0;e=C[d+1324>>2];g=0;b:{if((e|0)==65535){break b}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=F[d+1312>>2]){break b}g=C[C[d+1316>>2]+(e<<2)>>2];break b}c=C[d+2956>>2];g=0;if(!c){break b}g=Fe[C[c+20>>2]](e)|0}C[f>>2]=g;c=C[d+1328>>2];c:{if((c|0)==65535){break c}if(c>>>0>=391){c=c-391|0;if(c>>>0>=F[d+1312>>2]){break c}a=C[C[d+1316>>2]+(c<<2)>>2];break c}e=C[d+2956>>2];if(!e){break c}a=Fe[C[e+20>>2]](c)|0}C[f+4>>2]=a;a=0;e=C[d+1336>>2];g=0;d:{if((e|0)==65535){break d}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=F[d+1312>>2]){break d}g=C[C[d+1316>>2]+(e<<2)>>2];break d}c=C[d+2956>>2];g=0;if(!c){break d}g=Fe[C[c+20>>2]](e)|0}C[f+8>>2]=g;c=C[d+1340>>2];e:{if((c|0)==65535){break e}if(c>>>0>=391){c=c-391|0;if(c>>>0>=F[d+1312>>2]){break e}a=C[C[d+1316>>2]+(c<<2)>>2];break e}e=C[d+2956>>2];if(!e){break e}a=Fe[C[e+20>>2]](c)|0}C[f+12>>2]=a;c=0;a=C[d+1344>>2];f:{if((a|0)==65535){break f}if(a>>>0>=391){a=a-391|0;if(a>>>0>=F[d+1312>>2]){break f}c=C[C[d+1316>>2]+(a<<2)>>2];break f}e=C[d+2956>>2];if(!e){break f}c=Fe[C[e+20>>2]](a)|0}C[f+16>>2]=c;C[f+20>>2]=C[d+1352>>2];A[f+24|0]=D[d+1348|0];B[f+26>>1]=C[d+1356>>2];B[f+28>>1]=C[d+1360>>2];C[d+2960>>2]=f;c=C[h+12>>2]}a=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=a;a=C[f+28>>2];C[b+24>>2]=C[f+24>>2];C[b+28>>2]=a;a=C[f+20>>2];C[b+16>>2]=C[f+16>>2];C[b+20>>2]=a;a=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=a}Ce=h+16|0;return c|0}function _g(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{g:{c=D[a+4|0]|D[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}d=D[c|0]|D[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}d=D[c+2|0]|D[c+3|0]<<8;d=b-((d<<8|d>>>8)&65535)|0;e=(c+(d<<1)|0)+6|0;c=D[c+4|0]|D[c+5|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:e;break e}g=84998;d=D[c+2|0]|D[c+3|0]<<8;h:{if(!d){break h}h=c+4|0;c=((d<<8|d>>>8)&65535)-1|0;d=0;while(1){e=c+d>>>1|0;f=h+I(e,6)|0;i=D[f|0]|D[f+1|0]<<8;i:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){d=D[f+2|0]|D[f+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=e+1|0;break i}g=h+I(e,6)|0;break h}c=e-1|0}if((c|0)>=(d|0)){continue}break}}c=g+4|0}c=D[c|0]|D[c+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}return 2}return 4}j=8;j:{k:{l:{c=D[a+10|0]|D[a+11|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}a=D[c|0]|D[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break k;case 0:break l;default:break a}}a=D[c+2|0]|D[c+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=D[c+4|0]|D[c+5|0]<<8;a=a>>>0>=((b<<8|b>>>8)&65535)>>>0?84608:(c+(a<<1)|0)+6|0;break j}a=84998;d=D[c+2|0]|D[c+3|0]<<8;m:{if(!d){break m}g=c+4|0;c=((d<<8|d>>>8)&65535)-1|0;d=0;while(1){e=c+d>>>1|0;f=g+I(e,6)|0;h=D[f|0]|D[f+1|0]<<8;n:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){d=D[f+2|0]|D[f+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=e+1|0;break n}a=g+I(e,6)|0;break m}c=e-1|0}if((c|0)>=(d|0)){continue}break}}a=a+4|0}a=D[a|0]|D[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function Yr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ce-32|0;Ce=i;a:{b:{g=D[b|0];switch(g-43|0){case 0:case 2:break b;default:break a}}b=b+1|0;f=g}g=-1;d=b;c:{if(!d){break c}d:{e:{h=D[d|0];switch(h-43|0){case 0:case 2:break e;default:break d}}h=D[d+1|0];d=d+1|0}if(!h){break c}g=0;if(!wf(d,1621)){break c}g=1;if(!wf(d,1049)){break c}g=2;if(!wf(d,1614)){break c}g=3;if(!wf(d,1042)){break c}g=4;if(!wf(d,10820)){break c}g=wf(d,10807)?-1:5}d=-1;f:{if(!D[b|0]){break f}while(1){d=e;if(!wf(b,C[(d<<2)+171904>>2])){break f}e=e+1|0;if((e|0)!=21){continue}break}d=-1}g:{h:{i:{if((g|0)!=-1){d=32767;j=2;if((g&-2)==4){break h}j:{switch(f-43|0){case 0:break h;case 2:break i;default:break j}}k=-32768;break h}if((d|0)!=-1){j=1;g=d;break h}C[i>>2]=b;Qe(8214,i);break g}d=-32768}b=0;k:{l:{e=D[c|0];switch(e-43|0){case 0:case 2:break l;default:break k}}c=c+1|0;b=e}f=af(c);e=D[c|0];m:{if((e|0)==97){l=D[(c+f|0)-1|0];if(D[c+1|0]-48>>>0<10){f=0;e=32767;h=Zf(c+1|0);n:{o:{switch(b-43|0){case 2:e=-32768;break n;case 0:break n;default:break o}}f=-32768}c=(l|0)==126;b=c?e:f;c=c?f:e;e=2;break m}e=D[c|0]}p:{if((e&255)==98){if(D[c+1|0]-48>>>0<10){break p}e=D[c|0]}if(!((e&255)!=104|D[c+1|0]-48>>>0>=10|(D[c+2|0]!=46|D[c+3|0]-48>>>0>=10))){h=Zf(c+1|0);b=Zf(c+3|0);e=3;break m}C[i+16>>2]=c;Qe(8565,i+16|0);break g}h=Zf(c+1|0);e=1}f=C[a+12>>2]+1|0;C[a+12>>2]=f;f=Rf(C[a+16>>2],f<<5);C[a+16>>2]=f;if(!f){C[a+12>>2]=0;_e(0);break g}a=(f+(C[a+12>>2]<<5)|0)-32|0;C[a+28>>2]=d;C[a+24>>2]=k;C[a+20>>2]=g;C[a+16>>2]=j;C[a+12>>2]=c;C[a+8>>2]=b;C[a+4>>2]=h;C[a>>2]=e}Ce=i+32|0}function fA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ce-32|0;Ce=i;a:{b:{f=C[a+412>>2];if(!f){k=b+8|0;g=C[b+8>>2];j=376840196;break b}k=b+8|0;g=C[b+8>>2];j=C[f+4>>2];if(!j|(j&-268435456)==268435456){break b}f=2;if((j|0)==844715353|(j|0)==1498831189){break a}f=(j|0)==1431918169?2:1;break a}l=1;f=j&255}m=I(f,g);g=I(m,C[b+12>>2]);c:{if(!g){f=0;break c}f=C[a+548>>2];g=Fe[C[94762]](g>>>0<=1?1:g)|0;if(g){C[94766]=C[94766]+1}if(!g){f=_e(0);break c}tl(a,i+28|0,i+24|0);n=C[f+132>>2];o=C[b>>2];d:{if(C[a+412>>2]){f=C[b+12>>2];h=C[b+4>>2];break d}f=C[b+12>>2];h=C[i+24>>2]-(f+C[b+4>>2]|0)|0}Fe[n|0](o,h,C[k>>2],f,6408,5121,g);e:{h=C[a+548>>2];if(!C[h+4>>2]){break e}f=Fe[C[h+100>>2]]()|0;if(!f){break e}while(1){b=25026;a=f-1280|0;if(a>>>0<=5){b=C[(a<<2)+184380>>2]}C[i+20>>2]=f;C[i+16>>2]=b;C[i+12>>2]=6998;C[i+8>>2]=1956;C[i+4>>2]=21666;C[i>>2]=33923;Qe(33817,i);f=Fe[C[h+100>>2]]()|0;if(f){continue}break}f=-1;break c}f:{if(C[a+412>>2]){break f}a=C[k>>2];k=C[b+12>>2];g:{if(!l){f=2;if((j|0)==844715353|(j|0)==1498831189){break g}f=(j|0)==1431918169?2:1;break g}f=j&255}h=I(f,a);h:{if(h>>>0<=127){l=i-(h+15&-16)|0;Ce=l;a=k;break h}l=Fe[C[94762]](h>>>0<=1?1:h)|0;if(l){C[94766]=C[94766]+1}a=C[b+12>>2]}if(a+1>>>0>=3){f=g+I(k-1|0,m)|0;n=0-m|0;k=(a|0)/2|0;a=g;while(1){gf(l,a,h);gf(a,f,h);gf(f,l,h);f=f+n|0;a=a+m|0;k=k-1|0;if(k){continue}break}}if(h>>>0<128){break f}if(l){Fe[C[94765]](l);C[94766]=C[94766]-1}}f=Zi(C[b+8>>2],C[b+12>>2],j,g,m,c,d,e);if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}}Ce=i+32|0;return f|0}function Bm(a,b,c,d,e,f){var 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;o=e>>8;if((d|0)==(f|0)){c=C[a+168>>2];c=((c|0)<(o|0)?c:o)-C[a+164>>2]|0;c=(c|0)<0?-1:c;b=b-C[a+172>>2]|0;if(!((c|0)==C[a+156>>2]&(b|0)==C[a+160>>2])){if(!C[a+196>>2]){Uh(a)}C[a+160>>2]=b;C[a+156>>2]=c;C[a+188>>2]=0;C[a+192>>2]=0}C[a+196>>2]=(c|0)>=C[a+180>>2]|b>>>0>=F[a+184>>2];return}s=e&255;g=c&255;i=c>>8;if((i|0)==(o|0)){b=f-d|0;C[a+192>>2]=b+C[a+192>>2];C[a+188>>2]=C[a+188>>2]+I(b,g+s|0);return}k=f-d|0;j=e-c|0;a:{if((j|0)>=0){t=256;q=1;c=256-g|0;break a}j=0-j|0;q=-1;c=g}e=I(c,k);c=(e|0)/(j|0)|0;l=e-I(c,j)|0;h=c+(l>>31)|0;k=h+C[a+192>>2]|0;C[a+192>>2]=k;m=C[a+188>>2]+I(h,g|t)|0;C[a+188>>2]=m;g=C[a+168>>2];c=i+q|0;g=((c|0)>(g|0)?g:c)-C[a+164>>2]|0;g=(g|0)<0?-1:g;e=b-C[a+172>>2]|0;if(!((g|0)==C[a+156>>2]&(e|0)==C[a+160>>2])){if(!C[a+196>>2]){Uh(a)}C[a+160>>2]=e;C[a+156>>2]=g;m=0;k=0}i=1;r=C[a+184>>2];i=r>>>0>e>>>0?C[a+180>>2]<=(g|0):i;C[a+196>>2]=i;d=d+h|0;if((c|0)!=(o|0)){n=(f+h|0)-d<<8;h=(n|0)/(j|0)|0;n=n-I(h,j)|0;p=n>>31;n=(p&j)+n|0;p=h+p|0;h=l-((l|0)>=0?j:0)|0;while(1){h=h+n|0;u=(h|0)>=0;l=u+p|0;k=l+k|0;C[a+192>>2]=k;m=(l<<8)+m|0;C[a+188>>2]=m;v=g;g=C[a+168>>2];c=c+q|0;g=((c|0)>(g|0)?g:c)-C[a+164>>2]|0;g=(g|0)<0?-1:g;w=e;e=b-C[a+172>>2]|0;if(!((v|0)==(g|0)&(w|0)==(e|0))){if(!i){Uh(a);r=C[a+184>>2]}C[a+160>>2]=e;C[a+156>>2]=g;C[a+188>>2]=0;C[a+192>>2]=0;m=0;k=0}i=1;h=h-(u?j:0)|0;d=d+l|0;i=e>>>0>>0?(g|0)>=C[a+180>>2]:i;C[a+196>>2]=i;if((c|0)!=(o|0)){continue}break}}b=f-d|0;C[a+192>>2]=b+k;C[a+188>>2]=I(b,(s|256)-t|0)+m}function ht(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{c=D[a|0]|D[a+1|0]<<8;f=c<<8|c>>>8;switch(f&65535){case 1:break c;case 0:break e;default:break d}}a=C[b+100>>2];e=C[a+92>>2];c=C[a+76>>2];d=C[(e+I(c,20)|0)+8>>2];f=c+1|0;f:{g:{h:{if(f>>>0>2]){if((d|0)==C[(e+I(f,20)|0)+8>>2]){break g}b=C[a+84>>2];if(b){break h}fg(a,c,c+2|0);C[a+76>>2]=C[a+76>>2]+1;break f}b=C[a+84>>2];if(!b){break g}}h=C[a+96>>2];i=C[(h+I(b,20)|0)-12>>2];if(i>>>0<=d>>>0){break g}e=C[(e+I(c,20)|0)+4>>2]&1;while(1){b=b-1|0;c=h+I(b,20)|0;if((i|0)!=C[c+8>>2]){break g}C[c+4>>2]=e|C[c+4>>2]&-2;C[c+8>>2]=d;if(b){continue}break}}C[a+76>>2]=f}return 1}e=C[b+100>>2];d=C[e+76>>2];if(!c){break a}c=C[e+92>>2]+I(d,20)|0;h=E[c+12>>1]>>>1&2;j=f&65535;k=D[c+14|0]>31;f=0;while(1){if(!k){c=C[b+100>>2];A[(C[c+92>>2]+I(C[c+76>>2],20)|0)+14|0]=f&15}c=(f<<1)+a|0;c=D[c+2|0]|D[c+3|0]<<8;i=(c<<8|c>>>8)&65535;e=C[b+100>>2];c=C[e+92>>2]+I(C[e+76>>2],20)|0;d=E[c+12>>1]&32|80;i:{j:{if(D[b+140|0]){d=_g(C[b+108>>2],i)|d;break j}if(!h){break i}d=d|h}B[c+12>>1]=d;e=C[b+100>>2]}if($e(e,0,1)){c=C[e+76>>2];k:{if(c>>>0>2]){d=C[e+84>>2];g=C[e+96>>2];c=C[e+92>>2]+I(c,20)|0;break k}g=C[e+96>>2];d=C[e+84>>2];c=d-1|0;c=g+I(c>>>0<=d>>>0?c:0,20)|0}d=I(d,20)+g|0;g=C[c+4>>2];C[d>>2]=C[c>>2];C[d+4>>2]=g;C[d+16>>2]=C[c+16>>2];g=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=g;C[d>>2]=i;C[e+84>>2]=C[e+84>>2]+1}f=f+1|0;if((j|0)!=(f|0)){continue}break}break b}a=D[a+2|0]|D[a+3|0]<<8;it(b,(a<<8|a>>>8)&65535);return 1}e=C[b+100>>2];d=C[e+76>>2]}C[e+76>>2]=d+1;return 1}function Ho(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if(F[b+4>>2]>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=C[b+12>>2]-2|0;C[b+12>>2]=g;d=1;if((g|0)<=0){break a}h=D[a|0]|D[a+1|0]<<8;b:{if(!h){break b}d=a+2|0;if(d>>>0>e>>>0){break a}f=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(f>>>0>>0){break a}g=g-d|0;C[b+12>>2]=g;d=0;if((g|0)<=0){break b}o=e>>>0<=1?1:e;while(1){g=((l<<2)+a|0)+2|0;if(g>>>0>2]){break a}e=C[b+8>>2];if(e>>>0>>0|e-g>>>0<4){break a}d=C[c>>2];e=C[b+12>>2]-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}e=A[g|0];if((e|0)<0){break a}h=D[g+3|0]|(D[g+1|0]<<16|(e&255)<<24|D[g+2|0]<<8);c:{if(!h){break c}e=0;n=C[b+4>>2];d=d+h|0;d:{e:{if(n>>>0>d>>>0){break e}h=C[b+8>>2];if(h>>>0>>0|h-d>>>0<6){break e}i=C[b+12>>2];j=i-6|0;C[b+12>>2]=j;if((j|0)<=0){break e}j=d+4|0;if(j>>>0>h>>>0|h-j>>>0<2){break e}i=i-8|0;C[b+12>>2]=i;if((i|0)<=0){break e}f=D[j|0]|D[j+1|0]<<8;k=(f<<8|f>>>8)&65535;m=k<<1;if(f){f=d+6|0;if(f>>>0>h>>>0|h-f>>>0>>0){break e}i=i-m|0;C[b+12>>2]=i;if((i|0)<=0){break e}}f=D[d+2|0]|D[d+3|0]<<8;f=f<<8|f>>>8;if((f&65535)>>>0>k>>>0){break e}k=(f&65535)+k|0;d=D[d|0]|D[d+1|0]<<8;f=(d<<8|d>>>8)&65535;if(f>>>0>=4294967295/(k>>>0)>>>0?k:0){break e}f=I(f,k);d=1;if(!f){break d}d=(j+m|0)+2|0;if(d>>>0>>0|d>>>0>h>>>0|f>>>0>h-d>>>0){break e}e=i-f|0;C[b+12>>2]=e;e=(e|0)>0}d=e}if(d){break c}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[g|0]=0;A[g+1|0]=0;A[g+2|0]=0;A[g+3|0]=0}d=1;l=l+1|0;if((o|0)!=(l|0)){continue}break}}return d}return 0}function wk(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;c=Ce-192|0;Ce=c;C[c+188>>2]=0;a:{if(!a){C[c>>2]=15233;e=Qe(19745,c);break a}e=fi(a,28799);if(e){e=af(28799)+e|0;g=D[e|0];i=((g|0)==33)+e|0;while(1){e=D[i|0];if(!(!e|(e|0)==44|((e|0)==58|d>>>0>126))){A[(c+48|0)+d|0]=e;d=d+1|0;i=i+1|0;continue}break}e=0;f=d;d=c+48|0;A[f+d|0]=0;f=0;b:{if(D[i|0]!=58){break b}f=0;if(D[i+1|0]!=61){break b}f=Zf(i+2|0)}d=bg(d,f);if(!((g|0)==33?!d:d)){break a}}c:{d=jh(a,44);if(d){i=1;d=d-a|0;e=d+1|0;f=Fe[C[94762]](e>>>0<=1?1:e)|0;if(f){C[94766]=C[94766]+1}if(f){break c}_e(0)}C[c+16>>2]=a;e=Qe(8298,c+16|0);break a}gf(f,a,d);A[d+f|0]=0;k=wf(f,4239);if(k){i=(wf(f,3212)|0)!=0}d=af(f);e=c+48|0;mf(e,0,16);l=d&-2;d:{if(!l){break d}d=e;while(1){h=D[f+j|0];g=h-48|0;e:{if((g&255)>>>0<10){break e}if((h-65&255)>>>0<=5){g=h-55|0;break e}g=(h-97&255)>>>0<6?h-87|0:0}m=g<<4;h=D[f+(j|1)|0];g=h-48|0;f:{if((g&255)>>>0<10){break f}if((h-65&255)>>>0<=5){g=h-55|0;break f}g=(h-97&255)>>>0<6?h-87|0:0}A[d|0]=g|m;j=j+2|0;if(l>>>0<=j>>>0){break d}d=d+1|0;if((d-e|0)<16){continue}break}}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}d=D[c+60|0]|D[c+61|0]<<8|(D[c+62|0]<<16|D[c+63|0]<<24);C[c+40>>2]=D[c+56|0]|D[c+57|0]<<8|(D[c+58|0]<<16|D[c+59|0]<<24);C[c+44>>2]=d;d=D[c+52|0]|D[c+53|0]<<8|(D[c+54|0]<<16|D[c+55|0]<<24);C[c+32>>2]=D[c+48|0]|D[c+49|0]<<8|(D[c+50|0]<<16|D[c+51|0]<<24);C[c+36>>2]=d;a=vk(c+32|0,a,c+188|0,b);if(!a){e=-1;break a}e=0;if(C[c+188>>2]){break a}if(!k){C[104874]=a;e=1;break a}e=1;if(i){break a}C[104875]=a}Ce=c+192|0;return e}function SH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=84608;d=84608;c=C[C[C[a+96>>2]+136>>2]>>2];c=c?c:84608;c=F[c+16>>2]<10?84608:C[c+12>>2];g=D[c+8|0]|D[c+9|0]<<8;if(g){d=c+((g<<8|g>>>8)&65535)|0}c=D[d|0]|D[d+1|0]<<8;a:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=D[c+2|0]|D[c+3|0]<<8;if(!c){break a}f=((c<<8|c>>>8)&65535)+d|0}j=C[a+128>>2];C[a+128>>2]=b;b=D[f+2|0]|D[f+3|0]<<8;b=b<<8|b>>>8;d=b&65535;c=C[a+132>>2];if(b&16){b=D[f+4|0]|D[f+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+f|0;b=D[b+6|0]|D[b+7|0]<<8;d=b<<24|b<<8&16711680|d}C[a+132>>2]=d;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+12>>2]=d;C[a+80>>2]=0;C[a+52>>2]=a;b=C[a+120>>2];C[a+20>>2]=b;h=D[a+142|0];A[a+17|0]=h;C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=d;C[a- -64>>2]=-1;A[a+61|0]=1;d=C[a+124>>2];g=(d|0)==1;A[a+16|0]=g;e=D[a+141|0];A[a+60|0]=g|(e|0)!=0;g=0;i=D[f+4|0]|D[f+5|0]<<8;if(i){b=D[f|0]|D[f+1|0]<<8;k=(b<<8|b>>>8)&65535;b=f+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;d=0;g=1;while(1){e=D[b|0]|D[b+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?84608:(b+(d<<1)|0)+2|0;e=D[e|0]|D[e+1|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+f|0}else{e=84608}if(!Rs(e,a,k)){d=d+1|0;g=h>>>0>d>>>0;if((d|0)!=(i|0)){continue}}break}e=D[a+141|0];h=D[a+142|0];d=C[a+124>>2];b=C[a+120>>2]}C[a+132>>2]=c;C[a+128>>2]=j;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+80>>2]=0;C[a+20>>2]=b;A[a+17|0]=h;C[a+12>>2]=c;C[a+72>>2]=0;C[a+76>>2]=0;C[a+64>>2]=-1;A[a+61|0]=1;C[a+56>>2]=c;b=(d|0)==1;A[a+16|0]=b;A[a+60|0]=b|(e|0)!=0;C[a+8>>2]=a;C[a+52>>2]=a;return g|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,j=0,k=0;f=84608;d=84608;c=C[C[C[a+96>>2]+140>>2]>>2];c=c?c:84608;c=F[c+16>>2]<10?84608:C[c+12>>2];g=D[c+8|0]|D[c+9|0]<<8;if(g){d=c+((g<<8|g>>>8)&65535)|0}c=D[d|0]|D[d+1|0]<<8;a:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=D[c+2|0]|D[c+3|0]<<8;if(!c){break a}f=((c<<8|c>>>8)&65535)+d|0}j=C[a+128>>2];C[a+128>>2]=b;b=D[f+2|0]|D[f+3|0]<<8;b=b<<8|b>>>8;d=b&65535;c=C[a+132>>2];if(b&16){b=D[f+4|0]|D[f+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+f|0;b=D[b+6|0]|D[b+7|0]<<8;d=b<<24|b<<8&16711680|d}C[a+132>>2]=d;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+12>>2]=d;C[a+80>>2]=0;C[a+52>>2]=a;b=C[a+120>>2];C[a+20>>2]=b;h=D[a+142|0];A[a+17|0]=h;C[a+72>>2]=0;C[a+76>>2]=0;C[a+56>>2]=d;C[a- -64>>2]=-1;A[a+61|0]=1;d=C[a+124>>2];g=(d|0)==1;A[a+16|0]=g;e=D[a+141|0];A[a+60|0]=g|(e|0)!=0;g=0;i=D[f+4|0]|D[f+5|0]<<8;if(i){b=D[f|0]|D[f+1|0]<<8;k=(b<<8|b>>>8)&65535;b=f+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;d=0;g=1;while(1){e=D[b|0]|D[b+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?84608:(b+(d<<1)|0)+2|0;e=D[e|0]|D[e+1|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+f|0}else{e=84608}if(!Os(e,a,k)){d=d+1|0;g=h>>>0>d>>>0;if((d|0)!=(i|0)){continue}}break}e=D[a+141|0];h=D[a+142|0];d=C[a+124>>2];b=C[a+120>>2]}C[a+132>>2]=c;C[a+128>>2]=j;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+80>>2]=0;C[a+20>>2]=b;A[a+17|0]=h;C[a+12>>2]=c;C[a+72>>2]=0;C[a+76>>2]=0;C[a+64>>2]=-1;A[a+61|0]=1;C[a+56>>2]=c;b=(d|0)==1;A[a+16|0]=b;A[a+60|0]=b|(e|0)!=0;C[a+8>>2]=a;C[a+52>>2]=a;return g|0}function cD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=C[a+28>>2];if(!g){break a}d=C[a+56>>2];e=C[a+48>>2];h=C[a+36>>2];i=C[a+16>>2];f=C[a+24>>2];j=f&7;k=(f+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];b:while(1){g=g-1|0;f=k;c:{d:{switch(j-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=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=1;continue;case 1:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=2;continue;case 2:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=3;continue;case 3:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=4;continue;case 4:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=5;continue;case 5:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=6;continue;case 6:b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=D[c|0];if((b|0)!=(d|0)){b=(b<<2)+e|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0]}b=f-1|0;a=a+3|0;c=c+1|0;f:{if((f|0)>1){f=b;break f}a=a+h|0;c=c+i|0;if(g){continue b}break a}b=0;continue}}}}function ZS(a,b,c,d,e,f,g,h,i,j,k,l,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;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=J(n);o=J(o);var p=J(0),q=0,r=0,s=0;q=a;a=k?l:j;j=ii(q,I(a,c?20:12),b+4|0);if(!j){return-1}C[b+8>>2]=a;b=k?m:0;a:{if(c){if((a|0)>0){break a}return 0}if((a|0)>0){h=b-1|0;b=0;while(1){l=b;b:{c:{switch(h|0){case 3:l=C[(b<<2)+k>>2];break b;case 1:l=E[(b<<1)+k>>1];break b;case 0:break c;default:break b}}l=D[b+k|0]}c=I(g,l)+f|0;i=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);l=I(e,l)+d|0;p=J(G[l>>2]*n);d:{if(J(K(p))>2]=c;p=J(G[l+4>>2]*o);e:{if(J(K(p))>2]=c;C[j>>2]=C[j>>2]<<1;C[j+4>>2]=C[j+4>>2]<<1;C[j+8>>2]=i;j=j+12|0;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return 0}l=0;r=b-1|0;while(1){b=l;f:{g:{switch(r|0){case 3:b=C[(l<<2)+k>>2];break f;case 1:b=E[(l<<1)+k>>1];break f;case 0:break g;default:break f}}b=D[k+l|0]}m=I(b,g)+f|0;s=D[m|0]|D[m+1|0]<<8|(D[m+2|0]<<16|D[m+3|0]<<24);m=I(b,i)+h|0;p=J(G[m>>2]*J(C[c+12>>2]));h:{if(J(K(p))>2]=q;p=J(G[m+4>>2]*J(C[c+16>>2]));i:{if(J(K(p))>2]=m;m=I(b,e)+d|0;p=J(G[m>>2]*n);j:{if(J(K(p))>2]=b;p=J(G[m+4>>2]*o);k:{if(J(K(p))>2]=b;C[j+8>>2]=C[j+8>>2]<<1;C[j+12>>2]=C[j+12>>2]<<1;C[j+16>>2]=s;j=j+20|0;l=l+1|0;if((a|0)!=(l|0)){continue}break}return 0}function _I(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,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=J(0),y=J(0);if((e|0)<=0){return 0}o=e&1;a:{if((e|0)==1){e=0;break a}p=e&-2;e=0;while(1){f=e<<2;if(C[f+d>>2]){C[(g<<2)+c>>2]=C[c+f>>2];g=g+1|0}f=(e|1)<<2;if(C[f+d>>2]){C[(g<<2)+c>>2]=C[c+f>>2];g=g+1|0}e=e+2|0;h=h+2|0;if((p|0)!=(h|0)){continue}break}}b:{if(!o){break b}h=d;d=e<<2;if(!C[h+d>>2]){break b}C[(g<<2)+c>>2]=C[c+d>>2];g=g+1|0}if(!g){return 0}j=C[b>>2];i=C[j+8>>2];q=(C[j+4>>2]-C[j>>2]|0)/(i|0)|0;v=C[j+12>>2];r=rg(a,g<<2);if((g|0)>0){h=q<<2;e=0;while(1){d=rg(a,h);C[(e<<2)+r>>2]=d;We(d,0,h);e=e+1|0;if((g|0)!=(e|0)){continue}break}}if((q|0)>0){y=J(100/+(i|0));o=i&-2;p=i&1;h=v-1|0;while(1){if((g|0)>0){s=C[j>>2]+I(i,n)|0;m=0;while(1){c:{if((i|0)<=0){e=0;k=0;break c}t=C[(m<<2)+c>>2];k=0;e=0;d=0;u=0;if((i|0)!=1){while(1){f=C[t+((d|1)+s<<2)>>2];l=f>>31;a=C[t+(d+s<<2)>>2];w=a>>31;l=(f^l)-l|0;f=(a^w)-w|0;a=(e|0)<(f|0)?f:e;e=(a|0)<(l|0)?l:a;k=l+(f+k|0)|0;d=d+2|0;u=u+2|0;if((o|0)!=(u|0)){continue}break}}if(!p){break c}a=C[t+(d+s<<2)>>2];d=a>>31;a=(a^d)-d|0;e=(a|0)>(e|0)?a:e;k=a+k|0}f=(v|0)<2;x=J(y*J(k|0));d:{if(J(K(x))>2]>=(e|0)){f=C[f+2584>>2];if((f|0)<0|(a|0)<(f|0)){break e}}d=d+1|0;if((h|0)!=(d|0)){continue}break}d=h}C[C[(m<<2)+r>>2]+(n<<2)>>2]=d;m=m+1|0;if((m|0)!=(g|0)){continue}break}}n=n+1|0;if((q|0)!=(n|0)){continue}break}}C[b+40>>2]=C[b+40>>2]+1;return r|0}function mt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}d=C[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}j=C[b+12>>2];f=j-2|0;C[b+12>>2]=f;e=1;if((f|0)<=0){return 0}f=D[a|0]|D[a+1|0]<<8;a:{if(!f){break a}b:{f=((f<<8|f>>>8)&65535)+c|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break b}c=j-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}h=D[f|0]|D[f+1|0]<<8;if(!h){break a}e=f+2|0;if(e>>>0>d>>>0){break b}g=d-e|0;d=(h<<8|h>>>8)&65535;e=d<<1;if(g>>>0>>0){break b}c=c-e|0;C[b+12>>2]=c;if((c|0)<=0){break b}l=d>>>0<=1?1:d;j=0;while(1){i=C[b+4>>2];h=(f+(j<<1)|0)+2|0;g=0;c:{if(i>>>0>h>>>0){break c}e=C[b+8>>2];g=0;if(e>>>0>>0){break c}g=0;if(e-h>>>0<2){break c}k=C[b+12>>2];c=k-2|0;C[b+12>>2]=c;d=1;g=0;if((c|0)<=0){break c}c=D[h|0]|D[h+1|0]<<8;d:{if(!c){break d}c=f+((c<<8|c>>>8)&65535)|0;e:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break e}d=k-4|0;C[b+12>>2]=d;if((d|0)<=0){break e}d=c+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break e}k=k-6|0;C[b+12>>2]=k;d=1;if((k|0)<=0){break e}i=D[c+2|0]|D[c+3|0]<<8;g=((i<<8|i>>>8)&65535)<<2;i=D[c|0]|D[c+1|0]<<8;i=g+(i?(((i<<8|i>>>8)&65535)<<1)-2|0:0)|0;if(!i){break d}c=c+4|0;if(c>>>0>e>>>0|i>>>0>e-c>>>0){break e}c=k-i|0;C[b+12>>2]=c;if((c|0)>0){break d}}d=C[b+28>>2];g=0;if(d>>>0>31){break c}C[b+28>>2]=d+1;d=0;if(!D[b+24|0]){break d}A[h|0]=0;A[h+1|0]=0;d=1}g=d}if(!g){break b}e=1;j=j+1|0;if((l|0)!=(j|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;e=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;e=1}return e}function bJ(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,s=0;h=1;g=df(1,44);i=C[C[a+4>>2]+28>>2];C[g>>2]=b;d=C[b+12>>2];C[g+4>>2]=d;a=C[i+2848>>2];C[g+12>>2]=a;a=a+I(C[b+20>>2],56)|0;C[g+16>>2]=a;j=C[a>>2];k=df(d,4);C[g+20>>2]=k;if((d|0)>0){while(1){a=m<<2;e=a+b|0;f=ug(C[e+24>>2]);a:{if(!f){break a}l=a+k|0;r=l,s=df(f,4),C[r>>2]=s;n=(f|0)>(n|0)?f:n;if((f|0)<=0){break a}o=C[e+24>>2];a=0;if((f|0)!=1){p=f&-2;e=0;while(1){q=o>>>a|0;if(q&1){C[C[l>>2]+(a<<2)>>2]=C[i+2848>>2]+I(C[((c<<2)+b|0)+280>>2],56);c=c+1|0}if(q&2){C[C[l>>2]+(a<<2|4)>>2]=C[i+2848>>2]+I(C[((c<<2)+b|0)+280>>2],56);c=c+1|0}a=a+2|0;e=e+2|0;if((p|0)!=(e|0)){continue}break}}if(!(f&1)|!(o>>>a&1)){break a}C[C[l>>2]+(a<<2)>>2]=C[i+2848>>2]+I(C[((c<<2)+b|0)+280>>2],56);c=c+1|0}m=m+1|0;if((m|0)!=(d|0)){continue}break}}C[g+24>>2]=1;if((j|0)>0){b=j&7;if(j>>>0>=8){c=j&-8;a=0;while(1){h=I(I(I(I(I(I(I(I(d,h),d),d),d),d),d),d),d);a=a+8|0;if((c|0)!=(a|0)){continue}break}}if(b){a=0;while(1){h=I(d,h);a=a+1|0;if((b|0)!=(a|0)){continue}break}}C[g+24>>2]=h}C[g+8>>2]=n;l=kf(h<<2);C[g+28>>2]=l;if((h|0)>0){n=j&-2;m=j&1;o=j<<2;f=0;while(1){i=kf(o);C[l+(f<<2)>>2]=i;b:{if((j|0)<=0){break b}a=0;c=h;e=f;b=0;if((j|0)!=1){while(1){k=a<<2;c=(c|0)/(d|0)|0;p=(e|0)/(c|0)|0;C[k+i>>2]=p;q=i+(k|4)|0;e=e-I(c,p)|0;c=(c|0)/(d|0)|0;k=(e|0)/(c|0)|0;C[q>>2]=k;e=e-I(c,k)|0;a=a+2|0;b=b+2|0;if((n|0)!=(b|0)){continue}break}}if(!m){break b}C[i+(a<<2)>>2]=(e|0)/((c|0)/(d|0)|0)}f=f+1|0;if((h|0)!=(f|0)){continue}break}}return g|0}function jA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce+-64|0;Ce=e;d=C[a+548>>2];if(d){i=ai();b=C[d>>2];a:{if((i|0)!=(b|0)){C[d+468>>2]=0;if((Bh(C[a+204>>2],b)|0)<0){break a}}b=C[a+548>>2];if(!C[b+4>>2]){break a}while(1){if(Fe[C[b+100>>2]]()|0){continue}break}}while(1){b=(c<<2)+d|0;f=C[b+236>>2];if(f){Fe[C[d+56>>2]](f)}f=C[b+240>>2];if(f){Fe[C[d+56>>2]](f)}b=C[b+244>>2];if(b){Fe[C[d+56>>2]](b)}c=c+3|0;if((c|0)!=18){continue}break}c=C[d+312>>2];if(c){while(1){Fe[C[d+52>>2]](C[c>>2]);b=C[c+144>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}c=b;if(b){continue}break}}if(C[d>>2]){f=C[d+228>>2];if(f){while(1){c=f+8|0;f=C[f+12>>2];Fe[C[d+196>>2]](1,c);g=C[a+548>>2];b:{if(!C[g+4>>2]){break b}c=34979;b=Fe[C[g+100>>2]]()|0;if(!b){break b}while(1){c=D[c|0]?c:21640;h=25026;i=b-1280|0;if(i>>>0<=5){h=C[(i<<2)+184380>>2]}C[e+52>>2]=b;C[e+48>>2]=h;C[e+44>>2]=9684;C[e+40>>2]=1390;C[e+36>>2]=21666;C[e+32>>2]=c;Qe(33817,e+32|0);b=Fe[C[g+100>>2]]()|0;if(b){continue}break}}c=C[d+228>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[d+228>>2]=f;if(f){continue}break}}Fe[C[d+212>>2]](8,d+324|0);f=C[a+548>>2];c:{if(!C[f+4>>2]){break c}b=Fe[C[f+100>>2]]()|0;if(!b){break c}c=34979;while(1){c=D[c|0]?c:21640;h=25026;g=b-1280|0;if(g>>>0<=5){h=C[(g<<2)+184380>>2]}C[e+20>>2]=b;C[e+16>>2]=h;C[e+12>>2]=9684;C[e+8>>2]=1397;C[e+4>>2]=21666;C[e>>2]=c;Qe(33817,e);b=Fe[C[f+100>>2]]()|0;if(b){continue}break}}Ym(C[d>>2])}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}Ce=e- -64|0}function ML(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=C[c>>2]<<2;C[d+232>>2]=f;e=C[c+4>>2]<<2;C[d+236>>2]=e;C[d+240>>2]=C[b>>2]<<2;b=C[b+4>>2]<<2;C[d+244>>2]=b;C[d+248>>2]=C[a>>2]<<2;a=C[a+4>>2];C[d+256>>2]=C[d+220>>2];c=C[d+224>>2];C[d+260>>2]=c;g=a<<2;C[d+252>>2]=g;o=d+232|0;a:{b:{a=(b|0)<(e|0)?b:e;a=(a|0)>(g|0)?g:a;if(C[d+176>>2]<=((a|0)>(c|0)?c:a)>>8){a=o;break b}p=o;a=o;b=(b|0)>(e|0)?b:e;b=(b|0)<(g|0)?g:b;if(C[d+172>>2]>((b|0)<(c|0)?c:b)>>8){break b}b=1;break a}b=0}while(1){c:{d:{e:{if(!b){Bp(d,f,e);if((a|0)==(o|0)){break e}p=a-24|0;f=C[p>>2];break c}while(1){a=p;j=C[a+28>>2];e=C[a+4>>2];g=j-e|0;b=g>>31;k=C[a+24>>2];h=k-f|0;c=h>>31;i=(b^g)-b|0;b=(c^h)-c|0;c=i>>>0>>0;l=(c?I(i,3)>>>3|0:i)+(c?b:I(b,3)>>>3|0)|0;f:{if(l>>>0>=32768){b=C[a+12>>2];c=C[a+8>>2];break f}c=C[a+8>>2];i=c-f|0;b=C[a+12>>2];q=b-e|0;n=I(g,i)-I(h,q)|0;m=n>>31;r=I(l,42);if(r>>>0<(m^n)-m>>>0){break f}m=C[a+16>>2]-f|0;l=C[a+20>>2]-e|0;s=I(m,g)-I(l,h)|0;n=s>>31;if((I(q-g|0,q)+I(i-h|0,i)|0)>0|(n^s)-n>>>0>r>>>0){break f}if((I(l,l-g|0)+I(m,m-h|0)|0)<=0){break d}}p=a+24|0;C[a+48>>2]=k;C[a+52>>2]=j;f=(c+f|0)/2|0;C[a+8>>2]=f;e=(b+e|0)/2|0;C[a+12>>2]=e;g=C[a+16>>2];h=(g+k|0)/2|0;C[a+40>>2]=h;i=j;j=C[a+20>>2];k=(i+j|0)/2|0;C[a+44>>2]=k;c=(c+g|0)/2|0;f=(c+f|0)/2|0;C[a+16>>2]=f;c=(c+h|0)/2|0;C[a+32>>2]=c;b=(b+j|0)/2|0;e=(b+e|0)/2|0;C[a+20>>2]=e;b=(b+k|0)/2|0;C[a+36>>2]=b;f=(c+f|0)/2|0;C[a+24>>2]=f;C[a+28>>2]=(b+e|0)/2;continue}}return 0}b=0;continue}b=1;continue}}function jp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=84608;e=C[a+4>>2];i=e?e:84608;e=D[i+6|0]|D[i+7|0]<<8|(D[i+8|0]<<16|D[i+9|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);a:{if((e|0)<=0){break a}h=i+10|0;e=e-1|0;while(1){b:{f=e+k>>>1|0;j=h+I(f,11)|0;j=D[j+1|0]<<8|D[j|0]<<16|D[j+2|0];c:{if(j>>>0>c>>>0){e=f-1|0;break c}if((c|0)==(j|0)){break b}k=f+1|0}if((e|0)>=(k|0)){continue}break a}break}g=h+I(f,11)|0}c=0;d:{e:{f:{k=84608;e=D[g+3|0]|D[g+4|0]<<8|(D[g+5|0]<<16|D[g+6|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=e?e+i|0:84608;f=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g:{if((f|0)>0){m=e+4|0;e=f-1|0;f=0;while(1){j=e+f>>>1|0;h=(j<<2)+m|0;l=D[h+1|0]<<8|D[h|0]<<16|D[h+2|0];h:{if(l>>>0>b>>>0){e=j-1|0;break h}f=2;if(D[h+3|0]+l>>>0>=b>>>0){break g}f=j+1|0}if((e|0)>=(f|0)){continue}break}}e=D[g+7|0]|D[g+8|0]<<8|(D[g+9|0]<<16|D[g+10|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=e?e+i|0:84608;g=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if((g|0)<=0){break i}i=e+4|0;e=g-1|0;f=0;while(1){j:{g=e+f>>>1|0;h=i+I(g,5)|0;h=D[h+1|0]<<8|D[h|0]<<16|D[h+2|0];k:{if(h>>>0>b>>>0){e=g-1|0;break k}if((b|0)==(h|0)){break j}f=g+1|0}if((e|0)>=(f|0)){continue}break i}break}k=i+I(g,5)|0}e=D[k+3|0]|D[k+4|0]<<8;f=0;if(!e){break g}C[d>>2]=(e<<8|e>>>8)&65535;f=1}switch(f|0){case 0:break d;case 1:break f;default:break e}}return 1}e=C[a+8>>2];if(!e){break d}c=Fe[e|0](C[a+12>>2],b,d)|0}return c}function fJ(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,j=0,k=0,l=0,m=0,n=0,o=0,p=J(0),q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=C[C[C[C[a+64>>2]+4>>2]+28>>2]+(C[a+28>>2]<<2)>>2]/2|0;a:{b:{if(c){t=C[b+1296>>2];u=C[t+832>>2];a=I(u,C[c>>2]);a=(a|0)>=255?255:a;a=(a|0)>0?a:0;q=1;v=C[b+1284>>2];if((v|0)<=1){break b}while(1){i=C[((q<<2)+b|0)+260>>2]<<2;k=C[i+c>>2];if(k>>>0<=32767){e=I(k,u);e=(e|0)>=255?255:e;k=(e|0)>0?e:0;h=k-a|0;e=C[(i+t|0)+836>>2];i=e-f|0;r=(h|0)/(i|0)|0;l=(e|0)>(n|0)?n:e;if((l|0)>(f|0)){m=(f<<2)+d|0;G[m>>2]=G[(a<<2)+316080>>2]*G[m>>2]}m=f+1|0;c:{if((l|0)<=(m|0)){break c}g=h;o=h>>31;h=o;j=(g^h)-h|0;h=I(i,r);g=h>>31;h=j+(g-(h^g)|0)|0;o=o|1;s=l+(f^-1)|0;w=s&1;g=0;if((l-2|0)!=(f|0)){s=s&-2;l=0;while(1){f=(m<<2)+d|0;j=a+r|0;a=h+g|0;g=(a|0)<(i|0);j=j+(g?0:o)|0;G[f>>2]=G[(j<<2)+316080>>2]*G[f>>2];x=r+j|0;g=(a-(g?0:i)|0)+h|0;j=(g|0)<(i|0);a=x+(j?0:o)|0;G[f+4>>2]=G[(a<<2)+316080>>2]*G[f+4>>2];g=g-(j?0:i)|0;m=m+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}if(!w){break c}f=(m<<2)+d|0;G[f>>2]=G[((a+r|0)+((h+g|0)>=(i|0)?o:0)<<2)+316080>>2]*G[f>>2]}f=e;a=k}q=q+1|0;if((v|0)!=(q|0)){continue}break}break b}We(d,0,n<<2);break a}f=1;if((e|0)>=(n|0)){break a}b=(e^-1)+n|0;p=G[(a<<2)+316080>>2];c=n-e&3;if(c){a=0;while(1){k=(e<<2)+d|0;G[k>>2]=p*G[k>>2];e=e+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}if(b>>>0<3){break a}while(1){a=(e<<2)+d|0;G[a>>2]=p*G[a>>2];G[a+4>>2]=p*G[a+4>>2];G[a+8>>2]=p*G[a+8>>2];G[a+12>>2]=p*G[a+12>>2];e=e+4|0;if((n|0)!=(e|0)){continue}break}}return f|0}function Vl(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}d=C[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=C[b+12>>2];e=f-2|0;C[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=D[a|0]|D[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;C[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=D[e|0]|D[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;C[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{if(e>>>0>2]){break g}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=C[b+12>>2];c=f-10|0;C[b+12>>2]=c;if((c|0)<=0){break g}c=e+6|0;if(c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;C[b+12>>2]=d;if((d|0)<=0){break g}d=D[c|0]|D[c+1|0]<<8;h:{if(!d){break h}if(dj(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=C[b+28>>2];if(d>>>0>31){break g}C[b+28>>2]=d+1;if(!D[b+24|0]){break g}A[c|0]=0;A[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=C[b+12>>2]-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=D[d|0]|D[d+1|0]<<8;i:{if(!f){break i}if(dj(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=C[b+28>>2];if(c>>>0>31){break g}C[b+28>>2]=c+1;c=0;if(!D[b+24|0]){break i}A[d|0]=0;A[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;C[b+12>>2]=c;if((c|0)>0){break a}}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;g=1}return g}function em(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ce-32|0;Ce=e;C[e+28>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;C[e+12>>2]=0;C[e+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(a-6|0){default:d=a-265|0;if(d>>>0>10){break f}d=1<>2];if(d){d=d-1|0;if(d>>>0>2]){break d}d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;C[e+24>>2]=f;C[e+28>>2]=d;break c}A[b+20|0]=1;d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;C[e+24>>2]=f;C[e+28>>2]=d;break c}h=b+24|0;d=C[h>>2];l:{if(d){d=d-1|0;if(d>>>0>=F[b+32>>2]){d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;l(0,f|0);l(1,d|0);g=+n();break l}g=H[C[b+36>>2]+(d<<3)>>3];break l}A[b+20|0]=1;d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;l(0,f|0);l(1,d|0);g=+n()}m:{if(K(g)<2147483648){d=~~g;break m}d=-2147483648}if((d|0)<0){A[b+20|0]=1;d=0}C[c+16>>2]=d;break c}Hk(b+20|0,b);break e}g=Gk(b);d=C[b+24>>2];if(d>>>0>2]){C[b+24>>2]=d+1;H[C[b+36>>2]+(d<<3)>>3]=g;break e}A[b+20|0]=1;d=C[21153];C[104428]=C[21152];C[104429]=d;H[52214]=g;break e}Sj(a,b)}if(!C[b+24>>2]){break b}break a}d=C[b+36>>2]+(d<<3)|0;f=C[d+4>>2];C[e+24>>2]=C[d>>2];C[e+28>>2]=f}C[h>>2]=0}if(D[b+20|0]|(D[b+40|0]|D[b+16|0])|C[b+28>>2]<0){break a}mu(c,a,b,e+8|0)}Ce=e+32|0}function Qj(a,b,c,d){var e=0,f=0,g=0;a=D[a|0]|D[a+1|0]<<8;f=a<<8|a>>>8;a=(((((f&1)<<1)+d|0)+(f&2)|0)+(a>>>9&2)|0)+(a>>>10&2)|0;a:{b:{if(!(f&16)){d=a;break b}if(a>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=D[a|0]|D[a+1|0]<<8;if(!e){break b}if(dj(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0}f=f&65535;c:{if(!(f&32)){a=d;break c}if(F[b+4>>2]>d>>>0){break a}a=C[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=C[b+12>>2]-2|0;C[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=D[d|0]|D[d+1|0]<<8;if(!e){break c}if(dj(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d:{if(!(f&64)){d=a;break d}if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=D[a|0]|D[a+1|0]<<8;if(!e){break d}if(dj(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0}g=1;if(!(f&128)){break a}if(F[b+4>>2]>d>>>0){return 0}a=C[b+8>>2];if(a>>>0>>0){return 0}if(a-d>>>0<2){return 0}a=C[b+12>>2]-2|0;C[b+12>>2]=a;if((a|0)<=0){return 0}a=D[d|0]|D[d+1|0]<<8;if(!a){break a}if(dj(((a<<8|a>>>8)&65535)+c|0,b)){break a}a=C[b+28>>2];if(a>>>0>31){return 0}C[b+28>>2]=a+1;g=0;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;g=1}return g}function zt(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,o=0,p=0;d=D[a+4|0]|D[a+5|0]<<8;if(d){c=D[a|0]|D[a+1|0]<<8;o=(c<<8|c>>>8)&65535;n=a+4|0;c=(d<<8|d>>>8)&65535;p=c>>>0<=1?1:c;while(1){c=D[n|0]|D[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=m>>>0?84608:((m<<1)+n|0)+2|0;c=D[c|0]|D[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}e=lt(c,b,o);g=C[b+4>>2];a:{b:{c:{c=D[e|0]|D[e+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=D[e+2|0]|D[e+3|0]<<8;if(!d){break a}c=e+4|0;h=(d<<8|d>>>8)&65535;i=h&1;e=C[g>>2];j=h-1|0;d:{if(!j){d=c;break d}k=h&65534;f=0;d=c;while(1){l=e;e=D[d|0]|D[d+1|0]<<8;l=l|1<<(e>>>12|e<<4);e=D[d+2|0]|D[d+3|0]<<8;e=l|1<<(e>>>12|e<<4);d=d+4|0;f=f+2|0;if((k|0)!=(f|0)){continue}break}}l=g;if(i){d=D[d|0]|D[d+1|0]<<8;e=1<<(d>>>12|d<<4)|e}C[l>>2]=e;i=h&3;e=C[g+4>>2];j=j>>>0<3;e:{if(j){d=c;break e}k=h&65532;f=0;d=c;while(1){e=1<>2]=e;d=C[g+8>>2];if(!j){k=h&65532;e=0;while(1){d=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|d|1<<((D[c+2|0]|D[c+3|0]<<8)>>>1)|1<<((D[c+4|0]|D[c+5|0]<<8)>>>1)|1<<((D[c+6|0]|D[c+7|0]<<8)>>>1);c=c+8|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=0;if(i){while(1){d=1<<((D[c|0]|D[c+1|0]<<8)>>>1)|d;c=c+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}C[g+8>>2]=d;break a}Dk(e,g)}m=m+1|0;if((p|0)!=(m|0)){continue}break}}}function sK(a,b){a=a|0;b=b|0;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,o=0;e=Ce-16|0;Ce=e;g=C[b+16>>2];j=C[a+488>>2];Fe[C[b+28>>2]](b);d=C[b>>2];a:{if(!(d>>>0>=F[b+8>>2]|D[d|0]!=91)){Fe[C[b+32>>2]](b);Fe[C[b+28>>2]](b);a=C[b>>2];if(a>>>0>2]&D[a|0]==93){break a}C[b+12>>2]=3;break a}k=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}h=b+316|0;Fe[C[b+28>>2]](b);b:{if(!C[b+312>>2]){c=Fe[C[C[j>>2]>>2]](h,k,g)|0;C[e+12>>2]=c;if(c){break b}}d=C[b>>2];c:{if(F[b+8>>2]<=d+4>>>0){break c}while(1){if(cf(d,11278,3)){break c}Fe[C[b+32>>2]](b);l=Fe[C[b+36>>2]](b)|0;f=C[C[a+128>>2]+48>>2];c=C[b+8>>2];Fe[C[b+28>>2]](b);d:{d=C[b>>2];e:{if(d>>>0>=c>>>0|D[d|0]-48>>>0>9){break e}d=Fe[C[b+36>>2]](b)|0;Fe[C[b+32>>2]](b);if((d|0)<0){break e}m=c;c=C[b>>2];i=c+1|0;if((d|0)<(m-i|0)){break d}}if(f){break a}C[b+12>>2]=3;break a}C[b>>2]=(c+d|0)+1;if(C[b+12>>2]){break a}Fe[C[b+32>>2]](b);if(C[b+12>>2]){break a}Fe[C[b+28>>2]](b);c=C[b>>2];f:{if(F[b+8>>2]<=c+4>>>0){break f}if(cf(c,3227,3)){break f}Fe[C[b+32>>2]](b);Fe[C[b+28>>2]](b)}if(!C[b+312>>2]){c=C[a+172>>2];g:{if((c|0)>=0){if(c>>>0>d>>>0){c=3;break b}f=hf(g,d,e+12|0);c=C[e+12>>2];if(c){break b}t(f,i,d);Fe[C[j+16>>2]](f,d,4330);c=C[a+172>>2];n=e,o=Fe[C[b+360>>2]](h,l,c+f|0,d-c|0)|0,C[n+12>>2]=o;if(f){Fe[C[g+8>>2]](g,f)}c=C[e+12>>2];break g}c=Fe[C[b+360>>2]](h,l,i,d)|0;C[e+12>>2]=c}if(c){break b}}d=C[b>>2];if(F[b+8>>2]>d+4>>>0){continue}break}}if(C[b+312>>2]){break a}C[b+312>>2]=k;break a}C[b+12>>2]=c}Ce=e+16|0}function EI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(a){if(!(D[a+208|0]&64)){Ko(a);c=b;e=a;b=C[a+212>>2];a:{if(!(b&4096)){break a}a=E[e+416>>1];d=D[c+25|0];if((d|0)==3){A[c+24|0]=8;B[c+22>>1]=0;A[c+25|0]=a?6:2;if(C[e+404>>2]){break a}Af(e,18375);s()}if(!(!a|!(b&33554432))){A[c+25|0]=d|4}if(D[c+24|0]<=7){A[c+24|0]=8}B[c+22>>1]=0}if(b&128){a=E[e+448>>1]|E[e+450>>1]<<16;d=E[e+444>>1]|E[e+446>>1]<<16;B[c+170>>1]=d;B[c+172>>1]=d>>>16;B[c+174>>1]=a;B[c+176>>1]=a>>>16;B[c+178>>1]=E[e+452>>1]}C[c+40>>2]=C[e+796>>2];d=D[c+24|0];if(!(!(b&67109888)|(d|0)!=16)){A[c+24|0]=8;d=8}if(b&16384){A[c+25|0]=D[c+25|0]|2}if(b&6291456){A[c+25|0]=D[c+25|0]&253}b:{c:{d:{e:{if(!(b&64)){break e}f:{switch(D[c+25|0]-2|0){case 0:case 4:break f;default:break e}}if(!C[e+604>>2]){break e}if((d|0)==8){break d}}if(!(b&512)){break b}if((d|0)==8){break c}break b}A[c+25|0]=3;d=8;if(!(b&512)){break b}}d=8;if(D[c+25|0]==3){break b}d=16;A[c+24|0]=16}if(!(!(b&4)|d>>>0>7)){A[c+24|0]=8;d=8}f=D[c+25|0];if((f|0)==3|!(f&2)){a=1}else{a=3}A[c+29|0]=a;if(b&262144){B[c+22>>1]=0;f=f&251;A[c+25|0]=f}if(f&4){a=a+1|0;A[c+29|0]=a}g:{if(!(b&32768)){break g}h:{switch(f|0){case 0:case 2:break h;default:break g}}a=a+1|0;A[c+29|0]=a;if(!(b&16777216)){break g}A[c+25|0]=f|4}i:{if(!(b&1048576)){b=a;break i}b=D[e+200|0];if(b){A[c+24|0]=b;d=b}b=D[e+201|0];if(!b){b=a;break i}A[c+29|0]=b}b=I(b,d);A[c+30|0]=b;a=C[c>>2];b=b&255;j:{if(b>>>0>=8){a=I(a,b>>>3|0);break j}a=I(a,b)+7>>>3|0}C[c+12>>2]=a;C[e+392>>2]=a;return}$j(a,13413)}}function jB(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];h=c>>>24|0;f=c>>>8&255;i=c>>>16&255;b=C[g>>2];if(x){f=(I(f,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0;h=(I(h,u)>>>0)/255|0}c=c&255;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){f=(I(f,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+i|0;d=(((I(d,k)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function WA(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];h=c&255;i=c>>>8&255;f=c>>>16&255;b=C[g>>2];if(x){i=(I(i,t)>>>0)/255|0;f=(I(f,s)>>>0)/255|0;h=(I(h,u)>>>0)/255|0}c=c>>>24|0;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){f=(I(f,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+i|0;d=(((I(d,k)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function CB(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];f=c&255;h=c>>>8&255;i=c>>>16&255;b=C[g>>2];if(x){h=(I(h,t)>>>0)/255|0;i=(I(i,u)>>>0)/255|0;f=(I(f,s)>>>0)/255|0}c=c>>>24|0;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;f=(I(f,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+h|0;d=(((I(d,k)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function CA(a){a=a|0;var 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,A=0,B=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+63|0];s=D[a+62|0];t=D[a+61|0];u=D[a+60|0];e=C[a+52>>2];v=e&48;w=e&2;x=e&1;y=(p|0)/2|0;m=(q|0)/2|0;z=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){l=C[a+24>>2];if(l){A=m>>>16|0;B=C[a>>2];g=e;n=y;while(1){c=C[(I(C[a+12>>2],A)+B|0)+(n>>>14&262140)>>2];f=c>>>24|0;h=c>>>8&255;i=c>>>16&255;b=C[g>>2];if(x){h=(I(h,u)>>>0)/255|0;i=(I(i,t)>>>0)/255|0;f=(I(f,s)>>>0)/255|0}c=c&255;j=w?(I(c,r)>>>0)/255|0:c;c=b>>>8|0;d=b>>>16|0;if(!(!v|j>>>0>254)){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;f=(I(f,j)>>>0)/255|0}l=l-1|0;o=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(z|0){case 0:k=255-j|0;o=j+(((I(k,o)&65535)>>>0)/255|0)|0;b=(((I(b,k)&65535)>>>0)/255|0)+f|0;c=(((I(c,k)&65535)>>>0)/255|0)+i|0;d=(((I(d,k)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+f|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,f)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=f;f=255-j|0;b=(I(k+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(f+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(f+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|o<<24;g=g+4|0;n=n+p|0;if(l){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;m=m+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function ut(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(F[b+4>>2]>a>>>0){return 0}e=C[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}e=C[b+12>>2]-2|0;C[b+12>>2]=e;h=1;if((e|0)<=0){return 0}e=D[a|0]|D[a+1|0]<<8;a:{if(!e){break a}c=((e<<8|e>>>8)&65535)+c|0;b:{c:{d=C[d>>2];if((d|0)==1936292453){if(c>>>0>2]){break c}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<10){break c}d=C[b+12>>2]-10|0;C[b+12>>2]=d;if((d|0)<=0){break c}i=D[c|0]|D[c+1|0]<<8;if(!i){break c}e=D[c+8|0]|D[c+9|0]<<8;f=D[c+6|0]|D[c+7|0]<<8;g=D[c+4|0]|D[c+5|0]<<8;if(!(f|(g|(D[c+2|0]|D[c+3|0]<<8)))){d=1;if(!e){break b}}c=(i<<8|i>>>8)&65535;if(c>>>0<((f<<8|(f&65280)>>>8)&65535)>>>0){break c}d=0;if(c>>>0>((e<<8|(e&65280)>>>8)&65535)>>>0){break b}d=(g<<8|(g&65280)>>>8)<<16>>16>255;break b}e=d&-65536;if((e|0)!=1668677632){d=1;if((e|0)!=1936916480){break b}d=0;if(c>>>0>2]){break b}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break b}c=C[b+12>>2]-4|0;C[b+12>>2]=c;d=(c|0)>0;break b}d=0;if(c>>>0>2]){break b}e=C[b+8>>2];if(e>>>0>>0|e-c>>>0<14){break b}g=C[b+12>>2];f=g-14|0;C[b+12>>2]=f;if((f|0)<=0){break b}f=c+12|0;if(f>>>0>e>>>0|e-f>>>0<2){break b}g=g-16|0;C[b+12>>2]=g;if((g|0)<=0){break b}f=D[f|0]|D[f+1|0]<<8;if(f){c=c+14|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=I((f<<8|f>>>8)&65535,3);if(e>>>0>>0){break b}c=g-c|0;C[b+12>>2]=c;if((c|0)<=0){break b}}d=1;break b}d=0}if(d){break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;h=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;h=1}return h}function YC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=C[a+28>>2];if(!f){break a}b=C[a+24>>2];h=b&3;i=(b+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-4;b:while(1){f=f-1|0;g=i;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=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=1;continue;case 1:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=2;continue;case 2:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=3;continue;default:break e}}a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{e=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=E[b>>1];a=(a<<16|a)&132184095;a=(I(d,e-a|0)>>>5|0)+a&132184095;a=a>>>16|a}B[b>>1]=a}a=g-1|0;b=b+2|0;c=c+4|0;f:{if((g|0)>1){g=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function Qm(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;k=Ce-16|0;Ce=k;f=6;a:{if(!a){break a}g=C[a+8>>2];if(g>>>0<=b>>>0){break a}l=C[a>>2];b:{c:{d:{e:{f:{h=C[a+24>>2];if(!h){f=bf(l,(C[a+4>>2]+I(D[a+12|0],b)|0)+3|0);if(f){break a}f=jg(C[a>>2],k+8|0,D[a+12|0]);if(f){break a}g:{j=D[a+12|0];if(j){h=0;if(j>>>0>=4){i=j&252;f=0;while(1){g=e;e=e+4|0;f=f+4|0;if((i|0)!=(f|0)){continue}break}f=k+8|0;i=D[f+(g|3)|0]|(D[f+(g|2)|0]|(D[f+g|0]<<16|D[f+(g|1)|0]<<8))<<8}g=j&3;if(g){while(1){i=D[(k+8|0)+e|0]|i<<8;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(i){break g}}i=0;f=0;break e}while(1){f=jg(C[a>>2],k+12|0,D[a+12|0]);h:{if(f){break h}m=D[a+12|0];if(!m){break h}j=0;h=0;e=0;if(m>>>0>=4){n=m&252;while(1){g=h;h=g+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=k+12|0;e=D[e+(g|3)|0]|(D[e+(g|2)|0]|(D[e+g|0]<<16|D[e+(g|1)|0]<<8))<<8}g=m&3;if(g){while(1){e=D[(k+12|0)+h|0]|e<<8;h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>2]){continue}break}break e}f=0;i=C[h+(b<<2)>>2];if(!i){break e}while(1){b=b+1|0;e=C[h+(b<<2)>>2];if(e){break f}if((b|0)!=(g|0)){continue}break}break e}f=0;b=C[l+4>>2];h=b+1|0;if(h>>>0>=e>>>0){break d}j=C[a+16>>2];break c}b=C[l+4>>2];e=0}j=C[a+16>>2];h=b+1|0;if(j>>>0<=h-e>>>0){break b}}e=h-j|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;C[d>>2]=b;d=C[a+28>>2];if(d){C[c>>2]=(d+i|0)-1;break a}f=bf(l,(C[a+16>>2]+i|0)-1|0);if(f){break a}f=eh(l,b,c);break a}C[c>>2]=0;C[d>>2]=0}Ce=k+16|0;return f}function np(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=C[(c<<3)+e>>2]>C[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=C[h+f>>2];h=C[e+h>>2];l=i-h|0;n=g?d:c;c=n<<3;j=C[c+f>>2];g=C[c+e>>2];m=j-g|0;b:{if(!((j|0)!=(i|0)&(g|0)!=(h|0))){d=a;if((b-a|0)+1&1){d=a<<3;c=C[d+e>>2];C[d+f>>2]=(c|0)>(g|0)?(c|0)<(h|0)?j:c+l|0:c+m|0;d=a+1|0}if((a|0)==(b|0)){break b}while(1){i=d<<3;c=C[i+e>>2];C[f+i>>2]=(c|0)>(g|0)?(c|0)<(h|0)?j:c+l|0:c+m|0;i=d+1|0;o=i<<3;c=C[o+e>>2];C[f+o>>2]=(c|0)>(g|0)?(c|0)<(h|0)?j:c+l|0:c+m|0;d=d+2|0;if((b|0)!=(i|0)){continue}break}break b}o=Ze(i-j|0,h-g|0);c=a;while(1){d=c;p=c<<3;c=C[p+e>>2];c:{if((c|0)<=(g|0)){i=c+m|0;break c}i=c+l|0;if((c|0)>=(h|0)){break c}i=Te(c-g|0,o)+j|0}C[f+p>>2]=i;c=d+1|0;if((b|0)!=(d|0)){continue}break}}j=f+4|0;e=e+4|0;d=C[e+(n<<3)>>2]>C[e+(k<<3)>>2];f=(d?n:k)<<3;c=C[j+f>>2];g=C[e+f>>2];l=c-g|0;d=(d?k:n)<<3;h=C[d+j>>2];f=C[d+e>>2];m=h-f|0;if(!((c|0)!=(h|0)&(f|0)!=(g|0))){d=a;if((b-a|0)+1&1){d=a<<3;c=C[d+e>>2];C[d+j>>2]=(c|0)>(f|0)?(c|0)<(g|0)?h:c+l|0:c+m|0;d=a+1|0}if((a|0)==(b|0)){break a}while(1){c=d<<3;a=C[c+e>>2];C[c+j>>2]=(a|0)>(f|0)?(a|0)<(g|0)?h:a+l|0:a+m|0;c=d+1|0;k=c<<3;a=C[k+e>>2];C[j+k>>2]=(a|0)>(f|0)?(a|0)<(g|0)?h:a+l|0:a+m|0;d=d+2|0;if((b|0)!=(c|0)){continue}break}break a}k=Ze(c-h|0,g-f|0);while(1){c=a;n=c<<3;a=C[n+e>>2];d:{if((a|0)<=(f|0)){d=a+m|0;break d}d=a+l|0;if((a|0)>=(g|0)){break d}d=Te(a-f|0,k)+h|0}C[j+n>>2]=d;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function Ei(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{if(C[a+20>>2]){break a}b:{b=C[a+24>>2];if(b){break b}c=C[a+32>>2]+1|0;d=a+28|0;b=C[d>>2];c:{if((b|0)<0){break c}e=1;if(b>>>0>=c>>>0){break c}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}c=-1;e=0;d:{if(b>>>0>1073741822){break d}g=lf(C[d+8>>2],b<<2);if(!g){break d}C[d+8>>2]=g;e=1;c=b}C[d>>2]=c}e:{if(!e){break e}b=df(1,576);C[f+12>>2]=b;if(!b){break e}f:{g:{h:{b=d;c=C[b>>2];if((c|0)>=0){e=C[b+4>>2];d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break g}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=1073741822){e=lf(C[b+8>>2],c<<2);if(e){break h}}C[b>>2]=-1}C[104428]=C[21152];break f}C[b>>2]=c;C[b+8>>2]=e;e=C[b+4>>2]}if(d>>>0>e>>>0){We(C[b+8>>2]+(e<<2)|0,0,d-e<<2)}C[b+4>>2]=d;b=C[b+8>>2];C[104428]=C[21152];b=(b+(d<<2)|0)-4|0;if((b|0)!=417712){C[b>>2]=C[f+12>>2]}}b=C[f+12>>2];C[b+540>>2]=0;C[b+504>>2]=b+540;C[b+468>>2]=b+504;C[b+432>>2]=b+468;C[b+396>>2]=b+432;C[b+360>>2]=b+396;C[b+324>>2]=b+360;C[b+288>>2]=b+324;C[b+252>>2]=b+288;C[b+216>>2]=b+252;C[b+180>>2]=b+216;C[b+144>>2]=b+180;C[b+108>>2]=b+144;C[b+72>>2]=b+108;C[b+36>>2]=b+72;C[b>>2]=b+36;C[a+24>>2]=b;break b}if(C[a+20>>2]){break a}C[a+20>>2]=1;break a}C[a+24>>2]=C[b>>2];C[b+32>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b>>2]=C[a+4>>2];C[b+4>>2]=C[a+8>>2];C[b+32>>2]=C[a+40>>2];C[a+40>>2]=b}Ce=f+16|0;return C[a+4>>2]}function Rl(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-32|0;Ce=g;a:{if(D[b+16|0]&16){break a}i=C[b+80>>2];if(!i){break a}j=C[b+92>>2];while(1){if((D[(j+I(h,20)|0)+15|0]&15)!=(c|0)){h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}C[g+28>>2]=0;h=a;i=C[a+76>>2];a=C[a+72>>2];if(!(Fe[C[a+156>>2]](h,i,9676,g+28|0,C[a+20>>2])|0)){break a}j=C[g+28>>2];C[b+84>>2]=0;C[b+76>>2]=0;A[b+73|0]=1;A[b+74|0]=0;C[b+96>>2]=C[b+92>>2];C[b+76>>2]=0;k=C[b+80>>2];b:{if(!k){break b}l=(f|0)!=-1?f:0;h=0;if((e|0)==-1){a=0;while(1){if(!D[b+72|0]){break b}f=C[b+92>>2]+I(h,20)|0;e=D[f+15|0];c:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Sl(b);break c}C[g+8>>2]=j;B[g+18>>1]=0;B[g+20>>1]=0;B[g+22>>1]=0;B[g+24>>1]=0;C[g+12>>2]=0;C[g+16>>2]=0;A[g+27|0]=l;A[g+26|0]=d;C[g+16>>2]=C[f+8>>2];C[g+12>>2]=C[f+4>>2];A[g+23|0]=D[f+15|0];Fs(b,g+8|0);a=e}h=C[b+76>>2];if(h>>>0>2]){continue}break}break b}a=0;while(1){if(!D[b+72|0]){break b}i=C[b+92>>2]+I(h,20)|0;f=D[i+15|0];d:{if(!((f|0)==(a|0)|(f&15)!=(c|0))){C[g+8>>2]=j;B[g+18>>1]=0;B[g+20>>1]=0;B[g+22>>1]=0;B[g+24>>1]=0;C[g+12>>2]=0;C[g+16>>2]=0;A[g+27|0]=l;A[g+26|0]=d;C[g+16>>2]=C[i+8>>2];C[g+12>>2]=C[i+4>>2];A[g+23|0]=D[i+15|0];e:{if(h>>>0>=k>>>0){break e}while(1){if(!D[b+72|0]){break e}a=C[b+92>>2]+I(h,20)|0;if((f|0)!=D[a+15|0]|D[a+18|0]!=(e|0)){break e}Sl(b);h=C[b+76>>2];if(h>>>0>2]){continue}break}}Fs(b,g+8|0);a=f;break d}Sl(b)}h=C[b+76>>2];k=C[b+80>>2];if(h>>>0>>0){continue}break}}gh(b)}Ce=g+32|0}function sq(a){var b=0,c=0;b=C[105780];if(!b){Qe(19865,0);return}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return}C[a+124>>2]=1;if((C[a+48>>2]&2052)==4){C[a+120>>2]=1;ci(a,0);b=C[105780];c=C[b+88>>2];if(c){Fe[c|0](b,a)}C[a+120>>2]=0;dg(a,2,0,0)}if(C[104886]==(a|0)){Mr(0)}if(C[105671]==(a|0)){Cl(0)}if(!(!(D[a+48|0]&2)|C[C[105780]+780>>2]!=(a|0))){Bh(a,0)}b=C[a+112>>2];if(b){C[b>>2]=C[b>>2]&-5;Nf(b);C[a+112>>2]=0;C[a+116>>2]=0}b=C[105780];a:{if(!C[b+352>>2]){break a}c=C[b+164>>2];if(!c){break a}Fe[c|0](b,a);b=C[105780]}c=C[b+152>>2];if(c){Fe[c|0](b,a)}b:{if(!(D[a+48|0]&2)){break b}b=C[105780];if(!b){Qe(19865,0);break b}c=C[b+516>>2];if((c|0)<=0){break b}C[b+516>>2]=c-1;if((c|0)!=1){break b}c=C[b+200>>2];if(!c){break b}Fe[c|0](b)}c:{if(!(D[a+51|0]&16)){break c}b=C[105780];if(!b){Qe(19865,0);break c}c=C[b+808>>2];if((c|0)<=0){break c}C[b+808>>2]=c-1;if((c|0)!=1){break c}c=C[b+240>>2];if(!c){break c}Fe[c|0](b)}b=0;c=Ch(a);if((c|0)>=0){b=C[C[105780]+376>>2]+I(c,72)|0}if(C[b+60>>2]==(a|0)){C[b+60>>2]=0}C[a>>2]=0;b=C[a+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}Nf(C[a+12>>2]);b=C[a+104>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}while(1){b=C[a+160>>2];if(b){C[a+160>>2]=C[b+8>>2];c=C[b>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}continue}break}b=C[a+172>>2];if(b){C[b+168>>2]=C[a+168>>2]}c=C[a+168>>2];C[(c?c+172|0:C[105780]+380|0)>>2]=b;if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function XC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=C[a+28>>2];if(!f){break a}b=C[a+24>>2];h=b&3;i=(b+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-4;b:while(1){f=f-1|0;g=i;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=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=1;continue;case 1:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=2;continue;case 2:a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}b=b+2|0;c=c+4|0;a=3;continue;default:break e}}a=C[c>>2];if(a>>>0>=134217728){d=a>>>27|0;if((d|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{e=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=E[b>>1];a=(a<<16|a)&65043487;a=(I(d,e-a|0)>>>5|0)+a&65043487;a=a>>>16|a}B[b>>1]=a}a=g-1|0;b=b+2|0;c=c+4|0;f:{if((g|0)>1){g=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function Ry(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=I(b,1468)+a|0;e=C[c+56>>2];if((e|0)<=0){break a}g=C[a+24>>2];if((g|0)<=0){break a}a=C[a+28>>2];m=a+I(g,40)|0;i=b?8:4;n=i|16;f=C[c- -64>>2];h=(f+I(e,48)|0)-48|0;j=(b|0)==1;o=j?14:12;p=(e|0)==2;q=(e|0)==3;r=(e|0)==5;s=(e|0)==6;t=(e|0)==7;u=b?20:16;while(1){if(!(E[a>>1]&n)){b=C[(j?8:4)+a>>2];v=a+u|0;d=B[a+o>>1];c=(b+C[f+8>>2]|0)-C[f+4>>2]|0;b:{if((d|0)<=B[f>>1]){break b}c=(b+C[h+8>>2]|0)-C[h+4>>2]|0;if(B[h>>1]<=(d|0)){break b}b=0;c:{c=e;d:{if(c>>>0<=8){c=B[f>>1];b=(c|0)<(d|0)?e:0;e:{if((e|0)==1|(c|0)>=(d|0)){break e}c=B[f+48>>1];b=(c|0)>=(d|0)?1:e;if(p|(c|0)>=(d|0)){break e}c=B[f+96>>1];b=(c|0)>=(d|0)?2:e;if(q|(c|0)>=(d|0)){break e}c=B[f+144>>1];b=(c|0)>=(d|0)?3:e;if((e|0)==4|(c|0)>=(d|0)){break e}c=B[f+192>>1];b=(c|0)>=(d|0)?4:e;if(r|(c|0)>=(d|0)){break e}c=B[f+240>>1];b=(c|0)>=(d|0)?5:e;if(s|(c|0)>=(d|0)){break e}c=B[f+288>>1];b=(c|0)>=(d|0)?6:e;if(t|(c|0)>=(d|0)){break e}b=B[f+336>>1]>=(d|0)?7:e}c=I(b,48)+f|0;if(E[c>>1]!=(d&65535)){break d}c=C[c+8>>2];break b}while(1){g=b+c>>1;k=I(g,48)+f|0;l=B[k>>1];f:{if((l|0)>(d|0)){c=g;break f}if((d|0)<=(l|0)){break c}b=g+1|0}if((b|0)<(c|0)){continue}break}}g=I(b,48)+f|0;b=g-48|0;c=C[b+16>>2];if(!c){c=Ze(C[g+8>>2]-C[b+8>>2]|0,B[g>>1]-B[b>>1]|0);C[b+16>>2]=c}c=C[b+8>>2]+Te(d-B[b>>1]|0,c)|0;break b}c=C[k+8>>2]}C[v>>2]=c;B[a>>1]=E[a>>1]|i}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function KN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ce-17408|0;Ce=e;d=96;a:{if(!a){break a}a=C[b+4>>2];d=20;if(!a){break a}f=B[a+2>>1];d=0;if(!f){break a}c=B[a>>1];d=0;if((c|0)<=0){break a}g=C[a+12>>2];d=20;if(!g){break a}d=20;if(!C[a+4>>2]){break a}d=20;if((f|0)!=(B[((c<<1)+g|0)-2>>1]+1|0)){break a}d=19;if(D[b+8|0]&3){break a}b=C[b>>2];d=20;if(!b){break a}d=0;if(!C[b+4>>2]){break a}d=0;if(!C[b>>2]){break a}d=20;if(!C[b+12>>2]){break a}C[e+16528>>2]=C[a+16>>2];f=C[a+12>>2];c=e+16520|0;C[c>>2]=C[a+8>>2];C[c+4>>2]=f;c=C[a+4>>2];C[e+16512>>2]=C[a>>2];C[e+16516>>2]=c;c=C[b+12>>2];a=e+16496|0;C[a>>2]=C[b+8>>2];C[a+4>>2]=c;c=C[b+20>>2];a=e+16504|0;C[a>>2]=C[b+16>>2];C[a+4>>2]=c;a=C[b+4>>2];C[e+16488>>2]=C[b>>2];C[e+16492>>2]=a;a=e+16384|0;C[e+16416>>2]=a;C[e+16412>>2]=e;b=C[a+144>>2];c=b&256;C[a+20>>2]=c?30:2;C[a+16>>2]=c?256:32;c=c?12:6;C[a>>2]=c;f=c-6|0;C[a+24>>2]=f;C[a+12>>2]=f;c=1<>2]=c;C[a+8>>2]=c>>>1;b:{if(b&8){A[a+176|0]=2;break b}c=b>>>2&4;A[a+176|0]=c;if(b&32){break b}A[a+176|0]=c|1}C[a+1020>>2]=0;C[a+172>>2]=984;C[a+168>>2]=985;C[a+164>>2]=986;C[a+160>>2]=987;B[a+956>>1]=0;A[a+177|0]=!(b&512);B[a+958>>1]=E[a+104>>1]-1;B[a+56>>1]=C[a+108>>2];C[a+60>>2]=C[a+116>>2];b=Vw(a,0);c:{if(b){break c}if(!(!D[a+177|0]|D[a+176|0]==2)){C[a+1020>>2]=0;C[a+172>>2]=988;C[a+168>>2]=989;C[a+164>>2]=990;C[a+160>>2]=991;B[a+956>>1]=0;B[a+958>>1]=E[a+108>>1]-1;b=Vw(a,1);if(b){break c}}b=0}d=b}c=d;Ce=e+17408|0;return c|0}function Wr(a,b,c){var d=J(0),e=J(0),f=0,g=J(0),h=0,i=J(0),j=0,k=J(0),l=J(0),m=J(0),n=0,o=0,p=0,q=0,r=0,s=J(0),t=0,u=0,v=0,w=J(0);n=Ce-16|0;Ce=n;h=C[a+4>>2];a:{b:{d=G[a>>2];c:{if(d<=J(0)){if((h|0)<2){break c}f=1;while(1){e=d;h=(f<<3)+a|0;d=J(G[h+8>>2]-G[h>>2]);i=J(d*d);d=J(G[h+12>>2]-G[h+4>>2]);d=J(e+J(R(+J(i+J(d*d)))));f=f+1|0;h=C[a+4>>2];if((f|0)<(h|0)){continue}break}}f=0;if((h|0)<2){break c}h=1;i=J(d/J(63));e=i;while(1){j=(h<<3)+a|0;d=J(G[j>>2]-G[j+8>>2]);k=J(d*d);d=J(G[j+4>>2]-G[j+12>>2]);k=J(R(+J(k+J(d*d))));d=J(e+k);d:{if(!(d>i)){e=d;break d}d=e;while(1){p=(f<<3)+b|0;e=J(J(i-d)/k);g=G[j>>2];g=J(J(e*J(G[j+8>>2]-g))+g);G[p>>2]=g;s=e;e=G[j+4>>2];e=J(J(s*J(G[j+12>>2]-e))+e);G[p+4>>2]=e;m=J(m+g);l=J(l+e);f=f+1|0;d=J(d-i);e=J(d+k);if(i>2];if((h|0)<(j|0)){continue}break}if((f|0)>62){break b}}if(!c){break a}C[n>>2]=f;Qe(14643,n);break a}a=(j<<3)+a|0;c=C[a+4>>2];C[b+504>>2]=C[a>>2];C[b+508>>2]=c;e=J(l*J(.015625));i=J(m*J(.015625));o=+J(Ez(+J(e-G[b+4>>2]),+J(i-G[b>>2])));t=+e;u=+i;f=0;d=i;k=d;l=e;m=e;while(1){a=(f<<3)+b|0;g=G[a+4>>2];q=+J(G[a>>2]-i);r=+J(g-e);v=a,w=J(q*mh(o)-pi(o)*r+u),G[v>>2]=w;g=J(q*pi(o)+mh(o)*r+t);G[a+4>>2]=g;l=g>l?g:l;m=g>2];k=g>k?g:k;d=d>g?g:d;f=f+1|0;if((f|0)!=64){continue}break}l=J(l-m);d=J(k-d);f=0;while(1){a=(f<<3)+b|0;G[a>>2]=J(J(G[a>>2]-i)*J(256))/d;G[a+4>>2]=J(J(G[a+4>>2]-e)*J(256))/l;f=f+1|0;if((f|0)!=64){continue}break}}Ce=n+16|0}function WC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=C[a+28>>2];if(!h){break a}c=C[a+24>>2];j=c&3;k=(c+3|0)/4|0;f=C[a>>2];c=C[a+20>>2];l=C[a+36>>2]&-4;m=C[a+16>>2]&-4;b:while(1){h=h-1|0;i=k;c:{d:{switch(j-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=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}c=c+4|0;f=f+4|0;a=1;continue;case 1:a=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}c=c+4|0;f=f+4|0;a=2;continue;case 2:a=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}c=c+4|0;f=f+4|0;a=3;continue;default:break e}}a=C[f>>2];if(a>>>0>=16777216){b=a>>>24|0;if((b|0)!=255){e=C[c>>2];d=e&16711935;d=(I(b,(a&16711935)-d|0)>>>8|0)+d&16711935;g=a&65280;a=e&65280;a=d|(I(b,g-a|0)>>>8|0)+a&65280|b+(I(b^255,e>>>24|0)>>>8|0)<<24}C[c>>2]=a}a=i-1|0;c=c+4|0;f=f+4|0;f:{if((i|0)>1){i=a;break f}c=c+l|0;f=f+m|0;if(h){continue b}break a}a=0;continue}}}}function fC(a){a=a|0;var 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,A=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;u=(e&48)!=0&(l|0)!=255;v=e&1;w=(p|0)/2|0;n=(q|0)/2|0;f=l^255;x=l+f|0;y=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];g=e;o=w;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(o>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;c=C[g>>2];if(v){i=(I(i,s)>>>0)/255|0;j=(I(j,t)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}if(u){i=(I(i,l)>>>0)/255|0;j=(I(j,l)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}m=m-1|0;k=c>>>24|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(y|0){case 0:k=((I(f,k)>>>0)/255|0)+l|0;b=((I(b,f)>>>0)/255|0)+h|0;d=((I(d,f)>>>0)/255|0)+i|0;c=((I(c,f)>>>0)/255|0)+j|0;break a;case 1:b=b+h|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;break a;case 7:break b;default:break a}}k=(I(k,x)>>>0)/255|0;k=k>>>0>=255?255:k;b=(I(h+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(i+f|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(j+f|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=d<<8|c<<16|b|k<<24;g=g+4|0;o=o+p|0;if(m){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;n=n+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function cy(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=Ce-16|0;Ce=j;i=C[a+8>>2];l=C[a+12>>2];h=hf(i,C[l+36>>2],j+12|0);a:{b:{c:{d:{if(!C[j+12>>2]){C[h+100>>2]=i;C[h+96>>2]=a;C[h+104>>2]=C[b>>2];if(c){C[h+8>>2]=C[h+8>>2]|1024}k=hf(i,60,j+12|0);if(C[j+12>>2]){break d}C[h+128>>2]=k;c=0;C[k+48>>2]=0;e:{if((e|0)<=0){break e}a=0;while(1){if(c){break e}c=0;m=(a<<3)+f|0;if(C[m>>2]==1768842098){c=C[m+4>>2];C[k+48>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=C[l+48>>2];f:{if(!a){C[b>>2]=C[h+104>>2];break f}a=Fe[a|0](C[b>>2],h,d,e,f)|0;C[j+12>>2]=a;C[b>>2]=C[h+104>>2];if(a){break d}}b=C[h+40>>2];if(!b){break b}a=b+(C[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=C[e>>2];h:{if(C[c+4>>2]!=1970170211){break h}i:{switch(E[c+8>>1]){case 3:if(E[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(E[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=C[a>>2];if(C[c+4>>2]!=1970170211){continue}break}}C[h+92>>2]=c;break b}if(!h){break c}}if(C[h+36>>2]>0){c=0;while(1){d=c<<2;a=C[d+C[h+40>>2]>>2];b=C[C[a>>2]+100>>2];e=C[C[a+12>>2]+8>>2];if(e){Fe[e|0](a)}if(a){Fe[C[b+8>>2]](b,a)}C[d+C[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=C[h+40>>2];if(a){Fe[C[i+8>>2]](i,a)}C[h+36>>2]=0;C[h+40>>2]=0}a=C[l+52>>2];if(a){Fe[a|0](h)}if(k){Fe[C[i+8>>2]](i,k)}if(h){Fe[C[i+8>>2]](i,h)}C[g>>2]=0;a=C[j+12>>2];break a}C[g>>2]=h;a=0}Ce=j+16|0;return a}function QB(a){a=a|0;var 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,A=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(e|0)|0;if(e){r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;u=(e&48)!=0&(l|0)!=255;v=e&1;w=(p|0)/2|0;n=(q|0)/2|0;f=l^255;x=l+f|0;y=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];g=e;o=w;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(o>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;c=C[g>>2];if(v){i=(I(i,s)>>>0)/255|0;j=(I(j,r)>>>0)/255|0;h=(I(h,t)>>>0)/255|0}if(u){i=(I(i,l)>>>0)/255|0;j=(I(j,l)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}m=m-1|0;k=c>>>24|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(y|0){case 0:k=((I(f,k)>>>0)/255|0)+l|0;b=((I(b,f)>>>0)/255|0)+j|0;d=((I(d,f)>>>0)/255|0)+i|0;c=((I(c,f)>>>0)/255|0)+h|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=(I(k,x)>>>0)/255|0;k=k>>>0>=255?255:k;b=(I(j+f|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(i+f|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(h+f|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=d<<8|c<<16|b|k<<24;g=g+4|0;o=o+p|0;if(m){continue}break}g=C[a+28>>2]}else{g=b}b=g-1|0;C[a+28>>2]=b;n=n+q|0;e=C[a+32>>2]+e|0;if(g){continue}break}C[a+20>>2]=e}}function wB(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b>>>24|0;e=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){e=(I(e,r)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;d=(((I(d,e)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+j|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function qB(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b>>>24|0;e=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){e=(I(e,r)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(d,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function fB(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b&255;j=b>>>8&255;e=b>>>16&255;c=C[h>>2];if(w){j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;d=(((I(d,e)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+j|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function bB(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];i=b&255;j=b>>>8&255;e=b>>>16&255;c=C[h>>2];if(w){j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){e=(I(e,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(d,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function QA(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b>>>24|0;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,t)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;d=(((I(e,d)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+j|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function MB(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b&255;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,s)>>>0)/255|0;j=(I(j,t)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){i=(I(i,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;b=l+(((I(e,b)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+i|0;d=(((I(e,d)&65535)>>>0)/255|0)+j|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:b=(I(b,e)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;d=(I(d,j)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;b=(I(l+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[h>>2]=c<<8|d<<16|b;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function KA(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b>>>24|0;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,t)>>>0)/255|0;j=(I(j,s)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b&255;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){j=(I(j,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+j|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;c=c+j|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(e,d)>>>0)/255|0;c=(I(c,j)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function IB(a){a=a|0;var 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,A=0;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(f|0)|0;if(f){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];f=C[a+52>>2];u=f&48;v=f&2;w=f&1;x=(o|0)/2|0;n=(p|0)/2|0;y=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){m=C[a+24>>2];if(m){z=n>>>16|0;A=C[a>>2];h=f;g=x;while(1){b=C[(I(C[a+12>>2],z)+A|0)+(g>>>14&262140)>>2];e=b&255;i=b>>>8&255;j=b>>>16&255;c=C[h>>2];if(w){i=(I(i,s)>>>0)/255|0;j=(I(j,t)>>>0)/255|0;e=(I(e,r)>>>0)/255|0}d=c>>>8|0;l=c>>>16|0;b=b>>>24|0;k=v?(I(b,q)>>>0)/255|0:b;if(!(!u|k>>>0>254)){i=(I(i,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}m=m-1|0;b=c&255;c=d&255;d=l&255;a:{b:{switch(y|0){case 0:l=e;e=255-k|0;d=l+(((I(e,d)&65535)>>>0)/255|0)|0;c=(((I(c,e)&65535)>>>0)/255|0)+i|0;b=(((I(b,e)&65535)>>>0)/255|0)+j|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;c=c+i|0;c=c>>>0>=255?255:c;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:d=(I(e,d)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;b=(I(b,j)>>>0)/255|0;break a;case 7:break b;default:break a}}l=e;e=255-k|0;d=(I(l+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(e+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[h>>2]=c<<8|b|d<<16;h=h+4|0;g=g+o|0;if(m){continue}break}h=C[a+28>>2]}else{h=g}g=h-1|0;C[a+28>>2]=g;n=n+p|0;f=C[a+32>>2]+f|0;if(h){continue}break}C[a+20>>2]=f}}function Pu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=C[c>>2];f=C[a>>2];a:{if(d>>>0>f>>>0){break a}i=C[c+4>>2];if(f>>>0>=i+d>>>0){break a}d=f+1|0;C[a>>2]=d;e=A[f|0];h=e&255;if((e|0)<0){e=C[c>>2];if(e>>>0>d>>>0|d>>>0>=e+i>>>0){break a}C[a>>2]=f+2;h=D[f+1|0]|h<<8&32512}e=C[b>>2];b:{if((e|0)<0){break b}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(h>>>0>=e>>>0){continue}break}c:{if(e>>>0<=1073741822){f=lf(C[b+8>>2],e<<2);if(f){break c}}C[b>>2]=-1;break b}C[b>>2]=e;C[b+8>>2]=f}f=C[b+4>>2];if(f>>>0>>0){We(C[b+8>>2]+(f<<2)|0,0,h-f<<2)}C[b+4>>2]=h}l=C[21152];e=0;while(1){e=e&65535;i=h>>>0<=e>>>0;if(i){return 1}m=0;d=C[c>>2];f=C[a>>2];if(d>>>0>f>>>0|f>>>0>=d+C[c+4>>2]>>>0){break a}g=f+1|0;C[a>>2]=g;d=A[f|0];k=d&127;f=0;d:{if((d|0)<0){while(1){d=C[c>>2];if(d>>>0>g>>>0){break a}d=d+C[c+4>>2]|0;if(d>>>0>>0|d-g>>>0<2){break a}d=D[g|0]|D[g+1|0]<<8;j=((d<<8|d>>>8)&65535)+j|0;e:{if(F[b+4>>2]<=e>>>0){C[104428]=l;g=C[a>>2];d=417712;break e}d=C[b+8>>2]+(e<<2)|0}C[d>>2]=j;g=g+2|0;C[a>>2]=g;e=e+1|0;d=f+1|0;if((f&65535)>>>0>=k>>>0){break d}f=d;if(e>>>0>>0){continue}break d}}while(1){g=C[c>>2];d=C[a>>2];if(g>>>0>d>>>0|d>>>0>=g+C[c+4>>2]>>>0){break a}C[a>>2]=d+1;j=D[d|0]+j|0;f:{if(F[b+4>>2]<=e>>>0){C[104428]=l;d=417712;break f}d=C[b+8>>2]+(e<<2)|0}C[d>>2]=j;e=e+1|0;d=f+1|0;if((f&65535)>>>0>=k>>>0){break d}f=d;if(e>>>0>>0){continue}break}}m=i;if((d&65535)>>>0>k>>>0){continue}break}}return m}function el(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=C[a+2984>>2];a:{if(!(l&4)){break a}g=C[a+2988>>2];if(D[(g+I(b,1572)|0)+256|0]){break a}a=c>>31;f=(a^c)-a|0;b:{c:{d:{if((b|0)==1){if(l&2){break d}if(!(e&2)|f>>>0>=192){break c}a=f;break b}if(!(l&1)){break c}}e:{f:{g:{h:{i:{d=g+I(b,1572)|0;a=C[d+52>>2];if(a){g=d+56|0;p=a&1;if((a|0)!=1){break i}d=98;a=0;e=f;break h}a=f+32&2147483584;e=f;break g}q=a&-2;d=98;a=0;e=f;while(1){m=C[(g+I(a|1,12)|0)+4>>2];i=f-m|0;h=i>>31;n=C[(g+I(a,12)|0)+4>>2];j=f-n|0;k=j>>31;j=(k^j)-k|0;k=(j|0)<(d|0);i=(h^i)-h|0;d=k?j:d;h=(i|0)<(d|0);d=h?i:d;e=h?m:k?n:e;a=a+2|0;o=o+2|0;if((q|0)!=(o|0)){continue}break}}if(p){g=C[(g+I(a,12)|0)+4>>2];h=f-g|0;a=h>>31;e=((a^h)-a|0)<(d|0)?g:e}a=e+32&-64;if((e|0)>(f|0)){break f}}d=(a|48)>(f|0)?e:f;break e}d=(a-48|0)<(f|0)?e:f}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(l&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^d)-b>>>0<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?56:f;b=g+I(b,1572)|0;if(!C[b+52>>2]){break b}b=C[b+60>>2];e=a-b|0;d=e>>31;if((d^e)-d>>>0<=39){a=(b|0)<=48?48:b;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 sh(a,b,c,d){var e=0,f=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;e=a- -64|0;C[e>>2]=0;C[e+4>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+48>>2]=0;C[a+52>>2]=0;C[a+92>>2]=c;C[a+40>>2]=0;C[a+44>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a+56>>2]=0;C[a+60>>2]=0;C[a+80>>2]=0;C[a+84>>2]=0;C[a+88>>2]=0;C[a+28>>2]=0;C[a+20>>2]=-1;C[a+72>>2]=0;C[e>>2]=-1;e=C[c+16>>2];C[a+104>>2]=0;C[a+100>>2]=d;C[a+96>>2]=e;c=C[e+132>>2];a:{if(c){break a}while(1){f=C[e+48>>2];if(!f){c=84608;break a}c=df(1,4);if(!c){c=84608;C[e+132>>2]=84608;break a}_l(c,f);if(!C[e+132>>2]){C[e+132>>2]=c;break a}Ue(C[c>>2]);Re(c);c=C[e+132>>2];if(!c){continue}break}}c=C[c>>2];c=c?c:84608;c=F[c+16>>2]<12?84608:C[c+12>>2];C[a+108>>2]=c;e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0>=65539){e=D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=e?e+c|0:84608}else{e=84608}C[a+112>>2]=e;d=C[d+52>>2];C[a+136>>2]=6;C[a+128>>2]=-1;C[a+132>>2]=0;C[a+124>>2]=b;C[a+120>>2]=1;C[a+116>>2]=d;c=D[c+4|0]|D[c+5|0]<<8;C[a+144>>2]=1;A[a+143|0]=0;A[a+141|0]=1;A[a+142|0]=1;C[a+36>>2]=0;C[a+8>>2]=a;C[a+28>>2]=0;C[a+32>>2]=0;C[a+80>>2]=0;C[a+52>>2]=a;C[a+20>>2]=1;A[a+17|0]=1;A[a+16|0]=(b|0)==1;C[a+12>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;C[a+64>>2]=-1;B[a+60>>1]=257;C[a+56>>2]=0;A[a+140|0]=(c|0)!=0;return a}function BG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=df(1,36);if(g){a:{b:{c:{d:{e:{c=C[a+44>>2];if((c|0)<=0){break e}e=C[a+48>>2];c=c-1|0;f:{g:{while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];h:{if(f>>>0>=1886545255){c=d-1|0;break h}if((f|0)==1886545254){break g}b=d+1|0}if((c|0)>=(b|0)){continue}break}c=0;break f}c=C[(e+I(d,36)|0)+28>>2]}b=C[a+44>>2];C[g>>2]=c;if((b|0)<=0){break e}e=C[a+48>>2];c=b-1|0;b=0;i:{while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];j:{if(f>>>0<=1651275622){b=C[(e+I(d,36)|0)+28>>2];if((f|0)==1651275622){break i}b=d+1|0;break j}c=d-1|0}if((c|0)>=(b|0)){continue}break}b=0}c=b;b=C[a+44>>2];C[g+4>>2]=c;if((b|0)<=0){break c}e=C[a+48>>2];c=b-1|0;b=0;while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];k:{if(f>>>0<=1633842790){b=C[(e+I(d,36)|0)+28>>2];if((f|0)==1633842790){break d}b=d+1|0;break k}c=d-1|0}if((c|0)>=(b|0)){continue}break}b=0;break d}C[g+4>>2]=0;b=0}c=b;b=C[a+44>>2];C[g+8>>2]=c;c=0;if((b|0)<=0){C[g+12>>2]=0;break a}e=C[a+48>>2];c=b-1|0;b=0;while(1){d=c+b>>>1|0;f=C[e+I(d,36)>>2];l:{if(f>>>0<=1886614630){b=C[(e+I(d,36)|0)+28>>2];if((f|0)==1886614630){break b}b=d+1|0;break l}c=d-1|0}if((c|0)>=(b|0)){continue}break}}b=0}c=b;b=C[a+44>>2];C[g+12>>2]=c;if((b|0)>0){d=C[a+48>>2];c=b-1|0;b=0;while(1){a=c+b>>>1|0;e=C[d+I(a,36)>>2];m:{if(e>>>0<=1667654002){if((e|0)==1667654002){c=C[(d+I(a,36)|0)+28>>2];break a}b=a+1|0;break m}c=a-1|0}if((c|0)>=(b|0)){continue}break}}c=0}C[g+16>>2]=c}return g|0}function wn(a){var b=0,c=0,d=0;if(!a){Qe(4480,0);return}b=C[a+136>>2];C[a+136>>2]=b-1;a:{if((b|0)>=2){if(!C[104880]){break a}return}if(D[419528]){if(!C[104880]){break a}return}b:{if(!C[a+92>>2]){break b}c:{if(E[a+88>>1]|E[a+90>>1]){if(Fe[C[C[a+128>>2]+40>>2]](a,0,0)|0){break c}}C[a+88>>2]=0;C[a+92>>2]=0}if(!C[104880]){break b}}d:{if(!C[a+100>>2]){break d}e:{if(E[a+96>>1]|E[a+98>>1]){if(Fe[C[C[a+128>>2]+44>>2]](a,0,0)|0){break e}}C[a+96>>2]=0;C[a+100>>2]=0}if(!C[104880]){break d}}Fe[C[C[a+128>>2]+68>>2]](a);C[a+132>>2]=0;b=C[104881];f:{if(!b){break f}if((a|0)!=(b|0)){while(1){d=C[b+140>>2];if(!d){break f}c=b;b=d;if((b|0)!=(a|0)){continue}break}}C[(c?c+140|0:419524)>>2]=C[a+140>>2]}b=C[a+4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+12>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+40>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+48>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+56>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+64>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(C[a+68>>2]>0){b=0;while(1){c=C[(C[a+72>>2]+(b<<3)|0)+4>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}b=b+1|0;if((b|0)>2]){continue}break}}b=C[a+72>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+84>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(!C[104880]){break a}}}function Mo(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{e:{if(C[a+656>>2]){if(!mv(a,c)){c=1;break a}e=Fe[C[a+656>>2]](a,a+736|0)|0;if((e|0)<0){break d}c=0;if(e){break a}if((d|0)>1){break e}if(C[a+660>>2]>1){break c}vv(a,7130);break c}f:{g:{h:{d=d?d:C[a+660>>2];switch(d-2|0){case 1:break g;case 0:break h;default:break f}}if(!(D[a+375|0]&32)){break f}}if(mv(a,c)){break e}c=1;break a}ef(a,c)}c=1;switch(d-2|0){case 1:break b;case 0:break c;default:break a}}Kg(a,13811);s()}c=1;if(!(D[a+375|0]&32)){break a}}i:{j:{k:{d=C[a+728>>2];switch(d|0){case 1:break a;case 0:break i;case 2:break k;default:break j}}C[a+728>>2]=1;ff(a,18116);break a}C[a+728>>2]=d-1}g=1;l:{f=a+736|0;if(!b|(!f|!a)){break l}c=Ro(a,C[b+248>>2],C[b+252>>2],1,20);if(!c){xg(a,7227,1);break l}nf(a,C[b+248>>2]);C[b+248>>2]=c;C[b+244>>2]=C[b+244>>2]|512;e=c+I(C[b+252>>2],20)|0;m:{while(1){c=C[f>>2];A[e+4|0]=0;C[e>>2]=c;c=D[f+16|0]&11;if(!c){if(D[a+205|0]&128){break m}vv(a,12105);c=C[a+204>>2]&11;if(!c){break m}}while(1){d=c;h=0-c&c;c=h^c;if((d|0)!=(h|0)){continue}break}A[e+16|0]=d;c=C[f+12>>2];n:{o:{if(!c){c=0;C[e+8>>2]=0;break o}c=ih(a,c);C[e+8>>2]=c;if(!c){xg(a,1248,1);break n}d=c;c=C[f+12>>2];jf(d,C[f+8>>2],c)}C[e+12>>2]=c;C[b+252>>2]=C[b+252>>2]+1;e=e+20|0}f=f+20|0;c=(g|0)>1;g=g-1|0;if(c){continue}break}break l}Af(a,7087);s()}c=0}b=C[a+744>>2];if(b){nf(a,b)}C[a+744>>2]=0;if(!(D[a+375|0]&32?0:c)){return}Kg(a,13831);s()}function _R(a,b,c){a=a|0;b=b|0;c=c|0;var d=J(0),e=0,f=0,g=J(0),h=J(0),i=0;d=J(H[b+80>>3]);a:{b:{switch(C[b+96>>2]){case 0:d=J(d/J(100));break a;case 1:d=J(d/J(3));break a;case 2:break b;default:break a}}d=J(d*J(80))}g=J(H[b+72>>3]);h=J(-d);b=0;a=Ce+-64|0;Ce=a;c=C[c+4>>2];c:{if(!c){break c}f=C[105671];if((f|0)==(c|0)){break c}if(f){dg(f,11,0,0)}C[105671]=c;C[105680]=0;dg(c,10,0,0);c=C[105662];f=C[(C[105671]?422808:422804)>>2];if(!(C[105681]|(!f|!C[105703]))){if(!c){break c}Fe[c|0](f)|0;break c}if(!c){break c}Fe[c|0](0)|0}d:{if(g==J(0)&h==J(0)){break d}e:{if(g>J(0)){d=G[105678];if(!(dJ(0)?J(0):d:d}c=0;d=J(d+g);G[105678]=d;f:{g:{if(d>J(0)){e=O(+d);if(!(K(e)<2147483648)){break g}c=~~e;break f}if(!(dJ(0)){d=G[105679];if(!(dJ(0)?J(0):d:d}d=J(d+h);G[105679]=d;i:{j:{if(d>J(0)){e=O(+d);if(!(K(e)<2147483648)){break j}b=~~e;break i}if(!(d>2]=1027;f=0;i=C[105671];if(i){f=C[i+4>>2]}G[a+40>>2]=h;G[a+36>>2]=g;C[a+28>>2]=b;C[a+24>>2]=c;C[a+20>>2]=0;C[a+16>>2]=f;C[a+32>>2]=0;Df(a+8|0)}Ce=a- -64|0;return(qf(1027,-1)|0)==1|0}function Um(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ce-16|0;e=1;a:{b:{c:{switch(C[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=I(i,12)+b|0;d=f-12|0;if(C[f>>2]>2]){C[h+8>>2]=C[f+8>>2];g=C[f+4>>2];C[h>>2]=C[f>>2];C[h+4>>2]=g;C[f+8>>2]=C[d+8>>2];g=C[d+4>>2];C[f>>2]=C[d>>2];C[f+4>>2]=g;C[d+8>>2]=C[h+8>>2];f=C[h+4>>2];C[d>>2]=C[h>>2];C[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=C[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}k=j-1|0;m=C[b>>2];h=0;d=1;while(1){f=C[I(d,12)+b>>2]-m|0;d:{if(!((d|0)==(k|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(k|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;n=e&3;l=0;d=h;if(e-1>>>0>=3){o=e&-4;e=0;while(1){g=I(d,12)+b|0;p=C[g>>2];C[g>>2]=0;q=C[g+12>>2];C[g+12>>2]=0;r=C[g+24>>2];C[g+24>>2]=0;s=C[g+36>>2];C[g+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=f;if(!n){break e}while(1){e=I(d,12)+b|0;g=C[e>>2];C[e>>2]=0;d=d+1|0;i=g+i|0;l=l+1|0;if((l|0)!=(n|0)){continue}break}e=f}C[I(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=k>>>0){break d}h=f+1|0;m=C[I(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=I(d,12)+b|0;if(C[c>>2]){h=C[c+4>>2];f=I(e,12)+b|0;C[f>>2]=C[c>>2];C[f+4>>2]=h;C[f+8>>2]=C[c+8>>2];j=C[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}C[a>>2]=e}}function Ci(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=c-b|0;if(C[a+20>>2]==2|e>>>0<2){break a}i=C[a+96>>2];j=C[(i+I(b,20)|0)+8>>2];g=j;f=b+1|0;b:{if(f>>>0>=c>>>0){break b}e=e-2|0;h=(b^-1)+c&3;if(h){while(1){k=C[(I(f,20)+i|0)+8>>2];g=g>>>0>>0?g:k;f=f+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(e>>>0<=2){break b}while(1){e=I(f,20)+i|0;d=C[e+8>>2];d=d>>>0>g>>>0?g:d;h=C[e+28>>2];d=d>>>0>>0?d:h;h=C[e+48>>2];d=d>>>0>>0?d:h;e=C[e+68>>2];g=e>>>0>d>>>0?d:e;f=f+4|0;if((f|0)!=(c|0)){continue}break}}d=0;e=b;while(1){c:{h=d;f=e;if(!e){break c}d=h+1|0;e=f-1|0;if((j|0)==C[(I(e,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{e=C[a+84>>2];if(e>>>0<=c>>>0){break f}while(1){d=I(c,20)+i|0;if(C[d-12>>2]!=C[d+8>>2]){break f}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break e}if((c|0)!=(e|0)){break d}}d=C[a+76>>2];j=C[a+80>>2];if(d>>>0>=j>>>0){break d}e=(I(e,20)+i|0)-12|0;k=C[a+92>>2];while(1){a=k+I(d,20)|0;l=C[a+8>>2];if((l|0)!=C[e>>2]){break d}if((g|0)!=(l|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(c>>>0<=f>>>0){break a}if((h-b|0)+c&1){a=I(f,20)+i|0;if(C[a+8>>2]!=(g|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;f=f+1|0}if(((b-h|0)+1|0)==(c|0)){break a}while(1){a=I(f,20)+i|0;if(C[a+8>>2]!=(g|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;a=I(f+1|0,20)+i|0;if(C[a+8>>2]!=(g|0)){C[a+4>>2]=C[a+4>>2]&-2}C[a+8>>2]=g;f=f+2|0;if((f|0)!=(c|0)){continue}break}}}function nk(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0;k=Ce-32|0;Ce=k;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}l=0;if((b|0)==844715353){break c}break b}if((b|0)==1431918169){break d}l=0;if((b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}j=I(a,d)+c|0;m=(d+1|0)/2|0;l=j+I(m,(a+1|0)/2|0)|0;break c}j=I(a,d)+c|0;m=(d+1|0)/2<<1}l=0}a=l;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}C[e>>2]=c;C[h>>2]=d;C[g>>2]=c+3;C[f>>2]=C[e>>2]+1;break h}if((b|0)==1431918169){break m}if((b|0)==1448433993){break n}if((b|0)!=1498831189){break j}C[e>>2]=c+1;C[h>>2]=d;C[g>>2]=c+2;C[f>>2]=C[e>>2]-1;break h}C[e>>2]=c;C[h>>2]=d;C[g>>2]=j;C[f>>2]=a;break i}C[e>>2]=c;C[h>>2]=d;C[g>>2]=a;C[f>>2]=j;break i}C[e>>2]=c;C[h>>2]=d;C[g>>2]=c+1;C[f>>2]=C[e>>2]+3;break h}C[e>>2]=c;C[h>>2]=d;C[f>>2]=j;C[g>>2]=j+1;break i}C[e>>2]=c;C[h>>2]=d;C[g>>2]=j;C[f>>2]=j+1;break i}n=k,o=Rh(b),C[n+16>>2]=o;a=Qe(8698,k+16|0);break a}C[i>>2]=m;a=0;break a}C[i>>2]=d;a=0;break a}n=k,o=Rh(b),C[n>>2]=o;a=Qe(8742,k)}Ce=k+32|0;return a}function zJ(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,j=0,k=0,l=0;h=Ce-16|0;Ce=h;b=C[b>>2];C[h+12>>2]=0;a:{if(!b){d=35;break a}d=6;g=C[b+132>>2];if(!g|F[b+16>>2]<=c>>>0){break a}d=3;e=E[g+4>>1];b=(e|0)==768;c=I(c?c-1|0:D[g+106|0],b?6:4)+(b?148:118)|0;f=C[g+8>>2];if(c>>>0>=(f+(b?-4:-2)|0)-2>>>0){break a}j=C[g+160>>2];b=c+j|0;i=D[b|0]|D[b+1|0]<<8;C[a+80>>2]=i;if((e|0)==768){c=D[b+4|0]<<16|D[b+5|0]<<24|D[b+3|0]<<8}else{c=D[b+3|0]<<8}b=c|D[b+2|0];if(b>>>0>=f>>>0){break a}l=C[C[a+4>>2]+100>>2];k=i+7|0;e=k>>>3|0;C[a+84>>2]=e;c=E[g+96>>1];C[a+76>>2]=c;A[a+94|0]=1;if(f>>>0>>0){break a}c=Ve(l,c,0,e,0,h+12|0);C[a+88>>2]=c;d=C[h+12>>2];if(d){break a}b:{if(!i){break b}b=b+j|0;if(k&8){d=C[a+76>>2];if((d|0)>0){f=b+d|0;d=c;while(1){A[d|0]=D[b|0];d=C[a+84>>2]+d|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+1|0;d=e-1|0}else{d=e}f=d;if((e|0)==1){break b}while(1){d=C[a+76>>2];if((d|0)>0){e=b+d|0;d=c;while(1){A[d|0]=D[b|0];d=C[a+84>>2]+d|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}d=C[a+76>>2];if((d|0)>0){e=b+d|0;d=c+1|0;while(1){A[d|0]=D[b|0];d=C[a+84>>2]+d|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}c=c+2|0;f=f-2|0;if(f){continue}break}}C[C[a+156>>2]+4>>2]=1;C[a+100>>2]=0;b=E[g+80>>1];C[a+72>>2]=1651078259;C[a+104>>2]=b;c=C[a+80>>2]<<6;C[a+24>>2]=c;C[a+40>>2]=c;c=C[a+76>>2]<<6;C[a+28>>2]=c;C[a+32>>2]=0;C[a+36>>2]=b<<6;ik(a+24|0,c);d=C[h+12>>2]}Ce=h+16|0;return d|0}function Qy(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;c=C[a+36>>2];h=C[a+40>>2];d=C[a+28>>2];i=C[a+24>>2];j=d+I(i,40)|0;a:{if(b){k=8;if((i|0)<=0){break a}a=d;while(1){C[a+24>>2]=C[a+20>>2];C[a+28>>2]=C[a+8>>2];a=a+40|0;if(j>>>0>a>>>0){continue}break}break a}k=4;if((i|0)<=0){break a}a=d;while(1){C[a+24>>2]=C[a+16>>2];C[a+28>>2]=C[a+4>>2];a=a+40|0;if(j>>>0>a>>>0){continue}break}}if((c|0)>0){n=(c<<2)+h|0;while(1){e=C[h>>2];a=e;g=C[a+36>>2];b:{if(a>>>0>g>>>0){break b}while(1){c:{if(E[a>>1]&k){c=a;while(1){f=c;m=g>>>0<=c>>>0;if(!m){c=f+40|0;if(E[f+40>>1]&k){continue}}d:{e:{l=f+40|0;c=l;if(g>>>0>=c>>>0){while(1){if(E[c>>1]&k){break e}c=c+40|0;if(g>>>0>=c>>>0){continue}break}}if((a|0)==(f|0)){c=C[a+24>>2];f=C[a+28>>2];if((c|0)==(f|0)){break b}c=c-f|0;if(a>>>0>e>>>0){break d}break c}if(!m){kq(l,g,f,a)}if(a>>>0<=d>>>0){break b}kq(e,a-40|0,f,a);break b}kq(l,c-40|0,f,c);continue}break}while(1){C[e+24>>2]=c+C[e+28>>2];e=e+40|0;if(e>>>0>>0){continue}break}break c}a=a+40|0;if(g>>>0>=a>>>0){continue}break b}break}e=a+40|0;if(g>>>0>>0){break b}while(1){C[a- -64>>2]=c+C[a+68>>2];a=e;e=a+40|0;if(g>>>0>=e>>>0){continue}break}}h=h+4|0;if(n>>>0>h>>>0){continue}break}}f:{if(b){if((i|0)<=0){break f}while(1){C[d+20>>2]=C[d+24>>2];d=d+40|0;if(j>>>0>d>>>0){continue}break}break f}if((i|0)<=0){break f}while(1){C[d+16>>2]=C[d+24>>2];d=d+40|0;if(j>>>0>d>>>0){continue}break}}}function vj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ce-80|0;Ce=h;j=a+11724|0;gq(a,C[a+11720>>2],C[j>>2],b,c,h+36|0,h+32|0);gq(a,d,e,f,g,h+28|0,h+24|0);k=C[a+4>>2];C[k+16>>2]=C[k+16>>2]+(I(e-c>>16,b>>16)-I(d-b>>16,c>>16)|0);l=C[h+36>>2];k=l+C[a+11720>>2]|0;C[h+16>>2]=k;j=C[j>>2];i=c;c=C[h+32>>2];C[h+12>>2]=i+c;C[h+8>>2]=b+l;b=c+j|0;C[h+20>>2]=b;j=C[h+24>>2];l=C[h+28>>2];if(D[a+11667|0]){C[h+72>>2]=1;c=C[a+11732>>2];C[h+40>>2]=C[a+11728>>2];C[h+44>>2]=c;if(!D[a+20|0]){dl(a,C[a+11736>>2],C[a+11740>>2])}i=Te(C[a+11644>>2],k);m=Te(C[a+11648>>2],b);c=Oh(a+8|0,b);i=i+m|0;n=h,o=(Te(C[C[a>>2]+60>>2],i)+Te(C[C[a>>2]+68>>2],c)|0)+C[a+11656>>2]|0,C[n+48>>2]=o;n=h,o=(Te(C[C[a>>2]- -64>>2],i)+Te(C[C[a>>2]+72>>2],c)|0)+C[a+11660>>2]|0,C[n+52>>2]=o;c=C[a+4>>2];Fe[C[c>>2]](c,h+40|0);c=C[h+48>>2];i=C[h+52>>2];C[a+11704>>2]=k;C[a+11708>>2]=b;C[a+11728>>2]=c;C[a+11732>>2]=i;A[a+11664|0]=1;A[a+11667|0]=0;b=C[h+12>>2];C[a+11712>>2]=C[h+8>>2];C[a+11716>>2]=b}if(D[a+11744|0]){b=C[h+12>>2];C[h>>2]=C[h+8>>2];C[h+4>>2]=b;Nm(a,a+8|0,h+16|0,h,0)}C[a+11748>>2]=4;A[a+11744|0]=1;b=C[h+20>>2];C[a+11752>>2]=C[h+16>>2];C[a+11756>>2]=b;b=C[h+8>>2];c=C[h+12>>2];C[a+11780>>2]=g+j;C[a+11776>>2]=f+l;C[a+11772>>2]=e+j;C[a+11768>>2]=d+l;C[a+11760>>2]=b;C[a+11764>>2]=c;b=C[a+11676>>2];if(D[b+5|0]){cl(a+8|0,C[a+11668>>2],C[a+11672>>2],b,C[a+11680>>2],0)}C[a+11724>>2]=g;C[a+11720>>2]=f;Ce=h+80|0}function YI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;if((e|0)<=0){return 0}if(e>>>0>=4){i=e&-4;while(1){h=f;f=g<<2;f=(((h+(C[f+d>>2]!=0)|0)+(C[(f|4)+d>>2]!=0)|0)+(C[(f|8)+d>>2]!=0)|0)+(C[(f|12)+d>>2]!=0)|0;g=g+4|0;k=k+4|0;if((i|0)!=(k|0)){continue}break}}i=e&3;if(i){while(1){f=(C[(g<<2)+d>>2]!=0)+f|0;g=g+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(!f){return 0}j=C[b>>2];d=C[j>>2];f=C[j+4>>2];o=C[j+8>>2];t=C[j+12>>2];p=rg(a,4);i=a;q=(f-d|0)/(o|0)|0;a=q<<2;d=rg(i,a);C[p>>2]=d;We(d,0,a);if((q|0)>0){a=e-1|0;x=a&-2;y=a&1;i=t-1|0;a=C[j>>2]/(e|0)|0;z=C[p>>2];while(1){f=0;a:{if((o|0)<=0){k=0;g=0;break a}A=C[c>>2];g=0;k=0;r=0;while(1){l=a<<2;m=C[A+l>>2];d=m>>31;u=(d^m)-d|0;B=(u|0)>(k|0);b:{if((e|0)<2){break b}m=0;d=1;if((e|0)!=2){while(1){h=(d<<2)+c|0;v=C[C[h+4>>2]+l>>2];n=v>>31;w=C[C[h>>2]+l>>2];h=w>>31;n=(n^v)-n|0;h=(h^w)-h|0;g=(g|0)<(h|0)?h:g;g=(g|0)<(n|0)?n:g;d=d+2|0;m=m+2|0;if((x|0)!=(m|0)){continue}break}}if(!y){break b}l=C[C[(d<<2)+c>>2]+l>>2];d=l>>31;d=(d^l)-d|0;g=(d|0)>(g|0)?d:g}k=B?u:k;a=a+1|0;r=e+r|0;if((o|0)>(r|0)){continue}break}}c:{if((t|0)<=1){break c}while(1){d=j+(f<<2)|0;if(C[d+2328>>2]>=(k|0)&C[d+2584>>2]>=(g|0)){break c}f=f+1|0;if((i|0)!=(f|0)){continue}break}f=i}C[(s<<2)+z>>2]=f;s=s+1|0;if((q|0)!=(s|0)){continue}break}}C[b+40>>2]=C[b+40>>2]+1;return p|0}function Pf(a){var 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;a:{if(!C[a+4>>2]){break a}b=C[a+16>>2];b:{if(!b){C[a+20>>2]=2;break b}c:{switch(C[a+20>>2]-2|0){case 1:c=B[188086];d:{if(!c){C[105782]=28;b=-1;break d}e:{f:{if((c|0)>-2){break f}b=200809;g:{switch((c&255)-1|0){case 1:b=131072;break d;case 2:b=32768;break d;case 3:b=65536;break d;case 4:case 10:b=2147483647;break d;case 5:case 6:b=1;break d;case 7:case 8:b=Ob()>>>16|0;break d;case 9:break g;case 0:break e;default:break f}}b=0;break d}b=c}}h:{if((b|0)!=-1){C[a+20>>2]=2;c=1;break h}b=C[105782];l=E[((b>>>0<=153?b:0)<<1)+375712>>1]+373796|0;b=C[C[105828]+20>>2];if(b){h=C[b+4>>2];b=C[b>>2];c=C[b>>2]+1794895138|0;f=gj(C[b+8>>2],c);e=gj(C[b+12>>2],c);d=gj(C[b+16>>2],c);i:{if(h>>>2>>>0<=f>>>0){break i}g=h-(f<<2)|0;if((d|e)&3|(g>>>0<=e>>>0|d>>>0>=g>>>0)){break i}m=d>>>2|0;n=e>>>2|0;e=0;while(1){g=f>>>1|0;i=g+e|0;j=i<<1;d=b+(j+n<<2)|0;k=gj(C[d>>2],c);d=gj(C[d+4>>2],c);if(d>>>0>=h>>>0|h-d>>>0<=k>>>0|D[b+(d+k|0)|0]){break i}d=Se(l,b+d|0);if(!d){b=b+(m+j<<2)|0;gj(C[b>>2],c);gj(C[b+4>>2],c);break i}if((f|0)==1){break i}d=(d|0)<0;f=d?g:f-g|0;e=d?e:i;continue}}}c=0}if(c){break b}C[a+20>>2]=1;b=C[a+16>>2];break;case 0:break b;default:break c}}c=kf(b);if(!c){break a}b=jf(c,C[a+12>>2],b);c=C[a+28>>2];if(c){Fe[c|0](C[a+24>>2])}C[a+28>>2]=85;C[a+24>>2]=b;C[a+12>>2]=b;C[a+20>>2]=2}return C[a+12>>2]}return 0}function Xr(a,b){var c=J(0),d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){a=0;b:{e=C[104877];if(e){if((e|0)<=0){return-1}break b}return Qe(20468,0)}while(1){e=C[104878]+I(a,8232)|0;j=C[e+8220>>2];g=I(j,516);d=Rf(C[e+8224>>2],g+516|0);c:{if(!d){j=_e(0);break c}h=e+8220|0;C[e+8224>>2]=d;g=d+g|0;gf(g,b,512);d=5381;e=0;while(1){f=I(d,33);i=e<<3;d=i+g|0;c=G[d>>2];d:{if(c=J(0)){k=~~c>>>0;break d}k=0}f=I(k+f|0,33);c=G[d+4>>2];e:{if(c=J(0)){d=~~c>>>0;break e}d=0}f=I(d+f|0,33);i=g+(i|8)|0;c=G[i>>2];f:{if(c=J(0)){d=~~c>>>0;break f}d=0}f=I(d+f|0,33);c=G[i+4>>2];g:{if(c=J(0)){d=~~c>>>0;break g}d=0}d=d+f|0;e=e+2|0;if((e|0)!=64){continue}break}C[g+512>>2]=d;C[h>>2]=C[h>>2]+1}if((j|0)>=0){a=a+1|0;if((a|0)>=C[104877]){break a}continue}break}return-1}j=C[a+8220>>2];d=I(j,516);g=Rf(C[a+8224>>2],d+516|0);if(!g){return _e(0)}C[a+8224>>2]=g;d=d+g|0;gf(d,b,512);b=5381;while(1){h=I(b,33);f=e<<3;i=f+d|0;c=G[i>>2];h:{if(c=J(0)){b=~~c>>>0;break h}b=0}h=I(b+h|0,33);c=G[i+4>>2];i:{if(c=J(0)){b=~~c>>>0;break i}b=0}h=I(b+h|0,33);f=d+(f|8)|0;c=G[f>>2];j:{if(c=J(0)){b=~~c>>>0;break j}b=0}h=I(b+h|0,33);c=G[f+4>>2];k:{if(c=J(0)){b=~~c>>>0;break k}b=0}b=b+h|0;e=e+2|0;if((e|0)!=64){continue}break}C[(g+I(j,516)|0)+512>>2]=b;C[a+8220>>2]=C[a+8220>>2]+1}return j}function Qk(a){var b=0,c=0,d=0,e=0,f=0;e=C[a+28>>2];if(e){b=C[e+8>>2];if((b|0)>0){while(1){d=C[((c<<2)+e|0)+32>>2];if(d){Re(d);b=C[e+8>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}c=0;b=C[e+12>>2];if((b|0)>0){while(1){d=(c<<2)+e|0;f=C[d+544>>2];if(f){Fe[C[C[(C[d+288>>2]<<2)+317256>>2]+8>>2]](f);b=C[e+12>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}c=0;b=C[e+16>>2];if((b|0)>0){while(1){d=(c<<2)+e|0;f=C[d+1056>>2];if(f){Fe[C[C[(C[d+800>>2]<<2)+317236>>2]+12>>2]](f);b=C[e+16>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}c=0;b=C[e+20>>2];if((b|0)>0){while(1){d=(c<<2)+e|0;f=C[d+1568>>2];if(f){Fe[C[C[(C[d+1312>>2]<<2)+317244>>2]+12>>2]](f);b=C[e+20>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}if(C[e+24>>2]>0){c=0;while(1){b=C[((c<<2)+e|0)+1824>>2];if(b){ym(b)}b=C[e+2848>>2];if(b){b=b+I(c,56)|0;d=C[b+16>>2];if(d){Re(d)}d=C[b+20>>2];if(d){Re(d)}d=C[b+24>>2];if(d){Re(d)}d=C[b+28>>2];if(d){Re(d)}d=C[b+32>>2];if(d){Re(d)}C[b>>2]=0;C[b+4>>2]=0;C[b+48>>2]=0;C[b+52>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;C[b+32>>2]=0;C[b+36>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}c=c+1|0;if((c|0)>2]){continue}break}}c=C[e+2848>>2];if(c){Re(c)}if(C[e+28>>2]>0){c=0;while(1){mj(C[((c<<2)+e|0)+2852>>2]);c=c+1|0;if((c|0)>2]){continue}break}}Re(e)}C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}function LM(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ce-16|0;Ce=j;e=C[a+16>>2];d=C[a+28>>2];k=C[a+24>>2];C[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=C[a+32>>2];break c}C[a+36>>2]=b;l=Ve(b,4,d,g,C[a+32>>2],j+12|0);C[a+32>>2]=l;if(C[j+12>>2]){break b}C[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=D[e+7|0]|D[e+8|0]<<8|(D[e+9|0]<<16|D[e+10|0]<<24);o=D[e|0];p=D[e+1|0];q=D[e+2|0];d:{e:{f:{b=D[e+3|0]|D[e+4|0]<<8|(D[e+5|0]<<16|D[e+6|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break f}d=b+C[a+16>>2]|0;b=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=D[f+1|0]<<8|D[f|0]<<16|D[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+D[n|0]>>>0>>0){continue}break}break e}b=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(!b){break d}d=b+C[a+16>>2]|0;b=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+I(d,5)|0;f=h-3|0;f=D[f+1|0]<<8|D[f|0]<<16|D[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(!(D[h+1|0]|D[h|0]<<8)){break d}}C[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}C[g>>2]=0;break a}l=0}Ce=j+16|0;return l|0}function bx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{g=D[a|0];if((g|0)!=117){break b}c:{d=D[a+1|0];if((d|0)!=110|D[a+2|0]!=105){break c}b=D[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=D[a+4|0];c=b-48|0;f=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(f>>>0>15){break c}b=D[a+5|0];c=b-48|0;h=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(h>>>0>15){break c}b=D[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+(((e<<8)+(f<<4)|0)+h<<4)|0;c=D[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-48|0;c=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(c>>>0>15){break b}b=D[a+2|0];d=b-48|0;e=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(e>>>0>15){break b}b=D[a+3|0];d=b-48|0;f=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(f>>>0>15){break b}b=D[a+4|0];d=b-48|0;b=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(b>>>0>15){break b}b=b+(f+((c<<8)+(e<<4)|0)<<4)|0;c=D[a+5|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+5|0;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;c=D[a+6|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+6|0;if(c>>>0>15){break d}b=c+(b<<4)|0;d=a+7|0}d=D[d|0];if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}b=a;while(1){e:{f:{if((g|0)!=46){if(g){break f}return ax(a,b)|0}if(a>>>0>>0){break e}}g=D[b+1|0];b=b+1|0;continue}break}b=ax(a,b)|-2147483648}return b|0}function Zm(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;if(C[105780]){qz();Gr();Mj(16384);a=C[105780];a:{if(!C[a+360>>2]){break a}C[a+360>>2]=0;c=C[a+284>>2];if(!c){break a}Fe[c|0](a);a=C[105780]}c=C[a+380>>2];if(c){while(1){sq(c);a=C[105780];c=C[a+380>>2];if(c){continue}break}}Fe[C[a+8>>2]](a);c=0;a=C[105780];d=C[a+372>>2];if((d|0)>0){while(1){g=C[a+376>>2];d=Ce-16|0;Ce=d;a=C[105780];b:{if(!a){Qe(19865,0);break b}b=C[a+372>>2];if(!((b|0)>(c|0)&(c|0)>=0)){C[d>>2]=b-1;Qe(21451,d);break b}a=C[a+376>>2]+I(c,72)|0;b=C[a+12>>2];e=C[a+8>>2];if(e){while(1){e=e-1|0;f=I(e,20);b=C[(f+b|0)+16>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+12>>2];C[(f+b|0)+16>>2]=0;if(e){continue}break}}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[a+12>>2]=0;C[a+8>>2]=0;C[a+4>>2]=0}Ce=d+16|0;a=I(c,72)+g|0;b=C[a+32>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[a+32>>2]=0;b=C[a+68>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[a+68>>2]=0;c=c+1|0;a=C[105780];d=C[a+372>>2];if((c|0)<(d|0)){continue}break}}b=C[a+376>>2];if(b){if((d|0)>0){c=0;while(1){a=C[C[a+376>>2]+I(c,72)>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}c=c+1|0;a=C[105780];if((c|0)>2]){continue}break}b=C[a+376>>2]}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}a=C[105780];C[a+372>>2]=0;C[a+376>>2]=0}a=C[a+396>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[105780];C[a+396>>2]=0;Fe[C[a+1088>>2]](a);C[105780]=0}}function qQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;c=161;if(F[a+404>>2]>=a+40>>>0){d=C[a+412>>2];A[d+64|0]=1;h=a+20|0;g=C[h>>2];a:{b:{c:{b=C[a+16>>2];e=D[b|0];d:{if((e|0)==30){b=fq(b,g,0,f+12|0);e=C[f+12>>2];break d}e:{f:{switch(e-28|0){case 0:c=0;if(g>>>0>>0){break c}c=D[b+2|0]|D[b+1|0]<<8;break c;case 1:c=0;if(g>>>0>>0){break c}c=D[b+1|0]|D[b+2|0]<<8|(D[b+3|0]<<16|D[b+4|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break e;default:break f}}if(e>>>0<=246){c=e-139|0;break c}i=b+2|0;if(e>>>0<=250){c=0;if(g>>>0>>0){break c}c=(D[b+1|0]|e<<8)-63124|0;break c}c=0;if(g>>>0>>0){break c}c=64148-(D[b+1|0]|e<<8)|0}if((c|0)<32768){break c}b=5;g:{if(c>>>0<1e5){break g}b=6;if(c>>>0<1e6){break g}b=7;if(c>>>0<1e7){break g}b=8;if(c>>>0<1e8){break g}b=c>>>0<1e9?9:10}e=b-5|0;g=C[(e<<2)+210016>>2];if(((c|0)/(g|0)|0)>=32768){e=b-4|0;b=Ze(c,C[(e<<2)+210016>>2]);break d}b=Ze(c,g)}C[d+48>>2]=b;b=0;c=0-e|0;C[f+12>>2]=c;if(e-1>>>0>4294967285){break b}C[d+48>>2]=65536;C[d+52>>2]=0;C[d+72>>2]=0;C[d+56>>2]=0;C[d+60>>2]=65536;a=1;break a}C[d+48>>2]=c<<16;c=0;C[f+12>>2]=0}j=d,k=Nh(h,c),C[j+56>>2]=k;j=d,k=Nh(a+24|0,C[f+12>>2]),C[j+52>>2]=k;j=d,k=Nh(a+28|0,C[f+12>>2]),C[j+60>>2]=k;j=d,k=Nh(a+32|0,C[f+12>>2]),C[j+72>>2]=k;b=Nh(a+36|0,C[f+12>>2]);a=C[(C[f+12>>2]<<2)+210016>>2]}C[d+68>>2]=a;C[d+76>>2]=b;c=0}Ce=f+16|0;return c|0}function So(a,b){var c=0,d=0,e=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=C[b+12>>2]-4|0;C[b+12>>2]=d;if((D[a|0]|D[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!sv(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}e=D[a+11|0]|(D[a+9|0]<<16|(c&255)<<24|D[a+10|0]<<8);b:{if(!e){break b}if(No(a+e|0,b)){break b}e=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=0;d=a+12|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}e=D[a+15|0]|(D[a+13|0]<<16|(c&255)<<24|D[a+14|0]<<8);c:{if(!e){break c}if(No(a+e|0,b)){break c}e=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}e=0;d=a+16|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=C[b+12>>2]-4|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=A[d|0];if((c|0)<0){break a}e=1;c=D[a+19|0]|(D[a+17|0]<<16|(c&255)<<24|D[a+18|0]<<8);if(!c){break a}if(No(a+c|0,b)){break a}e=0;a=C[b+28>>2];if(a>>>0>31){break a}C[b+28>>2]=a+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0;e=1}return e}function CI(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;a:{if(!a){break a}d=C[a>>2];if(!d){break a}Bv(d,c);Bv(d,b);C[a>>2]=0;xv(d);nf(d,C[d+700>>2]);C[d+700>>2]=0;nf(d,C[d+776>>2]);C[d+776>>2]=0;nf(d,C[d+760>>2]);C[d+760>>2]=0;nf(d,C[d+604>>2]);C[d+604>>2]=0;nf(d,C[d+608>>2]);C[d+608>>2]=0;a=C[d+648>>2];if(a&4096){Cv(d,C[d+404>>2]);C[d+404>>2]=0;a=C[d+648>>2]}b=a&-4097;C[d+648>>2]=b;if(a&8192){nf(d,C[d+520>>2]);C[d+520>>2]=0;b=C[d+648>>2]}C[d+648>>2]=b&-8193;a=d+220|0;b:{if(!a|!C[a+32>>2]){break b}c=C[a+36>>2];if(!c){break b}b=C[a+28>>2];if(!b|(a|0)!=C[b>>2]|C[b+4>>2]-16180>>>0>31){break b}e=C[b+56>>2];if(e){Fe[c|0](C[a+40>>2],e);c=C[a+36>>2];b=C[a+28>>2]}Fe[c|0](C[a+40>>2],b);C[a+28>>2]=0}nf(d,C[d+560>>2]);C[d+560>>2]=0;nf(d,C[d+744>>2]);C[d+744>>2]=0;nf(d,C[d+668>>2]);C[d+668>>2]=0;b=Ce-880|0;Ce=b;if(d){jf(b+8|0,d,872);a=We(d,0,872);c=C[b+704>>2];c:{if(c){Fe[c|0](b+8|0,a);break c}Re(a)}e=0;d=Ce-160|0;Ce=d;c=kf(40);C[c>>2]=0;a=b+8|0;if(a){f=C[a+160>>2];d:{if(!f|!C[a+164>>2]|(a|0)==(f|0)){break d}c=Uj(d,1,c,4);i=De;while(1){if(e){break d}C[a+164>>2]=0;C[a+156>>2]=73;C[a+160>>2]=d;C[108238]=0;Z(1300,a|0,f|0);e=C[108238];C[108238]=0;g=-1;e:{if(!e){break e}h=C[108239];if(!h){break e}g=Mf(C[e>>2],c,i);if(!g){Re(c);Ii(e,h);s()}De=h}e=De;if((g|0)==1){continue}break}}C[a+164>>2]=0;C[a+156>>2]=0;C[a+160>>2]=0}Re(c);Ce=d+160|0}Ce=b+880|0}}function xt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}d=C[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}e=C[b+12>>2];f=e-2|0;C[b+12>>2]=f;g=1;if((f|0)<=0){return 0}f=D[a|0]|D[a+1|0]<<8;a:{if(!f){break a}b:{f=((f<<8|f>>>8)&65535)+c|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break b}c=e-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}h=D[f|0]|D[f+1|0]<<8;if(!h){break a}g=f+2|0;if(g>>>0>d>>>0){break b}e=d-g|0;d=(h<<8|h>>>8)&65535;g=I(d,6);if(e>>>0>>0){break b}c=c-g|0;C[b+12>>2]=c;if((c|0)<=0){break b}j=d>>>0<=1?1:d;h=0;while(1){g=Ce-16|0;Ce=g;c=(f+I(h,6)|0)+2|0;d=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);C[g+12>>2]=f;C[g+8>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c:{if(c>>>0>2]){c=0;break c}e=C[b+8>>2];if(e>>>0>>0){c=0;break c}if(e-c>>>0<6){c=0;break c}i=C[b+12>>2];d=i-6|0;C[b+12>>2]=d;if((d|0)<=0){c=0;break c}d=c+4|0;if(d>>>0>e>>>0){c=0;break c}if(e-d>>>0<2){c=0;break c}e=i-8|0;C[b+12>>2]=e;c=1;if((e|0)<=0){c=0;break c}e=D[d|0]|D[d+1|0]<<8;if(!e){break c}if(vt(f+((e<<8|e>>>8)&65535)|0,b,g+8|0)){break c}c=C[b+28>>2];if(c>>>0>31){c=0;break c}C[b+28>>2]=c+1;c=0;if(!D[b+24|0]){break c}A[d|0]=0;A[d+1|0]=0;c=1}Ce=g+16|0;if(!c){break b}g=1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;g=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;g=1}return g}function gJ(a,b){a=a|0;b=b|0;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,o=0,p=0;c=C[b+1296>>2];f=C[C[C[C[a+64>>2]+4>>2]+28>>2]+2848>>2];d=a+4|0;a:{if((Ye(d,1)|0)!=1){break a}i=2;g=rg(a,C[b+1284>>2]<<2);o=g,p=Ye(d,ug(C[b+1292>>2]-1|0)),C[o>>2]=p;o=g,p=Ye(d,ug(C[b+1292>>2]-1|0)),C[o+4>>2]=p;if(C[c>>2]>0){while(1){m=C[(c+(l<<2)|0)+4>>2];e=c+(m<<2)|0;j=C[e+128>>2];a=0;b:{k=C[e+192>>2];if(!k){break b}a=Sk(f+I(C[e+256>>2],56)|0,d);if((a|0)!=-1){break b}return 0}if((j|0)>0){h=-1<>2];c:{if((n|0)>=0){n=Sk(f+I(n,56)|0,d);C[(e+i<<2)+g>>2]=n;if((n|0)!=-1){break c}return 0}C[(e+i<<2)+g>>2]=0}a=a>>k;e=e+1|0;if((j|0)!=(e|0)){continue}break}}i=j+i|0;l=l+1|0;if((l|0)>2]){continue}break}}e=2;if(C[b+1284>>2]<=2){break a}j=c+836|0;while(1){a=e<<2;c=a+b|0;l=c;i=C[c+772>>2]<<2;k=c+1024|0;f=C[k>>2]<<2;m=C[f+g>>2]&32767;c=(C[i+g>>2]&32767)-m|0;d=c>>31;h=(c^d)-d|0;d=C[f+j>>2];d=(I(h,C[a+j>>2]-d|0)|0)/(C[j+i>>2]-d|0)|0;c=m+((c|0)<0?0-d|0:d)|0;a=a+g|0;d=C[a>>2];d:{if(d){f=C[b+1292>>2]-c|0;e:{if((d|0)>=((c|0)>(f|0)?f:c)<<1){h=d-c|0;if((c|0)<(f|0)){break e}h=f+(d^-1)|0;break e}h=0-(d+1>>1)|0;if(d&1){break e}h=d>>1}C[a>>2]=h+c&32767;a=(C[k>>2]<<2)+g|0;C[a>>2]=C[a>>2]&32767;a=(C[l+772>>2]<<2)+g|0;C[a>>2]=C[a>>2]&32767;break d}C[a>>2]=c|32768}e=e+1|0;if((e|0)>2]){continue}break}}return g|0}function fx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(c){i=C[a+4>>2];k=C[a+12>>2];a=(e|0)==2;m=a?256:128;n=a?128:256;l=0-e|0;while(1){g=C[b+16>>2];a:{if(g&16){break a}j=C[b+28>>2];b:{a=A[b+20|0];c:{if((e|0)==(a|0)|(a|0)==(l|0)){break c}a=A[b+21|0];if((e|0)==(a|0)){break c}if((a|0)!=(l|0)){break b}}if(!a){break b}if((a|0)==(e|0)){a=0;if(!i){break a}while(1){f=C[(a<<2)+k>>2];h=j-C[f>>2]|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break a}break}C[b+24>>2]=f;C[b+16>>2]=g|528;break a}if((a|0)!=(l|0)){break a}a=0;if(!i){break a}while(1){f=C[(a<<2)+k>>2];h=j-(C[f>>2]+C[f+4>>2]|0)|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break a}break}C[b+24>>2]=f;C[b+16>>2]=g|1040;break a}if(!(g&64)){break a}d:{e:{if(g&n){a=0;if(!i){break a}while(1){f=C[(a<<2)+k>>2];h=j-C[f>>2]|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break d}break}a=528;break e}if(!(g&m)){break d}a=0;if(!i){break d}while(1){f=C[(a<<2)+k>>2];h=j-(C[f>>2]+C[f+4>>2]|0)|0;if(!((h|0)<(d|0)&(0-h|0)<(d|0))){a=a+1|0;if((i|0)!=(a|0)){continue}break d}break}a=1040}C[b+24>>2]=f;C[b+16>>2]=a|g}if(C[b+24>>2]){break a}a=0;if(!i){break a}while(1){g=C[(a<<2)+k>>2];f=C[g>>2];if(!((f|0)>(j|0)|(f+C[g+4>>2]|0)<(j|0))){C[b+24>>2]=g;break a}a=a+1|0;if((i|0)!=(a|0)){continue}break}}b=b+40|0;c=c-1|0;if(c){continue}break}}}function IL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=C[a+12>>2];j=C[a+204>>2];b=C[a+200>>2];a:{while(1){c=k;k=c+1|0;g=Fy(i,k);if(g){break a}g=21;h=b+4|0;if(h>>>0>j>>>0){break a}d=C[i+88>>2]+(c<<5)|0;C[d+8>>2]=0;C[d+12>>2]=0;l=D[b+1|0];e=l|D[b|0]<<8;B[d+4>>1]=e;C[d>>2]=D[b+3|0]|D[b+2|0]<<8;f=l&1?4:2;m=e&8;c=f+2|0;b:{if(m){break b}c=f+4|0;if(e&64){break b}c=f|e>>>4&8}if(c+h>>>0>j>>>0){break a}c=e&1;c:{if(e&2){if(c){c=D[b+4|0]|D[b+5|0]<<8;C[d+8>>2]=(c<<8|c>>>8)<<16>>16;c=D[b+6|0]|D[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=b+8|0;break c}C[d+8>>2]=A[b+4|0];f=A[b+5|0];c=b+6|0;break c}if(c){C[d+8>>2]=D[b+5|0]|D[b+4|0]<<8;f=D[b+7|0]|D[b+6|0]<<8;c=b+8|0;break c}C[d+8>>2]=D[b+4|0];f=D[b+5|0];c=b+6|0}C[d+12>>2]=f;d:{if(m){b=c+2|0;e=0;c=D[c|0]|D[c+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){b=D[c+2|0]|D[c+3|0]<<8;f=(b<<8|b>>>8)<<16>>16<<2;b=D[c|0]|D[c+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;b=c+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;b=c;f=65536;h=0;break d}b=D[c+6|0]|D[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16<<2;b=D[c+4|0]|D[c+5|0]<<8;e=(b<<8|b>>>8)<<16>>16<<2;b=D[c+2|0]|D[c+3|0]<<8;h=(b<<8|b>>>8)<<16>>16<<2;b=D[c|0]|D[c+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;b=c+8|0}C[d+16>>2]=g;C[d+28>>2]=f;C[d+24>>2]=h;C[d+20>>2]=e;if(l&32){continue}break}C[i+84>>2]=k;c=C[C[a+24>>2]+8>>2];C[a+200>>2]=b;C[a+168>>2]=(b+c|0)-j;g=0}return g|0}function kB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(w){h=(I(h,r)>>>0)/255|0;g=(I(g,t)>>>0)/255|0;i=(I(i,s)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b&255;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+h|0;f=(((I(c,f)&65535)>>>0)/255|0)+i|0;e=(((I(e,c)&65535)>>>0)/255|0)+g|0;break a;case 1:b=b+h|0;b=b>>>0>=255?255:b;c=i+f|0;f=c>>>0>=255?255:c;c=e+g|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,h)>>>0)/255|0;f=(I(i,f)>>>0)/255|0;e=(I(e,g)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+h|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(g+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function dm(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,o=0,p=0;m=C[b+4>>2];a:{if(m>>>0>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<5){break a}c=C[b+12>>2]-5|0;C[b+12>>2]=c;b:{if((c|0)<=0){break b}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);if(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)){break b}return 1}f=C[b+12>>2]-5|0;C[b+12>>2]=f;if((f|0)<=0){break a}e=D[a+4|0];if((e-1&255)>>>0>3){break a}c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=h+1|0;if(4294967295/(c>>>0)>>>0<=e>>>0?c:0){break a}i=a+5|0;c:{d:{c=I(c,e);switch(c+1|0){case 0:break a;case 1:break c;default:break d}}if(g>>>0>>0|g-i>>>0>>0){break a}f=f-c|0;C[b+12>>2]=f;if((f|0)<=0){break a}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);h=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c=I(h+1|0,e)}if((h|0)==-1){break a}j=c+i|0;o=e&252;n=e&3;p=e-1>>>0<3;while(1){a=I(e,k)+i|0;c=0;d=0;if(!p){while(1){d=a;a=a+4|0;c=c+4|0;if((o|0)!=(c|0)){continue}break}d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c=0;if(n){while(1){d=D[a|0]|d<<8;a=a+1|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}l=d>>>0>l>>>0?d:l;a=(h|0)!=(k|0);k=k+1|0;if(a){continue}break}a=l-1|0;if(!a){return 1}d=0;if((a|0)<0|j>>>0>>0|(g>>>0>>0|a>>>0>g-j>>>0)){break a}a=f-a|0;C[b+12>>2]=a;d=(a|0)>0}return d}function XA(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(w){h=(I(h,s)>>>0)/255|0;g=(I(g,t)>>>0)/255|0;i=(I(i,r)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b>>>24|0;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){h=(I(h,j)>>>0)/255|0;g=(I(g,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+i|0;f=(((I(c,f)&65535)>>>0)/255|0)+h|0;e=(((I(e,c)&65535)>>>0)/255|0)+g|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+h|0;f=c>>>0>=255?255:c;c=e+g|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,i)>>>0)/255|0;f=(I(f,h)>>>0)/255|0;e=(I(e,g)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(h+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(g+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function DB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(w){g=(I(g,r)>>>0)/255|0;h=(I(h,s)>>>0)/255|0;i=(I(i,t)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b>>>24|0;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){g=(I(g,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+g|0;f=(((I(c,f)&65535)>>>0)/255|0)+h|0;e=(((I(e,c)&65535)>>>0)/255|0)+i|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;c=f+h|0;f=c>>>0>=255?255:c;c=e+i|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,g)>>>0)/255|0;f=(I(f,h)>>>0)/255|0;e=(I(e,i)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(h+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function DA(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+63|0];r=D[a+62|0];s=D[a+61|0];t=D[a+60|0];d=C[a+52>>2];u=d&48;v=d&2;w=d&1;x=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[n>>2];b=C[d>>2];g=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(w){g=(I(g,r)>>>0)/255|0;h=(I(h,t)>>>0)/255|0;i=(I(i,s)>>>0)/255|0}k=e>>>8|0;c=e>>>16|0;b=b&255;j=v?(I(b,q)>>>0)/255|0:b;if(!(!u|j>>>0>254)){g=(I(g,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0}o=o-1|0;p=e>>>24|0;b=e&255;f=k&255;e=c&255;a:{b:{switch(x|0){case 0:c=255-j|0;p=j+(((I(c,p)&65535)>>>0)/255|0)|0;b=(((I(b,c)&65535)>>>0)/255|0)+g|0;f=(((I(c,f)&65535)>>>0)/255|0)+i|0;e=(((I(e,c)&65535)>>>0)/255|0)+h|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;c=i+f|0;f=c>>>0>=255?255:c;c=e+h|0;e=c>>>0>=255?255:c;break a;case 3:b=(I(b,g)>>>0)/255|0;f=(I(i,f)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;break a;case 7:break b;default:break a}}k=255-j|0;b=(I(k+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(h+k|0,e)>>>0)/255|0;e=c>>>0>=255?255:c}C[n>>2]=f<<8|e<<16|b|p<<24;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function ys(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,o=0,p=0,q=0,r=0,s=0,t=0;m=Ce-160|0;Ce=m;b=sh(m+12|0,1,b,c);C[b+120>>2]=d;C[b+132>>2]=8;C[b+36>>2]=0;C[b+8>>2]=b;C[b+28>>2]=0;C[b+32>>2]=0;C[b+80>>2]=0;C[b+52>>2]=b;C[b+20>>2]=d;A[b+17|0]=D[b+142|0];C[b+12>>2]=8;C[b+72>>2]=0;C[b+76>>2]=0;C[b- -64>>2]=-1;A[b+61|0]=1;C[b+56>>2]=8;l=C[b+124>>2]==1;A[b+16|0]=l;A[b+60|0]=l|D[b+141|0]!=0;l=C[c+80>>2];if(l){n=b+4|0;k=C[c+100>>2];o=C[c+92>>2];q=(C[c+52>>2]&-2)!=4;while(1){a:{b:{f=I(j,20);h=f+o|0;if(!(C[h+4>>2]&d)){break b}C[b+40>>2]=1;C[b+4>>2]=j;e=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[e+80>>2];A[b+24|0]=C[e+76>>2]==(j|0)?D[(f+C[e+92>>2]|0)+15|0]:0;if(!Og(n)){break b}p=C[n>>2];g=I(p,20);r=C[g+o>>2];s=C[h>>2];i=C[a>>2];h=C[i>>2];t=C[h+76>>2];e=C[h+72>>2];c:{if((C[i+4>>2]&-2)==4){i=e+56|0;e=e+192|0;break c}i=e+60|0;e=e+196|0}e=Fe[C[e>>2]](h,t,s,r,C[i>>2])|0;d:{if(!e){break d}e:{if(!q){if(D[a+4|0]){C[(g+k|0)+12>>2]=e;C[c+36>>2]=C[c+36>>2]|8;break e}f=f+k|0;h=f;i=C[f>>2];f=e>>1;C[h>>2]=i+f;g=g+k|0;e=e-f|0;C[g>>2]=e+C[g>>2];C[g+8>>2]=e+C[g+8>>2];break e}if(D[a+4|0]){C[(g+k|0)+8>>2]=e;C[c+36>>2]=C[c+36>>2]|8;break e}f=f+k|0;h=f;i=C[f+4>>2];f=e>>1;C[h+4>>2]=i+f;g=g+k|0;e=e-f|0;C[g+4>>2]=e+C[g+4>>2];C[g+12>>2]=e+C[g+12>>2]}e=p+1|0;if(e-j>>>0<2){break d}Sf(c,j,e)}j=C[n>>2];break a}j=j+1|0}if(l>>>0>j>>>0){continue}break}}Ce=m+160|0}function Il(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=C[a+172>>2];C[a+172>>2]=0;e=C[a>>2]?I(C[a+28>>2],c):c;g=C[a+240>>2];if(C[a+216>>2]!=C[a+204>>2]){h=D[a+232|0]<<2;j=P(H[a+224>>3]*+((e|0)/(h|0)|0));a:{if(K(j)<2147483648){f=~~j;break a}f=-2147483648}h=I(f,h);e=e+h|0}f=C[a+188>>2];if(C[a+84>>2]){e=I(C[a+112>>2],e)}g=g<<2;e=e+g|0;if((e|0)>C[a+192>>2]){f=Rf(f,e+32|0);if(!f){_e(0);return-1}C[a+192>>2]=e;C[a+188>>2]=f}e=f&15;e=(e?16-e|0:0)+f|0;if(!e){return-1}f=i?0:g;i=f+e|0;gf(i,b,c);b:{if(!C[a>>2]){break b}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;C[a+20>>2]=c;C[a+16>>2]=i;b=D[a+40|0]|D[a+41|0]<<8|(D[a+42|0]<<16|D[a+43|0]<<24);if(!b){break b}A[a+80|0]=0;A[a+81|0]=0;A[a+82|0]=0;A[a+83|0]=0;Fe[b|0](a,D[a+4|0]|D[a+5|0]<<8);c=C[a+24>>2]}c:{d:{if(C[a+216>>2]==C[a+204>>2]){f=e;break d}if(f){gf(e,C[a+244>>2],f);c=c+f|0}b=c-g|0;gf(C[a+244>>2],b+e|0,g);f=c+e|0;g=(c|0)<=(g|0);c=0;if(g){break c}c=Fe[C[a+252>>2]](a,e,b,f,h)|0}b=a+84|0;if(!C[b>>2]|(c|0)<=0){break c}A[a+108|0]=c;A[a+109|0]=c>>>8;A[a+110|0]=c>>>16;A[a+111|0]=c>>>24;C[a+104>>2]=c;C[a+100>>2]=f;e=D[a+124|0]|D[a+125|0]<<8|(D[a+126|0]<<16|D[a+127|0]<<24);if(!e){break c}A[a+164|0]=0;A[a+165|0]=0;A[a+166|0]=0;A[a+167|0]=0;Fe[e|0](b,D[a+88|0]|D[a+89|0]<<8);c=C[a+108>>2]}if(d){b=C[d>>2];c=(b|0)>(c|0)?c:b;C[d>>2]=b-c}if(!c){return 0}return An(C[a+168>>2],f,c)}function Uy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=C[(c?8:4)+b>>2];e=I(c,1572)+a|0;d=e+1608|0;i=C[(c?16:12)+b>>2];if((g|0)==C[d>>2]&(i|0)==C[e+1612>>2]){break a}C[d>>2]=g;C[e+1612>>2]=i;b:{c:{d:{f=C[a+1832>>2];if(!f){break d}d=0;while(1){if(!(D[(I(d,28)+a|0)+1860|0]&8)){d=d+1|0;if((f|0)!=(d|0)){continue}break d}break}b=Te(C[(I(d,28)+a|0)+1848>>2],C[b+8>>2]);d=C[C[a+36>>2]+12>>2];if(d){f=d;d=E[C[C[a+4>>2]+88>>2]+12>>1];d=d>>>0<=5?40:f>>>0>=d>>>0?52:40}else{d=40}if((c|0)!=1){break d}d=b+d&-64;if((d|0)==(b|0)){break d}g=of(g,d,b);C[e+44>>2]=g;C[a+1620>>2]=i;break c}C[e+44>>2]=g;C[(I(c,1572)+a|0)+48>>2]=i;if(c){break c}C[a+8>>2]=g;b=a+16|0;break b}C[a+12>>2]=g;b=a+20|0}C[b>>2]=i;e=I(c,1572)+a|0;if(C[e+52>>2]){h=e+56|0;b=0;while(1){d=h+I(b,12)|0;f=Te(C[d>>2],g);C[d+8>>2]=f;C[d+4>>2]=f;b=b+1|0;if(b>>>0>2]){continue}break}}j=e,k=(Te(C[e+252>>2],g)|0)<40,A[j+256|0]=k;if(!C[a+1832>>2]|(c|0)!=1){break a}b=0;while(1){c=I(b,28)+a|0;e=c+1836|0;d=Te(C[e>>2],g)+i|0;C[c+1844>>2]=d;C[c+1840>>2]=d;f=c+1856|0;d=c+1848|0;h=Te(C[d>>2],g)+i|0;C[f>>2]=h;C[c+1852>>2]=h;c=c+1860|0;C[c>>2]=C[c>>2]&-2;d=Te(C[e>>2]-C[d>>2]|0,g);if(d+48>>>0<=96){h=e;e=C[e+4>>2]+32&-64;C[h+8>>2]=e;h=f;f=d>>31;f=(f^d)-f|0;f=f>>>0>=32?f>>>0<48?32:64:0;C[h>>2]=e+((d|0)<0?f:0-f|0);C[c>>2]=C[c>>2]|1}b=b+1|0;if(b>>>0>2]){continue}break}}}function pv(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=D[a+9|0];if(c>>>0<8){break a}d=D[a+8|0];if(d&2){break a}e=C[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}b=(b+e|0)-1|0;c=b+(e<<1)|0;if((e|0)!=1){g=e&-2;d=0;while(1){A[c|0]=D[b|0];A[c-1|0]=D[b|0];A[c-2|0]=D[b|0];f=b-1|0;A[c-3|0]=D[f|0];A[c-4|0]=D[f|0];A[c-5|0]=D[f|0];c=c-6|0;b=b-2|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(e&1)){break b}A[c|0]=D[b|0];A[c-1|0]=D[b|0];A[c-2|0]=D[b|0];break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){A[c|0]=D[b|0];f=b-1|0;A[c-1|0]=D[f|0];A[c-2|0]=D[b|0];A[c-3|0]=D[f|0];A[c-4|0]=D[b|0];A[c-5|0]=D[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){A[c|0]=D[b|0];f=b-1|0;A[c-1|0]=D[f|0];A[c-2|0]=D[f|0];A[c-3|0]=D[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){A[c|0]=D[b|0];A[c-1|0]=D[b-1|0];f=b-2|0;A[c-2|0]=D[f|0];g=b-3|0;A[c-3|0]=D[g|0];A[c-4|0]=D[f|0];A[c-5|0]=D[g|0];A[c-6|0]=D[f|0];A[c-7|0]=D[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=D[a+10|0]+2|0;A[a+10|0]=b;A[a+8|0]=D[a+8|0]|2;b=I(b,D[a+9|0]);A[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=I(b>>>3|0,e);break d}b=I(b,e)+7>>>3|0}C[a+4>>2]=b}}function gD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+36>>2];h=C[a+16>>2];e=C[a+24>>2];i=e&7;j=(e+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];b:while(1){f=f-1|0;e=j;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=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=1;continue;case 1:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=2;continue;case 2:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=3;continue;case 3:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=4;continue;case 4:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=5;continue;case 5:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=6;continue;case 6:b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=(D[c|0]<<2)+d|0;A[a|0]=D[b|0];A[a+1|0]=D[b+1|0];A[a+2|0]=D[b+2|0];b=e-1|0;a=a+3|0;c=c+1|0;f:{if((e|0)>1){e=b;break f}a=a+g|0;c=c+h|0;if(f){continue b}break a}b=0;continue}}}}function Qt(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{if((b|0)!=1196445523){f=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;f=F[a+16>>2]<10?84608:C[a+12>>2]}g=D[f+6|0]|D[f+7|0]<<8;if(g){b=f+((g<<8|g>>>8)&65535)|0}else{b=84608}a=65535;b=D[b|0]|D[b+1|0]<<8;e=0;c:{d:{e:{if(!b){break e}i=(b<<8|b>>>8)&65535;f:{if(g){e=1;b=0;f=f+((g<<8|g>>>8)&65535)|0;g=D[f|0]|D[f+1|0]<<8;h=g?f+2|0:84608;h=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))!=(c|0)){break f}a=0;if(d){break d}break c}b=0;e=1;g=D[84611];f=E[42304];h=D[84610];if((((f?g:D[84609])&255)<<16|(f?h:D[84608])<<24|((f?D[84612]:h)&255)<<8|(f?D[84613]:g)&255)==(c|0)){a=0;if(d){break d}break c}f=(f<<8|f>>>8)&65535;g=i>>>0<=1?1:i;g:{while(1){b=b+1|0;if((g|0)!=(b|0)){e=b>>>0>=f>>>0?84608:I(b,6)+84610|0;e=E[e>>1]|E[e+2>>1]<<16;if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))!=(c|0)){continue}break g}break}e=b>>>0>>0;break e}e=b>>>0>>0;a=b;if(d){break d}break c}g=(g<<8|g>>>8)&65535;h=i>>>0<=1?1:i;h:{while(1){b=b+1|0;if((h|0)==(b|0)){break h}e=b>>>0>=g>>>0?84608:(f+I(b,6)|0)+2|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))!=(c|0)){continue}break}e=b>>>0>>0;a=b;if(d){break d}break c}e=b>>>0>>0}if(!d){break c}}C[d>>2]=a}return e}function nB(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b&255;j=b>>>24|0;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){k=(I(e,k)>>>0)/255|0;l=(I(e,l)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+k|0;c=((I(c,m)>>>0)/255|0)+l|0;d=((I(d,m)>>>0)/255|0)+j|0;break a;case 1:b=b+k|0;b=b>>>0>=255?255:b;c=c+l|0;c=c>>>0>=255?255:c;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,k)&65535)>>>0)/255|0;c=((I(c,l)&65535)>>>0)/255|0;d=((I(d,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+l|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function _A(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b>>>24|0;j=b&255;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){l=(I(e,l)>>>0)/255|0;k=(I(e,k)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+l|0;c=((I(c,m)>>>0)/255|0)+k|0;d=((I(d,m)>>>0)/255|0)+j|0;break a;case 1:b=b+l|0;b=b>>>0>=255?255:b;c=c+k|0;c=c>>>0>=255?255:c;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,l)&65535)>>>0)/255|0;c=((I(c,k)&65535)>>>0)/255|0;d=((I(d,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+l|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function GB(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b>>>24|0;j=b&255;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){k=(I(e,k)>>>0)/255|0;l=(I(e,l)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+j|0;c=((I(c,m)>>>0)/255|0)+k|0;d=((I(d,m)>>>0)/255|0)+l|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=c+k|0;c=c>>>0>=255?255:c;d=d+l|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,j)&65535)>>>0)/255|0;c=((I(c,k)&65535)>>>0)/255|0;d=((I(d,l)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+l|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function GA(a){a=a|0;var 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;f=C[a+28>>2];g=f-1|0;C[a+28>>2]=g;p=(C[a+4>>2]<<16)/C[a+24>>2]|0;q=(C[a+8>>2]<<16)/(f|0)|0;if(f){f=C[a+52>>2];r=f&48;s=(p|0)/2|0;o=(q|0)/2|0;t=(f&240)-16>>>4|0;f=C[a+20>>2];while(1){n=C[a+24>>2];if(n){u=o>>>16|0;v=C[a>>2];g=f;i=s;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(i>>>14&262140)>>2];e=b&255;j=b>>>24|0;k=b>>>8&255;l=b>>>16&255;b=C[g>>2];c=b>>>8|0;d=b>>>16|0;if(!(!r|(e|0)==255)){l=(I(e,l)>>>0)/255|0;k=(I(e,k)>>>0)/255|0;j=(I(e,j)>>>0)/255|0}n=n-1|0;h=b>>>24|0;b=b&255;c=c&255;d=d&255;a:{b:{switch(t|0){case 0:m=e^255;h=e+((I(m,h)>>>0)/255|0)|0;b=((I(b,m)>>>0)/255|0)+j|0;c=((I(c,m)>>>0)/255|0)+l|0;d=((I(d,m)>>>0)/255|0)+k|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=c+l|0;c=c>>>0>=255?255:c;d=d+k|0;d=d>>>0>=255?255:d;break a;case 3:b=((I(b,j)&65535)>>>0)/255|0;c=((I(c,l)&65535)>>>0)/255|0;d=((I(d,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=e;e=e^255;h=(I(m+e|0,h)>>>0)/255|0;h=h>>>0>=255?255:h;b=(I(e+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+l|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(e+k|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=c<<8|d<<16|b|h<<24;g=g+4|0;i=i+p|0;if(n){continue}break}g=C[a+28>>2]}i=g;g=i-1|0;C[a+28>>2]=g;o=o+q|0;f=C[a+32>>2]+f|0;if(i){continue}break}C[a+20>>2]=f}}function qC(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,s)>>>0)/255|0;g=(I(g,q)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:b=((I(b,j)>>>0)/255|0)+g|0;d=((I(d,j)>>>0)/255|0)+h|0;c=((I(c,j)>>>0)/255|0)+i|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;c=c+i|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,g)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(i+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[f>>2]=d<<8|c<<16|b;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function mC(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,s)>>>0)/255|0;g=(I(g,q)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:c=((I(c,j)>>>0)/255|0)+g|0;d=((I(d,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+i|0;break a;case 1:c=c+g|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,g)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(g+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[f>>2]=d<<8|b|c<<16;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function aC(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;g=(I(g,s)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:b=((I(b,j)>>>0)/255|0)+i|0;d=((I(d,j)>>>0)/255|0)+h|0;c=((I(c,j)>>>0)/255|0)+g|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;c=c+g|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;c=(I(c,g)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;c=(I(g+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[f>>2]=d<<8|c<<16|b;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function YB(a){a=a|0;var 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;e=C[a+28>>2];f=e-1|0;C[a+28>>2]=f;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(e|0)|0;if(e){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];e=C[a+52>>2];l=e&2?D[a+63|0]:255;t=(e&48)!=0&(l|0)!=255;j=l^255;u=e&1;v=(o|0)/2|0;n=(p|0)/2|0;w=(e&240)-16>>>4|0;e=C[a+20>>2];while(1){m=C[a+24>>2];if(m){x=n>>>16|0;y=C[a>>2];f=e;k=v;while(1){b=C[(I(C[a+12>>2],x)+y|0)+(k>>>14&262140)>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;c=C[f>>2];if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;g=(I(g,s)>>>0)/255|0}if(t){h=(I(h,l)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;g=(I(g,l)>>>0)/255|0}m=m-1|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(w|0){case 0:c=((I(c,j)>>>0)/255|0)+i|0;d=((I(d,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+g|0;break a;case 1:c=c+i|0;c=c>>>0>=255?255:c;d=d+h|0;d=d>>>0>=255?255:d;b=b+g|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;b=(I(b,g)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(i+j|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;d=(I(h+j|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[f>>2]=d<<8|b|c<<16;f=f+4|0;k=k+o|0;if(m){continue}break}f=C[a+28>>2]}k=f;f=k-1|0;C[a+28>>2]=f;n=n+p|0;e=C[a+32>>2]+e|0;if(k){continue}break}C[a+20>>2]=e}}function ur(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Ce-16|0;Ce=e;C[e+4>>2]=0;a=C[b+72>>2];o=Fe[C[a+156>>2]](b,C[b+76>>2],32,e+4|0,C[a+20>>2])|0;is(c);j=C[c+52>>2];k=C[c+80>>2];if(k){l=C[c+100>>2];m=C[c+92>>2];p=j&-2;while(1){a:{b:{if(!o){break b}a=I(h,20);d=a+m|0;if(!sr(C[d>>2])){break b}C[d>>2]=C[e+4>>2];a=a+l|0;C[a>>2]=0;C[a+4>>2]=0;break a}a=I(h,20);f=a+m|0;d=C[f>>2];C[f>>2]=0;i=d;d=C[b+72>>2];Fe[C[d+156>>2]](b,C[b+76>>2],i,f,C[d+20>>2])|0;q=C[f>>2];a=a+l|0;C[a>>2]=0;C[a+4>>2]=0;r=C[b+76>>2];g=C[b+72>>2];n=(p|0)!=4;c:{if(!n){d=g+32|0;g=g+168|0;i=a;break c}d=g+36|0;g=g+172|0;i=a+4|0}s=i,t=Fe[C[g>>2]](b,r,q,C[d>>2])|0,C[s>>2]=t;d=C[f>>2];d:{if(!n){pj(b,d,e+12|0,e+8|0);break d}Fx(b,d,e+12|0,e+8|0)}C[a+8>>2]=C[a+8>>2]-C[e+12>>2];C[a+12>>2]=C[a+12>>2]-C[e+8>>2]}h=h+1|0;if((k|0)!=(h|0)){continue}break}}if((j&-3)==5){Vr(c)}d=C[c+80>>2];e:{if(!d){break e}a=C[c+92>>2];c=0;b=0;if(d>>>0>=4){g=d&-4;h=0;while(1){f=a+I(b,20)|0;C[f+4>>2]=C[f+4>>2]&-2;f=a+I(b|1,20)|0;C[f+4>>2]=C[f+4>>2]&-2;f=a+I(b|2,20)|0;C[f+4>>2]=C[f+4>>2]&-2;f=a+I(b|3,20)|0;C[f+4>>2]=C[f+4>>2]&-2;b=b+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}d=d&3;if(!d){break e}while(1){g=a+I(b,20)|0;C[g+4>>2]=C[g+4>>2]&-2;b=b+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Ce=e+16|0;return 1}function Fw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;a:{b:{d=C[a+24>>2];c:{if(d){d=d-1|0;C[a+24>>2]=d;if(d>>>0>=F[a+32>>2]){d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;l(0,f|0);l(1,d|0);i=+n();break c}i=H[C[a+36>>2]+(d<<3)>>3];break c}A[a+20|0]=1;d=C[21153];f=C[21152];C[104428]=f;C[104429]=d;l(0,f|0);l(1,d|0);i=+n()}d:{if(K(i)<2147483648){d=~~i;break d}d=-2147483648}f=d+C[b>>2]|0;e:{if((f|0)<0){break e}d=C[b+4>>2];if(!d){break e}d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=f>>>0){break e}e=C[a+92>>2];if(e>>>0<10){break b}}A[a+40|0]=1;break a}d=C[a+4>>2];C[a+44>>2]=C[a>>2];C[a+48>>2]=d;A[a+60|0]=D[a+16|0];d=C[a+12>>2];C[a+52>>2]=C[a+8>>2];C[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){C[a+92>>2]=e+1;h=C[d+4>>2];e=C[a+104>>2]+I(e,28)|0;C[e>>2]=C[d>>2];C[e+4>>2]=h;C[e+24>>2]=C[d+24>>2];h=C[d+20>>2];C[e+16>>2]=C[d+16>>2];C[e+20>>2]=h;h=C[d+12>>2];C[e+8>>2]=C[d+8>>2];C[e+12>>2]=h;break f}A[a+88|0]=1}g:{h:{b=C[b+4>>2];if(b){e=D[b|0]|D[b+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>f>>>0){break h}}C[g+8>>2]=C[21154];b=C[21153];C[g>>2]=C[21152];C[g+4>>2]=b;break g}sm(g,b,f)}b=C[g+4>>2];C[d>>2]=C[g>>2];C[d+4>>2]=b;C[d+8>>2]=C[g+8>>2];C[a+68>>2]=f;C[a- -64>>2]=c;A[a+60|0]=0;C[a+56>>2]=0;A[a+16|0]=D[d+16|0];b=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=b;b=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=b}Ce=g+16|0}function hk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=C[a+88>>2];if(A[a+8|0]&1){a:{b:{c:{d:{e:{switch(C[b>>2]){case 0:g=E[a+68>>1];e=g;break c;case 2:f=C[a+60>>2]-C[a+52>>2]|0;e=C[a- -64>>2]-C[a+56>>2]|0;break d;case 3:f=B[a+76>>1];e=B[a+70>>1]-B[a+72>>1]|0;break d;case 4:d=C[b+4>>2];C[c+16>>2]=d;e=C[b+8>>2];C[c+20>>2]=e;if(!d){C[c+16>>2]=e;d=0;break b}if(e){d=0;break b}C[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=B[a+70>>1]-B[a+72>>1]|0;e=f}d=e;d=d>>31;e=(e^d)-d|0;d=f>>31;g=(d^f)-d|0}h=C[b+4>>2];f=h;d=C[b+12>>2];if(d){f=(I(d,h)+36|0)/72|0}d=C[b+8>>2];i=C[b+16>>2];if(i){d=(I(d,i)+36|0)/72|0}if(h){h=Ze(f,g);C[c+16>>2]=h;if(C[b+8>>2]){g=Ze(d,e);C[c+20>>2]=g;e=C[b>>2];if((e|0)!=3){break a}e=C[c+16>>2];if((e|0)<(g|0)){C[c+20>>2]=e;break b}C[c+16>>2]=g;break b}C[c+20>>2]=h;d=of(f,e,g);break b}f=Ze(d,e);C[c+16>>2]=f;C[c+20>>2]=f;f=of(d,g,e)}e=C[b>>2]}if(e){f=Te(E[a+68>>1],C[c+16>>2]);d=Te(E[a+68>>1],C[c+20>>2])}B[c+14>>1]=d+32>>>6;B[c+12>>1]=f+32>>>6;j=c,k=Te(B[a+70>>1],C[c+20>>2])+63&-64,C[j+24>>2]=k;j=c,k=Te(B[a+72>>1],C[c+20>>2])&-64,C[j+28>>2]=k;j=c,k=Te(B[a+74>>1],C[c+20>>2])+32&-64,C[j+32>>2]=k;j=c,k=Te(B[a+76>>1],C[c+16>>2])+32&-64,C[j+36>>2]=k;return}C[c+12>>2]=0;C[c+16>>2]=0;C[c+36>>2]=0;C[c+28>>2]=0;C[c+32>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;C[c+16>>2]=65536;C[c+20>>2]=65536}function ks(a,b,c,d,e,f,g,h,i){var j=J(0),k=J(0),l=0,m=J(0),n=J(0),o=J(0),p=0,q=0,r=0,s=J(0),t=0,u=0,v=0,w=0,x=0,y=0,z=J(0);m=J(c|0);n=J(b|0);k=J(m/n);l=0;a:{if((b|0)==(c|0)){break a}l=512;if((b|0)<=(c|0)){break a}j=J(P(J(J(b<<9)/m)));if(J(K(j))0){m=J(J(1)/m);while(1){o=J(1);j=J(s*n);c:{if(J(K(j))>31&l)|0,a)+i<<2)>>2];c=g<<2;j=J(J(z*J(J(o*G[c+161504>>2])+G[c+151248>>2]))+j);b=b+1|0;g=(b<<9)+u|0;if((g|0)<2561){continue}break}}b=0;c=v;if((c|0)<2561){while(1){x=b+w|0;g=(x|0)<(q|0);c=c<<2;j=J(J(G[(g?f:e)+(I(x-(g?0:q)|0,a)+i<<2)>>2]*J(J(k*G[c+161504>>2])+G[c+151248>>2]))+j);b=b+1|0;c=(b<<9)+v|0;if((c|0)<2561){continue}break}}G[h>>2]=j;h=h+4|0;i=i+1|0;if((i|0)!=(a|0)){continue}break}}s=J(m+s);y=y+1|0;if((y|0)!=(r|0)){continue}break}}return I(p,r)}function Gr(){var a=0,b=0,c=0,d=0,e=0;a:{if(!C[105668]){break a}C[105694]=0;ji(0);b=C[105668];if(!b){break a}a=C[105695];if(!a){break a}C[a+48>>2]=C[a+48>>2]&-16385;C[105695]=0;if((Fe[b|0](0)|0)>=0){break a}C[a+48>>2]=C[a+48>>2]|16384;C[105695]=a}qn(0);a=C[105703];C[105703]=1;b:{if((a|0)==1){break b}a=C[105662];b=C[(C[105671]?422808:422804)>>2];if(!(C[105681]|!b)){if(!a){break b}Fe[a|0](b)|0;break b}if(!a){break b}Fe[a|0](0)|0}d=C[105700];if(d){while(1){c=d;d=C[c>>2];b=C[105701];c:{if((c|0)==(b|0)){break c}d:{if(C[105702]!=(c|0)){break d}e:{if(b){C[105702]=b;break e}b=C[105671]?c:0}a=C[105662];if(!(C[105681]|(!b|!C[105703]))){if(!a){break d}Fe[a|0](b)|0;break d}if(!a){break d}Fe[a|0](0)|0}a=0;b=422800;while(1){e=a;b=C[b>>2];if(!b){break c}a=b;if((c|0)!=(a|0)){continue}break}C[(e?e:422800)>>2]=C[c>>2];a=C[105664];if(!a){break c}Fe[a|0](c)}if(d){continue}break}}C[105702]=0;C[105700]=0;a=C[105701];f:{if(!a){break f}b=C[105664];if(!b){break f}Fe[b|0](a);C[105701]=0}a=C[105697];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[105697]=0}C[105696]=0;a=C[105699];if(a){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[105699]=0}C[105698]=0;Xg(26907,380,422640);Xg(23844,381,422640);Xg(27212,382,422640);Xg(27241,383,422640);Xg(23924,384,422640);Xg(23901,385,422640);Xg(26861,386,422640);Xg(25189,387,422640)}function $o(a,b,c,d,e,f,g){var 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;q=Ce-16|0;Ce=q;v=a+24|0;w=!d|!e;t=-1;u=-1;r=-1;s=-1;n=-1;o=b;l=c;a:{while(1){j=C[a>>2];if(!j){h=-129;p=-1;break a}h=(l|0)<=0&o>>>0<=65536|(l|0)<0;i=h?65536:o;o=i-65536|0;k=o;m=(h?0:l)-(i>>>0<65536)|0;l=m;if(C[a+8>>2]!=(k|0)|(l|0)!=C[a+12>>2]){h=-128;p=-1;i=C[a+708>>2];if(!i){break a}if((Fe[i|0](j,o,l,0)|0)==-1){break a}C[a+8>>2]=o;C[a+12>>2]=l;if(C[v+4>>2]>=0){i=v;C[i+8>>2]=0;C[i+12>>2]=0;C[i+24>>2]=0;C[i+16>>2]=0;C[i+20>>2]=0}m=C[a+12>>2];k=C[a+8>>2]}i=-1;j=-1;b:{if((c|0)<=(m|0)&b>>>0<=k>>>0|(c|0)<(m|0)){break b}while(1){x=i;y=j;h=-128;p=-1;i=Lg(a,q,b-k|0,c-((b>>>0>>0)+m|0)|0);j=Ee;if((i|0)==-128&(j|0)==-1){break a}if((j|0)<0){i=x;j=y;break b}h=C[q>>2];t=D[h+6|0]|D[h+7|0]<<8|(D[h+8|0]<<16|D[h+9|0]<<24);u=D[h+10|0]|D[h+11|0]<<8|(D[h+12|0]<<16|D[h+13|0]<<24);r=D[h+14|0]|D[h+15|0]<<8|(D[h+16|0]<<16|D[h+17|0]<<24);if((r|0)==C[f>>2]){C[g>>2]=t;C[g+4>>2]=u;n=j;s=i}k=e;h=d;c:{if(w){s=-1;n=-1;break c}while(1){if(C[h>>2]==(r|0)){break c}h=h+4|0;k=k-1|0;if(k){continue}break}s=-1;n=-1}k=C[a+8>>2];m=C[a+12>>2];h=m;if(b>>>0>k>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){continue}break}}if((i&j)==-1){continue}break}h=s;p=n;if((n|0)>0|(n|0)>=0){break a}C[f>>2]=r;C[g>>2]=t;C[g+4>>2]=u;h=i;p=j}Ce=q+16|0;Ee=p;return h}function Jt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=c;c=-1;a:{b:{if((b|0)!=1196445523){g=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;g=F[a+16>>2]<10?84608:C[a+12>>2]}a=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>=65537){a=D[g+10|0]|D[g+11|0]<<8|(D[g+12|0]<<16|D[g+13|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);g=a?a+g|0:84608}else{g=84608}a=g;a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);c:{if(!l){break c}a=0;while(1){b=(a<<3)+g|0;b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);i=b?b+g|0:84608;b=D[i|0]|D[i+1|0]<<8;if(!b){c=a;break c}j=(b<<8|b>>>8)&65535;o=j>>>0<=1?1:j;m=0;b=0;while(1){d:{f=(b<<2)+i|0;f=D[f+2|0]|D[f+3|0]<<8|(D[f+4|0]<<16|D[f+5|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);h=f?f+i|0:84608;if((D[h|0]|D[h+1|0]<<8)!=256){break d}k=0;f=D[h+2|0]|D[h+3|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>>0){k=C[(f<<2)+n>>2]}f=D[h+4|0]|D[h+5|0]<<8;if((f<<8|f>>>8)<<16>>16>(k|0)){break d}f=D[h+6|0]|D[h+7|0]<<8;if((f<<8|f>>>8)<<16>>16<(k|0)){break d}b=b+1|0;m=j>>>0<=b>>>0;if((b|0)!=(o|0)){continue}}break}if(m){c=a;break c}a=a+1|0;if((l|0)!=(a|0)){continue}break}}C[e>>2]=c}function gC(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];d=C[a+52>>2];k=d&2?D[a+63|0]:255;t=(d&48)!=0&(k|0)!=255;u=d&1;g=k^255;v=k+g|0;w=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){c=C[o>>2];b=C[d>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;if(u){h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0;j=(I(j,s)>>>0)/255|0}if(t){h=(I(h,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0}p=p-1|0;l=c>>>24|0;b=c&255;e=c>>>8&255;f=c>>>16&255;a:{b:{switch(w|0){case 0:l=((I(g,l)>>>0)/255|0)+k|0;b=((I(b,g)>>>0)/255|0)+h|0;e=((I(e,g)>>>0)/255|0)+i|0;f=((I(f,g)>>>0)/255|0)+j|0;break a;case 1:b=b+h|0;b=b>>>0>=255?255:b;c=e+i|0;e=c>>>0>=255?255:c;c=j+f|0;f=c>>>0>=255?255:c;break a;case 3:b=(I(b,h)>>>0)/255|0;e=(I(e,i)>>>0)/255|0;f=(I(j,f)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(l,v)>>>0)/255|0;l=c>>>0>=255?255:c;b=(I(h+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+g|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;c=(I(j+g|0,f)>>>0)/255|0;f=c>>>0>=255?255:c}C[o>>2]=e<<8|f<<16|b|l<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function RB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){q=D[a+62|0];r=D[a+61|0];s=D[a+60|0];d=C[a+52>>2];k=d&2?D[a+63|0]:255;t=(d&48)!=0&(k|0)!=255;u=d&1;g=k^255;v=k+g|0;w=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){c=C[o>>2];b=C[d>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;if(u){i=(I(i,r)>>>0)/255|0;h=(I(h,s)>>>0)/255|0;j=(I(j,q)>>>0)/255|0}if(t){i=(I(i,k)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;j=(I(j,k)>>>0)/255|0}p=p-1|0;l=c>>>24|0;b=c&255;e=c>>>8&255;f=c>>>16&255;a:{b:{switch(w|0){case 0:l=((I(g,l)>>>0)/255|0)+k|0;b=((I(b,g)>>>0)/255|0)+j|0;e=((I(e,g)>>>0)/255|0)+i|0;f=((I(f,g)>>>0)/255|0)+h|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=e+i|0;e=c>>>0>=255?255:c;c=f+h|0;f=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;e=(I(e,i)>>>0)/255|0;f=(I(f,h)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(l,v)>>>0)/255|0;l=c>>>0>=255?255:c;b=(I(j+g|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(i+g|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;c=(I(h+g|0,f)>>>0)/255|0;f=c>>>0>=255?255:c}C[o>>2]=e<<8|f<<16|b|l<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function Kp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[d+12>>2]=C[a>>2];c=C[a+8>>2];vg(d+12|0,c);b=C[d+12>>2];a:{if(c>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{f=D[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 c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}C[d+12>>2]=b+1;break b}if((f|0)!=123){break c}e=px(d+12|0,c);break a}e=Jp(d+12|0,c);break a}if(!(D[b+1|0]!=60|b+1>>>0>=c>>>0)){C[d+12>>2]=b+2;break b}e=ox(d+12|0,c);break a}f=b+1|0;C[d+12>>2]=f;e=3;if(D[f|0]!=62|c>>>0<=f>>>0){break a}C[d+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=c>>>0){break j}while(1){k:{switch(D[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 j;default:break k}}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}C[d+12>>2]=b}e=0}b=c;c=C[d+12>>2];if(b>>>0>c>>>0){e=(c|0)==C[a>>2]?3:e}C[a>>2]=c;C[a+12>>2]=e;Ce=d+16|0}function xB(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b>>>24|0;e=b>>>8&255;i=b>>>16&255;if(u){e=(I(e,p)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;d=(((I(d,e)&65535)>>>0)/255|0)+h|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function rB(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b>>>24|0;e=b>>>8&255;i=b>>>16&255;if(u){e=(I(e,p)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;c=(((I(c,e)&65535)>>>0)/255|0)+h|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(d,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function gB(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b&255;i=b>>>8&255;e=b>>>16&255;if(u){i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;d=(((I(d,e)&65535)>>>0)/255|0)+h|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function cB(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];h=b&255;i=b>>>8&255;e=b>>>16&255;if(u){i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0;h=(I(h,r)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){e=(I(e,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;c=(((I(c,e)&65535)>>>0)/255|0)+h|0;break a;case 1:d=d+e|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(d,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function RA(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;d=(((I(e,d)&65535)>>>0)/255|0)+h|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;d=d+h|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;d=(I(d,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+h|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function NB(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b&255;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;c=n+(((I(e,c)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+h|0;d=(((I(e,d)&65535)>>>0)/255|0)+i|0;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+h|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;c=(I(n+e|0,c)>>>0)/255|0;c=c>>>0>=255?255:c;b=(I(e+h|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(e+i|0,d)>>>0)/255|0;d=d>>>0>=255?255:d}C[g>>2]=b<<8|d<<16|c;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function LA(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b>>>24|0;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,r)>>>0)/255|0;i=(I(i,q)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b&255;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){i=(I(i,j)>>>0)/255|0;h=(I(h,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+i|0;c=(((I(c,e)&65535)>>>0)/255|0)+h|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(e,d)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+h|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function JB(a){a=a|0;var 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;f=C[a+28>>2];c=f-1|0;C[a+28>>2]=c;if(f){o=D[a+63|0];p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];f=C[a+52>>2];s=f&48;t=f&2;u=f&1;v=(f&240)-16>>>4|0;f=C[a+20>>2];k=C[a>>2];while(1){g=f;m=k;l=C[a+24>>2];if(l){while(1){c=C[g>>2];b=C[m>>2];e=b&255;h=b>>>8&255;i=b>>>16&255;if(u){h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0;e=(I(e,p)>>>0)/255|0}b=b>>>24|0;j=t?(I(b,o)>>>0)/255|0:b;b=c>>>8|0;d=c>>>16|0;if(!(!s|j>>>0>254)){h=(I(h,j)>>>0)/255|0;i=(I(i,j)>>>0)/255|0;e=(I(e,j)>>>0)/255|0}l=l-1|0;c=c&255;b=b&255;d=d&255;a:{b:{switch(v|0){case 0:n=e;e=255-j|0;d=n+(((I(e,d)&65535)>>>0)/255|0)|0;b=(((I(b,e)&65535)>>>0)/255|0)+h|0;c=(((I(c,e)&65535)>>>0)/255|0)+i|0;break a;case 1:d=e+d|0;d=d>>>0>=255?255:d;b=b+h|0;b=b>>>0>=255?255:b;c=c+i|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(e,d)>>>0)/255|0;b=(I(b,h)>>>0)/255|0;c=(I(c,i)>>>0)/255|0;break a;case 7:break b;default:break a}}n=e;e=255-j|0;d=(I(n+e|0,d)>>>0)/255|0;d=d>>>0>=255?255:d;b=(I(e+h|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+i|0,c)>>>0)/255|0;c=c>>>0>=255?255:c}C[g>>2]=b<<8|c|d<<16;g=g+4|0;m=m+4|0;if(l){continue}break}g=C[a+28>>2]}else{g=c}c=g-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;k=C[a+12>>2]+k|0;if(g){continue}break}C[a+20>>2]=f;C[a>>2]=k}}function di(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;g=Ce-48|0;Ce=g;a:{if(!(c?a:0)){C[g>>2]=3296;b=Qe(19745,g);break a}if(C[a+28>>2]|C[c+28>>2]){b=Qe(4278,0);break a}if(!d){C[g+32>>2]=0;C[g+36>>2]=0;C[g+40>>2]=C[c+8>>2];C[g+44>>2]=C[c+12>>2];d=g+32|0}b:{if(b){i=C[b+8>>2];j=C[b>>2];if((j|0)<0){C[d>>2]=C[d>>2]-j;i=i+j|0;j=0}f=C[a+8>>2]-j|0;h=(f|0)<(i|0);e=C[b+12>>2];k=C[b+4>>2];if((k|0)<0){C[d+4>>2]=C[d+4>>2]-k;e=e+k|0;k=0}b=h?f:i;f=C[a+12>>2]-k|0;i=(e|0)>(f|0)?f:e;break b}b=C[a+8>>2];i=C[a+12>>2]}e=C[c+36>>2];h=C[d>>2];f=e-h|0;c:{if((f|0)<=0){f=e;e=h;break c}C[d>>2]=e;j=f+j|0;b=b-f|0;f=C[c+36>>2]}e=b+e-(C[c+44>>2]+f)|0;m=(e|0)>0?e:0;e=C[c+40>>2];h=C[d+4>>2];f=e-h|0;d:{if((f|0)<=0){f=e;e=h;break d}C[d+4>>2]=e;k=f+k|0;i=i-f|0;f=C[c+40>>2]}n=C[c+48>>2];h=C[a+52>>2];l=C[h+68>>2];if(l&512){C[h+68>>2]=l&-513;ag(h)}e:{b=b-m|0;if((b|0)<=0){break e}e=e+i-(f+n)|0;e=i-((e|0)>0?e:0)|0;if((e|0)<=0){break e}C[g+20>>2]=k;C[g+16>>2]=j;C[d+8>>2]=b;C[g+24>>2]=b;C[d+12>>2]=e;C[g+28>>2]=e;b=C[a+52>>2];f:{g:{if(C[b>>2]!=(c|0)){break g}e=C[C[c+4>>2]+4>>2];if(C[b+80>>2]!=C[e+8>>2]?e:0){break g}e=C[C[a+4>>2]+4>>2];if(!e|C[b+84>>2]==C[e+8>>2]){break f}}b=-1;if((Dj(a,c)|0)<0){break a}b=C[a+52>>2]}b=Fe[C[b+8>>2]](a,g+16|0,c,d)|0;break a}C[d+8>>2]=0;C[d+12>>2]=0;b=0}Ce=g+48|0;return b}function NM(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;i=-1;g=C[a+16>>2];a=D[g+6|0]|D[g+7|0]<<8|(D[g+8|0]<<16|D[g+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+I(e,11)|0;h=d-3|0;h=D[h+1|0]<<8|D[h|0]<<16|D[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}if(!d){break a}e=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d:{a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);a=a<<24|(a&65280)<<8|(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;j=h+(a<<2)|0;d=j-3|0;d=D[d+1|0]<<8|D[d|0]<<16|D[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+D[j|0]>>>0>>0){continue}break}break a}a=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);a=a<<24|(a&65280)<<8|(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+I(c,5)|0;d=e-3|0;d=D[d+1|0]<<8|D[d|0]<<16|D[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(D[e+1|0]|D[e|0]<<8){break a}}i=-1}return i|0}function OM(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,j=0;a:{i=C[a+16>>2];a=D[i+6|0]|D[i+7|0]<<8|(D[i+8|0]<<16|D[i+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+I(f,11)|0;h=e-3|0;h=D[h+1|0]<<8|D[h|0]<<16|D[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}if(!e){break b}f=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);e:{a=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);a=a<<24|(a&65280)<<8|(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;j=h+(a<<2)|0;e=j-3|0;e=D[e+1|0]<<8|D[e|0]<<16|D[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+D[j|0]>>>0>>0){continue}break}return Fe[C[C[b+12>>2]+12>>2]](b,c)|0}a=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+I(b,5)|0;f=d-3|0;f=D[f+1|0]<<8|D[f|0]<<16|D[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 D[d+1|0]|D[d|0]<<8}function so(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}h=C[b+12>>2]-4|0;C[b+12>>2]=h;if((h|0)<=0){break a}e=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break a}if(!e){return 1}f=a+4|0;if(f>>>0>d>>>0){break a}f=d-f|0;d=e<<2;if(f>>>0>>0){break a}d=h-d|0;C[b+12>>2]=d;if((d|0)<=0){break a}g=1;d=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);l=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!l){break a}h=0;while(1){f=C[c>>2];g=0;d=((h<<2)+a|0)+4|0;i=C[b+4>>2];b:{if(d>>>0>>0){break b}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break b}j=C[b+12>>2];k=j-4|0;C[b+12>>2]=k;if((k|0)<=0){break b}k=A[d|0];if((k|0)<0){break b}g=D[d+3|0]|(D[d+1|0]<<16|(k&255)<<24|D[d+2|0]<<8);if(g){f=f+g|0;c:{if(f>>>0>>0|e>>>0>>0|e-f>>>0<4){break c}i=j-8|0;C[b+12>>2]=i;if((i|0)<=0){break c}j=C[b+36>>2]+1|0;if(j>>>0>1073741822){break c}g=1;if(!j){break b}f=f+4|0;if(f>>>0>e>>>0){break c}f=e-f|0;e=j<<2;if(f>>>0>>0){break c}e=i-e|0;C[b+12>>2]=e;if((e|0)>0){break b}}g=0;e=C[b+28>>2];if(e>>>0>31){break b}C[b+28>>2]=e+1;if(!D[b+24|0]){break b}A[d|0]=0;A[d+1|0]=0;A[d+2|0]=0;A[d+3|0]=0}g=1}if(!g){break a}h=h+1|0;if((l|0)!=(h|0)){continue}break}}return g}function gk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ce-16|0;Ce=d;j=C[a+48>>2];a:{if(!j){b=Ix(a,b);break a}k=a- -64|0;g=k+(b<<5)|0;f=I(b,-11796480)+5898240|0;i=C[a+60>>2];b:{if((j|0)==1){break b}e=gg(C[a>>2],C[a+4>>2]);c:{if((e|0)==11796480){e=f;h=C[a>>2];break c}e=(e|0)/2|0;h=C[a>>2]+(f+e|0)|0}l=fk(e);d:{m=Te(C[a+56>>2],l);if((m|0)>65535){break d}if((j|0)!=2){break b}b=e>>31;if((b^e)-b>>>0<=57){break d}Vf(d+8|0,Te(i,C[a+56>>2]),h);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];e=ek(e);b=e>>31;e=of(i,65536-m|0,(b^e)-b|0);Vf(d,e,f+h|0);C[d>>2]=C[d>>2]+C[d+8>>2];C[d+4>>2]=C[d+4>>2]+C[d+12>>2];b=ig(g,d,0);if(b){break a}Vf(d,e,h-f|0);C[d>>2]=C[d>>2]+C[d+8>>2];C[d+4>>2]=C[d+4>>2]+C[d+12>>2];b=ig(g,d,0);if(b){break a}b=0;if(c){break a}Vf(d,i,C[a+4>>2]+f|0);C[d>>2]=C[d>>2]+C[a+8>>2];C[d+4>>2]=C[d+4>>2]+C[a+12>>2];b=ig(g,d,0);break a}b=d+8|0;Vf(b,Ze(C[a+60>>2],l),h);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];b=ig(g,b,0);if(b){break a}b=0;if(c){break a}b=d+8|0;Vf(b,C[a+60>>2],C[a+4>>2]+f|0);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];b=ig(g,b,0);break a}c=d+8|0;Vf(c,i,C[a+4>>2]+f|0);C[d+8>>2]=C[d+8>>2]+C[a+8>>2];C[d+12>>2]=C[d+12>>2]+C[a+12>>2];A[((b<<5)+k|0)+16|0]=0;b=ig(g,c,0)}Ce=d+16|0;return b}function Og(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a>>2];a:{if(F[a+40>>2]<=b+C[a+36>>2]>>>0){break a}while(1){b=b+1|0;C[a>>2]=b;b:{c=C[a+4>>2];e=C[C[c+100>>2]+92>>2]+I(b,20)|0;b=E[e+12>>1];d=C[a+8>>2];if(b&d&14){break b}c:{if(!(b&8)){break c}if(d&16){b=C[c+108>>2];c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break b}c=D[b+12|0]|D[b+13|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=84608}if((D[b|0]|D[b+1|0]<<8)!=256){break b}c=b;d=d>>>16|0;f=(b+(d<<2)|0)+4|0;b=D[b+2|0]|D[b+3|0]<<8;b=d>>>0>=((b<<8|b>>>8)&65535)>>>0?84608:f;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((zf(b?c+b|0:84608,C[e>>2])|0)==-1){break b}b=E[e+12>>1];break c}d=d&65280;if(!d){break c}if((d|0)!=(b&65280)){break b}}d=0;c=E[e+16>>1];if(!(b&16|(c&96)!=32|!D[a+12|0]&(c&543)==513)){d=(c&287)!=257?2:D[a+13|0]<<1}d:{e:{f:{if(!(C[a+16>>2]&C[e+4>>2])){break f}b=C[a+32>>2];c=D[a+20|0];if((c|0)!=D[e+15|0]?c:0){break f}c=C[a+24>>2];if(!c){break e}if(Fe[c|0](C[e>>2],b,C[a+28>>2])|0){b=C[a+32>>2];break d}if(d){break b}return 0}if(d){break b}return 0}if(d){break b}}C[a+36>>2]=C[a+36>>2]-1;g=1;if(!b){break a}C[a+32>>2]=b+2;break a}b=C[a>>2];if(F[a+40>>2]>b+C[a+36>>2]>>>0){continue}break}}return g}function Gq(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;h=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95539];B[c>>1]=((I(h,D[C[95538]+(a>>>5&63)|0])>>>0)/255|0)+f<<3&8160|((I(h,D[b+(a>>>11|0)|0])>>>0)/255|0)+e<<8&63488|((I(h,D[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];b=D[C[95538]+(a>>>5&63)|0]+f|0;d=c;f=(b>>>0>=255?255:b)<<3&2016;b=C[95539];c=D[b+(a>>>11|0)|0]+e|0;a=D[b+(a&31)|0]+g|0;B[d>>1]=f|(c>>>0>=255?255:c)<<8&63488|(a>>>0>=255?255:a)>>>3;return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95539];B[c>>1]=(I(D[C[95538]+(a>>>5&63)|0],f)>>>0)/255<<3&4064|(I(D[b+(a>>>11|0)|0],e)>>>0)/255<<8&63488|(I(D[b+(a&31)|0],g)>>>0)/255>>>3;return 0;case 7:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[c>>1];b=D[C[95538]+(a>>>5&63)|0];b=((I(b,f)>>>0)/255|0)+((I(b,h)>>>0)/255|0)|0;d=c;f=(b>>>0>=255?255:b)<<3&2016;b=C[95539];c=D[b+(a>>>11|0)|0];c=((I(c,e)>>>0)/255|0)+((I(c,h)>>>0)/255|0)|0;a=D[b+(a&31)|0];a=((I(a,g)>>>0)/255|0)+((I(a,h)>>>0)/255|0)|0;B[d>>1]=f|(c>>>0>=255?255:c)<<8&63488|(a>>>0>=255?255:a)>>>3;return 0;default:break a}}B[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)>>1]=f<<3&2016|e<<8&63488|g>>>3;return 0}function ki(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a>>2];a:{if(b>>>0<=C[a+36>>2]-1>>>0){break a}while(1){b=b-1|0;C[a>>2]=b;b:{c=C[a+4>>2];e=C[C[c+100>>2]+96>>2]+I(b,20)|0;b=E[e+12>>1];d=C[a+8>>2];if(b&d&14){break b}c:{if(!(b&8)){break c}if(d&16){b=C[c+108>>2];c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break b}c=D[b+12|0]|D[b+13|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=84608}if((D[b|0]|D[b+1|0]<<8)!=256){break b}c=b;d=d>>>16|0;f=(b+(d<<2)|0)+4|0;b=D[b+2|0]|D[b+3|0]<<8;b=d>>>0>=((b<<8|b>>>8)&65535)>>>0?84608:f;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((zf(b?c+b|0:84608,C[e>>2])|0)==-1){break b}b=E[e+12>>1];break c}d=d&65280;if(!d){break c}if((d|0)!=(b&65280)){break b}}d=0;c=E[e+16>>1];if(!(b&16|(c&96)!=32|!D[a+12|0]&(c&543)==513)){d=(c&287)!=257?2:D[a+13|0]<<1}d:{e:{f:{if(!(C[a+16>>2]&C[e+4>>2])){break f}b=C[a+32>>2];c=D[a+20|0];if((c|0)!=D[e+15|0]?c:0){break f}c=C[a+24>>2];if(!c){break e}if(Fe[c|0](C[e>>2],b,C[a+28>>2])|0){b=C[a+32>>2];break d}if(d){break b}return 0}if(d){break b}return 0}if(d){break b}}C[a+36>>2]=C[a+36>>2]-1;g=1;if(!b){break a}C[a+32>>2]=b+2;break a}b=C[a>>2];if(b>>>0>C[a+36>>2]-1>>>0){continue}break}}return g}function HJ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;f=Ce-16|0;Ce=f;i=1;a=Mv(b+24|0);g=C[a+4>>2];a:{b:{if((g|0)!=131072){if((g|0)!=65536|c>>>0>257){break a}a=c<<2;g=C[a+44256>>2];a=C[a+44260>>2]+(g^-1)|0;g=g+42400|0;break b}g=C[a+8>>2];j=D[g|0]|D[g+1|0]<<8;if(((j<<8|j>>>8)&65535)>>>0<=c>>>0){break a}g=g+(c<<1)|0;g=D[g+2|0]|D[g+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0<=257){a=g<<2;g=C[a+44256>>2];a=C[a+44260>>2]+(g^-1)|0;g=g+42400|0;break b}g=g-258|0;if(g>>>0>=F[a+16>>2]){break a}a=C[a+24>>2]+C[C[a+20>>2]+(g<<2)>>2]|0;g=a+1|0;a=D[a|0]}h=(a|0)!=0;if(!e|!a){break a}h=g;g=e-1|0;a=a>>>0>g>>>0?g:a;k=im(d,h,a)+a|0,l=0,A[k|0]=l;h=1}c:{if(h){break c}a=C[b+56>>2];d:{if(a){break d}while(1){g=C[b>>2];if(!g){a=84608;break d}a=df(1,232);if(!a){a=84608;C[b+56>>2]=84608;break d}cp(a,g);if(!C[b+56>>2]){C[b+56>>2]=a;break d}Re(C[a+228>>2]);C[a+228>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;mg(a);Re(a);a=C[b+56>>2];if(!a){continue}break}}if(!d){break c}i=0;if(!C[a>>2]|C[a+148>>2]!=-1){break c}b=Fv(a,c);e:{if(b>>>0<=390){b=b<<2;a=C[b+40832>>2];b=C[b+40836>>2]+(a^-1)|0;a=a+37376|0;break e}sm(f+4|0,C[a+64>>2],b-391|0);b=C[f+8>>2];a=C[f+4>>2]}if(!b){break c}c=a;a=e-1|0;a=a>>>0>>0?a:b;k=im(d,c,a)+a|0,l=0,A[k|0]=l;i=1}Ce=f+16|0;return i|0}function Ff(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=C[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=D[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=Cf(a,E[b+2>>1]);if(d){break a}d=C[a+32>>2];h=1;b=b+4|0;continue}f=D[b+1|0];e=f+d|0;if(e>>>0>F[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}t(E[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=D[d+1|0]|D[d|0]<<8;f=16;d=d+2|0;break c}e=D[d|0]|D[d+1|0]<<8;f=16;d=d+2|0;break c}e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=D[d+2|0]|(D[d+1|0]<<8|D[d|0]<<16);d=d+3|0;break c}f=8;e=D[d|0]|(D[d+1|0]<<8|D[d+2|0]<<16);d=d+3|0;break c}e=D[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=E[b+2>>1]+c|0;m:{n:{switch(D[b+1|0]-1|0){case 0:A[f|0]=e;break m;case 1:B[f>>1]=e;break m;default:break n}}C[f>>2]=e}b=b+4|0;continue}break}C[a+32>>2]=d;d=0}if(h){if(C[a+20>>2]){b=C[a+28>>2];c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0}C[a+32>>2]=0;C[a+36>>2]=0}return d}function kk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ce-80|0;Ce=d;i=!(D[C[a+11676>>2]+5|0]?D[a+11665|0]:1);e=C[a+11720>>2];f=a+11724|0;g=C[f>>2];if((e|0)!=(b|0)|(g|0)!=(c|0)|i){gq(a,e,g,b,c,d+36|0,d+32|0);g=C[d+36>>2];h=g+C[a+11720>>2]|0;C[d+24>>2]=h;f=C[f>>2];e=C[d+32>>2];C[d+20>>2]=e+c;C[d+16>>2]=b+g;e=e+f|0;C[d+28>>2]=e;if(D[a+11667|0]){C[d+72>>2]=1;f=C[a+11732>>2];C[d+40>>2]=C[a+11728>>2];C[d+44>>2]=f;if(!D[a+20|0]){dl(a,C[a+11736>>2],C[a+11740>>2])}g=Te(C[a+11644>>2],h);f=Te(C[a+11648>>2],e);j=Oh(a+8|0,e);f=f+g|0;k=d,l=(Te(C[C[a>>2]+60>>2],f)+Te(C[C[a>>2]+68>>2],j)|0)+C[a+11656>>2]|0,C[k+48>>2]=l;k=d,l=(Te(C[C[a>>2]- -64>>2],f)+Te(C[C[a>>2]+72>>2],j)|0)+C[a+11660>>2]|0,C[k+52>>2]=l;f=C[a+4>>2];Fe[C[f>>2]](f,d+40|0);f=C[d+48>>2];g=C[d+52>>2];C[a+11704>>2]=h;C[a+11708>>2]=e;C[a+11728>>2]=f;C[a+11732>>2]=g;A[a+11664|0]=1;A[a+11667|0]=0;e=C[d+20>>2];C[a+11712>>2]=C[d+16>>2];C[a+11716>>2]=e}if(D[a+11744|0]){e=C[d+20>>2];C[d+8>>2]=C[d+16>>2];C[d+12>>2]=e;Nm(a,a+8|0,d+24|0,d+8|0,0)}C[a+11748>>2]=2;A[a+11744|0]=1;e=C[d+28>>2];C[a+11752>>2]=C[d+24>>2];C[a+11756>>2]=e;e=C[d+20>>2];C[a+11760>>2]=C[d+16>>2];C[a+11764>>2]=e;if(i){cl(a+8|0,C[a+11668>>2],C[a+11672>>2],C[a+11676>>2],C[a+11680>>2],0)}C[a+11724>>2]=c;C[a+11720>>2]=b}Ce=d+80|0}function ni(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}i=a-20|0;while(1){d=C[i>>2];if(!d){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;c=Qf(d);A[b+40|0]=1;C[b+36>>2]=c;d=Of(d,1330851634);b:{if(!d){break b}c=C[d>>2];if(!c){break b}C[d>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=d;e=C[d+12>>2];C[b+4>>2]=e;f=C[d+16>>2];h=e+f|0;C[b+8>>2]=h;C[b+28>>2]=0;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[b+12>>2]=c;C[b+20>>2]=0;C[b>>2]=0;c:{if(!e){Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break c}d:{if((f|0)<78){break d}C[b+12>>2]=c-78;g=D[e|0]|D[e+1|0]<<8;e:{if(!g){break e}if(f-78>>>0<8){break d}C[b+12>>2]=c-86;g=g<<8|g>>>8;if((g&65535)>>>0<2){break e}if(f-86>>>0<10|e+86>>>0>h>>>0){break d}C[b+12>>2]=c-96;if((g&65535)>>>0<5){break e}if((f&-4)==96|e+96>>>0>h>>>0){break d}C[b+12>>2]=c-100}Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;Ue(d);d=84608}d=d?d:84608;c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<78?84608:C[c+12>>2]}function kz(a,b){var c=0,d=0;d=C[C[105780]+344>>2];if(d){if((qf(4096,-1)|0)!=1){c=(qf(4097,-1)|0)==1}else{c=1}Fe[d|0](a,c)}a:{if(!(b&128)){break a}c=C[105780];if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}if(D[a+48|0]&128){break a}d=C[c+96>>2];if(!d){break a}Fe[d|0](c,a)}b:{if(!(b&64)){break b}c=C[105780];if(!c){Qe(19865,0);break b}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break b}if(D[a+48|0]&64){break b}d=C[c+100>>2];if(!d){break b}if(!(D[c+404|0]&2)){ci(a,0);c=C[105780];d=C[c+100>>2];if(!d){break b}}Fe[d|0](c,a)}if(b&1){jz(a,b)}if(b&256){c:{c=C[105780];if(!c){Qe(19865,0);break c}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break c}c=C[a+48>>2];if(!(c&256)){C[a+48>>2]=c&-257|256;xj(a)}d:{if(!bg(27435,0)){break d}c=C[105780];if(!c){Qe(19865,0);break c}if(C[a>>2]!=(c+388|0)){Qe(2168,0);break c}c=C[a+48>>2];if(c&1048576){break d}C[a+48>>2]=c&-1048577|1048576;xj(a)}}}e:{if(!(b&1048576)){break e}c=C[105780];if(!c){Qe(19865,0);break e}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break e}c=C[a+48>>2];if(c&1048576){break e}C[a+48>>2]=c|1048576;xj(a)}f:{if(b&8){break f}b=C[105780];if(!b){Qe(19865,0);return}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return}if(D[a+48|0]&4){break f}c=C[b+84>>2];if(c){Fe[c|0](b,a)}dg(a,1,0,0)}}function Xv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=J(0),n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=J(0),v=J(0),w=J(0),x=J(0),y=0;p=a<<1;j=I(a,b);if((b|0)>0){k=p-1|0;g=j;while(1){i=(f<<2)+c|0;l=(g<<2)+c|0;G[(f<<3)+d>>2]=G[i>>2]+G[l>>2];G[(k+(f<<1)<<2)+d>>2]=G[i>>2]-G[l>>2];g=a+g|0;f=a+f|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}b:{if((a|0)!=2){if((b|0)>0){f=0;k=j;while(1){g=f<<1;l=a+f|0;h=l<<1;i=k;n=2;while(1){o=i<<2;q=g+2|0;r=f+2|0;s=(r<<2)+c|0;t=(n<<2)+e|0;m=G[t-8>>2];i=i+2|0;u=G[(i<<2)+c>>2];v=G[(c+o|0)+4>>2];w=G[t-4>>2];x=J(J(m*u)-J(v*w));G[(q<<2)+d>>2]=G[s>>2]+x;o=h-2|0;G[(o<<2)+d>>2]=x-G[s>>2];m=J(J(m*v)+J(w*u));f=(f<<2)+c|0;G[(g<<2|4)+d>>2]=m+G[f+4>>2];G[((h<<2)+d|0)-12>>2]=G[f+4>>2]-m;g=q;f=r;h=o;n=n+2|0;if((n|0)<(a|0)){continue}break}k=a+k|0;f=l;y=y+1|0;if((y|0)!=(b|0)){continue}break}}if(a&1){break a}if((b|0)>0){break b}break a}if((b|0)<=0){break a}}e=b&1;f=a-1|0;g=j+f|0;c:{if((b|0)==1){h=a;break c}b=b&-2;i=0;h=a;while(1){j=(h<<2)+d|0;G[j>>2]=-G[(g<<2)+c>>2];G[j-4>>2]=G[(f<<2)+c>>2];h=h+p|0;j=(h<<2)+d|0;g=a+g|0;G[j>>2]=-G[(g<<2)+c>>2];f=a+f|0;G[j-4>>2]=G[(f<<2)+c>>2];f=a+f|0;g=a+g|0;h=h+p|0;i=i+2|0;if((b|0)!=(i|0)){continue}break}}if(!e){break a}a=(h<<2)+d|0;G[a>>2]=-G[(g<<2)+c>>2];G[a-4>>2]=G[(f<<2)+c>>2]}}function Gg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a+4>>2]=c;C[a>>2]=b;C[a+16>>2]=0;e=a+8|0;a:{b:{c:{d:{c=D[b+2|0]|D[b+3|0]<<8;if(c){b=((c<<8|c>>>8)&65535)+b|0}else{b=84608}c=D[b|0]|D[b+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break b}}c=D[b+2|0]|D[b+3|0]<<8;if(!c){break b}b=b+4|0;g=(c<<8|c>>>8)&65535;h=g&1;i=g-1|0;e:{if(!i){c=b;break e}k=g&65534;c=b;while(1){j=d;d=D[c|0]|D[c+1|0]<<8;j=j|1<<(d>>>12|d<<4);d=D[c+2|0]|D[c+3|0]<<8;d=j|1<<(d>>>12|d<<4);c=c+4|0;f=f+2|0;if((k|0)!=(f|0)){continue}break}}if(h){c=D[c|0]|D[c+1|0]<<8;d=1<<(c>>>12|c<<4)|d}C[e>>2]=d;f=0;c=b;d=0;if(i>>>0>=3){h=g&65532;e=0;while(1){d=1<>2]=d;e=g&3;d=0;if(i>>>0<3){c=0;break a}g=g&65532;c=0;f=0;while(1){c=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|c|1<<((D[b+2|0]|D[b+3|0]<<8)>>>1)|1<<((D[b+4|0]|D[b+5|0]<<8)>>>1)|1<<((D[b+6|0]|D[b+7|0]<<8)>>>1);b=b+8|0;f=f+4|0;if((g|0)!=(f|0)){continue}break}break a}Dk(b,e)}return}if(e){while(1){c=1<<((D[b|0]|D[b+1|0]<<8)>>>1)|c;b=b+2|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}C[a+16>>2]=c}function qx(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,j=0,k=0,l=0,m=0;C[d>>2]=0;C[d+4>>2]=0;g=b-1|0;g=b>>>0>=g>>>0?g:0;b=C[a+408>>2];a:{if(g>>>0>b>>>0){break a}e=b;b=c-1|0;c=b>>>0<=c>>>0?b:0;if(e>>>0>>0){break a}b=C[a+424>>2];if(!b){break a}e=c<<4;c=C[a+416>>2];g=E[e+c>>1]|C[c+(g<<4)>>2]<<16;j=C[a+104>>2];while(1){if(!(g>>>0<=F[b+20>>2]&g>>>0>=F[b+16>>2])){b=C[b>>2];if(b){continue}break a}break}f=bf(j,C[b+12>>2]);if(f){break a}f=Cf(j,I(C[b+8>>2],D[b+4|0]));if(f){break a}a=D[b+5|0];m=a&2;l=a&1;k=C[b+8>>2];f=C[j+32>>2];a=D[b+4|0];c=-2147483648>>>L(a)|0;b:{c:{d:{if((a|0)==(c|0)){break d}a=I(a-c|0,k)+f|0;e:{if(l){e=D[a+1|0]<<16|D[a|0]<<24|D[a+2|0]<<8;h=a+3|0;a=a+4|0;break e}h=a+1|0;e=D[a|0]<<16;a=a+2|0}e=D[h|0]|e;if((e|0)==(g|0)){break c}if(e>>>0>=g>>>0){break d}f=(m?2:1)+a|0}i=I(c,k);if(k>>>0>>0){while(1){i=i>>>1|0;c=i+f|0;f:{if(l){e=D[c+1|0]<<16|D[c|0]<<24|D[c+2|0]<<8;h=c+3|0;a=c+4|0;break f}h=c+1|0;e=D[c|0]<<16;a=c+2|0}e=D[h|0]|e;if((e|0)==(g|0)){break c}f=e>>>0>>0?c:f;if(k>>>0>>0){continue}break}}c=D[f+1|0];e=D[f|0];g:{if(l){c=D[f+3|0]|(c<<16|e<<24|D[f+2|0]<<8);a=f+4|0;break g}c=c|e<<16;a=f+2|0}if((c|0)!=(g|0)){break b}}c=D[a|0];if(m){c=(D[a+1|0]|c<<8)<<16>>16}C[d>>2]=B[b+6>>1]+c}xf(j);f=0}return f|0}function qz(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=C[105769];if(f){while(1){f=f-1|0;a=C[C[105770]+(f<<2)>>2];d=C[a>>2];h=C[a+4>>2];a=0;b=-1;c=C[105769];a:{if((c|0)<=0){break a}e=C[105770];while(1){g=C[e+(a<<2)>>2];if(C[g>>2]==(d|0)&C[g+4>>2]==(h|0)){b=a;break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}c=uq(d,h);if(c){if(C[c+16>>2]>0){a=0;while(1){e=C[C[c+20>>2]+(a<<2)>>2];if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}a=a+1|0;if((a|0)>2]){continue}break}}a=C[c+20>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[c+24>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}a=C[105769]-1|0;C[105769]=a;g=b<<2;b=C[105770];C[g+b>>2]=C[b+(a<<2)>>2];a=0;b:{c:{b=C[104877];if((b|0)<=0){break c}c=C[104878];while(1){e=c+I(a,8232)|0;if(C[e>>2]==(d|0)&(h|0)==C[e+4>>2]){break c}a=a+1|0;if((b|0)!=(a|0)){continue}break}break b}d:{if((a|0)==(b|0)){break d}d=I(a,8232);b=C[(d+C[104878]|0)+8224>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}mf(d+C[104878]|0,0,8232);b=C[104877]-1|0;C[104877]=b;if((a|0)==(b|0)){break d}a=C[104878];gf(a+d|0,a+I(b,8232)|0,8232)}}}if(f){continue}break}}a=C[105770];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[105770]=0;a=C[104878];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[104878]=0}function Tm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=C[a+2984>>2];if(k&4){e=C[a+2988>>2];a=c>>31;d=(a^c)-a|0;a:{b:{c:{if((b|0)==1){if(!(k&2)){break c}break b}if(k&1){break b}}d:{a=e+I(b,1572)|0;if(!C[a+52>>2]){break d}e=C[a+60>>2];a=d-e|0;b=a>>31;if((a^b)-b>>>0>39){break d}d=(e|0)<=48?48:e;break a}if(d>>>0<=53){d=(54-d>>>1&127)+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}e:{f:{g:{h:{i:{a=e+I(b,1572)|0;e=C[a+52>>2];if(e){l=a+56|0;q=e&1;if((e|0)!=1){break i}g=98;a=0;e=d;break h}a=d+32&2147483584;e=d;break g}r=e&-2;g=98;a=0;e=d;while(1){m=C[(I(a|1,12)+l|0)+4>>2];h=d-m|0;n=h>>31;o=C[(I(a,12)+l|0)+4>>2];f=d-o|0;i=f>>31;f=(f^i)-i|0;p=(f|0)<(g|0);h=(h^n)-n|0;f=p?f:g;i=(h|0)<(f|0);g=i?h:f;e=i?m:p?o:e;a=a+2|0;j=j+2|0;if((r|0)!=(j|0)){continue}break}}if(q){j=C[(I(a,12)+l|0)+4>>2];a=d-j|0;f=a>>31;e=((a^f)-f|0)<(g|0)?j:e}a=e+32&-64;if((d|0)<(e|0)){break f}}a=(a|48)>(d|0)?e:d;break e}a=(a-48|0)<(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(k&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 Vf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(a){C[a+4>>2]=0;C[a>>2]=b;d=c;a:{if(!a|!c){break a}b=C[a+4>>2];j=a;a=C[a>>2];if(!(a|b)){break a}c=b>>31;f=(c^b)-c|0;c=a>>31;k=f|(c^a)-c;h=L(k);i=h-2|0;b:{if(k>>>0<=1073741823){b=b<>c;c=a>>c}c:{if((d|0)<-2949120){while(1){a=b;b=0-c|0;e=d>>>0<4286119936;c=a;f=d+5898240|0;d=f;if(e){continue}break c}}if((d|0)<=2949120){a=c;f=d;break c}e=b;a=c;while(1){b=a;a=0-e|0;c=d>>>0>8847360;e=b;f=d-5898240|0;d=f;if(c){continue}break}}e=213360;d=1;c=1;while(1){g=a+d>>c;l=b+d>>c;m=C[e>>2];d:{if((f|0)<0){f=f+m|0;b=b-g|0;a=a+l|0;break d}f=f-m|0;b=b+g|0;a=a-l|0}d=d<<1;e=e+4|0;c=c+1|0;if((c|0)!=23){continue}break}c=b>>31;d=(c^b)-c|0;e=d&65535;c=I(e,56281);f=d>>>16|0;d=c+I(f,23318)|0;g=d<<16;e=g+I(e,23318)|0;c=(((I(f,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=a>>31;d=(c^a)-c|0;e=d&65535;c=I(e,56281);f=d>>>16|0;d=c+I(f,23318)|0;g=d<<16;e=g+I(e,23318)|0;c=(((I(f,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;a=(a|0)<0?0-c|0:c;e:{if(k>>>0<=536870911){c=1<>2]=(c+a|0)+(a>>31)>>i;a=(b+c|0)+(b>>31)>>i;break e}c=a;a=2-h|0;C[j>>2]=c<>2]=a}}}function uB(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+j|0;g=((I(b,g)>>>0)/255|0)+k|0;f=((I(b,f)>>>0)/255|0)+i|0;break a;case 1:b=c+j|0;c=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=f+i|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,j)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;f=((I(f,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+j|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function qn(a){var b=0,c=0,d=0;b=C[104886];if(C[105681]!=(a|0)){a:{b:{if(!(!C[105682]|a)){a=0;C[105682]=0;break b}c:{d:{if(a){if(C[105665]){if(bg(24914,0)){break d}}c=C[105667];if(c){if((Fe[c|0](a)|0)>=0){break c}}if(C[105665]){break d}Qe(18036,0);return}c=C[105667];if(!c){break b}Fe[c|0](0)|0;a=0;break b}C[105682]=1}C[105686]=0;C[105687]=0;C[105681]=a;a=C[105662];if(a){Fe[a|0](0)|0}if(!b){break a}a=C[105671];e:{if((a|0)==(b|0)){break e}if(a){dg(a,11,0,0)}C[105671]=b;C[105680]=0;dg(b,10,0,0);a=C[105662];c=C[(C[105671]?422808:422804)>>2];if(!(C[105681]|(!c|!C[105703]))){if(!a){break e}Fe[a|0](c)|0;break e}if(!a){break e}Fe[a|0](0)|0}f:{if(!C[105682]|D[b+48|0]&64){break f}a=C[b+24>>2]/2|0;c=C[b+28>>2]/2|0;C[105677]=c;C[105676]=a;C[105680]=0;d=C[105665];if(d){Fe[d|0](b,a,c);break f}Ai(b,C[105670],0,a,c)}xj(b);ji(0);break a}C[105686]=0;C[105687]=0;C[105681]=a;if(b){xj(b);g:{if(D[b+48|0]&64){break g}a=C[105672];c=C[105673];C[105677]=c;C[105676]=a;C[105680]=0;d=C[105665];if(!(!d|(C[105682]?0:C[105681]))){Fe[d|0](b,a,c);break g}Ai(b,C[105670],0,a,c)}ji(0);a=!C[105681]}else{a=1}b=C[105662];c=C[(C[105671]?422808:422804)>>2];if(!(!a|(!c|!C[105703]))){if(!b){break a}Fe[b|0](c)|0;break a}if(!b){break a}Fe[b|0](0)|0}fs(1024,1024)}}function hB(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+k|0;g=((I(b,g)>>>0)/255|0)+j|0;c=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:b=f+k|0;f=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=c+i|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,k)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;c=((I(c,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+k|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function dB(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+k|0;g=((I(b,g)>>>0)/255|0)+j|0;f=((I(b,f)>>>0)/255|0)+i|0;break a;case 1:b=c+k|0;c=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=f+i|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,k)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;f=((I(f,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+k|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function UA(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+k|0;c=((I(b,c)>>>0)/255|0)+j|0;break a;case 1:b=f+i|0;f=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=c+j|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,i)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;c=((I(c,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(j+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function OB(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+j|0;c=((I(b,c)>>>0)/255|0)+k|0;break a;case 1:b=f+i|0;f=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=c+k|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,i)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;c=((I(c,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(k+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function OA(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+k|0;f=((I(b,f)>>>0)/255|0)+j|0;break a;case 1:b=c+i|0;c=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=f+j|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,i)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(j+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function KB(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b>>>24|0;i=b&255;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;c=((I(b,c)>>>0)/255|0)+i|0;g=((I(b,g)>>>0)/255|0)+j|0;f=((I(b,f)>>>0)/255|0)+k|0;break a;case 1:b=c+i|0;c=b>>>0>=255?255:b;b=g+j|0;g=b>>>0>=255?255:b;b=f+k|0;f=b>>>0>=255?255:b;break a;case 3:c=((I(c,i)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;f=((I(f,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+i|0,c)>>>0)/255|0;c=b>>>0>=255?255:b;b=(I(j+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(k+m|0,f)>>>0)/255|0;f=b>>>0>=255?255:b}C[e>>2]=g<<8|f|c<<16;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function AB(a){a=a|0;var 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;l=C[a+28>>2];e=l-1|0;C[a+28>>2]=e;q=(C[a+4>>2]<<16)/C[a+24>>2]|0;r=(C[a+8>>2]<<16)/(l|0)|0;if(l){d=C[a+52>>2];s=d&48;l=(q|0)/2|0;p=(r|0)/2|0;t=(d&240)-16>>>4|0;n=C[a+20>>2];while(1){o=C[a+24>>2];if(o){u=p>>>16|0;v=C[a>>2];e=n;d=l;while(1){b=C[(I(C[a+12>>2],u)+v|0)+(d>>>14&262140)>>2];h=b&255;i=b>>>24|0;j=b>>>8&255;k=b>>>16&255;c=C[e>>2];m=c>>>8|0;b=c>>>16|0;if(!(!s|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;k=(I(k,h)>>>0)/255|0}o=o-1|0;f=c&255;g=m&255;c=b&255;a:{b:{switch(t|0){case 0:b=h^255;f=((I(b,f)>>>0)/255|0)+j|0;g=((I(b,g)>>>0)/255|0)+k|0;c=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:b=f+j|0;f=b>>>0>=255?255:b;b=g+k|0;g=b>>>0>=255?255:b;b=c+i|0;c=b>>>0>=255?255:b;break a;case 3:f=((I(f,j)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;c=((I(c,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}m=h^255;b=(I(m+j|0,f)>>>0)/255|0;f=b>>>0>=255?255:b;b=(I(k+m|0,g)>>>0)/255|0;g=b>>>0>=255?255:b;b=(I(i+m|0,c)>>>0)/255|0;c=b>>>0>=255?255:b}C[e>>2]=g<<8|c<<16|f;e=e+4|0;d=d+q|0;if(o){continue}break}d=C[a+28>>2]}else{d=e}e=d-1|0;C[a+28>>2]=e;p=p+r|0;n=C[a+32>>2]+n|0;if(d){continue}break}C[a+20>>2]=n}}function hq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-32|0;Ce=g;f=C[b+392>>2];h=b+8|0;k=f-h|0;l=k>>3;i=l&1;if(!(D[e|0]|!i)){a:{if((f|0)==(h|0)){f=0;j=C[b+4>>2];if(!j|C[j>>2]){break a}C[j>>2]=130;break a}b:{switch(C[b+12>>2]-1|0){case 1:f=C[h>>2]<<16;break a;case 0:f=C[h>>2];if((f|0)<0){f=0-(8192-f>>14)|0;break a}f=f- -8192>>>14|0;break a;default:break b}}f=C[h>>2]}C[d>>2]=(C[C[C[a+132>>2]+736>>2]+532>>2]<<16)+f}if(!D[C[a+132>>2]+561|0]){if(k>>>0>=9){a=0;while(1){j=C[b+392>>2]-h>>3;c:{if(j>>>0<=i>>>0){d=0;f=C[b+4>>2];if(!f|C[f>>2]){break c}C[f>>2]=130;break c}d:{e:{f:{d=(i<<3)+b|0;switch(C[d+12>>2]-1|0){case 0:break e;case 1:break f;default:break d}}d=C[d+8>>2]<<16;break c}d=C[d+8>>2];if((d|0)<0){d=0-(8192-d>>14)|0;break c}d=d- -8192>>>14|0;break c}d=C[d+8>>2]}f=a+d|0;C[g+16>>2]=f;a=i+1|0;g:{if(a>>>0>=j>>>0){a=0;d=C[b+4>>2];if(!d|C[d>>2]){break g}C[d>>2]=130;break g}h:{i:{j:{a=(a<<3)+b|0;switch(C[a+12>>2]-1|0){case 0:break i;case 1:break j;default:break h}}a=C[a+8>>2]<<16;break g}a=C[a+8>>2];if((a|0)<0){a=0-(8192-a>>14)|0;break g}a=a- -8192>>>14|0;break g}a=C[a+8>>2]}C[g+24>>2]=0;C[g+28>>2]=0;A[g+12|0]=0;a=a+f|0;C[g+20>>2]=a;my(c,g+12|0);i=i+2|0;if(l>>>0>i>>>0){continue}break}}C[b+392>>2]=h}A[e|0]=1;Ce=g+32|0}function Oj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ce-16|0;Ce=i;a:{if(C[a+20>>2]){break a}b=C[a+48>>2];if(b>>>0<2){break a}m=a+56|0;k=C[21152];while(1){b=b<<2;if(F[C[(b+C[a+52>>2]|0)-4>>2]>>2]>=F[a+8>>2]){break a}g=C[(b+C[a+52>>2]|0)-4>>2];b=0;C[i+12>>2]=0;h=0;d=C[g>>2];f=C[g+4>>2];b:{if((d|0)==(f|0)){break b}j=f-d|0;l=j&3;e=0;c=0;if(f+(d^-1)>>>0>=3){j=j&-4;f=0;while(1){h=I(A[(c|3)+d|0],-1640531535)+I(I(A[(c|2)+d|0],-1640531535)+I(I(A[(c|1)+d|0],-1640531535)+I(I(A[c+d|0],-1640531535)+I(h,31)|0,31)|0,31)|0,31)|0;c=c+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(!l){break b}while(1){h=I(A[c+d|0],-1640531535)+I(h,31)|0;c=c+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}d=C[g+12>>2]<<4;c:{if(!d){e=0;break c}c=C[g+16>>2];e=0;while(1){e=I(A[c+(b|3)|0],-1640531535)+I(I(A[c+(b|2)|0],-1640531535)+I(I(A[c+(b|1)|0],-1640531535)+I(I(A[b+c|0],-1640531535)+I(e,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}gn(m,g,e^h,i+12|0);b=C[a+48>>2];d:{if(!b){C[104428]=k;b=k;break d}b=C[(C[a+52>>2]+(b<<2)|0)-4>>2]}Re(C[b+16>>2]);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;Re(C[b+28>>2]);C[b+28>>2]=0;C[b+20>>2]=0;C[b+24>>2]=0;b=C[a+48>>2];if(!b){break a}b=b-1|0;C[a+48>>2]=b;if(b>>>0>1){continue}break}}Ce=i+16|0}function Eu(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{c=C[a+4>>2];f:{if((c|0)!=C[a+104>>2]){C[a+4>>2]=c+1;c=D[c|0];break f}c=Jf(a)}switch(c-43|0){case 0:case 2:break e;default:break d}}f=(c|0)==45;g=!b;c=C[a+4>>2];g:{if((c|0)!=C[a+104>>2]){C[a+4>>2]=c+1;c=D[c|0];break g}c=Jf(a)}b=c-58|0;if(g|b>>>0>4294967285){break c}if(C[a+116>>2]<0){break b}C[a+4>>2]=C[a+4>>2]-1;break b}b=c-58|0}if(b>>>0<4294967286){break b}b=c-48|0;if(b>>>0<10){while(1){d=I(d,10)+c|0;d=d-48|0;e=(d|0)<214748364;b=C[a+4>>2];h:{if((b|0)!=C[a+104>>2]){C[a+4>>2]=b+1;c=D[b|0];break h}c=Jf(a)}b=c-48|0;if(e&b>>>0<=9){continue}break}e=d>>31}i:{if(b>>>0>=10){break i}while(1){d=mT(d,e,10,0);b=d+c|0;c=Ee;c=b>>>0>>0?c+1|0:c;d=b-48|0;e=c-(b>>>0<48)|0;b=C[a+4>>2];j:{if((b|0)!=C[a+104>>2]){C[a+4>>2]=b+1;c=D[b|0];break j}c=Jf(a)}b=c-48|0;if(b>>>0>9){break i}if(d>>>0<2061584302&(e|0)<=21474836|(e|0)<21474836){continue}break}}if(b>>>0<10){while(1){b=C[a+4>>2];k:{if((b|0)!=C[a+104>>2]){C[a+4>>2]=b+1;b=D[b|0];break k}b=Jf(a)}if(b-48>>>0<10){continue}break}}b=C[a+116>>2];if((b|0)>0|(b|0)>=0){C[a+4>>2]=C[a+4>>2]-1}a=d;d=f?0-a|0:a;e=f?0-(((a|0)!=0)+e|0)|0:e;break a}e=-2147483648;if(C[a+116>>2]<0){break a}C[a+4>>2]=C[a+4>>2]-1;Ee=-2147483648;return 0}Ee=e;return d}function lz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Ce-16|0;Ce=l;a:{if(!(c?b:0)){C[l>>2]=3270;Qe(19745,l);c=0;break a}j=C[b>>2];if(!j){j=C[a+16>>2]}m=C[b+12>>2];if(!m){m=C[a+28>>2]}n=j>>>8&255;i=C[a+8>>2];while(1){b:{if(i){break b}i=0;h=C[105780];d=C[h+28>>2];if(!d){break b}Fe[d|0](h,a);mz(C[a+12>>2],C[a+8>>2]);i=C[a+8>>2]}c:{d:{e:{f:{if((e|0)>=(i|0)){break f}g=C[a+12>>2];h=I(e,20);d=g+h|0;k=C[d+4>>2];if(C[b+4>>2]>(k|0)?k:0){break f}h=g+h|0;g=C[h+8>>2];if(!g|(g|0)>=C[b+8>>2]){break e}if(!k|C[b+4>>2]!=(k|0)){break d}}if(f){break c}c=0;break a}if(!f){f=d;e=e+1|0;continue}if(C[f+4>>2]>(k|0)){f=d;e=e+1|0;continue}if((g|0)>2]){f=d;e=e+1|0;continue}g=C[d>>2];if((g|0)!=C[f>>2]){if((g|0)==(j|0)){f=d;e=e+1|0;continue}if((g^j)&251658240|(g>>>8&255)>>>0>>0){break d}f=d;e=e+1|0;continue}g=d;d=C[h+12>>2];f=(d|0)==C[f+12>>2]?f:(d|0)<(m|0)?f:g}e=e+1|0;continue}break}e=C[f>>2];if(!e){e=C[b>>2]}C[c>>2]=e;g:{h:{a=C[f+4>>2];if(!a){break h}i=C[f+8>>2];if(!i){break h}C[c+4>>2]=a;a=1;d=1;break g}a=C[b+4>>2];C[c+4>>2]=a;i=C[b+8>>2];d=i}h=d;C[c+8>>2]=i;d=C[f+12>>2];if(!d){d=C[b+12>>2]}C[c+12>>2]=d;C[c+16>>2]=C[f+16>>2];if(!e){C[c>>2]=370546692}if(!a){C[c+4>>2]=640}if(h){break a}C[c+8>>2]=480}Ce=l+16|0;return c}function Hq(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;h=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95539];B[c>>1]=((I(h,D[b+(a>>>5&31)|0])>>>0)/255|0)+f<<2&4064|((I(h,D[b+(a>>>10&31)|0])>>>0)/255|0)+e<<7&64512|((I(h,D[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:d=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[d>>1];b=C[95539];c=D[(a>>>5&31)+b|0]+f|0;f=(c>>>0>=255?255:c)<<2&992;c=D[b+(a>>>10&31)|0]+e|0;a=D[b+(a&31)|0]+g|0;B[d>>1]=f|(c>>>0>=255?255:c)<<7&31744|(a>>>0>=255?255:a)>>>3;return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[b>>1];c=b;b=C[95539];B[c>>1]=(I(D[b+(a>>>5&31)|0],f)>>>0)/255<<2&2016|(I(D[b+(a>>>10&31)|0],e)>>>0)/255<<7&64512|(I(D[b+(a&31)|0],g)>>>0)/255>>>3;return 0;case 7:d=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)|0;a=E[d>>1];b=C[95539];c=D[(a>>>5&31)+b|0];c=((I(c,f)>>>0)/255|0)+((I(c,h)>>>0)/255|0)|0;f=(c>>>0>=255?255:c)<<2&992;c=D[b+(a>>>10&31)|0];c=((I(c,e)>>>0)/255|0)+((I(c,h)>>>0)/255|0)|0;a=D[b+(a&31)|0];a=((I(a,g)>>>0)/255|0)+((I(a,h)>>>0)/255|0)|0;B[d>>1]=f|(c>>>0>=255?255:c)<<7&31744|(a>>>0>=255?255:a)>>>3;return 0;default:break a}}B[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<1)>>1]=f<<2&992|e<<7&31744|g>>>3;return 0}function Nt(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{if((b|0)!=1196445523){g=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;g=F[a+16>>2]<10?84608:C[a+12>>2]}a=84608;b=84608;h=D[g+4|0]|D[g+5|0]<<8;if(h){b=((h<<8|h>>>8)&65535)+g|0}i=(I(c,6)+b|0)+2|0;h=c;c=D[b|0]|D[b+1|0]<<8;c=h>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:i;c=D[c+4|0]|D[c+5|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+b|0}c:{d:{e:{f:{if((d|0)==65535){c=D[a|0]|D[a+1|0]<<8;b=84992;if(!c){break f}b=((c<<8|c>>>8)&65535)+a|0;break f}c=D[a+2|0]|D[a+3|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=d>>>0?84608:(I(d,6)+a|0)+4|0;c=D[c+4|0]|D[c+5|0]<<8;b=84992;if(!c){break f}b=((c<<8|c>>>8)&65535)+a|0}a=D[b+4|0]|D[b+5|0]<<8;if(!a){break e}h=b+4|0;a=(a<<8|a>>>8)&65535;i=a>>>0<=1?1:a;a=0;while(1){b=h+(a<<1)|0;b=D[b+2|0]|D[b+3|0]<<8;c=(b<<8|b>>>8)&65535;if((b|0)!=65535){b=D[g+6|0]|D[g+7|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+g|0}else{b=84608}d=D[b|0]|D[b+1|0]<<8;b=((d<<8|d>>>8)&65535)>>>0<=c>>>0?84608:(b+I(c,6)|0)+2|0;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}else{b=0}if((b|0)!=(e|0)){a=a+1|0;if((i|0)==(a|0)){break e}continue}break}b=1;if(f){break d}break c}c=65535;b=0;if(!f){break c}}C[f>>2]=c}return b}function xl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[a+36>>2]/4|0;a:{f=C[a+28>>2];if(!f){break a}g=C[a+16>>2];d=C[a+24>>2];h=d&7;i=(d+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];j=e<<2;b:while(1){f=f-1|0;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:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=1;continue;case 1:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=2;continue;case 2:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=3;continue;case 3:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=4;continue;case 4:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=5;continue;case 5:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=6;continue;case 6:C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=7;continue;default:break e}}C[a>>2]=C[((D[c+1|0]<<3)+b|0)+4>>2]+C[(D[c|0]<<3)+b>>2];d=e-1|0;c=c+2|0;a=a+4|0;f:{if((e|0)>1){e=d;break f}c=c+g|0;a=a+j|0;if(f){continue b}break a}d=0;continue}}}}function Et(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=I(c,20)+a|0;j=E[e+16>>1];if(!j){break a}f=D[e+18|0];B[e+16>>1]=0;g=j<<16>>16;e=g+c|0;if(e>>>0>=b>>>0){break a}Et(a,b,e,d);if(f&2){if((d&-2)==4){b=I(c,20)+a|0;C[b+12>>2]=C[b+12>>2]+C[(I(e,20)+a|0)+12>>2];return}b=I(c,20)+a|0;C[b+8>>2]=C[b+8>>2]+C[(I(e,20)+a|0)+8>>2];return}h=I(c,20)+a|0;b=I(e,20)+a|0;f=C[h+8>>2]+C[b+8>>2]|0;C[h+8>>2]=f;b=C[h+12>>2]+C[b+12>>2]|0;C[h+12>>2]=b;b:{if((d&-3)!=4){e=e+1|0;if(e>>>0>=c+1>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=I(d,20)+a|0;b=C[e+4>>2]+b|0;f=C[e>>2]+f|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=I(e,20)+a|0;b=(((C[d+4>>2]+b|0)+C[d+24>>2]|0)+C[d+44>>2]|0)+C[d- -64>>2]|0;f=C[d+60>>2]+(C[d+40>>2]+(C[d+20>>2]+(C[d>>2]+f|0)|0)|0)|0;d=e+3|0;e=e+4|0;if((c|0)!=(d|0)){continue}break}break b}if(c>>>0<=e>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=I(d,20)+a|0;b=b-C[e+4>>2]|0;f=f-C[e>>2]|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=I(e,20)+a|0;b=b-(((C[d+4>>2]+C[d+24>>2]|0)+C[d+44>>2]|0)+C[d- -64>>2]|0)|0;f=f-(C[d+60>>2]+(C[d+40>>2]+(C[d>>2]+C[d+20>>2]|0)|0)|0)|0;e=e+4|0;if((e|0)!=(c|0)){continue}break}}C[h+8>>2]=f;C[h+12>>2]=b}}function Dt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=C[a+100>>2];c=C[g+76>>2];while(1){c=C[g+92>>2]+I(c,20)|0;f=C[c>>2];a:{if(!(C[b>>2]>>>(f>>>4)&1)|!(C[b+4>>2]>>>f&1)|(!(C[b+8>>2]>>>(f>>>9)&1)|!(C[a+120>>2]&C[c+4>>2]))){break a}d=C[a+132>>2];c=E[c+12>>1];if(d&c&14){break a}b:{if(!(c&8)){break b}if(d&16){c=C[a+108>>2];e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break a}e=D[c+12|0]|D[c+13|0]<<8;if(e){c=c+((e<<8|e>>>8)&65535)|0}else{c=84608}if((D[c|0]|D[c+1|0]<<8)!=256){break a}e=c;d=d>>>16|0;h=(c+(d<<2)|0)+4|0;c=D[c+2|0]|D[c+3|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:h;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((zf(c?e+c|0:84608,f)|0)!=-1){break b}break a}f=d&65280;if(!f){break b}if((f|0)!=(c&65280)){break a}}c=0;e=C[b+16>>2];d=0;c:{if(!e){break c}while(1){f=c>>>0>=e>>>0?84608:C[b+20>>2]+I(c,20)|0;d=C[a+100>>2];d=C[C[d+92>>2]+I(C[d+76>>2],20)>>2];if(!(!(C[f+8>>2]>>>(d>>>4)&1)|!(C[f+12>>2]>>>d&1)|!(C[f+16>>2]>>>(d>>>9)&1))){d=1;if(Fe[C[f+4>>2]](C[f>>2],a)|0){break c}e=C[b+16>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}d=0}i=d|i}c=C[g+76>>2]-1|0;C[g+76>>2]=c;if((c|0)>=0){continue}break}}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,g=0,h=0,i=0,j=0,k=0;e=Ce-464|0;Ce=e;f=b+8|0;g=C[f+4>>2];C[e+16>>2]=C[f>>2];C[e+20>>2]=g;C[e+40>>2]=C[b+32>>2];f=C[b+28>>2];C[e+32>>2]=C[b+24>>2];C[e+36>>2]=f;f=C[b+20>>2];C[e+24>>2]=C[b+16>>2];C[e+28>>2]=f;f=C[b+4>>2];g=C[b>>2];C[e+16>>2]=2;C[e+8>>2]=g;C[e+12>>2]=f;a:{switch(C[b+8>>2]-7|0){case 0:case 3:C[e+16>>2]=3;break;default:break a}}nj(a,e+452|0);b:{if(C[e+460>>2]!=3){h=162;break b}i=C[a>>2];f=C[e+452>>2]+1|0;C[a>>2]=f;j=C[a+8>>2];h=C[e+456>>2]-1|0;C[a+8>>2]=h;g=e+48|0;c:{if(f>>>0>=h>>>0){break c}f=0;while(1){nj(a,e+440|0);g=(e+48|0)+I(f,12)|0;if(!C[e+448>>2]){break c}if(f>>>0<=31){h=C[e+444>>2];C[g>>2]=C[e+440>>2];C[g+4>>2]=h;C[g+8>>2]=C[e+448>>2]}f=f+1|0;if(F[a>>2]>2]){continue}break}g=(e+48|0)+I(f,12)|0}C[a+8>>2]=j;C[a>>2]=i;f=g-(e+48|0)|0;if((f|0)<0){h=162;break b}f=(f>>>0)/12|0;g=C[b+24>>2];g=f>>>0>>0?f:g;d:{if(C[b+8>>2]==7){break d}b=C[b+28>>2];if(!b){break d}A[b+C[c>>2]|0]=g}e:{if(g){f=e+48|0;b=C[e+24>>2];k=D[e+28|0];while(1){C[a>>2]=C[f>>2];C[a+8>>2]=C[f+4>>2];h=mx(a,e+8|0,c,d,e);if(h){break e}b=b+k|0;C[e+24>>2]=b;f=f+12|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}}h=0}C[a+8>>2]=j;C[a>>2]=i}Ce=e+464|0;return h|0}function Io(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!(!b|(!c|!a))){d=C[b+128>>2];if((C[b+132>>2]-d|0)<=0){b:{if(d^2147483647){f=d+1|0;f=(f|0)>=2147483639?2147483647:(f&-8)+8|0;d=Ro(a,C[b+136>>2],d,f-d|0,28);if(d){break b}}xg(a,7206,1);return 1}nf(a,C[b+136>>2]);C[b+136>>2]=d;C[b+132>>2]=f;C[b+244>>2]=C[b+244>>2]|16384}while(1){i=I(l,28)+c|0;d=C[i+4>>2];c:{if(!d){break c}h=C[i>>2];if(h-3>>>0<=4294967291){xg(a,18210,1);break c}g=I(C[b+128>>2],28);e=C[b+136>>2];f=af(d);m=(h|0)<=0;d:{if(m){j=0;d=0;break d}d=0;j=0;k=C[i+20>>2];if(k){j=af(k)}k=C[i+24>>2];if(!k){break d}d=af(k)}e=e+g|0;g=C[i+8>>2];e:{if(!(D[g|0]?g:0)){h=m?-1:1;g=0;break e}g=af(g)}C[e>>2]=h;h=ih(a,(g+((f+j|0)+d|0)|0)+4|0);C[e+4>>2]=h;if(!h){break a}jf(h,C[i+4>>2],f);h=e+4|0;A[f+C[h>>2]|0]=0;f:{if(C[i>>2]>0){f=(f+C[e+4>>2]|0)+1|0;C[e+20>>2]=f;jf(f,C[i+20>>2],j);A[C[e+20>>2]+j|0]=0;f=(C[e+20>>2]+j|0)+1|0;C[e+24>>2]=f;jf(f,C[i+24>>2],d);A[C[e+24>>2]+d|0]=0;h=e+24|0;break f}C[e+20>>2]=0;C[e+24>>2]=0;d=f}d=(C[h>>2]+d|0)+1|0;C[e+8>>2]=d;if(g){jf(d,C[i+8>>2],g);d=C[e+8>>2]}A[d+g|0]=0;d=C[e>>2]>0;C[e+16>>2]=d?g:0;C[e+12>>2]=d?0:g;C[b+128>>2]=C[b+128>>2]+1}l=l+1|0;if((l|0)!=1){continue}break}}return 0}xg(a,1222,1);return 1}function mp(a){var 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;c=C[a+528>>2];if(c){h=C[c+4>>2];f=C[c>>2];e=C[a+100>>2];b=C[c+24>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+24>>2]=0;if(f>>>0>=2){p(c+28|0,0,(f<<2)-4|0)}b=C[c+216>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+216>>2]=0;b=C[c+148>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+148>>2]=0;b=C[c+288>>2];if(b){Fe[C[e+8>>2]](e,b)}C[c+288>>2]=0;a:{if(!f){break a}if(f>>>0>=4){n=f&-4;i=c+212|0;j=c+144|0;k=c+284|0;while(1){b=d<<2;C[b+i>>2]=0;C[b+j>>2]=0;C[b+k>>2]=0;g=b|4;C[g+i>>2]=0;C[g+j>>2]=0;C[g+k>>2]=0;g=b|8;C[g+i>>2]=0;C[g+j>>2]=0;C[g+k>>2]=0;b=b|12;C[b+i>>2]=0;C[b+j>>2]=0;C[b+k>>2]=0;d=d+4|0;l=l+4|0;if((l|0)!=(n|0)){continue}break}}b=f&3;if(!b){break a}while(1){f=c+(d<<2)|0;C[f+284>>2]=0;C[f+144>>2]=0;C[f+212>>2]=0;d=d+1|0;m=m+1|0;if((b|0)!=(m|0)){continue}break}}d=C[c+136>>2];if(d){Fe[C[e+8>>2]](e,d)}C[c+136>>2]=0;C[c+140>>2]=0;b:{if(!h){break b}d=0;while(1){f=c+(d<<2)|0;b=C[f+8>>2];if(b){Fe[C[e+8>>2]](e,b)}C[f+8>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}if(!h){break b}f=c+88|0;d=0;while(1){c=f+I(d,12)|0;b=C[c+4>>2];if(b){Fe[C[e+8>>2]](e,b)}A[c|0]=0;C[c+4>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}c=C[a+528>>2];if(c){Fe[C[e+8>>2]](e,c)}C[a+528>>2]=0}}function dq(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,o=0,p=0;i=Ce-16|0;Ce=i;j=C[c+12>>2];h=D[a|0];if(h){f=h;e=a;while(1){g=(f<<24>>24)+I(g,31)|0;f=D[e+1|0];e=e+1|0;if(f){continue}break}}a:{b:{c:{e=g;g=C[c+4>>2];e=j+((e>>>0)%(g>>>0)<<2)|0;f=C[e>>2];if(f){g=(j+(g<<2)|0)-4|0;while(1){k=C[f>>2];if((h|0)==D[k|0]){if(!Se(k,a)){break c}}e=e-4|0;e=e>>>0>>0?g:e;f=C[e>>2];if(f){continue}break}}C[i+8>>2]=0;h=hf(d,8,i+8|0);f=C[i+8>>2];if(f){break a}C[e>>2]=h;C[h+4>>2]=b;C[h>>2]=a;a=C[c+8>>2];if(a>>>0>=F[c>>2]){b=C[c+12>>2];j=C[c+4>>2];C[i+12>>2]=0;a=j<<1;C[c>>2]=(a>>>0)/3;C[c+4>>2]=a;o=c,p=Ve(d,4,0,a,0,i+12|0),C[o+12>>2]=p;f=C[i+12>>2];if(f){break a}if(j){a=b;while(1){l=C[a>>2];if(l){k=C[c+12>>2];g=0;h=C[l>>2];m=D[h|0];f=m;e=h;if(f){while(1){g=(f<<24>>24)+I(g,31)|0;f=D[e+1|0];e=e+1|0;if(f){continue}break}}e=g;g=C[c+4>>2];f=((e>>>0)%(g>>>0)<<2)+k|0;e=C[f>>2];d:{if(!e){break d}g=((g<<2)+k|0)-4|0;while(1){e=C[e>>2];if((m|0)==D[e|0]){if(!Se(e,h)){break d}}e=f-4|0;f=e>>>0>>0?g:e;e=C[f>>2];if(e){continue}break}}C[f>>2]=l}a=a+4|0;n=n+1|0;if((n|0)!=(j|0)){continue}break}}if(b){Fe[C[d+8>>2]](d,b)}f=C[i+12>>2];if(f){break a}a=C[c+8>>2]}C[c+8>>2]=a+1;break b}C[f+4>>2]=b}f=0}Ce=i+16|0;return f}function dD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=C[a+36>>2]/2|0;a:{g=C[a+28>>2];if(!g){break a}d=C[a+56>>2];e=C[a+48>>2];h=C[a+16>>2];b=C[a+24>>2];i=b&7;j=(b+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];k=f<<1;b:while(1){g=g-1|0;f=j;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=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=1;continue;case 1:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=2;continue;case 2:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=3;continue;case 3:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=4;continue;case 4:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=5;continue;case 5:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=6;continue;case 6:b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=7;continue;default:break e}}b=D[c|0];if((b|0)!=(d|0)){B[a>>1]=E[(b<<1)+e>>1]}b=f-1|0;a=a+2|0;c=c+1|0;f:{if((f|0)>1){f=b;break f}c=c+h|0;a=a+k|0;if(g){continue b}break a}b=0;continue}}}}function bD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=C[a+36>>2]/4|0;a:{g=C[a+28>>2];if(!g){break a}d=C[a+56>>2];e=C[a+48>>2];h=C[a+16>>2];b=C[a+24>>2];i=b&7;j=(b+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];k=f<<2;b:while(1){g=g-1|0;f=j;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=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=1;continue;case 1:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=2;continue;case 2:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=3;continue;case 3:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=4;continue;case 4:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=5;continue;case 5:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=6;continue;case 6:b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=7;continue;default:break e}}b=D[c|0];if((b|0)!=(d|0)){C[a>>2]=C[(b<<2)+e>>2]}b=f-1|0;a=a+4|0;c=c+1|0;f:{if((f|0)>1){f=b;break f}c=c+h|0;a=a+k|0;if(g){continue b}break a}b=0;continue}}}}function rC(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){g=(I(g,p)>>>0)/255|0;h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0}if(s){g=(I(g,k)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:b=((I(b,j)>>>0)/255|0)+g|0;e=((I(e,j)>>>0)/255|0)+h|0;f=((I(f,j)>>>0)/255|0)+i|0;break a;case 1:b=b+g|0;b=b>>>0>=255?255:b;d=e+h|0;e=d>>>0>=255?255:d;d=i+f|0;f=d>>>0>=255?255:d;break a;case 3:b=(I(b,g)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;f=(I(i,f)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;d=(I(i+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d}C[n>>2]=e<<8|f<<16|b;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function nC(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){g=(I(g,p)>>>0)/255|0;h=(I(h,q)>>>0)/255|0;i=(I(i,r)>>>0)/255|0}if(s){g=(I(g,k)>>>0)/255|0;h=(I(h,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:f=((I(f,j)>>>0)/255|0)+g|0;e=((I(e,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+i|0;break a;case 1:d=f+g|0;f=d>>>0>=255?255:d;d=e+h|0;e=d>>>0>=255?255:d;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:f=(I(f,g)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;b=(I(b,i)>>>0)/255|0;break a;case 7:break b;default:break a}}d=(I(g+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=e<<8|b|f<<16;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function bC(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){h=(I(h,q)>>>0)/255|0;g=(I(g,r)>>>0)/255|0;i=(I(i,p)>>>0)/255|0}if(s){h=(I(h,k)>>>0)/255|0;g=(I(g,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:b=((I(b,j)>>>0)/255|0)+i|0;e=((I(e,j)>>>0)/255|0)+h|0;f=((I(f,j)>>>0)/255|0)+g|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;d=e+h|0;e=d>>>0>=255?255:d;d=f+g|0;f=d>>>0>=255?255:d;break a;case 3:b=(I(b,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;f=(I(f,g)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;d=(I(g+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d}C[n>>2]=e<<8|f<<16|b;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function ZB(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){p=D[a+62|0];q=D[a+61|0];r=D[a+60|0];c=C[a+52>>2];k=c&2?D[a+63|0]:255;s=(c&48)!=0&(k|0)!=255;j=k^255;t=c&1;u=(c&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;c=m;o=C[a+24>>2];if(o){while(1){d=C[n>>2];b=C[c>>2];g=b&255;h=b>>>8&255;i=b>>>16&255;if(t){h=(I(h,q)>>>0)/255|0;g=(I(g,r)>>>0)/255|0;i=(I(i,p)>>>0)/255|0}if(s){h=(I(h,k)>>>0)/255|0;g=(I(g,k)>>>0)/255|0;i=(I(i,k)>>>0)/255|0}o=o-1|0;b=d&255;e=d>>>8&255;f=d>>>16&255;a:{b:{switch(u|0){case 0:f=((I(f,j)>>>0)/255|0)+i|0;e=((I(e,j)>>>0)/255|0)+h|0;b=((I(b,j)>>>0)/255|0)+g|0;break a;case 1:d=i+f|0;f=d>>>0>=255?255:d;d=e+h|0;e=d>>>0>=255?255:d;b=b+g|0;b=b>>>0>=255?255:b;break a;case 3:f=(I(i,f)>>>0)/255|0;e=(I(e,h)>>>0)/255|0;b=(I(b,g)>>>0)/255|0;break a;case 7:break b;default:break a}}d=(I(i+j|0,f)>>>0)/255|0;f=d>>>0>=255?255:d;d=(I(h+j|0,e)>>>0)/255|0;e=d>>>0>=255?255:d;b=(I(g+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=e<<8|b|f<<16;n=n+4|0;c=c+4|0;if(o){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(c){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function oB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){k=(I(h,k)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+k|0;f=((I(c,f)>>>0)/255|0)+l|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+k|0;b=b>>>0>=255?255:b;c=f+l|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,k)&65535)>>>0)/255|0;f=((I(f,l)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(k+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(l+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function HB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){i=(I(h,i)>>>0)/255|0;k=(I(h,k)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+k|0;g=((I(c,g)>>>0)/255|0)+l|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+k|0;f=c>>>0>=255?255:c;c=g+l|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(f,k)&65535)>>>0)/255|0;g=((I(g,l)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(k+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(l+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function HA(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){i=(I(h,i)>>>0)/255|0;k=(I(h,k)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+l|0;g=((I(c,g)>>>0)/255|0)+k|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+l|0;f=c>>>0>=255?255:c;c=g+k|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(f,l)&65535)>>>0)/255|0;g=((I(g,k)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(i+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(l+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(k+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function $A(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];q=d&48;r=(d&240)-16>>>4|0;m=C[a+20>>2];n=C[a>>2];while(1){o=m;d=n;p=C[a+24>>2];if(p){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[o>>2];j=b>>>8|0;c=b>>>16|0;k=e>>>8&255;l=e>>>16&255;if(!(!q|(h|0)==255)){k=(I(h,k)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;l=(I(h,l)>>>0)/255|0}p=p-1|0;e=b>>>24|0;b=b&255;f=j&255;g=c&255;a:{b:{switch(r|0){case 0:c=h^255;e=h+((I(c,e)>>>0)/255|0)|0;b=((I(b,c)>>>0)/255|0)+l|0;f=((I(c,f)>>>0)/255|0)+k|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+l|0;b=b>>>0>=255?255:b;c=f+k|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,l)&65535)>>>0)/255|0;f=((I(f,k)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}j=h^255;c=(I(j+h|0,e)>>>0)/255|0;e=c>>>0>=255?255:c;b=(I(l+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(k+j|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[o>>2]=f<<8|g<<16|b|e<<24;o=o+4|0;d=d+4|0;if(p){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;m=C[a+32>>2]+m|0;n=C[a+12>>2]+n|0;if(d){continue}break}C[a+20>>2]=m;C[a>>2]=n}}function NK(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+100>>2];b=C[a+544>>2];if(b){if(b){Fe[C[c+8>>2]](c,b)}C[a+540>>2]=0;C[a+544>>2]=0}mp(a);C[a+528>>2]=0;b=C[a+132>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+136>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+144>>2]=0;b=C[a+148>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+148>>2]=0;b=C[a+428>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+428>>2]=0;b=C[a+424>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+424>>2]=0;b=C[a+420>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+420>>2]=0;b=C[a+408>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+408>>2]=0;b=C[a+412>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+412>>2]=0;b=C[a+392>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+392>>2]=0;b=C[a+396>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+396>>2]=0;b=C[a+400>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+400>>2]=0;b=C[a+384>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+384>>2]=0;b=C[a+388>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+388>>2]=0;b=C[a+364>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+364>>2]=0;b=C[a+492>>2];if(b){d=C[b+36>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+36>>2]=0;C[b+40>>2]=0;d=C[b+28>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+28>>2]=0;C[b+32>>2]=0;if(b){Fe[C[c+8>>2]](c,b)}}C[a+20>>2]=0;C[a+24>>2]=0}}function at(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0){break a}if(c-a>>>0<=11){break a}f=C[b+12>>2];d=f-12|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=f-14|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;c:{if(!c){break c}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;d:{if(!c){break d}c=((c<<8|c>>>8)&65535)+a|0;C[e+12>>2]=c;if($s(c,b,e+12|0)){break d}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=D[a+6|0]|D[a+7|0]<<8;C[e+8>>2]=(d<<8|d>>>8)&65535;g=_s(a+10|0,b,a,e+8|0)}Ce=e+16|0;return g} +function KJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=C[C[C[a+4>>2]+96>>2]+28>>2];e=C[a+160>>2];f=C[e+156>>2];a:{if(!(!f|!(A[f+4|0]&1))){f=C[C[e+4>>2]+100>>2];g=C[e+88>>2];if(g){Fe[C[f+8>>2]](f,g)}C[e+88>>2]=0;f=C[e+156>>2];C[f+4>>2]=C[f+4>>2]&-2;break a}C[e+88>>2]=0}C[e+24>>2]=0;C[e+28>>2]=0;C[e+152>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+40>>2]=0;C[e+44>>2]=0;C[e+48>>2]=0;C[e+52>>2]=0;C[e+56>>2]=0;C[e+60>>2]=0;p(e+72|0,0,72);c=Fe[C[h+72>>2]](C[a+160>>2],C[b+44>>2],c,d|8)|0;if(!c){b=C[a+160>>2];d=C[b+28>>2];C[a+24>>2]=C[b+24>>2];C[a+28>>2]=d;d=C[b+36>>2];C[a+32>>2]=C[b+32>>2];C[a+36>>2]=d;d=C[b+44>>2];C[a+40>>2]=C[b+40>>2];C[a+44>>2]=d;d=C[b+52>>2];C[a+48>>2]=C[b+48>>2];C[a+52>>2]=d;C[a+56>>2]=C[b+56>>2];C[a+60>>2]=C[b+60>>2];C[a+72>>2]=C[b+72>>2];C[a+124>>2]=C[b+124>>2];d=C[b+120>>2];C[a+116>>2]=C[b+116>>2];C[a+120>>2]=d;d=C[b+112>>2];C[a+108>>2]=C[b+108>>2];C[a+112>>2]=d;d=C[b+96>>2];C[a+92>>2]=C[b+92>>2];C[a+96>>2]=d;d=C[b+88>>2];C[a+84>>2]=C[b+84>>2];C[a+88>>2]=d;d=C[b+80>>2];C[a+76>>2]=C[b+76>>2];C[a+80>>2]=d;C[a+100>>2]=C[b+100>>2];C[a+104>>2]=C[b+104>>2];C[a+128>>2]=C[b+128>>2];C[a+132>>2]=C[b+132>>2];C[a+136>>2]=C[b+136>>2];C[a+140>>2]=C[b+140>>2]}return c|0}function wv(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(So(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(So(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=So(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 84608}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function ln(a,b){var c=0,d=0,e=0;e=Ce-32|0;Ce=e;if(Ej(b,e+28|0,e+24|0,e+20|0,e+16|0,e+12|0)){mf(a,0,44);C[a>>2]=b;b=C[e+28>>2];A[a+8|0]=b;A[a+9|0]=(b+7|0)/8;b=C[e+24>>2];A[a+32|0]=0;C[a+12>>2]=b;A[a+28|0]=8;a:{if(!b){break a}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}A[a+32|0]=c;if(!(d&2)){break a}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}A[a+28|0]=c}b=C[e+20>>2];c=0;A[a+33|0]=0;C[a+16>>2]=b;A[a+29|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}A[a+33|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}A[a+29|0]=c}b=C[e+16>>2];c=0;A[a+34|0]=0;C[a+20>>2]=b;A[a+30|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}A[a+34|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}A[a+30|0]=c}b=C[e+12>>2];c=0;A[a+35|0]=0;C[a+24>>2]=b;A[a+31|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}A[a+35|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}A[a+31|0]=c}C[a+36>>2]=1;C[a+40>>2]=0;C[a+4>>2]=0;a=0}else{a=-1}Ce=e+32|0;return a}function iu(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(fo(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(fo(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=fo(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 84608}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function hu(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(eo(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(eo(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=eo(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 84608}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function gu(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=C[b>>2];if(!d){break a}C[b>>2]=d+1}d=b;A[a+24|0]=0;C[a+32>>2]=b;e=C[b+12>>2];C[a+4>>2]=e;c=C[b+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;b:{if(!e){break b}c:{d:{e:{f:{if(co(e,a)){break f}g:{if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(!d){break g}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;c=C[d+16>>2];C[a+8>>2]=c+e;C[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}else{c=1073741823}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!e){break b}if(co(e,a)){break f}if(D[a+24|0]|!C[a+28>>2]){break g}d=Pf(b);C[a+4>>2]=d;C[a+8>>2]=d+C[b+16>>2];if(d){continue}break}}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break e}if(!C[a+28>>2]){break d}C[a+28>>2]=0;d=co(e,a);e=C[a+28>>2];Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(e){break e}if(d){break c}}Ue(b);return 84608}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}function vC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=C[a+36>>2]/2|0;b=C[a+16>>2]/4|0;a:{e=C[a+28>>2];if(!e){break a}f=C[a+24>>2];g=f&7;f=(f+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];h=d<<1;i=b<<2;b:while(1){e=e-1|0;d=f;c:{d:{switch(g-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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;b=d-1|0;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=b;break f}a=a+h|0;c=c+i|0;if(e){continue b}break a}b=0;continue}}}}function dA(a,b,c,d,e,f,g,h,i,j,k,l,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;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=J(n);o=J(o);var p=0,q=0,r=J(0),s=0,t=0,u=0;p=C[a+412>>2];if(p){q=C[p+4>>2];q=(q|0)==372645892|(q|0)==370546692}j=k?l:j;C[b+8>>2]=j;l=k?m:0;b=b+4|0;a:{if(c){a=ii(a,I(j,20),b);if(!a){return-1}if((j|0)<=0){break a}t=l-1|0;l=0;while(1){b=l;b:{c:{switch(t|0){case 3:b=C[(l<<2)+k>>2];break b;case 1:b=E[(l<<1)+k>>1];break b;case 0:break c;default:break b}}b=D[k+l|0]}c=I(b,g)+f|0;u=D[c+1|0];m=D[c+2|0];p=D[c|0];c=D[c+3|0];s=I(b,e)+d|0;G[a>>2]=G[s>>2]*n;r=G[s+4>>2];A[a+11|0]=c;A[a+10|0]=q?p:m;A[a+9|0]=u;A[a+8|0]=q?m:p;G[a+4>>2]=r*o;b=I(b,i)+h|0;G[a+12>>2]=G[b>>2];G[a+16>>2]=G[b+4>>2];a=a+20|0;l=l+1|0;if((j|0)!=(l|0)){continue}break}break a}a=ii(a,I(j,12),b);if(!a){return-1}if((j|0)<=0){break a}i=l-1|0;m=0;while(1){l=m;d:{e:{switch(i|0){case 3:l=C[(m<<2)+k>>2];break d;case 1:l=E[(m<<1)+k>>1];break d;case 0:break e;default:break d}}l=D[k+m|0]}b=I(g,l)+f|0;p=D[b+1|0];c=D[b+2|0];h=D[b|0];b=D[b+3|0];l=I(e,l)+d|0;G[a>>2]=G[l>>2]*n;r=G[l+4>>2];A[a+11|0]=b;A[a+10|0]=q?h:c;A[a+9|0]=p;A[a+8|0]=q?c:h;G[a+4>>2]=r*o;a=a+12|0;m=m+1|0;if((j|0)!=(m|0)){continue}break}}return 0}function Vh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ce-16|0;Ce=g;i=C[a+100>>2];C[g+12>>2]=0;j=C[a+356>>2];m=E[a+340>>1];a:{b:{if(!m){l=-1;h=-1;k=-1;break b}l=-1;h=-1;e=-1;k=-1;d=j;while(1){c:{if(!E[d+8>>1]|E[d+6>>1]!=(b|0)){break c}d:{switch(E[d>>1]){case 0:case 2:l=f;break c;case 1:if(!E[d+4>>1]){e=f;break c}k=E[d+2>>1]?k:f;break c;case 3:break d;default:break c}}if((h|0)!=-1&(E[d+4>>1]&1023)!=9){break c}n=E[d+2>>1];if(n>>>0>10|!(1<>1]&1023)==9;h=f}d=d+20|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}if((e|0)>=0){break a}}e=k}e:{f:{g:{h:{if((h|0)>=0){if((e|0)>=0){b=1006;if(!o){break h}}f=0;d=I(h,20)+j|0;e=E[d+2>>1];if(e>>>0>10){break e}b=1007;if(1<=0){break h}f=0;b=1007;e=l;if((e|0)<0){break e}}if(!j){break f}d=I(e,20)+j|0}i:{if(C[d+16>>2]){break i}e=C[a+360>>2];f=0;p=d,q=Ve(i,1,0,E[d+8>>1],0,g+12|0),C[p+16>>2]=q;j:{if(C[g+12>>2]){break j}a=bf(e,C[d+12>>2]);C[g+12>>2]=a;if(a){break j}a=jg(e,C[d+16>>2],E[d+8>>1]);C[g+12>>2]=a;if(!a){break i}}a=C[d+16>>2];if(a){Fe[C[i+8>>2]](i,a)}B[d+8>>1]=0;C[d+16>>2]=0;break e}f=Fe[b|0](d,i)|0;break e}f=0}C[c>>2]=f;Ce=g+16|0;return C[g+12>>2]}function Dl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ce+-64|0;Ce=e;a:{if(c-512>>>0<4294966785){break a}b:{c:{d:{switch(b|0){case 1:d=c+419550|0;f=D[d|0];if(!D[c+420062|0]){break c}h=1;if(a&f){break c}A[c+419550|0]=a|f;d=0;break a;case 0:break d;default:break a}}if(!D[c+420062|0]){break a}A[c+419550|0]=0;f=769;break b}A[d|0]=a|f;i=1;f=768}A[c+420062|0]=b;g=C[(c<<2)+420576>>2];if((a|0)==2){C[105656]=1}d=64;e:{f:{switch(g-1073742048|0){case 4:d=128;break e;case 1:d=1;break e;case 5:d=2;break e;case 2:d=256;break e;case 6:d=512;break e;case 3:d=1024;break e;case 7:d=2048;break e;case 33:d=16384;break e;case 0:break e;default:break f}}d=0}g:{if(i){h:{switch(g-1073741881|0){case 26:a=E[209774]^4096;break g;case 0:a=E[209774]^8192;break g;case 14:a=E[209774]^-32768;break g;default:break h}}a=E[209774]|d;break g}a=E[209774]&(d^-1)}d=0;B[209774]=a;if((qf(f,-1)|0)==1){C[e+28>>2]=g;B[e+32>>1]=E[209774];C[e+24>>2]=c;A[e+21|0]=h;A[e+20|0]=b;C[e+8>>2]=f;a=C[104886];if(a){a=C[a+4>>2]}else{a=0}C[e+16>>2]=a;d=(Df(e+8|0)|0)>0}if(!(D[419549]&3)|((b|0)!=1|(g|0)!=9)){break a}a=C[104886];if(!a|(C[a+48>>2]&1048577)!=1048577){break a}if(!bg(28239,1)){break a}qq(C[104886])}Ce=e- -64|0;return d}function uC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=C[a+36>>2]/2|0;b=C[a+16>>2]/4|0;a:{e=C[a+28>>2];if(!e){break a}f=C[a+24>>2];g=f&7;f=(f+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];h=d<<1;i=b<<2;b:while(1){e=e-1|0;d=f;c:{d:{switch(g-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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[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=C[c>>2];B[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;b=d-1|0;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=b;break f}a=a+h|0;c=c+i|0;if(e){continue b}break a}b=0;continue}}}}function Xy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ce-16|0;Ce=g;C[g+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}d=0;if((b|0)==(c|0)){break a}e=C[c+8>>2];h=e>>31|1;f=C[b+8>>2];i=f>>31|1;if(!C[b+12>>2]){a=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=a;a=C[b+20>>2];C[c+16>>2]=C[b+16>>2];C[c+20>>2]=a;a=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=a;if((h|0)==(i|0)){break a}C[c+8>>2]=0-C[c+8>>2];break a}d=f>>31;f=(d^f)-d|0;d=I(f,C[b>>2]);j=C[a>>2];a=C[c+12>>2];b:{c:{if(a){k=e>>31;e=I(C[c>>2],(e^k)-k|0);if((e|0)==(d|0)){break b}a=Gx(j,e,d,a,g+12|0);break c}a=Wk(j,d,g+12|0)}C[c+12>>2]=a}d:{if(C[g+12>>2]){break d}e=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=e;e=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=e;e=C[b+20>>2];C[c+16>>2]=C[b+16>>2];C[c+20>>2]=e;C[c+12>>2]=a;if((h|0)==(i|0)){t(a,C[b+12>>2],d);break d}d=C[c>>2];if(!d){break d}h=0;e=0-f|0;c=I(f,d-1|0)+a|0;b=C[b+12>>2];i=d&3;e:{if(!i){a=d;break e}a=d;while(1){t(c,b,f);a=a-1|0;c=c+e|0;b=b+f|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(d>>>0<4){break d}while(1){t(c,b,f);c=c+e|0;b=b+f|0;t(c,b,f);c=c+e|0;b=b+f|0;t(c,b,f);c=c+e|0;b=b+f|0;t(c,b,f);c=c+e|0;b=b+f|0;a=a-4|0;if(a){continue}break}}d=C[g+12>>2]}Ce=g+16|0;return d}function Eq(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;i=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=((I(a&255,i)>>>0)/255|0)+g|((I(a>>>24|0,i)>>>0)/255|0)+h<<24|((I(a>>>16&255,i)>>>0)/255|0)+e<<16|((I(a>>>8&255,i)>>>0)/255|0)+f<<8;return 0;case 1:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=(a>>>16&255)+e|0;d=a&-16777216|(b>>>0>=255?255:b)<<16;b=(a>>>8&255)+f|0;a=(a&255)+g|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=(I(a&255,g)>>>0)/255|a&-16777216|(I(a>>>16&255,e)>>>0)/255<<16|(I(a>>>8&255,f)>>>0)/255<<8;return 0;case 7:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=a>>>16&255;b=((I(b,e)>>>0)/255|0)+((I(b,i)>>>0)/255|0)|0;d=(b>>>0>=255?255:b)<<16;b=a>>>24|0;b=((I(b,h)>>>0)/255|0)+((I(b,i)>>>0)/255|0)|0;d=d|(b>>>0>=255?255:b)<<24;b=a>>>8&255;b=((I(b,f)>>>0)/255|0)+((I(b,i)>>>0)/255|0)|0;a=a&255;a=((I(a,g)>>>0)/255|0)+((I(a,i)>>>0)/255|0)|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;default:break a}}C[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=h<<24|e<<16|f<<8|g;return 0}function Yg(a,b,c){var d=0,e=0,f=0,g=0;g=Ce-32|0;Ce=g;a:{if(!(D[a|0]?a:0)){C[g>>2]=17197;Qe(19745,g);break a}if(!b){C[g+16>>2]=14466;Qe(19745,g+16|0);break a}d=C[104879];b:{if(!d){break b}while(1){if(!uf(a,C[d>>2])){e=C[d+12>>2];if(!e){break b}d=d+12|0;while(1){if(!(C[e>>2]!=(b|0)|C[e+4>>2]!=(c|0))){C[(f?f+8|0:d)>>2]=C[e+8>>2];if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}break b}f=e;e=C[e+8>>2];if(e){continue}break}break b}d=C[d+16>>2];if(d){continue}break}}e=Fe[C[94762]](12)|0;if(e){C[94766]=C[94766]+1}if(!e){_e(0);break a}C[e+4>>2]=c;C[e>>2]=b;c:{d:{d=C[104879];if(d){while(1){if(!uf(a,C[d>>2])){break d}d=C[d+16>>2];if(d){continue}break}}d=Fe[C[94762]](20)|0;if(d){C[94766]=C[94766]+1}if(!d){_e(0);if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}break a}f=Sg(a);C[d>>2]=f;if(!f){if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}_e(0);break a}C[d+12>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+16>>2]=C[104879];C[104879]=d;f=0;break c}f=C[d+12>>2]}C[e+8>>2]=f;C[d+12>>2]=e;e=Ug(a);d=C[104879];e:{if(!d){break e}while(1){if(!uf(a,C[d>>2])){if(C[d+8>>2]!=2?e:0){break e}e=C[d+4>>2];break e}d=C[d+16>>2];if(d){continue}break}}Fe[b|0](c,a,e,e)}Ce=g+32|0}function gn(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;a:{if(!D[a+12|0]){break a}if(!b){return}e=C[a+20>>2];if(F[a+24>>2]<=(e>>>1|0)+e>>>0){e=0;b:{if(!D[a+12|0]){break b}e=(C[a+16>>2]<<1)+8|0;j=e?32-L(e)|0:0;g=kf(12<>>0<=29){n=g+I(h,12)|0;k=C[104430];l=C[104429];m=C[104428];f=g;e=h;while(1){c:{if(!e){k=0;l=0;m=0;i=0;break c}C[f+8>>2]=0;C[f>>2]=0;C[f+4>>2]=0;i=1}e=e-i|0;f=I(i,12)+f|0;if((n|0)!=(f|0)){continue}break}C[104430]=k;C[104429]=l;C[104428]=m}C[a+16>>2]=0;C[a+20>>2]=0;i=C[a+32>>2];C[a+32>>2]=g;g=C[a+24>>2];C[a+24>>2]=h-1;C[a+28>>2]=C[(j>>>0>31?35308:(j<<2)+35184|0)>>2];if(!(!i|(g|0)==-1)){e=0;while(1){f=e;e=i+I(e,12)|0;h=C[e>>2];if(!(!h|!C[e+4>>2])){gn(a,h,C[e+8>>2],e+4|0)}e=f+1|0;if((f|0)!=(g|0)){continue}break}}Re(i);e=1}if(!e){break a}}f=Lq(a,b,c);g=C[a+32>>2];h=I(f,12)+g|0;e=C[h>>2];d:{e:{if(!C[d>>2]){if((b|0)!=(e|0)){break a}h=g+I(f,12)|0;break e}if(e){break e}e=C[a+20>>2]+1|0;break d}e=C[a+20>>2];C[a+20>>2]=e-1;if(!C[(g+I(f,12)|0)+4>>2]){break d}C[a+16>>2]=C[a+16>>2]-1}C[h>>2]=b;d=C[d>>2];b=g+I(f,12)|0;C[b+8>>2]=c;C[b+4>>2]=d;C[a+20>>2]=e;if(!C[b+4>>2]){return}C[a+16>>2]=C[a+16>>2]+1}}function Fj(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,o=0;e=Ce-16|0;Ce=e;c=C[a>>2];a:{if(!(c&2)){break a}C[a>>2]=c&-3;b:{if(!b|c&1){break b}b=C[a+52>>2];if(D[b+69|0]&32){c=zl(I(C[a+16>>2],C[a+12>>2]));C[a+20>>2]=c;b=C[a>>2];if(c){C[a>>2]=b|8;Gj(a,C[C[a+52>>2]+72>>2]);C[e>>2]=0;C[e+4>>2]=0;C[e+8>>2]=C[a+8>>2];C[e+12>>2]=C[a+12>>2];yr(a,e,a,e);break b}C[a>>2]=b|2;break a}j=C[a+8>>2];k=C[a+4>>2];g=C[b+12>>2];b=D[g|0];c=zl(I(C[a+16>>2],C[a+12>>2]));C[a+20>>2]=c;d=C[a>>2];if(c){i=(b|0)==2;m=i?394:395;n=i?396:395;C[a>>2]=d|8;mf(c,0,I(C[a+16>>2],C[a+12>>2]));c=g+28|0;h=C[a+20>>2];o=(b|0)!=2;while(1){b=0;while(1){c:{if(!o){f=D[c|0];l=2;d=D[c+1|0];break c}f=E[c>>1];l=4;d=E[c+2>>1]}b=b+f|0;c=c+l|0;d:{if(d){c=(Fe[n|0]((b<<2)+h|0,c,d,g,k)|0)+c|0;b=b+d|0;break d}if(!b){break b}}if((b|0)<(j|0)){continue}break}b=0;c=(i?c&2:0)+c|0;while(1){d=c+4|0;f=E[c>>1]+b|0;c=E[c+2>>1];e:{if(!c){b=f;break e}b=c+f|0;d=(Fe[m|0]((f<<2)+h|0,d,c,g,k)|0)+d|0}c=d;if((b|0)<(j|0)){continue}break}h=(C[a+16>>2]&-4)+h|0;continue}}C[a>>2]=d|2;break a}b=C[a+52>>2];C[b+68>>2]=C[b+68>>2]&-24577;b=C[b+12>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[C[a+52>>2]+12>>2]=0}Ce=e+16|0}function dN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>F[b+160>>2]){tf(b,8)}c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(c>>>0<=C[b+160>>2]-a>>>0&c>>>0>8207)){tf(b,8)}c=D[a+8204|0]|D[a+8205|0]<<8|(D[a+8206|0]<<16|D[a+8207|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(C[b+160>>2]-d>>>0)/12>>>0){tf(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);j=D[d+1|0]<<16|D[d|0]<<24;a=j|(D[d+3|0]|D[d+2|0]<<8);k=D[d+5|0]<<16|D[d+4|0]<<24;c=k|(D[d+7|0]|D[d+6|0]<<8);if(a>>>0>c>>>0){tf(b,8)}if(!(!i|a>>>0>e>>>0)){tf(b,8)}c:{if(!C[b+164>>2]){break c}l=C[b+172>>2];e=c-a|0;if(!(l>>>0>=e>>>0&l-e>>>0>(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0)){tf(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(D[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){tf(b,8)}if(!(D[(a>>>3&8191)+h|0]<<(a&7)&128)){tf(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){tf(b,8)}if(!e){break c}while(1){if(D[(a>>>3&8191)+h|0]<<(a&7)&128){tf(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 Ez(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0;o(+a);c=j(1)|0;c=c&2147483647;f=!(j(0)|0)&(c|0)==2146435072|c>>>0<2146435072;o(+b);c=j(1)|0;c=c&2147483647;d=a+b;a:{if(!(f&(!(j(0)|0)&(c|0)==2146435072|c>>>0<2146435072))){break a}o(+b);e=j(1)|0;c=j(0)|0;f=c;if(!(c|e-1072693248)){d=Zj(a);break a}o(+a);c=j(1)|0;g=j(0)|0;k=e>>>30&2;h=k|c>>>31;c=c&2147483647;b:{if(!(g|c)){c:{switch(h-2|0){case 0:d=3.141592653589793;break a;case 1:break c;default:break b}}d=-3.141592653589793;break a}o(1.5707963267948966);g=j(1)|0;i=j(0)|0;o(+a);m=j(1)|0;j(0)|0;l(0,i|0);l(1,g&2147483647|m&-2147483648);e=e&2147483647;d=+n();if(!(e|f)){break a}d:{if((e|0)==2146435072){if((c|0)!=2146435072){break d}d=H[(h<<3)+360208>>3];break a}o(1.5707963267948966);f=j(1)|0;i=j(0)|0;o(+a);g=j(1)|0;j(0)|0;l(0,i|0);l(1,f&2147483647|g&-2147483648);d=+n();if(!((c|0)!=2146435072&e+67108864>>>0>=c>>>0)){break a}e:{if(k){d=0;if(e>>>0>c+67108864>>>0){break e}}d=Zj(K(a/b))}a=d;f:{switch(h|0){case 1:d=-a;break a;case 2:d=3.141592653589793-(a+-12246467991473532e-32);break a;case 0:break b;default:break f}}d=a+-12246467991473532e-32+-3.141592653589793;break a}a=H[(h<<3)+360240>>3]}d=a}return d}function ov(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-16|0;Ce=g;e=-1;f=C[a+732>>2];if(f+1>>>0>=2){e=f}a:{b:{c:{if(c>>>0>>0){e=(c^-1)+e|0;if(e>>>0>2]){C[d>>2]=e}e=Po(a,C[a+372>>2]);if(!e){i=b-c|0;C[g+12>>2]=i;b=nv(a,C[a+372>>2],C[a+760>>2]+c|0,g+12|0,0,d);if((b|0)==1){f=-2;e=a+220|0;d:{if(!e|!C[e+32>>2]|!C[e+36>>2]){break d}b=C[e+28>>2];if(!b|(e|0)!=C[b>>2]|C[b+4>>2]-16180>>>0>31){break d}f=0;C[b+52>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+32>>2]=0;C[e+8>>2]=0;C[e+20>>2]=0;C[e+24>>2]=0;h=C[b+12>>2];if(h){C[e+48>>2]=h&1}C[b+60>>2]=0;C[b+64>>2]=0;C[b+36>>2]=0;C[b+24>>2]=32768;C[b+16>>2]=0;C[b+20>>2]=-1;C[b+4>>2]=16180;C[b+8>>2]=0;C[b+7108>>2]=1;C[b+7112>>2]=-1;e=b+1332|0;C[b+112>>2]=e;C[b+84>>2]=e;C[b+80>>2]=e}if(!f){h=C[d>>2];j=h+c|0;f=j+1|0;b=ih(a,f);if(b){b=We(b,0,f);e=nv(a,C[a+372>>2],C[a+760>>2]+c|0,g+12|0,b+c|0,d);if((e|0)!=1){break c}e=-7;if((h|0)!=C[d>>2]){break c}A[b+j|0]=0;d=C[a+760>>2];if(c){jf(b,d,c)}C[a+764>>2]=f;C[a+760>>2]=b;nf(a,d);e=1;if(C[g+12>>2]==(i|0)){break b}ff(a,21997);break b}e=-4;lj(a,-4);break b}lj(a,1);e=-7;break b}e=b?b:-7;break b}e=(e|0)==1?-7:e;break a}e=-4;lj(a,-4);break a}nf(a,b)}C[a+216>>2]=0}Ce=g+16|0;return e}function Ys(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,o=0,p=0;c=C[b+100>>2];e=D[a+2|0]|D[a+3|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+a|0}else{f=84608}e=zf(f,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);a:{if((e|0)==-1){break a}c=C[c+76>>2];C[b+40>>2]=1;C[b+4>>2]=c;f=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[f+80>>2];A[b+24|0]=(c|0)==C[f+76>>2]?D[(C[f+92>>2]+I(c,20)|0)+15|0]:0;if(!Og(b+4|0)){break a}f=0;c=D[a+8|0]|D[a+9|0]<<8;c=e>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:((e<<1)+a|0)+10|0;c=D[c|0]|D[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}g=D[c|0]|D[c+1|0]<<8;d=0;b:{if(!g){break b}e=C[b+4>>2];n=c+2|0;d=a+4|0;o=d+2|0;k=qT(D[d|0]|D[d+1|0]<<8);l=D[d+2|0]|D[d+3|0]<<8;p=(k+qT(l)<<1)+2|0;a=C[b+100>>2];m=C[C[a+92>>2]+I(e,20)>>2];g=((g<<8|g>>>8)&65535)-1|0;c:{while(1){i=f+g>>>1|0;j=I(p,i)+n|0;h=D[j|0]|D[j+1|0]<<8;h=(h<<8|h>>>8)&65535;d:{if(h>>>0>m>>>0){g=i-1|0;break d}if((h|0)==(m|0)){break c}f=i+1|0}if((f|0)<=(g|0)){continue}break}d=0;break b}f=d;d=j+2|0;e:{if(!(Fi(f,b,c,d,C[a+100>>2]+I(C[a+76>>2],20)|0)|Fi(o,b,c,d+(k<<1)|0,C[a+100>>2]+I(e,20)|0))){break e}b=e+1|0;c=C[a+76>>2];if(b-c>>>0<2){break e}Sf(a,c,b)}C[a+76>>2]=e+((l|0)!=0);d=1}}return d}function jM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;C[a+724>>2]=0;C[a+728>>2]=0;C[a+732>>2]=0;C[a+736>>2]=0;g=a+724|0;a:{b:{c:{if(!(Fe[C[a+508>>2]](a,1128418371,b,e+12|0)|0)){c=2;break c}c=1;if(!(Fe[C[a+508>>2]](a,1161972803,b,e+12|0)|0)){break c}if(!(Fe[C[a+508>>2]](a,1651273571,b,e+12|0)|0)){break c}c=Fe[C[a+508>>2]](a,1935829368,b,e+12|0)|0;if(c){break b}c=3}C[a+732>>2]=c;d=C[e+12>>2];if(d>>>0<8){c=3;break b}d:{switch(c-1|0){case 0:case 1:c=eh(b,d,g);if(c){break b}f=C[e+12>>2];C[a+728>>2]=f;c=2;d=C[a+724>>2];if((D[d+1|0]<<16|D[d|0]<<24)!=131072){break b}c=3;d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>65535){break b}C[a+736>>2]=f>>>0<(I(d,48)|8)>>>0?(f-8>>>0)/48|0:d;break a;case 2:break d;default:break a}}c=Cf(b,8);if(c){break b}d=Gf(b);c=Gf(b);f=wg(b);xf(b);if(!d){c=2;break b}if((c&65533)!=1){c=3;break b}c=3;if(f>>>0>65535){break b}d=C[e+12>>2];c=bf(b,C[b+8>>2]-8|0);if(c){break b}d=d>>>0<(f<<2)+8>>>0?d-8>>>2|0:f;c=(d<<2)+8|0;C[a+728>>2]=c;c=eh(b,c,g);if(c){break b}C[a+736>>2]=d;break a}if(C[g>>2]){Wf(b,g)}C[a+728>>2]=0;C[a+732>>2]=0;h=c}Ce=e+16|0;return h|0}function dw(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ce+-64|0;Ce=k;n=6;e=C[a+528>>2];a:{if(!e){break a}f=C[e+4>>2];b:{if(!f){f=0;break b}q=b>>>0>f>>>0?f:b;r=e+88|0;while(1){b=I(g,12)+r|0;j=C[b+8>>2];l=C[b+4>>2];c:{if(g>>>0>>0){i=D[b|0];d=C[(g<<2)+c>>2];break c}i=D[b|0];d=(C[((i<<2)+l|0)-4>>2]-C[l>>2]|0)/2|0}d:{e:{if(!i){break e}b=0;h=-1;f:{g:{while(1){m=b<<2;o=m+l|0;p=C[o>>2];if((d|0)==(p|0)){break f}if((d|0)<(p|0)){break g}h=b;b=b+1|0;if((i|0)!=(b|0)){continue}break}if(!i){break e}b=C[((i<<2)+j|0)-4>>2];break d}if((h|0)<0){break e}b=h<<2;h=C[b+l>>2];b=of(d-h|0,C[j+m>>2]-C[b+j>>2]|0,C[o>>2]-h|0);f=C[e+4>>2];break d}b=C[j+m>>2];break d}b=C[j>>2]}C[(g<<2)+k>>2]=b;g=g+1|0;if(f>>>0>g>>>0){continue}break}e=C[a+528>>2];if(!e){break a}}n=0;g=C[e>>2];if(!g){break a}a=C[e+4>>2];f=a>>>0>>0?a:f;c=0;while(1){b=0;d=0;h=65536;if(a){while(1){d=32768;d=b>>>0>>0?C[(b<<2)+k>>2]:d;a=(d|0)>0?d:0;a=a>>>0>=65536?65536:a;h=Te(h,c>>>b&1?a:65536-a|0);b=b+1|0;d=C[e+4>>2];if(b>>>0>>0){continue}break}g=C[e>>2]}C[C[e+136>>2]+(c<<2)>>2]=h;a=d;c=c+1|0;if(g>>>0>c>>>0){continue}break}}Ce=k- -64|0;return n|0}function go(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=C[b+12>>2];e=d-4|0;C[b+12>>2]=e;if((D[a|0]|D[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[a+6|0]|D[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=Ce-16|0;Ce=f;h=C[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=C[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=C[b+12>>2];c=i-2|0;C[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=D[e|0]|D[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;C[b+12>>2]=d;if((D[c|0]|D[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!Lo(c+2|0,b,c)){break c}C[f+12>>2]=c;d=1;if(Ho(c+6|0,b,f+12|0)){break b}}c=C[b+28>>2];if(c>>>0>31){d=0;break b}C[b+28>>2]=c+1;d=0;if(!D[b+24|0]){break b}A[e|0]=0;A[e+1|0]=0;d=1}Ce=f+16|0;if(!d){break a}c=D[a+6|0]|D[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=D[a+8|0]|D[a+9|0]<<8;c=I(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=C[b+12>>2]-c|0;C[b+12>>2]=a;j=(a|0)>0}return j}function nu(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{switch(a-17|0){default:if((a|0)==263){break a}if((a|0)==292){break d}case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:Sj(a,b);return;case 13:break b;case 12:break c;case 0:break e}}a=C[b+24>>2];f:{if(a){a=a-1|0;if(a>>>0>=F[b+32>>2]){a=C[21153];e=C[21152];C[104428]=e;C[104429]=a;l(0,e|0);l(1,a|0);d=+n();break f}d=H[C[b+36>>2]+(a<<3)>>3];break f}A[b+20|0]=1;a=C[21153];e=C[21152];C[104428]=e;C[104429]=a;l(0,e|0);l(1,a|0);d=+n()}g:{if(K(d)<2147483648){a=~~d;break g}a=-2147483648}if((a|0)<0){A[b+20|0]=1;a=0}C[c+16>>2]=a;break a}a=C[b+24>>2];h:{if(a){a=a-1|0;if(a>>>0>=F[b+32>>2]){a=C[21153];e=C[21152];C[104428]=e;C[104429]=a;l(0,e|0);l(1,a|0);d=+n();break h}d=H[C[b+36>>2]+(a<<3)>>3];break h}A[b+20|0]=1;a=C[21153];e=C[21152];C[104428]=e;C[104429]=a;l(0,e|0);l(1,a|0);d=+n()}i:{if(K(d)<2147483648){a=~~d;break i}a=-2147483648}if((a|0)<0){A[b+20|0]=1;a=0}C[c+20>>2]=a;break a}Hk(b+20|0,b);return}d=Gk(b);a=C[b+24>>2];if(a>>>0>2]){C[b+24>>2]=a+1;H[C[b+36>>2]+(a<<3)>>3]=d;return}A[b+20|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;H[52214]=d;return}C[b+24>>2]=0}function lu(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}g=a-4|0;while(1){d=C[g>>2];if(!d){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;c=Qf(d);A[b+40|0]=1;C[b+36>>2]=c;d=Of(d,1751474532);b:{if(!d){break b}c=C[d>>2];if(!c){break b}C[d>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=d;e=C[d+12>>2];C[b+4>>2]=e;f=C[d+16>>2];C[b+8>>2]=e+f;C[b+28>>2]=0;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[b+12>>2]=c;C[b+20>>2]=0;C[b>>2]=0;c:{if(!e){Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break c}d:{e:{if((f|0)<54){break e}C[b+12>>2]=c-54;if((D[e|0]|D[e+1|0]<<8)!=256){break e}c=D[e+12|0]|D[e+13|0]<<8|(D[e+14|0]<<16|D[e+15|0]<<24);Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))!=1594834165){break d}if(C[d+4>>2]){C[d+4>>2]=0}break c}Ue(d);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}Ue(d);d=84608}d=d?d:84608;c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<54?84608:C[c+12>>2]}function ou(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=C[b+4>>2];a:{if(i>>>0>a>>>0){break a}g=C[b+8>>2];if(g>>>0>>0|g-a>>>0<2){break a}d=C[b+12>>2];f=d-2|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=d-4|0;C[b+12>>2]=f;if((f|0)<=0){break a}d=D[a|0]|D[a+1|0]<<8;if(d){e=a+2|0;if(e>>>0>g>>>0){break a}h=g-e|0;d=(d<<8|d>>>8)&65535;e=I(d,3);if(h>>>0>>0){break a}f=f-e|0;C[b+12>>2]=f;if((f|0)<=0){break a}j=d>>>0<=1?1:d;k=C[b+36>>2];d=0;while(1){e=I(d,3)+a|0;h=D[e+2|0]|D[e+3|0]<<8;if(k>>>0<=((h<<8|h>>>8)&65535)>>>0|D[e+4|0]>=c>>>0){break a}d=d+1|0;if((j|0)!=(d|0)){continue}break}c=D[a|0]|D[a+1|0]<<8}else{c=0}d=c&65535;if(!d){return 0}if(D[a+2|0]|D[a+3|0]<<8){break a}d=c<<8|d>>>8;e=d&65535;c=1;b:{if((d&65535)>>>0<=1){break b}d=0;while(1){h=(d<<8|(d&65280)>>>8)&65535;d=I(c,3)+a|0;d=D[d+2|0]|D[d+3|0]<<8;if(h>>>0<((d<<8|d>>>8)&65535)>>>0){c=c+1|0;if((e|0)!=(c|0)){continue}break b}break}return 0}c=(I(e,3)+a|0)+2|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<2){break a}c=f-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=a;a=D[a|0]|D[a+1|0]<<8;a=a?(c+I((a<<8|a>>>8)&65535,3)|0)-1|0:84608;a=D[a+3|0]|D[a+4|0]<<8;l=C[b+36>>2]==((a<<8|a>>>8)&65535)}return l}function VS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=0,g=0;a=ii(a,d<<3,b+4|0);if(!a){return-1}C[b+8>>2]=d;a:{if((d|0)<=0){break a}b=d&3;if(d>>>0>=4){g=d&-4;d=0;while(1){e=G[c>>2];b:{if(J(K(e))>2]=f;e=G[c+4>>2];c:{if(J(K(e))>2]=f;e=G[c+8>>2];d:{if(J(K(e))>2]=f;e=G[c+12>>2];e:{if(J(K(e))>2]=f;e=G[c+16>>2];f:{if(J(K(e))>2]=f;e=G[c+20>>2];g:{if(J(K(e))>2]=f;e=G[c+24>>2];h:{if(J(K(e))>2]=f;e=G[c+28>>2];i:{if(J(K(e))>2]=f;c=c+32|0;a=a+32|0;d=d+4|0;if((g|0)!=(d|0)){continue}break}}if(!b){break a}d=0;while(1){e=G[c>>2];j:{if(J(K(e))>2]=f;e=G[c+4>>2];k:{if(J(K(e))>2]=f;c=c+8|0;a=a+8|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}return 0}function $v(a,b,c,d,e,f,g,h,i){var j=0,k=0,m=0,n=J(0),o=J(0),p=0,q=0,r=J(0),s=0,t=0;k=Ce;t=k;s=C[a+4>>2];p=k-((h<<2)+15&-16)|0;Ce=p;a=h;a=C[s+500>>2]?C[s+504>>2]-g|0:a;a=(a|0)<(h|0)?a:h;a:{if((a|0)<=0){a=0;break a}k=0;while(1){if(!(C[(k<<2)+f>>2]?f:0)){m=k<<2;j=pT(R(+J(G[m+d>>2]/G[e+m>>2])));j=G[c+m>>2]>2]=q}k=k+1|0;if((k|0)!=(a|0)){continue}break}}c:{if((a|0)>=(h|0)){break c}m=b-g|0;b=0;while(1){d:{if(C[(a<<2)+f>>2]?f:0){break d}g=a<<2;k=g+d|0;o=G[e+g>>2];n=J(G[k>>2]/o);if(!(!(n>2]=k;b=b+1|0;r=J(r+n);break d}q=g+i|0;j=pT(R(+n));j=G[c+g>>2]>2]=g;G[k>>2]=o*J(I(g,g)|0)}a=a+1|0;if((h|0)!=(a|0)){continue}break}if(!b){break c}lh(p,b,4,1262);if((b|0)<=0){break c}j=H[s+512>>3];a=0;while(1){n=J(0);f=C[(a<<2)+p>>2]-d>>2;g=f<<2;h=g+i|0;if(j<=+r){f=f<<2;n=G[f+e>>2];r=J(r+J(-1));o=(l(2,C[c+f>>2]&-2147483648|1065353216),v());f:{if(J(K(o))>2]=f;G[d+g>>2]=n;a=a+1|0;if((b|0)!=(a|0)){continue}break}}Ce=t}function Bx(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}C[a+24>>2]=0;d=C[a+32>>2];if(!d){C[a+40>>2]=0;C[a+32>>2]=876;d=876}if(!C[a+36>>2]){C[a+36>>2]=877}c=Fe[d|0](C[a+40>>2],1,24)|0;C[a+28>>2]=c;d=-4;if(!c){break a}C[c+20>>2]=0;C[c+12>>2]=b>>>31;d=b>>31;e=(d^b)-d|0;if(e>>>0<=7){Hm(a);return-2}C[c+16>>2]=e;b:{c=Fe[C[a+32>>2]](C[a+40>>2],1,64)|0;if(c){f=Fe[C[a+32>>2]](C[a+40>>2],8,1440)|0;C[c+36>>2]=f;d=C[a+40>>2];if(f){e=1<>2]](d,1,e)|0;C[c+40>>2]=d;if(d){break b}Fe[C[a+36>>2]](C[a+40>>2],C[c+36>>2]);d=C[a+40>>2]}Fe[C[a+36>>2]](d,c)}C[C[a+28>>2]+20>>2]=0;Hm(a);return-4}b=(b|0)>=0;f=b?878:0;C[c+56>>2]=f;C[c+52>>2]=d;C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;C[c+48>>2]=d;C[c+44>>2]=d+e;d=0;if(b){b=Fe[f|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b;d=C[c>>2]}b=C[a+28>>2];C[b+20>>2]=c;C[a+8>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;C[b>>2]=C[b+12>>2]?7:0;if((d&-2)==4){Fe[C[a+36>>2]](C[a+40>>2],C[c+12>>2]);d=C[c>>2]}if((d|0)==6){Fe[C[a+36>>2]](C[a+40>>2],C[c+4>>2])}C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;b=C[c+40>>2];C[c+52>>2]=b;C[c+48>>2]=b;b=C[c+56>>2];d=0;if(!b){break a}b=Fe[b|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b;d=0}return d}function GC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=C[a+36>>2]/2|0;b=C[a+16>>2]/2|0;a:{g=C[a+28>>2];if(!g){break a}d=C[C[a+40>>2]+24>>2]^-1;e=d&C[a+56>>2];h=C[a+24>>2];i=h&7;h=(h+7|0)/8|0;c=C[a>>2];a=C[a+20>>2];j=f<<1;k=b<<1;b:while(1){g=g-1|0;f=h;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=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=1;continue;case 1:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=2;continue;case 2:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=3;continue;case 3:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=4;continue;case 4:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=5;continue;case 5:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=6;continue;case 6:b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}c=c+2|0;a=a+2|0;b=7;continue;default:break e}}b=E[c>>1];if((b&d)!=(e|0)){B[a>>1]=b}b=f-1|0;c=c+2|0;a=a+2|0;f:{if((f|0)>1){f=b;break f}a=a+j|0;c=c+k|0;if(g){continue b}break a}b=0;continue}}}}function Wh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ce-16|0;Ce=g;a:{if((c|0)<=0){break a}i=C[a+4>>2];while(1){h=(k<<3)+b|0;b:{if(!C[h>>2]){ti(i);if(C[i+12>>2]>1){break a}d=C[i>>2];f=d-1|0;l=C[i+8>>2];c:{while(1){j=3;if(d>>>0>=l>>>0){e=d;break c}e=d+1|0;C[i>>2]=e;m=D[d|0];d=e;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j=2}C[i+12>>2]=j;C[g+8>>2]=f;break b}f=Qi(i);C[g+8>>2]=f;if(!f){break a}e=C[i>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(C[h>>2]){case 0:case 1:d=Wk(C[a>>2],d,g+4|0);C[h+4>>2]=d;if(C[g+4>>2]){break e}t(d,f,e);A[e+C[h+4>>2]|0]=0;break e;case 2:n=h,o=Mh(g+8|0,e+f|0,0),C[n+4>>2]=o;break e;case 3:C[g+12>>2]=f;l=e+f|0;j=Xh(g+12|0,l,10);e=0;d=C[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(D[d|0]!=35|d>>>0>=l>>>0)){f=d+1|0;C[g+12>>2]=f;j=Xh(g+12|0,l,j);d=C[g+12>>2];if((f|0)==(d|0)){break g}}C[g+8>>2]=d;e=j}C[h+4>>2]=e;break e;case 4:if((e|0)==4){e=cf(f,16019,4)}else{e=1}A[h+4|0]=!e;break e;case 5:break f;default:break e}}d=C[a+12>>2];if(d){n=h,o=Fe[d|0](f,e,C[a+16>>2])|0,C[n+4>>2]=o;break e}C[h+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}Ce=g+16|0;return k}function rz(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=J(0),m=0,n=J(0);i=Ce+-64|0;Ce=i;k=uq(a,b);a:{if(!k){break a}b:{c:{if(!e|(a&b)==-1|(!C[105690]|!(A[423084]&1))){break c}if((a|0)!=C[105772]|(b|0)!=C[105773]|((c|0)!=C[105774]|(d|0)!=C[105775])){break c}j=C[e+28>>2];l=J(J(j|0)*g);d:{if(J(K(l))0?h:0;m=(h|0)<(j|0)?h:j-1|0;j=C[e+24>>2];l=J(J(j|0)*f);e:{if(J(K(l))0?h:0;Bl(e,-1,0,(h|0)<(j|0)?h:j-1|0,m);break b}if((a&b)!=-1){break b}if(!C[105691]){break a}}f:{j=C[k+12>>2];g:{if((j|0)<=0){break g}m=C[k+20>>2];k=0;while(1){h=C[m+(k<<2)>>2];if(C[h>>2]!=(c|0)|C[h+4>>2]!=(d|0)){k=k+1|0;if((j|0)!=(k|0)){continue}break g}break}if((j|0)>(k|0)){break f}}ll(a,b,c,d,e,1,f,g,J(1));break a}n=J(f-G[h+8>>2]);l=J(g-G[h+12>>2]);if(!(n!=J(0)|l!=J(0))&J(J(1)-G[h+16>>2])==J(0)){break a}G[h+16>>2]=1;G[h+12>>2]=g;G[h+8>>2]=f;if((qf(1794,-1)|0)!=1){break a}G[i+48>>2]=1;G[i+44>>2]=l;G[i+40>>2]=n;G[i+36>>2]=g;G[i+32>>2]=f;C[i+24>>2]=c;C[i+28>>2]=d;C[i+16>>2]=a;C[i+20>>2]=b;C[i+8>>2]=1794;if(e){a=pq(e)}else{a=0}C[i+52>>2]=a;Df(i+8|0)}Ce=i- -64|0}function Nn(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;h=Ce-16|0;Ce=h;d=D[a+2|0]|D[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=84608}d=C[b+100>>2];if((zf(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)!=-1){g=84608;d=84608;f=D[a+4|0]|D[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}f=D[a+6|0]|D[a+7|0]<<8;if(f){g=((f<<8|f>>>8)&65535)+a|0}f=84608;e=84608;c=D[a+8|0]|D[a+9|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}c=C[b+100>>2];c=Yl(g,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);i=D[a+10|0]|D[a+11|0]<<8;c=c>>>0>=((i<<8|i>>>8)&65535)>>>0?84608:((c<<1)+a|0)+12|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}C[h+12>>2]=e;C[h+8>>2]=g;C[h+4>>2]=d;C[h>>2]=153;a=D[f|0]|D[f+1|0]<<8;if(a){g=(a<<8|a>>>8)&65535;a=f+2|0;while(1){d=D[a|0]|D[a+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+f|0}else{d=84608}e=D[d|0]|D[d+1|0]<<8;j=(e<<8|e>>>8)&65535;k=(j<<1)+d|0;e=k+2|0;c=D[e|0]|D[e+1|0]<<8;l=(c<<8|c>>>8)&65535;e=(c?l<<1:2)+e|0;c=D[e|0]|D[e+1|0]<<8;m=(c<<8|c>>>8)&65535;c=(m<<1)+e|0;i=D[c+2|0]|D[c+3|0]<<8;d=Wl(b,j,d+2|0,l,k+4|0,m,e+2|0,(i<<8|i>>>8)&65535,c+4|0,h);if(!d){a=a+2|0;g=g-1|0;if(g){continue}}break}}else{d=0}g=d}Ce=h+16|0;return g}function ol(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ce-48|0;Ce=d;C[d+44>>2]=0;h=b>>>0<=17?C[(b<<2)+195384>>2]:0;a:{if(h){C[d+32>>2]=(b|0)==17?184464:34979;f=1;if((c|0)==35632){e=C[a+536>>2]-1|0;if(e>>>0<=3){e=C[(e<<2)+195368>>2]}else{e=34979}C[d+36>>2]=e;f=2}g=d+32|0;C[g+(f<<2)>>2]=h;e=Fe[C[a+48>>2]](c)|0;Fe[C[a+144>>2]](e,f+1|0,g,0);Fe[C[a+40>>2]](e);Fe[C[a+116>>2]](e,35713,d+44|0);b:{if(C[d+44>>2]){break b}C[d+32>>2]=(b|0)==17?184464:34979;f=1;if((c|0)==35632){C[d+36>>2]=C[48845];f=2}g=d+32|0;C[g+(f<<2)>>2]=h;e=Fe[C[a+48>>2]](c)|0;Fe[C[a+144>>2]](e,f+1|0,g,0);Fe[C[a+40>>2]](e);Fe[C[a+116>>2]](e,35713,d+44|0);if(C[d+44>>2]){break b}C[d+28>>2]=0;Fe[C[a+116>>2]](e,35716,d+28|0);c:{d:{c=C[d+28>>2];if((c|0)<=0){break d}e:{if(c>>>0<=127){f=d-(c+15&-16)|0;Ce=f;g=c;break e}f=Fe[C[94762]](c>>>0<=1?1:c)|0;if(f){C[94766]=C[94766]+1}if(!f){break d}g=C[d+28>>2]}Fe[C[a+112>>2]](e,g,d+28|0,f);C[d+4>>2]=f;C[d>>2]=b;Qe(8920,d);if(c>>>0<128){break c}if(f){Fe[C[94765]](f);C[94766]=C[94766]-1}break c}C[d+16>>2]=b;Qe(21143,d+16|0)}Fe[C[a+56>>2]](e);e=0;break a}C[((b<<2)+a|0)+236>>2]=e;break a}Qe(21516,0)}Ce=d+48|0;return e}function SK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!C[104393]|!C[94437]|(c|0)<=0){break a}while(1){b:{if(!C[C[104393]+12>>2]){break b}d=C[104393];a=C[d+16>>2];C[d+16>>2]=a+1;d=C[104393];if((a|0)>2]){a=C[104393];if(!C[C[a>>2]+36>>2]){break b}e=C[104393];f=C[a+20>>2];d=C[d+16>>2];Fe[C[C[e>>2]+36>>2]](C[e+4>>2],(I(C[94438],C[a+12>>2]==1?f-d|0:d)|0)/(f|0)|0);break b}a=C[104393];if(C[d+12>>2]==1){if(C[C[a>>2]+64>>2]){a=C[104393];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104393]+8>>2]=0;C[C[104393]+12>>2]=0;C[104393]=0;a=C[104386];if(!a){break a}Fe[a|0]();return}C[a+12>>2]=0}if(C[C[C[104393]>>2]+48>>2]){a=C[104393];a=Fe[C[C[a>>2]+48>>2]](C[a+4>>2],b,c)|0;if(a){C[C[104393]+8>>2]=0}d=c-a|0;c=(a|0)>0;b=(c?d:0)+b|0;c=c?a:0}else{c=0}c:{if(C[104393]){if(C[C[C[104393]>>2]+44>>2]){a=C[104393];a=Fe[C[C[a>>2]+44>>2]](C[a+4>>2])|0;C[C[104393]+8>>2]=a}if(C[C[104393]+8>>2]){break c}}if(C[C[C[104393]>>2]+64>>2]){a=C[104393];Fe[C[C[a>>2]+64>>2]](C[a+4>>2])}C[C[104393]+8>>2]=0;C[C[104393]+12>>2]=0;C[104393]=0;a=C[104386];if(!a){break c}Fe[a|0]()}if(!C[104393]|!C[94437]){break a}if(c){continue}break}}}function Gy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ce-16|0;Ce=i;C[i+12>>2]=0;f=C[a+12>>2];a:{b:{c:{d:{if((f|0)<=11){if(C[a+20>>2]){break d}C[a+16>>2]=12;C[a+20>>2]=a+892;break d}j=C[a+16>>2];if((j|0)>(f|0)){h=C[a+20>>2];g=h+I(f,48)|0;break c}f=64;if((j|0)>44739241){break a}e:{if((j|0)>=-16){k=((j>>2)+j|0)+4|0;if((k|0)<44739243){break e}}k=44739242}h=C[a+20>>2];f:{if((h|0)==(a+892|0)){d=Ve(d,48,0,k,0,i+12|0);C[a+20>>2]=d;f=C[i+12>>2];if(f){break a}t(d,h,576);break f}l=a,m=Ve(d,48,j,k,h,i+12|0),C[l+20>>2]=m;f=C[i+12>>2];if(f){break a}}C[a+16>>2]=k;f=C[a+12>>2]}h=C[a+20>>2];g=h+I(f,48)|0;if((f|0)<=0){break b}}f=g;while(1){g:{g=f-48|0;d=B[g>>1];if((d|0)<(b|0)){g=f;break g}if(!((b|0)!=(d|0)|C[a+24>>2]!=(c|0))){g=f;break g}d=C[g+4>>2];C[f>>2]=C[g>>2];C[f+4>>2]=d;d=C[g+44>>2];C[f+40>>2]=C[g+40>>2];C[f+44>>2]=d;d=C[g+36>>2];C[f+32>>2]=C[g+32>>2];C[f+36>>2]=d;d=C[g+28>>2];C[f+24>>2]=C[g+24>>2];C[f+28>>2]=d;d=C[g+20>>2];C[f+16>>2]=C[g+16>>2];C[f+20>>2]=d;d=C[g+12>>2];C[f+8>>2]=C[g+8>>2];C[f+12>>2]=d;f=g;if(h>>>0>>0){continue}}break}f=C[a+12>>2]}C[a+12>>2]=f+1;f=0}C[e>>2]=g;Ce=i+16|0;return f}function vB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+j|0;f=((I(c,f)>>>0)/255|0)+e|0;b=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:c=g+j|0;g=c>>>0>=255?255:c;c=e+f|0;f=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(g,j)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;b=((I(b,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+j|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(i+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function iB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+e|0;f=((I(c,f)>>>0)/255|0)+j|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+e|0;b=b>>>0>=255?255:b;c=f+j|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,e)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+e|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function eB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+e|0;f=((I(c,f)>>>0)/255|0)+j|0;b=((I(b,c)>>>0)/255|0)+i|0;break a;case 1:c=e+g|0;g=c>>>0>=255?255:c;c=f+j|0;f=c>>>0>=255?255:c;b=b+i|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(e,g)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;b=((I(b,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+e|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(i+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function VA(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+e|0;g=((I(c,g)>>>0)/255|0)+j|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=e+f|0;f=c>>>0>=255?255:c;c=g+j|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;g=((I(g,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(j+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function PB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+j|0;g=((I(c,g)>>>0)/255|0)+e|0;break a;case 1:b=b+i|0;b=b>>>0>=255?255:b;c=f+j|0;f=c>>>0>=255?255:c;c=e+g|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,i)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;g=((I(e,g)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+i|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(e+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function PA(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+e|0;b=((I(b,c)>>>0)/255|0)+j|0;break a;case 1:c=g+i|0;g=c>>>0>=255?255:c;c=e+f|0;f=c>>>0>=255?255:c;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(g,i)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;b=((I(b,j)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+i|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(j+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function LB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e>>>24|0;i=e&255;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){i=(I(h,i)>>>0)/255|0;j=(I(h,j)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;g=((I(c,g)>>>0)/255|0)+i|0;f=((I(c,f)>>>0)/255|0)+j|0;b=((I(b,c)>>>0)/255|0)+e|0;break a;case 1:c=g+i|0;g=c>>>0>=255?255:c;c=f+j|0;f=c>>>0>=255?255:c;b=b+e|0;b=b>>>0>=255?255:b;break a;case 3:g=((I(g,i)&65535)>>>0)/255|0;f=((I(f,j)&65535)>>>0)/255|0;b=((I(b,e)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;c=(I(k+i|0,g)>>>0)/255|0;g=c>>>0>=255?255:c;c=(I(j+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;b=(I(e+k|0,b)>>>0)/255|0;b=b>>>0>=255?255:b}C[n>>2]=f<<8|b|g<<16;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function BB(a){a=a|0;var 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;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){d=C[a+52>>2];p=d&48;q=(d&240)-16>>>4|0;l=C[a+20>>2];m=C[a>>2];while(1){n=l;d=m;o=C[a+24>>2];if(o){while(1){e=C[d>>2];h=e&255;i=e>>>24|0;b=C[n>>2];k=b>>>8|0;c=b>>>16|0;j=e>>>8&255;e=e>>>16&255;if(!(!p|(h|0)==255)){j=(I(h,j)>>>0)/255|0;i=(I(h,i)>>>0)/255|0;e=(I(e,h)>>>0)/255|0}o=o-1|0;b=b&255;f=k&255;g=c&255;a:{b:{switch(q|0){case 0:c=h^255;b=((I(c,b)>>>0)/255|0)+j|0;f=((I(c,f)>>>0)/255|0)+e|0;g=((I(c,g)>>>0)/255|0)+i|0;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;c=e+f|0;f=c>>>0>=255?255:c;c=g+i|0;g=c>>>0>=255?255:c;break a;case 3:b=((I(b,j)&65535)>>>0)/255|0;f=((I(e,f)&65535)>>>0)/255|0;g=((I(g,i)&65535)>>>0)/255|0;break a;case 7:break b;default:break a}}k=h^255;b=(I(k+j|0,b)>>>0)/255|0;b=b>>>0>=255?255:b;c=(I(e+k|0,f)>>>0)/255|0;f=c>>>0>=255?255:c;c=(I(i+k|0,g)>>>0)/255|0;g=c>>>0>=255?255:c}C[n>>2]=f<<8|g<<16|b;n=n+4|0;d=d+4|0;if(o){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;l=C[a+32>>2]+l|0;m=C[a+12>>2]+m|0;if(d){continue}break}C[a+20>>2]=l;C[a>>2]=m}}function Ng(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-48|0;Ce=b;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;A[b+40|0]=1;C[b+36>>2]=0;g=a;a=Of(a,1835104368);a:{if(!a){break a}c=C[a>>2];if(!c){break a}C[a>>2]=c+1}A[b+24|0]=0;C[b+32>>2]=a;d=C[a+12>>2];C[b+4>>2]=d;e=C[a+16>>2];C[b+8>>2]=d+e;C[b+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[b+12>>2]=c;C[b+20>>2]=0;C[b>>2]=0;b:{if(!d){Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;break b}c:{d:{if((e|0)<6){break d}C[b+12>>2]=c-6;e:{f:{f=D[d|0]|D[d+1|0]<<8;switch((f<<8|f>>>8)&65535){case 0:break e;case 1:break f;default:break d}}if(e>>>0<32){break d}C[b+12>>2]=c-32;Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if(C[a+4>>2]){C[a+4>>2]=0}break b}c=D[d+2|0]|D[d+3|0]<<8;Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;if((c|0)!=80){break c}if(C[a+4>>2]){C[a+4>>2]=0}break b}Ue(a);C[b+32>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0}Ue(a);a=84608}c=F[a+16>>2]<6?84608:C[a+12>>2];c=D[c+4|0]|D[c+5|0]<<8;c=(c<<8|c>>>8)&65535;C[g+32>>2]=c;Ue(a);Ce=b+48|0;return c}function ok(a,b){var c=0,d=0;d=Ce-32|0;Ce=d;c=C[105780];a:{if(!c){Qe(19865,0);break a}b:{switch(a|0){case 0:C[c+408>>2]=b;break a;case 1:C[c+412>>2]=b;break a;case 2:C[c+416>>2]=b;break a;case 3:C[c+420>>2]=b;break a;case 5:C[c+436>>2]=b;break a;case 4:C[c+428>>2]=b;break a;case 6:C[c+424>>2]=b;break a;case 7:C[c+432>>2]=b;break a;case 8:C[c+440>>2]=b;break a;case 9:C[c+444>>2]=b;break a;case 10:C[c+448>>2]=b;break a;case 11:C[c+452>>2]=b;break a;case 12:C[c+456>>2]=b;break a;case 13:C[c+460>>2]=b;break a;case 14:C[c+464>>2]=b;break a;case 27:C[c+468>>2]=b;break a;case 15:C[c+472>>2]=b;break a;case 16:C[c+512>>2]=b;break a;case 17:C[c+476>>2]=b;break a;case 18:C[c+480>>2]=b;break a;case 19:if(b){C[c+488>>2]=4;break a}C[c+488>>2]=0;break a;case 20:if(b>>>0>=16){C[d>>2]=b;Qe(21202,d);break a}C[c+484>>2]=b;break a;case 21:if(!((b|0)!=3&b>>>0<=4)){C[d+16>>2]=b;Qe(21296,d+16|0);break a}C[c+488>>2]=b;break a;case 22:C[c+492>>2]=b;break a;case 23:C[c+504>>2]=b;break a;case 24:C[c+496>>2]=b;break a;case 25:C[c+500>>2]=b;break a;case 26:C[c+508>>2]=b;break a;default:break b}}Qe(16257,0)}Ce=d+32|0}function SQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=Ce-16|0;Ce=g;j=C[a+84>>2];a:{b:{c:{if(!(D[a+8|0]&8)){break c}if(d&16){if(!D[a+292|0]){break c}if(!c){break b}d=c&1;if((c|0)!=1){j=c&-2;c=0;while(1){h=g+14|0;i=g+12|0;Fe[C[C[a+532>>2]+112>>2]](a,1,b+f|0,h,i);C[(f<<2)+e>>2]=E[g+12>>1];k=f|1;Fe[C[C[a+532>>2]+112>>2]](a,1,k+b|0,h,i);C[(k<<2)+e>>2]=E[g+12>>1];f=f+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!d){break b}Fe[C[C[a+532>>2]+112>>2]](a,1,b+f|0,g+14|0,g+12|0);C[(f<<2)+e>>2]=E[g+12>>1];break b}if(!E[a+250>>1]){break c}if(!c){break b}d=c&1;if((c|0)!=1){j=c&-2;c=0;while(1){h=g+14|0;i=g+10|0;Fe[C[C[a+532>>2]+112>>2]](a,0,b+f|0,h,i);C[(f<<2)+e>>2]=E[g+10>>1];k=f|1;Fe[C[C[a+532>>2]+112>>2]](a,0,k+b|0,h,i);C[(k<<2)+e>>2]=E[g+10>>1];f=f+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!d){break b}Fe[C[C[a+532>>2]+112>>2]](a,0,b+f|0,g+14|0,g+10|0);C[(f<<2)+e>>2]=E[g+10>>1];break b}if(!c){break b}h=d|256;i=j+(d&16?60:56)|0;while(1){d=zy(j,C[a+88>>2],b+f|0,h);if(d){break a}C[(f<<2)+e>>2]=C[i>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}d=0}Ce=g+16|0;return d|0}function Dy(a,b,c,d,e,f){var g=0,h=0,i=0;g=Ce-432|0;Ce=g;C[g+12>>2]=0;h=g+20|0;p(h,0,400);C[g+428>>2]=a;C[g+424>>2]=4096;i=g+32|0;C[g+420>>2]=i;C[g+16>>2]=f;p(a+24|0,0,148);C[a+156>>2]=8720;C[a+60>>2]=65536;C[a+44>>2]=2;C[a+48>>2]=65536;C[a+32>>2]=-6553600;C[a+36>>2]=3276800;C[a+172>>2]=65535;C[a+136>>2]=65535;C[a+128>>2]=65535;C[a+132>>2]=65535;C[a+16>>2]=65535;C[a+20>>2]=65535;C[a+8>>2]=65535;C[a+12>>2]=65535;C[a>>2]=65535;C[a+4>>2]=65535;c=Qm(b,c,g+12|0,g+8|0);if(!c){c=C[g+12>>2];c=ly(g+16|0,c,c+C[g+8>>2]|0)}if(!C[b+28>>2]){Wf(C[b>>2],g+12|0)}a:{if(c){break a}c=0;if(C[a+132>>2]!=65535){break a}b=C[a+116>>2];if(!(!b|!C[a+120>>2])){c=a+176|0;p(c,0,360);C[a+516>>2]=3932;C[a+508>>2]=-1;C[a+380>>2]=1;C[a+372>>2]=2596864;C[a+376>>2]=7;p(h,0,400);C[g+428>>2]=c;C[g+424>>2]=8192;C[g+420>>2]=i;C[g+16>>2]=f;c=bf(d,b+e|0);if(c){break a}c=Cf(d,C[a+120>>2]);if(c){break a}c=ly(g+16|0,C[d+32>>2],C[d+36>>2]);xf(d);if(c){break a}A[a+176|0]=D[a+176|0]&254}c=0;b=C[a+524>>2];if(!b){break a}c=bf(d,C[a+116>>2]+(b+e|0)|0);if(c){break a}b=a+536|0;c=wj(b,d,1);if(c){break a}c=jq(b,a+568|0,0)}Ce=g+432|0;return c}function jf(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){_b(a|0,b|0,c|0);return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){A[c|0]=D[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){C[c>>2]=C[b>>2];C[c+4>>2]=C[b+4>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=C[b+12>>2];C[c+16>>2]=C[b+16>>2];C[c+20>>2]=C[b+20>>2];C[c+24>>2]=C[b+24>>2];C[c+28>>2]=C[b+28>>2];C[c+32>>2]=C[b+32>>2];C[c+36>>2]=C[b+36>>2];C[c+40>>2]=C[b+40>>2];C[c+44>>2]=C[b+44>>2];C[c+48>>2]=C[b+48>>2];C[c+52>>2]=C[b+52>>2];C[c+56>>2]=C[b+56>>2];C[c+60>>2]=C[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){C[c>>2]=C[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){A[c|0]=D[b|0];A[c+1|0]=D[b+1|0];A[c+2|0]=D[b+2|0];A[c+3|0]=D[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){A[c|0]=D[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Wn(a,b,c){var d=0,e=0,f=J(0),g=0,h=0;e=D[a+4|0]|D[a+5|0]<<8;g=e<<8|e>>>8;e=g&65535;a:{if(e-1>>>0>=3){if((e|0)!=32768){break a}d=D[c+6|0]|D[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=D[a+1|0]|D[a|0]<<8;if(e>>>0<=d>>>0){f=J(0)}else{d=(d<<2)+c|0;d=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=D[a+3|0]|D[a+2|0]<<8;a=D[c+2|0]|D[c+3|0]<<8|(D[c+4|0]<<16|D[c+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=Lk(d?d+c|0:84608,e,C[b+64>>2],C[b+60>>2],a?a+c|0:84608)}f=J(f*J(C[b+24>>2]));b=C[b+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}f=J(O(J(J(f/J(a>>>0))+J(.5))));b:{if(J(K(f))>2];if(!h){break a}c=D[a|0]|D[a+1|0]<<8;e=(c<<8|c>>>8)&65535;if(e>>>0>h>>>0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(h>>>0>((c<<8|c>>>8)&65535)>>>0){break a}e=h-e|0;g=g&65535;c=4-g|0;a=(e>>>c<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;c=((a<<8|a>>>8)&65535)>>>((e^-1|-1<>>(-1<>>0>=a>>>1>>>0?a:0;if((e|0)==(c|0)){break a}a=C[b+24>>2];b=a;d=a>>31;a=e-c|0;d=nT(mT(b,d,a,a>>31),Ee,h,0)}return d}function Vn(a,b,c){var d=0,e=0,f=J(0),g=0,h=0;e=D[a+4|0]|D[a+5|0]<<8;g=e<<8|e>>>8;e=g&65535;a:{if(e-1>>>0>=3){if((e|0)!=32768){break a}d=D[c+6|0]|D[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=D[a+1|0]|D[a|0]<<8;if(e>>>0<=d>>>0){f=J(0)}else{d=(d<<2)+c|0;d=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=D[a+3|0]|D[a+2|0]<<8;a=D[c+2|0]|D[c+3|0]<<8|(D[c+4|0]<<16|D[c+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=Lk(d?d+c|0:84608,e,C[b+64>>2],C[b+60>>2],a?a+c|0:84608)}f=J(f*J(C[b+20>>2]));b=C[b+16>>2];a=C[b+28>>2];if(!a){a=Lf(b)}f=J(O(J(J(f/J(a>>>0))+J(.5))));b:{if(J(K(f))>2];if(!h){break a}c=D[a|0]|D[a+1|0]<<8;e=(c<<8|c>>>8)&65535;if(e>>>0>h>>>0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(h>>>0>((c<<8|c>>>8)&65535)>>>0){break a}e=h-e|0;g=g&65535;c=4-g|0;a=(e>>>c<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;c=((a<<8|a>>>8)&65535)>>>((e^-1|-1<>>(-1<>>0>=a>>>1>>>0?a:0;if((e|0)==(c|0)){break a}a=C[b+20>>2];b=a;d=a>>31;a=e-c|0;d=nT(mT(b,d,a,a>>31),Ee,h,0)}return d}function Du(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,o=0,p=0;k=Ce-16|0;Ce=k;e=D[a|0];a:{if(!e){f=a;break a}f=a;b:{while(1){e=e<<24>>24;if(!((e|0)==32|e-9>>>0<5)){break b}e=D[f+1|0];f=f+1|0;if(e){continue}break}break a}c:{e=D[f|0];switch(e-43|0){case 0:case 2:break c;default:break a}}i=(e|0)==45?-1:0;f=f+1|0}d:{if(D[f|0]==48){m=1;if((D[f+1|0]&223)==88){f=f+2|0;l=16;break d}f=f+1|0;l=8;break d}l=10}while(1){e:{e=-48;h=A[f|0];f:{if((h-48&255)>>>0<10){break f}e=-87;if((h-97&255)>>>0<26){break f}e=-55;if((h-65&255)>>>0>25){break e}}h=e+h|0;if((h|0)>=(l|0)){break e}Ag(k,l,0,0,0,j,g,0,0);e=1;g:{if(C[k+8>>2]|C[k+12>>2]){break g}n=mT(j,g,l,0);o=Ee;if((o|0)==-1&(h^-1)>>>0>>0){break g}g=o;j=h+n|0;g=j>>>0>>0?g+1|0:g;m=1;e=p}f=f+1|0;p=e;continue}break}if(b){C[b>>2]=m?f:a}h:{i:{j:{if(p){C[105782]=68;a=c&1;i=a?0:i;j=c;g=d;break j}if((d|0)==(g|0)&c>>>0>j>>>0|d>>>0>g>>>0){break i}a=c&1}if(!(a|i)){C[105782]=68;a=c;c=a-1|0;d=d-!a|0;break h}if((d|0)==(g|0)&c>>>0>=j>>>0|d>>>0>g>>>0){break i}C[105782]=68;break h}a=i^j;c=a-i|0;b=i>>31;d=(b^g)-((a>>>0>>0)+b|0)|0}Ce=k+16|0;Ee=d;return c}function Es(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-16|0;Ce=e;d=Eb(b|0,e+12|0,e+8|0)|0;a:{if(d){c=wi(0,C[e+12>>2],C[e+8>>2],32,255,65280,16711680,-16777216);if(c){jf(C[c+20>>2],d,I(C[e+12>>2],C[e+8>>2])<<2)}Re(d);break a}d=gi(b,21803);if(!d){break a}b=to(b,46);j=b?b+1|0:0;f=Ce-16|0;Ce=f;b=d;b:{if(!b){Qe(18831,0);break b}Fe[C[b+4>>2]](b,0,0,1)|0;if((Ee|0)<0){Qe(18800,0);Fe[C[b+16>>2]](b)|0;break b}c:{if(C[b+20>>2]!=2){break c}d=tb(C[b+28>>2],f+12|0,f+8|0)|0;if(!d){break c}c=wi(0,C[f+12>>2],C[f+8>>2],32,255,65280,16711680,-16777216);if(c){jf(C[c+20>>2],d,I(C[f+12>>2],C[f+8>>2])<<2)}Re(d);Fe[C[b+16>>2]](b)|0;break b}while(1){c=I(g,12);d:{e:{if(g){if(Fe[C[c+34996>>2]](b)|0){break e}break d}if(!j){break d}c=C[c+34992>>2];d=j;h=D[d|0];if(h){while(1){i=D[c|0];if(!i|((h-97>>>0<26?h&95:h)|0)!=((i-97>>>0<26?i&95:i)|0)){break d}c=c+1|0;h=D[d+1|0];d=d+1|0;if(h){continue}break}}if(D[c|0]){break d}g=0}c=Fe[C[I(g,12)+35e3>>2]](b)|0;Fe[C[b+16>>2]](b)|0;break b}g=g+1|0;if((g|0)!=15){continue}break}Fe[C[b+16>>2]](b)|0;c=0;Qe(5177,0)}Ce=f+16|0}Ce=e+16|0;if(!c){return 0}a=hn(a,c);Nf(c);return a}function sA(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 j=0,k=0,l=0,m=0;j=Ce-32|0;Ce=j;b=C[b+80>>2];k=C[a+548>>2];m=ai();l=C[k>>2];a:{if((m|0)!=(l|0)){C[k+468>>2]=0;if((Bh(C[a+204>>2],l)|0)<0){break a}}l=C[a+548>>2];if(!C[l+4>>2]){break a}while(1){if(Fe[C[l+100>>2]]()|0){continue}break}}l=0;b:{if(C[c+8>>2]<=0|C[c+12>>2]<=0){break b}C[k+412>>2]=0;Fe[C[k+20>>2]](C[b+4>>2],C[b+32>>2]);hi(k,C[b+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[b+8>>2],C[b+12>>2],h,i,1);Fe[C[k+20>>2]](C[b+4>>2],C[b+36>>2]);hi(k,C[b+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,C[b+8>>2],C[b+12>>2],f,g,1);Fe[C[k+20>>2]](C[b+4>>2],C[b>>2]);hi(k,C[b+4>>2],C[c>>2],C[c+4>>2],C[c+8>>2],C[c+12>>2],C[b+8>>2],C[b+12>>2],d,e,1);a=C[a+548>>2];if(!C[a+4>>2]){break b}b=Fe[C[a+100>>2]]()|0;if(!b){break b}while(1){c=25026;d=b-1280|0;if(d>>>0<=5){c=C[(d<<2)+184380>>2]}C[j+20>>2]=b;C[j+16>>2]=c;C[j+12>>2]=22725;C[j+8>>2]=1765;C[j+4>>2]=21666;C[j>>2]=33968;Qe(33817,j);b=Fe[C[a+100>>2]]()|0;if(b){continue}break}l=-1}Ce=j+32|0;return l|0}function Mx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Ce-16|0;Ce=f;l=I(b,-11796480)+5898240|0;d=gg(C[a>>2],C[a+4>>2]);k=(d|0)/2|0;a:{b:{m=a- -64|0;n=m+(b<<5)|0;c:{if(!c|!D[n+16|0]|((d|0)<-11763713|(d|0)>11763713)){break c}e=k;d:{if((e|0)<-2949120){g=14408027;while(1){d=h;h=0-g|0;j=e>>>0<4286119936;g=d;i=e+5898240|0;e=i;if(j){continue}break}break d}d=14408027;if((e|0)<=2949120){i=e;break d}while(1){h=d;d=0-g|0;j=e>>>0>8847360;g=h;i=e-5898240|0;e=i;if(j){continue}break}}j=213360;e=1;g=1;while(1){o=d+e>>g;p=e+h>>g;q=C[j>>2];e:{if((i|0)<0){i=i+q|0;h=h-o|0;d=d+p|0;break e}i=i-q|0;h=h+o|0;d=d-p|0}e=e<<1;j=j+4|0;g=g+1|0;if((g|0)!=23){continue}break}d=Te(C[a+60>>2],Ze(h+128>>8,d+128>>8));if(!d){break c}e=c;c=d>>31;c=(c^d)-c|0;if((e|0)<(c|0)){break c}if((c|0)<=C[a+16>>2]){break b}}Vf(f+8|0,C[a+60>>2],C[a+4>>2]+l|0);C[f+8>>2]=C[f+8>>2]+C[a+8>>2];C[f+12>>2]=C[f+12>>2]+C[a+12>>2];A[n+16|0]=0;break a}c=C[a>>2];d=fk(k);Vf(f+8|0,Ze(C[a+60>>2],d),c+(k+l|0)|0);C[f+8>>2]=C[f+8>>2]+C[a+8>>2];C[f+12>>2]=C[f+12>>2]+C[a+12>>2]}a=ig((b<<5)+m|0,f+8|0,0);Ce=f+16|0;return a}function UR(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,k=0,l=0;a=Ce-16|0;Ce=a;b=C[b+32>>2];a:{b:{if(b>>>0<=127){A[a+11|0]=b;b=1;break b}if(b>>>0<=2047){A[a+12|0]=b&63|128;A[a+11|0]=b>>>6|192;b=2;break b}if(b>>>0<=65535){A[a+13|0]=b&63|128;A[a+11|0]=b>>>12|224;A[a+12|0]=b>>>6&63|128;b=3;break b}if(b>>>0>1114111){break a}A[a+14|0]=b&63|128;A[a+11|0]=b>>>18|240;A[a+13|0]=b>>>6&63|128;A[a+12|0]=b>>>12&63|128;b=4}g=a+11|0;A[b+g|0]=0;d=Ce+-64|0;Ce=d;b=D[g|0];c:{if(b>>>0<32|(b|0)==127){break c}if((qf(771,-1)|0)!=1){break c}j=af(g);C[d+8>>2]=771;b=C[104886];if(b){b=C[b+4>>2]}else{b=0}C[d+16>>2]=b;if(!j){break c}k=d+20|0;while(1){b=0;h=g+i|0;c=af(h);c=c>>>0>=31?31:c;if(c){b=c-1|0;e=A[h+b|0];d:{if((e- -64&255)>>>0<53){break d}if(!(!b|(e|0)>-65)){while(1){e:{e=D[b+h|0];f=2;f:{if((e&224)==192){break f}f=3;if((e&240)==224){break f}if((e+11&255)>>>0<251){break e}f=4}b=(f|0)==(c-b|0)?c:b;break d}b=b-1|0;if(b){continue}break}}b=c}gf(k,h,b)}A[b+k|0]=0;if(!b){break c}l=(Df(d+8|0)|0)>0|l;i=b+i|0;if(j>>>0>i>>>0){continue}break}}Ce=d- -64|0}b=qf(771,-1);Ce=a+16|0;return(b|0)==1|0}function zk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=J(0),k=0,l=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);k=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);l=D[a+28|0]|D[a+29|0]<<8|(D[a+30|0]<<16|D[a+31|0]<<24);e=D[a+72|0]|D[a+73|0]<<8|(D[a+74|0]<<16|D[a+75|0]<<24);f=D[a+76|0]|D[a+77|0]<<8|(D[a+78|0]<<16|D[a+79|0]<<24);d=0;a:{if((e|0)==(f|0)){break a}d=512;if((e|0)<=(f|0)){break a}j=J(P(J(J(e<<9)/J(f|0))));if(J(K(j))=(2147483647/(b>>>0)|0)?1:g>>>0<=1?1:g,4);if(!d){_e(0);return}g=e;e=h+i|0;b=ks(b,g,f,d,d,i,h,e,I(k,l)-h|0);A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}Qh(D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24),e,D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24));b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,c)}}function EE(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(b>>>0>=4){e=b>>>2|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a:{if(!(b&4)){b=d;g=e;break a}c=G[d>>2];b=127;b:{if(c>=J(1)){break b}b=128;if(c<=J(-1)){break b}c=J(c*J(127));if(J(K(c))>2];f=127;c:{if(c>=J(1)){break c}f=128;if(c<=J(-1)){break c}c=J(c*J(127));if(J(K(c))>2];d:{if(c>=J(1)){break d}e=128;if(c<=J(-1)){break d}c=J(c*J(127));if(J(K(c))>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,32776)}}function Rq(a,b,c){var d=0,e=0,f=J(0),g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=J(0),q=J(0),r=J(0);e=Ce;n=e;d=C[a+36>>2];k=rk(a,d?7:10,0);if(!k){Ce=n;return-1}a:{if(!d){l=c<<5;b:{if(l>>>0<=127){g=e-(l+15&-16)|0;e=g;Ce=e;break b}g=Fe[C[94762]](l>>>0<=1?1:l)|0;if(g){C[94766]=C[94766]+1}}m=I(c,24);c:{if(m>>>0<=127){h=e-(m+15&-16)|0;Ce=h;break c}h=Fe[C[94762]](m>>>0<=1?1:m)|0;if(h){C[94766]=C[94766]+1}}d=-1;d:{if(!g|!h){break d}if((c|0)>0){d=g;e=h;while(1){i=(o<<4)+b|0;q=G[i+8>>2];r=G[i+12>>2];f=G[i+4>>2];p=G[i>>2];G[d+24>>2]=p;G[d+12>>2]=f;G[d+4>>2]=f;G[d>>2]=p;f=J(f+r);G[d+28>>2]=f;G[d+20>>2]=f;f=J(p+q);G[d+16>>2]=f;G[d+8>>2]=f;C[e+20>>2]=j|3;i=j|2;C[e+16>>2]=i;C[e+12>>2]=j;C[e+8>>2]=i;C[e+4>>2]=j|1;C[e>>2]=j;j=j+4|0;e=e+24|0;d=d+32|0;o=o+1|0;if((o|0)!=(c|0)){continue}break}}d=Fe[C[a+48>>2]](a,k,0,g,8,a+420|0,0,0,0,c<<2,h,I(c,6),4,J(1),J(1))|0;if((d|0)>=0){break d}C[k>>2]=0}if(g?l>>>0>=128:0){Fe[C[94765]](g);C[94766]=C[94766]-1}if(m>>>0<128){break a}if(h){Fe[C[94765]](h);C[94766]=C[94766]-1}Ce=n;return d}d=Fe[C[a+36>>2]](a,k,b,c)|0;if((d|0)>=0){break a}C[k>>2]=0}Ce=n;return d}function rp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ce-16|0;Ce=i;c=C[a+28>>2];C[i+12>>2]=0;C[b>>2]=0;d=C[a+32>>2];if(d>>>0>2]){C[a+32>>2]=d+1;e=D[d|0]}else{e=0}e=e<<24>>24;d=-1;a:{if(!e){break a}h=e&255;if((e|0)<0){f=h<<8&32512;e=C[a+32>>2];if(e>>>0>2]){C[a+32>>2]=e+1;d=D[e|0]}else{d=0}h=f|d<<24>>24&255}e=Ve(c,2,0,h,0,i+12|0);d=0;if(C[i+12>>2]){break a}C[b>>2]=h;b:{if(!h){break b}c=0;while(1){d=c+1|0;b=(c<<1)+e|0;c=C[a+32>>2];if(c>>>0>2]){C[a+32>>2]=c+1;c=D[c|0]}else{c=0}g=c<<24>>24;j=g&255;c:{if((g|0)<0){c=b;b=Gf(a);B[c>>1]=b;g=j&127;if(!g){break b}f=0;c=d;if(g+c>>>0>h>>>0){break b}while(1){b=Gf(a)+b|0;B[(c<<1)+e>>1]=b;c=c+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break c}f=b;c=C[a+32>>2];if(c>>>0>2]){C[a+32>>2]=c+1;b=D[c|0]}else{b=0}b=b<<24>>24&255;B[f>>1]=b;if(!g){break b}f=0;c=d;if(j+c>>>0>h>>>0){break b}while(1){k=(c<<1)+e|0;g=C[a+32>>2];if(g>>>0>2]){C[a+32>>2]=g+1;d=D[g|0]}else{d=0}b=(d<<24>>24&255)+b|0;B[k>>1]=b;c=c+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(c>>>0>>0){continue}break}}d=e}Ce=i+16|0;return d}function mJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=J(0);e=a+4|0;c=C[b+20>>2];k=Ye(e,C[c+12>>2]);a:{if((k|0)<=0){break a}l=C[c+12>>2];m=C[c+16>>2];d=Ye(e,ug(C[c+20>>2]));if((d|0)==-1|(d|0)>=C[c+20>>2]){break a}g=C[C[C[C[a+64>>2]+4>>2]+28>>2]+2848>>2]+I(C[(c+(d<<2)|0)+24>>2],56)|0;d=rg(a,(C[g>>2]+C[b+4>>2]<<2)+4|0);h=C[b+4>>2];a=0;b:{if(C[g+8>>2]<=0){if((h|0)<=0){break b}We(d,0,h<<2);break b}if((h|0)<=0){break b}while(1){a=-1;c=dk(g,e);if((c|0)==-1){break b}c:{if((h|0)<=(i|0)){break c}j=C[g>>2];if((j|0)<=0){break c}c=C[g+16>>2]+(I(c,j)<<2)|0;a=0;while(1){G[d+(i<<2)>>2]=G[c+(a<<2)>>2];i=i+1|0;if((h|0)<=(i|0)){break c}a=a+1|0;if((j|0)>(a|0)){continue}break}}if((h|0)>(i|0)){continue}break}a=0}if((a|0)==-1){break a}e=C[b+4>>2];if((e|0)>0){a=0;while(1){d:{if((a|0)>=(e|0)){break d}j=e-a|0;b=0;f=C[g>>2];f=((f|0)>0?f:0)+a|0;while(1){if((a|0)==(f|0)){a=f;break d}c=d+(a<<2)|0;G[c>>2]=n+G[c>>2];a=a+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}n=G[(d+(a<<2)|0)-4>>2];if((a|0)<(e|0)){continue}break}}G[d+(e<<2)>>2]=J(J(k|0)/J(-1<>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)>0?c:0;i=C[a+8>>2];h=C[a>>2];a:{b:{if(h){b=i;while(1){if(!(C[b>>2]!=(l|0)|C[b+4>>2]!=(m|0))){h=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(h|0)){continue}break}}j=h+1|0;b=C[a+4>>2];c:{if(j>>>0>>0){break c}C[g+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=(h&-8)+8|0;i=Ve(d,12,f,b,i,g+4|0);C[a+8>>2]=i;f=C[g+4>>2];if(f){break a}C[a+4>>2]=b}C[a>>2]=j;b=(I(j,12)+i|0)-12|0;C[b+8>>2]=c>>31&(k?3:1);C[b+4>>2]=m;C[b>>2]=l}b=C[a+12>>2];d:{e:{if(!b){f:{if(C[a+16>>2]){b=C[a+20>>2];break f}C[g+8>>2]=0;b=Ve(d,16,0,8,C[a+20>>2],g+8|0);C[a+20>>2]=b;f=C[g+8>>2];if(f){break a}C[a+16>>2]=8}C[b+12>>2]=0;C[b>>2]=0;C[a+12>>2]=1;break e}b=(C[a+20>>2]+(b<<4)|0)-16|0;if(F[b>>2]>h>>>0){break d}}a=C[b+4>>2];C[g+12>>2]=0;c=h+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=Ve(d,1,f,a,C[b+8>>2],g+12|0),C[n+8>>2]=o;f=C[g+12>>2];if(f){break a}C[b+4>>2]=a<<3}C[b>>2]=h+1}a=C[b+8>>2]+(h>>>3|0)|0;A[a|0]=D[a|0]|128>>>(h&7);f=0;if(!e){break a}C[e>>2]=h}Ce=g+16|0;return f}function Ts(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[b+100>>2];c=D[a+2|0]|D[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}j=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((j|0)==-1){break a}c=C[e+76>>2];C[b+40>>2]=1;C[b+4>>2]=c;g=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[g+80>>2];h=(c|0)==C[g+76>>2]?D[(C[g+92>>2]+I(c,20)|0)+15|0]:h;C[b+12>>2]=8;A[b+24|0]=h;c=b+4|0;if(!ki(c)){break a}g=C[c>>2];c=D[a+4|0]|D[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}d=zf(c,C[C[e+92>>2]+I(g,20)>>2]);if((d|0)==-1){break a}h=84608;c=84608;i=D[a+10|0]|D[a+11|0]<<8;if(i){c=((i<<8|i>>>8)&65535)+a|0}i=D[c|0]|D[c+1|0]<<8;b:{if(d>>>0>=((i<<8|i>>>8)&65535)>>>0){break b}d=(d<<1)+c|0;d=D[d+2|0]|D[d+3|0]<<8;if(!d){break b}h=((d<<8|d>>>8)&65535)+c|0}c=D[h|0]|D[h+1|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;f=C[e+92>>2];d=D[(f+I(g,20)|0)+14|0];if(d>>>0>=32){e=D[(f+I(C[e+76>>2],20)|0)+14|0];f=e&16?0:e&15;c=(e^d)>>>0<32?f?c>>>0>>0?c:f:c:c}e=c-1|0;c=D[a+8|0]|D[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}a=D[a+6|0]|D[a+7|0]<<8;f=Kn(c,b,j,e,h,(a<<8|a>>>8)&65535,g)}return f}function NL(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,k=0,l=0,m=0;j=C[b>>2]<<2;C[c+232>>2]=j;h=C[b+4>>2]<<2;C[c+236>>2]=h;e=C[a>>2];C[c+240>>2]=e<<2;f=C[a+4>>2];d=C[c+220>>2];C[c+248>>2]=d;i=C[c+224>>2];C[c+252>>2]=i;g=f<<2;C[c+244>>2]=g;a=c+232|0;m=c+1008|0;b=0;e=(j-(e<<3)|0)+d|0;k=e>>31;d=i+(h-(f<<3)|0)|0;f=d>>31;a:{b:{e=(e^k)-k|0;d=(d^f)-f|0;d=d>>>0>>0?e:d;c:{if(d>>>0<64){break c}e=(g|0)<(h|0)?g:h;if(C[c+176>>2]<=((e|0)>(i|0)?i:e)>>8){break c}b=(g|0)>(h|0)?g:h;if(C[c+172>>2]<=((b|0)<(i|0)?i:b)>>8){break b}b=0}d=0;break a}while(1){l=l+1|0;b=d>>>0>259;d=d>>>2|0;if(b){continue}break}C[m>>2]=l;b=0;d=1}while(1){d:{if(!d){Bp(c,j,C[a+4>>2]);b=b-1|0;a=a-16|0;break d}e=C[a+16>>2];C[a+32>>2]=e;g=C[a+20>>2];C[a+36>>2]=g;d=C[a+8>>2];k=(d+j|0)/2|0;C[a+8>>2]=k;f=(d+e|0)/2|0;C[a+24>>2]=f;d=C[a+12>>2];e=(d+C[a+4>>2]|0)/2|0;C[a+12>>2]=e;d=(d+g|0)/2|0;C[a+28>>2]=d;C[a+16>>2]=(f+k|0)/2;C[a+20>>2]=(d+e|0)/2;d=l-1|0;C[(b<<2)+m>>2]=d;b=b+1|0;C[(b<<2)+m>>2]=d;a=a+16|0}e:{if((b|0)>=0){j=C[a>>2];l=C[(b<<2)+m>>2];if((l|0)<=0){break e}d=1;continue}return 0}d=0;continue}}function Kg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-224|0;Ce=e;if(!a){Af(0,b);s()}h=b;b=C[a+372>>2];c=b>>>24|0;a:{if(!(c-123>>>0>=4294967238&c-91>>>0>5)){A[e+3|0]=93;A[e+2|0]=D[(c&15)+351472|0];A[e+1|0]=D[(b>>>28|0)+351472|0];c=91;d=4;break a}d=1}A[e|0]=c;c=b>>>16|0;f=c&255;b:{if(!(f-123>>>0<4294967238|f-91>>>0<6)){f=d;break b}A[(e+d|0)+1|0]=D[(b>>>20&15)+351472|0];A[(d|2)+e|0]=D[(c&15)+351472|0];f=d+3|0;A[f+e|0]=93;c=91}A[e+d|0]=c;g=f+1|0;d=b>>>8|0;c=d&255;c:{if(!(c-123>>>0<4294967238|c-91>>>0<6)){c=g;break c}c=f+4|0;A[e+c|0]=93;f=e+f|0;A[f+3|0]=D[(d&15)+351472|0];A[f+2|0]=D[(b>>>12&15)+351472|0];d=91}A[e+g|0]=d;f=c+1|0;d=b&255;d:{if(!(d-123>>>0<4294967238|d-91>>>0<6)){d=f;break d}d=c+4|0;A[d+e|0]=93;c=c+e|0;A[c+3|0]=D[(b&15)+351472|0];A[c+2|0]=D[(b>>>4&15)+351472|0];b=91}A[e+f|0]=b;b=d+1|0;e:{if(!h){break e}A[b+e|0]=58;A[(e+d|0)+2|0]=32;b=d+3|0;d=0;while(1){f=d+h|0;c=D[f|0];if(!c){break e}A[b+e|0]=c;c=b+1|0;g=D[f+1|0];if(!g){b=c;break e}A[c+e|0]=g;c=b+2|0;f=D[f+2|0];if(!f){b=c;break e}A[c+e|0]=f;b=b+3|0;d=d+3|0;if((d|0)!=195){continue}break}}A[b+e|0]=0;Af(a,e);s()}function qt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;c:{if(!c){break c}if(Gi(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+6|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break a}d=D[d|0]|D[d+1|0]<<8;if(!d){return 1}f=a+8|0;if(c>>>0>>0){break a}d=(d<<8|d>>>8)&65535;g=d<<1;if(g>>>0>c-f>>>0){break a}c=e-g|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0<=1?1:d;d=0;while(1){h=mt(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function Nf(a){a=a|0;var b=0,c=0,d=0;a:{if(!a|D[a|0]&4){break a}ag(C[a+52>>2]);b=C[a+32>>2];C[a+32>>2]=0;if(b){while(1){c=C[b>>2];if(c){d=C[c>>2];if(d){Al(d+32|0,c)}C[c>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;c=c- -64|0;d=C[c>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}C[c>>2]=0}d=C[b+4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=d;if(b){continue}break}}b=C[a+56>>2];C[a+56>>2]=b-1;if((b|0)>1){break a}b=C[a+28>>2];b:{if((b|0)<=0){break b}while(1){d=b-1|0;C[a+28>>2]=d;if((b|0)==1){b=C[a>>2];if(!(b&2)){break b}C[a>>2]=b&-3;yl(a);d=C[a+28>>2]}b=d;if((b|0)>0){continue}break}}if(D[a|0]&2){Fj(a,0)}b=C[a+4>>2];if(b){if((er(b,0)|0)>=0){ag(C[a+52>>2])}kn(C[a+4>>2]);C[a+4>>2]=0}b=C[a>>2];c:{if(b&1){break c}d=C[a+20>>2];if(b&8){if(d){b=C[d-4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}break c}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}}c=C[a+52>>2];if(c){b=C[c>>2];if(b){Al(b+32|0,c)}C[c>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;d=c- -64|0;b=C[d>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[d>>2]=0;if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}}function DE(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(b>>>0>=4){e=b>>>2|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);a:{if(!(b&4)){b=d;g=e;break a}c=G[d>>2];b=255;b:{if(c>=J(1)){break b}b=0;if(c<=J(-1)){break b}c=J(J(c+J(1))*J(127));if(c=J(0)){b=~~c>>>0;break b}b=0}A[d|0]=b;b=d+1|0;d=d+4|0;g=e-1|0}if((e|0)!=1){while(1){e=255;c=G[d>>2];f=255;c:{if(c>=J(1)){break c}f=0;if(c<=J(-1)){break c}c=J(J(c+J(1))*J(127));if(c=J(0)){f=~~c>>>0;break c}f=0}A[b|0]=f;c=G[d+4>>2];d:{if(c>=J(1)){break d}e=0;if(c<=J(-1)){break d}c=J(J(c+J(1))*J(127));if(c=J(0)){e=~~c>>>0}}A[b+1|0]=e;b=b+2|0;d=d+8|0;g=g-2|0;if(g){continue}break}}b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24)}b=(b|0)/4|0;A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,8)}}function Mu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=C[21152];h=C[b+4>>2];while(1){k=f>>>0>=h>>>0;if(k){return 1}l=0;g=C[c>>2];d=C[a>>2];a:{if(g>>>0>d>>>0|d>>>0>=g+C[c+4>>2]>>>0){break a}e=d+1|0;C[a>>2]=e;d=A[d|0];i=d&63;b:{if((d|0)<0){g=C[b+8>>2];e=0;while(1){c:{if(F[b+4>>2]<=f>>>0){C[104428]=j;d=417712;break c}d=g+(f<<2)|0}C[d>>2]=0;f=f+1|0;d=e+1|0;if(e>>>0>=i>>>0){break b}e=d;if(f>>>0>>0){continue}break}break b}g=0;if(d&64){while(1){d=C[c>>2];if(d>>>0>e>>>0){break a}d=d+C[c+4>>2]|0;if(d>>>0>>0|d-e>>>0<2){break a}d=D[e|0]|D[e+1|0]<<8;d=(d<<8|d>>>8)<<16>>16;d:{if(F[b+4>>2]<=f>>>0){C[104428]=j;e=C[a>>2];m=417712;break d}m=C[b+8>>2]+(f<<2)|0}C[m>>2]=d;e=e+2|0;C[a>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0>>0){continue}break b}}while(1){e=C[c>>2];d=C[a>>2];if(e>>>0>d>>>0|d>>>0>=e+C[c+4>>2]>>>0){break a}C[a>>2]=d+1;e=A[d|0];e:{if(F[b+4>>2]<=f>>>0){C[104428]=j;d=417712;break e}d=C[b+8>>2]+(f<<2)|0}C[d>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0>>0){continue}break}}l=k;if(d>>>0>i>>>0){continue}}break}return l}function CE(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0,h=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(g>>>0<4){break a}e=g>>>2|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b:{if(!(g&4)){d=b;h=e;break b}c=G[b>>2];d=32767;c:{if(c>=J(1)){break c}d=32768;if(c<=J(-1)){break c}c=J(c*J(32767));if(J(K(c))>1]=d;d=b+2|0;b=b+4|0;h=e-1|0}if((e|0)==1){break a}while(1){e=32767;c=G[b>>2];f=32767;d:{if(c>=J(1)){break d}f=32768;if(c<=J(-1)){break d}c=J(c*J(32767));if(J(K(c))>1]=f;c=G[b+4>>2];e:{if(c>=J(1)){break e}e=32768;if(c<=J(-1)){break e}c=J(c*J(32767));if(J(K(c))>1]=e;d=d+4|0;b=b+8|0;h=h-2|0;if(h){continue}break}}b=(g|0)/2|0;A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,32784)}}function jk(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;j=C[c+12>>2];d=C[b+120>>2];if(d){Fe[d|0](C[b+116>>2])}e=C[b+84>>2];if(e){while(1){h=C[e+4>>2];d=C[h+84>>2];a:{if(!d){break a}i=C[C[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){f=0;break b}while(1){g=C[d+8>>2];if(!g){break a}f=d;d=g;if((e|0)!=(d|0)){continue}break}}C[(f?f+8|0:h+84|0)>>2]=C[e+8>>2];d=C[e+20>>2];if(d){Fe[d|0](e)}aq(e);if(e){Fe[C[i+8>>2]](i,e)}e=C[b+84>>2]}if(e){continue}break}}Op(b+108|0,854,a,c);C[b+88>>2]=0;c=C[b+48>>2];if(c){Fe[c|0](b)}if(C[b+36>>2]>0){c=0;while(1){g=c<<2;d=C[g+C[b+40>>2]>>2];f=C[C[d>>2]+100>>2];e=C[C[d+12>>2]+8>>2];if(e){Fe[e|0](d)}if(d){Fe[C[f+8>>2]](f,d)}C[g+C[b+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=C[b+40>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+36>>2]=0;C[b+40>>2]=0;c=C[j+52>>2];if(c){Fe[c|0](b)}c=C[b+104>>2];c:{if(!c){break c}d=C[c+28>>2];f=C[b+8>>2];d:{if(!c){break d}g=C[c+24>>2];if(!g){break d}Fe[g|0](c)}if(f&1024){break c}if(c){Fe[C[d+8>>2]](d,c)}}C[b+104>>2]=0;c=C[b+128>>2];if(c){if(c){Fe[C[a+8>>2]](a,c)}C[b+128>>2]=0}if(b){Fe[C[a+8>>2]](a,b)}}function SC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=D[a+63|0];if((d|0)==128){vr(a,63454);return}a:{f=C[a+28>>2];if(!f){break a}g=d>>>3|0;d=C[a+24>>2];h=d&3;i=(d+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-2;b:while(1){f=f-1|0;d=i;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=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=1;continue;case 1:a=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=2;continue;case 2:a=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=3;continue;default:break e}}a=E[c>>1];e=(a<<16|a)&132184095;a=E[b>>1];a=(a<<16|a)&132184095;a=(I(e-a|0,g)>>>5|0)+a&132184095;B[b>>1]=a>>>16|a;a=d-1|0;b=b+2|0;c=c+2|0;f:{if((d|0)>1){d=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function cJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=df(1,2840);g=C[a+28>>2];l=d,m=Ye(b,24),C[l>>2]=m;l=d,m=Ye(b,24),C[l+4>>2]=m;l=d,m=Ye(b,24)+1|0,C[l+8>>2]=m;h=Ye(b,6);j=h+1|0;C[d+12>>2]=j;f=Ye(b,8);C[d+20>>2]=f;a:{if((f|0)<0){break a}b:{if((h|0)>=0){while(1){a=Ye(b,3);c=Ye(b,1);if((c|0)<0){break a}if(c){c=Ye(b,5);if((c|0)<0){break a}a=c<<3|a}C[((i<<2)+d|0)+24>>2]=a;c=0;if(a){while(1){c=(a&1)+c|0;k=a>>>0>1;a=a>>>1|0;if(k){continue}break}}e=c+e|0;a=(i|0)==(h|0);i=i+1|0;if(!a){continue}break}a=0;if((e|0)>0){while(1){c=Ye(b,8);if((c|0)<0){break a}C[((a<<2)+d|0)+280>>2]=c;a=a+1|0;if((e|0)!=(a|0)){continue}break}}b=C[g+24>>2];if((b|0)<=(f|0)){break a}a=0;if((e|0)<=0){break b}while(1){c=C[((a<<2)+d|0)+280>>2];if((c|0)>=(b|0)|!C[C[((c<<2)+g|0)+1824>>2]+12>>2]){break a}a=a+1|0;if((e|0)!=(a|0)){continue}break}break b}if(C[g+24>>2]<=(f|0)){break a}}c=1;b=C[((f<<2)+g|0)+1824>>2];a=C[b>>2];if((a|0)<=0){break a}b=C[b+4>>2];while(1){c=I(c,j);if((b|0)<(c|0)){break a}e=(a|0)<2;a=a-1|0;if(!e){continue}break}C[d+16>>2]=c;return d|0}Re(d);return 0}function yS(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,j=0,k=0,l=0;a:{if(C[C[a+72>>2]+168>>2]!=C[94671]){if(!c){break a}b=c&1;if((c|0)!=1){h=c&-2;c=0;while(1){i=C[a+72>>2];k=f,l=Fe[C[i+168>>2]](a,C[a+76>>2],C[d>>2],C[i+32>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;i=C[a+72>>2];k=f,l=Fe[C[i+168>>2]](a,C[a+76>>2],C[d>>2],C[i+32>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;c=c+2|0;if((h|0)!=(c|0)){continue}break}}if(!b){break a}b=a;c=C[a+76>>2];a=C[a+72>>2];k=f,l=Fe[C[a+168>>2]](b,c,C[d>>2],C[a+32>>2])|0,C[k>>2]=l;return}b=C[a+12>>2];h=C[b+72>>2];Fe[C[h+176>>2]](b,C[b+76>>2],c,d,e,f,g,C[h+40>>2]);if(!c){break a}d=C[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=C[f>>2];c=C[d+20>>2];h=C[a+20>>2];if((c|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b;c=f+g|0;b=C[c>>2];f=C[d+20>>2];h=C[a+20>>2];if((f|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,f,f>>31)}C[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=C[f>>2];c=C[d+20>>2];a=C[a+20>>2];if((c|0)!=(a|0)){b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b}}function pS(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,j=0,k=0,l=0;a:{if(C[C[a+72>>2]+172>>2]!=C[94672]){if(!c){break a}b=c&1;if((c|0)!=1){h=c&-2;c=0;while(1){i=C[a+72>>2];k=f,l=Fe[C[i+172>>2]](a,C[a+76>>2],C[d>>2],C[i+36>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;i=C[a+72>>2];k=f,l=Fe[C[i+172>>2]](a,C[a+76>>2],C[d>>2],C[i+36>>2])|0,C[k>>2]=l;f=f+g|0;d=d+e|0;c=c+2|0;if((h|0)!=(c|0)){continue}break}}if(!b){break a}b=a;c=C[a+76>>2];a=C[a+72>>2];k=f,l=Fe[C[a+172>>2]](b,c,C[d>>2],C[a+36>>2])|0,C[k>>2]=l;return}b=C[a+12>>2];h=C[b+72>>2];Fe[C[h+180>>2]](b,C[b+76>>2],c,d,e,f,g,C[h+44>>2]);if(!c){break a}d=C[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=C[f>>2];c=C[d+24>>2];h=C[a+24>>2];if((c|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b;c=f+g|0;b=C[c>>2];f=C[d+24>>2];h=C[a+24>>2];if((f|0)!=(h|0)){b=nT(mT(h,h>>31,b,b>>31),Ee,f,f>>31)}C[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=C[f>>2];c=C[d+24>>2];a=C[a+24>>2];if((c|0)!=(a|0)){b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}C[f>>2]=b}}function RC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=D[a+63|0];if((d|0)==128){vr(a,64478);return}a:{f=C[a+28>>2];if(!f){break a}g=d>>>3|0;d=C[a+24>>2];h=d&3;i=(d+3|0)/4|0;c=C[a>>2];b=C[a+20>>2];j=C[a+36>>2]&-2;k=C[a+16>>2]&-2;b:while(1){f=f-1|0;d=i;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=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=1;continue;case 1:a=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=2;continue;case 2:a=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;b=b+2|0;c=c+2|0;a=3;continue;default:break e}}a=E[c>>1];e=(a<<16|a)&65043487;a=E[b>>1];a=(a<<16|a)&65043487;a=(I(e-a|0,g)>>>5|0)+a&65043487;B[b>>1]=a>>>16|a;a=d-1|0;b=b+2|0;c=c+2|0;f:{if((d|0)>1){d=a;break f}b=b+j|0;c=c+k|0;if(f){continue b}break a}a=0;continue}}}}function BE(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0,g=0,h=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(g>>>0<4){break a}e=g>>>2|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b:{if(!(g&4)){d=b;h=e;break b}c=G[b>>2];d=65535;c:{if(c>=J(1)){break c}d=0;if(c<=J(-1)){break c}c=J(J(c+J(1))*J(32767));if(c=J(0)){d=~~c>>>0;break c}d=0}B[b>>1]=d;d=b+2|0;b=b+4|0;h=e-1|0}if((e|0)==1){break a}while(1){e=65535;c=G[b>>2];f=65535;d:{if(c>=J(1)){break d}f=0;if(c<=J(-1)){break d}c=J(J(c+J(1))*J(32767));if(c=J(0)){f=~~c>>>0;break d}f=0}B[d>>1]=f;c=G[b+4>>2];e:{if(c>=J(1)){break e}e=0;if(c<=J(-1)){break e}c=J(J(c+J(1))*J(32767));if(c=J(0)){e=~~c>>>0}}B[d+2>>1]=e;d=d+4|0;b=b+8|0;h=h-2|0;if(h){continue}break}}b=(g|0)/2|0;A[a+24|0]=b;A[a+25|0]=b>>>8;A[a+26|0]=b>>>16;A[a+27|0]=b>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,16)}}function Xs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=C[b+100>>2];e=D[a+2|0]|D[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=84608}a:{if((zf(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)==-1){break a}e=C[d+76>>2];C[b+40>>2]=1;C[b+4>>2]=e;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];A[b+24|0]=(e|0)==C[c+76>>2]?D[(C[c+92>>2]+I(e,20)|0)+15|0]:0;e=b+4|0;if(!Og(e)){break a}c=84608;g=D[a+8|0]|D[a+9|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}i=D[a+4|0]|D[a+5|0]<<8;g=D[a+6|0]|D[a+7|0]<<8;c=Yl(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2]);h=D[a+10|0]|D[a+11|0]<<8;if(h){f=((h<<8|h>>>8)&65535)+a|0}else{f=84608}h=Yl(f,C[C[d+92>>2]+I(C[e>>2],20)>>2]);f=D[a+12|0]|D[a+13|0]<<8;if(c>>>0>=((f<<8|f>>>8)&65535)>>>0){break a}f=D[a+14|0]|D[a+15|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0<=h>>>0){break a}i=qT(i);c=I(h+I(c,f)|0,qT(g)+i|0);c=(c|0)<0?84608:((c<<1)+a|0)+16|0;b:{if(!(Fi(a+4|0,b,a,c,C[d+100>>2]+I(C[d+76>>2],20)|0)|Fi(a+6|0,b,a,c+(i<<1)|0,C[d+100>>2]+I(C[b+4>>2],20)|0))){break b}a=C[e>>2]+1|0;b=C[d+76>>2];if(a-b>>>0<2){break b}Sf(d,b,a)}C[d+76>>2]=C[e>>2]+((g|0)!=0);j=1}return j}function xo(a,b,c){var d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{if(F[b+16>>2]<=c>>>0){C[a+16>>2]=84608;C[a+8>>2]=0;C[a+12>>2]=-1;C[a>>2]=0;C[a+4>>2]=0;b=E[42304];if(!b){C[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){C[a+20>>2]=1;break a}C[a+20>>2]=2;break a}d=C[b+20>>2];d=C[(d?d:84608)+12>>2];b:{if(D[b+12|0]){d=d+(c<<1)|0;e=D[d|0]|D[d+1|0]<<8;e=((e<<8|e>>>8)&65535)<<1;d=D[d+2|0]|D[d+3|0]<<8;d=((d<<8|d>>>8)&65535)<<1;break b}d=d+(c<<2)|0;e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c:{if(d>>>0>=e>>>0){b=C[b+24>>2];b=b?b:84608;if(d>>>0<=F[b+16>>2]){break c}}C[a+16>>2]=84608;C[a+8>>2]=0;C[a+12>>2]=-1;C[a>>2]=0;C[a+4>>2]=0;b=E[42304];if(!b){C[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){C[a+20>>2]=1;break a}C[a+20>>2]=2;break a}g=C[b+12>>2]+e|0;e=d-e|0;b=e>>>0<10?84608:g;d=D[b|0]|D[b+1|0]<<8;if(d){d=(d<<8|d>>>8)<<16>>16>0?1:2}else{d=0}C[a+20>>2]=d;C[a+16>>2]=b;C[a+12>>2]=c;C[a+8>>2]=0;C[a+4>>2]=e;C[a>>2]=g}Ce=f+16|0}function JN(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Ce-80|0;Ce=f;e=6;a:{if(C[b+72>>2]!=C[a+16>>2]){break a}e=19;if((c|0)!=2){break a}c=b+108|0;if(d){Pg(c,C[d>>2],C[d+4>>2])}Zh(c,f+60|0);e=6;d=C[f+60>>2];i=d&-64;j=C[f+68>>2];m=d+32&-64;d=(j-m|0)+32|0;n=d>>>0<64;g=n?(j+63&-64)-i|0:d;if(g>>>0>4194303){break a}d=C[f+72>>2];j=d+63&-64;k=C[f+64>>2];o=k&-64;p=d+32|0;k=k+32&-64;h=p-k|0;d=h>>>0<64;h=d?j-o|0:h;if(h>>>0>4194303){break a}e=C[a+8>>2];if(A[C[b+156>>2]+4|0]&1){l=C[b+88>>2];if(l){Fe[C[e+8>>2]](e,l)}C[b+88>>2]=0;l=C[b+156>>2];C[l+4>>2]=C[l+4>>2]&-2}h=h>>6;C[b+76>>2]=h;g=g>>6;C[b+80>>2]=g;A[b+94|0]=1;g=g+15>>>3&536870910;C[b+84>>2]=g;q=b,r=Ve(e,h,0,g,0,f+76|0),C[q+88>>2]=r;e=C[f+76>>2];if(e){break a}e=C[b+156>>2];C[e+4>>2]=C[e+4>>2]|1;i=n?i:m;e=d?o:k;Pg(c,0-i|0,0-e|0);C[f+20>>2]=0;C[f+16>>2]=c;C[f+12>>2]=b+76;q=f,r=Fe[C[a+56>>2]](C[a+52>>2],f+12|0)|0,C[q+76>>2]=r;Pg(c,i,e);e=C[f+76>>2];if(e){break a}C[b+72>>2]=1651078259;C[b+104>>2]=(d?j:p&-64)>>6;C[b+100>>2]=i>>6;e=0}Ce=f+80|0;return e|0}function Is(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(C[b+20>>2]){break a}b:{e=a+6|0;f=C[b+4>>2];g=e-f|0;if(!((g|0)>=0&(g|0)<=(C[b+8>>2]-f|0))){break b}d=e;if((f|0)!=(d|0)){We(f,0,g);d=C[b+4>>2]}C[b+4>>2]=d+g;g=0;c:{if(!d){break c}A[a+2|0]=0;A[a+3|0]=8;c=c<<8|(c&65280)>>>8;A[a|0]=c;A[a+1|0]=c>>>8;if(C[b+20>>2]){break c}d=C[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(C[b+8>>2]-d|0))){break b}if((d|0)!=(e|0)){We(d,0,c);e=C[b+4>>2]}C[b+4>>2]=c+e;if(!e){break c}f=a+4|0;A[f|0]=0;A[f+1|0]=1;if(C[b+20>>2]){break c}e=f+4|0;d=C[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(C[b+8>>2]-d|0))){break b}if((d|0)!=(e|0)){We(d,0,c);e=C[b+4>>2]}h=c+e|0;C[b+4>>2]=h;if(!e){break a}g=1;d=D[a+2|0]|D[a+3|0]<<8;if(!(d&4096)){break c}if(C[b+20>>2]){break a}g=0;c=D[a+4|0]|D[a+5|0]<<8;c=((f+(((c<<8|c>>>8)&65535)<<1)|0)+(d>>>11&2)|0)+2|0;if((c-a|0)<0){break c}a=c-h|0;if(!((a|0)>=0&(a|0)<=(C[b+8>>2]-h|0))){break b}if((c|0)!=(h|0)){We(h,0,a);h=C[b+4>>2]}C[b+4>>2]=a+h;if(!h){break a}g=1;a=D[f|0]|D[f+1|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;A[a+2|0]=0;A[a+3|0]=0}return g}C[b+20>>2]=4}return 0}function as(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-16|0;Ce=e;C[b>>2]=0;a:{if(!a){break a}if(D[a|0]==64){f=gi(a+1|0,21803);a=0;j=Ce-16|0;Ce=j;b:{if(!f){C[j>>2]=21531;Qe(19745,j);break b}c=Fe[C[f>>2]](f)|0;a=Ee;d=(a|0)<0;g=d?1024:c;d=d?0:a;a=g+1|0;a=Fe[C[94762]](a>>>0<=1?1:a)|0;if(a){C[94766]=C[94766]+1}c:{while(1){c=0;i=h+1024|0;c=i>>>0<1024?1:c;if(g>>>0>>0&(c|0)>=(d|0)|(c|0)>(d|0)){c=Rf(a,h+1025|0);if(!c){if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=0;_e(0);break c}g=h+1024|0;d=0;a=c}c=a+h|0;i=Fe[C[f+8>>2]](f,c,1,g-h|0)|0;h=i+h|0;if(i){continue}break}A[c|0]=0}Fe[C[f+16>>2]](f)|0}Ce=j+16|0;g=a;if(!a){break a}}a=fi(a,1765);C[e+12>>2]=a;d:{if(!a){break d}while(1){c=Cz(a,e+12|0);a=fi(C[e+12>>2],1765);C[e+12>>2]=a;if(!a){break d}f=Cz(a,e+12|0);a=C[b>>2];e:{if((a|0)!=C[b+4>>2]){d=C[b+8>>2];break e}a=a+16|0;d=Rf(C[b+8>>2],a<<2);if(!d){break d}C[b+4>>2]=a;C[b+8>>2]=d;a=C[b>>2]}C[b>>2]=a+1;C[(a<<2)+d>>2]=f&65535|c<<16;a=fi(C[e+12>>2],1765);C[e+12>>2]=a;if(a){continue}break}}if(!g){break a}if(g){Fe[C[94765]](g);C[94766]=C[94766]-1}}Ce=e+16|0}function kv(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-1024|0;Ce=f;C[a+236>>2]=0;C[a+232>>2]=b;e=b?c:0;g=a+220|0;a:{b:{c:{while(1){c=C[a+224>>2];if(!c){c=C[a+396>>2];d:{while(1){if(c){break d}ef(a,0);c=Qo(a);C[a+396>>2]=c;if(C[a+372>>2]==1229209940){continue}break}Af(a,21942);s()}d=C[a+768>>2];c=c>>>0>d>>>0?d:c;d=C[a+760>>2];e:{if(d){if(F[a+764>>2]>=c>>>0){break e}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,d)}d=ih(a,c);if(!d){break c}h=We(d,0,c);C[a+764>>2]=c;C[a+760>>2]=h}Xf(a,d,c);_f(a,d,c);C[a+224>>2]=c;C[a+220>>2]=d;C[a+396>>2]=C[a+396>>2]-c}f:{if(b){d=e;e=0;break f}C[a+232>>2]=f;d=1024}C[a+236>>2]=d;g:{if(!(!D[a+432|0]|!c)){if(A[C[g>>2]]<0){C[a+244>>2]=32909;c=-3;break g}A[a+432|0]=0}c=pm(g,0)}d=C[a+236>>2];C[a+236>>2]=0;e=(b?d:1024-d|0)+e|0;h:{if(c){if((c|0)==1){C[a+232>>2]=0;C[a+204>>2]=C[a+204>>2]|8;C[a+208>>2]=C[a+208>>2]|8;if(C[a+224>>2]|C[a+396>>2]){ff(a,22019)}if(!e){break h}if(b){break a}ff(a,21964);break h}lj(a,c);c=C[a+244>>2];if(b){break b}ff(a,c);break h}if(e){continue}}break}Ce=f+1024|0;return}Kg(a,13856);s()}Kg(a,c);s()}Af(a,21942);s()}function bM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=3;a:{if((d|e)<0){break a}h=C[a+8>>2];i=C[a+12>>2];m=E[i+2>>1];if(F[h+4>>2]>>0){break a}k=E[i>>1];if(F[h>>2]>>0){break a}l=I(m,D[a+18|0]);if((I(l,k)+7>>>3|0)+b>>>0>c>>>0){break a}if(k){n=d&7;a=8-n|0;j=a>>>0>l>>>0?l:a;q=(255<>2];h=C[h+12>>2]+(I(o,e)+(d>>>3|0)|0)|0;m=l-j|0;p=8-j|0;e=0;d=k;while(1){i=d;b:{if(!n){f=l;d=h;break b}c:{if((i|0)==(k|0)){e=D[b|0];b=b+1|0;a=n;break c}if((g|0)<(j|0)){a=g+p|0;if(b>>>0>=c>>>0){break c}e=D[b|0]|e;b=b+1|0;a=g+p|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;A[h|0]=D[h|0]|(e&65535)>>>g&q;e=e<<8;f=m;d=h+1|0}a=b;if((f|0)>=8){while(1){b=D[a|0]|e;A[d|0]=D[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=D[a|0]|e;a=a+1|0}A[d|0]=D[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}A[d|0]=D[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+o|0;d=i-1|0;if((i|0)>1){continue}break}}f=0}return f|0}function Np(a,b,c,d){var e=0,f=0,g=0;e=C[a+8264>>2];a:{if(e>>>0>b>>>0){e=0;if(bf(C[a>>2],C[a+68>>2])){break a}g=a+8264|0;e=C[a+40>>2];b:{if(!e){break b}C[a+20>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;C[e>>2]=C[e+12>>2]?7:0;f=C[e+20>>2];e=C[f>>2];if((e&-2)==4){Fe[C[a+48>>2]](C[a+52>>2],C[f+12>>2]);e=C[f>>2]}if((e|0)==6){Fe[C[a+48>>2]](C[a+52>>2],C[f+4>>2])}C[f+28>>2]=0;C[f+32>>2]=0;C[f>>2]=0;e=C[f+40>>2];C[f+52>>2]=e;C[f+48>>2]=e;e=C[f+56>>2];if(!e){break b}e=Fe[e|0](0,0,0)|0;C[f+60>>2]=e;C[a+60>>2]=e}C[a+8272>>2]=g;C[a+8268>>2]=g;C[a+8264>>2]=0;C[a+28>>2]=0;C[a+12>>2]=a+72;C[a+16>>2]=0;C[a+24>>2]=a+4168;e=0}c:{if(b>>>0>e>>>0){b=b-e|0;d:{while(1){f=C[a+8268>>2];e=C[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;C[a+8268>>2]=e+f;C[a+8264>>2]=e+C[a+8264>>2];b=b-e|0;if(!b){break d}if(!zx(a)){continue}break}return 0}if(d){break c}return 0}if(d){break c}return 0}e=0;while(1){f=C[a+8268>>2];b=C[a+8272>>2]-f|0;b=b>>>0>>0?b:d;t(c,f,b);C[a+8268>>2]=b+C[a+8268>>2];C[a+8264>>2]=b+C[a+8264>>2];e=b+e|0;d=d-b|0;if(!d){break a}c=b+c|0;if(!zx(a)){continue}break}}return e}function Wl(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0;m=Ce-272|0;Ce=m;C[m+268>>2]=0;k=0;a:{if(!Ck(a,d,e,C[j>>2],C[j+8>>2],m+268|0,m,0)){break a}e=C[a+100>>2];e=C[(D[e+73|0]?84:76)+e>>2];n=C[j+4>>2];o=C[j>>2];C[a+84>>2]=b;C[a+48>>2]=e;l=C[C[a+52>>2]+100>>2];C[a+88>>2]=C[l+80>>2];k=C[l+76>>2]==(e|0)?D[(C[l+92>>2]+I(e,20)|0)+15|0]:k;l=a+48|0;C[a+80>>2]=c;C[a+76>>2]=n;C[a+72>>2]=o;A[a+68|0]=k;b:{if(!b){break b}c=0;k=0;if(!ki(l)){break a}c:{while(1){c=c+1|0;if((c|0)==(b|0)){break c}if(ki(l)){continue}break}e=0;k=0;if(b>>>0>c>>>0){break a}break b}e=C[l>>2]}o=C[j+12>>2];p=C[j>>2];c=C[C[a+100>>2]+76>>2];b=C[m+268>>2];C[a+84>>2]=f;c=b+c|0;j=c-1|0;C[a+48>>2]=j;n=C[C[a+52>>2]+100>>2];C[a+88>>2]=C[n+80>>2];k=0;k=(j|0)==C[n+76>>2]?D[(C[n+92>>2]+I(j,20)|0)+15|0]:k;C[a+80>>2]=g;C[a+76>>2]=o;C[a+72>>2]=p;A[a+68|0]=k;d:{if(!f){break d}c=0;k=0;if(!Og(l)){break a}e:{while(1){c=c+1|0;if((c|0)==(f|0)){break e}if(Og(l)){continue}break}f=c>>>0>>0;c=0;k=0;if(f){break a}break d}c=C[l>>2]+1|0}Zg(C[a+100>>2],e,c);k=Xl(a,d,m,h,i,b)}Ce=m+272|0;return k}function cv(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{b:{if(!bh(21847,A[b|0])){C[105782]=28;break b}d=2;if(!bh(b,43)){d=D[b|0]!=114}d=bh(b,120)?d|128:d;d=bh(b,101)?d|524288:d;e=d;g=d|64;d=D[b|0];e=(d|0)==114?e:g;e=(d|0)==119?e|512:e;C[f>>2]=438;C[f+4>>2]=0;a=Xb(-100,a|0,((d|0)==97?e|1024:e)|32768,f|0)|0;if(a>>>0>=4294963201){C[105782]=0-a;a=-1}if((a|0)<0){break a}d=Ce-32|0;Ce=d;c:{d:{e:{if(!bh(21847,A[b|0])){C[105782]=28;break e}c=kf(1176);if(c){break d}}b=0;break c}We(c,0,144);if(!bh(b,43)){C[c>>2]=D[b|0]==114?8:4}f:{if(D[b|0]!=97){b=C[c>>2];break f}b=Ca(a|0,3,0)|0;if(!(b&1024)){b=b|1024;C[d+16>>2]=b;C[d+20>>2]=b>>31;Ca(a|0,4,d+16|0)|0}b=C[c>>2]|128;C[c>>2]=b}C[c+80>>2]=-1;C[c+48>>2]=1024;C[c+60>>2]=a;C[c+44>>2]=c+152;g:{if(b&8){break g}C[d>>2]=d+24;C[d+4>>2]=0;if(Vb(a|0,21523,d|0)|0){break g}C[c+80>>2]=10}C[c+40>>2]=1470;C[c+36>>2]=1471;C[c+32>>2]=1472;C[c+12>>2]=1473;if(!D[423153]){C[c+76>>2]=-1}C[c+56>>2]=C[105803];b=C[105803];if(b){C[b+52>>2]=c}C[105803]=c;b=c}Ce=d+32|0;c=b;if(c){break a}Da(a|0)|0}c=0}Ce=f+16|0;return c}function Vr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ce-32|0;f=C[a+80>>2];if(f>>>0>=2){i=C[a+92>>2];e=f-1|0;while(1){b=I(e,20)+i|0;C[c+24>>2]=C[b+16>>2];d=C[b+12>>2];C[c+16>>2]=C[b+8>>2];C[c+20>>2]=d;d=C[b+4>>2];C[c+8>>2]=C[b>>2];C[c+12>>2]=d;d=I(g,20)+i|0;C[b+16>>2]=C[d+16>>2];h=C[d+12>>2];C[b+8>>2]=C[d+8>>2];C[b+12>>2]=h;h=C[d+4>>2];C[b>>2]=C[d>>2];C[b+4>>2]=h;C[d+16>>2]=C[c+24>>2];b=C[c+20>>2];C[d+8>>2]=C[c+16>>2];C[d+12>>2]=b;b=C[c+12>>2];C[d>>2]=C[c+8>>2];C[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!D[a+74|0]){break a}b=C[a+80>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=C[a+100>>2];e=b-1|0;g=0;while(1){a=d+I(e,20)|0;C[c+24>>2]=C[a+16>>2];b=C[a+12>>2];C[c+16>>2]=C[a+8>>2];C[c+20>>2]=b;b=C[a+4>>2];C[c+8>>2]=C[a>>2];C[c+12>>2]=b;b=d+I(g,20)|0;C[a+16>>2]=C[b+16>>2];f=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=f;f=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=f;C[b+16>>2]=C[c+24>>2];a=C[c+20>>2];C[b+8>>2]=C[c+16>>2];C[b+12>>2]=a;a=C[c+12>>2];C[b>>2]=C[c+8>>2];C[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function Rx(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ce-16|0;Ce=i;k=C[a>>2];a=bf(b,c);C[i+12>>2]=a;a:{if(a){break a}l=$f(b,i+12|0);a=C[i+12>>2];if(a){break a}while(1){m=cg(b,i+12|0);a=C[i+12>>2];if(a){break a}n=$f(b,i+12|0);a=C[i+12>>2];if(a){break a}o=$f(b,i+12|0);a=C[i+12>>2];if(a){break a}if((e|0)!=(m|0)){a=1;m=(j|0)==(l|0);j=j+1|0;if(m){break a}continue}break}C[h>>2]=n+1;a=bf(b,c+o|0);C[i+12>>2]=a;if(a){break a}j=0;c=Ve(k,8,0,C[h>>2],0,i+12|0);a=C[i+12>>2];if(a){break a}e=C[h>>2];b:{if((e|0)>0){while(1){a=c+(j<<3)|0;p=a,q=$f(b,i+12|0),B[p>>1]=q;if(C[i+12>>2]){break b}e=ng(b,2);C[i+12>>2]=e;if(e){break b}e=cg(b,i+12|0);if(C[i+12>>2]){break b}l=ng(b,4);C[i+12>>2]=l;if(l){break b}C[a+4>>2]=e&16777215;e=C[h>>2];j=j+1|0;if((e|0)>(j|0)){continue}break}}a=0;if(f){lh(c,e,8,857);e=C[h>>2]}b=Ve(k,4,0,e,0,i+12|0);if(C[i+12>>2]){break b}if(C[h>>2]>0){while(1){C[b+(a<<2)>>2]=C[(c+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}C[g>>2]=b;C[i+12>>2]=0}if(c){Fe[C[k+8>>2]](k,c)}a=C[i+12>>2]}Ce=i+16|0;return a}function aP(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ce-16|0;Ce=g;h=C[c>>2];C[g+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=D[a+3|0];i=D[a+4|0];a=C[c+92>>2];d=i+a|0;if(d>>>0>F[c+96>>2]){j=a;a=d+3&-4;p=c,q=Ve(h,36,j,a,C[c+100>>2],g+12|0),C[p+100>>2]=q;d=C[g+12>>2];if(d){break a}C[c+96>>2]=a}d=8;j=f&8;k=f&4;l=f&16;h=f&1;m=f&2;if(I(((j>>>3)+(k>>>2)+(l>>>4)|0)+(m?h+9|0:h|8)|0,i)+e>>>0>b>>>0){break a}f=C[c+92>>2];if(i){a=C[c+100>>2]+I(f,36)|0;while(1){b=D[e|0];b:{if(h){b=D[e+1|0]|b<<8;d=e+2|0;break b}d=e+1|0}C[a>>2]=b;b=D[d|0];c:{if(m){b=D[d+1|0]|b<<8;d=d+2|0;break c}d=d+1|0}C[a+4>>2]=b;b=d;C[a+8>>2]=D[b|0];d=D[b+2|0];e=D[b+1|0];d:{if(k){d=D[b+3|0]|(d<<8|e<<16);b=b+4|0;break d}d=d|e<<8;b=b+3|0}C[a+20>>2]=d;e=D[b+1|0];n=D[b|0];e:{if(j){d=b+3|0;b=D[b+2|0]|(e<<8|n<<16);break e}d=b+2|0;b=e|n<<8}C[a+24>>2]=b;b=D[d|0];f:{if(l){b=D[d+1|0]|b<<8;e=d+2|0;break f}e=d+1|0}C[a+28>>2]=b;a=a+36|0;o=o+1|0;if((o|0)!=(i|0)){continue}break}d=C[g+12>>2]}else{d=0}C[c+92>>2]=f+i}Ce=g+16|0;return d|0}function XF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=C[a+44>>2];i=C[a+48>>2];e=C[a+16>>2];l=D[a+11|0];d=E[a+12>>1];b=C[a+4>>2];C[a+88>>2]=0;Fe[C[104542]](a);j=(I(d,1e3)|0)/(b|0)|0;if(!C[a+56>>2]){f=a- -64|0;k=(e|0)<=0;while(1){a:{if(C[f>>2]){ph(j);b=C[a+52>>2];if(b){Hl(b)}Fe[C[104548]](a);break a}b=C[a+72>>2];b:{c:{if(C[a+60>>2]){c=e;d=b;if(k){break b}while(1){g=Fe[C[104547]](a,d,c)|0;if((g|0)<=0){ps(a);break c}d=d+g|0;c=c-g|0;if((c|0)>0){continue}break}break b}ph(j);c=e;d=b;if(k){break b}}mf(d,l,c)}d=C[a+52>>2];if(d){Lj(d,b,e);b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}c=C[a+40>>2];if((b|0)<(c|0)){break a}while(1){c=bj(C[a+52>>2],C[a+72>>2],c);b=C[a+40>>2];if((c|0)!=(b|0)){mf(C[a+72>>2],D[a+11|0],b)}if(!C[f>>2]){Fe[h|0](i,C[a+72>>2],C[a+40>>2])}b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}c=C[a+40>>2];if((b|0)>=(c|0)){continue}break}break a}if(!C[f>>2]){Fe[h|0](i,b,C[a+40>>2])}}if(!C[a+56>>2]){continue}break}}Fe[C[104548]](a);Fe[C[104543]](a);return 0}function VE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0),k=J(0),l=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];i=G[c+20>>2];j=G[c+16>>2];k=J(G[c+12>>2]*J(.06666667014360428));l=J(G[c+8>>2]*J(.15026666224002838));G[d>>2]=J(g*J(.08586666733026505))+J(J(h*J(.19413334131240845))+J(J(i*J(.11106666922569275))+J(J(j*J(.18106667697429657))+J(k+J(J(G[c>>2]*J(.21186666190624237))+l)))));G[d+4>>2]=J(g*J(.19413334131240845))+J(J(h*J(.08586666733026505))+J(J(i*J(.18106667697429657))+J(J(j*J(.11106666922569275))+J(k+J(J(G[c+4>>2]*J(.21186666190624237))+l)))));d=d+8|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=(e|0)/8<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function CM(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+100>>2];d=C[a+532>>2];a:{if(!d){break a}b=C[d+80>>2];if(b){Fe[b|0](a)}b=C[d+100>>2];if(!b){break a}Fe[b|0](a)}if(D[a+780|0]){b=a+760|0;if(C[b>>2]){Wf(C[a+104>>2],b)}C[a+772>>2]=0;C[a+764>>2]=0;C[a+768>>2]=0}Wf(C[a+104>>2],a+740|0);C[a+752>>2]=0;C[a+756>>2]=0;C[a+744>>2]=0;C[a+748>>2]=0;b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;C[a+144>>2]=0;b=C[a+156>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+152>>1]=0;C[a+156>>2]=0;Wf(C[a+104>>2],a+500|0);C[a+504>>2]=0;b=C[a+104>>2];Wf(b,a+680|0);Wf(b,a+688|0);C[a+692>>2]=0;C[a+684>>2]=0;if(D[a+292|0]){b=C[a+332>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+332>>2]=0;b=C[a+336>>2];if(b){Fe[C[c+8>>2]](c,b)}A[a+292|0]=0;C[a+336>>2]=0}b=C[a+544>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+542>>1]=0;C[a+544>>2]=0;if(d){Fe[C[d+52>>2]](a)}d=C[a+20>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+20>>2]=0;d=C[a+24>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+24>>2]=0;d=C[a+32>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+28>>2]=0;C[a+32>>2]=0;d=C[a+664>>2];if(d){Fe[C[c+8>>2]](c,d)}C[a+532>>2]=0;C[a+664>>2]=0}}function AE(a,b){a=a|0;b=b|0;var c=J(0),d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(d>>>0<4){break a}e=d>>>2|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);if(d&4){c=G[b>>2];d=2147483647;b:{if(c>=J(1)){break b}d=-2147483648;if(c<=J(-1)){break b}c=J(c*J(8388607));c:{if(J(K(c))>2]=d;b=b+4|0;d=e-1|0}else{d=e}if((e|0)==1){break a}while(1){e=2147483647;c=G[b>>2];f=2147483647;d:{if(c>=J(1)){break d}f=-2147483648;if(c<=J(-1)){break d}c=J(c*J(8388607));e:{if(J(K(c))>2]=f;c=G[b+4>>2];f:{if(c>=J(1)){break f}e=-2147483648;if(c<=J(-1)){break f}c=J(c*J(8388607));g:{if(J(K(c))>2]=e;b=b+8|0;d=d-2|0;if(d){continue}break}}b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,32800)}}function gt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=D[a|0]|D[a+1|0]<<8;a:{if(!c){break a}f=(c<<8|c>>>8)&65535;c=C[b+120>>2];e=C[b+100>>2];c=(c&C[(C[e+92>>2]+I(C[e+76>>2],20)|0)+4>>2])>>>lT(c)|0;b:{if((c|0)!=255){break b}c=255;if(!D[b+143|0]){break b}c=C[e+80>>2];if(c>>>0>=2){Sf(e,0,c)}c=(I(C[b+144>>2],48271)>>>0)%2147483647|0;C[b+144>>2]=c;c=((c>>>0)%(f>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=f>>>0){break a}d=1;e=((c<<1)+a|0)+2|0;a=D[a|0]|D[a+1|0]<<8;a=c>>>0>=((a<<8|a>>>8)&65535)>>>0?84608:e;a=D[a|0]|D[a+1|0]<<8;e=(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;c=E[a+12>>1]&96;g=a+12|0,h=_g(C[b+108>>2],e)|c|16,B[g>>1]=h}b=C[b+100>>2];if(!$e(b,1,1)){break a}a=C[b+76>>2];c:{if(a>>>0>2]){d=C[b+92>>2]+I(a,20)|0;a=C[b+84>>2];c=C[b+96>>2];break c}c=C[b+96>>2];a=C[b+84>>2];d=a-1|0;d=c+I(a>>>0>=d>>>0?d:0,20)|0}a=I(a,20)+c|0;c=C[d+4>>2];C[a>>2]=C[d>>2];C[a+4>>2]=c;C[a+16>>2]=C[d+16>>2];c=C[d+12>>2];C[a+8>>2]=C[d+8>>2];C[a+12>>2]=c;C[a>>2]=e;d=1;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+1}return d}function Us(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[b+100>>2];h=D[a+2|0]|D[a+3|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}else{c=84608}h=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((h|0)==-1){break a}f=C[e+76>>2];C[b+40>>2]=1;C[b+4>>2]=f;c=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[c+80>>2];g=(f|0)==C[c+76>>2]?D[(C[c+92>>2]+I(f,20)|0)+15|0]:g;C[b+12>>2]=8;A[b+24|0]=g;f=b+4|0;if(!ki(f)){break a}while(1){b:{g=C[f>>2];d=C[e+92>>2]+I(g,20)|0;if(!(D[d+12|0]&64)){break b}c=D[d+14|0];j=c&16?0:c&15;if(!j|!g){break b}g=d-20|0;if(D[g+12|0]&8){break b}i=c;c=D[g+14|0];if((i^c)>>>0>31|((c&16?1:(c&15)+1|0)|0)!=(j|0)){break b}C[b+40>>2]=C[b+40>>2]+1;d=C[b+36>>2];if(d){C[b+36>>2]=d-2}d=0;if(ki(f)){continue}break a}break}e=D[a+4|0]|D[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=84608}d=zf(c,C[d>>2]);if((d|0)==-1){return 0}e=D[a+8|0]|D[a+9|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=84608}f=D[a+10|0]|D[a+11|0]<<8;if(f){i=((f<<8|f>>>8)&65535)+a|0}else{i=84608}a=D[a+6|0]|D[a+7|0]<<8;d=Kn(c,b,h,d,i,(a<<8|a>>>8)&65535,C[b+4>>2])}return d}function At(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{if(F[b+4>>2]>a>>>0){break b}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break b}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break b}d=D[a|0]|D[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>f>>>0){break b}g=f-g|0;f=(d<<8|d>>>8)&65535;d=f<<1;if(g>>>0>>0){break b}e=e-d|0;C[b+12>>2]=e;if((e|0)<=0){break b}k=f>>>0<=1?1:f;g=0;while(1){h=C[b+4>>2];f=((g<<1)+a|0)+2|0;if(h>>>0>f>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break a}i=C[c>>2];j=C[b+12>>2];d=j-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[f|0]|D[f+1|0]<<8;c:{if(!d){break c}d=i+((d<<8|d>>>8)&65535)|0;d:{if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}h=j-4|0;C[b+12>>2]=h;if((h|0)<=0){break d}i=D[d|0]|D[d+1|0]<<8;if(!i){break c}d=d+2|0;if(d>>>0>e>>>0){break d}d=e-d|0;e=((i<<8|i>>>8)&65535)<<1;if(d>>>0>>0){break d}e=h-e|0;C[b+12>>2]=e;if((e|0)>0){break c}}e=C[b+28>>2];if(e>>>0>31){break a}C[b+28>>2]=e+1;if(!D[b+24|0]){break a}A[f|0]=0;A[f+1|0]=0}h=1;g=g+1|0;if((k|0)!=(g|0)){continue}break}}return h}return 0}function Yq(a){var b=0,c=0,d=0,e=0;c=C[a+52>>2];b=C[a+48>>2];if(!(!b|(b|0)==1)){d=(b<<2)+c|0;b=b-1|0;e=c+4|0;while(1){c=C[(b?e:84608)>>2];Re(C[c+16>>2]);C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;Re(C[c+28>>2]);C[c+28>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;c=(b|0)!=0;b=b-c|0;e=(c<<2)+e|0;if((d|0)!=(e|0)){continue}break}c=C[a+52>>2]}Re(c);C[a+52>>2]=0;C[a+56>>2]=-57005;C[a+44>>2]=0;C[a+48>>2]=0;c=C[a- -64>>2];if(c){b=C[c+8>>2];if(b){while(1){b=b-1|0;d=C[c+12>>2]+I(b,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[c+8>>2]=b;if(e){Fe[e|0](d);b=C[c+8>>2]}if(b){continue}break}}Re(C[c+12>>2]);Re(c)}Re(C[a+88>>2]);C[a+88>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;b=C[a+40>>2];if(b){while(1){C[a+40>>2]=C[b+32>>2];Re(C[b+16>>2]);C[b+16>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;Re(C[b+28>>2]);C[b+28>>2]=0;C[b+20>>2]=0;C[b+24>>2]=0;b=C[a+40>>2];if(b){continue}break}}C[a+24>>2]=0;c=C[a+36>>2];b=C[a+32>>2];if(b){e=(b<<2)+c|0;while(1){Re(C[(b?c:84608)>>2]);d=(b|0)!=0;b=b-d|0;c=(d<<2)+c|0;if((e|0)!=(c|0)){continue}break}c=C[a+36>>2]}Re(c);C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0}function jv(a,b){var c=0,d=0,e=0,f=0;c=C[a+4>>2];e=c+b|0;a:{b:{c:{switch(D[a+10|0]-2|0){case 0:d:{e:{f:{f=D[a+9|0];switch(f-8|0){case 8:break e;case 0:break f;default:break a}}d=b+1|0;c=b+2|0;if(e>>>0<=c>>>0){break d}while(1){A[d|0]=D[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}break d}d=b+2|0;c=b+4|0;if(e>>>0<=c>>>0){break d}while(1){A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];d=d+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}}A[a+10|0]=1;A[a+11|0]=f;if(D[a+8|0]!=4){break b}A[a+8|0]=0;break b;case 2:break c;default:break a}}g:{h:{switch(D[a+9|0]-8|0){case 0:d=b+3|0;f=24;if((c|0)<=4){break g}c=b+4|0;while(1){A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];A[d+2|0]=D[c+2|0];d=d+3|0;c=c+4|0;if(e>>>0>c>>>0){continue}break};break g;case 8:break h;default:break a}}d=b+6|0;f=48;if((c|0)<=8){break g}c=b+8|0;while(1){A[d|0]=D[c|0];A[d+1|0]=D[c+1|0];A[d+2|0]=D[c+2|0];A[d+3|0]=D[c+3|0];A[d+4|0]=D[c+4|0];A[d+5|0]=D[c+5|0];d=d+6|0;c=c+8|0;if(e>>>0>c>>>0){continue}break}}A[a+10|0]=3;A[a+11|0]=f;if(D[a+8|0]!=6){break b}A[a+8|0]=2}C[a+4>>2]=d-b}}function Iw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Ce-16|0;Ce=j;f=D[b+1|0]<<16|D[b|0]<<24|D[b+2|0]<<8;d=D[b+3|0];g=f|d;if(g){h=d&3;e=b+7|0;a:{if((d|f)-1>>>0<3){f=0;d=e;break a}l=g-h|0;f=0;while(1){f=(D[e+12|0]+(D[e+8|0]+(D[e+4|0]+(D[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;k=k+4|0;if((l|0)!=(k|0)){continue}break}}if(h){while(1){f=(D[d|0]+f|0)+1|0;d=d+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}d=f+1|0}else{d=1}e=C[a+28>>2];C[j+12>>2]=0;b:{c:{d:{if(d>>>0<=e>>>0){c=C[a+32>>2];break d}C[a+36>>2]=c;c=Ve(c,4,e,d,C[a+32>>2],j+12|0);C[a+32>>2]=c;if(C[j+12>>2]){break c}C[a+28>>2]=d}d=c;if(g){while(1){e=D[b+6|0]|(D[b+5|0]<<8|D[b+4|0]<<16);i=0;a=D[b+7|0];f=a+1|0;h=f&7;if(h){while(1){C[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(a>>>0>=7){while(1){C[d>>2]=e;C[d+28>>2]=e+7;C[d+24>>2]=e+6;C[d+20>>2]=e+5;C[d+16>>2]=e+4;C[d+12>>2]=e+3;C[d+8>>2]=e+2;C[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;g=g-1|0;if(g){continue}break}}C[d>>2]=0;break b}c=0}Ce=j+16|0;return c}function Fq(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;h=h^255;a:{switch(d-1|0){case 0:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=((I(h,a&255)>>>0)/255|0)+g|((I(h,a>>>8&255)>>>0)/255|0)+f<<8|((I(h,a>>>16&255)>>>0)/255|0)+e<<16;return 0;case 1:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=(a>>>16&255)+e|0;d=(b>>>0>=255?255:b)<<16;b=(a>>>8&255)+f|0;a=(a&255)+g|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;case 3:b=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[b>>2];C[b>>2]=(I(a&255,g)>>>0)/255|(I(a>>>8&255,f)>>>0)/255<<8|(I(a>>>16&255,e)>>>0)/255<<16;return 0;case 7:c=(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)|0;a=C[c>>2];b=a>>>16&255;b=((I(b,e)>>>0)/255|0)+((I(b,h)>>>0)/255|0)|0;d=(b>>>0>=255?255:b)<<16;b=a>>>8&255;b=((I(b,f)>>>0)/255|0)+((I(b,h)>>>0)/255|0)|0;a=a&255;a=((I(a,g)>>>0)/255|0)+((I(a,h)>>>0)/255|0)|0;C[c>>2]=d|(b>>>0>=255?255:b)<<8|(a>>>0>=255?255:a);return 0;default:break a}}C[(C[a+20>>2]+I(C[a+16>>2],c)|0)+(b<<2)>>2]=f<<8|e<<16|g;return 0}function fD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[a+36>>2]/4|0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+16>>2];c=C[a+24>>2];h=c&7;i=(c+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];j=e<<2;b:while(1){f=f-1|0;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:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=1;continue;case 1:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=2;continue;case 2:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=3;continue;case 3:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=4;continue;case 4:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=5;continue;case 5:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=6;continue;case 6:C[a>>2]=C[(D[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=7;continue;default:break e}}C[a>>2]=C[(D[b|0]<<2)+d>>2];c=e-1|0;a=a+4|0;b=b+1|0;f:{if((e|0)>1){e=c;break f}b=b+g|0;a=a+j|0;if(f){continue b}break a}c=0;continue}}}}function WF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=C[a+44>>2];f=C[a+48>>2];C[a+88>>2]=0;Fe[C[104542]](a);if(!C[a+56>>2]){g=a- -64|0;while(1){c=C[a+40>>2];a:{if(!(C[a+52>>2]|!C[a+60>>2])){b=Fe[C[104546]](a)|0;if(b){break a}}b=C[a+72>>2]}b:{if(C[g>>2]){mf(b,D[a+35|0],c);break b}Fe[e|0](f,b,c)}d=C[a+52>>2];c:{if(d){Lj(d,b,c);b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)>2]){break c}while(1){d:{e:{f:{if(!C[a+60>>2]){b=C[a+52>>2];break f}c=Fe[C[104546]](a)|0;b=C[a+52>>2];if(c){break e}}bj(b,C[a+72>>2],C[a+16>>2]);ph((I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0);break d}d=bj(b,c,C[a+16>>2]);b=C[a+16>>2];if((d|0)!=(b|0)){mf(c,D[a+11|0],b)}Fe[C[104545]](a);Fe[C[104544]](a)}b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)>=C[a+16>>2]){continue}break}break c}if(C[a+72>>2]==(b|0)){ph((I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0);break c}Fe[C[104545]](a);Fe[C[104544]](a)}if(!C[a+56>>2]){continue}break}}ph((I(E[a+12>>1],1e3)|0)/C[a+4>>2]<<1);Fe[C[104543]](a);return 0}function oT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(b){if(!c){break k}if(!d){break j}e=L(d)-L(b)|0;if(e>>>0<=31){break i}break c}if((d|0)==1|d>>>0>1){break c}Ee=0;a=(a>>>0)/(c>>>0)|0;break a}if(!a){break h}if(!d|d-1&d){break g}a=b>>>lT(d)|0;Ee=0;break a}if(!(c-1&c)){break f}h=(L(c)+33|0)-L(b)|0;g=0-h|0;break d}h=e+1|0;g=63-e|0;break d}Ee=0;a=(b>>>0)/(d>>>0)|0;break a}e=L(d)-L(b)|0;if(e>>>0<31){break e}break c}if((c|0)==1){break b}d=lT(c);c=d&31;if((d&63)>>>0>=32){a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}Ee=e;break a}h=e+1|0;g=63-e|0}e=h&63;f=e&31;if(e>>>0>=32){e=0;i=b>>>f|0}else{e=b>>>f|0;i=((1<>>f}g=g&63;f=g&31;if(g>>>0>=32){b=a<>>32-f|b<>>31;e=i<<1|b>>>31;f=m-(j+(e>>>0>g>>>0)|0)>>31;k=c&f;i=e-k|0;e=j-((d&f)+(e>>>0>>0)|0)|0;b=b<<1|a>>>31;a=l|a<<1;l=f&1;h=h-1|0;if(h){continue}break}}Ee=b<<1|a>>>31;a=l|a<<1;break a}a=0;b=0}Ee=b}return a}function fl(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;f=I(d,1468)+a|0;i=C[f+44>>2];c=b?C[(I(b,12)+c|0)-12>>2]:0;h=C[C[a+2988>>2]+40>>2];e=(h|0)/256|0;m=(I(h,6e3)|0)/2048|0;a:{if((i|0)<=0){break a}b=C[f+52>>2];j=b+I(i,48)|0;n=h+255>>>0<511?1:e;k=C[(I(d,1468)+a|0)+68>>2];d=b;while(1){if((k|0)==A[d+1|0]){l=B[d+2>>1];a=b;while(1){b:{if((k|0)!=(0-A[a+1|0]|0)){break b}h=B[a+2>>1];if((h|0)<=(l|0)){break b}f=B[d+6>>1];e=B[a+6>>1];g=(e|0)>(f|0)?f:e;f=B[d+4>>1];e=B[a+4>>1];f=g-((e|0)<(f|0)?f:e)|0;if((f|0)<(n|0)){break b}e=h-l|0;g=e;c:{if(!c){break c}e=(e<<10)/(c|0)|0;g=32e3;if((e|0)>11024){break c}g=0;if((e|0)<1025){break c}e=e-1024|0;g=(I(e,e)>>>0)/3e3|0}e=g+((m|0)/(f|0)|0)|0;if((e|0)>2]){C[d+20>>2]=a;C[d+32>>2]=e}if((e|0)>=C[a+32>>2]){break b}C[a+20>>2]=d;C[a+32>>2]=e}a=a+48|0;if(j>>>0>a>>>0){continue}break}}d=d+48|0;if(j>>>0>d>>>0){continue}break}if((i|0)<=0){break a}while(1){a=C[b+20>>2];if(!(!a|C[a+20>>2]==(b|0))){C[b+20>>2]=0;C[b+24>>2]=C[a+20>>2]}b=b+48|0;if(j>>>0>b>>>0){continue}break}}}function mM(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,k=0,l=0,m=0,n=0,o=0;g=C[a+748>>2];a:{if(!g){break a}d=C[a+744>>2];if((d|0)<10){break a}e=C[a+740>>2];i=e+d|0;d=e+4|0;f=e+10|0;j=b<<16|c;m=C[a+752>>2];h=1;while(1){b=(D[d+3|0]|D[d+2|0]<<8)+d|0;b=b>>>0>i>>>0?i:b;b:{if(!(h&m)){break b}e=d+14|0;if(D[d+4|0]|b>>>0>>0){break b}n=D[d+5|0];c=b-e|0;f=D[d+7|0]|D[f|0]<<8;c=(c|0)<(I(f,6)|0)?(c|0)/6|0:f;c:{if(C[a+756>>2]&h){if(!c){break b}o=d+18|0;e=0;while(1){k=c+e>>>1|0;f=I(k,6)+o|0;d=f-4|0;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)!=(j|0)){d=d>>>0>>0;e=d?k+1|0:e;c=d?c:k;if(e>>>0>>0){continue}break b}break}c=f+1|0;break c}if(!c){break b}while(1){d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))!=(j|0)){e=e+6|0;c=c-1|0;if(c){continue}break b}break}f=e+4|0;c=e+5|0}l=((D[c|0]|D[f|0]<<8)<<16>>16)+(n&8?0:l)|0}g=g-1|0;if(!g){break a}h=h<<1;d=b;f=d+6|0;if(i>>>0>=f>>>0){continue}break}}return l|0}function mu(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{e=C[a+4>>2];if((e|0)>=0){g=C[a+8>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=178956969){g=lf(C[a+12>>2],I(e,24));if(g){break c}}C[a+4>>2]=-1}d=C[21157];C[104432]=C[21156];C[104433]=d;d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;h=417712;break a}C[a+4>>2]=e;C[a+12>>2]=g;g=C[a+8>>2]}if(f>>>0>g>>>0){We(C[a+12>>2]+I(g,24)|0,0,I(f-g|0,24))}C[a+8>>2]=f;g=C[a+12>>2];e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;f=(g+I(f,24)|0)-24|0;h=417712;if((f|0)==417712){break a}e=C[d+4>>2];C[f>>2]=C[d>>2];C[f+4>>2]=e;e=C[d+20>>2];C[f+16>>2]=C[d+16>>2];C[f+20>>2]=e;e=C[d+12>>2];C[f+8>>2]=C[d+8>>2];C[f+12>>2]=e;h=f}e=h;C[e>>2]=b;f=C[c+12>>2];d=C[c+4>>2];g=C[c>>2];b=C[a>>2];C[e+12>>2]=0;C[e+4>>2]=b+g;e=d-b|0;d=d>>>0>=e>>>0?e:0;b=f-b|0;C[h+8>>2]=b>>>0>d>>>0?d:b;C[a>>2]=C[c+12>>2]}function lh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=a;e=Ce-208|0;Ce=e;C[e+8>>2]=1;C[e+12>>2]=0;i=I(b,c);a:{if(!i){break a}C[e+16>>2]=c;C[e+20>>2]=c;j=0-c|0;a=c;f=a;g=2;while(1){b=a;a=(c+f|0)+a|0;C[(e+16|0)+(g<<2)>>2]=a;g=g+1|0;f=b;if(a>>>0>>0){continue}break}b=(h+i|0)+j|0;b:{if(b>>>0<=h>>>0){g=0;a=1;b=0;break b}g=1;a=1;while(1){c:{if((g&3)==3){uo(h,c,d,a,e+16|0);nm(e+8|0,2);a=a+2|0;break c}f=a-1|0;d:{if(F[(e+16|0)+(f<<2)>>2]>=b-h>>>0){mm(h,c,d,e+8|0,a,0,e+16|0);break d}uo(h,c,d,a,e+16|0)}if((a|0)==1){lm(e+8|0,1);a=0;break c}lm(e+8|0,f);a=1}f=C[e+8>>2];g=f|1;C[e+8>>2]=g;h=c+h|0;if(b>>>0>h>>>0){continue}break}g=f>>>0>1;b=C[e+12>>2]!=0}mm(h,c,d,e+8|0,a,0,e+16|0);if(!(g|(a|0)!=1|b)){break a}while(1){e:{if((a|0)<=1){f=e+8|0;b=Su(f);nm(f,b);g=C[e+8>>2];a=a+b|0;break e}f=e+8|0;lm(f,2);C[e+8>>2]=C[e+8>>2]^7;nm(f,1);k=h+j|0;i=e+16|0;b=a-2|0;mm(k-C[i+(b<<2)>>2]|0,c,d,f,a-1|0,1,i);lm(f,1);g=C[e+8>>2]|1;C[e+8>>2]=g;mm(k,c,d,f,b,1,i);a=b}h=h+j|0;if(C[e+12>>2]|((a|0)!=1|(g|0)!=1)){continue}break}}Ce=e+208|0}function Zl(a,b){var c=0;c=Ce-240|0;Ce=c;a:{b:{switch(b+138|0){case 137:C[c+20>>2]=26817;C[c+16>>2]=a;Qe(8814,c+16|0);break a;case 136:C[c+36>>2]=26371;C[c+32>>2]=a;Qe(8814,c+32|0);break a;case 135:C[c+52>>2]=27047;C[c+48>>2]=a;Qe(8814,c+48|0);break a;case 10:C[c+68>>2]=28275;C[c+64>>2]=a;Qe(8814,c- -64|0);break a;case 9:C[c+84>>2]=23500;C[c+80>>2]=a;Qe(8814,c+80|0);break a;case 8:C[c+100>>2]=25661;C[c+96>>2]=a;Qe(8814,c+96|0);break a;case 7:C[c+116>>2]=25849;C[c+112>>2]=a;Qe(8814,c+112|0);break a;case 6:C[c+132>>2]=24233;C[c+128>>2]=a;Qe(8814,c+128|0);break a;case 5:C[c+148>>2]=24743;C[c+144>>2]=a;Qe(8814,c+144|0);break a;case 4:C[c+164>>2]=25474;C[c+160>>2]=a;Qe(8814,c+160|0);break a;case 3:C[c+180>>2]=24988;C[c+176>>2]=a;Qe(8814,c+176|0);break a;case 2:C[c+196>>2]=23675;C[c+192>>2]=a;Qe(8814,c+192|0);break a;case 1:C[c+212>>2]=25868;C[c+208>>2]=a;Qe(8814,c+208|0);break a;case 0:C[c+228>>2]=25880;C[c+224>>2]=a;Qe(8814,c+224|0);break a;default:break b}}C[c+4>>2]=b;C[c>>2]=a;Qe(34577,c)}Ce=c+240|0}function Qs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Ce-16|0;Ce=h;a:{b:{c:{d:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=D[a+2|0]|D[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=84608}c=C[b+100>>2];f=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((f|0)==-1){break a}d=84608;c=D[a+4|0]|D[a+5|0]<<8;c=f>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:((f<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=C[11633];C[h+8>>2]=C[11632];C[h+12>>2]=a;d=On(d,b,h+8|0);break a}d=et(a,b);break a}g=Ce-272|0;Ce=g;d=D[a+6|0]|D[a+7|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=84608}c=C[b+100>>2];d=0;e:{if((zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2])|0)==-1){break e}c=D[a+2|0]|D[a+3|0]<<8;e=D[a+4|0]|D[a+5|0]<<8;C[g+268>>2]=0;i=(c<<8|c>>>8)&65535;d=0;if(!Ck(b,i,a+8|0,166,a,g+268|0,g,0)){break e}f=C[g+268>>2];if(f>>>0>=2){d=C[b+100>>2];c=C[d+76>>2];Sf(d,c,c+f|0)}d=Xl(b,i,g,(e<<8|e>>>8)&65535,(a+6|0)+(i<<1)|0,f)}Ce=g+272|0}Ce=h+16|0;return d}function Ot(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{if((b|0)!=1196445523){g=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;g=F[a+16>>2]<10?84608:C[a+12>>2]}a=84608;b=84608;h=D[g+4|0]|D[g+5|0]<<8;if(h){b=((h<<8|h>>>8)&65535)+g|0}i=(I(c,6)+b|0)+2|0;h=c;c=D[b|0]|D[b+1|0]<<8;c=h>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:i;c=D[c+4|0]|D[c+5|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+b|0}c:{if((d|0)==65535){b=D[a|0]|D[a+1|0]<<8;c=84992;if(!b){break c}c=((b<<8|b>>>8)&65535)+a|0;break c}b=D[a+2|0]|D[a+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=d>>>0?84608:(I(d,6)+a|0)+4|0;b=D[b+4|0]|D[b+5|0]<<8;c=84992;if(!b){break c}c=((b<<8|b>>>8)&65535)+a|0}a=D[c+2|0]|D[c+3|0]<<8;b=a<<8|a>>>8;c=b&65535;if(e){C[e>>2]=c}if(f){if((a|0)==65535){a=0}else{d=84608;a=D[g+6|0]|D[g+7|0]<<8;if(a){d=((a<<8|a>>>8)&65535)+g|0}a=D[d|0]|D[d+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=(b&65535)>>>0?84608:(I(c,6)+d|0)+2|0;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}C[f>>2]=a}}function hD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+36>>2];h=C[a+16>>2];e=C[a+24>>2];i=e&7;j=(e+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];b:while(1){f=f-1|0;e=j;c:{d:{switch(i-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:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=1;continue;case 1:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=2;continue;case 2:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=3;continue;case 3:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=4;continue;case 4:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=5;continue;case 5:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=6;continue;case 6:B[a>>1]=E[(D[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=7;continue;default:break e}}B[a>>1]=E[(D[b|0]<<1)+d>>1];c=e-1|0;a=a+2|0;b=b+1|0;f:{if((e|0)>1){e=c;break f}a=a+g|0;b=b+h|0;if(f){continue b}break a}c=0;continue}}}}function sM(a,b){a=a|0;b=b|0;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;f=Ce-16|0;Ce=f;e=Fe[C[a+508>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=C[f+12>>2];if(c>>>0<4){break a}e=eh(b,c,a+740|0);if(e){break a}c=C[f+12>>2];C[a+744>>2]=c;e=0;d=C[a+740>>2];b=D[d+2|0]<<8|D[d+3|0];j=b>>>0>=32?32:b;b:{if(!j){break b}h=c+d|0;k=d+4|0;while(1){b=k;if(b+6>>>0>h>>>0){break b}c=D[b+3|0]|D[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;k=c>>>0>h>>>0?h:c;c:{if((D[b+5|0]&247|D[b+4|0]<<8)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}C[a+756>>2]=n;C[a+752>>2]=m;C[a+748>>2]=g}Ce=f+16|0;return e|0}function UE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0),k=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];i=G[c+20>>2];j=G[c+16>>2];k=J(G[c+8>>2]*J(.16099999845027924));G[d>>2]=J(g*J(.09200000017881393))+J(J(h*J(.20800000429153442))+J(J(i*J(.11900000274181366))+J(J(j*J(.1940000057220459))+J(J(G[c>>2]*J(.22699999809265137))+k))));G[d+4>>2]=J(g*J(.20800000429153442))+J(J(h*J(.09200000017881393))+J(J(i*J(.1940000057220459))+J(J(j*J(.11900000274181366))+J(J(G[c+4>>2]*J(.22699999809265137))+k))));G[d+8>>2]=G[c+12>>2];d=d+12|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function YG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=C[a+12>>2];C[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Fe[C[e+36>>2]](e,b,c,d,C[e+68>>2])|0){break a}}if(D[C[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}C[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}C[d>>2]=64287;break b}C[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}C[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}C[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){C[d>>2]=C[(a<<2)+50704>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:C[d>>2]=64300;break b;case 1:break d;default:break a}}C[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:C[d>>2]=64332;break b;case 10:C[d>>2]=64333;break b;case 19:break e;default:break a}}C[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}C[d>>2]=64298;break b}C[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}C[d>>2]=64299;break b}C[d>>2]=64301}f=1}return f|0}function gx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=C[b>>2];f=C[b+8>>2];d=C[a>>2];a:{if(!d){break a}b=C[a+8>>2];e=d&3;b:{if(!e){c=d;break b}c=d;while(1){C[b+24>>2]=-1;C[b+16>>2]=C[b+16>>2]&-5;b=b+28|0;c=c-1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}if(d>>>0<4){break a}while(1){C[b+24>>2]=-1;C[b+52>>2]=-1;C[b+80>>2]=-1;C[b+108>>2]=-1;C[b+16>>2]=C[b+16>>2]&-5;C[b+44>>2]=C[b+44>>2]&-5;C[b+72>>2]=C[b+72>>2]&-5;C[b+100>>2]=C[b+100>>2]&-5;b=b+112|0;c=c-4|0;if(c){continue}break}}if(!h){C[a+4>>2]=0;return}b=0;i=0;c=0;while(1){if(!b){i=D[f|0];f=f+1|0;b=128}c:{if(!(b&i)){break c}j=C[a+8>>2]+I(c,28)|0;e=C[j+16>>2];if(e&4){break c}C[j+16>>2]=e|4;if(d>>>0<=g>>>0){break c}C[C[a+12>>2]+(g<<2)>>2]=j;g=g+1|0}b=b>>>1|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}C[a+4>>2]=g;if((g|0)>=2){f=C[a+12>>2];d=1;while(1){h=C[f+(d<<2)>>2];j=C[h>>2];b=d;while(1){a=b-1|0;e=f+(a<<2)|0;c=C[e>>2];if((j|0)<=C[c>>2]){C[f+(b<<2)>>2]=c;C[e>>2]=h;c=(b|0)>1;b=a;if(c){continue}}break}d=d+1|0;if((g|0)!=(d|0)){continue}break}}} +function th(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Ce-32|0;Ce=g;h=a+136|0;if(F[$g(h)+4>>2]<=b>>>0){b=0}else{C[g+24>>2]=d;C[g+20>>2]=c;C[g+16>>2]=a;C[g+12>>2]=0;A[g+28|0]=(e|0)!=0;e=84608;a=84608;c=C[$g(h)>>2];c=c?c:84608;c=F[c+16>>2]<10?84608:C[c+12>>2];d=D[c+8|0]|D[c+9|0]<<8;if(d){a=c+((d<<8|d>>>8)&65535)|0}c=D[a|0]|D[a+1|0]<<8;a:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+a|0;c=D[c+2|0]|D[c+3|0]<<8;if(!c){break a}e=((c<<8|c>>>8)&65535)+a|0}a=C[$g(h)+8>>2]+I(b,24)|0;b=0;d=g+12|0;b:{if(!C[d+12>>2]){break b}c=C[C[d+8>>2]>>2];if(!(C[a>>2]>>>(c>>>4)&1)|!(C[a+4>>2]>>>c&1)|!(C[a+8>>2]>>>(c>>>9)&1)){break b}a=D[e+4|0]|D[e+5|0]<<8;if(!a){break b}b=D[e|0]|D[e+1|0]<<8;i=(b<<8|b>>>8)&65535;c=e+4|0;h=(a<<8|a>>>8)&65535;j=h>>>0<=1?1:h;a=0;b=1;while(1){f=D[c|0]|D[c+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=a>>>0?84608:(c+(a<<1)|0)+2|0;f=D[f|0]|D[f+1|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=84608}if(Ht(f,d,i)){break b}a=a+1|0;b=h>>>0>a>>>0;if((a|0)!=(j|0)){continue}break}}}Ce=g+32|0;return b}function CF(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(g>>>0<12){break a}d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=(g>>>0)/12|0;b:{if(!(f&1)){c=d;break b}e=J(G[d+8>>2]*J(.20000000298023224));G[d>>2]=J(G[d>>2]*J(.800000011920929))+e;G[d+4>>2]=J(G[d+4>>2]*J(.800000011920929))+e;c=d+8|0;d=d+12|0;f=f-1|0}if(g-12>>>0<12){break a}while(1){e=J(G[d+8>>2]*J(.20000000298023224));G[c>>2]=J(G[d>>2]*J(.800000011920929))+e;G[c+4>>2]=J(G[d+4>>2]*J(.800000011920929))+e;e=J(G[d+20>>2]*J(.20000000298023224));G[c+8>>2]=J(G[d+12>>2]*J(.800000011920929))+e;G[c+12>>2]=J(G[d+16>>2]*J(.800000011920929))+e;c=c+16|0;d=d+24|0;f=f-2|0;if(f){continue}break}}c=(g|0)/3<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function gq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=D[C[a>>2]+192|0];C[g>>2]=0;C[f>>2]=0;if(D[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=C[a+4>>2];h=I(h>>16,b>>16);b=d-b|0;C[j+16>>2]=C[j+16>>2]+(h-I(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=C[a+11688>>2];if((e|0)>b<<1){C[f>>2]=c;a=C[a+11692>>2];break a}k=f,l=Te(45875,c),C[k>>2]=l;a=Te(19661,C[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=C[a+11688>>2];if((0-e|0)>b<<1){C[f>>2]=0-c;a=C[a+11692>>2];break a}k=f,l=Te(-45874,c),C[k>>2]=l;a=Te(19661,C[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){C[f>>2]=0;a=C[a+11692>>2]<<1;break a}c=C[a+11688>>2];if((e|0)>(0-(b<<1)|0)){C[f>>2]=c;a=C[a+11692>>2];break a}k=f,l=Te(45875,c),C[k>>2]=l;a=Te(111411,C[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){C[f>>2]=0;a=C[a+11692>>2]<<1;break a}c=C[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){C[f>>2]=0-c;a=C[a+11692>>2];break a}k=f,l=Te(-45874,c),C[k>>2]=l;a=Te(111411,C[a+11692>>2]);break a}C[f>>2]=0;a=0}C[g>>2]=a}}function Qo(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;C[a+772>>2]=33;Xf(a,d+8|0,8);a:{b:{b=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((f|0)>=0){b=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);C[a+372>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=a,h=Wg(0,0,0),C[g+400>>2]=h;_f(a,d+12|0,4);c=C[a+372>>2];b=c&255;if(b-123>>>0<4294967238|b-91>>>0<=5){break b}b=c>>>8&255;if(b-123>>>0<4294967238|b-91>>>0<6){break b}b=c>>>16&255;if(b-123>>>0<4294967238|b-91>>>0<6){break b}b=c>>>24|0;if(b-123>>>0<4294967238|b-91>>>0<6){break b}b=C[a+732>>2];b=b-1>>>0>=2147483646?2147483647:b;if((c|0)==1229209940){c=(I(I(C[a+344>>2],D[a+427|0]),D[a+424|0]>8?2:1)+(D[a+420|0]?6:0)|0)+1|0;e=C[a+348>>2];mT(c,0,e,0);e=Ee?2147483647:I(c,e);c=(I((e>>>0)/((c>>>0>=32566?32566:c)>>>0)|0,5)+e|0)+11|0;c=c>>>0>=2147483647?2147483647:c;b=b>>>0>c>>>0?b:c}if(b>>>0>>0){break a}C[a+772>>2]=65;Ce=d+16|0;return f}Af(a,18248);s()}Kg(a,16890);s()}Kg(a,18160);s()}function aq(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=C[C[a+4>>2]+96>>2];f=C[d+8>>2];e=C[C[d+12>>2]+68>>2];if(e){Fe[e|0](a)}b=C[a+156>>2];a:{if(!b){a=a+88|0;break a}b:{if(A[b+4|0]&1){e=C[C[a+4>>2]+100>>2];b=C[a+88>>2];if(b){Fe[C[e+8>>2]](e,b)}C[a+88>>2]=0;b=C[a+156>>2];C[b+4>>2]=C[b+4>>2]&-2;break b}C[a+88>>2]=0}e=a;a=a+156|0;if(!(D[C[d>>2]+1|0]&2)){b=C[b>>2];if(b){d=C[b>>2];c=C[b+24>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+24>>2]=0;c=C[b+28>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+28>>2]=0;c=C[b+32>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+32>>2]=0;c=C[b+40>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+40>>2]=0;c=C[b+52>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+20>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+52>>2]=0;C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+88>>2]=0;g=C[b+32>>2];c=b- -64|0;C[c>>2]=C[b+28>>2];C[c+4>>2]=g;c=C[b+40>>2];C[b+72>>2]=C[b+36>>2];C[b+76>>2]=c;c=C[b+24>>2];C[b+56>>2]=C[b+20>>2];C[b+60>>2]=c;c=C[b+48>>2];C[b+80>>2]=C[b+44>>2];C[b+84>>2]=c;if(b){Fe[C[d+8>>2]](d,b)}}b=C[e+156>>2];C[b>>2]=0}if(b){Fe[C[f+8>>2]](f,b)}}C[a>>2]=0}function hK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=C[a+100>>2];b=C[a+316>>2];if(b){d=C[a+300>>2];if((d|0)>0){b=0;while(1){e=C[a+316>>2]+(b<<3)|0;f=C[e+4>>2];if(f){d=C[f>>2];if(d){Fe[C[c+8>>2]](c,d)}C[C[e+4>>2]>>2]=0;d=C[e+4>>2];if(d){Fe[C[c+8>>2]](c,d)}C[e+4>>2]=0;d=C[a+300>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}b=C[a+316>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+316>>2]=0}b=C[a+164>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+164>>2]=0;b=C[a+168>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+168>>2]=0;b=C[a+172>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+172>>2]=0;b=C[a+176>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+176>>2]=0;b=C[a+180>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+180>>2]=0;b=C[a+304>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+300>>2]=0;C[a+304>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;b=C[a+152>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+152>>2]=0;b=C[a+156>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+20>>2]=0;C[a+24>>2]=0;C[a+156>>2]=0;b=C[a+324>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+324>>2]=0;b=C[a+328>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+328>>2]=0}}function UI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=df(1,3208);a:{b:{if(C[a+4>>2]<=0){break b}j=C[a+28>>2];c=Ye(b,1);if((c|0)<0){break b}c:{if(c){c=Ye(b,4);g=c+1|0;C[e>>2]=g;if((c|0)>=0){break c}break b}g=1;C[e>>2]=1}c=Ye(b,1);if((c|0)<0){break b}if(c){i=Ye(b,8);C[e+1156>>2]=i+1;if((i|0)<0){break b}d=C[a+4>>2];c=0;while(1){f=(c<<2)+e|0;h=Ye(b,ug(d-1|0));C[f+1160>>2]=h;d=f+2184|0;f=Ye(b,ug(C[a+4>>2]-1|0));C[d>>2]=f;if((f|0)==(h|0)|(h|f)<0){break b}d=C[a+4>>2];if((h|0)>=(d|0)|(d|0)<=(f|0)){break b}h=(c|0)>=(i|0);c=c+1|0;if(!h){continue}break}}if(Ye(b,2)){break b}d:{if((g|0)>=2){c=0;if(C[a+4>>2]<=0){break d}while(1){d=Ye(b,4);C[((c<<2)+e|0)+4>>2]=d;if((d|0)<0|(d|0)>=(g|0)){break b}c=c+1|0;if((c|0)>2]){continue}break}}if((g|0)<=0){break a}}c=0;while(1){Ye(b,8);d=(c<<2)+e|0;a=Ye(b,8);C[d+1028>>2]=a;if((a|0)<0|(a|0)>=C[j+16>>2]){break b}a=Ye(b,8);C[d+1092>>2]=a;if((a|0)<0|(a|0)>=C[j+20>>2]){break b}c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}Re(e);e=0}return e|0}function EF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=(g|0)/2<<3;a:{if(g>>>0<8){break a}d=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+h|0;f=c+g|0;if(g&8){c=e-24|0;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;G[e-28>>2]=G[f-4>>2];e=e-32|0;f=f-8|0;G[e>>2]=G[f>>2];c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){d=e-24|0;C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;G[e-28>>2]=G[f-4>>2];i=G[f-8>>2];d=e-56|0;C[d>>2]=0;C[d+4>>2]=0;G[e-32>>2]=i;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;G[e-60>>2]=G[f-12>>2];e=e+-64|0;f=f-16|0;G[e>>2]=G[f>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function wj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ce-16|0;Ce=e;i=C[b+28>>2];C[a+28>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;C[a+12>>2]=0;C[a+16>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a>>2]=b;C[a+4>>2]=C[b+8>>2];f=$f(b,e+8|0);d=C[e+8>>2];a:{b:{if(!(d|!f)){d=oh(b,e+8|0);if(C[e+8>>2]){break b}if((d-5&255)>>>0<=251){C[e+8>>2]=8;break b}A[a+12|0]=d;C[a+8>>2]=f;d=d&255;C[a+16>>2]=(C[a+4>>2]+I(d,f+1|0)|0)+3;d=ng(b,I(d,f));C[e+8>>2]=d;if(d){break b}d=jg(C[a>>2],e+12|0,D[a+12|0]);if(d){C[e+8>>2]=d;break b}c:{h=D[a+12|0];if(h){f=0;d=0;if(h>>>0>=4){k=h&252;while(1){g=f;f=f+4|0;d=d+4|0;if((k|0)!=(d|0)){continue}break}d=e+12|0;d=D[d+(g|3)|0]|(D[d+(g|2)|0]|(D[d+g|0]<<16|D[d+(g|1)|0]<<8))<<8}g=h&3;if(g){while(1){d=D[(e+12|0)+f|0]|d<<8;f=f+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}C[e+8>>2]=0;if(d){break c}}C[e+8>>2]=8;break b}d=d-1|0;C[a+20>>2]=d;d:{if(c){d=eh(b,d,a+28|0);break d}d=ng(b,d)}C[e+8>>2]=d}if(!d){break a}}b=C[a+24>>2];if(b){Fe[C[i+8>>2]](i,b)}C[a+24>>2]=0;l=C[e+8>>2]}Ce=e+16|0;return l}function io(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=E[b>>1];f=E[a>>1];a:{b:{c:{d:{a=C[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}a=0;b=0;if(d>>>0<=257){b=d<<2;c=C[b+44256>>2];h=c+42400|0;b=C[b+44260>>2]+(c^-1)|0}if(f>>>0<=257){break d}c=0;break b}a=0;g=C[c+8>>2];e=D[g|0]|D[g+1|0]<<8;e=(e<<8|e>>>8)&65535;b=0;e:{if(e>>>0<=d>>>0){break e}b=(d<<1)+g|0;b=D[b+2|0]|D[b+3|0]<<8;d=(b<<8|b>>>8)&65535;if(d>>>0<=257){b=d<<2;d=C[b+44256>>2];h=d+42400|0;b=C[b+44260>>2]+(d^-1)|0;break e}d=d-258|0;b=0;if(d>>>0>=F[c+16>>2]){break e}b=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;h=b+1|0;b=D[b|0]}if(f>>>0>>0){break c}c=0;break b}c=f<<2;a=C[c+44256>>2];c=C[c+44260>>2]+(a^-1)|0;a=a+42400|0;break b}a=(f<<1)+g|0;a=D[a+2|0]|D[a+3|0]<<8;d=(a<<8|a>>>8)&65535;if(d>>>0<=257){c=d<<2;a=C[c+44256>>2];c=C[c+44260>>2]+(a^-1)|0;a=a+42400|0;break b}a=0;d=d-258|0;if(d>>>0>=F[c+16>>2]){c=0;break b}c=C[c+24>>2]+C[C[c+20>>2]+(d<<2)>>2]|0;a=c+1|0;c=D[c|0]}if((b|0)!=(c|0)){return c-b|0}if(!b){break a}i=Jg(a,h,b)}return i}function zP(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=C[a+12>>2];g=a+4280|0;a:{b:{c:{e=C[a+4280>>2];if(e>>>0>b>>>0){e=e-b|0;f=C[a+4284>>2];if(e>>>0<=(f-a|0)-184>>>0){C[a+4280>>2]=b;C[a+4284>>2]=f-e;break c}e=0;if(bf(C[a>>2],0)){break a}C[a+12>>2]=0;C[a+16>>2]=0;C[a+4288>>2]=g;C[a+4284>>2]=g;C[a+4280>>2]=0;C[a+104>>2]=0;C[a+48>>2]=0;C[a+36>>2]=0;C[a+40>>2]=0;A[a+44|0]=0;C[a- -64>>2]=9}if(b>>>0<=e>>>0){break c}h=C[a+4284>>2];i=C[a+4288>>2]-h|0;f=b-e|0;b=f>>>0>i>>>0?i:f;C[a+4284>>2]=b+h;C[a+4280>>2]=b+e;b=f-b|0;if(b){h=a+12|0;while(1){e=0;f=b>>>0>=4096?4096:b;if(xx(h,0,f)>>>0>>0){break a}C[g>>2]=f+C[g>>2];b=b-f|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}f=a+184|0;i=a+12|0;g=C[a+4284>>2];b=C[a+4288>>2];e=0;while(1){b=b-g|0;b=b>>>0>>0?b:d;t(c+e|0,g,b);C[a+4284>>2]=b+C[a+4284>>2];C[a+4280>>2]=b+C[a+4280>>2];e=b+e|0;d=d-b|0;if(!d){break a}C[a+4284>>2]=f;h=xx(i,f,4096);g=C[a+4284>>2];b=h+g|0;C[a+4288>>2]=b;if(h){continue}break}}return e|0}function Vm(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+80>>2];if(b){Fe[b|0](C[a+12>>2])}b=C[a+84>>2];if(b){Fe[b|0](C[a+16>>2])}b=C[a+88>>2];if(b){Fe[b|0](C[a+20>>2])}b=C[a+92>>2];if(b){Fe[b|0](C[a+24>>2])}b=C[a+96>>2];if(b){Fe[b|0](C[a+28>>2])}b=C[a+100>>2];if(b){Fe[b|0](C[a+32>>2])}b=C[a+104>>2];if(b){Fe[b|0](C[a+36>>2])}b=C[a+108>>2];if(b){Fe[b|0](C[a+40>>2])}b=C[a+112>>2];if(b){Fe[b|0](C[a+44>>2])}b=C[a+116>>2];if(b){Fe[b|0](C[a+48>>2])}b=C[a+120>>2];if(b){Fe[b|0](C[a+52>>2])}b=C[a+124>>2];if(b){Fe[b|0](C[a+56>>2])}b=C[a+128>>2];if(b){Fe[b|0](C[a+60>>2])}b=C[a+132>>2];if(b){Fe[b|0](C[a- -64>>2])}b=C[a+136>>2];if(b){Fe[b|0](C[a+68>>2])}b=C[a+140>>2];if(b){Fe[b|0](C[a+72>>2])}b=C[a+144>>2];if(b){Fe[b|0](C[a+76>>2])}Re(a)}}function Em(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ce-16|0;Ce=i;g=C[a+12>>2];if(g){C[(C[a+20>>2]+(g<<4)|0)-4>>2]=e}a:{b:{c:{e=g+1|0;h=C[a+16>>2];if(e>>>0>h>>>0){C[i+4>>2]=0;j=(g&-8)+8|0;g=Ve(f,16,h,j,C[a+20>>2],i+4|0);C[a+20>>2]=g;h=C[i+4>>2];if(h){break a}C[a+16>>2]=j;h=((e<<4)+g|0)-16|0;C[h+12>>2]=0;C[h>>2]=0;C[a+12>>2]=e;break c}g=C[a+20>>2];j=(g+(e<<4)|0)-16|0;C[j+12>>2]=0;C[j>>2]=0;C[a+12>>2]=e;if(e){break c}if(!h){C[i+8>>2]=0;g=Ve(f,16,0,8,g,i+8|0);C[a+20>>2]=g;h=C[i+8>>2];if(h){break a}C[a+16>>2]=8}C[g+12>>2]=0;C[g>>2]=0;C[a+12>>2]=1;break b}g=((e<<4)+g|0)-16|0}a=C[g+4>>2];C[i+12>>2]=0;e=d+7>>>3|0;a=a+7>>>3|0;d:{if(e>>>0<=a>>>0){e=C[g+8>>2];break d}h=a;a=e+7&1073741816;e=Ve(f,1,h,a,C[g+8>>2],i+12|0);C[g+8>>2]=e;h=C[i+12>>2];if(h){break a}C[g+4>>2]=a<<3}C[g>>2]=d;h=0;if(!d){break a}f=(c>>>3|0)+b|0;g=128>>>(c&7)|0;a=128;while(1){b=D[e|0];A[e|0]=D[f|0]&g?b|a:b&(a^-1);b=a>>>0<2;a=b?128:a>>1;c=g>>>0<2;g=c?128:g>>>1|0;e=b+e|0;f=c+f|0;d=d-1|0;if(d){continue}break}}Ce=i+16|0;return h}function Kn(a,b,c,d,e,f,g){var h=0,i=0,j=J(0),k=0,l=0,m=J(0);h=Ce-16|0;Ce=h;k=84608;l=((c<<2)+a|0)+2|0;i=c;c=D[a|0]|D[a+1|0]<<8;c=i>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:l;i=D[c|0]|D[c+1|0]<<8;i=(i<<8|i>>>8)&65535;c=D[c+2|0]|D[c+3|0]<<8;if(c){k=((c<<8|c>>>8)&65535)+a|0}c=0;a:{if(f>>>0<=i>>>0){break a}a=D[e|0]|D[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=i+I(d,f)|0;a=(a|0)<0?84608:((a<<1)+e|0)+2|0;a=D[a|0]|D[a+1|0]<<8;if(!a){break a}a=((a<<8|a>>>8)&65535)+e|0;d=C[b+100>>2];e=C[d+76>>2];if(e-g>>>0>=2){Sf(d,g,e);e=C[d+76>>2]}Ul(k,b,C[C[d+92>>2]+I(e,20)>>2],h+12|0,h+8|0);Ul(a,b,C[C[d+92>>2]+I(g,20)>>2],h+4|0,h);a=C[d+100>>2]+I(C[d+76>>2],20)|0;j=J(O(J(J(G[h+4>>2]-G[h+12>>2])+J(.5))));b:{if(J(K(j))>2]=b;j=G[h+8>>2];m=G[h>>2];c=1;A[a+18|0]=1;j=J(O(J(J(m-j)+J(.5))));c:{if(J(K(j))>2]=b;B[a+16>>1]=g-C[d+76>>2];C[d+36>>2]=C[d+36>>2]|8;C[d+76>>2]=C[d+76>>2]+1}Ce=h+16|0;return c}function pt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}e=C[b+12>>2]-6|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(!c){break a}f=a+6|0;if(f>>>0>d>>>0){break a}g=d-f|0;d=(c<<8|c>>>8)&65535;c=d<<1;if(g>>>0>>0){break a}e=e-c|0;C[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;e=0;while(1){d=f+(e<<1)|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=C[b+12>>2]-2|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}d=D[a+4|0]|D[a+5|0]<<8;if(!d){return 1}a=D[a+2|0]|D[a+3|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;if(a>>>0>2]){break a}f=C[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=C[b+12>>2]-a|0;C[b+12>>2]=a;h=(a|0)>0}return h}function gp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=J(0);if((b|0)>0){o=G[e+1108>>2];while(1){e=I(f,56)+a|0;m=C[e+28>>2];n=C[e+52>>2];j=+J(J(o*J(n+m|0))/J(m+1|0))+1;h=h+(+(m|0)*j+ +(n|0));i=i+(+C[e+24>>2]*j+ +C[e+48>>2]);k=k+(+C[e+16>>2]*j+ +C[e+40>>2]);l=l+(+C[e+12>>2]*j+ +C[e+36>>2]);g=g+(+C[e+8>>2]*j+ +C[e+32>>2]);f=f+1|0;if((f|0)!=(b|0)){continue}break}}e=C[a>>2];f=C[c>>2];if((f|0)>=0){h=h+1;l=l+ +(f|0);i=i+ +(I(e,f)|0);k=k+ +(I(e,e)|0);g=g+ +(e|0)}a=C[(I(b,56)+a|0)-52>>2];b=C[d>>2];if((b|0)>=0){h=h+1;l=l+ +(b|0);i=i+ +(I(a,b)|0);k=k+ +(I(a,a)|0);g=g+ +(a|0)}j=h*k-g*g;a:{b:{if(j>0){h=(h*i+l*-g)/j;g=(l*k-g*i)/j;i=pT(h*+(e|0)+g);c:{if(K(i)<2147483648){b=~~i;break c}b=-2147483648}C[c>>2]=b;g=pT(h*+(a|0)+g);d:{if(K(g)<2147483648){e=~~g;break d}e=-2147483648}C[d>>2]=e;f=C[c>>2];if((f|0)>=1024){f=1023;C[c>>2]=1023;e=C[d>>2]}if((e|0)>=1024){C[d>>2]=1023;f=C[c>>2];e=1023}if((f|0)<0){C[c>>2]=0;e=C[d>>2]}f=0;if((e|0)<0){break b}break a}C[c>>2]=0;f=1}C[d>>2]=0}return f}function Ls(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=df(1,40);if(e){f=C[a+44>>2];k=f-1|0;j=C[a+48>>2];b=C[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=C[I(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(C[(I(d,36)+j|0)+28>>2]){break b}}a=0}A[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=C[b+46672>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=I(b,36)+j|0;i=C[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=C[h+28>>2]}C[g>>2]=a;g=D[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=I(b,36)+j|0;i=C[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=A[h+32|0]&1}A[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}A[e+36|0]=a;return e|0}function vr(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,o=0,p=0;h=C[a+28>>2];if(h){j=C[a+24>>2];k=j-1|0;i=b^-1;g=I(b,65537);l=g^-1;d=C[a>>2];c=C[a+20>>2];o=C[a+36>>2]&-2;m=C[a+16>>2]>>1;p=m-1<<1;while(1){h=h-1|0;a:{if((c^d)&2){if(c&2){a=E[d>>1];e=E[c>>1];B[c>>1]=((a&b)+(e&b)>>>1|0)+(a&(e&i));d=d+2|0;c=c+2|0;a=k}else{a=j}e=a;a=d+2|0;d=C[d-2>>2];if((e|0)>=2){while(1){f=d>>>16|0;d=C[a>>2];f=f|d<<16;n=C[c>>2];C[c>>2]=(((f&g)>>>1)+((n&g)>>>1)|0)+(f&(l&n));a=a+4|0;c=c+4|0;f=e>>>0>3;e=e-2|0;if(f){continue}break}}if(e){e=E[c>>1];d=d>>>16|0;B[c>>1]=((e&b)+(d&b)>>>1|0)+(e&(d&i));c=c+2|0;a=a+2|0}d=a+p|0;break a}if(d&2){a=E[d>>1];e=E[c>>1];B[c>>1]=((a&b)+(e&b)>>>1|0)+(a&(e&i));c=c+2|0;d=d+2|0;a=k}else{a=j}if((a|0)>=2){while(1){e=C[c>>2];f=C[d>>2];C[c>>2]=(((e&g)>>>1)+((f&g)>>>1)|0)+(e&(f&l));c=c+4|0;d=d+4|0;e=a>>>0>3;a=a-2|0;if(e){continue}break}}if(a){a=E[d>>1];e=E[c>>1];B[c>>1]=((a&b)+(e&b)>>>1|0)+(a&(e&i));c=c+2|0;d=d+2|0}d=d+(m<<1)|0}c=c+o|0;if(h){continue}break}}}function qo(a,b,c,d){var e=0,f=0,g=0,h=0;g=Ce-32|0;Ce=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){f=c+1073741824|0;e=e+1|0;f=e?f:f+1|0;break a}f=c+1073741824|0;if(a|(b|0)!=134217728){break a}a=e&1;e=a+e|0;f=a>>>0>e>>>0?f+1|0:f;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){a=d<<4|c>>>28;e=c<<4|b>>>28;f=a&524287|2146959360;break a}e=0;f=2146435072;if(h>>>0>1140785151){break a}f=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Hg(g+16|0,a,b,c,e,h-15233|0);ej(g,a,b,c,e,15361-h|0);b=C[g+8>>2];e=b<<4;b=C[g+12>>2]<<4|b>>>28;c=C[g>>2];f=C[g+4>>2];h=f;e=f>>>28|e;f=b;a=h&268435455;b=c|(C[g+16>>2]|C[g+24>>2]|(C[g+20>>2]|C[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){e=e+1|0;f=e?f:f+1|0;break a}if(b|(a|0)!=134217728){break a}a=e;e=e+(e&1)|0;f=a>>>0>e>>>0?f+1|0:f}Ce=g+32|0;l(0,e|0);l(1,d&-2147483648|f);return+n()}function lK(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,j=0,k=J(0),l=0,m=0;h=C[b+44>>2];a:{if(h){break a}while(1){i=C[b>>2];if(!i){h=84608;break a}h=df(1,20);if(!h){h=84608;C[b+44>>2]=84608;break a}fp(h,i);if(!C[b+44>>2]){C[b+44>>2]=h;break a}Ue(C[h+12>>2]);C[h+12>>2]=0;Ue(C[h+16>>2]);Re(h);h=C[b+44>>2];if(!h){continue}break}}if(c){while(1){j=C[h>>2];i=C[d>>2];b:{if(j>>>0<=i>>>0){b=0;if(j){break b}b=C[h+8>>2];break b}b=C[h+12>>2];j=C[(b?b:84608)+12>>2];b=C[h+4>>2]-1|0;b=b>>>0>i>>>0?i:b;b=(b|0)<0?84608:j+(b<<2)|0;b=D[b|0]|D[b+1|0]<<8;j=b<<8|b>>>8;b=j&65535;if(!C[a+60>>2]){break b}b=C[h+16>>2];b=b?b:84608;l=C[b+16>>2];if(l){k=J(J(O(J(Tv(l>>>0<20?84608:C[b+12>>2],i,a)+J(.5))))+J((j&65535)>>>0));if(k=J(0)){b=~~k>>>0;break b}b=0;break b}b=uw(a,i,1)}b=0-b<<16>>16;i=mT(C[a+40>>2],C[a+44>>2],b,b>>31);b=Ee;i=i+32768|0;C[f>>2]=((i>>>0<32768?b+1|0:b)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}}function TE(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0),i=J(0),j=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=32){g=f>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){h=G[c+28>>2];i=G[c+24>>2];e=J(G[c+12>>2]*J(.03448275849223137));j=J(G[c+8>>2]*J(.3292413651943207));G[d>>2]=J(i*J(.16993103921413422))+J(e+J(J(G[c>>2]*J(.46634483337402344))+j));G[d+4>>2]=J(h*J(.16993103921413422))+J(e+J(J(G[c+4>>2]*J(.46634483337402344))+j));G[d+8>>2]=J(i*J(.4335172474384308))+J(e+J(G[c+16>>2]*J(.46634483337402344)));G[d+12>>2]=J(h*J(.4335172474384308))+J(e+J(G[c+20>>2]*J(.46634483337402344)));d=d+16|0;c=c+32|0;g=g-1|0;if(g){continue}break}}c=(f|0)/8<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function KF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=h<<3;a:{if(h>>>0<4){break a}d=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=e-24|0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;G[e-28>>2]=f;e=e-32|0;G[e>>2]=f;c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){f=G[g-4>>2];d=e-24|0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-28>>2]=f;G[e-32>>2]=f;g=g-8|0;f=G[g>>2];d=e-56|0;C[d+16>>2]=0;C[d+20>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-60>>2]=f;e=e+-64|0;G[e>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function BK(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,j=0,k=J(0),l=0,m=0;h=C[b+16>>2];a:{if(h){break a}while(1){i=C[b>>2];if(!i){h=84608;break a}h=df(1,20);if(!h){h=84608;C[b+16>>2]=84608;break a}Vv(h,i);if(!C[b+16>>2]){C[b+16>>2]=h;break a}Ue(C[h+12>>2]);C[h+12>>2]=0;Ue(C[h+16>>2]);Re(h);h=C[b+16>>2];if(!h){continue}break}}if(c){while(1){j=C[h>>2];i=C[d>>2];b:{if(j>>>0<=i>>>0){b=0;if(j){break b}b=C[h+8>>2];break b}b=C[h+12>>2];j=C[(b?b:84608)+12>>2];b=C[h+4>>2]-1|0;b=b>>>0>i>>>0?i:b;b=(b|0)<0?84608:j+(b<<2)|0;b=D[b|0]|D[b+1|0]<<8;j=b<<8|b>>>8;b=j&65535;if(!C[a+60>>2]){break b}b=C[h+16>>2];b=b?b:84608;l=C[b+16>>2];if(l){k=J(J(O(J(Tv(l>>>0<20?84608:C[b+12>>2],i,a)+J(.5))))+J((j&65535)>>>0));if(k=J(0)){b=~~k>>>0;break b}b=0;break b}b=uw(a,i,0)}b=b<<16>>16;i=mT(C[a+32>>2],C[a+36>>2],b,b>>31);b=Ee;i=i+32768|0;C[f>>2]=((i>>>0<32768?b+1|0:b)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}}function Dm(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=b<<3;f=C[a+40>>2];a:{j=C[a+52>>2];g=C[j+4>>2];b:{if((g|0)<(d|0)){break b}k=j+m|0;i=C[k+4>>2];if((i|0)>(e|0)){break b}h=g;l=C[a+4>>2];g=0-l|0;h=h&g;n=(h|0)<(e|0);c:{if((d|0)>(i|0)){g=d;break c}d=l-1|0;g=g&d+i;if(d&i&65535){d=g;break c}if(D[a+87|0]){A[a+87|0]=0;f=f-4|0}C[f>>2]=C[k>>2];d=g+l|0;f=f+4|0}if(D[a+86|0]){C[C[a+88>>2]+20>>2]=g>>C[a>>2];A[a+86|0]=0}g=n?h:e;if((g|0)<(d|0)){break b}if(F[a+36>>2]<=((g-d>>C[a>>2]<<2)+f|0)+4>>>0){break a}i=0-b|0;l=b<<3;e=j;while(1){A[a+87|0]=0;b=C[e+4>>2];d:{if((b|0)>(d|0)){h=b;b=e+l|0;k=C[b+4>>2];h=h-k|0;if((h|0)>=C[a+16>>2]){Fe[c|0](e);break d}b=C[b>>2];C[f>>2]=((I(C[e>>2]-b|0,d-k|0)|0)/(h|0)|0)+b;f=f+4|0;d=C[a+4>>2]+d|0;b=(i<<3)+e|0;break d}if((b|0)==(d|0)){A[a+87|0]=1;C[f>>2]=C[e>>2];f=f+4|0;d=C[a+4>>2]+d|0}b=(i<<3)+e|0}e=b;if(j>>>0<=e>>>0&(d|0)<=(g|0)){continue}break}j=C[a+52>>2]}C[a+40>>2]=f;C[a+52>>2]=j-m;return 0}C[a+44>>2]=98;C[a+40>>2]=f;return 1}function Ss(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=C[b+100>>2];f=D[a+2|0]|D[a+3|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}else{d=84608}f=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);a:{if((f|0)==-1){break a}d=C[c+76>>2];C[b+40>>2]=1;C[b+4>>2]=d;e=C[C[b+8>>2]+100>>2];C[b+44>>2]=C[e+80>>2];A[b+24|0]=(d|0)==C[e+76>>2]?D[(C[e+92>>2]+I(d,20)|0)+15|0]:0;C[b+12>>2]=C[b+132>>2]&-15;d=b+4|0;if(!ki(d)){break a}g=C[c+92>>2];i=C[d>>2];e=g+I(i,20)|0;if(!(D[e+12|0]&8)){break a}d=D[e+14|0];j=d&16?0:d&15;c=D[(g+I(C[c+76>>2],20)|0)+14|0];g=c&16?0:c&15;b:{if((c^d)>>>0<=31){if((g|0)==(j|0)|c>>>0<32){break b}break a}if(!g&c>>>0>=32){break b}if(j|d>>>0<32){break a}}c=D[a+4|0]|D[a+5|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=84608}d=zf(d,C[e>>2]);if((d|0)==-1){return 0}c=D[a+8|0]|D[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}h=D[a+10|0]|D[a+11|0]<<8;if(h){e=((h<<8|h>>>8)&65535)+a|0}else{e=84608}a=D[a+6|0]|D[a+7|0]<<8;h=Kn(c,b,f,d,e,(a<<8|a>>>8)&65535,i)}return h}function yC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}g=C[a+36>>2];h=C[a+16>>2];d=C[a+24>>2];i=d&7;j=(d+7|0)/8|0;d=C[a+44>>2];e=D[a+63|0]>>>D[d+31|0]<>2];a=C[a+20>>2];b:while(1){f=f-1|0;d=j;c:{d:{switch(i-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:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=1;continue;case 1:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=2;continue;case 2:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=3;continue;case 3:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=4;continue;case 4:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=5;continue;case 5:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=6;continue;case 6:B[a>>1]=E[b>>1]|e;b=b+2|0;a=a+2|0;c=7;continue;default:break e}}B[a>>1]=E[b>>1]|e;c=d-1|0;b=b+2|0;a=a+2|0;f:{if((d|0)>1){d=c;break f}a=a+g|0;b=b+h|0;if(f){continue b}break a}c=0;continue}}}}function nq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=Ce-32|0;Ce=h;a:{if(C[a+4>>2]==(c|0)){break a}i=C[a+44>>2];if(!i){break a}Nf(i);C[a+44>>2]=0}b:{c:{d:{if(C[b>>2]|C[b+4>>2]){break d}i=C[a+8>>2];j=C[b+8>>2];if((i|0)>(j|0)){break d}k=C[a+12>>2];l=C[b+12>>2];if((d|0)!=(j|0)|(k|0)>(l|0)){break d}j=1;if((e|0)==(l|0)){break c}}i=C[a+44>>2];e:{if(i){C[i+20>>2]=f;C[i+12>>2]=e;C[i+8>>2]=d;C[i+16>>2]=g;break e}Ej(c,h,h+28|0,h+24|0,h+20|0,h+16|0);d=bn(f,d,e,C[h>>2],g,C[h+28>>2],C[h+24>>2],C[h+20>>2],C[h+16>>2]);C[a+44>>2]=d;if(!d){break b}}f:{f=C[a+40>>2];if(f){break f}Ej(c,h,h+28|0,h+24|0,h+20|0,h+16|0);f=wi(0,C[a+8>>2],C[a+12>>2],C[h>>2],C[h+28>>2],C[h+24>>2],C[h+20>>2],C[h+16>>2]);C[a+40>>2]=f;if(f){break f}break b}g=C[f+16>>2];f=C[f+20>>2];k=C[a+12>>2];i=C[a+8>>2];j=0}if(j|(Zi(i,k,C[a>>2],C[a+28>>2],E[a+20>>1],c,f,g)|0)<0){break b}c=C[b+12>>2];C[h+8>>2]=C[b+8>>2];C[h+12>>2]=c;c=C[b+4>>2];C[h>>2]=C[b>>2];C[h+4>>2]=c;Bz(C[a+40>>2],h,C[a+44>>2],0)}Ce=h+32|0}function _E(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0),i=J(0),j=J(0),k=J(0),l=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=28){g=(f>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){i=G[c+24>>2];e=G[c+16>>2];j=G[c+20>>2];h=J(G[c+12>>2]*J(.04000000283122063));k=J(G[c+8>>2]*J(.32736000418663025));G[d>>2]=J(j*J(.16896000504493713))+J(h+J(J(G[c>>2]*J(.4636799991130829))+k));l=G[c+4>>2];e=J(h+J(e*J(.32736000418663025)));G[d+12>>2]=J(i*J(.4310399889945984))+e;G[d+8>>2]=J(j*J(.4310399889945984))+e;G[d+4>>2]=J(i*J(.16896000504493713))+J(h+J(J(l*J(.4636799991130829))+k));d=d+16|0;c=c+28|0;g=g-1|0;if(g){continue}break}}c=(f|0)/7<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function FF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=I((g|0)/2|0,7);a:{if(g>>>0<8){break a}d=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+h|0;f=c+g|0;if(g&8){c=e-20|0;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;G[e-24>>2]=G[f-4>>2];e=e-28|0;f=f-8|0;G[e>>2]=G[f>>2];c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){d=e-20|0;C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;G[e-24>>2]=G[f-4>>2];i=G[f-8>>2];d=e-48|0;C[d>>2]=0;C[d+4>>2]=0;G[e-28>>2]=i;C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;G[e-52>>2]=G[f-12>>2];e=e-56|0;f=f-16|0;G[e>>2]=G[f>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function os(){var a=0,b=0,c=0;if(C[104538]){qg(C[104568]);qg(C[104569]);qg(C[104570]);qg(C[104571]);qg(C[104572]);qg(C[104573]);qg(C[104574]);qg(C[104575]);qg(C[104576]);qg(C[104577]);qg(C[104578]);qg(C[104579]);qg(C[104580]);qg(C[104581]);qg(C[104582]);qg(C[104583]);a=C[104566];if(a){while(1){c=C[a+40>>2];b=C[a>>2];if(b){Fe[C[104552]](b)}b=C[a+4>>2];if((b|0)!=C[a+8>>2]){if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+8>>2]}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}C[104564]=0;C[104566]=0;a=C[104567];if(a){while(1){c=C[a+40>>2];b=C[a>>2];if(b){Fe[C[104552]](b)}b=C[a+4>>2];if((b|0)!=C[a+8>>2]){if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+8>>2]}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}C[104565]=0;C[104567]=0;Fe[C[104553]]();a=C[104561];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}mf(418152,0,120);mf(418272,0,64)}}function jC(a){a=a|0;var 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;j=C[a+28>>2];d=j-1|0;C[a+28>>2]=d;o=(C[a+4>>2]<<16)/C[a+24>>2]|0;p=(C[a+8>>2]<<16)/(j|0)|0;if(j){j=(o|0)/2|0;m=(p|0)/2|0;q=(C[a+52>>2]&240)-16>>>4|0;k=C[a+20>>2];while(1){l=C[a+24>>2];if(l){r=m>>>16|0;s=C[a>>2];d=k;g=j;while(1){c=C[(I(C[a+12>>2],r)+s|0)+(g>>>14&262140)>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;l=l-1|0;b=C[d>>2];n=b>>>24|0;e=b&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(q|0){case 0:n=255;e=h;f=i;b=c;break a;case 1:h=e+h|0;e=h>>>0>=255?255:h;i=f+i|0;f=i>>>0>=255?255:i;c=b+c|0;b=c>>>0>=255?255:c;break a;case 3:e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0;break a;case 7:break b;default:break a}}n=255;e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0}C[d>>2]=n<<24|e|f<<8|b<<16;d=d+4|0;g=g+o|0;if(l){continue}break}g=C[a+28>>2]}else{g=d}d=g-1|0;C[a+28>>2]=d;m=m+p|0;k=C[a+32>>2]+k|0;if(g){continue}break}C[a+20>>2]=k}}function by(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,o=0;f=Ce-16|0;Ce=f;o=C[a>>2];j=C[b+8>>2];g=cg(b,f+12|0);e=C[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}k=$f(b,f+12|0);e=C[f+12>>2];if(e){break c}e=ng(b,6);C[f+12>>2]=e;if(e){break c}if(!k){e=142;break c}h=-1;d:{while(1){l=cg(b,f+12|0);e=C[f+12>>2];if(e){break c}e=ng(b,4);C[f+12>>2]=e;if(e){break c}i=cg(b,f+12|0);e=C[f+12>>2];if(e){break c}g=cg(b,f+12|0);e=C[f+12>>2];if(e){break c}e:{if((l|0)!=1415139377){if((l|0)!=1128875040){break e}g=g-22|0;i=i+22|0;m=1;if((c|0)<0){break d}h=h+1|0;break e}g=g-24|0;i=i+24|0;m=0;if((c|0)<0){break d}h=h+1|0}if((c|0)==(h|0)&(c|0)>=0){break d}n=n+1|0;if((n|0)!=(k|0)){continue}break}e=142;break c}e=0;C[f+8>>2]=0;if(bf(b,i+j|0)){break a}h=hf(o,g,f+8|0);e=C[f+8>>2];if(e){break b}e=jg(b,h,g);C[f+8>>2]=e;if(e){break b}e=Zp(a,h,g,c>>31&c,m?19773:29664,d)}C[f+8>>2]=e}if((e&255)!=2){break a}a=bf(b,j);e=a?a:C[f+8>>2]}Ce=f+16|0;return e}function BP(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!b){return 1}d=a&65535;f=a>>>16|0;if(c){while(1){e=c>>>0>=5552?5552:c;c=c-e|0;a:{if(e>>>0>=16){while(1){a=D[b|0]+d|0;h=a+D[b+1|0]|0;g=h+D[b+2|0]|0;i=g+D[b+3|0]|0;j=i+D[b+4|0]|0;k=j+D[b+5|0]|0;l=k+D[b+6|0]|0;m=l+D[b+7|0]|0;n=m+D[b+8|0]|0;o=n+D[b+9|0]|0;p=o+D[b+10|0]|0;q=p+D[b+11|0]|0;r=q+D[b+12|0]|0;s=r+D[b+13|0]|0;t=s+D[b+14|0]|0;d=t+D[b+15|0]|0;f=d+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(g+(h+(a+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=e-16|0;if(e>>>0>15){continue}break}if(!e){break a}}g=0;a=b;h=e;i=e&3;if(i){while(1){h=h-1|0;d=D[a|0]+d|0;f=f+d|0;a=a+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(e-1>>>0>=3){while(1){g=D[a|0]+d|0;i=g+D[a+1|0]|0;j=i+D[a+2|0]|0;d=j+D[a+3|0]|0;f=d+((i+(f+g|0)|0)+j|0)|0;a=a+4|0;h=h-4|0;if(h){continue}break}}b=b+e|0}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0;if(c){continue}break}}return f<<16|d}function UB(a){a=a|0;var 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;b=C[a+28>>2];e=b-1|0;C[a+28>>2]=e;n=(C[a+4>>2]<<16)/C[a+24>>2]|0;o=(C[a+8>>2]<<16)/(b|0)|0;if(b){p=(n|0)/2|0;k=(o|0)/2|0;q=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];while(1){g=C[a+24>>2];if(g){r=k>>>16|0;s=C[a>>2];e=f;l=p;while(1){b=C[(I(C[a+12>>2],r)+s|0)+(l>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;g=g-1|0;c=C[e>>2];m=c>>>24|0;b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(q|0){case 0:m=255;b=j;d=i;c=h;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}m=255;b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0}C[e>>2]=m<<24|b|d<<8|c<<16;e=e+4|0;l=l+n|0;if(g){continue}break}e=C[a+28>>2]}b=e;e=b-1|0;C[a+28>>2]=e;k=k+o|0;f=C[a+32>>2]+f|0;if(b){continue}break}C[a+20>>2]=f}}function DF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(f>>>0<12){break a}d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=(f>>>0)/12|0;b:{if(!(e&1)){c=d;break b}G[d>>2]=J(G[d+8>>2]*J(.3333333432674408))+J(J(G[d>>2]*J(.3333333432674408))+J(G[d+4>>2]*J(.3333333432674408)));c=d+4|0;d=d+12|0;e=e-1|0}if(f-12>>>0<12){break a}while(1){G[c>>2]=J(G[d+8>>2]*J(.3333333432674408))+J(J(G[d>>2]*J(.3333333432674408))+J(G[d+4>>2]*J(.3333333432674408)));G[c+4>>2]=J(G[d+20>>2]*J(.3333333432674408))+J(J(G[d+12>>2]*J(.3333333432674408))+J(G[d+16>>2]*J(.3333333432674408)));c=c+8|0;d=d+24|0;e=e-2|0;if(e){continue}break}}c=(f|0)/3|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function iD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=C[a+28>>2];if(!f){break a}d=C[a+48>>2];g=C[a+36>>2];h=C[a+16>>2];e=C[a+24>>2];i=e&7;j=(e+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];b:while(1){f=f-1|0;e=j;c:{d:{switch(i-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:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=1;continue;case 1:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=2;continue;case 2:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=3;continue;case 3:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=4;continue;case 4:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=5;continue;case 5:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=6;continue;case 6:A[a|0]=D[D[b|0]+d|0];b=b+1|0;a=a+1|0;c=7;continue;default:break e}}A[a|0]=D[D[b|0]+d|0];c=e-1|0;b=b+1|0;a=a+1|0;f:{if((e|0)>1){e=c;break f}a=a+g|0;b=b+h|0;if(f){continue b}break a}c=0;continue}}}}function kh(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(!D[a+73|0]){C[a+76>>2]=b;break b}if(!D[a+72|0]){break a}c=C[a+84>>2];if(c>>>0>>0){if(F[a+88>>2]<=b>>>0){if(!aj(a,b)){break a}}c=b-c|0;b=C[a+92>>2];d=C[a+96>>2];c:{if((b|0)!=(d|0)){break c}b=C[a+84>>2];if(b+c>>>0<=c+C[a+76>>2]>>>0){b=d;break c}e=C[a+100>>2];C[a+96>>2]=e;jf(e,d,I(b,20));b=C[a+92>>2];d=C[a+96>>2]}Yf(I(C[a+84>>2],20)+d|0,I(C[a+76>>2],20)+b|0,I(c,20));C[a+76>>2]=c+C[a+76>>2];C[a+84>>2]=c+C[a+84>>2];break b}if(b>>>0>=c>>>0){break b}e=C[a+76>>2];f=c-b|0;if(e>>>0>>0){b=C[a+80>>2];c=f-e|0;g=b+c|0;if(!(!g|g>>>0>2])){if(!aj(a,g)){break a}e=C[a+76>>2];b=C[a+80>>2]}d=C[a+92>>2]+I(e,20)|0;Yf(d+I(c,20)|0,d,I(b-e|0,20));d=a;e=c+C[a+76>>2]|0;b=C[a+80>>2];if(e>>>0>b>>>0){We(C[a+92>>2]+I(b,20)|0,0,I(e-b|0,20));e=c+C[a+76>>2]|0;b=C[a+80>>2]}C[d+80>>2]=b+c;c=C[a+84>>2]}b=c-f|0;C[a+84>>2]=b;d=e-f|0;C[a+76>>2]=d;Yf(C[a+92>>2]+I(d,20)|0,C[a+96>>2]+I(b,20)|0,I(f,20))}d=1}return d}function rk(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=c?c+32|0:a+420|0;h=C[(c?c+24|0:a+424|0)>>2];a:{b:{c:{if((b|0)==10){break c}f=D[e+2|0]|(D[e|0]<<16|D[e+3|0]<<24|D[e+1|0]<<8);if((f|0)==C[a+452>>2]?C[a+524>>2]:0){break c}d:{d=C[a+444>>2];if(d){C[a+444>>2]=C[d+24>>2];C[d+24>>2]=0;break d}d=If(1,28);if(d){break d}_e(0);return 0}g=C[a+440>>2];C[(g?g+24|0:a+436|0)>>2]=d;C[a+440>>2]=d;C[d>>2]=3;C[d+4>>2]=0;A[d+8|0]=D[e|0];A[d+9|0]=D[e+1|0];A[d+10|0]=D[e+2|0];A[d+11|0]=D[e+3|0];g=Fe[C[a+24>>2]](a,d)|0;if((g|0)<0){C[d>>2]=0;return 0}C[a+524>>2]=1;C[a+452>>2]=f;if(g){break b}}if(!C[a+528>>2]){if(tk(a)){break b}}if(!C[a+532>>2]){if(Tq(a)){break b}}d=C[a+444>>2];if(d){C[a+444>>2]=C[d+24>>2];C[d+24>>2]=0;break a}d=If(1,28);if(d){break a}_e(0)}return 0}f=C[a+440>>2];C[(f?f+24|0:a+436|0)>>2]=d;C[a+440>>2]=d;C[d+4>>2]=0;C[d+8>>2]=0;C[d>>2]=b;A[d+12|0]=D[e|0];A[d+13|0]=D[e+1|0];A[d+14|0]=D[e+2|0];a=D[e+3|0];C[d+20>>2]=c;C[d+16>>2]=h;A[d+15|0]=a;return d}function vn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce+-64|0;Ce=g;a:{if(C[a+36>>2]<=(b|0)){break a}b:{c:{f=C[a+40>>2];e=f+I(b,24)|0;if(C[e+8>>2]){if(C[e+12>>2]|(E[e>>1]-32767&65535)>>>0>2){break c}d=c>>31;if(((d^c)-d|0)>8190){break c}}h=e+8|0;B[e>>1]=c;B[e+4>>1]=c;B[e+2>>1]=c;d=c;break b}h=e+12|0;i=I(b,24)+f|0;d=E[i+2>>1];if((d|0)!=(c&65535)){break b}if(!C[i+20>>2]){break a}}C[h>>2]=1;h=I(b,24)+f|0;if(!C[h+16>>2]){i=c-(d<<16>>16)|0;d=i>>31;if(((d^i)-d|0)<410){break a}C[h+16>>2]=1;d=I(b,24)+f|0;C[d+20>>2]=1;vn(a,b,B[e>>1]);C[d+20>>2]=0}d:{if(D[419540]){break d}e=C[104886];d=C[105780];if(d){d=C[d+380>>2]!=0}else{d=0}if(e|!d){break d}d=I(b,24)+f|0;if(C[d+20>>2]){break a}d=B[d+4>>1];if((d|0)<(c|0)&B[(I(b,24)+f|0)+2>>1]<=(c|0)){break a}if((c|0)>=(d|0)){break d}if(B[(I(b,24)+f|0)+2>>1]>=(c|0)){break a}}B[(I(b,24)+f|0)+2>>1]=c;if((qf(1536,-1)|0)!=1){break a}C[g+8>>2]=1536;a=C[a>>2];B[g+24>>1]=c;A[g+20|0]=b;C[g+16>>2]=a;Df(g+8|0)}Ce=g- -64|0}function dk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=C[a+40>>2];d=_o(b,C[a+36>>2]);a:{b:{c:{if((d|0)>=0){d=C[C[a+32>>2]+(d<<2)>>2];if((d|0)<0){i=d>>>15&32767;g=C[a+8>>2]-(d&32767)|0;break c}h=d-1|0;c=A[h+C[a+28>>2]|0];break b}g=C[a+8>>2]}f=_o(b,c);j=f>>>31|0;h=-1;d:{if((f|0)>=0){d=c;break d}if((c|0)<2){d=c;break d}while(1){d=c-1|0;f=_o(b,d);j=f>>>31|0;if((f|0)>=0){break d}e=c>>>0>2;c=d;if(e){continue}break}}if(j){break a}c=g-i|0;if((c|0)>=2){e=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=e>>>4&252645135|(e&252645135)<<4;e=e>>>2&858993459|(e&858993459)<<2;j=e>>>1&1431655765|(e&1431655765)<<1;e=C[a+20>>2];while(1){h=c>>>1|0;c=j>>>0>2];g=g-(c?h:0)|0;i=(c?0:h)+i|0;c=g-i|0;if((c|0)>1){continue}break}}a=A[C[a+28>>2]+i|0];g=(a|0)>(d|0);h=g?-1:i;c=g?d:a}d=C[b>>2];a=C[b+16>>2];c=C[b+4>>2]+c|0;e:{if((d|0)<=(a-(c+7>>3)|0)){a=(c|0)/8|0;C[b+12>>2]=a+C[b+12>>2];a=a+d|0;c=c&7;break e}C[b+12>>2]=0;c=1}C[b+4>>2]=c;C[b>>2]=a}return h}function up(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ce-16|0;Ce=g;a:{if(A[a+368|0]&1){i=C[a+52>>2];j=C[a+48>>2];l=E[a+46>>1];k=E[a+44>>1];h=C[a+36>>2];m=C[a+40>>2];f=a- -64|0;n=C[f+4>>2];C[g+8>>2]=C[f>>2];C[g+12>>2]=n;f=C[a+60>>2];C[g>>2]=C[a+56>>2];C[g+4>>2]=f;f=a+286|0;break a}i=C[a+88>>2];j=C[a+84>>2];l=E[a+82>>1];k=E[a+80>>1];h=C[a+72>>2];m=C[a+76>>2];f=C[a+104>>2];C[g+8>>2]=C[a+100>>2];C[g+12>>2]=f;f=C[a+96>>2];C[g>>2]=C[a+92>>2];C[g+4>>2]=f;f=a+288|0}f=E[f>>1];b:{if(f>>>0>=k>>>0){if(D[a+561|0]){C[a+12>>2]=134}B[e>>1]=0;a=1;break b}C[d+16>>2]=i;C[d+12>>2]=j;B[d+10>>1]=l;B[d+8>>1]=k;C[d>>2]=h;C[d+4>>2]=m;h=C[g+4>>2];C[d+20>>2]=C[g>>2];C[d+24>>2]=h;h=C[g+12>>2];C[d+28>>2]=C[g+8>>2];C[d+32>>2]=h;B[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Fe[C[a+572>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0;o=e,p=of(b,B[a+298>>1],C[a+564>>2]),C[o>>2]=p;o=c,p=of(b,B[a+300>>1],C[a+564>>2]),C[o>>2]=p;a=0}Ce=g+16|0;return a}function il(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(F[a+16>>2]<=b>>>0){break a}e=C[C[C[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Fe[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=C[a+88>>2];if(!a){return 36}h=d,i=of(C[d>>2],C[a+(c&16?20:16)>>2],64),C[h>>2]=i;return 0}if((e&255)!=7){break a}}e=35;b:{if(!a){break b}e=6;if(!d){break b}e=16;f=b+1|0;g=C[a+16>>2];c:{if(f>>>0>g>>>0|!f|b>>>0>=g>>>0){break c}e=C[C[C[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Fe[e|0](a,b,1,c,d)|0;if(!e){d:{if(!(c&1)){a=C[a+88>>2];e=36;if(!a){break d}b=C[a+(c&16?20:16)>>2];a=0;while(1){c=(a<<2)+d|0;h=c,i=of(C[c>>2],b,64),C[h>>2]=i;a=a+1|0;if((a|0)!=1){continue}break}}e=0}break b}if((e&255)!=7){break c}}e=7;if(c&536870912){break c}g=c|256;f=0;c=c&16?68:64;while(1){e=$h(a,b+f|0,g);if(e){break c}C[(f<<2)+d>>2]=C[c+C[a+84>>2]>>2]<<10;e=0;f=f+1|0;if((f|0)!=1){continue}break}}}}return e}function aF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0),k=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=28){f=(e>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+24>>2];h=G[c+20>>2];i=J(G[c+16>>2]*J(.17446152865886688));j=J(G[c+12>>2]*J(.07692307978868484));k=J(G[c+8>>2]*J(.17446152865886688));G[d>>2]=J(g*J(.10061538219451904))+J(J(h*J(.22615385055541992))+J(i+J(j+J(J(G[c>>2]*J(.24738462269306183))+k))));G[d+4>>2]=J(g*J(.22615385055541992))+J(J(h*J(.10061538219451904))+J(i+J(j+J(J(G[c+4>>2]*J(.24738462269306183))+k))));d=d+8|0;c=c+28|0;f=f-1|0;if(f){continue}break}}c=(e|0)/7<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Zj(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);e=j(1)|0;j(0)|0;d=e&2147483647;if(d>>>0>=1141899264){o(1.5707963267948966);e=j(1)|0;d=j(0)|0;o(+a);b=j(1)|0;j(0)|0;l(0,d|0);l(1,e&2147483647|b&-2147483648);g=+n();o(+a);b=j(1)|0;e=j(0)|0;b=b&2147483647;return(b|0)==2146435072&(e|0)!=0|b>>>0>2146435072?a:g}a:{b:{if(d>>>0<=1071382527){b=-1;if(d>>>0>=1044381696){break b}break a}a=K(a);if(d>>>0<=1072889855){if(d>>>0<=1072037887){a=(a+a+-1)/(a+2);b=0;break b}a=(a+-1)/(a+1);b=1;break b}if(d>>>0<=1073971199){a=(a+-1.5)/(a*1.5+1);b=2;break b}a=-1/a;b=3}f=a*a;c=f*f;g=c*(c*(c*(c*(c*-.036531572744216916+-.058335701337905735)+-.0769187620504483)+-.11111110405462356)+-.19999999999876483);f=f*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d>>>0<=1071382527){return a-a*(g+f)}b=b<<3;a=H[b+360144>>3]-(a*(g+f)-H[b+360176>>3]-a);a=(e|0)<0?-a:a}return a}function QE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+16>>2];h=G[c+20>>2];G[d>>2]=G[c>>2]*J(.5410000085830688);G[d+4>>2]=G[c+4>>2]*J(.5410000085830688);G[d+8>>2]=G[c+8>>2]*J(.5410000085830688);i=G[c+12>>2];G[d+16>>2]=J(g*J(.2879999876022339))+J(h*J(.2879999876022339));G[d+12>>2]=i;G[d+20>>2]=J(g*J(.45899999141693115))+J(G[c+24>>2]*J(.5410000085830688));G[d+24>>2]=J(h*J(.45899999141693115))+J(G[c+28>>2]*J(.5410000085830688));d=d+28|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,7);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function LF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=I(h,7);a:{if(h>>>0<4){break a}d=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=e-20|0;C[c+16>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;G[e-24>>2]=f;e=e-28|0;G[e>>2]=f;c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){f=G[g-4>>2];d=e-20|0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-24>>2]=f;G[e-28>>2]=f;g=g-8|0;f=G[g>>2];d=e-48|0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-52>>2]=f;e=e-56|0;G[e>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function WR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=0;d=C[b+36>>2];if(d>>>0<=222){c=C[(d<<2)+195632>>2];a:{b:{c:{if(!d){d=b+44|0;e=zq(d,4441,9);if(!zq(d,4414,10)){break c}c=e?c:271}if(c){break b}c=0;break a}c=270}d:{e:{switch(C[b+8>>2]-2|0){case 0:c=(c&-4)==224?c+4|0:c;break d;case 1:break e;default:break d}}f:{switch(c-30|0){case 9:case 43:c=98;break d;case 0:case 47:c=89;break d;case 1:case 51:c=90;break d;case 2:case 48:c=91;break d;case 3:case 50:c=92;break d;case 4:c=93;break d;case 5:case 49:c=94;break d;case 6:case 44:c=95;break d;case 7:case 52:c=96;break d;case 8:case 45:c=97;break d;case 10:c=88;break d;case 46:break f;default:break d}}c=99}c=Dl(1,(a|0)==2,c)}d=C[b+36>>2]}g=d-8|0;g:{h:{if(g>>>0>=33){f=1;if(d-112>>>0<24){break g}break h}e=g&31;f=1;if(((g&63)>>>0>=32?1>>>e|0:((1<>>e)&1|d-112>>>0<=23){break g}}f=C[b+12>>2]!=0}b=f;if((a|0)==2){c=(qf(771,-1)|0)!=1?c:b?c:0}return c|0}function SE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];i=J(G[c+8>>2]*J(.3409999907016754));G[d>>2]=J(h*J(.17599999904632568))+J(J(G[c>>2]*J(.4830000102519989))+i);G[d+4>>2]=J(g*J(.17599999904632568))+J(J(G[c+4>>2]*J(.4830000102519989))+i);G[d+8>>2]=G[c+12>>2];G[d+12>>2]=J(G[c+16>>2]*J(.4830000102519989))+J(h*J(.4490000009536743));G[d+16>>2]=J(G[c+20>>2]*J(.4830000102519989))+J(g*J(.4490000009536743));d=d+20|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,5);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function zf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=D[a|0]|D[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=D[a+2|0]|D[a+3|0]<<8;if(!c){break a}e=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c|0;f=d>>>1|0;d=e+(d&-2)|0;d=D[d|0]|D[d+1|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){a=f-1|0;break d}if((b|0)==(d|0)){break a}c=f+1|0}if((a|0)>=(c|0)){continue}break}return-1}e=84998;c=D[a+2|0]|D[a+3|0]<<8;e:{if(!c){break e}h=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;g=I(d,6)+h|0;i=D[g|0]|D[g+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=D[g+2|0]|D[g+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}e=I(d,6)+h|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=D[e+2|0]|D[e+3|0]<<8;c=(a<<8|a>>>8)&65535;a=D[e|0]|D[e+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=D[e+4|0]|D[e+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function Tv(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=d?d+a|0:84608;a:{if(D[d|0]){break a}e=D[d+2|0]|D[d+3|0]<<8;if(!e){break a}g=D[d+1|0];h=g>>>4&3;f=h+1|0;e=(e<<8|e>>>8)&65535;d=d+I(f,b>>>0>>0?b:e-1|0)|0;b=D[d+4|0];b:{if(!h){break b}b=D[d+5|0]|b<<8;if((f|0)==2){break b}b=D[d+6|0]|b<<8;if((f|0)==3){break b}b=D[d+7|0]|b<<8}d=(g&15)+1|0;b=b>>>d<<16|(-1<>>8&65280|a>>>24);a=a?d+a|0:84608;d=D[a+6|0]|D[a+7|0]<<8;e=(d<<8|d>>>8)&65535;d=b>>>16|0;if(e>>>0<=d>>>0){return J(0)}d=a+(d<<2)|0;d=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=d?d+a|0:84608;d=a;a=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return Lk(e,b&65535,C[c+64>>2],C[c+60>>2],a?d+a|0:84608)}function sC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=C[a+28>>2];d=j-1|0;C[a+28>>2]=d;n=(C[a+4>>2]<<16)/C[a+24>>2]|0;o=(C[a+8>>2]<<16)/(j|0)|0;if(j){j=(n|0)/2|0;m=(o|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;k=C[a+20>>2];while(1){l=C[a+24>>2];if(l){q=m>>>16|0;r=C[a>>2];d=k;g=j;while(1){c=C[(I(C[a+12>>2],q)+r|0)+(g>>>14&262140)>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;l=l-1|0;b=C[d>>2];e=b&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(p|0){case 0:e=h;f=i;b=c;break a;case 1:h=e+h|0;e=h>>>0>=255?255:h;i=f+i|0;f=i>>>0>=255?255:i;c=b+c|0;b=c>>>0>=255?255:c;break a;case 3:e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0;break a;case 7:break b;default:break a}}e=(I(e,h)>>>0)/255|0;f=(I(f,i)>>>0)/255|0;b=(I(b,c)>>>0)/255|0}C[d>>2]=f<<8|e|b<<16;d=d+4|0;g=g+n|0;if(l){continue}break}g=C[a+28>>2]}else{g=d}d=g-1|0;C[a+28>>2]=d;m=m+o|0;k=C[a+32>>2]+k|0;if(g){continue}break}C[a+20>>2]=k}}function kE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ce-32|0;Ce=c;d=C[a+40>>2];e=C[a+44>>2];a:{if(!(C[a- -64>>2]?0:C[a+60>>2])){b=C[a+52>>2];if(b){Hl(b)}mf(C[a+72>>2],D[a+11|0],C[a+16>>2]);b=C[a+16>>2];d=C[a+72>>2];e=D[a+10|0];a=E[a+8>>1];A[c+31|0]=0;A[c+29|0]=105;A[c+30|0]=105;C[c>>2]=d;C[c+4>>2]=(b|0)/(I(e,a>>>3&31)|0);S(386482,c+29|0,c|0)|0;break a}b:{if(C[a+52>>2]){c:{while(1){b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}f=C[a+16>>2];if((b|0)>=(f|0)){break c}Fe[e|0](C[a+48>>2],C[a+72>>2],d);if((Lj(C[a+52>>2],C[a+72>>2],d)|0)!=-1){continue}break}Hl(C[a+52>>2]);C[a+60>>2]=0;f=C[a+16>>2]}d=bj(C[a+52>>2],C[a+72>>2],f);b=C[a+16>>2];if((d|0)==(b|0)){break b}mf(C[a+72>>2],D[a+11|0],b);break b}Fe[e|0](C[a+48>>2],C[a+72>>2],d)}b=C[a+16>>2];d=C[a+72>>2];e=D[a+10|0];a=E[a+8>>1];A[c+31|0]=0;A[c+29|0]=105;A[c+30|0]=105;C[c+16>>2]=d;C[c+20>>2]=(b|0)/(I(e,a>>>3&31)|0);S(386482,c+29|0,c+16|0)|0}Ce=c+32|0}function _B(a){a=a|0;var 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;h=C[a+28>>2];d=h-1|0;C[a+28>>2]=d;n=(C[a+4>>2]<<16)/C[a+24>>2]|0;o=(C[a+8>>2]<<16)/(h|0)|0;if(h){h=(n|0)/2|0;m=(o|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;i=C[a+20>>2];while(1){j=C[a+24>>2];if(j){q=m>>>16|0;r=C[a>>2];d=i;g=h;while(1){b=C[(I(C[a+12>>2],q)+r|0)+(g>>>14&262140)>>2];k=b&255;l=b>>>8&255;b=b>>>16&255;j=j-1|0;c=C[d>>2];e=c&255;f=c>>>8&255;c=c>>>16&255;a:{b:{switch(p|0){case 0:c=b;f=l;e=k;break a;case 1:b=b+c|0;c=b>>>0>=255?255:b;b=f+l|0;f=b>>>0>=255?255:b;b=e+k|0;e=b>>>0>=255?255:b;break a;case 3:c=(I(b,c)>>>0)/255|0;f=(I(f,l)>>>0)/255|0;e=(I(e,k)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(b,c)>>>0)/255|0;f=(I(f,l)>>>0)/255|0;e=(I(e,k)>>>0)/255|0}C[d>>2]=f<<8|c<<16|e;d=d+4|0;g=g+n|0;if(j){continue}break}g=C[a+28>>2]}else{g=d}d=g-1|0;C[a+28>>2]=d;m=m+o|0;i=C[a+32>>2]+i|0;if(g){continue}break}C[a+20>>2]=i}}function gM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;d=6;a:{if(F[a+736>>2]<=b>>>0){break a}d=2;b:{c:{switch(C[a+732>>2]-1|0){case 0:case 1:a=C[a+724>>2]+I(b,48)|0;B[c>>1]=D[a+52|0];B[c+2>>1]=D[a+53|0];b=A[a+24|0]<<6;C[c+12>>2]=b;d=A[a+25|0]<<6;C[c+16>>2]=d;C[c+20>>2]=b-d;C[c+24>>2]=A[a+31|0]+(D[a+26|0]+A[a+30|0]|0)<<6;break b;case 2:break c;default:break a}}b=C[a+724>>2]+(b<<2)|0;e=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=C[a+104>>2];d=Fe[C[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break a}d=3;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(F[f+12>>2]>>0){break a}d=bf(b,e+C[b+8>>2]|0);if(d){break a}d=Cf(b,4);if(d){break a}d=Gf(b);Gf(b);xf(b);b=E[a+178>>1];B[c+2>>1]=d;B[c>>1]=d;d=d<<6;e=B[a+220>>1];C[c+12>>2]=(I(d,e)|0)/(b|0);g=B[a+222>>1];C[c+16>>2]=(I(d,g)|0)/(b|0);C[c+20>>2]=(I(d,B[a+224>>1]+(e-g|0)|0)|0)/(b|0);C[c+24>>2]=(I(d,E[a+226>>1])>>>0)/(b>>>0)}d=0}Ce=f+16|0;return d|0}function Po(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Ce+-64|0;Ce=g;c=C[a+216>>2];if(c){C[g>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Nk(g,64,4,13066);C[a+216>>2]=0}C[a+220>>2]=0;C[a+224>>2]=0;C[a+232>>2]=0;C[a+236>>2]=0;c=(C[a+612>>2]&12)!=12;A[a+432|0]=c;h=c?0:15;d=a+220|0;a:{if(D[a+208|0]&2){c=iv(d,h);break a}e=-6;b:{if(D[29503]!=49){break b}e=-2;if(!d){break b}C[d+24>>2]=0;f=C[d+32>>2];if(!f){C[d+40>>2]=0;C[d+32>>2]=1307;f=1307}if(!C[d+36>>2]){C[d+36>>2]=1308}c=Fe[f|0](C[d+40>>2],1,7120)|0;e=-4;if(!c){break b}C[d+28>>2]=c;C[c+56>>2]=0;C[c>>2]=d;C[c+4>>2]=16180;f=iv(d,h);e=0;if(!f){break b}Fe[C[d+36>>2]](C[d+40>>2],c);C[d+28>>2]=0;e=f}c=e;if(c){break a}C[a+208>>2]=C[a+208>>2]|2;c=0}if((C[a+612>>2]&768)==768){f=-2;c:{if(!C[d+36>>2]|(!d|!C[d+32>>2])){break c}c=C[d+28>>2];if(!c|(d|0)!=C[c>>2]|C[c+4>>2]-16180>>>0>31){break c}C[c+12>>2]=C[c+12>>2]&-5;f=0}c=f}d:{if(!c){C[a+216>>2]=b;break d}lj(a,c)}Ce=g- -64|0;return c}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,j=0,k=0,l=0,m=0;if(F[b+160>>2]>>0){tf(b,8)}c=D[a+3|0]|D[a+2|0]<<8;i=c+a|0;if(!(c>>>0>=518&F[b+160>>2]>=i>>>0)){tf(b,8)}c=a+6|0;while(1){f=D[c+1|0];e=f|D[c|0]<<8;if(!(!(f&7)|F[b+164>>2]<2)){tf(b,8)}c=c+2|0;f=e>>>3|0;g=f>>>0>g>>>0?f:g;d=d+1|0;if((d|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>F[b+160>>2]){tf(b,8)}d=0;while(1){f=d;a=c+8|0;d=D[c+3|0]|D[c+2|0]<<8;a:{if(!d){c=a;break a}e=D[c+7|0]|D[c+6|0]<<8;k=D[c+4|0];l=D[c+5|0];h=D[c|0];m=D[c+1|0];b:{if(F[b+164>>2]<2){break b}h=m|h<<8;if(h>>>0<=255&d+h>>>0<257){break b}tf(b,8)}if(!e){c=a;break a}e=(c+6|0)+e|0;if(!(e>>>0>=j>>>0&e+(d<<1)>>>0<=i>>>0)){tf(b,9)}if(!C[b+164>>2]){c=a;break a}e=k<<8|l;d=((d<<1)+c|0)+8|0;c=a;while(1){a=c;c=c+2|0;a=D[a+1|0]|D[a|0]<<8;if(!(!a|F[b+172>>2]>(a+e&65535)>>>0)){tf(b,16)}if(c>>>0>>0){continue}break}}d=f+1|0;if((f|0)!=(g|0)){continue}break}return 0}function tA(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,j=0,k=0;h=Ce-32|0;Ce=h;b=C[b+80>>2];j=C[a+548>>2];k=ai();i=C[j>>2];a:{if((k|0)!=(i|0)){C[j+468>>2]=0;if((Bh(C[a+204>>2],i)|0)<0){break a}}i=C[a+548>>2];if(!C[i+4>>2]){break a}while(1){if(Fe[C[i+100>>2]]()|0){continue}break}}i=0;b:{if(C[c+8>>2]<=0|C[c+12>>2]<=0){break b}C[j+412>>2]=0;Fe[C[j+20>>2]](C[b+4>>2],C[b+36>>2]);hi(j,C[b+4>>2],C[c>>2]/2|0,C[c+4>>2]/2|0,(C[c+8>>2]+1|0)/2|0,(C[c+12>>2]+1|0)/2|0,6410,5121,f,g,2);Fe[C[j+20>>2]](C[b+4>>2],C[b>>2]);hi(j,C[b+4>>2],C[c>>2],C[c+4>>2],C[c+8>>2],C[c+12>>2],C[b+8>>2],C[b+12>>2],d,e,1);a=C[a+548>>2];if(!C[a+4>>2]){break b}b=Fe[C[a+100>>2]]()|0;if(!b){break b}while(1){c=25026;d=b-1280|0;if(d>>>0<=5){c=C[(d<<2)+184380>>2]}C[h+20>>2]=b;C[h+16>>2]=c;C[h+12>>2]=22769;C[h+8>>2]=1806;C[h+4>>2]=21666;C[h>>2]=33968;Qe(33817,h);b=Fe[C[a+100>>2]]()|0;if(b){continue}break}i=-1}Ce=h+32|0;return i|0}function Fm(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=C[a+100>>2];b=C[a+300>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+300>>2]=0;b=C[a+292>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+292>>2]=0;b=C[a+284>>2];if(b){if(C[a+280>>2]>0){while(1){b=C[a+284>>2];b:{if(!b){break b}b=b+I(e,12)|0;d=C[b>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b>>2]=0;if(!D[b+4|0]){break b}d=C[b+8>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+8>>2]=0}e=e+1|0;if((e|0)>2]){continue}break}b=C[a+284>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+284>>2]=0}b=C[a+192>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+192>>2]=0;b=C[a+20>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+20>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+32>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+32>>2]=0;b=C[a+176>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+176>>2]=0;b=C[a+180>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+180>>2]=0;c=C[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=C[c+24>>2];if(!b){break c}Fe[b|0](c)}C[a+104>>2]=C[a+172>>2]}}function GF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=I((g|0)/2|0,6);a:{if(g>>>0<8){break a}d=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+h|0;f=c+g|0;if(g&8){c=e-16|0;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;G[e-20>>2]=G[f-4>>2];e=e-24|0;f=f-8|0;G[e>>2]=G[f>>2];c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){d=e-16|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;G[e-20>>2]=G[f-4>>2];i=G[f-8>>2];d=e-40|0;C[d>>2]=0;C[d+4>>2]=0;G[e-24>>2]=i;C[d+8>>2]=0;C[d+12>>2]=0;G[e-44>>2]=G[f-12>>2];e=e-48|0;f=f-16|0;G[e>>2]=G[f>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function oC(a){a=a|0;var 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=C[a+28>>2];e=b-1|0;C[a+28>>2]=e;m=(C[a+4>>2]<<16)/C[a+24>>2]|0;n=(C[a+8>>2]<<16)/(b|0)|0;if(b){o=(m|0)/2|0;k=(n|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];while(1){g=C[a+24>>2];if(g){q=k>>>16|0;r=C[a>>2];e=f;l=o;while(1){b=C[(I(C[a+12>>2],q)+r|0)+(l>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;g=g-1|0;c=C[e>>2];b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(p|0){case 0:c=h;d=i;b=j;break a;case 1:c=c+h|0;c=c>>>0>=255?255:c;d=d+i|0;d=d>>>0>=255?255:d;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;b=(I(b,j)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(c,h)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[e>>2]=d<<8|c<<16|b;e=e+4|0;l=l+m|0;if(g){continue}break}e=C[a+28>>2]}b=e;e=b-1|0;C[a+28>>2]=e;k=k+n|0;f=C[a+32>>2]+f|0;if(b){continue}break}C[a+20>>2]=f}}function dC(a){a=a|0;var 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=C[a+28>>2];e=b-1|0;C[a+28>>2]=e;m=(C[a+4>>2]<<16)/C[a+24>>2]|0;n=(C[a+8>>2]<<16)/(b|0)|0;if(b){o=(m|0)/2|0;k=(n|0)/2|0;p=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];while(1){g=C[a+24>>2];if(g){q=k>>>16|0;r=C[a>>2];e=f;l=o;while(1){b=C[(I(C[a+12>>2],q)+r|0)+(l>>>14&262140)>>2];h=b&255;i=b>>>8&255;j=b>>>16&255;g=g-1|0;c=C[e>>2];b=c&255;d=c>>>8&255;c=c>>>16&255;a:{b:{switch(p|0){case 0:b=j;d=i;c=h;break a;case 1:b=b+j|0;b=b>>>0>=255?255:b;d=d+i|0;d=d>>>0>=255?255:d;c=c+h|0;c=c>>>0>=255?255:c;break a;case 3:b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(b,j)>>>0)/255|0;d=(I(d,i)>>>0)/255|0;c=(I(c,h)>>>0)/255|0}C[e>>2]=d<<8|b|c<<16;e=e+4|0;l=l+m|0;if(g){continue}break}e=C[a+28>>2]}b=e;e=b-1|0;C[a+28>>2]=e;k=k+n|0;f=C[a+32>>2]+f|0;if(b){continue}break}C[a+20>>2]=f}}function ZE(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=J(0),g=0,h=0,i=J(0),j=J(0);g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(g>>>0>=28){h=(g>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=G[c+16>>2];i=G[c+24>>2];j=G[c+20>>2];f=J(G[c+8>>2]*J(.3409999907016754));G[d>>2]=J(j*J(.17599999904632568))+J(J(G[c>>2]*J(.4830000102519989))+f);G[d+4>>2]=J(i*J(.17599999904632568))+J(J(G[c+4>>2]*J(.4830000102519989))+f);f=G[c+12>>2];e=J(e*J(.3409999907016754));G[d+16>>2]=e+J(i*J(.4490000009536743));G[d+12>>2]=e+J(j*J(.4490000009536743));G[d+8>>2]=f;d=d+20|0;c=c+28|0;h=h-1|0;if(h){continue}break}}c=I((g|0)/7|0,5);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function UF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(f>>>0<8){break a}e=f>>>3|0;i=e-1|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);g=e&3;b:{if(!g){c=d;break b}c=d;while(1){G[c>>2]=J(G[d>>2]*J(.5))+J(G[d+4>>2]*J(.5));c=c+4|0;d=d+8|0;e=e-1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(i>>>0<3){break a}while(1){G[c>>2]=J(G[d>>2]*J(.5))+J(G[d+4>>2]*J(.5));G[c+4>>2]=J(G[d+8>>2]*J(.5))+J(G[d+12>>2]*J(.5));G[c+8>>2]=J(G[d+16>>2]*J(.5))+J(G[d+20>>2]*J(.5));G[c+12>>2]=J(G[d+24>>2]*J(.5))+J(G[d+28>>2]*J(.5));c=c+16|0;d=d+32|0;e=e-4|0;if(e){continue}break}}c=(f|0)/2|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function YE(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0),i=J(0),j=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=28){g=(f>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=G[c+16>>2];h=G[c+24>>2];i=G[c+20>>2];G[d>>2]=J(G[c>>2]*J(.6110000014305115))+J(i*J(.22300000488758087));G[d+4>>2]=J(G[c+4>>2]*J(.6110000014305115))+J(h*J(.22300000488758087));G[d+8>>2]=G[c+8>>2]*J(.6110000014305115);j=G[c+12>>2];e=J(e*J(.4320000112056732));G[d+20>>2]=e+J(h*J(.5680000185966492));G[d+16>>2]=e+J(i*J(.5680000185966492));G[d+12>>2]=j;d=d+24|0;c=c+28|0;g=g-1|0;if(g){continue}break}}c=I((f|0)/7|0,6);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function RE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=32){f=e>>>5|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+28>>2];h=G[c+24>>2];G[d>>2]=J(G[c>>2]*J(.5180000066757202))+J(h*J(.1889999955892563));G[d+4>>2]=J(G[c+4>>2]*J(.5180000066757202))+J(g*J(.1889999955892563));G[d+8>>2]=G[c+8>>2]*J(.5180000066757202);G[d+12>>2]=G[c+12>>2];G[d+16>>2]=J(G[c+16>>2]*J(.5180000066757202))+J(h*J(.4819999933242798));G[d+20>>2]=J(G[c+20>>2]*J(.5180000066757202))+J(g*J(.4819999933242798));d=d+24|0;c=c+32|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/8|0,6);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function oK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-336|0;Ce=d;i=C[a+100>>2];Fe[C[b+60>>2]](b,d+272|0,4,d+268|0);f=C[d+268>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-5>>>0<4294967292){break a}j=C[b+8>>2];k=C[b>>2];c=zm(a,0,f);C[d+332>>2]=c;if(c){break a}if(C[d+268>>2]>0){f=C[a+528>>2]+88|0;while(1){a=I(g,12);c=a+(d+272|0)|0;C[b>>2]=C[c>>2];C[b+8>>2]=C[c+4>>2];Fe[C[b+60>>2]](b,d+16|0,20,d+12|0);c=C[d+12>>2];if(c-21>>>0<4294967276){c=3;break a}a=a+f|0;e=Ve(i,4,0,c<<1,0,d+332|0);C[a+4>>2]=e;c=C[d+332>>2];if(c){break a}c=C[d+12>>2];C[a+8>>2]=e+(c<<2);A[a|0]=c;if((c|0)>0){c=0;while(1){e=(d+16|0)+I(c,12)|0;C[b>>2]=C[e>>2]+1;C[b+8>>2]=C[e+4>>2]-1;e=Fe[C[b+36>>2]](b)|0;h=c<<2;C[h+C[a+4>>2]>>2]=e;e=Fe[C[b+40>>2]](b,0)|0;C[C[a+8>>2]+h>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}g=C[d+332>>2]}C[b+8>>2]=j;C[b>>2]=k;c=g}C[b+12>>2]=c;Ce=d+336|0}function PJ(a){a=a|0;var b=0,c=0;if(a){c=C[a+100>>2];b=C[a+500>>2];if(b){Lm(b)}b=C[a+132>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+136>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0;b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+144>>2]=0;b=C[a+148>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+148>>2]=0;b=C[a+428>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+428>>2]=0;b=C[a+424>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+424>>2]=0;b=C[a+420>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+420>>2]=0;b=C[a+396>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+396>>2]=0;b=C[a+400>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+400>>2]=0;b=C[a+384>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+384>>2]=0;b=C[a+388>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+388>>2]=0;b=C[a+364>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+364>>2]=0;b=C[a+492>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+492>>2]=0;b=C[a+556>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+552>>2]=0;C[a+556>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0}}function Rw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=C[a+16>>2];i=D[e+6|0]<<8|D[e+7|0]&254;a:{if(!i){break a}f=C[b>>2]+((c|0)!=0)|0;if(f>>>0>65535){break a}d=i>>>1|0;m=d>>>0<=1?1:d;n=d-1|0;o=e+14|0;p=(e+i|0)+16|0;b:{while(1){k=0;j=p;d=o;c:{while(1){d:{e=d+2|0;e:{l=D[j+1|0]|D[j|0]<<8;if(l>>>0>f>>>0){d=e;break e}g=D[d|0];h=D[d+1|0];d=e;e=h|g<<8;if(e>>>0>>0){break e}h=j+i|0;d=h+i|0;g=D[d|0]<<8|D[d+1|0];f:{g:{h:{if((l|0)!=65535|k>>>0>>0|(e|0)!=65535){break h}if(!g){break g}e=C[a>>2];if((d+g|0)+2>>>0<=C[e+500>>2]+C[e+504>>2]>>>0){break h}d=1;break f}if((g|0)==65535){break e}if(!g){break g}d=(g+(f-l<<1)|0)+d|0;d=D[d|0]<<8|D[d+1|0];if(!d){break d}d=d+(D[h+1|0]|D[h|0]<<8)&65535;break c}d=D[h+1|0]|D[h|0]<<8}d=d+f&65535;break c}j=j+2|0;k=k+1|0;if((m|0)!=(k|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}C[b>>2]=f}return d}function Gi(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0){break a}g=d-a|0;if(g>>>0<2){break a}e=C[b+12>>2];f=e-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=D[a|0]|D[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(g>>>0<6){break a}c=e-8|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-10|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+6|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=I((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function DN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=C[a+4>>2];j=0-h|0;l=c-1|0;g=j&h+l;i=d&j;b:{if((g|0)<=(i|0)){c=C[a>>2];d=g;break b}if((g|0)!=(h+i|0)){break a}h=i;c:{d:{e:{k=E[e+12>>1];m=k&7;switch(m|0){case 0:break c;case 4:break d;case 1:case 5:break e;default:break a}}if(!(C[e+28>>2]!=(f|0)|C[e+16>>2]>0)&(!(k&16)|C[a+8>>2]>(d-c|0))|!(C[f+28>>2]!=(e|0)|C[e+20>>2]!=(b|0))&(!(k&32)|C[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}}h=C[a+8>>2]+((d+l|0)/2|0)&j}c=C[a>>2];f=C[a+112>>2];d=g;d=(h|0)>=0?F[a+104>>2]>h>>>c>>>0?h:i:d;g=((g|0)==(d|0)?i:g)>>c;e=(C[a+60>>2]+(b>>3)|0)-I(f,g)|0;e=(f|0)>0?I(f,C[a+104>>2]-1|0)+e|0:e;if((g|0)<0|g>>>0>=F[a+104>>2]){break b}if(D[e|0]&128>>>(b&7)){break a}}c=d>>c;if((c|0)<0){break a}d=C[a+104>>2];if(d>>>0<=c>>>0){break a}e=C[a+60>>2]+(b>>3)|0;a=C[a+112>>2];a=(e-I(a,c)|0)+((a|0)>0?I(a,d-1|0):0)|0;A[a|0]=D[a|0]|128>>>(b&7)}}function Cj(a){var b=0,c=0,d=0,e=0;e=Ce-16|0;Ce=e;a:{if(!(C[a>>2]==422838?a:0)){C[e>>2]=16603;Qe(19745,e);break a}b=C[a+36>>2];b:{if(C[b+412>>2]==(a|0)){jn(b,0);break b}if(C[a+76>>2]!=C[b+448>>2]){break b}c=C[b+436>>2];if(!c){break b}Fe[C[b+52>>2]](b,c,C[b+536>>2],C[b+540>>2])|0;c=C[b+440>>2];if(c){C[c+24>>2]=C[b+444>>2];C[b+444>>2]=C[b+436>>2];C[b+436>>2]=0;C[b+440>>2]=0}C[b+540>>2]=0;C[b+532>>2]=0;C[b+524>>2]=0;C[b+528>>2]=0;C[b+448>>2]=C[b+448>>2]+1}C[a>>2]=0;c=C[a+92>>2];if(c){C[c+88>>2]=C[a+88>>2]}d=C[a+88>>2];c:{if(d){C[d+92>>2]=c;break c}C[b+408>>2]=c}c=C[a+40>>2];if(c){Cj(c)}c=C[a+44>>2];if(c){d=C[c+16>>2];if(d){d=C[d-4>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}}Nf(C[c+40>>2]);Nf(C[c+44>>2]);if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}}c=C[a+48>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}Fe[C[b+92>>2]](b,a);Nf(C[a+72>>2]);C[a+72>>2]=0;if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}Ce=e+16|0}function Tp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-16|0;Ce=e;Vf(e+8|0,C[a+60>>2],b+5898240|0);C[e>>2]=C[e+8>>2]+C[a+8>>2];C[e+4>>2]=C[e+12>>2]+C[a+12>>2];h=a- -64|0;d=C[a+84>>2];a:{if((d|0)<0){break a}i=C[h>>2];if(i>>>0<=d+1>>>0){C[h>>2]=d;break a}f=i-1|0;C[a+64>>2]=f;g=C[a+72>>2];j=g+(d<<3)|0;f=g+(f<<3)|0;g=C[f+4>>2];C[j>>2]=C[f>>2];C[j+4>>2]=g;d=d+C[a+76>>2]|0;A[d|0]=D[d|0]|4;d=(i+C[a+76>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[a+84>>2]=C[a+64>>2];A[a+80|0]=0;d=ig(h,e,0);if(!d){C[e>>2]=C[a+8>>2]-C[e+8>>2];C[e+4>>2]=C[a+12>>2]-C[e+12>>2];h=a+96|0;d=C[a+116>>2];b:{if((d|0)<0){break b}i=C[h>>2];if(i>>>0<=d+1>>>0){C[h>>2]=d;break b}f=i-1|0;C[a+96>>2]=f;g=C[a+104>>2];j=g+(d<<3)|0;f=g+(f<<3)|0;g=C[f+4>>2];C[j>>2]=C[f>>2];C[j+4>>2]=g;d=d+C[a+108>>2]|0;A[d|0]=D[d|0]|4;d=(i+C[a+108>>2]|0)-2|0;A[d|0]=D[d|0]|8}C[a+116>>2]=C[a+96>>2];A[a+112|0]=0;d=ig(h,e,0);C[a+36>>2]=c;A[a+20|0]=0;C[a+24>>2]=b}Ce=e+16|0;return d}function sr(a){var b=0,c=0,d=0;a:{b:{c:{if(a>>>0<=65535){d:{e:{f:{g:{h:{i:{j:{k:{l:{b=a>>>8|0;switch(b|0){case 6:break i;case 3:break j;case 0:break k;case 1:case 2:case 4:case 5: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 25:case 26:case 27:case 28:case 29:case 30:case 31:break b;case 32:break f;case 24:break g;case 23:break h;default:break l}}switch(b-254|0){case 1:break d;case 0:break e;default:break b}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}c=a-8203|0;if(c>>>0<36){break c}break a}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}m:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break m}else{break b}}return a-119155>>>0<8}return(a&-4096)==917504}d=1;b=c&31;if(!(((c&63)>>>0>=32?15>>>b|0:((1<>>b)&1)){break a}}return d}return(a&-16)==8288}function Jj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=J(0);a:{if(!a){break a}e=C[a+12>>2];if((e|0)<=0){break a}while(1){c=C[a+16>>2]+(h<<5)|0;if(!(C[c+16>>2]!=2|C[c+20>>2]!=(b|0))){d=0;b:{c:{d:{switch(C[c>>2]-1|0){case 1:e=Ur(C[a>>2],C[c+4>>2]);f=C[c+8>>2];g=C[c+12>>2];e:{if((f|0)<(g|0)){if((e|0)<(f|0)){break b}if((e|0)<=(g|0)){break e}break b}if((e|0)<(g|0)|(e|0)>(f|0)){break b}}d=C[c+24>>2];i=C[c+28>>2];if(!((d|0)!=(f|0)|(i|0)!=(g|0))){d=e;break b}j=J(J(J(e-f|0)/J(g-f|0))*J(i-d|0));if(J(K(j))>2],C[c+4>>2]);if((d|0)==1){break c}break b;case 2:break d;default:break b}}if(!(Tr(C[a>>2],C[c+4>>2])&C[c+8>>2])){break b}}d=C[c+28>>2]}f:{if(!d){break f}e=C[c+24>>2];c=C[c+28>>2];if((((c|0)>(e|0)?e:c)|0)>(d|0)){break f}if((((c|0)<(e|0)?e:c)|0)>=(d|0)){break a}}e=C[a+12>>2]}h=h+1|0;if((h|0)<(e|0)){continue}break}d=0}return d<<16>>16}function nj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;vg(a,C[a+8>>2]);c=C[a>>2];C[d+12>>2]=c;f=C[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=D[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}C[b>>2]=c;C[b+8>>2]=2;if(Jp(d+12|0,f)){break e}break d}C[b>>2]=c;C[b+8>>2]=3;if(!px(d+12|0,f)){break d}break e}C[b>>2]=c;C[b+8>>2]=3;C[a>>2]=c+1;vg(a,f);c=C[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(C[a+12>>2]){break h}i:{j:{switch(D[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;C[d+12>>2]=c;C[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}Kp(a);vg(a,C[a+8>>2]);c=C[a>>2];if(f>>>0>c>>>0){continue}break}}C[d+12>>2]=c;break e}C[b>>2]=c;C[b+8>>2]=D[c|0]==47?4:1;Kp(a);c=C[a>>2];C[d+12>>2]=c;if(!C[a+12>>2]){break c}}c=C[b+4>>2];break b}c=C[d+12>>2]}C[b+4>>2]=c}if(c){break a}C[b+8>>2]=0;C[b>>2]=0}C[a>>2]=C[d+12>>2]}Ce=d+16|0}function tD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+24>>2];j=C[a+16>>2]+(d+((d+7|0)/-8|0)|0)|0;k=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];h=C[a+48>>2];a:{if(h){if(!f){break a}i=d&-2;l=d&1;while(1){f=f-1|0;b:{if((d|0)<=0){break b}e=0;a=0;g=0;if((d|0)!=1){while(1){if(!(e&6)){a=D[c|0];c=c+1|0}A[b|0]=D[h+((a&128)>>>7|0)|0];A[b+1|0]=D[h+(a>>>6&1)|0];e=e+2|0;a=a<<2;b=b+2|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(!l){break b}if(!(e&7)){a=D[c|0];c=c+1|0}A[b|0]=D[h+((a&128)>>>7|0)|0];b=b+1|0}b=b+k|0;c=c+j|0;if(f){continue}break}break a}if(!f){break a}h=d&-2;i=d&1;while(1){f=f-1|0;c:{if((d|0)<=0){break c}e=0;a=0;g=0;if((d|0)!=1){while(1){if(!(e&6)){a=D[c|0];c=c+1|0}A[b+1|0]=a>>>6&1;A[b|0]=(a&128)>>>7;e=e+2|0;a=a<<2;b=b+2|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(!i){break c}if(!(e&7)){a=D[c|0];c=c+1|0}A[b|0]=(a&128)>>>7;b=b+1|0}b=b+k|0;c=c+j|0;if(f){continue}break}}}function zi(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=D[C[(D[a+28|0]<<2)+382144>>2]+((C[a+12>>2]&67305985)>>>D[a+32|0]|0)|0];i=D[C[(D[a+29|0]<<2)+382144>>2]+((C[a+16>>2]&67305985)>>>D[a+33|0]|0)|0];j=D[C[(D[a+30|0]<<2)+382144>>2]+((C[a+20>>2]&67305985)>>>D[a+34|0]|0)|0];k=C[b+24>>2];a:{b:{l=C[a+24>>2];if(!l){if(!k){break b}h=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]|0;a=b+34|0;break a}if(!k){break b}h=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]<>2]+((l&67305985)>>>D[a+35|0]|0)|0]>>>D[b+31|0]|0;a=b+35|0;break a}h=i>>>D[b+29|0]<>>D[b+28|0]<>>D[b+30|0]|0;a=b+34|0}a=i<>>24|0;h=a>>>16&255;b=a>>>8&255;j=a&255;c:{if(!j){j=1;a=0;break c}if(!b){b=1;a=1;break c}if(!h){h=1;a=2;break c}a=a>>>0<16777216;i=a?1:i;a=a?3:0}C[c>>2]=j-1;C[d>>2]=b-1;C[e>>2]=h-1;C[f>>2]=i-1;if(g){C[g>>2]=a}}function $E(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=28){f=(e>>>0)/28|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+24>>2];h=G[c+20>>2];i=J(G[c+16>>2]*J(.1889999955892563));j=J(G[c+8>>2]*J(.1889999955892563));G[d>>2]=J(g*J(.10899999737739563))+J(J(h*J(.24500000476837158))+J(i+J(J(G[c>>2]*J(.2680000066757202))+j)));G[d+4>>2]=J(g*J(.24500000476837158))+J(J(h*J(.10899999737739563))+J(i+J(J(G[c+4>>2]*J(.2680000066757202))+j)));G[d+8>>2]=G[c+12>>2];d=d+12|0;c=c+28|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/7|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function sQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=C[a+28>>2];if(D[d+64|0]){break b}c=ty(d,C[b>>2],C[b+4>>2]);if(!c){break b}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=c;return}c:{c=C[d+12>>2];if((B[c+22>>1]+B[c+58>>1]|0)+3>>>0<=F[c+4>>2]){break c}c=Qg(c,3,0);if(!c){break c}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=c;return}a=C[d+20>>2];d:{e:{f:{if(!D[d+65|0]){B[a+2>>1]=E[a+2>>1]+1;break f}c=C[a+8>>2];e=C[b+8>>2];f=B[a+2>>1];g=C[a+4>>2]+(f<<3)|0;C[g+4>>2]=C[b+12>>2]>>10;C[g>>2]=e>>10;A[c+f|0]=2;e=D[d+65|0];c=C[d+20>>2];B[a+2>>1]=E[a+2>>1]+1;if(e){break e}a=c}B[a+2>>1]=E[a+2>>1]+1;break d}a=C[c+8>>2];e=C[b+16>>2];f=B[c+2>>1];g=C[c+4>>2]+(f<<3)|0;C[g+4>>2]=C[b+20>>2]>>10;C[g>>2]=e>>10;A[a+f|0]=2;e=D[d+65|0];a=C[d+20>>2];B[c+2>>1]=E[c+2>>1]+1;if(!e){break d}c=C[a+8>>2];d=C[b+24>>2];e=B[a+2>>1];f=C[a+4>>2]+(e<<3)|0;C[f+4>>2]=C[b+28>>2]>>10;C[f>>2]=d>>10;A[c+e|0]=1}B[a+2>>1]=E[a+2>>1]+1}}function Nw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+16>>2];f=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!i){return 0}l=d+20|0;g=C[b>>2]+((c|0)!=0)|0;d=i;a:{b:{while(1){f=d+j>>>1|0;h=I(f,12)+l|0;e=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=h-4|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0<=g>>>0){if(g>>>0<=k>>>0){break b}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break a}d=h;d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=(g-e|0)+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}if(!c){return d}c:{if(g>>>0>k>>>0){c=0;f=f+1|0;if((i|0)==(f|0)){break c}}C[a+36>>2]=f;C[a+28>>2]=g;A[a+24|0]=1;d:{if(!d){Mw(a);c=0;if(!D[a+24|0]){break c}d=C[a+32>>2];if(!d){break c}g=C[a+28>>2];break d}C[a+32>>2]=d}c=d;C[b>>2]=g}return c}function Fv(a,b){var c=0,d=0,e=0;c=C[a+52>>2];a:{if((c|0)!=84608){if(F[a+216>>2]<=b>>>0){break a}b:{switch(D[c|0]){case 0:if(!b){break a}a=(c+(b<<1)|0)-1|0;a=D[a|0]|D[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b){break a}d=c+1|0;a=0;b=b-1|0;c=D[c+3|0];if(b>>>0>c>>>0){while(1){b=(c^-1)+b|0;a=a+1|0;c=D[(d+I(a,3)|0)+2|0];if(b>>>0>c>>>0){continue}break}}a=d+I(a,3)|0;a=D[a|0]|D[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b){break a}e=c+1|0;a=0;b=b-1|0;d=D[c+3|0]|D[c+4|0]<<8;c=(d<<8|d>>>8)&65535;if(b>>>0>c>>>0){while(1){b=(c^-1)+b|0;a=a+1|0;d=e+(a<<2)|0;d=D[d+2|0]|D[d+3|0]<<8;c=(d<<8|d>>>8)&65535;if(b>>>0>c>>>0){continue}break}}a=e+(a<<2)|0;a=D[a|0]|D[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0}c:{switch(C[a+172>>2]){case 0:return b>>>0<229?b:0;case 1:return b>>>0<=165?E[(b<<1)+35584>>1]:0;case 2:break c;default:break a}}d=b>>>0<=86?E[(b<<1)+35920>>1]:0}return d}function wF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(f>>>0<16){break a}g=f>>>4|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b:{if(!(f&16)){e=d;c=g;break b}G[d>>2]=J(G[d+12>>2]*J(.25))+J(J(G[d+8>>2]*J(.25))+J(J(G[d>>2]*J(.25))+J(G[d+4>>2]*J(.25))));e=d+4|0;d=d+16|0;c=g-1|0}if((g|0)==1){break a}while(1){G[e>>2]=J(G[d+12>>2]*J(.25))+J(J(G[d+8>>2]*J(.25))+J(J(G[d>>2]*J(.25))+J(G[d+4>>2]*J(.25))));G[e+4>>2]=J(G[d+28>>2]*J(.25))+J(J(G[d+24>>2]*J(.25))+J(J(G[d+16>>2]*J(.25))+J(G[d+20>>2]*J(.25))));e=e+8|0;d=d+32|0;c=c-2|0;if(c){continue}break}}c=(f|0)/4|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function tx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-16|0;Ce=f;d=3;i=C[b+188>>2];a:{if(!i){break a}g=b+196|0;h=C[b+192>>2];while(1){if(C[h+(e<<4)>>2]==(c|0)){d=83;c=C[(h+(e<<4)|0)+12>>2];e=C[a+8>>2];if(c>>>0>>0){break a}if(ng(a,c-e|0)){break a}C[f+12>>2]=0;c=dh(a,f+12|0);d=C[f+12>>2];if(d){break a}i=c&-256;if((i|256)==256){b:{if(c&4){d=Ff(a,218784,g);C[f+12>>2]=d;if(d){break a}d=218912;break b}d=Ff(a,218848,g);C[f+12>>2]=d;if(d){break a}d=218944}e=b+216|0;d=Ff(a,d,e);C[f+12>>2]=d;if(d){break a}h=c&255;g=b+232|0;d=Lp(a,h,g);C[f+12>>2]=d;if(d){break a}c=b+248|0;if((i|0)==256){d=Lp(a,h,c);C[f+12>>2]=d;if(d){break a}d=Lp(a,h,b+264|0);break a}a=C[e+4>>2];C[c>>2]=C[e>>2];C[c+4>>2]=a;a=C[e+12>>2];C[c+8>>2]=C[e+8>>2];C[c+12>>2]=a;a=C[g+12>>2];C[b+272>>2]=C[g+8>>2];C[b+276>>2]=a;a=C[g+4>>2];C[b+264>>2]=C[g>>2];C[b+268>>2]=a}d=0;break a}e=e+1|0;if((i|0)!=(e|0)){continue}break}}Ce=f+16|0;return d}function Ej(a,b,c,d,e,f){var g=0,h=0,i=0;if(!(!a|(a&-268435456)==268435456)){Qe(20152,0);return 0}C[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;C[f>>2]=0;C[e>>2]=0;C[d>>2]=0;C[c>>2]=0;a:{b:{if((a|0)!=390076419){if((a|0)!=386930691){break b}C[c>>2]=255;C[d>>2]=65280;C[e>>2]=16711680;break a}C[c>>2]=16711680;C[d>>2]=65280;C[e>>2]=255;break a}if((a>>>24&15)-4>>>0<=2){b=(a>>>16&15)-1|0;if(b>>>0>=8){Qe(4953,0);return 0}g=b<<2;b=C[g+184144>>2];h=C[g+184112>>2];i=C[g+184080>>2];g=C[g+184048>>2];c:{switch((a>>>20&15)-1|0){case 1:C[c>>2]=b;C[d>>2]=h;C[e>>2]=i;break a;case 2:C[f>>2]=b;case 0:C[c>>2]=h;C[d>>2]=i;C[e>>2]=g;break a;case 3:C[c>>2]=b;C[d>>2]=h;C[e>>2]=i;C[f>>2]=g;break a;case 5:C[e>>2]=b;C[d>>2]=h;C[c>>2]=i;break a;case 7:C[e>>2]=b;C[d>>2]=h;C[c>>2]=i;C[f>>2]=g;break a;case 6:C[f>>2]=b;case 4:C[e>>2]=h;C[d>>2]=i;C[c>>2]=g;break a;default:break c}}Qe(4953,0);a=0}else{a=1}return a}return 1}function ZO(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,k=0,l=0;g=Ce-16|0;Ce=g;C[g+12>>2]=0;i=C[c>>2];d=hf(i,24,g+12|0);e=C[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=D[a|0];A[d+4|0]=h;f=D[a+1|0]|D[a+2|0]<<8;B[d+6>>1]=f<<8|f>>>8;f=D[a+3|0];A[d+5|0]=f;k=C[c+148>>2];l=C[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;C[d+8>>2]=f;C[d+12>>2]=(e+l|0)-k;if(e+I(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);C[d+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=e+I(f,h-1|0)|0;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break c}C[d+16>>2]=D[a+5|0]|D[a+4|0]<<16;a=e+I(f,h-1|0)|0;a=D[a|0]<<16|D[a+1|0]}e=0;C[d>>2]=0;C[d+20>>2]=a;C[C[c+140>>2]>>2]=d;C[c+140>>2]=d;C[c+132>>2]=C[c+132>>2]+h;break a}if(d){Fe[C[i+8>>2]](i,d)}e=C[g+12>>2];break a}if(d){Fe[C[i+8>>2]](i,d)}e=8}Ce=g+16|0;return e|0}function zv(a,b,c){var d=0,e=0,f=0;d=E[b+74>>1];e=d<<16>>16;if((e|0)>=0){if(c>>>0>=4){tg(a,b,28725,c,3952);return}if(!(!(e&4)|E[b+72>>1]==(c|0))){tg(a,b,28725,c,6046);return}if(d&32){Uo(a,20433);return}a:{if(!(d&2)){break a}if(rm(351148,b+4|0,100)){break a}xg(a,28667,2)}b:{if(!(e&1)){break b}d=C[b>>2];c:{if(!d){break c}f=O(+(d|0)*1e5/45455+.5);if(!(f<=2147483647)|!(f>=-2147483648)){break c}if(K(f)<2147483648){d=~~f}else{d=-2147483648}if(d-95e3>>>0<10001){break b}}xg(a,28698,2)}B[b+72>>1]=c;a=C[87788];C[b+4>>2]=C[87787];C[b+8>>2]=a;a=C[87790];C[b+12>>2]=C[87789];C[b+16>>2]=a;a=C[87792];C[b+20>>2]=C[87791];C[b+24>>2]=a;a=C[87794];C[b+28>>2]=C[87793];C[b+32>>2]=a;a=C[87779];C[b+36>>2]=C[87778];C[b+40>>2]=a;a=C[87781];C[b+44>>2]=C[87780];C[b+48>>2]=a;a=C[87783];C[b+52>>2]=C[87782];C[b+56>>2]=a;a=C[87785];C[b+60>>2]=C[87784];C[b+64>>2]=a;C[b+68>>2]=C[87786];B[b+74>>1]=e|231;C[b>>2]=45455}}function MF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=I(h,6);a:{if(h>>>0<4){break a}d=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=e-16|0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;G[e-20>>2]=f;e=e-24|0;G[e>>2]=f;c=d-1|0}else{c=d}if((d|0)==1){break a}while(1){f=G[g-4>>2];d=e-16|0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-20>>2]=f;G[e-24>>2]=f;g=g-8|0;f=G[g>>2];d=e-40|0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;G[e-44>>2]=f;e=e-48|0;G[e>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function IC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=C[a+28>>2];if(!e){break a}f=C[a+36>>2];g=C[a+16>>2];d=C[a+24>>2];h=d&7;i=(d+7|0)/8|0;b=C[a>>2];a=C[a+20>>2];b:while(1){e=e-1|0;d=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:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=1;continue;case 1:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=2;continue;case 2:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=3;continue;case 3:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=4;continue;case 4:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=5;continue;case 5:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=6;continue;case 6:C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=7;continue;default:break e}}C[a>>2]=C[b>>2];c=d-1|0;b=b+4|0;a=a+4|0;f:{if((d|0)>1){d=c;break f}a=a+f|0;b=b+g|0;if(e){continue b}break a}c=0;continue}}}}function US(a,b){a=a|0;b=b|0;var c=0,d=0;c=Eg(28445);a:{if(!(!c|!D[c|0])){a=jl(a);break a}El(28445,b&4?29773:29920);a=jl(a);El(28445,34979)}if(!a){return 0}b=0;d=Ce-16|0;Ce=d;b:{if(!a){C[d>>2]=19555;Qe(19745,d);break b}b=If(1,552);if(!b){b=0;_e(0);break b}c=If(1,8);if(!c){a=C[b+548>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=0;_e(0);break b}C[c+4>>2]=a;C[c>>2]=a;C[b+80>>2]=639;C[b+76>>2]=640;C[b+72>>2]=641;C[b+68>>2]=642;C[b+56>>2]=643;C[b+16>>2]=644;C[b+8>>2]=645;C[b+4>>2]=646;C[b+96>>2]=647;C[b+92>>2]=648;C[b+88>>2]=649;C[b+84>>2]=650;C[b+52>>2]=651;C[b+48>>2]=652;C[b+44>>2]=653;C[b+40>>2]=654;C[b+36>>2]=655;C[b+32>>2]=656;C[b+28>>2]=656;C[b+24>>2]=657;C[b+20>>2]=657;jf(b+120|0,382272,84);C[b+548>>2]=c;if(C[c>>2]){break b}a=C[c+4>>2];C[c>>2]=a;if(a){break b}a=jl(C[b+204>>2]);if(!a){break b}C[c>>2]=a;C[c+4>>2]=a}Ce=d+16|0;return b|0}function _k(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;C[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}f=C[a>>2];d=hf(f,40,e+12|0);a=C[e+12>>2];if(a){break a}C[d+28>>2]=f;b:{c:{d:{a=C[b>>2];e:{f:{if(a&1){g=C[b+4>>2];a=C[b+8>>2];C[d+32>>2]=0;C[d+8>>2]=0;C[d+4>>2]=a;C[d>>2]=g;C[d+20>>2]=0;C[d+24>>2]=0;break f}if(a&4){a=40;g:{if(!d){break g}g=C[b+12>>2];C[d+16>>2]=g;C[d+8>>2]=0;C[d+12>>2]=0;C[d+20>>2]=0;C[d+24>>2]=0;C[d>>2]=0;h=cv(g,21803);a=1;if(!h){break g}yo(h,0,2);a=Xu(h);g=Ee;if((g|0)>=0&a>>>0>=2147483648|(g|0)>0){C[105782]=61;a=-1}C[d+4>>2]=a;if(!a){Co(h);a=81;break g}yo(h,0,0);C[d+24>>2]=867;C[d+20>>2]=868;C[d+12>>2]=h;a=0}C[e+12>>2]=a;C[d+16>>2]=C[b+12>>2];break e}if(!(a&2)|!C[b+16>>2]){break d}if(d){Fe[C[f+8>>2]](f,d)}d=C[b+16>>2]}a=C[e+12>>2]}if(a){break c}C[d+28>>2]=f;a=0;break b}C[e+12>>2]=6}if(d){Fe[C[f+8>>2]](f,d)}d=0;a=C[e+12>>2]}C[c>>2]=d}Ce=e+16|0;return a}function Lw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+16>>2];f=D[d+12|0]|D[d+13|0]<<8|(D[d+14|0]<<16|D[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!i){return 0}l=d+20|0;g=C[b>>2]+((c|0)!=0)|0;d=i;a:{b:{while(1){f=d+j>>>1|0;h=I(f,12)+l|0;e=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=h-4|0;e=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<=g>>>0){if(g>>>0<=k>>>0){break b}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break a}d=h;d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(!c){return d}c:{if(g>>>0>k>>>0){c=0;f=f+1|0;if((i|0)==(f|0)){break c}}C[a+36>>2]=f;C[a+28>>2]=g;A[a+24|0]=1;d:{if(!d){Kw(a);c=0;if(!D[a+24|0]){break c}d=C[a+32>>2];if(!d){break c}g=C[a+28>>2];break d}C[a+32>>2]=d}c=d;C[b>>2]=g}return c}function cM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=3;a:{if((d|e)<0){break a}f=C[a+8>>2];h=C[a+12>>2];i=E[h+2>>1];if(F[f+4>>2]>>0){break a}g=E[h>>1];if(F[f>>2]>>0){break a}h=I(i,D[a+18|0]);if(I(h+7>>>3|0,g)+b>>>0>c>>>0){break a}i=C[f+8>>2];c=C[f+12>>2]+(I(i,e)+(d>>>3|0)|0)|0;f=d&7;if(f){if(g){j=h>>>0<8;while(1){e=0;a=h;d=c;if(!j){while(1){e=D[b|0]|e;A[d|0]=D[d|0]|e>>>f;d=d+1|0;b=b+1|0;e=e<<8;k=(a|0)>15;a=a-8|0;if(k){continue}break}}if((a|0)>0){e=D[b|0]&65280>>>a|e;b=b+1|0}A[d|0]=D[d|0]|e>>>f;if((a+f|0)>=9){A[d+1|0]=D[d+1|0]|e<<8>>>f}c=c+i|0;a=(g|0)>1;g=g-1|0;if(a){continue}break}}return 0}j=0;if(!g){break a}e=h>>>0<8;while(1){a=h;d=c;if(!e){while(1){A[d|0]=D[b|0]|D[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)>0){A[d|0]=D[d|0]|D[b|0]&65280>>>a;b=b+1|0}c=c+i|0;a=(g|0)>1;g=g-1|0;if(a){continue}break}}return j|0}function Jf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=C[a+112>>2];d=C[a+116>>2];g=(b|d)!=0;f=b;c=C[a+4>>2];h=C[a+44>>2];b=c-h|0;i=b;e=b+C[a+120>>2]|0;b=C[a+124>>2]+(b>>31)|0;a:{b=e>>>0>>0?b+1|0:b;if(!(((b|0)>=(d|0)&e>>>0>=f>>>0|(b|0)>(d|0))&g)){d=Ce-16|0;Ce=d;c=-1;b:{if(Ao(a)){break b}if((Fe[C[a+32>>2]](a,d+15|0,1)|0)!=1){break b}c=D[d+15|0]}Ce=d+16|0;d=c;if((c|0)>=0){break a}h=C[a+44>>2];c=C[a+4>>2]}C[a+112>>2]=-1;C[a+116>>2]=-1;C[a+104>>2]=c;d=h-c|0;c=d+e|0;b=(d>>31)+b|0;C[a+120>>2]=c;C[a+124>>2]=c>>>0>>0?b+1|0:b;return-1}c=e+1|0;b=c?b:b+1|0;g=C[a+4>>2];h=C[a+8>>2];f=C[a+116>>2];i=f;e=C[a+112>>2];c:{if(!(f|e)){break c}f=e-c|0;e=i-(b+(c>>>0>e>>>0)|0)|0;j=h-g|0;i=j>>31;if((e|0)>=(i|0)&f>>>0>=j>>>0|(e|0)>(i|0)){break c}h=f+g|0}C[a+104>>2]=h;e=C[a+44>>2];f=e-g|0;c=f+c|0;b=(f>>31)+b|0;C[a+120>>2]=c;C[a+124>>2]=c>>>0>>0?b+1|0:b;if(e>>>0>=g>>>0){A[g-1|0]=d}return d}function TF(a,b){a=a|0;b=b|0;var c=0,d=J(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=f<<1;a:{if(f>>>0<4){break a}g=f>>>2|0;k=g-1|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);h=c+i|0;e=c+f|0;f=g&3;b:{if(!f){c=h;break b}while(1){c=h-8|0;e=e-4|0;d=G[e>>2];G[c>>2]=d;G[h-4>>2]=d;g=g-1|0;h=c;j=j+1|0;if((f|0)!=(j|0)){continue}break}}if(k>>>0<3){break a}while(1){d=G[e-4>>2];G[c-8>>2]=d;G[c-4>>2]=d;d=G[e-8>>2];G[c-16>>2]=d;G[c-12>>2]=d;d=G[e-12>>2];G[c-24>>2]=d;G[c-20>>2]=d;h=c-32|0;e=e-16|0;d=G[e>>2];G[h>>2]=d;G[c-28>>2]=d;c=h;g=g-4|0;if(g){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function LD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){n=d-2|0;o=d-1|0;p=(d|0)<4;while(1){f=d;k=a;a:{if(p){break a}h=o;f=h;i=a;g=a;j=d;b:{switch((a&3)-1|0){case 0:A[a|0]=c;i=a+1|0;h=n;case 1:A[i|0]=c;f=h-1|0;g=i+1|0;case 2:A[g|0]=c;k=g+1|0;j=f;if(f>>>0<4){break a}break;default:break b}}f=j>>>2|0;l=f+3>>>2|0;g=k;i=g;h=g;m=g;c:{d:{switch((f&3)-1|0){default:f=0;break c;case 0:f=3;break c;case 1:f=2;break c;case 2:break d}}f=1}while(1){e:{switch(f|0){case 0:C[g>>2]=c;i=g+4|0;f=1;continue;case 1:C[i>>2]=c;h=i+4|0;f=2;continue;case 2:C[h>>2]=c;m=h+4|0;f=3;continue;default:break e}}C[m>>2]=c;g=m+4|0;l=l-1|0;if(l){f=0;continue}else{f=j}break}}e=e-1|0;j=f&3;f:{if(!j){break f}f=(f&-4)+k|0;g:{switch(j-1|0){case 2:A[f|0]=c;f=f+1|0;case 1:A[f|0]=c;f=f+1|0;break;case 0:break g;default:break f}}A[f|0]=c}a=a+b|0;if(e){continue}break}}}function Jz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=85004;d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}i=a+16|0;a=d-1|0;while(1){g=a+f>>>1|0;d=I(g,12)+i|0;h=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);b:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){f=g+1|0;break b}e=I(g,12)+i|0;break a}a=g-1|0}if((a|0)>=(f|0)){continue}break}}a=0;d=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);c:{if(f>>>0>(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}d=b-f|0;b=D[e+8|0]|D[e+9|0]<<8|(D[e+10|0]<<16|D[e+11|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(!b){break c}C[c>>2]=b;a=1}return a}function iv(a,b){var c=0,d=0,e=0,f=0,g=0;e=-2;a:{if(!a|!C[a+32>>2]){break a}d=C[a+36>>2];if(!d){break a}c=C[a+28>>2];if(!c|C[c>>2]!=(a|0)|C[c+4>>2]-16180>>>0>31){break a}b:{if((b|0)<0){if(b>>>0<4294967281){break a}b=0-b|0;break b}f=(b>>>4|0)+5|0;b=b>>>0<48?b&15:b}if(b?b-8>>>0>=8:0){break a}g=C[c+56>>2];c:{if(!(C[c+40>>2]!=(b|0)?g:0)){C[c+40>>2]=b;C[c+12>>2]=f;break c}Fe[d|0](C[a+40>>2],g);C[c+56>>2]=0;d=C[a+32>>2];C[c+40>>2]=b;C[c+12>>2]=f;if(!d){break a}}if(!C[a+36>>2]){break a}b=C[a+28>>2];if(!b|C[b>>2]!=(a|0)|C[b+4>>2]-16180>>>0>31){break a}e=0;C[b+52>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+32>>2]=0;C[a+8>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;c=C[b+12>>2];if(c){C[a+48>>2]=c&1}C[b+60>>2]=0;C[b+64>>2]=0;C[b+36>>2]=0;C[b+24>>2]=32768;C[b+16>>2]=0;C[b+20>>2]=-1;C[b+4>>2]=16180;C[b+8>>2]=0;C[b+7108>>2]=1;C[b+7112>>2]=-1;a=b+1332|0;C[b+112>>2]=a;C[b+84>>2]=a;C[b+80>>2]=a}return e}function ao(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>2147483646){break b}if(!c){return 1}if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=c<<1;if(g>>>0>>0){break b}e=C[b+12>>2]-e|0;C[b+12>>2]=e;if((e|0)<=0){break b}i=C[b+4>>2];j=C[d>>2];while(1){d=(h<<1)+a|0;if(d>>>0>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}d=D[d|0]|D[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+j|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<4){break a}g=f-6|0;C[b+12>>2]=g;if((g|0)<=0){break a}f=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}c:{if(!f){break c}d=d+4|0;if(d>>>0>e>>>0){break a}e=e-d|0;d=f<<2;if(e>>>0>>0){break a}d=g-d|0;C[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return f}return 0}function $G(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=df(1,16);a:{if(!f){break a}d=C[a+44>>2];if((d|0)<=0){break a}e=C[a+48>>2];d=d-1|0;a=d;b:{while(1){b=a>>>1|0;if(!C[I(b,36)+e>>2]){a=C[(I(b,36)+e|0)+28>>2];break b}c=a>>>0>1;a=b-1|0;if(c){continue}break}a=0}C[f>>2]=a;b=0;a=d;c:{while(1){c=a+b>>>1|0;g=C[I(c,36)+e>>2];d:{if(g>>>0<=1818914159){b=C[(I(c,36)+e|0)+28>>2];if((g|0)==1818914159){break c}b=c+1|0;break d}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}C[f+4>>2]=b;b=0;a=d;e:{while(1){c=a+b>>>1|0;g=C[I(c,36)+e>>2];f:{if(g>>>0<=1986686319){b=C[(I(c,36)+e|0)+28>>2];if((g|0)==1986686319){break e}b=c+1|0;break f}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}C[f+8>>2]=b;a=0;g:{while(1){b=a+d>>>1|0;c=C[I(b,36)+e>>2];h:{if(c>>>0<=1953131887){a=C[(I(b,36)+e|0)+28>>2];if((c|0)==1953131887){break g}a=b+1|0;break h}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}C[f+12>>2]=a}return f|0}function DL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=C[a+532>>2];c=C[a+104>>2];d=C[a+100>>2];e=C[a+660>>2];if(e){Fe[e|0](C[a+656>>2])}if(b){Fe[C[b+12>>2]](a)}Wf(C[a+104>>2],a+700|0);C[a+696>>2]=0;e=C[a+104>>2];b=C[e+28>>2];f=C[a+720>>2];if(f){Fe[C[b+8>>2]](b,f)}C[a+720>>2]=0;Wf(e,a+704|0);b=C[a+648>>2];if(b){Fe[C[d+8>>2]](d,b)}C[a+644>>2]=0;C[a+648>>2]=0;Wf(c,a+632|0);Wf(c,a+640|0);C[a+636>>2]=0;C[a+628>>2]=0;b=C[a+676>>2];if(b){c=C[b+4>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+4>>2]=0;c=C[b+8>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+8>>2]=0;c=C[b+20>>2];if(c){if(C[b>>2]){e=0;while(1){f=e<<3;c=C[(f+c|0)+4>>2];if(c){Fe[C[d+8>>2]](d,c)}c=C[b+20>>2];C[(f+c|0)+4>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Fe[C[d+8>>2]](d,c)}C[b+20>>2]=0}c=C[b+28>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+28>>2]=0;c=C[b+36>>2];if(c){Fe[C[d+8>>2]](d,c)}C[b+36>>2]=0;if(b){Fe[C[d+8>>2]](d,b)}}C[a+676>>2]=0}}function hF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0),j=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+20>>2];h=G[c+16>>2];i=J(G[c+12>>2]*J(.09090909361839294));j=J(G[c+8>>2]*J(.20818181335926056));G[d>>2]=J(g*J(.15454545617103577))+J(J(h*J(.2518181800842285))+J(i+J(J(G[c>>2]*J(.294545441865921))+j)));G[d+4>>2]=J(g*J(.2518181800842285))+J(J(h*J(.15454545617103577))+J(i+J(J(G[c+4>>2]*J(.294545441865921))+j)));d=d+8|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/6<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function XM(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>F[b+160>>2]){tf(b,8)}c=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);h=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(!(c>>>0<16|c>>>0>C[b+160>>2]-a>>>0)&(c-16>>>0)/12>>>0>=h>>>0)){tf(b,8)}if(h){c=0;a=0;while(1){f=c;g=D[d+8|0]|D[d+9|0]<<8|(D[d+10|0]<<16|D[d+11|0]<<24);c=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>>0){tf(b,8)}if(!(!a|e>>>0>f>>>0)){tf(b,8)}a:{if(!C[b+164>>2]){break a}f=C[b+172>>2];e=c-e|0;if(f>>>0>=e>>>0&f-e>>>0>(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0){break a}tf(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function IE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);e=b<<1;a:{if(b>>>0<2){break a}d=b>>>1|0;h=d-1|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);b=f+b|0;c=e+f|0;f=d&3;if(f){while(1){c=c-4|0;b=b-2|0;G[c>>2]=J(B[b>>1])*J(30517578125e-15);d=d-1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}if(h>>>0<3){break a}while(1){G[c-4>>2]=J(B[b-2>>1])*J(30517578125e-15);G[c-8>>2]=J(B[b-4>>1])*J(30517578125e-15);G[c-12>>2]=J(B[b-6>>1])*J(30517578125e-15);c=c-16|0;b=b-8|0;G[c>>2]=J(B[b>>1])*J(30517578125e-15);d=d-4|0;if(d){continue}break}}A[a+24|0]=e;A[a+25|0]=e>>>8;A[a+26|0]=e>>>16;A[a+27|0]=e>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function vt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;a:{if(F[b+4>>2]>a>>>0){break a}f=C[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=C[b+12>>2];d=e-4|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>f>>>0|f-d>>>0<2){break a}h=e-6|0;C[b+12>>2]=h;if((h|0)<=0){break a}e=D[d|0]|D[d+1|0]<<8;if(e){d=a+4|0;if(f>>>0>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=h-d|0;C[b+12>>2]=d;if((d|0)<=0){break a}}e=D[a|0]|D[a+1|0]<<8;b:{if(!e){break b}C[g+12>>2]=c?C[c>>2]:0;if(!ut(a,b,a,g+12|0)){break a}if(!c|(D[a|0]|D[a+1|0]<<8)|C[c>>2]!=1936292453){break b}d=C[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=C[b+28>>2];if(d>>>0>31){break b}C[b+28>>2]=d+1;if(!D[b+24|0]){break b}d=e<<8|(e&65280)>>>8;A[a|0]=d;A[a+1|0]=d>>>8;C[g+8>>2]=C[c>>2];if(!ut(a,b,a,g+8|0)){break a}}i=1}Ce=g+16|0;return i}function Tk(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;d=C[a+4>>2];g=C[C[d+128>>2]+48>>2];f=C[d+440>>2];C[a+1376>>2]=C[d+436>>2];C[a+1380>>2]=f;h=C[d+448>>2];f=a+1384|0;C[f>>2]=C[d+444>>2];C[f+4>>2]=h;f=C[d+456>>2];C[a+1392>>2]=C[d+452>>2];C[a+1396>>2]=f;a:{b:{if(!g){h=b<<2;f=C[h+C[d+424>>2]>>2];C[c>>2]=f;d=C[C[d+428>>2]+h>>2];C[c+4>>2]=d;break b}d=Fe[C[C[g>>2]>>2]](C[g+4>>2],b,c)|0;if(d){break a}d=C[c+4>>2];f=C[c>>2]}d=Fe[C[a+1484>>2]](a,f,d)|0;if(d|!g){break a}if(!C[C[g>>2]+8>>2]){d=0;break a}c=C[a+32>>2];C[e+4>>2]=0;C[e>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+40>>2];C[e+8>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;c=C[a+44>>2];C[e+12>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;d=Fe[C[C[g>>2]+8>>2]](C[g+4>>2],b,0,e)|0;C[a+32>>2]=C[e>>2]<<16;C[a+40>>2]=C[e+8>>2]<<16;C[a+44>>2]=C[e+12>>2]<<16}Ce=e+16|0;return d}function Fk(a,b,c,d,e){C[a+8>>2]=c;C[a+4>>2]=b;C[a>>2]=0;c=C[c+16>>2];C[a+48>>2]=0;C[a+52>>2]=0;C[a+16>>2]=d;C[a+12>>2]=c;C[a+20>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;C[a+40>>2]=0;A[a+44|0]=0;C[a+64>>2]=84608;A[a+60|0]=0;C[a+56>>2]=65536;b=C[c+132>>2];a:{if(b){break a}while(1){d=C[c+48>>2];if(!d){b=84608;break a}b=df(1,4);if(!b){b=84608;C[c+132>>2]=84608;break a}_l(b,d);if(!C[c+132>>2]){C[c+132>>2]=b;break a}Ue(C[b>>2]);Re(b);b=C[c+132>>2];if(!b){continue}break}}b=C[b>>2];b=b?b:84608;c=C[b+12>>2];b=C[b+16>>2];C[a+72>>2]=0;C[a+68>>2]=b>>>0<12?84608:c;b:{if(!e){break b}b=C[e>>2];if(!b){break b}C[e>>2]=b+1}A[a+44|0]=0;c=e;C[a+52>>2]=c;d=C[a+12>>2];b=C[d+32>>2];if((b|0)==-1){b=Ng(d);c=C[a+52>>2]}A[a+60|0]=1;C[a+56>>2]=b;b=C[c+12>>2];C[a+24>>2]=b;c=C[c+16>>2];C[a+48>>2]=0;C[a+40>>2]=0;C[a+20>>2]=0;C[a+32>>2]=1073741823;C[a+28>>2]=b+c;return a}function rl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ce-32|0;Ce=b;a:{if(!(C[a>>2]==422838?a:0)){C[b>>2]=16603;Qe(19745,b);break a}if(C[a+8>>2]!=1){break a}c=C[a+40>>2];b:{if(C[a+44>>2]){C[b+28>>2]=0;C[b+24>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=C[a+12>>2];C[b+20>>2]=C[a+16>>2];if((sl(c,b+8|0,b+28|0,b+24|0)|0)<0){break b}nq(C[a+44>>2],b+8|0,C[c+4>>2],C[b+16>>2],C[b+20>>2],C[b+28>>2],C[b+24>>2]);rl(c);break b}if(c){C[b+8>>2]=0;C[b+28>>2]=0;f=a+56|0;d=C[a+4>>2];c:{if(!(!d|(d&-268435456)==268435456)){e=2;if((d|0)==844715353|(d|0)==1498831189){break c}e=(d|0)==1431918169?2:1;break c}e=d&255}g=C[a+60>>2];d=C[a+52>>2];h=C[a+48>>2];i=C[a+56>>2];if((sl(c,f,b+8|0,b+28|0)|0)<0){break b}Zi(C[a- -64>>2],C[a+68>>2],C[a+4>>2],(I(d,g)+h|0)+I(e,i)|0,d,C[c+4>>2],C[b+8>>2],C[b+28>>2]);rl(c);break b}c=C[a+36>>2];Fe[C[c+72>>2]](c,a)}Nf(C[a+72>>2]);C[a+72>>2]=0}Ce=b+32|0}function Ix(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ce-32|0;Ce=c;i=C[a+60>>2];d=gg(C[a>>2],C[a+4>>2]);f=(C[a>>2]+I(b,-11796480)|0)+5898240|0;Vf(c+24|0,i,f);C[c+24>>2]=C[c+24>>2]+C[a+8>>2];C[c+28>>2]=C[c+28>>2]+C[a+12>>2];j=(a- -64|0)+(b<<5)|0;b=(d|0)==11796480?I(b,23592960)-11796480|0:d;a:{if(!b){break a}k=(b|0)>=0?5898240:-5898240;while(1){g=c+16|0;d=(b|0)<=-5898240?-5898240:b;h=(d|0)>=5898240?5898240:d;d=h+f|0;Vf(g,i,d);C[c+16>>2]=C[c+16>>2]+C[a+8>>2];C[c+20>>2]=C[c+20>>2]+C[a+12>>2];l=c+8|0;e=h>>31;e=(e^h)-e>>>1|0;e=of(i,ek(e)<<2,I(fk(e),3)+196608|0);Vf(l,e,f+k|0);C[c+8>>2]=C[c+8>>2]+C[c+24>>2];C[c+12>>2]=C[c+12>>2]+C[c+28>>2];Vf(c,e,d-k|0);C[c>>2]=C[c>>2]+C[c+16>>2];C[c+4>>2]=C[c+4>>2]+C[c+20>>2];g=Rp(j,l,c,g);if(g){break a}f=C[c+20>>2];C[c+24>>2]=C[c+16>>2];C[c+28>>2]=f;f=d;b=b-h|0;if(b){continue}break}g=0}A[j+16|0]=0;Ce=c+32|0;return g}function Ji(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,o=0;a:{k=C[b+4>>2];if(k>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<3){break a}c=C[b+12>>2]-3|0;C[b+12>>2]=c;d=1;b:{if(!(D[a|0]|D[a+1|0]<<8)&(c|0)>0){break b}d=C[b+12>>2]-3|0;C[b+12>>2]=d;if((d|0)<=0){break a}c=D[a+2|0];if((c-1&255)>>>0>3){break a}f=a+3|0;if(f>>>0>e>>>0){break a}a=D[a|0]|D[a+1|0]<<8;l=(a<<8|a>>>8)&65535;h=I(c,l+1|0);if(h>>>0>e-f>>>0){break a}i=d-h|0;C[b+12>>2]=i;d=0;if((i|0)<=0){break b}m=(c|0)==1;n=(c|0)==2;o=(c|0)==3;a=0;while(1){d=a;g=I(a,c)+f|0;a=D[g|0];c:{if(m){break c}a=D[g+1|0]|a<<8;if(n){break c}a=D[g+2|0]|a<<8;if(o){break c}a=D[g+3|0]|a<<8}j=a>>>0>j>>>0?a:j;a=d+1|0;if((d|0)!=(l|0)){continue}break}a=j-1|0;if(!a){return 1}d=0;if((a|0)<0){break b}c=f+h|0;if(c>>>0>>0|c>>>0>e>>>0|a>>>0>e-c>>>0){break b}a=i-a|0;C[b+12>>2]=a;d=(a|0)>0}return d}return 0}function Nv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-48|0;Ce=d;i=C[a+456>>2];Lg(a,d+32|0,-1,-1);a:{if((Ee|0)<0){break a}h=a+120|0;e=-1;while(1){if(D[C[d+32>>2]+5|0]&2){break a}b:{c=C[d+32>>2];if((D[c+14|0]|D[c+15|0]<<8|(D[c+16|0]<<16|D[c+17|0]<<24))!=(i|0)){break b}Th(h,d+32|0);while(1){c=vh(h,d);if(c){if((c|0)<=0){continue}c=bp(b,d);if((c|0)<0){continue}e=(e|0)!=-1?c+e>>2:0;g=e+g|0;f=(e>>31)+f|0;f=e>>>0>g>>>0?f+1|0:f;e=c;continue}break}c=C[d+32>>2];if(((D[c+6|0]|D[c+7|0]<<8|(D[c+8|0]<<16|D[c+9|0]<<24))&(D[c+10|0]|D[c+11|0]<<8|(D[c+12|0]<<16|D[c+13|0]<<24)))==-1){break b}b=C[d+32>>2];e=D[b+6|0]|D[b+7|0]<<8|(D[b+8|0]<<16|D[b+9|0]<<24);a=g;g=e-a|0;f=(D[b+10|0]|D[b+11|0]<<8|(D[b+12|0]<<16|D[b+13|0]<<24))-(f+(a>>>0>e>>>0)|0)|0;break a}Lg(a,d+32|0,-1,-1);c=Ee;if((c|0)>0|(c|0)>=0){continue}break}}Ce=d+48|0;a=!!g&(f|0)>=0|(f|0)>0;b=a?g:0;Ee=a?f:0;return b}function Bf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(D[b|0]){g=H[b+8>>3];break a}A[b|0]=1;g=H[b+8>>3];f=H[a+128>>3];if(g>f){H[b+8>>3]=f;g=f;f=H[a+128>>3]}if(f>H[b+24>>3]){H[b+24>>3]=f}f=H[a+136>>3];if(f>3]){H[b+16>>3]=f;f=H[a+136>>3]}if(!(H[b+32>>3]>3]=f}f=H[c>>3];if(g>f){H[b+8>>3]=f;g=f;f=H[c>>3]}h=H[b+24>>3];if(f>h){H[b+24>>3]=f;h=f}i=H[b+16>>3];f=H[c+8>>3];if(i>f){H[b+16>>3]=f;i=f;f=H[c+8>>3]}j=H[b+32>>3];if(f>j){H[b+32>>3]=f;j=f}f=H[d>>3];if(f>3]=f;f=H[d>>3]}if(f>h){H[b+24>>3]=f}g=H[d+8>>3];if(i>g){H[b+16>>3]=g;g=H[d+8>>3]}if(g>j){H[b+32>>3]=g}c=C[e+4>>2];C[a+128>>2]=C[e>>2];C[a+132>>2]=c;c=C[e+12>>2];C[a+136>>2]=C[e+8>>2];C[a+140>>2]=c;g=H[a+128>>3];if(g>3]){H[b+8>>3]=g;g=H[a+128>>3]}if(H[b+24>>3]>3]=g}g=H[a+136>>3];if(g>3]){H[b+16>>3]=g;g=H[a+136>>3]}if(H[b+32>>3]>3]=g}}function NF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=I(h,5);a:{if(h>>>0<4){break a}e=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];C[d-4>>2]=0;c=d-12|0;C[c>>2]=0;C[c+4>>2]=0;G[d-16>>2]=f;d=d-20|0;G[d>>2]=f;c=e-1|0}else{c=e}if((e|0)==1){break a}while(1){f=G[g-4>>2];C[d-4>>2]=0;e=d-12|0;C[e>>2]=0;C[e+4>>2]=0;G[d-16>>2]=f;G[d-20>>2]=f;g=g-8|0;f=G[g>>2];e=d-32|0;C[e>>2]=0;C[e+4>>2]=0;C[d-24>>2]=0;G[d-36>>2]=f;d=d-40|0;G[d>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function li(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=J(0);e=D[a+8|0]|D[a+9|0]<<8;a:{if(!e){break a}g=D[a+6|0]|D[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=I(j,h)+k|0;f=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=D[a+10|0]|D[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=84608}b=D[a+6|0]|D[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=D[e+5|0]|D[e+4|0]<<8;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);f=b?b+a|0:84608;b=a;a=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);l=Lk(f,D[e+7|0]|D[e+6|0]<<8,c,d,a?b+a|0:84608)}return l}function iG(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:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(I(b,588)+I(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;h=C[(e<<2)+142368>>2];g=h&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=g>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&16383;break c}a=c>>>11|0;h=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{g=b+c>>>1|0;f=(g<<3)+144928|0;a=C[f>>2];f=C[f+4>>2]&2147483647;i=a&-2097152;h:{if((f|0)==(e|0)&i>>>0>h>>>0|e>>>0>>0){b=g-1|0;break h}if((e|0)==(f|0)&h>>>0<=i>>>0|e>>>0>>0){break g}c=g+1|0}if((b|0)>=(c|0)){continue}break b}break}b=a&2097151}if(b){break a}}return 0}C[d>>2]=b;return 1}function wp(a){var b=0,c=0,d=0,e=0,f=0,g=0;A[a+108|0]=0;b=C[a+16>>2];c=C[a+12>>2];C[a+44>>2]=c;C[a+48>>2]=b;b=C[a+24>>2];C[a+52>>2]=C[a+20>>2];C[a+56>>2]=b;b=C[a+32>>2];C[a+60>>2]=C[a+28>>2];C[a+64>>2]=b;C[a+68>>2]=C[a+36>>2];b=151;e=c&65535;a:{if(!e){break a}d=E[a+46>>1];if(!d){break a}b=C[a>>2];if(D[b+176|0]&8){f=a,g=Ze(e<<6,E[b+68>>1]),C[f+48>>2]=g;c=Ze(E[a+46>>1]<<6,E[b+68>>1]);C[a+52>>2]=c;f=a,g=Te(B[b+70>>1],c)+32&-64,C[f+56>>2]=g;f=a,g=Te(B[b+72>>1],C[a+52>>2])+32&-64,C[f+60>>2]=g;f=a- -64|0,g=Te(B[b+74>>1],C[a+52>>2])+32&-64,C[f>>2]=g;f=a,g=Te(B[b+76>>1],C[a+48>>2])+32&-64,C[f+68>>2]=g;d=E[a+46>>1];c=E[a+44>>1]}b=c&65535;b:{if(b>>>0>=d>>>0){B[a+80>>1]=c;C[a+72>>2]=65536;C[a+88>>2]=C[a+48>>2];c=Ze(d,b);break b}B[a+80>>1]=d;C[a+88>>2]=C[a+52>>2];f=a,g=Ze(b,d),C[f+72>>2]=g;c=65536}C[a+300>>2]=-1;A[a+108|0]=1;C[a+76>>2]=c;b=0}return b}function RG(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=df(1,8);a:{if(d){c=C[a+44>>2];b=0;b:{if((c|0)<=0){break b}e=C[a+48>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=C[I(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=C[(I(c,36)+e|0)+28>>2]}C[d>>2]=b;b=C[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Ls(a);C[d+4>>2]=a;if(a){break a}Re(d)}d=0}return d|0}function Ij(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ce-288|0;Ce=f;C[f+284>>2]=d;a:{if(!C[94761]|b>>>0>6){break a}d=C[105658];b:{c:{if(d){while(1){if(C[d>>2]==(a|0)){e=d+4|0;break c}d=C[d+8>>2];if(d){continue}break}}e=379040;d=1;d:{switch(a|0){case 2:e=379036;break c;case 8:break b;case 0:break c;default:break d}}e=379032}d=C[e>>2]}if(b>>>0>>0){break a}if(!C[105657]){h=422628,i=zj(),C[h>>2]=i}d=C[f+284>>2];C[f+12>>2]=d;d=cn(f+16|0,256,c,d);if((d|0)<0){break a}e=f+16|0;if(d>>>0>=256){d=d+1|0;e=Fe[C[94762]](d>>>0<=1?1:d)|0;if(e){C[94766]=C[94766]+1}if(!e){break a}g=C[f+284>>2];C[f+12>>2]=g;d=cn(e,d,c,g)}e:{if((d|0)<=0){break e}c=d+e|0;g=c-1|0;if(D[g|0]!=10){break e}A[g|0]=0;if(d>>>0<2){break e}c=c-2|0;if(D[c|0]!=13){break e}A[c|0]=0}Fe[C[94761]](C[105659],a,b,e);if((f+16|0)==(e|0)){break a}if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}}Ce=f+288|0}function Gt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=C[a+80>>2];if(k){l=C[a+100>>2];h=C[a+92>>2];while(1){a:{b:{f=I(e,20);c=f+h|0;if(Fe[b|0](c)|0){f=C[c+8>>2];c:{d:{e:{d=e+1|0;if(d>>>0>>0){if(C[(I(d,20)+h|0)+8>>2]!=(f|0)){break e}break a}if(g){break d}break b}if(!g){break c}}i=C[(I(g,20)+h|0)-12>>2];if(i>>>0<=f>>>0){break a}j=C[c+4>>2]&1;e=g;while(1){e=e-1|0;c=I(e,20)+h|0;if((i|0)!=C[c+8>>2]){break a}C[c+4>>2]=j|C[c+4>>2]&-2;C[c+8>>2]=f;if(e){continue}break}break a}fg(a,e,e+2|0);break b}if((e|0)!=(g|0)){j=C[c+4>>2];i=I(g,20);d=i+h|0;C[d>>2]=C[c>>2];C[d+4>>2]=j;C[d+16>>2]=C[c+16>>2];j=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=j;d=i+l|0;c=f+l|0;C[d+16>>2]=C[c+16>>2];f=C[c+12>>2];C[d+8>>2]=C[c+8>>2];C[d+12>>2]=f;f=C[c+4>>2];C[d>>2]=C[c>>2];C[d+4>>2]=f}g=g+1|0;d=e+1|0;break a}g=0}e=d;if((k|0)!=(d|0)){continue}break}}C[a+80>>2]=g}function Ar(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ce-48|0;Ce=e;a:{if(!a){C[e>>2]=3486;Qe(19745,e);break a}g=C[a+8>>2];if(!g){break a}f=C[a+12>>2];if(!f){break a}i=C[a+20>>2];if(!i){Qe(19417,0);break a}if(!b){C[e+16>>2]=6239;Qe(19745,e+16|0);break a}h=C[a+4>>2];j=D[h+8|0];if(j>>>0<=7){b:{if(C[b>>2]|(c|0)!=1|(C[b+4>>2]|(g|0)!=C[b+8>>2])){break b}if((f|0)!=C[b+12>>2]|(j|0)!=4){break b}mf(i,(d<<4|d)&255,I(f,C[a+16>>2]));break a}Qe(5453,0);break a}f=388;c:{d:{switch(D[h+9|0]-1|0){case 1:d=d<<16|d;f=389;break c;case 3:f=390;break c;default:Qe(4974,0);break a;case 2:break c;case 0:break d}}d=d<<8|d;d=d<<16|d;f=391}if((c|0)<=0){break a}i=a+36|0;g=0;while(1){if(yg((g<<4)+b|0,i,e+32|0)){h=C[a+16>>2];Fe[f|0]((C[a+20>>2]+I(h,C[e+36>>2])|0)+I(C[e+32>>2],D[C[a+4>>2]+9|0])|0,h,d,C[e+40>>2],C[e+44>>2])}g=g+1|0;if((g|0)!=(c|0)){continue}break}}Ce=e+48|0}function gF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+20>>2];h=G[c+16>>2];i=J(G[c+8>>2]*J(.2290000021457672));G[d>>2]=J(g*J(.17000000178813934))+J(J(h*J(.2770000100135803))+J(J(G[c>>2]*J(.3240000009536743))+i));G[d+4>>2]=J(g*J(.2770000100135803))+J(J(h*J(.17000000178813934))+J(J(G[c+4>>2]*J(.3240000009536743))+i));G[d+8>>2]=G[c+12>>2];d=d+12|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/6|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Im(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){return 0}b=C[a>>2];a=C[a+4>>2];if(!b){b=a;a=a>>31;return(b^a)-a|0}c=b>>31;c=(c^b)-c|0;if(a){f=c;c=a>>31;i=f|(c^a)-c;h=L(i);j=h-2|0;a:{if(i>>>0<=1073741823){a=a<>c;b=b>>c}e=0-a|0;d=0-b|0;b:{if((a|0)>(b|0)){b=(a|0)>(d|0);c=b?d:e;b=b?a:d;break b}f=a;a=(a|0)<(d|0);c=a?b:f;b=a?e:b}a=1;d=1;while(1){e=a+b>>d;g=(c|0)>0;e=(g?0-e|0:e)+c|0;f=b;b=a+c>>d;b=f+(g?b:0-b|0)|0;g=a<<1;k=d+1|0;c=b+g>>k;f=(e|0)>0;c=e+(f?0-c|0:c)|0;e=e+g>>k;b=b+(f?e:0-e|0)|0;a=a<<2;d=d+2|0;if((d|0)!=23){continue}break}a=b>>31;c=(a^b)-a|0;d=c&65535;a=I(d,56281);e=c>>>16|0;c=a+I(e,23318)|0;g=c<<16;d=g+I(d,23318)|0;a=(((I(e,56281)+(c>>>16|0)|0)+((a>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(b|0)<0?0-a|0:a;if(i>>>0<=536870911){return a+(1<>j}c=a<<2-h}return c}function FH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=D[a+2|0]|D[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=84608}c=0;e=C[b+100>>2];e=zf(d,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((e|0)==-1){break a}d=D[a+4|0]|D[a+5|0]<<8;if(e>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}c=1;a=(e<<1)+a|0;a=D[a+6|0]|D[a+7|0]<<8;e=(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;d=E[a+12>>1]&96;f=a+12|0,g=_g(C[b+108>>2],e)|d|16,B[f>>1]=g}a=C[b+100>>2];if(!$e(a,1,1)){break a}b=C[a+76>>2];b:{if(b>>>0>2]){c=C[a+92>>2]+I(b,20)|0;b=C[a+84>>2];d=C[a+96>>2];break b}d=C[a+96>>2];b=C[a+84>>2];c=b-1|0;c=d+I(b>>>0>=c>>>0?c:0,20)|0}b=I(b,20)+d|0;d=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;C[b>>2]=e;c=1;C[a+76>>2]=C[a+76>>2]+1;C[a+84>>2]=C[a+84>>2]+1}return c|0}function Hy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=C[a+2984>>2]&4;f=64;a:{if(k){break a}f=(e|0)==1?55:49;if(!(!(A[b+12|0]&1)|!(A[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=C[c+4>>2];m=C[b+4>>2];i=Tm(a,e,l-m|0);b:{c:{d:{e:{n=(((l+m|0)/2|0)+d|0)+((i|0)/-2|0)|0;a=n&63;f:{if(!a){break f}g=i+n&63;if(!g){break f}d=64-a|0;if((f|0)>=(i|0)){if((g|0)>=(i|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!k){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}j=i&63;if(j>>>0>31){break e}if(d>>>0<=j>>>0){break f}if(g>>>0>j>>>0){break d}}a=(h|0)<=-14?-14:h;break b}j=64-f|0}e=d-j|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-j|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)<=-14?-14:d;a=(a|0)>=14?14:a}d=k?h:a;f=d+n|0;e=f+i|0;a=(l|0)>(m|0);C[b+8>>2]=a?f:e;C[c+8>>2]=a?e:f;return d}function pD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=C[a+24>>2];l=C[a+16>>2]+(e+((e+7|0)/-8|0)|0)|0;i=C[a+56>>2];m=C[a+36>>2];b=C[a+20>>2];c=C[a>>2];f=C[a+28>>2];g=C[a+48>>2];a:{if(g){if(!f){break a}k=(e|0)<=0;while(1){f=f-1|0;a=0;d=0;if(!k){while(1){if(!(d&7)){a=D[c|0];c=c+1|0}j=a>>>7&1;if((j|0)!=(i|0)){A[b|0]=D[g+j|0]}a=a<<1;b=b+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}b=b+m|0;c=c+l|0;if(f){continue}break}break a}if(!f){break a}k=e&-2;j=e&1;while(1){f=f-1|0;b:{if((e|0)<=0){break b}a=0;d=0;g=0;if((e|0)!=1){while(1){if(!(d&6)){a=D[c|0];c=c+1|0}h=a>>>7&1;if((h|0)!=(i|0)){A[b|0]=h}h=a>>>6&1;if((h|0)!=(i|0)){A[b+1|0]=h}d=d+2|0;a=a<<2;b=b+2|0;g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(!j){break b}if(!(d&7)){a=D[c|0];c=c+1|0}a=a>>>7&1;if((a|0)!=(i|0)){A[b|0]=a}b=b+1|0}b=b+m|0;c=c+l|0;if(f){continue}break}}}function dF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0),i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/6|0,7);if(d>>>0>=24){f=(d>>>0)/24|0;g=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=g+c|0;d=d+g|0;while(1){h=G[d-4>>2];i=G[d-8>>2];G[e-8>>2]=i*J(.7960000038146973);G[e-4>>2]=h*J(.7960000038146973);G[e-12>>2]=J(h*J(.5))+J(i*J(.5));G[e-16>>2]=G[d-12>>2];G[e-20>>2]=G[d-16>>2]*J(.9399999976158142);G[e-24>>2]=G[d-20>>2]*J(.9399999976158142);e=e-28|0;d=d-24|0;G[e>>2]=G[d>>2]*J(.9399999976158142);f=f-1|0;if(f){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Xm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=(a+1|0)/2|0;i=(d+1|0)/2|0;k=(f+1|0)/2|0;j=(b+1|0)/2|0;c=I(b,d)+c|0;d=I(b,f)+e|0;a:{if((c|0)!=(d|0)){f=c;break a}e=I(i,j)<<1;f=Fe[C[94762]](e>>>0<=1?1:e)|0;if(f){C[94766]=C[94766]+1}if(!f){return _e(0)}gf(f,c,e);l=f}if(b+2>>>0>=3){c=i-h|0;k=k-h<<1;e=I(i,j)+f|0;b=g?e:f;f=g?f:e;e=h&3;i=a+2>>>0<3;m=h-1>>>0<3;while(1){j=j-1|0;b:{if(i){break b}g=0;a=h;if(e){while(1){A[d|0]=D[b|0];A[d+1|0]=D[f|0];d=d+2|0;f=f+1|0;b=b+1|0;a=a-1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(m){break b}while(1){A[d|0]=D[b|0];A[d+1|0]=D[f|0];A[d+2|0]=D[b+1|0];A[d+3|0]=D[f+1|0];A[d+4|0]=D[b+2|0];A[d+5|0]=D[f+2|0];A[d+6|0]=D[b+3|0];A[d+7|0]=D[f+3|0];d=d+8|0;f=f+4|0;b=b+4|0;a=a-4|0;if(a){continue}break}}d=d+k|0;f=c+f|0;b=b+c|0;if(j){continue}break}}if(l){Fe[C[94765]](l);C[94766]=C[94766]-1}return 0}function Wm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=(a+1|0)/2|0;j=(f+1|0)/2|0;k=(d+1|0)/2|0;i=(b+1|0)/2|0;c=I(b,d)+c|0;d=I(b,f)+e|0;a:{if((c|0)!=(d|0)){f=c;break a}e=I(i,k)<<1;f=Fe[C[94762]](e>>>0<=1?1:e)|0;if(f){C[94766]=C[94766]+1}if(!f){return _e(0)}gf(f,c,e);l=f}if(b+2>>>0>=3){c=j-h|0;k=k-h<<1;e=d+I(i,j)|0;b=g?e:d;d=g?d:e;g=h&3;j=a+2>>>0<3;m=h-1>>>0<3;while(1){i=i-1|0;b:{if(j){break b}e=0;a=h;if(g){while(1){A[b|0]=D[f|0];A[d|0]=D[f+1|0];d=d+1|0;f=f+2|0;b=b+1|0;a=a-1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(m){break b}while(1){A[b|0]=D[f|0];A[d|0]=D[f+1|0];A[b+1|0]=D[f+2|0];A[d+1|0]=D[f+3|0];A[b+2|0]=D[f+4|0];A[d+2|0]=D[f+5|0];A[b+3|0]=D[f+6|0];A[d+3|0]=D[f+7|0];d=d+4|0;f=f+8|0;b=b+4|0;a=a-4|0;if(a){continue}break}}d=c+d|0;b=b+c|0;f=f+k|0;if(i){continue}break}}if(l){Fe[C[94765]](l);C[94766]=C[94766]-1}return 0}function _s(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=C[b+4>>2];if(h>>>0>a>>>0){return 0}f=C[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=C[b+12>>2];g=i-2|0;C[b+12>>2]=g;e=1;if((g|0)<=0){return 0}g=D[a|0]|D[a+1|0]<<8;a:{if(!g){break a}b:{c=((g<<8|g>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break b}d=C[d>>2];g=i-4|0;C[b+12>>2]=g;if((g|0)<=0){break b}e=D[c|0]|D[c+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0>=4294967295/(d>>>0)>>>0?d:0){break b}d=I(d,e);if(d>>>0>2147483646){break b}e=1;if(!d){break a}h=c+2|0;if(h>>>0>f>>>0){break b}e=f-h|0;f=d<<1;if(e>>>0>>0){break b}e=g-f|0;C[b+12>>2]=e;f=0;if((e|0)<=0){break b}while(1){if(!Vl(h+(f<<1)|0,b,c)){break b}e=1;f=f+1|0;if((d|0)!=(f|0)){continue}break}break a}c=C[b+28>>2];if(c>>>0>31){return 0}C[b+28>>2]=c+1;e=0;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;e=1}return e}function kJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=C[a+840>>2];Kf(b,C[a>>2],5);a:{if(C[a>>2]<=0){break a}e=-1;while(1){c=(d<<2)+a|0;Kf(b,C[c+4>>2],4);c=C[c+4>>2];e=(c|0)<(e|0)?e:c;d=d+1|0;if((d|0)>2]){continue}break}c=0;if((e|0)<0){break a}while(1){f=(c<<2)+a|0;Kf(b,C[f+128>>2]-1|0,3);Kf(b,C[f+192>>2],2);b:{if(C[f+192>>2]){Kf(b,C[f+256>>2],8);if(C[f+192>>2]==31){break b}}d=0;while(1){Kf(b,C[(((c<<5)+a|0)+(d<<2)|0)+320>>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}}Kf(b,C[a+832>>2]-1|0,2);c=g-1|0;Kf(b,ug(c),4);g=ug(c);f=C[a>>2];if((f|0)>0){e=0;d=0;c=0;while(1){c=C[((C[((e<<2)+a|0)+4>>2]<<2)+a|0)+128>>2]+c|0;if((c|0)>(d|0)){while(1){Kf(b,C[((d<<2)+a|0)+844>>2],g);d=d+1|0;if((c|0)!=(d|0)){continue}break}f=C[a>>2];d=c}e=e+1|0;if((f|0)>(e|0)){continue}break}}}function An(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-16|0;Ce=g;a:{if(!a){C[g>>2]=16229;i=Qe(19745,g);break a}f=C[a+4>>2];if(f){k=C[f>>2]}if(!c){break a}l=C[a>>2];j=C[a+12>>2];while(1){b:{d=C[a+4>>2];c:{if(d){e=C[d>>2];if(j>>>0>e>>>0){break c}}d=C[a+8>>2];d:{if(d){C[a+8>>2]=C[d+8>>2];break d}d=C[a+12>>2]+12|0;d=Fe[C[94762]](d>>>0<=1?1:d)|0;if(d){C[94766]=C[94766]+1}if(!d){break b}}e=0;C[d+8>>2]=0;C[d>>2]=0;C[d+4>>2]=0;h=C[a+4>>2];C[(h?h+8|0:a)>>2]=d;C[a+4>>2]=d}h=(d+e|0)+12|0;e=j-e|0;e=c>>>0>>0?c:e;gf(h,b,e);C[d>>2]=e+C[d>>2];C[a+16>>2]=e+C[a+16>>2];b=b+e|0;c=c-e|0;if(c){continue}break a}break}e:{if(!f){d=C[a>>2];break e}C[f>>2]=k;d=C[f+8>>2];C[f+8>>2]=0}C[a+8>>2]=0;C[a+4>>2]=f;C[a>>2]=l;if(d){while(1){a=C[d+8>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}d=a;if(d){continue}break}}i=_e(0)}Ce=g+16|0;return i}function AH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=D[a+2|0]|D[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=84608}f=C[b+100>>2];c=zf(c,C[C[f+92>>2]+I(C[f+76>>2],20)>>2]);a:{if((c|0)==-1){break a}f=84608;d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=D[f|0]|D[f+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535;c=f+2|0;while(1){a=D[c|0]|D[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=84608}d=D[a|0]|D[a+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+a|0;d=i+2|0;e=D[d|0]|D[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=D[d|0]|D[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=D[e+2|0]|D[e+3|0]<<8;e=Wl(b,h,a+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,46536);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e|0}function kC(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){n=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;b=C[h>>2];m=b>>>24|0;c=b&255;e=C[l>>2];j=e&255;d=b>>>8&255;b=b>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){case 0:m=255;b=e;d=k;c=j;break a;case 1:c=c+j|0;c=c>>>0>=255?255:c;d=d+k|0;d=d>>>0>=255?255:d;b=b+e|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,j)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,e)>>>0)/255|0;break a;case 7:break b;default:break a}}m=255;c=(I(c,j)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,e)>>>0)/255|0}C[h>>2]=d<<8|b<<16|c|m<<24;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(c){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function VB(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){n=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;b=C[h>>2];m=b>>>24|0;c=b&255;e=C[l>>2];j=e&255;d=b>>>8&255;b=b>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){case 0:m=255;b=j;d=k;c=e;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;d=d+k|0;d=d>>>0>=255?255:d;b=b+j|0;b=b>>>0>=255?255:b;break a;case 3:c=(I(c,e)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,j)>>>0)/255|0;break a;case 7:break b;default:break a}}m=255;c=(I(c,e)>>>0)/255|0;d=(I(d,k)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[h>>2]=d<<8|b<<16|c|m<<24;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(c){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function JE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);f=e<<2;a:{if(!e){break a}b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=b+e|0;d=b+f|0;g=e&3;b:{if(!g){b=e;break b}b=e;while(1){d=d-4|0;c=c-1|0;G[d>>2]=J(A[c|0])*J(.0078125);b=b-1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(e>>>0<4){break a}while(1){G[d-4>>2]=J(A[c-1|0])*J(.0078125);G[d-8>>2]=J(A[c-2|0])*J(.0078125);G[d-12>>2]=J(A[c-3|0])*J(.0078125);d=d-16|0;c=c-4|0;G[d>>2]=J(A[c|0])*J(.0078125);b=b-4|0;if(b){continue}break}}A[a+24|0]=f;A[a+25|0]=f>>>8;A[a+26|0]=f>>>16;A[a+27|0]=f>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function IF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=(g|0)/2<<2;a:{if(g>>>0<8){break a}f=g>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+h|0;e=c+g|0;if(g&8){c=d-8|0;C[c>>2]=0;C[c+4>>2]=0;G[d-12>>2]=G[e-4>>2];d=d-16|0;e=e-8|0;G[d>>2]=G[e>>2];c=f-1|0}else{c=f}if((f|0)==1){break a}while(1){f=d-8|0;C[f>>2]=0;C[f+4>>2]=0;G[d-12>>2]=G[e-4>>2];G[d-16>>2]=G[e-8>>2];f=d-24|0;C[f>>2]=0;C[f+4>>2]=0;G[d-28>>2]=G[e-12>>2];d=d-32|0;e=e-16|0;G[d>>2]=G[e>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function og(a,b){var c=0,d=0,e=0,f=0;a:{if(F[b+4>>2]>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=C[b+12>>2];f=e-2|0;C[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=D[a|0]|D[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=I((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;C[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function of(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|(b|0)==(c|0))){e=a>>31|1;e=(b|0)<0?0-e|0:e;h=(c|0)<0?0-e|0:e;e=2147483647;a:{if(!c){break a}b:{d=b;b=b>>31;b=(d^b)-b|0;d=a;a=a>>31;f=(d^a)-a|0;a=c>>31;a=(a^c)-a|0;if(b+f>>>0<=129894-(a>>>17|0)>>>0){c=I(b,f)+(a>>>1|0)|0;break b}c=b>>>16|0;d=f>>>16|0;g=I(c,f&65535)+I(d,b&65535)|0;i=(g>>>16|0)+I(c,d)|0;d=a>>>1|0;b=I(b,f);c=d+b|0;d=(i+(c>>>0>>0)|0)+(b>>>0>>0)|0;if(!d){break b}if(a>>>0<=d>>>0){break a}b=L(d);f=32-b|0;d=c>>>f|d<>>0)/(a>>>0)|0;d=d-I(a,e)|0;c=c<>>31;f=d>>>0>=a>>>0;d=d-(f?a:0)|0;e=f|e<<1;f=b^31;c=c<<1}if((b|0)==31){break a}while(1){d=d<<1|c>>>31;b=d>>>0>=a>>>0;d=c>>>30&1|d-(b?a:0)<<1;g=d>>>0>=a>>>0;d=d-(g?a:0)|0;e=g|(e<<2|b<<1);c=c<<2;f=f-2|0;if(f){continue}break}break a}e=(c>>>0)/(a>>>0)|0}a=(h|0)<0?0-e|0:e}return a}function oF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=20){f=(e>>>0)/20|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+16>>2];h=G[c+12>>2];i=J(G[c+8>>2]*J(.1111111119389534));G[d>>2]=J(g*J(.19555555284023285))+J(J(h*J(.3191111087799072))+J(J(G[c>>2]*J(.3742222189903259))+i));G[d+4>>2]=J(g*J(.3191111087799072))+J(J(h*J(.19555555284023285))+J(J(G[c+4>>2]*J(.3742222189903259))+i));d=d+8|0;c=c+20|0;f=f-1|0;if(f){continue}break}}c=(e|0)/5<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function TM(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>F[b+160>>2]){tf(b,8)}d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(!(d>>>0<16|d>>>0>C[b+160>>2]-a>>>0)&(d-16>>>0)/12>>>0>=g>>>0)){tf(b,8)}if(g){a=0;while(1){d=a;f=D[c+8|0]|D[c+9|0]<<8|(D[c+10|0]<<16|D[c+11|0]<<24);a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);e=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(a>>>0>>0){tf(b,8)}if(!(!h|d>>>0>>0)){tf(b,8)}if(!(!C[b+164>>2]|F[b+172>>2]>(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0)){tf(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function FO(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 j=0;p(a,0,1500);j=Vi(C[b+96>>2],6758);if(!j){return 7}A[a+68|0]=1;C[a+64>>2]=0;C[a+1348>>2]=j;C[a+8>>2]=d;C[a+4>>2]=b;C[a>>2]=C[b+100>>2];a:{if(!d){break a}j=C[C[d+156>>2]>>2];C[a+12>>2]=j;C[a+20>>2]=j+56;C[a+16>>2]=j+20;Wi(j);c=C[c+40>>2];C[a+72>>2]=0;C[a+76>>2]=c;if(!g){break a}C[a+72>>2]=C[C[d+156>>2]+36>>2]}C[a+24>>2]=0;C[a+28>>2]=0;c=C[54860];C[a+80>>2]=C[54859];C[a+84>>2]=c;C[a+40>>2]=0;C[a+44>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;c=C[54862];C[a+88>>2]=C[54861];C[a+92>>2]=c;c=C[54864];C[a+96>>2]=C[54863];C[a+100>>2]=c;c=C[54866];C[a+104>>2]=C[54865];C[a+108>>2]=c;C[a+1352>>2]=C[b+16>>2];C[a+1468>>2]=h;C[a+1356>>2]=e;C[a+1472>>2]=i;C[a+1464>>2]=f;b=C[54868];C[a+1476>>2]=C[54867];C[a+1480>>2]=b;C[a+1484>>2]=C[54869];return 0}function px(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;c=C[a>>2];C[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=D[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 e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=Jp(d+12|0,b);break c}e=ox(d+12|0,b);break c}e=37;j:{while(1){k:{switch((e&255)-10|0){case 0:case 3:break j;default:break k}}c=c+1|0;if((c|0)!=(b|0)){e=D[c|0];continue}break}c=b}C[d+12>>2]=c}e=0}c=C[d+12>>2]+1|0;C[d+12>>2]=c;if(!e&b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}C[a>>2]=c;Ce=d+16|0;return b}function Ps(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=D[b+2|0]|D[b+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+b|0}else{c=84608}f=C[a+100>>2];c=zf(c,C[C[f+92>>2]+I(C[f+76>>2],20)>>2]);a:{if((c|0)==-1){break a}f=84608;d=D[b+4|0]|D[b+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+b|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+b|0}b=D[f|0]|D[f+1|0]<<8;if(!b){break a}g=(b<<8|b>>>8)&65535;c=f+2|0;while(1){b=D[c|0]|D[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=84608}d=D[b|0]|D[b+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+b|0;d=i+2|0;e=D[d|0]|D[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=D[d|0]|D[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=D[e+2|0]|D[e+3|0]<<8;e=Wl(a,h,b+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,46536);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e}function No(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(F[b+4>>2]>a>>>0){break a}f=C[b+8>>2];if(f>>>0<=a>>>0){break a}e=C[b+12>>2];c=e-1|0;C[b+12>>2]=c;d=1;if((c|0)<=0){break a}g=b;b:{c:{d:{switch(D[a|0]){case 0:if(f-a>>>0<4){break a}e=e-5|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[a+2|0]|D[a+3|0]<<8;if(!c){break b}b=a+4|0;if(b>>>0>f>>>0){break a}d=0;a=I((D[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(a>>>0>f-b>>>0){break b}a=e-a|0;break c;case 1:break d;default:break b}}if(f-a>>>0<6){break a}e=e-7|0;C[b+12>>2]=e;if((e|0)<=0){break a}d=D[a+2|0]|D[a+3|0]<<8|(D[a+4|0]<<16|D[a+5|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=(D[a+1|0]>>>4&3)+1|0;if(d>>>0>=4294967295/(c>>>0)>>>0){break a}c=I(d,c);if(!c){return 1}a=a+6|0;if(a>>>0>f>>>0){break a}d=0;if(c>>>0>f-a>>>0){break b}a=e-c|0}C[g+12>>2]=a;d=(a|0)>0}return d}return 0}function OF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=0;h=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);i=h<<2;a:{if(h>>>0<4){break a}e=h>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+i|0;g=c+h|0;if(h&4){g=g-4|0;f=G[g>>2];c=d-8|0;C[c>>2]=0;C[c+4>>2]=0;G[d-12>>2]=f;d=d-16|0;G[d>>2]=f;c=e-1|0}else{c=e}if((e|0)==1){break a}while(1){f=G[g-4>>2];e=d-8|0;C[e>>2]=0;C[e+4>>2]=0;G[d-12>>2]=f;G[d-16>>2]=f;g=g-8|0;f=G[g>>2];e=d-24|0;C[e>>2]=0;C[e+4>>2]=0;G[d-28>>2]=f;d=d-32|0;G[d>>2]=f;c=c-2|0;if(c){continue}break}}A[a+24|0]=i;A[a+25|0]=i>>>8;A[a+26|0]=i>>>16;A[a+27|0]=i>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function WE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=32){e=d>>>5|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+28>>2]*J(.1251250058412552))+J(J(G[c+24>>2]*J(.1251250058412552))+J(J(G[c+20>>2]*J(.1251250058412552))+J(J(G[c+16>>2]*J(.1251250058412552))+J(J(G[c+12>>2]*J(.125))+J(J(G[c+8>>2]*J(.1251250058412552))+J(J(G[c>>2]*J(.1251250058412552))+J(G[c+4>>2]*J(.1251250058412552))))))));f=f+4|0;c=c+32|0;e=e-1|0;if(e){continue}break}}c=(d|0)/8|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function fF(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=24){g=(f>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=J(G[c+12>>2]*J(.0476190485060215));h=J(G[c+8>>2]*J(.3942857086658478));G[d>>2]=e+J(J(G[c>>2]*J(.5580952763557434))+h);G[d+4>>2]=e+J(J(G[c+4>>2]*J(.5580952763557434))+h);G[d+8>>2]=e+J(G[c+16>>2]*J(.5580952763557434));G[d+12>>2]=e+J(G[c+20>>2]*J(.5580952763557434));d=d+16|0;c=c+24|0;g=g-1|0;if(g){continue}break}}c=(f|0)/6<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function kF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/5|0,7);if(d>>>0>=20){g=(d>>>0)/20|0;h=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h+c|0;d=d+h|0;while(1){f=G[d-4>>2];i=G[d-8>>2];G[e-8>>2]=i*J(.7960000038146973);G[e-4>>2]=f*J(.7960000038146973);G[e-12>>2]=J(f*J(.5))+J(i*J(.5));f=G[d-12>>2];C[e-20>>2]=0;G[e-16>>2]=f;G[e-24>>2]=G[d-16>>2]*J(.9399999976158142);e=e-28|0;d=d-20|0;G[e>>2]=G[d>>2]*J(.9399999976158142);g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Sw(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=of(h,f-c|0,j)+b|0;i=C[a>>2];f=f>>i;c=0;break b}i=C[a>>2];f=c>>i;c=C[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=C[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=of(h,C[a+4>>2]-c|0,j)+b|0;break c}if(!D[a+87|0]){break c}C[a+40>>2]=C[a+40>>2]-4}A[a+87|0]=!d;if(D[a+86|0]){C[C[a+88>>2]+20>>2]=f;A[a+86|0]=0}g=e-f|0;c=g+1|0;if(F[a+36>>2]<=C[a+40>>2]+(c<<2)>>>0){C[a+44>>2]=98;return 1}d=1;e=C[a+4>>2];d:{if((h|0)>0){f=mq(e,h,j);break d}d=-1;h=0-h|0;f=0-mq(e,h,j)|0}h=(I(C[a+4>>2],h)|0)%(j|0)|0;e=C[a+40>>2];if((g|0)>=0){g=0-j|0;while(1){C[e>>2]=b;g=g+h|0;i=(g|0)>=0;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=c>>>0>1;c=c-1|0;if(i){continue}break}}C[a+40>>2]=e}return 0}function GN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{g=C[a+4>>2];j=0-g|0;l=c-1|0;h=j&g+l;i=d&j;b:{if((h|0)<=(i|0)){b=C[a>>2];d=h;break b}if((g+i|0)!=(h|0)){break a}g=i;c:{d:{e:{k=E[e+12>>1];m=k&7;switch(m|0){case 0:break c;case 4:break d;case 1:case 5:break e;default:break a}}if(!(C[e+28>>2]!=(f|0)|C[e+16>>2]>0)&(!(k&16)|C[a+8>>2]>(d-c|0))|!(C[f+28>>2]!=(e|0)|C[e+20>>2]!=(b|0))&(!(k&32)|C[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}}g=C[a+8>>2]+((d+l|0)/2|0)&j}b=C[a>>2];d=h;d=(g|0)>=0?E[a+56>>1]>g>>>b>>>0?g:i:d;c=((h|0)==(d|0)?i:h)>>b;if((c|0)<0|c>>>0>=E[a+56>>1]){break b}if(D[C[a+60>>2]+(C[a+148>>2]+(c<<13>>16)|0)|0]<<(c&7)&128){break a}}b=d>>b;if((b|0)<0|b>>>0>=E[a+56>>1]){break a}a=C[a+60>>2]+(C[a+148>>2]+(b>>>3&65535)|0)|0;A[a|0]=D[a|0]|128>>>(b&7)}}function GE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);a:{if(b>>>0<4){break a}c=b>>>2|0;f=c-1|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c&3;if(d){while(1){G[b>>2]=J(C[b>>2]>>8)*J(1.1920930376163597e-7);b=b+4|0;c=c-1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(f>>>0<3){break a}while(1){G[b>>2]=J(C[b>>2]>>8)*J(1.1920930376163597e-7);G[b+4>>2]=J(C[b+4>>2]>>8)*J(1.1920930376163597e-7);G[b+8>>2]=J(C[b+8>>2]>>8)*J(1.1920930376163597e-7);G[b+12>>2]=J(C[b+12>>2]>>8)*J(1.1920930376163597e-7);b=b+16|0;c=c-4|0;if(c){continue}break}}b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function xm(a){var b=0,c=0,d=0,e=0;c=Ce-128|0;Ce=c;a:{if(C[94461]!=(a|0)){break a}d=1;if(C[94462]){break a}d=0;C[c+48>>2]=C[94459];b=c- -64|0;rf(b,64,8193,c+48|0);if(bg(b,0)){break a}b:{b=C[94464];if(!b){break b}if((Fe[b|0]()|0)>=0){break b}if(!bg(24518,0)){break a}b=C[94459];C[105732]=128;C[105731]=422944;e=34979;c:{if(!C[105730]){break c}e=C[105731]}C[c+36>>2]=e;C[c+32>>2]=b;Tg(34407,c+32|0);break a}d=1;C[94462]=1}b=d;d:{if(C[94441]!=(a|0)){break d}b=1;if(C[94442]){break d}C[c+16>>2]=C[94439];a=c- -64|0;rf(a,64,8193,c+16|0);e:{f:{if(bg(a,0)){break f}a=C[94444];if(!a){break e}if((Fe[a|0]()|0)>=0){break e}if(!bg(24518,0)){break f}b=C[94439];C[105732]=128;C[105731]=422944;a=34979;g:{if(!C[105730]){break g}a=C[105731]}C[c+4>>2]=a;C[c>>2]=b;Tg(34407,c)}b=d;break d}C[94442]=1;b=1}Ce=c+128|0;return b}function vp(a,b,c,d){var e=0,f=0,g=J(0);e=Ce-128|0;Ce=e;a:{b:{if(F[a+16>>2]<=c>>>0){break b}c:{f=C[C[a>>2]>>2];f=f?f:84608;f=F[f+16>>2]<20?84608:C[f+12>>2];f=D[f+4|0]|D[f+5|0]<<8;if(C[b+60>>2]==((f<<8|f>>>8)&65535)){C[e+52>>2]=2139095039;C[e+56>>2]=-8388609;C[e+60>>2]=-8388609;C[e+24>>2]=2139095039;C[e+28>>2]=-8388609;C[e+32>>2]=-8388609;C[e+48>>2]=2139095039;C[e+44>>2]=e- -64;f=C[e+48>>2];C[e+16>>2]=C[e+44>>2];C[e+20>>2]=f;C[e+40>>2]=0;C[e+36>>2]=b;f=C[e+40>>2];C[e+8>>2]=C[e+36>>2];C[e+12>>2]=f;if(Ap(a,b,c,e+8|0)){break c}}if(d){a=tw(C[a+8>>2],c);break a}a=tw(C[a+4>>2],c);break a}if(d){g=J(G[e+104>>2]-G[e+120>>2])}else{g=J(G[e+84>>2]-G[e+68>>2])}g=J(O(J(g+J(.5))));g=g>=J(0)?g:J(0);g=g<=J(2147483648)?g:J(2147483648);if(!(g=J(0))){break b}a=~~g>>>0;break a}a=0}Ce=e+128|0;return a}function uM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ce-16|0;Ce=e;g=C[b+28>>2];C[a+360>>2]=b;c=Fe[C[a+508>>2]](a,1851878757,b,e+8|0)|0;a:{if(c){break a}h=C[b+8>>2];c=Ff(b,284064,a+344|0);C[e+12>>2]=c;if(c){break a}c=145;f=C[a+348>>2];d=I(f,12);i=(d+h|0)+6|0;j=C[e+8>>2]+h|0;if(i>>>0>j>>>0){break a}C[a+348>>2]=0;k=a,l=Ve(g,20,0,f,0,e+12|0),C[k+356>>2]=l;c=C[e+12>>2];if(c){break a}c=Cf(b,d);C[e+12>>2]=c;if(c){break a}c=C[a+356>>2];if(f){while(1){d=Ff(b,284096,c);C[e+12>>2]=d;b:{if(d){break b}d=E[c+8>>1];if(!d){break b}g=C[c+12>>2]+(C[a+352>>2]+h|0)|0;C[c+12>>2]=g;if(!(d+g>>>0<=j>>>0&g>>>0>=i>>>0)){B[c+8>>1]=0;C[c+12>>2]=0;break b}c=c+20|0}f=f-1|0;if(f){continue}break}d=C[a+356>>2]}else{d=c}C[a+348>>2]=(c-d|0)/20;xf(b);B[a+340>>1]=C[a+348>>2];c=C[e+12>>2]}Ce=e+16|0;return c|0}function Fg(a){var b=0,c=0,d=0;a:{if(!$e(a,0,1)){b=C[a+84>>2];break a}b=C[a+76>>2];b:{if(b>>>0>2]){c=C[a+84>>2];d=C[a+96>>2];b=C[a+92>>2]+I(b,20)|0;break b}d=C[a+96>>2];c=C[a+84>>2];b=c-1|0;b=d+I(b>>>0<=c>>>0?b:0,20)|0}c=I(c,20)+d|0;d=C[b+4>>2];C[c>>2]=C[b>>2];C[c+4>>2]=d;C[c+16>>2]=C[b+16>>2];d=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=d;C[c>>2]=9676;b=C[a+84>>2]+1|0;C[a+84>>2]=b}c=b-1|0;b=C[a+96>>2]+I(b>>>0>=c>>>0?c:0,20)|0;B[b+16>>1]=E[b+16>>1]&65407;c:{if(D[a+73|0]){d:{if(C[a+96>>2]==C[a+92>>2]){b=C[a+84>>2];if((b|0)==C[a+76>>2]){break d}}if(!$e(a,1,1)){break c}c=C[a+92>>2]+I(C[a+76>>2],20)|0;d=C[c+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=C[a+76>>2]+1}}function bF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=28){e=(d>>>0)/28|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+24>>2]*J(.14314284920692444))+J(J(G[c+20>>2]*J(.14314284920692444))+J(J(G[c+16>>2]*J(.14314284920692444))+J(J(G[c+12>>2]*J(.1428571492433548))+J(J(G[c+8>>2]*J(.14314284920692444))+J(J(G[c>>2]*J(.14314284920692444))+J(G[c+4>>2]*J(.14314284920692444)))))));f=f+4|0;c=c+28|0;e=e-1|0;if(e){continue}break}}c=(d|0)/7|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function ns(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=1;e=C[a>>2];c=C[e+88>>2];a:{if(!(A[e+8|0]&1)){C[a+8>>2]=C[c+24>>2]+63>>6;f=C[c+28>>2]+63>>6;C[a+12>>2]=f;c=C[c+32>>2]+63>>6;C[a+16>>2]=c;C[a+4>>2]=c;d=(f|0)/-2|0;break a}b=C[c+20>>2];h=a,i=Te(B[e+70>>1],b)+63>>6,C[h+8>>2]=i;h=a,i=Te(B[e+72>>1],b)+63>>6,C[h+12>>2]=i;h=a,i=Te(B[e+70>>1]-B[e+72>>1]|0,b)+63>>6,C[h+4>>2]=i;h=a,i=Te(B[e+74>>1],b)+63>>6,C[h+16>>2]=i;c=Te(B[e+80>>1],b);b=Te(B[e+82>>1],b)>>6;b=(b|0)<=1?1:b;d=0-(c>>6)|0}C[a+40>>2]=b;c=C[a+4>>2];f=(c|0)/2|0;d=(d+C[a+8>>2]|0)-1|0;g=C[a+24>>2];if((g|0)>0){b=(g<<1)+b|0;C[a+40>>2]=b;d=d-g|0;f=f-g|0}f=(f|0)>0?f:0;C[a+48>>2]=f;d=(d|0)>0?d:0;C[a+44>>2]=d;g=C[a+20>>2];if(g&4){d=b+d|0;c=(c|0)>(d|0)?c:d;C[a+4>>2]=c}if(g&8){b=b+f|0;C[a+4>>2]=(b|0)<(c|0)?c:b}C[a+36>>2]=E[C[e+88>>2]+14>>1]/10}function rF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0),i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/4|0,7);if(d>>>0>=16){g=d>>>4|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){h=G[d-4>>2];i=G[d-8>>2];f=e-20|0;C[f>>2]=0;C[f+4>>2]=0;G[e-8>>2]=i*J(.7960000038146973);G[e-4>>2]=h*J(.7960000038146973);G[e-12>>2]=J(h*J(.5))+J(i*J(.5));G[e-24>>2]=G[d-12>>2]*J(.9399999976158142);e=e-28|0;d=d-16|0;G[e>>2]=G[d>>2]*J(.9399999976158142);g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function tC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=C[a+28>>2];b=e-1|0;C[a+28>>2]=b;if(e){m=(C[a+52>>2]&240)-16>>>4|0;h=C[a+20>>2];i=C[a>>2];while(1){j=h;e=i;k=C[a+24>>2];if(k){while(1){k=k-1|0;c=C[j>>2];b=c&255;d=C[e>>2];l=d&255;f=c>>>8&255;g=c>>>16&255;c=d>>>8&255;d=d>>>16&255;a:{b:{switch(m|0){case 0:g=d;f=c;b=l;break a;case 1:b=b+l|0;b=b>>>0>=255?255:b;c=c+f|0;f=c>>>0>=255?255:c;d=d+g|0;g=d>>>0>=255?255:d;break a;case 3:b=(I(b,l)>>>0)/255|0;f=(I(c,f)>>>0)/255|0;g=(I(d,g)>>>0)/255|0;break a;case 7:break b;default:break a}}b=(I(b,l)>>>0)/255|0;f=(I(c,f)>>>0)/255|0;g=(I(d,g)>>>0)/255|0}C[j>>2]=f<<8|g<<16|b;j=j+4|0;e=e+4|0;if(k){continue}break}e=C[a+28>>2]}else{e=b}b=e-1|0;C[a+28>>2]=b;h=C[a+32>>2]+h|0;i=C[a+12>>2]+i|0;if(e){continue}break}C[a+20>>2]=h;C[a>>2]=i}}function nF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=20){f=(e>>>0)/20|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+16>>2];h=G[c+12>>2];G[d>>2]=J(g*J(.2199999988079071))+J(J(G[c>>2]*J(.42100000381469727))+J(h*J(.35899999737739563)));G[d+4>>2]=J(g*J(.35899999737739563))+J(J(G[c+4>>2]*J(.42100000381469727))+J(h*J(.2199999988079071)));G[d+8>>2]=G[c+8>>2];d=d+12|0;c=c+20|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/5|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function $B(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=C[a+28>>2];b=d-1|0;C[a+28>>2]=b;if(d){m=(C[a+52>>2]&240)-16>>>4|0;h=C[a+20>>2];i=C[a>>2];while(1){j=h;d=i;k=C[a+24>>2];if(k){while(1){k=k-1|0;e=C[j>>2];b=e&255;c=C[d>>2];l=c&255;f=e>>>8&255;g=e>>>16&255;e=c>>>8&255;c=c>>>16&255;a:{b:{switch(m|0){case 0:b=l;f=e;g=c;break a;case 1:c=c+g|0;g=c>>>0>=255?255:c;c=f+e|0;f=c>>>0>=255?255:c;b=b+l|0;b=b>>>0>=255?255:b;break a;case 3:g=(I(c,g)>>>0)/255|0;f=(I(f,e)>>>0)/255|0;b=(I(b,l)>>>0)/255|0;break a;case 7:break b;default:break a}}g=(I(c,g)>>>0)/255|0;f=(I(f,e)>>>0)/255|0;b=(I(b,l)>>>0)/255|0}C[j>>2]=f<<8|b|g<<16;j=j+4|0;d=d+4|0;if(k){continue}break}d=C[a+28>>2]}else{d=b}b=d-1|0;C[a+28>>2]=b;h=C[a+32>>2]+h|0;i=C[a+12>>2]+i|0;if(d){continue}break}C[a+20>>2]=h;C[a>>2]=i}}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,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;a:{if(d&16){if(!c){break a}d=0;while(1){i=(d<<2)+e|0;b:{if(D[a+292|0]){Fe[C[C[a+532>>2]+112>>2]](a,1,b+d|0,f+14|0,f+12|0);g=E[f+12>>1];break b}if(E[a+364>>1]!=65535){g=B[a+434>>1]-B[a+436>>1]|0;h=g>>31;g=(h^g)-h|0;break b}g=B[a+220>>1]-B[a+222>>1]|0;h=g>>31;g=(h^g)-h|0}C[i>>2]=g&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!c){break a}d=0;if((c|0)!=1){h=c&-2;while(1){i=f+10|0;g=f+8|0;Fe[C[C[a+532>>2]+112>>2]](a,0,b+d|0,i,g);C[(d<<2)+e>>2]=E[f+8>>1];j=d|1;Fe[C[C[a+532>>2]+112>>2]](a,0,j+b|0,i,g);C[(j<<2)+e>>2]=E[f+8>>1];d=d+2|0;k=k+2|0;if((h|0)!=(k|0)){continue}break}}if(!(c&1)){break a}Fe[C[C[a+532>>2]+112>>2]](a,0,b+d|0,f+10|0,f+8|0);C[(d<<2)+e>>2]=E[f+8>>1]}Ce=f+16|0;return 0}function pK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-272|0;Ce=d;Fe[C[b+60>>2]](b,d+80|0,16,d+76|0);f=C[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=C[a+528>>2];j=C[b+8>>2];k=C[b>>2];f=0;while(1){c=(d+80|0)+I(g,12)|0;C[b>>2]=C[c>>2];C[b+8>>2]=C[c+4>>2];Fe[C[b+60>>2]](b,d+16|0,4,d+12|0);e=C[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=zm(a,C[d+76>>2],e);if(c){break a}i=C[a+528>>2];c=C[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+I(c,12)|0;C[b>>2]=C[h>>2];C[b+8>>2]=C[h+4>>2];h=Fe[C[b+40>>2]](b,0)|0;C[C[e+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}C[b+8>>2]=j;C[b>>2]=k;c=0}C[b+12>>2]=c;Ce=d+272|0}function Sf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(b>>>0>=c>>>0){break a}h=C[a+92>>2];j=c-b|0;k=j&3;e=-1;f=b;l=(f^-1)+c|0;if(l>>>0>=3){i=j&-4;while(1){d=I(f,20)+h|0;g=C[d+8>>2];e=e>>>0>>0?e:g;g=C[d+28>>2];e=e>>>0>>0?e:g;g=C[d+48>>2];e=e>>>0>>0?e:g;d=C[d+68>>2];e=d>>>0>e>>>0?e:d;f=f+4|0;m=m+4|0;if((i|0)!=(m|0)){continue}break}}if(k){d=0;while(1){i=C[(I(f,20)+h|0)+8>>2];e=e>>>0>>0?e:i;f=f+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}f=C[a+36>>2];if(j&1){d=I(b,20)+h|0;if(C[d+8>>2]!=(e|0)){f=f|16;C[a+36>>2]=f;C[d+4>>2]=C[d+4>>2]|1}b=b+1|0}if(!l){break a}while(1){d=I(b,20)+h|0;if(C[d+8>>2]!=(e|0)){f=f|16;C[a+36>>2]=f;C[d+4>>2]=C[d+4>>2]|1}d=I(b+1|0,20)+h|0;if(C[d+8>>2]!=(e|0)){f=f|16;C[a+36>>2]=f;C[d+4>>2]=C[d+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}}}function uF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0),i=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=16){f=e>>>4|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+12>>2];h=G[c+8>>2];G[d>>2]=J(g*J(.2199999988079071))+J(J(G[c>>2]*J(.42100000381469727))+J(h*J(.35899999737739563)));i=G[c+4>>2];C[d+8>>2]=0;G[d+4>>2]=J(g*J(.35899999737739563))+J(J(i*J(.42100000381469727))+J(h*J(.2199999988079071)));d=d+12|0;c=c+16|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/4|0,3);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Fo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=J(0),k=J(0),l=J(0),m=0,n=0;e=D[a+2|0]|D[a+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){return J(0)}e=D[a|0]|D[a+1|0]<<8;if(!e){return J(1)}f=a;a=(e<<8|e>>>8)&65535;m=(f+I(I(a,b),6)|0)+4|0;n=a>>>0<=1?1:a;b=0;j=J(1);while(1){a=0;a=b>>>0>>0?C[(b<<2)+c>>2]:a;k=j;f=I(b,6)+m|0;g=D[f+2|0]|D[f+3|0]<<8;h=(g<<8|g>>>8)<<16>>16;e=D[f|0]|D[f+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;a:{b:{if((h|0)<(i|0)){break b}e=D[f+4|0]|D[f+5|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)<(h|0)){break b}if(!(!g|((e|0)<=0|(i|0)>=0))){break b}if(!g|(a|0)==(h|0)){break b}if((a|0)<=(i|0)){return J(0)}if((a|0)>=(e|0)){return J(0)}j=J(0);f=a-i|0;g=e-a|0;a=(a|0)<(h|0);l=J(J((a?f:g)|0)/J((a?h-i|0:e-h|0)|0));if(l==J(0)){break a}k=J(k*l)}j=k;b=b+1|0;if((n|0)!=(b|0)){continue}}break}return j}function $n(a,b){var c=0,d=0,e=0;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=C[b+12>>2];d=e-12|0;C[b+12>>2]=d;if((D[a|0]|D[a+1|0]<<8)!=256|(d|0)<=0){break a}d=a+6|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=e-14|0;C[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0]|D[d+1|0]<<8;b:{if(!c){break b}if(Tt(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[d|0]=0;A[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=C[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=D[d|0]|D[d+1|0]<<8;c:{if(!e){break c}if(Tt(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=C[b+28>>2];if(a>>>0>31){break a}C[b+28>>2]=a+1;c=0;if(!D[b+24|0]){break c}A[d|0]=0;A[d+1|0]=0;c=1}return c}return 0}function pC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){m=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;d=C[h>>2];c=d&255;e=C[l>>2];j=e&255;b=d>>>8&255;d=d>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(m|0){case 0:c=e;b=k;d=j;break a;case 1:d=d+j|0;d=d>>>0>=255?255:d;b=b+k|0;b=b>>>0>=255?255:b;c=c+e|0;c=c>>>0>=255?255:c;break a;case 3:d=(I(d,j)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;c=(I(c,e)>>>0)/255|0;break a;case 7:break b;default:break a}}d=(I(d,j)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;c=(I(c,e)>>>0)/255|0}C[h>>2]=b<<8|c|d<<16;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}b=c;c=b-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(b){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function eC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){m=(C[a+52>>2]&240)-16>>>4|0;f=C[a+20>>2];g=C[a>>2];while(1){h=f;l=g;i=C[a+24>>2];if(i){while(1){i=i-1|0;d=C[h>>2];c=d&255;e=C[l>>2];j=e&255;b=d>>>8&255;d=d>>>16&255;k=e>>>8&255;e=e>>>16&255;a:{b:{switch(m|0){case 0:d=j;b=k;c=e;break a;case 1:c=c+e|0;c=c>>>0>=255?255:c;b=b+k|0;b=b>>>0>=255?255:b;d=d+j|0;d=d>>>0>=255?255:d;break a;case 3:c=(I(c,e)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;d=(I(d,j)>>>0)/255|0;break a;case 7:break b;default:break a}}c=(I(c,e)>>>0)/255|0;b=(I(b,k)>>>0)/255|0;d=(I(d,j)>>>0)/255|0}C[h>>2]=b<<8|d<<16|c;h=h+4|0;l=l+4|0;if(i){continue}break}c=C[a+28>>2]}b=c;c=b-1|0;C[a+28>>2]=c;f=C[a+32>>2]+f|0;g=C[a+12>>2]+g|0;if(b){continue}break}C[a+20>>2]=f;C[a>>2]=g}}function SR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=J(0),j=0,k=0,l=J(0);a=Ce-16|0;Ce=a;b=1;a:{if(!(D[C[c+4>>2]+49|0]&32)){break a}i=G[c+16>>2];if(+W()==+i){break a}k=c,l=J(+W()),G[k+16>>2]=l;b=0}e=C[c+4>>2];if((C[e+48>>2]&4129)==32){d=+C[e+24>>2];H[a+8>>3]=d;f=+C[e+28>>2];H[a>>3]=f;if(C[c+20>>2]){U(C[c+12>>2],a+8|0,a|0)|0;f=H[a>>3];d=H[a+8>>3]}g=f;f=+G[c+16>>2];g=g*f;b:{if(K(g)<2147483648){e=~~g;break b}e=-2147483648}j=C[c+12>>2];d=d*f;c:{if(K(d)<2147483648){h=~~d;break c}h=-2147483648}V(j|0,h|0,e|0)|0;if(!(C[c+20>>2]|G[c+16>>2]==J(1))){aa(C[c+12>>2],+H[a+8>>3],+H[a>>3])|0}c=C[c+4>>2];if(!b){C[c+24>>2]=0;C[c+28>>2]=0}d=H[a>>3];d:{if(K(d)<2147483648){b=~~d;break d}b=-2147483648}d=H[a+8>>3];e:{if(K(d)<2147483648){e=~~d;break e}e=-2147483648}dg(c,5,e,b)}Ce=a+16|0;return 0}function hv(a){var b=0,c=0,d=J(0),e=J(0),f=0,g=J(0);f=(w(a),j(2));c=f&2147483647;if(c>>>0>=1283457024){return((w(a),j(2))&2147483647)>>>0>2139095040?a:(l(2,(w(a),j(2))&-2147483648|1070141402),v())}a:{b:{if(c>>>0<=1054867455){b=-1;if(c>>>0>=964689920){break b}break a}a=J(K(a));if(c>>>0<=1066926079){if(c>>>0<=1060110335){a=J(J(J(a+a)+J(-1))/J(a+J(2)));b=0;break b}a=J(J(a+J(-1))/J(a+J(1)));b=1;break b}if(c>>>0<=1075576831){a=J(J(a+J(-1.5))/J(J(a*J(1.5))+J(1)));b=2;break b}a=J(J(-1)/a);b=3}e=J(a*a);d=J(e*e);g=J(d*J(J(d*J(-.106480173766613))+J(-.19999158382415771)));d=J(e*J(J(d*J(J(d*J(.06168760731816292))+J(.14253635704517365)))+J(.333333283662796)));if(c>>>0<=1054867455){return J(a-J(a*J(g+d)))}b=b<<2;a=J(G[b+360304>>2]-J(J(J(a*J(g+d))-G[b+360320>>2])-a));a=(f|0)<0?J(-a):a}return a}function JF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=J(0);f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);g=I((f|0)/2|0,3);a:{if(f>>>0<8){break a}h=f>>>3|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+g|0;e=c+f|0;if(f&8){C[d-4>>2]=0;G[d-8>>2]=G[e-4>>2];d=d-12|0;e=e-8|0;G[d>>2]=G[e>>2];c=h-1|0}else{c=h}if((h|0)==1){break a}while(1){C[d-4>>2]=0;G[d-8>>2]=G[e-4>>2];i=G[e-8>>2];C[d-16>>2]=0;G[d-12>>2]=i;G[d-20>>2]=G[e-12>>2];d=d-24|0;e=e-16|0;G[d>>2]=G[e>>2];c=c-2|0;if(c){continue}break}}A[a+24|0]=g;A[a+25|0]=g>>>8;A[a+26|0]=g>>>16;A[a+27|0]=g>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function nI(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;f=Ce-32|0;Ce=f;d=C[a+28>>2];C[f+16>>2]=d;g=C[a+20>>2];C[f+28>>2]=c;C[f+24>>2]=b;b=g-d|0;C[f+20>>2]=b;g=b+c|0;i=2;a:{b:{b=f+16|0;d=Ba(C[a+60>>2],b|0,2,f+12|0)|0;if(d){C[105782]=d;d=-1}else{d=0}c:{d:{if(d){d=b;break d}while(1){e=C[f+12>>2];if((e|0)==(g|0)){break c}if((e|0)<0){d=b;break b}h=C[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=e-(j?h:0)|0;C[d>>2]=h+C[d>>2];b=(j?12:4)+b|0;C[b>>2]=C[b>>2]-h;g=g-e|0;b=d;i=i-j|0;e=Ba(C[a+60>>2],b|0,i|0,f+12|0)|0;if(e){C[105782]=e;e=-1}else{e=0}if(!e){continue}break}}if((g|0)!=-1){break b}}b=C[a+44>>2];C[a+28>>2]=b;C[a+20>>2]=b;C[a+16>>2]=b+C[a+48>>2];a=c;break a}C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a>>2]=C[a>>2]|32;a=0;if((i|0)==2){break a}a=c-C[d+4>>2]|0}Ce=f+32|0;return a|0}function _O(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;a:{if(C[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=D[a|0];g=a&15;a=g+(a>>>4|0)|0;if((a<<1)+d>>>0>b>>>0){break a}b=Ve(C[c>>2],4,0,a,0,f+12|0);e=C[f+12>>2];if(e){break a}C[c+76>>2]=b;C[c- -64>>2]=(g<<2)+b;e=0;if(!a){break a}c=a-1|0;g=a&3;if(g){while(1){h=D[d|0]|D[d+1|0]<<8;C[b>>2]=(h<<8|h>>>8)<<16>>16;b=b+4|0;a=a-1|0;d=d+2|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(c>>>0>=3){while(1){c=D[d|0]|D[d+1|0]<<8;C[b>>2]=(c<<8|c>>>8)<<16>>16;c=D[d+2|0]|D[d+3|0]<<8;C[b+4>>2]=(c<<8|c>>>8)<<16>>16;c=D[d+4|0]|D[d+5|0]<<8;C[b+8>>2]=(c<<8|c>>>8)<<16>>16;c=D[d+6|0]|D[d+7|0]<<8;C[b+12>>2]=(c<<8|c>>>8)<<16>>16;b=b+16|0;d=d+8|0;a=a-4|0;if(a){continue}break}}e=C[f+12>>2]}Ce=f+16|0;return e|0}function Yo(a,b,c,d){var e=0,f=0,g=0,h=0;e=C[c>>2];h=C[d>>2];a:{if(h>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(A[a+h|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;h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}C[c>>2]=e;C[d>>2]=h;return e>>>3&1}function IG(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;g=Ce-16|0;Ce=g;a:{b:{c:{d:{if((b|0)<=2963){if(b-2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b-3548>>>0<3){break c}a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;a=Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0;break b}e:{f:{f=C[C[a>>2]+112>>2];if(D[f+5|0]){break f}e=C[a+8>>2];C[g+12>>2]=0;h=e;i=C[e+76>>2];e=C[e+72>>2];if(!(Fe[C[e+156>>2]](h,i,b,g+12|0,C[e+20>>2])|0)|!C[f+52>>2]){break e}h=C[C[a+8>>2]+16>>2];e=0;while(1){if(th(h,E[C[f+48>>2]+(e<<3)>>1],g+12|0,1,D[f+56|0])){break f}e=e+1|0;if(e>>>0>2]){continue}break}break e}C[c>>2]=3545;C[d>>2]=b;f=1;break a}a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;a=Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0}f=(a|0)!=0}Ce=g+16|0;return f|0}function iP(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=C[C[a+96>>2]+8>>2];C[a+20>>2]=0;C[a+24>>2]=0;c=C[a+100>>2];b=c;d=C[a+368>>2];if(d){Fe[C[b+8>>2]](b,d)}C[a+368>>2]=0;b=C[a+372>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+372>>2]=0;b=C[a+376>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+376>>2]=0;b=C[a+364>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+360>>2]=0;C[a+364>>2]=0;C[a+348>>2]=0;C[a+352>>2]=0;b=C[a+388>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+380>>2]=0;C[a+384>>2]=0;C[a+388>>2]=0;b=C[a+416>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+408>>2]=0;C[a+412>>2]=0;C[a+416>>2]=0;b=C[a+396>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+392>>2]=0;C[a+396>>2]=0;b=C[a+424>>2];if(b){while(1){d=C[b>>2];if(b){Fe[C[c+8>>2]](c,b)}b=d;if(b){continue}break}}C[a+428>>2]=0;C[a+420>>2]=0;C[a+424>>2]=0;b=C[a+32>>2];if(b){Fe[C[e+8>>2]](e,b)}C[a+32>>2]=0}}function eF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=J(G[c+8>>2]*J(.414000004529953));G[d>>2]=J(G[c>>2]*J(.5860000252723694))+g;G[d+4>>2]=J(G[c+4>>2]*J(.5860000252723694))+g;G[d+8>>2]=G[c+12>>2];G[d+12>>2]=G[c+16>>2]*J(.5860000252723694);G[d+16>>2]=G[c+20>>2]*J(.5860000252723694);d=d+20|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=I((e|0)/6|0,5);A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function _n(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>357913940){break b}if(!c){return 1}if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=I(c,12);if(g>>>0>>0){break b}e=C[b+12>>2]-e|0;C[b+12>>2]=e;if((e|0)<=0){break b}i=C[b+4>>2];j=C[d>>2];e=0;while(1){d=I(e,12)+a|0;if(d>>>0>>0){break a}f=C[b+8>>2];if(f>>>0>>0|f-d>>>0<12){break a}g=C[b+12>>2]-12|0;C[b+12>>2]=g;if((g|0)<=0){break a}c:{h=D[d+2|0]|D[d+3|0]<<8;if(!h){break c}d=D[d+4|0]|D[d+5|0]<<8|(D[d+6|0]<<16|D[d+7|0]<<24);d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+j|0;if(d>>>0>>0|d>>>0>f>>>0){break a}f=f-d|0;d=((h<<8|h>>>8)&65535)<<2;if(f>>>0>>0){break a}d=g-d|0;C[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return f}return 0}function Wz(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,k=0,l=0;g=C[a+20>>2];a:{if((g|0)<=0){break a}f=C[a>>2];h=g-1|0;e=g+1<<1;b:{while(1){d=h+k|0;l=d>>>1|0;i=d&-2;j=i+f|0;d=D[j|0]|D[j+1|0]<<8;c:{if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){d=e+j|0;d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break b}h=l-1|0;break c}k=l+1|0}if((h|0)>=(k|0)){continue}break}d=0;break a}f=i>>1;d=i+C[a+12>>2]|0;e=D[d|0]|D[d+1|0]<<8;d:{if(e){d=0;e=f+(b-g|0)+(((e<<8|e>>>8)&65534)>>>1)|0;b=C[a+4>>2]+(f<<1)|0;b=D[b|0]|D[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=F[a+24>>2]){break d}b=C[a+16>>2]+(b<<1)|0;b=D[b|0]|D[b+1|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535}d=0;a=C[a+8>>2]+(f<<1)|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break a}C[c>>2]=a;d=1}}return d|0}function rt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=a+2|0;a:{if(c>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[c|0]|D[c+1|0]<<8;b:{if(!d){break b}if(og(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[c|0]=0;A[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=C[b+12>>2]-2|0;C[b+12>>2]=e;if((e|0)<=0){break a}c=D[c|0]|D[c+1|0]<<8;if(!c){return 1}f=a+6|0;if(d>>>0>>0){break a}c=(c<<8|c>>>8)&65535;g=c<<1;if(g>>>0>d-f>>>0){break a}d=e-g|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=c>>>0<=1?1:c;c=0;while(1){h=mt(((c<<1)+a|0)+6|0,b,a);if(!h){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return h}function WO(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,j=0,k=0,l=0,m=0,n=0,o=0;j=Ce-16|0;Ce=j;e=6;a:{if((b|0)<0|C[a+16>>2]<=(b|0)){break a}e=C[a+8>>2];f=C[a+4>>2];h=f+d|0;if(e>>>0>>0){g=C[a>>2];k=c-g|0;m=(k|0)>=0&e>>>0>k>>>0;while(1){e=((e>>>2|0)+e|0)+1024&-1024;if(h>>>0>e>>>0){continue}break}l=C[a+32>>2];f=hf(l,e,j+12|0);C[a>>2]=f;h=C[j+12>>2];if(h){C[a>>2]=g;e=h;break a}if(g){t(f,g,C[a+8>>2]);f=C[a+16>>2];if((f|0)>0){n=C[a>>2]-g|0;i=C[a+24>>2];o=i+(f<<2)|0;while(1){f=C[i>>2];if(f){C[i>>2]=f+n}i=i+4|0;if(o>>>0>i>>>0){continue}break}}if(g){Fe[C[l+8>>2]](l,g)}}C[a+8>>2]=e;c=m?C[a>>2]+(m?k:-1)|0:c;e=0;if(h){break a}f=C[a+4>>2]}b=b<<2;C[b+C[a+24>>2]>>2]=C[a>>2]+f;C[b+C[a+28>>2]>>2]=d;t(C[a>>2]+f|0,c,d);C[a+4>>2]=C[a+4>>2]+d;e=0}Ce=j+16|0;return e|0}function JA(a){a=a|0;var 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;b=C[a+28>>2];d=b-1|0;C[a+28>>2]=d;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;e=C[a+20>>2];while(1){c=C[a+24>>2];if(c){j=h>>>16|0;k=C[a>>2];g=c;d=e;b=i;if(c&1){b=C[(I(C[a+12>>2],j)+k|0)+n>>2];C[e>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);d=e+4|0;g=c-1|0;b=m}if((c|0)!=1){while(1){c=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];C[d>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b=b+f|0;c=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];C[d+4>>2]=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=d}d=b-1|0;C[a+28>>2]=d;h=h+l|0;e=C[a+32>>2]+e|0;if(b){continue}break}C[a+20>>2]=e}}function XI(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;l=Ce-16|0;Ce=l;h=b;p=C[b+36>>2];b=(p|0)/2|0;i=rg(h,I(b,f)<<2);C[l+12>>2]=i;a:{if((f|0)<=0){break a}s=b&-4;q=b&3;t=b-1>>>0<3;h=0;while(1){b=h<<2;u=C[b+e>>2]!=0;b:{if((p|0)<2){break b}k=C[b+d>>2];n=0;b=h;j=0;o=0;if(!t){while(1){m=j<<2;C[(b<<2)+i>>2]=C[m+k>>2];b=b+f|0;C[(b<<2)+i>>2]=C[(m|4)+k>>2];b=b+f|0;C[(b<<2)+i>>2]=C[(m|8)+k>>2];b=b+f|0;C[(b<<2)+i>>2]=C[(m|12)+k>>2];j=j+4|0;b=b+f|0;o=o+4|0;if((s|0)!=(o|0)){continue}break}}if(!q){break b}while(1){C[(b<<2)+i>>2]=C[(j<<2)+k>>2];b=b+f|0;j=j+1|0;n=n+1|0;if((n|0)!=(q|0)){continue}break}}r=r+u|0;h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!r){break a}Sv(a,c,l+12|0,1,g)}Ce=l+16|0;return 0}function qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ce-16|0;Ce=g;i=C[a+28>>2];C[g+12>>2]=0;f=Ve(i,2,0,b,0,g+12|0);c=0;a:{if(C[g+12>>2]){break a}while(1){c=f;if(b>>>0<=e>>>0){break a}c=C[a+32>>2];if(c>>>0>2]){C[a+32>>2]=c+1;c=D[c|0]}else{c=0}d=c<<24>>24;h=d&63;b:{if((d|0)<0){c=(e^-1)+b|0;c=c>>>0>>0?c:h;p((e<<1)+f|0,0,(c<<1)+2|0);d=c+1|0;e=d+e|0;break b}c=0;if(d&64){while(1){k=(e<<1)+f|0,l=Gf(a),B[k>>1]=l;d=c+1|0;e=e+1|0;if(c>>>0>=h>>>0){break b}c=d;if(b>>>0>e>>>0){continue}break b}}while(1){j=(e<<1)+f|0;d=C[a+32>>2];if(d>>>0>2]){C[a+32>>2]=d+1;d=D[d|0]}else{d=0}B[j>>1]=d<<24>>24;d=c+1|0;e=e+1|0;if(c>>>0>=h>>>0){break b}c=d;if(b>>>0>e>>>0){continue}break}}if(d>>>0>h>>>0){continue}break}if(f){Fe[C[i+8>>2]](i,f)}c=0}Ce=g+16|0;return c}function lk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){f=B[a+56>>1];c=f+E[a+20>>1]|0;B[a+20>>1]=c;d=E[a+22>>1];b=d+E[a+58>>1]|0;B[a+22>>1]=b;h=C[a+48>>2]+C[a+84>>2]|0;C[a+48>>2]=h;if((f|0)>0){b=C[a+68>>2];c=0;if(f>>>0>=4){k=f&-4;while(1){e=c<<1;g=e+b|0;B[g>>1]=d+E[g>>1];g=b+(e|2)|0;B[g>>1]=d+E[g>>1];g=b+(e|4)|0;B[g>>1]=d+E[g>>1];e=b+(e|6)|0;B[e>>1]=d+E[e>>1];c=c+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}f=f&3;if(f){while(1){e=b+(c<<1)|0;B[e>>1]=d+E[e>>1];c=c+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}b=E[a+22>>1];c=E[a+20>>1]}C[a+84>>2]=0;C[a+56>>2]=0;b=b<<16>>16;d=b<<3;C[a+60>>2]=d+C[a+24>>2];C[a- -64>>2]=b+C[a+28>>2];C[a+68>>2]=C[a+32>>2]+(c<<16>>16<<1);if(D[a+16|0]){C[a+76>>2]=d+C[a+40>>2];C[a+80>>2]=d+C[a+44>>2]}C[a+88>>2]=C[a+52>>2]+(h<<5)}}function GH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=C[b+100>>2];c=C[C[c+92>>2]+I(C[c+76>>2],20)>>2];e=D[a+2|0]|D[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=84608}f=zf(d,c);a:{if((f|0)==-1){break a}a=D[a+4|0]|D[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;if(D[b+140|0]){a=C[b+100>>2];a=C[a+92>>2]+I(C[a+76>>2],20)|0;c=E[a+12>>1]&96;g=a+12|0,h=_g(C[b+108>>2],e)|c|16,B[g>>1]=h}b=C[b+100>>2];if(!$e(b,1,1)){break a}a=C[b+76>>2];b:{if(a>>>0>2]){c=C[b+84>>2];d=C[b+96>>2];a=C[b+92>>2]+I(a,20)|0;break b}d=C[b+96>>2];c=C[b+84>>2];a=c-1|0;a=d+I(a>>>0<=c>>>0?a:0,20)|0}c=I(c,20)+d|0;d=C[a+4>>2];C[c>>2]=C[a>>2];C[c+4>>2]=d;C[c+16>>2]=C[a+16>>2];d=C[a+12>>2];C[c+8>>2]=C[a+8>>2];C[c+12>>2]=d;C[c>>2]=e;C[b+76>>2]=C[b+76>>2]+1;C[b+84>>2]=C[b+84>>2]+1}return(f|0)!=-1|0}function vF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=J(0),h=J(0);e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(e>>>0>=16){f=e>>>4|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){g=G[c+12>>2];h=G[c+8>>2];G[d>>2]=J(g*J(.2199999988079071))+J(J(G[c>>2]*J(.42100000381469727))+J(h*J(.35899999737739563)));G[d+4>>2]=J(g*J(.35899999737739563))+J(J(G[c+4>>2]*J(.42100000381469727))+J(h*J(.2199999988079071)));d=d+8|0;c=c+16|0;f=f-1|0;if(f){continue}break}}c=(e|0)/4<<1;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function wI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=D[a+11|0];e=d+7>>>3|0;g=C[a+4>>2];a:{if(!d){break a}a=e>>>0<=1?1:e;d=a&3;if(a-1>>>0>=3){f=a&60;a=0;while(1){A[b|0]=D[b|0]+(D[c|0]>>>1|0);A[b+1|0]=D[b+1|0]+(D[c+1|0]>>>1|0);A[b+2|0]=D[b+2|0]+(D[c+2|0]>>>1|0);A[b+3|0]=D[b+3|0]+(D[c+3|0]>>>1|0);b=b+4|0;c=c+4|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(!d){break a}a=0;while(1){A[b|0]=D[b|0]+(D[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}b:{if((e|0)==(g|0)){break b}f=g-e|0;h=f&1;d=0;a=0-e|0;if((e+1|0)!=(g|0)){e=f&-2;while(1){A[b|0]=D[b|0]+(D[a+b|0]+D[c|0]>>>1|0);A[b+1|0]=D[b+1|0]+(D[a+(b+1|0)|0]+D[c+1|0]>>>1|0);b=b+2|0;c=c+2|0;d=d+2|0;if((e|0)!=(d|0)){continue}break}}if(!h){break b}A[b|0]=D[b|0]+(D[a+b|0]+D[c|0]>>>1|0)}}function vw(a,b){var c=0,d=0,e=0,f=0;c=C[a+292>>2];e=C[a>>2];d=xp(c,e,a);if(!d){A[c+561|0]=b;A[c+488|0]=0;C[c+16>>2]=0;C[c+428>>2]=0;f=C[e+640>>2];b=C[e+636>>2];C[c+460>>2]=0;C[c+464>>2]=0;C[c+456>>2]=b;C[c+452>>2]=f;d=0;if(b){C[c+364>>2]=b;C[c+356>>2]=f;C[c+360>>2]=0;C[c+352>>2]=2;d=Fe[C[e+652>>2]](c)|0}C[a+300>>2]=d;B[c+300>>1]=0;B[c+292>>1]=0;B[c+294>>1]=16384;B[c+296>>1]=0;B[c+298>>1]=16384;C[c+284>>2]=0;C[c+288>>2]=1073741824;B[c+348>>1]=1;C[c+344>>2]=65537;C[c+304>>2]=1;t(a+172|0,c+284|0,68);C[a+116>>2]=C[c+396>>2];C[a+128>>2]=C[c+408>>2];C[a+140>>2]=C[c+420>>2];C[a+144>>2]=C[c+424>>2];b=C[c+448>>2];C[a+148>>2]=C[c+444>>2];C[a+152>>2]=b;b=C[c+456>>2];C[a+156>>2]=C[c+452>>2];C[a+160>>2]=b;b=C[c+464>>2];C[a+164>>2]=C[c+460>>2];C[a+168>>2]=b}return d}function mq(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!(!a|(b|0)==(c|0))){e=a>>31|1;e=(b|0)<0?0-e|0:e;h=(c|0)<0?0-e|0:e;e=2147483647;a:{if(!c){break a}d=c;c=c>>31;c=(d^c)-c|0;b:{d=b;b=b>>31;b=(d^b)-b|0;d=a;a=a>>31;a=(d^a)-a|0;if(b+a>>>0<=131071){a=I(a,b);break b}f=b>>>16|0;d=a>>>16|0;g=I(f,a&65535)+I(d,b&65535)|0;a=I(a,b);d=((g>>>16|0)+I(d,f)|0)+(a>>>0>>0)|0;if(!d){break b}if(c>>>0<=d>>>0){break a}b=L(d);f=32-b|0;d=a>>>f|d<>>0)/(c>>>0)|0;d=d-I(c,e)|0;a=a<>>31;f=d>>>0>=c>>>0;d=d-(f?c:0)|0;e=f|e<<1;f=b^31;a=a<<1}if((b|0)==31){break a}while(1){d=d<<1|a>>>31;b=d>>>0>=c>>>0;d=a>>>30&1|d-(b?c:0)<<1;g=d>>>0>=c>>>0;d=d-(g?c:0)|0;e=g|(e<<2|b<<1);a=a<<2;f=f-2|0;if(f){continue}break}break a}e=(a>>>0)/(c>>>0)|0}a=(h|0)<0?0-e|0:e}return a}function jl(a){var b=0,c=0,d=0;b=Ce-32|0;Ce=b;d=C[105780];a:{if(!d){Qe(19865,0);break a}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);break a}c=C[a+112>>2];if(C[a+116>>2]){break a}if(c){C[c>>2]=C[c>>2]&-5;Nf(c);C[a+112>>2]=0;d=C[105780]}C[b+28>>2]=0;C[b+24>>2]=0;C[b+20>>2]=0;if(!C[d+352>>2]){c=Eg(25433);if(!(!c|D[c|0]==48)){wf(c,16581)}d=C[105780];C[d+352>>2]=1}b:{c:{c=C[d+156>>2];d:{if(!c|!C[d+160>>2]){break d}if((Fe[c|0](d,a,b+28|0,b+24|0,b+20|0)|0)<0){break d}c=C[a+112>>2];if(c){break b}if(Ej(C[b+28>>2],b+16|0,b+12|0,b+8|0,b+4|0,b)){break c}}c=0;C[a+112>>2]=0;break a}c=bn(C[b+24>>2],C[a+24>>2],C[a+28>>2],C[b+16>>2],C[b+20>>2],C[b+12>>2],C[b+8>>2],C[b+4>>2],C[b>>2]);C[a+112>>2]=c;if(c){break b}c=0;break a}C[a+116>>2]=1;C[c>>2]=C[c>>2]|4}Ce=b+32|0;return c}function bA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=J(0),i=0,j=0,k=0,l=0,m=0;e=C[a+412>>2];if(e){e=C[e+4>>2];f=(e|0)==372645892|(e|0)==370546692}a=ii(a,I(d,12),b+4|0);if(!a){return-1}e=D[b+15|0];j=D[b+13|0];C[b+8>>2]=d;if((d|0)<=0){return 0}i=D[b+14|0];b=D[b+12|0];k=f?i:b;f=f?b:i;i=d&1;a:{if((d|0)==1){b=0;break a}m=d&-2;b=0;d=0;while(1){g=b<<3;l=g+c|0;G[a>>2]=G[l>>2]+J(.5);h=G[l+4>>2];A[a+11|0]=e;A[a+10|0]=f;A[a+9|0]=j;A[a+8|0]=k;G[a+4>>2]=h+J(.5);g=(g|8)+c|0;G[a+12>>2]=G[g>>2]+J(.5);h=G[g+4>>2];A[a+23|0]=e;A[a+22|0]=f;A[a+21|0]=j;A[a+20|0]=k;G[a+16>>2]=h+J(.5);b=b+2|0;a=a+24|0;d=d+2|0;if((m|0)!=(d|0)){continue}break}}if(i){b=(b<<3)+c|0;G[a>>2]=G[b>>2]+J(.5);h=G[b+4>>2];A[a+11|0]=e;A[a+10|0]=f;A[a+9|0]=j;A[a+8|0]=k;G[a+4>>2]=h+J(.5)}return 0}function PF(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0,h=0,i=0;g=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);h=I(g,3);a:{if(g>>>0<4){break a}i=g>>>2|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=c+h|0;f=c+g|0;if(g&4){f=f-4|0;e=G[f>>2];G[d-8>>2]=e;C[d-4>>2]=0;d=d-12|0;G[d>>2]=e;c=i-1|0}else{c=i}if((i|0)==1){break a}while(1){e=G[f-4>>2];G[d-8>>2]=e;C[d-4>>2]=0;G[d-12>>2]=e;f=f-8|0;e=G[f>>2];G[d-20>>2]=e;C[d-16>>2]=0;d=d-24|0;G[d>>2]=e;c=c-2|0;if(c){continue}break}}A[a+24|0]=h;A[a+25|0]=h>>>8;A[a+26|0]=h>>>16;A[a+27|0]=h>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function mF(a,b){a=a|0;b=b|0;var c=0,d=0,e=J(0),f=0,g=0;f=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(f>>>0>=20){g=(f>>>0)/20|0;d=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=d;while(1){e=J(G[c+8>>2]*J(.05882352963089943));G[d>>2]=J(G[c>>2]*J(.9411764740943909))+e;G[d+4>>2]=J(G[c+4>>2]*J(.9411764740943909))+e;G[d+8>>2]=e+J(G[c+12>>2]*J(.9411764740943909));G[d+12>>2]=e+J(G[c+16>>2]*J(.9411764740943909));d=d+16|0;c=c+20|0;g=g-1|0;if(g){continue}break}}c=(f|0)/5<<2;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Ek(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=C[b+12>>2]-2|0;C[b+12>>2]=f;if((f|0)<=0){break b}d=D[a|0]|D[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}d=(d<<8|d>>>8)&65535;h=d<<1;if(h>>>0>e-g>>>0){break b}e=f-h|0;C[b+12>>2]=e;if((e|0)<=0){break b}g=d>>>0<=1?1:d;f=0;while(1){e=((f<<1)+a|0)+2|0;if(e>>>0>2]){break a}d=C[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break a}h=C[c>>2];d=C[b+12>>2]-2|0;C[b+12>>2]=d;if((d|0)<=0){break a}d=D[e|0]|D[e+1|0]<<8;c:{if(!d){break c}if(og(h+((d<<8|d>>>8)&65535)|0,b)){break c}d=C[b+28>>2];if(d>>>0>31){break a}C[b+28>>2]=d+1;if(!D[b+24|0]){break a}A[e|0]=0;A[e+1|0]=0}i=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return i}return 0}function jo(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{switch(D[a|0]){case 0:if(!b|c>>>0<2){break b}e=1;a=a+1|0;while(1){d=(a+(e<<1)|0)-2|0;d=D[d|0]|D[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return e}e=e+1|0;if((e|0)!=(c|0)){continue}break};break b;case 1:if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+I(e,3)|0;f=D[a+2|0];a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break};break b;case 2:break c;default:break b}}if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+(e<<2)|0;f=D[a+2|0]|D[a+3|0]<<8;f=(f<<8|f>>>8)&65535;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}}return 0}return(b+d|0)-a|0}function gI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(a>>>0<=8){return kf(b)|0}c=16;d=a>>>0<=16?16:a;a:{if(!(d-1&d)){a=d;break a}while(1){a=c;c=a<<1;if(a>>>0>>0){continue}break}}b:{if(-64-a>>>0<=b>>>0){C[105782]=48;b=0;break b}d=b>>>0<11?16:b+11&-8;c=kf((d+a|0)+12|0);b=0;if(!c){break b}b=c-8|0;c:{if(!(c&a-1)){a=b;break c}f=c-4|0;g=C[f>>2];e=a;a=((a+c|0)-1&0-a)-8|0;a=(a-b>>>0<=15?e:0)+a|0;c=a-b|0;e=(g&-8)-c|0;if(!(g&3)){b=C[b>>2];C[a+4>>2]=e;C[a>>2]=b+c;break c}C[a+4>>2]=e|C[a+4>>2]&1|2;e=a+e|0;C[e+4>>2]=C[e+4>>2]|1;C[f>>2]=c|C[f>>2]&1|2;e=b+c|0;C[e+4>>2]=C[e+4>>2]|1;hm(b,c)}b=C[a+4>>2];d:{if(!(b&3)){break d}c=b&-8;if(c>>>0<=d+16>>>0){break d}C[a+4>>2]=d|b&1|2;b=a+d|0;d=c-d|0;C[b+4>>2]=d|3;c=a+c|0;C[c+4>>2]=C[c+4>>2]|1;hm(b,d)}b=a+8|0}return b|0}function Yn(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;uv(f+8|0,C[97735]);e=C[f+12>>2];c=C[f+8>>2];C[97738]=c;C[97739]=e;a:{if(e){g=c;C[97730]=0;C[97731]=0;i=e&1;if((e|0)==1){c=0;break a}e=e&-2;c=0;while(1){b:{if(D[d+g|0]==10){if((a|0)>(c|0)){C[97731]=a;c=a}b=b+1|0;C[97730]=b;a=0;break b}a=a+1|0}if(D[(d|1)+g|0]!=10){a=a+1|0}else{if((a|0)>(c|0)){C[97731]=a;c=a}b=b+1|0;C[97730]=b;a=0}d=d+2|0;h=h+2|0;if((h|0)!=(e|0)){continue}break}break a}Tg(34805,0);ea(1);s()}if(!(!i|D[d+g|0]!=10)){if((a|0)>(c|0)){C[97731]=a;c=a}b=b+1|0;C[97730]=b}j=390928,k=df(b,4),C[j>>2]=k;a=df(b,4);C[97733]=a;if(a){d=0;if((b|0)>0){while(1){a=df(c,4);C[C[97733]+(d<<2)>>2]=a;d=d+1|0;if((d|0)!=(b|0)){continue}break}}Ce=f+16|0;return}La(25743,15072,42,3231);s()}function Jx(a,b){var c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;a:{b:{switch(C[a+44>>2]){case 1:C[a>>2]=b;C[a+4>>2]=b+11796480;d=Ix(a,0);break a;case 2:e=C[a+60>>2];Vf(c,e,b+5898240|0);d=c+8|0;Vf(d,e,b);C[c+8>>2]=C[c+8>>2]+(C[c>>2]+C[a+8>>2]|0);C[c+12>>2]=C[c+12>>2]+(C[c+4>>2]+C[a+12>>2]|0);f=a- -64|0;d=ig(f,d,0);if(d){break a}Vf(c,e,b-5898240|0);d=c+8|0;Vf(d,e,b);C[c+8>>2]=C[c+8>>2]+(C[a+8>>2]+C[c>>2]|0);C[c+12>>2]=C[c+12>>2]+(C[a+12>>2]+C[c+4>>2]|0);d=ig(f,d,0);break a;case 0:break b;default:break a}}d=c+8|0;e=C[a+60>>2];Vf(d,e,b+5898240|0);C[c+8>>2]=C[c+8>>2]+C[a+8>>2];C[c+12>>2]=C[c+12>>2]+C[a+12>>2];f=a- -64|0;d=ig(f,d,0);if(d){break a}d=c+8|0;Vf(d,e,b-5898240|0);C[c+8>>2]=C[c+8>>2]+C[a+8>>2];C[c+12>>2]=C[c+12>>2]+C[a+12>>2];d=ig(f,d,0)}Ce=c+16|0;return d}function iF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=24){e=(d>>>0)/24|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+20>>2]*J(.1666666716337204))+J(J(G[c+16>>2]*J(.1666666716337204))+J(J(G[c+12>>2]*J(.1666666716337204))+J(J(G[c+8>>2]*J(.1666666716337204))+J(J(G[c>>2]*J(.1666666716337204))+J(G[c+4>>2]*J(.1666666716337204))))));f=f+4|0;c=c+24|0;e=e-1|0;if(e){continue}break}}c=(d|0)/6|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function XE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0,i=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/7<<3;if(d>>>0>=28){g=(d>>>0)/28|0;h=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h+c|0;d=d+h|0;while(1){f=G[d-12>>2];G[e-4>>2]=G[d-4>>2];i=G[d-8>>2];f=J(f*J(.7070000171661377));G[e-12>>2]=f;G[e-8>>2]=i;G[e-16>>2]=f;G[e-20>>2]=G[d-16>>2];G[e-24>>2]=G[d-20>>2];G[e-28>>2]=G[d-24>>2];e=e-32|0;d=d-28|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function HE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);f=e<<1;a:{if(e>>>0<2){break a}g=e>>>1|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=b+e|0;d=b+f|0;if(e&2){d=d-4|0;c=c-2|0;G[d>>2]=J(J(E[c>>1])*J(30517578125e-15))+J(-1);b=g-1|0}else{b=g}if((g|0)==1){break a}while(1){G[d-4>>2]=J(J(E[c-2>>1])*J(30517578125e-15))+J(-1);d=d-8|0;c=c-4|0;G[d>>2]=J(J(E[c>>1])*J(30517578125e-15))+J(-1);b=b-2|0;if(b){continue}break}}A[a+24|0]=f;A[a+25|0]=f>>>8;A[a+26|0]=f>>>16;A[a+27|0]=f>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function ax(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|a>>>0>=b>>>0){break a}g=a+1|0;d=A[a|0];a=0;e=52;b:{while(1){f=a+e|0;c=f&-2;c=(D[c+221426|0]<<8|D[c+221427|0])+221424|0;h=D[c|0]&127;if((h|0)==(d|0)){break b}c=f>>1;f=(d|0)>(h|0);a=f?c+1|0:a;e=f?e:c;if((a|0)<(e|0)){continue}break}return 0}c:{if(b>>>0<=g>>>0){d=D[c|0];break c}d=D[c|0];while(1){a=D[c+1|0];e=a&127;h=d<<24>>24;f=D[g|0];d=a<<24>>24;d:{e:{if((h|0)<0){if((e|0)!=(f|0)){break e}c=c+1|0;break d}if(!e){break a}a=(((d|0)>=0?1:3)+c|0)+1|0;while(1){c=(D[a+1|0]|D[a|0]<<8)+221424|0;d=D[c|0];if((f|0)==(d&127)){break d}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}return 0}g=g+1|0;if((g|0)!=(b|0)){continue}break}}if(d<<24>>24<0|A[c+1|0]>=0){break a}return D[c+3|0]|D[c+2|0]<<8}return 0}function ig(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-16|0;Ce=g;a:{b:{c:{if(D[a+16|0]){e=C[b+4>>2];d=(C[a+8>>2]+(C[a>>2]<<3)|0)-8|0;C[d>>2]=C[b>>2];C[d+4>>2]=e;break c}d=C[a>>2];d:{if(!d){break d}e=C[a+8>>2]+(d-1<<3)|0;if((C[e>>2]-C[b>>2]|0)+1>>>0>2){break d}if((C[e+4>>2]-C[b+4>>2]|0)+1>>>0<3){break a}}e=C[a+4>>2];C[g+12>>2]=0;f=d+1|0;e:{if(f>>>0<=e>>>0){h=C[a+12>>2];break e}h=C[a+24>>2];d=e;while(1){d=((d>>>1|0)+d|0)+16|0;if(f>>>0>d>>>0){continue}break}i=a,j=Ve(h,8,e,d,C[a+8>>2],g+12|0),C[i+8>>2]=j;f=C[g+12>>2];if(f){break b}h=Ve(h,1,e,d,C[a+12>>2],g+12|0);C[a+12>>2]=h;f=C[g+12>>2];if(f){break b}C[a+4>>2]=d;d=C[a>>2]}e=C[b+4>>2];f=C[a+8>>2]+(d<<3)|0;C[f>>2]=C[b>>2];C[f+4>>2]=e;A[d+h|0]=1;C[a>>2]=C[a>>2]+1}f=0}A[a+16|0]=c}Ce=g+16|0;return f}function tp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(b>>>0>c>>>0){break a}f=C[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=C[a+8>>2];f=C[g+(d<<3)>>2];g=C[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}d=C[a+4>>2];f=f<<3;h=C[d+f>>2];k=f;f=C[a>>2];l=C[k+f>>2];n=h-l|0;e=e<<3;j=C[e+d>>2];m=C[e+f>>2];o=j-m|0;if(!((h|0)==(j|0)|(g|0)==(i|0))){k=i-g|0;e=h-j|0;i=0;while(1){h=b<<3;f=C[h+C[a>>2]>>2];c:{if((f|0)<=(m|0)){f=f+o|0;break c}if((f|0)>=(l|0)){f=f+n|0;break c}if(!p){i=Ze(e,k)}f=Te(C[h+C[a+8>>2]>>2]-g|0,i)+j|0;d=C[a+4>>2];p=1}C[d+h>>2]=f;b=b+1|0;if(c>>>0>=b>>>0){continue}break}break a}while(1){a=b<<3;e=C[a+f>>2];C[a+d>>2]=(e|0)>(m|0)?(e|0)<(l|0)?j:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Nx(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;c=6;a:{if(!a|!b){break a}c=C[b>>2];f=C[a+8>>2];C[d+8>>2]=c-f;g=C[b+4>>2];e=C[a+12>>2];C[d+12>>2]=g-e;if((c|0)==(f|0)){c=0;if((g|0)==(e|0)){break a}}c=d+8|0;g=Im(c);f=Cg(C[d+8>>2],C[d+12>>2]);Vf(c,C[a+60>>2],f+5898240|0);b:{if(D[a+20|0]){c=Tp(a,f,g);if(!c){break b}break a}C[a+4>>2]=f;e=gg(C[a>>2],f);if(!e){break b}c=Mx(a,e>>>31|0,g);if(c){break a}c=gk(a,(e^-1)>>>31|0,g);if(c){break a}}C[d>>2]=C[d+8>>2]+C[b>>2];C[d+4>>2]=C[d+12>>2]+C[b+4>>2];c=ig(a- -64|0,d,1);if(c){break a}c=C[d+8>>2];C[d+8>>2]=0-c;e=C[d+12>>2];C[d+12>>2]=0-e;C[d>>2]=C[b>>2]-c;C[d+4>>2]=C[b+4>>2]-e;c=ig(a+96|0,d,1);if(c){break a}C[a>>2]=f;c=C[b+4>>2];b=C[b>>2];C[a+16>>2]=g;C[a+8>>2]=b;C[a+12>>2]=c;c=0}Ce=d+16|0;return c}function Lo(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=C[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=C[b+12>>2];h=f-4|0;C[b+12>>2]=h;if((h|0)<=0){break a}h=A[a|0];if((h|0)<0){break a}d=D[a+3|0]|(D[a+1|0]<<16|(h&255)<<24|D[a+2|0]<<8);if(d){c=c+d|0;b:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break b}g=f-8|0;C[b+12>>2]=g;if((g|0)<=0){break b}d=D[c+2|0]|D[c+3|0]<<8;f=(d<<8|d>>>8)&65535;d=D[c|0]|D[c+1|0]<<8;f=I(f,(d<<8|d>>>8)&65535);if(f>>>0>715827881){break b}d=1;if(!f){break a}c=c+4|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=I(f,6);if(e>>>0>>0){break b}c=g-c|0;C[b+12>>2]=c;if((c|0)>0){break a}}d=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}d=1}return d}function Bt(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;a:{b:{c:{d:{e=D[c|0]|D[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=a;a=D[c+2|0]|D[c+3|0]<<8;a=d-((a<<8|a>>>8)&65535)|0;d=((a<<1)+c|0)+6|0;c=D[c+4|0]|D[c+5|0]<<8;a=a>>>0>=((c<<8|c>>>8)&65535)>>>0?84608:d;break b}g=84998;d=D[c+2|0]|D[c+3|0]<<8;e:{if(!d){break e}h=c+4|0;c=((d<<8|d>>>8)&65535)-1|0;d=0;while(1){e=c+d>>>1|0;f=I(e,6)+h|0;i=D[f|0]|D[f+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=a>>>0){d=D[f+2|0]|D[f+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=e+1|0;break f}g=I(e,6)+h|0;break e}c=e-1|0}if((c|0)>=(d|0)){continue}break}}a=g+4|0}a=D[a|0]|D[a+1|0]<<8;d=(a<<8|a>>>8)&65535}a=D[b|0]|D[b+1|0]<<8;return((a<<8|a>>>8)&65535)==(d|0)|0}function ji(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!C[105668]){break a}b:{if(C[105781]|a){break b}c:{if(!C[105694]){if(!C[105693]){break b}d=C[105696];if((d|0)<=0){break b}a=0;e=C[105697];if((d|0)!=1){g=d&-2;while(1){c=(b<<3)+e|0;if(C[c>>2]!=-1){a=C[c+4>>2]|a}c=((b|1)<<3)+e|0;if(C[c>>2]!=-1){a=C[c+4>>2]|a}b=b+2|0;f=f+2|0;if((f|0)!=(g|0)){continue}break}}d:{if(!(d&1)){break d}b=(b<<3)+e|0;if(C[b>>2]==-1){break d}a=C[b+4>>2]|a}b=0;if(!a){break b}if(!C[105681]){break c}break b}if(C[105681]){break b}}b=C[104886]}a=C[105695];if((a|0)==(b|0)){break a}if(a){C[a+48>>2]=C[a+48>>2]&-16385}if(b){C[b+48>>2]=C[b+48>>2]|16384}C[105695]=b;if((Fe[C[105668]](b)|0)>=0){break a}if(a){C[a+48>>2]=C[a+48>>2]|16384}if(b){C[b+48>>2]=C[b+48>>2]&-16385}C[105695]=a}}function nv(a,b,c,d,e,f){var g=0,h=0,i=0;i=Ce-1024|0;Ce=i;a:{b:{c:{if(C[a+216>>2]==(b|0)){h=C[d>>2];b=C[f>>2];C[a+220>>2]=c;d:{if(e){C[a+232>>2]=e;C[a+224>>2]=h;g=-1;break d}C[a+224>>2]=h;C[a+232>>2]=i;g=1024}g=b>>>0>>0?b:g;C[a+236>>2]=g;b=b-g|0;if(!(!D[a+432|0]|!h)){if(A[c|0]<0){break c}A[a+432|0]=0}h=a+220|0;c=pm(h,!b<<2);if(c){break b}while(1){b=C[a+236>>2]+b|0;c=-1;if(!e){C[a+232>>2]=i;c=1024}g=C[a+224>>2];c=b>>>0>>0?b:c;C[a+236>>2]=c;b=b-c|0;if(!(!D[a+432|0]|!g)){if(A[C[h>>2]]<0){break c}A[a+432|0]=0}c=pm(h,!b<<2);if(!c){continue}break}break b}C[a+244>>2]=20578;c=-2;break a}C[a+244>>2]=32909;c=-3}if(!e){C[a+232>>2]=0}e=C[a+224>>2];b=C[a+236>>2]+b|0;if(b){C[f>>2]=C[f>>2]-b}if(e){C[d>>2]=C[d>>2]-e}lj(a,c)}Ce=i+1024|0;return c}function bn(a,b,c,d,e,f,g,h,i){var j=0;j=Ce-48|0;Ce=j;a:{if((b|0)<0){C[j>>2]=14820;Qe(19745,j);i=0;break a}if((c|0)<0){C[j+16>>2]=4382;Qe(19745,j+16|0);i=0;break a}f=ul(d,f,g,h,i);if(!f){i=0;Qe(4953,0);break a}b:{c:{d:{if((f&-268435456)==268435456){d=f>>>8&255;if(d>>>0<=7){break c}i=f&255;break d}i=2;if((f|0)==844715353|(f|0)==1498831189){break d}i=(f|0)==1431918169?2:1}g=-1;d=mT(b,0,i,0);if(Ee){break b}g=d;break b}g=-1;d=mT(b,0,d,0);if(Ee){break b}h=d;d=d+7|0;if(h>>>0>d>>>0){break b}g=d>>>3|0}i=0;if(!((e|0)>=0&e>>>0>=g>>>0)){C[j+32>>2]=14968;Qe(19745,j+32|0);break a}d=ei(0,0,f);if(!d){break a}C[d+20>>2]=a;C[d+36>>2]=0;C[d+40>>2]=0;C[d+16>>2]=e;C[d+12>>2]=c;C[d+8>>2]=b;C[d+48>>2]=c;C[d+44>>2]=b;C[d>>2]=C[d>>2]|1;i=d}Ce=j+48|0;return i}function uy(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;C[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=C[g+28>>2];j=C[g+24>>2];k=C[g+20>>2];h=C[g+16>>2];l=C[g+12>>2];i=C[g+8>>2];f=C[g+4>>2];g=C[g>>2];q=d;e=Te(c+e|0,a);if(L(b)+L(e)>>>0<=16){c=j<<16}else{c=Te(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=Ze(f<<16,b);break a}b:{c:{d:{n=i<<16;e:{if((n|0)>(c|0)){c=Ze(d,b);if((g|0)==(i|0)){break e}b=of(e-c|0,l-f|0,i-g|0)+Ze(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=Ze(n,b);if((h|0)==(i|0)){f=h<<16;break c}b=of(e-c|0,k-l|0,h-i|0)+Ze(l<<16,b)|0;break a}if((c|0)>=j<<16){break b}}c=Ze(f,b);if((h|0)==(j|0)){break b}b=of(e-c|0,m-k|0,j-h|0)+Ze(k<<16,b)|0;break a}b=Ze(m<<16,b)}C[q>>2]=b;a=Ze(b,a<<1)}else{a=0}C[o>>2]=p+a}}function BS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-1440|0;Ce=f;a=C[a+132>>2];Ha()|0;a:{if(!a){break a}if(Ga(C[a>>2],f+8|0)|0){break a}d=H[f+8>>3];if(d!=0&d==H[a+32>>3]){break a}e=C[a+20>>2];if((e|0)>0){while(1){b=c<<2;h=(b+a|0)+1064|0;g=C[h>>2];b=(b+f|0)+1048|0;i=C[b>>2];if((g|0)!=(i|0)){Qr(C[a+16>>2],c&255,(i|0)!=0);g=C[b>>2];e=C[a+20>>2]}b=c<<3;H[(b+a|0)+552>>3]=H[(b+f|0)+536>>3];C[h>>2]=g;c=c+1|0;if((e|0)>(c|0)){continue}break}}e=C[a+24>>2];if((e|0)>0){c=0;while(1){b=c<<3;g=b+a|0;b=b+f|0;d=H[b+24>>3];if(d!=H[g+40>>3]){h=C[a+16>>2];i=c&255;d=d*32767;b:{if(K(d)<2147483648){e=~~d;break b}e=-2147483648}vn(h,i,e);d=H[b+24>>3];e=C[a+24>>2]}H[g+40>>3]=d;c=c+1|0;if((e|0)>(c|0)){continue}break}}H[a+32>>3]=H[f+8>>3]}Ce=f+1440|0}function ww(a){var b=0,c=0,d=0,e=0;c=C[C[a>>2]+100>>2];b=C[a+292>>2];if(b){C[b+440>>2]=0;d=C[b+8>>2];e=C[b+24>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+20>>2]=0;C[b+24>>2]=0;e=C[b+436>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+436>>2]=0;C[b+428>>2]=0;C[b+432>>2]=0;e=C[b+392>>2];if(e){Fe[C[d+8>>2]](d,e)}C[b+388>>2]=0;C[b+392>>2]=0;C[b>>2]=0;C[b+4>>2]=0;if(b){Fe[C[d+8>>2]](d,b)}C[a+292>>2]=0}b=C[a+244>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+240>>2]=0;C[a+244>>2]=0;b=C[a+252>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+248>>1]=0;C[a+252>>2]=0;yp(a+256|0);b=C[a+124>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+124>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+128>>2]=0;C[a+132>>2]=0;C[a+116>>2]=0;C[a+120>>2]=0;C[a+136>>2]=0;C[a+140>>2]=0;C[a+144>>2]=0;C[a+296>>2]=-1;C[a+300>>2]=-1}function Xh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{if(c-37>>>0<4294967261){break b}d=C[a>>2];if(d>>>0>=b>>>0){break b}c:{d:{e=D[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}k=(e|0)==45}h=2147483647/(c>>>0)|0;e:{f:{if(b>>>0<=d>>>0){C[a>>2]=d;break f}l=I(c,h)^2147483647;g:{while(1){j=i;h:{e=D[d|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=A[e+219744|0];if((e|0)<0|(c|0)<=(e|0)){break g}i=1;g=f;i:{if((f|0)>(h|0)){break i}if((f|0)==(h|0)){g=h;if((e|0)>(l|0)){break i}}i=j;g=e+I(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}j=i;d=b}C[a>>2]=d;a=2147483647;if(j&255){break e}}a=f}f=k?0-a|0:a}return f}return 0}function dj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=C[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}g=C[b+12>>2];h=g-2|0;C[b+12>>2]=h;e=1;if((h|0)<=0){break a}b:{c:{d:{c=D[c|0]|D[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=f>>>0){break d}break a}if(a>>>0>>0|a>>>0>d>>>0){break a}f=d-a|0;if(f>>>0<6){break a}c=g-8|0;C[b+12>>2]=c;if((c|0)<=0){break a}e=D[a+2|0]|D[a+3|0]<<8;g=(e<<8|e>>>8)&65535;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;d=c-6|0;if(g>>>0>>0){break c}e=1;a=(g-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}e=0;if(a>>>0>f>>>0){break b}d=c-a|0;break c}if(a>>>0>d>>>0){break a}e=0;if(d-a>>>0<6){break b}d=g-8|0}C[b+12>>2]=d;e=(d|0)>0}return e}return 0}function yu(a,b,c,d){a:{switch(b-9|0){case 0:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=C[b>>2];return;case 6:b=C[c>>2];C[c>>2]=b+4;b=B[b>>1];C[a>>2]=b;C[a+4>>2]=b>>31;return;case 7:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=E[b>>1];C[a+4>>2]=0;return;case 8:b=C[c>>2];C[c>>2]=b+4;b=A[b|0];C[a>>2]=b;C[a+4>>2]=b>>31;return;case 9:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=D[b|0];C[a+4>>2]=0;return;case 16:b=C[c>>2]+7&-8;C[c>>2]=b+8;H[a>>3]=H[b>>3];return;case 17:Fe[d|0](a,c);default:return;case 1:case 4:case 14:b=C[c>>2];C[c>>2]=b+4;b=C[b>>2];C[a>>2]=b;C[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=C[c>>2];C[c>>2]=b+4;C[a>>2]=C[b>>2];C[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=C[c>>2]+7&-8;C[c>>2]=b+8;c=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=c}function lB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];d=b;c=s;while(1){e=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=e>>>24|0;i=e>>>8&255;j=e>>>16&255;if(r){i=(I(i,n)>>>0)/255|0;j=(I(j,o)>>>0)/255|0;h=(I(h,p)>>>0)/255|0}e=e&255;C[d>>2]=j<<8|i|h<<16|(q?(I(e,m)>>>0)/255|0:e)<<24;d=d+4|0;c=c+k|0;f=f-1|0;if(f){continue}break}d=C[a+28>>2]}else{d=c}c=d-1|0;C[a+28>>2]=c;g=g+l|0;b=C[a+32>>2]+b|0;if(d){continue}break}C[a+20>>2]=b}}function hO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-16|0;Ce=e;a:{if(C[a+4>>2]){break a}c=6;b:{if(C[a+12>>2]!=1){break b}g=C[a>>2];c=C[a+28>>2];if(c){C[(C[a+36>>2]+(c<<4)|0)-4>>2]=b}d=c+1|0;f=C[a+32>>2];c:{if(d>>>0<=f>>>0){f=C[a+36>>2];break c}C[e+8>>2]=0;h=(c&-8)+8|0;f=Ve(g,16,f,h,C[a+36>>2],e+8|0);C[a+36>>2]=f;c=C[e+8>>2];if(c){break b}C[a+32>>2]=h}c=((d<<4)+f|0)-16|0;C[c+12>>2]=0;C[c>>2]=0;C[a+28>>2]=d;c=C[a- -64>>2];if(c){C[(C[a+72>>2]+(c<<4)|0)-4>>2]=b}b=c+1|0;d=C[a+68>>2];d:{if(b>>>0<=d>>>0){g=C[a+72>>2];break d}C[e+12>>2]=0;f=d;d=(c&-8)+8|0;g=Ve(g,16,f,d,C[a+72>>2],e+12|0);C[a+72>>2]=g;c=C[e+12>>2];if(c){break b}C[a+68>>2]=d}c=((b<<4)+g|0)-16|0;C[c+12>>2]=0;C[c>>2]=0;C[a+64>>2]=b;break a}C[a+4>>2]=c}Ce=e+16|0}function Vo(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,o=0;h=8-c|0;k=qm(a,4<>2]=k;l=+(d|0)*1e-5;m=1<<15-c;j=-1<<16-c^-1;n=1/+(j|0);o=d-95e3>>>0<10001;while(1){i=Mi(a,512);C[(f<<2)+k>>2]=i;d=0;b=0;a:{if(!o){while(1){e=(d<<1)+i|0;g=O(Gh(n*+((d<>>0),l)*65535+.5);b:{if(g<4294967296&g>=0){b=~~g>>>0;break b}b=0}B[e>>1]=b;b=d|1;e=(b<<1)+i|0;g=O(Gh(n*+((b<>>0),l)*65535+.5);c:{if(g<4294967296&g>=0){b=~~g>>>0;break c}b=0}B[e>>1]=b;d=d+2|0;if((d|0)!=256){continue}break a}}while(1){d=(b<>>0)/(j>>>0)|0}B[e>>1]=d;e=b|1;d=(e<>>0)/(j>>>0)|0}B[e>>1]=d;b=b+2|0;if((b|0)!=256){continue}break}}f=f+1|0;if(!(f>>>h|0)){continue}break}}function EB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];d=b;c=s;while(1){e=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=e&255;i=e>>>8&255;j=e>>>16&255;if(r){i=(I(i,o)>>>0)/255|0;j=(I(j,p)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}e=e>>>24|0;C[d>>2]=h|i<<8|j<<16|(q?(I(e,m)>>>0)/255|0:e)<<24;d=d+4|0;c=c+k|0;f=f-1|0;if(f){continue}break}d=C[a+28>>2]}else{d=c}c=d-1|0;C[a+28>>2]=c;g=g+l|0;b=C[a+32>>2]+b|0;if(d){continue}break}C[a+20>>2]=b}}function EA(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];d=b;c=s;while(1){e=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=e>>>24|0;i=e>>>8&255;j=e>>>16&255;if(r){i=(I(i,p)>>>0)/255|0;j=(I(j,o)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}e=e&255;C[d>>2]=h|j<<8|i<<16|(q?(I(e,m)>>>0)/255|0:e)<<24;d=d+4|0;c=c+k|0;f=f-1|0;if(f){continue}break}d=C[a+28>>2]}else{d=c}c=d-1|0;C[a+28>>2]=c;g=g+l|0;b=C[a+32>>2]+b|0;if(d){continue}break}C[a+20>>2]=b}}function Ml(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;e=Fe[C[94762]](44)|0;if(e){C[94766]=C[94766]+1}a:{if(!e){b=_e(0);break a}f=Sg(a);C[e+8>>2]=f;if(!f){if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}b=_e(0);break a}C[e+4>>2]=f;C[e+36>>2]=0;mf(e+12|0,0,24);C[e>>2]=b;b=C[c>>2];b:{if(!b){break b}while(1){if(uf(a,C[b+8>>2])){b=C[b+40>>2];if(b){continue}break b}break}f=C[b+36>>2];h=f+1|0;if(!h){break b}i=af(a)+16|0;b=i;b=Fe[C[94762]](b>>>0<=1?1:b)|0;if(b){C[94766]=C[94766]+1}if(!b){a=C[e+8>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}b=_e(0);break a}C[g>>2]=a;C[g+4>>2]=f+2;rf(b,i,33809,g);C[e+4>>2]=b;C[e+36>>2]=h}C[e+40>>2]=C[c>>2];C[c>>2]=e;b=C[d>>2];C[d>>2]=b+1}Ce=g+16|0;return b}function LR(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b+164>>2];if(c){ya(C[c+12>>2],0,0,0,2)|0;xa(C[c+12>>2],0,0,0,2)|0;wa(1,0,0,0,2)|0;va(C[c+12>>2],0,0,0,2)|0;ua(C[c+12>>2],0,0,0,2)|0;ta(C[c+12>>2],0,0,0,2)|0;sa(2,0,0,0,2)|0;ra(2,0,0,0,2)|0;qa(C[c+12>>2],0,0,0,2)|0;pa(C[c+12>>2],0,0,0,2)|0;oa(C[c+12>>2],0,0,0,2)|0;na(C[c+12>>2],0,0,0,2)|0;ma(1,0,0,0,2)|0;d=Eg(23371);d=d?d:2;la(d|0,0,0,0,2)|0;ka(d|0,0,0,0,2)|0;ja(d|0,0,0,0,2)|0;ia(1,0,0,0,2)|0;ha(2,0,0,0,2)|0;ga(0,0,0,2)|0;fa(0,0,1)|0;d=C[c>>2];if(d){a:{if(!d){break a}a=C[a+1080>>2];if(!a){break a}Fe[C[a+88>>2]](C[a+8>>2],d)|0}C[c>>2]=0}V(C[c+12>>2],0,0)|0;a=C[c+12>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=C[b+164>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}C[b+164>>2]=0}}function YA(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;k=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){m=D[a+63|0];n=D[a+62|0];o=D[a+61|0];p=D[a+60|0];b=C[a+52>>2];q=b&2;r=b&1;s=(k|0)/2|0;g=(l|0)/2|0;e=C[a+20>>2];while(1){f=C[a+24>>2];if(f){t=g>>>16|0;u=C[a>>2];b=e;c=s;while(1){d=C[(I(C[a+12>>2],t)+u|0)+(c>>>14&262140)>>2];h=d&255;i=d>>>8&255;j=d>>>16&255;d=d>>>24|0;f=f-1|0;if(r){i=(I(i,o)>>>0)/255|0;h=(I(h,p)>>>0)/255|0;j=(I(j,n)>>>0)/255|0}C[b>>2]=i<<8|j|h<<16|(q?(I(d,m)>>>0)/255|0:d)<<24;b=b+4|0;c=c+k|0;if(f){continue}break}c=C[a+28>>2]}b=c;c=b-1|0;C[a+28>>2]=c;g=g+l|0;e=C[a+32>>2]+e|0;if(b){continue}break}C[a+20>>2]=e}}function Wp(a,b,c,d){var e=0,f=0,g=0,h=0;if(!a){return 33}e=Ce-16|0;Ce=e;f=6;a=C[a>>2];a:{if(!a|!d){break a}C[d>>2]=0;C[d+4>>2]=0;C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}f=10;if(b>>>0>32767){break a}g=d,h=Ve(a,8,0,b,0,e+12|0),C[g+4>>2]=h;b:{if(C[e+12>>2]){break b}g=d,h=Ve(a,1,0,b,0,e+12|0),C[g+8>>2]=h;if(C[e+12>>2]){break b}f=0;g=d,h=Ve(a,2,0,c,0,e+12|0),C[g+12>>2]=h;if(C[e+12>>2]){break b}B[d>>1]=c;B[d+2>>1]=b;C[d+16>>2]=C[d+16>>2]|1;break a}C[d+16>>2]=C[d+16>>2]|1;b=C[d+4>>2];if(b){Fe[C[a+8>>2]](a,b)}C[d+4>>2]=0;b=C[d+8>>2];if(b){Fe[C[a+8>>2]](a,b)}C[d+8>>2]=0;b=C[d+12>>2];if(b){Fe[C[a+8>>2]](a,b)}C[d+16>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;f=C[e+12>>2]}Ce=e+16|0;return f}function BA(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,j=0,k=0,l=0,m=0,n=0;i=1;f=1;if(D[c|0]&2){e=qh(c);i=e>>>31|0;f=(e^-1)>>>31|0}a:{b:{e=D[a|0]&2;if(!e){break b}if((qh(a)|0)>=0){break b}j=1;f=-1;break a}j=!e;if(!f){f=-1;break a}f=0;if(!b){break a}g=C[b+8>>2];if((g|0)<=0){break a}k=C[b+12>>2];if((k|0)<=0){break a}e=C[a+52>>2];h=D[C[e+56>>2]+9|0];l=E[b>>1];m=C[a+20>>2];n=E[b+4>>1];b=C[a+16>>2];C[e+28>>2]=b;C[e+24>>2]=k;C[e+20>>2]=g;C[e+32>>2]=b-I(g,h);C[e+16>>2]=(I(b,n)+m|0)+I(h,l);b=C[c+16>>2];g=D[C[e+60>>2]+9|0];C[e+36>>2]=(C[c+20>>2]+I(b,E[d+4>>1])|0)+I(g,E[d>>1]);h=C[d+8>>2];C[e+40>>2]=h;C[e+44>>2]=C[d+12>>2];C[e+52>>2]=b-I(g,h);C[e+48>>2]=b;Fe[C[e+12>>2]](e+16|0)}if(!i){fh(c)}if(!j){fh(a)}return f|0}function pF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);if(d>>>0>=20){e=(d>>>0)/20|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=c;while(1){G[f>>2]=J(G[c+16>>2]*J(.20000000298023224))+J(J(G[c+12>>2]*J(.20000000298023224))+J(J(G[c+8>>2]*J(.20000000298023224))+J(J(G[c>>2]*J(.20000000298023224))+J(G[c+4>>2]*J(.20000000298023224)))));f=f+4|0;c=c+20|0;e=e-1|0;if(e){continue}break}}c=(d|0)/5|0;A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function _y(a,b){var c=0,d=0,e=0;d=Ce+-64|0;Ce=d;a:{b:{c:{c=Eg(26884);d:{if(!c){break d}C[d+16>>2]=a;C[d+20>>2]=b;e=d+32|0;rf(e,32,28769,d+16|0);e=fi(c,e);if(!e){C[d+4>>2]=b;C[d>>2]=a;e=d+32|0;rf(e,32,28784,d);e=fi(c,e);if(!e){break d}}c=af(d+32|0)+e|0;c=(zq(c,22172,18)?0:18)+c|0;if(c){break c}}c=a<<16|b;a=0;while(1){if((c|0)==C[I(a,12)+196672>>2]){b=a;break b}b=a|1;if((c|0)==C[I(b,12)+196672>>2]){break b}a=a+2|0;if((a|0)!=506){continue}break}a=30;break a}a=31;if(!Rg(c,29830,7)){break a}a=32;if(!Rg(c,17117,7)){break a}a=33;if(!Rg(c,29491,3)){break a}a=34;if(!Rg(c,29247,3)){break a}a=45;if(!Rg(c,29093,3)){break a}a=38;if(!Rg(c,11501,9)){break a}a=Rg(c,13060,5)?30:2;break a}a=C[I(b,12)+196676>>2]}Ce=d- -64|0;return a}function Fn(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=a+60|0;c=C[C[b+20>>2]+12>>2];if(c){Fe[c|0](C[b+112>>2])}Re(C[b+48>>2]);C[b+48>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;Re(C[b+60>>2]);C[b+60>>2]=0;C[b+52>>2]=0;C[b+56>>2]=0;Re(C[b+84>>2]);C[b+84>>2]=0;C[b+76>>2]=0;C[b+80>>2]=0;Re(C[b+72>>2]);C[b+72>>2]=0;c=b- -64|0;C[c>>2]=0;C[c+4>>2]=0;Re(C[b+96>>2]);C[b+96>>2]=0;C[b+88>>2]=0;C[b+92>>2]=0;Re(C[b+108>>2]);C[b+108>>2]=0;C[b+100>>2]=0;C[b+104>>2]=0;Re(C[a+36>>2]);Re(a)}}function Kf(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0>32){break b}d=C[a+12>>2];e=C[a+16>>2];if(C[a>>2]>=(e-4|0)){if(!d){break a}if((e|0)>2147483391){break b}d=lf(C[a+8>>2],e+256|0);if(!d){break b}C[a+8>>2]=d;C[a+16>>2]=C[a+16>>2]+256;d=d+C[a>>2]|0;C[a+12>>2]=d}e=d;f=D[d|0];d=C[(c<<2)+349936>>2]&b;b=C[a+4>>2];A[e|0]=f|d<>2]+1|0]=d>>>8-C[a+4>>2];if(b>>>0<16){break c}A[C[a+12>>2]+2|0]=d>>>16-C[a+4>>2];if(b>>>0<24){break c}A[C[a+12>>2]+3|0]=d>>>24-C[a+4>>2];if(b>>>0<32){break c}c=C[a+4>>2];A[C[a+12>>2]+4|0]=c?d>>>32-c|0:0}C[a+4>>2]=b&7;b=(b|0)/8|0;C[a>>2]=b+C[a>>2];C[a+12>>2]=b+C[a+12>>2];return}b=C[a+8>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}}function rN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=C[b>>2]+1|0;if(c>>>0<=65535){a=C[a+16>>2];g=a+518|0;h=a+6|0;while(1){a:{b:{if(c>>>0<=255){d=(c<<1&510)+h|0;a=g;if(!(D[d|0]<<8|D[d+1|0])){break b}break a}a=(c>>>7&33554430)+h|0;a=D[a|0]<<8|D[a+1|0]&248;if(!a){break a}a=a+g|0}f=D[a+7|0]|D[a+6|0]<<8;if(!f){break a}d=c&255;e=D[a+1|0]|D[a|0]<<8;c=(c&-256)+(d>>>0>e>>>0?d:e)|0;e=d-e|0;d=d>>>0>=e>>>0?e:0;e=D[a+3|0]|D[a+2|0]<<8;if(d>>>0>=e>>>0){break a}i=D[a+5|0]|D[a+4|0]<<8;a=a+6+(f+(d<<1))|0;while(1){c:{f=D[a+1|0]|D[a|0]<<8;if(!f){break c}f=f+i&65535;if(!f){break c}C[b>>2]=c;return f|0}a=a+2|0;c=c+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}c=(c&-256)+256|0;if(c>>>0<65536){continue}break}}C[b>>2]=0;return 0}function Hu(a,b,c,d,e,f){var g=0;g=Ce-80|0;Ce=g;a:{if((f|0)>=16384){Uf(g+32|0,b,c,d,e,0,0,0,2147352576);d=C[g+40>>2];e=C[g+44>>2];b=C[g+32>>2];c=C[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Uf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)>=49149?49149:f)-32766|0;d=C[g+24>>2];e=C[g+28>>2];b=C[g+16>>2];c=C[g+20>>2];break a}if((f|0)>-16383){break a}Uf(g- -64|0,b,c,d,e,0,0,0,7471104);d=C[g+72>>2];e=C[g+76>>2];b=C[g+64>>2];c=C[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Uf(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)<=-48920?-48920:f)+32538|0;d=C[g+56>>2];e=C[g+60>>2];b=C[g+48>>2];c=C[g+52>>2]}Uf(g,b,c,d,e,0,0,0,f+16383<<16);b=C[g+12>>2];C[a+8>>2]=C[g+8>>2];C[a+12>>2]=b;b=C[g+4>>2];C[a>>2]=C[g>>2];C[a+4>>2]=b;Ce=g+80|0}function Yf(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){jf(a,b,c);return}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){break b}if(!(a&3)){break c}while(1){if(!c){break a}A[a|0]=D[b|0];b=b+1|0;c=c-1|0;a=a+1|0;if(a&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;A[d|0]=D[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;C[c+a>>2]=C[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;A[c+a|0]=D[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){C[a>>2]=C[b>>2];b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){A[a|0]=D[b|0];a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}}function lE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;d=C[a+40>>2];e=C[a+44>>2];a:{if(!(C[a- -64>>2]?0:C[a+60>>2])){Hl(C[a+52>>2]);break a}A[c+15|0]=0;A[c+13|0]=105;A[c+14|0]=105;b=D[a+10|0];f=C[a+16>>2];C[c>>2]=C[a+72>>2];C[c+4>>2]=(f>>>2>>>0)/(b>>>0);S(385877,c+13|0,c|0)|0;b=C[a+52>>2];if(!b){Fe[e|0](C[a+48>>2],C[a+72>>2],d);break a}if((Lj(b,C[a+72>>2],C[a+16>>2])|0)==-1){C[a+60>>2]=0}b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)<(d|0)){break a}while(1){if((bj(C[a+52>>2],C[a+72>>2],d)|0)!=(d|0)){mf(C[a+72>>2],D[a+35|0],d)}Fe[e|0](C[a+48>>2],C[a+72>>2],d);b=C[a+52>>2];if(b){b=C[b+168>>2];if(b){b=C[b+16>>2]}else{b=0}}else{b=0}if((b|0)>=(d|0)){continue}break}}Ce=c+16|0}function Li(a){var b=0,c=0,d=0,e=0,f=0;b=C[a+368>>2]+1|0;C[a+368>>2]=b;a:{if(b>>>0>2]){break a}if(D[a+420|0]){C[a+368>>2]=0;We(C[a+376>>2],0,C[a+360>>2]+1|0);b=D[a+421|0];b:{while(1){b=b+1|0;c=b&255;if(c>>>0>6){break b}d=D[c+351761|0];f=(d+C[a+344>>2]|0)+(D[c+351754|0]^-1)|0;C[a+364>>2]=(f>>>0)/(d>>>0);if(!(D[a+212|0]&2)){e=D[c+351747|0];c=(e+C[a+348>>2]|0)+(D[c+351740|0]^-1)|0;C[a+352>>2]=(c>>>0)/(e>>>0);if(c>>>0>>0|d>>>0>f>>>0){continue}}break}A[a+421|0]=b;return}A[a+421|0]=b}c:{if(D[a+208|0]&8){break c}kv(a,0,0);C[a+232>>2]=0;b=C[a+208>>2];if(b&8){break c}C[a+208>>2]=b|8;C[a+204>>2]=C[a+204>>2]|8}if(C[a+216>>2]!=1229209940){break a}C[a+216>>2]=0;C[a+220>>2]=0;C[a+224>>2]=0;ef(a,C[a+396>>2])}}function KE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);f=c<<2;a:{if(!c){break a}b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);d=b+c|0;e=b+f|0;if(c&1){e=e-4|0;d=d-1|0;G[e>>2]=J(J(D[d|0])*J(.0078125))+J(-1);b=c-1|0}else{b=c}if((c|0)==1){break a}while(1){G[e-4>>2]=J(J(D[d-1|0])*J(.0078125))+J(-1);e=e-8|0;d=d-2|0;G[e>>2]=J(J(D[d|0])*J(.0078125))+J(-1);b=b-2|0;if(b){continue}break}}A[a+24|0]=f;A[a+25|0]=f>>>8;A[a+26|0]=f>>>16;A[a+27|0]=f>>>24;b=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=b;A[a+81|0]=b>>>8;A[a+82|0]=b>>>16;A[a+83|0]=b>>>24;b=(b<<2)+a|0;b=D[b+40|0]|D[b+41|0]<<8|(D[b+42|0]<<16|D[b+43|0]<<24);if(b){Fe[b|0](a,33056)}}function sn(a,b,c,d){var e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;a:{b:{if(D[a+49|0]&64){break b}bi(a,f+12|0,f+8|0);if(!((b|c)<0|C[f+12>>2]<=(b|0))&C[f+8>>2]>(c|0)){break b}if(C[105671]!=(a|0)){break a}if(d){Ai(a,C[105670],0,b,c);a=C[105671];if(!a){break a}}dg(a,11,0,0);C[105680]=0;C[105671]=0;a=C[105662];b=C[105701];if(!(C[105681]|(!b|!C[105703]))){if(!a){break a}Fe[a|0](b)|0;break a}if(!a){break a}Fe[a|0](0)|0;break a}h=1;e=C[105671];if((e|0)==(a|0)){break a}if(e){dg(e,11,0,0)}C[105671]=a;C[105680]=0;dg(a,10,0,0);e=C[105662];g=C[(C[105671]?422808:422804)>>2];c:{if(!(C[105681]|(!g|!C[105703]))){if(!e){break c}Fe[e|0](g)|0;break c}if(!e){break c}Fe[e|0](0)|0}if(!d){break a}Ai(a,C[105670],0,b,c)}Ce=f+16|0;return h}function ey(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ce-16|0;Ce=d;a:{if(!a){c=35;break a}c=C[a+96>>2];if(!c){c=6;break a}g=C[c+8>>2];e=hf(g,C[C[c+12>>2]+44>>2],d+8|0);b:{c:{c=C[d+8>>2];if(!c){C[e+4>>2]=a;f=C[a+96>>2];k=C[f+12>>2];h=C[f+8>>2];C[d+12>>2]=0;C[e>>2]=C[f+4>>2];i=hf(h,40,d+12|0);c=C[d+12>>2];if(c){break c}C[e+156>>2]=i;if(!(D[C[f>>2]+1|0]&2)){f=Ce-16|0;Ce=f;j=hf(h,96,f+12|0);c=C[f+12>>2];if(!c){C[j>>2]=h;C[i>>2]=j}Ce=f+16|0;C[d+12>>2]=c;if(c){break c}}c=C[k+64>>2];if(c){c=Fe[c|0](e)|0;C[d+8>>2]=c;if(c){break b}}C[e+8>>2]=C[a+84>>2];C[a+84>>2]=e;c=0;if(!b){break a}C[b>>2]=e;break a}if(!b){break a}C[b>>2]=0;break a}C[d+8>>2]=c}aq(e);if(e){Fe[C[g+8>>2]](g,e)}c=C[d+8>>2]}Ce=d+16|0;return c}function dv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;g=(w(a),j(2));c=g&2147483647;a:{if(c>>>0<=1305022426){h=+a;f=h*.6366197723675814+6755399441055744+-6755399441055744;d=h+f*-1.5707963109016418+f*-1.5893254773528196e-8;H[b>>3]=d;g=d<-.7853981852531433;if(K(f)<2147483648){c=~~f}else{c=-2147483648}if(g){d=f+-1;H[b>>3]=h+d*-1.5707963109016418+d*-1.5893254773528196e-8;c=c-1|0;break a}if(!(d>.7853981852531433)){break a}d=f+1;H[b>>3]=h+d*-1.5707963109016418+d*-1.5893254773528196e-8;c=c+1|0;break a}if(c>>>0>=2139095040){H[b>>3]=J(a-a);c=0;break a}i=c;c=(c>>>23|0)-150|0;H[e+8>>3]=(l(2,i-(c<<23)|0),v());c=fv(e+8|0,e,c,1,0);d=H[e>>3];if((g|0)<0){H[b>>3]=-d;c=0-c|0;break a}H[b>>3]=d}Ce=e+16|0;return c}function tk(a){var b=0,c=0,d=0;a:{if(!C[a+528>>2]){break a}if(sg(a+232|0,a+456|0,32)){break a}return 0}b:{c=C[a+444>>2];if(c){C[a+444>>2]=C[c+24>>2];C[c+24>>2]=0;break b}c=If(1,28);if(c){break b}_e(0);return-1}b=C[a+440>>2];C[(b?b+24|0:a+436|0)>>2]=c;C[a+440>>2]=c;C[c>>2]=1;C[c+4>>2]=0;d=O(H[a+232>>3]);c:{if(K(d)<2147483648){b=~~d;break c}b=-2147483648}C[c+8>>2]=b;d=O(H[a+240>>3]);d:{if(K(d)<2147483648){b=~~d;break d}b=-2147483648}C[c+12>>2]=b;d=O(H[a+248>>3]);e:{if(K(d)<2147483648){b=~~d;break e}b=-2147483648}C[c+16>>2]=b;d=O(H[a+256>>3]);f:{if(K(d)<2147483648){b=~~d;break f}b=-2147483648}C[c+20>>2]=b;b=Fe[C[a+20>>2]](a,c)|0;if((b|0)<0){C[c>>2]=0;return b}gf(a+456|0,a+232|0,32);C[a+528>>2]=1;return b}function We(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}A[a|0]=b;d=a+c|0;A[d-1|0]=b;if(c>>>0<3){break a}A[a+2|0]=b;A[a+1|0]=b;A[d-3|0]=b;A[d-2|0]=b;if(c>>>0<7){break a}A[a+3|0]=b;A[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=I(b&255,16843009);C[e>>2]=b;d=c-d&-4;c=d+e|0;C[c-4>>2]=b;if(d>>>0<9){break a}C[e+8>>2]=b;C[e+4>>2]=b;C[c-8>>2]=b;C[c-12>>2]=b;if(d>>>0<25){break a}C[e+24>>2]=b;C[e+20>>2]=b;C[e+16>>2]=b;C[e+12>>2]=b;C[c-16>>2]=b;C[c-20>>2]=b;C[c-24>>2]=b;C[c-28>>2]=b;g=e&4|24;c=d-g|0;if(c>>>0<32){break a}d=mT(b,0,1,1);f=Ee;b=e+g|0;while(1){C[b+24>>2]=d;C[b+28>>2]=f;C[b+16>>2]=d;C[b+20>>2]=f;C[b+8>>2]=d;C[b+12>>2]=f;C[b>>2]=d;C[b+4>>2]=f;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function jF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/5<<3;if(d>>>0>=20){g=(d>>>0)/20|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;G[e-12>>2]=G[d-4>>2];G[e-16>>2]=G[d-8>>2];h=G[d-12>>2];C[e-24>>2]=0;G[e-20>>2]=h;G[e-28>>2]=G[d-16>>2];e=e-32|0;d=d-20|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function dy(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=C[a+4>>2];if(!d){break b}f=C[a+72>>2];if((f|0)==1651078259){return 0}g=C[C[d+96>>2]+4>>2];c:{if((f|0)!=1869968492){e=7;if(!g){break b}c=C[g+148>>2];if(!c){break b}while(1){d=C[c+8>>2];if((f|0)==C[d+16>>2]){break c}c=C[c+4>>2];if(c){continue}break}break b}d=C[g+156>>2];if(!d){break a}c=C[g+148>>2]}e=0;f=Fe[C[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=C[(c?c+4|0:i)>>2];if(!c){break e}e=C[a+72>>2];while(1){h=C[c+8>>2];if((e|0)==C[h+16>>2]){break d}c=C[c+4>>2];if(c){continue}break}}e=d;break b}e=0;d=Fe[C[h+60>>2]](h,a,b,0)|0;if(d){continue}break}}return e}return 7}function BF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=J(0),g=0,h=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/3<<2;if(d>>>0>=12){g=(d>>>0)/12|0;h=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=h+c|0;d=d+h|0;while(1){f=J(G[d-4>>2]*J(.1111111119389534));G[e-8>>2]=f;G[e-4>>2]=f;G[e-12>>2]=f+J(G[d-8>>2]*J(.8888888955116272));e=e-16|0;d=d-12|0;G[e>>2]=f+J(G[d>>2]*J(.8888888955116272));g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Xe(a,b,c,d){var e=0,f=0,g=0;if(b){f=C[a- -64>>2];a:{b:{c:{g=C[a+60>>2];if((g|0)>=0){e=f+1|0;e=(e|0)>0?e:0;if(e>>>0<=g>>>0){break b}while(1){g=((g>>>1|0)+g|0)+8|0;if(e>>>0>=g>>>0){continue}break}if(g>>>0<=153391688){f=lf(C[a+68>>2],I(g,28));if(f){break c}f=C[a+64>>2]}C[a+60>>2]=-1}C[104434]=C[21158];e=C[21157];C[104432]=C[21156];C[104433]=e;e=C[21155];C[104430]=C[21154];C[104431]=e;e=C[21153];C[104428]=C[21152];C[104429]=e;e=417712;break a}C[a+60>>2]=g;C[a+68>>2]=f;f=C[a+64>>2]}if(e>>>0>f>>>0){We(C[a+68>>2]+I(f,28)|0,0,I(e-f|0,28))}C[a+64>>2]=e;f=e;e=(C[a+68>>2]+I(e,28)|0)-28|0}C[e+12>>2]=c;C[e+8>>2]=d;C[e+4>>2]=f;C[e>>2]=b;C[e+16>>2]=0-(c&1)&d;C[e+20>>2]=C[a+52>>2];C[e+24>>2]=C[a+56>>2]}}function cF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/6<<3;if(d>>>0>=24){g=(d>>>0)/24|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;G[e-12>>2]=G[d-4>>2];G[e-16>>2]=G[d-8>>2];G[e-20>>2]=G[d-12>>2];G[e-24>>2]=G[d-16>>2];G[e-28>>2]=G[d-20>>2];e=e-32|0;d=d-24|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function fM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;a:{b:{h=E[(b?a+296|0:a+216|0)+34>>1];if(!h){break b}g=C[(b?788:784)+a>>2];b=g+C[(b?692:684)+a>>2]|0;a=C[a+104>>2];if(c>>>0>>0){h=b;b=g+(c<<2)|0;if(h>>>0>>0){break b}b=bf(a,b);C[f+12>>2]=b;if(b){break b}j=e,k=$f(a,f+12|0),B[j>>1]=k;if(C[f+12>>2]){break b}j=d,k=$f(a,f+12|0),B[j>>1]=k;if(!C[f+12>>2]){break a}break b}g=g+(h<<2)|0;if(g>>>0>b>>>0){break b}i=bf(a,g-4|0);C[f+12>>2]=i;if(i){break b}j=e,k=$f(a,f+12|0),B[j>>1]=k;if(C[f+12>>2]){break b}c=g+(c-h<<1)|0;if(b>>>0>>0){B[d>>1]=0;break a}b=bf(a,c);C[f+12>>2]=b;if(b){break a}j=d,k=$f(a,f+12|0),B[j>>1]=k;break a}B[d>>1]=0;B[e>>1]=0}Ce=f+16|0}function xv(a){var b=0,c=0;nf(a,C[a+484>>2]);C[a+484>>2]=0;b=C[a+488>>2];if(b){c=C[a+476>>2];if((c|0)!=-23){b=1<<8-c;c=(b|0)<=1?1:b;b=0;while(1){nf(a,C[C[a+488>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}b=C[a+488>>2]}nf(a,b);C[a+488>>2]=0}nf(a,C[a+492>>2]);C[a+492>>2]=0;nf(a,C[a+496>>2]);C[a+496>>2]=0;b=C[a+500>>2];if(b){c=C[a+476>>2];if((c|0)!=-23){b=1<<8-c;c=(b|0)<=1?1:b;b=0;while(1){nf(a,C[C[a+500>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}b=C[a+500>>2]}nf(a,b);C[a+500>>2]=0}b=C[a+504>>2];if(b){c=C[a+476>>2];if((c|0)!=-23){b=1<<8-c;c=(b|0)<=1?1:b;b=0;while(1){nf(a,C[C[a+504>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}b=C[a+504>>2]}nf(a,b);C[a+504>>2]=0}}function Tq(a){var b=0,c=0,d=0;a:{if(!(!C[a+532>>2]|C[a+360>>2]!=C[a+520>>2])){if(!sg(a+296|0,a+488|0,32)){break a}}b:{c=C[a+444>>2];if(c){C[a+444>>2]=C[c+24>>2];C[c+24>>2]=0;break b}c=If(1,28);if(c){break b}_e(0);return-1}b=C[a+440>>2];C[(b?b+24|0:a+436|0)>>2]=c;C[a+440>>2]=c;C[c>>2]=2;C[c+4>>2]=C[a+360>>2];d=O(H[a+296>>3]);c:{if(K(d)<2147483648){b=~~d;break c}b=-2147483648}C[c+8>>2]=b;d=O(H[a+304>>3]);d:{if(K(d)<2147483648){b=~~d;break d}b=-2147483648}C[c+12>>2]=b;d=O(H[a+312>>3]);e:{if(K(d)<2147483648){b=~~d;break e}b=-2147483648}C[c+16>>2]=b;d=O(H[a+320>>3]);f:{if(K(d)<2147483648){b=~~d;break f}b=-2147483648}C[c+20>>2]=b;gf(a+488|0,a+296|0,32);C[a+532>>2]=1;C[a+520>>2]=C[a+360>>2]}return 0}function $m(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;a:{if(!a){C[f>>2]=19774;Qe(19745,f);break a}d=tz();b:{if(d){c=C[d>>2];if(c>>>0>=a>>>0){break b}}d=Rf(d,(a<<3)+36|0);if(!d){_e(0);break a}e=a+4|0;C[d>>2]=e;if(c>>>0>>0){We(((c<<3)+d|0)+4|0,0,e-c<<3)}c:{d:{e:{f:{c=C[105729];if(!c){break f}g:{if(!C[c>>2]){e=c;break g}while(1){e=C[c+8>>2];if(!e){break f}g=c;c=e;if(C[c>>2]){continue}break}}if(d){C[e+4>>2]=d;break e}C[(g?g+8|0:422916)>>2]=C[e+8>>2];if(e){Fe[C[94765]](e);C[94766]=C[94766]-1}break e}c=Fe[C[94762]](12)|0;if(c){C[94766]=C[94766]+1}if(!c){break d}C[c+4>>2]=d;C[c>>2]=0;C[c+8>>2]=C[105729];C[105729]=c}c=0;break c}c=_e(0)}if(c){break a}}a=(a<<3)+d|0;C[a>>2]=0;C[a-4>>2]=b}Ce=f+16|0}function pB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){o=d,p=rT(C[(I(C[a+12>>2],j)+k|0)+n>>2],24),C[o>>2]=p;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){o=c,p=rT(C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2],24),C[o>>2]=p;b=b+f|0;o=c,p=rT(C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2],24),C[o+4>>2]=p;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function RQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ce-16|0;Ce=f;c=C[a>>2];a:{if(D[c+8|0]&2){if(!(Fe[C[C[c+532>>2]+104>>2]](c,b,f+12|0)|0)){wy(a,C[f+12>>2]);break a}C[a+44>>2]=-1;c=C[a>>2]}hk(c,b);c=C[a>>2];b=C[C[c+656>>2]+2952>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);if(!c|!b){break a}b=C[b>>2];if(!b){break a}g=Fe[b|0](c)|0;if(!g){break a}h=C[C[a>>2]+656>>2];c=C[h+1392>>2];i=C[a+40>>2];Fe[C[g+4>>2]](C[i>>2],C[a+16>>2],C[a+20>>2],0,0);e=C[h+1896>>2];if(!e){break a}while(1){b=C[a+16>>2];e=e-1|0;j=e<<2;d=C[C[(j+h|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){b=of(b,c,d);d=of(C[a+20>>2],c,d);break b}d=C[a+20>>2]}Fe[C[g+4>>2]](C[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Ce=f+16|0;return 0}function hC(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(b|0)|0;if(b){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2?D[a+63|0]<<24:-16777216;p=b&1;q=(j|0)/2|0;g=(k|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){r=g>>>16|0;s=C[a>>2];c=b;e=q;while(1){d=C[(I(C[a+12>>2],r)+s|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(p){i=(I(i,m)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[c>>2]=h|o|i<<8|d<<16;c=c+4|0;e=e+j|0;if(f){continue}break}c=C[a+28>>2]}e=c;c=e-1|0;C[a+28>>2]=c;g=g+k|0;b=C[a+32>>2]+b|0;if(e){continue}break}C[a+20>>2]=b}}function SB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(b|0)|0;if(b){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2?D[a+63|0]<<24:-16777216;p=b&1;q=(j|0)/2|0;g=(k|0)/2|0;b=C[a+20>>2];while(1){f=C[a+24>>2];if(f){r=g>>>16|0;s=C[a>>2];c=b;e=q;while(1){d=C[(I(C[a+12>>2],r)+s|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(p){d=(I(d,l)>>>0)/255|0;i=(I(i,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[c>>2]=d|o|i<<8|h<<16;c=c+4|0;e=e+j|0;if(f){continue}break}c=C[a+28>>2]}e=c;c=e-1|0;C[a+28>>2]=c;g=g+k|0;b=C[a+32>>2]+b|0;if(e){continue}break}C[a+20>>2]=b}}function lq(a){var b=0,c=0;a:{if(!a){break a}c=C[a>>2];if(!c){break a}C[a+44>>2]=0;C[a+48>>2]=0;b=C[a+52>>2];if((b|0)!=(a+72|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+52>>2]=0}C[a+56>>2]=0;C[a+60>>2]=0;b=C[a- -64>>2];if((b|0)!=(a+936|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+64>>2]=0}b=a+1512|0;C[b>>2]=0;C[b+4>>2]=0;b=C[a+1520>>2];if((b|0)!=(a+1540|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+1520>>2]=0}b=a+1524|0;C[b>>2]=0;C[b+4>>2]=0;b=C[a+1532>>2];if((b|0)!=(a+2404|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+1532>>2]=0}b=C[a+40>>2];if((b|0)!=(a+3e3|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+40>>2]=0}C[a+32>>2]=0;C[a+36>>2]=0;b=C[a+28>>2];if((b|0)!=(a+3032|0)){if(b){Fe[C[c+8>>2]](c,b)}C[a+28>>2]=0}C[a>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0}}function jQ(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,j=0;d=C[b>>2];if(F[d+16>>2]>c>>>0){b=C[d+140>>2];f=E[b+278662>>1];e=C[b+56>>2];if(c){b=c-1|0}else{b=C[d+164>>2]}b=e+I(b,36)|0;c=B[b+20>>1];e=B[b+16>>1];g=E[b+10>>1];h=C[b+24>>2];i=E[b+14>>1];j=E[b+12>>1];C[a+84>>2]=C[b+28>>2];C[a+80>>2]=j;C[a+76>>2]=i;fy(a,h);a:{b:{switch(f-1|0){case 0:A[a+94|0]=1;break a;case 1:A[a+94|0]=3;break a;case 3:A[a+94|0]=4;break a;case 7:break b;default:break a}}B[a+92>>1]=256;A[a+94|0]=2}C[a+104>>2]=c;C[a+100>>2]=e;C[a+72>>2]=1651078259;C[a+40>>2]=g<<6;C[a+36>>2]=c<<6;C[a+32>>2]=e<<6;C[a+24>>2]=C[a+80>>2]<<6;C[a+28>>2]=C[a+76>>2]<<6;ik(a+24|0,E[C[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function VP(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=C[a+12>>2];C[d+8>>2]=0;C[d+12>>2]=0;C[d>>2]=0;C[d+4>>2]=0;e=b;f=C[b+76>>2];b=C[b+72>>2];g=Fe[C[b+200>>2]](e,f,c,d,C[b- -64>>2])|0;if(g){f=C[a+12>>2];a:{if(f){b=C[d>>2];c=C[f+20>>2];e=C[a+20>>2];if((c|0)!=(e|0)){b=nT(mT(e,e>>31,b,b>>31),Ee,c,c>>31)}C[d>>2]=b;b=C[d+4>>2];c=C[f+24>>2];e=C[a+24>>2];if((c|0)!=(e|0)){b=nT(mT(e,e>>31,b,b>>31),Ee,c,c>>31)}C[d+4>>2]=b;e=C[d+8>>2];b=C[f+20>>2];c=C[a+20>>2];if((b|0)!=(c|0)){e=nT(mT(c,c>>31,e,e>>31),Ee,b,b>>31)}b=d+12|0;C[d+8>>2]=e;c=C[d+12>>2];d=C[f+24>>2];a=C[a+24>>2];if((d|0)==(a|0)){break a}c=nT(mT(a,a>>31,c,c>>31),Ee,d,d>>31);break a}b=d+12|0;c=C[d+12>>2]}C[b>>2]=c}return g|0}function EK(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=Ce-1520|0;Ce=f;a:{b:{if(d&16){if(!c){break b}d=0;p(e,0,c<<2);break a}d=Fe[C[C[C[a+488>>2]+12>>2]>>2]](f+12|0,a,0,0,C[a+420>>2],C[a+528>>2],0,0,1167)|0;if(d){break a}A[f+80|0]=0;A[f+82|0]=1;C[f+1376>>2]=C[a+404>>2];C[f+1380>>2]=C[a+408>>2];C[f+1384>>2]=C[a+412>>2];C[f+1500>>2]=C[a+544>>2];C[f+1504>>2]=C[a+540>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!Tk(f+12|0,a+b|0,f+1512|0)){d=C[C[C[f+16>>2]+128>>2]+48>>2];if(d){Fe[C[C[d>>2]+4>>2]](C[d+4>>2],f+1512|0)}d=C[f+52>>2];d=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;break c}d=0}C[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}Ce=f+1520|0;return d|0}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,j=0;j=6;g=C[a+140>>2];a:{if(!g|!b|!C[g+72>>2]){break a}h=D[b|0];if(!h){break a}f=C[g+128>>2];i=C[f+12>>2];a=h;d=b;while(1){e=(a<<24>>24)+I(e,31)|0;a=D[d+1|0];d=d+1|0;if(a){continue}break}a=e;e=C[f+4>>2];d=((a>>>0)%(e>>>0)<<2)+i|0;a=C[d>>2];if(!a){break a}e=((e<<2)+i|0)-4|0;while(1){b:{f=C[a>>2];if(D[f|0]==(h|0)){if(!Se(f,b)){break b}}a=d-4|0;d=a>>>0>>0?e:a;a=C[d>>2];if(a){continue}break a}break}b=C[g+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(C[a+4>>2]<<4)|0;switch(C[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}C[c>>2]=1;break c}C[c>>2]=2;break c}C[c>>2]=3}C[c+4>>2]=C[a+12>>2];j=0}return j|0}function PP(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;b=Ce-16|0;Ce=b;f=C[a>>2];a=af(c);g=hf(f,a+18|0,b+12|0);h=C[b+12>>2];if(!h){t(g,c,a);c=a+g|0;a=D[21514]|D[21515]<<8;A[c+16|0]=a;A[c+17|0]=a>>>8;a=D[21510]|D[21511]<<8|(D[21512]<<16|D[21513]<<24);f=D[21506]|D[21507]<<8|(D[21508]<<16|D[21509]<<24);A[c+8|0]=f;A[c+9|0]=f>>>8;A[c+10|0]=f>>>16;A[c+11|0]=f>>>24;A[c+12|0]=a;A[c+13|0]=a>>>8;A[c+14|0]=a>>>16;A[c+15|0]=a>>>24;a=D[21502]|D[21503]<<8|(D[21504]<<16|D[21505]<<24);f=D[21498]|D[21499]<<8|(D[21500]<<16|D[21501]<<24);A[c|0]=f;A[c+1|0]=f>>>8;A[c+2|0]=f>>>16;A[c+3|0]=f>>>24;A[c+4|0]=a;A[c+5|0]=a>>>8;A[c+6|0]=a>>>16;A[c+7|0]=a>>>24;C[d>>2]=g;C[e>>2]=0}Ce=b+16|0;return h|0}function Pj(a,b,c){var d=0,e=0,f=0,g=0;if(!(C[a+20>>2]|!c)){a:{b:{c:{d=C[a+40>>2];e=C[d+8>>2];if((e|0)>=0){g=C[d+12>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=268435454){g=lf(C[d+16>>2],e<<4);if(g){break c}}C[d+8>>2]=-1}d=C[21155];C[104430]=C[21154];C[104431]=d;d=C[21153];C[104428]=C[21152];C[104429]=d;d=417712;break a}C[d+8>>2]=e;C[d+16>>2]=g;g=C[d+12>>2]}if(f>>>0>g>>>0){We(C[d+16>>2]+(g<<4)|0,0,f-g<<4)}C[d+12>>2]=f;d=(C[d+16>>2]+(f<<4)|0)-16|0}if(C[C[a+40>>2]+8>>2]<0){C[a+20>>2]=C[a+20>>2]|1}C[d+12>>2]=c;A[d|0]=D[d|0]&192|2;a=C[C[a+40>>2]>>2];C[d+8>>2]=0;C[d+4>>2]=b-a&268435455|C[d+4>>2]&-268435456}}function Ct(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=D[a|0]|D[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){k=C[c+8>>2];l=C[c>>2];d=D[i|0]|D[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=84608}e=D[d|0]|D[d+1|0]<<8;g=(((e<<8|e>>>8)&65535)<<1)+d|0;d=g;f=D[d+2|0]|D[d+3|0]<<8;h=(f<<8|f>>>8)&65535;d=(d+2|0)+(f?h<<1:2)|0;b:{if(C[b+12>>2]!=(h|0)|(D[b+16|0]?e|(D[d|0]|D[d+1|0]<<8):0)){break b}if(h>>>0<2){return 1}f=1;d=1;g=g+4|0;if(!(Fe[l|0](C[C[b+8>>2]+4>>2],g,k)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}m=d<<1;d=e;if(Fe[l|0](C[C[b+8>>2]+(d<<2)>>2],g+m|0,k)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}return f}function xF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/3<<3;if(d>>>0>=12){g=(d>>>0)/12|0;e=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=e+c|0;d=d+e|0;while(1){e=f-16|0;C[e>>2]=0;C[e+4>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;h=G[d-4>>2];C[f-24>>2]=0;G[f-20>>2]=h;G[f-28>>2]=G[d-8>>2];f=f-32|0;d=d-12|0;G[f>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Pr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ce;i=c;d=Kj(0,0,1,b,b);a:{if((d|0)<=0){break a}f=I(d,56);b:{if(f>>>0<=127){c=c-(f+15&-16)|0;Ce=c;break b}c=Fe[C[94762]](f>>>0<=1?1:f)|0;if(c){C[94766]=C[94766]+1}if(!c){break a}}e=Kj(c,d,2,b,b);if((e|0)>0){d=0;g=(b|0)==1619;h=(b|0)!=1541;while(1){c:{if(!g){b=-1;if(h){break c}}b=C[(I(d,56)+c|0)+8>>2]}d:{if((b|0)<(a|0)){break d}if((a|0)==(b|0)){b=I(d,56)+c|0;Qh(b,b+56|0,I(e-d|0,56)-56|0);d=d-1|0;e=e-1|0;break d}if(!g){if(h){break d}b=I(d,56)+c|0;C[b+8>>2]=C[b+8>>2]-1;break d}b=I(d,56)+c|0;C[b+8>>2]=C[b+8>>2]-1}d=d+1|0;if((e|0)>(d|0)){continue}break}}Kj(c,e,0,0,0);if(f>>>0<128){break a}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}}Ce=i}function qf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=b>>>0>1;f=(a>>>6&1020)+418400|0;c=C[f>>2];a:{if(c){d=0;if(C[(a>>>3&28)+c>>2]>>>a&1){break a}}d=1}if(!(e|(d|0)==(b|0))){b:{if(!b){if(!c){c=If(1,32);C[f>>2]=c;if(!c){break b}}b=(a>>>3&28)+c|0;C[b>>2]=C[b>>2]|1<>>3&28)+c|0;c=C[b>>2];g=b,h=rT(-2,a)&c,C[g>>2]=h}c:{if(bg(24207,1)){b=0;if(!C[104606]){break c}if(Or()){break c}}b=1}A[419456]=b;g=419460,h=!bg(24068,1)|C[104618]!=0,A[g|0]=h}if(!((a&-2)!=4096|e)){d:{a=C[105780];if(!a|!C[a+344>>2]){break d}b=1;if((qf(4096,-1)|0)!=1){b=(qf(4097,-1)|0)==1}a=C[C[105780]+380>>2];if(!a){break d}while(1){Fe[C[C[105780]+344>>2]](a,b);a=C[a+172>>2];if(a){continue}break}}}return d}function qF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=(d|0)/4<<3;if(d>>>0>=16){g=d>>>4|0;e=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);f=e+c|0;d=d+e|0;while(1){e=f-8|0;C[e>>2]=0;C[e+4>>2]=0;G[f-12>>2]=G[d-4>>2];G[f-16>>2]=G[d-8>>2];e=f-24|0;C[e>>2]=0;C[e+4>>2]=0;G[f-28>>2]=G[d-12>>2];f=f-32|0;d=d-16|0;G[f>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function xQ(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;a:{b:{if(!Se(b,6477)){d=6;f=C[c>>2];if((f|0)<0){break a}b=C[c+8>>2];if((b|0)<0){break a}e=C[c+16>>2];if((e|0)<0){break a}g=C[c+24>>2];if((g|0)<0){break a}h=C[c+4>>2];if((h|0)<0){break a}i=C[c+12>>2];if((i|0)<0){break a}j=C[c+20>>2];if((j|0)<0){break a}c=C[c+28>>2];if((c|0)<0|(b|0)<(f|0)|((b|0)>(e|0)|e>>>0>g>>>0)){break a}if(h>>>0>500|i>>>0>500|(j>>>0>500|c>>>0>500)){break a}C[a+36>>2]=f;C[a- -64>>2]=c;C[a+60>>2]=g;C[a+56>>2]=j;C[a+52>>2]=e;C[a+48>>2]=i;C[a+44>>2]=b;C[a+40>>2]=h;break b}if(!Se(b,17056)){d=7;if(C[c>>2]!=1){break a}C[a+28>>2]=1;break b}d=12;if(Se(b,15272)){break a}A[a+32|0]=D[c|0]}d=0}return d|0}function Mw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=C[a+28>>2];a:{if((b|0)==-1){break a}f=C[a+36>>2];g=C[a+40>>2];if(f>>>0>=g>>>0){break a}d=b+1|0;i=C[a+16>>2]+20|0;while(1){b=I(f,12)+i|0;c=b-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=c>>>0>>0?d:c;e=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<=e>>>0){b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);while(1){h=b+d|0;if((h|0)!=(c|0)){C[a+36>>2]=f;C[a+28>>2]=d;C[a+32>>2]=h-c;return}d=d+1|0;if(e>>>0>=d>>>0){continue}break}}f=f+1|0;if((g|0)!=(f|0)){continue}break}}A[a+24|0]=0}function Gm(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a+52>>2];d=D[a+32|0];a:{b:{c:{if(d){break c}c=C[a+24>>2];if(c>>>0>=F[a+28>>2]){break c}if(F[a+56>>2]>2]){break b}}if(F[a+56>>2]>=F[a+60>>2]){b=b+1|0;C[a+52>>2]=b;C[a+60>>2]=F[a+40>>2]>b>>>0?(1<>2]+1|0}if(d){C[a+60>>2]=256;C[a+52>>2]=9;A[a+32|0]=0;b=9}d=-1;if(C[a+4>>2]){break a}c=0;e=Vp(C[a+164>>2],a+8|0,b);C[a+24>>2]=0;C[a+36>>2]=e+C[a+36>>2];f=C[a+52>>2];C[a+4>>2]=f>>>0>e>>>0;C[a+28>>2]=(e<<3|1)-f;if(!e){break a}}C[a+24>>2]=b+c;g=(c>>>3|0)+a|0;e=g+8|0;f=c&7;d=D[e|0]>>>f|0;c=8-f|0;a=b-c|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;d=D[e+1|0]<>2]>>2];if(!h){break a}e=C[c+80>>2];if(!e){break a}b=e-1|0;a=0;g=C[c+92>>2];f=D[g+15|0];while(1){b:{if((a|0)==(b|0)){a=e;break b}a=a+1|0;if((f|0)==D[(I(a,20)+g|0)+15|0]){continue}}break}if(!e){break a}i=c;c=g;f=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=I(d,20)+g|0;if(!(C[a+4>>2]&h)){break c}if(D[a+12|0]&16){A[a+18|0]=18;c=C[i+92>>2];f=C[i+80>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;j=D[(I(b,20)+c|0)+15|0];a=b;while(1){d:{a=a+1|0;if(f>>>0<=a>>>0){a=d;break d}if(D[(I(a,20)+c|0)+15|0]==(j|0)){continue}}break}d=b;if(b>>>0>>0){continue}break}}}function Lq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=C[a+32>>2];e=(c>>>0)%F[a+28>>2]|0;f=C[k+I(e,12)>>2];a:{b:{if(!f){break b}n=C[a+24>>2];a=0;g=-1;while(1){m=I(e,12)+k|0;c:{if(C[m+8>>2]!=(c|0)){break c}h=C[f+4>>2];l=C[f>>2];i=h-l|0;d=C[b>>2];if((i|0)!=(C[b+4>>2]-d|0)){break c}j=C[f+12>>2];if((j|0)!=C[b+12>>2]){break c}if((h|0)!=(l|0)){if(Jg(l,d,i)){break c}}h=j<<4;if(!h){break b}d=0;i=C[f+16>>2];j=C[b+16>>2];if(D[i|0]!=D[j|0]){break c}while(1){d=d+1|0;if((h|0)==(d|0)){break b}if(D[d+i|0]==D[d+j|0]){continue}break}if(d>>>0>=h>>>0){break b}}g=(g|0)==-1?C[m+4>>2]?-1:e:g;a=a+1|0;e=e+a&n;f=C[I(e,12)+k>>2];if(f){continue}break}if((g|0)!=-1){break a}}g=e}return g}function sz(a,b,c){var d=0,e=0,f=0,g=0;d=C[105770];f=C[105769];a:{if((f|0)>0){while(1){g=C[d+(e<<2)>>2];if(C[g>>2]==(a|0)&C[g+4>>2]==(b|0)){break a}e=e+1|0;if((f|0)!=(e|0)){continue}break}}d=Rf(d,(f<<2)+4|0);if(!d){return _e(0)}C[105770]=d;e=C[105769];d=Fe[C[94762]](32)|0;if(d){C[94766]=C[94766]+1}C[C[105770]+(e<<2)>>2]=d;if(!d){return _e(0)}C[105769]=C[105769]+1;C[d+20>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+8>>2]=0;C[d>>2]=a;C[d+4>>2]=b;c=Sg(c?c:34979);C[C[C[105770]+(e<<2)>>2]+24>>2]=c;c=Rf(C[104878],I(C[104877],8232)+8232|0);b:{if(!c){_e(0);break b}C[104878]=c;mf(c+I(C[104877],8232)|0,0,8232);c=C[104877];d=C[104878]+I(c,8232)|0;C[d>>2]=a;C[d+4>>2]=b;C[104877]=c+1}}return e}function Zp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ce-32|0;Ce=i;j=C[a>>2];a:{if(!b){g=6;if(b){Fe[C[j+8>>2]](j,b)}break a}h=hf(j,40,i);b:{g=C[i>>2];if(!g){C[h+32>>2]=0;C[h+8>>2]=0;C[h+4>>2]=c;C[h>>2]=b;C[h+20>>2]=0;C[h+24>>2]=0;C[h+24>>2]=855;g=C[i>>2];if(!g){break b}}if(b){Fe[C[j+8>>2]](j,b)}break a}C[i+16>>2]=h;C[i>>2]=2;if(e){C[i>>2]=10;c=C[a+16>>2];c:{if((c|0)<=0){g=0;break c}b=a+20|0;c=b+(c<<2)|0;while(1){g=C[b>>2];if(!Se(C[C[g>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}g=0}C[i+20>>2]=g}g=$p(a,i,d,f);if(!g){a=C[f>>2];C[a+8>>2]=C[a+8>>2]&-1025;g=0;break a}d:{if(!h){break d}a=C[h+24>>2];if(!a){break d}Fe[a|0](h)}if(h){Fe[C[j+8>>2]](j,h)}}Ce=i+32|0;return g}function Yl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=D[a|0]|D[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=D[a+2|0]|D[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;c=((b<<1)+a|0)+6|0;a=D[a+4|0]|D[a+5|0]<<8;a=b>>>0>=((a<<8|a>>>8)&65535)>>>0?84608:c;break b}f=84998;c=D[a+2|0]|D[a+3|0]<<8;e:{if(!c){break e}g=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;e=I(d,6)+g|0;h=D[e|0]|D[e+1|0]<<8;f:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=D[e+2|0]|D[e+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}f=I(d,6)+g|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=f+4|0}a=D[a|0]|D[a+1|0]<<8;c=(a<<8|a>>>8)&65535}return c}function yF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/3|0,7);if(d>>>0>=12){g=(d>>>0)/12|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){C[e-4>>2]=0;f=e-12|0;C[f>>2]=0;C[f+4>>2]=0;h=G[d-4>>2];C[e-20>>2]=0;G[e-16>>2]=h;G[e-24>>2]=G[d-8>>2];e=e-28|0;d=d-12|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function $y(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=(b+1|0)/2|0;a=(a+1|0)/2|0;c=I(b,d)+c|0;e=I(b,f)+e|0;if((c|0)==(e|0)){d=Fe[C[94762]](a>>>0<=1?1:a)|0;if(d){C[94766]=C[94766]+1}if(!d){return _e(0)}if((b|0)>0){h=(g|0)<=1?1:g;b=(f+1|0)/2|0;f=I(b,g)+c|0;e=0;while(1){gf(d,c,a);gf(c,f,a);gf(f,d,a);f=b+f|0;c=b+c|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}return 0}if((b|0)<=0){return 0}h=(d+1|0)/2|0;j=(g|0)<=1?1:g;i=(f+1|0)/2|0;f=I(i,g)+e|0;d=0;while(1){gf(f,c,a);f=f+i|0;c=c+h|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}if((b|0)<=0){return 0}b=(g|0)<=1?1:g;f=0;while(1){gf(e,c,a);e=e+i|0;c=c+h|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}return 0}function lF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/5|0,6);if(d>>>0>=20){f=(d>>>0)/20|0;g=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=g+c|0;d=d+g|0;while(1){G[e-4>>2]=G[d-4>>2];G[e-8>>2]=G[d-8>>2];h=G[d-12>>2];C[e-16>>2]=0;G[e-12>>2]=h;G[e-20>>2]=G[d-16>>2];e=e-24|0;d=d-20|0;G[e>>2]=G[d>>2];f=f-1|0;if(f){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function Ny(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=C[(c?16:12)+b>>2];b=C[(c?8:4)+b>>2];e=I(c,1572)+a|0;f=e+1608|0;a:{if((b|0)==C[f>>2]&C[e+1612>>2]==(g|0)){break a}C[f>>2]=b;C[e+1612>>2]=g;C[e+44>>2]=b;C[e+48>>2]=g;if(!C[e+260>>2]){break a}f=0;h=I(c,1572)+a|0;while(1){a=I(f,28)+h|0;c=Te(C[a+264>>2],b)+g|0;C[a+272>>2]=c;C[a+268>>2]=c;c=Te(C[a+276>>2],b)+g|0;C[a+284>>2]=c;C[a+280>>2]=c;C[a+288>>2]=C[a+288>>2]&-2;if(Te(C[a+264>>2]-C[a+276>>2]|0,b)+48>>>0<=96){c=C[a+268>>2]+32&-64;C[a+272>>2]=c;c=Ze(c,b)-C[a+276>>2]|0;d=c>>31;d=Te((c^d)-d|0,b);d=(d|0)>=32?d+32&-64:0;C[a+284>>2]=((c|0)<0?d:0-d|0)+C[a+272>>2];C[a+288>>2]=C[a+288>>2]|1}f=f+1|0;if(f>>>0>2]){continue}break}}}function lC(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2]|-16777216;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]|-16777216;b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]|-16777216;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function kr(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2]&16777215;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]&16777215;b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]&16777215;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function Hk(a,b){var c=0,d=0,e=0,f=0;f=C[b+12>>2];d=C[b+4>>2];a:{if(f>>>0>=d>>>0){A[b+16|0]=1;e=84608;break a}e=f+C[b>>2]|0}e=D[e|0]<<24;c=f+1|0;b:{if(c>>>0>=d>>>0){A[b+16|0]=1;c=84608;break b}c=c+C[b>>2]|0}e=e|D[c|0]<<16;c=f+2|0;c:{if(c>>>0>=d>>>0){A[b+16|0]=1;c=84608;break c}c=c+C[b>>2]|0}c=e|D[c|0]<<8;e=d;d=f+3|0;d:{if(e>>>0<=d>>>0){A[b+16|0]=1;e=84608;break d}e=d+C[b>>2]|0}c=c|D[e|0];d=C[a+4>>2];e:{if(d>>>0>2]){C[a+4>>2]=d+1;a=C[a+16>>2]+(d<<3)|0;break e}A[a|0]=1;a=C[21153];C[104428]=C[21152];C[104429]=a;a=417712}H[a>>3]=c|0;f:{a=C[b+4>>2];if(D[b+16|0]|a>>>0>>0){break f}f=f+4|0;if(f>>>0>a>>>0){break f}C[b+12>>2]=f;return}A[b+16|0]=1;C[b+12>>2]=a}function pj(a,b,c,d){var e=0,f=0,g=0;e=Ce-48|0;Ce=e;C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];a:{if(Fe[C[f+184>>2]](a,C[a+76>>2],b,c,d,C[f+48>>2])|0){break a}C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];if(!(Fe[C[f+188>>2]](a,C[a+76>>2],b,c,d,C[f+52>>2])|0)){break a}f=b;b=C[a+72>>2];b=Fe[C[b+168>>2]](a,C[a+76>>2],f,C[b+32>>2])|0;C[e+40>>2]=0;C[e+44>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;f=(b|0)/-2|0;b=C[a+72>>2];b:{if(Fe[C[b+148>>2]](a,C[a+76>>2],e,C[b+12>>2])|0){a=C[e>>2];break b}g=+C[a+24>>2]*.8;if(K(g)<2147483648){a=~~g;break b}a=-2147483648}C[c>>2]=f+C[c>>2];C[d>>2]=C[d>>2]-a}Ce=e+48|0}function zF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/3|0,6);if(d>>>0>=12){g=(d>>>0)/12|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;h=G[d-4>>2];C[e-16>>2]=0;G[e-12>>2]=h;G[e-20>>2]=G[d-8>>2];e=e-24|0;d=d-12|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function fp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-48|0;Ce=d;h=a,i=vl(b),C[h+8>>2]=i;c=jj(b+88|0);c=D[c+34|0]|D[c+35|0]<<8;C[a+4>>2]=(c<<8|c>>>8)&65535;Qf(b);c=Of(b,1986884728);a:{if(!c){break a}e=C[c>>2];if(!e){break a}C[c>>2]=e+1}e=C[c+12>>2];Ue(c);if(C[c+4>>2]?e:0){C[c+4>>2]=0}C[a+12>>2]=c;e=C[a+4>>2];g=e<<2;f=C[(c?c:84608)+16>>2];if(g>>>0>f>>>0){e=f>>>2|0;C[a+4>>2]=e;g=f&-4}C[a>>2]=(f-g>>>1|0)+e;if(!e){C[a>>2]=0;C[a+4>>2]=0;Ue(c);C[a+12>>2]=0;C[a+12>>2]=84608}C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;c=Qf(b);A[d+40|0]=1;C[d+36>>2]=c;h=a,i=wv(d,Of(b,1448493394)),C[h+16>>2]=i;Ce=d+48|0}function Vv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-48|0;Ce=d;h=a,i=vl(b),C[h+8>>2]=i;c=kj(b+60|0);c=D[c+34|0]|D[c+35|0]<<8;C[a+4>>2]=(c<<8|c>>>8)&65535;Qf(b);c=Of(b,1752003704);a:{if(!c){break a}e=C[c>>2];if(!e){break a}C[c>>2]=e+1}e=C[c+12>>2];Ue(c);if(C[c+4>>2]?e:0){C[c+4>>2]=0}C[a+12>>2]=c;e=C[a+4>>2];g=e<<2;f=C[(c?c:84608)+16>>2];if(g>>>0>f>>>0){e=f>>>2|0;C[a+4>>2]=e;g=f&-4}C[a>>2]=(f-g>>>1|0)+e;if(!e){C[a>>2]=0;C[a+4>>2]=0;Ue(c);C[a+12>>2]=0;C[a+12>>2]=84608}C[d+8>>2]=0;C[d+12>>2]=0;C[d+16>>2]=0;C[d+20>>2]=0;A[d+24|0]=0;C[d>>2]=0;C[d+4>>2]=0;C[d+28>>2]=0;C[d+32>>2]=0;c=Qf(b);A[d+40|0]=1;C[d+36>>2]=c;h=a,i=wv(d,Of(b,1213612370)),C[h+16>>2]=i;Ce=d+48|0}function Fx(a,b,c,d){var e=0,f=0,g=0;e=Ce-48|0;Ce=e;C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];a:{if(Fe[C[f+188>>2]](a,C[a+76>>2],b,c,d,C[f+52>>2])|0){break a}C[d>>2]=0;C[c>>2]=0;f=C[a+72>>2];if(!(Fe[C[f+184>>2]](a,C[a+76>>2],b,c,d,C[f+48>>2])|0)){break a}f=b;b=C[a+72>>2];b=Fe[C[b+168>>2]](a,C[a+76>>2],f,C[b+32>>2])|0;C[e+40>>2]=0;C[e+44>>2]=0;C[e+32>>2]=0;C[e+36>>2]=0;C[e+24>>2]=0;C[e+28>>2]=0;C[e+16>>2]=0;C[e+20>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;C[e>>2]=0;C[e+4>>2]=0;f=(b|0)/2|0;b=C[a+72>>2];b:{if(Fe[C[b+148>>2]](a,C[a+76>>2],e,C[b+12>>2])|0){a=C[e>>2];break b}g=+C[a+24>>2]*.8;if(K(g)<2147483648){a=~~g;break b}a=-2147483648}C[c>>2]=f+C[c>>2];C[d>>2]=a+C[d>>2]}Ce=e+48|0}function gr(a){var b=0,c=0,d=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+4>>2]=C[a>>2];C[a+8>>2]=C[a+12>>2];Yq(a);a:{b:{c:{b=C[a+44>>2];if((b|0)>=0){d=C[a+48>>2];c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break b}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=1073741822){d=lf(C[a+52>>2],b<<2);if(d){break c}}C[a+44>>2]=-1}C[104428]=C[21152];break a}C[a+44>>2]=b;C[a+52>>2]=d;d=C[a+48>>2]}if(c>>>0>d>>>0){We(C[a+52>>2]+(d<<2)|0,0,c-d<<2)}C[a+48>>2]=c;b=C[a+52>>2];C[104428]=C[21152];b=(b+(c<<2)|0)-4|0;if((b|0)==417712){break a}C[b>>2]=0}C[a+56>>2]=1;C[a+60>>2]=1;C[a+72>>2]=0;C[a+76>>2]=0;A[a+68|0]=1;C[a- -64>>2]=0;C[a+80>>2]=0;C[a+84>>2]=0;C[a+88>>2]=0}function VJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ce-32|0;Ce=c;d=C[b+96>>2];a:{if((d|0)<0|C[a+300>>2]<=(d|0)){break a}e=C[a+304>>2];if((Fe[C[b+52>>2]](b,6,c,3)|0)<6){break a}b=C[c+12>>2];if(!b){break a}f=I(d,252)+e|0;g=a;a=b>>31;a=(a^b)-a|0;h=g,i=Ze(1e3,a),B[h+68>>1]=i;if((a|0)!=65536){h=c,i=Ze(C[c>>2],a),C[h>>2]=i;h=c,i=Ze(C[c+4>>2],a),C[h+4>>2]=i;h=c,i=Ze(C[c+8>>2],a),C[h+8>>2]=i;h=c,i=Ze(C[c+16>>2],a),C[h+16>>2]=i;h=c,i=Ze(C[c+20>>2],a),C[h+20>>2]=i;C[c+12>>2]=C[c+12>>2]<0?-65536:65536}C[f+216>>2]=C[c>>2];a=I(d,252)+e|0;C[a+224>>2]=C[c+4>>2];C[a+220>>2]=C[c+8>>2];C[a+228>>2]=C[c+12>>2];C[f+232>>2]=B[c+18>>1];C[a+236>>2]=B[c+22>>1]}Ce=c+32|0}function IH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=D[a+2|0]|D[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=84608}e=C[b+100>>2];c=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((c|0)==-1){break a}e=84608;d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=D[e|0]|D[e+1|0]<<8;if(!a){break a}c=(a<<8|a>>>8)&65535;g=c>>>0<=1?1:c;a=0;f=1;while(1){d=D[e|0]|D[e+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?84608:((a<<1)+e|0)+2|0;d=D[d|0]|D[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=84608}if(ft(d,b)){break a}a=a+1|0;f=c>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return f|0}function nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=84608;d=D[a+2|0]|D[a+3|0]<<8;a:{if(!d){break a}j=a+4|0;h=((d<<8|d>>>8)&65535)-1|0;m=(b<<8|(b&65280)>>>8)&65535;n=(c<<8|(c&65280)>>>8)&65535;while(1){b:{c:{d:{f=h+k>>>1|0;g=(f<<3)+j|0;i=D[g|0]|D[g+1|0]<<8;l=(i<<8|i>>>8)&65535;d=b&65535;e:{if(!(l>>>0>d>>>0|(i|0)!=(m|0))){d=D[g+2|0]|D[g+3|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>(c&65535)>>>0){break e}if((d|0)==(n|0)){break d}break c}if(d>>>0>=l>>>0){break c}}h=f-1|0;break b}e=(f<<3)+j|0;break a}k=f+1|0}if((h|0)>=(k|0)){continue}break}}b=a;a=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return a?b+a|0:0}function vh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=C[a>>2];if(!i){break a}e=C[a+36>>2];if((e|0)>=C[a+32>>2]){break a}d=-1;g=C[a+16>>2];h=C[g+(e<<2)>>2];if(!(h&1024)){f=h&512;d=255;c=h&255;b:{if((c|0)!=255){d=c;break b}while(1){e=e+1|0;c=C[(e<<2)+g>>2];f=c&512?512:f;c=c&255;d=c+d|0;if((c|0)==255){continue}break}}c:{if(!b){f=C[a+12>>2];break c}C[b+8>>2]=h&256;C[b+12>>2]=f;f=C[a+12>>2];C[b>>2]=i+f;c=C[a+348>>2];C[b+24>>2]=C[a+344>>2];C[b+28>>2]=c;c=C[a+20>>2]+(e<<3)|0;g=C[c>>2];c=C[c+4>>2];C[b+4>>2]=d;C[b+16>>2]=g;C[b+20>>2]=c}C[a+12>>2]=d+f;d=1}C[a+36>>2]=e+1;c=C[a+348>>2];b=C[a+344>>2]+1|0;c=b?c:c+1|0;C[a+344>>2]=b;C[a+348>>2]=c}return d}function aj(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(!D[a+72|0]){break b}if(F[a+40>>2]>>0){A[a+72|0]=0;return 0}d=C[a+92>>2];f=C[a+96>>2];if(b>>>0>214748363){break a}c=C[a+88>>2];if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break a}b=I(c,20);e=lf(C[a+100>>2],b);b=lf(C[a+92>>2],b);if(!(b?e:0)){A[a+72|0]=0;if(e){C[a+100>>2]=e}if(!b){C[a+96>>2]=C[((d|0)==(f|0)?92:100)+a>>2];return 0}C[a+92>>2]=b;C[a+96>>2]=(d|0)==(f|0)?b:C[a+100>>2];return 0}C[a+100>>2]=e;C[a+92>>2]=b;C[a+96>>2]=(d|0)==(f|0)?b:e;if(!D[a+72|0]){break b}C[a+88>>2]=c;g=1}return g}A[a+72|0]=0;C[a+96>>2]=(d|0)==(f|0)?d:C[a+100>>2];return 0}function VI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(C[b>>2]>=2){Kf(c,1,1);Kf(c,C[b>>2]-1|0,4);break a}Kf(c,0,1)}b:{if(C[b+1156>>2]>0){Kf(c,1,1);Kf(c,C[b+1156>>2]-1|0,8);if(C[b+1156>>2]<=0){break b}while(1){e=(d<<2)+b|0;Kf(c,C[e+1160>>2],ug(C[a+4>>2]-1|0));Kf(c,C[e+2184>>2],ug(C[a+4>>2]-1|0));d=d+1|0;if((d|0)>2]){continue}break}break b}Kf(c,0,1)}d=0;Kf(c,0,2);e=C[b>>2];c:{d:{if((e|0)>=2){if(C[a+4>>2]<=0){break d}while(1){Kf(c,C[((d<<2)+b|0)+4>>2],4);d=d+1|0;if((d|0)>2]){continue}break}e=C[b>>2]}if((e|0)<=0){break c}}d=0;while(1){Kf(c,0,8);a=(d<<2)+b|0;Kf(c,C[a+1028>>2],8);Kf(c,C[a+1092>>2],8);d=d+1|0;if((d|0)>2]){continue}break}}}function yB(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,l)>>>0)/255|0;d=(I(d,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=d<<8|i|h<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function sF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/4|0,6);if(d>>>0>=16){g=d>>>4|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){G[e-4>>2]=G[d-4>>2];G[e-8>>2]=G[d-8>>2];f=e-16|0;C[f>>2]=0;C[f+4>>2]=0;G[e-20>>2]=G[d-12>>2];e=e-24|0;d=d-16|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function sB(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,l)>>>0)/255|0;d=(I(d,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=d<<8|i<<16|h;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function ir(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2]>>>8;c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]>>>8;b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2]>>>8;c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function SA(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,m)>>>0)/255|0;i=(I(i,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=d<<8|h|i<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function MA(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d>>>24|0;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,m)>>>0)/255|0;i=(I(i,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=d<<8|h<<16|i;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function WJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;c=C[a+100>>2];C[e+12>>2]=0;d=Fe[C[b+36>>2]](b)|0;a:{if((d|0)<0|C[a+304>>2]){break a}c=Ve(c,252,0,d,0,e+12|0);C[a+304>>2]=c;if(C[e+12>>2]){break a}C[a+300>>2]=d;if(!d){break a}a=0;b=0;if(d>>>0>=8){g=d&-8;while(1){C[(c+I(b,252)|0)+4>>2]=4;C[(c+I(b|1,252)|0)+4>>2]=4;C[(c+I(b|2,252)|0)+4>>2]=4;C[(c+I(b|3,252)|0)+4>>2]=4;C[(c+I(b|4,252)|0)+4>>2]=4;C[(c+I(b|5,252)|0)+4>>2]=4;C[(c+I(b|6,252)|0)+4>>2]=4;C[(c+I(b|7,252)|0)+4>>2]=4;b=b+8|0;f=f+8|0;if((g|0)!=(f|0)){continue}break}}d=d&7;if(!d){break a}while(1){C[(c+I(b,252)|0)+4>>2]=4;b=b+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}Ce=e+16|0}function Jy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=I(c,1468)+a|0;f=C[j- -64>>2];a=C[j+56>>2];h=I(c,1572)+b|0;k=C[h+44>>2];b=Te(F[b+40>>2]/40|0,k);if((a|0)>0){p=(b|0)>=32?32:b;q=I(a,48)+f|0;r=h+264|0;a=C[h+260>>2];c=a;while(1){if(c){c=0;b=p;i=0;while(1){g=I(c,28)+r|0;d=C[g+24>>2];if(!(!(d&1)|(d&2)>>>1^C[j+68>>2]!=A[f+13|0])){a=B[f>>1];l=C[g>>2];m=a-l|0;d=m>>31;n=C[g+12>>2];o=a-n|0;e=o>>31;d=(d^m)-d>>>0>(e^o)-e>>>0;e=a-(d?n:l)|0;a=e>>31;e=Te((a^e)-a|0,k);a=(e|0)<(b|0);b=a?e:b;i=a?d?g+12|0:g:i;a=C[h+260>>2]}c=c+1|0;if(c>>>0>>0){continue}break}if(i){C[f+20>>2]=i}c=a}else{c=0}f=f+48|0;if(q>>>0>f>>>0){continue}break}}}function rr(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,m)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=i<<8|h|d<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function pr(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){i=(I(i,m)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;h=(I(h,l)>>>0)/255|0}C[b>>2]=i<<8|h<<16|d;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function nr(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,l)>>>0)/255|0;i=(I(i,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=i<<8|d|h<<16;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function lr(a){a=a|0;var 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;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;j=(C[a+4>>2]<<16)/C[a+24>>2]|0;k=(C[a+8>>2]<<16)/(c|0)|0;if(c){l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];o=C[a+52>>2]&1;p=(j|0)/2|0;g=(k|0)/2|0;c=C[a+20>>2];while(1){f=C[a+24>>2];if(f){q=g>>>16|0;r=C[a>>2];b=c;e=p;while(1){d=C[(I(C[a+12>>2],q)+r|0)+(e>>>14&262140)>>2];h=d&255;i=d>>>8&255;d=d>>>16&255;f=f-1|0;if(o){d=(I(d,l)>>>0)/255|0;i=(I(i,m)>>>0)/255|0;h=(I(h,n)>>>0)/255|0}C[b>>2]=i<<8|d<<16|h;b=b+4|0;e=e+j|0;if(f){continue}break}b=C[a+28>>2]}e=b;b=e-1|0;C[a+28>>2]=b;g=g+k|0;c=C[a+32>>2]+c|0;if(e){continue}break}C[a+20>>2]=c}}function VQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce-208|0;Ce=d;C[d+204>>2]=0;c=C[a>>2];b=C[C[c+656>>2]+2952>>2];a:{b:{c=Dg(C[C[c+96>>2]+4>>2],9541);c:{if(!c|!b){break c}b=C[b>>2];if(!b){break c}e=Fe[b|0](c)|0;if(!e){break c}b=C[a>>2];f=C[b+656>>2];g=hf(C[b+100>>2],1028,d+204|0);b=C[d+204>>2];if(b){break b}b=d+8|0;By(f+1324|0,b);b=Fe[C[e>>2]](C[C[a>>2]+100>>2],b,g)|0;C[d+204>>2]=b;if(b){break b}b=C[f+1896>>2];d:{while(1){if(!b){break d}b=b-1|0;c=b<<2;h=d+8|0;By(C[(c+f|0)+1900>>2],h);c=Fe[C[e>>2]](C[C[a>>2]+100>>2],h,(c+g|0)+4|0)|0;C[d+204>>2]=c;if(!c){continue}break}i=c;break a}C[a+40>>2]=g}C[a+44>>2]=-1;break a}i=b}Ce=d+208|0;return i|0}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(C[a+64>>2]!=3){C[a+64>>2]=3;e=C[a+20>>2];if(!e){break a}b:{if(D[a+68|0]){d=C[a+12>>2];if((B[d+20>>1]+B[d+56>>1]|0)+1>>>0>F[d+8>>2]){d=Qg(d,0,1);if(d){break a}}f=E[e>>1];d=f<<16>>16;if((d|0)<=0){break b}B[(C[e+12>>2]+(f<<1)|0)-2>>1]=E[e+2>>1]-1}d=E[e>>1]}B[e>>1]=d+1;d=C[a+12>>2];if((B[d+22>>1]+B[d+58>>1]|0)+1>>>0>F[d+4>>2]){d=Qg(d,1,0);if(d){break a}}d=C[a+20>>2];if(D[a+68|0]){e=C[d+8>>2];f=B[d+2>>1];a=C[d+4>>2]+(f<<3)|0;C[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;C[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;A[e+f|0]=1}B[d+2>>1]=E[d+2>>1]+1}d=0}return d|0}function Lr(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=A[a|0];g=f&255;if((f|0)>=0){C[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=D[a+1|0]-128|0;if(b>>>0>=64){break a}C[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=D[e|0]-128|0;if(b>>>0>63){break a}f=D[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}C[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=D[e|0]-128|0;if(b>>>0>63){break a}f=D[a+2|0]-128|0;if(f>>>0>63){break a}h=D[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}C[c>>2]=d;return e}function tF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=J(0);d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/4|0,5);if(d>>>0>=16){f=d>>>4|0;g=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=g+c|0;d=d+g|0;while(1){G[e-4>>2]=G[d-4>>2];h=G[d-8>>2];C[e-12>>2]=0;G[e-8>>2]=h;G[e-16>>2]=G[d-12>>2];e=e-20|0;d=d-16|0;G[e>>2]=G[d>>2];f=f-1|0;if(f){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function tg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ce-208|0;Ce=f;if(b){B[b+74>>1]=E[b+74>>1]|32768}g=Nk(f,196,0,34222);g=Nk(f,196,Nk(f,g+79|0,g,c),34295);h=d>>>24|0;a:{if(!((h|0)==32|h-48>>>0<10)&(h&223)-65>>>0>25){break a}i=d>>>16|0;j=i&255;if(!((j|0)==32|(i&223)-65>>>0<26)&j-48>>>0>9){break a}k=d>>>8|0;l=k&255;if(!((l|0)==32|(k&223)-65>>>0<26)&l-48>>>0>9){break a}m=d&255;if(!((m|0)==32|(d&223)-65>>>0<26)&m-48>>>0>9){break a}c=f+g|0;A[c+5|0]=39;A[c+6|0]=58;A[c|0]=39;A[c+7|0]=32;A[c+4|0]=m-32>>>0>=95?63:d;A[c+3|0]=l-32>>>0>=95?63:k;A[c+2|0]=j-32>>>0>=95?63:i;A[c+1|0]=h-32>>>0>=95?63:h;g=g+8|0}Nk(f,196,g,e);xg(a,f,b?2:1);Ce=f+208|0}function Nl(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+80>>2];if(b){Fe[b|0](C[a+48>>2])}b=C[a+84>>2];if(b){Fe[b|0](C[a+52>>2])}b=C[a+88>>2];if(b){Fe[b|0](C[a+56>>2])}b=C[a+92>>2];if(b){Fe[b|0](C[a+60>>2])}b=C[a+96>>2];if(b){Fe[b|0](C[a- -64>>2])}b=C[a+100>>2];if(b){Fe[b|0](C[a+68>>2])}b=C[a+104>>2];if(b){Fe[b|0](C[a+72>>2])}b=C[a+108>>2];if(b){Fe[b|0](C[a+76>>2])}Nl(C[a+12>>2]);Re(a)}}function IO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;a=C[b+4>>2];a:{if(!a){break a}b=C[a+92>>2];if(!b|C[b+4>>2]!=1970170211){break a}b=C[a+40>>2];if(!b){break a}h=C[a+36>>2];if((h|0)<=0){break a}k=(h<<2)+b|0;while(1){b:{h=C[b>>2];c:{if(E[h+8>>1]|E[h+10>>1]!=5){break c}g=C[h>>2];if(!g){break c}g=C[g+96>>2];i=C[C[g>>2]+32>>2];if(!i){break c}g=Fe[i|0](g,6749)|0;if(!g){break c}if(Fe[C[g>>2]](h,f+8|0)|0){break c}if(C[f+12>>2]==14){break b}}b=b+4|0;if(k>>>0>b>>>0){continue}break a}break}b=C[b>>2];if(!b){break a}j=Fe[C[C[b+12>>2]+20>>2]](b,C[a+92>>2],c,d)|0}Ce=f+16|0;if(!j){return 0}C[e>>2]=j;return 1}function AQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=C[a+656>>2];a:{b:{if(!e){break b}f=C[e+1456>>2];a=6;if((f|0)==65535){break a}if(b){a=C[e+2964>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=F[e+1312>>2]){break c}g=C[C[e+1316>>2]+(f<<2)>>2];break c}a=C[e+2956>>2];g=0;if(!a){break c}g=Fe[C[a+20>>2]](f)|0}a=g;C[e+2964>>2]=a}C[b>>2]=a}if(c){a=C[e+2968>>2];if(!a){a=0;b=C[e+1460>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=F[e+1312>>2]){break d}a=C[C[e+1316>>2]+(b<<2)>>2];break d}f=C[e+2956>>2];if(!f){break d}a=Fe[C[f+20>>2]](b)|0}C[e+2968>>2]=a}C[c>>2]=a}if(!d){break b}C[d>>2]=C[e+1464>>2]}a=0}return a|0}function pn(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;f=(C[a+4>>2]<<16)/C[a+24>>2]|0;l=(C[a+8>>2]<<16)/(b|0)|0;if(b){h=(l|0)/2|0;i=(f|0)/2|0;m=i+f|0;n=i>>>14&262140;d=C[a+20>>2];while(1){e=C[a+24>>2];if(e){j=h>>>16|0;k=C[a>>2];g=e;c=d;b=i;if(e&1){C[d>>2]=C[(I(C[a+12>>2],j)+k|0)+n>>2];c=d+4|0;g=e-1|0;b=m}if((e|0)!=1){while(1){C[c>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];b=b+f|0;C[c+4>>2]=C[(I(C[a+12>>2],j)+k|0)+(b>>>14&262140)>>2];c=c+8|0;b=b+f|0;g=g-2|0;if(g){continue}break}}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;h=h+l|0;d=C[a+32>>2]+d|0;if(b){continue}break}C[a+20>>2]=d}}function $q(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(c){a:{f=C[a>>2];if((f|0)>C[b>>2]){break a}if((a|0)!=(b|0)){if(sg(C[a+4>>2],C[b+4>>2],f<<2)){break a}}C[c>>2]=1;return 0}C[c>>2]=0}h=If(256,1);if(h){if(C[a>>2]>0){while(1){f=0;j=C[b>>2];if((j|0)>0){c=C[a+4>>2]+(g<<2)|0;l=D[c+3|0];m=D[c+2|0];n=D[c+1|0];o=D[c|0];p=C[b+4>>2];k=-1;c=0;while(1){b:{d=(c<<2)+p|0;e=D[d+1|0]-n|0;i=I(e,e);e=D[d|0]-o|0;i=i+I(e,e)|0;e=D[d+2|0]-m|0;d=D[d+3|0]-l|0;d=(i+I(e,e)|0)+I(d,d)|0;if(d>>>0>>0){f=c;k=d;if(!d){break b}}c=c+1|0;if((j|0)!=(c|0)){continue}}break}}A[g+h|0]=f;g=g+1|0;if((g|0)>2]){continue}break}}return h}_e(0);return 0}function cj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=C[b+12>>2];c=C[a>>2];d=Fe[C[f+24>>2]](f,c,C[f+56>>2])|0;if(c>>>0>=128){C[b+36>>2]=C[b+36>>2]|1;e=d;a:{if(!sr(c)){break a}h=C[b+36>>2];C[b+36>>2]=h|2;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}C[b+36>>2]=h|34;e=d|96}g=e;if(d>>>0>31){B[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=D[(Fe[C[f+16>>2]](f,c,C[f+48>>2])|0)+149920|0]<<8}d=b|g|128}B[a+16>>1]=d}function El(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}if(Ug(a)){break a}c=C[104879];b:{if(c){while(1){if(!uf(a,C[c>>2])){if(F[c+8>>2]>1){break a}d=C[c+4>>2];c:{if((d|0)==(b|0)){break c}if(!(!b|!d)){if(!uf(d,b)){break c}}d=C[c+12>>2];if(d){while(1){e=C[d+8>>2];Fe[C[d>>2]](C[d+4>>2],a,C[c+4>>2],b);d=e;if(d){continue}break}}a=C[c+4>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(b){a=Sg(b)}else{a=0}C[c+4>>2]=a}C[c+8>>2]=1;break b}c=C[c+16>>2];if(c){continue}break}}c=Fe[C[94762]](20)|0;if(c){C[94766]=C[94766]+1}if(!c){break a}f=c,g=Sg(a),C[f>>2]=g;a=0;if(b){a=Sg(b)}C[c+12>>2]=0;C[c+8>>2]=1;C[c+4>>2]=a;C[c+16>>2]=C[104879];C[104879]=c}}}function yg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ce-48|0;Ce=f;a:{if(!a){C[f>>2]=28750;Qe(19745,f);a=0;break a}if(!b){C[f+16>>2]=28746;Qe(19745,f+16|0);a=0;break a}if(!c){C[f+32>>2]=4232;Qe(19745,f+32|0);a=0;break a}b:{g=C[a+8>>2];c:{if((g|0)<=0){break c}h=C[a+12>>2];if((h|0)<=0){break c}i=C[b+8>>2];if((i|0)<=0){break c}j=C[b+12>>2];if((j|0)>0){break b}}C[c+8>>2]=0;C[c+12>>2]=0;a=0;break a}d=C[b>>2];e=C[a>>2];k=(d|0)>(e|0)?d:e;C[c>>2]=k;d=d+i|0;e=e+g|0;d=((d|0)<(e|0)?d:e)-k|0;C[c+8>>2]=d;b=C[b+4>>2];a=C[a+4>>2];e=(a|0)<(b|0)?b:a;C[c+4>>2]=e;b=b+j|0;a=a+h|0;a=((a|0)>(b|0)?b:a)-e|0;C[c+12>>2]=a;a=(d|0)>0&(a|0)>0}Ce=f+48|0;return a}function Rp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ce-16|0;Ce=g;h=C[a+4>>2];f=C[a>>2];C[g+12>>2]=0;e=f+3|0;a:{b:{if(e>>>0<=h>>>0){i=C[a+12>>2];break b}i=C[a+24>>2];f=h;while(1){f=((f>>>1|0)+f|0)+16|0;if(e>>>0>f>>>0){continue}break}j=a,k=Ve(i,8,h,f,C[a+8>>2],g+12|0),C[j+8>>2]=k;e=C[g+12>>2];if(e){break a}i=Ve(i,1,h,f,C[a+12>>2],g+12|0);C[a+12>>2]=i;e=C[g+12>>2];if(e){break a}C[a+4>>2]=f;f=C[a>>2]}h=C[b+4>>2];e=C[a+8>>2]+(f<<3)|0;C[e>>2]=C[b>>2];C[e+4>>2]=h;b=C[c+4>>2];C[e+8>>2]=C[c>>2];C[e+12>>2]=b;b=C[d+4>>2];C[e+16>>2]=C[d>>2];C[e+20>>2]=b;b=f+i|0;A[b+2|0]=1;A[b|0]=2;A[b+1|0]=2;C[a>>2]=C[a>>2]+3;e=0}A[a+16|0]=0;Ce=g+16|0;return e}function Hn(a){var b=0,c=0;c=3840;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=3851;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1271){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2760|0;break b}if(a-6016>>>0<=111){b=a-4520|0;break b}if(a-7376>>>0>47){break a}b=a-5768|0;break b;case 2:if((a|0)==9676){c=3851;break a}if(a-8200>>>0<=15){b=a-6544|0;break b}if(a-8304>>>0>23){break a}b=a-6632|0;break b;case 10:break c;default:break a}}b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41536|0;break b}b=a-41760|0;break b}b=a-41856|0}c=E[(b<<1)+62336>>1]}return c}function AF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/3|0,5);if(d>>>0>=12){g=(d>>>0)/12|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){f=e-8|0;C[f>>2]=0;C[f+4>>2]=0;G[e-12>>2]=G[d-4>>2];G[e-16>>2]=G[d-8>>2];e=e-20|0;d=d-12|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function ND(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(e){n=d-1|0;o=(d|0)<2;while(1){e=e-1|0;f=d;i=a;a:{b:{if(!o){h=d;if(a&2){B[a>>1]=c;i=a+2|0;f=1;h=n;if(h>>>0<2){break b}}f=h>>>1|0;j=f+3>>>2|0;g=i;k=g;l=g;m=g;c:{d:{switch((f&3)-1|0){default:f=0;break c;case 0:f=3;break c;case 1:f=2;break c;case 2:break d}}f=1}while(1){e:{switch(f|0){case 0:C[g>>2]=c;k=g+4|0;f=1;continue;case 1:C[k>>2]=c;l=k+4|0;f=2;continue;case 2:C[l>>2]=c;m=l+4|0;f=3;continue;default:break e}}C[m>>2]=c;g=m+4|0;j=j-1|0;if(j){f=0;continue}break}f=h}if(!(f&1)){break a}}B[((f<<1)+i|0)-2>>1]=c}a=a+b|0;if(e){continue}break}}}function Dv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}g=C[a>>2];if(!g){break a}d=C[a+36>>2];if((d|0)>=C[a+32>>2]){break a}h=C[a+16>>2];c=C[h+(d<<2)>>2];if(!(c&1024)){e=1;if(!b){break a}i=c&256;f=c&512;e=255;c=c&255;b:{if((c|0)!=255){e=c;break b}while(1){d=d+1|0;c=C[(d<<2)+h>>2];f=c&512?512:f;c=c&255;e=c+e|0;if((c|0)==255){continue}break}}C[b+8>>2]=i;C[b+12>>2]=f;C[b>>2]=C[a+12>>2]+g;c=C[a+348>>2];C[b+24>>2]=C[a+344>>2];C[b+28>>2]=c;a=C[a+20>>2]+(d<<3)|0;c=C[a>>2];a=C[a+4>>2];C[b+4>>2]=e;C[b+16>>2]=c;C[b+20>>2]=a;return 1}C[a+36>>2]=d+1;c=C[a+348>>2];b=C[a+344>>2]+1|0;c=b?c:c+1|0;C[a+344>>2]=b;C[a+348>>2]=c;e=-1}return e}function hG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b-44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){a=e+4519|0;C[c>>2]=b-e;break b}b=(f>>>0)/588|0;a=(((a-I(b,588)&65535)>>>0)/28|0)+4449|0;C[c>>2]=b|4352;break b}a=0;if(b>>>0>195101){break a}b=E[(D[(b>>>6|0)+115094|0]<<7|(b&63)<<1)+130944>>1];if(!b){break a}if(b>>>0<=935){if(b>>>0<=825){b=E[(b<<1)+148030>>1]}else{b=E[(b<<1)+148044>>1]|131072}C[c>>2]=b;break b}a=b-936|0;if(a>>>0<=637){a=C[(a<<2)+142368>>2];C[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(b<<3)+132336|0;a=C[b>>2];b=C[b+4>>2];C[c>>2]=b>>>10;a=((b&2097151)<<11|a>>>21)&2097151}C[d>>2]=a;a=1}return a|0}function Lk(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=J(0),k=J(0);f=D[a|0]|D[a+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return J(0)}f=D[a+4|0]|D[a+5|0]<<8;i=(f<<8|f>>>8)&65535;f=D[a+2|0]|D[a+3|0]<<8;g=(f<<8|f>>>8)&65535;b=(((i<<1)+a|0)+I(g+i|0,b)|0)+6|0;a:{if(!f){f=0;break a}f=g>>>0<=1?1:g;g=0;while(1){h=(g<<1)+a|0;h=D[h+6|0]|D[h+7|0]<<8;k=Fo(e,(h<<8|h>>>8)&65535,c,d);h=D[b|0]|D[b+1|0]<<8;j=J(J(k*J((h<<8|h>>>8)<<16>>16))+j);b=b+2|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}if(f>>>0>>0){while(1){g=(f<<1)+a|0;g=D[g+6|0]|D[g+7|0]<<8;j=J(J(Fo(e,(g<<8|g>>>8)&65535,c,d)*J(A[b|0]))+j);b=b+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}return j}function Lj(a,b,c){var d=0,e=0,f=0;f=Ce-32|0;Ce=f;a:{if(!a){C[f>>2]=13258;d=Qe(19745,f);break a}if(!b){C[f+16>>2]=15605;d=Qe(19745,f+16|0);break a}if(!c){break a}if((c|0)%C[a+196>>2]|0){d=Qe(7792,0);break a}if(!(C[a+84>>2]|(C[a>>2]|C[a+216>>2]!=C[a+204>>2]))){d=An(C[a+168>>2],b,c);break a}if((c|0)<=0){break a}while(1){d=C[a+184>>2];e=C[a+180>>2];if(!(d|(e|0)>(c|0))){d=Il(a,b,c,0);break a}if((e|0)>(c+d|0)){gf(d+C[a+176>>2]|0,b,c);C[a+184>>2]=C[a+184>>2]+c;d=0;break a}e=e-d|0;gf(d+C[a+176>>2]|0,b,e);C[a+184>>2]=0;if((Il(a,C[a+176>>2],C[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}}Ce=f+32|0;return d}function nw(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;c=C[a>>2];f=C[a+24>>2];B[d+14>>1]=0;B[d+12>>1]=0;B[d+10>>1]=0;B[d+8>>1]=0;g=C[f+8>>2];Fe[C[C[c+532>>2]+112>>2]](c,0,b,d+14|0,d+10|0);a:{if(D[c+292|0]){Fe[C[C[c+532>>2]+112>>2]](c,1,b,d+12|0,d+8|0);break a}b=C[a+48>>2];if(E[c+364>>1]!=65535){e=B[c+434>>1];B[d+12>>1]=e-b;c=e-B[c+436>>1]|0;b=c>>31;B[d+8>>1]=(b^c)-b;break a}e=B[c+220>>1];B[d+12>>1]=e-b;c=e-B[c+222>>1]|0;b=c>>31;B[d+8>>1]=(b^c)-b}b=bf(f,g);b:{if(b){break b}C[a+52>>2]=B[d+14>>1];c=E[d+10>>1];C[a+56>>2]=c;C[a+176>>2]=B[d+12>>1];C[a+180>>2]=E[d+8>>1];if(D[a+64|0]){break b}C[a+60>>2]=c;A[a+64|0]=1}Ce=d+16|0;return b}function _Q(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;d=D[a+20|0];f=C[a+16>>2];g=C[a+12>>2];a:{b:{if(!Se(b,11299)){d=C[c>>2];if(!d){a=35;break a}b=C[d+116>>2];C[e+8>>2]=b;if(!b){a=Sm(d,e+8|0,a);if(a){break a}b=C[e+8>>2];C[d+116>>2]=b;C[d+120>>2]=775}C[c+4>>2]=C[b+8>>2];break b}if(!Se(b,3707)){C[c>>2]=C[C[(g<<2)+206192>>2]+8>>2];break b}if(!Se(b,3692)){C[c>>2]=f;break b}if(!Se(b,4331)){d=C[c>>2];if(!d){a=35;break a}b=C[d+116>>2];C[e+12>>2]=b;if(!b){a=Sm(d,e+12|0,a);if(a){break a}b=C[e+12>>2];C[d+116>>2]=b;C[d+120>>2]=775}C[c+4>>2]=C[b+12>>2];break b}a=12;if(Se(b,15256)){break a}A[c|0]=d}a=0}Ce=e+16|0;return a|0}function mR(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;b=C[a+12>>2];C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;d=b;e=C[b+76>>2];b=C[b+72>>2];g=Fe[C[b+148>>2]](d,e,c,C[b+12>>2])|0;if(g){a:{b:{b=C[a+12>>2];if(b){b=C[b+24>>2];d=C[a+24>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=C[c+8>>2];break a}a=c+8|0;b=C[c+8>>2];break a}e=d>>31;a=C[c>>2];f=b>>31;h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h>>2]=i;a=C[c+4>>2];h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h+4>>2]=i;a=c+8|0;c=C[c+8>>2];b=nT(mT(d,e,c,c>>31),Ee,b,f)}C[a>>2]=b}return g|0}function iR(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;b=C[a+12>>2];C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;d=b;e=C[b+76>>2];b=C[b+72>>2];g=Fe[C[b+152>>2]](d,e,c,C[b+16>>2])|0;if(g){a:{b:{b=C[a+12>>2];if(b){b=C[b+20>>2];d=C[a+20>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=C[c+8>>2];break a}a=c+8|0;b=C[c+8>>2];break a}e=d>>31;a=C[c>>2];f=b>>31;h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h>>2]=i;a=C[c+4>>2];h=c,i=nT(mT(d,e,a,a>>31),Ee,b,f),C[h+4>>2]=i;a=c+8|0;c=C[c+8>>2];b=nT(mT(d,e,c,c>>31),Ee,b,f)}C[a>>2]=b}return g|0}function eN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=C[a+16>>2];d=D[a+8204|0]|D[a+8205|0]<<8|(D[a+8206|0]<<16|D[a+8207|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(e){a=a+8208|0;d=C[b>>2]+1|0;while(1){a:{c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d>>>0>f>>>0?d:f;c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);if(d>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}c=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);c=(d-f|0)+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;if(!c){break a}C[b>>2]=d;return c|0}a=a+12|0;e=e-1|0;if(e){continue}break}}C[b>>2]=0;return 0}function Nh(a,b){var c=0,d=0,e=0,f=0;e=C[a+4>>2];a=C[a>>2];d=D[a|0];if((d|0)==30){return fq(a,e,b,0)}a:{b:{switch(d-28|0){case 0:c=0;if(a+3>>>0>e>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8;c=(a<<8|a>>>8)<<16>>16;break a;case 1:c=0;if(a+5>>>0>e>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);c=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break a;default:break b}}c=d-139|0;if(d>>>0<=246){break a}f=a+2|0;if(d>>>0<=250){c=0;if(e>>>0>>0){break a}c=(D[a+1|0]|d<<8)-63124|0;break a}c=0;if(e>>>0>>0){break a}c=64148-(D[a+1|0]|d<<8)|0}a=c;a=b?I(C[(b<<2)+210016>>2],a):a;return(a|0)>32767?2147483647:(a|0)<-32767?-2147483647:a<<16}function Ir(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ce-32|0;Ce=g;e=b+1|0;if(e>>>0>>0){i=b;while(1){f=i;i=e;while(1){j=e;if(e>>>0>b>>>0){h=C[a+92>>2];e=j-1|0;if((Fe[d|0](h+I(e,20)|0,I(i,20)+h|0)|0)>0){continue}}break}if((i|0)!=(j|0)){e=f+2|0;if(e-j>>>0>=2){fg(a,j,e)}f=C[a+92>>2];h=f+I(i,20)|0;C[g+24>>2]=C[h+16>>2];e=C[h+12>>2];C[g+16>>2]=C[h+8>>2];C[g+20>>2]=e;e=C[h+4>>2];C[g+8>>2]=C[h>>2];C[g+12>>2]=e;e=f;f=I(j,20);e=e+f|0;Yf(e+20|0,e,I(i-j|0,20));e=C[g+12>>2];f=f+C[a+92>>2]|0;C[f>>2]=C[g+8>>2];C[f+4>>2]=e;C[f+16>>2]=C[g+24>>2];e=C[g+20>>2];C[f+8>>2]=C[g+16>>2];C[f+12>>2]=e}e=i+1|0;if((e|0)!=(c|0)){continue}break}}Ce=g+32|0}function Gv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=-131;a:{if(C[a+88>>2]<2){break a}if(!C[a+4>>2]){return-138}if(b<0){break a}b:{g=C[a+52>>2];if((g|0)<=0){break b}while(1){j=i+Hv(a,d);if(j>b){break b}k=C[a+68>>2]+(d<<4)|0;e=C[k+12>>2]+e|0;f=c;c=c+C[k+8>>2]|0;e=f>>>0>c>>>0?e+1|0:e;i=j;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}if((d|0)==(g|0)){break a}b=(b-i)*+C[(C[a+72>>2]+(d<<5)|0)+8>>2]+(+(c>>>0)+ +(e|0)*4294967296);c:{if(K(b)<0x8000000000000000){c=K(b)>=1?~~(b>0?M(O(b*2.3283064365386963e-10),4294967295):P((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;f=~~b>>>0;break c}c=-2147483648;f=0}h=Jv(a,f,c)}return h}function Cp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=d>>9;d=(d|0)<0?0-f|0:f;a:{if(D[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?255:d}if(d){b=C[a+164>>2]+b|0;j=(b|0)>=32767?32767:b;b=C[a+172>>2]+c|0;f=a+1196|0;h=C[a+1388>>2];g=(f+I(h,6)|0)-6|0;b:{c=C[a+1400>>2];if((b|0)!=(c|0)|(h|0)<=0){break b}c=b;i=E[g+2>>1];if((i+B[g>>1]|0)!=(j|0)|(d|0)!=D[g+4|0]){break b}B[g+2>>1]=e+i;return}c:{if(!((b|0)==(c|0)&(h|0)<32)){i=1;d:{if((h|0)<=0){break d}g=C[a+1392>>2];if(!g){break d}Fe[g|0](c,h,f,C[a+1396>>2])}C[a+1400>>2]=b;break c}i=h+1|0;f=g+6|0}A[f+4|0]=d;B[f+2>>1]=e;B[f>>1]=j;C[a+1388>>2]=i}}function In(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=D[a+46944|0];if((a|0)!=8){break a}}a=b>>>0<=31?1<>2];f=35;a:{if(!g){break a}b=e+8|0;f=6;if(!b){break a}a=!C[a+48>>2];f=C[g+96>>2];C[b>>2]=0;C[b+4>>2]=0;f=C[C[f+12>>2]+76>>2];b:{c:{if(!f){break c}c=Fe[f|0](g,c,d,b)|0;if(c){break b}h=b,i=Te(C[b>>2],C[C[g+88>>2]+16>>2]),C[h>>2]=i;h=b,i=Te(C[b+4>>2],C[C[g+88>>2]+20>>2]),C[h+4>>2]=i;if(a){break c}a=C[g+88>>2];c=E[a+12>>1];if(c>>>0<=24){h=b,i=of(C[b>>2],c,25),C[h>>2]=i;a=C[g+88>>2]}a=E[a+14>>1];c=C[b+4>>2];d:{if(a>>>0>=25){break d}c=of(C[b+4>>2],a,25)}C[b+4>>2]=c+32&-64;C[b>>2]=C[b>>2]+32&-64}c=0}f=c}Ce=e+16|0;return(f?0:C[e+8>>2])|0}function $Q(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ce-16|0;Ce=e;a:{b:{c:{if(!Se(b,3707)){c=C[c>>2];b=0;d=204960;while(1){if(!((c|0)!=C[d+8>>2]|C[d+16>>2]!=10)){d=b;break c}d=b|1;if((d|0)==49){d=6;break a}f=C[(d<<2)+206192>>2];if((c|0)==C[f+8>>2]&C[f+16>>2]==10){break c}b=b+2|0;d=C[(b<<2)+206192>>2];continue}}if(!Se(b,3692)){C[a+16>>2]=C[c>>2];break b}if(!Se(b,4331)){b=C[c>>2];if(!b){d=35;break a}d=C[b+116>>2];C[e+12>>2]=d;if(!d){d=Sm(b,e+12|0,a);if(d){break a}d=C[e+12>>2];C[b+116>>2]=d;C[b+120>>2]=775}C[d+12>>2]=C[c+4>>2];break b}d=12;if(Se(b,15256)){break a}A[a+20|0]=D[c|0];break b}C[a+12>>2]=d}d=0}Ce=e+16|0;return d|0}function sv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ce-16|0;Ce=g;h=C[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=C[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}i=C[b+12>>2];f=i-4|0;C[b+12>>2]=f;if((f|0)<=0){break a}f=A[a|0];if((f|0)<0){break a}e=D[a+3|0]|(D[a+1|0]<<16|(f&255)<<24|D[a+2|0]<<8);if(e){c=c+e|0;b:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<=7){break b}d=i-12|0;C[b+12>>2]=d;if((D[c|0]|D[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!Lo(c+2|0,b,c)){break b}C[g+12>>2]=c;e=1;if(Ho(c+6|0,b,g+12|0)){break a}}e=0;c=C[b+28>>2];if(c>>>0>31){break a}C[b+28>>2]=c+1;if(!D[b+24|0]){break a}A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0}e=1}Ce=g+16|0;return e}function kg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+8>>2];d=C[a+12>>2];e=C[a+16>>2];i=C[a+32>>2];j=C[a+4>>2];f=C[a>>2];k=C[a+28>>2];while(1){f=f-j|0;C[a>>2]=f;b=(e|0)!=0;e=e-b|0;C[a+16>>2]=e;d=b+d|0;C[a+12>>2]=d;c=I(b,-20)+c|0;C[a+8>>2]=c;a:{if(!d){break a}b:{switch(D[c+18|0]-6|0){case 0:if(!(D[c+16|0]&32)){break a}if(!(E[c+12>>1]&16)){continue}break a;case 8:break b;default:break a}}l=C[C[k>>2]+80>>2];b=f;while(1){b=b+1|0;if(l>>>0<=b>>>0){break a}g=C[i>>2]+I(b,20)|0;c:{if(D[g+18|0]!=6){h=E[g+16>>1];break c}h=E[g+16>>1];if(!(h&32)){break c}if(!(E[g+12>>1]&16)){continue}}break}if(1<>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){g=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}f=d>>>1|0;i=f+(c<<16)|0;c=(c>>>16|0)+(f>>>0>i>>>0)|0;if(c>>>0>=d>>>0){break a}f=L(c);h=32-f|0;c=i>>>h|c<>>0)/(d>>>0)|0;e=c-I(d,g)|0;c=i<>>31;h=e>>>0>=d>>>0;e=e-(h?d:0)|0;g=h|g<<1;h=31-f|0;c=c<<1}if((f|0)==31){break a}while(1){e=e<<1|c>>>31;f=e>>>0>=d>>>0;e=c>>>30&1|e-(f?d:0)<<1;i=e>>>0>=d>>>0;e=e-(i?d:0)|0;g=g<<2|f<<1|i;c=c<<2;h=h-2|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-g|0:g}function HF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=D[a+24|0]|D[a+25|0]<<8|(D[a+26|0]<<16|D[a+27|0]<<24);c=I((d|0)/2|0,5);if(d>>>0>=8){g=d>>>3|0;f=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);e=f+c|0;d=d+f|0;while(1){C[e-4>>2]=0;f=e-12|0;C[f>>2]=0;C[f+4>>2]=0;G[e-16>>2]=G[d-4>>2];e=e-20|0;d=d-8|0;G[e>>2]=G[d>>2];g=g-1|0;if(g){continue}break}}A[a+24|0]=c;A[a+25|0]=c>>>8;A[a+26|0]=c>>>16;A[a+27|0]=c>>>24;c=(D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24))+1|0;A[a+80|0]=c;A[a+81|0]=c>>>8;A[a+82|0]=c>>>16;A[a+83|0]=c>>>24;c=(c<<2)+a|0;c=D[c+40|0]|D[c+41|0]<<8|(D[c+42|0]<<16|D[c+43|0]<<24);if(c){Fe[c|0](a,b)}}function $s(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(F[b+4>>2]>a>>>0){break b}e=C[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=C[b+12>>2]-2|0;C[b+12>>2]=f;d=1;if((f|0)<=0){break b}h=D[a|0]|D[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){break b}g=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(g>>>0>>0){break b}f=f-d|0;C[b+12>>2]=f;d=0;if((f|0)<=0){break a}f=e>>>0<=1?1:e;e=0;while(1){h=(e<<2)+a|0;d=h+2|0;if(d>>>0>2]){break b}g=C[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break b}d=C[c>>2];g=C[b+12>>2]-4|0;C[b+12>>2]=g;if((g|0)<=0){break b}if(!Vl(h+4|0,b,d)){break b}d=1;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}d=0}return d}function gh(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!D[a+72|0]){break a}if(D[a+73|0]){b=C[a+76>>2];e=C[a+80>>2]-b|0;c=C[a+96>>2];d=C[a+92>>2];f=C[a+84>>2];if(!((c|0)==(d|0)&(f|0)==(b|0))){b=e+f|0;if(!(!b|b>>>0>2])){if(!aj(a,b)){break a}d=C[a+92>>2];c=C[a+96>>2]}b:{if((c|0)!=(d|0)){break b}c=C[a+84>>2];if(c+e>>>0<=C[a+76>>2]+e>>>0){c=d;break b}b=C[a+100>>2];C[a+96>>2]=b;jf(b,d,I(c,20));d=C[a+92>>2];c=C[a+96>>2]}Yf(I(C[a+84>>2],20)+c|0,I(C[a+76>>2],20)+d|0,I(e,20));b=C[a+84>>2]}C[a+84>>2]=b+e}c=C[a+96>>2];b=C[a+92>>2];if((c|0)!=(b|0)){C[a+92>>2]=c;C[a+100>>2]=b}C[a+80>>2]=C[a+84>>2]}C[a+84>>2]=0;A[a+73|0]=0;C[a+76>>2]=0}function ph(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Ce-32|0;Ce=b;a:{b:{if(!(da()|0)){break b}if(!bg(22433,1)){break b}ca(a|0);break a}c=(a>>>0)/1e3|0;C[b+16>>2]=c;C[b+20>>2]=0;C[b+24>>2]=I(a-I(c,1e3)|0,1e6);while(1){C[105782]=0;a=C[b+20>>2];C[b>>2]=C[b+16>>2];C[b+4>>2]=a;C[b+8>>2]=C[b+24>>2];d=Ce-16|0;Ce=d;a=28;c:{if(!b){break c}e=C[b+8>>2];if(e>>>0>999999999){break c}c=C[b>>2];f=C[b+4>>2];if((f|0)<0){break c}g=(+(c>>>0)+ +(f|0)*4294967296)*1e3+ +(e|0)/1e6;h=+ba();while(1){if(+ba()-h>>0>=4294963201){C[105782]=0-a;a=-1}if(!a){break a}if(C[105782]==27){continue}break}}Ce=b+32|0}function tE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;d=C[a+68>>2];if(!(C[a+100>>2]?0:b)){b=Ug(d?25540:27098);b=b?b:d?2240:2227}f=Ug(22526);c=Fe[C[94762]](12)|0;if(c){C[94766]=C[94766]+1}C[a+96>>2]=c;a:{if(!c){c=_e(0);break a}mf(c,0,12);b:{if(f){c=Zf(f);break b}c=(I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0}C[C[a+96>>2]+4>>2]=c;f=gi(b,d?21803:21800);C[C[a+96>>2]>>2]=f;c=-1;if(!f){break a}c=12928;if(!d){d=C[a+16>>2];d=Fe[C[94762]](d>>>0<=1?1:d)|0;if(d){C[94766]=C[94766]+1}C[C[a+96>>2]+8>>2]=d;if(!d){c=_e(0);break a}mf(d,D[a+11|0],C[a+16>>2]);c=11401}Kr(34882,0);C[e+4>>2]=b;C[e>>2]=c;Kr(34836,e);c=0}Ce=e+16|0;return c|0}function yh(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=Ce-16|0;Ce=f;C[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=C[c>>2];if(!g){break a}h=C[g+100>>2];e=hf(h,C[a>>2],f+12|0);b:{if(C[f+12>>2]){break b}i=C[c+4>>2];C[e>>2]=C[c>>2];C[e+4>>2]=i;C[e+8>>2]=C[c+8>>2];C[e+12>>2]=a;c:{a=C[a+4>>2];if(a){a=Fe[a|0](e,b)|0;C[f+12>>2]=a;if(a){break c}}a=C[g+36>>2];a=Ve(h,4,a,a+1|0,C[g+40>>2],f+12|0);C[g+40>>2]=a;if(C[f+12>>2]){break c}b=C[g+36>>2];C[g+36>>2]=b+1;C[a+(b<<2)>>2]=e;break b}a=C[C[e>>2]+100>>2];b=C[C[e+12>>2]+8>>2];if(b){Fe[b|0](e)}if(e){Fe[C[a+8>>2]](a,e)}e=0}if(d){C[d>>2]=e}e=C[f+12>>2]}Ce=f+16|0;return e|0}function pp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=c;f=C[a+696>>2];a:{if(f>>>0>b>>>0){d=C[a+700>>2];b:{if(E[a+210>>1]){b=d+(b<<2)|0;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(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=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}e=d+(b<<1)|0;b=D[e|0]<<8|D[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=D[b|0]<<8|D[b+1|0]}e=b<<1}d=0;a=C[a+668>>2];b=0;if(a>>>0>>0){break a}b=a;a=a>>>0>e>>>0?e:a;d=c;a=a>>>0>>0?b:a}else{a=0}b=a-d|0}C[g>>2]=b;return d|0}function mK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-208|0;Ce=d;f=C[a+528>>2];Fe[C[b+60>>2]](b,d+16|0,16,d+12|0);e=C[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=C[f>>2];if(g){break d}}c=zm(a,e,0);if(c){break a}e=C[b+8>>2];g=C[b>>2];if(C[d+12>>2]<=0){break b}f=C[a+528>>2];break c}if((e|0)!=(g|0)){break a}e=C[b+8>>2];g=C[b>>2]}c=0;while(1){a=(d+16|0)+I(c,12)|0;C[b>>2]=C[a>>2];C[b+8>>2]=C[a+4>>2];a=Fe[C[b+40>>2]](b,0)|0;h=c<<2;C[h+C[f+136>>2]>>2]=a;C[C[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}C[b+8>>2]=e;C[b>>2]=g;c=0}C[b+12>>2]=c;Ce=d+208|0}function Cu(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ce-208|0;Ce=f;C[f+204>>2]=c;c=f+160|0;We(c,0,40);C[f+200>>2]=C[f+204>>2];a:{if((Bu(0,b,f+200|0,f+80|0,c,d,e)|0)<0){e=-1;break a}i=C[a+76>>2]>=0;g=C[a>>2];if(C[a+72>>2]<=0){C[a>>2]=g&-33}b:{c:{d:{if(!C[a+48>>2]){C[a+48>>2]=80;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;h=C[a+44>>2];C[a+44>>2]=f;break d}if(C[a+16>>2]){break c}}c=-1;if(Bo(a)){break b}}c=Bu(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Fe[C[a+36>>2]](a,0,0)|0;C[a+48>>2]=0;C[a+44>>2]=h;C[a+28>>2]=0;b=C[a+20>>2];C[a+16>>2]=0;C[a+20>>2]=0;c=b?c:-1}b=a;a=C[a>>2];C[b>>2]=a|g&32;e=a&32?-1:c;if(!i){break a}}Ce=f+208|0;return e}function Kw(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[a+28>>2];a:{if((b|0)==-1){break a}d=C[a+36>>2];f=C[a+40>>2];if(d>>>0>=f>>>0){break a}e=b+1|0;g=C[a+16>>2]+20|0;while(1){b:{b=I(d,12)+g|0;c=b-4|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);if(e>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}b=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break b}C[a+36>>2]=d;C[a+32>>2]=b;C[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}A[a+24|0]=0}function Fp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(E[a+264>>1]<=b>>>0){break a}d=C[a+536>>2];if(!d){return 7}e=0;g=c,h=Fe[C[d+16>>2]](0)|0,C[g>>2]=h;f=c;c=C[a+468>>2];b:{if((c|0)!=163840){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Fe[C[d+16>>2]](b)|0;break b}if(!D[a+612|0]){if(Dw(a)){break a}}if(E[a+616>>1]<=b>>>0){break a}b=E[C[a+620>>2]+(b<<1)>>1];if(b>>>0<=257){a=Fe[C[d+16>>2]](b)|0;break b}a=C[(C[a+624>>2]+(b<<2)|0)-1032>>2];break b}if(!D[a+612|0]){if(Dw(a)){break a}}if(E[a+616>>1]<=b>>>0){break a}a=Fe[C[d+16>>2]](A[C[a+620>>2]+b|0]+b|0)|0}C[f>>2]=a}return e|0}function Mn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ce-16|0;Ce=f;d=84608;e=D[a+2|0]|D[a+3|0]<<8;c=(a+2|0)+(((e<<8|e>>>8)&65535)<<1)|0;e=c+2|0;c=D[e|0]|D[e+1|0]<<8?c+4|0:84608;c=D[c|0]|D[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=C[b+100>>2];if((zf(g,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)!=-1){d=D[e|0]|D[e+1|0]<<8;h=(d<<8|d>>>8)&65535;i=e+(h<<1)|0;d=i+2|0;c=D[d|0]|D[d+1|0]<<8;C[f+12>>2]=a;C[f+8>>2]=a;C[f+4>>2]=a;C[f>>2]=166;j=(c<<8|c>>>8)&65535;d=(j<<1)+d|0;c=D[d+2|0]|D[d+3|0]<<8;g=b;b=D[a+2|0]|D[a+3|0]<<8;c=Wl(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(c<<8|c>>>8)&65535,d+4|0,f)}Ce=f+16|0;return c}function MM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Ce-16|0;Ce=f;g=C[a+16>>2];c=C[a+28>>2];e=C[a+24>>2];C[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=C[a+32>>2];break c}C[a+36>>2]=b;b=Ve(b,4,c,d,C[a+32>>2],f+12|0);C[a+32>>2]=b;if(C[f+12>>2]){break b}C[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){g=e&-2;d=0;while(1){h=c<<2;C[h+b>>2]=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16);C[(h|4)+b>>2]=D[a+13|0]|(D[a+12|0]<<8|D[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(e&1)){break d}C[(c<<2)+b>>2]=D[a+2|0]|(D[a+1|0]<<8|D[a|0]<<16)}C[(e<<2)+b>>2]=0;break a}b=0}Ce=f+16|0;return b|0}function hg(a,b,c){var d=0,e=0,f=0,g=0;g=C[b+12>>2];d=C[b+16>>2];f=C[a+48>>2];e=C[a+52>>2];if(f>>>0>e>>>0){e=C[a+44>>2]}e=e-f|0;e=d>>>0>e>>>0?e:d;C[b+16>>2]=d-e;C[b+20>>2]=e+C[b+20>>2];d=C[a+56>>2];if(d){d=Fe[d|0](C[a+60>>2],f,e)|0;C[a+60>>2]=d;C[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;t(g,f,e);g=e+g|0;d=e+f|0;if((d|0)==C[a+44>>2]){e=C[a+40>>2];f=C[a+52>>2];if((f|0)==(d|0)){C[a+52>>2]=e;f=e}f=f-e|0;d=C[b+16>>2];f=d>>>0>f>>>0?f:d;C[b+16>>2]=d-f;C[b+20>>2]=f+C[b+20>>2];d=C[a+56>>2];if(d){d=Fe[d|0](C[a+60>>2],e,f)|0;C[a+60>>2]=d;C[b+48>>2]=d}t(g,e,f);d=e+f|0;g=f+g|0;c=f?(c|0)!=-5?c:0:c}C[b+12>>2]=g;C[a+48>>2]=d;return c}function TG(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;a:{e=C[c+80>>2];if(!e){break a}b=e-1|0;a=0;g=C[c+92>>2];f=D[g+15|0];while(1){b:{if((a|0)==(b|0)){a=e;break b}a=a+1|0;if((f|0)==D[(I(a,20)+g|0)+15|0]){continue}}break}if(!e){break a}h=c;c=g;f=e;while(1){b=a;c:{if(d>>>0>=a>>>0){break c}while(1){a=I(d,20)+g|0;if(D[a+12|0]&16){A[a+18|0]=22;c=C[h+92>>2];f=C[h+80>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;i=D[(I(b,20)+c|0)+15|0];a=b;while(1){d:{a=a+1|0;if(f>>>0<=a>>>0){a=d;break d}if(D[(I(a,20)+c|0)+15|0]==(i|0)){continue}}break}d=b;if(b>>>0>>0){continue}break}}}function Jp(a,b){var c=0,d=0,e=0,f=0;d=C[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{f=D[d|0];switch(f-40|0){case 1:break c;case 0:break d;default:break e}}if((f|0)!=92){break a}if((b|0)==(c|0)){C[a>>2]=b;return 3}f:{switch(D[c|0]-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((D[c|0]&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(D[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(D[d+3|0]&248)==48?d+4|0:c;break a}e=e+1|0;break a}e=e-1|0;if(e){break a}C[a>>2]=c;return 0}c=d+2|0}d=c;if(c>>>0>>0){continue}break}}C[a>>2]=d;return 3}function hz(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;c=C[105780];a:{if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}if(!D[22082]){C[d>>2]=17197;Qe(19745,d);break a}e=a+160|0;a=C[a+160>>2];if(a){c=0;while(1){b:{f=C[a>>2];if(!f){break b}if(uf(f,22082)){break b}if(b){C[a+4>>2]=b;break a}C[(c?c+8|0:e)>>2]=C[a+8>>2];b=C[a>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}break a}c=a;a=C[a+8>>2];if(a){continue}break}}if(!b){break a}a=Fe[C[94762]](12)|0;if(a){C[94766]=C[94766]+1}c=Sg(22082);C[a+4>>2]=b;C[a>>2]=c;C[a+8>>2]=C[e>>2];C[e>>2]=a}Ce=d+16|0}function oy(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;a:{b:{c:{f=C[a+4>>2];e=C[C[f+128>>2]+48>>2];if(!e){e=18;if(b>>>0>255){break a}a=C[a+76>>2];g=C[a+1160>>2];if(!g){break a}h=C[a+12>>2];if(!h){break a}a=0;b=E[(b<<1)+208016>>1];while(1){if((b|0)==E[(a<<1)+g>>1]){break c}a=a+1|0;if((h|0)!=(a|0)){continue}break}break a}e=Fe[C[C[e>>2]>>2]](C[e+4>>2],b,d+8|0)|0;C[d+4>>2]=C[d+8>>2];C[d>>2]=C[d+12>>2];break b}if((a|0)<0){break a}e=Qm(C[f+656>>2]+1176|0,a,d+4|0,d)}if(e){break a}a=C[d+4>>2];C[c+4>>2]=a;b=C[d>>2];C[c+12>>2]=a;C[c+8>>2]=a+b;e=0}Ce=d+16|0;return e}function Gw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=C[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=C[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=D[c|0]<<8|D[c+1|0];C[a+44>>2]=e;c=c+j|0;h=D[c|0]<<8|D[c+1|0];C[a+40>>2]=h;c=c+g|0;d=D[c|0]|D[c+1|0]<<8;C[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=D[d|0]<<8|D[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=C[a>>2];if((c+d|0)+2>>>0<=C[e+500>>2]+C[e+504>>2]>>>0){break c}C[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}C[a+36>>2]=b;C[a+52>>2]=c;return 0}function mB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){i=e;b=f;g=C[a+24>>2];if(g){while(1){h=C[b>>2];j=h>>>24|0;d=h>>>8&255;c=h>>>16&255;if(p){d=(I(d,l)>>>0)/255|0;j=(I(j,n)>>>0)/255|0;c=(I(c,m)>>>0)/255|0}d=c<<8|j<<16|d;c=h&255;C[i>>2]=d|(o?(I(c,k)>>>0)/255|0:c)<<24;i=i+4|0;b=b+4|0;g=g-1|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function FB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){i=e;b=f;g=C[a+24>>2];if(g){while(1){h=C[b>>2];j=h&255;d=h>>>8&255;c=h>>>16&255;if(p){j=(I(j,l)>>>0)/255|0;d=(I(d,m)>>>0)/255|0;c=(I(c,n)>>>0)/255|0}d=d<<8|c<<16|j;c=h>>>24|0;C[i>>2]=d|(o?(I(c,k)>>>0)/255|0:c)<<24;i=i+4|0;b=b+4|0;g=g-1|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function FA(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){i=e;b=f;g=C[a+24>>2];if(g){while(1){h=C[b>>2];j=h>>>24|0;d=h>>>8&255;c=h>>>16&255;if(p){j=(I(j,l)>>>0)/255|0;d=(I(d,n)>>>0)/255|0;c=(I(c,m)>>>0)/255|0}d=c<<8|d<<16|j;c=h&255;C[i>>2]=d|(o?(I(c,k)>>>0)/255|0:c)<<24;i=i+4|0;b=b+4|0;g=g-1|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function Hl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;a:{if(!a){C[e>>2]=13258;Qe(19745,e);break a}b=C[a+236>>2]<<1;c=C[a+168>>2];b:{if(!c){break b}f=C[c+12>>2];g=(b+f|0)-1|0;i=(g>>>0)/(f>>>0)|0;d=C[c+8>>2];b=C[c>>2];c:{if(!b){b=d;break c}C[C[c+4>>2]+8>>2]=d}C[c+16>>2]=0;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=b;d=c+8|0;if(!(!b|f>>>0>g>>>0)){while(1){d=b;b=C[b+8>>2];if(b){h=h+1|0;if(h>>>0>>0){continue}}break}d=d+8|0}C[d>>2]=0;if(!b){break b}while(1){d=C[b+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=d;if(b){continue}break}}b=C[a+256>>2];if(b){Fe[b|0](a)}C[a+184>>2]=0;C[a+172>>2]=1}Ce=e+16|0}function ry(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=C[104376];a:{if((a|0)==-1){if((b|0)<=0){break a}while(1){ry(c);c=c+1|0;if((c|0)=(b|0)){break a}Ll(C[104375]);d=C[104377];e=I(a,60);if(C[(d+e|0)+4>>2]){b=C[104381];if(b){Fe[b|0](a);d=C[104377]}f=I(a,60);b=f+d|0;g=b;c=C[b+56>>2];if(c){while(1){b=C[c+12>>2];d=C[c+4>>2];if(d){Fe[d|0](a,C[c+8>>2])}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}c=b;if(b){continue}break}d=C[104377]}C[g+56>>2]=0;b=d+f|0;C[b+20>>2]=0;C[b+4>>2]=0}b=d+e|0;C[b+28>>2]=0;if(C[b+36>>2]){a=I(a,60)+d|0;C[a+16>>2]=C[a+44>>2]}C[b+36>>2]=0;Kl(C[104375])}}function rw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Fe[C[a+592>>2]](a)|0;f=C[b>>2];a:{if(!f){break a}h=a+36|0;e=1;while(1){b=C[a+28>>2];if((b|0)<=1){if(D[a+561|0]){C[a+12>>2]=129}C[a+28>>2]=0;break a}c=b-2|0;C[a+28>>2]=c;d=b<<2;b=C[a+24>>2];d=E[(d+b|0)-4>>1];b:{if(d>>>0>1]){c=C[b+(c<<2)>>2];b=c>>>4&15;c:{d:{switch(D[a+368|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((E[a+332>>1]+b|0)!=(g|0)){break b}b=c&15;Fe[C[a+584>>2]](a,h,d,(b>>>0>7?-7:-8)+b<<6-E[a+334>>1]);break b}if(!D[a+561|0]){break b}C[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}C[a+32>>2]=C[a+28>>2]}function wA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=c?9729:9728;c=C[a+548>>2];a=C[b+80>>2];a:{b:{if(C[a+24>>2]){Fe[C[c+8>>2]](33986);Fe[C[c+20>>2]](C[a+4>>2],C[a+32>>2]);Fe[C[c+152>>2]](C[a+4>>2],10241,d);Fe[C[c+152>>2]](C[a+4>>2],10240,d);Fe[C[c+8>>2]](33985);Fe[C[c+20>>2]](C[a+4>>2],C[a+36>>2]);e=c+152|0;b=a+4|0;break b}if(!C[a+28>>2]){break a}Fe[C[c+8>>2]](33985);Fe[C[c+20>>2]](C[a+4>>2],C[a+36>>2]);e=c+152|0;b=a+4|0}Fe[C[e>>2]](C[b>>2],10241,d);Fe[C[e>>2]](C[b>>2],10240,d)}Fe[C[c+8>>2]](33984);Fe[C[c+20>>2]](C[a+4>>2],C[a>>2]);Fe[C[c+152>>2]](C[a+4>>2],10241,d);Fe[C[c+152>>2]](C[a+4>>2],10240,d)}function ZA(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){k=D[a+63|0];l=D[a+62|0];m=D[a+61|0];n=D[a+60|0];b=C[a+52>>2];o=b&2;p=b&1;e=C[a+20>>2];f=C[a>>2];while(1){b=e;h=f;g=C[a+24>>2];if(g){while(1){d=C[h>>2];i=d&255;j=d>>>8&255;c=d>>>16&255;g=g-1|0;d=d>>>24|0;if(p){j=(I(j,m)>>>0)/255|0;i=(I(i,n)>>>0)/255|0;c=(I(c,l)>>>0)/255|0}C[b>>2]=j<<8|i<<16|c|(o?(I(d,k)>>>0)/255|0:d)<<24;b=b+4|0;h=h+4|0;if(g){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;e=C[a+32>>2]+e|0;f=C[a+12>>2]+f|0;if(b){continue}break}C[a+20>>2]=e;C[a>>2]=f}}function Dk(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;d=D[a+2|0]|D[a+3|0]<<8;if(d){l=a+2|0;a=(d<<8|d>>>8)&65535;m=a>>>0<=1?1:a;d=C[b+8>>2];g=C[b+4>>2];e=C[b>>2];while(1){a=-1;h=-1;c=I(i,6)+l|0;f=D[c+4|0]|D[c+5|0]<<8;f=(f<<8|f>>>8)&65535;j=f>>>4|0;c=D[c+2|0]|D[c+3|0]<<8;c=(c<<8|c>>>8)&65535;k=c>>>4|0;if(j-k>>>0<=30){h=e;e=1<>>0>1<>>0)}if(f-c>>>0<=30){a=1<>>0>1<>>0)|g}g=f>>>9|0;e=c>>>9|0;if(g-e>>>0<=30){c=d;d=1<>>0>1<>>0)}else{d=-1}g=a;e=h;i=i+1|0;if((m|0)!=(i|0)){continue}break}C[b+8>>2]=d;C[b+4>>2]=g;C[b>>2]=e}}function ZN(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,j=0,k=0;g=Ce-128|0;Ce=g;if((c|0)>0){k=(I((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)>=16?16:c;f=i<<1;b=0;while(1){h=b<<2;j=C[h+d>>2]+j|0;e=j;C[g+h>>2]=((e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0)>>16;b=b+1|0;if((f|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+g|0;C[h>>2]=C[h>>2]-C[e+g>>2];b=b+2|0;if((f|0)>(b|0)){continue}break}a:{if(C[a+4>>2]){break a}b=g;e=i;while(1){f=Uk(k,C[b>>2],C[b+4>>2],C[a>>2],0);if(f){C[a+4>>2]=f;break a}b=b+8|0;f=(e|0)>1;e=e-1|0;if(f){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Ce=g+128|0}function JD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((c|0)>0){h=C[(D[d+22|0]<<2)+382144>>2];i=C[(D[d+21|0]<<2)+382144>>2];j=C[(D[d+20|0]<<2)+382144>>2];k=D[e+35|0];l=D[e+31|0];m=D[e+34|0];n=D[e+30|0];o=D[e+33|0];p=D[e+29|0];q=D[e+32|0];r=D[e+28|0];s=D[d+26|0];t=D[d+25|0];u=D[d+24|0];e=0;while(1){f=C[b>>2];g=f&-993|f>>>16;C[a>>2]=D[((g&C[d+8>>2])>>>t|0)+i|0]>>>p<>2]&g)>>>u|0)+j|0]>>>r<>2]&g)>>>s|0)+h|0]>>>n<>>2&248)>>>l<>2];c=D[a+8204|0]|D[a+8205|0]<<8|(D[a+8206|0]<<16|D[a+8207|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);f=(b-e|0)+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0}return f|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,i=0,j=0,k=0,l=0,m=0,n=0;g=3;f=b+2|0;a:{if(f>>>0>c>>>0){break a}h=D[b+1|0]|D[b|0]<<8;if((h<<2)+f>>>0>c>>>0){break a}c=C[a+12>>2];i=D[c+14|0];j=E[c+12>>1];k=E[c+10>>1];l=D[c+8|0];m=E[c+6>>1];n=E[c+4>>1];b=0;b:{if(!h){g=0;break b}while(1){g=Ew(a,D[f+1|0]|D[f|0]<<8,D[f+2|0]+d|0,D[f+3|0]+e|0);if(!g){f=f+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}}break}c=C[a+12>>2]}B[c+14>>1]=i;B[c+8>>1]=l;B[c+12>>1]=j<<24>>24;B[c+10>>1]=k<<24>>24;B[c+6>>1]=m<<24>>24;B[c+4>>1]=n<<24>>24;a=C[a+8>>2];B[c+2>>1]=D[a+4|0];B[c>>1]=D[a|0]}return g|0}function Af(a,b){var c=0;a:{if(!a){break a}c=C[a+168>>2];if(!c){break a}Fe[c|0](a,b)}c=Ce-16|0;Ce=c;C[c>>2]=b?b:20512;b=C[93448];bv(b,8821,c);c=C[b+76>>2];b:{if(!((c|0)>=0&(!c|C[105810]!=(c&-1073741825)))){c:{if(C[b+80>>2]==10){break c}c=C[b+20>>2];if((c|0)==C[b+16>>2]){break c}C[b+20>>2]=c+1;A[c|0]=10;break b}av(b);break b}c=C[b+76>>2];C[b+76>>2]=c?c:1073741823;d:{e:{if(C[b+80>>2]==10){break e}c=C[b+20>>2];if((c|0)==C[b+16>>2]){break e}C[b+20>>2]=c+1;A[c|0]=10;break d}av(b)}C[b+76>>2]=0}f:{if(!a){break f}b=C[a+156>>2];if(!b){break f}a=C[a+160>>2];if(!a){break f}Fe[b|0](a,1)}mb();s()}function tv(a,b){var c=0,d=0,e=0;a:{if(!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=c+1}A[a+24|0]=0;C[a+32>>2]=b;d=C[b+12>>2];C[a+4>>2]=d;e=C[b+16>>2];C[a+8>>2]=d+e;C[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}C[a+12>>2]=c;C[a+20>>2]=0;C[a>>2]=0;if(!d){Ue(b);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;return b}b:{if((e|0)>=36){C[a+12>>2]=c-36;c=D[d|0]|D[d+1|0]<<8;Ue(b);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if((c|0)!=256){break b}if(C[b+4>>2]){C[b+4>>2]=0}return b}Ue(b);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}Ue(b);return 84608}function fj(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function Lx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ce-16|0;Ce=e;g=C[a+4>>2];d=C[a>>2];C[e+12>>2]=0;h=d+2|0;a:{b:{if(h>>>0<=g>>>0){h=C[a+12>>2];break b}f=C[a+24>>2];d=g;while(1){d=((d>>>1|0)+d|0)+16|0;if(h>>>0>d>>>0){continue}break}j=a,k=Ve(f,8,g,d,C[a+8>>2],e+12|0),C[j+8>>2]=k;i=C[e+12>>2];if(i){break a}h=Ve(f,1,g,d,C[a+12>>2],e+12|0);C[a+12>>2]=h;i=C[e+12>>2];if(i){break a}C[a+4>>2]=d;d=C[a>>2]}g=C[b+4>>2];f=C[a+8>>2]+(d<<3)|0;C[f>>2]=C[b>>2];C[f+4>>2]=g;b=C[c+4>>2];C[f+8>>2]=C[c>>2];C[f+12>>2]=b;b=d+h|0;A[b|0]=0;A[b+1|0]=1;C[a>>2]=C[a>>2]+2;i=0}A[a+16|0]=0;Ce=e+16|0;return i}function cw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ce-32|0;Ce=c;a:{if((Fe[C[b+52>>2]](b,6,c,3)|0)<=5){C[b+12>>2]=3;break a}d=C[c+12>>2];if(!d){C[b+12>>2]=3;break a}b=d>>31;b=(b^d)-b|0;f=a,g=Ze(1e3,b),B[f+68>>1]=g;b:{if((b|0)==65536){b=C[c+20>>2];d=C[c+12>>2];break b}f=c,g=Ze(C[c>>2],b),C[f>>2]=g;f=c,g=Ze(C[c+4>>2],b),C[f+4>>2]=g;f=c,g=Ze(C[c+8>>2],b),C[f+8>>2]=g;f=c,g=Ze(C[c+16>>2],b),C[f+16>>2]=g;b=Ze(C[c+20>>2],b);d=C[c+12>>2]<0?-65536:65536}C[a+436>>2]=C[c>>2];C[a+444>>2]=C[c+4>>2];e=C[c+8>>2];C[a+448>>2]=d;C[a+440>>2]=e;d=B[c+18>>1];C[a+456>>2]=b>>16;C[a+452>>2]=d}Ce=c+32|0}function Cg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(a|b)){return 0}c=b>>31;d=(c^b)-c|0;c=a>>31;d=d|(c^a)-c;c=L(d);a:{if(d>>>0<=1073741823){c=c-2|0;b=b<>c;a=a>>c}d=0-a|0;b:{if((a|0)<(b|0)){e=5898240;if((b|0)>(d|0)){c=d;d=b;break b}e=(b|0)>0?11796480:-11796480;c=0-b|0;break b}if((b|0)>=(d|0)){c=b;d=a;break b}d=0-b|0;e=-5898240;c=a}f=213360;a=1;b=1;while(1){g=a+d>>b;h=a+c>>b;i=C[f>>2];c:{if((c|0)>0){e=e+i|0;d=d+h|0;c=c-g|0;break c}e=e-i|0;d=d-h|0;c=c+g|0}a=a<<1;f=f+4|0;b=b+1|0;if((b|0)!=23){continue}break}if((e|0)>=0){return e+8&-16}return 0-(8-e&-16)|0}function no(a,b){var c=0,d=0;c=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=c;C[a+8>>2]=C[b+8>>2];A[a+20|0]=0;A[a+16|0]=0;C[a+12>>2]=0;b=kf(4744);C[a+32>>2]=0;C[a+36>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;a:{if(!b){C[a+28>>2]=-1;break a}C[a+36>>2]=b;c=We(b,0,4104);C[a+28>>2]=593;C[a+32>>2]=513;while(1){b=(d<<3)+c|0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;C[b+36>>2]=0;C[b+40>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+52>>2]=0;C[b+56>>2]=0;C[b+60>>2]=0;b=b- -64|0;C[b>>2]=0;C[b+4>>2]=0;d=d+9|0;if((d|0)!=513){continue}break}}A[a+40|0]=0}function YR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=J(0),i=J(0),j=0,k=0;e=Ce-16|0;Ce=e;a:{if((sz(1,0,34979)|0)<0){break a}U(C[c+12>>2],e+8|0,e|0)|0;if(C[b+8>>2]<=0){break a}k=a-22|0;a=0;while(1){j=d;f=I(a,52)+b|0;b:{if(!C[f+56>>2]){break b}d=C[f+28>>2];g=d>>31;h=J(+C[f+68>>2]/H[e>>3]);i=J(+C[f- -64>>2]/H[e+8>>3]);c:{switch(k|0){case 0:ll(1,0,d,g,C[c+4>>2],1,i,h,J(1));d=1;if(j){break b}d=(qf(1792,-1)|0)==1;break b;case 2:rz(1,0,d,g,C[c+4>>2],i,h);d=j;break b;default:break c}}ll(1,0,d,g,C[c+4>>2],0,i,h,J(1));d=1}a=a+1|0;if((a|0)>2]){continue}break}}Ce=e+16|0;return d|0}function UQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=C[a+40>>2];if(!c){break a}b=C[a>>2];e=C[b+656>>2];a=C[e+2952>>2];b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b|!a){break a}a=C[a>>2];if(!a){break a}d=Fe[a|0](b)|0;if(!d){break a}Fe[C[d+8>>2]](C[c>>2]);b=C[e+1896>>2];if(!b){break a}f=b&3;b:{if(!f){a=b;break b}e=0;a=b;while(1){a=a-1|0;Fe[C[d+8>>2]](C[(c+(a<<2)|0)+4>>2]);e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(b>>>0<4){break a}b=c+4|0;while(1){c=b+(a<<2)|0;Fe[C[d+8>>2]](C[c-4>>2]);Fe[C[d+8>>2]](C[c-8>>2]);Fe[C[d+8>>2]](C[c-12>>2]);a=a-4|0;Fe[C[d+8>>2]](C[b+(a<<2)>>2]);if(a){continue}break}}}function um(a){var b=0,c=0;if(a){ri(a+592|0);Jh(a+480|0);tm(a+120|0);b=C[a+72>>2];a:{if(!b){break a}c=C[a+52>>2];if(!c){break a}if((c|0)>0){b=0;while(1){Qk(C[a+72>>2]+(b<<5)|0);vm(C[a+76>>2]+(b<<4)|0);b=b+1|0;if((b|0)>2]){continue}break}b=C[a+72>>2]}Re(b);Re(C[a+76>>2])}b=C[a+60>>2];if(b){Re(b)}b=C[a+68>>2];if(b){Re(b)}b=C[a+64>>2];if(b){Re(b)}b=C[a+56>>2];if(b){Re(b)}b=a+24|0;if(b){c=C[b>>2];if(c){Re(c)}C[b>>2]=0;C[b+4>>2]=0;C[b+24>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}b=C[a>>2];b:{if(!b){break b}c=C[a+712>>2];if(!c){break b}Fe[c|0](b)|0}We(a,0,720)}}function Ex(a){var b=0,c=0,d=0;b=Ce-16|0;Ce=b;d=bf(a,0);a:{if(d){break a}d=jg(a,b+8|0,4);if(d){break a}d=3;if(D[b+8|0]!=31|D[b+9|0]!=139|(D[b+10|0]!=8|D[b+11|0]>31)){break a}d=ng(a,6);C[b+12>>2]=d;c=D[b+11|0];if(c&4){c=Ox(a,b+12|0);d=C[b+12>>2];if(d){break a}d=ng(a,c);C[b+12>>2]=d;if(d){break a}d=0;c=D[b+11|0]}if(c&8){while(1){c=oh(a,b+12|0)?0:3;d=C[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=3){break a}c=D[b+11|0]}if(c&16){while(1){c=oh(a,b+12|0)?0:5;d=C[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=5){break a}c=D[b+11|0]}if(!(c&2)){break a}d=ng(a,2)}Ce=b+16|0;return d}function qH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=C[a+64>>2];a:{if((e|0)<=0){break a}f=C[a+68>>2];if(e>>>0>=4){i=e&-4;while(1){c=I(d,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];c=I(d|1,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];c=I(d|2,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];c=I(d|3,20)+f|0;C[c>>2]=1;C[c+16>>2]=C[c+12>>2];d=d+4|0;g=g+4|0;if((g|0)!=(i|0)){continue}break}}c=e&3;if(!c){break a}while(1){e=I(d,20)+f|0;C[e>>2]=1;C[e+16>>2]=C[e+12>>2];d=d+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}C[a+36>>2]=b;d=C[a>>2];Fe[C[d+4>>2]](d,C[a+40>>2],C[a+44>>2],0)|0;return Ee>>31}function ex(a,b){var c=0,d=0,e=0;c=C[a+32>>2];d=C[a+28>>2];if(d){while(1){e=C[c+8>>2];if(e){Fe[C[b+8>>2]](b,e)}C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=C[a+32>>2]}if(c){Fe[C[b+8>>2]](b,c)}C[a+24>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;c=C[a+20>>2];d=C[a+16>>2];if(d){while(1){e=C[c+8>>2];if(e){Fe[C[b+8>>2]](b,e)}C[c+8>>2]=0;C[c+12>>2]=0;C[c>>2]=0;C[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=C[a+20>>2]}if(c){Fe[C[b+8>>2]](b,c)}C[a+12>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;c=C[a+8>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}function nK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ce+-64|0;Ce=d;Fe[C[b+60>>2]](b,d+16|0,4,d+12|0);c=C[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=zm(a,0,c);C[d+8>>2]=c;if(c){break a}if(C[d+12>>2]<=0){c=0;break a}h=C[a+100>>2];i=C[a+528>>2];while(1){a=(d+16|0)+I(f,12)|0;c=C[a>>2];if(D[c|0]==47){c=c+1|0;C[a>>2]=c}e=C[a+4>>2];if((e|0)==(c|0)){c=3;break a}e=e-c|0;g=hf(h,e+1|0,d+8|0);C[((f<<2)+i|0)+8>>2]=g;c=C[d+8>>2];if(c){break a}t(g,C[a>>2],e);A[e+g|0]=0;f=f+1|0;if((f|0)>2]){continue}break}c=C[d+8>>2]}C[b+12>>2]=c;Ce=d- -64|0}function Gs(a){a=a|0;var b=0,c=0;a:{if(!(a&1)){break a}if(!(A[417588]&1)){Qe(20259,0);break a}b=1}if(a&2){if(!(D[417588]&2)){c=C[104398];if(!c){C[104405]=52;C[104403]=53;C[104402]=54;C[104401]=55;C[104400]=56;C[104418]=57;C[104417]=58;C[104416]=59;C[104415]=60;C[104414]=61;C[104413]=62;C[104412]=63;C[104411]=64;C[104410]=65;C[104409]=66;C[104408]=67;C[104407]=68;C[104406]=69;C[104404]=70}C[104398]=c+1}b=b|2}b:{if(!(a&4)){break b}if(!(D[417588]&4)){Qe(20289,0);break b}b=b|4}c:{if(!(a&8)){break c}if(!(D[417588]&8)){Qe(20229,0);break c}b=b|8}a=C[104397]|b;C[104397]=a;return a|0}function Wt(a){var b=0,c=0;a:{if(C[a+20>>2]){b=C[a+88>>2];if(C[a+104>>2]<3){break a}b=b+(C[a+112>>2]<<5)|0;break a}b=C[a+88>>2]}if(!b){Qe(25721,0);return-1}b:{if(C[b+4>>2]==C[a+740>>2]){c=0;if(C[b+8>>2]==C[a+744>>2]){break b}}gf(a+736|0,b,32);c=C[a+776>>2];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[a+776>>2]=0}c=C[a+772>>2];if(c){Di(c);C[a+772>>2]=0}c=Bn(32784,D[b+4|0],C[b+8>>2],E[208776],D[417554],C[104387]);C[a+772>>2]=c;if(!c){return-1}b=I(E[208778],C[b+4>>2])<<1;C[a+780>>2]=b;b=Fe[C[94762]](b>>>0<=1?1:b)|0;if(b){C[94766]=C[94766]+1}C[a+776>>2]=b;c=b?0:-1}return c}function tq(a,b,c){var d=0,e=0,f=0;e=Ce+-64|0;Ce=e;d=C[a+1080>>2];a:{if(!d){d=Qe(19845,0);break a}if(!C[d+92>>2]){d=0;if(!(b|c)){break a}d=Qe(19845,0);break a}f=C[d+124>>2];if(f){Fe[f|0](C[d+40>>2])|0}if(!(C[a+796>>2]|b?c:0)){a=C[a+1080>>2];Fe[C[a+92>>2]](C[a+8>>2],0,0,0)|0;d=0;break a}f=C[a+1080>>2];d=0;if(Fe[C[f+92>>2]](C[f+8>>2],b,b,c)|0){break a}b=34979;a=Fe[C[C[a+1080>>2]+128>>2]]()|0;c=a-12288|0;if(c>>>0<=14){b=C[(c<<2)+195524>>2]}if(D[b|0]){a=b}else{C[e+16>>2]=a;a=e+32|0;rf(a,32,1768,e+16|0)}C[e+8>>2]=a;C[e+4>>2]=4104;C[e>>2]=3982;d=Qe(32680,e)}Ce=e- -64|0;return d}function rM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;e=C[b+28>>2];c=Fe[C[a+508>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=Cf(b,4);C[d+12>>2]=c;if(c){break a}g=a,h=Gf(b),B[g+540>>1]=h;g=a,h=Gf(b),B[g+542>>1]=h;xf(b);if(E[a+540>>1]>=2){B[a+542>>1]=0;c=8;break a}c=e;e=E[a+542>>1];g=a,h=Ve(c,4,0,e,0,d+12|0),C[g+544>>2]=h;c=C[d+12>>2];if(c){break a}c=Cf(b,e<<2);C[d+12>>2]=c;if(c){break a}if(e){c=C[a+544>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=Gf(b),B[g>>1]=h;g=f,h=Gf(b),B[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}xf(b);c=C[d+12>>2]}Ce=d+16|0;return c|0}function zD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=I(C[a+24>>2],D[C[a+44>>2]+9|0]);e=C[a+32>>2];d=C[a+12>>2];b=C[a+28>>2];c=C[a>>2];a:{b:{a=C[a+20>>2];c:{if(c>>>0>>0){if(I(b,d)+c>>>0>a>>>0){break c}break b}if(I(b,e)+a>>>0<=c>>>0){break b}}if(a>>>0>>0){if(!b){break a}while(1){Qh(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=I(i,d)+c|0;a=I(d,e)+a|0;while(1){Qh(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){gf(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}}}function OG(a){a=a|0;a=a+24|0;Ef(a,206);Xe(a,1819239276,1,1);Xe(a,1667460464,1,1);Ef(a,207);Xe(a,1853188980,13,1);Ef(a,0);Xe(a,1634429038,13,1);Ef(a,0);Xe(a,1919969382,12,1);Ef(a,0);Xe(a,1919644262,13,1);Ef(a,0);Xe(a,1886545254,12,1);Ef(a,0);Xe(a,1651275622,12,1);Ef(a,0);Xe(a,1633842790,12,1);Ef(a,0);Xe(a,1751215206,12,1);Ef(a,0);Xe(a,1886614630,12,1);Ef(a,0);Xe(a,1986098293,13,1);Ef(a,0);Xe(a,1667916660,13,1);Ef(a,0);Ef(a,208);Xe(a,1768843636,12,1);Xe(a,1886545267,13,1);Xe(a,1633842803,13,1);Xe(a,1651275635,13,1);Xe(a,1886614643,13,1);Xe(a,1751215214,13,1);Ef(a,209)}function HD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if((c|0)>0){g=(C[e+24>>2]?255:0)>>>D[e+31|0]<>2];i=C[(D[d+21|0]<<2)+382144>>2];j=C[(D[d+20|0]<<2)+382144>>2];k=D[e+34|0];l=D[e+30|0];m=D[e+33|0];n=D[e+29|0];o=D[e+32|0];p=D[e+28|0];q=D[d+26|0];r=D[d+25|0];s=D[d+24|0];while(1){e=E[b>>1];C[a>>2]=D[((e&C[d+8>>2])>>>r|0)+i|0]>>>n<>2])>>>s|0)+j|0]>>>p<>2])>>>q|0)+h|0]>>>l<>2]);C[a+36>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;Re(C[a+100>>2]);C[a+100>>2]=0;C[a+92>>2]=0;C[a+96>>2]=0;d=C[a+196>>2];if(d){while(1){b=C[a+200>>2]+(c<<5)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+200>>2]);C[a+200>>2]=0;C[a+192>>2]=0;C[a+196>>2]=0;d=C[a+208>>2];if(d){c=0;while(1){b=C[a+212>>2]+I(c,24)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+212>>2]);C[a+212>>2]=0;C[a+204>>2]=0;C[a+208>>2]=0;Ue(C[a>>2]);C[a>>2]=0}function iC(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];b=C[a+52>>2];m=b&2?D[a+63|0]<<24:-16777216;n=b&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;b=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;c=C[b>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(n){h=(I(h,j)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;c=(I(c,l)>>>0)/255|0}C[g>>2]=c<<16|m|i<<8|h;g=g+4|0;b=b+4|0;if(f){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(b){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function TB(a){a=a|0;var 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;b=C[a+28>>2];c=b-1|0;C[a+28>>2]=c;if(b){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];b=C[a+52>>2];m=b&2?D[a+63|0]<<24:-16777216;n=b&1;d=C[a+20>>2];e=C[a>>2];while(1){b=d;g=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;c=C[g>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(n){i=(I(i,k)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;c=(I(c,j)>>>0)/255|0}C[b>>2]=h<<16|m|i<<8|c;b=b+4|0;g=g+4|0;if(f){continue}break}b=C[a+28>>2]}else{b=c}c=b-1|0;C[a+28>>2]=c;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(b){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function On(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ce-272|0;Ce=e;d=D[a|0]|D[a+1|0]<<8;a:{if(d){i=(d<<8|d>>>8)&65535;f=a+2|0;while(1){g=C[c+4>>2];h=C[c>>2];d=D[f|0]|D[f+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=84608}j=D[d|0]|D[d+1|0]<<8;l=D[d+2|0]|D[d+3|0]<<8;C[e+268>>2]=0;b:{k=(j<<8|j>>>8)&65535;m=d+4|0;if(!Ck(b,k,m,h,g,e+268|0,e,0)){break b}d=C[e+268>>2];if(d>>>0>=2){h=C[b+100>>2];g=C[h+76>>2];Sf(h,g,d+g|0)}if(!Xl(b,k,e,(l<<8|l>>>8)&65535,m+(j?(k<<1)-2|0:0)|0,d)){break b}a=1;break a}f=f+2|0;i=i-1|0;if(i){continue}break}}a=0}Ce=e+272|0;return a}function Kh(a){var b=0,c=0,d=0;Ue(C[a+36>>2]);C[a+36>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;Re(C[a+60>>2]);C[a+60>>2]=0;C[a+52>>2]=0;C[a+56>>2]=0;d=C[a+108>>2];if(d){while(1){b=C[a+112>>2]+I(c,28)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+112>>2]);C[a+112>>2]=0;C[a+104>>2]=0;C[a+108>>2]=0;d=C[a+120>>2];if(d){c=0;while(1){b=C[a+124>>2]+I(c,28)|0;Re(C[b+12>>2]);C[b+12>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Re(C[a+124>>2]);C[a+124>>2]=0;C[a+116>>2]=0;C[a+120>>2]=0;Ue(C[a>>2]);C[a>>2]=0}function MO(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,j=0,k=0;g=Ce-16|0;Ce=g;vg(a,C[a+8>>2]);h=C[a+8>>2];e=C[a>>2];C[g+12>>2]=e;a:{if(e>>>0>=h>>>0){break a}f=D[e|0];b:{if((f|0)==91){k=93}else{j=1;if((f|0)!=123){break b}k=125}e=e+1|0;C[g+12>>2]=e;j=0}while(1){if(e>>>0>=h>>>0){break a}vg(g+12|0,h);f=C[g+12>>2];if(f>>>0>=h>>>0){e=f;break a}if(D[f|0]==(k|0)){e=f+1|0;break a}if(!(!c|(b|0)>(i|0))){e=f;break a}e=Mh(g+12|0,h,d);if(c){C[(i<<2)+c>>2]=e}e=C[g+12>>2];if((f|0)==(e|0)){i=-1;e=f;break a}i=i+1|0;if(!j){continue}break}}C[a>>2]=e;Ce=g+16|0;return i|0}function XG(a){a=a|0;a=a+24|0;Ef(a,194);Xe(a,1819239276,1,1);Xe(a,1667460464,1,1);Xe(a,1853188980,1,1);Xe(a,1634429038,9,1);Ef(a,195);Xe(a,1919969382,8,1);Ef(a,196);Ef(a,195);Xe(a,1886545254,9,1);Ef(a,197);Xe(a,1919644262,9,1);Xe(a,1633842790,9,1);Xe(a,1651275622,9,1);Xe(a,1751215206,9,1);Xe(a,1886614630,9,1);Xe(a,1986098293,9,1);Xe(a,1667916660,9,1);Ef(a,198);Ef(a,199);Xe(a,1769172844,0,1);Xe(a,1768843636,0,1);Xe(a,1835361385,0,1);Xe(a,1718185569,0,1);Ef(a,0);Xe(a,1633842803,9,1);Xe(a,1651275635,9,1);Xe(a,1751215214,9,1);Xe(a,1886545267,9,1);Xe(a,1886614643,9,1)}function ID(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>0){g=C[(D[d+22|0]<<2)+382144>>2];h=C[(D[d+21|0]<<2)+382144>>2];i=C[(D[d+20|0]<<2)+382144>>2];j=D[e+35|0];k=D[e+31|0];l=D[e+34|0];m=D[e+30|0];n=D[e+33|0];o=D[e+29|0];p=D[e+32|0];q=D[e+28|0];r=D[d+26|0];s=D[d+25|0];t=D[d+24|0];while(1){e=C[b>>2];C[a>>2]=D[((e&C[d+8>>2])>>>s|0)+h|0]>>>o<>2])>>>t|0)+i|0]>>>q<>2])>>>r|0)+g|0]>>>m<>>24>>>k<0){f=C[(D[d+30|0]<<2)+382144>>2];g=C[(D[d+29|0]<<2)+382144>>2];h=C[(D[d+28|0]<<2)+382144>>2];i=C[e+24>>2];j=D[e+34|0];k=D[e+30|0];l=D[e+33|0];m=D[e+29|0];n=D[e+32|0];o=D[e+28|0];p=D[d+34|0];q=C[d+20>>2];r=D[d+33|0];s=C[d+16>>2];t=D[d+32|0];u=C[d+12>>2];e=0;while(1){d=C[b>>2];B[a>>1]=D[((d&s)>>>r|0)+g|0]>>>m<>>t|0)+h|0]>>>o<>>p|0)+f|0]>>>k<>2]);g=C[a+8>>2];d=C[a>>2];C[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}e=D[d|0];b:{if((e|0)==91){j=93}else{i=1;if((e|0)!=123){break b}j=125}d=d+1|0;C[f+12>>2]=d;i=0}while(1){if(d>>>0>=g>>>0){break a}vg(f+12|0,g);e=C[f+12>>2];if(e>>>0>=g>>>0){d=e;break a}if(D[e|0]==(j|0)){d=e+1|0;break a}if(!(!c|(b|0)>(h|0))){d=e;break a}d=Mh(f+12|0,g,0);if(c){B[(h<<1)+c>>1]=d>>>16}d=C[f+12>>2];if((e|0)==(d|0)){h=-1;d=e;break a}h=h+1|0;if(!i){continue}break}}C[a>>2]=d;Ce=f+16|0;return h|0}function Bh(a,b){var c=0,d=0;c=C[105780];if(!c){return Qe(19865,0)}a:{if((yj(C[c+788>>2])|0)!=(a|0)){break a}c=0;d=C[105780];b:{if(!d){Qe(19865,0);break b}c=yj(C[d+792>>2])}if((b|0)!=(c|0)){break a}return 0}c:{d:{if(!b){a=0;c=C[105780];break d}c=C[105780];if(a){if(!c){Qe(19865,0);return-1}if(C[a>>2]!=(c+388|0)){Qe(2168,0);return-1}if(D[a+48|0]&2){break d}return Qe(2183,0)}a=0;if(C[c+796>>2]){break d}c=Qe(12475,0);break c}c=Fe[C[c+208>>2]](c,a,b)|0;if(c){break c}c=C[105780];C[c+784>>2]=b;C[c+780>>2]=a;$m(C[c+788>>2],a);$m(C[C[105780]+792>>2],b);return 0}return c}function zz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=c;g=(a<<16>>>0)/(b>>>0)|0;c=g;i=c>>31<<15|c>>>17;j=(c<<15)+32768|0;c=i;c=(((j>>>0<32768?c+1|0:c)&65535)<<16|j>>>16)-32768|0;C[h>>2]=c;C[d>>2]=g;C[e>>2]=0;C[f>>2]=0;a:{if((b|0)<=0){break a}h=b&1;d=a-2|0;if((b|0)!=1){i=b&-2;a=0;while(1){b=e;b:{if((c|0)>=0){b=f;if((d|0)>=(c>>>16|0)){break b}}C[b>>2]=C[b>>2]+1}b=e;c=c+g|0;c:{if((c|0)>=0){b=f;if((d|0)>=(c>>>16|0)){break c}}C[b>>2]=C[b>>2]+1}c=c+g|0;a=a+2|0;if((i|0)!=(a|0)){continue}break}}if(!h){break a}if((c|0)>=0){e=f;if((d|0)>=(c>>>16|0)){break a}}C[e>>2]=C[e>>2]+1}}function wy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C[a+44>>2]=b;_h(C[a>>2],b);c=C[a>>2];b=C[C[c+656>>2]+2952>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}e=Fe[b|0](c)|0;if(!e){break a}f=C[C[a>>2]+656>>2];c=C[f+1392>>2];h=C[a+40>>2];Fe[C[e+4>>2]](C[h>>2],C[a+16>>2],C[a+20>>2],0,0);b=C[f+1896>>2];if(!b){break a}while(1){g=C[a+16>>2];b=b-1|0;i=b<<2;d=C[C[(i+f|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){g=of(g,c,d);d=of(C[a+20>>2],c,d);break b}d=C[a+20>>2]}Fe[C[e+4>>2]](C[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function Uh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{g=C[a+192>>2];h=C[a+188>>2];if(g|h){b=C[a+156>>2];c=C[a+180>>2];d=(b|0)<(c|0)?b:c;f=C[a+1420>>2]+(C[a+160>>2]<<2)|0;c=C[f>>2];b:{c:{if(!c){c=0;break c}e=C[c>>2];if((e|0)>(d|0)){break c}d:{while(1){b=c;if((d|0)==(e|0)){break b}c=C[b+12>>2];if(c){e=C[c>>2];if((e|0)>(d|0)){break d}continue}break}c=0}f=b+12|0}b=C[a+208>>2];if((b|0)>=C[a+204>>2]){break a}C[a+208>>2]=b+1;b=C[a+200>>2]+(b<<4)|0;C[b>>2]=d;C[b+12>>2]=c;C[b+4>>2]=0;C[b+8>>2]=0;C[f>>2]=b}C[b+8>>2]=C[b+8>>2]+h;C[b+4>>2]=C[b+4>>2]+g}return}Ii(a,1);s()}function ar(a){var b=0,c=0,d=0,e=0;Yq(a);C[a+56>>2]=-57005;b=C[a- -64>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}Re(C[a+88>>2]);C[a+88>>2]=0;C[a+72>>2]=0;C[a+76>>2]=0;Re(C[a+52>>2]);C[a+52>>2]=0;C[a+44>>2]=0;C[a+48>>2]=0;C[a+24>>2]=0;b=C[a+36>>2];c=C[a+32>>2];if(c){e=(c<<2)+b|0;while(1){Re(C[(c?b:84608)>>2]);d=(c|0)!=0;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=C[a+36>>2]}Re(b);C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0}function Ku(a,b,c){var d=0,e=0;a:{if(!c){c=a;break a}d=c-1|0;b:{c:{d:{if((a^b)&3){c=a;break d}e=(d|0)!=0;e:{f:{if(!(!(b&3)|!d)){c=a;while(1){e=D[b|0];A[c|0]=e;if(!e){break e}c=c+1|0;d=d-1|0;e=(d|0)!=0;b=b+1|0;if(!(b&3)){break f}if(d){continue}break}break f}c=a}if(!e){break b}}if(!D[b|0]|d>>>0<4){break d}while(1){e=C[b>>2];if((e^-1)&e-16843009&-2139062144){break c}C[c>>2]=e;c=c+4|0;b=b+4|0;d=d-4|0;if(d>>>0>3){continue}break}}if(!d){break b}}while(1){e=D[b|0];A[c|0]=e;if(!e){break b}c=c+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}}A[c|0]=0}return af(b)+(c-a|0)|0}function FN(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;b=C[a+4>>2];c=b+c|0;g=0-b|0;h=C[a>>2];f=(c-1&g)>>h;a:{if((E[e+12>>1]&7)!=2){b=f;if(C[a+20>>2]>=(d-c|0)){break a}}b=(d&g)>>h}b:{if((b|0)<0){break b}c=E[a+56>>1];if((c|0)<=(f|0)){break b}d=b>>>0>>0?b:c-1|0;c=-128>>(d&7);f=(f|0)>0?f:0;b=f<<13>>16;e=C[a+60>>2];g=C[a+148>>2];a=b+(e+g|0)|0;f=255>>>(f&7)|0;h=d<<13>>16;d=h-b|0;c:{if((d|0)>0){A[a|0]=f|D[a|0];if((d|0)!=1){a=(d|0)>=2?2:d;p((e+(b+g|0)|0)+1|0,255,(h-(a+b|0)|0)+1|0);a=(e+((g+h|0)-a|0)|0)+1|0}a=a+1|0;break c}c=c&f}A[a|0]=D[a|0]|c}}function Qe(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ce-16|0;Ce=c;a:{if(!a){break a}C[105732]=128;C[105731]=422944;C[105730]=1;C[c+12>>2]=b;d=cn(C[105731],C[105732],a,b);b:{if((d|0)<0|d>>>0>2]=b;cn(C[105731],C[105732],a,b)}a=C[105658];c:{if(a){while(1){b=C[a+4>>2];if(C[a>>2]==1){break c}a=C[a+8>>2];if(a){continue}break}}b=C[94758]}if(b>>>0>2){break a}C[c>>2]=C[105731];a=Ce-16|0;Ce=a;C[a+12>>2]=c;Ij(1,2,8979,c);Ce=a+16|0}Ce=c+16|0;return-1}function rs(a){var b=0,c=0,d=0;if(a){Ax(C[a+22128>>2]);while(1){b=I(d,84)+a|0;a:{if(!C[b+52>>2]){break a}C[b+52>>2]=0;C[b+56>>2]=0;c=C[b+84>>2];if(c){if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[b+84>>2]=0}c=C[b+60>>2];if(!c){break a}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[b+60>>2]=0}d=d+1|0;if((d|0)!=256){continue}break}b=C[a>>2];if(b){Lm(b)}b=C[a+22092>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(C[a+22072>>2]){b=C[a+22068>>2];Fe[C[b+16>>2]](b)|0}b=C[a+22108>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}}function iy(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}b:{c:{b=C[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){k=g&-4;while(1){c=C[a>>2];b=e<<2;f=d<<2;C[c+b>>2]=C[c+f>>2];c=C[a>>2];C[c+(b|4)>>2]=C[(c+f|0)+4>>2];c=C[a>>2];C[c+(b|8)>>2]=C[(c+f|0)+8>>2];c=b|12;b=C[a>>2];C[c+b>>2]=C[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}if(!h){break b}while(1){b=C[a>>2];C[b+(e<<2)>>2]=C[b+(d<<2)>>2];d=d+1|0;e=e+1|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}C[a+8>>2]=g}}function sD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+36>>2]/2|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){i=C[a+16>>2]+(b+e|0)|0;g=C[a+48>>2];j=e&-2;k=e&1;c=C[a>>2];b=C[a+20>>2];l=d<<1;while(1){f=f-1|0;a:{if((e|0)<=0){break a}d=0;a=0;h=0;if((e|0)!=1){while(1){if(!(d&6)){a=D[c|0];c=c+1|0}B[b>>1]=E[((a&128)>>>6|0)+g>>1];B[b+2>>1]=E[(a>>>5&2)+g>>1];d=d+2|0;b=b+4|0;a=a<<2;h=h+2|0;if((j|0)!=(h|0)){continue}break}}if(!k){break a}if(!(d&7)){a=D[c|0];c=c+1|0}B[b>>1]=E[((a&128)>>>6|0)+g>>1];b=b+2|0}c=c+i|0;b=b+l|0;if(f){continue}break}}}function qD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+36>>2]/4|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){i=C[a+16>>2]+(b+e|0)|0;g=C[a+48>>2];j=e&-2;k=e&1;c=C[a>>2];b=C[a+20>>2];l=d<<2;while(1){f=f-1|0;a:{if((e|0)<=0){break a}a=0;d=0;h=0;if((e|0)!=1){while(1){if(!(d&6)){a=D[c|0];c=c+1|0}C[b>>2]=C[((a&128)>>>5|0)+g>>2];C[b+4>>2]=C[(a>>>4&4)+g>>2];d=d+2|0;b=b+8|0;a=a<<2;h=h+2|0;if((j|0)!=(h|0)){continue}break}}if(!k){break a}if(!(d&7)){a=D[c|0];c=c+1|0}C[b>>2]=C[((a&128)>>>5|0)+g>>2];b=b+4|0}c=c+i|0;b=b+l|0;if(f){continue}break}}}function Oo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;if(C[a+216>>2]==C[a+372>>2]){C[a+236>>2]=0;C[a+232>>2]=d;i=f?4:2;h=a+220|0;d=1024;a:{while(1){f=C[a+224>>2];if(!f){g=C[c>>2];f=d>>>0>>0?d:g;C[c>>2]=g-f;if(f){Xf(a,b,f);_f(a,b,f)}C[a+224>>2]=f;C[a+220>>2]=b;d=f}g=C[a+236>>2];if(!g){g=C[e>>2];C[e>>2]=0;C[a+236>>2]=g}j=C[c>>2];if(!(!D[a+432|0]|!f)){if(A[C[h>>2]]<0){C[a+244>>2]=32909;f=-3;break a}A[a+432|0]=0}f=pm(h,j?0:i);if(f){g=C[a+236>>2];break a}if(C[e>>2]|C[a+236>>2]){continue}break}g=0;f=0}C[e>>2]=C[e>>2]+g;C[a+236>>2]=0;lj(a,f);return}C[a+244>>2]=20578}function wL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Ce-16|0;Ce=e;c=C[a>>2];a:{if(D[c+8|0]&2){d=Fe[C[C[c+532>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=C[e+12>>2];C[a+112>>2]=c;b=C[a>>2];if(A[b+8|0]&1){_h(b,c);wp(a);d=0;break a}d=Fe[C[C[b+532>>2]+108>>2]](b,c,a+12|0)|0;if(!d){d=0;break a}C[a+112>>2]=-1;break a}C[a+112>>2]=-1;c=C[a>>2]}hk(c,b);if(!(A[C[a>>2]+8|0]&1)){break a}d=wp(a);C[a+36>>2]=C[a+68>>2];b=C[a+64>>2];C[a+28>>2]=C[a+60>>2];C[a+32>>2]=b;b=C[a+56>>2];C[a+20>>2]=C[a+52>>2];C[a+24>>2]=b;b=C[a+48>>2];C[a+12>>2]=C[a+44>>2];C[a+16>>2]=b}Ce=e+16|0;return d|0}function YS(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;i=J(i);j=J(j);var k=J(0);a=ii(a,64,b+4|0);if(!a){return-1}C[b+8>>2]=1;gf(a,d,16);k=G[e>>2];a:{if(J(K(k))>2]=b;k=G[e+4>>2];b:{if(J(K(k))>2]=b;k=G[e+8>>2];c:{if(J(K(k))>2]=b;k=G[e+12>>2];H[a+32>>3]=f;if(J(K(k))>2]=b;gf(a+40|0,g,8);G[a+56>>2]=j;G[a+52>>2]=i;C[a+48>>2]=h;return 0}function rm(a,b,c){var d=0,e=0,f=0;d=C[a+24>>2];e=C[b+24>>2];a:{if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+28>>2];e=C[b+28>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a>>2];e=C[b>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+4>>2];e=C[b+4>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+8>>2];e=C[b+8>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+12>>2];e=C[b+12>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=C[a+16>>2];e=C[b+16>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}a=C[a+20>>2];b=C[b+20>>2];f=(a|0)>=(b-c|0)&(a|0)<=(b+c|0)}return f}function kn(a){var b=0,c=0,d=0;d=Ce-16|0;Ce=d;a:{if(!a){C[d>>2]=5741;Qe(19745,d);break a}Fz();c=C[a+36>>2];C[a+36>>2]=c-1;if((c|0)>=2){C[105707]=0;break a}b=C[105708];b:{if((b|0)==(a|0)){c=422832}else{if(!b){break b}while(1){c=b;b=C[b+40>>2];if(!b){break b}if((a|0)!=(b|0)){continue}break}c=c+40|0}C[c>>2]=C[a+40>>2]}C[105707]=0;b=C[a+4>>2];c:{if(!b){break c}c=C[b+12>>2];C[b+12>>2]=c-1;if((c|0)>1){break c}c=C[b+4>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}Ce=d+16|0}function DS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[105716];a:{if((b|0)<=0){break a}e=b&7;b:{if(!e){d=b;break b}d=b;while(1){d=d-1|0;c=C[c+1320>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(b>>>0<8){break a}while(1){b=d-9|0;c=C[C[C[C[C[C[C[C[c+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];d=d-8|0;if(b>>>0<4294967294){continue}break}}if(!c){return Qe(18969,0)|0}if(C[c+16>>2]){return Qe(20522,0)|0}b=C[c+12>>2];C[a+132>>2]=c;C[a>>2]=b;C[c+16>>2]=a;C[a+52>>2]=0;C[a+44>>2]=0;C[a+60>>2]=C[c+20>>2];C[a+36>>2]=C[c+24>>2];return 0}function st(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;a:{if(F[b+4>>2]>a>>>0){break a}c=C[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}f=C[b+12>>2];g=f-2|0;C[b+12>>2]=g;if((g|0)<=0){break a}d=1;if((D[a|0]|D[a+1|0]<<8)!=256){break a}b:{d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<2){break b}c=f-4|0;C[b+12>>2]=c;if((c|0)<=0){break b}c=D[d|0]|D[d+1|0]<<8;c:{if(!c){break c}if(og(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=C[b+28>>2];if(c>>>0>31){break b}C[b+28>>2]=c+1;if(!D[b+24|0]){break b}A[d|0]=0;A[d+1|0]=0}C[e+12>>2]=a;d=At(a+4|0,b,e+12|0);break a}d=0}Ce=e+16|0;return d}function dJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;Kf(b,C[a>>2],24);Kf(b,C[a+4>>2],24);Kf(b,C[a+8>>2]-1|0,24);Kf(b,C[a+12>>2]-1|0,6);Kf(b,C[a+20>>2],8);a:{if(C[a+12>>2]<=0){break a}while(1){c=(e<<2)+a|0;f=ug(C[c+24>>2]);d=C[c+24>>2];b:{if((f|0)>=4){Kf(b,d,3);Kf(b,1,1);Kf(b,C[c+24>>2]>>3,5);break b}Kf(b,d,4)}d=0;c=C[c+24>>2];if(c){while(1){d=(c&1)+d|0;f=c>>>0>1;c=c>>>1|0;if(f){continue}break}}g=d+g|0;e=e+1|0;if((e|0)>2]){continue}break}c=0;if((g|0)<=0){break a}while(1){Kf(b,C[((c<<2)+a|0)+280>>2],8);c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function JO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;A[a+68|0]=1;C[a+64>>2]=0;C[a+8>>2]=d;C[a+4>>2]=b;C[a>>2]=C[b+100>>2];a:{if(!d){break a}b=C[C[d+156>>2]>>2];C[a+12>>2]=b;C[a+20>>2]=b+56;C[a+16>>2]=b+20;Wi(b);b=C[c+40>>2];C[a+72>>2]=0;C[a+76>>2]=b;if(!e){break a}C[a+72>>2]=C[C[d+156>>2]+36>>2]}C[a+24>>2]=0;C[a+28>>2]=0;C[a+40>>2]=0;C[a+44>>2]=0;C[a+32>>2]=0;C[a+36>>2]=0;b=C[54860];C[a+80>>2]=C[54859];C[a+84>>2]=b;b=C[54862];C[a+88>>2]=C[54861];C[a+92>>2]=b;b=C[54864];C[a+96>>2]=C[54863];C[a+100>>2]=b;b=C[54866];C[a+104>>2]=C[54865];C[a+108>>2]=b}function jH(a){a=a|0;var b=0;b=a+24|0;Xe(b,1937007464,1,1);Ef(b,178);Xe(b,1667460464,1,1);Xe(b,1819239276,1,1);Ef(b,0);Xe(b,1769172844,(C[a+8>>2]==1098015074)<<1,1);Ef(b,0);Xe(b,1718185569,(C[a+8>>2]==1098015074)<<1,1);Ef(b,0);Xe(b,1718185522,0,1);Ef(b,0);Xe(b,1718185523,0,1);Ef(b,0);Xe(b,1835361385,(C[a+8>>2]==1098015074)<<1,1);Ef(b,0);Xe(b,1835361330,0,1);Ef(b,0);Xe(b,1768843636,(C[a+8>>2]==1098015074)<<1,1);Ef(b,0);Xe(b,1919707495,11,1);if(C[a+8>>2]==1098015074){Ef(b,179)}Xe(b,1919118452,9,1);Xe(b,1667329140,9,1);Ef(b,0);Xe(b,1836279156,1,1)}function bS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=Ce-16|0;Ce=a;h=C[c+32>>2];U(C[c+12>>2],a+8|0,a|0)|0;g=C[c+4>>2];d=+C[g+28>>2]/H[a>>3];e=+C[g+24>>2]/H[a+8>>3];a:{if(h){e=+C[b+44>>2]*e+H[52888];b:{if(K(e)<2147483648){c=~~e;break b}c=-2147483648}b=C[b+48>>2];H[52888]=e-+(c|0);d=+(b|0)*d+H[52889];c:{if(K(d)<2147483648){f=~~d;break c}f=-2147483648}H[52889]=d-+(f|0);break a}d=d*+C[b+56>>2];d:{if(K(d)<2147483648){f=~~d;break d}f=-2147483648}d=e*+C[b+52>>2];if(K(d)<2147483648){c=~~d;break a}c=-2147483648}Bl(g,0,h,c,f);Ce=a+16|0;return 0}function br(a,b,c,d,e,f){var g=0;g=C[b+4>>2];if(!g){A[c|0]=D[C[(D[b+28|0]<<2)+382144>>2]+((C[b+12>>2]&a)>>>D[b+32|0]|0)|0];A[d|0]=D[C[(D[b+29|0]<<2)+382144>>2]+((C[b+16>>2]&a)>>>D[b+33|0]|0)|0];A[e|0]=D[C[(D[b+30|0]<<2)+382144>>2]+((C[b+20>>2]&a)>>>D[b+34|0]|0)|0];A[f|0]=D[C[(D[b+31|0]<<2)+382144>>2]+((C[b+24>>2]&a)>>>D[b+35|0]|0)|0];return}if(F[g>>2]>a>>>0){a=a<<2;A[c|0]=D[a+C[g+4>>2]|0];A[d|0]=D[(a+C[C[b+4>>2]+4>>2]|0)+1|0];A[e|0]=D[(a+C[C[b+4>>2]+4>>2]|0)+2|0];A[f|0]=D[(a+C[C[b+4>>2]+4>>2]|0)+3|0];return}A[f|0]=0;A[e|0]=0;A[d|0]=0;A[c|0]=0}function Hm(a){var b=0,c=0,d=0;a:{if(!a){break a}b=C[a+28>>2];if(!b){break a}d=C[a+36>>2];if(!d){break a}c=C[b+20>>2];if(c){b=C[c>>2];if((b&-2)==4){Fe[d|0](C[a+40>>2],C[c+12>>2]);b=C[c>>2]}if((b|0)==6){Fe[C[a+36>>2]](C[a+40>>2],C[c+4>>2])}C[c+28>>2]=0;C[c+32>>2]=0;C[c>>2]=0;b=C[c+40>>2];C[c+52>>2]=b;C[c+48>>2]=b;d=C[c+56>>2];if(d){b=Fe[d|0](0,0,0)|0;C[c+60>>2]=b;C[a+48>>2]=b;b=C[c+40>>2]}Fe[C[a+36>>2]](C[a+40>>2],b);Fe[C[a+36>>2]](C[a+40>>2],C[c+36>>2]);Fe[C[a+36>>2]](C[a+40>>2],c);d=C[a+36>>2];b=C[a+28>>2]}Fe[d|0](C[a+40>>2],b);C[a+28>>2]=0}}function tO(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,j=0,k=0,l=0,m=0,n=0;h=Ce-16|0;Ce=h;l=C[b+8>>2];m=C[b+4>>2];i=C[a+20>>2];if((i|0)!=C[b+16>>2]){We(b+20|0,255,1024);C[b+16>>2]=i}if(c){n=b+20|0;while(1){C[h+12>>2]=0;a=C[d>>2];j=((a&255)<<2)+n|0;b=C[j>>2];a:{if(!((b|0)==-1|(b>>>24|0)!=(a>>>8|0))){b=b&16777215;break a}il(m,a,l,h+12|0);b=C[h+12>>2];if(a>>>0>65535|b>>>0>16777215){break a}C[j>>2]=a<<16&-16777216|b}C[f>>2]=((i|0)<0?0-b|0:b)+512>>10;f=f+g|0;d=d+e|0;k=k+1|0;if((k|0)!=(c|0)){continue}break}}Ce=h+16|0}function my(a,b){var c=0,d=0,e=0,f=0;f=Ce-16|0;Ce=f;a:{b:{d=C[a+20>>2];if((d|0)!=C[a+12>>2]){e=C[a+28>>2];break b}c=C[a+16>>2];C[f+12>>2]=0;c:{c=c+d|0;e=C[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=I(c,e);e=Ve(C[a>>2],1,C[a+24>>2],d,C[a+28>>2],f+12|0);C[a+28>>2]=e;if(C[f+12>>2]){break c}C[a+24>>2]=d;C[a+12>>2]=c;d=C[a+20>>2];if(c>>>0>=d>>>0){break b}b=C[a+4>>2];if(!(!b|C[b>>2])){C[b>>2]=130}C[a+20>>2]=c;break a}a=C[a+4>>2];if(!a|C[a>>2]){break a}C[a>>2]=64;break a}c=C[a+8>>2];t(I(c,d)+e|0,b,c);C[a+20>>2]=C[a+20>>2]+1}Ce=f+16|0}function iA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[b+80>>2];d=C[a+548>>2];f=ai();e=C[d>>2];a:{if((f|0)!=(e|0)){C[d+468>>2]=0;if((Bh(C[a+204>>2],e)|0)<0){break a}}a=C[a+548>>2];if(!C[a+4>>2]){break a}while(1){if(Fe[C[a+100>>2]]()|0){continue}break}}if(C[d+412>>2]==(b|0)){C[d+412>>2]=0}if(C[d+416>>2]==(b|0)){C[d+416>>2]=0}if(c){Fe[C[d+60>>2]](1,c);if(C[c+32>>2]){Fe[C[d+60>>2]](1,c+32|0)}if(C[c+36>>2]){Fe[C[d+60>>2]](1,c+36|0)}a=C[c+16>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}C[b+80>>2]=0}}function sS(a,b){a=a|0;b=b|0;var c=0,d=0;c=If(1,156);C[a+1080>>2]=c;if(!c){return _e(0)|0}C[c+112>>2]=697;C[c+68>>2]=698;C[c+60>>2]=699;C[c+56>>2]=700;C[c+44>>2]=701;C[c+64>>2]=702;C[c+124>>2]=703;C[c+120>>2]=704;C[c+116>>2]=705;C[c+100>>2]=706;C[c+96>>2]=707;C[c+92>>2]=708;C[c+88>>2]=709;C[c+84>>2]=710;C[c+76>>2]=711;C[c+72>>2]=712;C[c+128>>2]=713;C[c+104>>2]=714;c=Aa(0)|0;d=C[a+1080>>2];C[d+8>>2]=c;if(!c){return Qe(1577,0)|0}if((Fe[C[d+56>>2]](c,0,0)|0)!=1){return Qe(25768,0)|0}a=a+520|0;if(b){pf(a,b,255);return 0}A[a|0]=0;return 0}function WS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=0;a=ii(a,d<<4,b+4|0);if(!a){return-1}C[b+8>>2]=d;if((d|0)>0){while(1){e=G[c>>2];a:{if(J(K(e))>2]=b;e=G[c+4>>2];b:{if(J(K(e))>2]=b;e=G[c+8>>2];c:{if(J(K(e))>2]=(b|0)<=1?1:b;e=G[c+12>>2];d:{if(J(K(e))>2]=(b|0)<=1?1:b;c=c+16|0;a=a+16|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}return 0}function Pw(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=-1;b=C[a+24>>2];a:{if(b>>>0>65534){break a}b=b+1|0;c=C[a+40>>2];b=b>>>0>c>>>0?b:c;while(1){b:{e=C[a+44>>2];c:{if(e>>>0>>0){break c}g=C[a+48>>2];d=C[a+52>>2];if(d){c=d+(b-c<<1)|0;while(1){d=D[c+1|0]|D[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((Gw(a,C[a+36>>2]+1|0)|0)<0){break a}c=C[a+40>>2];b=b>>>0>c>>>0?b:c;continue}break}f=b}C[a+28>>2]=d;C[a+24>>2]=f}function Zy(a,b,c,d){var e=0,f=0,g=0,h=0;if(!b){return(a|0)<0?0-d|0:d}if(!a){return(b|0)<0?c:0-c|0}if(!d){return(c|0)<0?0-b|0:b}if(!c){return(d|0)<0?a:0-a|0}f=d>>>16|0;g=I(f,a&65535);h=a>>>16|0;e=g+I(h,d&65535)|0;a=I(a,d);e=(((e>>>16|0)+I(h,f)|0)+((e>>>0>>0)<<16)|0)+(a>>>0>>0)|0;f=c>>>16|0;g=I(f,b&65535);h=b>>>16|0;d=g+I(h,c&65535)|0;b=I(b,c);c=(((d>>>16|0)+I(h,f)|0)+((d>>>0>>0)<<16)|0)+(b>>>0>>0)|0;d=1;a:{if(e>>>0>c>>>0){break a}d=-1;if(c>>>0>e>>>0){break a}d=1;if(a>>>0>b>>>0){break a}d=a>>>0>>0?-1:0}return d}function uj(a){var b=0,c=0,d=0,e=0;d=C[a+4>>2];a=C[a>>2];c=D[a|0];if((c|0)==30){return fq(a,d,0,0)>>16}a:{b:{switch(c-28|0){case 0:b=0;if(a+3>>>0>d>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8;return(a<<8|a>>>8)<<16>>16;case 1:b=0;if(a+5>>>0>d>>>0){break a}a=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);default:break b}}if(c>>>0<=246){return c-139|0}e=a+2|0;if(c>>>0<=250){b=0;if(d>>>0>>0){break a}return(D[a+1|0]|c<<8)-63124|0}b=0;if(d>>>0>>0){break a}b=64148-(D[a+1|0]|c<<8)|0}return b}function mm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=Ce-240|0;Ce=i;h=C[d>>2];C[i+232>>2]=h;d=C[d+4>>2];C[i>>2]=a;C[i+236>>2]=d;k=1;a:{b:{c:{if(!(d|(h|0)!=1)){d=a;break c}l=0-b|0;h=a;while(1){j=(e<<2)+g|0;d=h-C[j>>2]|0;if((hj(d,a,c)|0)<=0){d=h;break c}d:{if(!((e|0)<2|f)){f=C[j-8>>2];j=h+l|0;if((hj(j,d,c)|0)>=0){break d}if((hj(j-f|0,d,c)|0)>=0){break d}}C[(k<<2)+i>>2]=d;h=i+232|0;f=Su(h);nm(h,f);k=k+1|0;e=e+f|0;f=0;h=d;if(C[i+236>>2]|C[i+232>>2]!=1){continue}break b}break}d=h;break b}if(f){break a}}Ru(b,i,k);uo(d,b,c,e,g)}Ce=i+240|0}function kp(a,b,c,d,e,f,g){var h=J(0),i=0,j=J(0),k=0,l=0,m=0,n=J(0),o=0,p=J(0),q=0;k=C[a>>2];if((k|0)>0){l=C[a+4>>2];i=d<<2;p=G[(l+i|0)+12>>2];q=C[i+C[a+12>>2]>>2];m=+G[a+48>>2];i=0;d=(d|0)!=1;while(1){a=i<<2;h=J(p+G[a+c>>2]);j=G[l+108>>2];n=J(G[a+b>>2]+G[a+q>>2]);j=j>2]=h>j?h:j;if(!d){h=J(j-G[a+g>>2]);o=+J(h+J(17.200000762939453));a:{if(h>J(-17.200000762939453)){h=J(o*-.005*m+1);if(!(h>2]=h*G[a>>2]}i=i+1|0;if((k|0)!=(i|0)){continue}break}}}function js(a){var b=0,c=0,d=0,e=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=13258;Qe(19745,c);break a}d=C[a+184>>2];b:{c:{if((d|0)<=0){break c}b=(d|0)/C[a+196>>2]|0;b=C[a+172>>2]?b:(C[a+240>>2]/D[a+232|0]|0)+b|0;if((b|0)<=0){break c}e=P(H[a+224>>3]*+(b|0));d:{if(K(e)<2147483648){b=~~e;break d}b=-2147483648}C[c+12>>2]=I(b,C[a+208>>2]);mf(C[a+176>>2]+d|0,0,C[a+180>>2]-d|0);if((Il(a,C[a+176>>2],C[a+180>>2],c+12|0)|0)<0){break b}mf(C[a+176>>2],0,d);if((Il(a,C[a+176>>2],C[a+180>>2],c+12|0)|0)<0){break a}}C[a+172>>2]=1;C[a+184>>2]=0}}Ce=c+16|0}function Zk(a,b,c){var d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;f=cg(a,e+12|0);d=C[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}cg(a,e+12|0);d=C[e+12>>2];if(d){break a}d=ng(a,16);C[e+12>>2]=d;if(d){break a}f=$f(a,e+12|0);d=C[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=cg(a,e+12|0);d=C[e+12>>2];if(d){break a}b:{if((g|0)==2){d=cg(a,e+12|0);if(C[e+12>>2]){break b}cg(a,e+12|0);if(C[e+12>>2]){break b}C[c>>2]=d;d=0;break a}d=ng(a,8);C[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}Ce=e+16|0;return d}function zB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,j)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|h<<16|i;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function tB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,j)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|h|i<<16;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function TA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|i<<16|h;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function NA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,l)>>>0)/255|0;b=(I(b,k)>>>0)/255|0}C[g>>2]=b<<8|i|h<<16;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function ef(a,b){var c=0,d=0;d=Ce-1024|0;Ce=d;if(b){while(1){c=b>>>0>=1024?1024:b;b=b-c|0;if(a){Xf(a,d,c);_f(a,d,c)}if(b){continue}break}}C[a+772>>2]=129;b=C[a+208>>2];c=C[a+372>>2];Xf(a,d,4);a:{b:{c:{if(c&536870912){if((b&768)==768){break c}break b}if(!(b&2048)){break b}}b=0;break a}b=0;c=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);if(C[a+400>>2]==(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))){break a}c=C[a+208>>2];d:{if(D[a+375|0]&32){b=1;if(!(c&512)){break a}break d}b=1;if(c&1024){break a}}Kg(a,9261);s()}Ce=d+1024|0;return b}function tr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;b=(I(b,l)>>>0)/255|0}C[g>>2]=i<<8|b<<16|h;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function qr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){c=d;g=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){h=(I(h,j)>>>0)/255|0;i=(I(i,k)>>>0)/255|0;b=(I(b,l)>>>0)/255|0}C[c>>2]=i<<8|b|h<<16;c=c+4|0;g=g+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function or(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){c=d;g=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,k)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[c>>2]=i<<8|h<<16|b;c=c+4|0;g=g+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function mr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;if(c){j=D[a+62|0];k=D[a+61|0];l=D[a+60|0];m=C[a+52>>2]&1;d=C[a+20>>2];e=C[a>>2];while(1){g=d;c=e;f=C[a+24>>2];if(f){while(1){f=f-1|0;b=C[c>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(m){i=(I(i,k)>>>0)/255|0;h=(I(h,l)>>>0)/255|0;b=(I(b,j)>>>0)/255|0}C[g>>2]=i<<8|h|b<<16;g=g+4|0;c=c+4|0;if(f){continue}break}c=C[a+28>>2]}else{c=b}b=c-1|0;C[a+28>>2]=b;d=C[a+32>>2]+d|0;e=C[a+12>>2]+e|0;if(c){continue}break}C[a+20>>2]=d;C[a>>2]=e}}function Am(a){var 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;b=C[a+256>>2];if(!b){n=a;d=B[a+296>>1];b=C[a+244>>2];a:{if(!d){break a}c=B[a+294>>1];b=C[a+248>>2];if(!c){break a}e=C[a+244>>2];b=e>>31;f=(b^e)-b|0;b=c>>31;g=(b^c)-b|0;h=I(f>>>16|0,g);i=h<<16|8192;a=C[a+248>>2];b=a>>31;j=(a^b)-b|0;b=d>>31;k=(b^d)-b|0;l=I(j>>>16|0,k);m=l<<16|8192;b=i+I(g,f&65535)|0;b=(h>>>16|0)+(b>>>0>>0)<<18|b>>>14;c=(c^e)<0?0-b|0:b;b=m+I(k,j&65535)|0;b=(l>>>16|0)+(b>>>0>>0)<<18|b>>>14;b=Xi(c,(a^d)<0?0-b|0:b)}C[n+256>>2]=b}return b}function wD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+24>>2];b=(c+1|0)/-2|0;e=C[a+28>>2];if(e){i=C[a+16>>2]+(b+c|0)|0;f=C[a+48>>2];j=C[a+36>>2];k=c&-2;l=c&1;b=C[a>>2];a=C[a+20>>2];while(1){e=e-1|0;a:{if((c|0)<=0){break a}g=0;d=0;if((c|0)!=1){while(1){h=D[b|0];C[a>>2]=C[(h>>>2&60)+f>>2];C[a+4>>2]=C[((h&15)<<2)+f>>2];g=g+2|0;a=a+8|0;b=b+1|0;d=d+2|0;if((k|0)!=(d|0)){continue}break}}if(!l){break a}d=0;if(!(g&1)){d=D[b|0];b=b+1|0}C[a>>2]=C[((d&240)>>>2|0)+f>>2];a=a+4|0}a=a+j|0;b=b+i|0;if(e){continue}break}}}function ty(a,b,c){var d=0,e=0,f=0;a:{if(D[a+64|0]){break a}A[a+64|0]=1;e=C[a+20>>2];b:{if(D[a+65|0]){d=C[a+12>>2];if((B[d+20>>1]+B[d+56>>1]|0)+1>>>0>F[d+8>>2]){d=Qg(d,0,1);if(d){break a}}f=E[e>>1];d=f<<16>>16;if((d|0)<=0){break b}B[(C[e+12>>2]+(f<<1)|0)-2>>1]=E[e+2>>1]-1}d=E[e>>1]}B[e>>1]=d+1;d=C[a+12>>2];if((B[d+22>>1]+B[d+58>>1]|0)+1>>>0>F[d+4>>2]){d=Qg(d,1,0);if(d){break a}}d=C[a+20>>2];if(D[a+65|0]){a=C[d+8>>2];e=B[d+2>>1];f=C[d+4>>2]+(e<<3)|0;C[f+4>>2]=c>>10;C[f>>2]=b>>10;A[a+e|0]=1}B[d+2>>1]=E[d+2>>1]+1;d=0}return d}function Ye(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(b>>>0>=33){b=C[a+16>>2];break a}d=C[a+4>>2];c=d+b|0;g=C[(b<<2)+349936>>2];b:{f=C[a>>2];b=C[a+16>>2];if((f|0)<(b-4|0)){break b}if((b-(c+7>>3)|0)<(f|0)){break a}if(c){break b}return 0}e=C[a+12>>2];b=D[e|0]>>>d|0;c:{if((c|0)<9){break c}b=D[e+1|0]<<8-d|b;if(c>>>0<17){break c}b=D[e+2|0]<<16-d|b;if(c>>>0<25){break c}b=D[e+3|0]<<24-d|b;if(!d|c>>>0<33){break c}b=D[e+4|0]<<32-d|b}C[a+4>>2]=c&7;c=(c|0)/8|0;C[a>>2]=c+f;C[a+12>>2]=c+e;return b&g}C[a+4>>2]=1;C[a>>2]=b;C[a+12>>2]=0;return-1}function it(a,b){var c=0,d=0,e=0,f=0,g=0;if(D[a+140|0]){c=C[a+100>>2];c=C[c+92>>2]+I(C[c+76>>2],20)|0;d=E[c+12>>1]&96;f=c+12|0,g=_g(C[a+108>>2],b)|d|16,B[f>>1]=g}c=C[a+100>>2];if($e(c,1,1)){a=C[c+76>>2];a:{if(a>>>0>2]){d=C[c+84>>2];e=C[c+96>>2];a=C[c+92>>2]+I(a,20)|0;break a}e=C[c+96>>2];d=C[c+84>>2];a=d-1|0;a=e+I(a>>>0<=d>>>0?a:0,20)|0}d=I(d,20)+e|0;e=C[a+4>>2];C[d>>2]=C[a>>2];C[d+4>>2]=e;C[d+16>>2]=C[a+16>>2];e=C[a+12>>2];C[d+8>>2]=C[a+8>>2];C[d+12>>2]=e;C[d>>2]=b;C[c+76>>2]=C[c+76>>2]+1;C[c+84>>2]=C[c+84>>2]+1}}function im(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=D[b|0];A[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!D[b|0]){break a}if(c>>>0<4){break d}while(1){d=C[b>>2];if((d^-1)&d-16843009&-2139062144){break c}C[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=D[b|0];A[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}We(e,0,c);return a}function Sh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ce-16|0;Ce=f;o(+b);g=j(1)|0;d=j(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=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){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?L(c):L(d)+32|0;Hg(f,d,e,0,0,c+49|0);i=C[f>>2];h=C[f+4>>2];e=15372-c<<16;c=C[f+8>>2];d=e|C[f+12>>2]^65536}C[a>>2]=i;C[a+4>>2]=h;C[a+8>>2]=c;C[a+12>>2]=g&-2147483648|d;Ce=f+16|0}function yw(a){var b=0,c=0;while(1){a:{c=C[104424];if(c){break a}b=az();Iy(b,138);Ey(b,139);Ay(b,140);Vy(b,141);qy(b,142);if(C[b+4>>2]){c=C[b+84>>2];if(c){Fe[c|0](C[b+16>>2])}C[b+84>>2]=0;C[b+16>>2]=0;C[b+152>>2]=143}if(C[b+4>>2]){c=C[b+112>>2];if(c){Fe[c|0](C[b+44>>2])}C[b+112>>2]=0;C[b+44>>2]=0;C[b+180>>2]=144}ky(b,145);$x(b,146);Sx(b,147);Px(b,148);if(C[b+4>>2]){C[b+4>>2]=0}b=b?b:378516;c=C[104424];if(!c){C[104424]=b;c=b;break a}if(!b){break a}if((b|0)==378516){continue}Vm(b);continue}break}wx(a,c,C[a+16>>2]+48|0,0)}function PL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!C[b+196>>2]){Uh(b)}c=C[a>>2];a=C[a+4>>2];C[b+188>>2]=0;C[b+192>>2]=0;C[b+196>>2]=0;e=a<<2;C[b+228>>2]=e&-256;f=(e>>8)-C[b+172>>2]|0;C[b+160>>2]=f;a=C[b+164>>2];d=C[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;C[b+156>>2]=h;a=((c|0)>(d|0)?d:c)-a|0;d=(a|0)<0?-1:a;if((d|0)!=(h|0)){Uh(b);C[b+160>>2]=f;C[b+156>>2]=d;C[b+188>>2]=0;C[b+192>>2]=0}a=1;a=F[b+184>>2]>f>>>0?(d|0)>=C[b+180>>2]:a;C[b+224>>2]=e;C[b+220>>2]=g;C[b+196>>2]=a;return 0}function qg(a){var b=0,c=0;if(a){Fe[C[104550]](a);C[a- -64>>2]=1;C[a+56>>2]=1;C[a+60>>2]=0;Fe[C[104551]](a);b=C[a+84>>2];if(b){c=C[b+36>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}b=C[a+80>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+72>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}Di(C[a+52>>2]);b=C[a>>2];a:{if(!b){break a}b=(b<<2)+418268|0;if(C[b>>2]!=(a|0)){break a}C[b>>2]=0}if(C[a+96>>2]){Fe[C[104549]](a)}yk(C[a+92>>2]);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}}function $S(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{g=C[a+548>>2];f=C[g>>2];if(f){break a}f=C[g+4>>2];C[g>>2]=f;if(f){break a}f=jl(C[a+204>>2]);if(f){C[g>>2]=f;C[g+4>>2]=f;break a}f=C[g>>2];if(f){break a}return-1}b:{a=C[b>>2];c:{if((a|0)<0){break c}h=C[b+8>>2];if(C[f+8>>2]<(a+h|0)){break c}g=C[b+4>>2];if((g|0)<0){break c}b=C[b+12>>2];if(C[f+12>>2]>=(b+g|0)){break b}}return Qe(8045,0)|0}i=b;b=C[f+4>>2];j=C[f+20>>2];f=C[f+16>>2];return Zi(h,i,C[b>>2],(j+I(f,g)|0)+I(a,D[b+9|0])|0,f,c,d,e)|0}function ZG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{a=C[a+112>>2];if(!a){break a}d=C[b+80>>2];if(!d){break a}b=C[b+92>>2];if(d>>>0>=4){f=d&-4;c=0;while(1){C[b+4>>2]=C[b+4>>2]|C[a+(D[b+19|0]<<2)>>2];C[b+24>>2]=C[b+24>>2]|C[a+(D[b+39|0]<<2)>>2];C[b+44>>2]=C[b+44>>2]|C[a+(D[b+59|0]<<2)>>2];e=b- -64|0;C[e>>2]=C[e>>2]|C[a+(D[b+79|0]<<2)>>2];b=b+80|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break a}c=0;while(1){C[b+4>>2]=C[b+4>>2]|C[a+(D[b+19|0]<<2)>>2];b=b+20|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function xw(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;c=C[b+28>>2];d=Fe[C[a+508>>2]](a,1668707360,b,e+8|0)|0;C[e+12>>2]=d;a:{if(d){C[a+644>>2]=0;C[a+648>>2]=0;c=0;break a}d=C[e+8>>2]>>>1|0;C[a+644>>2]=d;f=a,g=Ve(c,2,0,d,0,e+12|0),C[f+648>>2]=g;c=C[e+12>>2];if(c){break a}c=Cf(b,C[a+644>>2]<<1);C[e+12>>2]=c;if(c){break a}d=C[a+644>>2];if((d|0)>0){c=C[a+648>>2];d=c+(d<<1)|0;while(1){f=c,g=Gf(b),B[f>>1]=g;c=c+2|0;if(d>>>0>c>>>0){continue}break}}xf(b);if(!D[a+672|0]){c=C[e+12>>2];break a}c=pw(a,b)}Ce=e+16|0;return c}function et(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;d=D[a+2|0]|D[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=84608}d=0;f=C[b+100>>2];if((zf(c,C[C[f+92>>2]+I(C[f+76>>2],20)>>2])|0)!=-1){f=84608;d=84608;c=D[a+4|0]|D[a+5|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=C[b+100>>2];c=Yl(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);g=D[a+6|0]|D[a+7|0]<<8;c=c>>>0>=((g<<8|g>>>8)&65535)>>>0?84608:((c<<1)+a|0)+8|0;c=D[c|0]|D[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}C[e+12>>2]=d;C[e+8>>2]=153;d=On(f,b,e+8|0)}Ce=e+16|0;return d}function xM(a,b){a=a|0;b=b|0;var c=0,d=0;c=Fe[C[a+508>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=Ff(b,283696,d);if(c){break a}B[a+290>>1]=0;B[a+282>>1]=0;B[a+284>>1]=0;B[a+286>>1]=0;B[a+288>>1]=0;B[a+274>>1]=0;B[a+276>>1]=0;B[a+278>>1]=0;B[a+280>>1]=0;B[a+266>>1]=0;B[a+268>>1]=0;B[a+270>>1]=0;B[a+272>>1]=0;b:{if(C[a+260>>2]<65536){break b}c=Ff(b,283712,d);if(c){break a}if(E[a+280>>1]<=63){B[a+280>>1]=64}if(E[a+276>>1]>=65532){B[a+276>>1]=65531}if(E[a+290>>1]<101){break b}B[a+290>>1]=100}c=0}return c|0}function _h(a,b){var c=0,d=0,e=0,f=0,g=0;c=C[a+88>>2];b=C[a+32>>2]+(b<<4)|0;d=C[b+8>>2];B[c+12>>1]=d+32>>>6;e=C[b+12>>2];B[c+14>>1]=e+32>>>6;a:{if(A[a+8|0]&1){f=c,g=Ze(d,E[a+68>>1]),C[f+16>>2]=g;b=Ze(C[b+12>>2],E[a+68>>1]);C[c+20>>2]=b;f=c,g=Te(B[a+70>>1],b)+63&-64,C[f+24>>2]=g;f=c,g=Te(B[a+72>>1],C[c+20>>2])&-64,C[f+28>>2]=g;f=c,g=Te(B[a+74>>1],C[c+20>>2])+32&-64,C[f+32>>2]=g;d=Te(B[a+76>>1],C[c+16>>2])+32&-64;break a}C[c+28>>2]=0;C[c+24>>2]=e;C[c+16>>2]=65536;C[c+20>>2]=65536;C[c+32>>2]=B[b>>1]<<6}C[c+36>>2]=d}function Ph(){var a=0,b=0,c=0,d=0,e=0;b=Ce-16|0;Ce=b;a:{b:{c:{if(!D[422868]){A[422868]=1;if(!Eo(422872)){A[422888]=1;break c}Do(422896)}if(!D[422888]){break b}}Eo(b);d=(C[b+8>>2]-C[105720]|0)/1e6|0;c=C[b>>2];a=C[105718];e=mT(c-a|0,C[b+4>>2]-(C[105719]+(a>>>0>c>>>0)|0)|0,1e3,0);c=d+e|0;a=Ee+(d>>31)|0;a=c>>>0>>0?a+1|0:a;break a}Do(b);d=(C[b+8>>2]-C[105726]|0)/1e3|0;c=C[b>>2];a=C[105724];e=mT(c-a|0,C[b+4>>2]-(C[105725]+(a>>>0>c>>>0)|0)|0,1e3,0);c=d+e|0;a=Ee+(d>>31)|0;a=c>>>0>>0?a+1|0:a}Ce=b+16|0;Ee=a;return c}function sw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!(E[a+116>>1]>b>>>0&E[a+80>>1]>c>>>0)){b=1;if(!D[a+561|0]){break a}C[a+12>>2]=134;return 1}c=C[a+88>>2]+(c<<3)|0;f=C[c+4>>2];b=C[a+124>>2]+(b<<3)|0;e=C[b+4>>2];g=f-e|0;c=C[c>>2];b=C[b>>2];f=(c|0)==(b|0)&(e|0)==(f|0);e=f?16384:c-b|0;c=f|!(A[a+368|0]&1);a=c?g:e;b=0;c=c?e:0-g|0;e=c>>31;b:{if((c^e)-e>>>0>16383){break b}e=a>>31;if((e^a)-e>>>0>16383){break b}if(!(a|c)){break a}a=a<<14;c=c<<14}e=c;c=Xi(c,a)<<2;h=d,i=Ze(e,c),B[h>>1]=i;h=d,i=Ze(a,c),B[h+2>>1]=i}return b}function _t(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=C[b+68>>2];e=D[c+4|0]|D[c+5|0]<<8;f=C[b+12>>2];g=C[f+32>>2];if((g|0)==-1){g=Ng(f)}b=C[b+16>>2];f=C[b+80>>2];a:{if(!f){break a}h=C[b+92>>2];b=0;if(!e){while(1){e=I(b,20)+h|0;c=Vg(a,C[e>>2],g);if(c){c=D[c|0]|D[c+1|0]<<8;C[e>>2]=(c<<8|c>>>8)&65535}b=b+1|0;if((f|0)!=(b|0)){continue}break}break a}while(1){e=I(b,20)+h|0;d=Vg(a,C[e>>2],g);if(d){d=D[d|0]|D[d+1|0]<<8;d=(d<<8|d>>>8)&65535;C[e>>2]=d;i=e,j=_g(c,d),B[i+12>>1]=j}b=b+1|0;if((f|0)!=(b|0)){continue}break}}}function kq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(a>>>0>b>>>0){break a}g=C[c+28>>2]>C[d+28>>2];f=g?c:d;e=C[f+24>>2];f=C[f+28>>2];i=e-f|0;c=g?d:c;d=C[c+24>>2];c=C[c+28>>2];g=d-c|0;if(!((d|0)!=(e|0)&(c|0)!=(f|0))){while(1){e=C[a+28>>2];C[a+24>>2]=(c|0)<(e|0)?(e|0)<(f|0)?d:e+i|0:e+g|0;a=a+40|0;if(b>>>0>=a>>>0){continue}break a}}j=Ze(e-d|0,f-c|0);while(1){e=C[a+28>>2];b:{if((e|0)<=(c|0)){h=e+g|0;break b}h=e+i|0;if((e|0)>=(f|0)){break b}h=Te(e-c|0,j)+d|0}C[a+24>>2]=h;a=a+40|0;if(b>>>0>=a>>>0){continue}break}}}function nM(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!D[a+612|0]){break a}c=C[a+100>>2];b=C[a+468>>2];if((b|0)!=163840){if((b|0)!=131072){break a}b=C[a+620>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+616>>1]=0;C[a+620>>2]=0;if(E[a+618>>1]){b=0;while(1){d=b<<2;e=C[d+C[a+624>>2]>>2];if(e){Fe[C[c+8>>2]](c,e)}C[C[a+624>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=C[a+624>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+618>>1]=0;C[a+624>>2]=0;break a}b=C[a+620>>2];if(b){Fe[C[c+8>>2]](c,b)}B[a+616>>1]=0;C[a+620>>2]=0}A[a+612|0]=0}function Cf(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;c=C[a+4>>2];a:{if(C[a+20>>2]){d=85;if(b>>>0>c>>>0){break a}e=C[a+28>>2];c=Wk(e,b,f+12|0);C[a>>2]=c;d=C[f+12>>2];if(d){break a}g=Fe[C[a+20>>2]](a,C[a+8>>2],c,b)|0;c=C[a>>2];if(b>>>0<=g>>>0){d=C[f+12>>2]}else{if(c){Fe[C[e+8>>2]](e,c)}c=0;C[a>>2]=0;d=85}C[a+32>>2]=c;C[a+36>>2]=b+c;C[a+8>>2]=C[a+8>>2]+g;break a}d=85;e=C[a+8>>2];if(e>>>0>=c>>>0|c-e>>>0>>0){break a}C[a+8>>2]=b+e;d=e+C[a>>2]|0;C[a+32>>2]=d;C[a+36>>2]=b+d;d=0}Ce=f+16|0;return d}function TL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=C[d+1164>>2];e=C[d+1168>>2]-I(e,a)|0;e=(a|0)>=0?I(a,C[d+1156>>2]-1|0)+e|0:e;if((b|0)>0){while(1){a=b;d=D[c+4|0];a:{if(!d){break a}f=E[c+2>>1];if(f>>>0>=8){p(B[c>>1]+e|0,d,f);break a}b=B[c>>1]+e|0;b:{switch(f-1|0){case 6:A[b|0]=d;b=b+1|0;case 5:A[b|0]=d;b=b+1|0;case 4:A[b|0]=d;b=b+1|0;case 3:A[b|0]=d;b=b+1|0;case 2:A[b|0]=d;b=b+1|0;case 1:A[b|0]=d;b=b+1|0;break;case 0:break b;default:break a}}A[b|0]=d}c=c+6|0;b=a-1|0;if((a|0)>1){continue}break}}}function Ef(a,b){var c=0,d=0,e=0;a:{b:{c:{c=C[a+72>>2];if((c|0)>=0){e=C[a+76>>2];d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870910){e=lf(C[a+80>>2],c<<3);if(e){break c}}C[a+72>>2]=-1}c=C[21153];C[104428]=C[21152];C[104429]=c;c=417712;break a}C[a+80>>2]=e;C[a+72>>2]=c;e=C[a+76>>2]}if(d>>>0>e>>>0){We(C[a+80>>2]+(e<<3)|0,0,d-e<<3)}C[a+76>>2]=d;c=(C[a+80>>2]+(d<<3)|0)-8|0}d=C[a+52>>2];C[c+4>>2]=b;C[c>>2]=d;C[a+52>>2]=C[a+52>>2]+1}function MD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(e){l=d&3;m=d+3>>>2|0;while(1){e=e-1|0;a:{if(!d){break a}h=m;g=a;i=g;j=g;k=g;b:{c:{switch(l-1|0){default:f=0;break b;case 0:f=3;break b;case 1:f=2;break b;case 2:break c}}f=1}while(1){d:{switch(f|0){case 0:C[g>>2]=c;i=g+4|0;f=1;continue;case 1:C[i>>2]=c;j=i+4|0;f=2;continue;case 2:C[j>>2]=c;k=j+4|0;f=3;continue;default:break d}}C[k>>2]=c;g=k+4|0;h=h-1|0;if(!h){break a}f=0;continue}}a=a+b|0;if(e){continue}break}}}function ri(a){var b=0,c=0,d=0,e=0,f=0;f=C[a+104>>2];b=C[a+84>>2];if(b){while(1){c=C[b+4>>2];Re(C[b>>2]);Re(b);b=c;if(b){continue}break}}d=C[a+68>>2];c=C[a+80>>2];if(c){d=lf(d,c+C[a+76>>2]|0);C[a+68>>2]=d;c=C[a+80>>2];C[a+80>>2]=0;C[a+76>>2]=c+C[a+76>>2]}b=0;C[a+84>>2]=0;C[a+72>>2]=0;if(d){Re(d)}if(f){while(1){d=(b<<2)+f|0;e=C[d+12>>2];c=C[e+8>>2];if(c){Re(c)}C[e>>2]=0;C[e+4>>2]=0;C[e+16>>2]=0;C[e+8>>2]=0;C[e+12>>2]=0;if((b|0)!=7){Re(C[d+12>>2])}b=b+1|0;if((b|0)!=15){continue}break}Re(f)}We(a,0,112)}function aB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g<<16&16711680|g&-16711936|g>>>16&255;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function tI(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,k=0,l=0,m=0,n=0;d=D[a+11|0];e=d+7>>>3|0;a:{if(!d){d=b;break a}f=b+e|0;d=b;while(1){A[d|0]=D[c|0]+D[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}b=C[a+4>>2]+b|0;if(b>>>0>d>>>0){a=0-e|0;m=(b-d|0)+d|0;while(1){h=D[a+d|0];b=D[a+c|0];e=h-b|0;f=e>>31;i=D[c|0];g=i-b|0;j=g>>31;k=e+g|0;l=k>>31;n=b;b=(e^f)-f|0;e=(g^j)-j|0;f=b>>>0>>0;A[d|0]=D[d|0]+((l^k)-l>>>0<(f?b:e)>>>0?n:f?i:h);c=c+1|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}}}function pJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=C[a+28>>2];a=kf(96);d=Ye(b,8);C[a>>2]=d;c=Ye(b,16);C[a+4>>2]=c;g=Ye(b,16);C[a+8>>2]=g;h=a,i=Ye(b,6),C[h+12>>2]=i;h=a,i=Ye(b,8),C[h+16>>2]=i;e=Ye(b,4);C[a+20>>2]=e+1;a:{b:{if((d|0)<=0|(c|0)<=0|((e|0)<0|(g|0)<=0)){break b}d=0;while(1){c=Ye(b,8);C[((d<<2)+a|0)+24>>2]=c;if((c|0)<0|(c|0)>=C[f+24>>2]){break b}c=C[((c<<2)+f|0)+1824>>2];if(!C[c+12>>2]|C[c>>2]<=0){break b}c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}break a}Re(a);a=0}return a|0}function OD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(e){g=c>>>16|0;h=c>>>8|0;k=d&3;l=d>>>0<4;while(1){e=e-1|0;a:{if(!d){break a}j=0;f=a;i=d;if(k){while(1){A[f+2|0]=g;A[f+1|0]=h;A[f|0]=c;f=f+3|0;i=i-1|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}}if(l){break a}while(1){A[f+11|0]=g;A[f+10|0]=h;A[f+9|0]=c;A[f+8|0]=g;A[f+7|0]=h;A[f+6|0]=c;A[f+5|0]=g;A[f+4|0]=h;A[f+3|0]=c;A[f+2|0]=g;A[f+1|0]=h;A[f|0]=c;f=f+12|0;i=i-4|0;if(i){continue}break}}a=a+b|0;if(e){continue}break}}}function ej(a,b,c,d,e,f){var g=0,h=0,i=0,j=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}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|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}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=d;C[a+12>>2]=e}function XB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g<<16|g&65280|g>>>16&255|-16777216;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function zx(a){var b=0,c=0,d=0,e=0,f=0;C[a+28>>2]=4096;b=a+4168|0;C[a+24>>2]=b;C[a+8268>>2]=b;d=a+72|0;f=a+12|0;while(1){if(!C[a+16>>2]){b=C[a>>2];c=C[b+20>>2];a:{if(c){c=Fe[c|0](b,C[b+8>>2],d,4096)|0;if(c){break a}return 85}e=C[b+8>>2];c=C[b+4>>2]-e|0;c=c>>>0>=4096?4096:c;if(!c){return 85}t(d,C[b>>2]+e|0,c)}C[b+8>>2]=C[b+8>>2]+c;C[a+16>>2]=c;C[a+12>>2]=d}b=yx(f,0);if(b){if((b|0)==1){b=C[a+24>>2];C[a+8272>>2]=b;a=(b|0)==C[a+8268>>2]?85:0}else{a=85}return a}if(C[a+28>>2]){continue}break}return 0}function wl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g<<16&16711680|g&65280|g>>>16&255;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function hr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+28>>2];b=c-1|0;C[a+28>>2]=b;h=(C[a+4>>2]<<16)/C[a+24>>2]|0;i=(C[a+8>>2]<<16)/(c|0)|0;if(c){j=(h|0)/2|0;f=(i|0)/2|0;c=C[a+20>>2];while(1){e=C[a+24>>2];if(e){k=f>>>16|0;l=C[a>>2];b=c;d=j;while(1){g=C[(I(C[a+12>>2],k)+l|0)+(d>>>14&262140)>>2];C[b>>2]=g>>>8&65280|g>>>24|g<<8&16711680;b=b+4|0;d=d+h|0;e=e-1|0;if(e){continue}break}b=C[a+28>>2]}d=b;b=d-1|0;C[a+28>>2]=b;f=f+i|0;c=C[a+32>>2]+c|0;if(d){continue}break}C[a+20>>2]=c}}function ay(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ce-16|0;Ce=c;a:{if(!a){g=35;break a}if(!b){g=6;break a}if(!C[a+96>>2]){g=34;break a}C[b>>2]=0;f=C[a+100>>2];d=C[C[a+96>>2]+12>>2];e=hf(f,C[d+40>>2],c+12|0);b:{if(C[c+12>>2]){break b}h=hf(f,12,c+12|0);if(C[c+12>>2]){break b}C[e+40>>2]=0;C[e>>2]=a;d=C[d+56>>2];if(d){d=Fe[d|0](e)|0;C[c+12>>2]=d;if(d){break b}}C[b>>2]=e;C[h+8>>2]=e;Pp(a+108|0,h);if(!C[c+12>>2]){break a}}if(h){Fe[C[f+8>>2]](f,h)}if(e){Fe[C[f+8>>2]](f,e)}g=C[c+12>>2]}Ce=c+16|0;return g}function Oh(a,b){var c=0,d=0,e=0;c=C[a+20>>2];if(!(D[a+13|0]?c:0)){return Te(b,C[a+16>>2])}d=C[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(C[(I(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=C[(I(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;C[a+24>>2]=0;d=C[a+36>>2];if((d|0)<=(b|0)){break b}return Te(b-d|0,C[a+16>>2])+C[a+40>>2]|0}C[a+24>>2]=c}a=I(c,20)+a|0;return Te(b-d|0,C[a+44>>2])+C[a+40>>2]|0}function zG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=C[b+80>>2];if(d){g=C[b+92>>2];b=0;while(1){e=I(b,20)+g|0;f=C[e>>2];c=Hn(f);a=16;a:{b:{switch(f-6042|0){case 47:case 48:case 50:a=20;break a;case 44:case 49:case 51:case 52:case 53:case 54:case 55:a=21;break a;case 45:case 46:case 57:case 67:a=22;break a;case 0:break a;default:break b}}a=c;if((c&255)!=7){break a}a=7;c=(c>>>8|0)-3|0;if((c&255)>>>0>8){break a}a=D[(c<<24>>24)+70824|0]}A[e+18|0]=a;b=b+1|0;if((d|0)!=(b|0)){continue}break}}}function vQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=C[a+28>>2];a=C[h+20>>2];a:{if(!a){break a}b=E[a>>1];e=b<<16>>16;if((e|0)>=2){c=B[(C[a+12>>2]+(b<<1)|0)-4>>1]+1|0}g=E[a+2>>1];b=g<<16>>16;b:{if((b|0)<2){break b}d=C[a+4>>2];f=d+(c<<3)|0;d=(d+(g<<3)|0)-8|0;if(C[f>>2]!=C[d>>2]|C[f+4>>2]!=C[d+4>>2]|D[(C[a+8>>2]+g|0)-1|0]!=1){break b}b=b-1|0;B[a+2>>1]=b}if((e|0)<=0){break a}f=c;c=(b<<16>>16)-1|0;if((f|0)==(c|0)){B[a+2>>1]=b-1;B[a>>1]=e-1;break a}B[(C[a+12>>2]+(e<<1)|0)-2>>1]=c}A[h+64|0]=0}function Mr(a){var b=0,c=0;b=C[104886];if(!(!b|a)){while(1){if(D[c+420062|0]==1){Dl(1,0,c)}c=c+1|0;if((c|0)!=512){continue}break}b=C[104886]}a:{if(!b|(a|0)==(b|0)){break a}if(D[b+49|0]&64){b:{if(!C[105668]){_e(4);break b}C[105694]=0;ji(0)}ji(1);b=C[104886]}dg(b,13,0,0);if(!qf(771,-1)){break a}c=C[105780];if(!c){break a}b=C[c+292>>2];if(!b){break a}Fe[b|0](c)}C[104886]=a;c:{if(!a){break c}dg(a,12,0,0);if(!qf(771,-1)){break c}b=C[105780];if(!b){break c}a=C[b+288>>2];if(!a){break c}Fe[a|0](b)}}function Gz(a){var b=0,c=0,d=0;if(!a){Qe(4450,0);return}b=C[a+88>>2];C[a+88>>2]=b-1;a:{if((b|0)>=2){if(!C[105710]){break a}return}if(D[422848]){if(!C[105710]){break a}return}Fe[C[C[a+80>>2]+36>>2]](a);C[a+84>>2]=0;b=C[105711];b:{if(!b){break b}if((a|0)!=(b|0)){while(1){c=C[b+92>>2];if(!c){break b}d=b;b=c;if((b|0)!=(a|0)){continue}break}}C[(d?d+92|0:422844)>>2]=C[a+92>>2]}b=C[a+4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}if(!C[105710]){break a}}}function om(a){var b=0,c=0,d=0;if(!a){if(C[105786]){b=om(C[105786])}if(C[95660]){b=om(C[95660])|b}a=C[105803];if(a){while(1){if(C[a+20>>2]!=C[a+28>>2]){b=om(a)|b}a=C[a+56>>2];if(a){continue}break}}return b}d=C[a+76>>2]>=0;a:{b:{if(C[a+20>>2]==C[a+28>>2]){break b}Fe[C[a+36>>2]](a,0,0)|0;if(C[a+20>>2]){break b}b=-1;break a}b=C[a+8>>2];c=C[a+4>>2];if((b|0)!=(c|0)){b=c-b|0;Fe[C[a+40>>2]](a,b,b>>31,1)|0}b=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(!d){break a}}return b}function CH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ce-272|0;Ce=e;c=D[a+6|0]|D[a+7|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=84608}d=C[b+100>>2];c=0;a:{if((zf(f,C[C[d+92>>2]+I(C[d+76>>2],20)>>2])|0)==-1){break a}d=D[a+2|0]|D[a+3|0]<<8;g=D[a+4|0]|D[a+5|0]<<8;C[e+268>>2]=0;d=(d<<8|d>>>8)&65535;c=0;if(!Ck(b,d,a+8|0,166,a,e+268|0,e,0)){break a}c=C[e+268>>2];if(c>>>0>=2){h=C[b+100>>2];f=C[h+76>>2];Sf(h,f,c+f|0)}c=Xl(b,d,e,(g<<8|g>>>8)&65535,(a+6|0)+(d<<1)|0,c)}Ce=e+272|0;return c|0}function mn(a){var b=0,c=0;c=Ce-16|0;Ce=c;Fz();b=C[105708];a:{if(b){while(1){if(C[b>>2]==(a|0)){C[b+36>>2]=C[b+36>>2]+1;C[105707]=0;break a}b=C[b+40>>2];if(b){continue}break}}b=Fe[C[94762]](44)|0;if(b){C[94766]=C[94766]+1}if(!b){C[105707]=0;b=0;_e(0);break a}if((ln(b,a)|0)<0){C[105707]=0;if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[c>>2]=5741;Qe(19745,c);b=0;break a}if(!(!((a&-268435456)!=268435456?a:0)&(a>>>24&15)-1>>>0<3)){C[b+40>>2]=C[105708];C[105708]=b}C[105707]=0}Ce=c+16|0;return b}function fk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if((a|0)<-2949120){b=14408027;while(1){c=e;e=0-b|0;f=a>>>0<4286119936;b=c;d=a+5898240|0;a=d;if(f){continue}break}break a}c=14408027;if((a|0)<=2949120){d=a;break a}while(1){e=c;c=0-b|0;f=a>>>0>8847360;b=e;d=a-5898240|0;a=d;if(f){continue}break}}f=213360;a=1;b=1;while(1){g=a+c>>b;h=a+e>>b;i=C[f>>2];b:{if((d|0)<0){d=d+i|0;c=c+h|0;e=e-g|0;break b}d=d-i|0;c=c-h|0;e=e+g|0}a=a<<1;f=f+4|0;b=b+1|0;if((b|0)!=23){continue}break}return c+128>>8}function ek(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if((a|0)<-2949120){b=14408027;while(1){d=c;c=0-b|0;f=a>>>0<4286119936;b=d;e=a+5898240|0;a=e;if(f){continue}break}break a}d=14408027;if((a|0)<=2949120){e=a;break a}while(1){c=d;d=0-b|0;f=a>>>0>8847360;b=c;e=a-5898240|0;a=e;if(f){continue}break}}f=213360;a=1;b=1;while(1){g=a+d>>b;h=a+c>>b;i=C[f>>2];b:{if((e|0)<0){e=e+i|0;c=c-g|0;d=d+h|0;break b}e=e-i|0;c=c+g|0;d=d-h|0}a=a<<1;f=f+4|0;b=b+1|0;if((b|0)!=23){continue}break}return c+128>>8}function Ql(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b=C[c+80>>2];if(!b){break a}a=C[c+92>>2];c=0;if(b>>>0>=8){f=b&-8;while(1){A[(I(c,20)+a|0)+15|0]=0;A[(I(c|1,20)+a|0)+15|0]=0;A[(I(c|2,20)+a|0)+15|0]=0;A[(I(c|3,20)+a|0)+15|0]=0;A[(I(c|4,20)+a|0)+15|0]=0;A[(I(c|5,20)+a|0)+15|0]=0;A[(I(c|6,20)+a|0)+15|0]=0;A[(I(c|7,20)+a|0)+15|0]=0;c=c+8|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}b=b&7;if(!b){break a}while(1){A[(I(c,20)+a|0)+15|0]=0;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}}function ru(a){var b=0,c=0,d=0,e=0,f=0,g=0;if((a|0)==84608){return 0}b=D[a|0]|D[a+1|0]<<8;if(!b){return 2}c=(b<<8|b>>>8)&65535;b=D[a+2|0];f=I(c+1|0,b);a:{if(!b){b=0;break a}d=b&3;a=(I(b,c)+a|0)+3|0;if(b>>>0<4){b=0}else{g=b&252;b=0;while(1){c=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}if(!d){break a}while(1){b=D[a|0]|b<<8;a=a+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}}return(b+f|0)+2|0}function Eo(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!D[423140]){f=423141,g=Yb()|0,A[f|0]=g;A[423140]=1}a:{if(D[423141]){d=+ba();break a}C[105782]=28;return-1}b=d/1e3;b:{if(K(b)<0x8000000000000000){e=~~b>>>0;c=K(b)>=1?~~(b>0?M(O(b*2.3283064365386963e-10),4294967295):P((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break b}c=-2147483648}C[a>>2]=e;C[a+4>>2]=c;b=(d-(+(mT(e,c,1e3,0)>>>0)+ +(Ee|0)*4294967296))*1e3*1e3;c:{if(K(b)<2147483648){c=~~b;break c}c=-2147483648}C[a+8>>2]=c;return 0}function gR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;g=C[b+92>>2];C[a+40>>2]=E[b+68>>1];a:{if(Km(b)){C[b+92>>2]=0;break a}Py(a,b);d=48;while(1){b:{f=d;d=0;c=C[C[a+36>>2]>>2];c:{if(!c){break c}c=C[c+92>>2];if(!c){break c}d=Fe[C[C[c+12>>2]+12>>2]](c,f)|0}d:{if(!d){break d}if(il(b,d,2051,e+12|0)){break d}c=h;h=1;d=C[e+12>>2];if(!c){i=d;break d}if((d|0)==(i|0)){break d}c=0;break b}c=1;d=f+1|0;if((d|0)!=58){continue}}break}A[a+32|0]=c}qj(b,g);Ce=e+16|0;return 0}function LO(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,j=0;e=Ce-32|0;Ce=e;C[d>>2]=-1;nj(a,e+20|0);if(C[e+28>>2]==3){i=C[a>>2];g=C[e+20>>2]+1|0;C[a>>2]=g;j=C[a+8>>2];h=C[e+24>>2]-1|0;C[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}c=I(c,12)+b|0;while(1){nj(a,e+8|0);if(!C[e+16>>2]){break a}if(!(!b|c>>>0<=f>>>0)){g=C[e+12>>2];C[f>>2]=C[e+8>>2];C[f+4>>2]=g;C[f+8>>2]=C[e+16>>2]}f=f+12|0;if(F[a>>2]>2]){continue}break}}C[d>>2]=(f-b|0)/12;C[a+8>>2]=j;C[a>>2]=i}Ce=e+32|0}function Pg(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=B[a+2>>1];if((d|0)<=0){break a}a=C[a+4>>2];if(d>>>0>=4){f=d&-4;while(1){C[a>>2]=C[a>>2]+b;C[a+4>>2]=C[a+4>>2]+c;C[a+8>>2]=C[a+8>>2]+b;C[a+16>>2]=C[a+16>>2]+b;C[a+24>>2]=C[a+24>>2]+b;C[a+12>>2]=C[a+12>>2]+c;C[a+20>>2]=C[a+20>>2]+c;C[a+28>>2]=C[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){C[a>>2]=C[a>>2]+b;C[a+4>>2]=C[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function mI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ce-32|0;Ce=e;C[e+16>>2]=b;d=C[a+48>>2];C[e+20>>2]=c-((d|0)!=0);f=C[a+44>>2];C[e+28>>2]=d;C[e+24>>2]=f;a:{b:{d=Ub(C[a+60>>2],e+16|0,2,e+12|0)|0;if(d){C[105782]=d;d=-1}else{d=0}if(d){b=32}else{d=C[e+12>>2];if((d|0)>0){break b}b=d?32:16}C[a>>2]=b|C[a>>2];break a}g=d;f=C[e+20>>2];if(f>>>0>=d>>>0){break a}d=C[a+44>>2];C[a+4>>2]=d;C[a+8>>2]=d+(g-f|0);if(C[a+48>>2]){C[a+4>>2]=d+1;A[(b+c|0)-1|0]=D[d|0]}g=c}Ce=e+32|0;return g|0}function Hg(a,b,c,d,e,f){var g=0,h=0,i=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){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<>>32-b|c<>2]=b;C[a+4>>2]=c;C[a+8>>2]=d;C[a+12>>2]=e}function uQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=C[a+28>>2];if(D[c+64|0]){break b}d=ty(c,C[b>>2],C[b+4>>2]);if(!d){break b}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=d;return}d=C[b+12>>2];f=C[b+8>>2];c:{b=C[c+12>>2];if((B[b+22>>1]+B[b+58>>1]|0)+1>>>0>F[b+4>>2]){b=Qg(b,1,0);if(b){break c}}a=C[c+20>>2];if(D[c+65|0]){b=C[a+8>>2];c=B[a+2>>1];e=C[a+4>>2]+(c<<3)|0;C[e+4>>2]=d>>10;C[e>>2]=f>>10;A[b+c|0]=1}B[a+2>>1]=E[a+2>>1]+1;return}a=C[a+24>>2];if(C[a>>2]){break a}C[a>>2]=b}}function GD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>0){i=D[e+34|0];j=D[e+30|0];k=D[e+33|0];l=D[e+29|0];m=D[e+32|0];n=D[e+28|0];o=D[d+35|0];p=D[d+34|0];q=D[d+33|0];r=D[d+32|0];while(1){f=C[b>>2];g=C[e+24>>2]|((f&C[d+16>>2])>>>q>>>l<>2]&f)>>>r>>>n<>2]&f)>>>p>>>j<>2]=g&63519|(C[d+24>>2]&f)>>>o<<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 Dh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=C[a+4>>2];if(!h){return C[a+24>>2]&e>>>D[a+31|0]<>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>2];a:{if((j|0)<=0){h=0;break a}l=C[h+4>>2];k=-1;h=0;a=0;while(1){b:{f=(a<<2)+l|0;g=D[f+1|0]-c|0;i=I(g,g);g=D[f|0]-b|0;i=i+I(g,g)|0;g=D[f+2|0]-d|0;f=D[f+3|0]-e|0;f=(i+I(g,g)|0)+I(f,f)|0;if(f>>>0>>0){h=a;k=f;if(!f){break b}}a=a+1|0;if((j|0)!=(a|0)){continue}}break}}return h&255}function cr(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,j=0,k=0;g=C[a+4>>2];if(!g){return C[a+24>>2]|(c>>>D[a+29|0]<>>D[a+28|0]<>>D[a+30|0]<>2];a:{if((i|0)<=0){g=0;break a}k=C[g+4>>2];j=-1;g=0;a=0;while(1){b:{e=(a<<2)+k|0;f=D[e+1|0]-c|0;h=I(f,f);f=D[e|0]-b|0;h=h+I(f,f)|0;f=D[e+2|0]-d|0;e=D[e+3|0]-255|0;e=(h+I(f,f)|0)+I(e,e)|0;if(e>>>0>>0){g=a;j=e;if(!e){break b}}a=a+1|0;if((i|0)!=(a|0)){continue}}break}}return g&255}function YO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[a+32>>2]=c;e=a,f=Ve(c,4,0,b,0,d+12|0),C[e+24>>2]=f;a:{b:{if(C[d+12>>2]){break b}e=a,f=Ve(c,4,0,b,0,d+12|0),C[e+28>>2]=f;if(C[d+12>>2]){break b}C[a+20>>2]=0;C[a+16>>2]=b;C[a+8>>2]=0;C[a+12>>2]=-559038737;C[a>>2]=0;C[a+4>>2]=0;b=C[54843];C[a+36>>2]=C[54842];C[a+40>>2]=b;b=C[54845];C[a+44>>2]=C[54844];C[a+48>>2]=b;a=0;break a}b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;a=C[d+12>>2]}Ce=d+16|0;return a|0}function Km(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=C[a+40>>2];a:{if(!c){break a}d=(C[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=C[e>>2];c:{if(C[b+4>>2]!=1970170211){break c}d:{switch(E[b+8>>1]){case 3:if(E[b+10>>1]!=10){break c}break b;case 0:break d;default:break c}}if(E[b+10>>1]==4){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=C[d>>2];if(C[b+4>>2]!=1970170211){continue}break}}C[a+92>>2]=b;f=0}return f}function VG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b=C[c+80>>2];if(!b){break a}a=C[c+92>>2];c=0;if(b>>>0>=4){e=b&-4;while(1){d=I(c,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;d=I(c|1,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;d=I(c|2,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;d=I(c|3,20)+a|0;B[d+12>>1]=E[d+12>>1]&65519;c=c+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=I(c,20)+a|0;B[e+12>>1]=E[e+12>>1]&65519;c=c+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}}function FD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>0){i=D[e+34|0];j=D[e+30|0];k=D[e+33|0];l=D[e+29|0];m=D[e+32|0];n=D[e+28|0];o=D[d+35|0];p=D[d+34|0];q=D[d+33|0];r=D[d+32|0];while(1){f=C[b>>2];g=C[e+24>>2]|((f&C[d+16>>2])>>>q>>>l<>2]&f)>>>r>>>n<>2]&f)>>>p>>>j<>2]=g&64543|(C[d+24>>2]&f)>>>o<<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 VK(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=C[b+8>>2];a:{if(a){break a}while(1){h=C[b>>2];if(!h){a=84608;break a}a=df(1,48);if(!a){a=84608;C[b+8>>2]=84608;break a}nn(a,h);if(!C[b+8>>2]){C[b+8>>2]=a;break a}Ue(C[a+44>>2]);Re(a);a=C[b+8>>2];if(!a){continue}break}}h=C[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=C[a+12>>2];while(1){if(!(Fe[h|0](a,C[d>>2],f)|0)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function PR(){var a=0;a=If(1,1092);if(!a){_e(0);return a|0}El(23984,29920);C[a+280>>2]=734;C[a+32>>2]=735;C[a+24>>2]=736;C[a+20>>2]=737;C[a+8>>2]=738;C[a+4>>2]=739;C[a+152>>2]=740;C[a+56>>2]=741;C[a+44>>2]=742;C[a+36>>2]=743;C[a+228>>2]=744;C[a+224>>2]=745;C[a+220>>2]=746;C[a+216>>2]=747;C[a+208>>2]=748;C[a+204>>2]=749;C[a+200>>2]=750;C[a+196>>2]=751;C[a+192>>2]=752;C[a+164>>2]=753;C[a+160>>2]=754;C[a+156>>2]=755;C[a+120>>2]=756;C[a+1088>>2]=757;C[a+212>>2]=758;return a|0}function ox(a,b){var c=0,d=0,e=0;d=Ce-16|0;Ce=d;c=C[a>>2]+1|0;C[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){vg(d+12|0,b);c=C[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=D[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;C[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(D[c|0]!=62){break c}}c=c+1|0;b=0}C[a>>2]=c;Ce=d+16|0;return b}function $M(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>F[b+160>>2]){tf(b,8)}c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(!(d>>>0<20|d>>>0>C[b+160>>2]-a>>>0)&d-20>>>1>>>0>=c>>>0)){tf(b,8)}if(!(!C[b+164>>2]|!c)){while(1){if(F[b+172>>2]<=(D[e+1|0]|D[e|0]<<8)>>>0){tf(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function vu(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!C[C[105828]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){A[a+1|0]=b&63|128;A[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){A[a+2|0]=b&63|128;A[a|0]=b>>>12|224;A[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){A[a+3|0]=b&63|128;A[a|0]=b>>>18|240;A[a+2|0]=b>>>6&63|128;A[a+1|0]=b>>>12&63|128;a=4;break a}}C[105782]=25;a=-1}else{a=1}break a}A[a|0]=b;a=1}return a}function Yx(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=35;a:{if(!(D[a+8|0]&2)){break a}e=7;if(C[b>>2]){break a}f=C[b+4>>2];g=f;e=C[b+12>>2];if(e){g=(I(e,f)+36|0)/72|0}d=C[b+8>>2];h=d;b=C[b+16>>2];if(b){h=(I(b,d)+36|0)/72|0}e=23;b=C[a+28>>2];if((b|0)<=0){break a}d=d?h:g;h=(f?d:h)+32|0;f=(f?g:d)+32|0;g=C[a+32>>2];a=0;while(1){d=g+(a<<4)|0;if(!((h^C[d+12>>2]+32)>>>0>63|(f^C[d+8>>2]+32)>>>0>63)){e=0;if(!c){break a}C[c>>2]=a;return 0}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return e}function ku(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-100|0;while(1){c=C[e>>2];if(!c){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=iu(b,Of(c,1836020344));if(!d){d=84608}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<8?84608:C[c+12>>2]}function kj(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-12|0;while(1){c=C[e>>2];if(!c){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=tv(b,Of(c,1751672161));if(!d){d=84608}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<36?84608:C[c+12>>2]}function ju(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-104|0;while(1){c=C[e>>2];if(!c){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=hu(b,Of(c,1836020340));if(!d){d=84608}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<8?84608:C[c+12>>2]}function jj(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-40|0;while(1){c=C[e>>2];if(!c){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=tv(b,Of(c,1986553185));if(!d){d=84608}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<36?84608:C[c+12>>2]}function Zn(a){var b=0,c=0,d=0,e=0;b=Ce-48|0;Ce=b;c=C[a>>2];a:{if(c){break a}e=a-80|0;while(1){c=C[e>>2];if(!c){c=84608;break a}C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;C[b+20>>2]=0;A[b+24|0]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+28>>2]=0;C[b+32>>2]=0;d=Qf(c);A[b+40|0]=1;C[b+36>>2]=d;d=St(b,Of(c,1801810542));if(!d){d=84608}c=C[a>>2];if(!c){C[a>>2]=d;c=d;break a}if(!d){break a}if((d|0)!=84608){Ue(d)}c=C[a>>2];if(!c){continue}break}}Ce=b+48|0;return F[c+16>>2]<4?84608:C[c+12>>2]}function fT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=Ce-32|0;Ce=a;a:{if(!Ej(C[b+4>>2],a+28|0,a+24|0,a+20|0,a+16|0,a+12|0)){b=Qe(5029,0);break a}c=wi(0,C[b+12>>2],C[b+16>>2],C[a+28>>2],C[a+24>>2],C[a+20>>2],C[a+16>>2],C[a+12>>2]);C[b+80>>2]=c;d=D[b+32|0];e=D[b+33|0];f=D[b+34|0];if(c){oi(c,d,e,f)}c=D[b+35|0];d=C[b+80>>2];if(d){Hi(d,c)}c=C[b+24>>2];d=C[b+80>>2];if(d){zg(d,c)}if(!(C[b+8>>2]|C[a+12>>2])){c=C[b+80>>2];if(c){Jk(c,1)}}b=C[b+80>>2]?0:-1}Ce=a+32|0;return b|0}function xj(a){var b=0,c=0,d=0,e=0,f=0;if(D[a+49|0]&2){b=C[a+48>>2];d=C[105681]?1:b>>>8&1;e=(b&1048576)>>>20|0}b=C[105780];c=C[b+384>>2];a:{if(e|d){b:{if(!c|(a|0)==(c|0)){break b}C[c+48>>2]=C[c+48>>2]&-1048833;f=C[b+144>>2];if(f){Fe[f|0](b,c,0);b=C[105780]}c=C[b+148>>2];if(!c){break b}Fe[c|0](b,C[b+384>>2],0);b=C[105780]}C[b+384>>2]=a;break a}if((a|0)!=(c|0)){break a}C[b+384>>2]=0}c=C[b+144>>2];if(c){Fe[c|0](b,a,d);b=C[105780]}c=C[b+148>>2];if(c){Fe[c|0](b,a,e)}}function nx(a,b,c,d){var e=0,f=0,g=0,h=0;h=C[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=D[b+h|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=D[e+219744|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}A[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}A[c+g|0]=f<<4;g=g+1|0}C[a>>2]=b+h}return g}function $I(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,j=0,k=0;a:{if((f|0)<=0){break a}j=f&1;b:{if((f|0)==1){b=0;f=0;break b}k=f&-2;b=0;f=0;h=0;while(1){i=f<<2;if(C[i+e>>2]){C[(b<<2)+d>>2]=C[d+i>>2];b=b+1|0}i=(f|1)<<2;if(C[i+e>>2]){C[(b<<2)+d>>2]=C[d+i>>2];b=b+1|0}f=f+2|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}c:{if(!j){break c}h=e;e=f<<2;if(!C[h+e>>2]){break c}C[(b<<2)+d>>2]=C[d+e>>2];b=b+1|0}if(!b){break a}Sv(a,c,d,b,g)}return 0}function tj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!C[a+72>>2]|(!a|!b)){break a}g=D[b|0];if(!g){break a}e=C[a+128>>2];h=C[e+12>>2];d=g;c=b;while(1){f=(d<<24>>24)+I(f,31)|0;d=D[c+1|0];c=c+1|0;if(d){continue}break}e=C[e+4>>2];c=((f>>>0)%(e>>>0)<<2)+h|0;d=C[c>>2];if(!d){break a}f=((e<<2)+h|0)-4|0;while(1){b:{e=C[d>>2];if(D[e|0]==(g|0)){if(!Se(e,b)){break b}}c=c-4|0;c=c>>>0>>0?f:c;d=C[c>>2];if(d){continue}break a}break}i=C[a+80>>2]+(C[d+4>>2]<<4)|0}return i}function kx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=C[a+20>>2];if(!a){break a}b=E[a>>1];e=b<<16>>16;if((e|0)>=2){d=B[(C[a+12>>2]+(b<<1)|0)-4>>1]+1|0}f=E[a+2>>1];b=f<<16>>16;b:{if((b|0)<2){break b}c=C[a+4>>2];g=c+(d<<3)|0;c=(c+(f<<3)|0)-8|0;if(C[g>>2]!=C[c>>2]|C[g+4>>2]!=C[c+4>>2]|D[(C[a+8>>2]+f|0)-1|0]!=1){break b}b=b-1|0;B[a+2>>1]=b}if((e|0)<=0){break a}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){B[a+2>>1]=b-1;B[a>>1]=e-1;return}B[(C[a+12>>2]+(e<<1)|0)-2>>1]=d}}function ij(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==D[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}if(!(D[a|0]==(b&255)|c>>>0<4)){d=I(b&255,16843009);while(1){e=d^C[a>>2];if((e^-1)&e-16843009&-2139062144){break b}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)==D[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function aN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[b>>2]+1|0;a=C[a+16>>2];d=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=c>>>0>e>>>0?c:e;e=d-e|0;c=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>>0){a=(a+(e<<1)|0)+20|0;while(1){f=D[a+1|0]|D[a|0]<<8;if(f){C[b>>2]=d;return f|0}d=d+1|0;a=a+2|0;e=e+1|0;if(c>>>0>e>>>0){continue}break}}C[b>>2]=d;return 0}function NN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=C[a+16>>2];a:{if(j){c=C[b>>2]+1|0;k=C[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=C[e>>2];if((f|0)==(c|0)){a=C[((i<<3)+k|0)+4>>2];C[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?C[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>=j>>>0){break a}a=C[a+20>>2]+(d<<3)|0;c=C[a>>2]&2147483647;g=C[a+4>>2]}C[b>>2]=c;return g|0}function sN(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=C[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(D[c|0]<<8|D[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=D[c|0]<<8|D[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(D[a+1|0]|D[a|0]<<8)|0;if(b>>>0>=(D[a+3|0]|D[a+2|0]<<8)>>>0){break a}c=D[a+7|0]|D[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=D[b|0]<<8|D[b+1|0];if(!b){break a}d=b+(D[a+5|0]|D[a+4|0]<<8)&65535}return d|0}function qj(a,b){var c=0,d=0,e=0,f=0;f=Ce-16|0;Ce=f;a:{if(!a){c=35;break a}c=38;if(!b){break a}e=C[a+40>>2];if(!e){break a}c=C[b>>2];b:{if(!c){break b}c=C[c+96>>2];d=C[C[c>>2]+32>>2];if(!d){break b}c=Fe[d|0](c,6749)|0;if(!c){break b}if(Fe[C[c>>2]](b,f+8|0)|0){break b}c=6;if(C[f+12>>2]==14){break a}}c=6;d=C[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+e|0;while(1){if(C[e>>2]!=(b|0)){e=e+4|0;if(d>>>0>e>>>0){continue}break a}break}C[a+92>>2]=b;c=0}Ce=f+16|0;return c}function Rk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=C[a+24>>2];a:{if((e|0)<0){break a}g=C[a+20>>2];if((g|0)<=(e|0)){break a}if(b){f=C[C[a+4>>2]+4>>2];b:{if((f|0)<=0){break b}if((f|0)!=1){j=f&-2;while(1){d=c<<2;h=e<<2;C[d+C[a+12>>2]>>2]=h+C[d+C[a+8>>2]>>2];d=d|4;C[d+C[a+12>>2]>>2]=C[d+C[a+8>>2]>>2]+h;c=c+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}if(!(f&1)){break b}c=c<<2;C[c+C[a+12>>2]>>2]=C[c+C[a+8>>2]>>2]+(e<<2)}C[b>>2]=C[a+12>>2]}c=g-e|0}return c}function gS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ce-32|0;Ce=e;d=mn(376840196);if(d){f=xq(a,d);kn(d)}d=0;a:{if(!f){break a}B[e+28>>1]=105;C[e+24>>2]=1768515945;d=C[a+12>>2];a=C[a+8>>2];C[e+16>>2]=C[f+20>>2];C[e+12>>2]=c;C[e+8>>2]=b;C[e>>2]=a;C[e+4>>2]=d;b=S(389603,e+24|0,e|0)|0;Nf(f);d=If(1,8);if(d){a=If(1,8);if(!a){_e(0);if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}d=0;break a}C[a+4>>2]=1;C[a>>2]=b;C[d+4>>2]=a;break a}_e(0);d=0}Ce=e+32|0;return d|0}function XS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=J(0);a=ii(a,32,b+4|0);if(!a){return-1}C[b+8>>2]=1;gf(a,d,16);f=G[e>>2];a:{if(J(K(f))>2]=b;f=G[e+4>>2];b:{if(J(K(f))>2]=b;f=G[e+8>>2];c:{if(J(K(f))>2]=b;f=G[e+12>>2];d:{if(J(K(f))>2]=b;return 0}function Wy(a,b){a=a|0;b=b|0;var c=0;if(C[b+72>>2]==1651078259){c=C[a>>2];C[a+20>>2]=C[b+100>>2];C[a+24>>2]=C[b+104>>2];a=a+28|0;if(A[C[b+156>>2]+4|0]&1){c=C[b+80>>2];C[a>>2]=C[b+76>>2];C[a+4>>2]=c;c=C[b+96>>2];C[a+16>>2]=C[b+92>>2];C[a+20>>2]=c;c=C[b+88>>2];C[a+8>>2]=C[b+84>>2];C[a+12>>2]=c;a=C[b+156>>2];C[a+4>>2]=C[a+4>>2]&-2;return 0}if(a){C[a>>2]=0;C[a+4>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}a=Xy(c,b+76|0,a)}else{a=18}return a|0}function dl(a,b,c){var d=0,e=0;d=Ce-16|0;Ce=d;if(D[a+11664|0]){A[a+11665|0]=1;kk(a,C[a+11736>>2],C[a+11740>>2]);if(D[a+11744|0]){e=C[a+11716>>2];C[d+8>>2]=C[a+11712>>2];C[d+12>>2]=e;Nm(a,a+8|0,a+11704|0,d+8|0,1)}A[a+11744|0]=0;B[a+11664>>1]=0}C[a+11720>>2]=b;C[a+11736>>2]=b;A[a+11667|0]=1;C[a+11740>>2]=c;C[a+11724>>2]=c;b=a+8|0;c=C[a+11676>>2];if(!(D[c+5|0]?0:D[a+20|0])){cl(b,C[a+11668>>2],C[a+11672>>2],c,C[a+11680>>2],0)}t(a+3876|0,b,3868);Ce=d+16|0}function an(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ce-32|0;Ce=e;a:{if(!a){C[e>>2]=19555;a=Qe(19745,e);break a}d=C[C[a+4>>2]+4>>2];if(!(!d|F[d>>2]>c>>>0)){C[e+16>>2]=1412;a=Qe(19745,e+16|0);break a}d=C[a+52>>2];f=C[d+68>>2];b:{c:{d:{if(b&2){b=f|4096;C[d+68>>2]=b;if((b|0)==(f|0)){break d}ag(d);d=C[a+52>>2];f=C[d+68>>2];break d}if(!b){break c}}C[d+72>>2]=c;b=f|256;break b}b=f&-257}C[d+68>>2]=b;a=0;if((b|0)==(f|0)){break a}ag(d)}Ce=e+32|0;return a|0}function zN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=C[a+24>>2];C[a+48>>2]=c;b=C[a+28>>2];C[a+52>>2]=b;d=C[a+8>>2]+1|0;e=d+C[a>>2]>>1;C[a+8>>2]=e;f=C[a+16>>2];c=(c+f|0)+1>>1;C[a+40>>2]=c;g=C[a+12>>2]+1|0;h=g+C[a+4>>2]>>1;C[a+12>>2]=h;i=C[a+20>>2];b=(b+i|0)+1>>1;C[a+44>>2]=b;d=(d+f>>1)+1|0;e=d+e>>1;C[a+16>>2]=e;c=c+d>>1;C[a+32>>2]=c;f=b;b=(g+i>>1)+1|0;d=f+b>>1;C[a+36>>2]=d;b=b+h>>1;C[a+20>>2]=b;C[a+24>>2]=(c+e|0)+1>>1;C[a+28>>2]=(b+d|0)+1>>1}function ow(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!C[a>>2]){return 65536}l=b&16384;b=65536;while(1){a:{i=b;g=j<<2;h=C[g+c>>2];b:{if(!h){break b}b=0;f=C[g+C[a+4>>2]>>2];if(!f|(f|0)<0&(h|0)>0|(h|0)<0&(f|0)>0){break a}if(!l){b=f>>31;b=Te(i,(b^f)-b|0);break b}k=C[d+g>>2];if((k|0)>(f|0)){break a}g=C[e+g>>2];if((g|0)<(f|0)){break a}if((f|0)<(h|0)){b=of(i,f-k|0,h-k|0);break b}b=of(i,g-f|0,g-h|0)}j=j+1|0;if(j>>>0>2]){continue}}break}return b}function xI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{c=D[a+11|0]+7>>>3|0;e=C[a+4>>2];if(c>>>0>=e>>>0){break a}d=0-c|0;a=b+c|0;b=(c^-1)+e|0;f=e-c&3;if(f){while(1){A[a|0]=D[a+d|0]+D[a|0];c=c+1|0;a=a+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}if(b>>>0<3){break a}while(1){A[a|0]=D[a+d|0]+D[a|0];A[a+1|0]=D[(a+1|0)+d|0]+D[a+1|0];A[a+2|0]=D[(a+2|0)+d|0]+D[a+2|0];A[a+3|0]=D[(a+3|0)+d|0]+D[a+3|0];a=a+4|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}}function UP(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;b=C[a+12>>2];C[f>>2]=0;C[e>>2]=0;g=b;h=C[b+76>>2];b=C[b+72>>2];h=Fe[C[b+204>>2]](g,h,c,d,e,f,C[b+68>>2])|0;if(h){c=C[a+12>>2];a:{if(c){b=C[e>>2];g=C[c+20>>2];d=C[a+20>>2];if((g|0)!=(d|0)){b=nT(mT(d,d>>31,b,b>>31),Ee,g,g>>31)}C[e>>2]=b;b=C[f>>2];c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31);break a}b=C[f>>2]}C[f>>2]=b}return h|0}function zl(a){var b=0,c=0,d=0,e=0;d=Ce-16|0;Ce=d;b=C[94767];a:{if((b&C[94768])!=-1){break a}if(!D[422824]){A[422824]=1}b=4;C[94767]=4;C[94768]=0;C[d+12>>2]=0;if(!C[d+12>>2]){break a}b=16;C[94767]=16;C[94768]=2}e=a;a=((((b-((a>>>0)%(b>>>0)|0)>>>0)%(b>>>0)|0)+b|0)+a|0)+4|0;b:{if(e>>>0>a>>>0){break b}a=Fe[C[94762]](a>>>0<=1?1:a)|0;if(a){C[94766]=C[94766]+1}if(!a){break b}c=a+4|0;c=(b-((c>>>0)%(b>>>0)|0)|0)+c|0;C[c-4>>2]=a}Ce=d+16|0;return c}function rQ(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;b=C[a+12>>2];C[e>>2]=0;C[d>>2]=0;f=b;g=C[b+76>>2];b=C[b+72>>2];f=Fe[C[b+184>>2]](f,g,c,d,e,C[b+48>>2])|0;if(f){c=C[a+12>>2];a:{if(c){b=C[d>>2];g=C[a+20>>2];h=C[c+20>>2];if((g|0)!=(h|0)){b=nT(mT(g,g>>31,b,b>>31),Ee,h,h>>31)}C[d>>2]=b;b=C[e>>2];c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31);break a}b=C[e>>2]}C[e>>2]=b}return f|0}function eQ(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;b=C[a+12>>2];C[e>>2]=0;C[d>>2]=0;f=b;g=C[b+76>>2];b=C[b+72>>2];f=Fe[C[b+188>>2]](f,g,c,d,e,C[b+52>>2])|0;if(f){c=C[a+12>>2];a:{if(c){b=C[d>>2];g=C[a+20>>2];h=C[c+20>>2];if((g|0)!=(h|0)){b=nT(mT(g,g>>31,b,b>>31),Ee,h,h>>31)}C[d>>2]=b;b=C[e>>2];c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31);break a}b=C[e>>2]}C[e>>2]=b}return f|0}function Ve(a,b,c,d,e,f){var g=0;if((b|c|d)<0){C[f>>2]=6;return e}a:{b:{c:{if(!(d?b:0)){if(!e){break c}Fe[C[a+8>>2]](a,e);break c}g=10;if((2147483647/(b>>>0)|0)<(d|0)){break a}if(!c){e=0;g=I(b,d);if((g|0)<=0){g=g?6:0;break b}e=Fe[C[a+4>>2]](a,g)|0;if(!e){C[f>>2]=64;return 0}p(e,0,g);g=0;break b}a=Fe[C[a+12>>2]](a,I(b,c),I(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;p(I(b,c)+e|0,0,I(d-c|0,b))}C[f>>2]=g;return e}function _r(a,b,c){var d=0,e=0,f=0,g=0;d=Ce+-64|0;Ce=d;a:{if((b|0)==-1){break a}e=1617;b:{switch(c|0){case 0:e=1618;break;case 1:break b;default:break a}}C[d+8>>2]=e;c:{if((b|0)!=5){break c}f=Ph();if((c|0)==1){C[a+28>>2]=f;if(!C[C[a>>2]+120>>2]){break c}break a}g=C[a>>2];if(((C[a+28>>2]-f|0)+250|0)>0){C[g+120>>2]=1;break a}C[g+120>>2]=0}if((qf(e,-1)|0)!=1){break a}a=C[C[a>>2]>>2];A[d+21|0]=c;A[d+20|0]=b;C[d+16>>2]=a;Df(d+8|0)}Ce=d- -64|0}function Zr(a,b){var c=0,d=0,e=0;c=Ce+-64|0;Ce=c;d=C[b+20>>2];a:{if(C[b+16>>2]==2){if((qf(1616,-1)|0)!=1){break a}C[c+8>>2]=1616;a=C[C[a>>2]>>2];B[c+24>>1]=0;A[c+20|0]=d;C[c+16>>2]=a;Df(c+8|0);break a}if((d|0)==-1){break a}C[c+8>>2]=1618;if((d|0)==5){e=Ph();b=C[a>>2];if(((C[a+28>>2]-e|0)+250|0)>0){C[b+120>>2]=1;break a}C[b+120>>2]=0}if((qf(1618,-1)|0)!=1){break a}a=C[C[a>>2]>>2];A[c+21|0]=0;A[c+20|0]=d;C[c+16>>2]=a;Df(c+8|0)}Ce=c- -64|0}function Nu(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=D[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=C[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=I(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=C[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=D[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return af(a)+a|0}return a}function Xp(a,b,c,d){var e=0,f=0,g=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}A[c|0]=0;f=16;a:{if(C[a+16>>2]<=(b|0)){break a}if(!(D[a+9|0]&2)){return 6}f=6;b:{c:{g=C[a+128>>2];e=C[g+36>>2];switch(e+2|0){case 0:break a;case 2:break c;default:break b}}e=C[a+96>>2];f=C[C[e>>2]+32>>2];d:{if(!f){e=0;break d}e=Fe[f|0](e,4764)|0;g=C[a+128>>2]}C[g+36>>2]=e?e:-2}if(!e){return 6}f=6;e=C[e>>2];if(!e){break a}f=Fe[e|0](a,b,c,d)|0}return f}function oD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+36>>2]/2|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){h=C[a+16>>2]+(b+e|0)|0;i=C[a+48>>2];j=C[a+56>>2];b=C[a>>2];d=C[a+20>>2];k=(e|0)<=0;l=c<<1;while(1){f=f-1|0;a=0;c=0;if(!k){while(1){if(!(c&7)){a=D[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(j|0)){B[d>>1]=E[(g<<1)+i>>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+l|0;if(f){continue}break}}}function mD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=C[a+36>>2]/4|0;e=C[a+24>>2];b=(e+7|0)/-8|0;f=C[a+28>>2];if(f){h=C[a+16>>2]+(b+e|0)|0;i=C[a+48>>2];j=C[a+56>>2];b=C[a>>2];d=C[a+20>>2];k=(e|0)<=0;l=c<<2;while(1){f=f-1|0;a=0;c=0;if(!k){while(1){if(!(c&7)){a=D[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(j|0)){C[d>>2]=C[(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+l|0;if(f){continue}break}}}function uS(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ce+-64|0;Ce=c;d=C[a+1080>>2];a:{if(!d){a=Qe(19845,0);break a}if((b|0)<0){a=Qe(19918,0);break a}d=Fe[C[d+100>>2]](C[d+8>>2],b)|0;a=C[a+1080>>2];if((d|0)==1){C[a+16>>2]=b;a=0;break a}b=34979;a=Fe[C[a+128>>2]]()|0;d=a-12288|0;if(d>>>0<=14){b=C[(d<<2)+195524>>2]}if(!D[b|0]){C[c+16>>2]=a;b=c+32|0;rf(b,32,1768,c+16|0)}C[c+8>>2]=b;C[c+4>>2]=13617;C[c>>2]=13581;a=Qe(32680,c)}Ce=c- -64|0;return a|0}function tu(a,b,c,d,e){var f=0,g=0,h=0;h=-1;g=d&2147483647;f=(g|0)==2147418112;a:{if(f&!c?a|b:f&(c|0)!=0|g>>>0>2147418112){break a}f=e&2147483647;if(((f|0)==2147418112&0|f>>>0>2147418112)&(f|0)!=2147418112){break a}if(!(a|c|(f|g|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(((c|0)!=0|(d|0)!=(e|0))&(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function eq(a){a=a|0;var b=0,c=0;if(a){c=C[a+100>>2];jy(C[a+140>>2]);b=C[a+144>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+144>>2]=0;b=C[a+132>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0;b=C[a+136>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+136>>2]=0;b=C[a+20>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+20>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+32>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+32>>2]=0;b=C[a+140>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+140>>2]=0}}function Qr(a,b,c){var d=0,e=0;d=Ce+-64|0;Ce=d;e=1539;a:{b:{switch(c|0){case 0:e=1540;break;case 1:break b;default:break a}}C[d+8>>2]=e;if(D[C[a+64>>2]+b|0]==(c|0)|C[a+60>>2]<=(b|0)){break a}c:{if(D[419540]){break c}e=C[105780];if(e){e=C[e+380>>2]!=0}else{e=0}if(!e|(c|0)!=1){break c}if(!C[104886]){break a}}A[C[a+64>>2]+b|0]=c;if((qf(C[d+8>>2],-1)|0)!=1){break a}a=C[a>>2];A[d+21|0]=c;A[d+20|0]=b;C[d+16>>2]=a;Df(d+8|0)}Ce=d- -64|0}function GS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=C[105716];a:{if((b|0)<=0){break a}e=b&7;b:{if(!e){c=b;break b}c=b;while(1){c=c-1|0;d=C[d+1320>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(b>>>0<8){break a}while(1){b=c-9|0;d=C[C[C[C[C[C[C[C[d+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];c=c-8|0;if(b>>>0<4294967294){continue}break}}b=C[d+4>>2];mf(a,0,16);if(af(b)>>>0<=16){c=af(b)}else{c=16}gf(a,b,c)}function zK(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,j=0,k=0;f=C[a+492>>2];if(!f){return 6}g=C[f+32>>2];if(g){a=0;while(1){e=C[f+28>>2]+I(a,20)|0;a:{if(C[e>>2]!=(c|0)){break a}h=C[e+4>>2];if((h|0)>(b|0)){C[d>>2]=C[e+8>>2];break a}i=C[e+12>>2];if((i|0)<(b|0)){C[d>>2]=C[e+16>>2];break a}j=d,k=of(b-h|0,C[e+16>>2]-C[e+8>>2]|0,i-h|0)+C[e+8>>2]|0,C[j>>2]=k;g=C[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function Ax(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+80>>2];if(b){Fe[b|0](C[a+76>>2])}Ax(C[a+12>>2]);jr(C[a+16>>2]);Vm(C[a+72>>2]);Re(C[a+64>>2]);Re(C[a+68>>2]);Re(a)}}function Zx(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=C[a>>2];if(!b){return}e=C[b+96>>2];if(!e){return}d=C[e+8>>2];f=b+108|0;c=Ti(f,a);if(!c){break a}oj(f,c);if(c){Fe[C[d+8>>2]](d,c)}b:{if(C[b+88>>2]!=(a|0)){break b}C[b+88>>2]=0;c=C[b+108>>2];if(!c){break b}C[b+88>>2]=C[c+8>>2]}b=C[a+8>>2];if(b){Fe[b|0](a)}b=C[C[e+12>>2]+60>>2];if(b){Fe[b|0](a)}b=C[a+40>>2];if(b){Fe[C[d+8>>2]](d,b)}C[a+40>>2]=0;if(a){Fe[C[d+8>>2]](d,a)}}}function DD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if((c|0)>0){g=D[e+34|0];h=D[e+30|0];i=D[e+33|0];j=D[e+29|0];k=D[e+32|0];l=D[e+28|0];m=D[d+35|0];n=D[d+34|0];o=D[d+33|0];p=D[d+32|0];while(1){e=C[b>>2];C[a>>2]=(e&C[d+12>>2])>>>p>>>l<>2])>>>m<<24|(e&C[d+16>>2])>>>o>>>j<>2])>>>n>>>h<>>8)&65535)+a|0}else{e=84608}d=0;c=C[b+100>>2];c=zf(e,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)!=-1){d=84608;e=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((e<<8|e>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=C[11633];C[f+8>>2]=C[11632];C[f+12>>2]=a;d=On(d,b,f+8|0)}Ce=f+16|0;return d|0}function mP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=C[a+16>>2];if(!e){C[b>>2]=0;return 0}i=C[a+20>>2];f=C[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=C[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}C[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){C[b>>2]=0;return 0}e=0;if(c){e=C[C[a+20>>2]+(c<<4)>>2];d=c+1|0}C[b>>2]=e;return d|0}function Ag(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;i=mT(b,c,h,i);h=Ee;e=mT(d,e,f,g);i=e+i|0;d=Ee+h|0;h=e>>>0>i>>>0?d+1|0:d;j=g;e=0;k=c;d=0;c=mT(g,e,c,d);g=c+i|0;i=Ee+h|0;l=g;c=c>>>0>g>>>0?i+1|0:i;g=mT(f,0,b,0);h=Ee;i=0;d=mT(f,i,k,d);h=h+d|0;f=Ee+i|0;f=d>>>0>h>>>0?f+1|0:f;i=f+l|0;d=c;f=f>>>0>i>>>0?d+1|0:d;c=mT(b,m,j,e)+h|0;e=Ee;e=c>>>0>>0?e+1|0:e;h=e+i|0;i=f;C[a+8>>2]=h;C[a+12>>2]=e>>>0>h>>>0?i+1|0:i;C[a>>2]=g;C[a+4>>2]=c}function xD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+24>>2];b=(d+1|0)/-2|0;e=C[a+28>>2];if(e){h=C[a+16>>2]+(b+d|0)|0;i=C[a+48>>2];j=C[a+56>>2];k=C[a+36>>2];b=C[a>>2];c=C[a+20>>2];l=(d|0)<=0;while(1){e=e-1|0;a=0;f=0;if(!l){while(1){if(!(f&1)){a=D[b|0];b=b+1|0}g=a>>>4&15;if((g|0)!=(j|0)){C[c>>2]=C[(g<<2)+i>>2]}c=c+4|0;a=a<<4;f=f+1|0;if((f|0)!=(d|0)){continue}break}}c=c+k|0;b=b+h|0;if(e){continue}break}}}function _o(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;a:{if(b>>>0>32){break a}c=C[a+4>>2];d=c+b|0;g=C[(b<<2)+349936>>2];b:{f=C[a>>2];b=C[a+16>>2];if((f|0)<(b-4|0)){break b}if((f|0)>(b-(d+7>>3)|0)){break a}if(d){break b}return 0}a=C[a+12>>2];b=D[a|0]>>>c|0;c:{if((d|0)<9){break c}b=D[a+1|0]<<8-c|b;if(d>>>0<17){break c}b=D[a+2|0]<<16-c|b;if(d>>>0<25){break c}b=D[a+3|0]<<24-c|b;if(!c|d>>>0<33){break c}b=D[a+4|0]<<32-c|b}e=b&g}return e}function Er(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(a){C[a>>2]=C[105672]}if(b){C[b>>2]=C[105673]}a=0;c=C[105696];a:{if((c|0)<=0){break a}d=C[105697];b=0;if(c>>>0>=4){h=c&-4;while(1){e=b<<3;a=C[((e|24)+d|0)+4>>2]|(C[((e|16)+d|0)+4>>2]|(C[((e|8)+d|0)+4>>2]|(C[(d+e|0)+4>>2]|a)));b=b+4|0;f=f+4|0;if((f|0)!=(h|0)){continue}break}}c=c&3;if(!c){break a}while(1){a=C[((b<<3)+d|0)+4>>2]|a;b=b+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}}function xK(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;d=C[a+528>>2];if(!d){return 6}g=C[d>>2];if(g){e=C[d+4>>2];i=b>>>0>e>>>0?e:b;while(1){a=0;b=0;h=65536;if(e){while(1){b=32768;b=a>>>0>>0?C[(a<<2)+c>>2]:b;b=(b|0)>0?b:0;b=b>>>0>=65536?65536:b;h=Te(h,f>>>a&1?b:65536-b|0);a=a+1|0;b=C[d+4>>2];if(a>>>0>>0){continue}break}g=C[d>>2]}C[C[d+136>>2]+(f<<2)>>2]=h;e=b;f=f+1|0;if(g>>>0>f>>>0){continue}break}}return 0}function KR(a,b){a=a|0;b=b|0;var c=J(0),d=J(0),e=0,f=0,g=0;a:{a=C[b+164>>2];if(!a){break a}b:{if(!(D[b+49|0]&32)){c=G[a+16>>2];break b}c=J(+W());G[a+16>>2]=c}d=J(c*J(C[b+28>>2]));c:{if(J(K(d))>2];c=J(c*J(C[b+24>>2]));d:{if(J(K(c))>2]|G[a+16>>2]==J(1)){break a}aa(C[a+12>>2],+C[b+24>>2],+C[b+28>>2])|0}}function rD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=C[a+24>>2];b=(c+7|0)/-8|0;d=C[a+28>>2];if(d){h=C[a+16>>2]+(b+c|0)|0;i=C[a+48>>2];j=C[a+36>>2];b=C[a>>2];a=C[a+20>>2];k=(c|0)<=0;while(1){d=d-1|0;e=0;f=0;if(!k){while(1){if(!(e&7)){f=D[b|0];b=b+1|0}g=(f>>>5&4)+i|0;A[a|0]=D[g|0];A[a+1|0]=D[g+1|0];A[a+2|0]=D[g+2|0];a=a+3|0;f=f<<1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}a=a+j|0;b=b+h|0;if(d){continue}break}}}function pH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=C[b+100>>2];d=D[a+2|0]|D[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=84608}d=zf(c,C[C[e+92>>2]+I(C[e+76>>2],20)>>2]);a:{if((d|0)==-1){break a}c=D[a+6|0]|D[a+7|0]<<8;if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}f=1;g=a+4|0;c=a;a=I(qT(D[a+4|0]|D[a+5|0]<<8),d);Fi(g,b,c,(a|0)<0?84608:(c+(a<<1)|0)+8|0,C[e+100>>2]+I(C[e+76>>2],20)|0);C[e+76>>2]=C[e+76>>2]+1}return f|0}function zr(a,b,c,d,e){var f=0;a:{if(!b){f=84608;if(!e){break a}Fe[e|0](d);return 84608}b:{if((b|0)>=0){f=df(1,32);if(f){break b}}f=84608;if(!e){break a}Fe[e|0](d);return 84608}C[f+28>>2]=e;C[f+24>>2]=d;C[f+20>>2]=c;C[f+16>>2]=b;C[f+12>>2]=a;C[f>>2]=1;C[f+4>>2]=1;if(c){break a}c=kf(b);if(c){a=jf(c,a,b);if(e){Fe[e|0](d)}C[f+28>>2]=85;C[f+24>>2]=a;C[f+12>>2]=a;C[f+20>>2]=2;return f}if(e){Fe[e|0](d)}Re(f);f=84608}return f}function fs(a,b){var c=0,d=0,e=0,f=0;a:{if(!C[94750]){break a}e=C[94753];if(e){while(1){c=e;e=C[c+72>>2];d=C[c>>2];if(!(d>>>0>>0|b>>>0>>0)){d=e;f=C[c+68>>2];if(f){C[f+72>>2]=e;d=C[c+72>>2]}if(d){C[d+68>>2]=f}if(C[94753]==(c|0)){C[94753]=d}if(C[94754]==(c|0)){C[94754]=C[c+68>>2]}if(C[c>>2]==32512){C[104597]=C[104597]-1}C[c+72>>2]=C[94755];C[94755]=c;C[94751]=C[94751]-1}if(e){continue}break}}if(!C[94749]){break a}}}function nD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=C[a+24>>2];b=(d+7|0)/-8|0;e=C[a+28>>2];if(e){h=C[a+16>>2]+(b+d|0)|0;i=C[a+48>>2];j=C[a+56>>2];k=C[a+36>>2];b=C[a>>2];c=C[a+20>>2];l=(d|0)<=0;while(1){e=e-1|0;a=0;f=0;if(!l){while(1){if(!(f&7)){a=D[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(j|0)){gf(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+k|0;b=b+h|0;if(e){continue}break}}}function LS(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;b=0;if(C[C[a+72>>2]+156>>2]!=C[94668]){a:{if(!c){break a}while(1){h=C[d>>2];C[f>>2]=0;i=h;h=C[a+72>>2];if(!(Fe[C[h+156>>2]](a,C[a+76>>2],i,f,C[h+20>>2])|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return(b>>>0>>0?b:c)|0}a=C[a+12>>2];b=C[a+72>>2];return Fe[C[b+160>>2]](a,C[a+76>>2],c,d,e,f,g,C[b+24>>2])|0}function iQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=C[b+8>>2];f=C[a>>2];d=C[f+140>>2];g=C[f+32>>2];e=C[b+16>>2];if(e){c=(I(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(C[b>>2]){case 0:c=23;if((e|0)==C[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(C[d+44>>2]+C[d+40>>2]|0)){break a}}c=0;_h(f,0);C[a+24>>2]=C[d+40>>2]<<6;C[a+28>>2]=0-(C[d+44>>2]<<6);C[a+36>>2]=E[d+4>>1]<<6}return c|0}function er(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;a:{if(!a){C[e>>2]=5712;f=Qe(19745,e);break a}if(!(!b|C[b>>2]<=1<>2];if((c|0)==(b|0)){break a}b:{if(!c){break b}d=C[c+12>>2];C[c+12>>2]=d-1;if((d|0)>1){break b}d=C[c+4>>2];if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}}C[a+4>>2]=b;if(!b){break a}C[b+12>>2]=C[b+12>>2]+1}Ce=e+16|0;return f}function Lu(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=D[b|0];break b}if(b&3){while(1){c=D[b|0];A[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=C[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){C[d>>2]=c;c=C[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}A[d|0]=c;if(!(c&255)){break a}while(1){c=D[b+1|0];A[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function pz(a){var b=0,c=0,d=0,e=0;if(a){c=Ce-16|0;Ce=c;C[c>>2]=a;e=Ce-16|0;Ce=e;C[e+12>>2]=c;b=Ce-16|0;Ce=b;C[b+12>>2]=c;a=C[105784];C[105784]=0;if(a){while(1){d=C[a>>2];Re(a);a=d;if(a){continue}break}}C[b+8>>2]=C[b+12>>2];a=C[105830];if((a|0)!=-1){Re(a)}a=Wj(0,0,11346,C[b+8>>2]);d=(a>>>0<=4?4:a)+1|0;a=kf(d);if(a){Wj(a,d,11346,C[b+12>>2])}else{a=-1}C[105830]=a;A[423258]=D[423258]|2;Ce=b+16|0;Ce=e+16|0;Ce=c+16|0}}function al(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=D[a|0];if(!c){break a}d=213104;f=10;b=((c|0)==45)+a|0;a=D[b|0];b:{if((a|0)!=48){break b}if((D[b+1|0]|32)!=120){a=48;break b}a=D[b+2|0];d=213072;f=16;b=b+2|0}g=D[((a&248)>>>3|0)+d|0];a=a<<24>>24;if(g>>>(a&7)&1){while(1){e=D[a+213136|0]+I(e,f)|0;a=A[b+1|0];b=b+1|0;if(D[((a&248)>>>3|0)+d|0]>>>(a&7)&1){continue}break}}b=(c|0)==45?0-e|0:e}return b<<16>>16}function tQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ce-16|0;Ce=b;C[b+12>>2]=c;d=C[a+72>>2];e=C[d+180>>2];a:{if((e|0)!=C[94674]){Fe[e|0](a,C[a+76>>2],1,b+12|0,0,b+8|0,0,C[d+44>>2]);c=C[b+8>>2];break a}d=C[a+12>>2];e=C[d+72>>2];c=Fe[C[e+172>>2]](d,C[d+76>>2],c,C[e+36>>2])|0;d=C[a+12>>2];if(!d){break a}d=C[d+24>>2];a=C[a+24>>2];if((d|0)==(a|0)){break a}c=nT(mT(a,a>>31,c,c>>31),Ee,d,d>>31)}Ce=b+16|0;return c|0}function EQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ce-16|0;Ce=b;C[b+12>>2]=c;d=C[a+72>>2];e=C[d+176>>2];a:{if((e|0)!=C[94673]){Fe[e|0](a,C[a+76>>2],1,b+12|0,0,b+8|0,0,C[d+40>>2]);c=C[b+8>>2];break a}d=C[a+12>>2];e=C[d+72>>2];c=Fe[C[e+168>>2]](d,C[d+76>>2],c,C[e+32>>2])|0;d=C[a+12>>2];if(!d){break a}d=C[d+20>>2];a=C[a+20>>2];if((d|0)==(a|0)){break a}c=nT(mT(a,a>>31,c,c>>31),Ee,d,d>>31)}Ce=b+16|0;return c|0}function yJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=C[b+8>>2];f=C[a>>2];g=C[f+32>>2];e=C[f+132>>2];d=C[b+16>>2];if(d){c=(I(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(C[b>>2]){case 0:c=23;if((d|0)==C[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=E[e+96>>1]){break a}}c=0;_h(f,0);b=E[e+80>>1];C[a+24>>2]=b<<6;C[a+28>>2]=b-E[e+96>>1]<<6;C[a+36>>2]=E[e+102>>1]<<6}return c|0}function HK(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;C[d>>2]=0;C[d+4>>2]=0;e=C[a+492>>2];if(e){a=C[e+36>>2];e=(a+(C[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=C[b>>2]<<16|C[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;C[d>>2]=C[a+8>>2];h=C[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}}C[d+4>>2]=h}return 0}function vP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[b+8>>2];d=C[a>>2];f=C[d+32>>2];e=C[b+16>>2];if(e){c=(I(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(C[b>>2]){case 0:c=23;if((e|0)==C[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(C[d+208>>2]+C[d+204>>2]|0)){break a}}c=0;_h(d,0);C[a+24>>2]=C[d+204>>2]<<6;C[a+28>>2]=0-(C[d+208>>2]<<6);C[a+36>>2]=B[d+236>>1]<<6}return c|0}function gy(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=D[a|0];if(!c){break a}d=213104;f=10;b=((c|0)==45)+a|0;a=D[b|0];b:{if((a|0)!=48){break b}if((D[b+1|0]|32)!=120){a=48;break b}a=D[b+2|0];d=213072;f=16;b=b+2|0}g=D[((a&248)>>>3|0)+d|0];a=a<<24>>24;if(g>>>(a&7)&1){while(1){e=D[a+213136|0]+I(e,f)|0;a=A[b+1|0];b=b+1|0;if(D[((a&248)>>>3|0)+d|0]>>>(a&7)&1){continue}break}}b=(c|0)==45?0-e|0:e}return b}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,g=0,h=0,i=0,j=0,k=0;f=Ce-16|0;Ce=f;vg(a,C[a+8>>2]);g=C[a>>2];C[f+12>>2]=g;h=C[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(D[g|0]!=60){break a}C[f+12>>2]=g+1;j=d,k=nx(f+12|0,h,b,c),C[j>>2]=k;b=C[f+12>>2];if(b>>>0>2]&D[b|0]!=62){break a}b=b+1|0;break b}j=d,k=nx(f+12|0,h,b,c),C[j>>2]=k;b=C[f+12>>2]}C[a>>2]=b;i=0}Ce=f+16|0;return i|0}function oS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ce+-64|0;Ce=c;e=C[a+1080>>2];if(!(Fe[C[e+96>>2]](C[e+8>>2],C[C[b+164>>2]>>2])|0)){d=34979;a=Fe[C[C[a+1080>>2]+128>>2]]()|0;b=a-12288|0;if(b>>>0<=14){d=C[(b<<2)+195524>>2]}if(!D[d|0]){C[c+16>>2]=a;d=c+32|0;rf(d,32,1768,c+16|0)}C[c+8>>2]=d;C[c+4>>2]=6664;C[c>>2]=1978;d=Qe(32680,c)}Ce=c- -64|0;a:{if(!(da()|0)){break a}if(!bg(22433,1)){break a}ca(0)}return d|0}function _u(a,b,c,d){var e=0,f=0;a:{if(d>>>0>=3){C[105782]=28;break a}b:{if((d|0)!=1){break b}e=C[a+8>>2];if(!e){break b}f=b;e=e-C[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(e>>>0>f>>>0)|0)|0}if(C[a+20>>2]!=C[a+28>>2]){Fe[C[a+36>>2]](a,0,0)|0;if(!C[a+20>>2]){break a}}C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;Fe[C[a+40>>2]](a,b,c,d)|0;if((Ee|0)<0){break a}C[a+4>>2]=0;C[a+8>>2]=0;C[a>>2]=C[a>>2]&-17;return 0}return-1}function rq(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;c=C[105780];a:{if(!c){Qe(19865,0);break a}d=C[c+372>>2];if(!((d|0)>(a|0)&(a|0)>=0)){C[e>>2]=d-1;Qe(21451,e);break a}if(!b){break a}d=C[c+376>>2];f=C[c+16>>2];if(f){if(!(Fe[f|0](c,d+I(a,72)|0,b)|0)){break a}}b:{if(!a){C[b+4>>2]=0;c=0;break b}rq(a-1|0,b);c=C[b>>2]+C[b+8>>2]|0}C[b>>2]=c;a=d+I(a,72)|0;C[b+8>>2]=C[a+40>>2];C[b+12>>2]=C[a+44>>2]}Ce=e+16|0}function hi(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0;a:{if(!(!k|(!e|!f))){l=I(e,k);if((l|0)==(j|0)){Fe[C[a+156>>2]](b,0,c,d,e,f,g,h,i);return}k=I(f,l);k=Fe[C[94762]](k>>>0<=1?1:k)|0;if(k){C[94766]=C[94766]+1}if(!k){break a}m=k;if((f|0)>0){while(1){gf(k,i,l);i=i+j|0;k=k+l|0;n=n+1|0;if((n|0)!=(f|0)){continue}break}}Fe[C[a+156>>2]](b,0,c,d,e,f,g,h,m);if(m){Fe[C[94765]](m);C[94766]=C[94766]-1}}return}_e(0)}function bs(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}Nl(C[a+12>>2]);Re(C[a+92>>2]);Re(C[a+100>>2]);b=C[a+164>>2];if(b){Fe[b|0](C[a+160>>2])}Re(a)}}function Av(a,b){var c=0,d=0;c=Ce-16|0;b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);A[c+11|0]=b;A[c+12|0]=b>>>8;A[c+13|0]=b>>>16;A[c+14|0]=b>>>24;a:{if(!a){break a}b=C[a+664>>2];if(!b){break a}d=C[a+668>>2];a=d+I(b,5)|0;while(1){b=a-5|0;if((D[c+11|0]|D[c+12|0]<<8|(D[c+13|0]<<16|D[c+14|0]<<24))==(D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24))){return D[a-1|0]}a=b;if(b>>>0>d>>>0){continue}break}}return 0}function mh(a){var b=0,c=0,d=0;b=Ce-16|0;Ce=b;o(+a);d=j(1)|0;j(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=Mk(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(ev(a,b)&3){case 0:c=Mk(H[b>>3],H[b+8>>3]);break a;case 1:c=-Kk(H[b>>3],H[b+8>>3],1);break a;case 2:c=-Mk(H[b>>3],H[b+8>>3]);break a;default:break b}}c=Kk(H[b>>3],H[b+8>>3],1)}a=c;Ce=b+16|0;return a}function BM(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=E[a+152>>1];if(!g){break b}f=C[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(C[f>>2]==(b|0)){g=C[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=C[f+8>>2]+c|0;break c}g=C[C[a+104>>2]+4>>2]}if(!e){f=g;break a}f=C[e>>2];if(f){break a}C[e>>2]=g;h=0}return h|0}return Qx(C[a+104>>2],c,d,f)|0}function pk(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!D[b|0]){break a}if(jh(b,32)){break a}c=Ug(b);if(c){if(Zf(c)&1){break a}}e=af(b);a=C[a+1080>>2];c=Fe[C[a+104>>2]](C[a+8>>2],12373)|0;if(!c|!D[c|0]){break a}a=c;b:while(1){a=fi(a,b);if(!a){break a}if(!((a|0)!=(c|0)&D[a-1|0]!=32|(D[a+e|0]|32)!=32)){f=1;break a}a=a+e|0;while(1){d=D[a|0];if(!d){return d}if((d|0)==32){continue b}a=a+1|0;continue}}}return f}function HR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=Ce-32|0;Ce=a;c=C[b+164>>2];a:{if(!c){break a}if(d){e=C[b+48>>2];f=e&4097;d=(f|0)==4097;C[a+8>>2]=d?1:2;b:{if(!d){C[a+12>>2]=0;break b}if(e&8192){C[a+12>>2]=2;break b}C[a+12>>2]=1}C[a+24>>2]=c;C[a+20>>2]=759;C[a+16>>2]=0;C[c+28>>2]=d;C[c+24>>2]=f;if(ob(C[c+12>>2],1,a+8|0)>>>0<2){break a}C[b+48>>2]=C[b+48>>2]&-4098;break a}nb()|0}Ce=a+32|0}function yv(a,b,c,d,e,f,g,h){var i=0;i=e&-5;a:{if(!((e|0)==3&(d|0)>=9)){b=(d|0)!=4&d-3>>>0<4294967294&(d|0)!=8&(d|0)!=16|((i|0)==1|e>>>0>6)|(F[a+724>>2]>>0|(c|0)<=0)|((b|0)<=0|(b+7&-8)>>>0>536870904|F[a+720>>2]>>0);if(!((e|0)==4|(i|0)==2)|(d|0)>7){break a}}b=1}b=g?1:(f|0)>1?1:b;b:{c:{if(h){if(!(C[a+680>>2]&4)|(h|0)!=64|(C[a+204>>2]&4096|(i|0)!=2)){break c}}if(!b){break b}}Af(a,22041);s()}}function cg(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+3>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=C[a+8>>2];b=d+12|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+4}Ce=d+16|0;return f}function $R(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;if(!C[c+32>>2]){f=C[b+52>>2];g=C[b+56>>2];U(C[c+12>>2],d+8|0,d|0)|0;b=C[c+4>>2];e=+C[b+28>>2]/H[d>>3]*+(g|0);a:{if(K(e)<2147483648){g=~~e;break a}g=-2147483648}e=+C[b+24>>2]/H[d+8>>3]*+(f|0);b:{if(K(e)<2147483648){f=~~e;break b}f=-2147483648}Bl(b,0,0,f,g)}Cl((a|0)==33?C[c+4>>2]:0);a=qf(512,-1);Ce=d+16|0;return(a|0)==1|0}function pi(a){var b=0,c=0;b=Ce-16|0;Ce=b;o(+a);c=j(1)|0;j(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=Kk(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(ev(a,b)&3){case 0:a=Kk(H[b>>3],H[b+8>>3],1);break a;case 1:a=Mk(H[b>>3],H[b+8>>3]);break a;case 2:a=-Kk(H[b>>3],H[b+8>>3],1);break a;default:break b}}a=-Mk(H[b>>3],H[b+8>>3])}Ce=b+16|0;return a}function Rg(a,b,c){var d=0,e=0,f=0;e=c;if(c){c=D[a|0];a:{if(!c){break a}while(1){b:{d=D[b|0];if(!d){break b}e=e-1|0;if(!e){break b}c:{if((c|0)==(d|0)){break c}d=c-65>>>0<26?c|32:c;c=D[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break c}f=D[a|0];break a}b=b+1|0;c=D[a+1|0];a=a+1|0;if(c){continue}break a}break}f=c}a=f&255;c=a-65>>>0<26?a|32:a;a=D[b|0];a=c-(a-65>>>0<26?a|32:a)|0}else{a=0}return a}function tl(a,b,c){var d=0,e=0;e=Ce-32|0;Ce=e;a:{if(!(C[a>>2]==422837?a:0)){C[e>>2]=9675;Qe(19745,e);a=-1;break a}d=C[a+412>>2];if(d){if(C[d>>2]!=422838){C[e+16>>2]=16603;Qe(19745,e+16|0);a=-1;break a}if(b){C[b>>2]=C[d+12>>2]}a=0;if(!c){break a}C[c>>2]=C[d+16>>2];break a}d=C[a+8>>2];if(d){a=Fe[d|0](a,b,c)|0;break a}a=C[a+204>>2];if(a){bi(a,b,c);a=0;break a}a=Qe(15912,0)}Ce=e+32|0;return a}function hs(a,b){var c=0,d=0,e=0;c=Fe[C[94762]](20)|0;if(c){C[94766]=C[94766]+1}if(!c){_e(0);return c}mf(c,0,20);a=a?a:1024;C[c+12>>2]=a;d=b-1|0;b=d+a|0;if(b>>>0>=d>>>0){b=(b>>>0)/(a>>>0)|0;d=b>>>0<=1?1:b;b=a+12|0;while(1){a=Fe[C[94762]](b>>>0<=1?1:b)|0;if(a){C[94766]=C[94766]+1}if(a){C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=C[c+8>>2];C[c+8>>2]=a}e=e+1|0;if((d|0)!=(e|0)){continue}break}}return c}function wo(a,b,c){var d=0,e=0,f=0;d=C[c+16>>2];a:{if(!d){if(Bo(c)){break a}d=C[c+16>>2]}f=C[c+20>>2];if(d-f>>>0>>0){return Fe[C[c+36>>2]](c,a,b)|0}b:{if(C[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(D[e+a|0]!=10){continue}break}e=Fe[C[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}a=a+d|0;b=b-d|0;f=C[c+20>>2]}jf(f,a,b);C[c+20>>2]=C[c+20>>2]+b;e=b+d|0}return e}function wM(a,b){a=a|0;b=b|0;var c=0,d=0;c=Fe[C[a+508>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+364|0;c=Ff(b,283776,d);if(c){break a}C[a+460>>2]=0;C[a+452>>2]=0;C[a+456>>2]=0;C[a+444>>2]=0;C[a+448>>2]=0;B[a+464>>1]=65535;if(!E[a+364>>1]){return 0}c=Ff(b,283952,d);if(c){break a}if(E[d>>1]<2){return 0}c=Ff(b,283968,d);if(c){break a}c=0;if(E[d>>1]<5){break a}c=Ff(b,284e3,d)}return c|0}function Zh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|!b)){d=B[a+2>>1];a:{if(!d){d=0;a=0;break a}c=C[a+4>>2];e=C[c+4>>2];f=C[c>>2];if((d|0)<2){d=e;a=f;break a}i=(d<<3)+c|0;h=c+8|0;a=f;d=e;while(1){g=C[c+12>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;c=C[c+8>>2];a=(a|0)<(c|0)?c:a;f=(c|0)<(f|0)?c:f;c=h;h=c+8|0;if(i>>>0>h>>>0){continue}break}}C[b+8>>2]=a;C[b>>2]=f;C[b+12>>2]=d;C[b+4>>2]=e}}function UO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;C[a+8>>2]=c;C[a+4>>2]=b;C[a+12>>2]=0;C[a+16>>2]=d;C[a>>2]=b;b=C[54847];C[a+20>>2]=C[54846];C[a+24>>2]=b;b=C[54849];C[a+28>>2]=C[54848];C[a+32>>2]=b;b=C[54851];C[a+36>>2]=C[54850];C[a+40>>2]=b;b=C[54853];C[a+44>>2]=C[54852];C[a+48>>2]=b;b=C[54855];C[a+52>>2]=C[54854];C[a+56>>2]=b;b=C[54857];C[a+60>>2]=C[54856];C[a+64>>2]=b;C[a+68>>2]=C[54858]}function zn(a,b){var c=0,d=0,e=0,f=0;a:{c=C[94753];if(c){while(1){f=C[c+72>>2];if(!(Fe[a|0](b,c)|0)){d=C[c+68>>2];if(d){C[d+72>>2]=C[c+72>>2]}e=C[c+72>>2];if(e){C[e+68>>2]=d}if(C[94753]==(c|0)){C[94753]=e}if(C[94754]==(c|0)){C[94754]=C[c+68>>2]}if(C[c>>2]==32512){C[104597]=C[104597]-1}C[c+72>>2]=C[94755];C[94755]=c;C[94751]=C[94751]-1}c=f;if(c){continue}break}}if(!C[94749]){break a}}}function GL(a){a=a|0;var b=0,c=0,d=0;b=C[a+200>>2];d=b+10|0;if(d>>>0<=F[a+204>>2]){c=D[b|0]|D[b+1|0]<<8;B[a+32>>1]=c<<8|c>>>8;c=D[b+2|0]|D[b+3|0]<<8;C[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=D[b+4|0]|D[b+5|0]<<8;C[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=D[b+6|0]|D[b+7|0]<<8;C[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=D[b+8|0]|D[b+9|0]<<8;C[a+200>>2]=d;C[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function vI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=C[a+4>>2];if(!d){break a}if(d>>>0>=4){e=d&-4;a=0;while(1){A[b|0]=D[c|0]+D[b|0];A[b+1|0]=D[c+1|0]+D[b+1|0];A[b+2|0]=D[c+2|0]+D[b+2|0];A[b+3|0]=D[c+3|0]+D[b+3|0];b=b+4|0;c=c+4|0;a=a+4|0;if((e|0)!=(a|0)){continue}break}}d=d&3;if(!d){break a}a=0;while(1){A[b|0]=D[c|0]+D[b|0];b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function pQ(a){a=a|0;var b=0,c=0;if(F[a+404>>2]>=a+32>>>0){c=C[a+412>>2];b=Nh(a+16|0,0);C[c+84>>2]=(b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0;b=Nh(a+20|0,0);C[c+88>>2]=(b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0;b=Nh(a+24|0,0);C[c+92>>2]=(b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0;a=Nh(a+28|0,0);C[c+96>>2]=(a|0)>=0?a+32768&-65536:0-(32768-a&-65536)|0;a=0}else{a=161}return a|0}function ls(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;c=D[a+80|0]|D[a+81|0]<<8|(D[a+82|0]<<16|D[a+83|0]<<24);a:{if((c|0)>=9){C[e>>2]=9;a=Qe(21233,e);break a}d=c+1|0;A[a+80|0]=d;A[a+81|0]=d>>>8;A[a+82|0]=d>>>16;A[a+83|0]=d>>>24;f=c<<2;c=a+40|0;a=f+c|0;A[a|0]=b;A[a+1|0]=b>>>8;A[a+2|0]=b>>>16;A[a+3|0]=b>>>24;a=c+(d<<2)|0;A[a|0]=0;A[a+1|0]=0;A[a+2|0]=0;A[a+3|0]=0;a=0}Ce=e+16|0;return a}function aS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;e=E[b+40>>1];a:{if(e>>>0>2){break a}f=1026;if((a|0)==5){f=1025;if(!(C[c+32>>2]|!C[105681])){za(C[c+12>>2],0)|0}g=1}rn(C[c+4>>2],0,g,e+1&255);U(C[c+12>>2],d+8|0,d|0)|0;a=C[b+52>>2];if((a|0)<0|H[d+8>>3]<=+(a|0)){break a}a=C[b+56>>2];if((a|0)<0|H[d>>3]<=+(a|0)){break a}h=(qf(f,-1)|0)==1}Ce=d+16|0;return h|0}function XO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;c=C[a>>2];a:{if(!c){break a}f=C[a+32>>2];b=hf(f,C[a+4>>2],d+12|0);C[a>>2]=b;if(C[d+12>>2]){break a}t(b,c,C[a+4>>2]);e=C[a+16>>2];if((e|0)>0){h=C[a>>2]-c|0;b=C[a+24>>2];e=b+(e<<2)|0;while(1){g=C[b>>2];if(g){C[b>>2]=h+g}b=b+4|0;if(e>>>0>b>>>0){continue}break}}C[a+8>>2]=C[a+4>>2];if(c){Fe[C[f+8>>2]](f,c)}}Ce=d+16|0}function HO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=C[a+12>>2];a:{if((B[d+22>>1]+B[d+58>>1]|0)+1>>>0>F[d+4>>2]){d=Qg(d,1,0);if(d){break a}}d=C[a+20>>2];if(D[a+68|0]){f=C[d+8>>2];e=B[d+2>>1];a=C[d+4>>2]+(e<<3)|0;C[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;C[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;A[f+e|0]=1}B[d+2>>1]=E[d+2>>1]+1;d=0}return d|0}function uq(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ce-32|0;Ce=c;f=C[105769];a:{b:{if((f|0)<=0){break b}g=C[105770];while(1){e=C[(d<<2)+g>>2];if(C[e>>2]!=(a|0)|C[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(C[C[105780]+12>>2]){C[c+16>>2]=a;Qe(15190,c+16|0);a=C[105780];Fe[C[a+12>>2]](a);break c}C[c>>2]=a;Qe(4582,c)}e=0}Ce=c+32|0;return e}function mv(a,b){var c=0;c=C[a+744>>2];if(c){nf(a,c);C[a+744>>2]=0}a:{b:{c=C[a+732>>2];if(!(c+1>>>0>=2&b>>>0>c>>>0)){C[a+748>>2]=b;A[a+740|0]=0;c=C[a+372>>2];A[a+739|0]=c;A[a+752|0]=C[a+204>>2];A[a+738|0]=c>>>8;A[a+737|0]=c>>>16;A[a+736|0]=c>>>24;if(!b){C[a+744>>2]=0;break a}c=ch(a,b);C[a+744>>2]=c;if(c){break b}}ef(a,b);ff(a,6134);return 0}Xf(a,c,b);_f(a,c,b)}ef(a,0);return 1}function ZF(){var a=0,b=0,c=0;a=Ce+-64|0;Ce=a;b=Ml(18890,1,418264,418256);a:{if((b|0)==-1){break a}if((qf(4352,-1)|0)!=1){break a}c=a+8|0;mf(c,0,56);A[a+20|0]=0;C[a+16>>2]=b;C[a+8>>2]=4352;Df(c)}b:{if(!C[104556]){break b}b=Ml(18984,2,418268,418260);if((b|0)==-1){break b}if((qf(4352,-1)|0)!=1){break b}c=a+8|0;mf(c,0,56);A[a+20|0]=1;C[a+16>>2]=b;C[a+8>>2]=4352;Df(c)}Ce=a- -64|0}function uI(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,k=0,l=0,m=0;e=C[a+4>>2];a=D[c|0];d=a+D[b|0]|0;A[b|0]=d;if((e|0)>=2){l=b+e|0;b=b+1|0;while(1){h=d&255;d=h-a|0;f=d>>31;e=D[c+1|0];g=e-a|0;i=g>>31;j=d+g|0;k=j>>31;m=a;a=(d^f)-f|0;d=(g^i)-i|0;f=a>>>0>>0;d=D[b|0]+((k^j)-k>>>0<(f?a:d)>>>0?m:f?e:h)|0;A[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(l>>>0>b>>>0){continue}break}}}function hy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;C[b>>2]=0;a:{if(!a){break a}d=C[a+8>>2];if(!d){break a}e=C[C[a>>2]>>2];while(1){g=C[C[a>>2]+(f<<2)>>2];h=D[g|0];if(h){while(1){A[c+e|0]=h;c=c+1|0;h=D[g+1|0];g=g+1|0;if(h){continue}break}d=C[a+8>>2]}f=f+1|0;if(f>>>0>>0){A[c+e|0]=32;d=C[a+8>>2];c=c+1|0}if(d>>>0>f>>>0){continue}break}if((e|0)!=213056){A[c+e|0]=0}C[b>>2]=c}return e}function xr(a,b,c){var d=0,e=0;d=84608;a:{if(!a|!c){break a}e=C[a+16>>2];if(e>>>0<=b>>>0){break a}if(C[a+4>>2]){C[a+4>>2]=0}d=e-b|0;c=c>>>0>>0?c:d;d=C[a>>2];if(d){C[a>>2]=d+1}if(!c){Ue(a);return 84608}b:{if((c|0)>=0){e=C[a+12>>2];d=df(1,32);if(d){break b}}Ue(a);return 84608}C[d+28>>2]=86;C[d+24>>2]=a;C[d+20>>2]=1;C[d+16>>2]=c;C[d+12>>2]=b+e;C[d>>2]=1;C[d+4>>2]=1}return d}function uv(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;C[e>>2]=b;Tg(34463,e);a:{c=gi(b,3689);b:{if(c){Fe[C[c+4>>2]](c,0,0,2)|0;b=Fe[C[c+4>>2]](c,0,0,1)|0;Fe[C[c+4>>2]](c,0,0,0)|0;d=kf(b+1|0);if(!d){break b}f=Fe[C[c+8>>2]](c,d,1,b)|0;if(f>>>0>b>>>0){break a}A[d+f|0]=0;Fe[C[c+16>>2]](c)|0;break b}b=1;d=df(1,1)}C[a+4>>2]=b;C[a>>2]=d;Ce=e+16|0;return}La(15869,15053,43,17399);s()}function AG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:C[c>>2]=6081;C[d>>2]=6078;return 1;case 1:C[c>>2]=6081;C[d>>2]=6079;return 1;case 2:C[c>>2]=6081;C[d>>2]=6080;return 1;case 6:C[c>>2]=6081;C[d>>2]=6084;return 1;case 7:C[c>>2]=6081;C[d>>2]=6085;return 1;default:break a}}a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;return(Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0)!=0|0}function $k(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 0}b=D[a|0];a:{if(!b){break a}c=213104;e=10;b:{if((b|0)!=48){break b}if((D[a+1|0]|32)!=120){b=48;break b}b=D[a+2|0];c=213072;e=16;a=a+2|0}d=a;a=b<<24>>24;f=b&248;b=0;if(!(D[(f>>>3|0)+c|0]>>>(a&7)&1)){break a}while(1){b=D[a+213136|0]+I(b,e)|0;a=A[d+1|0];d=d+1|0;if(D[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}return b}function Mm(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=D[a|0];if(!b){break a}c=213104;e=10;b:{if((b|0)!=48){break b}if((D[a+1|0]|32)!=120){b=48;break b}b=D[a+2|0];c=213072;e=16;a=a+2|0}d=a;a=b<<24>>24;if(!(D[((b&248)>>>3|0)+c|0]>>>(a&7)&1)){break a}while(1){f=D[a+213136|0]+I(e,f)|0;a=A[d+1|0];d=d+1|0;if(D[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}return f&65535}function FS(a){a=a|0;var b=0,c=0,d=0,e=0;c=C[105716];a:{if((a|0)<=0){break a}d=a&7;b:{if(!d){b=a;break b}b=a;while(1){b=b-1|0;c=C[c+1320>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(a>>>0<8){break a}while(1){a=b-9|0;c=C[C[C[C[C[C[C[C[c+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];b=b-8|0;if(a>>>0<4294967294){continue}break}}return C[c+12>>2]}function lA(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=C[b+80>>2];e=C[a+548>>2];h=ai();g=C[e>>2];a:{if((h|0)!=(g|0)){C[e+468>>2]=0;if((Bh(C[a+204>>2],g)|0)<0){break a}}a=C[a+548>>2];if(!C[a+4>>2]){break a}while(1){if(Fe[C[a+100>>2]]()|0){continue}break}}Fe[C[e+20>>2]](C[f+4>>2],C[f>>2]);C[e+412>>2]=b;if(c){C[c>>2]=1065353216}if(d){C[d>>2]=1065353216}return 0}function gs(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=C[a>>2];if(!d){break b}g=C[d+4>>2];e=C[d>>2]-g|0;e=c>>>0>>0?c:e;gf(f,(d+g|0)+12|0,e);C[d+4>>2]=e+C[d+4>>2];C[a+16>>2]=C[a+16>>2]-e;c=c-e|0;if(C[d+4>>2]==C[d>>2]){C[a>>2]=C[d+8>>2];C[d+8>>2]=C[a+8>>2];C[a+8>>2]=d}f=e+f|0;if(c){continue}break}}if(C[a>>2]){break a}}C[a+4>>2]=0}return f-b|0}function HS(a){a=a|0;var b=0,c=0,d=0,e=0;c=C[105716];a:{if((a|0)<=0){break a}d=a&7;b:{if(!d){b=a;break b}b=a;while(1){b=b-1|0;c=C[c+1320>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(a>>>0<8){break a}while(1){a=b-9|0;c=C[C[C[C[C[C[C[C[c+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2]+1320>>2];b=b-8|0;if(a>>>0<4294967294){continue}break}}return C[c+4>>2]}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,i=0;d=B[a+294>>1];e=I(d,b>>16);b=I(d,b&65535);d=e<<16;f=b+d|0;a=B[a+296>>1];g=I(a,c&65535);c=I(a,c>>16);h=c<<16;a=g+h|0;i=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>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function kL(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;d=B[a+290>>1];e=I(d,b>>16);b=I(d,b&65535);d=e<<16;f=b+d|0;a=B[a+292>>1];g=I(a,c&65535);c=I(a,c>>16);h=c<<16;a=g+h|0;i=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>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function Yy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=a+c|0;g=f>>31;h=b+d|0;i=h>>31;e=c;c=c>>31;c=(e^c)-c|0;e=d;d=d>>31;d=(e^d)-d|0;e=a;a=a>>31;a=(e^a)-a|0;e=b;b=b>>31;b=(e^b)-b|0;c=(I(c>>>0>>0?c:d,3)>>>3|0)+(c>>>0>d>>>0?c:d)+((I(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b))|0;a=(g^f)-g|0;b=(i^h)-i|0;a=(I(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;return(c-a|0)<(a>>>4|0)}function kR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=C[b+4>>2];C[a+2988>>2]=b;c=C[b+28>>2];C[a+4>>2]=C[b+44>>2];C[a+8>>2]=C[b+48>>2];C[a+12>>2]=C[b+1616>>2];C[a+16>>2]=C[b+1620>>2];d=C[b+24>>2];c=!(A[e+12|0]&1)&(d|0)!=1?c:c|1;C[a+2980>>2]=D[C[C[b+36>>2]+212>>2]+20|0]?c:c|8;c=a;a=(d&-2)==2;b=a|2;e=(d|0)==4?b:a;a=(d|0)==2;b=a?b:e;b=(d|0)==1?b:b|4;C[c+2984>>2]=a?b|8:b;return 0}function mS(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=Ce-32|0;Ce=a;f=C[b+164>>2];Nf(C[f+8>>2]);Ej(374740996,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0);bi(b,a+28|0,a+24|0);b=wi(0,C[a+28>>2],C[a+24>>2],C[a+20>>2],C[a+16>>2],C[a+12>>2],C[a+8>>2],C[a+4>>2]);a:{if(!b){g=-1;break a}C[f+8>>2]=b;C[c>>2]=374740996;C[d>>2]=C[b+20>>2];C[e>>2]=C[b+16>>2]}Ce=a+32|0;return g|0}function dr(a,b,c){var d=0,e=0,f=0,g=0;g=1;e=1;d=C[a>>2];a:{if((d|0)<=0){break a}f=C[a+4>>2];if(D[f+3|0]==255){a=0;while(1){a=a+1|0;if((d|0)==(a|0)){break a}if(D[((a<<2)+f|0)+3|0]==255){continue}break}if((a|0)>=(d|0)){break a}}if(!D[f+3|0]){a=0;while(1){a=a+1|0;if((d|0)==(a|0)){e=0;break a}if(!D[((a<<2)+f|0)+3|0]){continue}break}e=(a|0)<(d|0)}g=!e}C[b>>2]=g;C[c>>2]=e}function GR(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=C[b+4>>2];d=C[a+4>>2];if((c|0)!=(d|0)){break a}c=C[b+8>>2];d=C[a+8>>2];if((c|0)!=(d|0)){break a}d=C[a>>2];c=d>>>8&255;e=C[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}b=C[b+12>>2];a=C[a+12>>2];return((a|0)!=(b|0)?b-a|0:0)|0}return c-d|0}function bp(a,b){var c=0,d=0,e=0,f=0;d=Ce-32|0;Ce=d;c=-129;a=C[a+28>>2];a:{if(!a|C[a+8>>2]<=0){break a}f=C[b+4>>2];e=d+12|0;c=e;b=C[b>>2];C[c+12>>2]=b;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=f;C[c+8>>2]=b;c=-135;if(Ye(e,1)){break a}c=-136;b=Ye(d+12|0,ug(C[a+8>>2]-1|0));if((b|0)==-1){break a}b=C[(a+(b<<2)|0)+32>>2];if(!b){break a}c=C[a+(C[b>>2]<<2)>>2]}Ce=d+32|0;return c}function Sl(a){var b=0,c=0,d=0;if(D[a+73|0]){a:{if(C[a+96>>2]==C[a+92>>2]){b=C[a+84>>2];if((b|0)==C[a+76>>2]){break a}}if(!$e(a,1,1)){return}c=C[a+92>>2]+I(C[a+76>>2],20)|0;d=C[c+4>>2];b=C[a+96>>2]+I(C[a+84>>2],20)|0;C[b>>2]=C[c>>2];C[b+4>>2]=d;C[b+16>>2]=C[c+16>>2];d=C[c+12>>2];C[b+8>>2]=C[c+8>>2];C[b+12>>2]=d;b=C[a+84>>2]}C[a+84>>2]=b+1}C[a+76>>2]=C[a+76>>2]+1}function En(a){var b=0,c=0,d=0,e=0,f=0;if(!(!a|a-1&a)){return D[(a?L(a)^31:-1)+418112|0]?a:0}a=a?a:62001;c=L(a);b=32-c|0;e=b&1;a:{if((c|0)==31){b=0;c=0;break a}f=b&-2;b=0;c=0;while(1){b=!(a&1)|!D[c+418112|0]?b:1<>>2|0;c=c+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(!D[c+418112|0]|(!e|!(a&1)))){b=1<>2];e=Vi(C[a+96>>2],6758);a:{if(!e|!C[c+12>>2]){break a}while(1){a=E[C[c+1160>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=F[c+1312>>2]){break b}a=C[C[c+1316>>2]+(a<<2)>>2];break c}a=Fe[C[e+20>>2]](a)|0}if(!a){break b}if(!Se(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function dM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;f=C[a+16>>2];d=E[a+8>>1];c=d>>>1|0;b=Ve(b,1,0,c+1|0,0,e+12|0);Ce=e+16|0;if(C[e+12>>2]){b=g}else{a=0;a:{if(d>>>0<2){break a}g=c>>>0<=1?1:c;while(1){c=D[f+1|0];d=c|D[f|0]<<8;if(!d){break a}A[a+b|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}a=g}A[a+b|0]=0}return b|0}function gi(a,b){var c=0;c=Ce-16|0;Ce=c;a:{b:{if(!(!D[a|0]|(!a|!b))){if(D[b|0]){break b}}a=0;Qe(20692,0);break a}b=cv(a,b);if(!b){C[c>>2]=a;Qe(8253,c);a=0;break a}a=Fe[C[94762]](36)|0;if(a){C[94766]=C[94766]+1}if(!a){a=0;_e(0);break a}C[a+16>>2]=659;C[a+12>>2]=660;C[a+8>>2]=661;C[a+4>>2]=662;C[a>>2]=663;C[a+20>>2]=2;C[a+24>>2]=1;C[a+28>>2]=b}Ce=c+16|0;return a}function Fl(a,b,c){var d=0,e=0,f=0,g=J(0),h=0,i=0,j=J(0),k=0,l=J(0),m=0,n=J(0),o=0,p=J(0);e=+c;c=J(0);while(1){h=f<<3;d=h+a|0;g=G[d>>2];i=mh(e);j=G[d+4>>2];k=pi(e);l=G[d>>2];m=pi(e);n=G[d+4>>2];o=mh(e);p=c;d=b+h|0;c=J(J(i*+g-k*+j)-G[d>>2]);g=J(c*c);c=J(J(m*+l+o*+n)-G[d+4>>2]);c=J(p+J(R(+J(g+J(c*c)))));f=f+1|0;if((f|0)!=64){continue}break}return J(c*J(.015625))}function Do(a){var b=0,c=0,d=0,e=0;d=+Zb();b=d/1e3;a:{if(K(b)<0x8000000000000000){e=~~b>>>0;c=K(b)>=1?~~(b>0?M(O(b*2.3283064365386963e-10),4294967295):P((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break a}c=-2147483648}C[a>>2]=e;C[a+4>>2]=c;b=(d-(+(mT(e,c,1e3,0)>>>0)+ +(Ee|0)*4294967296))*1e3;b:{if(K(b)<2147483648){c=~~b;break b}c=-2147483648}C[a+8>>2]=c}function wO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=C[b>>2];while(1){d=d+1|0;if(d>>>0>255){C[b>>2]=0;return 0}f=Fe[C[a+20>>2]](E[C[a+16>>2]+(d<<1)>>1])|0;g=C[a+24>>2];a:{if(g){h=C[a+28>>2];c=0;while(1){e=C[(c<<2)+h>>2];if(!(!e|D[e|0]!=D[f|0])){if(!Se(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}C[b>>2]=d;return c|0}function Gl(a,b){var c=0,d=0;if(!a){Qe(9497,0);return}C[a+24>>2]=(b|0)>0?b:0;ns(a);b=0;while(1){c=I(b,84)+a|0;a:{if(!C[c+52>>2]){break a}C[c+52>>2]=0;C[c+56>>2]=0;d=C[c+84>>2];if(d){if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}C[c+84>>2]=0}d=C[c+60>>2];if(!d){break a}if(d){Fe[C[94765]](d);C[94766]=C[94766]-1}C[c+60>>2]=0}b=b+1|0;if((b|0)!=256){continue}break}}function vg(a,b){var c=0,d=0;c=C[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(D[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;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=D[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}C[a>>2]=c}function AL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;a=C[C[a+156>>2]>>2];d=Ve(C[a>>2],8,0,C[a+4>>2]<<1,0,c+12|0);C[a+40>>2]=d;e=C[c+12>>2];if(!e){A[a+16|0]=1;f=(C[a+4>>2]<<3)+d|0;C[a+44>>2]=f;b=B[a+22>>1];C[a- -64>>2]=b+C[a+28>>2];C[a+68>>2]=C[a+32>>2]+(B[a+20>>1]<<1);b=b<<3;C[a+60>>2]=b+C[a+24>>2];C[a+80>>2]=b+f;C[a+76>>2]=b+d}Ce=c+16|0;return e|0}function eg(a,b,c){var d=0;d=Ce+-64|0;Ce=d;if(C[c>>2]){_i(a,b);_i(a,28813);a:{b:{switch(C[c>>2]-1|0){case 0:C[d>>2]=D[c+4|0];rf(d+48|0,16,14628,d);break a;case 1:C[d+16>>2]=D[c+4|0];rf(d+48|0,16,14632,d+16|0);break a;case 2:break b;default:break a}}b=D[c+4|0];C[d+36>>2]=b&15;C[d+32>>2]=b>>>4;rf(d+48|0,16,14636,d+32|0)}_i(a,d+48|0);_i(a,32172)}Ce=d- -64|0}function LH(a,b){a=a|0;b=b|0;var c=0,d=0;c=D[a+2|0]|D[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=84608}c=C[b+100>>2];c=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)!=-1){d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}a=ht(a,b)}else{a=0}return a|0}function KI(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 j=0;if(!(!a|!b)){if(c){C[c>>2]=C[b>>2]}if(d){C[d>>2]=C[b+4>>2]}if(e){C[e>>2]=D[b+24|0]}if(f){C[f>>2]=D[b+25|0]}if(h){C[h>>2]=D[b+26|0]}if(i){C[i>>2]=D[b+27|0]}c=D[b+28|0];if(g){C[g>>2]=c}yv(a,C[b>>2],C[b+4>>2],D[b+24|0],D[b+25|0],c,D[b+26|0],D[b+27|0]);j=1}return j|0}function JH(a,b){a=a|0;b=b|0;var c=0,d=0;c=D[a+2|0]|D[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=84608}c=C[b+100>>2];c=zf(d,C[C[c+92>>2]+I(C[c+76>>2],20)>>2]);if((c|0)!=-1){d=D[a+4|0]|D[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?84608:((c<<1)+a|0)+6|0;c=D[c|0]|D[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=84608}a=gt(a,b)}else{a=0}return a|0}function Ue(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=C[a>>2];if(!b){break a}C[a>>2]=b-1;if((b|0)!=1){break a}C[a>>2]=-57005;b=C[a+8>>2];if(b){c=C[b+8>>2];if(c){while(1){c=c-1|0;d=C[b+12>>2]+I(c,12)|0;e=C[d+8>>2];d=C[d+4>>2];C[b+8>>2]=c;if(e){Fe[e|0](d);c=C[b+8>>2]}if(c){continue}break}}Re(C[b+12>>2]);Re(b)}b=C[a+28>>2];if(b){Fe[b|0](C[a+24>>2])}Re(a)}}function zo(a,b,c,d){var e=0,f=0,g=0,h=0;g=I(b,c);e=C[d+72>>2];C[d+72>>2]=e-1|e;e=C[d+4>>2];f=C[d+8>>2];if((e|0)==(f|0)){e=g}else{h=e;e=f-e|0;e=e>>>0>>0?e:g;jf(a,h,e);C[d+4>>2]=e+C[d+4>>2];a=a+e|0;e=g-e|0}if(e){while(1){a:{if(!Ao(d)){f=Fe[C[d+32>>2]](d,a,e)|0;if(f){break a}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function iO(a){a=a|0;var b=0;b=C[a+8>>2];p(a+16|0,0,84);C[a+136>>2]=958;C[a+132>>2]=959;C[a+128>>2]=960;C[a+124>>2]=961;C[a+120>>2]=962;C[a+116>>2]=963;C[a+108>>2]=964;C[a+104>>2]=965;C[a+100>>2]=966;C[a+12>>2]=b;C[a+164>>2]=958;C[a+160>>2]=967;C[a+156>>2]=968;C[a+152>>2]=969;C[a+148>>2]=962;C[a+144>>2]=970;b=a+12|0;C[a+112>>2]=b;C[a+140>>2]=b;return 0}function dh(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+3>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=C[a+8>>2];b=d+12|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}f=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+4}Ce=d+16|0;return f}function AP(a){a=a|0;var b=0,c=0,d=0,e=0;b=C[a+12>>2];if(b){e=C[a+28>>2];C[b+104>>2]=0;C[b+48>>2]=0;C[b+36>>2]=0;C[b+40>>2]=0;A[b+44|0]=0;C[b- -64>>2]=9;C[b+12>>2]=0;C[b+16>>2]=0;d=C[b+180>>2];c=C[b+100>>2];if((c|0)!=(b+112|0)){if(c){Fe[C[d+8>>2]](d,c)}C[b+100>>2]=0}c=C[b+88>>2];if(c){Fe[C[d+8>>2]](d,c)}p(b,0,184);if(b){Fe[C[e+8>>2]](e,b)}C[a+12>>2]=0}}function wQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!Se(b,6477)){C[c>>2]=C[a+36>>2];C[c+4>>2]=C[a+40>>2];C[c+8>>2]=C[a+44>>2];C[c+12>>2]=C[a+48>>2];C[c+16>>2]=C[a+52>>2];C[c+20>>2]=C[a+56>>2];C[c+24>>2]=C[a+60>>2];C[c+28>>2]=C[a- -64>>2];break b}if(!Se(b,17056)){C[c>>2]=C[a+28>>2];break b}d=12;if(Se(b,15272)){break a}A[c|0]=D[a+32|0]}d=0}return d|0}function OP(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=Ce-16|0;Ce=b;f=C[a>>2];a=af(c);f=hf(f,a+6|0,b+12|0);g=C[b+12>>2];if(!g){t(f,c,a);a=a+f|0;c=D[21514]|D[21515]<<8;A[a+4|0]=c;A[a+5|0]=c>>>8;c=D[21510]|D[21511]<<8|(D[21512]<<16|D[21513]<<24);A[a|0]=c;A[a+1|0]=c>>>8;A[a+2|0]=c>>>16;A[a+3|0]=c>>>24;C[d>>2]=f;C[e>>2]=0}Ce=b+16|0;return g|0}function pP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=C[a+20>>2];g=C[a+16>>2];a:{b:{if(g){h=C[b>>2]+1|0;a=g;while(1){e=a+c>>>1|0;d=C[(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=C[(c<<3)+f>>2]}i=a;a=E[((c<<3)+f|0)+4>>1]+1|0}C[b>>2]=i;return a|0}function iN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=C[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=C[a+16>>2];c=D[a+6|0]<<8|D[a+7|0];d=d>>>0>c>>>0?d:c;c=d-c|0;e=D[a+9|0]|D[a+8|0]<<8;if(c>>>0>=e>>>0){break a}a=(a+(c<<1)|0)+10|0;while(1){f=D[a+1|0]|D[a|0]<<8;if(f){C[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}}C[b>>2]=0;return 0}function wh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!c|!d){break a}f=a;a=C[b+1284>>2];g=rg(f,a<<2);if((a|0)<=0){break a}k=65536-e|0;b=0;while(1){f=b<<2;h=f+g|0;i=c+f|0;f=d+f|0;j=(I(C[i>>2]&32767,k)+I(C[f>>2]&32767,e)|0)+32768>>16;C[h>>2]=j;if(!(!(D[i+1|0]&128)|!(D[f+1|0]&128))){C[h>>2]=j|32768}b=b+1|0;if((a|0)!=(b|0)){continue}break}}return g}function Uq(a){var b=0,c=0;b=C[a+76>>2];a=C[a+36>>2];a:{if((b|0)!=C[a+448>>2]){break a}b=C[a+436>>2];if(!b){break a}c=Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}return c}function Vi(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}c=C[C[a>>2]+32>>2];if(c){c=Fe[c|0](a,b)|0;if(c){break a}}c=C[a+4>>2];e=C[c+16>>2];if((e|0)<=0){break b}d=c+20|0;e=d+(e<<2)|0;while(1){c=C[d>>2];c:{if((c|0)==(a|0)){break c}f=C[C[c>>2]+32>>2];if(!f){break c}c=Fe[f|0](c,b)|0;if(c){break a}}d=d+4|0;if(e>>>0>d>>>0){continue}break}}c=0}return c}function sx(a,b,c,d){var e=0,f=0,g=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;a:{if(!b){break a}b:{e=b-1|0;if(D[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){if(A[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break c}break}e=0;break a}e=hf(c,b+1|0,f+12|0);g=C[f+12>>2];if(g){break a}t(e,a,b);A[b+e|0]=0;g=C[f+12>>2]}C[d>>2]=e;Ce=f+16|0;return g}function ZP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=C[a+20>>2];h=C[a+16>>2];a:{b:{if(h){d=C[b>>2]+1|0;a=h;while(1){f=a+c>>>1|0;e=C[(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=C[(c<<3)+g>>2]}i=E[((c<<3)+g|0)+4>>1]+1&65535}C[b>>2]=d;return i|0}function QP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-48|0;Ce=b;f=C[a>>2];c=Yk(f,c,22218);a:{if(!c){a=64;break a}C[b+28>>2]=c;C[b+16>>2]=4;b:{a=_k(a,b+16|0,b+12|0);if(a){break b}a=C[b+12>>2];if(!a){rj(0,0);a=81;break b}a=Zk(a,333319,e);rj(C[b+12>>2],0);if(a){break b}C[d>>2]=c;a=0;break a}if(c){Fe[C[f+8>>2]](f,c)}}Ce=b+48|0;return a|0}function KP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-48|0;Ce=b;f=C[a>>2];c=Yk(f,c,34232);a:{if(!c){a=64;break a}C[b+28>>2]=c;C[b+16>>2]=4;b:{a=_k(a,b+16|0,b+12|0);if(a){break b}a=C[b+12>>2];if(!a){rj(0,0);a=81;break b}a=Zk(a,333319,e);rj(C[b+12>>2],0);if(a){break b}C[d>>2]=c;a=0;break a}if(c){Fe[C[f+8>>2]](f,c)}}Ce=b+48|0;return a|0}function JP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-48|0;Ce=b;f=C[a>>2];c=Yk(f,c,29936);a:{if(!c){a=64;break a}C[b+28>>2]=c;C[b+16>>2]=4;b:{a=_k(a,b+16|0,b+12|0);if(a){break b}a=C[b+12>>2];if(!a){rj(0,0);a=81;break b}a=Zk(a,333319,e);rj(C[b+12>>2],0);if(a){break b}C[d>>2]=c;a=0;break a}if(c){Fe[C[f+8>>2]](f,c)}}Ce=b+48|0;return a|0}function iI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=C[a+84>>2];f=C[e+4>>2];g=C[a+28>>2];d=C[a+20>>2]-g|0;d=d>>>0>f>>>0?f:d;if(d){jf(C[e>>2],g,d);C[e>>2]=d+C[e>>2];f=C[e+4>>2]-d|0;C[e+4>>2]=f}d=C[e>>2];f=c>>>0>f>>>0?f:c;if(f){jf(d,b,f);d=f+C[e>>2]|0;C[e>>2]=d;C[e+4>>2]=C[e+4>>2]-f}A[d|0]=0;b=C[a+44>>2];C[a+28>>2]=b;C[a+20>>2]=b;return c|0}function Ro(a,b,c,d,e){var f=0,g=0,h=0;if(!((c|0)<0|(d|0)<=0|(!e|!(c?b:1)))){a:{if((c^2147483647)>>>0>>0){break a}f=c+d|0;mT(e,0,f,0);if(Ee){break a}f=I(e,f);if(!f){break a}b:{c:{if(!a){break c}h=C[a+692>>2];if(!h){break c}a=Fe[h|0](a,f)|0;break b}a=kf(f)}if(!a){break a}if(c){g=I(c,e);jf(a,b,g)}We(a+g|0,0,I(d,e));g=a}return g}Af(a,21535);s()}function JJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[a>>2];d=C[a+44>>2];if(d){e=C[d>>2];if(!(!e|!C[e+96>>2])){C[e+88>>2]=d}}d=Xx(C[c+500>>2],b);if(!d){b=C[C[c+500>>2]+88>>2];c=C[b+16>>2];C[a+12>>2]=C[b+12>>2];C[a+16>>2]=c;C[a+36>>2]=C[b+36>>2];c=C[b+32>>2];C[a+28>>2]=C[b+28>>2];C[a+32>>2]=c;c=C[b+24>>2];C[a+20>>2]=C[b+20>>2];C[a+24>>2]=c}return d|0}function IJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[a>>2];d=C[a+44>>2];if(d){e=C[d>>2];if(!(!e|!C[e+96>>2])){C[e+88>>2]=d}}d=Yp(C[c+500>>2],b);if(!d){b=C[C[c+500>>2]+88>>2];c=C[b+16>>2];C[a+12>>2]=C[b+12>>2];C[a+16>>2]=c;C[a+36>>2]=C[b+36>>2];c=C[b+32>>2];C[a+28>>2]=C[b+28>>2];C[a+32>>2]=c;c=C[b+24>>2];C[a+20>>2]=C[b+20>>2];C[a+24>>2]=c}return d|0}function bk(a,b){var c=0,d=0,e=0,f=0,g=0;d=-131;c=-1;a:{if(!C[a+4>>2]|C[a+88>>2]<2){break a}e=C[a+52>>2];if((e|0)<=(b|0)){break a}if((b|0)<0){d=0;c=0;if((e|0)<=0){break a}b=0;while(1){f=bk(a,b);c=c+Ee|0;g=d;d=d+f|0;c=g>>>0>d>>>0?c+1|0:c;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}a=C[a+68>>2]+(b<<4)|0;d=C[a+8>>2];c=C[a+12>>2]}Ee=c;return d}function $f(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+1>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=C[a+8>>2];b=d+14|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}b=D[b|0]|D[b+1|0]<<8;f=b<<8|b>>>8;break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+2}Ce=d+16|0;return f&65535}function Vx(a,b){var c=0,d=0,e=0,f=0;a:{if(!(C[a+8>>2]&512)|(!a|!b)){break a}b:{c:{d=C[a+128>>2];c=C[d+36>>2];switch(c+2|0){case 0:break a;case 2:break c;default:break b}}c=C[a+96>>2];e=C[C[c>>2]+32>>2];d:{if(!e){c=0;break d}c=Fe[e|0](c,4764)|0;d=C[a+128>>2]}C[d+36>>2]=c?c:-2}if(!c){break a}c=C[c+4>>2];if(!c){break a}f=Fe[c|0](a,b)|0}return f}function ep(a,b){var c=0,d=0,e=0;b=We(b,0,112);C[b+68>>2]=0;C[b+64>>2]=a;if(C[a>>2]){c=df(1,72);C[b+104>>2]=c;C[c+4>>2]=-971228160;a=b+4|0;while(1){a:{if((d|0)==7){C[c+40>>2]=a;b=a;break a}b=df(1,20);C[((d<<2)+c|0)+12>>2]=b}C[b>>2]=0;C[b+4>>2]=0;e=kf(256);C[b+12>>2]=e;C[b+8>>2]=e;A[e|0]=0;C[b+16>>2]=256;d=d+1|0;if((d|0)!=15){continue}break}}}function yK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=C[a+528>>2];if(!a){return 6}d=C[a+4>>2];C[b>>2]=d;C[b+4>>2]=C[a>>2];if(!d){return 0}g=a+88|0;h=b+8|0;b=0;while(1){c=I(b,12);e=c+h|0;C[e>>2]=C[(a+(b<<2)|0)+8>>2];c=c+g|0;f=C[c+4>>2];C[e+4>>2]=C[f>>2];C[e+8>>2]=C[((D[c|0]<<2)+f|0)-4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function lO(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;a:{if((b|0)<=0){break a}h=b&1;if((b|0)!=1){i=b&-2;b=0;while(1){d=a+e|0;f=D[d|0];A[d|0]=f^c>>>8;g=(e|1)+a|0;d=D[g|0];c=I(c+f|0,52845)+22719|0;A[g|0]=d^c>>>8;c=I(c+d|0,52845)+22719&65535;e=e+2|0;b=b+2|0;if((i|0)!=(b|0)){continue}break}}if(!h){break a}a=a+e|0;A[a|0]=D[a|0]^c>>>8}}function SO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=0;e=C[b+4>>2];a:{if(!e){break a}e=C[e+92>>2];if(!e){break a}a=Fe[C[C[e+12>>2]+12>>2]](e,c)|0}b:{if(!a){e=0;if(!D[b+12|0]|c>>>0>255){break b}c=c+61440|0;a=0;b=C[b+4>>2];c:{if(!b){break c}b=C[b+92>>2];if(!b){break c}a=Fe[C[C[b+12>>2]+12>>2]](b,c)|0}if(!a){break b}}C[d>>2]=a;e=1}return e|0}function Vs(a,b,c,d){var e=0,f=0,g=0;a:{e=I(b,20)+a|0;f=E[e+16>>1];if(!f){break a}g=D[e+18|0];if(!(g&2)){break a}B[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Vs(a,e,c,d);b:{if((c&-2)==4){C[(I(e,20)+a|0)+12>>2]=0-C[(I(b,20)+a|0)+12>>2];break b}C[(I(e,20)+a|0)+8>>2]=0-C[(I(b,20)+a|0)+8>>2]}a=I(e,20)+a|0;B[a+16>>1]=0-f;A[a+18|0]=g}}function Ki(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}l(0,0);l(1,b+1023<<20);return a*+n()}function Cw(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ce-16|0;Ce=f;C[f+12>>2]=0;g=b;if((d|0)!=128){g=f-(c+15&-16)|0;Ce=g}a:{if((c|0)<=0){break a}i=(d|0)!=128;while(1){h=Fe[e|0](a,g,c,f+12|0)|0;if((h|0)<0){break a}b:{if(!i){g=g+h|0;break b}un(b,g,E[208776],h,d);b=b+h|0}c=c-h|0;if((c|0)<=0){break a}if(!C[f+12>>2]){continue}break}}Ce=f+16|0;return c}function wf(a,b){var c=0,d=0,e=0;c=a;a=D[a|0];a:{if(!a){break a}while(1){d=D[b|0];if(!d){e=a;break a}b:{if((a|0)==(d|0)){break b}d=a-65>>>0<26?a|32:a;a=D[b|0];if((d|0)==((a-65>>>0<26?a|32:a)|0)){break b}e=D[c|0];break a}b=b+1|0;a=D[c+1|0];c=c+1|0;if(a){continue}break}}a=e&255;c=a-65>>>0<26?a|32:a;a=D[b|0];return c-(a-65>>>0<26?a|32:a)|0}function uw(a,b,c){var d=0,e=0,f=0;a:{b:{e=C[a+16>>2];d=C[e+100>>2];if(!d){while(1){f=C[e+48>>2];if(!f){break b}d=df(1,32);if(!d){C[e+100>>2]=84608;break b}Cm(d,f);if(!C[e+100>>2]){C[e+100>>2]=d;break a}Ue(C[d+20>>2]);C[d+20>>2]=0;Ue(C[d+24>>2]);Re(d);d=C[e+100>>2];if(!d){continue}break}}break a}return vp(84608,a,b,c)}return vp(d,a,b,c)}function ON(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=C[a+20>>2];a=(c+(C[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=C[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 C[f+4>>2]}function OI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{if(!a){break b}d=C[a+160>>2];c:{if(!d){C[a+164>>2]=0;if(c>>>0<=156){C[a+160>>2]=a;d=a;break c}d=ch(a,c);C[a+160>>2]=d;if(!d){break b}C[a+164>>2]=c;break c}e=C[a+164>>2];if(!e){e=156;if((a|0)!=(d|0)){break a}}if((c|0)!=(e|0)){break b}}C[a+156>>2]=b;f=d}return f|0}Af(a,20375);s()}function HG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=C[a+12>>2];a:{if(Fe[C[e+24>>2]](e,b,C[e+56>>2])>>>0<=31){e=C[a+12>>2];f=0;if(1<>2]](e,b,C[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){C[d>>2]=2527;return 1}a=C[a+12>>2];C[d>>2]=0;f=0;if(!b|!c){break a}f=(Fe[C[a+36>>2]](a,b,c,d,C[a+68>>2])|0)!=0}return f|0}function uN(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=Ce-128|0;Ce=a;f=C[b+4>>2];a:{if((d|0)<0){b=Vx(f,c);break a}d=(d|0)>=127?127:d;b=im(a,c,d);A[b+d|0]=0;b=Vx(f,b)}C[e>>2]=b;b:{c:{if(!b){d:{if(!(Xp(f,0,a,128)|(d|0)>=0)){if(Se(a,c)){break d}break c}if(!cf(a,c,d)){break c}}b=C[e>>2]}b=(b|0)!=0;break b}b=1}Ce=a+128|0;return b|0}function lS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ce-16|0;Ce=a;b=C[C[b+164>>2]+8>>2];a:{if(!b){b=Qe(1893,0);break a}A[a+12|0]=105;A[a+13|0]=105;A[a+14|0]=105;A[a+15|0]=0;c=C[b+12>>2];d=C[b+8>>2];C[a+8>>2]=C[b+20>>2];C[a>>2]=d;C[a+4>>2]=c;S(388134,a+12|0,a|0)|0;b=0;if(!(da()|0)){break a}if(!bg(22433,1)){break a}ca(0)}Ce=a+16|0;return b|0}function Xg(a,b,c){var d=0,e=0;a:{d=C[104879];if(!d){break a}while(1){if(!uf(a,C[d>>2])){a=C[d+12>>2];if(!a){break a}e=d+12|0;d=0;while(1){if(!(C[a>>2]!=(b|0)|C[a+4>>2]!=(c|0))){C[(d?d+8|0:e)>>2]=C[a+8>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}return}d=a;a=C[a+8>>2];if(a){continue}break}break a}d=C[d+16>>2];if(d){continue}break}}}function cs(a,b){var c=0,d=0,e=0,f=0;a:{d=C[104857];if((d|0)<=0){break a}e=C[104856];while(1){f=I(c,12)+e|0;if(!(C[f>>2]!=(a|0)|C[f+4>>2]!=(b|0))){if(D[419444]){C[(I(c,12)+e|0)+8>>2]=1;A[419448]=1;return}a=d-1|0;C[104857]=a;if((a|0)<=(c|0)){break a}Qh(f,(I(c,12)+e|0)+12|0,I(a-c|0,12));return}c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function uo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ce-240|0;Ce=h;C[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-C[(j<<2)+e>>2]|0;if((hj(a,g,c)|0)>=0){if((hj(a,f,c)|0)>=0){break a}}l=g;g=(hj(g,f,c)|0)>=0;f=g?l:f;C[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}Ru(b,h,i);Ce=h+240|0}function YK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=C[b+8>>2];a:{if(a){break a}while(1){e=C[b>>2];if(!e){a=84608;break a}a=df(1,48);if(!a){a=84608;C[b+8>>2]=84608;break a}nn(a,e);if(!C[b+8>>2]){C[b+8>>2]=a;break a}Ue(C[a+44>>2]);Re(a);a=C[b+8>>2];if(!a){continue}break}}b=C[a+8>>2];if(!b){return 0}return Fe[b|0](C[a+12>>2],c,d)|0}function yp(a){var b=0,c=0;c=C[a>>2];if(c){b=C[a+28>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+28>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+16>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+16>>2]=0;b=C[a+12>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+12>>2]=0;b=C[a+20>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a>>2]=0;C[a+4>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0}}function ti(a){var b=0,c=0,d=0,e=0;a:{if(C[a+12>>2]>0){break a}b:{c:{b=C[a>>2];d=C[a+8>>2];d:{if(b>>>0>=d>>>0){break d}while(1){c=1;e=b+1|0;C[a>>2]=e;e:{switch(D[b|0]-9|0){case 50:break b;case 1:case 4:break c;case 17:break d;case 0:case 23:break e;default:break a}}b=e;if((d|0)!=(b|0)){continue}break}}c=3;break b}c=2}C[a+12>>2]=c}}function KS(){var a=0,b=0,c=0;b=Ce-1440|0;Ce=b;C[105713]=0;a:{if((Ha()|0)==-1){a=Qe(20098,0);break a}c=$c()|0;if((c|0)>0){while(1){if(!(Ga(a|0,b+8|0)|0)){vz(a,b+8|0,a)}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0;if(Fa(0,0,675,2)|0){wq();a=Qe(14436,0);break a}if(!(Ea(0,0,676,2)|0)){break a}wq();a=Qe(14394,0)}Ce=b+1440|0;return a|0}function dR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=C[C[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=C[f+16>>2];if(c){b=C[C[(C[C[b+206192>>2]+4>>2]<<2)+206064>>2]+16>>2];if(b){Fe[b|0](c);c=C[f+16>>2]}if(c){Fe[C[d+8>>2]](d,c)}C[f+16>>2]=0}e=e+1|0;if((e|0)!=49){continue}break}C[a+8>>2]=0;C[a>>2]=0;C[a+4>>2]=0;if(a){Fe[C[d+8>>2]](d,a)}}}function Qi(a){var b=0,c=0,d=0,e=0,f=0;ti(a);a:{if(C[a+12>>2]>0){break a}b=C[a>>2];d=b-1|0;e=C[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;C[a>>2]=b;d:{switch(D[f|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}c=2;break b}c=1}C[a+12>>2]=c}return d}function My(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;C[a+2988>>2]=b;d=C[b+28>>2];C[a+4>>2]=C[b+44>>2];C[a+8>>2]=C[b+48>>2];C[a+12>>2]=C[b+1616>>2];C[a+16>>2]=C[b+1620>>2];c=C[b+24>>2];C[a+2980>>2]=(D[C[C[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;C[d+2984>>2]=a?b|8:b;return 0}function LJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b=C[a+160>>2];if(!b){break a}c=C[b+4>>2];a=C[c+84>>2];if(!a){break a}d=C[C[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=C[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}C[(f?f+8|0:c+84|0)>>2]=C[b+8>>2];a=C[b+20>>2];if(a){Fe[a|0](b)}aq(b);if(b){Fe[C[d+8>>2]](d,b)}}}function AO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;b=C[b+4>>2];f=c,g=Te(B[b+70>>1],C[C[b+88>>2]+20>>2]),C[f>>2]=g;f=c,g=Te(B[b+72>>1],C[C[b+88>>2]+20>>2]),C[f+4>>2]=g;e=Te(B[b+74>>1],C[C[b+88>>2]+20>>2]);b=C[c+4>>2];d=C[c>>2];e=e+(b-d|0)|0;C[c+8>>2]=e;if(C[a+24>>2]<0){C[c+8>>2]=0-e;C[c+4>>2]=0-b;C[c>>2]=0-d}return 1}function Ox(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[b>>2]=0;a:{b:{c:{d:{c=C[a+8>>2];if(F[a+4>>2]<=c+1>>>0){break d}e=C[a+20>>2];e:{if(e){if((Fe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=C[a+8>>2];b=d+14|0;break e}b=C[a>>2];if(!b){break c}b=b+c|0}f=D[b|0]|D[b+1|0]<<8;break b}C[b>>2]=85;break a}f=0}C[a+8>>2]=c+2}Ce=d+16|0;return f}function bN(a,b){a=a|0;b=b|0;var c=0;c=b;a=C[a+16>>2];b=D[a+12|0]|D[a+13|0]<<8|(D[a+14|0]<<16|D[a+15|0]<<24);c=c-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);if(c>>>0<(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0){a=a+(c<<1)|0;a=D[a+20|0]<<8|D[a+21|0]}else{a=0}return a|0}function kw(a,b,c){var d=0,e=0,f=0;e=Ce-16|0;Ce=e;d=bf(a,0);a:{if(d){break a}f=$f(a,e+12|0);d=C[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){dh(a,e+12|0);d=C[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=bf(a,0);if(d){break a}}d=Cf(a,c);if(d){break a}b=Jg(C[a+32>>2],b,c);xf(a);d=((b|0)!=0)<<1}Ce=e+16|0;return d}function CN(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=C[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>>C[a>>2];if((c|0)<0){break a}d=C[a+104>>2];if(d>>>0<=c>>>0){break a}e=C[a+60>>2]+(b>>3)|0;a=C[a+112>>2];a=(e-I(a,c)|0)+((a|0)>0?I(a,d-1|0):0)|0;A[a|0]=D[a|0]|128>>>(b&7)}}function wq(){var a=0,b=0,c=0;a=C[105716];if(a){while(1){c=C[a+1320>>2];b=C[a+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+4>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}a=c;if(a){continue}break}}C[105716]=0;C[105715]=0;C[105713]=0;C[105714]=0;Fa(0,0,0,2)|0;Ea(0,0,0,2)|0}function vR(a){a=a|0;var b=0,c=0;b=C[a>>2];if(b){a:{if((a|0)==-20){break a}b=C[b>>2];if(!b){break a}if(A[a+36|0]&1){c=C[a+24>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+24>>2]=0;c=C[a+28>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+28>>2]=0;c=C[a+32>>2];if(c){Fe[C[b+8>>2]](b,c)}}C[a+20>>2]=0;C[a+24>>2]=0;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0}}}function Ru(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ce-256|0;Ce=f;a:{if((c|0)<2){break a}h=(c<<2)+b|0;C[h>>2]=f;if(!a){break a}while(1){e=a>>>0>=256?256:a;jf(C[h>>2],C[b>>2],e);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;jf(C[g>>2],C[(d<<2)+b>>2],e);C[g>>2]=C[g>>2]+e;if((c|0)!=(d|0)){continue}break}a=a-e|0;if(a){continue}break}}Ce=f+256|0}function Hv(a,b){var c=0,d=0;d=-131;a:{if(!C[a+4>>2]|C[a+88>>2]<2){break a}c=C[a+52>>2];if((c|0)<=(b|0)){break a}if((b|0)<0){d=0;if((c|0)<=0){break a}b=0;while(1){d=d+Hv(a,b);b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}c=C[a+68>>2]+(b<<4)|0;d=(+F[c+8>>2]+ +C[c+12>>2]*4294967296)/+C[(C[a+72>>2]+(b<<5)|0)+8>>2]}return d}function gT(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=C[b+80>>2];if(D[a|0]&2){qh(a)}if(C[c+12>>2]>0){b=D[C[a+4>>2]+9|0];g=I(b,C[c+8>>2]);b=(C[a+20>>2]+I(C[a+16>>2],C[c+4>>2])|0)+I(b,C[c>>2])|0;while(1){gf(b,d,g);d=d+e|0;b=C[a+16>>2]+b|0;f=f+1|0;if((f|0)>2]){continue}break}}if(D[a|0]&2){fh(a)}return 0}function sP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=6;e=C[a+280>>2];a:{if((e|0)<=0){break a}f=C[a+284>>2];a=0;while(1){b:{g=Se(C[I(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=(I(a,12)+f|0)-12|0;c:{if(D[a+4|0]){C[c>>2]=1;break c}C[c>>2]=2}C[c+4>>2]=C[a+8>>2];d=0}return d|0}function hN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>F[b+160>>2]){tf(b,8)}d=D[a+3|0]|D[a+2|0]<<8;e=F[b+160>>2]>=d+a>>>0;a=D[a+9|0]|D[a+8|0]<<8;if(!(e&(a<<1)+10>>>0<=d>>>0)){tf(b,8)}if(!(!C[b+164>>2]|!a)){while(1){if(F[b+172>>2]<=(D[c+1|0]|D[c|0]<<8)>>>0){tf(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function OO(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,j=0;a=0;a:{if(!c){break a}while(1){j=C[d>>2];h=0;i=C[b+4>>2];b:{if(!i){break b}i=C[i+92>>2];if(!i){break b}h=Fe[C[C[i+12>>2]+12>>2]](i,j)|0}C[f>>2]=h;if(!h){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function gK(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ce-16|0;Ce=d;c=C[a>>2];b=C[c+320>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}c=Fe[b|0](c)|0;if(!c){break a}b=C[a>>2];e=Fe[C[c>>2]](C[b+100>>2],C[b+304>>2]+I(C[b+4>>2],252)|0,d+12|0)|0;if(e){break a}C[a+40>>2]=C[d+12>>2]}Ce=d+16|0;return e|0}function Zf(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=b+1|0;c=A[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=A[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=A[a|0];b=a}if(c-48>>>0<10){while(1){d=(I(d,10)-A[b|0]|0)+48|0;a=A[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return e?d:0-d|0}function lp(a,b){var c=0,d=0;c=bf(b,C[a>>2]);a:{if(c){break a}c=Ff(b,291456,a+4|0);if(c){break a}c=2;d=E[a+4>>1];if((d|256)!=768|F[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){C[a+140>>2]=0;C[a+132>>2]=0;C[a+136>>2]=0}if(A[a+72|0]&1){break a}c=bf(b,C[a>>2]);if(c){break a}c=eh(b,C[a+8>>2],a+160|0)}return c}function RO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Ce-16|0;Ce=b;vg(a,C[a+8>>2]);e=C[a+8>>2];d=C[a>>2];C[b+12>>2]=d;f=Xh(b+12|0,e,10);c=C[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(D[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;C[b+12>>2]=d;f=Xh(b+12|0,e,f);c=C[b+12>>2];if((d|0)==(c|0)){break a}}C[a>>2]=c;g=f}Ce=b+16|0;return g|0}function Aw(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=C[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=C[a+12>>2];B[e>>1]=D[d|0];B[e+2>>1]=D[d+1|0];B[e+4>>1]=A[d+2|0];B[e+6>>1]=A[d+3|0];B[e+8>>1]=D[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}B[e+10>>1]=A[d+5|0];B[e+12>>1]=A[d+6|0];B[e+14>>1]=D[d+7|0];A[a+16|0]=1;C[b>>2]=c;f=0}return f}function RK(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:{b:{a=C[b+8>>2];if(!a){while(1){f=C[b>>2];if(!f){break b}a=df(1,48);if(!a){C[b+8>>2]=84608;break b}nn(a,f);if(!C[b+8>>2]){C[b+8>>2]=a;break a}Ue(C[a+44>>2]);Re(a);a=C[b+8>>2];if(!a){continue}break}}break a}return jp(84608,c,d,e)|0}return jp(a,c,d,e)|0}function Oi(a,b){var c=0,d=0;if(b){jf(b+40|0,a+796|0,76);d=C[b+8>>2];c=B[b+114>>1];if((c|0)<0){c=d&-6150;C[b+8>>2]=c;d=C[b+244>>2];if(d&16){nf(a,C[b+116>>2]);nf(a,C[b+120>>2]);C[b+8>>2]=c;C[b+116>>2]=0;C[b+120>>2]=0}C[b+244>>2]=d&-17;return}a=d&-2053|(c<<1&4|c<<4&2048);if(c&1){C[b+8>>2]=a|1;return}C[b+8>>2]=a&-2}}function PN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=C[b+4>>2];if($h(e,c,C[b+8>>2])){return 0}b=C[e+84>>2];c=C[b+32>>2];C[d>>2]=c;e=C[b+36>>2];C[d+4>>2]=e;f=C[b+24>>2];C[d+8>>2]=f;b=C[b+28>>2];C[d+12>>2]=0-b;if(C[a+20>>2]<0){C[d+8>>2]=0-f;C[d>>2]=0-c}if(C[a+24>>2]<0){C[d+12>>2]=b;C[d+4>>2]=0-e}return 1}function uA(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=C[c>>2];f=C[c+4>>2];a=C[b+80>>2];c=C[a+20>>2];f=C[a+16>>2]+I(c,f)|0;a=C[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}C[d>>2]=f+I(b,g);C[e>>2]=c;return 0}function oR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=gl(a,b);a:{if(d){break a}c=C[a+24>>2];if((c|0)<=0){break a}a=C[a+28>>2];f=a+I(c,40)|0;c=C[b+4>>2];b=C[b+8>>2];while(1){C[c>>2]=C[a+16>>2];C[c+4>>2]=C[a+20>>2];e=E[a>>1];A[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 aR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ce-16|0;Ce=b;C[b+12>>2]=c;e=C[a+72>>2];f=C[e+160>>2];a:{if((f|0)!=C[94669]){a=Fe[f|0](a,C[a+76>>2],1,b+12|0,0,d,0,C[e+24>>2])|0;break a}a=C[a+12>>2];C[d>>2]=0;e=a;f=C[a+76>>2];a=C[a+72>>2];a=Fe[C[a+156>>2]](e,f,c,d,C[a+20>>2])|0}Ce=b+16|0;return a|0}function py(a){var b=0,c=0;c=C[a+392>>2];a:{if((c|0)==(a+8|0)){a=C[a+4>>2];b=0;if(!a|C[a>>2]){break a}C[a>>2]=161;return 0}b=a;a=c-8|0;C[b+392>>2]=a;b:{switch(C[a+4>>2]-1|0){case 1:return C[a>>2]<<16;case 0:a=C[a>>2];if((a|0)<0){return 0-(8192-a>>14)|0}return a- -8192>>>14|0;default:break b}}b=C[a>>2]}return b}function eM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;f=C[a+16>>2];c=b;b=E[a+8>>1];c=Ve(c,1,0,b+1|0,0,d+12|0);Ce=d+16|0;if(C[d+12>>2]){a=e}else{a=0;a:{if(!b){break a}while(1){e=A[f|0];if(!e){break a}A[a+c|0]=(e|0)<32?63:e;f=f+1|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}A[a+c|0]=0;a=c}return a|0}function Ni(a,b,c){var d=0,e=0;e=b-1|0;a:{if(D[a+424|0]==8){b:{if(e>>>0>253){break b}d=O(Gh(+(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=O(Gh(+(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 SS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=c?d:0;e=I(c,d);d=C[a+28>>2];a:{if(C[d+76>>2]<0){d=wo(b,e,d);break a}d=wo(b,e,d)}b=f;b:{if((d|0)==(e|0)){break b}b=(d>>>0)/(c>>>0)|0}c:{if(b){break c}a=C[a+28>>2];d:{if(C[a+76>>2]<0){a=C[a>>2];break d}a=C[a>>2]}if(!(a>>>5&1)){break c}_e(2)}return b|0}function nS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0),f=0;a:{a=C[b+164>>2];if(!a){break a}if(c){e=J(G[a+16>>2]*J(C[b+24>>2]));b:{if(J(K(e))>2]=f}if(!d){break a}e=J(G[a+16>>2]*J(C[b+28>>2]));c:{if(J(K(e))>2]=a}}function dp(a){var b=0,c=0,d=0,e=0;a:{d=C[a+104>>2];if(!d){break a}b=C[a+4>>2];if(!b){break a}b=C[b+28>>2];if(!b){break a}c=C[b+4>>2];b=C[b+3656>>2];C[a+56>>2]=-1;C[a+60>>2]=-1;C[a+24>>2]=-1;e=a- -64|0;C[e>>2]=-1;C[e+4>>2]=-1;C[a+32>>2]=0;c=c>>b+1;C[a+48>>2]=c;C[a+20>>2]=c>>b;C[d+128>>2]=-1;C[d+132>>2]=-1}}function tM(a){a=a|0;var b=0,c=0,d=0,e=0;b=C[a+356>>2];if(b){c=C[C[a+96>>2]+8>>2];d=C[a+348>>2];if(d){while(1){e=C[b+16>>2];if(e){Fe[C[c+8>>2]](c,e)}B[b+8>>1]=0;C[b+16>>2]=0;b=b+20|0;d=d-1|0;if(d){continue}break}b=C[a+356>>2]}if(b){Fe[C[c+8>>2]](c,b)}C[a+356>>2]=0}B[a+344>>1]=0;C[a+348>>2]=0;C[a+352>>2]=0}function DQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=C[a+656>>2];e=C[a+2956>>2];if(!e){return 11}b=E[C[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>=F[a+1312>>2]){break a}a=C[C[a+1316>>2]+(b<<2)>>2];break b}a=Fe[C[e+20>>2]](b)|0}if(!a){break a}Qp(c,a,d)}return 0}function gv(a){var b=0,c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;b=Ce-160|0;Ce=b;C[b+60>>2]=a;C[b+20>>2]=a;C[b+24>>2]=-1;a=b+16|0;Fh(a,0,0);Fu(b,a,1,1);d=C[b>>2];e=C[b+4>>2];a=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=a;C[c>>2]=d;C[c+4>>2]=e;Ce=b+160|0;f=qo(C[c>>2],C[c+4>>2],C[c+8>>2],C[c+12>>2]);Ce=c+16|0;return f}function eJ(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+4>>2];if((c|0)>0){while(1){d=C[C[a+20>>2]+(b<<2)>>2];if(d){Re(d);c=C[a+4>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}Re(C[a+20>>2]);if(C[a+24>>2]>0){b=0;while(1){Re(C[C[a+28>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}Re(C[a+28>>2]);Re(a)}}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;a:{if(!(D[b+8|0]&16)|(!a|!b)){break a}b:{if(D[b+25|0]==3){if(c){C[c>>2]=C[b+156>>2];f=16}else{f=0}if(!e){break b}C[e>>2]=b+160;break b}if(e){C[e>>2]=b+160;f=16}else{f=0}if(!c){break b}C[c>>2]=0}if(!d){break a}C[d>>2]=E[b+22>>1];f=16}return f|0}function jm(a,b){var c=0,d=0,e=0,f=0;e=Ce-16|0;Ce=e;C[e+12>>2]=b;c=Ce-160|0;Ce=c;f=c+8|0;jf(f,377104,144);C[c+52>>2]=a;C[c+28>>2]=a;d=-2-a|0;d=d>>>0>2147483647?2147483647:d;C[c+56>>2]=d;a=a+d|0;C[c+36>>2]=a;C[c+24>>2]=a;xu(f,19782,b);if(d){a=C[c+28>>2];A[a-((a|0)==C[c+24>>2])|0]=0}Ce=c+160|0;Ce=e+16|0}function ii(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=C[a+540>>2];g=f+b|0;d=C[a+544>>2];if(g>>>0>d>>>0){h=C[a+536>>2];e=h?d<<1:2048;while(1){d=e;e=d<<1;if(d>>>0>>0){continue}break}e=Rf(h,d);if(!e){_e(0);return 0}C[a+544>>2]=d;C[a+536>>2]=e}d=f;if(c){C[c>>2]=d}C[a+540>>2]=C[a+540>>2]+b;return d+C[a+536>>2]|0}function Xx(a,b){var c=0,d=0;d=Ce-16|0;Ce=d;a:{if(!a){c=35;break a}c=6;if(!b|C[b+4>>2]<0|(C[b+8>>2]<0|F[b>>2]>4)){break a}c=C[C[C[a+96>>2]+12>>2]+88>>2];if(c){c=Fe[c|0](C[a+88>>2],b)|0;break a}if((C[a+8>>2]&3)==2){c=Yx(a,b,d+12|0);if(c){break a}c=Yp(a,C[d+12>>2]);break a}hk(a,b);c=0}Ce=d+16|0;return c}function Xq(a){var b=0;a:{if(C[a+432>>2]){break a}b=C[a+436>>2];if(!b){break a}Fe[C[a+52>>2]](a,b,C[a+536>>2],C[a+540>>2])|0;b=C[a+440>>2];if(b){C[b+24>>2]=C[a+444>>2];C[a+444>>2]=C[a+436>>2];C[a+436>>2]=0;C[a+440>>2]=0}C[a+540>>2]=0;C[a+532>>2]=0;C[a+524>>2]=0;C[a+528>>2]=0;C[a+448>>2]=C[a+448>>2]+1}}function Gx(a,b,c,d,e){if((b|1|c)<0){C[e>>2]=6;return d}a:{if(!c){if(!d){break a}Fe[C[a+8>>2]](a,d);break a}if(!b){if((c|0)<=0){C[e>>2]=c?6:0;return 0}a=Fe[C[a+4>>2]](a,c)|0;if(!a){C[e>>2]=64;return 0}p(a,0,c);C[e>>2]=0;return a}a=Fe[C[a+12>>2]](a,b,c,d)|0;C[e>>2]=!a<<6;return a?a:d}C[e>>2]=0;return 0}function xG(a){a=a|0;a=a+24|0;Ef(a,228);Xe(a,1819239276,1,1);Xe(a,1667460464,1,1);Ef(a,229);Xe(a,1919969382,9,1);Ef(a,0);Xe(a,1886545254,9,1);Ef(a,0);Xe(a,1651275622,9,1);Ef(a,0);Xe(a,1886614630,9,1);Ef(a,0);Ef(a,230);Xe(a,1886545267,9,1);Xe(a,1633842803,9,1);Xe(a,1651275635,9,1);Xe(a,1886614643,9,1)}function Wj(a,b,c,d){var e=0,f=0,g=0;e=Ce-160|0;Ce=e;f=b?a:e+158|0;C[e+148>>2]=f;a=-1;g=b-1|0;C[e+152>>2]=b>>>0>=g>>>0?g:0;e=We(e,0,144);C[e+76>>2]=-1;C[e+36>>2]=1477;C[e+80>>2]=-1;C[e+44>>2]=e+159;C[e+84>>2]=e+148;a:{if((b|0)<0){C[105782]=61;break a}A[f|0]=0;a=Cu(e,c,d,1475,1476)}Ce=e+160|0;return a}function Ui(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=B[a+2>>1];if((c|0)<=0){break a}a=C[a+4>>2];c=a+(c<<3)|0;while(1){if(a){d=Te(C[a>>2],C[b>>2]);e=Te(C[a+4>>2],C[b+4>>2]);f=Te(C[a>>2],C[b+8>>2]);g=Te(C[a+4>>2],C[b+12>>2]);C[a>>2]=d+e;C[a+4>>2]=f+g}a=a+8|0;if(c>>>0>a>>>0){continue}break}}}function Lt(a,b){var c=0;a:{b:{if((b|0)!=1196445523){c=84608;if((b|0)!=1196643650){break a}a=$g(a+136|0);break b}a=uh(a+140|0)}a=C[a>>2];a=a?a:84608;c=F[a+16>>2]<10?84608:C[a+12>>2]}b=c;a=D[b+8|0]|D[b+9|0]<<8;if(a){a=b+((a<<8|a>>>8)&65535)|0}else{a=84608}a=D[a|0]|D[a+1|0]<<8;return(a<<8|a>>>8)&65535}function zg(a,b){var c=0,d=0,e=0;d=C[a+52>>2];e=C[d+68>>2];c=e&-241;C[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 8:c=c|128;break b;case 0:break a;default:break c}}_e(4);d=C[a+52>>2];c=C[d+68>>2];break a}C[d+68>>2]=c}if((c|0)!=(e|0)){ag(d)}}function FG(a){a=a|0;a=a+24|0;Ef(a,218);Ef(a,219);Xe(a,1819239276,1,1);Xe(a,1667460464,1,1);Xe(a,1886545254,12,1);Xe(a,1651275622,12,1);Xe(a,1633842790,12,1);Xe(a,1886614630,12,1);Xe(a,1667654002,12,1);Ef(a,220);Xe(a,1886545267,13,1);Xe(a,1633842803,13,1);Xe(a,1651275635,13,1);Xe(a,1886614643,13,1)}function aT(a){a=a|0;var b=0,c=0;a=C[a+204>>2];if(a){b=Ce-16|0;Ce=b;c=C[105780];a:{if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=C[a+24>>2];C[b+12>>2]=C[a+28>>2];if(!C[a+116>>2]){Qe(19200,0);break a}Fe[C[c+160>>2]](c,a,b,1)|0}Ce=b+16|0}}function mA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=C[b+80>>2];b=C[a+548>>2];e=ai();c=C[b>>2];a:{if((e|0)!=(c|0)){C[b+468>>2]=0;if((Bh(C[a+204>>2],c)|0)<0){break a}}a=C[a+548>>2];if(!C[a+4>>2]){break a}while(1){if(Fe[C[a+100>>2]]()|0){continue}break}}Fe[C[b+20>>2]](C[d+4>>2],0);C[b+412>>2]=0;return 0}function MK(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ce-16|0;Ce=d;b=C[a>>2];c=C[b+548>>2];b=Dg(C[C[b+96>>2]+4>>2],9541);a:{if(!b|!c){break a}c=C[c>>2];if(!c){break a}c=Fe[c|0](b)|0;if(!c){break a}b=C[a>>2];e=Fe[C[c>>2]](C[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}C[a+40>>2]=C[d+12>>2]}Ce=d+16|0;return e|0}function oh(a,b){var c=0,d=0,e=0;c=Ce-16|0;Ce=c;A[c+15|0]=0;C[b>>2]=0;d=C[a+8>>2];a:{b:{e=C[a+20>>2];c:{if(e){if((Fe[e|0](a,d,c+15|0,1)|0)!=1){break b}d=C[a+8>>2];b=c+15|0;break c}if(F[a+4>>2]<=d>>>0){break b}b=C[a>>2]+d|0}b=D[b|0];C[a+8>>2]=d+1;break a}C[b>>2]=85;b=0}Ce=c+16|0;return b<<24>>24}function FK(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=C[c+284>>2];if((e|0)<=0){break a}f=C[c+288>>2];while(1){c=C[(d<<2)+f>>2];b:{if(!c|D[c|0]!=D[a|0]){break b}if((af(c)|0)!=(b|0)){break b}if(!cf(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function ux(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(C[a+4>>2]){C[a+24>>2]=c;C[a+20>>2]=b;e=C[a+16>>2];d=C[e+28>>2];if(!d){d=Lf(e);c=C[a+24>>2];b=C[a+20>>2]}e=c<<16;f=c>>31<<16|c>>>16;c=d>>31;g=a,h=nT(e,f,d,c),C[g+40>>2]=h;C[a+44>>2]=Ee;g=a,h=nT(b<<16,b>>31<<16|b>>>16,d,c),C[g+32>>2]=h;C[a+36>>2]=Ee}}function Jg(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(C[a>>2]!=C[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=D[a|0];e=D[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}return d-e|0}return 0}function Fy(a,b){var c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;d=C[a>>2];C[c+12>>2]=0;f=C[a+12>>2];b=C[a+84>>2]+(C[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=Ve(d,32,f,b,C[a+52>>2],c+12|0);C[a+52>>2]=d;e=C[c+12>>2];if(e){break a}C[a+12>>2]=b;C[a+88>>2]=d+(C[a+48>>2]<<5);e=0}Ce=c+16|0;return e}function hh(a,b){var c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=L(e);Hg(d,e,0,0,0,c+81|0);e=0+C[d+8>>2]|0;c=(C[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=C[d+4>>2];b=C[d>>2]}C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=e;C[a+12>>2]=f;Ce=d+16|0}function Rr(a){var b=0,c=0,d=0,e=0,f=0;d=Ce-16|0;Ce=d;e=-1;f=Fe[C[95601]]()|0;a:{if((f|0)<=0){break a}while(1){b=Fe[C[95601]]()|0;b:{if((b|0)<=(c|0)){C[d>>2]=b;Qe(18003,d);b=-1;break b}b=Fe[C[95608]](c)|0}if((a|0)==(b|0)){e=c;break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}Ce=d+16|0;return e}function iL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=B[a+298>>1];if(e){e=of(d,e,C[a+564>>2]);f=C[b+16>>2]+(c<<3)|0;C[f>>2]=e+C[f>>2];e=C[b+24>>2]+c|0;A[e|0]=D[e|0]|8}e=B[a+300>>1];if(e){a=of(d,e,C[a+564>>2]);d=C[b+16>>2]+(c<<3)|0;C[d+4>>2]=a+C[d+4>>2];a=C[b+24>>2]+c|0;A[a|0]=D[a|0]|16}}function Or(){var a=0;a=1;a:{if((qf(1536,-1)|0)==1){break a}a=1;if((qf(1537,-1)|0)==1){break a}a=1;if((qf(1538,-1)|0)==1){break a}a=1;if((qf(1539,-1)|0)==1){break a}a=1;if((qf(1540,-1)|0)==1){break a}a=1;if((qf(1541,-1)|0)==1){break a}a=1;if((qf(1542,-1)|0)==1){break a}a=qf(1543,-1)}return a}function iH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(D[C[a+112>>2]+36|0]&2)){break a}d=C[c+80>>2];if(!d){break a}e=C[c+92>>2];a=0;while(1){b=I(a,20)+e|0;if(D[b+12|0]&64){f=b;b=D[b+14|0];A[f+19|0]=b&16?8:b&1|8;C[c+36>>2]=C[c+36>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Lh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=C[a+20>>2];if(D[a+68|0]){g=C[e+8>>2];f=B[e+2>>1];a=C[e+4>>2]+(f<<3)|0;C[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;C[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;A[g+f|0]=d?1:2}B[e+2>>1]=E[e+2>>1]+1}function GO(a){a=a|0;var b=0,c=0;b=C[a+20>>2];if(!b){return 3}a:{b:{if(D[a+68|0]){a=C[a+12>>2];if((B[a+20>>1]+B[a+56>>1]|0)+1>>>0>F[a+8>>2]){a=Qg(a,0,1);if(a){break a}}c=E[b>>1];a=c<<16>>16;if((a|0)<=0){break b}B[(C[b+12>>2]+(c<<1)|0)-2>>1]=E[b+2>>1]-1}a=E[b>>1]}B[b>>1]=a+1;a=0}return a|0}function yk(a){var b=0,c=0;if(a){b=C[a>>2];if(b){while(1){c=C[b+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=c;if(b){continue}break}}b=C[a+8>>2];if(b){while(1){c=C[b+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=c;if(b){continue}break}}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}}function vm(a){var b=0,c=0,d=0;if(a){b=C[a>>2];if(b){c=C[a+8>>2];if((c|0)>0){b=0;while(1){d=C[C[a>>2]+(b<<2)>>2];if(d){Re(d);c=C[a+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}b=C[a>>2]}Re(b)}b=C[a+4>>2];if(b){Re(b)}b=C[a+12>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}}function oE(a){a=a|0;var b=0,c=0,d=0;b=Ce-16|0;Ce=b;C[a+68>>2]=1;C[a+36>>2]=361;C[a+4>>2]=362;C[a+44>>2]=363;C[a+60>>2]=1;C[a+40>>2]=363;A[b+15|0]=0;c=S(382873,b+15|0,0)|0;a:{if(!c){Qe(17716,0);break a}A[b+14|0]=0;d=(S(383020,b+14|0,0)|0)!=0}C[a+72>>2]=d;C[a+64>>2]=d;Ce=b+16|0;return c|0}function Wx(a,b,c){var d=0,e=0,f=0,g=0;e=Ce-16|0;Ce=e;d=0;a:{if(!a){break a}f=C[a+92>>2];d=0;if(!f){break a}d=0;if(!C[a+16>>2]){break a}C[e+12>>2]=b;while(1){g=Fe[C[C[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=F[a+16>>2]){continue}break}d=g?C[e+12>>2]:0}a=d;if(c){C[c>>2]=g}Ce=e+16|0;return a}function $L(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(D[a+292|0]?a+296|0:0)|0;case 2:return(E[a+364>>1]!=65535?a+364|0:0)|0;case 5:return a+468|0;case 1:return a+260|0;case 6:c=C[a+548>>2]?a+548|0:0;break;default:break a}}return c|0}function Di(a){var b=0;if(a){b=C[a+260>>2];if(b){Fe[b|0](a)}yk(C[a+168>>2]);b=C[a+176>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+188>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+244>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}}function Cl(a){var b=0;a:{b=C[105671];if((b|0)==(a|0)){break a}if(b){dg(b,11,0,0)}C[105671]=a;C[105680]=0;b:{if(a){dg(a,10,0,0);b=422808;if(C[105671]){break b}}b=422804}a=C[105662];b=C[b>>2];if(!(C[105681]|(!b|!C[105703]))){if(!a){break a}Fe[a|0](b)|0;return}if(!a){break a}Fe[a|0](0)|0}}function vo(a){var b=0,c=0,d=0,e=0;b=Nu(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(D[d+a|0]){break a}b=C[105787];if(!b){break a}c=C[b>>2];if(!c){break a}while(1){b:{if(!cf(a,c,d)){c=C[b>>2]+d|0;if(D[c|0]==61){break b}}c=C[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function Lp(a,b,c){var d=0;d=Ce-16|0;Ce=d;a:{if(b>>>0<=255){b=Ff(a,b&4?218912:218944,c);break a}b=Ff(a,218976,d+11|0);if(b){break a}B[c>>1]=D[d+11|0]-128;B[c+2>>1]=D[d+12|0]-128;B[c+4>>1]=D[d+13|0]-128;B[c+6>>1]=D[d+14|0]-128;a=D[d+15|0];B[c+10>>1]=0;B[c+8>>1]=a-128}Ce=d+16|0;return b}function Jm(a,b){var c=0,d=0;c=C[104376];if((a|0)==-1){if((c|0)>0){a=0;while(1){d=Jm(a,b)+d|0;a=a+1|0;c=C[104376];if((a|0)<(c|0)){continue}break}}return(d|0)/(c|0)|0}a:{if((a|0)>=(c|0)){break a}a=C[104377]+I(a,60)|0;d=C[a+16>>2];if((b|0)<0){break a}C[a+16>>2]=(b|0)>=128?128:b}return d}function Cs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=C[a+12>>2];a:{if(Fe[C[e+24>>2]](e,b,C[e+56>>2])>>>0<=31){e=C[a+12>>2];f=0;if(1<>2]](e,b,C[e+56>>2])&7168){break a}}a=C[a+12>>2];C[d>>2]=0;f=0;if(!b|!c){break a}f=(Fe[C[a+36>>2]](a,b,c,d,C[a+68>>2])|0)!=0}return f|0}function AN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=C[a+16>>2];C[a+32>>2]=b;c=C[a+20>>2];C[a+36>>2]=c;d=C[a+8>>2];e=(d+C[a>>2]|0)/2|0;C[a+8>>2]=e;b=(b+d|0)/2|0;C[a+24>>2]=b;d=C[a+12>>2];f=(d+C[a+4>>2]|0)/2|0;C[a+12>>2]=f;c=(c+d|0)/2|0;C[a+28>>2]=c;C[a+16>>2]=(b+e|0)/2;C[a+20>>2]=(c+f|0)/2}function xA(a,b){a=a|0;b=b|0;a=C[a+548>>2];C[a+408>>2]=1;if(!b){Fe[C[a+184>>2]](36160,C[a+232>>2]);return 0}b=C[b+80>>2];Fe[C[a+184>>2]](36160,C[C[b+40>>2]+8>>2]);Fe[C[a+188>>2]](36160,36064,C[b+4>>2],C[b>>2],0);if((Fe[C[a+192>>2]](36160)|0)!=36053){a=Qe(20596,0)}else{a=0}return a|0}function Bl(a,b,c,d,e){var f=0,g=0,h=0;a:{if(!(c|!a)){f=C[105696];b:{if((f|0)<=0){break b}if(f>>>0>=8){h=f&-8;while(1){g=g+8|0;if((h|0)!=(g|0)){continue}break}}f=f&7;if(!f){break b}g=0;while(1){g=g+1|0;if((f|0)!=(g|0)){continue}break}}if(!sn(a,d,e,(b|0)!=-1)){break a}}Ai(a,b,c,d,e)}}function xO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Fe[C[a+20>>2]](E[C[a+16>>2]+(b<<1)>>1])|0;d=C[a+24>>2];if(!d){break a}e=C[a+28>>2];while(1){a=C[(c<<2)+e>>2];if(!(!a|D[a|0]!=D[b|0])){if(!Se(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function bg(a,b){var c=0,d=0;d=Ug(a);c=C[104879];a:{b:{c:{if(!c){break c}while(1){if(!uf(a,C[c>>2])){if(C[c+8>>2]!=2?d:0){break b}d=C[c+4>>2];break c}c=C[c+16>>2];if(c){continue}break}}if(!d){break a}}a=D[d|0];if(!a){break a}if((a|0)!=48){b=1;if(wf(d,16581)){break a}}b=0}return b}function Ks(a){a=a|0;var b=0,c=0,d=0,e=0;b=C[a+32>>2];if(!(!b|!C[b>>2])){while(1){e=(c<<2)+b|0;a:{if(!C[e+28>>2]){break a}d=I(c,24)+b|0;Re(C[d+68>>2]);C[d+68>>2]=0;C[d+60>>2]=0;C[d+64>>2]=0;if(!D[b+4|0]){break a}Re(C[e+28>>2])}c=c+1|0;if(c>>>0>2]){continue}break}Re(b)}Re(a)}function GM(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=E[a+152>>1];a:{if(!e){break a}a=C[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(C[a>>2]==(b|0)){g=C[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){C[d>>2]=g}f=bf(c,C[a+8>>2])}return f|0}function wS(a){a=a|0;var b=0,c=0;b=C[a+1080>>2];if(b){c=C[b+8>>2];if(c){Fe[C[b+60>>2]](c)|0;b=C[a+1080>>2];C[b+8>>2]=0}c=C[b+4>>2];if(c){pz(c);b=C[a+1080>>2];C[b+4>>2]=0}c=C[b>>2];if(c){pz(c);b=C[a+1080>>2];C[b>>2]=0}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[a+1080>>2]=0}}function Cy(a,b){var c=0,d=0,e=0;c=Ce-16|0;Ce=c;d=C[C[a+20>>2]+28>>2];e=Qm(a+20|0,b,c+12|0,c+8|0);C[c+4>>2]=e;b=0;a:{if(e){break a}b=d;d=C[c+8>>2];b=hf(b,d+1|0,c+4|0);if(!C[c+4>>2]){t(b,C[c+12>>2],d);A[b+d|0]=0}if(C[a+48>>2]){break a}Wf(C[a+20>>2],c+12|0)}Ce=c+16|0;return b}function Wi(a){var b=0,c=0;C[a+20>>2]=0;C[a+48>>2]=0;b=C[a+24>>2];C[a+56>>2]=C[a+20>>2];C[a+60>>2]=b;c=C[a+32>>2];b=a- -64|0;C[b>>2]=C[a+28>>2];C[b+4>>2]=c;b=C[a+40>>2];C[a+72>>2]=C[a+36>>2];C[a+76>>2]=b;C[a+88>>2]=C[a+52>>2];b=C[a+48>>2];C[a+80>>2]=C[a+44>>2];C[a+84>>2]=b}function AJ(a){a=a|0;var b=0,c=0,d=0;if(a){c=C[a+100>>2];b=C[a+132>>2];if(b){if(C[b+160>>2]){Wf(C[a+104>>2],b+160|0)}d=C[b+168>>2];if(d){Fe[C[c+8>>2]](c,d)}C[b+168>>2]=0;if(b){Fe[C[c+8>>2]](c,b)}C[a+132>>2]=0}b=C[a+32>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+28>>2]=0;C[a+32>>2]=0}}function rH(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[b+100>>2];c=D[a+2|0]|D[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=84608}c=zf(c,C[C[d+92>>2]+I(C[d+76>>2],20)>>2]);if((c|0)!=-1){Fi(a+4|0,b,a,a+6|0,C[d+100>>2]+I(C[d+76>>2],20)|0);C[d+76>>2]=C[d+76>>2]+1}return(c|0)!=-1|0}function Fr(a){var b=0,c=0;c=C[105703];a:{if((a|0)<0){break a}b=(a|0)!=0;C[105703]=b;if((b|0)==(c|0)){break a}b=C[105662];b:{if(!a){break b}a=C[(C[105671]?422808:422804)>>2];if(C[105681]|!a){break b}if(!b){break a}Fe[b|0](a)|0;return c}if(!b){break a}Fe[b|0](0)|0}return c}function jz(a,b){var c=0,d=0,e=0;a:{c=C[105780];if(!c){Qe(19865,0);break a}if(!(C[a>>2]==(c+388|0)?a:0)){Qe(2168,0);break a}d=b&4097;c=C[a+48>>2];e=c&4097;if((d|0)==(e|0)){break a}C[a+48>>2]=c&-4098|d;if(!ci(a,(c^-1)>>>6&c>>>2&b&1)){break a}C[a+48>>2]=C[a+48>>2]&-4098|e}}function cS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ce-16|0;Ce=a;if(C[c+28>>2]){U(C[c+12>>2],a+8|0,a|0)|0;c=C[c+4>>2];d=H[a>>3];a:{if(K(d)<2147483648){b=~~d;break a}b=-2147483648}d=H[a+8>>3];b:{if(K(d)<2147483648){e=~~d;break b}e=-2147483648}dg(c,5,e,b)}Ce=a+16|0;return 0}function Lz(){var a=0,b=0;a=Ce-16|0;Ce=a;a:{if(Sb(a+12|0,a+8|0)|0){break a}b=kf((C[a+12>>2]<<2)+4|0);C[105787]=b;if(!b){break a}b=kf(C[a+8>>2]);if(b){C[C[105787]+(C[a+12>>2]<<2)>>2]=0;if(!(Rb(C[105787],b|0)|0)){break a}}C[105787]=0}Ce=a+16|0;C[105828]=423184;C[105810]=42}function $i(a){var b=0,c=0,d=0;o(+a);b=j(1)|0;j(0)|0;d=b>>>20&2047;if(d>>>0<=1074){if(d>>>0<=1021){a=a*0}else{a=(b|0)>0|(b|0)>=0?a:-a;c=a+4503599627370496+-4503599627370496-a;a:{if(c>.5){a=a+c+-1;break a}a=a+c;if(!(c<=-.5)){break a}a=a+1}a=(b|0)>0|(b|0)>=0?a:-a}}return a}function Yu(a){var b=0,c=0,d=0;b=C[a+40>>2];c=Fe[b|0](a,0,0,D[a|0]&128?C[a+20>>2]==C[a+28>>2]?1:2:1)|0;b=Ee;a:{if((b|0)<0){break a}d=C[a+8>>2];if(d){a=a+4|0}else{d=C[a+28>>2];if(!d){break a}a=a+20|0}a=C[a>>2]-d|0;c=a+c|0;b=(a>>31)+b|0;b=a>>>0>c>>>0?b+1|0:b}Ee=b;return c}function fO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=C[c>>2];d=(d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0;c=C[c+4>>2];c=(c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0;a:{if(C[a+4>>2]){break a}b=Uk((I((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,C[a>>2],0);if(!b){break a}C[a+4>>2]=b}}function Uj(a,b,c,d){var e=0,f=0,g=0;f=C[108240]+1|0;C[108240]=f;C[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!C[g>>2]){C[g>>2]=f;a=(e<<3)+c|0;C[a+4>>2]=b;C[a+8>>2]=0;De=d;return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Uj(e,b,lf(c,d<<4|8),a);De=a;return b}function Kk(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-f*e)-b+e*.16666666666666632)}function TR(a,b,c){a=a|0;b=b|0;c=c|0;if(C[b>>2]){a=C[c+4>>2];C[a+48>>2]=C[a+48>>2]|C[c+24>>2];C[c+24>>2]=0;return 0}a=C[c+4>>2];C[a+48>>2]=C[a+48>>2]&-4098;a=Ch(a);if((a|0)>=0){a=C[C[105780]+376>>2]+I(a,72)|0}else{a=0}if(C[a+60>>2]==C[c+4>>2]){C[a+60>>2]=0}return 0}function vN(a,b){a=a|0;b=b|0;var c=0;if(F[b+160>>2]>>0){tf(b,8)}c=D[a+3|0]|D[a+2|0]<<8;if(!(c>>>0>=262&F[b+160>>2]>=a+c>>>0)){tf(b,8)}if(C[b+164>>2]){a=a+6|0;c=0;while(1){if(F[b+172>>2]<=D[a|0]){tf(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function dP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=C[a+88>>2];if(b){C[b>>2]=C[a+300>>2]}if(c){C[c>>2]=C[a+304>>2]}a:{if(!f){c=65536;a=65536;break a}c=Ze(E[f+12>>1]<<6,C[a+304>>2]);a=Ze(E[f+14>>1]<<6,C[a+304>>2])}if(d){C[d>>2]=c}if(e){C[e>>2]=a}return 0}function GJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=C[a+416>>2];if((d|0)>0){f=C[a+420>>2];g=D[b|0];while(1){a:{e=C[(c<<2)+f>>2];if(D[e|0]!=(g|0)){break a}if(Se(b,e)){break a}return Zf(C[C[a+424>>2]+(c<<2)>>2])|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function _K(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){d=b;b=C[a+480>>2];c=(C[a+484>>2]+(d-b|0)|0)+c|0;a=(c-((c|0)%C[a+476>>2]|0)|0)+b|0;return((a|0)<0?b:a)|0}d=b;b=C[a+480>>2];c=(C[a+484>>2]-(d+b|0)|0)+c|0;a=(c|0)%C[a+476>>2]-(b+c)|0;return((a|0)>0?0-b|0:a)|0}function Cr(a,b,c){var d=0,e=0;a=a?a:C[105671];if(!(!a|D[a+48|0]&64)){C[105677]=c;C[105676]=b;C[105680]=0;d=C[105681];if(!(C[105683]|!d)){C[105680]=1;C[105673]=c;C[105672]=b;return}e=C[105665];if(!(!e|(C[105682]?0:d))){Fe[e|0](a,b,c);return}Ai(a,C[105670],0,b,c)}}function Qv(a){var b=0,c=0,d=0,e=0;b=C[a+84>>2];if(b){while(1){c=C[b+4>>2];Re(C[b>>2]);Re(b);b=c;if(b){continue}break}}c=C[a+80>>2];if(c){d=a,e=lf(C[a+68>>2],c+C[a+76>>2]|0),C[d+68>>2]=e;c=C[a+80>>2];C[a+80>>2]=0;C[a+76>>2]=c+C[a+76>>2]}C[a+84>>2]=0;C[a+72>>2]=0}function $e(a,b,c){var d=0,e=0,f=0;d=C[a+84>>2]+c|0;a:{if(!(!d|d>>>0>2])){if(!aj(a,d)){break a}}e=1;d=C[a+96>>2];if((d|0)!=C[a+92>>2]){break a}f=c;c=C[a+84>>2];if(f+c>>>0<=C[a+76>>2]+b>>>0){break a}b=a;a=C[a+100>>2];C[b+96>>2]=a;jf(a,d,I(c,20))}return e}function Tx(a,b){var c=0;a:{if(!a|!b){break a}c=E[a+2>>1];if((c|0)!=E[b+2>>1]|E[a>>1]!=E[b>>1]|(a|0)==(b|0)){break a}t(C[b+4>>2],C[a+4>>2],c<<16>>16<<3);t(C[b+8>>2],C[a+8>>2],B[a+2>>1]);t(C[b+12>>2],C[a+12>>2],B[a>>1]<<1);C[b+16>>2]=C[a+16>>2]&-2|C[b+16>>2]&1}}function IN(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;a=0;g=C[b+4>>2];a:{if($h(g,c,C[b+8>>2])){break a}b=C[g+84>>2];if(C[b+72>>2]!=1869968492|B[b+110>>1]>>>0<=d>>>0){break a}a=C[b+112>>2]+(d<<3)|0;C[e>>2]=C[a>>2];C[f>>2]=C[a+4>>2];a=1}return a|0}function vK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ce-16|0;Ce=d;e=b>>>0>=4?4:b;if(e){b=0;while(1){g=b<<2;f=C[g+c>>2];C[d+g>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=dw(a,e,d);Ce=d+16|0;return a|0}function po(a,b){var c=0,d=0,e=0;a:{b:{c:{c=C[a+4>>2];switch(c+1|0){case 0:break a;case 1:break b;default:break c}}a=C[a>>2];if(a>>>0>2]){break a}d=C[b+8>>2];if(a>>>0>d>>>0|d-a>>>0>>0){break a}a=C[b+12>>2]-c|0;C[b+12>>2]=a;return(a|0)>0}e=1}return e}function Tj(a,b){var c=0,d=0,e=0,f=0;c=Ce-16|0;Ce=c;a:{if(!b){b=0;break a}d=b;b=L(b);Hg(c,d,0,0,0,b+81|0);d=0+C[c+8>>2]|0;b=(C[c+12>>2]^65536)+(16414-b<<16)|0;f=e>>>0>d>>>0?b+1|0:b;e=C[c+4>>2];b=C[c>>2]}C[a>>2]=b;C[a+4>>2]=e;C[a+8>>2]=d;C[a+12>>2]=f;Ce=c+16|0}function KQ(a,b){a=a|0;b=b|0;var c=0;a=C[a+656>>2];b=E[C[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=F[a+1312>>2]){break a}return C[C[a+1316>>2]+(b<<2)>>2]}a=C[a+2956>>2];if(!a){break a}c=Fe[C[a+20>>2]](b)|0}return c|0}function oP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=C[a>>2];c=C[b+408>>2];C[a+16>>2]=c;d=C[b+416>>2];C[a+20>>2]=d;a:{if(c>>>0<2){break a}b=C[d>>2];a=1;while(1){e=b;b=C[(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 hS(a){a=a|0;var b=0;b=Ce-16|0;Ce=b;a:{if(!C[105671]){break a}b:{if(!a){break b}a=C[a+4>>2];if(!a){break b}a=C[a>>2];if(!a){break a}C[b>>2]=a;A[b+14|0]=105;A[b+15|0]=0;S(390592,b+14|0,b|0)|0;break a}A[b+13|0]=0;S(390675,b+13|0,0)|0}Ce=b+16|0;return 0}function hA(a){a=a|0;var b=0;a:{a=C[a+204>>2];b=C[105780];if(!b){Qe(19865,0);break a}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);break a}if(!(D[a+48|0]&2)){Qe(2183,0);break a}if((yj(C[b+788>>2])|0)!=(a|0)){Qe(4017,0);break a}b=C[105780];Fe[C[b+224>>2]](b,a)|0}}function bj(a,b,c){var d=0,e=0;d=Ce-32|0;Ce=d;a:{if(!a){C[d>>2]=13258;e=Qe(19745,d);break a}if(!b){C[d+16>>2]=15605;e=Qe(19745,d+16|0);break a}e=0;if((c|0)<=0){break a}if((c|0)%C[a+208>>2]|0){e=Qe(7756,0);break a}e=gs(C[a+168>>2],b,c)}a=e;Ce=d+32|0;return a}function aQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=C[a+12>>2];e=C[b+72>>2];b=Fe[C[e+192>>2]](b,C[b+76>>2],c,d,C[e+56>>2])|0;c=C[a+12>>2];a:{if(!c){break a}c=C[c+20>>2];a=C[a+20>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}return b|0}function Xj(a,b,c){var d=0,e=0,f=0,g=0;if(b){while(1){c=c-1|0;e=a;a=oT(a,b,10,0);d=Ee;f=c,g=e-mT(a,d,10,0)|48,A[f|0]=g;e=b>>>0>9;b=d;if(e){continue}break}}if(a){while(1){c=c-1|0;b=(a>>>0)/10|0;A[c|0]=a-I(b,10)|48;d=a>>>0>9;a=b;if(d){continue}break}}return c}function XP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=C[a+12>>2];e=C[b+72>>2];b=Fe[C[e+196>>2]](b,C[b+76>>2],c,d,C[e+60>>2])|0;c=C[a+12>>2];a:{if(!c){break a}c=C[c+24>>2];a=C[a+24>>2];if((c|0)==(a|0)){break a}b=nT(mT(a,a>>31,b,b>>31),Ee,c,c>>31)}return b|0}function ps(a){var b=0,c=0;b=Ce+-64|0;Ce=b;c=a+60|0;a:{if(C[a+56>>2]|!C[c>>2]){break a}Fe[C[104550]](a);C[c>>2]=0;Fe[C[104551]](a);if((qf(4353,-1)|0)!=1){break a}c=b+8|0;mf(c,0,56);C[b+8>>2]=4353;C[b+16>>2]=C[a>>2];A[b+20|0]=C[a+68>>2]!=0;Df(c)}Ce=b- -64|0}function ny(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;d=C[a+4>>2];a=C[C[d+128>>2]+48>>2];a:{if(a){d=C[b+8>>2];b=C[b+4>>2];C[c+12>>2]=d-b;C[c+8>>2]=b;Fe[C[C[a>>2]+4>>2]](C[a+4>>2],c+8|0);break a}a=C[d+656>>2];if(C[a+1204>>2]){break a}Wf(C[a+1176>>2],b+4|0)}Ce=c+16|0}function cO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=C[b+4>>2];if($h(f,c,C[b+8>>2])){return 0}b=C[f+84>>2];C[d>>2]=C[b+32>>2]-C[b+44>>2];C[e>>2]=C[b+48>>2]+C[b+36>>2];if(C[a+20>>2]<0){C[d>>2]=0-C[d>>2]}if(C[a+24>>2]<0){C[e>>2]=0-C[e>>2]}return 1}function qk(a){var b=0,c=0;a:{b=C[104366];if((b|0)>0){while(1){if(!uf(C[C[104367]+(c<<2)>>2],a)){break a}c=c+1|0;b=C[104366];if((c|0)<(b|0)){continue}break}}b=Rf(C[104367],(b<<2)+4|0);if(!b){break a}C[104367]=b;c=C[104366];C[104366]=c+1;C[b+(c<<2)>>2]=a}}function eP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;qx(a,b,c,d);b=C[a+300>>2];c=C[a+304>>2];a:{if((b|0)==(c|0)){break a}e=C[d>>2];if(e){f=d,g=of(e,b,c),C[f>>2]=g}b=C[d+4>>2];if(!b){break a}f=d,g=of(b,C[a+300>>2],C[a+304>>2]),C[f+4>>2]=g}return 0}function av(a){var b=0,c=0,d=0;c=Ce-16|0;Ce=c;A[c+15|0]=10;b=C[a+16>>2];a:{if(!b){if(Bo(a)){break a}b=C[a+16>>2]}d=b;b=C[a+20>>2];if(!((d|0)==(b|0)|C[a+80>>2]==10)){C[a+20>>2]=b+1;A[b|0]=10;break a}if((Fe[C[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}Ce=c+16|0}function DK(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[a>>2];c=C[d+548>>2];a:{d=Dg(C[C[d+96>>2]+4>>2],9541);if(!(!d|!c)){c=C[c>>2];if(c){break a}}hk(C[a>>2],b);return 0}c=Fe[c|0](d)|0;hk(C[a>>2],b);if(c){Fe[C[c+4>>2]](C[a+40>>2],C[a+16>>2],C[a+20>>2],0,0)}return 0}function qq(a){var b=0,c=0;b=C[105780];if(!b){Qe(19865,0);return}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return}a:{if(D[a+48|0]&64){break a}c=C[b+100>>2];if(!c){break a}if(!(D[b+404|0]&2)){ci(a,0);b=C[105780];c=C[b+100>>2];if(!c){break a}}Fe[c|0](b,a)}}function bq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;e=C[C[a+4>>2]+100>>2];c=C[a+156>>2];f=C[c+4>>2];a:{if(f&1){c=C[a+88>>2];if(c){Fe[C[e+8>>2]](e,c)}C[a+88>>2]=0;break a}C[c+4>>2]=f|1}g=a,h=hf(e,b,d+12|0),C[g+88>>2]=h;Ce=d+16|0;return C[d+12>>2]}function Ao(a){var b=0,c=0;b=C[a+72>>2];C[a+72>>2]=b-1|b;if(C[a+20>>2]!=C[a+28>>2]){Fe[C[a+36>>2]](a,0,0)|0}C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;b=C[a>>2];if(b&4){C[a>>2]=b|32;return-1}c=C[a+44>>2]+C[a+48>>2]|0;C[a+8>>2]=c;C[a+4>>2]=c;return b<<27>>31}function zM(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(c){c=Fe[C[a+508>>2]](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Fe[C[a+508>>2]](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=Ff(b,283616,a);if(c){break a}C[a+36>>2]=0;C[a+40>>2]=0;c=0}return c|0}function rh(a,b){var c=0;c=Ce-16|0;Ce=c;a:{if(!a){break a}C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=C[a+8>>2];C[c+12>>2]=C[a+12>>2];a=a+36|0;if(!b){b=C[c+4>>2];C[a>>2]=C[c>>2];C[a+4>>2]=b;b=C[c+12>>2];C[a+8>>2]=C[c+8>>2];C[a+12>>2]=b;break a}yg(b,c,a)}Ce=c+16|0}function fH(a){a=a|0;var b=0;b=C[a+68>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+60>>2];if(b){Di(b)}b=C[a+56>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(C[a+4>>2]){b=C[a>>2];Fe[C[b+16>>2]](b)|0}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function af(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!D[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=C[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(D[b|0]){continue}break}}return b-a|0}function _P(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[a+16>>2];if(c){f=C[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=C[(e<<3)+f>>2];if((d|0)==(b|0)){return E[((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 Te(a,b){var c=0,d=0,e=0;if(!(!a|(b|0)==65536)){c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=I(c,d)+32768>>>16|0;break a}e=d&65535;c=I(e,c>>>16|0)+I(c,d>>>16|0)+(I(c&65535,e)+32768>>>16)|0}a=(a^b)<0?0-c|0:c}return a}function Fh(a,b,c){var d=0,e=0,f=0,g=0;C[a+112>>2]=b;C[a+116>>2]=c;e=C[a+4>>2];d=C[a+44>>2]-e|0;C[a+120>>2]=d;C[a+124>>2]=d>>31;d=C[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}C[a+104>>2]=d}function qO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[b>>2]+1|0;d=C[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+C[a+20>>2]|0;a:{if(c>>>0>>0){e=C[a+24>>2];while(1){a=E[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}C[b>>2]=c;return a|0}function ms(a){var b=0,c=0;c=128;a:{b:{c:{b=E[a+4>>1];switch(b-8|0){case 0:case 8:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break b;default:break c}}if((b|0)==4112){break a}}c=0}A[a+7|0]=c;C[a+12>>2]=I(E[a+8>>1],I(D[a+6|0],b>>>3&31))}function Yk(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ce-16|0;Ce=d;C[d+12>>2]=0;a=hf(a,(af(b)+af(c)|0)+1|0,d+12|0);if(!C[d+12>>2]){e=to(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;g=im(a,f,b)+b|0,h=0,A[g|0]=h;b=e+1|0;break a}A[a|0]=0}e=Ou(Ou(a,c),b)}Ce=d+16|0;return e}function Hr(){var a=0,b=0,c=0,d=0,e=0;b=vo(24153);a=2;a:{if(!b){break a}a=2;if(!D[b|0]){break a}while(1){c=bh(b,58);if(!c){c=af(b)+b|0}e=a|4;d=a;a=c-b|0;a=cf(b,17609,a)?d:(a|0)==24?e:d;b=(D[c|0]!=0)+c|0;if(D[b|0]){continue}break}a=a&255}C[104422]=a}function Hf(a,b,c,d){var e=0,f=0;f=Ce-16|0;Ce=f;if(C[a+156>>2]){C[a+168>>2]=C[a+168>>2]+1;C[f+12>>2]=d;e=Ce-112|0;Ce=e;Wj(e,100,c,d);b=Fe[C[a+156>>2]](a,b,e,C[a+160>>2])|0;Ce=e+112|0;C[a+168>>2]=C[a+168>>2]-1;d=(b|0)!=0}else{d=1}Ce=f+16|0;return d}function Ev(a,b){var c=0,d=0,e=0;if(a){We(a+8|0,0,352);C[a+24>>2]=1024;C[a+4>>2]=16384;e=kf(16384);C[a>>2]=e;c=kf(4096);C[a+16>>2]=c;d=kf(8192);C[a+20>>2]=d;a:{if(e){if(d?c:0){break a}Re(e)}if(c){Re(c)}if(d){Re(d)}We(a,0,360);return}C[a+336>>2]=b}}function qP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[a+16>>2];if(c){f=C[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=C[(e<<3)+f>>2];if((d|0)==(b|0)){return E[((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 $u(a,b){var c=0,d=0,e=0;o(+a);d=j(1)|0;e=j(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=$u(a*0x10000000000000000,b);c=C[b>>2]+-64|0}C[b>>2]=c;return a}C[b>>2]=c-1022;l(0,e|0);l(1,d&-2146435073|1071644672);a=+n()}return a}function xE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=C[a+96>>2];ph(C[e+4>>2]);d=C[e>>2];a:{if(!d){d=c;break a}d=Fe[C[d+8>>2]](d,b,1,c)|0;b=d+b|0;d=c-d|0;if((d|0)<=0){break a}f=C[e>>2];Fe[C[f+16>>2]](f)|0;C[e>>2]=0}mf(b,D[a+11|0],d);return c|0}function sy(a){var b=0,c=0;c=C[a+392>>2];a:{if((c|0)==(a+8|0)){a=C[a+4>>2];b=0;if(!a|C[a>>2]){break a}C[a>>2]=161;return 0}if(C[c-4>>2]!=2){a=C[a+4>>2];b=0;if(!a|C[a>>2]){break a}C[a>>2]=160;return 0}b=a;a=c-8|0;C[b+392>>2]=a;b=C[a>>2]}return b}function Vu(a,b){var c=0,d=0,e=0,f=0;c=b>>>20&2047;e=0;a:{if(c>>>0<1023){break a}e=2;if(c>>>0>1075){break a}c=1075-c|0;d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=f}f=d-1|0;e=0;if(a&f|b&c-!d){break a}e=a&d|b&c?1:2}return e}function $O(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ce-16|0;Ce=d;C[d+12>>2]=0;a:{if(C[c+80>>2]){break a}b=b-a|0;f=hf(C[c>>2],b+1|0,d+12|0);C[c+80>>2]=f;e=C[d+12>>2];if(e){break a}t(f,a,b);A[b+C[c+80>>2]|0]=0;e=C[d+12>>2]}Ce=d+16|0;return e|0}function rg(a,b){var c=0,d=0,e=0;d=C[a+68>>2];c=C[a+72>>2];b=b+7&-8;if(C[a+76>>2]<(c+b|0)){if(d){e=kf(8);C[a+80>>2]=C[a+80>>2]+c;c=C[a+84>>2];C[e>>2]=d;C[e+4>>2]=c;C[a+84>>2]=e}C[a+76>>2]=b;d=kf(b);C[a+68>>2]=d;c=0}C[a+72>>2]=b+c;return c+d|0}function gP(a){a=a|0;var b=0,c=0;c=C[C[a+188>>2]>>2];b=C[a+168>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+172>>2]=0;C[a+164>>2]=0;C[a+168>>2]=0;b=C[a+184>>2];if(b){Fe[C[c+8>>2]](c,b)}A[a+192|0]=0;C[a+184>>2]=0;C[a+188>>2]=0;C[a+176>>2]=0;C[a+180>>2]=0}function cK(a,b){a=a|0;b=b|0;var c=0;hk(C[a>>2],b);c=C[a>>2];b=C[c+320>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}b=Fe[b|0](c)|0;if(!b){break a}Fe[C[b+4>>2]](C[a+40>>2],C[a+16>>2],C[a+20>>2],0,0)}return 0}function Mk(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*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function qs(a,b,c){var d=0;d=Ce+-64|0;Ce=d;a:{if(a){b=Ml(b,c,418268,418260);break a}b=Ml(b,c,418264,418256)}b:{if((b|0)==-1){break b}if((qf(4352,-1)|0)!=1){break b}c=d+8|0;mf(c,0,56);A[d+20|0]=a;C[d+16>>2]=b;C[d+8>>2]=4352;Df(c)}Ce=d- -64|0}function gw(a,b){a=a|0;b=b|0;var c=0;c=C[a+136>>2];C[b>>2]=C[a+132>>2];C[b+4>>2]=c;c=C[a+160>>2];C[b+24>>2]=C[a+156>>2];C[b+28>>2]=c;c=C[a+152>>2];C[b+16>>2]=C[a+148>>2];C[b+20>>2]=c;c=C[a+144>>2];C[b+8>>2]=C[a+140>>2];C[b+12>>2]=c;return 0}function QS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(d>>>0>=3){a=Qe(34195,0);Ee=a>>31;return a|0}a:{if(!Zu(C[a+28>>2],b,c,d)){b=Xu(C[a+28>>2]);a=Ee;c=a;if((a|0)>0|(a|0)>=0){break a}a=Qe(4512,0);Ee=a>>31;return a|0}b=_e(3);c=b>>31}Ee=c;return b|0}function Nk(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=D[d|0];if(!e){break a}b=b-1|0;if(b>>>0<=c>>>0){break a}while(1){A[a+c|0]=e;c=c+1|0;e=D[d+1|0];if(!e){break a}d=d+1|0;if(b>>>0>c>>>0){continue}break}}A[a+c|0]=0}return c}function $J(a,b){a=a|0;b=b|0;var c=0;c=C[a+192>>2];C[b+24>>2]=C[a+188>>2];C[b+28>>2]=c;c=C[a+184>>2];C[b+16>>2]=C[a+180>>2];C[b+20>>2]=c;c=C[a+176>>2];C[b+8>>2]=C[a+172>>2];C[b+12>>2]=c;c=C[a+168>>2];C[b>>2]=C[a+164>>2];C[b+4>>2]=c;return 0}function gg(a,b){var c=0,d=0;c=b-a|0;d=((c|0)<=-11796479?-11796479:c)+a|0;c=(d|0)!=(b|0);c=I(c+((d-(b+c|0)>>>0)/23592960|0)|0,23592960)+b|0;b=c-a|0;a=(c-(((b|0)>=11796480?11796480:b)+a|0)|0)+23592959|0;return b+(((a>>>0)%23592960|0)-a|0)|0}function DP(a){a=a|0;var b=0,c=0;b=C[a+12>>2];if(b){c=C[a+28>>2];Hm(b+12|0);C[b+52>>2]=0;C[b+44>>2]=0;C[b+48>>2]=0;C[b+24>>2]=0;C[b+28>>2]=0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b+16>>2]=0;if(b){Fe[C[c+8>>2]](c,b)}C[a+12>>2]=0}}function BQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=C[C[C[a>>2]+96>>2]+4>>2];C[b>>2]=0;C[b+4>>2]=0;d=C[a+12>>2];a:{if((d|0)==207752|(d|0)==207792){break a}c=Vi(Dg(c,3922),6749);if(!c){break a}c=C[c>>2];if(!c){break a}e=Fe[c|0](a,b)|0}return e|0}function yG(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ce-16|0;Ce=b;if(a){c=Fe[C[a+4>>2]](a,0,0,1)|0;d=Ee;if((Fe[C[a+8>>2]](a,b+12|0,1,4)|0)==4){e=D[b+12|0]==137&D[b+13|0]==80&D[b+14|0]==78&D[b+15|0]==71}Fe[C[a+4>>2]](a,c,d,0)|0}Ce=b+16|0;return e|0}function _N(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(C[a+4>>2]){break a}e=c;g=a+52|0;f=C[g>>2];c=C[a+16>>2];if((e|0)!=(f+c|0)){break a}e=C[a>>2];c=Em(a+16|0,d,f,c,b,e);if(!c){c=Em(g,d,0,f,b,e);if(!c){break a}}C[a+4>>2]=c}}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;f=6;a:{if(!d|!e){break a}g=E[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=C[a+156>>2]+(b<<4)|0;C[c>>2]=C[a>>2];C[d>>2]=C[a+8>>2];g=C[a+12>>2]}C[e>>2]=g;f=0}return f|0}function ZK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=C[a+480>>2];a=(C[a+484>>2]+(c-b|0)&0-C[a+476>>2])+b|0;return((a|0)<0?b:a)|0}d=b;b=C[a+480>>2];a=0-((C[a+484>>2]+c-(d+b)&0-C[a+476>>2])+b|0)|0;return((a|0)>0?0-b|0:a)|0}function tw(a,b){var c=0;c=C[a>>2];a:{if(c>>>0<=b>>>0){b=0;if(c){break a}return C[a+8>>2]}c=C[a+12>>2];a=C[a+4>>2]-1|0;a=a>>>0>b>>>0?b:a;a=(a|0)<0?84608:C[(c?c:84608)+12>>2]+(a<<2)|0;a=D[a|0]|D[a+1|0]<<8;b=(a<<8|a>>>8)&65535}return b}function nP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=C[a+16>>2];if(c){f=C[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=C[(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 VO(a){a=a|0;var b=0,c=0;if(C[a+12>>2]==-559038737){c=C[a+32>>2];b=C[a>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a>>2]=0;b=C[a+24>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+24>>2]=0;b=C[a+28>>2];if(b){Fe[C[c+8>>2]](c,b)}C[a+12>>2]=0;C[a+28>>2]=0}}function cf(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=D[a|0];a:{if(!d){break a}while(1){b:{e=D[b|0];if(!e){break b}c=c-1|0;if(!c|(d|0)!=(e|0)){break b}b=b+1|0;d=D[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-D[b|0]|0}function WL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ce-16|0;Ce=d;e=Ep(a,22351,d);a:{if(e){break a}e=Ep(a,26297,d+8|0);if(e){break a}e=6;if(C[d>>2]!=1|C[d+8>>2]!=1){break a}C[b>>2]=C[d+12>>2];C[c>>2]=C[d+4>>2];e=0}Ce=d+16|0;return e|0}function Au(a){var b=0,c=0,d=0;if(A[C[a>>2]]-48>>>0>=10){return 0}while(1){d=C[a>>2];c=-1;if(b>>>0<=214748364){c=A[d|0]-48|0;b=I(b,10);c=(c|0)>(b^2147483647)?-1:c+b|0}C[a>>2]=d+1;b=c;if(A[d+1|0]-48>>>0<10){continue}break}return b}function DO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ce-16|0;Ce=f;e=hf(b,16,f+12|0);g=C[f+12>>2];if(!g){C[e+12>>2]=2;C[e+8>>2]=d;C[e>>2]=c;C[e+4>>2]=c;C[a+8>>2]=0;C[a+12>>2]=0;C[a+4>>2]=e;C[a>>2]=b}Ce=f+16|0;return g|0}function Si(a,b){var c=0,d=0,e=0;a:{c=C[a+280>>2];if((c|0)<=0){break a}d=C[a+284>>2];a=0;while(1){b:{e=Se(C[I(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return(I(a,12)+d|0)-12|0}return 0}function QN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=C[a>>2];d=a&2147483647;b=C[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 Pi(a,b){if(!(!a|!C[a>>2])){C[a+344>>2]=0;C[a+348>>2]=0;C[a+340>>2]=-1;C[a+332>>2]=0;C[a+324>>2]=0;C[a+328>>2]=0;C[a+36>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a+336>>2]=b;C[a+352>>2]=0;C[a+356>>2]=0}}function $N(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(C[a+4>>2]){break a}d=C[a+16>>2];e=a+52|0;f=C[e>>2];if((d+f|0)!=(b|0)){break a}g=C[a>>2];b=Em(a+16|0,c,0,d,0,g);if(!b){b=Em(e,c,d,f,0,g);if(!b){break a}}C[a+4>>2]=b}}function jg(a,b,c){var d=0,e=0,f=0;d=C[a+8>>2];f=C[a+4>>2];if(d>>>0>>0){e=C[a+20>>2];a:{if(e){b=Fe[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;t(e,C[a>>2]+d|0,b)}C[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function Lm(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=C[a+96>>2];if(!d){break a}b=C[a+128>>2];c=C[b+56>>2];C[b+56>>2]=c-1;if((c|0)<=1){c=C[d+8>>2];e=d+16|0;b=Ti(e,a);if(!b){break a}oj(e,b);if(b){Fe[C[c+8>>2]](c,b)}jk(c,a,d)}}}function jL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=B[a+298>>1];if(e){e=of(d,e,C[a+564>>2]);f=C[b+12>>2]+(c<<3)|0;C[f>>2]=e+C[f>>2]}e=B[a+300>>1];if(e){a=of(d,e,C[a+564>>2]);b=C[b+12>>2]+(c<<3)|0;C[b+4>>2]=a+C[b+4>>2]}}function vi(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=C[a+16>>2];if((c|0)<=0){break a}a=a+20|0;c=a+(c<<2)|0;while(1){d=C[C[a>>2]>>2];if(Se(C[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=C[d+20>>2]}return e}function vf(a){var b=0,c=0,d=0;d=Ce-16|0;Ce=d;c=C[105780];a:{if(!c){Qe(19865,0);break a}b=C[c+196>>2];if(b){if(C[c+516>>2]){b=Fe[b|0](c,a)|0;break a}b=0;Qe(20769,0);break a}C[d>>2]=C[c>>2];Qe(32625,d);b=0}Ce=d+16|0;return b}function nT(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=oT(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Ee=(g^Ee)-((a>>>0>>0)+g|0)|0;return b}function $r(a,b){if(b){C[b>>2]=C[a+80>>2]}a:{if(D[a+74|0]){break a}if(C[a+168>>2]){return 0}C[a+84>>2]=0;A[a+73|0]=0;A[a+74|0]=1;C[a+96>>2]=C[a+92>>2];b=I(C[a+80>>2],20);if(!b){break a}We(C[a+100>>2],0,b)}return C[a+100>>2]}function bP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ce-16|0;Ce=a;C[a+12>>2]=0;a:{if(Ux(c,b,0,a+12|0)){break a}d=kf(C[a+12>>2]);if(!d){break a}if(Ux(c,b,d,a+12|0)){Re(d);break a}e=zr(d,C[a+12>>2],2,d,85)}Ce=a+16|0;return e|0}function QF(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=C[a+240>>2];f=C[a+248>>2];g=b+c|0;d=ks(D[a+232|0],C[a+204>>2],C[a+216>>2],f,g,b,c,d,e);b=h<<2;a=(b|0)<(c|0)?b:c;gf((b+f|0)-(a&-4)|0,g-a|0,a);return d|0}function mN(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b>>2];a:{if(c>>>0>65534){break a}if(A[a+20|0]&1){return Rw(a,b,1)|0}if((c|0)==C[a+24>>2]){Pw(a);c=C[a+28>>2];if(!c){break a}C[b>>2]=C[a+24>>2];return c|0}d=Qw(a,b,1)}return d|0}function YM(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+28>>2];a:{if((c|0)==-1){break a}if(!(!D[a+24|0]|(c|0)!=C[b>>2])){Mw(a);if(!D[a+24|0]){break a}c=C[a+32>>2];if(!c){break a}C[b>>2]=C[a+28>>2];return c|0}d=Nw(a,b,1)}return d|0}function UM(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+28>>2];a:{if((c|0)==-1){break a}if(!(!D[a+24|0]|(c|0)!=C[b>>2])){Kw(a);if(!D[a+24|0]){break a}c=C[a+32>>2];if(!c){break a}C[b>>2]=C[a+28>>2];return c|0}d=Lw(a,b,1)}return d|0}function pA(a,b){a=a|0;b=b|0;var c=0;c=Nq(b)-1>>>0<10&Kq(b)-1>>>0<10;if(!(279>>>b&1)|b>>>0>=9){a=b&15}else{a=1}c=c&a-1>>>0<3&Mq(b)-1>>>0<10&Jq(b)-1>>>0<10;if(!(279>>>b&1)|b>>>0>=9){a=b>>>16&15}else{a=1}return c&a-1>>>0<3}function xS(a,b){a=a|0;b=b|0;var c=0;c=C[a+1080>>2];a=C[c+64>>2];a:{b:{if((C[c+28>>2]|C[c+24>>2]<<16)>>>0>=65541){if(!a){c=0;break b}c=Fe[a|0](b)|0;break b}c=0;if(!a){break b}a=Fe[a|0](b)|0;if(a){break a}}a=c}return a|0}function dS(a){a=a|0;var b=0,c=0;if(a>>>0<=11){c=C[(a<<2)+195584>>2];a=If(1,8);if(a){b=If(1,8);if(!b){_e(0);if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}return 0}C[b+4>>2]=0;C[b>>2]=c;C[a+4>>2]=b;return a|0}_e(0)}return 0}function Co(a){var b=0,c=0,d=0,e=0;d=om(a);e=Fe[C[a+12>>2]](a)|0;if(!(A[a|0]&1)){b=C[a+52>>2];if(b){C[b+56>>2]=C[a+56>>2]}c=C[a+56>>2];if(c){C[c+52>>2]=b}if(C[105803]==(a|0)){C[105803]=c}Re(C[a+96>>2]);Re(a)}return d|e}function iS(a){a=a|0;var b=0;if(a){b=C[a+4>>2];if(b){if(C[b+4>>2]){b=C[b>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}b=C[a+4>>2]}if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}}function fK(a){a=a|0;var b=0,c=0;if(C[a+40>>2]){c=C[a>>2];b=C[c+320>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}b=Fe[b|0](c)|0;if(!b){break a}Fe[C[b+8>>2]](C[a+40>>2])}C[a+40>>2]=0}}function LK(a){a=a|0;var b=0,c=0;if(C[a+40>>2]){c=C[a>>2];b=C[c+548>>2];c=Dg(C[C[c+96>>2]+4>>2],9541);a:{if(!c|!b){break a}b=C[b>>2];if(!b){break a}b=Fe[b|0](c)|0;if(!b){break a}Fe[C[b+8>>2]](C[a+40>>2])}C[a+40>>2]=0}}function Dg(a,b){var c=0,d=0;a:{if(!a|!b){break a}c=C[a+16>>2];if((c|0)<=0){return 0}a=a+20|0;c=a+(c<<2)|0;while(1){d=C[a>>2];if(!Se(C[C[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function qR(a,b){a=a|0;b=b|0;var c=0,d=0;C[b+72>>2]=1869968492;d=C[a+36>>2];C[b+124>>2]=d;c=C[a+24>>2];C[b+108>>2]=C[a+20>>2];C[b+112>>2]=c;c=C[a+32>>2];C[b+116>>2]=C[a+28>>2];C[b+120>>2]=c;C[b+124>>2]=d&-2;return 0}function mT(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=I(e,f);g=c&65535;h=a&65535;i=I(g,h);f=(i>>>16|0)+I(f,g)|0;e=(f&65535)+I(e,h)|0;Ee=(I(b,c)+j|0)+I(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Oy(a,b){a=a|0;b=b|0;var c=0;c=C[b+4>>2];C[a+4>>2]=C[b>>2];C[a+8>>2]=c;C[a+28>>2]=C[b+24>>2];c=C[b+20>>2];C[a+20>>2]=C[b+16>>2];C[a+24>>2]=c;c=C[b+12>>2];C[a+12>>2]=C[b+8>>2];C[a+16>>2]=c;Ny(a,b,0);Ny(a,b,1)}function KL(a,b){a=a|0;b=b|0;var c=0,d=0;d=zh(285312,b);a:{if(d){break a}d=0;if(!a){break a}c=C[a+4>>2];if(!c){break a}c=Dg(c,3922);if(!c){break a}c=C[C[c>>2]+20>>2];if(!c){break a}d=Fe[C[c+16>>2]](a,b)|0}return d|0}function Al(a,b){var c=0;a:{c=C[a>>2];if(!c){break a}if(C[c>>2]!=(b|0)){while(1){a=c;c=C[c+4>>2];if(!c){break a}if(C[c>>2]!=(b|0)){continue}break}a=a+4|0}C[a>>2]=C[c+4>>2];if(c){Fe[C[94765]](c);C[94766]=C[94766]-1}}}function wx(a,b,c,d){var e=0;a:{if(!C[a+4>>2]){if(!d){break a}Fe[d|0](c);return}e=C[a+80>>2];if(e){Fe[e|0](C[a+76>>2])}b=b?b:378516;e=C[b>>2];if(e){C[b>>2]=e+1}Vm(C[a+72>>2]);C[a+80>>2]=d;C[a+76>>2]=c;C[a+72>>2]=b}}function XL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ce-16|0;Ce=d;e=C[a+16>>2];a:{if((e|0)>0){while(1){if(!Fp(a,c,d+12|0)){if(!Se(b,C[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Ce=d+16|0;return c|0}function NR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ce-16|0;Ce=a;if(c){C[c>>2]=0;C[c+4>>2]=0;A[a+15|0]=0;d=c,e=S(390744,a+15|0,0)|0,C[d+8>>2]=e;A[a+14|0]=0;d=c,e=S(390774,a+14|0,0)|0,C[d+12>>2]=e}Ce=a+16|0;return 0}function Qx(a,b,c,d){var e=0,f=0;f=C[a+4>>2];if(f>>>0>b>>>0){e=C[a+20>>2];a:{if(e){c=Fe[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;t(e,C[a>>2]+b|0,c)}C[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function fz(a,b,c){var d=0,e=0;d=C[105780];if(!d){Qe(19865,0);return}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);return}e=C[d+212>>2];if(e){Fe[e|0](d,a,b,c);return}if(b){C[b>>2]=C[a+24>>2]}if(c){C[c>>2]=C[a+28>>2]}}function Vp(a,b,c){var d=0,e=0,f=0,g=0;e=C[a+8>>2];f=C[a+4>>2];if(e>>>0>>0){d=C[a+20>>2];a:{if(d){d=Fe[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>>0?b:c;t(g,C[a>>2]+e|0,d)}C[a+8>>2]=C[a+8>>2]+d}return d}function kM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ce-16|0;Ce=d;e=Fe[C[a+508>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){C[(c?692:684)+a>>2]=C[d+12>>2];C[(c?788:784)+a>>2]=C[b+8>>2]}Ce=d+16|0;return e|0}function eT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=C[C[a+548>>2]>>2];a:{if(d){if(b){C[b>>2]=C[d+8>>2]}a=0;if(!c){break a}C[c>>2]=C[d+12>>2];return 0}a=C[a+204>>2];if(a){bi(a,b,c);return 0}a=Qe(19283,0)}return a|0}function KH(a){a=a|0;var b=0;um(a+16|0);b=C[a+772>>2];if(b){Di(b)}b=C[a+776>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(C[a+4>>2]){b=C[a>>2];Fe[C[b+16>>2]](b)|0}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function Fs(a,b){var c=0,d=0;if($e(a,0,1)){d=C[b+4>>2];c=C[a+96>>2]+I(C[a+84>>2],20)|0;C[c>>2]=C[b>>2];C[c+4>>2]=d;C[c+16>>2]=C[b+16>>2];d=C[b+12>>2];C[c+8>>2]=C[b+8>>2];C[c+12>>2]=d;C[a+84>>2]=C[a+84>>2]+1}}function Jo(a,b,c){var d=0;if(!(!c|(!a|!b))){a=E[c+4>>1]|E[c+6>>1]<<16;d=E[c>>1]|E[c+2>>1]<<16;B[b+170>>1]=d;B[b+172>>1]=d>>>16;B[b+174>>1]=a;B[b+176>>1]=a>>>16;B[b+178>>1]=E[c+8>>1];C[b+8>>2]=C[b+8>>2]|32}}function oQ(a){a=a|0;var b=0,c=0,d=0;b=161;a:{if(F[a+404>>2]>>0){break a}c=C[a+412>>2];b=3;d=uj(a+16|0);if((d|0)<0){break a}C[c+120>>2]=d;a=uj(a+20|0);if((a|0)<0){break a}C[c+116>>2]=a;b=0}return b|0}function yE(a){a=a|0;var b=0,c=0;b=C[a+96>>2];c=C[b>>2];if(c){Fe[C[c+16>>2]](c)|0;b=C[a+96>>2]}b=C[b+8>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}a=C[a+96>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function Dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;C[c>>2]=0;C[c+4>>2]=0;C[c+40>>2]=0;C[c+44>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+24>>2]=0;C[c+28>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;return 0}function hP(a){a=a|0;var b=0;b=C[C[a+156>>2]>>2];C[a+184>>2]=0;C[a+188>>2]=0;C[a+160>>2]=0;C[a+164>>2]=0;C[a+168>>2]=0;C[a+172>>2]=0;C[a+176>>2]=0;C[a+180>>2]=0;C[a+192>>2]=0;C[a+188>>2]=b;Wi(b);return 0}function Rm(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=F[a+1312>>2]){break a}return C[C[a+1316>>2]+(b<<2)>>2]}a=C[a+2956>>2];if(!a){break a}c=Fe[C[a+20>>2]](b)|0}return c}function Ig(a,b,c,d,e){var f=0;f=Ce-256|0;Ce=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;We(f,b&255,c?d:256);if(!c){while(1){Bg(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}Bg(a,f,d)}Ce=f+256|0}function Br(){var a=0,b=0;b=Ce-16|0;a=C[94768];a:{if((a|0)!=-1){break a}if(!D[422824]){A[422824]=1}a=0;C[94767]=4;C[94768]=0;C[b+12>>2]=0;if(!C[b+12>>2]){break a}C[94767]=16;a=2;C[94768]=2}return a>>>2&1}function mw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ce-16|0;Ce=e;g=C[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=Ve(a,1,g,d,C[c>>2],e+12|0),C[h>>2]=i;f=C[e+12>>2];if(f){break a}C[b>>2]=d;f=0}Ce=e+16|0;return f}function xz(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=19555;a=Qe(19745,c);break a}d=C[a+52>>2];if(!(A[d+69|0]&1)){a=Qe(1384,0);break a}a=0;if(!b){break a}C[b>>2]=C[d+72>>2]}Ce=c+16|0;return a}function xg(a,b,c){var d=0;a:{b:{if(D[a+205|0]&128){if(D[a+210|0]&16|(c|0)<2){break b}Kg(a,b);s()}d=C[a+208>>2];if((c|0)<=0){if(d&2097152){break b}break a}if(!(d&4194304)){break a}}return}Af(a,b);s()}function Ur(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){Qe(4480,0);a=0;break a}d=C[a+36>>2];a=E[(C[a+40>>2]+I(b,24)|0)+2>>1];if((d|0)>(b|0)){break a}C[c>>2]=d;Qe(7529,c);a=0}Ce=c+16|0;return a<<16>>16}function yQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=C[a+656>>2];a:{b:{if(!a){break b}d=6;if(C[a+1456>>2]==65535|F[a+12>>2]>>0){break a}if(!c){break b}C[c>>2]=E[C[a+1160>>2]+(b<<1)>>1]}d=0}return d|0}function Ux(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(D[a+8|0]&8)){break a}f=7;e=C[a+96>>2];g=C[C[e>>2]+32>>2];if(!g){break a}e=Fe[g|0](e,17634)|0;if(!e){break a}f=Fe[C[e>>2]](a,b,0,c,d)|0}return f}function nQ(a){a=a|0;var b=0,c=0,d=0;if(F[a+404>>2]>=a+28>>>0){b=C[a+412>>2];c=b,d=uj(a+16|0),C[c+132>>2]=d;c=b,d=uj(a+20|0),C[c+136>>2]=d;c=b,d=uj(a+24|0),C[c+140>>2]=d;a=0}else{a=161}return a|0}function FQ(a){a=a|0;var b=0,c=0;c=C[a+656>>2];a:{if(!C[a+532>>2]){break a}b=Vi(Dg(C[C[a+96>>2]+4>>2],3922),17181);if(!b){break a}b=C[b>>2];if(!b){break a}return Fe[b|0](a)|0}return C[c+1304>>2]}function Xo(a,b){var c=0,d=0,e=0;c=Ce-16|0;Ce=c;C[c+12>>2]=0;C[c+8>>2]=0;a:{if(!Yo(a,b,c+12|0,c+8|0)){break a}d=b;b=C[c+8>>2];if(D[a+b|0]?(d|0)!=(b|0):0){break a}e=C[c+12>>2]}Ce=c+16|0;return e}function MQ(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b>>2];C[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=E[C[a+16>>2]+(c<<1)>>1];if(!d){continue}break}C[b>>2]=c;return d|0}function oI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ce-16|0;Ce=e;a=Ib(C[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){C[105782]=a;a=-1}else{a=0}Ce=e+16|0;Ee=a?-1:C[e+12>>2];return(a?-1:C[e+8>>2])|0}function nh(a,b,c){var d=0,e=0;a:{if(b){d=af(b);e=d+1|0;b:{if(d>>>0<=2147483646){d=Fe[C[a+4>>2]](a,e)|0;if(d){break b}C[c>>2]=64;return 0}d=0;a=6;if(e){break a}}t(d,b,e)}a=0}C[c>>2]=a;return d}function Yp(a,b){var c=0;c=35;a:{if(!a|!(D[a+8|0]&2)){break a}c=6;if((b|0)<0|C[a+28>>2]<=(b|0)){break a}c=C[C[C[a+96>>2]+12>>2]+92>>2];if(c){return Fe[c|0](C[a+88>>2],b)|0}_h(a,b);c=0}return c}function Wo(a,b){var c=0;a:{b:{if(!a|!b){break b}c=O(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647;if(K(c)<2147483648){a=~~c}else{a=-2147483648}if(!b){break b}if(c>=-2147483648){break a}}a=0}return a}function ng(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=C[a+8>>2]+b|0;d=C[a+20>>2];b:{if(d){if(!(Fe[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>F[a+4>>2]){break a}}C[a+8>>2]=b;c=0}return c}function WP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=C[b+8>>2];if(d){Fe[d|0](b)}c=C[C[c+12>>2]+60>>2];if(c){Fe[c|0](b)}c=C[b+40>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+40>>2]=0;if(b){Fe[C[a+8>>2]](a,b)}}function wu(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:A[a|0]=c;return;case 1:B[a>>1]=c;return;case 2:case 3:C[a>>2]=c;return;case 5:break b;default:break a}}C[a>>2]=c;C[a+4>>2]=d}}function OK(a,b){a=a|0;b=b|0;var c=0;c=Ce-16|0;Ce=c;b=Tk(a,b,c+8|0);a:{if(b){break a}a=C[C[C[a+4>>2]+128>>2]+48>>2];if(!a){break a}Fe[C[C[a>>2]+4>>2]](C[a+4>>2],c+8|0)}Ce=c+16|0;return b|0}function Bo(a){var b=0;b=C[a+72>>2];C[a+72>>2]=b-1|b;b=C[a>>2];if(b&8){C[a>>2]=b|32;return-1}C[a+4>>2]=0;C[a+8>>2]=0;b=C[a+44>>2];C[a+28>>2]=b;C[a+20>>2]=b;C[a+16>>2]=b+C[a+48>>2];return 0}function ro(a,b,c,d,e,f,g,h,i){var j=0;j=Ce-16|0;Ce=j;ah(j,b,c,d,e,f,g,h,i^-2147483648);d=C[j>>2];c=C[j+4>>2];b=C[j+12>>2];C[a+8>>2]=C[j+8>>2];C[a+12>>2]=b;C[a>>2]=d;C[a+4>>2]=c;Ce=j+16|0}function CR(a,b){a=a|0;b=b|0;var c=0,d=0;c=1;a:{if(C[b>>2]!=512){break a}d=D[b+12|0];if(C[b+8>>2]!=C[C[a>>2]+8>>2]|(d-5&255)>>>0>1){break a}c=0;if((d|0)!=5){break a}C[a+4>>2]=1}return c|0}function tn(a){var b=0;C[105701]=a;a:{if(C[105702]){break a}if(a){C[105702]=a}b=C[105662];if(!(C[105681]|(!a|!C[105703]))){if(!b){break a}Fe[b|0](a)|0;return}if(!b){break a}Fe[b|0](0)|0}}function CK(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+416>>2];a:{if((c|0)>0){d=C[a+420>>2];a=0;while(1){if(!Se(b,C[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function hI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=C[a+84>>2];d=c+256|0;f=ij(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;jf(b,e,c);b=e+d|0;C[a+84>>2]=b;C[a+8>>2]=b;C[a+4>>2]=c+e;return c|0}function Xk(a,b){var c=0,d=0;b=b<<2;d=C[b+378664>>2];while(1){a:{c=C[(b+C[a+72>>2]|0)+148>>2]!=(d|0);if(c){break a}a=C[a+12>>2];if(!a){break a}if((a|0)!=378736){continue}}break}return c}function TQ(a){a=a|0;var b=0,c=0;b=C[a+4>>2];c=C[C[b+656>>2]+2952>>2];a:{if(!c){break a}b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b){break a}b=Fe[C[c+8>>2]](b)|0;C[C[a+156>>2]+36>>2]=b}return 0}function Se(a,b){var c=0,d=0;c=D[a|0];d=D[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=D[b+1|0];c=D[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 RS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=zo(b,c,d,C[a+28>>2]);a:{if(b){break a}a=C[a+28>>2];b:{if(C[a+76>>2]<0){a=C[a>>2];break b}a=C[a>>2]}if(!(a>>>5&1)){break a}_e(1)}return b|0}function OJ(a){a=a|0;var b=0,c=0,d=0;c=Ce-16|0;Ce=c;d=ay(C[C[a>>2]+500>>2],c+12|0);b=a;a=C[c+12>>2];C[b+44>>2]=a;if(a){b=C[a>>2];if(!(!b|!C[b+96>>2])){C[b+88>>2]=a}}Ce=c+16|0;return d|0}function zE(a){a=a|0;C[a+36>>2]=349;C[a+32>>2]=350;C[a+28>>2]=351;C[a+24>>2]=352;C[a+20>>2]=353;C[a+16>>2]=354;C[a+4>>2]=355;C[a>>2]=356;C[a+76>>2]=1;C[a+80>>2]=1;C[a+64>>2]=1;return 1}function Mf(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=C[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return C[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function wg(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]>b+3>>>0){c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b=b+4|0}C[a+32>>2]=b;return c}function YQ(a,b){a=a|0;b=b|0;var c=0;c=zh(207840,b);a:{if(c){break a}c=0;if(!a){break a}a=C[a+4>>2];if(!a){break a}a=Dg(a,3922);if(!a){break a}c=Fe[C[C[a>>2]+32>>2]](a,b)|0}return c|0}function vL(a,b){a=a|0;b=b|0;var c=0;C[a+112>>2]=b;c=C[a>>2];if(A[c+8|0]&1){_h(c,b);wp(a);return 0}b=Fe[C[C[c+532>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}C[a+112>>2]=-1;return b|0}function nN(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(A[a+20|0]&1){d=Rw(a,c+12|0,0);break a}d=Qw(a,c+12|0,0)}a=d;Ce=c+16|0;return a|0}function lx(a){a=a|0;var b=0,c=0;b=C[a+8>>2];if(b){a=C[a+16>>2];c=C[a+4>>2];C[b+108>>2]=C[a>>2];C[b+112>>2]=c;C[b+124>>2]=C[a+16>>2];c=C[a+12>>2];C[b+116>>2]=C[a+8>>2];C[b+120>>2]=c}}function IP(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=C[a+12>>2];C[e>>2]=0;if((d|0)==-1){d=af(c)}b=a;f=C[a+76>>2];a=C[a+72>>2];return Fe[C[a+212>>2]](b,f,c,d,e,C[a+76>>2])|0}function Eg(a){var b=0,c=0;c=Ug(a);b=C[104879];a:{if(!b){break a}while(1){if(!uf(a,C[b>>2])){if(C[b+8>>2]!=2?c:0){break a}return C[b+4>>2]}b=C[b+16>>2];if(b){continue}break}}return c}function ik(a,b){var c=0,d=0;d=C[a+4>>2];c=C[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(I(c,12)|0)/10|0;C[a+28>>2]=b;C[a+24>>2]=(b-c|0)/2;C[a+20>>2]=C[a+8>>2]+(C[a+16>>2]/-2|0)}function Tr(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){Qe(4480,0);a=0;break a}d=C[a+44>>2];a=D[C[a+48>>2]+b|0];if((d|0)>(b|0)){break a}C[c>>2]=d;Qe(6262,c);a=0}Ce=c+16|0;return a&255}function Sr(a,b){var c=0,d=0;c=Ce-16|0;Ce=c;a:{if(!a){Qe(4480,0);a=0;break a}d=C[a+60>>2];a=D[C[a+64>>2]+b|0];if((d|0)>(b|0)){break a}C[c>>2]=d;Qe(6801,c);a=0}Ce=c+16|0;return a&255}function MJ(a){a=a|0;var b=0,c=0,d=0;d=Ce-16|0;Ce=d;b=C[a+4>>2];c=C[b+500>>2];a:{if(!C[b+84>>2]){c=c+84|0;b=0;break a}b=c;c=d+12|0;b=ey(b,c)}C[a+160>>2]=C[c>>2];Ce=d+16|0;return b|0}function lH(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[b>>2];d=C[a>>2];if((c|0)!=(d|0)){return(c>>>0>d>>>0?-1:1)|0}a=C[a+4>>2];b=C[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function wm(a,b,c){var d=0,e=0;a:{if((b|0)<0){break a}d=C[a+12>>2];if(C[d+4>>2]<=(b|0)){break a}Kf(c,C[C[a+20>>2]+(b<<2)>>2],A[C[d+8>>2]+b|0]);e=A[C[C[a+12>>2]+8>>2]+b|0]}return e}function Op(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=C[a>>2];if(e){while(1){f=C[e+4>>2];if(b){Fe[b|0](c,C[e+8>>2],d)}Fe[C[c+8>>2]](c,e);e=f;if(e){continue}break}}C[a>>2]=0;C[a+4>>2]=0}}function RM(a,b){a=a|0;b=b|0;C[a+16>>2]=b;b=D[b+6|0]|D[b+7|0]<<8|(D[b+8|0]<<16|D[b+9|0]<<24);C[a+28>>2]=0;C[a+32>>2]=0;C[a+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function $x(a,b){var c=0;if(C[a+4>>2]){c=C[a+132>>2];if(c){Fe[c|0](C[a- -64>>2])}if(b){C[a+132>>2]=0;C[a+64>>2]=0;C[a+200>>2]=b;return}C[a+132>>2]=0;C[a+64>>2]=0;C[a+200>>2]=103}}function Vj(a){var b=0,c=0;b=C[95661];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ge()<<16>>>0){if(!(Nb(a|0)|0)){break a}}C[95661]=a;return b}C[105782]=48;return-1}function ky(a,b){var c=0;if(C[a+4>>2]){c=C[a+120>>2];if(c){Fe[c|0](C[a+52>>2])}if(b){C[a+120>>2]=0;C[a+52>>2]=0;C[a+188>>2]=b;return}C[a+120>>2]=0;C[a+52>>2]=0;C[a+188>>2]=101}}function fy(a,b){var c=0,d=0;c=C[a+156>>2];if(!(!c|!(A[c+4|0]&1))){c=C[C[a+4>>2]+100>>2];d=C[a+88>>2];if(d){Fe[C[c+8>>2]](c,d)}c=C[a+156>>2];C[c+4>>2]=C[c+4>>2]&-2}C[a+88>>2]=b}function ez(a){var b=0,c=0;b=C[105780];if(!b){return Qe(19865,0)}if(!yj(C[b+792>>2])){return Qe(4064,0)}b=C[105780];c=C[b+216>>2];if(c){return Fe[c|0](b,a)|0}return Qe(20055,0)}function Sx(a,b){var c=0;if(C[a+4>>2]){c=C[a+140>>2];if(c){Fe[c|0](C[a+72>>2])}if(b){C[a+140>>2]=0;C[a+72>>2]=0;C[a+208>>2]=b;return}C[a+140>>2]=0;C[a+72>>2]=0;C[a+208>>2]=105}}function Px(a,b){var c=0;if(C[a+4>>2]){c=C[a+144>>2];if(c){Fe[c|0](C[a+76>>2])}if(b){C[a+144>>2]=0;C[a+76>>2]=0;C[a+212>>2]=b;return}C[a+144>>2]=0;C[a+76>>2]=0;C[a+212>>2]=106}}function PS(a){a=a|0;var b=0,c=0,d=0,e=0;c=Fe[C[a+4>>2]](a,0,0,1)|0;b=Ee;d=b;if((b|0)<0){Ee=-1;return-1}e=Fe[C[a+4>>2]](a,0,0,2)|0;b=Ee;Fe[C[a+4>>2]](a,c,d,0)|0;Ee=b;return e|0}function wR(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(C[b+72>>2]!=1869968492){break a}c=C[a>>2];a=a+20|0;c=Wp(c,B[b+110>>1],B[b+108>>1],a);if(c){break a}Tx(b+108|0,a);c=0}return c|0}function vA(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ce-16|0;Ce=c;d=C[b+80>>2];C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=C[b+12>>2];C[c+12>>2]=C[b+16>>2];Iq(a,b,c,C[d+16>>2],C[d+20>>2]);Ce=c+16|0}function qy(a,b){var c=0;if(C[a+4>>2]){c=C[a+108>>2];if(c){Fe[c|0](C[a+40>>2])}if(b){C[a+108>>2]=0;C[a+40>>2]=0;C[a+176>>2]=b;return}C[a+108>>2]=0;C[a+40>>2]=0;C[a+176>>2]=99}}function jO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Ce-16|0;Ce=d;if(il(C[b+4>>2],c,C[b+8>>2]|16,d+12|0)){a=0}else{b=C[d+12>>2];a=(C[a+24>>2]<0?b:0-b|0)+512>>10}Ce=d+16|0;return a|0}function eK(a){a=a|0;var b=0,c=0;b=C[a+4>>2];c=C[b+320>>2];a:{if(!c){break a}b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b){break a}b=Fe[C[c+4>>2]](b)|0;C[C[a+156>>2]+36>>2]=b}return 0}function ZQ(a){a=a|0;C[a+36>>2]=500;C[a+40>>2]=400;A[a+32|0]=0;C[a+28>>2]=1;C[a+60>>2]=2333;C[a+64>>2]=0;C[a+52>>2]=1667;C[a+56>>2]=275;C[a+44>>2]=1e3;C[a+48>>2]=275;return 0}function Yw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(C[b+72>>2]!=C[a+16>>2]){break a}if(c){Ui(b+108|0,c)}e=0;if(!d){break a}Pg(b+108|0,C[d>>2],C[d+4>>2])}return e|0}function Wq(a,b,c){var d=0;d=Ce-16|0;Ce=d;a:{if(!(C[a>>2]==422838?a:0)){C[d>>2]=16603;Qe(19745,d);break a}if(b){C[b>>2]=C[a+12>>2]}if(!c){break a}C[c>>2]=C[a+16>>2]}Ce=d+16|0}function JK(a){a=a|0;var b=0,c=0;b=C[a+4>>2];c=C[b+548>>2];a:{if(!c){break a}b=Dg(C[C[b+96>>2]+4>>2],9541);if(!b){break a}b=Fe[C[c+4>>2]](b)|0;C[C[a+156>>2]+36>>2]=b}return 0}function Zo(a,b,c){a=a|0;b=b|0;c=c|0;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=Jg(a+b|0,b+351104|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a|0}function cP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;C[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=F[a+408>>2]){break a}C[c>>2]=C[(C[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Vy(a,b){var c=0;if(C[a+4>>2]){c=C[a+80>>2];if(c){Fe[c|0](C[a+12>>2])}if(b){C[a+80>>2]=0;C[a+12>>2]=0;C[a+148>>2]=b;return}C[a+80>>2]=0;C[a+12>>2]=0;C[a+148>>2]=93}}function Iy(a,b){var c=0;if(C[a+4>>2]){c=C[a+88>>2];if(c){Fe[c|0](C[a+20>>2])}if(b){C[a+88>>2]=0;C[a+20>>2]=0;C[a+156>>2]=b;return}C[a+88>>2]=0;C[a+20>>2]=0;C[a+156>>2]=95}}function Ey(a,b){var c=0;if(C[a+4>>2]){c=C[a+92>>2];if(c){Fe[c|0](C[a+24>>2])}if(b){C[a+92>>2]=0;C[a+24>>2]=0;C[a+160>>2]=b;return}C[a+92>>2]=0;C[a+24>>2]=0;C[a+160>>2]=96}}function Ay(a,b){var c=0;if(C[a+4>>2]){c=C[a+96>>2];if(c){Fe[c|0](C[a+28>>2])}if(b){C[a+96>>2]=0;C[a+28>>2]=0;C[a+164>>2]=b;return}C[a+96>>2]=0;C[a+28>>2]=0;C[a+164>>2]=97}}function wN(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[a+16>>2]+6|0;a=C[b>>2];while(1){a=a+1|0;if(a>>>0>255){C[b>>2]=0;return 0}c=D[a+d|0];if(!c){continue}break}C[b>>2]=a;return c|0}function Yh(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=Te(C[a>>2],C[b>>2]);d=Te(C[a+4>>2],C[b+4>>2]);e=Te(C[a>>2],C[b+8>>2]);b=Te(C[a+4>>2],C[b+12>>2]);C[a>>2]=c+d;C[a+4>>2]=b+e}}function yf(a,b,c){var d=0,e=0;while(1){a=lg(a,c);d=(a|0)!=0&a>>>0>>0;if(d){a=af(c)+a|0;e=D[a|0];if((e-48&255)>>>0<10|((e&-33)-65&255)>>>0<26){continue}}break}return d}function Bj(a,b,c,d,e){var f=0;f=Ce-16|0;Ce=f;a:{if(!(C[a>>2]==422837?a:0)){C[f>>2]=9675;Qe(19745,f);break a}A[a+420|0]=b;A[a+423|0]=e;A[a+422|0]=d;A[a+421|0]=c}Ce=f+16|0}function fS(a){a=a|0;var b=0;a:{b:{if(a){b=C[105671];if(!b){break b}a=0;if((za(C[C[b+164>>2]+12>>2],1)|0)<0){break b}break a}a=0;if((qb()|0)>=0){break a}}a=-1}return a|0}function FL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=C[a+24>>2];c=bf(b,c);a:{if(c){break a}c=Cf(b,d);if(c){break a}C[a+200>>2]=C[b+32>>2];C[a+204>>2]=C[b+36>>2];c=0}return c|0}function Ow(a,b){a=a|0;b=b|0;C[a+16>>2]=b;b=D[b+12|0]|D[b+13|0]<<8|(D[b+14|0]<<16|D[b+15|0]<<24);A[a+24|0]=0;C[a+40>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function ag(a){var b=0;if(a){b=C[a>>2];if(b){Al(b+32|0,a)}C[a>>2]=0;C[a+80>>2]=0;C[a+84>>2]=0;a=a- -64|0;b=C[a>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}C[a>>2]=0}}function gE(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(!D[d|0]){break a}a=0;if((Zf(d)|0)<0){break a}a=3;if((Zf(d)|0)>3){break a}a=Zf(d)}C[104863]=a}function AA(a){a=a|0;var b=0;b=Ce-288|0;Ce=b;We(b+12|0,0,136);C[b+140>>2]=268435456;C[b+8>>2]=591;qi(a,b+8|0,b+148|0);Ce=b+288|0;a=a-2|0;if(!a|(a|0)==13){A[422836]=1}}function oq(a){var b=0;b=C[105780];a:{if(!b){break a}b=C[b+380>>2];if(!b){break a}while(1){if(C[b+4>>2]==(a|0)){return b}b=C[b+172>>2];if(b){continue}break}}return 0}function jN(a,b){a=a|0;b=b|0;a=C[a+16>>2];b=b-(D[a+6|0]<<8|D[a+7|0])|0;if(b>>>0<(D[a+9|0]|D[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=D[a+10|0]<<8|D[a+11|0]}else{a=0}return a|0}function LP(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=C[a+12>>2];if(e){A[d|0]=0}b=a;f=C[a+76>>2];a=C[a+72>>2];return Fe[C[a+208>>2]](b,f,c,d,e,C[a+72>>2])|0}function _M(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=10;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function WM(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=12;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function SM(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=13;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function GP(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(F[a+4>>2]>>0){break a}}e=C[a+12>>2];if(C[a+8>>2]!=(b|0)){yo(e,b,0)}e=zo(c,1,d,e)}return e|0}function sJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=C[b>>2]+1|0;b=C[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}C[e>>2]=b;return d|0}function hT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=C[b+80>>2];b=C[a+16>>2];C[d>>2]=(C[a+20>>2]+I(b,C[c+4>>2])|0)+I(C[c>>2],D[C[a+4>>2]+9|0]);C[e>>2]=b;return 0}function cN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=8;a=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function bi(a,b,c){var d=0;d=C[105780];if(!d){Qe(19865,0);return}if(!(C[a>>2]==(d+388|0)?a:0)){Qe(2168,0);return}if(b){C[b>>2]=C[a+24>>2]}if(c){C[c>>2]=C[a+28>>2]}}function qm(a,b){var c=0;if(!a){return 0}a:{if(!b){break a}c=C[a+692>>2];b:{if(c){c=Fe[c|0](a,b)|0;break b}c=kf(b)}if(!c){break a}return We(c,0,b)}Af(a,1277);s()}function pR(a,b){a=a|0;b=b|0;C[a+2988>>2]=b;C[a+2980>>2]=C[b+28>>2];C[a+4>>2]=C[b+8>>2];C[a+12>>2]=C[b+12>>2];C[a+8>>2]=C[b+16>>2];C[a+16>>2]=C[b+20>>2];return 0}function Uu(a){if((a|0)>=0){C[94438]=(a|0)>=128?128:a;ui();if(!(!C[104393]|!C[C[C[104393]>>2]+36>>2])){a=C[104393];Fe[C[C[a>>2]+36>>2]](C[a+4>>2],C[94438])}si()}}function UJ(a,b){a=a|0;b=b|0;var c=0;c=C[b+96>>2];if(!((c|0)<0|C[a+300>>2]<=(c|0))){a=C[a+304>>2]+I(c,252)|0;b=Fe[C[b+40>>2]](b,0)|0;C[a+180>>2]=b;C[a+208>>2]=b}}function Su(a){var b=0;b=C[a>>2]-1|0;b=A[(I(0-b&b,124511785)>>>27|0)+373760|0];if(!b){a=C[a+4>>2];a=A[(I(0-a&a,124511785)>>>27|0)+373760|0];b=a?a+32|0:0}return b}function zh(a,b){var c=0;a:{if(!a|!b){break a}c=C[a>>2];if(!c){break a}while(1){if(!Se(c,b)){return C[a+4>>2]}c=C[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function TS(a){a=a|0;var b=0;if(!a){return 0}a:{if(!C[a+24>>2]){break a}if(!Co(C[a+28>>2])){break a}b=_e(2)}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}return b|0}function OQ(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=C[a+12>>2];C[e>>2]=0;b=a;f=C[a+76>>2];a=C[a+72>>2];return Fe[C[a+164>>2]](b,f,c,d,e,C[a+28>>2])|0}function zO(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+484>>2];C[a+24>>2]=C[b+416>>2];C[a+28>>2]=C[b+420>>2];C[a+20>>2]=C[c+20>>2];C[a+16>>2]=C[c+24>>2];return 0}function wJ(a,b){a=a|0;b=b|0;var c=0;c=C[a>>2];b=C[c+132>>2];_h(c,0);c=E[b+80>>1];C[a+24>>2]=c<<6;C[a+28>>2]=c-E[b+96>>1]<<6;C[a+36>>2]=E[b+102>>1]<<6;return 0}function vO(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+484>>2];C[a+24>>2]=C[b+416>>2];C[a+28>>2]=C[b+420>>2];C[a+20>>2]=C[c+20>>2];C[a+16>>2]=C[c+28>>2];return 0}function hQ(a,b){a=a|0;b=b|0;var c=0,d=0;d=C[a>>2];c=C[d+140>>2];_h(d,b);C[a+24>>2]=C[c+40>>2]<<6;C[a+28>>2]=0-(C[c+44>>2]<<6);C[a+36>>2]=E[c+4>>1]<<6;return 0}function bf(a,b){var c=0,d=0;d=C[a+20>>2];a:{b:{if(d){c=85;if(!(Fe[d|0](a,b,0,0)|0)){break b}break a}c=85;if(F[a+4>>2]>>0){break a}}C[a+8>>2]=b;c=0}return c}function _f(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}d=C[a+208>>2];if(!(D[a+375|0]&32?(d&768)!=768:!(d&2048))){break a}e=a,f=Wg(C[a+400>>2],b,c),C[e+400>>2]=f}}function ds(a,b){var c=0,d=0;c=Rf(C[104856],I(C[104857],12)+12|0);if(c){C[104856]=c;d=C[104857];c=c+I(d,12)|0;C[c+8>>2]=0;C[c+4>>2]=b;C[c>>2]=a;C[104857]=d+1}}function Up(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]<=b+3>>>0){C[a+32>>2]=b;return 0}c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);C[a+32>>2]=b+4;return c}function rj(a,b){var c=0,d=0;a:{if(!a){break a}c=C[a+28>>2];b:{if(!a){break b}d=C[a+24>>2];if(!d){break b}Fe[d|0](a)}if(b){break a}if(a){Fe[C[c+8>>2]](c,a)}}}function LQ(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+656>>2];if(!C[c+1160>>2]){return 163}return Fe[C[C[c+2956>>2]+4>>2]](C[b+100>>2],a,C[c+12>>2],800,0,b)|0}function yM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1668112752,b,a+504|0)|0;if(!c){c=eh(b,C[a+504>>2],a+500|0);if(!c){return 0}C[a+504>>2]=0}return c|0}function uK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Rj(a,1986098019,c)){break a}if(!Rj(a,1986294627,c+4|0)){break a}b=Rj(a,1986815856,c+8|0)}return b|0}function bO(a){a=a|0;var b=0;if(a){C[a+412>>2]=0;C[a+4>>2]=0;C[a+1960>>2]=0;C[a+1444>>2]=0;C[a+928>>2]=0;C[a+208>>2]=0;b=C[a>>2];if(a){Fe[C[b+8>>2]](b,a)}}}function KK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Rj(a,1751216995,c)){break a}if(!Rj(a,1751413603,c+4|0)){break a}b=Rj(a,1751934832,c+8|0)}return b|0}function kG(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?B[(D[(b>>>2&63|D[(b>>>9|0)+101588|0]>>>(b>>>6&4)<<6&960)+101716|0]<<3|(b&3)<<1)+141312>>1]:0)+b|0}function Hh(a){var b=0,c=0;b=a*a;c=b*a;return J(c*(b*b)*(b*2718311493989822e-21+-.00019839334836096632)+(c*(b*.008333329385889463+-.16666666641626524)+a))}function Fz(){var a=0,b=0;a=C[105707];C[105707]=1;if(a){a=0;while(1){a:{if((a|0)<=31){a=a+1|0;break a}ph(0)}b=C[105707];C[105707]=1;if(b){continue}break}}}function dz(){var a=0,b=0,c=0;a=C[105780];a:{if(!a){break a}if(!yj(C[a+792>>2])){break a}a=C[105780];b=C[a+220>>2];if(!b){break a}c=Fe[b|0](a)|0}return c}function df(a,b){var c=0,d=0;a:{if(!a){break a}c=mT(a,0,b,0);d=Ee;if((a|b)>>>0<65536){break a}c=d?-1:c}a=kf(c);if(!(!a|!(D[a-4|0]&3))){We(a,0,c)}return a}function Qp(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=D[b|0];if(!d){break a}A[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}A[a|0]=0}function Pq(a,b,c,d,e,f,g,h,i,j,k){var l=0;l=rk(a,10,b);if(!l){return-1}a=Fe[C[a+48>>2]](a,l,b,c,8,d,0,e,f,g,h,i,4,j,k)|0;if((a|0)<0){C[l>>2]=0}return a}function xy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=C[a+532>>2];C[d>>2]=0;C[d+4>>2]=0;if(e){f=d,g=Fe[C[e+84>>2]](a,b,c)|0,C[f>>2]=g}return 0}function ml(a){var b=0;b=Ce-16|0;Ce=b;C[b+12>>2]=0;Fe[C[a+8>>2]](a,b+12|0,4,1)|0;Ce=b+16|0;a=C[b+12>>2];return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function jG(a,b,c){a=a|0;b=b|0;c=c|0;return C[((b>>>0>917999?2:D[(b&15|E[(b>>>3&62|D[(b>>>9|0)+102676|0]<<6)+124480>>1]<<4)+104470|0])<<2)+141712>>2]}function Gj(a,b){var c=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=3395;Qe(19745,c);break a}if(C[a+44>>2]<=0|C[a+48>>2]<=0){break a}Ar(a,a+36|0,1,b)}Ce=c+16|0}function EN(a,b,c){a=a|0;b=b|0;c=c|0;c=C[a+112>>2];B[a+156>>1]=0-c;b=B[b>>1];C[a+148>>2]=0-I(b,c);if((c|0)>0){C[a+148>>2]=I(C[a+104>>2]+(b^-1)|0,c)}}function oi(a,b,c,d){var e=0;a=C[a+52>>2];A[a+78|0]=d;A[a+77|0]=c;A[a+76|0]=b;e=C[a+68>>2];b=e&-2|(b&c&d)!=255;C[a+68>>2]=b;if((b|0)!=(e|0)){ag(a)}}function ak(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=O(Gh(+(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 Mi(a,b){var c=0;a:{if(!a){b=0;break a}if(b){c=C[a+692>>2];b:{if(c){b=Fe[c|0](a,b)|0;break b}b=kf(b)}if(b){break a}}Af(a,1277);s()}return b}function $w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ce-16|0;Ce=c;C[b>>2]=0;d=hf(a,4,c+12|0);e=C[c+12>>2];if(!e){C[d>>2]=a;C[b>>2]=d}Ce=c+16|0;return e|0}function uP(a,b){a=a|0;b=b|0;var c=0;c=C[a>>2];_h(c,b);C[a+24>>2]=C[c+204>>2]<<6;C[a+28>>2]=0-(C[c+208>>2]<<6);C[a+36>>2]=B[c+236>>1]<<6;return 0}function qu(a,b){var c=0;a=C[a>>2];c=C[b+12>>2];if(c){Fe[C[a+8>>2]](a,c)}C[b+16>>2]=0;C[b+20>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0;C[b>>2]=0;C[b+4>>2]=0}function oJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=df(1,32);C[a+4>>2]=C[b>>2];c=C[b+8>>2];C[a+20>>2]=b;C[a>>2]=c;d=a,e=df(2,4),C[d+8>>2]=e;return a|0}function Vk(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=C[a+12>>2];if((B[a+22>>1]+b|0)+B[a+58>>1]>>>0<=F[a+4>>2]){break a}c=Qg(a,b,0)}return c|0}function CG(a){a=a|0;var b=0;b=a+24|0;Xe(b,1668049255,1,1);a=C[104422];if(!a){Hr();a=C[104422]}if(a&4){Xe(b,1801810542,1,0)}Xe(b,1818847073,1,0)}function xR(a,b){a=a|0;b=b|0;var c=0;c=C[a+20>>2];C[b>>2]=c<<6;C[b+8>>2]=c+C[a+32>>2]<<6;c=C[a+24>>2];C[b+12>>2]=c<<6;C[b+4>>2]=c-C[a+28>>2]<<6}function rG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=C[a+12>>2];C[d>>2]=0;if(!(!b|!c)){e=(Fe[C[a+36>>2]](a,b,c,d,C[a+68>>2])|0)!=0}return e|0}function qh(a){var b=0;b=C[a+28>>2];a:{if(b){break a}b=0;if(!(D[a|0]&2)){break a}Fj(a,1);C[a>>2]=C[a>>2]|2;b=C[a+28>>2]}C[a+28>>2]=b+1;return 0}function QM(a){a=a|0;var b=0,c=0;C[a+28>>2]=0;b=C[a+36>>2];a:{if(!b){break a}c=C[a+32>>2];if(!c){break a}if(c){Fe[C[b+8>>2]](b,c)}C[a+32>>2]=0}}function yz(a,b){var c=0;c=Ce-16|0;Ce=c;a:{if(!a){C[c>>2]=19490;Qe(19745,c);break a}if((er(C[a+4>>2],b)|0)<0){break a}ag(C[a+52>>2])}Ce=c+16|0}function Ti(a,b){a:{if(!a){break a}a=C[a>>2];if(!a){break a}while(1){if(C[a+8>>2]==(b|0)){return a}a=C[a+4>>2];if(a){continue}break}}return 0}function Ih(a){var b=0;a=a*a;b=a*a;return J(a*b*(a*2439044879627741e-20+-.001388676377460993)+(b*.04166662332373906+(a*-.499999997251031+1)))}function yn(a){var b=0,c=0;b=Ce+-64|0;Ce=b;c=C[(a>>>6&1020)+418400>>2];if(!(C[(a>>>3&28)+c>>2]>>>a&1?c:0)){C[b+8>>2]=a;Df(b+8|0)}Ce=b- -64|0}function Ym(a){var b=0;a:{if(!a){break a}b=C[105780];if(!b){break a}if((yj(C[b+792>>2])|0)==(a|0)){Bh(0,0)}b=C[105780];Fe[C[b+228>>2]](b,a)}}function nJ(a){a=a|0;var b=0,c=0;if(a){b=C[a+8>>2];if(b){c=C[b>>2];if(c){Re(c);b=C[a+8>>2]}c=C[b+4>>2];if(c){Re(c);b=C[a+8>>2]}Re(b)}Re(a)}}function gG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[a+12>>2];Fe[C[a+4>>2]](a,b,b>>31,0)|0;if(d){a=Fe[C[a+8>>2]](a,c,1,d)|0}else{a=0}return a|0}function OR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=J(0);f=J(J(+W())*J(96));if(c){G[c>>2]=f}if(d){G[d>>2]=f}if(e){G[e>>2]=f}return 0}function wi(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=ul(d,e,f,g,h);if(!a){Qe(4953,0);return 0}return ei(b,c,a)|0}function to(a,b){var c=0,d=0;c=af(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=D[b|0]){continue}}break}return b}function ip(a){var b=0;if(a){b=C[a+8>>2];if(b){Re(b)}b=C[a+12>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0}}function eO(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+4>>2];a:{if(c){break a}d=C[a>>2];c=cx(a+16|0,b,d);if(c){break a}c=cx(a+52|0,b,d)}return c|0}function ch(a,b){a=a|0;b=b|0;var c=0;a:{if(!(!a|!b)){c=C[a+692>>2];b:{if(c){a=Fe[c|0](a,b)|0;break b}a=kf(b)}if(a){break a}}a=0}return a|0}function JI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!(!a|!b|(!c|!(C[b+8>>2]&8)))){C[c>>2]=C[b+16>>2];C[d>>2]=E[b+20>>1];e=8}return e|0}function fh(a){var b=0;a:{b=C[a+28>>2];if(!b){break a}C[a+28>>2]=b-1;if((b|0)>1){break a}b=C[a>>2];if(!(b&2)){break a}C[a>>2]=b&-3;yl(a)}}function Ok(a){var b=0,c=0;b=O(1e10/+(a|0)+.5);a=b>=-2147483648;if(K(b)<2147483648){c=~~b}else{c=-2147483648}return b<=2147483647?a?c:0:0}function It(a){a=C[$g(a+136|0)>>2];a=a?a:84608;a=F[a+16>>2]<10?84608:C[a+12>>2];return(D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))!=0}function pG(a,b){a=a|0;b=b|0;a=E[a+16>>1];a=1<>>8|0:0;b=E[b+16>>1];b=1<>>8|0:0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function tz(){var a=0,b=0;a=C[105729];a:{if(a){while(1){b=C[a+4>>2];if(!C[a>>2]){break a}a=C[a+8>>2];if(a){continue}break}}b=0}return b}function jI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=C[b>>2]+7&-8;C[c>>2]=b+16;d=a,e=qo(C[b>>2],C[b+4>>2],C[b+8>>2],C[b+12>>2]),H[d>>3]=e}function UK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=12;a:{if(Se(b,12285)){break a}d=7;if(C[c>>2]!=35){break a}C[a+64>>2]=35;d=0}return d|0}function Of(a,b){var c=0;a:{b:{if(!b){break b}c=C[a+12>>2];if(!c){break b}a=Fe[c|0](a,b,C[a+16>>2])|0;if(a){break a}}a=84608}return a}function hf(a,b,c){if((b|0)<=0){C[c>>2]=b?6:0;return 0}a=Fe[C[a+4>>2]](a,b)|0;if(!a){C[c>>2]=64;return 0}p(a,0,b);C[c>>2]=0;return a}function Gf(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]>b+1>>>0){c=D[b|0]|D[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}C[a+32>>2]=b;return c&65535}function oN(a,b){a=a|0;b=b|0;var c=0;C[a+16>>2]=b;c=D[b+7|0];b=D[b+6|0];C[a+24>>2]=-1;C[a+28>>2]=0;C[a+32>>2]=(b<<8|c)>>>1;return 0}function lm(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=C[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=C[c>>2];C[a>>2]=d<>2]=c<>>32-b}function lG(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0>1114109?2:D[(b&15|E[(b>>>3&62|D[(b>>>9|0)+85024|0]<<6)+118144>>1]<<4)+87200|0])|0}function ZJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){C[b>>2]=C[a+152>>2]}if(c){C[c>>2]=C[a+156>>2]}if(d){C[d>>2]=C[a+160>>2]}return 0}function YL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ce-16|0;Ce=e;a=Fp(a,b,e+12|0);if(!a){Qp(c,C[e+12>>2],d)}Ce=e+16|0;return a|0}function Lf(a){var b=0;b=a;a=lu(a+52|0);a=D[a+18|0]|D[a+19|0]<<8;a=(a<<8|a>>>8)&65535;a=a-16>>>0>=16369?1e3:a;C[b+28>>2]=a;return a}function zI(a){a=a|0;var b=0;if(a){b=C[a+208>>2];if(b&64){$j(a,11715);return}C[a+208>>2]=b|16384;C[a+212>>2]=C[a+212>>2]|33558528}}function uO(a,b){a=a|0;b=b|0;var c=0;b=C[a>>2];c=C[b+376>>2];C[a+16>>2]=c;C[a+20>>2]=C[b+380>>2]-c;C[a+24>>2]=C[b+384>>2];return 0}function rA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(Bq(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=Bq(a,b+61440|0,c)}return d|0}function nm(a,b){var c=0,d=0;c=C[a+4>>2];a:{if(b>>>0<=31){d=C[a>>2];break a}b=b-32|0;d=c;c=0}C[a+4>>2]=c>>>b;C[a>>2]=c<<32-b|d>>>b}function kl(a){var b=0;b=C[105780];if(!b){Qe(19865,0);return 0}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return 0}return C[a+48>>2]}function aE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ce-16|0;Ce=a;C[a+4>>2]=d;C[a>>2]=C[(c<<2)+174160>>2];bv(C[93448],34421,a);Ce=a+16|0}function pq(a){var b=0;b=C[105780];if(!b){Qe(19865,0);return 0}if(!(C[a>>2]==(b+388|0)?a:0)){Qe(2168,0);return 0}return C[a+4>>2]}function mG(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?D[(b&7|D[(b>>>3&15|D[(b>>>7|0)+97936|0]<<4)+98916|0]<<3)+100356|0]:0)|0}function Iz(a){var b=0;b=Ce-16|0;Ce=b;B[b+14>>1]=0;Fe[C[a+8>>2]](a,b+14|0,2,1)|0;Ce=b+16|0;a=E[b+14>>1];return(a<<8|a>>>8)&65535}function yI(a){a=a|0;var b=0;if(a){b=C[a+208>>2];if(b&64){$j(a,11715);return}C[a+208>>2]=b|16384;C[a+212>>2]=C[a+212>>2]|20480}}function sG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[a+12>>2];C[c>>2]=b;C[d>>2]=0;return(Fe[C[a+40>>2]](a,b,c,d,C[a+72>>2])|0)!=0|0}function is(a){var b=0;C[a+84>>2]=0;A[a+73|0]=0;A[a+74|0]=1;C[a+96>>2]=C[a+92>>2];b=I(C[a+80>>2],20);if(b){We(C[a+100>>2],0,b)}}function cT(a){a=a|0;var b=0;b=C[a+548>>2];if(b){Fe[C[94765]](b);C[94766]=C[94766]-1}if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function OH(a,b,c){a=a|0;b=b|0;c=c|0;b=D[b|0]|D[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+c|0}else{b=84608}return(zf(b,a)|0)!=-1|0}function dL(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=0-((c-b|0)+32&-64)|0;return a>>31&a}function aL(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=0-((c-b|0)+63&-64)|0;return a>>31&a}function XK(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=0-((c-b|0)+16&-32)|0;return a>>31&a}function AI(a){a=a|0;var b=0;if(a){b=C[a+208>>2];if(b&64){$j(a,11715);return}C[a+208>>2]=b|16384;C[a+212>>2]=C[a+212>>2]|1024}}function xf(a){var b=0,c=0;if(C[a+20>>2]){b=C[a+28>>2];c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0}C[a+32>>2]=0;C[a+36>>2]=0}function rO(a,b){a=a|0;b=b|0;var c=0,d=0;c=C[a+16>>2];return(c>>>0>b>>>0|C[a+20>>2]+c>>>0<=b>>>0?d:E[C[a+24>>2]+(b<<1)>>1])|0}function dO(a){a=a|0;C[a+12>>2]=1;C[a+16>>2]=0;C[a+4>>2]=0;C[a+76>>2]=0;C[a- -64>>2]=0;C[a+52>>2]=0;C[a+40>>2]=0;C[a+28>>2]=0}function cL(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:a^-32)|0}function YN(a){a=a|0;C[a+12>>2]=2;C[a+16>>2]=0;C[a+4>>2]=0;C[a+76>>2]=0;C[a- -64>>2]=0;C[a+52>>2]=0;C[a+40>>2]=0;C[a+28>>2]=0}function Xw(a,b,c){a=a|0;b=b|0;c=c|0;C[c>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;C[c+12>>2]=0;if(C[b+72>>2]==C[a+16>>2]){Zh(b+108|0,c)}}function BR(a,b){a=a|0;b=b|0;var c=0;a:{if(!(C[b>>2]!=512|D[b+12|0]!=4)){c=0;if(C[b+8>>2]==C[a+8>>2]){break a}}c=1}return c|0}function AR(a,b){a=a|0;b=b|0;var c=0;a:{if(!(C[b>>2]!=512|D[b+12|0]!=3)){c=0;if(C[b+8>>2]==C[a+8>>2]){break a}}c=1}return c|0}function Sq(a){var b=0;b=Ce-16|0;Ce=b;a:{if(!(C[a>>2]==422837?a:0)){C[b>>2]=9675;Qe(19745,b);break a}C[a+424>>2]=1}Ce=b+16|0}function Sg(a){var b=0,c=0;c=af(a)+1|0;b=c;b=Fe[C[94762]](b>>>0<=1?1:b)|0;if(b){C[94766]=C[94766]+1}if(b){gf(b,a,c)}return b}function vE(a){a=a|0;var b=0,c=0;b=C[a+96>>2];c=C[b>>2];if((Fe[C[c+12>>2]](c,C[b+8>>2],1,C[a+16>>2])|0)!=C[a+16>>2]){ps(a)}}function XN(a){a=a|0;var b=0;C[a+140>>2]=0;C[a+112>>2]=0;b=C[a+12>>2];ex(a+28|0,b);ex(a- -64|0,b);C[a+12>>2]=0;C[a+16>>2]=0}function rv(a,b,c){a=a|0;b=b|0;c=c|0;if(a){C[a+184>>2]=b;C[a+180>>2]=c?c:1301;if(C[a+176>>2]){C[a+176>>2]=0}C[a+464>>2]=0}}function ih(a,b){var c=0;if(!b){return 0}a:{if(!a){break a}c=C[a+692>>2];if(!c){break a}return Fe[c|0](a,b)|0}return kf(b)}function eL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+16>>2]+(c<<3)|0;C[a+4>>2]=C[a+4>>2]+d;a=C[b+24>>2]+c|0;A[a|0]=D[a|0]|16}function Sk(a,b){var c=0;c=-1;a:{if(C[a+8>>2]<=0){break a}b=dk(a,b);if((b|0)<0){break a}c=C[C[a+24>>2]+(b<<2)>>2]}return c}function Hi(a,b){var c=0;a=C[a+52>>2];A[a+79|0]=b;c=C[a+68>>2];b=c&-3|((b|0)!=255)<<1;C[a+68>>2]=b;if((b|0)!=(c|0)){ag(a)}}function Bi(a,b){var c=0;a:{if(!a){break a}c=D[a|0];if(!c){break a}if((c|0)!=48){b=1;if(wf(a,16581)){break a}}b=0}return b}function uJ(a,b){a=a|0;b=b|0;var c=0;b=C[C[a>>2]+132>>2];c=D[b+104|0];C[a+16>>2]=c;C[a+20>>2]=(D[b+105|0]-c|0)+1;return 0}function qi(a,b,c){if(a>>>0>=65){C[105782]=28;return}if(c){jf(c,I(a,140)+423344|0,140)}if(b){jf(I(a,140)+423344|0,b,140)}}function nE(a){a=a|0;var b=0;b=Ce-16|0;Ce=b;A[b+14|0]=105;A[b+15|0]=0;C[b>>2]=C[a+68>>2];S(386962,b+14|0,b|0)|0;Ce=b+16|0}function iE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(Bi(d,1)){d=0;if(!C[104606]){break a}if(Or()){break a}}d=1}A[419456]=d}function NP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Yk(C[a>>2],c,29922);if(!a){return 64}C[d>>2]=a;C[e>>2]=0;return 0}function MP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Yk(C[a>>2],c,29950);if(!a){return 64}C[d>>2]=a;C[e>>2]=0;return 0}function yR(a,b){a=a|0;b=b|0;var c=0;c=C[a>>2];C[b+20>>2]=C[a+20>>2];C[b+24>>2]=C[a+24>>2];return Xy(c,a+28|0,b+28|0)|0}function oo(a,b,c,d){if(b){A[b|0]=D[C[a+52>>2]+76|0]}if(c){A[c|0]=D[C[a+52>>2]+77|0]}if(d){A[d|0]=D[C[a+52>>2]+78|0]}}function jx(a,b){a=a|0;b=b|0;a=C[a+4>>2]|C[a>>2]<<16;b=C[b+4>>2]|C[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function gL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+16>>2]+(c<<3)|0;C[a>>2]=C[a>>2]+d;a=C[b+24>>2]+c|0;A[a|0]=D[a|0]|8}function Zw(a){a=a|0;var b=0;b=C[a+4>>2];Fe[C[C[C[a+12>>2]+56>>2]+8>>2]](C[a+52>>2],C[b+164>>2],C[b+168>>2]);return 0}function vy(a){a=a|0;var b=0,c=0;b=C[C[a>>2]+100>>2];c=C[a+20>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+16>>2]=0;C[a+20>>2]=0}function kA(a,b){a=a|0;b=b|0;var c=0;b=ez((b|0)!=0);if(!b){c=dz();C[a+124>>2]=C[a+124>>2]&-5|((c|0)>0)<<2}return b|0}function Bv(a,b){var c=0;a:{if(!a|!b){break a}c=C[b>>2];if(!c){break a}C[b>>2]=0;Pk(a,c,65535,-1);nf(a,We(c,0,280))}}function vM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1886352244,b,0)|0;if(!c){c=Ff(b,284016,a+468|0)}return c|0}function qM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1346587732,b,0)|0;if(!c){c=Ff(b,284128,a+548|0)}return c|0}function pM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1651008868,b,0)|0;if(!c){c=Ff(b,283520,a+160|0)}return c|0}function _x(a){a=a|0;var b=0,c=0;b=C[a+28>>2];c=C[a>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0}function ZR(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12){Nr()}dg(C[c+4>>2],(a|0)==13?12:13,0,0);return(qf(512,-1)|0)==1|0}function Iu(a,b,c,d,e,f,g,h,i){C[a>>2]=b;C[a+4>>2]=c;C[a+8>>2]=d;C[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function BI(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((zo(b,1,c,C[a+184>>2])|0)==(c|0)){break a}Af(a,9282);s()}}function AM(a,b){a=a|0;b=b|0;var c=0;c=Fe[C[a+508>>2]](a,1751474532,b,0)|0;if(!c){c=Ff(b,283520,a+160|0)}return c|0}function tR(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Wp(C[a>>2],B[a+22>>1],B[a+20>>1],b);if(!c){Tx(a+20|0,b)}return c|0}function BN(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=Xp(C[b+4>>2],c,d,e);b=!a;return(a|!e?b:D[d|0]!=0)|0}function xh(a){var b=0,c=0;b=C[a+32>>2];if(F[a+36>>2]>b+1>>>0){c=D[b|0]|D[b+1|0]<<8;b=b+2|0}C[a+32>>2]=b;return c}function tm(a){var b=0;if(a){b=C[a>>2];if(b){Re(b)}b=C[a+16>>2];if(b){Re(b)}b=C[a+20>>2];if(b){Re(b)}We(a,0,360)}}function hl(a){var b=0,c=0;if(a){b=C[C[a>>2]>>2];c=C[C[a+4>>2]+12>>2];if(c){Fe[c|0](a)}if(a){Fe[C[b+8>>2]](b,a)}}}function If(a,b){var c=0;c=a;a=(a|0)!=0&(b|0)!=0;a=Fe[C[94763]](a?c:1,a?b:1)|0;if(a){C[94766]=C[94766]+1}return a}function pT(a){var b=0,c=0;b=O(a);c=a-b;if(!(c<.5)){a=P(a);if(c>.5){return a}c=a;a=b*.5;b=a-O(a)==0?b:c}return b}function bL(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=0-(c-b&-64)|0;return a>>31&a}function Uo(a,b){a:{if(!(D[a+210|0]&16)){if(C[a+372>>2]?D[a+205|0]&128:0){break a}Af(a,b);s()}return}Kg(a,b);s()}function Ll(a){a:{a=a-1|0;if(a>>>0<=15){a=C[(a<<2)+418272>>2];if(a){break a}}Qe(27615,0);return}Fe[C[104550]](a)}function Kl(a){a:{a=a-1|0;if(a>>>0<=15){a=C[(a<<2)+418272>>2];if(a){break a}}Qe(27615,0);return}Fe[C[104551]](a)}function Jk(a,b){var c=0;a=C[a+52>>2];c=C[a+68>>2];b=c&-4097|((b|0)!=0)<<12;C[a+68>>2]=b;if((b|0)!=(c|0)){ag(a)}}function $F(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=gs(C[a+92>>2],b,c);d=d-c|0;if((d|0)>0){mf(b+c|0,D[a+35|0],d)}}function Uv(a){var b=0;if(a){b=C[a+4>>2];if(b){Re(b)}b=C[a+8>>2];if(b){Re(b)}C[a>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}}function lR(a,b){a=a|0;b=b|0;C[a+24>>2]=C[b+20>>2];C[a+4>>2]=C[b>>2];C[a+28>>2]=C[b+24>>2];Uy(a,b,0);Uy(a,b,1)}function RI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(!a|4294967295/(c>>>0)>>>0<=b>>>0)){d=ch(a,I(b,c))}return d|0}function xi(a){var b=0;b=Ce-16|0;Ce=b;C[b+12>>2]=0;Fe[C[a+8>>2]](a,b+12|0,4,1)|0;Ce=b+16|0;return C[b+12>>2]}function bI(a){a=a|0;if(C[a+76>>2]<0){a=C[a+60>>2]}else{a=C[a+60>>2]}if((a|0)<0){C[105782]=8;a=-1}return a|0}function Qu(){var a=0;a=Qb(-100,22191,0)|0;if((a|0)==-31){a=Pb(22191)|0}if(a>>>0>=4294963201){C[105782]=0-a}}function Ik(a,b){a=(C[C[a+52>>2]+68>>2]&240)-16|0;if(a>>>0<=127){a=C[(a>>>2|0)+195492>>2]}else{a=0}C[b>>2]=a}function FR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;C[d+4>>2]=0;C[d+8>>2]=0;C[d+12>>2]=0;return 0}function vS(a,b){a=a|0;b=b|0;a:{if(!b){break a}a=C[a+1080>>2];if(!a){break a}Fe[C[a+76>>2]](C[a+8>>2],b)|0}}function sf(a,b){var c=0;c=b;b=af(b);if(cf(a,c,b)){a=0}else{a=D[a+b|0];if(!a){return 1}a=(a|0)==45}return a}function az(){var a=0;a=df(1,216);if(!a){return 378516}C[a>>2]=1;C[a+4>>2]=1;jf(a+148|0,378664,68);return a}function pO(a,b){a=a|0;b=b|0;b=C[a>>2];return Fe[C[C[b+484>>2]+4>>2]](C[b+100>>2],a,C[b+416>>2],912,0,b)|0}function Wf(a,b){var c=0;if(!(!a|!C[a+20>>2])){a=C[a+28>>2];c=C[b>>2];if(c){Fe[C[a+8>>2]](a,c)}}C[b>>2]=0}function UD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0);e=J(1);if(!(!d|!D[d|0])){e=J(gv(d))}G[a+100>>2]=e}function EM(a,b){a=a|0;b=b|0;a=C[C[a>>2]+4>>2];b=C[C[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function lj(a,b){if(!C[a+244>>2]){b=b+7|0;if(b>>>0<=9){b=C[(b<<2)+351424>>2]}else{b=18690}C[a+244>>2]=b}}function VD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=J(0);e=J(1);if(!(!d|!D[d|0])){e=J(gv(d))}G[a+96>>2]=e}function Pp(a,b){var c=0;if(!(!a|!b)){c=C[a+4>>2];C[b>>2]=c;C[b+4>>2]=0;C[(c?c+4|0:a)>>2]=b;C[a+4>>2]=b}}function Kt(a,b){a=a|0;b=b|0;C[a+8>>2]=b;a=Gv(a+16|0,0);if((a|0)<0){Zl(14034,a);a=-1}else{a=0}return a|0}function qE(a,b,c){a=a|0;b=b|0;c=c|0;ph((I(E[a+12>>1],1e3)|0)/C[a+4>>2]|0);mf(b,D[a+11|0],c);return c|0}function SP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;if(!b){return 81}return Zk(b,333319,e)|0}function RP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;if(!b){return 81}return Zk(b,333312,e)|0}function ZM(a,b){a=a|0;b=b|0;var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;a=Nw(a,c+12|0,0);Ce=c+16|0;return a|0}function VM(a,b){a=a|0;b=b|0;var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;a=Lw(a,c+12|0,0);Ce=c+16|0;return a|0}function Cx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ce-16|0;Ce=d;a=hf(a,I(b,c),d+12|0);Ce=d+16|0;return a|0}function $P(a,b){a=a|0;b=b|0;b=C[a>>2];C[a+16>>2]=C[C[b+140>>2]+52>>2];C[a+20>>2]=C[b+144>>2];return 0}function $K(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 ug(a){var b=0,c=0;if(a){while(1){b=b+1|0;c=a>>>0>1;a=a>>>1|0;if(c){continue}break}}return b}function oj(a,b){var c=0;if(!(!a|!b)){c=C[b>>2];b=C[b+4>>2];C[(c?c+4|0:a)>>2]=b;C[(b?b:a+4|0)>>2]=c}}function YP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;C[a+156>>2]=b;C[a+160>>2]=c;C[a+164>>2]=d;C[a+168>>2]=0}function Nr(){var a=0;while(1){if(D[a+420062|0]==1){Dl(1,0,a)}a=a+1|0;if((a|0)!=512){continue}break}}function zQ(a,b){a=a|0;b=b|0;a=C[a+656>>2];A[b|0]=0;if(!(!a|C[a+1456>>2]==65535)){A[b|0]=1}return 0}function Wk(a,b,c){if((b|0)>0){a=Fe[C[a+4>>2]](a,b)|0;C[c>>2]=!a<<6;return a}C[c>>2]=b?6:0;return 0}function rJ(a,b){a=a|0;b=b|0;var c=J(0),d=J(0);c=G[C[a>>2]>>2];d=G[C[b>>2]>>2];return(cd)|0}function hE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=419460,f=!Bi(d,1)|C[104618]!=0,A[e|0]=f}function RD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Bi(d,1);if((b|0)!=C[a+132>>2]){C[a+132>>2]=b;ji(0)}}function QI(a){a=a|0;var b=0;a:{if(!a){break a}a=ih(a,280);if(!a){break a}b=We(a,0,280)}return b|0}function rf(a,b,c,d){var e=0;e=Ce-16|0;Ce=e;C[e+12>>2]=d;a=Wj(a,b,c?c:34979,d);Ce=e+16|0;return a}function rE(a){a=a|0;C[a+72>>2]=1;C[a+28>>2]=358;C[a+4>>2]=359;C[a+64>>2]=1;C[a+68>>2]=1;return 1}function qS(a,b,c){a=a|0;b=b|0;c=c|0;if(!b){return tq(a,0,c)|0}return tq(a,C[C[b+164>>2]>>2],c)|0}function QH(a,b,c){a=a|0;b=b|0;c=c|0;c=a;a=D[b|0]|D[b+1|0]<<8;return(c|0)==((a<<8|a>>>8)&65535)|0}function ER(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;C[f>>2]=0;C[e>>2]=0;return 0}function qJ(a,b){a=a|0;b=b|0;a=C[C[a>>2]>>2];b=C[C[b>>2]>>2];return(a>>>0>b>>>0)-(a>>>0>>0)|0}function nf(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=C[a+696>>2];if(c){Fe[c|0](a,b);return}Re(b)}}function TK(a,b,c){a=a|0;b=b|0;c=c|0;if(Se(b,12285)){a=12}else{C[c>>2]=C[a+64>>2];a=0}return a|0}function Xi(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;C[c+8>>2]=a;a=Im(c+8|0);Ce=c+16|0;return a}function TJ(a){a=a|0;var b=0;b=Dg(C[a+4>>2],16802);if(!b){return 11}C[a+28>>2]=C[b>>2];return 0}function Ww(a,b,c){a=a|0;b=b|0;c=c|0;return Fe[C[C[C[a+12>>2]+56>>2]+12>>2]](C[a+52>>2],b,c)|0}function SD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=a;a=Bi(d,0);C[b+124>>2]=a;if(a){sz(-1,-1,3219)}}function ym(a){var b=0;if(C[a+36>>2]){b=C[a+32>>2];if(b){Re(b)}b=C[a+8>>2];if(b){Re(b)}Re(a)}}function rP(a,b){a=a|0;b=b|0;b=C[a>>2];C[a+16>>2]=C[b+296>>2];C[a+20>>2]=C[b+300>>2];return 0}function HI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){C[a+696>>2]=d;C[a+692>>2]=c;C[a+688>>2]=b}}function yj(a){var b=0,c=0;b=tz();if(!(!a|!b|F[b>>2]>>0)){c=C[((a<<3)+b|0)-4>>2]}return c}function bH(a){a=a|0;a=a+24|0;Xe(a,1818914159,0,1);Xe(a,1986686319,0,1);Xe(a,1953131887,0,1)}function _i(a,b){var c=0;a:{c=Ju(a,1024);if((c|0)==1024){af(b);break a}Ku(a+c|0,b,1024-c|0)}}function NJ(a){a=a|0;if(Ti(C[C[a>>2]+500>>2]+108|0,C[a+44>>2])){Zx(C[a+44>>2]);C[a+44>>2]=0}}function uL(a,b,c){a=a|0;b=b|0;c=c|0;c=Ze(c,Am(a));a=C[a+384>>2]+(b<<2)|0;C[a>>2]=c+C[a>>2]}function tN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=0;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function sR(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Ui(a+20|0,b)}if(c){Pg(a+20|0,C[c>>2],C[c+4>>2])}}function pN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=2;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function kN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=4;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function gN(a,b){a=a|0;b=b|0;a=C[a+16>>2];C[b+4>>2]=6;C[b>>2]=D[a+5|0]|D[a+4|0]<<8;return 0}function bE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=419540,f=(Bi(d,0)|0)!=0,A[e|0]=f}function MH(a,b){a=a|0;b=+b;a=Gv(a+16|0,b);if((a|0)<0){Zl(14034,a);a=-1}else{a=0}return a|0}function CO(a){a=a|0;var b=0,c=0;b=C[a>>2];c=C[a+4>>2];if(c){Fe[C[b+8>>2]](b,c)}C[a+4>>2]=0}function tG(a,b){a=a|0;b=b|0;a=D[a+19|0];b=D[b+19|0];return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function _H(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Fe[a|0](b,c,d,e)|0;De=Ee;return a|0}function XD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=500;if(!(!d|!D[d|0])){b=Zf(d)}C[a+112>>2]=b}function RL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Dp(a,b,c,d,3);if(!a){A[b+94|0]=5}return a|0}function QL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Dp(a,b,c,d,4);if(!a){A[b+94|0]=6}return a|0}function jE(){C[105732]=128;C[105731]=422944;if(!C[105730]){return 34979}return C[105731]}function eh(a,b,c){b=Cf(a,b);if(!b){C[c>>2]=C[a+32>>2];C[a+32>>2]=0;C[a+36>>2]=0}return b}function eS(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;C[e>>2]=0;C[d>>2]=0;return 1}function bQ(a,b){a=a|0;b=b|0;a=C[a+4>>2];b=C[b+4>>2];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function WD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=32;if(!(!d|!D[d|0])){b=Zf(d)}C[a+116>>2]=b}function VR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;C[e>>2]=0;C[d>>2]=0;return 0}function fL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+12>>2]+(c<<3)|0;C[a+4>>2]=C[a+4>>2]+d}function YD(a){a=a|0;a=Fe[C[94762]](a>>>0<=1?1:a)|0;if(a){C[94766]=C[94766]+1}return a|0}function uz(){if(!D[422868]){A[422868]=1;if(!Eo(422872)){A[422888]=1;return}Do(422896)}}function rT(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function Kq(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+184308>>2]}return a>>>20&15}function Jq(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+184344>>2]}return a>>>24&15}function CL(a){a=a|0;C[a+112>>2]=-1;C[a+296>>2]=-1;C[a+300>>2]=-1;A[a+108|0]=0;return 0}function kK(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Fe[C[b+52>>2]](b,0,0,0)|0,C[c+540>>2]=d}function iM(a){a=a|0;Wf(C[a+104>>2],a+724|0);C[a+736>>2]=0;C[a+728>>2]=0;C[a+732>>2]=0}function hw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qp(c,C[C[a+420>>2]+(b<<2)>>2],d);return 0}function Nq(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+184236>>2]}return a>>>4&15}function Mq(a){if(!(!(279>>>a&1)|a>>>0>=9)){return C[(a<<2)+184272>>2]}return a>>>8&15}function tP(a,b,c){a=a|0;b=b|0;c=c|0;C[b>>2]=C[a+176>>2];C[c>>2]=C[a+180>>2];return 0}function gQ(a,b,c){a=a|0;b=b|0;c=c|0;C[b>>2]=C[a+132>>2];C[c>>2]=C[a+136>>2];return 0}function Rf(a,b){b=Fe[C[94764]](a,a|b?b:1)|0;if(!(!b|a)){C[94766]=C[94766]+1}return b}function Ms(a,b){a=a|0;b=b|0;a=E[a>>1];b=E[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function hL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=C[b+12>>2]+(c<<3)|0;C[a>>2]=C[a>>2]+d}function ai(){var a=0;a=C[105780];if(!a){Qe(19865,0);return 0}return yj(C[a+792>>2])}function Xf(a,b,c){var d=0;d=C[a+180>>2];if(d){Fe[d|0](a,b,c);return}Af(a,11993);s()}function TD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a,f=Bi(d,1),C[e+120>>2]=f}function IQ(a,b){a=a|0;b=b|0;return Fe[C[C[C[C[a>>2]+656>>2]+2956>>2]+12>>2]](a,b)|0}function DR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){A[d|0]=0}return 0}function sI(a){a=a|0;if(!(!a|D[a+424|0]>7)){A[a+425|0]=8;C[a+212>>2]=C[a+212>>2]|4}}function iT(a,b){a=a|0;b=b|0;a=C[a+548>>2];C[a>>2]=C[(b?b+80|0:a+4|0)>>2];return 0} +function QD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a,f=Bi(d,0),C[e+92>>2]=f}function JQ(a,b){a=a|0;b=b|0;return Fe[C[C[C[C[a>>2]+656>>2]+2956>>2]+8>>2]](a,b)|0}function nG(a,b,c){a=a|0;b=b|0;c=c|0;a=Fe[C[104404]](a)|0;Fe[C[a+8>>2]](a,b,c,1)|0}function dT(a,b){a=a|0;b=b|0;if(D[b+12|0]==6){a=C[a+548>>2];C[a>>2]=0;C[a+4>>2]=0}}function Yj(a,b){a=Tb(a|0,b|0)|0;if(a>>>0>=4294963201){C[105782]=0-a;a=-1}return a}function OS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Fe[C[a+4>>2]](a,b,c,d)|0;return a|0}function tS(a){a=a|0;a=C[a+1080>>2];if(!a){Qe(19845,0);return 0}return C[a+16>>2]}function tJ(a,b){a=a|0;b=b|0;b=b-C[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function wz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;C[e>>2]=0;return 0}function NI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){C[a+168>>2]=c;C[a+172>>2]=b}}function km(a,b,c,d){var e=0;e=Ce-16|0;Ce=e;C[e+12>>2]=d;Wj(a,b,c,d);Ce=e+16|0}function aI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Fe[a|0](b,c,d,e)|0}function SL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Dp(a,b,(c|0)!=1?c:0,d,0)|0}function tL(a,b,c){a=a|0;b=b|0;c=c|0;c=Ze(c,Am(a));C[C[a+384>>2]+(b<<2)>>2]=c}function qT(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function qL(a,b,c){a=a|0;b=b|0;c=c|0;a=C[a+384>>2]+(b<<2)|0;C[a>>2]=C[a>>2]+c}function SF(a){a=a|0;a=C[a+248>>2];if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function WH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fe[C[a+4>>2]](a,b,c,d)|0}function UH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fe[C[d+8>>2]](d,a,b,c)|0}function xN(a,b){a=a|0;b=b|0;return(b>>>0<=255?D[(C[a+16>>2]+b|0)+6|0]:0)|0}function Zu(a,b,c,d){if(C[a+76>>2]<0){return _u(a,b,c,d)}return _u(a,b,c,d)}function RR(a,b,c){a=a|0;b=b|0;c=c|0;dg(C[c+4>>2],C[b>>2]?2:1,0,0);return 0}function NQ(a,b){a=a|0;b=b|0;return(b>>>0<=255?E[C[a+16>>2]+(b<<1)>>1]:0)|0}function bv(a,b,c){var d=0;d=Ce-16|0;Ce=d;C[d+12>>2]=c;xu(a,b,c);Ce=d+16|0}function aK(a){a=a|0;a=C[a+140>>2];if(!a){return 0}return a+(D[a|0]==47)|0}function Tg(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Ij(0,3,a,b);Ce=c+16|0}function MI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;return(!a|!b?d:C[b+8>>2]&c)|0}function Kr(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Ij(4,6,a,b);Ce=c+16|0}function Hj(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Ij(1,5,a,b);Ce=c+16|0}function CP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Np(C[a+12>>2],b,c,d)|0}function Bk(a,b){var c=0;c=Ce-16|0;Ce=c;C[c+12>>2]=b;Ij(2,4,a,b);Ce=c+16|0}function nA(a,b){a=a|0;b=b|0;if(D[b+12|0]==7){Fe[C[C[a+548>>2]+84>>2]]()}}function mO(a,b){a=a|0;b=b|0;return Fe[C[C[C[a>>2]+484>>2]+12>>2]](a,b)|0}function yO(a){a=a|0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0}function sL(a,b){a=a|0;b=b|0;return Te(C[C[a+384>>2]+(b<<2)>>2],Am(a))|0}function nO(a,b){a=a|0;b=b|0;return Fe[C[C[C[a>>2]+484>>2]+8>>2]](a,b)|0}function LN(a){a=a|0;return(a>>>0<=390?B[(a<<1)+281744>>1]+277520|0:0)|0}function Ii(a,b){a=a|0;b=b|0;if(!C[108238]){C[108238]=a;C[108239]=b}Lb()}function QO(a,b){a=a|0;b=b|0;vg(a,C[a+8>>2]);return Mh(a,C[a+8>>2],b)|0}function MS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;C[d>>2]=0;return 0}function MN(a){a=a|0;return B[((a>>>0<=257?a:0)<<1)+281216>>1]+277520|0}function QQ(a,b){a=a|0;b=b|0;C[a+16>>2]=C[C[a>>2]+656>>2]+640;return 0}function HP(a){a=a|0;Co(C[a+12>>2]);C[a+12>>2]=0;C[a>>2]=0;C[a+4>>2]=0}function zR(a){a=a|0;var b=0;b=C[a>>2];if(b){a=a+28|0;if(a){qu(b,a)}}}function mH(a,b,c){a=a|0;b=b|0;c=c|0;return Cw(a,b,c,C[a+32>>2],17)|0}function fE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qf(32512,(Bi(d,1)|0)!=0)}function kS(a,b){a=a|0;b=b|0;a=C[b+164>>2];Nf(C[a+8>>2]);C[a+8>>2]=0}function fI(a,b){a=a|0;b=b|0;if(!C[108238]){C[108238]=a;C[108239]=b}}function cR(a){a=a|0;A[a+20|0]=0;C[a+12>>2]=48;C[a+16>>2]=5;return 0}function PH(a,b,c){a=a|0;b=b|0;c=c|0;return Cw(a,b,c,C[a+12>>2],8)|0}function gj(a,b){return b?a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24):a}function OL(a,b){a=a|0;b=b|0;Bp(b,C[a>>2]<<2,C[a+4>>2]<<2);return 0}function VL(a,b){a=a|0;b=b|0;return Fe[C[C[a+12>>2]+48>>2]](a,b)|0}function Qf(a){var b=0;b=C[a+32>>2];if((b|0)==-1){b=Ng(a)}return b}function oA(a,b,c){a=a|0;b=b|0;c=c|0;fz(C[a+204>>2],b,c);return 0}function iJ(a,b){a=a|0;b=b|0;return C[C[a>>2]>>2]-C[C[b>>2]>>2]|0}function Xu(a){if(C[a+76>>2]<0){a=Yu(a);return a}a=Yu(a);return a}function eH(a,b,c){a=a|0;b=b|0;c=c|0;Js(C[a+112>>2],b,C[a+4>>2])}function _w(a){a=a|0;var b=0;b=C[a>>2];if(a){Fe[C[b+8>>2]](b,a)}}function XR(a,b,c){a=a|0;b=b|0;c=c|0;C[c+32>>2]=C[b>>2];return 0}function LI(a,b){a=a|0;b=b|0;var c=0;return(!a|!b?c:D[b+29|0])|0}function pL(a,b,c){a=a|0;b=b|0;c=c|0;C[C[a+384>>2]+(b<<2)>>2]=c}function Jr(a){a=a|0;if(a){Fe[C[94765]](a);C[94766]=C[94766]-1}}function zS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return C[a+24>>2]}function vJ(a,b){a=a|0;b=b|0;t(b,C[a+132>>2]+4|0,156);return 0}function _e(a){Qe(a>>>0>4?9243:C[(a<<2)+171780>>2],0);return-1}function ES(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return C[a+20>>2]}function _m(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function XJ(a,b,c){a=a|0;b=b|0;c=c|0;if(c){C[c>>2]=b}return 0}function IM(a,b){a=a|0;b=b|0;C[b>>2]=-1;C[b+4>>2]=14;return 0}function FP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return lf(d,c)|0}function oO(a,b){a=a|0;b=b|0;return C[C[a+420>>2]+(b<<2)>>2]}function oL(a,b){a=a|0;b=b|0;return C[C[a+384>>2]+(b<<2)>>2]}function $H(a,b){a=a|0;b=b|0;a=Fe[a|0](b)|0;De=Ee;return a|0}function vl(a){var b=0;b=C[a+28>>2];if(!b){b=Lf(a)}return b}function sO(a){a=a|0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+24>>2]=0}function oG(a){a=a|0;return!(D[a+16|0]&32?D[a+12|0]&16:1)|0}function CS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return _e(4)|0}function AD(a){a=a|0;return D[a|0]|D[a+1|0]<<8|D[a+2|0]<<16}function hj(a,b,c){a=a|0;b=b|0;c=c|0;return Fe[c|0](a,b)|0}function QG(a){a=a|0;var b=0;b=C[a+4>>2];if(b){Ks(b)}Re(a)}function NS(a){a=a|0;a=Fe[C[a+4>>2]](a,0,0,1)|0;return a|0}function fw(a,b){a=a|0;b=b|0;B[b>>1]=E[a+164>>1];return 0}function eE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;as(d,419480)}function dE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;as(d,419468)}function _J(a,b){a=a|0;b=b|0;B[b>>1]=E[a+312>>1];return 0}function Ug(a){var b=0;if(!(!a|!D[a|0])){b=vo(a)}return b}function QR(a,b,c){a=a|0;b=b|0;c=c|0;yn(257);return 34979}function rI(a,b,c){a=a|0;b=b|0;c=c|0;return kf(I(b,c))|0}function HN(a){a=a|0;C[a+148>>2]=C[a+148>>2]+B[a+156>>1]}function hM(a,b,c){a=a|0;b=b|0;c=c|0;return Yx(a,b,c)|0}function gA(a,b,c){a=a|0;b=b|0;c=c|0;return Bq(a,b,c)|0}function fR(a,b,c){a=a|0;b=b|0;c=c|0;return Ly(a,b,c)|0}function aA(a,b,c){a=a|0;b=b|0;c=c|0;return Jz(a,b,c)|0}function _F(a,b,c){a=a|0;b=b|0;c=c|0;An(C[a+92>>2],b,c)}function PI(a){a=a|0;if(!a){return 0}return C[a+184>>2]}function qK(a,b){a=a|0;b=b|0;C[b+372>>2]=C[b+372>>2]|1}function jP(a){a=a|0;if(D[a+13|0]){Lm(C[a+4>>2])}Re(a)}function ew(a,b){a=a|0;b=b|0;t(b,a+168|0,196);return 0}function dG(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function Dx(a,b){a=a|0;b=b|0;if(b){Fe[C[a+8>>2]](a,b)}}function BH(){var a=0;a=C[104396];if(a){C[104396]=a-1}}function AS(a){a=a|0;a=C[a+132>>2];if(a){C[a+16>>2]=0}}function vv(a,b){if(D[a+210|0]&32){return}Af(a,b);s()}function ff(a,b){if(D[a+210|0]&16){return}Kg(a,b);s()}function cG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function bh(a,b){a=Nu(a,b);return D[a|0]==(b&255)?a:0}function RF(a){a=a|0;mf(C[a+248>>2],0,C[a+240>>2]<<2)}function Ju(a,b){var c=0;c=ij(a,0,b);return c?c-a|0:b}function $j(a,b){if(D[a+210|0]&64){return}Af(a,b);s()}function YJ(a,b){a=a|0;b=b|0;if(b){A[b|0]=1}return 0}function XH(a){a=a|0;return Fe[C[a+4>>2]](a,0,0,1)|0}function vq(a,b,c){a=a|0;b=b|0;c=c|0;return _e(4)|0}function rL(a){a=a|0;return Te(E[a+252>>1],Am(a))|0}function lT(a){if(a){return 31-L(a-1^a)|0}return 32}function du(a,b){a=a|0;b=b|0;return D[b+16|0]>>>7|0}function yP(a,b){a=a|0;b=b|0;return zh(218592,b)|0}function yN(a,b){a=a|0;b=b|0;C[a+16>>2]=b;return 0}function pE(a,b){a=a|0;b=b|0;C[a+96>>2]=1;return 0}function mQ(a,b){a=a|0;b=b|0;return zh(211648,b)|0}function lP(a,b){a=a|0;b=b|0;return zh(219152,b)|0}function jK(a,b){a=a|0;b=b|0;return zh(288224,b)|0}function bR(a,b){a=a|0;b=b|0;return zh(207632,b)|0}function SN(a,b){a=a|0;b=b|0;return zh(282528,b)|0}function RJ(a,b){a=a|0;b=b|0;return zh(290240,b)|0}function QK(a,b){a=a|0;b=b|0;return zh(286304,b)|0}function HM(a,b){a=a|0;b=b|0;return zh(284272,b)|0}function CJ(a,b){a=a|0;b=b|0;return zh(291136,b)|0}function ts(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function mL(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function cn(a,b,c,d){return Wj(a,b,c?c:34979,d)}function cI(a){a=a|0;a=Ce-a&-16;Ce=a;return a|0}function PM(a,b){a=a|0;b=b|0;C[b>>2]=0;return 0}function wE(a){a=a|0;return C[C[a+96>>2]+8>>2]}function gz(a){if((C[a+48>>2]&69)==5){ci(a,1)}}function cq(a){a=a|0;C[a+16>>2]=0;C[a+20>>2]=0}function aH(a){a=a|0;Xe(a+24|0,1667329140,1,0)}function KG(a){a=a|0;Xe(a+24|0,1818847073,1,0)}function Bg(a,b,c){if(!(D[a|0]&32)){wo(b,c,a)}}function zH(a,b){a=a|0;b=b|0;return Nn(a,b)|0}function yH(a,b){a=a|0;b=b|0;return Mn(a,b)|0}function vH(a,b){a=a|0;b=b|0;return Ws(a,b)|0}function uH(a,b){a=a|0;b=b|0;return Us(a,b)|0}function tH(a,b){a=a|0;b=b|0;return Ts(a,b)|0}function sH(a,b){a=a|0;b=b|0;return Ss(a,b)|0}function oH(a,b){a=a|0;b=b|0;return Ys(a,b)|0}function nH(a,b){a=a|0;b=b|0;return Xs(a,b)|0}function fG(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function eG(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function _D(a,b){a=a|0;b=b|0;return df(a,b)|0}function ZD(a,b){a=a|0;b=b|0;return lf(a,b)|0}function YF(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function Ol(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Kj(a,b,c,d,e){return xk(a,b,c,d,e,0)}function HH(a,b){a=a|0;b=b|0;return dt(a,b)|0}function DH(a,b){a=a|0;b=b|0;return et(a,b)|0}function Cz(a,b){return Du(a,b,-2147483648,0)}function lI(a){a=a|0;return Da(C[a+60>>2])|0}function ZH(){C[104396]=C[104396]+1;return 0}function VH(a){a=a|0;return C[a>>2]==65535|0}function uE(a){a=a|0;ph(C[C[a+96>>2]+4>>2])}function iq(a){a=a|0;C[C[a+156>>2]+36>>2]=0}function bT(a,b){a=a|0;b=b|0;Nf(C[b+80>>2])}function LL(a){a=a|0;C[a+64>>2]=35;return 0}function GQ(a){a=a|0;return C[a+8>>2]>>>9&1}function EP(a,b){a=a|0;b=b|0;return kf(b)|0}function Dn(a,b){a=a|0;b=b|0;return _e(4)|0}function tf(a,b){C[a+168>>2]=b;Ii(a,1);s()}function jS(a,b,c){a=a|0;b=b|0;c=c|0;_e(4)}function JR(a,b){a=a|0;b=b|0;pb(C[b+8>>2])}function yq(a,b,c,d){return Az(a,b,c,d,1)}function wH(a,b){a=a|0;b=b|0;C[a+32>>2]=b}function sE(){qs(0,18890,1);qs(1,18984,2)}function rR(a,b){a=a|0;b=b|0;Zh(a+20|0,b)}function TH(a,b){a=a|0;b=b|0;C[a+12>>2]=b}function Ou(a,b){Lu(af(a)+a|0,b);return a}function Bz(a,b,c,d){return Az(a,b,c,d,0)}function nL(a){a=a|0;return E[a+252>>1]}function iw(a){a=a|0;return C[a+364>>2]}function BL(a){a=a|0;ww(a);A[a+108|0]=0}function cC(a){a=a|0;Ue(C[a>>2]);Re(a)}function PE(a,b){a=a|0;b=b|0;zk(a,1,b)}function OE(a,b){a=a|0;b=b|0;zk(a,2,b)}function NE(a,b){a=a|0;b=b|0;zk(a,4,b)}function ME(a,b){a=a|0;b=b|0;zk(a,6,b)}function LE(a,b){a=a|0;b=b|0;zk(a,8,b)}function pl(a,b){a=a|0;b=b|0;return 0}function en(a,b,c){a=a|0;b=b|0;c=c|0}function TO(a){a=a|0;vg(a,C[a+8>>2])}function Cv(a,b){a=a|0;b=b|0;nf(a,b)}function zq(a,b,c){return cf(a,b,c)}function sg(a,b,c){return Jg(a,b,c)}function pf(a,b,c){return Ku(a,b,c)}function aG(a){a=a|0;return C[a>>2]}function WN(a){a=a|0;return a+100|0}function VN(a){a=a|0;return a+112|0}function TN(a){a=a|0;return a+140|0}function EL(a){a=a|0;xf(C[a+24>>2])}function BD(a){a=a|0;return E[a>>1]}function $D(a){a=a|0;return kf(a)|0}function yo(a,b,c){Zu(a,b,b>>31,c)}function Hx(a,b){a=a|0;b=b|0;Re(b)}function CD(a){a=a|0;return D[a|0]}function mj(a){a=a|0;if(a){Re(a)}}function PQ(a){a=a|0;C[a+16>>2]=0}function CC(a){a=a|0;xl(a,175856)}function BC(a){a=a|0;xl(a,177904)}function AC(a){a=a|0;xl(a,179952)}function zC(a){a=a|0;xl(a,182e3)}function xu(a,b,c){Cu(a,b,c,0,0)}function uf(a,b){return Se(a,b)}function sT(a,b){Ee=a;return b} +function mz(a,b){lh(a,b,20,761)}function kT(){p(390816,0,42148)}function jh(a,b){return bh(a,b)}function fi(a,b){return lg(a,b)}function Wu(a,b){return Ki(a,b)}function IS(){return C[105713]}function zj(){return If(1,12)}function wr(a){a=a|0;return 1}function dn(a){a=a|0;return-1}function Tf(a){a=a|0;return 0}function mf(a,b,c){We(a,b,c)}function gf(a,b,c){jf(a,b,c)}function Qh(a,b,c){Yf(a,b,c)}function Ft(a,b){a=a|0;b=b|0}function ui(){Ll(C[104375])}function si(){Kl(C[104375])}function pI(){return 423128}function jD(a){a=a|0;Ue(a)}function Tl(a){a=a|0;Re(a)}function eI(){return Ce|0}function dI(a){a=a|0;Ce=a}function Hz(){return 0}function pg(a){a=a|0}function Pl(){} // EMSCRIPTEN_END_FUNCS -e=D;var Fe=c([null,EC,KD,jT,hN,LI,RH,GH,wH,KG,lI,aI,fH,mt,PG,JG,HG,GG,cG,AG,rG,qG,lG,TF,ZE,VD,ZC,YC,fj,PC,DC,yC,JB,SB,KB,IB,fj,fj,HB,GB,tB,kB,fj,zB,$A,uB,AA,QA,zA,xA,tA,sA,rA,pA,fj,mA,hA,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,iR,fR,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,Uf,kO,cO,YL,IM,DQ,GO,Ap,qL,Qu,aJ,aL,kL,pM,zM,fM,tO,MN,VN,kQ,LB,ox,Ji,Ss,MB,Nf,Qe,_Q,hi,TG,ns,xl,BG,RM,AO,bh,Pw,QQ,nf,GL,sJ,mJ,lJ,gJ,fJ,SI,zt,RI,NI,Zn,sg,sg,sg,sg,Uf,MI,sg,sg,sg,sg,sg,Km,OI,PI,KI,JI,II,FI,EI,DI,GI,CI,BI,AI,zI,yI,xI,HI,wI,vI,uI,tI,sI,rI,qI,pI,oI,nI,mI,kI,jI,iI,hI,gI,fI,eI,dI,cI,bI,$H,_H,ZH,YH,XH,WH,VH,UH,TH,SH,QH,PH,OH,NH,MH,LH,KH,JH,IH,HH,FH,EH,DH,CH,BH,AH,zH,yH,xH,vH,uH,tH,sH,rH,qH,pH,oH,nH,mH,lH,kH,jH,hH,sg,gH,eH,dH,cH,bH,aH,iH,_G,ZG,$G,XG,WG,sg,VG,UG,YG,SG,RG,QG,OG,NG,MG,LG,IG,FG,EG,DG,CG,Sl,zG,yG,xG,wG,vG,uG,tG,sG,pG,oG,nG,mG,Ls,kG,jG,iG,hG,gG,fG,eG,dG,bG,aG,$F,QI,YF,XF,WF,VF,UF,SF,RF,QF,PF,OF,NF,MF,LF,KF,JF,IF,HF,GF,FF,EF,DF,CF,BF,AF,zF,yF,xF,wF,vF,uF,tF,sF,rF,qF,pF,oF,nF,mF,lF,kF,jF,iF,hF,gF,fF,eF,dF,cF,bF,aF,$E,_E,YE,XE,WE,VE,UE,In,TE,SE,Gs,Fs,RE,QE,Ll,PE,OE,Ds,Cs,NE,ME,LE,KE,JE,IE,HE,GE,FE,Ll,EE,DE,Bs,As,CE,BE,In,AE,zE,ys,xs,yE,xE,wE,vE,uE,tE,sE,rE,qE,ws,pE,oE,Gs,Fs,nE,mE,Ll,lE,kE,Ds,Cs,jE,iE,In,hE,gE,fE,eE,dE,cE,vs,bE,aE,$D,_D,ZD,YD,us,XD,WD,UD,TD,SD,RD,QD,PD,OD,ND,MD,LD,JD,Ll,ID,HD,Bs,As,GD,FD,ws,ED,DD,ys,xs,CD,BD,AD,zD,yD,xD,wD,vD,uD,us,tD,sD,rD,qD,pD,oD,vs,nD,mD,lD,kD,jD,iD,hD,gD,fD,eD,dD,cD,bD,aD,_F,ZF,$C,_C,WC,VC,UC,TC,SC,RC,Wr,QC,OC,NC,MC,LC,KC,JC,IC,HC,GC,FC,CC,BC,AC,zC,Dl,XC,Vr,Sr,Tr,Ur,Qr,Rr,xC,wC,vC,qC,pC,oC,uC,tC,sC,rC,nC,kC,lC,mC,iC,jC,hC,Bl,Pr,gC,fC,eC,dC,cC,bC,aC,$B,_B,ZB,YB,XB,WB,VB,UB,Dl,TB,RB,QB,PB,OB,NB,Mr,Mr,Km,Uf,Al,Al,Al,Zn,sg,sg,Km,Cr,EB,FB,DB,Km,CB,Uf,Al,Pr,BB,AB,yB,un,un,Uf,xB,un,Zn,wB,vB,vn,Dl,Mb,Hb,Gb,Fb,Aa,oJ,Db,Cb,Bb,Ab,zb,yb,xb,wb,vb,ub,sb,rb,eB,dB,cB,bB,aB,_A,YA,XA,WA,VA,UA,TA,SA,RA,PA,OA,NA,MA,LA,sg,vl,JA,IA,sg,HA,GA,FA,EA,DA,qB,jB,oB,pB,lB,mB,rB,sB,nB,fB,gB,hB,CA,Ss,iB,ZA,KA,BA,wA,vA,uA,Re,qA,oA,nA,lA,kA,jA,iA,Xz,Wz,Vz,fA,Uz,Sz,cA,bA,Qz,Pz,Nz,Mz,iT,hT,Nq,Nq,gA,Mq,eA,dA,aA,$z,pl,pl,_z,Zz,Yz,Mq,Tz,Rz,Oz,gT,fT,eT,dT,cT,bT,aT,$S,_S,ZS,YS,XS,WS,VS,US,TS,SS,RS,QS,PS,OS,NS,MS,LS,KS,Wy,JS,IS,HS,ry,ES,DS,CS,BS,AS,zS,yS,xS,wS,vS,uS,tS,FS,GS,sS,rS,qS,pS,oS,nS,mS,lS,kS,yx,iS,hS,jS,xx,wx,gS,fS,eS,dS,cS,bS,aS,Sl,$R,_R,ZR,XR,WR,VR,UR,TR,Lm,YR,SR,RR,rx,qx,QR,OR,NR,MR,Lm,PR,LR,KR,Sl,rx,JR,IR,HR,FR,ER,Lm,GR,DR,CR,Sl,BR,qx,AR,yR,xR,Lm,vR,zR,wR,uR,tR,sR,Wy,rR,hx,Wq,qR,pR,oR,nR,mR,lR,vl,kR,jR,ex,hR,pl,pl,gR,ax,eR,dR,cR,bR,aR,$Q,ZQ,YQ,XQ,LQ,WQ,VQ,UQ,TQ,SQ,RQ,PQ,Vw,Tw,Sw,OQ,Vw,Tw,NQ,MQ,KQ,sg,JQ,IQ,HQ,sg,cQ,bQ,aQ,rQ,GQ,sg,FQ,EQ,CQ,BQ,AQ,zQ,wp,Hw,Fw,yQ,xQ,Ew,wQ,vQ,uQ,tQ,sQ,Dw,qQ,pQ,oQ,nQ,mQ,lQ,jQ,iQ,hQ,gQ,fQ,eQ,dQ,$P,_P,ZP,YP,VP,PP,OP,NP,XP,WP,sp,UP,TP,SP,RP,QP,MP,qp,LP,KP,IP,hw,gk,yx,GP,FP,EP,DP,CP,BP,AP,zP,yP,xP,wP,vP,uP,zt,Pv,Ov,tP,sP,Ov,Pv,rP,qP,pP,oP,nP,rm,mP,lP,kP,jP,iP,hP,qp,gP,fP,eP,qp,dP,cP,bP,aP,$O,_O,ZO,YO,XO,WO,Ev,VO,UO,TO,SO,RO,wv,hO,QO,PO,OO,NO,MO,sg,LO,To,KO,JO,IO,HO,FO,mj,EO,Av,DO,CO,zv,Nk,Kh,BO,zO,Oi,xv,yO,zv,xO,wO,vO,uO,sO,rO,qO,pO,oO,nO,mO,lO,jO,iO,Dw,gO,fO,eO,dO,aO,$N,_N,ZN,YN,XN,Ro,WN,UN,TN,SN,RN,PN,ON,NN,bO,QN,JN,ov,KN,IN,HN,GN,FN,LN,CN,BN,AN,zN,sg,yN,xN,Bl,wN,vN,mv,Bl,vl,EN,lv,kv,DN,jv,iv,hv,xM,hw,WL,VL,JP,wh,UL,TL,SL,uN,tN,sN,rN,qN,pN,oN,nN,mN,lN,kN,jN,iN,gN,fN,eN,dN,cN,bN,aN,$M,_M,ZM,YM,XM,WM,$u,VM,UM,TM,SM,$u,QM,PM,OM,NM,MM,LM,Dl,KM,JM,HM,GM,FM,EM,DM,CM,AM,yM,wM,vM,BM,uM,tM,sM,rM,qM,oM,nM,mM,lM,kM,jM,iM,hM,gM,Oo,eM,dM,cM,bM,aM,$L,_L,ZL,XL,RL,QL,PL,OL,NL,ML,No,LL,JL,HP,_h,mv,Bl,vl,KL,lv,kv,IL,jv,iv,hv,HL,FL,EL,DL,CL,BL,xL,wL,vL,uL,tL,mL,hL,gL,fL,eL,dL,cL,bL,$K,ex,_K,ZK,YK,XK,WK,VK,UK,TK,SK,RK,QK,PK,OK,NK,MK,LK,KK,AL,sg,zL,yL,sL,rL,pL,oL,nL,Fw,lL,jL,iL,Iu,Do,JK,zo,IK,HK,EK,wK,wv,Uf,sg,GK,FK,DK,CK,BK,AK,wp,zK,yK,xK,vK,uK,Au,zu,tK,yu,xu,Xq,wu,sK,rK,qK,vu,pK,oK,nK,uu,mK,lK,kK,jK,iK,hK,gK,fK,eK,qu,Uf,sg,dK,cK,bK,aK,$J,_J,wp,ZJ,YJ,XJ,WJ,VJ,UJ,TJ,SJ,RJ,QJ,PJ,OJ,sg,NJ,MJ,LJ,KJ,JJ,IJ,HJ,GJ,FJ,EJ,zu,DJ,Au,yu,xu,Xq,wu,uu,CJ,BJ,AJ,zJ,yJ,xJ,wJ,vJ,uJ,tJ,rJ,qJ,pJ,lb,kb,jb,ib,hb,gb,fb,eb,db,cb,bb,ab,$a,_a,Za,Ya,Xa,Wa,Va,Ua,Ta,Sa,Ra,Qa,Pa,Oa,Na,Ma,Be,Ae,ze,ye,xe,we,ve,ue,te,se,re,qe,pe,oe,ne,me,le,ke,je,ie,he,ge,fe,ee,de,ce,be,ae,$d,_d,Yd,Xd,Wd,Vd,Ud,Td,Sd,Rd,Qd,Pd,Nd,Md,Ld,Kd,Jd,Id,Hd,Gd,Fd,Ed,Cd,Bd,Ad,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,$c,_c,Zc,Yc,Xc,Wc,Vc,Uc,Tc,Sc,Rc,Pc,Oc,Nc,Mc,Lc,Kc,Jc,Ic,Hc,Gc,Ec,Dc,Cc,Bc,Ac,zc,yc,xc,wc,vc,uc,tc,sc,rc,qc,pc,oc,nc,mc,lc,kc,jc,ic,hc,gc,fc,ec,dc,cc,bc,ac,$b,_b,kJ,jJ,iJ,hJ,kj,eJ,dJ,cJ,bJ]);kT();function Ge(){return z.byteLength/65536|0}function Le(Me){Me=Me|0;var He=Ge()|0;var Ie=He+Me|0;if(He

>>0;o=D[b+4|0]|D[b+5|0]<<8;u=(o<<8|o>>>8)&65535;v=u+b|0;H=I(f,p);o=D[b+6|0]|D[b+7|0]<<8;y=b+((o<<8|o>>>8)&65535)|0;o=(D[v+(H+(r?i:1)|0)|0]<<2)+y|0;b=D[o|0]|D[o+1|0]<<8;b=(((b<<8|b>>>8)&65535)-u|0)/(p|0)|0;x=D[o+2|0]|D[o+3|0]<<8;sd:{td:{if(x&65343){break td}if(!(!f|!(x&64?b:1))){f=y+(D[v+(r?i:1)|0]<<2)|0;i=D[f+2|0]|D[f+3|0]<<8;if(i&65343){break td}f=D[f|0]|D[f+1|0]<<8;if((i^x)&64|((((f<<8|f>>>8)&65535)-u|0)/(p|0)|0)!=(b|0)){break td}}f=y+(D[v+(H+!l|0)|0]<<2)|0;if(!((D[f+2|0]|D[f+3|0]<<8)&65343)){break sd}}if(w){break sd}f=D[c+73|0]?C[c+84>>2]:h;if(!f){break sd}Xg(c,f-1|0,h+1|0)}f=C[j+4>>2];i=D[o+2|0]|D[o+3|0]<<8;ud:{if(!(i&128)){break ud}c=C[n+44>>2];if(c>>>0<=7){h=C[f+76>>2];C[n+44>>2]=c+1;C[(n+(c<<2)|0)+12>>2]=h;break ud}C[n+44>>2]=0}c=i&65343;vd:{if(!c){break vd}p=C[n+44>>2];if(!p){break vd}wd:{xd:{if(p>>>0>2147483646){break xd}i=C[n+4>>2]+((c<<8|c>>>8)&65535)|0;c=C[n+8>>2];i=((i-c|0)+8&-2)+c|0;c=C[n>>2];if(i>>>0>2]){break xd}h=C[c+28>>2];if(h>>>0>>0){break xd}l=h-i|0;h=p<<1;if(l>>>0>>0){break xd}h=C[c+32>>2]-h|0;C[c+32>>2]=h;if((h|0)>0){break wd}}C[n+44>>2]=0;break vd}r=C[C[c+4>>2]+132>>2];while(1){p=p-1|0;C[n+44>>2]=p;c=C[(n+(p<<2)|0)+12>>2];if(c>>>0>2]){h=D[i|0]|D[i+1|0]<<8;p=(h<<8|h>>>8)<<16>>16;h=p&-2;u=p&1;p=I(c,20);c=p+C[f+100>>2]|0;l=D[n+48|0];yd:{if((C[f+52>>2]&-2)==4){if(l){if((h|0)==-32768){B[c+16>>1]=0;A[c+18|0]=0;C[c+12>>2]=0;break yd}if(!D[c+18|0]){break yd}p=C[c+12>>2];l=C[C[n>>2]+8>>2];l=mT(C[l+40>>2],C[l+44>>2],h,h>>31);h=Ee;l=l+32768|0;C[c+12>>2]=(((l>>>0<32768?h+1|0:h)&65535)<<16|l>>>16)+p;C[f+36>>2]=C[f+36>>2]|8;break yd}if(!(r&C[(p+C[f+92>>2]|0)+4>>2])){break yd}p=C[C[n>>2]+8>>2];h=mT(C[p+32>>2],C[p+36>>2],h,h>>31);l=Ee;h=h+32768|0;h=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;C[c>>2]=h+C[c>>2];C[c+8>>2]=h+C[c+8>>2];break yd}if(l){if((h|0)==-32768){B[c+16>>1]=0;A[c+18|0]=0;C[c+8>>2]=0;break yd}if(!D[c+18|0]){break yd}p=C[c+8>>2];l=C[C[n>>2]+8>>2];l=mT(C[l+32>>2],C[l+36>>2],h,h>>31);h=Ee;l=l+32768|0;C[c+8>>2]=(((l>>>0<32768?h+1|0:h)&65535)<<16|l>>>16)+p;C[f+36>>2]=C[f+36>>2]|8;break yd}if(!(r&C[(p+C[f+92>>2]|0)+4>>2])){break yd}p=C[C[n>>2]+8>>2];h=mT(C[p+40>>2],C[p+44>>2],h,h>>31);l=Ee;h=h+32768|0;h=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;C[c+4>>2]=h+C[c+4>>2];C[c+12>>2]=h+C[c+12>>2]}if(u){break vd}p=C[n+44>>2]}i=i+2|0;if(p){continue}break}}f=C[j+4>>2];c=C[f+76>>2];if((c|0)==C[f+80>>2]|!D[f+72|0]){break qd}zd:{if(D[o+2|0]&64){i=C[f+44>>2];C[f+44>>2]=i-1;if((i|0)>0){break zd}}if(D[f+73|0]){Ad:{if(C[f+96>>2]==C[f+92>>2]){i=c;if(C[f+84>>2]==(c|0)){break Ad}}if(!$e(f,1,1)){break zd}i=C[f+92>>2]+I(C[f+76>>2],20)|0;h=C[i+4>>2];c=C[f+96>>2]+I(C[f+84>>2],20)|0;C[c>>2]=C[i>>2];C[c+4>>2]=h;C[c+16>>2]=C[i+16>>2];h=C[i+12>>2];C[c+8>>2]=C[i+8>>2];C[c+12>>2]=h;c=C[f+76>>2];i=C[f+84>>2]}C[f+84>>2]=i+1}C[f+76>>2]=c+1}c=C[j+4>>2];if(D[c+72|0]){continue}break}}break hd;case 2:c=C[k+4>>2];if(!(A[c+140|0]&1)){break gd}b=D[e+4|0];C[j+12>>2]=e;C[j+16>>2]=k;A[j+4|0]=b>>>6&1;C[j>>2]=j+12;y=C[c+132>>2];c=0;H=Ce-160|0;Ce=H;u=C[k+8>>2];o=C[k+16>>2];f=Ah(H+12|0,1,u,o);C[f+120>>2]=y;C[f+132>>2]=8;C[f+36>>2]=0;C[f+8>>2]=f;C[f+28>>2]=0;C[f+32>>2]=0;C[f+80>>2]=0;C[f+52>>2]=f;C[f+20>>2]=y;A[f+17|0]=D[f+142|0];C[f+12>>2]=8;C[f+72>>2]=0;C[f+76>>2]=0;C[f- -64>>2]=-1;A[f+61|0]=1;C[f+56>>2]=8;b=C[f+124>>2]==1;A[f+16|0]=b;A[f+60|0]=b|D[f+141|0]!=0;i=C[o+80>>2];if(i){x=f+4|0;r=C[o+100>>2];Y=C[o+92>>2];V=(C[o+52>>2]&-2)!=4;while(1){Bd:{Cd:{w=I(c,20);Q=w+Y|0;if(!(y&C[Q+4>>2])){break Cd}C[f+40>>2]=1;C[f+4>>2]=c;b=C[C[f+8>>2]+100>>2];C[f+44>>2]=C[b+80>>2];A[f+24|0]=C[b+76>>2]==(c|0)?D[(w+C[b+92>>2]|0)+15|0]:0;if(!Sg(x)){break Cd}b=C[j>>2];n=C[b>>2];W=C[x>>2];v=I(W,20);N=C[v+Y>>2];l=C[b+4>>2];h=0;p=0;M=C[Q>>2];b=D[n+10|0]|D[n+11|0]<<8;b=n+((b<<8|b>>>8)&65535)|0;Q=D[b|0]|D[b+1|0]<<8;Q=M-((Q<<8|Q>>>8)&65535)|0;z=D[b+2|0]|D[b+3|0]<<8;if(Q>>>0<((z<<8|z>>>8)&65535)>>>0){b=b+(Q<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;p=(b<<8|b>>>8)&65535}b=D[n+12|0]|D[n+13|0]<<8;b=n+((b<<8|b>>>8)&65535)|0;Q=D[b|0]|D[b+1|0]<<8;Q=N-((Q<<8|Q>>>8)&65535)|0;N=D[b+2|0]|D[b+3|0]<<8;if(Q>>>0<((N<<8|N>>>8)&65535)>>>0){b=b+(Q<<1)|0;b=D[b+4|0]|D[b+5|0]<<8;h=(b<<8|b>>>8)&65535}b=0;M=(n+p|0)+h|0;h=D[n+14|0]|D[n+15|0]<<8;h=n+((h<<8|h>>>8)&65535)|0;h=(M-h&-2)+h|0;Dd:{if(h>>>0>2]){break Dd}n=C[l+28>>2];if(n>>>0>>0|n-h>>>0<2){break Dd}n=C[l+32>>2]-2|0;C[l+32>>2]=n;if((n|0)<=0){break Dd}b=D[h|0]|D[h+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}Ed:{if(!b){break Ed}Fd:{if(!V){b=b<<16>>16;b=mT(C[u+32>>2],C[u+36>>2],b,b>>31);h=Ee;b=b+32768|0;b=((b>>>0<32768?h+1|0:h)&65535)<<16|b>>>16;if(D[j+4|0]){C[(r+v|0)+12>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break Fd}h=r+w|0;n=b>>1;C[h>>2]=n+C[h>>2];h=r+v|0;b=b-n|0;C[h>>2]=b+C[h>>2];C[h+8>>2]=b+C[h+8>>2];break Fd}b=b<<16>>16;b=mT(C[u+40>>2],C[u+44>>2],b,b>>31);l=Ee;b=b+32768|0;b=((b>>>0<32768?l+1|0:l)&65535)<<16|b>>>16;if(D[j+4|0]){C[(r+v|0)+8>>2]=b;C[o+36>>2]=C[o+36>>2]|8;break Fd}h=r+w|0;n=b>>1;C[h+4>>2]=n+C[h+4>>2];h=r+v|0;b=b-n|0;C[h+4>>2]=b+C[h+4>>2];C[h+12>>2]=b+C[h+12>>2]}b=W+1|0;if(b-c>>>0<2){break Ed}Rf(o,c,b)}c=C[x>>2];break Bd}c=c+1|0}if(i>>>0>c>>>0){continue}break}}Ce=H+160|0;break hd;case 3:break id;default:break gd}}c=C[k+4>>2];if(!(A[c+140|0]&1)){break gd}b=D[e+4|0];C[j+12>>2]=e;A[j+16|0]=b>>>6&1;r=C[c+132>>2];b=0;y=Ce-160|0;Ce=y;p=C[k+8>>2];i=C[k+16>>2];c=Ah(y+12|0,1,p,i);C[c+120>>2]=r;C[c+132>>2]=8;C[c+36>>2]=0;C[c+8>>2]=c;C[c+28>>2]=0;C[c+32>>2]=0;C[c+80>>2]=0;C[c+52>>2]=c;C[c+20>>2]=r;A[c+17|0]=D[c+142|0];C[c+12>>2]=8;C[c+72>>2]=0;C[c+76>>2]=0;C[c- -64>>2]=-1;A[c+61|0]=1;C[c+56>>2]=8;f=C[c+124>>2]==1;A[c+16|0]=f;A[c+60|0]=f|D[c+141|0]!=0;H=C[i+80>>2];if(H){u=c+4|0;n=C[i+100>>2];x=C[i+92>>2];Y=(C[i+52>>2]&-2)!=4;while(1){f=b;Gd:{Hd:{v=I(b,20);o=v+x|0;if(!(r&C[o+4>>2])){break Hd}C[c+40>>2]=1;C[c+4>>2]=f;b=C[C[c+8>>2]+100>>2];C[c+44>>2]=C[b+80>>2];A[c+24|0]=(f|0)==C[b+76>>2]?D[(v+C[b+92>>2]|0)+15|0]:0;if(!Sg(u)){break Hd}b=C[u>>2];h=C[j+12>>2];w=h+14|0;Q=D[h+10|0];V=w+(Q<<1)|0;o=C[o>>2];z=V+o|0;M=o;o=D[h+8|0]|D[h+9|0]<<8;l=(o<<8|o>>>8)&65535;W=D[(M>>>0>=l>>>0?205712:z)|0];N=D[h+11|0];if(W>>>0>=N>>>0){break Gd}V=l+V|0;o=I(b,20);z=C[o+x>>2];z=D[(l>>>0<=z>>>0?205712:V+z|0)|0];h=D[h+12|0];if(z>>>0>=h>>>0){break Gd}M=l+V|0;l=z+I(h,W)|0;h=D[(l>>>0>=I(h,N)>>>0?205712:M+l|0)|0];h=h>>>0>=Q>>>0?205712:w+(h<<1)|0;h=D[h|0]|D[h+1|0]<<8;if(!h){break Gd}h=h<<8|h>>>8;Id:{if(!Y){h=h<<16>>16;h=mT(C[p+32>>2],C[p+36>>2],h,h>>31);l=Ee;h=h+32768|0;h=((h>>>0<32768?l+1|0:l)&65535)<<16|h>>>16;if(D[j+16|0]){C[(n+o|0)+12>>2]=h;C[i+36>>2]=C[i+36>>2]|8;break Id}l=n+v|0;M=l;v=C[l>>2];l=h>>1;C[M>>2]=v+l;o=n+o|0;h=h-l|0;C[o>>2]=h+C[o>>2];C[o+8>>2]=h+C[o+8>>2];break Id}h=h<<16>>16;l=mT(C[p+40>>2],C[p+44>>2],h,h>>31);h=Ee;l=l+32768|0;h=((l>>>0<32768?h+1|0:h)&65535)<<16|l>>>16;if(D[j+16|0]){C[(n+o|0)+8>>2]=h;C[i+36>>2]=C[i+36>>2]|8;break Id}l=n+v|0;M=l;v=C[l+4>>2];l=h>>1;C[M+4>>2]=v+l;o=n+o|0;h=h-l|0;C[o+4>>2]=h+C[o+4>>2];C[o+12>>2]=h+C[o+12>>2]}h=b+1|0;if(h-f>>>0<2){break Gd}Rf(i,f,h);b=C[u>>2];break Gd}b=f+1|0}if(b>>>0>>0){continue}break}}Ce=y+160|0}b=1}Ce=j- -64|0;i=b;b=C[k+52>>2];c=C[b+12>>2];C[k+24>>2]=c;C[k+28>>2]=c+C[b+16>>2];Jd:{if(Z){break Jd}j=C[k+16>>2];h=C[j+80>>2];if(h>>>0>=2){n=C[j+92>>2];b=h-1|0;p=0;while(1){c=n+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=n+I(p,20)|0;C[c+16>>2]=C[f+16>>2];o=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=o;o=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=o;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}if(!D[j+74|0]){break Jd}b=C[j+80>>2];b=b>>>0>>0?b:h;if(b>>>0<2){break Jd}j=C[j+100>>2];b=b-1|0;p=0;while(1){c=j+I(b,20)|0;C[t+40>>2]=C[c+16>>2];f=C[c+12>>2];C[t+32>>2]=C[c+8>>2];C[t+36>>2]=f;f=C[c+4>>2];C[t+24>>2]=C[c>>2];C[t+28>>2]=f;f=j+I(p,20)|0;C[c+16>>2]=C[f+16>>2];h=C[f+12>>2];C[c+8>>2]=C[f+8>>2];C[c+12>>2]=h;h=C[f+4>>2];C[c>>2]=C[f>>2];C[c+4>>2]=h;C[f+16>>2]=C[t+40>>2];c=C[t+36>>2];C[f+8>>2]=C[t+32>>2];C[f+12>>2]=c;c=C[t+28>>2];C[f>>2]=C[t+24>>2];C[f+4>>2]=c;b=b-1|0;p=p+1|0;if(b>>>0>p>>>0){continue}break}}_=i|_;b=C[k+8>>2];c=C[k+16>>2];C[t>>2]=C[k+72>>2];Hf(c,b,21392,t)}c=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);b=C[k+72>>2]+1|0;C[k+72>>2]=b;e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0;s=s+1|0;if((T|0)!=(s|0)){continue}break}}Ce=t+48|0}Hf(m,q,11912,0)}Ue(C[k+52>>2]);C[k+52>>2]=0;C[k+24>>2]=0;C[k+28>>2]=0;Ce=S+80|0;break Fc}if(!(b&2048)){break Fc}c=Ce-48|0;Ce=c;Kd:{Ld:{if((C[m+52>>2]&-2)==4){if(nl(q,11)){break Ld}break Kd}if(!nl(q,12)){break Kd}}b=C[m+52>>2];if((b&-3)==5){g=C[m+80>>2];if(g>>>0>=2){i=C[m+92>>2];e=g-1|0;while(1){f=i+I(e,20)|0;C[c+40>>2]=C[f+16>>2];b=C[f+12>>2];C[c+32>>2]=C[f+8>>2];C[c+36>>2]=b;b=C[f+4>>2];C[c+24>>2]=C[f>>2];C[c+28>>2]=b;b=i+I(p,20)|0;C[f+16>>2]=C[b+16>>2];j=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=j;j=C[b+4>>2];C[f>>2]=C[b>>2];C[f+4>>2]=j;C[b+16>>2]=C[c+40>>2];f=C[c+36>>2];C[b+8>>2]=C[c+32>>2];C[b+12>>2]=f;f=C[c+28>>2];C[b>>2]=C[c+24>>2];C[b+4>>2]=f;p=p+1|0;e=e-1|0;if(p>>>0>>0){continue}break}}Md:{if(!D[m+74|0]){break Md}b=C[m+80>>2];b=b>>>0>>0?b:g;if(b>>>0<2){break Md}g=C[m+100>>2];e=b-1|0;p=0;while(1){b=g+I(e,20)|0;C[c+40>>2]=C[b+16>>2];f=C[b+12>>2];C[c+32>>2]=C[b+8>>2];C[c+36>>2]=f;f=C[b+4>>2];C[c+24>>2]=C[b>>2];C[c+28>>2]=f;f=g+I(p,20)|0;C[b+16>>2]=C[f+16>>2];i=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=i;i=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=i;C[f+16>>2]=C[c+40>>2];b=C[c+36>>2];C[f+8>>2]=C[c+32>>2];C[f+12>>2]=b;b=C[c+28>>2];C[f>>2]=C[c+24>>2];C[f+4>>2]=b;p=p+1|0;e=e-1|0;if(p>>>0>>0){continue}break}}C[c+16>>2]=q;C[c+20>>2]=C[m+52>>2];e=0;A[c+12|0]=0;C[c+8>>2]=c+16;jx(c+8|0,q,m,C[P+132>>2]);g=C[m+80>>2];if(g>>>0>=2){i=C[m+92>>2];p=g-1|0;while(1){f=i+I(p,20)|0;C[c+40>>2]=C[f+16>>2];b=C[f+12>>2];C[c+32>>2]=C[f+8>>2];C[c+36>>2]=b;b=C[f+4>>2];C[c+24>>2]=C[f>>2];C[c+28>>2]=b;b=i+I(e,20)|0;C[f+16>>2]=C[b+16>>2];j=C[b+12>>2];C[f+8>>2]=C[b+8>>2];C[f+12>>2]=j;j=C[b+4>>2];C[f>>2]=C[b>>2];C[f+4>>2]=j;C[b+16>>2]=C[c+40>>2];f=C[c+36>>2];C[b+8>>2]=C[c+32>>2];C[b+12>>2]=f;f=C[c+28>>2];C[b>>2]=C[c+24>>2];C[b+4>>2]=f;p=p-1|0;e=e+1|0;if(p>>>0>e>>>0){continue}break}}if(!D[m+74|0]){break Kd}b=C[m+80>>2];b=b>>>0>>0?b:g;if(b>>>0<2){break Kd}g=C[m+100>>2];e=b-1|0;p=0;while(1){b=g+I(e,20)|0;C[c+40>>2]=C[b+16>>2];f=C[b+12>>2];C[c+32>>2]=C[b+8>>2];C[c+36>>2]=f;f=C[b+4>>2];C[c+24>>2]=C[b>>2];C[c+28>>2]=f;f=g+I(p,20)|0;C[b+16>>2]=C[f+16>>2];i=C[f+12>>2];C[b+8>>2]=C[f+8>>2];C[b+12>>2]=i;i=C[f+4>>2];C[b>>2]=C[f>>2];C[b+4>>2]=i;C[f+16>>2]=C[c+40>>2];b=C[c+36>>2];C[f+8>>2]=C[c+32>>2];C[f+12>>2]=b;b=C[c+28>>2];C[f>>2]=C[c+24>>2];C[f+4>>2]=b;p=p+1|0;e=e-1|0;if(p>>>0>>0){continue}break}break Kd}C[c+20>>2]=b;C[c+16>>2]=q;A[c+12|0]=0;C[c+8>>2]=c+16;jx(c+8|0,q,m,C[P+132>>2])}Ce=c+48|0}if(D[P+141|0]&64){k=Ce-80|0;Ce=k;b=Yy(C[q+16>>2]+164|0);t=hl(k+4|0,P,q,m,205712);g=t;U=G[C[g+8>>2]+56>>2];Nd:{if(U<=J(0)){break Nd}h=C[C[g+4>>2]+136>>2];j=C[g+16>>2];if((C[j+52>>2]&-2)==4){c=D[b+6|0]|D[b+7|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=205712}i=Xy(c,b,U);U=J((i|0)/2|0);b=C[g+8>>2];f=C[b+20>>2];p=C[b+16>>2];c=C[p+28>>2];Od:{if(c){b=f;e=c;break Od}e=Lf(p);c=C[g+8>>2];b=C[c+20>>2];p=C[c+16>>2];c=C[p+28>>2]}U=J(O(J(J(J(U*J(f|0))/J(e>>>0))+J(.5))));Pd:{if(J(K(U))>>0))+J(.5))));Qd:{if(J(K(U))>2];if(!f){break Nd}g=f-1|0;c=0;while(1){Rd:{if((c|0)==(g|0)){c=f;break Rd}c=c+1|0;if(D[(C[j+92>>2]+I(c,20)|0)+16|0]&128){continue}}break}if(!f){break Nd}g=e;i=b;n=C[j+92>>2];e=0;while(1){b=I(e,20);if(h&C[(b+n|0)+4>>2]){b=b+C[j+100>>2]|0;C[b>>2]=i+C[b>>2];C[b+8>>2]=g+C[b+8>>2]}b=c+1|0;e=b>>>0>>0?f:b;b=c;while(1){Sd:{b=b+1|0;if(f>>>0<=b>>>0){b=e;break Sd}if(D[(n+I(b,20)|0)+16|0]&128){continue}}break}p=c>>>0>>0;e=c;c=b;if(p){continue}break}break Nd}c=D[b+8|0]|D[b+9|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=205712}i=Xy(c,b,U);U=J((i|0)/2|0);b=C[g+8>>2];f=C[b+24>>2];p=C[b+16>>2];c=C[p+28>>2];Td:{if(c){b=f;e=c;break Td}e=Lf(p);c=C[g+8>>2];b=C[c+24>>2];p=C[c+16>>2];c=C[p+28>>2]}U=J(O(J(J(J(U*J(f|0))/J(e>>>0))+J(.5))));Ud:{if(J(K(U))>>0))+J(.5))));Vd:{if(J(K(U))>2];if(!c){break Nd}g=c-1|0;b=0;while(1){Wd:{if((b|0)==(g|0)){b=c;break Wd}b=b+1|0;if(D[(C[j+92>>2]+I(b,20)|0)+16|0]&128){continue}}break}if(!c){break Nd}g=e;n=C[j+92>>2];e=0;while(1){e=I(e,20);if(h&C[(e+n|0)+4>>2]){e=e+C[j+100>>2]|0;C[e+4>>2]=f+C[e+4>>2];C[e+12>>2]=g+C[e+12>>2]}e=b;i=b+1|0;i=c>>>0>i>>>0?c:i;while(1){Xd:{b=b+1|0;if(c>>>0<=b>>>0){b=i;break Xd}if(D[(n+I(b,20)|0)+16|0]&128){continue}}break}if(c>>>0>e>>>0){continue}break}}Ue(C[t+52>>2]);Ce=k+80|0}Yd:{if(!(D[a+200|0]&32)|C[C[a+80>>2]+48>>2]!=2){break Yd}c=C[m+80>>2];if(!c){break Yd}e=C[m+92>>2];if(d){k=0;while(1){b=I(k,20);if(D[(b+e|0)+12|0]&8){b=b+C[m+100>>2]|0;f=C[b+4>>2];C[b+4>>2]=0;g=C[b>>2];C[b>>2]=0;C[b+8>>2]=C[b+8>>2]-g;C[b+12>>2]=C[b+12>>2]-f}k=k+1|0;if((c|0)!=(k|0)){continue}break}break Yd}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){g=I(f,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}g=I(f|1,20);if(D[(g+e|0)+12|0]&8){g=g+C[m+100>>2]|0;C[g>>2]=0;C[g+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break Yd}b=I(f,20);if(!(D[(b+e|0)+12|0]&8)){break Yd}b=b+C[m+100>>2]|0;C[b>>2]=0;C[b+4>>2]=0}Zd:{if(!(D[m+36|0]&2)|D[m+16|0]&12){break Zd}b=C[m+80>>2];if(!b){break Zd}c=C[m+92>>2];e=C[m+100>>2];f=0;if((b|0)!=1){i=b&-2;k=0;while(1){g=I(f,20);j=g+c|0;if(!(!(D[j+16|0]&32)|D[j+12|0]&16)){g=e+g|0;C[g>>2]=0;C[g+4>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0}g=I(f|1,20);j=g+c|0;if(!(!(D[j+16|0]&32)|D[j+12|0]&16)){g=e+g|0;C[g>>2]=0;C[g+4>>2]=0;C[g+8>>2]=0;C[g+12>>2]=0}f=f+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}if(!(b&1)){break Zd}b=c+I(f,20)|0;if(!(D[b+16|0]&32)|D[b+12|0]&16){break Zd}b=e+I(f,20)|0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}if(D[a+201|0]&32){g=0;b=C[m+80>>2];_d:{if(!b){break _d}c=C[m+100>>2];e=C[m+92>>2];i=0;if((b|0)!=1){j=b&-2;while(1){f=I(i,20);if(C[f+e>>2]==65535){f=c+f|0;C[f>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0}f=I(i|1,20);if(C[f+e>>2]==65535){f=c+f|0;C[f>>2]=0;C[f+4>>2]=0;C[f+8>>2]=0;C[f+12>>2]=0}i=i+2|0;g=g+2|0;if((j|0)!=(g|0)){continue}break}}if(!(b&1)){break _d}b=I(i,20);if(C[b+e>>2]!=65535){break _d}b=b+c|0;C[b>>2]=0;C[b+4>>2]=0;C[b+8>>2]=0;C[b+12>>2]=0}}b=Ce-16|0;Ce=b;c=dr(m,b+12|0);$d:{if(!(D[m+36|0]&8)){break $d}g=C[b+12>>2];if(!g){break $d}e=C[m+52>>2];j=0;while(1){vy(c,g,j,e);g=C[b+12>>2];j=j+1|0;if(g>>>0>j>>>0){continue}break}}Ce=b+16|0;if(!(!nl(q,9)|!$)){k=0;while(1){b=I(k,20);Aj(q,C[b+ea>>2],L+8|0,L+28|0);b=b+fa|0;C[b+8>>2]=C[b+8>>2]-C[L+8>>2];C[b+12>>2]=C[b+12>>2]-C[L+28>>2];k=k+1|0;if(($|0)!=(k|0)){continue}break}}if(D[a+200|0]&128){e=0;f=1;b=C[m+80>>2];if(b>>>0>1){c=C[m+92>>2];while(1){if(!(1<>1]&7168)){kx(P,q,m,e,f,d);e=f}f=f+1|0;if((b|0)!=(f|0)){continue}break}}kx(P,q,m,e,b,d)}if((C[m+52>>2]&-3)==5){cr(m)}ae:{if(!(D[m+36|0]&2)){break ae}d=C[m+16>>2];if(d&4){break ae}c=C[m+92>>2];b=C[m+80>>2];e=C[m+28>>2];C[L+8>>2]=e;be:{if(d&8){break be}if(!e){C[L+8>>2]=0;d=C[q+72>>2];if(!(Fe[C[d+156>>2]](q,C[q+76>>2],32,L+8|0,C[d+20>>2])|0)){break be}}if(!b){break ae}f=0;if((b|0)!=1){e=b&-2;g=0;while(1){d=c+I(f,20)|0;if(!(!(D[d+16|0]&32)|D[d+12|0]&16)){C[d>>2]=C[L+8>>2]}d=c+I(f|1,20)|0;if(!(!(D[d+16|0]&32)|D[d+12|0]&16)){C[d>>2]=C[L+8>>2]}f=f+2|0;g=g+2|0;if((e|0)!=(g|0)){continue}break}}if(!(b&1)){break ae}b=c+I(f,20)|0;if(!(D[b+16|0]&32)|D[b+12|0]&16){break ae}C[b>>2]=C[L+8>>2];break ae}wy(m,795)}if(D[a+201|0]&32){wy(m,707)}ce:{if(!C[C[a+80>>2]+20>>2]){break ce}if(!Hf(m,q,7423,0)){break ce}Fe[C[C[a+80>>2]+20>>2]](P,m,q);Hf(m,q,7448,0)}de:{if(!(D[m+36|0]&16)){break de}b=C[m+80>>2];if(!b){break de}d=C[m+92>>2];a=b-1|0;f=0;while(1){ee:{if((a|0)==(f|0)){f=b;break ee}c=I(f,20);f=f+1|0;c=c+d|0;if(C[c+8>>2]==C[c+28>>2]){continue}}break}g=0;while(1){i=g;a=f;fe:{if(f>>>0<=g>>>0){break fe}while(1){if(!(A[(d+I(i,20)|0)+4|0]&1)){i=i+1|0;if((a|0)!=(i|0)){continue}break fe}break}c=a+(g^-1)|0;f=0;e=a-g&3;if(e){while(1){i=d+I(g,20)|0;C[i+4>>2]=C[i+4>>2]|1;g=g+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(c>>>0<3){break fe}while(1){c=d+I(g,20)|0;C[c+4>>2]=C[c+4>>2]|1;C[c+24>>2]=C[c+24>>2]|1;C[c+44>>2]=C[c+44>>2]|1;c=c- -64|0;C[c>>2]=C[c>>2]|1;g=g+4|0;if((a|0)!=(g|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){ge:{if((e|0)==(f|0)){f=c;break ge}g=I(f,20);f=f+1|0;g=d+g|0;if(C[g+8>>2]==C[g+28>>2]){continue}}break}g=a;if(b>>>0>g>>>0){continue}break}}C[m+40>>2]=1073741823;C[m+44>>2]=536870911;C[m+52>>2]=ba;Ce=L+32|0;return 1}function fx(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;a:{if(!b){break a}P=df(1,204);if(!P){break a}C[P>>2]=1;C[P+4>>2]=1;n=a?a:381628;if(C[n+4>>2]){C[n+4>>2]=0}C[P+12>>2]=n;o=P+16|0;if(gx(o,n,b,c,d)){i=Ce-144|0;Ce=i;v=P+60|0;O=We(v+24|0,0,88);C[i>>2]=n;a=C[o+4>>2];C[i+4>>2]=C[o>>2];C[i+8>>2]=a;a=C[o+12>>2];C[i+12>>2]=C[o+8>>2];C[i+16>>2]=a;C[i+20>>2]=C[o+16>>2];g=Ce-32|0;Ce=g;q=i+24|0;We(q+4|0,0,92);C[q>>2]=n;a=C[o+4>>2];C[q+4>>2]=C[o>>2];C[q+8>>2]=a;a=C[o+12>>2];C[q+12>>2]=C[o+8>>2];C[q+16>>2]=a;C[q+20>>2]=C[o+16>>2];C[g+28>>2]=3;C[g+24>>2]=3;G=C[q+8>>2];J=g+28|0;d=g+12|0;t=g+24|0;w=Ce-32|0;Ce=w;b=C[q+12>>2];b:{if(!b){u=1;if(!C[t>>2]|(!t|!g)){break b}C[t>>2]=0;break b}u=D[b+1|0];c:{if(D[b|0]==120){k=b;e=0;if((u&255)==45){break c}}a=b+1|0;k=0;d:{if(!(u&255)){break d}c=b;while(1){f=c;c=a;e:{if(D[f|0]!=45|D[f+2|0]!=45){break e}x=x?x:f;if((u&255)!=120){break e}k=c;break d}a=c+1|0;u=D[c+1|0];if(u){continue}break}}e=x?x:a}a=0;c=0;f:{if(!J|!d|(!k|!C[J>>2])){break f}m=kg(k,21492);if(!m){break f}g:{h:{f=D[m+5|0];if((f|0)!=45){if(((f&223)-91&255)>>>0<230&(f-58&255)>>>0<=245){break f}c=(f-65&255)>>>0<26?f+32|0:f;A[w+12|0]=c;f=D[m+6|0];if((f-48&255)>>>0>=10){u=1;if(((f&-33)-65&255)>>>0>25){break h}}x=(f-65&255)>>>0<26?f+32|0:f;A[w+13|0]=x;f=D[m+7|0];if((f-48&255)>>>0>=10){u=2;if(((f&-33)-65&255)>>>0>25){break h}}r=(f-65&255)>>>0<26?f+32|0:f;A[w+14|0]=r;f=D[m+8|0];if((f-48&255)>>>0>=10){u=3;if(((f&-33)-65&255)>>>0>25){break h}}f=(f-65&255)>>>0<26?f+32|0:f;break g}f=D[m+6|0];u=f-48|0;c=(u&255)>>>0<10;i:{j:{if(!(c|(f-97&255)>>>0<6)){c=0;u=f-65|0;if((u&255)>>>0<6){break j}break f}if(c){break i}u=f-65|0}u=((u&255)>>>0<26?f+32|0:f)-87|0}f=D[m+7|0];r=f-48|0;c=(r&255)>>>0<10;k:{l:{if(!(c|(f-97&255)>>>0<6)){c=0;r=f-65|0;if((r&255)>>>0<6){break l}break f}if(c){break k}r=f-65|0}r=((r&255)>>>0<26?f+32|0:f)-87|0}f=D[m+8|0];K=f-48|0;c=(K&255)>>>0<10;m:{n:{if(!(c|(f-97&255)>>>0<6)){c=0;K=f-65|0;if((K&255)>>>0<6){break n}break f}if(c){break m}K=f-65|0}K=((K&255)>>>0<26?f+32|0:f)-87|0}f=D[m+9|0];N=f-48|0;c=(N&255)>>>0<10;o:{p:{if(!(c|(f-97&255)>>>0<6)){c=0;N=f-65|0;if((N&255)>>>0<6){break p}break f}if(c){break o}N=f-65|0}N=((N&255)>>>0<26?f+32|0:f)-87|0}f=D[m+10|0];h=f-48|0;c=(h&255)>>>0<10;q:{r:{if(!(c|(f-97&255)>>>0<6)){c=0;h=f-65|0;if((h&255)>>>0<6){break r}break f}if(c){break q}h=f-65|0}h=((h&255)>>>0<26?f+32|0:f)-87|0}f=D[m+11|0];H=f-48|0;c=(H&255)>>>0<10;s:{t:{if(!(c|(f-97&255)>>>0<6)){c=0;H=f-65|0;if((H&255)>>>0<6){break t}break f}if(c){break s}H=f-65|0}H=((H&255)>>>0<26?f+32|0:f)-87|0}f=D[m+12|0];s=f-48|0;c=(s&255)>>>0<10;u:{v:{if(!(c|(f-97&255)>>>0<6)){c=0;s=f-65|0;if((s&255)>>>0<6){break v}break f}if(c){break u}s=f-65|0}s=((s&255)>>>0<26?f+32|0:f)-87|0}m=D[m+13|0];f=m-48|0;c=(f&255)>>>0<10;w:{x:{if(!(c|(m-97&255)>>>0<6)){c=0;x=m-65|0;if((x&255)>>>0<6){break x}break f}if(c){break w}x=m-65|0}f=((x&255)>>>0<26?m+32|0:m)-87|0}c=(u<<4)+r|0;x=(K<<4)+N|0;r=(h<<4)+H|0;f=(s<<4)+f|0;break g}We((w+12|0)+u|0,32,4-u|0);r=D[w+14|0];x=D[w+13|0];c=D[w+12|0];f=D[w+15|0]}c=f&255|(c<<24|(x&255)<<16|(r&255)<<8);C[d>>2]=(c&-538976289)==1145457748?c^538976288:c;c=1;C[J>>2]=1}y:{if(!g|!t|(!k|!C[t>>2])){break y}s=kg(k,3723);if(!s){break y}z:{A:{k=D[s+5|0];if((k|0)!=45){if(((k&223)-91&255)>>>0<230&(k-58&255)>>>0<=245){break y}a=(k-97&255)>>>0<26?k-32|0:k;A[w+12|0]=a;h=D[s+6|0];if((h-48&255)>>>0>=10){k=1;if(((h&-33)-65&255)>>>0>25){break A}}x=(h-97&255)>>>0<26?h-32|0:h;A[w+13|0]=x;h=D[s+7|0];if((h-48&255)>>>0>=10){k=2;if(((h&-33)-65&255)>>>0>25){break A}}u=(h-97&255)>>>0<26?h-32|0:h;A[w+14|0]=u;h=D[s+8|0];if((h-48&255)>>>0>=10){k=3;if(((h&-33)-65&255)>>>0>25){break A}}f=(h-97&255)>>>0<26?h-32|0:h;break z}h=D[s+6|0];k=h-48|0;a=(k&255)>>>0<10;B:{C:{if(!(a|(h-97&255)>>>0<6)){a=0;k=h-65|0;if((k&255)>>>0<6){break C}break y}if(a){break B}k=h-65|0}k=((k&255)>>>0<26?h+32|0:h)-87|0}h=D[s+7|0];u=h-48|0;a=(u&255)>>>0<10;D:{E:{if(!(a|(h-97&255)>>>0<6)){a=0;u=h-65|0;if((u&255)>>>0<6){break E}break y}if(a){break D}u=h-65|0}u=((u&255)>>>0<26?h+32|0:h)-87|0}h=D[s+8|0];r=h-48|0;a=(r&255)>>>0<10;F:{G:{if(!(a|(h-97&255)>>>0<6)){a=0;r=h-65|0;if((r&255)>>>0<6){break G}break y}if(a){break F}r=h-65|0}r=((r&255)>>>0<26?h+32|0:h)-87|0}h=D[s+9|0];K=h-48|0;a=(K&255)>>>0<10;H:{I:{if(!(a|(h-97&255)>>>0<6)){a=0;K=h-65|0;if((K&255)>>>0<6){break I}break y}if(a){break H}K=h-65|0}K=((K&255)>>>0<26?h+32|0:h)-87|0}h=D[s+10|0];N=h-48|0;a=(N&255)>>>0<10;J:{K:{if(!(a|(h-97&255)>>>0<6)){a=0;N=h-65|0;if((N&255)>>>0<6){break K}break y}if(a){break J}N=h-65|0}N=((N&255)>>>0<26?h+32|0:h)-87|0}m=D[s+11|0];h=m-48|0;a=(h&255)>>>0<10;L:{M:{if(!(a|(m-97&255)>>>0<6)){a=0;h=m-65|0;if((h&255)>>>0<6){break M}break y}if(a){break L}h=m-65|0}h=((h&255)>>>0<26?m+32|0:m)-87|0}m=D[s+12|0];H=m-48|0;a=(H&255)>>>0<10;N:{O:{if(!(a|(m-97&255)>>>0<6)){a=0;H=m-65|0;if((H&255)>>>0<6){break O}break y}if(a){break N}H=m-65|0}H=((H&255)>>>0<26?m+32|0:m)-87|0}m=D[s+13|0];s=m-48|0;a=(s&255)>>>0<10;P:{Q:{if(!(a|(m-97&255)>>>0<6)){a=0;x=m-65|0;if((x&255)>>>0<6){break Q}break y}if(a){break P}x=m-65|0}s=((x&255)>>>0<26?m+32|0:m)-87|0}a=(k<<4)+u|0;x=(r<<4)+K|0;u=(N<<4)+h|0;f=(H<<4)+s|0;break z}We((w+12|0)+k|0,32,4-k|0);u=D[w+14|0];x=D[w+13|0];a=D[w+12|0];f=D[w+15|0]}a=f&255|(a<<24|(x&255)<<16|(u&255)<<8);C[g>>2]=(a&-538976289)==1145457748?a^538976288:a;a=1;C[t>>2]=1}u=c^1;if(!g|!t|(!C[t>>2]|a)){break b}C[w+24>>2]=b;a=b;R:{S:{T:{while(1){c=kg(a,22154);if(!c|c>>>0>=e>>>0){break T}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1095782472;break S}a=b;U:{while(1){c=kg(a,11955);if(!c|c>>>0>=e>>>0){break U}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1346851360;break S}a=b;V:{while(1){c=kg(a,22163);if(!c|c>>>0>=e>>>0){break V}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1213809952;break S}a=b;W:{while(1){c=kg(a,21631);if(!c|c>>>0>=e>>>0){break W}a=c+8|0;c=D[c+8|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1347571488;break S}a=b;X:{while(1){c=kg(a,22146);if(!c|c>>>0>=e>>>0){break X}a=c+7|0;c=D[c+7|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1230000200;break S}a=b;Y:{while(1){c=kg(a,13799);if(!c|c>>>0>=e>>>0){break Y}a=c+5|0;c=D[c+5|0];if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){continue}break}C[g>>2]=1262961952;break S}if(yf(b,e,16595)){C[g>>2]=1398362693;break S}if(yf(b,e,14522)){C[g>>2]=1398362698;break S}if(yf(b,e,11866)){C[g>>2]=1398362702;break S}Z:{_:{switch(A[b|0]-97|0){case 0:c=1;if(Se(b+1|0,12458)){break Z}C[g>>2]=1245859616;break R;case 2:c=1;a=b+1|0;if(sf(a,13956)){C[g>>2]=1514686496;break R}if(sf(a,11620)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13890)){C[g>>2]=1514686496;break R}if(sf(a,11554)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13978)){C[g>>2]=1514686496;break R}if(sf(a,11642)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13934)){C[g>>2]=1514686496;break R}if(sf(a,11598)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13901)){C[g>>2]=1514686496;break R}if(sf(a,11565)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13923)){C[g>>2]=1514686496;break R}if(sf(a,11587)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,14011)){C[g>>2]=1514686496;break R}if(sf(a,11675)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13945)){C[g>>2]=1514686496;break R}if(sf(a,11609)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6899)){C[g>>2]=1514689312;break R}if(sf(a,4184)){C[g>>2]=1514689568;break R}if(sf(a,6851)){C[g>>2]=1514689312;break R}if(sf(a,4136)){C[g>>2]=1514689568;break R}if(sf(a,6915)){C[g>>2]=1514689312;break R}if(sf(a,4200)){C[g>>2]=1514689568;break R}if(sf(a,6883)){C[g>>2]=1514689312;break R}if(sf(a,4168)){C[g>>2]=1514689568;break R}if(sf(a,6859)){C[g>>2]=1514689312;break R}if(sf(a,4144)){C[g>>2]=1514689568;break R}if(sf(a,6875)){C[g>>2]=1514689312;break R}if(sf(a,4160)){C[g>>2]=1514689568;break R}if(sf(a,6939)){C[g>>2]=1514689312;break R}if(sf(a,4224)){C[g>>2]=1514689568;break R}if(sf(a,6891)){C[g>>2]=1514689312;break R}if(sf(a,4176)){C[g>>2]=1514689568;break R}$:{if(cf(a,30311,3)){break $}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break $}C[g>>2]=1514689568;break R}aa:{if(cf(a,30283,3)){break aa}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break aa}C[g>>2]=1514689568;break R}ba:{if(cf(a,30319,3)){break ba}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ba}C[g>>2]=1514689568;break R}ca:{if(cf(a,30303,3)){break ca}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ca}C[g>>2]=1514689568;break R}da:{if(cf(a,30287,3)){break da}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break da}C[g>>2]=1514689568;break R}ea:{if(cf(a,30299,3)){break ea}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ea}C[g>>2]=1514689568;break R}fa:{if(cf(a,30331,3)){break fa}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break fa}C[g>>2]=1514689568;break R}if(cf(a,30307,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 6:c=1;a=b+1|0;if(sf(a,13989)){C[g>>2]=1514686496;break R}if(sf(a,11653)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6923)){C[g>>2]=1514689312;break R}if(sf(a,4208)){C[g>>2]=1514689568;break R}if(sf(a,15085)){C[g>>2]=1230132256;break R}if(cf(a,30323,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 7:c=1;a=b+1|0;if(sf(a,14e3)){C[g>>2]=1514686496;break R}if(sf(a,11664)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,13967)){C[g>>2]=1514686496;break R}if(sf(a,11631)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6931)){C[g>>2]=1514689312;break R}if(sf(a,4216)){C[g>>2]=1514689568;break R}if(sf(a,6907)){C[g>>2]=1514689312;break R}if(sf(a,4192)){C[g>>2]=1514689568;break R}ga:{if(cf(a,30327,3)){break ga}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ga}C[g>>2]=1514689568;break R}if(cf(a,30315,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 8:c=1;a=b+1|0;if(!Se(a,11686)){C[g>>2]=1312904736;if(F[t>>2]<2){break R}C[g+4>>2]=1096042528;c=2;break R}if(!Se(a,14505)){C[g>>2]=1514689312;break R}if(Se(a,1603)){break Z}C[g>>2]=1280596512;break R;case 11:c=1;if(!sf(b+1|0,6939)){break Z}C[g>>2]=1514689312;break R;case 12:c=1;a=b+1|0;if(sf(a,13934)){C[g>>2]=1514686496;break R}if(sf(a,11598)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6883)){C[g>>2]=1514689312;break R}if(sf(a,4168)){C[g>>2]=1514689568;break R}ha:{if(cf(a,30303,3)){break ha}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ha}C[g>>2]=1514689568;break R}if(cf(a,30291,3)){break Z}if(!yf(b,e,14860)){break Z}C[g>>2]=1297043028;break R;case 13:c=1;a=b+1|0;if(sf(a,13989)){C[g>>2]=1514686496;break R}if(sf(a,11653)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6923)){C[g>>2]=1514689312;break R}if(sf(a,4208)){C[g>>2]=1514689568;break R}ia:{if(cf(a,30323,3)){break ia}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break ia}C[g>>2]=1514689568;break R}if(!Se(a,13805)){C[g>>2]=1313821216;break R}if(Se(a,11811)){break Z}C[g>>2]=1314475552;if(F[t>>2]<2){break R}C[g+4>>2]=1313821216;c=2;break R;case 17:if(cf(b+1|0,30312,2)){break Z}if(!yf(b,e,19712)){break Z}C[g>>2]=1297042464;c=1;break R;case 22:c=1;a=b+1|0;if(sf(a,13912)){C[g>>2]=1514686496;break R}if(sf(a,11576)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(sf(a,6867)){C[g>>2]=1514689312;break R}if(sf(a,4152)){C[g>>2]=1514689568;break R}if(cf(a,30295,3)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R;case 24:c=1;if(!sf(b+1|0,6947)){break Z}C[g>>2]=1514689312;break R;case 25:break _;default:break Z}}c=1;a=b+1|0;if(sf(a,14012)){C[g>>2]=1514686496;break R}if(sf(a,11676)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!Se(a,12439)){C[g>>2]=1514689312;break R}if(sf(a,6940)){C[g>>2]=1514689312;break R}if(sf(a,4225)){C[g>>2]=1514689568;break R}if(!Se(a,12345)){C[g>>2]=1514689312;break R}if(cf(a,30332,2)){break Z}if(yf(b,e,14018)){C[g>>2]=1514686496;break R}if(yf(b,e,11682)){C[g>>2]=1514689613;if(F[t>>2]<2){break R}C[g+4>>2]=1514686496;c=2;break R}if(!yf(b,e,1773)){break Z}C[g>>2]=1514689568;break R}f=ah(b,45);ja:{if(!f|(e-b|0)<6){break ja}b=f+1|0;a=ah(b,45);ka:{if(a){a=a+(f^-1)|0;break ka}a=af(b)}if((a|0)!=3|((D[b|0]&223)-65&255)>>>0>25){break ja}C[w+24>>2]=b}C[w+16>>2]=1402;C[w+20>>2]=0;C[w+12>>2]=194448;a=C[w+16>>2];la:{if((a|0)<=0){C[w+28>>2]=0;a=0;break la}a=a-1|0;e=C[w+12>>2];s=C[w+24>>2];b=ah(s,45);if(b){c=b-s|0;h=0;while(1){m=a+h>>>1|0;k=e+(m<<3)|0;b=ah(k,45);ma:{if(b){b=b-k|0;break ma}b=af(k)}b=cf(s,k,b>>>0>>0?c:b);na:{if((b|0)<0){a=m-1|0;break na}if(!b){C[w+28>>2]=m;a=1;break la}h=m+1|0}if((a|0)>=(h|0)){continue}break}C[w+28>>2]=h;a=0;break la}c=af(s);h=0;while(1){m=a+h>>>1|0;k=e+(m<<3)|0;b=ah(k,45);oa:{if(b){b=b-k|0;break oa}b=af(k)}b=cf(s,k,b>>>0>>0?c:b);pa:{if((b|0)>=0){if(!b){C[w+28>>2]=m;a=1;break la}h=m+1|0;break pa}a=m-1|0}if((a|0)>=(h|0)){continue}break}C[w+28>>2]=h;a=0}if(a){c=C[w+28>>2];while(1){b=c;if(b){c=b-1|0;if(!Se((b<<3)+194448|0,(c<<3)+194448|0)){continue}}break}if(!C[t>>2]){c=0;break R}c=0;a=1402-b|0;a=a>>>0<=1402?a:0;k=(b<<3)+194448|0;while(1){if((a|0)==(c|0)){c=a;break R}e=b+c<<3;f=C[e+194452>>2];if(!f){break R}if(Se(e+194448|0,k)){break R}C[g+(c<<2)>>2]=f;c=c+1|0;if(c>>>0>2]){continue}break}break R}e=C[w+24>>2];c=0;if(!f){f=af(e)+e|0}if((f-e|0)!=3){break R}a=0;c=Ce-16|0;Ce=c;if(!(!e|!D[e|0])){b=D[e|0];a=0;qa:{if(!b){break qa}A[c+12|0]=b;b=D[e+1|0];a=1;if(!b){break qa}A[c+13|0]=b;b=D[e+2|0];a=2;if(!b){break qa}A[c+14|0]=b;a=3}if(a>>>0<=3){We(a+(c+12|0)|0,32,4-a|0)}a=D[c+12|0]|D[c+13|0]<<8|(D[c+14|0]<<16|D[c+15|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Ce=c+16|0;C[g>>2]=a&-538976257}c=1}C[t>>2]=c}if(!(!d|!J|(!u|!C[J>>2]))){c=0;ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{if((G|0)<=1298954604){if((G|0)<=1198877297){h=1651402546;if((G|0)==1113943655){break ua}if((G|0)!=1147500129){break sa}h=1684370994;break ua}if((G|0)==1198877298){break za}if((G|0)==1198879349){break ya}if((G|0)!=1265525857){break sa}h=1802396722;break ua}if((G|0)<=1332902240){if((G|0)==1298954605){break xa}h=1836674354;if((G|0)==1299803506){break ta}break sa}if((G|0)==1332902241){break wa}if((G|0)==1415671148){break va}if((G|0)!=1415933045){break sa}h=1952803890;break ua}h=1735029298;break ua}h=1735750194;break ua}h=1835822386;break ua}h=1869773106;break ua}h=1953328178}C[d>>2]=h|51;c=1;if(F[J>>2]<2){break ra}}C[d+(c<<2)>>2]=h;c=c+1|0;if(c>>>0>=F[J>>2]){break ra}}b=d+(c<<2)|0;Aa:{Ba:{Ca:{Da:{if((G|0)<=1315663726){if(!G){break ra}if((G|0)!=1214870113){break Da}a=1801547361;break Aa}Ea:{if((G|0)!=1315663727){if((G|0)==1449224553){break Ea}if((G|0)!=1500080489){break Ca}a=2036932640;break Aa}a=1852534560;break Aa}a=1986095392;break Aa}if((G|0)==1281453935){break Ba}}a=G|536870912;break Aa}a=1818324768}C[b>>2]=a;c=c+1|0}C[J>>2]=c}Ce=w+32|0;U=q,V=(Hy(C[q>>2],1196643650,C[g+28>>2],d,q+36|0,q+24|0)|0)!=0,A[U+32|0]=V;Fy(C[q>>2],1196643650,C[q+36>>2],C[g+24>>2],g,q+44|0);U=q,V=(Hy(C[q>>2],1196445523,C[g+28>>2],d,q+40|0,q+28|0)|0)!=0,A[U+33|0]=V;Fy(C[q>>2],1196445523,C[q+40>>2],C[g+24>>2],g,q+48|0);Ce=g+32|0;C[i+132>>2]=0;C[i+124>>2]=0;C[i+128>>2]=0;C[i+120>>2]=n;a=i;b=bz(n+148|0);if(D[b|0]|D[b+1|0]<<8){c=1}else{b=az(n+152|0);c=(D[b|0]|D[b+1|0]<<8)!=0}b=0;Fa:{if(!c){break Fa}b=1;if((C[o>>2]&-2)==4){break Fa}b=!yy(n)}c=a;a=b;d=a|D[i+136|0]&-2;A[c+136|0]=d;Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{b=C[i+8>>2];if((b|0)<=1298231906){if((b|0)<=1198877297){if((b|0)<=1130918514){if((b|0)<=1114139506){if((b|0)<=1113681e3){if((b|0)==1097100397|(b|0)==1097363309){break Ha}if((b|0)==1098015074){break Qa}c=167664;break Ga}if((b|0)==1113681001|(b|0)==1113683051){break Ha}if((b|0)==1113943655){break Ma}c=167664;break Ga}if((b|0)<=1114990691){if((b|0)==1114139507|(b|0)==1114792296){break Ha}c=167664;if((b|0)==1114990441){break Ha}break Ga}if((b|0)==1114990692|(b|0)==1130457965){break Ha}c=167664;if((b|0)==1130914157){break Ha}break Ga}if((b|0)<=1164409199){if((b|0)<=1147756906){if((b|0)==1130918515|(b|0)==1131441518){break Ha}if((b|0)==1147500129){break Ma}c=167664;break Ga}if((b|0)==1147756907|(b|0)==1148151666){break Ha}c=167664;if((b|0)==1148547180){break Ha}break Ga}if((b|0)<=1198485094){if((b|0)==1164409200){break Ha}c=167664;if((b|0)==1164736877){break Ha}break Ga}c=167664;switch(b-1198485095|0){case 1:case 2:case 3:case 4:case 5:break Ga;case 0:case 6:break Ha;default:break Ia}}if((b|0)<=1265202290){if((b|0)<=1247901280){if((b|0)<=1214603889){c=167664;Ra:{switch(b-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break Ga;case 8:break Ha;case 0:break Oa;default:break Ra}}if((b|0)==1198877298|(b|0)==1198879349){break Ma}break Ga}c=167664;switch(b-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Ga;case 0:case 9:break Ha;default:break Na}}if((b|0)<=1265131889){if((b|0)==1247901281){break Ha}c=167664;if((b|0)==1264675945){break Ha}break Ga}if((b|0)==1265131890){break Ha}if((b|0)==1265134962){break La}c=167664;if((b|0)==1265135466){break Ha}break Ga}if((b|0)<=1281977697){if((b|0)<=1281453664){if((b|0)==1265202291){break Ha}if((b|0)==1265525857){break Ma}c=167664;if((b|0)==1265920105){break Ha}break Ga}if((b|0)==1281453665){break Ha}if((b|0)==1281453935){break Pa}c=167664;if((b|0)==1281716323){break Ha}break Ga}if((b|0)<=1298230883){if((b|0)==1281977698|(b|0)==1298229354){break Ha}c=167664;if((b|0)==1298230113){break Ha}break Ga}c=167664;switch(b-1298230884|0){case 0:case 5:break Ha;default:break Ga}}if((b|0)<=1399809891){if((b|0)<=1333094257){if((b|0)<=1299541107){if((b|0)<=1299145832){if((b|0)==1298231907|(b|0)==1298490470){break Ha}if((b|0)==1298954605){break Ma}c=167664;break Ga}if((b|0)==1299145833|(b|0)==1299148391){break Ha}c=167664;if((b|0)==1299473769){break Ha}break Ga}if((b|0)<=1315272544){if((b|0)==1299541108){break Ha}if((b|0)==1299803506){break Ka}c=167664;if((b|0)==1315008100){break Ha}break Ga}if((b|0)==1315272545|(b|0)==1315663727){break Ha}if((b|0)==1332902241){break Ma}c=167664;break Ga}if((b|0)<=1383032934){if((b|0)<=1349284451){if((b|0)==1333094258|(b|0)==1349017959){break Ha}c=167664;if((b|0)==1349020784){break Ha}break Ga}if((b|0)==1349284452){break Ha}if((b|0)==1365336423){break Ja}c=167664;if((b|0)==1382706791){break Ha}break Ga}if((b|0)<=1399415907){if((b|0)==1383032935|(b|0)==1398895986){break Ha}c=167664;if((b|0)==1399353956){break Ha}break Ga}c=167664;Sa:{switch(b-1399418468|0){case 1:case 2:case 3:break Ga;case 0:break Ha;case 4:break Ma;default:break Sa}}if((b|0)==1399415908){break Ha}break Ga}if((b|0)<=1415999078){if((b|0)<=1415669601){if((b|0)<=1400204899){c=167664;Ta:{switch(b-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break Ga;case 0:case 11:break Ha;default:break Ta}}if((b|0)==1399814511){break Ha}break Ga}if((b|0)==1400204900|(b|0)==1400466543){break Ha}if((b|0)==1400468067){break Qa}c=167664;break Ga}if((b|0)<=1415671147){if((b|0)==1415669602|(b|0)==1415670642){break Ha}c=167664;if((b|0)==1415670885){break Ha}break Ga}if((b|0)==1415671148){break Ma}if((b|0)==1415673460){break Ha}if((b|0)==1415933045){break Ma}c=167664;break Ga}if((b|0)<=1416524640){if((b|0)<=1416126824){if((b|0)==1415999079){break Ha}c=167664;if((b|0)==1416064103){break Ha}break Ga}if((b|0)==1416126825){break Pa}if((b|0)==1416192628){break Ha}c=167664;if((b|0)==1416196712){break Ha}break Ga}if((b|0)<=1466132590){if((b|0)==1416524641|(b|0)==1416590447){break Ha}c=167664;if((b|0)==1449751656){break Ha}break Ga}if((b|0)==1466132591|(b|0)==1499822697){break Ha}c=167664;if((b|0)==1516334690){break Ha}break Ga}if(!(C[i+48>>2]==1145457748&(b|0)!=1098015074)){c=167808;if((C[i+4>>2]&-2)==4){break Ga}}c=167664;break Ga}c=170996;break Ga}c=171684;break Ga}if((b|0)!=1214603890){break Ga}c=171740;break Ga}b=C[i+48>>2];if((b|0)==1145457748){c=167664;break Ga}c=167664;if((b|0)==1818326126){break Ga}c=(b&255)==51?171916:187024;break Ga}c=190568;break Ga}b=C[i+48>>2];if((b|0)==1145457748){c=167664;break Ga}if((b|0)==1818326126){c=167664;break Ga}c=167664;if((b|0)==1836674418){break Ga}c=191940;break Ga}c=191996;break Ga}if((b|0)!=1198678382){break Ga}}b=C[i+48>>2];c=(b|0)==1145457748?167664:(b|0)==1818326126?167664:171916}C[i+140>>2]=c;b=d&-3|(C[c+48>>2]!=0)<<1;A[i+136|0]=b;A[i+136|0]=b&251|D[c+52|0]<<2;if(a&(c|0)!=167664){C[i+140>>2]=167720}J=C[o+24>>2];k=C[o+20>>2];g=i+24|0;Xe(g,1920365166,1,1);Gf(g,0);Ua:{Va:{switch(C[i+4>>2]-4|0){case 0:Xe(g,1819570785,1,1);Xe(g,1819570797,1,1);break Ua;case 1:break Va;default:break Ua}}Xe(g,1920232545,1,1);Xe(g,1920232557,0,1)}Xe(g,1718772067,0,1);Xe(g,1853189490,0,1);Xe(g,1684959085,0,1);Xe(g,1918987876,33,255);Xe(g,1953653099,3,1);Xe(g,1214345830,1,1);Xe(g,1212240454,1,1);a=C[C[i+140>>2]>>2];if(a){Fe[a|0](i)}Xe(g,1114995322,1,1);Xe(g,1112889946,1,1);Xe(g,1633842797,1,1);Xe(g,1651275629,1,1);Xe(g,1667460464,1,1);Xe(g,1819239276,1,1);Xe(g,1835102827,13,1);Xe(g,1835756907,13,1);Xe(g,1919707495,1,1);Wa:{if((C[i+4>>2]&-2)==4){Xe(g,1667329140,1,1);Xe(g,1668049255,1,1);Xe(g,1668641395,1,1);Xe(g,1684632436,1,1);Xe(g,1801810542,3,1);Xe(g,1818847073,1,1);Xe(g,1919118452,1,1);break Wa}Xe(g,1986359924,17,1)}Xa:{if(!J){break Xa}d=0;while(1){f=k+(d<<4)|0;Xe(g,C[f>>2],C[f+8>>2]?0:C[f+12>>2]==-1,C[f+4>>2]);d=d+1|0;if((J|0)!=(d|0)){continue}break}if(!(A[i+136|0]&1)){break Xa}d=0;while(1){a=k+(d<<4)|0;f=C[a>>2];n=C[a+4>>2];e=0;a=Vm(C[i+120>>2]+172|0);Ya:{if(!(D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))){break Ya}if((f|0)==1633774708){c=205712;b=Vm(C[i+120>>2]+172|0);a=D[b+4|0]|D[b+5|0]<<8;Za:{if(!a){break Za}b=b+12|0;h=((a<<8|a>>>8)&65535)-1|0;while(1){_a:{f=e+h>>>1|0;a=b+I(f,12)|0;a=D[a|0]|D[a+1|0]<<8;$a:{if(((a<<8|a>>>8)&65535)>>>0>=18){h=f-1|0;break $a}if((a|0)==4352){break _a}e=f+1|0}if((e|0)<=(h|0)){continue}break Za}break}c=b+I(f,12)|0}if(!(D[c+2|0]|D[c+3|0]<<8)){break Ya}ab:{bb:{cb:{a=C[i+124>>2];if((a|0)>=0){e=C[i+128>>2];b=e+1|0;h=(b|0)>0?b:0;if(h>>>0<=a>>>0){break bb}while(1){a=((a>>>1|0)+a|0)+8|0;if(h>>>0>=a>>>0){continue}break}if(a>>>0<=268435454){b=mf(C[i+132>>2],a<<4);if(b){break cb}}C[i+124>>2]=-1}a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;h=C[i+128>>2];a=422704;break ab}C[i+124>>2]=a;C[i+132>>2]=b;e=C[i+128>>2]}if(e>>>0>>0){We(C[i+132>>2]+(e<<4)|0,0,h-e<<4)}C[i+128>>2]=h;a=(C[i+132>>2]+(h<<4)|0)-16|0}C[a+12>>2]=h;C[a+4>>2]=n;C[a>>2]=17;A[a+8|0]=1;break Ya}a=75;db:{eb:{while(1){c=a+e>>>1|0;b=C[(c<<4)+166400>>2];fb:{if(b>>>0>f>>>0){a=c-1|0;break fb}if(b>>>0>=f>>>0){break eb}e=c+1|0}if((a|0)>=(e|0)){continue}break}b=0;break db}b=(c<<4)+166400|0}if(!b){break Ya}f=Vm(C[i+120>>2]+172|0);s=C[b+4>>2];c=205712;a=D[f+4|0]|D[f+5|0]<<8;gb:{if(!a){break gb}f=f+12|0;h=((a<<8|a>>>8)&65535)-1|0;e=0;while(1){hb:{m=e+h>>>1|0;a=f+I(m,12)|0;a=D[a|0]|D[a+1|0]<<8;a=(a<<8|a>>>8)&65535;ib:{if((a|0)>(s|0)){h=m-1|0;break ib}if((a|0)==(s|0)){break hb}e=m+1|0}if((e|0)<=(h|0)){continue}break gb}break}c=f+I(m,12)|0}if(!(D[c+2|0]|D[c+3|0]<<8)){if((s|0)!=37|C[b+8>>2]!=1){break Ya}c=205712;f=Vm(C[i+120>>2]+172|0);a=D[f+4|0]|D[f+5|0]<<8;jb:{if(!a){break jb}f=f+12|0;h=((a<<8|a>>>8)&65535)-1|0;e=0;while(1){kb:{m=e+h>>>1|0;a=f+I(m,12)|0;a=D[a|0]|D[a+1|0]<<8;lb:{if(((a<<8|a>>>8)&65535)>>>0>=4){h=m-1|0;break lb}if((a|0)==768){break kb}e=m+1|0}if((e|0)<=(h|0)){continue}break jb}break}c=f+I(m,12)|0}if(!(D[c+2|0]|D[c+3|0]<<8)){break Ya}}mb:{nb:{ob:{a=C[i+124>>2];if((a|0)>=0){e=C[i+128>>2];f=e+1|0;h=(f|0)>0?f:0;if(h>>>0<=a>>>0){break nb}while(1){a=((a>>>1|0)+a|0)+8|0;if(h>>>0>=a>>>0){continue}break}if(a>>>0<=268435454){f=mf(C[i+132>>2],a<<4);if(f){break ob}}C[i+124>>2]=-1}a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;h=C[i+128>>2];a=422704;break mb}C[i+124>>2]=a;C[i+132>>2]=f;e=C[i+128>>2]}if(e>>>0>>0){We(C[i+132>>2]+(e<<4)|0,0,h-e<<4)}C[i+128>>2]=h;a=(C[i+132>>2]+(h<<4)|0)-16|0}C[a>>2]=C[b+4>>2];b=C[b+(n?8:12)>>2];C[a+12>>2]=h;C[a+4>>2]=b;A[a+8|0]=((D[c+8|0]|D[c+9|0]<<8)&128)>>>7}d=d+1|0;if((J|0)!=(d|0)){continue}break}}a=C[C[i+140>>2]+4>>2];if(a){Fe[a|0](i)}e=0;a=C[i+8>>2];C[v>>2]=C[i+4>>2];C[v+4>>2]=a;C[v+16>>2]=C[i+20>>2];a=C[i+16>>2];C[v+8>>2]=C[i+12>>2];C[v+12>>2]=a;C[v+20>>2]=C[i+140>>2];t=o+28|0;y=Ce-160|0;Ce=y;z=v+24|0;C[z+12>>2]=-2147483648;C[y>>2]=0;C[y+4>>2]=0;j=i+24|0;C[z>>2]=C[j+24>>2];A[z+8|0]=D[j+32|0];Ey(C[j>>2],1196643650,C[j+36>>2],C[j+44>>2],y+20|0,y+12|0);C[z+4>>2]=C[j+28>>2];A[z+9|0]=D[j+33|0];Ey(C[j>>2],1196445523,C[j+40>>2],C[j+48>>2],y+24|0,y+16|0);a=C[j- -64>>2];pb:{if(!a){break pb}Gp(C[j+68>>2],a,28,733);a=C[j+64>>2];if(a>>>0>=2){l=1;while(1){f=a>>>0>l>>>0;qb:{if(!f){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break qb}b=C[j+68>>2]+I(l,28)|0}c=C[b>>2];d=a>>>0>e>>>0;rb:{if(!d){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break rb}b=C[j+68>>2]+I(e,28)|0}sb:{if((c|0)!=C[b>>2]){tb:{if(!f){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break tb}b=C[j+68>>2]+I(l,28)|0}e=e+1|0;ub:{if(e>>>0>=a>>>0){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break ub}a=C[j+68>>2]+I(e,28)|0}c=C[b+4>>2];C[a>>2]=C[b>>2];C[a+4>>2]=c;C[a+24>>2]=C[b+24>>2];c=C[b+20>>2];C[a+16>>2]=C[b+16>>2];C[a+20>>2]=c;c=C[b+12>>2];C[a+8>>2]=C[b+8>>2];C[a+12>>2]=c;break sb}vb:{if(!f){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break vb}b=C[j+68>>2]+I(l,28)|0}wb:{if(A[b+12|0]&1){xb:{if(!d){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break xb}a=C[j+68>>2]+I(e,28)|0}C[a+12>>2]=C[a+12>>2]|1;yb:{if(!f){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break yb}a=C[j+68>>2]+I(l,28)|0}b=C[a+8>>2];zb:{if(!d){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break zb}a=C[j+68>>2]+I(e,28)|0}C[a+8>>2]=b;Ab:{if(!f){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ab}a=C[j+68>>2]+I(l,28)|0}b=C[a+16>>2];if(!d){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;C[105680]=b;break wb}C[(C[j+68>>2]+I(e,28)|0)+16>>2]=b;break wb}Bb:{Cb:{Db:{Eb:{Fb:{if(a>>>0>e>>>0){a=I(e,28);if(!(A[(a+C[j+68>>2]|0)+12|0]&1)){break Eb}a=a+C[j+68>>2]|0;break Fb}a=C[51431];C[105678]=C[51430];C[105679]=a;C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;if(!(A[422716]&1)){break Db}}C[a+12>>2]=C[a+12>>2]^1}if(d){break Cb}}C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Bb}a=C[j+68>>2]+I(e,28)|0}Gb:{if(!f){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;c=422704;break Gb}c=C[j+68>>2]+I(l,28)|0}b=C[a+8>>2];a=C[c+8>>2];b=a>>>0>>0?b:a;Hb:{if(!d){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Hb}a=C[j+68>>2]+I(e,28)|0}C[a+8>>2]=b}Ib:{if(!f){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;b=422704;break Ib}b=C[j+68>>2]+I(l,28)|0}Jb:{if(!d){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Jb}a=C[j+68>>2]+I(e,28)|0;C[a+12>>2]=C[a+12>>2]|C[b+12>>2]&2}Kb:{if(!f){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;c=422704;break Kb}c=C[j+68>>2]+I(l,28)|0}b=C[a+20>>2];a=C[c+20>>2];b=a>>>0>b>>>0?b:a;Lb:{if(!d){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Lb}a=C[j+68>>2]+I(e,28)|0}C[a+20>>2]=b;b=C[j+64>>2];c=b>>>0>e>>>0;Mb:{if(!c){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Mb}a=C[j+68>>2]+I(e,28)|0}Nb:{if(b>>>0<=l>>>0){C[105682]=C[51434];b=C[51433];C[105680]=C[51432];C[105681]=b;b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;d=422704;break Nb}d=C[j+68>>2]+I(l,28)|0}b=C[a+24>>2];a=C[d+24>>2];b=a>>>0>b>>>0?b:a;Ob:{if(!c){C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ob}a=C[j+68>>2]+I(e,28)|0}C[a+24>>2]=b}a=C[j+64>>2];l=l+1|0;if(a>>>0>l>>>0){continue}break}}b=e+1|0;b=(b|0)>0?b:0;if(b>>>0>>0){C[j+64>>2]=b;a=b}if(!a){break pb}n=y+36|0;x=C[y+4>>2];b=C[y>>2];l=0;d=2;while(1){Pb:{if(a>>>0<=l>>>0){C[105682]=C[51434];c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;f=422704;break Pb}f=C[j+68>>2]+I(l,28)|0}e=C[f+8>>2];Qb:{Rb:{if(A[f+12|0]&1){c=0;if((e|0)==1){break Rb}}if(!e){break Qb}c=32-L(e)|0;c=c>>>0>=8?8:c}c=c+d|0;if(c>>>0>30){break Qb}a=C[f>>2];b=(a|0)==C[y+12>>2]?C[f+20>>2]:b;e=Dy(C[j>>2],1196643650,C[j+36>>2],C[j+44>>2],a,y+32|0);a=C[f>>2];x=(a|0)==C[y+16>>2]?C[f+24>>2]:x;k=0;Sb:{Tb:{if(Dy(C[j>>2],1196445523,C[j+40>>2],C[j+48>>2],a,n)|e){break Tb}e=C[f+12>>2];if(e&16){if(Gy(C[j>>2],1196643650,C[f>>2],y+32|0)|Gy(C[j>>2],1196445523,C[f>>2],n)){break Tb}e=C[f+12>>2]}k=1;if(!(e&2)){break Sb}}Ub:{Vb:{Wb:{r=C[z+16>>2];if((r|0)>=0){a=C[z+20>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=r>>>0){break Vb}while(1){r=((r>>>1|0)+r|0)+8|0;if(e>>>0>=r>>>0){continue}break}if(r>>>0<=119304646){a=mf(C[z+24>>2],I(r,36));if(a){break Wb}}C[z+16>>2]=-1}C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Ub}C[z+16>>2]=r;C[z+24>>2]=a;a=C[z+20>>2]}if(a>>>0>>0){We(C[z+24>>2]+I(a,36)|0,0,I(e-a|0,36))}C[z+20>>2]=e;a=(C[z+24>>2]+I(e,36)|0)-36|0}C[a>>2]=C[f>>2];C[a+4>>2]=C[y+32>>2];C[a+8>>2]=C[y+36>>2];C[a+12>>2]=C[f+20>>2];C[a+16>>2]=C[f+24>>2];e=(D[f+12|0]>>>1&2|D[a+32|0]&-3)^2;A[a+32|0]=e;e=(D[f+12|0]>>>1&4|e&-5)^4;A[a+32|0]=e;r=e&-9|D[f+12|0]>>>2&8;A[a+32|0]=r;Xb:{if(!(!(A[f+12|0]&1)|C[f+8>>2]!=1)){h=-2147483648;c=d;d=31;break Xb}h=(1<>2]=C[z+12>>2]|h&C[f+16>>2]<>2]=h;C[a+20>>2]=d;A[a+32|0]=r&254|k;C[a+28>>2]=1<>2]}l=l+1|0;if(l>>>0>>0){continue}break}C[y+4>>2]=x;C[y>>2]=b;if(!a){break pb}C[j+64>>2]=0}Yb:{Zb:{_b:{l=C[j+72>>2];if((l|0)>=0){e=C[j+76>>2];a=e+1|0;b=(a|0)>0?a:0;if(b>>>0<=l>>>0){break Zb}while(1){l=((l>>>1|0)+l|0)+8|0;if(b>>>0>=l>>>0){continue}break}if(l>>>0<=536870910){a=mf(C[j+80>>2],l<<3);if(a){break _b}}C[j+72>>2]=-1}a=C[51429];C[105676]=C[51428];C[105677]=a;b=422704;break Yb}C[j+72>>2]=l;C[j+80>>2]=a;e=C[j+76>>2]}if(b>>>0>e>>>0){We(C[j+80>>2]+(e<<3)|0,0,b-e<<3)}C[j+76>>2]=b;b=(C[j+80>>2]+(b<<3)|0)-8|0}a=C[j+52>>2];C[b+4>>2]=0;C[b>>2]=a;C[j+52>>2]=C[j+52>>2]+1;$b:{ac:{bc:{l=C[j+84>>2];if((l|0)>=0){e=C[j+88>>2];a=e+1|0;b=(a|0)>0?a:0;if(b>>>0<=l>>>0){break ac}while(1){l=((l>>>1|0)+l|0)+8|0;if(b>>>0>=l>>>0){continue}break}if(l>>>0<=536870910){a=mf(C[j+92>>2],l<<3);if(a){break bc}}C[j+84>>2]=-1}a=C[51429];f=a;n=C[51428];C[105676]=n;C[105677]=a;b=422704;break $b}C[j+84>>2]=l;C[j+92>>2]=a;e=C[j+88>>2]}if(b>>>0>e>>>0){We(C[j+92>>2]+(e<<3)|0,0,b-e<<3)}C[j+88>>2]=b;n=C[51428];f=C[51429];b=(C[j+92>>2]+(b<<3)|0)-8|0}a=C[j+56>>2];C[b+4>>2]=0;C[b>>2]=a;C[j+56>>2]=C[j+56>>2]+1;d=(f&65535)<<16|n>>>16;k=1;h=0;while(1){Q=h<<2;u=Q+j|0;if(C[u+52>>2]){S=Q+167656|0;T=t+Q|0;a=I(h,12);p=a+z|0;R=a+j|0;w=y+Q|0;r=Q+(y+20|0)|0;K=0;b=0;N=0;while(1){H=C[r>>2];cc:{if((H|0)==65535|C[w>>2]!=(K|0)){break cc}J=C[T>>2];x=0;s=C[S>>2];m=By(C[j>>2],s);while(1){C[y+28>>2]=32;Cy(C[j>>2],s,H,J,x,y+28|0,y+32|0);h=0;e=C[y+28>>2];if(!e){break cc}while(1){o=(y+32|0)+(h<<2)|0;if(m>>>0>F[o>>2]){dc:{ec:{fc:{c=C[p+28>>2];if((c|0)>=0){a=C[p+32>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break ec}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=536870910){a=mf(C[p+36>>2],c<<3);if(a){break fc}}C[p+28>>2]=-1}C[105676]=n;C[105677]=f;e=422704;a=d;break dc}C[p+36>>2]=a;C[p+28>>2]=c;a=C[p+32>>2]}if(a>>>0>>0){We(C[p+36>>2]+(a<<3)|0,0,e-a<<3)}C[p+32>>2]=e;e=(C[p+36>>2]+(e<<3)|0)-8|0;a=D[e+2|0]}C[e+4>>2]=-2147483648;c=C[o>>2];A[e+2|0]=a&248|3;B[e>>1]=c;e=C[y+28>>2]}h=h+1|0;if(h>>>0>>0){continue}break}x=e+x|0;if((e|0)==32){continue}break}}l=0;h=C[z+20>>2];if(h){while(1){gc:{if(h>>>0<=l>>>0){C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break gc}a=C[z+24>>2]+I(l,36)|0}hc:{if(C[(a+Q|0)+12>>2]!=(K|0)){break hc}h=C[z+20>>2];ic:{if(h>>>0<=l>>>0){C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;h=C[z+20>>2];a=422704;break ic}a=C[z+24>>2]+I(l,36)|0}q=C[(a+Q|0)+4>>2];G=C[T>>2];jc:{if(h>>>0<=l>>>0){C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;h=C[z+20>>2];a=422704;break jc}a=C[z+24>>2]+I(l,36)|0}H=C[a+24>>2];kc:{if(h>>>0<=l>>>0){C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;h=C[z+20>>2];a=422704;break kc}a=C[z+24>>2]+I(l,36)|0}e=D[a+32|0];lc:{if(h>>>0<=l>>>0){C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;h=C[z+20>>2];a=422704;break lc}a=C[z+24>>2]+I(l,36)|0}c=D[a+32|0];mc:{if(h>>>0<=l>>>0){C[105684]=C[51436];a=C[51435];C[105682]=C[51434];C[105683]=a;a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break mc}a=C[z+24>>2]+I(l,36)|0}J=D[a+32|0]>>>1&4|(c>>>1&2|e>>>1&1);x=0;s=C[S>>2];m=By(C[j>>2],s);while(1){C[y+28>>2]=32;Cy(C[j>>2],s,q,G,x,y+28|0,y+32|0);h=0;e=C[y+28>>2];if(!e){break hc}while(1){o=(y+32|0)+(h<<2)|0;if(F[o>>2]>>0){nc:{oc:{pc:{c=C[p+28>>2];if((c|0)>=0){a=C[p+32>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break oc}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=536870910){a=mf(C[p+36>>2],c<<3);if(a){break pc}}C[p+28>>2]=-1}C[105676]=n;C[105677]=f;e=422704;a=d;break nc}C[p+36>>2]=a;C[p+28>>2]=c;a=C[p+32>>2]}if(a>>>0>>0){We(C[p+36>>2]+(a<<3)|0,0,e-a<<3)}C[p+32>>2]=e;e=(C[p+36>>2]+(e<<3)|0)-8|0;a=D[e+2|0]}C[e+4>>2]=H;c=C[o>>2];A[e+2|0]=J|a&248;B[e>>1]=c;e=C[y+28>>2]}h=h+1|0;if(h>>>0>>0){continue}break}x=e+x|0;if((e|0)==32){continue}break}}l=l+1|0;h=C[z+20>>2];if(l>>>0>>0){continue}break}}a=C[p+32>>2];qc:{if(a>>>0<=b>>>0){b=a;break qc}Gp(C[p+36>>2]+(b<<3)|0,a-b|0,8,734);e=C[p+32>>2];h=b+1|0;if(e>>>0>h>>>0){while(1){rc:{if(e>>>0<=h>>>0){C[105676]=n;C[105677]=f;e=C[p+32>>2];a=n;break rc}a=E[C[p+36>>2]+(h<<3)>>1]}sc:{if(b>>>0>=e>>>0){C[105676]=n;C[105677]=f;c=n;break sc}c=E[C[p+36>>2]+(b<<3)>>1]}e=C[p+32>>2];tc:{if((a&65535)!=(c&65535)){uc:{if(e>>>0<=h>>>0){C[105676]=n;C[105677]=f;e=C[p+32>>2];a=422704;break uc}a=C[p+36>>2]+(h<<3)|0}b=b+1|0;vc:{if(e>>>0<=b>>>0){C[105676]=n;C[105677]=f;e=422704;break vc}e=C[p+36>>2]+(b<<3)|0}c=C[a+4>>2];C[e>>2]=C[a>>2];C[e+4>>2]=c;break tc}wc:{if(e>>>0<=h>>>0){C[105676]=n;C[105677]=f;e=C[p+32>>2];c=f;break wc}c=C[(C[p+36>>2]+(h<<3)|0)+4>>2]}xc:{if(b>>>0>=e>>>0){C[105676]=n;C[105677]=f;e=C[p+32>>2];a=422704;o=f;break xc}a=C[p+36>>2]+(b<<3)|0;o=C[a+4>>2]}C[a+4>>2]=c|o;yc:{if(e>>>0<=h>>>0){C[105676]=n;C[105677]=f;e=C[p+32>>2];a=d;break yc}a=D[(C[p+36>>2]+(h<<3)|0)+2|0]}zc:{if(b>>>0>=e>>>0){C[105676]=n;C[105677]=f;e=422704;c=d;break zc}e=C[p+36>>2]+(b<<3)|0;c=D[e+2|0]}A[e+2|0]=c&(a|254);e=C[p+32>>2];Ac:{if(h>>>0>=e>>>0){C[105676]=n;C[105677]=f;e=C[p+32>>2];a=d;break Ac}a=D[(C[p+36>>2]+(h<<3)|0)+2|0]}Bc:{if(b>>>0>=e>>>0){C[105676]=n;C[105677]=f;e=422704;c=d;break Bc}e=C[p+36>>2]+(b<<3)|0;c=D[e+2|0]}A[e+2|0]=c&(a|253)}e=C[p+32>>2];h=h+1|0;if(e>>>0>h>>>0){continue}break}h=b+1|0}b=e;a=(h|0)>0?h:0;if(b>>>0<=a>>>0){break qc}C[p+32>>2]=a;b=a}Cc:{if(F[R+76>>2]<=N>>>0){break Cc}e=N<<3;if(C[e+C[R+80>>2]>>2]!=(K|0)){break Cc}Dc:{Ec:{Fc:{a=C[p+52>>2];if((a|0)>=0){l=C[p+56>>2];c=l+1|0;o=(c|0)>0?c:0;if(o>>>0<=a>>>0){break Ec}while(1){a=((a>>>1|0)+a|0)+8|0;if(o>>>0>=a>>>0){continue}break}if(a>>>0<=536870910){c=mf(C[p+60>>2],a<<3);if(c){break Fc}}C[p+52>>2]=-1}C[105676]=n;C[105677]=f;a=422704;break Dc}C[p+60>>2]=c;C[p+52>>2]=a;l=C[p+56>>2]}if(l>>>0>>0){We(C[p+60>>2]+(l<<3)|0,0,o-l<<3)}C[p+56>>2]=o;a=(C[p+60>>2]+(o<<3)|0)-8|0}C[a>>2]=b;c=a;Gc:{if(F[R+76>>2]<=N>>>0){C[105676]=n;C[105677]=f;a=f;break Gc}a=C[(e+C[R+80>>2]|0)+4>>2]}C[c+4>>2]=a;N=N+1|0}K=K+1|0;if(K>>>0>2]){continue}break}}h=1;a=k;k=0;if(a){continue}break}Ce=y+160|0;if(A[i+136|0]&1){b=v+100|0;d=0;a=C[i+128>>2];Hc:{if(!a){break Hc}lx(C[i+132>>2],a,16);e=C[i+128>>2];if(e>>>0>=2){c=1;while(1){Ic:{if(c>>>0>=e>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;e=C[i+128>>2];a=422704;break Ic}a=C[i+132>>2]+(c<<4)|0}f=C[a>>2];Jc:{if(d>>>0>=e>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Jc}a=C[i+132>>2]+(d<<4)|0}Kc:{if((f|0)==C[a>>2]){Lc:{if(F[i+128>>2]<=c>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Lc}a=C[i+132>>2]+(c<<4)|0}if(D[a+8|0]){break Kc}e=C[i+128>>2];Mc:{if(e>>>0<=c>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;e=C[i+128>>2];a=422704;break Mc}a=C[i+132>>2]+(c<<4)|0}f=C[a+4>>2];Nc:{if(d>>>0>=e>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Nc}a=C[i+132>>2]+(d<<4)|0}if((f^C[a+4>>2])>>>0<2){break Kc}}e=C[i+128>>2];Oc:{if(e>>>0<=c>>>0){a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;e=C[i+128>>2];a=422704;break Oc}a=C[i+132>>2]+(c<<4)|0}d=d+1|0;Pc:{if(e>>>0<=d>>>0){f=C[51431];C[105678]=C[51430];C[105679]=f;f=C[51429];C[105676]=C[51428];C[105677]=f;e=422704;break Pc}e=C[i+132>>2]+(d<<4)|0}f=C[a+4>>2];C[e>>2]=C[a>>2];C[e+4>>2]=f;f=C[a+12>>2];C[e+8>>2]=C[a+8>>2];C[e+12>>2]=f}c=c+1|0;e=C[i+128>>2];if(c>>>0>>0){continue}break}}a=d+1|0;a=(a|0)>0?a:0;if(a>>>0>=e>>>0){break Hc}C[i+128>>2]=a}f=b;u=0;b=bz(C[i+120>>2]+148|0);Qc:{if(D[b|0]|D[b+1|0]<<8){a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);J=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(J){b=b+8|0;G=C[51428];while(1){k=0;c=b;a=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);s=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);Rc:{if(!s){break Rc}a=C[i+128>>2];if((a|0)<=0){break Rc}m=C[i+132>>2];if(!m){break Rc}o=c+16|0;a=a-1|0;while(1){q=(k|0)<0?205712:o+I(k,12)|0;b=D[q+2|0]|D[q+3|0]<<8;r=(b<<8|b>>>8)&65535;b=D[q|0]|D[q+1|0]<<8;l=(b<<8|b>>>8)&65535;while(1){h=0;b=a;Sc:{while(1){Tc:{Uc:{Vc:{H=b+h>>>1|0;n=m+(H<<4)|0;e=C[n>>2];Wc:{if((e|0)!=(l|0)){if((e|0)<=(l|0)){break Wc}break Uc}e=C[n+4>>2];if((e|0)==(r|0)){break Vc}if((e|0)>(r|0)){break Uc}}h=H+1|0;break Tc}b=D[q+8|0]|D[q+9|0]<<8|(D[q+10|0]<<16|D[q+11|0]<<24);d=D[q+7|0]|((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))&d|(D[q+5|0]<<16|D[q+4|0]<<24)|D[q+6|0]<<8);break Sc}b=H-1|0}if((b|0)>=(h|0)){continue}break}if((l|0)!=3){break Sc}l=37;b=(r|0)==3;r=1;if(b){continue}}break}k=k+1|0;if((s|0)!=(k|0)){continue}break}}Xc:{Yc:{Zc:{b=C[f>>2];if((b|0)>=0){a=C[f+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break Yc}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=1073741822){a=mf(C[f+8>>2],b<<2);if(a){break Zc}}C[f>>2]=-1}C[105676]=G;break Xc}C[f>>2]=b;C[f+8>>2]=a;a=C[f+4>>2]}if(a>>>0>>0){We(C[f+8>>2]+(a<<2)|0,0,e-a<<2)}C[f+4>>2]=e;a=C[f+8>>2];C[105676]=G;a=(a+(e<<2)|0)-4|0;if((a|0)==422704){break Xc}C[a>>2]=d}a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);b=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;u=u+1|0;if((J|0)!=(u|0)){continue}break}}break Qc}b=az(C[i+120>>2]+152|0);if(D[b|0]|D[b+1|0]<<8){a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);J=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(J){b=b+8|0;G=C[51428];while(1){l=0;c=b;a=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=D[b+8|0]|D[b+9|0]<<8;_c:{if(!b){break _c}a=C[i+128>>2];if((a|0)<=0){break _c}s=C[i+132>>2];if(!s){break _c}m=c+12|0;a=a-1|0;b=(b<<8|b>>>8)&65535;o=b>>>0<=1?1:b;while(1){q=m+I(l,12)|0;b=D[q+2|0]|D[q+3|0]<<8;k=(b<<8|b>>>8)&65535;b=D[q|0]|D[q+1|0]<<8;r=(b<<8|b>>>8)&65535;while(1){h=0;b=a;$c:{while(1){ad:{bd:{cd:{H=b+h>>>1|0;n=s+(H<<4)|0;e=C[n>>2];dd:{if((e|0)!=(r|0)){if((e|0)<=(r|0)){break dd}break bd}e=C[n+4>>2];if((e|0)==(k|0)){break cd}if((e|0)>(k|0)){break bd}}h=H+1|0;break ad}b=D[q+8|0]|D[q+9|0]<<8|(D[q+10|0]<<16|D[q+11|0]<<24);d=D[q+7|0]|((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))&d|(D[q+5|0]<<16|D[q+4|0]<<24)|D[q+6|0]<<8);break $c}b=H-1|0}if((b|0)>=(h|0)){continue}break}if((r|0)!=3){break $c}r=37;b=(k|0)==3;k=1;if(b){continue}}break}l=l+1|0;if((o|0)!=(l|0)){continue}break}}ed:{fd:{gd:{b=C[f>>2];if((b|0)>=0){a=C[f+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break fd}while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0<=1073741822){a=mf(C[f+8>>2],b<<2);if(a){break gd}}C[f>>2]=-1}C[105676]=G;break ed}C[f>>2]=b;C[f+8>>2]=a;a=C[f+4>>2]}if(a>>>0>>0){We(C[f+8>>2]+(a<<2)|0,0,e-a<<2)}C[f+4>>2]=e;a=C[f+8>>2];C[105676]=G;a=(a+(e<<2)|0)-4|0;if((a|0)==422704){break ed}C[a>>2]=d}a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);b=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;u=u+1|0;if((J|0)!=(u|0)){continue}break}}}}}o=C[v+48>>2];hd:{id:{jd:{a=v;kd:{ld:{md:{k=C[a+44>>2];if((k|0)>0){d=k-1|0;c=d;nd:{od:{while(1){f=c+M>>>1|0;b=C[o+I(f,36)>>2];pd:{if(b>>>0>=1718772068){c=f-1|0;break pd}if((b|0)==1718772067){break od}M=f+1|0}if((c|0)>=(M|0)){continue}break}f=0;break nd}f=C[(o+I(f,36)|0)+28>>2]}C[v+116>>2]=f;M=0;c=d;while(1){e=c+M>>>1|0;b=C[o+I(e,36)>>2];qd:{if(b>>>0>=1853189491){c=e-1|0;break qd}if((b|0)==1853189490){break md}M=e+1|0}if((c|0)>=(M|0)){continue}break}b=0;break ld}C[v+124>>2]=0;C[v+116>>2]=0;C[v+120>>2]=0;r=E[v+140>>1]&-5;B[v+140>>1]=r;e=v+140|0;break kd}b=C[(o+I(e,36)|0)+28>>2]}C[a+120>>2]=b;c=0;rd:{sd:{while(1){e=c+d>>>1|0;a=C[o+I(e,36)>>2];td:{if(a>>>0>=1684959086){d=e-1|0;break td}if((a|0)==1684959085){break sd}c=e+1|0}if((c|0)<=(d|0)){continue}break}a=0;break rd}a=C[(o+I(e,36)|0)+28>>2]}C[v+124>>2]=a;ud:{vd:{if(f){e=v+140|0;M=E[v+140>>1];break vd}e=v+140|0;M=E[v+140>>1];c=0;if(!((b|0)!=0&(a|0)!=0)){break ud}}c=4}r=c|M&-5;B[e>>1]=r;d=0;if((k|0)>0){break jd}}C[v+128>>2]=0;break id}c=k-1|0;M=c;wd:{xd:{while(1){b=d+M>>>1|0;a=C[o+I(b,36)>>2];yd:{if(a>>>0>=1920232558){M=b-1|0;break yd}if((a|0)==1920232557){break xd}d=b+1|0}if((d|0)<=(M|0)){continue}break}a=0;break wd}a=C[(o+I(b,36)|0)+28>>2]}C[v+128>>2]=a;d=0;while(1){zd:{b=c+d>>>1|0;a=C[o+I(b,36)>>2];Ad:{if(a>>>0>=1986359925){c=b-1|0;break Ad}if((a|0)==1986359924){break zd}d=b+1|0}if((c|0)>=(d|0)){continue}break id}break}a=8;if(C[(o+I(b,36)|0)+28>>2]){break hd}}a=0}d=a|r&-9;B[e>>1]=d;n=(C[i+4>>2]&-2)==4?1801810542:1986753134;c=0;Bd:{Cd:{Dd:{Ed:{if((k|0)<=0){C[v+132>>2]=0;d=d&65534;break Ed}M=k-1|0;a=M;Fd:{Gd:{while(1){f=a+c>>>1|0;b=C[o+I(f,36)>>2];Hd:{if(b>>>0>n>>>0){a=f-1|0;break Hd}if(b>>>0>=n>>>0){break Gd}c=f+1|0}if((a|0)>=(c|0)){continue}break}a=0;break Fd}a=C[(o+I(f,36)|0)+24>>2]}C[v+132>>2]=a;c=0;d=d&-2|(a|0)!=0;B[v+140>>1]=d;while(1){b=c+M>>>1|0;a=C[o+I(b,36)>>2];Id:{if(a>>>0>=1953653100){M=b-1|0;break Id}if((a|0)==1953653099){break Dd}c=b+1|0}if((c|0)<=(M|0)){continue}break}}C[v+136>>2]=0;break Cd}a=C[(o+I(b,36)|0)+24>>2];C[v+136>>2]=a;b=2;if(a){break Bd}}b=0}B[e>>1]=b|d&65533;c=1;Jd:{if((k|0)<=0){break Jd}c=k-1|0;M=0;Kd:{while(1){b=c+M>>>1|0;a=C[o+I(b,36)>>2];Ld:{if(a>>>0>n>>>0){c=b-1|0;break Ld}if(a>>>0>=n>>>0){break Kd}M=b+1|0}if((c|0)>=(M|0)){continue}break}c=1;break Jd}c=C[(o+I(b,36)|0)+8>>2]==65535}o=C[C[v+20>>2]+40>>2];k=(o|0)!=C[v+28>>2];d=C[i>>2];b=C[d+132>>2];Md:{if(b){break Md}while(1){a=C[d+48>>2];if(!a){b=205712;break Md}b=df(1,4);if(!b){b=205712;C[d+132>>2]=205712;break Md}Um(b,a);if(!C[d+132>>2]){C[d+132>>2]=b;break Md}Ue(C[b>>2]);Re(b);b=C[d+132>>2];if(!b){continue}break}}a=C[b>>2];a=a?a:205712;b=E[v+140>>1];a=F[a+16>>2]<12?205712:C[a+12>>2];if(!(D[a+4|0]|D[a+5|0]<<8)){b=b|64;B[e>>1]=b}a=1;B[e>>1]=b&57343|(A[i+136|0]&1)<<13;f=Ce-48|0;Ce=f;h=C[i>>2]+156|0;d=C[h>>2];Nd:{if(d){break Nd}n=h-108|0;while(1){d=C[n>>2];if(!d){d=205712;break Nd}C[f+8>>2]=0;C[f+12>>2]=0;C[f+16>>2]=0;C[f+20>>2]=0;A[f+24|0]=0;C[f>>2]=0;C[f+4>>2]=0;C[f+28>>2]=0;C[f+32>>2]=0;b=Qf(d);A[f+40|0]=1;C[f+36>>2]=b;b=Zy(f,Of(d,1801810552));if(!b){b=205712}d=C[h>>2];if(!d){C[h>>2]=b;d=b;break Nd}if(!b){break Nd}if((b|0)!=205712){Ue(b)}d=C[h>>2];if(!d){continue}break}}Ce=f+48|0;b=F[d+16>>2]<8?205712:C[d+12>>2];d=(D[b|0]|D[b+1|0]<<8)!=0;if(!(A[i+136|0]&1)){a=!yy(C[i>>2])}Od:{Pd:{Qd:{Rd:{Sd:{if(!(k&(o|0)!=0)){b=a;a=C[Ch(C[i>>2]+140|0)>>2];a=a?a:205712;a=F[a+16>>2]<10?205712:C[a+12>>2];a=(D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))!=0;if(b|!a?d:0){break Sd}if(a){break Rd}break Pd}if(!d){break Pd}}b=E[e>>1]|4096;break Qd}b=E[e>>1]|512}B[e>>1]=b;break Od}b=E[e>>1]}Td:{if(b&4096|(c|!(b&512))!=1){break Td}if(d){b=b|4096;break Td}a=Wp(C[i>>2]+128|0);b=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=E[e>>1];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)?a|1024:a}a=b&-2049|(b&4608?0:(b^-1)<<1&2048);B[e>>1]=a;c=0;Ud:{if(!(D[i+136|0]&2)|b&4096){break Ud}c=32;if(!(b&1024)){break Ud}b=0;Vd:{Wd:{Xd:{c=Wp(C[i>>2]+128|0);a=D[c|0]|D[c+1|0]<<8;switch((a<<8|a>>>8)&65535){case 1:break Wd;case 0:break Xd;default:break Vd}}a=D[c+2|0]|D[c+3|0]<<8;if(!a){break Vd}b=1;if(D[c+8|0]==1){break Vd}f=(a<<8|a>>>8)&65535;d=f>>>0<=1?1:f;c=c+4|0;b=0;while(1){b=b+1|0;if((d|0)!=(b|0)){a=D[c+2|0]|D[c+3|0]<<8;c=((a<<8|a>>>8)&65535)+c|0;if(D[c+4|0]!=1){continue}}break}b=b>>>0>>0;break Vd}a=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break Vd}b=1;if(D[c+13|0]==1){break Vd}b=c+8|0;c=0;while(1){c=c+1|0;if((a|0)!=(c|0)){d=b;b=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(D[b+5|0]!=1){continue}}break}b=a>>>0>c>>>0}a=E[e>>1];c=b?0:32}f=c|a&-33;B[v+140>>1]=f;b=C[v+44>>2];Yd:{Zd:{if((b|0)<=0){break Zd}n=C[v+48>>2];b=b-1|0;d=0;while(1){_d:{k=b+d>>>1|0;c=C[n+I(k,36)>>2];$d:{if(c>>>0>=1835102828){b=k-1|0;break $d}if((c|0)==1835102827){break _d}d=k+1|0}if((b|0)>=(d|0)){continue}break Zd}break}b=16;if(C[(n+I(k,36)|0)+28>>2]){break Yd}}b=0}b=b|f&-17;B[e>>1]=b;c=0;d=0;ae:{if(a&4608){break ae}d=256;if(!(a&1024)){break ae}d=0;be:{ce:{de:{b=Wp(C[i>>2]+128|0);a=D[b|0]|D[b+1|0]<<8;switch((a<<8|a>>>8)&65535){case 1:break ce;case 0:break de;default:break be}}a=D[b+2|0]|D[b+3|0]<<8;if(!a){break be}d=1;if(D[b+9|0]&4){break be}n=(a<<8|a>>>8)&65535;f=n>>>0<=1?1:n;b=b+4|0;d=0;while(1){d=d+1|0;if((f|0)!=(d|0)){a=D[b+2|0]|D[b+3|0]<<8;b=((a<<8|a>>>8)&65535)+b|0;if(!(D[b+5|0]&4)){continue}}break}d=d>>>0>>0;break be}a=D[b+4|0]|D[b+5|0]<<8|(D[b+6|0]<<16|D[b+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break be}d=1;if(D[b+12|0]&64){break be}d=b+8|0;b=0;while(1){b=b+1|0;if((a|0)!=(b|0)){f=d;d=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=f+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;if(!(D[d+4|0]&64)){continue}}break}d=a>>>0>b>>>0}b=E[e>>1];d=d?0:256}a=d|b&-257;B[e>>1]=a;a=a&-129|(d?D[i+136|0]<<5&128:0);b=b&8192?a&-257:a;B[e>>1]=b;if(b&2){a=Yy(C[i>>2]+164|0);c=((D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24))!=0)<<14;b=E[e>>1]}B[e>>1]=b&49151|c;d=1;a=C[C[v+20>>2]+8>>2];ee:{if(!a){break ee}a=Fe[a|0](v)|0;C[v+112>>2]=a;if(a){break ee}Re(C[O+24>>2]);C[O+24>>2]=0;C[O+16>>2]=0;C[O+20>>2]=0;Re(C[O+36>>2]);C[O+36>>2]=0;C[O+28>>2]=0;C[O+32>>2]=0;Re(C[O+60>>2]);C[O+60>>2]=0;C[O+52>>2]=0;C[O+56>>2]=0;Re(C[O+48>>2]);C[O+48>>2]=0;C[O+40>>2]=0;C[O+44>>2]=0;Re(C[O+72>>2]);C[O+72>>2]=0;a=O- -64|0;C[a>>2]=0;C[a+4>>2]=0;Re(C[v+108>>2]);d=0;C[v+108>>2]=0;C[v+100>>2]=0;C[v+104>>2]=0}Re(C[i+132>>2]);C[i+132>>2]=0;C[i+124>>2]=0;C[i+128>>2]=0;Re(C[g+68>>2]);C[g+68>>2]=0;C[g+60>>2]=0;C[g+64>>2]=0;Re(C[g+80>>2]);C[g+80>>2]=0;C[g+72>>2]=0;C[g+76>>2]=0;Re(C[g+92>>2]);C[g+92>>2]=0;C[g+84>>2]=0;C[g+88>>2]=0;Re(C[g+80>>2]);C[g+80>>2]=0;C[g+72>>2]=0;C[g+76>>2]=0;Re(C[g+68>>2]);C[g+68>>2]=0;C[g+60>>2]=0;C[g+64>>2]=0;Ce=i+144|0;if(d){return P}Re(C[P+36>>2])}Re(P)}return 205712}function ZB(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,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,F=0,L=0,M=0,N=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=J(0),X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=J(0),Ha=J(0),Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0;f=Ce-112|0;Ce=f;a:{b:{d=C[a+548>>2];q=C[d>>2];if(q){break b}q=C[d+4>>2];C[d>>2]=q;if(q){break b}q=tk(C[a+204>>2]);if(q){C[d>>2]=q;C[d+4>>2]=q;break b}q=C[d>>2];if(q){break b}a=-1;break a}if(b){_=1;while(1){c:{d:{switch(C[b>>2]-1|0){case 0:X=b+8|0;_=1;break c;case 1:la=C[b+4>>2]?b+8|0:0;_=1;break c;case 3:l=D[b+8|0];h=D[b+11|0];d=D[b+10|0];a=D[b+9|0];nh(q,0);Kj(q,Fh(C[q+4>>2],l,a,d,h));_=1;break c;case 4:a=C[b+4>>2];k=C[b+16>>2];ia=C[b+8>>2];o=D[b+12|0];Y=D[b+15|0];p=D[b+14|0];h=D[b+13|0];e:{if(!_){break e}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);nh(q,d);break e}nh(q,X)}e=a+c|0;j=C[X>>2];f:{g:{if(!j){d=C[X+4>>2];if(!d){break f}if((ia|0)>0){break g}break f}if((ia|0)<=0){break f}d=C[X+4>>2]}ka=0;if((ia|0)!=1){l=ia&-2;g=0;while(1){a=ka<<3;r=a+e|0;C[r>>2]=j+C[r>>2];C[r+4>>2]=C[r+4>>2]+d;a=e+(a|8)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d;ka=ka+2|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(ia&1)){break f}a=e+(ka<<3)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d}if(!k){r=Fh(C[q+4>>2],o,h,p,Y);g=0;o=Ce-16|0;Ce=o;h:{if(!q){C[o>>2]=3415;Qe(19745,o);break h}if(D[C[q+4>>2]+8|0]<=7){Qe(5313,0);break h}if((ia|0)>0){p=C[q+40>>2];l=p+C[q+48>>2]|0;h=C[q+36>>2];d=h+C[q+44>>2]|0;while(1){a=e+(g<<3)|0;j=C[a>>2];i:{if((j|0)<(h|0)|(d|0)<=(j|0)){break i}a=C[a+4>>2];if((a|0)<(p|0)|(a|0)>=(l|0)){break i}j:{switch(D[C[q+4>>2]+9|0]-1|0){case 0:A[j+(C[q+20>>2]+I(a,C[q+16>>2])|0)|0]=r;break i;case 1:B[(C[q+20>>2]+I(a,C[q+16>>2])|0)+(j<<1)>>1]=r;break i;case 2:_e(4);break h;case 3:break j;default:break i}}C[(C[q+20>>2]+I(a,C[q+16>>2])|0)+(j<<2)>>2]=r}g=g+1|0;if((ia|0)!=(g|0)){continue}break}}}Ce=o+16|0;_=0;break c}m=Ce-16|0;Ce=m;k:{if(!q){C[m>>2]=3437;Qe(19745,m);break k}d=C[q+4>>2];a=D[d+8|0];if(a>>>0<=7){Qe(5358,0);break k}if(k-1>>>0<=1){p=(I(p,Y)>>>0)/255|0;o=(I(o,Y)>>>0)/255|0;h=(I(h,Y)>>>0)/255|0}l:{m:{n:{switch(a-15|0){case 0:w=494;if(C[d+12>>2]!=31744){break m}break l;case 17:if(C[d+12>>2]!=16711680){break m}w=C[d+24>>2]?495:496;break l;case 1:break n;default:break m}}w=497;if(C[d+12>>2]==63488){break l}}w=C[d+24>>2]?498:499}if((ia|0)<=0){break k}n=C[q+40>>2];j=n+C[q+48>>2]|0;r=C[q+36>>2];g=r+C[q+44>>2]|0;l=p&255;h=h&255;d=o&255;p=0;while(1){a=e+(p<<3)|0;o=C[a>>2];o:{if((o|0)<(r|0)|(g|0)<=(o|0)){break o}a=C[a+4>>2];if((a|0)<(n|0)|(a|0)>=(j|0)){break o}Fe[w|0](q,o,a,k,d,h,l,Y)|0}p=p+1|0;if((ia|0)!=(p|0)){continue}break}}Ce=m+16|0;_=0;break c;case 5:a=C[b+4>>2];n=C[b+16>>2];k=C[b+8>>2];Q=D[b+12|0];m=D[b+15|0];p=D[b+14|0];l=D[b+13|0];p:{if(!_){break p}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);nh(q,d);break p}nh(q,X)}h=a+c|0;j=C[X>>2];q:{r:{if(!j){d=C[X+4>>2];if(!d){break q}if((k|0)>0){break r}break q}if((k|0)<=0){break q}d=C[X+4>>2]}ka=0;if((k|0)!=1){o=k&-2;g=0;while(1){a=ka<<3;r=a+h|0;C[r>>2]=j+C[r>>2];C[r+4>>2]=C[r+4>>2]+d;a=h+(a|8)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d;ka=ka+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}if(!(k&1)){break q}a=h+(ka<<3)|0;C[a>>2]=j+C[a>>2];C[a+4>>2]=C[a+4>>2]+d}if(!n){a=h;r=Fh(C[q+4>>2],Q,l,p,m);j=Ce-32|0;Ce=j;s:{if(!q){C[j>>2]=3507;Qe(19745,j);break s}Q=500;t:{u:{v:{w:{d=C[q+4>>2];switch(D[d+9|0]-1|0){case 1:break t;case 0:break v;case 3:break w;default:break u}}Q=501;break t}Q=502;if(D[d+8|0]>=8){break t}}Qe(5497,0);break s}if((k|0)>=2){h=q+36|0;x=1;while(1){o=a+(x<<3)|0;d=o-8|0;C[j+28>>2]=C[d>>2];C[j+24>>2]=C[d+4>>2];C[j+20>>2]=C[o>>2];C[j+16>>2]=C[o+4>>2];if(ks(h,j+28|0,j+24|0,j+20|0,j+16|0)){d=C[j+28>>2];l=C[j+20>>2];x:{if((d|0)==(l|0)){g=C[j+24>>2];p=1;if((g|0)==C[j+16>>2]){break x}}g=C[j+16>>2];p=1;if((l|0)!=C[o>>2]){break x}p=C[o+4>>2]!=(g|0)}Fe[Q|0](q,d,C[j+24>>2],l,g,r,p)}x=x+1|0;if((k|0)!=(x|0)){continue}break}}d=a+(k-1<<3)|0;g=C[d>>2];y:{if((g|0)!=C[a>>2]){x=C[d+4>>2];break y}x=C[d+4>>2];if((x|0)==C[a+4>>2]){break s}}l=Ce-16|0;Ce=l;z:{if(!q){C[l>>2]=3352;Qe(19745,l);break z}h=C[q+4>>2];if(D[h+8|0]<=7){Qe(5224,0);break z}d=C[q+36>>2];if((d|0)>(g|0)){break z}a=C[q+40>>2];if((a|0)>(x|0)|(g|0)>=(d+C[q+44>>2]|0)|(a+C[q+48>>2]|0)<=(x|0)){break z}A:{switch(D[h+9|0]-1|0){case 0:A[g+(C[q+20>>2]+I(C[q+16>>2],x)|0)|0]=r;break z;case 1:B[(C[q+20>>2]+I(C[q+16>>2],x)|0)+(g<<1)>>1]=r;break z;case 2:_e(4);break z;case 3:break A;default:break z}}C[(C[q+20>>2]+I(C[q+16>>2],x)|0)+(g<<2)>>2]=r}Ce=l+16|0}Ce=j+32|0;_=0;break c}j=Ce-16|0;Ce=j;B:{if(!q){Qe(19367,0);break B}C:{D:{E:{F:{g=C[q+4>>2];switch(D[g+9|0]-2|0){case 2:break E;case 0:break F;default:break C}}a=C[g+12>>2];a=(a|0)==31744?503:(a|0)==63488?504:505;break D}d=C[g+24>>2];a=d?506:507;if(C[g+12>>2]==16711680){break D}a=d?508:509}if((k|0)>=2){g=q+36|0;w=1;while(1){r=h+(w<<3)|0;d=r-8|0;C[j+12>>2]=C[d>>2];C[j+8>>2]=C[d+4>>2];C[j+4>>2]=C[r>>2];C[j>>2]=C[r+4>>2];if(ks(g,j+12|0,j+8|0,j+4|0,j)){F=1;o=C[j>>2];d=C[j+4>>2];F=(d|0)==C[r>>2]?(o|0)!=C[r+4>>2]:F;Fe[a|0](q,C[j+12>>2],C[j+8>>2],d,o,n,Q,l,p,m,F)}w=w+1|0;if((k|0)!=(w|0)){continue}break}}a=h+(k-1<<3)|0;r=C[a>>2];G:{if((r|0)!=C[h>>2]){w=C[a+4>>2];break G}w=C[a+4>>2];if((w|0)==C[h+4>>2]){break B}}g=Ce-16|0;Ce=g;H:{if(!q){C[g>>2]=3373;Qe(19745,g);break H}o=C[q+4>>2];h=D[o+8|0];if(h>>>0<=7){Qe(5268,0);break H}d=C[q+36>>2];if((d|0)>(r|0)){break H}a=C[q+40>>2];if((a|0)>(w|0)|(r|0)>=(d+C[q+44>>2]|0)|(a+C[q+48>>2]|0)<=(w|0)){break H}if(n-1>>>0<=1){p=(I(m,p)>>>0)/255|0;Q=(I(m,Q)>>>0)/255|0;l=(I(m,l)>>>0)/255|0}I:{J:{switch(h-15|0){case 0:if(C[o+12>>2]!=31744){break I}Vr(q,r,w,n,Q&255,l&255,p&255,m);break H;case 1:if(C[o+12>>2]!=63488){break I}Ur(q,r,w,n,Q&255,l&255,p&255,m);break H;case 17:break J;default:break I}}if(C[o+12>>2]!=16711680){break I}if(!C[o+24>>2]){Tr(q,r,w,n,Q&255,l&255,p&255,m);break H}Sr(q,r,w,n,Q&255,l&255,p&255,m);break H}if(!C[o+24>>2]){Rr(q,r,w,n,Q&255,l&255,p&255,m);break H}Qr(q,r,w,n,Q&255,l&255,p&255,m)}Ce=g+16|0;break B}Qe(5541,0)}Ce=j+16|0;_=0;break c;case 6:a=C[b+4>>2];r=C[b+16>>2];k=C[b+8>>2];o=D[b+12|0];m=D[b+15|0];p=D[b+14|0];h=D[b+13|0];K:{if(!_){break K}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);nh(q,d);break K}nh(q,X)}n=a+c|0;L:{M:{if(!C[X>>2]){if(!C[X+4>>2]){break L}if((k|0)>0){break M}break L}if((k|0)<=0){break L}}ka=0;if((k|0)!=1){d=k&-2;_=0;while(1){a=ka<<4;l=a+n|0;C[l>>2]=C[l>>2]+C[X>>2];C[l+4>>2]=C[l+4>>2]+C[X+4>>2];a=n+(a|16)|0;C[a>>2]=C[a>>2]+C[X>>2];C[a+4>>2]=C[a+4>>2]+C[X+4>>2];ka=ka+2|0;_=_+2|0;if((d|0)!=(_|0)){continue}break}}if(!(k&1)){break L}a=n+(ka<<4)|0;C[a>>2]=C[a>>2]+C[X>>2];C[a+4>>2]=C[a+4>>2]+C[X+4>>2]}if(!r){Ms(q,n,k,Fh(C[q+4>>2],o,h,p,m));_=0;break c}j=Ce-32|0;Ce=j;N:{if(!q){C[j>>2]=3460;Qe(19745,j);break N}d=C[q+4>>2];a=D[d+8|0];if(a>>>0<=7){Qe(5404,0);break N}if(r-1>>>0<=1){p=(I(m,p)>>>0)/255|0;o=(I(m,o)>>>0)/255|0;h=(I(h,m)>>>0)/255|0}O:{P:{Q:{switch(a-15|0){case 0:x=510;if(C[d+12>>2]!=31744){break P}break O;case 17:if(C[d+12>>2]!=16711680){break P}x=C[d+24>>2]?511:512;break O;case 1:break Q;default:break P}}x=513;if(C[d+12>>2]==63488){break O}}x=C[d+24>>2]?514:515}if((k|0)<=0){break N}g=q+36|0;l=p&255;d=h&255;a=o&255;p=0;while(1){if(yg(n+(p<<4)|0,g,j+16|0)){Fe[x|0](q,j+16|0,r,a,d,l,m)|0}p=p+1|0;if((k|0)!=(p|0)){continue}break}}Ce=j+32|0;_=0;break c;case 7:a=C[b+4>>2];o=C[b+20>>2];j=C[o+80>>2];R:{if(!_){break R}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);nh(q,d);break R}nh(q,X)}g=D[b+15|0];r=C[C[b+20>>2]+80>>2];l=D[b+14|0];p=D[b+12|0];h=D[b+13|0];d=C[b+16>>2];if(!(!((l&(p&h))!=255|(1<>>0<=8:0))&(g|0)==255)){if(r){Ik(r,0)}}if(r){ni(r,p,h,l)}if(r){Ii(r,g)}if(r){zg(r,d)}h=a+c|0;g=h+16|0;d=C[X>>2];a=C[X+4>>2];if(d|a){C[g>>2]=d+C[g>>2];C[g+4>>2]=a+C[g+4>>2]}if(!(C[h+8>>2]!=C[h+24>>2]|C[h+12>>2]!=C[h+28>>2])){Uh(j,h,q,g);_=0;break c}if(q){Ik(q,0)}S:{d=C[g>>2];T:{if((d|0)<0){break T}a=C[g+4>>2];if((a|0)<0|C[q+8>>2]<(d+C[g+8>>2]|0)){break T}if(C[q+12>>2]>=(a+C[g+12>>2]|0)){break S}}_=0;l=Vh(C[g+8>>2],C[g+12>>2],C[C[j+4>>2]>>2]);if(!l){break c}if(j){a=f+80|0;if(a){Hk(j,a)}}a=f+56|0;if(a?j:0){A[a|0]=D[C[j+52>>2]+79|0]}if(j){ao(j,f+24|0,f+48|0,f+40|0)}C[f+96>>2]=0;C[f+100>>2]=0;C[f+104>>2]=C[h+24>>2];C[f+108>>2]=C[h+28>>2];if(j){zg(j,0)}if(j){ni(j,255,255,255)}if(j){Ii(j,255)}ej(j,h,l,f+96|0,C[o+28>>2]);h=D[f+24|0];d=D[f+48|0];a=D[f+40|0];if(l){ni(l,h,d,a)}a=D[f+56|0];if(l){Ii(l,a)}a=C[f+80>>2];if(l){zg(l,a)}Uh(l,0,q,g);Nf(l);break c}ej(j,h,q,g,C[o+28>>2]);_=0;break c;case 8:a=C[b+4>>2];U:{if(!_){break U}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);nh(q,d);break U}nh(q,X)}o=C[C[b+20>>2]+80>>2];g=D[b+15|0];l=D[b+14|0];p=D[b+12|0];h=D[b+13|0];d=C[b+16>>2];if(!(!((l&(p&h))!=255|(1<>>0<=8:0))&(g|0)==255)){if(o){Ik(o,0)}}if(o){ni(o,p,h,l)}if(o){Ii(o,g)}if(o){zg(o,d)}e=a+c|0;d=C[X>>2];a=C[X+4>>2];if(d|a){C[e+16>>2]=d+C[e+16>>2];C[e+20>>2]=a+C[e+20>>2]}Ga=G[e+56>>2];Ha=G[e+52>>2];o=C[e+48>>2];cb=H[e+32>>3];n=C[b+20>>2];k=C[n+80>>2];C[f+80>>2]=0;C[f+84>>2]=0;j=C[e+24>>2];C[f+88>>2]=j;r=C[e+28>>2];C[f+92>>2]=r;if(D[k|0]&2){mh(k)}a=C[k+4>>2];a=yl(C[k+20>>2],C[k+8>>2],C[k+12>>2],D[a+8|0],C[k+16>>2],C[a+12>>2],C[a+16>>2],C[a+20>>2],C[a+24>>2]);V:{if(!a){if(!(D[k|0]&2)){break V}Yg(k);_=0;break c}if(k){d=f+76|0;if(d){Hk(k,d)}}d=f+75|0;if(d?k:0){A[d|0]=D[C[k+52>>2]+79|0]}if(k){ao(k,f+74|0,f+73|0,f+72|0)}h=C[k+4>>2];W:{if(!(D[h+8|0]!=32|(C[h>>2]&983040)!=393216)){d=0;if(C[h+24>>2]){break W}}d=1}h=C[e+8>>2];X:{if(!(C[e>>2]|((h|0)!=C[e+24>>2]|C[e+12>>2]!=C[e+28>>2]))){if(!C[e+4>>2]){break X}}d=1}Y:{if(!(C[e>>2]|((h|0)!=C[k+8>>2]|C[e+12>>2]!=C[k+12>>2]))){if(!C[e+4>>2]){break Y}}d=1}u=0;T=1;g=C[f+76>>2];Z:{_:{if(g>>>0>8){l=0;_=0;break _}l=0;_=0;if(!(1<>2]}l=(p|0)!=255;if(!g){if(!C[C[k+4>>2]+24>>2]){u=1;if(D[f+75|0]==255){break _}}_=hi(0,C[e+24>>2],C[e+28>>2],32,16711680,65280,255,-16777216);if(!_){d=C[f+76>>2];if(a){zg(a,d)}_=0;d=a;break Z}if(_){zg(_,4)}}u=0}$:{if(!(d|l)){d=C[f+76>>2];if(a){zg(a,d)}d=a;break $}d=C[f+92>>2];C[f+104>>2]=C[f+88>>2];C[f+108>>2]=d;d=C[f+84>>2];C[f+96>>2]=C[f+80>>2];C[f+100>>2]=d;d=hi(0,C[e+24>>2],C[e+28>>2],32,16711680,65280,255,-16777216);if(!d){d=C[f+76>>2];if(a){zg(a,d)}d=a;break Z}if(a){zg(a,0)}h=ej(a,e,d,f+96|0,C[n+28>>2]);Nf(a);a=C[f+76>>2];if(d){zg(d,a)}if(h){break Z}}a=f+56|0;fa=cb*.017453292519943295;$a=oi(fa);ab=ph(fa);g=e+40|0;h=g;Da=+G[h>>2];lb=.5-Da;Qa=ab*lb;Xa=+G[h+4>>2];Ra=.5-Xa;fa=$a*-Ra;db=Qa+fa+Da;Sa=+(j|0)+-.5-Da;ya=ab*Sa;eb=ya+fa+Da;Ea=dbfb?fb:Da;fa=O(fa>Ea?Ea:fa);aa:{if(K(fa)<2147483648){l=~~fa;break aa}l=-2147483648}Qa=$a*lb;fa=ab*Ra;Ra=Qa+fa+Xa;ya=$a*Sa;Sa=ya+fa+Xa;Ea=RaTa?Ta:ya;Qa=O(fa>Ea?Ea:fa);Ea=Ra>Sa?Ra:Sa;fa=yaeb?db:eb;fa=Da>2]=i-l;if(K(Qa)<2147483648){h=~~Qa}else{h=-2147483648}C[a+4>>2]=h;C[a>>2]=l;if(K(ya)<2147483648){i=~~ya}else{i=-2147483648}C[a+12>>2]=i-h;H[f+40>>3]=-$a;H[f+48>>3]=ab;fa=cb/90;ca:{if(K(fa)<2147483648){h=~~fa;break ca}h=-2147483648}if(+(h|0)==fa){h=(h|0)%4|0;h=(h|0)<0?h+4|0:h;da:{if(h&1){C[a+12>>2]=j;C[a+8>>2]=r;C[f+48>>2]=0;C[f+52>>2]=0;fa=+(((h|0)==1?-1:1)|0);break da}C[a+12>>2]=r;C[a+8>>2]=j;H[f+48>>3]=(h?-1:1)|0;fa=0}H[f+40>>3]=fa}m=Or(d,cb,C[n+28>>2]!=0,o&1,o&2,a,H[f+48>>3],H[f+40>>3],g);ea:{if(!(!m|!_)){g=Or(_,cb,0,0,0,f+56|0,H[f+48>>3],H[f+40>>3],g);if(g){break ea}break Z}g=0;if(!m){break Z}}j=C[f+56>>2]+C[e+16>>2]|0;C[f+80>>2]=j;a=C[e+20>>2];r=C[f+68>>2];C[f+92>>2]=r;o=C[f+64>>2];C[f+88>>2]=o;p=a+C[f+60>>2]|0;C[f+84>>2]=p;fa:{if(!(!C[f+76>>2]&(u^-1))){if(T){a=D[f+75|0];if(m){Ii(m,a)}l=D[f+74|0];h=D[f+73|0];a=D[f+72|0];if(m){ni(m,l,h,a)}}if(!(Ha==J(1)&Ga==J(1))){a=C[n+28>>2];W=J(Ga*J(r|0));ga:{if(J(K(W))>2]=i;W=J(Ha*J(o|0));ha:{if(J(K(W))>2]=i;W=J(Ga*J(p|0));ia:{if(J(K(W))>2]=i;W=J(Ha*J(j|0));ja:{if(J(K(W))>2]=i;ej(m,0,q,f+96|0,a);break fa}Uh(m,0,q,f+80|0);break fa}a=C[f+92>>2];C[f+32>>2]=C[f+88>>2];C[f+36>>2]=a;a=C[f+84>>2];C[f+24>>2]=C[f+80>>2];C[f+28>>2]=a;if(g){zg(g,0)}l=Ha!=J(1)|Ga!=J(1);ka:{if(l){a=C[n+28>>2];W=J(Ha*J(C[f+24>>2]));la:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+28>>2]));ma:{if(J(K(W))>2]=i;W=J(Ha*J(C[f+32>>2]));na:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+36>>2]));oa:{if(J(K(W))>2]=i;a=ej(g,0,q,f+96|0,a);break ka}a=Uh(g,0,q,f+24|0)}pa:{if(a){break pa}if(m){ni(m,0,0,0)}a=C[f+92>>2];C[f+32>>2]=C[f+88>>2];C[f+36>>2]=a;a=C[f+84>>2];C[f+24>>2]=C[f+80>>2];C[f+28>>2]=a;qa:{if(l){a=C[n+28>>2];W=J(Ha*J(C[f+24>>2]));ra:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+28>>2]));sa:{if(J(K(W))>2]=i;W=J(Ha*J(C[f+32>>2]));ta:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+36>>2]));ua:{if(J(K(W))>2]=i;a=ej(m,0,q,f+96|0,a);break qa}a=Uh(m,0,q,f+24|0)}if(a){break pa}a=C[m+4>>2];p=yl(C[m+20>>2],C[m+8>>2],C[m+12>>2],D[a+8|0],C[m+16>>2],C[a+12>>2],C[a+16>>2],C[a+20>>2],0);if(!p){break pa}if(p){zg(p,2)}va:{if(l){a=C[n+28>>2];W=J(Ha*J(C[f+80>>2]));wa:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+84>>2]));xa:{if(J(K(W))>2]=i;W=J(Ha*J(C[f+88>>2]));ya:{if(J(K(W))>2]=i;W=J(Ga*J(C[f+92>>2]));za:{if(J(K(W))>2]=i;ej(p,0,q,f+96|0,a);break va}Uh(p,0,q,f+80|0)}Nf(p)}Nf(g)}Nf(m)}if(D[k|0]&2){Yg(k)}if(_){Nf(_)}Nf(d)}_=0;break c;case 9:break d;default:break c}}a=C[b+4>>2];bb=C[b+16>>2];o=C[b+20>>2];za=C[b+8>>2];Aa:{if(!_){break Aa}if(la){C[f+96>>2]=C[X>>2]+C[la>>2];C[f+100>>2]=C[X+4>>2]+C[la+4>>2];C[f+104>>2]=C[la+8>>2];C[f+108>>2]=C[la+12>>2];d=f+96|0;yg(X,d,d);nh(q,d);break Aa}nh(q,X)}a=a+c|0;if(o){g=D[b+15|0];Fa=C[o+80>>2];o=C[C[b+20>>2]+80>>2];l=D[b+14|0];p=D[b+12|0];h=D[b+13|0];d=C[b+16>>2];if(!(!((l&(p&h))!=255|(1<>>0<=8:0))&(g|0)==255)){if(o){Ik(o,0)}}if(o){ni(o,p,h,l)}if(o){Ii(o,g)}if(o){zg(o,d)}h=C[X>>2];d=C[X+4>>2];Ba:{if(!(h|d)){break Ba}C[f+100>>2]=d;C[f+96>>2]=h;C[f+96>>2]=C[f+96>>2]<<1;C[f+100>>2]=C[f+100>>2]<<1;if((za|0)<=0){break Ba}ka=0;g=C[f+100>>2];l=C[f+96>>2];if((za|0)!=1){d=za&-2;_=0;while(1){h=I(ka,20)+a|0;C[h+8>>2]=l+C[h+8>>2];C[h+12>>2]=g+C[h+12>>2];h=I(ka|1,20)+a|0;C[h+8>>2]=l+C[h+8>>2];C[h+12>>2]=g+C[h+12>>2];ka=ka+2|0;_=_+2|0;if((d|0)!=(_|0)){continue}break}}if(!(za&1)){break Ba}d=I(ka,20)+a|0;C[d+8>>2]=l+C[d+8>>2];C[d+12>>2]=g+C[d+12>>2]}_=0;ka=0;if((za|0)<=0){break c}while(1){C[f+20>>2]=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);C[f+16>>2]=D[a+36|0]|D[a+37|0]<<8|(D[a+38|0]<<16|D[a+39|0]<<24);C[f+12>>2]=D[a+56|0]|D[a+57|0]<<8|(D[a+58|0]<<16|D[a+59|0]<<24);h=a;ta=a;l=0;gb=0;jb=0;i=0;V=Ce-96|0;Ce=V;Ca:{if(!Fa|!q){break Ca}d=C[h+12>>2];a=C[h+8>>2];S=I(C[h+32>>2]-d|0,a-C[ta+48>>2]|0)+I(C[ta+52>>2]-d|0,C[h+28>>2]-a|0)|0;if(!S){break Ca}mb=C[q>>2]&2;if(mb){if((mh(q)|0)<0){break Ca}}Da:{Ea:{if(!(D[Fa|0]&2)){break Ea}jb=1;if((mh(Fa)|0)>=0){break Ea}jb=0;break Da}ha=D[f+20|0];pa=D[f+16|0];Fa:{if((ha|0)!=(pa|0)){break Fa}g=D[f+21|0];if((g|0)!=D[f+17|0]){break Fa}d=D[f+22|0];if((d|0)!=D[f+18|0]){break Fa}a=D[f+23|0];if((a|0)!=D[f+19|0]|D[f+12|0]!=(ha|0)|((g|0)!=D[f+13|0]|(d|0)!=D[f+14|0])){break Fa}gb=(a|0)==D[f+15|0]}m=C[h+8>>2];n=C[ta+48>>2];j=C[h+28>>2];r=C[h+12>>2];o=C[h+32>>2];p=C[ta+52>>2];a=(o|0)<(p|0)?o:p;g=(a|0)>(r|0)?r:a;C[V+80>>2]=g>>1;a=(j|0)<(n|0)?j:n;d=(a|0)>(m|0)?m:a;C[V+76>>2]=d>>1;a=(o|0)>(p|0)?o:p;C[V+88>>2]=((a|0)<(r|0)?r:a)-g>>1;a=(j|0)>(n|0)?j:n;C[V+84>>2]=((a|0)<(m|0)?m:a)-d>>1;a=V+92|0;if(!(!Fa|!a)){d=(C[C[Fa+52>>2]+68>>2]&240)-16|0;if(d>>>0<=127){d=C[(d>>>2|0)+148468>>2]}else{d=0}C[a>>2]=d}k=C[h+4>>2];d=C[h+24>>2];a=C[h+44>>2];r=(a|0)<(d|0)?d:a;m=(k|0)>(r|0)?k:r;a=(a|0)>(d|0)?d:a;p=(a|0)>(k|0)?k:a;n=C[h>>2];a=C[h+20>>2];g=C[h+40>>2];o=(a|0)>(g|0)?a:g;j=(n|0)>(o|0)?n:o;g=(a|0)<(g|0)?a:g;Ga:{if((j|0)<=(((g|0)>(n|0)?n:g)|0)){break Ga}if((n|0)>=(o|0)){C[h>>2]=n-1;a=C[h+20>>2]}if((a|0)==(j|0)){C[h+20>>2]=j-1}if((j|0)!=C[h+40>>2]){break Ga}C[h+40>>2]=j-1}Ha:{if((m|0)<=(p|0)){break Ha}if((k|0)>=(r|0)){C[h+4>>2]=k-1;d=C[h+24>>2]}if((d|0)==(m|0)){C[h+24>>2]=m-1}if((m|0)!=C[h+44>>2]){break Ha}C[h+44>>2]=m-1}na=1;if(!(!gb|(ha|0)!=255|(D[f+21|0]!=255|D[f+22|0]!=255))){na=D[f+23|0]!=255}C[V+12>>2]=0;C[V+16>>2]=0;C[V+20>>2]=C[q+8>>2];C[V+24>>2]=C[q+12>>2];d=V+76|0;g=V+12|0;yg(d,g,d);if(!(!q|!g)){a=C[q+40>>2];C[g>>2]=C[q+36>>2];C[g+4>>2]=a;a=C[q+48>>2];C[g+8>>2]=C[q+44>>2];C[g+12>>2]=a}yg(d,g,d);ia=C[Fa+16>>2];Y=C[Fa+20>>2];a=S>>31;e=(a^S)-a|0;N=C[h+28>>2];z=C[h+8>>2];da=N-z|0;g=C[V+80>>2];r=g<<1|1;Z=C[h+12>>2];d=C[V+76>>2];o=d<<1|1;ba=C[h+32>>2];a=I(da,r-Z|0)+I(z-o|0,ba-Z|0)|0;x=C[ta+48>>2];U=z-x|0;ea=C[ta+52>>2];p=I(U,r-ea|0)+I(x-o|0,Z-ea|0)|0;k=x-N|0;o=I(k,r-ba|0)+I(N-o|0,ea-ba|0)|0;Ua=C[q+16>>2];m=I(g,Ua);L=D[C[q+4>>2]+9|0];n=C[q+20>>2]+I(L,d)|0;$=C[h+44>>2];j=C[h+24>>2];r=C[h+4>>2];M=C[h+40>>2];g=C[h+20>>2];d=C[h>>2];Va=da<<1;aa=U<<1;ga=k<<1;Wa=Z-ba<<1;da=ea-Z<<1;U=ba-ea<<1;Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{if((S|0)>0){if((ba|0)!=(ea|0)){break Va}if((x|0)>(N|0)){break Ua}break Qa}if((ba|0)!=(ea|0)){break Ta}l=-1;if((x|0)>=(N|0)){break Ra}break Sa}if((ba|0)<=(ea|0)){break Qa}}if((Z|0)!=(ea|0)){break Pa}break Oa}l=-1;if((ba|0)>=(ea|0)){break Ra}}l=0}a=0-a|0;p=0-p|0;o=0-o|0;Va=0-Va|0;aa=0-aa|0;ga=0-ga|0;Wa=0-Wa|0;da=0-da|0;U=0-U|0;Wa:{Xa:{Ya:{Za:{if((Z|0)==(ea|0)){if((x|0)>(z|0)){break Za}break Ya}if((Z|0)<=(ea|0)){break Ya}}S=0;if((Z|0)!=(ba|0)){break Xa}break Wa}S=-1;if((Z|0)==(ba|0)){break Wa}}Ja=0;if((Z|0)>=(ba|0)){break Ja}break Ia}Ja=0;if((z|0)>(N|0)){break Ia}break Ja}l=-1;if((Z|0)==(ea|0)){break Oa}}if((Z|0)>=(ea|0)){break Na}break Ma}if((x|0)<(z|0)){break Ma}}S=-1;if((Z|0)!=(ba|0)){break La}break Ka}S=0;if((Z|0)==(ba|0)){break Ka}}Ja=0;if((Z|0)<=(ba|0)){break Ja}break Ia}Ja=0;if((z|0)<(N|0)){break Ia}}Ja=-1}xa=m+n|0;k=j-$|0;m=r-$|0;n=g-M|0;j=d-M|0;r=I(e,$);g=I(e,M);if(!(!C[V+92>>2]&(!na&C[C[Fa+4>>2]>>2]==C[C[q+4>>2]>>2]&gb))){N=C[Fa+52>>2];lf(V+12|0,0,64);y=C[Fa+4>>2];C[V+52>>2]=y;t=C[q+4>>2];C[V+56>>2]=t;d=C[N+68>>2];A[V+72|0]=ha;$=D[f+21|0];A[V+73|0]=$;M=D[f+22|0];A[V+74|0]=M;na=D[f+23|0];d=d&-4;C[V+64>>2]=d;A[V+75|0]=na;Z=D[f+14|0];ba=D[f+18|0];ea=D[f+13|0];z=D[f+17|0];x=D[f+12|0];_a:{$a:{if((ha|0)!=255|(pa|0)!=255|((x|0)!=255|($|0)!=255)){break $a}if((z|0)!=255|(ea|0)!=255|((M|0)!=255|(ba|0)!=255)){break $a}if((Z|0)==255){break _a}}d=d|1;C[V+64>>2]=d}L=D[f+15|0];h=D[f+19|0];if(!(!((na|0)!=255|(h|0)!=255)&(L|0)==255)){d=d|2;C[V+64>>2]=d}nb=C[N+72>>2];C[V+44>>2]=Ua;C[V+32>>2]=xa;C[V+24>>2]=ia;C[V+12>>2]=Y;C[V+68>>2]=nb;ob=C[V+88>>2];Ya=1;Ya=C[t>>2]!=372711428?C[t+24>>2]?0:-1:Ya;if((ob|0)>0){N=ha;R=Z&255;Aa=ba&255;ra=ea&255;bb=z&255;qa=x&255;z=$;ia=M;Y=na;hb=L&255;Ka=h&255;L=C[y+24>>2];La=L^-1;pb=C[V+84>>2];Ma=d&48;Na=d&2;Oa=d&1;qb=d&256;Pa=d>>>4&15;d=!L;h=C[y>>2];Ba=d&(h|0)!=372711428;Ca=d|(h|0)==372711428;ba=r;sa=r>>31;r=k;ua=k>>31;va=m>>31;Z=e;Za=e>>31;ea=g;wa=g>>31;s=n>>31;ja=j>>31;kb=D[y+9|0];rb=kb-1|0;ma=D[t+9|0];ib=ma-1|0;while(1){h=a;x=p;d=o;L=0;if((pb|0)>0){while(1){ab:{bb:{if((d+l|x+S|h+Ja)<0){break bb}T=C[V+12>>2];k=C[V+24>>2];ca=x>>31;g=mT(x,ca,r,ua);e=sa+Ee|0;g=g+ba|0;e=g>>>0>>0?e+1|0:e;u=g;_a=d>>31;g=mT(d,_a,m,va);F=u+g|0;e=Ee+e|0;k=I(nT(F,g>>>0>F>>>0?e+1|0:e,Z,Za),k)+T|0;g=mT(n,s,x,ca);e=wa+Ee|0;g=g+ea|0;e=g>>>0>>0?e+1|0:e;u=g;g=mT(j,ja,d,_a);T=u+g|0;e=Ee+e|0;e=I(nT(T,g>>>0>T>>>0?e+1|0:e,Z,Za),kb)+k|0;cb:{db:{eb:{fb:{gb:{if(!Ca){k=0;Q=0;g=0;T=0;v=0;hb:{switch(rb|0){case 0:v=D[e|0];k=D[C[(D[y+31|0]<<2)+381104>>2]+((v&C[y+24>>2])>>>D[y+35|0]|0)|0];Q=D[C[(D[y+30|0]<<2)+381104>>2]+((C[y+20>>2]&v)>>>D[y+34|0]|0)|0];g=D[C[(D[y+29|0]<<2)+381104>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0];T=D[C[(D[y+28|0]<<2)+381104>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0];break gb;case 1:v=E[e>>1];k=D[C[(D[y+31|0]<<2)+381104>>2]+((v&C[y+24>>2])>>>D[y+35|0]|0)|0];Q=D[C[(D[y+30|0]<<2)+381104>>2]+((C[y+20>>2]&v)>>>D[y+34|0]|0)|0];g=D[C[(D[y+29|0]<<2)+381104>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0];T=D[C[(D[y+28|0]<<2)+381104>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0];break gb;case 2:break fb;case 3:break hb;default:break gb}}v=C[e>>2];k=D[C[(D[y+31|0]<<2)+381104>>2]+((v&C[y+24>>2])>>>D[y+35|0]|0)|0];Q=D[C[(D[y+30|0]<<2)+381104>>2]+((C[y+20>>2]&v)>>>D[y+34|0]|0)|0];g=D[C[(D[y+29|0]<<2)+381104>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0];T=D[C[(D[y+28|0]<<2)+381104>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0];break gb}if(Ba){Q=0;g=0;T=0;v=0;ib:{jb:{kb:{switch(rb|0){case 0:v=D[e|0];k=C[(D[y+30|0]<<2)+381104>>2]+((v&C[y+20>>2])>>>D[y+34|0]|0)|0;T=C[(D[y+28|0]<<2)+381104>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0;g=C[(D[y+29|0]<<2)+381104>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0;break jb;case 1:v=E[e>>1];k=C[(D[y+30|0]<<2)+381104>>2]+((v&C[y+20>>2])>>>D[y+34|0]|0)|0;T=C[(D[y+28|0]<<2)+381104>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0;g=C[(D[y+29|0]<<2)+381104>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0;break jb;case 2:k=e+(D[y+34|0]>>>3|0)|0;T=e+(D[y+32|0]>>>3|0)|0;g=e+(D[y+33|0]>>>3|0)|0;break jb;case 3:break kb;default:break ib}}v=C[e>>2];k=C[(D[y+30|0]<<2)+381104>>2]+((v&C[y+20>>2])>>>D[y+34|0]|0)|0;T=C[(D[y+28|0]<<2)+381104>>2]+((C[y+12>>2]&v)>>>D[y+32|0]|0)|0;g=C[(D[y+29|0]<<2)+381104>>2]+((C[y+16>>2]&v)>>>D[y+33|0]|0)|0}Q=D[k|0];g=D[g|0];T=D[T|0]}k=255;Q=Q&255;g=g&255;T=T&255;break gb}v=C[e>>2];Q=v>>>2&255;g=v>>>12&255;T=v>>>22&255;k=D[C[95282]+(v>>>30|0)|0]}k=k&255;if(!qb){break cb}if((kb|0)!=3){break db}v=D[y+34|0];w=D[y+33|0];F=D[y+32|0];break eb}v=D[y+34|0];Q=D[e+(v>>>3|0)|0];w=D[y+33|0];g=D[e+(w>>>3|0)|0];F=D[y+32|0];T=D[e+(F>>>3|0)|0];k=255;if(!qb){break cb}}v=g<>2]+((e&C[t+24>>2])>>>D[t+35|0]|0)|0];v=D[C[(D[t+30|0]<<2)+381104>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0];F=D[C[(D[t+29|0]<<2)+381104>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0];w=D[C[(D[t+28|0]<<2)+381104>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0];break lb;case 1:e=E[oa>>1];u=D[C[(D[t+31|0]<<2)+381104>>2]+((e&C[t+24>>2])>>>D[t+35|0]|0)|0];v=D[C[(D[t+30|0]<<2)+381104>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0];F=D[C[(D[t+29|0]<<2)+381104>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0];w=D[C[(D[t+28|0]<<2)+381104>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0];break lb;case 2:v=D[oa+(D[t+34|0]>>>3|0)|0];F=D[oa+(D[t+33|0]>>>3|0)|0];w=D[oa+(D[t+32|0]>>>3|0)|0];u=255;break lb;case 3:break mb;default:break lb}}e=C[oa>>2];u=D[C[(D[t+31|0]<<2)+381104>>2]+((e&C[t+24>>2])>>>D[t+35|0]|0)|0];v=D[C[(D[t+30|0]<<2)+381104>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0];F=D[C[(D[t+29|0]<<2)+381104>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0];w=D[C[(D[t+28|0]<<2)+381104>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0];break lb}if((Ya|0)<0){v=0;F=0;w=0;nb:{ob:{pb:{switch(ib|0){case 0:e=D[oa|0];v=C[(D[t+30|0]<<2)+381104>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0;F=C[(D[t+29|0]<<2)+381104>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0;e=C[(D[t+28|0]<<2)+381104>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0;break ob;case 1:e=E[oa>>1];v=C[(D[t+30|0]<<2)+381104>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0;F=C[(D[t+29|0]<<2)+381104>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0;e=C[(D[t+28|0]<<2)+381104>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0;break ob;case 2:v=oa+(D[t+34|0]>>>3|0)|0;F=oa+(D[t+33|0]>>>3|0)|0;e=oa+(D[t+32|0]>>>3|0)|0;break ob;case 3:break pb;default:break nb}}e=C[oa>>2];v=C[(D[t+30|0]<<2)+381104>>2]+((e&C[t+20>>2])>>>D[t+34|0]|0)|0;F=C[(D[t+29|0]<<2)+381104>>2]+((e&C[t+16>>2])>>>D[t+33|0]|0)|0;e=C[(D[t+28|0]<<2)+381104>>2]+((e&C[t+12>>2])>>>D[t+32|0]|0)|0}v=D[v|0];F=D[F|0];w=D[e|0]}u=255;v=v&255;F=F&255;w=w&255;break lb}e=C[oa>>2];v=e>>>2&255;F=e>>>12&255;w=e>>>22&255;u=D[C[95282]+(e>>>30|0)|0]}if(!gb){M=mT(Ka,0,x,ca);e=Ee;$=M;Ia=h>>31;M=mT(h,Ia,hb,0);$=$+M|0;e=Ee+e|0;e=M>>>0>$>>>0?e+1|0:e;M=mT(Y,0,d,_a);$=M+$|0;e=Ee+e|0;na=nT($,M>>>0>$>>>0?e+1|0:e,Z,Za);M=mT(bb,0,x,ca);e=Ee;$=M;M=mT(ra,0,h,Ia);$=$+M|0;e=Ee+e|0;e=M>>>0>$>>>0?e+1|0:e;M=mT(z,0,d,_a);$=M+$|0;e=Ee+e|0;$=nT($,M>>>0>$>>>0?e+1|0:e,Z,Za);M=mT(x,ca,pa,0);e=Ee;ha=M;M=mT(qa,0,h,Ia);ha=ha+M|0;e=Ee+e|0;e=M>>>0>ha>>>0?e+1|0:e;M=mT(N,0,d,_a);ha=M+ha|0;e=Ee+e|0;ha=nT(ha,M>>>0>ha>>>0?e+1|0:e,Z,Za);M=mT(Aa,0,x,ca);e=Ee;ca=M;M=mT(R,0,h,Ia);Ia=ca+M|0;e=Ee+e|0;e=M>>>0>Ia>>>0?e+1|0:e;M=mT(ia,0,d,_a);Ia=M+Ia|0;e=Ee+e|0;M=nT(Ia,M>>>0>Ia>>>0?e+1|0:e,Z,Za)}if(Oa){Q=(I(Q,M)>>>0)/255|0;T=(I(T,ha)>>>0)/255|0;g=(I(g,$)>>>0)/255|0}k=Na?(I(k,na)>>>0)/255|0:k;if(!(!Ma|k>>>0>254)){Q=(I(k,Q)>>>0)/255|0;T=(I(k,T)>>>0)/255|0;g=(I(g,k)>>>0)/255|0}u=u&255;qb:{rb:{switch(Pa|0){case 0:u=k;v=Q;F=g;w=T;break qb;case 1:e=255-k|0;u=k+((I(e,u)>>>0)/255|0)|0;v=((I(e,v)>>>0)/255|0)+Q|0;F=((I(e,F)>>>0)/255|0)+g|0;w=((I(e,w)>>>0)/255|0)+T|0;break qb;case 2:k=v+Q|0;v=k>>>0>=255?255:k;g=g+F|0;F=g>>>0>=255?255:g;g=w+T|0;w=g>>>0>=255?255:g;break qb;case 4:v=(I(v,Q)>>>0)/255|0;F=(I(g,F)>>>0)/255|0;w=(I(w,T)>>>0)/255|0;break qb;case 8:break rb;default:break qb}}e=255-k|0;k=(I(e+Q|0,v)>>>0)/255|0;v=k>>>0>=255?255:k;g=(I(e+g|0,F)>>>0)/255|0;F=g>>>0>=255?255:g;g=(I(e+T|0,w)>>>0)/255|0;w=g>>>0>=255?255:g}if(!Ya){sb:{switch(ib|0){case 0:A[oa|0]=F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>D[t+31|0]<>1]=F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>D[t+31|0]<>>3|0)|0]=w;A[oa+(D[t+33|0]>>>3|0)|0]=F;A[oa+(D[t+34|0]>>>3|0)|0]=v;break bb;case 3:break sb;default:break bb}}C[oa>>2]=F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>D[t+31|0]<>2]|(F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>1]=C[t+24>>2]|(F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>>3|0)|0]=w;A[oa+(D[t+33|0]>>>3|0)|0]=F;A[oa+(D[t+34|0]>>>3|0)|0]=v;break bb;case 3:break tb;default:break bb}}C[oa>>2]=C[t+24>>2]|(F>>>D[t+29|0]<>>D[t+28|0]<>>D[t+30|0]<>2]=(u>>>0)/85<<30|(v?v<<2|3:0)|(F?F<<12|3072:0)|(w?w<<22|3145728:0)}h=h+Wa|0;x=x+da|0;d=d+U|0}L=L+1|0;if((pb|0)!=(L|0)){continue}break}}xa=xa+Ua|0;a=a+Va|0;p=p+aa|0;o=o+ga|0;i=i+1|0;if((ob|0)!=(i|0)){continue}break}}break Da}ub:{switch(L-1|0){case 0:v=C[V+88>>2];if((v|0)<=0){break Da}z=l;ua=l>>31;na=U;va=U>>31;ha=ga;wa=ga>>31;l=o;o=l>>31;$=S;s=S>>31;M=da;Q=M>>31;L=aa;ja=L>>31;h=p;p=h>>31;i=r;ma=i>>31;ga=k;F=k>>31;da=m;T=m>>31;S=e;sa=e>>31;aa=g;Z=g>>31;U=n;ba=n>>31;k=j;ea=j>>31;u=C[V+84>>2];w=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if((u|0)>0){while(1){e=j+ua|0;vb:{if(((n+z>>>0>>0?e+1|0:e)|0)<0){break vb}e=s+r|0;if(((g+$>>>0<$>>>0?e+1|0:e)|d+Ja)<0){break vb}pa=x+xa|0;m=mT(n,j,k,ea);e=Z+Ee|0;m=m+aa|0;e=m>>>0>>0?e+1|0:e;N=m;m=mT(U,ba,g,r);N=N+m|0;e=Ee+e|0;m=nT(N,m>>>0>N>>>0?e+1|0:e,S,sa);N=mT(n,j,da,T);e=ma+Ee|0;N=i+N|0;e=N>>>0>>0?e+1|0:e;u=N;N=mT(g,r,ga,F);u=u+N|0;e=Ee+e|0;sb=pa,tb=D[(I(nT(u,u>>>0>>0?e+1|0:e,S,sa),ia)+Y|0)+m|0],A[sb|0]=tb;u=C[V+84>>2]}d=d+Wa|0;e=r+Q|0;g=g+M|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+na|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((u|0)>(x|0)){continue}break}v=C[V+88>>2]}e=o+wa|0;l=l+ha|0;o=l>>>0>>0?e+1|0:e;e=p+ja|0;h=h+L|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;w=w+1|0;if((v|0)>(w|0)){continue}break};break Da;case 1:sa=C[V+88>>2];if((sa|0)<=0){break Da}na=l;ua=l>>31;ha=U;va=U>>31;$=ga;wa=ga>>31;l=o;o=l>>31;M=S;s=S>>31;L=da;Q=L>>31;i=aa;ja=i>>31;h=p;p=h>>31;S=r;ma=r>>31;da=k;v=k>>31;U=m;u=m>>31;aa=e;Ba=e>>31;ga=g;F=g>>31;k=n;T=k>>31;m=j;Z=j>>31;ba=C[V+84>>2];ea=(ba|0)<=0;w=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if(!ea){while(1){e=j+ua|0;wb:{if(((n+na>>>0>>0?e+1|0:e)|0)<0){break wb}e=s+r|0;if(((g+M>>>0>>0?e+1|0:e)|d+Ja)<0){break wb}pa=(x<<1)+xa|0;z=mT(n,j,U,u);e=ma+Ee|0;z=z+S|0;e=z>>>0>>0?e+1|0:e;N=z;z=mT(g,r,da,v);N=N+z|0;e=Ee+e|0;N=I(nT(N,z>>>0>N>>>0?e+1|0:e,aa,Ba),ia)+Y|0;z=mT(n,j,m,Z);e=F+Ee|0;z=z+ga|0;e=z>>>0>>0?e+1|0:e;ca=z;z=mT(k,T,g,r);Ca=ca+z|0;e=Ee+e|0;sb=pa,tb=E[(nT(Ca,z>>>0>Ca>>>0?e+1|0:e,aa,Ba)<<1)+N>>1],B[sb>>1]=tb}d=d+Wa|0;e=r+Q|0;g=g+L|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+ha|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((ba|0)!=(x|0)){continue}break}}e=o+wa|0;l=l+$|0;o=l>>>0<$>>>0?e+1|0:e;e=p+ja|0;h=h+i|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;w=w+1|0;if((sa|0)!=(w|0)){continue}break};break Da;case 2:w=C[V+88>>2];if((w|0)<=0){break Da}na=l;ua=l>>31;ha=U;va=U>>31;$=ga;wa=ga>>31;l=o;o=l>>31;M=S;s=S>>31;L=da;Q=L>>31;i=aa;ja=i>>31;h=p;p=h>>31;S=r;ma=r>>31;da=k;F=k>>31;U=m;T=m>>31;aa=e;sa=e>>31;ga=g;Z=g>>31;k=n;ba=k>>31;m=j;ea=j>>31;u=C[V+84>>2];v=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if((u|0)>0){while(1){e=j+ua|0;xb:{if(((n+na>>>0>>0?e+1|0:e)|0)<0){break xb}e=s+r|0;if(((g+M>>>0>>0?e+1|0:e)|d+Ja)<0){break xb}pa=I(x,3)+xa|0;z=mT(n,j,U,T);e=ma+Ee|0;z=z+S|0;e=z>>>0>>0?e+1|0:e;N=z;z=mT(g,r,da,F);N=N+z|0;e=Ee+e|0;N=I(nT(N,z>>>0>N>>>0?e+1|0:e,aa,sa),ia)+Y|0;z=mT(n,j,m,ea);e=Z+Ee|0;z=z+ga|0;e=z>>>0>>0?e+1|0:e;u=z;z=mT(k,ba,g,r);u=u+z|0;e=Ee+e|0;e=I(nT(u,u>>>0>>0?e+1|0:e,aa,sa),3)+N|0;A[pa|0]=D[e|0];A[pa+1|0]=D[e+1|0];A[pa+2|0]=D[e+2|0];u=C[V+84>>2]}d=d+Wa|0;e=r+Q|0;g=g+L|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+ha|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((u|0)>(x|0)){continue}break}w=C[V+88>>2]}e=o+wa|0;l=l+$|0;o=l>>>0<$>>>0?e+1|0:e;e=p+ja|0;h=h+i|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;v=v+1|0;if((v|0)<(w|0)){continue}break};break Da;case 3:break ub;default:break Da}}v=C[V+88>>2];if((v|0)<=0){break Da}na=l;ua=l>>31;ha=U;va=U>>31;$=ga;wa=ga>>31;l=o;o=l>>31;M=S;s=S>>31;L=da;Q=L>>31;i=aa;ja=i>>31;h=p;p=h>>31;S=r;ma=r>>31;da=k;F=k>>31;U=m;T=m>>31;aa=e;sa=e>>31;ga=g;Z=g>>31;k=n;ba=k>>31;m=j;ea=j>>31;u=C[V+84>>2];w=0;while(1){n=l;j=o;g=h;r=p;d=a;x=0;if((u|0)>0){while(1){e=j+ua|0;yb:{if(((n+na>>>0>>0?e+1|0:e)|0)<0){break yb}e=s+r|0;if(((g+M>>>0>>0?e+1|0:e)|d+Ja)<0){break yb}pa=(x<<2)+xa|0;z=mT(n,j,U,T);e=ma+Ee|0;z=z+S|0;e=z>>>0>>0?e+1|0:e;N=z;z=mT(g,r,da,F);N=N+z|0;e=Ee+e|0;N=I(nT(N,z>>>0>N>>>0?e+1|0:e,aa,sa),ia)+Y|0;z=mT(n,j,m,ea);e=Z+Ee|0;z=z+ga|0;e=z>>>0>>0?e+1|0:e;u=z;z=mT(k,ba,g,r);u=u+z|0;e=Ee+e|0;sb=pa,tb=C[(nT(u,u>>>0>>0?e+1|0:e,aa,sa)<<2)+N>>2],C[sb>>2]=tb;u=C[V+84>>2]}d=d+Wa|0;e=r+Q|0;g=g+L|0;r=g>>>0>>0?e+1|0:e;e=j+va|0;n=n+ha|0;j=n>>>0>>0?e+1|0:e;x=x+1|0;if((u|0)>(x|0)){continue}break}v=C[V+88>>2]}e=o+wa|0;l=l+$|0;o=l>>>0<$>>>0?e+1|0:e;e=p+ja|0;h=h+i|0;p=h>>>0>>0?e+1|0:e;xa=xa+Ua|0;a=a+Va|0;w=w+1|0;if((v|0)>(w|0)){continue}break}}if(mb){Yg(q)}if(!jb){break Ca}Yg(Fa)}Ce=V+96|0;a=ta+60|0;ka=ka+3|0;if((za|0)>(ka|0)){continue}break}break c}h=C[X>>2];d=C[X+4>>2];zb:{if(!(h|d)){break zb}C[f+100>>2]=d;C[f+96>>2]=h;C[f+96>>2]=C[f+96>>2]<<1;C[f+100>>2]=C[f+100>>2]<<1;if((za|0)<=0){break zb}ka=0;g=C[f+100>>2];l=C[f+96>>2];if((za|0)!=1){d=za&-2;_=0;while(1){h=I(ka,12)+a|0;C[h>>2]=l+C[h>>2];C[h+4>>2]=g+C[h+4>>2];h=I(ka|1,12)+a|0;C[h>>2]=l+C[h>>2];C[h+4>>2]=g+C[h+4>>2];ka=ka+2|0;_=_+2|0;if((d|0)!=(_|0)){continue}break}}if(!(za&1)){break zb}d=I(ka,12)+a|0;C[d>>2]=l+C[d>>2];C[d+4>>2]=g+C[d+4>>2]}_=0;ka=0;if((za|0)<=0){break c}while(1){C[f+8>>2]=D[a+8|0]|D[a+9|0]<<8|(D[a+10|0]<<16|D[a+11|0]<<24);C[f+4>>2]=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);C[f>>2]=D[a+32|0]|D[a+33|0]<<8|(D[a+34|0]<<16|D[a+35|0]<<24);ma=a;Q=0;R=Ce-32|0;Ce=R;Ab:{if(!q){break Ab}p=C[ma+16>>2];Y=C[ma+4>>2];m=C[ma>>2];n=C[ma+24>>2];s=C[ma+28>>2];l=C[ma+12>>2];ia=I(p-Y|0,m-n|0)+I(s-Y|0,l-m|0)|0;e=D[f+8|0];r=D[f+4|0];d=0;Bb:{if((e|0)!=(r|0)){break Bb}g=D[f+9|0];d=0;if((g|0)!=D[f+5|0]){break Bb}h=D[f+10|0];d=0;if((h|0)!=D[f+6|0]){break Bb}a=D[f+11|0];d=0;if((a|0)!=D[f+7|0]){break Bb}d=0;if((e|0)!=D[f|0]){break Bb}d=0;if((g|0)!=D[f+1|0]){break Bb}d=0;if((h|0)!=D[f+2|0]){break Bb}d=(a|0)==D[f+3|0]}if(!ia){break Ab}hb=C[q>>2]&2;if(hb){if((mh(q)|0)<0){break Ab}s=C[ma+28>>2];Y=C[ma+4>>2];n=C[ma+24>>2];m=C[ma>>2];p=C[ma+16>>2];l=C[ma+12>>2]}a=(s|0)>(p|0)?p:s;g=(a|0)>(Y|0)?Y:a;C[R+20>>2]=g>>1;a=(l|0)<(n|0)?l:n;h=(a|0)>(m|0)?m:a;C[R+16>>2]=h>>1;a=(s|0)<(p|0)?p:s;C[R+28>>2]=((a|0)<(Y|0)?Y:a)-g>>1;a=(l|0)>(n|0)?l:n;C[R+24>>2]=((a|0)<(m|0)?m:a)-h>>1;C[R>>2]=0;C[R+4>>2]=0;C[R+8>>2]=C[q+8>>2];C[R+12>>2]=C[q+12>>2];h=R+16|0;yg(h,R,h);if(!(!q|!R)){a=C[q+40>>2];C[R>>2]=C[q+36>>2];C[R+4>>2]=a;a=C[q+48>>2];C[R+8>>2]=C[q+44>>2];C[R+12>>2]=a}yg(h,R,h);a=C[q+4>>2];Cb:{Db:{if(bb){Q=Vh(C[R+24>>2],C[R+28>>2],C[a+24>>2]?C[a>>2]:372645892);if(!Q){break Cb}if((bb|0)==4){Kj(Q,Fh(C[Q+4>>2],255,255,255,255))}if(Q){zg(Q,bb)}Aa=C[Q+16>>2];u=D[C[Q+4>>2]+9|0];ja=C[Q+20>>2];break Db}u=D[a+9|0];Aa=C[q+16>>2];ja=(C[q+20>>2]+I(u,C[R+16>>2])|0)+I(Aa,C[R+20>>2])|0}a=ia>>31;a=(a^ia)-a|0;ga=C[ma+12>>2];da=C[ma>>2];j=ga-da|0;p=C[R+20>>2]<<1|1;S=C[ma+4>>2];g=C[R+16>>2]<<1|1;aa=C[ma+16>>2];h=I(j,p-S|0)+I(da-g|0,aa-S|0)|0;n=C[ma+24>>2];o=da-n|0;m=C[ma+28>>2];l=I(o,p-m|0)+I(n-g|0,S-m|0)|0;i=p-aa|0;p=n-ga|0;g=I(i,p)+I(ga-g|0,m-aa|0)|0;k=j<<1;j=o<<1;o=p<<1;L=S-aa<<1;i=m-S<<1;U=aa-m<<1;Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{if((ia|0)>0){if((m|0)!=(aa|0)){break Rb}if((n|0)>(ga|0)){break Qb}break Mb}if((m|0)!=(aa|0)){break Pb}Y=-1;if((n|0)>=(ga|0)){break Nb}break Ob}if((m|0)>=(aa|0)){break Mb}}Y=0;if((m|0)!=(S|0)){break Lb}break Kb}Y=-1;if((m|0)<=(aa|0)){break Nb}}Y=0}h=0-h|0;l=0-l|0;g=0-g|0;k=0-k|0;j=0-j|0;o=0-o|0;L=0-L|0;i=0-i|0;U=0-U|0;Sb:{Tb:{Ub:{Vb:{if((m|0)==(S|0)){if((n|0)>(da|0)){break Vb}break Ub}if((m|0)>=(S|0)){break Ub}}m=0;if((S|0)!=(aa|0)){break Tb}break Sb}m=-1;if((S|0)==(aa|0)){break Sb}}n=0;if((S|0)>=(aa|0)){break Fb}break Eb}n=0;if((da|0)>(ga|0)){break Eb}break Fb}Y=-1;if((m|0)==(S|0)){break Kb}}if((m|0)<=(S|0)){break Jb}break Ib}if((n|0)<(da|0)){break Ib}}m=-1;if((S|0)!=(aa|0)){break Hb}break Gb}m=0;if((S|0)==(aa|0)){break Gb}}n=0;if((S|0)<=(aa|0)){break Fb}break Eb}n=0;if((da|0)<(ga|0)){break Eb}}n=-1}ia=C[(Q?Q:q)+4>>2];Wb:{if(d){da=Fh(ia,e,D[f+9|0],D[f+10|0],D[f+11|0]);Xb:{switch(u-1|0){case 0:x=C[R+28>>2];if((x|0)<=0){break Wb}w=C[R+24>>2];u=0;while(1){d=h;a=l;p=g;s=0;if((w|0)>0){while(1){if((p+Y|a+m|d+n)>=0){A[s+ja|0]=da;w=C[R+24>>2]}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((s|0)<(w|0)){continue}break}x=C[R+28>>2]}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((u|0)<(x|0)){continue}break};break Wb;case 1:ia=C[R+28>>2];if((ia|0)<=0){break Wb}e=C[R+24>>2];r=(e|0)<=0;u=0;while(1){d=h;a=l;p=g;s=0;if(!r){while(1){if((p+Y|a+m|d+n)>=0){B[(s<<1)+ja>>1]=da}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((e|0)!=(s|0)){continue}break}}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((ia|0)!=(u|0)){continue}break};break Wb;case 2:x=C[R+28>>2];if((x|0)<=0){break Wb}e=da>>>16|0;r=da>>>8|0;w=C[R+24>>2];u=0;while(1){s=0;p=g;a=l;d=h;if((w|0)>0){while(1){if((p+Y|a+m|d+n)>=0){ia=I(s,3)+ja|0;A[ia+2|0]=e;A[ia+1|0]=r;A[ia|0]=da;w=C[R+24>>2]}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((s|0)<(w|0)){continue}break}x=C[R+28>>2]}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((u|0)<(x|0)){continue}break};break Wb;case 3:break Xb;default:break Wb}}x=C[R+28>>2];if((x|0)<=0){break Wb}w=C[R+24>>2];u=0;while(1){s=0;p=g;a=l;d=h;if((w|0)>0){while(1){if((p+Y|a+m|d+n)>=0){C[(s<<2)+ja>>2]=da;w=C[R+24>>2]}d=d+L|0;a=a+i|0;p=p+U|0;s=s+1|0;if((s|0)<(w|0)){continue}break}x=C[R+28>>2]}ja=ja+Aa|0;h=h+k|0;l=j+l|0;g=g+o|0;u=u+1|0;if((u|0)<(x|0)){continue}break}break Wb}w=r;v=e;Yb:{switch(u-1|0){case 0:s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;Y=D[f|0];U=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;Zb:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break Zb}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break Zb}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break Zb}ua=L+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,Y,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;sb=ua,tb=Fh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255),A[sb|0]=tb;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;U=U+1|0;if((U|0)<(s|0)){continue}break};break Wb;case 1:s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;Y=D[f|0];U=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;_b:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break _b}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break _b}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break _b}ua=(L<<1)+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,Y,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;sb=ua,tb=Fh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255),B[sb>>1]=tb;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;U=U+1|0;if((U|0)<(s|0)){continue}break};break Wb;case 2:s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;U=D[f|0];Y=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;$b:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break $b}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break $b}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break $b}ua=I(L,3)+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,U,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;e=Fh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255);A[ua|0]=e;A[ua+2|0]=e>>>16;A[ua+1|0]=e>>>8;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;Y=Y+1|0;if((Y|0)<(s|0)){continue}break};break Wb;case 3:break Yb;default:break Wb}}s=C[R+28>>2];if((s|0)<=0){break Wb}F=Y;Ka=F>>31;T=U;La=U>>31;ta=o;Ma=o>>31;r=g>>31;Z=m;Na=m>>31;ba=i;Oa=i>>31;ea=j;Pa=j>>31;o=l>>31;pa=n;Ba=n>>31;N=L;Ca=L>>31;z=k;sa=k>>31;p=h>>31;x=D[f+3|0];na=D[f+7|0];ha=D[f+11|0];$=D[f+2|0];M=D[f+6|0];S=D[f+10|0];aa=D[f+1|0];ga=D[f+5|0];da=D[f+9|0];u=a;ra=a>>31;Y=D[f|0];U=0;i=C[R+24>>2];while(1){k=g;m=r;d=l;a=o;n=h;j=p;L=0;if((i|0)>0){while(1){e=m+Ka|0;ac:{if(((k+F>>>0>>0?e+1|0:e)|0)<0){break ac}e=a+Na|0;if(((d+Z>>>0>>0?e+1|0:e)|0)<0){break ac}e=j+Ba|0;if(((n+pa>>>0>>0?e+1|0:e)|0)<0){break ac}ua=(L<<2)+ja|0;i=mT(d,a,w,0);e=Ee;ca=i;i=mT(k,m,v,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,Y,0);s=i+s|0;e=Ee+e|0;va=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,ga,0);e=Ee;ca=i;i=mT(k,m,da,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,aa,0);s=i+s|0;e=Ee+e|0;wa=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,M,0);e=Ee;ca=i;i=mT(k,m,S,0);s=ca+i|0;e=Ee+e|0;e=i>>>0>s>>>0?e+1|0:e;i=mT(n,j,$,0);s=i+s|0;e=Ee+e|0;s=nT(s,i>>>0>s>>>0?e+1|0:e,u,ra)&255;i=mT(d,a,na,0);e=Ee;ca=i;i=mT(k,m,ha,0);qa=ca+i|0;e=Ee+e|0;e=i>>>0>qa>>>0?e+1|0:e;i=mT(n,j,x,0);qa=i+qa|0;e=Ee+e|0;sb=ua,tb=Fh(ia,va,wa,s,nT(qa,i>>>0>qa>>>0?e+1|0:e,u,ra)&255),C[sb>>2]=tb;i=C[R+24>>2]}e=j+Ca|0;n=n+N|0;j=n>>>0>>0?e+1|0:e;e=a+Oa|0;d=d+ba|0;a=d>>>0>>0?e+1|0:e;e=m+La|0;k=k+T|0;m=k>>>0>>0?e+1|0:e;L=L+1|0;if((i|0)>(L|0)){continue}break}s=C[R+28>>2]}e=r+Ma|0;g=g+ta|0;r=g>>>0>>0?e+1|0:e;e=o+Pa|0;l=l+ea|0;o=l>>>0>>0?e+1|0:e;e=p+sa|0;h=h+z|0;p=h>>>0>>0?e+1|0:e;ja=ja+Aa|0;U=U+1|0;if((U|0)<(s|0)){continue}break}}if(!Q){break Cb}Uh(Q,0,q,R+16|0);Nf(Q)}if(!hb){break Ab}Yg(q)}Ce=R+32|0;a=ma+36|0;ka=ka+3|0;if((za|0)>(ka|0)){continue}break}}b=C[b+24>>2];if(b){continue}break}}a=0}Ce=f+112|0;return a|0}function fM(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0;a:{if(!a){break a}b:{if(!(D[a+208|0]&64)){u=1;if(!(!a|!D[a+420|0])){C[a+212>>2]=C[a+212>>2]|2;u=7}w=u;if(!(D[a+208|0]&64)){ho(a);break b}_j(a,13355);break b}if(!(!D[a+420|0]|D[a+212|0]&2)){C[a+352>>2]=C[a+348>>2]}u=1;if(!(!a|!D[a+420|0])){C[a+212>>2]=C[a+212>>2]|2;u=7}w=u}if((w|0)<=0){break a}G=C[a+348>>2];while(1){u=b;x=0;if(G){while(1){v=C[u>>2];f=0;n=0;p=Ce-16|0;Ce=p;c:{d:{e:{f:{g:{if(!a){break g}if(!(D[a+208|0]&64)){ho(a)}d=C[a+364>>2];C[p+4>>2]=d;A[p+12|0]=D[a+423|0];A[p+13|0]=D[a+424|0];A[p+14|0]=D[a+427|0];c=D[a+426|0];A[p+15|0]=c;C[p+8>>2]=c>>>0>=8?I(d,c>>>3|0):I(c,d)+7>>>3|0;h:{if(!D[a+420|0]|!(D[a+212|0]&2)){break h}i:{switch(D[a+421|0]){case 0:if(!(D[a+368|0]&7)){break h}Ki(a);break g;case 1:if(!(D[a+368|0]&7)&F[a+344>>2]>4){break h}Ki(a);break g;case 2:if((C[a+368>>2]&7)==4){break h}Ki(a);break g;case 3:if(!(D[a+368|0]&3)&F[a+344>>2]>2){break h}Ki(a);break g;case 4:if((C[a+368>>2]&3)==2){break h}Ki(a);break g;case 5:if(!(A[a+368|0]&1)&F[a+344>>2]>1){break h}Ki(a);break g;default:break i}}if(A[a+368|0]&1){break h}Ki(a);break g}if(!(D[a+204|0]&4)){break f}A[C[a+380>>2]]=255;c=C[p+8>>2]+1|0;_t(a,C[a+380>>2],c);d=C[a+380>>2];e=D[d|0];if(e){if(e>>>0>4){break e}c=C[a+376>>2]+1|0;e=e-1|0;if(e>>>0<=3){if(!C[a+780>>2]){C[a+780>>2]=125;C[a+788>>2]=126;C[a+784>>2]=127;C[a+792>>2]=(D[a+426|0]+7&504)==8?128:129}Fe[C[((e<<2)+a|0)+780>>2]](p+4|0,d+1|0,c)}d=C[a+380>>2];c=C[p+8>>2]+1|0}jf(C[a+376>>2],d,c);j:{if(!(D[a+680|0]&4)|D[a+684|0]!=64){break j}j=D[p+12|0];if(!(j&2)){break j}d=C[a+380>>2]+1|0;e=C[p+4>>2];k:{switch(D[p+13|0]-8|0){case 0:c=3;l:{switch(j-2|0){case 4:c=4;break;case 0:break l;default:break j}}if(!e){break j}if((e|0)!=1){g=e&-2;while(1){j=D[d+1|0];A[d|0]=j+D[d|0];A[d+2|0]=j+D[d+2|0];d=c+d|0;j=D[d+1|0];A[d+2|0]=j+D[d+2|0];A[d|0]=j+D[d|0];d=c+d|0;f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(e&1)){break j}c=D[d+1|0];A[d|0]=c+D[d|0];A[d+2|0]=c+D[d+2|0];break j;case 8:break k;default:break j}}g=6;m:{switch(j-2|0){case 4:g=8;break;case 0:break m;default:break j}}if(!e){break j}c=0;while(1){f=D[d+3|0]|D[d+2|0]<<8;j=f+(D[d+5|0]|D[d+4|0]<<8)|0;A[d+5|0]=j;f=f+(D[d+1|0]|D[d|0]<<8)|0;A[d+1|0]=f;A[d+4|0]=j>>>8;A[d|0]=f>>>8;d=d+g|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(C[a+212>>2]){n:{j=p+4|0;r=Ce-16|0;Ce=r;o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{c=C[a+380>>2];if(c){if((C[a+208>>2]&16448)==16384){break z}d=C[a+212>>2];A:{if(!(d&4096)){break A}if(D[j+8|0]==3){h=c+1|0;f=C[j>>2];o=E[a+416>>1];q=C[a+520>>2];i=C[a+404>>2];c=D[j+9|0];B:{if(c>>>0<=7){C:{D:{switch(c-1|0){case 0:if(!f){break C}d=f+h|0;c=0-f&7;g=f-1|0;e=h+(g>>>3|0)|0;if(g){l=f&-2;g=0;while(1){A[d-1|0]=D[e|0]>>>c&1;d=d-2|0;m=e;e=(c|0)==7;k=m-e|0;c=e?0:c+1|0;A[d|0]=D[k|0]>>>c&1;e=(c|0)==7;c=e?0:c+1|0;e=k-e|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(f&1)){break C}A[d-1|0]=D[e|0]>>>c&1;break C;case 1:if(!f){break C}d=f+h|0;g=f-1|0;e=h+(g>>>2|0)|0;c=((f<<1)+6^-1)&6;if(g){l=f&-2;g=0;while(1){A[d-1|0]=D[e|0]>>>c&3;d=d-2|0;m=e;e=(c|0)==6;k=m-e|0;c=e?0:c+2|0;A[d|0]=D[k|0]>>>c&3;e=(c|0)==6;c=e?0:c+2|0;e=k-e|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(f&1)){break C}A[d-1|0]=D[e|0]>>>c&3;break C;case 3:break D;default:break C}}if(!f){break C}d=f+h|0;c=f<<2&4;g=f-1|0;e=h+(g>>>1|0)|0;if(g){l=f&-2;g=0;while(1){A[d-1|0]=D[e|0]>>>c&15;d=d-2|0;m=e;e=(c|0)==4;k=m-e|0;c=e?0:c+4|0;A[d|0]=D[k|0]>>>c&15;e=(c|0)==4;c=e?0:c+4|0;e=k-e|0;g=g+2|0;if((l|0)!=(g|0)){continue}break}}if(!(f&1)){break C}A[d-1|0]=D[e|0]>>>c&15}A[j+11|0]=8;A[j+9|0]=8;C[j+4>>2]=f;break B}if((c|0)!=8){break A}}E:{if(o){k=4;l=6;m=32;if(!f){break E}c=f+h|0;n=f<<2;d=h+n|0;g=0;while(1){h=d-1|0;c=c-1|0;e=D[c|0];if(e>>>0>>0){e=D[e+q|0]}else{e=255}A[h|0]=e;A[d-2|0]=D[(i+I(D[c|0],3)|0)+2|0];A[d-3|0]=D[(i+I(D[c|0],3)|0)+1|0];d=d-4|0;A[d|0]=D[i+I(D[c|0],3)|0];g=g+1|0;if((f|0)!=(g|0)){continue}break}break E}k=3;l=2;m=24;if(!f){break E}c=f+h|0;n=I(f,3);d=h+n|0;e=0;while(1){c=c-1|0;A[d-1|0]=D[(i+I(D[c|0],3)|0)+2|0];A[d-2|0]=D[(i+I(D[c|0],3)|0)+1|0];d=d-3|0;A[d|0]=D[i+I(D[c|0],3)|0];e=e+1|0;if((f|0)!=(e|0)){continue}break}}A[j+11|0]=m;A[j+9|0]=8;A[j+10|0]=k;A[j+8|0]=l;C[j+4>>2]=n;break A}c=c+1|0;if(!(!E[a+416>>1]|!(d&33554432))){Mu(j,c,a+524|0);break A}Mu(j,c,0)}c=C[a+212>>2];F:{if((c&262272)!=262144){break F}G:{switch(D[j+8|0]-4|0){case 0:case 2:break G;default:break F}}Et(j,C[a+380>>2]+1|0);c=C[a+212>>2]}H:{if(!(c&6291456)){break H}d=D[j+8|0];if((d&3)!=2){break H}c=C[a+380>>2]+1|0;i=d&4;l=E[a+674>>1];n=E[a+676>>1];o=32768-(l+n|0)|0;h=C[j>>2];I:{if(D[j+9|0]==8){J:{m=C[a+492>>2];if(!m){break J}k=C[a+496>>2];if(!k){break J}f=0;if(!h){break I}e=c;g=0;while(1){d=D[c|0];q=D[c+1|0];t=D[c+2|0];K:{L:{if(!((d|0)==(q|0)&(t|0)==(d|0))){f=1;d=m+(((I(l,D[d+k|0])+I(n,D[k+q|0])|0)+I(o,D[k+t|0])|0)+16384>>>15|0)|0;break L}q=C[a+484>>2];if(!q){break K}d=d+q|0}d=D[d|0]}A[e|0]=d;M:{if(!i){e=e+1|0;c=c+3|0;break M}A[e+1|0]=D[c+3|0];e=e+2|0;c=c+4|0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break I}f=0;if(!h){break I}e=c;g=0;while(1){d=D[c|0];k=D[c+1|0];m=D[c+2|0];if(!((d|0)==(k|0)&(m|0)==(d|0))){f=1;d=(I(k,n)+I(d,l)|0)+I(m,o)>>>15|0}A[e|0]=d;N:{if(!i){e=e+1|0;c=c+3|0;break N}A[e+1|0]=D[c+3|0];e=e+2|0;c=c+4|0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break I}O:{g=C[a+504>>2];if(!g){break O}H=C[a+500>>2];if(!H){break O}f=0;if(!h){break I}d=c;m=0;while(1){e=D[c+4|0]|D[c+5|0]<<8;q=e<<8|e>>>8;e=D[c+1|0];k=D[c|0];t=e|k<<8;y=D[c+3|0];z=D[c+2|0];P:{Q:{if(!((t|0)!=(y|z<<8)|(t|0)!=(q&65535))){q=C[a+488>>2];if(!q){break P}e=E[C[q+(y>>>C[a+476>>2]<<2)>>2]+(z<<1)>>1];break Q}f=1;e=C[a+476>>2];k=((I(l,E[C[g+((t&255)>>>e<<2)>>2]+(t>>>7&510)>>1])+I(n,E[C[g+(y>>>e<<2)>>2]+(z<<1)>>1])|0)+I(o,E[C[g+((q&255)>>>e<<2)>>2]+(q>>>7&510)>>1])|0)+16384|0;e=E[C[((k>>>15&255)>>>e<<2)+H>>2]+(k>>>22&510)>>1]}k=e>>>8|0}A[d+1|0]=e;A[d|0]=k;R:{if(!i){d=d+2|0;c=c+6|0;break R}A[d+2|0]=D[c+6|0];A[d+3|0]=D[c+7|0];d=d+4|0;c=c+8|0}m=m+1|0;if((h|0)!=(m|0)){continue}break}break I}f=0;if(!h){break I}k=0;d=c;while(1){e=D[d+1|0]|D[d|0]<<8;g=D[d+3|0]|D[d+2|0]<<8;m=D[d+5|0]|D[d+4|0]<<8;q=((I(e,l)+I(g,n)|0)+I(m,o)|0)+16384|0;A[c+1|0]=q>>>15;A[c|0]=q>>>23;f=(e|0)!=(m|0)?1:f;e=(e|0)==(g|0);S:{if(!i){d=d+6|0;c=c+2|0;break S}A[c+2|0]=D[d+6|0];A[c+3|0]=D[d+7|0];d=d+8|0;c=c+4|0}f=e?f:1;k=k+1|0;if((h|0)!=(k|0)){continue}break}}c=D[j+10|0]-2|0;A[j+10|0]=c;A[j+8|0]=D[j+8|0]&253;c=I(c,D[j+9|0]);A[j+11|0]=c;c=c&255;T:{if(c>>>0>=8){c=I(h,c>>>3|0);break T}c=I(c,h)+7>>>3|0}C[j+4>>2]=c;if(!f){c=C[a+212>>2];break H}A[a+672|0]=1;c=C[a+212>>2];if((c&6291456)==2097152){break y}}if(!(!(c&16384)|D[a+205|0]&8)){Ju(j,C[a+380>>2]+1|0);c=C[a+212>>2]}if(!(c&128)){break o}m=C[a+208>>2]&8192;c=C[a+380>>2]+1|0;i=C[j>>2];f=C[a+476>>2];d=C[a+504>>2];o=C[a+500>>2];h=C[a+488>>2];g=C[a+496>>2];l=C[a+492>>2];e=C[a+484>>2];U:{V:{switch(D[j+8|0]){case 0:W:{switch(D[j+9|0]-1|0){case 0:if(!i){break o}d=E[a+532>>1];e=0;h=7;while(1){f=D[c|0];if((d|0)==(f>>>h&1)){A[c|0]=f&32639>>>7-h|E[a+452>>1]<>1];f=0;h=6;while(1){d=D[c|0];l=d>>>h&3;X:{if((l|0)==(g|0)){d=E[a+452>>1]<>>6-h;break X}d=d&16191>>>6-h|D[e+I(l,85)|0]>>>6<>1];f=0;h=4;while(1){d=D[c|0];l=d>>>h&15;Y:{if((l|0)==(g|0)){d=E[a+452>>1]<>>4-h;break Y}d=d&3855>>>4-h|D[e+I(l,17)|0]>>>4<>1];if((i|0)!=1){h=i&-2;d=0;while(1){g=D[c|0];if((g|0)==(f|0)){g=D[a+452|0]}else{g=D[e+g|0]}A[c|0]=g;g=D[c+1|0];Z:{if((g|0)!=(f|0)){g=D[e+g|0];break Z}g=D[a+452|0]}A[c+1|0]=g;c=c+2|0;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(i&1)){break o}d=D[c|0];if((d|0)==(f|0)){break U}A[c|0]=D[d+e|0];break o;case 15:break W;default:break o}}if(h){if(!i){break o}e=a+452|0;l=E[a+532>>1];g=0;while(1){k=D[c+1|0];d=D[c|0];if((l|0)!=(k|d<<8)){d=C[h+(k>>>f<<2)>>2]+(d<<1)|0}else{d=e}d=E[d>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}break o}if(!i){break o}e=E[a+532>>1];if((i|0)!=1){f=i&-2;d=0;while(1){if((e|0)==(D[c+1|0]|D[c|0]<<8)){g=E[a+452>>1];g=g<<8|g>>>8;A[c|0]=g;A[c+1|0]=g>>>8}if((e|0)==(D[c+3|0]|D[c+2|0]<<8)){g=E[a+452>>1];g=g<<8|g>>>8;A[c+2|0]=g;A[c+3|0]=g>>>8}c=c+4|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(i&1)|(e|0)!=(D[c+1|0]|D[c|0]<<8)){break o}d=E[a+452>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break o;case 2:if(D[j+9|0]==8){if(!e){break s}if(!i){break o}f=0;g=E[a+526>>1];while(1){h=D[c|0];d=D[c+1|0];_:{if(!((h|0)!=(g|0)|(d|0)!=E[a+528>>1]|E[a+530>>1]!=D[c+2|0])){A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0];break _}A[c|0]=D[e+h|0];A[c+1|0]=D[d+e|0];A[c+2|0]=D[e+D[c+2|0]|0]}c=c+3|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break o}if(!h){break t}if(!i){break o}e=a+450|0;m=E[a+526>>1];l=0;while(1){d=D[c+4|0];g=D[c+5|0];q=D[c+1|0];o=D[c|0];n=D[c+3|0];k=D[c+2|0];$:{if(!((m|0)!=(q|o<<8)|E[a+528>>1]!=(n|k<<8)|E[a+530>>1]!=(g|d<<8))){d=E[a+446>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;d=E[a+448>>1];d=d<<8|d>>>8;A[c+2|0]=d;A[c+3|0]=d>>>8;d=e;break $}o=E[C[h+(q>>>f<<2)>>2]+(o<<1)>>1];o=o<<8|o>>>8;A[c|0]=o;A[c+1|0]=o>>>8;k=E[C[h+(n>>>f<<2)>>2]+(k<<1)>>1];k=k<<8|k>>>8;A[c+2|0]=k;A[c+3|0]=k>>>8;d=C[h+(g>>>f<<2)>>2]+(d<<1)|0}d=E[d>>1];d=d<<8|d>>>8;A[c+4|0]=d;A[c+5|0]=d>>>8;c=c+6|0;l=l+1|0;if((i|0)!=(l|0)){continue}break};break o;case 4:if(D[j+9|0]==8){if(!(e?!g|!l:1)){break u}if(!i){break o}e=0;while(1){d=D[c+1|0];if((d|0)!=255){if(d){d=(I(E[a+452>>1],d^255)+I(d,D[c|0])|0)+128&65535;d=(d>>>8|0)+d>>>8|0}else{d=D[a+452|0]}A[c|0]=d}c=c+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}break o}if(!(d?!h|!o:1)){break v}if(!i){break o}e=0;while(1){d=D[c+3|0]|D[c+2|0]<<8;aa:{if((d|0)==65535){break aa}if(!d){d=E[a+452>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break aa}d=(I(E[a+452>>1],d^65535)+I(d,D[c+1|0]|D[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;A[c+1|0]=d>>>16;A[c|0]=d>>>24}c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break};break o;case 6:break V;default:break o}}if(D[j+9|0]==8){if(!(e?!g|!l:1)){break w}if(!i){break o}e=0;while(1){d=D[c+3|0];ba:{if((d|0)==255){break ba}if(!d){A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0];break ba}f=d^255;g=(I(d,D[c|0])+I(f,E[a+446>>1])|0)+128|0;A[c|0]=(g>>>8&255)+g>>>8;g=(I(d,D[c+1|0])+I(f,E[a+448>>1])|0)+128|0;A[c+1|0]=(g>>>8&255)+g>>>8;d=(I(d,D[c+2|0])+I(f,E[a+450>>1])|0)+128|0;A[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}break o}if(!(d?!h|!o:1)){break x}if(!i){break o}e=0;while(1){d=D[c+7|0]|D[c+6|0]<<8;ca:{if((d|0)==65535){break ca}if(!d){d=E[a+446>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;d=E[a+448>>1];d=d<<8|d>>>8;A[c+2|0]=d;A[c+3|0]=d>>>8;d=E[a+450>>1];d=d<<8|d>>>8;A[c+4|0]=d;A[c+5|0]=d>>>8;break ca}f=d^65535;g=(I(d,D[c+1|0]|D[c|0]<<8)+I(f,E[a+446>>1])|0)+32768|0;g=(g>>>16|0)+g|0;A[c+1|0]=g>>>16;A[c|0]=g>>>24;g=(I(d,D[c+3|0]|D[c+2|0]<<8)+I(f,E[a+448>>1])|0)+32768|0;g=(g>>>16|0)+g|0;A[c+2|0]=g>>>24;A[c+3|0]=g>>>16;d=(I(d,D[c+5|0]|D[c+4|0]<<8)+I(f,E[a+450>>1])|0)+32768|0;d=(d>>>16|0)+d|0;A[c+4|0]=d>>>24;A[c+5|0]=d>>>16}c=c+8|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}break o}A[c|0]=D[a+452|0];break o}Af(a,10958);s()}Af(a,1777);s()}Af(a,13486);s()}if(!i){break o}n=0;while(1){da:{ea:{e=D[c+7|0]|D[c+6|0]<<8;if(e){if((e|0)!=65535){break ea}e=E[C[h+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;e=E[C[h+(D[c+3|0]>>>f<<2)>>2]+(D[c+2|0]<<1)>>1];e=e<<8|e>>>8;A[c+2|0]=e;A[c+3|0]=e>>>8;e=E[C[h+(D[c+5|0]>>>f<<2)>>2]+(D[c+4|0]<<1)>>1];e=e<<8|e>>>8;A[c+4|0]=e;A[c+5|0]=e>>>8;break da}e=E[a+446>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;e=E[a+448>>1];e=e<<8|e>>>8;A[c+2|0]=e;A[c+3|0]=e>>>8;e=E[a+450>>1];e=e<<8|e>>>8;A[c+4|0]=e;A[c+5|0]=e>>>8;break da}k=e^65535;g=(I(e,E[C[d+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1])+I(k,E[a+456>>1])|0)+32768|0;l=(g>>>16|0)+g|0;g=l>>>24|0;l=l>>>16|0;if(!m){l=E[C[o+((l&255)>>>f<<2)>>2]+(g<<1)>>1];g=l>>>8|0}A[c+1|0]=l;A[c|0]=g;g=(I(e,E[C[d+(D[c+3|0]>>>f<<2)>>2]+(D[c+2|0]<<1)>>1])+I(k,E[a+458>>1])|0)+32768|0;l=(g>>>16|0)+g|0;g=l>>>24|0;l=l>>>16|0;if(!m){l=E[C[o+((l&255)>>>f<<2)>>2]+(g<<1)>>1];g=l>>>8|0}A[c+3|0]=l;A[c+2|0]=g;e=(I(e,E[C[d+(D[c+5|0]>>>f<<2)>>2]+(D[c+4|0]<<1)>>1])+I(k,E[a+460>>1])|0)+32768|0;g=(e>>>16|0)+e|0;e=g>>>24|0;k=g>>>16|0;if(!m){k=E[C[o+((k&255)>>>f<<2)>>2]+(e<<1)>>1];e=k>>>8|0}A[c+5|0]=k;A[c+4|0]=e}c=c+8|0;n=n+1|0;if((i|0)!=(n|0)){continue}break}break o}if(!i){break o}f=0;while(1){fa:{ga:{h=D[c+3|0];if(h){if((h|0)!=255){break ga}A[c|0]=D[e+D[c|0]|0];A[c+1|0]=D[e+D[c+1|0]|0];A[c+2|0]=D[e+D[c+2|0]|0];break fa}A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0];break fa}k=h^255;d=(I(h,D[g+D[c|0]|0])+I(k,E[a+456>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!m){d=D[l+(d&255)|0]}A[c|0]=d;d=(I(h,D[g+D[c+1|0]|0])+I(k,E[a+458>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!m){d=D[l+(d&255)|0]}A[c+1|0]=d;d=(I(h,D[g+D[c+2|0]|0])+I(k,E[a+460>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!m){d=D[l+(d&255)|0]}A[c+2|0]=d}c=c+4|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break o}if(!i){break o}n=0;while(1){ha:{ia:{e=D[c+3|0]|D[c+2|0]<<8;if(e){if((e|0)!=65535){break ia}e=E[C[h+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;break ha}e=E[a+452>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;break ha}e=(I(e,E[C[d+(D[c+1|0]>>>f<<2)>>2]+(D[c|0]<<1)>>1])+I(E[a+462>>1],e^65535)|0)+32768|0;g=(e>>>16|0)+e|0;e=g>>>16|0;if(m){g=g>>>24|0}else{e=E[C[o+((e&255)>>>f<<2)>>2]+(g>>>23&510)>>1];g=e>>>8|0}A[c+1|0]=e;A[c|0]=g}c=c+4|0;n=n+1|0;if((i|0)!=(n|0)){continue}break}break o}if(!i){break o}f=0;while(1){ja:{ka:{d=D[c+1|0];if(d){if((d|0)!=255){break ka}d=D[e+D[c|0]|0];break ja}d=D[a+452|0];break ja}d=(I(E[a+462>>1],d^255)+I(d,D[g+D[c|0]|0])|0)+128&65535;d=(d>>>8|0)+d>>>8|0;if(m){break ja}d=D[l+(d&255)|0]}A[c|0]=d;c=c+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break o}if(!i){break o}d=E[a+526>>1];h=0;while(1){if(!((d|0)!=(D[c+1|0]|D[c|0]<<8)|E[a+528>>1]!=(D[c+3|0]|D[c+2|0]<<8)|E[a+530>>1]!=(D[c+5|0]|D[c+4|0]<<8))){e=E[a+446>>1];e=e<<8|e>>>8;A[c|0]=e;A[c+1|0]=e>>>8;e=E[a+448>>1];e=e<<8|e>>>8;A[c+2|0]=e;A[c+3|0]=e>>>8;e=E[a+450>>1];e=e<<8|e>>>8;A[c+4|0]=e;A[c+5|0]=e>>>8}c=c+6|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}break o}if(!i){break o}h=0;d=E[a+526>>1];while(1){if(!((d|0)!=D[c|0]|E[a+528>>1]!=D[c+1|0]|E[a+530>>1]!=D[c+2|0])){A[c|0]=D[a+446|0];A[c+1|0]=D[a+448|0];A[c+2|0]=D[a+450|0]}c=c+3|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}break o}if(!i){break o}e=E[a+532>>1];if(i>>>0>=4){d=i&-4;h=0;while(1){if((e|0)==D[c|0]){A[c|0]=D[a+452|0]}if((e|0)==D[c+1|0]){A[c+1|0]=D[a+452|0]}if((e|0)==D[c+2|0]){A[c+2|0]=D[a+452|0]}if((e|0)==D[c+3|0]){A[c+3|0]=D[a+452|0]}c=c+4|0;h=h+4|0;if((d|0)!=(h|0)){continue}break}}f=i&3;if(!f){break o}d=0;while(1){if((e|0)==D[c|0]){A[c|0]=D[a+452|0]}c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}break o}if(!i){break o}d=E[a+532>>1];e=0;h=4;while(1){f=D[c|0];if((d|0)==(f>>>h&15)){A[c|0]=f&3855>>>4-h|E[a+452>>1]<>1];e=0;h=6;while(1){f=D[c|0];if((d|0)==(f>>>h&3)){A[c|0]=f&16191>>>6-h|E[a+452>>1]<>2];la:{if((c&6299648)!=8192){break la}ma:{if(!(c&128)){c=D[a+423|0];break ma}if(E[a+416>>1]){break la}c=D[a+423|0];if(c&4){break la}}if((c&255)==3){break la}c=C[a+380>>2];i=C[j>>2];h=C[a+476>>2];e=C[a+488>>2];f=D[j+9|0];d=C[a+484>>2];if(!(d?f>>>0<=8:0)&(!e|(f|0)!=16)){break la}c=c+1|0;na:{switch(D[j+8|0]){case 2:if((f|0)!=8){if(!i){break la}d=0;while(1){f=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;f=E[C[e+(D[c+3|0]>>>h<<2)>>2]+(D[c+2|0]<<1)>>1];f=f<<8|f>>>8;A[c+2|0]=f;A[c+3|0]=f>>>8;f=E[C[e+(D[c+5|0]>>>h<<2)>>2]+(D[c+4|0]<<1)>>1];f=f<<8|f>>>8;A[c+4|0]=f;A[c+5|0]=f>>>8;c=c+6|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break la}if(!i){break la}if((i|0)!=1){e=i&-2;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+3|0]=D[d+D[c+3|0]|0];A[c+4|0]=D[d+D[c+4|0]|0];A[c+5|0]=D[d+D[c+5|0]|0];c=c+6|0;h=h+2|0;if((e|0)!=(h|0)){continue}break}}if(!(i&1)){break la}A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];break la;case 6:if((f|0)!=8){if(!i){break la}d=0;while(1){f=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;f=E[C[e+(D[c+3|0]>>>h<<2)>>2]+(D[c+2|0]<<1)>>1];f=f<<8|f>>>8;A[c+2|0]=f;A[c+3|0]=f>>>8;f=E[C[e+(D[c+5|0]>>>h<<2)>>2]+(D[c+4|0]<<1)>>1];f=f<<8|f>>>8;A[c+4|0]=f;A[c+5|0]=f>>>8;c=c+8|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break la}if(!i){break la}if((i|0)!=1){e=i&-2;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+4|0]=D[d+D[c+4|0]|0];A[c+5|0]=D[d+D[c+5|0]|0];A[c+6|0]=D[d+D[c+6|0]|0];c=c+8|0;h=h+2|0;if((e|0)!=(h|0)){continue}break}}if(!(i&1)){break la}A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];break la;case 4:if((f|0)!=8){if(!i){break la}if((i|0)!=1){f=i&-2;d=0;while(1){g=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];g=g<<8|g>>>8;A[c|0]=g;A[c+1|0]=g>>>8;g=E[C[e+(D[c+5|0]>>>h<<2)>>2]+(D[c+4|0]<<1)>>1];g=g<<8|g>>>8;A[c+4|0]=g;A[c+5|0]=g>>>8;c=c+8|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(i&1)){break la}d=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break la}if(!i){break la}if(i-1>>>0>=3){e=i&-4;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+4|0]=D[d+D[c+4|0]|0];A[c+6|0]=D[d+D[c+6|0]|0];c=c+8|0;h=h+4|0;if((e|0)!=(h|0)){continue}break}}e=i&3;if(!e){break la}h=0;while(1){A[c|0]=D[d+D[c|0]|0];c=c+2|0;h=h+1|0;if((e|0)!=(h|0)){continue}break};break la;case 0:break na;default:break la}}oa:{pa:{qa:{if(!(!i|(f|0)!=2)){l=0;g=c;while(1){f=D[g|0];k=f&48;m=D[d+(k<<2|k>>>2|k>>>4|k)|0]>>>2&48;k=f&192;m=m|D[d+(f>>>6|k>>>4|k>>>2|k)|0]&192;k=f&12;A[g|0]=m|D[d+(I(k,20)|k>>>2|k)|0]>>>4&12|D[d+I(f&3,85)|0]>>>6;g=g+1|0;l=l+4|0;if(i>>>0>l>>>0){continue}break}f=D[j+9|0]}switch((f&255)-4|0){case 0:break oa;case 4:break pa;case 12:break qa;default:break la}}if(!i){break la}if((i|0)!=1){f=i&-2;d=0;while(1){g=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];g=g<<8|g>>>8;A[c|0]=g;A[c+1|0]=g>>>8;g=E[C[e+(D[c+3|0]>>>h<<2)>>2]+(D[c+2|0]<<1)>>1];g=g<<8|g>>>8;A[c+2|0]=g;A[c+3|0]=g>>>8;c=c+4|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(i&1)){break la}d=E[C[e+(D[c+1|0]>>>h<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;break la}if(!i){break la}if(i-1>>>0>=3){e=i&-4;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+3|0]=D[d+D[c+3|0]|0];c=c+4|0;h=h+4|0;if((e|0)!=(h|0)){continue}break}}e=i&3;if(!e){break la}h=0;while(1){A[c|0]=D[d+D[c|0]|0];c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break la}if(!i){break la}e=0;while(1){f=D[c|0];A[c|0]=D[d+I(f&15,17)|0]>>>4|D[d+(f&240|f>>>4)|0]&240;c=c+1|0;e=e+2|0;if(i>>>0>e>>>0){continue}break}}c=C[a+212>>2];ra:{if((c&262272)!=262272){break ra}sa:{switch(D[j+8|0]-4|0){case 0:case 2:break sa;default:break ra}}Et(j,C[a+380>>2]+1|0);c=C[a+212>>2]}ta:{if(!(c&8388608)){break ta}f=D[j+8|0];c=f&4;if(!c|!c){break ta}c=C[a+380>>2];d=C[j>>2];ua:{switch(D[j+9|0]-8|0){case 0:g=C[a+492>>2];if(!g|!d){break ta}h=f&2?4:2;i=d&3;va:{if(!i){e=d;break va}f=0;e=d;while(1){c=c+h|0;A[c|0]=D[g+D[c|0]|0];e=e-1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(d>>>0<4){break ta}while(1){c=c+h|0;A[c|0]=D[g+D[c|0]|0];c=c+h|0;A[c|0]=D[g+D[c|0]|0];c=c+h|0;A[c|0]=D[g+D[c|0]|0];c=c+h|0;A[c|0]=D[g+D[c|0]|0];e=e-4|0;if(e){continue}break};break ta;case 8:break ua;default:break ta}}e=C[a+500>>2];if(!e|!d){break ta}g=C[a+476>>2];h=f&2?8:4;c=(h+c|0)-1|0;if(d&1){f=E[C[e+(D[c+1|0]>>>g<<2)>>2]+(D[c|0]<<1)>>1];f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;c=c+h|0;f=d-1|0}else{f=d}if((d|0)==1){break ta}while(1){d=E[C[e+(D[c+1|0]>>>g<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=c+h|0;d=E[C[e+(D[c+1|0]>>>g<<2)>>2]+(D[c|0]<<1)>>1];d=d<<8|d>>>8;A[c|0]=d;A[c+1|0]=d>>>8;c=c+h|0;f=f-2|0;if(f){continue}break}}c=C[a+212>>2];if(!(!(c&67108864)|D[j+9|0]!=16)){d=C[j+4>>2];if((d|0)>0){c=C[a+380>>2]+1|0;e=d+c|0;d=c;while(1){f=D[c|0];A[d|0]=(I(D[c+1|0]-f|0,65535)+8388480>>>24|0)+f;d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}c=C[a+212>>2]}A[j+9|0]=8;d=D[j+10|0];A[j+11|0]=d<<3;C[j+4>>2]=I(d,C[j>>2])}if(!(!(c&1024)|D[j+9|0]!=16)){d=C[j+4>>2];if((d|0)>0){c=C[a+380>>2]+1|0;e=d+c|0;d=c;while(1){A[d|0]=D[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}c=C[a+212>>2]}A[j+9|0]=8;d=D[j+10|0];A[j+11|0]=d<<3;C[j+4>>2]=I(d,C[j>>2])}wa:{if(c&64){xa:{if(D[j+9|0]!=8){break xa}c=C[a+380>>2]+1|0;e=C[j>>2];d=C[a+608>>2];ya:{za:{Aa:{Ba:{g=C[a+604>>2];f=D[j+8|0];if(!(!g|(f|0)!=2)){if(!e){break Ba}h=0;d=c;while(1){A[d|0]=D[g+(D[c+1|0]<<2&992|D[c|0]<<7&31744|D[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}A[j+10|0]=1;A[j+8|0]=3;c=D[j+9|0];A[j+11|0]=c;if(c>>>0>=8){break ya}C[j+4>>2]=I(c,e)+7>>>3;break xa}if(!(!g|(f|0)!=6)){if(!e){break Aa}h=0;d=c;while(1){A[d|0]=D[g+(D[c+1|0]<<2&992|D[c|0]<<7&31744|D[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}A[j+10|0]=1;A[j+8|0]=3;c=D[j+9|0];A[j+11|0]=c;if(c>>>0>=8){break za}C[j+4>>2]=I(c,e)+7>>>3;break xa}if(!e|(!d|(f|0)!=3)){break xa}if(e>>>0>=4){f=e&-4;h=0;while(1){A[c|0]=D[d+D[c|0]|0];A[c+1|0]=D[d+D[c+1|0]|0];A[c+2|0]=D[d+D[c+2|0]|0];A[c+3|0]=D[d+D[c+3|0]|0];c=c+4|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}}e=e&3;if(!e){break xa}h=0;while(1){A[c|0]=D[d+D[c|0]|0];c=c+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break xa}B[j+10>>1]=2049;A[j+8|0]=3;c=8;break ya}B[j+10>>1]=2049;A[j+8|0]=3;c=8}C[j+4>>2]=I(e,c>>>3|0);break xa}C[j+4>>2]=I(e,c>>>3|0)}if(!C[j+4>>2]){break wa}c=C[a+212>>2]}if(!(!(c&512)|D[j+9|0]!=8|D[j+8|0]==3)){d=C[j+4>>2];if((d|0)>0){c=(C[a+380>>2]+1|0)+d|0;d=d+c|0;while(1){e=d-2|0;c=c-1|0;f=D[c|0];A[e|0]=f;A[d-1|0]=f;d=e;if(d>>>0>c>>>0){continue}break}d=C[j+4>>2];c=C[a+212>>2]}A[j+9|0]=16;C[j+4>>2]=d<<1;A[j+11|0]=D[j+10|0]<<4}if(!(!(c&16384)|!(D[a+205|0]&8))){Ju(j,C[a+380>>2]+1|0);c=C[a+212>>2]}if(c&32){d=C[a+380>>2]+1|0;Ca:{Da:{switch(D[j+8|0]){case 0:e=C[j+4>>2];if(!e){break Ca}if(e>>>0>=4){f=e&-4;c=0;while(1){A[d|0]=D[d|0]^-1;A[d+1|0]=D[d+1|0]^-1;A[d+2|0]=D[d+2|0]^-1;A[d+3|0]=D[d+3|0]^-1;d=d+4|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break Ca}c=0;while(1){A[d|0]=D[d|0]^-1;d=d+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ca;case 4:break Da;default:break Ca}}Ea:{switch(D[j+9|0]-8|0){case 0:c=C[j+4>>2];if(!c){break Ca}f=(c-1>>>1|0)+1|0;e=f&3;if(c>>>0>=7){f=f&-4;c=0;while(1){A[d|0]=D[d|0]^-1;A[d+2|0]=D[d+2|0]^-1;A[d+4|0]=D[d+4|0]^-1;A[d+6|0]=D[d+6|0]^-1;d=d+8|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}if(!e){break Ca}c=0;while(1){A[d|0]=D[d|0]^-1;d=d+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ca;case 8:break Ea;default:break Ca}}c=C[j+4>>2];if(!c){break Ca}f=(c-1>>>2|0)+1|0;e=f&3;if(c>>>0>=13){f=f&2147483644;c=0;while(1){A[d|0]=D[d|0]^-1;A[d+1|0]=D[d+1|0]^-1;A[d+4|0]=D[d+4|0]^-1;A[d+5|0]=D[d+5|0]^-1;A[d+8|0]=D[d+8|0]^-1;A[d+9|0]=D[d+9|0]^-1;A[d+12|0]=D[d+12|0]^-1;A[d+13|0]=D[d+13|0]^-1;d=d+16|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}if(!e){break Ca}c=0;while(1){A[d|0]=D[d|0]^-1;A[d+1|0]=D[d+1|0]^-1;d=d+4|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=C[a+212>>2]}Fa:{if(!(c&524288)){break Fa}c=C[a+380>>2]+1|0;e=C[j>>2];Ga:{switch(D[j+8|0]-4|0){case 2:if(D[j+9|0]==8){if(!e){break Fa}c=c+C[j+4>>2]|0;if(e>>>0>=4){f=e&-4;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-5|0;A[g|0]=D[g|0]^-1;g=c-9|0;A[g|0]=D[g|0]^-1;g=c-13|0;A[g|0]=D[g|0]^-1;c=c-16|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}e=e&3;if(!e){break Fa}d=0;while(1){f=c-1|0;A[f|0]=D[f|0]^-1;c=c-4|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}break Fa}if(!e){break Fa}c=c+C[j+4>>2]|0;if((e|0)!=1){f=e&-2;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-2|0;A[g|0]=D[g|0]^-1;g=c-9|0;A[g|0]=D[g|0]^-1;g=c-10|0;A[g|0]=D[g|0]^-1;c=c-16|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(e&1)){break Fa}d=c-1|0;A[d|0]=D[d|0]^-1;c=c-2|0;A[c|0]=D[c|0]^-1;break Fa;case 0:break Ga;default:break Fa}}if(D[j+9|0]==8){if(!e){break Fa}c=c+C[j+4>>2]|0;if(e>>>0>=4){f=e&-4;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-3|0;A[g|0]=D[g|0]^-1;g=c-5|0;A[g|0]=D[g|0]^-1;g=c-7|0;A[g|0]=D[g|0]^-1;c=c-8|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}e=e&3;if(!e){break Fa}d=0;while(1){f=c-1|0;A[f|0]=D[f|0]^-1;c=c-2|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}break Fa}if(!e){break Fa}c=c+C[j+4>>2]|0;if((e|0)!=1){f=e&-2;d=0;while(1){g=c-1|0;A[g|0]=D[g|0]^-1;g=c-2|0;A[g|0]=D[g|0]^-1;g=c-5|0;A[g|0]=D[g|0]^-1;g=c-6|0;A[g|0]=D[g|0]^-1;c=c-8|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(e&1)){break Fa}d=c-1|0;A[d|0]=D[d|0]^-1;c=c-2|0;A[c|0]=D[c|0]^-1}c=C[a+212>>2];Ha:{if(!(c&8)){break Ha}e=D[j+8|0];if((e|0)==3){break Ha}g=D[j+9|0];Ia:{if(e&2){f=D[a+513|0];C[r+4>>2]=g-D[a+514|0];C[r+8>>2]=g-D[a+515|0];d=3;break Ia}f=D[a+516|0];d=1}i=C[a+380>>2];C[r>>2]=g-(f&255);if(e&4){C[(r|d<<2)>>2]=g-D[a+517|0];d=d+1|0}f=C[r>>2];e=(f|0)<(g|0)&(f|0)>0;C[r>>2]=e?f:0;Ja:{if((d|0)==1){break Ja}f=C[r+4>>2];h=(f|0)<(g|0)&(f|0)>0;C[r+4>>2]=h?f:0;e=h?1:e;if((d|0)==2){break Ja}f=C[r+8>>2];h=(f|0)<(g|0)&(f|0)>0;C[r+8>>2]=h?f:0;e=h?1:e;if((d|0)==3){break Ja}f=C[r+12>>2];h=(f|0)<(g|0)&(f|0)>0;C[r+12>>2]=h?f:0;e=h?1:e}if(!e){break Ha}c=i+1|0;Ka:{La:{switch(g<<31|g-2>>>1){case 0:d=C[j+4>>2];if((d|0)<=0){break Ka}d=c+d|0;while(1){A[c|0]=D[c|0]>>>1&85;c=c+1|0;if(d>>>0>c>>>0){continue}break};break Ka;case 1:d=C[j+4>>2];if((d|0)<=0){break Ka}e=C[r>>2];f=I(15>>>e|0,17);d=c+d|0;while(1){A[c|0]=f&D[c|0]>>>e;c=c+1|0;if(d>>>0>c>>>0){continue}break};break Ka;case 3:e=C[j+4>>2];if((e|0)<=0){break Ka}e=c+e|0;h=0;while(1){A[c|0]=D[c|0]>>>C[r+(h<<2)>>2];f=h+1|0;h=(d|0)>(f|0)?f:0;c=c+1|0;if(e>>>0>c>>>0){continue}break};break Ka;case 7:break La;default:break Ka}}e=C[j+4>>2];if((e|0)<=0){break Ka}e=c+e|0;h=0;while(1){f=(D[c+1|0]|D[c|0]<<8)>>>C[r+(h<<2)>>2]|0;f=f<<8|f>>>8;A[c|0]=f;A[c+1|0]=f>>>8;f=h+1|0;h=(d|0)>(f|0)?f:0;c=c+2|0;if(e>>>0>c>>>0){continue}break}}c=C[a+212>>2]}Ma:{if(!(c&4)){break Ma}c=D[j+9|0];if(c>>>0>7){break Ma}e=C[a+380>>2]+1|0;f=C[j>>2];Na:{Oa:{switch(c-1|0){case 0:if(!f){break Na}d=e+f|0;c=0-f&7;g=f-1|0;h=e+(g>>>3|0)|0;if(g){g=f&-2;e=0;while(1){A[d-1|0]=D[h|0]>>>c&1;d=d-2|0;i=h;h=(c|0)==7;i=i-h|0;c=h?0:c+1|0;A[d|0]=D[i|0]>>>c&1;h=(c|0)==7;c=h?0:c+1|0;h=i-h|0;e=e+2|0;if((g|0)!=(e|0)){continue}break}}if(!(f&1)){break Na}A[d-1|0]=D[h|0]>>>c&1;break Na;case 1:if(!f){break Na}d=e+f|0;g=f-1|0;h=e+(g>>>2|0)|0;c=((f<<1)+6^-1)&6;if(g){g=f&-2;e=0;while(1){A[d-1|0]=D[h|0]>>>c&3;d=d-2|0;i=h;h=(c|0)==6;i=i-h|0;c=h?0:c+2|0;A[d|0]=D[i|0]>>>c&3;h=(c|0)==6;c=h?0:c+2|0;h=i-h|0;e=e+2|0;if((g|0)!=(e|0)){continue}break}}if(!(f&1)){break Na}A[d-1|0]=D[h|0]>>>c&3;break Na;case 3:break Oa;default:break Na}}if(!f){break Na}d=e+f|0;c=f<<2&4;g=f-1|0;h=e+(g>>>1|0)|0;if(g){g=f&-2;e=0;while(1){A[d-1|0]=D[h|0]>>>c&15;d=d-2|0;i=(c|0)==4;h=h-i|0;c=(c|0)!=4;A[d|0]=D[h|0]>>>(c<<2)&15;h=h-c|0;c=i<<2;e=e+2|0;if((g|0)!=(e|0)){continue}break}}if(!(f&1)){break Na}A[d-1|0]=D[h|0]>>>c&15}A[j+9|0]=8;c=D[j+10|0];A[j+11|0]=c<<3;C[j+4>>2]=I(c,f)}if(!(D[j+8|0]!=3|C[a+412>>2]<0)){f=0;c=E[a+408>>1];Pa:{if(!c){break Pa}e=D[j+9|0];if((c|0)>=1<>2];h=C[j+4>>2];c=(g+h|0)-1|0;d=0-I(C[j>>2],D[j+11|0])&7;Qa:{switch(e-1|0){case 7:if(c>>>0<=g>>>0){break Pa}d=C[a+412>>2];i=h-1&3;if(i){while(1){e=D[c|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}c=c-1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(h-2>>>0<3){break Pa}while(1){e=D[c|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}e=D[c-1|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}e=D[c-2|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}e=D[c-3|0];if((e|0)>(d|0)){C[a+412>>2]=e;d=e}c=c-4|0;if(g>>>0>>0){continue}break};break Pa;case 3:if(c>>>0<=g>>>0){break Pa}d=D[c|0]>>>d|0;e=d>>>4|0;d=d&15;i=C[a+412>>2];f=(d|0)>(i|0);i=f?d:i;d=e>>>0>i>>>0?e:i;if(!(!f&e>>>0<=i>>>0)){C[a+412>>2]=d}f=c-1|0;if(g>>>0>=f>>>0){break Pa}Ra:{if(!(h&1)){c=d;break Ra}c=D[f|0];e=c>>>4|0;i=c&15;l=(d|0)<(i|0)?i:d;c=e>>>0>l>>>0?e:l;if(!(e>>>0<=l>>>0&d>>>0>=i>>>0)){C[a+412>>2]=c}f=f-1|0}if((h|0)==3){break Pa}while(1){d=D[f|0];e=d>>>4|0;h=d&15;i=(c|0)<(h|0)?h:c;d=e>>>0>i>>>0?e:i;if(!(e>>>0<=i>>>0&c>>>0>=h>>>0)){C[a+412>>2]=d}c=D[f-1|0];e=c>>>4|0;h=c&15;i=(d|0)<(h|0)?h:d;c=e>>>0>i>>>0?e:i;if(!(e>>>0<=i>>>0&d>>>0>=h>>>0)){C[a+412>>2]=c}f=f-2|0;if(g>>>0>>0){continue}break};break Pa;case 1:if(c>>>0<=g>>>0){break Pa}d=D[c|0]>>>d|0;e=d>>>6|0;h=d&3;i=C[a+412>>2];f=(h|0)>(i|0);l=d>>>2&3;i=f?h:i;h=l>>>0>i>>>0;d=d>>>4&3;l=h?l:i;i=d>>>0>l>>>0;l=i?d:l;d=e>>>0>l>>>0?e:l;Sa:{if(!(i|(f|h))){if(e>>>0<=l>>>0){break Sa}}C[a+412>>2]=d}f=c-1|0;if(g>>>0>=f>>>0){break Pa}while(1){c=D[f|0];e=c>>>6|0;l=c>>>2&3;h=c&3;k=(d|0)<(h|0)?h:d;i=l>>>0>k>>>0;c=c>>>4&3;k=i?l:k;l=c>>>0>k>>>0;k=l?c:k;c=e>>>0>k>>>0?e:k;Ta:{if(!(l|(i|d>>>0>>0))){if(e>>>0<=k>>>0){break Ta}}C[a+412>>2]=c}d=c;f=f-1|0;if(g>>>0>>0){continue}break};break Pa;case 0:break Qa;default:break Pa}}if(c>>>0<=g>>>0){break Pa}if(D[c|0]>>>d|0){C[a+412>>2]=1}c=c-1|0;if(g>>>0>=c>>>0){break Pa}e=h+2&3;if(e){d=0;while(1){if(D[c|0]){C[a+412>>2]=1}c=c-1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(h-3>>>0<3){break Pa}while(1){if(D[c|0]){C[a+412>>2]=1}if(D[c-1|0]){C[a+412>>2]=1}if(D[c-2|0]){C[a+412>>2]=1}if(D[c-3|0]){C[a+412>>2]=1}c=c-4|0;if(g>>>0>>0){continue}break}}}d=C[a+212>>2];if(d&1){d=C[a+380>>2]+1|0;c=D[j+8|0];Ua:{if(!(c&2)){break Ua}e=C[j>>2];Va:{switch(D[j+9|0]-8|0){case 0:Wa:{switch(c-2|0){case 4:if(!e){break Ua}if(e>>>0>=4){f=e&-4;c=0;while(1){g=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=g;g=D[d+4|0];A[d+4|0]=D[d+6|0];A[d+6|0]=g;g=D[d+8|0];A[d+8|0]=D[d+10|0];A[d+10|0]=g;g=D[d+12|0];A[d+12|0]=D[d+14|0];A[d+14|0]=g;d=d+16|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break Ua}c=0;while(1){f=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=f;d=d+4|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ua;case 0:break Wa;default:break Ua}}if(!e){break Ua}if(e>>>0>=4){f=e&-4;c=0;while(1){g=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=g;g=D[d+3|0];A[d+3|0]=D[d+5|0];A[d+5|0]=g;g=D[d+6|0];A[d+6|0]=D[d+8|0];A[d+8|0]=g;g=D[d+9|0];A[d+9|0]=D[d+11|0];A[d+11|0]=g;d=d+12|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break Ua}c=0;while(1){f=D[d+2|0];A[d+2|0]=D[d|0];A[d|0]=f;d=d+3|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break Ua;case 8:break Va;default:break Ua}}Xa:{switch(c-2|0){case 4:if(!e){break Ua}if((e|0)!=1){g=e&-2;c=0;while(1){f=D[d|0]|D[d+1|0]<<8;h=D[d+4|0]|D[d+5|0]<<8;A[d|0]=h;A[d+1|0]=h>>>8;A[d+4|0]=f;A[d+5|0]=f>>>8;f=D[d+8|0]|D[d+9|0]<<8;h=D[d+12|0]|D[d+13|0]<<8;A[d+8|0]=h;A[d+9|0]=h>>>8;A[d+12|0]=f;A[d+13|0]=f>>>8;d=d+16|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!(e&1)){break Ua}c=D[d|0]|D[d+1|0]<<8;e=D[d+4|0]|D[d+5|0]<<8;A[d|0]=e;A[d+1|0]=e>>>8;A[d+4|0]=c;A[d+5|0]=c>>>8;break Ua;case 0:break Xa;default:break Ua}}if(!e){break Ua}if((e|0)!=1){g=e&-2;c=0;while(1){f=D[d|0]|D[d+1|0]<<8;h=D[d+4|0]|D[d+5|0]<<8;A[d|0]=h;A[d+1|0]=h>>>8;A[d+4|0]=f;A[d+5|0]=f>>>8;f=D[d+6|0]|D[d+7|0]<<8;h=D[d+10|0]|D[d+11|0]<<8;A[d+6|0]=h;A[d+7|0]=h>>>8;A[d+10|0]=f;A[d+11|0]=f>>>8;d=d+12|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!(e&1)){break Ua}c=D[d|0]|D[d+1|0]<<8;e=D[d+4|0]|D[d+5|0]<<8;A[d|0]=e;A[d+1|0]=e>>>8;A[d+4|0]=c;A[d+5|0]=c>>>8}d=C[a+212>>2]}if(d&65536){d=C[a+380>>2]+1|0;f=D[j+9|0];Ya:{if(f>>>0>7){break Ya}e=C[j+4>>2];c=95328;Za:{_a:{switch(f-1|0){case 1:c=95584;break Za;case 0:break Za;case 3:break _a;default:break Ya}}c=95840}if((e|0)<=0){break Ya}e=d+e|0;while(1){A[d|0]=D[D[d|0]+c|0];d=d+1|0;if(e>>>0>d>>>0){continue}break}}d=C[a+212>>2]}$a:{if(!(d&32768)){break $a}i=E[a+434>>1];c=i>>>8|0;f=C[a+380>>2]+1|0;e=C[j>>2];g=C[a+208>>2];ab:{bb:{switch(D[j+8|0]){case 0:cb:{switch(D[j+9|0]-8|0){case 0:if(g&128){h=e+f|0;d=e+h|0;l=2;db:{if(e>>>0<2){break db}f=e-1|0;c=f&3;if(e-2>>>0>=3){g=f&-4;f=0;while(1){A[d-1|0]=i;k=D[h-1|0];A[d-3|0]=i;A[d-2|0]=k;k=D[h-2|0];A[d-5|0]=i;A[d-4|0]=k;k=D[h-3|0];A[d-7|0]=i;A[d-6|0]=k;d=d-8|0;h=h-4|0;A[d|0]=D[h|0];f=f+4|0;if((g|0)!=(f|0)){continue}break}}if(!c){break db}f=0;while(1){A[d-1|0]=i;d=d-2|0;h=h-1|0;A[d|0]=D[h|0];f=f+1|0;if((c|0)!=(f|0)){continue}break}}A[d-1|0]=i;n=1;k=16;break ab}n=1;k=16;l=2;if(!e){break ab}m=e&3;h=e+f|0;d=e+h|0;eb:{if(e>>>0<4){f=d;break eb}c=e&-4;g=0;while(1){f=D[h-1|0];A[d-2|0]=i;A[d-1|0]=f;f=D[h-2|0];A[d-4|0]=i;A[d-3|0]=f;f=D[h-3|0];A[d-6|0]=i;A[d-5|0]=f;h=h-4|0;o=D[h|0];f=d-8|0;A[f|0]=i;A[d-7|0]=o;d=f;g=g+4|0;if((c|0)!=(g|0)){continue}break}}if(!m){break ab}d=0;while(1){h=h-1|0;g=D[h|0];c=f-2|0;A[c|0]=i;A[f-1|0]=g;f=c;d=d+1|0;if((m|0)!=(d|0)){continue}break};break ab;case 8:break cb;default:break $a}}if(g&128){d=e<<1;h=d+f|0;d=h+d|0;l=2;fb:{if(e>>>0<2){break fb}f=e-1|0;k=f&1;if((e|0)!=2){f=f&-2;g=0;while(1){A[d-2|0]=c;A[d-1|0]=i;A[d-3|0]=D[h-1|0];n=D[h-2|0];A[d-5|0]=i;A[d-4|0]=n;A[d-6|0]=c;A[d-7|0]=D[h-3|0];d=d-8|0;h=h-4|0;A[d|0]=D[h|0];g=g+2|0;if((f|0)!=(g|0)){continue}break}}if(!k){break fb}A[d-2|0]=c;A[d-1|0]=i;A[d-3|0]=D[h-1|0];d=d-4|0;A[d|0]=D[h-2|0]}A[d-2|0]=c;A[d-1|0]=i;k=32;n=2;break ab}k=32;if(e){gb:{d=e<<1;h=d+f|0;d=h+d|0;if((e|0)!=1){f=e&-2;g=0;while(1){A[d-1|0]=D[h-1|0];l=D[h-2|0];A[d-3|0]=i;A[d-2|0]=l;A[d-4|0]=c;A[d-5|0]=D[h-3|0];h=h-4|0;l=D[h|0];A[d-7|0]=i;A[d-6|0]=l;d=d-8|0;A[d|0]=c;g=g+2|0;if((f|0)!=(g|0)){continue}break}}if(!(e&1)){break gb}A[d-1|0]=D[h-1|0];f=D[h-2|0];A[d-3|0]=i;A[d-2|0]=f;A[d-4|0]=c}}l=2;n=2;break ab;case 2:break bb;default:break $a}}hb:{switch(D[j+9|0]-8|0){case 0:if(g&128){h=f+I(e,3)|0;d=e+h|0;n=2;if(e>>>0>=2){f=1;while(1){A[d-1|0]=i;A[d-2|0]=D[h-1|0];A[d-3|0]=D[h-2|0];d=d-4|0;h=h-3|0;A[d|0]=D[h|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}A[d-1|0]=i;k=32;l=4;break ab}n=2;k=32;l=4;if(!e){break ab}h=f+I(e,3)|0;d=e+h|0;f=0;while(1){A[d-1|0]=D[h-1|0];A[d-2|0]=D[h-2|0];h=h-3|0;g=D[h|0];c=d-4|0;A[c|0]=i;A[d-3|0]=g;d=c;f=f+1|0;if((e|0)!=(f|0)){continue}break};break ab;case 8:break hb;default:break $a}}if(g&128){g=1;h=f+I(e,6)|0;d=h+(e<<1)|0;if(e>>>0>=2){while(1){A[d-2|0]=c;A[d-1|0]=i;A[d-3|0]=D[h-1|0];A[d-4|0]=D[h-2|0];A[d-5|0]=D[h-3|0];A[d-6|0]=D[h-4|0];A[d-7|0]=D[h-5|0];d=d-8|0;h=h-6|0;A[d|0]=D[h|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}A[d-2|0]=c;A[d-1|0]=i;n=3;k=64;l=4;break ab}n=3;k=64;l=4;if(!e){break ab}h=f+I(e,6)|0;d=h+(e<<1)|0;g=0;while(1){A[d-1|0]=D[h-1|0];A[d-2|0]=D[h-2|0];A[d-3|0]=D[h-3|0];A[d-4|0]=D[h-4|0];A[d-5|0]=D[h-5|0];h=h-6|0;f=D[h|0];A[d-7|0]=i;A[d-6|0]=f;d=d-8|0;A[d|0]=c;g=g+1|0;if((e|0)!=(g|0)){continue}break}}A[j+11|0]=k;A[j+10|0]=l;C[j+4>>2]=e<>2]}ib:{if(!(d&131072)){break ib}c=C[a+380>>2]+1|0;e=C[j>>2];jb:{switch(D[j+8|0]-4|0){case 2:if(D[j+9|0]==8){if(!e){break ib}c=c+C[j+4>>2]|0;if((e|0)!=1){f=e&-2;d=0;while(1){g=c-1|0;h=D[g|0];i=g;g=c-2|0;A[i|0]=D[g|0];i=c-3|0;l=D[i|0];m=i;i=c-4|0;A[m|0]=D[i|0];A[g|0]=l;A[i|0]=h;g=c-5|0;h=D[g|0];i=g;g=c-6|0;A[i|0]=D[g|0];i=g;g=c-7|0;A[i|0]=D[g|0];c=c-8|0;A[g|0]=D[c|0];A[c|0]=h;d=d+2|0;if((f|0)!=(d|0)){continue}break}}if(!(e&1)){break ib}d=c-1|0;e=D[d|0];g=d;d=c-2|0;A[g|0]=D[d|0];f=c-3|0;g=D[f|0];c=c-4|0;A[f|0]=D[c|0];A[d|0]=g;A[c|0]=e;break ib}if(!e){break ib}c=c+C[j+4>>2]|0;d=0;while(1){f=c-2|0;h=D[f|0]|D[f+1|0]<<8;g=c-4|0;i=D[g|0]|D[g+1|0]<<8;A[f|0]=i;A[f+1|0]=i>>>8;f=c-6|0;i=D[f|0]|D[f+1|0]<<8;A[g|0]=i;A[g+1|0]=i>>>8;c=c-8|0;g=D[c|0]|D[c+1|0]<<8;A[f|0]=g;A[f+1|0]=g>>>8;A[c|0]=h;A[c+1|0]=h>>>8;d=d+1|0;if((e|0)!=(d|0)){continue}break};break ib;case 0:break jb;default:break ib}}if(D[j+9|0]==8){if(!e){break ib}c=c+C[j+4>>2]|0;if(e>>>0>=4){f=e&-4;d=0;while(1){g=c-1|0;h=D[g|0];i=g;g=c-2|0;A[i|0]=D[g|0];A[g|0]=h;g=c-3|0;h=D[g|0];i=g;g=c-4|0;A[i|0]=D[g|0];A[g|0]=h;g=c-5|0;h=D[g|0];i=g;g=c-6|0;A[i|0]=D[g|0];A[g|0]=h;g=c-7|0;h=D[g|0];c=c-8|0;A[g|0]=D[c|0];A[c|0]=h;d=d+4|0;if((f|0)!=(d|0)){continue}break}}e=e&3;if(!e){break ib}d=0;while(1){f=c-1|0;g=D[f|0];c=c-2|0;A[f|0]=D[c|0];A[c|0]=g;d=d+1|0;if((e|0)!=(d|0)){continue}break}break ib}if(!e){break ib}c=c+C[j+4>>2]|0;if((e|0)!=1){h=e&-2;d=0;while(1){f=c-4|0;g=rT(D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24),16);A[f|0]=g;A[f+1|0]=g>>>8;A[f+2|0]=g>>>16;A[f+3|0]=g>>>24;c=c-8|0;f=rT(D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24),16);A[c|0]=f;A[c+1|0]=f>>>8;A[c+2|0]=f>>>16;A[c+3|0]=f>>>24;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(e&1)){break ib}c=c-4|0;d=rT(D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24),16);A[c|0]=d;A[c+1|0]=d>>>8;A[c+2|0]=d>>>16;A[c+3|0]=d>>>24}c=C[a+212>>2];if(c&16){d=C[a+380>>2]+1|0;kb:{if(D[j+9|0]!=16){break kb}e=I(C[j>>2],D[j+10|0]);if(!e){break kb}if(e>>>0>=4){f=e&-4;c=0;while(1){g=D[d+1|0];A[d+1|0]=D[d|0];A[d|0]=g;g=D[d+2|0];A[d+2|0]=D[d+3|0];A[d+3|0]=g;g=D[d+4|0];A[d+4|0]=D[d+5|0];A[d+5|0]=g;g=D[d+6|0];A[d+6|0]=D[d+7|0];A[d+7|0]=g;d=d+8|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}e=e&3;if(!e){break kb}c=0;while(1){f=D[d+1|0];A[d+1|0]=D[d|0];A[d|0]=f;d=d+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=C[a+212>>2]}if(c&1048576){c=C[a+188>>2];if(c){Fe[c|0](a,j,C[a+380>>2]+1|0)}c=D[a+200|0];if(c){A[j+9|0]=c}c=D[a+201|0];lb:{if(!c){c=D[j+10|0];break lb}A[j+10|0]=c}d=I(D[j+9|0],c);A[j+11|0]=d;c=C[j>>2];d=d&255;mb:{if(d>>>0>=8){c=I(c,d>>>3|0);break mb}c=I(c,d)+7>>>3|0}C[j+4>>2]=c}Ce=r+16|0;break n}Af(a,29794);s()}}c=D[p+15|0];d=D[a+431|0];nb:{if(!d){A[a+431|0]=c;if(c>>>0<=D[a+430|0]){break nb}Af(a,1869);s()}if((c|0)!=(d|0)){break d}}ob:{pb:{if(!D[a+420|0]){break pb}c=C[a+212>>2];if(!(c&2)){break pb}n=D[a+421|0];if(n>>>0<=5){f=0;j=0;r=Ce-16|0;Ce=r;l=C[a+380>>2]+1|0;if(!(!l|(p|0)==-4)){k=C[(n<<2)+95264>>2];d=C[p+4>>2];i=I(k,d);qb:{rb:{sb:{tb:{ub:{vb:{e=D[p+15|0];switch(e-1|0){case 3:break tb;case 1:break ub;case 0:break vb;default:break sb}}h=7;m=d-1|0;f=m&7;wb:{if(c&65536){g=-1;e=i-1&7;break wb}j=7;f=f^7;h=0;g=1;e=0-i&7}if(!d){break rb}c=l+(i-1>>>3|0)|0;l=l+(m>>>3|0)|0;d=(k|0)<=1?1:k;o=d&2147483646;q=d&1;k=0;t=(n|0)==6;while(1){n=D[l|0]>>>f&1;d=0;if(!t){while(1){A[c|0]=D[c|0]&32639>>>7-e|n<>>7-c|n<>>7-e|n<>>0>2]){continue}break}break rb}h=6;f=(d<<1)+6&6;xb:{if(c&65536){g=-2;e=(i<<1)+6&6;break xb}j=6;f=f^6;g=2;h=0;e=((i<<1)+6^-1)&6}if(!d){break rb}c=l+(i-1>>>2|0)|0;l=l+(d-1>>>2|0)|0;d=(k|0)<=1?1:k;o=d&2147483646;q=d&1;k=0;t=(n|0)==6;while(1){n=D[l|0]>>>f&3;d=0;if(!t){while(1){A[c|0]=D[c|0]&16191>>>6-e|n<>>6-c|n<>>6-e|n<>>0>2]){continue}break}break rb}h=4;f=d<<2&4;yb:{if(c&65536){f=f^4;g=-4;e=(i^-1)<<2&4;break yb}j=4;h=0;g=4;e=i<<2&4}if(!d){break rb}c=l+(i-1>>>1|0)|0;l=l+(d-1>>>1|0)|0;d=(k|0)<=1?1:k;o=d&2147483646;q=d&1;k=0;t=(n|0)==6;while(1){n=D[l|0]>>>f&15;d=0;if(!t){while(1){A[c|0]=D[c|0]&3855>>>4-e|n<>>4-c|n<>>4-e|n<>>0>2]){continue}break}break rb}if(!d){break qb}c=e>>>3|0;e=0-c|0;j=(k|0)<=1?1:k;n=j&2147483644;k=j&3;d=l+I(c,d-1|0)|0;h=l+I(c,i-1|0)|0;l=j-1>>>0<3;while(1){jf(r+8|0,d,c);g=0;if(!l){while(1){j=r+8|0;h=jf(jf(jf(jf(h,j,c)+e|0,j,c)+e|0,j,c)+e|0,j,c)+e|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}g=0;if(k){while(1){h=jf(h,r+8|0,c)+e|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}d=d+e|0;f=f+1|0;if(f>>>0>2]){continue}break}}e=D[p+15|0]}C[p+4>>2]=i;c=e&255;zb:{if(c>>>0>=8){c=I(i,c>>>3|0);break zb}c=I(c,i)+7>>>3|0}C[p+8>>2]=c}Ce=r+16|0}if(!v){break ob}ou(a,v,0);break ob}if(v){ou(a,v,-1)}}Ki(a);c=C[a+536>>2];if(!c){break g}Fe[c|0](a,C[a+368>>2],D[a+421|0])}Ce=p+16|0;break c}Af(a,21866);s()}Af(a,16062);s()}Af(a,9132);s()}u=u+4|0;x=x+1|0;if((x|0)!=(G|0)){continue}break}}J=J+1|0;if((J|0)!=(w|0)){continue}break}}}function mL(a){a=a|0;var 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,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0;k=Ce-48|0;Ce=k;C[a+256>>2]=0;a:{if(E[a+216>>1]!=E[a+218>>1]){c=1170;e=1171;f=1172;b=1169;break a}c=1174;e=1175;f=1176;b=1173}C[a+604>>2]=b;C[a+600>>2]=c;C[a+596>>2]=e;C[a+592>>2]=f;u=a+298|0;d=B[u>>1];b:{if((d&65535)==16384){b=B[a+294>>1];C[a+564>>2]=b;c=b;break b}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;c=E[a+294>>1];break b}c=B[a+294>>1];b=I(b,B[a+296>>1])+I(d,c)>>14;C[a+564>>2]=b}c:{if((c&65535)==16384){C[a+572>>2]=1177;break c}if(E[a+296>>1]==16384){C[a+572>>2]=1178;break c}C[a+572>>2]=1179}d:{if(E[a+290>>1]==16384){C[a+576>>2]=1177;break d}if(E[a+292>>1]==16384){C[a+576>>2]=1178;break d}C[a+576>>2]=1180}C[a+588>>2]=1181;C[a+584>>2]=1182;e:{if((b|0)!=16384){break e}f:{if((d|0)==16384){e=1184;c=1183;break f}if(E[a+300>>1]!=16384){break e}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;b=C[a+312>>2];if(!(b&248)){C[a+568>>2]=C[(b<<24>>22)+354648>>2]}x=a+180|0;y=a+144|0;n=a+72|0;l=a+36|0;o=a+108|0;z=a+294|0;b=C[a+360>>2];g:{h:{i:{while(1){g=C[a+356>>2];c=D[g+b|0];A[a+368|0]=c;f=A[c+353312|0];C[a+372>>2]=f;j:{if((c&254)!=64){e=C[a+364>>2];break j}e=C[a+364>>2];d=b+1|0;if((e|0)<=(d|0)){b=131;break i}f=2-I(D[d+g|0],f)|0;C[a+372>>2]=f}if((b+f|0)>(e|0)){b=131;break i}b=D[c+353568|0];d=b>>>4|0;e=C[a+16>>2]-d|0;C[a+28>>2]=e;if((e|0)<0){if(D[a+561|0]){b=129;break i}if(b>>>0>=16){p(C[a+24>>2],0,(d>>>0<=1?1:d)<<2)}C[a+28>>2]=0;e=0}i=(b&15)+e|0;C[a+32>>2]=i;b=130;h=C[a+20>>2];if((h|0)<(i|0)){break i}C[a+12>>2]=0;A[a+376|0]=1;j=C[a+24>>2];d=j+(e<<2)|0;b=135;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:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{switch(c|0){case 0:case 1:case 2:case 3:case 4:case 5:b=c<<14&16384;d=b^16384;if(c>>>0<=3){B[a+296>>1]=d;B[a+294>>1]=b;B[a+292>>1]=d;B[a+290>>1]=b}Ka:{if(c&2){b=E[u>>1];break Ka}B[a+300>>1]=d;B[a+298>>1]=b}La:{if((b&65535)==16384){c=B[a+294>>1];C[a+564>>2]=c;d=c;break La}c=B[a+300>>1];if((c|0)==16384){c=B[a+296>>1];C[a+564>>2]=c;d=E[a+294>>1];break La}d=B[a+294>>1];c=I(c,B[a+296>>1])+I(d,b<<16>>16)>>14;C[a+564>>2]=c}e=1177;C[a+572>>2]=(d&65535)==16384?1177:E[a+296>>1]==16384?1178:1179;e=E[a+290>>1]!=16384?E[a+292>>1]==16384?1178:1180:e;C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+576>>2]=e;Ma:{if((c|0)!=16384){break Ma}Na:{if((b&65535)==16384){e=1184;b=1183;break Na}if(E[a+300>>1]!=16384){break Ma}e=1186;b=1185}C[a+588>>2]=b;C[a+584>>2]=e}b=c>>31;if((b^c)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 6:case 7:if(Lu(a,E[d+4>>1],E[d>>1],z)){break p}c=E[a+294>>1]|E[a+296>>1]<<16;B[a+290>>1]=c;B[a+292>>1]=c>>>16;d=B[a+298>>1];b=c<<16>>16;Oa:{if((d&65535)==16384){break Oa}e=B[a+300>>1];b=c>>16;if((e|0)==16384){break Oa}b=I(e,c>>16)+I(d,c<<16>>16)>>14}C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+564>>2]=b;e=(c&-65536)==1073741824;c=(c&65535)==16384;C[a+576>>2]=c?1177:e?1178:1180;C[a+572>>2]=c?1177:e?1178:1179;Pa:{if((b|0)!=16384){break Pa}Qa:{if((d|0)==16384){e=1184;c=1183;break Qa}if(E[a+300>>1]!=16384){break Pa}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 8:case 9:if(Lu(a,E[d+4>>1],E[d>>1],u)){break p}d=E[u>>1];Ra:{if((d|0)==16384){b=B[a+294>>1];C[a+564>>2]=b;f=b;break Ra}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;f=E[a+294>>1];break Ra}f=B[a+294>>1];b=I(b,B[a+296>>1])+I(f,d<<16>>16)>>14;C[a+564>>2]=b}c=1177;C[a+572>>2]=(f&65535)==16384?1177:E[a+296>>1]==16384?1178:1179;c=E[a+290>>1]!=16384?E[a+292>>1]==16384?1178:1180:c;C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+576>>2]=c;Sa:{if((b|0)!=16384){break Sa}Ta:{if((d|0)==16384){e=1184;c=1183;break Ta}if(E[a+300>>1]!=16384){break Sa}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 10:e=C[d+4>>2];b=e<<16>>16;f=C[d>>2];c=f<<16>>16;d=c>>31;Ua:{Va:{if((c^d)-d>>>0>16383){break Va}d=b>>31;if((d^b)-d>>>0>16383){break Va}if(!(b|c)){break Ua}b=e<<16>>2;c=f<<16>>2}d=c;c=Wi(c,b)<<2;K=a,L=Ze(d,c),B[K+294>>1]=L;K=a,L=Ze(b,c),B[K+296>>1]=L}c=E[a+294>>1]|E[a+296>>1]<<16;B[a+290>>1]=c;B[a+292>>1]=c>>>16;d=B[a+298>>1];b=c<<16>>16;Wa:{if((d&65535)==16384){break Wa}e=B[a+300>>1];b=c>>16;if((e|0)==16384){break Wa}b=I(e,c>>16)+I(d,c<<16>>16)>>14}C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+564>>2]=b;e=(c&-65536)==1073741824;c=(c&65535)==16384;C[a+576>>2]=c?1177:e?1178:1180;C[a+572>>2]=c?1177:e?1178:1179;Xa:{if((b|0)!=16384){break Xa}Ya:{if((d|0)==16384){e=1184;c=1183;break Ya}if(E[a+300>>1]!=16384){break Xa}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 11:e=C[d+4>>2];b=e<<16>>16;f=C[d>>2];c=f<<16>>16;d=c>>31;Za:{_a:{if((c^d)-d>>>0>16383){break _a}d=b>>31;if((d^b)-d>>>0>16383){break _a}if(!(b|c)){break Za}b=e<<16>>2;c=f<<16>>2}d=c;c=Wi(c,b)<<2;K=a,L=Ze(d,c),B[K+298>>1]=L;K=a,L=Ze(b,c),B[K+300>>1]=L}d=E[u>>1];$a:{if((d|0)==16384){b=B[a+294>>1];C[a+564>>2]=b;f=b;break $a}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;f=E[a+294>>1];break $a}f=B[a+294>>1];b=I(b,B[a+296>>1])+I(f,d<<16>>16)>>14;C[a+564>>2]=b}c=1177;C[a+572>>2]=(f&65535)==16384?1177:E[a+296>>1]==16384?1178:1179;c=E[a+290>>1]!=16384?E[a+292>>1]==16384?1178:1180:c;C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+576>>2]=c;ab:{if((b|0)!=16384){break ab}bb:{if((d|0)==16384){e=1184;c=1183;break bb}if(E[a+300>>1]!=16384){break ab}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 12:C[d>>2]=B[a+294>>1];C[d+4>>2]=B[a+296>>1];break p;case 13:C[d>>2]=B[a+298>>1];C[d+4>>2]=B[a+300>>1];break p;case 14:d=E[z>>1]|E[z+2>>1]<<16;B[u>>1]=d;g=d>>>16|0;B[u+2>>1]=g;c=d<<16>>16;e=1177;h=d&65535;cb:{if((h|0)==16384){f=1177;b=c;break cb}f=1178;b=16384;if((g|0)==16384){break cb}f=1179;b=d>>16;b=I(c,c)+I(b,b)>>>14|0}C[a+572>>2]=f;C[a+564>>2]=b;e=E[a+290>>1]!=16384?E[a+292>>1]==16384?1178:1180:e;C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+576>>2]=e;db:{if((b|0)!=16384){break db}eb:{if((h|0)==16384){e=1184;c=1183;break eb}if((g|0)!=16384){break db}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p;case 15:fb:{c=E[d+12>>1];b=E[a+44>>1];gb:{if(c>>>0>=b>>>0){break gb}e=E[d+16>>1];if(e>>>0>=b>>>0){break gb}f=E[d+4>>1];b=E[a+80>>1];if(f>>>0>=b>>>0){break gb}g=E[d+8>>1];if(g>>>0>=b>>>0){break gb}b=E[d>>1];if(b>>>0>1]){break fb}}if(!D[a+561|0]){break p}b=134;break i}h=C[a+52>>2];w=c<<3;c=h+w|0;d=C[c+4>>2];q=e<<3;i=q+h|0;j=C[i+4>>2];h=C[a+88>>2];e=f<<3;m=h+e|0;f=C[m>>2];v=g<<3;h=v+h|0;r=C[h>>2];g=C[m+4>>2];m=C[h+4>>2];h=C[c>>2];c=C[i>>2];i=b+C[a+132>>2]|0;A[i|0]=D[i|0]|24;i=r-f|0;s=j-d|0;G=0-s|0;j=m-g|0;m=c-h|0;c=of(i,G,64)+of(j,m,64)|0;r=c>>31;H=of(i,m,64)+of(j,s,64)|0;s=H>>31;if((s^H)-s>>>0>>0){d=of(h-f|0,G,64)+of(d-g|0,m,64)|0;f=of(d,i,c);c=of(d,j,c);b=C[a+124>>2]+(b<<3)|0;d=e+C[a+88>>2]|0;C[b>>2]=f+C[d>>2];C[b+4>>2]=c+C[d+4>>2];break p}b=C[a+124>>2]+(b<<3)|0;c=C[a+52>>2];d=c+w|0;f=C[a+88>>2];g=f+v|0;e=e+f|0;c=c+q|0;C[b>>2]=((C[d>>2]+(C[g>>2]+C[e>>2]|0)|0)+C[c>>2]|0)/4;C[b+4>>2]=(C[c+4>>2]+(C[d+4>>2]+(C[g+4>>2]+C[e+4>>2]|0)|0)|0)/4;break p;case 16:B[a+284>>1]=C[d>>2];break p;case 17:B[a+286>>1]=C[d>>2];break p;case 18:B[a+288>>1]=C[d>>2];break p;case 19:b=x;hb:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break hb}}c=C[b+4>>2];C[l>>2]=C[b>>2];C[l+4>>2]=c;C[l+32>>2]=C[b+32>>2];c=C[b+28>>2];C[l+24>>2]=C[b+24>>2];C[l+28>>2]=c;c=C[b+20>>2];C[l+16>>2]=C[b+16>>2];C[l+20>>2]=c;c=C[b+12>>2];C[l+8>>2]=C[b+8>>2];C[l+12>>2]=c;B[a+344>>1]=C[d>>2];break p;case 20:b=x;ib:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break ib}}c=C[b+4>>2];C[n>>2]=C[b>>2];C[n+4>>2]=c;C[n+32>>2]=C[b+32>>2];c=C[b+28>>2];C[n+24>>2]=C[b+24>>2];C[n+28>>2]=c;c=C[b+20>>2];C[n+16>>2]=C[b+16>>2];C[n+20>>2]=c;c=C[b+12>>2];C[n+8>>2]=C[b+8>>2];C[n+12>>2]=c;B[a+346>>1]=C[d>>2];break p;case 21:b=x;jb:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break jb}}c=C[b+4>>2];C[o>>2]=C[b>>2];C[o+4>>2]=c;C[o+32>>2]=C[b+32>>2];c=C[b+28>>2];C[o+24>>2]=C[b+24>>2];C[o+28>>2]=c;c=C[b+20>>2];C[o+16>>2]=C[b+16>>2];C[o+20>>2]=c;c=C[b+12>>2];C[o+8>>2]=C[b+8>>2];C[o+12>>2]=c;B[a+348>>1]=C[d>>2];break p;case 22:b=x;kb:{switch(C[d>>2]){default:if(!D[a+561|0]){break p}b=134;break i;case 1:b=y;break;case 0:break kb}}g=C[b+4>>2];c=C[b>>2];C[l>>2]=c;C[l+4>>2]=g;m=C[b+32>>2];C[l+32>>2]=m;h=C[b+28>>2];e=C[b+24>>2];C[l+24>>2]=e;C[l+28>>2]=h;i=C[b+20>>2];f=C[b+16>>2];C[l+16>>2]=f;C[l+20>>2]=i;j=C[b+12>>2];b=C[b+8>>2];C[l+8>>2]=b;C[l+12>>2]=j;C[n+32>>2]=m;C[n+24>>2]=e;C[n+28>>2]=h;C[n+16>>2]=f;C[n+20>>2]=i;C[n+8>>2]=b;C[n+12>>2]=j;C[n>>2]=c;C[n+4>>2]=g;C[o+32>>2]=C[l+32>>2];b=C[l+28>>2];C[o+24>>2]=C[l+24>>2];C[o+28>>2]=b;b=C[l+20>>2];C[o+16>>2]=C[l+16>>2];C[o+20>>2]=b;b=C[l+12>>2];C[o+8>>2]=C[l+8>>2];C[o+12>>2]=b;b=C[l+4>>2];C[o>>2]=C[l>>2];C[o+4>>2]=b;b=E[d>>1];B[a+348>>1]=b;B[a+346>>1]=b;B[a+344>>1]=b;break p;case 23:b=C[d>>2];if((b|0)<0){b=132;break i}C[a+304>>2]=b;break p;case 24:C[a+568>>2]=1187;C[a+312>>2]=1;break p;case 25:C[a+568>>2]=1188;C[a+312>>2]=0;break p;case 26:C[a+308>>2]=C[d>>2];break p;case 27:b=C[a+360>>2];c=C[a+364>>2];d=1;while(1){b=b+f|0;C[a+360>>2]=b;if((b|0)>=(c|0)){b=131;break i}e=D[b+g|0];A[a+368|0]=e;f=A[e+353312|0];C[a+372>>2]=f;if((e&254)==64){h=b+1|0;if((h|0)>=(c|0)){b=131;break i}f=2-I(D[g+h|0],f)|0;C[a+372>>2]=f}if((c|0)<(b+f|0)){b=131;break i}lb:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break p;case 1:d=d-1|0;break;default:break lb}}if(d){continue}break};break p;case 28:b=C[d>>2];if(!(b|e)){C[a+12>>2]=132}b=b+C[a+360>>2]|0;C[a+360>>2]=b;mb:{if((b|0)>=0){c=C[a+428>>2];if((c|0)<=0|(b|0)<=C[C[(C[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break mb}}C[a+12>>2]=132}A[a+376|0]=0;break p;case 29:C[a+320>>2]=C[d>>2];break p;case 30:C[a+324>>2]=C[d>>2];break p;case 31:K=a,L=Te(C[d>>2],C[a+260>>2]),C[K+328>>2]=L;break p;case 32:C[d+4>>2]=C[d>>2];break p;case 34:C[a+32>>2]=0;break p;case 35:K=d,L=sT(C[d>>2],C[d+4>>2]),C[K>>2]=L;C[d+4>>2]=Ee;break p;case 36:C[d>>2]=C[a+16>>2];break p;case 37:b=C[d>>2];nb:{if(!((b|0)>0&b>>>0<=e>>>0)){b=0;if(!D[a+561|0]){break nb}C[a+12>>2]=134;C[d>>2]=0;break p}b=C[j+(e-b<<2)>>2]}C[d>>2]=b;break p;case 38:b=C[d>>2];if(!((b|0)>0&b>>>0<=e>>>0)){if(!D[a+561|0]){break p}b=134;break i}c=j+(e-b<<2)|0;d=C[c>>2];t(c,c+4|0,(b<<2)-4|0);C[(C[a+24>>2]+(C[a+28>>2]<<2)|0)-4>>2]=d;break p;case 39:ob:{b=E[d>>1];if(b>>>0>1]){c=E[d+4>>1];if(c>>>0>1]){break ob}}if(!D[a+561|0]){break p}b=134;break i}e=b;d=C[a+52>>2]+(c<<3)|0;b=C[a+88>>2]+(b<<3)|0;b=(Fe[C[a+572>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0)/2|0;Fe[C[a+584>>2]](a,n,e,b);Fe[C[a+584>>2]](a,l,c,0-b|0);break p;case 41:b=E[d>>1];if(b>>>0>=E[a+44>>1]){if(!D[a+561|0]){break p}b=134;break i}b=b+C[a+60>>2]|0;c=b;d=D[b|0];b=E[a+298>>1]?-9:-1;A[c|0]=d&(E[a+300>>1]?b&239:b);break p;case 42:b=134;f=C[d+4>>2];c=C[a+420>>2]+1|0;if(f>>>0>=c>>>0){break i}e=C[a+404>>2];g=C[a+396>>2];pb:{if((g|0)==(c|0)){c=e+I(f,24)|0;if((f|0)==C[c+12>>2]){break pb}}h=e+I(g,24)|0;c=e;qb:{if((g|0)<=0){break qb}while(1){if((f|0)==C[c+12>>2]){break qb}c=c+24|0;if(h>>>0>c>>>0){continue}break}}if((c|0)==(h|0)){break i}}if(!D[c+16|0]){break i}b=130;e=C[a+428>>2];if((e|0)>=C[a+432>>2]){break i}if(C[d>>2]<=0){break p}b=C[a+436>>2]+(e<<4)|0;C[b>>2]=C[a+352>>2];C[b+4>>2]=C[a+360>>2]+1;d=C[d>>2];C[b+12>>2]=c;C[b+8>>2]=d;C[a+428>>2]=e+1;b=C[c>>2];rb:{if(b-4>>>0<=4294967292){C[a+12>>2]=132;break rb}d=(b-1<<3)+a|0;e=C[d+444>>2];if(!e){C[a+12>>2]=138;break rb}d=C[d+448>>2];c=C[c+4>>2];if((d|0)<(c|0)){C[a+12>>2]=131;break rb}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=c;C[a+352>>2]=b}A[a+376|0]=0;break p;case 43:b=134;e=C[d>>2];c=C[a+420>>2]+1|0;if(e>>>0>=c>>>0){break i}d=C[a+404>>2];f=C[a+396>>2];sb:{if((f|0)==(c|0)){c=d+I(e,24)|0;if((e|0)==C[c+12>>2]){break sb}}g=d+I(f,24)|0;c=d;tb:{if((f|0)<=0){break tb}while(1){if((e|0)==C[c+12>>2]){break tb}c=c+24|0;if(g>>>0>c>>>0){continue}break}}if((c|0)==(g|0)){break i}}if(!D[c+16|0]){break i}b=130;d=C[a+428>>2];if((d|0)>=C[a+432>>2]){break i}b=C[a+436>>2]+(d<<4)|0;C[b>>2]=C[a+352>>2];e=C[a+360>>2];C[b+12>>2]=c;C[b+8>>2]=1;C[b+4>>2]=e+1;C[a+428>>2]=d+1;b=C[c>>2];ub:{if(b-4>>>0<=4294967292){C[a+12>>2]=132;break ub}d=(b-1<<3)+a|0;e=C[d+444>>2];if(!e){C[a+12>>2]=138;break ub}d=C[d+448>>2];c=C[c+4>>2];if((d|0)<(c|0)){C[a+12>>2]=131;break ub}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=c;C[a+352>>2]=b}A[a+376|0]=0;break p;case 44:c=C[a+404>>2];e=C[a+396>>2];h=c+I(e,24)|0;b=C[d>>2];vb:{if((e|0)<=0){break vb}while(1){if((b|0)==C[c+12>>2]){break vb}c=c+24|0;if(h>>>0>c>>>0){continue}break}}if((c|0)==(h|0)){if(e>>>0>=F[a+400>>2]){b=140;break i}C[a+396>>2]=e+1}if(b>>>0>65535){b=140;break i}d=C[a+352>>2];C[c+12>>2]=b;C[c>>2]=d;e=C[a+360>>2];C[c+20>>2]=0;B[c+16>>1]=1;C[c+4>>2]=e+1;if(b>>>0>F[a+420>>2]){C[a+420>>2]=b}h=C[a+364>>2];while(1){e=e+f|0;C[a+360>>2]=e;if((e|0)>=(h|0)){b=131;break i}d=D[e+g|0];A[a+368|0]=d;f=A[d+353312|0];C[a+372>>2]=f;if((d&254)==64){b=e+1|0;if((b|0)>=(h|0)){b=131;break i}f=2-I(D[b+g|0],f)|0;C[a+372>>2]=f}if((h|0)<(e+f|0)){b=131;break i}b=137;wb:{switch(d-44|0){case 1:C[c+8>>2]=e;break p;case 0:break i;default:break wb}}if((d|0)!=137){continue}break};break i;case 33:case 89:case 126:case 127:C[a+16>>2]=C[a+32>>2];break n;case 137:break Ca;case 138:break Da;case 139:break Ea;case 140:break Fa;case 141:break Ga;case 142:break Ha;case 40:case 123:case 131:case 132:case 143:break Ia;case 79:break i;case 45:break q;case 46:case 47:break r;case 48:case 49:break s;case 50:case 51:break t;case 52:case 53:break u;case 54:case 55:break v;case 56:break w;case 57:break x;case 58:case 59:break y;case 60:break z;case 61:break A;case 62:case 63:break B;case 64:break C;case 65:break D;case 66:break E;case 67:break F;case 68:break G;case 69:break H;case 70:case 71:break I;case 72:break J;case 73:case 74:break K;case 75:break L;case 76:break M;case 77:break N;case 78:break O;case 80:break P;case 81:break Q;case 82:break R;case 83:break S;case 84:break T;case 85:break U;case 86:break V;case 87:break W;case 88:break X;case 90:break Y;case 91:break Z;case 92:break _;case 93:break $;case 94:break aa;case 95:break ba;case 96:break ca;case 97:break da;case 98:break ea;case 99:break fa;case 100:break ga;case 101:break ha;case 102:break ia;case 103:break ja;case 104:case 105:case 106:case 107:break ka;case 108:case 109:case 110:case 111:break la;case 112:break ma;case 113:case 114:break na;case 115:case 116:case 117:break oa;case 118:break pa;case 119:break qa;case 120:break ra;case 121:break sa;case 122:break ta;case 124:break ua;case 125:break va;case 128:break wa;case 129:break xa;case 130:break ya;case 133:break za;case 134:case 135:break Aa;case 136:break Ba;default:break Ja}}if(c>>>0>=224){xb:{yb:{e=E[d>>1];zb:{if(e>>>0>=E[a+80>>1]){break zb}c=C[d+4>>2];d=c+1|0;if(d>>>0>=C[a+380>>2]+1>>>0){break zb}if(E[a+284>>1]>1]){break yb}}if(!D[a+561|0]){break xb}C[a+12>>2]=134;break xb}h=C[a+320>>2];f=C[a+308>>2];b=0;if(d){b=Fe[C[a+596>>2]](a,c)|0}c=C[a+328>>2];g=b-c|0;d=g>>31;b=C[a+324>>2]>((d^g)-d|0)?(b|0)<0?0-c|0:c:b;if(!E[a+346>>1]){d=B[a+298>>1];c=d>>31;i=(c^d)-c|0;c=b>>31;j=(c^b)-c|0;m=j>>>16|0;r=I(i,m);g=r<<16|8192;s=e<<3;c=s+C[a+84>>2]|0;w=C[a+48>>2]+(E[a+284>>1]<<3)|0;q=g;v=i;i=j&65535;g=g+I(v,i)|0;g=(r>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;C[c>>2]=C[w>>2]+((b^d)<0?0-g|0:g);d=B[a+300>>1];g=d>>31;j=(d^g)-g|0;m=I(j,m);g=m<<16|8192;q=g;g=g+I(i,j)|0;g=(m>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;C[c+4>>2]=C[w+4>>2]+((b^d)<0?0-g|0:g);g=C[c+4>>2];d=s+C[a+88>>2]|0;C[d>>2]=C[c>>2];C[d+4>>2]=g}c=e<<3;d=c+C[a+84>>2]|0;g=C[a+48>>2]+(E[a+284>>1]<<3)|0;d=Fe[C[a+576>>2]](a,C[d>>2]-C[g>>2]|0,C[d+4>>2]-C[g+4>>2]|0)|0;c=c+C[a+88>>2]|0;g=C[a+52>>2]+(E[a+284>>1]<<3)|0;i=Fe[C[a+572>>2]](a,C[c>>2]-C[g>>2]|0,C[c+4>>2]-C[g+4>>2]|0)|0;c=D[a+316|0]?(b^d)<0?0-b|0:b:b;b=D[a+368|0];Ab:{if(b&4){if(E[a+344>>1]==E[a+346>>1]){j=c-d|0;g=j>>31;c=(h|0)<((g^j)-g|0)?d:c}c=Fe[C[a+568>>2]](a,c,C[(((b&3)<<2)+a|0)+264>>2])|0;b=D[a+368|0];break Ab}g=C[(((b&3)<<2)+a|0)+264>>2];if((c|0)>=0){c=c+g|0;c=(c|0)>0?c:0;break Ab}c=c-g|0;c=c>>31&c}g=a+72|0;Bb:{if(!(b&8)){break Bb}if((d|0)>=0){c=(c|0)>(f|0)?c:f;break Bb}b=0-f|0;c=(b|0)>(c|0)?c:b}Fe[C[a+584>>2]](a,g,e,c-i|0)}B[a+286>>1]=E[a+284>>1];if(D[a+368|0]&16){B[a+284>>1]=e}B[a+288>>1]=e;break p}if(c>>>0>=192){Cb:{Db:{c=E[d>>1];if(c>>>0>1]){b=E[a+284>>1];if(b>>>0>1]){break Db}}if(!D[a+561|0]){break Cb}C[a+12>>2]=134;break Cb}f=C[a+308>>2];Eb:{if(!(E[a+346>>1]?E[a+344>>1]:0)){d=C[a+84>>2]+(c<<3)|0;b=C[a+48>>2]+(b<<3)|0;b=Fe[C[a+576>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0;break Eb}b=C[a+56>>2]+(b<<3)|0;d=C[a+92>>2]+(c<<3)|0;e=C[a+220>>2];if((e|0)==C[a+224>>2]){b=Te(Fe[C[a+576>>2]](a,C[d>>2]-C[b>>2]|0,C[d+4>>2]-C[b+4>>2]|0)|0,C[a+220>>2]);break Eb}b=(L=a,M=Te(C[d>>2]-C[b>>2]|0,e),N=Te(C[d+4>>2]-C[b+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](L|0,M|0,N|0)|0)}d=C[a+328>>2];g=b-d|0;e=g>>31;e=C[a+324>>2]>((e^g)-e|0)?(b|0)<0?0-d|0:d:b;d=D[a+368|0];Fb:{if(d&4){b=Fe[C[a+568>>2]](a,e,C[(((d&3)<<2)+a|0)+264>>2])|0;d=D[a+368|0];break Fb}b=C[(((d&3)<<2)+a|0)+264>>2];if((e|0)>=0){b=b+e|0;b=(b|0)>0?b:0;break Fb}b=e-b|0;b=b>>31&b}g=a+72|0;Gb:{if(!(d&8)){break Gb}if((e|0)>=0){b=(b|0)>(f|0)?b:f;break Gb}d=0-f|0;b=(b|0)<(d|0)?b:d}e=b;b=C[a+88>>2]+(c<<3)|0;d=C[a+52>>2]+(E[a+284>>1]<<3)|0;N=a,M=g,L=c,O=e-(Fe[C[a+572>>2]](a,C[b>>2]-C[d>>2]|0,C[b+4>>2]-C[d+4>>2]|0)|0)|0,K=C[a+584>>2],Fe[K](N|0,M|0,L|0,O|0)}B[a+288>>1]=c;B[a+286>>1]=E[a+284>>1];if(D[a+368|0]&16){B[a+284>>1]=c}break p}if(c>>>0>=184){b=D[a+368|0]+65353|0;c=b&65535;if(c>>>0>=(C[a+20>>2]-C[a+16>>2]|0)+1>>>0){C[a+12>>2]=130;break p}C[a+360>>2]=C[a+360>>2]+1;Hb:{if(!c){break Hb}f=b&1;e=C[a+356>>2];b=0;if((c|0)!=1){g=c-f|0;c=0;while(1){h=C[a+360>>2];C[a+360>>2]=h+2;i=b<<2;h=e+h|0;h=D[h|0]|D[h+1|0]<<8;C[i+d>>2]=(h<<8|h>>>8)<<16>>16;h=C[a+360>>2];C[a+360>>2]=h+2;h=e+h|0;h=D[h|0]|D[h+1|0]<<8;C[d+(i|4)>>2]=(h<<8|h>>>8)<<16>>16;b=b+2|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!f){break Hb}c=C[a+360>>2];C[a+360>>2]=c+2;d=d+(b<<2)|0;b=c+e|0;b=D[b|0]|D[b+1|0]<<8;C[d>>2]=(b<<8|b>>>8)<<16>>16}A[a+376|0]=0;break p}if(c>>>0<176){break Ia}e=D[a+368|0]+65361|0;b=e&65535;Ib:{if(b>>>0<(C[a+20>>2]-C[a+16>>2]|0)+1>>>0){if(b){f=C[a+356>>2];b=1;c=1;while(1){C[(d+(b<<2)|0)-4>>2]=D[f+(C[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(e&65535)>>>0){continue}break}}break Ib}C[a+12>>2]=130}break p}c=C[a+408>>2];Jb:{if((c|0)>0){b=C[a+416>>2];c=b+I(c,24)|0;d=D[a+368|0];while(1){if(!(!D[b+16|0]|(d|0)!=D[b+12|0])){c=C[a+428>>2];if((c|0)>=C[a+432>>2]){C[a+12>>2]=130;break Jb}C[a+428>>2]=c+1;c=C[a+436>>2]+(c<<4)|0;C[c>>2]=C[a+352>>2];d=C[a+360>>2];C[c+12>>2]=b;C[c+8>>2]=1;C[c+4>>2]=d+1;c=C[b>>2];Kb:{if(c-4>>>0<=4294967292){C[a+12>>2]=132;break Kb}d=(c-1<<3)+a|0;e=C[d+444>>2];if(!e){C[a+12>>2]=138;break Kb}d=C[d+448>>2];b=C[b+4>>2];if((d|0)<(b|0)){C[a+12>>2]=131;break Kb}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=b;C[a+352>>2]=c}A[a+376|0]=0;break Jb}b=b+24|0;if(c>>>0>b>>>0){continue}break}}C[a+12>>2]=128}break p}b=C[d+4>>2];if(b-4>>>0<=4294967292){if(!D[a+561|0]){break p}b=134;break i}c=C[d>>2];b=1<>2];if((b|0)<0){break p}C[a+340>>2]=b;break p}b=C[d+4>>2];if((b|0)>=C[d>>2]){break p}C[d>>2]=b;break p}b=C[d+4>>2];if((b|0)<=C[d>>2]){break p}C[d>>2]=b;break p}b=C[d+4>>2];c=C[d+8>>2];C[d+8>>2]=C[d>>2];C[d>>2]=b;C[d+4>>2]=c;break p}c=C[a+416>>2];e=C[a+408>>2];b=c+I(e,24)|0;Lb:{if((e|0)<=0){break Lb}h=C[d>>2];while(1){if((h|0)==C[c+12>>2]){break Lb}c=c+24|0;if(b>>>0>c>>>0){continue}break}}Mb:{if((b|0)==(c|0)){b=141;if(e>>>0>=F[a+412>>2]){break Mb}C[a+408>>2]=e+1}b=141;e=C[d>>2];if(e>>>0>255){break Mb}C[c+12>>2]=e;e=C[a+360>>2];C[c+4>>2]=e+1;b=C[a+352>>2];A[c+16|0]=1;C[c>>2]=b;b=C[d>>2];if(b>>>0>F[a+424>>2]){C[a+424>>2]=b&255}d=C[a+364>>2];while(1){e=e+f|0;C[a+360>>2]=e;b=131;if((d|0)<=(e|0)){break Mb}c=D[e+g|0];A[a+368|0]=c;f=A[c+353312|0];C[a+372>>2]=f;if((c&254)==64){h=e+1|0;if((h|0)>=(d|0)){break Mb}f=2-I(D[g+h|0],f)|0;C[a+372>>2]=f}if((d|0)<(e+f|0)){break Mb}b=137;Nb:{switch(c-44|0){case 0:break Mb;case 1:break p;default:break Nb}}if((c|0)!=137){continue}break}}C[a+12>>2]=b;break o}c=C[d>>2];b=0-(c&1)&35;b=c&2?D[a+281|0]?b|128:b:b;b=c&4?D[a+282|0]?b|256:b:b;if(c&32){b=D[a+608|0]?b|4096:b}C[d>>2]=b;break p}Ob:{b=E[d>>1];if(b>>>0>1]){d=E[d+4>>1];if(d>>>0>1]){break Ob}}if(!D[a+561|0]){break p}b=134;break i}f=C[a+84>>2]+(b<<3)|0;g=C[f+4>>2];h=C[a+120>>2]+(d<<3)|0;i=C[h+4>>2];e=g-i|0;j=C[f>>2];h=C[h>>2];f=(j|0)==(h|0)&(g|0)==(i|0);g=f?16384:j-h|0;f=f|!(c&1);c=f?e:g;e=f?g:0-e|0;g=e>>31;Pb:{Qb:{if((e^g)-g>>>0>16383){break Qb}g=c>>31;if((g^c)-g>>>0>16383){break Qb}if(!(c|e)){break Pb}c=c<<14;e=e<<14}g=e;e=Wi(e,c)<<2;K=a,O=Ze(g,e),B[K+290>>1]=O;K=a,O=Ze(c,e),B[K+292>>1]=O}b=C[a+88>>2]+(b<<3)|0;e=C[b+4>>2];d=C[a+124>>2]+(d<<3)|0;g=C[d+4>>2];c=e-g|0;h=C[b>>2];d=C[d>>2];b=(h|0)==(d|0)&(e|0)==(g|0);d=b?16384:h-d|0;e=b|f;b=e?c:d;c=e?d:0-c|0;d=c>>31;Rb:{Sb:{if((c^d)-d>>>0>16383){break Sb}d=b>>31;if((d^b)-d>>>0>16383){break Sb}if(!(b|c)){break Rb}b=b<<14;c=c<<14}d=c;c=Wi(c,b)<<2;K=a,O=Ze(d,c),B[K+294>>1]=O;K=a,O=Ze(b,c),B[K+296>>1]=O}d=E[u>>1];Tb:{if((d|0)==16384){b=B[a+294>>1];C[a+564>>2]=b;f=b;break Tb}b=B[a+300>>1];if((b|0)==16384){b=B[a+296>>1];C[a+564>>2]=b;f=E[a+294>>1];break Tb}f=B[a+294>>1];b=I(b,B[a+296>>1])+I(f,d<<16>>16)>>14;C[a+564>>2]=b}c=1177;C[a+572>>2]=(f&65535)==16384?1177:E[a+296>>1]==16384?1178:1179;c=E[a+290>>1]!=16384?E[a+292>>1]==16384?1178:1180:c;C[a+588>>2]=1181;C[a+584>>2]=1182;C[a+576>>2]=c;Ub:{if((b|0)!=16384){break Ub}Vb:{if((d|0)==16384){e=1184;c=1183;break Vb}if(E[a+300>>1]!=16384){break Ub}e=1186;c=1185}C[a+588>>2]=c;C[a+584>>2]=e}c=b;b=b>>31;if((c^b)-b>>>0<=1023){C[a+564>>2]=16384}C[a+256>>2]=0;break p}b=C[d>>2];c=b&255;if((c|0)==255){A[a+337|0]=1;break p}if(!c){A[a+337|0]=0;break p}if(!(!(b&256)|c>>>0>1])){A[a+337|0]=1}if(!(!(b&512)|!D[a+281|0])){A[a+337|0]=1}if(!(!(b&1024)|!D[a+282|0])){A[a+337|0]=1}if(!(!(b&2048)|c>>>0>=E[a+252>>1])){A[a+337|0]=0}if(!(!(b&4096)|!D[a+281|0])){A[a+337|0]=0}if(!(b&8192)|!D[a+282|0]){break p}A[a+337|0]=0;break p}Wb:{f=E[d+4>>1];b=E[a+152>>1];if(f>>>0>=b>>>0){break Wb}c=E[d>>1];if(b>>>0<=c>>>0){break Wb}if(c>>>0>f>>>0){break p}e=0;b=c;d=f-b|0;g=d+1&3;if(g){while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]&254;b=b+1|0;c=b&65535;e=e+1|0;if((g|0)!=(e&65535)){continue}break}}if((d&65535)>>>0<3){break p}while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]&254;c=C[a+168>>2]+(b+1&65535)|0;A[c|0]=D[c|0]&254;c=C[a+168>>2]+(b+2&65535)|0;A[c|0]=D[c|0]&254;c=C[a+168>>2]+(b+3&65535)|0;A[c|0]=D[c|0]&254;b=b+4|0;c=b&65535;if(f>>>0>=c>>>0){continue}break}break p}if(!D[a+561|0]){break p}b=134;break i}Xb:{f=E[d+4>>1];b=E[a+152>>1];if(f>>>0>=b>>>0){break Xb}c=E[d>>1];if(b>>>0<=c>>>0){break Xb}if(c>>>0>f>>>0){break p}e=0;b=c;d=f-b|0;g=d+1&3;if(g){while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]|1;b=b+1|0;c=b&65535;e=e+1|0;if((g|0)!=(e&65535)){continue}break}}if((d&65535)>>>0<3){break p}while(1){c=C[a+168>>2]+c|0;A[c|0]=D[c|0]|1;c=C[a+168>>2]+(b+1&65535)|0;A[c|0]=D[c|0]|1;c=C[a+168>>2]+(b+2&65535)|0;A[c|0]=D[c|0]|1;c=C[a+168>>2]+(b+3&65535)|0;A[c|0]=D[c|0]|1;b=b+4|0;c=b&65535;if(f>>>0>=c>>>0){continue}break}break p}if(!D[a+561|0]){break p}b=134;break i}c=C[a+304>>2];Yb:{if((c|0)<=C[a+16>>2]){if((c|0)<=0){break Yb}while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];Zb:{if(b>>>0>=E[a+152>>1]){b=c;if(!D[a+561|0]){break Zb}b=134;break i}b=b+C[a+168>>2]|0;A[b|0]=D[b|0]^1;b=C[a+304>>2]}c=b-1|0;C[a+304>>2]=c;if((b|0)>1){continue}break}e=C[a+28>>2];break Yb}if(!D[a+561|0]){break Yb}C[a+12>>2]=129}C[a+32>>2]=e;C[a+304>>2]=1;break p}C[a+568>>2]=1189;C[a+312>>2]=3;break p}C[a+568>>2]=1190;C[a+312>>2]=4;break p}C[a+568>>2]=1191;C[a+312>>2]=5;break p}if(C[d+4>>2]){break p}b=C[d>>2];if(!(b|e)){C[a+12>>2]=132}b=b+C[a+360>>2]|0;C[a+360>>2]=b;_b:{if((b|0)>=0){c=C[a+428>>2];if((c|0)<=0|(b|0)<=C[C[(C[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break _b}}C[a+12>>2]=132}A[a+376|0]=0;break p}if(!C[d+4>>2]){break p}b=C[d>>2];if(!(b|e)){C[a+12>>2]=132}b=b+C[a+360>>2]|0;C[a+360>>2]=b;$b:{if((b|0)>=0){c=C[a+428>>2];if((c|0)<=0|(b|0)<=C[C[(C[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break $b}}C[a+12>>2]=132}A[a+376|0]=0;break p}d=C[d>>2];c=d>>>4|0;b=C[(c&12)+354696>>2];ac:{bc:{cc:{dc:{c=c&3;switch(c-1|0){case 2:break bc;case 1:break cc;case 0:break dc;default:break ac}}c=b>>>10|0;break ac}c=b>>>9|0;break ac}c=I(b,3)>>>10|0}C[a+480>>2]=c;C[a+568>>2]=1192;C[a+312>>2]=7;c=d&15;if(c){c=(I(b,c-4|0)|0)/8|0}else{c=b-1|0}C[a+484>>2]=c>>8;C[a+476>>2]=b>>>8;break p}d=C[d>>2];c=d>>>4|0;b=C[(c&12)+354680>>2];ec:{fc:{gc:{hc:{c=c&3;switch(c-1|0){case 2:break fc;case 1:break gc;case 0:break hc;default:break ec}}c=b>>>10|0;break ec}c=b>>>9|0;break ec}c=I(b,3)>>>10|0}C[a+480>>2]=c;C[a+568>>2]=1193;C[a+312>>2]=6;C[a+476>>2]=b>>>8;c=d&15;C[a+484>>2]=(c?I(b,c-4|0)>>3:b-1|0)>>8;break p}e=Fe[C[a+592>>2]](a)|0;c=1;d=C[d>>2];ic:{if(!d){break ic}while(1){b=C[a+28>>2];if((b|0)<=1){if(D[a+561|0]){C[a+12>>2]=129}C[a+28>>2]=0;break ic}f=b-2|0;C[a+28>>2]=f;g=b<<2;b=C[a+24>>2];g=C[(g+b|0)-4>>2];jc:{if(g>>>0>=F[a+380>>2]){if(!D[a+561|0]){break jc}b=134;break i}f=C[b+(f<<2)>>2];b=f>>>4&15;kc:{lc:{switch(D[a+368|0]-116|0){case 0:b=b|16;break kc;case 1:break lc;default:break kc}}b=b|32}if((e|0)!=(E[a+332>>1]+b|0)){break jc}b=f&15;Fe[C[a+604>>2]](a,g,(b>>>0>7?-7:-8)+b<<6-E[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}C[a+32>>2]=C[a+28>>2];break p}Ku(a,d);break p}b=C[d>>2];if(b>>>0>=F[a+380>>2]){if(!D[a+561|0]){break p}b=134;break i}c=Te(C[d+4>>2],C[a+260>>2]);C[C[a+384>>2]+(b<<2)>>2]=c;break p}b=C[((c<<2)+a|0)-168>>2];c=C[d>>2];if((c|0)>=0){b=b+c|0;C[d>>2]=(b|0)>0?b:0;break p}b=c-b|0;C[d>>2]=b>>31&b;break p}K=d,O=Fe[C[a+568>>2]](a,C[d>>2],C[((c<<2)+a|0)-152>>2])|0,C[K>>2]=O;break p}C[d>>2]=C[d>>2]+63&-64;break p}C[d>>2]=C[d>>2]&-64;break p}C[d>>2]=0-C[d>>2];break p}c=C[d>>2];b=c>>31;C[d>>2]=(b^c)-b;break p}K=d,O=of(C[d>>2],C[d+4>>2],64),C[K>>2]=O;break p}b=C[d+4>>2];if(!b){b=133;break i}K=d,O=Bp(C[d>>2],64,b),C[K>>2]=O;break p}C[d>>2]=C[d>>2]-C[d+4>>2];break p}C[d>>2]=C[d>>2]+C[d+4>>2];break p}b=C[d>>2];if(b>>>0>6){b=132;break i}B[a+334>>1]=b;break p}B[a+332>>1]=C[d>>2];break p}Ku(a,d);break p}C[d>>2]=!C[d>>2];break p}C[d>>2]=C[d>>2]?1:C[d+4>>2]!=0;break p}if(!C[d>>2]){C[d>>2]=0;break p}C[d>>2]=C[d+4>>2]!=0;break p}if(C[d>>2]){break p}b=C[a+360>>2];e=C[a+364>>2];d=1;while(1){b=b+f|0;C[a+360>>2]=b;if((b|0)>=(e|0)){b=131;break i}c=D[b+g|0];A[a+368|0]=c;f=A[c+353312|0];C[a+372>>2]=f;if((c&254)==64){h=b+1|0;if((h|0)>=(e|0)){b=131;break i}f=2-I(D[g+h|0],f)|0;C[a+372>>2]=f}if((e|0)<(b+f|0)){b=131;break i}mc:{if((c|0)!=27){nc:{switch(c-88|0){case 1:break mc;case 0:break nc;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break p}d=d-1|0;if(d){continue}break}break p}K=d,O=!(Fe[C[a+568>>2]](a,C[d>>2],0)&127),C[K>>2]=O;break p}K=d,O=(Fe[C[a+568>>2]](a,C[d>>2],0)&127)==64,C[K>>2]=O;break p}C[d>>2]=C[d>>2]!=C[d+4>>2];break p}C[d>>2]=C[d>>2]==C[d+4>>2];break p}C[d>>2]=C[d>>2]>=C[d+4>>2];break p}C[d>>2]=C[d>>2]>C[d+4>>2];break p}C[d>>2]=C[d>>2]<=C[d+4>>2];break p}C[d>>2]=C[d>>2]>2];break p}A[a+316|0]=0;break p}A[a+316|0]=1;break p}K=d,O=Fe[C[a+592>>2]](a)|0,C[K>>2]=O;break p}K=d,O=Fe[C[a+592>>2]](a)|0,C[K>>2]=O;break p}oc:{pc:{e=E[d>>1];if(e>>>0>1]){b=E[d+4>>1];if(b>>>0>1]){break pc}}b=0;if(!D[a+561|0]){break oc}C[a+12>>2]=134;C[d>>2]=0;break p}if(c&1){c=C[a+52>>2]+(e<<3)|0;b=C[a+88>>2]+(b<<3)|0;K=d,O=Fe[C[a+572>>2]](a,C[c>>2]-C[b>>2]|0,C[c+4>>2]-C[b+4>>2]|0)|0,C[K>>2]=O;break p}if(!(E[a+346>>1]?E[a+344>>1]:0)){c=C[a+48>>2]+(e<<3)|0;b=C[a+84>>2]+(b<<3)|0;K=d,O=Fe[C[a+576>>2]](a,C[c>>2]-C[b>>2]|0,C[c+4>>2]-C[b+4>>2]|0)|0,C[K>>2]=O;break p}b=C[a+92>>2]+(b<<3)|0;c=C[a+56>>2]+(e<<3)|0;e=C[a+220>>2];if((e|0)==C[a+224>>2]){K=d,O=Te(Fe[C[a+576>>2]](a,C[c>>2]-C[b>>2]|0,C[c+4>>2]-C[b+4>>2]|0)|0,C[a+220>>2]),C[K>>2]=O;break p}b=(O=a,L=Te(C[c>>2]-C[b>>2]|0,e),M=Te(C[c+4>>2]-C[b+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](O|0,L|0,M|0)|0)}C[d>>2]=b;break p}b=E[d>>1];if(b>>>0>=E[a+116>>1]){if(!D[a+561|0]){break p}b=134;break i}c=b<<3;e=c+C[a+124>>2]|0;e=Fe[C[a+572>>2]](a,C[e>>2],C[e+4>>2])|0;Fe[C[a+584>>2]](a,o,b,C[d+4>>2]-e|0);if(E[a+348>>1]){break p}b=c+C[a+120>>2]|0;c=c+C[a+124>>2]|0;d=C[c+4>>2];C[b>>2]=C[c>>2];C[b+4>>2]=d;break p}b=C[d>>2];qc:{if(b>>>0>=E[a+116>>1]){b=0;if(!D[a+561|0]){break qc}C[a+12>>2]=134;C[d>>2]=0;break p}if(c&1){b=C[a+120>>2]+(b<<3)|0;K=d,M=Fe[C[a+576>>2]](a,C[b>>2],C[b+4>>2])|0,C[K>>2]=M;break p}b=C[a+124>>2]+(b<<3)|0;b=Fe[C[a+572>>2]](a,C[b>>2],C[b+4>>2])|0}C[d>>2]=b;break p}b=C[d>>2];rc:{if(b>>>0>=F[a+380>>2]){b=0;if(!D[a+561|0]){break rc}b=134;break i}b=Fe[C[a+596>>2]](a,b)|0}C[d>>2]=b;break p}b=C[d>>2];if(b>>>0>=F[a+380>>2]){if(!D[a+561|0]){break p}b=134;break i}Fe[C[a+600>>2]](a,b,C[d+4>>2]);break p}b=C[d>>2];sc:{if(b>>>0>=E[a+468>>1]){b=0;if(!D[a+561|0]){break sc}b=134;break i}b=C[C[a+472>>2]+(b<<2)>>2]}C[d>>2]=b;break p}b=C[d>>2];if(b>>>0>=E[a+468>>1]){if(!D[a+561|0]){break p}b=134;break i}C[C[a+472>>2]+(b<<2)>>2]=C[d+4>>2];break p}b=130;c=C[a+360>>2];e=D[(c+g|0)+1|0];if(e>>>0>=(h-C[a+16>>2]|0)+1>>>0){break i}C[a+360>>2]=c+2;if(e){b=0;if((e|0)!=1){f=e&254;c=0;while(1){h=C[a+360>>2];C[a+360>>2]=h+2;i=b<<2;h=g+h|0;h=D[h|0]|D[h+1|0]<<8;C[i+d>>2]=(h<<8|h>>>8)<<16>>16;h=C[a+360>>2];C[a+360>>2]=h+2;h=g+h|0;h=D[h|0]|D[h+1|0]<<8;C[d+(i|4)>>2]=(h<<8|h>>>8)<<16>>16;b=b+2|0;c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(e&1){c=C[a+360>>2];C[a+360>>2]=c+2;d=d+(b<<2)|0;b=c+g|0;b=D[b|0]|D[b+1|0]<<8;C[d>>2]=(b<<8|b>>>8)<<16>>16}i=C[a+32>>2]}A[a+376|0]=0;C[a+32>>2]=e+i;break p}b=130;e=D[(g+C[a+360>>2]|0)+1|0];if(e>>>0>=(h-C[a+16>>2]|0)+1>>>0){break i}if(e){b=1;if((e|0)!=1){f=e&254;c=0;while(1){h=d+(b<<2)|0;C[h-4>>2]=D[(g+(C[a+360>>2]+b|0)|0)+1|0];b=b+2|0;C[h>>2]=D[g+(b+C[a+360>>2]|0)|0];c=c+2|0;if((f|0)!=(c|0)){continue}break}}if(e&1){C[(d+(b<<2)|0)-4>>2]=D[(g+(C[a+360>>2]+b|0)|0)+1|0]}i=C[a+32>>2]}C[a+32>>2]=e+i;break p}tc:{uc:{c=E[d>>1];if(c>>>0>1]){b=C[d+4>>2];if(b>>>0>2]){break uc}}if(!D[a+561|0]){break tc}C[a+12>>2]=134;break tc}g=C[a+320>>2];b=Fe[C[a+596>>2]](a,b)|0;if(!E[a+344>>1]){e=B[a+298>>1];d=e>>31;h=(d^e)-d|0;d=b>>31;i=(d^b)-d|0;j=i>>>16|0;m=I(h,j);f=m<<16|8192;r=c<<3;d=r+C[a+48>>2]|0;q=f;v=h;h=i&65535;f=f+I(v,h)|0;f=(m>>>16|0)+(q>>>0>f>>>0)<<18|f>>>14;C[d>>2]=(b^e)<0?0-f|0:f;e=B[a+300>>1];f=e>>31;i=(e^f)-f|0;j=I(i,j);f=j<<16|8192;q=f;f=f+I(h,i)|0;f=(j>>>16|0)+(q>>>0>f>>>0)<<18|f>>>14;C[d+4>>2]=(b^e)<0?0-f|0:f;f=C[d+4>>2];e=r+C[a+52>>2]|0;C[e>>2]=C[d>>2];C[e+4>>2]=f}d=C[a+52>>2]+(c<<3)|0;d=Fe[C[a+572>>2]](a,C[d>>2],C[d+4>>2])|0;if(A[a+368|0]&1){f=b-d|0;e=f>>31;b=Fe[C[a+568>>2]](a,(g|0)<((e^f)-e|0)?d:b,C[a+264>>2])|0}Fe[C[a+584>>2]](a,l,c,b-d|0)}B[a+286>>1]=c;B[a+284>>1]=c;break p}C[a+568>>2]=1194;C[a+312>>2]=2;break p}c=C[a+304>>2];vc:{if(!(E[a+284>>1]>1]&(c|0)<=C[a+16>>2])){if(!D[a+561|0]){break vc}C[a+12>>2]=134;break vc}if((c|0)<=0){break vc}while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];wc:{if(b>>>0>=E[a+80>>1]){b=c;if(!D[a+561|0]){break wc}b=134;break i}d=b;b=C[a+88>>2]+(b<<3)|0;c=C[a+52>>2]+(E[a+284>>1]<<3)|0;M=a,L=n,O=d,N=0-(Fe[C[a+572>>2]](a,C[b>>2]-C[c>>2]|0,C[b+4>>2]-C[c+4>>2]|0)|0)|0,K=C[a+584>>2],Fe[K](M|0,L|0,O|0,N|0);b=C[a+304>>2]}c=b-1|0;C[a+304>>2]=c;if((b|0)>1){continue}break}e=C[a+28>>2]}C[a+32>>2]=e;C[a+304>>2]=1;break p}xc:{b=E[d>>1];if(b>>>0>1]){c=E[a+284>>1];if(c>>>0>1]){break xc}}if(!D[a+561|0]){break p}b=134;break i}if(!E[a+346>>1]){c=C[a+48>>2]+(c<<3)|0;g=C[c+4>>2];e=b<<3;f=e+C[a+84>>2]|0;C[f>>2]=C[c>>2];C[f+4>>2]=g;Fe[C[a+588>>2]](a,n,b,C[d+4>>2]);c=e+C[a+88>>2]|0;e=e+C[a+84>>2]|0;f=C[e+4>>2];C[c>>2]=C[e>>2];C[c+4>>2]=f;c=E[a+284>>1]}e=C[a+88>>2]+(b<<3)|0;c=C[a+52>>2]+(c<<3)|0;c=Fe[C[a+572>>2]](a,C[e>>2]-C[c>>2]|0,C[e+4>>2]-C[c+4>>2]|0)|0;Fe[C[a+584>>2]](a,n,b,C[d+4>>2]-c|0);B[a+288>>1]=b;B[a+286>>1]=E[a+284>>1];if(!(A[a+368|0]&1)){break p}B[a+284>>1]=b;break p}yc:{zc:{c=C[a+304>>2];Ac:{if((c|0)>C[a+16>>2]){if(D[a+561|0]){break Ac}break yc}f=1;f=!E[a+344>>1]|!E[a+346>>1]?f:!E[a+348>>1];b=E[a+286>>1];if(b>>>0>1]){break zc}if(!D[a+561|0]){break yc}}C[a+12>>2]=134;break yc}g=C[(f?48:56)+a>>2];d=b<<3;e=g+d|0;i=C[a+52>>2];m=i+d|0;j=0;d=0;h=E[a+288>>1];if(h>>>0>1]){Bc:{if(f){c=C[a+84>>2]+(h<<3)|0;d=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[(g+(b<<3)|0)+4>>2]|0)|0;break Bc}c=C[a+220>>2];if((c|0)==C[a+224>>2]){c=C[a+92>>2]+(h<<3)|0;d=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[(g+(b<<3)|0)+4>>2]|0)|0;break Bc}d=(N=a,O=Te(C[C[a+92>>2]+(h<<3)>>2]-C[e>>2]|0,c),L=Te(C[(C[a+92>>2]+(E[a+288>>1]<<3)|0)+4>>2]-C[(g+(b<<3)|0)+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](N|0,O|0,L|0)|0)}c=C[a+88>>2]+(E[a+288>>1]<<3)|0;j=Fe[C[a+572>>2]](a,C[c>>2]-C[m>>2]|0,C[c+4>>2]-C[(i+(b<<3)|0)+4>>2]|0)|0;c=C[a+304>>2]}if((c|0)<=0){break yc}b=b<<3;h=b+i|0;g=b+g|0;while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=C[C[a+24>>2]+(b<<2)>>2];Cc:{if(b>>>0>=E[a+116>>1]){b=c;if(!D[a+561|0]){break Cc}b=134;break i}Dc:{if(f){c=C[a+120>>2]+(b<<3)|0;c=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[g+4>>2]|0)|0;break Dc}c=C[a+220>>2];if((c|0)==C[a+224>>2]){c=C[a+128>>2]+(b<<3)|0;c=Fe[C[a+576>>2]](a,C[c>>2]-C[e>>2]|0,C[c+4>>2]-C[g+4>>2]|0)|0;break Dc}i=b<<3;c=(L=a,O=Te(C[i+C[a+128>>2]>>2]-C[e>>2]|0,c),N=Te(C[(i+C[a+128>>2]|0)+4>>2]-C[g+4>>2]|0,C[a+224>>2]),K=C[a+576>>2],Fe[K](L|0,O|0,N|0)|0)}i=C[a+124>>2]+(b<<3)|0;i=Fe[C[a+572>>2]](a,C[i>>2]-C[m>>2]|0,C[i+4>>2]-C[h+4>>2]|0)|0;q=a;b=b&65535;if(!(!c|!d)){c=of(c,j,d)}Fe[C[a+584>>2]](q,o,b,c-i|0);b=C[a+304>>2]}c=b-1|0;C[a+304>>2]=c;if((b|0)>1){continue}break}}C[a+304>>2]=1;C[a+32>>2]=C[a+28>>2];break p}b=C[a+304>>2];Ec:{if((b|0)>=C[a+16>>2]){if(!D[a+561|0]){break Ec}C[a+12>>2]=134;break Ec}if((b|0)<=0){break Ec}c=B[a+300>>1];e=c>>31;b=C[d>>2];d=b>>31;e=(c^e)-e|0;f=(b^d)-d|0;g=f>>>16|0;h=I(e,g);d=h<<16|8192;i=d;q=e;e=f&65535;d=d+I(q,e)|0;d=(h>>>16|0)+(i>>>0>d>>>0)<<18|d>>>14;f=(b^c)<0?0-d|0:d;c=B[a+298>>1];d=c>>31;h=g;g=(c^d)-d|0;h=I(h,g);d=h<<16|8192;i=d;d=d+I(e,g)|0;d=(h>>>16|0)+(i>>>0>d>>>0)<<18|d>>>14;c=(b^c)<0?0-d|0:d;while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];Fc:{if(b>>>0>=E[a+116>>1]){if(!D[a+561|0]){break Fc}b=134;break i}if(E[u>>1]){d=C[a+124>>2]+(b<<3)|0;C[d>>2]=c+C[d>>2];d=b+C[a+132>>2]|0;A[d|0]=D[d|0]|8}if(!E[a+300>>1]){break Fc}d=C[a+124>>2]+(b<<3)|0;C[d+4>>2]=f+C[d+4>>2];b=b+C[a+132>>2]|0;A[b|0]=D[b|0]|16}b=C[a+304>>2];C[a+304>>2]=b-1;if((b|0)>1){continue}break}e=C[a+28>>2]}C[a+32>>2]=e;C[a+304>>2]=1;break p}if(F[d>>2]>=2){if(!D[a+561|0]){break p}C[a+12>>2]=134;break p}if(Fo(a,k+4|0,k,k+12|0,k+10|0)){break p}Gc:{Hc:{switch(E[a+348>>1]){case 0:b=E[a+116>>1];break Gc;case 1:break Hc;default:break p}}b=B[a+118>>1];if((b|0)<=0){break p}b=E[(C[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break p}c=C[a+124>>2];b=0;e=E[k+10>>1];f=C[k+4>>2];g=C[k>>2];h=C[k+28>>2];while(1){Ic:{if((c|0)==(h|0)&(b|0)==(e|0)){break Ic}if(E[u>>1]){i=c+(b<<3)|0;C[i>>2]=f+C[i>>2]}if(!E[a+300>>1]){break Ic}i=c+(b<<3)|0;C[i+4>>2]=g+C[i+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break p}b=C[d>>2];c=b<<16>>16;if(c>>>0>=(E[a+348>>1]?B[a+118>>1]:1)>>>0){if(!D[a+561|0]){break p}C[a+12>>2]=134;break p}if(Fo(a,k+4|0,k,k+12|0,k+10|0)){break p}b=(b<<16?(E[(C[a+136>>2]+(c<<1)|0)-2>>1]-E[a+140>>1]|0)+1|0:0)&65535;if(E[a+348>>1]){c=(E[C[a+136>>2]+(c<<1)>>1]-E[a+140>>1]|0)+1|0}else{c=E[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break p}d=E[k+10>>1];e=C[k+4>>2];f=C[k>>2];g=C[k+28>>2];while(1){h=C[a+124>>2];Jc:{if((h|0)==(g|0)&(b|0)==(d|0)){break Jc}if(E[u>>1]){h=h+(b<<3)|0;C[h>>2]=e+C[h>>2];h=C[a+132>>2]+b|0;A[h|0]=D[h|0]|8}if(!E[a+300>>1]){break Jc}h=C[a+124>>2]+(b<<3)|0;C[h+4>>2]=f+C[h+4>>2];h=C[a+132>>2]+b|0;A[h|0]=D[h|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break p}Kc:{if(C[a+16>>2]>2]){if(!D[a+561|0]){break Kc}C[a+12>>2]=134;break Kc}if(Fo(a,k+4|0,k,k+12|0,k+10|0)){break p}if(C[a+304>>2]<=0){break Kc}c=C[k+4>>2];d=C[k>>2];while(1){b=C[a+28>>2]-1|0;C[a+28>>2]=b;b=E[C[a+24>>2]+(b<<2)>>1];Lc:{if(b>>>0>=E[a+116>>1]){if(!D[a+561|0]){break Lc}C[a+12>>2]=134;break p}if(E[u>>1]){e=C[a+124>>2]+(b<<3)|0;C[e>>2]=c+C[e>>2];e=b+C[a+132>>2]|0;A[e|0]=D[e|0]|8}if(!E[a+300>>1]){break Lc}e=C[a+124>>2]+(b<<3)|0;C[e+4>>2]=d+C[e+4>>2];b=b+C[a+132>>2]|0;A[b|0]=D[b|0]|16}b=C[a+304>>2];C[a+304>>2]=b-1;if((b|0)>1){continue}break}}C[a+304>>2]=1;C[a+32>>2]=C[a+28>>2];break p}if(!E[a+154>>1]){break p}r=C[a+156>>2];Mc:{if(c&1){j=C[a+160>>2];i=8;b=C[a+164>>2];break Mc}r=r+4|0;j=C[a+160>>2]+4|0;i=16;b=C[a+164>>2]+4|0}C[k+20>>2]=b;C[k+16>>2]=j;C[k+12>>2]=r;C[k+24>>2]=E[a+152>>1];s=0;b=0;while(1){d=b;b=E[C[a+172>>2]+(s<<1)>>1]-E[a+176>>1]|0;c=E[a+152>>1];m=b>>>0>>0?b:c-1|0;Nc:{if(d>>>0>m>>>0){b=d;break Nc}e=C[a+168>>2];f=0;c=d;Oc:{Pc:{while(1){Qc:{b=c+1|0;if(D[c+e|0]&i){e=b;h=c;g=c;Rc:{w=b>>>0>m>>>0;if(!w){while(1){if(D[C[a+168>>2]+e|0]&i){Eo(k+12|0,g+1|0,h,g,e);g=e}h=e;e=e+1|0;if(m>>>0>=e>>>0){continue}break}if((c|0)!=(g|0)){break Rc}}g=c<<3;h=C[g+j>>2];g=C[g+r>>2];if((h|0)==(g|0)){break Oc}g=h-g|0;if(c>>>0<=d>>>0){break Pc}h=0;q=f&3;if(q){while(1){v=(d<<3)+j|0;C[v>>2]=g+C[v>>2];d=d+1|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}}if(f-1>>>0>2){break Qc}break Pc}Eo(k+12|0,g+1&65535,m,g,c);if(!c){break Oc}Eo(k+12|0,d,c-1|0,g,c);break Oc}f=f+1|0;c=b;if(b>>>0<=m>>>0){continue}break Nc}break}while(1){f=(d<<3)+j|0;C[f>>2]=g+C[f>>2];C[f+8>>2]=g+C[f+8>>2];C[f+16>>2]=g+C[f+16>>2];C[f+24>>2]=g+C[f+24>>2];d=d+4|0;if((d|0)!=(c|0)){continue}break}}if(w){break Oc}while(1){c=(b<<3)+j|0;C[c>>2]=g+C[c>>2];b=b+1|0;if(m>>>0>=b>>>0){continue}break}}b=e}s=s+1|0;if((s|0)>1]){continue}break}break p}b=E[d>>1];if(b>>>0>=E[a+44>>1]){if(!D[a+561|0]){break p}b=134;break i}if(c&1){c=C[a+52>>2]+(b<<3)|0;c=Fe[C[a+572>>2]](a,C[c>>2],C[c+4>>2])|0;c=(Fe[C[a+568>>2]](a,c,C[a+264>>2])|0)-c|0}else{c=0}Fe[C[a+584>>2]](a,l,b,c);B[a+286>>1]=b;B[a+284>>1]=b;break p}c=C[a+428>>2];if((c|0)<=0){b=136;break i}b=c-1|0;C[a+428>>2]=b;b=C[a+436>>2]+(b<<4)|0;d=C[b+8>>2];C[b+8>>2]=d-1;A[a+376|0]=0;if((d|0)>=2){C[a+428>>2]=c;C[a+360>>2]=C[C[b+12>>2]+4>>2];break p}c=C[b>>2];if(c-4>>>0<4294967293){b=132;break i}d=(c-1<<3)+a|0;e=C[d+444>>2];if(!e){b=138;break i}d=C[d+448>>2];b=C[b+4>>2];if((d|0)<(b|0)){b=131;break i}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=b;C[a+352>>2]=c}b=C[a+12>>2]}if(b){if((b|0)!=128){break h}c=C[a+408>>2];if((c|0)<=0){b=128;break i}b=C[a+416>>2];c=b+I(c,24)|0;while(1){if(!(!D[b+16|0]|D[a+368|0]!=D[b+12|0])){c=C[a+428>>2];if((c|0)>=C[a+432>>2]){b=134;break i}c=C[a+436>>2]+(c<<4)|0;C[c>>2]=C[a+352>>2];d=C[a+360>>2];C[c+12>>2]=b;C[c+8>>2]=1;C[c+4>>2]=d+1;c=C[b>>2];if(c-4>>>0<4294967293){b=132;break i}d=(c-1<<3)+a|0;e=C[d+444>>2];if(!e){b=138;break i}d=C[d+448>>2];b=C[b+4>>2];if((d|0)>=(b|0)){break l}b=131;break i}b=b+24|0;if(c>>>0>b>>>0){continue}break}b=128;break i}C[a+16>>2]=C[a+32>>2];if(!D[a+376|0]){break m}}C[a+360>>2]=C[a+360>>2]+C[a+372>>2]}if((J|0)<=999999){J=J+1|0;break k}c=139;break g}C[a+364>>2]=d;C[a+356>>2]=e;C[a+360>>2]=b;C[a+352>>2]=c}b=C[a+360>>2];if((b|0)>=C[a+364>>2]){c=0;b=131;if(C[a+428>>2]>0){break i}break g}if(!D[a+488|0]){continue}break}c=0;break g}C[a+12>>2]=b}if(!(D[a+488|0]|C[a+352>>2]!=3)){a=C[a+4>>2];C[a+296>>2]=-1;C[a+300>>2]=-1}c=b}Ce=k+48|0;return c|0}function Ez(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=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,B=0,E=0,G=0,J=0;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:{A:{B:{C:{D:{E:{F:{G:{H:{I:{switch(a-1|0){default:switch(a-255|0){case 38:break l;case 37:break m;case 36:break n;case 35:break o;case 0:break H;default:break k};case 10:if(D[b+16|0]){A[b+40|0]=1}a=C[b+92>>2];J:{K:{if(a){a=a-1|0;C[b+92>>2]=a;if(a>>>0>=F[b+100>>2]){break K}a=C[b+104>>2]+I(a,28)|0;break J}A[b+88|0]=1}C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704}c=C[a+4>>2];C[b+44>>2]=C[a>>2];C[b+48>>2]=c;C[b+68>>2]=C[a+24>>2];c=C[a+20>>2];C[b+60>>2]=C[a+16>>2];C[b+64>>2]=c;c=C[a+12>>2];C[b+52>>2]=C[a+8>>2];C[b+56>>2]=c;c=C[a+8>>2];e=C[a+12>>2];f=C[a>>2];j=C[a+4>>2];A[b+16|0]=D[a+16|0];C[b+8>>2]=c;C[b+12>>2]=e;C[b>>2]=f;C[b+4>>2]=j;return;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break k;case 30:break p;case 29:break q;case 26:break r;case 25:break s;case 24:break t;case 23:break u;case 7:break v;case 6:break w;case 5:break x;case 4:break y;case 3:break z;case 21:break A;case 20:break B;case 18:case 19:break C;case 2:case 22:break D;case 0:case 17:break E;case 28:break F;case 9:break G;case 13:break I}}if(!D[b+144|0]){if(A[b+24|0]&1){L:{if(!C[b+32>>2]){c=C[51429];e=c;a=C[51428];C[105676]=a;C[105677]=c;break L}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}C[b+148>>2]=0;A[b+72|0]=1;C[b+24>>2]=0;return}if(D[b+16|0]){break j}e=C[b+12>>2];f=e+4|0;c=C[b+4>>2];if(f>>>0>c>>>0){break j}M:{if(c>>>0<=e>>>0){A[b+16|0]=1;a=205712;break M}a=e+C[b>>2]|0}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);j=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=C[b+24>>2];N:{if(a>>>0>2]){C[b+24>>2]=a+1;g=C[b+36>>2]+(a<<3)|0;a=c;break N}A[b+20|0]=1;a=C[51429];C[105676]=C[51428];C[105677]=a;g=422704;a=C[b+4>>2]}H[g>>3]=+(j|0)*152587890625e-16;if(!(a>>>0>>0|c>>>0<=e>>>0|a>>>0>>0)){C[b+12>>2]=f;return}break a}Dz(b,b+116|0,2);return}Dz(b,b+108|0,1);return}if(D[b+144|0]|a>>>0>18){break e}if(1<>2];a=c>>>0>1;break f}O:{if(D[b+144|0]|a>>>0>23){break O}P:{Q:{c=1<>2];a=c>>>0>2;break P}c=C[b+24>>2];a=c&1;break P}c=C[b+24>>2];a=c>>>0>1}if(!(!a|!c)){R:{if(!C[b+32>>2]){c=C[51429];e=c;a=C[51428];C[105676]=a;C[105677]=c;break R}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}C[b+148>>2]=0;a=C[b+24>>2];C[b+24>>2]=0;C[b+80>>2]=C[b+80>>2]+(a>>>1|0);return}if(!D[b+144|0]){if(A[b+24|0]&1){S:{if(!C[b+32>>2]){c=C[51429];e=c;a=C[51428];C[105676]=a;C[105677]=c;break S}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}T:{if(D[b+74|0]){a=C[b+84>>2];break T}A[b+74|0]=1;a=C[b+80>>2]+(C[b+24>>2]>>>1|0)|0;C[b+80>>2]=a;a=(a+C[b+76>>2]|0)+7>>>3|0;C[b+84>>2]=a}if(D[b+16|0]){break j}c=C[b+12>>2];e=c+a|0;a=C[b+4>>2];if(e>>>0>a>>>0){break j}C[b+148>>2]=0;C[b+24>>2]=0;if(a>>>0>=c>>>0){C[b+12>>2]=e;return}break a}j=C[b+24>>2];if(!D[b+144|0]){if(j>>>0>=3){U:{if(!C[b+32>>2]){e=C[51429];a=C[51428];C[105676]=a;C[105677]=e;break U}e=C[b+36>>2];a=C[e>>2];e=C[e+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}p=H[b+136>>3];h=H[b+128>>3];if(!j){f=422704;break h}a=j-1|0;C[b+24>>2]=a;e=C[b+32>>2];V:{if(e>>>0<=a>>>0){f=C[51429];C[105676]=C[51428];C[105677]=f;f=422704;break V}f=C[b+36>>2]+(a<<3)|0}if(!a){break h}a=j-2|0;if(e>>>0<=a>>>0){j=C[51429];e=C[51428];C[105676]=e;C[105677]=j;l(0,e|0);l(1,j|0);i=+n();break g}i=H[C[b+36>>2]+(a<<3)>>3];break g}f=C[b+24>>2];if(!D[b+144|0]){if(f>>>0>=2){W:{if(!C[b+32>>2]){e=C[51429];a=C[51428];C[105676]=a;C[105677]=e;break W}e=C[b+36>>2];a=C[e>>2];e=C[e+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}p=H[b+136>>3];h=H[b+128>>3];X:{if(f){a=f-1|0;if(a>>>0>=F[b+32>>2]){f=C[51429];e=C[51428];C[105676]=e;C[105677]=f;l(0,e|0);l(1,f|0);i=+n();break X}i=H[C[b+36>>2]+(a<<3)>>3];break X}A[b+20|0]=1;a=0;f=C[51429];e=C[51428];C[105676]=e;C[105677]=f;l(0,e|0);l(1,f|0);i=+n()}A[c|0]=0;H[b+136>>3]=p;break d}f=C[b+24>>2];if(!D[b+144|0]){if(f>>>0>=2){Y:{if(!C[b+32>>2]){e=C[51429];a=C[51428];C[105676]=a;C[105677]=e;break Y}e=C[b+36>>2];a=C[e>>2];e=C[e+4>>2]}C[b+148>>2]=1;A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}i=H[b+136>>3];p=H[b+128>>3];Z:{if(f){a=f-1|0;if(a>>>0>=F[b+32>>2]){f=C[51429];e=C[51428];C[105676]=e;C[105677]=f;l(0,e|0);l(1,f|0);h=+n();break Z}h=H[C[b+36>>2]+(a<<3)>>3];break Z}A[b+20|0]=1;a=0;f=C[51429];e=C[51428];C[105676]=e;C[105677]=f;l(0,e|0);l(1,f|0);h=+n()}A[c|0]=0;H[b+136>>3]=i+h;H[b+128>>3]=p;break c}a=0;d=C[b+24>>2];if(d>>>0>=2){g=C[b+36>>2];m=C[b+32>>2];e=C[51429];o=e;f=C[51428];l(0,f|0);l(1,e|0);p=+n();e=2;while(1){if(a>>>0>=d>>>0){A[b+20|0]=1}_:{if(a>>>0>=m>>>0){C[105676]=f;C[105677]=o;j=422704;break _}j=g+(a<<3)|0}a=a|1;if(a>>>0>=d>>>0){A[b+20|0]=1}h=H[b+128>>3];s=H[b+136>>3];$:{if(a>>>0>=m>>>0){C[105676]=f;C[105677]=o;i=p;break $}i=H[g+(a<<3)>>3]}q=s+i;i=h+H[j>>3];aa:{if(D[c|0]){break aa}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=q;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}a=e;e=a+2|0;if(d>>>0>=e>>>0){continue}break}}break b}a=0;d=C[b+24>>2];if(d>>>0>=2){g=C[b+36>>2];m=C[b+32>>2];a=C[51429];o=a;j=C[51428];l(0,j|0);l(1,a|0);s=+n();f=2;while(1){a=f;if(d>>>0<=e>>>0){A[b+20|0]=1}h=H[b+128>>3];ba:{if(e>>>0>=m>>>0){C[105676]=j;C[105677]=o;i=s;break ba}i=H[g+(e<<3)>>3]}t=H[b+136>>3];i=h+i;ca:{if(D[c|0]){break ca}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=t;H[b+128>>3]=i;h=i;p=H[c+8>>3];if(h>3]=i;p=i;h=H[b+128>>3]}q=H[c+24>>3];if(q>3]=h;q=h}u=H[c+16>>3];h=H[b+136>>3];if(u>h){H[c+16>>3]=h;u=h;h=H[b+136>>3]}v=H[c+32>>3];if(h>v){H[c+32>>3]=h;v=h}e=e|1;if(e>>>0>=d>>>0){A[b+20|0]=1}da:{if(e>>>0>=m>>>0){C[105676]=j;C[105677]=o;h=s;break da}h=H[g+(e<<3)>>3]}t=t+h;ea:{if(D[c|0]){break ea}A[c|0]=1;h=p;p=H[b+128>>3];if(h>p){H[c+8>>3]=p;p=H[b+128>>3]}if(p>q){H[c+24>>3]=p}p=H[b+136>>3];if(u>p){H[c+16>>3]=p;p=H[b+136>>3]}if(!(p>v)){break ea}H[c+32>>3]=p}H[b+136>>3]=t;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}e=a;f=a+2|0;if(d>>>0>=f>>>0){continue}break}}fa:{if(a>>>0>=d>>>0){break fa}h=H[b+128>>3];ga:{if(F[b+32>>2]<=a>>>0){e=C[51429];a=C[51428];C[105676]=a;C[105677]=e;l(0,a|0);l(1,e|0);i=+n();break ga}i=H[C[b+36>>2]+(a<<3)>>3]}p=H[b+136>>3];i=h+i;ha:{if(D[c|0]){break ha}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=p;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(!(H[c+32>>3]>3]=i}break b}a=0;d=C[b+24>>2];if(d>>>0>=2){g=C[b+36>>2];m=C[b+32>>2];a=C[51429];o=a;j=C[51428];l(0,j|0);l(1,a|0);s=+n();f=2;while(1){a=f;if(d>>>0<=e>>>0){A[b+20|0]=1}p=H[b+136>>3];ia:{if(e>>>0>=m>>>0){C[105676]=j;C[105677]=o;h=s;break ia}h=H[g+(e<<3)>>3]}i=H[b+128>>3];t=p+h;ja:{if(D[c|0]){break ja}A[c|0]=1;h=i;if(h>3]){H[c+8>>3]=i;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=t;H[b+128>>3]=i;h=i;p=H[c+8>>3];if(h>3]=i;p=i;h=H[b+128>>3]}q=H[c+24>>3];if(q>3]=h;q=h}u=H[c+16>>3];h=H[b+136>>3];if(u>h){H[c+16>>3]=h;u=h;h=H[b+136>>3]}v=H[c+32>>3];if(h>v){H[c+32>>3]=h;v=h}e=e|1;if(e>>>0>=d>>>0){A[b+20|0]=1}ka:{if(e>>>0>=m>>>0){C[105676]=j;C[105677]=o;h=s;break ka}h=H[g+(e<<3)>>3]}i=i+h;la:{if(D[c|0]){break la}A[c|0]=1;h=H[b+128>>3];if(p>h){H[c+8>>3]=h;h=H[b+128>>3]}if(h>q){H[c+24>>3]=h}h=H[b+136>>3];if(u>h){H[c+16>>3]=h;h=H[b+136>>3]}if(!(h>v)){break la}H[c+32>>3]=h}H[b+136>>3]=t;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}e=a;f=a+2|0;if(d>>>0>=f>>>0){continue}break}}ma:{if(a>>>0>=d>>>0){break ma}p=H[b+136>>3];na:{if(F[b+32>>2]<=a>>>0){e=C[51429];a=C[51428];C[105676]=a;C[105677]=e;l(0,a|0);l(1,e|0);h=+n();break na}h=H[C[b+36>>2]+(a<<3)>>3]}i=H[b+128>>3];p=p+h;oa:{if(D[c|0]){break oa}A[c|0]=1;h=i;if(h>3]){H[c+8>>3]=i;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=p;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(!(H[c+32>>3]>3]=i}break b}j=c;a=0;d=Ce-48|0;Ce=d;g=C[b+24>>2];if(g>>>0>=6){e=C[51428];m=C[51429];c=6;while(1){f=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=f;f=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=f;if(a>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];pa:{if(o>>>0<=a>>>0){C[105676]=e;C[105677]=m;f=422704;break pa}f=C[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=g>>>0){A[b+20|0]=1}qa:{if(o>>>0<=k>>>0){C[105676]=e;C[105677]=m;k=422704;break qa}k=C[b+36>>2]+(k<<3)|0}H[d+32>>3]=H[d+32>>3]+H[f>>3];H[d+40>>3]=H[d+40>>3]+H[k>>3];f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;f=a+2|0;if(f>>>0>=g>>>0){A[b+20|0]=1}ra:{if(f>>>0>=o>>>0){C[105676]=e;C[105677]=m;f=422704;break ra}f=C[b+36>>2]+(f<<3)|0}k=a+3|0;if(k>>>0>=g>>>0){A[b+20|0]=1}sa:{if(o>>>0<=k>>>0){C[105676]=e;C[105677]=m;k=422704;break sa}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[f>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];f=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=f;f=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=f;f=a+4|0;if(f>>>0>=g>>>0){A[b+20|0]=1}ta:{if(f>>>0>=o>>>0){C[105676]=e;C[105677]=m;f=422704;break ta}f=C[b+36>>2]+(f<<3)|0}a=a+5|0;if(a>>>0>=g>>>0){A[b+20|0]=1}ua:{if(a>>>0>=o>>>0){C[105676]=e;C[105677]=m;a=422704;break ua}a=C[b+36>>2]+(a<<3)|0}H[d>>3]=H[d>>3]+H[f>>3];H[d+8>>3]=H[d+8>>3]+H[a>>3];Cf(b,j,d+32|0,d+16|0,d);a=c;c=a+6|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}}Ce=d+48|0;break b}a=0;d=Ce-48|0;Ce=d;e=C[b+24>>2];va:{if(e>>>0<8){break va}r=e-2|0;f=C[51428];g=C[51429];e=6;while(1){j=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=j;j=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=j;m=C[b+24>>2];if(m>>>0<=a>>>0){A[b+20|0]=1}o=C[b+32>>2];wa:{if(o>>>0<=a>>>0){C[105676]=f;C[105677]=g;j=422704;break wa}j=C[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=m>>>0){A[b+20|0]=1}xa:{if(o>>>0<=k>>>0){C[105676]=f;C[105677]=g;k=422704;break xa}k=C[b+36>>2]+(k<<3)|0}H[d+32>>3]=H[d+32>>3]+H[j>>3];H[d+40>>3]=H[d+40>>3]+H[k>>3];j=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=j;j=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=j;j=a+2|0;if(j>>>0>=m>>>0){A[b+20|0]=1}ya:{if(j>>>0>=o>>>0){C[105676]=f;C[105677]=g;j=422704;break ya}j=C[b+36>>2]+(j<<3)|0}k=a+3|0;if(k>>>0>=m>>>0){A[b+20|0]=1}za:{if(o>>>0<=k>>>0){C[105676]=f;C[105677]=g;k=422704;break za}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[j>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];j=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=j;j=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=j;j=a+4|0;if(j>>>0>=m>>>0){A[b+20|0]=1}Aa:{if(j>>>0>=o>>>0){C[105676]=f;C[105677]=g;j=422704;break Aa}j=C[b+36>>2]+(j<<3)|0}a=a+5|0;if(a>>>0>=m>>>0){A[b+20|0]=1}Ba:{if(a>>>0>=o>>>0){C[105676]=f;C[105677]=g;a=422704;break Ba}a=C[b+36>>2]+(a<<3)|0}H[d>>3]=H[d>>3]+H[j>>3];H[d+8>>3]=H[d+8>>3]+H[a>>3];Cf(b,c,d+32|0,d+16|0,d);a=e;e=a+6|0;if(r>>>0>=e>>>0){continue}break}f=C[b+24>>2];if(f>>>0<=a>>>0){A[b+20|0]=1}j=C[b+32>>2];Ca:{if(j>>>0<=a>>>0){e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break Ca}e=C[b+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=f>>>0){A[b+20|0]=1}h=H[b+128>>3];p=H[b+136>>3];Da:{if(a>>>0>=j>>>0){f=C[51429];a=C[51428];C[105676]=a;C[105677]=f;l(0,a|0);l(1,f|0);i=+n();break Da}i=H[C[b+36>>2]+(a<<3)>>3]}p=p+i;i=h+H[e>>3];Ea:{if(D[c|0]){break Ea}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=p;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(!(H[c+32>>3]>3]=i}Ce=d+48|0;break b}a=0;d=Ce-48|0;Ce=d;g=C[b+24>>2];if(g>>>0>=8){r=g-6|0;m=C[b+36>>2];o=C[b+32>>2];e=C[51429];k=e;f=C[51428];l(0,f|0);l(1,e|0);p=+n();e=2;while(1){if(a>>>0>=g>>>0){A[b+20|0]=1}Fa:{if(a>>>0>=o>>>0){C[105676]=f;C[105677]=k;j=422704;break Fa}j=m+(a<<3)|0}a=a|1;if(a>>>0>=g>>>0){A[b+20|0]=1}h=H[b+128>>3];s=H[b+136>>3];Ga:{if(a>>>0>=o>>>0){C[105676]=f;C[105677]=k;i=p;break Ga}i=H[m+(a<<3)>>3]}q=s+i;i=h+H[j>>3];Ha:{if(D[c|0]){break Ha}A[c|0]=1;if(H[c+8>>3]>h){H[c+8>>3]=h;h=H[b+128>>3]}if(H[c+24>>3]>3]=h}h=H[b+136>>3];if(h>3]){H[c+16>>3]=h;h=H[b+136>>3]}if(!(H[c+32>>3]>3]=h}H[b+136>>3]=q;H[b+128>>3]=i;if(H[c+8>>3]>i){H[c+8>>3]=i;i=H[b+128>>3]}if(H[c+24>>3]>3]=i}i=H[b+136>>3];if(i>3]){H[c+16>>3]=i;i=H[b+136>>3]}if(H[c+32>>3]>3]=i}a=e;e=a+2|0;if(r>>>0>=e>>>0){continue}break}f=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=f;f=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=f;if(a>>>0>=g>>>0){A[b+20|0]=1}j=C[b+32>>2];Ia:{if(j>>>0<=a>>>0){f=C[51429];C[105676]=C[51428];C[105677]=f;f=422704;break Ia}f=C[b+36>>2]+(a<<3)|0}m=a|1;if(m>>>0>=g>>>0){A[b+20|0]=1}Ja:{if(j>>>0<=m>>>0){m=C[51429];C[105676]=C[51428];C[105677]=m;m=422704;break Ja}m=C[b+36>>2]+(m<<3)|0}H[d+32>>3]=H[d+32>>3]+H[f>>3];H[d+40>>3]=H[d+40>>3]+H[m>>3];f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;if(e>>>0>=g>>>0){A[b+20|0]=1}Ka:{if(e>>>0>=j>>>0){e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break Ka}e=C[b+36>>2]+(e<<3)|0}f=a+3|0;if(f>>>0>=g>>>0){A[b+20|0]=1}La:{if(f>>>0>=j>>>0){f=C[51429];C[105676]=C[51428];C[105677]=f;f=422704;break La}f=C[b+36>>2]+(f<<3)|0}H[d+16>>3]=H[d+16>>3]+H[e>>3];H[d+24>>3]=H[d+24>>3]+H[f>>3];e=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=e;e=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=e;e=a+4|0;if(e>>>0>=g>>>0){A[b+20|0]=1}Ma:{if(e>>>0>=j>>>0){e=C[51429];C[105676]=C[51428];C[105677]=e;e=422704;break Ma}e=C[b+36>>2]+(e<<3)|0}a=a+5|0;if(a>>>0>=g>>>0){A[b+20|0]=1}Na:{if(a>>>0>=j>>>0){a=C[51429];C[105676]=C[51428];C[105677]=a;a=422704;break Na}a=C[b+36>>2]+(a<<3)|0}H[d>>3]=H[d>>3]+H[e>>3];H[d+8>>3]=H[d+8>>3]+H[a>>3];Cf(b,c,d+32|0,d+16|0,d)}Ce=d+48|0;break b}j=c;a=0;d=Ce-48|0;Ce=d;c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;g=C[b+24>>2];if(g&1){Oa:{if(!C[b+32>>2]){c=C[51429];a=C[51428];C[105676]=a;C[105677]=c;l(0,a|0);l(1,c|0);h=+n();break Oa}h=H[C[b+36>>2]>>3]}H[d+32>>3]=H[d+32>>3]+h;a=1}c=a|4;if(g>>>0>=c>>>0){f=C[51429];m=f;e=C[51428];l(0,e|0);l(1,f|0);h=+n();while(1){if(a>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];Pa:{if(o>>>0<=a>>>0){C[105676]=e;C[105677]=m;i=h;break Pa}i=H[C[b+36>>2]+(a<<3)>>3]}H[d+40>>3]=H[d+40>>3]+i;f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;f=a+1|0;if(f>>>0>=g>>>0){A[b+20|0]=1}Qa:{if(f>>>0>=o>>>0){C[105676]=e;C[105677]=m;f=422704;break Qa}f=C[b+36>>2]+(f<<3)|0}k=a+2|0;if(k>>>0>=g>>>0){A[b+20|0]=1}Ra:{if(o>>>0<=k>>>0){C[105676]=e;C[105677]=m;k=422704;break Ra}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[f>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];f=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=f;f=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=f;f=a+3|0;if(f>>>0>=g>>>0){A[b+20|0]=1}a=c;Sa:{if(f>>>0>=o>>>0){C[105676]=e;C[105677]=m;i=h;break Sa}i=H[C[b+36>>2]+(f<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i;Cf(b,j,d+32|0,d+16|0,d);c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;c=a+4|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}}Ce=d+48|0;break b}j=c;a=0;d=Ce-48|0;Ce=d;c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;g=C[b+24>>2];if(g&1){Ta:{if(!C[b+32>>2]){c=C[51429];a=C[51428];C[105676]=a;C[105677]=c;l(0,a|0);l(1,c|0);h=+n();break Ta}h=H[C[b+36>>2]>>3]}H[d+40>>3]=H[d+40>>3]+h;a=1}c=a|4;if(g>>>0>=c>>>0){f=C[51429];m=f;e=C[51428];l(0,e|0);l(1,f|0);h=+n();while(1){if(a>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];Ua:{if(o>>>0<=a>>>0){C[105676]=e;C[105677]=m;i=h;break Ua}i=H[C[b+36>>2]+(a<<3)>>3]}H[d+32>>3]=H[d+32>>3]+i;f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;f=a+1|0;if(f>>>0>=g>>>0){A[b+20|0]=1}Va:{if(f>>>0>=o>>>0){C[105676]=e;C[105677]=m;f=422704;break Va}f=C[b+36>>2]+(f<<3)|0}k=a+2|0;if(k>>>0>=g>>>0){A[b+20|0]=1}Wa:{if(o>>>0<=k>>>0){C[105676]=e;C[105677]=m;k=422704;break Wa}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[f>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];f=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=f;f=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=f;f=a+3|0;if(f>>>0>=g>>>0){A[b+20|0]=1}a=c;Xa:{if(f>>>0>=o>>>0){C[105676]=e;C[105677]=m;i=h;break Xa}i=H[C[b+36>>2]+(f<<3)>>3]}H[d>>3]=H[d>>3]+i;Cf(b,j,d+32|0,d+16|0,d);c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;c=a+4|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}}Ce=d+48|0;break b}d=c;a=0;g=Ce-48|0;Ce=g;m=C[b+24>>2];Ya:{if(!(m&4)){if(m>>>0<8){break Ya}c=C[51429];j=c;f=C[51428];l(0,f|0);l(1,c|0);h=+n();c=8;while(1){e=a;a=c;c=C[b+140>>2];C[g+40>>2]=C[b+136>>2];C[g+44>>2]=c;c=C[b+132>>2];C[g+32>>2]=C[b+128>>2];C[g+36>>2]=c;if(e>>>0>=m>>>0){A[b+20|0]=1}o=C[b+32>>2];Za:{if(o>>>0<=e>>>0){C[105676]=f;C[105677]=j;i=h;break Za}i=H[C[b+36>>2]+(e<<3)>>3]}H[g+40>>3]=H[g+40>>3]+i;c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;c=e|1;if(c>>>0>=m>>>0){A[b+20|0]=1}_a:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=j;c=422704;break _a}c=C[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=m>>>0){A[b+20|0]=1}$a:{if(o>>>0<=k>>>0){C[105676]=f;C[105677]=j;k=422704;break $a}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[c>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;c=e|3;if(c>>>0>=m>>>0){A[b+20|0]=1}ab:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=j;i=h;break ab}i=H[C[b+36>>2]+(c<<3)>>3]}H[g>>3]=H[g>>3]+i;Cf(b,d,g+32|0,g+16|0,g);c=C[g+12>>2];C[g+40>>2]=C[g+8>>2];C[g+44>>2]=c;c=C[g+4>>2];C[g+32>>2]=C[g>>2];C[g+36>>2]=c;m=C[b+24>>2];c=e|4;if(m>>>0<=c>>>0){A[b+20|0]=1}o=C[b+32>>2];bb:{if(o>>>0<=c>>>0){C[105676]=f;C[105677]=j;i=h;break bb}i=H[C[b+36>>2]+(c<<3)>>3]}c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;H[g+32>>3]=H[g+32>>3]+i;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;c=e|5;if(c>>>0>=m>>>0){A[b+20|0]=1}cb:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=j;c=422704;break cb}c=C[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=m>>>0){A[b+20|0]=1}db:{if(o>>>0<=k>>>0){C[105676]=f;C[105677]=j;k=422704;break db}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[c>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;c=e|7;if(c>>>0>=m>>>0){A[b+20|0]=1}eb:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=j;i=h;break eb}i=H[C[b+36>>2]+(c<<3)>>3]}H[g+8>>3]=H[g+8>>3]+i;if(!(!(m&1)|m-e>>>0>15)){if(a>>>0>=m>>>0){A[b+20|0]=1}fb:{if(a>>>0>=o>>>0){C[105676]=f;C[105677]=j;i=h;break fb}i=H[C[b+36>>2]+(a<<3)>>3]}H[g>>3]=H[g>>3]+i}Cf(b,d,g+32|0,g+16|0,g);c=a+8|0;m=C[b+24>>2];if(c>>>0<=m>>>0){continue}break}break Ya}a=C[b+140>>2];C[g+40>>2]=C[b+136>>2];C[g+44>>2]=a;a=C[b+132>>2];C[g+32>>2]=C[b+128>>2];C[g+36>>2]=a;gb:{hb:{a=C[b+32>>2];ib:{if(!a){H[g+40>>3]=H[g+40>>3]+H[25714];c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;f=422704;break ib}H[g+40>>3]=H[g+40>>3]+H[C[b+36>>2]>>3];c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;if((a|0)==1){f=422704;break ib}f=C[b+36>>2]+8|0;if(a>>>0>2){break hb}}e=C[51429];c=C[51428];C[105676]=c;C[105677]=e;l(0,c|0);l(1,e|0);h=+n();break gb}h=H[C[b+36>>2]+16>>3]}i=H[f>>3];H[g+24>>3]=H[g+24>>3]+h;H[g+16>>3]=i+H[g+16>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;jb:{if(a>>>0<=3){e=C[51429];c=C[51428];C[105676]=c;C[105677]=e;l(0,c|0);l(1,e|0);h=+n();break jb}h=H[C[b+36>>2]+24>>3]}H[g>>3]=H[g>>3]+h;c=12;e=4;if(m>>>0>=12){a=C[51429];o=a;j=C[51428];l(0,j|0);l(1,a|0);h=+n();f=4;while(1){e=c;Cf(b,d,g+32|0,g+16|0,g);a=C[b+140>>2];C[g+40>>2]=C[b+136>>2];C[g+44>>2]=a;a=C[b+132>>2];C[g+32>>2]=C[b+128>>2];C[g+36>>2]=a;c=C[b+24>>2];if(c>>>0<=f>>>0){A[b+20|0]=1}m=C[b+32>>2];kb:{if(m>>>0<=f>>>0){C[105676]=j;C[105677]=o;i=h;break kb}i=H[C[b+36>>2]+(f<<3)>>3]}a=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=a;H[g+32>>3]=H[g+32>>3]+i;a=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=a;a=f|1;if(a>>>0>=c>>>0){A[b+20|0]=1}lb:{if(a>>>0>=m>>>0){C[105676]=j;C[105677]=o;a=422704;break lb}a=C[b+36>>2]+(a<<3)|0}k=f|2;if(k>>>0>=c>>>0){A[b+20|0]=1}mb:{if(m>>>0<=k>>>0){C[105676]=j;C[105677]=o;k=422704;break mb}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[a>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];a=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=a;a=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=a;a=f|3;if(a>>>0>=c>>>0){A[b+20|0]=1}nb:{if(a>>>0>=m>>>0){C[105676]=j;C[105677]=o;i=h;break nb}i=H[C[b+36>>2]+(a<<3)>>3]}H[g+8>>3]=H[g+8>>3]+i;Cf(b,d,g+32|0,g+16|0,g);a=C[g+12>>2];C[g+40>>2]=C[g+8>>2];C[g+44>>2]=a;a=C[g+4>>2];C[g+32>>2]=C[g>>2];C[g+36>>2]=a;m=C[b+24>>2];c=f+4|0;if(m>>>0<=c>>>0){A[b+20|0]=1}a=C[b+32>>2];ob:{if(c>>>0>=a>>>0){C[105676]=j;C[105677]=o;i=h;break ob}i=H[C[b+36>>2]+(c<<3)>>3]}H[g+40>>3]=H[g+40>>3]+i;c=C[g+44>>2];C[g+24>>2]=C[g+40>>2];C[g+28>>2]=c;c=C[g+36>>2];C[g+16>>2]=C[g+32>>2];C[g+20>>2]=c;c=f+5|0;if(c>>>0>=m>>>0){A[b+20|0]=1}pb:{if(a>>>0<=c>>>0){C[105676]=j;C[105677]=o;c=422704;break pb}c=C[b+36>>2]+(c<<3)|0}k=f+6|0;if(k>>>0>=m>>>0){A[b+20|0]=1}qb:{if(a>>>0<=k>>>0){C[105676]=j;C[105677]=o;k=422704;break qb}k=C[b+36>>2]+(k<<3)|0}H[g+16>>3]=H[g+16>>3]+H[c>>3];H[g+24>>3]=H[g+24>>3]+H[k>>3];c=C[g+28>>2];C[g+8>>2]=C[g+24>>2];C[g+12>>2]=c;c=C[g+20>>2];C[g>>2]=C[g+16>>2];C[g+4>>2]=c;c=f+7|0;if(c>>>0>=m>>>0){A[b+20|0]=1}rb:{if(a>>>0<=c>>>0){C[105676]=j;C[105677]=o;i=h;break rb}i=H[C[b+36>>2]+(c<<3)>>3]}H[g>>3]=H[g>>3]+i;f=e;c=e+8|0;if(m>>>0>=c>>>0){continue}break}}if(e>>>0>>0){sb:{if(a>>>0<=e>>>0){c=C[51429];a=C[51428];C[105676]=a;C[105677]=c;l(0,a|0);l(1,c|0);h=+n();break sb}h=H[C[b+36>>2]+(e<<3)>>3]}H[g+8>>3]=H[g+8>>3]+h}Cf(b,d,g+32|0,g+16|0,g)}Ce=g+48|0;break b}j=c;a=0;d=Ce-48|0;Ce=d;g=C[b+24>>2];tb:{if(!(g&4)){if(g>>>0<8){break tb}c=C[51429];m=c;f=C[51428];l(0,f|0);l(1,c|0);h=+n();c=8;while(1){e=a;a=c;c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;if(e>>>0>=g>>>0){A[b+20|0]=1}o=C[b+32>>2];ub:{if(o>>>0<=e>>>0){C[105676]=f;C[105677]=m;i=h;break ub}i=H[C[b+36>>2]+(e<<3)>>3]}c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;H[d+32>>3]=H[d+32>>3]+i;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e|1;if(c>>>0>=g>>>0){A[b+20|0]=1}vb:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=m;c=422704;break vb}c=C[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=g>>>0){A[b+20|0]=1}wb:{if(o>>>0<=k>>>0){C[105676]=f;C[105677]=m;k=422704;break wb}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e|3;if(c>>>0>=g>>>0){A[b+20|0]=1}xb:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=m;i=h;break xb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i;Cf(b,j,d+32|0,d+16|0,d);c=C[d+12>>2];C[d+40>>2]=C[d+8>>2];C[d+44>>2]=c;c=C[d+4>>2];C[d+32>>2]=C[d>>2];C[d+36>>2]=c;g=C[b+24>>2];c=e|4;if(g>>>0<=c>>>0){A[b+20|0]=1}o=C[b+32>>2];yb:{if(o>>>0<=c>>>0){C[105676]=f;C[105677]=m;i=h;break yb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d+40>>3]=H[d+40>>3]+i;c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e|5;if(c>>>0>=g>>>0){A[b+20|0]=1}zb:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=m;c=422704;break zb}c=C[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=g>>>0){A[b+20|0]=1}Ab:{if(o>>>0<=k>>>0){C[105676]=f;C[105677]=m;k=422704;break Ab}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e|7;if(c>>>0>=g>>>0){A[b+20|0]=1}Bb:{if(c>>>0>=o>>>0){C[105676]=f;C[105677]=m;i=h;break Bb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d>>3]=H[d>>3]+i;if(!(!(g&1)|g-e>>>0>15)){if(a>>>0>=g>>>0){A[b+20|0]=1}Cb:{if(a>>>0>=o>>>0){C[105676]=f;C[105677]=m;i=h;break Cb}i=H[C[b+36>>2]+(a<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i}Cf(b,j,d+32|0,d+16|0,d);c=a+8|0;g=C[b+24>>2];if(c>>>0<=g>>>0){continue}break}break tb}a=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=a;a=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=a;Db:{Eb:{m=C[b+32>>2];Fb:{if(!m){H[d+32>>3]=H[d+32>>3]+H[25714];a=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=a;a=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=a;e=422704;break Fb}H[d+32>>3]=H[d+32>>3]+H[C[b+36>>2]>>3];a=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=a;a=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=a;if((m|0)==1){e=422704;break Fb}e=C[b+36>>2]+8|0;if(m>>>0>2){break Eb}}c=C[51429];a=C[51428];C[105676]=a;C[105677]=c;l(0,a|0);l(1,c|0);h=+n();break Db}h=H[C[b+36>>2]+16>>3]}i=H[e>>3];H[d+24>>3]=H[d+24>>3]+h;H[d+16>>3]=i+H[d+16>>3];a=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=a;a=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=a;Gb:{if(m>>>0<=3){c=C[51429];a=C[51428];C[105676]=a;C[105677]=c;l(0,a|0);l(1,c|0);h=+n();break Gb}h=H[C[b+36>>2]+24>>3]}H[d+8>>3]=H[d+8>>3]+h;c=12;a=4;if(g>>>0>=12){a=C[51429];o=a;f=C[51428];l(0,f|0);l(1,a|0);h=+n();e=4;while(1){a=c;Cf(b,j,d+32|0,d+16|0,d);c=C[b+140>>2];C[d+40>>2]=C[b+136>>2];C[d+44>>2]=c;c=C[b+132>>2];C[d+32>>2]=C[b+128>>2];C[d+36>>2]=c;g=C[b+24>>2];if(g>>>0<=e>>>0){A[b+20|0]=1}m=C[b+32>>2];Hb:{if(m>>>0<=e>>>0){C[105676]=f;C[105677]=o;i=h;break Hb}i=H[C[b+36>>2]+(e<<3)>>3]}H[d+40>>3]=H[d+40>>3]+i;c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e|1;if(c>>>0>=g>>>0){A[b+20|0]=1}Ib:{if(c>>>0>=m>>>0){C[105676]=f;C[105677]=o;c=422704;break Ib}c=C[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=g>>>0){A[b+20|0]=1}Jb:{if(m>>>0<=k>>>0){C[105676]=f;C[105677]=o;k=422704;break Jb}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e|3;if(c>>>0>=g>>>0){A[b+20|0]=1}Kb:{if(c>>>0>=m>>>0){C[105676]=f;C[105677]=o;i=h;break Kb}i=H[C[b+36>>2]+(c<<3)>>3]}H[d>>3]=H[d>>3]+i;Cf(b,j,d+32|0,d+16|0,d);c=C[d+12>>2];C[d+40>>2]=C[d+8>>2];C[d+44>>2]=c;c=C[d+4>>2];C[d+32>>2]=C[d>>2];C[d+36>>2]=c;g=C[b+24>>2];c=e+4|0;if(g>>>0<=c>>>0){A[b+20|0]=1}m=C[b+32>>2];Lb:{if(c>>>0>=m>>>0){C[105676]=f;C[105677]=o;i=h;break Lb}i=H[C[b+36>>2]+(c<<3)>>3]}c=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=c;H[d+32>>3]=H[d+32>>3]+i;c=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=c;c=e+5|0;if(c>>>0>=g>>>0){A[b+20|0]=1}Mb:{if(c>>>0>=m>>>0){C[105676]=f;C[105677]=o;c=422704;break Mb}c=C[b+36>>2]+(c<<3)|0}k=e+6|0;if(k>>>0>=g>>>0){A[b+20|0]=1}Nb:{if(m>>>0<=k>>>0){C[105676]=f;C[105677]=o;k=422704;break Nb}k=C[b+36>>2]+(k<<3)|0}H[d+16>>3]=H[d+16>>3]+H[c>>3];H[d+24>>3]=H[d+24>>3]+H[k>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;c=e+7|0;if(c>>>0>=g>>>0){A[b+20|0]=1}Ob:{if(c>>>0>=m>>>0){C[105676]=f;C[105677]=o;i=h;break Ob}i=H[C[b+36>>2]+(c<<3)>>3]}H[d+8>>3]=H[d+8>>3]+i;e=a;c=a+8|0;if(g>>>0>=c>>>0){continue}break}}if(a>>>0>>0){Pb:{if(a>>>0>=m>>>0){c=C[51429];a=C[51428];C[105676]=a;C[105677]=c;l(0,a|0);l(1,c|0);h=+n();break Pb}h=H[C[b+36>>2]+(a<<3)>>3]}H[d>>3]=H[d>>3]+h}Cf(b,j,d+32|0,d+16|0,d)}Ce=d+48|0;break b}a=Ce-96|0;Ce=a;Qb:{if(C[b+24>>2]==7){e=C[b+140>>2];C[a+88>>2]=C[b+136>>2];C[a+92>>2]=e;e=C[b+132>>2];C[a+80>>2]=C[b+128>>2];C[a+84>>2]=e;Rb:{Sb:{e=C[b+32>>2];Tb:{if(!e){H[a+80>>3]=H[a+80>>3]+H[25714];f=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=f;f=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=f;f=422704;break Tb}H[a+80>>3]=H[a+80>>3]+H[C[b+36>>2]>>3];f=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=f;f=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=f;if((e|0)==1){f=422704;break Tb}f=C[b+36>>2]+8|0;if(e>>>0>2){break Sb}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break Rb}h=H[C[b+36>>2]+16>>3]}i=H[f>>3];H[a+72>>3]=H[a+72>>3]+h;H[a+64>>3]=i+H[a+64>>3];f=C[a+76>>2];C[a+56>>2]=C[a+72>>2];C[a+60>>2]=f;f=C[a+68>>2];C[a+48>>2]=C[a+64>>2];C[a+52>>2]=f;Ub:{Vb:{Wb:{Xb:{Yb:{if(e>>>0<=3){j=C[51429];f=C[51428];C[105676]=f;C[105677]=j;h=H[a+48>>3];l(0,f|0);l(1,j|0);G=a,J=h+ +n(),H[G+48>>3]=J;f=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=f;f=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=f;break Yb}H[a+48>>3]=H[a+48>>3]+H[C[b+36>>2]+24>>3];f=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=f;f=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=f;if((e|0)!=4){break Xb}}H[a+32>>3]=H[a+32>>3]+H[25714];f=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=f;f=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=f;break Wb}H[a+32>>3]=H[a+32>>3]+H[C[b+36>>2]+32>>3];f=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=f;f=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=f;if(e>>>0>5){break Vb}}j=C[51429];f=C[51428];C[105676]=f;C[105677]=j;l(0,f|0);l(1,j|0);h=+n();break Ub}h=H[C[b+36>>2]+40>>3]}j=C[a+92>>2];f=C[a+88>>2];C[a+24>>2]=f;C[a+28>>2]=j;H[a+16>>3]=H[a+16>>3]+h;C[a+8>>2]=f;C[a+12>>2]=j;f=C[a+20>>2];C[a>>2]=C[a+16>>2];C[a+4>>2]=f;Zb:{if(e>>>0<=6){f=C[51429];e=C[51428];C[105676]=e;C[105677]=f;l(0,e|0);l(1,f|0);h=+n();break Zb}h=H[C[b+36>>2]+48>>3]}H[a>>3]=H[a>>3]+h;Cf(b,c,a+80|0,a- -64|0,a+48|0);Cf(b,c,a+32|0,a+16|0,a);break Qb}A[b+40|0]=1}Ce=a+96|0;break b}a=Ce-96|0;Ce=a;_b:{if(C[b+24>>2]==13){e=C[b+140>>2];C[a+88>>2]=C[b+136>>2];C[a+92>>2]=e;e=C[b+132>>2];C[a+80>>2]=C[b+128>>2];C[a+84>>2]=e;$b:{ac:{f=C[b+32>>2];bc:{if(!f){e=422704;break bc}e=C[b+36>>2];if((f|0)!=1){break ac}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break $b}h=H[C[b+36>>2]+8>>3]}i=H[e>>3];H[a+88>>3]=H[a+88>>3]+h;H[a+80>>3]=i+H[a+80>>3];e=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=e;e=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=e;cc:{dc:{ec:{if(f>>>0<3){e=422704;break ec}e=C[b+36>>2]+16|0;if((f|0)!=3){break dc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break cc}h=H[C[b+36>>2]+24>>3]}i=H[e>>3];H[a+72>>3]=H[a+72>>3]+h;H[a+64>>3]=i+H[a+64>>3];e=C[a+76>>2];C[a+56>>2]=C[a+72>>2];C[a+60>>2]=e;e=C[a+68>>2];C[a+48>>2]=C[a+64>>2];C[a+52>>2]=e;fc:{gc:{hc:{if(f>>>0<5){e=422704;break hc}e=C[b+36>>2]+32|0;if((f|0)!=5){break gc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break fc}h=H[C[b+36>>2]+40>>3]}i=H[e>>3];H[a+56>>3]=H[a+56>>3]+h;H[a+48>>3]=i+H[a+48>>3];e=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=e;e=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=e;ic:{jc:{kc:{if(f>>>0<7){e=422704;break kc}e=C[b+36>>2]+48|0;if((f|0)!=7){break jc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break ic}h=H[C[b+36>>2]+56>>3]}i=H[e>>3];H[a+40>>3]=H[a+40>>3]+h;H[a+32>>3]=i+H[a+32>>3];e=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=e;e=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=e;lc:{mc:{nc:{if(f>>>0<9){e=422704;break nc}e=C[b+36>>2]- -64|0;if((f|0)!=9){break mc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break lc}h=H[C[b+36>>2]+72>>3]}i=H[e>>3];H[a+24>>3]=H[a+24>>3]+h;H[a+16>>3]=i+H[a+16>>3];e=C[a+28>>2];C[a+8>>2]=C[a+24>>2];C[a+12>>2]=e;e=C[a+20>>2];C[a>>2]=C[a+16>>2];C[a+4>>2]=e;oc:{pc:{qc:{if(f>>>0<11){e=422704;break qc}e=C[b+36>>2]+80|0;if((f|0)!=11){break pc}}j=C[51429];f=C[51428];C[105676]=f;C[105677]=j;l(0,f|0);l(1,j|0);h=+n();break oc}h=H[C[b+36>>2]+88>>3]}i=H[e>>3];H[a+8>>3]=H[a+8>>3]+h;H[a>>3]=i+H[a>>3];Cf(b,c,a+80|0,a- -64|0,a+48|0);Cf(b,c,a+32|0,a+16|0,a);break _b}A[b+40|0]=1}Ce=a+96|0;break b}a=Ce-96|0;Ce=a;rc:{if(C[b+24>>2]==9){e=C[b+140>>2];C[a+88>>2]=C[b+136>>2];C[a+92>>2]=e;e=C[b+132>>2];C[a+80>>2]=C[b+128>>2];C[a+84>>2]=e;sc:{tc:{f=C[b+32>>2];uc:{if(!f){e=422704;break uc}e=C[b+36>>2];if((f|0)!=1){break tc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break sc}h=H[C[b+36>>2]+8>>3]}i=H[e>>3];H[a+88>>3]=H[a+88>>3]+h;H[a+80>>3]=i+H[a+80>>3];e=C[a+92>>2];C[a+72>>2]=C[a+88>>2];C[a+76>>2]=e;e=C[a+84>>2];C[a+64>>2]=C[a+80>>2];C[a+68>>2]=e;vc:{wc:{xc:{if(f>>>0<3){e=422704;break xc}e=C[b+36>>2]+16|0;if((f|0)!=3){break wc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break vc}h=H[C[b+36>>2]+24>>3]}i=H[e>>3];H[a+72>>3]=H[a+72>>3]+h;H[a+64>>3]=i+H[a+64>>3];e=C[a+76>>2];C[a+56>>2]=C[a+72>>2];C[a+60>>2]=e;e=C[a+68>>2];C[a+48>>2]=C[a+64>>2];C[a+52>>2]=e;yc:{zc:{Ac:{Bc:{Cc:{if(f>>>0<=4){H[a+48>>3]=H[a+48>>3]+H[25714];e=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=e;e=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=e;break Cc}H[a+48>>3]=H[a+48>>3]+H[C[b+36>>2]+32>>3];e=C[a+60>>2];C[a+40>>2]=C[a+56>>2];C[a+44>>2]=e;e=C[a+52>>2];C[a+32>>2]=C[a+48>>2];C[a+36>>2]=e;if((f|0)!=5){break Bc}}j=C[51429];e=C[51428];C[105676]=e;C[105677]=j;h=H[a+32>>3];l(0,e|0);l(1,j|0);G=a,J=h+ +n(),H[G+32>>3]=J;e=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=e;e=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=e;e=422704;break Ac}H[a+32>>3]=H[a+32>>3]+H[C[b+36>>2]+40>>3];e=C[a+44>>2];C[a+24>>2]=C[a+40>>2];C[a+28>>2]=e;e=C[a+36>>2];C[a+16>>2]=C[a+32>>2];C[a+20>>2]=e;if(f>>>0<7){e=422704;break Ac}e=C[b+36>>2]+48|0;if((f|0)!=7){break zc}}d=C[51429];j=C[51428];C[105676]=j;C[105677]=d;l(0,j|0);l(1,d|0);h=+n();break yc}h=H[C[b+36>>2]+56>>3]}i=H[e>>3];H[a+24>>3]=H[a+24>>3]+h;H[a+16>>3]=i+H[a+16>>3];e=C[a+28>>2];C[a+8>>2]=C[a+24>>2];C[a+12>>2]=e;e=C[a+20>>2];C[a>>2]=C[a+16>>2];C[a+4>>2]=e;Dc:{if(f>>>0<=8){f=C[51429];e=C[51428];C[105676]=e;C[105677]=f;l(0,e|0);l(1,f|0);h=+n();break Dc}h=H[C[b+36>>2]+64>>3]}H[a>>3]=H[a>>3]+h;e=C[b+140>>2];C[a+8>>2]=C[b+136>>2];C[a+12>>2]=e;Cf(b,c,a+80|0,a- -64|0,a+48|0);Cf(b,c,a+32|0,a+16|0,a);break rc}A[b+40|0]=1}Ce=a+96|0;break b}j=c;d=Ce-96|0;Ce=d;Ec:{Fc:{Gc:{Hc:{Ic:{if(C[b+24>>2]==11){a=C[b+36>>2];e=C[51428];o=C[51429];g=422704;c=422704;Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{k=C[b+32>>2];switch(k|0){case 0:break Qc;case 1:break Rc;default:break Pc}}c=a}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);h=+n()+0;i=H[c>>3]+0;f=0;break Oc}h=H[a+8>>3]+0;i=H[a>>3]+0;f=1;if(k>>>0<3){break Oc}if((k|0)!=3){break Nc}g=a+16|0;m=1;f=1}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);h=h+ +n();i=i+H[g>>3];c=422704;break Mc}h=h+H[a+24>>3];i=i+H[a+16>>3];if(k>>>0<5){r=1;f=1;m=1;c=422704;break Mc}if((k|0)!=5){break Lc}r=1;f=1;m=1;w=1;c=a+32|0}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);h=h+ +n();p=i+H[c>>3];c=422704;break Kc}h=h+H[a+40>>3];p=i+H[a+32>>3];if(k>>>0<7){x=1;r=1;f=1;m=1;w=1;c=422704;break Kc}if((k|0)!=7){break Jc}x=1;r=1;f=1;m=1;w=1;y=1;c=a+48|0}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);i=h+ +n();h=p+H[c>>3];g=422704;break Hc}i=h+H[a+56>>3];h=p+H[a+48>>3];if(k>>>0<9){z=1;x=1;r=1;f=1;m=1;w=1;y=1;break Hc}if((k|0)!=9){break Ic}g=a- -64|0;z=1;x=1;r=1;f=1;m=1;w=1;y=1;E=1;break Hc}A[b+40|0]=1;break Ec}p=H[a+64>>3];q=H[a+72>>3];c=C[b+140>>2];C[d+88>>2]=C[b+136>>2];C[d+92>>2]=c;c=C[b+132>>2];C[d+80>>2]=C[b+128>>2];C[d+84>>2]=c;B=b+128|0;i=i+q;h=h+p;c=1;z=1;x=1;r=1;m=1;w=1;y=1;E=1;break Gc}c=0;C[105676]=e;C[105677]=o;q=H[g>>3];g=C[b+140>>2];C[d+88>>2]=C[b+136>>2];C[d+92>>2]=g;g=C[b+132>>2];C[d+80>>2]=C[b+128>>2];C[d+84>>2]=g;B=b+128|0;l(0,e|0);l(1,o|0);p=+n();i=i+p;h=h+q;if(f?k:0){break Gc}C[105676]=e;C[105677]=o;f=k?a:422704;break Fc}p=H[a+8>>3];f=a}q=H[f>>3];H[d+88>>3]=H[d+88>>3]+p;H[d+80>>3]=q+H[d+80>>3];f=C[d+92>>2];C[d+72>>2]=C[d+88>>2];C[d+76>>2]=f;f=C[d+84>>2];C[d+64>>2]=C[d+80>>2];C[d+68>>2]=f;Sc:{Tc:{Uc:{if(!m){g=422704;break Uc}g=a+16|0;if(r){break Tc}}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);p=+n();break Sc}p=H[a+24>>3]}q=H[g>>3];H[d+72>>3]=H[d+72>>3]+p;H[d+64>>3]=q+H[d+64>>3];f=C[d+76>>2];C[d+56>>2]=C[d+72>>2];C[d+60>>2]=f;f=C[d+68>>2];C[d+48>>2]=C[d+64>>2];C[d+52>>2]=f;Vc:{Wc:{Xc:{if(!w){g=422704;break Xc}g=a+32|0;if(x){break Wc}}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);p=+n();break Vc}p=H[a+40>>3]}q=H[g>>3];H[d+56>>3]=H[d+56>>3]+p;H[d+48>>3]=q+H[d+48>>3];f=C[d+60>>2];C[d+40>>2]=C[d+56>>2];C[d+44>>2]=f;f=C[d+52>>2];C[d+32>>2]=C[d+48>>2];C[d+36>>2]=f;Yc:{Zc:{_c:{if(!y){g=422704;break _c}g=a+48|0;if(z){break Zc}}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);p=+n();break Yc}p=H[a+56>>3]}q=H[g>>3];H[d+40>>3]=H[d+40>>3]+p;H[d+32>>3]=q+H[d+32>>3];f=C[d+44>>2];C[d+24>>2]=C[d+40>>2];C[d+28>>2]=f;f=C[d+36>>2];C[d+16>>2]=C[d+32>>2];C[d+20>>2]=f;$c:{ad:{bd:{if(!E){g=422704;break bd}g=a- -64|0;if(c){break ad}}C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);p=+n();break $c}p=H[a+72>>3]}q=H[g>>3];H[d+24>>3]=H[d+24>>3]+p;H[d+16>>3]=q+H[d+16>>3];c=C[d+28>>2];C[d+8>>2]=C[d+24>>2];C[d+12>>2]=c;c=C[d+20>>2];C[d>>2]=C[d+16>>2];C[d+4>>2]=c;cd:{if(K(h)>K(i)){dd:{if(k>>>0<=10){C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);h=+n();break dd}h=H[a+80>>3]}H[d>>3]=H[d>>3]+h;a=C[b+140>>2];C[d+8>>2]=C[b+136>>2];C[d+12>>2]=a;break cd}c=C[B+4>>2];C[d>>2]=C[B>>2];C[d+4>>2]=c;ed:{if(k>>>0<=10){C[105676]=e;C[105677]=o;l(0,e|0);l(1,o|0);h=+n();break ed}h=H[a+80>>3]}H[d+8>>3]=H[d+8>>3]+h}Cf(b,j,d+80|0,d- -64|0,d+48|0);Cf(b,j,d+32|0,d+16|0,d)}Ce=d+96|0;break b}pk(a,b)}return}c=C[b+24>>2];a=c&1;break f}A[b+20|0]=1;a=0;j=C[51429];e=C[51428];C[105676]=e;C[105677]=j;l(0,e|0);l(1,j|0);i=+n()}q=H[f>>3];A[c|0]=0;H[b+136>>3]=p+q;break d}if(!(!a|!c)){fd:{if(!C[b+32>>2]){c=C[51429];e=c;a=C[51428];C[105676]=a;C[105677]=c;break fd}c=C[b+36>>2];a=C[c>>2];e=C[c+4>>2]}A[b+145|0]=1;C[b+152>>2]=a;C[b+156>>2]=e}A[b+144|0]=1}C[b+148>>2]=0;a=C[b+24>>2];C[b+24>>2]=0;C[b+76>>2]=C[b+76>>2]+(a>>>1|0);return}H[b+128>>3]=h+i}if(!D[b+73|0]){if(!D[b+74|0]){A[b+74|0]=1;a=C[b+80>>2]+(a>>>1|0)|0;C[b+80>>2]=a;C[b+84>>2]=(a+C[b+76>>2]|0)+7>>>3}A[b+73|0]=1}}C[b+24>>2]=0;C[b+148>>2]=0;return}A[b+16|0]=1;C[b+12>>2]=a}function jr(a,b,c,d,e,f,g,h){var 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,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=Ce-32|0;Ce=S;C[S+28>>2]=0;C[S+24>>2]=0;C[S+20>>2]=0;C[S+16>>2]=0;C[S+12>>2]=0;i=-1;a:{if((Bj(b,c,d,e,S+28|0,S+24|0,S+20|0,S+16|0,S+12|0)|0)<0){break a}j=C[95363];w=(j|0)==3?(b|0)<577?1:2:j;if(w>>>0>=3){w=1;if((Qe(18659,0)|0)<0){break a}}z=C[S+12>>2];x=C[S+16>>2];p=C[S+20>>2];u=C[S+24>>2];y=C[S+28>>2];b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)<=1431918168){p:{switch(c-842094158|0){case 0:break m;case 11:break o;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break p}}if((c|0)==825382478){break m}if((c|0)==844715353){break n}break c}if((c|0)==1431918169|(c|0)==1498831189){break n}if((c|0)!=1448433993){break c}}q:{if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break l}if((f|0)!=370546692){break q}break d}if((f|0)!=371595268){if((f|0)==372645892){break d}if((f|0)!=373694468){break q}}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<24|D[(r+k>>>6&511)+155776|0]<<16;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<24|D[(o+r>>>6&511)+155776|0]<<16|D[(k+o>>>6&511)+155776|0]<<8|255;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(j+b>>>6&511)+155776|0]<<16|D[(i+b>>>6&511)+155776|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(b+j>>>6&511)+155776|0]<<16|D[(b+i>>>6&511)+155776|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}r:{if((f|0)!=(m|0)){break r}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;s:{if(!f){g=0;break s}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(m+j>>>6&511)+155776|0]<<16|D[(p+j>>>6&511)+155776|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(j+m>>>6&511)+155776|0]<<16|D[(j+p>>>6&511)+155776|0]<<8|255;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break r}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]<<24|D[((c+I(d,E[a+155734>>1])|0)+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<16|D[(c+I(d,E[a+155738>>1])>>>6&511)+155776|0]<<8|255}i=0;break a}t:{if((f|0)<=376840195){if((f|0)==374740996){break t}if((f|0)!=375789572){break q}break e}if((f|0)==376840196){break t}if((f|0)==377888772){break e}if((f|0)!=386930691){break q}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;d=y+I(f,x)|0;e=f|1;c=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0];l=D[i|0]-128|0;o=I(l,O)- -8192|0;k=I(q,D[d|0]-t|0);A[b+2|0]=D[(o+k>>>6&511)+155776|0];N=r-128|0;r=I(N,R)- -8192|0;A[b|0]=D[(r+k>>>6&511)+155776|0];F=k;k=(I(P,N)+I(l,Q)|0)- -8192|0;A[b+1|0]=D[(F+k>>>6&511)+155776|0];l=I(q,D[d+1|0]-t|0);A[b+5|0]=D[(l+o>>>6&511)+155776|0];A[b+4|0]=D[(k+l>>>6&511)+155776|0];A[b+3|0]=D[(l+r>>>6&511)+155776|0];l=I(q,D[e|0]-t|0);A[c+2|0]=D[(l+o>>>6&511)+155776|0];A[c+1|0]=D[(k+l>>>6&511)+155776|0];A[c|0]=D[(l+r>>>6&511)+155776|0];F=o;o=I(q,D[e+1|0]-t|0);A[c+5|0]=D[(F+o>>>6&511)+155776|0];A[c+4|0]=D[(k+o>>>6&511)+155776|0];A[c+3|0]=D[(o+r>>>6&511)+155776|0];j=j+1|0;i=i+1|0;e=e+2|0;d=d+2|0;c=c+6|0;b=b+6|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){j=D[j|0];q=E[G>>1];n=D[v|0];d=I(q,D[d|0]-n|0)- -8192|0;i=D[i|0]-128|0;t=I(i,E[H>>1]);A[b+2|0]=D[(d+t>>>6&511)+155776|0];j=j-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;A[b+1|0]=D[(i+d>>>6&511)+155776|0];k=d;d=I(j,E[L>>1]);A[b|0]=D[(k+d>>>6&511)+155776|0];b=I(q,D[e|0]-n|0)- -8192|0;A[c+2|0]=D[(b+t>>>6&511)+155776|0];A[c+1|0]=D[(b+i>>>6&511)+155776|0];A[c|0]=D[(b+d>>>6&511)+155776|0]}f=f+2|0;if(m>>>0>f>>>0){continue}break}}u:{if((f|0)!=(m|0)){break u}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;v:{if(!f){g=0;break v}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){p=D[d|0];j=I(h,D[c|0]-a|0)- -8192|0;u=D[e|0]-128|0;m=I(u,x);A[b+2|0]=D[(j+m>>>6&511)+155776|0];p=p-128|0;u=I(p,y)+I(n,u)|0;A[b+1|0]=D[(u+j>>>6&511)+155776|0];p=I(p,z);A[b|0]=D[(p+j>>>6&511)+155776|0];j=I(h,D[c+1|0]-a|0)- -8192|0;A[b+5|0]=D[(j+m>>>6&511)+155776|0];A[b+4|0]=D[(j+u>>>6&511)+155776|0];A[b+3|0]=D[(j+p>>>6&511)+155776|0];d=d+1|0;e=e+1|0;c=c+2|0;b=b+6|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break u}d=D[d|0];a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;e=D[e|0]-128|0;A[b+2|0]=D[(c+I(e,E[a+155738>>1])>>>6&511)+155776|0];d=d-128|0;A[b|0]=D[(c+I(d,E[a+155732>>1])>>>6&511)+155776|0];A[b+1|0]=D[((c+I(e,E[a+155734>>1])|0)+I(d,E[a+155736>>1])>>>6&511)+155776|0]}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<16|D[(r+k>>>6&511)+155776|0]<<8;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<16|D[(o+r>>>6&511)+155776|0]<<8|D[(k+o>>>6&511)+155776|0]|-16777216;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(i+b>>>6&511)+155776|0]<<8|D[(j+b>>>6&511)+155776|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(b+i>>>6&511)+155776|0]<<8|D[(b+j>>>6&511)+155776|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}w:{if((f|0)!=(m|0)){break w}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;x:{if(!f){g=0;break x}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(p+j>>>6&511)+155776|0]<<8|D[(m+j>>>6&511)+155776|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(j+p>>>6&511)+155776|0]<<8|D[(j+m>>>6&511)+155776|0]|-16777216;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break w}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+155738>>1])>>>6&511)+155776|0]<<16;g=c+I(b,E[a+155734>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<8|D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]|-16777216}i=0;break a}if((c|0)==1431918169){break n}if((c|0)!=844715353){break c}}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break k}if((f|0)!=370546692){break b}break f}if((f|0)!=371595268){if((f|0)==372645892){break f}if((f|0)!=373694468){break b}}c=0;if(b){d=I(w,12);i=d+155728|0;w=d+155730|0;n=d+155738|0;m=d+155736|0;v=d+155734|0;q=d+155732|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[e|0]-128|0;l=I(s,L);F=I(s,J);s=D[f|0]-128|0;M=F+I(s,K)|0;s=I(s,H);C[a>>2]=D[(k+l>>>6&511)+155776|0]<<24|D[(M+k>>>6&511)+155776|0]<<16|D[(s+k>>>6&511)+155776|0]<<8|255;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+155776|0]<<24|D[(k+M>>>6&511)+155776|0]<<16|D[(k+s>>>6&511)+155776|0]<<8|255;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;e=D[e|0]-128|0;d=D[f|0]-128|0;C[k>>2]=D[(a+I(e,E[q>>1])>>>6&511)+155776|0]<<24|D[((a+I(d,E[v>>1])|0)+I(e,E[m>>1])>>>6&511)+155776|0]<<16|D[(a+I(d,E[n>>1])>>>6&511)+155776|0]<<8|255}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}y:{if((f|0)<=376840195){if((f|0)==374740996){break y}if((f|0)!=375789572){break b}break g}if((f|0)==376840196){break y}if((f|0)==377888772){break g}if((f|0)!=386930691){break b}c=0;if(b){d=I(w,12);i=d+155728|0;w=d+155730|0;n=d+155738|0;m=d+155736|0;v=d+155734|0;q=d+155732|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){s=D[e|0];k=I(o,D[d|0]-r|0)- -8192|0;l=D[f|0]-128|0;M=I(l,H);A[a+2|0]=D[(k+M>>>6&511)+155776|0];s=s-128|0;l=I(s,J)+I(l,K)|0;A[a+1|0]=D[(l+k>>>6&511)+155776|0];s=I(s,L);A[a|0]=D[(s+k>>>6&511)+155776|0];k=I(o,D[d+2|0]-r|0)- -8192|0;A[a+5|0]=D[(k+M>>>6&511)+155776|0];A[a+4|0]=D[(k+l>>>6&511)+155776|0];A[a+3|0]=D[(k+s>>>6&511)+155776|0];e=e+4|0;f=f+4|0;d=d+4|0;a=a+6|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){e=D[e|0];d=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;A[a+2|0]=D[(d+I(f,E[n>>1])>>>6&511)+155776|0];e=e-128|0;A[a|0]=D[(d+I(e,E[q>>1])>>>6&511)+155776|0];A[a+1|0]=D[((d+I(f,E[v>>1])|0)+I(e,E[m>>1])>>>6&511)+155776|0]}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}c=0;if(b){d=I(w,12);i=d+155728|0;w=d+155730|0;n=d+155738|0;m=d+155736|0;v=d+155734|0;q=d+155732|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[f|0]-128|0;l=I(s,H);M=D[e|0]-128|0;s=I(M,J)+I(s,K)|0;M=I(L,M);C[a>>2]=D[(k+l>>>6&511)+155776|0]<<16|D[(s+k>>>6&511)+155776|0]<<8|D[(M+k>>>6&511)+155776|0]|-16777216;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+155776|0]<<16|D[(k+s>>>6&511)+155776|0]<<8|D[(k+M>>>6&511)+155776|0]|-16777216;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;d=D[e|0]-128|0;C[k>>2]=D[(a+I(f,E[n>>1])>>>6&511)+155776|0]<<16|D[((a+I(f,E[v>>1])|0)+I(d,E[m>>1])>>>6&511)+155776|0]<<8|D[(a+I(d,E[q>>1])>>>6&511)+155776|0]|-16777216}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break j}if((f|0)!=370546692){break b}break h}if((f|0)!=371595268){if((f|0)==372645892){break h}if((f|0)!=373694468){break b}}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<24|D[(r+k>>>6&511)+155776|0]<<16;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<24|D[(o+r>>>6&511)+155776|0]<<16|D[(k+o>>>6&511)+155776|0]<<8|255;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(j+b>>>6&511)+155776|0]<<16|D[(i+b>>>6&511)+155776|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(b+j>>>6&511)+155776|0]<<16|D[(b+i>>>6&511)+155776|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}z:{if((f|0)!=(m|0)){break z}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;A:{if(!f){g=0;break A}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(m+j>>>6&511)+155776|0]<<16|D[(p+j>>>6&511)+155776|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(j+m>>>6&511)+155776|0]<<16|D[(j+p>>>6&511)+155776|0]<<8|255;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break z}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]<<24|D[((c+I(d,E[a+155734>>1])|0)+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<16|D[(c+I(d,E[a+155738>>1])>>>6&511)+155776|0]<<8|255}i=0;break a}B:{if((f|0)<=376840195){if((f|0)==374740996){break B}if((f|0)!=375789572){break b}break i}if((f|0)==376840196){break B}if((f|0)==377888772){break i}if((f|0)!=386930691){break b}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;d=y+I(f,x)|0;e=f|1;c=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0];l=D[i|0]-128|0;o=I(l,O)- -8192|0;k=I(q,D[d|0]-t|0);A[b+2|0]=D[(o+k>>>6&511)+155776|0];N=r-128|0;r=I(N,R)- -8192|0;A[b|0]=D[(r+k>>>6&511)+155776|0];F=k;k=(I(P,N)+I(l,Q)|0)- -8192|0;A[b+1|0]=D[(F+k>>>6&511)+155776|0];l=I(q,D[d+1|0]-t|0);A[b+5|0]=D[(l+o>>>6&511)+155776|0];A[b+4|0]=D[(k+l>>>6&511)+155776|0];A[b+3|0]=D[(l+r>>>6&511)+155776|0];l=I(q,D[e|0]-t|0);A[c+2|0]=D[(l+o>>>6&511)+155776|0];A[c+1|0]=D[(k+l>>>6&511)+155776|0];A[c|0]=D[(l+r>>>6&511)+155776|0];F=o;o=I(q,D[e+1|0]-t|0);A[c+5|0]=D[(F+o>>>6&511)+155776|0];A[c+4|0]=D[(k+o>>>6&511)+155776|0];A[c+3|0]=D[(o+r>>>6&511)+155776|0];j=j+2|0;i=i+2|0;e=e+2|0;d=d+2|0;c=c+6|0;b=b+6|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){j=D[j|0];q=E[G>>1];n=D[v|0];d=I(q,D[d|0]-n|0)- -8192|0;i=D[i|0]-128|0;t=I(i,E[H>>1]);A[b+2|0]=D[(d+t>>>6&511)+155776|0];j=j-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;A[b+1|0]=D[(i+d>>>6&511)+155776|0];k=d;d=I(j,E[L>>1]);A[b|0]=D[(k+d>>>6&511)+155776|0];b=I(q,D[e|0]-n|0)- -8192|0;A[c+2|0]=D[(b+t>>>6&511)+155776|0];A[c+1|0]=D[(b+i>>>6&511)+155776|0];A[c|0]=D[(b+d>>>6&511)+155776|0]}f=f+2|0;if(m>>>0>f>>>0){continue}break}}C:{if((f|0)!=(m|0)){break C}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;D:{if(!f){g=0;break D}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){p=D[d|0];j=I(h,D[c|0]-a|0)- -8192|0;u=D[e|0]-128|0;m=I(u,x);A[b+2|0]=D[(j+m>>>6&511)+155776|0];p=p-128|0;u=I(p,y)+I(n,u)|0;A[b+1|0]=D[(u+j>>>6&511)+155776|0];p=I(p,z);A[b|0]=D[(p+j>>>6&511)+155776|0];j=I(h,D[c+1|0]-a|0)- -8192|0;A[b+5|0]=D[(j+m>>>6&511)+155776|0];A[b+4|0]=D[(j+u>>>6&511)+155776|0];A[b+3|0]=D[(j+p>>>6&511)+155776|0];d=d+2|0;e=e+2|0;c=c+2|0;b=b+6|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break C}d=D[d|0];a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;e=D[e|0]-128|0;A[b+2|0]=D[(c+I(e,E[a+155738>>1])>>>6&511)+155776|0];d=d-128|0;A[b|0]=D[(c+I(d,E[a+155732>>1])>>>6&511)+155776|0];A[b+1|0]=D[((c+I(e,E[a+155734>>1])|0)+I(d,E[a+155736>>1])>>>6&511)+155776|0]}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<16|D[(r+k>>>6&511)+155776|0]<<8;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<16|D[(o+r>>>6&511)+155776|0]<<8|D[(k+o>>>6&511)+155776|0]|-16777216;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(i+b>>>6&511)+155776|0]<<8|D[(j+b>>>6&511)+155776|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(b+i>>>6&511)+155776|0]<<8|D[(b+j>>>6&511)+155776|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}E:{if((f|0)!=(m|0)){break E}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;F:{if(!f){g=0;break F}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(p+j>>>6&511)+155776|0]<<8|D[(m+j>>>6&511)+155776|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(j+p>>>6&511)+155776|0]<<8|D[(j+m>>>6&511)+155776|0]|-16777216;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break E}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+155738>>1])>>>6&511)+155776|0]<<16;g=c+I(b,E[a+155734>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<8|D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]|-16777216}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;l=D[i|0]-128|0;o=(I(r,P)+I(l,Q)|0)- -8192|0;k=I(q,D[c|0]-t|0);r=I(r,R)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<3&2016|D[(r+k>>>6&511)+155776|0]<<8&63488;F=k;k=I(l,O)- -8192|0;B[b>>1]=N|D[(F+k>>>6&511)+155776|0]>>>3;l=I(q,D[c+1|0]-t|0);B[b+2>>1]=D[(l+o>>>6&511)+155776|0]<<3&2016|D[(l+r>>>6&511)+155776|0]<<8&63488|D[(k+l>>>6&511)+155776|0]>>>3;l=I(q,D[e|0]-t|0);B[d>>1]=D[(l+o>>>6&511)+155776|0]<<3&2016|D[(l+r>>>6&511)+155776|0]<<8&63488|D[(k+l>>>6&511)+155776|0]>>>3;F=o;o=I(q,D[e+1|0]-t|0);B[d+2>>1]=D[(F+o>>>6&511)+155776|0]<<3&2016|D[(o+r>>>6&511)+155776|0]<<8&63488|D[(k+o>>>6&511)+155776|0]>>>3;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+4|0;b=b+4|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;i=D[i|0]-128|0;q=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);i=I(i,E[H>>1]);B[k>>1]=D[(b+q>>>6&511)+155776|0]<<3&2016|D[(j+b>>>6&511)+155776|0]<<8&63488|D[(i+b>>>6&511)+155776|0]>>>3;b=I(n,D[e|0]-c|0)- -8192|0;B[d>>1]=D[(b+q>>>6&511)+155776|0]<<3&2016|D[(b+j>>>6&511)+155776|0]<<8&63488|D[(b+i>>>6&511)+155776|0]>>>3}f=f+2|0;if(m>>>0>f>>>0){continue}break}}G:{if((f|0)!=(m|0)){break G}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;H:{if(!f){g=0;break H}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=D[e|0]-128|0;m=I(p,y)+I(u,n)|0;p=I(p,z);u=I(x,u);B[b>>1]=D[(j+m>>>6&511)+155776|0]<<3&2016|D[(p+j>>>6&511)+155776|0]<<8&63488|D[(u+j>>>6&511)+155776|0]>>>3;j=I(h,D[c+1|0]-a|0)- -8192|0;B[b+2>>1]=D[(j+m>>>6&511)+155776|0]<<3&2016|D[(j+p>>>6&511)+155776|0]<<8&63488|D[(j+u>>>6&511)+155776|0]>>>3;d=d+1|0;e=e+1|0;c=c+2|0;b=b+4|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break G}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;d=D[d|0]-128|0;B[f>>1]=D[((c+I(b,E[a+155734>>1])|0)+I(d,E[a+155736>>1])>>>6&511)+155776|0]<<3&2016|D[(c+I(d,E[a+155732>>1])>>>6&511)+155776|0]<<8&63488|D[(c+I(b,E[a+155738>>1])>>>6&511)+155776|0]>>>3}i=0;break a}c=0;if(b){d=I(w,12);i=d+155728|0;w=d+155730|0;n=d+155738|0;m=d+155736|0;v=d+155734|0;q=d+155732|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[e|0]-128|0;l=D[f|0]-128|0;M=I(s,J)+I(l,K)|0;s=I(s,L);l=I(l,H);B[a>>1]=D[(k+M>>>6&511)+155776|0]<<3&2016|D[(s+k>>>6&511)+155776|0]<<8&63488|D[(l+k>>>6&511)+155776|0]>>>3;k=I(o,D[d+2|0]-r|0)- -8192|0;B[a+2>>1]=D[(k+M>>>6&511)+155776|0]<<3&2016|D[(k+s>>>6&511)+155776|0]<<8&63488|D[(k+l>>>6&511)+155776|0]>>>3;e=e+4|0;f=f+4|0;d=d+4|0;a=a+4|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;d=D[e|0]-128|0;B[k>>1]=D[((a+I(f,E[v>>1])|0)+I(d,E[m>>1])>>>6&511)+155776|0]<<3&2016|D[(a+I(d,E[q>>1])>>>6&511)+155776|0]<<8&63488|D[(a+I(f,E[n>>1])>>>6&511)+155776|0]>>>3}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;l=D[i|0]-128|0;o=(I(r,P)+I(l,Q)|0)- -8192|0;k=I(q,D[c|0]-t|0);r=I(r,R)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<3&2016|D[(r+k>>>6&511)+155776|0]<<8&63488;F=k;k=I(l,O)- -8192|0;B[b>>1]=N|D[(F+k>>>6&511)+155776|0]>>>3;l=I(q,D[c+1|0]-t|0);B[b+2>>1]=D[(l+o>>>6&511)+155776|0]<<3&2016|D[(l+r>>>6&511)+155776|0]<<8&63488|D[(k+l>>>6&511)+155776|0]>>>3;l=I(q,D[e|0]-t|0);B[d>>1]=D[(l+o>>>6&511)+155776|0]<<3&2016|D[(l+r>>>6&511)+155776|0]<<8&63488|D[(k+l>>>6&511)+155776|0]>>>3;F=o;o=I(q,D[e+1|0]-t|0);B[d+2>>1]=D[(F+o>>>6&511)+155776|0]<<3&2016|D[(o+r>>>6&511)+155776|0]<<8&63488|D[(k+o>>>6&511)+155776|0]>>>3;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+4|0;b=b+4|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;i=D[i|0]-128|0;q=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);i=I(i,E[H>>1]);B[k>>1]=D[(b+q>>>6&511)+155776|0]<<3&2016|D[(j+b>>>6&511)+155776|0]<<8&63488|D[(i+b>>>6&511)+155776|0]>>>3;b=I(n,D[e|0]-c|0)- -8192|0;B[d>>1]=D[(b+q>>>6&511)+155776|0]<<3&2016|D[(b+j>>>6&511)+155776|0]<<8&63488|D[(b+i>>>6&511)+155776|0]>>>3}f=f+2|0;if(m>>>0>f>>>0){continue}break}}I:{if((f|0)!=(m|0)){break I}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;J:{if(!f){g=0;break J}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=D[e|0]-128|0;m=I(p,y)+I(u,n)|0;p=I(p,z);u=I(x,u);B[b>>1]=D[(j+m>>>6&511)+155776|0]<<3&2016|D[(p+j>>>6&511)+155776|0]<<8&63488|D[(u+j>>>6&511)+155776|0]>>>3;j=I(h,D[c+1|0]-a|0)- -8192|0;B[b+2>>1]=D[(j+m>>>6&511)+155776|0]<<3&2016|D[(j+p>>>6&511)+155776|0]<<8&63488|D[(j+u>>>6&511)+155776|0]>>>3;d=d+2|0;e=e+2|0;c=c+2|0;b=b+4|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break I}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;d=D[d|0]-128|0;B[f>>1]=D[((c+I(b,E[a+155734>>1])|0)+I(d,E[a+155736>>1])>>>6&511)+155776|0]<<3&2016|D[(c+I(d,E[a+155732>>1])>>>6&511)+155776|0]<<8&63488|D[(c+I(b,E[a+155738>>1])>>>6&511)+155776|0]>>>3}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<24|D[(r+k>>>6&511)+155776|0]<<16;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<24|D[(o+r>>>6&511)+155776|0]<<16|D[(k+o>>>6&511)+155776|0]<<8|255;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(i+b>>>6&511)+155776|0]<<16|D[(j+b>>>6&511)+155776|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(b+i>>>6&511)+155776|0]<<16|D[(b+j>>>6&511)+155776|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}K:{if((f|0)!=(m|0)){break K}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;L:{if(!f){g=0;break L}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(p+j>>>6&511)+155776|0]<<16|D[(m+j>>>6&511)+155776|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(j+p>>>6&511)+155776|0]<<16|D[(j+m>>>6&511)+155776|0]<<8|255;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break K}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+155738>>1])>>>6&511)+155776|0]<<24;g=c+I(b,E[a+155734>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<16|D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]<<8|255}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<16|D[(r+k>>>6&511)+155776|0]<<8;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<16|D[(o+r>>>6&511)+155776|0]<<8|D[(k+o>>>6&511)+155776|0]|-16777216;j=j+2|0;i=i+2|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(j+b>>>6&511)+155776|0]<<8|D[(i+b>>>6&511)+155776|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(b+j>>>6&511)+155776|0]<<8|D[(b+i>>>6&511)+155776|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}M:{if((f|0)!=(m|0)){break M}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;N:{if(!f){g=0;break N}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(m+j>>>6&511)+155776|0]<<8|D[(p+j>>>6&511)+155776|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(j+m>>>6&511)+155776|0]<<8|D[(j+p>>>6&511)+155776|0]|-16777216;d=d+2|0;e=e+2|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break M}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]<<16|D[((c+I(d,E[a+155734>>1])|0)+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<8|D[(c+I(d,E[a+155738>>1])>>>6&511)+155776|0]|-16777216}i=0;break a}c=0;if(b){d=I(w,12);i=d+155728|0;w=d+155730|0;n=d+155738|0;m=d+155736|0;v=d+155734|0;q=d+155732|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[f|0]-128|0;l=I(s,H);M=D[e|0]-128|0;s=I(M,J)+I(s,K)|0;M=I(L,M);C[a>>2]=D[(k+l>>>6&511)+155776|0]<<24|D[(s+k>>>6&511)+155776|0]<<16|D[(M+k>>>6&511)+155776|0]<<8|255;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+155776|0]<<24|D[(k+s>>>6&511)+155776|0]<<16|D[(k+M>>>6&511)+155776|0]<<8|255;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;f=D[f|0]-128|0;d=D[e|0]-128|0;C[k>>2]=D[(a+I(f,E[n>>1])>>>6&511)+155776|0]<<24|D[((a+I(f,E[v>>1])|0)+I(d,E[m>>1])>>>6&511)+155776|0]<<16|D[(a+I(d,E[q>>1])>>>6&511)+155776|0]<<8|255}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}c=0;if(b){d=I(w,12);i=d+155728|0;w=d+155730|0;n=d+155738|0;m=d+155736|0;v=d+155734|0;q=d+155732|0;t=a-1|0;G=(t|0)!=(a&-2);while(1){a=I(c,h)+g|0;d=I(c,z);e=d+p|0;f=d+u|0;d=y+I(c,x)|0;if(t){o=E[w>>1];r=D[i|0];H=E[n>>1];J=E[m>>1];K=E[v>>1];L=E[q>>1];j=0;while(1){k=I(o,D[d|0]-r|0)- -8192|0;s=D[e|0]-128|0;l=I(s,L);F=I(s,J);s=D[f|0]-128|0;M=F+I(s,K)|0;s=I(s,H);C[a>>2]=D[(k+l>>>6&511)+155776|0]<<16|D[(M+k>>>6&511)+155776|0]<<8|D[(s+k>>>6&511)+155776|0]|-16777216;k=I(o,D[d+2|0]-r|0)- -8192|0;C[a+4>>2]=D[(k+l>>>6&511)+155776|0]<<16|D[(k+M>>>6&511)+155776|0]<<8|D[(k+s>>>6&511)+155776|0]|-16777216;e=e+4|0;f=f+4|0;d=d+4|0;a=a+8|0;j=j+2|0;if(t>>>0>j>>>0){continue}break}}if(!G){k=a;a=I(E[w>>1],D[d|0]-D[i|0]|0)- -8192|0;e=D[e|0]-128|0;d=D[f|0]-128|0;C[k>>2]=D[(a+I(e,E[q>>1])>>>6&511)+155776|0]<<16|D[((a+I(d,E[v>>1])|0)+I(e,E[m>>1])>>>6&511)+155776|0]<<8|D[(a+I(d,E[n>>1])>>>6&511)+155776|0]|-16777216}c=c+1|0;if((c|0)!=(b|0)){continue}break}}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[i|0]-128|0;o=I(r,O)- -8192|0;k=I(q,D[c|0]-t|0);l=D[j|0]-128|0;r=(I(l,P)+I(r,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<24|D[(r+k>>>6&511)+155776|0]<<16;F=k;k=I(l,R)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]<<8|255;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<24|D[(l+r>>>6&511)+155776|0]<<16|D[(k+l>>>6&511)+155776|0]<<8|255;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<24|D[(o+r>>>6&511)+155776|0]<<16|D[(k+o>>>6&511)+155776|0]<<8|255;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;i=D[i|0]-128|0;q=I(i,E[H>>1]);j=D[j|0]-128|0;i=I(j,E[J>>1])+I(i,E[K>>1])|0;j=I(j,E[L>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(i+b>>>6&511)+155776|0]<<16|D[(j+b>>>6&511)+155776|0]<<8|255;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<24|D[(b+i>>>6&511)+155776|0]<<16|D[(b+j>>>6&511)+155776|0]<<8|255}f=f+2|0;if(m>>>0>f>>>0){continue}break}}O:{if((f|0)!=(m|0)){break O}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;P:{if(!f){g=0;break P}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[e|0]-128|0;u=I(p,x);m=D[d|0]-128|0;p=I(m,y)+I(n,p)|0;m=I(m,z);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(p+j>>>6&511)+155776|0]<<16|D[(m+j>>>6&511)+155776|0]<<8|255;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<24|D[(j+p>>>6&511)+155776|0]<<16|D[(j+m>>>6&511)+155776|0]<<8|255;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break O}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[e|0]-128|0;e=D[(c+I(b,E[a+155738>>1])>>>6&511)+155776|0]<<24;g=c+I(b,E[a+155734>>1])|0;b=D[d|0]-128|0;C[f>>2]=e|D[(g+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<16|D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]<<8|255}i=0;break a}f=0;c=I(w,12);v=c+155728|0;m=b-1|0;if(m){G=c+155730|0;H=c+155738|0;J=c+155736|0;K=c+155734|0;L=c+155732|0;s=a-1|0;M=(s|0)!=(a&-2);while(1){b=I(f,h)+g|0;c=y+I(f,x)|0;e=f|1;d=I(e,h)+g|0;e=y+I(e,x)|0;i=I(z,f>>>1|0);j=i+p|0;i=i+u|0;if(s){q=E[G>>1];t=D[v|0];O=E[H>>1];P=E[J>>1];Q=E[K>>1];R=E[L>>1];n=0;while(1){r=D[j|0]-128|0;o=I(r,R)- -8192|0;k=I(q,D[c|0]-t|0);l=D[i|0]-128|0;r=(I(r,P)+I(l,Q)|0)- -8192|0;N=D[(o+k>>>6&511)+155776|0]<<16|D[(r+k>>>6&511)+155776|0]<<8;F=k;k=I(l,O)- -8192|0;C[b>>2]=N|D[(F+k>>>6&511)+155776|0]|-16777216;l=I(q,D[c+1|0]-t|0);C[b+4>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;l=I(q,D[e|0]-t|0);C[d>>2]=D[(l+o>>>6&511)+155776|0]<<16|D[(l+r>>>6&511)+155776|0]<<8|D[(k+l>>>6&511)+155776|0]|-16777216;F=o;o=I(q,D[e+1|0]-t|0);C[d+4>>2]=D[(F+o>>>6&511)+155776|0]<<16|D[(o+r>>>6&511)+155776|0]<<8|D[(k+o>>>6&511)+155776|0]|-16777216;j=j+1|0;i=i+1|0;e=e+2|0;c=c+2|0;d=d+8|0;b=b+8|0;n=n+2|0;if(s>>>0>n>>>0){continue}break}}if(!M){k=b;n=E[G>>1];b=D[c|0];c=D[v|0];b=I(n,b-c|0)- -8192|0;j=D[j|0]-128|0;q=I(j,E[L>>1]);i=D[i|0]-128|0;j=I(j,E[J>>1])+I(i,E[K>>1])|0;i=I(i,E[H>>1]);C[k>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(j+b>>>6&511)+155776|0]<<8|D[(i+b>>>6&511)+155776|0]|-16777216;b=I(n,D[e|0]-c|0)- -8192|0;C[d>>2]=D[(b+q>>>6&511)+155776|0]<<16|D[(b+j>>>6&511)+155776|0]<<8|D[(b+i>>>6&511)+155776|0]|-16777216}f=f+2|0;if(m>>>0>f>>>0){continue}break}}Q:{if((f|0)!=(m|0)){break Q}b=I(h,m)+g|0;c=y+I(m,x)|0;e=I(z,m>>>1|0);d=e+p|0;e=e+u|0;f=a-1|0;R:{if(!f){g=0;break R}g=a&-2;a=I(w,12);h=E[a+155730>>1];x=E[a+155738>>1];y=E[a+155736>>1];n=E[a+155734>>1];z=E[a+155732>>1];a=D[v|0];i=0;while(1){j=I(h,D[c|0]-a|0)- -8192|0;p=D[d|0]-128|0;u=I(p,z);k=I(p,y);p=D[e|0]-128|0;m=k+I(p,n)|0;p=I(p,x);C[b>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(m+j>>>6&511)+155776|0]<<8|D[(p+j>>>6&511)+155776|0]|-16777216;j=I(h,D[c+1|0]-a|0)- -8192|0;C[b+4>>2]=D[(j+u>>>6&511)+155776|0]<<16|D[(j+m>>>6&511)+155776|0]<<8|D[(j+p>>>6&511)+155776|0]|-16777216;d=d+1|0;e=e+1|0;c=c+2|0;b=b+8|0;i=i+2|0;if(f>>>0>i>>>0){continue}break}}if((f|0)!=(g|0)){break Q}a=I(w,12);c=I(E[a+155730>>1],D[c|0]-D[v|0]|0)- -8192|0;f=b;b=D[d|0]-128|0;d=D[e|0]-128|0;C[f>>2]=D[(c+I(b,E[a+155732>>1])>>>6&511)+155776|0]<<16|D[((c+I(d,E[a+155734>>1])|0)+I(b,E[a+155736>>1])>>>6&511)+155776|0]<<8|D[(c+I(d,E[a+155738>>1])>>>6&511)+155776|0]|-16777216}i=0;break a}if((f|0)!=372645892){break b}i=Qe(12219,0);break a}w=a<<2;i=I(w,b);j=Fe[C[94503]](i>>>0<=1?1:i)|0;if(j){C[94507]=C[94507]+1}if(!j){i=_e(0);break a}i=jr(a,b,c,d,e,372645892,j,w);if((i|0)>=0){i=Bi(a,b,372645892,j,w,f,g,h)}if(j){Fe[C[94506]](j);C[94507]=C[94507]-1}}Ce=S+32|0;return i}function MS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=J(0),p=0,q=0,r=0,s=0,t=0,u=J(0),v=0,w=0,x=0,y=0,z=0,B=0,E=0,G=J(0),L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0;t=1;i=Ce-48|0;Ce=i;k=b+140|0;e=C[k>>2];a:{if(e){break a}q=k-140|0;while(1){l=C[q>>2];if(!l){e=205712;break a}e=df(1,8);if(!e){e=205712;C[k>>2]=205712;break a}C[i+8>>2]=0;C[i+12>>2]=0;C[i+16>>2]=0;C[i+20>>2]=0;A[i+24|0]=0;C[i>>2]=0;C[i+4>>2]=0;C[i+28>>2]=0;C[i+32>>2]=0;f=Qf(l);A[i+40|0]=1;C[i+36>>2]=f;r=Of(l,1935829368);p=Ce-16|0;Ce=p;b:{if(!r){break b}f=C[r>>2];if(!f){break b}C[r>>2]=f+1}A[i+24|0]=0;f=r;C[i+32>>2]=f;g=C[f+12>>2];C[i+4>>2]=g;m=C[f+16>>2];C[i+8>>2]=m+g;C[i+28>>2]=0;if(m>>>0>67108862){h=1073741823}else{h=m<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}C[i+12>>2]=h;C[i+20>>2]=0;C[i>>2]=0;c:{d:{if(!g){break d}e:{f:{g:{h:{if((m|0)<8){break h}C[i+12>>2]=h-8;if(!(D[g|0]|D[g+1|0]<<8)){break h}C[p+8>>2]=g;i:{if(oq(g+4|0,i,p+8|0)){break i}if(D[i+24|0]|!C[i+28>>2]){break h}f=Pf(r);C[i+4>>2]=f;C[i+8>>2]=f+C[r+16>>2];if(!f){break h}while(1){A[i+24|0]=1;f=C[i+32>>2];g=C[f+12>>2];C[i+4>>2]=g;h=C[f+16>>2];C[i+8>>2]=h+g;m=1073741823;C[i+28>>2]=0;if(h>>>0<=67108862){m=h<<6;m=m>>>0<=16384?16384:m;m=m>>>0>=1073741823?1073741823:m}C[i+12>>2]=m;C[i+20>>2]=0;C[i>>2]=0;if(!g){break d}if((h|0)<=7){break h}C[i+12>>2]=m-8;if(!(D[g|0]|D[g+1|0]<<8)){break h}C[p+8>>2]=g;if(oq(g+4|0,i,p+8|0)){break i}if(D[i+24|0]|!C[i+28>>2]){break h}f=Pf(r);C[i+4>>2]=f;C[i+8>>2]=f+C[r+16>>2];if(f){continue}break}break h}if(!C[i+28>>2]){break g}C[i+28>>2]=0;if(F[i+4>>2]>g>>>0){break h}f=C[i+8>>2];if(f>>>0>>0|f-g>>>0<=7){break h}f=C[i+12>>2]-8|0;C[i+12>>2]=f;if(!(D[g|0]|D[g+1|0]<<8)|(f|0)<=0){break h}C[p+12>>2]=g;f=oq(g+4|0,i,p+12|0);if(C[i+28>>2]){break h}Ue(C[i+32>>2]);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;if(f){break f}break e}Ue(C[i+32>>2]);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0;break e}Ue(C[i+32>>2]);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0}if(C[r+4>>2]){C[r+4>>2]=0}break c}Ue(r);r=205712;break c}Ue(f);C[i+32>>2]=0;C[i+4>>2]=0;C[i+8>>2]=0}Ce=p+16|0;C[e>>2]=r;f=C[l+32>>2];if((f|0)==-1){f=Rg(l)}C[e+4>>2]=f;if(!C[k>>2]){C[k>>2]=e;break a}Ue(C[e>>2]);Re(e);e=C[k>>2];if(!e){continue}break}}Ce=i+48|0;p=a;r=c;h=Ce-16|0;Ce=h;a=C[e>>2];a=a?a:205712;a=F[a+16>>2]<8?205712:C[a+12>>2];if(D[a|0]|D[a+1|0]<<8){C[h+12>>2]=0;C[h+8>>2]=0;C[h+4>>2]=0;a=r;q=C[e+4>>2];i=C[e>>2];c=i?i:205712;k=F[c+16>>2]<8?205712:C[c+12>>2];c=D[k+4|0]|D[k+5|0]<<8|(D[k+6|0]<<16|D[k+7|0]<<24);l=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(l){f=0;if((l|0)!=1){c=C[p+48>>2];e=C[p+52>>2];c=c>>>0>e>>>0?c:e;m=c?c:1073741824;c=D[k+8|0]|D[k+9|0]<<8|(D[k+10|0]<<16|D[k+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+k|0:205712;c=D[c|0]|D[c+1|0]<<8;e=(c<<8|c>>>8)&65535;c=1;while(1){g=c>>>0>=l>>>0?205712:(k+(c<<2)|0)+8|0;g=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=g?g+k|0:205712;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!(!(g>>>0>=m>>>0&e>>>0>g>>>0)&(e>>>0>=m>>>0|e>>>0>=g>>>0))){f=c;e=g}c=c+1|0;if((l|0)!=(c|0)){continue}break}}c=f>>>0>=l>>>0?205712:(k+(f<<2)|0)+8|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c?c+k|0:205712}else{e=205712}k=D[e|0]|D[e+1|0]<<8;c=205712;j:{if(!k){break j}l=e+4|0;B=e-C[i+12>>2]|0;M=C[i+16>>2]-B|0;c=8;k:{while(1){f=c;l:{m:{if(a>>>0>=q>>>0){break m}c=a+1|0;c=(c|0)<0?205712:l+(c<<2)|0;c=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a=(a|0)<0?205712:l+(a<<2)|0;a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);g=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(c>>>0<=g>>>0){break m}a=c-g|0;if(a>>>0<9){break m}if(c>>>0<=M>>>0){break l}}c=205712;break j}m=a-8|0;a=g?e+g|0:205712;c=D[a+4|0]|D[a+5|0]<<8|(D[a+6|0]<<16|D[a+7|0]<<24);L=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((L|0)!=1685418085){break k}if(m>>>0>=2){a=D[a+8|0]|D[a+9|0]<<8;a=(a<<8|a>>>8)&65535;c=f-1|0;if(f){continue}}break}c=205712;break j}c=205712;if((L|0)!=1886283552){break j}c=h+4|0;if(c){C[c>>2]=(k<<8|k>>>8)&65535}c=h+12|0;if(c){e=c;c=D[a|0]|D[a+1|0]<<8;C[e>>2]=(c<<8|c>>>8)<<16>>16}c=h+8|0;if(c){a=D[a+2|0]|D[a+3|0]<<8;C[c>>2]=(a<<8|a>>>8)<<16>>16}c=Yq(i,(g+B|0)+8|0,m)}i=c;a=C[i+12>>2];e=C[i+16>>2];c=C[h+12>>2];C[d>>2]=c;a=e>>>0<29?205712:a;e=D[a+20|0]|D[a+21|0]<<8|(D[a+22|0]<<16|D[a+23|0]<<24);f=C[h+8>>2]+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;C[d+4>>2]=f;e=D[a+16|0]|D[a+17|0]<<8|(D[a+18|0]<<16|D[a+19|0]<<24);k=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);C[d+8>>2]=k;l=(0-D[a+20|0]<<24)-(D[a+23|0]|(D[a+22|0]<<8|D[a+21|0]<<16))|0;C[d+12>>2]=l;q=d;g=C[h+4>>2];n:{if(g){f=C[p+16>>2];a=C[f+28>>2];o:{if(a){e=a;break o}e=Lf(f);c=C[d>>2];f=C[p+16>>2];a=C[f+28>>2];g=C[h+4>>2]}o=J(J(e>>>0)/J(g>>>0));u=J(o*J(c|0));g=C[p+20>>2];p:{if(a){c=a;break p}c=Lf(f);f=C[p+16>>2];a=C[f+28>>2]}u=J(O(J(J(J(u*J(g|0))/J(c>>>0))+J(.5))));q:{if(J(K(u))>2]=c;u=J(o*J(C[d+4>>2]));g=C[p+24>>2];r:{if(a){c=a;break r}c=Lf(f);f=C[p+16>>2];a=C[f+28>>2]}u=J(O(J(J(J(u*J(g|0))/J(c>>>0))+J(.5))));s:{if(J(K(u))>2]=c;u=J(o*J(C[d+8>>2]));g=C[p+20>>2];t:{if(a){c=a;break t}c=Lf(f);f=C[p+16>>2];a=C[f+28>>2]}u=J(O(J(J(J(u*J(g|0))/J(c>>>0))+J(.5))));u:{if(J(K(u))>2]=c;o=J(J(o*J(C[d+12>>2]))*J(C[p+24>>2]));if(!a){a=Lf(f)}o=J(O(J(J(o/J(a>>>0))+J(.5))));if(J(K(o))>2];m=C[p+36>>2];c=c<<16>>16;g=mT(e,m,c,c>>31);c=Ee;g=g+32768|0;C[d>>2]=((g>>>0<32768?c+1|0:c)&65535)<<16|g>>>16;a=C[p+40>>2];g=C[p+44>>2];c=e;e=k<<16>>16;k=mT(c,m,e,e>>31);e=Ee;k=k+32768|0;C[d+8>>2]=((k>>>0<32768?e+1|0:e)&65535)<<16|k>>>16;e=f<<16>>16;e=mT(a,g,e,e>>31);f=Ee;e=e+32768|0;C[d+4>>2]=((e>>>0<32768?f+1|0:f)&65535)<<16|e>>>16;c=a;a=l<<16>>16;a=mT(c,g,a,a>>31);c=Ee;a=a+32768|0;a=((a>>>0<32768?c+1|0:c)&65535)<<16|a>>>16}C[q+12>>2]=a;Ue(i);a=C[h+4>>2]!=0}else{a=0}Ce=h+16|0;v:{if(a){break v}e=C[b+52>>2];w:{if(e){break w}while(1){a=C[b>>2];if(!a){e=205712;break w}e=df(1,32);if(!e){e=205712;C[b+52>>2]=205712;break w}en(e,a);if(!C[b+52>>2]){C[b+52>>2]=e;break w}Ue(C[e+20>>2]);C[e+20>>2]=0;Ue(C[e+24>>2]);Re(e);e=C[b+52>>2];if(!e){continue}break}}if(uz(e,p,r,d)){break v}e=C[b+56>>2];x:{if(e){break x}while(1){a=C[b>>2];if(!a){e=205712;break x}e=df(1,232);if(!e){e=205712;C[b+56>>2]=205712;break x}vq(e,a);if(!C[b+56>>2]){C[b+56>>2]=e;break x}Re(C[e+228>>2]);C[e+228>>2]=0;C[e+220>>2]=0;C[e+224>>2]=0;ng(e);Re(e);e=C[b+56>>2];if(!e){continue}break}}g=Ce-32|0;Ce=g;h=Aq(e,r,g,0);y:{if(!h){break y}x=H[g+16>>3];z=H[g>>3];z:{if(!(x>z)){C[d>>2]=0;C[d+8>>2]=0;break z}i=C[p+20>>2];o=J(z);e=C[p+16>>2];a=C[e+28>>2];A:{if(a){c=a;f=i;break A}c=Lf(e);e=C[p+16>>2];a=C[e+28>>2];f=C[p+20>>2]}o=J(O(J(J(J(o*J(i|0))/J(c>>>0))+J(.5))));B:{if(J(K(o))>2]=c;if(!a){a=Lf(e);c=C[d>>2]}o=J(O(J(J(J(J(x)*J(f|0))/J(a>>>0))+J(.5))));C:{if(J(K(o))>2]=a-c}x=H[g+24>>3];z=H[g+8>>3];if(!(x>z)){C[d+4>>2]=0;C[d+12>>2]=0;break y}i=C[p+24>>2];o=J(x);e=C[p+16>>2];a=C[e+28>>2];D:{if(a){c=a;f=i;break D}c=Lf(e);e=C[p+16>>2];a=C[e+28>>2];f=C[p+24>>2]}o=J(O(J(J(J(o*J(i|0))/J(c>>>0))+J(.5))));E:{if(J(K(o))>2]=c;if(!a){a=Lf(e);c=C[d+4>>2]}o=J(O(J(J(J(J(z)*J(f|0))/J(a>>>0))+J(.5))));F:{if(J(K(o))>2]=a-c}Ce=g+32|0;if(h){break v}e=C[b+60>>2];G:{if(e){break G}while(1){a=C[b>>2];if(!a){e=205712;break G}e=df(1,132);if(!e){e=205712;C[b+60>>2]=205712;break G}y=0;j=Ce-96|0;Ce=j;C[e+48>>2]=0;C[e+52>>2]=0;C[e+104>>2]=0;C[e+108>>2]=0;C[e+72>>2]=0;C[e+76>>2]=0;c=e- -64|0;C[c>>2]=0;C[c+4>>2]=0;C[e+56>>2]=0;C[e+60>>2]=0;C[e+112>>2]=0;C[e+116>>2]=0;C[e+120>>2]=0;C[e+124>>2]=0;if(!D[e+44|0]){c=Qf(a);A[e+44|0]=1;C[e+40>>2]=c}s=e+4|0;c=s;a=Of(a,1128678962);H:{if(!a){break H}f=C[a>>2];if(!f){break H}C[a>>2]=f+1}A[c+24|0]=0;C[c+32>>2]=a;i=C[a+12>>2];C[c+4>>2]=i;g=C[a+16>>2];C[c+8>>2]=g+i;C[c+28>>2]=0;if(g>>>0>67108862){f=1073741823}else{f=g<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}C[c+12>>2]=f;C[c+20>>2]=0;C[c>>2]=0;I:{if(!i){Ue(a);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;break I}J:{if((g|0)>=5){C[c+12>>2]=f-5;f=D[i|0];Ue(a);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0;if((f|0)!=2){break J}if(C[a+4>>2]){C[a+4>>2]=0}break I}Ue(a);C[c+32>>2]=0;C[c+4>>2]=0;C[c+8>>2]=0}Ue(a);a=205712}C[e>>2]=a;K:{if(!a){break K}c=C[a>>2];if(!c){break K}C[a>>2]=c+1}A[e+28|0]=0;C[e+36>>2]=a;i=C[a+12>>2];C[e+8>>2]=i;a=C[a+16>>2];g=a+i|0;C[e+12>>2]=g;C[e+4>>2]=0;C[e+32>>2]=0;if(a>>>0>67108862){a=1073741823}else{a=a<<6;a=a>>>0<=16384?16384:a;a=a>>>0>=1073741823?1073741823:a}C[e+16>>2]=a;C[e+24>>2]=0;L:{M:{c=C[e>>2];if(F[c+16>>2]>=5){w=C[c+12>>2];if((w|0)!=205712){break M}}Ph(e);break L}h=D[w+3|0]|D[w+4|0]<<8;f=(h<<8|h>>>8)&65535;c=D[w+2|0]+w|0;N:{if(!h){break N}if(!(c>>>0>>0|c>>>0>g>>>0|f>>>0>g-c>>>0)){a=a-f|0;C[e+16>>2]=a;if((a|0)>0){break N}}Ph(e);break L}g=e+48|0;A[j+20|0]=0;C[j+4>>2]=f;C[j>>2]=c;a=kf(4744);C[j+32>>2]=0;C[j+36>>2]=0;C[j+24>>2]=0;C[j+28>>2]=0;A[j+16|0]=0;C[j+8>>2]=0;C[j+12>>2]=0;O:{if(!a){C[j+28>>2]=-1;break O}C[j+36>>2]=a;C[j+28>>2]=593;C[j+32>>2]=513;We(a,0,4104)}A[j+40|0]=0;a=g;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;i=D[205712];f=i|256;a=D[j+16|0];P:{if((i|0)!=12){c=C[j+12>>2];h=c+1|0;l=C[j+4>>2];k=(a|0)!=0|h>>>0>l>>>0;if(k){break P}a=i;Q:{R:{S:{if(c>>>0>=l>>>0){break S}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=l>>>0){break S}c=h;a=D[m+c|0]|256}if(c>>>0>>0){break R}}A[j+16|0]=1;C[j+12>>2]=l;break Q}C[j+12>>2]=c+1}Zm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break P}while(1){c=C[j+12>>2];h=c+1|0;l=C[j+4>>2];k=h>>>0>l>>>0;if(k){break P}a=i;T:{U:{if(c>>>0>=l>>>0){break U}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=l>>>0){break U}c=h;a=D[m+c|0]|256}if(c>>>0>=l>>>0){break U}C[j+12>>2]=c+1;break T}A[j+16|0]=1;C[j+12>>2]=l}Zm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break P}if(C[j+28>>2]>=0){continue}break}break P}c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];k=(a|0)!=0|i>>>0>h>>>0;if(k){break P}V:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break V}W:{l=C[j>>2];a=D[l+c|0];X:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break X}c=i;a=D[l+c|0]|256}if(c>>>0>>0){break W}}A[j+16|0]=1;C[j+12>>2]=h;break V}C[j+12>>2]=c+1}Zm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break P}while(1){c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];k=i>>>0>h>>>0;if(k){break P}Y:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break Y}Z:{l=C[j>>2];a=D[l+c|0];_:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break _}c=i;a=D[l+c|0]|256}if(c>>>0>>0){break Z}}A[j+16|0]=1;C[j+12>>2]=h;break Y}C[j+12>>2]=c+1}Zm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break P}if(C[j+28>>2]>=0){continue}break}}if(!k){Ph(e);Re(C[j+36>>2]);break L}Re(C[j+36>>2]);i=D[w+2|0];f=D[w+3|0]|D[w+4|0]<<8;a=C[e+72>>2];c=a?a+w|0:205712;C[e+84>>2]=c;a=C[e- -64>>2];a=a?a+w|0:205712;C[e+88>>2]=a;g=C[e+68>>2];C[e+92>>2]=g?g+w|0:205712;g=C[e+76>>2];C[e+96>>2]=g?g+w|0:205712;C[e+80>>2]=(i+((f<<8|f>>>8)&65535)|0)+w;$:{aa:{if((c|0)!=205712){a=0;h=Ce-16|0;Ce=h;ba:{if(c>>>0>2]){break ba}g=C[s+8>>2];if(g>>>0>>0|g-c>>>0<10){break ba}f=C[s+12>>2]-10|0;C[s+12>>2]=f;if((f|0)<=0){break ba}i=c+2|0;l=D[c|0]|D[c+1|0]<<8;ca:{if(!l){k=g-i|0;break ca}if(g>>>0>>0){break ba}k=g-i|0;l=(l<<8|l>>>8)&65535;if(k>>>0>>0){break ba}f=f-l|0;C[s+12>>2]=f;if((f|0)<=0){break ba}}if(!(k>>>0>7&g>>>0>=i>>>0)){break ba}C[s+12>>2]=f-8;if((D[i|0]|D[i+1|0]<<8)!=256|(f|0)<9){break ba}if(!sq(c+4|0,s,i)){break ba}C[h+12>>2]=i;a=rq(c+8|0,s,h+12|0)}Ce=h+16|0;if(!a){break aa}a=C[e+88>>2]}if((a|0)==205712){break aa}if(!_m(a,s)){break aa}a=C[e+80>>2];if((a|0)==205712){break aa}if(!_m(a,s)){break aa}a=C[e+92>>2];if((a|0)==205712){break aa}if(!_m(a,s)){break aa}c=C[e+96>>2];if((c|0)==205712){break $}a=C[e+92>>2];a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=0;h=C[s+4>>2];da:{ea:{if(h>>>0>c>>>0){break ea}g=C[s+8>>2];if(g>>>0>>0|g-c>>>0<2){break ea}m=C[s+12>>2];k=m-2|0;C[s+12>>2]=k;if((k|0)<=0){break ea}fa:{ga:{ha:{ia:{switch(D[c|0]){case 0:a=1;i=C[s+36>>2];if(!i){break da}l=c+1|0;if(l>>>0>>0|g>>>0<=l>>>0){break ea}a=m-3|0;if((a|0)>0){k=k-i|0;c=a;while(1){f=f+1|0;if((i|0)==(f|0)){break ha}m=f+l|0;if(m>>>0>>0|g>>>0<=m>>>0){break ga}c=c-1|0;if((c|0)>0){continue}break}f=f>>>0>=i>>>0}C[s+12>>2]=a&a>>31;a=f;break da;case 3:a=gz(c+1|0,s,i);break da;case 4:break ia;default:break ea}}a=0;g=Ce-16|0;Ce=g;C[g+12>>2]=i;i=c+1|0;ja:{if(i>>>0>2]){break ja}c=C[s+8>>2];if(c>>>0>>0|c-i>>>0<=3){break ja}c=C[s+12>>2]-4|0;C[s+12>>2]=c;if((c|0)<=0){break ja}C[g+8>>2]=0;c=0;ka:{la:{if(i>>>0>2]){break la}h=C[s+8>>2];if(h>>>0>>0|h-i>>>0<4){break la}k=C[s+12>>2]-4|0;C[s+12>>2]=k;if((k|0)<=0){break la}f=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(l>>>0>715827881){break la}f=1;if(!l){break ka}f=i+4|0;if(f>>>0>h>>>0){break la}h=h-f|0;f=I(l,6);if(h>>>0>>0){break la}f=k-f|0;C[s+12>>2]=f;if((f|0)<=0){break la}c=1;f=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(!k){break la}l=C[g+12>>2];m=C[s+36>>2];f=0;while(1){ma:{c=i+I(f,6)|0;h=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);if(m>>>0<=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0){break ma}c=D[c+8|0]|D[c+9|0]<<8;if(l>>>0<=((c<<8|c>>>8)&65535)>>>0){break ma}c=1;f=f+1|0;if((k|0)!=(f|0)){continue}break la}break}c=0}f=c}if(!f){break ja}f=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);if(!f){break ja}c=D[i+4|0]|D[i+5|0]<<8|(D[i+6|0]<<16|D[i+7|0]<<24);if(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)){break ja}c=1;f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1){while(1){k=i+I(c,6)|0;h=f>>>0<=c-1>>>0?205712:k-2|0;h=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);q=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);h=c>>>0>=f>>>0?205712:k+4|0;h=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);if(q>>>0>=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0){break ja}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=(i+I(f,6)|0)+4|0;if(c>>>0>2]){break ja}f=C[s+8>>2];if(f>>>0>>0|f-c>>>0<4){break ja}c=C[s+12>>2]-4|0;C[s+12>>2]=c;if((c|0)<=0){break ja}a=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);a=a?(i+I(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24),6)|0)-2|0:205712;a=D[a+6|0]|D[a+7|0]<<8|(D[a+8|0]<<16|D[a+9|0]<<24);a=C[s+36>>2]==(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}Ce=g+16|0;break da}C[s+12>>2]=k;break fa}C[s+12>>2]=c}f=f>>>0>=i>>>0}a=f}if(a){break $}}Ph(e);break L}a=C[e+88>>2];a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);C[e+128>>2]=a;if((a|0)!=C[e+40>>2]){Ph(e);break L}a=C[e+92>>2];a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);C[e+100>>2]=a;na:{oa:{g=C[e+116>>2];if((g|0)>=0){a=(a|0)>0?a:0;if(a>>>0<=g>>>0){break na}while(1){g=((g>>>1|0)+g|0)+8|0;if(a>>>0>=g>>>0){continue}break}if(g>>>0<=153391688){c=mf(C[e+124>>2],I(g,28));if(c){break oa}}C[e+116>>2]=-1}Ph(e);break L}C[e+116>>2]=g;C[e+124>>2]=c}c=C[e+120>>2];if(c>>>0>>0){We(C[e+124>>2]+I(c,28)|0,0,I(a-c|0,28))}C[e+120>>2]=a;if(!C[e+100>>2]){break L}B=C[51430];M=C[51429];L=C[51428];while(1){c=L;a=M;f=B;h=C[e+92>>2];i=D[h|0]|D[h+1|0]<<8|(D[h+2|0]<<16|D[h+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);if(i>>>0>y>>>0){a=i+1|0;l=h+4|0;i=D[l|0];m=I(a,i);f=0;g=0;pa:{if(!i){break pa}k=i&3;a=(h+I(i,y)|0)+5|0;c=0;if(i>>>0<4){g=0}else{q=i&252;while(1){i=a;a=a+4|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}i=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);g=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24)}if(!k){break pa}while(1){g=D[a|0]|g<<8;a=a+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=(l+m|0)+g|0;a=kq(h,y)}qa:{ra:{sa:{switch(a+1|0){case 1:break qa;case 0:break ra;default:break sa}}if(F[e+8>>2]>c>>>0){break ra}i=C[e+12>>2];if(i>>>0>>0|i-c>>>0>>0){break ra}i=C[e+16>>2]-a|0;C[e+16>>2]=i;if((i|0)>0){break qa}}Ph(e);break L}A[j+72|0]=0;A[j+68|0]=0;C[j+64>>2]=0;C[j+60>>2]=f;C[j+56>>2]=a;C[j+52>>2]=c;a=kf(4744);C[j+84>>2]=0;C[j+88>>2]=0;C[j+76>>2]=0;C[j+80>>2]=0;ta:{if(!a){C[j+80>>2]=-1;break ta}C[j+88>>2]=a;C[j+80>>2]=593;C[j+84>>2]=513;We(a,0,4104)}A[j+92|0]=0;ua:{va:{wa:{xa:{c=C[e+104>>2];if((c|0)>=0){g=C[e+108>>2];a=g+1|0;a=(a|0)>0?a:0;if(a>>>0<=c>>>0){break wa}while(1){c=((c>>>1|0)+c|0)+8|0;if(a>>>0>=c>>>0){continue}break}if(c>>>0<=153391688){f=mf(C[e+112>>2],I(c,28));if(f){break xa}}C[e+104>>2]=-1}C[105682]=C[51434];a=C[51433];C[105680]=C[51432];C[105681]=a;a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;break va}C[e+104>>2]=c;C[e+112>>2]=f;g=C[e+108>>2]}if(a>>>0>g>>>0){We(C[e+112>>2]+I(g,28)|0,0,I(a-g|0,28))}C[e+108>>2]=a;c=C[e+112>>2];N=C[51434];C[105682]=N;f=C[51433];P=f;k=C[51432];C[105680]=k;C[105681]=f;f=C[51431];Q=f;l=C[51430];C[105678]=l;C[105679]=f;f=C[51429];R=f;m=C[51428];C[105676]=m;C[105677]=f;h=c+I(a-1|0,28)|0;if((h|0)==422704){break va}a=h;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;i=D[205712];f=i|256;n=j+52|0;a=D[n+16|0];ya:{if((i|0)!=12){c=C[n+12>>2];q=c+1|0;v=C[n+4>>2];g=(a|0)!=0|q>>>0>v>>>0;if(g){break ya}a=i;za:{Aa:{Ba:{if(c>>>0>=v>>>0){break Ba}E=C[n>>2];a=D[E+c|0];if((a|0)==12){a=f;if(q>>>0>=v>>>0){break Ba}c=q;a=D[E+c|0]|256}if(c>>>0>>0){break Aa}}A[n+16|0]=1;C[n+12>>2]=v;break za}C[n+12>>2]=c+1}Ym(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])|C[n+28>>2]<0){break ya}while(1){c=C[n+12>>2];q=c+1|0;v=C[n+4>>2];g=q>>>0>v>>>0;if(g){break ya}a=i;Ca:{Da:{if(c>>>0>=v>>>0){break Da}E=C[n>>2];a=D[E+c|0];if((a|0)==12){a=f;if(q>>>0>=v>>>0){break Da}c=q;a=D[E+c|0]|256}if(c>>>0>=v>>>0){break Da}C[n+12>>2]=c+1;break Ca}A[n+16|0]=1;C[n+12>>2]=v}Ym(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])){break ya}if(C[n+28>>2]>=0){continue}break}break ya}c=C[n+12>>2];i=c+1|0;q=C[n+4>>2];g=(a|0)!=0|i>>>0>q>>>0;if(g){break ya}Ea:{if(c>>>0>=q>>>0){A[n+16|0]=1;a=65535;break Ea}Fa:{v=C[n>>2];a=D[v+c|0];Ga:{if((a|0)==12){a=f;if(i>>>0>=q>>>0){break Ga}c=i;a=D[v+c|0]|256}if(c>>>0>>0){break Fa}}A[n+16|0]=1;C[n+12>>2]=q;break Ea}C[n+12>>2]=c+1}Ym(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])|C[n+28>>2]<0){break ya}while(1){c=C[n+12>>2];i=c+1|0;q=C[n+4>>2];g=i>>>0>q>>>0;if(g){break ya}Ha:{if(c>>>0>=q>>>0){A[n+16|0]=1;a=65535;break Ha}Ia:{v=C[n>>2];a=D[v+c|0];Ja:{if((a|0)==12){a=f;if(i>>>0>=q>>>0){break Ja}c=i;a=D[v+c|0]|256}if(c>>>0>>0){break Ia}}A[n+16|0]=1;C[n+12>>2]=q;break Ha}C[n+12>>2]=c+1}Ym(a,n,h);if(D[n+20|0]|(D[n+40|0]|D[n+16|0])){break ya}if(C[n+28>>2]>=0){continue}break}}if(!g){break va}a=C[h+16>>2];q=a?a+w|0:205712;Ka:{La:{n=C[h+20>>2];switch(n+1|0){case 0:break va;case 1:break Ka;default:break La}}if(q>>>0>2]){break va}a=C[e+12>>2];if(a>>>0>>0|n>>>0>a-q>>>0){break va}a=C[e+16>>2]-n|0;C[e+16>>2]=a;if((a|0)<=0){break va}}A[j+20|0]=0;C[j+4>>2]=n;C[j>>2]=q;a=kf(4744);C[j+32>>2]=0;C[j+36>>2]=0;C[j+24>>2]=0;C[j+28>>2]=0;A[j+16|0]=0;C[j+8>>2]=0;C[j+12>>2]=0;if(a){C[j+32>>2]=513;C[j+36>>2]=a;We(a,0,4104);a=593}else{a=-1}A[j+48|0]=0;C[j+44>>2]=0;A[j+40|0]=0;C[j+28>>2]=a;Ma:{if(F[e+120>>2]<=y>>>0){C[105682]=N;C[105680]=k;C[105681]=P;C[105678]=l;C[105679]=Q;C[105676]=m;C[105677]=R;a=422704;break Ma}a=C[e+124>>2]+I(y,28)|0}C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+20>>2]=205712;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;Na:{if(F[e+120>>2]<=y>>>0){C[105682]=N;C[105680]=k;C[105681]=P;C[105678]=l;C[105679]=Q;C[105676]=m;C[105677]=R;g=422704;break Na}g=C[e+124>>2]+I(y,28)|0}a=g;C[a>>2]=0;C[a+4>>2]=0;C[a+24>>2]=0;C[a+20>>2]=205712;C[a+16>>2]=0;C[a+8>>2]=0;C[a+12>>2]=0;i=D[205712];f=i|256;a=D[j+16|0];Oa:{if((i|0)!=12){c=C[j+12>>2];h=c+1|0;k=C[j+4>>2];l=(a|0)!=0|h>>>0>k>>>0;if(l){break Oa}a=i;Pa:{Qa:{Ra:{if(c>>>0>=k>>>0){break Ra}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=k>>>0){break Ra}c=h;a=D[m+c|0]|256}if(c>>>0>>0){break Qa}}A[j+16|0]=1;C[j+12>>2]=k;break Pa}C[j+12>>2]=c+1}Xm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break Oa}while(1){c=C[j+12>>2];h=c+1|0;k=C[j+4>>2];l=h>>>0>k>>>0;if(l){break Oa}a=i;Sa:{Ta:{if(c>>>0>=k>>>0){break Ta}m=C[j>>2];a=D[m+c|0];if((a|0)==12){a=f;if(h>>>0>=k>>>0){break Ta}c=h;a=D[m+c|0]|256}if(c>>>0>=k>>>0){break Ta}C[j+12>>2]=c+1;break Sa}A[j+16|0]=1;C[j+12>>2]=k}Xm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break Oa}if(C[j+28>>2]>=0){continue}break}break Oa}c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];l=(a|0)!=0|i>>>0>h>>>0;if(l){break Oa}Ua:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break Ua}Va:{k=C[j>>2];a=D[k+c|0];Wa:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break Wa}c=i;a=D[k+c|0]|256}if(c>>>0>>0){break Va}}A[j+16|0]=1;C[j+12>>2]=h;break Ua}C[j+12>>2]=c+1}Xm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])|C[j+28>>2]<0){break Oa}while(1){c=C[j+12>>2];i=c+1|0;h=C[j+4>>2];l=i>>>0>h>>>0;if(l){break Oa}Xa:{if(c>>>0>=h>>>0){A[j+16|0]=1;a=65535;break Xa}Ya:{k=C[j>>2];a=D[k+c|0];Za:{if((a|0)==12){a=f;if(h>>>0<=i>>>0){break Za}c=i;a=D[k+c|0]|256}if(c>>>0>>0){break Ya}}A[j+16|0]=1;C[j+12>>2]=h;break Xa}C[j+12>>2]=c+1}Xm(a,j,g);if(D[j+20|0]|(D[j+40|0]|D[j+16|0])){break Oa}if(C[j+28>>2]>=0){continue}break}}_a:{if(l){$a:{if(F[e+120>>2]>y>>>0){f=C[e+124>>2]+I(y,28)|0;a=C[f+16>>2];a=a?a+(n?q:205712)|0:205712;C[f+20>>2]=a;if((a|0)!=205712){break $a}a=0;break _a}a=C[51433];C[105680]=C[51432];C[105681]=a;C[105682]=C[51434];a=C[51431];C[105678]=C[51430];C[105679]=a;a=C[51429];C[105676]=C[51428];C[105677]=a;f=422704;a=0;if(C[105681]==205712){break _a}}a=0;if(_m(C[f+20>>2],s)){break _a}}Ph(e);a=1}Re(C[j+36>>2]);break ua}Ph(e);a=1}Re(C[j+88>>2]);if(a){break L}y=y+1|0;if(y>>>0>2]){continue}break}}Ce=j+96|0;if(!C[b+60>>2]){C[b+60>>2]=e;break G}Ph(e);Re(e);e=C[b+60>>2];if(!e){continue}break}}i=d;f=0;d=0;h=Ce-240|0;Ce=h;if(!(!C[e>>2]|r>>>0>=F[e+128>>2])){c=0;a=C[e+96>>2];ab:{if((a|0)==205712){break ab}bb:{switch(D[a|0]){case 0:c=D[(a+r|0)+1|0];break ab;case 3:c=1;f=a+1|0;a=D[a+1|0]|D[a+2|0]<<8;a=(a<<8|a>>>8)&65535;cb:{if(a>>>0<2){break cb}while(1){g=f+I(c,3)|0;g=D[g+2|0]|D[g+3|0]<<8;if(r>>>0<((g<<8|g>>>8)&65535)>>>0){break cb}c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}c=c-1|0;c=D[(a>>>0<=c>>>0?205712:(f+I(c,3)|0)+2|0)+2|0];break ab;case 4:break bb;default:break ab}}c=1;g=a+1|0;a=D[a+1|0]|D[a+2|0]<<8|(D[a+3|0]<<16|D[a+4|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);db:{if(a>>>0<2){break db}while(1){f=a>>>0<=c>>>0?205712:(g+I(c,6)|0)+4|0;f=D[f|0]|D[f+1|0]<<8|(D[f+2|0]<<16|D[f+3|0]<<24);if(r>>>0<(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0){break db}c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}c=c-1|0;a=a>>>0<=c>>>0?205712:(g+I(c,6)|0)+4|0;a=D[a+4|0]|D[a+5|0]<<8;c=(a<<8|a>>>8)&65535}k=c;A[h+72|0]=0;a=h- -64|0;C[a>>2]=0;C[a+4>>2]=0;C[h+92>>2]=0;C[h+84>>2]=0;C[h+88>>2]=0;C[h+108>>2]=0;C[h+112>>2]=0;A[h+116|0]=0;C[h+228>>2]=0;C[h+160>>2]=0;C[h+152>>2]=0;C[h+156>>2]=0;C[h+56>>2]=0;C[h+60>>2]=0;C[h+100>>2]=0;C[h+104>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;c=C[e+88>>2];a=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);eb:{if(a>>>0<=r>>>0){C[h+48>>2]=C[51430];a=C[51429];C[h+40>>2]=C[51428];C[h+44>>2]=a;break eb}f=c+5|0;g=a+1|0;a=D[c+4|0];m=f+I(g,a)|0;fb:{if(!a){break fb}l=a&3;f=f+I(a,r)|0;g=0;if(a>>>0<4){d=0}else{q=a&252;while(1){a=f;f=a+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}a=D[a|0]|D[a+1|0]<<8|(D[a+2|0]<<16|D[a+3|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}if(!l){break fb}while(1){d=D[f|0]|d<<8;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=kq(c,r);C[h+48>>2]=0;C[h+44>>2]=a;C[h+40>>2]=(d+m|0)-1}m=C[p+64>>2];q=C[p+60>>2];g=C[e+80>>2];B=I(k,28);l=C[(k>>>0>=F[e+120>>2]?205712:B+C[e+124>>2]|0)+20>>2];c=C[h+44>>2];a=h+56|0;C[a>>2]=C[h+40>>2];C[a+4>>2]=c;C[a+8>>2]=C[h+48>>2];A[a+20|0]=0;A[a+16|0]=0;C[a+12>>2]=0;c=kf(18976);C[a+32>>2]=0;C[a+36>>2]=0;C[a+24>>2]=0;C[a+28>>2]=0;gb:{if(!c){C[a+28>>2]=-1;break gb}C[a+36>>2]=c;f=We(c,0,16416);C[a+28>>2]=593;C[a+32>>2]=513;d=0;while(1){c=f+(d<<5)|0;C[c>>2]=0;C[c+4>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;C[c+32>>2]=0;C[c+36>>2]=0;C[c+56>>2]=0;C[c+48>>2]=0;C[c+52>>2]=0;C[c+88>>2]=0;C[c+80>>2]=0;C[c+84>>2]=0;c=c- -64|0;C[c>>2]=0;C[c+4>>2]=0;d=d+3|0;if((d|0)!=513){continue}break}}A[a+40|0]=0;c=C[h+40>>2];d=C[h+44>>2];C[a+52>>2]=C[h+48>>2];C[a+44>>2]=c;C[a+48>>2]=d;C[a+128>>2]=0;C[a+132>>2]=0;A[a+73|0]=1;A[a+74|0]=0;c=a- -64|0;C[c>>2]=0;C[c+4>>2]=0;A[a+60|0]=0;C[a+56>>2]=0;C[a+136>>2]=0;C[a+140>>2]=0;c=kf(560);C[a+100>>2]=0;C[a+104>>2]=0;C[a+92>>2]=0;C[a+96>>2]=0;C[a+76>>2]=0;C[a+80>>2]=0;A[a+81|0]=0;A[a+82|0]=0;A[a+83|0]=0;A[a+84|0]=0;A[a+85|0]=0;A[a+86|0]=0;A[a+87|0]=0;A[a+88|0]=0;hb:{if(!c){C[a+96>>2]=-1;break hb}C[a+104>>2]=c;We(c,0,280);C[a+96>>2]=20;C[a+100>>2]=10;f=10;d=0;while(1){ib:{if(d>>>0>=f>>>0){C[105682]=C[51434];c=C[51433];C[105680]=C[51432];C[105681]=c;c=C[51431];C[105678]=C[51430];C[105679]=c;c=C[51429];C[105676]=C[51428];C[105677]=c;c=422704;break ib}c=C[a+104>>2]+I(d,28)|0}C[c>>2]=0;C[c+4>>2]=0;C[c+20>>2]=0;C[c+24>>2]=0;A[c+16|0]=0;C[c+8>>2]=0;C[c+12>>2]=0;d=d+1|0;f=C[a+100>>2];if(d>>>0>>0){continue}break}}C[a+112>>2]=g;d=107;c=107;jb:{if(!g){break jb}f=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=107;if(f>>>0<1240){break jb}c=f>>>0<33900?1131:32768}C[a+108>>2]=c;C[a+120>>2]=l;kb:{if(!l){break kb}c=D[l|0]|D[l+1|0]<<8|(D[l+2|0]<<16|D[l+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<1240){break kb}d=c>>>0<33900?1131:32768}C[a+116>>2]=d;C[h+204>>2]=q;C[h+200>>2]=m;c=C[e+84>>2];C[h+208>>2]=c;A[h+233|0]=0;A[h+234|0]=0;C[h+228>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;a=0;lb:{if(!m){break lb}a=0;if(!q){break lb}a=(D[c|0]|D[c+1|0]<<8)!=0}A[h+232|0]=a;C[h+216>>2]=C[(k>>>0>=F[e+120>>2]?205712:B+C[e+124>>2]|0)+24>>2];C[h+32>>2]=0;C[h+36>>2]=-1042284544;C[h+24>>2]=0;C[h+28>>2]=-1042284544;C[h+16>>2]=-4194304;C[h+20>>2]=1105199103;C[h+8>>2]=-4194304;C[h+12>>2]=1105199103;A[h|0]=0;g=h+56|0;A[g+72|0]=0;d=D[205712];e=d|256;mb:{nb:{if(!D[g+16|0]){a=C[g+12>>2];f=a+1|0;k=C[g+4>>2];if(f>>>0<=k>>>0){break nb}}c=C[g+92>>2]?11:14;break mb}ob:{pb:{if(a>>>0>=k>>>0){A[g+16|0]=1;c=65535;a=d;if((a|0)!=12){break pb}break mb}l=C[g>>2];c=D[l+a|0];if((c|0)==12){a=e;if(f>>>0>=k>>>0){break pb}c=D[f+l|0]|256;a=f}if(a>>>0>>0){break ob}a=c}A[g+16|0]=1;C[g+12>>2]=k;c=a;break mb}C[g+12>>2]=a+1}Cz(c,g,h);a=0;qb:{rb:{if(D[g+88|0]|C[g+96>>2]<0){break rb}f=0;if(D[g+40|0]|D[g+16|0]){break qb}f=0;if(D[g+20|0]){break qb}if(C[g+28>>2]<0){break rb}a=1;if(D[g+72|0]){break rb}while(1){a=C[g+12>>2];f=a+1|0;k=C[g+4>>2];sb:{if(f>>>0<=k>>>0){tb:{if(a>>>0>>0){l=C[g>>2];c=D[l+a|0];if((c|0)==12){a=e;if(f>>>0>=k>>>0){break tb}c=D[f+l|0]|256;a=f}if(a>>>0>=k>>>0){a=c;break tb}C[g+12>>2]=a+1;break sb}A[g+16|0]=1;c=65535;a=d;if((a|0)==12){break sb}}A[g+16|0]=1;C[g+12>>2]=k;c=a;break sb}c=C[g+92>>2]?11:14}Cz(c,g,h);a=0;if(D[g+88|0]|C[g+96>>2]<0|(D[g+20|0]|(D[g+40|0]|D[g+16|0]))){break rb}if(C[g+28>>2]<0){break rb}if(!D[g+72|0]){continue}break}a=1}f=a}ub:{if(!f){break ub}x=H[h+24>>3];z=H[h+8>>3];vb:{if(!(x>z)){C[i>>2]=0;C[i+8>>2]=0;break vb}g=C[p+20>>2];o=J(z);c=C[p+16>>2];d=C[c+28>>2];wb:{if(d){a=d;e=g;break wb}a=Lf(c);c=C[p+16>>2];d=C[c+28>>2];x=H[h+24>>3];e=C[p+20>>2]}o=J(O(J(J(J(o*J(g|0))/J(a>>>0))+J(.5))));xb:{if(J(K(o))>2]=g;if(!d){d=Lf(c);g=C[i>>2]}o=J(O(J(J(J(J(x)*J(e|0))/J(d>>>0))+J(.5))));yb:{if(J(K(o))>2]=a-g}x=H[h+16>>3];z=H[h+32>>3];if(!(x>2]=0;C[i+12>>2]=0;break ub}g=C[p+24>>2];o=J(z);c=C[p+16>>2];d=C[c+28>>2];zb:{if(d){a=d;e=g;break zb}a=Lf(c);c=C[p+16>>2];d=C[c+28>>2];x=H[h+16>>3];e=C[p+24>>2]}o=J(O(J(J(J(o*J(g|0))/J(a>>>0))+J(.5))));Ab:{if(J(K(o))>2]=g;if(!d){d=Lf(c);g=C[i+4>>2]}o=J(O(J(J(J(J(x)*J(e|0))/J(d>>>0))+J(.5))));Bb:{if(J(K(o))>2]=a-g}a=0;Re(C[h+228>>2]);C[h+228>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;d=C[h+88>>2];if(d){while(1){c=C[h+92>>2]+(a<<5)|0;Re(C[c+24>>2]);C[c+24>>2]=0;C[c+16>>2]=0;C[c+20>>2]=0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}Re(C[h+92>>2]);C[h+92>>2]=0;C[h+84>>2]=0;C[h+88>>2]=0;Re(C[h+160>>2]);C[h+160>>2]=0;C[h+152>>2]=0;C[h+156>>2]=0;Re(C[h+228>>2]);C[h+228>>2]=0;C[h+220>>2]=0;C[h+224>>2]=0;Re(C[h+160>>2]);C[h+160>>2]=0;C[h+152>>2]=0;C[h+156>>2]=0;Re(C[h+92>>2]);C[h+92>>2]=0;C[h+84>>2]=0;C[h+88>>2]=0}Ce=h+240|0;if(f){break v}t=C[b+136>>2];Cb:{if(t){break Cb}while(1){h=C[b>>2];if(!h){t=205712;break Cb}a=Ce-48|0;Ce=a;f=df(1,12);if(f){C[a+8>>2]=0;C[a+12>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;A[a+24|0]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;c=Qf(h);A[a+40|0]=1;C[a+36>>2]=c;c=Of(h,1128418371);t=Ce-16|0;Ce=t;Db:{if(!c){break Db}d=C[c>>2];if(!d){break Db}C[c>>2]=d+1}d=c;A[a+24|0]=0;C[a+32>>2]=c;e=C[c+12>>2];C[a+4>>2]=e;k=C[c+16>>2];C[a+8>>2]=k+e;C[a+28>>2]=0;if(k>>>0>67108862){g=1073741823}else{g=k<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[a+12>>2]=g;C[a+20>>2]=0;C[a>>2]=0;Eb:{Fb:{if(!e){break Fb}Gb:{Hb:{Ib:{Jb:{if((k|0)<8){break Jb}C[a+12>>2]=g-8;if(((D[e|0]|D[e+1|0]<<8)&65279)!=512){break Jb}C[t+8>>2]=e;Kb:{if(jq(e+4|0,a,t+8|0)){break Kb}if(D[a+24|0]|!C[a+28>>2]){break Jb}d=Pf(c);C[a+4>>2]=d;C[a+8>>2]=d+C[c+16>>2];if(!d){break Jb}while(1){A[a+24|0]=1;d=C[a+32>>2];e=C[d+12>>2];C[a+4>>2]=e;k=C[d+16>>2];C[a+8>>2]=k+e;g=1073741823;C[a+28>>2]=0;if(k>>>0<=67108862){g=k<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}C[a+12>>2]=g;C[a+20>>2]=0;C[a>>2]=0;if(!e){break Fb}if((k|0)<=7){break Jb}C[a+12>>2]=g-8;if(((D[e|0]|D[e+1|0]<<8)&65279)!=512){break Jb}C[t+8>>2]=e;if(jq(e+4|0,a,t+8|0)){break Kb}if(D[a+24|0]|!C[a+28>>2]){break Jb}d=Pf(c);C[a+4>>2]=d;C[a+8>>2]=d+C[c+16>>2];if(d){continue}break}break Jb}if(!C[a+28>>2]){break Ib}C[a+28>>2]=0;if(F[a+4>>2]>e>>>0){break Jb}d=C[a+8>>2];if(d>>>0>>0|d-e>>>0<=7){break Jb}d=C[a+12>>2]-8|0;C[a+12>>2]=d;if(((D[e|0]|D[e+1|0]<<8)&65279)!=512|(d|0)<=0){break Jb}C[t+12>>2]=e;d=jq(e+4|0,a,t+12|0);if(C[a+28>>2]){break Jb}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if(d){break Hb}break Gb}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break Gb}Ue(C[a+32>>2]);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}if(C[c+4>>2]){C[c+4>>2]=0}break Eb}Ue(c);c=205712;break Eb}Ue(d);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}Ce=t+16|0;C[f>>2]=c;C[a+8>>2]=0;C[a+12>>2]=0;C[a+16>>2]=0;C[a+20>>2]=0;A[a+24|0]=0;C[a>>2]=0;C[a+4>>2]=0;C[a+28>>2]=0;C[a+32>>2]=0;c=Qf(h);A[a+40|0]=1;C[a+36>>2]=c;c=Of(h,1128416340);Lb:{if(!c){break Lb}d=C[c>>2];if(!d){break Lb}C[c>>2]=d+1}A[a+24|0]=0;C[a+32>>2]=c;e=C[c+12>>2];C[a+4>>2]=e;g=C[c+16>>2];C[a+8>>2]=g+e;C[a+28>>2]=0;if(g>>>0>67108862){d=1073741823}else{d=g<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}C[a+12>>2]=d;C[a+20>>2]=0;C[a>>2]=0;Mb:{if(!e){Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;break Mb}Nb:{if((g|0)>=4){C[a+12>>2]=d-4;d=D[e|0]|D[e+1|0]<<8;Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0;if((d&65279)!=512){break Nb}if(C[c+4>>2]){C[c+4>>2]=0}break Mb}Ue(c);C[a+32>>2]=0;C[a+4>>2]=0;C[a+8>>2]=0}Ue(c);c=205712}C[f+4>>2]=c;S=f,T=ql(h),C[S+8>>2]=T}Ce=a+48|0;a=f?f:205712;t=C[b+136>>2];if(!t){C[b+136>>2]=a;t=a;break Cb}if(!a|(a|0)==205712){break Cb}Ue(C[a>>2]);C[a>>2]=0;Ue(C[a+4>>2]);Re(a);t=C[b+136>>2];if(!t){continue}break}}g=Ce-16|0;Ce=g;b=205712;a=C[t>>2];a=a?a:205712;e=F[a+16>>2]<8?205712:C[a+12>>2];a=D[e+4|0]|D[e+5|0]<<8|(D[e+6|0]<<16|D[e+7|0]<<24);f=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f){b=0;if((f|0)!=1){a=C[p+48>>2];b=C[p+52>>2];a=a>>>0>b>>>0?a:b;h=a?a:1073741824;a=D[e+52|0];b=D[e+53|0];c=a>>>0>b>>>0?a:b;b=0;a=1;while(1){d=e+I(a,48)|0;k=D[d+52|0];d=D[d+53|0];d=d>>>0>>0?k:d;if(!(!(d>>>0>=h>>>0&c>>>0>d>>>0)&(c>>>0>=h>>>0|c>>>0>=d>>>0))){b=a;c=d}a=a+1|0;if((f|0)!=(a|0)){continue}break}}b=b>>>0>=f>>>0?205712:(e+I(b,48)|0)+8|0}a=0;c=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Ob:{if(!f){break Ob}c=D[b|0]|D[b+1|0]<<8|(D[b+2|0]<<16|D[b+3|0]<<24);d=e+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;while(1){Pb:{c=(a|0)<0?205712:d+(a<<3)|0;e=D[c|0]|D[c+1|0]<<8;if(r>>>0<((e<<8|e>>>8)&65535)>>>0){break Pb}e=D[c+2|0]|D[c+3|0]<<8;if(r>>>0>((e<<8|e>>>8)&65535)>>>0){break Pb}a=0;if(!D[b+44|0]|!D[b+45|0]){break Ob}C[g+12>>2]=0;C[g+8>>2]=0;C[g+4>>2]=0;f=0;e=D[c|0]|D[c+1|0]<<8;e=(e<<8|e>>>8)&65535;Qb:{if(e>>>0>r>>>0){break Qb}h=D[c+2|0]|D[c+3|0]<<8;if(r>>>0>((h<<8|h>>>8)&65535)>>>0){break Qb}c=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=c?c+d|0:205712;d=D[c+2|0]|D[c+3|0]<<8;C[g+4>>2]=(d<<8|d>>>8)&65535;e=r-e|0;Rb:{Sb:{d=D[c|0]|D[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break Rb;case 0:break Sb;default:break Qb}}r=c+8|0;d=e+1|0;d=(d|0)<0?205712:r+(d<<2)|0;f=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=(e|0)<0?205712:r+(e<<2)|0;f=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(h>>>0>f>>>0){c=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);C[g+12>>2]=f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=D[d|0]|D[d+1|0]<<8|(D[d+2|0]<<16|D[d+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=D[e|0]|D[e+1|0]<<8|(D[e+2|0]<<16|D[e+3|0]<<24);C[g+8>>2]=d-(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))}f=f>>>0>>0;break Qb}r=c+8|0;d=e+1|0;d=(d|0)<0?205712:r+(d<<1)|0;d=D[d|0]|D[d+1|0]<<8;d=d<<8|d>>>8;e=(e|0)<0?205712:r+(e<<1)|0;e=D[e|0]|D[e+1|0]<<8;e=e<<8|e>>>8;if((d&65535)>>>0<=(e&65535)>>>0){break Qb}c=D[c+4|0]|D[c+5|0]<<8|(D[c+6|0]<<16|D[c+7|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=e&65535;C[g+12>>2]=f+c;C[g+8>>2]=(d&65535)-c;f=1}if(!f){break Ob}c=C[t+4>>2];f=c?c:205712;c=C[f+16>>2];d=C[g+12>>2];if(c>>>0>>0){break Ob}e=C[g+8>>2];if(e>>>0>c-d>>>0){break Ob}Tb:{Ub:{switch(C[g+4>>2]-17|0){case 0:if(e>>>0>=9){break Tb}break Ob;case 1:break Ub;default:break Ob}}if(e>>>0<12){break Ob}}u=J(F[t+8>>2]);o=J(u/J(D[b+45|0]));a=C[p+40>>2];t=C[p+44>>2];e=d+(c>>>0<4?205712:C[f+12>>2])|0;c=mT(a,t,D[e|0],0);d=32768-c|0;G=J(O(J(J(o*J((0-(Ee+(c>>>0>32768)|0)&65535)<<16|d>>>16))+J(.5))));Vb:{if(J(K(G))>31;d=A[e+3|0];k=d>>31;l=D[e+1|0];e=C[p+32>>2];r=C[p+36>>2];b=D[b+44|0];C[i+12>>2]=f;u=J(u/J(b>>>0));b=mT(l,0,e,r);f=Ee;b=b+32768|0;G=J(O(J(J(u*J(((b>>>0<32768?f+1|0:f)&65535)<<16|b>>>16))+J(.5))));Wb:{if(J(K(G))>2]=b;b=mT(d,k,a,t);a=Ee;b=b+32768|0;o=J(O(J(J(o*J(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+J(.5))));Xb:{if(J(K(o))>2]=a;b=mT(c,h,e,r);a=Ee;b=b+32768|0;o=J(O(J(J(u*J(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+J(.5))));Yb:{if(J(K(o))>2]=a;a=1;break Ob}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=0}Ce=g+16|0;t=a}return t|0}function zM(a,b){a=a|0;b=b|0;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,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,G=0,H=0,J=0,L=0,M=0,N=0,P=0,Q=0;a:{b:{c:{if(!(!a|!b)){d:{e=D[a+429|0];if(e>>>0>7){break d}C[a+772>>2]=17;c=b+32|0;d=8-e|0;Xf(a,c+e|0,d);A[a+429|0]=8;e:{if(Ap(c,e,d)){if(e>>>0<=3){if(Ap(c,e,4-e|0)){break e}}Af(a,12246);s()}if(e>>>0>2){break d}C[a+204>>2]=C[a+204>>2]|4096;break d}Af(a,17517);s()}d=Ao(a);c=C[a+372>>2];if((c|0)!=1229209940){while(1){e=C[a+204>>2];if(e&4){C[a+204>>2]=e|8200}f:{g:{if((c|0)!=1229278788){if((c|0)!=1229472850){break g}p=Ce-16|0;Ce=p;h:{i:{j:{k:{c=C[a+204>>2];if(!(c&1)){if((d|0)!=13){break k}C[a+204>>2]=c|1;d=p+3|0;Xf(a,d,13);$f(a,d,13);ef(a,0);d=D[p+3|0]|D[p+4|0]<<8|(D[p+5|0]<<16|D[p+6|0]<<24);r=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((r|0)<0){break j}d=D[p+7|0]|D[p+8|0]<<8|(D[p+9|0]<<16|D[p+10|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((j|0)<0){break i}k=D[p+15|0];d=D[p+12|0];g=D[p+14|0];f=D[p+13|0];e=D[p+11|0];A[a+424|0]=e;C[a+348>>2]=j;C[a+344>>2]=r;A[a+716|0]=f;A[a+684|0]=g;A[a+423|0]=d;A[a+420|0]=k;c=d<<3;n=c&31;c=d>>>0>=7?1:(c&63)>>>0>=32?262402>>>n|0:((1<>>n;A[a+427|0]=c;c=I(c,e);A[a+426|0]=c;c=c&255;l:{if(c>>>0>=8){c=I(r,c>>>3|0);break l}c=I(c,r)+7>>>3|0}C[a+360>>2]=c;if(!(!a|!b)){A[b+28|0]=k;A[b+27|0]=g;A[b+26|0]=f;A[b+25|0]=d;A[b+24|0]=e;C[b+4>>2]=j;C[b>>2]=r;nw(a,r,j,e,d,k,f,g);c=D[b+25|0];m:{if((c|0)==3){e=1}else{d=c&2;e=d|1;A[b+29|0]=e;if(!(c&4)){break m}e=d+2|0}A[b+29|0]=e}d=I(D[b+24|0],e);A[b+30|0]=d;d=d&255;n:{if(d>>>0>=8){d=I(r,d>>>3|0);break n}d=I(d,r)+7>>>3|0}C[b+12>>2]=d}Ce=p+16|0;break h}Ig(a,19111);s()}Ig(a,19763);s()}Af(a,18248);s()}Af(a,18248);s()}break f}o:{c=C[a+204>>2];if((c&5)==5){C[a+204>>2]=c|24;ef(a,d);if(d){ff(a,19763)}break o}Ig(a,19111);s()}break f}e=Cw(a,c);if(e){to(a,b,d,e);if((c|0)!=1347179589){break f}C[a+204>>2]=C[a+204>>2]|2;break f}p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((c|0)<=1883455819){if((c|0)<=1732332864){if((c|0)<=1665684044){if((c|0)==1347179589){break A}if((c|0)!=1649100612){break p}f=Ce-16|0;Ce=f;B:{C:{D:{e=C[a+204>>2];if(e&1){E:{if(!(e&4)){c=D[a+423|0];if(e&2|(c|0)!=3){break E}}ef(a,d);ff(a,19111);break B}if(!(!b|!(D[b+8|0]&32))){ef(a,d);ff(a,16534);break B}if((((c|0)==3?1:c&2?6:2)|0)!=(d|0)){ef(a,d);ff(a,19763);break B}c=f+10|0;Xf(a,c,d);$f(a,c,d);if(ef(a,0)){break B}d=D[a+423|0];if((d|0)==3){c=D[f+10|0];A[f|0]=c;F:{G:{if(!b){break G}d=E[b+20>>1];if(!d){break G}if(d>>>0<=c>>>0){ff(a,1711);break B}d=C[a+404>>2]+I(c,3)|0;B[f+2>>1]=D[d|0];B[f+4>>1]=D[d+1|0];B[f+6>>1]=D[d+2|0];break F}B[f+6>>1]=0;B[f+2>>1]=0;B[f+4>>1]=0}B[f+8>>1]=0;fo(a,b,f);break B}c=D[a+424|0];if(!(d&2)){d=D[f+10|0];H:{if(c>>>0>=9){e=D[f+11|0];break H}if(d){break D}e=D[f+11|0];if(e>>>c|0){break D}d=0}A[f|0]=0;d=d<<8|e;B[f+8>>1]=d;B[f+6>>1]=d;B[f+4>>1]=d;B[f+2>>1]=d;fo(a,b,f);break B}d=D[f+10|0];if(c>>>0>=9){i=D[f+14|0];e=D[f+12|0];break C}if(!(D[f+12|0]|d)){i=0;e=0;d=0;if(!D[f+14|0]){break C}}ff(a,9301);break B}break a}ff(a,13525);break B}A[f|0]=0;B[f+8>>1]=0;B[f+2>>1]=D[f+11|0]|d<<8;B[f+4>>1]=D[f+13|0]|e<<8;B[f+6>>1]=D[f+15|0]|i<<8;fo(a,b,f)}Ce=f+16|0;break f}if((c|0)==1665684045){break z}if((c|0)!=1700284774){break p}f=Ce-16|0;Ce=f;I:{if(A[a+204|0]&1){J:{if(d>>>0<=1){ef(a,d);ff(a,3664);break J}if(!(A[b+10|0]&1?0:b)){ef(a,d);ff(a,16534);break J}C[b+244>>2]=C[b+244>>2]|32768;c=bh(a,d);C[b+212>>2]=c;K:{if(c){c=f+15|0;Xf(a,c,1);$f(a,c,1);A[C[b+212>>2]]=D[f+15|0];Xf(a,c,1);$f(a,c,1);c=D[f+15|0];A[C[b+212>>2]+1|0]=c;L:{switch(c-73|0){default:if((c|0)!=D[C[b+212>>2]]){break K}break;case 0:case 4:break L}}e=2;if((d|0)!=2){while(1){c=f+15|0;Xf(a,c,1);$f(a,c,1);A[C[b+212>>2]+e|0]=D[f+15|0];e=e+1|0;if((e|0)!=(d|0)){continue}break}}if(ef(a,0)){break J}e=C[b+212>>2];M:{if(!a|!b){break M}c=C[b+208>>2];if(c){nf(a,c);C[b+208>>2]=0}C[b+204>>2]=d;d=bh(a,d);C[b+208>>2]=d;if(!d){break M}C[b+244>>2]=C[b+244>>2]|32768;if(C[b+204>>2]>0){d=0;while(1){A[C[b+208>>2]+d|0]=D[d+e|0];d=d+1|0;if((d|0)>2]){continue}break}}C[b+8>>2]=C[b+8>>2]|65536}nf(a,C[b+212>>2]);C[b+212>>2]=0;break J}ef(a,d);ff(a,1263);break J}ef(a,d);ff(a,10776);nf(a,C[b+212>>2]);C[b+212>>2]=0}Ce=f+16|0;break I}break a}break f}if((c|0)<=1766015823){if((c|0)==1732332865){break y}if((c|0)!=1749635924){break p}f=Ce-528|0;Ce=f;N:{O:{c=C[a+204>>2];if(c&1){if((c&6)!=2){ef(a,d);ff(a,19111);break N}if(!(!b|!(D[b+8|0]&64))){ef(a,d);ff(a,16534);break N}if(d>>>0>513){break O}c=d>>>1|0;if((c|0)!=E[a+408>>1]){break O}if(d>>>0>=2){e=c>>>0<=1?1:c;d=0;while(1){c=f+14|0;Xf(a,c,2);$f(a,c,2);c=D[f+14|0]|D[f+15|0]<<8;B[(f+16|0)+(d<<1)>>1]=c<<8|c>>>8;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(ef(a,0)){break N}c=f+16|0;P:{if(!a|!b|(E[b+20>>1]-257&65535)>>>0<65280){break P}Zk(a,b,8,0);e=bh(a,512);C[b+216>>2]=e;if(!e){break P}C[b+244>>2]=C[b+244>>2]|8;d=E[b+20>>1];if(d){jf(e,c,d<<1)}C[b+8>>2]=C[b+8>>2]|64}break N}break a}ef(a,d);ff(a,19763)}Ce=f+528|0;break f}if((c|0)==1766015824){break t}if((c|0)==1767135348){break q}if((c|0)!=1866876531){break p}g=Ce-16|0;Ce=g;Q:{c=C[a+204>>2];if(c&1){R:{if(c&4){ef(a,d);ff(a,19111);break R}if(!(!b|!(A[b+9|0]&1))){ef(a,d);ff(a,16534);break R}if((d|0)!=9){ef(a,d);ff(a,19763);break R}d=g+7|0;Xf(a,d,9);$f(a,d,9);if(ef(a,0)){break R}c=A[g+7|0];f=c&255;d=A[g+11|0];e=d&255;if((c|0)<0){c=0-(I(D[g+8|0],2147418112)-(D[g+10|0]|(D[g+9|0]<<8|f<<24))&2147483647)|0}else{c=D[g+10|0]|(D[g+8|0]<<16|f<<24|D[g+9|0]<<8)}if((d|0)<0){d=0-(I(D[g+12|0],2147418112)-(D[g+14|0]|(D[g+13|0]<<8|e<<24))&2147483647)|0}else{d=D[g+14|0]|(D[g+12|0]<<16|e<<24|D[g+13|0]<<8)}e=D[g+15|0];if(!(!a|!b)){A[b+188|0]=e;C[b+184>>2]=d;C[b+180>>2]=c;C[b+8>>2]=C[b+8>>2]|256}}Ce=g+16|0;break Q}break a}break f}if((c|0)<=1934772033){if((c|0)<=1933723987){if((c|0)==1883455820){break x}if((c|0)!=1883789683){break p}f=Ce-16|0;Ce=f;S:{c=C[a+204>>2];if(c&1){T:{if(c&4){ef(a,d);ff(a,19111);break T}if(!(!b|!(D[b+8|0]&128))){ef(a,d);ff(a,16534);break T}if((d|0)!=9){ef(a,d);ff(a,19763);break T}d=f+7|0;Xf(a,d,9);$f(a,d,9);if(ef(a,0)){break T}d=D[f+7|0]|D[f+8|0]<<8|(D[f+9|0]<<16|D[f+10|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[f+11|0]|D[f+12|0]<<8|(D[f+13|0]<<16|D[f+14|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=D[f+15|0];if(!(!a|!b)){A[b+200|0]=d;C[b+196>>2]=c;C[b+192>>2]=e;C[b+8>>2]=C[b+8>>2]|128}}Ce=f+16|0;break S}break a}break f}if((c|0)==1933723988){break v}if((c|0)==1933787468){break w}if((c|0)!=1934642260){break p}f=d;g=Ce-16|0;Ce=g;U:{V:{W:{X:{d=C[a+728>>2];switch(d|0){case 0:break V;case 1:break X;default:break W}}ef(a,f);break U}d=d-1|0;C[a+728>>2]=d;if((d|0)!=1){break V}ef(a,f);break U}Y:{d=C[a+204>>2];if(d&1){if(d&4){ef(a,f);ff(a,19111);break U}c=f+1|0;e=C[a+760>>2];Z:{if(e){if(c>>>0<=F[a+764>>2]){break Z}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=jh(a,c);if(!e){break Y}d=We(e,0,c);C[a+764>>2]=c;C[a+760>>2]=d}Xf(a,e,f);$f(a,e,f);if(ef(a,0)){break U}k=e+f|0;A[k|0]=0;d=e;while(1){c=d;d=d+1|0;if(D[c|0]){continue}break}if(f>>>0<2|k-2>>>0>>0){break U}j=D[c+1|0];A[g+4|0]=j;d=c+2|0;f=f+(e-d|0)|0;c=(j|0)==8?6:10;n=(f>>>0)/(c>>>0)|0;if(f-I(c,n)|n>>>0>429496729){break U}C[g+12>>2]=n;k=bh(a,I(n,10));C[g+8>>2]=k;if(!k){break U}if(c>>>0<=f>>>0){p=0;f=(j|0)!=8;while(1){j=k+I(p,10)|0;_:{if(!f){B[j>>1]=D[d|0];B[j+2>>1]=D[d+1|0];B[j+4>>1]=D[d+2|0];c=D[d+3|0];d=d+4|0;break _}c=D[d|0]|D[d+1|0]<<8;B[j>>1]=c<<8|c>>>8;c=D[d+2|0]|D[d+3|0]<<8;B[j+2>>1]=c<<8|c>>>8;c=D[d+4|0]|D[d+5|0]<<8;B[j+4>>1]=c<<8|c>>>8;c=D[d+6|0]|D[d+7|0]<<8;c=c<<8|c>>>8;d=d+8|0}B[j+6>>1]=c;c=D[d|0]|D[d+1|0]<<8;B[j+8>>1]=c<<8|c>>>8;d=d+2|0;p=p+1|0;if((n|0)!=(p|0)){continue}break}}C[g>>2]=e;e=1;d=g;$:{if(!b|(!d|!a)){break $}c=Po(a,C[b+256>>2],C[b+260>>2],1,16);if(!c){xg(a,7251,1);break $}nf(a,C[b+256>>2]);C[b+256>>2]=c;C[b+244>>2]=C[b+244>>2]|32;c=c+(C[b+260>>2]<<4)|0;while(1){f=C[d>>2];aa:{if(!(C[d+8>>2]?f:0)){_j(a,23510);break aa}A[c+4|0]=D[d+4|0];f=af(f)+1|0;k=jh(a,f);C[c>>2]=k;ba:{if(k){jf(k,C[d>>2],f);f=0;ca:{j=C[d+12>>2];if((j|0)>0){mT(j,0,10,0);da:{if(Ee){break da}k=I(j,10);if(!k){break da}ea:{if(!a){break ea}f=C[a+692>>2];if(!f){break ea}f=Fe[f|0](a,k)|0;break ca}f=kf(k)}break ca}Af(a,21565);s()}C[c+8>>2]=f;if(f){break ba}nf(a,C[c>>2]);C[c>>2]=0}if((e|0)<=0){break $}xg(a,1203,1);break $}k=C[d+12>>2];C[c+12>>2]=k;jf(f,C[d+8>>2],I(k,10));C[b+8>>2]=C[b+8>>2]|8192;C[b+260>>2]=C[b+260>>2]+1;d=d+16|0;c=c+16|0}e=e-1|0;if(e){continue}break}}nf(a,C[g+8>>2]);break U}break a}ef(a,f);ff(a,1263)}Ce=g+16|0;break f}if((c|0)<=1950960964){if((c|0)==1934772034){break u}if((c|0)!=1950701684){break p}g=Ce-32|0;Ce=g;fa:{ga:{ha:{ia:{c=C[a+728>>2];switch(c|0){case 0:break ga;case 1:break ia;default:break ha}}ef(a,d);break fa}c=c-1|0;C[a+728>>2]=c;if((c|0)!=1){break ga}ef(a,d);ff(a,18116);break fa}ja:{c=C[a+204>>2];if(c&1){if(c&4){C[a+204>>2]=c|8}f=d+1|0;c=C[a+760>>2];ka:{if(c){if(f>>>0<=F[a+764>>2]){break ka}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,c)}c=jh(a,f);if(!c){break ja}e=We(c,0,f);C[a+764>>2]=f;C[a+760>>2]=e}Xf(a,c,d);$f(a,c,d);if(ef(a,0)){break fa}f=d+c|0;A[f|0]=0;d=c;while(1){e=d;d=d+1|0;if(D[e|0]){continue}break}C[g+28>>2]=0;C[g+8>>2]=c;C[g+4>>2]=-1;C[g+20>>2]=0;C[g+24>>2]=0;d=e+((e|0)!=(f|0))|0;C[g+12>>2]=d;N=g,P=af(d),C[N+16>>2]=P;eo(a,b,g+4|0);break fa}break a}ff(a,1263)}Ce=g+32|0;break f}if((c|0)==1950960965){break s}if((c|0)==1951551059){break r}if((c|0)!=2052348020){break p}g=Ce-32|0;Ce=g;la:{ma:{na:{oa:{c=C[a+728>>2];switch(c|0){case 0:break ma;case 1:break oa;default:break na}}ef(a,d);break la}c=c-1|0;C[a+728>>2]=c;if((c|0)!=1){break ma}ef(a,d);ff(a,18116);break la}pa:{c=C[a+204>>2];if(c&1){if(c&4){C[a+204>>2]=c|8}i=C[a+760>>2];qa:{if(i){if(F[a+764>>2]>=d>>>0){break qa}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,i)}i=jh(a,d);if(!i){break pa}c=We(i,0,d);C[a+764>>2]=d;C[a+760>>2]=c}Xf(a,i,d);$f(a,i,d);c=0;if(ef(a,0)){break la}f=19609;ra:{if(!d){break ra}sa:{while(1){if(!D[c+i|0]){break sa}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}if(c-80>>>0<4294967217){break ra}f=20406;if(c+3>>>0>d>>>0){break ra}f=16865;if(D[(c+i|0)+1|0]){break ra}C[g+28>>2]=-1;e=d;d=c+2|0;ta:{if((su(a,e,d,g+28|0)|0)==1){e=C[a+760>>2];f=5801;if(!e){break ta}f=d;d=C[g+28>>2];A[e+(f+d|0)|0]=0;C[g+24>>2]=0;C[g+16>>2]=0;C[g+20>>2]=0;C[g+12>>2]=d;C[g+8>>2]=(c+e|0)+2;C[g+4>>2]=e;C[g>>2]=0;f=eo(a,b,g)?1090:0;break ta}f=C[a+244>>2]}if(!f){break la}}ff(a,f);break la}break a}ef(a,d);ff(a,1263)}Ce=g+32|0;break f}f=Ce-784|0;Ce=f;ua:{va:{wa:{xa:{c=C[a+204>>2];if(c&1){if(c&2){break xa}if(c&4){ef(a,d);ff(a,19111);break ua}C[a+204>>2]=c|2;c=D[a+423|0];if(!(c&2)){ef(a,d);ff(a,26129);break ua}if(!(!((d>>>0)%3|0)&d>>>0<=768)){ef(a,d);if(D[a+423|0]!=3){ff(a,19763);break ua}Ig(a,19763);s()}i=256;i=(c|0)==3?1<>>0)/3|0;g=(c|0)>(i|0)?i:c;if((g|0)>0){i=0;c=f+16|0;while(1){e=f+13|0;Xf(a,e,3);$f(a,e,3);A[c|0]=D[f+13|0];A[c+1|0]=D[f+14|0];A[c+2|0]=D[f+15|0];c=c+3|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}ef(a,I(g,-3)+d|0);c=f+16|0;ya:{if(!a|!b){break ya}za:{if(D[b+25|0]==3){if((g|0)<=1<=0){break za}Af(a,14730);s()}if(g>>>0>256){break ya}}if(!(!(g?c:1)|!(g|A[a+680|0]&1))){Zk(a,b,4096,0);d=pm(a,768);C[a+404>>2]=d;if(g){jf(d,c,I(g,3))}C[b+16>>2]=d;B[a+408>>1]=g;B[b+20>>1]=g;C[b+244>>2]=C[b+244>>2]|4096;C[b+8>>2]=C[b+8>>2]|8;break ya}Af(a,16308);s()}if(!E[a+416>>1]){if(!b){break ua}c=C[b+8>>2];if(!(c&16)){break va}B[a+416>>1]=0;break wa}B[a+416>>1]=0;if(b){break wa}ff(a,9569);break ua}break a}Ig(a,16534);s()}B[b+22>>1]=0;ff(a,9569);c=C[b+8>>2]}if(c&64){ff(a,9550)}if(!(D[b+8|0]&32)){break ua}ff(a,9588)}Ce=f+784|0;break f}l=Ce+-64|0;Ce=l;Aa:{c=C[a+204>>2];if(c&1){Ba:{if(c&6){ef(a,d);ff(a,19111);break Ba}if((d|0)!=32){ef(a,d);ff(a,19763);break Ba}d=l+32|0;Xf(a,d,32);$f(a,d,32);if(ef(a,0)){break Ba}d=C[l+32>>2];d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);n=(d|0)<0;C[l+24>>2]=n?-1:d;d=C[l+36>>2];j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);i=(j|0)<0;C[l+28>>2]=i?-1:j;d=C[l+40>>2];k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l>>2]=(k|0)<0?-1:k;d=C[l+44>>2];g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+4>>2]=(g|0)<0?-1:g;d=C[l+48>>2];f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+8>>2]=(f|0)<0?-1:f;d=C[l+52>>2];e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+12>>2]=(e|0)<0?-1:e;d=C[l+56>>2];c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+16>>2]=(c|0)<0?-1:c;d=C[l+60>>2];d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);C[l+20>>2]=(d|0)<0?-1:d;Ca:{Da:{if(i|n|(k|g)<0){break Da}if((f|e|c)<0){break Da}if((d|0)>=0){break Ca}}ff(a,7555);break Ba}d=B[a+870>>1];if((d|0)<0){break Ba}if(d&16){B[a+870>>1]=d|32768;Ui(a,b);ff(a,16534);break Ba}B[a+870>>1]=d|16;u=a+796|0;x=0;H=0;d=Ce-48|0;Ce=d;c=Ce-32|0;Ce=c;z=C[l>>2];Ea:{if(z>>>0>1e5){t=1;break Ea}G=C[l+4>>2];if((G|0)<0){t=1;break Ea}if((G|0)>(1e5-z|0)){t=1;break Ea}e=C[l+8>>2];if(e>>>0>1e5){t=1;break Ea}p=C[l+12>>2];if((p|0)<0){t=1;break Ea}if((p|0)>(1e5-e|0)){t=1;break Ea}y=C[l+16>>2];if(y>>>0>1e5){t=1;break Ea}w=C[l+20>>2];if((w|0)<0){t=1;break Ea}if((1e5-y|0)<(w|0)){t=1;break Ea}i=C[l+24>>2];if(i>>>0>1e5){t=1;break Ea}j=C[l+28>>2];if((j|0)<5){t=1;break Ea}if((1e5-i|0)<(j|0)){t=1;break Ea}m=G-w|0;n=e-y|0;e=(e|0)==(y|0);g=0;Fa:{if(e){break Fa}g=0;if((w|0)==(G|0)){break Fa}t=2;h=O(+(n|0)*+(m|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}g=~~h;if(K(h)<2147483648){break Fa}g=-2147483648}o=z-y|0;k=p-w|0;r=(y|0)==(z|0);Ga:{if(r|(p|0)==(w|0)){break Ga}t=2;h=O(+(o|0)*+(k|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){x=~~h;break Ga}x=-2147483648}v=j-w|0;f=0;Ha:{if(e){break Ha}f=0;if((j|0)==(w|0)){break Ha}t=2;h=O(+(n|0)*+(v|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Ha}f=-2147483648}q=i-y|0;Ia:{if((p|0)==(w|0)|(i|0)==(y|0)){break Ia}t=2;h=O(+(k|0)*+(q|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){H=~~h;break Ia}H=-2147483648}if((f|0)==(H|0)){t=1;break Ea}p=g-x|0;n=(g|0)==(x|0);g=0;Ja:{if(n){break Ja}h=O(+(j|0)*+(p|0)/+(f-H|0)+.5);if(!(h<=2147483647)){t=1;break Ea}if(!(h>=-2147483648)){t=1;break Ea}g=~~h;if(K(h)<2147483648){break Ja}g=-2147483648}f=g;if((f|0)<=(j|0)){t=1;break Ea}x=0;e=0;Ka:{if((w|0)==(G|0)){break Ka}e=0;if((i|0)==(y|0)){break Ka}t=2;h=O(+(m|0)*+(q|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}e=~~h;if(K(h)<2147483648){break Ka}e=-2147483648}La:{if((j|0)==(w|0)|r){break La}t=2;h=O(+(o|0)*+(v|0)/7+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){x=~~h;break La}x=-2147483648}if((e|0)==(x|0)){t=1;break Ea}g=0;Ma:{if(n){break Ma}h=O(+(j|0)*+(p|0)/+(e-x|0)+.5);if(!(h<=2147483647)){t=1;break Ea}if(!(h>=-2147483648)){t=1;break Ea}g=~~h;if(K(h)<2147483648){break Ma}g=-2147483648}t=1;e=g;if((e|0)<=(j|0)){break Ea}J=+(e|0);L=O(1e10/J+.5);g=L>=-2147483648;M=+(f|0);h=O(1e10/M+.5);k=h>=-2147483648;if(K(L)<2147483648){i=~~L}else{i=-2147483648}i=L<=2147483647?g?i:0:0;if(K(h)<2147483648){g=~~h}else{g=-2147483648}k=i+(h<=2147483647?k?g:0:0)|0;h=O(1e10/+(j|0)+.5);g=h>=-2147483648;i=!f;if(K(h)<2147483648){f=~~h}else{f=-2147483648}k=(h<=2147483647?g?f:0:0)-k|0;if(i|(k|0)<=0){break Ea}g=0;f=0;Na:{if(!z){break Na}h=O(+(z|0)*1e5/M+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Na}f=-2147483648}C[d+12>>2]=f;f=C[l+4>>2];Oa:{if(!f){break Oa}h=O(+(f|0)*1e5/M+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Oa}g=-2147483648}C[d+16>>2]=g;f=C[l+4>>2]+C[l>>2]|0;g=0;Pa:{if((f|0)==1e5){break Pa}h=O(+(1e5-f|0)*1e5/M+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}g=~~h;if(K(h)<2147483648){break Pa}g=-2147483648}C[d+20>>2]=g;if(!e){break Ea}g=0;e=C[l+8>>2];f=0;Qa:{if(!e){break Qa}h=O(+(e|0)*1e5/J+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Qa}f=-2147483648}C[d+24>>2]=f;e=C[l+12>>2];Ra:{if(!e){break Ra}h=O(+(e|0)*1e5/J+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Ra}g=-2147483648}C[d+28>>2]=g;g=0;e=C[l+12>>2]+C[l+8>>2]|0;f=0;Sa:{if((e|0)==1e5){break Sa}h=O(+(1e5-e|0)*1e5/J+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Sa}f=-2147483648}C[d+32>>2]=f;e=C[l+16>>2];Ta:{if(!e){break Ta}h=O(+(k|0)*+(e|0)/1e5+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Ta}g=-2147483648}C[d+36>>2]=g;g=0;e=C[l+20>>2];f=0;Ua:{if(!e){break Ua}h=O(+(k|0)*+(e|0)/1e5+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}f=~~h;if(K(h)<2147483648){break Ua}f=-2147483648}C[d+40>>2]=f;e=C[l+20>>2]+C[l+16>>2]|0;Va:{if((e|0)==1e5){break Va}h=O(+(k|0)*+(1e5-e|0)/1e5+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Ea}if(K(h)<2147483648){g=~~h;break Va}g=-2147483648}C[d+44>>2]=g;g=0;p=1;e=C[d+12>>2];o=C[d+20>>2]+(e+C[d+16>>2]|0)|0;Wa:{if(!o){break Wa}f=0;Xa:{if(!e){break Xa}h=O(+(e|0)*1e5/+(o|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}f=~~h;if(K(h)<2147483648){break Xa}f=-2147483648}C[c>>2]=f;e=C[d+16>>2];Ya:{if(!e){break Ya}h=O(+(e|0)*1e5/+(o|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){g=~~h;break Ya}g=-2147483648}C[c+4>>2]=g;e=C[d+24>>2];v=C[d+32>>2]+(e+C[d+28>>2]|0)|0;if(!v){break Wa}n=C[d+16>>2];j=C[d+12>>2];m=0;g=0;Za:{if(!e){break Za}h=O(+(e|0)*1e5/+(v|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}g=~~h;if(K(h)<2147483648){break Za}g=-2147483648}C[c+8>>2]=g;e=C[d+28>>2];_a:{if(!e){break _a}h=O(+(e|0)*1e5/+(v|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){m=~~h;break _a}m=-2147483648}C[c+12>>2]=m;f=C[d+36>>2];q=C[d+44>>2]+(f+C[d+40>>2]|0)|0;if(!q){break Wa}k=C[d+28>>2];g=C[d+24>>2];e=0;i=0;$a:{if(!f){break $a}h=O(+(f|0)*1e5/+(q|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}i=~~h;if(K(h)<2147483648){break $a}i=-2147483648}C[c+16>>2]=i;f=C[d+40>>2];ab:{if(!f){break ab}h=O(+(f|0)*1e5/+(q|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){e=~~h;break ab}e=-2147483648}C[c+20>>2]=e;r=q+(o+v|0)|0;if(!r){break Wa}f=C[d+40>>2];m=0;e=C[d+36>>2]+(g+j|0)|0;g=0;bb:{if(!e){break bb}h=O(+(e|0)*1e5/+(r|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}g=~~h;if(K(h)<2147483648){break bb}g=-2147483648}C[c+24>>2]=g;e=f+(k+n|0)|0;cb:{if(!e){break cb}h=O(+(e|0)*1e5/+(r|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break Wa}if(K(h)<2147483648){m=~~h;break cb}m=-2147483648}C[c+28>>2]=m;p=0}if(p){break Ea}t=!zm(l,c,5)}Ce=c+32|0;db:{eb:{fb:{switch(t|0){case 0:e=B[u+74>>1];if((e|0)<0){break db}if(!(e&2)){break eb}if(!zm(l,u+4|0,100)){B[u+74>>1]=e|32768;Wo(a,7861);break db}break eb;case 1:B[u+74>>1]=E[u+74>>1]|32768;Wo(a,7928);break db;default:break fb}}B[u+74>>1]=E[u+74>>1]|32768;Af(a,7889);s()}c=C[l+4>>2];C[u+4>>2]=C[l>>2];C[u+8>>2]=c;c=C[l+28>>2];C[u+28>>2]=C[l+24>>2];C[u+32>>2]=c;c=C[l+20>>2];C[u+20>>2]=C[l+16>>2];C[u+24>>2]=c;c=C[l+12>>2];C[u+12>>2]=C[l+8>>2];C[u+16>>2]=c;c=C[d+16>>2];C[u+36>>2]=C[d+12>>2];C[u+40>>2]=c;c=C[d+24>>2];C[u+44>>2]=C[d+20>>2];C[u+48>>2]=c;c=C[d+32>>2];C[u+52>>2]=C[d+28>>2];C[u+56>>2]=c;c=C[d+40>>2];C[u+60>>2]=C[d+36>>2];C[u+64>>2]=c;C[u+68>>2]=C[d+44>>2];N=u,P=zm(l,94704,1e3)?e|66:e&65469|2,B[N+74>>1]=P}Ce=d+48|0;Ui(a,b)}Ce=l- -64|0;break Aa}break a}break f}f=Ce-16|0;Ce=f;gb:{c=C[a+204>>2];if(c&1){hb:{if(c&6){ef(a,d);ff(a,19111);break hb}if((d|0)!=4){ef(a,d);ff(a,19763);break hb}d=f+12|0;Xf(a,d,4);$f(a,d,4);if(ef(a,0)){break hb}ib:{jb:{d=D[f+12|0]|D[f+13|0]<<8|(D[f+14|0]<<16|D[f+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=(d|0)<0?-1:d;if(e-625000001>>>0<=3669967310){d=E[a+870>>1];i=18282;break jb}c=E[a+870>>1];d=c<<16>>16;if(D[a+205|0]&128){i=16534;if(c&8){break jb}}kb:{if((d|0)>=0){lb:{if(!(d&1)){break lb}c=C[a+796>>2];mb:{if(!c){break mb}h=O(+(c|0)*1e5/+(e|0)+.5);if(!(h<=2147483647)|!(h>=-2147483648)){break mb}if(K(h)<2147483648){c=~~h}else{c=-2147483648}if(c-95e3>>>0<10001){break lb}}if(d&32){break kb}xg(a,16491,0)}C[a+796>>2]=e;B[a+870>>1]=d|9}break ib}xg(a,28698,2);break ib}B[a+870>>1]=d|32768;xg(a,i,1)}Ui(a,b)}Ce=f+16|0;break gb}break a}break f}p=0;nb:{ob:{pb:{c=C[a+204>>2];if(c&1){if(c&4){ef(a,d);ff(a,19111);break nb}if(!(!b|!(D[b+9|0]&4))){ef(a,d);ff(a,16534);break nb}f=d+1|0;e=C[a+760>>2];qb:{if(e){if(f>>>0<=F[a+764>>2]){break qb}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=jh(a,f);if(!e){break pb}c=We(e,0,f);C[a+764>>2]=f;C[a+760>>2]=c}Xf(a,e,d);$f(a,e,d);if(!ef(a,0)){j=d+e|0;A[j|0]=0;d=e;while(1){c=d;d=d+1|0;if(D[c|0]){continue}break}if((j-c|0)<=12){ff(a,19763);break nb}d=A[d|0];f=d&255;if((d|0)<0){g=0-(I(D[c+2|0],2147418112)-(D[c+4|0]|(D[c+3|0]<<8|f<<24))&2147483647)|0}else{g=D[c+4|0]|(D[c+2|0]<<16|f<<24|D[c+3|0]<<8)}d=A[c+5|0];f=d&255;if((d|0)<0){f=0-(I(D[c+6|0],2147418112)-(D[c+8|0]|(D[c+7|0]<<8|f<<24))&2147483647)|0}else{f=D[c+8|0]|(D[c+6|0]<<16|f<<24|D[c+7|0]<<8)}n=D[c+9|0];q=D[c+10|0];if(!(!(!n&(q|0)!=2|(q|0)!=3&(n-1&255)>>>0<=1)&((q|0)==4|(n|0)!=3))){ff(a,3729);break nb}if(n>>>0>=4){ff(a,16811)}k=c+11|0;d=k;while(1){c=d;d=d+1|0;if(D[c|0]){continue}break}r=bh(a,q<<2);if(!r){break ob}d=g;if(q){while(1){c=c+1|0;C[r+(p<<2)>>2]=c;rb:{if(c>>>0<=j>>>0){while(1){if(!D[c|0]){break rb}c=c+1|0;if(j>>>0>=c>>>0){continue}break}}nf(a,r);ff(a,21984);break nb}p=p+1|0;if((q|0)!=(p|0)){continue}break}}i=0;sb:{if(!a|!b|(!e|!k)){break sb}if(!r&(q|0)!=0){break sb}c=af(e);if(n>>>0>=4){xg(a,16838,1);break sb}tb:{ub:{if(q>>>0<=255){if(!q){break tb}break ub}xg(a,3753,1);break sb}while(1){vb:{g=C[r+(i<<2)>>2];if(!g){break vb}if(!jp(g,af(g))){break vb}i=i+1|0;if((q|0)!=(i|0)){continue}break tb}break}xg(a,9607,1);break sb}c=c+1|0;g=bh(a,c);C[b+220>>2]=g;if(!g){xg(a,16544,1);break sb}jf(g,e,c);A[b+241|0]=q;A[b+240|0]=n;C[b+228>>2]=f;C[b+224>>2]=d;d=af(k)+1|0;c=bh(a,d);C[b+232>>2]=c;if(!c){break sb}jf(c,k,d);d=(q<<2)+4|0;e=bh(a,d);C[b+236>>2]=e;if(!e){break sb}c=0;We(e,0,d);if(q){while(1){g=c<<2;f=g+r|0;e=af(C[f>>2])+1|0;d=bh(a,e);C[g+C[b+236>>2]>>2]=d;d=C[g+C[b+236>>2]>>2];if(!d){break sb}jf(d,C[f>>2],e);c=c+1|0;if((q|0)!=(c|0)){continue}break}}C[b+8>>2]=C[b+8>>2]|1024;C[b+244>>2]=C[b+244>>2]|128}nf(a,r)}break nb}break a}ef(a,d);ff(a,1263);break nb}ff(a,1263)}break f}j=Ce-16|0;Ce=j;wb:{xb:{c=C[a+204>>2];if(c&1){if(c&4){ef(a,d);ff(a,19111);break wb}if(!(!b|!(D[b+9|0]&64))){ef(a,d);ff(a,16534);break wb}if(d>>>0<=3){ef(a,d);ff(a,19763);break wb}f=d+1|0;e=C[a+760>>2];yb:{if(e){if(f>>>0<=F[a+764>>2]){break yb}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=jh(a,f);if(!e){break xb}c=We(e,0,f);C[a+764>>2]=f;C[a+760>>2]=c}Xf(a,e,d);$f(a,e,d);A[d+e|0]=0;if(ef(a,0)){break wb}if((D[e|0]-1&255)>>>0>=2){ff(a,4247);break wb}C[j+8>>2]=0;C[j+12>>2]=1;zb:{Ab:{if(!lp(e,d,j+8|0,j+12|0)){break Ab}f=C[j+12>>2];if(f>>>0>=d>>>0){break Ab}c=f+1|0;C[j+12>>2]=c;if(!D[e+f|0]){break zb}}ff(a,4999);break wb}if((C[j+8>>2]&392)!=264){ff(a,14788);break wb}C[j+8>>2]=0;if(!(N=lp(e,d,j+8|0,j+12|0),P=0,Q=C[j+12>>2]==(d|0),Q?N:P)){ff(a,4810);break wb}if((C[j+8>>2]&392)!=264){ff(a,4349);break wb}f=D[e|0];k=e+1|0;g=c+e|0;Bb:{if(!a|!b){break Bb}Cb:{Db:{if(f-3>>>0>4294967293){if(!k){break Db}d=af(k);if(!d|D[k|0]==45){break Db}if(!jp(k,d)){break Db}if(!g){break Cb}e=af(g);if(!e|D[g|0]==45){break Cb}if(!jp(g,e)){break Cb}A[b+264|0]=f;d=d+1|0;c=bh(a,d);C[b+268>>2]=c;if(!c){break Bb}jf(c,k,d);d=e+1|0;c=bh(a,d);C[b+272>>2]=c;if(!c){nf(a,C[b+268>>2]);C[b+268>>2]=0;break Bb}jf(c,g,d);C[b+8>>2]=C[b+8>>2]|16384;C[b+244>>2]=C[b+244>>2]|256;break Bb}Af(a,4260);s()}Af(a,14807);s()}Af(a,4369);s()}break wb}break a}ff(a,1263);ef(a,d)}Ce=j+16|0;break f}f=Ce-16|0;Ce=f;Eb:{c=C[a+204>>2];if(c&1){Fb:{if(c&6){ef(a,d);ff(a,19111);break Fb}if(!(!b|!(D[b+8|0]&2))){ef(a,d);ff(a,16534);break Fb}i=3;c=8;if(D[a+423|0]!=3){i=D[a+427|0];c=D[a+424|0]}if(!((d|0)==(i|0)&d>>>0<=4)){ff(a,19763);ef(a,d);break Fb}C[f+12>>2]=I(c,16843009);e=f+12|0;Xf(a,e,d);$f(a,e,d);if(ef(a,0)){break Fb}Gb:{if(!d){break Gb}Hb:{if((D[f+12|0]-1&255)>>>0>=c>>>0){break Hb}if((d|0)==1){break Gb}if((D[f+13|0]-1&255)>>>0>=c>>>0){break Hb}if((d|0)==2){break Gb}if((D[f+14|0]-1&255)>>>0>=c>>>0){break Hb}if((d|0)==3|(D[f+15|0]-1&255)>>>0>>0){break Gb}}ff(a,19763);break Fb}d=D[f+12|0];Ib:{if(D[a+423|0]&2){i=f+12|3;c=D[f+13|0];e=D[f+14|0];break Ib}i=f+12|1;A[a+511|0]=d;c=d;e=d}A[a+512|0]=D[i|0];A[a+510|0]=e;A[a+509|0]=c;A[a+508|0]=d;c=a+508|0;if(!(!c|(!a|!b))){d=D[c|0]|D[c+1|0]<<8|(D[c+2|0]<<16|D[c+3|0]<<24);A[b+148|0]=d;A[b+149|0]=d>>>8;A[b+150|0]=d>>>16;A[b+151|0]=d>>>24;A[b+152|0]=D[c+4|0];C[b+8>>2]=C[b+8>>2]|2}}Ce=f+16|0;break Eb}break a}break f}e=Ce-16|0;Ce=e;Jb:{c=C[a+204>>2];if(c&1){Kb:{if(c&6){ef(a,d);ff(a,19111);break Kb}if((d|0)!=1){ef(a,d);ff(a,19763);break Kb}d=e+15|0;Xf(a,d,1);$f(a,d,1);if(ef(a,0)){break Kb}d=B[a+870>>1];if((d|0)<0){break Kb}if(d&4){B[a+870>>1]=d|32768;Ui(a,b);ff(a,7832);break Kb}sw(a,a+796|0,D[e+15|0]);Ui(a,b)}Ce=e+16|0;break Jb}break a}break f}o=Ce-1280|0;Ce=o;C[o+1276>>2]=d;Lb:{Mb:{c=C[a+204>>2];if(c&1){if(c&6){ef(a,d);ff(a,19111);break Lb}if(d>>>0<=13){ef(a,d);ff(a,3664);break Lb}e=B[a+870>>1];if((e|0)<0){ef(a,d);break Lb}c=7832;Nb:{Ob:{if(e&4){break Ob}c=o+1184|0;g=d>>>0>=81?81:d;Xf(a,c,g);$f(a,c,g);d=d-g|0;C[o+1276>>2]=d;if(d>>>0<11){break Mb}d=g-1|0;f=d>>>0>=79?79:d;c=f+1|0;d=0;Pb:{while(1){if(!D[(o+1184|0)+d|0]){break Pb}e=(d|0)!=(f|0);d=d+1|0;if(e){continue}break}d=c}c=19609;if(d-1>>>0>78){break Ob}c=19668;p=d+1|0;if(p>>>0>=g>>>0|D[p+(o+1184|0)|0]){break Ob}c=a+796|0;Qb:{Rb:{Sb:{Tb:{Ub:{if(!vo(a,1766015824)){e=o+1040|0;We(e,0,132);C[o+12>>2]=132;d=d+2|0;C[a+224>>2]=g-d;C[a+220>>2]=d+(o+1184|0);uo(a,o+16|0,o+1276|0,e,o+12|0,0);if(C[o+12>>2]){break Qb}d=c;e=o+1184|0;c=C[o+1040>>2];v=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Vb:{Wb:{if(v>>>0<=131){wg(a,d,e,v,3664);break Wb}c=C[a+732>>2];g=1;if(!c|c>>>0>=v>>>0){break Vb}wg(a,d,e,v,6170)}g=0}if(!g){break Ub}f=o+1184|0;e=D[a+423|0];g=o+1040|0;c=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);Xb:{Yb:{if((c|0)!=(v|0)){wg(a,d,f,c,17260);break Yb}if(!(!(v&3)|D[g+8|0]<4)){wg(a,d,f,v,14753);break Yb}c=D[g+128|0]|D[g+129|0]<<8|(D[g+130|0]<<16|D[g+131|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(!(c>>>0<=357913930&v>>>0>=I(c,12)+132>>>0)){wg(a,d,f,c,18140);break Yb}c=D[g+64|0]|D[g+65|0]<<8|(D[g+66|0]<<16|D[g+67|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>=65535){wg(a,d,f,c,3927);break Yb}if(c>>>0>=4){wg(a,0,f,c,18307)}c=D[g+36|0]|D[g+37|0]<<8|(D[g+38|0]<<16|D[g+39|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1633907568){wg(a,d,f,c,16736);break Yb}if(Hg(g+68|0,94736,12)){wg(a,0,f,0,29838)}Zb:{_b:{c=D[g+16|0]|D[g+17|0]<<8|(D[g+18|0]<<16|D[g+19|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1196573017){if((c|0)!=1380401696){break _b}if(e&2){break Zb}wg(a,d,f,1380401696,26082);break Yb}if(!(e&2)){break Zb}wg(a,d,f,1196573017,26154);break Yb}wg(a,d,f,c,19041);break Yb}$b:{ac:{bc:{cc:{c=D[g+12|0]|D[g+13|0]<<8|(D[g+14|0]<<16|D[g+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);dc:{if((c|0)<=1852662635){if((c|0)==1633842036){break cc}if((c|0)==1818848875){break bc}if((c|0)!=1835955314){break dc}break $b}if((c|0)<=1935896177){if((c|0)==1852662636){break ac}if((c|0)!=1886549106){break dc}break $b}if((c|0)==1935896178|(c|0)==1936744803){break $b}}wg(a,0,f,c,6396);break $b}wg(a,d,f,1633842036,17322);break Yb}wg(a,d,f,1818848875,6356);break Yb}wg(a,0,f,1852662636,6316)}e=D[g+20|0]|D[g+21|0]<<8|(D[g+22|0]<<16|D[g+23|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);c=1;if((e|0)==1281450528|(e|0)==1482250784){break Xb}wg(a,d,f,e,15362)}c=0}if(!c){break Ub}j=D[o+1171|0];k=D[o+1170|0];g=D[o+1169|0];f=D[o+1168|0];c=C[a+760>>2];ec:{if(c){if(v>>>0<=F[a+764>>2]){break ec}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,c)}c=jh(a,v);if(c){e=We(c,0,v);C[a+764>>2]=v;C[a+760>>2]=e;break ec}c=0}if(!c){c=1263;break Sb}m=jf(c,o+1040|0,132);r=I(j|(g<<16|f<<24|k<<8),12);C[o+12>>2]=r;c=0;k=m+132|0;uo(a,o+16|0,o+1276|0,k,o+12|0,0);if(C[o+12>>2]){break Tb}q=0;e=D[m+128|0]|D[m+129|0]<<8|(D[m+130|0]<<16|D[m+131|0]<<24);g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=1;fc:{if(!g){break fc}n=o+1184|0;i=m+132|0;while(1){e=D[i|0]|D[i+1|0]<<8|(D[i+2|0]<<16|D[i+3|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);gc:{f=D[i+7|0];e=f|(D[i+5|0]<<16|D[i+4|0]<<24|D[i+6|0]<<8);if(e>>>0<=v>>>0){l=v-e|0;e=D[i+8|0]|D[i+9|0]<<8|(D[i+10|0]<<16|D[i+11|0]<<24);if(l>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){break gc}}wg(a,d,n,j,17290);e=0;break fc}if(f&3){wg(a,0,n,j,29441)}i=i+12|0;q=q+1|0;if((g|0)!=(q|0)){continue}break}e=1}if(!e){break Sb}C[o+12>>2]=(v-r|0)-132;uo(a,o+16|0,o+1276|0,k+r|0,o+12|0,1);c=C[o+1276>>2];if(!(!c|D[a+210|0]&16)){C[a+216>>2]=0;c=21997;break Ob}if(C[o+12>>2]){break Tb}ef(a,c);g=C[a+268>>2];i=0;hc:{ic:{if((C[a+612>>2]&48)!=48){c=D[m+84|0]|D[m+85|0]<<8|(D[m+86|0]<<16|D[m+87|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);q=65536;c=0;while(1){jc:{k=c<<5;if((e|0)!=C[k+94764>>2]){break jc}f=D[m+88|0]|D[m+89|0]<<8|(D[m+90|0]<<16|D[m+91|0]<<24);if(C[k+94768>>2]!=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))){break jc}f=D[m+92|0]|D[m+93|0]<<8|(D[m+94|0]<<16|D[m+95|0]<<24);if(C[k+94772>>2]!=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))){break jc}f=D[m+96|0]|D[m+97|0]<<8|(D[m+98|0]<<16|D[m+99|0]<<24);if(C[k+94776>>2]!=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))){break jc}if(!i){f=D[m+64|0]|D[m+65|0]<<8|(D[m+66|0]<<16|D[m+67|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=D[m|0]|D[m+1|0]<<8|(D[m+2|0]<<16|D[m+3|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}if(C[k+94760>>2]!=(i|0)|E[k+94782>>1]!=(q|0)){break jc}kc:{if(!g){g=Tj(Tj(0,0,0),m,i)}if((g|0)!=C[(c<<5)+94752>>2]){break kc}if(C[(c<<5)+94756>>2]!=(Vg(Vg(0,0,0),m,i)|0)){break kc}if(c>>>0>=5){xg(a,17360,2);break ic}if(c-4>>>0>2){break ic}xg(a,16693,0);break ic}xg(a,20319,0);break hc}c=c+1|0;if((c|0)!=7){continue}break}}break hc}c=d;d=D[m+64|0]|D[m+65|0]<<8|(D[m+66|0]<<16|D[m+67|0]<<24);sw(a,c,d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))}if(b){Zk(a,b,16,0);d=jh(a,p);C[b+116>>2]=d;if(!d){break Rb}jf(d,o+1184|0,p);C[b+120>>2]=m;C[b+124>>2]=v;C[a+760>>2]=0;C[b+244>>2]=C[b+244>>2]|16;C[b+8>>2]=C[b+8>>2]|4096;Ui(a,b)}C[a+216>>2]=0;break Lb}c=C[a+244>>2];break Ob}c=0;C[a+216>>2]=0;break Ob}c=C[a+244>>2]}C[a+216>>2]=0;break Ob}B[a+870>>1]=E[a+870>>1]|32768;Ui(a,b);C[a+216>>2]=0;c=1263;break Nb}C[a+216>>2]=0;c=C[a+244>>2]}ef(a,C[o+1276>>2])}B[a+870>>1]=E[a+870>>1]|32768;Ui(a,b);if(!c){break Lb}ff(a,c);break Lb}break a}ef(a,d);ff(a,3664)}Ce=o+1280|0;break f}e=Ce-16|0;Ce=e;lc:{c=C[a+204>>2];if(c&1){mc:{if(!(!b|!(D[b+9|0]&2))){ef(a,d);ff(a,16534);break mc}if(c&4){C[a+204>>2]=c|8}if((d|0)!=7){ef(a,d);ff(a,19763);break mc}d=e+9|0;Xf(a,d,7);$f(a,d,7);if(ef(a,0)){break mc}A[e+6|0]=D[e+15|0];d=D[e+11|0]|D[e+12|0]<<8|(D[e+13|0]<<16|D[e+14|0]<<24);B[e+2>>1]=d;B[e+4>>1]=d>>>16;d=D[e+9|0]|D[e+10|0]<<8;B[e>>1]=d<<8|d>>>8;nc:{if(!a|!b|(!e|D[a+205|0]&2)){break nc}if((D[e+2|0]-13&255)>>>0<244|(D[e+3|0]-32&255)>>>0<225|(D[e+4|0]>23|D[e+5|0]>59)){break nc}if(D[e+6|0]>60){break nc}d=E[e+4>>1]|E[e+6>>1]<<16;C[b+140>>2]=E[e>>1]|E[e+2>>1]<<16;C[b+144>>2]=d;C[b+8>>2]=C[b+8>>2]|512}}Ce=e+16|0;break lc}break a}break f}g=Ce-256|0;Ce=g;oc:{c=C[a+204>>2];if(c&1){pc:{if(c&4){ef(a,d);ff(a,19111);break pc}if(!(!b|!(D[b+8|0]&16))){ef(a,d);ff(a,16534);break pc}qc:{rc:{sc:{switch(D[a+423|0]){case 0:if((d|0)==2){Xf(a,g,2);$f(a,g,2);B[a+416>>1]=1;d=D[g|0]|D[g+1|0]<<8;B[a+532>>1]=d<<8|d>>>8;break qc}ef(a,d);ff(a,19763);break pc;case 2:if((d|0)==6){Xf(a,g,6);$f(a,g,6);B[a+416>>1]=1;d=D[g|0]|D[g+1|0]<<8;B[a+526>>1]=d<<8|d>>>8;d=D[g+2|0]|D[g+3|0]<<8;B[a+528>>1]=d<<8|d>>>8;d=D[g+4|0]|D[g+5|0]<<8;B[a+530>>1]=d<<8|d>>>8;break qc}ef(a,d);ff(a,19763);break pc;case 3:if(!(c&2)){ef(a,d);ff(a,19111);break pc}if(d>>>0<=256&E[a+408>>1]>d-1>>>0){break rc}ef(a,d);ff(a,19763);break pc;default:break sc}}ef(a,d);ff(a,13544);break pc}Xf(a,g,d);$f(a,g,d);B[a+416>>1]=d}if(ef(a,0)){B[a+416>>1]=0;break pc}f=E[a+416>>1];e=a+524|0;tc:{if(!a|!b){break tc}if(g){Zk(a,b,8192,0);uc:{if(f-1>>>0>=256){i=C[b+156>>2];break uc}i=Mi(a,256);C[b+156>>2]=i;jf(i,g,f)}C[a+520>>2]=i}vc:{if(e){c=E[e+4>>1]|E[e+6>>1]<<16;d=E[e>>1]|E[e+2>>1]<<16;B[b+160>>1]=d;B[b+162>>1]=d>>>16;B[b+164>>1]=c;B[b+166>>1]=c>>>16;B[b+168>>1]=E[e+8>>1];B[b+22>>1]=f>>>0<=1?1:f;break vc}B[b+22>>1]=f;if(!f){break tc}}C[b+8>>2]=C[b+8>>2]|16;C[b+244>>2]=C[b+244>>2]|8192}}Ce=g+256|0;break oc}break a}break f}n=Ce-32|0;Ce=n;wc:{xc:{yc:{zc:{c=C[a+728>>2];switch(c|0){case 0:break xc;case 1:break zc;default:break yc}}ef(a,d);break wc}c=c-1|0;C[a+728>>2]=c;if((c|0)!=1){break xc}ef(a,d);ff(a,18116);break wc}Ac:{c=C[a+204>>2];if(c&1){if(c&4){C[a+204>>2]=c|8}f=d+1|0;e=C[a+760>>2];Bc:{if(e){if(f>>>0<=F[a+764>>2]){break Bc}C[a+760>>2]=0;C[a+764>>2]=0;nf(a,e)}e=jh(a,f);if(!e){break Ac}c=We(e,0,f);C[a+764>>2]=f;C[a+760>>2]=c}Xf(a,e,d);$f(a,e,d);c=0;if(ef(a,0)){break wc}f=19609;Cc:{if(!d){break Cc}Dc:{while(1){if(!D[c+e|0]){break Dc}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}if(c-80>>>0<4294967217){break Cc}f=20406;if(c+5>>>0>d>>>0){break Cc}f=11790;Ec:{Fc:{g=c+e|0;j=D[g+1|0];switch(j|0){case 0:break Ec;case 1:break Fc;default:break Cc}}if(D[g+2|0]){break Cc}}k=c+3|0;c=k;Gc:{if(c>>>0>=d>>>0){break Gc}while(1){if(!D[c+e|0]){break Gc}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}g=c+1|0;c=g;Hc:{if(c>>>0>=d>>>0){break Hc}while(1){if(!D[c+e|0]){break Hc}c=c+1|0;if((c|0)!=(d|0)){continue}break}c=d}c=c+1|0;Ic:{if(!(c>>>0>d>>>0|j)){C[n+28>>2]=d-c;break Ic}f=20406;if(!j|d>>>0<=c>>>0){break Cc}C[n+28>>2]=-1;if((su(a,d,c,n+28|0)|0)==1){e=C[a+760>>2];break Ic}f=C[a+244>>2];if(f){break Cc}}A[(c+C[n+28>>2]|0)+e|0]=0;C[n+24>>2]=e+g;C[n+20>>2]=e+k;C[n+4>>2]=e;C[n>>2]=j?2:1;C[n+12>>2]=0;C[n+8>>2]=c+e;C[n+16>>2]=C[n+28>>2];f=1090;if(!eo(a,b,n)){break wc}}ff(a,f);break wc}break a}ef(a,d);ff(a,1263)}Ce=n+32|0;break f}to(a,b,d,0)}d=Ao(a);c=C[a+372>>2];if((c|0)!=1229209940){continue}break}}c=C[a+204>>2];if(!(c&1)){break c}if(!(c&2)&D[a+423|0]==3){break b}if(c&8){ff(a,19691);c=C[a+204>>2]}C[a+204>>2]=c|4;c=Cw(a,1229209940);if(c){to(a,b,d,c);d=0}C[a+396>>2]=d}return}Ig(a,23756);s()}Ig(a,23781);s()}Ig(a,24757);s()}function XR(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,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,F=0,G=0,H=0,J=0,K=0;f=Ce-160|0;Ce=f;C[f+156>>2]=c;u=C[c+92>>2];C[f+152>>2]=u;i=u;a:{b:{p=C[c+80>>2];if(p){b=u+I(p,20)|0;d=p;while(1){if(E[i+12>>1]&16|(!(D[i+16|0]&32)|D[i+18|0]!=6)){break b}i=i+20|0;m=m+1|0;d=d-1|0;if(d){continue}break}i=b}k=f+152|0;b=k;w=f+156|0;o=w;m=p;j=m;break a}b=f+152|0;o=f+156|0;j=m;while(1){h=d;w=f+156|0;k=f+152|0;e=j;if(D[i+18|0]!=14){break a}while(1){e=e+1|0;if(p>>>0<=e>>>0){break a}d=u+I(e,20)|0;c:{if(D[d+18|0]!=6){g=E[d+16>>1];break c}g=E[d+16>>1];if(!(g&32)){break c}if(!(E[d+12>>1]&16)){continue}}break}if(!(1<>1]&16)){continue}}break}if(d){continue}break}h=0}C[f+140>>2]=171973;C[f+132>>2]=o;C[f+136>>2]=b;C[f+128>>2]=171972;C[f+120>>2]=m;C[f+116>>2]=h;C[f+112>>2]=i;C[f+96>>2]=0;C[f+100>>2]=1;C[f+104>>2]=j;C[f+108>>2]=1;d:{if(h){n=j;g=i;o=h;while(1){e=o;e:{while(1){n=n+1|0;b=(e|0)!=0;o=e-b|0;g=I(b,20)+g|0;if(!((b|0)==(e|0)|D[g+18|0]!=6|!(D[g+16|0]&32))){e=o;if(!(E[g+12>>1]&16)){continue}}if(!o){break e}e=n;f:{if(D[g+18|0]!=14){break f}while(1){e=e+1|0;if(p>>>0<=e>>>0){break f}b=u+I(e,20)|0;g:{if(D[b+18|0]!=6){m=E[b+16>>1];break g}m=E[b+16>>1];if(!(m&32)){break g}if(!(E[b+12>>1]&16)){continue}}break}e=o;if(1<>1]&16)){continue}}if(!o){z=1;break i}e=n;j:{if(D[g+18|0]!=14){break j}while(1){e=e+1|0;if(p>>>0<=e>>>0){break j}b=u+I(e,20)|0;k:{if(D[b+18|0]!=6){m=E[b+16>>1];break k}m=E[b+16>>1];if(!(m&32)){break k}if(!(E[b+12>>1]&16)){continue}}break}e=o;if(1<>2];l=C[f+136>>2];C[f+88>>2]=l;C[f+92>>2]=F;r=C[f+132>>2];o=C[f+128>>2];C[f+80>>2]=o;C[f+84>>2]=r;u=C[f+124>>2];g=C[f+120>>2];C[f+72>>2]=g;C[f+76>>2]=u;m=C[f+116>>2];e=C[f+112>>2];b=f- -64|0;C[b>>2]=e;C[b+4>>2]=m;p=C[f+108>>2];d=C[f+104>>2];J=f+56|0;b=J;C[b>>2]=d;C[b+4>>2]=p;n=C[f+100>>2];b=C[f+96>>2];C[f+48>>2]=b;C[f+52>>2]=n;C[f+40>>2]=l;C[f+44>>2]=F;C[f+32>>2]=o;C[f+36>>2]=r;C[f+24>>2]=g;C[f+28>>2]=u;C[f+16>>2]=e;C[f+20>>2]=m;C[f+8>>2]=d;C[f+12>>2]=p;C[f>>2]=b;C[f+4>>2]=n;e=C[f+48>>2];l:{if(!C[f+68>>2]){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;if(!e){break l}C[f+48>>2]=I(1-C[f+52>>2]|0,e);break l}if(!e){break l}C[f+48>>2]=I(1-C[f+52>>2]|0,e);while(1){mg(J);if(!C[f+68>>2]){break l}e=e-1|0;if(e){continue}break}}t=f+8|0;e=C[f>>2];b=C[f+20>>2];m:{if(!b){b=0;C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;if(!e){break m}C[f>>2]=I(1-C[f+4>>2]|0,e);break m}if(!e){break m}C[f>>2]=I(1-C[f+4>>2]|0,e);while(1){mg(t);b=C[f+20>>2];if(!b){break m}e=e-1|0;if(e){continue}break}}if(!h){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(z){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}v=f+104|0;n=0;x=1;s=1;q=1;r=0;e=!H;while(1){n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(!e){C:{if(D[r+173920|0]!=2){break C}if(!h){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}e=C[f+48>>2];l=C[f+68>>2];if(!l){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>>0){y=n-e|0;if(!y){break C}C[f+48>>2]=e+I(C[f+52>>2],y);if(!l){break C}o=C[f- -64>>2];K=C[f+72>>2];F=C[f+60>>2];u=C[f+88>>2];p=C[f+84>>2];g=C[f+56>>2];while(1){y=y-1|0;d=l;while(1){g=g+F|0;C[f+56>>2]=g;e=(d|0)!=0;K=e+K|0;C[f+72>>2]=K;l=d-e|0;C[f+68>>2]=l;o=I(e,20)+o|0;C[f+64>>2]=o;if(!(!(D[o+16|0]&32)|((d|0)==(e|0)|D[o+18|0]!=6))){d=l;if(!(E[o+12>>1]&16)){continue}}if(!l){break C}D:{if(D[o+18|0]!=14){break D}d=C[C[p>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break D}G=C[u>>2]+I(e,20)|0;E:{if(D[G+18|0]!=6){m=E[G+16>>1];break E}m=E[G+16>>1];if(!(m&32)){break E}if(!(E[G+12>>1]&16)){continue}}break}d=l;if(1<>>0<=n>>>0){break C}d=e-n|0;if(!d){break C}C[f+48>>2]=e-I(C[f+52>>2],d);if(!l){break C}while(1){mg(J);if(!C[f+68>>2]){break C}d=d-1|0;if(d){continue}break}}p=r<<1;e=B[p+173440>>1]+172112|0;l=A[r+173568|0];o=D[p+171984|0];F:{G:{if(!h){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;g=D[422722];if(o>>>0>g>>>0){break F}if(D[p+171985|0]>=g>>>0){break G}break F}g=D[i+18|0];if(o>>>0>g>>>0|D[p+171985|0]>>0){break F}}l=g-o|0}d=A[e+l|0];break B}if(!h){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(z){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(!r){break A}n=H;d=B[(r<<1)+173792>>1]-1|0}r=A[d+173632|0];d=A[d+173712|0];if(!d){break n}H:{switch(d-3|0){case 1:break p;case 0:break q;case 5:break r;case 6:break s;case 3:break t;case 8:break u;case 7:break v;case 2:break w;case 11:break x;case 9:break y;case 10:break z;case 4:break H;default:break n}}I:{J:{if(!h){break J}while(1){j=j+x|0;b=(h|0)!=0;d=h-b|0;i=I(b,20)+i|0;if(!((b|0)==(h|0)|D[i+18|0]!=6|!(D[i+16|0]&32))){h=d;if(!(E[i+12>>1]&16)){continue}}if(!d){break J}if(D[i+18|0]!=14){break I}g=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(g>>>0<=e>>>0){break I}h=C[k>>2]+I(e,20)|0;K:{if(D[h+18|0]!=6){b=E[h+16>>1];break K}b=E[h+16>>1];if(!(b&32)){break K}if(!(E[h+12>>1]&16)){continue}}break}h=d;if(1<>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}b=n+s|0;L:{if(b>>>0>e>>>0){j=b-e|0;if(!j){b=d;break L}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break L}i=C[f+16>>2];h=C[f+24>>2];k=C[f+12>>2];n=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+k|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break L}M:{if(D[i+18|0]!=14){break M}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break M}p=C[n>>2]+I(e,20)|0;N:{if(D[p+18|0]!=6){l=E[p+16>>1];break N}l=E[p+16>>1];if(!(l&32)){break N}if(!(E[p+12>>1]&16)){continue}}break}d=b;if(1<>>0>=e>>>0){b=d;break L}k=e-b|0;if(!k){b=d;break L}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break L}while(1){mg(t);b=C[f+20>>2];if(!b){break L}k=k-1|0;if(k){continue}break}}e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|2;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}O:{P:{h=C[c+80>>2];if(h){g=h-1|0;e=0;d=C[c+92>>2];b=D[d+15|0];while(1){Q:{if((e|0)==(g|0)){e=h;break Q}e=e+1|0;if((b|0)==D[(d+I(e,20)|0)+15|0]){continue}}break}d=0;if(h){break P}}b=0;break O}b=h;while(1){g=e;if(e-d>>>0>=2){Rf(c,d,g);b=C[c+80>>2]}d=g+1|0;d=b>>>0>d>>>0?b:d;j=C[c+92>>2];o=D[(j+I(g,20)|0)+15|0];while(1){R:{e=e+1|0;if(e>>>0>=b>>>0){e=d;break R}if((o|0)==D[(j+I(e,20)|0)+15|0]){continue}}break}d=g;if(h>>>0>d>>>0){continue}break}}j=C[a+112>>2];l=C[j>>2];if(!(!l|!b)){g=b-1|0;d=0;n=C[c+92>>2];e=D[n+15|0];while(1){S:{if((d|0)==(g|0)){d=b;break S}d=d+1|0;if((e|0)==D[(n+I(d,20)|0)+15|0]){continue}}break}e=0;while(1){g=d;d=d-e|0;i=D[(n+I(e,20)|0)+18|0]==18?1:d>>>0>=3?3:d;o=i+e|0;T:{if(o>>>0<=e>>>0){break T}d=0;if(i){while(1){h=n+I(e,20)|0;C[h+4>>2]=l|C[h+4>>2];e=e+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(i-1>>>0<=2){break T}while(1){d=n+I(e,20)|0;C[d+4>>2]=l|C[d+4>>2];C[d+24>>2]=l|C[d+24>>2];C[d+44>>2]=l|C[d+44>>2];d=d- -64|0;C[d>>2]=l|C[d>>2];e=e+4|0;if((o|0)!=(e|0)){continue}break}}d=g+1|0;e=b>>>0>d>>>0?b:d;o=e-1|0;h=D[(n+I(g,20)|0)+15|0];d=g;while(1){U:{if((d|0)==(o|0)){d=e;break U}d=d+1|0;if((h|0)==D[(n+I(d,20)|0)+15|0]){continue}}break}e=g;if(e>>>0>>0){continue}break}}V:{if(C[j+4>>2]){break V}d=C[a+44>>2];if((d|0)<=0){break V}o=C[a+36>>2];j=C[a+48>>2];l=0;d=d-1|0;k=d;W:{while(1){e=k+l>>>1|0;a=C[j+I(e,36)>>2];X:{if(a>>>0<=1769172844){g=C[(j+I(e,36)|0)+28>>2];if((a|0)==1769172844){break W}l=e+1|0;break X}k=e-1|0}if((k|0)>=(l|0)){continue}break}g=0}a=g;l=0;e=(a|0)!=(o|0)?a:0;C[f+96>>2]=e;k=d;Y:{while(1){g=k+l>>>1|0;a=C[j+I(g,36)>>2];Z:{if(a>>>0<=1768843636){h=C[(j+I(g,36)|0)+28>>2];if((a|0)==1768843636){break Y}l=g+1|0;break Z}k=g-1|0}if((k|0)>=(l|0)){continue}break}h=0}a=h;l=0;a=(a|0)!=(o|0)?a:0;C[f+100>>2]=a;e=a|e;k=d;_:{while(1){g=k+l>>>1|0;a=C[j+I(g,36)>>2];$:{if(a>>>0<=1835361385){h=C[(j+I(g,36)|0)+28>>2];if((a|0)==1835361385){break _}l=g+1|0;break $}k=g-1|0}if((k|0)>=(l|0)){continue}break}h=0}a=h;k=0;a=(a|0)!=(o|0)?a:0;C[f+104>>2]=a;g=a|e;i=f;aa:{while(1){h=d+k>>>1|0;e=C[j+I(h,36)>>2];ba:{if(e>>>0<=1718185569){a=C[(j+I(h,36)|0)+28>>2];if((e|0)==1718185569){break aa}k=h+1|0;break ba}d=h-1|0}if((d|0)>=(k|0)){continue}break}a=0}d=a;a=(d|0)!=(o|0)?d:0;C[i+108>>2]=a;a=a|g;if(!a|!b){break V}j=a^-1;d=b-1|0;e=0;h=C[c+92>>2];m=D[h+15|0];a=m;while(1){ca:{if((d|0)==(e|0)){e=b;break ca}e=e+1|0;if((a|0)==D[(h+I(e,20)|0)+15|0]){continue}}break}i=0;l=0;g=4;while(1){a=i;i=e;c=m&15;da:{if(c>>>0>8){break da}if(!(1<>>0<=l>>>0){break ea}e=a+(l^-1)|0;g=C[(f+96|((g|0)==3?8:4))>>2];m=0;d=a-l&3;if(d){while(1){c=h+I(l,20)|0;C[c+4>>2]=g|j&C[c+4>>2];l=l+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}if(e>>>0<3){break ea}while(1){c=h+I(l,20)|0;C[c+4>>2]=g|j&C[c+4>>2];C[c+24>>2]=g|j&C[c+24>>2];C[c+44>>2]=g|j&C[c+44>>2];c=c- -64|0;C[c>>2]=g|j&C[c>>2];l=l+4|0;if((a|0)!=(l|0)){continue}break}}ga:{if(a>>>0>=i>>>0){break ga}g=C[(f+96|o<<2)>>2];m=0;e=a;d=i-e&3;if(d){while(1){c=h+I(e,20)|0;C[c+4>>2]=g|j&C[c+4>>2];e=e+1|0;m=m+1|0;if((d|0)!=(m|0)){continue}break}}if((a^-1)+i>>>0<3){break ga}while(1){c=h+I(e,20)|0;C[c+4>>2]=g|j&C[c+4>>2];C[c+24>>2]=g|j&C[c+24>>2];C[c+44>>2]=g|j&C[c+44>>2];c=c- -64|0;C[c>>2]=g|j&C[c>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}g=o}c=i+1|0;c=b>>>0>c>>>0?b:c;m=D[(h+I(i,20)|0)+15|0];e=i;while(1){ha:{e=e+1|0;if(e>>>0>=b>>>0){e=c;break ha}if(D[(h+I(e,20)|0)+15|0]==(m&255)){continue}}break}l=a;if(b>>>0>i>>>0){continue}break}}Ce=f+160|0;return}if(!h){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}e=C[f>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}ia:{if(e>>>0>>0){j=n-e|0;if(!j){break ia}C[f>>2]=e+I(C[f+4>>2],j);if(!b){break ia}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break ia}ja:{if(D[i+18|0]!=14){break ja}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break ja}m=C[k>>2]+I(e,20)|0;ka:{if(D[m+18|0]!=6){l=E[m+16>>1];break ka}l=E[m+16>>1];if(!(l&32)){break ka}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){break ia}d=e-n|0;if(!d){break ia}C[f>>2]=e-I(C[f+4>>2],d);if(!b){break ia}while(1){mg(t);b=C[f+20>>2];if(!b){break ia}d=d-1|0;if(d){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|8;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)!=16){break n}break o}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}e=C[f>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}la:{if(e>>>0>>0){j=n-e|0;if(!j){break la}C[f>>2]=e+I(C[f+4>>2],j);if(!b){break la}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){break la}ma:{if(D[i+18|0]!=14){break ma}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break ma}m=C[k>>2]+I(e,20)|0;na:{if(D[m+18|0]!=6){l=E[m+16>>1];break na}l=E[m+16>>1];if(!(l&32)){break na}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){break la}d=e-n|0;if(!d){break la}C[f>>2]=e-I(C[f+4>>2],d);if(!b){break la}while(1){mg(t);if(!C[f+20>>2]){break la}d=d-1|0;if(d){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}h=q<<4|7;while(1){g=C[f+8>>2];b=C[f+20>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}oa:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break oa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break oa}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break oa}pa:{if(D[i+18|0]!=14){break pa}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break pa}m=C[k>>2]+I(e,20)|0;qa:{if(D[m+18|0]!=6){l=E[m+16>>1];break qa}l=E[m+16>>1];if(!(l&32)){break qa}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break oa}k=e-n|0;if(!k){b=d;break oa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break oa}while(1){mg(t);b=C[f+20>>2];if(!b){break oa}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|6;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}ra:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break ra}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break ra}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break ra}sa:{if(D[i+18|0]!=14){break sa}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break sa}m=C[k>>2]+I(e,20)|0;ta:{if(D[m+18|0]!=6){l=E[m+16>>1];break ta}l=E[m+16>>1];if(!(l&32)){break ta}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break ra}k=e-n|0;if(!k){b=d;break ra}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break ra}while(1){mg(t);b=C[f+20>>2];if(!b){break ra}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|5;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}ua:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break ua}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break ua}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break ua}va:{if(D[i+18|0]!=14){break va}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break va}m=C[k>>2]+I(e,20)|0;wa:{if(D[m+18|0]!=6){l=E[m+16>>1];break wa}l=E[m+16>>1];if(!(l&32)){break wa}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break ua}k=e-n|0;if(!k){b=d;break ua}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break ua}while(1){mg(t);b=C[f+20>>2];if(!b){break ua}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|4;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}xa:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break xa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break xa}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break xa}ya:{if(D[i+18|0]!=14){break ya}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break ya}m=C[k>>2]+I(e,20)|0;za:{if(D[m+18|0]!=6){l=E[m+16>>1];break za}l=E[m+16>>1];if(!(l&32)){break za}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break xa}k=e-n|0;if(!k){b=d;break xa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break xa}while(1){mg(t);b=C[f+20>>2];if(!b){break xa}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|3;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}Aa:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break Aa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Aa}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Aa}Ba:{if(D[i+18|0]!=14){break Ba}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ba}m=C[k>>2]+I(e,20)|0;Ca:{if(D[m+18|0]!=6){l=E[m+16>>1];break Ca}l=E[m+16>>1];if(!(l&32)){break Ca}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break Aa}k=e-n|0;if(!k){b=d;break Aa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Aa}while(1){mg(t);b=C[f+20>>2];if(!b){break Aa}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|2;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}Da:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break Da}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Da}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Da}Ea:{if(D[i+18|0]!=14){break Ea}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ea}m=C[k>>2]+I(e,20)|0;Fa:{if(D[m+18|0]!=6){l=E[m+16>>1];break Fa}l=E[m+16>>1];if(!(l&32)){break Fa}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break Da}k=e-n|0;if(!k){b=d;break Da}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Da}while(1){mg(t);b=C[f+20>>2];if(!b){break Da}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|1;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}if(!h){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}e=C[f>>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}Ga:{if(e>>>0>>0){j=n-e|0;if(!j){b=d;break Ga}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Ga}i=C[f+16>>2];h=C[f+24>>2];p=C[f+12>>2];k=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+p|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Ga}Ha:{if(D[i+18|0]!=14){break Ha}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ha}m=C[k>>2]+I(e,20)|0;Ia:{if(D[m+18|0]!=6){l=E[m+16>>1];break Ia}l=E[m+16>>1];if(!(l&32)){break Ia}if(!(E[m+12>>1]&16)){continue}}break}d=b;if(1<>>0<=n>>>0){b=d;break Ga}k=e-n|0;if(!k){b=d;break Ga}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Ga}while(1){mg(t);b=C[f+20>>2];if(!b){break Ga}k=k-1|0;if(k){continue}break}}C[f+96>>2]=n-s;mg(v);e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}Ja:{Ka:{if(!h){break Ka}while(1){j=j+x|0;b=(h|0)!=0;d=h-b|0;i=I(b,20)+i|0;if(!((b|0)==(h|0)|D[i+18|0]!=6|!(D[i+16|0]&32))){h=d;if(!(E[i+12>>1]&16)){continue}}if(!d){break Ka}if(D[i+18|0]!=14){break Ja}g=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(g>>>0<=e>>>0){break Ja}h=C[k>>2]+I(e,20)|0;La:{if(D[h+18|0]!=6){b=E[h+16>>1];break La}b=E[h+16>>1];if(!(b&32)){break La}if(!(E[h+12>>1]&16)){continue}}break}h=d;if(1<>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}b=n+s|0;Ma:{if(b>>>0>e>>>0){j=b-e|0;if(!j){b=d;break Ma}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Ma}i=C[f+16>>2];h=C[f+24>>2];k=C[f+12>>2];n=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+k|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Ma}Na:{if(D[i+18|0]!=14){break Na}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Na}p=C[n>>2]+I(e,20)|0;Oa:{if(D[p+18|0]!=6){l=E[p+16>>1];break Oa}l=E[p+16>>1];if(!(l&32)){break Oa}if(!(E[p+12>>1]&16)){continue}}break}d=b;if(1<>>0>=e>>>0){b=d;break Ma}k=e-b|0;if(!k){b=d;break Ma}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Ma}while(1){mg(t);b=C[f+20>>2];if(!b){break Ma}k=k-1|0;if(k){continue}break}}e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|8;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}Pa:{Qa:{if(!h){break Qa}while(1){j=j+x|0;b=(h|0)!=0;d=h-b|0;i=I(b,20)+i|0;if(!((b|0)==(h|0)|D[i+18|0]!=6|!(D[i+16|0]&32))){h=d;if(!(E[i+12>>1]&16)){continue}}if(!d){break Qa}if(D[i+18|0]!=14){break Pa}g=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(g>>>0<=e>>>0){break Pa}h=C[k>>2]+I(e,20)|0;Ra:{if(D[h+18|0]!=6){b=E[h+16>>1];break Ra}b=E[h+16>>1];if(!(b&32)){break Ra}if(!(E[h+12>>1]&16)){continue}}break}h=d;if(1<>2];d=C[f+20>>2];if(!d){C[105680]=C[51432];b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b}b=n+s|0;Sa:{if(b>>>0>e>>>0){j=b-e|0;if(!j){b=d;break Sa}C[f>>2]=e+I(C[f+4>>2],j);if(!d){b=0;break Sa}i=C[f+16>>2];h=C[f+24>>2];k=C[f+12>>2];n=C[f+40>>2];o=C[f+36>>2];g=C[f+8>>2];b=d;while(1){j=j-1|0;d=b;while(1){g=g+k|0;C[f+8>>2]=g;e=(d|0)!=0;h=e+h|0;C[f+24>>2]=h;b=d-e|0;C[f+20>>2]=b;i=I(e,20)+i|0;C[f+16>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=b;if(!(E[i+12>>1]&16)){continue}}if(!b){b=0;break Sa}Ta:{if(D[i+18|0]!=14){break Ta}d=C[C[o>>2]+80>>2];e=g;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Ta}p=C[n>>2]+I(e,20)|0;Ua:{if(D[p+18|0]!=6){l=E[p+16>>1];break Ua}l=E[p+16>>1];if(!(l&32)){break Ua}if(!(E[p+12>>1]&16)){continue}}break}d=b;if(1<>>0>=e>>>0){b=d;break Sa}k=e-b|0;if(!k){b=d;break Sa}C[f>>2]=e-I(C[f+4>>2],k);b=0;if(!d){break Sa}while(1){mg(t);b=C[f+20>>2];if(!b){break Sa}k=k-1|0;if(k){continue}break}}e=C[f+56>>2];if(!C[f+68>>2]){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}h=q<<4|7;while(1){g=C[f+8>>2];if(!b){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d}if(e>>>0>=g>>>0){q=q+1|0;if((q|0)==16){break o}break n}else{A[(C[f+152>>2]+I(e,20)|0)+15|0]=h;e=e+1|0;b=C[f+20>>2];continue}}}q=1}Va:{if(D[r+173984|0]!=1){break Va}n=C[f+48>>2];g=C[f+68>>2];if(!g){C[105680]=C[51432];d=C[51431];C[105678]=C[51430];C[105679]=d;d=C[51429];C[105676]=C[51428];C[105677]=d;if(!n){break Va}C[f+48>>2]=I(1-C[f+52>>2]|0,n);break Va}if(!n){break Va}C[f+48>>2]=I(1-C[f+52>>2]|0,n);i=C[f- -64>>2];h=C[f+72>>2];p=C[f+60>>2];k=C[f+88>>2];o=C[f+84>>2];j=C[f+56>>2];while(1){n=n-1|0;while(1){j=j-p|0;C[f+56>>2]=j;d=(h|0)!=0;h=h-d|0;C[f+72>>2]=h;g=d+g|0;C[f+68>>2]=g;i=I(d,-20)+i|0;C[f+64>>2]=i;if(!g){break Va}Wa:{Xa:{switch(D[i+18|0]-6|0){case 0:if(!(D[i+16|0]&32)){break Wa}if(!(E[i+12>>1]&16)){continue}break Wa;case 8:break Xa;default:break Wa}}d=C[C[o>>2]+80>>2];e=j;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Wa}m=C[k>>2]+I(e,20)|0;Ya:{if(D[m+18|0]!=6){l=E[m+16>>1];break Ya}l=E[m+16>>1];if(!(l&32)){break Ya}if(!(E[m+12>>1]&16)){continue}}break}if(1<>2];n=s+C[f+96>>2]|0;C[f+96>>2]=n;i=C[f+112>>2];g=C[f+120>>2];d=C[f+116>>2];x=C[f+108>>2];j=C[f+104>>2];k=C[f+136>>2];w=C[f+132>>2];Za:{while(1){j=j+x|0;C[f+104>>2]=j;e=(d|0)!=0;g=e+g|0;C[f+120>>2]=g;h=d-e|0;C[f+116>>2]=h;i=I(e,20)+i|0;C[f+112>>2]=i;if(!(!(D[i+16|0]&32)|((d|0)==(e|0)|D[i+18|0]!=6))){d=h;if(!(E[i+12>>1]&16)){continue}}if(h){if(D[i+18|0]!=14){break Za}d=C[C[w>>2]+80>>2];e=j;while(1){e=e+1|0;if(d>>>0<=e>>>0){break Za}o=C[k>>2]+I(e,20)|0;_a:{if(D[o+18|0]!=6){m=E[o+16>>1];break _a}m=E[o+16>>1];if(!(m&32)){break _a}if(!(E[o+12>>1]&16)){continue}}break}d=h;if(1<>>0<=6){C[o+76>>2]=0;C[o+68>>2]=0;C[o+72>>2]=0;a:{b:{c:{d:{e:{f:{switch(C[a+20>>2]-1|0){case 1:g=C[a+16>>2]+10|0;v=C[a>>2];if(g>>>0>>0){break d}p=v+C[a+4>>2]|0;if(p>>>0>>0){break d}q=p-g|0;if(q>>>0<4){break d}n=D[g|0]|D[g+1|0]<<8;r=n<<8|n>>>8;k=r&1?8:6;l=k+2|0;g:{if(r&8){break g}l=k+4|0;r=r&65535;if(r&64){break g}l=r&128?k+8|0:k}if(l>>>0>q>>>0){break d}i=1;if(n&8192){while(1){h:{g=g+l|0;if(v>>>0>g>>>0|g>>>0>p>>>0){break h}i=p-g|0;if(i>>>0<4){break h}k=D[g|0]|D[g+1|0]<<8;n=k<<8|k>>>8;q=n&1?8:6;l=q+2|0;i:{if(n&8){break i}l=q+4|0;n=n&65535;if(n&64){break i}l=n&128?q+8|0:q}if(i>>>0>>0){break h}t=t+1|0;if(k&8192){continue}}break}g=t+1|0;i=(g|0)>0?g:0;if(t>>>0>2147483646){break d}}while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=i>>>0){continue}break};j:{if(h>>>0<=268435454){g=kf(h<<4);if(g){break j}}C[o+68>>2]=-1;l=0;break a}C[o+68>>2]=h;C[o+76>>2]=g;t=0;q=We(g,0,i<<4);C[o+72>>2]=i;g=0;if(i-1>>>0>=3){k=i&2147483644;while(1){l=g<<4;p=l+q|0;C[p+4>>2]=0;C[p+8>>2]=0;A[p|0]=0;A[p+12|0]=0;p=q+(l|16)|0;C[p+4>>2]=0;C[p+8>>2]=0;A[p|0]=0;A[p+12|0]=0;p=q+(l|32)|0;C[p+4>>2]=0;C[p+8>>2]=0;A[p|0]=0;A[p+12|0]=0;l=q+(l|48)|0;C[l+4>>2]=0;C[l+8>>2]=0;A[l|0]=0;A[l+12|0]=0;g=g+4|0;N=N+4|0;if((k|0)!=(N|0)){continue}break}}p=i&3;if(!p){break e}while(1){l=q+(g<<4)|0;C[l+4>>2]=0;C[l+8>>2]=0;A[l|0]=0;A[l+12|0]=0;g=g+1|0;t=t+1|0;if((p|0)!=(t|0)){continue}break};break e;case 0:break f;default:break c}}C[o+20>>2]=C[a+16>>2];C[o+32>>2]=C[a+8>>2];g=C[a+4>>2];C[o+24>>2]=C[a>>2];C[o+28>>2]=g;h=C[o+24>>2];g=C[o+20>>2];i=D[g|0]|D[g+1|0]<<8;i=(i<<8|i>>>8)<<16>>16;k=g+10|0;v=((i<<1)+k|0)+2|0;k:{l:{if(h>>>0>v>>>0){break l}g=h+C[o+28>>2]|0;if(g>>>0>>0|g-v>>>0<2){break l}g=(k+(i<<1)|0)-2|0;g=D[g|0]|D[g+1|0]<<8;p=(g<<8|g>>>8)&65535;g=C[o+68>>2];m:{if((g|0)<0){break m}h=p+1|0;if(g>>>0<=p>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(h>>>0>=g>>>0){continue}break}n:{if(g>>>0<=268435454){n=mf(C[o+76>>2],g<<4);if(n){break n}}C[o+68>>2]=-1;break m}C[o+68>>2]=g;C[o+76>>2]=n}g=C[o+72>>2];if(g>>>0<=p>>>0){We(C[o+76>>2]+(g<<4)|0,0,h-g<<4)}C[o+72>>2]=h}n=C[o+72>>2];o:{if(!n){break o}g=C[o+76>>2];h=0;if(n>>>0>=4){N=n&-4;while(1){r=h<<4;j=r+g|0;C[j+4>>2]=0;C[j+8>>2]=0;A[j|0]=0;A[j+12|0]=0;j=g+(r|16)|0;C[j+4>>2]=0;C[j+8>>2]=0;A[j|0]=0;A[j+12|0]=0;j=g+(r|32)|0;C[j+4>>2]=0;C[j+8>>2]=0;A[j|0]=0;A[j+12|0]=0;r=g+(r|48)|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;h=h+4|0;q=q+4|0;if((N|0)!=(q|0)){continue}break}}n=n&3;if(!n){break o}while(1){q=g+(h<<4)|0;C[q+4>>2]=0;C[q+8>>2]=0;A[q|0]=0;A[q+12|0]=0;h=h+1|0;t=t+1|0;if((n|0)!=(t|0)){continue}break}}q=1;if(e){break l}if((i|0)>0){h=0;while(1){g=k+(h<<1)|0;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;p:{if(g>>>0>=F[o+72>>2]){g=C[51431];C[105678]=C[51430];C[105679]=g;g=C[51429];C[105676]=C[51428];C[105677]=g;g=422704;break p}g=C[o+76>>2]+(g<<4)|0}A[g+12|0]=1;h=h+1|0;if((i|0)!=(h|0)){continue}break}}g=k+(i<<1)|0;g=D[g|0]|D[g+1|0]<<8;g=v+((g<<8|g>>>8)&65535)|0;q=0;h=0;while(1){i=C[o+24>>2];if(i>>>0>g>>>0|i+C[o+28>>2]>>>0<=g>>>0){break l}t=D[g|0];i=g+1|0;q:{if(F[o+72>>2]<=h>>>0){k=C[51431];C[105678]=C[51430];C[105679]=k;k=C[51429];C[105676]=C[51428];C[105677]=k;k=422704;break q}k=C[o+76>>2]+(h<<4)|0}A[k|0]=t;if(t&8){k=C[o+24>>2];if(k>>>0>i>>>0|k+C[o+28>>2]>>>0<=i>>>0){break l}i=g+2|0;g=D[g+1|0];r:{if(!g){break r}while(1){h=h+1|0;if(p>>>0>>0){break r}g=g-1|0;s:{if(F[o+72>>2]<=h>>>0){k=C[51431];C[105678]=C[51430];C[105679]=k;k=C[51429];C[105676]=C[51428];C[105677]=k;k=422704;break s}k=C[o+76>>2]+(h<<4)|0}A[k|0]=t;if(g){continue}break}}}g=i;h=h+1|0;if(p>>>0>=h>>>0){continue}break}t=C[o+72>>2];i=1;if(!t){break k}h=0;while(1){p=C[o+76>>2]+(h<<4)|0;k=D[p|0];t:{if(k&2){i=C[o+24>>2];if(i>>>0>g>>>0|i+C[o+28>>2]>>>0<=g>>>0){break l}i=g+1|0;u=J(D[g|0]);if(k&16){s=J(s+u);g=i;break t}s=J(s-u);g=i;break t}if(k&16){break t}i=C[o+24>>2];if(i>>>0>g>>>0){break l}i=i+C[o+28>>2]|0;if(i>>>0>>0|i-g>>>0<2){break l}i=D[g|0]|D[g+1|0]<<8;s=J(s+J((i<<8|i>>>8)<<16>>16));g=g+2|0}if(h>>>0>=t>>>0){i=C[51431];C[105678]=C[51430];C[105679]=i;i=C[51429];C[105676]=C[51428];C[105677]=i;p=422704;t=C[o+72>>2]}G[p+4>>2]=s;h=h+1|0;if(t>>>0>h>>>0){continue}break}i=1;if(!t){break k}s=J(0);h=0;while(1){p=C[o+76>>2]+(h<<4)|0;k=D[p|0];u:{if(k&4){q=0;i=C[o+24>>2];if(i>>>0>g>>>0|i+C[o+28>>2]>>>0<=g>>>0){break l}i=g+1|0;u=J(D[g|0]);if(k&32){s=J(s+u);g=i;break u}s=J(s-u);g=i;break u}if(k&32){break u}q=0;i=C[o+24>>2];if(i>>>0>g>>>0){break l}i=i+C[o+28>>2]|0;if(i>>>0>>0|i-g>>>0<2){break l}i=D[g|0]|D[g+1|0]<<8;s=J(s+J((i<<8|i>>>8)<<16>>16));g=g+2|0}if(h>>>0>=t>>>0){i=C[51431];C[105678]=C[51430];C[105679]=i;i=C[51429];C[105676]=C[51428];C[105677]=i;p=422704;t=C[o+72>>2]}G[p+8>>2]=s;q=1;h=h+1|0;if(t>>>0>h>>>0){continue}break}}i=q}if(!i){break a}h=C[o+68>>2];i=C[o+72>>2]}l=0;if((h|0)<0){break a}g=i+4|0;g=(g|0)>0?g:0;break b}C[o+72>>2]=i}g=i+4|0;g=(g|0)>0?g:0}if(g>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(g>>>0>=h>>>0){continue}break}v:{if(h>>>0<=268435454){i=mf(C[o+76>>2],h<<4);if(i){break v}}C[o+68>>2]=-1;l=0;break a}C[o+68>>2]=h;C[o+76>>2]=i;i=C[o+72>>2]}if(g>>>0>i>>>0){We(C[o+76>>2]+(i<<4)|0,0,g-i<<4)}C[o+72>>2]=g;j=C[o+76>>2];r=g-4|0;q=j+(r<<4)|0;w:{x:{y:{z:{h=g-r|0;h=g>>>0>=h>>>0?h:0;H=h>>>0>=4?4:h;if(H){A[q|0]=0;C[q+4>>2]=0;C[q+8>>2]=0;A[q+12|0]=0;if((H|0)!=1){break z}}h=C[51431];C[105678]=C[51430];C[105679]=h;h=C[51429];C[105676]=C[51428];C[105677]=h;C[105677]=0;C[105678]=0;A[422704]=0;A[422716]=0;N=0;break y}A[q+16|0]=0;C[q+20>>2]=0;C[q+24>>2]=0;A[q+28|0]=0;da=1;N=0;if(H>>>0<3){break y}A[q+32|0]=0;C[q+36>>2]=0;C[q+40>>2]=0;A[q+44|0]=0;if((H|0)!=3){break x}N=1}h=C[51431];C[105678]=C[51430];C[105679]=h;h=C[51429];C[105676]=C[51428];C[105677]=h;h=422704;break w}ea=1;N=1;h=q+48|0}C[h+4>>2]=0;C[h+8>>2]=0;A[h|0]=0;A[h+12|0]=0;k=C[a+16>>2];i=C[a+12>>2];t=C[c+4>>2];v=C[t+4>>2];A:{B:{if(i>>>0>>0){h=C[t+12>>2];h=((i|0)<0?205712:C[(h?h:205712)+12>>2]+(i<<2)|0)+2|0;break B}if(F[t>>2]<=i>>>0){break A}h=C[t+12>>2];h=(i-v<<1)+((v|0)<0?205712:C[(h?h:205712)+12>>2]+(v<<2)|0)|0}h=D[h|0]|D[h+1|0]<<8;w=(h<<8|h>>>8)<<16>>16}h=D[k+8|0]|D[k+9|0]<<8;z=h>>>8|0;M=h<<8;p=C[c+8>>2];n=C[p+4>>2];C:{D:{if(n>>>0>i>>>0){h=C[p+12>>2];h=((i|0)<0?205712:C[(h?h:205712)+12>>2]+(i<<2)|0)+2|0;break D}l=0;if(F[p>>2]<=i>>>0){break C}h=C[p+12>>2];h=(i-n<<1)+((n|0)<0?205712:C[(h?h:205712)+12>>2]+(n<<2)|0)|0}h=D[h|0]|D[h+1|0]<<8;l=(h<<8|h>>>8)<<16>>16}z=z|M;M=C[t>>2];E:{if(M>>>0<=i>>>0){h=0;if(M){break E}h=C[t+8>>2];break E}h=C[t+12>>2];t=C[(h?h:205712)+12>>2];h=v-1|0;h=h>>>0>i>>>0?i:h;h=(h|0)<0?205712:t+(h<<2)|0;h=D[h|0]|D[h+1|0]<<8;h=(h<<8|h>>>8)&65535}t=h;v=z<<16>>16;z=C[p>>2];F:{if(z>>>0<=i>>>0){h=0;if(z){break F}h=C[p+8>>2];break F}h=C[p+12>>2];p=C[(h?h:205712)+12>>2];h=n-1|0;h=h>>>0>i>>>0?i:h;h=(h|0)<0?205712:p+(h<<2)|0;h=D[h|0]|D[h+1|0]<<8;h=(h<<8|h>>>8)&65535}l=l+v|0;G:{H:{I:{J:{K:{if(!H){break K}p=D[k+2|0]|D[k+3|0]<<8;w=((p<<8|p>>>8)<<16>>16)-w|0;G[(j+(r<<4)|0)+4>>2]=w|0;if((H|0)==1){break K}G[q+20>>2]=t+w>>>0;if(N){break J}N=0}s=J(l-h|0);break I}G[q+40>>2]=l|0;s=J(l-h|0);if((H|0)!=3){break H}N=1}h=C[51431];C[105678]=C[51430];C[105679]=h;h=C[51429];C[105676]=C[51428];C[105677]=h;i=C[a+12>>2];h=422704;break G}N=1;h=q+48|0}G[h+8>>2]=s;v=C[c>>2];l=0;C[o- -64>>2]=0;C[o+16>>2]=0;C[o+60>>2]=g;C[o+56>>2]=j;g=C[o+60>>2];C[o+8>>2]=C[o+56>>2];C[o+12>>2]=g;M=0;j=Ce-160|0;Ce=j;h=1;W=b;g=C[b+60>>2];L:{if(!g){break L}w=C[v>>2];b=w?w:205712;b=F[b+16>>2]<20?205712:C[b+12>>2];t=D[b+4|0]|D[b+5|0]<<8;if((g|0)!=((t<<8|t>>>8)&65535)){break L}g=D[b+12|0]|D[b+13|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<=i>>>0){break L}g=b+20|0;M:{if(A[b+15|0]&1){g=g+(i<<2)|0;h=D[g|0]|D[g+1|0]<<8|(D[g+2|0]<<16|D[g+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);g=D[g+4|0]|D[g+5|0]<<8|(D[g+6|0]<<16|D[g+7|0]<<24);t=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);break M}g=g+(i<<1)|0;h=D[g|0]|D[g+1|0]<<8;h=((h<<8|h>>>8)&65535)<<1;g=D[g+2|0]|D[g+3|0]<<8;t=((g<<8|g>>>8)&65535)<<1}i=0;p=C[w+16>>2];g=D[b+16|0]|D[b+17|0]<<8|(D[b+18|0]<<16|D[b+19|0]<<24);g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+h|0;k=p-g|0;p=k>>>0<=p>>>0?k:0;h=t-h|0;p=h>>>0>p>>>0?p:h;N:{if(p>>>0<4){p=0;g=205712;break N}i=g+C[w+12>>2]|0;g=i}if(!(D[g|0]|D[g+1|0]<<8)){h=1;break L}C[j+112>>2]=0;C[j+156>>2]=0;C[j+148>>2]=0;C[j+152>>2]=0;C[j+140>>2]=0;C[j+108>>2]=p;C[j+104>>2]=i;C[j+132>>2]=0;C[j+136>>2]=0;g=D[b+4|0]|D[b+5|0]<<8;C[j+32>>2]=0;b=C[j+108>>2];C[j+24>>2]=C[j+104>>2];C[j+28>>2]=b;h=1;n=j+148|0;p=Ce-16|0;Ce=p;w=C[j+24>>2];t=C[j+28>>2];b=j+116|0;C[b+24>>2]=C[j+32>>2];C[b+20>>2]=t;C[b+16>>2]=w;C[b+8>>2]=(g<<8|g>>>8)&65535;i=0;C[b+4>>2]=0;C[b+12>>2]=0;k=205712;w=t>>>0<4?205712:w;C[b>>2]=w;C[b+28>>2]=w+4;g=0;t=D[w|0]|D[w+1|0]<<8;O:{if(t&128){g=D[w+2|0]|D[w+3|0]<<8;if(g){k=w+((g<<8|g>>>8)&65535)|0}C[p+12>>2]=k;if(!nz(p+12|0,n,b+16|0)){break O}C[b+12>>2]=C[p+12>>2]-k;g=C[b>>2];t=D[g|0]|D[g+1|0]<<8;g=C[b+4>>2]}if(g>>>0>=((t<<8|(t&65280)>>>8)&4095)>>>0){break O}w=C[b+16>>2];g=C[b+28>>2];if(w>>>0>g>>>0){break O}w=w+C[b+20>>2]|0;if(w>>>0>>0){break O}w=w-g|0;if(w>>>0<4){break O}i=C[b+8>>2];b=D[g+2|0]|D[g+3|0]<<8;b=(I(i,b>>>5&2|b>>>7&1)<<1)+4|0;g=D[g|0]|D[g+1|0]<<8;g=(g<<8|g>>>8)&65535;i=w>>>0>=(b>>>0>g>>>0?b:g)>>>0&(b|0)!=0}Ce=p+16|0;if(i){g=C[o+12>>2];P:{if((g|0)<=0){p=0;break P}p=(g|0)>0?g:0;while(1){x=((x>>>1|0)+x|0)+8|0;if(x>>>0<=p>>>0){continue}break}h=0;Q:{if(x>>>0>268435454){break Q}b=kf(x<<4);if(!b){break Q}S=We(b,0,p<<4);if((g|0)<=0){break Q}w=C[o+8>>2];x=0;while(1){R:{if(g>>>0<=x>>>0){b=C[51431];C[105678]=C[51430];C[105679]=b;b=C[51429];C[105676]=C[51428];C[105677]=b;b=422704;break R}b=w+(x<<4)|0}t=C[b+4>>2];i=(x<<4)+S|0;C[i>>2]=C[b>>2];C[i+4>>2]=t;t=C[b+12>>2];C[i+8>>2]=C[b+8>>2];C[i+12>>2]=t;x=x+1|0;if((x|0)!=(p|0)){continue}break}O=p}S:{if((g|0)<=0){break S}while(1){h=((h>>>1|0)+h|0)+8|0;if(p>>>0>=h>>>0){continue}break}x=0;if(h>>>0>268435454){p=0;break P}x=kf(h<<4);if(!x){break S}We(x,0,p<<4);break P}p=0;x=0}w=C[51428];T:{if(!g){t=0;break T}b=0;t=0;i=0;while(1){U:{if(!D[(C[o+8>>2]+(b<<4)|0)+12|0]){break U}V:{if((i|0)<0){break V}g=M+1|0;k=(g|0)>0?g:0;W:{if(k>>>0<=i>>>0){h=i;g=t;break W}while(1){i=((i>>>1|0)+i|0)+8|0;if(k>>>0>=i>>>0){continue}break}if(i>>>0>1073741822){i=-1;break V}g=i<<2;h=i;i=-1;g=mf(t,g);if(!g){break V}}if(k>>>0>M>>>0){We((M<<2)+g|0,0,k-M<<2)}C[105676]=w;i=((k<<2)+g|0)-4|0;if((i|0)!=422704){C[i>>2]=b}i=h;M=k;t=g;break U}C[105676]=w}b=b+1|0;if(b>>>0>2]){continue}break}}b=C[v>>2];b=b?b:205712;b=F[b+16>>2]<20?205712:C[b+12>>2];g=D[b+4|0]|D[b+5|0]<<8;i=(g<<8|g>>>8)&65535;g=D[b+6|0]|D[b+7|0]<<8;fa=I(i,(g<<8|g>>>8)&65535);g=D[b+8|0]|D[b+9|0]<<8|(D[b+10|0]<<16|D[b+11|0]<<24);ga=b+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0;ha=p&2147483644;Z=p&3;L=C[W+60>>2];_=C[W+64>>2];b=C[j+144>>2];while(1){X:{C[j+100>>2]=0;C[j+16>>2]=0;C[j+96>>2]=fa;C[j+92>>2]=ga;g=C[j+96>>2];C[j+8>>2]=C[j+92>>2];C[j+12>>2]=g;i=D[b+2|0]|D[b+3|0]<<8;k=i&128;Y:{Z:{if(k){r=b+4|0;g=I(L,i>>>5&2|i>>>7&1);g=g>>>0>>0?g:L;break Z}u=J(0);g=I(L,(i<<8|i>>>8)&4095);h=C[j+12>>2];if(g>>>0>=h>>>0){break Y}r=C[j+8>>2]+(g<<1)|0;g=h-g|0;g=g>>>0<=h>>>0?g:0;g=g>>>0>>0?g:L}_:{if(!(i&64)){u=J(1);if(!L){break _}h=0;while(1){b=g>>>0<=h>>>0?205712:(h<<1)+r|0;b=D[b|0]|D[b+1|0]<<8;$:{if(!b){break $}s=u;i=C[_+(h<<2)>>2];b=(b<<8|b>>>8)<<16>>16;if((i|0)==(b|0)){break $}u=J(0);if(!i|(i|0)<(b&b>>31)|(i|0)>(((b|0)>0?b:0)|0)){break _}u=J(s*J(J(i|0)/J(b|0)))}h=h+1|0;if((L|0)!=(h|0)){continue}break}break _}u=J(1);if(!L){break _}h=0;i=I(L,i>>>5&2|i>>>7&1);k=k?L:0;v=k+L|0;n=i-v|0;n=i>>>0>=n>>>0?n:0;P=n>>>0>>0?n:L;n=i-k|0;i=i>>>0>=n>>>0?n:0;U=i>>>0>>0?i:L;b=b+4|0;T=b+(k<<1)|0;V=b+(v<<1)|0;while(1){n=h<<1;b=g>>>0<=h>>>0?205712:n+r|0;k=D[b|0]|D[b+1|0]<<8;aa:{if(!k){break aa}s=u;b=C[_+(h<<2)>>2];i=(k<<8|k>>>8)<<16>>16;if((b|0)==(i|0)){break aa}v=h>>>0>=U>>>0?205712:n+T|0;z=D[v|0]|D[v+1|0]<<8;v=(z<<8|z>>>8)<<16>>16;if((v|0)>(i|0)){break aa}n=h>>>0>=P>>>0?205712:n+V|0;m=D[n|0]|D[n+1|0]<<8;n=(m<<8|m>>>8)<<16>>16;if((n|0)<(i|0)){break aa}if(!((n|0)<=0|(v|0)>=0)){break aa}u=J(0);if((b|0)<(v|0)|(b|0)>(n|0)){break _}if((b|0)<(i|0)){u=s;if((k|0)==(z|0)){break aa}u=J(s*J(J(b-v|0)/J(i-v|0)));break aa}u=s;if((k|0)==(m|0)){break aa}u=J(s*J(J(n-b|0)/J(n-i|0)))}h=h+1|0;if((L|0)!=(h|0)){continue}break}}}ba:{if(u==J(0)){break ba}b=C[j+116>>2];g=D[b+2|0]|D[b+3|0]<<8;if(g){b=b+((g<<8|g>>>8)&65535)|0}else{b=205712}b=b+C[j+128>>2]|0;C[j+88>>2]=b;ca:{da:{ea:{fa:{ga:{g=C[j+132>>2];ha:{if(g>>>0>b>>>0){break ha}g=g+C[j+136>>2]|0;if(g>>>0>>0){break ha}k=g-b|0;h=C[j+144>>2];g=D[h|0]|D[h+1|0]<<8;i=(g<<8|g>>>8)&65535;if(k>>>0>>0){break ha}g=0;C[j+84>>2]=0;C[j+80>>2]=i;C[j+76>>2]=b;C[j+72>>2]=0;C[j+64>>2]=0;C[j+68>>2]=0;z=0;i=0;ia:{if(D[h+2|0]&32){if(!nz(j+88|0,j- -64|0,j+76|0)){break ia}z=C[j+72>>2];i=C[j+68>>2]}U=C[o+12>>2];b=C[j+152>>2];m=C[j+156>>2];C[j+60>>2]=0;C[j+52>>2]=0;C[j+56>>2]=0;v=i?i:b;k=v?v:U;h=(k|0)>0?k:0;n=(k|0)<=0;ja:{if(!n){while(1){g=((g>>>1|0)+g|0)+8|0;if(h>>>0>=g>>>0){continue}break}ka:{if(g>>>0<=1073741822){b=kf(g<<2);if(b){break ka}}C[j+52>>2]=-1;break ja}C[j+52>>2]=g;C[j+60>>2]=b;We(b,0,h<<2)}C[j+56>>2]=h}b=1;if(!mz(j+88|0,j+52|0,j+76|0)){break ca}b=0;C[j+48>>2]=0;C[j+40>>2]=0;C[j+44>>2]=0;la:{if(!n){while(1){b=((b>>>1|0)+b|0)+8|0;if(h>>>0>=b>>>0){continue}break}ma:{if(b>>>0<=1073741822){g=kf(b<<2);if(g){break ma}}C[j+40>>2]=-1;break la}C[j+40>>2]=b;C[j+48>>2]=g;We(g,0,h<<2)}C[j+44>>2]=h}b=1;if(!mz(j+88|0,j+40|0,j+76|0)){break da}if(!p){break ea}g=0;b=0;h=0;if(p>>>0>3){break ga}break fa}Re(C[j+72>>2])}h=0;break X}while(1){n=b<<4;r=n+x|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;r=(n|16)+x|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;r=(n|32)+x|0;C[r+4>>2]=0;C[r+8>>2]=0;A[r|0]=0;A[r+12|0]=0;n=(n|48)+x|0;C[n+4>>2]=0;C[n+8>>2]=0;A[n|0]=0;A[n+12|0]=0;b=b+4|0;h=h+4|0;if((ha|0)!=(h|0)){continue}break}}if(!Z){break ea}while(1){h=(b<<4)+x|0;C[h+4>>2]=0;C[h+8>>2]=0;A[h|0]=0;A[h+12|0]=0;b=b+1|0;g=g+1|0;if((Z|0)!=(g|0)){continue}break}}if(k){n=i?z:m;b=0;r=C[j+48>>2];z=C[j+44>>2];m=C[j+60>>2];P=C[j+56>>2];while(1){g=b;na:{if(!v){break na}if(b>>>0>=v>>>0){C[105676]=w;g=w;break na}g=C[n+(b<<2)>>2]}i=g>>>0